fuzzer.cpp:_ZL17PyType_HasFeatureP11_typeobjectm:
  749|  3.88k|{
  750|  3.88k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  3.88k|    flags = type->tp_flags;
  756|  3.88k|#endif
  757|  3.88k|    return ((flags & feature) != 0);
  758|  3.88k|}
fuzzer.cpp:_ZL13_Py_TYPE_implP7_object:
  233|  3.88k|{
  234|  3.88k|    return ob->ob_type;
  235|  3.88k|}

fuzzer.cpp:_ZL9Py_DECREFP7_object:
  418|  7.76k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.76k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.76k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.88k, False: 3.88k]
  |  |  ------------------
  ------------------
  422|  3.88k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.88k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.88k|        return;
  424|  3.88k|    }
  425|  3.88k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.88k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.88k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.88k, False: 0]
  ------------------
  427|  3.88k|        _Py_Dealloc(op);
  428|  3.88k|    }
  429|  3.88k|}
fuzzer.cpp:_ZL14_Py_IsImmortalP7_object:
  127|  7.76k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.76k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.76k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.76k|}

call.c:_PyVectorcall_NARGS:
   34|  26.2M|{
   35|  26.2M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  26.2M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  26.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  26.2M|}
exceptions.c:_PyVectorcall_NARGS:
   34|   489k|{
   35|   489k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   489k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   489k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   489k|}
floatobject.c:_PyVectorcall_NARGS:
   34|  42.8k|{
   35|  42.8k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  42.8k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  42.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  42.8k|}
listobject.c:_PyVectorcall_NARGS:
   34|  5.13k|{
   35|  5.13k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  5.13k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  5.13k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  5.13k|}
longobject.c:_PyVectorcall_NARGS:
   34|   124k|{
   35|   124k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   124k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   124k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   124k|}
dictobject.c:_PyVectorcall_NARGS:
   34|  8.55k|{
   35|  8.55k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  8.55k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  8.55k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  8.55k|}
rangeobject.c:_PyVectorcall_NARGS:
   34|  53.2k|{
   35|  53.2k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  53.2k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  53.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  53.2k|}
setobject.c:_PyVectorcall_NARGS:
   34|   372k|{
   35|   372k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   372k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   372k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   372k|}
tupleobject.c:_PyVectorcall_NARGS:
   34|     52|{
   35|     52|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     52|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     52|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     52|}
typeobject.c:_PyVectorcall_NARGS:
   34|  4.81k|{
   35|  4.81k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.81k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  4.81k|}
typeobject.c:PyObject_CallMethodOneArg:
   70|      1|{
   71|      1|    PyObject *args[2] = {self, arg};
   72|      1|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      1|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|      1|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
   75|      1|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|    331|{
   35|    331|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    331|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    331|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    331|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|   248k|{
   35|   248k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   248k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   248k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   248k|}
bltinmodule.c:_PyVectorcall_NARGS:
   34|    296|{
   35|    296|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    296|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    296|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    296|}
ceval.c:_PyVectorcall_NARGS:
   34|     12|{
   35|     12|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     12|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     12|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     12|}
errors.c:_PyVectorcall_NARGS:
   34|    162|{
   35|    162|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    162|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    162|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    162|}
import.c:PyObject_CallMethodOneArg:
   70|    554|{
   71|    554|    PyObject *args[2] = {self, arg};
   72|    554|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    554|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    554|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|    554|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    554|#  define _Py_NULL NULL
  ------------------
   75|    554|}
pylifecycle.c:PyObject_CallMethodNoArgs:
   63|      6|{
   64|      6|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
   66|      6|}
_collectionsmodule.c:_PyVectorcall_NARGS:
   34|     20|{
   35|     20|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     20|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     20|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     20|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|    522|{
   64|    522|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    522|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    522|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    522|#  define _Py_NULL NULL
  ------------------
   66|    522|}
iobase.c:PyObject_CallMethodNoArgs:
   63|  1.05k|{
   64|  1.05k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.05k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.05k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  1.05k|#  define _Py_NULL NULL
  ------------------
   66|  1.05k|}
fileio.c:PyObject_CallMethodOneArg:
   70|    516|{
   71|    516|    PyObject *args[2] = {self, arg};
   72|    516|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    516|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    516|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|    516|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    516|#  define _Py_NULL NULL
  ------------------
   75|    516|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|     30|{
   71|     30|    PyObject *args[2] = {self, arg};
   72|     30|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     30|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     30|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     30|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     30|#  define _Py_NULL NULL
  ------------------
   75|     30|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|  1.60k|{
   64|  1.60k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.60k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.60k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  1.60k|#  define _Py_NULL NULL
  ------------------
   66|  1.60k|}
textio.c:PyObject_CallMethodNoArgs:
   63|     66|{
   64|     66|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     66|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     66|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     66|#  define _Py_NULL NULL
  ------------------
   66|     66|}
textio.c:PyObject_CallMethodOneArg:
   70|     48|{
   71|     48|    PyObject *args[2] = {self, arg};
   72|     48|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     48|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     48|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     48|#  define _Py_NULL NULL
  ------------------
   75|     48|}
_abc.c:PyObject_CallMethodOneArg:
   70|  37.4k|{
   71|  37.4k|    PyObject *args[2] = {self, arg};
   72|  37.4k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  37.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  37.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  37.4k|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  37.4k|#  define _Py_NULL NULL
  ------------------
   75|  37.4k|}
_functoolsmodule.c:_PyVectorcall_NARGS:
   34|  4.11k|{
   35|  4.11k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.11k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  4.11k|}
_operator.c:_PyVectorcall_NARGS:
   34|      6|{
   35|      6|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      6|}
abstract.c:PyObject_CallMethodNoArgs:
   63|    420|{
   64|    420|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    420|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    420|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    420|#  define _Py_NULL NULL
  ------------------
   66|    420|}
boolobject.c:_PyVectorcall_NARGS:
   34|  15.9k|{
   35|  15.9k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  15.9k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  15.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  15.9k|}
descrobject.c:_PyVectorcall_NARGS:
   34|   222k|{
   35|   222k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   222k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   222k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   222k|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|  44.9k|{
   64|  44.9k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  44.9k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  44.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  44.9k|#  define _Py_NULL NULL
  ------------------
   66|  44.9k|}
enumobject.c:_PyVectorcall_NARGS:
   34|  8.61k|{
   35|  8.61k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  8.61k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  8.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  8.61k|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|  1.05k|{
   64|  1.05k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.05k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.05k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  1.05k|#  define _Py_NULL NULL
  ------------------
   66|  1.05k|}
iterobject.c:_PyVectorcall_NARGS:
   34|      2|{
   35|      2|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      2|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      2|}
methodobject.c:_PyVectorcall_NARGS:
   34|  9.69M|{
   35|  9.69M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  9.69M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  9.69M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  9.69M|}

longobject.c:PyByteArray_AS_STRING:
   25|    608|{
   26|       |    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|    608|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|    608|}
typeobject.c:PyByteArray_AS_STRING:
   25|    512|{
   26|       |    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|    512|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|    512|}
bytearrayobject.c:PyByteArray_GET_SIZE:
   30|    880|static inline Py_ssize_t PyByteArray_GET_SIZE(PyObject *op) {
   31|    880|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    880|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(self)->ob_size));
   34|       |#else
   35|    880|    return Py_SIZE(self);
  ------------------
  |  |  214|    880|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    880|#endif
   37|    880|}
bytearrayobject.c:PyByteArray_AS_STRING:
   25|  40.1M|{
   26|       |    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|  40.1M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  40.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|  40.1M|}

bytesobject.c:PyBytes_AS_STRING:
   24|  9.20M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  9.20M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  9.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  9.20M|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  17.0M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  17.0M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  17.0M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  17.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  17.0M|    return Py_SIZE(self);
  ------------------
  |  |  214|  17.0M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  17.0M|}
longobject.c:PyBytes_AS_STRING:
   24|  8.06M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  8.06M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  8.06M|}
memoryobject.c:PyBytes_AS_STRING:
   24|     12|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     12|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     12|}
typeobject.c:PyBytes_AS_STRING:
   24|     92|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     92|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     92|}
unicodeobject.c:PyBytes_GET_SIZE:
   29|  54.7k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  54.7k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  54.7k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  54.7k|    return Py_SIZE(self);
  ------------------
  |  |  214|  54.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  54.7k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  54.7k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  54.7k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  54.7k|}
ceval.c:PyBytes_AS_STRING:
   24|  3.36M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  3.36M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  3.36M|}
ceval.c:PyBytes_GET_SIZE:
   29|  3.36M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  3.36M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  3.36M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  3.36M|    return Py_SIZE(self);
  ------------------
  |  |  214|  3.36M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  3.36M|}
import.c:PyBytes_AS_STRING:
   24|    110|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    110|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|    110|}
importdl.c:PyBytes_AS_STRING:
   24|    148|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    148|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|    148|}
marshal.c:PyBytes_AS_STRING:
   24|  70.8k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  70.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  70.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  70.8k|}
fileutils.c:PyBytes_AS_STRING:
   24|  54.1k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  54.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  54.1k|}
posixmodule.c:PyBytes_GET_SIZE:
   29|  4.06k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  4.06k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  4.06k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  4.06k|    return Py_SIZE(self);
  ------------------
  |  |  214|  4.06k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  4.06k|}
posixmodule.c:PyBytes_AS_STRING:
   24|  4.06k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  4.06k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  4.06k|}
fileio.c:PyBytes_AS_STRING:
   24|    520|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    520|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|    520|}
bytesio.c:PyBytes_AS_STRING:
   24|  13.3k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  13.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  13.3k|}
bytesio.c:PyBytes_GET_SIZE:
   29|  19.3k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  19.3k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  19.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  19.3k|    return Py_SIZE(self);
  ------------------
  |  |  214|  19.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  19.3k|}
bytes_methods.c:PyBytes_AS_STRING:
   24|     28|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     28|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     28|}
bytes_methods.c:PyBytes_GET_SIZE:
   29|     28|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     28|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     28|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|     28|    return Py_SIZE(self);
  ------------------
  |  |  214|     28|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     28|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|  16.1M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  16.1M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  16.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  16.1M|}
codeobject.c:PyBytes_GET_SIZE:
   29|   138k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   138k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   138k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|   138k|    return Py_SIZE(self);
  ------------------
  |  |  214|   138k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   138k|}
codeobject.c:PyBytes_AS_STRING:
   24|   255k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   255k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|   255k|}
frameobject.c:PyBytes_AS_STRING:
   24|    146|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    146|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|    146|}
assemble.c:PyBytes_GET_SIZE:
   29|  24.6k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  24.6k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  24.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  24.6k|    return Py_SIZE(self);
  ------------------
  |  |  214|  24.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  24.6k|}
assemble.c:PyBytes_AS_STRING:
   24|  46.8k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  46.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  46.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  46.8k|}
readline_tokenizer.c:PyBytes_AS_STRING:
   24|      2|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      2|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|      2|}
readline_tokenizer.c:PyBytes_GET_SIZE:
   29|      2|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      2|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      2|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|      2|    return Py_SIZE(self);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      2|}

classobject.c:PyMethod_GET_SELF:
   39|  1.34M|static inline PyObject* PyMethod_GET_SELF(PyObject *meth) {
   40|       |    return _PyMethod_CAST(meth)->im_self;
  ------------------
  |  |   30|  1.34M|    (assert(PyMethod_Check(meth)), _Py_CAST(PyMethodObject*, meth))
  |  |  ------------------
  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   41|  1.34M|}
classobject.c:PyMethod_GET_FUNCTION:
   34|  1.34M|static inline PyObject* PyMethod_GET_FUNCTION(PyObject *meth) {
   35|       |    return _PyMethod_CAST(meth)->im_func;
  ------------------
  |  |   30|  1.34M|    (assert(PyMethod_Check(meth)), _Py_CAST(PyMethodObject*, meth))
  |  |  ------------------
  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.34M|}

typeobject.c:PyUnstable_Code_GetFirstFree:
  171|     92|static inline int PyUnstable_Code_GetFirstFree(PyCodeObject *op) {
  172|       |    assert(PyCode_Check(op));
  173|     92|    return op->co_nlocalsplus - op->co_nfreevars;
  174|     92|}
bltinmodule.c:PyCode_GetNumFree:
  166|    540|static inline Py_ssize_t PyCode_GetNumFree(PyCodeObject *op) {
  167|       |    assert(PyCode_Check(op));
  168|    540|    return op->co_nfreevars;
  169|    540|}
codegen.c:PyUnstable_Code_GetFirstFree:
  171|    169|static inline int PyUnstable_Code_GetFirstFree(PyCodeObject *op) {
  172|       |    assert(PyCode_Check(op));
  173|    169|    return op->co_nlocalsplus - op->co_nfreevars;
  174|    169|}
codeobject.c:PyCode_NewWithPosOnlyArgs:
  210|  4.02k|{
  211|  4.02k|    return PyUnstable_Code_NewWithPosOnlyArgs(
  212|  4.02k|        a, poac, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q);
  213|  4.02k|}

call.c:PyDict_GET_SIZE:
   53|  3.41M|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  3.41M|    PyDictObject *mp;
   55|  3.41M|    assert(PyAnyDict_Check(op));
   56|  3.41M|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  3.41M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  3.41M|    return mp->ma_used;
   61|  3.41M|#endif
   62|  3.41M|}
listobject.c:PyDict_GET_SIZE:
   53|  1.21M|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.21M|    PyDictObject *mp;
   55|  1.21M|    assert(PyAnyDict_Check(op));
   56|  1.21M|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  1.21M|    return mp->ma_used;
   61|  1.21M|#endif
   62|  1.21M|}
sentinelobject.c:PyDict_GET_SIZE:
   53|      2|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      2|    PyDictObject *mp;
   55|      2|    assert(PyAnyDict_Check(op));
   56|      2|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      2|    return mp->ma_used;
   61|      2|#endif
   62|      2|}
setobject.c:PyDict_GET_SIZE:
   53|     50|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     50|    PyDictObject *mp;
   55|     50|    assert(PyAnyDict_Check(op));
   56|     50|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     50|    return mp->ma_used;
   61|     50|#endif
   62|     50|}
typeobject.c:PyDict_GET_SIZE:
   53|   192k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   192k|    PyDictObject *mp;
   55|   192k|    assert(PyAnyDict_Check(op));
   56|   192k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|   192k|    return mp->ma_used;
   61|   192k|#endif
   62|   192k|}
typevarobject.c:PyDict_GET_SIZE:
   53|     18|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     18|    PyDictObject *mp;
   55|     18|    assert(PyAnyDict_Check(op));
   56|     18|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     18|    return mp->ma_used;
   61|     18|#endif
   62|     18|}
ceval.c:PyDict_GET_SIZE:
   53|   151k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   151k|    PyDictObject *mp;
   55|   151k|    assert(PyAnyDict_Check(op));
   56|   151k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|   151k|    return mp->ma_used;
   61|   151k|#endif
   62|   151k|}
compile.c:PyDict_GET_SIZE:
   53|  6.48k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  6.48k|    PyDictObject *mp;
   55|  6.48k|    assert(PyAnyDict_Check(op));
   56|  6.48k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  6.48k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  6.48k|    return mp->ma_used;
   61|  6.48k|#endif
   62|  6.48k|}
flowgraph.c:PyDict_GET_SIZE:
   53|  7.45k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  7.45k|    PyDictObject *mp;
   55|  7.45k|    assert(PyAnyDict_Check(op));
   56|  7.45k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  7.45k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  7.45k|    return mp->ma_used;
   61|  7.45k|#endif
   62|  7.45k|}
getargs.c:PyDict_GET_SIZE:
   53|    624|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    624|    PyDictObject *mp;
   55|    624|    assert(PyAnyDict_Check(op));
   56|    624|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|    624|    return mp->ma_used;
   61|    624|#endif
   62|    624|}
_datetimemodule.c:PyDict_GET_SIZE:
   53|     22|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     22|    PyDictObject *mp;
   55|     22|    assert(PyAnyDict_Check(op));
   56|     22|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     22|    return mp->ma_used;
   61|     22|#endif
   62|     22|}
bufferedio.c:PyDict_GET_SIZE:
   53|      2|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      2|    PyDictObject *mp;
   55|      2|    assert(PyAnyDict_Check(op));
   56|      2|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      2|    return mp->ma_used;
   61|      2|#endif
   62|      2|}
textio.c:PyDict_GET_SIZE:
   53|      4|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      4|    PyDictObject *mp;
   55|      4|    assert(PyAnyDict_Check(op));
   56|      4|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      4|    return mp->ma_used;
   61|      4|#endif
   62|      4|}
sre.c:PyDict_GET_SIZE:
   53|    104|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    104|    PyDictObject *mp;
   55|    104|    assert(PyAnyDict_Check(op));
   56|    104|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|    104|    return mp->ma_used;
   61|    104|#endif
   62|    104|}
_functoolsmodule.c:PyDict_GET_SIZE:
   53|  5.15k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  5.15k|    PyDictObject *mp;
   55|  5.15k|    assert(PyAnyDict_Check(op));
   56|  5.15k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  5.15k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  5.15k|    return mp->ma_used;
   61|  5.15k|#endif
   62|  5.15k|}
funcobject.c:PyDict_GET_SIZE:
   53|     18|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     18|    PyDictObject *mp;
   55|     18|    assert(PyAnyDict_Check(op));
   56|     18|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     18|    return mp->ma_used;
   61|     18|#endif
   62|     18|}
odictobject.c:PyDict_GET_SIZE:
   53|   107k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   107k|    PyDictObject *mp;
   55|   107k|    assert(PyAnyDict_Check(op));
   56|   107k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|   107k|    return mp->ma_used;
   61|   107k|#endif
   62|   107k|}
Python-tokenize.c:PyDict_GET_SIZE:
   53|     10|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     10|    PyDictObject *mp;
   55|     10|    assert(PyAnyDict_Check(op));
   56|     10|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     10|    return mp->ma_used;
   61|     10|#endif
   62|     10|}
assemble.c:PyDict_GET_SIZE:
   53|  1.46k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.46k|    PyDictObject *mp;
   55|  1.46k|    assert(PyAnyDict_Check(op));
   56|  1.46k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  1.46k|    return mp->ma_used;
   61|  1.46k|#endif
   62|  1.46k|}

floatobject.c:PyFloat_AS_DOUBLE:
   15|  6.45M|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  6.45M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  6.45M|}
bltinmodule.c:PyFloat_AS_DOUBLE:
   15|   240k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|   240k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|   240k|}
ceval.c:PyFloat_AS_DOUBLE:
   15|  1.97k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  1.97k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  1.97k|}
specialize.c:PyFloat_AS_DOUBLE:
   15|  4.75M|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  4.75M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  4.75M|}

ceval.c:PyFunction_GET_CODE:
   90|  7.94M|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|       |    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|  7.94M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  7.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   92|  7.94M|}
specialize.c:PyFunction_GET_CODE:
   90|     83|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|       |    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|     83|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   92|     83|}
funcobject.c:PyFunction_GET_CODE:
   90|  4.02k|static inline PyObject* PyFunction_GET_CODE(PyObject *func) {
   91|       |    return _PyFunction_CAST(func)->func_code;
  ------------------
  |  |   86|  4.02k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   92|  4.02k|}

bytesobject.c:PyList_GET_SIZE:
   30|   876k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   876k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   876k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   876k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   876k|    return Py_SIZE(list);
  ------------------
  |  |  214|   876k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   876k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   876k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   876k|#endif
   37|   876k|}
listobject.c:PyList_GET_SIZE:
   30|   978k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   978k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   978k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   978k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   978k|    return Py_SIZE(list);
  ------------------
  |  |  214|   978k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   978k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   978k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   978k|#endif
   37|   978k|}
listobject.c:PyList_SET_ITEM:
   43|  6.49M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  6.49M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  6.49M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  6.49M|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  6.49M|    list->ob_item[index] = value;
   48|  6.49M|}
dictobject.c:PyList_SET_ITEM:
   43|  11.3k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  11.3k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  11.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  11.3k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  11.3k|    list->ob_item[index] = value;
   48|  11.3k|}
dictobject.c:PyList_GET_SIZE:
   30|     60|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     60|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     60|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     60|    return Py_SIZE(list);
  ------------------
  |  |  214|     60|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     60|#endif
   37|     60|}
memoryobject.c:PyList_SET_ITEM:
   43|    384|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    384|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    384|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    384|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    384|    list->ob_item[index] = value;
   48|    384|}
object.c:PyList_GET_SIZE:
   30|   108k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   108k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   108k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   108k|    return Py_SIZE(list);
  ------------------
  |  |  214|   108k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   108k|#endif
   37|   108k|}
typeobject.c:PyList_SET_ITEM:
   43|    806|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    806|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    806|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    806|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    806|    list->ob_item[index] = value;
   48|    806|}
typeobject.c:PyList_GET_SIZE:
   30|   187k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   187k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   187k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   187k|    return Py_SIZE(list);
  ------------------
  |  |  214|   187k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   187k|#endif
   37|   187k|}
unicodeobject.c:PyList_GET_SIZE:
   30|  59.1k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  59.1k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  59.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  59.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  59.1k|    return Py_SIZE(list);
  ------------------
  |  |  214|  59.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  59.1k|#endif
   37|  59.1k|}
unicodeobject.c:PyList_SET_ITEM:
   43|  7.83k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  7.83k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  7.83k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  7.83k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  7.83k|    list->ob_item[index] = value;
   48|  7.83k|}
unionobject.c:PyList_GET_SIZE:
   30|    434|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    434|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    434|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    434|    return Py_SIZE(list);
  ------------------
  |  |  214|    434|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    434|#endif
   37|    434|}
_warnings.c:PyList_SET_ITEM:
   43|     10|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     10|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|     10|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|     10|    list->ob_item[index] = value;
   48|     10|}
bltinmodule.c:PyList_SET_ITEM:
   43|      4|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      4|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|      4|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|      4|    list->ob_item[index] = value;
   48|      4|}
bltinmodule.c:PyList_GET_SIZE:
   30|     88|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     88|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     88|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     88|    return Py_SIZE(list);
  ------------------
  |  |  214|     88|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     88|#endif
   37|     88|}
ceval.c:PyList_GET_SIZE:
   30|  12.6M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  12.6M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  12.6M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  12.6M|    return Py_SIZE(list);
  ------------------
  |  |  214|  12.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  12.6M|#endif
   37|  12.6M|}
ceval.c:PyList_SET_ITEM:
   43|  1.72M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.72M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.72M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  1.72M|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  1.72M|    list->ob_item[index] = value;
   48|  1.72M|}
compile.c:PyList_GET_SIZE:
   30|  3.72k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  3.72k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  3.72k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  3.72k|    return Py_SIZE(list);
  ------------------
  |  |  214|  3.72k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  3.72k|#endif
   37|  3.72k|}
compile.c:PyList_SET_ITEM:
   43|  2.34k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  2.34k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.34k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  2.34k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  2.34k|    list->ob_item[index] = value;
   48|  2.34k|}
flowgraph.c:PyList_GET_SIZE:
   30|  7.96k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  7.96k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  7.96k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  7.96k|    return Py_SIZE(list);
  ------------------
  |  |  214|  7.96k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  7.96k|#endif
   37|  7.96k|}
gc.c:PyList_GET_SIZE:
   30|  9.64k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  9.64k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  9.64k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  9.64k|    return Py_SIZE(list);
  ------------------
  |  |  214|  9.64k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  9.64k|#endif
   37|  9.64k|}
import.c:PyList_GET_SIZE:
   30|     14|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     14|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     14|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     14|    return Py_SIZE(list);
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     14|#endif
   37|     14|}
initconfig.c:PyList_SET_ITEM:
   43|      8|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      8|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      8|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|      8|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|      8|    list->ob_item[index] = value;
   48|      8|}
initconfig.c:PyList_GET_SIZE:
   30|      2|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      2|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      2|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      2|    return Py_SIZE(list);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      2|#endif
   37|      2|}
marshal.c:PyList_GET_SIZE:
   30|   256k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   256k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   256k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   256k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   256k|    return Py_SIZE(list);
  ------------------
  |  |  214|   256k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   256k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   256k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   256k|#endif
   37|   256k|}
marshal.c:PyList_SET_ITEM:
   43|    436|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    436|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    436|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    436|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    436|    list->ob_item[index] = value;
   48|    436|}
specialize.c:PyList_GET_SIZE:
   30|     44|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     44|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     44|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     44|    return Py_SIZE(list);
  ------------------
  |  |  214|     44|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     44|#endif
   37|     44|}
symtable.c:PyList_GET_SIZE:
   30|  4.46k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  4.46k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  4.46k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  4.46k|    return Py_SIZE(list);
  ------------------
  |  |  214|  4.46k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  4.46k|#endif
   37|  4.46k|}
sre.c:PyList_GET_SIZE:
   30|    104|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    104|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    104|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    104|    return Py_SIZE(list);
  ------------------
  |  |  214|    104|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    104|#endif
   37|    104|}
_abc.c:PyList_GET_SIZE:
   30|  4.21k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  4.21k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  4.21k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  4.21k|    return Py_SIZE(list);
  ------------------
  |  |  214|  4.21k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  4.21k|#endif
   37|  4.21k|}
_opcode.c:PyList_SET_ITEM:
   43|    100|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    100|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    100|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    100|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    100|    list->ob_item[index] = value;
   48|    100|}
abstract.c:PyList_SET_ITEM:
   43|    592|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    592|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    592|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    592|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    592|    list->ob_item[index] = value;
   48|    592|}
bytearrayobject.c:PyList_GET_SIZE:
   30|  1.96k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  1.96k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.96k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  1.96k|    return Py_SIZE(list);
  ------------------
  |  |  214|  1.96k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  1.96k|#endif
   37|  1.96k|}
Python-ast.c:PyList_SET_ITEM:
   43|    224|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    224|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    224|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    224|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    224|    list->ob_item[index] = value;
   48|    224|}

listobject.c:_PyLong_IsCompact:
  122|  45.2k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  45.2k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|  45.2k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  45.2k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  45.2k|}
listobject.c:_PyLong_CompactValue:
  131|   123k|{
  132|   123k|    Py_ssize_t sign;
  133|   123k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|   123k|    assert(PyUnstable_Long_IsCompact(op));
  135|   123k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   123k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   123k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 36, False: 123k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|       |        assert(op->long_value.ob_digit[0] == 0);
  140|     36|    }
  141|   123k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   123k|}
longobject.c:_PyLong_IsCompact:
  122|   113M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   113M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|   113M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   113M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   113M|}
longobject.c:_PyLong_CompactValue:
  131|   149M|{
  132|   149M|    Py_ssize_t sign;
  133|   149M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|   149M|    assert(PyUnstable_Long_IsCompact(op));
  135|   149M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   149M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   149M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 20.0M, False: 129M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|       |        assert(op->long_value.ob_digit[0] == 0);
  140|  20.0M|    }
  141|   149M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   149M|}
bltinmodule.c:_PyLong_IsCompact:
  122|  13.7M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  13.7M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|  13.7M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  13.7M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  13.7M|}
bltinmodule.c:_PyLong_CompactValue:
  131|  13.7M|{
  132|  13.7M|    Py_ssize_t sign;
  133|  13.7M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|  13.7M|    assert(PyUnstable_Long_IsCompact(op));
  135|  13.7M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  13.7M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  13.7M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 12.1M, False: 1.59M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|       |        assert(op->long_value.ob_digit[0] == 0);
  140|  12.1M|    }
  141|  13.7M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  13.7M|}
ceval.c:_PyLong_CompactValue:
  131|   109M|{
  132|   109M|    Py_ssize_t sign;
  133|   109M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|   109M|    assert(PyUnstable_Long_IsCompact(op));
  135|   109M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   109M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   109M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 20.8M, False: 88.5M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|       |        assert(op->long_value.ob_digit[0] == 0);
  140|  20.8M|    }
  141|   109M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   109M|}
ceval.c:_PyLong_IsCompact:
  122|   189M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   189M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|   189M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   189M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   189M|}
specialize.c:_PyLong_CompactValue:
  131|  18.8M|{
  132|  18.8M|    Py_ssize_t sign;
  133|  18.8M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|  18.8M|    assert(PyUnstable_Long_IsCompact(op));
  135|  18.8M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  18.8M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  18.8M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 131k, False: 18.7M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|       |        assert(op->long_value.ob_digit[0] == 0);
  140|   131k|    }
  141|  18.8M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  18.8M|}
specialize.c:_PyLong_IsCompact:
  122|  18.8M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  18.8M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|  18.8M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  18.8M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  18.8M|}

typeobject.c:PyCFunction_GET_FUNCTION:
   40|  10.7k|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|  10.7k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  10.7k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   42|  10.7k|}
typeobject.c:PyCFunction_GET_SELF:
   45|  8.52k|static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) {
   46|  8.52k|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  8.52k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  8.52k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  8.52k|    if (func->m_ml->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  8.52k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (47:9): [True: 0, False: 8.52k]
  ------------------
   48|      0|        return _Py_NULL;
  ------------------
  |  |   57|      0|#  define _Py_NULL NULL
  ------------------
   49|      0|    }
   50|  8.52k|    return func->m_self;
   51|  8.52k|}
ceval.c:PyCFunction_GET_FUNCTION:
   40|  12.4M|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|  12.4M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  12.4M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   42|  12.4M|}
ceval.c:PyCFunction_GET_SELF:
   45|  12.4M|static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) {
   46|  12.4M|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  12.4M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  12.4M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  12.4M|    if (func->m_ml->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  12.4M|#define METH_STATIC   0x0020
  ------------------
  |  Branch (47:9): [True: 0, False: 12.4M]
  ------------------
   48|      0|        return _Py_NULL;
  ------------------
  |  |   57|      0|#  define _Py_NULL NULL
  ------------------
   49|      0|    }
   50|  12.4M|    return func->m_self;
   51|  12.4M|}
ceval.c:PyCFunction_GET_FLAGS:
   54|  20.6M|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|  20.6M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  20.6M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  20.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   56|  20.6M|}
specialize.c:PyCFunction_GET_FUNCTION:
   40|   157k|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|   157k|    (assert(PyCFunction_Check(func)), \
  |  |   18|   157k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   42|   157k|}
specialize.c:PyCFunction_GET_FLAGS:
   54|   157k|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|   157k|    (assert(PyCFunction_Check(func)), \
  |  |   18|   157k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   56|   157k|}
methodobject.c:PyCFunction_GET_FUNCTION:
   40|  9.69M|static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) {
   41|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_meth;
  ------------------
  |  |   17|  9.69M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  9.69M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  9.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   42|  9.69M|}
methodobject.c:PyCFunction_GET_SELF:
   45|  9.69M|static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) {
   46|  9.69M|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  9.69M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  9.69M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  9.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  9.69M|    if (func->m_ml->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  9.69M|#define METH_STATIC   0x0020
  ------------------
  |  Branch (47:9): [True: 4, False: 9.69M]
  ------------------
   48|      4|        return _Py_NULL;
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
   49|      4|    }
   50|  9.69M|    return func->m_self;
   51|  9.69M|}
methodobject.c:PyCFunction_GET_FLAGS:
   54|  1.30k|static inline int PyCFunction_GET_FLAGS(PyObject *func) {
   55|       |    return _PyCFunctionObject_CAST(func)->m_ml->ml_flags;
  ------------------
  |  |   17|  1.30k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  1.30k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   56|  1.30k|}
methodobject.c:PyCFunction_GET_CLASS:
   59|  9.33M|static inline PyTypeObject* PyCFunction_GET_CLASS(PyObject *func_obj) {
   60|  9.33M|    PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj);
  ------------------
  |  |   17|  9.33M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  9.33M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  9.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   61|  9.33M|    if (func->m_ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  9.33M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (61:9): [True: 1.48k, False: 9.33M]
  ------------------
   62|  1.48k|        return _PyCMethodObject_CAST(func)->mm_class;
  ------------------
  |  |   29|  1.48k|    (assert(PyCMethod_Check(func)), \
  |  |   30|  1.48k|     _Py_CAST(PyCMethodObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   63|  1.48k|    }
   64|  9.33M|    return _Py_NULL;
  ------------------
  |  |   57|  9.33M|#  define _Py_NULL NULL
  ------------------
   65|  9.33M|}

object.c:_PyObject_SIZE:
    5|  17.6k|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|  17.6k|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  17.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|  17.6k|}
object.c:_PyObject_VAR_SIZE:
   23|  27.6k|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  27.6k|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  27.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  27.6k|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  27.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  27.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  27.6k|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  27.6k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  27.6k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  27.6k|}
typeobject.c:_PyObject_VAR_SIZE:
   23|  12.3M|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  12.3M|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  12.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  12.3M|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  12.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  12.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  12.3M|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  12.3M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  12.3M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  12.3M|}
gc.c:_PyObject_SIZE:
    5|  15.0M|static inline size_t _PyObject_SIZE(PyTypeObject *type) {
    6|  15.0M|    return _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  15.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
    7|  15.0M|}
gc.c:_PyObject_VAR_SIZE:
   23|  4.17M|static inline size_t _PyObject_VAR_SIZE(PyTypeObject *type, Py_ssize_t nitems) {
   24|  4.17M|    size_t size = _Py_STATIC_CAST(size_t, type->tp_basicsize);
  ------------------
  |  |   34|  4.17M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   25|  4.17M|    size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  4.17M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                  size += _Py_STATIC_CAST(size_t, nitems) * _Py_STATIC_CAST(size_t, type->tp_itemsize);
  ------------------
  |  |   34|  4.17M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
   26|  4.17M|    return _Py_SIZE_ROUND_UP(size, SIZEOF_VOID_P);
  ------------------
  |  |  213|  4.17M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  4.17M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   27|  4.17M|}

obmalloc.c:_Py_atomic_compare_exchange_uint8:
  105|      4|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|      4|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_load_uint_relaxed:
  379|    462|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    462|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    462|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_store_ptr_relaxed:
  509|  6.20M|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_store_uint32_release:
  593|  3.10M|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
typeobject.c:_Py_atomic_add_int64:
   31|    414|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_compare_exchange_uint8:
  105|     24|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     24|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_compare_exchange_uint8:
  105|    176|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    176|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|   120M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  2.71k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  2.71k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  2.71k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  21.7k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  2.71k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  22.2k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|   180k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|     65|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|     65|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|     65|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  67.9k|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_int_release:
  573|      2|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|   135k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  67.9k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_int_relaxed:
  461|   135k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  70.6k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|   135k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|   206k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|    118|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|    240|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    240|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
instrumentation.c:_Py_atomic_load_uintptr_relaxed:
  375|  23.5k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|  73.8k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|   154k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|   154k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|    165|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|     69|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|   156k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|   152k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|     10|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
pylifecycle.c:_Py_atomic_store_ptr_relaxed:
  509|      2|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_uint64_relaxed:
  497|      2|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_int:
  402|      4|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_compare_exchange_uint8:
  105|      8|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|      8|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_uintptr_relaxed:
  375|      2|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
pystate.c:_Py_atomic_exchange_ptr:
  195|      2|{ return __atomic_exchange_n((void **)obj, value, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_int_relaxed:
  307|   135k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
thread.c:_Py_atomic_compare_exchange_uint8:
  105|  1.60k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  1.60k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|  1.03k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
fileutils.c:_Py_atomic_store_int_relaxed:
  461|      2|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_ptr:
  300|    130|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
signalmodule.c:_Py_atomic_store_int_relaxed:
  461|    128|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_store_ptr:
  450|    130|{ __atomic_store_n((void **)obj, value, __ATOMIC_SEQ_CST); }
signalmodule.c:_Py_atomic_load_uintptr_relaxed:
  375|   375k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_int:
  248|   375k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
_threadmodule.c:_Py_atomic_compare_exchange_uint8:
  105|     16|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     16|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
_threadmodule.c:_Py_atomic_add_ssize:
   63|      2|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|  7.09k|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|  54.2k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }

obmalloc.c:_PyMutex_Lock:
   53|      2|{
   54|      2|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      2|#define _Py_UNLOCKED    0
  ------------------
   55|      2|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      2|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 2]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|      2|}
obmalloc.c:_PyMutex_Unlock:
   64|      2|{
   65|      2|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|      2|#define _Py_LOCKED      1
  ------------------
   66|      2|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|      2|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 2]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|      2|}
typeobject.c:_PyMutex_Lock:
   53|     12|{
   54|     12|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     12|#define _Py_UNLOCKED    0
  ------------------
   55|     12|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     12|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 12]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|     12|}
typeobject.c:_PyMutex_Unlock:
   64|     12|{
   65|     12|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     12|#define _Py_LOCKED      1
  ------------------
   66|     12|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     12|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 12]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     12|}
ceval.c:_PyMutex_Unlock:
   64|     88|{
   65|     88|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     88|#define _Py_LOCKED      1
  ------------------
   66|     88|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     88|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 88]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     88|}
import.c:_PyMutex_Lock:
   53|    120|{
   54|    120|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|    120|#define _Py_UNLOCKED    0
  ------------------
   55|    120|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|    120|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 120]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|    120|}
import.c:_PyMutex_Unlock:
   64|    120|{
   65|    120|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|    120|#define _Py_LOCKED      1
  ------------------
   66|    120|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|    120|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 120]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|    120|}
lock.c:_PyMutex_Lock:
   53|  4.14k|{
   54|  4.14k|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|  4.14k|#define _Py_UNLOCKED    0
  ------------------
   55|  4.14k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|  4.14k|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 4.14k]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|  4.14k|}
lock.c:_PyMutex_Unlock:
   64|  76.2k|{
   65|  76.2k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  76.2k|#define _Py_LOCKED      1
  ------------------
   66|  76.2k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  76.2k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 76.2k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  76.2k|}
pystate.c:_PyMutex_Unlock:
   64|      4|{
   65|      4|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|      4|#define _Py_LOCKED      1
  ------------------
   66|      4|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|      4|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 4]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|      4|}
thread.c:_PyMutex_Unlock:
   64|  1.60k|{
   65|  1.60k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  1.60k|#define _Py_LOCKED      1
  ------------------
   66|  1.60k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  1.60k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 1.60k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  1.60k|}
_threadmodule.c:_PyMutex_Unlock:
   64|      8|{
   65|      8|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|      8|#define _Py_LOCKED      1
  ------------------
   66|      8|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|      8|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 8]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|      8|}
_threadmodule.c:_PyMutex_Lock:
   53|      2|{
   54|      2|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      2|#define _Py_UNLOCKED    0
  ------------------
   55|      2|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      2|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 2]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|      2|}

listobject.c:PySet_GET_SIZE:
   64|     28|static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) {
   65|       |#ifdef Py_GIL_DISABLED
   66|       |    return _Py_atomic_load_ssize_relaxed(&(_PySet_CAST(so)->used));
   67|       |#else
   68|       |    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|     28|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|     28|#endif
   70|     28|}
setobject.c:PySet_GET_SIZE:
   64|   764k|static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) {
   65|       |#ifdef Py_GIL_DISABLED
   66|       |    return _Py_atomic_load_ssize_relaxed(&(_PySet_CAST(so)->used));
   67|       |#else
   68|       |    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|   764k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   764k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|   764k|#endif
   70|   764k|}
_abc.c:PySet_GET_SIZE:
   64|   110k|static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) {
   65|       |#ifdef Py_GIL_DISABLED
   66|       |    return _Py_atomic_load_ssize_relaxed(&(_PySet_CAST(so)->used));
   67|       |#else
   68|       |    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|   110k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|   110k|#endif
   70|   110k|}
codeobject.c:PySet_GET_SIZE:
   64|     96|static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) {
   65|       |#ifdef Py_GIL_DISABLED
   66|       |    return _Py_atomic_load_ssize_relaxed(&(_PySet_CAST(so)->used));
   67|       |#else
   68|       |    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|     96|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|     96|#endif
   70|     96|}

bytesobject.c:PyTuple_GET_SIZE:
   23|  8.13M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  8.13M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  8.13M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  8.13M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  8.13M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  8.13M|}
call.c:PyTuple_GET_SIZE:
   23|  4.40M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.40M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.40M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.40M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.40M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.40M|}
call.c:PyTuple_SET_ITEM:
   33|  3.04M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  3.04M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  3.04M|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  3.04M|    tuple->ob_item[index] = value;
   38|  3.04M|}
exceptions.c:PyTuple_GET_SIZE:
   23|   163k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   163k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   163k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   163k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   163k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   163k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   163k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   163k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   163k|}
genericaliasobject.c:PyTuple_GET_SIZE:
   23|    266|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    266|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    266|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    266|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    266|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    266|}
genericaliasobject.c:PyTuple_SET_ITEM:
   33|     16|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     16|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     16|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|     16|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     16|    tuple->ob_item[index] = value;
   38|     16|}
listobject.c:PyTuple_GET_SIZE:
   23|  1.35M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.35M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.35M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  1.35M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.35M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.35M|}
longobject.c:PyTuple_GET_SIZE:
   23|  78.1k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  78.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  78.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  78.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  78.1k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  78.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  78.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  78.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  78.1k|}
dictobject.c:PyTuple_SET_ITEM:
   33|  1.69M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.69M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.69M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  1.69M|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  1.69M|    tuple->ob_item[index] = value;
   38|  1.69M|}
dictobject.c:PyTuple_GET_SIZE:
   23|  6.34k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  6.34k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.34k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  6.34k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  6.34k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  6.34k|}
memoryobject.c:PyTuple_GET_SIZE:
   23|    510|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    510|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    510|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    510|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    510|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    510|}
moduleobject.c:PyTuple_GET_SIZE:
   23|    629|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    629|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    629|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    629|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    629|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    629|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    629|}
sentinelobject.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}
structseq.c:PyTuple_SET_ITEM:
   33|    246|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    246|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    246|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    246|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    246|    tuple->ob_item[index] = value;
   38|    246|}
tupleobject.c:PyTuple_GET_SIZE:
   23|  14.6M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  14.6M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  14.6M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  14.6M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  14.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  14.6M|}
tupleobject.c:PyTuple_SET_ITEM:
   33|   222k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   222k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   222k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   222k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   222k|    tuple->ob_item[index] = value;
   38|   222k|}
typeobject.c:PyTuple_GET_SIZE:
   23|  59.3M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  59.3M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  59.3M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  59.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  59.3M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  59.3M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  59.3M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  18.3k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  18.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  18.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  18.3k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  18.3k|    tuple->ob_item[index] = value;
   38|  18.3k|}
typevarobject.c:PyTuple_GET_SIZE:
   23|    520|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    520|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    520|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    520|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    520|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    520|}
typevarobject.c:PyTuple_SET_ITEM:
   33|    600|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    600|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    600|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    600|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    600|    tuple->ob_item[index] = value;
   38|    600|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|  43.1k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  43.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  43.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  43.1k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  43.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  43.1k|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|  9.66k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  9.66k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.66k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  9.66k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  9.66k|    tuple->ob_item[index] = value;
   38|  9.66k|}
unionobject.c:PyTuple_GET_SIZE:
   23|    130|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    130|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    130|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    130|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    130|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    130|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|  5.57k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  5.57k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.57k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  5.57k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  5.57k|    tuple->ob_item[index] = value;
   38|  5.57k|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|  58.6k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  58.6k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  58.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  58.6k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  58.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  58.6k|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|  5.35k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  5.35k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.35k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  5.35k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  5.35k|    tuple->ob_item[index] = value;
   38|  5.35k|}
ceval.c:PyTuple_GET_SIZE:
   23|  17.8M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  17.8M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  17.8M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  17.8M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  17.8M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  17.8M|}
codecs.c:PyTuple_GET_SIZE:
   23|      4|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      4|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      4|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      4|}
codegen.c:PyTuple_SET_ITEM:
   33|    307|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    307|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    307|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    307|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    307|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    307|    tuple->ob_item[index] = value;
   38|    307|}
compile.c:PyTuple_GET_SIZE:
   23|    157|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    157|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    157|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    157|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    157|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    157|}
flowgraph.c:PyTuple_GET_SIZE:
   23|    185|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    185|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    185|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    185|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    185|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    185|}
flowgraph.c:PyTuple_SET_ITEM:
   33|    248|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    248|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    248|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    248|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    248|    tuple->ob_item[index] = value;
   38|    248|}
getargs.c:PyTuple_SET_ITEM:
   33|     88|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     88|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     88|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|     88|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     88|    tuple->ob_item[index] = value;
   38|     88|}
getargs.c:PyTuple_GET_SIZE:
   23|  3.65M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.65M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.65M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  3.65M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.65M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.65M|}
import.c:PyTuple_GET_SIZE:
   23|     44|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     44|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     44|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     44|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     44|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     44|}
initconfig.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
initconfig.c:PyTuple_SET_ITEM:
   33|      2|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|      2|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|      2|    tuple->ob_item[index] = value;
   38|      2|}
marshal.c:PyTuple_SET_ITEM:
   33|   315k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   315k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   315k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   315k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   315k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   315k|    tuple->ob_item[index] = value;
   38|   315k|}
modsupport.c:PyTuple_SET_ITEM:
   33|   666k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   666k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   666k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   666k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   666k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   666k|    tuple->ob_item[index] = value;
   38|   666k|}
specialize.c:PyTuple_GET_SIZE:
   23|    582|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    582|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    582|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    582|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    582|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    582|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    582|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    582|}
sysmodule.c:PyTuple_SET_ITEM:
   33|    592|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    592|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    592|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    592|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    592|    tuple->ob_item[index] = value;
   38|    592|}
atexitmodule.c:PyTuple_GET_SIZE:
   23|      4|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      4|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      4|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      4|}
posixmodule.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}
_datetimemodule.c:PyTuple_GET_SIZE:
   23|    104|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    104|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    104|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    104|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    104|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    104|}
_collectionsmodule.c:PyTuple_GET_SIZE:
   23|  12.6k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  12.6k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  12.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  12.6k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  12.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  12.6k|}
fileio.c:PyTuple_GET_SIZE:
   23|    526|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    526|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    526|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    526|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    526|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    526|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    526|}
bytesio.c:PyTuple_GET_SIZE:
   23|  6.27k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  6.27k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.27k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  6.27k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  6.27k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  6.27k|}
bufferedio.c:PyTuple_GET_SIZE:
   23|    528|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    528|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    528|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    528|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    528|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    528|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    528|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    528|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    528|}
textio.c:PyTuple_GET_SIZE:
   23|     22|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     22|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     22|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     22|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     22|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     22|}
stringio.c:PyTuple_GET_SIZE:
   23|      2|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      2|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      2|}
itertoolsmodule.c:PyTuple_SET_ITEM:
   33|    602|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    602|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    602|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    602|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    602|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    602|    tuple->ob_item[index] = value;
   38|    602|}
itertoolsmodule.c:PyTuple_GET_SIZE:
   23|  1.02k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.02k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.02k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  1.02k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.02k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.02k|}
sre.c:PyTuple_GET_SIZE:
   23|     38|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     38|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     38|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     38|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     38|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     38|}
sre.c:PyTuple_SET_ITEM:
   33|     10|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|     10|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     10|    tuple->ob_item[index] = value;
   38|     10|}
_abc.c:PyTuple_GET_SIZE:
   23|  4.35k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.35k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.35k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.35k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.35k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.35k|}
_functoolsmodule.c:PyTuple_GET_SIZE:
   23|  62.0k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  62.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  62.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  62.0k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  62.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  62.0k|}
_functoolsmodule.c:PyTuple_SET_ITEM:
   33|  12.8k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  12.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  12.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  12.8k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  12.8k|    tuple->ob_item[index] = value;
   38|  12.8k|}
_operator.c:PyTuple_GET_SIZE:
   23|      8|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      8|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      8|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      8|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      8|}
_operator.c:PyTuple_SET_ITEM:
   33|      2|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|      2|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|      2|    tuple->ob_item[index] = value;
   38|      2|}
getpath.c:PyTuple_GET_SIZE:
   23|     18|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     18|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     18|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     18|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     18|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     18|}
abstract.c:PyTuple_GET_SIZE:
   23|   754k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   754k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   754k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   754k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   754k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   754k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   754k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   754k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   754k|}
bytes_methods.c:PyTuple_GET_SIZE:
   23|     24|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     24|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     24|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     24|}
bytearrayobject.c:PyTuple_GET_SIZE:
   23|  8.05M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  8.05M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  8.05M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  8.05M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  8.05M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  8.05M|}
classobject.c:PyTuple_GET_SIZE:
   23|     20|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     20|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     20|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     20|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     20|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     20|}
codeobject.c:PyTuple_SET_ITEM:
   33|  26.0k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  26.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  26.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  26.0k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  26.0k|    tuple->ob_item[index] = value;
   38|  26.0k|}
codeobject.c:PyTuple_GET_SIZE:
   23|   230k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   230k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   230k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   230k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   230k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   230k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   230k|}
descrobject.c:PyTuple_GET_SIZE:
   23|  25.4k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  25.4k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  25.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  25.4k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  25.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  25.4k|}
enumobject.c:PyTuple_SET_ITEM:
   33|  9.26k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  9.26k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.26k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  9.26k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  9.26k|    tuple->ob_item[index] = value;
   38|  9.26k|}
frameobject.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
funcobject.c:PyTuple_GET_SIZE:
   23|  4.06k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.06k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.06k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.06k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.06k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.06k|}
odictobject.c:PyTuple_GET_SIZE:
   23|  12.1k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  12.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  12.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  12.1k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  12.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  12.1k|}
odictobject.c:PyTuple_SET_ITEM:
   33|     24|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     24|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|     24|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     24|    tuple->ob_item[index] = value;
   38|     24|}
Python-ast.c:PyTuple_GET_SIZE:
   23|    140|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    140|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    140|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    140|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    140|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    140|}
Python-ast.c:PyTuple_SET_ITEM:
   33|    460|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    460|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    460|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    460|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    460|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    460|    tuple->ob_item[index] = value;
   38|    460|}
Python-tokenize.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}
assemble.c:PyTuple_SET_ITEM:
   33|  1.61k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.61k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.61k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  1.61k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  1.61k|    tuple->ob_item[index] = value;
   38|  1.61k|}

listobject.c:PyUnicode_GET_LENGTH:
  296|   705k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   705k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   705k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   705k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   705k|}
listobject.c:_PyUnicode_DATA:
  278|   470k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   470k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   470k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   470k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 470k, False: 0]
  |  |  ------------------
  ------------------
  280|   470k|        return _PyUnicode_COMPACT_DATA(op);
  281|   470k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   470k|}
listobject.c:PyUnicode_IS_COMPACT:
  231|   470k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   470k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   470k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|   470k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  261|   470k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   470k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   470k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   470k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 470k, False: 0]
  |  |  ------------------
  ------------------
  263|   470k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   470k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|   470k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|   470k|}
listobject.c:PyUnicode_IS_ASCII:
  224|   470k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   470k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   470k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   470k|}
longobject.c:_PyUnicode_DATA:
  278|   160k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   160k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   160k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 160k, False: 0]
  |  |  ------------------
  ------------------
  280|   160k|        return _PyUnicode_COMPACT_DATA(op);
  281|   160k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   160k|}
longobject.c:PyUnicode_IS_COMPACT:
  231|   160k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   160k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   160k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|   160k|}
longobject.c:_PyUnicode_COMPACT_DATA:
  261|   160k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   160k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   160k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 160k, False: 0]
  |  |  ------------------
  ------------------
  263|   160k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   160k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|   160k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|   160k|}
longobject.c:PyUnicode_IS_ASCII:
  224|   160k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   160k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   160k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   160k|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  85.2M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|       |    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  85.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  85.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  85.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  85.2M|#endif
  309|  85.2M|}
dictobject.c:PyUnicode_GET_LENGTH:
  296|  6.02M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  6.02M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.02M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  6.02M|}
dictobject.c:_PyUnicode_DATA:
  278|  6.02M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  6.02M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  6.02M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 6.02M, False: 0]
  |  |  ------------------
  ------------------
  280|  6.02M|        return _PyUnicode_COMPACT_DATA(op);
  281|  6.02M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  6.02M|}
dictobject.c:PyUnicode_IS_COMPACT:
  231|  6.02M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  6.02M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.02M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  6.02M|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  261|  6.02M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  6.02M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  6.02M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 6.02M, False: 0]
  |  |  ------------------
  ------------------
  263|  6.02M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  6.02M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  6.02M|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  6.02M|}
dictobject.c:PyUnicode_IS_ASCII:
  224|  6.02M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  6.02M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.02M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  6.02M|}
setobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|   571k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|       |    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   571k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   571k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   571k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|   571k|#endif
  309|   571k|}
setobject.c:PyUnicode_GET_LENGTH:
  296|  1.17k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.17k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.17k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  1.17k|}
setobject.c:_PyUnicode_DATA:
  278|  1.17k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.17k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.17k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.17k, False: 0]
  |  |  ------------------
  ------------------
  280|  1.17k|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.17k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.17k|}
setobject.c:PyUnicode_IS_COMPACT:
  231|  1.17k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.17k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.17k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  1.17k|}
setobject.c:_PyUnicode_COMPACT_DATA:
  261|  1.17k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.17k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.17k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.17k, False: 0]
  |  |  ------------------
  ------------------
  263|  1.17k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.17k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  1.17k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  1.17k|}
setobject.c:PyUnicode_IS_ASCII:
  224|  1.17k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.17k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.17k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  1.17k|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  3.33M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|       |    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  3.33M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.33M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  3.33M|#endif
  309|  3.33M|}
typeobject.c:PyUnicode_GET_LENGTH:
  296|  3.11M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.11M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.11M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  3.11M|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  207|  4.01k|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|       |    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  4.01k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.01k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  212|  4.01k|#endif
  213|  4.01k|}
typeobject.c:_PyUnicode_DATA:
  278|  3.25k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  3.25k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  3.25k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 3.25k, False: 0]
  |  |  ------------------
  ------------------
  280|  3.25k|        return _PyUnicode_COMPACT_DATA(op);
  281|  3.25k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  3.25k|}
typeobject.c:PyUnicode_IS_COMPACT:
  231|  3.25k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  3.25k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.25k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  3.25k|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  261|  3.25k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  3.25k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  3.25k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.25k, False: 0]
  |  |  ------------------
  ------------------
  263|  3.25k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.25k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  3.25k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  3.25k|}
typeobject.c:PyUnicode_IS_ASCII:
  224|  3.25k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.25k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.25k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  3.25k|}
unicode_format.c:_PyUnicode_DATA:
  278|   334k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   334k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   334k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   334k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 334k, False: 0]
  |  |  ------------------
  ------------------
  280|   334k|        return _PyUnicode_COMPACT_DATA(op);
  281|   334k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   334k|}
unicode_format.c:PyUnicode_IS_COMPACT:
  231|   334k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   334k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   334k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|   334k|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  261|   334k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   334k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   334k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   334k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 334k, False: 0]
  |  |  ------------------
  ------------------
  263|   334k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   334k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|   334k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|   334k|}
unicode_format.c:PyUnicode_IS_ASCII:
  224|   413k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   413k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   413k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   413k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   413k|}
unicode_format.c:PyUnicode_GET_LENGTH:
  296|   254k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   254k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   254k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   254k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   254k|}
unicode_format.c:PyUnicode_READ:
  342|   582k|{
  343|   582k|    assert(index >= 0);
  344|   582k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 582k, False: 0]
  ------------------
  345|   582k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   582k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   582k|    }
  347|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 0, False: 0]
  ------------------
  348|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|      0|    }
  350|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
unicode_format.c:PyUnicode_MAX_CHAR_VALUE:
  387|  79.6k|{
  388|  79.6k|    int kind;
  389|       |
  390|  79.6k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  79.6k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 79.6k, False: 0]
  |  |  ------------------
  ------------------
  391|  79.6k|        return 0x7fU;
  392|  79.6k|    }
  393|       |
  394|      0|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|      0|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 0, False: 0]
  ------------------
  396|      0|       return 0xffU;
  397|      0|    }
  398|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 0, False: 0]
  ------------------
  399|      0|        return 0xffffU;
  400|      0|    }
  401|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  402|      0|    return 0x10ffffU;
  403|      0|}
unicode_formatter.c:_PyUnicode_DATA:
  278|    256|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    256|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    256|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 256, False: 0]
  |  |  ------------------
  ------------------
  280|    256|        return _PyUnicode_COMPACT_DATA(op);
  281|    256|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    256|}
unicode_formatter.c:PyUnicode_IS_COMPACT:
  231|    256|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    256|    (assert(PyUnicode_Check(op)), \
  |  |  187|    256|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    256|}
unicode_formatter.c:_PyUnicode_COMPACT_DATA:
  261|    256|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    256|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    256|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 256, False: 0]
  |  |  ------------------
  ------------------
  263|    256|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    256|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    256|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    256|}
unicode_formatter.c:PyUnicode_IS_ASCII:
  224|    256|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    256|    (assert(PyUnicode_Check(op)), \
  |  |  187|    256|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    256|}
unicode_formatter.c:PyUnicode_READ:
  342|    832|{
  343|    832|    assert(index >= 0);
  344|    832|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 832, False: 0]
  ------------------
  345|    832|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|    832|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|    832|    }
  347|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 0, False: 0]
  ------------------
  348|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|      0|    }
  350|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
unicode_formatter.c:PyUnicode_GET_LENGTH:
  296|    192|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    192|    (assert(PyUnicode_Check(op)), \
  |  |  187|    192|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    192|}
unicode_formatter.c:PyUnicode_READ_CHAR:
  363|     64|{
  364|     64|    int kind;
  365|       |
  366|     64|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     64|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|     64|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|     64|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 64, False: 0]
  ------------------
  372|     64|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     64|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     64|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
unicode_writer.c:_PyUnicode_DATA:
  278|  1.59M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.59M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.59M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.59M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.59M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.59M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.59M|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  231|  1.59M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.59M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.59M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  1.59M|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  261|  1.59M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.59M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.59M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.59M, False: 100]
  |  |  ------------------
  ------------------
  263|  1.59M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.59M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  1.59M|    }
  265|    100|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  1.59M|}
unicode_writer.c:PyUnicode_IS_ASCII:
  224|  4.69M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  4.69M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.69M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  4.69M|}
unicode_writer.c:PyUnicode_WRITE:
  318|   189k|{
  319|   189k|    assert(index >= 0);
  320|   189k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 189k, False: 0]
  ------------------
  321|   189k|        assert(value <= 0xffU);
  322|   189k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   189k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   189k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|   189k|    }
  324|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 0, False: 0]
  ------------------
  325|      0|        assert(value <= 0xffffU);
  326|      0|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|      0|    }
  328|      0|    else {
  329|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  330|      0|        assert(value <= 0x10ffffU);
  331|      0|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|      0|    }
  333|   189k|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  296|  4.45M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  4.45M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.45M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  4.45M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  387|  3.09M|{
  388|  3.09M|    int kind;
  389|       |
  390|  3.09M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  3.09M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.09M, False: 100]
  |  |  ------------------
  ------------------
  391|  3.09M|        return 0x7fU;
  392|  3.09M|    }
  393|       |
  394|    100|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|    100|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    100|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|    100|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 32, False: 68]
  ------------------
  396|     32|       return 0xffU;
  397|     32|    }
  398|     68|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 50, False: 18]
  ------------------
  399|     50|        return 0xffffU;
  400|     50|    }
  401|     68|    assert(kind == PyUnicode_4BYTE_KIND);
  402|     18|    return 0x10ffffU;
  403|     68|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  207|  13.2M|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  208|       |#ifdef Py_GIL_DISABLED
  209|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  210|       |#else
  211|       |    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  13.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  13.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  212|  13.2M|#endif
  213|  13.2M|}
unicodeobject.c:_PyUnicode_DATA:
  278|  24.3M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  24.3M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  24.3M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 24.3M, False: 0]
  |  |  ------------------
  ------------------
  280|  24.3M|        return _PyUnicode_COMPACT_DATA(op);
  281|  24.3M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  24.3M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  261|  24.3M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  24.3M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  24.3M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 23.7M, False: 568k]
  |  |  ------------------
  ------------------
  263|  23.7M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  23.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  23.7M|    }
  265|   568k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   568k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  24.3M|}
unicodeobject.c:PyUnicode_READ:
  342|   526k|{
  343|   526k|    assert(index >= 0);
  344|   526k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 505k, False: 21.1k]
  ------------------
  345|   505k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   505k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   505k|    }
  347|  21.1k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 4.95k, False: 16.2k]
  ------------------
  348|  4.95k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  4.95k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|  4.95k|    }
  350|  21.1k|    assert(kind == PyUnicode_4BYTE_KIND);
  351|  16.2k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  16.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  21.1k|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  296|  79.2M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  79.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  79.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  79.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  79.2M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  224|  54.1M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  54.1M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  54.1M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  54.1M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  238|  9.53M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  9.53M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  9.53M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.53M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  9.31M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 9.31M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 9.31M, False: 227k]
  ------------------
  240|  9.53M|}
unicodeobject.c:PyUnicode_WRITE:
  318|  1.59M|{
  319|  1.59M|    assert(index >= 0);
  320|  1.59M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 1.59M, False: 136]
  ------------------
  321|  1.59M|        assert(value <= 0xffU);
  322|  1.59M|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.59M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.59M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|  1.59M|    }
  324|    136|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 100, False: 36]
  ------------------
  325|    100|        assert(value <= 0xffffU);
  326|    100|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|    100|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|    100|    }
  328|     36|    else {
  329|     36|        assert(kind == PyUnicode_4BYTE_KIND);
  330|     36|        assert(value <= 0x10ffffU);
  331|     36|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|     36|    }
  333|  1.59M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  6.13M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  304|       |#ifdef Py_GIL_DISABLED
  305|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  306|       |#else
  307|       |    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  6.13M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.13M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  6.13M|#endif
  309|  6.13M|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  387|  7.70M|{
  388|  7.70M|    int kind;
  389|       |
  390|  7.70M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  7.70M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 7.55M, False: 143k]
  |  |  ------------------
  ------------------
  391|  7.55M|        return 0x7fU;
  392|  7.55M|    }
  393|       |
  394|   143k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|   143k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   143k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|   143k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 3.87k, False: 139k]
  ------------------
  396|  3.87k|       return 0xffU;
  397|  3.87k|    }
  398|   139k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 88.0k, False: 51.3k]
  ------------------
  399|  88.0k|        return 0xffffU;
  400|  88.0k|    }
  401|   139k|    assert(kind == PyUnicode_4BYTE_KIND);
  402|  51.3k|    return 0x10ffffU;
  403|   139k|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  231|  39.2M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  39.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  39.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  39.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  39.2M|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|   326k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|   326k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 180k, False: 145k]
  |  Branch (17:29): [True: 0, False: 180k]
  ------------------
   18|   326k|}
unicodeobject.c:PyUnicode_READ_CHAR:
  363|   916k|{
  364|   916k|    int kind;
  365|       |
  366|   916k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|   916k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|   916k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|   916k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   916k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|   916k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 916k, False: 0]
  ------------------
  372|   916k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|   916k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   916k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|   916k|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
unicodeobject.c:Py_UNICODE_ISSPACE:
  742|  6.86k|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  743|  6.86k|    if (ch < 128) {
  ------------------
  |  Branch (743:9): [True: 6.86k, False: 0]
  ------------------
  744|  6.86k|        return _Py_ascii_whitespace[ch];
  745|  6.86k|    }
  746|      0|    return _PyUnicode_IsWhitespace(ch);
  747|  6.86k|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  296|  2.31k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  2.31k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.31k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  2.31k|}
bltinmodule.c:PyUnicode_READ_CHAR:
  363|  2.31k|{
  364|  2.31k|    int kind;
  365|       |
  366|  2.31k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  2.31k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|  2.31k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  2.31k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|  2.31k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 1.76k, False: 541]
  ------------------
  372|  1.76k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  1.76k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.76k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  1.76k|    }
  374|    541|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 342, False: 199]
  ------------------
  375|    342|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|    342|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    342|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|    342|    }
  377|    541|    assert(kind == PyUnicode_4BYTE_KIND);
  378|    199|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    199|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    199|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|    541|}
bltinmodule.c:_PyUnicode_DATA:
  278|  2.31k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  2.31k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  2.31k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 2.31k, False: 0]
  |  |  ------------------
  ------------------
  280|  2.31k|        return _PyUnicode_COMPACT_DATA(op);
  281|  2.31k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  2.31k|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  231|  2.31k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  2.31k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.31k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  2.31k|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  261|  2.31k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  2.31k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  2.31k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.66k, False: 642]
  |  |  ------------------
  ------------------
  263|  1.66k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.66k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  1.66k|    }
  265|    642|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    642|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  2.31k|}
bltinmodule.c:PyUnicode_IS_ASCII:
  224|  2.31k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  2.31k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.31k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  2.31k|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  238|  31.8k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  31.8k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  31.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  31.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  31.8k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 31.8k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 31.8k, False: 16]
  ------------------
  240|  31.8k|}
ceval.c:PyUnicode_IS_COMPACT:
  231|  63.6k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  63.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  63.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  63.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  63.6k|}
ceval.c:PyUnicode_GET_LENGTH:
  296|  31.8k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  31.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  31.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  31.8k|}
ceval.c:_PyUnicode_DATA:
  278|  31.7k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  31.7k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  31.7k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 31.7k, False: 0]
  |  |  ------------------
  ------------------
  280|  31.7k|        return _PyUnicode_COMPACT_DATA(op);
  281|  31.7k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  31.7k|}
ceval.c:_PyUnicode_COMPACT_DATA:
  261|  31.7k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  31.7k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  31.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 31.7k, False: 0]
  |  |  ------------------
  ------------------
  263|  31.7k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  31.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  31.7k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  31.7k|}
ceval.c:PyUnicode_IS_ASCII:
  224|  31.7k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  31.7k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  31.7k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  31.7k|}
codegen.c:PyUnicode_GET_LENGTH:
  296|      8|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      8|    (assert(PyUnicode_Check(op)), \
  |  |  187|      8|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|      8|}
codegen.c:PyUnicode_READ_CHAR:
  363|    186|{
  364|    186|    int kind;
  365|       |
  366|    186|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    186|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    186|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    186|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    186|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    186|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 186, False: 0]
  ------------------
  372|    186|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    186|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    186|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    186|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
codegen.c:_PyUnicode_DATA:
  278|    186|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    186|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    186|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 186, False: 0]
  |  |  ------------------
  ------------------
  280|    186|        return _PyUnicode_COMPACT_DATA(op);
  281|    186|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    186|}
codegen.c:PyUnicode_IS_COMPACT:
  231|    186|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    186|    (assert(PyUnicode_Check(op)), \
  |  |  187|    186|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    186|}
codegen.c:_PyUnicode_COMPACT_DATA:
  261|    186|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    186|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    186|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 186, False: 0]
  |  |  ------------------
  ------------------
  263|    186|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    186|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    186|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    186|}
codegen.c:PyUnicode_IS_ASCII:
  224|    186|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    186|    (assert(PyUnicode_Check(op)), \
  |  |  187|    186|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    186|}
flowgraph.c:PyUnicode_GET_LENGTH:
  296|    836|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    836|    (assert(PyUnicode_Check(op)), \
  |  |  187|    836|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    836|}
import.c:PyUnicode_GET_LENGTH:
  296|   796k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   796k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   796k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   796k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   796k|}
intrinsics.c:PyUnicode_READ_CHAR:
  363|  3.81k|{
  364|  3.81k|    int kind;
  365|       |
  366|  3.81k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  3.81k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|  3.81k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  3.81k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|  3.81k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 3.81k, False: 0]
  ------------------
  372|  3.81k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  3.81k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  3.81k|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
intrinsics.c:_PyUnicode_DATA:
  278|  3.81k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  3.81k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  3.81k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 3.81k, False: 0]
  |  |  ------------------
  ------------------
  280|  3.81k|        return _PyUnicode_COMPACT_DATA(op);
  281|  3.81k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  3.81k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  231|  3.81k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  3.81k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.81k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  3.81k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  261|  3.81k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  3.81k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  3.81k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.81k, False: 0]
  |  |  ------------------
  ------------------
  263|  3.81k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  3.81k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  3.81k|}
intrinsics.c:PyUnicode_IS_ASCII:
  224|  3.81k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.81k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.81k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  3.81k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  238|     34|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|     34|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|     34|    (assert(PyUnicode_Check(op)), \
  |  |  187|     34|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|     34|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 34, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 34, False: 0]
  ------------------
  240|     34|}
specialize.c:PyUnicode_IS_COMPACT:
  231|     34|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     34|    (assert(PyUnicode_Check(op)), \
  |  |  187|     34|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|     34|}
symtable.c:PyUnicode_GET_LENGTH:
  296|    211|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    211|    (assert(PyUnicode_Check(op)), \
  |  |  187|    211|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    211|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    211|}
symtable.c:PyUnicode_READ_CHAR:
  363|    966|{
  364|    966|    int kind;
  365|       |
  366|    966|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    966|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    966|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    966|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    966|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    966|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 966, False: 0]
  ------------------
  372|    966|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    966|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    966|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    966|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
symtable.c:_PyUnicode_DATA:
  278|    966|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    966|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    966|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    966|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 966, False: 0]
  |  |  ------------------
  ------------------
  280|    966|        return _PyUnicode_COMPACT_DATA(op);
  281|    966|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    966|}
symtable.c:PyUnicode_IS_COMPACT:
  231|    966|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    966|    (assert(PyUnicode_Check(op)), \
  |  |  187|    966|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    966|}
symtable.c:_PyUnicode_COMPACT_DATA:
  261|    966|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    966|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    966|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    966|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 966, False: 0]
  |  |  ------------------
  ------------------
  263|    966|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    966|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    966|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    966|}
symtable.c:PyUnicode_IS_ASCII:
  224|    966|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    966|    (assert(PyUnicode_Check(op)), \
  |  |  187|    966|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    966|}
pystrhex.c:_PyUnicode_DATA:
  278|     91|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     91|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     91|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 91, False: 0]
  |  |  ------------------
  ------------------
  280|     91|        return _PyUnicode_COMPACT_DATA(op);
  281|     91|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     91|}
pystrhex.c:PyUnicode_IS_COMPACT:
  231|     91|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     91|    (assert(PyUnicode_Check(op)), \
  |  |  187|     91|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|     91|}
pystrhex.c:_PyUnicode_COMPACT_DATA:
  261|     91|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     91|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     91|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 91, False: 0]
  |  |  ------------------
  ------------------
  263|     91|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     91|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|     91|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|     91|}
pystrhex.c:PyUnicode_IS_ASCII:
  224|     91|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     91|    (assert(PyUnicode_Check(op)), \
  |  |  187|     91|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|     91|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|  1.36M|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  1.36M|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 1.36M]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|  1.36M|}
textio.c:PyUnicode_GET_LENGTH:
  296|  24.7k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  24.7k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  24.7k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  24.7k|}
textio.c:PyUnicode_IS_ASCII:
  224|  8.30k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  8.30k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  8.30k|}
textio.c:_PyUnicode_DATA:
  278|  8.30k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  8.30k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  8.30k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 8.30k, False: 0]
  |  |  ------------------
  ------------------
  280|  8.30k|        return _PyUnicode_COMPACT_DATA(op);
  281|  8.30k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  8.30k|}
textio.c:PyUnicode_IS_COMPACT:
  231|  8.30k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  8.30k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  8.30k|}
textio.c:_PyUnicode_COMPACT_DATA:
  261|  8.30k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  8.30k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  8.30k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 7.94k, False: 360]
  |  |  ------------------
  ------------------
  263|  7.94k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  7.94k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  7.94k|    }
  265|    360|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    360|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  8.30k|}
textio.c:PyUnicode_READ_CHAR:
  363|     42|{
  364|     42|    int kind;
  365|       |
  366|     42|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     42|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|     42|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     42|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|     42|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 40, False: 2]
  ------------------
  372|     40|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     40|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     40|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     40|    }
  374|      2|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 2, False: 0]
  ------------------
  375|      2|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      2|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      2|    }
  377|      2|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      2|}
textio.c:PyUnicode_READ:
  342|  18.1k|{
  343|  18.1k|    assert(index >= 0);
  344|  18.1k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 0, False: 18.1k]
  ------------------
  345|      0|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|      0|    }
  347|  18.1k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 16.7k, False: 1.39k]
  ------------------
  348|  16.7k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  16.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|  16.7k|    }
  350|  18.1k|    assert(kind == PyUnicode_4BYTE_KIND);
  351|  1.39k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  1.39k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  18.1k|}
stringio.c:PyUnicode_GET_LENGTH:
  296|      2|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|      2|}
sre.c:PyUnicode_GET_LENGTH:
  296|    178|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    178|    (assert(PyUnicode_Check(op)), \
  |  |  187|    178|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    178|}
sre.c:_PyUnicode_DATA:
  278|    178|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    178|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    178|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 178, False: 0]
  |  |  ------------------
  ------------------
  280|    178|        return _PyUnicode_COMPACT_DATA(op);
  281|    178|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    178|}
sre.c:PyUnicode_IS_COMPACT:
  231|    178|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    178|    (assert(PyUnicode_Check(op)), \
  |  |  187|    178|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    178|}
sre.c:_PyUnicode_COMPACT_DATA:
  261|    178|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    178|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    178|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 178, False: 0]
  |  |  ------------------
  ------------------
  263|    178|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    178|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    178|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    178|}
sre.c:PyUnicode_IS_ASCII:
  224|    178|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    178|    (assert(PyUnicode_Check(op)), \
  |  |  187|    178|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    178|}
sre.c:Py_UNICODE_ISALNUM:
  769|    374|static inline int Py_UNICODE_ISALNUM(Py_UCS4 ch) {
  770|    374|   return (Py_UNICODE_ISALPHA(ch)
  ------------------
  |  |  767|    748|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  ------------------
  |  |  |  Branch (767:32): [True: 334, False: 40]
  |  |  ------------------
  ------------------
  771|     40|           || Py_UNICODE_ISDECIMAL(ch)
  ------------------
  |  |  758|    414|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  |  |  |  Branch (758:34): [True: 0, False: 40]
  |  |  ------------------
  ------------------
  772|     40|           || Py_UNICODE_ISDIGIT(ch)
  ------------------
  |  |  759|    414|#define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)
  |  |  ------------------
  |  |  |  Branch (759:32): [True: 0, False: 40]
  |  |  ------------------
  ------------------
  773|     40|           || Py_UNICODE_ISNUMERIC(ch));
  ------------------
  |  |  760|     40|#define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)
  |  |  ------------------
  |  |  |  Branch (760:34): [True: 0, False: 40]
  |  |  ------------------
  ------------------
  774|    374|}
sre.c:Py_UNICODE_ISSPACE:
  742|     40|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  743|     40|    if (ch < 128) {
  ------------------
  |  Branch (743:9): [True: 40, False: 0]
  ------------------
  744|     40|        return _Py_ascii_whitespace[ch];
  745|     40|    }
  746|      0|    return _PyUnicode_IsWhitespace(ch);
  747|     40|}
_operator.c:PyUnicode_IS_ASCII:
  224|      2|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|      2|}
_operator.c:_PyUnicode_DATA:
  278|      2|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|      2|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|      2|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  280|      2|        return _PyUnicode_COMPACT_DATA(op);
  281|      2|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|      2|}
_operator.c:PyUnicode_IS_COMPACT:
  231|      2|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|      2|}
_operator.c:_PyUnicode_COMPACT_DATA:
  261|      2|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|      2|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|      2|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  263|      2|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|      2|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|      2|}
_operator.c:PyUnicode_GET_LENGTH:
  296|      2|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      2|    (assert(PyUnicode_Check(op)), \
  |  |  187|      2|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|      2|}
_operator.c:PyUnicode_READ:
  342|     32|{
  343|     32|    assert(index >= 0);
  344|     32|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 32, False: 0]
  ------------------
  345|     32|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|     32|    }
  347|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 0, False: 0]
  ------------------
  348|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|      0|    }
  350|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  351|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|      0|}
getpath.c:PyUnicode_GET_LENGTH:
  296|      6|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      6|    (assert(PyUnicode_Check(op)), \
  |  |  187|      6|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|      6|}
abstract.c:PyUnicode_GET_LENGTH:
  296|      4|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      4|    (assert(PyUnicode_Check(op)), \
  |  |  187|      4|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|      4|}
codeobject.c:PyUnicode_IS_ASCII:
  224|   150k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   150k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   150k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   150k|}
codeobject.c:_PyUnicode_DATA:
  278|  75.3k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  75.3k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  75.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 75.3k, False: 0]
  |  |  ------------------
  ------------------
  280|  75.3k|        return _PyUnicode_COMPACT_DATA(op);
  281|  75.3k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  75.3k|}
codeobject.c:PyUnicode_IS_COMPACT:
  231|  75.3k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  75.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  75.3k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  261|  75.3k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  75.3k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  75.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 75.3k, False: 0]
  |  |  ------------------
  ------------------
  263|  75.3k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  75.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  75.3k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  75.3k|}
codeobject.c:PyUnicode_GET_LENGTH:
  296|  75.3k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  75.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  75.3k|}
pegen.c:PyUnicode_GET_LENGTH:
  296|   108k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   108k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   108k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   108k|}
pegen.c:PyUnicode_IS_ASCII:
  224|  6.74M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  6.74M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.74M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  6.74M|}
action_helpers.c:PyUnicode_READ_CHAR:
  363|    492|{
  364|    492|    int kind;
  365|       |
  366|    492|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    492|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    492|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    492|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    492|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    492|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 492, False: 0]
  ------------------
  372|    492|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    492|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    492|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    492|    }
  374|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 0, False: 0]
  ------------------
  375|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      0|    }
  377|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  378|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      0|}
action_helpers.c:_PyUnicode_DATA:
  278|    492|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    492|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    492|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 492, False: 0]
  |  |  ------------------
  ------------------
  280|    492|        return _PyUnicode_COMPACT_DATA(op);
  281|    492|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    492|}
action_helpers.c:PyUnicode_IS_COMPACT:
  231|    492|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    492|    (assert(PyUnicode_Check(op)), \
  |  |  187|    492|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    492|}
action_helpers.c:_PyUnicode_COMPACT_DATA:
  261|    492|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    492|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    492|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 492, False: 0]
  |  |  ------------------
  ------------------
  263|    492|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    492|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    492|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    492|}
action_helpers.c:PyUnicode_IS_ASCII:
  224|    492|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    492|    (assert(PyUnicode_Check(op)), \
  |  |  187|    492|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    492|}
action_helpers.c:PyUnicode_GET_LENGTH:
  296|  1.12k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.12k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.12k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  1.12k|}

obmalloc.c:mi_atomic_once:
  306|      6|static inline bool mi_atomic_once( mi_atomic_once_t* once ) {
  307|      6|  if (mi_atomic_load_relaxed(once) != 0) return false;     // quick test
  ------------------
  |  |   61|      6|#define mi_atomic_load_relaxed(p)                mi_atomic(load_explicit)(p,mi_memory_order(relaxed))
  |  |  ------------------
  |  |  |  |   42|      6|#define  mi_atomic(name)        atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_load_relaxed(p)                mi_atomic(load_explicit)(p,mi_memory_order(relaxed))
  |  |  ------------------
  |  |  |  |   43|      6|#define  mi_memory_order(name)  memory_order_##name
  |  |  ------------------
  ------------------
  |  Branch (307:7): [True: 4, False: 2]
  ------------------
  308|      2|  uintptr_t expected = 0;
  309|       |  return mi_atomic_cas_strong_acq_rel(once, &expected, (uintptr_t)1); // try to set to 1
  ------------------
  |  |   69|      2|#define mi_atomic_cas_strong_acq_rel(p,exp,des)  mi_atomic_cas_strong(p,exp,des,mi_memory_order(acq_rel),mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   58|      2|  mi_atomic(compare_exchange_strong_explicit)(p,expected,desired,mem_success,mem_fail)
  |  |  |  |  ------------------
  |  |  |  |  |  |   42|      2|#define  mi_atomic(name)        atomic_##name
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      6|}

obmalloc.c:mi_heap_is_initialized:
  374|      4|static inline bool mi_heap_is_initialized(mi_heap_t* heap) {
  375|      4|  mi_assert_internal(heap != NULL);
  376|      4|  return (heap != &_mi_heap_empty);
  377|      4|}

obmalloc.c:mi_prim_get_default_heap:
  318|      6|static inline mi_heap_t* mi_prim_get_default_heap(void) {
  319|       |  #if defined(MI_TLS_RECURSE_GUARD)
  320|       |  if (mi_unlikely(!_mi_process_is_initialized)) return _mi_heap_main_get();
  321|       |  #endif
  322|      6|  return _mi_heap_default;
  323|      6|}
obmalloc.c:_mi_prim_thread_id:
  214|      4|static inline mi_threadid_t _mi_prim_thread_id(void) mi_attr_noexcept {
  215|       |  #if defined(__BIONIC__)
  216|       |    // issue #384, #495: on the Bionic libc (Android), slot 1 is the thread id
  217|       |    // see: https://github.com/aosp-mirror/platform_bionic/blob/c44b1d0676ded732df4b3b21c5f798eacae93228/libc/platform/bionic/tls_defines.h#L86
  218|       |    return (uintptr_t)mi_prim_tls_slot(1);
  219|       |  #else
  220|       |    // in all our other targets, slot 0 is the thread id
  221|       |    // glibc: https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=sysdeps/x86_64/nptl/tls.h
  222|       |    // apple: https://github.com/apple/darwin-xnu/blob/main/libsyscall/os/tsd.h#L36
  223|      4|    return (uintptr_t)mi_prim_tls_slot(0);
  224|      4|  #endif
  225|      4|}
obmalloc.c:mi_prim_tls_slot:
  161|      4|static inline void* mi_prim_tls_slot(size_t slot) mi_attr_noexcept {
  162|      4|  void* res;
  163|      4|  const size_t ofs = (slot*sizeof(void*));
  164|       |  #if defined(__i386__)
  165|       |    __asm__("movl %%gs:%1, %0" : "=r" (res) : "m" (*((void**)ofs)) : );  // x86 32-bit always uses GS
  166|       |  #elif defined(__APPLE__) && defined(__x86_64__)
  167|       |    __asm__("movq %%gs:%1, %0" : "=r" (res) : "m" (*((void**)ofs)) : );  // x86_64 macOSX uses GS
  168|       |  #elif defined(__x86_64__) && (MI_INTPTR_SIZE==4)
  169|       |    __asm__("movl %%fs:%1, %0" : "=r" (res) : "m" (*((void**)ofs)) : );  // x32 ABI
  170|       |  #elif defined(__x86_64__)
  171|       |    __asm__("movq %%fs:%1, %0" : "=r" (res) : "m" (*((void**)ofs)) : );  // x86_64 Linux, BSD uses FS
  172|       |  #elif defined(__arm__)
  173|       |    void** tcb; MI_UNUSED(ofs);
  174|       |    __asm__ volatile ("mrc p15, 0, %0, c13, c0, 3\nbic %0, %0, #3" : "=r" (tcb));
  175|       |    res = tcb[slot];
  176|       |  #elif defined(__aarch64__)
  177|       |    void** tcb; MI_UNUSED(ofs);
  178|       |    #if defined(__APPLE__) // M1, issue #343
  179|       |    __asm__ volatile ("mrs %0, tpidrro_el0\nbic %0, %0, #7" : "=r" (tcb));
  180|       |    #else
  181|       |    __asm__ volatile ("mrs %0, tpidr_el0" : "=r" (tcb));
  182|       |    #endif
  183|       |    res = tcb[slot];
  184|       |  #endif
  185|      4|  return res;
  186|      4|}

bytesobject.c:_PyIndex_Check:
   14|  16.2M|{
   15|  16.2M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  16.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  16.2M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 8.04M, False: 8.20M]
  |  Branch (16:37): [True: 8, False: 8.04M]
  ------------------
   17|  16.2M|}
listobject.c:_PyIndex_Check:
   14|   300k|{
   15|   300k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|   300k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   300k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   300k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|   300k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 300k, False: 104]
  |  Branch (16:37): [True: 300k, False: 0]
  ------------------
   17|   300k|}
memoryobject.c:_PyIndex_Check:
   14|    502|{
   15|    502|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    502|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    502|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 502]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    502|}
rangeobject.c:_PyIndex_Check:
   14|    430|{
   15|    430|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    430|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    430|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 430]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    430|}
sliceobject.c:_PyIndex_Check:
   14|    430|{
   15|    430|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    430|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    430|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 430, False: 0]
  |  Branch (16:37): [True: 430, False: 0]
  ------------------
   17|    430|}
tupleobject.c:_PyIndex_Check:
   14|  12.6k|{
   15|  12.6k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  12.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  12.6k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 563, False: 12.1k]
  |  Branch (16:37): [True: 563, False: 0]
  ------------------
   17|  12.6k|}
unicodeobject.c:_PyIndex_Check:
   14|  3.40k|{
   15|  3.40k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  3.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.40k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.91k, False: 1.48k]
  |  Branch (16:37): [True: 1.91k, False: 0]
  ------------------
   17|  3.40k|}
modsupport.c:_PyIndex_Check:
   14|     72|{
   15|     72|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     72|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     72|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 72, False: 0]
  |  Branch (16:37): [True: 72, False: 0]
  ------------------
   17|     72|}
abstract.c:_PyIndex_Check:
   14|  7.19k|{
   15|  7.19k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  7.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  7.19k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 7.19k, False: 0]
  |  Branch (16:37): [True: 4.32k, False: 2.87k]
  ------------------
   17|  7.19k|}
bytes_methods.c:_PyIndex_Check:
   14|  1.06k|{
   15|  1.06k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  1.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  1.06k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.06k, False: 0]
  |  Branch (16:37): [True: 1.06k, False: 0]
  ------------------
   17|  1.06k|}
bytearrayobject.c:_PyIndex_Check:
   14|  24.1M|{
   15|  24.1M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  24.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  24.1M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 24.1M, False: 2.63k]
  |  Branch (16:37): [True: 16.0M, False: 8.04M]
  ------------------
   17|  24.1M|}

ceval.c:backoff_counter_triggers:
  106|  96.2M|{
  107|       |    /* Test whether the value is zero and the backoff is not UNREACHABLE_BACKOFF */
  108|  96.2M|    return counter.value_and_backoff < UNREACHABLE_BACKOFF;
  ------------------
  |  |   40|  96.2M|#define UNREACHABLE_BACKOFF 7
  ------------------
  109|  96.2M|}
ceval.c:forge_backoff_counter:
   72|  96.2M|{
   73|  96.2M|    _Py_BackoffCounter result;
   74|  96.2M|    result.value_and_backoff = counter;
   75|  96.2M|    return result;
   76|  96.2M|}
ceval.c:advance_backoff_counter:
   98|  95.7M|{
   99|  95.7M|    _Py_BackoffCounter result;
  100|  95.7M|    result.value_and_backoff = counter.value_and_backoff - (1 << BACKOFF_BITS);
  ------------------
  |  |   37|  95.7M|#define BACKOFF_BITS 3
  ------------------
  101|  95.7M|    return result;
  102|  95.7M|}
specialize.c:initial_jump_backoff_counter:
  132|  27.6k|{
  133|  27.6k|    return make_backoff_counter(
  134|  27.6k|        opt_config->jump_backward_initial_value,
  135|  27.6k|        opt_config->jump_backward_initial_backoff);
  136|  27.6k|}
specialize.c:make_backoff_counter:
   62|   581k|{
   63|   581k|    assert(backoff <= UNREACHABLE_BACKOFF);
   64|   581k|    assert(value <= MAX_VALUE);
   65|   581k|    return ((_Py_BackoffCounter){
   66|   581k|        .value_and_backoff = MAKE_VALUE_AND_BACKOFF(value, backoff)
  ------------------
  |  |   44|   581k|    ((uint16_t)(((value) << BACKOFF_BITS) | (backoff)))
  |  |  ------------------
  |  |  |  |   37|   581k|#define BACKOFF_BITS 3
  |  |  ------------------
  ------------------
   67|   581k|    });
   68|   581k|}
specialize.c:initial_resume_backoff_counter:
  146|  27.6k|{
  147|  27.6k|    return make_backoff_counter(
  148|  27.6k|        opt_config->resume_initial_value,
  149|  27.6k|        opt_config->resume_initial_backoff);
  150|  27.6k|}
specialize.c:restart_backoff_counter:
   80|  18.2k|{
   81|  18.2k|    uint16_t backoff = counter.value_and_backoff & BACKOFF_MASK;
  ------------------
  |  |   38|  18.2k|#define BACKOFF_MASK 7
  ------------------
   82|       |    assert(backoff <= MAX_BACKOFF);
   83|  18.2k|    return ((_Py_BackoffCounter){
   84|  18.2k|        .value_and_backoff = value_and_backoff_next[backoff]
   85|  18.2k|    });
   86|  18.2k|}

longobject.c:_Py_bit_length:
  147|  2.56M|{
  148|  2.56M|#if (defined(__clang__) || defined(__GNUC__))
  149|  2.56M|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 2.56M, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|  2.56M|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|  2.56M|    }
  154|      0|    else {
  155|      0|        return 0;
  156|      0|    }
  157|       |#elif defined(_MSC_VER)
  158|       |    // _BitScanReverse() is documented to search 32 bits.
  159|       |    Py_BUILD_ASSERT(sizeof(unsigned long) <= 4);
  160|       |    unsigned long msb;
  161|       |    if (_BitScanReverse(&msb, x)) {
  162|       |        return (int)msb + 1;
  163|       |    }
  164|       |    else {
  165|       |        return 0;
  166|       |    }
  167|       |#else
  168|       |    const int BIT_LENGTH_TABLE[32] = {
  169|       |        0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,
  170|       |        5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
  171|       |    };
  172|       |    int msb = 0;
  173|       |    while (x >= 32) {
  174|       |        msb += 6;
  175|       |        x >>= 6;
  176|       |    }
  177|       |    msb += BIT_LENGTH_TABLE[x];
  178|       |    return msb;
  179|       |#endif
  180|  2.56M|}
dictobject.c:_Py_bit_length:
  147|   111k|{
  148|   111k|#if (defined(__clang__) || defined(__GNUC__))
  149|   111k|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 111k, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|   111k|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|   111k|    }
  154|      0|    else {
  155|      0|        return 0;
  156|      0|    }
  157|       |#elif defined(_MSC_VER)
  158|       |    // _BitScanReverse() is documented to search 32 bits.
  159|       |    Py_BUILD_ASSERT(sizeof(unsigned long) <= 4);
  160|       |    unsigned long msb;
  161|       |    if (_BitScanReverse(&msb, x)) {
  162|       |        return (int)msb + 1;
  163|       |    }
  164|       |    else {
  165|       |        return 0;
  166|       |    }
  167|       |#else
  168|       |    const int BIT_LENGTH_TABLE[32] = {
  169|       |        0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,
  170|       |        5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
  171|       |    };
  172|       |    int msb = 0;
  173|       |    while (x >= 32) {
  174|       |        msb += 6;
  175|       |        x >>= 6;
  176|       |    }
  177|       |    msb += BIT_LENGTH_TABLE[x];
  178|       |    return msb;
  179|       |#endif
  180|   111k|}

bytesobject.c:_PyBytesWriter_GetData:
   99|  8.40M|{
  100|  8.40M|    if (writer->obj == NULL) {
  ------------------
  |  Branch (100:9): [True: 8.38M, False: 18.1k]
  ------------------
  101|  8.38M|        return writer->small_buffer;
  102|  8.38M|    }
  103|  18.1k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (103:14): [True: 0, False: 18.1k]
  ------------------
  104|      0|        return PyByteArray_AS_STRING(writer->obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|      0|    }
  106|  18.1k|    else {
  107|  18.1k|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  18.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  18.1k|    }
  109|  8.40M|}

call.c:_PyObject_VectorcallTstate:
  132|  33.4M|{
  133|  33.4M|    vectorcallfunc func;
  134|  33.4M|    PyObject *res;
  135|       |
  136|  33.4M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  33.4M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  33.4M|    func = _PyVectorcall_FunctionInline(callable);
  140|  33.4M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 19.0M, False: 14.3M]
  ------------------
  141|  19.0M|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  19.0M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|  19.0M|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|  19.0M|    }
  144|  14.3M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  33.4M|}
call.c:_PyVectorcall_FunctionInline:
   92|  35.4M|{
   93|  35.4M|    assert(callable != NULL);
   94|       |
   95|  35.4M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  35.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  35.4M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  35.4M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 73.5k, False: 35.3M]
  ------------------
   97|  73.5k|        return NULL;
   98|  73.5k|    }
   99|  35.4M|    assert(PyCallable_Check(callable));
  100|       |
  101|  35.3M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  35.3M|    assert(offset > 0);
  103|       |
  104|  35.3M|    vectorcallfunc ptr;
  105|  35.3M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  35.3M|    return ptr;
  107|  35.4M|}
call.c:_PyObject_CallNoArgsTstate:
  150|    146|_PyObject_CallNoArgsTstate(PyThreadState *tstate, PyObject *func) {
  151|    146|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  152|    146|}
dictobject.c:_PyObject_CallNoArgs:
  157|    246|_PyObject_CallNoArgs(PyObject *func) {
  158|    246|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    246|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    246|    PyThreadState *tstate = _PyThreadState_GET();
  160|    246|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    246|}
dictobject.c:_PyObject_VectorcallTstate:
  132|    246|{
  133|    246|    vectorcallfunc func;
  134|    246|    PyObject *res;
  135|       |
  136|    246|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    246|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    246|    func = _PyVectorcall_FunctionInline(callable);
  140|    246|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 246]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|    246|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    246|}
dictobject.c:_PyVectorcall_FunctionInline:
   92|    246|{
   93|    246|    assert(callable != NULL);
   94|       |
   95|    246|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    246|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    246|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    246|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 246]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    246|    assert(PyCallable_Check(callable));
  100|       |
  101|    246|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    246|    assert(offset > 0);
  103|       |
  104|    246|    vectorcallfunc ptr;
  105|    246|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    246|    return ptr;
  107|    246|}
object.c:_PyObject_CallNoArgs:
  157|     14|_PyObject_CallNoArgs(PyObject *func) {
  158|     14|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     14|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     14|    PyThreadState *tstate = _PyThreadState_GET();
  160|     14|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     14|}
object.c:_PyObject_VectorcallTstate:
  132|     14|{
  133|     14|    vectorcallfunc func;
  134|     14|    PyObject *res;
  135|       |
  136|     14|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|     14|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|     14|    func = _PyVectorcall_FunctionInline(callable);
  140|     14|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 14]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|     14|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     14|}
object.c:_PyVectorcall_FunctionInline:
   92|     14|{
   93|     14|    assert(callable != NULL);
   94|       |
   95|     14|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     14|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     14|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 14]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     14|    assert(PyCallable_Check(callable));
  100|       |
  101|     14|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     14|    assert(offset > 0);
  103|       |
  104|     14|    vectorcallfunc ptr;
  105|     14|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     14|    return ptr;
  107|     14|}
typeobject.c:_PyObject_VectorcallTstate:
  132|   982k|{
  133|   982k|    vectorcallfunc func;
  134|   982k|    PyObject *res;
  135|       |
  136|   982k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|   982k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|   982k|    func = _PyVectorcall_FunctionInline(callable);
  140|   982k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 2, False: 982k]
  ------------------
  141|      2|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      2|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      2|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      2|    }
  144|   982k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|   982k|}
typeobject.c:_PyVectorcall_FunctionInline:
   92|   982k|{
   93|   982k|    assert(callable != NULL);
   94|       |
   95|   982k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|   982k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   982k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   982k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|   982k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|   982k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 2, False: 982k]
  ------------------
   97|      2|        return NULL;
   98|      2|    }
   99|   982k|    assert(PyCallable_Check(callable));
  100|       |
  101|   982k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|   982k|    assert(offset > 0);
  103|       |
  104|   982k|    vectorcallfunc ptr;
  105|   982k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|   982k|    return ptr;
  107|   982k|}
bltinmodule.c:_PyObject_VectorcallTstate:
  132|  1.61k|{
  133|  1.61k|    vectorcallfunc func;
  134|  1.61k|    PyObject *res;
  135|       |
  136|  1.61k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  1.61k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  1.61k|    func = _PyVectorcall_FunctionInline(callable);
  140|  1.61k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 16, False: 1.60k]
  ------------------
  141|     16|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     16|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|     16|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|     16|    }
  144|  1.60k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  1.61k|}
bltinmodule.c:_PyVectorcall_FunctionInline:
   92|  1.61k|{
   93|  1.61k|    assert(callable != NULL);
   94|       |
   95|  1.61k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  1.61k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  1.61k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  1.61k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 1.61k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  1.61k|    assert(PyCallable_Check(callable));
  100|       |
  101|  1.61k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  1.61k|    assert(offset > 0);
  103|       |
  104|  1.61k|    vectorcallfunc ptr;
  105|  1.61k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  1.61k|    return ptr;
  107|  1.61k|}
ceval.c:_PyObject_CallNoArgs:
  157|     30|_PyObject_CallNoArgs(PyObject *func) {
  158|     30|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     30|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     30|    PyThreadState *tstate = _PyThreadState_GET();
  160|     30|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     30|}
ceval.c:_PyObject_VectorcallTstate:
  132|     30|{
  133|     30|    vectorcallfunc func;
  134|     30|    PyObject *res;
  135|       |
  136|     30|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|     30|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|     30|    func = _PyVectorcall_FunctionInline(callable);
  140|     30|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 12, False: 18]
  ------------------
  141|     12|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     12|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|     12|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|     12|    }
  144|     18|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     30|}
ceval.c:_PyVectorcall_FunctionInline:
   92|     30|{
   93|     30|    assert(callable != NULL);
   94|       |
   95|     30|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     30|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     30|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     30|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 30]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     30|    assert(PyCallable_Check(callable));
  100|       |
  101|     30|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     30|    assert(offset > 0);
  103|       |
  104|     30|    vectorcallfunc ptr;
  105|     30|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     30|    return ptr;
  107|     30|}
errors.c:_PyObject_CallNoArgs:
  157|    383|_PyObject_CallNoArgs(PyObject *func) {
  158|    383|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    383|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    383|    PyThreadState *tstate = _PyThreadState_GET();
  160|    383|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    383|}
errors.c:_PyObject_VectorcallTstate:
  132|    383|{
  133|    383|    vectorcallfunc func;
  134|    383|    PyObject *res;
  135|       |
  136|    383|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    383|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    383|    func = _PyVectorcall_FunctionInline(callable);
  140|    383|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 162, False: 221]
  ------------------
  141|    162|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    162|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|    162|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|    162|    }
  144|    221|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    383|}
errors.c:_PyVectorcall_FunctionInline:
   92|    383|{
   93|    383|    assert(callable != NULL);
   94|       |
   95|    383|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    383|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    383|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    383|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    383|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    383|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 383]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    383|    assert(PyCallable_Check(callable));
  100|       |
  101|    383|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    383|    assert(offset > 0);
  103|       |
  104|    383|    vectorcallfunc ptr;
  105|    383|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    383|    return ptr;
  107|    383|}
posixmodule.c:_PyObject_CallNoArgs:
  157|    249|_PyObject_CallNoArgs(PyObject *func) {
  158|    249|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    249|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    249|    PyThreadState *tstate = _PyThreadState_GET();
  160|    249|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    249|}
posixmodule.c:_PyObject_VectorcallTstate:
  132|    249|{
  133|    249|    vectorcallfunc func;
  134|    249|    PyObject *res;
  135|       |
  136|    249|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    249|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    249|    func = _PyVectorcall_FunctionInline(callable);
  140|    249|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 249]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|    249|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    249|}
posixmodule.c:_PyVectorcall_FunctionInline:
   92|    249|{
   93|    249|    assert(callable != NULL);
   94|       |
   95|    249|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    249|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    249|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    249|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 249]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    249|    assert(PyCallable_Check(callable));
  100|       |
  101|    249|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    249|    assert(offset > 0);
  103|       |
  104|    249|    vectorcallfunc ptr;
  105|    249|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    249|    return ptr;
  107|    249|}
_collectionsmodule.c:_PyObject_CallNoArgs:
  157|     70|_PyObject_CallNoArgs(PyObject *func) {
  158|     70|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     70|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     70|    PyThreadState *tstate = _PyThreadState_GET();
  160|     70|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     70|}
_collectionsmodule.c:_PyObject_VectorcallTstate:
  132|     70|{
  133|     70|    vectorcallfunc func;
  134|     70|    PyObject *res;
  135|       |
  136|     70|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|     70|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|     70|    func = _PyVectorcall_FunctionInline(callable);
  140|     70|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 20, False: 50]
  ------------------
  141|     20|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     20|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|     20|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|     20|    }
  144|     50|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     70|}
_collectionsmodule.c:_PyVectorcall_FunctionInline:
   92|     70|{
   93|     70|    assert(callable != NULL);
   94|       |
   95|     70|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     70|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     70|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 70]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     70|    assert(PyCallable_Check(callable));
  100|       |
  101|     70|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     70|    assert(offset > 0);
  103|       |
  104|     70|    vectorcallfunc ptr;
  105|     70|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     70|    return ptr;
  107|     70|}
bufferedio.c:_PyObject_CallNoArgs:
  157|    510|_PyObject_CallNoArgs(PyObject *func) {
  158|    510|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    510|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    510|    PyThreadState *tstate = _PyThreadState_GET();
  160|    510|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    510|}
bufferedio.c:_PyObject_VectorcallTstate:
  132|    510|{
  133|    510|    vectorcallfunc func;
  134|    510|    PyObject *res;
  135|       |
  136|    510|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    510|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    510|    func = _PyVectorcall_FunctionInline(callable);
  140|    510|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 510]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|    510|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    510|}
bufferedio.c:_PyVectorcall_FunctionInline:
   92|    510|{
   93|    510|    assert(callable != NULL);
   94|       |
   95|    510|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    510|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    510|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    510|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 510]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    510|    assert(PyCallable_Check(callable));
  100|       |
  101|    510|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    510|    assert(offset > 0);
  103|       |
  104|    510|    vectorcallfunc ptr;
  105|    510|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    510|    return ptr;
  107|    510|}
_functoolsmodule.c:_PyObject_CallNoArgs:
  157|      2|_PyObject_CallNoArgs(PyObject *func) {
  158|      2|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      2|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|      2|    PyThreadState *tstate = _PyThreadState_GET();
  160|      2|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|      2|}
_functoolsmodule.c:_PyObject_VectorcallTstate:
  132|  4.11k|{
  133|  4.11k|    vectorcallfunc func;
  134|  4.11k|    PyObject *res;
  135|       |
  136|  4.11k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  4.11k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  4.11k|    func = _PyVectorcall_FunctionInline(callable);
  140|  4.11k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 2, False: 4.11k]
  ------------------
  141|      2|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      2|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      2|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      2|    }
  144|  4.11k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  4.11k|}
_functoolsmodule.c:_PyVectorcall_FunctionInline:
   92|  4.11k|{
   93|  4.11k|    assert(callable != NULL);
   94|       |
   95|  4.11k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  4.11k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  4.11k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  4.11k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 4.11k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  4.11k|    assert(PyCallable_Check(callable));
  100|       |
  101|  4.11k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  4.11k|    assert(offset > 0);
  103|       |
  104|  4.11k|    vectorcallfunc ptr;
  105|  4.11k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  4.11k|    return ptr;
  107|  4.11k|}
abstract.c:_PyObject_CallNoArgs:
  157|    478|_PyObject_CallNoArgs(PyObject *func) {
  158|    478|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    478|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    478|    PyThreadState *tstate = _PyThreadState_GET();
  160|    478|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    478|}
abstract.c:_PyObject_VectorcallTstate:
  132|    478|{
  133|    478|    vectorcallfunc func;
  134|    478|    PyObject *res;
  135|       |
  136|    478|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    478|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    478|    func = _PyVectorcall_FunctionInline(callable);
  140|    478|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 478]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|    478|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    478|}
abstract.c:_PyVectorcall_FunctionInline:
   92|    478|{
   93|    478|    assert(callable != NULL);
   94|       |
   95|    478|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    478|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    478|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    478|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 478]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    478|    assert(PyCallable_Check(callable));
  100|       |
  101|    478|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    478|    assert(offset > 0);
  103|       |
  104|    478|    vectorcallfunc ptr;
  105|    478|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    478|    return ptr;
  107|    478|}
enumobject.c:_PyObject_CallNoArgs:
  157|    388|_PyObject_CallNoArgs(PyObject *func) {
  158|    388|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    388|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    388|    PyThreadState *tstate = _PyThreadState_GET();
  160|    388|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    388|}
enumobject.c:_PyObject_VectorcallTstate:
  132|    388|{
  133|    388|    vectorcallfunc func;
  134|    388|    PyObject *res;
  135|       |
  136|    388|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    388|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    388|    func = _PyVectorcall_FunctionInline(callable);
  140|    388|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 388]
  ------------------
  141|      0|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      0|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      0|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      0|    }
  144|    388|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    388|}
enumobject.c:_PyVectorcall_FunctionInline:
   92|    388|{
   93|    388|    assert(callable != NULL);
   94|       |
   95|    388|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    388|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    388|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    388|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 388]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    388|    assert(PyCallable_Check(callable));
  100|       |
  101|    388|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    388|    assert(offset > 0);
  103|       |
  104|    388|    vectorcallfunc ptr;
  105|    388|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    388|    return ptr;
  107|    388|}
iterobject.c:_PyObject_CallNoArgs:
  157|      2|_PyObject_CallNoArgs(PyObject *func) {
  158|      2|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      2|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|      2|    PyThreadState *tstate = _PyThreadState_GET();
  160|      2|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|      2|}
iterobject.c:_PyObject_VectorcallTstate:
  132|      2|{
  133|      2|    vectorcallfunc func;
  134|      2|    PyObject *res;
  135|       |
  136|      2|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|      2|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|      2|    func = _PyVectorcall_FunctionInline(callable);
  140|      2|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 2, False: 0]
  ------------------
  141|      2|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      2|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|      2|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|      2|    }
  144|      0|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|      2|}
iterobject.c:_PyVectorcall_FunctionInline:
   92|      2|{
   93|      2|    assert(callable != NULL);
   94|       |
   95|      2|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      2|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|      2|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 2, False: 0]
  ------------------
   97|      2|        return NULL;
   98|      2|    }
   99|      2|    assert(PyCallable_Check(callable));
  100|       |
  101|      0|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|      0|    assert(offset > 0);
  103|       |
  104|      0|    vectorcallfunc ptr;
  105|      0|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|      0|    return ptr;
  107|      2|}

typeobject.c:PyCell_GetRef:
   39|     92|{
   40|     92|    PyObject *res;
   41|     92|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|     92|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|     92|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|     92|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|     92|#endif
   47|     92|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     92|    }
  ------------------
   48|     92|    return res;
   49|     92|}
bltinmodule.c:PyCell_GetRef:
   39|    378|{
   40|    378|    PyObject *res;
   41|    378|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|    378|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|    378|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|    378|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|    378|#endif
   47|    378|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    378|    }
  ------------------
   48|    378|    return res;
   49|    378|}
ceval.c:PyCell_SwapTakeRef:
   20|  3.07M|{
   21|  3.07M|    PyObject *old_value;
   22|  3.07M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  3.07M|    {
  ------------------
   23|  3.07M|    old_value = cell->ob_ref;
   24|  3.07M|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  164|  3.07M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|  3.07M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.07M|    }
  ------------------
   26|  3.07M|    return old_value;
   27|  3.07M|}
ceval.c:_PyCell_GetStackRef:
   53|  10.2M|{
   54|  10.2M|    PyObject *value;
   55|       |#ifdef Py_GIL_DISABLED
   56|       |    value = _PyObject_CAST(_Py_atomic_load_ptr(&cell->ob_ref));
   57|       |    if (value == NULL) {
   58|       |        return PyStackRef_NULL;
   59|       |    }
   60|       |    _PyStackRef ref;
   61|       |    if (_Py_TryIncrefCompareStackRef(&cell->ob_ref, value, &ref)) {
   62|       |        return ref;
   63|       |    }
   64|       |#endif
   65|  10.2M|    value = PyCell_GetRef(cell);
   66|  10.2M|    if (value == NULL) {
  ------------------
  |  Branch (66:9): [True: 0, False: 10.2M]
  ------------------
   67|      0|        return PyStackRef_NULL;
   68|      0|    }
   69|  10.2M|    return PyStackRef_FromPyObjectSteal(value);
   70|  10.2M|}
ceval.c:PyCell_GetRef:
   39|  10.2M|{
   40|  10.2M|    PyObject *res;
   41|  10.2M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  10.2M|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|  10.2M|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|  10.2M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|  10.2M|#endif
   47|  10.2M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.2M|    }
  ------------------
   48|  10.2M|    return res;
   49|  10.2M|}
ceval.c:PyCell_SetTakeRef:
   31|  3.07M|{
   32|  3.07M|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|  3.07M|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  3.07M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|  3.07M|}
cellobject.c:PyCell_GetRef:
   39|     86|{
   40|     86|    PyObject *res;
   41|     86|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|     86|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|     86|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|     86|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|     86|#endif
   47|     86|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     86|    }
  ------------------
   48|     86|    return res;
   49|     86|}
cellobject.c:PyCell_SetTakeRef:
   31|  1.99k|{
   32|  1.99k|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|  1.99k|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|  1.99k|}
cellobject.c:PyCell_SwapTakeRef:
   20|  1.99k|{
   21|  1.99k|    PyObject *old_value;
   22|  1.99k|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  1.99k|    {
  ------------------
   23|  1.99k|    old_value = cell->ob_ref;
   24|  1.99k|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  164|  1.99k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|  1.99k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.99k|    }
  ------------------
   26|  1.99k|    return old_value;
   27|  1.99k|}

call.c:_Py_EnterRecursiveCallTstate:
  234|  19.2M|                                               const char *where) {
  235|  19.2M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 19.2M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  19.2M|}
call.c:_Py_ReachedRecursionLimit:
  211|  19.2M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  19.2M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  19.2M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  19.2M|#if _Py_STACK_GROWS_DOWN
  218|  19.2M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  19.2M|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|  19.2M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  19.2M|    (void)tstate;
  245|  19.2M|}
object.c:_Py_EnterRecursiveCallTstate:
  234|  23.5M|                                               const char *where) {
  235|  23.5M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 23.5M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  23.5M|}
object.c:_Py_ReachedRecursionLimit:
  211|  23.5M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  23.5M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  23.5M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  23.5M|#if _Py_STACK_GROWS_DOWN
  218|  23.5M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  23.5M|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  23.5M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  23.5M|    (void)tstate;
  245|  23.5M|}
ceval.c:_PyEval_EvalFrame:
  119|  5.18M|{
  120|  5.18M|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  5.18M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  5.18M|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 5.18M, False: 0]
  ------------------
  122|  5.18M|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  5.18M|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  5.18M|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|  5.49M|                                               const char *where) {
  235|  5.49M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 5.49M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  5.49M|}
ceval.c:_Py_ReachedRecursionLimit:
  211|  10.3M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  10.3M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  10.3M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  10.3M|#if _Py_STACK_GROWS_DOWN
  218|  10.3M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  10.3M|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  4.82M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  4.82M|    (void)tstate;
  245|  4.82M|}
ceval.c:_Py_EnterRecursiveCall:
  238|  26.3k|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|  26.3k|    PyThreadState *tstate = _PyThreadState_GET();
  240|  26.3k|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|  26.3k|}
ceval.c:_Py_LeaveRecursiveCall:
  254|  19.0k|static inline void _Py_LeaveRecursiveCall(void)  {
  255|  19.0k|}
gc.c:_Py_eval_breaker_bit_is_set:
  371|  21.7k|{
  372|  21.7k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  373|  21.7k|    return (b & bit) != 0;
  374|  21.7k|}
gc.c:_Py_set_eval_breaker_bit:
  359|  2.71k|{
  360|  2.71k|    _Py_atomic_or_uintptr(&tstate->eval_breaker, bit);
  361|  2.71k|}
ceval_gil.c:_Py_eval_breaker_bit_is_set:
  371|  67.9k|{
  372|  67.9k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  373|  67.9k|    return (b & bit) != 0;
  374|  67.9k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  365|  70.6k|{
  366|  70.6k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  367|  70.6k|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|   792k|                                               const char *where) {
  235|   792k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 792k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   792k|}
abstract.c:_Py_ReachedRecursionLimit:
  211|   792k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   792k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   792k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|   792k|#if _Py_STACK_GROWS_DOWN
  218|   792k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   792k|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|   792k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   792k|    (void)tstate;
  245|   792k|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|   222k|                                               const char *where) {
  235|   222k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 222k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   222k|}
descrobject.c:_Py_ReachedRecursionLimit:
  211|   222k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   222k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   222k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|   222k|#if _Py_STACK_GROWS_DOWN
  218|   222k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   222k|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|   222k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   222k|    (void)tstate;
  245|   222k|}
descrobject.c:_Py_LeaveRecursiveCall:
  254|    592|static inline void _Py_LeaveRecursiveCall(void)  {
  255|    592|}
genobject.c:_PyEval_EvalFrame:
  119|   283k|{
  120|   283k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|   283k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|   283k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 283k, False: 0]
  ------------------
  122|   283k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|   283k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|   283k|}
methodobject.c:_Py_EnterRecursiveCallTstate:
  234|  9.69M|                                               const char *where) {
  235|  9.69M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 9.69M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  9.69M|}
methodobject.c:_Py_ReachedRecursionLimit:
  211|  9.69M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  9.69M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  9.69M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  9.69M|#if _Py_STACK_GROWS_DOWN
  218|  9.69M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  9.69M|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|  9.69M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  9.69M|    (void)tstate;
  245|  9.69M|}

typeobject.c:_PyLocals_GetKind:
  205|     92|{
  206|     92|    assert(PyBytes_Check(kinds));
  207|     92|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  208|     92|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|     92|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|     92|    return (_PyLocals_Kind)(ptr[i]);
  210|     92|}
ceval.c:read_u16:
  364|   469M|{
  365|   469M|    return *p;
  366|   469M|}
ceval.c:read_obj:
  386|  54.3M|{
  387|  54.3M|    PyObject *val;
  388|  54.3M|    memcpy(&val, p, sizeof(val));
  389|  54.3M|    return val;
  390|  54.3M|}
ceval.c:read_u32:
  370|   228M|{
  371|   228M|    uint32_t val;
  372|   228M|    memcpy(&val, p, sizeof(val));
  373|   228M|    return val;
  374|   228M|}
ceval.c:parse_varint:
  395|  16.9M|parse_varint(unsigned char *p, int *result) {
  396|  16.9M|    int val = p[0] & 63;
  397|  19.2M|    while (p[0] & 64) {
  ------------------
  |  Branch (397:12): [True: 2.30M, False: 16.9M]
  ------------------
  398|  2.30M|        p++;
  399|  2.30M|        val = (val << 6) | (p[0] & 63);
  400|  2.30M|    }
  401|  16.9M|    *result = val;
  402|  16.9M|    return p+1;
  403|  16.9M|}
specialize.c:adaptive_counter_warmup:
  480|  27.6k|adaptive_counter_warmup(void) {
  481|  27.6k|    return adaptive_counter_bits(ADAPTIVE_WARMUP_VALUE,
  ------------------
  |  |  454|  27.6k|#define ADAPTIVE_WARMUP_VALUE 1
  ------------------
  482|  27.6k|                                 ADAPTIVE_WARMUP_BACKOFF);
  ------------------
  |  |  455|  27.6k|#define ADAPTIVE_WARMUP_BACKOFF 1
  ------------------
  483|  27.6k|}
specialize.c:adaptive_counter_bits:
  475|   526k|adaptive_counter_bits(uint16_t value, uint16_t backoff) {
  476|   526k|    return make_backoff_counter(value, backoff);
  477|   526k|}
specialize.c:adaptive_counter_cooldown:
  486|   498k|adaptive_counter_cooldown(void) {
  487|   498k|    return adaptive_counter_bits(ADAPTIVE_COOLDOWN_VALUE,
  ------------------
  |  |  463|   498k|#define ADAPTIVE_COOLDOWN_VALUE 52
  ------------------
  488|   498k|                                 ADAPTIVE_COOLDOWN_BACKOFF);
  ------------------
  |  |  464|   498k|#define ADAPTIVE_COOLDOWN_BACKOFF 0
  ------------------
  489|   498k|}
specialize.c:adaptive_counter_backoff:
  492|  18.2k|adaptive_counter_backoff(_Py_BackoffCounter counter) {
  493|  18.2k|    return restart_backoff_counter(counter);
  494|  18.2k|}
specialize.c:write_u32:
  346|   244k|{
  347|   244k|    memcpy(p, &val, sizeof(val));
  348|   244k|}
specialize.c:write_ptr:
  358|   106k|{
  359|   106k|    memcpy(p, &val, sizeof(val));
  360|   106k|}
codeobject.c:_PyLocals_SetKind:
  214|  10.2k|{
  215|  10.2k|    assert(PyBytes_Check(kinds));
  216|  10.2k|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  217|  10.2k|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|  10.2k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  218|  10.2k|    ptr[i] = (char) kind;
  219|  10.2k|}
codeobject.c:_PyLocals_GetKind:
  205|   190k|{
  206|   190k|    assert(PyBytes_Check(kinds));
  207|   190k|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  208|   190k|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|   190k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   190k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   190k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|   190k|    return (_PyLocals_Kind)(ptr[i]);
  210|   190k|}
frameobject.c:_PyLocals_GetKind:
  205|    146|{
  206|    146|    assert(PyBytes_Check(kinds));
  207|    146|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  208|    146|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|    146|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    146|    return (_PyLocals_Kind)(ptr[i]);
  210|    146|}
assemble.c:write_location_entry_start:
  434|  10.5k|{
  435|       |    assert((code & 15) == code);
  436|  10.5k|    *ptr = 128 | (uint8_t)(code << 3) | (uint8_t)(length - 1);
  437|  10.5k|    return 1;
  438|  10.5k|}
assemble.c:write_signed_varint:
  420|  2.70k|{
  421|  2.70k|    unsigned int uval;
  422|  2.70k|    if (val < 0) {
  ------------------
  |  Branch (422:9): [True: 299, False: 2.40k]
  ------------------
  423|       |        // (unsigned int)(-val) has an undefined behavior for INT_MIN
  424|    299|        uval = ((0 - (unsigned int)val) << 1) | 1;
  425|    299|    }
  426|  2.40k|    else {
  427|  2.40k|        uval = (unsigned int)val << 1;
  428|  2.40k|    }
  429|  2.70k|    return write_varint(ptr, uval);
  430|  2.70k|}
assemble.c:write_varint:
  407|  10.8k|{
  408|  10.8k|    int written = 1;
  409|  14.0k|    while (val >= 64) {
  ------------------
  |  Branch (409:12): [True: 3.22k, False: 10.8k]
  ------------------
  410|  3.22k|        *ptr++ = 64 | (val & 63);
  411|  3.22k|        val >>= 6;
  412|  3.22k|        written++;
  413|  3.22k|    }
  414|  10.8k|    *ptr = (uint8_t)val;
  415|  10.8k|    return written;
  416|  10.8k|}

dictobject.c:DK_ENTRIES:
  273|  15.6M|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  274|       |    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  275|  15.6M|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  276|  15.6M|}
dictobject.c:_DK_ENTRIES:
  267|   148M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  268|   148M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  269|   148M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  270|   148M|    return (&indices[index]);
  271|   148M|}
dictobject.c:DK_UNICODE_ENTRIES:
  277|  51.7M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  278|       |    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  279|  51.7M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  280|  51.7M|}
dictobject.c:get_insertion_order_array:
  328|   471k|{
  329|   471k|    return (uint8_t *)&values->values[values->capacity];
  330|   471k|}
dictobject.c:_PyDict_NotifyEvent:
  310|  11.2M|{
  311|  11.2M|    assert(Py_REFCNT((PyObject*)mp) > 0);
  312|  11.2M|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  160|  11.2M|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  285|  11.2M|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  11.2M|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  313|  11.2M|    if (watcher_bits) {
  ------------------
  |  Branch (313:9): [True: 46.9k, False: 11.2M]
  ------------------
  314|  46.9k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  46.9k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  315|  46.9k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  316|  46.9k|    }
  317|  11.2M|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  334|   401k|{
  335|   401k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  336|   401k|    int size = values->size;
  337|   401k|    uint8_t *array = get_insertion_order_array(values);
  338|   401k|    assert(size < values->capacity);
  339|       |    assert(((uint8_t)ix) == ix);
  340|   401k|    array[size] = (uint8_t)ix;
  341|   401k|    values->size = size+1;
  342|   401k|}
dictobject.c:shared_keys_usable_size:
  350|   262k|{
  351|       |    // dk_usable will decrease for each instance that is created and each
  352|       |    // value that is added.  dk_nentries will increase for each value that
  353|       |    // is added.  We want to always return the right value or larger.
  354|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  355|       |    // second, and conversely here we read dk_usable first and dk_entries
  356|       |    // second (to avoid the case where we read entries before the increment
  357|       |    // and read usable after the decrement)
  358|   262k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|   262k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|   262k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|   262k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|   262k|    return dk_nentries + dk_usable;
  361|   262k|}
typeobject.c:_PyInlineValuesSize:
  365|   257k|{
  366|   257k|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  367|   257k|    assert(keys != NULL);
  368|   257k|    size_t size = shared_keys_usable_size(keys);
  369|   257k|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|   257k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|   257k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  370|       |    assert(prefix_size < 256);
  371|   257k|    return prefix_size + (size + 1) * sizeof(PyObject *);
  372|   257k|}
typeobject.c:shared_keys_usable_size:
  350|   257k|{
  351|       |    // dk_usable will decrease for each instance that is created and each
  352|       |    // value that is added.  dk_nentries will increase for each value that
  353|       |    // is added.  We want to always return the right value or larger.
  354|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  355|       |    // second, and conversely here we read dk_usable first and dk_entries
  356|       |    // second (to avoid the case where we read entries before the increment
  357|       |    // and read usable after the decrement)
  358|   257k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|   257k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|   257k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|   257k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|   257k|    return dk_nentries + dk_usable;
  361|   257k|}
ceval.c:DK_UNICODE_ENTRIES:
  277|   106M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  278|       |    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  279|   106M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  280|   106M|}
ceval.c:_DK_ENTRIES:
  267|   106M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  268|   106M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  269|   106M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  270|   106M|    return (&indices[index]);
  271|   106M|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  334|  1.39M|{
  335|  1.39M|    assert(ix < SHARED_KEYS_MAX_SIZE);
  336|  1.39M|    int size = values->size;
  337|  1.39M|    uint8_t *array = get_insertion_order_array(values);
  338|  1.39M|    assert(size < values->capacity);
  339|       |    assert(((uint8_t)ix) == ix);
  340|  1.39M|    array[size] = (uint8_t)ix;
  341|  1.39M|    values->size = size+1;
  342|  1.39M|}
ceval.c:get_insertion_order_array:
  328|  1.39M|{
  329|  1.39M|    return (uint8_t *)&values->values[values->capacity];
  330|  1.39M|}
ceval.c:_PyDict_NotifyEvent:
  310|   822k|{
  311|   822k|    assert(Py_REFCNT((PyObject*)mp) > 0);
  312|   822k|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  160|   822k|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  285|   822k|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|   822k|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  313|   822k|    if (watcher_bits) {
  ------------------
  |  Branch (313:9): [True: 0, False: 822k]
  ------------------
  314|      0|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|      0|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  315|      0|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  316|      0|    }
  317|   822k|}
gc.c:_PyInlineValuesSize:
  365|     90|{
  366|     90|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  367|     90|    assert(keys != NULL);
  368|     90|    size_t size = shared_keys_usable_size(keys);
  369|     90|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|     90|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|     90|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  370|       |    assert(prefix_size < 256);
  371|     90|    return prefix_size + (size + 1) * sizeof(PyObject *);
  372|     90|}
gc.c:shared_keys_usable_size:
  350|     90|{
  351|       |    // dk_usable will decrease for each instance that is created and each
  352|       |    // value that is added.  dk_nentries will increase for each value that
  353|       |    // is added.  We want to always return the right value or larger.
  354|       |    // We therefore increase dk_nentries first and we decrease dk_usable
  355|       |    // second, and conversely here we read dk_usable first and dk_entries
  356|       |    // second (to avoid the case where we read entries before the increment
  357|       |    // and read usable after the decrement)
  358|     90|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|     90|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|     90|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|     90|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|     90|    return dk_nentries + dk_usable;
  361|     90|}

bytesobject.c:_PyFreeList_PopMem:
   99|  8.33M|{
  100|  8.33M|    void *op = _PyFreeList_PopNoStats(fl);
  101|  8.33M|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 8.33M, False: 6]
  ------------------
  102|  8.33M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  8.33M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  8.33M|    }
  104|  8.33M|    return op;
  105|  8.33M|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|  8.33M|{
   77|  8.33M|    void *obj = fl->freelist;
   78|  8.33M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 8.33M, False: 6]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  8.33M|        fl->freelist = *(void **)obj;
   81|  8.33M|        fl->size--;
   82|  8.33M|    }
   83|  8.33M|    return obj;
   84|  8.33M|}
bytesobject.c:_PyFreeList_Free:
   68|  8.33M|{
   69|  8.33M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 8.33M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  8.33M|}
bytesobject.c:_PyFreeList_Push:
   54|  8.33M|{
   55|  8.33M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 8.33M, False: 0]
  |  Branch (55:31): [True: 8.33M, False: 0]
  ------------------
   56|  8.33M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  8.33M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  8.33M|        fl->freelist = obj;
   58|  8.33M|        fl->size++;
   59|  8.33M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  8.33M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  8.33M|        return 1;
   61|  8.33M|    }
   62|      0|    return 0;
   63|  8.33M|}
bytesobject.c:_Py_freelists_GET:
   19|  16.6M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  16.6M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  16.6M|    return &interp->object_state.freelists;
   30|  16.6M|#endif
   31|  16.6M|}
floatobject.c:_PyFreeList_Pop:
   88|  2.59M|{
   89|  2.59M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.59M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.59M, False: 1.50k]
  ------------------
   91|  2.59M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.59M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.59M|        _Py_NewReference(op);
   93|  2.59M|    }
   94|  2.59M|    return op;
   95|  2.59M|}
floatobject.c:_PyFreeList_PopNoStats:
   76|  2.59M|{
   77|  2.59M|    void *obj = fl->freelist;
   78|  2.59M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 2.59M, False: 1.50k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  2.59M|        fl->freelist = *(void **)obj;
   81|  2.59M|        fl->size--;
   82|  2.59M|    }
   83|  2.59M|    return obj;
   84|  2.59M|}
floatobject.c:_Py_freelists_GET:
   19|  5.18M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  5.18M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  5.18M|    return &interp->object_state.freelists;
   30|  5.18M|#endif
   31|  5.18M|}
floatobject.c:_PyFreeList_Free:
   68|  2.59M|{
   69|  2.59M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 415, False: 2.59M]
  ------------------
   70|    415|        dofree(obj);
   71|    415|    }
   72|  2.59M|}
floatobject.c:_PyFreeList_Push:
   54|  2.59M|{
   55|  2.59M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 2.59M, False: 415]
  |  Branch (55:31): [True: 2.59M, False: 0]
  ------------------
   56|  2.59M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  2.59M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  2.59M|        fl->freelist = obj;
   58|  2.59M|        fl->size++;
   59|  2.59M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  2.59M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  2.59M|        return 1;
   61|  2.59M|    }
   62|    415|    return 0;
   63|  2.59M|}
listobject.c:_Py_freelists_GET:
   19|  9.45M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  9.45M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  9.45M|    return &interp->object_state.freelists;
   30|  9.45M|#endif
   31|  9.45M|}
listobject.c:_PyFreeList_Pop:
   88|  4.72M|{
   89|  4.72M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  4.72M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 4.71M, False: 9.33k]
  ------------------
   91|  4.71M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  4.71M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  4.71M|        _Py_NewReference(op);
   93|  4.71M|    }
   94|  4.72M|    return op;
   95|  4.72M|}
listobject.c:_PyFreeList_PopNoStats:
   76|  4.72M|{
   77|  4.72M|    void *obj = fl->freelist;
   78|  4.72M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 4.71M, False: 9.33k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  4.71M|        fl->freelist = *(void **)obj;
   81|  4.71M|        fl->size--;
   82|  4.71M|    }
   83|  4.72M|    return obj;
   84|  4.72M|}
listobject.c:_PyFreeList_Free:
   68|  4.72M|{
   69|  4.72M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 12.0k, False: 4.71M]
  ------------------
   70|  12.0k|        dofree(obj);
   71|  12.0k|    }
   72|  4.72M|}
listobject.c:_PyFreeList_Push:
   54|  4.72M|{
   55|  4.72M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 4.71M, False: 12.0k]
  |  Branch (55:31): [True: 4.71M, False: 0]
  ------------------
   56|  4.71M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  4.71M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  4.71M|        fl->freelist = obj;
   58|  4.71M|        fl->size++;
   59|  4.71M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  4.71M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  4.71M|        return 1;
   61|  4.71M|    }
   62|  12.0k|    return 0;
   63|  4.72M|}
longobject.c:_PyFreeList_Pop:
   88|  43.2M|{
   89|  43.2M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  43.2M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 42.0M, False: 1.25M]
  ------------------
   91|  42.0M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  42.0M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  42.0M|        _Py_NewReference(op);
   93|  42.0M|    }
   94|  43.2M|    return op;
   95|  43.2M|}
longobject.c:_PyFreeList_PopNoStats:
   76|  43.2M|{
   77|  43.2M|    void *obj = fl->freelist;
   78|  43.2M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 42.0M, False: 1.25M]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  42.0M|        fl->freelist = *(void **)obj;
   81|  42.0M|        fl->size--;
   82|  42.0M|    }
   83|  43.2M|    return obj;
   84|  43.2M|}
longobject.c:_PyFreeList_Free:
   68|  43.2M|{
   69|  43.2M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.24M, False: 42.0M]
  ------------------
   70|  1.24M|        dofree(obj);
   71|  1.24M|    }
   72|  43.2M|}
longobject.c:_PyFreeList_Push:
   54|  43.2M|{
   55|  43.2M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 42.0M, False: 1.24M]
  |  Branch (55:31): [True: 42.0M, False: 0]
  ------------------
   56|  42.0M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  42.0M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  42.0M|        fl->freelist = obj;
   58|  42.0M|        fl->size++;
   59|  42.0M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  42.0M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  42.0M|        return 1;
   61|  42.0M|    }
   62|  1.24M|    return 0;
   63|  43.2M|}
longobject.c:_Py_freelists_GET:
   19|  86.5M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  86.5M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  86.5M|    return &interp->object_state.freelists;
   30|  86.5M|#endif
   31|  86.5M|}
dictobject.c:_Py_freelists_GET:
   19|  13.0M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  13.0M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  13.0M|    return &interp->object_state.freelists;
   30|  13.0M|#endif
   31|  13.0M|}
dictobject.c:_PyFreeList_Pop:
   88|  4.02M|{
   89|  4.02M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  4.02M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 3.82M, False: 198k]
  ------------------
   91|  3.82M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  3.82M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  3.82M|        _Py_NewReference(op);
   93|  3.82M|    }
   94|  4.02M|    return op;
   95|  4.02M|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  5.88M|{
   77|  5.88M|    void *obj = fl->freelist;
   78|  5.88M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 5.68M, False: 200k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  5.68M|        fl->freelist = *(void **)obj;
   81|  5.68M|        fl->size--;
   82|  5.68M|    }
   83|  5.88M|    return obj;
   84|  5.88M|}
dictobject.c:_PyFreeList_Free:
   68|  7.21M|{
   69|  7.21M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.52M, False: 5.68M]
  ------------------
   70|  1.52M|        dofree(obj);
   71|  1.52M|    }
   72|  7.21M|}
dictobject.c:_PyFreeList_Push:
   54|  7.21M|{
   55|  7.21M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 5.68M, False: 1.52M]
  |  Branch (55:31): [True: 5.68M, False: 0]
  ------------------
   56|  5.68M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  5.68M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  5.68M|        fl->freelist = obj;
   58|  5.68M|        fl->size++;
   59|  5.68M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  5.68M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  5.68M|        return 1;
   61|  5.68M|    }
   62|  1.52M|    return 0;
   63|  7.21M|}
dictobject.c:_PyFreeList_PopMem:
   99|  1.85M|{
  100|  1.85M|    void *op = _PyFreeList_PopNoStats(fl);
  101|  1.85M|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 1.85M, False: 2.08k]
  ------------------
  102|  1.85M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.85M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  1.85M|    }
  104|  1.85M|    return op;
  105|  1.85M|}
object.c:_PyFreeList_PopNoStats:
   76|  4.17k|{
   77|  4.17k|    void *obj = fl->freelist;
   78|  4.17k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 4.01k, False: 160]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  4.01k|        fl->freelist = *(void **)obj;
   81|  4.01k|        fl->size--;
   82|  4.01k|    }
   83|  4.17k|    return obj;
   84|  4.17k|}
rangeobject.c:_PyFreeList_Free:
   68|   107k|{
   69|   107k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 107k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|   107k|}
rangeobject.c:_PyFreeList_Push:
   54|   107k|{
   55|   107k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 107k, False: 0]
  |  Branch (55:31): [True: 107k, False: 0]
  ------------------
   56|   107k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|   107k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   107k|        fl->freelist = obj;
   58|   107k|        fl->size++;
   59|   107k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   107k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   107k|        return 1;
   61|   107k|    }
   62|      0|    return 0;
   63|   107k|}
rangeobject.c:_Py_freelists_GET:
   19|   214k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|   214k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   214k|    return &interp->object_state.freelists;
   30|   214k|#endif
   31|   214k|}
rangeobject.c:_PyFreeList_Pop:
   88|   107k|{
   89|   107k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   107k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 107k, False: 16]
  ------------------
   91|   107k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   107k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   107k|        _Py_NewReference(op);
   93|   107k|    }
   94|   107k|    return op;
   95|   107k|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|   107k|{
   77|   107k|    void *obj = fl->freelist;
   78|   107k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 107k, False: 16]
  ------------------
   79|       |        assert(fl->size > 0);
   80|   107k|        fl->freelist = *(void **)obj;
   81|   107k|        fl->size--;
   82|   107k|    }
   83|   107k|    return obj;
   84|   107k|}
sliceobject.c:_PyFreeList_Pop:
   88|  8.19M|{
   89|  8.19M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  8.19M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 8.19M, False: 478]
  ------------------
   91|  8.19M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  8.19M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  8.19M|        _Py_NewReference(op);
   93|  8.19M|    }
   94|  8.19M|    return op;
   95|  8.19M|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|  8.19M|{
   77|  8.19M|    void *obj = fl->freelist;
   78|  8.19M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 8.19M, False: 478]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  8.19M|        fl->freelist = *(void **)obj;
   81|  8.19M|        fl->size--;
   82|  8.19M|    }
   83|  8.19M|    return obj;
   84|  8.19M|}
sliceobject.c:_Py_freelists_GET:
   19|  16.3M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  16.3M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  16.3M|    return &interp->object_state.freelists;
   30|  16.3M|#endif
   31|  16.3M|}
sliceobject.c:_PyFreeList_Free:
   68|  8.19M|{
   69|  8.19M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 24, False: 8.19M]
  ------------------
   70|     24|        dofree(obj);
   71|     24|    }
   72|  8.19M|}
sliceobject.c:_PyFreeList_Push:
   54|  8.19M|{
   55|  8.19M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 8.19M, False: 24]
  |  Branch (55:31): [True: 8.19M, False: 0]
  ------------------
   56|  8.19M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  8.19M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  8.19M|        fl->freelist = obj;
   58|  8.19M|        fl->size++;
   59|  8.19M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  8.19M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  8.19M|        return 1;
   61|  8.19M|    }
   62|     24|    return 0;
   63|  8.19M|}
tupleobject.c:_PyFreeList_Pop:
   88|  30.7M|{
   89|  30.7M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  30.7M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 30.6M, False: 91.9k]
  ------------------
   91|  30.6M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  30.6M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  30.6M|        _Py_NewReference(op);
   93|  30.6M|    }
   94|  30.7M|    return op;
   95|  30.7M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  30.7M|{
   77|  30.7M|    void *obj = fl->freelist;
   78|  30.7M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 30.6M, False: 91.9k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  30.6M|        fl->freelist = *(void **)obj;
   81|  30.6M|        fl->size--;
   82|  30.6M|    }
   83|  30.7M|    return obj;
   84|  30.7M|}
tupleobject.c:_PyFreeList_Free:
   68|   159k|{
   69|   159k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 159k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|   159k|}
tupleobject.c:_PyFreeList_Push:
   54|  30.6M|{
   55|  30.6M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 30.6M, False: 0]
  |  Branch (55:31): [True: 30.6M, False: 0]
  ------------------
   56|  30.6M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  30.6M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  30.6M|        fl->freelist = obj;
   58|  30.6M|        fl->size++;
   59|  30.6M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  30.6M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  30.6M|        return 1;
   61|  30.6M|    }
   62|      0|    return 0;
   63|  30.6M|}
tupleobject.c:_Py_freelists_GET:
   19|  61.3M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  61.3M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  61.3M|    return &interp->object_state.freelists;
   30|  61.3M|#endif
   31|  61.3M|}
unicode_writer.c:_PyFreeList_PopMem:
   99|  54.2k|{
  100|  54.2k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  54.2k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 54.1k, False: 7]
  ------------------
  102|  54.1k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  54.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  54.1k|    }
  104|  54.2k|    return op;
  105|  54.2k|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|  54.2k|{
   77|  54.2k|    void *obj = fl->freelist;
   78|  54.2k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 54.1k, False: 7]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  54.1k|        fl->freelist = *(void **)obj;
   81|  54.1k|        fl->size--;
   82|  54.1k|    }
   83|  54.2k|    return obj;
   84|  54.2k|}
unicode_writer.c:_Py_freelists_GET:
   19|   108k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|   108k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   108k|    return &interp->object_state.freelists;
   30|   108k|#endif
   31|   108k|}
unicode_writer.c:_PyFreeList_Free:
   68|  54.2k|{
   69|  54.2k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1, False: 54.2k]
  ------------------
   70|      1|        dofree(obj);
   71|      1|    }
   72|  54.2k|}
unicode_writer.c:_PyFreeList_Push:
   54|  54.2k|{
   55|  54.2k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 54.2k, False: 1]
  |  Branch (55:31): [True: 54.2k, False: 0]
  ------------------
   56|  54.2k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  54.2k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  54.2k|        fl->freelist = obj;
   58|  54.2k|        fl->size++;
   59|  54.2k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  54.2k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  54.2k|        return 1;
   61|  54.2k|    }
   62|      1|    return 0;
   63|  54.2k|}
classobject.c:_PyFreeList_Pop:
   88|  1.79M|{
   89|  1.79M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.79M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.79M, False: 260]
  ------------------
   91|  1.79M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.79M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.79M|        _Py_NewReference(op);
   93|  1.79M|    }
   94|  1.79M|    return op;
   95|  1.79M|}
classobject.c:_PyFreeList_PopNoStats:
   76|  1.79M|{
   77|  1.79M|    void *obj = fl->freelist;
   78|  1.79M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.79M, False: 260]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  1.79M|        fl->freelist = *(void **)obj;
   81|  1.79M|        fl->size--;
   82|  1.79M|    }
   83|  1.79M|    return obj;
   84|  1.79M|}
classobject.c:_Py_freelists_GET:
   19|  3.59M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  3.59M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.59M|    return &interp->object_state.freelists;
   30|  3.59M|#endif
   31|  3.59M|}
classobject.c:_PyFreeList_Free:
   68|  1.79M|{
   69|  1.79M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 14, False: 1.79M]
  ------------------
   70|     14|        dofree(obj);
   71|     14|    }
   72|  1.79M|}
classobject.c:_PyFreeList_Push:
   54|  1.79M|{
   55|  1.79M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.79M, False: 14]
  |  Branch (55:31): [True: 1.79M, False: 0]
  ------------------
   56|  1.79M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  1.79M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.79M|        fl->freelist = obj;
   58|  1.79M|        fl->size++;
   59|  1.79M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.79M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.79M|        return 1;
   61|  1.79M|    }
   62|     14|    return 0;
   63|  1.79M|}
complexobject.c:_PyFreeList_Pop:
   88|      2|{
   89|      2|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|      2|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 2]
  ------------------
   91|      0|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|      0|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|      0|        _Py_NewReference(op);
   93|      0|    }
   94|      2|    return op;
   95|      2|}
complexobject.c:_PyFreeList_PopNoStats:
   76|      2|{
   77|      2|    void *obj = fl->freelist;
   78|      2|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 2]
  ------------------
   79|       |        assert(fl->size > 0);
   80|      0|        fl->freelist = *(void **)obj;
   81|      0|        fl->size--;
   82|      0|    }
   83|      2|    return obj;
   84|      2|}
complexobject.c:_Py_freelists_GET:
   19|      2|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|      2|    return &interp->object_state.freelists;
   30|      2|#endif
   31|      2|}
methodobject.c:_PyFreeList_Pop:
   88|  9.32M|{
   89|  9.32M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  9.32M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 9.31M, False: 2.39k]
  ------------------
   91|  9.31M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  9.31M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  9.31M|        _Py_NewReference(op);
   93|  9.31M|    }
   94|  9.32M|    return op;
   95|  9.32M|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  9.32M|{
   77|  9.32M|    void *obj = fl->freelist;
   78|  9.32M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 9.31M, False: 2.39k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  9.31M|        fl->freelist = *(void **)obj;
   81|  9.31M|        fl->size--;
   82|  9.31M|    }
   83|  9.32M|    return obj;
   84|  9.32M|}
methodobject.c:_Py_freelists_GET:
   19|  18.6M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  18.6M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  18.6M|    return &interp->object_state.freelists;
   30|  18.6M|#endif
   31|  18.6M|}
methodobject.c:_PyFreeList_Free:
   68|  9.31M|{
   69|  9.31M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 9.31M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  9.31M|}
methodobject.c:_PyFreeList_Push:
   54|  9.31M|{
   55|  9.31M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 9.31M, False: 0]
  |  Branch (55:31): [True: 9.31M, False: 0]
  ------------------
   56|  9.31M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  9.31M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  9.31M|        fl->freelist = obj;
   58|  9.31M|        fl->size++;
   59|  9.31M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  9.31M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  9.31M|        return 1;
   61|  9.31M|    }
   62|      0|    return 0;
   63|  9.31M|}

typeobject.c:_PyFunction_IsVersionValid:
   26|     44|{
   27|     44|    return version >= FUNC_VERSION_FIRST_VALID;
  ------------------
  |  |   20|     44|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
   28|     44|}
specialize.c:_PyFunction_IsVersionValid:
   26|  19.6k|{
   27|  19.6k|    return version >= FUNC_VERSION_FIRST_VALID;
  ------------------
  |  |   20|  19.6k|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
   28|  19.6k|}

bytesobject.c:_PyObject_GC_UNTRACK:
  253|      4|{
  254|      4|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      4|    ((void)0)
  ------------------
  255|      4|                          "object not tracked by the garbage collector",
  256|      4|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      4|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      4|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      4|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      4|    _PyGCHead_SET_NEXT(prev, next);
  265|      4|    _PyGCHead_SET_PREV(next, prev);
  266|      4|    gc->_gc_next = 0;
  267|      4|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      4|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      4|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      4|    gcstate->heap_size--;
  270|      4|#endif
  271|      4|}
bytesobject.c:_Py_AS_GC:
   17|      8|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      8|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      8|    return (PyGC_Head*)gc;
   20|      8|}
bytesobject.c:_PyGCHead_PREV:
  155|      4|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      4|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      4|    return (PyGC_Head*)prev;
  158|      4|}
bytesobject.c:_PyGCHead_NEXT:
  146|      4|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      4|    uintptr_t next = gc->_gc_next;
  148|      4|    return (PyGC_Head*)next;
  149|      4|}
bytesobject.c:_PyGCHead_SET_NEXT:
  150|     12|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     12|    gc->_gc_next = (uintptr_t)next;
  152|     12|}
bytesobject.c:_PyGCHead_SET_PREV:
  160|      8|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      8|    uintptr_t uprev = (uintptr_t)prev;
  162|      8|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      8|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      8|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      8|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      8|}
bytesobject.c:_PyObject_GC_TRACK:
  213|      4|{
  214|      4|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      4|    ((void)0)
  ------------------
  215|      4|                          "object already tracked by the garbage collector",
  216|      4|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      4|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      4|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|      4|    ((void)0)
  ------------------
  222|      4|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      4|                          "object is in generation which is garbage collected",
  224|      4|                          filename, lineno, __func__);
  225|       |
  226|      4|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      4|    PyGC_Head *generation0 = gcstate->generation0;
  228|      4|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      4|    _PyGCHead_SET_NEXT(last, gc);
  230|      4|    _PyGCHead_SET_PREV(gc, last);
  231|      4|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      4|    generation0->_gc_prev = (uintptr_t)gc;
  233|      4|    gcstate->heap_size++;
  234|      4|#endif
  235|      4|}
exceptions.c:_PyObject_GC_UNTRACK:
  253|  1.39M|{
  254|  1.39M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.39M|    ((void)0)
  ------------------
  255|  1.39M|                          "object not tracked by the garbage collector",
  256|  1.39M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.39M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.39M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.39M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.39M|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.39M|    _PyGCHead_SET_PREV(next, prev);
  266|  1.39M|    gc->_gc_next = 0;
  267|  1.39M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.39M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.39M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.39M|    gcstate->heap_size--;
  270|  1.39M|#endif
  271|  1.39M|}
exceptions.c:_Py_AS_GC:
   17|  1.39M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.39M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.39M|    return (PyGC_Head*)gc;
   20|  1.39M|}
exceptions.c:_PyGCHead_PREV:
  155|  1.39M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.39M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.39M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.39M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.39M|    return (PyGC_Head*)prev;
  158|  1.39M|}
exceptions.c:_PyGCHead_NEXT:
  146|  1.39M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.39M|    uintptr_t next = gc->_gc_next;
  148|  1.39M|    return (PyGC_Head*)next;
  149|  1.39M|}
exceptions.c:_PyGCHead_SET_NEXT:
  150|  1.39M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.39M|    gc->_gc_next = (uintptr_t)next;
  152|  1.39M|}
exceptions.c:_PyGCHead_SET_PREV:
  160|  1.39M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.39M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.39M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  1.39M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.39M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.39M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.39M|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  253|     20|{
  254|     20|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     20|    ((void)0)
  ------------------
  255|     20|                          "object not tracked by the garbage collector",
  256|     20|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     20|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     20|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     20|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     20|    _PyGCHead_SET_NEXT(prev, next);
  265|     20|    _PyGCHead_SET_PREV(next, prev);
  266|     20|    gc->_gc_next = 0;
  267|     20|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     20|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     20|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     20|    gcstate->heap_size--;
  270|     20|#endif
  271|     20|}
genericaliasobject.c:_Py_AS_GC:
   17|     20|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     20|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     20|    return (PyGC_Head*)gc;
   20|     20|}
genericaliasobject.c:_PyGCHead_PREV:
  155|     20|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     20|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     20|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     20|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     20|    return (PyGC_Head*)prev;
  158|     20|}
genericaliasobject.c:_PyGCHead_NEXT:
  146|     20|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     20|    uintptr_t next = gc->_gc_next;
  148|     20|    return (PyGC_Head*)next;
  149|     20|}
genericaliasobject.c:_PyGCHead_SET_NEXT:
  150|     20|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     20|    gc->_gc_next = (uintptr_t)next;
  152|     20|}
genericaliasobject.c:_PyGCHead_SET_PREV:
  160|     20|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     20|    uintptr_t uprev = (uintptr_t)prev;
  162|     20|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     20|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     20|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     20|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     20|}
listobject.c:_PyObject_GC_TRACK:
  213|  4.72M|{
  214|  4.72M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  4.72M|    ((void)0)
  ------------------
  215|  4.72M|                          "object already tracked by the garbage collector",
  216|  4.72M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  4.72M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  4.72M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  4.72M|    ((void)0)
  ------------------
  222|  4.72M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  4.72M|                          "object is in generation which is garbage collected",
  224|  4.72M|                          filename, lineno, __func__);
  225|       |
  226|  4.72M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  4.72M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  4.72M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  4.72M|    _PyGCHead_SET_NEXT(last, gc);
  230|  4.72M|    _PyGCHead_SET_PREV(gc, last);
  231|  4.72M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  4.72M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  4.72M|    gcstate->heap_size++;
  234|  4.72M|#endif
  235|  4.72M|}
listobject.c:_Py_AS_GC:
   17|  4.73M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.73M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.73M|    return (PyGC_Head*)gc;
   20|  4.73M|}
listobject.c:_PyGCHead_SET_NEXT:
  150|  9.45M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  9.45M|    gc->_gc_next = (uintptr_t)next;
  152|  9.45M|}
listobject.c:_PyGCHead_SET_PREV:
  160|  4.73M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.73M|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.73M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  4.73M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.73M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.73M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.73M|}
listobject.c:_PyObject_GC_UNTRACK:
  253|  10.0k|{
  254|  10.0k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  10.0k|    ((void)0)
  ------------------
  255|  10.0k|                          "object not tracked by the garbage collector",
  256|  10.0k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  10.0k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  10.0k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  10.0k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  10.0k|    _PyGCHead_SET_NEXT(prev, next);
  265|  10.0k|    _PyGCHead_SET_PREV(next, prev);
  266|  10.0k|    gc->_gc_next = 0;
  267|  10.0k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  10.0k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  10.0k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  10.0k|    gcstate->heap_size--;
  270|  10.0k|#endif
  271|  10.0k|}
listobject.c:_PyGCHead_PREV:
  155|  10.0k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  10.0k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  10.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  10.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  10.0k|    return (PyGC_Head*)prev;
  158|  10.0k|}
listobject.c:_PyGCHead_NEXT:
  146|  10.0k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  10.0k|    uintptr_t next = gc->_gc_next;
  148|  10.0k|    return (PyGC_Head*)next;
  149|  10.0k|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|  3.33M|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  3.33M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.33M|    return (gc->_gc_next != 0);
   79|  3.33M|#endif
   80|  3.33M|}
dictobject.c:_Py_AS_GC:
   17|  10.2M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.2M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.2M|    return (PyGC_Head*)gc;
   20|  10.2M|}
dictobject.c:_PyObject_GC_UNTRACK:
  253|  1.27M|{
  254|  1.27M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.27M|    ((void)0)
  ------------------
  255|  1.27M|                          "object not tracked by the garbage collector",
  256|  1.27M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.27M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.27M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.27M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.27M|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.27M|    _PyGCHead_SET_PREV(next, prev);
  266|  1.27M|    gc->_gc_next = 0;
  267|  1.27M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.27M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.27M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.27M|    gcstate->heap_size--;
  270|  1.27M|#endif
  271|  1.27M|}
dictobject.c:_PyGCHead_PREV:
  155|  1.27M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.27M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.27M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.27M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.27M|    return (PyGC_Head*)prev;
  158|  1.27M|}
dictobject.c:_PyGCHead_NEXT:
  146|  1.27M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.27M|    uintptr_t next = gc->_gc_next;
  148|  1.27M|    return (PyGC_Head*)next;
  149|  1.27M|}
dictobject.c:_PyGCHead_SET_NEXT:
  150|  12.5M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  12.5M|    gc->_gc_next = (uintptr_t)next;
  152|  12.5M|}
dictobject.c:_PyGCHead_SET_PREV:
  160|  6.89M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.89M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.89M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.89M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.89M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.89M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.89M|}
dictobject.c:_PyObject_GC_TRACK:
  213|  5.61M|{
  214|  5.61M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  5.61M|    ((void)0)
  ------------------
  215|  5.61M|                          "object already tracked by the garbage collector",
  216|  5.61M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  5.61M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  5.61M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  5.61M|    ((void)0)
  ------------------
  222|  5.61M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  5.61M|                          "object is in generation which is garbage collected",
  224|  5.61M|                          filename, lineno, __func__);
  225|       |
  226|  5.61M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  5.61M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  5.61M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  5.61M|    _PyGCHead_SET_NEXT(last, gc);
  230|  5.61M|    _PyGCHead_SET_PREV(gc, last);
  231|  5.61M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  5.61M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  5.61M|    gcstate->heap_size++;
  234|  5.61M|#endif
  235|  5.61M|}
memoryobject.c:_PyObject_GC_UNTRACK:
  253|  1.58k|{
  254|  1.58k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.58k|    ((void)0)
  ------------------
  255|  1.58k|                          "object not tracked by the garbage collector",
  256|  1.58k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.58k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.58k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.58k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.58k|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.58k|    _PyGCHead_SET_PREV(next, prev);
  266|  1.58k|    gc->_gc_next = 0;
  267|  1.58k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.58k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.58k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.58k|    gcstate->heap_size--;
  270|  1.58k|#endif
  271|  1.58k|}
memoryobject.c:_Py_AS_GC:
   17|  3.16k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.16k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.16k|    return (PyGC_Head*)gc;
   20|  3.16k|}
memoryobject.c:_PyGCHead_PREV:
  155|  1.58k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.58k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.58k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.58k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.58k|    return (PyGC_Head*)prev;
  158|  1.58k|}
memoryobject.c:_PyGCHead_NEXT:
  146|  1.58k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.58k|    uintptr_t next = gc->_gc_next;
  148|  1.58k|    return (PyGC_Head*)next;
  149|  1.58k|}
memoryobject.c:_PyGCHead_SET_NEXT:
  150|  4.74k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  4.74k|    gc->_gc_next = (uintptr_t)next;
  152|  4.74k|}
memoryobject.c:_PyGCHead_SET_PREV:
  160|  3.16k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.16k|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.16k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  3.16k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.16k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.16k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.16k|}
memoryobject.c:_PyObject_GC_TRACK:
  213|  1.58k|{
  214|  1.58k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.58k|    ((void)0)
  ------------------
  215|  1.58k|                          "object already tracked by the garbage collector",
  216|  1.58k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.58k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.58k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  1.58k|    ((void)0)
  ------------------
  222|  1.58k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.58k|                          "object is in generation which is garbage collected",
  224|  1.58k|                          filename, lineno, __func__);
  225|       |
  226|  1.58k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.58k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.58k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.58k|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.58k|    _PyGCHead_SET_PREV(gc, last);
  231|  1.58k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.58k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.58k|    gcstate->heap_size++;
  234|  1.58k|#endif
  235|  1.58k|}
object.c:_PyGC_FINALIZED:
  166|  1.55M|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|  1.55M|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  1.55M|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  1.55M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  1.55M|#endif
  173|  1.55M|}
object.c:_PyGC_SET_FINALIZED:
  174|  1.55M|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  175|       |#ifdef Py_GIL_DISABLED
  176|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  177|       |#else
  178|  1.55M|    PyGC_Head *gc = _Py_AS_GC(op);
  179|  1.55M|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.55M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|  1.55M|#endif
  181|  1.55M|}
object.c:_PyObject_GC_IS_TRACKED:
   73|    834|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|    834|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    834|    return (gc->_gc_next != 0);
   79|    834|#endif
   80|    834|}
object.c:_PyObject_GC_UNTRACK:
  253|    830|{
  254|    830|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    830|    ((void)0)
  ------------------
  255|    830|                          "object not tracked by the garbage collector",
  256|    830|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    830|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    830|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    830|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    830|    _PyGCHead_SET_NEXT(prev, next);
  265|    830|    _PyGCHead_SET_PREV(next, prev);
  266|    830|    gc->_gc_next = 0;
  267|    830|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    830|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    830|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    830|    gcstate->heap_size--;
  270|    830|#endif
  271|    830|}
object.c:_PyGCHead_PREV:
  155|    830|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    830|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    830|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    830|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    830|    return (PyGC_Head*)prev;
  158|    830|}
object.c:_PyGCHead_NEXT:
  146|    830|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    830|    uintptr_t next = gc->_gc_next;
  148|    830|    return (PyGC_Head*)next;
  149|    830|}
object.c:_PyGCHead_SET_NEXT:
  150|    830|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    830|    gc->_gc_next = (uintptr_t)next;
  152|    830|}
object.c:_PyGCHead_SET_PREV:
  160|    830|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    830|    uintptr_t uprev = (uintptr_t)prev;
  162|    830|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    830|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    830|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    830|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    830|}
object.c:_Py_AS_GC:
   17|  3.11M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.11M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.11M|    return (PyGC_Head*)gc;
   20|  3.11M|}
sentinelobject.c:_PyObject_GC_TRACK:
  213|     10|{
  214|     10|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     10|    ((void)0)
  ------------------
  215|     10|                          "object already tracked by the garbage collector",
  216|     10|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     10|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     10|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|     10|    ((void)0)
  ------------------
  222|     10|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     10|                          "object is in generation which is garbage collected",
  224|     10|                          filename, lineno, __func__);
  225|       |
  226|     10|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     10|    PyGC_Head *generation0 = gcstate->generation0;
  228|     10|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     10|    _PyGCHead_SET_NEXT(last, gc);
  230|     10|    _PyGCHead_SET_PREV(gc, last);
  231|     10|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     10|    generation0->_gc_prev = (uintptr_t)gc;
  233|     10|    gcstate->heap_size++;
  234|     10|#endif
  235|     10|}
sentinelobject.c:_Py_AS_GC:
   17|     10|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     10|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     10|    return (PyGC_Head*)gc;
   20|     10|}
sentinelobject.c:_PyGCHead_SET_NEXT:
  150|     20|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     20|    gc->_gc_next = (uintptr_t)next;
  152|     20|}
sentinelobject.c:_PyGCHead_SET_PREV:
  160|     10|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     10|    uintptr_t uprev = (uintptr_t)prev;
  162|     10|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     10|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     10|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     10|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     10|}
setobject.c:_PyObject_GC_UNTRACK:
  253|   116k|{
  254|   116k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   116k|    ((void)0)
  ------------------
  255|   116k|                          "object not tracked by the garbage collector",
  256|   116k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   116k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   116k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   116k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   116k|    _PyGCHead_SET_NEXT(prev, next);
  265|   116k|    _PyGCHead_SET_PREV(next, prev);
  266|   116k|    gc->_gc_next = 0;
  267|   116k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   116k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   116k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   116k|    gcstate->heap_size--;
  270|   116k|#endif
  271|   116k|}
setobject.c:_Py_AS_GC:
   17|   165k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   165k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   165k|    return (PyGC_Head*)gc;
   20|   165k|}
setobject.c:_PyGCHead_PREV:
  155|   116k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   116k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   116k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   116k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   116k|    return (PyGC_Head*)prev;
  158|   116k|}
setobject.c:_PyGCHead_NEXT:
  146|   116k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   116k|    uintptr_t next = gc->_gc_next;
  148|   116k|    return (PyGC_Head*)next;
  149|   116k|}
setobject.c:_PyGCHead_SET_NEXT:
  150|   128k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   128k|    gc->_gc_next = (uintptr_t)next;
  152|   128k|}
setobject.c:_PyGCHead_SET_PREV:
  160|   122k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   122k|    uintptr_t uprev = (uintptr_t)prev;
  162|   122k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   122k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   122k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   122k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   122k|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  46.9k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  46.9k|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 3.67k, False: 43.2k]
  ------------------
   87|  3.67k|        return 0;
   88|  3.67k|    }
   89|  43.2k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  43.2k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  43.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 42.9k, False: 331]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  42.9k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  42.9k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  42.9k|    }
   92|    331|    return 1;
   93|  43.2k|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|  42.9k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  42.9k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  42.9k|    return (gc->_gc_next != 0);
   79|  42.9k|#endif
   80|  42.9k|}
setobject.c:_PyObject_GC_TRACK:
  213|  5.96k|{
  214|  5.96k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  5.96k|    ((void)0)
  ------------------
  215|  5.96k|                          "object already tracked by the garbage collector",
  216|  5.96k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  5.96k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  5.96k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  5.96k|    ((void)0)
  ------------------
  222|  5.96k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  5.96k|                          "object is in generation which is garbage collected",
  224|  5.96k|                          filename, lineno, __func__);
  225|       |
  226|  5.96k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  5.96k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  5.96k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  5.96k|    _PyGCHead_SET_NEXT(last, gc);
  230|  5.96k|    _PyGCHead_SET_PREV(gc, last);
  231|  5.96k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  5.96k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  5.96k|    gcstate->heap_size++;
  234|  5.96k|#endif
  235|  5.96k|}
sliceobject.c:_PyObject_GC_TRACK:
  213|  8.19M|{
  214|  8.19M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  8.19M|    ((void)0)
  ------------------
  215|  8.19M|                          "object already tracked by the garbage collector",
  216|  8.19M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  8.19M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  8.19M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  8.19M|    ((void)0)
  ------------------
  222|  8.19M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  8.19M|                          "object is in generation which is garbage collected",
  224|  8.19M|                          filename, lineno, __func__);
  225|       |
  226|  8.19M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  8.19M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  8.19M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  8.19M|    _PyGCHead_SET_NEXT(last, gc);
  230|  8.19M|    _PyGCHead_SET_PREV(gc, last);
  231|  8.19M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  8.19M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  8.19M|    gcstate->heap_size++;
  234|  8.19M|#endif
  235|  8.19M|}
sliceobject.c:_Py_AS_GC:
   17|  8.19M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  8.19M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  8.19M|    return (PyGC_Head*)gc;
   20|  8.19M|}
sliceobject.c:_PyGCHead_SET_NEXT:
  150|  16.3M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  16.3M|    gc->_gc_next = (uintptr_t)next;
  152|  16.3M|}
sliceobject.c:_PyGCHead_SET_PREV:
  160|  8.19M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  8.19M|    uintptr_t uprev = (uintptr_t)prev;
  162|  8.19M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  8.19M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  8.19M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  8.19M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  8.19M|}
tupleobject.c:_PyObject_GC_TRACK:
  213|  11.8M|{
  214|  11.8M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  11.8M|    ((void)0)
  ------------------
  215|  11.8M|                          "object already tracked by the garbage collector",
  216|  11.8M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  11.8M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  11.8M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  11.8M|    ((void)0)
  ------------------
  222|  11.8M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  11.8M|                          "object is in generation which is garbage collected",
  224|  11.8M|                          filename, lineno, __func__);
  225|       |
  226|  11.8M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  11.8M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  11.8M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  11.8M|    _PyGCHead_SET_NEXT(last, gc);
  230|  11.8M|    _PyGCHead_SET_PREV(gc, last);
  231|  11.8M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  11.8M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  11.8M|    gcstate->heap_size++;
  234|  11.8M|#endif
  235|  11.8M|}
tupleobject.c:_Py_AS_GC:
   17|  12.3M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  12.3M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  12.3M|    return (PyGC_Head*)gc;
   20|  12.3M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  150|  23.8M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  23.8M|    gc->_gc_next = (uintptr_t)next;
  152|  23.8M|}
tupleobject.c:_PyGCHead_SET_PREV:
  160|  12.0M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  12.0M|    uintptr_t uprev = (uintptr_t)prev;
  162|  12.0M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  12.0M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  12.0M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  12.0M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  12.0M|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|   279k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|   279k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   279k|    return (gc->_gc_next != 0);
   79|   279k|#endif
   80|   279k|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  2.12M|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  2.12M|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 2.02M, False: 100k]
  ------------------
   87|  2.02M|        return 0;
   88|  2.02M|    }
   89|   100k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|   100k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   100k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 41.4k, False: 59.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  41.4k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  41.4k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  41.4k|    }
   92|  59.3k|    return 1;
   93|   100k|}
tupleobject.c:_PyObject_GC_UNTRACK:
  253|   221k|{
  254|   221k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   221k|    ((void)0)
  ------------------
  255|   221k|                          "object not tracked by the garbage collector",
  256|   221k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   221k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   221k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   221k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   221k|    _PyGCHead_SET_NEXT(prev, next);
  265|   221k|    _PyGCHead_SET_PREV(next, prev);
  266|   221k|    gc->_gc_next = 0;
  267|   221k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   221k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   221k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   221k|    gcstate->heap_size--;
  270|   221k|#endif
  271|   221k|}
tupleobject.c:_PyGCHead_PREV:
  155|   221k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   221k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   221k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   221k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   221k|    return (PyGC_Head*)prev;
  158|   221k|}
tupleobject.c:_PyGCHead_NEXT:
  146|   221k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   221k|    uintptr_t next = gc->_gc_next;
  148|   221k|    return (PyGC_Head*)next;
  149|   221k|}
typeobject.c:_PyObject_GC_TRACK:
  213|  4.37M|{
  214|  4.37M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  4.37M|    ((void)0)
  ------------------
  215|  4.37M|                          "object already tracked by the garbage collector",
  216|  4.37M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  4.37M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  4.37M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  4.37M|    ((void)0)
  ------------------
  222|  4.37M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  4.37M|                          "object is in generation which is garbage collected",
  224|  4.37M|                          filename, lineno, __func__);
  225|       |
  226|  4.37M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  4.37M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  4.37M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  4.37M|    _PyGCHead_SET_NEXT(last, gc);
  230|  4.37M|    _PyGCHead_SET_PREV(gc, last);
  231|  4.37M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  4.37M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  4.37M|    gcstate->heap_size++;
  234|  4.37M|#endif
  235|  4.37M|}
typeobject.c:_Py_AS_GC:
   17|  4.38M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.38M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.38M|    return (PyGC_Head*)gc;
   20|  4.38M|}
typeobject.c:_PyGCHead_SET_NEXT:
  150|  8.75M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  8.75M|    gc->_gc_next = (uintptr_t)next;
  152|  8.75M|}
typeobject.c:_PyGCHead_SET_PREV:
  160|  4.38M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.38M|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.38M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  4.38M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.38M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.38M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.38M|}
typeobject.c:_PyObject_GC_UNTRACK:
  253|  2.67k|{
  254|  2.67k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  2.67k|    ((void)0)
  ------------------
  255|  2.67k|                          "object not tracked by the garbage collector",
  256|  2.67k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.67k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.67k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.67k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.67k|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.67k|    _PyGCHead_SET_PREV(next, prev);
  266|  2.67k|    gc->_gc_next = 0;
  267|  2.67k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.67k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.67k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.67k|    gcstate->heap_size--;
  270|  2.67k|#endif
  271|  2.67k|}
typeobject.c:_PyGCHead_PREV:
  155|  2.67k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.67k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.67k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.67k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.67k|    return (PyGC_Head*)prev;
  158|  2.67k|}
typeobject.c:_PyGCHead_NEXT:
  146|  2.67k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.67k|    uintptr_t next = gc->_gc_next;
  148|  2.67k|    return (PyGC_Head*)next;
  149|  2.67k|}
typevarobject.c:_PyObject_GC_TRACK:
  213|     92|{
  214|     92|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     92|    ((void)0)
  ------------------
  215|     92|                          "object already tracked by the garbage collector",
  216|     92|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     92|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     92|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|     92|    ((void)0)
  ------------------
  222|     92|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     92|                          "object is in generation which is garbage collected",
  224|     92|                          filename, lineno, __func__);
  225|       |
  226|     92|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     92|    PyGC_Head *generation0 = gcstate->generation0;
  228|     92|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     92|    _PyGCHead_SET_NEXT(last, gc);
  230|     92|    _PyGCHead_SET_PREV(gc, last);
  231|     92|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     92|    generation0->_gc_prev = (uintptr_t)gc;
  233|     92|    gcstate->heap_size++;
  234|     92|#endif
  235|     92|}
typevarobject.c:_Py_AS_GC:
   17|   150k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   150k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   150k|    return (PyGC_Head*)gc;
   20|   150k|}
typevarobject.c:_PyGCHead_SET_NEXT:
  150|   150k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   150k|    gc->_gc_next = (uintptr_t)next;
  152|   150k|}
typevarobject.c:_PyGCHead_SET_PREV:
  160|   150k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   150k|    uintptr_t uprev = (uintptr_t)prev;
  162|   150k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   150k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   150k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   150k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   150k|}
typevarobject.c:_PyObject_GC_UNTRACK:
  253|   150k|{
  254|   150k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   150k|    ((void)0)
  ------------------
  255|   150k|                          "object not tracked by the garbage collector",
  256|   150k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   150k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   150k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   150k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   150k|    _PyGCHead_SET_NEXT(prev, next);
  265|   150k|    _PyGCHead_SET_PREV(next, prev);
  266|   150k|    gc->_gc_next = 0;
  267|   150k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   150k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   150k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   150k|    gcstate->heap_size--;
  270|   150k|#endif
  271|   150k|}
typevarobject.c:_PyGCHead_PREV:
  155|   150k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   150k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   150k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   150k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   150k|    return (PyGC_Head*)prev;
  158|   150k|}
typevarobject.c:_PyGCHead_NEXT:
  146|   150k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   150k|    uintptr_t next = gc->_gc_next;
  148|   150k|    return (PyGC_Head*)next;
  149|   150k|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  253|    200|{
  254|    200|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    200|    ((void)0)
  ------------------
  255|    200|                          "object not tracked by the garbage collector",
  256|    200|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    200|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    200|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    200|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    200|    _PyGCHead_SET_NEXT(prev, next);
  265|    200|    _PyGCHead_SET_PREV(next, prev);
  266|    200|    gc->_gc_next = 0;
  267|    200|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    200|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    200|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    200|    gcstate->heap_size--;
  270|    200|#endif
  271|    200|}
unicodeobject.c:_Py_AS_GC:
   17|    400|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    400|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    400|    return (PyGC_Head*)gc;
   20|    400|}
unicodeobject.c:_PyGCHead_PREV:
  155|    200|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    200|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    200|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    200|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    200|    return (PyGC_Head*)prev;
  158|    200|}
unicodeobject.c:_PyGCHead_NEXT:
  146|    200|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    200|    uintptr_t next = gc->_gc_next;
  148|    200|    return (PyGC_Head*)next;
  149|    200|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  150|    600|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    600|    gc->_gc_next = (uintptr_t)next;
  152|    600|}
unicodeobject.c:_PyGCHead_SET_PREV:
  160|    400|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    400|    uintptr_t uprev = (uintptr_t)prev;
  162|    400|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    400|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    400|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    400|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    400|}
unicodeobject.c:_PyObject_GC_TRACK:
  213|    200|{
  214|    200|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    200|    ((void)0)
  ------------------
  215|    200|                          "object already tracked by the garbage collector",
  216|    200|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    200|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    200|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    200|    ((void)0)
  ------------------
  222|    200|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    200|                          "object is in generation which is garbage collected",
  224|    200|                          filename, lineno, __func__);
  225|       |
  226|    200|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    200|    PyGC_Head *generation0 = gcstate->generation0;
  228|    200|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    200|    _PyGCHead_SET_NEXT(last, gc);
  230|    200|    _PyGCHead_SET_PREV(gc, last);
  231|    200|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    200|    generation0->_gc_prev = (uintptr_t)gc;
  233|    200|    gcstate->heap_size++;
  234|    200|#endif
  235|    200|}
unionobject.c:_PyObject_GC_UNTRACK:
  253|     72|{
  254|     72|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     72|    ((void)0)
  ------------------
  255|     72|                          "object not tracked by the garbage collector",
  256|     72|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     72|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     72|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     72|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     72|    _PyGCHead_SET_NEXT(prev, next);
  265|     72|    _PyGCHead_SET_PREV(next, prev);
  266|     72|    gc->_gc_next = 0;
  267|     72|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     72|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     72|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     72|    gcstate->heap_size--;
  270|     72|#endif
  271|     72|}
unionobject.c:_Py_AS_GC:
   17|    506|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    506|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    506|    return (PyGC_Head*)gc;
   20|    506|}
unionobject.c:_PyGCHead_PREV:
  155|     72|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     72|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     72|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     72|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     72|    return (PyGC_Head*)prev;
  158|     72|}
unionobject.c:_PyGCHead_NEXT:
  146|     72|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     72|    uintptr_t next = gc->_gc_next;
  148|     72|    return (PyGC_Head*)next;
  149|     72|}
unionobject.c:_PyGCHead_SET_NEXT:
  150|    940|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    940|    gc->_gc_next = (uintptr_t)next;
  152|    940|}
unionobject.c:_PyGCHead_SET_PREV:
  160|    506|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    506|    uintptr_t uprev = (uintptr_t)prev;
  162|    506|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    506|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    506|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    506|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    506|}
unionobject.c:_PyObject_GC_TRACK:
  213|    434|{
  214|    434|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    434|    ((void)0)
  ------------------
  215|    434|                          "object already tracked by the garbage collector",
  216|    434|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    434|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    434|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    434|    ((void)0)
  ------------------
  222|    434|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    434|                          "object is in generation which is garbage collected",
  224|    434|                          filename, lineno, __func__);
  225|       |
  226|    434|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    434|    PyGC_Head *generation0 = gcstate->generation0;
  228|    434|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    434|    _PyGCHead_SET_NEXT(last, gc);
  230|    434|    _PyGCHead_SET_PREV(gc, last);
  231|    434|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    434|    generation0->_gc_prev = (uintptr_t)gc;
  233|    434|    gcstate->heap_size++;
  234|    434|#endif
  235|    434|}
bltinmodule.c:_PyObject_GC_IS_TRACKED:
   73|  1.29k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  1.29k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.29k|    return (gc->_gc_next != 0);
   79|  1.29k|#endif
   80|  1.29k|}
bltinmodule.c:_Py_AS_GC:
   17|  1.29k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.29k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.29k|    return (PyGC_Head*)gc;
   20|  1.29k|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
   85|     10|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|     10|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 10, False: 0]
  ------------------
   87|     10|        return 0;
   88|     10|    }
   89|      0|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|      0|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|      0|    }
   92|      0|    return 1;
   93|      0|}
frame.c:_PyObject_GC_IS_TRACKED:
   73|   980k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|   980k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   980k|    return (gc->_gc_next != 0);
   79|   980k|#endif
   80|   980k|}
frame.c:_Py_AS_GC:
   17|  1.96M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.96M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.96M|    return (PyGC_Head*)gc;
   20|  1.96M|}
frame.c:_PyObject_GC_TRACK:
  213|   980k|{
  214|   980k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   980k|    ((void)0)
  ------------------
  215|   980k|                          "object already tracked by the garbage collector",
  216|   980k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   980k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   980k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|   980k|    ((void)0)
  ------------------
  222|   980k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   980k|                          "object is in generation which is garbage collected",
  224|   980k|                          filename, lineno, __func__);
  225|       |
  226|   980k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   980k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   980k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   980k|    _PyGCHead_SET_NEXT(last, gc);
  230|   980k|    _PyGCHead_SET_PREV(gc, last);
  231|   980k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   980k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   980k|    gcstate->heap_size++;
  234|   980k|#endif
  235|   980k|}
frame.c:_PyGCHead_SET_NEXT:
  150|  1.96M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.96M|    gc->_gc_next = (uintptr_t)next;
  152|  1.96M|}
frame.c:_PyGCHead_SET_PREV:
  160|   980k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   980k|    uintptr_t uprev = (uintptr_t)prev;
  162|   980k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   980k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   980k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   980k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   980k|}
gc.c:_PyGCHead_NEXT:
  146|  88.0M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  88.0M|    uintptr_t next = gc->_gc_next;
  148|  88.0M|    return (PyGC_Head*)next;
  149|  88.0M|}
gc.c:_PyGCHead_PREV:
  155|  56.8M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  56.8M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  56.8M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  56.8M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  56.8M|    return (PyGC_Head*)prev;
  158|  56.8M|}
gc.c:_PyGCHead_SET_NEXT:
  150|  65.7M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  65.7M|    gc->_gc_next = (uintptr_t)next;
  152|  65.7M|}
gc.c:_PyGCHead_SET_PREV:
  160|  65.8M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  65.8M|    uintptr_t uprev = (uintptr_t)prev;
  162|  65.8M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  65.8M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  65.8M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  65.8M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  65.8M|}
gc.c:_PyGC_SET_FINALIZED:
  174|      1|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  175|       |#ifdef Py_GIL_DISABLED
  176|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  177|       |#else
  178|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  179|      1|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|      1|#endif
  181|      1|}
gc.c:_Py_FROM_GC:
   23|  34.0M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|  34.0M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|  34.0M|    return (PyObject *)op;
   26|  34.0M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|  88.5M|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  88.5M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  88.5M|    return (gc->_gc_next != 0);
   79|  88.5M|#endif
   80|  88.5M|}
gc.c:_PyObject_GC_TRACK:
  213|  2.82M|{
  214|  2.82M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  2.82M|    ((void)0)
  ------------------
  215|  2.82M|                          "object already tracked by the garbage collector",
  216|  2.82M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.82M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.82M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  2.82M|    ((void)0)
  ------------------
  222|  2.82M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.82M|                          "object is in generation which is garbage collected",
  224|  2.82M|                          filename, lineno, __func__);
  225|       |
  226|  2.82M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.82M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.82M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.82M|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.82M|    _PyGCHead_SET_PREV(gc, last);
  231|  2.82M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.82M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.82M|    gcstate->heap_size++;
  234|  2.82M|#endif
  235|  2.82M|}
gc.c:_PyObject_GC_UNTRACK:
  253|  43.6M|{
  254|  43.6M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  43.6M|    ((void)0)
  ------------------
  255|  43.6M|                          "object not tracked by the garbage collector",
  256|  43.6M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  43.6M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  43.6M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  43.6M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  43.6M|    _PyGCHead_SET_NEXT(prev, next);
  265|  43.6M|    _PyGCHead_SET_PREV(next, prev);
  266|  43.6M|    gc->_gc_next = 0;
  267|  43.6M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  43.6M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  43.6M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  43.6M|    gcstate->heap_size--;
  270|  43.6M|#endif
  271|  43.6M|}
gc.c:_Py_AS_GC:
   17|   200M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   200M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   200M|    return (PyGC_Head*)gc;
   20|   200M|}
gc.c:_PyGC_FINALIZED:
  166|  3.68M|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|  3.68M|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  3.68M|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  3.68M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  3.68M|#endif
  173|  3.68M|}
iobase.c:_PyObject_GC_UNTRACK:
  253|     12|{
  254|     12|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     12|    ((void)0)
  ------------------
  255|     12|                          "object not tracked by the garbage collector",
  256|     12|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     12|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     12|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     12|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     12|    _PyGCHead_SET_NEXT(prev, next);
  265|     12|    _PyGCHead_SET_PREV(next, prev);
  266|     12|    gc->_gc_next = 0;
  267|     12|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     12|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     12|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     12|    gcstate->heap_size--;
  270|     12|#endif
  271|     12|}
iobase.c:_Py_AS_GC:
   17|     12|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     12|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     12|    return (PyGC_Head*)gc;
   20|     12|}
iobase.c:_PyGCHead_PREV:
  155|     12|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     12|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     12|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     12|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     12|    return (PyGC_Head*)prev;
  158|     12|}
iobase.c:_PyGCHead_NEXT:
  146|     12|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     12|    uintptr_t next = gc->_gc_next;
  148|     12|    return (PyGC_Head*)next;
  149|     12|}
iobase.c:_PyGCHead_SET_NEXT:
  150|     12|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     12|    gc->_gc_next = (uintptr_t)next;
  152|     12|}
iobase.c:_PyGCHead_SET_PREV:
  160|     12|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     12|    uintptr_t uprev = (uintptr_t)prev;
  162|     12|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     12|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     12|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     12|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     12|}
fileio.c:_PyObject_GC_UNTRACK:
  253|    520|{
  254|    520|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    520|    ((void)0)
  ------------------
  255|    520|                          "object not tracked by the garbage collector",
  256|    520|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    520|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    520|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    520|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    520|    _PyGCHead_SET_NEXT(prev, next);
  265|    520|    _PyGCHead_SET_PREV(next, prev);
  266|    520|    gc->_gc_next = 0;
  267|    520|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    520|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    520|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    520|    gcstate->heap_size--;
  270|    520|#endif
  271|    520|}
fileio.c:_Py_AS_GC:
   17|    520|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    520|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    520|    return (PyGC_Head*)gc;
   20|    520|}
fileio.c:_PyGCHead_PREV:
  155|    520|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    520|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    520|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    520|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    520|    return (PyGC_Head*)prev;
  158|    520|}
fileio.c:_PyGCHead_NEXT:
  146|    520|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    520|    uintptr_t next = gc->_gc_next;
  148|    520|    return (PyGC_Head*)next;
  149|    520|}
fileio.c:_PyGCHead_SET_NEXT:
  150|    520|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    520|    gc->_gc_next = (uintptr_t)next;
  152|    520|}
fileio.c:_PyGCHead_SET_PREV:
  160|    520|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    520|    uintptr_t uprev = (uintptr_t)prev;
  162|    520|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    520|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    520|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    520|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    520|}
bytesio.c:_PyObject_GC_UNTRACK:
  253|  6.27k|{
  254|  6.27k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  6.27k|    ((void)0)
  ------------------
  255|  6.27k|                          "object not tracked by the garbage collector",
  256|  6.27k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  6.27k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  6.27k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  6.27k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  6.27k|    _PyGCHead_SET_NEXT(prev, next);
  265|  6.27k|    _PyGCHead_SET_PREV(next, prev);
  266|  6.27k|    gc->_gc_next = 0;
  267|  6.27k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  6.27k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  6.27k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  6.27k|    gcstate->heap_size--;
  270|  6.27k|#endif
  271|  6.27k|}
bytesio.c:_Py_AS_GC:
   17|  6.27k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.27k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.27k|    return (PyGC_Head*)gc;
   20|  6.27k|}
bytesio.c:_PyGCHead_PREV:
  155|  6.27k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  6.27k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  6.27k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.27k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  6.27k|    return (PyGC_Head*)prev;
  158|  6.27k|}
bytesio.c:_PyGCHead_NEXT:
  146|  6.27k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  6.27k|    uintptr_t next = gc->_gc_next;
  148|  6.27k|    return (PyGC_Head*)next;
  149|  6.27k|}
bytesio.c:_PyGCHead_SET_NEXT:
  150|  6.27k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  6.27k|    gc->_gc_next = (uintptr_t)next;
  152|  6.27k|}
bytesio.c:_PyGCHead_SET_PREV:
  160|  6.27k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.27k|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.27k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.27k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.27k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.27k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.27k|}
bufferedio.c:_PyObject_GC_UNTRACK:
  253|    522|{
  254|    522|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    522|    ((void)0)
  ------------------
  255|    522|                          "object not tracked by the garbage collector",
  256|    522|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    522|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    522|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    522|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    522|    _PyGCHead_SET_NEXT(prev, next);
  265|    522|    _PyGCHead_SET_PREV(next, prev);
  266|    522|    gc->_gc_next = 0;
  267|    522|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    522|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    522|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    522|    gcstate->heap_size--;
  270|    522|#endif
  271|    522|}
bufferedio.c:_Py_AS_GC:
   17|    522|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    522|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    522|    return (PyGC_Head*)gc;
   20|    522|}
bufferedio.c:_PyGCHead_PREV:
  155|    522|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    522|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    522|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    522|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    522|    return (PyGC_Head*)prev;
  158|    522|}
bufferedio.c:_PyGCHead_NEXT:
  146|    522|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    522|    uintptr_t next = gc->_gc_next;
  148|    522|    return (PyGC_Head*)next;
  149|    522|}
bufferedio.c:_PyGCHead_SET_NEXT:
  150|    522|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    522|    gc->_gc_next = (uintptr_t)next;
  152|    522|}
bufferedio.c:_PyGCHead_SET_PREV:
  160|    522|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    522|    uintptr_t uprev = (uintptr_t)prev;
  162|    522|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    522|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    522|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    522|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    522|}
textio.c:_PyObject_GC_UNTRACK:
  253|     16|{
  254|     16|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     16|    ((void)0)
  ------------------
  255|     16|                          "object not tracked by the garbage collector",
  256|     16|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     16|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     16|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     16|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     16|    _PyGCHead_SET_NEXT(prev, next);
  265|     16|    _PyGCHead_SET_PREV(next, prev);
  266|     16|    gc->_gc_next = 0;
  267|     16|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     16|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     16|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     16|    gcstate->heap_size--;
  270|     16|#endif
  271|     16|}
textio.c:_Py_AS_GC:
   17|     16|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     16|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     16|    return (PyGC_Head*)gc;
   20|     16|}
textio.c:_PyGCHead_PREV:
  155|     16|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     16|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     16|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     16|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     16|    return (PyGC_Head*)prev;
  158|     16|}
textio.c:_PyGCHead_NEXT:
  146|     16|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     16|    uintptr_t next = gc->_gc_next;
  148|     16|    return (PyGC_Head*)next;
  149|     16|}
textio.c:_PyGCHead_SET_NEXT:
  150|     16|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     16|    gc->_gc_next = (uintptr_t)next;
  152|     16|}
textio.c:_PyGCHead_SET_PREV:
  160|     16|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     16|    uintptr_t uprev = (uintptr_t)prev;
  162|     16|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     16|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     16|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     16|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     16|}
stringio.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  255|      2|                          "object not tracked by the garbage collector",
  256|      2|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      2|    _PyGCHead_SET_NEXT(prev, next);
  265|      2|    _PyGCHead_SET_PREV(next, prev);
  266|      2|    gc->_gc_next = 0;
  267|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      2|    gcstate->heap_size--;
  270|      2|#endif
  271|      2|}
stringio.c:_Py_AS_GC:
   17|      2|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      2|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      2|    return (PyGC_Head*)gc;
   20|      2|}
stringio.c:_PyGCHead_PREV:
  155|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      2|    return (PyGC_Head*)prev;
  158|      2|}
stringio.c:_PyGCHead_NEXT:
  146|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      2|    uintptr_t next = gc->_gc_next;
  148|      2|    return (PyGC_Head*)next;
  149|      2|}
stringio.c:_PyGCHead_SET_NEXT:
  150|      2|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      2|    gc->_gc_next = (uintptr_t)next;
  152|      2|}
stringio.c:_PyGCHead_SET_PREV:
  160|      2|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      2|    uintptr_t uprev = (uintptr_t)prev;
  162|      2|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      2|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      2|}
itertoolsmodule.c:_PyObject_GC_IS_TRACKED:
   73|     10|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     10|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     10|    return (gc->_gc_next != 0);
   79|     10|#endif
   80|     10|}
itertoolsmodule.c:_Py_AS_GC:
   17|     12|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     12|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     12|    return (PyGC_Head*)gc;
   20|     12|}
itertoolsmodule.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  215|      2|                          "object already tracked by the garbage collector",
  216|      2|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  222|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      2|                          "object is in generation which is garbage collected",
  224|      2|                          filename, lineno, __func__);
  225|       |
  226|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      2|    PyGC_Head *generation0 = gcstate->generation0;
  228|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      2|    _PyGCHead_SET_NEXT(last, gc);
  230|      2|    _PyGCHead_SET_PREV(gc, last);
  231|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      2|    generation0->_gc_prev = (uintptr_t)gc;
  233|      2|    gcstate->heap_size++;
  234|      2|#endif
  235|      2|}
itertoolsmodule.c:_PyGCHead_SET_NEXT:
  150|      4|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      4|    gc->_gc_next = (uintptr_t)next;
  152|      4|}
itertoolsmodule.c:_PyGCHead_SET_PREV:
  160|      2|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      2|    uintptr_t uprev = (uintptr_t)prev;
  162|      2|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      2|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      2|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  255|      2|                          "object not tracked by the garbage collector",
  256|      2|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  262|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|      2|    _PyGCHead_SET_NEXT(prev, next);
  265|      2|    _PyGCHead_SET_PREV(next, prev);
  266|      2|    gc->_gc_next = 0;
  267|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|      2|    gcstate->heap_size--;
  270|      2|#endif
  271|      2|}
bytearrayobject.c:_Py_AS_GC:
   17|      4|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      4|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      4|    return (PyGC_Head*)gc;
   20|      4|}
bytearrayobject.c:_PyGCHead_PREV:
  155|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|      2|    return (PyGC_Head*)prev;
  158|      2|}
bytearrayobject.c:_PyGCHead_NEXT:
  146|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|      2|    uintptr_t next = gc->_gc_next;
  148|      2|    return (PyGC_Head*)next;
  149|      2|}
bytearrayobject.c:_PyGCHead_SET_NEXT:
  150|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      6|    gc->_gc_next = (uintptr_t)next;
  152|      6|}
bytearrayobject.c:_PyGCHead_SET_PREV:
  160|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      4|    uintptr_t uprev = (uintptr_t)prev;
  162|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      4|}
bytearrayobject.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  215|      2|                          "object already tracked by the garbage collector",
  216|      2|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  222|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      2|                          "object is in generation which is garbage collected",
  224|      2|                          filename, lineno, __func__);
  225|       |
  226|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      2|    PyGC_Head *generation0 = gcstate->generation0;
  228|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      2|    _PyGCHead_SET_NEXT(last, gc);
  230|      2|    _PyGCHead_SET_PREV(gc, last);
  231|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      2|    generation0->_gc_prev = (uintptr_t)gc;
  233|      2|    gcstate->heap_size++;
  234|      2|#endif
  235|      2|}
capsule.c:_PyObject_GC_IS_TRACKED:
   73|      2|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      2|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      2|    return (gc->_gc_next != 0);
   79|      2|#endif
   80|      2|}
capsule.c:_Py_AS_GC:
   17|      4|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      4|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      4|    return (PyGC_Head*)gc;
   20|      4|}
capsule.c:_PyObject_GC_TRACK:
  213|      2|{
  214|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  215|      2|                          "object already tracked by the garbage collector",
  216|      2|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|      2|    ((void)0)
  ------------------
  222|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      2|                          "object is in generation which is garbage collected",
  224|      2|                          filename, lineno, __func__);
  225|       |
  226|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      2|    PyGC_Head *generation0 = gcstate->generation0;
  228|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      2|    _PyGCHead_SET_NEXT(last, gc);
  230|      2|    _PyGCHead_SET_PREV(gc, last);
  231|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      2|    generation0->_gc_prev = (uintptr_t)gc;
  233|      2|    gcstate->heap_size++;
  234|      2|#endif
  235|      2|}
capsule.c:_PyGCHead_SET_NEXT:
  150|      4|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|      4|    gc->_gc_next = (uintptr_t)next;
  152|      4|}
capsule.c:_PyGCHead_SET_PREV:
  160|      2|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      2|    uintptr_t uprev = (uintptr_t)prev;
  162|      2|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      2|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      2|}
cellobject.c:_PyObject_GC_TRACK:
  213|  7.19M|{
  214|  7.19M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  7.19M|    ((void)0)
  ------------------
  215|  7.19M|                          "object already tracked by the garbage collector",
  216|  7.19M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  7.19M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  7.19M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  7.19M|    ((void)0)
  ------------------
  222|  7.19M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  7.19M|                          "object is in generation which is garbage collected",
  224|  7.19M|                          filename, lineno, __func__);
  225|       |
  226|  7.19M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  7.19M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  7.19M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  7.19M|    _PyGCHead_SET_NEXT(last, gc);
  230|  7.19M|    _PyGCHead_SET_PREV(gc, last);
  231|  7.19M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  7.19M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  7.19M|    gcstate->heap_size++;
  234|  7.19M|#endif
  235|  7.19M|}
cellobject.c:_Py_AS_GC:
   17|  14.3M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  14.3M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  14.3M|    return (PyGC_Head*)gc;
   20|  14.3M|}
cellobject.c:_PyGCHead_SET_NEXT:
  150|  21.5M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  21.5M|    gc->_gc_next = (uintptr_t)next;
  152|  21.5M|}
cellobject.c:_PyGCHead_SET_PREV:
  160|  14.3M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  14.3M|    uintptr_t uprev = (uintptr_t)prev;
  162|  14.3M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  14.3M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  14.3M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  14.3M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  14.3M|}
cellobject.c:_PyObject_GC_UNTRACK:
  253|  7.19M|{
  254|  7.19M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  7.19M|    ((void)0)
  ------------------
  255|  7.19M|                          "object not tracked by the garbage collector",
  256|  7.19M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  7.19M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  7.19M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  7.19M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  7.19M|    _PyGCHead_SET_NEXT(prev, next);
  265|  7.19M|    _PyGCHead_SET_PREV(next, prev);
  266|  7.19M|    gc->_gc_next = 0;
  267|  7.19M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  7.19M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  7.19M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  7.19M|    gcstate->heap_size--;
  270|  7.19M|#endif
  271|  7.19M|}
cellobject.c:_PyGCHead_PREV:
  155|  7.19M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  7.19M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  7.19M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  7.19M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  7.19M|    return (PyGC_Head*)prev;
  158|  7.19M|}
cellobject.c:_PyGCHead_NEXT:
  146|  7.19M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  7.19M|    uintptr_t next = gc->_gc_next;
  148|  7.19M|    return (PyGC_Head*)next;
  149|  7.19M|}
classobject.c:_PyObject_GC_TRACK:
  213|  1.79M|{
  214|  1.79M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.79M|    ((void)0)
  ------------------
  215|  1.79M|                          "object already tracked by the garbage collector",
  216|  1.79M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.79M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.79M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  1.79M|    ((void)0)
  ------------------
  222|  1.79M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.79M|                          "object is in generation which is garbage collected",
  224|  1.79M|                          filename, lineno, __func__);
  225|       |
  226|  1.79M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.79M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.79M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.79M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.79M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.79M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.79M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.79M|    gcstate->heap_size++;
  234|  1.79M|#endif
  235|  1.79M|}
classobject.c:_Py_AS_GC:
   17|  3.59M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.59M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.59M|    return (PyGC_Head*)gc;
   20|  3.59M|}
classobject.c:_PyGCHead_SET_NEXT:
  150|  5.39M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  5.39M|    gc->_gc_next = (uintptr_t)next;
  152|  5.39M|}
classobject.c:_PyGCHead_SET_PREV:
  160|  3.59M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.59M|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.59M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  3.59M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.59M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.59M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.59M|}
classobject.c:_PyObject_GC_UNTRACK:
  253|  1.79M|{
  254|  1.79M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.79M|    ((void)0)
  ------------------
  255|  1.79M|                          "object not tracked by the garbage collector",
  256|  1.79M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.79M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.79M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.79M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.79M|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.79M|    _PyGCHead_SET_PREV(next, prev);
  266|  1.79M|    gc->_gc_next = 0;
  267|  1.79M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.79M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.79M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.79M|    gcstate->heap_size--;
  270|  1.79M|#endif
  271|  1.79M|}
classobject.c:_PyGCHead_PREV:
  155|  1.79M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.79M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.79M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.79M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.79M|    return (PyGC_Head*)prev;
  158|  1.79M|}
classobject.c:_PyGCHead_NEXT:
  146|  1.79M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.79M|    uintptr_t next = gc->_gc_next;
  148|  1.79M|    return (PyGC_Head*)next;
  149|  1.79M|}
descrobject.c:_PyObject_GC_UNTRACK:
  253|  16.0k|{
  254|  16.0k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  16.0k|    ((void)0)
  ------------------
  255|  16.0k|                          "object not tracked by the garbage collector",
  256|  16.0k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  16.0k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  16.0k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  16.0k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  16.0k|    _PyGCHead_SET_NEXT(prev, next);
  265|  16.0k|    _PyGCHead_SET_PREV(next, prev);
  266|  16.0k|    gc->_gc_next = 0;
  267|  16.0k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  16.0k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  16.0k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  16.0k|    gcstate->heap_size--;
  270|  16.0k|#endif
  271|  16.0k|}
descrobject.c:_Py_AS_GC:
   17|  35.4k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  35.4k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  35.4k|    return (PyGC_Head*)gc;
   20|  35.4k|}
descrobject.c:_PyGCHead_PREV:
  155|  16.0k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  16.0k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  16.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  16.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  16.0k|    return (PyGC_Head*)prev;
  158|  16.0k|}
descrobject.c:_PyGCHead_NEXT:
  146|  16.0k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  16.0k|    uintptr_t next = gc->_gc_next;
  148|  16.0k|    return (PyGC_Head*)next;
  149|  16.0k|}
descrobject.c:_PyGCHead_SET_NEXT:
  150|  54.9k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  54.9k|    gc->_gc_next = (uintptr_t)next;
  152|  54.9k|}
descrobject.c:_PyGCHead_SET_PREV:
  160|  35.4k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  35.4k|    uintptr_t uprev = (uintptr_t)prev;
  162|  35.4k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  35.4k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  35.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  35.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  35.4k|}
descrobject.c:_PyObject_GC_TRACK:
  213|  19.4k|{
  214|  19.4k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  19.4k|    ((void)0)
  ------------------
  215|  19.4k|                          "object already tracked by the garbage collector",
  216|  19.4k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  19.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  19.4k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  19.4k|    ((void)0)
  ------------------
  222|  19.4k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  19.4k|                          "object is in generation which is garbage collected",
  224|  19.4k|                          filename, lineno, __func__);
  225|       |
  226|  19.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  19.4k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  19.4k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  19.4k|    _PyGCHead_SET_NEXT(last, gc);
  230|  19.4k|    _PyGCHead_SET_PREV(gc, last);
  231|  19.4k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  19.4k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  19.4k|    gcstate->heap_size++;
  234|  19.4k|#endif
  235|  19.4k|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.63k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  4.63k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.63k|    return (gc->_gc_next != 0);
   79|  4.63k|#endif
   80|  4.63k|}
enumobject.c:_Py_AS_GC:
   17|  4.77k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.77k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.77k|    return (PyGC_Head*)gc;
   20|  4.77k|}
enumobject.c:_PyObject_GC_TRACK:
  213|    140|{
  214|    140|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    140|    ((void)0)
  ------------------
  215|    140|                          "object already tracked by the garbage collector",
  216|    140|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    140|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    140|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    140|    ((void)0)
  ------------------
  222|    140|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    140|                          "object is in generation which is garbage collected",
  224|    140|                          filename, lineno, __func__);
  225|       |
  226|    140|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    140|    PyGC_Head *generation0 = gcstate->generation0;
  228|    140|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    140|    _PyGCHead_SET_NEXT(last, gc);
  230|    140|    _PyGCHead_SET_PREV(gc, last);
  231|    140|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    140|    generation0->_gc_prev = (uintptr_t)gc;
  233|    140|    gcstate->heap_size++;
  234|    140|#endif
  235|    140|}
enumobject.c:_PyGCHead_SET_NEXT:
  150|    280|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    280|    gc->_gc_next = (uintptr_t)next;
  152|    280|}
enumobject.c:_PyGCHead_SET_PREV:
  160|    140|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    140|    uintptr_t uprev = (uintptr_t)prev;
  162|    140|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    140|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    140|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    140|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    140|}
genobject.c:_PyObject_GC_UNTRACK:
  253|  3.10M|{
  254|  3.10M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.10M|    ((void)0)
  ------------------
  255|  3.10M|                          "object not tracked by the garbage collector",
  256|  3.10M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.10M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.10M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.10M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.10M|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.10M|    _PyGCHead_SET_PREV(next, prev);
  266|  3.10M|    gc->_gc_next = 0;
  267|  3.10M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.10M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.10M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.10M|    gcstate->heap_size--;
  270|  3.10M|#endif
  271|  3.10M|}
genobject.c:_Py_AS_GC:
   17|  6.21M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.21M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.21M|    return (PyGC_Head*)gc;
   20|  6.21M|}
genobject.c:_PyGCHead_PREV:
  155|  3.10M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.10M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.10M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.10M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.10M|    return (PyGC_Head*)prev;
  158|  3.10M|}
genobject.c:_PyGCHead_NEXT:
  146|  3.10M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.10M|    uintptr_t next = gc->_gc_next;
  148|  3.10M|    return (PyGC_Head*)next;
  149|  3.10M|}
genobject.c:_PyGCHead_SET_NEXT:
  150|  9.32M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  9.32M|    gc->_gc_next = (uintptr_t)next;
  152|  9.32M|}
genobject.c:_PyGCHead_SET_PREV:
  160|  6.21M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.21M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.21M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.21M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.21M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.21M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.21M|}
genobject.c:_PyObject_GC_TRACK:
  213|  3.10M|{
  214|  3.10M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.10M|    ((void)0)
  ------------------
  215|  3.10M|                          "object already tracked by the garbage collector",
  216|  3.10M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.10M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.10M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  3.10M|    ((void)0)
  ------------------
  222|  3.10M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.10M|                          "object is in generation which is garbage collected",
  224|  3.10M|                          filename, lineno, __func__);
  225|       |
  226|  3.10M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.10M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.10M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.10M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.10M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.10M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.10M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.10M|    gcstate->heap_size++;
  234|  3.10M|#endif
  235|  3.10M|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.36M|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  2.36M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.36M|    return (gc->_gc_next != 0);
   79|  2.36M|#endif
   80|  2.36M|}
frameobject.c:_Py_AS_GC:
   17|  3.34M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.34M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.34M|    return (PyGC_Head*)gc;
   20|  3.34M|}
frameobject.c:_PyObject_GC_UNTRACK:
  253|   980k|{
  254|   980k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   980k|    ((void)0)
  ------------------
  255|   980k|                          "object not tracked by the garbage collector",
  256|   980k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   980k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   980k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   980k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   980k|    _PyGCHead_SET_NEXT(prev, next);
  265|   980k|    _PyGCHead_SET_PREV(next, prev);
  266|   980k|    gc->_gc_next = 0;
  267|   980k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   980k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   980k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   980k|    gcstate->heap_size--;
  270|   980k|#endif
  271|   980k|}
frameobject.c:_PyGCHead_PREV:
  155|   980k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   980k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   980k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   980k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   980k|    return (PyGC_Head*)prev;
  158|   980k|}
frameobject.c:_PyGCHead_NEXT:
  146|   980k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   980k|    uintptr_t next = gc->_gc_next;
  148|   980k|    return (PyGC_Head*)next;
  149|   980k|}
frameobject.c:_PyGCHead_SET_NEXT:
  150|   980k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   980k|    gc->_gc_next = (uintptr_t)next;
  152|   980k|}
frameobject.c:_PyGCHead_SET_PREV:
  160|   980k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   980k|    uintptr_t uprev = (uintptr_t)prev;
  162|   980k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   980k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   980k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   980k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   980k|}
funcobject.c:_PyObject_GC_TRACK:
  213|  3.46M|{
  214|  3.46M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.46M|    ((void)0)
  ------------------
  215|  3.46M|                          "object already tracked by the garbage collector",
  216|  3.46M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.46M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.46M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  3.46M|    ((void)0)
  ------------------
  222|  3.46M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.46M|                          "object is in generation which is garbage collected",
  224|  3.46M|                          filename, lineno, __func__);
  225|       |
  226|  3.46M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.46M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.46M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.46M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.46M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.46M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.46M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.46M|    gcstate->heap_size++;
  234|  3.46M|#endif
  235|  3.46M|}
funcobject.c:_Py_AS_GC:
   17|  6.90M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.90M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.90M|    return (PyGC_Head*)gc;
   20|  6.90M|}
funcobject.c:_PyGCHead_SET_NEXT:
  150|  10.3M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  10.3M|    gc->_gc_next = (uintptr_t)next;
  152|  10.3M|}
funcobject.c:_PyGCHead_SET_PREV:
  160|  6.90M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.90M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.90M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.90M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.90M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.90M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.90M|}
funcobject.c:_PyObject_GC_UNTRACK:
  253|  3.44M|{
  254|  3.44M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.44M|    ((void)0)
  ------------------
  255|  3.44M|                          "object not tracked by the garbage collector",
  256|  3.44M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.44M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.44M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.44M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.44M|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.44M|    _PyGCHead_SET_PREV(next, prev);
  266|  3.44M|    gc->_gc_next = 0;
  267|  3.44M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.44M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.44M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.44M|    gcstate->heap_size--;
  270|  3.44M|#endif
  271|  3.44M|}
funcobject.c:_PyGCHead_PREV:
  155|  3.44M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.44M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.44M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.44M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.44M|    return (PyGC_Head*)prev;
  158|  3.44M|}
funcobject.c:_PyGCHead_NEXT:
  146|  3.44M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.44M|    uintptr_t next = gc->_gc_next;
  148|  3.44M|    return (PyGC_Head*)next;
  149|  3.44M|}
iterobject.c:_PyObject_GC_TRACK:
  213|    700|{
  214|    700|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    700|    ((void)0)
  ------------------
  215|    700|                          "object already tracked by the garbage collector",
  216|    700|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    700|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    700|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    700|    ((void)0)
  ------------------
  222|    700|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    700|                          "object is in generation which is garbage collected",
  224|    700|                          filename, lineno, __func__);
  225|       |
  226|    700|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    700|    PyGC_Head *generation0 = gcstate->generation0;
  228|    700|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    700|    _PyGCHead_SET_NEXT(last, gc);
  230|    700|    _PyGCHead_SET_PREV(gc, last);
  231|    700|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    700|    generation0->_gc_prev = (uintptr_t)gc;
  233|    700|    gcstate->heap_size++;
  234|    700|#endif
  235|    700|}
iterobject.c:_Py_AS_GC:
   17|  1.40k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.40k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.40k|    return (PyGC_Head*)gc;
   20|  1.40k|}
iterobject.c:_PyGCHead_SET_NEXT:
  150|  2.10k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  2.10k|    gc->_gc_next = (uintptr_t)next;
  152|  2.10k|}
iterobject.c:_PyGCHead_SET_PREV:
  160|  1.40k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.40k|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.40k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  1.40k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.40k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.40k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.40k|}
iterobject.c:_PyObject_GC_UNTRACK:
  253|    700|{
  254|    700|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    700|    ((void)0)
  ------------------
  255|    700|                          "object not tracked by the garbage collector",
  256|    700|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    700|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    700|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    700|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    700|    _PyGCHead_SET_NEXT(prev, next);
  265|    700|    _PyGCHead_SET_PREV(next, prev);
  266|    700|    gc->_gc_next = 0;
  267|    700|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    700|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    700|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    700|    gcstate->heap_size--;
  270|    700|#endif
  271|    700|}
iterobject.c:_PyGCHead_PREV:
  155|    700|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    700|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    700|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    700|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    700|    return (PyGC_Head*)prev;
  158|    700|}
iterobject.c:_PyGCHead_NEXT:
  146|    700|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    700|    uintptr_t next = gc->_gc_next;
  148|    700|    return (PyGC_Head*)next;
  149|    700|}
lazyimportobject.c:_PyObject_GC_TRACK:
  213|     62|{
  214|     62|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     62|    ((void)0)
  ------------------
  215|     62|                          "object already tracked by the garbage collector",
  216|     62|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     62|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     62|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|     62|    ((void)0)
  ------------------
  222|     62|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     62|                          "object is in generation which is garbage collected",
  224|     62|                          filename, lineno, __func__);
  225|       |
  226|     62|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     62|    PyGC_Head *generation0 = gcstate->generation0;
  228|     62|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     62|    _PyGCHead_SET_NEXT(last, gc);
  230|     62|    _PyGCHead_SET_PREV(gc, last);
  231|     62|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     62|    generation0->_gc_prev = (uintptr_t)gc;
  233|     62|    gcstate->heap_size++;
  234|     62|#endif
  235|     62|}
lazyimportobject.c:_Py_AS_GC:
   17|     80|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     80|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     80|    return (PyGC_Head*)gc;
   20|     80|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  150|    142|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    142|    gc->_gc_next = (uintptr_t)next;
  152|    142|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  160|     80|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     80|    uintptr_t uprev = (uintptr_t)prev;
  162|     80|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     80|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     80|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     80|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     80|}
lazyimportobject.c:_PyObject_GC_UNTRACK:
  253|     18|{
  254|     18|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     18|    ((void)0)
  ------------------
  255|     18|                          "object not tracked by the garbage collector",
  256|     18|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     18|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     18|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     18|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     18|    _PyGCHead_SET_NEXT(prev, next);
  265|     18|    _PyGCHead_SET_PREV(next, prev);
  266|     18|    gc->_gc_next = 0;
  267|     18|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     18|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     18|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     18|    gcstate->heap_size--;
  270|     18|#endif
  271|     18|}
lazyimportobject.c:_PyGCHead_PREV:
  155|     18|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     18|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     18|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     18|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     18|    return (PyGC_Head*)prev;
  158|     18|}
lazyimportobject.c:_PyGCHead_NEXT:
  146|     18|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     18|    uintptr_t next = gc->_gc_next;
  148|     18|    return (PyGC_Head*)next;
  149|     18|}
odictobject.c:_PyObject_GC_TRACK:
  213|  52.4k|{
  214|  52.4k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  52.4k|    ((void)0)
  ------------------
  215|  52.4k|                          "object already tracked by the garbage collector",
  216|  52.4k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  52.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  52.4k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  52.4k|    ((void)0)
  ------------------
  222|  52.4k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  52.4k|                          "object is in generation which is garbage collected",
  224|  52.4k|                          filename, lineno, __func__);
  225|       |
  226|  52.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  52.4k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  52.4k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  52.4k|    _PyGCHead_SET_NEXT(last, gc);
  230|  52.4k|    _PyGCHead_SET_PREV(gc, last);
  231|  52.4k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  52.4k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  52.4k|    gcstate->heap_size++;
  234|  52.4k|#endif
  235|  52.4k|}
odictobject.c:_Py_AS_GC:
   17|   104k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   104k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   104k|    return (PyGC_Head*)gc;
   20|   104k|}
odictobject.c:_PyGCHead_SET_NEXT:
  150|   157k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   157k|    gc->_gc_next = (uintptr_t)next;
  152|   157k|}
odictobject.c:_PyGCHead_SET_PREV:
  160|   104k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   104k|    uintptr_t uprev = (uintptr_t)prev;
  162|   104k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   104k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   104k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   104k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   104k|}
odictobject.c:_PyObject_GC_UNTRACK:
  253|  52.4k|{
  254|  52.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  52.4k|    ((void)0)
  ------------------
  255|  52.4k|                          "object not tracked by the garbage collector",
  256|  52.4k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  52.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  52.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  52.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  52.4k|    _PyGCHead_SET_NEXT(prev, next);
  265|  52.4k|    _PyGCHead_SET_PREV(next, prev);
  266|  52.4k|    gc->_gc_next = 0;
  267|  52.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  52.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  52.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  52.4k|    gcstate->heap_size--;
  270|  52.4k|#endif
  271|  52.4k|}
odictobject.c:_PyGCHead_PREV:
  155|  52.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  52.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  52.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  52.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  52.4k|    return (PyGC_Head*)prev;
  158|  52.4k|}
odictobject.c:_PyGCHead_NEXT:
  146|  52.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  52.4k|    uintptr_t next = gc->_gc_next;
  148|  52.4k|    return (PyGC_Head*)next;
  149|  52.4k|}
odictobject.c:_PyObject_GC_IS_TRACKED:
   73|     12|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     12|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     12|    return (gc->_gc_next != 0);
   79|     12|#endif
   80|     12|}
methodobject.c:_PyObject_GC_TRACK:
  213|  9.32M|{
  214|  9.32M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  9.32M|    ((void)0)
  ------------------
  215|  9.32M|                          "object already tracked by the garbage collector",
  216|  9.32M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  9.32M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  9.32M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  9.32M|    ((void)0)
  ------------------
  222|  9.32M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  9.32M|                          "object is in generation which is garbage collected",
  224|  9.32M|                          filename, lineno, __func__);
  225|       |
  226|  9.32M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  9.32M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  9.32M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  9.32M|    _PyGCHead_SET_NEXT(last, gc);
  230|  9.32M|    _PyGCHead_SET_PREV(gc, last);
  231|  9.32M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  9.32M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  9.32M|    gcstate->heap_size++;
  234|  9.32M|#endif
  235|  9.32M|}
methodobject.c:_Py_AS_GC:
   17|  9.32M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.32M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.32M|    return (PyGC_Head*)gc;
   20|  9.32M|}
methodobject.c:_PyGCHead_SET_NEXT:
  150|  18.6M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  18.6M|    gc->_gc_next = (uintptr_t)next;
  152|  18.6M|}
methodobject.c:_PyGCHead_SET_PREV:
  160|  9.32M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  9.32M|    uintptr_t uprev = (uintptr_t)prev;
  162|  9.32M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  9.32M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  9.32M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  9.32M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  9.32M|}

ceval.c:_PyGen_GetGeneratorFromFrame:
   18|  3.68M|{
   19|  3.68M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
   20|       |    size_t offset_in_gen = offsetof(PyGenObject, gi_iframe);
   21|  3.68M|    return (PyGenObject *)(((char *)frame) - offset_in_gen);
   22|  3.68M|}

flowgraph.c:_Py_hashtable_get_entry:
  124|  2.39k|{
  125|  2.39k|    return ht->get_entry_func(ht, key);
  126|  2.39k|}
import.c:_Py_hashtable_get_entry:
  124|    118|{
  125|    118|    return ht->get_entry_func(ht, key);
  126|    118|}

sentinelobject.c:_PyFrame_GetFunction:
   95|     10|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   96|     10|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   97|       |    assert(PyFunction_Check(func));
   98|     10|    return (PyFunctionObject *)func;
   99|     10|}
typeobject.c:_PyThreadState_GetFrame:
  286|     92|{
  287|     92|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  288|     92|}
typeobject.c:_PyFrame_GetFirstComplete:
  277|     92|{
  278|     92|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (278:12): [True: 92, False: 0]
  |  Branch (278:21): [True: 0, False: 92]
  ------------------
  279|      0|        frame = frame->previous;
  280|      0|    }
  281|     92|    return frame;
  282|     92|}
typeobject.c:_PyFrame_IsIncomplete:
  266|     92|{
  267|     92|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (267:9): [True: 0, False: 92]
  ------------------
  268|      0|        return true;
  269|      0|    }
  270|     92|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (270:12): [True: 92, False: 0]
  ------------------
  271|     92|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (271:12): [True: 0, False: 92]
  ------------------
  272|     92|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  273|     92|}
typeobject.c:_PyFrame_GetBytecode:
   59|     92|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|     92|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     92|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     92|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     92|#endif
   68|     92|}
typeobject.c:_PyFrame_GetCode:
   20|    276|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    276|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    276|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    276|    return (PyCodeObject *)executable;
   25|    276|}
typeobject.c:_PyFrame_GetLocalsArray:
  223|    184|{
  224|    184|    return frame->localsplus;
  225|    184|}
ceval.c:_PyFrame_GetCode:
   20|   169M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   169M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|   169M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|   169M|    return (PyCodeObject *)executable;
   25|   169M|}
ceval.c:_PyFrame_GetStackPointer:
  232|   945M|{
  233|   945M|#ifndef _Py_JIT
  234|   945M|    assert(frame->stackpointer != NULL);
  235|   945M|#endif
  236|   945M|    _PyStackRef *sp = frame->stackpointer;
  237|       |#ifndef NDEBUG
  238|       |    frame->stackpointer = NULL;
  239|       |#endif
  240|   945M|    return sp;
  241|   945M|}
ceval.c:_PyFrame_SetStackPointer:
  245|   940M|{
  246|       |/* Avoid bloating the JIT code */
  247|   940M|#ifndef _Py_JIT
  248|       |    assert(frame->stackpointer == NULL);
  249|   940M|#endif
  250|   940M|    frame->stackpointer = stack_pointer;
  251|   940M|}
ceval.c:_PyThreadState_HasStackSpace:
  339|  47.2M|{
  340|  47.2M|    assert(
  341|  47.2M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  342|  47.2M|        ||
  343|  47.2M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  344|  47.2M|    );
  345|  47.2M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (345:12): [True: 47.2M, False: 0]
  ------------------
  346|  47.2M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (346:9): [True: 47.2M, False: 372]
  ------------------
  347|  47.2M|}
ceval.c:_PyFrame_PushUnchecked:
  360|  47.2M|{
  361|  47.2M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  47.2M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  362|  47.2M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  363|  47.2M|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  364|  47.2M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  365|  47.2M|    tstate->datastack_top += code->co_framesize;
  366|  47.2M|    assert(tstate->datastack_top < tstate->datastack_limit);
  367|       |    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  368|  47.2M|                        previous);
  369|  47.2M|    return new_frame;
  370|  47.2M|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  376|  9.28k|{
  377|  9.28k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  9.28k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  378|  9.28k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  379|  9.28k|    tstate->datastack_top += code->co_framesize;
  380|  9.28k|    assert(tstate->datastack_top < tstate->datastack_limit);
  381|  9.28k|    frame->previous = previous;
  382|  9.28k|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|  9.28k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  9.28k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  383|  9.28k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  9.28k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|       |#ifdef Py_DEBUG
  385|       |    frame->f_builtins = NULL;
  386|       |    frame->f_globals = NULL;
  387|       |#endif
  388|  9.28k|    frame->f_locals = NULL;
  389|  9.28k|    assert(stackdepth <= code->co_stacksize);
  390|  9.28k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  391|  9.28k|    frame->frame_obj = NULL;
  392|       |#ifdef Py_GIL_DISABLED
  393|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  394|       |#else
  395|  9.28k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  9.28k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  9.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  396|  9.28k|#endif
  397|  9.28k|    frame->owner = FRAME_OWNED_BY_THREAD;
  398|  9.28k|    frame->visited = 0;
  399|       |#ifdef Py_DEBUG
  400|       |    frame->lltrace = 0;
  401|       |#endif
  402|  9.28k|    frame->return_offset = 0;
  403|  9.28k|    return frame;
  404|  9.28k|}
ceval.c:_PyFrame_StackPush:
  117|  6.27M|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  6.27M|    *f->stackpointer = value;
  119|  6.27M|    f->stackpointer++;
  120|  6.27M|}
ceval.c:_PyFrame_GetBytecode:
   59|  9.54M|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|  9.54M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  9.54M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  9.54M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  9.54M|#endif
   68|  9.54M|}
ceval.c:_PyFrame_Copy:
  134|  1.55M|{
  135|  1.55M|    dest->f_executable = PyStackRef_MakeHeapSafe(src->f_executable);
  136|       |    // Don't leave a dangling pointer to the old frame when creating generators
  137|       |    // and coroutines:
  138|  1.55M|    dest->previous = NULL;
  139|  1.55M|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  1.55M|    dest->f_globals = src->f_globals;
  141|  1.55M|    dest->f_builtins = src->f_builtins;
  142|  1.55M|    dest->f_locals = src->f_locals;
  143|  1.55M|    dest->frame_obj = src->frame_obj;
  144|  1.55M|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  1.55M|    assert(src->stackpointer != NULL);
  149|  1.55M|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  1.55M|    assert(stacktop >= 0);
  151|  1.55M|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  1.55M|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->lltrace = src->lltrace;
  156|       |#endif
  157|  9.02M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (157:21): [True: 7.46M, False: 1.55M]
  ------------------
  158|  7.46M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  159|  7.46M|    }
  160|  1.55M|}
ceval.c:_PyFrame_IsIncomplete:
  266|  2.82M|{
  267|  2.82M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (267:9): [True: 20, False: 2.82M]
  ------------------
  268|     20|        return true;
  269|     20|    }
  270|  2.82M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (270:12): [True: 2.80M, False: 23.7k]
  ------------------
  271|  2.80M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (271:12): [True: 0, False: 2.80M]
  ------------------
  272|  2.80M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  273|  2.82M|}
ceval.c:_PyFrame_GetFrameObject:
  300|  2.82M|{
  301|       |
  302|  2.82M|    assert(!_PyFrame_IsIncomplete(frame));
  303|  2.82M|    PyFrameObject *res =  frame->frame_obj;
  304|  2.82M|    if (res != NULL) {
  ------------------
  |  Branch (304:9): [True: 1.41M, False: 1.41M]
  ------------------
  305|  1.41M|        return res;
  306|  1.41M|    }
  307|  1.41M|    return _PyFrame_MakeAndSetFrameObject(frame);
  308|  2.82M|}
ceval.c:_PyFrame_Stackbase:
  101|  3.36M|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  102|  3.36M|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  103|  3.36M|}
ceval.c:_PyFrame_StackPop:
  111|  6.94M|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  112|       |    assert(f->stackpointer > _PyFrame_Stackbase(f));
  113|  6.94M|    f->stackpointer--;
  114|  6.94M|    return *f->stackpointer;
  115|  6.94M|}
ceval.c:_PyFrame_Initialize:
  190|  58.4M|{
  191|  58.4M|    frame->previous = previous;
  192|  58.4M|    frame->f_funcobj = func;
  193|  58.4M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  58.4M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  58.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|  58.4M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  195|  58.4M|    frame->f_builtins = func_obj->func_builtins;
  196|  58.4M|    frame->f_globals = func_obj->func_globals;
  197|  58.4M|    frame->f_locals = locals;
  198|  58.4M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  199|  58.4M|    frame->frame_obj = NULL;
  200|       |#ifdef Py_GIL_DISABLED
  201|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  202|       |#else
  203|  58.4M|    (void)tstate;
  204|  58.4M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  58.4M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  58.4M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  205|  58.4M|#endif
  206|  58.4M|    frame->return_offset = 0;
  207|  58.4M|    frame->owner = FRAME_OWNED_BY_THREAD;
  208|  58.4M|    frame->visited = 0;
  209|       |#ifdef Py_DEBUG
  210|       |    frame->lltrace = 0;
  211|       |#endif
  212|       |
  213|   167M|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (213:36): [True: 108M, False: 58.4M]
  ------------------
  214|   108M|        frame->localsplus[i] = PyStackRef_NULL;
  215|   108M|    }
  216|  58.4M|}
ceval.c:_PyThreadState_GetFrame:
  286|  5.44k|{
  287|  5.44k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  288|  5.44k|}
ceval.c:_PyFrame_GetFirstComplete:
  277|  5.44k|{
  278|  5.46k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (278:12): [True: 5.44k, False: 20]
  |  Branch (278:21): [True: 20, False: 5.42k]
  ------------------
  279|     20|        frame = frame->previous;
  280|     20|    }
  281|  5.44k|    return frame;
  282|  5.44k|}
frame.c:_PyFrame_GetCode:
   20|  6.24M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  6.24M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  6.24M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  6.24M|    return (PyCodeObject *)executable;
   25|  6.24M|}
frame.c:_PyFrame_Copy:
  134|   980k|{
  135|   980k|    dest->f_executable = PyStackRef_MakeHeapSafe(src->f_executable);
  136|       |    // Don't leave a dangling pointer to the old frame when creating generators
  137|       |    // and coroutines:
  138|   980k|    dest->previous = NULL;
  139|   980k|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|   980k|    dest->f_globals = src->f_globals;
  141|   980k|    dest->f_builtins = src->f_builtins;
  142|   980k|    dest->f_locals = src->f_locals;
  143|   980k|    dest->frame_obj = src->frame_obj;
  144|   980k|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|   980k|    assert(src->stackpointer != NULL);
  149|   980k|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|   980k|    assert(stacktop >= 0);
  151|   980k|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|   980k|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->lltrace = src->lltrace;
  156|       |#endif
  157|  4.60M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (157:21): [True: 3.62M, False: 980k]
  ------------------
  158|  3.62M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  159|  3.62M|    }
  160|   980k|}
frame.c:_PyFrame_IsIncomplete:
  266|  1.94M|{
  267|  1.94M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (267:9): [True: 5.56k, False: 1.93M]
  ------------------
  268|  5.56k|        return true;
  269|  5.56k|    }
  270|  1.93M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (270:12): [True: 1.93M, False: 213]
  ------------------
  271|  1.93M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (271:12): [True: 0, False: 1.93M]
  ------------------
  272|  1.93M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  273|  1.94M|}
frame.c:_PyFrame_GetFirstComplete:
  277|   980k|{
  278|   986k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (278:12): [True: 962k, False: 23.5k]
  |  Branch (278:21): [True: 5.56k, False: 957k]
  ------------------
  279|  5.56k|        frame = frame->previous;
  280|  5.56k|    }
  281|   980k|    return frame;
  282|   980k|}
frame.c:_PyFrame_GetFrameObject:
  300|   957k|{
  301|       |
  302|   957k|    assert(!_PyFrame_IsIncomplete(frame));
  303|   957k|    PyFrameObject *res =  frame->frame_obj;
  304|   957k|    if (res != NULL) {
  ------------------
  |  Branch (304:9): [True: 223, False: 956k]
  ------------------
  305|    223|        return res;
  306|    223|    }
  307|   956k|    return _PyFrame_MakeAndSetFrameObject(frame);
  308|   957k|}
frame.c:_PyFrame_GetBytecode:
   59|  1.93M|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|  1.93M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  1.93M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  1.93M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  1.93M|#endif
   68|  1.93M|}
gc.c:_PyFrame_GetLocalsArray:
  223|  17.5k|{
  224|  17.5k|    return frame->localsplus;
  225|  17.5k|}
intrinsics.c:_PyFrame_GetCode:
   20|  23.5k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  23.5k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  23.5k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  23.5k|    return (PyCodeObject *)executable;
   25|  23.5k|}
pystate.c:_PyThreadState_HasStackSpace:
  339|  11.2M|{
  340|  11.2M|    assert(
  341|  11.2M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  342|  11.2M|        ||
  343|  11.2M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  344|  11.2M|    );
  345|  11.2M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (345:12): [True: 11.2M, False: 2]
  ------------------
  346|  11.2M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (346:9): [True: 11.2M, False: 472]
  ------------------
  347|  11.2M|}
sysmodule.c:_PyFrame_GetFirstComplete:
  277|     88|{
  278|     88|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (278:12): [True: 88, False: 0]
  |  Branch (278:21): [True: 0, False: 88]
  ------------------
  279|      0|        frame = frame->previous;
  280|      0|    }
  281|     88|    return frame;
  282|     88|}
sysmodule.c:_PyFrame_IsIncomplete:
  266|    212|{
  267|    212|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (267:9): [True: 0, False: 212]
  ------------------
  268|      0|        return true;
  269|      0|    }
  270|    212|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (270:12): [True: 212, False: 0]
  ------------------
  271|    212|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (271:12): [True: 0, False: 212]
  ------------------
  272|    212|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  273|    212|}
sysmodule.c:_PyFrame_GetBytecode:
   59|    212|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|    212|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    212|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|    212|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|    212|#endif
   68|    212|}
sysmodule.c:_PyFrame_GetCode:
   20|    424|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    424|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    424|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    424|    return (PyCodeObject *)executable;
   25|    424|}
sysmodule.c:_PyFrame_GetFrameObject:
  300|     46|{
  301|       |
  302|     46|    assert(!_PyFrame_IsIncomplete(frame));
  303|     46|    PyFrameObject *res =  frame->frame_obj;
  304|     46|    if (res != NULL) {
  ------------------
  |  Branch (304:9): [True: 0, False: 46]
  ------------------
  305|      0|        return res;
  306|      0|    }
  307|     46|    return _PyFrame_MakeAndSetFrameObject(frame);
  308|     46|}
traceback.c:_PyFrame_GetCode:
   20|  2.82M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  2.82M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  2.82M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  2.82M|    return (PyCodeObject *)executable;
   25|  2.82M|}
traceback.c:_PyFrame_GetBytecode:
   59|  2.82M|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|  2.82M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  2.82M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.82M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  2.82M|#endif
   68|  2.82M|}
genobject.c:_PyFrame_StackPush:
  117|   283k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|   283k|    *f->stackpointer = value;
  119|   283k|    f->stackpointer++;
  120|   283k|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  126|  1.55M|{
  127|       |    /* This function needs to remain in sync with the calculation of
  128|       |     * co_framesize in Tools/build/deepfreeze.py */
  129|  1.55M|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  130|  1.55M|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  1.55M|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  131|  1.55M|}
genobject.c:_PyFrame_GetCode:
   20|  1.57k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  1.57k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  1.57k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  1.57k|    return (PyCodeObject *)executable;
   25|  1.57k|}
frameobject.c:_PyFrame_GetLocalsArray:
  223|   980k|{
  224|   980k|    return frame->localsplus;
  225|   980k|}
frameobject.c:_PyFrame_GetCode:
   20|  1.34k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  1.34k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  1.34k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  1.34k|    return (PyCodeObject *)executable;
   25|  1.34k|}
frameobject.c:_PyFrame_GetFrameObject:
  300|    506|{
  301|       |
  302|    506|    assert(!_PyFrame_IsIncomplete(frame));
  303|    506|    PyFrameObject *res =  frame->frame_obj;
  304|    506|    if (res != NULL) {
  ------------------
  |  Branch (304:9): [True: 370, False: 136]
  ------------------
  305|    370|        return res;
  306|    370|    }
  307|    136|    return _PyFrame_MakeAndSetFrameObject(frame);
  308|    506|}
frameobject.c:_PyFrame_GetFirstComplete:
  277|    546|{
  278|    636|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (278:12): [True: 592, False: 44]
  |  Branch (278:21): [True: 90, False: 502]
  ------------------
  279|     90|        frame = frame->previous;
  280|     90|    }
  281|    546|    return frame;
  282|    546|}
frameobject.c:_PyFrame_IsIncomplete:
  266|    592|{
  267|    592|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (267:9): [True: 90, False: 502]
  ------------------
  268|     90|        return true;
  269|     90|    }
  270|    502|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (270:12): [True: 502, False: 0]
  ------------------
  271|    502|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (271:12): [True: 0, False: 502]
  ------------------
  272|    502|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  273|    592|}
frameobject.c:_PyFrame_GetBytecode:
   59|    502|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|    502|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    502|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|    502|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|    502|#endif
   68|    502|}
lazyimportobject.c:_PyFrame_GetCode:
   20|    124|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    124|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    124|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    124|    return (PyCodeObject *)executable;
   25|    124|}
lazyimportobject.c:_PyFrame_GetBytecode:
   59|     62|{
   60|       |#ifdef Py_GIL_DISABLED
   61|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   62|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   63|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   64|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   65|       |#else
   66|     62|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     62|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     62|#endif
   68|     62|}

listobject.c:_PyList_AppendTakeRef:
   38|  7.23M|{
   39|  7.23M|    assert(self != NULL && newitem != NULL);
   40|  7.23M|    assert(PyList_Check(self));
   41|  7.23M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  7.23M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  7.23M|    Py_ssize_t allocated = self->allocated;
   43|  7.23M|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
   44|  7.23M|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 6.49M, False: 743k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  6.49M|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  6.49M|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  6.49M|#endif
   50|  6.49M|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  6.49M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  6.49M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  6.49M|        return 0;
   52|  6.49M|    }
   53|   743k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  7.23M|}
ceval.c:_PyList_AppendTakeRef:
   38|  3.39M|{
   39|  3.39M|    assert(self != NULL && newitem != NULL);
   40|  3.39M|    assert(PyList_Check(self));
   41|  3.39M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  3.39M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  3.39M|    Py_ssize_t allocated = self->allocated;
   43|  3.39M|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
   44|  3.39M|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 1.72M, False: 1.67M]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  1.72M|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  1.72M|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  1.72M|#endif
   50|  1.72M|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  1.72M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.72M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  1.72M|        return 0;
   52|  1.72M|    }
   53|  1.67M|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  3.39M|}
abstract.c:_PyList_AppendTakeRef:
   38|    292|{
   39|    292|    assert(self != NULL && newitem != NULL);
   40|    292|    assert(PyList_Check(self));
   41|    292|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|    292|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|    292|    Py_ssize_t allocated = self->allocated;
   43|    292|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
   44|    292|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 272, False: 20]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|    272|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|    272|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|    272|#endif
   50|    272|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|    272|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    272|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|    272|        return 0;
   52|    272|    }
   53|     20|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|    292|}

pystate.c:llist_init:
   55|      8|{
   56|      8|    head->next = head;
   57|      8|    head->prev = head;
   58|      8|}
_threadmodule.c:llist_remove:
   80|      2|{
   81|      2|    struct llist_node *prev = node->prev;
   82|      2|    struct llist_node *next = node->next;
   83|      2|    prev->next = next;
   84|      2|    next->prev = prev;
   85|      2|    node->prev = NULL;
   86|       |    node->next = NULL;
   87|      2|}
_threadmodule.c:llist_insert_tail:
   70|      4|{
   71|      4|    node->prev = head->prev;
   72|      4|    node->next = head;
   73|      4|    head->prev->next = node;
   74|      4|    head->prev = node;
   75|      4|}
_threadmodule.c:llist_init:
   55|      2|{
   56|      2|    head->next = head;
   57|      2|    head->prev = head;
   58|      2|}

ceval.c:PyMutex_LockFlags:
   62|     88|{
   63|     88|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     88|#define _Py_UNLOCKED    0
  ------------------
   64|     88|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     88|#define _Py_LOCKED      1
  ------------------
  |  Branch (64:9): [True: 0, False: 88]
  ------------------
   65|      0|        _PyMutex_LockTimed(m, -1, flags);
   66|      0|    }
   67|     88|}
getargs.c:_PyOnceFlag_CallOnce:
  152|   180k|{
  153|   180k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|   180k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (153:9): [True: 180k, False: 65]
  ------------------
  154|   180k|        return 0;
  155|   180k|    }
  156|     65|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  157|   180k|}
pystate.c:PyMutex_LockFlags:
   62|      4|{
   63|      4|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      4|#define _Py_UNLOCKED    0
  ------------------
   64|      4|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      4|#define _Py_LOCKED      1
  ------------------
  |  Branch (64:9): [True: 0, False: 4]
  ------------------
   65|      0|        _PyMutex_LockTimed(m, -1, flags);
   66|      0|    }
   67|      4|}
_threadmodule.c:PyMutex_LockFlags:
   62|      6|{
   63|      6|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      6|#define _Py_UNLOCKED    0
  ------------------
   64|      6|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      6|#define _Py_LOCKED      1
  ------------------
  |  Branch (64:9): [True: 0, False: 6]
  ------------------
   65|      0|        _PyMutex_LockTimed(m, -1, flags);
   66|      0|    }
   67|      6|}
Python-ast.c:_PyOnceFlag_CallOnce:
  152|  54.2k|{
  153|  54.2k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|  54.2k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (153:9): [True: 54.2k, False: 2]
  ------------------
  154|  54.2k|        return 0;
  155|  54.2k|    }
  156|      2|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  157|  54.2k|}

bytesobject.c:_PyLong_FromUnsignedChar:
   81|    516|{
   82|    516|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|    516|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    516|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    516|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|    516|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|    516|}
longobject.c:_PyLong_InitTag:
  292|  7.46M|{
  293|  7.46M|    assert(PyLong_Check(op));
  294|  7.46M|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  7.46M|#define SIGN_ZERO 1
  ------------------
  295|  7.46M|}
longobject.c:_PyLong_GetZero:
   73|  20.5k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  20.5k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  20.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  20.5k|#define _PY_NSMALLNEGINTS           5
  ------------------
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  57.7M|{
  303|  57.7M|    assert(size >= 0);
  304|  57.7M|    assert(-1 <= sign && sign <= 1);
  305|  57.7M|    assert(sign != 0 || size == 0);
  306|  57.7M|    assert(!_PyLong_IsSmallInt(op));
  307|  57.7M|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  57.7M|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  57.7M|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  57.7M|}
longobject.c:_PyLong_CompactSign:
  268|  10.7M|{
  269|  10.7M|    assert(PyLong_Check(op));
  270|  10.7M|    assert(_PyLong_IsCompact((PyLongObject *)op));
  271|  10.7M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  10.7M|#define SIGN_MASK 3
  ------------------
  272|  10.7M|}
longobject.c:_PyLong_NonCompactSign:
  276|  4.68M|{
  277|  4.68M|    assert(PyLong_Check(op));
  278|  4.68M|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  279|  4.68M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  4.68M|#define SIGN_MASK 3
  ------------------
  280|  4.68M|}
longobject.c:_PyLong_DigitCount:
  252|  35.8M|{
  253|  35.8M|    assert(PyLong_Check(op));
  254|  35.8M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  35.8M|#define NON_SIZE_BITS 3
  ------------------
  255|  35.8M|}
longobject.c:_PyLong_FlipSign:
  322|  2.65k|{
  323|  2.65k|    assert(!_PyLong_IsSmallInt(op));
  324|  2.65k|    unsigned int flipped_sign = 2 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  2.65k|#define SIGN_MASK 3
  ------------------
  325|  2.65k|    op->long_value.lv_tag &= NON_SIZE_MASK;
  ------------------
  |  |  318|  2.65k|#define NON_SIZE_MASK ~(uintptr_t)((1 << NON_SIZE_BITS) - 1)
  |  |  ------------------
  |  |  |  |  175|  2.65k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  326|  2.65k|    op->long_value.lv_tag |= flipped_sign;
  327|  2.65k|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|  2.44M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  2.44M|    assert(PyLong_Check(op));
  207|  2.44M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  2.44M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  2.44M|#define NON_SIZE_BITS 3
  ------------------
  208|  2.44M|}
longobject.c:_PyLong_IsNegative:
  225|  12.4M|{
  226|  12.4M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  12.4M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  12.4M|#define SIGN_NEGATIVE 2
  ------------------
  227|  12.4M|}
longobject.c:_PyLong_IsPositive:
  231|  20.8k|{
  232|  20.8k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|  20.8k|#define SIGN_MASK 3
  ------------------
  233|  20.8k|}
longobject.c:_PyLong_IsZero:
  219|  16.2M|{
  220|  16.2M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  16.2M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  16.2M|#define SIGN_ZERO 1
  ------------------
  221|  16.2M|}
longobject.c:_PyLong_SetDigitCount:
  312|  99.2k|{
  313|  99.2k|    assert(size >= 0);
  314|  99.2k|    assert(!_PyLong_IsSmallInt(op));
  315|  99.2k|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|  99.2k|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  99.2k|#define SIGN_MASK 3
  ------------------
  316|  99.2k|}
longobject.c:_PyLong_IsSmallInt:
  238|  49.4M|{
  239|  49.4M|    assert(PyLong_Check(op));
  240|  49.4M|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  49.4M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  49.4M|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 49.4M]
  ------------------
  242|      0|        assert(PyLong_CheckExact(op));
  243|      0|        assert(_Py_IsImmortal(op));
  244|       |        assert((_PyLong_IsCompact(op)
  245|      0|                && _PY_IS_SMALL_INT(_PyLong_CompactValue(op))));
  246|      0|    }
  247|  49.4M|    return is_small_int;
  248|  49.4M|}
longobject.c:_PyLong_BothAreCompact:
  212|  6.91M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  6.91M|    assert(PyLong_Check(a));
  214|  6.91M|    assert(PyLong_Check(b));
  215|  6.91M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  6.91M|#define NON_SIZE_BITS 3
  ------------------
  216|  6.91M|}
longobject.c:_PyLong_SignedDigitCount:
  260|  2.09M|{
  261|  2.09M|    assert(PyLong_Check(op));
  262|  2.09M|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  2.09M|#define SIGN_MASK 3
  ------------------
  263|  2.09M|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.09M|#define NON_SIZE_BITS 3
  ------------------
  264|  2.09M|}
longobject.c:_PyLong_SameSign:
  285|  8.47M|{
  286|  8.47M|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  8.47M|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  8.47M|#define SIGN_MASK 3
  ------------------
  287|  8.47M|}
object.c:_PyLong_GetZero:
   73|      2|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
object.c:_PyLong_GetOne:
   78|      2|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetZero:
   73|   102k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|   102k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|   102k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   102k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|   102k|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|   103k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|   103k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|   103k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   103k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|   103k|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsZero:
  219|     96|{
  220|     96|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     96|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     96|#define SIGN_ZERO 1
  ------------------
  221|     96|}
typeobject.c:_PyLong_GetOne:
   78|     48|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|     48|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     48|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     48|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|     48|#define _PY_NSMALLNEGINTS           5
  ------------------
typeobject.c:_PyLong_IsNegative:
  225|  89.4k|{
  226|  89.4k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  89.4k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  89.4k|#define SIGN_NEGATIVE 2
  ------------------
  227|  89.4k|}
_warnings.c:_PyLong_GetZero:
   73|     10|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|     10|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|     10|#define _PY_NSMALLNEGINTS           5
  ------------------
ceval.c:_PyLong_CheckExactAndCompact:
  345|   173M|{
  346|   173M|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|   173M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   347M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   173M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   173M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 173M, False: 539]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 173M, False: 58.6k]
  ------------------
  347|   173M|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|   277k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|   277k|    assert(PyLong_Check(op));
  207|   277k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|   277k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|   277k|#define NON_SIZE_BITS 3
  ------------------
  208|   277k|}
ceval.c:_PyLong_IsZero:
  219|   157k|{
  220|   157k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|   157k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|   157k|#define SIGN_ZERO 1
  ------------------
  221|   157k|}
codegen.c:_PyLong_GetZero:
   73|      8|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      8|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      8|#define _PY_NSMALLNEGINTS           5
  ------------------
import.c:_PyLong_GetZero:
   73|      6|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      6|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      6|#define _PY_NSMALLNEGINTS           5
  ------------------
instrumentation.c:_PyLong_GetZero:
   73|      2|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
specialize.c:_PyLong_IsNonNegativeCompact:
  205|  1.53k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  1.53k|    assert(PyLong_Check(op));
  207|  1.53k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  1.53k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  1.53k|#define NON_SIZE_BITS 3
  ------------------
  208|  1.53k|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|  1.74k|{
  346|  1.74k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  1.74k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  3.49k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.63k, False: 116]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 1.10k, False: 526]
  ------------------
  347|  1.74k|}
specialize.c:_PyLong_IsZero:
  219|     29|{
  220|     29|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     29|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     29|#define SIGN_ZERO 1
  ------------------
  221|     29|}
textio.c:_PyLong_GetZero:
   73|      6|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      6|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      6|#define _PY_NSMALLNEGINTS           5
  ------------------
itertoolsmodule.c:_PyLong_GetZero:
   73|      4|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      4|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      4|#define _PY_NSMALLNEGINTS           5
  ------------------
itertoolsmodule.c:_PyLong_GetOne:
   78|      8|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|      8|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|      8|#define _PY_NSMALLNEGINTS           5
  ------------------
bytearrayobject.c:_PyLong_FromUnsignedChar:
   81|  8.04M|{
   82|  8.04M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|  8.04M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  8.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|  8.04M|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|  8.04M|}
enumobject.c:_PyLong_GetOne:
   78|  8.21k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  8.21k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  8.21k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.21k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  8.21k|#define _PY_NSMALLNEGINTS           5
  ------------------
funcobject.c:_PyLong_GetOne:
   78|    124|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|    124|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|    124|#define _PY_NSMALLNEGINTS           5
  ------------------

obmalloc.c:_PyAnnotateMemoryMap:
   39|     39|{
   40|     39|    return 0;
   41|     39|}

dictobject.c:_PyModule_GetDict:
   67|      4|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|      4|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|      4|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|       |    assert(dict != NULL);
   71|      4|    return dict;  // borrowed reference
   72|      4|}
moduleobject.c:_PyModule_GetDefOrNull:
   48|    112|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|    112|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|    112|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   50|    112|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 112, False: 0]
  ------------------
   51|    112|        return (PyModuleDef *)mod->md_token;
   52|    112|    }
   53|      0|    return NULL;
   54|    112|}
moduleobject.c:_PyModule_GetDict:
   67|  2.74k|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|  2.74k|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|  2.74k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|       |    assert(dict != NULL);
   71|  2.74k|    return dict;  // borrowed reference
   72|  2.74k|}
moduleobject.c:_PyModule_GetState:
   63|  15.2k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  15.2k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  15.2k|}
typeobject.c:_PyModule_GetState:
   63|     16|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     16|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     16|}
typeobject.c:_PyModule_GetToken:
   57|  7.85M|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|       |    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|  7.85M|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  7.85M|    return (PyModuleDef *)mod->md_token;
   60|  7.85M|}
import.c:_PyModule_GetDefOrNull:
   48|      4|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|      4|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|      4|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   50|      4|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 4, False: 0]
  ------------------
   51|      4|        return (PyModuleDef *)mod->md_token;
   52|      4|    }
   53|      0|    return NULL;
   54|      4|}
_asynciomodule.c:_PyModule_GetState:
   63|     18|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     18|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     18|}
posixmodule.c:_PyModule_GetState:
   63|  3.71k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  3.71k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  3.71k|}
signalmodule.c:_PyModule_GetState:
   63|     18|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     18|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     18|}
_datetimemodule.c:_PyModule_GetState:
   63|    138|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    138|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    138|}
_collectionsmodule.c:_PyModule_GetState:
   63|     18|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     18|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     18|}
_iomodule.c:_PyModule_GetState:
   63|    544|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    544|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    544|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    544|}
bufferedio.c:_PyModule_GetState:
   63|    532|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    532|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    532|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    532|}
textio.c:_PyModule_GetState:
   63|     14|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     14|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     14|}
stringio.c:_PyModule_GetState:
   63|      2|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      2|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|      2|}
itertoolsmodule.c:_PyModule_GetState:
   63|    142|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    142|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    142|}
sre.c:_PyModule_GetState:
   63|    182|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    182|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    182|}
_threadmodule.c:_PyModule_GetState:
   63|  7.78M|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  7.78M|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  7.78M|}
timemodule.c:_PyModule_GetState:
   63|     18|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     18|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     18|}
_abc.c:_PyModule_GetState:
   63|  97.9k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  97.9k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  97.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  97.9k|}
_functoolsmodule.c:_PyModule_GetState:
   63|  12.3k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  12.3k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  12.3k|}
_operator.c:_PyModule_GetState:
   63|     14|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     14|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|     14|}

bytesobject.c:_PyObject_InitVar:
  496|  14.6M|{
  497|  14.6M|    assert(op != NULL);
  498|  14.6M|    assert(typeobj != &PyLong_Type);
  499|  14.6M|    _PyObject_Init((PyObject *)op, typeobj);
  500|  14.6M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  14.6M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  14.6M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  14.6M|}
bytesobject.c:_PyObject_Init:
  486|  14.6M|{
  487|  14.6M|    assert(op != NULL);
  488|  14.6M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  14.6M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  14.6M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  14.6M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  14.6M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  14.6M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  14.6M|    _Py_NewReference(op);
  492|  14.6M|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  185|  81.9k|{
  186|  81.9k|#if !defined(Py_GIL_DISABLED)
  187|  81.9k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  81.9k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  81.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  81.9k|}
call.c:Py_DECREF_MORTAL:
  453|  95.5k|{
  454|  95.5k|    assert(!_Py_IsStaticImmortal(op));
  455|  95.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  95.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  95.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 37.4k, False: 58.1k]
  ------------------
  457|  37.4k|        _Py_Dealloc(op);
  458|  37.4k|    }
  459|  95.5k|}
floatobject.c:_PyObject_Init:
  486|  1.50k|{
  487|  1.50k|    assert(op != NULL);
  488|  1.50k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.50k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  1.50k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  1.50k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  1.50k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.50k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  1.50k|    _Py_NewReference(op);
  492|  1.50k|}
listobject.c:_Py_RefcntAdd:
  135|    120|{
  136|    120|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    120|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 120, False: 0]
  |  |  ------------------
  ------------------
  137|    120|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    120|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|    120|        return;
  139|    120|    }
  140|      0|#ifndef Py_GIL_DISABLED
  141|      0|    Py_ssize_t refcnt = _Py_REFCNT(op);
  142|      0|    Py_ssize_t new_refcnt = refcnt + n;
  143|      0|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|      0|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (143:9): [True: 0, False: 0]
  ------------------
  144|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  145|      0|    }
  146|      0|#  if SIZEOF_VOID_P > 4
  147|      0|    op->ob_refcnt = (uint32_t)new_refcnt;
  148|       |#  else
  149|       |    op->ob_refcnt = new_refcnt;
  150|       |#  endif
  151|       |#  ifdef Py_REF_DEBUG
  152|       |    _Py_AddRefTotal(_PyThreadState_GET(), new_refcnt - refcnt);
  153|       |#  endif
  154|       |#else
  155|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  156|       |        uint32_t local = op->ob_ref_local;
  157|       |        Py_ssize_t refcnt = (Py_ssize_t)local + n;
  158|       |#  if PY_SSIZE_T_MAX > UINT32_MAX
  159|       |        if (refcnt > (Py_ssize_t)UINT32_MAX) {
  160|       |            // Make the object immortal if the 32-bit local reference count
  161|       |            // would overflow.
  162|       |            refcnt = _Py_IMMORTAL_REFCNT_LOCAL;
  163|       |        }
  164|       |#  endif
  165|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, (uint32_t)refcnt);
  166|       |    }
  167|       |    else {
  168|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (n << _Py_REF_SHARED_SHIFT));
  169|       |    }
  170|       |#  ifdef Py_REF_DEBUG
  171|       |    _Py_AddRefTotal(_PyThreadState_GET(), n);
  172|       |#  endif
  173|       |#endif
  174|       |    // Although the ref count was increased by `n` (which may be greater than 1)
  175|       |    // it is only a single increment (i.e. addition) operation, so only 1 refcnt
  176|       |    // increment operation is counted.
  177|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  178|      0|}
longobject.c:_PyObject_Init:
  486|  7.46M|{
  487|  7.46M|    assert(op != NULL);
  488|  7.46M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  7.46M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  7.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  7.46M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  7.46M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  7.46M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  7.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  7.46M|    _Py_NewReference(op);
  492|  7.46M|}
longobject.c:_Py_DECREF_SPECIALIZED:
  234|  5.34M|{
  235|  5.34M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.34M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.34M]
  |  |  ------------------
  ------------------
  236|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|      0|        return;
  238|      0|    }
  239|  5.34M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.34M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|  5.34M|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 5.34M]
  ------------------
  244|      0|        assert(op->ob_refcnt > 0);
  245|      0|    }
  246|  5.34M|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  5.34M|    do { \
  |  |  113|  5.34M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  5.34M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 5.34M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  5.34M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 5.34M]
  |  |  ------------------
  ------------------
  251|  5.34M|        destruct(op);
  252|  5.34M|    }
  253|  5.34M|}
longobject.c:_PyObject_IsUniquelyReferenced:
  185|      2|{
  186|      2|#if !defined(Py_GIL_DISABLED)
  187|      2|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|      2|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|      2|}
dictobject.c:_Py_INCREF_MORTAL:
 1024|  5.32M|{
 1025|  5.32M|    assert(!_Py_IsStaticImmortal(op));
 1026|  5.32M|    op->ob_refcnt++;
 1027|  5.32M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.32M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1028|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1029|       |    if (!_Py_IsImmortal(op)) {
 1030|       |        _Py_INCREF_IncRefTotal();
 1031|       |    }
 1032|       |#endif
 1033|  5.32M|}
dictobject.c:Py_DECREF_MORTAL:
  453|  3.46M|{
  454|  3.46M|    assert(!_Py_IsStaticImmortal(op));
  455|  3.46M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.46M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  3.46M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 3.46M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  3.46M|}
dictobject.c:_PyObject_HashFast:
  842|  50.8M|{
  843|  50.8M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  50.8M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  50.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 39.0M, False: 11.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  39.0M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|  39.0M|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 38.9M, False: 69.8k]
  ------------------
  846|  38.9M|            return hash;
  847|  38.9M|        }
  848|  39.0M|    }
  849|  11.9M|    return PyObject_Hash(op);
  850|  50.8M|}
dictobject.c:_PyObject_ResurrectStart:
  682|  4.04M|{
  683|  4.04M|    assert(Py_REFCNT(op) == 0);
  684|       |#ifdef Py_REF_DEBUG
  685|       |    _Py_IncRefTotal(_PyThreadState_GET());
  686|       |#endif
  687|       |#ifdef Py_GIL_DISABLED
  688|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  689|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  690|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  691|       |#else
  692|  4.04M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  4.04M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  4.04M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  4.04M|}
dictobject.c:_PyObject_ResurrectEnd:
  704|  4.04M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  4.04M|#ifndef Py_GIL_DISABLED
  709|  4.04M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  4.04M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  4.04M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  4.04M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 4.04M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  4.04M|        return 0;
  715|  4.04M|    }
  716|      0|    return 1;
  717|       |#else
  718|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  719|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  720|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  721|       |        // Fast-path: object has a single refcount and is owned by this thread
  722|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  723|       |# ifdef Py_TRACE_REFS
  724|       |        _Py_ForgetReference(op);
  725|       |# endif
  726|       |        return 0;
  727|       |    }
  728|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  729|       |    return _PyObject_ResurrectEndSlow(op);
  730|       |#endif
  731|  4.04M|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  185|   641k|{
  186|   641k|#if !defined(Py_GIL_DISABLED)
  187|   641k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   641k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   641k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   641k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|   641k|}
dictobject.c:_PyObject_InlineValues:
  949|  27.3M|{
  950|  27.3M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  27.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  27.3M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|  27.3M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|  27.3M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  27.3M|}
dictobject.c:_PyObject_ManagedDictPointer:
  935|  9.62M|{
  936|  9.62M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  9.62M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  9.62M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  9.62M|}
dictobject.c:_PyObject_GetManagedDict:
  942|  9.07M|{
  943|  9.07M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  9.07M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  9.07M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  9.07M|}
dictobject.c:_PyType_HasFeature:
  290|   445k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|   445k|    return ((type->tp_flags) & feature) != 0;
  292|   445k|}
object.c:_PyObject_Init:
  486|  45.2k|{
  487|  45.2k|    assert(op != NULL);
  488|  45.2k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  45.2k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  45.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  45.2k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  45.2k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  45.2k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  45.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  45.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  45.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  45.2k|    _Py_NewReference(op);
  492|  45.2k|}
object.c:_PyObject_InitVar:
  496|  27.6k|{
  497|  27.6k|    assert(op != NULL);
  498|  27.6k|    assert(typeobj != &PyLong_Type);
  499|  27.6k|    _PyObject_Init((PyObject *)op, typeobj);
  500|  27.6k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  27.6k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  27.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  27.6k|}
object.c:_PyType_HasFeature:
  290|  8.18M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  8.18M|    return ((type->tp_flags) & feature) != 0;
  292|  8.18M|}
object.c:_PyObject_ResurrectStart:
  682|  1.55M|{
  683|  1.55M|    assert(Py_REFCNT(op) == 0);
  684|       |#ifdef Py_REF_DEBUG
  685|       |    _Py_IncRefTotal(_PyThreadState_GET());
  686|       |#endif
  687|       |#ifdef Py_GIL_DISABLED
  688|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  689|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  690|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  691|       |#else
  692|  1.55M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.55M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  1.55M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  1.55M|}
object.c:_PyObject_ResurrectEnd:
  704|  1.55M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  1.55M|#ifndef Py_GIL_DISABLED
  709|  1.55M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.55M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  1.55M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.55M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 1.55M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  1.55M|        return 0;
  715|  1.55M|    }
  716|      0|    return 1;
  717|       |#else
  718|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  719|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  720|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  721|       |        // Fast-path: object has a single refcount and is owned by this thread
  722|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  723|       |# ifdef Py_TRACE_REFS
  724|       |        _Py_ForgetReference(op);
  725|       |# endif
  726|       |        return 0;
  727|       |    }
  728|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  729|       |    return _PyObject_ResurrectEndSlow(op);
  730|       |#endif
  731|  1.55M|}
object.c:_PyObject_GetManagedDict:
  942|  4.64M|{
  943|  4.64M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  4.64M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  4.64M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  4.64M|}
object.c:_PyObject_ManagedDictPointer:
  935|  4.64M|{
  936|  4.64M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  4.64M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  4.64M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  4.64M|}
object.c:Py_DECREF_MORTAL:
  453|  10.0M|{
  454|  10.0M|    assert(!_Py_IsStaticImmortal(op));
  455|  10.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  10.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 2, False: 10.0M]
  ------------------
  457|      2|        _Py_Dealloc(op);
  458|      2|    }
  459|  10.0M|}
object.c:_Py_INCREF_MORTAL:
 1024|  29.2k|{
 1025|  29.2k|    assert(!_Py_IsStaticImmortal(op));
 1026|  29.2k|    op->ob_refcnt++;
 1027|  29.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  29.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1028|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1029|       |    if (!_Py_IsImmortal(op)) {
 1030|       |        _Py_INCREF_IncRefTotal();
 1031|       |    }
 1032|       |#endif
 1033|  29.2k|}
setobject.c:_PyObject_HashFast:
  842|  1.07M|{
  843|  1.07M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  1.07M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.07M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 571k, False: 508k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|   571k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|   571k|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 564k, False: 6.89k]
  ------------------
  846|   564k|            return hash;
  847|   564k|        }
  848|   571k|    }
  849|   514k|    return PyObject_Hash(op);
  850|  1.07M|}
setobject.c:_PyObject_IsUniquelyReferenced:
  185|    924|{
  186|    924|#if !defined(Py_GIL_DISABLED)
  187|    924|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    924|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    924|}
structseq.c:_PyType_HasFeature:
  290|  3.69k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  3.69k|    return ((type->tp_flags) & feature) != 0;
  292|  3.69k|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  185|  3.96k|{
  186|  3.96k|#if !defined(Py_GIL_DISABLED)
  187|  3.96k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  3.96k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  3.96k|}
tupleobject.c:_PyType_HasFeature:
  290|  27.6M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  27.6M|    return ((type->tp_flags) & feature) != 0;
  292|  27.6M|}
typeobject.c:_Py_TryIncref:
  736|     60|{
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  739|       |#else
  740|     60|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|     60|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (740:9): [True: 60, False: 0]
  ------------------
  741|     60|        Py_INCREF(op);
  ------------------
  |  |  310|     60|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|     60|        return 1;
  743|     60|    }
  744|      0|    return 0;
  745|     60|#endif
  746|     60|}
typeobject.c:_PyType_PreHeaderSize:
  854|  12.3M|{
  855|  12.3M|    return (
  856|  12.3M|#ifndef Py_GIL_DISABLED
  857|  12.3M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  828|  12.3M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  12.3M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  858|  12.3M|#endif
  859|  12.3M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  12.3M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  12.3M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  12.3M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  860|  12.3M|    );
  861|  12.3M|}
typeobject.c:_PyObject_Init:
  486|  12.3M|{
  487|  12.3M|    assert(op != NULL);
  488|  12.3M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  12.3M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  12.3M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  12.3M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  12.3M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  12.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  12.3M|    _Py_NewReference(op);
  492|  12.3M|}
typeobject.c:_PyObject_InitVar:
  496|   113k|{
  497|   113k|    assert(op != NULL);
  498|   113k|    assert(typeobj != &PyLong_Type);
  499|   113k|    _PyObject_Init((PyObject *)op, typeobj);
  500|   113k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|   113k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   113k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|   113k|}
typeobject.c:_PyType_HasFeature:
  290|  50.6M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  50.6M|    return ((type->tp_flags) & feature) != 0;
  292|  50.6M|}
typeobject.c:Py_DECREF_MORTAL:
  453|  13.7M|{
  454|  13.7M|    assert(!_Py_IsStaticImmortal(op));
  455|  13.7M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  13.7M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  13.7M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 13.7M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  13.7M|}
typeobject.c:_Py_INCREF_MORTAL:
 1024|  44.4M|{
 1025|  44.4M|    assert(!_Py_IsStaticImmortal(op));
 1026|  44.4M|    op->ob_refcnt++;
 1027|  44.4M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  44.4M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1028|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1029|       |    if (!_Py_IsImmortal(op)) {
 1030|       |        _Py_INCREF_IncRefTotal();
 1031|       |    }
 1032|       |#endif
 1033|  44.4M|}
typeobject.c:_PyObject_HashFast:
  842|  3.33M|{
  843|  3.33M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  3.33M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.33M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.33M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  3.33M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|  3.33M|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 712k, False: 2.62M]
  ------------------
  846|   712k|            return hash;
  847|   712k|        }
  848|  3.33M|    }
  849|  2.62M|    return PyObject_Hash(op);
  850|  3.33M|}
unicode_format.c:_PyObject_IsUniquelyReferenced:
  185|  80.1k|{
  186|  80.1k|#if !defined(Py_GIL_DISABLED)
  187|  80.1k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  80.1k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  80.1k|}
unicodeobject.c:_PyObject_Init:
  486|  5.67M|{
  487|  5.67M|    assert(op != NULL);
  488|  5.67M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  5.67M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  5.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  5.67M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  5.67M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  5.67M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.67M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  5.67M|    _Py_NewReference(op);
  492|  5.67M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  185|  1.52M|{
  186|  1.52M|#if !defined(Py_GIL_DISABLED)
  187|  1.52M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.52M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  1.52M|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  872|  1.06M|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  873|  1.06M|    return (type->tp_weaklistoffset != 0);
  874|  1.06M|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  793|  1.77M|{
  794|  1.77M|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  3.55M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 77.3k, False: 1.70M]
  |  |  ------------------
  ------------------
  795|  77.3k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  77.3k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (795:13): [True: 70.0k, False: 7.27k]
  ------------------
  796|  70.0k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  797|  70.0k|        managed_static_type_state *state = _PyStaticType_GetState(
  798|  70.0k|                                                interp, (PyTypeObject *)op);
  799|  70.0k|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  800|  70.0k|    }
  801|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  802|  1.70M|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  1.70M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|  1.70M|    return (PyObject **)((char *)op + offset);
  804|  1.77M|}
weakrefobject.c:_Py_TryIncref:
  736|  1.59M|{
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  739|       |#else
  740|  1.59M|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|  1.59M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (740:9): [True: 1.59M, False: 0]
  ------------------
  741|  1.59M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.59M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|  1.59M|        return 1;
  743|  1.59M|    }
  744|      0|    return 0;
  745|  1.59M|#endif
  746|  1.59M|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  820|      2|{
  821|      2|    assert(!PyType_Check(op) ||
  822|      2|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  823|      2|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|      2|    return (PyWeakReference **)((char *)op + offset);
  825|      2|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  185|  1.53k|{
  186|  1.53k|#if !defined(Py_GIL_DISABLED)
  187|  1.53k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.53k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  1.53k|}
bltinmodule.c:_Py_DECREF_SPECIALIZED:
  234|   180k|{
  235|   180k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   180k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 180k]
  |  |  ------------------
  ------------------
  236|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|      0|        return;
  238|      0|    }
  239|   180k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   180k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|   180k|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 180k, False: 0]
  ------------------
  244|   180k|        assert(op->ob_refcnt > 0);
  245|   180k|    }
  246|      0|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|      0|    do { \
  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  251|      0|        destruct(op);
  252|      0|    }
  253|   180k|}
ceval.c:Py_DECREF_MORTAL:
  453|   231M|{
  454|   231M|    assert(!_Py_IsStaticImmortal(op));
  455|   231M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   231M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|   231M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 45.1M, False: 186M]
  ------------------
  457|  45.1M|        _Py_Dealloc(op);
  458|  45.1M|    }
  459|   231M|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  463|  51.0M|{
  464|  51.0M|    assert(!_Py_IsStaticImmortal(op));
  465|  51.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  51.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  466|  51.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (466:9): [True: 15.7M, False: 35.3M]
  ------------------
  467|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  15.7M|    do { \
  |  |  113|  15.7M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  15.7M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 15.7M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  15.7M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 15.7M]
  |  |  ------------------
  ------------------
  468|  15.7M|        destruct(op);
  469|  15.7M|    }
  470|  51.0M|}
ceval.c:_Py_INCREF_MORTAL:
 1024|   273M|{
 1025|   273M|    assert(!_Py_IsStaticImmortal(op));
 1026|   273M|    op->ob_refcnt++;
 1027|   273M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   273M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1028|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1029|       |    if (!_Py_IsImmortal(op)) {
 1030|       |        _Py_INCREF_IncRefTotal();
 1031|       |    }
 1032|       |#endif
 1033|   273M|}
ceval.c:_PyObject_InlineValues:
  949|   129M|{
  950|   129M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   129M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   129M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|   129M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|   129M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|   129M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|   129M|}
ceval.c:_PyObject_GetManagedDict:
  942|  27.8M|{
  943|  27.8M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  27.8M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  27.8M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  27.8M|}
ceval.c:_PyObject_ManagedDictPointer:
  935|  27.8M|{
  936|  27.8M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  27.8M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  27.8M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  27.8M|}
frame.c:Py_DECREF_MORTAL:
  453|   108M|{
  454|   108M|    assert(!_Py_IsStaticImmortal(op));
  455|   108M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   108M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|   108M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 16.6M, False: 91.8M]
  ------------------
  457|  16.6M|        _Py_Dealloc(op);
  458|  16.6M|    }
  459|   108M|}
frame.c:_PyObject_IsUniquelyReferenced:
  185|  2.36M|{
  186|  2.36M|#if !defined(Py_GIL_DISABLED)
  187|  2.36M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  2.36M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  2.36M|}
frame.c:_Py_INCREF_MORTAL:
 1024|   980k|{
 1025|   980k|    assert(!_Py_IsStaticImmortal(op));
 1026|   980k|    op->ob_refcnt++;
 1027|   980k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   980k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1028|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1029|       |    if (!_Py_IsImmortal(op)) {
 1030|       |        _Py_INCREF_IncRefTotal();
 1031|       |    }
 1032|       |#endif
 1033|   980k|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  872|  7.37M|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  873|  7.37M|    return (type->tp_weaklistoffset != 0);
  874|  7.37M|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  820|  1.83M|{
  821|  1.83M|    assert(!PyType_Check(op) ||
  822|  1.83M|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  823|  1.83M|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  1.83M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  1.83M|    return (PyWeakReference **)((char *)op + offset);
  825|  1.83M|}
gc.c:_PyObject_IS_GC:
  833|  38.5M|{
  834|  38.5M|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  38.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  835|  38.5M|    return (_PyType_IS_GC(type)
  ------------------
  |  |  828|  77.1M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  38.5M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 15.3M, False: 23.2M]
  |  |  ------------------
  ------------------
  836|  15.3M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (836:17): [True: 14.1M, False: 1.23M]
  |  Branch (836:43): [True: 1.11M, False: 116k]
  ------------------
  837|  38.5M|}
gc.c:_PyType_PreHeaderSize:
  854|  42.4M|{
  855|  42.4M|    return (
  856|  42.4M|#ifndef Py_GIL_DISABLED
  857|  42.4M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  828|  42.4M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  42.4M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  858|  42.4M|#endif
  859|  42.4M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  42.4M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  42.4M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  42.4M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  860|  42.4M|    );
  861|  42.4M|}
gc.c:_PyType_HasFeature:
  290|   138M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|   138M|    return ((type->tp_flags) & feature) != 0;
  292|   138M|}
gc.c:_PyObject_Init:
  486|  19.2M|{
  487|  19.2M|    assert(op != NULL);
  488|  19.2M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  19.2M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  19.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  19.2M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  19.2M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  19.2M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  19.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  19.2M|    _Py_NewReference(op);
  492|  19.2M|}
gc.c:_PyObject_InitVar:
  496|  4.17M|{
  497|  4.17M|    assert(op != NULL);
  498|  4.17M|    assert(typeobj != &PyLong_Type);
  499|  4.17M|    _PyObject_Init((PyObject *)op, typeobj);
  500|  4.17M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  4.17M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.17M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  4.17M|}
import.c:_Py_TryIncref:
  736|      2|{
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  739|       |#else
  740|      2|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|      2|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (740:9): [True: 2, False: 0]
  ------------------
  741|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|      2|        return 1;
  743|      2|    }
  744|      0|    return 0;
  745|      2|#endif
  746|      2|}
specialize.c:_PyObject_GetManagedDict:
  942|  27.2k|{
  943|  27.2k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  27.2k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  27.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  27.2k|}
specialize.c:_PyObject_ManagedDictPointer:
  935|  27.2k|{
  936|  27.2k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  27.2k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  27.2k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  27.2k|}
specialize.c:_PyObject_InlineValues:
  949|  41.6k|{
  950|  41.6k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  41.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  41.6k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|  41.6k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|  41.6k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  41.6k|}
_datetimemodule.c:_PyObject_Init:
  486|     10|{
  487|     10|    assert(op != NULL);
  488|     10|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|     10|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|     10|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|     10|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|     10|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     10|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|     10|    _Py_NewReference(op);
  492|     10|}
bytesio.c:_PyObject_IsUniquelyReferenced:
  185|  8.52k|{
  186|  8.52k|#if !defined(Py_GIL_DISABLED)
  187|  8.52k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  8.52k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  8.52k|}
itertoolsmodule.c:_PyObject_IsUniquelyReferenced:
  185|    280|{
  186|    280|#if !defined(Py_GIL_DISABLED)
  187|    280|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    280|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    280|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    280|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|    280|}
_functoolsmodule.c:_PyObject_IsUniquelyReferenced:
  185|  12.2k|{
  186|  12.2k|#if !defined(Py_GIL_DISABLED)
  187|  12.2k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  12.2k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  12.2k|}
codeobject.c:_PyObject_ResurrectStart:
  682|  7.09k|{
  683|  7.09k|    assert(Py_REFCNT(op) == 0);
  684|       |#ifdef Py_REF_DEBUG
  685|       |    _Py_IncRefTotal(_PyThreadState_GET());
  686|       |#endif
  687|       |#ifdef Py_GIL_DISABLED
  688|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  689|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  690|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  691|       |#else
  692|  7.09k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  7.09k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  7.09k|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  7.09k|}
codeobject.c:_PyObject_ResurrectEnd:
  704|  7.09k|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  7.09k|#ifndef Py_GIL_DISABLED
  709|  7.09k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  7.09k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  7.09k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  7.09k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 7.09k, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  7.09k|        return 0;
  715|  7.09k|    }
  716|      0|    return 1;
  717|       |#else
  718|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  719|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  720|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  721|       |        // Fast-path: object has a single refcount and is owned by this thread
  722|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  723|       |# ifdef Py_TRACE_REFS
  724|       |        _Py_ForgetReference(op);
  725|       |# endif
  726|       |        return 0;
  727|       |    }
  728|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  729|       |    return _PyObject_ResurrectEndSlow(op);
  730|       |#endif
  731|  7.09k|}
complexobject.c:_PyObject_Init:
  486|      2|{
  487|      2|    assert(op != NULL);
  488|      2|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      2|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|      2|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|      2|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|      2|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|      2|    _Py_NewReference(op);
  492|      2|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  185|  4.63k|{
  186|  4.63k|#if !defined(Py_GIL_DISABLED)
  187|  4.63k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  4.63k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  4.63k|}
genobject.c:Py_DECREF_MORTAL:
  453|  1.55M|{
  454|  1.55M|    assert(!_Py_IsStaticImmortal(op));
  455|  1.55M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.55M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  1.55M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 1.55M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  1.55M|}
frameobject.c:Py_DECREF_MORTAL:
  453|  4.26M|{
  454|  4.26M|    assert(!_Py_IsStaticImmortal(op));
  455|  4.26M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.26M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  4.26M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 98.8k, False: 4.16M]
  ------------------
  457|  98.8k|        _Py_Dealloc(op);
  458|  98.8k|    }
  459|  4.26M|}
funcobject.c:_PyObject_ResurrectStart:
  682|  3.44M|{
  683|  3.44M|    assert(Py_REFCNT(op) == 0);
  684|       |#ifdef Py_REF_DEBUG
  685|       |    _Py_IncRefTotal(_PyThreadState_GET());
  686|       |#endif
  687|       |#ifdef Py_GIL_DISABLED
  688|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  689|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  690|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  691|       |#else
  692|  3.44M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  3.44M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  3.44M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  3.44M|}
funcobject.c:_PyObject_ResurrectEnd:
  704|  3.44M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  3.44M|#ifndef Py_GIL_DISABLED
  709|  3.44M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  3.44M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  3.44M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  3.44M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 3.44M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  3.44M|        return 0;
  715|  3.44M|    }
  716|      0|    return 1;
  717|       |#else
  718|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  719|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  720|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  721|       |        // Fast-path: object has a single refcount and is owned by this thread
  722|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  723|       |# ifdef Py_TRACE_REFS
  724|       |        _Py_ForgetReference(op);
  725|       |# endif
  726|       |        return 0;
  727|       |    }
  728|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  729|       |    return _PyObject_ResurrectEndSlow(op);
  730|       |#endif
  731|  3.44M|}
odictobject.c:_PyObject_IsUniquelyReferenced:
  185|     12|{
  186|     12|#if !defined(Py_GIL_DISABLED)
  187|     12|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     12|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|     12|}

typeobject.c:_PyObject_MallocWithType:
   40|  12.3M|{
   41|       |#ifdef Py_GIL_DISABLED
   42|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   43|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   44|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   45|       |#endif
   46|  12.3M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  12.3M|    return mem;
   51|  12.3M|}
gc.c:_PyObject_MallocWithType:
   40|  19.2M|{
   41|       |#ifdef Py_GIL_DISABLED
   42|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   43|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   44|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   45|       |#endif
   46|  19.2M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  19.2M|    return mem;
   51|  19.2M|}
gc.c:_PyObject_ReallocWithType:
   55|      4|{
   56|       |#ifdef Py_GIL_DISABLED
   57|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   58|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   59|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   60|       |#endif
   61|      4|    void *mem = PyObject_Realloc(ptr, size);
   62|       |#ifdef Py_GIL_DISABLED
   63|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   64|       |#endif
   65|      4|    return mem;
   66|      4|}

_PyOpcode_num_popped:
   37|  23.4k|int _PyOpcode_num_popped(int opcode, int oparg)  {
   38|  23.4k|    switch(opcode) {
   39|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  247|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (39:9): [True: 0, False: 23.4k]
  ------------------
   40|      0|            return 0;
   41|     44|        case BINARY_OP:
  ------------------
  |  |   55|     44|#define BINARY_OP                               42
  ------------------
  |  Branch (41:9): [True: 44, False: 23.3k]
  ------------------
   42|     44|            return 2;
   43|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  134|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (43:9): [True: 0, False: 23.4k]
  ------------------
   44|      0|            return 2;
   45|      0|        case BINARY_OP_ADD_INT:
  ------------------
  |  |  135|      0|#define BINARY_OP_ADD_INT                      130
  ------------------
  |  Branch (45:9): [True: 0, False: 23.4k]
  ------------------
   46|      0|            return 2;
   47|      0|        case BINARY_OP_ADD_UNICODE:
  ------------------
  |  |  136|      0|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
  |  Branch (47:9): [True: 0, False: 23.4k]
  ------------------
   48|      0|            return 2;
   49|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  137|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (49:9): [True: 0, False: 23.4k]
  ------------------
   50|      0|            return 2;
   51|      0|        case BINARY_OP_INPLACE_ADD_UNICODE:
  ------------------
  |  |   16|      0|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
  |  Branch (51:9): [True: 0, False: 23.4k]
  ------------------
   52|      0|            return 2;
   53|      0|        case BINARY_OP_MULTIPLY_FLOAT:
  ------------------
  |  |  138|      0|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
  |  Branch (53:9): [True: 0, False: 23.4k]
  ------------------
   54|      0|            return 2;
   55|      0|        case BINARY_OP_MULTIPLY_INT:
  ------------------
  |  |  139|      0|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
  |  Branch (55:9): [True: 0, False: 23.4k]
  ------------------
   56|      0|            return 2;
   57|      0|        case BINARY_OP_SUBSCR_DICT:
  ------------------
  |  |  140|      0|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
  |  Branch (57:9): [True: 0, False: 23.4k]
  ------------------
   58|      0|            return 2;
   59|      0|        case BINARY_OP_SUBSCR_GETITEM:
  ------------------
  |  |  141|      0|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
  |  Branch (59:9): [True: 0, False: 23.4k]
  ------------------
   60|      0|            return 2;
   61|      0|        case BINARY_OP_SUBSCR_LIST_INT:
  ------------------
  |  |  142|      0|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
  |  Branch (61:9): [True: 0, False: 23.4k]
  ------------------
   62|      0|            return 2;
   63|      0|        case BINARY_OP_SUBSCR_LIST_SLICE:
  ------------------
  |  |  143|      0|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
  |  Branch (63:9): [True: 0, False: 23.4k]
  ------------------
   64|      0|            return 2;
   65|      0|        case BINARY_OP_SUBSCR_STR_INT:
  ------------------
  |  |  144|      0|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
  |  Branch (65:9): [True: 0, False: 23.4k]
  ------------------
   66|      0|            return 2;
   67|      0|        case BINARY_OP_SUBSCR_TUPLE_INT:
  ------------------
  |  |  145|      0|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
  |  Branch (67:9): [True: 0, False: 23.4k]
  ------------------
   68|      0|            return 2;
   69|      0|        case BINARY_OP_SUBSCR_USTR_INT:
  ------------------
  |  |  146|      0|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
  |  Branch (69:9): [True: 0, False: 23.4k]
  ------------------
   70|      0|            return 2;
   71|      0|        case BINARY_OP_SUBTRACT_FLOAT:
  ------------------
  |  |  147|      0|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
  |  Branch (71:9): [True: 0, False: 23.4k]
  ------------------
   72|      0|            return 2;
   73|      0|        case BINARY_OP_SUBTRACT_INT:
  ------------------
  |  |  148|      0|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
  |  Branch (73:9): [True: 0, False: 23.4k]
  ------------------
   74|      0|            return 2;
   75|      0|        case BINARY_SLICE:
  ------------------
  |  |   14|      0|#define BINARY_SLICE                             1
  ------------------
  |  Branch (75:9): [True: 0, False: 23.4k]
  ------------------
   76|      0|            return 3;
   77|      0|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|      0|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (77:9): [True: 0, False: 23.4k]
  ------------------
   78|      0|            return 2 + (oparg & 1);
   79|      4|        case BUILD_LIST:
  ------------------
  |  |   57|      4|#define BUILD_LIST                              44
  ------------------
  |  Branch (79:9): [True: 4, False: 23.4k]
  ------------------
   80|      4|            return oparg;
   81|    120|        case BUILD_MAP:
  ------------------
  |  |   58|    120|#define BUILD_MAP                               45
  ------------------
  |  Branch (81:9): [True: 120, False: 23.3k]
  ------------------
   82|    120|            return oparg*2;
   83|      0|        case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (83:9): [True: 0, False: 23.4k]
  ------------------
   84|      0|            return oparg;
   85|      0|        case BUILD_SLICE:
  ------------------
  |  |   60|      0|#define BUILD_SLICE                             47
  ------------------
  |  Branch (85:9): [True: 0, False: 23.4k]
  ------------------
   86|      0|            return oparg;
   87|    188|        case BUILD_STRING:
  ------------------
  |  |   61|    188|#define BUILD_STRING                            48
  ------------------
  |  Branch (87:9): [True: 188, False: 23.2k]
  ------------------
   88|    188|            return oparg;
   89|      0|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|      0|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (89:9): [True: 0, False: 23.4k]
  ------------------
   90|      0|            return 2;
   91|    682|        case BUILD_TUPLE:
  ------------------
  |  |   62|    682|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (91:9): [True: 682, False: 22.7k]
  ------------------
   92|    682|            return oparg;
   93|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (93:9): [True: 0, False: 23.4k]
  ------------------
   94|      0|            return 0;
   95|  1.19k|        case CALL:
  ------------------
  |  |   63|  1.19k|#define CALL                                    50
  ------------------
  |  Branch (95:9): [True: 1.19k, False: 22.2k]
  ------------------
   96|  1.19k|            return 2 + oparg;
   97|      0|        case CALL_ALLOC_AND_ENTER_INIT:
  ------------------
  |  |  149|      0|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
  |  Branch (97:9): [True: 0, False: 23.4k]
  ------------------
   98|      0|            return 2 + oparg;
   99|      0|        case CALL_BOUND_METHOD_EXACT_ARGS:
  ------------------
  |  |  150|      0|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
  |  Branch (99:9): [True: 0, False: 23.4k]
  ------------------
  100|      0|            return 2 + oparg;
  101|      0|        case CALL_BOUND_METHOD_GENERAL:
  ------------------
  |  |  151|      0|#define CALL_BOUND_METHOD_GENERAL              146
  ------------------
  |  Branch (101:9): [True: 0, False: 23.4k]
  ------------------
  102|      0|            return 2 + oparg;
  103|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (103:9): [True: 0, False: 23.4k]
  ------------------
  104|      0|            return 2 + oparg;
  105|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  153|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (105:9): [True: 0, False: 23.4k]
  ------------------
  106|      0|            return 2 + oparg;
  107|      0|        case CALL_BUILTIN_FAST_WITH_KEYWORDS:
  ------------------
  |  |  154|      0|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
  |  Branch (107:9): [True: 0, False: 23.4k]
  ------------------
  108|      0|            return 2 + oparg;
  109|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  155|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (109:9): [True: 0, False: 23.4k]
  ------------------
  110|      0|            return 2 + oparg;
  111|      0|        case CALL_EX_NON_PY_GENERAL:
  ------------------
  |  |  156|      0|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
  |  Branch (111:9): [True: 0, False: 23.4k]
  ------------------
  112|      0|            return 4;
  113|      0|        case CALL_EX_PY:
  ------------------
  |  |  157|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (113:9): [True: 0, False: 23.4k]
  ------------------
  114|      0|            return 4;
  115|      8|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|      8|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (115:9): [True: 8, False: 23.4k]
  ------------------
  116|      8|            return 4;
  117|      4|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      4|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (117:9): [True: 4, False: 23.4k]
  ------------------
  118|      4|            return 1;
  119|      0|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|      0|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (119:9): [True: 0, False: 23.4k]
  ------------------
  120|      0|            return 2;
  121|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  158|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (121:9): [True: 0, False: 23.4k]
  ------------------
  122|      0|            return 4;
  123|    184|        case CALL_KW:
  ------------------
  |  |   66|    184|#define CALL_KW                                 53
  ------------------
  |  Branch (123:9): [True: 184, False: 23.2k]
  ------------------
  124|    184|            return 3 + oparg;
  125|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  159|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (125:9): [True: 0, False: 23.4k]
  ------------------
  126|      0|            return 3 + oparg;
  127|      0|        case CALL_KW_NON_PY:
  ------------------
  |  |  160|      0|#define CALL_KW_NON_PY                         155
  ------------------
  |  Branch (127:9): [True: 0, False: 23.4k]
  ------------------
  128|      0|            return 3 + oparg;
  129|      0|        case CALL_KW_PY:
  ------------------
  |  |  161|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (129:9): [True: 0, False: 23.4k]
  ------------------
  130|      0|            return 3 + oparg;
  131|      0|        case CALL_LEN:
  ------------------
  |  |  162|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (131:9): [True: 0, False: 23.4k]
  ------------------
  132|      0|            return 3;
  133|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  163|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (133:9): [True: 0, False: 23.4k]
  ------------------
  134|      0|            return 3;
  135|      0|        case CALL_METHOD_DESCRIPTOR_FAST:
  ------------------
  |  |  164|      0|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
  |  Branch (135:9): [True: 0, False: 23.4k]
  ------------------
  136|      0|            return 2 + oparg;
  137|      0|        case CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS:
  ------------------
  |  |  165|      0|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
  |  Branch (137:9): [True: 0, False: 23.4k]
  ------------------
  138|      0|            return 2 + oparg;
  139|      0|        case CALL_METHOD_DESCRIPTOR_NOARGS:
  ------------------
  |  |  166|      0|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
  |  Branch (139:9): [True: 0, False: 23.4k]
  ------------------
  140|      0|            return 2 + oparg;
  141|      0|        case CALL_METHOD_DESCRIPTOR_O:
  ------------------
  |  |  167|      0|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
  |  Branch (141:9): [True: 0, False: 23.4k]
  ------------------
  142|      0|            return 2 + oparg;
  143|      0|        case CALL_NON_PY_GENERAL:
  ------------------
  |  |  168|      0|#define CALL_NON_PY_GENERAL                    163
  ------------------
  |  Branch (143:9): [True: 0, False: 23.4k]
  ------------------
  144|      0|            return 2 + oparg;
  145|      0|        case CALL_PY_EXACT_ARGS:
  ------------------
  |  |  169|      0|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (145:9): [True: 0, False: 23.4k]
  ------------------
  146|      0|            return 2 + oparg;
  147|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  170|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (147:9): [True: 0, False: 23.4k]
  ------------------
  148|      0|            return 2 + oparg;
  149|      0|        case CALL_STR_1:
  ------------------
  |  |  171|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (149:9): [True: 0, False: 23.4k]
  ------------------
  150|      0|            return 3;
  151|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  172|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (151:9): [True: 0, False: 23.4k]
  ------------------
  152|      0|            return 3;
  153|      0|        case CALL_TYPE_1:
  ------------------
  |  |  173|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (153:9): [True: 0, False: 23.4k]
  ------------------
  154|      0|            return 3;
  155|      0|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|      0|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (155:9): [True: 0, False: 23.4k]
  ------------------
  156|      0|            return 2;
  157|      0|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (157:9): [True: 0, False: 23.4k]
  ------------------
  158|      0|            return 2;
  159|      0|        case CLEANUP_THROW:
  ------------------
  |  |   20|      0|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (159:9): [True: 0, False: 23.4k]
  ------------------
  160|      0|            return 4;
  161|    452|        case COMPARE_OP:
  ------------------
  |  |   67|    452|#define COMPARE_OP                              54
  ------------------
  |  Branch (161:9): [True: 452, False: 22.9k]
  ------------------
  162|    452|            return 2;
  163|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  174|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (163:9): [True: 0, False: 23.4k]
  ------------------
  164|      0|            return 2;
  165|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  175|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (165:9): [True: 0, False: 23.4k]
  ------------------
  166|      0|            return 2;
  167|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  176|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (167:9): [True: 0, False: 23.4k]
  ------------------
  168|      0|            return 2;
  169|     96|        case CONTAINS_OP:
  ------------------
  |  |   68|     96|#define CONTAINS_OP                             55
  ------------------
  |  Branch (169:9): [True: 96, False: 23.3k]
  ------------------
  170|     96|            return 2;
  171|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  177|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (171:9): [True: 0, False: 23.4k]
  ------------------
  172|      0|            return 2;
  173|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  178|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (173:9): [True: 0, False: 23.4k]
  ------------------
  174|      0|            return 2;
  175|    492|        case CONVERT_VALUE:
  ------------------
  |  |   69|    492|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (175:9): [True: 492, False: 22.9k]
  ------------------
  176|    492|            return 1;
  177|    166|        case COPY:
  ------------------
  |  |   70|    166|#define COPY                                    57
  ------------------
  |  Branch (177:9): [True: 166, False: 23.2k]
  ------------------
  178|    166|            return 1 + (oparg-1);
  179|    169|        case COPY_FREE_VARS:
  ------------------
  |  |   71|    169|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (179:9): [True: 169, False: 23.2k]
  ------------------
  180|    169|            return 0;
  181|      0|        case DELETE_ATTR:
  ------------------
  |  |   72|      0|#define DELETE_ATTR                             59
  ------------------
  |  Branch (181:9): [True: 0, False: 23.4k]
  ------------------
  182|      0|            return 1;
  183|      0|        case DELETE_DEREF:
  ------------------
  |  |   73|      0|#define DELETE_DEREF                            60
  ------------------
  |  Branch (183:9): [True: 0, False: 23.4k]
  ------------------
  184|      0|            return 0;
  185|      0|        case DELETE_FAST:
  ------------------
  |  |   74|      0|#define DELETE_FAST                             61
  ------------------
  |  Branch (185:9): [True: 0, False: 23.4k]
  ------------------
  186|      0|            return 0;
  187|      0|        case DELETE_GLOBAL:
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (187:9): [True: 0, False: 23.4k]
  ------------------
  188|      0|            return 0;
  189|      0|        case DELETE_NAME:
  ------------------
  |  |   76|      0|#define DELETE_NAME                             63
  ------------------
  |  Branch (189:9): [True: 0, False: 23.4k]
  ------------------
  190|      0|            return 0;
  191|      0|        case DELETE_SUBSCR:
  ------------------
  |  |   21|      0|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (191:9): [True: 0, False: 23.4k]
  ------------------
  192|      0|            return 2;
  193|      4|        case DICT_MERGE:
  ------------------
  |  |   77|      4|#define DICT_MERGE                              64
  ------------------
  |  Branch (193:9): [True: 4, False: 23.4k]
  ------------------
  194|      4|            return 5 + (oparg - 1);
  195|      0|        case DICT_UPDATE:
  ------------------
  |  |   78|      0|#define DICT_UPDATE                             65
  ------------------
  |  Branch (195:9): [True: 0, False: 23.4k]
  ------------------
  196|      0|            return 2 + (oparg - 1);
  197|      0|        case END_ASYNC_FOR:
  ------------------
  |  |   79|      0|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (197:9): [True: 0, False: 23.4k]
  ------------------
  198|      0|            return 2;
  199|      4|        case END_FOR:
  ------------------
  |  |   22|      4|#define END_FOR                                  9
  ------------------
  |  Branch (199:9): [True: 4, False: 23.4k]
  ------------------
  200|      4|            return 1;
  201|      0|        case END_SEND:
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (201:9): [True: 0, False: 23.4k]
  ------------------
  202|      0|            return 3;
  203|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  245|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (203:9): [True: 0, False: 23.4k]
  ------------------
  204|      0|            return 0;
  205|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (205:9): [True: 0, False: 23.4k]
  ------------------
  206|      0|            return 1;
  207|      0|        case EXTENDED_ARG:
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (207:9): [True: 0, False: 23.4k]
  ------------------
  208|      0|            return 0;
  209|    584|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|    584|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (209:9): [True: 584, False: 22.8k]
  ------------------
  210|    584|            return 1;
  211|      0|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|      0|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (211:9): [True: 0, False: 23.4k]
  ------------------
  212|      0|            return 2;
  213|      4|        case FOR_ITER:
  ------------------
  |  |   81|      4|#define FOR_ITER                                68
  ------------------
  |  Branch (213:9): [True: 4, False: 23.4k]
  ------------------
  214|      4|            return 2;
  215|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  179|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (215:9): [True: 0, False: 23.4k]
  ------------------
  216|      0|            return 2;
  217|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  180|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (217:9): [True: 0, False: 23.4k]
  ------------------
  218|      0|            return 2;
  219|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  181|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (219:9): [True: 0, False: 23.4k]
  ------------------
  220|      0|            return 2;
  221|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  182|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (221:9): [True: 0, False: 23.4k]
  ------------------
  222|      0|            return 2;
  223|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  183|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (223:9): [True: 0, False: 23.4k]
  ------------------
  224|      0|            return 2;
  225|      0|        case GET_AITER:
  ------------------
  |  |   27|      0|#define GET_AITER                               14
  ------------------
  |  Branch (225:9): [True: 0, False: 23.4k]
  ------------------
  226|      0|            return 1;
  227|      0|        case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (227:9): [True: 0, False: 23.4k]
  ------------------
  228|      0|            return 1;
  229|      0|        case GET_AWAITABLE:
  ------------------
  |  |   82|      0|#define GET_AWAITABLE                           69
  ------------------
  |  Branch (229:9): [True: 0, False: 23.4k]
  ------------------
  230|      0|            return 1;
  231|      4|        case GET_ITER:
  ------------------
  |  |   83|      4|#define GET_ITER                                70
  ------------------
  |  Branch (231:9): [True: 4, False: 23.4k]
  ------------------
  232|      4|            return 1;
  233|      0|        case GET_ITER_SELF:
  ------------------
  |  |  184|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (233:9): [True: 0, False: 23.4k]
  ------------------
  234|      0|            return 1;
  235|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  185|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (235:9): [True: 0, False: 23.4k]
  ------------------
  236|      0|            return 1;
  237|      0|        case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (237:9): [True: 0, False: 23.4k]
  ------------------
  238|      0|            return 1;
  239|    190|        case IMPORT_FROM:
  ------------------
  |  |   84|    190|#define IMPORT_FROM                             71
  ------------------
  |  Branch (239:9): [True: 190, False: 23.2k]
  ------------------
  240|    190|            return 1;
  241|    202|        case IMPORT_NAME:
  ------------------
  |  |   85|    202|#define IMPORT_NAME                             72
  ------------------
  |  Branch (241:9): [True: 202, False: 23.2k]
  ------------------
  242|    202|            return 2;
  243|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (243:9): [True: 0, False: 23.4k]
  ------------------
  244|      0|            return 2 + oparg;
  245|      0|        case INSTRUMENTED_CALL_FUNCTION_EX:
  ------------------
  |  |  242|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  ------------------
  |  Branch (245:9): [True: 0, False: 23.4k]
  ------------------
  246|      0|            return 4;
  247|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (247:9): [True: 0, False: 23.4k]
  ------------------
  248|      0|            return 3 + oparg;
  249|      0|        case INSTRUMENTED_END_ASYNC_FOR:
  ------------------
  |  |  238|      0|#define INSTRUMENTED_END_ASYNC_FOR             247
  ------------------
  |  Branch (249:9): [True: 0, False: 23.4k]
  ------------------
  250|      0|            return 2;
  251|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (251:9): [True: 0, False: 23.4k]
  ------------------
  252|      0|            return 3;
  253|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (253:9): [True: 0, False: 23.4k]
  ------------------
  254|      0|            return 3;
  255|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  227|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (255:9): [True: 0, False: 23.4k]
  ------------------
  256|      0|            return 2;
  257|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (257:9): [True: 0, False: 23.4k]
  ------------------
  258|      0|            return 0;
  259|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  243|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (259:9): [True: 0, False: 23.4k]
  ------------------
  260|      0|            return 0;
  261|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  229|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (261:9): [True: 0, False: 23.4k]
  ------------------
  262|      0|            return 0;
  263|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (263:9): [True: 0, False: 23.4k]
  ------------------
  264|      0|            return 0;
  265|      0|        case INSTRUMENTED_LOAD_SUPER_ATTR:
  ------------------
  |  |  239|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  ------------------
  |  Branch (265:9): [True: 0, False: 23.4k]
  ------------------
  266|      0|            return 3;
  267|      0|        case INSTRUMENTED_NOT_TAKEN:
  ------------------
  |  |  230|      0|#define INSTRUMENTED_NOT_TAKEN                 239
  ------------------
  |  Branch (267:9): [True: 0, False: 23.4k]
  ------------------
  268|      0|            return 0;
  269|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (269:9): [True: 0, False: 23.4k]
  ------------------
  270|      0|            return 2;
  271|      0|        case INSTRUMENTED_POP_JUMP_IF_FALSE:
  ------------------
  |  |  232|      0|#define INSTRUMENTED_POP_JUMP_IF_FALSE         241
  ------------------
  |  Branch (271:9): [True: 0, False: 23.4k]
  ------------------
  272|      0|            return 1;
  273|      0|        case INSTRUMENTED_POP_JUMP_IF_NONE:
  ------------------
  |  |  233|      0|#define INSTRUMENTED_POP_JUMP_IF_NONE          242
  ------------------
  |  Branch (273:9): [True: 0, False: 23.4k]
  ------------------
  274|      0|            return 1;
  275|      0|        case INSTRUMENTED_POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  234|      0|#define INSTRUMENTED_POP_JUMP_IF_NOT_NONE      243
  ------------------
  |  Branch (275:9): [True: 0, False: 23.4k]
  ------------------
  276|      0|            return 1;
  277|      0|        case INSTRUMENTED_POP_JUMP_IF_TRUE:
  ------------------
  |  |  231|      0|#define INSTRUMENTED_POP_JUMP_IF_TRUE          240
  ------------------
  |  Branch (277:9): [True: 0, False: 23.4k]
  ------------------
  278|      0|            return 1;
  279|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  235|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (279:9): [True: 0, False: 23.4k]
  ------------------
  280|      0|            return 0;
  281|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  236|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (281:9): [True: 0, False: 23.4k]
  ------------------
  282|      0|            return 1;
  283|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (283:9): [True: 0, False: 23.4k]
  ------------------
  284|      0|            return 1;
  285|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (285:9): [True: 0, False: 23.4k]
  ------------------
  286|      0|            return 1;
  287|    296|        case IS_OP:
  ------------------
  |  |   86|    296|#define IS_OP                                   73
  ------------------
  |  Branch (287:9): [True: 296, False: 23.1k]
  ------------------
  288|    296|            return 2;
  289|      6|        case JUMP:
  ------------------
  |  |  248|      6|#define JUMP                                   257
  ------------------
  |  Branch (289:9): [True: 6, False: 23.4k]
  ------------------
  290|      6|            return 0;
  291|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   87|      0|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (291:9): [True: 0, False: 23.4k]
  ------------------
  292|      0|            return 0;
  293|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  186|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (293:9): [True: 0, False: 23.4k]
  ------------------
  294|      0|            return 0;
  295|      0|        case JUMP_BACKWARD_NO_INTERRUPT:
  ------------------
  |  |   88|      0|#define JUMP_BACKWARD_NO_INTERRUPT              75
  ------------------
  |  Branch (295:9): [True: 0, False: 23.4k]
  ------------------
  296|      0|            return 0;
  297|      0|        case JUMP_BACKWARD_NO_JIT:
  ------------------
  |  |  187|      0|#define JUMP_BACKWARD_NO_JIT                   182
  ------------------
  |  Branch (297:9): [True: 0, False: 23.4k]
  ------------------
  298|      0|            return 0;
  299|      0|        case JUMP_FORWARD:
  ------------------
  |  |   89|      0|#define JUMP_FORWARD                            76
  ------------------
  |  Branch (299:9): [True: 0, False: 23.4k]
  ------------------
  300|      0|            return 0;
  301|      0|        case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (301:9): [True: 0, False: 23.4k]
  ------------------
  302|      0|            return 1;
  303|      0|        case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (303:9): [True: 0, False: 23.4k]
  ------------------
  304|      0|            return 1;
  305|     36|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|     36|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (305:9): [True: 36, False: 23.3k]
  ------------------
  306|     36|            return 0;
  307|      0|        case LIST_APPEND:
  ------------------
  |  |   90|      0|#define LIST_APPEND                             77
  ------------------
  |  Branch (307:9): [True: 0, False: 23.4k]
  ------------------
  308|      0|            return 2 + (oparg-1);
  309|      4|        case LIST_EXTEND:
  ------------------
  |  |   91|      4|#define LIST_EXTEND                             78
  ------------------
  |  Branch (309:9): [True: 4, False: 23.4k]
  ------------------
  310|      4|            return 2 + (oparg-1);
  311|  1.14k|        case LOAD_ATTR:
  ------------------
  |  |   92|  1.14k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (311:9): [True: 1.14k, False: 22.2k]
  ------------------
  312|  1.14k|            return 1;
  313|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  188|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (313:9): [True: 0, False: 23.4k]
  ------------------
  314|      0|            return 1;
  315|      0|        case LOAD_ATTR_CLASS_WITH_METACLASS_CHECK:
  ------------------
  |  |  189|      0|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
  |  Branch (315:9): [True: 0, False: 23.4k]
  ------------------
  316|      0|            return 1;
  317|      0|        case LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN:
  ------------------
  |  |  190|      0|#define LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN      185
  ------------------
  |  Branch (317:9): [True: 0, False: 23.4k]
  ------------------
  318|      0|            return 1;
  319|      0|        case LOAD_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  191|      0|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
  |  Branch (319:9): [True: 0, False: 23.4k]
  ------------------
  320|      0|            return 1;
  321|      0|        case LOAD_ATTR_METHOD_LAZY_DICT:
  ------------------
  |  |  192|      0|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
  |  Branch (321:9): [True: 0, False: 23.4k]
  ------------------
  322|      0|            return 1;
  323|      0|        case LOAD_ATTR_METHOD_NO_DICT:
  ------------------
  |  |  193|      0|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
  |  Branch (323:9): [True: 0, False: 23.4k]
  ------------------
  324|      0|            return 1;
  325|      0|        case LOAD_ATTR_METHOD_WITH_VALUES:
  ------------------
  |  |  194|      0|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
  |  Branch (325:9): [True: 0, False: 23.4k]
  ------------------
  326|      0|            return 1;
  327|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (327:9): [True: 0, False: 23.4k]
  ------------------
  328|      0|            return 1;
  329|      0|        case LOAD_ATTR_NONDESCRIPTOR_NO_DICT:
  ------------------
  |  |  196|      0|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (329:9): [True: 0, False: 23.4k]
  ------------------
  330|      0|            return 1;
  331|      0|        case LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES:
  ------------------
  |  |  197|      0|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (331:9): [True: 0, False: 23.4k]
  ------------------
  332|      0|            return 1;
  333|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  198|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (333:9): [True: 0, False: 23.4k]
  ------------------
  334|      0|            return 1;
  335|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  199|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (335:9): [True: 0, False: 23.4k]
  ------------------
  336|      0|            return 1;
  337|      0|        case LOAD_ATTR_WITH_HINT:
  ------------------
  |  |  200|      0|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  |  Branch (337:9): [True: 0, False: 23.4k]
  ------------------
  338|      0|            return 1;
  339|      0|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|      0|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (339:9): [True: 0, False: 23.4k]
  ------------------
  340|      0|            return 0;
  341|    231|        case LOAD_CLOSURE:
  ------------------
  |  |  252|    231|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (341:9): [True: 231, False: 23.2k]
  ------------------
  342|    231|            return 0;
  343|    630|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   93|    630|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (343:9): [True: 630, False: 22.8k]
  ------------------
  344|    630|            return 0;
  345|  2.68k|        case LOAD_CONST:
  ------------------
  |  |   94|  2.68k|#define LOAD_CONST                              81
  ------------------
  |  Branch (345:9): [True: 2.68k, False: 20.7k]
  ------------------
  346|  2.68k|            return 0;
  347|    862|        case LOAD_DEREF:
  ------------------
  |  |   95|    862|#define LOAD_DEREF                              82
  ------------------
  |  Branch (347:9): [True: 862, False: 22.5k]
  ------------------
  348|    862|            return 0;
  349|  1.71k|        case LOAD_FAST:
  ------------------
  |  |   96|  1.71k|#define LOAD_FAST                               83
  ------------------
  |  Branch (349:9): [True: 1.71k, False: 21.7k]
  ------------------
  350|  1.71k|            return 0;
  351|      0|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|      0|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (351:9): [True: 0, False: 23.4k]
  ------------------
  352|      0|            return 0;
  353|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   98|      0|#define LOAD_FAST_BORROW                        85
  ------------------
  |  Branch (353:9): [True: 0, False: 23.4k]
  ------------------
  354|      0|            return 0;
  355|      0|        case LOAD_FAST_BORROW_LOAD_FAST_BORROW:
  ------------------
  |  |   99|      0|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       86
  ------------------
  |  Branch (355:9): [True: 0, False: 23.4k]
  ------------------
  356|      0|            return 0;
  357|      0|        case LOAD_FAST_CHECK:
  ------------------
  |  |  100|      0|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (357:9): [True: 0, False: 23.4k]
  ------------------
  358|      0|            return 0;
  359|    482|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|    482|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (359:9): [True: 482, False: 22.9k]
  ------------------
  360|    482|            return 0;
  361|      0|        case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |  102|      0|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
  |  Branch (361:9): [True: 0, False: 23.4k]
  ------------------
  362|      0|            return 1;
  363|      0|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  103|      0|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
  |  Branch (363:9): [True: 0, False: 23.4k]
  ------------------
  364|      0|            return 1;
  365|  1.01k|        case LOAD_GLOBAL:
  ------------------
  |  |  104|  1.01k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (365:9): [True: 1.01k, False: 22.4k]
  ------------------
  366|  1.01k|            return 0;
  367|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  201|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (367:9): [True: 0, False: 23.4k]
  ------------------
  368|      0|            return 0;
  369|      0|        case LOAD_GLOBAL_MODULE:
  ------------------
  |  |  202|      0|#define LOAD_GLOBAL_MODULE                     197
  ------------------
  |  Branch (369:9): [True: 0, False: 23.4k]
  ------------------
  370|      0|            return 0;
  371|      0|        case LOAD_LOCALS:
  ------------------
  |  |   33|      0|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (371:9): [True: 0, False: 23.4k]
  ------------------
  372|      0|            return 0;
  373|     68|        case LOAD_NAME:
  ------------------
  |  |  105|     68|#define LOAD_NAME                               92
  ------------------
  |  Branch (373:9): [True: 68, False: 23.3k]
  ------------------
  374|     68|            return 0;
  375|    318|        case LOAD_SMALL_INT:
  ------------------
  |  |  106|    318|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (375:9): [True: 318, False: 23.1k]
  ------------------
  376|    318|            return 0;
  377|      0|        case LOAD_SPECIAL:
  ------------------
  |  |  107|      0|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (377:9): [True: 0, False: 23.4k]
  ------------------
  378|      0|            return 1;
  379|     48|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  108|     48|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (379:9): [True: 48, False: 23.3k]
  ------------------
  380|     48|            return 3;
  381|      0|        case LOAD_SUPER_ATTR_ATTR:
  ------------------
  |  |  203|      0|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (381:9): [True: 0, False: 23.4k]
  ------------------
  382|      0|            return 3;
  383|      0|        case LOAD_SUPER_ATTR_METHOD:
  ------------------
  |  |  204|      0|#define LOAD_SUPER_ATTR_METHOD                 199
  ------------------
  |  Branch (383:9): [True: 0, False: 23.4k]
  ------------------
  384|      0|            return 3;
  385|    183|        case MAKE_CELL:
  ------------------
  |  |  109|    183|#define MAKE_CELL                               96
  ------------------
  |  Branch (385:9): [True: 183, False: 23.2k]
  ------------------
  386|    183|            return 0;
  387|  1.02k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  1.02k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (387:9): [True: 1.02k, False: 22.4k]
  ------------------
  388|  1.02k|            return 1;
  389|      0|        case MAP_ADD:
  ------------------
  |  |  110|      0|#define MAP_ADD                                 97
  ------------------
  |  Branch (389:9): [True: 0, False: 23.4k]
  ------------------
  390|      0|            return 3 + (oparg - 1);
  391|      0|        case MATCH_CLASS:
  ------------------
  |  |  111|      0|#define MATCH_CLASS                             98
  ------------------
  |  Branch (391:9): [True: 0, False: 23.4k]
  ------------------
  392|      0|            return 3;
  393|      0|        case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (393:9): [True: 0, False: 23.4k]
  ------------------
  394|      0|            return 2;
  395|      0|        case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (395:9): [True: 0, False: 23.4k]
  ------------------
  396|      0|            return 1;
  397|      0|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (397:9): [True: 0, False: 23.4k]
  ------------------
  398|      0|            return 1;
  399|      0|        case NOP:
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (399:9): [True: 0, False: 23.4k]
  ------------------
  400|      0|            return 0;
  401|    382|        case NOT_TAKEN:
  ------------------
  |  |   39|    382|#define NOT_TAKEN                               26
  ------------------
  |  Branch (401:9): [True: 382, False: 23.0k]
  ------------------
  402|    382|            return 0;
  403|      0|        case POP_BLOCK:
  ------------------
  |  |  253|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (403:9): [True: 0, False: 23.4k]
  ------------------
  404|      0|            return 0;
  405|      0|        case POP_EXCEPT:
  ------------------
  |  |   40|      0|#define POP_EXCEPT                              27
  ------------------
  |  Branch (405:9): [True: 0, False: 23.4k]
  ------------------
  406|      0|            return 1;
  407|      4|        case POP_ITER:
  ------------------
  |  |   41|      4|#define POP_ITER                                28
  ------------------
  |  Branch (407:9): [True: 4, False: 23.4k]
  ------------------
  408|      4|            return 2;
  409|    996|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|    996|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (409:9): [True: 996, False: 22.4k]
  ------------------
  410|    996|            return 1;
  411|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (411:9): [True: 0, False: 23.4k]
  ------------------
  412|      0|            return 1;
  413|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (413:9): [True: 0, False: 23.4k]
  ------------------
  414|      0|            return 1;
  415|    150|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|    150|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (415:9): [True: 150, False: 23.2k]
  ------------------
  416|    150|            return 1;
  417|    898|        case POP_TOP:
  ------------------
  |  |   42|    898|#define POP_TOP                                 29
  ------------------
  |  Branch (417:9): [True: 898, False: 22.5k]
  ------------------
  418|    898|            return 1;
  419|      0|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (419:9): [True: 0, False: 23.4k]
  ------------------
  420|      0|            return 1;
  421|    562|        case PUSH_NULL:
  ------------------
  |  |   44|    562|#define PUSH_NULL                               31
  ------------------
  |  Branch (421:9): [True: 562, False: 22.8k]
  ------------------
  422|    562|            return 0;
  423|    116|        case RAISE_VARARGS:
  ------------------
  |  |  116|    116|#define RAISE_VARARGS                          103
  ------------------
  |  Branch (423:9): [True: 116, False: 23.3k]
  ------------------
  424|    116|            return oparg;
  425|      0|        case RERAISE:
  ------------------
  |  |  117|      0|#define RERAISE                                104
  ------------------
  |  Branch (425:9): [True: 0, False: 23.4k]
  ------------------
  426|      0|            return 1 + oparg;
  427|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (427:9): [True: 0, False: 23.4k]
  ------------------
  428|      0|            return 0;
  429|  1.46k|        case RESUME:
  ------------------
  |  |  133|  1.46k|#define RESUME                                 128
  ------------------
  |  Branch (429:9): [True: 1.46k, False: 21.9k]
  ------------------
  430|  1.46k|            return 0;
  431|      0|        case RESUME_CHECK:
  ------------------
  |  |  205|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (431:9): [True: 0, False: 23.4k]
  ------------------
  432|      0|            return 0;
  433|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (433:9): [True: 0, False: 23.4k]
  ------------------
  434|      0|            return 0;
  435|      0|        case RETURN_GENERATOR:
  ------------------
  |  |   45|      0|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (435:9): [True: 0, False: 23.4k]
  ------------------
  436|      0|            return 0;
  437|  1.66k|        case RETURN_VALUE:
  ------------------
  |  |   46|  1.66k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (437:9): [True: 1.66k, False: 21.7k]
  ------------------
  438|  1.66k|            return 1;
  439|      0|        case SEND:
  ------------------
  |  |  118|      0|#define SEND                                   105
  ------------------
  |  Branch (439:9): [True: 0, False: 23.4k]
  ------------------
  440|      0|            return 3;
  441|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (441:9): [True: 0, False: 23.4k]
  ------------------
  442|      0|            return 3;
  443|      0|        case SEND_GEN:
  ------------------
  |  |  208|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (443:9): [True: 0, False: 23.4k]
  ------------------
  444|      0|            return 3;
  445|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  209|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (445:9): [True: 0, False: 23.4k]
  ------------------
  446|      0|            return 3;
  447|      0|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|      0|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (447:9): [True: 0, False: 23.4k]
  ------------------
  448|      0|            return 0;
  449|      0|        case SETUP_CLEANUP:
  ------------------
  |  |  254|      0|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (449:9): [True: 0, False: 23.4k]
  ------------------
  450|      0|            return 0;
  451|      0|        case SETUP_FINALLY:
  ------------------
  |  |  255|      0|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (451:9): [True: 0, False: 23.4k]
  ------------------
  452|      0|            return 0;
  453|      0|        case SETUP_WITH:
  ------------------
  |  |  256|      0|#define SETUP_WITH                             265
  ------------------
  |  Branch (453:9): [True: 0, False: 23.4k]
  ------------------
  454|      0|            return 0;
  455|      0|        case SET_ADD:
  ------------------
  |  |  119|      0|#define SET_ADD                                106
  ------------------
  |  Branch (455:9): [True: 0, False: 23.4k]
  ------------------
  456|      0|            return 2 + (oparg-1);
  457|    259|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  120|    259|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (457:9): [True: 259, False: 23.1k]
  ------------------
  458|    259|            return 2;
  459|      0|        case SET_UPDATE:
  ------------------
  |  |  121|      0|#define SET_UPDATE                             108
  ------------------
  |  Branch (459:9): [True: 0, False: 23.4k]
  ------------------
  460|      0|            return 2 + (oparg-1);
  461|    212|        case STORE_ATTR:
  ------------------
  |  |  122|    212|#define STORE_ATTR                             109
  ------------------
  |  Branch (461:9): [True: 212, False: 23.2k]
  ------------------
  462|    212|            return 2;
  463|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  210|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (463:9): [True: 0, False: 23.4k]
  ------------------
  464|      0|            return 2;
  465|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  211|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (465:9): [True: 0, False: 23.4k]
  ------------------
  466|      0|            return 2;
  467|      0|        case STORE_ATTR_WITH_HINT:
  ------------------
  |  |  212|      0|#define STORE_ATTR_WITH_HINT                   207
  ------------------
  |  Branch (467:9): [True: 0, False: 23.4k]
  ------------------
  468|      0|            return 2;
  469|      0|        case STORE_DEREF:
  ------------------
  |  |  123|      0|#define STORE_DEREF                            110
  ------------------
  |  Branch (469:9): [True: 0, False: 23.4k]
  ------------------
  470|      0|            return 1;
  471|    327|        case STORE_FAST:
  ------------------
  |  |  124|    327|#define STORE_FAST                             111
  ------------------
  |  Branch (471:9): [True: 327, False: 23.1k]
  ------------------
  472|    327|            return 1;
  473|      0|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  125|      0|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (473:9): [True: 0, False: 23.4k]
  ------------------
  474|      0|            return 1;
  475|      0|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (475:9): [True: 0, False: 23.4k]
  ------------------
  476|      0|            return 1;
  477|      2|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  126|      2|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (477:9): [True: 2, False: 23.4k]
  ------------------
  478|      2|            return 2;
  479|      0|        case STORE_GLOBAL:
  ------------------
  |  |  127|      0|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (479:9): [True: 0, False: 23.4k]
  ------------------
  480|      0|            return 1;
  481|    496|        case STORE_NAME:
  ------------------
  |  |  128|    496|#define STORE_NAME                             115
  ------------------
  |  Branch (481:9): [True: 496, False: 22.9k]
  ------------------
  482|    496|            return 1;
  483|      0|        case STORE_SLICE:
  ------------------
  |  |   48|      0|#define STORE_SLICE                             35
  ------------------
  |  Branch (483:9): [True: 0, False: 23.4k]
  ------------------
  484|      0|            return 4;
  485|      8|        case STORE_SUBSCR:
  ------------------
  |  |   49|      8|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (485:9): [True: 8, False: 23.4k]
  ------------------
  486|      8|            return 3;
  487|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  213|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (487:9): [True: 0, False: 23.4k]
  ------------------
  488|      0|            return 3;
  489|      0|        case STORE_SUBSCR_LIST_INT:
  ------------------
  |  |  214|      0|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
  |  Branch (489:9): [True: 0, False: 23.4k]
  ------------------
  490|      0|            return 3;
  491|      4|        case SWAP:
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (491:9): [True: 4, False: 23.4k]
  ------------------
  492|      4|            return 2 + (oparg-2);
  493|    344|        case TO_BOOL:
  ------------------
  |  |   50|    344|#define TO_BOOL                                 37
  ------------------
  |  Branch (493:9): [True: 344, False: 23.0k]
  ------------------
  494|    344|            return 1;
  495|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  215|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (495:9): [True: 0, False: 23.4k]
  ------------------
  496|      0|            return 1;
  497|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  216|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (497:9): [True: 0, False: 23.4k]
  ------------------
  498|      0|            return 1;
  499|      0|        case TO_BOOL_INT:
  ------------------
  |  |  217|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (499:9): [True: 0, False: 23.4k]
  ------------------
  500|      0|            return 1;
  501|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  218|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (501:9): [True: 0, False: 23.4k]
  ------------------
  502|      0|            return 1;
  503|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  219|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (503:9): [True: 0, False: 23.4k]
  ------------------
  504|      0|            return 1;
  505|      0|        case TO_BOOL_STR:
  ------------------
  |  |  220|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (505:9): [True: 0, False: 23.4k]
  ------------------
  506|      0|            return 1;
  507|      0|        case TRACE_RECORD:
  ------------------
  |  |  246|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (507:9): [True: 0, False: 23.4k]
  ------------------
  508|      0|            return 0;
  509|      0|        case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (509:9): [True: 0, False: 23.4k]
  ------------------
  510|      0|            return 1;
  511|      4|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|      4|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (511:9): [True: 4, False: 23.4k]
  ------------------
  512|      4|            return 1;
  513|      0|        case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (513:9): [True: 0, False: 23.4k]
  ------------------
  514|      0|            return 1;
  515|      0|        case UNPACK_EX:
  ------------------
  |  |  130|      0|#define UNPACK_EX                              117
  ------------------
  |  Branch (515:9): [True: 0, False: 23.4k]
  ------------------
  516|      0|            return 1;
  517|      4|        case UNPACK_SEQUENCE:
  ------------------
  |  |  131|      4|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (517:9): [True: 4, False: 23.4k]
  ------------------
  518|      4|            return 1;
  519|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  221|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (519:9): [True: 0, False: 23.4k]
  ------------------
  520|      0|            return 1;
  521|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  222|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (521:9): [True: 0, False: 23.4k]
  ------------------
  522|      0|            return 1;
  523|      0|        case UNPACK_SEQUENCE_TWO_TUPLE:
  ------------------
  |  |  223|      0|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
  |  Branch (523:9): [True: 0, False: 23.4k]
  ------------------
  524|      0|            return 1;
  525|      0|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (525:9): [True: 0, False: 23.4k]
  ------------------
  526|      0|            return 5;
  527|      0|        case YIELD_VALUE:
  ------------------
  |  |  132|      0|#define YIELD_VALUE                            119
  ------------------
  |  Branch (527:9): [True: 0, False: 23.4k]
  ------------------
  528|      0|            return 1;
  529|      0|        default:
  ------------------
  |  Branch (529:9): [True: 0, False: 23.4k]
  ------------------
  530|      0|            return -1;
  531|  23.4k|    }
  532|  23.4k|}
_PyOpcode_num_pushed:
  538|  23.4k|int _PyOpcode_num_pushed(int opcode, int oparg)  {
  539|  23.4k|    switch(opcode) {
  540|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  247|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (540:9): [True: 0, False: 23.4k]
  ------------------
  541|      0|            return 0;
  542|     44|        case BINARY_OP:
  ------------------
  |  |   55|     44|#define BINARY_OP                               42
  ------------------
  |  Branch (542:9): [True: 44, False: 23.3k]
  ------------------
  543|     44|            return 1;
  544|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  134|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (544:9): [True: 0, False: 23.4k]
  ------------------
  545|      0|            return 1;
  546|      0|        case BINARY_OP_ADD_INT:
  ------------------
  |  |  135|      0|#define BINARY_OP_ADD_INT                      130
  ------------------
  |  Branch (546:9): [True: 0, False: 23.4k]
  ------------------
  547|      0|            return 1;
  548|      0|        case BINARY_OP_ADD_UNICODE:
  ------------------
  |  |  136|      0|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
  |  Branch (548:9): [True: 0, False: 23.4k]
  ------------------
  549|      0|            return 1;
  550|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  137|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (550:9): [True: 0, False: 23.4k]
  ------------------
  551|      0|            return 1;
  552|      0|        case BINARY_OP_INPLACE_ADD_UNICODE:
  ------------------
  |  |   16|      0|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
  |  Branch (552:9): [True: 0, False: 23.4k]
  ------------------
  553|      0|            return 1;
  554|      0|        case BINARY_OP_MULTIPLY_FLOAT:
  ------------------
  |  |  138|      0|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
  |  Branch (554:9): [True: 0, False: 23.4k]
  ------------------
  555|      0|            return 1;
  556|      0|        case BINARY_OP_MULTIPLY_INT:
  ------------------
  |  |  139|      0|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
  |  Branch (556:9): [True: 0, False: 23.4k]
  ------------------
  557|      0|            return 1;
  558|      0|        case BINARY_OP_SUBSCR_DICT:
  ------------------
  |  |  140|      0|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
  |  Branch (558:9): [True: 0, False: 23.4k]
  ------------------
  559|      0|            return 1;
  560|      0|        case BINARY_OP_SUBSCR_GETITEM:
  ------------------
  |  |  141|      0|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
  |  Branch (560:9): [True: 0, False: 23.4k]
  ------------------
  561|      0|            return 0;
  562|      0|        case BINARY_OP_SUBSCR_LIST_INT:
  ------------------
  |  |  142|      0|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
  |  Branch (562:9): [True: 0, False: 23.4k]
  ------------------
  563|      0|            return 1;
  564|      0|        case BINARY_OP_SUBSCR_LIST_SLICE:
  ------------------
  |  |  143|      0|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
  |  Branch (564:9): [True: 0, False: 23.4k]
  ------------------
  565|      0|            return 1;
  566|      0|        case BINARY_OP_SUBSCR_STR_INT:
  ------------------
  |  |  144|      0|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
  |  Branch (566:9): [True: 0, False: 23.4k]
  ------------------
  567|      0|            return 1;
  568|      0|        case BINARY_OP_SUBSCR_TUPLE_INT:
  ------------------
  |  |  145|      0|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
  |  Branch (568:9): [True: 0, False: 23.4k]
  ------------------
  569|      0|            return 1;
  570|      0|        case BINARY_OP_SUBSCR_USTR_INT:
  ------------------
  |  |  146|      0|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
  |  Branch (570:9): [True: 0, False: 23.4k]
  ------------------
  571|      0|            return 1;
  572|      0|        case BINARY_OP_SUBTRACT_FLOAT:
  ------------------
  |  |  147|      0|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
  |  Branch (572:9): [True: 0, False: 23.4k]
  ------------------
  573|      0|            return 1;
  574|      0|        case BINARY_OP_SUBTRACT_INT:
  ------------------
  |  |  148|      0|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
  |  Branch (574:9): [True: 0, False: 23.4k]
  ------------------
  575|      0|            return 1;
  576|      0|        case BINARY_SLICE:
  ------------------
  |  |   14|      0|#define BINARY_SLICE                             1
  ------------------
  |  Branch (576:9): [True: 0, False: 23.4k]
  ------------------
  577|      0|            return 1;
  578|      0|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|      0|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (578:9): [True: 0, False: 23.4k]
  ------------------
  579|      0|            return 1;
  580|      4|        case BUILD_LIST:
  ------------------
  |  |   57|      4|#define BUILD_LIST                              44
  ------------------
  |  Branch (580:9): [True: 4, False: 23.4k]
  ------------------
  581|      4|            return 1;
  582|    120|        case BUILD_MAP:
  ------------------
  |  |   58|    120|#define BUILD_MAP                               45
  ------------------
  |  Branch (582:9): [True: 120, False: 23.3k]
  ------------------
  583|    120|            return 1;
  584|      0|        case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (584:9): [True: 0, False: 23.4k]
  ------------------
  585|      0|            return 1;
  586|      0|        case BUILD_SLICE:
  ------------------
  |  |   60|      0|#define BUILD_SLICE                             47
  ------------------
  |  Branch (586:9): [True: 0, False: 23.4k]
  ------------------
  587|      0|            return 1;
  588|    188|        case BUILD_STRING:
  ------------------
  |  |   61|    188|#define BUILD_STRING                            48
  ------------------
  |  Branch (588:9): [True: 188, False: 23.2k]
  ------------------
  589|    188|            return 1;
  590|      0|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|      0|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (590:9): [True: 0, False: 23.4k]
  ------------------
  591|      0|            return 1;
  592|    682|        case BUILD_TUPLE:
  ------------------
  |  |   62|    682|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (592:9): [True: 682, False: 22.7k]
  ------------------
  593|    682|            return 1;
  594|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (594:9): [True: 0, False: 23.4k]
  ------------------
  595|      0|            return 0;
  596|  1.19k|        case CALL:
  ------------------
  |  |   63|  1.19k|#define CALL                                    50
  ------------------
  |  Branch (596:9): [True: 1.19k, False: 22.2k]
  ------------------
  597|  1.19k|            return 1;
  598|      0|        case CALL_ALLOC_AND_ENTER_INIT:
  ------------------
  |  |  149|      0|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
  |  Branch (598:9): [True: 0, False: 23.4k]
  ------------------
  599|      0|            return 0;
  600|      0|        case CALL_BOUND_METHOD_EXACT_ARGS:
  ------------------
  |  |  150|      0|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
  |  Branch (600:9): [True: 0, False: 23.4k]
  ------------------
  601|      0|            return 0;
  602|      0|        case CALL_BOUND_METHOD_GENERAL:
  ------------------
  |  |  151|      0|#define CALL_BOUND_METHOD_GENERAL              146
  ------------------
  |  Branch (602:9): [True: 0, False: 23.4k]
  ------------------
  603|      0|            return 0;
  604|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (604:9): [True: 0, False: 23.4k]
  ------------------
  605|      0|            return 1;
  606|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  153|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (606:9): [True: 0, False: 23.4k]
  ------------------
  607|      0|            return 1;
  608|      0|        case CALL_BUILTIN_FAST_WITH_KEYWORDS:
  ------------------
  |  |  154|      0|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
  |  Branch (608:9): [True: 0, False: 23.4k]
  ------------------
  609|      0|            return 1;
  610|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  155|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (610:9): [True: 0, False: 23.4k]
  ------------------
  611|      0|            return 1;
  612|      0|        case CALL_EX_NON_PY_GENERAL:
  ------------------
  |  |  156|      0|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
  |  Branch (612:9): [True: 0, False: 23.4k]
  ------------------
  613|      0|            return 1;
  614|      0|        case CALL_EX_PY:
  ------------------
  |  |  157|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (614:9): [True: 0, False: 23.4k]
  ------------------
  615|      0|            return 0;
  616|      8|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|      8|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (616:9): [True: 8, False: 23.4k]
  ------------------
  617|      8|            return 1;
  618|      4|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      4|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (618:9): [True: 4, False: 23.4k]
  ------------------
  619|      4|            return 1;
  620|      0|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|      0|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (620:9): [True: 0, False: 23.4k]
  ------------------
  621|      0|            return 1;
  622|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  158|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (622:9): [True: 0, False: 23.4k]
  ------------------
  623|      0|            return 1;
  624|    184|        case CALL_KW:
  ------------------
  |  |   66|    184|#define CALL_KW                                 53
  ------------------
  |  Branch (624:9): [True: 184, False: 23.2k]
  ------------------
  625|    184|            return 1;
  626|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  159|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (626:9): [True: 0, False: 23.4k]
  ------------------
  627|      0|            return 0;
  628|      0|        case CALL_KW_NON_PY:
  ------------------
  |  |  160|      0|#define CALL_KW_NON_PY                         155
  ------------------
  |  Branch (628:9): [True: 0, False: 23.4k]
  ------------------
  629|      0|            return 1;
  630|      0|        case CALL_KW_PY:
  ------------------
  |  |  161|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (630:9): [True: 0, False: 23.4k]
  ------------------
  631|      0|            return 0;
  632|      0|        case CALL_LEN:
  ------------------
  |  |  162|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (632:9): [True: 0, False: 23.4k]
  ------------------
  633|      0|            return 1;
  634|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  163|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (634:9): [True: 0, False: 23.4k]
  ------------------
  635|      0|            return 1;
  636|      0|        case CALL_METHOD_DESCRIPTOR_FAST:
  ------------------
  |  |  164|      0|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
  |  Branch (636:9): [True: 0, False: 23.4k]
  ------------------
  637|      0|            return 1;
  638|      0|        case CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS:
  ------------------
  |  |  165|      0|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
  |  Branch (638:9): [True: 0, False: 23.4k]
  ------------------
  639|      0|            return 1;
  640|      0|        case CALL_METHOD_DESCRIPTOR_NOARGS:
  ------------------
  |  |  166|      0|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
  |  Branch (640:9): [True: 0, False: 23.4k]
  ------------------
  641|      0|            return 1;
  642|      0|        case CALL_METHOD_DESCRIPTOR_O:
  ------------------
  |  |  167|      0|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
  |  Branch (642:9): [True: 0, False: 23.4k]
  ------------------
  643|      0|            return 1;
  644|      0|        case CALL_NON_PY_GENERAL:
  ------------------
  |  |  168|      0|#define CALL_NON_PY_GENERAL                    163
  ------------------
  |  Branch (644:9): [True: 0, False: 23.4k]
  ------------------
  645|      0|            return 1;
  646|      0|        case CALL_PY_EXACT_ARGS:
  ------------------
  |  |  169|      0|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (646:9): [True: 0, False: 23.4k]
  ------------------
  647|      0|            return 0;
  648|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  170|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (648:9): [True: 0, False: 23.4k]
  ------------------
  649|      0|            return 0;
  650|      0|        case CALL_STR_1:
  ------------------
  |  |  171|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (650:9): [True: 0, False: 23.4k]
  ------------------
  651|      0|            return 1;
  652|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  172|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (652:9): [True: 0, False: 23.4k]
  ------------------
  653|      0|            return 1;
  654|      0|        case CALL_TYPE_1:
  ------------------
  |  |  173|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (654:9): [True: 0, False: 23.4k]
  ------------------
  655|      0|            return 1;
  656|      0|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|      0|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (656:9): [True: 0, False: 23.4k]
  ------------------
  657|      0|            return 2;
  658|      0|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (658:9): [True: 0, False: 23.4k]
  ------------------
  659|      0|            return 2;
  660|      0|        case CLEANUP_THROW:
  ------------------
  |  |   20|      0|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (660:9): [True: 0, False: 23.4k]
  ------------------
  661|      0|            return 3;
  662|    452|        case COMPARE_OP:
  ------------------
  |  |   67|    452|#define COMPARE_OP                              54
  ------------------
  |  Branch (662:9): [True: 452, False: 22.9k]
  ------------------
  663|    452|            return 1;
  664|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  174|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (664:9): [True: 0, False: 23.4k]
  ------------------
  665|      0|            return 1;
  666|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  175|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (666:9): [True: 0, False: 23.4k]
  ------------------
  667|      0|            return 1;
  668|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  176|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (668:9): [True: 0, False: 23.4k]
  ------------------
  669|      0|            return 1;
  670|     96|        case CONTAINS_OP:
  ------------------
  |  |   68|     96|#define CONTAINS_OP                             55
  ------------------
  |  Branch (670:9): [True: 96, False: 23.3k]
  ------------------
  671|     96|            return 1;
  672|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  177|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (672:9): [True: 0, False: 23.4k]
  ------------------
  673|      0|            return 1;
  674|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  178|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (674:9): [True: 0, False: 23.4k]
  ------------------
  675|      0|            return 1;
  676|    492|        case CONVERT_VALUE:
  ------------------
  |  |   69|    492|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (676:9): [True: 492, False: 22.9k]
  ------------------
  677|    492|            return 1;
  678|    166|        case COPY:
  ------------------
  |  |   70|    166|#define COPY                                    57
  ------------------
  |  Branch (678:9): [True: 166, False: 23.2k]
  ------------------
  679|    166|            return 2 + (oparg-1);
  680|    169|        case COPY_FREE_VARS:
  ------------------
  |  |   71|    169|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (680:9): [True: 169, False: 23.2k]
  ------------------
  681|    169|            return 0;
  682|      0|        case DELETE_ATTR:
  ------------------
  |  |   72|      0|#define DELETE_ATTR                             59
  ------------------
  |  Branch (682:9): [True: 0, False: 23.4k]
  ------------------
  683|      0|            return 0;
  684|      0|        case DELETE_DEREF:
  ------------------
  |  |   73|      0|#define DELETE_DEREF                            60
  ------------------
  |  Branch (684:9): [True: 0, False: 23.4k]
  ------------------
  685|      0|            return 0;
  686|      0|        case DELETE_FAST:
  ------------------
  |  |   74|      0|#define DELETE_FAST                             61
  ------------------
  |  Branch (686:9): [True: 0, False: 23.4k]
  ------------------
  687|      0|            return 0;
  688|      0|        case DELETE_GLOBAL:
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (688:9): [True: 0, False: 23.4k]
  ------------------
  689|      0|            return 0;
  690|      0|        case DELETE_NAME:
  ------------------
  |  |   76|      0|#define DELETE_NAME                             63
  ------------------
  |  Branch (690:9): [True: 0, False: 23.4k]
  ------------------
  691|      0|            return 0;
  692|      0|        case DELETE_SUBSCR:
  ------------------
  |  |   21|      0|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (692:9): [True: 0, False: 23.4k]
  ------------------
  693|      0|            return 0;
  694|      4|        case DICT_MERGE:
  ------------------
  |  |   77|      4|#define DICT_MERGE                              64
  ------------------
  |  Branch (694:9): [True: 4, False: 23.4k]
  ------------------
  695|      4|            return 4 + (oparg - 1);
  696|      0|        case DICT_UPDATE:
  ------------------
  |  |   78|      0|#define DICT_UPDATE                             65
  ------------------
  |  Branch (696:9): [True: 0, False: 23.4k]
  ------------------
  697|      0|            return 1 + (oparg - 1);
  698|      0|        case END_ASYNC_FOR:
  ------------------
  |  |   79|      0|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (698:9): [True: 0, False: 23.4k]
  ------------------
  699|      0|            return 0;
  700|      4|        case END_FOR:
  ------------------
  |  |   22|      4|#define END_FOR                                  9
  ------------------
  |  Branch (700:9): [True: 4, False: 23.4k]
  ------------------
  701|      4|            return 0;
  702|      0|        case END_SEND:
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (702:9): [True: 0, False: 23.4k]
  ------------------
  703|      0|            return 1;
  704|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  245|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (704:9): [True: 0, False: 23.4k]
  ------------------
  705|      0|            return 0;
  706|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (706:9): [True: 0, False: 23.4k]
  ------------------
  707|      0|            return 0;
  708|      0|        case EXTENDED_ARG:
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (708:9): [True: 0, False: 23.4k]
  ------------------
  709|      0|            return 0;
  710|    584|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|    584|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (710:9): [True: 584, False: 22.8k]
  ------------------
  711|    584|            return 1;
  712|      0|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|      0|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (712:9): [True: 0, False: 23.4k]
  ------------------
  713|      0|            return 1;
  714|      4|        case FOR_ITER:
  ------------------
  |  |   81|      4|#define FOR_ITER                                68
  ------------------
  |  Branch (714:9): [True: 4, False: 23.4k]
  ------------------
  715|      4|            return 3;
  716|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  179|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (716:9): [True: 0, False: 23.4k]
  ------------------
  717|      0|            return 2;
  718|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  180|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (718:9): [True: 0, False: 23.4k]
  ------------------
  719|      0|            return 3;
  720|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  181|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (720:9): [True: 0, False: 23.4k]
  ------------------
  721|      0|            return 3;
  722|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  182|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (722:9): [True: 0, False: 23.4k]
  ------------------
  723|      0|            return 3;
  724|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  183|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (724:9): [True: 0, False: 23.4k]
  ------------------
  725|      0|            return 3;
  726|      0|        case GET_AITER:
  ------------------
  |  |   27|      0|#define GET_AITER                               14
  ------------------
  |  Branch (726:9): [True: 0, False: 23.4k]
  ------------------
  727|      0|            return 1;
  728|      0|        case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (728:9): [True: 0, False: 23.4k]
  ------------------
  729|      0|            return 2;
  730|      0|        case GET_AWAITABLE:
  ------------------
  |  |   82|      0|#define GET_AWAITABLE                           69
  ------------------
  |  Branch (730:9): [True: 0, False: 23.4k]
  ------------------
  731|      0|            return 1;
  732|      4|        case GET_ITER:
  ------------------
  |  |   83|      4|#define GET_ITER                                70
  ------------------
  |  Branch (732:9): [True: 4, False: 23.4k]
  ------------------
  733|      4|            return 2;
  734|      0|        case GET_ITER_SELF:
  ------------------
  |  |  184|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (734:9): [True: 0, False: 23.4k]
  ------------------
  735|      0|            return 2;
  736|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  185|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (736:9): [True: 0, False: 23.4k]
  ------------------
  737|      0|            return 2;
  738|      0|        case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (738:9): [True: 0, False: 23.4k]
  ------------------
  739|      0|            return 2;
  740|    190|        case IMPORT_FROM:
  ------------------
  |  |   84|    190|#define IMPORT_FROM                             71
  ------------------
  |  Branch (740:9): [True: 190, False: 23.2k]
  ------------------
  741|    190|            return 2;
  742|    202|        case IMPORT_NAME:
  ------------------
  |  |   85|    202|#define IMPORT_NAME                             72
  ------------------
  |  Branch (742:9): [True: 202, False: 23.2k]
  ------------------
  743|    202|            return 1;
  744|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (744:9): [True: 0, False: 23.4k]
  ------------------
  745|      0|            return 1;
  746|      0|        case INSTRUMENTED_CALL_FUNCTION_EX:
  ------------------
  |  |  242|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  ------------------
  |  Branch (746:9): [True: 0, False: 23.4k]
  ------------------
  747|      0|            return 1;
  748|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (748:9): [True: 0, False: 23.4k]
  ------------------
  749|      0|            return 1;
  750|      0|        case INSTRUMENTED_END_ASYNC_FOR:
  ------------------
  |  |  238|      0|#define INSTRUMENTED_END_ASYNC_FOR             247
  ------------------
  |  Branch (750:9): [True: 0, False: 23.4k]
  ------------------
  751|      0|            return 0;
  752|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (752:9): [True: 0, False: 23.4k]
  ------------------
  753|      0|            return 2;
  754|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (754:9): [True: 0, False: 23.4k]
  ------------------
  755|      0|            return 1;
  756|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  227|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (756:9): [True: 0, False: 23.4k]
  ------------------
  757|      0|            return 3;
  758|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (758:9): [True: 0, False: 23.4k]
  ------------------
  759|      0|            return 0;
  760|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  243|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (760:9): [True: 0, False: 23.4k]
  ------------------
  761|      0|            return 0;
  762|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  229|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (762:9): [True: 0, False: 23.4k]
  ------------------
  763|      0|            return 0;
  764|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (764:9): [True: 0, False: 23.4k]
  ------------------
  765|      0|            return 0;
  766|      0|        case INSTRUMENTED_LOAD_SUPER_ATTR:
  ------------------
  |  |  239|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  ------------------
  |  Branch (766:9): [True: 0, False: 23.4k]
  ------------------
  767|      0|            return 1 + (oparg & 1);
  768|      0|        case INSTRUMENTED_NOT_TAKEN:
  ------------------
  |  |  230|      0|#define INSTRUMENTED_NOT_TAKEN                 239
  ------------------
  |  Branch (768:9): [True: 0, False: 23.4k]
  ------------------
  769|      0|            return 0;
  770|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (770:9): [True: 0, False: 23.4k]
  ------------------
  771|      0|            return 0;
  772|      0|        case INSTRUMENTED_POP_JUMP_IF_FALSE:
  ------------------
  |  |  232|      0|#define INSTRUMENTED_POP_JUMP_IF_FALSE         241
  ------------------
  |  Branch (772:9): [True: 0, False: 23.4k]
  ------------------
  773|      0|            return 0;
  774|      0|        case INSTRUMENTED_POP_JUMP_IF_NONE:
  ------------------
  |  |  233|      0|#define INSTRUMENTED_POP_JUMP_IF_NONE          242
  ------------------
  |  Branch (774:9): [True: 0, False: 23.4k]
  ------------------
  775|      0|            return 0;
  776|      0|        case INSTRUMENTED_POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  234|      0|#define INSTRUMENTED_POP_JUMP_IF_NOT_NONE      243
  ------------------
  |  Branch (776:9): [True: 0, False: 23.4k]
  ------------------
  777|      0|            return 0;
  778|      0|        case INSTRUMENTED_POP_JUMP_IF_TRUE:
  ------------------
  |  |  231|      0|#define INSTRUMENTED_POP_JUMP_IF_TRUE          240
  ------------------
  |  Branch (778:9): [True: 0, False: 23.4k]
  ------------------
  779|      0|            return 0;
  780|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  235|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (780:9): [True: 0, False: 23.4k]
  ------------------
  781|      0|            return 0;
  782|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  236|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (782:9): [True: 0, False: 23.4k]
  ------------------
  783|      0|            return 1;
  784|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (784:9): [True: 0, False: 23.4k]
  ------------------
  785|      0|            return 1;
  786|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (786:9): [True: 0, False: 23.4k]
  ------------------
  787|      0|            return 0;
  788|    296|        case IS_OP:
  ------------------
  |  |   86|    296|#define IS_OP                                   73
  ------------------
  |  Branch (788:9): [True: 296, False: 23.1k]
  ------------------
  789|    296|            return 1;
  790|      6|        case JUMP:
  ------------------
  |  |  248|      6|#define JUMP                                   257
  ------------------
  |  Branch (790:9): [True: 6, False: 23.4k]
  ------------------
  791|      6|            return 0;
  792|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   87|      0|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (792:9): [True: 0, False: 23.4k]
  ------------------
  793|      0|            return 0;
  794|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  186|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (794:9): [True: 0, False: 23.4k]
  ------------------
  795|      0|            return 0;
  796|      0|        case JUMP_BACKWARD_NO_INTERRUPT:
  ------------------
  |  |   88|      0|#define JUMP_BACKWARD_NO_INTERRUPT              75
  ------------------
  |  Branch (796:9): [True: 0, False: 23.4k]
  ------------------
  797|      0|            return 0;
  798|      0|        case JUMP_BACKWARD_NO_JIT:
  ------------------
  |  |  187|      0|#define JUMP_BACKWARD_NO_JIT                   182
  ------------------
  |  Branch (798:9): [True: 0, False: 23.4k]
  ------------------
  799|      0|            return 0;
  800|      0|        case JUMP_FORWARD:
  ------------------
  |  |   89|      0|#define JUMP_FORWARD                            76
  ------------------
  |  Branch (800:9): [True: 0, False: 23.4k]
  ------------------
  801|      0|            return 0;
  802|      0|        case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (802:9): [True: 0, False: 23.4k]
  ------------------
  803|      0|            return 1;
  804|      0|        case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (804:9): [True: 0, False: 23.4k]
  ------------------
  805|      0|            return 1;
  806|     36|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|     36|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (806:9): [True: 36, False: 23.3k]
  ------------------
  807|     36|            return 0;
  808|      0|        case LIST_APPEND:
  ------------------
  |  |   90|      0|#define LIST_APPEND                             77
  ------------------
  |  Branch (808:9): [True: 0, False: 23.4k]
  ------------------
  809|      0|            return 1 + (oparg-1);
  810|      4|        case LIST_EXTEND:
  ------------------
  |  |   91|      4|#define LIST_EXTEND                             78
  ------------------
  |  Branch (810:9): [True: 4, False: 23.4k]
  ------------------
  811|      4|            return 1 + (oparg-1);
  812|  1.14k|        case LOAD_ATTR:
  ------------------
  |  |   92|  1.14k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (812:9): [True: 1.14k, False: 22.2k]
  ------------------
  813|  1.14k|            return 1 + (oparg&1);
  814|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  188|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (814:9): [True: 0, False: 23.4k]
  ------------------
  815|      0|            return 1 + (oparg & 1);
  816|      0|        case LOAD_ATTR_CLASS_WITH_METACLASS_CHECK:
  ------------------
  |  |  189|      0|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
  |  Branch (816:9): [True: 0, False: 23.4k]
  ------------------
  817|      0|            return 1 + (oparg & 1);
  818|      0|        case LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN:
  ------------------
  |  |  190|      0|#define LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN      185
  ------------------
  |  Branch (818:9): [True: 0, False: 23.4k]
  ------------------
  819|      0|            return 0;
  820|      0|        case LOAD_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  191|      0|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
  |  Branch (820:9): [True: 0, False: 23.4k]
  ------------------
  821|      0|            return 1 + (oparg & 1);
  822|      0|        case LOAD_ATTR_METHOD_LAZY_DICT:
  ------------------
  |  |  192|      0|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
  |  Branch (822:9): [True: 0, False: 23.4k]
  ------------------
  823|      0|            return 2;
  824|      0|        case LOAD_ATTR_METHOD_NO_DICT:
  ------------------
  |  |  193|      0|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
  |  Branch (824:9): [True: 0, False: 23.4k]
  ------------------
  825|      0|            return 2;
  826|      0|        case LOAD_ATTR_METHOD_WITH_VALUES:
  ------------------
  |  |  194|      0|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
  |  Branch (826:9): [True: 0, False: 23.4k]
  ------------------
  827|      0|            return 2;
  828|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (828:9): [True: 0, False: 23.4k]
  ------------------
  829|      0|            return 1 + (oparg & 1);
  830|      0|        case LOAD_ATTR_NONDESCRIPTOR_NO_DICT:
  ------------------
  |  |  196|      0|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (830:9): [True: 0, False: 23.4k]
  ------------------
  831|      0|            return 1;
  832|      0|        case LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES:
  ------------------
  |  |  197|      0|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (832:9): [True: 0, False: 23.4k]
  ------------------
  833|      0|            return 1;
  834|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  198|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (834:9): [True: 0, False: 23.4k]
  ------------------
  835|      0|            return 0;
  836|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  199|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (836:9): [True: 0, False: 23.4k]
  ------------------
  837|      0|            return 1 + (oparg & 1);
  838|      0|        case LOAD_ATTR_WITH_HINT:
  ------------------
  |  |  200|      0|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  |  Branch (838:9): [True: 0, False: 23.4k]
  ------------------
  839|      0|            return 1 + (oparg & 1);
  840|      0|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|      0|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (840:9): [True: 0, False: 23.4k]
  ------------------
  841|      0|            return 1;
  842|    231|        case LOAD_CLOSURE:
  ------------------
  |  |  252|    231|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (842:9): [True: 231, False: 23.2k]
  ------------------
  843|    231|            return 1;
  844|    630|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   93|    630|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (844:9): [True: 630, False: 22.8k]
  ------------------
  845|    630|            return 1;
  846|  2.68k|        case LOAD_CONST:
  ------------------
  |  |   94|  2.68k|#define LOAD_CONST                              81
  ------------------
  |  Branch (846:9): [True: 2.68k, False: 20.7k]
  ------------------
  847|  2.68k|            return 1;
  848|    862|        case LOAD_DEREF:
  ------------------
  |  |   95|    862|#define LOAD_DEREF                              82
  ------------------
  |  Branch (848:9): [True: 862, False: 22.5k]
  ------------------
  849|    862|            return 1;
  850|  1.71k|        case LOAD_FAST:
  ------------------
  |  |   96|  1.71k|#define LOAD_FAST                               83
  ------------------
  |  Branch (850:9): [True: 1.71k, False: 21.7k]
  ------------------
  851|  1.71k|            return 1;
  852|      0|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|      0|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (852:9): [True: 0, False: 23.4k]
  ------------------
  853|      0|            return 1;
  854|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   98|      0|#define LOAD_FAST_BORROW                        85
  ------------------
  |  Branch (854:9): [True: 0, False: 23.4k]
  ------------------
  855|      0|            return 1;
  856|      0|        case LOAD_FAST_BORROW_LOAD_FAST_BORROW:
  ------------------
  |  |   99|      0|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       86
  ------------------
  |  Branch (856:9): [True: 0, False: 23.4k]
  ------------------
  857|      0|            return 2;
  858|      0|        case LOAD_FAST_CHECK:
  ------------------
  |  |  100|      0|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (858:9): [True: 0, False: 23.4k]
  ------------------
  859|      0|            return 1;
  860|    482|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|    482|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (860:9): [True: 482, False: 22.9k]
  ------------------
  861|    482|            return 2;
  862|      0|        case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |  102|      0|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
  |  Branch (862:9): [True: 0, False: 23.4k]
  ------------------
  863|      0|            return 1;
  864|      0|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  103|      0|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
  |  Branch (864:9): [True: 0, False: 23.4k]
  ------------------
  865|      0|            return 1;
  866|  1.01k|        case LOAD_GLOBAL:
  ------------------
  |  |  104|  1.01k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (866:9): [True: 1.01k, False: 22.4k]
  ------------------
  867|  1.01k|            return 1 + (oparg & 1);
  868|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  201|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (868:9): [True: 0, False: 23.4k]
  ------------------
  869|      0|            return 1 + (oparg & 1);
  870|      0|        case LOAD_GLOBAL_MODULE:
  ------------------
  |  |  202|      0|#define LOAD_GLOBAL_MODULE                     197
  ------------------
  |  Branch (870:9): [True: 0, False: 23.4k]
  ------------------
  871|      0|            return 1 + (oparg & 1);
  872|      0|        case LOAD_LOCALS:
  ------------------
  |  |   33|      0|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (872:9): [True: 0, False: 23.4k]
  ------------------
  873|      0|            return 1;
  874|     68|        case LOAD_NAME:
  ------------------
  |  |  105|     68|#define LOAD_NAME                               92
  ------------------
  |  Branch (874:9): [True: 68, False: 23.3k]
  ------------------
  875|     68|            return 1;
  876|    318|        case LOAD_SMALL_INT:
  ------------------
  |  |  106|    318|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (876:9): [True: 318, False: 23.1k]
  ------------------
  877|    318|            return 1;
  878|      0|        case LOAD_SPECIAL:
  ------------------
  |  |  107|      0|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (878:9): [True: 0, False: 23.4k]
  ------------------
  879|      0|            return 2;
  880|     48|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  108|     48|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (880:9): [True: 48, False: 23.3k]
  ------------------
  881|     48|            return 1 + (oparg & 1);
  882|      0|        case LOAD_SUPER_ATTR_ATTR:
  ------------------
  |  |  203|      0|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (882:9): [True: 0, False: 23.4k]
  ------------------
  883|      0|            return 1;
  884|      0|        case LOAD_SUPER_ATTR_METHOD:
  ------------------
  |  |  204|      0|#define LOAD_SUPER_ATTR_METHOD                 199
  ------------------
  |  Branch (884:9): [True: 0, False: 23.4k]
  ------------------
  885|      0|            return 2;
  886|    183|        case MAKE_CELL:
  ------------------
  |  |  109|    183|#define MAKE_CELL                               96
  ------------------
  |  Branch (886:9): [True: 183, False: 23.2k]
  ------------------
  887|    183|            return 0;
  888|  1.02k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  1.02k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (888:9): [True: 1.02k, False: 22.4k]
  ------------------
  889|  1.02k|            return 1;
  890|      0|        case MAP_ADD:
  ------------------
  |  |  110|      0|#define MAP_ADD                                 97
  ------------------
  |  Branch (890:9): [True: 0, False: 23.4k]
  ------------------
  891|      0|            return 1 + (oparg - 1);
  892|      0|        case MATCH_CLASS:
  ------------------
  |  |  111|      0|#define MATCH_CLASS                             98
  ------------------
  |  Branch (892:9): [True: 0, False: 23.4k]
  ------------------
  893|      0|            return 1;
  894|      0|        case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (894:9): [True: 0, False: 23.4k]
  ------------------
  895|      0|            return 3;
  896|      0|        case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (896:9): [True: 0, False: 23.4k]
  ------------------
  897|      0|            return 2;
  898|      0|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (898:9): [True: 0, False: 23.4k]
  ------------------
  899|      0|            return 2;
  900|      0|        case NOP:
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (900:9): [True: 0, False: 23.4k]
  ------------------
  901|      0|            return 0;
  902|    382|        case NOT_TAKEN:
  ------------------
  |  |   39|    382|#define NOT_TAKEN                               26
  ------------------
  |  Branch (902:9): [True: 382, False: 23.0k]
  ------------------
  903|    382|            return 0;
  904|      0|        case POP_BLOCK:
  ------------------
  |  |  253|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (904:9): [True: 0, False: 23.4k]
  ------------------
  905|      0|            return 0;
  906|      0|        case POP_EXCEPT:
  ------------------
  |  |   40|      0|#define POP_EXCEPT                              27
  ------------------
  |  Branch (906:9): [True: 0, False: 23.4k]
  ------------------
  907|      0|            return 0;
  908|      4|        case POP_ITER:
  ------------------
  |  |   41|      4|#define POP_ITER                                28
  ------------------
  |  Branch (908:9): [True: 4, False: 23.4k]
  ------------------
  909|      4|            return 0;
  910|    996|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|    996|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (910:9): [True: 996, False: 22.4k]
  ------------------
  911|    996|            return 0;
  912|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (912:9): [True: 0, False: 23.4k]
  ------------------
  913|      0|            return 0;
  914|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (914:9): [True: 0, False: 23.4k]
  ------------------
  915|      0|            return 0;
  916|    150|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|    150|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (916:9): [True: 150, False: 23.2k]
  ------------------
  917|    150|            return 0;
  918|    898|        case POP_TOP:
  ------------------
  |  |   42|    898|#define POP_TOP                                 29
  ------------------
  |  Branch (918:9): [True: 898, False: 22.5k]
  ------------------
  919|    898|            return 0;
  920|      0|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (920:9): [True: 0, False: 23.4k]
  ------------------
  921|      0|            return 2;
  922|    562|        case PUSH_NULL:
  ------------------
  |  |   44|    562|#define PUSH_NULL                               31
  ------------------
  |  Branch (922:9): [True: 562, False: 22.8k]
  ------------------
  923|    562|            return 1;
  924|    116|        case RAISE_VARARGS:
  ------------------
  |  |  116|    116|#define RAISE_VARARGS                          103
  ------------------
  |  Branch (924:9): [True: 116, False: 23.3k]
  ------------------
  925|    116|            return 0;
  926|      0|        case RERAISE:
  ------------------
  |  |  117|      0|#define RERAISE                                104
  ------------------
  |  Branch (926:9): [True: 0, False: 23.4k]
  ------------------
  927|      0|            return oparg;
  928|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (928:9): [True: 0, False: 23.4k]
  ------------------
  929|      0|            return 0;
  930|  1.46k|        case RESUME:
  ------------------
  |  |  133|  1.46k|#define RESUME                                 128
  ------------------
  |  Branch (930:9): [True: 1.46k, False: 21.9k]
  ------------------
  931|  1.46k|            return 0;
  932|      0|        case RESUME_CHECK:
  ------------------
  |  |  205|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (932:9): [True: 0, False: 23.4k]
  ------------------
  933|      0|            return 0;
  934|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (934:9): [True: 0, False: 23.4k]
  ------------------
  935|      0|            return 0;
  936|      0|        case RETURN_GENERATOR:
  ------------------
  |  |   45|      0|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (936:9): [True: 0, False: 23.4k]
  ------------------
  937|      0|            return 1;
  938|  1.66k|        case RETURN_VALUE:
  ------------------
  |  |   46|  1.66k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (938:9): [True: 1.66k, False: 21.7k]
  ------------------
  939|  1.66k|            return 1;
  940|      0|        case SEND:
  ------------------
  |  |  118|      0|#define SEND                                   105
  ------------------
  |  Branch (940:9): [True: 0, False: 23.4k]
  ------------------
  941|      0|            return 3;
  942|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (942:9): [True: 0, False: 23.4k]
  ------------------
  943|      0|            return 3;
  944|      0|        case SEND_GEN:
  ------------------
  |  |  208|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (944:9): [True: 0, False: 23.4k]
  ------------------
  945|      0|            return 2;
  946|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  209|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (946:9): [True: 0, False: 23.4k]
  ------------------
  947|      0|            return 3;
  948|      0|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|      0|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (948:9): [True: 0, False: 23.4k]
  ------------------
  949|      0|            return 0;
  950|      0|        case SETUP_CLEANUP:
  ------------------
  |  |  254|      0|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (950:9): [True: 0, False: 23.4k]
  ------------------
  951|      0|            return 2;
  952|      0|        case SETUP_FINALLY:
  ------------------
  |  |  255|      0|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (952:9): [True: 0, False: 23.4k]
  ------------------
  953|      0|            return 1;
  954|      0|        case SETUP_WITH:
  ------------------
  |  |  256|      0|#define SETUP_WITH                             265
  ------------------
  |  Branch (954:9): [True: 0, False: 23.4k]
  ------------------
  955|      0|            return 1;
  956|      0|        case SET_ADD:
  ------------------
  |  |  119|      0|#define SET_ADD                                106
  ------------------
  |  Branch (956:9): [True: 0, False: 23.4k]
  ------------------
  957|      0|            return 1 + (oparg-1);
  958|    259|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  120|    259|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (958:9): [True: 259, False: 23.1k]
  ------------------
  959|    259|            return 1;
  960|      0|        case SET_UPDATE:
  ------------------
  |  |  121|      0|#define SET_UPDATE                             108
  ------------------
  |  Branch (960:9): [True: 0, False: 23.4k]
  ------------------
  961|      0|            return 1 + (oparg-1);
  962|    212|        case STORE_ATTR:
  ------------------
  |  |  122|    212|#define STORE_ATTR                             109
  ------------------
  |  Branch (962:9): [True: 212, False: 23.2k]
  ------------------
  963|    212|            return 0;
  964|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  210|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (964:9): [True: 0, False: 23.4k]
  ------------------
  965|      0|            return 0;
  966|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  211|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (966:9): [True: 0, False: 23.4k]
  ------------------
  967|      0|            return 0;
  968|      0|        case STORE_ATTR_WITH_HINT:
  ------------------
  |  |  212|      0|#define STORE_ATTR_WITH_HINT                   207
  ------------------
  |  Branch (968:9): [True: 0, False: 23.4k]
  ------------------
  969|      0|            return 0;
  970|      0|        case STORE_DEREF:
  ------------------
  |  |  123|      0|#define STORE_DEREF                            110
  ------------------
  |  Branch (970:9): [True: 0, False: 23.4k]
  ------------------
  971|      0|            return 0;
  972|    327|        case STORE_FAST:
  ------------------
  |  |  124|    327|#define STORE_FAST                             111
  ------------------
  |  Branch (972:9): [True: 327, False: 23.1k]
  ------------------
  973|    327|            return 0;
  974|      0|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  125|      0|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (974:9): [True: 0, False: 23.4k]
  ------------------
  975|      0|            return 1;
  976|      0|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (976:9): [True: 0, False: 23.4k]
  ------------------
  977|      0|            return 0;
  978|      2|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  126|      2|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (978:9): [True: 2, False: 23.4k]
  ------------------
  979|      2|            return 0;
  980|      0|        case STORE_GLOBAL:
  ------------------
  |  |  127|      0|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (980:9): [True: 0, False: 23.4k]
  ------------------
  981|      0|            return 0;
  982|    496|        case STORE_NAME:
  ------------------
  |  |  128|    496|#define STORE_NAME                             115
  ------------------
  |  Branch (982:9): [True: 496, False: 22.9k]
  ------------------
  983|    496|            return 0;
  984|      0|        case STORE_SLICE:
  ------------------
  |  |   48|      0|#define STORE_SLICE                             35
  ------------------
  |  Branch (984:9): [True: 0, False: 23.4k]
  ------------------
  985|      0|            return 0;
  986|      8|        case STORE_SUBSCR:
  ------------------
  |  |   49|      8|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (986:9): [True: 8, False: 23.4k]
  ------------------
  987|      8|            return 0;
  988|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  213|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (988:9): [True: 0, False: 23.4k]
  ------------------
  989|      0|            return 0;
  990|      0|        case STORE_SUBSCR_LIST_INT:
  ------------------
  |  |  214|      0|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
  |  Branch (990:9): [True: 0, False: 23.4k]
  ------------------
  991|      0|            return 0;
  992|      4|        case SWAP:
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (992:9): [True: 4, False: 23.4k]
  ------------------
  993|      4|            return 2 + (oparg-2);
  994|    344|        case TO_BOOL:
  ------------------
  |  |   50|    344|#define TO_BOOL                                 37
  ------------------
  |  Branch (994:9): [True: 344, False: 23.0k]
  ------------------
  995|    344|            return 1;
  996|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  215|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (996:9): [True: 0, False: 23.4k]
  ------------------
  997|      0|            return 1;
  998|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  216|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (998:9): [True: 0, False: 23.4k]
  ------------------
  999|      0|            return 1;
 1000|      0|        case TO_BOOL_INT:
  ------------------
  |  |  217|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (1000:9): [True: 0, False: 23.4k]
  ------------------
 1001|      0|            return 1;
 1002|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  218|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (1002:9): [True: 0, False: 23.4k]
  ------------------
 1003|      0|            return 1;
 1004|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  219|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (1004:9): [True: 0, False: 23.4k]
  ------------------
 1005|      0|            return 1;
 1006|      0|        case TO_BOOL_STR:
  ------------------
  |  |  220|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (1006:9): [True: 0, False: 23.4k]
  ------------------
 1007|      0|            return 1;
 1008|      0|        case TRACE_RECORD:
  ------------------
  |  |  246|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (1008:9): [True: 0, False: 23.4k]
  ------------------
 1009|      0|            return 0;
 1010|      0|        case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (1010:9): [True: 0, False: 23.4k]
  ------------------
 1011|      0|            return 1;
 1012|      4|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|      4|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (1012:9): [True: 4, False: 23.4k]
  ------------------
 1013|      4|            return 1;
 1014|      0|        case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (1014:9): [True: 0, False: 23.4k]
  ------------------
 1015|      0|            return 1;
 1016|      0|        case UNPACK_EX:
  ------------------
  |  |  130|      0|#define UNPACK_EX                              117
  ------------------
  |  Branch (1016:9): [True: 0, False: 23.4k]
  ------------------
 1017|      0|            return 1 + (oparg & 0xFF) + (oparg >> 8);
 1018|      4|        case UNPACK_SEQUENCE:
  ------------------
  |  |  131|      4|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (1018:9): [True: 4, False: 23.4k]
  ------------------
 1019|      4|            return oparg;
 1020|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  221|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (1020:9): [True: 0, False: 23.4k]
  ------------------
 1021|      0|            return oparg;
 1022|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  222|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (1022:9): [True: 0, False: 23.4k]
  ------------------
 1023|      0|            return oparg;
 1024|      0|        case UNPACK_SEQUENCE_TWO_TUPLE:
  ------------------
  |  |  223|      0|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
  |  Branch (1024:9): [True: 0, False: 23.4k]
  ------------------
 1025|      0|            return 2;
 1026|      0|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (1026:9): [True: 0, False: 23.4k]
  ------------------
 1027|      0|            return 6;
 1028|      0|        case YIELD_VALUE:
  ------------------
  |  |  132|      0|#define YIELD_VALUE                            119
  ------------------
  |  Branch (1028:9): [True: 0, False: 23.4k]
  ------------------
 1029|      0|            return 1;
 1030|      0|        default:
  ------------------
  |  Branch (1030:9): [True: 0, False: 23.4k]
  ------------------
 1031|      0|            return -1;
 1032|  23.4k|    }
 1033|  23.4k|}

call.c:_PyErr_Occurred:
   76|  55.5M|{
   77|  55.5M|    assert(tstate != NULL);
   78|  55.5M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 55.4M, False: 64.1k]
  ------------------
   79|  55.4M|        return NULL;
   80|  55.4M|    }
   81|  64.1k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  64.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  64.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  55.5M|}
dictobject.c:_PyErr_Occurred:
   76|  1.38k|{
   77|  1.38k|    assert(tstate != NULL);
   78|  1.38k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.38k, False: 0]
  ------------------
   79|  1.38k|        return NULL;
   80|  1.38k|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  1.38k|}
object.c:_PyErr_Occurred:
   76|  70.8k|{
   77|  70.8k|    assert(tstate != NULL);
   78|  70.8k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 70.8k, False: 0]
  ------------------
   79|  70.8k|        return NULL;
   80|  70.8k|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  70.8k|}
ceval.c:_PyErr_Occurred:
   76|  3.51M|{
   77|  3.51M|    assert(tstate != NULL);
   78|  3.51M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 690k, False: 2.82M]
  ------------------
   79|   690k|        return NULL;
   80|   690k|    }
   81|  2.82M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.82M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  3.51M|}
ceval.c:_PyErr_ClearExcState:
   85|  1.55M|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  1.55M|    do { \
  |  |  485|  1.55M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.55M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.55M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.55M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
   87|  1.55M|}
errors.c:_PyErr_Occurred:
   76|  15.8M|{
   77|  15.8M|    assert(tstate != NULL);
   78|  15.8M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 13.2M, False: 2.60M]
  ------------------
   79|  13.2M|        return NULL;
   80|  13.2M|    }
   81|  2.60M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.60M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  15.8M|}
gc.c:_PyErr_Occurred:
   76|  1.73M|{
   77|  1.73M|    assert(tstate != NULL);
   78|  1.73M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.73M, False: 0]
  ------------------
   79|  1.73M|        return NULL;
   80|  1.73M|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  1.73M|}
import.c:_PyErr_Occurred:
   76|    802|{
   77|    802|    assert(tstate != NULL);
   78|    802|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 802, False: 0]
  ------------------
   79|    802|        return NULL;
   80|    802|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|    802|}
sysmodule.c:_PyErr_Occurred:
   76|      6|{
   77|      6|    assert(tstate != NULL);
   78|      6|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 6, False: 0]
  ------------------
   79|      6|        return NULL;
   80|      6|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|      6|}
abstract.c:_PyErr_Occurred:
   76|   596k|{
   77|   596k|    assert(tstate != NULL);
   78|   596k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 596k, False: 0]
  ------------------
   79|   596k|        return NULL;
   80|   596k|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   596k|}
genobject.c:_PyErr_ClearExcState:
   85|  1.35k|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  1.35k|    do { \
  |  |  485|  1.35k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.35k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.35k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.35k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.35k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.35k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  1.35k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
   87|  1.35k|}

hashtable.c:_Py_HashPointerRaw:
   11|  4.79k|{
   12|  4.79k|    uintptr_t x = (uintptr_t)ptr;
   13|  4.79k|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  167|  4.79k|        do { \
  |  |  168|  4.79k|            static_assert((cond), #cond); \
  |  |  169|  4.79k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 4.79k]
  |  |  ------------------
  ------------------
   14|       |
   15|       |    // Bottom 3 or 4 bits are likely to be 0; rotate x by 4 to the right
   16|       |    // to avoid excessive hash collisions for dicts and sets.
   17|  4.79k|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  167|  4.79k|        do { \
  |  |  168|  4.79k|            static_assert((cond), #cond); \
  |  |  169|  4.79k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 4.79k]
  |  |  ------------------
  ------------------
   20|  4.79k|    return (Py_hash_t)x;
   21|  4.79k|}
pyhash.c:_Py_HashPointerRaw:
   11|  9.82M|{
   12|  9.82M|    uintptr_t x = (uintptr_t)ptr;
   13|  9.82M|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  167|  9.82M|        do { \
  |  |  168|  9.82M|            static_assert((cond), #cond); \
  |  |  169|  9.82M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 9.82M]
  |  |  ------------------
  ------------------
   14|       |
   15|       |    // Bottom 3 or 4 bits are likely to be 0; rotate x by 4 to the right
   16|       |    // to avoid excessive hash collisions for dicts and sets.
   17|  9.82M|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  167|  9.82M|        do { \
  |  |  168|  9.82M|            static_assert((cond), #cond); \
  |  |  169|  9.82M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 9.82M]
  |  |  ------------------
  ------------------
   20|  9.82M|    return (Py_hash_t)x;
   21|  9.82M|}

floatobject.c:_Py_ADJUST_ERANGE1:
   34|     48|{
   35|     48|    if (errno == 0) {
  ------------------
  |  Branch (35:9): [True: 36, False: 12]
  ------------------
   36|     36|        if (x == INFINITY || x == -INFINITY) {
  ------------------
  |  Branch (36:13): [True: 0, False: 36]
  |  Branch (36:30): [True: 0, False: 36]
  ------------------
   37|      0|            errno = ERANGE;
   38|      0|        }
   39|     36|    }
   40|     12|    else if (errno == ERANGE && x == 0.0) {
  ------------------
  |  Branch (40:14): [True: 12, False: 0]
  |  Branch (40:33): [True: 12, False: 0]
  ------------------
   41|       |        errno = 0;
   42|     12|    }
   43|     48|}

bytesobject.c:_PyInterpreterState_GET:
  207|  16.6M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  16.6M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  16.6M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  16.6M|}
call.c:_PyThreadState_GET:
  117|  38.6M|{
  118|  38.6M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  38.6M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  38.6M|}
call.c:_Py_get_machine_stack_pointer:
  318|  19.2M|_Py_get_machine_stack_pointer(void) {
  319|  19.2M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  19.2M|    return result;
  333|  19.2M|}
exceptions.c:_PyInterpreterState_GET:
  207|  1.45M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.45M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.45M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.45M|}
genericaliasobject.c:_PyInterpreterState_GET:
  207|     20|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     20|#if !defined(Py_BUILD_CORE_MODULE)
  213|     20|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     20|}
floatobject.c:_PyInterpreterState_GET:
  207|  5.18M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  5.18M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  5.18M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  5.18M|}
listobject.c:_PyInterpreterState_GET:
  207|  14.1M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  14.1M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  14.1M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  14.1M|}
longobject.c:_PyInterpreterState_GET:
  207|  86.5M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  86.5M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  86.5M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  86.5M|}
dictobject.c:_PyInterpreterState_GET:
  207|  20.3M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  20.3M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  20.3M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  20.3M|}
dictobject.c:_PyThreadState_GET:
  117|  1.63k|{
  118|  1.63k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.63k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.63k|}
memoryobject.c:_PyInterpreterState_GET:
  207|  3.16k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  3.16k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  3.16k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  3.16k|}
moduleobject.c:_PyInterpreterState_GET:
  207|    110|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    110|#if !defined(Py_BUILD_CORE_MODULE)
  213|    110|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    110|}
object.c:_PyThreadState_GET:
  117|   183M|{
  118|   183M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   183M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   183M|}
object.c:_Py_get_machine_stack_pointer:
  318|   145M|_Py_get_machine_stack_pointer(void) {
  319|   145M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|   145M|    return result;
  333|   145M|}
object.c:_PyInterpreterState_GET:
  207|    830|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    830|#if !defined(Py_BUILD_CORE_MODULE)
  213|    830|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    830|}
object.c:_Py_RecursionLimit_GetMargin:
  337|   122M|{
  338|   122M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  339|   122M|    assert(_tstate->c_stack_hard_limit != 0);
  340|   122M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  341|   122M|#if _Py_STACK_GROWS_DOWN
  342|   122M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|   122M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  343|       |#else
  344|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  345|       |#endif
  346|   122M|}
obmalloc.c:_PyInterpreterState_GET:
  207|   158M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   158M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   158M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   158M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  207|   214k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   214k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   214k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   214k|}
sentinelobject.c:_PyInterpreterState_GET:
  207|     10|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     10|#if !defined(Py_BUILD_CORE_MODULE)
  213|     10|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     10|}
sentinelobject.c:_PyThreadState_GET:
  117|     10|{
  118|     10|#if !defined(Py_BUILD_CORE_MODULE)
  119|     10|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     10|}
setobject.c:_PyInterpreterState_GET:
  207|   122k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   122k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   122k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   122k|}
sliceobject.c:_PyInterpreterState_GET:
  207|  24.5M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  24.5M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  24.5M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  24.5M|}
tupleobject.c:_PyInterpreterState_GET:
  207|  73.4M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  73.4M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  73.4M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  73.4M|}
typeobject.c:_PyInterpreterState_GET:
  207|   115M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   115M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   115M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   115M|}
typeobject.c:_PyThreadState_GET:
  117|  32.8M|{
  118|  32.8M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  32.8M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  32.8M|}
typeobject.c:_Py_IsMainInterpreter:
   61|    404|{
   62|    404|    return (interp == _PyInterpreterState_Main());
   63|    404|}
typevarobject.c:_PyThreadState_GET:
  117|     80|{
  118|     80|#if !defined(Py_BUILD_CORE_MODULE)
  119|     80|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     80|}
typevarobject.c:_PyInterpreterState_GET:
  207|   150k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   150k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   150k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   150k|}
unicode_writer.c:_PyInterpreterState_GET:
  207|   108k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   108k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   108k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   108k|}
unicodeobject.c:_PyInterpreterState_GET:
  207|   426k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   426k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   426k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   426k|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.c:_PyInterpreterState_GET:
  207|    506|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    506|#if !defined(Py_BUILD_CORE_MODULE)
  213|    506|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    506|}
weakrefobject.c:_PyInterpreterState_GET:
  207|  70.0k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  70.0k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  70.0k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  70.0k|}
_warnings.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
bltinmodule.c:_PyThreadState_GET:
  117|  4.59k|{
  118|  4.59k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.59k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.59k|}
ceval.c:_PyInterpreterState_GET:
  207|    301|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    301|#if !defined(Py_BUILD_CORE_MODULE)
  213|    301|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    301|}
ceval.c:_Py_get_machine_stack_pointer:
  318|  66.4M|_Py_get_machine_stack_pointer(void) {
  319|  66.4M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  66.4M|    return result;
  333|  66.4M|}
ceval.c:_PyThreadState_GET:
  117|  16.4M|{
  118|  16.4M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  16.4M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  16.4M|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  177|  5.46M|{
  178|  5.46M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 5.46M]
  ------------------
  179|      0|#ifndef Py_GIL_DISABLED
  180|      0|        _Py_FatalErrorFunc(func,
  181|      0|            "the function must be called with the GIL held, "
  182|      0|            "after Python initialization and before Python finalization, "
  183|      0|            "but the GIL is released (the current Python thread state is NULL)");
  184|       |#else
  185|       |        _Py_FatalErrorFunc(func,
  186|       |            "the function must be called with an active thread state, "
  187|       |            "after Python initialization and before Python finalization, "
  188|       |            "but it was called without an active thread state. "
  189|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  190|       |#endif
  191|      0|    }
  192|  5.46M|}
codecs.c:_PyInterpreterState_GET:
  207|     42|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     42|#if !defined(Py_BUILD_CORE_MODULE)
  213|     42|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     42|}
errors.c:_PyThreadState_GET:
  117|  36.3M|{
  118|  36.3M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  36.3M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  36.3M|}
frame.c:_PyInterpreterState_GET:
  207|   980k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   980k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   980k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   980k|}
gc.c:_PyInterpreterState_GET:
  207|  69.6M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  69.6M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  69.6M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  69.6M|}
gc.c:_PyThreadState_GET:
  117|  42.5M|{
  118|  42.5M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  42.5M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  42.5M|}
getargs.c:_PyInterpreterState_GET:
  207|     88|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     88|#if !defined(Py_BUILD_CORE_MODULE)
  213|     88|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     88|}
getargs.c:_Py_IsMainInterpreter:
   61|     32|{
   62|     32|    return (interp == _PyInterpreterState_Main());
   63|     32|}
ceval_gil.c:_PyThreadState_GET:
  117|  67.9k|{
  118|  67.9k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  67.9k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  67.9k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  177|   135k|{
  178|   135k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 135k]
  ------------------
  179|      0|#ifndef Py_GIL_DISABLED
  180|      0|        _Py_FatalErrorFunc(func,
  181|      0|            "the function must be called with the GIL held, "
  182|      0|            "after Python initialization and before Python finalization, "
  183|      0|            "but the GIL is released (the current Python thread state is NULL)");
  184|       |#else
  185|       |        _Py_FatalErrorFunc(func,
  186|       |            "the function must be called with an active thread state, "
  187|       |            "after Python initialization and before Python finalization, "
  188|       |            "but it was called without an active thread state. "
  189|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  190|       |#endif
  191|      0|    }
  192|   135k|}
import.c:_PyThreadState_GET:
  117|   802k|{
  118|   802k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   802k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   802k|}
import.c:_PyInterpreterState_GET:
  207|   799k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   799k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   799k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   799k|}
import.c:_Py_IsMainInterpreter:
   61|    114|{
   62|    114|    return (interp == _PyInterpreterState_Main());
   63|    114|}
marshal.c:_PyInterpreterState_GET:
  207|   109k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   109k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   109k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   109k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  177|  56.2M|{
  178|  56.2M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 56.2M]
  ------------------
  179|      0|#ifndef Py_GIL_DISABLED
  180|      0|        _Py_FatalErrorFunc(func,
  181|      0|            "the function must be called with the GIL held, "
  182|      0|            "after Python initialization and before Python finalization, "
  183|      0|            "but the GIL is released (the current Python thread state is NULL)");
  184|       |#else
  185|       |        _Py_FatalErrorFunc(func,
  186|       |            "the function must be called with an active thread state, "
  187|       |            "after Python initialization and before Python finalization, "
  188|       |            "but it was called without an active thread state. "
  189|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  190|       |#endif
  191|      0|    }
  192|  56.2M|}
pystate.c:_Py_IsMainInterpreter:
   61|      4|{
   62|      4|    return (interp == _PyInterpreterState_Main());
   63|      4|}
pythonrun.c:_PyThreadState_GET:
  117|    203|{
  118|    203|#if !defined(Py_BUILD_CORE_MODULE)
  119|    203|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    203|}
specialize.c:_PyThreadState_GET:
  117|  27.6k|{
  118|  27.6k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  27.6k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  27.6k|}
specialize.c:_PyInterpreterState_GET:
  207|  63.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  63.2k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  63.2k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  63.2k|}
symtable.c:_PyThreadState_GET:
  117|    219|{
  118|    219|#if !defined(Py_BUILD_CORE_MODULE)
  119|    219|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    219|}
sysmodule.c:_PyThreadState_GET:
  117|   409k|{
  118|   409k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   409k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   409k|}
sysmodule.c:_PyInterpreterState_GET:
  207|    618|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    618|#if !defined(Py_BUILD_CORE_MODULE)
  213|    618|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    618|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  177|    678|{
  178|    678|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 678]
  ------------------
  179|      0|#ifndef Py_GIL_DISABLED
  180|      0|        _Py_FatalErrorFunc(func,
  181|      0|            "the function must be called with the GIL held, "
  182|      0|            "after Python initialization and before Python finalization, "
  183|      0|            "but the GIL is released (the current Python thread state is NULL)");
  184|       |#else
  185|       |        _Py_FatalErrorFunc(func,
  186|       |            "the function must be called with an active thread state, "
  187|       |            "after Python initialization and before Python finalization, "
  188|       |            "but it was called without an active thread state. "
  189|       |            "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?");
  190|       |#endif
  191|      0|    }
  192|    678|}
thread.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
dtoa.c:_PyInterpreterState_GET:
  207|     16|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     16|#if !defined(Py_BUILD_CORE_MODULE)
  213|     16|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     16|}
dynload_shlib.c:_PyInterpreterState_GET:
  207|     98|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     98|#if !defined(Py_BUILD_CORE_MODULE)
  213|     98|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     98|}
gcmodule.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
atexitmodule.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
posixmodule.c:_PyInterpreterState_GET:
  207|     10|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     10|#if !defined(Py_BUILD_CORE_MODULE)
  213|     10|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     10|}
posixmodule.c:_PyThreadState_GET:
  117|    249|{
  118|    249|#if !defined(Py_BUILD_CORE_MODULE)
  119|    249|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    249|}
signalmodule.c:_Py_IsMainInterpreter:
   61|   375k|{
   62|   375k|    return (interp == _PyInterpreterState_Main());
   63|   375k|}
signalmodule.c:_PyThreadState_GET:
  117|   375k|{
  118|   375k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   375k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   375k|}
signalmodule.c:_Py_ThreadCanHandleSignals:
   84|   375k|{
   85|   375k|    return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp));
  ------------------
  |  Branch (85:13): [True: 375k, False: 0]
  |  Branch (85:35): [True: 375k, False: 0]
  ------------------
   86|   375k|}
_collectionsmodule.c:_PyThreadState_GET:
  117|     70|{
  118|     70|#if !defined(Py_BUILD_CORE_MODULE)
  119|     70|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     70|}
iobase.c:_PyInterpreterState_GET:
  207|     12|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     12|#if !defined(Py_BUILD_CORE_MODULE)
  213|     12|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     12|}
fileio.c:_PyInterpreterState_GET:
  207|    520|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    520|#if !defined(Py_BUILD_CORE_MODULE)
  213|    520|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    520|}
bytesio.c:_PyInterpreterState_GET:
  207|  6.27k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  6.27k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  6.27k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  6.27k|}
bufferedio.c:_PyInterpreterState_GET:
  207|    522|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    522|#if !defined(Py_BUILD_CORE_MODULE)
  213|    522|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    522|}
bufferedio.c:_PyThreadState_GET:
  117|    510|{
  118|    510|#if !defined(Py_BUILD_CORE_MODULE)
  119|    510|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    510|}
textio.c:_PyInterpreterState_GET:
  207|     22|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     22|#if !defined(Py_BUILD_CORE_MODULE)
  213|     22|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     22|}
stringio.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
itertoolsmodule.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
_threadmodule.c:_PyThreadState_GET:
  117|  15.5M|{
  118|  15.5M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  15.5M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  15.5M|}
_typingmodule.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
_functoolsmodule.c:_PyThreadState_GET:
  117|  4.11k|{
  118|  4.11k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.11k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.11k|}
_operator.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
getpath.c:_PyThreadState_GET:
  117|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
abstract.c:_PyThreadState_GET:
  117|  4.11M|{
  118|  4.11M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.11M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.11M|}
abstract.c:_Py_get_machine_stack_pointer:
  318|   792k|_Py_get_machine_stack_pointer(void) {
  319|   792k|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|   792k|    return result;
  333|   792k|}
bytearrayobject.c:_PyInterpreterState_GET:
  207|      4|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      4|#if !defined(Py_BUILD_CORE_MODULE)
  213|      4|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      4|}
capsule.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
cellobject.c:_PyInterpreterState_GET:
  207|  14.3M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  14.3M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  14.3M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  14.3M|}
classobject.c:_PyInterpreterState_GET:
  207|  7.19M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  7.19M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  7.19M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  7.19M|}
classobject.c:_PyThreadState_GET:
  117|  1.34M|{
  118|  1.34M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.34M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.34M|}
codeobject.c:_PyInterpreterState_GET:
  207|   155k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   155k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   155k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   155k|}
complexobject.c:_PyInterpreterState_GET:
  207|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      2|#if !defined(Py_BUILD_CORE_MODULE)
  213|      2|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      2|}
descrobject.c:_PyInterpreterState_GET:
  207|  35.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  35.4k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  35.4k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  35.4k|}
descrobject.c:_PyThreadState_GET:
  117|   222k|{
  118|   222k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   222k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   222k|}
descrobject.c:_Py_get_machine_stack_pointer:
  318|   222k|_Py_get_machine_stack_pointer(void) {
  319|   222k|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|   222k|    return result;
  333|   222k|}
enumobject.c:_PyInterpreterState_GET:
  207|    140|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    140|#if !defined(Py_BUILD_CORE_MODULE)
  213|    140|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    140|}
enumobject.c:_PyThreadState_GET:
  117|    388|{
  118|    388|#if !defined(Py_BUILD_CORE_MODULE)
  119|    388|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    388|}
genobject.c:_PyInterpreterState_GET:
  207|  6.21M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  6.21M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  6.21M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  6.21M|}
genobject.c:_PyThreadState_GET:
  117|   285k|{
  118|   285k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   285k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   285k|}
frameobject.c:_PyInterpreterState_GET:
  207|   980k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   980k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   980k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   980k|}
funcobject.c:_PyInterpreterState_GET:
  207|  20.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  20.7M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  20.7M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  20.7M|}
iterobject.c:_PyInterpreterState_GET:
  207|  1.40k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.40k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.40k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.40k|}
iterobject.c:_PyThreadState_GET:
  117|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
lazyimportobject.c:_PyInterpreterState_GET:
  207|     80|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     80|#if !defined(Py_BUILD_CORE_MODULE)
  213|     80|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     80|}
odictobject.c:_PyInterpreterState_GET:
  207|   104k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   104k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   104k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   104k|}
methodobject.c:_PyInterpreterState_GET:
  207|  27.9M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  27.9M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  27.9M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  27.9M|}
methodobject.c:_PyThreadState_GET:
  117|  9.69M|{
  118|  9.69M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  9.69M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  9.69M|}
methodobject.c:_Py_get_machine_stack_pointer:
  318|  9.69M|_Py_get_machine_stack_pointer(void) {
  319|  9.69M|    uintptr_t result;
  320|       |#if defined(_M_ARM64)
  321|       |    result = __getReg(31);
  322|       |#elif defined(_M_X64) || defined(_M_IX86)
  323|       |    result = (uintptr_t)_AddressOfReturnAddress();
  324|       |#elif defined(__aarch64__)
  325|       |    __asm__ ("mov %0, sp" : "=r" (result));
  326|       |#elif defined(__x86_64__)
  327|       |    __asm__("{movq %%rsp, %0" : "=r" (result));
  328|       |#else
  329|       |    char here;
  330|       |    result = (uintptr_t)&here;
  331|       |#endif
  332|  9.69M|    return result;
  333|  9.69M|}
Python-ast.c:_PyInterpreterState_GET:
  207|  54.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  54.2k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  54.2k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  54.2k|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  207|  6.74M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  6.74M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  6.74M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  6.74M|}
action_helpers.c:_PyInterpreterState_GET:
  207|    178|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    178|#if !defined(Py_BUILD_CORE_MODULE)
  213|    178|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    178|}

pylifecycle.c:_PyRuntimeState_GetCoreInitialized:
   63|      4|_PyRuntimeState_GetCoreInitialized(_PyRuntimeState *runtime) {
   64|      4|    return _Py_atomic_load_int(&runtime->core_initialized);
   65|      4|}
pylifecycle.c:_PyRuntimeState_GetInitialized:
   73|      6|_PyRuntimeState_GetInitialized(_PyRuntimeState *runtime) {
   74|      6|    return _Py_atomic_load_int(&runtime->initialized);
   75|      6|}
pylifecycle.c:_PyRuntimeState_SetFinalizing:
   46|      2|_PyRuntimeState_SetFinalizing(_PyRuntimeState *runtime, PyThreadState *tstate) {
   47|      2|    _Py_atomic_store_ptr_relaxed(&runtime->_finalizing, tstate);
   48|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (48:9): [True: 2, False: 0]
  ------------------
   49|      2|        _Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id, 0);
  ------------------
  |  |  619|      2|    _Py_atomic_store_uint64_relaxed((uint64_t *)p, v)
  ------------------
   50|      2|    }
   51|      0|    else {
   52|       |        // XXX Re-enable this assert once gh-109860 is fixed.
   53|       |        //assert(tstate->thread_id == PyThread_get_thread_ident());
   54|      0|        _Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id,
  ------------------
  |  |  619|      0|    _Py_atomic_store_uint64_relaxed((uint64_t *)p, v)
  ------------------
   55|      0|                                       tstate->thread_id);
   56|      0|    }
   57|      2|}
pylifecycle.c:_PyRuntimeState_SetCoreInitialized:
   68|      2|_PyRuntimeState_SetCoreInitialized(_PyRuntimeState *runtime, int initialized) {
   69|      2|    _Py_atomic_store_int(&runtime->core_initialized, initialized);
   70|      2|}
pylifecycle.c:_PyRuntimeState_SetInitialized:
   78|      2|_PyRuntimeState_SetInitialized(_PyRuntimeState *runtime, int initialized) {
   79|      2|    _Py_atomic_store_int(&runtime->initialized, initialized);
   80|      2|}

typeobject.c:_PySlot_heaptype_apply_field_slot:
  381|  1.55k|{
  382|  1.55k|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 1.55k, False: 2]
  ------------------
  383|      4|        case Py_mp_subscript:
  ------------------
  |  |   13|      4|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 4, False: 1.55k]
  ------------------
  384|      4|            ht->as_mapping.mp_subscript = (binaryfunc)slot.sl_func;
  385|      4|            break;
  386|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (386:9): [True: 0, False: 1.55k]
  ------------------
  387|      0|            ht->as_number.nb_absolute = (unaryfunc)slot.sl_func;
  388|      0|            break;
  389|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (389:9): [True: 0, False: 1.55k]
  ------------------
  390|      0|            ht->as_number.nb_add = (binaryfunc)slot.sl_func;
  391|      0|            break;
  392|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (392:9): [True: 0, False: 1.55k]
  ------------------
  393|      0|            ht->as_number.nb_and = (binaryfunc)slot.sl_func;
  394|      0|            break;
  395|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (395:9): [True: 0, False: 1.55k]
  ------------------
  396|      0|            ht->as_number.nb_bool = (inquiry)slot.sl_func;
  397|      0|            break;
  398|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (398:9): [True: 0, False: 1.55k]
  ------------------
  399|      0|            ht->as_number.nb_divmod = (binaryfunc)slot.sl_func;
  400|      0|            break;
  401|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (401:9): [True: 0, False: 1.55k]
  ------------------
  402|      0|            ht->as_number.nb_float = (unaryfunc)slot.sl_func;
  403|      0|            break;
  404|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (404:9): [True: 0, False: 1.55k]
  ------------------
  405|      0|            ht->as_number.nb_floor_divide = (binaryfunc)slot.sl_func;
  406|      0|            break;
  407|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (407:9): [True: 0, False: 1.55k]
  ------------------
  408|      0|            ht->as_number.nb_index = (unaryfunc)slot.sl_func;
  409|      0|            break;
  410|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (410:9): [True: 0, False: 1.55k]
  ------------------
  411|      0|            ht->as_number.nb_inplace_add = (binaryfunc)slot.sl_func;
  412|      0|            break;
  413|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (413:9): [True: 0, False: 1.55k]
  ------------------
  414|      0|            ht->as_number.nb_inplace_and = (binaryfunc)slot.sl_func;
  415|      0|            break;
  416|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (416:9): [True: 0, False: 1.55k]
  ------------------
  417|      0|            ht->as_number.nb_inplace_floor_divide = (binaryfunc)slot.sl_func;
  418|      0|            break;
  419|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (419:9): [True: 0, False: 1.55k]
  ------------------
  420|      0|            ht->as_number.nb_inplace_lshift = (binaryfunc)slot.sl_func;
  421|      0|            break;
  422|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (422:9): [True: 0, False: 1.55k]
  ------------------
  423|      0|            ht->as_number.nb_inplace_multiply = (binaryfunc)slot.sl_func;
  424|      0|            break;
  425|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (425:9): [True: 0, False: 1.55k]
  ------------------
  426|      0|            ht->as_number.nb_inplace_or = (binaryfunc)slot.sl_func;
  427|      0|            break;
  428|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (428:9): [True: 0, False: 1.55k]
  ------------------
  429|      0|            ht->as_number.nb_inplace_power = (ternaryfunc)slot.sl_func;
  430|      0|            break;
  431|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (431:9): [True: 0, False: 1.55k]
  ------------------
  432|      0|            ht->as_number.nb_inplace_remainder = (binaryfunc)slot.sl_func;
  433|      0|            break;
  434|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (434:9): [True: 0, False: 1.55k]
  ------------------
  435|      0|            ht->as_number.nb_inplace_rshift = (binaryfunc)slot.sl_func;
  436|      0|            break;
  437|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (437:9): [True: 0, False: 1.55k]
  ------------------
  438|      0|            ht->as_number.nb_inplace_subtract = (binaryfunc)slot.sl_func;
  439|      0|            break;
  440|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (440:9): [True: 0, False: 1.55k]
  ------------------
  441|      0|            ht->as_number.nb_inplace_true_divide = (binaryfunc)slot.sl_func;
  442|      0|            break;
  443|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (443:9): [True: 0, False: 1.55k]
  ------------------
  444|      0|            ht->as_number.nb_inplace_xor = (binaryfunc)slot.sl_func;
  445|      0|            break;
  446|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (446:9): [True: 0, False: 1.55k]
  ------------------
  447|      0|            ht->as_number.nb_int = (unaryfunc)slot.sl_func;
  448|      0|            break;
  449|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (449:9): [True: 0, False: 1.55k]
  ------------------
  450|      0|            ht->as_number.nb_invert = (unaryfunc)slot.sl_func;
  451|      0|            break;
  452|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (452:9): [True: 0, False: 1.55k]
  ------------------
  453|      0|            ht->as_number.nb_lshift = (binaryfunc)slot.sl_func;
  454|      0|            break;
  455|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (455:9): [True: 0, False: 1.55k]
  ------------------
  456|      0|            ht->as_number.nb_multiply = (binaryfunc)slot.sl_func;
  457|      0|            break;
  458|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (458:9): [True: 0, False: 1.55k]
  ------------------
  459|      0|            ht->as_number.nb_negative = (unaryfunc)slot.sl_func;
  460|      0|            break;
  461|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (461:9): [True: 6, False: 1.54k]
  ------------------
  462|      6|            ht->as_number.nb_or = (binaryfunc)slot.sl_func;
  463|      6|            break;
  464|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (464:9): [True: 0, False: 1.55k]
  ------------------
  465|      0|            ht->as_number.nb_positive = (unaryfunc)slot.sl_func;
  466|      0|            break;
  467|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (467:9): [True: 0, False: 1.55k]
  ------------------
  468|      0|            ht->as_number.nb_power = (ternaryfunc)slot.sl_func;
  469|      0|            break;
  470|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (470:9): [True: 0, False: 1.55k]
  ------------------
  471|      0|            ht->as_number.nb_remainder = (binaryfunc)slot.sl_func;
  472|      0|            break;
  473|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (473:9): [True: 0, False: 1.55k]
  ------------------
  474|      0|            ht->as_number.nb_rshift = (binaryfunc)slot.sl_func;
  475|      0|            break;
  476|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (476:9): [True: 0, False: 1.55k]
  ------------------
  477|      0|            ht->as_number.nb_subtract = (binaryfunc)slot.sl_func;
  478|      0|            break;
  479|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (479:9): [True: 0, False: 1.55k]
  ------------------
  480|      0|            ht->as_number.nb_true_divide = (binaryfunc)slot.sl_func;
  481|      0|            break;
  482|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (482:9): [True: 0, False: 1.55k]
  ------------------
  483|      0|            ht->as_number.nb_xor = (binaryfunc)slot.sl_func;
  484|      0|            break;
  485|      4|        case Py_sq_ass_item:
  ------------------
  |  |   47|      4|#define Py_sq_ass_item 39
  ------------------
  |  Branch (485:9): [True: 4, False: 1.55k]
  ------------------
  486|      4|            ht->as_sequence.sq_ass_item = (ssizeobjargproc)slot.sl_func;
  487|      4|            break;
  488|      4|        case Py_sq_concat:
  ------------------
  |  |   48|      4|#define Py_sq_concat 40
  ------------------
  |  Branch (488:9): [True: 4, False: 1.55k]
  ------------------
  489|      4|            ht->as_sequence.sq_concat = (binaryfunc)slot.sl_func;
  490|      4|            break;
  491|      4|        case Py_sq_contains:
  ------------------
  |  |   49|      4|#define Py_sq_contains 41
  ------------------
  |  Branch (491:9): [True: 4, False: 1.55k]
  ------------------
  492|      4|            ht->as_sequence.sq_contains = (objobjproc)slot.sl_func;
  493|      4|            break;
  494|      4|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      4|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (494:9): [True: 4, False: 1.55k]
  ------------------
  495|      4|            ht->as_sequence.sq_inplace_concat = (binaryfunc)slot.sl_func;
  496|      4|            break;
  497|      4|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      4|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (497:9): [True: 4, False: 1.55k]
  ------------------
  498|      4|            ht->as_sequence.sq_inplace_repeat = (ssizeargfunc)slot.sl_func;
  499|      4|            break;
  500|      4|        case Py_sq_item:
  ------------------
  |  |   52|      4|#define Py_sq_item 44
  ------------------
  |  Branch (500:9): [True: 4, False: 1.55k]
  ------------------
  501|      4|            ht->as_sequence.sq_item = (ssizeargfunc)slot.sl_func;
  502|      4|            break;
  503|      4|        case Py_sq_length:
  ------------------
  |  |   53|      4|#define Py_sq_length 45
  ------------------
  |  Branch (503:9): [True: 4, False: 1.55k]
  ------------------
  504|      4|            ht->as_sequence.sq_length = (lenfunc)slot.sl_func;
  505|      4|            break;
  506|      4|        case Py_sq_repeat:
  ------------------
  |  |   54|      4|#define Py_sq_repeat 46
  ------------------
  |  Branch (506:9): [True: 4, False: 1.55k]
  ------------------
  507|      4|            ht->as_sequence.sq_repeat = (ssizeargfunc)slot.sl_func;
  508|      4|            break;
  509|     28|        case Py_tp_alloc:
  ------------------
  |  |   55|     28|#define Py_tp_alloc 47
  ------------------
  |  Branch (509:9): [True: 28, False: 1.52k]
  ------------------
  510|     28|            ht->ht_type.tp_alloc = (allocfunc)slot.sl_func;
  511|     28|            break;
  512|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (512:9): [True: 0, False: 1.55k]
  ------------------
  513|      0|            ht->ht_type.tp_base = slot.sl_ptr;
  514|      0|            break;
  515|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (515:9): [True: 0, False: 1.55k]
  ------------------
  516|      0|            ht->ht_type.tp_bases = slot.sl_ptr;
  517|      0|            break;
  518|     20|        case Py_tp_call:
  ------------------
  |  |   58|     20|#define Py_tp_call 50
  ------------------
  |  Branch (518:9): [True: 20, False: 1.53k]
  ------------------
  519|     20|            ht->ht_type.tp_call = (ternaryfunc)slot.sl_func;
  520|     20|            break;
  521|     98|        case Py_tp_clear:
  ------------------
  |  |   59|     98|#define Py_tp_clear 51
  ------------------
  |  Branch (521:9): [True: 98, False: 1.45k]
  ------------------
  522|     98|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     98|            break;
  524|    230|        case Py_tp_dealloc:
  ------------------
  |  |   60|    230|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 230, False: 1.32k]
  ------------------
  525|    230|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    230|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 1.55k]
  ------------------
  528|      0|            ht->ht_type.tp_del = (destructor)slot.sl_func;
  529|      0|            break;
  530|      6|        case Py_tp_descr_get:
  ------------------
  |  |   62|      6|#define Py_tp_descr_get 54
  ------------------
  |  Branch (530:9): [True: 6, False: 1.54k]
  ------------------
  531|      6|            ht->ht_type.tp_descr_get = (descrgetfunc)slot.sl_func;
  532|      6|            break;
  533|      2|        case Py_tp_descr_set:
  ------------------
  |  |   63|      2|#define Py_tp_descr_set 55
  ------------------
  |  Branch (533:9): [True: 2, False: 1.55k]
  ------------------
  534|      2|            ht->ht_type.tp_descr_set = (descrsetfunc)slot.sl_func;
  535|      2|            break;
  536|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (536:9): [True: 0, False: 1.55k]
  ------------------
  537|      0|            ht->ht_type.tp_doc = slot.sl_ptr;
  538|      0|            break;
  539|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (539:9): [True: 0, False: 1.55k]
  ------------------
  540|      0|            ht->ht_type.tp_getattr = (getattrfunc)slot.sl_func;
  541|      0|            break;
  542|     84|        case Py_tp_getattro:
  ------------------
  |  |   66|     84|#define Py_tp_getattro 58
  ------------------
  |  Branch (542:9): [True: 84, False: 1.47k]
  ------------------
  543|     84|            ht->ht_type.tp_getattro = (getattrofunc)slot.sl_func;
  544|     84|            break;
  545|      6|        case Py_tp_hash:
  ------------------
  |  |   67|      6|#define Py_tp_hash 59
  ------------------
  |  Branch (545:9): [True: 6, False: 1.54k]
  ------------------
  546|      6|            ht->ht_type.tp_hash = (hashfunc)slot.sl_func;
  547|      6|            break;
  548|     34|        case Py_tp_init:
  ------------------
  |  |   68|     34|#define Py_tp_init 60
  ------------------
  |  Branch (548:9): [True: 34, False: 1.52k]
  ------------------
  549|     34|            ht->ht_type.tp_init = (initproc)slot.sl_func;
  550|     34|            break;
  551|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (551:9): [True: 0, False: 1.55k]
  ------------------
  552|      0|            ht->ht_type.tp_is_gc = (inquiry)slot.sl_func;
  553|      0|            break;
  554|     72|        case Py_tp_iter:
  ------------------
  |  |   70|     72|#define Py_tp_iter 62
  ------------------
  |  Branch (554:9): [True: 72, False: 1.48k]
  ------------------
  555|     72|            ht->ht_type.tp_iter = (getiterfunc)slot.sl_func;
  556|     72|            break;
  557|     70|        case Py_tp_iternext:
  ------------------
  |  |   71|     70|#define Py_tp_iternext 63
  ------------------
  |  Branch (557:9): [True: 70, False: 1.48k]
  ------------------
  558|     70|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     70|            break;
  560|    178|        case Py_tp_methods:
  ------------------
  |  |   72|    178|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 178, False: 1.37k]
  ------------------
  561|    178|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|    178|            break;
  563|    160|        case Py_tp_new:
  ------------------
  |  |   73|    160|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 160, False: 1.39k]
  ------------------
  564|    160|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|    160|            break;
  566|    104|        case Py_tp_repr:
  ------------------
  |  |   74|    104|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 104, False: 1.45k]
  ------------------
  567|    104|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|    104|            break;
  569|     16|        case Py_tp_richcompare:
  ------------------
  |  |   75|     16|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 16, False: 1.53k]
  ------------------
  570|     16|            ht->ht_type.tp_richcompare = (richcmpfunc)slot.sl_func;
  571|     16|            break;
  572|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (572:9): [True: 0, False: 1.55k]
  ------------------
  573|      0|            ht->ht_type.tp_setattr = (setattrfunc)slot.sl_func;
  574|      0|            break;
  575|      8|        case Py_tp_setattro:
  ------------------
  |  |   77|      8|#define Py_tp_setattro 69
  ------------------
  |  Branch (575:9): [True: 8, False: 1.54k]
  ------------------
  576|      8|            ht->ht_type.tp_setattro = (setattrofunc)slot.sl_func;
  577|      8|            break;
  578|      6|        case Py_tp_str:
  ------------------
  |  |   78|      6|#define Py_tp_str 70
  ------------------
  |  Branch (578:9): [True: 6, False: 1.54k]
  ------------------
  579|      6|            ht->ht_type.tp_str = (reprfunc)slot.sl_func;
  580|      6|            break;
  581|    200|        case Py_tp_traverse:
  ------------------
  |  |   79|    200|#define Py_tp_traverse 71
  ------------------
  |  Branch (581:9): [True: 200, False: 1.35k]
  ------------------
  582|    200|            ht->ht_type.tp_traverse = (traverseproc)slot.sl_func;
  583|    200|            break;
  584|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (584:9): [True: 0, False: 1.55k]
  ------------------
  585|      0|            ht->ht_type.tp_members = slot.sl_ptr;
  586|      0|            break;
  587|     92|        case Py_tp_getset:
  ------------------
  |  |   81|     92|#define Py_tp_getset 73
  ------------------
  |  Branch (587:9): [True: 92, False: 1.46k]
  ------------------
  588|     92|            ht->ht_type.tp_getset = slot.sl_ptr;
  589|     92|            break;
  590|     68|        case Py_tp_free:
  ------------------
  |  |   82|     68|#define Py_tp_free 74
  ------------------
  |  Branch (590:9): [True: 68, False: 1.48k]
  ------------------
  591|     68|            ht->ht_type.tp_free = (freefunc)slot.sl_func;
  592|     68|            break;
  593|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (593:9): [True: 0, False: 1.55k]
  ------------------
  594|      0|            ht->as_number.nb_matrix_multiply = (binaryfunc)slot.sl_func;
  595|      0|            break;
  596|      0|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|      0|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (596:9): [True: 0, False: 1.55k]
  ------------------
  597|      0|            ht->as_number.nb_inplace_matrix_multiply = (binaryfunc)slot.sl_func;
  598|      0|            break;
  599|      4|        case Py_am_await:
  ------------------
  |  |   85|      4|#define Py_am_await 77
  ------------------
  |  Branch (599:9): [True: 4, False: 1.55k]
  ------------------
  600|      4|            ht->as_async.am_await = (unaryfunc)slot.sl_func;
  601|      4|            break;
  602|      0|        case Py_am_aiter:
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (602:9): [True: 0, False: 1.55k]
  ------------------
  603|      0|            ht->as_async.am_aiter = (unaryfunc)slot.sl_func;
  604|      0|            break;
  605|      0|        case Py_am_anext:
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (605:9): [True: 0, False: 1.55k]
  ------------------
  606|      0|            ht->as_async.am_anext = (unaryfunc)slot.sl_func;
  607|      0|            break;
  608|     10|        case Py_tp_finalize:
  ------------------
  |  |   88|     10|#define Py_tp_finalize 80
  ------------------
  |  Branch (608:9): [True: 10, False: 1.54k]
  ------------------
  609|     10|            ht->ht_type.tp_finalize = (destructor)slot.sl_func;
  610|     10|            break;
  611|      2|        case Py_am_send:
  ------------------
  |  |   89|      2|#define Py_am_send 81
  ------------------
  |  Branch (611:9): [True: 2, False: 1.55k]
  ------------------
  612|      2|            ht->as_async.am_send = (sendfunc)slot.sl_func;
  613|      2|            break;
  614|      0|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (614:9): [True: 0, False: 1.55k]
  ------------------
  615|      0|            ht->ht_type.tp_vectorcall = (vectorcallfunc)slot.sl_func;
  616|      0|            break;
  617|      4|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      4|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      4|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (617:9): [True: 4, False: 1.55k]
  ------------------
  618|      4|            ht->as_buffer.bf_getbuffer = (getbufferproc)slot.sl_func;
  619|      4|            break;
  620|      4|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|      4|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      4|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (620:9): [True: 4, False: 1.55k]
  ------------------
  621|      4|            ht->as_buffer.bf_releasebuffer = (releasebufferproc)slot.sl_func;
  622|      4|            break;
  623|      2|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|      2|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (623:9): [True: 2, False: 1.55k]
  ------------------
  624|      2|            ht->as_mapping.mp_ass_subscript = (objobjargproc)slot.sl_func;
  625|      2|            break;
  626|      2|        case Py_mp_length:
  ------------------
  |  |   99|      2|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (626:9): [True: 2, False: 1.55k]
  ------------------
  627|      2|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      2|            break;
  629|  1.55k|    }
  630|  1.55k|}
typeobject.c:_PySlot_resolve_type_slot:
    8|    400|{
    9|    400|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 400]
  ------------------
   11|      0|            return Py_bf_getbuffer;
  ------------------
  |  |   96|      0|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   12|      0|        case 2:
  ------------------
  |  Branch (12:9): [True: 0, False: 400]
  ------------------
   13|      0|            return Py_bf_releasebuffer;
  ------------------
  |  |   97|      0|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   14|      0|        case 3:
  ------------------
  |  Branch (14:9): [True: 0, False: 400]
  ------------------
   15|      0|            return Py_mp_ass_subscript;
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   16|      0|        case 4:
  ------------------
  |  Branch (16:9): [True: 0, False: 400]
  ------------------
   17|      0|            return Py_mp_length;
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   18|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 0, False: 400]
  ------------------
   19|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 0, False: 400]
  ------------------
   20|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 400]
  ------------------
   21|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 400]
  ------------------
   22|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 400]
  ------------------
   23|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 400]
  ------------------
   24|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 400]
  ------------------
   25|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 400]
  ------------------
   26|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 400]
  ------------------
   27|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 400]
  ------------------
   28|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 400]
  ------------------
   29|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 400]
  ------------------
   30|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 400]
  ------------------
   31|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 400]
  ------------------
   32|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 400]
  ------------------
   33|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 400]
  ------------------
   34|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 400]
  ------------------
   35|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 400]
  ------------------
   36|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 400]
  ------------------
   37|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 400]
  ------------------
   38|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 400]
  ------------------
   39|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 400]
  ------------------
   40|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 400]
  ------------------
   41|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 400]
  ------------------
   42|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 400]
  ------------------
   43|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 400]
  ------------------
   44|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 400]
  ------------------
   45|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 0, False: 400]
  ------------------
   46|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 400]
  ------------------
   47|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 400]
  ------------------
   48|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 400]
  ------------------
   49|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 400]
  ------------------
   50|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 400]
  ------------------
   51|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 400]
  ------------------
   52|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 400]
  ------------------
   53|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 0, False: 400]
  ------------------
   54|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 0, False: 400]
  ------------------
   55|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 0, False: 400]
  ------------------
   56|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 0, False: 400]
  ------------------
   57|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 0, False: 400]
  ------------------
   58|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 0, False: 400]
  ------------------
   59|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 0, False: 400]
  ------------------
   60|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 0, False: 400]
  ------------------
   61|      2|        case Py_tp_alloc:
  ------------------
  |  |   55|      2|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 2, False: 398]
  ------------------
   62|      2|        case Py_tp_base:
  ------------------
  |  |   56|      2|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 400]
  ------------------
   63|      2|        case Py_tp_bases:
  ------------------
  |  |   57|      2|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 400]
  ------------------
   64|      2|        case Py_tp_call:
  ------------------
  |  |   58|      2|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 0, False: 400]
  ------------------
   65|      2|        case Py_tp_clear:
  ------------------
  |  |   59|      2|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 0, False: 400]
  ------------------
   66|      2|        case Py_tp_dealloc:
  ------------------
  |  |   60|      2|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 0, False: 400]
  ------------------
   67|      2|        case Py_tp_del:
  ------------------
  |  |   61|      2|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 400]
  ------------------
   68|      2|        case Py_tp_descr_get:
  ------------------
  |  |   62|      2|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 0, False: 400]
  ------------------
   69|      2|        case Py_tp_descr_set:
  ------------------
  |  |   63|      2|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 0, False: 400]
  ------------------
   70|      2|        case Py_tp_doc:
  ------------------
  |  |   64|      2|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 0, False: 400]
  ------------------
   71|      2|        case Py_tp_getattr:
  ------------------
  |  |   65|      2|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 400]
  ------------------
   72|      2|        case Py_tp_getattro:
  ------------------
  |  |   66|      2|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 0, False: 400]
  ------------------
   73|      2|        case Py_tp_hash:
  ------------------
  |  |   67|      2|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 0, False: 400]
  ------------------
   74|      2|        case Py_tp_init:
  ------------------
  |  |   68|      2|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 0, False: 400]
  ------------------
   75|      2|        case Py_tp_is_gc:
  ------------------
  |  |   69|      2|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 400]
  ------------------
   76|      2|        case Py_tp_iter:
  ------------------
  |  |   70|      2|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 0, False: 400]
  ------------------
   77|      2|        case Py_tp_iternext:
  ------------------
  |  |   71|      2|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 0, False: 400]
  ------------------
   78|      2|        case Py_tp_methods:
  ------------------
  |  |   72|      2|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 0, False: 400]
  ------------------
   79|      2|        case Py_tp_new:
  ------------------
  |  |   73|      2|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 0, False: 400]
  ------------------
   80|      2|        case Py_tp_repr:
  ------------------
  |  |   74|      2|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 0, False: 400]
  ------------------
   81|      2|        case Py_tp_richcompare:
  ------------------
  |  |   75|      2|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 0, False: 400]
  ------------------
   82|      2|        case Py_tp_setattr:
  ------------------
  |  |   76|      2|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 400]
  ------------------
   83|      2|        case Py_tp_setattro:
  ------------------
  |  |   77|      2|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 0, False: 400]
  ------------------
   84|      2|        case Py_tp_str:
  ------------------
  |  |   78|      2|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 400]
  ------------------
   85|      2|        case Py_tp_traverse:
  ------------------
  |  |   79|      2|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 0, False: 400]
  ------------------
   86|      2|        case Py_tp_members:
  ------------------
  |  |   80|      2|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 0, False: 400]
  ------------------
   87|      2|        case Py_tp_getset:
  ------------------
  |  |   81|      2|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 0, False: 400]
  ------------------
   88|    400|        case Py_tp_free:
  ------------------
  |  |   82|    400|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 398, False: 2]
  ------------------
   89|    400|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    400|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 400]
  ------------------
   90|    400|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    400|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 400]
  ------------------
   91|    400|        case Py_am_await:
  ------------------
  |  |   85|    400|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 400]
  ------------------
   92|    400|        case Py_am_aiter:
  ------------------
  |  |   86|    400|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 400]
  ------------------
   93|    400|        case Py_am_anext:
  ------------------
  |  |   87|    400|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 400]
  ------------------
   94|    400|        case Py_tp_finalize:
  ------------------
  |  |   88|    400|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 0, False: 400]
  ------------------
   95|    400|        case Py_am_send:
  ------------------
  |  |   89|    400|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 400]
  ------------------
   96|    400|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    400|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 400]
  ------------------
   97|    400|        case Py_tp_token:
  ------------------
  |  |   91|    400|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 0, False: 400]
  ------------------
   98|    400|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    400|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    400|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 0, False: 400]
  ------------------
   99|    400|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    400|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    400|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 400]
  ------------------
  100|    400|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    400|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    400|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 400]
  ------------------
  101|    400|        case Py_mp_length:
  ------------------
  |  |   99|    400|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    400|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 400]
  ------------------
  102|    400|        case Py_slot_subslots:
  ------------------
  |  |  100|    400|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 400]
  ------------------
  103|    400|        case Py_tp_slots:
  ------------------
  |  |  101|    400|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 400]
  ------------------
  104|    400|        case Py_tp_name:
  ------------------
  |  |  103|    400|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 400]
  ------------------
  105|    400|        case Py_tp_basicsize:
  ------------------
  |  |  104|    400|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 400]
  ------------------
  106|    400|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    400|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 400]
  ------------------
  107|    400|        case Py_tp_itemsize:
  ------------------
  |  |  106|    400|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 400]
  ------------------
  108|    400|        case Py_tp_flags:
  ------------------
  |  |  107|    400|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 400]
  ------------------
  109|    400|        case Py_tp_metaclass:
  ------------------
  |  |  115|    400|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 400]
  ------------------
  110|    400|        case Py_tp_module:
  ------------------
  |  |  116|    400|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 400]
  ------------------
  111|    400|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 400]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|    400|    }
  115|    400|}
typeobject.c:_PySlot_type_getslot:
  153|    400|{
  154|    400|    switch (slot_id) {
  ------------------
  |  Branch (154:13): [True: 400, False: 0]
  ------------------
  155|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (155:9): [True: 0, False: 400]
  ------------------
  156|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (156:17): [True: 0, False: 0]
  ------------------
  157|      0|            return (void*)tp->tp_as_mapping->mp_subscript;
  158|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (158:9): [True: 0, False: 400]
  ------------------
  159|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (159:17): [True: 0, False: 0]
  ------------------
  160|      0|            return (void*)tp->tp_as_number->nb_absolute;
  161|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (161:9): [True: 0, False: 400]
  ------------------
  162|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (162:17): [True: 0, False: 0]
  ------------------
  163|      0|            return (void*)tp->tp_as_number->nb_add;
  164|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (164:9): [True: 0, False: 400]
  ------------------
  165|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (165:17): [True: 0, False: 0]
  ------------------
  166|      0|            return (void*)tp->tp_as_number->nb_and;
  167|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (167:9): [True: 0, False: 400]
  ------------------
  168|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (168:17): [True: 0, False: 0]
  ------------------
  169|      0|            return (void*)tp->tp_as_number->nb_bool;
  170|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (170:9): [True: 0, False: 400]
  ------------------
  171|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (171:17): [True: 0, False: 0]
  ------------------
  172|      0|            return (void*)tp->tp_as_number->nb_divmod;
  173|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (173:9): [True: 0, False: 400]
  ------------------
  174|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (174:17): [True: 0, False: 0]
  ------------------
  175|      0|            return (void*)tp->tp_as_number->nb_float;
  176|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (176:9): [True: 0, False: 400]
  ------------------
  177|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (177:17): [True: 0, False: 0]
  ------------------
  178|      0|            return (void*)tp->tp_as_number->nb_floor_divide;
  179|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (179:9): [True: 0, False: 400]
  ------------------
  180|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (180:17): [True: 0, False: 0]
  ------------------
  181|      0|            return (void*)tp->tp_as_number->nb_index;
  182|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (182:9): [True: 0, False: 400]
  ------------------
  183|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (183:17): [True: 0, False: 0]
  ------------------
  184|      0|            return (void*)tp->tp_as_number->nb_inplace_add;
  185|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (185:9): [True: 0, False: 400]
  ------------------
  186|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (186:17): [True: 0, False: 0]
  ------------------
  187|      0|            return (void*)tp->tp_as_number->nb_inplace_and;
  188|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (188:9): [True: 0, False: 400]
  ------------------
  189|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (189:17): [True: 0, False: 0]
  ------------------
  190|      0|            return (void*)tp->tp_as_number->nb_inplace_floor_divide;
  191|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (191:9): [True: 0, False: 400]
  ------------------
  192|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (192:17): [True: 0, False: 0]
  ------------------
  193|      0|            return (void*)tp->tp_as_number->nb_inplace_lshift;
  194|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (194:9): [True: 0, False: 400]
  ------------------
  195|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (195:17): [True: 0, False: 0]
  ------------------
  196|      0|            return (void*)tp->tp_as_number->nb_inplace_multiply;
  197|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (197:9): [True: 0, False: 400]
  ------------------
  198|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (198:17): [True: 0, False: 0]
  ------------------
  199|      0|            return (void*)tp->tp_as_number->nb_inplace_or;
  200|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (200:9): [True: 0, False: 400]
  ------------------
  201|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (201:17): [True: 0, False: 0]
  ------------------
  202|      0|            return (void*)tp->tp_as_number->nb_inplace_power;
  203|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (203:9): [True: 0, False: 400]
  ------------------
  204|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (204:17): [True: 0, False: 0]
  ------------------
  205|      0|            return (void*)tp->tp_as_number->nb_inplace_remainder;
  206|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (206:9): [True: 0, False: 400]
  ------------------
  207|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (207:17): [True: 0, False: 0]
  ------------------
  208|      0|            return (void*)tp->tp_as_number->nb_inplace_rshift;
  209|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (209:9): [True: 0, False: 400]
  ------------------
  210|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (210:17): [True: 0, False: 0]
  ------------------
  211|      0|            return (void*)tp->tp_as_number->nb_inplace_subtract;
  212|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (212:9): [True: 0, False: 400]
  ------------------
  213|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (213:17): [True: 0, False: 0]
  ------------------
  214|      0|            return (void*)tp->tp_as_number->nb_inplace_true_divide;
  215|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (215:9): [True: 0, False: 400]
  ------------------
  216|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (216:17): [True: 0, False: 0]
  ------------------
  217|      0|            return (void*)tp->tp_as_number->nb_inplace_xor;
  218|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (218:9): [True: 0, False: 400]
  ------------------
  219|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (219:17): [True: 0, False: 0]
  ------------------
  220|      0|            return (void*)tp->tp_as_number->nb_int;
  221|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (221:9): [True: 0, False: 400]
  ------------------
  222|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (222:17): [True: 0, False: 0]
  ------------------
  223|      0|            return (void*)tp->tp_as_number->nb_invert;
  224|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (224:9): [True: 0, False: 400]
  ------------------
  225|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (225:17): [True: 0, False: 0]
  ------------------
  226|      0|            return (void*)tp->tp_as_number->nb_lshift;
  227|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (227:9): [True: 0, False: 400]
  ------------------
  228|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (228:17): [True: 0, False: 0]
  ------------------
  229|      0|            return (void*)tp->tp_as_number->nb_multiply;
  230|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (230:9): [True: 0, False: 400]
  ------------------
  231|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (231:17): [True: 0, False: 0]
  ------------------
  232|      0|            return (void*)tp->tp_as_number->nb_negative;
  233|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (233:9): [True: 0, False: 400]
  ------------------
  234|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (234:17): [True: 0, False: 0]
  ------------------
  235|      0|            return (void*)tp->tp_as_number->nb_or;
  236|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (236:9): [True: 0, False: 400]
  ------------------
  237|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (237:17): [True: 0, False: 0]
  ------------------
  238|      0|            return (void*)tp->tp_as_number->nb_positive;
  239|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (239:9): [True: 0, False: 400]
  ------------------
  240|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (240:17): [True: 0, False: 0]
  ------------------
  241|      0|            return (void*)tp->tp_as_number->nb_power;
  242|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (242:9): [True: 0, False: 400]
  ------------------
  243|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (243:17): [True: 0, False: 0]
  ------------------
  244|      0|            return (void*)tp->tp_as_number->nb_remainder;
  245|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (245:9): [True: 0, False: 400]
  ------------------
  246|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (246:17): [True: 0, False: 0]
  ------------------
  247|      0|            return (void*)tp->tp_as_number->nb_rshift;
  248|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (248:9): [True: 0, False: 400]
  ------------------
  249|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (249:17): [True: 0, False: 0]
  ------------------
  250|      0|            return (void*)tp->tp_as_number->nb_subtract;
  251|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (251:9): [True: 0, False: 400]
  ------------------
  252|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (252:17): [True: 0, False: 0]
  ------------------
  253|      0|            return (void*)tp->tp_as_number->nb_true_divide;
  254|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (254:9): [True: 0, False: 400]
  ------------------
  255|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (255:17): [True: 0, False: 0]
  ------------------
  256|      0|            return (void*)tp->tp_as_number->nb_xor;
  257|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (257:9): [True: 0, False: 400]
  ------------------
  258|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  ------------------
  259|      0|            return (void*)tp->tp_as_sequence->sq_ass_item;
  260|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (260:9): [True: 0, False: 400]
  ------------------
  261|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (261:17): [True: 0, False: 0]
  ------------------
  262|      0|            return (void*)tp->tp_as_sequence->sq_concat;
  263|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (263:9): [True: 0, False: 400]
  ------------------
  264|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (264:17): [True: 0, False: 0]
  ------------------
  265|      0|            return (void*)tp->tp_as_sequence->sq_contains;
  266|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (266:9): [True: 0, False: 400]
  ------------------
  267|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (267:17): [True: 0, False: 0]
  ------------------
  268|      0|            return (void*)tp->tp_as_sequence->sq_inplace_concat;
  269|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (269:9): [True: 0, False: 400]
  ------------------
  270|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (270:17): [True: 0, False: 0]
  ------------------
  271|      0|            return (void*)tp->tp_as_sequence->sq_inplace_repeat;
  272|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (272:9): [True: 0, False: 400]
  ------------------
  273|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (273:17): [True: 0, False: 0]
  ------------------
  274|      0|            return (void*)tp->tp_as_sequence->sq_item;
  275|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (275:9): [True: 0, False: 400]
  ------------------
  276|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (276:17): [True: 0, False: 0]
  ------------------
  277|      0|            return (void*)tp->tp_as_sequence->sq_length;
  278|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (278:9): [True: 0, False: 400]
  ------------------
  279|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (279:17): [True: 0, False: 0]
  ------------------
  280|      0|            return (void*)tp->tp_as_sequence->sq_repeat;
  281|      2|        case Py_tp_alloc:
  ------------------
  |  |   55|      2|#define Py_tp_alloc 47
  ------------------
  |  Branch (281:9): [True: 2, False: 398]
  ------------------
  282|      2|            return (void*)tp->tp_alloc;
  283|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (283:9): [True: 0, False: 400]
  ------------------
  284|      0|            return (void*)tp->tp_base;
  285|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (285:9): [True: 0, False: 400]
  ------------------
  286|      0|            return (void*)tp->tp_bases;
  287|      0|        case Py_tp_call:
  ------------------
  |  |   58|      0|#define Py_tp_call 50
  ------------------
  |  Branch (287:9): [True: 0, False: 400]
  ------------------
  288|      0|            return (void*)tp->tp_call;
  289|      0|        case Py_tp_clear:
  ------------------
  |  |   59|      0|#define Py_tp_clear 51
  ------------------
  |  Branch (289:9): [True: 0, False: 400]
  ------------------
  290|      0|            return (void*)tp->tp_clear;
  291|      0|        case Py_tp_dealloc:
  ------------------
  |  |   60|      0|#define Py_tp_dealloc 52
  ------------------
  |  Branch (291:9): [True: 0, False: 400]
  ------------------
  292|      0|            return (void*)tp->tp_dealloc;
  293|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (293:9): [True: 0, False: 400]
  ------------------
  294|      0|            return (void*)tp->tp_del;
  295|      0|        case Py_tp_descr_get:
  ------------------
  |  |   62|      0|#define Py_tp_descr_get 54
  ------------------
  |  Branch (295:9): [True: 0, False: 400]
  ------------------
  296|      0|            return (void*)tp->tp_descr_get;
  297|      0|        case Py_tp_descr_set:
  ------------------
  |  |   63|      0|#define Py_tp_descr_set 55
  ------------------
  |  Branch (297:9): [True: 0, False: 400]
  ------------------
  298|      0|            return (void*)tp->tp_descr_set;
  299|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (299:9): [True: 0, False: 400]
  ------------------
  300|      0|            return (void*)tp->tp_doc;
  301|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (301:9): [True: 0, False: 400]
  ------------------
  302|      0|            return (void*)tp->tp_getattr;
  303|      0|        case Py_tp_getattro:
  ------------------
  |  |   66|      0|#define Py_tp_getattro 58
  ------------------
  |  Branch (303:9): [True: 0, False: 400]
  ------------------
  304|      0|            return (void*)tp->tp_getattro;
  305|      0|        case Py_tp_hash:
  ------------------
  |  |   67|      0|#define Py_tp_hash 59
  ------------------
  |  Branch (305:9): [True: 0, False: 400]
  ------------------
  306|      0|            return (void*)tp->tp_hash;
  307|      0|        case Py_tp_init:
  ------------------
  |  |   68|      0|#define Py_tp_init 60
  ------------------
  |  Branch (307:9): [True: 0, False: 400]
  ------------------
  308|      0|            return (void*)tp->tp_init;
  309|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (309:9): [True: 0, False: 400]
  ------------------
  310|      0|            return (void*)tp->tp_is_gc;
  311|      0|        case Py_tp_iter:
  ------------------
  |  |   70|      0|#define Py_tp_iter 62
  ------------------
  |  Branch (311:9): [True: 0, False: 400]
  ------------------
  312|      0|            return (void*)tp->tp_iter;
  313|      0|        case Py_tp_iternext:
  ------------------
  |  |   71|      0|#define Py_tp_iternext 63
  ------------------
  |  Branch (313:9): [True: 0, False: 400]
  ------------------
  314|      0|            return (void*)tp->tp_iternext;
  315|      0|        case Py_tp_methods:
  ------------------
  |  |   72|      0|#define Py_tp_methods 64
  ------------------
  |  Branch (315:9): [True: 0, False: 400]
  ------------------
  316|      0|            return (void*)tp->tp_methods;
  317|      0|        case Py_tp_new:
  ------------------
  |  |   73|      0|#define Py_tp_new 65
  ------------------
  |  Branch (317:9): [True: 0, False: 400]
  ------------------
  318|      0|            return (void*)tp->tp_new;
  319|      0|        case Py_tp_repr:
  ------------------
  |  |   74|      0|#define Py_tp_repr 66
  ------------------
  |  Branch (319:9): [True: 0, False: 400]
  ------------------
  320|      0|            return (void*)tp->tp_repr;
  321|      0|        case Py_tp_richcompare:
  ------------------
  |  |   75|      0|#define Py_tp_richcompare 67
  ------------------
  |  Branch (321:9): [True: 0, False: 400]
  ------------------
  322|      0|            return (void*)tp->tp_richcompare;
  323|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (323:9): [True: 0, False: 400]
  ------------------
  324|      0|            return (void*)tp->tp_setattr;
  325|      0|        case Py_tp_setattro:
  ------------------
  |  |   77|      0|#define Py_tp_setattro 69
  ------------------
  |  Branch (325:9): [True: 0, False: 400]
  ------------------
  326|      0|            return (void*)tp->tp_setattro;
  327|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (327:9): [True: 0, False: 400]
  ------------------
  328|      0|            return (void*)tp->tp_str;
  329|      0|        case Py_tp_traverse:
  ------------------
  |  |   79|      0|#define Py_tp_traverse 71
  ------------------
  |  Branch (329:9): [True: 0, False: 400]
  ------------------
  330|      0|            return (void*)tp->tp_traverse;
  331|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (331:9): [True: 0, False: 400]
  ------------------
  332|      0|            return (void*)tp->tp_members;
  333|      0|        case Py_tp_getset:
  ------------------
  |  |   81|      0|#define Py_tp_getset 73
  ------------------
  |  Branch (333:9): [True: 0, False: 400]
  ------------------
  334|      0|            return (void*)tp->tp_getset;
  335|    398|        case Py_tp_free:
  ------------------
  |  |   82|    398|#define Py_tp_free 74
  ------------------
  |  Branch (335:9): [True: 398, False: 2]
  ------------------
  336|    398|            return (void*)tp->tp_free;
  337|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (337:9): [True: 0, False: 400]
  ------------------
  338|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (338:17): [True: 0, False: 0]
  ------------------
  339|      0|            return (void*)tp->tp_as_number->nb_matrix_multiply;
  340|      0|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|      0|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (340:9): [True: 0, False: 400]
  ------------------
  341|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (341:17): [True: 0, False: 0]
  ------------------
  342|      0|            return (void*)tp->tp_as_number->nb_inplace_matrix_multiply;
  343|      0|        case Py_am_await:
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (343:9): [True: 0, False: 400]
  ------------------
  344|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (344:17): [True: 0, False: 0]
  ------------------
  345|      0|            return (void*)tp->tp_as_async->am_await;
  346|      0|        case Py_am_aiter:
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (346:9): [True: 0, False: 400]
  ------------------
  347|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (347:17): [True: 0, False: 0]
  ------------------
  348|      0|            return (void*)tp->tp_as_async->am_aiter;
  349|      0|        case Py_am_anext:
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (349:9): [True: 0, False: 400]
  ------------------
  350|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (350:17): [True: 0, False: 0]
  ------------------
  351|      0|            return (void*)tp->tp_as_async->am_anext;
  352|      0|        case Py_tp_finalize:
  ------------------
  |  |   88|      0|#define Py_tp_finalize 80
  ------------------
  |  Branch (352:9): [True: 0, False: 400]
  ------------------
  353|      0|            return (void*)tp->tp_finalize;
  354|      0|        case Py_am_send:
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (354:9): [True: 0, False: 400]
  ------------------
  355|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (355:17): [True: 0, False: 0]
  ------------------
  356|      0|            return (void*)tp->tp_as_async->am_send;
  357|      0|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (357:9): [True: 0, False: 400]
  ------------------
  358|      0|            return (void*)tp->tp_vectorcall;
  359|      0|        case Py_tp_token:
  ------------------
  |  |   91|      0|#define Py_tp_token 83
  ------------------
  |  Branch (359:9): [True: 0, False: 400]
  ------------------
  360|      0|            if (!(tp->tp_flags & Py_TPFLAGS_HEAPTYPE)) return NULL;
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (360:17): [True: 0, False: 0]
  ------------------
  361|      0|            return (void*)((PyHeapTypeObject*)tp)->ht_token;
  362|      0|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      0|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (362:9): [True: 0, False: 400]
  ------------------
  363|      0|            if (!(tp->tp_as_buffer)) return NULL;
  ------------------
  |  Branch (363:17): [True: 0, False: 0]
  ------------------
  364|      0|            return (void*)tp->tp_as_buffer->bf_getbuffer;
  365|      0|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|      0|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (365:9): [True: 0, False: 400]
  ------------------
  366|      0|            if (!(tp->tp_as_buffer)) return NULL;
  ------------------
  |  Branch (366:17): [True: 0, False: 0]
  ------------------
  367|      0|            return (void*)tp->tp_as_buffer->bf_releasebuffer;
  368|      0|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (368:9): [True: 0, False: 400]
  ------------------
  369|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (369:17): [True: 0, False: 0]
  ------------------
  370|      0|            return (void*)tp->tp_as_mapping->mp_ass_subscript;
  371|      0|        case Py_mp_length:
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (371:9): [True: 0, False: 400]
  ------------------
  372|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (372:17): [True: 0, False: 0]
  ------------------
  373|      0|            return (void*)tp->tp_as_mapping->mp_length;
  374|    400|    }
  375|      0|    _PySlot_err_bad_slot("PyType_GetSlot", slot_id);
  376|       |    return NULL;
  377|    400|}
slots.c:_PySlot_resolve_type_slot:
    8|  4.17k|{
    9|  4.17k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 4.17k]
  ------------------
   11|      0|            return Py_bf_getbuffer;
  ------------------
  |  |   96|      0|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   12|      0|        case 2:
  ------------------
  |  Branch (12:9): [True: 0, False: 4.17k]
  ------------------
   13|      0|            return Py_bf_releasebuffer;
  ------------------
  |  |   97|      0|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   14|      0|        case 3:
  ------------------
  |  Branch (14:9): [True: 0, False: 4.17k]
  ------------------
   15|      0|            return Py_mp_ass_subscript;
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   16|      0|        case 4:
  ------------------
  |  Branch (16:9): [True: 0, False: 4.17k]
  ------------------
   17|      0|            return Py_mp_length;
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   18|    484|        case Py_slot_end:
  ------------------
  |  |   12|    484|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 484, False: 3.69k]
  ------------------
   19|    492|        case Py_mp_subscript:
  ------------------
  |  |   13|    492|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 8, False: 4.16k]
  ------------------
   20|    492|        case Py_nb_absolute:
  ------------------
  |  |   14|    492|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 4.17k]
  ------------------
   21|    492|        case Py_nb_add:
  ------------------
  |  |   15|    492|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 4.17k]
  ------------------
   22|    492|        case Py_nb_and:
  ------------------
  |  |   16|    492|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 4.17k]
  ------------------
   23|    492|        case Py_nb_bool:
  ------------------
  |  |   17|    492|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 4.17k]
  ------------------
   24|    492|        case Py_nb_divmod:
  ------------------
  |  |   18|    492|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 4.17k]
  ------------------
   25|    492|        case Py_nb_float:
  ------------------
  |  |   19|    492|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 4.17k]
  ------------------
   26|    492|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    492|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 4.17k]
  ------------------
   27|    492|        case Py_nb_index:
  ------------------
  |  |   21|    492|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 4.17k]
  ------------------
   28|    492|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    492|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 4.17k]
  ------------------
   29|    492|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    492|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 4.17k]
  ------------------
   30|    492|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    492|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 4.17k]
  ------------------
   31|    492|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    492|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 4.17k]
  ------------------
   32|    492|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    492|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 4.17k]
  ------------------
   33|    492|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    492|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 4.17k]
  ------------------
   34|    492|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    492|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 4.17k]
  ------------------
   35|    492|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    492|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 4.17k]
  ------------------
   36|    492|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    492|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 4.17k]
  ------------------
   37|    492|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    492|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 4.17k]
  ------------------
   38|    492|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    492|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 4.17k]
  ------------------
   39|    492|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    492|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 4.17k]
  ------------------
   40|    492|        case Py_nb_int:
  ------------------
  |  |   34|    492|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 4.17k]
  ------------------
   41|    492|        case Py_nb_invert:
  ------------------
  |  |   35|    492|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 4.17k]
  ------------------
   42|    492|        case Py_nb_lshift:
  ------------------
  |  |   36|    492|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 4.17k]
  ------------------
   43|    492|        case Py_nb_multiply:
  ------------------
  |  |   37|    492|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 4.17k]
  ------------------
   44|    492|        case Py_nb_negative:
  ------------------
  |  |   38|    492|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 4.17k]
  ------------------
   45|    504|        case Py_nb_or:
  ------------------
  |  |   39|    504|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 12, False: 4.16k]
  ------------------
   46|    504|        case Py_nb_positive:
  ------------------
  |  |   40|    504|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 4.17k]
  ------------------
   47|    504|        case Py_nb_power:
  ------------------
  |  |   41|    504|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 4.17k]
  ------------------
   48|    504|        case Py_nb_remainder:
  ------------------
  |  |   42|    504|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 4.17k]
  ------------------
   49|    504|        case Py_nb_rshift:
  ------------------
  |  |   43|    504|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 4.17k]
  ------------------
   50|    504|        case Py_nb_subtract:
  ------------------
  |  |   44|    504|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 4.17k]
  ------------------
   51|    504|        case Py_nb_true_divide:
  ------------------
  |  |   45|    504|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 4.17k]
  ------------------
   52|    504|        case Py_nb_xor:
  ------------------
  |  |   46|    504|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 4.17k]
  ------------------
   53|    512|        case Py_sq_ass_item:
  ------------------
  |  |   47|    512|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 8, False: 4.16k]
  ------------------
   54|    520|        case Py_sq_concat:
  ------------------
  |  |   48|    520|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 8, False: 4.16k]
  ------------------
   55|    528|        case Py_sq_contains:
  ------------------
  |  |   49|    528|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 8, False: 4.16k]
  ------------------
   56|    536|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    536|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 8, False: 4.16k]
  ------------------
   57|    544|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    544|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 8, False: 4.16k]
  ------------------
   58|    552|        case Py_sq_item:
  ------------------
  |  |   52|    552|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 8, False: 4.16k]
  ------------------
   59|    560|        case Py_sq_length:
  ------------------
  |  |   53|    560|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 8, False: 4.16k]
  ------------------
   60|    568|        case Py_sq_repeat:
  ------------------
  |  |   54|    568|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 8, False: 4.16k]
  ------------------
   61|    624|        case Py_tp_alloc:
  ------------------
  |  |   55|    624|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 56, False: 4.12k]
  ------------------
   62|    624|        case Py_tp_base:
  ------------------
  |  |   56|    624|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 4.17k]
  ------------------
   63|    624|        case Py_tp_bases:
  ------------------
  |  |   57|    624|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 4.17k]
  ------------------
   64|    664|        case Py_tp_call:
  ------------------
  |  |   58|    664|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 40, False: 4.13k]
  ------------------
   65|    860|        case Py_tp_clear:
  ------------------
  |  |   59|    860|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 196, False: 3.98k]
  ------------------
   66|  1.32k|        case Py_tp_dealloc:
  ------------------
  |  |   60|  1.32k|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 460, False: 3.71k]
  ------------------
   67|  1.32k|        case Py_tp_del:
  ------------------
  |  |   61|  1.32k|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 4.17k]
  ------------------
   68|  1.33k|        case Py_tp_descr_get:
  ------------------
  |  |   62|  1.33k|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 12, False: 4.16k]
  ------------------
   69|  1.33k|        case Py_tp_descr_set:
  ------------------
  |  |   63|  1.33k|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 4, False: 4.17k]
  ------------------
   70|  1.69k|        case Py_tp_doc:
  ------------------
  |  |   64|  1.69k|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 356, False: 3.82k]
  ------------------
   71|  1.69k|        case Py_tp_getattr:
  ------------------
  |  |   65|  1.69k|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 4.17k]
  ------------------
   72|  1.86k|        case Py_tp_getattro:
  ------------------
  |  |   66|  1.86k|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 168, False: 4.00k]
  ------------------
   73|  1.87k|        case Py_tp_hash:
  ------------------
  |  |   67|  1.87k|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 12, False: 4.16k]
  ------------------
   74|  1.94k|        case Py_tp_init:
  ------------------
  |  |   68|  1.94k|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 68, False: 4.10k]
  ------------------
   75|  1.94k|        case Py_tp_is_gc:
  ------------------
  |  |   69|  1.94k|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 4.17k]
  ------------------
   76|  2.08k|        case Py_tp_iter:
  ------------------
  |  |   70|  2.08k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 144, False: 4.03k]
  ------------------
   77|  2.22k|        case Py_tp_iternext:
  ------------------
  |  |   71|  2.22k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 140, False: 4.03k]
  ------------------
   78|  2.58k|        case Py_tp_methods:
  ------------------
  |  |   72|  2.58k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 356, False: 3.82k]
  ------------------
   79|  2.90k|        case Py_tp_new:
  ------------------
  |  |   73|  2.90k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 320, False: 3.85k]
  ------------------
   80|  3.10k|        case Py_tp_repr:
  ------------------
  |  |   74|  3.10k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 208, False: 3.96k]
  ------------------
   81|  3.14k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  3.14k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 32, False: 4.14k]
  ------------------
   82|  3.14k|        case Py_tp_setattr:
  ------------------
  |  |   76|  3.14k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 4.17k]
  ------------------
   83|  3.15k|        case Py_tp_setattro:
  ------------------
  |  |   77|  3.15k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 16, False: 4.16k]
  ------------------
   84|  3.16k|        case Py_tp_str:
  ------------------
  |  |   78|  3.16k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 12, False: 4.16k]
  ------------------
   85|  3.56k|        case Py_tp_traverse:
  ------------------
  |  |   79|  3.56k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 400, False: 3.77k]
  ------------------
   86|  3.79k|        case Py_tp_members:
  ------------------
  |  |   80|  3.79k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 228, False: 3.94k]
  ------------------
   87|  3.98k|        case Py_tp_getset:
  ------------------
  |  |   81|  3.98k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 184, False: 3.99k]
  ------------------
   88|  4.11k|        case Py_tp_free:
  ------------------
  |  |   82|  4.11k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 136, False: 4.04k]
  ------------------
   89|  4.11k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  4.11k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 4.17k]
  ------------------
   90|  4.11k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  4.11k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 4.17k]
  ------------------
   91|  4.12k|        case Py_am_await:
  ------------------
  |  |   85|  4.12k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 8, False: 4.16k]
  ------------------
   92|  4.12k|        case Py_am_aiter:
  ------------------
  |  |   86|  4.12k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 4.17k]
  ------------------
   93|  4.12k|        case Py_am_anext:
  ------------------
  |  |   87|  4.12k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 4.17k]
  ------------------
   94|  4.14k|        case Py_tp_finalize:
  ------------------
  |  |   88|  4.14k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 20, False: 4.15k]
  ------------------
   95|  4.14k|        case Py_am_send:
  ------------------
  |  |   89|  4.14k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 4, False: 4.17k]
  ------------------
   96|  4.14k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  4.14k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 4.17k]
  ------------------
   97|  4.15k|        case Py_tp_token:
  ------------------
  |  |   91|  4.15k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 4, False: 4.17k]
  ------------------
   98|  4.16k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  4.16k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  4.16k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 8, False: 4.16k]
  ------------------
   99|  4.16k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  4.16k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  4.16k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 8, False: 4.16k]
  ------------------
  100|  4.17k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  4.17k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  4.17k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 4, False: 4.17k]
  ------------------
  101|  4.17k|        case Py_mp_length:
  ------------------
  |  |   99|  4.17k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  4.17k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 4, False: 4.17k]
  ------------------
  102|  4.17k|        case Py_slot_subslots:
  ------------------
  |  |  100|  4.17k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 4.17k]
  ------------------
  103|  4.17k|        case Py_tp_slots:
  ------------------
  |  |  101|  4.17k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 4.17k]
  ------------------
  104|  4.17k|        case Py_tp_name:
  ------------------
  |  |  103|  4.17k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 4.17k]
  ------------------
  105|  4.17k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  4.17k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 4.17k]
  ------------------
  106|  4.17k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  4.17k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 4.17k]
  ------------------
  107|  4.17k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  4.17k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 4.17k]
  ------------------
  108|  4.17k|        case Py_tp_flags:
  ------------------
  |  |  107|  4.17k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 4.17k]
  ------------------
  109|  4.17k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  4.17k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 4.17k]
  ------------------
  110|  4.17k|        case Py_tp_module:
  ------------------
  |  |  116|  4.17k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 4.17k]
  ------------------
  111|  4.17k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 4.17k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  4.17k|    }
  115|  4.17k|}
slots.c:_PySlot_resolve_mod_slot:
  119|  1.12k|{
  120|  1.12k|    switch (slot_id) {
  121|      0|        case 1:
  ------------------
  |  Branch (121:9): [True: 0, False: 1.12k]
  ------------------
  122|      0|            return Py_mod_create;
  ------------------
  |  |   92|      0|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  123|     12|        case 2:
  ------------------
  |  Branch (123:9): [True: 12, False: 1.11k]
  ------------------
  124|     12|            return Py_mod_exec;
  ------------------
  |  |   93|     12|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     12|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  125|     12|        case 3:
  ------------------
  |  Branch (125:9): [True: 12, False: 1.11k]
  ------------------
  126|     12|            return Py_mod_multiple_interpreters;
  ------------------
  |  |   94|     12|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|     12|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  127|     12|        case 4:
  ------------------
  |  Branch (127:9): [True: 12, False: 1.11k]
  ------------------
  128|     12|            return Py_mod_gil;
  ------------------
  |  |   95|     12|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|     12|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  129|    220|        case Py_slot_end:
  ------------------
  |  |   12|    220|#define Py_slot_end 0
  ------------------
  |  Branch (129:9): [True: 220, False: 908]
  ------------------
  130|    220|        case Py_mod_create:
  ------------------
  |  |   92|    220|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    220|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 1.12k]
  ------------------
  131|    468|        case Py_mod_exec:
  ------------------
  |  |   93|    468|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    468|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (131:9): [True: 248, False: 880]
  ------------------
  132|    676|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    676|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    676|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (132:9): [True: 208, False: 920]
  ------------------
  133|    884|        case Py_mod_gil:
  ------------------
  |  |   95|    884|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    884|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 208, False: 920]
  ------------------
  134|    884|        case Py_slot_subslots:
  ------------------
  |  |  100|    884|#define Py_slot_subslots 92
  ------------------
  |  Branch (134:9): [True: 0, False: 1.12k]
  ------------------
  135|    884|        case Py_mod_slots:
  ------------------
  |  |  102|    884|#define Py_mod_slots 94
  ------------------
  |  Branch (135:9): [True: 0, False: 1.12k]
  ------------------
  136|    884|        case Py_mod_name:
  ------------------
  |  |  108|    884|#define Py_mod_name 100
  ------------------
  |  Branch (136:9): [True: 0, False: 1.12k]
  ------------------
  137|    884|        case Py_mod_doc:
  ------------------
  |  |  109|    884|#define Py_mod_doc 101
  ------------------
  |  Branch (137:9): [True: 0, False: 1.12k]
  ------------------
  138|    884|        case Py_mod_state_size:
  ------------------
  |  |  110|    884|#define Py_mod_state_size 102
  ------------------
  |  Branch (138:9): [True: 0, False: 1.12k]
  ------------------
  139|    884|        case Py_mod_methods:
  ------------------
  |  |  111|    884|#define Py_mod_methods 103
  ------------------
  |  Branch (139:9): [True: 0, False: 1.12k]
  ------------------
  140|    884|        case Py_mod_state_traverse:
  ------------------
  |  |  112|    884|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (140:9): [True: 0, False: 1.12k]
  ------------------
  141|    884|        case Py_mod_state_clear:
  ------------------
  |  |  113|    884|#define Py_mod_state_clear 105
  ------------------
  |  Branch (141:9): [True: 0, False: 1.12k]
  ------------------
  142|    884|        case Py_mod_state_free:
  ------------------
  |  |  114|    884|#define Py_mod_state_free 106
  ------------------
  |  Branch (142:9): [True: 0, False: 1.12k]
  ------------------
  143|  1.09k|        case Py_mod_abi:
  ------------------
  |  |  117|  1.09k|#define Py_mod_abi 109
  ------------------
  |  Branch (143:9): [True: 208, False: 920]
  ------------------
  144|  1.09k|        case Py_mod_token:
  ------------------
  |  |  118|  1.09k|#define Py_mod_token 110
  ------------------
  |  Branch (144:9): [True: 0, False: 1.12k]
  ------------------
  145|  1.09k|            return slot_id;
  146|      0|        default:
  ------------------
  |  Branch (146:9): [True: 0, False: 1.12k]
  ------------------
  147|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  148|  1.12k|    }
  149|  1.12k|}
slots.c:_PySlot_get_dtype:
  634|  11.3k|{
  635|  11.3k|    switch (slot_id) {
  636|      0|        case Py_slot_end: return _PySlot_DTYPE_VOID;
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (636:9): [True: 0, False: 11.3k]
  ------------------
  637|     20|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|     20|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 20, False: 11.3k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 11.3k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 11.3k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 11.3k]
  ------------------
  641|      0|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 0, False: 11.3k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 11.3k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 11.3k]
  ------------------
  644|      0|        case Py_nb_floor_divide: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (644:9): [True: 0, False: 11.3k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 11.3k]
  ------------------
  646|      0|        case Py_nb_inplace_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (646:9): [True: 0, False: 11.3k]
  ------------------
  647|      0|        case Py_nb_inplace_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (647:9): [True: 0, False: 11.3k]
  ------------------
  648|      0|        case Py_nb_inplace_floor_divide: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (648:9): [True: 0, False: 11.3k]
  ------------------
  649|      0|        case Py_nb_inplace_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (649:9): [True: 0, False: 11.3k]
  ------------------
  650|      0|        case Py_nb_inplace_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (650:9): [True: 0, False: 11.3k]
  ------------------
  651|      0|        case Py_nb_inplace_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (651:9): [True: 0, False: 11.3k]
  ------------------
  652|      0|        case Py_nb_inplace_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (652:9): [True: 0, False: 11.3k]
  ------------------
  653|      0|        case Py_nb_inplace_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (653:9): [True: 0, False: 11.3k]
  ------------------
  654|      0|        case Py_nb_inplace_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (654:9): [True: 0, False: 11.3k]
  ------------------
  655|      0|        case Py_nb_inplace_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (655:9): [True: 0, False: 11.3k]
  ------------------
  656|      0|        case Py_nb_inplace_true_divide: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (656:9): [True: 0, False: 11.3k]
  ------------------
  657|      0|        case Py_nb_inplace_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (657:9): [True: 0, False: 11.3k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 11.3k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 11.3k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 11.3k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 11.3k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 11.3k]
  ------------------
  663|     30|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     30|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 30, False: 11.3k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 11.3k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 11.3k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 11.3k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 11.3k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 11.3k]
  ------------------
  669|      0|        case Py_nb_true_divide: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (669:9): [True: 0, False: 11.3k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 11.3k]
  ------------------
  671|     20|        case Py_sq_ass_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   47|     20|#define Py_sq_ass_item 39
  ------------------
  |  Branch (671:9): [True: 20, False: 11.3k]
  ------------------
  672|     20|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|     20|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 20, False: 11.3k]
  ------------------
  673|     20|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|     20|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 20, False: 11.3k]
  ------------------
  674|     20|        case Py_sq_inplace_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   50|     20|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (674:9): [True: 20, False: 11.3k]
  ------------------
  675|     20|        case Py_sq_inplace_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   51|     20|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (675:9): [True: 20, False: 11.3k]
  ------------------
  676|     20|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|     20|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 20, False: 11.3k]
  ------------------
  677|     20|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|     20|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 20, False: 11.3k]
  ------------------
  678|     20|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|     20|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 20, False: 11.3k]
  ------------------
  679|    140|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    140|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 140, False: 11.1k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 11.3k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 11.3k]
  ------------------
  682|    100|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|    100|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 100, False: 11.2k]
  ------------------
  683|    490|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    490|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 490, False: 10.8k]
  ------------------
  684|  1.15k|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|  1.15k|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 1.15k, False: 10.1k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 11.3k]
  ------------------
  686|     30|        case Py_tp_descr_get: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   62|     30|#define Py_tp_descr_get 54
  ------------------
  |  Branch (686:9): [True: 30, False: 11.3k]
  ------------------
  687|     10|        case Py_tp_descr_set: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   63|     10|#define Py_tp_descr_set 55
  ------------------
  |  Branch (687:9): [True: 10, False: 11.3k]
  ------------------
  688|    712|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    712|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 712, False: 10.6k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 11.3k]
  ------------------
  690|    420|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    420|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 420, False: 10.9k]
  ------------------
  691|     30|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     30|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 30, False: 11.3k]
  ------------------
  692|    170|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    170|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 170, False: 11.1k]
  ------------------
  693|      0|        case Py_tp_is_gc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (693:9): [True: 0, False: 11.3k]
  ------------------
  694|    360|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    360|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 360, False: 10.9k]
  ------------------
  695|    350|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    350|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 350, False: 10.9k]
  ------------------
  696|    890|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    890|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 890, False: 10.4k]
  ------------------
  697|    800|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    800|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 800, False: 10.5k]
  ------------------
  698|    520|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    520|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 520, False: 10.8k]
  ------------------
  699|     80|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     80|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 80, False: 11.2k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 11.3k]
  ------------------
  701|     40|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     40|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 40, False: 11.2k]
  ------------------
  702|     30|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|     30|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 30, False: 11.3k]
  ------------------
  703|  1.00k|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|  1.00k|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 1.00k, False: 10.3k]
  ------------------
  704|    570|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    570|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 570, False: 10.7k]
  ------------------
  705|    460|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    460|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 460, False: 10.8k]
  ------------------
  706|    340|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    340|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 340, False: 10.9k]
  ------------------
  707|      0|        case Py_nb_matrix_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (707:9): [True: 0, False: 11.3k]
  ------------------
  708|      0|        case Py_nb_inplace_matrix_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   84|      0|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (708:9): [True: 0, False: 11.3k]
  ------------------
  709|     20|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|     20|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 20, False: 11.3k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 11.3k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 11.3k]
  ------------------
  712|     50|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     50|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 50, False: 11.2k]
  ------------------
  713|     10|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|     10|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 10, False: 11.3k]
  ------------------
  714|      0|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 0, False: 11.3k]
  ------------------
  715|      8|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      8|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 8, False: 11.3k]
  ------------------
  716|      0|        case Py_mod_create: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   92|      0|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (716:9): [True: 0, False: 11.3k]
  ------------------
  717|    780|        case Py_mod_exec: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   93|    780|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    780|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 780, False: 10.5k]
  ------------------
  718|    440|        case Py_mod_multiple_interpreters: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   94|    440|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    440|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 440, False: 10.8k]
  ------------------
  719|    440|        case Py_mod_gil: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   95|    440|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    440|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (719:9): [True: 440, False: 10.8k]
  ------------------
  720|     20|        case Py_bf_getbuffer: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   96|     20|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|     20|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (720:9): [True: 20, False: 11.3k]
  ------------------
  721|     20|        case Py_bf_releasebuffer: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   97|     20|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|     20|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (721:9): [True: 20, False: 11.3k]
  ------------------
  722|     10|        case Py_mp_ass_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   98|     10|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|     10|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (722:9): [True: 10, False: 11.3k]
  ------------------
  723|     10|        case Py_mp_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   99|     10|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|     10|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (723:9): [True: 10, False: 11.3k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 11.3k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 11.3k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 11.3k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 11.3k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 11.3k]
  ------------------
  729|      0|        case Py_tp_extra_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (729:9): [True: 0, False: 11.3k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 11.3k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 11.3k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 11.3k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 11.3k]
  ------------------
  734|      0|        case Py_mod_state_size: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  110|      0|#define Py_mod_state_size 102
  ------------------
  |  Branch (734:9): [True: 0, False: 11.3k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 11.3k]
  ------------------
  736|      0|        case Py_mod_state_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |  112|      0|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (736:9): [True: 0, False: 11.3k]
  ------------------
  737|      0|        case Py_mod_state_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |  113|      0|#define Py_mod_state_clear 105
  ------------------
  |  Branch (737:9): [True: 0, False: 11.3k]
  ------------------
  738|      0|        case Py_mod_state_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |  114|      0|#define Py_mod_state_free 106
  ------------------
  |  Branch (738:9): [True: 0, False: 11.3k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 11.3k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 11.3k]
  ------------------
  741|    624|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    624|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 624, False: 10.7k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 11.3k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 11.3k]
  ------------------
  744|  11.3k|    }
  745|  11.3k|}
slots.c:_PySlot_get_must_be_static:
  948|  2.75k|{
  949|  2.75k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 384, False: 2.37k]
  ------------------
  950|    178|        case Py_tp_methods: return true;
  ------------------
  |  |   72|    178|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 178, False: 2.57k]
  ------------------
  951|    114|        case Py_tp_members: return true;
  ------------------
  |  |   80|    114|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 114, False: 2.64k]
  ------------------
  952|     92|        case Py_tp_getset: return true;
  ------------------
  |  |   81|     92|#define Py_tp_getset 73
  ------------------
  |  Branch (952:9): [True: 92, False: 2.66k]
  ------------------
  953|      0|        case Py_mod_methods: return true;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (953:9): [True: 0, False: 2.75k]
  ------------------
  954|  2.75k|    }
  955|  2.37k|    return false;
  956|  2.75k|}
slots.c:_PySlot_get_null_handling:
  843|  2.75k|{
  844|  2.75k|    switch (slot_id) {
  845|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (845:9): [True: 0, False: 2.75k]
  ------------------
  846|    178|        case Py_tp_doc:
  ------------------
  |  |   64|    178|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 178, False: 2.57k]
  ------------------
  847|    180|        case Py_tp_token:
  ------------------
  |  |   91|    180|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 2, False: 2.75k]
  ------------------
  848|    400|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    400|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    400|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 220, False: 2.53k]
  ------------------
  849|    620|        case Py_mod_gil:
  ------------------
  |  |   95|    620|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    620|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 220, False: 2.53k]
  ------------------
  850|    620|        case Py_slot_subslots:
  ------------------
  |  |  100|    620|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 2.75k]
  ------------------
  851|    620|        case Py_tp_slots:
  ------------------
  |  |  101|    620|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 2.75k]
  ------------------
  852|    620|        case Py_mod_slots:
  ------------------
  |  |  102|    620|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 2.75k]
  ------------------
  853|    620|        case Py_tp_basicsize:
  ------------------
  |  |  104|    620|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 2.75k]
  ------------------
  854|    620|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    620|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 2.75k]
  ------------------
  855|    620|        case Py_tp_itemsize:
  ------------------
  |  |  106|    620|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 2.75k]
  ------------------
  856|    620|        case Py_tp_flags:
  ------------------
  |  |  107|    620|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 2.75k]
  ------------------
  857|    620|        case Py_mod_state_size:
  ------------------
  |  |  110|    620|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 2.75k]
  ------------------
  858|    620|            return _PySlot_PROBLEM_ALLOW;
  859|      4|        case Py_mp_subscript:
  ------------------
  |  |   13|      4|#define Py_mp_subscript 5
  ------------------
  |  Branch (859:9): [True: 4, False: 2.75k]
  ------------------
  860|      4|        case Py_nb_absolute:
  ------------------
  |  |   14|      4|#define Py_nb_absolute 6
  ------------------
  |  Branch (860:9): [True: 0, False: 2.75k]
  ------------------
  861|      4|        case Py_nb_add:
  ------------------
  |  |   15|      4|#define Py_nb_add 7
  ------------------
  |  Branch (861:9): [True: 0, False: 2.75k]
  ------------------
  862|      4|        case Py_nb_and:
  ------------------
  |  |   16|      4|#define Py_nb_and 8
  ------------------
  |  Branch (862:9): [True: 0, False: 2.75k]
  ------------------
  863|      4|        case Py_nb_bool:
  ------------------
  |  |   17|      4|#define Py_nb_bool 9
  ------------------
  |  Branch (863:9): [True: 0, False: 2.75k]
  ------------------
  864|      4|        case Py_nb_divmod:
  ------------------
  |  |   18|      4|#define Py_nb_divmod 10
  ------------------
  |  Branch (864:9): [True: 0, False: 2.75k]
  ------------------
  865|      4|        case Py_nb_float:
  ------------------
  |  |   19|      4|#define Py_nb_float 11
  ------------------
  |  Branch (865:9): [True: 0, False: 2.75k]
  ------------------
  866|      4|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      4|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (866:9): [True: 0, False: 2.75k]
  ------------------
  867|      4|        case Py_nb_index:
  ------------------
  |  |   21|      4|#define Py_nb_index 13
  ------------------
  |  Branch (867:9): [True: 0, False: 2.75k]
  ------------------
  868|      4|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      4|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (868:9): [True: 0, False: 2.75k]
  ------------------
  869|      4|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      4|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (869:9): [True: 0, False: 2.75k]
  ------------------
  870|      4|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      4|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (870:9): [True: 0, False: 2.75k]
  ------------------
  871|      4|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      4|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (871:9): [True: 0, False: 2.75k]
  ------------------
  872|      4|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      4|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (872:9): [True: 0, False: 2.75k]
  ------------------
  873|      4|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      4|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (873:9): [True: 0, False: 2.75k]
  ------------------
  874|      4|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      4|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (874:9): [True: 0, False: 2.75k]
  ------------------
  875|      4|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      4|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (875:9): [True: 0, False: 2.75k]
  ------------------
  876|      4|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      4|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (876:9): [True: 0, False: 2.75k]
  ------------------
  877|      4|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      4|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (877:9): [True: 0, False: 2.75k]
  ------------------
  878|      4|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      4|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (878:9): [True: 0, False: 2.75k]
  ------------------
  879|      4|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      4|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (879:9): [True: 0, False: 2.75k]
  ------------------
  880|      4|        case Py_nb_int:
  ------------------
  |  |   34|      4|#define Py_nb_int 26
  ------------------
  |  Branch (880:9): [True: 0, False: 2.75k]
  ------------------
  881|      4|        case Py_nb_invert:
  ------------------
  |  |   35|      4|#define Py_nb_invert 27
  ------------------
  |  Branch (881:9): [True: 0, False: 2.75k]
  ------------------
  882|      4|        case Py_nb_lshift:
  ------------------
  |  |   36|      4|#define Py_nb_lshift 28
  ------------------
  |  Branch (882:9): [True: 0, False: 2.75k]
  ------------------
  883|      4|        case Py_nb_multiply:
  ------------------
  |  |   37|      4|#define Py_nb_multiply 29
  ------------------
  |  Branch (883:9): [True: 0, False: 2.75k]
  ------------------
  884|      4|        case Py_nb_negative:
  ------------------
  |  |   38|      4|#define Py_nb_negative 30
  ------------------
  |  Branch (884:9): [True: 0, False: 2.75k]
  ------------------
  885|     10|        case Py_nb_or:
  ------------------
  |  |   39|     10|#define Py_nb_or 31
  ------------------
  |  Branch (885:9): [True: 6, False: 2.74k]
  ------------------
  886|     10|        case Py_nb_positive:
  ------------------
  |  |   40|     10|#define Py_nb_positive 32
  ------------------
  |  Branch (886:9): [True: 0, False: 2.75k]
  ------------------
  887|     10|        case Py_nb_power:
  ------------------
  |  |   41|     10|#define Py_nb_power 33
  ------------------
  |  Branch (887:9): [True: 0, False: 2.75k]
  ------------------
  888|     10|        case Py_nb_remainder:
  ------------------
  |  |   42|     10|#define Py_nb_remainder 34
  ------------------
  |  Branch (888:9): [True: 0, False: 2.75k]
  ------------------
  889|     10|        case Py_nb_rshift:
  ------------------
  |  |   43|     10|#define Py_nb_rshift 35
  ------------------
  |  Branch (889:9): [True: 0, False: 2.75k]
  ------------------
  890|     10|        case Py_nb_subtract:
  ------------------
  |  |   44|     10|#define Py_nb_subtract 36
  ------------------
  |  Branch (890:9): [True: 0, False: 2.75k]
  ------------------
  891|     10|        case Py_nb_true_divide:
  ------------------
  |  |   45|     10|#define Py_nb_true_divide 37
  ------------------
  |  Branch (891:9): [True: 0, False: 2.75k]
  ------------------
  892|     10|        case Py_nb_xor:
  ------------------
  |  |   46|     10|#define Py_nb_xor 38
  ------------------
  |  Branch (892:9): [True: 0, False: 2.75k]
  ------------------
  893|     14|        case Py_sq_ass_item:
  ------------------
  |  |   47|     14|#define Py_sq_ass_item 39
  ------------------
  |  Branch (893:9): [True: 4, False: 2.75k]
  ------------------
  894|     18|        case Py_sq_concat:
  ------------------
  |  |   48|     18|#define Py_sq_concat 40
  ------------------
  |  Branch (894:9): [True: 4, False: 2.75k]
  ------------------
  895|     22|        case Py_sq_contains:
  ------------------
  |  |   49|     22|#define Py_sq_contains 41
  ------------------
  |  Branch (895:9): [True: 4, False: 2.75k]
  ------------------
  896|     26|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     26|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (896:9): [True: 4, False: 2.75k]
  ------------------
  897|     30|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     30|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (897:9): [True: 4, False: 2.75k]
  ------------------
  898|     34|        case Py_sq_item:
  ------------------
  |  |   52|     34|#define Py_sq_item 44
  ------------------
  |  Branch (898:9): [True: 4, False: 2.75k]
  ------------------
  899|     38|        case Py_sq_length:
  ------------------
  |  |   53|     38|#define Py_sq_length 45
  ------------------
  |  Branch (899:9): [True: 4, False: 2.75k]
  ------------------
  900|     42|        case Py_sq_repeat:
  ------------------
  |  |   54|     42|#define Py_sq_repeat 46
  ------------------
  |  Branch (900:9): [True: 4, False: 2.75k]
  ------------------
  901|     70|        case Py_tp_alloc:
  ------------------
  |  |   55|     70|#define Py_tp_alloc 47
  ------------------
  |  Branch (901:9): [True: 28, False: 2.72k]
  ------------------
  902|     70|        case Py_tp_base:
  ------------------
  |  |   56|     70|#define Py_tp_base 48
  ------------------
  |  Branch (902:9): [True: 0, False: 2.75k]
  ------------------
  903|     70|        case Py_tp_bases:
  ------------------
  |  |   57|     70|#define Py_tp_bases 49
  ------------------
  |  Branch (903:9): [True: 0, False: 2.75k]
  ------------------
  904|     90|        case Py_tp_call:
  ------------------
  |  |   58|     90|#define Py_tp_call 50
  ------------------
  |  Branch (904:9): [True: 20, False: 2.73k]
  ------------------
  905|    188|        case Py_tp_clear:
  ------------------
  |  |   59|    188|#define Py_tp_clear 51
  ------------------
  |  Branch (905:9): [True: 98, False: 2.65k]
  ------------------
  906|    418|        case Py_tp_dealloc:
  ------------------
  |  |   60|    418|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 230, False: 2.52k]
  ------------------
  907|    418|        case Py_tp_del:
  ------------------
  |  |   61|    418|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 2.75k]
  ------------------
  908|    424|        case Py_tp_descr_get:
  ------------------
  |  |   62|    424|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 6, False: 2.74k]
  ------------------
  909|    426|        case Py_tp_descr_set:
  ------------------
  |  |   63|    426|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 2, False: 2.75k]
  ------------------
  910|    426|        case Py_tp_getattr:
  ------------------
  |  |   65|    426|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 2.75k]
  ------------------
  911|    510|        case Py_tp_getattro:
  ------------------
  |  |   66|    510|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 84, False: 2.67k]
  ------------------
  912|    516|        case Py_tp_hash:
  ------------------
  |  |   67|    516|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 6, False: 2.74k]
  ------------------
  913|    550|        case Py_tp_init:
  ------------------
  |  |   68|    550|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 34, False: 2.72k]
  ------------------
  914|    550|        case Py_tp_is_gc:
  ------------------
  |  |   69|    550|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 2.75k]
  ------------------
  915|    622|        case Py_tp_iter:
  ------------------
  |  |   70|    622|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 72, False: 2.68k]
  ------------------
  916|    692|        case Py_tp_iternext:
  ------------------
  |  |   71|    692|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 70, False: 2.68k]
  ------------------
  917|    870|        case Py_tp_methods:
  ------------------
  |  |   72|    870|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 178, False: 2.57k]
  ------------------
  918|  1.03k|        case Py_tp_new:
  ------------------
  |  |   73|  1.03k|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 160, False: 2.59k]
  ------------------
  919|  1.13k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.13k|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 104, False: 2.65k]
  ------------------
  920|  1.15k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.15k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 16, False: 2.73k]
  ------------------
  921|  1.15k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.15k|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 2.75k]
  ------------------
  922|  1.15k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.15k|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 8, False: 2.74k]
  ------------------
  923|  1.16k|        case Py_tp_str:
  ------------------
  |  |   78|  1.16k|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 6, False: 2.74k]
  ------------------
  924|  1.36k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.36k|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 200, False: 2.55k]
  ------------------
  925|  1.45k|        case Py_tp_getset:
  ------------------
  |  |   81|  1.45k|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 92, False: 2.66k]
  ------------------
  926|  1.52k|        case Py_tp_free:
  ------------------
  |  |   82|  1.52k|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 68, False: 2.68k]
  ------------------
  927|  1.52k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  1.52k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 2.75k]
  ------------------
  928|  1.52k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  1.52k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 2.75k]
  ------------------
  929|  1.52k|        case Py_am_await:
  ------------------
  |  |   85|  1.52k|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 4, False: 2.75k]
  ------------------
  930|  1.52k|        case Py_am_aiter:
  ------------------
  |  |   86|  1.52k|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 2.75k]
  ------------------
  931|  1.52k|        case Py_am_anext:
  ------------------
  |  |   87|  1.52k|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 2.75k]
  ------------------
  932|  1.53k|        case Py_tp_finalize:
  ------------------
  |  |   88|  1.53k|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 10, False: 2.74k]
  ------------------
  933|  1.54k|        case Py_am_send:
  ------------------
  |  |   89|  1.54k|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 2, False: 2.75k]
  ------------------
  934|  1.54k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  1.54k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 0, False: 2.75k]
  ------------------
  935|  1.54k|        case Py_mod_create:
  ------------------
  |  |   92|  1.54k|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|  1.54k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 2.75k]
  ------------------
  936|  1.54k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  1.54k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  1.54k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 4, False: 2.75k]
  ------------------
  937|  1.54k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  1.54k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  1.54k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 4, False: 2.75k]
  ------------------
  938|  1.55k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  1.55k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  1.55k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 2, False: 2.75k]
  ------------------
  939|  1.55k|        case Py_mp_length:
  ------------------
  |  |   99|  1.55k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  1.55k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 2, False: 2.75k]
  ------------------
  940|  1.55k|            return _PySlot_PROBLEM_DEPRECATED;
  941|    582|        default:
  ------------------
  |  Branch (941:9): [True: 582, False: 2.17k]
  ------------------
  942|    582|            return _PySlot_PROBLEM_REJECT;
  943|  2.75k|    }
  944|  2.75k|}
slots.c:_PySlot_get_duplicate_handling:
  749|  2.75k|{
  750|  2.75k|    switch (slot_id) {
  751|      4|        case Py_mp_subscript:
  ------------------
  |  |   13|      4|#define Py_mp_subscript 5
  ------------------
  |  Branch (751:9): [True: 4, False: 2.75k]
  ------------------
  752|      4|        case Py_nb_absolute:
  ------------------
  |  |   14|      4|#define Py_nb_absolute 6
  ------------------
  |  Branch (752:9): [True: 0, False: 2.75k]
  ------------------
  753|      4|        case Py_nb_add:
  ------------------
  |  |   15|      4|#define Py_nb_add 7
  ------------------
  |  Branch (753:9): [True: 0, False: 2.75k]
  ------------------
  754|      4|        case Py_nb_and:
  ------------------
  |  |   16|      4|#define Py_nb_and 8
  ------------------
  |  Branch (754:9): [True: 0, False: 2.75k]
  ------------------
  755|      4|        case Py_nb_bool:
  ------------------
  |  |   17|      4|#define Py_nb_bool 9
  ------------------
  |  Branch (755:9): [True: 0, False: 2.75k]
  ------------------
  756|      4|        case Py_nb_divmod:
  ------------------
  |  |   18|      4|#define Py_nb_divmod 10
  ------------------
  |  Branch (756:9): [True: 0, False: 2.75k]
  ------------------
  757|      4|        case Py_nb_float:
  ------------------
  |  |   19|      4|#define Py_nb_float 11
  ------------------
  |  Branch (757:9): [True: 0, False: 2.75k]
  ------------------
  758|      4|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      4|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (758:9): [True: 0, False: 2.75k]
  ------------------
  759|      4|        case Py_nb_index:
  ------------------
  |  |   21|      4|#define Py_nb_index 13
  ------------------
  |  Branch (759:9): [True: 0, False: 2.75k]
  ------------------
  760|      4|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      4|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (760:9): [True: 0, False: 2.75k]
  ------------------
  761|      4|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      4|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (761:9): [True: 0, False: 2.75k]
  ------------------
  762|      4|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      4|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (762:9): [True: 0, False: 2.75k]
  ------------------
  763|      4|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      4|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (763:9): [True: 0, False: 2.75k]
  ------------------
  764|      4|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      4|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (764:9): [True: 0, False: 2.75k]
  ------------------
  765|      4|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      4|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (765:9): [True: 0, False: 2.75k]
  ------------------
  766|      4|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      4|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (766:9): [True: 0, False: 2.75k]
  ------------------
  767|      4|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      4|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (767:9): [True: 0, False: 2.75k]
  ------------------
  768|      4|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      4|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (768:9): [True: 0, False: 2.75k]
  ------------------
  769|      4|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      4|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (769:9): [True: 0, False: 2.75k]
  ------------------
  770|      4|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      4|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (770:9): [True: 0, False: 2.75k]
  ------------------
  771|      4|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      4|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (771:9): [True: 0, False: 2.75k]
  ------------------
  772|      4|        case Py_nb_int:
  ------------------
  |  |   34|      4|#define Py_nb_int 26
  ------------------
  |  Branch (772:9): [True: 0, False: 2.75k]
  ------------------
  773|      4|        case Py_nb_invert:
  ------------------
  |  |   35|      4|#define Py_nb_invert 27
  ------------------
  |  Branch (773:9): [True: 0, False: 2.75k]
  ------------------
  774|      4|        case Py_nb_lshift:
  ------------------
  |  |   36|      4|#define Py_nb_lshift 28
  ------------------
  |  Branch (774:9): [True: 0, False: 2.75k]
  ------------------
  775|      4|        case Py_nb_multiply:
  ------------------
  |  |   37|      4|#define Py_nb_multiply 29
  ------------------
  |  Branch (775:9): [True: 0, False: 2.75k]
  ------------------
  776|      4|        case Py_nb_negative:
  ------------------
  |  |   38|      4|#define Py_nb_negative 30
  ------------------
  |  Branch (776:9): [True: 0, False: 2.75k]
  ------------------
  777|     10|        case Py_nb_or:
  ------------------
  |  |   39|     10|#define Py_nb_or 31
  ------------------
  |  Branch (777:9): [True: 6, False: 2.74k]
  ------------------
  778|     10|        case Py_nb_positive:
  ------------------
  |  |   40|     10|#define Py_nb_positive 32
  ------------------
  |  Branch (778:9): [True: 0, False: 2.75k]
  ------------------
  779|     10|        case Py_nb_power:
  ------------------
  |  |   41|     10|#define Py_nb_power 33
  ------------------
  |  Branch (779:9): [True: 0, False: 2.75k]
  ------------------
  780|     10|        case Py_nb_remainder:
  ------------------
  |  |   42|     10|#define Py_nb_remainder 34
  ------------------
  |  Branch (780:9): [True: 0, False: 2.75k]
  ------------------
  781|     10|        case Py_nb_rshift:
  ------------------
  |  |   43|     10|#define Py_nb_rshift 35
  ------------------
  |  Branch (781:9): [True: 0, False: 2.75k]
  ------------------
  782|     10|        case Py_nb_subtract:
  ------------------
  |  |   44|     10|#define Py_nb_subtract 36
  ------------------
  |  Branch (782:9): [True: 0, False: 2.75k]
  ------------------
  783|     10|        case Py_nb_true_divide:
  ------------------
  |  |   45|     10|#define Py_nb_true_divide 37
  ------------------
  |  Branch (783:9): [True: 0, False: 2.75k]
  ------------------
  784|     10|        case Py_nb_xor:
  ------------------
  |  |   46|     10|#define Py_nb_xor 38
  ------------------
  |  Branch (784:9): [True: 0, False: 2.75k]
  ------------------
  785|     14|        case Py_sq_ass_item:
  ------------------
  |  |   47|     14|#define Py_sq_ass_item 39
  ------------------
  |  Branch (785:9): [True: 4, False: 2.75k]
  ------------------
  786|     18|        case Py_sq_concat:
  ------------------
  |  |   48|     18|#define Py_sq_concat 40
  ------------------
  |  Branch (786:9): [True: 4, False: 2.75k]
  ------------------
  787|     22|        case Py_sq_contains:
  ------------------
  |  |   49|     22|#define Py_sq_contains 41
  ------------------
  |  Branch (787:9): [True: 4, False: 2.75k]
  ------------------
  788|     26|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     26|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (788:9): [True: 4, False: 2.75k]
  ------------------
  789|     30|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     30|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (789:9): [True: 4, False: 2.75k]
  ------------------
  790|     34|        case Py_sq_item:
  ------------------
  |  |   52|     34|#define Py_sq_item 44
  ------------------
  |  Branch (790:9): [True: 4, False: 2.75k]
  ------------------
  791|     38|        case Py_sq_length:
  ------------------
  |  |   53|     38|#define Py_sq_length 45
  ------------------
  |  Branch (791:9): [True: 4, False: 2.75k]
  ------------------
  792|     42|        case Py_sq_repeat:
  ------------------
  |  |   54|     42|#define Py_sq_repeat 46
  ------------------
  |  Branch (792:9): [True: 4, False: 2.75k]
  ------------------
  793|     70|        case Py_tp_alloc:
  ------------------
  |  |   55|     70|#define Py_tp_alloc 47
  ------------------
  |  Branch (793:9): [True: 28, False: 2.72k]
  ------------------
  794|     70|        case Py_tp_base:
  ------------------
  |  |   56|     70|#define Py_tp_base 48
  ------------------
  |  Branch (794:9): [True: 0, False: 2.75k]
  ------------------
  795|     70|        case Py_tp_bases:
  ------------------
  |  |   57|     70|#define Py_tp_bases 49
  ------------------
  |  Branch (795:9): [True: 0, False: 2.75k]
  ------------------
  796|     90|        case Py_tp_call:
  ------------------
  |  |   58|     90|#define Py_tp_call 50
  ------------------
  |  Branch (796:9): [True: 20, False: 2.73k]
  ------------------
  797|    188|        case Py_tp_clear:
  ------------------
  |  |   59|    188|#define Py_tp_clear 51
  ------------------
  |  Branch (797:9): [True: 98, False: 2.65k]
  ------------------
  798|    418|        case Py_tp_dealloc:
  ------------------
  |  |   60|    418|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 230, False: 2.52k]
  ------------------
  799|    418|        case Py_tp_del:
  ------------------
  |  |   61|    418|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 2.75k]
  ------------------
  800|    424|        case Py_tp_descr_get:
  ------------------
  |  |   62|    424|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 6, False: 2.74k]
  ------------------
  801|    426|        case Py_tp_descr_set:
  ------------------
  |  |   63|    426|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 2, False: 2.75k]
  ------------------
  802|    426|        case Py_tp_getattr:
  ------------------
  |  |   65|    426|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 2.75k]
  ------------------
  803|    510|        case Py_tp_getattro:
  ------------------
  |  |   66|    510|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 84, False: 2.67k]
  ------------------
  804|    516|        case Py_tp_hash:
  ------------------
  |  |   67|    516|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 6, False: 2.74k]
  ------------------
  805|    550|        case Py_tp_init:
  ------------------
  |  |   68|    550|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 34, False: 2.72k]
  ------------------
  806|    550|        case Py_tp_is_gc:
  ------------------
  |  |   69|    550|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 2.75k]
  ------------------
  807|    622|        case Py_tp_iter:
  ------------------
  |  |   70|    622|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 72, False: 2.68k]
  ------------------
  808|    692|        case Py_tp_iternext:
  ------------------
  |  |   71|    692|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 70, False: 2.68k]
  ------------------
  809|    870|        case Py_tp_methods:
  ------------------
  |  |   72|    870|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 178, False: 2.57k]
  ------------------
  810|  1.03k|        case Py_tp_new:
  ------------------
  |  |   73|  1.03k|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 160, False: 2.59k]
  ------------------
  811|  1.13k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.13k|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 104, False: 2.65k]
  ------------------
  812|  1.15k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.15k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 16, False: 2.73k]
  ------------------
  813|  1.15k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.15k|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 2.75k]
  ------------------
  814|  1.15k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.15k|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 8, False: 2.74k]
  ------------------
  815|  1.16k|        case Py_tp_str:
  ------------------
  |  |   78|  1.16k|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 6, False: 2.74k]
  ------------------
  816|  1.36k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.36k|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 200, False: 2.55k]
  ------------------
  817|  1.45k|        case Py_tp_getset:
  ------------------
  |  |   81|  1.45k|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 92, False: 2.66k]
  ------------------
  818|  1.52k|        case Py_tp_free:
  ------------------
  |  |   82|  1.52k|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 68, False: 2.68k]
  ------------------
  819|  1.52k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  1.52k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 2.75k]
  ------------------
  820|  1.52k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  1.52k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 2.75k]
  ------------------
  821|  1.52k|        case Py_am_await:
  ------------------
  |  |   85|  1.52k|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 4, False: 2.75k]
  ------------------
  822|  1.52k|        case Py_am_aiter:
  ------------------
  |  |   86|  1.52k|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 2.75k]
  ------------------
  823|  1.52k|        case Py_am_anext:
  ------------------
  |  |   87|  1.52k|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 2.75k]
  ------------------
  824|  1.53k|        case Py_tp_finalize:
  ------------------
  |  |   88|  1.53k|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 10, False: 2.74k]
  ------------------
  825|  1.54k|        case Py_am_send:
  ------------------
  |  |   89|  1.54k|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 2, False: 2.75k]
  ------------------
  826|  1.54k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  1.54k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 0, False: 2.75k]
  ------------------
  827|  1.54k|        case Py_tp_token:
  ------------------
  |  |   91|  1.54k|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 2, False: 2.75k]
  ------------------
  828|  1.54k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  1.54k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  1.54k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 4, False: 2.75k]
  ------------------
  829|  1.55k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  1.55k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  1.55k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 4, False: 2.75k]
  ------------------
  830|  1.55k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  1.55k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  1.55k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 2, False: 2.75k]
  ------------------
  831|  1.55k|        case Py_mp_length:
  ------------------
  |  |   99|  1.55k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  1.55k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 2, False: 2.75k]
  ------------------
  832|  1.55k|            return _PySlot_PROBLEM_DEPRECATED;
  833|    260|        case Py_mod_exec:
  ------------------
  |  |   93|    260|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    260|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 260, False: 2.49k]
  ------------------
  834|    468|        case Py_mod_abi:
  ------------------
  |  |  117|    468|#define Py_mod_abi 109
  ------------------
  |  Branch (834:9): [True: 208, False: 2.54k]
  ------------------
  835|    468|            return _PySlot_PROBLEM_ALLOW;
  836|    732|        default:
  ------------------
  |  Branch (836:9): [True: 732, False: 2.02k]
  ------------------
  837|    732|            return _PySlot_PROBLEM_REJECT;
  838|  2.75k|    }
  839|  2.75k|}

call.c:_PyThreadState_PushCStackRef:
  787|   191k|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|   191k|    ref->ref = PyStackRef_NULL;
  794|   191k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|  95.5k|{
  628|  95.5k|    assert(obj != NULL);
  629|  95.5k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  95.5k|#define Py_TAG_REFCNT 1
  ------------------
  630|  95.5k|}
call.c:_PyThreadState_PopCStackRef:
  805|   191k|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|   191k|    PyStackRef_XCLOSE(ref->ref);
  812|   191k|}
call.c:PyStackRef_XCLOSE:
  722|   191k|{
  723|   191k|    assert(ref.bits != 0);
  724|   191k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 95.5k, False: 95.5k]
  ------------------
  725|  95.5k|        assert(!PyStackRef_IsNull(ref));
  726|  95.5k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  95.5k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  95.5k|    }
  728|   191k|}
call.c:PyStackRef_RefcountOnObject:
  534|   191k|{
  535|   191k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   191k|#define Py_TAG_REFCNT 1
  ------------------
  536|   191k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|   191k|{
  541|   191k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|   191k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   191k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   191k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   191k|}
listobject.c:PyStackRef_AsPyObjectSteal:
  554|  1.70M|{
  555|  1.70M|    assert(!PyStackRef_IsNull(ref));
  556|  1.70M|    assert(!PyStackRef_IsTaggedInt(ref));
  557|  1.70M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 154k, False: 1.54M]
  ------------------
  558|   154k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|   154k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|   154k|    }
  560|  1.54M|    else {
  561|  1.54M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  1.54M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.54M|    }
  563|  1.70M|}
listobject.c:PyStackRef_RefcountOnObject:
  534|  1.70M|{
  535|  1.70M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.70M|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.70M|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|  14.9M|{
  628|  14.9M|    assert(obj != NULL);
  629|  14.9M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  14.9M|#define Py_TAG_REFCNT 1
  ------------------
  630|  14.9M|}
longobject.c:PyStackRef_FromPyObjectStealMortal:
  585|  24.9M|{
  586|  24.9M|    assert(obj != NULL);
  587|  24.9M|    assert(!_Py_IsImmortal(obj));
  588|  24.9M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  24.9M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  24.9M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  24.9M|    return ref;
  591|  24.9M|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  5.34M|{
  596|  5.34M|    assert(obj != NULL);
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  5.34M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  5.34M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 19.5k, False: 5.32M]
  |  |  ------------------
  ------------------
  603|  19.5k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  19.5k|#define Py_TAG_REFCNT 1
  ------------------
  604|  19.5k|    }
  605|  5.32M|#endif
  606|  5.32M|    _Py_INCREF_MORTAL(obj);
  607|  5.32M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  5.32M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  5.32M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  5.32M|    return ref;
  610|  5.34M|}
dictobject.c:PyStackRef_XCLOSE:
  722|     10|{
  723|     10|    assert(ref.bits != 0);
  724|     10|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 0, False: 10]
  ------------------
  725|      0|        assert(!PyStackRef_IsNull(ref));
  726|      0|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|      0|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|      0|    }
  728|     10|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  3.46M|{
  535|  3.46M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  3.46M|#define Py_TAG_REFCNT 1
  ------------------
  536|  3.46M|}
dictobject.c:PyStackRef_FromPyObjectSteal:
  567|     10|{
  568|     10|    assert(obj != NULL);
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|     10|#  if SIZEOF_VOID_P > 4
  573|     10|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|     10|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|     10|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|     10|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|     10|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|     10|    return ref;
  580|     10|#endif
  581|     10|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  3.46M|{
  541|  3.46M|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  3.46M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.46M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.46M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.46M|}
dictobject.c:PyStackRef_CLOSE:
  700|  3.46M|{
  701|  3.46M|    assert(!PyStackRef_IsNull(ref));
  702|  3.46M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 3.46M, False: 0]
  ------------------
  703|  3.46M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  3.46M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  3.46M|    }
  705|  3.46M|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  29.8M|{
  568|  29.8M|    assert(obj != NULL);
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  29.8M|#  if SIZEOF_VOID_P > 4
  573|  29.8M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  29.8M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  29.8M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  29.8M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  29.8M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  29.8M|    return ref;
  580|  29.8M|#endif
  581|  29.8M|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  50.9M|{
  541|  50.9M|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  50.9M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  50.9M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  50.9M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  50.9M|}
object.c:PyStackRef_XCLOSE:
  722|  40.9M|{
  723|  40.9M|    assert(ref.bits != 0);
  724|  40.9M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 10.0M, False: 30.8M]
  ------------------
  725|  10.0M|        assert(!PyStackRef_IsNull(ref));
  726|  10.0M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  10.0M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  10.0M|    }
  728|  40.9M|}
object.c:PyStackRef_RefcountOnObject:
  534|  41.0M|{
  535|  41.0M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  41.0M|#define Py_TAG_REFCNT 1
  ------------------
  536|  41.0M|}
object.c:_PyStackRef_FromPyObjectNew:
  595|  29.2k|{
  596|  29.2k|    assert(obj != NULL);
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  29.2k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  29.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 29.2k]
  |  |  ------------------
  ------------------
  603|      0|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|      0|#define Py_TAG_REFCNT 1
  ------------------
  604|      0|    }
  605|  29.2k|#endif
  606|  29.2k|    _Py_INCREF_MORTAL(obj);
  607|  29.2k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  29.2k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  29.2k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  29.2k|    return ref;
  610|  29.2k|}
object.c:_PyThreadState_PushCStackRef:
  787|  32.6M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  32.6M|    ref->ref = PyStackRef_NULL;
  794|  32.6M|}
object.c:PyStackRef_AsPyObjectSteal:
  554|   151k|{
  555|   151k|    assert(!PyStackRef_IsNull(ref));
  556|   151k|    assert(!PyStackRef_IsTaggedInt(ref));
  557|   151k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 4.79k, False: 146k]
  ------------------
  558|  4.79k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  4.79k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  4.79k|    }
  560|   146k|    else {
  561|   146k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|   146k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   146k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   146k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|   146k|    }
  563|   151k|}
object.c:_PyThreadState_PopCStackRef:
  805|  32.6M|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  32.6M|    PyStackRef_XCLOSE(ref->ref);
  812|  32.6M|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  540|     10|{
  541|     10|    assert(!PyStackRef_IsTaggedInt(ref));
  542|     10|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     10|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     10|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     10|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  554|  11.5M|{
  555|  11.5M|    assert(!PyStackRef_IsNull(ref));
  556|  11.5M|    assert(!PyStackRef_IsTaggedInt(ref));
  557|  11.5M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 5.68M, False: 5.90M]
  ------------------
  558|  5.68M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  5.68M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  5.68M|    }
  560|  5.90M|    else {
  561|  5.90M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  5.90M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  5.90M|    }
  563|  11.5M|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|  11.5M|{
  535|  11.5M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  11.5M|#define Py_TAG_REFCNT 1
  ------------------
  536|  11.5M|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|  15.3M|{
  541|  15.3M|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  15.3M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  15.3M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  15.3M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  15.3M|}
typeobject.c:PyStackRef_XCLOSE:
  722|  30.5M|{
  723|  30.5M|    assert(ref.bits != 0);
  724|  30.5M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 13.6M, False: 16.8M]
  ------------------
  725|  13.6M|        assert(!PyStackRef_IsNull(ref));
  726|  13.6M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  13.6M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  13.6M|    }
  728|  30.5M|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|  56.0M|{
  535|  56.0M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  56.0M|#define Py_TAG_REFCNT 1
  ------------------
  536|  56.0M|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  8.18M|{
  568|  8.18M|    assert(obj != NULL);
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  8.18M|#  if SIZEOF_VOID_P > 4
  573|  8.18M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  8.18M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  8.18M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  8.18M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  8.18M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  8.18M|    return ref;
  580|  8.18M|#endif
  581|  8.18M|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|  25.4M|{
  555|  25.4M|    assert(!PyStackRef_IsNull(ref));
  556|  25.4M|    assert(!PyStackRef_IsTaggedInt(ref));
  557|  25.4M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 25.4M, False: 8.02k]
  ------------------
  558|  25.4M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  25.4M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  25.4M|    }
  560|  8.02k|    else {
  561|  8.02k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  8.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  8.02k|    }
  563|  25.4M|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  44.9M|{
  596|  44.9M|    assert(obj != NULL);
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  44.9M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  44.9M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 526k, False: 44.4M]
  |  |  ------------------
  ------------------
  603|   526k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   526k|#define Py_TAG_REFCNT 1
  ------------------
  604|   526k|    }
  605|  44.4M|#endif
  606|  44.4M|    _Py_INCREF_MORTAL(obj);
  607|  44.4M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  44.4M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  44.4M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  44.4M|    return ref;
  610|  44.9M|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|  30.5M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  30.5M|    ref->ref = PyStackRef_NULL;
  794|  30.5M|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|  22.1M|{
  806|       |#ifdef Py_GIL_DISABLED
  807|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  808|       |    assert(tstate_impl->c_stack_refs == ref);
  809|       |    tstate_impl->c_stack_refs = ref->next;
  810|       |#endif
  811|  22.1M|    PyStackRef_XCLOSE(ref->ref);
  812|  22.1M|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  8.43M|{
  817|       |#ifdef Py_GIL_DISABLED
  818|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  819|       |    assert(tstate_impl->c_stack_refs == ref);
  820|       |    tstate_impl->c_stack_refs = ref->next;
  821|       |#endif
  822|  8.43M|    return ref->ref;
  823|  8.43M|}
typeobject.c:PyStackRef_CLOSE:
  700|  50.0k|{
  701|  50.0k|    assert(!PyStackRef_IsNull(ref));
  702|  50.0k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 49.7k, False: 242]
  ------------------
  703|  49.7k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  49.7k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  49.7k|    }
  705|  50.0k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|   277k|{
  799|   277k|    _PyThreadState_PushCStackRef(tstate, ref);
  800|   277k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|   277k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|   277k|}
typevarobject.c:PyStackRef_AsPyObjectBorrow:
  540|     80|{
  541|     80|    assert(!PyStackRef_IsTaggedInt(ref));
  542|     80|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     80|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     80|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     80|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  26.3M|{
  788|       |#ifdef Py_GIL_DISABLED
  789|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  790|       |    ref->next = tstate_impl->c_stack_refs;
  791|       |    tstate_impl->c_stack_refs = ref;
  792|       |#endif
  793|  26.3M|    ref->ref = PyStackRef_NULL;
  794|  26.3M|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  92.5M|{
  628|  92.5M|    assert(obj != NULL);
  629|  92.5M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  92.5M|#define Py_TAG_REFCNT 1
  ------------------
  630|  92.5M|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|  1.86G|{
  541|  1.86G|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  1.86G|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.86G|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.86G|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.86G|}
ceval.c:PyStackRef_XCLOSE:
  722|   486M|{
  723|   486M|    assert(ref.bits != 0);
  724|   486M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 145M, False: 340M]
  ------------------
  725|   145M|        assert(!PyStackRef_IsNull(ref));
  726|   145M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|   145M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   145M|    }
  728|   486M|}
ceval.c:PyStackRef_RefcountOnObject:
  534|  1.01G|{
  535|  1.01G|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.01G|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.01G|}
ceval.c:PyStackRef_CLOSE:
  700|   228M|{
  701|   228M|    assert(!PyStackRef_IsNull(ref));
  702|   228M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 85.4M, False: 142M]
  ------------------
  703|  85.4M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  85.4M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  85.4M|    }
  705|   228M|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  26.3M|{
  817|       |#ifdef Py_GIL_DISABLED
  818|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  819|       |    assert(tstate_impl->c_stack_refs == ref);
  820|       |    tstate_impl->c_stack_refs = ref->next;
  821|       |#endif
  822|  26.3M|    return ref->ref;
  823|  26.3M|}
ceval.c:PyStackRef_TYPE:
  748|  9.46M|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  9.46M|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 9.46M]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  9.46M|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  9.46M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  9.46M|}
ceval.c:PyStackRef_TagInt:
  446|  4.44M|{
  447|  4.44M|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  448|  4.44M|                                     Py_TAGGED_SHIFT) == i);
  449|  4.44M|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  4.44M|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  4.44M|#define Py_INT_TAG 3
  ------------------
  450|  4.44M|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|   152M|{
  568|   152M|    assert(obj != NULL);
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|   152M|#  if SIZEOF_VOID_P > 4
  573|   152M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|   152M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|   152M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|   152M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   152M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|   152M|    return ref;
  580|   152M|#endif
  581|   152M|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|   184M|{
  711|   184M|    assert(!PyStackRef_IsNull(ref));
  712|   184M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 51.0M, False: 133M]
  ------------------
  713|  51.0M|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  471|  51.0M|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  51.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  51.0M|    }
  715|   184M|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|  41.8M|{
  555|  41.8M|    assert(!PyStackRef_IsNull(ref));
  556|  41.8M|    assert(!PyStackRef_IsTaggedInt(ref));
  557|  41.8M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 28.2M, False: 13.6M]
  ------------------
  558|  28.2M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  28.2M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  28.2M|    }
  560|  13.6M|    else {
  561|  13.6M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  13.6M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  13.6M|    }
  563|  41.8M|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|   329M|{
  596|   329M|    assert(obj != NULL);
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|   329M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|   329M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   329M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   329M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 69.0M, False: 260M]
  |  |  ------------------
  ------------------
  603|  69.0M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  69.0M|#define Py_TAG_REFCNT 1
  ------------------
  604|  69.0M|    }
  605|   260M|#endif
  606|   260M|    _Py_INCREF_MORTAL(obj);
  607|   260M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|   260M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   260M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|   260M|    return ref;
  610|   329M|}
ceval.c:PyStackRef_Wrap:
  398|  55.9M|{
  399|  55.9M|    assert(ptr != NULL);
  400|       |#ifdef Py_DEBUG
  401|       |    assert(((uintptr_t)ptr & Py_TAG_BITS) == 0);
  402|       |    return (_PyStackRef){ .bits = ((uintptr_t)ptr) | Py_TAG_INVALID };
  403|       |#else
  404|  55.9M|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  55.9M|#endif
  406|  55.9M|}
ceval.c:PyStackRef_Unwrap:
  410|  55.9M|{
  411|       |#ifdef Py_DEBUG
  412|       |    assert ((ref.bits & Py_TAG_BITS) == Py_TAG_INVALID);
  413|       |    return (void *)(ref.bits & ~Py_TAG_BITS);
  414|       |#else
  415|  55.9M|    return (void *)(ref.bits);
  416|  55.9M|#endif
  417|  55.9M|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|  13.8M|{
  586|  13.8M|    assert(obj != NULL);
  587|  13.8M|    assert(!_Py_IsImmortal(obj));
  588|  13.8M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  13.8M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  13.8M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  13.8M|    return ref;
  591|  13.8M|}
ceval.c:PyStackRef_DUP:
  639|  71.3M|{
  640|  71.3M|    assert(!PyStackRef_IsNull(ref));
  641|  71.3M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 12.8M, False: 58.4M]
  ------------------
  642|  12.8M|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  12.8M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  12.8M|    }
  644|  71.3M|    return ref;
  645|  71.3M|}
ceval.c:_PyStackRef_CloseStack:
  873|  13.3M|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  36.8M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 23.4M, False: 13.3M]
  ------------------
  877|  23.4M|        _PyStackRef tmp = arguments[i];
  878|  23.4M|        arguments[i] = PyStackRef_NULL;
  879|  23.4M|        PyStackRef_CLOSE(tmp);
  880|  23.4M|    }
  881|  13.3M|}
ceval.c:PyStackRef_IsValid:
  433|  1.56M|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|  1.56M|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|  1.56M|#define Py_INT_TAG 3
  ------------------
  436|  1.56M|}
ceval.c:PyStackRef_IsError:
  421|  1.21M|{
  422|  1.21M|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|  1.21M|#define Py_TAG_INVALID 2
  ------------------
  423|  1.21M|}
ceval.c:PyStackRef_UntagInt:
  454|  7.76M|{
  455|  7.76M|    assert(PyStackRef_IsTaggedInt(i));
  456|  7.76M|    intptr_t val = (intptr_t)i.bits;
  457|  7.76M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  7.76M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  7.76M|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|  2.64M|{
  464|  2.64M|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  465|  2.64M|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  466|  2.64M|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  2.64M|#define Py_TAGGED_SHIFT 2
  ------------------
  467|  2.64M|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|  70.1M|{
  674|  70.1M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 67.1M, False: 3.06M]
  ------------------
  675|  67.1M|        return ref;
  676|  67.1M|    }
  677|  3.06M|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.06M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.06M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  3.06M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.06M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  3.06M|    ref.bits = (uintptr_t)obj;
  680|  3.06M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  3.06M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  3.06M|    return ref;
  682|  70.1M|}
ceval.c:PyStackRef_IsHeapSafe:
  659|  70.1M|{
  660|       |#ifdef Py_GIL_DISABLED
  661|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  662|       |        return true;
  663|       |    }
  664|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  665|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  666|       |#else
  667|  70.1M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  70.1M|#define Py_TAG_BITS 3
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   55|   140M|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|  42.7M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|   112M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  137|   111M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 38.0M, False: 3.06M]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 27.4M, False: 42.7M]
  |  Branch (667:57): [True: 1.64M, False: 41.1M]
  ------------------
  668|  70.1M|#endif
  669|  70.1M|}
ceval.c:PyStackRef_DupImmortal:
  650|  22.9M|{
  651|  22.9M|    assert(!PyStackRef_IsNull(ref));
  652|  22.9M|    assert(!PyStackRef_RefcountOnObject(ref));
  653|       |    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  654|  22.9M|    return ref;
  655|  22.9M|}
ceval.c:PyStackRef_Borrow:
  547|   352M|{
  548|   352M|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|   352M|#define Py_TAG_REFCNT 1
  ------------------
  549|   352M|}
ceval.c:PyStackRef_IsTaggedInt:
  440|  30.9M|{
  441|  30.9M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  30.9M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  30.9M|#define Py_INT_TAG 3
  ------------------
  442|  30.9M|}
frame.c:PyStackRef_IsTaggedInt:
  440|  35.0k|{
  441|  35.0k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  35.0k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  35.0k|#define Py_INT_TAG 3
  ------------------
  442|  35.0k|}
frame.c:PyStackRef_XCLOSE:
  722|   230M|{
  723|   230M|    assert(ref.bits != 0);
  724|   230M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 108M, False: 122M]
  ------------------
  725|   108M|        assert(!PyStackRef_IsNull(ref));
  726|   108M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|   108M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   108M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   108M|    }
  728|   230M|}
frame.c:PyStackRef_RefcountOnObject:
  534|   231M|{
  535|   231M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   231M|#define Py_TAG_REFCNT 1
  ------------------
  536|   231M|}
frame.c:PyStackRef_MakeHeapSafe:
  673|  5.58M|{
  674|  5.58M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 4.63M, False: 952k]
  ------------------
  675|  4.63M|        return ref;
  676|  4.63M|    }
  677|   952k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   952k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   952k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|   952k|    Py_INCREF(obj);
  ------------------
  |  |  310|   952k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   952k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   952k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|   952k|    ref.bits = (uintptr_t)obj;
  680|   952k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   952k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|   952k|    return ref;
  682|  5.58M|}
frame.c:PyStackRef_IsHeapSafe:
  659|  5.58M|{
  660|       |#ifdef Py_GIL_DISABLED
  661|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  662|       |        return true;
  663|       |    }
  664|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  665|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  666|       |#else
  667|  5.58M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  5.58M|#define Py_TAG_BITS 3
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   55|  11.1M|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|  2.27M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  7.85M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  137|  6.98M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 453k, False: 952k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 3.30M, False: 2.27M]
  |  Branch (667:57): [True: 866k, False: 1.40M]
  ------------------
  668|  5.58M|#endif
  669|  5.58M|}
frame.c:PyStackRef_DUP:
  639|   980k|{
  640|   980k|    assert(!PyStackRef_IsNull(ref));
  641|   980k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 980k, False: 0]
  ------------------
  642|   980k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|   980k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|   980k|    }
  644|   980k|    return ref;
  645|   980k|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  6.24M|{
  541|  6.24M|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  6.24M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  6.24M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  6.24M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  6.24M|}
gc.c:PyStackRef_RefcountOnObject:
  534|  94.4k|{
  535|  94.4k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  94.4k|#define Py_TAG_REFCNT 1
  ------------------
  536|  94.4k|}
gc.c:PyStackRef_AsPyObjectBorrow:
  540|   176k|{
  541|   176k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|   176k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   176k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   176k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   176k|}
gc.c:PyStackRef_IsTaggedInt:
  440|   125k|{
  441|   125k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   125k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   125k|#define Py_INT_TAG 3
  ------------------
  442|   125k|}
intrinsics.c:PyStackRef_AsPyObjectBorrow:
  540|  23.5k|{
  541|  23.5k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  23.5k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  23.5k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  23.5k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  23.5k|}
pylifecycle.c:PyStackRef_FromPyObjectBorrow:
  627|     28|{
  628|     28|    assert(obj != NULL);
  629|     28|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|     28|#define Py_TAG_REFCNT 1
  ------------------
  630|     28|}
specialize.c:PyStackRef_AsPyObjectBorrow:
  540|   517k|{
  541|   517k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|   517k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   517k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   517k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   517k|}
specialize.c:PyStackRef_TYPE:
  748|    927|PyStackRef_TYPE(_PyStackRef stackref) {
  749|    927|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 927]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|    927|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|    927|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    927|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    927|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|    927|}
specialize.c:PyStackRef_IsTaggedInt:
  440|    927|{
  441|    927|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    927|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    927|#define Py_INT_TAG 3
  ------------------
  442|    927|}
sysmodule.c:PyStackRef_AsPyObjectBorrow:
  540|    484|{
  541|    484|    assert(!PyStackRef_IsTaggedInt(ref));
  542|    484|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    484|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    484|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    484|}
traceback.c:PyStackRef_AsPyObjectBorrow:
  540|  2.82M|{
  541|  2.82M|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  2.82M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  2.82M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.82M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  2.82M|}
genobject.c:PyStackRef_XCLOSE:
  722|  1.55M|{
  723|  1.55M|    assert(ref.bits != 0);
  724|  1.55M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.55M, False: 0]
  ------------------
  725|  1.55M|        assert(!PyStackRef_IsNull(ref));
  726|  1.55M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  1.55M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.55M|    }
  728|  1.55M|}
genobject.c:PyStackRef_RefcountOnObject:
  534|  1.55M|{
  535|  1.55M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.55M|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.55M|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|   283k|{
  596|   283k|    assert(obj != NULL);
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|   283k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|   283k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   283k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   283k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 283k, False: 0]
  |  |  ------------------
  ------------------
  603|   283k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   283k|#define Py_TAG_REFCNT 1
  ------------------
  604|   283k|    }
  605|      0|#endif
  606|      0|    _Py_INCREF_MORTAL(obj);
  607|      0|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|      0|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|      0|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|      0|    return ref;
  610|   283k|}
genobject.c:PyStackRef_IsTaggedInt:
  440|     13|{
  441|     13|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     13|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     13|#define Py_INT_TAG 3
  ------------------
  442|     13|}
genobject.c:PyStackRef_AsPyObjectBorrow:
  540|  1.57k|{
  541|  1.57k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  1.57k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.57k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.57k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.57k|}
frameobject.c:PyStackRef_AsPyObjectBorrow:
  540|  1.47k|{
  541|  1.47k|    assert(!PyStackRef_IsTaggedInt(ref));
  542|  1.47k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.47k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.47k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.47k|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|  5.58M|{
  535|  5.58M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  5.58M|#define Py_TAG_REFCNT 1
  ------------------
  536|  5.58M|}
frameobject.c:PyStackRef_XCLOSE:
  722|  5.58M|{
  723|  5.58M|    assert(ref.bits != 0);
  724|  5.58M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 4.26M, False: 1.32M]
  ------------------
  725|  4.26M|        assert(!PyStackRef_IsNull(ref));
  726|  4.26M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  4.26M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  4.26M|    }
  728|  5.58M|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|    124|{
  541|    124|    assert(!PyStackRef_IsTaggedInt(ref));
  542|    124|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    124|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    124|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    124|}

floatobject.c:_PyStructSequence_InitBuiltin:
   29|      2|{
   30|      2|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      2|}
longobject.c:_PyStructSequence_InitBuiltin:
   29|      2|{
   30|      2|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      2|}
errors.c:_PyStructSequence_InitBuiltin:
   29|      2|{
   30|      2|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      2|}
sysmodule.c:_PyStructSequence_InitBuiltin:
   29|      4|{
   30|      4|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      4|}
thread.c:_PyStructSequence_InitBuiltin:
   29|      2|{
   30|      2|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      2|}

dictobject.c:_PyTuple_Recycle:
   53|   638k|{
   54|   638k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|   638k|    do {                                    \
  |  |   45|   638k|        assert(op != NULL);                 \
  |  |   46|   638k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   638k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|   638k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 638k]
  |  |  ------------------
  ------------------
   55|   638k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   638k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 301k, False: 336k]
  ------------------
   56|   301k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|   301k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   301k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   301k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|   301k|    }
   58|   638k|}
bltinmodule.c:_PyTuple_Recycle:
   53|  1.29k|{
   54|  1.29k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  1.29k|    do {                                    \
  |  |   45|  1.29k|        assert(op != NULL);                 \
  |  |   46|  1.29k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  1.29k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  1.29k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
   55|  1.29k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  1.29k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 0, False: 1.29k]
  ------------------
   56|      0|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|    }
   58|  1.29k|}
itertoolsmodule.c:_PyTuple_Recycle:
   53|     10|{
   54|     10|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|     10|    do {                                    \
  |  |   45|     10|        assert(op != NULL);                 \
  |  |   46|     10|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
   55|     10|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|     10|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 2, False: 8]
  ------------------
   56|      2|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      2|    }
   58|     10|}
enumobject.c:_PyTuple_Recycle:
   53|  4.63k|{
   54|  4.63k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  4.63k|    do {                                    \
  |  |   45|  4.63k|        assert(op != NULL);                 \
  |  |   46|  4.63k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  4.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  4.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 4.63k]
  |  |  ------------------
  ------------------
   55|  4.63k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  4.63k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 140, False: 4.49k]
  ------------------
   56|    140|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|    140|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|    140|    }
   58|  4.63k|}
odictobject.c:_PyTuple_Recycle:
   53|     12|{
   54|     12|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|     12|    do {                                    \
  |  |   45|     12|        assert(op != NULL);                 \
  |  |   46|     12|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|     12|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   55|     12|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|     12|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 4, False: 8]
  ------------------
   56|      4|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|      4|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      4|    }
   58|     12|}

object.c:_PyType_IsReady:
  110|  45.9M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  45.9M|}
typeobject.c:_PyType_IsReady:
  110|  8.44M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  8.44M|}
weakrefobject.c:_PyStaticType_GET_WEAKREFS_LISTPTR:
   49|  70.0k|{
   50|       |    assert(state != NULL);
   51|  70.0k|    return &state->tp_weaklist;
   52|  70.0k|}
modsupport.c:_PyType_IsReady:
  110|    168|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|    168|}
specialize.c:_PyType_IsReady:
  110|   310k|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|   310k|}
_collectionsmodule.c:_PyType_GetModuleState:
   81|    268|{
   82|    268|    assert(PyType_Check(type));
   83|    268|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|    268|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|    268|    assert(et->ht_module);
   86|    268|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|    268|    return mod->md_state;
   89|    268|}
iobase.c:_PyType_GetModuleState:
   81|      2|{
   82|      2|    assert(PyType_Check(type));
   83|      2|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|      2|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|      2|    assert(et->ht_module);
   86|      2|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|      2|    return mod->md_state;
   89|      2|}
fileio.c:_PyType_GetModuleState:
   81|    516|{
   82|    516|    assert(PyType_Check(type));
   83|    516|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|    516|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|    516|    assert(et->ht_module);
   86|    516|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|    516|    return mod->md_state;
   89|    516|}
_abc.c:_PyType_GetModuleState:
   81|    274|{
   82|    274|    assert(PyType_Check(type));
   83|    274|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|    274|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|    274|    assert(et->ht_module);
   86|    274|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|    274|    return mod->md_state;
   89|    274|}
_operator.c:_PyType_GetModuleState:
   81|      8|{
   82|      8|    assert(PyType_Check(type));
   83|      8|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|      8|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|      8|    assert(et->ht_module);
   86|      8|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|      8|    return mod->md_state;
   89|      8|}
classobject.c:_PyType_IsReady:
  110|     74|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|     74|}

unicode_format.c:_PyUnicode_EnsureUnicode:
   99|  94.1k|{
  100|  94.1k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  94.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 94.1k]
  ------------------
  101|      0|        PyErr_Format(PyExc_TypeError,
  102|      0|                     "must be str, not %T", obj);
  103|      0|        return -1;
  104|      0|    }
  105|  94.1k|    return 0;
  106|  94.1k|}
unicode_format.c:_PyUnicode_Fill:
   67|  79.6k|{
   68|  79.6k|    assert(0 <= start);
   69|  79.6k|    switch (kind) {
   70|  79.6k|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (70:5): [True: 79.6k, False: 0]
  ------------------
   71|  79.6k|        assert(value <= 0xff);
   72|  79.6k|        Py_UCS1 ch = (unsigned char)value;
   73|  79.6k|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   74|  79.6k|        memset(to, ch, length);
   75|  79.6k|        break;
   76|      0|    }
   77|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (77:5): [True: 0, False: 79.6k]
  ------------------
   78|      0|        assert(value <= 0xffff);
   79|      0|        Py_UCS2 ch = (Py_UCS2)value;
   80|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   81|      0|        const Py_UCS2 *end = to + length;
   82|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (82:16): [True: 0, False: 0]
  ------------------
   83|      0|        break;
   84|      0|    }
   85|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (85:5): [True: 0, False: 79.6k]
  ------------------
   86|      0|        assert(value <= _Py_MAX_UNICODE);
   87|      0|        Py_UCS4 ch = value;
   88|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   89|      0|        const Py_UCS4 *end = to + length;
   90|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (90:16): [True: 0, False: 0]
  ------------------
   91|      0|        break;
   92|      0|    }
   93|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (93:5): [True: 0, False: 79.6k]
  ------------------
   94|  79.6k|    }
   95|  79.6k|}
unicode_formatter.c:_PyUnicode_Fill:
   67|     64|{
   68|     64|    assert(0 <= start);
   69|     64|    switch (kind) {
   70|     64|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (70:5): [True: 64, False: 0]
  ------------------
   71|     64|        assert(value <= 0xff);
   72|     64|        Py_UCS1 ch = (unsigned char)value;
   73|     64|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   74|     64|        memset(to, ch, length);
   75|     64|        break;
   76|      0|    }
   77|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (77:5): [True: 0, False: 64]
  ------------------
   78|      0|        assert(value <= 0xffff);
   79|      0|        Py_UCS2 ch = (Py_UCS2)value;
   80|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   81|      0|        const Py_UCS2 *end = to + length;
   82|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (82:16): [True: 0, False: 0]
  ------------------
   83|      0|        break;
   84|      0|    }
   85|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (85:5): [True: 0, False: 64]
  ------------------
   86|      0|        assert(value <= _Py_MAX_UNICODE);
   87|      0|        Py_UCS4 ch = value;
   88|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   89|      0|        const Py_UCS4 *end = to + length;
   90|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (90:16): [True: 0, False: 0]
  ------------------
   91|      0|        break;
   92|      0|    }
   93|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (93:5): [True: 0, False: 64]
  ------------------
   94|     64|    }
   95|     64|}
unicode_writer.c:_PyUnicodeWriter_WriteCharInline:
  110|   189k|{
  111|   189k|    assert(ch <= _Py_MAX_UNICODE);
  112|   189k|    if (_PyUnicodeWriter_Prepare(writer, 1, ch) < 0)
  ------------------
  |  |  562|   189k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 189k, False: 2]
  |  |  ------------------
  |  |  563|   189k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 162k, False: 27.0k]
  |  |  ------------------
  |  |  564|   189k|     ? 0                                                              \
  |  |  565|   189k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 27.0k]
  |  |  ------------------
  |  |  566|  27.0k|        ? 0                                                           \
  |  |  567|  27.0k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (112:9): [True: 0, False: 189k]
  ------------------
  113|      0|        return -1;
  114|   189k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|   189k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   189k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|   189k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   189k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  115|   189k|    writer->pos++;
  116|   189k|    return 0;
  117|   189k|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  110|  20.3k|{
  111|  20.3k|    assert(ch <= _Py_MAX_UNICODE);
  112|  20.3k|    if (_PyUnicodeWriter_Prepare(writer, 1, ch) < 0)
  ------------------
  |  |  562|  20.3k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 20.2k, False: 100]
  |  |  ------------------
  |  |  563|  20.3k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 20.2k, False: 16]
  |  |  ------------------
  |  |  564|  20.3k|     ? 0                                                              \
  |  |  565|  20.3k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 116]
  |  |  ------------------
  |  |  566|    116|        ? 0                                                           \
  |  |  567|    116|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (112:9): [True: 0, False: 20.3k]
  ------------------
  113|      0|        return -1;
  114|  20.3k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|  20.3k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  20.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  20.3k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  20.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  115|  20.3k|    writer->pos++;
  116|  20.3k|    return 0;
  117|  20.3k|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
   99|  1.56M|{
  100|  1.56M|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  1.56M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.56M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 1.56M]
  ------------------
  101|      0|        PyErr_Format(PyExc_TypeError,
  102|      0|                     "must be str, not %T", obj);
  103|      0|        return -1;
  104|      0|    }
  105|  1.56M|    return 0;
  106|  1.56M|}

unicodeobject.c:_PyUnicode_InitStaticStrings:
   13|      2|_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
   14|      2|    PyObject *string;
   15|      2|    string = &_Py_ID(AGEN_CLOSED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|      2|    _PyUnicode_InternStatic(interp, &string);
   17|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   18|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   19|      2|    string = &_Py_ID(AGEN_CREATED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|      2|    _PyUnicode_InternStatic(interp, &string);
   21|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   22|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   23|      2|    string = &_Py_ID(AGEN_RUNNING);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   24|      2|    _PyUnicode_InternStatic(interp, &string);
   25|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   26|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   27|      2|    string = &_Py_ID(AGEN_SUSPENDED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      2|    _PyUnicode_InternStatic(interp, &string);
   29|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   30|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   31|      2|    string = &_Py_ID(CANCELLED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      2|    _PyUnicode_InternStatic(interp, &string);
   33|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   34|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   35|      2|    string = &_Py_ID(CORO_CLOSED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      2|    _PyUnicode_InternStatic(interp, &string);
   37|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   38|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   39|      2|    string = &_Py_ID(CORO_CREATED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      2|    _PyUnicode_InternStatic(interp, &string);
   41|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   42|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   43|      2|    string = &_Py_ID(CORO_RUNNING);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   44|      2|    _PyUnicode_InternStatic(interp, &string);
   45|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   46|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   47|      2|    string = &_Py_ID(CORO_SUSPENDED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|      2|    _PyUnicode_InternStatic(interp, &string);
   49|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   50|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   51|      2|    string = &_Py_ID(Emax);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|      2|    _PyUnicode_InternStatic(interp, &string);
   53|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   54|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   55|      2|    string = &_Py_ID(Emin);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|      2|    _PyUnicode_InternStatic(interp, &string);
   57|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   58|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   59|      2|    string = &_Py_ID(FINISHED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      2|    _PyUnicode_InternStatic(interp, &string);
   61|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   62|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   63|      2|    string = &_Py_ID(False);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|      2|    _PyUnicode_InternStatic(interp, &string);
   65|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   66|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   67|      2|    string = &_Py_ID(GEN_CLOSED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      2|    _PyUnicode_InternStatic(interp, &string);
   69|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   70|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   71|      2|    string = &_Py_ID(GEN_CREATED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      2|    _PyUnicode_InternStatic(interp, &string);
   73|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   74|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   75|      2|    string = &_Py_ID(GEN_RUNNING);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|      2|    _PyUnicode_InternStatic(interp, &string);
   77|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   78|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   79|      2|    string = &_Py_ID(GEN_SUSPENDED);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      2|    _PyUnicode_InternStatic(interp, &string);
   81|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   82|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   83|      2|    string = &_Py_ID(JSONDecodeError);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      2|    _PyUnicode_InternStatic(interp, &string);
   85|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   86|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   87|      2|    string = &_Py_ID(PENDING);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      2|    _PyUnicode_InternStatic(interp, &string);
   89|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   90|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   91|      2|    string = &_Py_ID(Py_Repr);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      2|    _PyUnicode_InternStatic(interp, &string);
   93|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   94|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   95|      2|    string = &_Py_ID(TextIOWrapper);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      2|    _PyUnicode_InternStatic(interp, &string);
   97|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
   98|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
   99|      2|    string = &_Py_ID(True);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|      2|    _PyUnicode_InternStatic(interp, &string);
  101|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  103|      2|    string = &_Py_ID(WarningMessage);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|      2|    _PyUnicode_InternStatic(interp, &string);
  105|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  107|      2|    string = &_Py_ID(_WindowsConsoleIO);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|      2|    _PyUnicode_InternStatic(interp, &string);
  109|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  111|      2|    string = &_Py_ID(__IOBase_closed);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      2|    _PyUnicode_InternStatic(interp, &string);
  113|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  115|      2|    string = &_Py_ID(__abc_tpflags__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|      2|    _PyUnicode_InternStatic(interp, &string);
  117|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  119|      2|    string = &_Py_ID(__abs__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      2|    _PyUnicode_InternStatic(interp, &string);
  121|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  123|      2|    string = &_Py_ID(__abstractmethods__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|      2|    _PyUnicode_InternStatic(interp, &string);
  125|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  127|      2|    string = &_Py_ID(__add__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|      2|    _PyUnicode_InternStatic(interp, &string);
  129|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  131|      2|    string = &_Py_ID(__aenter__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      2|    _PyUnicode_InternStatic(interp, &string);
  133|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  135|      2|    string = &_Py_ID(__aexit__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|      2|    _PyUnicode_InternStatic(interp, &string);
  137|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  139|      2|    string = &_Py_ID(__aiter__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      2|    _PyUnicode_InternStatic(interp, &string);
  141|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  143|      2|    string = &_Py_ID(__all__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|      2|    _PyUnicode_InternStatic(interp, &string);
  145|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  147|      2|    string = &_Py_ID(__and__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|      2|    _PyUnicode_InternStatic(interp, &string);
  149|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  151|      2|    string = &_Py_ID(__anext__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|      2|    _PyUnicode_InternStatic(interp, &string);
  153|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  155|      2|    string = &_Py_ID(__annotate__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|      2|    _PyUnicode_InternStatic(interp, &string);
  157|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  159|      2|    string = &_Py_ID(__annotate_func__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  160|      2|    _PyUnicode_InternStatic(interp, &string);
  161|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  163|      2|    string = &_Py_ID(__annotations__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|      2|    _PyUnicode_InternStatic(interp, &string);
  165|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  167|      2|    string = &_Py_ID(__annotations_cache__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|      2|    _PyUnicode_InternStatic(interp, &string);
  169|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  171|      2|    string = &_Py_ID(__args__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      2|    _PyUnicode_InternStatic(interp, &string);
  173|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  175|      2|    string = &_Py_ID(__await__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|      2|    _PyUnicode_InternStatic(interp, &string);
  177|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  179|      2|    string = &_Py_ID(__bases__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      2|    _PyUnicode_InternStatic(interp, &string);
  181|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  183|      2|    string = &_Py_ID(__bool__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  184|      2|    _PyUnicode_InternStatic(interp, &string);
  185|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  187|      2|    string = &_Py_ID(__buffer__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|      2|    _PyUnicode_InternStatic(interp, &string);
  189|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  191|      2|    string = &_Py_ID(__build_class__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|      2|    _PyUnicode_InternStatic(interp, &string);
  193|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  195|      2|    string = &_Py_ID(__builtins__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|      2|    _PyUnicode_InternStatic(interp, &string);
  197|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  199|      2|    string = &_Py_ID(__bytes__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      2|    _PyUnicode_InternStatic(interp, &string);
  201|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  203|      2|    string = &_Py_ID(__call__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      2|    _PyUnicode_InternStatic(interp, &string);
  205|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  207|      2|    string = &_Py_ID(__cantrace__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      2|    _PyUnicode_InternStatic(interp, &string);
  209|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  211|      2|    string = &_Py_ID(__ceil__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      2|    _PyUnicode_InternStatic(interp, &string);
  213|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  215|      2|    string = &_Py_ID(__class__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|      2|    _PyUnicode_InternStatic(interp, &string);
  217|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  219|      2|    string = &_Py_ID(__class_getitem__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|      2|    _PyUnicode_InternStatic(interp, &string);
  221|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  223|      2|    string = &_Py_ID(__classcell__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      2|    _PyUnicode_InternStatic(interp, &string);
  225|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  227|      2|    string = &_Py_ID(__classdict__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  228|      2|    _PyUnicode_InternStatic(interp, &string);
  229|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  231|      2|    string = &_Py_ID(__classdictcell__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  232|      2|    _PyUnicode_InternStatic(interp, &string);
  233|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  235|      2|    string = &_Py_ID(__complex__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  236|      2|    _PyUnicode_InternStatic(interp, &string);
  237|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  239|      2|    string = &_Py_ID(__conditional_annotations__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|      2|    _PyUnicode_InternStatic(interp, &string);
  241|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  243|      2|    string = &_Py_ID(__contains__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      2|    _PyUnicode_InternStatic(interp, &string);
  245|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  247|      2|    string = &_Py_ID(__ctypes_from_outparam__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|      2|    _PyUnicode_InternStatic(interp, &string);
  249|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  251|      2|    string = &_Py_ID(__del__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  252|      2|    _PyUnicode_InternStatic(interp, &string);
  253|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  255|      2|    string = &_Py_ID(__delattr__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      2|    _PyUnicode_InternStatic(interp, &string);
  257|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  259|      2|    string = &_Py_ID(__delete__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      2|    _PyUnicode_InternStatic(interp, &string);
  261|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  263|      2|    string = &_Py_ID(__delitem__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|      2|    _PyUnicode_InternStatic(interp, &string);
  265|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  267|      2|    string = &_Py_ID(__dict__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|      2|    _PyUnicode_InternStatic(interp, &string);
  269|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  271|      2|    string = &_Py_ID(__dictoffset__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      2|    _PyUnicode_InternStatic(interp, &string);
  273|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  275|      2|    string = &_Py_ID(__dir__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|      2|    _PyUnicode_InternStatic(interp, &string);
  277|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  279|      2|    string = &_Py_ID(__divmod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  280|      2|    _PyUnicode_InternStatic(interp, &string);
  281|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  283|      2|    string = &_Py_ID(__doc__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      2|    _PyUnicode_InternStatic(interp, &string);
  285|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  287|      2|    string = &_Py_ID(__enter__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      2|    _PyUnicode_InternStatic(interp, &string);
  289|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  291|      2|    string = &_Py_ID(__eq__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  292|      2|    _PyUnicode_InternStatic(interp, &string);
  293|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  295|      2|    string = &_Py_ID(__exit__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      2|    _PyUnicode_InternStatic(interp, &string);
  297|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  299|      2|    string = &_Py_ID(__file__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|      2|    _PyUnicode_InternStatic(interp, &string);
  301|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  303|      2|    string = &_Py_ID(__firstlineno__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|      2|    _PyUnicode_InternStatic(interp, &string);
  305|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  307|      2|    string = &_Py_ID(__float__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      2|    _PyUnicode_InternStatic(interp, &string);
  309|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  311|      2|    string = &_Py_ID(__floor__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|      2|    _PyUnicode_InternStatic(interp, &string);
  313|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  315|      2|    string = &_Py_ID(__floordiv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|      2|    _PyUnicode_InternStatic(interp, &string);
  317|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  319|      2|    string = &_Py_ID(__format__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|      2|    _PyUnicode_InternStatic(interp, &string);
  321|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  323|      2|    string = &_Py_ID(__fspath__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|      2|    _PyUnicode_InternStatic(interp, &string);
  325|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  327|      2|    string = &_Py_ID(__ge__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      2|    _PyUnicode_InternStatic(interp, &string);
  329|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  331|      2|    string = &_Py_ID(__get__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      2|    _PyUnicode_InternStatic(interp, &string);
  333|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  335|      2|    string = &_Py_ID(__getattr__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  336|      2|    _PyUnicode_InternStatic(interp, &string);
  337|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  339|      2|    string = &_Py_ID(__getattribute__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  340|      2|    _PyUnicode_InternStatic(interp, &string);
  341|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  343|      2|    string = &_Py_ID(__getinitargs__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      2|    _PyUnicode_InternStatic(interp, &string);
  345|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  347|      2|    string = &_Py_ID(__getitem__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  348|      2|    _PyUnicode_InternStatic(interp, &string);
  349|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  351|      2|    string = &_Py_ID(__getnewargs__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      2|    _PyUnicode_InternStatic(interp, &string);
  353|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  355|      2|    string = &_Py_ID(__getnewargs_ex__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|      2|    _PyUnicode_InternStatic(interp, &string);
  357|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  359|      2|    string = &_Py_ID(__getstate__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  360|      2|    _PyUnicode_InternStatic(interp, &string);
  361|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  363|      2|    string = &_Py_ID(__gt__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|      2|    _PyUnicode_InternStatic(interp, &string);
  365|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  367|      2|    string = &_Py_ID(__hash__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|      2|    _PyUnicode_InternStatic(interp, &string);
  369|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  371|      2|    string = &_Py_ID(__iadd__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|      2|    _PyUnicode_InternStatic(interp, &string);
  373|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  375|      2|    string = &_Py_ID(__iand__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|      2|    _PyUnicode_InternStatic(interp, &string);
  377|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  379|      2|    string = &_Py_ID(__ifloordiv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|      2|    _PyUnicode_InternStatic(interp, &string);
  381|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  383|      2|    string = &_Py_ID(__ilshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|      2|    _PyUnicode_InternStatic(interp, &string);
  385|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  387|      2|    string = &_Py_ID(__imatmul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      2|    _PyUnicode_InternStatic(interp, &string);
  389|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  391|      2|    string = &_Py_ID(__imod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  392|      2|    _PyUnicode_InternStatic(interp, &string);
  393|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  395|      2|    string = &_Py_ID(__import__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|      2|    _PyUnicode_InternStatic(interp, &string);
  397|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  399|      2|    string = &_Py_ID(__imul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|      2|    _PyUnicode_InternStatic(interp, &string);
  401|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  403|      2|    string = &_Py_ID(__index__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      2|    _PyUnicode_InternStatic(interp, &string);
  405|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  407|      2|    string = &_Py_ID(__init__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|      2|    _PyUnicode_InternStatic(interp, &string);
  409|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  411|      2|    string = &_Py_ID(__init_subclass__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      2|    _PyUnicode_InternStatic(interp, &string);
  413|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  415|      2|    string = &_Py_ID(__instancecheck__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|      2|    _PyUnicode_InternStatic(interp, &string);
  417|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  419|      2|    string = &_Py_ID(__int__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|      2|    _PyUnicode_InternStatic(interp, &string);
  421|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  423|      2|    string = &_Py_ID(__invert__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      2|    _PyUnicode_InternStatic(interp, &string);
  425|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  427|      2|    string = &_Py_ID(__ior__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      2|    _PyUnicode_InternStatic(interp, &string);
  429|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  431|      2|    string = &_Py_ID(__ipow__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      2|    _PyUnicode_InternStatic(interp, &string);
  433|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  435|      2|    string = &_Py_ID(__irshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  436|      2|    _PyUnicode_InternStatic(interp, &string);
  437|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  439|      2|    string = &_Py_ID(__isabstractmethod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  440|      2|    _PyUnicode_InternStatic(interp, &string);
  441|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  443|      2|    string = &_Py_ID(__isub__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|      2|    _PyUnicode_InternStatic(interp, &string);
  445|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  447|      2|    string = &_Py_ID(__iter__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|      2|    _PyUnicode_InternStatic(interp, &string);
  449|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  451|      2|    string = &_Py_ID(__itruediv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      2|    _PyUnicode_InternStatic(interp, &string);
  453|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  455|      2|    string = &_Py_ID(__ixor__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      2|    _PyUnicode_InternStatic(interp, &string);
  457|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  459|      2|    string = &_Py_ID(__lazy_import__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|      2|    _PyUnicode_InternStatic(interp, &string);
  461|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  463|      2|    string = &_Py_ID(__lazy_modules__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|      2|    _PyUnicode_InternStatic(interp, &string);
  465|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  467|      2|    string = &_Py_ID(__le__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|      2|    _PyUnicode_InternStatic(interp, &string);
  469|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  471|      2|    string = &_Py_ID(__len__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|      2|    _PyUnicode_InternStatic(interp, &string);
  473|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  475|      2|    string = &_Py_ID(__length_hint__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      2|    _PyUnicode_InternStatic(interp, &string);
  477|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  479|      2|    string = &_Py_ID(__lltrace__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      2|    _PyUnicode_InternStatic(interp, &string);
  481|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  483|      2|    string = &_Py_ID(__loader__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|      2|    _PyUnicode_InternStatic(interp, &string);
  485|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  487|      2|    string = &_Py_ID(__lshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  488|      2|    _PyUnicode_InternStatic(interp, &string);
  489|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  491|      2|    string = &_Py_ID(__lt__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      2|    _PyUnicode_InternStatic(interp, &string);
  493|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  495|      2|    string = &_Py_ID(__main__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      2|    _PyUnicode_InternStatic(interp, &string);
  497|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  499|      2|    string = &_Py_ID(__match_args__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      2|    _PyUnicode_InternStatic(interp, &string);
  501|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  503|      2|    string = &_Py_ID(__matmul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|      2|    _PyUnicode_InternStatic(interp, &string);
  505|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  507|      2|    string = &_Py_ID(__missing__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|      2|    _PyUnicode_InternStatic(interp, &string);
  509|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  511|      2|    string = &_Py_ID(__mod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|      2|    _PyUnicode_InternStatic(interp, &string);
  513|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  515|      2|    string = &_Py_ID(__module__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|      2|    _PyUnicode_InternStatic(interp, &string);
  517|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  519|      2|    string = &_Py_ID(__mro_entries__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      2|    _PyUnicode_InternStatic(interp, &string);
  521|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  523|      2|    string = &_Py_ID(__mul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|      2|    _PyUnicode_InternStatic(interp, &string);
  525|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  527|      2|    string = &_Py_ID(__name__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|      2|    _PyUnicode_InternStatic(interp, &string);
  529|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  531|      2|    string = &_Py_ID(__ne__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      2|    _PyUnicode_InternStatic(interp, &string);
  533|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  535|      2|    string = &_Py_ID(__neg__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|      2|    _PyUnicode_InternStatic(interp, &string);
  537|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  539|      2|    string = &_Py_ID(__new__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|      2|    _PyUnicode_InternStatic(interp, &string);
  541|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  543|      2|    string = &_Py_ID(__newobj__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  544|      2|    _PyUnicode_InternStatic(interp, &string);
  545|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  547|      2|    string = &_Py_ID(__newobj_ex__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  548|      2|    _PyUnicode_InternStatic(interp, &string);
  549|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  551|      2|    string = &_Py_ID(__next__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|      2|    _PyUnicode_InternStatic(interp, &string);
  553|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  555|      2|    string = &_Py_ID(__notes__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|      2|    _PyUnicode_InternStatic(interp, &string);
  557|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  559|      2|    string = &_Py_ID(__or__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|      2|    _PyUnicode_InternStatic(interp, &string);
  561|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  563|      2|    string = &_Py_ID(__orig_class__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      2|    _PyUnicode_InternStatic(interp, &string);
  565|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  567|      2|    string = &_Py_ID(__origin__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|      2|    _PyUnicode_InternStatic(interp, &string);
  569|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  571|      2|    string = &_Py_ID(__package__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|      2|    _PyUnicode_InternStatic(interp, &string);
  573|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  575|      2|    string = &_Py_ID(__parameters__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|      2|    _PyUnicode_InternStatic(interp, &string);
  577|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  579|      2|    string = &_Py_ID(__path__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|      2|    _PyUnicode_InternStatic(interp, &string);
  581|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  583|      2|    string = &_Py_ID(__pos__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      2|    _PyUnicode_InternStatic(interp, &string);
  585|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  587|      2|    string = &_Py_ID(__pow__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      2|    _PyUnicode_InternStatic(interp, &string);
  589|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  591|      2|    string = &_Py_ID(__prepare__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|      2|    _PyUnicode_InternStatic(interp, &string);
  593|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  595|      2|    string = &_Py_ID(__qualname__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      2|    _PyUnicode_InternStatic(interp, &string);
  597|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  599|      2|    string = &_Py_ID(__radd__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|      2|    _PyUnicode_InternStatic(interp, &string);
  601|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  603|      2|    string = &_Py_ID(__rand__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  604|      2|    _PyUnicode_InternStatic(interp, &string);
  605|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  607|      2|    string = &_Py_ID(__rdivmod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    _PyUnicode_InternStatic(interp, &string);
  609|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  611|      2|    string = &_Py_ID(__reduce__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  612|      2|    _PyUnicode_InternStatic(interp, &string);
  613|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  615|      2|    string = &_Py_ID(__reduce_ex__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  616|      2|    _PyUnicode_InternStatic(interp, &string);
  617|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  619|      2|    string = &_Py_ID(__release_buffer__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      2|    _PyUnicode_InternStatic(interp, &string);
  621|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  623|      2|    string = &_Py_ID(__repr__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|      2|    _PyUnicode_InternStatic(interp, &string);
  625|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  627|      2|    string = &_Py_ID(__reversed__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  628|      2|    _PyUnicode_InternStatic(interp, &string);
  629|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  631|      2|    string = &_Py_ID(__rfloordiv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  632|      2|    _PyUnicode_InternStatic(interp, &string);
  633|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  635|      2|    string = &_Py_ID(__rlshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|      2|    _PyUnicode_InternStatic(interp, &string);
  637|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  639|      2|    string = &_Py_ID(__rmatmul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    _PyUnicode_InternStatic(interp, &string);
  641|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  643|      2|    string = &_Py_ID(__rmod__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|      2|    _PyUnicode_InternStatic(interp, &string);
  645|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  647|      2|    string = &_Py_ID(__rmul__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  648|      2|    _PyUnicode_InternStatic(interp, &string);
  649|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  651|      2|    string = &_Py_ID(__ror__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  652|      2|    _PyUnicode_InternStatic(interp, &string);
  653|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  655|      2|    string = &_Py_ID(__round__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  656|      2|    _PyUnicode_InternStatic(interp, &string);
  657|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  659|      2|    string = &_Py_ID(__rpow__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      2|    _PyUnicode_InternStatic(interp, &string);
  661|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  663|      2|    string = &_Py_ID(__rrshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|      2|    _PyUnicode_InternStatic(interp, &string);
  665|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  667|      2|    string = &_Py_ID(__rshift__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      2|    _PyUnicode_InternStatic(interp, &string);
  669|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  671|      2|    string = &_Py_ID(__rsub__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|      2|    _PyUnicode_InternStatic(interp, &string);
  673|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  675|      2|    string = &_Py_ID(__rtruediv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      2|    _PyUnicode_InternStatic(interp, &string);
  677|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  679|      2|    string = &_Py_ID(__rxor__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|      2|    _PyUnicode_InternStatic(interp, &string);
  681|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  683|      2|    string = &_Py_ID(__set__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|      2|    _PyUnicode_InternStatic(interp, &string);
  685|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  687|      2|    string = &_Py_ID(__set_name__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|      2|    _PyUnicode_InternStatic(interp, &string);
  689|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  691|      2|    string = &_Py_ID(__setattr__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  692|      2|    _PyUnicode_InternStatic(interp, &string);
  693|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  695|      2|    string = &_Py_ID(__setitem__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|      2|    _PyUnicode_InternStatic(interp, &string);
  697|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  699|      2|    string = &_Py_ID(__setstate__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|      2|    _PyUnicode_InternStatic(interp, &string);
  701|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  703|      2|    string = &_Py_ID(__sizeof__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|      2|    _PyUnicode_InternStatic(interp, &string);
  705|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  707|      2|    string = &_Py_ID(__slotnames__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|      2|    _PyUnicode_InternStatic(interp, &string);
  709|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  711|      2|    string = &_Py_ID(__slots__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|      2|    _PyUnicode_InternStatic(interp, &string);
  713|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  715|      2|    string = &_Py_ID(__spec__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|      2|    _PyUnicode_InternStatic(interp, &string);
  717|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  719|      2|    string = &_Py_ID(__static_attributes__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|      2|    _PyUnicode_InternStatic(interp, &string);
  721|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  723|      2|    string = &_Py_ID(__str__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|      2|    _PyUnicode_InternStatic(interp, &string);
  725|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  727|      2|    string = &_Py_ID(__sub__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|      2|    _PyUnicode_InternStatic(interp, &string);
  729|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  731|      2|    string = &_Py_ID(__subclasscheck__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      2|    _PyUnicode_InternStatic(interp, &string);
  733|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  735|      2|    string = &_Py_ID(__subclasshook__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      2|    _PyUnicode_InternStatic(interp, &string);
  737|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  739|      2|    string = &_Py_ID(__truediv__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  740|      2|    _PyUnicode_InternStatic(interp, &string);
  741|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  743|      2|    string = &_Py_ID(__trunc__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|      2|    _PyUnicode_InternStatic(interp, &string);
  745|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  747|      2|    string = &_Py_ID(__type_params__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|      2|    _PyUnicode_InternStatic(interp, &string);
  749|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  751|      2|    string = &_Py_ID(__typing_is_unpacked_typevartuple__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|      2|    _PyUnicode_InternStatic(interp, &string);
  753|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  755|      2|    string = &_Py_ID(__typing_prepare_subst__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|      2|    _PyUnicode_InternStatic(interp, &string);
  757|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  759|      2|    string = &_Py_ID(__typing_subst__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|      2|    _PyUnicode_InternStatic(interp, &string);
  761|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  763|      2|    string = &_Py_ID(__typing_unpacked_tuple_args__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  764|      2|    _PyUnicode_InternStatic(interp, &string);
  765|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  767|      2|    string = &_Py_ID(__warningregistry__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|      2|    _PyUnicode_InternStatic(interp, &string);
  769|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  771|      2|    string = &_Py_ID(__weaklistoffset__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  772|      2|    _PyUnicode_InternStatic(interp, &string);
  773|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  775|      2|    string = &_Py_ID(__weakref__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      2|    _PyUnicode_InternStatic(interp, &string);
  777|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  779|      2|    string = &_Py_ID(__xor__);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  780|      2|    _PyUnicode_InternStatic(interp, &string);
  781|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  783|      2|    string = &_Py_ID(_abc_impl);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|      2|    _PyUnicode_InternStatic(interp, &string);
  785|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  787|      2|    string = &_Py_ID(_abstract_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  788|      2|    _PyUnicode_InternStatic(interp, &string);
  789|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  791|      2|    string = &_Py_ID(_active);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|      2|    _PyUnicode_InternStatic(interp, &string);
  793|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  795|      2|    string = &_Py_ID(_anonymous_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|      2|    _PyUnicode_InternStatic(interp, &string);
  797|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  799|      2|    string = &_Py_ID(_argtypes_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|      2|    _PyUnicode_InternStatic(interp, &string);
  801|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  803|      2|    string = &_Py_ID(_as_parameter_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  804|      2|    _PyUnicode_InternStatic(interp, &string);
  805|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  807|      2|    string = &_Py_ID(_asyncio_future_blocking);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|      2|    _PyUnicode_InternStatic(interp, &string);
  809|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  811|      2|    string = &_Py_ID(_blksize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  812|      2|    _PyUnicode_InternStatic(interp, &string);
  813|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  815|      2|    string = &_Py_ID(_bootstrap);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|      2|    _PyUnicode_InternStatic(interp, &string);
  817|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  819|      2|    string = &_Py_ID(_check_retval_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  820|      2|    _PyUnicode_InternStatic(interp, &string);
  821|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  823|      2|    string = &_Py_ID(_dealloc_warn);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|      2|    _PyUnicode_InternStatic(interp, &string);
  825|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  827|      2|    string = &_Py_ID(_feature_version);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|      2|    _PyUnicode_InternStatic(interp, &string);
  829|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  831|      2|    string = &_Py_ID(_field_types);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|      2|    _PyUnicode_InternStatic(interp, &string);
  833|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  835|      2|    string = &_Py_ID(_fields_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|      2|    _PyUnicode_InternStatic(interp, &string);
  837|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  839|      2|    string = &_Py_ID(_filters);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|      2|    _PyUnicode_InternStatic(interp, &string);
  841|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  843|      2|    string = &_Py_ID(_finalizing);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|      2|    _PyUnicode_InternStatic(interp, &string);
  845|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  847|      2|    string = &_Py_ID(_find_and_load);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|      2|    _PyUnicode_InternStatic(interp, &string);
  849|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  851|      2|    string = &_Py_ID(_fix_up_module);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|      2|    _PyUnicode_InternStatic(interp, &string);
  853|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  855|      2|    string = &_Py_ID(_flags_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|      2|    _PyUnicode_InternStatic(interp, &string);
  857|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  859|      2|    string = &_Py_ID(_get_sourcefile);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|      2|    _PyUnicode_InternStatic(interp, &string);
  861|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  863|      2|    string = &_Py_ID(_handle_fromlist);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      2|    _PyUnicode_InternStatic(interp, &string);
  865|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  867|      2|    string = &_Py_ID(_initializing);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  868|      2|    _PyUnicode_InternStatic(interp, &string);
  869|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  871|      2|    string = &_Py_ID(_internal_use);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|      2|    _PyUnicode_InternStatic(interp, &string);
  873|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  875|      2|    string = &_Py_ID(_io);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  876|      2|    _PyUnicode_InternStatic(interp, &string);
  877|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  879|      2|    string = &_Py_ID(_is_text_encoding);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  880|      2|    _PyUnicode_InternStatic(interp, &string);
  881|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  883|      2|    string = &_Py_ID(_isatty_open_only);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|      2|    _PyUnicode_InternStatic(interp, &string);
  885|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  887|      2|    string = &_Py_ID(_length_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|      2|    _PyUnicode_InternStatic(interp, &string);
  889|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  891|      2|    string = &_Py_ID(_limbo);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      2|    _PyUnicode_InternStatic(interp, &string);
  893|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  895|      2|    string = &_Py_ID(_lock_unlock_module);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|      2|    _PyUnicode_InternStatic(interp, &string);
  897|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  899|      2|    string = &_Py_ID(_loop);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|      2|    _PyUnicode_InternStatic(interp, &string);
  901|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  903|      2|    string = &_Py_ID(_needs_com_addref_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|      2|    _PyUnicode_InternStatic(interp, &string);
  905|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  907|      2|    string = &_Py_ID(_only_immortal);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|      2|    _PyUnicode_InternStatic(interp, &string);
  909|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  911|      2|    string = &_Py_ID(_restype_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|      2|    _PyUnicode_InternStatic(interp, &string);
  913|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  915|      2|    string = &_Py_ID(_showwarnmsg);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|      2|    _PyUnicode_InternStatic(interp, &string);
  917|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  919|      2|    string = &_Py_ID(_shutdown);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      2|    _PyUnicode_InternStatic(interp, &string);
  921|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  923|      2|    string = &_Py_ID(_slotnames);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|      2|    _PyUnicode_InternStatic(interp, &string);
  925|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  927|      2|    string = &_Py_ID(_strptime);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|      2|    _PyUnicode_InternStatic(interp, &string);
  929|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  931|      2|    string = &_Py_ID(_strptime_datetime_date);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  932|      2|    _PyUnicode_InternStatic(interp, &string);
  933|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  935|      2|    string = &_Py_ID(_strptime_datetime_datetime);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|      2|    _PyUnicode_InternStatic(interp, &string);
  937|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  939|      2|    string = &_Py_ID(_strptime_datetime_time);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  940|      2|    _PyUnicode_InternStatic(interp, &string);
  941|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  943|      2|    string = &_Py_ID(_type_);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|      2|    _PyUnicode_InternStatic(interp, &string);
  945|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  947|      2|    string = &_Py_ID(_uninitialized_submodules);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  948|      2|    _PyUnicode_InternStatic(interp, &string);
  949|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  951|      2|    string = &_Py_ID(_warn_unawaited_coroutine);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  952|      2|    _PyUnicode_InternStatic(interp, &string);
  953|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  955|      2|    string = &_Py_ID(_xoptions);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  956|      2|    _PyUnicode_InternStatic(interp, &string);
  957|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  959|      2|    string = &_Py_ID(abs_tol);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  960|      2|    _PyUnicode_InternStatic(interp, &string);
  961|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  963|      2|    string = &_Py_ID(access);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  964|      2|    _PyUnicode_InternStatic(interp, &string);
  965|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  967|      2|    string = &_Py_ID(aclose);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  968|      2|    _PyUnicode_InternStatic(interp, &string);
  969|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  971|      2|    string = &_Py_ID(add);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  972|      2|    _PyUnicode_InternStatic(interp, &string);
  973|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  975|      2|    string = &_Py_ID(add_done_callback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  976|      2|    _PyUnicode_InternStatic(interp, &string);
  977|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  979|      2|    string = &_Py_ID(adobe);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|      2|    _PyUnicode_InternStatic(interp, &string);
  981|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  983|      2|    string = &_Py_ID(after_in_child);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  984|      2|    _PyUnicode_InternStatic(interp, &string);
  985|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  987|      2|    string = &_Py_ID(after_in_parent);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|      2|    _PyUnicode_InternStatic(interp, &string);
  989|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  991|      2|    string = &_Py_ID(alias);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|      2|    _PyUnicode_InternStatic(interp, &string);
  993|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  995|      2|    string = &_Py_ID(align);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  996|      2|    _PyUnicode_InternStatic(interp, &string);
  997|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  999|      2|    string = &_Py_ID(all);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1000|      2|    _PyUnicode_InternStatic(interp, &string);
 1001|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1003|      2|    string = &_Py_ID(all_interpreters);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|      2|    _PyUnicode_InternStatic(interp, &string);
 1005|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1007|      2|    string = &_Py_ID(all_threads);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1008|      2|    _PyUnicode_InternStatic(interp, &string);
 1009|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1011|      2|    string = &_Py_ID(allow_code);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1012|      2|    _PyUnicode_InternStatic(interp, &string);
 1013|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1015|      2|    string = &_Py_ID(alphabet);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      2|    _PyUnicode_InternStatic(interp, &string);
 1017|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1019|      2|    string = &_Py_ID(any);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|      2|    _PyUnicode_InternStatic(interp, &string);
 1021|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1023|      2|    string = &_Py_ID(append);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1024|      2|    _PyUnicode_InternStatic(interp, &string);
 1025|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1027|      2|    string = &_Py_ID(arg);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|      2|    _PyUnicode_InternStatic(interp, &string);
 1029|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1031|      2|    string = &_Py_ID(argdefs);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      2|    _PyUnicode_InternStatic(interp, &string);
 1033|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1035|      2|    string = &_Py_ID(args);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|      2|    _PyUnicode_InternStatic(interp, &string);
 1037|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1039|      2|    string = &_Py_ID(arguments);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|      2|    _PyUnicode_InternStatic(interp, &string);
 1041|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1043|      2|    string = &_Py_ID(argv);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      2|    _PyUnicode_InternStatic(interp, &string);
 1045|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1047|      2|    string = &_Py_ID(as_integer_ratio);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      2|    _PyUnicode_InternStatic(interp, &string);
 1049|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1051|      2|    string = &_Py_ID(asend);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|      2|    _PyUnicode_InternStatic(interp, &string);
 1053|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1055|      2|    string = &_Py_ID(ast);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|      2|    _PyUnicode_InternStatic(interp, &string);
 1057|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1059|      2|    string = &_Py_ID(athrow);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      2|    _PyUnicode_InternStatic(interp, &string);
 1061|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1063|      2|    string = &_Py_ID(attribute);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      2|    _PyUnicode_InternStatic(interp, &string);
 1065|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1067|      2|    string = &_Py_ID(autocommit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      2|    _PyUnicode_InternStatic(interp, &string);
 1069|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1071|      2|    string = &_Py_ID(backtick);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      2|    _PyUnicode_InternStatic(interp, &string);
 1073|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1075|      2|    string = &_Py_ID(base);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      2|    _PyUnicode_InternStatic(interp, &string);
 1077|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1079|      2|    string = &_Py_ID(before);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1080|      2|    _PyUnicode_InternStatic(interp, &string);
 1081|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1083|      2|    string = &_Py_ID(big);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      2|    _PyUnicode_InternStatic(interp, &string);
 1085|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1087|      2|    string = &_Py_ID(binary_form);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      2|    _PyUnicode_InternStatic(interp, &string);
 1089|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1091|      2|    string = &_Py_ID(bit_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      2|    _PyUnicode_InternStatic(interp, &string);
 1093|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1095|      2|    string = &_Py_ID(bit_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      2|    _PyUnicode_InternStatic(interp, &string);
 1097|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1099|      2|    string = &_Py_ID(block);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|      2|    _PyUnicode_InternStatic(interp, &string);
 1101|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1103|      2|    string = &_Py_ID(blocking);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|      2|    _PyUnicode_InternStatic(interp, &string);
 1105|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1107|      2|    string = &_Py_ID(bound);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|      2|    _PyUnicode_InternStatic(interp, &string);
 1109|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1111|      2|    string = &_Py_ID(buffer);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|      2|    _PyUnicode_InternStatic(interp, &string);
 1113|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1115|      2|    string = &_Py_ID(buffer_callback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1116|      2|    _PyUnicode_InternStatic(interp, &string);
 1117|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1119|      2|    string = &_Py_ID(buffer_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1120|      2|    _PyUnicode_InternStatic(interp, &string);
 1121|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1123|      2|    string = &_Py_ID(buffering);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|      2|    _PyUnicode_InternStatic(interp, &string);
 1125|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1127|      2|    string = &_Py_ID(buffers);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      2|    _PyUnicode_InternStatic(interp, &string);
 1129|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1131|      2|    string = &_Py_ID(bufsize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|      2|    _PyUnicode_InternStatic(interp, &string);
 1133|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1135|      2|    string = &_Py_ID(builtins);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      2|    _PyUnicode_InternStatic(interp, &string);
 1137|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1139|      2|    string = &_Py_ID(byte_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|      2|    _PyUnicode_InternStatic(interp, &string);
 1141|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1143|      2|    string = &_Py_ID(byte_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      2|    _PyUnicode_InternStatic(interp, &string);
 1145|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1147|      2|    string = &_Py_ID(byteorder);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|      2|    _PyUnicode_InternStatic(interp, &string);
 1149|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1151|      2|    string = &_Py_ID(bytes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|      2|    _PyUnicode_InternStatic(interp, &string);
 1153|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1155|      2|    string = &_Py_ID(bytes_per_sep);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|      2|    _PyUnicode_InternStatic(interp, &string);
 1157|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1159|      2|    string = &_Py_ID(c_call);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|      2|    _PyUnicode_InternStatic(interp, &string);
 1161|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1163|      2|    string = &_Py_ID(c_exception);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1164|      2|    _PyUnicode_InternStatic(interp, &string);
 1165|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1167|      2|    string = &_Py_ID(c_parameter_type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|      2|    _PyUnicode_InternStatic(interp, &string);
 1169|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1171|      2|    string = &_Py_ID(c_return);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|      2|    _PyUnicode_InternStatic(interp, &string);
 1173|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1175|      2|    string = &_Py_ID(c_stack);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|      2|    _PyUnicode_InternStatic(interp, &string);
 1177|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1179|      2|    string = &_Py_ID(cache_frames);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1180|      2|    _PyUnicode_InternStatic(interp, &string);
 1181|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1183|      2|    string = &_Py_ID(cached_datetime_module);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      2|    _PyUnicode_InternStatic(interp, &string);
 1185|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1187|      2|    string = &_Py_ID(cached_statements);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|      2|    _PyUnicode_InternStatic(interp, &string);
 1189|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1191|      2|    string = &_Py_ID(cadata);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|      2|    _PyUnicode_InternStatic(interp, &string);
 1193|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1195|      2|    string = &_Py_ID(cafile);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1196|      2|    _PyUnicode_InternStatic(interp, &string);
 1197|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1199|      2|    string = &_Py_ID(call);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|      2|    _PyUnicode_InternStatic(interp, &string);
 1201|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1203|      2|    string = &_Py_ID(call_exception_handler);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1204|      2|    _PyUnicode_InternStatic(interp, &string);
 1205|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1207|      2|    string = &_Py_ID(call_soon);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1208|      2|    _PyUnicode_InternStatic(interp, &string);
 1209|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1211|      2|    string = &_Py_ID(callable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|      2|    _PyUnicode_InternStatic(interp, &string);
 1213|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1215|      2|    string = &_Py_ID(callback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|      2|    _PyUnicode_InternStatic(interp, &string);
 1217|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1219|      2|    string = &_Py_ID(cancel);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|      2|    _PyUnicode_InternStatic(interp, &string);
 1221|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1223|      2|    string = &_Py_ID(canonical);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      2|    _PyUnicode_InternStatic(interp, &string);
 1225|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1227|      2|    string = &_Py_ID(capath);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|      2|    _PyUnicode_InternStatic(interp, &string);
 1229|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1231|      2|    string = &_Py_ID(capitals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|      2|    _PyUnicode_InternStatic(interp, &string);
 1233|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1235|      2|    string = &_Py_ID(category);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      2|    _PyUnicode_InternStatic(interp, &string);
 1237|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1239|      2|    string = &_Py_ID(cb_type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|      2|    _PyUnicode_InternStatic(interp, &string);
 1241|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1243|      2|    string = &_Py_ID(certfile);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|      2|    _PyUnicode_InternStatic(interp, &string);
 1245|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1247|      2|    string = &_Py_ID(chain);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1248|      2|    _PyUnicode_InternStatic(interp, &string);
 1249|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1251|      2|    string = &_Py_ID(check_same_thread);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1252|      2|    _PyUnicode_InternStatic(interp, &string);
 1253|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1255|      2|    string = &_Py_ID(clamp);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1256|      2|    _PyUnicode_InternStatic(interp, &string);
 1257|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1259|      2|    string = &_Py_ID(clear);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1260|      2|    _PyUnicode_InternStatic(interp, &string);
 1261|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1263|      2|    string = &_Py_ID(close);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|      2|    _PyUnicode_InternStatic(interp, &string);
 1265|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1267|      2|    string = &_Py_ID(closed);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|      2|    _PyUnicode_InternStatic(interp, &string);
 1269|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1271|      2|    string = &_Py_ID(closefd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      2|    _PyUnicode_InternStatic(interp, &string);
 1273|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1275|      2|    string = &_Py_ID(closure);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|      2|    _PyUnicode_InternStatic(interp, &string);
 1277|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1279|      2|    string = &_Py_ID(co_argcount);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      2|    _PyUnicode_InternStatic(interp, &string);
 1281|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1283|      2|    string = &_Py_ID(co_cellvars);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|      2|    _PyUnicode_InternStatic(interp, &string);
 1285|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1287|      2|    string = &_Py_ID(co_code);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|      2|    _PyUnicode_InternStatic(interp, &string);
 1289|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1291|      2|    string = &_Py_ID(co_consts);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|      2|    _PyUnicode_InternStatic(interp, &string);
 1293|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1295|      2|    string = &_Py_ID(co_exceptiontable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|      2|    _PyUnicode_InternStatic(interp, &string);
 1297|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1299|      2|    string = &_Py_ID(co_filename);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|      2|    _PyUnicode_InternStatic(interp, &string);
 1301|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1303|      2|    string = &_Py_ID(co_firstlineno);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      2|    _PyUnicode_InternStatic(interp, &string);
 1305|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1307|      2|    string = &_Py_ID(co_flags);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|      2|    _PyUnicode_InternStatic(interp, &string);
 1309|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1311|      2|    string = &_Py_ID(co_freevars);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1312|      2|    _PyUnicode_InternStatic(interp, &string);
 1313|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1315|      2|    string = &_Py_ID(co_kwonlyargcount);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|      2|    _PyUnicode_InternStatic(interp, &string);
 1317|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1319|      2|    string = &_Py_ID(co_linetable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      2|    _PyUnicode_InternStatic(interp, &string);
 1321|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1323|      2|    string = &_Py_ID(co_name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      2|    _PyUnicode_InternStatic(interp, &string);
 1325|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1327|      2|    string = &_Py_ID(co_names);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      2|    _PyUnicode_InternStatic(interp, &string);
 1329|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1331|      2|    string = &_Py_ID(co_nlocals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1332|      2|    _PyUnicode_InternStatic(interp, &string);
 1333|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1335|      2|    string = &_Py_ID(co_posonlyargcount);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|      2|    _PyUnicode_InternStatic(interp, &string);
 1337|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1339|      2|    string = &_Py_ID(co_qualname);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|      2|    _PyUnicode_InternStatic(interp, &string);
 1341|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1343|      2|    string = &_Py_ID(co_stacksize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      2|    _PyUnicode_InternStatic(interp, &string);
 1345|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1347|      2|    string = &_Py_ID(co_varnames);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      2|    _PyUnicode_InternStatic(interp, &string);
 1349|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1351|      2|    string = &_Py_ID(code);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      2|    _PyUnicode_InternStatic(interp, &string);
 1353|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1355|      2|    string = &_Py_ID(col_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|      2|    _PyUnicode_InternStatic(interp, &string);
 1357|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1359|      2|    string = &_Py_ID(collector);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|      2|    _PyUnicode_InternStatic(interp, &string);
 1361|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1363|      2|    string = &_Py_ID(command);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|      2|    _PyUnicode_InternStatic(interp, &string);
 1365|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1367|      2|    string = &_Py_ID(comment_factory);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      2|    _PyUnicode_InternStatic(interp, &string);
 1369|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1371|      2|    string = &_Py_ID(compile_mode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|      2|    _PyUnicode_InternStatic(interp, &string);
 1373|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1375|      2|    string = &_Py_ID(compression);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|      2|    _PyUnicode_InternStatic(interp, &string);
 1377|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1379|      2|    string = &_Py_ID(config);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|      2|    _PyUnicode_InternStatic(interp, &string);
 1381|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1383|      2|    string = &_Py_ID(consts);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|      2|    _PyUnicode_InternStatic(interp, &string);
 1385|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1387|      2|    string = &_Py_ID(context);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|      2|    _PyUnicode_InternStatic(interp, &string);
 1389|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1391|      2|    string = &_Py_ID(contravariant);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1392|      2|    _PyUnicode_InternStatic(interp, &string);
 1393|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1395|      2|    string = &_Py_ID(conversion);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|      2|    _PyUnicode_InternStatic(interp, &string);
 1397|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1399|      2|    string = &_Py_ID(cookie);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      2|    _PyUnicode_InternStatic(interp, &string);
 1401|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1403|      2|    string = &_Py_ID(copy);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      2|    _PyUnicode_InternStatic(interp, &string);
 1405|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1407|      2|    string = &_Py_ID(copyreg);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|      2|    _PyUnicode_InternStatic(interp, &string);
 1409|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1411|      2|    string = &_Py_ID(coro);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1412|      2|    _PyUnicode_InternStatic(interp, &string);
 1413|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1415|      2|    string = &_Py_ID(count);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1416|      2|    _PyUnicode_InternStatic(interp, &string);
 1417|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1419|      2|    string = &_Py_ID(covariant);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      2|    _PyUnicode_InternStatic(interp, &string);
 1421|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1423|      2|    string = &_Py_ID(ctx);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      2|    _PyUnicode_InternStatic(interp, &string);
 1425|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1427|      2|    string = &_Py_ID(cwd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      2|    _PyUnicode_InternStatic(interp, &string);
 1429|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1431|      2|    string = &_Py_ID(d_parameter_type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|      2|    _PyUnicode_InternStatic(interp, &string);
 1433|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1435|      2|    string = &_Py_ID(data);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1436|      2|    _PyUnicode_InternStatic(interp, &string);
 1437|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1439|      2|    string = &_Py_ID(database);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1440|      2|    _PyUnicode_InternStatic(interp, &string);
 1441|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1443|      2|    string = &_Py_ID(date);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1444|      2|    _PyUnicode_InternStatic(interp, &string);
 1445|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1447|      2|    string = &_Py_ID(day);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1448|      2|    _PyUnicode_InternStatic(interp, &string);
 1449|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1451|      2|    string = &_Py_ID(days);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      2|    _PyUnicode_InternStatic(interp, &string);
 1453|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1455|      2|    string = &_Py_ID(debug);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1456|      2|    _PyUnicode_InternStatic(interp, &string);
 1457|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1459|      2|    string = &_Py_ID(decode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1460|      2|    _PyUnicode_InternStatic(interp, &string);
 1461|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1463|      2|    string = &_Py_ID(decoder);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1464|      2|    _PyUnicode_InternStatic(interp, &string);
 1465|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1467|      2|    string = &_Py_ID(default);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|      2|    _PyUnicode_InternStatic(interp, &string);
 1469|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1471|      2|    string = &_Py_ID(defaultaction);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|      2|    _PyUnicode_InternStatic(interp, &string);
 1473|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1475|      2|    string = &_Py_ID(delete);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      2|    _PyUnicode_InternStatic(interp, &string);
 1477|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1479|      2|    string = &_Py_ID(depth);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1480|      2|    _PyUnicode_InternStatic(interp, &string);
 1481|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1483|      2|    string = &_Py_ID(desired_access);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|      2|    _PyUnicode_InternStatic(interp, &string);
 1485|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1487|      2|    string = &_Py_ID(detect_types);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1488|      2|    _PyUnicode_InternStatic(interp, &string);
 1489|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1491|      2|    string = &_Py_ID(deterministic);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1492|      2|    _PyUnicode_InternStatic(interp, &string);
 1493|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1495|      2|    string = &_Py_ID(device);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1496|      2|    _PyUnicode_InternStatic(interp, &string);
 1497|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1499|      2|    string = &_Py_ID(dict);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|      2|    _PyUnicode_InternStatic(interp, &string);
 1501|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1503|      2|    string = &_Py_ID(difference_update);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|      2|    _PyUnicode_InternStatic(interp, &string);
 1505|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1507|      2|    string = &_Py_ID(digest);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1508|      2|    _PyUnicode_InternStatic(interp, &string);
 1509|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1511|      2|    string = &_Py_ID(digest_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1512|      2|    _PyUnicode_InternStatic(interp, &string);
 1513|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1515|      2|    string = &_Py_ID(digestmod);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1516|      2|    _PyUnicode_InternStatic(interp, &string);
 1517|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1519|      2|    string = &_Py_ID(dir_fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1520|      2|    _PyUnicode_InternStatic(interp, &string);
 1521|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1523|      2|    string = &_Py_ID(discard);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|      2|    _PyUnicode_InternStatic(interp, &string);
 1525|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1527|      2|    string = &_Py_ID(dispatch_table);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|      2|    _PyUnicode_InternStatic(interp, &string);
 1529|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1531|      2|    string = &_Py_ID(displayhook);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|      2|    _PyUnicode_InternStatic(interp, &string);
 1533|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1535|      2|    string = &_Py_ID(dklen);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|      2|    _PyUnicode_InternStatic(interp, &string);
 1537|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1539|      2|    string = &_Py_ID(doc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|      2|    _PyUnicode_InternStatic(interp, &string);
 1541|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1543|      2|    string = &_Py_ID(done);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      2|    _PyUnicode_InternStatic(interp, &string);
 1545|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1547|      2|    string = &_Py_ID(dont_inherit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      2|    _PyUnicode_InternStatic(interp, &string);
 1549|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1551|      2|    string = &_Py_ID(dst);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      2|    _PyUnicode_InternStatic(interp, &string);
 1553|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1555|      2|    string = &_Py_ID(dst_dir_fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      2|    _PyUnicode_InternStatic(interp, &string);
 1557|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1559|      2|    string = &_Py_ID(eager_start);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|      2|    _PyUnicode_InternStatic(interp, &string);
 1561|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1563|      2|    string = &_Py_ID(effective_ids);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|      2|    _PyUnicode_InternStatic(interp, &string);
 1565|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1567|      2|    string = &_Py_ID(element_factory);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1568|      2|    _PyUnicode_InternStatic(interp, &string);
 1569|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1571|      2|    string = &_Py_ID(emptyerror);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1572|      2|    _PyUnicode_InternStatic(interp, &string);
 1573|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1575|      2|    string = &_Py_ID(encode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      2|    _PyUnicode_InternStatic(interp, &string);
 1577|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1579|      2|    string = &_Py_ID(encoding);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|      2|    _PyUnicode_InternStatic(interp, &string);
 1581|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1583|      2|    string = &_Py_ID(end);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      2|    _PyUnicode_InternStatic(interp, &string);
 1585|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1587|      2|    string = &_Py_ID(end_col_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1588|      2|    _PyUnicode_InternStatic(interp, &string);
 1589|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1591|      2|    string = &_Py_ID(end_lineno);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      2|    _PyUnicode_InternStatic(interp, &string);
 1593|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1595|      2|    string = &_Py_ID(end_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      2|    _PyUnicode_InternStatic(interp, &string);
 1597|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1599|      2|    string = &_Py_ID(endpos);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|      2|    _PyUnicode_InternStatic(interp, &string);
 1601|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1603|      2|    string = &_Py_ID(entrypoint);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|      2|    _PyUnicode_InternStatic(interp, &string);
 1605|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1607|      2|    string = &_Py_ID(env);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      2|    _PyUnicode_InternStatic(interp, &string);
 1609|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1611|      2|    string = &_Py_ID(errors);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      2|    _PyUnicode_InternStatic(interp, &string);
 1613|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1615|      2|    string = &_Py_ID(event);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      2|    _PyUnicode_InternStatic(interp, &string);
 1617|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1619|      2|    string = &_Py_ID(eventmask);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1620|      2|    _PyUnicode_InternStatic(interp, &string);
 1621|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1623|      2|    string = &_Py_ID(exc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|      2|    _PyUnicode_InternStatic(interp, &string);
 1625|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1627|      2|    string = &_Py_ID(exc_tb);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|      2|    _PyUnicode_InternStatic(interp, &string);
 1629|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1631|      2|    string = &_Py_ID(exc_type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|      2|    _PyUnicode_InternStatic(interp, &string);
 1633|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1635|      2|    string = &_Py_ID(exc_val);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1636|      2|    _PyUnicode_InternStatic(interp, &string);
 1637|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1639|      2|    string = &_Py_ID(exc_value);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|      2|    _PyUnicode_InternStatic(interp, &string);
 1641|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1643|      2|    string = &_Py_ID(excepthook);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1644|      2|    _PyUnicode_InternStatic(interp, &string);
 1645|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1647|      2|    string = &_Py_ID(exception);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|      2|    _PyUnicode_InternStatic(interp, &string);
 1649|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1651|      2|    string = &_Py_ID(existing_file_name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|      2|    _PyUnicode_InternStatic(interp, &string);
 1653|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1655|      2|    string = &_Py_ID(exit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      2|    _PyUnicode_InternStatic(interp, &string);
 1657|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1659|      2|    string = &_Py_ID(exp);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      2|    _PyUnicode_InternStatic(interp, &string);
 1661|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1663|      2|    string = &_Py_ID(expression);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|      2|    _PyUnicode_InternStatic(interp, &string);
 1665|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1667|      2|    string = &_Py_ID(extend);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      2|    _PyUnicode_InternStatic(interp, &string);
 1669|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1671|      2|    string = &_Py_ID(extra_tokens);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|      2|    _PyUnicode_InternStatic(interp, &string);
 1673|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1675|      2|    string = &_Py_ID(facility);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1676|      2|    _PyUnicode_InternStatic(interp, &string);
 1677|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1679|      2|    string = &_Py_ID(factory);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|      2|    _PyUnicode_InternStatic(interp, &string);
 1681|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1683|      2|    string = &_Py_ID(fallback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      2|    _PyUnicode_InternStatic(interp, &string);
 1685|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1687|      2|    string = &_Py_ID(false);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      2|    _PyUnicode_InternStatic(interp, &string);
 1689|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1691|      2|    string = &_Py_ID(family);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|      2|    _PyUnicode_InternStatic(interp, &string);
 1693|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1695|      2|    string = &_Py_ID(fanout);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|      2|    _PyUnicode_InternStatic(interp, &string);
 1697|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1699|      2|    string = &_Py_ID(fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|      2|    _PyUnicode_InternStatic(interp, &string);
 1701|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1703|      2|    string = &_Py_ID(fd2);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|      2|    _PyUnicode_InternStatic(interp, &string);
 1705|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1707|      2|    string = &_Py_ID(fdel);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      2|    _PyUnicode_InternStatic(interp, &string);
 1709|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1711|      2|    string = &_Py_ID(fget);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      2|    _PyUnicode_InternStatic(interp, &string);
 1713|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1715|      2|    string = &_Py_ID(fields);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|      2|    _PyUnicode_InternStatic(interp, &string);
 1717|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1719|      2|    string = &_Py_ID(file);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1720|      2|    _PyUnicode_InternStatic(interp, &string);
 1721|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1723|      2|    string = &_Py_ID(file_actions);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|      2|    _PyUnicode_InternStatic(interp, &string);
 1725|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1727|      2|    string = &_Py_ID(filename);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|      2|    _PyUnicode_InternStatic(interp, &string);
 1729|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1731|      2|    string = &_Py_ID(fileno);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1732|      2|    _PyUnicode_InternStatic(interp, &string);
 1733|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1735|      2|    string = &_Py_ID(filepath);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|      2|    _PyUnicode_InternStatic(interp, &string);
 1737|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1739|      2|    string = &_Py_ID(fillvalue);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1740|      2|    _PyUnicode_InternStatic(interp, &string);
 1741|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1743|      2|    string = &_Py_ID(filter);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|      2|    _PyUnicode_InternStatic(interp, &string);
 1745|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1747|      2|    string = &_Py_ID(filters);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1748|      2|    _PyUnicode_InternStatic(interp, &string);
 1749|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1751|      2|    string = &_Py_ID(final);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|      2|    _PyUnicode_InternStatic(interp, &string);
 1753|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1755|      2|    string = &_Py_ID(find_class);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|      2|    _PyUnicode_InternStatic(interp, &string);
 1757|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1759|      2|    string = &_Py_ID(fix_imports);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|      2|    _PyUnicode_InternStatic(interp, &string);
 1761|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1763|      2|    string = &_Py_ID(flags);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1764|      2|    _PyUnicode_InternStatic(interp, &string);
 1765|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1767|      2|    string = &_Py_ID(flush);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|      2|    _PyUnicode_InternStatic(interp, &string);
 1769|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1771|      2|    string = &_Py_ID(fold);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|      2|    _PyUnicode_InternStatic(interp, &string);
 1773|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1775|      2|    string = &_Py_ID(foldspaces);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      2|    _PyUnicode_InternStatic(interp, &string);
 1777|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1779|      2|    string = &_Py_ID(follow_symlinks);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      2|    _PyUnicode_InternStatic(interp, &string);
 1781|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1783|      2|    string = &_Py_ID(format);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      2|    _PyUnicode_InternStatic(interp, &string);
 1785|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1787|      2|    string = &_Py_ID(format_spec);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      2|    _PyUnicode_InternStatic(interp, &string);
 1789|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1791|      2|    string = &_Py_ID(frame_buffer);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      2|    _PyUnicode_InternStatic(interp, &string);
 1793|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1795|      2|    string = &_Py_ID(free_threaded);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1796|      2|    _PyUnicode_InternStatic(interp, &string);
 1797|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1799|      2|    string = &_Py_ID(from_param);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|      2|    _PyUnicode_InternStatic(interp, &string);
 1801|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1803|      2|    string = &_Py_ID(fromlist);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|      2|    _PyUnicode_InternStatic(interp, &string);
 1805|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1807|      2|    string = &_Py_ID(fromtimestamp);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|      2|    _PyUnicode_InternStatic(interp, &string);
 1809|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1811|      2|    string = &_Py_ID(fromutc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|      2|    _PyUnicode_InternStatic(interp, &string);
 1813|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1815|      2|    string = &_Py_ID(fset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|      2|    _PyUnicode_InternStatic(interp, &string);
 1817|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1819|      2|    string = &_Py_ID(fullerror);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1820|      2|    _PyUnicode_InternStatic(interp, &string);
 1821|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1823|      2|    string = &_Py_ID(func);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|      2|    _PyUnicode_InternStatic(interp, &string);
 1825|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1827|      2|    string = &_Py_ID(future);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|      2|    _PyUnicode_InternStatic(interp, &string);
 1829|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1831|      2|    string = &_Py_ID(gc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|      2|    _PyUnicode_InternStatic(interp, &string);
 1833|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1835|      2|    string = &_Py_ID(generation);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|      2|    _PyUnicode_InternStatic(interp, &string);
 1837|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1839|      2|    string = &_Py_ID(get);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|      2|    _PyUnicode_InternStatic(interp, &string);
 1841|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1843|      2|    string = &_Py_ID(get_debug);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      2|    _PyUnicode_InternStatic(interp, &string);
 1845|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1847|      2|    string = &_Py_ID(get_event_loop);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|      2|    _PyUnicode_InternStatic(interp, &string);
 1849|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1851|      2|    string = &_Py_ID(get_loop);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|      2|    _PyUnicode_InternStatic(interp, &string);
 1853|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1855|      2|    string = &_Py_ID(get_source);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1856|      2|    _PyUnicode_InternStatic(interp, &string);
 1857|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1859|      2|    string = &_Py_ID(getattr);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|      2|    _PyUnicode_InternStatic(interp, &string);
 1861|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1863|      2|    string = &_Py_ID(getstate);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1864|      2|    _PyUnicode_InternStatic(interp, &string);
 1865|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1867|      2|    string = &_Py_ID(gid);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1868|      2|    _PyUnicode_InternStatic(interp, &string);
 1869|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1871|      2|    string = &_Py_ID(globals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|      2|    _PyUnicode_InternStatic(interp, &string);
 1873|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1875|      2|    string = &_Py_ID(groupindex);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1876|      2|    _PyUnicode_InternStatic(interp, &string);
 1877|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1879|      2|    string = &_Py_ID(groups);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1880|      2|    _PyUnicode_InternStatic(interp, &string);
 1881|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1883|      2|    string = &_Py_ID(handle);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|      2|    _PyUnicode_InternStatic(interp, &string);
 1885|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1887|      2|    string = &_Py_ID(handle_seq);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1888|      2|    _PyUnicode_InternStatic(interp, &string);
 1889|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1891|      2|    string = &_Py_ID(has_location);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|      2|    _PyUnicode_InternStatic(interp, &string);
 1893|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1895|      2|    string = &_Py_ID(hash_name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1896|      2|    _PyUnicode_InternStatic(interp, &string);
 1897|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1899|      2|    string = &_Py_ID(header);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1900|      2|    _PyUnicode_InternStatic(interp, &string);
 1901|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1903|      2|    string = &_Py_ID(headers);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1904|      2|    _PyUnicode_InternStatic(interp, &string);
 1905|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1907|      2|    string = &_Py_ID(hi);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|      2|    _PyUnicode_InternStatic(interp, &string);
 1909|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1911|      2|    string = &_Py_ID(hook);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1912|      2|    _PyUnicode_InternStatic(interp, &string);
 1913|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1915|      2|    string = &_Py_ID(hour);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|      2|    _PyUnicode_InternStatic(interp, &string);
 1917|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1919|      2|    string = &_Py_ID(hours);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1920|      2|    _PyUnicode_InternStatic(interp, &string);
 1921|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1923|      2|    string = &_Py_ID(id);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1924|      2|    _PyUnicode_InternStatic(interp, &string);
 1925|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1927|      2|    string = &_Py_ID(ident);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1928|      2|    _PyUnicode_InternStatic(interp, &string);
 1929|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1931|      2|    string = &_Py_ID(identity_hint);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|      2|    _PyUnicode_InternStatic(interp, &string);
 1933|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1935|      2|    string = &_Py_ID(ignore);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|      2|    _PyUnicode_InternStatic(interp, &string);
 1937|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1939|      2|    string = &_Py_ID(ignorechars);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1940|      2|    _PyUnicode_InternStatic(interp, &string);
 1941|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1943|      2|    string = &_Py_ID(imag);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1944|      2|    _PyUnicode_InternStatic(interp, &string);
 1945|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1947|      2|    string = &_Py_ID(implieslink);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|      2|    _PyUnicode_InternStatic(interp, &string);
 1949|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1951|      2|    string = &_Py_ID(importlib);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|      2|    _PyUnicode_InternStatic(interp, &string);
 1953|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1955|      2|    string = &_Py_ID(in_fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1956|      2|    _PyUnicode_InternStatic(interp, &string);
 1957|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1959|      2|    string = &_Py_ID(include_aliases);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|      2|    _PyUnicode_InternStatic(interp, &string);
 1961|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1963|      2|    string = &_Py_ID(incoming);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1964|      2|    _PyUnicode_InternStatic(interp, &string);
 1965|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1967|      2|    string = &_Py_ID(index);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|      2|    _PyUnicode_InternStatic(interp, &string);
 1969|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1971|      2|    string = &_Py_ID(indexgroup);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1972|      2|    _PyUnicode_InternStatic(interp, &string);
 1973|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1975|      2|    string = &_Py_ID(inf);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1976|      2|    _PyUnicode_InternStatic(interp, &string);
 1977|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1979|      2|    string = &_Py_ID(infer_variance);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|      2|    _PyUnicode_InternStatic(interp, &string);
 1981|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1983|      2|    string = &_Py_ID(inherit_handle);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|      2|    _PyUnicode_InternStatic(interp, &string);
 1985|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1987|      2|    string = &_Py_ID(inheritable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1988|      2|    _PyUnicode_InternStatic(interp, &string);
 1989|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1991|      2|    string = &_Py_ID(initial);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1992|      2|    _PyUnicode_InternStatic(interp, &string);
 1993|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1995|      2|    string = &_Py_ID(initial_bytes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1996|      2|    _PyUnicode_InternStatic(interp, &string);
 1997|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 1998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 1999|      2|    string = &_Py_ID(initial_owner);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      2|    _PyUnicode_InternStatic(interp, &string);
 2001|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2003|      2|    string = &_Py_ID(initial_state);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|      2|    _PyUnicode_InternStatic(interp, &string);
 2005|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2007|      2|    string = &_Py_ID(initial_value);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      2|    _PyUnicode_InternStatic(interp, &string);
 2009|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2011|      2|    string = &_Py_ID(initval);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      2|    _PyUnicode_InternStatic(interp, &string);
 2013|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2015|      2|    string = &_Py_ID(inner_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|      2|    _PyUnicode_InternStatic(interp, &string);
 2017|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2019|      2|    string = &_Py_ID(input);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|      2|    _PyUnicode_InternStatic(interp, &string);
 2021|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2023|      2|    string = &_Py_ID(insert_comments);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|      2|    _PyUnicode_InternStatic(interp, &string);
 2025|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2027|      2|    string = &_Py_ID(insert_pis);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|      2|    _PyUnicode_InternStatic(interp, &string);
 2029|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2031|      2|    string = &_Py_ID(instructions);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|      2|    _PyUnicode_InternStatic(interp, &string);
 2033|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2035|      2|    string = &_Py_ID(intern);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|      2|    _PyUnicode_InternStatic(interp, &string);
 2037|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2039|      2|    string = &_Py_ID(intersection);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2040|      2|    _PyUnicode_InternStatic(interp, &string);
 2041|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2043|      2|    string = &_Py_ID(interval);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|      2|    _PyUnicode_InternStatic(interp, &string);
 2045|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2047|      2|    string = &_Py_ID(io);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|      2|    _PyUnicode_InternStatic(interp, &string);
 2049|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2051|      2|    string = &_Py_ID(is_compress);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|      2|    _PyUnicode_InternStatic(interp, &string);
 2053|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2055|      2|    string = &_Py_ID(is_raw);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|      2|    _PyUnicode_InternStatic(interp, &string);
 2057|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2059|      2|    string = &_Py_ID(is_running);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2060|      2|    _PyUnicode_InternStatic(interp, &string);
 2061|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2063|      2|    string = &_Py_ID(is_struct);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      2|    _PyUnicode_InternStatic(interp, &string);
 2065|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2067|      2|    string = &_Py_ID(isatty);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|      2|    _PyUnicode_InternStatic(interp, &string);
 2069|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2071|      2|    string = &_Py_ID(isinstance);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2072|      2|    _PyUnicode_InternStatic(interp, &string);
 2073|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2075|      2|    string = &_Py_ID(isoformat);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|      2|    _PyUnicode_InternStatic(interp, &string);
 2077|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2079|      2|    string = &_Py_ID(isolation_level);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|      2|    _PyUnicode_InternStatic(interp, &string);
 2081|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2083|      2|    string = &_Py_ID(istext);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|      2|    _PyUnicode_InternStatic(interp, &string);
 2085|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2087|      2|    string = &_Py_ID(item);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      2|    _PyUnicode_InternStatic(interp, &string);
 2089|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2091|      2|    string = &_Py_ID(items);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2092|      2|    _PyUnicode_InternStatic(interp, &string);
 2093|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2095|      2|    string = &_Py_ID(iter);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      2|    _PyUnicode_InternStatic(interp, &string);
 2097|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2099|      2|    string = &_Py_ID(iterable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|      2|    _PyUnicode_InternStatic(interp, &string);
 2101|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2103|      2|    string = &_Py_ID(iterations);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      2|    _PyUnicode_InternStatic(interp, &string);
 2105|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2107|      2|    string = &_Py_ID(join);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      2|    _PyUnicode_InternStatic(interp, &string);
 2109|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2111|      2|    string = &_Py_ID(jump);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|      2|    _PyUnicode_InternStatic(interp, &string);
 2113|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2115|      2|    string = &_Py_ID(keepends);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      2|    _PyUnicode_InternStatic(interp, &string);
 2117|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2119|      2|    string = &_Py_ID(key);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|      2|    _PyUnicode_InternStatic(interp, &string);
 2121|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2123|      2|    string = &_Py_ID(keyfile);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|      2|    _PyUnicode_InternStatic(interp, &string);
 2125|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2127|      2|    string = &_Py_ID(keys);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|      2|    _PyUnicode_InternStatic(interp, &string);
 2129|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2131|      2|    string = &_Py_ID(kind);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2132|      2|    _PyUnicode_InternStatic(interp, &string);
 2133|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2135|      2|    string = &_Py_ID(kw);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2136|      2|    _PyUnicode_InternStatic(interp, &string);
 2137|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2139|      2|    string = &_Py_ID(kw1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|      2|    _PyUnicode_InternStatic(interp, &string);
 2141|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2143|      2|    string = &_Py_ID(kw2);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|      2|    _PyUnicode_InternStatic(interp, &string);
 2145|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2147|      2|    string = &_Py_ID(kwargs);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|      2|    _PyUnicode_InternStatic(interp, &string);
 2149|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2151|      2|    string = &_Py_ID(kwdefaults);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|      2|    _PyUnicode_InternStatic(interp, &string);
 2153|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2155|      2|    string = &_Py_ID(label);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|      2|    _PyUnicode_InternStatic(interp, &string);
 2157|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2159|      2|    string = &_Py_ID(last);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2160|      2|    _PyUnicode_InternStatic(interp, &string);
 2161|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2163|      2|    string = &_Py_ID(last_exc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|      2|    _PyUnicode_InternStatic(interp, &string);
 2165|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2167|      2|    string = &_Py_ID(last_node);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|      2|    _PyUnicode_InternStatic(interp, &string);
 2169|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2171|      2|    string = &_Py_ID(last_traceback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|      2|    _PyUnicode_InternStatic(interp, &string);
 2173|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2175|      2|    string = &_Py_ID(last_type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|      2|    _PyUnicode_InternStatic(interp, &string);
 2177|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2179|      2|    string = &_Py_ID(last_value);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2180|      2|    _PyUnicode_InternStatic(interp, &string);
 2181|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2183|      2|    string = &_Py_ID(latin1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|      2|    _PyUnicode_InternStatic(interp, &string);
 2185|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2187|      2|    string = &_Py_ID(leaf_size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2188|      2|    _PyUnicode_InternStatic(interp, &string);
 2189|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2191|      2|    string = &_Py_ID(legacy);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|      2|    _PyUnicode_InternStatic(interp, &string);
 2193|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2195|      2|    string = &_Py_ID(len);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2196|      2|    _PyUnicode_InternStatic(interp, &string);
 2197|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2199|      2|    string = &_Py_ID(length);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2200|      2|    _PyUnicode_InternStatic(interp, &string);
 2201|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2203|      2|    string = &_Py_ID(level);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2204|      2|    _PyUnicode_InternStatic(interp, &string);
 2205|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2207|      2|    string = &_Py_ID(limit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2208|      2|    _PyUnicode_InternStatic(interp, &string);
 2209|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2211|      2|    string = &_Py_ID(line);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|      2|    _PyUnicode_InternStatic(interp, &string);
 2213|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2215|      2|    string = &_Py_ID(line_buffering);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|      2|    _PyUnicode_InternStatic(interp, &string);
 2217|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2219|      2|    string = &_Py_ID(lineno);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2220|      2|    _PyUnicode_InternStatic(interp, &string);
 2221|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2223|      2|    string = &_Py_ID(little);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|      2|    _PyUnicode_InternStatic(interp, &string);
 2225|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2227|      2|    string = &_Py_ID(lo);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2228|      2|    _PyUnicode_InternStatic(interp, &string);
 2229|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2231|      2|    string = &_Py_ID(locale);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|      2|    _PyUnicode_InternStatic(interp, &string);
 2233|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2235|      2|    string = &_Py_ID(locals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      2|    _PyUnicode_InternStatic(interp, &string);
 2237|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2239|      2|    string = &_Py_ID(logoption);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|      2|    _PyUnicode_InternStatic(interp, &string);
 2241|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2243|      2|    string = &_Py_ID(loop);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|      2|    _PyUnicode_InternStatic(interp, &string);
 2245|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2247|      2|    string = &_Py_ID(manual_reset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|      2|    _PyUnicode_InternStatic(interp, &string);
 2249|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2251|      2|    string = &_Py_ID(mapping);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|      2|    _PyUnicode_InternStatic(interp, &string);
 2253|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2255|      2|    string = &_Py_ID(mask);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|      2|    _PyUnicode_InternStatic(interp, &string);
 2257|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2259|      2|    string = &_Py_ID(match);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2260|      2|    _PyUnicode_InternStatic(interp, &string);
 2261|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2263|      2|    string = &_Py_ID(max_length);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|      2|    _PyUnicode_InternStatic(interp, &string);
 2265|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2267|      2|    string = &_Py_ID(max_threads);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|      2|    _PyUnicode_InternStatic(interp, &string);
 2269|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2271|      2|    string = &_Py_ID(maxdigits);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      2|    _PyUnicode_InternStatic(interp, &string);
 2273|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2275|      2|    string = &_Py_ID(maxevents);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2276|      2|    _PyUnicode_InternStatic(interp, &string);
 2277|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2279|      2|    string = &_Py_ID(maxlen);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2280|      2|    _PyUnicode_InternStatic(interp, &string);
 2281|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2283|      2|    string = &_Py_ID(maxmem);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|      2|    _PyUnicode_InternStatic(interp, &string);
 2285|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2287|      2|    string = &_Py_ID(maxsize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2288|      2|    _PyUnicode_InternStatic(interp, &string);
 2289|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2291|      2|    string = &_Py_ID(maxsplit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2292|      2|    _PyUnicode_InternStatic(interp, &string);
 2293|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2295|      2|    string = &_Py_ID(maxvalue);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2296|      2|    _PyUnicode_InternStatic(interp, &string);
 2297|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2299|      2|    string = &_Py_ID(memLevel);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2300|      2|    _PyUnicode_InternStatic(interp, &string);
 2301|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2303|      2|    string = &_Py_ID(memlimit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2304|      2|    _PyUnicode_InternStatic(interp, &string);
 2305|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2307|      2|    string = &_Py_ID(message);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2308|      2|    _PyUnicode_InternStatic(interp, &string);
 2309|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2311|      2|    string = &_Py_ID(metaclass);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2312|      2|    _PyUnicode_InternStatic(interp, &string);
 2313|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2315|      2|    string = &_Py_ID(metadata);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2316|      2|    _PyUnicode_InternStatic(interp, &string);
 2317|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2319|      2|    string = &_Py_ID(method);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      2|    _PyUnicode_InternStatic(interp, &string);
 2321|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2323|      2|    string = &_Py_ID(microsecond);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|      2|    _PyUnicode_InternStatic(interp, &string);
 2325|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2327|      2|    string = &_Py_ID(microseconds);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2328|      2|    _PyUnicode_InternStatic(interp, &string);
 2329|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2331|      2|    string = &_Py_ID(milliseconds);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2332|      2|    _PyUnicode_InternStatic(interp, &string);
 2333|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2335|      2|    string = &_Py_ID(minute);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2336|      2|    _PyUnicode_InternStatic(interp, &string);
 2337|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2339|      2|    string = &_Py_ID(minutes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|      2|    _PyUnicode_InternStatic(interp, &string);
 2341|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2343|      2|    string = &_Py_ID(mod);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2344|      2|    _PyUnicode_InternStatic(interp, &string);
 2345|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2347|      2|    string = &_Py_ID(mode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|      2|    _PyUnicode_InternStatic(interp, &string);
 2349|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2351|      2|    string = &_Py_ID(module);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2352|      2|    _PyUnicode_InternStatic(interp, &string);
 2353|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2355|      2|    string = &_Py_ID(module_globals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2356|      2|    _PyUnicode_InternStatic(interp, &string);
 2357|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2359|      2|    string = &_Py_ID(modules);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|      2|    _PyUnicode_InternStatic(interp, &string);
 2361|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2363|      2|    string = &_Py_ID(modulo);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2364|      2|    _PyUnicode_InternStatic(interp, &string);
 2365|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2367|      2|    string = &_Py_ID(month);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2368|      2|    _PyUnicode_InternStatic(interp, &string);
 2369|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2371|      2|    string = &_Py_ID(mro);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2372|      2|    _PyUnicode_InternStatic(interp, &string);
 2373|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2375|      2|    string = &_Py_ID(msg);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2376|      2|    _PyUnicode_InternStatic(interp, &string);
 2377|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2379|      2|    string = &_Py_ID(mutex);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|      2|    _PyUnicode_InternStatic(interp, &string);
 2381|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2383|      2|    string = &_Py_ID(mycmp);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2384|      2|    _PyUnicode_InternStatic(interp, &string);
 2385|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2387|      2|    string = &_Py_ID(n_fields);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2388|      2|    _PyUnicode_InternStatic(interp, &string);
 2389|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2391|      2|    string = &_Py_ID(n_sequence_fields);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2392|      2|    _PyUnicode_InternStatic(interp, &string);
 2393|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2395|      2|    string = &_Py_ID(n_unnamed_fields);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2396|      2|    _PyUnicode_InternStatic(interp, &string);
 2397|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2399|      2|    string = &_Py_ID(name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2400|      2|    _PyUnicode_InternStatic(interp, &string);
 2401|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2403|      2|    string = &_Py_ID(name_from);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|      2|    _PyUnicode_InternStatic(interp, &string);
 2405|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2407|      2|    string = &_Py_ID(namespace_separator);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2408|      2|    _PyUnicode_InternStatic(interp, &string);
 2409|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2411|      2|    string = &_Py_ID(namespaces);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2412|      2|    _PyUnicode_InternStatic(interp, &string);
 2413|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2415|      2|    string = &_Py_ID(native);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2416|      2|    _PyUnicode_InternStatic(interp, &string);
 2417|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2419|      2|    string = &_Py_ID(ndigits);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2420|      2|    _PyUnicode_InternStatic(interp, &string);
 2421|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2423|      2|    string = &_Py_ID(nested);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2424|      2|    _PyUnicode_InternStatic(interp, &string);
 2425|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2427|      2|    string = &_Py_ID(new_file_name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|      2|    _PyUnicode_InternStatic(interp, &string);
 2429|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2431|      2|    string = &_Py_ID(new_limit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      2|    _PyUnicode_InternStatic(interp, &string);
 2433|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2435|      2|    string = &_Py_ID(newline);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      2|    _PyUnicode_InternStatic(interp, &string);
 2437|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2439|      2|    string = &_Py_ID(newlines);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|      2|    _PyUnicode_InternStatic(interp, &string);
 2441|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2443|      2|    string = &_Py_ID(next);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|      2|    _PyUnicode_InternStatic(interp, &string);
 2445|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2447|      2|    string = &_Py_ID(nlocals);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2448|      2|    _PyUnicode_InternStatic(interp, &string);
 2449|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2451|      2|    string = &_Py_ID(node_depth);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      2|    _PyUnicode_InternStatic(interp, &string);
 2453|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2455|      2|    string = &_Py_ID(node_offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|      2|    _PyUnicode_InternStatic(interp, &string);
 2457|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2459|      2|    string = &_Py_ID(ns);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2460|      2|    _PyUnicode_InternStatic(interp, &string);
 2461|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2463|      2|    string = &_Py_ID(nstype);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2464|      2|    _PyUnicode_InternStatic(interp, &string);
 2465|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2467|      2|    string = &_Py_ID(nt);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2468|      2|    _PyUnicode_InternStatic(interp, &string);
 2469|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2471|      2|    string = &_Py_ID(null);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2472|      2|    _PyUnicode_InternStatic(interp, &string);
 2473|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2475|      2|    string = &_Py_ID(number);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|      2|    _PyUnicode_InternStatic(interp, &string);
 2477|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2478|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2479|      2|    string = &_Py_ID(obj);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2480|      2|    _PyUnicode_InternStatic(interp, &string);
 2481|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2482|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2483|      2|    string = &_Py_ID(object);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2484|      2|    _PyUnicode_InternStatic(interp, &string);
 2485|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2487|      2|    string = &_Py_ID(offset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2488|      2|    _PyUnicode_InternStatic(interp, &string);
 2489|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2490|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2491|      2|    string = &_Py_ID(offset_dst);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2492|      2|    _PyUnicode_InternStatic(interp, &string);
 2493|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2494|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2495|      2|    string = &_Py_ID(offset_src);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2496|      2|    _PyUnicode_InternStatic(interp, &string);
 2497|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2498|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2499|      2|    string = &_Py_ID(on_type_read);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2500|      2|    _PyUnicode_InternStatic(interp, &string);
 2501|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2502|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2503|      2|    string = &_Py_ID(onceregistry);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2504|      2|    _PyUnicode_InternStatic(interp, &string);
 2505|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2506|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2507|      2|    string = &_Py_ID(only_active_thread);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2508|      2|    _PyUnicode_InternStatic(interp, &string);
 2509|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2510|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2511|      2|    string = &_Py_ID(only_keys);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2512|      2|    _PyUnicode_InternStatic(interp, &string);
 2513|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2514|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2515|      2|    string = &_Py_ID(oparg);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2516|      2|    _PyUnicode_InternStatic(interp, &string);
 2517|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2518|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2519|      2|    string = &_Py_ID(opcode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2520|      2|    _PyUnicode_InternStatic(interp, &string);
 2521|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2522|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2523|      2|    string = &_Py_ID(opcodes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|      2|    _PyUnicode_InternStatic(interp, &string);
 2525|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2526|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2527|      2|    string = &_Py_ID(open);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      2|    _PyUnicode_InternStatic(interp, &string);
 2529|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2530|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2531|      2|    string = &_Py_ID(opener);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2532|      2|    _PyUnicode_InternStatic(interp, &string);
 2533|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2534|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2535|      2|    string = &_Py_ID(operation);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2536|      2|    _PyUnicode_InternStatic(interp, &string);
 2537|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2538|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2539|      2|    string = &_Py_ID(optimize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2540|      2|    _PyUnicode_InternStatic(interp, &string);
 2541|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2542|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2543|      2|    string = &_Py_ID(options);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2544|      2|    _PyUnicode_InternStatic(interp, &string);
 2545|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2546|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2547|      2|    string = &_Py_ID(order);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2548|      2|    _PyUnicode_InternStatic(interp, &string);
 2549|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2550|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2551|      2|    string = &_Py_ID(origin);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2552|      2|    _PyUnicode_InternStatic(interp, &string);
 2553|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2554|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2555|      2|    string = &_Py_ID(other);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2556|      2|    _PyUnicode_InternStatic(interp, &string);
 2557|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2558|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2559|      2|    string = &_Py_ID(out_fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|      2|    _PyUnicode_InternStatic(interp, &string);
 2561|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2562|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2563|      2|    string = &_Py_ID(outgoing);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2564|      2|    _PyUnicode_InternStatic(interp, &string);
 2565|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2566|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2567|      2|    string = &_Py_ID(outpath);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|      2|    _PyUnicode_InternStatic(interp, &string);
 2569|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2570|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2571|      2|    string = &_Py_ID(overlapped);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2572|      2|    _PyUnicode_InternStatic(interp, &string);
 2573|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2574|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2575|      2|    string = &_Py_ID(owner);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2576|      2|    _PyUnicode_InternStatic(interp, &string);
 2577|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2578|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2579|      2|    string = &_Py_ID(pad);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|      2|    _PyUnicode_InternStatic(interp, &string);
 2581|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2582|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2583|      2|    string = &_Py_ID(padded);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2584|      2|    _PyUnicode_InternStatic(interp, &string);
 2585|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2586|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2587|      2|    string = &_Py_ID(pages);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2588|      2|    _PyUnicode_InternStatic(interp, &string);
 2589|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2590|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2591|      2|    string = &_Py_ID(parameter);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2592|      2|    _PyUnicode_InternStatic(interp, &string);
 2593|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2594|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2595|      2|    string = &_Py_ID(parent);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|      2|    _PyUnicode_InternStatic(interp, &string);
 2597|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2598|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2599|      2|    string = &_Py_ID(password);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2600|      2|    _PyUnicode_InternStatic(interp, &string);
 2601|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2602|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2603|      2|    string = &_Py_ID(path);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|      2|    _PyUnicode_InternStatic(interp, &string);
 2605|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2606|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2607|      2|    string = &_Py_ID(pattern);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|      2|    _PyUnicode_InternStatic(interp, &string);
 2609|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2610|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2611|      2|    string = &_Py_ID(peek);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2612|      2|    _PyUnicode_InternStatic(interp, &string);
 2613|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2614|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2615|      2|    string = &_Py_ID(persistent_id);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2616|      2|    _PyUnicode_InternStatic(interp, &string);
 2617|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2618|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2619|      2|    string = &_Py_ID(persistent_load);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2620|      2|    _PyUnicode_InternStatic(interp, &string);
 2621|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2622|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2623|      2|    string = &_Py_ID(person);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|      2|    _PyUnicode_InternStatic(interp, &string);
 2625|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2626|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2627|      2|    string = &_Py_ID(pi_factory);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2628|      2|    _PyUnicode_InternStatic(interp, &string);
 2629|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2630|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2631|      2|    string = &_Py_ID(pid);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2632|      2|    _PyUnicode_InternStatic(interp, &string);
 2633|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2634|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2635|      2|    string = &_Py_ID(pidfd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2636|      2|    _PyUnicode_InternStatic(interp, &string);
 2637|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2638|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2639|      2|    string = &_Py_ID(pointer_bits);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2640|      2|    _PyUnicode_InternStatic(interp, &string);
 2641|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2642|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2643|      2|    string = &_Py_ID(policy);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2644|      2|    _PyUnicode_InternStatic(interp, &string);
 2645|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2646|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2647|      2|    string = &_Py_ID(pos);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2648|      2|    _PyUnicode_InternStatic(interp, &string);
 2649|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2650|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2651|      2|    string = &_Py_ID(pos1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      2|    _PyUnicode_InternStatic(interp, &string);
 2653|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2654|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2655|      2|    string = &_Py_ID(pos2);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|      2|    _PyUnicode_InternStatic(interp, &string);
 2657|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2658|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2659|      2|    string = &_Py_ID(posix);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2660|      2|    _PyUnicode_InternStatic(interp, &string);
 2661|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2662|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2663|      2|    string = &_Py_ID(prec);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2664|      2|    _PyUnicode_InternStatic(interp, &string);
 2665|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2666|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2667|      2|    string = &_Py_ID(preserve_exc);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2668|      2|    _PyUnicode_InternStatic(interp, &string);
 2669|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2670|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2671|      2|    string = &_Py_ID(print_file_and_line);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2672|      2|    _PyUnicode_InternStatic(interp, &string);
 2673|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2674|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2675|      2|    string = &_Py_ID(priority);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|      2|    _PyUnicode_InternStatic(interp, &string);
 2677|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2678|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2679|      2|    string = &_Py_ID(progress);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2680|      2|    _PyUnicode_InternStatic(interp, &string);
 2681|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2682|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2683|      2|    string = &_Py_ID(progress_callback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      2|    _PyUnicode_InternStatic(interp, &string);
 2685|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2686|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2687|      2|    string = &_Py_ID(progress_routine);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2688|      2|    _PyUnicode_InternStatic(interp, &string);
 2689|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2690|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2691|      2|    string = &_Py_ID(proto);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|      2|    _PyUnicode_InternStatic(interp, &string);
 2693|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2694|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2695|      2|    string = &_Py_ID(protocol);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2696|      2|    _PyUnicode_InternStatic(interp, &string);
 2697|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2698|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2699|      2|    string = &_Py_ID(ps1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|      2|    _PyUnicode_InternStatic(interp, &string);
 2701|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2702|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2703|      2|    string = &_Py_ID(ps2);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|      2|    _PyUnicode_InternStatic(interp, &string);
 2705|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2706|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2707|      2|    string = &_Py_ID(qid);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2708|      2|    _PyUnicode_InternStatic(interp, &string);
 2709|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2710|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2711|      2|    string = &_Py_ID(qualname);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2712|      2|    _PyUnicode_InternStatic(interp, &string);
 2713|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2714|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2715|      2|    string = &_Py_ID(query);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      2|    _PyUnicode_InternStatic(interp, &string);
 2717|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2718|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2719|      2|    string = &_Py_ID(queuetype);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|      2|    _PyUnicode_InternStatic(interp, &string);
 2721|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2722|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2723|      2|    string = &_Py_ID(quotetabs);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2724|      2|    _PyUnicode_InternStatic(interp, &string);
 2725|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2726|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2727|      2|    string = &_Py_ID(raw);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|      2|    _PyUnicode_InternStatic(interp, &string);
 2729|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2730|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2731|      2|    string = &_Py_ID(read);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2732|      2|    _PyUnicode_InternStatic(interp, &string);
 2733|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2734|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2735|      2|    string = &_Py_ID(read1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2736|      2|    _PyUnicode_InternStatic(interp, &string);
 2737|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2738|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2739|      2|    string = &_Py_ID(readable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2740|      2|    _PyUnicode_InternStatic(interp, &string);
 2741|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2742|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2743|      2|    string = &_Py_ID(readall);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      2|    _PyUnicode_InternStatic(interp, &string);
 2745|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2746|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2747|      2|    string = &_Py_ID(readinto);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2748|      2|    _PyUnicode_InternStatic(interp, &string);
 2749|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2750|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2751|      2|    string = &_Py_ID(readinto1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|      2|    _PyUnicode_InternStatic(interp, &string);
 2753|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2754|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2755|      2|    string = &_Py_ID(readline);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2756|      2|    _PyUnicode_InternStatic(interp, &string);
 2757|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2758|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2759|      2|    string = &_Py_ID(readonly);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2760|      2|    _PyUnicode_InternStatic(interp, &string);
 2761|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2762|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2763|      2|    string = &_Py_ID(real);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2764|      2|    _PyUnicode_InternStatic(interp, &string);
 2765|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2766|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2767|      2|    string = &_Py_ID(recursive);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2768|      2|    _PyUnicode_InternStatic(interp, &string);
 2769|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2770|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2771|      2|    string = &_Py_ID(reducer_override);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2772|      2|    _PyUnicode_InternStatic(interp, &string);
 2773|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2774|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2775|      2|    string = &_Py_ID(registry);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|      2|    _PyUnicode_InternStatic(interp, &string);
 2777|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2778|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2779|      2|    string = &_Py_ID(rel_tol);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2780|      2|    _PyUnicode_InternStatic(interp, &string);
 2781|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2782|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2783|      2|    string = &_Py_ID(release);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2784|      2|    _PyUnicode_InternStatic(interp, &string);
 2785|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2786|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2787|      2|    string = &_Py_ID(reload);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2788|      2|    _PyUnicode_InternStatic(interp, &string);
 2789|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2790|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2791|      2|    string = &_Py_ID(repeat);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      2|    _PyUnicode_InternStatic(interp, &string);
 2793|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2794|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2795|      2|    string = &_Py_ID(repl);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2796|      2|    _PyUnicode_InternStatic(interp, &string);
 2797|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2798|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2799|      2|    string = &_Py_ID(replace);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|      2|    _PyUnicode_InternStatic(interp, &string);
 2801|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2802|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2803|      2|    string = &_Py_ID(repr);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2804|      2|    _PyUnicode_InternStatic(interp, &string);
 2805|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2806|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2807|      2|    string = &_Py_ID(reqrefs);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2808|      2|    _PyUnicode_InternStatic(interp, &string);
 2809|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2810|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2811|      2|    string = &_Py_ID(require_ready);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2812|      2|    _PyUnicode_InternStatic(interp, &string);
 2813|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2814|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2815|      2|    string = &_Py_ID(reserved);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|      2|    _PyUnicode_InternStatic(interp, &string);
 2817|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2818|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2819|      2|    string = &_Py_ID(reset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2820|      2|    _PyUnicode_InternStatic(interp, &string);
 2821|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2822|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2823|      2|    string = &_Py_ID(resetids);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      2|    _PyUnicode_InternStatic(interp, &string);
 2825|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2826|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2827|      2|    string = &_Py_ID(restrict);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|      2|    _PyUnicode_InternStatic(interp, &string);
 2829|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2830|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2831|      2|    string = &_Py_ID(return);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|      2|    _PyUnicode_InternStatic(interp, &string);
 2833|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2834|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2835|      2|    string = &_Py_ID(reverse);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2836|      2|    _PyUnicode_InternStatic(interp, &string);
 2837|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2838|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2839|      2|    string = &_Py_ID(reversed);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|      2|    _PyUnicode_InternStatic(interp, &string);
 2841|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2842|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2843|      2|    string = &_Py_ID(rounding);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|      2|    _PyUnicode_InternStatic(interp, &string);
 2845|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2846|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2847|      2|    string = &_Py_ID(salt);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|      2|    _PyUnicode_InternStatic(interp, &string);
 2849|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2850|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2851|      2|    string = &_Py_ID(sample_interval_us);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2852|      2|    _PyUnicode_InternStatic(interp, &string);
 2853|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2854|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2855|      2|    string = &_Py_ID(sched_priority);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2856|      2|    _PyUnicode_InternStatic(interp, &string);
 2857|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2858|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2859|      2|    string = &_Py_ID(scheduler);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|      2|    _PyUnicode_InternStatic(interp, &string);
 2861|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2862|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2863|      2|    string = &_Py_ID(script);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2864|      2|    _PyUnicode_InternStatic(interp, &string);
 2865|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2866|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2867|      2|    string = &_Py_ID(second);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2868|      2|    _PyUnicode_InternStatic(interp, &string);
 2869|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2870|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2871|      2|    string = &_Py_ID(seconds);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2872|      2|    _PyUnicode_InternStatic(interp, &string);
 2873|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2874|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2875|      2|    string = &_Py_ID(security_attributes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|      2|    _PyUnicode_InternStatic(interp, &string);
 2877|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2878|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2879|      2|    string = &_Py_ID(seek);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2880|      2|    _PyUnicode_InternStatic(interp, &string);
 2881|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2882|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2883|      2|    string = &_Py_ID(seekable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2884|      2|    _PyUnicode_InternStatic(interp, &string);
 2885|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2886|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2887|      2|    string = &_Py_ID(selectors);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|      2|    _PyUnicode_InternStatic(interp, &string);
 2889|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2890|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2891|      2|    string = &_Py_ID(self);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2892|      2|    _PyUnicode_InternStatic(interp, &string);
 2893|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2894|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2895|      2|    string = &_Py_ID(send);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2896|      2|    _PyUnicode_InternStatic(interp, &string);
 2897|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2898|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2899|      2|    string = &_Py_ID(sep);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|      2|    _PyUnicode_InternStatic(interp, &string);
 2901|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2902|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2903|      2|    string = &_Py_ID(sequence);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2904|      2|    _PyUnicode_InternStatic(interp, &string);
 2905|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2906|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2907|      2|    string = &_Py_ID(server_hostname);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2908|      2|    _PyUnicode_InternStatic(interp, &string);
 2909|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2910|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2911|      2|    string = &_Py_ID(server_side);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|      2|    _PyUnicode_InternStatic(interp, &string);
 2913|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2914|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2915|      2|    string = &_Py_ID(session);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2916|      2|    _PyUnicode_InternStatic(interp, &string);
 2917|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2918|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2919|      2|    string = &_Py_ID(setpgroup);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2920|      2|    _PyUnicode_InternStatic(interp, &string);
 2921|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2922|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2923|      2|    string = &_Py_ID(setsid);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2924|      2|    _PyUnicode_InternStatic(interp, &string);
 2925|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2926|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2927|      2|    string = &_Py_ID(setsigdef);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2928|      2|    _PyUnicode_InternStatic(interp, &string);
 2929|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2930|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2931|      2|    string = &_Py_ID(setsigmask);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|      2|    _PyUnicode_InternStatic(interp, &string);
 2933|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2934|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2935|      2|    string = &_Py_ID(setstate);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2936|      2|    _PyUnicode_InternStatic(interp, &string);
 2937|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2938|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2939|      2|    string = &_Py_ID(shape);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2940|      2|    _PyUnicode_InternStatic(interp, &string);
 2941|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2942|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2943|      2|    string = &_Py_ID(shared);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|      2|    _PyUnicode_InternStatic(interp, &string);
 2945|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2946|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2947|      2|    string = &_Py_ID(short);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|      2|    _PyUnicode_InternStatic(interp, &string);
 2949|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2950|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2951|      2|    string = &_Py_ID(show_cmd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|      2|    _PyUnicode_InternStatic(interp, &string);
 2953|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2954|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2955|      2|    string = &_Py_ID(signed);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|      2|    _PyUnicode_InternStatic(interp, &string);
 2957|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2958|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2959|      2|    string = &_Py_ID(signum);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      2|    _PyUnicode_InternStatic(interp, &string);
 2961|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2962|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2963|      2|    string = &_Py_ID(size);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2964|      2|    _PyUnicode_InternStatic(interp, &string);
 2965|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2966|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2967|      2|    string = &_Py_ID(sizehint);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|      2|    _PyUnicode_InternStatic(interp, &string);
 2969|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2970|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2971|      2|    string = &_Py_ID(skip_file_prefixes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|      2|    _PyUnicode_InternStatic(interp, &string);
 2973|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2974|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2975|      2|    string = &_Py_ID(skip_non_matching_threads);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|      2|    _PyUnicode_InternStatic(interp, &string);
 2977|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2978|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2979|      2|    string = &_Py_ID(sleep);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|      2|    _PyUnicode_InternStatic(interp, &string);
 2981|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2982|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2983|      2|    string = &_Py_ID(sock);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2984|      2|    _PyUnicode_InternStatic(interp, &string);
 2985|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2986|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2987|      2|    string = &_Py_ID(sort);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|      2|    _PyUnicode_InternStatic(interp, &string);
 2989|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2990|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2991|      2|    string = &_Py_ID(source);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2992|      2|    _PyUnicode_InternStatic(interp, &string);
 2993|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2994|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2995|      2|    string = &_Py_ID(source_traceback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|      2|    _PyUnicode_InternStatic(interp, &string);
 2997|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 2998|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 2999|      2|    string = &_Py_ID(spam);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3000|      2|    _PyUnicode_InternStatic(interp, &string);
 3001|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3002|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3003|      2|    string = &_Py_ID(src);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3004|      2|    _PyUnicode_InternStatic(interp, &string);
 3005|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3006|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3007|      2|    string = &_Py_ID(src_dir_fd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3008|      2|    _PyUnicode_InternStatic(interp, &string);
 3009|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3010|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3011|      2|    string = &_Py_ID(stack_frames);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|      2|    _PyUnicode_InternStatic(interp, &string);
 3013|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3014|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3015|      2|    string = &_Py_ID(stacklevel);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|      2|    _PyUnicode_InternStatic(interp, &string);
 3017|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3018|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3019|      2|    string = &_Py_ID(start);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|      2|    _PyUnicode_InternStatic(interp, &string);
 3021|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3022|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3023|      2|    string = &_Py_ID(start_time_us);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3024|      2|    _PyUnicode_InternStatic(interp, &string);
 3025|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3026|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3027|      2|    string = &_Py_ID(statement);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3028|      2|    _PyUnicode_InternStatic(interp, &string);
 3029|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3030|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3031|      2|    string = &_Py_ID(stats);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|      2|    _PyUnicode_InternStatic(interp, &string);
 3033|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3034|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3035|      2|    string = &_Py_ID(status);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3036|      2|    _PyUnicode_InternStatic(interp, &string);
 3037|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3038|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3039|      2|    string = &_Py_ID(stderr);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3040|      2|    _PyUnicode_InternStatic(interp, &string);
 3041|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3042|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3043|      2|    string = &_Py_ID(stdin);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|      2|    _PyUnicode_InternStatic(interp, &string);
 3045|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3046|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3047|      2|    string = &_Py_ID(stdout);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|      2|    _PyUnicode_InternStatic(interp, &string);
 3049|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3050|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3051|      2|    string = &_Py_ID(step);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|      2|    _PyUnicode_InternStatic(interp, &string);
 3053|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3054|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3055|      2|    string = &_Py_ID(steps);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3056|      2|    _PyUnicode_InternStatic(interp, &string);
 3057|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3058|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3059|      2|    string = &_Py_ID(store_name);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3060|      2|    _PyUnicode_InternStatic(interp, &string);
 3061|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3062|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3063|      2|    string = &_Py_ID(strategy);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3064|      2|    _PyUnicode_InternStatic(interp, &string);
 3065|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3066|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3067|      2|    string = &_Py_ID(strftime);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|      2|    _PyUnicode_InternStatic(interp, &string);
 3069|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3070|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3071|      2|    string = &_Py_ID(strict);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|      2|    _PyUnicode_InternStatic(interp, &string);
 3073|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3074|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3075|      2|    string = &_Py_ID(strict_mode);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3076|      2|    _PyUnicode_InternStatic(interp, &string);
 3077|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3078|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3079|      2|    string = &_Py_ID(string);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3080|      2|    _PyUnicode_InternStatic(interp, &string);
 3081|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3082|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3083|      2|    string = &_Py_ID(sub_key);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3084|      2|    _PyUnicode_InternStatic(interp, &string);
 3085|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3086|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3087|      2|    string = &_Py_ID(subcalls);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3088|      2|    _PyUnicode_InternStatic(interp, &string);
 3089|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3090|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3091|      2|    string = &_Py_ID(symmetric_difference_update);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|      2|    _PyUnicode_InternStatic(interp, &string);
 3093|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3094|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3095|      2|    string = &_Py_ID(tabsize);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3096|      2|    _PyUnicode_InternStatic(interp, &string);
 3097|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3098|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3099|      2|    string = &_Py_ID(tag);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3100|      2|    _PyUnicode_InternStatic(interp, &string);
 3101|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3102|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3103|      2|    string = &_Py_ID(take_bytes);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|      2|    _PyUnicode_InternStatic(interp, &string);
 3105|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3106|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3107|      2|    string = &_Py_ID(target);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|      2|    _PyUnicode_InternStatic(interp, &string);
 3109|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3110|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3111|      2|    string = &_Py_ID(target_is_directory);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3112|      2|    _PyUnicode_InternStatic(interp, &string);
 3113|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3114|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3115|      2|    string = &_Py_ID(targetfd);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3116|      2|    _PyUnicode_InternStatic(interp, &string);
 3117|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3118|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3119|      2|    string = &_Py_ID(task);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3120|      2|    _PyUnicode_InternStatic(interp, &string);
 3121|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3122|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3123|      2|    string = &_Py_ID(tb_frame);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|      2|    _PyUnicode_InternStatic(interp, &string);
 3125|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3126|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3127|      2|    string = &_Py_ID(tb_lasti);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3128|      2|    _PyUnicode_InternStatic(interp, &string);
 3129|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3130|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3131|      2|    string = &_Py_ID(tb_lineno);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|      2|    _PyUnicode_InternStatic(interp, &string);
 3133|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3134|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3135|      2|    string = &_Py_ID(tb_next);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3136|      2|    _PyUnicode_InternStatic(interp, &string);
 3137|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3138|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3139|      2|    string = &_Py_ID(tell);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3140|      2|    _PyUnicode_InternStatic(interp, &string);
 3141|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3142|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3143|      2|    string = &_Py_ID(template);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|      2|    _PyUnicode_InternStatic(interp, &string);
 3145|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3146|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3147|      2|    string = &_Py_ID(term);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3148|      2|    _PyUnicode_InternStatic(interp, &string);
 3149|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3150|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3151|      2|    string = &_Py_ID(text);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3152|      2|    _PyUnicode_InternStatic(interp, &string);
 3153|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3154|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3155|      2|    string = &_Py_ID(third);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3156|      2|    _PyUnicode_InternStatic(interp, &string);
 3157|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3158|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3159|      2|    string = &_Py_ID(threading);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3160|      2|    _PyUnicode_InternStatic(interp, &string);
 3161|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3162|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3163|      2|    string = &_Py_ID(throw);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3164|      2|    _PyUnicode_InternStatic(interp, &string);
 3165|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3166|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3167|      2|    string = &_Py_ID(time);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      2|    _PyUnicode_InternStatic(interp, &string);
 3169|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3170|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3171|      2|    string = &_Py_ID(timeout);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3172|      2|    _PyUnicode_InternStatic(interp, &string);
 3173|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3174|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3175|      2|    string = &_Py_ID(timer);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3176|      2|    _PyUnicode_InternStatic(interp, &string);
 3177|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3178|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3179|      2|    string = &_Py_ID(times);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3180|      2|    _PyUnicode_InternStatic(interp, &string);
 3181|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3182|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3183|      2|    string = &_Py_ID(timespec);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3184|      2|    _PyUnicode_InternStatic(interp, &string);
 3185|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3186|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3187|      2|    string = &_Py_ID(timestamp);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|      2|    _PyUnicode_InternStatic(interp, &string);
 3189|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3190|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3191|      2|    string = &_Py_ID(timestamp_us);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3192|      2|    _PyUnicode_InternStatic(interp, &string);
 3193|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3194|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3195|      2|    string = &_Py_ID(timetuple);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3196|      2|    _PyUnicode_InternStatic(interp, &string);
 3197|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3198|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3199|      2|    string = &_Py_ID(timeunit);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3200|      2|    _PyUnicode_InternStatic(interp, &string);
 3201|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3202|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3203|      2|    string = &_Py_ID(top);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3204|      2|    _PyUnicode_InternStatic(interp, &string);
 3205|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3206|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3207|      2|    string = &_Py_ID(traceback);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3208|      2|    _PyUnicode_InternStatic(interp, &string);
 3209|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3210|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3211|      2|    string = &_Py_ID(trailers);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3212|      2|    _PyUnicode_InternStatic(interp, &string);
 3213|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3214|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3215|      2|    string = &_Py_ID(translate);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3216|      2|    _PyUnicode_InternStatic(interp, &string);
 3217|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3218|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3219|      2|    string = &_Py_ID(traps);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      2|    _PyUnicode_InternStatic(interp, &string);
 3221|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3222|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3223|      2|    string = &_Py_ID(true);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3224|      2|    _PyUnicode_InternStatic(interp, &string);
 3225|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3226|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3227|      2|    string = &_Py_ID(truncate);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3228|      2|    _PyUnicode_InternStatic(interp, &string);
 3229|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3230|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3231|      2|    string = &_Py_ID(twice);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3232|      2|    _PyUnicode_InternStatic(interp, &string);
 3233|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3234|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3235|      2|    string = &_Py_ID(txt);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|      2|    _PyUnicode_InternStatic(interp, &string);
 3237|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3238|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3239|      2|    string = &_Py_ID(type);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3240|      2|    _PyUnicode_InternStatic(interp, &string);
 3241|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3242|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3243|      2|    string = &_Py_ID(type_params);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3244|      2|    _PyUnicode_InternStatic(interp, &string);
 3245|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3246|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3247|      2|    string = &_Py_ID(tz);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3248|      2|    _PyUnicode_InternStatic(interp, &string);
 3249|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3250|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3251|      2|    string = &_Py_ID(tzinfo);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3252|      2|    _PyUnicode_InternStatic(interp, &string);
 3253|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3254|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3255|      2|    string = &_Py_ID(tzname);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3256|      2|    _PyUnicode_InternStatic(interp, &string);
 3257|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3258|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3259|      2|    string = &_Py_ID(uid);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3260|      2|    _PyUnicode_InternStatic(interp, &string);
 3261|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3262|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3263|      2|    string = &_Py_ID(unboundop);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|      2|    _PyUnicode_InternStatic(interp, &string);
 3265|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3266|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3267|      2|    string = &_Py_ID(unlink);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3268|      2|    _PyUnicode_InternStatic(interp, &string);
 3269|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3270|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3271|      2|    string = &_Py_ID(unraisablehook);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|      2|    _PyUnicode_InternStatic(interp, &string);
 3273|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3274|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3275|      2|    string = &_Py_ID(updates);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3276|      2|    _PyUnicode_InternStatic(interp, &string);
 3277|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3278|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3279|      2|    string = &_Py_ID(uri);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3280|      2|    _PyUnicode_InternStatic(interp, &string);
 3281|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3282|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3283|      2|    string = &_Py_ID(usedforsecurity);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3284|      2|    _PyUnicode_InternStatic(interp, &string);
 3285|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3286|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3287|      2|    string = &_Py_ID(utcoffset);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|      2|    _PyUnicode_InternStatic(interp, &string);
 3289|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3290|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3291|      2|    string = &_Py_ID(value);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3292|      2|    _PyUnicode_InternStatic(interp, &string);
 3293|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3294|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3295|      2|    string = &_Py_ID(values);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3296|      2|    _PyUnicode_InternStatic(interp, &string);
 3297|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3298|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3299|      2|    string = &_Py_ID(version);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3300|      2|    _PyUnicode_InternStatic(interp, &string);
 3301|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3302|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3303|      2|    string = &_Py_ID(volume);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3304|      2|    _PyUnicode_InternStatic(interp, &string);
 3305|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3306|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3307|      2|    string = &_Py_ID(wait_all);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3308|      2|    _PyUnicode_InternStatic(interp, &string);
 3309|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3310|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3311|      2|    string = &_Py_ID(warn_on_full_buffer);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|      2|    _PyUnicode_InternStatic(interp, &string);
 3313|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3314|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3315|      2|    string = &_Py_ID(warnings);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      2|    _PyUnicode_InternStatic(interp, &string);
 3317|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3318|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3319|      2|    string = &_Py_ID(warnoptions);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3320|      2|    _PyUnicode_InternStatic(interp, &string);
 3321|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3322|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3323|      2|    string = &_Py_ID(wbits);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|      2|    _PyUnicode_InternStatic(interp, &string);
 3325|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3326|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3327|      2|    string = &_Py_ID(week);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|      2|    _PyUnicode_InternStatic(interp, &string);
 3329|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3330|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3331|      2|    string = &_Py_ID(weekday);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3332|      2|    _PyUnicode_InternStatic(interp, &string);
 3333|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3334|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3335|      2|    string = &_Py_ID(weeks);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3336|      2|    _PyUnicode_InternStatic(interp, &string);
 3337|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3338|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3339|      2|    string = &_Py_ID(which);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|      2|    _PyUnicode_InternStatic(interp, &string);
 3341|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3342|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3343|      2|    string = &_Py_ID(who);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3344|      2|    _PyUnicode_InternStatic(interp, &string);
 3345|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3346|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3347|      2|    string = &_Py_ID(withdata);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3348|      2|    _PyUnicode_InternStatic(interp, &string);
 3349|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3350|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3351|      2|    string = &_Py_ID(wrapcol);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3352|      2|    _PyUnicode_InternStatic(interp, &string);
 3353|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3354|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3355|      2|    string = &_Py_ID(writable);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|      2|    _PyUnicode_InternStatic(interp, &string);
 3357|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3358|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3359|      2|    string = &_Py_ID(write);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3360|      2|    _PyUnicode_InternStatic(interp, &string);
 3361|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3362|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3363|      2|    string = &_Py_ID(write_through);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      2|    _PyUnicode_InternStatic(interp, &string);
 3365|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3366|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3367|      2|    string = &_Py_ID(year);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|      2|    _PyUnicode_InternStatic(interp, &string);
 3369|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3370|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3371|      2|    string = &_Py_ID(zdict);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|      2|    _PyUnicode_InternStatic(interp, &string);
 3373|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3374|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3375|      2|    string = &_Py_ID(zstd_dict);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3376|      2|    _PyUnicode_InternStatic(interp, &string);
 3377|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3378|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3379|      2|    string = &_Py_STR(empty);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|      2|    _PyUnicode_InternStatic(interp, &string);
 3381|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3382|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3383|      2|    string = &_Py_STR(dbl_percent);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3384|      2|    _PyUnicode_InternStatic(interp, &string);
 3385|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3386|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3387|      2|    string = &_Py_STR(dot_locals);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|      2|    _PyUnicode_InternStatic(interp, &string);
 3389|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3390|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3391|      2|    string = &_Py_STR(defaults);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|      2|    _PyUnicode_InternStatic(interp, &string);
 3393|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3394|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3395|      2|    string = &_Py_STR(format);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3396|      2|    _PyUnicode_InternStatic(interp, &string);
 3397|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3398|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3399|      2|    string = &_Py_STR(generic_base);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3400|      2|    _PyUnicode_InternStatic(interp, &string);
 3401|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3402|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3403|      2|    string = &_Py_STR(kwdefaults);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3404|      2|    _PyUnicode_InternStatic(interp, &string);
 3405|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3406|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3407|      2|    string = &_Py_STR(type_params);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3408|      2|    _PyUnicode_InternStatic(interp, &string);
 3409|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3410|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3411|      2|    string = &_Py_STR(str_replace_inf);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|      2|    _PyUnicode_InternStatic(interp, &string);
 3413|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3414|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3415|      2|    string = &_Py_STR(gc);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3416|      2|    _PyUnicode_InternStatic(interp, &string);
 3417|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3418|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3419|      2|    string = &_Py_STR(anon_null);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3420|      2|    _PyUnicode_InternStatic(interp, &string);
 3421|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3422|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3423|      2|    string = &_Py_STR(anon_dictcomp);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3424|      2|    _PyUnicode_InternStatic(interp, &string);
 3425|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3426|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3427|      2|    string = &_Py_STR(anon_genexpr);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3428|      2|    _PyUnicode_InternStatic(interp, &string);
 3429|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3430|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3431|      2|    string = &_Py_STR(anon_lambda);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3432|      2|    _PyUnicode_InternStatic(interp, &string);
 3433|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3434|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3435|      2|    string = &_Py_STR(anon_listcomp);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3436|      2|    _PyUnicode_InternStatic(interp, &string);
 3437|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3438|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3439|      2|    string = &_Py_STR(anon_module);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3440|      2|    _PyUnicode_InternStatic(interp, &string);
 3441|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3442|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3443|      2|    string = &_Py_STR(native);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3444|      2|    _PyUnicode_InternStatic(interp, &string);
 3445|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3446|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3447|      2|    string = &_Py_STR(anon_setcomp);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|      2|    _PyUnicode_InternStatic(interp, &string);
 3449|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3450|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3451|      2|    string = &_Py_STR(anon_string);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3452|      2|    _PyUnicode_InternStatic(interp, &string);
 3453|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3454|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3455|      2|    string = &_Py_STR(anon_unknown);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|      2|    _PyUnicode_InternStatic(interp, &string);
 3457|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3458|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3459|      2|    string = &_Py_STR(json_decoder);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      2|    _PyUnicode_InternStatic(interp, &string);
 3461|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3462|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3463|      2|    string = &_Py_STR(list_err);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|      2|    _PyUnicode_InternStatic(interp, &string);
 3465|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3466|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3467|      2|    string = &_Py_STR(utf_8);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|      2|    _PyUnicode_InternStatic(interp, &string);
 3469|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3470|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3471|      2|    string = &_Py_STR(dbl_open_br);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3472|      2|    _PyUnicode_InternStatic(interp, &string);
 3473|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3474|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
 3475|      2|    string = &_Py_STR(dbl_close_br);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3476|      2|    _PyUnicode_InternStatic(interp, &string);
 3477|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
 3478|       |    assert(PyUnicode_GET_LENGTH(string) != 1);
 3479|      2|}

typeobject.c:_PyWeakref_GET_REF:
   73|     60|{
   74|     60|    assert(PyWeakref_Check(ref_obj));
   75|     60|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|     60|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|     60|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|     60|    if (obj == Py_None) {
  ------------------
  |  |  616|     60|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 60]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|     60|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|     60|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 60, False: 0]
  ------------------
   92|     60|        UNLOCK_WEAKREFS(obj);
   93|     60|        return obj;
   94|     60|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|     60|}
weakrefobject.c:_PyWeakref_GET_REF:
   73|  1.51M|{
   74|  1.51M|    assert(PyWeakref_Check(ref_obj));
   75|  1.51M|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|  1.51M|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|  1.51M|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|  1.51M|    if (obj == Py_None) {
  ------------------
  |  |  616|  1.51M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 1.51M]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|  1.51M|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|  1.51M|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 1.51M, False: 0]
  ------------------
   92|  1.51M|        UNLOCK_WEAKREFS(obj);
   93|  1.51M|        return obj;
   94|  1.51M|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|  1.51M|}
import.c:_PyWeakref_GET_REF:
   73|      2|{
   74|      2|    assert(PyWeakref_Check(ref_obj));
   75|      2|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|      2|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|      2|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|      2|    if (obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 2]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      2|    LOCK_WEAKREFS(obj);
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    if (ref->wr_object == Py_None) {
   86|       |        // clear_weakref() was called
   87|       |        UNLOCK_WEAKREFS(obj);
   88|       |        return NULL;
   89|       |    }
   90|       |#endif
   91|      2|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 2, False: 0]
  ------------------
   92|      2|        UNLOCK_WEAKREFS(obj);
   93|      2|        return obj;
   94|      2|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|      2|}
_weakref.c:_PyWeakref_IS_DEAD:
  100|  1.57k|{
  101|  1.57k|    assert(PyWeakref_Check(ref_obj));
  102|  1.57k|    int ret = 0;
  103|  1.57k|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  104|  1.57k|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|  1.57k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  105|  1.57k|    if (obj == Py_None) {
  ------------------
  |  |  616|  1.57k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (105:9): [True: 1.57k, False: 0]
  ------------------
  106|       |        // clear_weakref() was called
  107|  1.57k|        ret = 1;
  108|  1.57k|    }
  109|      0|    else {
  110|      0|        LOCK_WEAKREFS(obj);
  111|       |        // See _PyWeakref_GET_REF() for the rationale of this test
  112|       |#ifdef Py_GIL_DISABLED
  113|       |        ret = (ref->wr_object == Py_None) || _is_dead(obj);
  114|       |#else
  115|      0|        ret = _is_dead(obj);
  116|      0|#endif
  117|      0|        UNLOCK_WEAKREFS(obj);
  118|      0|    }
  119|  1.57k|    return ret;
  120|  1.57k|}

bytesobject.c:Py_SET_TYPE:
  206|  14.6M|{
  207|  14.6M|    ob->ob_type = type;
  208|  14.6M|}
bytesobject.c:PyType_HasFeature:
  749|  24.4M|{
  750|  24.4M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  24.4M|    flags = type->tp_flags;
  756|  24.4M|#endif
  757|  24.4M|    return ((flags & feature) != 0);
  758|  24.4M|}
bytesobject.c:_Py_TYPE_impl:
  233|  57.5M|{
  234|  57.5M|    return ob->ob_type;
  235|  57.5M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|  16.8M|{
  249|  16.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  16.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  16.8M|}
bytesobject.c:_Py_SIZE_impl:
  240|  51.8M|{
  241|  51.8M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  51.8M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  51.8M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  51.8M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  51.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  51.8M|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  14.7M|{
  255|  14.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  14.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  14.7M|    ob->ob_size = size;
  261|  14.7M|#endif
  262|  14.7M|}
call.c:_Py_TYPE_impl:
  233|  58.1M|{
  234|  58.1M|    return ob->ob_type;
  235|  58.1M|}
call.c:PyType_HasFeature:
  749|  35.8M|{
  750|  35.8M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  35.8M|    flags = type->tp_flags;
  756|  35.8M|#endif
  757|  35.8M|    return ((flags & feature) != 0);
  758|  35.8M|}
call.c:_Py_SIZE_impl:
  240|  4.40M|{
  241|  4.40M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.40M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.40M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.40M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.40M|}
exceptions.c:_Py_SIZE_impl:
  240|   163k|{
  241|   163k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   163k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   163k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   163k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   163k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   163k|}
exceptions.c:PyType_HasFeature:
  749|  54.4k|{
  750|  54.4k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  54.4k|    flags = type->tp_flags;
  756|  54.4k|#endif
  757|  54.4k|    return ((flags & feature) != 0);
  758|  54.4k|}
exceptions.c:_Py_TYPE_impl:
  233|  4.92M|{
  234|  4.92M|    return ob->ob_type;
  235|  4.92M|}
exceptions.c:_Py_IS_TYPE_impl:
  248|  2.92M|{
  249|  2.92M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.92M|}
genericaliasobject.c:PyType_HasFeature:
  749|  1.11k|{
  750|  1.11k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.11k|    flags = type->tp_flags;
  756|  1.11k|#endif
  757|  1.11k|    return ((flags & feature) != 0);
  758|  1.11k|}
genericaliasobject.c:_Py_TYPE_impl:
  233|  1.27k|{
  234|  1.27k|    return ob->ob_type;
  235|  1.27k|}
genericaliasobject.c:_Py_SIZE_impl:
  240|    266|{
  241|    266|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    266|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    266|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    266|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    266|}
genericaliasobject.c:PyType_Check:
  762|    100|static inline int PyType_Check(PyObject *op) {
  763|    100|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    100|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    100|}
genericaliasobject.c:PyObject_TypeCheck:
  374|     76|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     76|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    152|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 12, False: 64]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     64|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 64]
  ------------------
  376|     76|}
genericaliasobject.c:_Py_IS_TYPE_impl:
  248|     80|{
  249|     80|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     80|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     80|}
floatobject.c:Py_SET_TYPE:
  206|  1.50k|{
  207|  1.50k|    ob->ob_type = type;
  208|  1.50k|}
floatobject.c:PyType_HasFeature:
  749|  2.85M|{
  750|  2.85M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.85M|    flags = type->tp_flags;
  756|  2.85M|#endif
  757|  2.85M|    return ((flags & feature) != 0);
  758|  2.85M|}
floatobject.c:_Py_TYPE_impl:
  233|  12.9M|{
  234|  12.9M|    return ob->ob_type;
  235|  12.9M|}
floatobject.c:PyObject_TypeCheck:
  374|  4.69M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.69M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  9.39M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.88M, False: 2.81M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.81M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 2.81M]
  ------------------
  376|  4.69M|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  7.31M|{
  249|  7.31M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.31M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.31M|}
listobject.c:_Py_SET_SIZE_impl:
  254|  23.0M|{
  255|  23.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  23.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  23.0M|    ob->ob_size = size;
  261|  23.0M|#endif
  262|  23.0M|}
listobject.c:PyType_HasFeature:
  749|  9.97M|{
  750|  9.97M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  9.97M|    flags = type->tp_flags;
  756|  9.97M|#endif
  757|  9.97M|    return ((flags & feature) != 0);
  758|  9.97M|}
listobject.c:_Py_TYPE_impl:
  233|  24.4M|{
  234|  24.4M|    return ob->ob_type;
  235|  24.4M|}
listobject.c:_Py_SIZE_impl:
  240|  31.9M|{
  241|  31.9M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  31.9M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  31.9M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  31.9M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  31.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  31.9M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  14.0M|{
  249|  14.0M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.0M|}
longobject.c:Py_SET_TYPE:
  206|  7.46M|{
  207|  7.46M|    ob->ob_type = type;
  208|  7.46M|}
longobject.c:PyType_HasFeature:
  749|  97.5M|{
  750|  97.5M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  97.5M|    flags = type->tp_flags;
  756|  97.5M|#endif
  757|  97.5M|    return ((flags & feature) != 0);
  758|  97.5M|}
longobject.c:_Py_TYPE_impl:
  233|   140M|{
  234|   140M|    return ob->ob_type;
  235|   140M|}
longobject.c:_Py_IS_TYPE_impl:
  248|  36.4M|{
  249|  36.4M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  36.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  36.4M|}
longobject.c:_Py_SIZE_impl:
  240|  8.13M|{
  241|  8.13M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  8.13M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  8.13M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  8.13M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  8.13M|}
longobject.c:PyObject_TypeCheck:
  374|  1.21k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.21k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.21k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  1.21k|}
dictobject.c:PyType_HasFeature:
  749|  55.8M|{
  750|  55.8M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  55.8M|    flags = type->tp_flags;
  756|  55.8M|#endif
  757|  55.8M|    return ((flags & feature) != 0);
  758|  55.8M|}
dictobject.c:_Py_TYPE_impl:
  233|   231M|{
  234|   231M|    return ob->ob_type;
  235|   231M|}
dictobject.c:PyObject_TypeCheck:
  374|  4.82M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.82M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  9.64M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 82, False: 4.82M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  4.82M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 4.82M]
  ------------------
  376|  4.82M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|   122M|{
  249|   122M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   122M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   122M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   122M|}
dictobject.c:_Py_SIZE_impl:
  240|  6.40k|{
  241|  6.40k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  6.40k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  6.40k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  6.40k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  6.40k|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|  1.01k|{
  249|  1.01k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.01k|}
memoryobject.c:_Py_TYPE_impl:
  233|  1.52k|{
  234|  1.52k|    return ob->ob_type;
  235|  1.52k|}
memoryobject.c:PyType_HasFeature:
  749|      6|{
  750|      6|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      6|    flags = type->tp_flags;
  756|      6|#endif
  757|      6|    return ((flags & feature) != 0);
  758|      6|}
memoryobject.c:_Py_SIZE_impl:
  240|    510|{
  241|    510|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    510|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    510|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    510|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    510|}
moduleobject.c:PyObject_TypeCheck:
  374|  18.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  18.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  36.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 18.3k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  18.3k|}
moduleobject.c:Py_SET_TYPE:
  206|    118|{
  207|    118|    ob->ob_type = type;
  208|    118|}
moduleobject.c:PyType_HasFeature:
  749|   787k|{
  750|   787k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   787k|    flags = type->tp_flags;
  756|   787k|#endif
  757|   787k|    return ((flags & feature) != 0);
  758|   787k|}
moduleobject.c:_Py_TYPE_impl:
  233|  2.45M|{
  234|  2.45M|    return ob->ob_type;
  235|  2.45M|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  1.66M|{
  249|  1.66M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.66M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.66M|}
moduleobject.c:_Py_SIZE_impl:
  240|    629|{
  241|    629|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    629|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    629|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    629|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    629|}
object.c:_Py_TYPE_impl:
  233|   487M|{
  234|   487M|    return ob->ob_type;
  235|   487M|}
object.c:PyType_HasFeature:
  749|  81.7M|{
  750|  81.7M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  81.7M|    flags = type->tp_flags;
  756|  81.7M|#endif
  757|  81.7M|    return ((flags & feature) != 0);
  758|  81.7M|}
object.c:Py_SET_TYPE:
  206|  45.2k|{
  207|  45.2k|    ob->ob_type = type;
  208|  45.2k|}
object.c:_Py_IS_TYPE_impl:
  248|  67.0M|{
  249|  67.0M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  67.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  67.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  67.0M|}
object.c:_Py_SIZE_impl:
  240|   108k|{
  241|   108k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   108k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   108k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   108k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   108k|}
object.c:_Py_SET_SIZE_impl:
  254|  27.6k|{
  255|  27.6k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  27.6k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  27.6k|    ob->ob_size = size;
  261|  27.6k|#endif
  262|  27.6k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|    430|{
  249|    430|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    430|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    430|}
rangeobject.c:_Py_TYPE_impl:
  233|  1.29k|{
  234|  1.29k|    return ob->ob_type;
  235|  1.29k|}
sentinelobject.c:_Py_TYPE_impl:
  233|     12|{
  234|     12|    return ob->ob_type;
  235|     12|}
sentinelobject.c:_Py_SIZE_impl:
  240|     10|{
  241|     10|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     10|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     10|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     10|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     10|}
sentinelobject.c:PyType_HasFeature:
  749|     12|{
  750|     12|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     12|    flags = type->tp_flags;
  756|     12|#endif
  757|     12|    return ((flags & feature) != 0);
  758|     12|}
setobject.c:_Py_IS_TYPE_impl:
  248|  3.60M|{
  249|  3.60M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.60M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.60M|}
setobject.c:_Py_TYPE_impl:
  233|  4.45M|{
  234|  4.45M|    return ob->ob_type;
  235|  4.45M|}
sliceobject.c:_Py_TYPE_impl:
  233|    430|{
  234|    430|    return ob->ob_type;
  235|    430|}
structseq.c:_Py_SET_SIZE_impl:
  254|  3.70k|{
  255|  3.70k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  3.70k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  3.70k|    ob->ob_size = size;
  261|  3.70k|#endif
  262|  3.70k|}
structseq.c:_Py_TYPE_impl:
  233|  7.40k|{
  234|  7.40k|    return ob->ob_type;
  235|  7.40k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
structseq.c:_Py_SIZE_impl:
  240|  3.69k|{
  241|  3.69k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  3.69k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  3.69k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.69k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.69k|}
templateobject.c:_Py_TYPE_impl:
  233|      8|{
  234|      8|    return ob->ob_type;
  235|      8|}
tupleobject.c:PyType_HasFeature:
  749|  8.84M|{
  750|  8.84M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  8.84M|    flags = type->tp_flags;
  756|  8.84M|#endif
  757|  8.84M|    return ((flags & feature) != 0);
  758|  8.84M|}
tupleobject.c:_Py_TYPE_impl:
  233|  67.7M|{
  234|  67.7M|    return ob->ob_type;
  235|  67.7M|}
tupleobject.c:_Py_SIZE_impl:
  240|   136M|{
  241|   136M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   136M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   136M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   136M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   136M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   136M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|  30.9M|{
  249|  30.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  30.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  30.9M|}
typeobject.c:PyType_Check:
  762|   549k|static inline int PyType_Check(PyObject *op) {
  763|   549k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   549k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   549k|}
typeobject.c:PyType_HasFeature:
  749|  22.6M|{
  750|  22.6M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  22.6M|    flags = type->tp_flags;
  756|  22.6M|#endif
  757|  22.6M|    return ((flags & feature) != 0);
  758|  22.6M|}
typeobject.c:_Py_TYPE_impl:
  233|   142M|{
  234|   142M|    return ob->ob_type;
  235|   142M|}
typeobject.c:Py_SET_TYPE:
  206|  12.3M|{
  207|  12.3M|    ob->ob_type = type;
  208|  12.3M|}
typeobject.c:_Py_SET_SIZE_impl:
  254|   113k|{
  255|   113k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|   113k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   113k|    ob->ob_size = size;
  261|   113k|#endif
  262|   113k|}
typeobject.c:_Py_SIZE_impl:
  240|  62.6M|{
  241|  62.6M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  62.6M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  62.6M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  62.6M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  62.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  62.6M|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  34.1M|{
  249|  34.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  34.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  34.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  34.1M|}
typeobject.c:PyObject_TypeCheck:
  374|  19.1M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  19.1M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  38.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  19.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 19.0M, False: 54.7k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  54.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 54.7k, False: 4]
  ------------------
  376|  19.1M|}
typevarobject.c:_Py_SIZE_impl:
  240|    520|{
  241|    520|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    520|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    520|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    520|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    520|}
typevarobject.c:PyType_HasFeature:
  749|     86|{
  750|     86|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     86|    flags = type->tp_flags;
  756|     86|#endif
  757|     86|    return ((flags & feature) != 0);
  758|     86|}
typevarobject.c:_Py_TYPE_impl:
  233|   301k|{
  234|   301k|    return ob->ob_type;
  235|   301k|}
typevarobject.c:_Py_IS_TYPE_impl:
  248|      4|{
  249|      4|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      4|}
unicode_format.c:PyType_HasFeature:
  749|   495k|{
  750|   495k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   495k|    flags = type->tp_flags;
  756|   495k|#endif
  757|   495k|    return ((flags & feature) != 0);
  758|   495k|}
unicode_format.c:_Py_TYPE_impl:
  233|   589k|{
  234|   589k|    return ob->ob_type;
  235|   589k|}
unicode_format.c:_Py_IS_TYPE_impl:
  248|  94.5k|{
  249|  94.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  94.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  94.5k|}
unicode_formatter.c:_Py_IS_TYPE_impl:
  248|  31.6k|{
  249|  31.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  31.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  31.6k|}
unicode_formatter.c:_Py_TYPE_impl:
  233|  31.6k|{
  234|  31.6k|    return ob->ob_type;
  235|  31.6k|}
unicode_writer.c:_Py_TYPE_impl:
  233|  81.3k|{
  234|  81.3k|    return ob->ob_type;
  235|  81.3k|}
unicode_writer.c:PyType_HasFeature:
  749|      4|{
  750|      4|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      4|    flags = type->tp_flags;
  756|      4|#endif
  757|      4|    return ((flags & feature) != 0);
  758|      4|}
unicodeobject.c:PyType_HasFeature:
  749|  37.4M|{
  750|  37.4M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  37.4M|    flags = type->tp_flags;
  756|  37.4M|#endif
  757|  37.4M|    return ((flags & feature) != 0);
  758|  37.4M|}
unicodeobject.c:_Py_TYPE_impl:
  233|  56.3M|{
  234|  56.3M|    return ob->ob_type;
  235|  56.3M|}
unicodeobject.c:Py_SET_TYPE:
  206|  5.67M|{
  207|  5.67M|    ob->ob_type = type;
  208|  5.67M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  13.3M|{
  249|  13.3M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  13.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  13.3M|}
unicodeobject.c:_Py_SIZE_impl:
  240|   157k|{
  241|   157k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   157k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   157k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   157k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   157k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|  1.40k|{
  255|  1.40k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  1.40k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.40k|    ob->ob_size = size;
  261|  1.40k|#endif
  262|  1.40k|}
unionobject.c:PyType_Check:
  762|    854|static inline int PyType_Check(PyObject *op) {
  763|    854|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    854|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    854|}
unionobject.c:PyType_HasFeature:
  749|  1.33k|{
  750|  1.33k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.33k|    flags = type->tp_flags;
  756|  1.33k|#endif
  757|  1.33k|    return ((flags & feature) != 0);
  758|  1.33k|}
unionobject.c:_Py_TYPE_impl:
  233|  2.90k|{
  234|  2.90k|    return ob->ob_type;
  235|  2.90k|}
unionobject.c:PyObject_TypeCheck:
  374|    158|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    158|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    316|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 88, False: 70]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 18, False: 52]
  ------------------
  376|    158|}
unionobject.c:_Py_IS_TYPE_impl:
  248|  1.42k|{
  249|  1.42k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.42k|}
unionobject.c:_Py_SIZE_impl:
  240|    564|{
  241|    564|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    564|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    564|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    564|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    564|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    564|}
weakrefobject.c:_Py_TYPE_impl:
  233|  6.16M|{
  234|  6.16M|    return ob->ob_type;
  235|  6.16M|}
weakrefobject.c:PyType_Check:
  762|  1.77M|static inline int PyType_Check(PyObject *op) {
  763|  1.77M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.77M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.77M|}
weakrefobject.c:PyType_HasFeature:
  749|  1.77M|{
  750|  1.77M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.77M|    flags = type->tp_flags;
  756|  1.77M|#endif
  757|  1.77M|    return ((flags & feature) != 0);
  758|  1.77M|}
weakrefobject.c:PyObject_TypeCheck:
  374|   553k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   553k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.10M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   553k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   553k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 553k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|   553k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|   896k|{
  249|   896k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   896k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   896k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   896k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   896k|}
bltinmodule.c:_Py_TYPE_impl:
  233|  14.2M|{
  234|  14.2M|    return ob->ob_type;
  235|  14.2M|}
bltinmodule.c:_Py_SIZE_impl:
  240|  58.7k|{
  241|  58.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  58.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  58.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  58.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  58.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  58.7k|}
bltinmodule.c:PyType_HasFeature:
  749|  67.0k|{
  750|  67.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  67.0k|    flags = type->tp_flags;
  756|  67.0k|#endif
  757|  67.0k|    return ((flags & feature) != 0);
  758|  67.0k|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|  14.1M|{
  249|  14.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.1M|}
bltinmodule.c:PyType_Check:
  762|  3.67k|static inline int PyType_Check(PyObject *op) {
  763|  3.67k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  3.67k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  3.67k|}
bltinmodule.c:PyObject_TypeCheck:
  374|     76|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     76|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    152|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 76]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     76|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 76]
  ------------------
  376|     76|}
ceval.c:_Py_TYPE_impl:
  233|   600M|{
  234|   600M|    return ob->ob_type;
  235|   600M|}
ceval.c:PyType_Check:
  762|  3.91M|static inline int PyType_Check(PyObject *op) {
  763|  3.91M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  3.91M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  3.91M|}
ceval.c:PyType_HasFeature:
  749|  19.3M|{
  750|  19.3M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  19.3M|    flags = type->tp_flags;
  756|  19.3M|#endif
  757|  19.3M|    return ((flags & feature) != 0);
  758|  19.3M|}
ceval.c:_Py_IS_TYPE_impl:
  248|   193M|{
  249|   193M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   193M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   193M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   193M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   193M|}
ceval.c:PyObject_TypeCheck:
  374|      2|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      2|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|      2|}
ceval.c:_Py_SIZE_impl:
  240|  37.2M|{
  241|  37.2M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  37.2M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  37.2M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  37.2M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  37.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  37.2M|}
ceval.c:_Py_SET_SIZE_impl:
  254|  1.72M|{
  255|  1.72M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  1.72M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.72M|    ob->ob_size = size;
  261|  1.72M|#endif
  262|  1.72M|}
codecs.c:_Py_SIZE_impl:
  240|      4|{
  241|      4|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      4|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      4|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      4|}
codecs.c:PyType_HasFeature:
  749|  4.91k|{
  750|  4.91k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.91k|    flags = type->tp_flags;
  756|  4.91k|#endif
  757|  4.91k|    return ((flags & feature) != 0);
  758|  4.91k|}
codecs.c:_Py_TYPE_impl:
  233|  9.84k|{
  234|  9.84k|    return ob->ob_type;
  235|  9.84k|}
codecs.c:_Py_IS_TYPE_impl:
  248|     14|{
  249|     14|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     14|}
codegen.c:PyType_HasFeature:
  749|      4|{
  750|      4|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      4|    flags = type->tp_flags;
  756|      4|#endif
  757|      4|    return ((flags & feature) != 0);
  758|      4|}
compile.c:_Py_SIZE_impl:
  240|  3.88k|{
  241|  3.88k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  3.88k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  3.88k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.88k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.88k|}
compile.c:_Py_IS_TYPE_impl:
  248|  9.93k|{
  249|  9.93k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.93k|}
compile.c:_Py_TYPE_impl:
  233|  9.93k|{
  234|  9.93k|    return ob->ob_type;
  235|  9.93k|}
context.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
context.c:PyType_HasFeature:
  749|     10|{
  750|     10|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     10|    flags = type->tp_flags;
  756|     10|#endif
  757|     10|    return ((flags & feature) != 0);
  758|     10|}
errors.c:_Py_TYPE_impl:
  233|  48.6M|{
  234|  48.6M|    return ob->ob_type;
  235|  48.6M|}
errors.c:PyType_Check:
  762|  15.9M|static inline int PyType_Check(PyObject *op) {
  763|  15.9M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  15.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  15.9M|}
errors.c:PyType_HasFeature:
  749|  52.9M|{
  750|  52.9M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  52.9M|    flags = type->tp_flags;
  756|  52.9M|#endif
  757|  52.9M|    return ((flags & feature) != 0);
  758|  52.9M|}
flowgraph.c:_Py_SIZE_impl:
  240|  8.14k|{
  241|  8.14k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  8.14k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  8.14k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  8.14k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  8.14k|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|  6.63k|{
  249|  6.63k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.63k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.63k|}
flowgraph.c:_Py_TYPE_impl:
  233|  6.63k|{
  234|  6.63k|    return ob->ob_type;
  235|  6.63k|}
gc.c:_Py_SIZE_impl:
  240|  9.64k|{
  241|  9.64k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  9.64k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  9.64k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  9.64k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  9.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  9.64k|}
gc.c:_Py_IS_TYPE_impl:
  248|  11.7M|{
  249|  11.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  11.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  11.7M|}
gc.c:PyObject_TypeCheck:
  374|  3.68M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.68M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  7.37M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 3.68M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  3.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 3.68M]
  ------------------
  376|  3.68M|}
gc.c:Py_SET_TYPE:
  206|  19.2M|{
  207|  19.2M|    ob->ob_type = type;
  208|  19.2M|}
gc.c:_Py_TYPE_impl:
  233|   104M|{
  234|   104M|    return ob->ob_type;
  235|   104M|}
gc.c:_Py_SET_SIZE_impl:
  254|  4.17M|{
  255|  4.17M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  4.17M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  4.17M|    ob->ob_size = size;
  261|  4.17M|#endif
  262|  4.17M|}
getargs.c:PyType_HasFeature:
  749|  3.06M|{
  750|  3.06M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  3.06M|    flags = type->tp_flags;
  756|  3.06M|#endif
  757|  3.06M|    return ((flags & feature) != 0);
  758|  3.06M|}
getargs.c:_Py_TYPE_impl:
  233|  3.06M|{
  234|  3.06M|    return ob->ob_type;
  235|  3.06M|}
getargs.c:_Py_SIZE_impl:
  240|  3.65M|{
  241|  3.65M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  3.65M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  3.65M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.65M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.65M|}
getargs.c:_Py_IS_TYPE_impl:
  248|    704|{
  249|    704|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    704|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    704|}
import.c:_Py_SIZE_impl:
  240|     58|{
  241|     58|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     58|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     58|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     58|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     58|}
import.c:PyObject_TypeCheck:
  374|    618|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    618|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.23k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 618, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|    618|}
import.c:_Py_IS_TYPE_impl:
  248|    658|{
  249|    658|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    658|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    658|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    658|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    658|}
import.c:PyType_HasFeature:
  749|   797k|{
  750|   797k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   797k|    flags = type->tp_flags;
  756|   797k|#endif
  757|   797k|    return ((flags & feature) != 0);
  758|   797k|}
import.c:_Py_TYPE_impl:
  233|   797k|{
  234|   797k|    return ob->ob_type;
  235|   797k|}
importdl.c:PyType_HasFeature:
  749|    100|{
  750|    100|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    100|    flags = type->tp_flags;
  756|    100|#endif
  757|    100|    return ((flags & feature) != 0);
  758|    100|}
importdl.c:_Py_TYPE_impl:
  233|    320|{
  234|    320|    return ob->ob_type;
  235|    320|}
importdl.c:_Py_IS_TYPE_impl:
  248|    220|{
  249|    220|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    220|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    220|}
importdl.c:PyObject_TypeCheck:
  374|    110|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    110|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    220|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 110, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|    110|}
initconfig.c:PyType_HasFeature:
  749|     40|{
  750|     40|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     40|    flags = type->tp_flags;
  756|     40|#endif
  757|     40|    return ((flags & feature) != 0);
  758|     40|}
initconfig.c:_Py_TYPE_impl:
  233|     56|{
  234|     56|    return ob->ob_type;
  235|     56|}
initconfig.c:_Py_SIZE_impl:
  240|      8|{
  241|      8|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      8|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      8|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      8|}
initconfig.c:_Py_IS_TYPE_impl:
  248|     16|{
  249|     16|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     16|}
intrinsics.c:PyType_HasFeature:
  749|  4.25k|{
  750|  4.25k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.25k|    flags = type->tp_flags;
  756|  4.25k|#endif
  757|  4.25k|    return ((flags & feature) != 0);
  758|  4.25k|}
intrinsics.c:_Py_TYPE_impl:
  233|  8.27k|{
  234|  8.27k|    return ob->ob_type;
  235|  8.27k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  4.01k|{
  249|  4.01k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.01k|}
marshal.c:_Py_SIZE_impl:
  240|   256k|{
  241|   256k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   256k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   256k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   256k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   256k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   256k|}
modsupport.c:_Py_TYPE_impl:
  233|  2.79k|{
  234|  2.79k|    return ob->ob_type;
  235|  2.79k|}
modsupport.c:PyObject_TypeCheck:
  374|  2.71k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.71k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  5.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.71k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  2.71k|}
modsupport.c:_Py_IS_TYPE_impl:
  248|  2.71k|{
  249|  2.71k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.71k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.71k|}
pylifecycle.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
pylifecycle.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pythonrun.c:PyType_HasFeature:
  749|  54.6k|{
  750|  54.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  54.6k|    flags = type->tp_flags;
  756|  54.6k|#endif
  757|  54.6k|    return ((flags & feature) != 0);
  758|  54.6k|}
pythonrun.c:_Py_TYPE_impl:
  233|  54.6k|{
  234|  54.6k|    return ob->ob_type;
  235|  54.6k|}
specialize.c:PyType_Check:
  762|   307k|static inline int PyType_Check(PyObject *op) {
  763|   307k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   307k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   307k|}
specialize.c:_Py_TYPE_impl:
  233|  23.5M|{
  234|  23.5M|    return ob->ob_type;
  235|  23.5M|}
specialize.c:_Py_IS_TYPE_impl:
  248|  21.4M|{
  249|  21.4M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  21.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  21.4M|}
specialize.c:PyObject_TypeCheck:
  374|    880|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    880|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.76k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 758, False: 122]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    122|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 122, False: 0]
  ------------------
  376|    880|}
specialize.c:_Py_SIZE_impl:
  240|    626|{
  241|    626|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    626|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    626|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    626|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    626|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    626|}
specialize.c:PyType_HasFeature:
  749|   307k|{
  750|   307k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   307k|    flags = type->tp_flags;
  756|   307k|#endif
  757|   307k|    return ((flags & feature) != 0);
  758|   307k|}
structmember.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
structmember.c:_Py_IS_TYPE_impl:
  248|      2|{
  249|      2|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|}
symtable.c:_Py_SIZE_impl:
  240|  4.46k|{
  241|  4.46k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.46k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.46k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.46k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.46k|}
symtable.c:PyType_HasFeature:
  749|    624|{
  750|    624|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    624|    flags = type->tp_flags;
  756|    624|#endif
  757|    624|    return ((flags & feature) != 0);
  758|    624|}
symtable.c:_Py_TYPE_impl:
  233|    624|{
  234|    624|    return ob->ob_type;
  235|    624|}
sysmodule.c:PyType_HasFeature:
  749|  1.27k|{
  750|  1.27k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.27k|    flags = type->tp_flags;
  756|  1.27k|#endif
  757|  1.27k|    return ((flags & feature) != 0);
  758|  1.27k|}
sysmodule.c:_Py_TYPE_impl:
  233|  1.87k|{
  234|  1.87k|    return ob->ob_type;
  235|  1.87k|}
sysmodule.c:_Py_IS_TYPE_impl:
  248|    598|{
  249|    598|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    598|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    598|}
traceback.c:_Py_IS_TYPE_impl:
  248|  3.82M|{
  249|  3.82M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.82M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.82M|}
traceback.c:_Py_TYPE_impl:
  233|  3.82M|{
  234|  3.82M|    return ob->ob_type;
  235|  3.82M|}
atexitmodule.c:_Py_SIZE_impl:
  240|      4|{
  241|      4|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      4|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      4|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      4|}
posixmodule.c:_Py_SIZE_impl:
  240|  4.07k|{
  241|  4.07k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.07k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.07k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.07k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.07k|}
posixmodule.c:_Py_TYPE_impl:
  233|   124k|{
  234|   124k|    return ob->ob_type;
  235|   124k|}
posixmodule.c:PyType_HasFeature:
  749|   124k|{
  750|   124k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   124k|    flags = type->tp_flags;
  756|   124k|#endif
  757|   124k|    return ((flags & feature) != 0);
  758|   124k|}
_datetimemodule.c:PyObject_TypeCheck:
  374|     22|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     22|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     44|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 18]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 2, False: 16]
  ------------------
  376|     22|}
_datetimemodule.c:_Py_IS_TYPE_impl:
  248|     22|{
  249|     22|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     22|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     22|}
_datetimemodule.c:_Py_TYPE_impl:
  233|    162|{
  234|    162|    return ob->ob_type;
  235|    162|}
_datetimemodule.c:PyType_HasFeature:
  749|    120|{
  750|    120|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    120|    flags = type->tp_flags;
  756|    120|#endif
  757|    120|    return ((flags & feature) != 0);
  758|    120|}
_datetimemodule.c:_Py_SIZE_impl:
  240|    104|{
  241|    104|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    104|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    104|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    104|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    104|}
_datetimemodule.c:Py_SET_TYPE:
  206|     10|{
  207|     10|    ob->ob_type = type;
  208|     10|}
_codecsmodule.c:PyType_HasFeature:
  749|     74|{
  750|     74|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     74|    flags = type->tp_flags;
  756|     74|#endif
  757|     74|    return ((flags & feature) != 0);
  758|     74|}
_codecsmodule.c:_Py_TYPE_impl:
  233|     74|{
  234|     74|    return ob->ob_type;
  235|     74|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|  76.9k|{
  234|  76.9k|    return ob->ob_type;
  235|  76.9k|}
_collectionsmodule.c:PyType_HasFeature:
  749|  12.1k|{
  750|  12.1k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  12.1k|    flags = type->tp_flags;
  756|  12.1k|#endif
  757|  12.1k|    return ((flags & feature) != 0);
  758|  12.1k|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|  13.7k|{
  241|  13.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  13.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  13.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  13.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  13.7k|}
_collectionsmodule.c:_Py_SET_SIZE_impl:
  254|    460|{
  255|    460|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|    460|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    460|    ob->ob_size = size;
  261|    460|#endif
  262|    460|}
_iomodule.c:_Py_TYPE_impl:
  233|  1.55k|{
  234|  1.55k|    return ob->ob_type;
  235|  1.55k|}
_iomodule.c:PyType_HasFeature:
  749|  1.55k|{
  750|  1.55k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.55k|    flags = type->tp_flags;
  756|  1.55k|#endif
  757|  1.55k|    return ((flags & feature) != 0);
  758|  1.55k|}
iobase.c:_Py_TYPE_impl:
  233|     28|{
  234|     28|    return ob->ob_type;
  235|     28|}
fileio.c:_Py_TYPE_impl:
  233|  1.67k|{
  234|  1.67k|    return ob->ob_type;
  235|  1.67k|}
fileio.c:_Py_SIZE_impl:
  240|    526|{
  241|    526|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    526|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    526|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    526|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    526|}
fileio.c:PyType_HasFeature:
  749|    526|{
  750|    526|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    526|    flags = type->tp_flags;
  756|    526|#endif
  757|    526|    return ((flags & feature) != 0);
  758|    526|}
fileio.c:_Py_IS_TYPE_impl:
  248|    526|{
  249|    526|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    526|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    526|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    526|}
bytesio.c:_Py_TYPE_impl:
  233|  15.4k|{
  234|  15.4k|    return ob->ob_type;
  235|  15.4k|}
bytesio.c:_Py_SIZE_impl:
  240|  25.6k|{
  241|  25.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  25.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  25.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  25.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  25.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  25.6k|}
bytesio.c:_Py_IS_TYPE_impl:
  248|  2.38k|{
  249|  2.38k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.38k|}
bufferedio.c:_Py_SIZE_impl:
  240|    528|{
  241|    528|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    528|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    528|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    528|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    528|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    528|}
bufferedio.c:PyType_HasFeature:
  749|  1.02k|{
  750|  1.02k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.02k|    flags = type->tp_flags;
  756|  1.02k|#endif
  757|  1.02k|    return ((flags & feature) != 0);
  758|  1.02k|}
bufferedio.c:_Py_TYPE_impl:
  233|  3.24k|{
  234|  3.24k|    return ob->ob_type;
  235|  3.24k|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|  1.05k|{
  249|  1.05k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.05k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.05k|}
textio.c:_Py_SIZE_impl:
  240|     22|{
  241|     22|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     22|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     22|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     22|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     22|}
textio.c:PyType_HasFeature:
  749|    130|{
  750|    130|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    130|    flags = type->tp_flags;
  756|    130|#endif
  757|    130|    return ((flags & feature) != 0);
  758|    130|}
textio.c:_Py_TYPE_impl:
  233|  16.6k|{
  234|  16.6k|    return ob->ob_type;
  235|  16.6k|}
textio.c:_Py_IS_TYPE_impl:
  248|  16.3k|{
  249|  16.3k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  16.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  16.3k|}
stringio.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
stringio.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
stringio.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|  2.38k|{
  234|  2.38k|    return ob->ob_type;
  235|  2.38k|}
itertoolsmodule.c:_Py_SIZE_impl:
  240|  1.02k|{
  241|  1.02k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  1.02k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  1.02k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.02k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.02k|}
itertoolsmodule.c:PyType_HasFeature:
  749|      4|{
  750|      4|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      4|    flags = type->tp_flags;
  756|      4|#endif
  757|      4|    return ((flags & feature) != 0);
  758|      4|}
itertoolsmodule.c:Py_SET_TYPE:
  206|      2|{
  207|      2|    ob->ob_type = type;
  208|      2|}
sre.c:PyType_HasFeature:
  749|    564|{
  750|    564|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    564|    flags = type->tp_flags;
  756|    564|#endif
  757|    564|    return ((flags & feature) != 0);
  758|    564|}
sre.c:_Py_TYPE_impl:
  233|  2.21k|{
  234|  2.21k|    return ob->ob_type;
  235|  2.21k|}
sre.c:_Py_SIZE_impl:
  240|    142|{
  241|    142|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    142|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    142|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    142|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    142|}
_threadmodule.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
_threadmodule.c:_Py_TYPE_impl:
  233|  15.1M|{
  234|  15.1M|    return ob->ob_type;
  235|  15.1M|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|  7.34M|{
  249|  7.34M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.34M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.34M|}
_weakref.c:PyType_HasFeature:
  749|  1.57k|{
  750|  1.57k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.57k|    flags = type->tp_flags;
  756|  1.57k|#endif
  757|  1.57k|    return ((flags & feature) != 0);
  758|  1.57k|}
_weakref.c:_Py_TYPE_impl:
  233|  4.72k|{
  234|  4.72k|    return ob->ob_type;
  235|  4.72k|}
_weakref.c:PyObject_TypeCheck:
  374|  1.57k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.57k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  3.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 1.57k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  1.57k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 1.57k, False: 0]
  ------------------
  376|  1.57k|}
_weakref.c:_Py_IS_TYPE_impl:
  248|  1.57k|{
  249|  1.57k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.57k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.57k|}
_abc.c:_Py_SIZE_impl:
  240|  8.56k|{
  241|  8.56k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  8.56k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  8.56k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  8.56k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  8.56k|}
_abc.c:PyType_HasFeature:
  749|  31.0k|{
  750|  31.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  31.0k|    flags = type->tp_flags;
  756|  31.0k|#endif
  757|  31.0k|    return ((flags & feature) != 0);
  758|  31.0k|}
_abc.c:_Py_TYPE_impl:
  233|   114k|{
  234|   114k|    return ob->ob_type;
  235|   114k|}
_abc.c:PyType_Check:
  762|  19.3k|static inline int PyType_Check(PyObject *op) {
  763|  19.3k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  19.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  19.3k|}
_abc.c:_Py_IS_TYPE_impl:
  248|  56.2k|{
  249|  56.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  56.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  56.2k|}
_functoolsmodule.c:_Py_SIZE_impl:
  240|  62.0k|{
  241|  62.0k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  62.0k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  62.0k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  62.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  62.0k|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|  44.6k|{
  234|  44.6k|    return ob->ob_type;
  235|  44.6k|}
_functoolsmodule.c:PyType_HasFeature:
  749|  4.11k|{
  750|  4.11k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.11k|    flags = type->tp_flags;
  756|  4.11k|#endif
  757|  4.11k|    return ((flags & feature) != 0);
  758|  4.11k|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|  12.5k|{
  249|  12.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.5k|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|  12.2k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  12.2k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  24.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 12.2k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  12.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 12.2k]
  ------------------
  376|  12.2k|}
_operator.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
_operator.c:_Py_TYPE_impl:
  233|    142|{
  234|    142|    return ob->ob_type;
  235|    142|}
_operator.c:_Py_SIZE_impl:
  240|      8|{
  241|      8|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      8|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      8|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      8|}
_operator.c:_Py_IS_TYPE_impl:
  248|     12|{
  249|     12|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     12|}
_stat.c:PyType_HasFeature:
  749|  1.74k|{
  750|  1.74k|    unsigned long flags;
  751|  1.74k|#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|  1.74k|    flags = PyType_GetFlags(type);
  754|       |#else
  755|       |    flags = type->tp_flags;
  756|       |#endif
  757|  1.74k|    return ((flags & feature) != 0);
  758|  1.74k|}
_stat.c:_Py_TYPE_impl:
  233|  1.74k|{
  234|  1.74k|    return ob->ob_type;
  235|  1.74k|}
getpath.c:_Py_IS_TYPE_impl:
  248|      2|{
  249|      2|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|}
getpath.c:_Py_TYPE_impl:
  233|     56|{
  234|     56|    return ob->ob_type;
  235|     56|}
getpath.c:PyType_HasFeature:
  749|     54|{
  750|     54|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     54|    flags = type->tp_flags;
  756|     54|#endif
  757|     54|    return ((flags & feature) != 0);
  758|     54|}
getpath.c:_Py_SIZE_impl:
  240|     18|{
  241|     18|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     18|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     18|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     18|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     18|}
abstract.c:_Py_TYPE_impl:
  233|   302M|{
  234|   302M|    return ob->ob_type;
  235|   302M|}
abstract.c:PyType_HasFeature:
  749|  20.4M|{
  750|  20.4M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  20.4M|    flags = type->tp_flags;
  756|  20.4M|#endif
  757|  20.4M|    return ((flags & feature) != 0);
  758|  20.4M|}
abstract.c:PyType_Check:
  762|  2.50M|static inline int PyType_Check(PyObject *op) {
  763|  2.50M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.50M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.50M|}
abstract.c:_Py_IS_TYPE_impl:
  248|  44.1M|{
  249|  44.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  44.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  44.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  44.1M|}
abstract.c:PyObject_TypeCheck:
  374|  2.46M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.46M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.93M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 2.46M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.46M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 92.4k, False: 2.37M]
  ------------------
  376|  2.46M|}
abstract.c:_Py_SIZE_impl:
  240|   754k|{
  241|   754k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   754k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   754k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   754k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   754k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   754k|}
abstract.c:_Py_SET_SIZE_impl:
  254|    312|{
  255|    312|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|    312|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    312|    ob->ob_size = size;
  261|    312|#endif
  262|    312|}
abstract.c:PyType_CheckExact:
  772|  3.60M|static inline int PyType_CheckExact(PyObject *op) {
  773|  3.60M|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  3.60M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  3.60M|}
bytes_methods.c:_Py_TYPE_impl:
  233|  1.10k|{
  234|  1.10k|    return ob->ob_type;
  235|  1.10k|}
bytes_methods.c:PyType_HasFeature:
  749|     48|{
  750|     48|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     48|    flags = type->tp_flags;
  756|     48|#endif
  757|     48|    return ((flags & feature) != 0);
  758|     48|}
bytes_methods.c:_Py_SIZE_impl:
  240|     52|{
  241|     52|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     52|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     52|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     52|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     52|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|  24.1M|{
  255|  24.1M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  24.1M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  24.1M|    ob->ob_size = size;
  261|  24.1M|#endif
  262|  24.1M|}
bytearrayobject.c:_Py_SIZE_impl:
  240|  64.4M|{
  241|  64.4M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  64.4M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  64.4M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  64.4M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  64.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  64.4M|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  56.3M|{
  234|  56.3M|    return ob->ob_type;
  235|  56.3M|}
bytearrayobject.c:PyObject_TypeCheck:
  374|  8.04M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.04M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  16.0M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 8.04M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  8.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 8.04M]
  ------------------
  376|  8.04M|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|  8.05M|{
  249|  8.05M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.05M|}
bytearrayobject.c:PyType_HasFeature:
  749|  8.05M|{
  750|  8.05M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  8.05M|    flags = type->tp_flags;
  756|  8.05M|#endif
  757|  8.05M|    return ((flags & feature) != 0);
  758|  8.05M|}
capsule.c:_Py_IS_TYPE_impl:
  248|  1.01k|{
  249|  1.01k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.01k|}
capsule.c:_Py_TYPE_impl:
  233|  1.01k|{
  234|  1.01k|    return ob->ob_type;
  235|  1.01k|}
cellobject.c:_Py_IS_TYPE_impl:
  248|  1.92k|{
  249|  1.92k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.92k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.92k|}
cellobject.c:_Py_TYPE_impl:
  233|  1.92k|{
  234|  1.92k|    return ob->ob_type;
  235|  1.92k|}
classobject.c:_Py_TYPE_impl:
  233|     94|{
  234|     94|    return ob->ob_type;
  235|     94|}
classobject.c:_Py_SIZE_impl:
  240|     20|{
  241|     20|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     20|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     20|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     20|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     20|}
codeobject.c:PyType_HasFeature:
  749|   292k|{
  750|   292k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   292k|    flags = type->tp_flags;
  756|   292k|#endif
  757|   292k|    return ((flags & feature) != 0);
  758|   292k|}
codeobject.c:_Py_TYPE_impl:
  233|   810k|{
  234|   810k|    return ob->ob_type;
  235|   810k|}
codeobject.c:_Py_SIZE_impl:
  240|   508k|{
  241|   508k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   508k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   508k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   508k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   508k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   508k|}
codeobject.c:_Py_IS_TYPE_impl:
  248|   516k|{
  249|   516k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   516k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   516k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   516k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   516k|}
complexobject.c:Py_SET_TYPE:
  206|      2|{
  207|      2|    ob->ob_type = type;
  208|      2|}
descrobject.c:PyType_HasFeature:
  749|  8.09M|{
  750|  8.09M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  8.09M|    flags = type->tp_flags;
  756|  8.09M|#endif
  757|  8.09M|    return ((flags & feature) != 0);
  758|  8.09M|}
descrobject.c:PyObject_TypeCheck:
  374|  8.13M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.13M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  16.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5.16M, False: 2.97M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.97M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 2.97M, False: 0]
  ------------------
  376|  8.13M|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  8.14M|{
  249|  8.14M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.14M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.14M|}
descrobject.c:PyType_Check:
  762|  8.06M|static inline int PyType_Check(PyObject *op) {
  763|  8.06M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  8.06M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  8.06M|}
descrobject.c:_Py_SIZE_impl:
  240|  25.4k|{
  241|  25.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  25.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  25.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  25.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  25.4k|}
descrobject.c:_Py_TYPE_impl:
  233|  26.5M|{
  234|  26.5M|    return ob->ob_type;
  235|  26.5M|}
enumobject.c:_Py_TYPE_impl:
  233|  21.4k|{
  234|  21.4k|    return ob->ob_type;
  235|  21.4k|}
enumobject.c:PyType_HasFeature:
  749|    388|{
  750|    388|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    388|    flags = type->tp_flags;
  756|    388|#endif
  757|    388|    return ((flags & feature) != 0);
  758|    388|}
genobject.c:PyType_Check:
  762|  23.3k|static inline int PyType_Check(PyObject *op) {
  763|  23.3k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  23.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  23.3k|}
genobject.c:PyType_HasFeature:
  749|  46.6k|{
  750|  46.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  46.6k|    flags = type->tp_flags;
  756|  46.6k|#endif
  757|  46.6k|    return ((flags & feature) != 0);
  758|  46.6k|}
genobject.c:_Py_IS_TYPE_impl:
  248|  3.16M|{
  249|  3.16M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.16M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.16M|}
genobject.c:_Py_TYPE_impl:
  233|  3.23M|{
  234|  3.23M|    return ob->ob_type;
  235|  3.23M|}
fileobject.c:PyType_HasFeature:
  749|    502|{
  750|    502|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    502|    flags = type->tp_flags;
  756|    502|#endif
  757|    502|    return ((flags & feature) != 0);
  758|    502|}
fileobject.c:_Py_TYPE_impl:
  233|    502|{
  234|    502|    return ob->ob_type;
  235|    502|}
frameobject.c:_Py_IS_TYPE_impl:
  248|      6|{
  249|      6|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|}
frameobject.c:_Py_SIZE_impl:
  240|      6|{
  241|      6|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      6|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      6|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      6|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      6|}
frameobject.c:_Py_TYPE_impl:
  233|     12|{
  234|     12|    return ob->ob_type;
  235|     12|}
funcobject.c:PyType_HasFeature:
  749|  32.6k|{
  750|  32.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  32.6k|    flags = type->tp_flags;
  756|  32.6k|#endif
  757|  32.6k|    return ((flags & feature) != 0);
  758|  32.6k|}
funcobject.c:_Py_TYPE_impl:
  233|  44.8k|{
  234|  44.8k|    return ob->ob_type;
  235|  44.8k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  12.1k|{
  249|  12.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.1k|}
funcobject.c:PyObject_TypeCheck:
  374|     18|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     18|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 18, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     18|}
funcobject.c:_Py_SIZE_impl:
  240|  4.06k|{
  241|  4.06k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.06k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.06k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.06k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.06k|}
interpolationobject.c:_Py_TYPE_impl:
  233|      4|{
  234|      4|    return ob->ob_type;
  235|      4|}
iterobject.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
iterobject.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
lazyimportobject.c:PyType_HasFeature:
  749|    106|{
  750|    106|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    106|    flags = type->tp_flags;
  756|    106|#endif
  757|    106|    return ((flags & feature) != 0);
  758|    106|}
lazyimportobject.c:_Py_TYPE_impl:
  233|    124|{
  234|    124|    return ob->ob_type;
  235|    124|}
odictobject.c:_Py_TYPE_impl:
  233|  16.1k|{
  234|  16.1k|    return ob->ob_type;
  235|  16.1k|}
odictobject.c:_Py_IS_TYPE_impl:
  248|  16.1k|{
  249|  16.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  16.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  16.1k|}
odictobject.c:_Py_SIZE_impl:
  240|  12.1k|{
  241|  12.1k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  12.1k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  12.1k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.1k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.1k|}
methodobject.c:PyObject_TypeCheck:
  374|   108k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   108k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   217k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 54.2k, False: 54.2k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  54.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 54.2k]
  ------------------
  376|   108k|}
methodobject.c:_Py_IS_TYPE_impl:
  248|   108k|{
  249|   108k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   108k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   108k|}
methodobject.c:_Py_TYPE_impl:
  233|   162k|{
  234|   162k|    return ob->ob_type;
  235|   162k|}
methodobject.c:PyType_Check:
  762|      6|static inline int PyType_Check(PyObject *op) {
  763|      6|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      6|}
methodobject.c:PyType_HasFeature:
  749|     12|{
  750|     12|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     12|    flags = type->tp_flags;
  756|     12|#endif
  757|     12|    return ((flags & feature) != 0);
  758|     12|}
namespaceobject.c:_Py_TYPE_impl:
  233|     58|{
  234|     58|    return ob->ob_type;
  235|     58|}
Python-ast.c:_Py_SIZE_impl:
  240|    140|{
  241|    140|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    140|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    140|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    140|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    140|}
Python-ast.c:_Py_TYPE_impl:
  233|  2.68k|{
  234|  2.68k|    return ob->ob_type;
  235|  2.68k|}
Python-tokenize.c:_Py_SIZE_impl:
  240|     10|{
  241|     10|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     10|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     10|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     10|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     10|}
Python-tokenize.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
Python-tokenize.c:_Py_TYPE_impl:
  233|     12|{
  234|     12|    return ob->ob_type;
  235|     12|}
assemble.c:_Py_SIZE_impl:
  240|  24.6k|{
  241|  24.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  24.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  24.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  24.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  24.6k|}
ast.c:_Py_TYPE_impl:
  233|     14|{
  234|     14|    return ob->ob_type;
  235|     14|}
ast.c:_Py_IS_TYPE_impl:
  248|     14|{
  249|     14|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     14|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:_Py_TYPE_impl:
  233|  54.1k|{
  234|  54.1k|    return ob->ob_type;
  235|  54.1k|}
pegen.c:PyObject_TypeCheck:
  374|  54.1k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  54.1k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   108k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 54.1k, False: 2]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 2, False: 0]
  ------------------
  376|  54.1k|}
pegen.c:_Py_IS_TYPE_impl:
  248|  54.1k|{
  249|  54.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  54.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  54.1k|}
readline_tokenizer.c:PyType_HasFeature:
  749|    172|{
  750|    172|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    172|    flags = type->tp_flags;
  756|    172|#endif
  757|    172|    return ((flags & feature) != 0);
  758|    172|}
readline_tokenizer.c:_Py_TYPE_impl:
  233|    172|{
  234|    172|    return ob->ob_type;
  235|    172|}
readline_tokenizer.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
action_helpers.c:_Py_IS_TYPE_impl:
  248|  1.27k|{
  249|  1.27k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.27k|}
action_helpers.c:_Py_TYPE_impl:
  233|  1.27k|{
  234|  1.27k|    return ob->ob_type;
  235|  1.27k|}

gc.c:PyDTrace_GC_START_ENABLED:
   44|  1.63k|static inline int PyDTrace_GC_START_ENABLED(void) { return 0; }
gc.c:PyDTrace_GC_DONE_ENABLED:
   45|  1.63k|static inline int PyDTrace_GC_DONE_ENABLED(void) { return 0; }
import.c:PyDTrace_IMPORT_FIND_LOAD_START_ENABLED:
   50|    674|static inline int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) { return 0; }
import.c:PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED:
   51|    674|static inline int PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED(void) { return 0; }
sysmodule.c:PyDTrace_AUDIT_ENABLED:
   52|   409k|static inline int PyDTrace_AUDIT_ENABLED(void) { return 0; }

bytesobject.c:Py_INCREF:
  256|  15.2M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  15.2M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.2M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14.8M, False: 424k]
  ------------------
  288|       |        // the object is immortal
  289|  14.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  14.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  14.8M|        return;
  291|  14.8M|    }
  292|   424k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   424k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   424k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   424k|#endif
  308|   424k|}
bytesobject.c:Py_DECREF:
  418|  8.47M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.47M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.47M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.30M, False: 179k]
  |  |  ------------------
  ------------------
  422|  8.30M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.30M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.30M|        return;
  424|  8.30M|    }
  425|   179k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   179k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   179k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 749, False: 178k]
  ------------------
  427|    749|        _Py_Dealloc(op);
  428|    749|    }
  429|   179k|}
bytesobject.c:_Py_IsImmortal:
  127|  8.47M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.47M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.47M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.47M|}
bytesobject.c:Py_XDECREF:
  518|  8.33M|{
  519|  8.33M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.33M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 16, False: 8.33M]
  ------------------
  520|     16|        Py_DECREF(op);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     16|    }
  522|  8.33M|}
bytesobject.c:_Py_NewRef:
  535|   561k|{
  536|   561k|    Py_INCREF(obj);
  ------------------
  |  |  310|   561k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   561k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   561k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   561k|    return obj;
  538|   561k|}
bytesobject.c:_Py_REFCNT:
  105|  81.9k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  81.9k|    #if !defined(Py_GIL_DISABLED)
  107|  81.9k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  81.9k|    }
call.c:Py_DECREF:
  418|  24.2M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.2M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.66M, False: 22.5M]
  |  |  ------------------
  ------------------
  422|  1.66M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.66M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.66M|        return;
  424|  1.66M|    }
  425|  22.5M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.5M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  22.5M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 19.5M, False: 3.01M]
  ------------------
  427|  19.5M|        _Py_Dealloc(op);
  428|  19.5M|    }
  429|  22.5M|}
call.c:_Py_IsImmortal:
  127|  24.2M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  24.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.2M|}
call.c:_Py_NewRef:
  535|  6.09M|{
  536|  6.09M|    Py_INCREF(obj);
  ------------------
  |  |  310|  6.09M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  6.09M|    return obj;
  538|  6.09M|}
call.c:Py_INCREF:
  256|  6.09M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  6.09M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.09M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4.39M, False: 1.69M]
  ------------------
  288|       |        // the object is immortal
  289|  4.39M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  4.39M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  4.39M|        return;
  291|  4.39M|    }
  292|  1.69M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.69M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.69M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.69M|#endif
  308|  1.69M|}
exceptions.c:_Py_XNewRef:
  541|  8.04M|{
  542|  8.04M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  8.04M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  8.04M|    return obj;
  544|  8.04M|}
exceptions.c:Py_XINCREF:
  508|  8.04M|{
  509|  8.04M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.04M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.27M, False: 6.77M]
  ------------------
  510|  1.27M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.27M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.27M|    }
  512|  8.04M|}
exceptions.c:Py_XDECREF:
  518|  7.72M|{
  519|  7.72M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.72M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.39M, False: 5.33M]
  ------------------
  520|  2.39M|        Py_DECREF(op);
  ------------------
  |  |  430|  2.39M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.39M|    }
  522|  7.72M|}
exceptions.c:_Py_NewRef:
  535|  5.90M|{
  536|  5.90M|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.90M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.90M|    return obj;
  538|  5.90M|}
exceptions.c:Py_INCREF:
  256|  7.22M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  7.22M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.22M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 271k, False: 6.95M]
  ------------------
  288|       |        // the object is immortal
  289|   271k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   271k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   271k|        return;
  291|   271k|    }
  292|  6.95M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  6.95M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.95M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  6.95M|#endif
  308|  6.95M|}
exceptions.c:Py_DECREF:
  418|  11.0M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.0M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.0M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.63M, False: 9.39M]
  |  |  ------------------
  ------------------
  422|  1.63M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.63M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.63M|        return;
  424|  1.63M|    }
  425|  9.39M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.39M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.39M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.17M, False: 5.22M]
  ------------------
  427|  4.17M|        _Py_Dealloc(op);
  428|  4.17M|    }
  429|  9.39M|}
exceptions.c:_Py_IsImmortal:
  127|  11.0M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  11.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.0M|}
genericaliasobject.c:Py_XDECREF:
  518|    146|{
  519|    146|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    146|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 60, False: 86]
  ------------------
  520|     60|        Py_DECREF(op);
  ------------------
  |  |  430|     60|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     60|    }
  522|    146|}
genericaliasobject.c:Py_DECREF:
  418|     60|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     60|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     60|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 40, False: 20]
  |  |  ------------------
  ------------------
  422|     40|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     40|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     40|        return;
  424|     40|    }
  425|     20|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     20|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     20|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 0]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|     20|}
genericaliasobject.c:_Py_IsImmortal:
  127|     60|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     60|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     60|}
genericaliasobject.c:_Py_NewRef:
  535|    474|{
  536|    474|    Py_INCREF(obj);
  ------------------
  |  |  310|    474|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    474|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    474|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    474|    return obj;
  538|    474|}
genericaliasobject.c:Py_INCREF:
  256|    622|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    622|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    622|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 342, False: 280]
  ------------------
  288|       |        // the object is immortal
  289|    342|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    342|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    342|        return;
  291|    342|    }
  292|    280|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    280|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    280|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    280|#endif
  308|    280|}
floatobject.c:Py_DECREF:
  418|  42.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  42.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  42.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42.7k, False: 12]
  |  |  ------------------
  ------------------
  422|  42.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  42.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  42.7k|        return;
  424|  42.7k|    }
  425|     12|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     12|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8, False: 4]
  ------------------
  427|      8|        _Py_Dealloc(op);
  428|      8|    }
  429|     12|}
floatobject.c:_Py_IsImmortal:
  127|  42.8k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  42.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  42.8k|}
floatobject.c:Py_INCREF:
  256|  1.50k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.50k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.50k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.50k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  1.50k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.50k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.50k|        return;
  291|  1.50k|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
floatobject.c:Py_XDECREF:
  518|  42.8k|{
  519|  42.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  42.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 42.8k, False: 0]
  ------------------
  520|  42.8k|        Py_DECREF(op);
  ------------------
  |  |  430|  42.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  42.8k|    }
  522|  42.8k|}
listobject.c:Py_DECREF:
  418|  12.2M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  12.2M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  12.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.68M, False: 2.53M]
  |  |  ------------------
  ------------------
  422|  9.68M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.68M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.68M|        return;
  424|  9.68M|    }
  425|  2.53M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.53M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.53M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 681k, False: 1.85M]
  ------------------
  427|   681k|        _Py_Dealloc(op);
  428|   681k|    }
  429|  2.53M|}
listobject.c:_Py_IsImmortal:
  127|  12.2M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  12.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  12.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  12.2M|}
listobject.c:Py_XDECREF:
  518|  10.8M|{
  519|  10.8M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.8M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 10.7M, False: 67.1k]
  ------------------
  520|  10.7M|        Py_DECREF(op);
  ------------------
  |  |  430|  10.7M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  10.7M|    }
  522|  10.8M|}
listobject.c:_Py_NewRef:
  535|  11.1M|{
  536|  11.1M|    Py_INCREF(obj);
  ------------------
  |  |  310|  11.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  11.1M|    return obj;
  538|  11.1M|}
listobject.c:Py_INCREF:
  256|  13.7M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  13.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  13.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.5M, False: 2.13M]
  ------------------
  288|       |        // the object is immortal
  289|  11.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.5M|        return;
  291|  11.5M|    }
  292|  2.13M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.13M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.13M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.13M|#endif
  308|  2.13M|}
listobject.c:_Py_XNewRef:
  541|  1.21M|{
  542|  1.21M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.21M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.21M|    return obj;
  544|  1.21M|}
listobject.c:Py_XINCREF:
  508|  1.21M|{
  509|  1.21M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.21M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.21M, False: 0]
  ------------------
  510|  1.21M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.21M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.21M|    }
  512|  1.21M|}
longobject.c:Py_DECREF:
  418|  8.15M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.15M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.15M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7.94M, False: 211k]
  |  |  ------------------
  ------------------
  422|  7.94M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  7.94M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  7.94M|        return;
  424|  7.94M|    }
  425|   211k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   211k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   211k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 210k, False: 284]
  ------------------
  427|   210k|        _Py_Dealloc(op);
  428|   210k|    }
  429|   211k|}
longobject.c:_Py_IsImmortal:
  127|  13.4M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  13.4M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.4M|}
longobject.c:Py_XDECREF:
  518|  8.29M|{
  519|  8.29M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.29M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.04M, False: 4.24M]
  ------------------
  520|  4.04M|        Py_DECREF(op);
  ------------------
  |  |  430|  4.04M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.04M|    }
  522|  8.29M|}
longobject.c:Py_INCREF:
  256|  11.3M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  11.3M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.3M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.3M, False: 516]
  ------------------
  288|       |        // the object is immortal
  289|  11.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.3M|        return;
  291|  11.3M|    }
  292|    516|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    516|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    516|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    516|#endif
  308|    516|}
longobject.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
longobject.c:_Py_NewRef:
  535|  3.92M|{
  536|  3.92M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.92M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.92M|    return obj;
  538|  3.92M|}
dictobject.c:_Py_XNewRef:
  541|  19.5M|{
  542|  19.5M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  19.5M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  19.5M|    return obj;
  544|  19.5M|}
dictobject.c:Py_XINCREF:
  508|  19.5M|{
  509|  19.5M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  19.5M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 13.4M, False: 6.07M]
  ------------------
  510|  13.4M|        Py_INCREF(op);
  ------------------
  |  |  310|  13.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  13.4M|    }
  512|  19.5M|}
dictobject.c:_Py_IsImmortal:
  127|  40.9M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  40.9M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  40.9M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  40.9M|}
dictobject.c:Py_INCREF:
  256|  77.3M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  77.3M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  77.3M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 21.3M, False: 55.9M]
  ------------------
  288|       |        // the object is immortal
  289|  21.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  21.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  21.3M|        return;
  291|  21.3M|    }
  292|  55.9M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  55.9M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  55.9M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  55.9M|#endif
  308|  55.9M|}
dictobject.c:Py_DECREF:
  418|  27.5M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.5M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.4M, False: 16.0M]
  |  |  ------------------
  ------------------
  422|  11.4M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  11.4M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  11.4M|        return;
  424|  11.4M|    }
  425|  16.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.68M, False: 14.3M]
  ------------------
  427|  1.68M|        _Py_Dealloc(op);
  428|  1.68M|    }
  429|  16.0M|}
dictobject.c:_Py_NewRef:
  535|  47.9M|{
  536|  47.9M|    Py_INCREF(obj);
  ------------------
  |  |  310|  47.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  47.9M|    return obj;
  538|  47.9M|}
dictobject.c:Py_XDECREF:
  518|  15.2M|{
  519|  15.2M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  15.2M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 14.4M, False: 834k]
  ------------------
  520|  14.4M|        Py_DECREF(op);
  ------------------
  |  |  430|  14.4M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  14.4M|    }
  522|  15.2M|}
dictobject.c:Py_SET_REFCNT:
  154|  8.09M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  8.09M|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  8.09M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  8.09M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 8.09M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  8.09M|#ifndef Py_GIL_DISABLED
  170|  8.09M|#if SIZEOF_VOID_P > 4
  171|  8.09M|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  8.09M|#endif  // Py_LIMITED_API
  199|  8.09M|}
dictobject.c:_Py_REFCNT:
  105|  8.73M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.73M|    #if !defined(Py_GIL_DISABLED)
  107|  8.73M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  8.73M|    }
memoryobject.c:_Py_NewRef:
  535|  1.57k|{
  536|  1.57k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.57k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.57k|    return obj;
  538|  1.57k|}
memoryobject.c:Py_INCREF:
  256|  1.57k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.57k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.57k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.57k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  1.57k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.57k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.57k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.57k|#endif
  308|  1.57k|}
memoryobject.c:Py_DECREF:
  418|  1.58k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.58k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.58k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 1.58k]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  425|  1.58k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.58k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.58k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 536, False: 1.04k]
  ------------------
  427|    536|        _Py_Dealloc(op);
  428|    536|    }
  429|  1.58k|}
memoryobject.c:_Py_IsImmortal:
  127|  1.58k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.58k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.58k|}
moduleobject.c:Py_SET_REFCNT:
  154|    118|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    118|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|    118|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    118|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 118, False: 0]
  |  |  ------------------
  ------------------
  167|    118|        return;
  168|    118|    }
  169|      0|#ifndef Py_GIL_DISABLED
  170|      0|#if SIZEOF_VOID_P > 4
  171|      0|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|      0|#endif  // Py_LIMITED_API
  199|      0|}
moduleobject.c:_Py_IsImmortal:
  127|  1.58M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.58M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.58M|}
moduleobject.c:_Py_NewRef:
  535|    759|{
  536|    759|    Py_INCREF(obj);
  ------------------
  |  |  310|    759|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    759|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    759|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    759|    return obj;
  538|    759|}
moduleobject.c:Py_INCREF:
  256|    759|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    759|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    759|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 468, False: 291]
  ------------------
  288|       |        // the object is immortal
  289|    468|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    468|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    468|        return;
  291|    468|    }
  292|    291|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    291|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    291|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    291|#endif
  308|    291|}
moduleobject.c:Py_DECREF:
  418|  1.58M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.58M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.58M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.58M, False: 3.07k]
  |  |  ------------------
  ------------------
  422|  1.58M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.58M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.58M|        return;
  424|  1.58M|    }
  425|  3.07k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.07k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.07k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 3.07k]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|  3.07k|}
moduleobject.c:Py_XDECREF:
  518|    815|{
  519|    815|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    815|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 22, False: 793]
  ------------------
  520|     22|        Py_DECREF(op);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     22|    }
  522|    815|}
object.c:_Py_REFCNT:
  105|  4.66M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.66M|    #if !defined(Py_GIL_DISABLED)
  107|  4.66M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  4.66M|    }
object.c:Py_XDECREF:
  518|   791k|{
  519|   791k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   791k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.43k, False: 787k]
  ------------------
  520|  4.43k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.43k|    }
  522|   791k|}
object.c:Py_INCREF:
  256|  54.9M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  54.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  54.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 39.2M, False: 15.7M]
  ------------------
  288|       |        // the object is immortal
  289|  39.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  39.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  39.2M|        return;
  291|  39.2M|    }
  292|  15.7M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  15.7M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  15.7M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  15.7M|#endif
  308|  15.7M|}
object.c:Py_DECREF:
  418|  57.8M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  57.8M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  57.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42.2M, False: 15.6M]
  |  |  ------------------
  ------------------
  422|  42.2M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  42.2M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  42.2M|        return;
  424|  42.2M|    }
  425|  15.6M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.6M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.6M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 182, False: 15.6M]
  ------------------
  427|    182|        _Py_Dealloc(op);
  428|    182|    }
  429|  15.6M|}
object.c:_Py_NewRef:
  535|  3.35M|{
  536|  3.35M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.35M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.35M|    return obj;
  538|  3.35M|}
object.c:_Py_IsImmortal:
  127|  61.0M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  61.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  61.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  61.0M|}
object.c:Py_SET_REFCNT:
  154|  3.11M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  3.11M|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  3.11M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  3.11M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.11M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  3.11M|#ifndef Py_GIL_DISABLED
  170|  3.11M|#if SIZEOF_VOID_P > 4
  171|  3.11M|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  3.11M|#endif  // Py_LIMITED_API
  199|  3.11M|}
rangeobject.c:Py_DECREF:
  418|   216k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   216k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   216k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 216k, False: 86]
  |  |  ------------------
  ------------------
  422|   216k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   216k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   216k|        return;
  424|   216k|    }
  425|     86|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     86|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     86|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 78, False: 8]
  ------------------
  427|     78|        _Py_Dealloc(op);
  428|     78|    }
  429|     86|}
rangeobject.c:_Py_IsImmortal:
  127|   216k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   216k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   216k|}
rangeobject.c:_Py_NewRef:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
rangeobject.c:Py_INCREF:
  256|      8|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      8|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
rangeobject.c:Py_XDECREF:
  518|      6|{
  519|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6, False: 0]
  ------------------
  520|      6|        Py_DECREF(op);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      6|    }
  522|      6|}
sentinelobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 10, False: 0]
  |  |  ------------------
  ------------------
  422|     10|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     10|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     10|        return;
  424|     10|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
sentinelobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
sentinelobject.c:_Py_NewRef:
  535|     30|{
  536|     30|    Py_INCREF(obj);
  ------------------
  |  |  310|     30|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     30|    return obj;
  538|     30|}
sentinelobject.c:Py_INCREF:
  256|     32|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     32|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     32|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 30, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|     30|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     30|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     30|        return;
  291|     30|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
sentinelobject.c:_Py_XNewRef:
  541|     10|{
  542|     10|    Py_XINCREF(obj);
  ------------------
  |  |  514|     10|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     10|    return obj;
  544|     10|}
sentinelobject.c:Py_XINCREF:
  508|     10|{
  509|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2, False: 8]
  ------------------
  510|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      2|    }
  512|     10|}
setobject.c:Py_DECREF:
  418|  1.24M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.24M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.24M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 195k, False: 1.05M]
  |  |  ------------------
  ------------------
  422|   195k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   195k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   195k|        return;
  424|   195k|    }
  425|  1.05M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.05M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.05M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 99.4k, False: 953k]
  ------------------
  427|  99.4k|        _Py_Dealloc(op);
  428|  99.4k|    }
  429|  1.05M|}
setobject.c:_Py_IsImmortal:
  127|  1.24M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.24M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.24M|}
setobject.c:Py_INCREF:
  256|   919k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   919k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   919k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 189k, False: 730k]
  ------------------
  288|       |        // the object is immortal
  289|   189k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   189k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   189k|        return;
  291|   189k|    }
  292|   730k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   730k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   730k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   730k|#endif
  308|   730k|}
setobject.c:Py_XDECREF:
  518|  5.96k|{
  519|  5.96k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.96k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 215, False: 5.74k]
  ------------------
  520|    215|        Py_DECREF(op);
  ------------------
  |  |  430|    215|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    215|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    215|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    215|    }
  522|  5.96k|}
setobject.c:_Py_NewRef:
  535|   716k|{
  536|   716k|    Py_INCREF(obj);
  ------------------
  |  |  310|   716k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   716k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   716k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   716k|    return obj;
  538|   716k|}
setobject.c:_Py_REFCNT:
  105|    924|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    924|    #if !defined(Py_GIL_DISABLED)
  107|    924|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|    924|    }
sliceobject.c:Py_DECREF:
  418|  24.5M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.5M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.24M, False: 15.3M]
  |  |  ------------------
  ------------------
  422|  9.24M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.24M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.24M|        return;
  424|  9.24M|    }
  425|  15.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 15.3M]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  15.3M|}
sliceobject.c:_Py_IsImmortal:
  127|  24.5M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  24.5M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.5M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.5M|}
sliceobject.c:_Py_NewRef:
  535|  24.5M|{
  536|  24.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  24.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  24.5M|    return obj;
  538|  24.5M|}
sliceobject.c:Py_INCREF:
  256|  24.5M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  24.5M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.5M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 9.21M, False: 15.3M]
  ------------------
  288|       |        // the object is immortal
  289|  9.21M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  9.21M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  9.21M|        return;
  291|  9.21M|    }
  292|  15.3M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  15.3M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  15.3M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  15.3M|#endif
  308|  15.3M|}
structseq.c:Py_XDECREF:
  518|  70.1k|{
  519|  70.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  70.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 70.1k, False: 0]
  ------------------
  520|  70.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  70.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  70.1k|    }
  522|  70.1k|}
structseq.c:Py_DECREF:
  418|  73.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  73.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  73.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18.7k, False: 55.2k]
  |  |  ------------------
  ------------------
  422|  18.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  18.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  18.7k|        return;
  424|  18.7k|    }
  425|  55.2k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  55.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  55.2k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48.0k, False: 7.18k]
  ------------------
  427|  48.0k|        _Py_Dealloc(op);
  428|  48.0k|    }
  429|  55.2k|}
structseq.c:_Py_IsImmortal:
  127|  73.9k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  73.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  73.9k|}
templateobject.c:Py_DECREF:
  418|      8|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      8|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      8|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 6]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      6|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      6|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 4]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      6|}
templateobject.c:_Py_IsImmortal:
  127|      8|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      8|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      8|}
templateobject.c:_Py_NewRef:
  535|      8|{
  536|      8|    Py_INCREF(obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      8|    return obj;
  538|      8|}
templateobject.c:Py_INCREF:
  256|      8|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      8|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|      2|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      2|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      2|        return;
  291|      2|    }
  292|      6|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      6|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      6|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      6|#endif
  308|      6|}
tupleobject.c:_Py_REFCNT:
  105|  3.96k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  3.96k|    #if !defined(Py_GIL_DISABLED)
  107|  3.96k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  3.96k|    }
tupleobject.c:Py_XDECREF:
  518|  76.0M|{
  519|  76.0M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  76.0M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 75.4M, False: 584k]
  ------------------
  520|  75.4M|        Py_DECREF(op);
  ------------------
  |  |  430|  75.4M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  75.4M|    }
  522|  76.0M|}
tupleobject.c:_Py_NewRef:
  535|  52.9M|{
  536|  52.9M|    Py_INCREF(obj);
  ------------------
  |  |  310|  52.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  52.9M|    return obj;
  538|  52.9M|}
tupleobject.c:Py_INCREF:
  256|  52.9M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  52.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  52.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 22.3M, False: 30.5M]
  ------------------
  288|       |        // the object is immortal
  289|  22.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  22.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  22.3M|        return;
  291|  22.3M|    }
  292|  30.5M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  30.5M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  30.5M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  30.5M|#endif
  308|  30.5M|}
tupleobject.c:Py_DECREF:
  418|  75.7M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  75.7M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  75.7M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 28.3M, False: 47.3M]
  |  |  ------------------
  ------------------
  422|  28.3M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  28.3M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  28.3M|        return;
  424|  28.3M|    }
  425|  47.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  47.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  47.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12.4M, False: 34.8M]
  ------------------
  427|  12.4M|        _Py_Dealloc(op);
  428|  12.4M|    }
  429|  47.3M|}
tupleobject.c:_Py_IsImmortal:
  127|  75.7M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  75.7M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  75.7M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  75.7M|}
typeobject.c:_Py_NewRef:
  535|  11.2M|{
  536|  11.2M|    Py_INCREF(obj);
  ------------------
  |  |  310|  11.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  11.2M|    return obj;
  538|  11.2M|}
typeobject.c:_Py_XNewRef:
  541|  3.88k|{
  542|  3.88k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  3.88k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  3.88k|    return obj;
  544|  3.88k|}
typeobject.c:Py_XINCREF:
  508|  6.35k|{
  509|  6.35k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.35k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.17k, False: 3.17k]
  ------------------
  510|  3.17k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.17k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.17k|    }
  512|  6.35k|}
typeobject.c:Py_INCREF:
  256|  23.6M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  23.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  23.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 18.6M, False: 4.96M]
  ------------------
  288|       |        // the object is immortal
  289|  18.6M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  18.6M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  18.6M|        return;
  291|  18.6M|    }
  292|  4.96M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.96M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.96M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.96M|#endif
  308|  4.96M|}
typeobject.c:Py_DECREF:
  418|  24.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.76M, False: 21.6M]
  |  |  ------------------
  ------------------
  422|  2.76M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.76M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.76M|        return;
  424|  2.76M|    }
  425|  21.6M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  21.6M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  21.6M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.72M, False: 18.8M]
  ------------------
  427|  2.72M|        _Py_Dealloc(op);
  428|  2.72M|    }
  429|  21.6M|}
typeobject.c:_Py_IsImmortal:
  127|  69.3M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  69.3M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  69.3M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  69.3M|}
typeobject.c:_Py_REFCNT:
  105|     60|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     60|    #if !defined(Py_GIL_DISABLED)
  107|     60|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     60|    }
typeobject.c:Py_XDECREF:
  518|  8.70M|{
  519|  8.70M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.70M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8.54M, False: 161k]
  ------------------
  520|  8.54M|        Py_DECREF(op);
  ------------------
  |  |  430|  8.54M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  8.54M|    }
  522|  8.70M|}
typevarobject.c:Py_XDECREF:
  518|    248|{
  519|    248|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    248|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 178, False: 70]
  ------------------
  520|    178|        Py_DECREF(op);
  ------------------
  |  |  430|    178|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    178|    }
  522|    248|}
typevarobject.c:Py_DECREF:
  418|   151k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   151k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   151k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 148, False: 151k]
  |  |  ------------------
  ------------------
  422|    148|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    148|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    148|        return;
  424|    148|    }
  425|   151k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   151k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   151k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 376, False: 151k]
  ------------------
  427|    376|        _Py_Dealloc(op);
  428|    376|    }
  429|   151k|}
typevarobject.c:_Py_IsImmortal:
  127|   151k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   151k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   151k|}
typevarobject.c:_Py_XNewRef:
  541|    452|{
  542|    452|    Py_XINCREF(obj);
  ------------------
  |  |  514|    452|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    452|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    452|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    452|    return obj;
  544|    452|}
typevarobject.c:Py_XINCREF:
  508|    452|{
  509|    452|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    452|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 96, False: 356]
  ------------------
  510|     96|        Py_INCREF(op);
  ------------------
  |  |  310|     96|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     96|    }
  512|    452|}
typevarobject.c:Py_INCREF:
  256|    980|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    980|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    980|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 316, False: 664]
  ------------------
  288|       |        // the object is immortal
  289|    316|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    316|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    316|        return;
  291|    316|    }
  292|    664|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    664|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    664|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    664|#endif
  308|    664|}
typevarobject.c:_Py_NewRef:
  535|    884|{
  536|    884|    Py_INCREF(obj);
  ------------------
  |  |  310|    884|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    884|    return obj;
  538|    884|}
unicode_format.c:_Py_REFCNT:
  105|  80.1k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  80.1k|    #if !defined(Py_GIL_DISABLED)
  107|  80.1k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  80.1k|    }
unicode_format.c:Py_DECREF:
  418|   254k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   254k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   254k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   254k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   254k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 98.3k, False: 156k]
  |  |  ------------------
  ------------------
  422|  98.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  98.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  98.3k|        return;
  424|  98.3k|    }
  425|   156k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   156k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   156k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 123k, False: 32.2k]
  ------------------
  427|   123k|        _Py_Dealloc(op);
  428|   123k|    }
  429|   156k|}
unicode_format.c:_Py_IsImmortal:
  127|   254k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   254k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   254k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   254k|}
unicode_format.c:_Py_NewRef:
  535|  94.1k|{
  536|  94.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  94.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  94.1k|    return obj;
  538|  94.1k|}
unicode_format.c:Py_INCREF:
  256|  94.1k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  94.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  94.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 61.9k, False: 32.2k]
  ------------------
  288|       |        // the object is immortal
  289|  61.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  61.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  61.9k|        return;
  291|  61.9k|    }
  292|  32.2k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  32.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  32.2k|#endif
  308|  32.2k|}
unicode_format.c:Py_XDECREF:
  518|  94.1k|{
  519|  94.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  94.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 20, False: 94.1k]
  ------------------
  520|     20|        Py_DECREF(op);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     20|    }
  522|  94.1k|}
unicode_formatter.c:Py_DECREF:
  418|    256|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    256|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    256|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 192, False: 64]
  |  |  ------------------
  ------------------
  422|    192|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    192|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    192|        return;
  424|    192|    }
  425|     64|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     64|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     64|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 64, False: 0]
  ------------------
  427|     64|        _Py_Dealloc(op);
  428|     64|    }
  429|     64|}
unicode_formatter.c:_Py_IsImmortal:
  127|    256|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    256|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    256|}
unicode_formatter.c:Py_XDECREF:
  518|    320|{
  519|    320|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    320|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 256, False: 64]
  ------------------
  520|    256|        Py_DECREF(op);
  ------------------
  |  |  430|    256|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    256|    }
  522|    320|}
unicode_writer.c:Py_DECREF:
  418|  81.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  81.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  81.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  81.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 81.4k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  81.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  81.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  81.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 81.4k, False: 0]
  ------------------
  427|  81.4k|        _Py_Dealloc(op);
  428|  81.4k|    }
  429|  81.4k|}
unicode_writer.c:_Py_IsImmortal:
  127|  81.4k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  81.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  81.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  81.4k|}
unicode_writer.c:_Py_NewRef:
  535|     24|{
  536|     24|    Py_INCREF(obj);
  ------------------
  |  |  310|     24|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     24|    return obj;
  538|     24|}
unicode_writer.c:Py_INCREF:
  256|     24|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     24|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 24]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|     24|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     24|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     24|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     24|#endif
  308|     24|}
unicodeobject.c:Py_DECREF:
  418|  2.13M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.13M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.13M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.49M, False: 640k]
  |  |  ------------------
  ------------------
  422|  1.49M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.49M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.49M|        return;
  424|  1.49M|    }
  425|   640k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   640k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   640k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 175k, False: 464k]
  ------------------
  427|   175k|        _Py_Dealloc(op);
  428|   175k|    }
  429|   640k|}
unicodeobject.c:_Py_IsImmortal:
  127|  2.52M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.52M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.52M|}
unicodeobject.c:_Py_REFCNT:
  105|  1.52M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.52M|    #if !defined(Py_GIL_DISABLED)
  107|  1.52M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.52M|    }
unicodeobject.c:_Py_NewRef:
  535|   152k|{
  536|   152k|    Py_INCREF(obj);
  ------------------
  |  |  310|   152k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   152k|    return obj;
  538|   152k|}
unicodeobject.c:Py_XDECREF:
  518|  1.68M|{
  519|  1.68M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.68M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.50M, False: 177k]
  ------------------
  520|  1.50M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.50M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.50M|    }
  522|  1.68M|}
unicodeobject.c:Py_INCREF:
  256|  7.30M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  7.30M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.30M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.25M, False: 50.6k]
  ------------------
  288|       |        // the object is immortal
  289|  7.25M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.25M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.25M|        return;
  291|  7.25M|    }
  292|  50.6k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  50.6k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  50.6k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  50.6k|#endif
  308|  50.6k|}
unicodeobject.c:Py_SET_REFCNT:
  154|    116|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    116|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|    116|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    116|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 116]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    116|#ifndef Py_GIL_DISABLED
  170|    116|#if SIZEOF_VOID_P > 4
  171|    116|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|    116|#endif  // Py_LIMITED_API
  199|    116|}
unionobject.c:Py_DECREF:
  418|  1.63k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.63k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.63k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 286, False: 1.35k]
  |  |  ------------------
  ------------------
  422|    286|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    286|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    286|        return;
  424|    286|    }
  425|  1.35k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.35k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.35k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.05k, False: 294]
  ------------------
  427|  1.05k|        _Py_Dealloc(op);
  428|  1.05k|    }
  429|  1.35k|}
unionobject.c:_Py_IsImmortal:
  127|  1.63k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.63k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.63k|}
unionobject.c:_Py_NewRef:
  535|    460|{
  536|    460|    Py_INCREF(obj);
  ------------------
  |  |  310|    460|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    460|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    460|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    460|    return obj;
  538|    460|}
unionobject.c:Py_INCREF:
  256|    460|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    460|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    460|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 298, False: 162]
  ------------------
  288|       |        // the object is immortal
  289|    298|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    298|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    298|        return;
  291|    298|    }
  292|    162|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    162|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    162|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    162|#endif
  308|    162|}
unionobject.c:Py_XDECREF:
  518|    722|{
  519|    722|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    722|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 144, False: 578]
  ------------------
  520|    144|        Py_DECREF(op);
  ------------------
  |  |  430|    144|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    144|    }
  522|    722|}
weakrefobject.c:Py_INCREF:
  256|  2.04M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.04M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.04M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 66.9k, False: 1.97M]
  ------------------
  288|       |        // the object is immortal
  289|  66.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  66.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  66.9k|        return;
  291|  66.9k|    }
  292|  1.97M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.97M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.97M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.97M|#endif
  308|  1.97M|}
weakrefobject.c:_Py_XNewRef:
  541|   721k|{
  542|   721k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   721k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   721k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   721k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   721k|    return obj;
  544|   721k|}
weakrefobject.c:Py_XINCREF:
  508|   721k|{
  509|   721k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   721k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 451k, False: 269k]
  ------------------
  510|   451k|        Py_INCREF(op);
  ------------------
  |  |  310|   451k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   451k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   451k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   451k|    }
  512|   721k|}
weakrefobject.c:Py_DECREF:
  418|  1.72M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.72M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.72M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 69.7k, False: 1.65M]
  |  |  ------------------
  ------------------
  422|  69.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  69.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  69.7k|        return;
  424|  69.7k|    }
  425|  1.65M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.65M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.65M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.86k, False: 1.64M]
  ------------------
  427|  2.86k|        _Py_Dealloc(op);
  428|  2.86k|    }
  429|  1.65M|}
weakrefobject.c:_Py_IsImmortal:
  127|  1.72M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.72M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.72M|}
weakrefobject.c:_Py_REFCNT:
  105|  1.85M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.85M|    #if !defined(Py_GIL_DISABLED)
  107|  1.85M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.85M|    }
weakrefobject.c:Py_XDECREF:
  518|   720k|{
  519|   720k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   720k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 448k, False: 271k]
  ------------------
  520|   448k|        Py_DECREF(op);
  ------------------
  |  |  430|   448k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   448k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   448k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   448k|    }
  522|   720k|}
_warnings.c:_Py_NewRef:
  535|      8|{
  536|      8|    Py_INCREF(obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      8|    return obj;
  538|      8|}
_warnings.c:Py_INCREF:
  256|      8|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      8|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
_warnings.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 10, False: 0]
  |  |  ------------------
  ------------------
  422|     10|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     10|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     10|        return;
  424|     10|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
_warnings.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
bltinmodule.c:Py_XDECREF:
  518|  1.47M|{
  519|  1.47M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.47M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 67.5k, False: 1.40M]
  ------------------
  520|  67.5k|        Py_DECREF(op);
  ------------------
  |  |  430|  67.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  67.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  67.5k|    }
  522|  1.47M|}
bltinmodule.c:_Py_NewRef:
  535|  2.77M|{
  536|  2.77M|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.77M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.77M|    return obj;
  538|  2.77M|}
bltinmodule.c:Py_INCREF:
  256|  5.47M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  5.47M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.47M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.24M, False: 235k]
  ------------------
  288|       |        // the object is immortal
  289|  5.24M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.24M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.24M|        return;
  291|  5.24M|    }
  292|   235k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   235k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   235k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   235k|#endif
  308|   235k|}
bltinmodule.c:_Py_REFCNT:
  105|  1.53k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.53k|    #if !defined(Py_GIL_DISABLED)
  107|  1.53k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.53k|    }
bltinmodule.c:_Py_XNewRef:
  541|    378|{
  542|    378|    Py_XINCREF(obj);
  ------------------
  |  |  514|    378|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    378|    return obj;
  544|    378|}
bltinmodule.c:Py_XINCREF:
  508|    378|{
  509|    378|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    378|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 378, False: 0]
  ------------------
  510|    378|        Py_INCREF(op);
  ------------------
  |  |  310|    378|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    378|    }
  512|    378|}
bltinmodule.c:_Py_IsImmortal:
  127|  22.5M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  22.5M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  22.5M|}
bltinmodule.c:Py_DECREF:
  418|  22.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  22.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  22.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 19.7M, False: 2.63M]
  |  |  ------------------
  ------------------
  422|  19.7M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  19.7M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  19.7M|        return;
  424|  19.7M|    }
  425|  2.63M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.63M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.63M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.39M, False: 1.23M]
  ------------------
  427|  1.39M|        _Py_Dealloc(op);
  428|  1.39M|    }
  429|  2.63M|}
ceval.c:_Py_IsImmortal:
  127|   406M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   406M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   406M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   406M|}
ceval.c:_Py_NewRef:
  535|  15.5M|{
  536|  15.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  15.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  15.5M|    return obj;
  538|  15.5M|}
ceval.c:Py_INCREF:
  256|  28.9M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  28.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  28.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.8M, False: 17.1M]
  ------------------
  288|       |        // the object is immortal
  289|  11.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.8M|        return;
  291|  11.8M|    }
  292|  17.1M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  17.1M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  17.1M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  17.1M|#endif
  308|  17.1M|}
ceval.c:Py_XDECREF:
  518|  3.07M|{
  519|  3.07M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.07M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 79.4k, False: 2.99M]
  ------------------
  520|  79.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  79.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  79.4k|    }
  522|  3.07M|}
ceval.c:Py_DECREF:
  418|  79.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  79.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  79.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 48, False: 79.4k]
  |  |  ------------------
  ------------------
  422|     48|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     48|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     48|        return;
  424|     48|    }
  425|  79.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  79.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  79.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 124, False: 79.3k]
  ------------------
  427|    124|        _Py_Dealloc(op);
  428|    124|    }
  429|  79.4k|}
ceval.c:Py_XINCREF:
  508|  15.4M|{
  509|  15.4M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  15.4M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 10.3M, False: 5.18M]
  ------------------
  510|  10.3M|        Py_INCREF(op);
  ------------------
  |  |  310|  10.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  10.3M|    }
  512|  15.4M|}
ceval.c:_Py_XNewRef:
  541|  10.2M|{
  542|  10.2M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  10.2M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  10.2M|    return obj;
  544|  10.2M|}
codecs.c:Py_DECREF:
  418|     78|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     78|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     78|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42, False: 36]
  |  |  ------------------
  ------------------
  422|     42|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     42|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     42|        return;
  424|     42|    }
  425|     36|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     36|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     36|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 36]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     36|}
codecs.c:_Py_IsImmortal:
  127|     78|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     78|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     78|}
codegen.c:Py_DECREF:
  418|  7.11k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.11k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.11k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.95k, False: 1.15k]
  |  |  ------------------
  ------------------
  422|  5.95k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.95k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.95k|        return;
  424|  5.95k|    }
  425|  1.15k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.15k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.15k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 28, False: 1.12k]
  ------------------
  427|     28|        _Py_Dealloc(op);
  428|     28|    }
  429|  1.15k|}
codegen.c:_Py_IsImmortal:
  127|  7.11k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.11k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.11k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.11k|}
codegen.c:_Py_NewRef:
  535|    307|{
  536|    307|    Py_INCREF(obj);
  ------------------
  |  |  310|    307|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    307|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    307|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    307|    return obj;
  538|    307|}
codegen.c:Py_INCREF:
  256|    307|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    307|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    307|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 307, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    307|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    307|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    307|        return;
  291|    307|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
compile.c:Py_DECREF:
  418|  39.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  39.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  39.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14.5k, False: 24.7k]
  |  |  ------------------
  ------------------
  422|  14.5k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  14.5k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  14.5k|        return;
  424|  14.5k|    }
  425|  24.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9.27k, False: 15.4k]
  ------------------
  427|  9.27k|        _Py_Dealloc(op);
  428|  9.27k|    }
  429|  24.7k|}
compile.c:_Py_IsImmortal:
  127|  39.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  39.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  39.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  39.2k|}
compile.c:_Py_NewRef:
  535|  7.95k|{
  536|  7.95k|    Py_INCREF(obj);
  ------------------
  |  |  310|  7.95k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  7.95k|    return obj;
  538|  7.95k|}
compile.c:Py_XDECREF:
  518|  2.60k|{
  519|  2.60k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.60k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.59k, False: 1.01k]
  ------------------
  520|  1.59k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.59k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.59k|    }
  522|  2.60k|}
compile.c:_Py_XNewRef:
  541|  1.23k|{
  542|  1.23k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.23k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.23k|    return obj;
  544|  1.23k|}
compile.c:Py_XINCREF:
  508|  1.23k|{
  509|  1.23k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.23k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 203, False: 1.03k]
  ------------------
  510|    203|        Py_INCREF(op);
  ------------------
  |  |  310|    203|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    203|    }
  512|  1.23k|}
compile.c:Py_INCREF:
  256|  8.15k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  8.15k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.15k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.42k, False: 4.73k]
  ------------------
  288|       |        // the object is immortal
  289|  3.42k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.42k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.42k|        return;
  291|  3.42k|    }
  292|  4.73k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.73k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.73k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.73k|#endif
  308|  4.73k|}
context.c:_Py_NewRef:
  535|     10|{
  536|     10|    Py_INCREF(obj);
  ------------------
  |  |  310|     10|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     10|    return obj;
  538|     10|}
context.c:Py_INCREF:
  256|     10|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     10|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     10|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
context.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
context.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
context.c:Py_XINCREF:
  508|     10|{
  509|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 10]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|     10|}
context.c:_Py_XNewRef:
  541|     10|{
  542|     10|    Py_XINCREF(obj);
  ------------------
  |  |  514|     10|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     10|    return obj;
  544|     10|}
errors.c:Py_XDECREF:
  518|  16.8M|{
  519|  16.8M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  16.8M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.62M, False: 15.2M]
  ------------------
  520|  1.62M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.62M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.62M|    }
  522|  16.8M|}
errors.c:Py_DECREF:
  418|  5.55M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.55M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.55M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.94M, False: 3.60M]
  |  |  ------------------
  ------------------
  422|  1.94M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.94M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.94M|        return;
  424|  1.94M|    }
  425|  3.60M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.60M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.60M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 128k, False: 3.48M]
  ------------------
  427|   128k|        _Py_Dealloc(op);
  428|   128k|    }
  429|  3.60M|}
errors.c:_Py_IsImmortal:
  127|  5.55M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.55M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.55M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.55M|}
errors.c:Py_XINCREF:
  508|  1.89M|{
  509|  1.89M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.89M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.89M, False: 383]
  ------------------
  510|  1.89M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.89M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.89M|    }
  512|  1.89M|}
errors.c:Py_INCREF:
  256|  4.22M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  4.22M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.22M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.94M, False: 2.27M]
  ------------------
  288|       |        // the object is immortal
  289|  1.94M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.94M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.94M|        return;
  291|  1.94M|    }
  292|  2.27M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.27M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.27M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.27M|#endif
  308|  2.27M|}
errors.c:_Py_NewRef:
  535|  1.94M|{
  536|  1.94M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.94M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.94M|    return obj;
  538|  1.94M|}
flowgraph.c:_Py_NewRef:
  535|  4.24k|{
  536|  4.24k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.24k|    return obj;
  538|  4.24k|}
flowgraph.c:Py_INCREF:
  256|  4.24k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  4.24k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.24k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.19k, False: 3.05k]
  ------------------
  288|       |        // the object is immortal
  289|  1.19k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.19k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.19k|        return;
  291|  1.19k|    }
  292|  3.05k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  3.05k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.05k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  3.05k|#endif
  308|  3.05k|}
flowgraph.c:Py_DECREF:
  418|  4.13k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.13k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.13k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.36k, False: 2.76k]
  |  |  ------------------
  ------------------
  422|  1.36k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.36k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.36k|        return;
  424|  1.36k|    }
  425|  2.76k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.76k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.76k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48, False: 2.71k]
  ------------------
  427|     48|        _Py_Dealloc(op);
  428|     48|    }
  429|  2.76k|}
flowgraph.c:_Py_IsImmortal:
  127|  4.13k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  4.13k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.13k|}
frame.c:Py_DECREF:
  418|  2.37M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.37M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.37M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.37M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  2.37M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.37M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.37M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.38M, False: 983k]
  ------------------
  427|  1.38M|        _Py_Dealloc(op);
  428|  1.38M|    }
  429|  2.37M|}
frame.c:_Py_IsImmortal:
  127|  3.77M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.77M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.77M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.77M|}
frame.c:_Py_REFCNT:
  105|  2.36M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.36M|    #if !defined(Py_GIL_DISABLED)
  107|  2.36M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  2.36M|    }
frame.c:Py_INCREF:
  256|  1.90M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.90M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.90M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.90M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  1.90M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.90M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.90M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.90M|#endif
  308|  1.90M|}
frame.c:_Py_NewRef:
  535|   957k|{
  536|   957k|    Py_INCREF(obj);
  ------------------
  |  |  310|   957k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   957k|    return obj;
  538|   957k|}
gc.c:Py_DECREF:
  418|  1.77M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.77M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.77M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 29.6k, False: 1.74M]
  |  |  ------------------
  ------------------
  422|  29.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  29.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  29.6k|        return;
  424|  29.6k|    }
  425|  1.74M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.74M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.74M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 228k, False: 1.51M]
  ------------------
  427|   228k|        _Py_Dealloc(op);
  428|   228k|    }
  429|  1.74M|}
gc.c:_Py_IsImmortal:
  127|  9.83M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  9.83M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  9.83M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  9.83M|}
gc.c:Py_INCREF:
  256|  20.9M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  20.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  20.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 19.2M, False: 1.74M]
  ------------------
  288|       |        // the object is immortal
  289|  19.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  19.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  19.2M|        return;
  291|  19.2M|    }
  292|  1.74M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.74M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.74M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.74M|#endif
  308|  1.74M|}
gc.c:_Py_REFCNT:
  105|  8.05M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.05M|    #if !defined(Py_GIL_DISABLED)
  107|  8.05M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  8.05M|    }
gc.c:Py_XDECREF:
  518|  3.26k|{
  519|  3.26k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.26k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.12k, False: 144]
  ------------------
  520|  3.12k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.12k|    }
  522|  3.26k|}
getargs.c:_Py_NewRef:
  535|   293k|{
  536|   293k|    Py_INCREF(obj);
  ------------------
  |  |  310|   293k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   293k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   293k|    return obj;
  538|   293k|}
getargs.c:Py_INCREF:
  256|   293k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   293k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   293k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 288k, False: 5.17k]
  ------------------
  288|       |        // the object is immortal
  289|   288k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   288k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   288k|        return;
  291|   288k|    }
  292|  5.17k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  5.17k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.17k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  5.17k|#endif
  308|  5.17k|}
getargs.c:Py_DECREF:
  418|   303k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   303k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   303k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   303k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 298k, False: 5.28k]
  |  |  ------------------
  ------------------
  422|   298k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   298k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   298k|        return;
  424|   298k|    }
  425|  5.28k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.28k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.28k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 5.28k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  5.28k|}
getargs.c:_Py_IsImmortal:
  127|   303k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   303k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   303k|}
import.c:Py_INCREF:
  256|  3.18M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.18M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.18M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 791k, False: 2.39M]
  ------------------
  288|       |        // the object is immortal
  289|   791k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   791k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   791k|        return;
  291|   791k|    }
  292|  2.39M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.39M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.39M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.39M|#endif
  308|  2.39M|}
import.c:Py_DECREF:
  418|  4.79M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.79M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.79M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 791k, False: 4.00M]
  |  |  ------------------
  ------------------
  422|   791k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   791k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   791k|        return;
  424|   791k|    }
  425|  4.00M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.00M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.00M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.56k, False: 4.00M]
  ------------------
  427|  2.56k|        _Py_Dealloc(op);
  428|  2.56k|    }
  429|  4.00M|}
import.c:_Py_IsImmortal:
  127|  4.79M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  4.79M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.79M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.79M|}
import.c:Py_XDECREF:
  518|  1.59M|{
  519|  1.59M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.59M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.59M, False: 858]
  ------------------
  520|  1.59M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.59M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.59M|    }
  522|  1.59M|}
import.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
import.c:Py_XINCREF:
  508|    146|{
  509|    146|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    146|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 70, False: 76]
  ------------------
  510|     70|        Py_INCREF(op);
  ------------------
  |  |  310|     70|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     70|    }
  512|    146|}
import.c:_Py_NewRef:
  535|  1.58M|{
  536|  1.58M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.58M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.58M|    return obj;
  538|  1.58M|}
import.c:_Py_XNewRef:
  541|    146|{
  542|    146|    Py_XINCREF(obj);
  ------------------
  |  |  514|    146|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    146|    return obj;
  544|    146|}
importdl.c:Py_DECREF:
  418|    524|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    524|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    524|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 202, False: 322]
  |  |  ------------------
  ------------------
  422|    202|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    202|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    202|        return;
  424|    202|    }
  425|    322|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    322|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    322|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 162, False: 160]
  ------------------
  427|    162|        _Py_Dealloc(op);
  428|    162|    }
  429|    322|}
importdl.c:_Py_IsImmortal:
  127|    524|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    524|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    524|}
importdl.c:_Py_NewRef:
  535|    162|{
  536|    162|    Py_INCREF(obj);
  ------------------
  |  |  310|    162|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    162|    return obj;
  538|    162|}
importdl.c:Py_INCREF:
  256|    212|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    212|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    212|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 154, False: 58]
  ------------------
  288|       |        // the object is immortal
  289|    154|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    154|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    154|        return;
  291|    154|    }
  292|     58|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     58|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     58|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     58|#endif
  308|     58|}
initconfig.c:Py_DECREF:
  418|    284|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    284|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    284|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    284|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 230, False: 54]
  |  |  ------------------
  ------------------
  422|    230|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    230|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    230|        return;
  424|    230|    }
  425|     54|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     54|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     54|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 54]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     54|}
initconfig.c:_Py_IsImmortal:
  127|    284|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    284|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    284|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    284|}
initconfig.c:_Py_NewRef:
  535|     34|{
  536|     34|    Py_INCREF(obj);
  ------------------
  |  |  310|     34|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     34|    return obj;
  538|     34|}
initconfig.c:Py_INCREF:
  256|     34|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     34|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     34|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 34, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     34|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     34|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     34|        return;
  291|     34|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
instrumentation.c:Py_DECREF:
  418|     48|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     48|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     48|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 18]
  |  |  ------------------
  ------------------
  422|     30|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     30|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     30|        return;
  424|     30|    }
  425|     18|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     18|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     18|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 18]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     18|}
instrumentation.c:_Py_IsImmortal:
  127|     48|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     48|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     48|}
instruction_sequence.c:Py_XDECREF:
  518|  1.46k|{
  519|  1.46k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.46k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 1.46k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  1.46k|}
intrinsics.c:Py_DECREF:
  418|  8.46k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.46k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.46k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.29k, False: 3.17k]
  |  |  ------------------
  ------------------
  422|  5.29k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.29k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.29k|        return;
  424|  5.29k|    }
  425|  3.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 36, False: 3.13k]
  ------------------
  427|     36|        _Py_Dealloc(op);
  428|     36|    }
  429|  3.17k|}
intrinsics.c:_Py_IsImmortal:
  127|  8.46k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.46k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.46k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.46k|}
intrinsics.c:Py_XDECREF:
  518|  4.01k|{
  519|  4.01k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.01k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.01k, False: 0]
  ------------------
  520|  4.01k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.01k|    }
  522|  4.01k|}
intrinsics.c:_Py_NewRef:
  535|  23.5k|{
  536|  23.5k|    Py_INCREF(obj);
  ------------------
  |  |  310|  23.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  23.5k|    return obj;
  538|  23.5k|}
intrinsics.c:Py_INCREF:
  256|  23.5k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  23.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  23.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 23.5k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  23.5k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  23.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  23.5k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  23.5k|#endif
  308|  23.5k|}
marshal.c:Py_XDECREF:
  518|   230k|{
  519|   230k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   230k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 230k, False: 0]
  ------------------
  520|   230k|        Py_DECREF(op);
  ------------------
  |  |  430|   230k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   230k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   230k|    }
  522|   230k|}
marshal.c:_Py_NewRef:
  535|   256k|{
  536|   256k|    Py_INCREF(obj);
  ------------------
  |  |  310|   256k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   256k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   256k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   256k|    return obj;
  538|   256k|}
marshal.c:Py_INCREF:
  256|   256k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   256k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   256k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 233k, False: 22.4k]
  ------------------
  288|       |        // the object is immortal
  289|   233k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   233k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   233k|        return;
  291|   233k|    }
  292|  22.4k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  22.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  22.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  22.4k|#endif
  308|  22.4k|}
marshal.c:Py_DECREF:
  418|   231k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   231k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   231k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   231k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 93.7k, False: 137k]
  |  |  ------------------
  ------------------
  422|  93.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  93.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  93.7k|        return;
  424|  93.7k|    }
  425|   137k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   137k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   137k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 544, False: 137k]
  ------------------
  427|    544|        _Py_Dealloc(op);
  428|    544|    }
  429|   137k|}
marshal.c:_Py_IsImmortal:
  127|   231k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   231k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   231k|}
modsupport.c:_Py_NewRef:
  535|      8|{
  536|      8|    Py_INCREF(obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      8|    return obj;
  538|      8|}
modsupport.c:Py_INCREF:
  256|   177k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   177k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   177k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.62k, False: 175k]
  ------------------
  288|       |        // the object is immortal
  289|  2.62k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.62k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.62k|        return;
  291|  2.62k|    }
  292|   175k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   175k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   175k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   175k|#endif
  308|   175k|}
modsupport.c:Py_XDECREF:
  518|  2.08k|{
  519|  2.08k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.08k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.08k, False: 0]
  ------------------
  520|  2.08k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.08k|    }
  522|  2.08k|}
modsupport.c:Py_DECREF:
  418|  35.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  35.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  35.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.3k, False: 22.9k]
  |  |  ------------------
  ------------------
  422|  12.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.3k|        return;
  424|  12.3k|    }
  425|  22.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  22.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 22.9k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  22.9k|}
modsupport.c:_Py_IsImmortal:
  127|  35.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  35.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  35.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  35.2k|}
pyarena.c:Py_DECREF:
  418|  7.03M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.03M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.03M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.91M, False: 119k]
  |  |  ------------------
  ------------------
  422|  6.91M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.91M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.91M|        return;
  424|  6.91M|    }
  425|   119k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   119k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   119k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 54.4k, False: 65.3k]
  ------------------
  427|  54.4k|        _Py_Dealloc(op);
  428|  54.4k|    }
  429|   119k|}
pyarena.c:_Py_IsImmortal:
  127|  7.03M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.03M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.03M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.03M|}
pylifecycle.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
pylifecycle.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
pylifecycle.c:Py_DECREF:
  418|     72|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     72|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     72|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14, False: 58]
  |  |  ------------------
  ------------------
  422|     14|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     14|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     14|        return;
  424|     14|    }
  425|     58|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     58|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     58|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 52]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|     58|}
pylifecycle.c:_Py_IsImmortal:
  127|     72|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     72|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     72|}
pylifecycle.c:Py_XDECREF:
  518|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 12, False: 0]
  ------------------
  520|     12|        Py_DECREF(op);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     12|    }
  522|     12|}
pythonrun.c:Py_DECREF:
  418|    617|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    617|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    617|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    617|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    617|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 96, False: 521]
  |  |  ------------------
  ------------------
  422|     96|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     96|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     96|        return;
  424|     96|    }
  425|    521|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    521|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    521|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 203, False: 318]
  ------------------
  427|    203|        _Py_Dealloc(op);
  428|    203|    }
  429|    521|}
pythonrun.c:_Py_IsImmortal:
  127|    617|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    617|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    617|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    617|}
pythonrun.c:Py_XDECREF:
  518|    609|{
  519|    609|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    609|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 406, False: 203]
  ------------------
  520|    406|        Py_DECREF(op);
  ------------------
  |  |  430|    406|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    406|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    406|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    406|    }
  522|    609|}
specialize.c:Py_XDECREF:
  518|   347k|{
  519|   347k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   347k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 151k, False: 196k]
  ------------------
  520|   151k|        Py_DECREF(op);
  ------------------
  |  |  430|   151k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   151k|    }
  522|   347k|}
specialize.c:Py_DECREF:
  418|   151k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   151k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   151k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.16k, False: 145k]
  |  |  ------------------
  ------------------
  422|  6.16k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.16k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.16k|        return;
  424|  6.16k|    }
  425|   145k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   145k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   145k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 145k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|   145k|}
specialize.c:_Py_IsImmortal:
  127|   151k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   151k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   151k|}
structmember.c:Py_INCREF:
  256|  2.86M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.86M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.86M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 286k, False: 2.58M]
  ------------------
  288|       |        // the object is immortal
  289|   286k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   286k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   286k|        return;
  291|   286k|    }
  292|  2.58M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.58M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.58M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.58M|#endif
  308|  2.58M|}
structmember.c:Py_XINCREF:
  508|  2.85M|{
  509|  2.85M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.85M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.83M, False: 20.2k]
  ------------------
  510|  2.83M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.83M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.83M|    }
  512|  2.85M|}
structmember.c:Py_DECREF:
  418|  8.80k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.80k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.80k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.48k, False: 4.32k]
  |  |  ------------------
  ------------------
  422|  4.48k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.48k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.48k|        return;
  424|  4.48k|    }
  425|  4.32k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.32k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.32k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18, False: 4.30k]
  ------------------
  427|     18|        _Py_Dealloc(op);
  428|     18|    }
  429|  4.32k|}
structmember.c:_Py_IsImmortal:
  127|  8.80k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.80k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.80k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.80k|}
structmember.c:_Py_XNewRef:
  541|  2.68M|{
  542|  2.68M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.68M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.68M|    return obj;
  544|  2.68M|}
structmember.c:Py_XDECREF:
  518|  2.68M|{
  519|  2.68M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.68M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8.80k, False: 2.67M]
  ------------------
  520|  8.80k|        Py_DECREF(op);
  ------------------
  |  |  430|  8.80k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  8.80k|    }
  522|  2.68M|}
symtable.c:_Py_NewRef:
  535|  15.2k|{
  536|  15.2k|    Py_INCREF(obj);
  ------------------
  |  |  310|  15.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  15.2k|    return obj;
  538|  15.2k|}
symtable.c:Py_INCREF:
  256|  15.2k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  15.2k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.2k, False: 16]
  ------------------
  288|       |        // the object is immortal
  289|  15.2k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.2k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.2k|        return;
  291|  15.2k|    }
  292|     16|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     16|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     16|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     16|#endif
  308|     16|}
symtable.c:Py_XDECREF:
  518|  18.6k|{
  519|  18.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  18.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 13.9k, False: 4.68k]
  ------------------
  520|  13.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  13.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  13.9k|    }
  522|  18.6k|}
symtable.c:Py_DECREF:
  418|  56.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  56.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  56.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 22.0k, False: 34.3k]
  |  |  ------------------
  ------------------
  422|  22.0k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  22.0k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  22.0k|        return;
  424|  22.0k|    }
  425|  34.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  34.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  34.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20.1k, False: 14.2k]
  ------------------
  427|  20.1k|        _Py_Dealloc(op);
  428|  20.1k|    }
  429|  34.3k|}
symtable.c:_Py_IsImmortal:
  127|  56.3k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  56.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  56.3k|}
sysmodule.c:Py_XDECREF:
  518|    772|{
  519|    772|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    772|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 728, False: 44]
  ------------------
  520|    728|        Py_DECREF(op);
  ------------------
  |  |  430|    728|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    728|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    728|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    728|    }
  522|    772|}
sysmodule.c:Py_DECREF:
  418|    928|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    928|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    928|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    928|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    928|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 142, False: 786]
  |  |  ------------------
  ------------------
  422|    142|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    142|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    142|        return;
  424|    142|    }
  425|    786|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    786|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    786|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 688, False: 98]
  ------------------
  427|    688|        _Py_Dealloc(op);
  428|    688|    }
  429|    786|}
sysmodule.c:_Py_IsImmortal:
  127|    928|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    928|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    928|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    928|}
sysmodule.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
sysmodule.c:_Py_XNewRef:
  541|     46|{
  542|     46|    Py_XINCREF(obj);
  ------------------
  |  |  514|     46|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     46|    return obj;
  544|     46|}
sysmodule.c:Py_XINCREF:
  508|     46|{
  509|     46|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     46|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 46, False: 0]
  ------------------
  510|     46|        Py_INCREF(op);
  ------------------
  |  |  310|     46|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     46|    }
  512|     46|}
sysmodule.c:Py_INCREF:
  256|    800|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    800|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    800|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 300, False: 500]
  ------------------
  288|       |        // the object is immortal
  289|    300|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    300|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    300|        return;
  291|    300|    }
  292|    500|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    500|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    500|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    500|#endif
  308|    500|}
sysmodule.c:_Py_NewRef:
  535|    156|{
  536|    156|    Py_INCREF(obj);
  ------------------
  |  |  310|    156|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    156|    return obj;
  538|    156|}
traceback.c:Py_INCREF:
  256|  3.82M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.82M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.82M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 3.82M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  3.82M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  3.82M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.82M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  3.82M|#endif
  308|  3.82M|}
traceback.c:Py_XINCREF:
  508|  5.64M|{
  509|  5.64M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.64M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.82M, False: 1.81M]
  ------------------
  510|  3.82M|        Py_INCREF(op);
  ------------------
  |  |  310|  3.82M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.82M|    }
  512|  5.64M|}
traceback.c:_Py_XNewRef:
  541|  5.64M|{
  542|  5.64M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  5.64M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  5.64M|    return obj;
  544|  5.64M|}
traceback.c:Py_XDECREF:
  518|  11.2M|{
  519|  11.2M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.2M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 7.64M, False: 3.63M]
  ------------------
  520|  7.64M|        Py_DECREF(op);
  ------------------
  |  |  430|  7.64M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  7.64M|    }
  522|  11.2M|}
traceback.c:Py_DECREF:
  418|  7.64M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.64M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.64M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 7.64M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  7.64M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.64M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.64M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.95M, False: 5.68M]
  ------------------
  427|  1.95M|        _Py_Dealloc(op);
  428|  1.95M|    }
  429|  7.64M|}
traceback.c:_Py_IsImmortal:
  127|  7.64M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.64M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.64M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.64M|}
fileutils.c:Py_DECREF:
  418|  54.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  54.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  54.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 54.1k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  54.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  54.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  54.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 54.1k, False: 0]
  ------------------
  427|  54.1k|        _Py_Dealloc(op);
  428|  54.1k|    }
  429|  54.1k|}
fileutils.c:_Py_IsImmortal:
  127|  54.1k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  54.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  54.1k|}
dynload_shlib.c:Py_DECREF:
  418|      6|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      6|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      6|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      6|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 6]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      6|}
dynload_shlib.c:_Py_IsImmortal:
  127|      6|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      6|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      6|}
_asynciomodule.c:Py_DECREF:
  418|     16|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     16|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     16|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 16]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     16|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     16|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     16|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 16]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     16|}
_asynciomodule.c:_Py_IsImmortal:
  127|     16|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     16|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     16|}
atexitmodule.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
atexitmodule.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
atexitmodule.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
atexitmodule.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
posixmodule.c:Py_DECREF:
  418|  13.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  13.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  13.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.29k, False: 11.9k]
  |  |  ------------------
  ------------------
  422|  1.29k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.29k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.29k|        return;
  424|  1.29k|    }
  425|  11.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  11.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.31k, False: 7.60k]
  ------------------
  427|  4.31k|        _Py_Dealloc(op);
  428|  4.31k|    }
  429|  11.9k|}
posixmodule.c:_Py_IsImmortal:
  127|  13.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  13.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.2k|}
posixmodule.c:_Py_NewRef:
  535|   113k|{
  536|   113k|    Py_INCREF(obj);
  ------------------
  |  |  310|   113k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   113k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   113k|    return obj;
  538|   113k|}
posixmodule.c:Py_INCREF:
  256|   117k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   117k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   117k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 282, False: 117k]
  ------------------
  288|       |        // the object is immortal
  289|    282|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    282|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    282|        return;
  291|    282|    }
  292|   117k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   117k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   117k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   117k|#endif
  308|   117k|}
posixmodule.c:Py_XDECREF:
  518|  1.39k|{
  519|  1.39k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.39k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.39k, False: 0]
  ------------------
  520|  1.39k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.39k|    }
  522|  1.39k|}
signalmodule.c:_Py_NewRef:
  535|    128|{
  536|    128|    Py_INCREF(obj);
  ------------------
  |  |  310|    128|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    128|    return obj;
  538|    128|}
signalmodule.c:Py_INCREF:
  256|    128|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    128|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    128|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 128, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    128|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    128|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    128|        return;
  291|    128|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
signalmodule.c:Py_XDECREF:
  518|    128|{
  519|    128|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    128|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 128]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|    128|}
signalmodule.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
signalmodule.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
_datetimemodule.c:Py_INCREF:
  256|     96|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     96|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     96|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 90, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     90|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     90|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     90|        return;
  291|     90|    }
  292|      6|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      6|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      6|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      6|#endif
  308|      6|}
_datetimemodule.c:Py_XDECREF:
  518|    190|{
  519|    190|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    190|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 152, False: 38]
  ------------------
  520|    152|        Py_DECREF(op);
  ------------------
  |  |  430|    152|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    152|    }
  522|    190|}
_datetimemodule.c:_Py_NewRef:
  535|     86|{
  536|     86|    Py_INCREF(obj);
  ------------------
  |  |  310|     86|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     86|    return obj;
  538|     86|}
_datetimemodule.c:Py_DECREF:
  418|    780|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    780|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    780|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    780|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    780|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 292, False: 488]
  |  |  ------------------
  ------------------
  422|    292|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    292|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    292|        return;
  424|    292|    }
  425|    488|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    488|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    488|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 214, False: 274]
  ------------------
  427|    214|        _Py_Dealloc(op);
  428|    214|    }
  429|    488|}
_datetimemodule.c:_Py_IsImmortal:
  127|    780|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    780|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    780|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    780|}
_datetimemodule.c:_Py_XNewRef:
  541|      4|{
  542|      4|    Py_XINCREF(obj);
  ------------------
  |  |  514|      4|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      4|    return obj;
  544|      4|}
_datetimemodule.c:Py_XINCREF:
  508|      4|{
  509|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 4]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|      4|}
_collectionsmodule.c:Py_INCREF:
  256|  12.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  12.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  12.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.10k, False: 4.34k]
  ------------------
  288|       |        // the object is immortal
  289|  8.10k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.10k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.10k|        return;
  291|  8.10k|    }
  292|  4.34k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.34k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.34k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.34k|#endif
  308|  4.34k|}
_collectionsmodule.c:Py_DECREF:
  418|  35.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  35.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  35.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 19.8k, False: 15.8k]
  |  |  ------------------
  ------------------
  422|  19.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  19.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  19.8k|        return;
  424|  19.8k|    }
  425|  15.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 15.8k]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|  15.8k|}
_collectionsmodule.c:_Py_IsImmortal:
  127|  35.7k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  35.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  35.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  35.7k|}
_collectionsmodule.c:_Py_NewRef:
  535|    632|{
  536|    632|    Py_INCREF(obj);
  ------------------
  |  |  310|    632|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    632|    return obj;
  538|    632|}
_collectionsmodule.c:Py_XDECREF:
  518|  11.8k|{
  519|  11.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 11.8k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  11.8k|}
_collectionsmodule.c:_Py_XNewRef:
  541|  11.8k|{
  542|  11.8k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  11.8k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  11.8k|    return obj;
  544|  11.8k|}
_collectionsmodule.c:Py_XINCREF:
  508|  11.8k|{
  509|  11.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 11.8k, False: 0]
  ------------------
  510|  11.8k|        Py_INCREF(op);
  ------------------
  |  |  310|  11.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  11.8k|    }
  512|  11.8k|}
errnomodule.c:Py_DECREF:
  333|    550|static inline void Py_DECREF(PyObject *op) {
  334|    550|#  if Py_LIMITED_API+0 >= 0x030a00A7
  335|    550|    _Py_DecRef(op);
  336|       |#  else
  337|       |    Py_DecRef(op);
  338|       |#  endif
  339|    550|}
_iomodule.c:Py_DECREF:
  418|  3.15k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.15k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.15k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.07k, False: 2.08k]
  |  |  ------------------
  ------------------
  422|  1.07k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.07k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.07k|        return;
  424|  1.07k|    }
  425|  2.08k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.08k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.08k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.04k, False: 1.04k]
  ------------------
  427|  1.04k|        _Py_Dealloc(op);
  428|  1.04k|    }
  429|  2.08k|}
_iomodule.c:_Py_IsImmortal:
  127|  3.15k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.15k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.15k|}
_iomodule.c:_Py_NewRef:
  535|     18|{
  536|     18|    Py_INCREF(obj);
  ------------------
  |  |  310|     18|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     18|    return obj;
  538|     18|}
_iomodule.c:Py_INCREF:
  256|     18|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     18|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     18|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 12]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|     12|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     12|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     12|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     12|#endif
  308|     12|}
_iomodule.c:Py_XDECREF:
  518|      8|{
  519|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 4]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|      8|}
iobase.c:_Py_REFCNT:
  105|  1.06k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.06k|    #if !defined(Py_GIL_DISABLED)
  107|  1.06k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.06k|    }
iobase.c:Py_DECREF:
  418|  2.14k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.14k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.14k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.12k, False: 24]
  |  |  ------------------
  ------------------
  422|  2.12k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.12k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.12k|        return;
  424|  2.12k|    }
  425|     24|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     24|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12, False: 12]
  ------------------
  427|     12|        _Py_Dealloc(op);
  428|     12|    }
  429|     24|}
iobase.c:_Py_IsImmortal:
  127|  2.14k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.14k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.14k|}
iobase.c:Py_INCREF:
  256|    520|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    520|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    520|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 520]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|    520|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    520|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    520|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    520|#endif
  308|    520|}
iobase.c:_Py_NewRef:
  535|    520|{
  536|    520|    Py_INCREF(obj);
  ------------------
  |  |  310|    520|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    520|    return obj;
  538|    520|}
fileio.c:Py_DECREF:
  418|  1.55k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.55k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.55k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.55k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.55k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.55k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.55k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.03k, False: 520]
  ------------------
  427|  1.03k|        _Py_Dealloc(op);
  428|  1.03k|    }
  429|  1.55k|}
fileio.c:_Py_IsImmortal:
  127|  1.55k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.55k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.55k|}
bytesio.c:Py_DECREF:
  418|  17.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  17.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  17.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.06k, False: 9.27k]
  |  |  ------------------
  ------------------
  422|  8.06k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.06k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.06k|        return;
  424|  8.06k|    }
  425|  9.27k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.27k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.27k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.40k, False: 6.86k]
  ------------------
  427|  2.40k|        _Py_Dealloc(op);
  428|  2.40k|    }
  429|  9.27k|}
bytesio.c:_Py_IsImmortal:
  127|  17.3k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  17.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  17.3k|}
bytesio.c:_Py_NewRef:
  535|  2.38k|{
  536|  2.38k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.38k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.38k|    return obj;
  538|  2.38k|}
bytesio.c:Py_INCREF:
  256|  2.38k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.38k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.38k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.79k, False: 597]
  ------------------
  288|       |        // the object is immortal
  289|  1.79k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.79k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.79k|        return;
  291|  1.79k|    }
  292|    597|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    597|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    597|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    597|#endif
  308|    597|}
bytesio.c:_Py_REFCNT:
  105|  8.52k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.52k|    #if !defined(Py_GIL_DISABLED)
  107|  8.52k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  8.52k|    }
bytesio.c:Py_XDECREF:
  518|  2.38k|{
  519|  2.38k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.38k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.38k, False: 0]
  ------------------
  520|  2.38k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.38k|    }
  522|  2.38k|}
bufferedio.c:Py_DECREF:
  418|  3.26k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.26k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.26k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 592, False: 2.67k]
  |  |  ------------------
  ------------------
  422|    592|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    592|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    592|        return;
  424|    592|    }
  425|  2.67k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.67k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.67k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.06k, False: 1.61k]
  ------------------
  427|  1.06k|        _Py_Dealloc(op);
  428|  1.06k|    }
  429|  2.67k|}
bufferedio.c:_Py_IsImmortal:
  127|  3.26k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.26k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.26k|}
bufferedio.c:Py_XDECREF:
  518|  2.07k|{
  519|  2.07k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.07k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 518, False: 1.55k]
  ------------------
  520|    518|        Py_DECREF(op);
  ------------------
  |  |  430|    518|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    518|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    518|    }
  522|  2.07k|}
bufferedio.c:_Py_NewRef:
  535|    520|{
  536|    520|    Py_INCREF(obj);
  ------------------
  |  |  310|    520|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    520|    return obj;
  538|    520|}
bufferedio.c:Py_INCREF:
  256|  1.03k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.03k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.03k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.03k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  1.03k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.03k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.03k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.03k|#endif
  308|  1.03k|}
bufferedio.c:Py_XINCREF:
  508|    510|{
  509|    510|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    510|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 510, False: 0]
  ------------------
  510|    510|        Py_INCREF(op);
  ------------------
  |  |  310|    510|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    510|    }
  512|    510|}
textio.c:_Py_NewRef:
  535|  8.21k|{
  536|  8.21k|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.21k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  8.21k|    return obj;
  538|  8.21k|}
textio.c:Py_INCREF:
  256|  8.21k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  8.21k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.21k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 8.20k]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|  8.20k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  8.20k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.20k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  8.20k|#endif
  308|  8.20k|}
textio.c:Py_DECREF:
  418|  8.59k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.59k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.59k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 88, False: 8.50k]
  |  |  ------------------
  ------------------
  422|     88|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     88|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     88|        return;
  424|     88|    }
  425|  8.50k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  8.50k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  8.50k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 220, False: 8.28k]
  ------------------
  427|    220|        _Py_Dealloc(op);
  428|    220|    }
  429|  8.50k|}
textio.c:_Py_IsImmortal:
  127|  8.59k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.59k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.59k|}
textio.c:Py_XDECREF:
  518|    134|{
  519|    134|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    134|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 58, False: 76]
  ------------------
  520|     58|        Py_DECREF(op);
  ------------------
  |  |  430|     58|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     58|    }
  522|    134|}
stringio.c:Py_DECREF:
  418|      6|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      6|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 4]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      4|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      4|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      4|}
stringio.c:_Py_IsImmortal:
  127|      6|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      6|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      6|}
stringio.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
stringio.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
itertoolsmodule.c:Py_DECREF:
  418|  1.99k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.99k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.99k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 498, False: 1.50k]
  |  |  ------------------
  ------------------
  422|    498|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    498|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    498|        return;
  424|    498|    }
  425|  1.50k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.50k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.50k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 611, False: 889]
  ------------------
  427|    611|        _Py_Dealloc(op);
  428|    611|    }
  429|  1.50k|}
itertoolsmodule.c:_Py_IsImmortal:
  127|  1.99k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.99k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.99k|}
itertoolsmodule.c:_Py_NewRef:
  535|    356|{
  536|    356|    Py_INCREF(obj);
  ------------------
  |  |  310|    356|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    356|    return obj;
  538|    356|}
itertoolsmodule.c:Py_INCREF:
  256|    874|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    874|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    874|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 412, False: 462]
  ------------------
  288|       |        // the object is immortal
  289|    412|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    412|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    412|        return;
  291|    412|    }
  292|    462|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    462|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    462|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    462|#endif
  308|    462|}
itertoolsmodule.c:Py_XDECREF:
  518|    646|{
  519|    646|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    646|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 336, False: 310]
  ------------------
  520|    336|        Py_DECREF(op);
  ------------------
  |  |  430|    336|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    336|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    336|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    336|    }
  522|    646|}
itertoolsmodule.c:_Py_REFCNT:
  105|    280|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    280|    #if !defined(Py_GIL_DISABLED)
  107|    280|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|    280|    }
sre.c:Py_DECREF:
  418|    372|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    372|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    372|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 152, False: 220]
  |  |  ------------------
  ------------------
  422|    152|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    152|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    152|        return;
  424|    152|    }
  425|    220|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    220|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    220|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 218]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|    220|}
sre.c:_Py_IsImmortal:
  127|    372|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    372|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    372|}
sre.c:_Py_NewRef:
  535|    274|{
  536|    274|    Py_INCREF(obj);
  ------------------
  |  |  310|    274|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    274|    return obj;
  538|    274|}
sre.c:Py_INCREF:
  256|    346|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    346|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    346|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 58, False: 288]
  ------------------
  288|       |        // the object is immortal
  289|     58|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     58|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     58|        return;
  291|     58|    }
  292|    288|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    288|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    288|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    288|#endif
  308|    288|}
sre.c:Py_XDECREF:
  518|     60|{
  519|     60|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     60|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 60, False: 0]
  ------------------
  520|     60|        Py_DECREF(op);
  ------------------
  |  |  430|     60|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     60|    }
  522|     60|}
_threadmodule.c:_Py_NewRef:
  535|     36|{
  536|     36|    Py_INCREF(obj);
  ------------------
  |  |  310|     36|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     36|    return obj;
  538|     36|}
_threadmodule.c:Py_INCREF:
  256|     72|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     72|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     72|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 36, False: 36]
  ------------------
  288|       |        // the object is immortal
  289|     36|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     36|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     36|        return;
  291|     36|    }
  292|     36|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     36|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     36|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     36|#endif
  308|     36|}
_threadmodule.c:_Py_XNewRef:
  541|     72|{
  542|     72|    Py_XINCREF(obj);
  ------------------
  |  |  514|     72|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     72|    return obj;
  544|     72|}
_threadmodule.c:Py_XINCREF:
  508|     72|{
  509|     72|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     72|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 36, False: 36]
  ------------------
  510|     36|        Py_INCREF(op);
  ------------------
  |  |  310|     36|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     36|    }
  512|     72|}
_threadmodule.c:Py_DECREF:
  418|  7.78M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.78M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.78M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 7.78M]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|  7.78M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.78M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.78M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4, False: 7.78M]
  ------------------
  427|      4|        _Py_Dealloc(op);
  428|      4|    }
  429|  7.78M|}
_threadmodule.c:_Py_IsImmortal:
  127|  7.78M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.78M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.78M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.78M|}
_abc.c:Py_INCREF:
  256|  41.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  41.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  41.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 41.3k, False: 84]
  ------------------
  288|       |        // the object is immortal
  289|  41.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  41.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  41.3k|        return;
  291|  41.3k|    }
  292|     84|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     84|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     84|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     84|#endif
  308|     84|}
_abc.c:Py_DECREF:
  418|   197k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   197k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   197k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 56.5k, False: 140k]
  |  |  ------------------
  ------------------
  422|  56.5k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  56.5k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  56.5k|        return;
  424|  56.5k|    }
  425|   140k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   140k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   140k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.00k, False: 139k]
  ------------------
  427|  1.00k|        _Py_Dealloc(op);
  428|  1.00k|    }
  429|   140k|}
_abc.c:_Py_IsImmortal:
  127|   197k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   197k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   197k|}
_abc.c:Py_XDECREF:
  518|  94.5k|{
  519|  94.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  94.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 75.5k, False: 18.9k]
  ------------------
  520|  75.5k|        Py_DECREF(op);
  ------------------
  |  |  430|  75.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  75.5k|    }
  522|  94.5k|}
_abc.c:_Py_NewRef:
  535|  18.8k|{
  536|  18.8k|    Py_INCREF(obj);
  ------------------
  |  |  310|  18.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  18.8k|    return obj;
  538|  18.8k|}
_abc.c:_Py_XNewRef:
  541|  18.8k|{
  542|  18.8k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  18.8k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  18.8k|    return obj;
  544|  18.8k|}
_abc.c:Py_XINCREF:
  508|  18.8k|{
  509|  18.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  18.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 18.8k, False: 0]
  ------------------
  510|  18.8k|        Py_INCREF(op);
  ------------------
  |  |  310|  18.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  18.8k|    }
  512|  18.8k|}
_functoolsmodule.c:Py_INCREF:
  256|   127k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   127k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   127k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.0k, False: 114k]
  ------------------
  288|       |        // the object is immortal
  289|  13.0k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.0k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.0k|        return;
  291|  13.0k|    }
  292|   114k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   114k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   114k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   114k|#endif
  308|   114k|}
_functoolsmodule.c:Py_XDECREF:
  518|  4.13k|{
  519|  4.13k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.13k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 4.13k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  4.13k|}
_functoolsmodule.c:_Py_REFCNT:
  105|  12.2k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  12.2k|    #if !defined(Py_GIL_DISABLED)
  107|  12.2k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  12.2k|    }
_functoolsmodule.c:Py_DECREF:
  418|   141k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   141k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   141k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.2k, False: 129k]
  |  |  ------------------
  ------------------
  422|  12.2k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.2k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.2k|        return;
  424|  12.2k|    }
  425|   129k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   129k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   129k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.3k, False: 113k]
  ------------------
  427|  16.3k|        _Py_Dealloc(op);
  428|  16.3k|    }
  429|   129k|}
_functoolsmodule.c:_Py_IsImmortal:
  127|   141k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   141k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   141k|}
_functoolsmodule.c:_Py_NewRef:
  535|  83.2k|{
  536|  83.2k|    Py_INCREF(obj);
  ------------------
  |  |  310|  83.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  83.2k|    return obj;
  538|  83.2k|}
_functoolsmodule.c:_Py_XNewRef:
  541|     20|{
  542|     20|    Py_XINCREF(obj);
  ------------------
  |  |  514|     20|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     20|    return obj;
  544|     20|}
_functoolsmodule.c:Py_XINCREF:
  508|     20|{
  509|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 20]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|     20|}
_operator.c:_Py_NewRef:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
_operator.c:Py_INCREF:
  256|      8|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      8|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      4|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      4|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      4|        return;
  291|      4|    }
  292|      4|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      4|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      4|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      4|#endif
  308|      4|}
getpath.c:Py_DECREF:
  418|     66|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     66|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 42]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     42|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     42|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     42|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 40]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|     42|}
getpath.c:_Py_IsImmortal:
  127|     66|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     66|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     66|}
getpath.c:_Py_NewRef:
  535|     16|{
  536|     16|    Py_INCREF(obj);
  ------------------
  |  |  310|     16|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     16|    return obj;
  538|     16|}
getpath.c:Py_INCREF:
  256|     28|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     28|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     28|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 28, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     28|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     28|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     28|        return;
  291|     28|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
getpath.c:_Py_XNewRef:
  541|     12|{
  542|     12|    Py_XINCREF(obj);
  ------------------
  |  |  514|     12|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     12|    return obj;
  544|     12|}
getpath.c:Py_XINCREF:
  508|     12|{
  509|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 12, False: 0]
  ------------------
  510|     12|        Py_INCREF(op);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     12|    }
  512|     12|}
abstract.c:_Py_NewRef:
  535|  19.0M|{
  536|  19.0M|    Py_INCREF(obj);
  ------------------
  |  |  310|  19.0M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  19.0M|    return obj;
  538|  19.0M|}
abstract.c:Py_INCREF:
  256|  43.7M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  43.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  43.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 27.5M, False: 16.1M]
  ------------------
  288|       |        // the object is immortal
  289|  27.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  27.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  27.5M|        return;
  291|  27.5M|    }
  292|  16.1M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  16.1M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  16.1M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  16.1M|#endif
  308|  16.1M|}
abstract.c:Py_DECREF:
  418|  54.0M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  54.0M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  54.0M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 38.2M, False: 15.8M]
  |  |  ------------------
  ------------------
  422|  38.2M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  38.2M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  38.2M|        return;
  424|  38.2M|    }
  425|  15.8M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.8M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.8M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 113k, False: 15.7M]
  ------------------
  427|   113k|        _Py_Dealloc(op);
  428|   113k|    }
  429|  15.8M|}
abstract.c:_Py_IsImmortal:
  127|  54.0M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  54.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  54.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  54.0M|}
abstract.c:Py_XDECREF:
  518|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8, False: 4]
  ------------------
  520|      8|        Py_DECREF(op);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      8|    }
  522|     12|}
abstract.c:_Py_XNewRef:
  541|  24.7M|{
  542|  24.7M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  24.7M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  24.7M|    return obj;
  544|  24.7M|}
abstract.c:Py_XINCREF:
  508|  24.7M|{
  509|  24.7M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.7M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 24.7M, False: 28]
  ------------------
  510|  24.7M|        Py_INCREF(op);
  ------------------
  |  |  310|  24.7M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  24.7M|    }
  512|  24.7M|}
bytearrayobject.c:Py_DECREF:
  418|  8.07M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.07M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.07M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 16.9k, False: 8.05M]
  |  |  ------------------
  ------------------
  422|  16.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  16.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  16.9k|        return;
  424|  16.9k|    }
  425|  8.05M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  8.05M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  8.05M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.05M, False: 2]
  ------------------
  427|  8.05M|        _Py_Dealloc(op);
  428|  8.05M|    }
  429|  8.05M|}
bytearrayobject.c:_Py_IsImmortal:
  127|  8.07M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.07M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.07M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.07M|}
bytearrayobject.c:Py_XDECREF:
  518|  8.05M|{
  519|  8.05M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.05M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8.05M, False: 0]
  ------------------
  520|  8.05M|        Py_DECREF(op);
  ------------------
  |  |  430|  8.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  8.05M|    }
  522|  8.05M|}
bytearrayobject.c:_Py_NewRef:
  535|  8.04M|{
  536|  8.04M|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.04M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  8.04M|    return obj;
  538|  8.04M|}
bytearrayobject.c:Py_INCREF:
  256|  8.04M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  8.04M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.04M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 8.04M]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  8.04M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  8.04M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.04M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  8.04M|#endif
  308|  8.04M|}
capsule.c:Py_DECREF:
  418|      8|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      8|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      8|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      8|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      8|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      8|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 8]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      8|}
capsule.c:_Py_IsImmortal:
  127|      8|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      8|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      8|}
capsule.c:Py_XDECREF:
  518|      4|{
  519|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 0]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|      4|}
cellobject.c:_Py_XNewRef:
  541|  7.20M|{
  542|  7.20M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  7.20M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  7.20M|    return obj;
  544|  7.20M|}
cellobject.c:Py_XINCREF:
  508|  7.20M|{
  509|  7.20M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.20M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.14M, False: 5.05M]
  ------------------
  510|  2.14M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.14M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.14M|    }
  512|  7.20M|}
cellobject.c:Py_INCREF:
  256|  2.14M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.14M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.14M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 583k, False: 1.56M]
  ------------------
  288|       |        // the object is immortal
  289|   583k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   583k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   583k|        return;
  291|   583k|    }
  292|  1.56M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.56M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.56M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.56M|#endif
  308|  1.56M|}
cellobject.c:Py_XDECREF:
  518|  7.19M|{
  519|  7.19M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.19M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.55M, False: 3.64M]
  ------------------
  520|  3.55M|        Py_DECREF(op);
  ------------------
  |  |  430|  3.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.55M|    }
  522|  7.19M|}
cellobject.c:Py_DECREF:
  418|  5.13M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.13M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.13M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 971k, False: 4.16M]
  |  |  ------------------
  ------------------
  422|   971k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   971k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   971k|        return;
  424|   971k|    }
  425|  4.16M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.16M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.16M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.62M, False: 2.53M]
  ------------------
  427|  1.62M|        _Py_Dealloc(op);
  428|  1.62M|    }
  429|  4.16M|}
cellobject.c:_Py_IsImmortal:
  127|  5.13M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.13M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.13M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.13M|}
classobject.c:_Py_NewRef:
  535|  3.59M|{
  536|  3.59M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.59M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.59M|    return obj;
  538|  3.59M|}
classobject.c:Py_INCREF:
  256|  3.59M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.59M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.59M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 62, False: 3.59M]
  ------------------
  288|       |        // the object is immortal
  289|     62|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     62|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     62|        return;
  291|     62|    }
  292|  3.59M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  3.59M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.59M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  3.59M|#endif
  308|  3.59M|}
classobject.c:Py_DECREF:
  418|  3.59M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.59M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.59M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 62, False: 3.59M]
  |  |  ------------------
  ------------------
  422|     62|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     62|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     62|        return;
  424|     62|    }
  425|  3.59M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.59M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.59M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 3.59M]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|  3.59M|}
classobject.c:_Py_IsImmortal:
  127|  3.59M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.59M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.59M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.59M|}
classobject.c:Py_XDECREF:
  518|  1.79M|{
  519|  1.79M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.79M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.79M, False: 0]
  ------------------
  520|  1.79M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.79M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.79M|    }
  522|  1.79M|}
codeobject.c:_Py_NewRef:
  535|   477k|{
  536|   477k|    Py_INCREF(obj);
  ------------------
  |  |  310|   477k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   477k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   477k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   477k|    return obj;
  538|   477k|}
codeobject.c:Py_INCREF:
  256|   477k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   477k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   477k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 135k, False: 342k]
  ------------------
  288|       |        // the object is immortal
  289|   135k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   135k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   135k|        return;
  291|   135k|    }
  292|   342k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   342k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   342k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   342k|#endif
  308|   342k|}
codeobject.c:Py_XDECREF:
  518|   115k|{
  519|   115k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   115k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 88.0k, False: 27.6k]
  ------------------
  520|  88.0k|        Py_DECREF(op);
  ------------------
  |  |  430|  88.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  88.0k|    }
  522|   115k|}
codeobject.c:Py_DECREF:
  418|  91.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  91.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  91.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  91.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 35.1k, False: 55.8k]
  |  |  ------------------
  ------------------
  422|  35.1k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  35.1k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  35.1k|        return;
  424|  35.1k|    }
  425|  55.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  55.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  55.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 27.8k, False: 28.0k]
  ------------------
  427|  27.8k|        _Py_Dealloc(op);
  428|  27.8k|    }
  429|  55.8k|}
codeobject.c:_Py_IsImmortal:
  127|   105k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   105k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   105k|}
codeobject.c:_Py_XNewRef:
  541|    537|{
  542|    537|    Py_XINCREF(obj);
  ------------------
  |  |  514|    537|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    537|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    537|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    537|    return obj;
  544|    537|}
codeobject.c:Py_XINCREF:
  508|    537|{
  509|    537|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    537|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 537, False: 0]
  ------------------
  510|    537|        Py_INCREF(op);
  ------------------
  |  |  310|    537|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    537|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    537|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    537|    }
  512|    537|}
codeobject.c:Py_SET_REFCNT:
  154|  14.1k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  14.1k|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  14.1k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  14.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 14.1k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  14.1k|#ifndef Py_GIL_DISABLED
  170|  14.1k|#if SIZEOF_VOID_P > 4
  171|  14.1k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  14.1k|#endif  // Py_LIMITED_API
  199|  14.1k|}
codeobject.c:_Py_REFCNT:
  105|  14.1k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  14.1k|    #if !defined(Py_GIL_DISABLED)
  107|  14.1k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  14.1k|    }
complexobject.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      2|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      2|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      2|        return;
  291|      2|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
descrobject.c:Py_XDECREF:
  518|  27.6k|{
  519|  27.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  27.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 11.5k, False: 16.0k]
  ------------------
  520|  11.5k|        Py_DECREF(op);
  ------------------
  |  |  430|  11.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  11.5k|    }
  522|  27.6k|}
descrobject.c:Py_DECREF:
  418|  50.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  50.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  50.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.85k, False: 45.4k]
  |  |  ------------------
  ------------------
  422|  4.85k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.85k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.85k|        return;
  424|  4.85k|    }
  425|  45.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  45.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  45.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 30.4k, False: 14.9k]
  ------------------
  427|  30.4k|        _Py_Dealloc(op);
  428|  30.4k|    }
  429|  45.4k|}
descrobject.c:_Py_IsImmortal:
  127|  50.3k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  50.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  50.3k|}
descrobject.c:_Py_XNewRef:
  541|  10.0k|{
  542|  10.0k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  10.0k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  10.0k|    return obj;
  544|  10.0k|}
descrobject.c:Py_XINCREF:
  508|  10.0k|{
  509|  10.0k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.0k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 8.44k, False: 1.58k]
  ------------------
  510|  8.44k|        Py_INCREF(op);
  ------------------
  |  |  310|  8.44k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  8.44k|    }
  512|  10.0k|}
descrobject.c:Py_INCREF:
  256|  41.8k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  41.8k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  41.8k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4.55k, False: 37.3k]
  ------------------
  288|       |        // the object is immortal
  289|  4.55k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  4.55k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  4.55k|        return;
  291|  4.55k|    }
  292|  37.3k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  37.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  37.3k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  37.3k|#endif
  308|  37.3k|}
descrobject.c:_Py_NewRef:
  535|  33.4k|{
  536|  33.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  33.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  33.4k|    return obj;
  538|  33.4k|}
enumobject.c:Py_XDECREF:
  518|  24.6k|{
  519|  24.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 16.4k, False: 8.22k]
  ------------------
  520|  16.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  16.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  16.4k|    }
  522|  24.6k|}
enumobject.c:Py_DECREF:
  418|  26.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.17k, False: 20.9k]
  |  |  ------------------
  ------------------
  422|  5.17k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.17k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.17k|        return;
  424|  5.17k|    }
  425|  20.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.8k, False: 4.10k]
  ------------------
  427|  16.8k|        _Py_Dealloc(op);
  428|  16.8k|    }
  429|  20.9k|}
enumobject.c:_Py_IsImmortal:
  127|  26.1k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  26.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.1k|}
enumobject.c:_Py_REFCNT:
  105|  4.63k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.63k|    #if !defined(Py_GIL_DISABLED)
  107|  4.63k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  4.63k|    }
enumobject.c:Py_INCREF:
  256|  4.64k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  4.64k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.64k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 4.64k]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|  4.64k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.64k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.64k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.64k|#endif
  308|  4.64k|}
enumobject.c:_Py_NewRef:
  535|     12|{
  536|     12|    Py_INCREF(obj);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     12|    return obj;
  538|     12|}
genobject.c:Py_INCREF:
  256|  3.15M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.15M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.15M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.10M, False: 46.6k]
  ------------------
  288|       |        // the object is immortal
  289|  3.10M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.10M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.10M|        return;
  291|  3.10M|    }
  292|  46.6k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  46.6k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  46.6k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  46.6k|#endif
  308|  46.6k|}
genobject.c:_Py_NewRef:
  535|  3.13M|{
  536|  3.13M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.13M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.13M|    return obj;
  538|  3.13M|}
genobject.c:Py_DECREF:
  418|  3.16M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.16M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.16M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.16M, False: 0]
  |  |  ------------------
  ------------------
  422|  3.16M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.16M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.16M|        return;
  424|  3.16M|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
genobject.c:_Py_IsImmortal:
  127|  3.44M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.44M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.44M|}
genobject.c:Py_XINCREF:
  508|  46.6k|{
  509|  46.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  46.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 46.6k]
  ------------------
  510|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    }
  512|  46.6k|}
genobject.c:Py_XDECREF:
  518|  23.3k|{
  519|  23.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  23.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 23.3k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  23.3k|}
fileobject.c:Py_DECREF:
  418|  1.55k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.55k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.55k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.05k, False: 502]
  |  |  ------------------
  ------------------
  422|  1.05k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.05k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.05k|        return;
  424|  1.05k|    }
  425|    502|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    502|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    502|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 502]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    502|}
fileobject.c:_Py_IsImmortal:
  127|  1.55k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.55k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.55k|}
frameobject.c:Py_XINCREF:
  508|    638|{
  509|    638|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    638|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 594, False: 44]
  ------------------
  510|    594|        Py_INCREF(op);
  ------------------
  |  |  310|    594|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    594|    }
  512|    638|}
frameobject.c:Py_INCREF:
  256|    796|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    796|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    796|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 84, False: 712]
  ------------------
  288|       |        // the object is immortal
  289|     84|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     84|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     84|        return;
  291|     84|    }
  292|    712|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    712|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    712|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    712|#endif
  308|    712|}
frameobject.c:_Py_IsImmortal:
  127|   957k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   957k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   957k|}
frameobject.c:Py_DECREF:
  418|   957k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   957k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   957k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42, False: 957k]
  |  |  ------------------
  ------------------
  422|     42|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     42|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     42|        return;
  424|     42|    }
  425|   957k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   957k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   957k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 34, False: 957k]
  ------------------
  427|     34|        _Py_Dealloc(op);
  428|     34|    }
  429|   957k|}
frameobject.c:_Py_NewRef:
  535|    202|{
  536|    202|    Py_INCREF(obj);
  ------------------
  |  |  310|    202|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    202|    return obj;
  538|    202|}
frameobject.c:_Py_XNewRef:
  541|    546|{
  542|    546|    Py_XINCREF(obj);
  ------------------
  |  |  514|    546|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    546|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    546|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    546|    return obj;
  544|    546|}
funcobject.c:Py_XDECREF:
  518|  34.6k|{
  519|  34.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  34.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 17.3k, False: 17.3k]
  ------------------
  520|  17.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  17.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  17.3k|    }
  522|  34.6k|}
funcobject.c:Py_INCREF:
  256|  17.6M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  17.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  17.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.4M, False: 7.21M]
  ------------------
  288|       |        // the object is immortal
  289|  10.4M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.4M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.4M|        return;
  291|  10.4M|    }
  292|  7.21M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  7.21M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.21M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  7.21M|#endif
  308|  7.21M|}
funcobject.c:_Py_NewRef:
  535|  3.77M|{
  536|  3.77M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.77M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.77M|    return obj;
  538|  3.77M|}
funcobject.c:_Py_XNewRef:
  541|  22.5k|{
  542|  22.5k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  22.5k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  22.5k|    return obj;
  544|  22.5k|}
funcobject.c:Py_XINCREF:
  508|  22.5k|{
  509|  22.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  22.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 20.3k, False: 2.24k]
  ------------------
  510|  20.3k|        Py_INCREF(op);
  ------------------
  |  |  310|  20.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  20.3k|    }
  512|  22.5k|}
funcobject.c:Py_DECREF:
  418|  34.1M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  34.1M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  34.1M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18.7M, False: 15.4M]
  |  |  ------------------
  ------------------
  422|  18.7M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  18.7M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  18.7M|        return;
  424|  18.7M|    }
  425|  15.4M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.4M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.4M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.13M, False: 12.2M]
  ------------------
  427|  3.13M|        _Py_Dealloc(op);
  428|  3.13M|    }
  429|  15.4M|}
funcobject.c:_Py_IsImmortal:
  127|  41.0M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  41.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  41.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  41.0M|}
funcobject.c:Py_SET_REFCNT:
  154|  6.88M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  6.88M|    assert(refcnt >= 0);
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  6.88M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  6.88M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6.88M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  6.88M|#ifndef Py_GIL_DISABLED
  170|  6.88M|#if SIZEOF_VOID_P > 4
  171|  6.88M|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  6.88M|#endif  // Py_LIMITED_API
  199|  6.88M|}
funcobject.c:_Py_REFCNT:
  105|  6.88M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.88M|    #if !defined(Py_GIL_DISABLED)
  107|  6.88M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  6.88M|    }
interpolationobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8, False: 2]
  |  |  ------------------
  ------------------
  422|      8|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      8|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      8|        return;
  424|      8|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
interpolationobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
interpolationobject.c:_Py_NewRef:
  535|      6|{
  536|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      6|    return obj;
  538|      6|}
interpolationobject.c:Py_INCREF:
  256|      6|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      6|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
iterobject.c:_Py_NewRef:
  535|    702|{
  536|    702|    Py_INCREF(obj);
  ------------------
  |  |  310|    702|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    702|    return obj;
  538|    702|}
iterobject.c:Py_INCREF:
  256|    702|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    702|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    702|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 700]
  ------------------
  288|       |        // the object is immortal
  289|      2|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      2|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      2|        return;
  291|      2|    }
  292|    700|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    700|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    700|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    700|#endif
  308|    700|}
iterobject.c:Py_XDECREF:
  518|    704|{
  519|    704|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    704|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 704]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|    704|}
iterobject.c:Py_DECREF:
  418|    702|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    702|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    702|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 700]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|    700|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    700|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    700|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 700]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    700|}
iterobject.c:_Py_IsImmortal:
  127|    702|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    702|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    702|}
lazyimportobject.c:_Py_XNewRef:
  541|    124|{
  542|    124|    Py_XINCREF(obj);
  ------------------
  |  |  514|    124|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    124|    return obj;
  544|    124|}
lazyimportobject.c:Py_XINCREF:
  508|    124|{
  509|    124|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    124|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 94, False: 30]
  ------------------
  510|     94|        Py_INCREF(op);
  ------------------
  |  |  310|     94|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     94|    }
  512|    124|}
lazyimportobject.c:Py_INCREF:
  256|    218|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    218|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    218|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 82, False: 136]
  ------------------
  288|       |        // the object is immortal
  289|     82|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     82|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     82|        return;
  291|     82|    }
  292|    136|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    136|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    136|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    136|#endif
  308|    136|}
lazyimportobject.c:_Py_NewRef:
  535|    124|{
  536|    124|    Py_INCREF(obj);
  ------------------
  |  |  310|    124|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    124|    return obj;
  538|    124|}
lazyimportobject.c:Py_DECREF:
  418|     66|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     66|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 18, False: 48]
  |  |  ------------------
  ------------------
  422|     18|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     18|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     18|        return;
  424|     18|    }
  425|     48|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     48|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     48|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 46]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|     48|}
lazyimportobject.c:_Py_IsImmortal:
  127|     66|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     66|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     66|}
odictobject.c:Py_XDECREF:
  518|   154k|{
  519|   154k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   154k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 45.1k, False: 109k]
  ------------------
  520|  45.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  45.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  45.1k|    }
  522|   154k|}
odictobject.c:Py_DECREF:
  418|   197k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   197k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   197k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 91.7k, False: 105k]
  |  |  ------------------
  ------------------
  422|  91.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  91.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  91.7k|        return;
  424|  91.7k|    }
  425|   105k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   105k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   105k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 24.7k, False: 81.0k]
  ------------------
  427|  24.7k|        _Py_Dealloc(op);
  428|  24.7k|    }
  429|   105k|}
odictobject.c:_Py_IsImmortal:
  127|   197k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   197k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   197k|}
odictobject.c:_Py_NewRef:
  535|   111k|{
  536|   111k|    Py_INCREF(obj);
  ------------------
  |  |  310|   111k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   111k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   111k|    return obj;
  538|   111k|}
odictobject.c:Py_INCREF:
  256|   136k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   136k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   136k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 75.7k, False: 60.5k]
  ------------------
  288|       |        // the object is immortal
  289|  75.7k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  75.7k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  75.7k|        return;
  291|  75.7k|    }
  292|  60.5k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  60.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  60.5k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  60.5k|#endif
  308|  60.5k|}
odictobject.c:_Py_REFCNT:
  105|     12|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     12|    #if !defined(Py_GIL_DISABLED)
  107|     12|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|     12|    }
methodobject.c:_Py_NewRef:
  535|    558|{
  536|    558|    Py_INCREF(obj);
  ------------------
  |  |  310|    558|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    558|    return obj;
  538|    558|}
methodobject.c:Py_INCREF:
  256|  9.32M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  9.32M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  9.32M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.06M, False: 1.26M]
  ------------------
  288|       |        // the object is immortal
  289|  8.06M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.06M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.06M|        return;
  291|  8.06M|    }
  292|  1.26M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.26M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.26M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.26M|#endif
  308|  1.26M|}
methodobject.c:_Py_XNewRef:
  541|  18.6M|{
  542|  18.6M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  18.6M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  18.6M|    return obj;
  544|  18.6M|}
methodobject.c:Py_XINCREF:
  508|  18.6M|{
  509|  18.6M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  18.6M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 9.32M, False: 9.32M]
  ------------------
  510|  9.32M|        Py_INCREF(op);
  ------------------
  |  |  310|  9.32M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  9.32M|    }
  512|  18.6M|}
methodobject.c:Py_XDECREF:
  518|  27.9M|{
  519|  27.9M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  27.9M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 9.32M, False: 18.6M]
  ------------------
  520|  9.32M|        Py_DECREF(op);
  ------------------
  |  |  430|  9.32M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  9.32M|    }
  522|  27.9M|}
methodobject.c:Py_DECREF:
  418|  9.32M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  9.32M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.32M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.06M, False: 1.25M]
  |  |  ------------------
  ------------------
  422|  8.06M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.06M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.06M|        return;
  424|  8.06M|    }
  425|  1.25M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.25M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.25M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 342, False: 1.25M]
  ------------------
  427|    342|        _Py_Dealloc(op);
  428|    342|    }
  429|  1.25M|}
methodobject.c:_Py_IsImmortal:
  127|  9.32M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  9.32M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  9.32M|}
namespaceobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 10]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     10|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     10|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     10|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 10, False: 0]
  ------------------
  427|     10|        _Py_Dealloc(op);
  428|     10|    }
  429|     10|}
namespaceobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
Python-ast.c:Py_DECREF:
  418|  4.36k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.36k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.36k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.08k, False: 2.28k]
  |  |  ------------------
  ------------------
  422|  2.08k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.08k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.08k|        return;
  424|  2.08k|    }
  425|  2.28k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.28k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.28k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 466, False: 1.81k]
  ------------------
  427|    466|        _Py_Dealloc(op);
  428|    466|    }
  429|  2.28k|}
Python-ast.c:_Py_IsImmortal:
  127|  4.36k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  4.36k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.36k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.36k|}
Python-ast.c:Py_XDECREF:
  518|    210|{
  519|    210|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    210|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 140, False: 70]
  ------------------
  520|    140|        Py_DECREF(op);
  ------------------
  |  |  430|    140|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    140|    }
  522|    210|}
Python-ast.c:Py_INCREF:
  256|    674|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    674|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    674|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 336, False: 338]
  ------------------
  288|       |        // the object is immortal
  289|    336|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    336|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    336|        return;
  291|    336|    }
  292|    338|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    338|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    338|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    338|#endif
  308|    338|}
Python-ast.c:_Py_NewRef:
  535|    514|{
  536|    514|    Py_INCREF(obj);
  ------------------
  |  |  310|    514|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    514|    return obj;
  538|    514|}
Python-tokenize.c:Py_DECREF:
  418|    252|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    252|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    252|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 98, False: 154]
  |  |  ------------------
  ------------------
  422|     98|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     98|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     98|        return;
  424|     98|    }
  425|    154|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    154|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    154|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 10, False: 144]
  ------------------
  427|     10|        _Py_Dealloc(op);
  428|     10|    }
  429|    154|}
Python-tokenize.c:_Py_IsImmortal:
  127|    252|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    252|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    252|}
Python-tokenize.c:Py_XDECREF:
  518|    170|{
  519|    170|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    170|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 160, False: 10]
  ------------------
  520|    160|        Py_DECREF(op);
  ------------------
  |  |  430|    160|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    160|    }
  522|    170|}
assemble.c:Py_XDECREF:
  518|  5.13k|{
  519|  5.13k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.13k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.13k, False: 0]
  ------------------
  520|  5.13k|        Py_DECREF(op);
  ------------------
  |  |  430|  5.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.13k|    }
  522|  5.13k|}
assemble.c:Py_DECREF:
  418|  5.13k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.13k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.13k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.41k, False: 3.71k]
  |  |  ------------------
  ------------------
  422|  1.41k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.41k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.41k|        return;
  424|  1.41k|    }
  425|  3.71k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.71k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.71k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 3.71k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  3.71k|}
assemble.c:_Py_IsImmortal:
  127|  5.13k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.13k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.13k|}
assemble.c:_Py_NewRef:
  535|  1.61k|{
  536|  1.61k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.61k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.61k|    return obj;
  538|  1.61k|}
assemble.c:Py_INCREF:
  256|  1.61k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.61k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.61k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.61k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  1.61k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.61k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.61k|        return;
  291|  1.61k|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
pegen.c:Py_DECREF:
  418|   108k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   108k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   108k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|   108k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   108k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   108k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 108k, False: 0]
  ------------------
  427|   108k|        _Py_Dealloc(op);
  428|   108k|    }
  429|   108k|}
pegen.c:_Py_IsImmortal:
  127|   108k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   108k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   108k|}
pegen.c:Py_XDECREF:
  518|   108k|{
  519|   108k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   108k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 108k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|   108k|}
pegen.c:Py_INCREF:
  256|  54.6k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  54.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  54.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 249, False: 54.3k]
  ------------------
  288|       |        // the object is immortal
  289|    249|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    249|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    249|        return;
  291|    249|    }
  292|  54.3k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  54.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  54.3k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  54.3k|#endif
  308|  54.3k|}
pegen.c:_Py_NewRef:
  535|  54.4k|{
  536|  54.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  54.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  54.4k|    return obj;
  538|  54.4k|}
pegen.c:_Py_XNewRef:
  541|  54.4k|{
  542|  54.4k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  54.4k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  54.4k|    return obj;
  544|  54.4k|}
pegen.c:Py_XINCREF:
  508|  54.4k|{
  509|  54.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  54.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 203, False: 54.2k]
  ------------------
  510|    203|        Py_INCREF(op);
  ------------------
  |  |  310|    203|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    203|    }
  512|  54.4k|}
pegen_errors.c:Py_DECREF:
  418|   162k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   162k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   162k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   162k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   162k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 162k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|   162k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   162k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   162k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 162k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|   162k|}
pegen_errors.c:_Py_IsImmortal:
  127|   162k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   162k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   162k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   162k|}
state.c:Py_XDECREF:
  518|   327k|{
  519|   327k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   327k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 54.6k, False: 272k]
  ------------------
  520|  54.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  54.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  54.6k|    }
  522|   327k|}
state.c:Py_DECREF:
  418|  54.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  54.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  54.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 249, False: 54.3k]
  |  |  ------------------
  ------------------
  422|    249|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    249|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    249|        return;
  424|    249|    }
  425|  54.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  54.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  54.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 10, False: 54.3k]
  ------------------
  427|     10|        _Py_Dealloc(op);
  428|     10|    }
  429|  54.3k|}
state.c:_Py_IsImmortal:
  127|  54.6k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  54.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  54.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  54.6k|}
readline_tokenizer.c:Py_DECREF:
  418|    174|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    174|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    174|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 22, False: 152]
  |  |  ------------------
  ------------------
  422|     22|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     22|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     22|        return;
  424|     22|    }
  425|    152|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    152|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    152|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 34, False: 118]
  ------------------
  427|     34|        _Py_Dealloc(op);
  428|     34|    }
  429|    152|}
readline_tokenizer.c:_Py_IsImmortal:
  127|    174|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    174|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    174|}
readline_tokenizer.c:Py_INCREF:
  256|     10|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     10|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     10|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 10]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|     10|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     10|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     10|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     10|#endif
  308|     10|}

PyInit__abc:
 1000|      2|{
 1001|      2|    return PyModuleDef_Init(&_abcmodule);
 1002|      2|}
_abc.c:get_abc_state:
   29|  97.9k|{
   30|  97.9k|    void *state = _PyModule_GetState(module);
   31|       |    assert(state != NULL);
   32|  97.9k|    return (_abcmodule_state *)state;
   33|  97.9k|}
_abc.c:get_invalidation_counter:
   37|  41.6k|{
   38|       |#ifdef Py_GIL_DISABLED
   39|       |    return _Py_atomic_load_uint64(&state->abc_invalidation_counter);
   40|       |#else
   41|  41.6k|    return state->abc_invalidation_counter;
   42|  41.6k|#endif
   43|  41.6k|}
_abc.c:_abc__abc_init:
  499|    274|{
  500|    274|    _abcmodule_state *state = get_abc_state(module);
  501|    274|    PyObject *data;
  502|    274|    if (compute_abstract_methods(self) < 0) {
  ------------------
  |  Branch (502:9): [True: 0, False: 274]
  ------------------
  503|      0|        return NULL;
  504|      0|    }
  505|       |
  506|       |    /* Set up inheritance registry. */
  507|    274|    data = abc_data_new(state->_abc_data_type, NULL, NULL);
  508|    274|    if (data == NULL) {
  ------------------
  |  Branch (508:9): [True: 0, False: 274]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|    274|    if (PyObject_SetAttr(self, &_Py_ID(_abc_impl), data) < 0) {
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:9): [True: 0, False: 274]
  ------------------
  512|      0|        Py_DECREF(data);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      0|        return NULL;
  514|      0|    }
  515|    274|    Py_DECREF(data);
  ------------------
  |  |  430|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|       |    /* If __abc_tpflags__ & COLLECTION_FLAGS is set, then set the corresponding bit(s)
  517|       |     * in the new class.
  518|       |     * Used by collections.abc.Sequence and collections.abc.Mapping to indicate
  519|       |     * their special status w.r.t. pattern matching. */
  520|    274|    if (PyType_Check(self)) {
  ------------------
  |  |  766|    274|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 274, False: 0]
  |  |  ------------------
  ------------------
  521|    274|        PyTypeObject *cls = (PyTypeObject *)self;
  522|    274|        PyObject *dict = _PyType_GetDict(cls);
  523|    274|        PyObject *flags = NULL;
  524|    274|        if (PyDict_Pop(dict, &_Py_ID(__abc_tpflags__), &flags) < 0) {
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:13): [True: 0, False: 274]
  ------------------
  525|      0|            return NULL;
  526|      0|        }
  527|    274|        if (flags == NULL || !PyLong_CheckExact(flags)) {
  ------------------
  |  |   14|      4|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (527:13): [True: 270, False: 4]
  |  Branch (527:30): [True: 0, False: 4]
  ------------------
  528|    270|            Py_XDECREF(flags);
  ------------------
  |  |  524|    270|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|    270|            Py_RETURN_NONE;
  ------------------
  |  |  628|    270|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    270|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  530|    270|        }
  531|       |
  532|      4|        long val = PyLong_AsLong(flags);
  533|      4|        Py_DECREF(flags);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      4|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (534:13): [True: 0, False: 4]
  |  Branch (534:26): [True: 0, False: 0]
  ------------------
  535|      0|            return NULL;
  536|      0|        }
  537|      4|        if ((val & COLLECTION_FLAGS) == COLLECTION_FLAGS) {
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
                      if ((val & COLLECTION_FLAGS) == COLLECTION_FLAGS) {
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (537:13): [True: 0, False: 4]
  ------------------
  538|      0|            PyErr_SetString(PyExc_TypeError, "__abc_tpflags__ cannot be both Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING");
  539|      0|            return NULL;
  540|      0|        }
  541|      4|        _PyType_SetFlags((PyTypeObject *)self, 0, val & COLLECTION_FLAGS);
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  542|      4|    }
  543|      4|    Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  544|    274|}
_abc.c:compute_abstract_methods:
  363|    274|{
  364|    274|    int ret = -1;
  365|    274|    PyObject *abstracts = PyFrozenSet_New(NULL);
  366|    274|    if (abstracts == NULL) {
  ------------------
  |  Branch (366:9): [True: 0, False: 274]
  ------------------
  367|      0|        return -1;
  368|      0|    }
  369|       |
  370|    274|    PyObject *ns = NULL, *items = NULL, *bases = NULL;  // Py_XDECREF()ed on error.
  371|       |
  372|       |    /* Stage 1: direct abstract methods. */
  373|    274|    ns = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|    274|    if (!ns) {
  ------------------
  |  Branch (374:9): [True: 0, False: 274]
  ------------------
  375|      0|        goto error;
  376|      0|    }
  377|       |
  378|       |    // We can't use PyDict_Next(ns) even when ns is dict because
  379|       |    // _PyObject_IsAbstract() can mutate ns.
  380|    274|    items = PyMapping_Items(ns);
  381|    274|    if (!items) {
  ------------------
  |  Branch (381:9): [True: 0, False: 274]
  ------------------
  382|      0|        goto error;
  383|      0|    }
  384|    274|    assert(PyList_Check(items));
  385|  4.02k|    for (Py_ssize_t pos = 0; pos < PyList_GET_SIZE(items); pos++) {
  ------------------
  |  |   38|  4.02k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (385:30): [True: 3.75k, False: 274]
  ------------------
  386|  3.75k|        PyObject *it = PySequence_Fast(
  387|  3.75k|                PyList_GET_ITEM(items, pos),
  ------------------
  |  |   40|  3.75k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.75k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|  3.75k|                "items() returned non-iterable");
  389|  3.75k|        if (!it) {
  ------------------
  |  Branch (389:13): [True: 0, False: 3.75k]
  ------------------
  390|      0|            goto error;
  391|      0|        }
  392|  3.75k|        if (PySequence_Fast_GET_SIZE(it) != 2) {
  ------------------
  |  |   92|  3.75k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  3.75k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|  3.75k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (392:13): [True: 0, False: 3.75k]
  ------------------
  393|      0|            PyErr_SetString(PyExc_TypeError,
  394|      0|                            "items() returned item which size is not 2");
  395|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|      0|            goto error;
  397|      0|        }
  398|       |
  399|       |        // borrowed
  400|  3.75k|        PyObject *key = PySequence_Fast_GET_ITEM(it, 0);
  ------------------
  |  |   97|  3.75k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  3.75k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|  3.75k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  3.75k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|  3.75k|        PyObject *value = PySequence_Fast_GET_ITEM(it, 1);
  ------------------
  |  |   97|  3.75k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  3.75k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|  3.75k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  3.75k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  402|       |        // items or it may be cleared while accessing __abstractmethod__
  403|       |        // So we need to keep strong reference for key
  404|  3.75k|        Py_INCREF(key);
  ------------------
  |  |  310|  3.75k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  3.75k|        int is_abstract = _PyObject_IsAbstract(value);
  406|  3.75k|        if (is_abstract < 0 ||
  ------------------
  |  Branch (406:13): [True: 0, False: 3.75k]
  ------------------
  407|  3.75k|                (is_abstract && PySet_Add(abstracts, key) < 0)) {
  ------------------
  |  Branch (407:18): [True: 232, False: 3.52k]
  |  Branch (407:33): [True: 0, False: 232]
  ------------------
  408|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      0|            goto error;
  411|      0|        }
  412|  3.75k|        Py_DECREF(key);
  ------------------
  |  |  430|  3.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  3.75k|        Py_DECREF(it);
  ------------------
  |  |  430|  3.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|  3.75k|    }
  415|       |
  416|       |    /* Stage 2: inherited abstract methods. */
  417|    274|    bases = PyObject_GetAttr(self, &_Py_ID(__bases__));
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|    274|    if (!bases) {
  ------------------
  |  Branch (418:9): [True: 0, False: 274]
  ------------------
  419|      0|        goto error;
  420|      0|    }
  421|    274|    if (!PyTuple_Check(bases)) {
  ------------------
  |  |   27|    274|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    274|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 274]
  ------------------
  422|      0|        PyErr_SetString(PyExc_TypeError, "__bases__ is not tuple");
  423|      0|        goto error;
  424|      0|    }
  425|       |
  426|    596|    for (Py_ssize_t pos = 0; pos < PyTuple_GET_SIZE(bases); pos++) {
  ------------------
  |  |   27|    596|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    596|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    596|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (426:30): [True: 322, False: 274]
  ------------------
  427|    322|        PyObject *item = PyTuple_GET_ITEM(bases, pos);  // borrowed
  ------------------
  |  |   29|    322|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    322|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    322|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|    322|        PyObject *base_abstracts, *iter;
  429|       |
  430|    322|        if (PyObject_GetOptionalAttr(item, &_Py_ID(__abstractmethods__),
  ------------------
  |  |  919|    322|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    322|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    322|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:13): [True: 0, False: 322]
  ------------------
  431|    322|                                 &base_abstracts) < 0) {
  432|      0|            goto error;
  433|      0|        }
  434|    322|        if (base_abstracts == NULL) {
  ------------------
  |  Branch (434:13): [True: 66, False: 256]
  ------------------
  435|     66|            continue;
  436|     66|        }
  437|    256|        if (!(iter = PyObject_GetIter(base_abstracts))) {
  ------------------
  |  Branch (437:13): [True: 0, False: 256]
  ------------------
  438|      0|            Py_DECREF(base_abstracts);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|      0|            goto error;
  440|      0|        }
  441|    256|        Py_DECREF(base_abstracts);
  ------------------
  |  |  430|    256|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|    256|        PyObject *key, *value;
  443|    764|        while ((key = PyIter_Next(iter))) {
  ------------------
  |  Branch (443:16): [True: 508, False: 256]
  ------------------
  444|    508|            if (PyObject_GetOptionalAttr(self, key, &value) < 0) {
  ------------------
  |  Branch (444:17): [True: 0, False: 508]
  ------------------
  445|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|                goto error;
  448|      0|            }
  449|    508|            if (value == NULL) {
  ------------------
  |  Branch (449:17): [True: 0, False: 508]
  ------------------
  450|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|      0|                continue;
  452|      0|            }
  453|       |
  454|    508|            int is_abstract = _PyObject_IsAbstract(value);
  455|    508|            Py_DECREF(value);
  ------------------
  |  |  430|    508|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    508|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    508|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|    508|            if (is_abstract < 0 ||
  ------------------
  |  Branch (456:17): [True: 0, False: 508]
  ------------------
  457|    508|                    (is_abstract && PySet_Add(abstracts, key) < 0))
  ------------------
  |  Branch (457:22): [True: 164, False: 344]
  |  Branch (457:37): [True: 0, False: 164]
  ------------------
  458|      0|            {
  459|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|      0|                goto error;
  462|      0|            }
  463|    508|            Py_DECREF(key);
  ------------------
  |  |  430|    508|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    508|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    508|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|    508|        }
  465|    256|        Py_DECREF(iter);
  ------------------
  |  |  430|    256|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|    256|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (466:13): [True: 0, False: 256]
  ------------------
  467|      0|            goto error;
  468|      0|        }
  469|    256|    }
  470|       |
  471|    274|    if (PyObject_SetAttr(self, &_Py_ID(__abstractmethods__), abstracts) < 0) {
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 274]
  ------------------
  472|      0|        goto error;
  473|      0|    }
  474|       |
  475|    274|    ret = 0;
  476|    274|error:
  477|    274|    Py_DECREF(abstracts);
  ------------------
  |  |  430|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|    274|    Py_XDECREF(ns);
  ------------------
  |  |  524|    274|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|    274|    Py_XDECREF(items);
  ------------------
  |  |  524|    274|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|    274|    Py_XDECREF(bases);
  ------------------
  |  |  524|    274|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|    274|    return ret;
  482|    274|}
_abc.c:abc_data_new:
  125|    274|{
  126|    274|    _abc_data *self = (_abc_data *) type->tp_alloc(type, 0);
  127|    274|    _abcmodule_state *state = NULL;
  128|    274|    if (self == NULL) {
  ------------------
  |  Branch (128:9): [True: 0, False: 274]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|       |
  132|    274|    state = _PyType_GetModuleState(type);
  133|    274|    if (state == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 274]
  ------------------
  134|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|      0|        return NULL;
  136|      0|    }
  137|       |
  138|    274|    self->_abc_registry = NULL;
  139|    274|    self->_abc_cache = NULL;
  140|       |    self->_abc_negative_cache = NULL;
  141|    274|    self->_abc_negative_cache_version = get_invalidation_counter(state);
  142|    274|    return (PyObject *) self;
  143|    274|}
_abc.c:_get_impl:
  166|  56.2k|{
  167|  56.2k|    _abcmodule_state *state = get_abc_state(module);
  168|  56.2k|    PyObject *impl = PyObject_GetAttr(self, &_Py_ID(_abc_impl));
  ------------------
  |  |  919|  56.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  56.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  56.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|  56.2k|    if (impl == NULL) {
  ------------------
  |  Branch (169:9): [True: 0, False: 56.2k]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|  56.2k|    if (!Py_IS_TYPE(impl, state->_abc_data_type)) {
  ------------------
  |  |  215|  56.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  56.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (172:9): [True: 0, False: 56.2k]
  ------------------
  173|      0|        PyErr_SetString(PyExc_TypeError, "_abc_impl is set to a wrong type");
  174|      0|        Py_DECREF(impl);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|      0|        return NULL;
  176|      0|    }
  177|  56.2k|    return (_abc_data *)impl;
  178|  56.2k|}
_abc.c:get_cache_version:
   74|  41.3k|{
   75|       |#ifdef Py_GIL_DISABLED
   76|       |    return _Py_atomic_load_uint64(&impl->_abc_negative_cache_version);
   77|       |#else
   78|  41.3k|    return impl->_abc_negative_cache_version;
   79|  41.3k|#endif
   80|  41.3k|}
_abc.c:_abc__abc_register_impl:
  560|    154|{
  561|    154|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|    154|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (561:9): [True: 0, False: 154]
  ------------------
  562|      0|        PyErr_SetString(PyExc_TypeError, "Can only register classes");
  563|      0|        return NULL;
  564|      0|    }
  565|    154|    int result = PyObject_IsSubclass(subclass, self);
  566|    154|    if (result > 0) {
  ------------------
  |  Branch (566:9): [True: 62, False: 92]
  ------------------
  567|     62|        return Py_NewRef(subclass);  /* Already a subclass. */
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|     62|    }
  569|     92|    if (result < 0) {
  ------------------
  |  Branch (569:9): [True: 0, False: 92]
  ------------------
  570|      0|        return NULL;
  571|      0|    }
  572|       |    /* Subtle: test for cycles *after* testing for "already a subclass";
  573|       |       this means we allow X.register(X) and interpret it as a no-op. */
  574|     92|    result = PyObject_IsSubclass(self, subclass);
  575|     92|    if (result > 0) {
  ------------------
  |  Branch (575:9): [True: 0, False: 92]
  ------------------
  576|       |        /* This would create a cycle, which is bad for the algorithm below. */
  577|      0|        PyErr_SetString(PyExc_RuntimeError, "Refusing to create an inheritance cycle");
  578|      0|        return NULL;
  579|      0|    }
  580|     92|    if (result < 0) {
  ------------------
  |  Branch (580:9): [True: 0, False: 92]
  ------------------
  581|      0|        return NULL;
  582|      0|    }
  583|     92|    _abc_data *impl = _get_impl(module, self);
  584|     92|    if (impl == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 92]
  ------------------
  585|      0|        return NULL;
  586|      0|    }
  587|     92|    if (_add_to_weak_set(impl, &impl->_abc_registry, subclass) < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 92]
  ------------------
  588|      0|        Py_DECREF(impl);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|        return NULL;
  590|      0|    }
  591|     92|    Py_DECREF(impl);
  ------------------
  |  |  430|     92|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|       |    /* Invalidate negative cache */
  594|     92|    increment_invalidation_counter(get_abc_state(module));
  595|       |
  596|       |    /* Set Py_TPFLAGS_SEQUENCE or Py_TPFLAGS_MAPPING flag */
  597|     92|    if (PyType_Check(self)) {
  ------------------
  |  |  766|     92|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 92, False: 0]
  |  |  ------------------
  ------------------
  598|     92|        unsigned long collection_flag =
  599|     92|            PyType_GetFlags((PyTypeObject *)self) & COLLECTION_FLAGS;
  ------------------
  |  |  484|     92|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     92|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     92|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  600|     92|        if (collection_flag) {
  ------------------
  |  Branch (600:13): [True: 32, False: 60]
  ------------------
  601|     32|            _PyType_SetFlagsRecursive((PyTypeObject *)subclass,
  602|     32|                                      COLLECTION_FLAGS,
  ------------------
  |  |  484|     32|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     32|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     32|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  603|     32|                                      collection_flag);
  604|     32|        }
  605|     92|    }
  606|     92|    return Py_NewRef(subclass);
  ------------------
  |  |  550|     92|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|     92|}
_abc.c:_add_to_weak_set:
  224|    273|{
  225|    273|    PyObject *set;
  226|    273|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    273|    {
  ------------------
  227|    273|    set = *pset;
  228|    273|    if (set == NULL) {
  ------------------
  |  Branch (228:9): [True: 142, False: 131]
  ------------------
  229|    142|        set = *pset = PySet_New(NULL);
  230|    142|    }
  231|    273|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    273|    }
  ------------------
  232|    273|    if (set == NULL) {
  ------------------
  |  Branch (232:9): [True: 0, False: 273]
  ------------------
  233|      0|        return -1;
  234|      0|    }
  235|       |
  236|    273|    PyObject *ref, *wr;
  237|    273|    PyObject *destroy_cb;
  238|    273|    wr = PyWeakref_NewRef(set, NULL);
  239|    273|    if (wr == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 273]
  ------------------
  240|      0|        return -1;
  241|      0|    }
  242|    273|    destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL);
  ------------------
  |  |   87|    273|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  243|    273|    if (destroy_cb == NULL) {
  ------------------
  |  Branch (243:9): [True: 0, False: 273]
  ------------------
  244|      0|        Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|        return -1;
  246|      0|    }
  247|    273|    ref = PyWeakref_NewRef(obj, destroy_cb);
  248|    273|    Py_DECREF(destroy_cb);
  ------------------
  |  |  430|    273|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|    273|    if (ref == NULL) {
  ------------------
  |  Branch (249:9): [True: 0, False: 273]
  ------------------
  250|      0|        Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|      0|        return -1;
  252|      0|    }
  253|    273|    int ret = PySet_Add(set, ref);
  254|    273|    Py_DECREF(wr);
  ------------------
  |  |  430|    273|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    273|    Py_DECREF(ref);
  ------------------
  |  |  430|    273|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|    273|    return ret;
  257|    273|}
_abc.c:increment_invalidation_counter:
   47|     92|{
   48|       |#ifdef Py_GIL_DISABLED
   49|       |    _Py_atomic_add_uint64(&state->abc_invalidation_counter, 1);
   50|       |#else
   51|     92|    state->abc_invalidation_counter++;
   52|     92|#endif
   53|     92|}
_abc.c:_abc__abc_instancecheck_impl:
  625|  37.2k|{
  626|  37.2k|    PyObject *subtype, *result = NULL, *subclass = NULL;
  627|  37.2k|    _abc_data *impl = _get_impl(module, self);
  628|  37.2k|    if (impl == NULL) {
  ------------------
  |  Branch (628:9): [True: 0, False: 37.2k]
  ------------------
  629|      0|        return NULL;
  630|      0|    }
  631|       |
  632|  37.2k|    subclass = PyObject_GetAttr(instance, &_Py_ID(__class__));
  ------------------
  |  |  919|  37.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  37.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  37.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|  37.2k|    if (subclass == NULL) {
  ------------------
  |  Branch (633:9): [True: 0, False: 37.2k]
  ------------------
  634|      0|        Py_DECREF(impl);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      0|        return NULL;
  636|      0|    }
  637|       |    /* Inline the cache checking. */
  638|  37.2k|    int incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  639|  37.2k|    if (incache < 0) {
  ------------------
  |  Branch (639:9): [True: 0, False: 37.2k]
  ------------------
  640|      0|        goto end;
  641|      0|    }
  642|  37.2k|    if (incache > 0) {
  ------------------
  |  Branch (642:9): [True: 14.7k, False: 22.5k]
  ------------------
  643|  14.7k|        result = Py_NewRef(Py_True);
  ------------------
  |  |  550|  14.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|  14.7k|        goto end;
  645|  14.7k|    }
  646|  22.5k|    subtype = (PyObject *)Py_TYPE(instance);
  ------------------
  |  |  213|  22.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|  22.5k|    if (subtype == subclass) {
  ------------------
  |  Branch (647:9): [True: 22.5k, False: 0]
  ------------------
  648|  22.5k|        if (get_cache_version(impl) == get_invalidation_counter(get_abc_state(module))) {
  ------------------
  |  Branch (648:13): [True: 22.5k, False: 6]
  ------------------
  649|  22.5k|            incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  650|  22.5k|            if (incache < 0) {
  ------------------
  |  Branch (650:17): [True: 0, False: 22.5k]
  ------------------
  651|      0|                goto end;
  652|      0|            }
  653|  22.5k|            if (incache > 0) {
  ------------------
  |  Branch (653:17): [True: 3.88k, False: 18.6k]
  ------------------
  654|  3.88k|                result = Py_NewRef(Py_False);
  ------------------
  |  |  550|  3.88k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|  3.88k|                goto end;
  656|  3.88k|            }
  657|  22.5k|        }
  658|       |        /* Fall back to the subclass check. */
  659|  18.6k|        result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  919|  18.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|  18.6k|                                           subclass);
  661|  18.6k|        goto end;
  662|  22.5k|    }
  663|      0|    result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|      0|                                       subclass);
  665|      0|    if (result == NULL) {
  ------------------
  |  Branch (665:9): [True: 0, False: 0]
  ------------------
  666|      0|        goto end;
  667|      0|    }
  668|       |
  669|      0|    switch (PyObject_IsTrue(result)) {
  670|      0|    case -1:
  ------------------
  |  Branch (670:5): [True: 0, False: 0]
  ------------------
  671|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  672|      0|        break;
  673|      0|    case 0:
  ------------------
  |  Branch (673:5): [True: 0, False: 0]
  ------------------
  674|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|      0|        result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      0|                                           subtype);
  677|      0|        break;
  678|      0|    case 1:  // Nothing to do.
  ------------------
  |  Branch (678:5): [True: 0, False: 0]
  ------------------
  679|      0|        break;
  680|      0|    default:
  ------------------
  |  Branch (680:5): [True: 0, False: 0]
  ------------------
  681|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  682|      0|    }
  683|       |
  684|  37.2k|end:
  685|  37.2k|    Py_XDECREF(impl);
  ------------------
  |  |  524|  37.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|  37.2k|    Py_XDECREF(subclass);
  ------------------
  |  |  524|  37.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|  37.2k|    return result;
  688|      0|}
_abc.c:_in_weak_set:
  182|   116k|{
  183|   116k|    PyObject *set;
  184|   116k|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|   116k|    {
  ------------------
  185|   116k|    set = *pset;
  186|   116k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   116k|    }
  ------------------
  187|   116k|    if (set == NULL || PySet_GET_SIZE(set) == 0) {
  ------------------
  |  |   71|   110k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 5.41k, False: 110k]
  |  Branch (187:24): [True: 37.2k, False: 73.4k]
  ------------------
  188|  42.6k|        return 0;
  189|  42.6k|    }
  190|  73.4k|    PyObject *ref = PyWeakref_NewRef(obj, NULL);
  191|  73.4k|    if (ref == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 73.4k]
  ------------------
  192|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (192:13): [True: 0, False: 0]
  ------------------
  193|      0|            PyErr_Clear();
  194|      0|            return 0;
  195|      0|        }
  196|      0|        return -1;
  197|      0|    }
  198|  73.4k|    int res = PySet_Contains(set, ref);
  199|  73.4k|    Py_DECREF(ref);
  ------------------
  |  |  430|  73.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  73.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|  73.4k|    return res;
  201|  73.4k|}
_abc.c:_abc__abc_subclasscheck_impl:
  712|  18.8k|{
  713|  18.8k|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|  18.8k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 18.8k]
  ------------------
  714|      0|        PyErr_SetString(PyExc_TypeError, "issubclass() arg 1 must be a class");
  715|      0|        return NULL;
  716|      0|    }
  717|       |
  718|  18.8k|    PyObject *ok, *subclasses = NULL, *result = NULL;
  719|  18.8k|    _abcmodule_state *state = NULL;
  720|  18.8k|    Py_ssize_t pos;
  721|  18.8k|    int incache;
  722|  18.8k|    _abc_data *impl = _get_impl(module, self);
  723|  18.8k|    if (impl == NULL) {
  ------------------
  |  Branch (723:9): [True: 0, False: 18.8k]
  ------------------
  724|      0|        return NULL;
  725|      0|    }
  726|       |
  727|       |    /* 1. Check cache. */
  728|  18.8k|    incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  729|  18.8k|    if (incache < 0) {
  ------------------
  |  Branch (729:9): [True: 0, False: 18.8k]
  ------------------
  730|      0|        goto end;
  731|      0|    }
  732|  18.8k|    if (incache > 0) {
  ------------------
  |  Branch (732:9): [True: 2, False: 18.8k]
  ------------------
  733|      2|        result = Py_True;
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      2|        goto end;
  735|      2|    }
  736|       |
  737|  18.8k|    state = get_abc_state(module);
  738|       |    /* 2. Check negative cache; may have to invalidate. */
  739|  18.8k|    uint64_t invalidation_counter = get_invalidation_counter(state);
  740|  18.8k|    if (get_cache_version(impl) < invalidation_counter) {
  ------------------
  |  Branch (740:9): [True: 111, False: 18.7k]
  ------------------
  741|       |        /* Invalidate the negative cache. */
  742|    111|        PyObject *negative_cache;
  743|    111|        Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    111|    {
  ------------------
  744|    111|        negative_cache = impl->_abc_negative_cache;
  745|    111|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    111|    }
  ------------------
  746|    111|        if (negative_cache != NULL && PySet_Clear(negative_cache) < 0) {
  ------------------
  |  Branch (746:13): [True: 72, False: 39]
  |  Branch (746:39): [True: 0, False: 72]
  ------------------
  747|      0|            goto end;
  748|      0|        }
  749|    111|        set_cache_version(impl, invalidation_counter);
  750|    111|    }
  751|  18.7k|    else {
  752|  18.7k|        incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  753|  18.7k|        if (incache < 0) {
  ------------------
  |  Branch (753:13): [True: 0, False: 18.7k]
  ------------------
  754|      0|            goto end;
  755|      0|        }
  756|  18.7k|        if (incache > 0) {
  ------------------
  |  Branch (756:13): [True: 0, False: 18.7k]
  ------------------
  757|      0|            result = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|      0|            goto end;
  759|      0|        }
  760|  18.7k|    }
  761|       |
  762|       |    /* 3. Check the subclass hook. */
  763|  18.8k|    ok = PyObject_CallMethodOneArg(
  764|  18.8k|            (PyObject *)self, &_Py_ID(__subclasshook__), subclass);
  ------------------
  |  |  919|  18.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  18.8k|    if (ok == NULL) {
  ------------------
  |  Branch (765:9): [True: 0, False: 18.8k]
  ------------------
  766|      0|        goto end;
  767|      0|    }
  768|  18.8k|    if (ok == Py_True) {
  ------------------
  |  |   26|  18.8k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (768:9): [True: 36, False: 18.7k]
  ------------------
  769|     36|        Py_DECREF(ok);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|     36|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (770:13): [True: 0, False: 36]
  ------------------
  771|      0|            goto end;
  772|      0|        }
  773|     36|        result = Py_True;
  ------------------
  |  |   26|     36|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|     36|        goto end;
  775|     36|    }
  776|  18.7k|    if (ok == Py_False) {
  ------------------
  |  |   25|  18.7k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 0, False: 18.7k]
  ------------------
  777|      0|        Py_DECREF(ok);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|      0|        if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            goto end;
  780|      0|        }
  781|      0|        result = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  782|      0|        goto end;
  783|      0|    }
  784|  18.7k|    if (ok != Py_NotImplemented) {
  ------------------
  |  |  640|  18.7k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (784:9): [True: 0, False: 18.7k]
  ------------------
  785|      0|        Py_DECREF(ok);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|      0|        PyErr_SetString(PyExc_AssertionError, "__subclasshook__ must return either"
  787|      0|                                              " False, True, or NotImplemented");
  788|      0|        goto end;
  789|      0|    }
  790|  18.7k|    Py_DECREF(ok);
  ------------------
  |  |  430|  18.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|       |
  792|       |    /* 4. Check if it's a direct subclass. */
  793|  18.7k|    if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) {
  ------------------
  |  Branch (793:9): [True: 3, False: 18.7k]
  ------------------
  794|      3|        if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (794:13): [True: 0, False: 3]
  ------------------
  795|      0|            goto end;
  796|      0|        }
  797|      3|        result = Py_True;
  ------------------
  |  |   26|      3|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|      3|        goto end;
  799|      3|    }
  800|       |
  801|       |    /* 5. Check if it's a subclass of a registered class (recursive). */
  802|  18.7k|    if (subclasscheck_check_registry(impl, subclass, &result)) {
  ------------------
  |  Branch (802:9): [True: 18.6k, False: 140]
  ------------------
  803|       |        // Exception occurred or result is set.
  804|  18.6k|        goto end;
  805|  18.6k|    }
  806|       |
  807|       |    /* 6. Check if it's a subclass of a subclass (recursive). */
  808|    140|    subclasses = PyObject_CallMethod(self, "__subclasses__", NULL);
  809|    140|    if (subclasses == NULL) {
  ------------------
  |  Branch (809:9): [True: 0, False: 140]
  ------------------
  810|      0|        goto end;
  811|      0|    }
  812|    140|    if (!PyList_Check(subclasses)) {
  ------------------
  |  |   25|    140|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    140|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (812:9): [True: 0, False: 140]
  ------------------
  813|      0|        PyErr_SetString(PyExc_TypeError, "__subclasses__() must return a list");
  814|      0|        goto end;
  815|      0|    }
  816|    184|    for (pos = 0; pos < PyList_GET_SIZE(subclasses); pos++) {
  ------------------
  |  |   38|    184|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (816:19): [True: 45, False: 139]
  ------------------
  817|     45|        PyObject *scls = PyList_GetItemRef(subclasses, pos);
  818|     45|        if (scls == NULL) {
  ------------------
  |  Branch (818:13): [True: 0, False: 45]
  ------------------
  819|      0|            goto end;
  820|      0|        }
  821|     45|        int r = PyObject_IsSubclass(subclass, scls);
  822|     45|        Py_DECREF(scls);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|     45|        if (r > 0) {
  ------------------
  |  Branch (823:13): [True: 1, False: 44]
  ------------------
  824|      1|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (824:17): [True: 0, False: 1]
  ------------------
  825|      0|                goto end;
  826|      0|            }
  827|      1|            result = Py_True;
  ------------------
  |  |   26|      1|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|      1|            goto end;
  829|      1|        }
  830|     44|        if (r < 0) {
  ------------------
  |  Branch (830:13): [True: 0, False: 44]
  ------------------
  831|      0|            goto end;
  832|      0|        }
  833|     44|    }
  834|       |
  835|       |    /* No dice; update negative cache. */
  836|    139|    if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (836:9): [True: 0, False: 139]
  ------------------
  837|      0|        goto end;
  838|      0|    }
  839|    139|    result = Py_False;
  ------------------
  |  |   25|    139|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|       |
  841|  18.8k|end:
  842|  18.8k|    Py_DECREF(impl);
  ------------------
  |  |  430|  18.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  18.8k|    Py_XDECREF(subclasses);
  ------------------
  |  |  524|  18.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  18.8k|    return Py_XNewRef(result);
  ------------------
  |  |  551|  18.8k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  845|    139|}
_abc.c:set_cache_version:
   84|    111|{
   85|       |#ifdef Py_GIL_DISABLED
   86|       |    _Py_atomic_store_uint64(&impl->_abc_negative_cache_version, version);
   87|       |#else
   88|    111|    impl->_abc_negative_cache_version = version;
   89|    111|#endif
   90|    111|}
_abc.c:subclasscheck_check_registry:
  851|  18.7k|{
  852|       |    // Fast path: check subclass is in weakref directly.
  853|  18.7k|    int ret = _in_weak_set(impl, &impl->_abc_registry, subclass);
  854|  18.7k|    if (ret < 0) {
  ------------------
  |  Branch (854:9): [True: 0, False: 18.7k]
  ------------------
  855|      0|        *result = NULL;
  856|      0|        return -1;
  857|      0|    }
  858|  18.7k|    if (ret > 0) {
  ------------------
  |  Branch (858:9): [True: 18.6k, False: 142]
  ------------------
  859|  18.6k|        *result = Py_True;
  ------------------
  |  |   26|  18.6k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  18.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|  18.6k|        return 1;
  861|  18.6k|    }
  862|       |
  863|    142|    PyObject *registry_shared;
  864|    142|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    142|    {
  ------------------
  865|    142|    registry_shared = impl->_abc_registry;
  866|    142|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    142|    }
  ------------------
  867|    142|    if (registry_shared == NULL) {
  ------------------
  |  Branch (867:9): [True: 81, False: 61]
  ------------------
  868|     81|        return 0;
  869|     81|    }
  870|       |
  871|       |    // Make a local copy of the registry to protect against concurrent
  872|       |    // modifications of _abc_registry.
  873|     61|    PyObject *registry = PyFrozenSet_New(registry_shared);
  874|     61|    if (registry == NULL) {
  ------------------
  |  Branch (874:9): [True: 0, False: 61]
  ------------------
  875|      0|        return -1;
  876|      0|    }
  877|     61|    PyObject *key;
  878|     61|    Py_ssize_t pos = 0;
  879|     61|    Py_hash_t hash;
  880|       |
  881|    174|    while (_PySet_NextEntry(registry, &pos, &key, &hash)) {
  ------------------
  |  Branch (881:12): [True: 115, False: 59]
  ------------------
  882|    115|        PyObject *rkey;
  883|    115|        if (PyWeakref_GetRef(key, &rkey) < 0) {
  ------------------
  |  Branch (883:13): [True: 0, False: 115]
  ------------------
  884|       |            // Someone inject non-weakref type in the registry.
  885|      0|            ret = -1;
  886|      0|            break;
  887|      0|        }
  888|       |
  889|    115|        if (rkey == NULL) {
  ------------------
  |  Branch (889:13): [True: 0, False: 115]
  ------------------
  890|      0|            continue;
  891|      0|        }
  892|    115|        int r = PyObject_IsSubclass(subclass, rkey);
  893|    115|        Py_DECREF(rkey);
  ------------------
  |  |  430|    115|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|    115|        if (r < 0) {
  ------------------
  |  Branch (894:13): [True: 0, False: 115]
  ------------------
  895|      0|            ret = -1;
  896|      0|            break;
  897|      0|        }
  898|    115|        if (r > 0) {
  ------------------
  |  Branch (898:13): [True: 2, False: 113]
  ------------------
  899|      2|            if (_add_to_weak_set(impl, &impl->_abc_cache, subclass) < 0) {
  ------------------
  |  Branch (899:17): [True: 0, False: 2]
  ------------------
  900|      0|                ret = -1;
  901|      0|                break;
  902|      0|            }
  903|      2|            *result = Py_True;
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|      2|            ret = 1;
  905|      2|            break;
  906|      2|        }
  907|    115|    }
  908|       |
  909|     61|    Py_DECREF(registry);
  ------------------
  |  |  430|     61|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|     61|    return ret;
  911|     61|}
_abc.c:_abcmodule_exec:
  945|      2|{
  946|      2|    _abcmodule_state *state = get_abc_state(module);
  947|      2|    state->abc_invalidation_counter = 0;
  948|      2|    state->_abc_data_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &_abc_data_type_spec, NULL);
  949|      2|    if (state->_abc_data_type == NULL) {
  ------------------
  |  Branch (949:9): [True: 0, False: 2]
  ------------------
  950|      0|        return -1;
  951|      0|    }
  952|       |
  953|      2|    return 0;
  954|      2|}
_abc.c:abc_data_traverse:
   94|  2.16k|{
   95|  2.16k|    _abc_data *self = _abc_data_CAST(op);
  ------------------
  |  |   70|  2.16k|#define _abc_data_CAST(op)  ((_abc_data *)(op))
  ------------------
   96|  2.16k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  2.16k|    do {                                                                \
  |  |  195|  2.16k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.16k, False: 0]
  |  |  ------------------
  |  |  196|  2.16k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.16k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.16k]
  |  |  ------------------
  |  |  198|  2.16k|                return vret;                                            \
  |  |  199|  2.16k|        }                                                               \
  |  |  200|  2.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
   97|  2.16k|    Py_VISIT(self->_abc_registry);
  ------------------
  |  |  194|  2.16k|    do {                                                                \
  |  |  195|  2.16k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 368, False: 1.80k]
  |  |  ------------------
  |  |  196|    368|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    368|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 368]
  |  |  ------------------
  |  |  198|    368|                return vret;                                            \
  |  |  199|    368|        }                                                               \
  |  |  200|  2.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
   98|  2.16k|    Py_VISIT(self->_abc_cache);
  ------------------
  |  |  194|  2.16k|    do {                                                                \
  |  |  195|  2.16k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 108, False: 2.06k]
  |  |  ------------------
  |  |  196|    108|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    108|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 108]
  |  |  ------------------
  |  |  198|    108|                return vret;                                            \
  |  |  199|    108|        }                                                               \
  |  |  200|  2.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
   99|  2.16k|    Py_VISIT(self->_abc_negative_cache);
  ------------------
  |  |  194|  2.16k|    do {                                                                \
  |  |  195|  2.16k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 584, False: 1.58k]
  |  |  ------------------
  |  |  196|    584|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    584|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    584|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    584|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 584]
  |  |  ------------------
  |  |  198|    584|                return vret;                                            \
  |  |  199|    584|        }                                                               \
  |  |  200|  2.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
  100|  2.16k|    return 0;
  101|  2.16k|}
_abc.c:_abcmodule_traverse:
  958|     16|{
  959|     16|    _abcmodule_state *state = get_abc_state(module);
  960|     16|    Py_VISIT(state->_abc_data_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  961|     16|    return 0;
  962|     16|}

PyInit__asyncio:
 4415|      2|{
 4416|      2|    return PyModuleDef_Init(&_asynciomodule);
 4417|      2|}
_asynciomodule.c:get_asyncio_state:
  197|     18|{
  198|     18|    asyncio_state *state = _PyModule_GetState(mod);
  199|       |    assert(state != NULL);
  200|     18|    return state;
  201|     18|}
_asynciomodule.c:module_exec:
 4358|      2|{
 4359|      2|    asyncio_state *state = get_asyncio_state(mod);
 4360|       |
 4361|       |
 4362|      2|#define CREATE_TYPE(m, tp, spec, base)                                  \
 4363|      2|    do {                                                                \
 4364|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
 4365|      2|                                                  (PyObject *)base);    \
 4366|      2|        if (tp == NULL) {                                               \
 4367|      2|            return -1;                                                  \
 4368|      2|        }                                                               \
 4369|      2|    } while (0)
 4370|       |
 4371|      2|    CREATE_TYPE(mod, state->TaskStepMethWrapper_Type, &TaskStepMethWrapper_spec, NULL);
  ------------------
  |  | 4363|      2|    do {                                                                \
  |  | 4364|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4365|      2|                                                  (PyObject *)base);    \
  |  | 4366|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4366:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4367|      0|            return -1;                                                  \
  |  | 4368|      0|        }                                                               \
  |  | 4369|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4369:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4372|      2|    CREATE_TYPE(mod, state->FutureIterType, &FutureIter_spec, NULL);
  ------------------
  |  | 4363|      2|    do {                                                                \
  |  | 4364|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4365|      2|                                                  (PyObject *)base);    \
  |  | 4366|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4366:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4367|      0|            return -1;                                                  \
  |  | 4368|      0|        }                                                               \
  |  | 4369|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4369:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4373|      2|    CREATE_TYPE(mod, state->FutureType, &Future_spec, NULL);
  ------------------
  |  | 4363|      2|    do {                                                                \
  |  | 4364|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4365|      2|                                                  (PyObject *)base);    \
  |  | 4366|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4366:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4367|      0|            return -1;                                                  \
  |  | 4368|      0|        }                                                               \
  |  | 4369|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4369:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4374|      2|    CREATE_TYPE(mod, state->TaskType, &Task_spec, state->FutureType);
  ------------------
  |  | 4363|      2|    do {                                                                \
  |  | 4364|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4365|      2|                                                  (PyObject *)base);    \
  |  | 4366|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4366:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4367|      0|            return -1;                                                  \
  |  | 4368|      0|        }                                                               \
  |  | 4369|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4369:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4375|       |
 4376|      2|#undef CREATE_TYPE
 4377|       |
 4378|      2|    if (PyModule_AddType(mod, state->FutureType) < 0) {
  ------------------
  |  Branch (4378:9): [True: 0, False: 2]
  ------------------
 4379|      0|        return -1;
 4380|      0|    }
 4381|       |
 4382|      2|    if (PyModule_AddType(mod, state->TaskType) < 0) {
  ------------------
  |  Branch (4382:9): [True: 0, False: 2]
  ------------------
 4383|      0|        return -1;
 4384|      0|    }
 4385|       |    // Must be done after types are added to avoid a circular dependency
 4386|      2|    if (module_init(state) < 0) {
  ------------------
  |  Branch (4386:9): [True: 0, False: 2]
  ------------------
 4387|      0|        return -1;
 4388|      0|    }
 4389|       |
 4390|      2|    return 0;
 4391|      2|}
_asynciomodule.c:module_init:
 4256|      2|{
 4257|      2|    PyObject *module = NULL;
 4258|       |
 4259|      2|    state->asyncio_mod = PyImport_ImportModule("asyncio");
 4260|      2|    if (state->asyncio_mod == NULL) {
  ------------------
  |  Branch (4260:9): [True: 0, False: 2]
  ------------------
 4261|      0|        goto fail;
 4262|      0|    }
 4263|       |
 4264|      2|    state->iscoroutine_typecache = PySet_New(NULL);
 4265|      2|    if (state->iscoroutine_typecache == NULL) {
  ------------------
  |  Branch (4265:9): [True: 0, False: 2]
  ------------------
 4266|      0|        goto fail;
 4267|      0|    }
 4268|       |
 4269|      2|    state->context_kwname = Py_BuildValue("(s)", "context");
 4270|      2|    if (state->context_kwname == NULL) {
  ------------------
  |  Branch (4270:9): [True: 0, False: 2]
  ------------------
 4271|      0|        goto fail;
 4272|      0|    }
 4273|       |
 4274|      2|#define WITH_MOD(NAME) \
 4275|      2|    Py_CLEAR(module); \
 4276|      2|    module = PyImport_ImportModule(NAME); \
 4277|      2|    if (module == NULL) { \
 4278|      2|        goto fail; \
 4279|      2|    }
 4280|       |
 4281|      2|#define GET_MOD_ATTR(VAR, NAME) \
 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
 4283|      2|    if (VAR == NULL) { \
 4284|      2|        goto fail; \
 4285|      2|    }
 4286|       |
 4287|      2|    WITH_MOD("asyncio.events")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4288|      2|    GET_MOD_ATTR(state->asyncio_get_event_loop_policy, "_get_event_loop_policy")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4289|       |
 4290|      2|    WITH_MOD("asyncio.base_futures")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4291|      2|    GET_MOD_ATTR(state->asyncio_future_repr_func, "_future_repr")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4292|       |
 4293|      2|    WITH_MOD("asyncio.exceptions")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4294|      2|    GET_MOD_ATTR(state->asyncio_InvalidStateError, "InvalidStateError")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4295|      2|    GET_MOD_ATTR(state->asyncio_CancelledError, "CancelledError")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4296|       |
 4297|      2|    WITH_MOD("asyncio.base_tasks")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4298|      2|    GET_MOD_ATTR(state->asyncio_task_repr_func, "_task_repr")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4299|      2|    GET_MOD_ATTR(state->asyncio_task_get_stack_func, "_task_get_stack")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4300|      2|    GET_MOD_ATTR(state->asyncio_task_print_stack_func, "_task_print_stack")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4301|       |
 4302|      2|    WITH_MOD("asyncio.coroutines")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4303|      2|    GET_MOD_ATTR(state->asyncio_iscoroutine_func, "iscoroutine")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4304|       |
 4305|      2|    WITH_MOD("traceback")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4306|      2|    GET_MOD_ATTR(state->traceback_extract_stack, "extract_stack")
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4307|       |
 4308|      2|    PyObject *weak_set;
 4309|      2|    WITH_MOD("weakref")
  ------------------
  |  | 4275|      2|    Py_CLEAR(module); \
  |  |  ------------------
  |  |  |  |  484|      2|    do { \
  |  |  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      2|        } \
  |  |  |  |  491|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4276|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4277|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4277:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4278|      0|        goto fail; \
  |  | 4279|      0|    }
  ------------------
 4310|      2|    GET_MOD_ATTR(weak_set, "WeakSet");
  ------------------
  |  | 4282|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4283|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4283:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4284|      0|        goto fail; \
  |  | 4285|      0|    }
  ------------------
 4311|      2|    state->non_asyncio_tasks = PyObject_CallNoArgs(weak_set);
 4312|      2|    Py_CLEAR(weak_set);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4313|      2|    if (state->non_asyncio_tasks == NULL) {
  ------------------
  |  Branch (4313:9): [True: 0, False: 2]
  ------------------
 4314|      0|        goto fail;
 4315|      0|    }
 4316|       |
 4317|      2|    state->non_asyncio_eager_tasks = PySet_New(NULL);
 4318|      2|    if (state->non_asyncio_eager_tasks == NULL) {
  ------------------
  |  Branch (4318:9): [True: 0, False: 2]
  ------------------
 4319|      0|        goto fail;
 4320|      0|    }
 4321|       |
 4322|      2|    state->debug_offsets = &_Py_AsyncioDebug;
 4323|       |
 4324|      2|    Py_DECREF(module);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4325|      2|    return 0;
 4326|       |
 4327|      0|fail:
 4328|      0|    Py_CLEAR(module);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4329|      0|    return -1;
 4330|       |
 4331|      2|#undef WITH_MOD
 4332|      2|#undef GET_MOD_ATTR
 4333|      2|}
_asynciomodule.c:module_traverse:
 4184|     16|{
 4185|     16|    asyncio_state *state = get_asyncio_state(mod);
 4186|       |
 4187|     16|    Py_VISIT(state->FutureIterType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4188|     16|    Py_VISIT(state->TaskStepMethWrapper_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4189|     16|    Py_VISIT(state->FutureType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4190|     16|    Py_VISIT(state->TaskType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4191|       |
 4192|     16|    Py_VISIT(state->asyncio_mod);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4193|     16|    Py_VISIT(state->traceback_extract_stack);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4194|     16|    Py_VISIT(state->asyncio_future_repr_func);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4195|     16|    Py_VISIT(state->asyncio_get_event_loop_policy);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4196|     16|    Py_VISIT(state->asyncio_iscoroutine_func);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4197|     16|    Py_VISIT(state->asyncio_task_get_stack_func);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4198|     16|    Py_VISIT(state->asyncio_task_print_stack_func);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4199|     16|    Py_VISIT(state->asyncio_task_repr_func);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4200|     16|    Py_VISIT(state->asyncio_InvalidStateError);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4201|     16|    Py_VISIT(state->asyncio_CancelledError);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4202|       |
 4203|     16|    Py_VISIT(state->non_asyncio_tasks);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4204|     16|    Py_VISIT(state->non_asyncio_eager_tasks);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4205|     16|    Py_VISIT(state->iscoroutine_typecache);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4206|       |
 4207|     16|    Py_VISIT(state->context_kwname);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4208|       |
 4209|     16|    return 0;
 4210|     16|}

PyInit__codecs:
 1138|      2|{
 1139|      2|    return PyModuleDef_Init(&codecsmodule);
 1140|      2|}
_codecsmodule.c:_codecs_register:
   67|      2|{
   68|      2|    if (PyCodec_Register(search_function))
  ------------------
  |  Branch (68:9): [True: 0, False: 2]
  ------------------
   69|      0|        return NULL;
   70|       |
   71|      2|    Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   72|      2|}
_codecsmodule.c:_codecs_lookup_impl:
  107|      8|{
  108|      8|    return _PyCodec_Lookup(encoding);
  109|      8|}
_codecsmodule.c:codec_tuple:
  170|     50|{
  171|     50|    if (decoded == NULL)
  ------------------
  |  Branch (171:9): [True: 0, False: 50]
  ------------------
  172|      0|        return NULL;
  173|     50|    return Py_BuildValue("Nn", decoded, len);
  174|     50|}
_codecsmodule.c:_codecs_utf_8_decode_impl:
  285|     50|{
  286|     50|    Py_ssize_t consumed = data->len;
  287|     50|    PyObject *decoded = PyUnicode_DecodeUTF8Stateful(data->buf, data->len,
  288|     50|                                                     errors,
  289|     50|                                                     final ? NULL : &consumed);
  ------------------
  |  Branch (289:54): [True: 8, False: 42]
  ------------------
  290|     50|    return codec_tuple(decoded, consumed);
  291|     50|}
_codecsmodule.c:_codecs_lookup_error_impl:
 1019|     12|{
 1020|     12|    return PyCodec_LookupError(name);
 1021|     12|}
_codecsmodule.c:_codecs__normalize_encoding_impl:
 1037|      4|{
 1038|      4|    Py_ssize_t len;
 1039|      4|    const char *cstr = PyUnicode_AsUTF8AndSize(encoding, &len);
 1040|      4|    if (cstr == NULL) {
  ------------------
  |  Branch (1040:9): [True: 0, False: 4]
  ------------------
 1041|      0|        return NULL;
 1042|      0|    }
 1043|       |
 1044|      4|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1044:9): [True: 0, False: 4]
  ------------------
 1045|      0|        PyErr_SetString(PyExc_OverflowError, "encoding is too large");
 1046|      0|        return NULL;
 1047|      0|    }
 1048|       |
 1049|      4|    char *normalized = PyMem_Malloc(len + 1);
 1050|      4|    if (normalized == NULL) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 4]
  ------------------
 1051|      0|        return PyErr_NoMemory();
 1052|      0|    }
 1053|       |
 1054|      4|    if (!_Py_normalize_encoding(cstr, normalized, len + 1, 0)) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 4]
  ------------------
 1055|      0|        PyMem_Free(normalized);
 1056|      0|        return NULL;
 1057|      0|    }
 1058|       |
 1059|      4|    PyObject *result = PyUnicode_FromString(normalized);
 1060|      4|    PyMem_Free(normalized);
 1061|      4|    return result;
 1062|      4|}

PyInit__collections:
 2905|      2|{
 2906|      2|    return PyModuleDef_Init(&_collectionsmodule);
 2907|      2|}
_collectionsmodule.c:collections_exec:
 2866|      2|collections_exec(PyObject *module) {
 2867|      2|    collections_state *state = get_module_state(module);
 2868|      2|    ADD_TYPE(module, &deque_spec, state->deque_type, NULL);
  ------------------
  |  | 2854|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2855|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2856|      2|                                                (PyObject *)BASE);  \
  |  | 2857|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2857:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2858|      0|        return -1;                                                  \
  |  | 2859|      0|    }                                                               \
  |  | 2860|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2860:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2861|      0|        return -1;                                                  \
  |  | 2862|      0|    }                                                               \
  |  | 2863|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2863:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2869|      2|    ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type);
  ------------------
  |  | 2854|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2855|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2856|      2|                                                (PyObject *)BASE);  \
  |  | 2857|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2857:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2858|      0|        return -1;                                                  \
  |  | 2859|      0|    }                                                               \
  |  | 2860|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2860:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2861|      0|        return -1;                                                  \
  |  | 2862|      0|    }                                                               \
  |  | 2863|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2863:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2870|      2|    ADD_TYPE(module, &dequeiter_spec, state->dequeiter_type, NULL);
  ------------------
  |  | 2854|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2855|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2856|      2|                                                (PyObject *)BASE);  \
  |  | 2857|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2857:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2858|      0|        return -1;                                                  \
  |  | 2859|      0|    }                                                               \
  |  | 2860|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2860:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2861|      0|        return -1;                                                  \
  |  | 2862|      0|    }                                                               \
  |  | 2863|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2863:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2871|      2|    ADD_TYPE(module, &dequereviter_spec, state->dequereviter_type, NULL);
  ------------------
  |  | 2854|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2855|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2856|      2|                                                (PyObject *)BASE);  \
  |  | 2857|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2857:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2858|      0|        return -1;                                                  \
  |  | 2859|      0|    }                                                               \
  |  | 2860|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2860:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2861|      0|        return -1;                                                  \
  |  | 2862|      0|    }                                                               \
  |  | 2863|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2863:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2872|      2|    ADD_TYPE(module, &tuplegetter_spec, state->tuplegetter_type, NULL);
  ------------------
  |  | 2854|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2855|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2856|      2|                                                (PyObject *)BASE);  \
  |  | 2857|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2857:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2858|      0|        return -1;                                                  \
  |  | 2859|      0|    }                                                               \
  |  | 2860|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2860:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2861|      0|        return -1;                                                  \
  |  | 2862|      0|    }                                                               \
  |  | 2863|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2863:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2873|       |
 2874|      2|    if (PyModule_AddType(module, &PyODict_Type) < 0) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 2]
  ------------------
 2875|      0|        return -1;
 2876|      0|    }
 2877|       |
 2878|      2|    return 0;
 2879|      2|}
_collectionsmodule.c:get_module_state:
   22|     18|{
   23|     18|    void *state = _PyModule_GetState(mod);
   24|       |    assert(state != NULL);
   25|     18|    return (collections_state *)state;
   26|     18|}
_collectionsmodule.c:deque_dealloc:
 1548|      4|{
 1549|      4|    dequeobject *deque = dequeobject_CAST(self);
  ------------------
  |  |  148|      4|#define dequeobject_CAST(op)    ((dequeobject *)(op))
  ------------------
 1550|      4|    PyTypeObject *tp = Py_TYPE(deque);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|      4|    Py_ssize_t i;
 1552|       |
 1553|      4|    PyObject_GC_UnTrack(deque);
 1554|      4|    FT_CLEAR_WEAKREFS(self, deque->weakreflist);
  ------------------
  |  |   47|      4|    do {                                            \
  |  |   48|      4|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      4|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1555|      4|    if (deque->leftblock != NULL) {
  ------------------
  |  Branch (1555:9): [True: 4, False: 0]
  ------------------
 1556|      4|        (void)deque_clear(self);
 1557|      4|        assert(deque->leftblock != NULL);
 1558|      4|        freeblock(deque, deque->leftblock);
 1559|      4|    }
 1560|      4|    deque->leftblock = NULL;
 1561|      4|    deque->rightblock = NULL;
 1562|     14|    for (i=0 ; i < deque->numfreeblocks ; i++) {
  ------------------
  |  Branch (1562:16): [True: 10, False: 4]
  ------------------
 1563|     10|        PyMem_Free(deque->freeblocks[i]);
 1564|     10|    }
 1565|      4|    tp->tp_free(deque);
 1566|      4|    Py_DECREF(tp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      4|}
_collectionsmodule.c:freeblock:
  193|     10|{
  194|     10|    if (deque->numfreeblocks < MAXFREEBLOCKS) {
  ------------------
  |  |   80|     10|#define MAXFREEBLOCKS 16
  ------------------
  |  Branch (194:9): [True: 10, False: 0]
  ------------------
  195|     10|        deque->freeblocks[deque->numfreeblocks] = b;
  196|     10|        deque->numfreeblocks++;
  197|     10|    } else {
  198|      0|        PyMem_Free(b);
  199|      0|    }
  200|     10|}
_collectionsmodule.c:deque_traverse:
 1571|     16|{
 1572|     16|    dequeobject *deque = dequeobject_CAST(self);
  ------------------
  |  |  148|     16|#define dequeobject_CAST(op)    ((dequeobject *)(op))
  ------------------
 1573|     16|    Py_VISIT(Py_TYPE(deque));
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1574|       |
 1575|     16|    block *b;
 1576|     16|    PyObject *item;
 1577|     16|    Py_ssize_t index;
 1578|     16|    Py_ssize_t indexlo = deque->leftindex;
 1579|     16|    Py_ssize_t indexhigh;
 1580|       |
 1581|     16|    for (b = deque->leftblock; b != deque->rightblock; b = b->rightlink) {
  ------------------
  |  Branch (1581:32): [True: 0, False: 16]
  ------------------
 1582|      0|        for (index = indexlo; index < BLOCKLEN ; index++) {
  ------------------
  |  |   78|      0|#define BLOCKLEN 64
  ------------------
  |  Branch (1582:31): [True: 0, False: 0]
  ------------------
 1583|      0|            item = b->data[index];
 1584|      0|            Py_VISIT(item);
  ------------------
  |  |  194|      0|    do {                                                                \
  |  |  195|      0|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1585|      0|        }
 1586|      0|        indexlo = 0;
 1587|      0|    }
 1588|     16|    indexhigh = deque->rightindex;
 1589|     16|    for (index = indexlo; index <= indexhigh; index++) {
  ------------------
  |  Branch (1589:27): [True: 0, False: 16]
  ------------------
 1590|      0|        item = b->data[index];
 1591|      0|        Py_VISIT(item);
  ------------------
  |  |  194|      0|    do {                                                                \
  |  |  195|      0|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1592|      0|    }
 1593|     16|    return 0;
 1594|     16|}
_collectionsmodule.c:deque_clear:
  723|      4|{
  724|      4|    block *b;
  725|      4|    block *prevblock;
  726|      4|    block *leftblock;
  727|      4|    Py_ssize_t leftindex;
  728|      4|    Py_ssize_t n, m;
  729|      4|    PyObject *item;
  730|      4|    PyObject **itemptr, **limit;
  731|      4|    dequeobject *deque = dequeobject_CAST(self);
  ------------------
  |  |  148|      4|#define dequeobject_CAST(op)    ((dequeobject *)(op))
  ------------------
  732|       |
  733|      4|    if (Py_SIZE(deque) == 0)
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (733:9): [True: 0, False: 4]
  ------------------
  734|      0|        return 0;
  735|       |
  736|       |    /* During the process of clearing a deque, decrefs can cause the
  737|       |       deque to mutate.  To avoid fatal confusion, we have to make the
  738|       |       deque empty before clearing the blocks and never refer to
  739|       |       anything via deque->ref while clearing.  (This is the same
  740|       |       technique used for clearing lists, sets, and dicts.)
  741|       |
  742|       |       Making the deque empty requires allocating a new empty block.  In
  743|       |       the unlikely event that memory is full, we fall back to an
  744|       |       alternate method that doesn't require a new block.  Repeating
  745|       |       pops in a while-loop is slower, possibly re-entrant (and a clever
  746|       |       adversary could cause it to never terminate).
  747|       |    */
  748|       |
  749|      4|    b = newblock(deque);
  750|      4|    if (b == NULL) {
  ------------------
  |  Branch (750:9): [True: 0, False: 4]
  ------------------
  751|      0|        PyErr_Clear();
  752|      0|        goto alternate_method;
  753|      0|    }
  754|       |
  755|       |    /* Remember the old size, leftblock, and leftindex */
  756|      4|    n = Py_SIZE(deque);
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|      4|    leftblock = deque->leftblock;
  758|      4|    leftindex = deque->leftindex;
  759|       |
  760|       |    /* Set the deque to be empty using the newly allocated block */
  761|      4|    MARK_END(b->leftlink);
  762|      4|    MARK_END(b->rightlink);
  763|      4|    Py_SET_SIZE(deque, 0);
  ------------------
  |  |  216|      4|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  764|      4|    deque->leftblock = b;
  765|      4|    deque->rightblock = b;
  766|      4|    deque->leftindex = CENTER + 1;
  ------------------
  |  |   79|      4|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      4|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  767|      4|    deque->rightindex = CENTER;
  ------------------
  |  |   79|      4|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      4|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  768|      4|    deque->state++;
  769|       |
  770|       |    /* Now the old size, leftblock, and leftindex are disconnected from
  771|       |       the empty deque and we can use them to decref the pointers.
  772|       |    */
  773|      4|    m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex;
  ------------------
  |  |   78|      4|#define BLOCKLEN 64
  ------------------
                  m = (BLOCKLEN - leftindex > n) ? n : BLOCKLEN - leftindex;
  ------------------
  |  |   78|      2|#define BLOCKLEN 64
  ------------------
  |  Branch (773:9): [True: 2, False: 2]
  ------------------
  774|      4|    itemptr = &leftblock->data[leftindex];
  775|      4|    limit = itemptr + m;
  776|      4|    n -= m;
  777|    118|    while (1) {
  ------------------
  |  Branch (777:12): [True: 118, Folded]
  ------------------
  778|    118|        if (itemptr == limit) {
  ------------------
  |  Branch (778:13): [True: 6, False: 112]
  ------------------
  779|      6|            if (n == 0)
  ------------------
  |  Branch (779:17): [True: 4, False: 2]
  ------------------
  780|      4|                break;
  781|      2|            CHECK_NOT_END(leftblock->rightlink);
  782|      2|            prevblock = leftblock;
  783|      2|            leftblock = leftblock->rightlink;
  784|      2|            m = (n > BLOCKLEN) ? BLOCKLEN : n;
  ------------------
  |  |   78|      2|#define BLOCKLEN 64
  ------------------
                          m = (n > BLOCKLEN) ? BLOCKLEN : n;
  ------------------
  |  |   78|      0|#define BLOCKLEN 64
  ------------------
  |  Branch (784:17): [True: 0, False: 2]
  ------------------
  785|      2|            itemptr = leftblock->data;
  786|      2|            limit = itemptr + m;
  787|      2|            n -= m;
  788|      2|            freeblock(deque, prevblock);
  789|      2|        }
  790|    114|        item = *(itemptr++);
  791|    114|        Py_DECREF(item);
  ------------------
  |  |  430|    114|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|    114|    }
  793|      4|    CHECK_END(leftblock->rightlink);
  794|      4|    freeblock(deque, leftblock);
  795|      4|    return 0;
  796|       |
  797|      0|  alternate_method:
  798|      0|    while (Py_SIZE(deque)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  799|      0|        item = deque_pop_impl(deque);
  800|      0|        assert (item != NULL);
  801|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      0|    }
  803|      0|    return 0;
  804|      4|}
_collectionsmodule.c:newblock:
  177|     12|newblock(dequeobject *deque) {
  178|     12|    block *b;
  179|     12|    if (deque->numfreeblocks) {
  ------------------
  |  Branch (179:9): [True: 0, False: 12]
  ------------------
  180|      0|        deque->numfreeblocks--;
  181|      0|        return deque->freeblocks[deque->numfreeblocks];
  182|      0|    }
  183|     12|    b = PyMem_Malloc(sizeof(block));
  184|     12|    if (b != NULL) {
  ------------------
  |  Branch (184:9): [True: 12, False: 0]
  ------------------
  185|     12|        return b;
  186|     12|    }
  187|      0|    PyErr_NoMemory();
  188|       |    return NULL;
  189|     12|}
_collectionsmodule.c:deque_init_impl:
 1758|      6|{
 1759|      6|    Py_ssize_t maxlen = -1;
 1760|      6|    if (maxlenobj != NULL && maxlenobj != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1760:9): [True: 0, False: 6]
  |  Branch (1760:30): [True: 0, False: 0]
  ------------------
 1761|      0|        maxlen = PyLong_AsSsize_t(maxlenobj);
 1762|      0|        if (maxlen == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1762:13): [True: 0, False: 0]
  |  Branch (1762:29): [True: 0, False: 0]
  ------------------
 1763|      0|            return -1;
 1764|      0|        if (maxlen < 0) {
  ------------------
  |  Branch (1764:13): [True: 0, False: 0]
  ------------------
 1765|      0|            PyErr_SetString(PyExc_ValueError, "maxlen must be non-negative");
 1766|      0|            return -1;
 1767|      0|        }
 1768|      0|    }
 1769|      6|    deque->maxlen = maxlen;
 1770|      6|    if (Py_SIZE(deque) > 0)
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1770:9): [True: 0, False: 6]
  ------------------
 1771|      0|        (void)deque_clear((PyObject *)deque);
 1772|      6|    if (iterable != NULL) {
  ------------------
  |  Branch (1772:9): [True: 4, False: 2]
  ------------------
 1773|      4|        PyObject *rv = deque_extend_impl(deque, iterable);
 1774|      4|        if (rv == NULL)
  ------------------
  |  Branch (1774:13): [True: 0, False: 4]
  ------------------
 1775|      0|            return -1;
 1776|      4|        Py_DECREF(rv);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      4|    }
 1778|      6|    return 0;
 1779|      6|}
_collectionsmodule.c:deque_extend_impl:
  481|    172|{
  482|    172|    PyObject *it, *item;
  483|    172|    PyObject *(*iternext)(PyObject *);
  484|    172|    Py_ssize_t maxlen = deque->maxlen;
  485|       |
  486|       |    /* Handle case where id(deque) == id(iterable) */
  487|    172|    if ((PyObject *)deque == iterable) {
  ------------------
  |  Branch (487:9): [True: 0, False: 172]
  ------------------
  488|      0|        PyObject *result;
  489|      0|        PyObject *s = PySequence_List(iterable);
  490|      0|        if (s == NULL)
  ------------------
  |  Branch (490:13): [True: 0, False: 0]
  ------------------
  491|      0|            return NULL;
  492|      0|        result = deque_extend((PyObject*)deque, s);
  493|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|      0|        return result;
  495|      0|    }
  496|       |
  497|    172|    it = PyObject_GetIter(iterable);
  498|    172|    if (it == NULL)
  ------------------
  |  Branch (498:9): [True: 0, False: 172]
  ------------------
  499|      0|        return NULL;
  500|       |
  501|    172|    if (maxlen == 0)
  ------------------
  |  Branch (501:9): [True: 0, False: 172]
  ------------------
  502|      0|        return consume_iterator(it);
  503|       |
  504|       |    /* Space saving heuristic.  Start filling from the left */
  505|    172|    if (Py_SIZE(deque) == 0) {
  ------------------
  |  |  214|    172|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (505:9): [True: 12, False: 160]
  ------------------
  506|     12|        assert(deque->leftblock == deque->rightblock);
  507|     12|        assert(deque->leftindex == deque->rightindex+1);
  508|     12|        deque->leftindex = 1;
  509|     12|        deque->rightindex = 0;
  510|     12|    }
  511|       |
  512|    172|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|    172|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|    454|    while ((item = iternext(it)) != NULL) {
  ------------------
  |  Branch (513:12): [True: 282, False: 172]
  ------------------
  514|    282|        if (deque_append_lock_held(deque, item, maxlen) == -1) {
  ------------------
  |  Branch (514:13): [True: 0, False: 282]
  ------------------
  515|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|      0|            return NULL;
  518|      0|        }
  519|    282|    }
  520|    172|    return finalize_iterator(it);
  521|    172|}
_collectionsmodule.c:deque_append_lock_held:
  342|    282|{
  343|    282|    if (deque->rightindex == BLOCKLEN - 1) {
  ------------------
  |  |   78|    282|#define BLOCKLEN 64
  ------------------
  |  Branch (343:9): [True: 2, False: 280]
  ------------------
  344|      2|        block *b = newblock(deque);
  345|      2|        if (b == NULL) {
  ------------------
  |  Branch (345:13): [True: 0, False: 2]
  ------------------
  346|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|      0|            return -1;
  348|      0|        }
  349|      2|        b->leftlink = deque->rightblock;
  350|      2|        CHECK_END(deque->rightblock->rightlink);
  351|      2|        deque->rightblock->rightlink = b;
  352|      2|        deque->rightblock = b;
  353|      2|        MARK_END(b->rightlink);
  354|      2|        deque->rightindex = -1;
  355|      2|    }
  356|    282|    Py_SET_SIZE(deque, Py_SIZE(deque) + 1);
  ------------------
  |  |  216|    282|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    282|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|    282|    deque->rightindex++;
  358|    282|    deque->rightblock->data[deque->rightindex] = item;
  359|    282|    if (NEEDS_TRIM(deque, maxlen)) {
  ------------------
  |  |  338|    282|#define NEEDS_TRIM(deque, maxlen) ((size_t)(maxlen) < (size_t)(Py_SIZE(deque)))
  |  |  ------------------
  |  |  |  |  214|    282|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (338:35): [True: 0, False: 282]
  |  |  ------------------
  ------------------
  360|      0|        PyObject *olditem = deque_popleft_impl(deque);
  361|      0|        Py_DECREF(olditem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|    282|    } else {
  363|    282|        deque->state++;
  364|    282|    }
  365|    282|    return 0;
  366|    282|}
_collectionsmodule.c:deque_popleft_impl:
  292|    168|{
  293|    168|    PyObject *item;
  294|    168|    block *prevblock;
  295|       |
  296|    168|    if (Py_SIZE(deque) == 0) {
  ------------------
  |  |  214|    168|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (296:9): [True: 0, False: 168]
  ------------------
  297|      0|        PyErr_SetString(PyExc_IndexError, "pop from an empty deque");
  298|      0|        return NULL;
  299|      0|    }
  300|    168|    assert(deque->leftblock != NULL);
  301|    168|    item = deque->leftblock->data[deque->leftindex];
  302|    168|    deque->leftindex++;
  303|    168|    Py_SET_SIZE(deque, Py_SIZE(deque) - 1);
  ------------------
  |  |  216|    168|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    168|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|    168|    deque->state++;
  305|       |
  306|    168|    if (deque->leftindex == BLOCKLEN) {
  ------------------
  |  |   78|    168|#define BLOCKLEN 64
  ------------------
  |  Branch (306:9): [True: 0, False: 168]
  ------------------
  307|      0|        if (Py_SIZE(deque)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  308|      0|            assert(deque->leftblock != deque->rightblock);
  309|      0|            prevblock = deque->leftblock->rightlink;
  310|      0|            freeblock(deque, deque->leftblock);
  311|      0|            CHECK_NOT_END(prevblock);
  312|      0|            MARK_END(prevblock->leftlink);
  313|      0|            deque->leftblock = prevblock;
  314|      0|            deque->leftindex = 0;
  315|      0|        } else {
  316|      0|            assert(deque->leftblock == deque->rightblock);
  317|      0|            assert(deque->leftindex == deque->rightindex+1);
  318|       |            /* re-center instead of freeing a block */
  319|      0|            deque->leftindex = CENTER + 1;
  ------------------
  |  |   79|      0|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      0|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  320|      0|            deque->rightindex = CENTER;
  ------------------
  |  |   79|      0|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      0|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  321|      0|        }
  322|      0|    }
  323|    168|    return item;
  324|    168|}
_collectionsmodule.c:finalize_iterator:
  439|    172|{
  440|    172|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (440:9): [True: 0, False: 172]
  ------------------
  441|      0|        if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|            PyErr_Clear();
  443|      0|        else {
  444|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|      0|            return NULL;
  446|      0|        }
  447|      0|    }
  448|    172|    Py_DECREF(it);
  ------------------
  |  |  430|    172|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|    172|    Py_RETURN_NONE;
  ------------------
  |  |  628|    172|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    172|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  450|    172|}
_collectionsmodule.c:deque_new:
  204|      6|{
  205|      6|    dequeobject *deque;
  206|      6|    block *b;
  207|       |
  208|       |    /* create dequeobject structure */
  209|      6|    deque = (dequeobject *)type->tp_alloc(type, 0);
  210|      6|    if (deque == NULL)
  ------------------
  |  Branch (210:9): [True: 0, False: 6]
  ------------------
  211|      0|        return NULL;
  212|       |
  213|      6|    b = newblock(deque);
  214|      6|    if (b == NULL) {
  ------------------
  |  Branch (214:9): [True: 0, False: 6]
  ------------------
  215|      0|        Py_DECREF(deque);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|      6|    MARK_END(b->leftlink);
  219|      6|    MARK_END(b->rightlink);
  220|       |
  221|      6|    assert(BLOCKLEN >= 2);
  222|      6|    Py_SET_SIZE(deque, 0);
  ------------------
  |  |  216|      6|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      6|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|      6|    deque->leftblock = b;
  224|      6|    deque->rightblock = b;
  225|      6|    deque->leftindex = CENTER + 1;
  ------------------
  |  |   79|      6|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      6|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  226|      6|    deque->rightindex = CENTER;
  ------------------
  |  |   79|      6|#define CENTER ((BLOCKLEN - 1) / 2)
  |  |  ------------------
  |  |  |  |   78|      6|#define BLOCKLEN 64
  |  |  ------------------
  ------------------
  227|      6|    deque->state = 0;
  228|      6|    deque->maxlen = -1;
  229|      6|    deque->numfreeblocks = 0;
  230|      6|    deque->weakreflist = NULL;
  231|       |
  232|      6|    return (PyObject *)deque;
  233|      6|}
_collectionsmodule.c:deque_len:
 1241|    172|{
 1242|    172|    PyVarObject *deque = _PyVarObject_CAST(self);
  ------------------
  |  |  182|    172|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1243|    172|    return FT_ATOMIC_LOAD_SSIZE(deque->ob_size);
  ------------------
  |  |  147|    172|#define FT_ATOMIC_LOAD_SSIZE(value) value
  ------------------
 1244|    172|}
_collectionsmodule.c:valid_index:
 1378|    290|{
 1379|       |    /* The cast to size_t lets us use just a single comparison
 1380|       |       to check whether i is in the range: 0 <= i < limit */
 1381|    290|    return (size_t) i < (size_t) limit;
 1382|    290|}
_collectionsmodule.c:defdict_dealloc:
 2364|  11.6k|{
 2365|  11.6k|    defdictobject *dd = defdictobject_CAST(op);
  ------------------
  |  | 2223|  11.6k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2366|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 2367|  11.6k|    PyTypeObject *tp = Py_TYPE(dd);
  ------------------
  |  |  213|  11.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2368|  11.6k|    PyObject_GC_UnTrack(dd);
 2369|  11.6k|    Py_CLEAR(dd->default_factory);
  ------------------
  |  |  484|  11.6k|    do { \
  |  |  485|  11.6k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  11.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  11.6k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  11.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  11.6k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 11.6k, False: 0]
  |  |  ------------------
  |  |  488|  11.6k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  11.6k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  11.6k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  11.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  11.6k|        } \
  |  |  491|  11.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 11.6k]
  |  |  ------------------
  ------------------
 2370|  11.6k|    PyDict_Type.tp_dealloc(op);
 2371|  11.6k|    Py_DECREF(tp);
  ------------------
  |  |  430|  11.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2372|  11.6k|}
_collectionsmodule.c:defdict_traverse:
 2449|  24.3k|{
 2450|  24.3k|    defdictobject *self = defdictobject_CAST(op);
  ------------------
  |  | 2223|  24.3k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2451|  24.3k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  24.3k|    do {                                                                \
  |  |  195|  24.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 24.3k, False: 0]
  |  |  ------------------
  |  |  196|  24.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  24.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |  198|  24.3k|                return vret;                                            \
  |  |  199|  24.3k|        }                                                               \
  |  |  200|  24.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 24.3k]
  |  |  ------------------
  ------------------
 2452|  24.3k|    Py_VISIT(self->default_factory);
  ------------------
  |  |  194|  24.3k|    do {                                                                \
  |  |  195|  24.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 24.3k, False: 0]
  |  |  ------------------
  |  |  196|  24.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  24.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |  198|  24.3k|                return vret;                                            \
  |  |  199|  24.3k|        }                                                               \
  |  |  200|  24.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 24.3k]
  |  |  ------------------
  ------------------
 2453|  24.3k|    return PyDict_Type.tp_traverse(op, visit, arg);
 2454|  24.3k|}
_collectionsmodule.c:defdict_missing:
 2236|     70|{
 2237|     70|    defdictobject *dd = defdictobject_CAST(op);
  ------------------
  |  | 2223|     70|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2238|     70|    PyObject *factory = dd->default_factory;
 2239|     70|    PyObject *value;
 2240|     70|    if (factory == NULL || factory == Py_None) {
  ------------------
  |  |  616|     70|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2240:9): [True: 0, False: 70]
  |  Branch (2240:28): [True: 0, False: 70]
  ------------------
 2241|       |        /* XXX Call dict.__missing__(key) */
 2242|      0|        PyObject *tup;
 2243|      0|        tup = PyTuple_Pack(1, key);
 2244|      0|        if (!tup) return NULL;
  ------------------
  |  Branch (2244:13): [True: 0, False: 0]
  ------------------
 2245|      0|        PyErr_SetObject(PyExc_KeyError, tup);
 2246|      0|        Py_DECREF(tup);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|      0|        return NULL;
 2248|      0|    }
 2249|     70|    value = _PyObject_CallNoArgs(factory);
 2250|     70|    if (value == NULL)
  ------------------
  |  Branch (2250:9): [True: 0, False: 70]
  ------------------
 2251|      0|        return value;
 2252|     70|    PyObject *result = NULL;
 2253|     70|    (void)PyDict_SetDefaultRef(op, key, value, &result);
 2254|       |    // 'result' is NULL, or a strong reference to 'value' or 'op[key]'
 2255|     70|    Py_DECREF(value);
  ------------------
  |  |  430|     70|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|     70|    return result;
 2257|     70|}
_collectionsmodule.c:defdict_init:
 2466|  11.8k|{
 2467|  11.8k|    defdictobject *dd = defdictobject_CAST(self);
  ------------------
  |  | 2223|  11.8k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2468|  11.8k|    PyObject *olddefault = dd->default_factory;
 2469|  11.8k|    PyObject *newdefault = NULL;
 2470|  11.8k|    PyObject *newargs;
 2471|  11.8k|    int result;
 2472|  11.8k|    if (args == NULL || !PyTuple_Check(args))
  ------------------
  |  |   27|  11.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2472:9): [True: 0, False: 11.8k]
  |  Branch (2472:25): [True: 0, False: 11.8k]
  ------------------
 2473|      0|        newargs = PyTuple_New(0);
 2474|  11.8k|    else {
 2475|  11.8k|        Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  11.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|  11.8k|        if (n > 0) {
  ------------------
  |  Branch (2476:13): [True: 11.8k, False: 0]
  ------------------
 2477|  11.8k|            newdefault = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  11.8k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  11.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|  11.8k|            if (!PyCallable_Check(newdefault) && newdefault != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2478:17): [True: 0, False: 11.8k]
  |  Branch (2478:50): [True: 0, False: 0]
  ------------------
 2479|      0|                PyErr_SetString(PyExc_TypeError,
 2480|      0|                    "first argument must be callable or None");
 2481|      0|                return -1;
 2482|      0|            }
 2483|  11.8k|        }
 2484|  11.8k|        newargs = PySequence_GetSlice(args, 1, n);
 2485|  11.8k|    }
 2486|  11.8k|    if (newargs == NULL)
  ------------------
  |  Branch (2486:9): [True: 0, False: 11.8k]
  ------------------
 2487|      0|        return -1;
 2488|  11.8k|    dd->default_factory = Py_XNewRef(newdefault);
  ------------------
  |  |  551|  11.8k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2489|  11.8k|    result = PyDict_Type.tp_init(self, newargs, kwds);
 2490|  11.8k|    Py_DECREF(newargs);
  ------------------
  |  |  430|  11.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2491|  11.8k|    Py_XDECREF(olddefault);
  ------------------
  |  |  524|  11.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2492|  11.8k|    return result;
 2493|  11.8k|}
_collectionsmodule.c:get_module_state_by_cls:
   30|    268|{
   31|    268|    void *state = _PyType_GetModuleState(cls);
   32|       |    assert(state != NULL);
   33|    268|    return (collections_state *)state;
   34|    268|}
_collectionsmodule.c:tuplegetter_traverse:
 2736|  2.13k|{
 2737|  2.13k|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2668|  2.13k|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2738|  2.13k|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|  2.13k|    do {                                                                \
  |  |  195|  2.13k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.13k, False: 0]
  |  |  ------------------
  |  |  196|  2.13k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.13k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |  198|  2.13k|                return vret;                                            \
  |  |  199|  2.13k|        }                                                               \
  |  |  200|  2.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2739|  2.13k|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|  2.13k|    do {                                                                \
  |  |  195|  2.13k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.13k, False: 0]
  |  |  ------------------
  |  |  196|  2.13k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.13k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |  198|  2.13k|                return vret;                                            \
  |  |  199|  2.13k|        }                                                               \
  |  |  200|  2.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2740|  2.13k|    return 0;
 2741|  2.13k|}
_collectionsmodule.c:tuplegetter_descr_get:
 2695|    364|{
 2696|    364|    Py_ssize_t index = tuplegetterobject_CAST(self)->index;
  ------------------
  |  | 2668|    364|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2697|    364|    PyObject *result;
 2698|       |
 2699|    364|    if (obj == NULL) {
  ------------------
  |  Branch (2699:9): [True: 74, False: 290]
  ------------------
 2700|     74|        return Py_NewRef(self);
  ------------------
  |  |  550|     74|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2701|     74|    }
 2702|    290|    if (!PyTuple_Check(obj)) {
  ------------------
  |  |   27|    290|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    290|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2702:9): [True: 0, False: 290]
  ------------------
 2703|      0|        if (obj == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2703:13): [True: 0, False: 0]
  ------------------
 2704|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2705|      0|        }
 2706|      0|        PyErr_Format(PyExc_TypeError,
 2707|      0|                     "descriptor for index '%zd' for tuple subclasses "
 2708|      0|                     "doesn't apply to '%s' object",
 2709|      0|                     index,
 2710|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2711|      0|        return NULL;
 2712|      0|    }
 2713|       |
 2714|    290|    if (!valid_index(index, PyTuple_GET_SIZE(obj))) {
  ------------------
  |  |   27|    290|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2714:9): [True: 0, False: 290]
  ------------------
 2715|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
 2716|      0|        return NULL;
 2717|      0|    }
 2718|       |
 2719|    290|    result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   29|    290|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    290|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|    290|    return Py_NewRef(result);
  ------------------
  |  |  550|    290|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2721|    290|}
_collectionsmodule.c:tuplegetter_new_impl:
 2682|    268|{
 2683|    268|    _tuplegetterobject* self;
 2684|    268|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2685|    268|    if (self == NULL) {
  ------------------
  |  Branch (2685:9): [True: 0, False: 268]
  ------------------
 2686|      0|        return NULL;
 2687|      0|    }
 2688|    268|    self->index = index;
 2689|    268|    self->doc = Py_NewRef(doc);
  ------------------
  |  |  550|    268|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2690|    268|    return (PyObject *)self;
 2691|    268|}
_collectionsmodule.c:collections_traverse:
 2815|     16|{
 2816|     16|    collections_state *state = get_module_state(mod);
 2817|     16|    Py_VISIT(state->deque_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2818|     16|    Py_VISIT(state->defdict_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2819|     16|    Py_VISIT(state->dequeiter_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2820|     16|    Py_VISIT(state->dequereviter_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2821|     16|    Py_VISIT(state->tuplegetter_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2822|     16|    return 0;
 2823|     16|}

_PyDateTime_InitTypes:
 7491|      2|{
 7492|       |    /* Bases classes must be initialized before subclasses,
 7493|       |     * so capi_types must have the types in the appropriate order. */
 7494|     14|    for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {
  ------------------
  |  |  196|     14|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (7494:24): [True: 12, False: 2]
  ------------------
 7495|     12|        PyTypeObject *type = capi_types[i];
 7496|     12|        if (_PyStaticType_InitForExtension(interp, type) < 0) {
  ------------------
  |  Branch (7496:13): [True: 0, False: 12]
  ------------------
 7497|      0|            return _PyStatus_ERR("could not initialize static types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 7498|      0|        }
 7499|     12|    }
 7500|       |
 7501|      2|#define DATETIME_ADD_MACRO(dict, c, value_expr)         \
 7502|      2|    do {                                                \
 7503|      2|        assert(!PyErr_Occurred());                      \
 7504|      2|        PyObject *value = (value_expr);                 \
 7505|      2|        if (value == NULL) {                            \
 7506|      2|            goto error;                                 \
 7507|      2|        }                                               \
 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
 7509|      2|            Py_DECREF(value);                           \
 7510|      2|            goto error;                                 \
 7511|      2|        }                                               \
 7512|      2|        Py_DECREF(value);                               \
 7513|      2|    } while(0)
 7514|       |
 7515|       |    /* timedelta values */
 7516|      2|    PyObject *d = _PyType_GetDict(&PyDateTime_DeltaType);
 7517|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7518|      2|    DATETIME_ADD_MACRO(d, "min", new_delta(-MAX_DELTA_DAYS, 0, 0, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7519|      2|    DATETIME_ADD_MACRO(d, "max",
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7520|      2|                        new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0));
 7521|       |
 7522|       |    /* date values */
 7523|      2|    d = _PyType_GetDict(&PyDateTime_DateType);
 7524|      2|    DATETIME_ADD_MACRO(d, "min", new_date(1, 1, 1));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7525|      2|    DATETIME_ADD_MACRO(d, "max", new_date(MAXYEAR, 12, 31));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7526|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(1, 0, 0, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7527|       |
 7528|       |    /* time values */
 7529|      2|    d = _PyType_GetDict(&PyDateTime_TimeType);
 7530|      2|    DATETIME_ADD_MACRO(d, "min", new_time(0, 0, 0, 0, Py_None, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7531|      2|    DATETIME_ADD_MACRO(d, "max", new_time(23, 59, 59, 999999, Py_None, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7532|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7533|       |
 7534|       |    /* datetime values */
 7535|      2|    d = _PyType_GetDict(&PyDateTime_DateTimeType);
 7536|      2|    DATETIME_ADD_MACRO(d, "min",
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7537|      2|                        new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None, 0));
 7538|      2|    DATETIME_ADD_MACRO(d, "max", new_datetime(MAXYEAR, 12, 31, 23, 59, 59,
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7539|      2|                                                999999, Py_None, 0));
 7540|      2|    DATETIME_ADD_MACRO(d, "resolution", new_delta(0, 0, 1, 0));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7541|       |
 7542|       |    /* timezone values */
 7543|      2|    d = _PyType_GetDict(&PyDateTime_TimeZoneType);
 7544|      2|    if (PyDict_SetItemString(d, "utc", (PyObject *)&utc_timezone) < 0) {
  ------------------
  |  Branch (7544:9): [True: 0, False: 2]
  ------------------
 7545|      0|        goto error;
 7546|      0|    }
 7547|       |
 7548|       |    /* bpo-37642: These attributes are rounded to the nearest minute for backwards
 7549|       |    * compatibility, even though the constructor will accept a wider range of
 7550|       |    * values. This may change in the future.*/
 7551|       |
 7552|       |    /* -23:59 */
 7553|      2|    DATETIME_ADD_MACRO(d, "min", create_timezone_from_delta(-1, 60, 0, 1));
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7554|       |
 7555|       |    /* +23:59 */
 7556|      2|    DATETIME_ADD_MACRO(
  ------------------
  |  | 7502|      2|    do {                                                \
  |  | 7503|      2|        assert(!PyErr_Occurred());                      \
  |  | 7504|      2|        PyObject *value = (value_expr);                 \
  |  | 7505|      2|        if (value == NULL) {                            \
  |  |  ------------------
  |  |  |  Branch (7505:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7506|      0|            goto error;                                 \
  |  | 7507|      0|        }                                               \
  |  | 7508|      2|        if (PyDict_SetItemString(dict, c, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (7508:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7509|      0|            Py_DECREF(value);                           \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7510|      0|            goto error;                                 \
  |  | 7511|      0|        }                                               \
  |  | 7512|      2|        Py_DECREF(value);                               \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7513|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (7513:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7557|      2|            d, "max", create_timezone_from_delta(0, (23 * 60 + 59) * 60, 0, 0));
 7558|       |
 7559|      2|#undef DATETIME_ADD_MACRO
 7560|       |
 7561|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 7562|       |
 7563|      0|error:
 7564|      0|    return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 7565|      2|}
PyInit__datetime:
 7710|      2|{
 7711|      2|    return PyModuleDef_Init(&datetimemodule);
 7712|      2|}
_datetimemodule.c:days_in_month:
  432|     10|{
  433|     10|    assert(month >= 1);
  434|     10|    assert(month <= 12);
  435|     10|    if (month == 2 && is_leap(year))
  ------------------
  |  Branch (435:9): [True: 0, False: 10]
  |  Branch (435:23): [True: 0, False: 0]
  ------------------
  436|      0|        return 29;
  437|     10|    else
  438|     10|        return _days_in_month[month];
  439|     10|}
_datetimemodule.c:delta_multiply:
 2559|     16|{
 2560|     16|    PyObject *result = Py_NotImplemented;
  ------------------
  |  |  640|     16|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 2561|       |
 2562|     16|    if (PyDelta_Check(left)) {
  ------------------
  |  |   96|     16|#define PyDelta_Check(op) PyObject_TypeCheck(op, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  378|     16|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|       |        /* delta * ??? */
 2564|      0|        if (PyLong_Check(right))
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2565|      0|            result = multiply_int_timedelta(right,
 2566|      0|                            (PyDateTime_Delta *) left);
 2567|      0|        else if (PyFloat_Check(right))
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|      0|            result = multiply_truedivide_timedelta_float(
 2569|      0|                            (PyDateTime_Delta *) left, right, 0);
 2570|      0|    }
 2571|     16|    else if (PyLong_Check(left))
  ------------------
  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2572|     16|        result = multiply_int_timedelta(left,
 2573|     16|                        (PyDateTime_Delta *) right);
 2574|      0|    else if (PyFloat_Check(left))
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2575|      0|        result = multiply_truedivide_timedelta_float(
 2576|      0|                        (PyDateTime_Delta *) right, left, 0);
 2577|       |
 2578|     16|    if (result == Py_NotImplemented)
  ------------------
  |  |  640|     16|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (2578:9): [True: 0, False: 16]
  ------------------
 2579|      0|        Py_INCREF(result);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|     16|    return result;
 2581|     16|}
_datetimemodule.c:multiply_int_timedelta:
 2270|     16|{
 2271|     16|    PyObject *pyus_in;
 2272|     16|    PyObject *pyus_out;
 2273|     16|    PyObject *result;
 2274|       |
 2275|     16|    pyus_in = delta_to_microseconds(delta);
 2276|     16|    if (pyus_in == NULL)
  ------------------
  |  Branch (2276:9): [True: 0, False: 16]
  ------------------
 2277|      0|        return NULL;
 2278|       |
 2279|     16|    pyus_out = PyNumber_Multiply(intobj, pyus_in);
 2280|     16|    Py_DECREF(pyus_in);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2281|     16|    if (pyus_out == NULL)
  ------------------
  |  Branch (2281:9): [True: 0, False: 16]
  ------------------
 2282|      0|        return NULL;
 2283|       |
 2284|     16|    result = microseconds_to_delta(pyus_out);
  ------------------
  |  | 2266|     16|    microseconds_to_delta_ex(pymicros, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   78|     16|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 2285|     16|    Py_DECREF(pyus_out);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2286|     16|    return result;
 2287|     16|}
_datetimemodule.c:delta_to_microseconds:
 2125|     36|{
 2126|     36|    PyObject *x1 = NULL;
 2127|     36|    PyObject *x2 = NULL;
 2128|     36|    PyObject *x3 = NULL;
 2129|     36|    PyObject *result = NULL;
 2130|       |
 2131|     36|    PyObject *current_mod = NULL;
 2132|     36|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     36|    _get_current_state(&MOD_VAR)
  ------------------
 2133|       |
 2134|     36|    x1 = PyLong_FromLong(GET_TD_DAYS(self));
  ------------------
  |  |  311|     36|#define GET_TD_DAYS(o)          (PyDelta_CAST(o)->days)
  |  |  ------------------
  |  |  |  |   95|     36|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2135|     36|    if (x1 == NULL)
  ------------------
  |  Branch (2135:9): [True: 0, False: 36]
  ------------------
 2136|      0|        goto Done;
 2137|     36|    x2 = PyNumber_Multiply(x1, CONST_SEC_PER_DAY(st));        /* days in seconds */
  ------------------
  |  |  114|     36|#define CONST_SEC_PER_DAY(st) st->seconds_per_day
  ------------------
 2138|     36|    if (x2 == NULL)
  ------------------
  |  Branch (2138:9): [True: 0, False: 36]
  ------------------
 2139|      0|        goto Done;
 2140|     36|    Py_SETREF(x1, NULL);
  ------------------
  |  |  352|     36|    do { \
  |  |  353|     36|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     36|        *_tmp_dst_ptr = (src); \
  |  |  356|     36|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2141|       |
 2142|       |    /* x2 has days in seconds */
 2143|     36|    x1 = PyLong_FromLong(GET_TD_SECONDS(self));         /* seconds */
  ------------------
  |  |  312|     36|#define GET_TD_SECONDS(o)       (PyDelta_CAST(o)->seconds)
  |  |  ------------------
  |  |  |  |   95|     36|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2144|     36|    if (x1 == NULL)
  ------------------
  |  Branch (2144:9): [True: 0, False: 36]
  ------------------
 2145|      0|        goto Done;
 2146|     36|    x3 = PyNumber_Add(x1, x2);          /* days and seconds in seconds */
 2147|     36|    if (x3 == NULL)
  ------------------
  |  Branch (2147:9): [True: 0, False: 36]
  ------------------
 2148|      0|        goto Done;
 2149|     36|    Py_DECREF(x1);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|     36|    Py_DECREF(x2);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2151|     36|    /* x1 = */ x2 = NULL;
 2152|       |
 2153|       |    /* x3 has days+seconds in seconds */
 2154|     36|    x1 = PyNumber_Multiply(x3, CONST_US_PER_SECOND(st));          /* us */
  ------------------
  |  |  109|     36|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2155|     36|    if (x1 == NULL)
  ------------------
  |  Branch (2155:9): [True: 0, False: 36]
  ------------------
 2156|      0|        goto Done;
 2157|     36|    Py_SETREF(x3, NULL);
  ------------------
  |  |  352|     36|    do { \
  |  |  353|     36|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     36|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     36|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     36|        *_tmp_dst_ptr = (src); \
  |  |  356|     36|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 2158|       |
 2159|       |    /* x1 has days+seconds in us */
 2160|     36|    x2 = PyLong_FromLong(GET_TD_MICROSECONDS(self));
  ------------------
  |  |  313|     36|#define GET_TD_MICROSECONDS(o)  (PyDelta_CAST(o)->microseconds)
  |  |  ------------------
  |  |  |  |   95|     36|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2161|     36|    if (x2 == NULL)
  ------------------
  |  Branch (2161:9): [True: 0, False: 36]
  ------------------
 2162|      0|        goto Done;
 2163|     36|    result = PyNumber_Add(x1, x2);
 2164|     36|    assert(result == NULL || PyLong_CheckExact(result));
 2165|       |
 2166|     36|Done:
 2167|     36|    Py_XDECREF(x1);
  ------------------
  |  |  524|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|     36|    Py_XDECREF(x2);
  ------------------
  |  |  524|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|     36|    Py_XDECREF(x3);
  ------------------
  |  |  524|     36|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|     36|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     36|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|     36|    return result;
 2172|     36|}
_datetimemodule.c:_get_current_state:
  162|    120|{
  163|    120|    PyInterpreterState *interp = PyInterpreterState_Get();
  164|    120|    PyObject *mod = get_current_module(interp);
  165|    120|    if (mod == NULL) {
  ------------------
  |  Branch (165:9): [True: 0, False: 120]
  ------------------
  166|      0|        assert(!PyErr_Occurred());
  167|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|            return NULL;
  169|      0|        }
  170|       |        /* The static types can outlive the module,
  171|       |         * so we must re-import the module. */
  172|      0|        mod = PyImport_ImportModule("_datetime");
  173|      0|        if (mod == NULL) {
  ------------------
  |  Branch (173:13): [True: 0, False: 0]
  ------------------
  174|      0|            return NULL;
  175|      0|        }
  176|      0|    }
  177|    120|    datetime_state *st = get_module_state(mod);
  178|    120|    *p_mod = mod;
  179|    120|    return st;
  180|    120|}
_datetimemodule.c:get_current_module:
  131|    122|{
  132|    122|    PyObject *mod = NULL;
  133|       |
  134|    122|    PyObject *dict = PyInterpreterState_GetDict(interp);
  135|    122|    if (dict == NULL) {
  ------------------
  |  Branch (135:9): [True: 0, False: 122]
  ------------------
  136|      0|        goto error;
  137|      0|    }
  138|    122|    PyObject *ref = NULL;
  139|    122|    if (PyDict_GetItemRef(dict, INTERP_KEY, &ref) < 0) {
  ------------------
  |  |  127|    122|#define INTERP_KEY ((PyObject *)&_Py_ID(cached_datetime_module))
  |  |  ------------------
  |  |  |  |  919|    122|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    122|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    122|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (139:9): [True: 0, False: 122]
  ------------------
  140|      0|        goto error;
  141|      0|    }
  142|    122|    if (ref != NULL) {
  ------------------
  |  Branch (142:9): [True: 120, False: 2]
  ------------------
  143|    120|        if (ref != Py_None) {
  ------------------
  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (143:13): [True: 120, False: 0]
  ------------------
  144|    120|            (void)PyWeakref_GetRef(ref, &mod);
  145|    120|            if (mod == Py_None) {
  ------------------
  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (145:17): [True: 0, False: 120]
  ------------------
  146|      0|                Py_CLEAR(mod);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  147|      0|            }
  148|    120|            Py_DECREF(ref);
  ------------------
  |  |  430|    120|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    120|        }
  150|    120|    }
  151|    122|    return mod;
  152|       |
  153|      0|error:
  154|      0|    assert(PyErr_Occurred());
  155|       |    return NULL;
  156|    122|}
_datetimemodule.c:get_module_state:
  120|    138|{
  121|    138|    void *state = _PyModule_GetState(module);
  122|       |    assert(state != NULL);
  123|    138|    return (datetime_state *)state;
  124|    138|}
_datetimemodule.c:microseconds_to_delta_ex:
 2201|     40|{
 2202|     40|    int us;
 2203|     40|    int s;
 2204|     40|    int d;
 2205|       |
 2206|     40|    PyObject *tuple = NULL;
 2207|     40|    PyObject *num = NULL;
 2208|     40|    PyObject *result = NULL;
 2209|       |
 2210|     40|    PyObject *current_mod = NULL;
 2211|     40|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     40|    _get_current_state(&MOD_VAR)
  ------------------
 2212|       |
 2213|     40|    tuple = checked_divmod(pyus, CONST_US_PER_SECOND(st));
  ------------------
  |  |  109|     40|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2214|     40|    if (tuple == NULL) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 40]
  ------------------
 2215|      0|        goto Done;
 2216|      0|    }
 2217|       |
 2218|     40|    num = PyTuple_GET_ITEM(tuple, 1);           /* us */
  ------------------
  |  |   29|     40|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     40|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|     40|    us = PyLong_AsInt(num);
 2220|     40|    num = NULL;
 2221|     40|    if (us == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 40]
  |  Branch (2221:21): [True: 0, False: 0]
  ------------------
 2222|      0|        goto Done;
 2223|      0|    }
 2224|     40|    if (!(0 <= us && us < 1000000)) {
  ------------------
  |  Branch (2224:11): [True: 40, False: 0]
  |  Branch (2224:22): [True: 40, False: 0]
  ------------------
 2225|      0|        goto BadDivmod;
 2226|      0|    }
 2227|       |
 2228|     40|    num = Py_NewRef(PyTuple_GET_ITEM(tuple, 0));        /* leftover seconds */
  ------------------
  |  |  550|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|     40|    Py_DECREF(tuple);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2230|       |
 2231|     40|    tuple = checked_divmod(num, CONST_SEC_PER_DAY(st));
  ------------------
  |  |  114|     40|#define CONST_SEC_PER_DAY(st) st->seconds_per_day
  ------------------
 2232|     40|    if (tuple == NULL)
  ------------------
  |  Branch (2232:9): [True: 0, False: 40]
  ------------------
 2233|      0|        goto Done;
 2234|     40|    Py_DECREF(num);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|       |
 2236|     40|    num = PyTuple_GET_ITEM(tuple, 1);           /* seconds */
  ------------------
  |  |   29|     40|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     40|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|     40|    s = PyLong_AsInt(num);
 2238|     40|    num = NULL;
 2239|     40|    if (s == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2239:9): [True: 0, False: 40]
  |  Branch (2239:20): [True: 0, False: 0]
  ------------------
 2240|      0|        goto Done;
 2241|      0|    }
 2242|     40|    if (!(0 <= s && s < 24*3600)) {
  ------------------
  |  Branch (2242:11): [True: 40, False: 0]
  |  Branch (2242:21): [True: 40, False: 0]
  ------------------
 2243|      0|        goto BadDivmod;
 2244|      0|    }
 2245|       |
 2246|     40|    num = Py_NewRef(PyTuple_GET_ITEM(tuple, 0));           /* leftover days */
  ------------------
  |  |  550|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|     40|    d = PyLong_AsInt(num);
 2248|     40|    if (d == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2248:9): [True: 0, False: 40]
  |  Branch (2248:20): [True: 0, False: 0]
  ------------------
 2249|      0|        goto Done;
 2250|      0|    }
 2251|     40|    result = new_delta_ex(d, s, us, 0, type);
 2252|       |
 2253|     40|Done:
 2254|     40|    Py_XDECREF(tuple);
  ------------------
  |  |  524|     40|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|     40|    Py_XDECREF(num);
  ------------------
  |  |  524|     40|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|     40|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     40|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|     40|    return result;
 2258|       |
 2259|      0|BadDivmod:
 2260|      0|    PyErr_SetString(PyExc_TypeError,
 2261|      0|                    "divmod() returned a value out of range");
 2262|      0|    goto Done;
 2263|     40|}
_datetimemodule.c:checked_divmod:
 2176|     80|{
 2177|     80|    PyObject *result = PyNumber_Divmod(a, b);
 2178|     80|    if (result != NULL) {
  ------------------
  |  Branch (2178:9): [True: 80, False: 0]
  ------------------
 2179|     80|        if (!PyTuple_Check(result)) {
  ------------------
  |  |   27|     80|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2179:13): [True: 0, False: 80]
  ------------------
 2180|      0|            PyErr_Format(PyExc_TypeError,
 2181|      0|                         "divmod() returned non-tuple (type %.200s)",
 2182|      0|                         Py_TYPE(result)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|      0|            return NULL;
 2185|      0|        }
 2186|     80|        if (PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|     80|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2186:13): [True: 0, False: 80]
  ------------------
 2187|      0|            PyErr_Format(PyExc_TypeError,
 2188|      0|                         "divmod() returned a tuple of size %zd",
 2189|      0|                         PyTuple_GET_SIZE(result));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2190|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2191|      0|            return NULL;
 2192|      0|        }
 2193|     80|    }
 2194|     80|    return result;
 2195|     80|}
_datetimemodule.c:delta_richcompare:
 2529|      2|{
 2530|      2|    if (PyDelta_Check(other)) {
  ------------------
  |  |   96|      2|#define PyDelta_Check(op) PyObject_TypeCheck(op, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2531|      2|        int diff = delta_cmp(self, other);
 2532|      2|        return diff_to_bool(diff, op);
 2533|      2|    }
 2534|      0|    else {
 2535|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2536|      0|    }
 2537|      2|}
_datetimemodule.c:delta_cmp:
 2516|      2|{
 2517|      2|    int diff = GET_TD_DAYS(self) - GET_TD_DAYS(other);
  ------------------
  |  |  311|      2|#define GET_TD_DAYS(o)          (PyDelta_CAST(o)->days)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
                  int diff = GET_TD_DAYS(self) - GET_TD_DAYS(other);
  ------------------
  |  |  311|      2|#define GET_TD_DAYS(o)          (PyDelta_CAST(o)->days)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2518|      2|    if (diff == 0) {
  ------------------
  |  Branch (2518:9): [True: 2, False: 0]
  ------------------
 2519|      2|        diff = GET_TD_SECONDS(self) - GET_TD_SECONDS(other);
  ------------------
  |  |  312|      2|#define GET_TD_SECONDS(o)       (PyDelta_CAST(o)->seconds)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
                      diff = GET_TD_SECONDS(self) - GET_TD_SECONDS(other);
  ------------------
  |  |  312|      2|#define GET_TD_SECONDS(o)       (PyDelta_CAST(o)->seconds)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2520|      2|        if (diff == 0)
  ------------------
  |  Branch (2520:13): [True: 2, False: 0]
  ------------------
 2521|      2|            diff = GET_TD_MICROSECONDS(self) -
  ------------------
  |  |  313|      2|#define GET_TD_MICROSECONDS(o)  (PyDelta_CAST(o)->microseconds)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2522|      2|                GET_TD_MICROSECONDS(other);
  ------------------
  |  |  313|      2|#define GET_TD_MICROSECONDS(o)  (PyDelta_CAST(o)->microseconds)
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2523|      2|    }
 2524|      2|    return diff;
 2525|      2|}
_datetimemodule.c:diff_to_bool:
 2105|      2|{
 2106|      2|    Py_RETURN_RICHCOMPARE(diff, 0, op);
  ------------------
  |  |  674|      2|    do {                                                                    \
  |  |  675|      2|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 2]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 2]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 2]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 2]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      2|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      2|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      2|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 2, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 2]
  |  |  ------------------
  |  |  681|      2|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 2]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      2|        }                                                                   \
  |  |  685|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2107|      2|}
_datetimemodule.c:delta_total_seconds:
 3009|     20|{
 3010|     20|    PyObject *total_seconds;
 3011|     20|    PyObject *total_microseconds;
 3012|       |
 3013|     20|    total_microseconds = delta_to_microseconds(PyDelta_CAST(op));
  ------------------
  |  |   95|     20|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  ------------------
 3014|     20|    if (total_microseconds == NULL)
  ------------------
  |  Branch (3014:9): [True: 0, False: 20]
  ------------------
 3015|      0|        return NULL;
 3016|       |
 3017|     20|    PyObject *current_mod = NULL;
 3018|     20|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     20|    _get_current_state(&MOD_VAR)
  ------------------
 3019|       |
 3020|     20|    total_seconds = PyNumber_TrueDivide(total_microseconds, CONST_US_PER_SECOND(st));
  ------------------
  |  |  109|     20|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 3021|       |
 3022|     20|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     20|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|     20|    Py_DECREF(total_microseconds);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3024|     20|    return total_seconds;
 3025|     20|}
_datetimemodule.c:delta_new_impl:
 2815|     24|{
 2816|     24|    PyObject *self = NULL;
 2817|       |
 2818|     24|    PyObject *current_mod = NULL;
 2819|     24|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     24|    _get_current_state(&MOD_VAR)
  ------------------
 2820|       |
 2821|     24|    PyObject *x = NULL;         /* running sum of microseconds */
 2822|     24|    PyObject *y = NULL;         /* temp sum of microseconds */
 2823|     24|    double leftover_us = 0.0;
 2824|       |
 2825|     24|    x = PyLong_FromLong(0);
 2826|     24|    if (x == NULL)
  ------------------
  |  Branch (2826:9): [True: 0, False: 24]
  ------------------
 2827|      0|        goto Done;
 2828|       |
 2829|     24|#define CLEANUP         \
 2830|     24|    Py_DECREF(x);       \
 2831|     24|    x = y;              \
 2832|     24|    if (x == NULL)      \
 2833|     24|        goto Done
 2834|       |
 2835|     24|    if (microseconds) {
  ------------------
  |  Branch (2835:9): [True: 0, False: 24]
  ------------------
 2836|      0|        y = accum("microseconds", x, microseconds, _PyLong_GetOne(), &leftover_us);
 2837|      0|        CLEANUP;
  ------------------
  |  | 2830|      0|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      0|    x = y;              \
  |  | 2832|      0|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2833|      0|        goto Done
  ------------------
 2838|      0|    }
 2839|     24|    if (milliseconds) {
  ------------------
  |  Branch (2839:9): [True: 2, False: 22]
  ------------------
 2840|      2|        y = accum("milliseconds", x, milliseconds, CONST_US_PER_MS(st), &leftover_us);
  ------------------
  |  |  108|      2|#define CONST_US_PER_MS(st) st->us_per_ms
  ------------------
 2841|      2|        CLEANUP;
  ------------------
  |  | 2830|      2|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      2|    x = y;              \
  |  | 2832|      2|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2833|      2|        goto Done
  ------------------
 2842|      2|    }
 2843|     24|    if (seconds) {
  ------------------
  |  Branch (2843:9): [True: 18, False: 6]
  ------------------
 2844|     18|        y = accum("seconds", x, seconds, CONST_US_PER_SECOND(st), &leftover_us);
  ------------------
  |  |  109|     18|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2845|     18|        CLEANUP;
  ------------------
  |  | 2830|     18|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|     18|    x = y;              \
  |  | 2832|     18|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 18]
  |  |  ------------------
  |  | 2833|     18|        goto Done
  ------------------
 2846|     18|    }
 2847|     24|    if (minutes) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 24]
  ------------------
 2848|      0|        y = accum("minutes", x, minutes, CONST_US_PER_MINUTE(st), &leftover_us);
  ------------------
  |  |  110|      0|#define CONST_US_PER_MINUTE(st) st->us_per_minute
  ------------------
 2849|      0|        CLEANUP;
  ------------------
  |  | 2830|      0|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      0|    x = y;              \
  |  | 2832|      0|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2833|      0|        goto Done
  ------------------
 2850|      0|    }
 2851|     24|    if (hours) {
  ------------------
  |  Branch (2851:9): [True: 0, False: 24]
  ------------------
 2852|      0|        y = accum("hours", x, hours, CONST_US_PER_HOUR(st), &leftover_us);
  ------------------
  |  |  111|      0|#define CONST_US_PER_HOUR(st) st->us_per_hour
  ------------------
 2853|      0|        CLEANUP;
  ------------------
  |  | 2830|      0|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      0|    x = y;              \
  |  | 2832|      0|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2833|      0|        goto Done
  ------------------
 2854|      0|    }
 2855|     24|    if (days) {
  ------------------
  |  Branch (2855:9): [True: 4, False: 20]
  ------------------
 2856|      4|        y = accum("days", x, days, CONST_US_PER_DAY(st), &leftover_us);
  ------------------
  |  |  112|      4|#define CONST_US_PER_DAY(st) st->us_per_day
  ------------------
 2857|      4|        CLEANUP;
  ------------------
  |  | 2830|      4|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      4|    x = y;              \
  |  | 2832|      4|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 2833|      4|        goto Done
  ------------------
 2858|      4|    }
 2859|     24|    if (weeks) {
  ------------------
  |  Branch (2859:9): [True: 0, False: 24]
  ------------------
 2860|      0|        y = accum("weeks", x, weeks, CONST_US_PER_WEEK(st), &leftover_us);
  ------------------
  |  |  113|      0|#define CONST_US_PER_WEEK(st) st->us_per_week
  ------------------
 2861|      0|        CLEANUP;
  ------------------
  |  | 2830|      0|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      0|    x = y;              \
  |  | 2832|      0|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2833|      0|        goto Done
  ------------------
 2862|      0|    }
 2863|     24|    if (leftover_us) {
  ------------------
  |  Branch (2863:9): [True: 0, False: 24]
  ------------------
 2864|       |        /* Round to nearest whole # of us, and add into x. */
 2865|      0|        double whole_us = round(leftover_us);
 2866|      0|        int x_is_odd;
 2867|      0|        PyObject *temp;
 2868|       |
 2869|      0|        if (fabs(whole_us - leftover_us) == 0.5) {
  ------------------
  |  Branch (2869:13): [True: 0, False: 0]
  ------------------
 2870|       |            /* We're exactly halfway between two integers.  In order
 2871|       |             * to do round-half-to-even, we must determine whether x
 2872|       |             * is odd. Note that x is odd when it's last bit is 1. The
 2873|       |             * code below uses bitwise and operation to check the last
 2874|       |             * bit. */
 2875|      0|            temp = PyNumber_And(x, _PyLong_GetOne());  /* temp <- x & 1 */
 2876|      0|            if (temp == NULL) {
  ------------------
  |  Branch (2876:17): [True: 0, False: 0]
  ------------------
 2877|      0|                Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2878|      0|                goto Done;
 2879|      0|            }
 2880|      0|            x_is_odd = PyObject_IsTrue(temp);
 2881|      0|            Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|      0|            if (x_is_odd == -1) {
  ------------------
  |  Branch (2882:17): [True: 0, False: 0]
  ------------------
 2883|      0|                Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2884|      0|                goto Done;
 2885|      0|            }
 2886|      0|            whole_us = 2.0 * round((leftover_us + x_is_odd) * 0.5) - x_is_odd;
 2887|      0|        }
 2888|       |
 2889|      0|        temp = PyLong_FromLong((long)whole_us);
 2890|       |
 2891|      0|        if (temp == NULL) {
  ------------------
  |  Branch (2891:13): [True: 0, False: 0]
  ------------------
 2892|      0|            Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2893|      0|            goto Done;
 2894|      0|        }
 2895|      0|        y = PyNumber_Add(x, temp);
 2896|      0|        Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|      0|        CLEANUP;
  ------------------
  |  | 2830|      0|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|      0|    x = y;              \
  |  | 2832|      0|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2833|      0|        goto Done
  ------------------
 2898|      0|    }
 2899|       |
 2900|     24|    self = microseconds_to_delta_ex(x, type);
 2901|     24|    Py_DECREF(x);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2902|       |
 2903|     24|Done:
 2904|     24|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     24|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|     24|    return self;
 2906|       |
 2907|     24|#undef CLEANUP
 2908|     24|}
_datetimemodule.c:accum:
 2714|     24|{
 2715|     24|    PyObject *prod;
 2716|     24|    PyObject *sum;
 2717|       |
 2718|     24|    assert(num != NULL);
 2719|       |
 2720|     24|    if (PyLong_Check(num)) {
  ------------------
  |  |   13|     24|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 22, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2721|     22|        prod = PyNumber_Multiply(num, factor);
 2722|     22|        if (prod == NULL)
  ------------------
  |  Branch (2722:13): [True: 0, False: 22]
  ------------------
 2723|      0|            return NULL;
 2724|     22|        sum = PyNumber_Add(sofar, prod);
 2725|     22|        Py_DECREF(prod);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2726|     22|        return sum;
 2727|     22|    }
 2728|       |
 2729|      2|    if (PyFloat_Check(num)) {
  ------------------
  |  |   16|      2|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2730|      2|        double dnum;
 2731|      2|        double fracpart;
 2732|      2|        double intpart;
 2733|      2|        PyObject *x;
 2734|      2|        PyObject *y;
 2735|       |
 2736|       |        /* The Plan:  decompose num into an integer part and a
 2737|       |         * fractional part, num = intpart + fracpart.
 2738|       |         * Then num * factor ==
 2739|       |         *      intpart * factor + fracpart * factor
 2740|       |         * and the LHS can be computed exactly in long arithmetic.
 2741|       |         * The RHS is again broken into an int part and frac part.
 2742|       |         * and the frac part is added into *leftover.
 2743|       |         */
 2744|      2|        dnum = PyFloat_AsDouble(num);
 2745|      2|        if (dnum == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (2745:13): [True: 0, False: 2]
  |  Branch (2745:29): [True: 0, False: 0]
  ------------------
 2746|      0|            return NULL;
 2747|      2|        fracpart = modf(dnum, &intpart);
 2748|      2|        x = PyLong_FromDouble(intpart);
 2749|      2|        if (x == NULL)
  ------------------
  |  Branch (2749:13): [True: 0, False: 2]
  ------------------
 2750|      0|            return NULL;
 2751|       |
 2752|      2|        prod = PyNumber_Multiply(x, factor);
 2753|      2|        Py_DECREF(x);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|      2|        if (prod == NULL)
  ------------------
  |  Branch (2754:13): [True: 0, False: 2]
  ------------------
 2755|      0|            return NULL;
 2756|       |
 2757|      2|        sum = PyNumber_Add(sofar, prod);
 2758|      2|        Py_DECREF(prod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2759|      2|        if (sum == NULL)
  ------------------
  |  Branch (2759:13): [True: 0, False: 2]
  ------------------
 2760|      0|            return NULL;
 2761|       |
 2762|      2|        if (fracpart == 0.0)
  ------------------
  |  Branch (2762:13): [True: 0, False: 2]
  ------------------
 2763|      0|            return sum;
 2764|       |        /* So far we've lost no information.  Dealing with the
 2765|       |         * fractional part requires float arithmetic, and may
 2766|       |         * lose a little info.
 2767|       |         */
 2768|      2|        assert(PyLong_CheckExact(factor));
 2769|      2|        dnum = PyLong_AsDouble(factor);
 2770|       |
 2771|      2|        dnum *= fracpart;
 2772|      2|        fracpart = modf(dnum, &intpart);
 2773|      2|        x = PyLong_FromDouble(intpart);
 2774|      2|        if (x == NULL) {
  ------------------
  |  Branch (2774:13): [True: 0, False: 2]
  ------------------
 2775|      0|            Py_DECREF(sum);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|      0|            return NULL;
 2777|      0|        }
 2778|       |
 2779|      2|        y = PyNumber_Add(sum, x);
 2780|      2|        Py_DECREF(sum);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2781|      2|        Py_DECREF(x);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2782|      2|        *leftover += fracpart;
 2783|      2|        return y;
 2784|      2|    }
 2785|       |
 2786|      0|    PyErr_Format(PyExc_TypeError,
 2787|      0|                 "unsupported type for timedelta %s component: %s",
 2788|      0|                 tag, Py_TYPE(num)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|       |    return NULL;
 2790|      2|}
_datetimemodule.c:new_delta_ex:
 1373|     56|{
 1374|     56|    PyDateTime_Delta *self;
 1375|       |
 1376|     56|    if (normalize)
  ------------------
  |  Branch (1376:9): [True: 2, False: 54]
  ------------------
 1377|      2|        normalize_d_s_us(&days, &seconds, &microseconds);
 1378|     56|    assert(0 <= seconds && seconds < 24*3600);
 1379|     56|    assert(0 <= microseconds && microseconds < 1000000);
 1380|       |
 1381|     56|    if (check_delta_day_range(days) < 0)
  ------------------
  |  Branch (1381:9): [True: 0, False: 56]
  ------------------
 1382|      0|        return NULL;
 1383|       |
 1384|     56|    self = look_up_delta(days, seconds, microseconds, type);
 1385|     56|    if (self != NULL) {
  ------------------
  |  Branch (1385:9): [True: 2, False: 54]
  ------------------
 1386|      2|        return (PyObject *)self;
 1387|      2|    }
 1388|     56|    assert(!PyErr_Occurred());
 1389|       |
 1390|     54|    self = (PyDateTime_Delta *) (type->tp_alloc(type, 0));
 1391|     54|    if (self != NULL) {
  ------------------
  |  Branch (1391:9): [True: 54, False: 0]
  ------------------
 1392|     54|        self->hashcode = -1;
 1393|     54|        SET_TD_DAYS(self, days);
  ------------------
  |  |  315|     54|#define SET_TD_DAYS(o, v)       ((o)->days = (v))
  ------------------
 1394|     54|        SET_TD_SECONDS(self, seconds);
  ------------------
  |  |  316|     54|#define SET_TD_SECONDS(o, v)    ((o)->seconds = (v))
  ------------------
 1395|     54|        SET_TD_MICROSECONDS(self, microseconds);
  ------------------
  |  |  317|     54|#define SET_TD_MICROSECONDS(o, v) ((o)->microseconds = (v))
  ------------------
 1396|     54|    }
 1397|     54|    return (PyObject *) self;
 1398|     56|}
_datetimemodule.c:normalize_d_s_us:
  737|      2|{
  738|      2|    if (*us < 0 || *us >= 1000000) {
  ------------------
  |  Branch (738:9): [True: 0, False: 2]
  |  Branch (738:20): [True: 0, False: 2]
  ------------------
  739|      0|        normalize_pair(s, us, 1000000);
  740|       |        /* |s| can't be bigger than about
  741|       |         * |original s| + |original us|/1000000 now.
  742|       |         */
  743|       |
  744|      0|    }
  745|      2|    if (*s < 0 || *s >= 24*3600) {
  ------------------
  |  Branch (745:9): [True: 0, False: 2]
  |  Branch (745:19): [True: 0, False: 2]
  ------------------
  746|      0|        normalize_pair(d, s, 24*3600);
  747|       |        /* |d| can't be bigger than about
  748|       |         * |original d| +
  749|       |         * (|original s| + |original us|/1000000) / (24*3600) now.
  750|       |         */
  751|      0|    }
  752|      2|    assert(0 <= *s && *s < 24*3600);
  753|       |    assert(0 <= *us && *us < 1000000);
  754|      2|}
_datetimemodule.c:check_delta_day_range:
  638|     56|{
  639|     56|    if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  267|     56|#define MAX_DELTA_DAYS 999999999
  ------------------
                  if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  267|     56|#define MAX_DELTA_DAYS 999999999
  ------------------
  |  Branch (639:9): [True: 56, False: 0]
  |  Branch (639:36): [True: 56, False: 0]
  ------------------
  640|     56|        return 0;
  641|      0|    PyErr_Format(PyExc_OverflowError,
  642|      0|                 "days=%d; must have magnitude <= %d",
  643|      0|                 days, MAX_DELTA_DAYS);
  ------------------
  |  |  267|      0|#define MAX_DELTA_DAYS 999999999
  ------------------
  644|      0|    return -1;
  645|     56|}
_datetimemodule.c:look_up_delta:
 3146|     56|{
 3147|     56|    if (days == 0 && seconds == 0 && microseconds == 0
  ------------------
  |  Branch (3147:9): [True: 46, False: 10]
  |  Branch (3147:22): [True: 12, False: 34]
  |  Branch (3147:38): [True: 2, False: 10]
  ------------------
 3148|      2|            && type == Py_TYPE(&zero_delta))
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3148:16): [True: 2, False: 0]
  ------------------
 3149|      2|    {
 3150|      2|        return &zero_delta;
 3151|      2|    }
 3152|     54|    return NULL;
 3153|     56|}
_datetimemodule.c:new_date_ex:
 1156|      4|{
 1157|      4|    PyDateTime_Date *self;
 1158|       |
 1159|      4|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1159:9): [True: 0, False: 4]
  ------------------
 1160|      0|        return NULL;
 1161|      0|    }
 1162|       |
 1163|      4|    self = (PyDateTime_Date *)(type->tp_alloc(type, 0));
 1164|      4|    if (self != NULL)
  ------------------
  |  Branch (1164:9): [True: 4, False: 0]
  ------------------
 1165|      4|        set_date_fields(self, year, month, day);
 1166|      4|    return (PyObject *)self;
 1167|      4|}
_datetimemodule.c:check_date_args:
  652|     10|{
  653|       |
  654|     10|    if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  258|     20|#define MINYEAR 1
  ------------------
                  if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  259|     10|#define MAXYEAR 9999
  ------------------
  |  Branch (654:9): [True: 0, False: 10]
  |  Branch (654:27): [True: 0, False: 10]
  ------------------
  655|      0|        PyErr_Format(PyExc_ValueError,
  656|      0|                     "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  258|      0|#define MINYEAR 1
  ------------------
                                   "year must be in %d..%d, not %d", MINYEAR, MAXYEAR, year);
  ------------------
  |  |  259|      0|#define MAXYEAR 9999
  ------------------
  657|      0|        return -1;
  658|      0|    }
  659|     10|    if (month < 1 || month > 12) {
  ------------------
  |  Branch (659:9): [True: 0, False: 10]
  |  Branch (659:22): [True: 0, False: 10]
  ------------------
  660|      0|        PyErr_Format(PyExc_ValueError,
  661|      0|                     "month must be in 1..12, not %d", month);
  662|      0|        return -1;
  663|      0|    }
  664|     10|    int dim = days_in_month(year, month);
  665|     10|    if (day < 1 || day > dim) {
  ------------------
  |  Branch (665:9): [True: 0, False: 10]
  |  Branch (665:20): [True: 0, False: 10]
  ------------------
  666|      0|        PyErr_Format(PyExc_ValueError,
  667|      0|                     "day %i must be in range 1..%d for month %i in year %i",
  668|      0|                     day, dim, month, year);
  669|      0|        return -1;
  670|      0|    }
  671|     10|    return 0;
  672|     10|}
_datetimemodule.c:set_date_fields:
  903|     10|{
  904|     10|    self->hashcode = -1;
  905|     10|    SET_YEAR(self, y);
  ------------------
  |  |  280|     10|#define SET_YEAR(o, v)          (((o)->data[0] = ((v) & 0xff00) >> 8), \
  |  |  281|     10|                 ((o)->data[1] = ((v) & 0x00ff)))
  ------------------
  906|     10|    SET_MONTH(self, m);
  ------------------
  |  |  282|     10|#define SET_MONTH(o, v)         (PyDateTime_GET_MONTH(o) = (v))
  |  |  ------------------
  |  |  |  |  124|     10|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
  907|     10|    SET_DAY(self, d);
  ------------------
  |  |  283|     10|#define SET_DAY(o, v)           (PyDateTime_GET_DAY(o) = (v))
  |  |  ------------------
  |  |  |  |  125|     10|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
  908|     10|}
_datetimemodule.c:check_time_args:
  679|     10|{
  680|     10|    if (h < 0 || h > 23) {
  ------------------
  |  Branch (680:9): [True: 0, False: 10]
  |  Branch (680:18): [True: 0, False: 10]
  ------------------
  681|      0|        PyErr_Format(PyExc_ValueError, "hour must be in 0..23, not %i", h);
  682|      0|        return -1;
  683|      0|    }
  684|     10|    if (m < 0 || m > 59) {
  ------------------
  |  Branch (684:9): [True: 0, False: 10]
  |  Branch (684:18): [True: 0, False: 10]
  ------------------
  685|      0|        PyErr_Format(PyExc_ValueError, "minute must be in 0..59, not %i", m);
  686|      0|        return -1;
  687|      0|    }
  688|     10|    if (s < 0 || s > 59) {
  ------------------
  |  Branch (688:9): [True: 0, False: 10]
  |  Branch (688:18): [True: 0, False: 10]
  ------------------
  689|      0|        PyErr_Format(PyExc_ValueError, "second must be in 0..59, not %i", s);
  690|      0|        return -1;
  691|      0|    }
  692|     10|    if (us < 0 || us > 999999) {
  ------------------
  |  Branch (692:9): [True: 0, False: 10]
  |  Branch (692:19): [True: 0, False: 10]
  ------------------
  693|      0|        PyErr_Format(PyExc_ValueError,
  694|      0|                     "microsecond must be in 0..999999, not %i", us);
  695|      0|        return -1;
  696|      0|    }
  697|     10|    if (fold != 0 && fold != 1) {
  ------------------
  |  Branch (697:9): [True: 0, False: 10]
  |  Branch (697:22): [True: 0, False: 0]
  ------------------
  698|      0|        PyErr_Format(PyExc_ValueError,
  699|      0|                     "fold must be either 0 or 1, not %i", fold);
  700|      0|        return -1;
  701|      0|    }
  702|     10|    return 0;
  703|     10|}
_datetimemodule.c:create_timezone:
 1419|      4|{
 1420|      4|    PyDateTime_TimeZone *self;
 1421|      4|    PyTypeObject *type = TIMEZONE_TYPE(NO_STATE);
  ------------------
  |  |   80|      4|#define TIMEZONE_TYPE(st) &PyDateTime_TimeZoneType
  ------------------
 1422|       |
 1423|      4|    assert(offset != NULL);
 1424|      4|    assert(PyDelta_Check(offset));
 1425|      4|    assert(name == NULL || PyUnicode_Check(name));
 1426|       |
 1427|      4|    self = look_up_timezone(offset, name);
 1428|      4|    if (self != NULL) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 4]
  ------------------
 1429|      0|        return (PyObject *)self;
 1430|      0|    }
 1431|      4|    assert(!PyErr_Occurred());
 1432|       |
 1433|      4|    self = (PyDateTime_TimeZone *)(type->tp_alloc(type, 0));
 1434|      4|    if (self == NULL) {
  ------------------
  |  Branch (1434:9): [True: 0, False: 4]
  ------------------
 1435|      0|        return NULL;
 1436|      0|    }
 1437|      4|    self->offset = Py_NewRef(offset);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      4|    self->name = Py_XNewRef(name);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1439|      4|    return (PyObject *)self;
 1440|      4|}
_datetimemodule.c:look_up_timezone:
 4573|      4|{
 4574|      4|    if (offset == utc_timezone.offset && name == NULL) {
  ------------------
  |  Branch (4574:9): [True: 0, False: 4]
  |  Branch (4574:42): [True: 0, False: 0]
  ------------------
 4575|      0|        return (PyDateTime_TimeZone *)CONST_UTC(NO_STATE);
  ------------------
  |  |  116|      0|#define CONST_UTC(st) ((PyObject *)&utc_timezone)
  ------------------
 4576|      0|    }
 4577|      4|    return NULL;
 4578|      4|}
_datetimemodule.c:time_alloc:
  873|      4|{
  874|      4|    size_t size = aware ? sizeof(PyDateTime_Time) : sizeof(_PyDateTime_BaseTime);
  ------------------
  |  Branch (874:19): [True: 0, False: 4]
  ------------------
  875|      4|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  876|      4|    if (self == NULL) {
  ------------------
  |  Branch (876:9): [True: 0, False: 4]
  ------------------
  877|      0|        return PyErr_NoMemory();
  878|      0|    }
  879|      4|    _PyObject_Init(self, type);
  880|      4|    return self;
  881|      4|}
_datetimemodule.c:check_tzinfo_subclass:
 1477|     10|{
 1478|     10|    if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  100|      2|#define PyTZInfo_Check(op) PyObject_TypeCheck(op, TZINFO_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1478:9): [True: 8, False: 2]
  ------------------
 1479|     10|        return 0;
 1480|      0|    PyErr_Format(PyExc_TypeError,
 1481|      0|                 "tzinfo argument must be None or of a tzinfo subclass, "
 1482|      0|                 "not type '%s'",
 1483|      0|                 Py_TYPE(p)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|      0|    return -1;
 1485|     10|}
_datetimemodule.c:new_time_ex2:
 1307|      4|{
 1308|      4|    PyDateTime_Time *self;
 1309|      4|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1310|       |
 1311|      4|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 4]
  ------------------
 1312|      0|        return NULL;
 1313|      0|    }
 1314|      4|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1314:9): [True: 0, False: 4]
  ------------------
 1315|      0|        return NULL;
 1316|      0|    }
 1317|       |
 1318|      4|    self = (PyDateTime_Time *) (type->tp_alloc(type, aware));
 1319|      4|    if (self != NULL) {
  ------------------
  |  Branch (1319:9): [True: 4, False: 0]
  ------------------
 1320|      4|        self->hastzinfo = aware;
 1321|      4|        self->hashcode = -1;
 1322|      4|        TIME_SET_HOUR(self, hour);
  ------------------
  |  |  301|      4|#define TIME_SET_HOUR(o, v)     (PyDateTime_TIME_GET_HOUR(o) = (v))
  |  |  ------------------
  |  |  |  |  139|      4|#define PyDateTime_TIME_GET_HOUR(o)        (((PyDateTime_Time*)(o))->data[0])
  |  |  ------------------
  ------------------
 1323|      4|        TIME_SET_MINUTE(self, minute);
  ------------------
  |  |  302|      4|#define TIME_SET_MINUTE(o, v)   (PyDateTime_TIME_GET_MINUTE(o) = (v))
  |  |  ------------------
  |  |  |  |  140|      4|#define PyDateTime_TIME_GET_MINUTE(o)      (((PyDateTime_Time*)(o))->data[1])
  |  |  ------------------
  ------------------
 1324|      4|        TIME_SET_SECOND(self, second);
  ------------------
  |  |  303|      4|#define TIME_SET_SECOND(o, v)   (PyDateTime_TIME_GET_SECOND(o) = (v))
  |  |  ------------------
  |  |  |  |  141|      4|#define PyDateTime_TIME_GET_SECOND(o)      (((PyDateTime_Time*)(o))->data[2])
  |  |  ------------------
  ------------------
 1325|      4|        TIME_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  305|      4|    (((o)->data[3] = ((v) & 0xff0000) >> 16), \
  |  |  306|      4|     ((o)->data[4] = ((v) & 0x00ff00) >> 8), \
  |  |  307|      4|     ((o)->data[5] = ((v) & 0x0000ff)))
  ------------------
 1326|      4|        if (aware) {
  ------------------
  |  Branch (1326:13): [True: 0, False: 4]
  ------------------
 1327|      0|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      0|        }
 1329|      4|        TIME_SET_FOLD(self, fold);
  ------------------
  |  |  308|      4|#define TIME_SET_FOLD(o, v)   (PyDateTime_TIME_GET_FOLD(o) = (v))
  |  |  ------------------
  |  |  |  |  146|      4|#define PyDateTime_TIME_GET_FOLD(o)        (((PyDateTime_Time*)(o))->fold)
  |  |  ------------------
  ------------------
 1330|      4|    }
 1331|      4|    return (PyObject *)self;
 1332|      4|}
_datetimemodule.c:datetime_alloc:
  885|      6|{
  886|      6|    size_t size = aware ? sizeof(PyDateTime_DateTime) : sizeof(_PyDateTime_BaseDateTime);
  ------------------
  |  Branch (886:19): [True: 2, False: 4]
  ------------------
  887|      6|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  888|      6|    if (self == NULL) {
  ------------------
  |  Branch (888:9): [True: 0, False: 6]
  ------------------
  889|      0|        return PyErr_NoMemory();
  890|      0|    }
  891|      6|    _PyObject_Init(self, type);
  892|      6|    return self;
  893|      6|}
_datetimemodule.c:new_datetime_ex2:
 1199|      6|{
 1200|      6|    PyDateTime_DateTime *self;
 1201|      6|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1202|       |
 1203|      6|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1203:9): [True: 0, False: 6]
  ------------------
 1204|      0|        return NULL;
 1205|      0|    }
 1206|      6|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1206:9): [True: 0, False: 6]
  ------------------
 1207|      0|        return NULL;
 1208|      0|    }
 1209|      6|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1209:9): [True: 0, False: 6]
  ------------------
 1210|      0|        return NULL;
 1211|      0|    }
 1212|       |
 1213|      6|    self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware));
 1214|      6|    if (self != NULL) {
  ------------------
  |  Branch (1214:9): [True: 6, False: 0]
  ------------------
 1215|      6|        self->hastzinfo = aware;
 1216|      6|        set_date_fields((PyDateTime_Date *)self, year, month, day);
 1217|      6|        DATE_SET_HOUR(self, hour);
  ------------------
  |  |  286|      6|#define DATE_SET_HOUR(o, v)     (PyDateTime_DATE_GET_HOUR(o) = (v))
  |  |  ------------------
  |  |  |  |  127|      6|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 1218|      6|        DATE_SET_MINUTE(self, minute);
  ------------------
  |  |  287|      6|#define DATE_SET_MINUTE(o, v)   (PyDateTime_DATE_GET_MINUTE(o) = (v))
  |  |  ------------------
  |  |  |  |  128|      6|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 1219|      6|        DATE_SET_SECOND(self, second);
  ------------------
  |  |  288|      6|#define DATE_SET_SECOND(o, v)   (PyDateTime_DATE_GET_SECOND(o) = (v))
  |  |  ------------------
  |  |  |  |  129|      6|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 1220|      6|        DATE_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  290|      6|    (((o)->data[7] = ((v) & 0xff0000) >> 16), \
  |  |  291|      6|     ((o)->data[8] = ((v) & 0x00ff00) >> 8), \
  |  |  292|      6|     ((o)->data[9] = ((v) & 0x0000ff)))
  ------------------
 1221|      6|        if (aware) {
  ------------------
  |  Branch (1221:13): [True: 2, False: 4]
  ------------------
 1222|      2|            self->tzinfo = Py_NewRef(tzinfo);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|      2|        }
 1224|      6|        DATE_SET_FOLD(self, fold);
  ------------------
  |  |  293|      6|#define DATE_SET_FOLD(o, v)   (PyDateTime_DATE_GET_FOLD(o) = (v))
  |  |  ------------------
  |  |  |  |  134|      6|#define PyDateTime_DATE_GET_FOLD(o)        (((PyDateTime_DateTime*)(o))->fold)
  |  |  ------------------
  ------------------
 1225|      6|    }
 1226|      6|    return (PyObject *)self;
 1227|      6|}
_datetimemodule.c:create_timezone_from_delta:
 7372|      4|{
 7373|      4|    PyObject *delta = new_delta(days, sec, ms, normalize);
  ------------------
  |  | 1401|      4|    new_delta_ex(d, s, us, normalize, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   78|      4|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 7374|      4|    if (delta == NULL) {
  ------------------
  |  Branch (7374:9): [True: 0, False: 4]
  ------------------
 7375|      0|        return NULL;
 7376|      0|    }
 7377|      4|    PyObject *tz = create_timezone(delta, NULL);
 7378|      4|    Py_DECREF(delta);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7379|      4|    return tz;
 7380|      4|}
_datetimemodule.c:_datetime_exec:
 7579|      2|{
 7580|      2|    int rc = -1;
 7581|      2|    datetime_state *st = get_module_state(module);
 7582|       |
 7583|      2|    PyInterpreterState *interp = PyInterpreterState_Get();
 7584|      2|    PyObject *old_module = get_current_module(interp);
 7585|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (7585:9): [True: 0, False: 2]
  ------------------
 7586|      0|        assert(old_module == NULL);
 7587|      0|        goto error;
 7588|      0|    }
 7589|       |    /* We actually set the "current" module right before a successful return. */
 7590|       |
 7591|     14|    for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {
  ------------------
  |  |  196|     14|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (7591:24): [True: 12, False: 2]
  ------------------
 7592|     12|        PyTypeObject *type = capi_types[i];
 7593|     12|        const char *name = _PyType_Name(type);
 7594|     12|        assert(name != NULL);
 7595|     12|        if (PyModule_AddObjectRef(module, name, (PyObject *)type) < 0) {
  ------------------
  |  Branch (7595:13): [True: 0, False: 12]
  ------------------
 7596|      0|            goto error;
 7597|      0|        }
 7598|     12|    }
 7599|       |
 7600|      2|    if (init_state(st, module, old_module) < 0) {
  ------------------
  |  Branch (7600:9): [True: 0, False: 2]
  ------------------
 7601|      0|        goto error;
 7602|      0|    }
 7603|       |
 7604|       |    /* Add module level attributes */
 7605|      2|    if (PyModule_AddIntMacro(module, MINYEAR) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (7605:9): [True: 0, False: 2]
  ------------------
 7606|      0|        goto error;
 7607|      0|    }
 7608|      2|    if (PyModule_AddIntMacro(module, MAXYEAR) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (7608:9): [True: 0, False: 2]
  ------------------
 7609|      0|        goto error;
 7610|      0|    }
 7611|      2|    if (PyModule_AddObjectRef(module, "UTC", (PyObject *)&utc_timezone) < 0) {
  ------------------
  |  Branch (7611:9): [True: 0, False: 2]
  ------------------
 7612|      0|        goto error;
 7613|      0|    }
 7614|       |
 7615|       |    /* At last, set up and add the encapsulated C API */
 7616|      2|    PyDateTime_CAPI *capi = get_datetime_capi();
 7617|      2|    if (capi == NULL) {
  ------------------
  |  Branch (7617:9): [True: 0, False: 2]
  ------------------
 7618|      0|        goto error;
 7619|      0|    }
 7620|      2|    PyObject *capsule = PyCapsule_New(capi, PyDateTime_CAPSULE_NAME, NULL);
  ------------------
  |  |  188|      2|#define PyDateTime_CAPSULE_NAME "datetime.datetime_CAPI"
  ------------------
 7621|       |    // (capsule == NULL) is handled by PyModule_Add
 7622|      2|    if (PyModule_Add(module, "datetime_CAPI", capsule) < 0) {
  ------------------
  |  Branch (7622:9): [True: 0, False: 2]
  ------------------
 7623|      0|        goto error;
 7624|      0|    }
 7625|       |
 7626|       |    /* A 4-year cycle has an extra leap day over what we'd get from
 7627|       |     * pasting together 4 single years.
 7628|       |     */
 7629|      2|    static_assert(DI4Y == 4 * 365 + 1, "DI4Y");
 7630|      2|    assert(DI4Y == days_before_year(4+1));
 7631|       |
 7632|       |    /* Similarly, a 400-year cycle has an extra leap day over what we'd
 7633|       |     * get from pasting together 4 100-year cycles.
 7634|       |     */
 7635|      2|    static_assert(DI400Y == 4 * DI100Y + 1, "DI400Y");
 7636|      2|    assert(DI400Y == days_before_year(400+1));
 7637|       |
 7638|       |    /* OTOH, a 100-year cycle has one fewer leap day than we'd get from
 7639|       |     * pasting together 25 4-year cycles.
 7640|       |     */
 7641|      2|    static_assert(DI100Y == 25 * DI4Y - 1, "DI100Y");
 7642|      2|    assert(DI100Y == days_before_year(100+1));
 7643|       |
 7644|      2|    if (set_current_module(interp, module) < 0) {
  ------------------
  |  Branch (7644:9): [True: 0, False: 2]
  ------------------
 7645|      0|        goto error;
 7646|      0|    }
 7647|       |
 7648|      2|    rc = 0;
 7649|      2|    goto finally;
 7650|       |
 7651|      0|error:
 7652|      0|    clear_state(st);
 7653|       |
 7654|      2|finally:
 7655|      2|    Py_XDECREF(old_module);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7656|      2|    return rc;
 7657|      0|}
_datetimemodule.c:init_state:
 7389|      2|{
 7390|       |    /* Each module gets its own heap types. */
 7391|      2|#define ADD_TYPE(FIELD, SPEC, BASE)                 \
 7392|      2|    do {                                            \
 7393|      2|        PyObject *cls = PyType_FromModuleAndSpec(   \
 7394|      2|                module, SPEC, (PyObject *)BASE);    \
 7395|      2|        if (cls == NULL) {                          \
 7396|      2|            return -1;                              \
 7397|      2|        }                                           \
 7398|      2|        st->FIELD = (PyTypeObject *)cls;            \
 7399|      2|    } while (0)
 7400|       |
 7401|      2|    ADD_TYPE(isocalendar_date_type, &isocal_spec, &PyTuple_Type);
  ------------------
  |  | 7392|      2|    do {                                            \
  |  | 7393|      2|        PyObject *cls = PyType_FromModuleAndSpec(   \
  |  | 7394|      2|                module, SPEC, (PyObject *)BASE);    \
  |  | 7395|      2|        if (cls == NULL) {                          \
  |  |  ------------------
  |  |  |  Branch (7395:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 7396|      0|            return -1;                              \
  |  | 7397|      0|        }                                           \
  |  | 7398|      2|        st->FIELD = (PyTypeObject *)cls;            \
  |  | 7399|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7399:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 7402|      2|#undef ADD_TYPE
 7403|       |
 7404|      2|    if (old_module != NULL) {
  ------------------
  |  Branch (7404:9): [True: 0, False: 2]
  ------------------
 7405|      0|        assert(old_module != module);
 7406|      0|        datetime_state *st_old = get_module_state(old_module);
 7407|      0|        *st = (datetime_state){
 7408|      0|            .isocalendar_date_type = st->isocalendar_date_type,
 7409|      0|            .us_per_ms = Py_NewRef(st_old->us_per_ms),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7410|      0|            .us_per_second = Py_NewRef(st_old->us_per_second),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7411|      0|            .us_per_minute = Py_NewRef(st_old->us_per_minute),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7412|      0|            .us_per_hour = Py_NewRef(st_old->us_per_hour),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7413|      0|            .us_per_day = Py_NewRef(st_old->us_per_day),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7414|      0|            .us_per_week = Py_NewRef(st_old->us_per_week),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7415|      0|            .seconds_per_day = Py_NewRef(st_old->seconds_per_day),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7416|      0|            .epoch = Py_NewRef(st_old->epoch),
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7417|      0|        };
 7418|      0|        return 0;
 7419|      0|    }
 7420|       |
 7421|      2|    st->us_per_ms = PyLong_FromLong(1000);
 7422|      2|    if (st->us_per_ms == NULL) {
  ------------------
  |  Branch (7422:9): [True: 0, False: 2]
  ------------------
 7423|      0|        return -1;
 7424|      0|    }
 7425|      2|    st->us_per_second = PyLong_FromLong(1000000);
 7426|      2|    if (st->us_per_second == NULL) {
  ------------------
  |  Branch (7426:9): [True: 0, False: 2]
  ------------------
 7427|      0|        return -1;
 7428|      0|    }
 7429|      2|    st->us_per_minute = PyLong_FromLong(60000000);
 7430|      2|    if (st->us_per_minute == NULL) {
  ------------------
  |  Branch (7430:9): [True: 0, False: 2]
  ------------------
 7431|      0|        return -1;
 7432|      0|    }
 7433|      2|    st->seconds_per_day = PyLong_FromLong(24 * 3600);
 7434|      2|    if (st->seconds_per_day == NULL) {
  ------------------
  |  Branch (7434:9): [True: 0, False: 2]
  ------------------
 7435|      0|        return -1;
 7436|      0|    }
 7437|       |
 7438|       |    /* The rest are too big for 32-bit ints, but even
 7439|       |     * us_per_week fits in 40 bits, so doubles should be exact.
 7440|       |     */
 7441|      2|    st->us_per_hour = PyLong_FromDouble(3600000000.0);
 7442|      2|    if (st->us_per_hour == NULL) {
  ------------------
  |  Branch (7442:9): [True: 0, False: 2]
  ------------------
 7443|      0|        return -1;
 7444|      0|    }
 7445|      2|    st->us_per_day = PyLong_FromDouble(86400000000.0);
 7446|      2|    if (st->us_per_day == NULL) {
  ------------------
  |  Branch (7446:9): [True: 0, False: 2]
  ------------------
 7447|      0|        return -1;
 7448|      0|    }
 7449|      2|    st->us_per_week = PyLong_FromDouble(604800000000.0);
 7450|      2|    if (st->us_per_week == NULL) {
  ------------------
  |  Branch (7450:9): [True: 0, False: 2]
  ------------------
 7451|      0|        return -1;
 7452|      0|    }
 7453|       |
 7454|       |    /* Init Unix epoch */
 7455|      2|    st->epoch = new_datetime(
  ------------------
  |  | 1238|      2|    new_datetime_ex2(y, m, d, hh, mm, ss, us, tzinfo, fold, DATETIME_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   76|      2|#define DATETIME_TYPE(st) &PyDateTime_DateTimeType
  |  |  ------------------
  ------------------
 7456|      2|            1970, 1, 1, 0, 0, 0, 0, (PyObject *)&utc_timezone, 0);
 7457|      2|    if (st->epoch == NULL) {
  ------------------
  |  Branch (7457:9): [True: 0, False: 2]
  ------------------
 7458|      0|        return -1;
 7459|      0|    }
 7460|       |
 7461|      2|    return 0;
 7462|      2|}
_datetimemodule.c:get_datetime_capi:
 7366|      2|{
 7367|      2|    return &capi;
 7368|      2|}
_datetimemodule.c:set_current_module:
  189|      2|{
  190|      2|    assert(mod != NULL);
  191|      2|    PyObject *dict = PyInterpreterState_GetDict(interp);
  192|      2|    if (dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 2]
  ------------------
  193|      0|        return -1;
  194|      0|    }
  195|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  196|      2|    if (ref == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 2]
  ------------------
  197|      0|        return -1;
  198|      0|    }
  199|      2|    int rc = PyDict_SetItem(dict, INTERP_KEY, ref);
  ------------------
  |  |  127|      2|#define INTERP_KEY ((PyObject *)&_Py_ID(cached_datetime_module))
  |  |  ------------------
  |  |  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      2|    Py_DECREF(ref);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      2|    return rc;
  202|      2|}
_datetimemodule.c:module_traverse:
 7669|     16|{
 7670|     16|    datetime_state *st = get_module_state(mod);
 7671|     16|    traverse_state(st, visit, arg);
 7672|     16|    return 0;
 7673|     16|}
_datetimemodule.c:traverse_state:
 7466|     16|{
 7467|       |    /* heap types */
 7468|     16|    Py_VISIT(st->isocalendar_date_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 7469|       |
 7470|     16|    return 0;
 7471|     16|}

PyInit__functools:
 2042|      2|{
 2043|      2|    return PyModuleDef_Init(&_functools_module);
 2044|      2|}
_functoolsmodule.c:get_functools_state:
   39|  12.3k|{
   40|  12.3k|    void *state = _PyModule_GetState(module);
   41|       |    assert(state != NULL);
   42|  12.3k|    return (_functools_state *)state;
   43|  12.3k|}
_functoolsmodule.c:_functools_exec:
 1923|      2|{
 1924|      2|    _functools_state *state = get_functools_state(module);
 1925|      2|    state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
 1926|      2|    if (state->kwd_mark == NULL) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 2]
  ------------------
 1927|      0|        return -1;
 1928|      0|    }
 1929|       |
 1930|      2|    state->placeholder_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1931|      2|        &placeholder_type_spec, NULL);
 1932|      2|    if (state->placeholder_type == NULL) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 2]
  ------------------
 1933|      0|        return -1;
 1934|      0|    }
 1935|      2|    if (PyModule_AddType(module, state->placeholder_type) < 0) {
  ------------------
  |  Branch (1935:9): [True: 0, False: 2]
  ------------------
 1936|      0|        return -1;
 1937|      0|    }
 1938|       |
 1939|      2|    PyObject *placeholder = PyObject_CallNoArgs((PyObject *)state->placeholder_type);
 1940|      2|    if (placeholder == NULL) {
  ------------------
  |  Branch (1940:9): [True: 0, False: 2]
  ------------------
 1941|      0|        return -1;
 1942|      0|    }
 1943|      2|    if (PyModule_AddObjectRef(module, "Placeholder", placeholder) < 0) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 2]
  ------------------
 1944|      0|        Py_DECREF(placeholder);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1945|      0|        return -1;
 1946|      0|    }
 1947|      2|    Py_DECREF(placeholder);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|       |
 1949|      2|    state->partial_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1950|      2|        &partial_type_spec, NULL);
 1951|      2|    if (state->partial_type == NULL) {
  ------------------
  |  Branch (1951:9): [True: 0, False: 2]
  ------------------
 1952|      0|        return -1;
 1953|      0|    }
 1954|      2|    if (PyModule_AddType(module, state->partial_type) < 0) {
  ------------------
  |  Branch (1954:9): [True: 0, False: 2]
  ------------------
 1955|      0|        return -1;
 1956|      0|    }
 1957|       |
 1958|      2|    PyObject *lru_cache_type = PyType_FromModuleAndSpec(module,
 1959|      2|        &lru_cache_type_spec, NULL);
 1960|      2|    if (lru_cache_type == NULL) {
  ------------------
  |  Branch (1960:9): [True: 0, False: 2]
  ------------------
 1961|      0|        return -1;
 1962|      0|    }
 1963|      2|    if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) {
  ------------------
  |  Branch (1963:9): [True: 0, False: 2]
  ------------------
 1964|      0|        Py_DECREF(lru_cache_type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1965|      0|        return -1;
 1966|      0|    }
 1967|      2|    Py_DECREF(lru_cache_type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|       |
 1969|      2|    state->keyobject_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1970|      2|        &keyobject_type_spec, NULL);
 1971|      2|    if (state->keyobject_type == NULL) {
  ------------------
  |  Branch (1971:9): [True: 0, False: 2]
  ------------------
 1972|      0|        return -1;
 1973|      0|    }
 1974|       |    // keyobject_type is used only internally.
 1975|       |    // So we don't expose it in module namespace.
 1976|       |
 1977|      2|    state->lru_list_elem_type = (PyTypeObject *)PyType_FromModuleAndSpec(
 1978|      2|        module, &lru_list_elem_type_spec, NULL);
 1979|      2|    if (state->lru_list_elem_type == NULL) {
  ------------------
  |  Branch (1979:9): [True: 0, False: 2]
  ------------------
 1980|      0|        return -1;
 1981|      0|    }
 1982|       |    // lru_list_elem is used only in _lru_cache_wrapper.
 1983|       |    // So we don't expose it in module namespace.
 1984|       |
 1985|      2|    return 0;
 1986|      2|}
_functoolsmodule.c:placeholder_new:
   90|      2|{
   91|      2|    if (PyTuple_GET_SIZE(args) || (kwargs && PyDict_GET_SIZE(kwargs))) {
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 2]
  |  |  ------------------
  ------------------
                  if (PyTuple_GET_SIZE(args) || (kwargs && PyDict_GET_SIZE(kwargs))) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (91:36): [True: 0, False: 2]
  ------------------
   92|      0|        PyErr_SetString(PyExc_TypeError, "PlaceholderType takes no arguments");
   93|      0|        return NULL;
   94|      0|    }
   95|      2|    _functools_state *state = get_functools_state_by_type(type);
   96|      2|    if (state->placeholder != NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 2]
  ------------------
   97|      0|        return Py_NewRef(state->placeholder);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|    }
   99|       |
  100|      2|    PyObject *placeholder = PyType_GenericNew(type, NULL, NULL);
  101|      2|    if (placeholder == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 2]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|      2|    if (state->placeholder == NULL) {
  ------------------
  |  Branch (105:9): [True: 2, False: 0]
  ------------------
  106|      2|        state->placeholder = Py_NewRef(placeholder);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      2|    }
  108|      2|    return placeholder;
  109|      2|}
_functoolsmodule.c:get_functools_state_by_type:
  151|  12.3k|{
  152|  12.3k|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
  153|  12.3k|    if (module == NULL) {
  ------------------
  |  Branch (153:9): [True: 0, False: 12.3k]
  ------------------
  154|      0|        return NULL;
  155|      0|    }
  156|  12.3k|    return get_functools_state(module);
  157|  12.3k|}
_functoolsmodule.c:partial_dealloc:
  349|  12.2k|{
  350|  12.2k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  12.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  351|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  352|  12.2k|    PyObject_GC_UnTrack(self);
  353|  12.2k|    FT_CLEAR_WEAKREFS(self, partialobject_CAST(self)->weakreflist);
  ------------------
  |  |   47|  12.2k|    do {                                            \
  |  |   48|  12.2k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  12.2k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  12.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
  354|  12.2k|    (void)partial_clear(self);
  355|  12.2k|    tp->tp_free(self);
  356|  12.2k|    Py_DECREF(tp);
  ------------------
  |  |  430|  12.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|  12.2k|}
_functoolsmodule.c:partial_call:
  587|     20|{
  588|     20|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|     20|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  589|     20|    assert(PyCallable_Check(pto->fn));
  590|     20|    assert(PyTuple_Check(pto->args));
  591|     20|    assert(PyDict_Check(pto->kw));
  592|       |
  593|     20|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     20|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|     20|    Py_ssize_t pto_phcount = pto->phcount;
  595|     20|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (595:9): [True: 0, False: 20]
  ------------------
  596|      0|        PyErr_Format(PyExc_TypeError,
  597|      0|                     "missing positional arguments in 'partial' call; "
  598|      0|                     "expected at least %zd, got %zd", pto_phcount, nargs);
  599|      0|        return NULL;
  600|      0|    }
  601|       |
  602|       |    /* Merge keywords */
  603|     20|    PyObject *tot_kw;
  604|     20|    if (PyDict_GET_SIZE(pto->kw) == 0) {
  ------------------
  |  |   63|     20|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 20, False: 0]
  ------------------
  605|       |        /* kwargs can be NULL */
  606|     20|        tot_kw = Py_XNewRef(kwargs);
  ------------------
  |  |  551|     20|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|     20|    }
  608|      0|    else {
  609|       |        /* bpo-27840, bpo-29318: dictionary of keyword parameters must be
  610|       |           copied, because a function using "**kwargs" can modify the
  611|       |           dictionary. */
  612|      0|        tot_kw = PyDict_Copy(pto->kw);
  613|      0|        if (tot_kw == NULL) {
  ------------------
  |  Branch (613:13): [True: 0, False: 0]
  ------------------
  614|      0|            return NULL;
  615|      0|        }
  616|       |
  617|      0|        if (kwargs != NULL) {
  ------------------
  |  Branch (617:13): [True: 0, False: 0]
  ------------------
  618|      0|            if (PyDict_Merge(tot_kw, kwargs, 1) != 0) {
  ------------------
  |  Branch (618:17): [True: 0, False: 0]
  ------------------
  619|      0|                Py_DECREF(tot_kw);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      0|                return NULL;
  621|      0|            }
  622|      0|        }
  623|      0|    }
  624|       |
  625|       |    /* Merge positional arguments */
  626|     20|    PyObject *tot_args;
  627|     20|    if (pto_phcount) {
  ------------------
  |  Branch (627:9): [True: 0, False: 20]
  ------------------
  628|      0|        Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|      0|        Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  630|      0|        assert(tot_nargs >= 0);
  631|      0|        tot_args = PyTuple_New(tot_nargs);
  632|      0|        if (tot_args == NULL) {
  ------------------
  |  Branch (632:13): [True: 0, False: 0]
  ------------------
  633|      0|            Py_XDECREF(tot_kw);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      0|            return NULL;
  635|      0|        }
  636|      0|        PyObject *pto_args = pto->args;
  637|      0|        PyObject *item;
  638|      0|        Py_ssize_t j = 0;   // New args index
  639|      0|        for (Py_ssize_t i = 0; i < pto_nargs; i++) {
  ------------------
  |  Branch (639:32): [True: 0, False: 0]
  ------------------
  640|      0|            item = PyTuple_GET_ITEM(pto_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  641|      0|            if (item == pto->placeholder) {
  ------------------
  |  Branch (641:17): [True: 0, False: 0]
  ------------------
  642|      0|                item = PyTuple_GET_ITEM(args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  643|      0|                j += 1;
  644|      0|            }
  645|      0|            Py_INCREF(item);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|      0|            PyTuple_SET_ITEM(tot_args, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|      0|        }
  648|      0|        assert(j == pto_phcount);
  649|      0|        for (Py_ssize_t i = pto_nargs; i < tot_nargs; i++) {
  ------------------
  |  Branch (649:40): [True: 0, False: 0]
  ------------------
  650|      0|            item = PyTuple_GET_ITEM(args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      0|            Py_INCREF(item);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  652|      0|            PyTuple_SET_ITEM(tot_args, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|      0|            j += 1;
  654|      0|        }
  655|      0|    }
  656|     20|    else {
  657|       |        /* Note: tupleconcat() is optimized for empty tuples */
  658|     20|        tot_args = PySequence_Concat(pto->args, args);
  659|     20|        if (tot_args == NULL) {
  ------------------
  |  Branch (659:13): [True: 0, False: 20]
  ------------------
  660|      0|            Py_XDECREF(tot_kw);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|      0|            return NULL;
  662|      0|        }
  663|     20|    }
  664|       |
  665|     20|    PyObject *res = PyObject_Call(pto->fn, tot_args, tot_kw);
  666|     20|    Py_DECREF(tot_args);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|     20|    Py_XDECREF(tot_kw);
  ------------------
  |  |  524|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|     20|    return res;
  669|     20|}
_functoolsmodule.c:partial_traverse:
  337|     68|{
  338|     68|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|     68|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  339|     68|    Py_VISIT(Py_TYPE(pto));
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  196|     68|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     68|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 68]
  |  |  ------------------
  |  |  198|     68|                return vret;                                            \
  |  |  199|     68|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  340|     68|    Py_VISIT(pto->fn);
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  196|     68|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     68|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 68]
  |  |  ------------------
  |  |  198|     68|                return vret;                                            \
  |  |  199|     68|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  341|     68|    Py_VISIT(pto->args);
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  196|     68|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     68|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 68]
  |  |  ------------------
  |  |  198|     68|                return vret;                                            \
  |  |  199|     68|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  342|     68|    Py_VISIT(pto->kw);
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  196|     68|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     68|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 68]
  |  |  ------------------
  |  |  198|     68|                return vret;                                            \
  |  |  199|     68|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  343|     68|    Py_VISIT(pto->dict);
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 68]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  344|     68|    return 0;
  345|     68|}
_functoolsmodule.c:partial_clear:
  326|  12.2k|{
  327|  12.2k|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|  12.2k|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  328|  12.2k|    Py_CLEAR(pto->fn);
  ------------------
  |  |  484|  12.2k|    do { \
  |  |  485|  12.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  12.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  12.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12.2k, False: 0]
  |  |  ------------------
  |  |  488|  12.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  12.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  12.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  12.2k|        } \
  |  |  491|  12.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
  329|  12.2k|    Py_CLEAR(pto->args);
  ------------------
  |  |  484|  12.2k|    do { \
  |  |  485|  12.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  12.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  12.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12.2k, False: 0]
  |  |  ------------------
  |  |  488|  12.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  12.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  12.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  12.2k|        } \
  |  |  491|  12.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
  330|  12.2k|    Py_CLEAR(pto->kw);
  ------------------
  |  |  484|  12.2k|    do { \
  |  |  485|  12.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  12.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  12.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12.2k, False: 0]
  |  |  ------------------
  |  |  488|  12.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  12.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  12.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  12.2k|        } \
  |  |  491|  12.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
  331|       |    Py_CLEAR(pto->dict);
  ------------------
  |  |  484|  12.2k|    do { \
  |  |  485|  12.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  12.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  12.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  12.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
  332|  12.2k|    return 0;
  333|  12.2k|}
_functoolsmodule.c:partial_setvectorcall:
  570|  12.2k|{
  571|  12.2k|    if (PyVectorcall_Function(pto->fn) == NULL) {
  ------------------
  |  Branch (571:9): [True: 4, False: 12.2k]
  ------------------
  572|       |        /* Don't use vectorcall if the underlying function doesn't support it */
  573|      4|        pto->vectorcall = NULL;
  574|      4|    }
  575|       |    /* We could have a special case if there are no arguments,
  576|       |     * but that is unlikely (why use partial without arguments?),
  577|       |     * so we don't optimize that */
  578|  12.2k|    else {
  579|  12.2k|        pto->vectorcall = partial_vectorcall;
  580|  12.2k|    }
  581|  12.2k|}
_functoolsmodule.c:partial_vectorcall:
  371|  4.11k|{
  372|  4.11k|    partialobject *pto = partialobject_CAST(self);;
  ------------------
  |  |  142|  4.11k|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  373|  4.11k|    PyThreadState *tstate = _PyThreadState_GET();
  374|  4.11k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  4.11k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  375|       |
  376|       |    /* Placeholder check */
  377|  4.11k|    Py_ssize_t pto_phcount = pto->phcount;
  378|  4.11k|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (378:9): [True: 0, False: 4.11k]
  ------------------
  379|      0|        PyErr_Format(PyExc_TypeError,
  380|      0|                     "missing positional arguments in 'partial' call; "
  381|      0|                     "expected at least %zd, got %zd", pto_phcount, nargs);
  382|      0|        return NULL;
  383|      0|    }
  384|       |
  385|  4.11k|    PyObject **pto_args = _PyTuple_ITEMS(pto->args);
  ------------------
  |  |   26|  4.11k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  4.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  386|  4.11k|    Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
  ------------------
  |  |   27|  4.11k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|  4.11k|    Py_ssize_t pto_nkwds = PyDict_GET_SIZE(pto->kw);
  ------------------
  |  |   63|  4.11k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|  4.11k|    Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (388:24): [True: 4.11k, False: 0]
  ------------------
  389|  4.11k|    Py_ssize_t nargskw = nargs + nkwds;
  390|       |
  391|       |    /* Special cases */
  392|  4.11k|    if (!pto_nkwds) {
  ------------------
  |  Branch (392:9): [True: 0, False: 4.11k]
  ------------------
  393|       |        /* Fast path if we're called without arguments */
  394|      0|        if (nargskw == 0) {
  ------------------
  |  Branch (394:13): [True: 0, False: 0]
  ------------------
  395|      0|            return _PyObject_VectorcallTstate(tstate, pto->fn, pto_args,
  396|      0|                                              pto_nargs, NULL);
  397|      0|        }
  398|       |
  399|       |        /* Use PY_VECTORCALL_ARGUMENTS_OFFSET to prepend a single
  400|       |         * positional argument. */
  401|      0|        if (pto_nargs == 1 && (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET)) {
  ------------------
  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (401:13): [True: 0, False: 0]
  |  Branch (401:31): [True: 0, False: 0]
  ------------------
  402|      0|            PyObject **newargs = (PyObject **)args - 1;
  403|      0|            PyObject *tmp = newargs[0];
  404|      0|            newargs[0] = pto_args[0];
  405|      0|            PyObject *ret = _PyObject_VectorcallTstate(tstate, pto->fn, newargs,
  406|      0|                                                       nargs + 1, kwnames);
  407|      0|            newargs[0] = tmp;
  408|      0|            return ret;
  409|      0|        }
  410|      0|    }
  411|       |
  412|       |    /* Total sizes */
  413|  4.11k|    Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  414|  4.11k|    Py_ssize_t tot_nkwds = pto_nkwds + nkwds;
  415|  4.11k|    Py_ssize_t tot_nargskw = tot_nargs + tot_nkwds;
  416|       |
  417|  4.11k|    PyObject *pto_kw_merged = NULL;  // pto_kw with duplicates merged (if any)
  418|  4.11k|    PyObject *tot_kwnames;
  419|       |
  420|       |    /* Allocate Stack
  421|       |     * Note, _PY_FASTCALL_SMALL_STACK is optimal for positional only
  422|       |     * This case might have keyword arguments
  423|       |     *  furthermore, it might use extra stack space for temporary key storage
  424|       |     *  thus, double small_stack size is used, which is 10 * 8 = 80 bytes */
  425|  4.11k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK * 2];
  426|  4.11k|    PyObject **tmp_stack, **stack;
  427|  4.11k|    Py_ssize_t init_stack_size = tot_nargskw;
  428|  4.11k|    if (pto_nkwds) {
  ------------------
  |  Branch (428:9): [True: 4.11k, False: 0]
  ------------------
  429|       |        // If pto_nkwds, allocate additional space for temporary new keys
  430|  4.11k|        init_stack_size += nkwds;
  431|  4.11k|    }
  432|  4.11k|    if (init_stack_size <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  4.11k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (432:9): [True: 4.11k, False: 0]
  ------------------
  433|  4.11k|        stack = small_stack;
  434|  4.11k|    }
  435|      0|    else {
  436|      0|        stack = PyMem_Malloc(init_stack_size * sizeof(PyObject *));
  437|      0|        if (stack == NULL) {
  ------------------
  |  Branch (437:13): [True: 0, False: 0]
  ------------------
  438|      0|            return PyErr_NoMemory();
  439|      0|        }
  440|      0|    }
  441|       |
  442|       |    /* Copy keywords to stack */
  443|  4.11k|    if (!pto_nkwds) {
  ------------------
  |  Branch (443:9): [True: 0, False: 4.11k]
  ------------------
  444|      0|        tot_kwnames = kwnames;
  445|      0|        if (nkwds) {
  ------------------
  |  Branch (445:13): [True: 0, False: 0]
  ------------------
  446|       |            /* if !pto_nkwds & nkwds, then simply append kw */
  447|      0|            memcpy(stack + tot_nargs, args + nargs, nkwds * sizeof(PyObject*));
  448|      0|        }
  449|      0|    }
  450|  4.11k|    else {
  451|       |        /* stack is now         [<positionals>, <pto_kwds>, <kwds>, <kwds_keys>]
  452|       |         * Will resize later to [<positionals>, <merged_kwds>] */
  453|  4.11k|        PyObject *key, *val;
  454|       |
  455|       |        /* Merge kw to pto_kw or add to tail (if not duplicate) */
  456|  4.11k|        Py_ssize_t n_tail = 0;
  457|  4.11k|        for (Py_ssize_t i = 0; i < nkwds; ++i) {
  ------------------
  |  Branch (457:32): [True: 0, False: 4.11k]
  ------------------
  458|      0|            key = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|      0|            val = args[nargs + i];
  460|      0|            int contains = PyDict_Contains(pto->kw, key);
  461|      0|            if (contains < 0) {
  ------------------
  |  Branch (461:17): [True: 0, False: 0]
  ------------------
  462|      0|                goto error;
  463|      0|            }
  464|      0|            else if (contains == 1) {
  ------------------
  |  Branch (464:22): [True: 0, False: 0]
  ------------------
  465|      0|                if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (465:21): [True: 0, False: 0]
  ------------------
  466|      0|                    pto_kw_merged = PyDict_Copy(pto->kw);
  467|      0|                    if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (467:25): [True: 0, False: 0]
  ------------------
  468|      0|                        goto error;
  469|      0|                    }
  470|      0|                }
  471|      0|                if (PyDict_SetItem(pto_kw_merged, key, val) < 0) {
  ------------------
  |  Branch (471:21): [True: 0, False: 0]
  ------------------
  472|      0|                    Py_DECREF(pto_kw_merged);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|      0|                    goto error;
  474|      0|                }
  475|      0|            }
  476|      0|            else {
  477|       |                /* Copy keyword tail to stack */
  478|      0|                stack[tot_nargs + pto_nkwds + n_tail] = val;
  479|      0|                stack[tot_nargskw + n_tail] = key;
  480|      0|                n_tail++;
  481|      0|            }
  482|      0|        }
  483|  4.11k|        Py_ssize_t n_merges = nkwds - n_tail;
  484|       |
  485|       |        /* Create total kwnames */
  486|  4.11k|        tot_kwnames = PyTuple_New(tot_nkwds - n_merges);
  487|  4.11k|        if (tot_kwnames == NULL) {
  ------------------
  |  Branch (487:13): [True: 0, False: 4.11k]
  ------------------
  488|      0|            Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|      0|            goto error;
  490|      0|        }
  491|  4.11k|        for (Py_ssize_t i = 0; i < n_tail; ++i) {
  ------------------
  |  Branch (491:32): [True: 0, False: 4.11k]
  ------------------
  492|      0|            key = Py_NewRef(stack[tot_nargskw + i]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|      0|            PyTuple_SET_ITEM(tot_kwnames, pto_nkwds + i, key);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|      0|        }
  495|       |
  496|       |        /* Copy pto_keywords with overlapping call keywords merged
  497|       |         * Note, tail is already coppied. */
  498|  4.11k|        Py_ssize_t pos = 0, i = 0;
  499|  4.11k|        PyObject *keyword_dict = n_merges ? pto_kw_merged : pto->kw;
  ------------------
  |  Branch (499:34): [True: 0, False: 4.11k]
  ------------------
  500|  4.11k|        Py_BEGIN_CRITICAL_SECTION(keyword_dict);
  ------------------
  |  |   51|  4.11k|    {
  ------------------
  501|  16.4k|        while (PyDict_Next(keyword_dict, &pos, &key, &val)) {
  ------------------
  |  Branch (501:16): [True: 12.3k, False: 4.11k]
  ------------------
  502|  12.3k|            assert(i < pto_nkwds);
  503|  12.3k|            PyTuple_SET_ITEM(tot_kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|  12.3k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|  12.3k|            stack[tot_nargs + i] = val;
  505|  12.3k|            i++;
  506|  12.3k|        }
  507|  4.11k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.11k|    }
  ------------------
  508|  4.11k|        assert(i == pto_nkwds);
  509|  4.11k|        Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  524|  4.11k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|       |
  511|       |        /* Resize Stack if the removing overallocation saves some noticable memory
  512|       |         * NOTE: This whole block can be removed without breaking anything */
  513|  4.11k|        Py_ssize_t noveralloc = n_merges + nkwds;
  514|  4.11k|        if (stack != small_stack && noveralloc > 6 && noveralloc > init_stack_size / 10) {
  ------------------
  |  Branch (514:13): [True: 0, False: 4.11k]
  |  Branch (514:37): [True: 0, False: 0]
  |  Branch (514:55): [True: 0, False: 0]
  ------------------
  515|      0|            tmp_stack = PyMem_Realloc(stack, (tot_nargskw - n_merges) * sizeof(PyObject *));
  516|      0|            if (tmp_stack == NULL) {
  ------------------
  |  Branch (516:17): [True: 0, False: 0]
  ------------------
  517|      0|                Py_DECREF(tot_kwnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|      0|                if (stack != small_stack) {
  ------------------
  |  Branch (518:21): [True: 0, False: 0]
  ------------------
  519|      0|                    PyMem_Free(stack);
  520|      0|                }
  521|      0|                return PyErr_NoMemory();
  522|      0|            }
  523|      0|            stack = tmp_stack;
  524|      0|        }
  525|  4.11k|    }
  526|       |
  527|       |    /* Copy Positionals to stack */
  528|  4.11k|    if (pto_phcount) {
  ------------------
  |  Branch (528:9): [True: 0, False: 4.11k]
  ------------------
  529|      0|        Py_ssize_t j = 0;       // New args index
  530|      0|        for (Py_ssize_t i = 0; i < pto_nargs; i++) {
  ------------------
  |  Branch (530:32): [True: 0, False: 0]
  ------------------
  531|      0|            if (pto_args[i] == pto->placeholder) {
  ------------------
  |  Branch (531:17): [True: 0, False: 0]
  ------------------
  532|      0|                stack[i] = args[j];
  533|      0|                j += 1;
  534|      0|            }
  535|      0|            else {
  536|      0|                stack[i] = pto_args[i];
  537|      0|            }
  538|      0|        }
  539|      0|        assert(j == pto_phcount);
  540|       |        /* Add remaining args from new_args */
  541|      0|        if (nargs > pto_phcount) {
  ------------------
  |  Branch (541:13): [True: 0, False: 0]
  ------------------
  542|      0|            memcpy(stack + pto_nargs, args + j, (nargs - j) * sizeof(PyObject*));
  543|      0|        }
  544|      0|    }
  545|  4.11k|    else {
  546|  4.11k|        memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
  547|  4.11k|        memcpy(stack + pto_nargs, args, nargs * sizeof(PyObject*));
  548|  4.11k|    }
  549|       |
  550|  4.11k|    PyObject *ret = _PyObject_VectorcallTstate(tstate, pto->fn, stack,
  551|  4.11k|                                               tot_nargs, tot_kwnames);
  552|  4.11k|    if (stack != small_stack) {
  ------------------
  |  Branch (552:9): [True: 0, False: 4.11k]
  ------------------
  553|      0|        PyMem_Free(stack);
  554|      0|    }
  555|  4.11k|    if (pto_nkwds) {
  ------------------
  |  Branch (555:9): [True: 4.11k, False: 0]
  ------------------
  556|  4.11k|        Py_DECREF(tot_kwnames);
  ------------------
  |  |  430|  4.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  4.11k|    }
  558|  4.11k|    return ret;
  559|       |
  560|      0| error:
  561|      0|    if (stack != small_stack) {
  ------------------
  |  Branch (561:9): [True: 0, False: 0]
  ------------------
  562|      0|        PyMem_Free(stack);
  563|      0|    }
  564|       |    return NULL;
  565|  4.11k|}
_functoolsmodule.c:partial_new:
  162|  12.2k|{
  163|  12.2k|    PyObject *func, *pto_args, *new_args, *pto_kw, *phold;
  164|  12.2k|    partialobject *pto;
  165|  12.2k|    Py_ssize_t pto_phcount = 0;
  166|  12.2k|    Py_ssize_t new_nargs = PyTuple_GET_SIZE(args) - 1;
  ------------------
  |  |   27|  12.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|       |
  168|  12.2k|    if (new_nargs < 0) {
  ------------------
  |  Branch (168:9): [True: 0, False: 12.2k]
  ------------------
  169|      0|        PyErr_SetString(PyExc_TypeError,
  170|      0|                        "type 'partial' takes at least one argument");
  171|      0|        return NULL;
  172|      0|    }
  173|  12.2k|    func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  12.2k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  12.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  12.2k|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (174:9): [True: 0, False: 12.2k]
  ------------------
  175|      0|        PyErr_SetString(PyExc_TypeError,
  176|      0|                        "the first argument must be callable");
  177|      0|        return NULL;
  178|      0|    }
  179|       |
  180|  12.2k|    _functools_state *state = get_functools_state_by_type(type);
  181|  12.2k|    if (state == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 12.2k]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|  12.2k|    phold = state->placeholder;
  185|       |
  186|       |    /* Placeholder restrictions */
  187|  12.2k|    if (new_nargs && PyTuple_GET_ITEM(args, new_nargs) == phold) {
  ------------------
  |  |   29|      8|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 8, False: 12.2k]
  |  Branch (187:22): [True: 0, False: 8]
  ------------------
  188|      0|        PyErr_SetString(PyExc_TypeError,
  189|      0|                        "trailing Placeholders are not allowed");
  190|      0|        return NULL;
  191|      0|    }
  192|       |
  193|       |    /* keyword Placeholder prohibition */
  194|  12.2k|    if (kw != NULL) {
  ------------------
  |  Branch (194:9): [True: 12.2k, False: 8]
  ------------------
  195|  12.2k|        PyObject *key, *val;
  196|  12.2k|        Py_ssize_t pos = 0;
  197|  81.1k|        while (PyDict_Next(kw, &pos, &key, &val)) {
  ------------------
  |  Branch (197:16): [True: 68.9k, False: 12.2k]
  ------------------
  198|  68.9k|            if (val == phold) {
  ------------------
  |  Branch (198:17): [True: 0, False: 68.9k]
  ------------------
  199|      0|                PyErr_SetString(PyExc_TypeError,
  200|      0|                                "Placeholder cannot be passed as a keyword argument");
  201|      0|                return NULL;
  202|      0|            }
  203|  68.9k|        }
  204|  12.2k|    }
  205|       |
  206|       |    /* check wrapped function / object */
  207|  12.2k|    pto_args = pto_kw = NULL;
  208|  12.2k|    int res = PyObject_TypeCheck(func, state->partial_type);
  ------------------
  |  |  378|  12.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  12.2k|    if (res == -1) {
  ------------------
  |  Branch (209:9): [True: 0, False: 12.2k]
  ------------------
  210|      0|        return NULL;
  211|      0|    }
  212|  12.2k|    if (res == 1) {
  ------------------
  |  Branch (212:9): [True: 0, False: 12.2k]
  ------------------
  213|       |        // We can use its underlying function directly and merge the arguments.
  214|      0|        partialobject *part = (partialobject *)func;
  215|      0|        if (part->dict == NULL) {
  ------------------
  |  Branch (215:13): [True: 0, False: 0]
  ------------------
  216|      0|            pto_args = part->args;
  217|      0|            pto_kw = part->kw;
  218|      0|            func = part->fn;
  219|      0|            pto_phcount = part->phcount;
  220|      0|            assert(PyTuple_Check(pto_args));
  221|      0|            assert(PyDict_Check(pto_kw));
  222|      0|        }
  223|      0|    }
  224|       |
  225|       |    /* create partialobject structure */
  226|  12.2k|    pto = (partialobject *)type->tp_alloc(type, 0);
  227|  12.2k|    if (pto == NULL)
  ------------------
  |  Branch (227:9): [True: 0, False: 12.2k]
  ------------------
  228|      0|        return NULL;
  229|       |
  230|  12.2k|    pto->fn = Py_NewRef(func);
  ------------------
  |  |  550|  12.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  12.2k|    pto->placeholder = phold;
  232|       |
  233|  12.2k|    new_args = PyTuple_GetSlice(args, 1, new_nargs + 1);
  234|  12.2k|    if (new_args == NULL) {
  ------------------
  |  Branch (234:9): [True: 0, False: 12.2k]
  ------------------
  235|      0|        Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  236|      0|        return NULL;
  237|      0|    }
  238|       |
  239|       |    /* Count placeholders */
  240|  12.2k|    Py_ssize_t phcount = 0;
  241|  12.2k|    for (Py_ssize_t i = 0; i < new_nargs - 1; i++) {
  ------------------
  |  Branch (241:28): [True: 0, False: 12.2k]
  ------------------
  242|      0|        if (PyTuple_GET_ITEM(new_args, i) == phold) {
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|            phcount++;
  244|      0|        }
  245|      0|    }
  246|       |    /* merge args with args of `func` which is `partial` */
  247|  12.2k|    if (pto_phcount > 0 && new_nargs > 0) {
  ------------------
  |  Branch (247:9): [True: 0, False: 12.2k]
  |  Branch (247:28): [True: 0, False: 0]
  ------------------
  248|      0|        Py_ssize_t npargs = PyTuple_GET_SIZE(pto_args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|      0|        Py_ssize_t tot_nargs = npargs;
  250|      0|        if (new_nargs > pto_phcount) {
  ------------------
  |  Branch (250:13): [True: 0, False: 0]
  ------------------
  251|      0|            tot_nargs += new_nargs - pto_phcount;
  252|      0|        }
  253|      0|        PyObject *item;
  254|      0|        PyObject *tot_args = PyTuple_New(tot_nargs);
  255|      0|        if (tot_args == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|      0|            Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|            Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|      0|            return NULL;
  259|      0|        }
  260|      0|        for (Py_ssize_t i = 0, j = 0; i < tot_nargs; i++) {
  ------------------
  |  Branch (260:39): [True: 0, False: 0]
  ------------------
  261|      0|            if (i < npargs) {
  ------------------
  |  Branch (261:17): [True: 0, False: 0]
  ------------------
  262|      0|                item = PyTuple_GET_ITEM(pto_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      0|                if (j < new_nargs && item == phold) {
  ------------------
  |  Branch (263:21): [True: 0, False: 0]
  |  Branch (263:38): [True: 0, False: 0]
  ------------------
  264|      0|                    item = PyTuple_GET_ITEM(new_args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|      0|                    j++;
  266|      0|                    pto_phcount--;
  267|      0|                }
  268|      0|            }
  269|      0|            else {
  270|      0|                item = PyTuple_GET_ITEM(new_args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|      0|                j++;
  272|      0|            }
  273|      0|            Py_INCREF(item);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|      0|            PyTuple_SET_ITEM(tot_args, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|      0|        }
  276|      0|        pto->args = tot_args;
  277|      0|        pto->phcount = pto_phcount + phcount;
  278|      0|        Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|      0|    }
  280|  12.2k|    else if (pto_args == NULL) {
  ------------------
  |  Branch (280:14): [True: 12.2k, False: 0]
  ------------------
  281|  12.2k|        pto->args = new_args;
  282|  12.2k|        pto->phcount = phcount;
  283|  12.2k|    }
  284|      0|    else {
  285|      0|        pto->args = PySequence_Concat(pto_args, new_args);
  286|      0|        pto->phcount = pto_phcount + phcount;
  287|      0|        Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      0|        if (pto->args == NULL) {
  ------------------
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|            Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|      0|            return NULL;
  291|      0|        }
  292|      0|        assert(PyTuple_Check(pto->args));
  293|      0|    }
  294|       |
  295|  12.2k|    if (pto_kw == NULL || PyDict_GET_SIZE(pto_kw) == 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (295:9): [True: 12.2k, False: 0]
  |  Branch (295:27): [True: 0, False: 0]
  ------------------
  296|  12.2k|        if (kw == NULL) {
  ------------------
  |  Branch (296:13): [True: 8, False: 12.2k]
  ------------------
  297|      8|            pto->kw = PyDict_New();
  298|      8|        }
  299|  12.2k|        else if (_PyObject_IsUniquelyReferenced(kw)) {
  ------------------
  |  Branch (299:18): [True: 12.2k, False: 0]
  ------------------
  300|  12.2k|            pto->kw = Py_NewRef(kw);
  ------------------
  |  |  550|  12.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|  12.2k|        }
  302|      0|        else {
  303|      0|            pto->kw = PyDict_Copy(kw);
  304|      0|        }
  305|  12.2k|    }
  306|      0|    else {
  307|      0|        pto->kw = PyDict_Copy(pto_kw);
  308|      0|        if (kw != NULL && pto->kw != NULL) {
  ------------------
  |  Branch (308:13): [True: 0, False: 0]
  |  Branch (308:27): [True: 0, False: 0]
  ------------------
  309|      0|            if (PyDict_Merge(pto->kw, kw, 1) != 0) {
  ------------------
  |  Branch (309:17): [True: 0, False: 0]
  ------------------
  310|      0|                Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  311|      0|                return NULL;
  312|      0|            }
  313|      0|        }
  314|      0|    }
  315|  12.2k|    if (pto->kw == NULL) {
  ------------------
  |  Branch (315:9): [True: 0, False: 12.2k]
  ------------------
  316|      0|        Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      0|        return NULL;
  318|      0|    }
  319|       |
  320|  12.2k|    partial_setvectorcall(pto);
  321|  12.2k|    return (PyObject *)pto;
  322|  12.2k|}
_functoolsmodule.c:lru_cache_call:
 1740|  45.0k|{
 1741|  45.0k|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1228|  45.0k|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1742|  45.0k|    PyObject *result;
 1743|  45.0k|    result = self->wrapper(self, args, kwds);
 1744|  45.0k|    return result;
 1745|  45.0k|}
_functoolsmodule.c:lru_cache_tp_traverse:
 1828|    684|{
 1829|    684|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1228|    684|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1830|    684|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1831|    684|    lru_list_elem *link = self->root.next;
 1832|  1.58k|    while (link != &self->root) {
  ------------------
  |  Branch (1832:12): [True: 900, False: 684]
  ------------------
 1833|    900|        lru_list_elem *next = link->next;
 1834|    900|        Py_VISIT(link->key);
  ------------------
  |  |  194|    900|    do {                                                                \
  |  |  195|    900|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 900, False: 0]
  |  |  ------------------
  |  |  196|    900|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    900|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    900|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    900|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 900]
  |  |  ------------------
  |  |  198|    900|                return vret;                                            \
  |  |  199|    900|        }                                                               \
  |  |  200|    900|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 900]
  |  |  ------------------
  ------------------
 1835|    900|        Py_VISIT(link->result);
  ------------------
  |  |  194|    900|    do {                                                                \
  |  |  195|    900|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 900, False: 0]
  |  |  ------------------
  |  |  196|    900|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    900|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    900|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    900|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 900]
  |  |  ------------------
  |  |  198|    900|                return vret;                                            \
  |  |  199|    900|        }                                                               \
  |  |  200|    900|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 900]
  |  |  ------------------
  ------------------
 1836|    900|        Py_VISIT(Py_TYPE(link));
  ------------------
  |  |  194|    900|    do {                                                                \
  |  |  195|    900|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 900, False: 0]
  |  |  ------------------
  |  |  196|    900|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    900|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    900|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    900|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 900]
  |  |  ------------------
  |  |  198|    900|                return vret;                                            \
  |  |  199|    900|        }                                                               \
  |  |  200|    900|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 900]
  |  |  ------------------
  ------------------
 1837|    900|        link = next;
 1838|    900|    }
 1839|    684|    Py_VISIT(self->cache);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1840|    684|    Py_VISIT(self->func);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1841|    684|    Py_VISIT(self->kwd_mark);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1842|    684|    Py_VISIT(self->lru_list_elem_type);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1843|    684|    Py_VISIT(self->cache_info_type);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1844|    684|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    684|    do {                                                                \
  |  |  195|    684|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 684, False: 0]
  |  |  ------------------
  |  |  196|    684|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    684|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 684]
  |  |  ------------------
  |  |  198|    684|                return vret;                                            \
  |  |  199|    684|        }                                                               \
  |  |  200|    684|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 684]
  |  |  ------------------
  ------------------
 1845|    684|    return 0;
 1846|    684|}
_functoolsmodule.c:bounded_lru_cache_wrapper:
 1584|  45.0k|{
 1585|  45.0k|    PyObject *key, *result;
 1586|  45.0k|    Py_hash_t hash;
 1587|  45.0k|    int res;
 1588|       |
 1589|  45.0k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  45.0k|    {
  ------------------
 1590|  45.0k|    res = bounded_lru_cache_get_lock_held(self, args, kwds, &result, &key, &hash);
 1591|  45.0k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  45.0k|    }
  ------------------
 1592|       |
 1593|  45.0k|    if (res < 0) {
  ------------------
  |  Branch (1593:9): [True: 0, False: 45.0k]
  ------------------
 1594|      0|        return NULL;
 1595|      0|    }
 1596|  45.0k|    if (res > 0) {
  ------------------
  |  Branch (1596:9): [True: 44.3k, False: 694]
  ------------------
 1597|  44.3k|        return result;
 1598|  44.3k|    }
 1599|       |
 1600|    694|    result = PyObject_Call(self->func, args, kwds);
 1601|       |
 1602|    694|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    694|    {
  ------------------
 1603|       |    /* Note:  key will be stolen in the below function, and
 1604|       |       result may be stolen or sometimes re-returned as a passthrough.
 1605|       |       Treat both as being stolen.
 1606|       |     */
 1607|    694|    result = bounded_lru_cache_update_lock_held(self, result, key, hash);
 1608|    694|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    694|    }
  ------------------
 1609|       |
 1610|    694|    return result;
 1611|  45.0k|}
_functoolsmodule.c:bounded_lru_cache_get_lock_held:
 1404|  45.0k|{
 1405|  45.0k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1406|  45.0k|    lru_list_elem *link;
 1407|       |
 1408|  45.0k|    PyObject *key_ = *key = lru_cache_make_key(self->kwd_mark, args, kwds, self->typed);
 1409|  45.0k|    if (!key_)
  ------------------
  |  Branch (1409:9): [True: 0, False: 45.0k]
  ------------------
 1410|      0|        return -1;
 1411|  45.0k|    Py_hash_t hash_ = *hash = PyObject_Hash(key_);
 1412|  45.0k|    if (hash_ == -1) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 45.0k]
  ------------------
 1413|      0|        Py_DECREF(key_);  /* dead reference left in *key, is not used */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|  45.0k|    int res = _PyDict_GetItemRef_KnownHash_LockHeld((PyDictObject *)self->cache, key_, hash_,
 1417|  45.0k|                                                    (PyObject **)&link);
 1418|  45.0k|    if (res > 0) {
  ------------------
  |  Branch (1418:9): [True: 44.3k, False: 694]
  ------------------
 1419|  44.3k|        lru_cache_extract_link(link);
 1420|  44.3k|        lru_cache_append_link(self, link);
 1421|  44.3k|        *result = link->result;
 1422|  44.3k|        FT_ATOMIC_ADD_SSIZE(self->hits, 1);
  ------------------
  |  |  203|  44.3k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1423|  44.3k|        Py_INCREF(link->result);
  ------------------
  |  |  310|  44.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|  44.3k|        Py_DECREF(link);
  ------------------
  |  |  430|  44.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|  44.3k|        Py_DECREF(key_);
  ------------------
  |  |  430|  44.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|  44.3k|        return 1;
 1427|  44.3k|    }
 1428|    694|    if (res < 0) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 694]
  ------------------
 1429|      0|        Py_DECREF(key_);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        return -1;
 1431|      0|    }
 1432|    694|    FT_ATOMIC_ADD_SSIZE(self->misses, 1);
  ------------------
  |  |  203|    694|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1433|    694|    return 0;
 1434|    694|}
_functoolsmodule.c:lru_cache_make_key:
 1233|  45.0k|{
 1234|  45.0k|    PyObject *key, *keyword, *value;
 1235|  45.0k|    Py_ssize_t key_size, pos, key_pos, kwds_size;
 1236|       |
 1237|  45.0k|    kwds_size = kwds ? PyDict_GET_SIZE(kwds) : 0;
  ------------------
  |  |   63|    324|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    324|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    324|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1237:17): [True: 324, False: 44.6k]
  ------------------
 1238|       |
 1239|       |    /* short path, key will match args anyway, which is a tuple */
 1240|  45.0k|    if (!typed && !kwds_size) {
  ------------------
  |  Branch (1240:9): [True: 44.9k, False: 48]
  |  Branch (1240:19): [True: 44.9k, False: 0]
  ------------------
 1241|  44.9k|        if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|  44.9k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1241:13): [True: 310, False: 44.6k]
  ------------------
 1242|    310|            key = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    310|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    310|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|    310|            if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) {
  ------------------
  |  |  104|    310|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    620|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 300, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) {
  ------------------
  |  |   14|     10|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|       |                /* For common scalar keys, save space by
 1245|       |                   dropping the enclosing args tuple  */
 1246|    300|                return Py_NewRef(key);
  ------------------
  |  |  550|    300|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|    300|            }
 1248|    310|        }
 1249|  44.6k|        return Py_NewRef(args);
  ------------------
  |  |  550|  44.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1250|  44.9k|    }
 1251|       |
 1252|     48|    key_size = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     48|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1253|     48|    if (kwds_size)
  ------------------
  |  Branch (1253:9): [True: 0, False: 48]
  ------------------
 1254|      0|        key_size += kwds_size * 2 + 1;
 1255|     48|    if (typed)
  ------------------
  |  Branch (1255:9): [True: 48, False: 0]
  ------------------
 1256|     48|        key_size += PyTuple_GET_SIZE(args) + kwds_size;
  ------------------
  |  |   27|     48|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1257|       |
 1258|     48|    key = PyTuple_New(key_size);
 1259|     48|    if (key == NULL)
  ------------------
  |  Branch (1259:9): [True: 0, False: 48]
  ------------------
 1260|      0|        return NULL;
 1261|       |
 1262|     48|    key_pos = 0;
 1263|    296|    for (pos = 0; pos < PyTuple_GET_SIZE(args); ++pos) {
  ------------------
  |  |   27|    296|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1263:19): [True: 248, False: 48]
  ------------------
 1264|    248|        PyObject *item = PyTuple_GET_ITEM(args, pos);
  ------------------
  |  |   29|    248|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    248|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    248|        PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(item));
  ------------------
  |  |   40|    248|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1266|    248|    }
 1267|     48|    if (kwds_size) {
  ------------------
  |  Branch (1267:9): [True: 0, False: 48]
  ------------------
 1268|      0|        PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(kwd_mark));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|      0|        for (pos = 0; PyDict_Next(kwds, &pos, &keyword, &value);) {
  ------------------
  |  Branch (1269:23): [True: 0, False: 0]
  ------------------
 1270|      0|            PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(keyword));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|      0|            PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(value));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      0|        }
 1273|      0|        assert(key_pos == PyTuple_GET_SIZE(args) + kwds_size * 2 + 1);
 1274|      0|    }
 1275|     48|    if (typed) {
  ------------------
  |  Branch (1275:9): [True: 48, False: 0]
  ------------------
 1276|    296|        for (pos = 0; pos < PyTuple_GET_SIZE(args); ++pos) {
  ------------------
  |  |   27|    296|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1276:23): [True: 248, False: 48]
  ------------------
 1277|    248|            PyObject *item = (PyObject *)Py_TYPE(PyTuple_GET_ITEM(args, pos));
  ------------------
  |  |  213|    248|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|    248|            PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(item));
  ------------------
  |  |   40|    248|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1279|    248|        }
 1280|     48|        if (kwds_size) {
  ------------------
  |  Branch (1280:13): [True: 0, False: 48]
  ------------------
 1281|      0|            for (pos = 0; PyDict_Next(kwds, &pos, &keyword, &value);) {
  ------------------
  |  Branch (1281:27): [True: 0, False: 0]
  ------------------
 1282|      0|                PyObject *item = (PyObject *)Py_TYPE(value);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|      0|                PyTuple_SET_ITEM(key, key_pos++, Py_NewRef(item));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|      0|            }
 1285|      0|        }
 1286|     48|    }
 1287|       |    assert(key_pos == key_size);
 1288|     48|    return key;
 1289|     48|}
_functoolsmodule.c:lru_cache_extract_link:
 1343|  44.3k|{
 1344|  44.3k|    lru_list_elem *link_prev = link->prev;
 1345|  44.3k|    lru_list_elem *link_next = link->next;
 1346|  44.3k|    link_prev->next = link->next;
 1347|  44.3k|    link_next->prev = link->prev;
 1348|  44.3k|}
_functoolsmodule.c:lru_cache_append_link:
 1352|  45.0k|{
 1353|  45.0k|    lru_list_elem *root = &self->root;
 1354|  45.0k|    lru_list_elem *last = root->prev;
 1355|  45.0k|    last->next = root->prev = link;
 1356|  45.0k|    link->prev = last;
 1357|  45.0k|    link->next = root;
 1358|  45.0k|}
_functoolsmodule.c:bounded_lru_cache_update_lock_held:
 1439|    694|{
 1440|    694|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1441|    694|    lru_list_elem *link;
 1442|    694|    PyObject *testresult;
 1443|    694|    int res;
 1444|       |
 1445|    694|    if (!result) {
  ------------------
  |  Branch (1445:9): [True: 0, False: 694]
  ------------------
 1446|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1447|      0|        return NULL;
 1448|      0|    }
 1449|    694|    res = _PyDict_GetItemRef_KnownHash_LockHeld((PyDictObject *)self->cache, key, hash,
 1450|    694|                                                &testresult);
 1451|    694|    if (res > 0) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 694]
  ------------------
 1452|       |        /* Getting here means that this same key was added to the cache
 1453|       |           during the PyObject_Call().  Since the link update is already
 1454|       |           done, we need only return the computed result. */
 1455|      0|        Py_DECREF(testresult);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1456|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1457|      0|        return result;
 1458|      0|    }
 1459|    694|    if (res < 0) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 694]
  ------------------
 1460|       |        /* This is an unusual case since this same lookup
 1461|       |           did not previously trigger an error during lookup.
 1462|       |           Treat it the same as an error in user function
 1463|       |           and return with the error set. */
 1464|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1466|      0|        return NULL;
 1467|      0|    }
 1468|       |    /* This is the normal case.  The new key wasn't found before
 1469|       |       user function call and it is still not there.  So we
 1470|       |       proceed normally and update the cache with the new result. */
 1471|       |
 1472|    694|    assert(self->maxsize > 0);
 1473|    694|    if (PyDict_GET_SIZE(self->cache) < self->maxsize ||
  ------------------
  |  |   63|    694|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1473:9): [True: 694, False: 0]
  ------------------
 1474|      0|        self->root.next == &self->root)
  ------------------
  |  Branch (1474:9): [True: 0, False: 0]
  ------------------
 1475|    694|    {
 1476|       |        /* Cache is not full, so put the result in a new link */
 1477|    694|        link = (lru_list_elem *)PyObject_New(lru_list_elem,
  ------------------
  |  |  130|    694|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1478|    694|                                             self->lru_list_elem_type);
 1479|    694|        if (link == NULL) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 694]
  ------------------
 1480|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1481|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      0|            return NULL;
 1483|      0|        }
 1484|       |
 1485|    694|        link->hash = hash;
 1486|    694|        link->key = key;
 1487|    694|        link->result = result;
 1488|       |        /* What is really needed here is a SetItem variant with a "no clobber"
 1489|       |           option.  If the __eq__ call triggers a reentrant call that adds
 1490|       |           this same key, then this setitem call will update the cache dict
 1491|       |           with this new link, leaving the old link as an orphan (i.e. not
 1492|       |           having a cache dict entry that refers to it). */
 1493|    694|        if (_PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)self->cache, key,
  ------------------
  |  Branch (1493:13): [True: 0, False: 694]
  ------------------
 1494|    694|                                               (PyObject *)link, hash) < 0) {
 1495|      0|            Py_DECREF(link);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1496|      0|            return NULL;
 1497|      0|        }
 1498|    694|        lru_cache_append_link(self, link);
 1499|    694|        return Py_NewRef(result);
  ------------------
  |  |  550|    694|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|    694|    }
 1501|       |    /* Since the cache is full, we need to evict an old key and add
 1502|       |       a new key.  Rather than free the old link and allocate a new
 1503|       |       one, we reuse the link for the new key and result and move it
 1504|       |       to front of the cache to mark it as recently used.
 1505|       |
 1506|       |       We try to assure all code paths (including errors) leave all
 1507|       |       of the links in place.  Either the link is successfully
 1508|       |       updated and moved or it is restored to its old position.
 1509|       |       However if an unrecoverable error is found, it doesn't
 1510|       |       make sense to reinsert the link, so we leave it out
 1511|       |       and the cache will no longer register as full.
 1512|       |    */
 1513|      0|    PyObject *oldkey, *oldresult, *popresult;
 1514|       |
 1515|       |    /* Extract the oldest item. */
 1516|      0|    assert(self->root.next != &self->root);
 1517|      0|    link = self->root.next;
 1518|      0|    lru_cache_extract_link(link);
 1519|       |    /* Remove it from the cache.
 1520|       |       The cache dict holds one reference to the link.
 1521|       |       We created one other reference when the link was created.
 1522|       |       The linked list only has borrowed references. */
 1523|      0|    res = _PyDict_Pop_KnownHash((PyDictObject*)self->cache, link->key,
 1524|      0|                                link->hash, &popresult);
 1525|      0|    if (res < 0) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 0]
  ------------------
 1526|       |        /* An error arose while trying to remove the oldest key (the one
 1527|       |           being evicted) from the cache.  We restore the link to its
 1528|       |           original position as the oldest link.  Then we allow the
 1529|       |           error propagate upward; treating it the same as an error
 1530|       |           arising in the user function. */
 1531|      0|        lru_cache_prepend_link(self, link);
 1532|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|      0|        return NULL;
 1535|      0|    }
 1536|      0|    if (res == 0) {
  ------------------
  |  Branch (1536:9): [True: 0, False: 0]
  ------------------
 1537|       |        /* Getting here means that the user function call or another
 1538|       |           thread has already removed the old key from the dictionary.
 1539|       |           This link is now an orphan.  Since we don't want to leave the
 1540|       |           cache in an inconsistent state, we don't restore the link. */
 1541|      0|        assert(popresult == NULL);
 1542|      0|        Py_DECREF(link);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      0|        return result;
 1545|      0|    }
 1546|       |
 1547|       |    /* Keep a reference to the old key and old result to prevent their
 1548|       |       ref counts from going to zero during the update. That will
 1549|       |       prevent potentially arbitrary object clean-up code (i.e. __del__)
 1550|       |       from running while we're still adjusting the links. */
 1551|      0|    assert(popresult != NULL);
 1552|      0|    oldkey = link->key;
 1553|      0|    oldresult = link->result;
 1554|       |
 1555|      0|    link->hash = hash;
 1556|      0|    link->key = key;
 1557|      0|    link->result = result;
 1558|       |    /* Note:  The link is being added to the cache dict without the
 1559|       |       prev and next fields set to valid values.   We have to wait
 1560|       |       for successful insertion in the cache dict before adding the
 1561|       |       link to the linked list.  Otherwise, the potentially reentrant
 1562|       |       __eq__ call could cause the then orphan link to be visited. */
 1563|      0|    if (_PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)self->cache, key,
  ------------------
  |  Branch (1563:9): [True: 0, False: 0]
  ------------------
 1564|      0|                                           (PyObject *)link, hash) < 0) {
 1565|       |        /* Somehow the cache dict update failed.  We no longer can
 1566|       |           restore the old link.  Let the error propagate upward and
 1567|       |           leave the cache short one link. */
 1568|      0|        Py_DECREF(popresult);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1569|      0|        Py_DECREF(link);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|      0|        Py_DECREF(oldkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|      0|        Py_DECREF(oldresult);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1572|      0|        return NULL;
 1573|      0|    }
 1574|      0|    lru_cache_append_link(self, link);
 1575|      0|    Py_INCREF(result); /* for return */
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      0|    Py_DECREF(popresult);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      0|    Py_DECREF(oldkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      0|    Py_DECREF(oldresult);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1579|      0|    return result;
 1580|      0|}
_functoolsmodule.c:lru_cache_descr_get:
 1749|     10|{
 1750|     10|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1750:9): [True: 0, False: 10]
  |  Branch (1750:27): [True: 10, False: 0]
  ------------------
 1751|     10|        return Py_NewRef(self);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|     10|    }
 1753|      0|    return PyMethod_New(self, obj);
 1754|     10|}
_functoolsmodule.c:lru_cache_new:
 1615|     86|{
 1616|     86|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1617|     86|    int typed;
 1618|     86|    lru_cache_object *obj;
 1619|     86|    Py_ssize_t maxsize;
 1620|     86|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1621|     86|    _functools_state *state;
 1622|     86|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1623|     86|                               "cache_info_type", NULL};
 1624|       |
 1625|     86|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1625:9): [True: 0, False: 86]
  ------------------
 1626|     86|                                     &func, &maxsize_O, &typed,
 1627|     86|                                     &cache_info_type)) {
 1628|      0|        return NULL;
 1629|      0|    }
 1630|       |
 1631|     86|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1631:9): [True: 0, False: 86]
  ------------------
 1632|      0|        PyErr_SetString(PyExc_TypeError,
 1633|      0|                        "the first argument must be callable");
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|     86|    state = get_functools_state_by_type(type);
 1638|     86|    if (state == NULL) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 86]
  ------------------
 1639|      0|        return NULL;
 1640|      0|    }
 1641|       |
 1642|       |    /* select the caching function, and make/inc maxsize_O */
 1643|     86|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|     86|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1643:9): [True: 12, False: 74]
  ------------------
 1644|     12|        wrapper = infinite_lru_cache_wrapper;
 1645|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1646|     12|        maxsize = -1;
 1647|     74|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1647:16): [True: 74, False: 0]
  ------------------
 1648|     74|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1649|     74|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1649:13): [True: 0, False: 74]
  |  Branch (1649:30): [True: 0, False: 0]
  ------------------
 1650|      0|            return NULL;
 1651|     74|        if (maxsize < 0) {
  ------------------
  |  Branch (1651:13): [True: 0, False: 74]
  ------------------
 1652|      0|            maxsize = 0;
 1653|      0|        }
 1654|     74|        if (maxsize == 0)
  ------------------
  |  Branch (1654:13): [True: 0, False: 74]
  ------------------
 1655|      0|            wrapper = uncached_lru_cache_wrapper;
 1656|     74|        else
 1657|     74|            wrapper = bounded_lru_cache_wrapper;
 1658|     74|    } else {
 1659|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1660|      0|        return NULL;
 1661|      0|    }
 1662|       |
 1663|     86|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1663:9): [True: 0, False: 86]
  ------------------
 1664|      0|        return NULL;
 1665|       |
 1666|     86|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1667|     86|    if (obj == NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 86]
  ------------------
 1668|      0|        Py_DECREF(cachedict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1669|      0|        return NULL;
 1670|      0|    }
 1671|       |
 1672|     86|    obj->root.prev = &obj->root;
 1673|     86|    obj->root.next = &obj->root;
 1674|     86|    obj->wrapper = wrapper;
 1675|     86|    obj->typed = typed;
 1676|     86|    obj->cache = cachedict;
 1677|     86|    obj->func = Py_NewRef(func);
  ------------------
  |  |  550|     86|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1678|     86|    obj->misses = obj->hits = 0;
 1679|     86|    obj->maxsize = maxsize;
 1680|     86|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  550|     86|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|     86|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  550|     86|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     86|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  550|     86|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|     86|    obj->dict = NULL;
 1684|       |    obj->weakreflist = NULL;
 1685|     86|    return (PyObject *)obj;
 1686|     86|}
_functoolsmodule.c:infinite_lru_cache_wrapper:
 1305|      2|{
 1306|      2|    PyObject *result;
 1307|      2|    Py_hash_t hash;
 1308|      2|    PyObject *key = lru_cache_make_key(self->kwd_mark, args, kwds, self->typed);
 1309|      2|    if (!key)
  ------------------
  |  Branch (1309:9): [True: 0, False: 2]
  ------------------
 1310|      0|        return NULL;
 1311|      2|    hash = PyObject_Hash(key);
 1312|      2|    if (hash == -1) {
  ------------------
  |  Branch (1312:9): [True: 0, False: 2]
  ------------------
 1313|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      0|        return NULL;
 1315|      0|    }
 1316|      2|    int res = _PyDict_GetItemRef_KnownHash((PyDictObject *)self->cache, key, hash, &result);
 1317|      2|    if (res > 0) {
  ------------------
  |  Branch (1317:9): [True: 0, False: 2]
  ------------------
 1318|      0|        FT_ATOMIC_ADD_SSIZE(self->hits, 1);
  ------------------
  |  |  203|      0|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1319|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      0|        return result;
 1321|      0|    }
 1322|      2|    if (res < 0) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 2]
  ------------------
 1323|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      0|        return NULL;
 1325|      0|    }
 1326|      2|    FT_ATOMIC_ADD_SSIZE(self->misses, 1);
  ------------------
  |  |  203|      2|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1327|      2|    result = PyObject_Call(self->func, args, kwds);
 1328|      2|    if (!result) {
  ------------------
  |  Branch (1328:9): [True: 0, False: 2]
  ------------------
 1329|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|      0|        return NULL;
 1331|      0|    }
 1332|      2|    if (_PyDict_SetItem_KnownHash(self->cache, key, result, hash) < 0) {
  ------------------
  |  Branch (1332:9): [True: 0, False: 2]
  ------------------
 1333|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|      0|        return NULL;
 1336|      0|    }
 1337|      2|    Py_DECREF(key);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      2|    return result;
 1339|      2|}
_functoolsmodule.c:_functools_traverse:
 1990|     16|{
 1991|     16|    _functools_state *state = get_functools_state(module);
 1992|     16|    Py_VISIT(state->kwd_mark);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1993|     16|    Py_VISIT(state->placeholder_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1994|     16|    Py_VISIT(state->placeholder);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1995|     16|    Py_VISIT(state->partial_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1996|     16|    Py_VISIT(state->keyobject_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1997|     16|    Py_VISIT(state->lru_list_elem_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1998|     16|    return 0;
 1999|     16|}

PyNumber_AsOff_t:
  526|    534|{
  527|    534|    Py_off_t result;
  528|    534|    PyObject *runerr;
  529|    534|    PyObject *value = _PyNumber_Index(item);
  530|    534|    if (value == NULL)
  ------------------
  |  Branch (530:9): [True: 0, False: 534]
  ------------------
  531|      0|        return -1;
  532|       |
  533|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
  534|    534|    result = PyLong_AsOff_t(value);
  ------------------
  |  |  111|    534|# define PyLong_AsOff_t     PyLong_AsSsize_t
  ------------------
  535|    534|    if (result != -1 || !(runerr = PyErr_Occurred()))
  ------------------
  |  Branch (535:9): [True: 534, False: 0]
  |  Branch (535:25): [True: 0, False: 0]
  ------------------
  536|    534|        goto finish;
  537|       |
  538|       |    /* Error handling code -- only manage OverflowError differently */
  539|      0|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError))
  ------------------
  |  Branch (539:9): [True: 0, False: 0]
  ------------------
  540|      0|        goto finish;
  541|       |
  542|      0|    PyErr_Clear();
  543|       |    /* If no error-handling desired then the default clipping
  544|       |       is sufficient.
  545|       |     */
  546|      0|    if (!err) {
  ------------------
  |  Branch (546:9): [True: 0, False: 0]
  ------------------
  547|      0|        assert(PyLong_Check(value));
  548|      0|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (548:13): [True: 0, False: 0]
  ------------------
  549|      0|            result = PY_OFF_T_MIN;
  ------------------
  |  |  114|      0|# define PY_OFF_T_MIN       PY_SSIZE_T_MIN
  |  |  ------------------
  |  |  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|      0|        else
  551|      0|            result = PY_OFF_T_MAX;
  ------------------
  |  |  113|      0|# define PY_OFF_T_MAX       PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  552|      0|    }
  553|      0|    else {
  554|       |        /* Otherwise replace the error with caller's error object. */
  555|      0|        PyErr_Format(err,
  556|      0|                     "cannot fit '%.200s' into an offset-sized integer",
  557|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|      0|    }
  559|       |
  560|    534| finish:
  561|    534|    Py_DECREF(value);
  ------------------
  |  |  430|    534|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    534|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    534|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    534|    return result;
  563|      0|}
PyInit__io:
  745|      2|{
  746|      2|    return PyModuleDef_Init(&_PyIO_Module);
  747|      2|}
_iomodule.c:_io_open_impl:
  204|    526|{
  205|    526|    size_t i;
  206|       |
  207|    526|    int creating = 0, reading = 0, writing = 0, appending = 0, updating = 0;
  208|    526|    int text = 0, binary = 0;
  209|       |
  210|    526|    char rawmode[6], *m;
  211|    526|    int line_buffering, is_number, isatty = 0;
  212|       |
  213|    526|    PyObject *raw, *modeobj = NULL, *buffer, *wrapper, *result = NULL, *path_or_fd = NULL;
  214|       |
  215|    526|    is_number = PyNumber_Check(file);
  216|       |
  217|    526|    if (is_number) {
  ------------------
  |  Branch (217:9): [True: 6, False: 520]
  ------------------
  218|      6|        path_or_fd = Py_NewRef(file);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|    520|    } else {
  220|    520|        path_or_fd = PyOS_FSPath(file);
  221|    520|        if (path_or_fd == NULL) {
  ------------------
  |  Branch (221:13): [True: 0, False: 520]
  ------------------
  222|      0|            return NULL;
  223|      0|        }
  224|    520|    }
  225|       |
  226|    526|    if (!is_number &&
  ------------------
  |  Branch (226:9): [True: 520, False: 6]
  ------------------
  227|    526|        !PyUnicode_Check(path_or_fd) &&
  ------------------
  |  |  103|    520|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.04k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 520]
  ------------------
  228|      0|        !PyBytes_Check(path_or_fd)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (228:9): [True: 0, False: 0]
  ------------------
  229|      0|        PyErr_Format(PyExc_TypeError, "invalid file: %R", file);
  230|      0|        goto error;
  231|      0|    }
  232|       |
  233|       |    /* Decode mode */
  234|  1.57k|    for (i = 0; i < strlen(mode); i++) {
  ------------------
  |  Branch (234:17): [True: 1.04k, False: 526]
  ------------------
  235|  1.04k|        char c = mode[i];
  236|       |
  237|  1.04k|        switch (c) {
  238|      0|        case 'x':
  ------------------
  |  Branch (238:9): [True: 0, False: 1.04k]
  ------------------
  239|      0|            creating = 1;
  240|      0|            break;
  241|    520|        case 'r':
  ------------------
  |  Branch (241:9): [True: 520, False: 526]
  ------------------
  242|    520|            reading = 1;
  243|    520|            break;
  244|      6|        case 'w':
  ------------------
  |  Branch (244:9): [True: 6, False: 1.04k]
  ------------------
  245|      6|            writing = 1;
  246|      6|            break;
  247|      0|        case 'a':
  ------------------
  |  Branch (247:9): [True: 0, False: 1.04k]
  ------------------
  248|      0|            appending = 1;
  249|      0|            break;
  250|      0|        case '+':
  ------------------
  |  Branch (250:9): [True: 0, False: 1.04k]
  ------------------
  251|      0|            updating = 1;
  252|      0|            break;
  253|      0|        case 't':
  ------------------
  |  Branch (253:9): [True: 0, False: 1.04k]
  ------------------
  254|      0|            text = 1;
  255|      0|            break;
  256|    520|        case 'b':
  ------------------
  |  Branch (256:9): [True: 520, False: 526]
  ------------------
  257|    520|            binary = 1;
  258|    520|            break;
  259|      0|        default:
  ------------------
  |  Branch (259:9): [True: 0, False: 1.04k]
  ------------------
  260|      0|            goto invalid_mode;
  261|  1.04k|        }
  262|       |
  263|       |        /* c must not be duplicated */
  264|  1.04k|        if (strchr(mode+i+1, c)) {
  ------------------
  |  Branch (264:13): [True: 0, False: 1.04k]
  ------------------
  265|      0|          invalid_mode:
  266|      0|            PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
  267|      0|            goto error;
  268|      0|        }
  269|       |
  270|  1.04k|    }
  271|       |
  272|    526|    m = rawmode;
  273|    526|    if (creating)  *(m++) = 'x';
  ------------------
  |  Branch (273:9): [True: 0, False: 526]
  ------------------
  274|    526|    if (reading)   *(m++) = 'r';
  ------------------
  |  Branch (274:9): [True: 520, False: 6]
  ------------------
  275|    526|    if (writing)   *(m++) = 'w';
  ------------------
  |  Branch (275:9): [True: 6, False: 520]
  ------------------
  276|    526|    if (appending) *(m++) = 'a';
  ------------------
  |  Branch (276:9): [True: 0, False: 526]
  ------------------
  277|    526|    if (updating)  *(m++) = '+';
  ------------------
  |  Branch (277:9): [True: 0, False: 526]
  ------------------
  278|    526|    *m = '\0';
  279|       |
  280|       |    /* Parameters validation */
  281|    526|    if (text && binary) {
  ------------------
  |  Branch (281:9): [True: 0, False: 526]
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|        PyErr_SetString(PyExc_ValueError,
  283|      0|                        "can't have text and binary mode at once");
  284|      0|        goto error;
  285|      0|    }
  286|       |
  287|    526|    if (creating + reading + writing + appending > 1) {
  ------------------
  |  Branch (287:9): [True: 0, False: 526]
  ------------------
  288|      0|        PyErr_SetString(PyExc_ValueError,
  289|      0|                        "must have exactly one of create/read/write/append mode");
  290|      0|        goto error;
  291|      0|    }
  292|       |
  293|    526|    if (binary && encoding != NULL) {
  ------------------
  |  Branch (293:9): [True: 520, False: 6]
  |  Branch (293:19): [True: 0, False: 520]
  ------------------
  294|      0|        PyErr_SetString(PyExc_ValueError,
  295|      0|                        "binary mode doesn't take an encoding argument");
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|    526|    if (binary && errors != NULL) {
  ------------------
  |  Branch (299:9): [True: 520, False: 6]
  |  Branch (299:19): [True: 0, False: 520]
  ------------------
  300|      0|        PyErr_SetString(PyExc_ValueError,
  301|      0|                        "binary mode doesn't take an errors argument");
  302|      0|        goto error;
  303|      0|    }
  304|       |
  305|    526|    if (binary && newline != NULL) {
  ------------------
  |  Branch (305:9): [True: 520, False: 6]
  |  Branch (305:19): [True: 0, False: 520]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError,
  307|      0|                        "binary mode doesn't take a newline argument");
  308|      0|        goto error;
  309|      0|    }
  310|       |
  311|    526|    if (binary && buffering == 1) {
  ------------------
  |  Branch (311:9): [True: 520, False: 6]
  |  Branch (311:19): [True: 0, False: 520]
  ------------------
  312|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (312:13): [True: 0, False: 0]
  ------------------
  313|      0|                         "line buffering (buffering=1) isn't supported in "
  314|      0|                         "binary mode, the default buffer size will be used",
  315|      0|                         1) < 0) {
  316|      0|           goto error;
  317|      0|        }
  318|      0|    }
  319|       |
  320|       |    /* Create the Raw file stream */
  321|    526|    _PyIO_State *state = get_io_state(module);
  322|    526|    {
  323|    526|        PyObject *RawIO_class = (PyObject *)state->PyFileIO_Type;
  324|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  325|       |        const PyConfig *config = _Py_GetConfig();
  326|       |        if (!config->legacy_windows_stdio && _PyIO_get_console_type(path_or_fd) != '\0') {
  327|       |            RawIO_class = (PyObject *)state->PyWindowsConsoleIO_Type;
  328|       |            encoding = "utf-8";
  329|       |        }
  330|       |#endif
  331|    526|        raw = PyObject_CallFunction(RawIO_class, "OsOO",
  332|    526|                                    path_or_fd, rawmode,
  333|    526|                                    closefd ? Py_True : Py_False,
  ------------------
  |  |   26|    526|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  closefd ? Py_True : Py_False,
  ------------------
  |  |   25|    526|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (333:37): [True: 520, False: 6]
  ------------------
  334|    526|                                    opener);
  335|    526|    }
  336|       |
  337|    526|    if (raw == NULL)
  ------------------
  |  Branch (337:9): [True: 4, False: 522]
  ------------------
  338|      4|        goto error;
  339|    522|    result = raw;
  340|       |
  341|    522|    Py_SETREF(path_or_fd, NULL);
  ------------------
  |  |  352|    522|    do { \
  |  |  353|    522|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    522|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    522|        *_tmp_dst_ptr = (src); \
  |  |  356|    522|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    522|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 522]
  |  |  ------------------
  ------------------
  342|       |
  343|    522|    modeobj = PyUnicode_FromString(mode);
  344|    522|    if (modeobj == NULL)
  ------------------
  |  Branch (344:9): [True: 0, False: 522]
  ------------------
  345|      0|        goto error;
  346|       |
  347|       |    /* buffering */
  348|    522|    if (buffering < 0) {
  ------------------
  |  Branch (348:9): [True: 522, False: 0]
  ------------------
  349|    522|        PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(_isatty_open_only));
  ------------------
  |  |  919|    522|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    522|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    522|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|    522|        if (res == NULL)
  ------------------
  |  Branch (350:13): [True: 0, False: 522]
  ------------------
  351|      0|            goto error;
  352|    522|        isatty = PyObject_IsTrue(res);
  353|    522|        Py_DECREF(res);
  ------------------
  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|    522|        if (isatty < 0)
  ------------------
  |  Branch (354:13): [True: 0, False: 522]
  ------------------
  355|      0|            goto error;
  356|    522|    }
  357|       |
  358|    522|    if (buffering == 1 || isatty) {
  ------------------
  |  Branch (358:9): [True: 0, False: 522]
  |  Branch (358:27): [True: 0, False: 522]
  ------------------
  359|      0|        buffering = -1;
  360|      0|        line_buffering = 1;
  361|      0|    }
  362|    522|    else
  363|    522|        line_buffering = 0;
  364|       |
  365|    522|    if (buffering < 0) {
  ------------------
  |  Branch (365:9): [True: 522, False: 0]
  ------------------
  366|    522|        PyObject *blksize_obj;
  367|    522|        blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize));
  ------------------
  |  |  919|    522|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    522|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    522|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|    522|        if (blksize_obj == NULL)
  ------------------
  |  Branch (368:13): [True: 0, False: 522]
  ------------------
  369|      0|            goto error;
  370|    522|        buffering = PyLong_AsLong(blksize_obj);
  371|    522|        Py_DECREF(blksize_obj);
  ------------------
  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|    522|        if (buffering == -1 && PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 522]
  |  Branch (372:32): [True: 0, False: 0]
  ------------------
  373|      0|            goto error;
  374|    522|        buffering = Py_MAX(Py_MIN(buffering, 8192 * 1024), DEFAULT_BUFFER_SIZE);
  ------------------
  |  |  115|  1.04k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 522]
  |  |  |  Branch (115:25): [True: 0, False: 522]
  |  |  |  Branch (115:38): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  375|    522|    }
  376|    522|    if (buffering < 0) {
  ------------------
  |  Branch (376:9): [True: 0, False: 522]
  ------------------
  377|      0|        PyErr_SetString(PyExc_ValueError,
  378|      0|                        "invalid buffering size");
  379|      0|        goto error;
  380|      0|    }
  381|       |
  382|       |    /* if not buffering, returns the raw file object */
  383|    522|    if (buffering == 0) {
  ------------------
  |  Branch (383:9): [True: 0, False: 522]
  ------------------
  384|      0|        if (!binary) {
  ------------------
  |  Branch (384:13): [True: 0, False: 0]
  ------------------
  385|      0|            PyErr_SetString(PyExc_ValueError,
  386|      0|                            "can't have unbuffered text I/O");
  387|      0|            goto error;
  388|      0|        }
  389|       |
  390|      0|        Py_DECREF(modeobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      0|        return result;
  392|      0|    }
  393|       |
  394|       |    /* wraps into a buffered file */
  395|    522|    {
  396|    522|        PyObject *Buffered_class;
  397|       |
  398|    522|        if (updating) {
  ------------------
  |  Branch (398:13): [True: 0, False: 522]
  ------------------
  399|      0|            Buffered_class = (PyObject *)state->PyBufferedRandom_Type;
  400|      0|        }
  401|    522|        else if (creating || writing || appending) {
  ------------------
  |  Branch (401:18): [True: 0, False: 522]
  |  Branch (401:30): [True: 6, False: 516]
  |  Branch (401:41): [True: 0, False: 516]
  ------------------
  402|      6|            Buffered_class = (PyObject *)state->PyBufferedWriter_Type;
  403|      6|        }
  404|    516|        else if (reading) {
  ------------------
  |  Branch (404:18): [True: 516, False: 0]
  ------------------
  405|    516|            Buffered_class = (PyObject *)state->PyBufferedReader_Type;
  406|    516|        }
  407|      0|        else {
  408|      0|            PyErr_Format(PyExc_ValueError,
  409|      0|                         "unknown mode: '%s'", mode);
  410|      0|            goto error;
  411|      0|        }
  412|       |
  413|    522|        buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering);
  414|    522|    }
  415|    522|    if (buffer == NULL)
  ------------------
  |  Branch (415:9): [True: 0, False: 522]
  ------------------
  416|      0|        goto error;
  417|    522|    result = buffer;
  418|    522|    Py_DECREF(raw);
  ------------------
  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|       |
  420|       |
  421|       |    /* if binary, returns the buffered file */
  422|    522|    if (binary) {
  ------------------
  |  Branch (422:9): [True: 518, False: 4]
  ------------------
  423|    518|        Py_DECREF(modeobj);
  ------------------
  |  |  430|    518|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    518|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|    518|        return result;
  425|    518|    }
  426|       |
  427|       |    /* wraps into a TextIOWrapper */
  428|      4|    wrapper = PyObject_CallFunction((PyObject *)state->PyTextIOWrapper_Type,
  429|      4|                                    "OsssO",
  430|      4|                                    buffer,
  431|      4|                                    encoding, errors, newline,
  432|      4|                                    line_buffering ? Py_True : Py_False);
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  line_buffering ? Py_True : Py_False);
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (432:37): [True: 0, False: 4]
  ------------------
  433|      4|    if (wrapper == NULL)
  ------------------
  |  Branch (433:9): [True: 0, False: 4]
  ------------------
  434|      0|        goto error;
  435|      4|    result = wrapper;
  436|      4|    Py_DECREF(buffer);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|       |
  438|      4|    if (PyObject_SetAttr(wrapper, &_Py_ID(mode), modeobj) < 0)
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (438:9): [True: 0, False: 4]
  ------------------
  439|      0|        goto error;
  440|      4|    Py_DECREF(modeobj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|      4|    return result;
  442|       |
  443|      4|  error:
  444|      4|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 0, False: 4]
  ------------------
  445|      0|        PyObject *exc = PyErr_GetRaisedException();
  446|      0|        PyObject *close_result = PyObject_CallMethodNoArgs(result, &_Py_ID(close));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|        _PyErr_ChainExceptions1(exc);
  448|      0|        Py_XDECREF(close_result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    }
  451|      4|    Py_XDECREF(path_or_fd);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      4|    Py_XDECREF(modeobj);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|       |    return NULL;
  454|      4|}
_iomodule.c:_io_text_encoding_impl:
  479|     12|{
  480|     12|    if (encoding == NULL || encoding == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (480:9): [True: 0, False: 12]
  |  Branch (480:29): [True: 0, False: 12]
  ------------------
  481|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  482|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (482:13): [True: 0, False: 0]
  ------------------
  483|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (483:17): [True: 0, False: 0]
  ------------------
  484|      0|                             "'encoding' argument not specified", stacklevel)) {
  485|      0|                return NULL;
  486|      0|            }
  487|      0|        }
  488|      0|        const PyPreConfig *preconfig = &_PyRuntime.preconfig;
  489|      0|        if (preconfig->utf8_mode) {
  ------------------
  |  Branch (489:13): [True: 0, False: 0]
  ------------------
  490|      0|            _Py_DECLARE_STR(utf_8, "utf-8");
  491|      0|            encoding = &_Py_STR(utf_8);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      0|        }
  493|      0|        else {
  494|      0|            encoding = &_Py_ID(locale);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|      0|        }
  496|      0|    }
  497|     12|    return Py_NewRef(encoding);
  ------------------
  |  |  550|     12|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|     12|}
_iomodule.c:_io_open_code_impl:
  516|    502|{
  517|    502|    return PyFile_OpenCodeObject(path);
  518|    502|}
_iomodule.c:iomodule_exec:
  652|      2|{
  653|      2|    _PyIO_State *state = get_io_state(m);
  654|       |
  655|       |    /* DEFAULT_BUFFER_SIZE */
  656|      2|    if (PyModule_AddIntMacro(m, DEFAULT_BUFFER_SIZE) < 0)
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (656:9): [True: 0, False: 2]
  ------------------
  657|      0|        return -1;
  658|       |
  659|       |    /* UnsupportedOperation inherits from ValueError and OSError */
  660|      2|    state->unsupported_operation = PyObject_CallFunction(
  661|      2|        (PyObject *)&PyType_Type, "s(OO){}",
  662|      2|        "UnsupportedOperation", PyExc_OSError, PyExc_ValueError);
  663|      2|    if (state->unsupported_operation == NULL)
  ------------------
  |  Branch (663:9): [True: 0, False: 2]
  ------------------
  664|      0|        return -1;
  665|      2|    if (PyObject_SetAttrString(state->unsupported_operation,
  ------------------
  |  Branch (665:9): [True: 0, False: 2]
  ------------------
  666|      2|                               "__module__", &_Py_ID(io)) < 0)
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|      0|    {
  668|      0|        return -1;
  669|      0|    }
  670|      2|    if (PyModule_AddObjectRef(m, "UnsupportedOperation",
  ------------------
  |  Branch (670:9): [True: 0, False: 2]
  ------------------
  671|      2|                              state->unsupported_operation) < 0)
  672|      0|    {
  673|      0|        return -1;
  674|      0|    }
  675|       |
  676|       |    /* BlockingIOError, for compatibility */
  677|      2|    if (PyModule_AddObjectRef(m, "BlockingIOError",
  ------------------
  |  Branch (677:9): [True: 0, False: 2]
  ------------------
  678|      2|                              (PyObject *) PyExc_BlockingIOError) < 0) {
  679|      0|        return -1;
  680|      0|    }
  681|       |
  682|       |    // Base classes
  683|      2|    ADD_TYPE(m, state->PyIncrementalNewlineDecoder_Type, &_Py_nldecoder_spec, NULL);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  684|      2|    ADD_TYPE(m, state->PyBytesIOBuffer_Type, &_Py_bytesiobuf_spec, NULL);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  685|      2|    ADD_TYPE(m, state->PyIOBase_Type, &_Py_iobase_spec, NULL);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  686|       |
  687|       |    // PyIOBase_Type subclasses
  688|      2|    ADD_TYPE(m, state->PyTextIOBase_Type, &_Py_textiobase_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  689|      2|             state->PyIOBase_Type);
  690|      2|    ADD_TYPE(m, state->PyBufferedIOBase_Type, &_Py_bufferediobase_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  691|      2|             state->PyIOBase_Type);
  692|      2|    ADD_TYPE(m, state->PyRawIOBase_Type, &_Py_rawiobase_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  693|      2|             state->PyIOBase_Type);
  694|       |
  695|       |    // PyBufferedIOBase_Type(PyIOBase_Type) subclasses
  696|      2|    ADD_TYPE(m, state->PyBytesIO_Type, &_Py_bytesio_spec, state->PyBufferedIOBase_Type);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  697|      2|    ADD_TYPE(m, state->PyBufferedWriter_Type, &_Py_bufferedwriter_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  698|      2|             state->PyBufferedIOBase_Type);
  699|      2|    ADD_TYPE(m, state->PyBufferedReader_Type, &_Py_bufferedreader_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  700|      2|             state->PyBufferedIOBase_Type);
  701|      2|    ADD_TYPE(m, state->PyBufferedRWPair_Type, &_Py_bufferedrwpair_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  702|      2|             state->PyBufferedIOBase_Type);
  703|      2|    ADD_TYPE(m, state->PyBufferedRandom_Type, &_Py_bufferedrandom_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  704|      2|             state->PyBufferedIOBase_Type);
  705|       |
  706|       |    // PyRawIOBase_Type(PyIOBase_Type) subclasses
  707|      2|    ADD_TYPE(m, state->PyFileIO_Type, &_Py_fileio_spec, state->PyRawIOBase_Type);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  708|       |
  709|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  710|       |    ADD_TYPE(m, state->PyWindowsConsoleIO_Type, &_Py_winconsoleio_spec,
  711|       |             state->PyRawIOBase_Type);
  712|       |#endif
  713|       |
  714|       |    // PyTextIOBase_Type(PyIOBase_Type) subclasses
  715|      2|    ADD_TYPE(m, state->PyStringIO_Type, &_Py_stringio_spec, state->PyTextIOBase_Type);
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  716|      2|    ADD_TYPE(m, state->PyTextIOWrapper_Type, &_Py_textiowrapper_spec,
  ------------------
  |  |  638|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  639|      2|do {                                                                     \
  |  |  640|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  641|      2|                                                    (PyObject *)base);   \
  |  |  642|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (642:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  643|      0|        return -1;                                                       \
  |  |  644|      0|    }                                                                    \
  |  |  645|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (645:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  646|      0|        return -1;                                                       \
  |  |  647|      0|    }                                                                    \
  |  |  648|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (648:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  717|      2|             state->PyTextIOBase_Type);
  718|       |
  719|      2|#undef ADD_TYPE
  720|      2|    return 0;
  721|      2|}
_iomodule.c:iomodule_traverse:
  566|     16|iomodule_traverse(PyObject *mod, visitproc visit, void *arg) {
  567|     16|    _PyIO_State *state = get_io_state(mod);
  568|     16|    Py_VISIT(state->unsupported_operation);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  569|       |
  570|     16|    Py_VISIT(state->PyIOBase_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  571|     16|    Py_VISIT(state->PyIncrementalNewlineDecoder_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  572|     16|    Py_VISIT(state->PyRawIOBase_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  573|     16|    Py_VISIT(state->PyBufferedIOBase_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  574|     16|    Py_VISIT(state->PyBufferedRWPair_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  575|     16|    Py_VISIT(state->PyBufferedRandom_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  576|     16|    Py_VISIT(state->PyBufferedReader_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  577|     16|    Py_VISIT(state->PyBufferedWriter_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  578|     16|    Py_VISIT(state->PyBytesIOBuffer_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  579|     16|    Py_VISIT(state->PyBytesIO_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  580|     16|    Py_VISIT(state->PyFileIO_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  581|     16|    Py_VISIT(state->PyStringIO_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  582|     16|    Py_VISIT(state->PyTextIOBase_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  583|     16|    Py_VISIT(state->PyTextIOWrapper_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  584|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  585|       |    Py_VISIT(state->PyWindowsConsoleIO_Type);
  586|       |#endif
  587|     16|    return 0;
  588|     16|}

_iomodule.c:get_io_state:
  171|    544|{
  172|    544|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|    544|    return (_PyIO_State *)state;
  175|    544|}
iobase.c:get_io_state_by_cls:
  179|      2|{
  180|      2|    void *state = _PyType_GetModuleState(cls);
  181|       |    assert(state != NULL);
  182|      2|    return (_PyIO_State *)state;
  183|      2|}
fileio.c:get_io_state_by_cls:
  179|    516|{
  180|    516|    void *state = _PyType_GetModuleState(cls);
  181|       |    assert(state != NULL);
  182|    516|    return (_PyIO_State *)state;
  183|    516|}
bufferedio.c:find_io_state_by_def:
  187|    532|{
  188|    532|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|       |    assert(mod != NULL);
  190|    532|    return get_io_state(mod);
  191|    532|}
bufferedio.c:get_io_state:
  171|    532|{
  172|    532|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|    532|    return (_PyIO_State *)state;
  175|    532|}
textio.c:find_io_state_by_def:
  187|     14|{
  188|     14|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|       |    assert(mod != NULL);
  190|     14|    return get_io_state(mod);
  191|     14|}
textio.c:get_io_state:
  171|     14|{
  172|     14|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|     14|    return (_PyIO_State *)state;
  175|     14|}
stringio.c:find_io_state_by_def:
  187|      2|{
  188|      2|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|       |    assert(mod != NULL);
  190|      2|    return get_io_state(mod);
  191|      2|}
stringio.c:get_io_state:
  171|      2|{
  172|      2|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|      2|    return (_PyIO_State *)state;
  175|      2|}

bufferedio.c:buffered_dealloc:
  426|    522|{
  427|    522|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|    522|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  428|    522|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    522|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|    522|    self->finalizing = 1;
  430|    522|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (430:9): [True: 0, False: 522]
  ------------------
  431|      0|        return;
  432|    522|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|    522|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|    522|    self->ok = 0;
  434|    522|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|    522|    do {                                            \
  |  |   48|    522|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    522|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 522]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    522|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 522]
  |  |  ------------------
  ------------------
  435|    522|    if (self->buffer) {
  ------------------
  |  Branch (435:9): [True: 0, False: 522]
  ------------------
  436|      0|        PyMem_Free(self->buffer);
  437|      0|        self->buffer = NULL;
  438|      0|    }
  439|    522|    if (self->lock) {
  ------------------
  |  Branch (439:9): [True: 522, False: 0]
  ------------------
  440|    522|        PyThread_free_lock(self->lock);
  441|    522|        self->lock = NULL;
  442|    522|    }
  443|    522|    (void)buffered_clear(op);
  444|    522|    tp->tp_free(self);
  445|    522|    Py_DECREF(tp);
  ------------------
  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|    522|}
bufferedio.c:buffered_traverse:
  466|     56|{
  467|     56|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     56|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  468|     56|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     56|    do {                                                                \
  |  |  195|     56|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 56, False: 0]
  |  |  ------------------
  |  |  196|     56|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     56|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 56]
  |  |  ------------------
  |  |  198|     56|                return vret;                                            \
  |  |  199|     56|        }                                                               \
  |  |  200|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  469|     56|    Py_VISIT(self->raw);
  ------------------
  |  |  194|     56|    do {                                                                \
  |  |  195|     56|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 56, False: 0]
  |  |  ------------------
  |  |  196|     56|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     56|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 56]
  |  |  ------------------
  |  |  198|     56|                return vret;                                            \
  |  |  199|     56|        }                                                               \
  |  |  200|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  470|     56|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     56|    do {                                                                \
  |  |  195|     56|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 56]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  471|     56|    return 0;
  472|     56|}
bufferedio.c:buffered_clear:
  416|    522|{
  417|    522|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|    522|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  418|    522|    self->ok = 0;
  419|    522|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|    522|    do { \
  |  |  485|    522|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    522|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    522|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 522, False: 0]
  |  |  ------------------
  |  |  488|    522|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    522|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    522|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    522|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    522|        } \
  |  |  491|    522|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 522]
  |  |  ------------------
  ------------------
  420|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|    522|    do { \
  |  |  485|    522|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    522|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    522|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    522|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 522]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    522|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 522]
  |  |  ------------------
  ------------------
  421|    522|    return 0;
  422|    522|}
bufferedio.c:_buffered_readline:
 1207|      8|{
 1208|      8|    PyObject *res = NULL;
 1209|      8|    PyObject *chunks = NULL;
 1210|      8|    Py_ssize_t n;
 1211|      8|    const char *start, *s, *end;
 1212|       |
 1213|      8|    CHECK_CLOSED(self, "readline of closed file")
  ------------------
  |  |  371|      8|    do { \
  |  |  372|      8|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|      8|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  366|      8|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|      8|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|      8|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|      8|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|      8|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  377|      8|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|      8|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1214|       |
 1215|       |    /* First, try to find a line in the buffer. This can run unlocked because
 1216|       |       the calls to the C API are simple enough that they can't trigger
 1217|       |       any thread switch. */
 1218|      8|    n = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|      8|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 8, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 4, False: 4]
  |  |  |  |  |  Branch (34:47): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1219|      8|    if (limit >= 0 && n > limit)
  ------------------
  |  Branch (1219:9): [True: 0, False: 8]
  |  Branch (1219:23): [True: 0, False: 0]
  ------------------
 1220|      0|        n = limit;
 1221|      8|    start = self->buffer + self->pos;
 1222|      8|    s = memchr(start, '\n', n);
 1223|      8|    if (s != NULL) {
  ------------------
  |  Branch (1223:9): [True: 4, False: 4]
  ------------------
 1224|      4|        res = PyBytes_FromStringAndSize(start, s - start + 1);
 1225|      4|        if (res != NULL)
  ------------------
  |  Branch (1225:13): [True: 4, False: 0]
  ------------------
 1226|      4|            self->pos += s - start + 1;
 1227|      4|        goto end_unlocked;
 1228|      4|    }
 1229|      4|    if (n == limit) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 4]
  ------------------
 1230|      0|        res = PyBytes_FromStringAndSize(start, n);
 1231|      0|        if (res != NULL)
  ------------------
  |  Branch (1231:13): [True: 0, False: 0]
  ------------------
 1232|      0|            self->pos += n;
 1233|      0|        goto end_unlocked;
 1234|      0|    }
 1235|       |
 1236|      4|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      4|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4, False: 0]
  |  |  |  Branch (330:8): [True: 4, False: 0]
  |  |  ------------------
  |  |  331|      4|       1 : _enter_buffered_busy(self)) \
  |  |  332|      4|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1237|      0|        goto end_unlocked;
 1238|       |
 1239|       |    /* Now we try to get some more from the raw stream */
 1240|      4|    chunks = PyList_New(0);
 1241|      4|    if (chunks == NULL)
  ------------------
  |  Branch (1241:9): [True: 0, False: 4]
  ------------------
 1242|      0|        goto end;
 1243|      4|    if (n > 0) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 4]
  ------------------
 1244|      0|        res = PyBytes_FromStringAndSize(start, n);
 1245|      0|        if (res == NULL)
  ------------------
  |  Branch (1245:13): [True: 0, False: 0]
  ------------------
 1246|      0|            goto end;
 1247|      0|        if (PyList_Append(chunks, res) < 0) {
  ------------------
  |  Branch (1247:13): [True: 0, False: 0]
  ------------------
 1248|      0|            Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1249|      0|            goto end;
 1250|      0|        }
 1251|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1252|      0|        self->pos += n;
 1253|      0|        if (limit >= 0)
  ------------------
  |  Branch (1253:13): [True: 0, False: 0]
  ------------------
 1254|      0|            limit -= n;
 1255|      0|    }
 1256|      4|    if (self->writable) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 4]
  ------------------
 1257|      0|        PyObject *r = buffered_flush_and_rewind_unlocked(self);
 1258|      0|        if (r == NULL)
  ------------------
  |  Branch (1258:13): [True: 0, False: 0]
  ------------------
 1259|      0|            goto end;
 1260|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1261|      0|    }
 1262|       |
 1263|      4|    for (;;) {
 1264|      4|        _bufferedreader_reset_buf(self);
 1265|      4|        n = _bufferedreader_fill_buffer(self);
 1266|      4|        if (n == -1)
  ------------------
  |  Branch (1266:13): [True: 0, False: 4]
  ------------------
 1267|      0|            goto end;
 1268|      4|        if (n <= 0)
  ------------------
  |  Branch (1268:13): [True: 0, False: 4]
  ------------------
 1269|      0|            break;
 1270|      4|        if (limit >= 0 && n > limit)
  ------------------
  |  Branch (1270:13): [True: 0, False: 4]
  |  Branch (1270:27): [True: 0, False: 0]
  ------------------
 1271|      0|            n = limit;
 1272|      4|        start = self->buffer;
 1273|      4|        end = start + n;
 1274|      4|        s = start;
 1275|    228|        while (s < end) {
  ------------------
  |  Branch (1275:16): [True: 228, False: 0]
  ------------------
 1276|    228|            if (*s++ == '\n') {
  ------------------
  |  Branch (1276:17): [True: 4, False: 224]
  ------------------
 1277|      4|                res = PyBytes_FromStringAndSize(start, s - start);
 1278|      4|                if (res == NULL)
  ------------------
  |  Branch (1278:21): [True: 0, False: 4]
  ------------------
 1279|      0|                    goto end;
 1280|      4|                self->pos = s - start;
 1281|      4|                goto found;
 1282|      4|            }
 1283|    228|        }
 1284|      0|        res = PyBytes_FromStringAndSize(start, n);
 1285|      0|        if (res == NULL)
  ------------------
  |  Branch (1285:13): [True: 0, False: 0]
  ------------------
 1286|      0|            goto end;
 1287|      0|        if (n == limit) {
  ------------------
  |  Branch (1287:13): [True: 0, False: 0]
  ------------------
 1288|      0|            self->pos = n;
 1289|      0|            break;
 1290|      0|        }
 1291|      0|        if (PyList_Append(chunks, res) < 0) {
  ------------------
  |  Branch (1291:13): [True: 0, False: 0]
  ------------------
 1292|      0|            Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1293|      0|            goto end;
 1294|      0|        }
 1295|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1296|      0|        if (limit >= 0)
  ------------------
  |  Branch (1296:13): [True: 0, False: 0]
  ------------------
 1297|      0|            limit -= n;
 1298|      0|    }
 1299|      4|found:
 1300|      4|    if (res != NULL && PyList_Append(chunks, res) < 0) {
  ------------------
  |  Branch (1300:9): [True: 4, False: 0]
  |  Branch (1300:24): [True: 0, False: 4]
  ------------------
 1301|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1302|      0|        goto end;
 1303|      0|    }
 1304|      4|    Py_XSETREF(res, PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks));
  ------------------
  |  |  374|      4|    do { \
  |  |  375|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      4|        *_tmp_dst_ptr = (src); \
  |  |  378|      4|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1305|       |
 1306|      4|end:
 1307|      4|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      4|    do { \
  |  |  336|      4|        self->owner = 0; \
  |  |  337|      4|        PyThread_release_lock(self->lock); \
  |  |  338|      4|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1308|      8|end_unlocked:
 1309|      8|    Py_XDECREF(chunks);
  ------------------
  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|      8|    return res;
 1311|      4|}
bufferedio.c:buffered_closed:
  522|     16|{
  523|     16|    int closed;
  524|     16|    PyObject *res;
  525|     16|    CHECK_INITIALIZED_INT(self)
  ------------------
  |  |  353|     16|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (353:9): [True: 0, False: 16]
  |  |  ------------------
  |  |  354|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (354:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  355|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  356|      0|                 "raw stream has been detached"); \
  |  |  357|      0|        } else { \
  |  |  358|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  359|      0|                "I/O operation on uninitialized object"); \
  |  |  360|      0|        } \
  |  |  361|      0|        return -1; \
  |  |  362|      0|    }
  ------------------
  526|     16|    res = PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  919|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|     16|    if (res == NULL)
  ------------------
  |  Branch (527:9): [True: 0, False: 16]
  ------------------
  528|      0|        return -1;
  529|     16|    closed = PyObject_IsTrue(res);
  530|     16|    Py_DECREF(res);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|     16|    return closed;
  532|     16|}
bufferedio.c:buffered_flush_and_rewind_unlocked:
  909|      6|{
  910|      6|    PyObject *res;
  911|       |
  912|      6|    res = _bufferedwriter_flush_unlocked(self);
  913|      6|    if (res == NULL)
  ------------------
  |  Branch (913:9): [True: 0, False: 6]
  ------------------
  914|      0|        return NULL;
  915|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|       |
  917|      6|    if (self->readable) {
  ------------------
  |  Branch (917:9): [True: 0, False: 6]
  ------------------
  918|       |        /* Rewind the raw stream so that its position corresponds to
  919|       |           the current logical position. */
  920|      0|        Py_off_t n;
  921|      0|        n = _buffered_raw_seek(self, -RAW_OFFSET(self), 1);
  ------------------
  |  |  402|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  922|      0|        _bufferedreader_reset_buf(self);
  923|      0|        if (n == -1)
  ------------------
  |  Branch (923:13): [True: 0, False: 0]
  ------------------
  924|      0|            return NULL;
  925|      0|    }
  926|      6|    Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  927|      6|}
bufferedio.c:_bufferedwriter_flush_unlocked:
 2025|      6|{
 2026|      6|    Py_off_t n, rewind;
 2027|       |
 2028|      6|    if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end)
  ------------------
  |  |  388|     12|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 6, False: 0]
  |  |  |  Branch (388:24): [True: 4, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2028:38): [True: 0, False: 4]
  ------------------
 2029|      2|        goto end;
 2030|       |    /* First, rewind */
 2031|      4|    rewind = RAW_OFFSET(self) + (self->pos - self->write_pos);
  ------------------
  |  |  402|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 4]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      4|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 2032|      4|    if (rewind != 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 4]
  ------------------
 2033|      0|        n = _buffered_raw_seek(self, -rewind, 1);
 2034|      0|        if (n < 0) {
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  ------------------
 2035|      0|            goto error;
 2036|      0|        }
 2037|      0|        self->raw_pos -= rewind;
 2038|      0|    }
 2039|      8|    while (self->write_pos < self->write_end) {
  ------------------
  |  Branch (2039:12): [True: 4, False: 4]
  ------------------
 2040|      4|        n = _bufferedwriter_raw_write(self,
 2041|      4|            self->buffer + self->write_pos,
 2042|      4|            Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|      4|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2043|      4|                             Py_off_t, Py_ssize_t));
 2044|      4|        if (n == -1) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 4]
  ------------------
 2045|      0|            goto error;
 2046|      0|        }
 2047|      4|        else if (n == -2) {
  ------------------
  |  Branch (2047:18): [True: 0, False: 4]
  ------------------
 2048|      0|            _set_BlockingIOError("write could not complete without blocking",
 2049|      0|                                 0);
 2050|      0|            goto error;
 2051|      0|        }
 2052|      4|        self->write_pos += n;
 2053|      4|        self->raw_pos = self->write_pos;
 2054|       |        /* Partial writes can return successfully when interrupted by a
 2055|       |           signal (see write(2)).  We must run signal handlers before
 2056|       |           blocking another time, possibly indefinitely. */
 2057|      4|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2057:13): [True: 0, False: 4]
  ------------------
 2058|      0|            goto error;
 2059|      4|    }
 2060|       |
 2061|       |
 2062|      6|end:
 2063|       |    /* This ensures that after return from this function,
 2064|       |       VALID_WRITE_BUFFER(self) returns false.
 2065|       |
 2066|       |       This is a required condition because when a tell() is called
 2067|       |       after flushing and if VALID_READ_BUFFER(self) is false, we need
 2068|       |       VALID_WRITE_BUFFER(self) to be false to have
 2069|       |       RAW_OFFSET(self) == 0.
 2070|       |
 2071|       |       Issue: https://bugs.python.org/issue32228 */
 2072|      6|    _bufferedwriter_reset_buf(self);
 2073|      6|    Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2074|       |
 2075|      0|error:
 2076|       |    return NULL;
 2077|      4|}
bufferedio.c:_bufferedwriter_raw_write:
 1978|      4|{
 1979|      4|    Py_buffer buf;
 1980|      4|    PyObject *memobj, *res;
 1981|      4|    Py_ssize_t n;
 1982|      4|    int errnum;
 1983|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1984|      4|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
  ------------------
  |  |  125|      4|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|      4|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1984:9): [True: 0, False: 4]
  ------------------
 1985|      0|        return -1;
 1986|      4|    memobj = PyMemoryView_FromBuffer(&buf);
 1987|      4|    if (memobj == NULL)
  ------------------
  |  Branch (1987:9): [True: 0, False: 4]
  ------------------
 1988|      0|        return -1;
 1989|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1990|       |       occurs so we needn't do it ourselves.
 1991|       |       We then retry writing, ignoring the signal if no handler has
 1992|       |       raised (see issue #10956).
 1993|       |    */
 1994|      4|    do {
 1995|      4|        errno = 0;
 1996|      4|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|      4|        errnum = errno;
 1998|      4|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1998:14): [True: 0, False: 4]
  |  Branch (1998:29): [True: 0, False: 0]
  ------------------
 1999|      4|    Py_DECREF(memobj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      4|    if (res == NULL)
  ------------------
  |  Branch (2000:9): [True: 0, False: 4]
  ------------------
 2001|      0|        return -1;
 2002|      4|    if (res == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2002:9): [True: 0, False: 4]
  ------------------
 2003|       |        /* Non-blocking stream would have blocked. Special return code!
 2004|       |           Being paranoid we reset errno in case it is changed by code
 2005|       |           triggered by a decref.  errno is used by _set_BlockingIOError(). */
 2006|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      0|        errno = errnum;
 2008|      0|        return -2;
 2009|      0|    }
 2010|      4|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 2011|      4|    Py_DECREF(res);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      4|    if (n < 0 || n > len) {
  ------------------
  |  Branch (2012:9): [True: 0, False: 4]
  |  Branch (2012:18): [True: 0, False: 4]
  ------------------
 2013|      0|        PyErr_Format(PyExc_OSError,
 2014|      0|                     "raw write() returned invalid length %zd "
 2015|      0|                     "(should have been between 0 and %zd)", n, len);
 2016|      0|        return -1;
 2017|      0|    }
 2018|      4|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (2018:9): [True: 4, False: 0]
  |  Branch (2018:18): [True: 4, False: 0]
  ------------------
 2019|      4|        self->abs_pos += n;
 2020|      4|    return n;
 2021|      4|}
bufferedio.c:_bufferedwriter_reset_buf:
 1926|     14|{
 1927|     14|    self->write_pos = 0;
 1928|     14|    self->write_end = -1;
 1929|     14|}
bufferedio.c:_bufferedreader_reset_buf:
 1579|  1.05k|{
 1580|  1.05k|    self->read_end = -1;
 1581|  1.05k|}
bufferedio.c:_bufferedreader_fill_buffer:
 1674|     20|{
 1675|     20|    Py_ssize_t start, len, n;
 1676|     20|    if (VALID_READ_BUFFER(self))
  ------------------
  |  |  385|     20|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 20, False: 0]
  |  |  |  Branch (385:24): [True: 16, False: 4]
  |  |  ------------------
  ------------------
 1677|     16|        start = Py_SAFE_DOWNCAST(self->read_end, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     16|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1678|      4|    else
 1679|      4|        start = 0;
 1680|     20|    len = self->buffer_size - start;
 1681|     20|    n = _bufferedreader_raw_read(self, self->buffer + start, len);
 1682|     20|    if (n <= 0)
  ------------------
  |  Branch (1682:9): [True: 12, False: 8]
  ------------------
 1683|     12|        return n;
 1684|      8|    self->read_end = start + n;
 1685|      8|    self->raw_pos = start + n;
 1686|      8|    return n;
 1687|     20|}
bufferedio.c:_bufferedreader_raw_read:
 1624|     24|{
 1625|     24|    Py_buffer buf;
 1626|     24|    PyObject *memobj, *res;
 1627|     24|    Py_ssize_t n;
 1628|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1629|     24|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1)
  ------------------
  |  |  124|     24|#define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  117|     24|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|     24|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  ------------------
  |  Branch (1629:9): [True: 0, False: 24]
  ------------------
 1630|      0|        return -1;
 1631|     24|    memobj = PyMemoryView_FromBuffer(&buf);
 1632|     24|    if (memobj == NULL)
  ------------------
  |  Branch (1632:9): [True: 0, False: 24]
  ------------------
 1633|      0|        return -1;
 1634|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1635|       |       occurs so we needn't do it ourselves.
 1636|       |       We then retry reading, ignoring the signal if no handler has
 1637|       |       raised (see issue #10956).
 1638|       |    */
 1639|     24|    do {
 1640|     24|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(readinto), memobj);
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|     24|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1641:14): [True: 0, False: 24]
  |  Branch (1641:29): [True: 0, False: 0]
  ------------------
 1642|     24|    Py_DECREF(memobj);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|     24|    if (res == NULL)
  ------------------
  |  Branch (1643:9): [True: 0, False: 24]
  ------------------
 1644|      0|        return -1;
 1645|     24|    if (res == Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1645:9): [True: 0, False: 24]
  ------------------
 1646|       |        /* Non-blocking stream would have blocked. Special return code! */
 1647|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|      0|        return -2;
 1649|      0|    }
 1650|     24|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 1651|     24|    Py_DECREF(res);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|       |
 1653|     24|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1653:9): [True: 0, False: 24]
  |  Branch (1653:20): [True: 0, False: 0]
  ------------------
 1654|      0|        _PyErr_FormatFromCause(
 1655|      0|            PyExc_OSError,
 1656|      0|            "raw readinto() failed"
 1657|      0|        );
 1658|      0|        return -1;
 1659|      0|    }
 1660|       |
 1661|     24|    if (n < 0 || n > len) {
  ------------------
  |  Branch (1661:9): [True: 0, False: 24]
  |  Branch (1661:18): [True: 0, False: 24]
  ------------------
 1662|      0|        PyErr_Format(PyExc_OSError,
 1663|      0|                     "raw readinto() returned invalid length %zd "
 1664|      0|                     "(should have been between 0 and %zd)", n, len);
 1665|      0|        return -1;
 1666|      0|    }
 1667|     24|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (1667:9): [True: 8, False: 16]
  |  Branch (1667:18): [True: 8, False: 0]
  ------------------
 1668|      8|        self->abs_pos += n;
 1669|     24|    return n;
 1670|     24|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  515|    526|{
  516|    526|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|    526|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 526]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  517|    526|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|    526|}
bufferedio.c:_io__Buffered_close_impl:
  556|    522|{
  557|    522|    PyObject *res = NULL;
  558|    522|    int r;
  559|       |
  560|    522|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|    522|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 522]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  561|    522|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|    522|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 522, False: 0]
  |  |  |  Branch (330:8): [True: 522, False: 0]
  |  |  ------------------
  |  |  331|    522|       1 : _enter_buffered_busy(self)) \
  |  |  332|    522|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 522, False: 0]
  |  |  ------------------
  ------------------
  562|      0|        return NULL;
  563|      0|    }
  564|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  565|    522|    r = IS_CLOSED(self);
  ------------------
  |  |  365|    522|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 522]
  |  |  ------------------
  |  |  366|    522|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 516, False: 6]
  |  |  ------------------
  |  |  367|    522|     ? _PyFileIO_closed(self->raw) \
  |  |  368|    522|     : buffered_closed(self)))
  ------------------
  566|    522|    if (r < 0)
  ------------------
  |  Branch (566:9): [True: 0, False: 522]
  ------------------
  567|      0|        goto end;
  568|    522|    if (r > 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 522]
  ------------------
  569|      0|        res = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|        goto end;
  571|      0|    }
  572|       |
  573|    522|    if (self->finalizing) {
  ------------------
  |  Branch (573:9): [True: 2, False: 520]
  ------------------
  574|      2|        PyObject *r = _io__Buffered__dealloc_warn_impl(self, (PyObject *)self);
  575|      2|        if (r)
  ------------------
  |  Branch (575:13): [True: 2, False: 0]
  ------------------
  576|      2|            Py_DECREF(r);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|        else
  578|      0|            PyErr_Clear();
  579|      2|    }
  580|       |    /* flush() will most probably re-take the lock, so drop it first */
  581|    522|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|    522|    do { \
  |  |  336|    522|        self->owner = 0; \
  |  |  337|    522|        PyThread_release_lock(self->lock); \
  |  |  338|    522|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 522]
  |  |  ------------------
  ------------------
  582|    522|    r = _PyFile_Flush((PyObject *)self);
  583|    522|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|    522|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 522, False: 0]
  |  |  |  Branch (330:8): [True: 522, False: 0]
  |  |  ------------------
  |  |  331|    522|       1 : _enter_buffered_busy(self)) \
  |  |  332|    522|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 522, False: 0]
  |  |  ------------------
  ------------------
  584|      0|        return NULL;
  585|      0|    }
  586|    522|    PyObject *exc = NULL;
  587|    522|    if (r < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 522]
  ------------------
  588|      0|        exc = PyErr_GetRaisedException();
  589|      0|    }
  590|       |
  591|    522|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  919|    522|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    522|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    522|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|    522|    if (self->buffer) {
  ------------------
  |  Branch (593:9): [True: 522, False: 0]
  ------------------
  594|    522|        PyMem_Free(self->buffer);
  595|    522|        self->buffer = NULL;
  596|    522|    }
  597|       |
  598|    522|    if (exc != NULL) {
  ------------------
  |  Branch (598:9): [True: 0, False: 522]
  ------------------
  599|      0|        _PyErr_ChainExceptions1(exc);
  600|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  601|      0|    }
  602|       |
  603|    522|    self->read_end = 0;
  604|    522|    self->pos = 0;
  605|       |
  606|    522|end:
  607|    522|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|    522|    do { \
  |  |  336|    522|        self->owner = 0; \
  |  |  337|    522|        PyThread_release_lock(self->lock); \
  |  |  338|    522|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 522]
  |  |  ------------------
  ------------------
  608|    522|    return res;
  609|    522|}
bufferedio.c:_io__Buffered__dealloc_warn_impl:
  488|      2|{
  489|      2|    if (self->ok && self->raw) {
  ------------------
  |  Branch (489:9): [True: 2, False: 0]
  |  Branch (489:21): [True: 2, False: 0]
  ------------------
  490|      2|        PyObject *r;
  491|      2|        r = PyObject_CallMethodOneArg(self->raw, &_Py_ID(_dealloc_warn), source);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      2|        if (r)
  ------------------
  |  Branch (492:13): [True: 0, False: 2]
  ------------------
  493|      0|            Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|      2|        else
  495|      2|            PyErr_Clear();
  496|      2|    }
  497|      2|    Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  498|      2|}
bufferedio.c:_io__Buffered_seekable_impl:
  642|     14|{
  643|     14|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     14|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 14]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  644|     14|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|     14|}
bufferedio.c:_io__Buffered_readable_impl:
  655|     10|{
  656|     10|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     10|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  657|     10|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     10|}
bufferedio.c:_io__Buffered_read_impl:
  994|    578|{
  995|    578|    PyObject *res;
  996|       |
  997|    578|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|    578|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 578]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  998|    578|    if (n < -1) {
  ------------------
  |  Branch (998:9): [True: 0, False: 578]
  ------------------
  999|      0|        PyErr_SetString(PyExc_ValueError,
 1000|      0|                        "read length must be non-negative or -1");
 1001|      0|        return NULL;
 1002|      0|    }
 1003|       |
 1004|    578|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|    578|    do { \
  |  |  372|    578|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|    578|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 578]
  |  |  |  |  ------------------
  |  |  |  |  366|    578|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 574, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  367|    578|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|    578|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|    578|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 578]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|    578|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 578]
  |  |  ------------------
  |  |  377|    578|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|    578|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|    578|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 578]
  |  |  ------------------
  ------------------
 1005|       |
 1006|    578|    if (n == -1) {
  ------------------
  |  Branch (1006:9): [True: 510, False: 68]
  ------------------
 1007|       |        /* The number of bytes is unspecified, read until the end of stream */
 1008|    510|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|    510|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 510, False: 0]
  |  |  |  Branch (330:8): [True: 510, False: 0]
  |  |  ------------------
  |  |  331|    510|       1 : _enter_buffered_busy(self)) \
  |  |  332|    510|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 510, False: 0]
  |  |  ------------------
  ------------------
 1009|      0|            return NULL;
 1010|    510|        res = _bufferedreader_read_all(self);
 1011|    510|    }
 1012|     68|    else {
 1013|     68|        res = _bufferedreader_read_fast(self, n);
 1014|     68|        if (res != Py_None)
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1014:13): [True: 52, False: 16]
  ------------------
 1015|     52|            return res;
 1016|     16|        Py_DECREF(res);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|     16|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     16|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 16, False: 0]
  |  |  |  Branch (330:8): [True: 16, False: 0]
  |  |  ------------------
  |  |  331|     16|       1 : _enter_buffered_busy(self)) \
  |  |  332|     16|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 16, False: 0]
  |  |  ------------------
  ------------------
 1018|      0|            return NULL;
 1019|     16|        res = _bufferedreader_read_generic(self, n);
 1020|     16|    }
 1021|       |
 1022|    526|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|    526|    do { \
  |  |  336|    526|        self->owner = 0; \
  |  |  337|    526|        PyThread_release_lock(self->lock); \
  |  |  338|    526|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 526]
  |  |  ------------------
  ------------------
 1023|    526|    return res;
 1024|    578|}
bufferedio.c:_bufferedreader_read_all:
 1691|    510|{
 1692|    510|    Py_ssize_t current_size;
 1693|    510|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1694|       |
 1695|       |    /* First copy what we have in the current buffer. */
 1696|    510|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|    510|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  3.06k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 510, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 0, False: 510]
  |  |  |  |  |  Branch (34:47): [True: 510, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|    510|    if (current_size) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 510]
  ------------------
 1698|      0|        data = PyBytes_FromStringAndSize(
 1699|      0|            self->buffer + self->pos, current_size);
 1700|      0|        if (data == NULL)
  ------------------
  |  Branch (1700:13): [True: 0, False: 0]
  ------------------
 1701|      0|            return NULL;
 1702|      0|        self->pos += current_size;
 1703|      0|    }
 1704|       |    /* We're going past the buffer's bounds, flush it */
 1705|    510|    if (self->writable) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 510]
  ------------------
 1706|      0|        tmp = buffered_flush_and_rewind_unlocked(self);
 1707|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1707:13): [True: 0, False: 0]
  ------------------
 1708|      0|            goto cleanup;
 1709|      0|        Py_CLEAR(tmp);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1710|      0|    }
 1711|    510|    _bufferedreader_reset_buf(self);
 1712|       |
 1713|    510|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  919|    510|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    510|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    510|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1713:9): [True: 0, False: 510]
  ------------------
 1714|      0|        goto cleanup;
 1715|      0|    }
 1716|    510|    if (readall) {
  ------------------
  |  Branch (1716:9): [True: 510, False: 0]
  ------------------
 1717|    510|        tmp = _PyObject_CallNoArgs(readall);
 1718|    510|        Py_DECREF(readall);
  ------------------
  |  |  430|    510|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|    510|        if (tmp == NULL)
  ------------------
  |  Branch (1719:13): [True: 0, False: 510]
  ------------------
 1720|      0|            goto cleanup;
 1721|    510|        if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |  616|  1.02k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |   28|    510|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    510|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1721:13): [True: 510, False: 0]
  |  Branch (1721:31): [True: 0, False: 510]
  ------------------
 1722|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1723|      0|            goto cleanup;
 1724|      0|        }
 1725|    510|        if (current_size == 0) {
  ------------------
  |  Branch (1725:13): [True: 510, False: 0]
  ------------------
 1726|    510|            res = tmp;
 1727|    510|        } else {
 1728|      0|            if (tmp != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1728:17): [True: 0, False: 0]
  ------------------
 1729|      0|                PyBytes_Concat(&data, tmp);
 1730|      0|            }
 1731|      0|            res = data;
 1732|      0|        }
 1733|    510|        goto cleanup;
 1734|    510|    }
 1735|       |
 1736|      0|    chunks = PyList_New(0);
 1737|      0|    if (chunks == NULL)
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  ------------------
 1738|      0|        goto cleanup;
 1739|       |
 1740|      0|    while (1) {
  ------------------
  |  Branch (1740:12): [True: 0, Folded]
  ------------------
 1741|      0|        if (data) {
  ------------------
  |  Branch (1741:13): [True: 0, False: 0]
  ------------------
 1742|      0|            if (PyList_Append(chunks, data) < 0)
  ------------------
  |  Branch (1742:17): [True: 0, False: 0]
  ------------------
 1743|      0|                goto cleanup;
 1744|      0|            Py_CLEAR(data);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1745|      0|        }
 1746|       |
 1747|       |        /* Read until EOF or until read() would block. */
 1748|      0|        data = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(read));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|      0|        if (data == NULL)
  ------------------
  |  Branch (1749:13): [True: 0, False: 0]
  ------------------
 1750|      0|            goto cleanup;
 1751|      0|        if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1751:13): [True: 0, False: 0]
  |  Branch (1751:32): [True: 0, False: 0]
  ------------------
 1752|      0|            PyErr_SetString(PyExc_TypeError, "read() should return bytes");
 1753|      0|            goto cleanup;
 1754|      0|        }
 1755|      0|        if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1755:13): [True: 0, False: 0]
  |  Branch (1755:32): [True: 0, False: 0]
  ------------------
 1756|      0|            if (current_size == 0) {
  ------------------
  |  Branch (1756:17): [True: 0, False: 0]
  ------------------
 1757|      0|                res = data;
 1758|      0|                goto cleanup;
 1759|      0|            }
 1760|      0|            else {
 1761|      0|                tmp = PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1762|      0|                res = tmp;
 1763|      0|                goto cleanup;
 1764|      0|            }
 1765|      0|        }
 1766|      0|        current_size += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      0|        if (self->abs_pos != -1)
  ------------------
  |  Branch (1767:13): [True: 0, False: 0]
  ------------------
 1768|      0|            self->abs_pos += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|      0|    }
 1770|    510|cleanup:
 1771|       |    /* res is either NULL or a borrowed ref */
 1772|    510|    Py_XINCREF(res);
  ------------------
  |  |  514|    510|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|    510|    Py_XDECREF(data);
  ------------------
  |  |  524|    510|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|    510|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    510|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|    510|    Py_XDECREF(chunks);
  ------------------
  |  |  524|    510|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|    510|    return res;
 1777|      0|}
bufferedio.c:_bufferedreader_read_fast:
 1783|    110|{
 1784|    110|    Py_ssize_t current_size;
 1785|       |
 1786|    110|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|    110|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    660|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 110, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 106, False: 4]
  |  |  |  |  |  Branch (34:47): [True: 110, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|    110|    if (n <= current_size) {
  ------------------
  |  Branch (1787:9): [True: 94, False: 16]
  ------------------
 1788|       |        /* Fast path: the data to read is fully buffered. */
 1789|     94|        PyObject *res = PyBytes_FromStringAndSize(self->buffer + self->pos, n);
 1790|     94|        if (res != NULL)
  ------------------
  |  Branch (1790:13): [True: 94, False: 0]
  ------------------
 1791|     94|            self->pos += n;
 1792|     94|        return res;
 1793|     94|    }
 1794|     16|    Py_RETURN_NONE;
  ------------------
  |  |  628|     16|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1795|    110|}
bufferedio.c:_bufferedreader_read_generic:
 1802|     16|{
 1803|     16|    Py_ssize_t current_size, remaining, written;
 1804|       |
 1805|     16|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     16|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     96|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 16, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 12, False: 4]
  |  |  |  |  |  Branch (34:47): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|     16|    if (n <= current_size)
  ------------------
  |  Branch (1806:9): [True: 0, False: 16]
  ------------------
 1807|      0|        return _bufferedreader_read_fast(self, n);
 1808|       |
 1809|     16|    PyBytesWriter *writer = PyBytesWriter_Create(n);
 1810|     16|    if (writer == NULL) {
  ------------------
  |  Branch (1810:9): [True: 0, False: 16]
  ------------------
 1811|      0|        goto error;
 1812|      0|    }
 1813|     16|    char *out = PyBytesWriter_GetData(writer);
 1814|       |
 1815|     16|    remaining = n;
 1816|     16|    written = 0;
 1817|     16|    if (current_size > 0) {
  ------------------
  |  Branch (1817:9): [True: 4, False: 12]
  ------------------
 1818|      4|        memcpy(out, self->buffer + self->pos, current_size);
 1819|      4|        remaining -= current_size;
 1820|      4|        written += current_size;
 1821|      4|        self->pos += current_size;
 1822|      4|    }
 1823|       |    /* Flush the write buffer if necessary */
 1824|     16|    if (self->writable) {
  ------------------
  |  Branch (1824:9): [True: 0, False: 16]
  ------------------
 1825|      0|        PyObject *r = buffered_flush_and_rewind_unlocked(self);
 1826|      0|        if (r == NULL)
  ------------------
  |  Branch (1826:13): [True: 0, False: 0]
  ------------------
 1827|      0|            goto error;
 1828|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|      0|    }
 1830|     16|    _bufferedreader_reset_buf(self);
 1831|     16|    while (remaining > 0) {
  ------------------
  |  Branch (1831:12): [True: 16, False: 0]
  ------------------
 1832|       |        /* We want to read a whole block at the end into buffer.
 1833|       |           If we had readv() we could do this in one pass. */
 1834|     16|        Py_ssize_t r = MINUS_LAST_BLOCK(self, remaining);
  ------------------
  |  |  409|     16|    (self->buffer_mask ? \
  |  |  ------------------
  |  |  |  Branch (409:6): [True: 16, False: 0]
  |  |  ------------------
  |  |  410|     16|        (size & ~self->buffer_mask) : \
  |  |  411|     16|        (self->buffer_size * (size / self->buffer_size)))
  ------------------
 1835|     16|        if (r == 0)
  ------------------
  |  Branch (1835:13): [True: 16, False: 0]
  ------------------
 1836|     16|            break;
 1837|      0|        r = _bufferedreader_raw_read(self, out + written, r);
 1838|      0|        if (r == -1)
  ------------------
  |  Branch (1838:13): [True: 0, False: 0]
  ------------------
 1839|      0|            goto error;
 1840|      0|        if (r == 0 || r == -2) {
  ------------------
  |  Branch (1840:13): [True: 0, False: 0]
  |  Branch (1840:23): [True: 0, False: 0]
  ------------------
 1841|       |            /* EOF occurred or read() would block. */
 1842|      0|            if (r == 0 || written > 0) {
  ------------------
  |  Branch (1842:17): [True: 0, False: 0]
  |  Branch (1842:27): [True: 0, False: 0]
  ------------------
 1843|      0|                return PyBytesWriter_FinishWithSize(writer, written);
 1844|      0|            }
 1845|      0|            PyBytesWriter_Discard(writer);
 1846|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1847|      0|        }
 1848|      0|        remaining -= r;
 1849|      0|        written += r;
 1850|      0|    }
 1851|     16|    assert(remaining <= self->buffer_size);
 1852|     16|    self->pos = 0;
 1853|     16|    self->raw_pos = 0;
 1854|     16|    self->read_end = 0;
 1855|       |    /* NOTE: when the read is satisfied, we avoid issuing any additional
 1856|       |       reads, which could block indefinitely (e.g. on a socket).
 1857|       |       See issue #9550. */
 1858|     16|    while (remaining > 0 && self->read_end < self->buffer_size) {
  ------------------
  |  Branch (1858:12): [True: 16, False: 0]
  |  Branch (1858:29): [True: 16, False: 0]
  ------------------
 1859|     16|        Py_ssize_t r = _bufferedreader_fill_buffer(self);
 1860|     16|        if (r == -1)
  ------------------
  |  Branch (1860:13): [True: 0, False: 16]
  ------------------
 1861|      0|            goto error;
 1862|     16|        if (r == 0 || r == -2) {
  ------------------
  |  Branch (1862:13): [True: 12, False: 4]
  |  Branch (1862:23): [True: 0, False: 4]
  ------------------
 1863|       |            /* EOF occurred or read() would block. */
 1864|     12|            if (r == 0 || written > 0) {
  ------------------
  |  Branch (1864:17): [True: 12, False: 0]
  |  Branch (1864:27): [True: 0, False: 0]
  ------------------
 1865|     12|                return PyBytesWriter_FinishWithSize(writer, written);
 1866|     12|            }
 1867|      0|            PyBytesWriter_Discard(writer);
 1868|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1869|     12|        }
 1870|      4|        if (remaining > r) {
  ------------------
  |  Branch (1870:13): [True: 0, False: 4]
  ------------------
 1871|      0|            memcpy(out + written, self->buffer + self->pos, r);
 1872|      0|            written += r;
 1873|      0|            self->pos += r;
 1874|      0|            remaining -= r;
 1875|      0|        }
 1876|      4|        else if (remaining > 0) {
  ------------------
  |  Branch (1876:18): [True: 4, False: 0]
  ------------------
 1877|      4|            memcpy(out + written, self->buffer + self->pos, remaining);
 1878|      4|            written += remaining;
 1879|      4|            self->pos += remaining;
 1880|      4|            remaining = 0;
 1881|      4|        }
 1882|      4|        if (remaining == 0)
  ------------------
  |  Branch (1882:13): [True: 4, False: 0]
  ------------------
 1883|      4|            break;
 1884|      4|    }
 1885|       |
 1886|      4|    return PyBytesWriter_Finish(writer);
 1887|       |
 1888|      0|error:
 1889|      0|    PyBytesWriter_Discard(writer);
 1890|       |    return NULL;
 1891|     16|}
bufferedio.c:_io__Buffered_read1_impl:
 1036|     46|{
 1037|     46|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     46|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 46]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 1038|     46|    if (n < 0) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 46]
  ------------------
 1039|      0|        n = self->buffer_size;
 1040|      0|    }
 1041|       |
 1042|     46|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|     46|    do { \
  |  |  372|     46|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|     46|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  366|     46|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|     46|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|     46|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|     46|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 46]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|     46|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 46]
  |  |  ------------------
  |  |  377|     46|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|     46|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|     46|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 46]
  |  |  ------------------
  ------------------
 1043|       |
 1044|     46|    if (n == 0) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 46]
  ------------------
 1045|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1046|      0|    }
 1047|       |
 1048|       |    /* Return up to n bytes.  If at least one byte is buffered, we
 1049|       |       only return buffered bytes.  Otherwise, we do one raw read. */
 1050|       |
 1051|     46|    Py_ssize_t have = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     46|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    276|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 46, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 46, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|     46|    if (have > 0) {
  ------------------
  |  Branch (1052:9): [True: 42, False: 4]
  ------------------
 1053|     42|        n = Py_MIN(have, n);
  ------------------
  |  |  112|     42|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 38, False: 4]
  |  |  ------------------
  ------------------
 1054|     42|        PyObject *res = _bufferedreader_read_fast(self, n);
 1055|     42|        assert(res != Py_None);
 1056|     42|        return res;
 1057|     42|    }
 1058|       |
 1059|      4|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|      4|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4, False: 0]
  |  |  |  Branch (330:8): [True: 4, False: 0]
  |  |  ------------------
  |  |  331|      4|       1 : _enter_buffered_busy(self)) \
  |  |  332|      4|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1060|      0|        return NULL;
 1061|      0|    }
 1062|       |
 1063|       |    /* Flush the write buffer if necessary */
 1064|      4|    if (self->writable) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 4]
  ------------------
 1065|      0|        PyObject *res = buffered_flush_and_rewind_unlocked(self);
 1066|      0|        if (res == NULL) {
  ------------------
  |  Branch (1066:13): [True: 0, False: 0]
  ------------------
 1067|      0|            LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      0|    do { \
  |  |  336|      0|        self->owner = 0; \
  |  |  337|      0|        PyThread_release_lock(self->lock); \
  |  |  338|      0|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1068|      0|            return NULL;
 1069|      0|        }
 1070|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|      0|    }
 1072|      4|    _bufferedreader_reset_buf(self);
 1073|       |
 1074|      4|    PyBytesWriter *writer = PyBytesWriter_Create(n);
 1075|      4|    if (writer == NULL) {
  ------------------
  |  Branch (1075:9): [True: 0, False: 4]
  ------------------
 1076|      0|        LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      0|    do { \
  |  |  336|      0|        self->owner = 0; \
  |  |  337|      0|        PyThread_release_lock(self->lock); \
  |  |  338|      0|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1077|      0|        return NULL;
 1078|      0|    }
 1079|       |
 1080|      4|    Py_ssize_t r = _bufferedreader_raw_read(self,
 1081|      4|                                            PyBytesWriter_GetData(writer), n);
 1082|      4|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      4|    do { \
  |  |  336|      4|        self->owner = 0; \
  |  |  337|      4|        PyThread_release_lock(self->lock); \
  |  |  338|      4|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1083|      4|    if (r == -1) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 4]
  ------------------
 1084|      0|        PyBytesWriter_Discard(writer);
 1085|      0|        return NULL;
 1086|      0|    }
 1087|      4|    if (r == -2) {
  ------------------
  |  Branch (1087:9): [True: 0, False: 4]
  ------------------
 1088|      0|        r = 0;
 1089|      0|    }
 1090|       |
 1091|      4|    return PyBytesWriter_FinishWithSize(writer, r);
 1092|      4|}
bufferedio.c:_io__Buffered_readline_impl:
 1323|      8|{
 1324|      8|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      8|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 8]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 1325|      8|    return _buffered_readline(self, size);
 1326|      8|}
bufferedio.c:_io__Buffered_seek_impl:
 1364|      4|{
 1365|      4|    Py_off_t target, n;
 1366|      4|    PyObject *res = NULL;
 1367|       |
 1368|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 1369|       |
 1370|       |    /* Do some error checking instead of trusting OS 'seek()'
 1371|       |    ** error detection, just in case.
 1372|       |    */
 1373|      4|    if ((whence < 0 || whence >2)
  ------------------
  |  Branch (1373:10): [True: 0, False: 4]
  |  Branch (1373:24): [True: 0, False: 4]
  ------------------
 1374|      0|#ifdef SEEK_HOLE
 1375|      0|        && (whence != SEEK_HOLE)
  ------------------
  |  Branch (1375:12): [True: 0, False: 0]
  ------------------
 1376|      0|#endif
 1377|      0|#ifdef SEEK_DATA
 1378|      0|        && (whence != SEEK_DATA)
  ------------------
  |  Branch (1378:12): [True: 0, False: 0]
  ------------------
 1379|      4|#endif
 1380|      4|        ) {
 1381|      0|        PyErr_Format(PyExc_ValueError,
 1382|      0|                     "whence value %d unsupported", whence);
 1383|      0|        return NULL;
 1384|      0|    }
 1385|       |
 1386|      4|    CHECK_CLOSED(self, "seek of closed file")
  ------------------
  |  |  371|      4|    do { \
  |  |  372|      4|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|      4|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  366|      4|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|      4|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|      4|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|      4|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|      4|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  377|      4|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|      4|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|      4|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1387|       |
 1388|      4|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|      4|    if (_PyIOBase_check_seekable(state, self->raw, Py_True) == NULL) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1389:9): [True: 0, False: 4]
  ------------------
 1390|      0|        return NULL;
 1391|      0|    }
 1392|       |
 1393|      4|    target = PyNumber_AsOff_t(targetobj, PyExc_ValueError);
 1394|      4|    if (target == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1394:9): [True: 0, False: 4]
  |  Branch (1394:25): [True: 0, False: 0]
  ------------------
 1395|      0|        return NULL;
 1396|       |
 1397|       |    /* SEEK_SET and SEEK_CUR are special because we could seek inside the
 1398|       |       buffer. Other whence values must be managed without this optimization.
 1399|       |       Some Operating Systems can provide additional values, like
 1400|       |       SEEK_HOLE/SEEK_DATA. */
 1401|      4|    if (((whence == 0) || (whence == 1)) && self->readable) {
  ------------------
  |  Branch (1401:10): [True: 4, False: 0]
  |  Branch (1401:27): [True: 0, False: 0]
  |  Branch (1401:45): [True: 4, False: 0]
  ------------------
 1402|      4|        Py_off_t current, avail;
 1403|       |        /* Check if seeking leaves us inside the current buffer,
 1404|       |           so as to return quickly if possible. Also, we needn't take the
 1405|       |           lock in this fast path.
 1406|       |           Don't know how to do that when whence == 2, though. */
 1407|       |        /* NOTE: RAW_TELL() can release the GIL but the object is in a stable
 1408|       |           state at this point. */
 1409|      4|        current = RAW_TELL(self);
  ------------------
  |  |  406|      4|    (self->abs_pos != -1 ? self->abs_pos : _buffered_raw_tell(self))
  |  |  ------------------
  |  |  |  Branch (406:6): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1410|      4|        avail = READAHEAD(self);
  ------------------
  |  |  398|      4|    ((self->readable && VALID_READ_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      4|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (398:7): [True: 4, False: 0]
  |  |  ------------------
  |  |  399|      4|        ? (self->read_end - self->pos) : 0)
  ------------------
 1411|      4|        if (avail > 0) {
  ------------------
  |  Branch (1411:13): [True: 4, False: 0]
  ------------------
 1412|      4|            Py_off_t offset;
 1413|      4|            if (whence == 0)
  ------------------
  |  Branch (1413:17): [True: 4, False: 0]
  ------------------
 1414|      4|                offset = target - (current - RAW_OFFSET(self));
  ------------------
  |  |  402|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1415|      0|            else
 1416|      0|                offset = target;
 1417|      4|            if (offset >= -self->pos && offset <= avail) {
  ------------------
  |  Branch (1417:17): [True: 4, False: 0]
  |  Branch (1417:41): [True: 4, False: 0]
  ------------------
 1418|      4|                self->pos += offset;
 1419|       |
 1420|       |                // GH-95782
 1421|      4|                if (current - avail + offset < 0)
  ------------------
  |  Branch (1421:21): [True: 0, False: 4]
  ------------------
 1422|      0|                    return PyLong_FromOff_t(0);
  ------------------
  |  |  112|      0|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1423|       |
 1424|      4|                return PyLong_FromOff_t(current - avail + offset);
  ------------------
  |  |  112|      4|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1425|      4|            }
 1426|      4|        }
 1427|      4|    }
 1428|       |
 1429|      0|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      0|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 0, False: 0]
  |  |  |  Branch (330:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  331|      0|       1 : _enter_buffered_busy(self)) \
  |  |  332|      0|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1430|      0|        return NULL;
 1431|       |
 1432|       |    /* Fallback: invoke raw seek() method and clear buffer */
 1433|      0|    if (self->writable) {
  ------------------
  |  Branch (1433:9): [True: 0, False: 0]
  ------------------
 1434|      0|        res = _bufferedwriter_flush_unlocked(self);
 1435|      0|        if (res == NULL)
  ------------------
  |  Branch (1435:13): [True: 0, False: 0]
  ------------------
 1436|      0|            goto end;
 1437|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1438|      0|    }
 1439|       |
 1440|       |    /* TODO: align on block boundary and read buffer if needed? */
 1441|      0|    if (whence == 1)
  ------------------
  |  Branch (1441:9): [True: 0, False: 0]
  ------------------
 1442|      0|        target -= RAW_OFFSET(self);
  ------------------
  |  |  402|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1443|      0|    n = _buffered_raw_seek(self, target, whence);
 1444|      0|    if (n == -1)
  ------------------
  |  Branch (1444:9): [True: 0, False: 0]
  ------------------
 1445|      0|        goto end;
 1446|      0|    self->raw_pos = -1;
 1447|      0|    res = PyLong_FromOff_t(n);
  ------------------
  |  |  112|      0|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1448|      0|    if (res != NULL && self->readable)
  ------------------
  |  Branch (1448:9): [True: 0, False: 0]
  |  Branch (1448:24): [True: 0, False: 0]
  ------------------
 1449|      0|        _bufferedreader_reset_buf(self);
 1450|       |
 1451|      0|end:
 1452|      0|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      0|    do { \
  |  |  336|      0|        self->owner = 0; \
  |  |  337|      0|        PyThread_release_lock(self->lock); \
  |  |  338|      0|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1453|      0|    return res;
 1454|      0|}
bufferedio.c:_buffered_raw_tell:
  785|    532|{
  786|    532|    Py_off_t n;
  787|    532|    PyObject *res;
  788|    532|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  919|    532|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    532|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    532|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|    532|    if (res == NULL)
  ------------------
  |  Branch (789:9): [True: 2, False: 530]
  ------------------
  790|      2|        return -1;
  791|    530|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  792|    530|    Py_DECREF(res);
  ------------------
  |  |  430|    530|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    530|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    530|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|    530|    if (n < 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 530]
  ------------------
  794|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  ------------------
  795|      0|            PyErr_Format(PyExc_OSError,
  796|      0|                         "Raw stream returned invalid position %" PY_PRIdOFF,
  ------------------
  |  |  116|      0|# define PY_PRIdOFF         "zd"
  ------------------
  797|      0|                         (PY_OFF_T_COMPAT)n);
  798|      0|        return -1;
  799|      0|    }
  800|    530|    self->abs_pos = n;
  801|    530|    return n;
  802|    530|}
bufferedio.c:_io__Buffered_tell_impl:
 1337|      4|{
 1338|      4|    Py_off_t pos;
 1339|       |
 1340|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 1341|      4|    pos = _buffered_raw_tell(self);
 1342|      4|    if (pos == -1)
  ------------------
  |  Branch (1342:9): [True: 0, False: 4]
  ------------------
 1343|      0|        return NULL;
 1344|      4|    pos -= RAW_OFFSET(self);
  ------------------
  |  |  402|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 4]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      4|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1345|       |
 1346|       |    // GH-95782
 1347|      4|    if (pos < 0)
  ------------------
  |  Branch (1347:9): [True: 0, False: 4]
  ------------------
 1348|      0|        pos = 0;
 1349|       |
 1350|      4|    return PyLong_FromOff_t(pos);
  ------------------
  |  |  112|      4|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1351|      4|}
bufferedio.c:_io__Buffered_closed_get_impl:
  543|  1.05k|{
  544|  1.05k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  1.05k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 1.05k]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  545|  1.05k|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  919|  1.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|  1.05k|}
bufferedio.c:_io__Buffered_name_get_impl:
  683|      4|{
  684|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  685|      4|    return PyObject_GetAttr(self->raw, &_Py_ID(name));
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|      4|}
bufferedio.c:_io__Buffered_mode_get_impl:
  697|      2|{
  698|      2|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      2|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  699|      2|    return PyObject_GetAttr(self->raw, &_Py_ID(mode));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|      2|}
bufferedio.c:_io_BufferedReader___init___impl:
 1595|    520|{
 1596|    520|    self->ok = 0;
 1597|    520|    self->detached = 0;
 1598|       |
 1599|    520|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|    520|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|    520|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|    520|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1600:9): [True: 0, False: 520]
  ------------------
 1601|      0|        return -1;
 1602|      0|    }
 1603|       |
 1604|    520|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  374|    520|    do { \
  |  |  375|    520|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    520|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    520|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    520|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    520|        *_tmp_dst_ptr = (src); \
  |  |  378|    520|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    520|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    520|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 520]
  |  |  ------------------
  ------------------
 1605|    520|    self->buffer_size = buffer_size;
 1606|    520|    self->readable = 1;
 1607|    520|    self->writable = 0;
 1608|       |
 1609|    520|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1609:9): [True: 0, False: 520]
  ------------------
 1610|      0|        return -1;
 1611|    520|    _bufferedreader_reset_buf(self);
 1612|       |
 1613|    520|    self->fast_closed_checks = (
 1614|    520|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|  1.04k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 520, False: 0]
  |  |  ------------------
  ------------------
 1615|    520|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|    520|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 516, False: 4]
  |  |  ------------------
  ------------------
 1616|    520|    );
 1617|       |
 1618|    520|    self->ok = 1;
 1619|    520|    return 0;
 1620|    520|}
bufferedio.c:_buffered_init:
  839|    528|{
  840|    528|    Py_ssize_t n;
  841|    528|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (841:9): [True: 0, False: 528]
  ------------------
  842|      0|        PyErr_SetString(PyExc_ValueError,
  843|      0|            "buffer size must be strictly positive");
  844|      0|        return -1;
  845|      0|    }
  846|    528|    if (self->buffer)
  ------------------
  |  Branch (846:9): [True: 0, False: 528]
  ------------------
  847|      0|        PyMem_Free(self->buffer);
  848|    528|    self->buffer = PyMem_Malloc(self->buffer_size);
  849|    528|    if (self->buffer == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 528]
  ------------------
  850|      0|        PyErr_NoMemory();
  851|      0|        return -1;
  852|      0|    }
  853|    528|    if (self->lock)
  ------------------
  |  Branch (853:9): [True: 0, False: 528]
  ------------------
  854|      0|        PyThread_free_lock(self->lock);
  855|    528|    self->lock = PyThread_allocate_lock();
  856|    528|    if (self->lock == NULL) {
  ------------------
  |  Branch (856:9): [True: 0, False: 528]
  ------------------
  857|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  858|      0|        return -1;
  859|      0|    }
  860|    528|    self->owner = 0;
  861|       |    /* Find out whether buffer_size is a power of 2 */
  862|       |    /* XXX is this optimization useful? */
  863|  9.50k|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (863:37): [True: 8.98k, False: 528]
  ------------------
  864|  8.98k|        ;
  865|    528|    if (n == 0)
  ------------------
  |  Branch (865:9): [True: 528, False: 0]
  ------------------
  866|    528|        self->buffer_mask = self->buffer_size - 1;
  867|      0|    else
  868|      0|        self->buffer_mask = 0;
  869|    528|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (869:9): [True: 2, False: 526]
  ------------------
  870|      2|        PyErr_Clear();
  871|    528|    return 0;
  872|    528|}
bufferedio.c:_io__Buffered_writable_impl:
  668|      4|{
  669|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  670|      4|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable));
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|      4|}
bufferedio.c:_io_BufferedWriter_write_impl:
 2089|     24|{
 2090|     24|    PyObject *res = NULL;
 2091|     24|    Py_ssize_t written, avail, remaining;
 2092|     24|    Py_off_t offset;
 2093|     24|    int r;
 2094|       |
 2095|     24|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     24|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 24]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
 2096|       |
 2097|     24|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     24|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 24, False: 0]
  |  |  |  Branch (330:8): [True: 24, False: 0]
  |  |  ------------------
  |  |  331|     24|       1 : _enter_buffered_busy(self)) \
  |  |  332|     24|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 24, False: 0]
  |  |  ------------------
  ------------------
 2098|      0|        return NULL;
 2099|       |
 2100|       |    /* Issue #31976: Check for closed file after acquiring the lock. Another
 2101|       |       thread could be holding the lock while closing the file. */
 2102|     24|    r = IS_CLOSED(self);
  ------------------
  |  |  365|     24|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 24]
  |  |  ------------------
  |  |  366|     24|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 22, False: 2]
  |  |  ------------------
  |  |  367|     24|     ? _PyFileIO_closed(self->raw) \
  |  |  368|     24|     : buffered_closed(self)))
  ------------------
 2103|     24|    if (r < 0) {
  ------------------
  |  Branch (2103:9): [True: 0, False: 24]
  ------------------
 2104|      0|        goto error;
 2105|      0|    }
 2106|     24|    if (r > 0) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 24]
  ------------------
 2107|      0|        PyErr_SetString(PyExc_ValueError, "write to closed file");
 2108|      0|        goto error;
 2109|      0|    }
 2110|       |
 2111|       |    /* Fast path: the data to write can be fully buffered. */
 2112|     24|    if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  385|     48|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 0, False: 24]
  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  388|     24|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 24, False: 0]
  |  |  |  Branch (388:24): [True: 20, False: 4]
  |  |  ------------------
  ------------------
 2113|      4|        self->pos = 0;
 2114|      4|        self->raw_pos = 0;
 2115|      4|    }
 2116|     24|    avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     24|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2117|     24|    if (buffer->len <= avail && buffer->len < self->buffer_size) {
  ------------------
  |  Branch (2117:9): [True: 24, False: 0]
  |  Branch (2117:33): [True: 24, False: 0]
  ------------------
 2118|     24|        memcpy(self->buffer + self->pos, buffer->buf, buffer->len);
 2119|     24|        if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) {
  ------------------
  |  |  388|     48|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 24, False: 0]
  |  |  |  Branch (388:24): [True: 20, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2119:42): [True: 0, False: 20]
  ------------------
 2120|      4|            self->write_pos = self->pos;
 2121|      4|        }
 2122|     24|        ADJUST_POSITION(self, self->pos + buffer->len);
  ------------------
  |  |  391|     24|    do { \
  |  |  392|     24|        self->pos = _new_pos; \
  |  |  393|     24|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|     48|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 24]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|     24|            self->read_end = self->pos; \
  |  |  395|     24|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 24]
  |  |  ------------------
  ------------------
 2123|     24|        if (self->pos > self->write_end)
  ------------------
  |  Branch (2123:13): [True: 22, False: 2]
  ------------------
 2124|     22|            self->write_end = self->pos;
 2125|     24|        written = buffer->len;
 2126|     24|        goto end;
 2127|     24|    }
 2128|       |
 2129|       |    /* First write the current buffer */
 2130|      0|    res = _bufferedwriter_flush_unlocked(self);
 2131|      0|    if (res == NULL) {
  ------------------
  |  Branch (2131:9): [True: 0, False: 0]
  ------------------
 2132|      0|        Py_ssize_t *w = _buffered_check_blocking_error();
 2133|      0|        if (w == NULL)
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|            goto error;
 2135|      0|        if (self->readable)
  ------------------
  |  Branch (2135:13): [True: 0, False: 0]
  ------------------
 2136|      0|            _bufferedreader_reset_buf(self);
 2137|       |        /* Make some place by shifting the buffer. */
 2138|      0|        assert(VALID_WRITE_BUFFER(self));
 2139|      0|        memmove(self->buffer, self->buffer + self->write_pos,
 2140|      0|                Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2141|      0|                                 Py_off_t, Py_ssize_t));
 2142|      0|        self->write_end -= self->write_pos;
 2143|      0|        self->raw_pos -= self->write_pos;
 2144|      0|        self->pos -= self->write_pos;
 2145|      0|        self->write_pos = 0;
 2146|      0|        avail = Py_SAFE_DOWNCAST(self->buffer_size - self->write_end,
  ------------------
  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2147|      0|                                 Py_off_t, Py_ssize_t);
 2148|      0|        if (buffer->len <= avail) {
  ------------------
  |  Branch (2148:13): [True: 0, False: 0]
  ------------------
 2149|       |            /* Everything can be buffered */
 2150|      0|            PyErr_Clear();
 2151|      0|            memcpy(self->buffer + self->write_end, buffer->buf, buffer->len);
 2152|      0|            self->write_end += buffer->len;
 2153|      0|            self->pos += buffer->len;
 2154|      0|            written = buffer->len;
 2155|      0|            goto end;
 2156|      0|        }
 2157|       |        /* Buffer as much as possible. */
 2158|      0|        memcpy(self->buffer + self->write_end, buffer->buf, avail);
 2159|      0|        self->write_end += avail;
 2160|      0|        self->pos += avail;
 2161|       |        /* XXX Modifying the existing exception e using the pointer w
 2162|       |           will change e.characters_written but not e.args[2].
 2163|       |           Therefore we just replace with a new error. */
 2164|      0|        _set_BlockingIOError("write could not complete without blocking",
 2165|      0|                             avail);
 2166|      0|        goto error;
 2167|      0|    }
 2168|      0|    Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2169|       |
 2170|       |    /* Adjust the raw stream position if it is away from the logical stream
 2171|       |       position. This happens if the read buffer has been filled but not
 2172|       |       modified (and therefore _bufferedwriter_flush_unlocked() didn't rewind
 2173|       |       the raw stream by itself).
 2174|       |       Fixes issue #6629.
 2175|       |    */
 2176|      0|    offset = RAW_OFFSET(self);
  ------------------
  |  |  402|      0|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      0|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      0|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2177|      0|    if (offset != 0) {
  ------------------
  |  Branch (2177:9): [True: 0, False: 0]
  ------------------
 2178|      0|        if (_buffered_raw_seek(self, -offset, 1) < 0)
  ------------------
  |  Branch (2178:13): [True: 0, False: 0]
  ------------------
 2179|      0|            goto error;
 2180|      0|        self->raw_pos -= offset;
 2181|      0|    }
 2182|       |
 2183|       |    /* Then write buf itself. At this point the buffer has been emptied. */
 2184|      0|    remaining = buffer->len;
 2185|      0|    written = 0;
 2186|      0|    while (remaining >= self->buffer_size) {
  ------------------
  |  Branch (2186:12): [True: 0, False: 0]
  ------------------
 2187|      0|        Py_ssize_t n = _bufferedwriter_raw_write(
 2188|      0|            self, (char *) buffer->buf + written, buffer->len - written);
 2189|      0|        if (n == -1) {
  ------------------
  |  Branch (2189:13): [True: 0, False: 0]
  ------------------
 2190|      0|            goto error;
 2191|      0|        } else if (n == -2) {
  ------------------
  |  Branch (2191:20): [True: 0, False: 0]
  ------------------
 2192|       |            /* Write failed because raw file is non-blocking */
 2193|      0|            if (remaining > self->buffer_size) {
  ------------------
  |  Branch (2193:17): [True: 0, False: 0]
  ------------------
 2194|       |                /* Can't buffer everything, still buffer as much as possible */
 2195|      0|                memcpy(self->buffer,
 2196|      0|                       (char *) buffer->buf + written, self->buffer_size);
 2197|      0|                self->raw_pos = 0;
 2198|      0|                ADJUST_POSITION(self, self->buffer_size);
  ------------------
  |  |  391|      0|    do { \
  |  |  392|      0|        self->pos = _new_pos; \
  |  |  393|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|      0|            self->read_end = self->pos; \
  |  |  395|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2199|      0|                self->write_end = self->buffer_size;
 2200|      0|                written += self->buffer_size;
 2201|      0|                _set_BlockingIOError("write could not complete without "
 2202|      0|                                     "blocking", written);
 2203|      0|                goto error;
 2204|      0|            }
 2205|      0|            PyErr_Clear();
 2206|      0|            break;
 2207|      0|        }
 2208|      0|        written += n;
 2209|      0|        remaining -= n;
 2210|       |        /* Partial writes can return successfully when interrupted by a
 2211|       |           signal (see write(2)).  We must run signal handlers before
 2212|       |           blocking another time, possibly indefinitely. */
 2213|      0|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2213:13): [True: 0, False: 0]
  ------------------
 2214|      0|            goto error;
 2215|      0|    }
 2216|      0|    if (self->readable)
  ------------------
  |  Branch (2216:9): [True: 0, False: 0]
  ------------------
 2217|      0|        _bufferedreader_reset_buf(self);
 2218|      0|    if (remaining > 0) {
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|      0|        memcpy(self->buffer, (char *) buffer->buf + written, remaining);
 2220|      0|        written += remaining;
 2221|      0|    }
 2222|      0|    self->write_pos = 0;
 2223|       |    /* TODO: sanity check (remaining >= 0) */
 2224|      0|    self->write_end = remaining;
 2225|      0|    ADJUST_POSITION(self, remaining);
  ------------------
  |  |  391|      0|    do { \
  |  |  392|      0|        self->pos = _new_pos; \
  |  |  393|      0|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|      0|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|      0|            self->read_end = self->pos; \
  |  |  395|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2226|      0|    self->raw_pos = 0;
 2227|       |
 2228|     24|end:
 2229|     24|    res = PyLong_FromSsize_t(written);
 2230|       |
 2231|     24|error:
 2232|     24|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     24|    do { \
  |  |  336|     24|        self->owner = 0; \
  |  |  337|     24|        PyThread_release_lock(self->lock); \
  |  |  338|     24|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 24]
  |  |  ------------------
  ------------------
 2233|     24|    return res;
 2234|     24|}
bufferedio.c:_io__Buffered_flush_impl:
  937|      6|{
  938|      6|    PyObject *res;
  939|       |
  940|      6|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      6|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  941|      6|    CHECK_CLOSED(self, "flush of closed file")
  ------------------
  |  |  371|      6|    do { \
  |  |  372|      6|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|      6|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  366|      6|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 2, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  367|      6|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|      6|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|      6|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|      6|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  377|      6|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (377:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  378|      6|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|      6|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  942|       |
  943|      6|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      6|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 6, False: 0]
  |  |  |  Branch (330:8): [True: 6, False: 0]
  |  |  ------------------
  |  |  331|      6|       1 : _enter_buffered_busy(self)) \
  |  |  332|      6|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  944|      0|        return NULL;
  945|      6|    res = buffered_flush_and_rewind_unlocked(self);
  946|      6|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      6|    do { \
  |  |  336|      6|        self->owner = 0; \
  |  |  337|      6|        PyThread_release_lock(self->lock); \
  |  |  338|      6|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 6]
  |  |  ------------------
  ------------------
  947|       |
  948|      6|    return res;
  949|      6|}
bufferedio.c:_io_BufferedWriter___init___impl:
 1947|      8|{
 1948|      8|    self->ok = 0;
 1949|      8|    self->detached = 0;
 1950|       |
 1951|      8|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|      8|    if (_PyIOBase_check_writable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1952:9): [True: 0, False: 8]
  ------------------
 1953|      0|        return -1;
 1954|      0|    }
 1955|       |
 1956|      8|    Py_INCREF(raw);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|      8|    Py_XSETREF(self->raw, raw);
  ------------------
  |  |  374|      8|    do { \
  |  |  375|      8|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      8|        *_tmp_dst_ptr = (src); \
  |  |  378|      8|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1958|      8|    self->readable = 0;
 1959|      8|    self->writable = 1;
 1960|       |
 1961|      8|    self->buffer_size = buffer_size;
 1962|      8|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1962:9): [True: 0, False: 8]
  ------------------
 1963|      0|        return -1;
 1964|      8|    _bufferedwriter_reset_buf(self);
 1965|      8|    self->pos = 0;
 1966|       |
 1967|      8|    self->fast_closed_checks = (
 1968|      8|        Py_IS_TYPE(self, state->PyBufferedWriter_Type) &&
  ------------------
  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
 1969|      8|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6, False: 2]
  |  |  ------------------
  ------------------
 1970|      8|    );
 1971|       |
 1972|      8|    self->ok = 1;
 1973|      8|    return 0;
 1974|      8|}

bytesio.c:bytesio_dealloc:
  987|  6.27k|{
  988|  6.27k|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   27|  6.27k|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
  989|  6.27k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  6.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|  6.27k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  6.27k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  991|  6.27k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  149|  6.27k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (991:9): [True: 0, False: 6.27k]
  ------------------
  992|      0|        PyErr_SetString(PyExc_SystemError,
  993|      0|                        "deallocated BytesIO object has exported buffers");
  994|      0|        PyErr_Print();
  995|      0|    }
  996|  6.27k|    Py_CLEAR(self->buf);
  ------------------
  |  |  484|  6.27k|    do { \
  |  |  485|  6.27k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.27k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.27k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6.27k, False: 0]
  |  |  ------------------
  |  |  488|  6.27k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  6.27k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  6.27k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  6.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  6.27k|        } \
  |  |  491|  6.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.27k]
  |  |  ------------------
  ------------------
  997|  6.27k|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|  6.27k|    do { \
  |  |  485|  6.27k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  6.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  6.27k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  6.27k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 6.27k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  6.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6.27k]
  |  |  ------------------
  ------------------
  998|  6.27k|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|  6.27k|    do {                                            \
  |  |   48|  6.27k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  6.27k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 6.27k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  6.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 6.27k]
  |  |  ------------------
  ------------------
  999|  6.27k|    tp->tp_free(self);
 1000|  6.27k|    Py_DECREF(tp);
  ------------------
  |  |  430|  6.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|  6.27k|}
bytesio.c:bytesio_traverse:
 1093|  3.38k|{
 1094|  3.38k|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   27|  3.38k|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
 1095|  3.38k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  3.38k|    do {                                                                \
  |  |  195|  3.38k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.38k, False: 0]
  |  |  ------------------
  |  |  196|  3.38k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.38k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.38k]
  |  |  ------------------
  |  |  198|  3.38k|                return vret;                                            \
  |  |  199|  3.38k|        }                                                               \
  |  |  200|  3.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.38k]
  |  |  ------------------
  ------------------
 1096|  3.38k|    Py_VISIT(self->dict);
  ------------------
  |  |  194|  3.38k|    do {                                                                \
  |  |  195|  3.38k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 3.38k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  3.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.38k]
  |  |  ------------------
  ------------------
 1097|  3.38k|    Py_VISIT(self->buf);
  ------------------
  |  |  194|  3.38k|    do {                                                                \
  |  |  195|  3.38k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.38k, False: 0]
  |  |  ------------------
  |  |  196|  3.38k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.38k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.38k]
  |  |  ------------------
  |  |  198|  3.38k|                return vret;                                            \
  |  |  199|  3.38k|        }                                                               \
  |  |  200|  3.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.38k]
  |  |  ------------------
  ------------------
 1098|  3.38k|    return 0;
 1099|  3.38k|}
bytesio.c:check_closed:
   45|  12.3k|{
   46|  12.3k|    if (self->buf == NULL) {
  ------------------
  |  Branch (46:9): [True: 0, False: 12.3k]
  ------------------
   47|      0|        PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
   48|      0|        return 1;
   49|      0|    }
   50|  12.3k|    return 0;
   51|  12.3k|}
bytesio.c:check_exports:
   55|  8.52k|{
   56|  8.52k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  149|  8.52k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (56:9): [True: 0, False: 8.52k]
  ------------------
   57|      0|        PyErr_SetString(PyExc_BufferError,
   58|      0|                        "Existing exports of data: object cannot be re-sized");
   59|      0|        return 1;
   60|      0|    }
   61|  8.52k|    return 0;
   62|  8.52k|}
bytesio.c:_io_BytesIO_tell_impl:
  418|  3.84k|{
  419|  3.84k|    CHECK_CLOSED(self);
  ------------------
  |  |   65|  3.84k|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 3.84k]
  |  |  ------------------
  |  |   66|      0|        return NULL;                                        \
  |  |   67|      0|    }
  ------------------
  420|  3.84k|    return PyLong_FromSsize_t(self->pos);
  421|  3.84k|}
bytesio.c:_io_BytesIO_write_impl:
  781|  8.52k|{
  782|  8.52k|    Py_ssize_t n = write_bytes_lock_held(self, b);
  783|  8.52k|    return n >= 0 ? PyLong_FromSsize_t(n) : NULL;
  ------------------
  |  Branch (783:12): [True: 8.52k, False: 0]
  ------------------
  784|  8.52k|}
bytesio.c:write_bytes_lock_held:
  194|  8.52k|{
  195|  8.52k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  196|       |
  197|  8.52k|    Py_buffer buf;
  198|  8.52k|    Py_ssize_t len;
  199|  8.52k|    if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) {
  ------------------
  |  |  125|  8.52k|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  8.52k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (199:9): [True: 0, False: 8.52k]
  ------------------
  200|      0|        return -1;
  201|      0|    }
  202|       |
  203|  8.52k|    if (check_closed(self) || check_exports(self)) {
  ------------------
  |  Branch (203:9): [True: 0, False: 8.52k]
  |  Branch (203:31): [True: 0, False: 8.52k]
  ------------------
  204|      0|        len = -1;
  205|      0|        goto done;
  206|      0|    }
  207|       |
  208|  8.52k|    len = buf.len;
  209|  8.52k|    if (len == 0) {
  ------------------
  |  Branch (209:9): [True: 0, False: 8.52k]
  ------------------
  210|      0|        goto done;
  211|      0|    }
  212|       |
  213|  8.52k|    assert(self->pos >= 0);
  214|  8.52k|    size_t endpos = (size_t)self->pos + len;
  215|  8.52k|    if (endpos > (size_t)PyBytes_GET_SIZE(self->buf)) {
  ------------------
  |  |   33|  8.52k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:9): [True: 8.47k, False: 46]
  ------------------
  216|  8.47k|        if (resize_buffer_lock_held(self, endpos) < 0) {
  ------------------
  |  Branch (216:13): [True: 0, False: 8.47k]
  ------------------
  217|      0|            len = -1;
  218|      0|            goto done;
  219|      0|        }
  220|  8.47k|    }
  221|     46|    else if (SHARED_BUF(self)) {
  ------------------
  |  |   74|     46|#define SHARED_BUF(self) (!_PyObject_IsUniquelyReferenced((self)->buf))
  |  |  ------------------
  |  |  |  Branch (74:26): [True: 0, False: 46]
  |  |  ------------------
  ------------------
  222|      0|        if (unshare_buffer_lock_held(self, Py_MAX(endpos, (size_t)self->string_size)) < 0) {
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (222:13): [True: 0, False: 0]
  ------------------
  223|      0|            len = -1;
  224|      0|            goto done;
  225|      0|        }
  226|      0|    }
  227|       |
  228|  8.52k|    if (self->pos > self->string_size) {
  ------------------
  |  Branch (228:9): [True: 0, False: 8.52k]
  ------------------
  229|       |        /* In case of overseek, pad with null bytes the buffer region between
  230|       |           the end of stream and the current position.
  231|       |
  232|       |          0   lo      string_size                           hi
  233|       |          |   |<---used--->|<----------available----------->|
  234|       |          |   |            <--to pad-->|<---to write--->    |
  235|       |          0   buf                   position
  236|       |        */
  237|      0|        memset(PyBytes_AS_STRING(self->buf) + self->string_size, '\0',
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|      0|               (self->pos - self->string_size) * sizeof(char));
  239|      0|    }
  240|       |
  241|       |    /* Copy the data to the internal buffer, overwriting some of the existing
  242|       |       data if self->pos < self->string_size. */
  243|  8.52k|    memcpy(PyBytes_AS_STRING(self->buf) + self->pos, buf.buf, len);
  ------------------
  |  |   27|  8.52k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  8.52k|    self->pos = endpos;
  245|       |
  246|       |    /* Set the new length of the internal string if it has changed. */
  247|  8.52k|    if ((size_t)self->string_size < endpos) {
  ------------------
  |  Branch (247:9): [True: 8.52k, False: 0]
  ------------------
  248|  8.52k|        self->string_size = endpos;
  249|  8.52k|    }
  250|       |
  251|  8.52k|  done:
  252|  8.52k|    PyBuffer_Release(&buf);
  253|  8.52k|    return len;
  254|  8.52k|}
bytesio.c:resize_buffer_lock_held:
  139|  8.47k|{
  140|  8.47k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  141|       |
  142|  8.47k|    assert(self->buf != NULL);
  143|  8.47k|    assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0);
  144|       |
  145|       |    /* Here, unsigned types are used to avoid dealing with signed integer
  146|       |       overflow, which is undefined in C. */
  147|  8.47k|    size_t alloc = PyBytes_GET_SIZE(self->buf);
  ------------------
  |  |   33|  8.47k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|       |
  149|       |    /* For simplicity, stay in the range of the signed type. Anyway, Python
  150|       |       doesn't allow strings to be longer than this. */
  151|  8.47k|    if (size > PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  8.47k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (151:9): [True: 0, False: 8.47k]
  ------------------
  152|      0|        goto overflow;
  153|       |
  154|  8.47k|    if (size < alloc / 2) {
  ------------------
  |  Branch (154:9): [True: 0, False: 8.47k]
  ------------------
  155|       |        /* Major downsize; resize down to exact size. */
  156|      0|        alloc = size + 1;
  157|      0|    }
  158|  8.47k|    else if (size < alloc) {
  ------------------
  |  Branch (158:14): [True: 0, False: 8.47k]
  ------------------
  159|       |        /* Within allocated size; quick exit */
  160|      0|        return 0;
  161|      0|    }
  162|  8.47k|    else if (size <= alloc * 1.125) {
  ------------------
  |  Branch (162:14): [True: 366, False: 8.11k]
  ------------------
  163|       |        /* Moderate upsize; overallocate similar to list_resize() */
  164|    366|        alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (164:39): [True: 0, False: 366]
  ------------------
  165|    366|    }
  166|  8.11k|    else {
  167|       |        /* Major upsize; resize up to exact size */
  168|  8.11k|        alloc = size + 1;
  169|  8.11k|    }
  170|       |
  171|  8.47k|    if (SHARED_BUF(self)) {
  ------------------
  |  |   74|  8.47k|#define SHARED_BUF(self) (!_PyObject_IsUniquelyReferenced((self)->buf))
  |  |  ------------------
  |  |  |  Branch (74:26): [True: 2.40k, False: 6.07k]
  |  |  ------------------
  ------------------
  172|  2.40k|        if (unshare_buffer_lock_held(self, alloc) < 0)
  ------------------
  |  Branch (172:13): [True: 0, False: 2.40k]
  ------------------
  173|      0|            return -1;
  174|  2.40k|    }
  175|  6.07k|    else {
  176|  6.07k|        if (_PyBytes_Resize(&self->buf, alloc) < 0)
  ------------------
  |  Branch (176:13): [True: 0, False: 6.07k]
  ------------------
  177|      0|            return -1;
  178|  6.07k|    }
  179|       |
  180|  8.47k|    return 0;
  181|       |
  182|      0|  overflow:
  183|      0|    PyErr_SetString(PyExc_OverflowError,
  184|      0|                    "new buffer size too large");
  185|      0|    return -1;
  186|  8.47k|}
bytesio.c:unshare_buffer_lock_held:
  118|  2.40k|{
  119|  2.40k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  120|       |
  121|  2.40k|    PyObject *new_buf;
  122|  2.40k|    assert(SHARED_BUF(self));
  123|  2.40k|    assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0);
  124|  2.40k|    assert(size >= (size_t)self->string_size);
  125|  2.40k|    new_buf = PyBytes_FromStringAndSize(NULL, size);
  126|  2.40k|    if (new_buf == NULL)
  ------------------
  |  Branch (126:9): [True: 0, False: 2.40k]
  ------------------
  127|      0|        return -1;
  128|  2.40k|    memcpy(PyBytes_AS_STRING(new_buf), PyBytes_AS_STRING(self->buf),
  ------------------
  |  |   27|  2.40k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  memcpy(PyBytes_AS_STRING(new_buf), PyBytes_AS_STRING(self->buf),
  ------------------
  |  |   27|  2.40k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|  2.40k|           self->string_size);
  130|  2.40k|    Py_SETREF(self->buf, new_buf);
  ------------------
  |  |  352|  2.40k|    do { \
  |  |  353|  2.40k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.40k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  2.40k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.40k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  2.40k|        *_tmp_dst_ptr = (src); \
  |  |  356|  2.40k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  2.40k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  2.40k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 2.40k]
  |  |  ------------------
  ------------------
  131|  2.40k|    return 0;
  132|  2.40k|}
bytesio.c:_io_BytesIO___init___impl:
 1036|  6.27k|{
 1037|       |    /* In case, __init__ is called multiple times. */
 1038|  6.27k|    self->string_size = 0;
 1039|  6.27k|    self->pos = 0;
 1040|       |
 1041|  6.27k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  149|  6.27k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1041:9): [True: 0, False: 6.27k]
  ------------------
 1042|      0|        PyErr_SetString(PyExc_BufferError,
 1043|      0|                        "Existing exports of data: object cannot be re-sized");
 1044|      0|        return -1;
 1045|      0|    }
 1046|  6.27k|    if (initvalue && initvalue != Py_None) {
  ------------------
  |  |  616|  2.38k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1046:9): [True: 2.38k, False: 3.88k]
  |  Branch (1046:22): [True: 2.38k, False: 0]
  ------------------
 1047|  2.38k|        if (PyBytes_CheckExact(initvalue)) {
  ------------------
  |  |   29|  2.38k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  2.38k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.38k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|  2.38k|            Py_XSETREF(self->buf, Py_NewRef(initvalue));
  ------------------
  |  |  374|  2.38k|    do { \
  |  |  375|  2.38k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.38k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.38k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.38k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.38k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.38k]
  |  |  ------------------
  ------------------
 1049|  2.38k|            self->string_size = PyBytes_GET_SIZE(initvalue);
  ------------------
  |  |   33|  2.38k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|  2.38k|        }
 1051|      0|        else {
 1052|      0|            PyObject *res;
 1053|      0|            res = _io_BytesIO_write_impl(self, initvalue);
 1054|      0|            if (res == NULL)
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  ------------------
 1055|      0|                return -1;
 1056|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|      0|            self->pos = 0;
 1058|      0|        }
 1059|  2.38k|    }
 1060|       |
 1061|  6.27k|    return 0;
 1062|  6.27k|}
bytesio.c:bytesio_new:
 1005|  6.27k|{
 1006|  6.27k|    bytesio *self;
 1007|       |
 1008|  6.27k|    assert(type != NULL && type->tp_alloc != NULL);
 1009|  6.27k|    self = (bytesio *)type->tp_alloc(type, 0);
 1010|  6.27k|    if (self == NULL)
  ------------------
  |  Branch (1010:9): [True: 0, False: 6.27k]
  ------------------
 1011|      0|        return NULL;
 1012|       |
 1013|       |    /* tp_alloc initializes all the fields to zero. So we don't have to
 1014|       |       initialize them here. */
 1015|       |
 1016|  6.27k|    self->buf = PyBytes_FromStringAndSize(NULL, 0);
 1017|  6.27k|    if (self->buf == NULL) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 6.27k]
  ------------------
 1018|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|      0|        return PyErr_NoMemory();
 1020|      0|    }
 1021|       |
 1022|  6.27k|    return (PyObject *)self;
 1023|  6.27k|}

_iomodule.c:_io_open:
  141|    526|{
  142|    526|    PyObject *return_value = NULL;
  143|    526|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  144|       |
  145|    526|    #define NUM_KEYWORDS 8
  146|    526|    static struct {
  147|    526|        PyGC_Head _this_is_not_used;
  148|    526|        PyObject_VAR_HEAD
  149|    526|        Py_hash_t ob_hash;
  150|    526|        PyObject *ob_item[NUM_KEYWORDS];
  151|    526|    } _kwtuple = {
  152|    526|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    526|    {                                     \
  |  |   98|    526|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    526|    {                               \
  |  |  |  |   91|    526|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    526|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    526|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    526|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    526|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    526|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    526|        (type)                      \
  |  |  |  |   93|    526|    },
  |  |  ------------------
  |  |   99|    526|        (size)                            \
  |  |  100|    526|    },
  ------------------
  153|    526|        .ob_hash = -1,
  154|    526|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(buffering), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|    526|    };
  156|    526|    #undef NUM_KEYWORDS
  157|    526|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  158|       |
  159|       |    #else  // !Py_BUILD_CORE
  160|       |    #  define KWTUPLE NULL
  161|       |    #endif  // !Py_BUILD_CORE
  162|       |
  163|    526|    static const char * const _keywords[] = {"file", "mode", "buffering", "encoding", "errors", "newline", "closefd", "opener", NULL};
  164|    526|    static _PyArg_Parser _parser = {
  165|    526|        .keywords = _keywords,
  166|    526|        .fname = "open",
  167|    526|        .kwtuple = KWTUPLE,
  ------------------
  |  |  157|    526|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  168|    526|    };
  169|    526|    #undef KWTUPLE
  170|    526|    PyObject *argsbuf[8];
  171|    526|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (171:36): [True: 0, False: 526]
  ------------------
  172|    526|    PyObject *file;
  173|    526|    const char *mode = "r";
  174|    526|    int buffering = -1;
  175|    526|    const char *encoding = NULL;
  176|    526|    const char *errors = NULL;
  177|    526|    const char *newline = NULL;
  178|    526|    int closefd = 1;
  179|    526|    PyObject *opener = Py_None;
  ------------------
  |  |  616|    526|#  define Py_None (&_Py_NoneStruct)
  ------------------
  180|       |
  181|    526|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    526|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 526, False: 0]
  |  |  ------------------
  |  |   89|    526|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 526, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 526]
  |  |  |  Branch (89:43): [True: 526, False: 0]
  |  |  |  Branch (89:67): [True: 526, False: 0]
  |  |  ------------------
  |  |   90|    526|      (args) : \
  |  |   91|    526|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  182|    526|            /*minpos*/ 1, /*maxpos*/ 8, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  183|    526|    if (!args) {
  ------------------
  |  Branch (183:9): [True: 0, False: 526]
  ------------------
  184|      0|        goto exit;
  185|      0|    }
  186|    526|    file = args[0];
  187|    526|    if (!noptargs) {
  ------------------
  |  Branch (187:9): [True: 0, False: 526]
  ------------------
  188|      0|        goto skip_optional_pos;
  189|      0|    }
  190|    526|    if (args[1]) {
  ------------------
  |  Branch (190:9): [True: 526, False: 0]
  ------------------
  191|    526|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    526|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    526|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (191:13): [True: 0, False: 526]
  ------------------
  192|      0|            _PyArg_BadArgument("open", "argument 'mode'", "str", args[1]);
  193|      0|            goto exit;
  194|      0|        }
  195|    526|        Py_ssize_t mode_length;
  196|    526|        mode = PyUnicode_AsUTF8AndSize(args[1], &mode_length);
  197|    526|        if (mode == NULL) {
  ------------------
  |  Branch (197:13): [True: 0, False: 526]
  ------------------
  198|      0|            goto exit;
  199|      0|        }
  200|    526|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (200:13): [True: 0, False: 526]
  ------------------
  201|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  202|      0|            goto exit;
  203|      0|        }
  204|    526|        if (!--noptargs) {
  ------------------
  |  Branch (204:13): [True: 514, False: 12]
  ------------------
  205|    514|            goto skip_optional_pos;
  206|    514|        }
  207|    526|    }
  208|     12|    if (args[2]) {
  ------------------
  |  Branch (208:9): [True: 12, False: 0]
  ------------------
  209|     12|        buffering = PyLong_AsInt(args[2]);
  210|     12|        if (buffering == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:13): [True: 12, False: 0]
  |  Branch (210:32): [True: 0, False: 12]
  ------------------
  211|      0|            goto exit;
  212|      0|        }
  213|     12|        if (!--noptargs) {
  ------------------
  |  Branch (213:13): [True: 0, False: 12]
  ------------------
  214|      0|            goto skip_optional_pos;
  215|      0|        }
  216|     12|    }
  217|     12|    if (args[3]) {
  ------------------
  |  Branch (217:9): [True: 12, False: 0]
  ------------------
  218|     12|        if (args[3] == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (218:13): [True: 6, False: 6]
  ------------------
  219|      6|            encoding = NULL;
  220|      6|        }
  221|      6|        else if (PyUnicode_Check(args[3])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|      6|            Py_ssize_t encoding_length;
  223|      6|            encoding = PyUnicode_AsUTF8AndSize(args[3], &encoding_length);
  224|      6|            if (encoding == NULL) {
  ------------------
  |  Branch (224:17): [True: 0, False: 6]
  ------------------
  225|      0|                goto exit;
  226|      0|            }
  227|      6|            if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (227:17): [True: 0, False: 6]
  ------------------
  228|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  229|      0|                goto exit;
  230|      0|            }
  231|      6|        }
  232|      0|        else {
  233|      0|            _PyArg_BadArgument("open", "argument 'encoding'", "str or None", args[3]);
  234|      0|            goto exit;
  235|      0|        }
  236|     12|        if (!--noptargs) {
  ------------------
  |  Branch (236:13): [True: 0, False: 12]
  ------------------
  237|      0|            goto skip_optional_pos;
  238|      0|        }
  239|     12|    }
  240|     12|    if (args[4]) {
  ------------------
  |  Branch (240:9): [True: 12, False: 0]
  ------------------
  241|     12|        if (args[4] == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (241:13): [True: 12, False: 0]
  ------------------
  242|     12|            errors = NULL;
  243|     12|        }
  244|      0|        else if (PyUnicode_Check(args[4])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|            Py_ssize_t errors_length;
  246|      0|            errors = PyUnicode_AsUTF8AndSize(args[4], &errors_length);
  247|      0|            if (errors == NULL) {
  ------------------
  |  Branch (247:17): [True: 0, False: 0]
  ------------------
  248|      0|                goto exit;
  249|      0|            }
  250|      0|            if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (250:17): [True: 0, False: 0]
  ------------------
  251|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  252|      0|                goto exit;
  253|      0|            }
  254|      0|        }
  255|      0|        else {
  256|      0|            _PyArg_BadArgument("open", "argument 'errors'", "str or None", args[4]);
  257|      0|            goto exit;
  258|      0|        }
  259|     12|        if (!--noptargs) {
  ------------------
  |  Branch (259:13): [True: 0, False: 12]
  ------------------
  260|      0|            goto skip_optional_pos;
  261|      0|        }
  262|     12|    }
  263|     12|    if (args[5]) {
  ------------------
  |  Branch (263:9): [True: 12, False: 0]
  ------------------
  264|     12|        if (args[5] == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (264:13): [True: 12, False: 0]
  ------------------
  265|     12|            newline = NULL;
  266|     12|        }
  267|      0|        else if (PyUnicode_Check(args[5])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|      0|            Py_ssize_t newline_length;
  269|      0|            newline = PyUnicode_AsUTF8AndSize(args[5], &newline_length);
  270|      0|            if (newline == NULL) {
  ------------------
  |  Branch (270:17): [True: 0, False: 0]
  ------------------
  271|      0|                goto exit;
  272|      0|            }
  273|      0|            if (strlen(newline) != (size_t)newline_length) {
  ------------------
  |  Branch (273:17): [True: 0, False: 0]
  ------------------
  274|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  275|      0|                goto exit;
  276|      0|            }
  277|      0|        }
  278|      0|        else {
  279|      0|            _PyArg_BadArgument("open", "argument 'newline'", "str or None", args[5]);
  280|      0|            goto exit;
  281|      0|        }
  282|     12|        if (!--noptargs) {
  ------------------
  |  Branch (282:13): [True: 6, False: 6]
  ------------------
  283|      6|            goto skip_optional_pos;
  284|      6|        }
  285|     12|    }
  286|      6|    if (args[6]) {
  ------------------
  |  Branch (286:9): [True: 6, False: 0]
  ------------------
  287|      6|        closefd = PyObject_IsTrue(args[6]);
  288|      6|        if (closefd < 0) {
  ------------------
  |  Branch (288:13): [True: 0, False: 6]
  ------------------
  289|      0|            goto exit;
  290|      0|        }
  291|      6|        if (!--noptargs) {
  ------------------
  |  Branch (291:13): [True: 6, False: 0]
  ------------------
  292|      6|            goto skip_optional_pos;
  293|      6|        }
  294|      6|    }
  295|      0|    opener = args[7];
  296|    526|skip_optional_pos:
  297|    526|    return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, opener);
  298|       |
  299|    526|exit:
  300|    526|    return return_value;
  301|    526|}
_iomodule.c:_io_text_encoding:
  327|     12|{
  328|     12|    PyObject *return_value = NULL;
  329|     12|    PyObject *encoding;
  330|     12|    int stacklevel = 2;
  331|       |
  332|     12|    if (!_PyArg_CheckPositional("text_encoding", nargs, 1, 2)) {
  ------------------
  |  |   31|     12|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 12, False: 0]
  |  |  |  Branch (31:27): [True: 12, False: 0]
  |  |  ------------------
  |  |   32|     12|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  333|      0|        goto exit;
  334|      0|    }
  335|     12|    encoding = args[0];
  336|     12|    if (nargs < 2) {
  ------------------
  |  Branch (336:9): [True: 12, False: 0]
  ------------------
  337|     12|        goto skip_optional;
  338|     12|    }
  339|      0|    stacklevel = PyLong_AsInt(args[1]);
  340|      0|    if (stacklevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (340:9): [True: 0, False: 0]
  |  Branch (340:29): [True: 0, False: 0]
  ------------------
  341|      0|        goto exit;
  342|      0|    }
  343|     12|skip_optional:
  344|     12|    return_value = _io_text_encoding_impl(module, encoding, stacklevel);
  345|       |
  346|     12|exit:
  347|     12|    return return_value;
  348|     12|}
_iomodule.c:_io_open_code:
  367|    502|{
  368|    502|    PyObject *return_value = NULL;
  369|    502|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  370|       |
  371|    502|    #define NUM_KEYWORDS 1
  372|    502|    static struct {
  373|    502|        PyGC_Head _this_is_not_used;
  374|    502|        PyObject_VAR_HEAD
  375|    502|        Py_hash_t ob_hash;
  376|    502|        PyObject *ob_item[NUM_KEYWORDS];
  377|    502|    } _kwtuple = {
  378|    502|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    502|    {                                     \
  |  |   98|    502|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    502|    {                               \
  |  |  |  |   91|    502|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    502|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    502|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    502|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    502|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    502|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    502|        (type)                      \
  |  |  |  |   93|    502|    },
  |  |  ------------------
  |  |   99|    502|        (size)                            \
  |  |  100|    502|    },
  ------------------
  379|    502|        .ob_hash = -1,
  380|    502|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  919|    502|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    502|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    502|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|    502|    };
  382|    502|    #undef NUM_KEYWORDS
  383|    502|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  384|       |
  385|       |    #else  // !Py_BUILD_CORE
  386|       |    #  define KWTUPLE NULL
  387|       |    #endif  // !Py_BUILD_CORE
  388|       |
  389|    502|    static const char * const _keywords[] = {"path", NULL};
  390|    502|    static _PyArg_Parser _parser = {
  391|    502|        .keywords = _keywords,
  392|    502|        .fname = "open_code",
  393|    502|        .kwtuple = KWTUPLE,
  ------------------
  |  |  383|    502|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  394|    502|    };
  395|    502|    #undef KWTUPLE
  396|    502|    PyObject *argsbuf[1];
  397|    502|    PyObject *path;
  398|       |
  399|    502|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    502|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 502, False: 0]
  |  |  ------------------
  |  |   89|    502|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 502, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 502]
  |  |  |  Branch (89:43): [True: 502, False: 0]
  |  |  |  Branch (89:67): [True: 502, False: 0]
  |  |  ------------------
  |  |   90|    502|      (args) : \
  |  |   91|    502|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  400|    502|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  401|    502|    if (!args) {
  ------------------
  |  Branch (401:9): [True: 0, False: 502]
  ------------------
  402|      0|        goto exit;
  403|      0|    }
  404|    502|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    502|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    502|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (404:9): [True: 0, False: 502]
  ------------------
  405|      0|        _PyArg_BadArgument("open_code", "argument 'path'", "str", args[0]);
  406|      0|        goto exit;
  407|      0|    }
  408|    502|    path = args[0];
  409|    502|    return_value = _io_open_code_impl(module, path);
  410|       |
  411|    502|exit:
  412|    502|    return return_value;
  413|    502|}

bufferedio.c:_io__Buffered_simple_flush:
  336|    526|{
  337|    526|    PyObject *return_value = NULL;
  338|       |
  339|    526|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    526|    {
  ------------------
  340|    526|    return_value = _io__Buffered_simple_flush_impl((buffered *)self);
  341|    526|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    526|    }
  ------------------
  342|       |
  343|    526|    return return_value;
  344|    526|}
bufferedio.c:_io__Buffered_close:
  384|    522|{
  385|    522|    PyObject *return_value = NULL;
  386|       |
  387|    522|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    522|    {
  ------------------
  388|    522|    return_value = _io__Buffered_close_impl((buffered *)self);
  389|    522|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    522|    }
  ------------------
  390|       |
  391|    522|    return return_value;
  392|    522|}
bufferedio.c:_io__Buffered_seekable:
  430|     14|{
  431|     14|    PyObject *return_value = NULL;
  432|       |
  433|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
  434|     14|    return_value = _io__Buffered_seekable_impl((buffered *)self);
  435|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
  436|       |
  437|     14|    return return_value;
  438|     14|}
bufferedio.c:_io__Buffered_readable:
  453|     10|{
  454|     10|    PyObject *return_value = NULL;
  455|       |
  456|     10|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     10|    {
  ------------------
  457|     10|    return_value = _io__Buffered_readable_impl((buffered *)self);
  458|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  459|       |
  460|     10|    return return_value;
  461|     10|}
bufferedio.c:_io__Buffered_read:
  662|    578|{
  663|    578|    PyObject *return_value = NULL;
  664|    578|    Py_ssize_t n = -1;
  665|       |
  666|    578|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   31|    578|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 578, False: 0]
  |  |  |  Branch (31:27): [True: 578, False: 0]
  |  |  ------------------
  |  |   32|    578|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  667|      0|        goto exit;
  668|      0|    }
  669|    578|    if (nargs < 1) {
  ------------------
  |  Branch (669:9): [True: 506, False: 72]
  ------------------
  670|    506|        goto skip_optional;
  671|    506|    }
  672|     72|    if (!_Py_convert_optional_to_ssize_t(args[0], &n)) {
  ------------------
  |  Branch (672:9): [True: 0, False: 72]
  ------------------
  673|      0|        goto exit;
  674|      0|    }
  675|    578|skip_optional:
  676|    578|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    578|    {
  ------------------
  677|    578|    return_value = _io__Buffered_read_impl((buffered *)self, n);
  678|    578|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    578|    }
  ------------------
  679|       |
  680|    578|exit:
  681|    578|    return return_value;
  682|    578|}
bufferedio.c:_io__Buffered_read1:
  697|     46|{
  698|     46|    PyObject *return_value = NULL;
  699|     46|    Py_ssize_t n = -1;
  700|       |
  701|     46|    if (!_PyArg_CheckPositional("read1", nargs, 0, 1)) {
  ------------------
  |  |   31|     46|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 46, False: 0]
  |  |  |  Branch (31:27): [True: 46, False: 0]
  |  |  ------------------
  |  |   32|     46|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  702|      0|        goto exit;
  703|      0|    }
  704|     46|    if (nargs < 1) {
  ------------------
  |  Branch (704:9): [True: 0, False: 46]
  ------------------
  705|      0|        goto skip_optional;
  706|      0|    }
  707|     46|    {
  708|     46|        Py_ssize_t ival = -1;
  709|     46|        PyObject *iobj = _PyNumber_Index(args[0]);
  710|     46|        if (iobj != NULL) {
  ------------------
  |  Branch (710:13): [True: 46, False: 0]
  ------------------
  711|     46|            ival = PyLong_AsSsize_t(iobj);
  712|     46|            Py_DECREF(iobj);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|     46|        }
  714|     46|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (714:13): [True: 0, False: 46]
  |  Branch (714:27): [True: 0, False: 0]
  ------------------
  715|      0|            goto exit;
  716|      0|        }
  717|     46|        n = ival;
  718|     46|    }
  719|     46|skip_optional:
  720|     46|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     46|    {
  ------------------
  721|     46|    return_value = _io__Buffered_read1_impl((buffered *)self, n);
  722|     46|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     46|    }
  ------------------
  723|       |
  724|     46|exit:
  725|     46|    return return_value;
  726|     46|}
bufferedio.c:_io__Buffered_readline:
  809|      8|{
  810|      8|    PyObject *return_value = NULL;
  811|      8|    Py_ssize_t size = -1;
  812|       |
  813|      8|    if (!_PyArg_CheckPositional("readline", nargs, 0, 1)) {
  ------------------
  |  |   31|      8|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 8, False: 0]
  |  |  |  Branch (31:27): [True: 8, False: 0]
  |  |  ------------------
  |  |   32|      8|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  814|      0|        goto exit;
  815|      0|    }
  816|      8|    if (nargs < 1) {
  ------------------
  |  Branch (816:9): [True: 8, False: 0]
  ------------------
  817|      8|        goto skip_optional;
  818|      8|    }
  819|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &size)) {
  ------------------
  |  Branch (819:9): [True: 0, False: 0]
  ------------------
  820|      0|        goto exit;
  821|      0|    }
  822|      8|skip_optional:
  823|      8|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      8|    {
  ------------------
  824|      8|    return_value = _io__Buffered_readline_impl((buffered *)self, size);
  825|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
  826|       |
  827|      8|exit:
  828|      8|    return return_value;
  829|      8|}
bufferedio.c:_io__Buffered_seek:
  867|      4|{
  868|      4|    PyObject *return_value = NULL;
  869|      4|    PyObject *targetobj;
  870|      4|    int whence = 0;
  871|       |
  872|      4|    if (!_PyArg_CheckPositional("seek", nargs, 1, 2)) {
  ------------------
  |  |   31|      4|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4, False: 0]
  |  |  |  Branch (31:27): [True: 4, False: 0]
  |  |  ------------------
  |  |   32|      4|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  873|      0|        goto exit;
  874|      0|    }
  875|      4|    targetobj = args[0];
  876|      4|    if (nargs < 2) {
  ------------------
  |  Branch (876:9): [True: 4, False: 0]
  ------------------
  877|      4|        goto skip_optional;
  878|      4|    }
  879|      0|    whence = PyLong_AsInt(args[1]);
  880|      0|    if (whence == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (880:9): [True: 0, False: 0]
  |  Branch (880:25): [True: 0, False: 0]
  ------------------
  881|      0|        goto exit;
  882|      0|    }
  883|      4|skip_optional:
  884|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  885|      4|    return_value = _io__Buffered_seek_impl((buffered *)self, targetobj, whence);
  886|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  887|       |
  888|      4|exit:
  889|      4|    return return_value;
  890|      4|}
bufferedio.c:_io__Buffered_tell:
  844|      4|{
  845|      4|    PyObject *return_value = NULL;
  846|       |
  847|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  848|      4|    return_value = _io__Buffered_tell_impl((buffered *)self);
  849|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  850|       |
  851|      4|    return return_value;
  852|      4|}
bufferedio.c:_io__Buffered_closed_get:
  361|  1.05k|{
  362|  1.05k|    PyObject *return_value = NULL;
  363|       |
  364|  1.05k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.05k|    {
  ------------------
  365|  1.05k|    return_value = _io__Buffered_closed_get_impl((buffered *)self);
  366|  1.05k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.05k|    }
  ------------------
  367|       |
  368|  1.05k|    return return_value;
  369|  1.05k|}
bufferedio.c:_io__Buffered_name_get:
  501|      4|{
  502|      4|    PyObject *return_value = NULL;
  503|       |
  504|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  505|      4|    return_value = _io__Buffered_name_get_impl((buffered *)self);
  506|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  507|       |
  508|      4|    return return_value;
  509|      4|}
bufferedio.c:_io__Buffered_mode_get:
  526|      2|{
  527|      2|    PyObject *return_value = NULL;
  528|       |
  529|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  530|      2|    return_value = _io__Buffered_mode_get_impl((buffered *)self);
  531|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  532|       |
  533|      2|    return return_value;
  534|      2|}
bufferedio.c:_io_BufferedReader___init__:
  953|    520|{
  954|    520|    int return_value = -1;
  955|    520|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  956|       |
  957|    520|    #define NUM_KEYWORDS 2
  958|    520|    static struct {
  959|    520|        PyGC_Head _this_is_not_used;
  960|    520|        PyObject_VAR_HEAD
  961|    520|        Py_hash_t ob_hash;
  962|    520|        PyObject *ob_item[NUM_KEYWORDS];
  963|    520|    } _kwtuple = {
  964|    520|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    520|    {                                     \
  |  |   98|    520|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    520|    {                               \
  |  |  |  |   91|    520|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    520|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    520|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    520|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    520|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    520|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    520|        (type)                      \
  |  |  |  |   93|    520|    },
  |  |  ------------------
  |  |   99|    520|        (size)                            \
  |  |  100|    520|    },
  ------------------
  965|    520|        .ob_hash = -1,
  966|    520|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  919|    520|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    520|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    520|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  919|    520|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    520|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    520|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  967|    520|    };
  968|    520|    #undef NUM_KEYWORDS
  969|    520|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  970|       |
  971|       |    #else  // !Py_BUILD_CORE
  972|       |    #  define KWTUPLE NULL
  973|       |    #endif  // !Py_BUILD_CORE
  974|       |
  975|    520|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
  976|    520|    static _PyArg_Parser _parser = {
  977|    520|        .keywords = _keywords,
  978|    520|        .fname = "BufferedReader",
  979|    520|        .kwtuple = KWTUPLE,
  ------------------
  |  |  969|    520|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  980|    520|    };
  981|    520|    #undef KWTUPLE
  982|    520|    PyObject *argsbuf[2];
  983|    520|    PyObject * const *fastargs;
  984|    520|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    520|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  985|    520|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (985:36): [True: 0, False: 520]
  ------------------
  986|    520|    PyObject *raw;
  987|    520|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   81|    520|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
  988|       |
  989|    520|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    520|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 520, Folded]
  |  |  |  Branch (88:23): [True: 520, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    520|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 520, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 520]
  |  |  |  Branch (89:43): [True: 520, False: 0]
  |  |  |  Branch (89:67): [True: 520, False: 0]
  |  |  ------------------
  |  |   90|    520|      (args) : \
  |  |   91|    520|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  990|    520|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  991|    520|    if (!fastargs) {
  ------------------
  |  Branch (991:9): [True: 0, False: 520]
  ------------------
  992|      0|        goto exit;
  993|      0|    }
  994|    520|    raw = fastargs[0];
  995|    520|    if (!noptargs) {
  ------------------
  |  Branch (995:9): [True: 4, False: 516]
  ------------------
  996|      4|        goto skip_optional_pos;
  997|      4|    }
  998|    516|    {
  999|    516|        Py_ssize_t ival = -1;
 1000|    516|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
 1001|    516|        if (iobj != NULL) {
  ------------------
  |  Branch (1001:13): [True: 516, False: 0]
  ------------------
 1002|    516|            ival = PyLong_AsSsize_t(iobj);
 1003|    516|            Py_DECREF(iobj);
  ------------------
  |  |  430|    516|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|    516|        }
 1005|    516|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1005:13): [True: 0, False: 516]
  |  Branch (1005:27): [True: 0, False: 0]
  ------------------
 1006|      0|            goto exit;
 1007|      0|        }
 1008|    516|        buffer_size = ival;
 1009|    516|    }
 1010|    520|skip_optional_pos:
 1011|    520|    return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
 1012|       |
 1013|    520|exit:
 1014|    520|    return return_value;
 1015|    520|}
bufferedio.c:_io__Buffered_writable:
  476|      4|{
  477|      4|    PyObject *return_value = NULL;
  478|       |
  479|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  480|      4|    return_value = _io__Buffered_writable_impl((buffered *)self);
  481|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  482|       |
  483|      4|    return return_value;
  484|      4|}
bufferedio.c:_io_BufferedWriter_write:
 1110|     24|{
 1111|     24|    PyObject *return_value = NULL;
 1112|     24|    Py_buffer buffer = {NULL, NULL};
 1113|       |
 1114|     24|    if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     24|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1114:9): [True: 0, False: 24]
  ------------------
 1115|      0|        goto exit;
 1116|      0|    }
 1117|     24|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     24|    {
  ------------------
 1118|     24|    return_value = _io_BufferedWriter_write_impl((buffered *)self, &buffer);
 1119|     24|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     24|    }
  ------------------
 1120|       |
 1121|     24|exit:
 1122|       |    /* Cleanup for buffer */
 1123|     24|    if (buffer.obj) {
  ------------------
  |  Branch (1123:9): [True: 24, False: 0]
  ------------------
 1124|     24|       PyBuffer_Release(&buffer);
 1125|     24|    }
 1126|       |
 1127|     24|    return return_value;
 1128|     24|}
bufferedio.c:_io__Buffered_flush:
  595|      6|{
  596|      6|    PyObject *return_value = NULL;
  597|       |
  598|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  599|      6|    return_value = _io__Buffered_flush_impl((buffered *)self);
  600|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  601|       |
  602|      6|    return return_value;
  603|      6|}
bufferedio.c:_io_BufferedWriter___init__:
 1033|      8|{
 1034|      8|    int return_value = -1;
 1035|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1036|       |
 1037|      8|    #define NUM_KEYWORDS 2
 1038|      8|    static struct {
 1039|      8|        PyGC_Head _this_is_not_used;
 1040|      8|        PyObject_VAR_HEAD
 1041|      8|        Py_hash_t ob_hash;
 1042|      8|        PyObject *ob_item[NUM_KEYWORDS];
 1043|      8|    } _kwtuple = {
 1044|      8|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      8|    {                                     \
  |  |   98|      8|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      8|    {                               \
  |  |  |  |   91|      8|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      8|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      8|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      8|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      8|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      8|        (type)                      \
  |  |  |  |   93|      8|    },
  |  |  ------------------
  |  |   99|      8|        (size)                            \
  |  |  100|      8|    },
  ------------------
 1045|      8|        .ob_hash = -1,
 1046|      8|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|      8|    };
 1048|      8|    #undef NUM_KEYWORDS
 1049|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1050|       |
 1051|       |    #else  // !Py_BUILD_CORE
 1052|       |    #  define KWTUPLE NULL
 1053|       |    #endif  // !Py_BUILD_CORE
 1054|       |
 1055|      8|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
 1056|      8|    static _PyArg_Parser _parser = {
 1057|      8|        .keywords = _keywords,
 1058|      8|        .fname = "BufferedWriter",
 1059|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1049|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1060|      8|    };
 1061|      8|    #undef KWTUPLE
 1062|      8|    PyObject *argsbuf[2];
 1063|      8|    PyObject * const *fastargs;
 1064|      8|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      8|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1065|      8|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      2|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1065:36): [True: 2, False: 6]
  ------------------
 1066|      8|    PyObject *raw;
 1067|      8|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   81|      8|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1068|       |
 1069|      8|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      8|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 8, Folded]
  |  |  |  Branch (88:23): [True: 6, False: 2]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6]
  |  |  |  Branch (89:43): [True: 6, False: 0]
  |  |  |  Branch (89:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |   91|      8|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      2|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1070|      8|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1071|      8|    if (!fastargs) {
  ------------------
  |  Branch (1071:9): [True: 0, False: 8]
  ------------------
 1072|      0|        goto exit;
 1073|      0|    }
 1074|      8|    raw = fastargs[0];
 1075|      8|    if (!noptargs) {
  ------------------
  |  Branch (1075:9): [True: 0, False: 8]
  ------------------
 1076|      0|        goto skip_optional_pos;
 1077|      0|    }
 1078|      8|    {
 1079|      8|        Py_ssize_t ival = -1;
 1080|      8|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
 1081|      8|        if (iobj != NULL) {
  ------------------
  |  Branch (1081:13): [True: 8, False: 0]
  ------------------
 1082|      8|            ival = PyLong_AsSsize_t(iobj);
 1083|      8|            Py_DECREF(iobj);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      8|        }
 1085|      8|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1085:13): [True: 0, False: 8]
  |  Branch (1085:27): [True: 0, False: 0]
  ------------------
 1086|      0|            goto exit;
 1087|      0|        }
 1088|      8|        buffer_size = ival;
 1089|      8|    }
 1090|      8|skip_optional_pos:
 1091|      8|    return_value = _io_BufferedWriter___init___impl((buffered *)self, raw, buffer_size);
 1092|       |
 1093|      8|exit:
 1094|      8|    return return_value;
 1095|      8|}

bytesio.c:_io_BytesIO_tell:
  202|  3.84k|{
  203|  3.84k|    PyObject *return_value = NULL;
  204|       |
  205|  3.84k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.84k|    {
  ------------------
  206|  3.84k|    return_value = _io_BytesIO_tell_impl((bytesio *)self);
  207|  3.84k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.84k|    }
  ------------------
  208|       |
  209|  3.84k|    return return_value;
  210|  3.84k|}
bytesio.c:_io_BytesIO_write:
  515|  8.52k|{
  516|  8.52k|    PyObject *return_value = NULL;
  517|       |
  518|  8.52k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.52k|    {
  ------------------
  519|  8.52k|    return_value = _io_BytesIO_write_impl((bytesio *)self, b);
  520|  8.52k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.52k|    }
  ------------------
  521|       |
  522|  8.52k|    return return_value;
  523|  8.52k|}
bytesio.c:_io_BytesIO___init__:
  588|  6.27k|{
  589|  6.27k|    int return_value = -1;
  590|  6.27k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  591|       |
  592|  6.27k|    #define NUM_KEYWORDS 1
  593|  6.27k|    static struct {
  594|  6.27k|        PyGC_Head _this_is_not_used;
  595|  6.27k|        PyObject_VAR_HEAD
  596|  6.27k|        Py_hash_t ob_hash;
  597|  6.27k|        PyObject *ob_item[NUM_KEYWORDS];
  598|  6.27k|    } _kwtuple = {
  599|  6.27k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  6.27k|    {                                     \
  |  |   98|  6.27k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  6.27k|    {                               \
  |  |  |  |   91|  6.27k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  6.27k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  6.27k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  6.27k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  6.27k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  6.27k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  6.27k|        (type)                      \
  |  |  |  |   93|  6.27k|    },
  |  |  ------------------
  |  |   99|  6.27k|        (size)                            \
  |  |  100|  6.27k|    },
  ------------------
  600|  6.27k|        .ob_hash = -1,
  601|  6.27k|        .ob_item = { &_Py_ID(initial_bytes), },
  ------------------
  |  |  919|  6.27k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.27k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.27k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  602|  6.27k|    };
  603|  6.27k|    #undef NUM_KEYWORDS
  604|  6.27k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  605|       |
  606|       |    #else  // !Py_BUILD_CORE
  607|       |    #  define KWTUPLE NULL
  608|       |    #endif  // !Py_BUILD_CORE
  609|       |
  610|  6.27k|    static const char * const _keywords[] = {"initial_bytes", NULL};
  611|  6.27k|    static _PyArg_Parser _parser = {
  612|  6.27k|        .keywords = _keywords,
  613|  6.27k|        .fname = "BytesIO",
  614|  6.27k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  604|  6.27k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  615|  6.27k|    };
  616|  6.27k|    #undef KWTUPLE
  617|  6.27k|    PyObject *argsbuf[1];
  618|  6.27k|    PyObject * const *fastargs;
  619|  6.27k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  6.27k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|  6.27k|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (620:36): [True: 0, False: 6.27k]
  ------------------
  621|  6.27k|    PyObject *initvalue = NULL;
  622|       |
  623|  6.27k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  6.27k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 6.27k, Folded]
  |  |  |  Branch (88:23): [True: 6.27k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  6.27k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6.27k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6.27k]
  |  |  |  Branch (89:43): [True: 6.27k, False: 0]
  |  |  |  Branch (89:67): [True: 6.27k, False: 0]
  |  |  ------------------
  |  |   90|  6.27k|      (args) : \
  |  |   91|  6.27k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  624|  6.27k|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  625|  6.27k|    if (!fastargs) {
  ------------------
  |  Branch (625:9): [True: 0, False: 6.27k]
  ------------------
  626|      0|        goto exit;
  627|      0|    }
  628|  6.27k|    if (!noptargs) {
  ------------------
  |  Branch (628:9): [True: 3.88k, False: 2.38k]
  ------------------
  629|  3.88k|        goto skip_optional_pos;
  630|  3.88k|    }
  631|  2.38k|    initvalue = fastargs[0];
  632|  6.27k|skip_optional_pos:
  633|  6.27k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  6.27k|    {
  ------------------
  634|  6.27k|    return_value = _io_BytesIO___init___impl((bytesio *)self, initvalue);
  635|  6.27k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  6.27k|    }
  ------------------
  636|       |
  637|  6.27k|exit:
  638|  6.27k|    return return_value;
  639|  6.27k|}

fileio.c:_io_FileIO_readall:
  292|    506|{
  293|    506|    if (nargs || (kwnames && PyTuple_GET_SIZE(kwnames))) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (293:9): [True: 0, False: 506]
  |  Branch (293:19): [True: 0, False: 506]
  ------------------
  294|      0|        PyErr_SetString(PyExc_TypeError, "readall() takes no arguments");
  295|      0|        return NULL;
  296|      0|    }
  297|    506|    return _io_FileIO_readall_impl((fileio *)self, cls);
  298|    506|}
fileio.c:_io_FileIO_readinto:
  232|     24|{
  233|     24|    PyObject *return_value = NULL;
  234|     24|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  235|     24|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  236|       |    #else
  237|       |    #  define KWTUPLE NULL
  238|       |    #endif
  239|       |
  240|     24|    static const char * const _keywords[] = {"", NULL};
  241|     24|    static _PyArg_Parser _parser = {
  242|     24|        .keywords = _keywords,
  243|     24|        .fname = "readinto",
  244|     24|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|     24|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|     24|    };
  246|     24|    #undef KWTUPLE
  247|     24|    PyObject *argsbuf[1];
  248|     24|    Py_buffer buffer = {NULL, NULL};
  249|       |
  250|     24|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     24|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 24, False: 0]
  |  |  ------------------
  |  |   89|     24|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 24, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 24]
  |  |  |  Branch (89:43): [True: 24, False: 0]
  |  |  |  Branch (89:67): [True: 24, False: 0]
  |  |  ------------------
  |  |   90|     24|      (args) : \
  |  |   91|     24|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  251|     24|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  252|     24|    if (!args) {
  ------------------
  |  Branch (252:9): [True: 0, False: 24]
  ------------------
  253|      0|        goto exit;
  254|      0|    }
  255|     24|    if (PyObject_GetBuffer(args[0], &buffer, PyBUF_WRITABLE) < 0) {
  ------------------
  |  |  109|     24|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (255:9): [True: 0, False: 24]
  ------------------
  256|      0|        _PyArg_BadArgument("readinto", "argument 1", "read-write bytes-like object", args[0]);
  257|      0|        goto exit;
  258|      0|    }
  259|     24|    return_value = _io_FileIO_readinto_impl((fileio *)self, cls, &buffer);
  260|       |
  261|     24|exit:
  262|       |    /* Cleanup for buffer */
  263|     24|    if (buffer.obj) {
  ------------------
  |  Branch (263:9): [True: 24, False: 0]
  ------------------
  264|     24|       PyBuffer_Release(&buffer);
  265|     24|    }
  266|       |
  267|     24|    return return_value;
  268|     24|}
fileio.c:_io_FileIO_write:
  377|      2|{
  378|      2|    PyObject *return_value = NULL;
  379|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  380|      2|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  381|       |    #else
  382|       |    #  define KWTUPLE NULL
  383|       |    #endif
  384|       |
  385|      2|    static const char * const _keywords[] = {"", NULL};
  386|      2|    static _PyArg_Parser _parser = {
  387|      2|        .keywords = _keywords,
  388|      2|        .fname = "write",
  389|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  380|      2|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|      2|    };
  391|      2|    #undef KWTUPLE
  392|      2|    PyObject *argsbuf[1];
  393|      2|    Py_buffer b = {NULL, NULL};
  394|       |
  395|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  396|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  397|      2|    if (!args) {
  ------------------
  |  Branch (397:9): [True: 0, False: 2]
  ------------------
  398|      0|        goto exit;
  399|      0|    }
  400|      2|    if (PyObject_GetBuffer(args[0], &b, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (400:9): [True: 0, False: 2]
  ------------------
  401|      0|        goto exit;
  402|      0|    }
  403|      2|    return_value = _io_FileIO_write_impl((fileio *)self, cls, &b);
  404|       |
  405|      2|exit:
  406|       |    /* Cleanup for b */
  407|      2|    if (b.obj) {
  ------------------
  |  Branch (407:9): [True: 2, False: 0]
  ------------------
  408|      2|       PyBuffer_Release(&b);
  409|      2|    }
  410|       |
  411|      2|    return return_value;
  412|      2|}
fileio.c:_io_FileIO_tell:
  476|    526|{
  477|    526|    return _io_FileIO_tell_impl((fileio *)self);
  478|    526|}
fileio.c:_io_FileIO_close:
   29|    516|{
   30|    516|    if (nargs || (kwnames && PyTuple_GET_SIZE(kwnames))) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (30:9): [True: 0, False: 516]
  |  Branch (30:19): [True: 0, False: 516]
  ------------------
   31|      0|        PyErr_SetString(PyExc_TypeError, "close() takes no arguments");
   32|      0|        return NULL;
   33|      0|    }
   34|    516|    return _io_FileIO_close_impl((fileio *)self, cls);
   35|    516|}
fileio.c:_io_FileIO_seekable:
  214|     18|{
  215|     18|    return _io_FileIO_seekable_impl((fileio *)self);
  216|     18|}
fileio.c:_io_FileIO_readable:
  178|    526|{
  179|    526|    return _io_FileIO_readable_impl((fileio *)self);
  180|    526|}
fileio.c:_io_FileIO_writable:
  196|     10|{
  197|     10|    return _io_FileIO_writable_impl((fileio *)self);
  198|     10|}
fileio.c:_io_FileIO_isatty:
  549|      6|{
  550|      6|    return _io_FileIO_isatty_impl((fileio *)self);
  551|      6|}
fileio.c:_io_FileIO___init__:
   64|    526|{
   65|    526|    int return_value = -1;
   66|    526|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   67|       |
   68|    526|    #define NUM_KEYWORDS 4
   69|    526|    static struct {
   70|    526|        PyGC_Head _this_is_not_used;
   71|    526|        PyObject_VAR_HEAD
   72|    526|        Py_hash_t ob_hash;
   73|    526|        PyObject *ob_item[NUM_KEYWORDS];
   74|    526|    } _kwtuple = {
   75|    526|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    526|    {                                     \
  |  |   98|    526|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    526|    {                               \
  |  |  |  |   91|    526|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    526|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    526|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    526|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    526|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    526|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    526|        (type)                      \
  |  |  |  |   93|    526|    },
  |  |  ------------------
  |  |   99|    526|        (size)                            \
  |  |  100|    526|    },
  ------------------
   76|    526|        .ob_hash = -1,
   77|    526|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  919|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|    526|    };
   79|    526|    #undef NUM_KEYWORDS
   80|    526|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   81|       |
   82|       |    #else  // !Py_BUILD_CORE
   83|       |    #  define KWTUPLE NULL
   84|       |    #endif  // !Py_BUILD_CORE
   85|       |
   86|    526|    static const char * const _keywords[] = {"file", "mode", "closefd", "opener", NULL};
   87|    526|    static _PyArg_Parser _parser = {
   88|    526|        .keywords = _keywords,
   89|    526|        .fname = "FileIO",
   90|    526|        .kwtuple = KWTUPLE,
  ------------------
  |  |   80|    526|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   91|    526|    };
   92|    526|    #undef KWTUPLE
   93|    526|    PyObject *argsbuf[4];
   94|    526|    PyObject * const *fastargs;
   95|    526|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    526|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    526|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    526|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (96:36): [True: 0, False: 526]
  ------------------
   97|    526|    PyObject *nameobj;
   98|    526|    const char *mode = "r";
   99|    526|    int closefd = 1;
  100|    526|    PyObject *opener = Py_None;
  ------------------
  |  |  616|    526|#  define Py_None (&_Py_NoneStruct)
  ------------------
  101|       |
  102|    526|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    526|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 526, Folded]
  |  |  |  Branch (88:23): [True: 526, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    526|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 526, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 526]
  |  |  |  Branch (89:43): [True: 526, False: 0]
  |  |  |  Branch (89:67): [True: 526, False: 0]
  |  |  ------------------
  |  |   90|    526|      (args) : \
  |  |   91|    526|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  103|    526|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  104|    526|    if (!fastargs) {
  ------------------
  |  Branch (104:9): [True: 0, False: 526]
  ------------------
  105|      0|        goto exit;
  106|      0|    }
  107|    526|    nameobj = fastargs[0];
  108|    526|    if (!noptargs) {
  ------------------
  |  Branch (108:9): [True: 0, False: 526]
  ------------------
  109|      0|        goto skip_optional_pos;
  110|      0|    }
  111|    526|    if (fastargs[1]) {
  ------------------
  |  Branch (111:9): [True: 526, False: 0]
  ------------------
  112|    526|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|    526|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    526|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (112:13): [True: 0, False: 526]
  ------------------
  113|      0|            _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]);
  114|      0|            goto exit;
  115|      0|        }
  116|    526|        Py_ssize_t mode_length;
  117|    526|        mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length);
  118|    526|        if (mode == NULL) {
  ------------------
  |  Branch (118:13): [True: 0, False: 526]
  ------------------
  119|      0|            goto exit;
  120|      0|        }
  121|    526|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (121:13): [True: 0, False: 526]
  ------------------
  122|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  123|      0|            goto exit;
  124|      0|        }
  125|    526|        if (!--noptargs) {
  ------------------
  |  Branch (125:13): [True: 0, False: 526]
  ------------------
  126|      0|            goto skip_optional_pos;
  127|      0|        }
  128|    526|    }
  129|    526|    if (fastargs[2]) {
  ------------------
  |  Branch (129:9): [True: 526, False: 0]
  ------------------
  130|    526|        closefd = PyObject_IsTrue(fastargs[2]);
  131|    526|        if (closefd < 0) {
  ------------------
  |  Branch (131:13): [True: 0, False: 526]
  ------------------
  132|      0|            goto exit;
  133|      0|        }
  134|    526|        if (!--noptargs) {
  ------------------
  |  Branch (134:13): [True: 0, False: 526]
  ------------------
  135|      0|            goto skip_optional_pos;
  136|      0|        }
  137|    526|    }
  138|    526|    opener = fastargs[3];
  139|    526|skip_optional_pos:
  140|    526|    return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
  141|       |
  142|    526|exit:
  143|    526|    return return_value;
  144|    526|}

iobase.c:_io__IOBase_seek:
   42|      2|{
   43|      2|    PyObject *return_value = NULL;
   44|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   45|      2|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
   46|       |    #else
   47|       |    #  define KWTUPLE NULL
   48|       |    #endif
   49|       |
   50|      2|    static const char * const _keywords[] = {"", "", NULL};
   51|      2|    static _PyArg_Parser _parser = {
   52|      2|        .keywords = _keywords,
   53|      2|        .fname = "seek",
   54|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |   45|      2|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      2|    };
   56|      2|    #undef KWTUPLE
   57|      2|    PyObject *argsbuf[2];
   58|      2|    int offset;
   59|      2|    int whence = 0;
   60|       |
   61|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   62|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   63|      2|    if (!args) {
  ------------------
  |  Branch (63:9): [True: 0, False: 2]
  ------------------
   64|      0|        goto exit;
   65|      0|    }
   66|      2|    offset = PyLong_AsInt(args[0]);
   67|      2|    if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (67:9): [True: 0, False: 2]
  |  Branch (67:25): [True: 0, False: 0]
  ------------------
   68|      0|        goto exit;
   69|      0|    }
   70|      2|    if (nargs < 2) {
  ------------------
  |  Branch (70:9): [True: 0, False: 2]
  ------------------
   71|      0|        goto skip_optional_posonly;
   72|      0|    }
   73|      2|    whence = PyLong_AsInt(args[1]);
   74|      2|    if (whence == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2]
  |  Branch (74:25): [True: 0, False: 0]
  ------------------
   75|      0|        goto exit;
   76|      0|    }
   77|      2|skip_optional_posonly:
   78|      2|    return_value = _io__IOBase_seek_impl(self, cls, offset, whence);
   79|       |
   80|      2|exit:
   81|      2|    return return_value;
   82|      2|}
iobase.c:_io__IOBase_tell:
   98|      2|{
   99|      2|    return _io__IOBase_tell_impl(self);
  100|      2|}
iobase.c:_io__IOBase_flush:
  170|  1.04k|{
  171|  1.04k|    return _io__IOBase_flush_impl(self);
  172|  1.04k|}
iobase.c:_io__IOBase_close:
  190|    522|{
  191|    522|    return _io__IOBase_close_impl(self);
  192|    522|}
iobase.c:_io__IOBase_readable:
  231|      4|{
  232|      4|    return _io__IOBase_readable_impl(self);
  233|      4|}
iobase.c:_io__IOBase_writable:
  251|     10|{
  252|     10|    return _io__IOBase_writable_impl(self);
  253|     10|}
iobase.c:_io__IOBase_readlines:
  357|      4|{
  358|      4|    PyObject *return_value = NULL;
  359|      4|    Py_ssize_t hint = -1;
  360|       |
  361|      4|    if (!_PyArg_CheckPositional("readlines", nargs, 0, 1)) {
  ------------------
  |  |   31|      4|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4, False: 0]
  |  |  |  Branch (31:27): [True: 4, False: 0]
  |  |  ------------------
  |  |   32|      4|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  362|      0|        goto exit;
  363|      0|    }
  364|      4|    if (nargs < 1) {
  ------------------
  |  Branch (364:9): [True: 4, False: 0]
  ------------------
  365|      4|        goto skip_optional;
  366|      4|    }
  367|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &hint)) {
  ------------------
  |  Branch (367:9): [True: 0, False: 0]
  ------------------
  368|      0|        goto exit;
  369|      0|    }
  370|      4|skip_optional:
  371|      4|    return_value = _io__IOBase_readlines_impl(self, hint);
  372|       |
  373|      4|exit:
  374|      4|    return return_value;
  375|      4|}

stringio.c:_io_StringIO_readline:
  116|     34|{
  117|     34|    PyObject *return_value = NULL;
  118|     34|    Py_ssize_t size = -1;
  119|       |
  120|     34|    if (!_PyArg_CheckPositional("readline", nargs, 0, 1)) {
  ------------------
  |  |   31|     34|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 34, False: 0]
  |  |  |  Branch (31:27): [True: 34, False: 0]
  |  |  ------------------
  |  |   32|     34|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  121|      0|        goto exit;
  122|      0|    }
  123|     34|    if (nargs < 1) {
  ------------------
  |  Branch (123:9): [True: 34, False: 0]
  ------------------
  124|     34|        goto skip_optional;
  125|     34|    }
  126|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &size)) {
  ------------------
  |  Branch (126:9): [True: 0, False: 0]
  ------------------
  127|      0|        goto exit;
  128|      0|    }
  129|     34|skip_optional:
  130|     34|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     34|    {
  ------------------
  131|     34|    return_value = _io_StringIO_readline_impl((stringio *)self, size);
  132|     34|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     34|    }
  ------------------
  133|       |
  134|     34|exit:
  135|     34|    return return_value;
  136|     34|}
stringio.c:_io_StringIO___init__:
  304|      2|{
  305|      2|    int return_value = -1;
  306|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  307|       |
  308|      2|    #define NUM_KEYWORDS 2
  309|      2|    static struct {
  310|      2|        PyGC_Head _this_is_not_used;
  311|      2|        PyObject_VAR_HEAD
  312|      2|        Py_hash_t ob_hash;
  313|      2|        PyObject *ob_item[NUM_KEYWORDS];
  314|      2|    } _kwtuple = {
  315|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  316|      2|        .ob_hash = -1,
  317|      2|        .ob_item = { &_Py_ID(initial_value), &_Py_ID(newline), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(initial_value), &_Py_ID(newline), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|      2|    };
  319|      2|    #undef NUM_KEYWORDS
  320|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  321|       |
  322|       |    #else  // !Py_BUILD_CORE
  323|       |    #  define KWTUPLE NULL
  324|       |    #endif  // !Py_BUILD_CORE
  325|       |
  326|      2|    static const char * const _keywords[] = {"initial_value", "newline", NULL};
  327|      2|    static _PyArg_Parser _parser = {
  328|      2|        .keywords = _keywords,
  329|      2|        .fname = "StringIO",
  330|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  320|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  331|      2|    };
  332|      2|    #undef KWTUPLE
  333|      2|    PyObject *argsbuf[2];
  334|      2|    PyObject * const *fastargs;
  335|      2|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  336|      2|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (336:36): [True: 0, False: 2]
  ------------------
  337|      2|    PyObject *value = NULL;
  338|      2|    PyObject *newline_obj = NULL;
  339|       |
  340|      2|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 2, Folded]
  |  |  |  Branch (88:23): [True: 2, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  341|      2|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  342|      2|    if (!fastargs) {
  ------------------
  |  Branch (342:9): [True: 0, False: 2]
  ------------------
  343|      0|        goto exit;
  344|      0|    }
  345|      2|    if (!noptargs) {
  ------------------
  |  Branch (345:9): [True: 0, False: 2]
  ------------------
  346|      0|        goto skip_optional_pos;
  347|      0|    }
  348|      2|    if (fastargs[0]) {
  ------------------
  |  Branch (348:9): [True: 2, False: 0]
  ------------------
  349|      2|        value = fastargs[0];
  350|      2|        if (!--noptargs) {
  ------------------
  |  Branch (350:13): [True: 2, False: 0]
  ------------------
  351|      2|            goto skip_optional_pos;
  352|      2|        }
  353|      2|    }
  354|      0|    newline_obj = fastargs[1];
  355|      2|skip_optional_pos:
  356|      2|    return_value = _io_StringIO___init___impl((stringio *)self, value, newline_obj);
  357|       |
  358|      2|exit:
  359|      2|    return return_value;
  360|      2|}

textio.c:_io_IncrementalNewlineDecoder___init__:
  314|      8|{
  315|      8|    int return_value = -1;
  316|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  317|       |
  318|      8|    #define NUM_KEYWORDS 3
  319|      8|    static struct {
  320|      8|        PyGC_Head _this_is_not_used;
  321|      8|        PyObject_VAR_HEAD
  322|      8|        Py_hash_t ob_hash;
  323|      8|        PyObject *ob_item[NUM_KEYWORDS];
  324|      8|    } _kwtuple = {
  325|      8|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      8|    {                                     \
  |  |   98|      8|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      8|    {                               \
  |  |  |  |   91|      8|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      8|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      8|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      8|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      8|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      8|        (type)                      \
  |  |  |  |   93|      8|    },
  |  |  ------------------
  |  |   99|      8|        (size)                            \
  |  |  100|      8|    },
  ------------------
  326|      8|        .ob_hash = -1,
  327|      8|        .ob_item = { &_Py_ID(decoder), &_Py_ID(translate), &_Py_ID(errors), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(decoder), &_Py_ID(translate), &_Py_ID(errors), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(decoder), &_Py_ID(translate), &_Py_ID(errors), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      8|    };
  329|      8|    #undef NUM_KEYWORDS
  330|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  331|       |
  332|       |    #else  // !Py_BUILD_CORE
  333|       |    #  define KWTUPLE NULL
  334|       |    #endif  // !Py_BUILD_CORE
  335|       |
  336|      8|    static const char * const _keywords[] = {"decoder", "translate", "errors", NULL};
  337|      8|    static _PyArg_Parser _parser = {
  338|      8|        .keywords = _keywords,
  339|      8|        .fname = "IncrementalNewlineDecoder",
  340|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  |  330|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  341|      8|    };
  342|      8|    #undef KWTUPLE
  343|      8|    PyObject *argsbuf[3];
  344|      8|    PyObject * const *fastargs;
  345|      8|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      8|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|      8|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 2;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:36): [True: 0, False: 8]
  ------------------
  347|      8|    PyObject *decoder;
  348|      8|    int translate;
  349|      8|    PyObject *errors = NULL;
  350|       |
  351|      8|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      8|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 8, Folded]
  |  |  |  Branch (88:23): [True: 8, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8]
  |  |  |  Branch (89:43): [True: 8, False: 0]
  |  |  |  Branch (89:67): [True: 8, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |   91|      8|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  352|      8|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  353|      8|    if (!fastargs) {
  ------------------
  |  Branch (353:9): [True: 0, False: 8]
  ------------------
  354|      0|        goto exit;
  355|      0|    }
  356|      8|    decoder = fastargs[0];
  357|      8|    translate = PyObject_IsTrue(fastargs[1]);
  358|      8|    if (translate < 0) {
  ------------------
  |  Branch (358:9): [True: 0, False: 8]
  ------------------
  359|      0|        goto exit;
  360|      0|    }
  361|      8|    if (!noptargs) {
  ------------------
  |  Branch (361:9): [True: 8, False: 0]
  ------------------
  362|      8|        goto skip_optional_pos;
  363|      8|    }
  364|      0|    errors = fastargs[2];
  365|      8|skip_optional_pos:
  366|      8|    return_value = _io_IncrementalNewlineDecoder___init___impl((nldecoder_object *)self, decoder, translate, errors);
  367|       |
  368|      8|exit:
  369|      8|    return return_value;
  370|      8|}
textio.c:_io_TextIOWrapper_read:
  840|      4|{
  841|      4|    PyObject *return_value = NULL;
  842|      4|    Py_ssize_t n = -1;
  843|       |
  844|      4|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   31|      4|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4, False: 0]
  |  |  |  Branch (31:27): [True: 4, False: 0]
  |  |  ------------------
  |  |   32|      4|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  845|      0|        goto exit;
  846|      0|    }
  847|      4|    if (nargs < 1) {
  ------------------
  |  Branch (847:9): [True: 4, False: 0]
  ------------------
  848|      4|        goto skip_optional;
  849|      4|    }
  850|      0|    if (!_Py_convert_optional_to_ssize_t(args[0], &n)) {
  ------------------
  |  Branch (850:9): [True: 0, False: 0]
  ------------------
  851|      0|        goto exit;
  852|      0|    }
  853|      4|skip_optional:
  854|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  855|      4|    return_value = _io_TextIOWrapper_read_impl((textio *)self, n);
  856|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  857|       |
  858|      4|exit:
  859|      4|    return return_value;
  860|      4|}
textio.c:_io_TextIOWrapper_flush:
 1150|      8|{
 1151|      8|    PyObject *return_value = NULL;
 1152|       |
 1153|      8|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      8|    {
  ------------------
 1154|      8|    return_value = _io_TextIOWrapper_flush_impl((textio *)self);
 1155|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 1156|       |
 1157|      8|    return return_value;
 1158|      8|}
textio.c:_io_TextIOWrapper_close:
 1173|      8|{
 1174|      8|    PyObject *return_value = NULL;
 1175|       |
 1176|      8|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      8|    {
  ------------------
 1177|      8|    return_value = _io_TextIOWrapper_close_impl((textio *)self);
 1178|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 1179|       |
 1180|      8|    return return_value;
 1181|      8|}
textio.c:_io_TextIOWrapper_closed_get:
 1223|     20|{
 1224|     20|    PyObject *return_value = NULL;
 1225|       |
 1226|     20|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     20|    {
  ------------------
 1227|     20|    return_value = _io_TextIOWrapper_closed_get_impl((textio *)self);
 1228|     20|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     20|    }
  ------------------
 1229|       |
 1230|     20|    return return_value;
 1231|     20|}
textio.c:_io_TextIOWrapper___init__:
  554|     14|{
  555|     14|    int return_value = -1;
  556|     14|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  557|       |
  558|     14|    #define NUM_KEYWORDS 6
  559|     14|    static struct {
  560|     14|        PyGC_Head _this_is_not_used;
  561|     14|        PyObject_VAR_HEAD
  562|     14|        Py_hash_t ob_hash;
  563|     14|        PyObject *ob_item[NUM_KEYWORDS];
  564|     14|    } _kwtuple = {
  565|     14|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     14|    {                                     \
  |  |   98|     14|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     14|    {                               \
  |  |  |  |   91|     14|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     14|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     14|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     14|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     14|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     14|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     14|        (type)                      \
  |  |  |  |   93|     14|    },
  |  |  ------------------
  |  |   99|     14|        (size)                            \
  |  |  100|     14|    },
  ------------------
  566|     14|        .ob_hash = -1,
  567|     14|        .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|     14|    };
  569|     14|    #undef NUM_KEYWORDS
  570|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  571|       |
  572|       |    #else  // !Py_BUILD_CORE
  573|       |    #  define KWTUPLE NULL
  574|       |    #endif  // !Py_BUILD_CORE
  575|       |
  576|     14|    static const char * const _keywords[] = {"buffer", "encoding", "errors", "newline", "line_buffering", "write_through", NULL};
  577|     14|    static _PyArg_Parser _parser = {
  578|     14|        .keywords = _keywords,
  579|     14|        .fname = "TextIOWrapper",
  580|     14|        .kwtuple = KWTUPLE,
  ------------------
  |  |  570|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  581|     14|    };
  582|     14|    #undef KWTUPLE
  583|     14|    PyObject *argsbuf[6];
  584|     14|    PyObject * const *fastargs;
  585|     14|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     14|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|     14|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      4|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (586:36): [True: 4, False: 10]
  ------------------
  587|     14|    PyObject *buffer;
  588|     14|    const char *encoding = NULL;
  589|     14|    PyObject *errors = Py_None;
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  590|     14|    const char *newline = NULL;
  591|     14|    int line_buffering = 0;
  592|     14|    int write_through = 0;
  593|       |
  594|     14|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     14|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 14, Folded]
  |  |  |  Branch (88:23): [True: 10, False: 4]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     14|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 10, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 10]
  |  |  |  Branch (89:43): [True: 10, False: 0]
  |  |  |  Branch (89:67): [True: 10, False: 0]
  |  |  ------------------
  |  |   90|     14|      (args) : \
  |  |   91|     14|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      4|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  595|     14|            /*minpos*/ 1, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  596|     14|    if (!fastargs) {
  ------------------
  |  Branch (596:9): [True: 0, False: 14]
  ------------------
  597|      0|        goto exit;
  598|      0|    }
  599|     14|    buffer = fastargs[0];
  600|     14|    if (!noptargs) {
  ------------------
  |  Branch (600:9): [True: 0, False: 14]
  ------------------
  601|      0|        goto skip_optional_pos;
  602|      0|    }
  603|     14|    if (fastargs[1]) {
  ------------------
  |  Branch (603:9): [True: 14, False: 0]
  ------------------
  604|     14|        if (fastargs[1] == Py_None) {
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (604:13): [True: 0, False: 14]
  ------------------
  605|      0|            encoding = NULL;
  606|      0|        }
  607|     14|        else if (PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     14|            Py_ssize_t encoding_length;
  609|     14|            encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
  610|     14|            if (encoding == NULL) {
  ------------------
  |  Branch (610:17): [True: 0, False: 14]
  ------------------
  611|      0|                goto exit;
  612|      0|            }
  613|     14|            if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (613:17): [True: 0, False: 14]
  ------------------
  614|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  615|      0|                goto exit;
  616|      0|            }
  617|     14|        }
  618|      0|        else {
  619|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]);
  620|      0|            goto exit;
  621|      0|        }
  622|     14|        if (!--noptargs) {
  ------------------
  |  Branch (622:13): [True: 0, False: 14]
  ------------------
  623|      0|            goto skip_optional_pos;
  624|      0|        }
  625|     14|    }
  626|     14|    if (fastargs[2]) {
  ------------------
  |  Branch (626:9): [True: 10, False: 4]
  ------------------
  627|     10|        errors = fastargs[2];
  628|     10|        if (!--noptargs) {
  ------------------
  |  Branch (628:13): [True: 0, False: 10]
  ------------------
  629|      0|            goto skip_optional_pos;
  630|      0|        }
  631|     10|    }
  632|     14|    if (fastargs[3]) {
  ------------------
  |  Branch (632:9): [True: 10, False: 4]
  ------------------
  633|     10|        if (fastargs[3] == Py_None) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (633:13): [True: 4, False: 6]
  ------------------
  634|      4|            newline = NULL;
  635|      4|        }
  636|      6|        else if (PyUnicode_Check(fastargs[3])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  637|      6|            Py_ssize_t newline_length;
  638|      6|            newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length);
  639|      6|            if (newline == NULL) {
  ------------------
  |  Branch (639:17): [True: 0, False: 6]
  ------------------
  640|      0|                goto exit;
  641|      0|            }
  642|      6|            if (strlen(newline) != (size_t)newline_length) {
  ------------------
  |  Branch (642:17): [True: 0, False: 6]
  ------------------
  643|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  644|      0|                goto exit;
  645|      0|            }
  646|      6|        }
  647|      0|        else {
  648|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'newline'", "str or None", fastargs[3]);
  649|      0|            goto exit;
  650|      0|        }
  651|     10|        if (!--noptargs) {
  ------------------
  |  Branch (651:13): [True: 0, False: 10]
  ------------------
  652|      0|            goto skip_optional_pos;
  653|      0|        }
  654|     10|    }
  655|     14|    if (fastargs[4]) {
  ------------------
  |  Branch (655:9): [True: 14, False: 0]
  ------------------
  656|     14|        line_buffering = PyObject_IsTrue(fastargs[4]);
  657|     14|        if (line_buffering < 0) {
  ------------------
  |  Branch (657:13): [True: 0, False: 14]
  ------------------
  658|      0|            goto exit;
  659|      0|        }
  660|     14|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 8, False: 6]
  ------------------
  661|      8|            goto skip_optional_pos;
  662|      8|        }
  663|     14|    }
  664|      6|    write_through = PyObject_IsTrue(fastargs[5]);
  665|      6|    if (write_through < 0) {
  ------------------
  |  Branch (665:9): [True: 0, False: 6]
  ------------------
  666|      0|        goto exit;
  667|      0|    }
  668|     14|skip_optional_pos:
  669|     14|    return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through);
  670|       |
  671|     14|exit:
  672|     14|    return return_value;
  673|     14|}

_PyFileIO_closed:
   95|  9.32k|{
   96|  9.32k|    return (PyFileIO_CAST(self)->fd < 0);
  ------------------
  |  |   88|  9.32k|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
   97|  9.32k|}
fileio.c:fileio_dealloc:
  568|    520|{
  569|    520|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|    520|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  570|    520|    self->finalizing = 1;
  571|    520|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (571:9): [True: 0, False: 520]
  ------------------
  572|      0|        return;
  573|      0|    }
  574|       |
  575|    520|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|    520|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|    520|    if (self->stat_atopen != NULL) {
  ------------------
  |  Branch (576:9): [True: 0, False: 520]
  ------------------
  577|      0|        PyMem_Free(self->stat_atopen);
  578|      0|        self->stat_atopen = NULL;
  579|      0|    }
  580|    520|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|    520|    do {                                            \
  |  |   48|    520|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    520|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 520]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    520|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 520]
  |  |  ------------------
  ------------------
  581|    520|    (void)fileio_clear(op);
  582|       |
  583|    520|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|    520|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|    520|    tp->tp_free(op);
  585|    520|    Py_DECREF(tp);
  ------------------
  |  |  430|    520|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|    520|}
fileio.c:mode_string:
 1148|      2|{
 1149|      2|    if (self->created) {
  ------------------
  |  Branch (1149:9): [True: 0, False: 2]
  ------------------
 1150|      0|        if (self->readable)
  ------------------
  |  Branch (1150:13): [True: 0, False: 0]
  ------------------
 1151|      0|            return "xb+";
 1152|      0|        else
 1153|      0|            return "xb";
 1154|      0|    }
 1155|      2|    if (self->appending) {
  ------------------
  |  Branch (1155:9): [True: 0, False: 2]
  ------------------
 1156|      0|        if (self->readable)
  ------------------
  |  Branch (1156:13): [True: 0, False: 0]
  ------------------
 1157|      0|            return "ab+";
 1158|      0|        else
 1159|      0|            return "ab";
 1160|      0|    }
 1161|      2|    else if (self->readable) {
  ------------------
  |  Branch (1161:14): [True: 2, False: 0]
  ------------------
 1162|      2|        if (self->writable) {
  ------------------
  |  Branch (1162:13): [True: 0, False: 2]
  ------------------
 1163|      0|            if (self->truncate) {
  ------------------
  |  Branch (1163:17): [True: 0, False: 0]
  ------------------
 1164|      0|                return "wb+";
 1165|      0|            }
 1166|      0|            else {
 1167|      0|                return "rb+";
 1168|      0|            }
 1169|      0|        }
 1170|      2|        else {
 1171|      2|            return "rb";
 1172|      2|        }
 1173|      2|    }
 1174|      0|    else
 1175|      0|        return "wb";
 1176|      2|}
fileio.c:fileio_traverse:
  551|     52|{
  552|     52|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     52|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  553|     52|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     52|    do {                                                                \
  |  |  195|     52|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 52, False: 0]
  |  |  ------------------
  |  |  196|     52|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     52|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 52]
  |  |  ------------------
  |  |  198|     52|                return vret;                                            \
  |  |  199|     52|        }                                                               \
  |  |  200|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
  554|     52|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     52|    do {                                                                \
  |  |  195|     52|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 52, False: 0]
  |  |  ------------------
  |  |  196|     52|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     52|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 52]
  |  |  ------------------
  |  |  198|     52|                return vret;                                            \
  |  |  199|     52|        }                                                               \
  |  |  200|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
  555|     52|    return 0;
  556|     52|}
fileio.c:fileio_clear:
  560|    520|{
  561|    520|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|    520|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  562|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|    520|    do { \
  |  |  485|    520|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    520|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    520|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    520|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    520|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 516, False: 4]
  |  |  ------------------
  |  |  488|    516|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    516|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    516|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    516|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    516|        } \
  |  |  491|    520|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 520]
  |  |  ------------------
  ------------------
  563|    520|    return 0;
  564|    520|}
fileio.c:_io_FileIO_readall_impl:
  750|    506|{
  751|    506|    Py_off_t pos, end;
  752|    506|    PyBytesWriter *writer;
  753|    506|    Py_ssize_t bytes_read = 0;
  754|    506|    Py_ssize_t n;
  755|    506|    size_t bufsize;
  756|       |
  757|    506|    if (self->fd < 0) {
  ------------------
  |  Branch (757:9): [True: 0, False: 506]
  ------------------
  758|      0|        return err_closed();
  759|      0|    }
  760|    506|    if (!self->readable) {
  ------------------
  |  Branch (760:9): [True: 0, False: 506]
  ------------------
  761|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  762|      0|        return err_mode(state, "reading");
  763|      0|    }
  764|       |
  765|    506|    if (self->stat_atopen != NULL && self->stat_atopen->st_size < _PY_READ_MAX) {
  ------------------
  |  |   59|    506|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    506|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (765:9): [True: 506, False: 0]
  |  Branch (765:38): [True: 506, False: 0]
  ------------------
  766|    506|        end = (Py_off_t)self->stat_atopen->st_size;
  767|    506|    }
  768|      0|    else {
  769|      0|        end = -1;
  770|      0|    }
  771|    506|    if (end <= 0) {
  ------------------
  |  Branch (771:9): [True: 0, False: 506]
  ------------------
  772|       |        /* Use a default size and resize as needed. */
  773|      0|        bufsize = SMALLCHUNK;
  ------------------
  |  |   52|      0|#  define SMALLCHUNK BUFSIZ
  ------------------
  774|      0|    }
  775|    506|    else {
  776|       |        /* This is probably a real file. */
  777|    506|        if (end > _PY_READ_MAX - 1) {
  ------------------
  |  |   59|    506|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    506|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (777:13): [True: 0, False: 506]
  ------------------
  778|      0|            bufsize = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  779|      0|        }
  780|    506|        else {
  781|       |            /* In order to detect end of file, need a read() of at
  782|       |               least 1 byte which returns size 0. Oversize the buffer
  783|       |               by 1 byte so the I/O can be completed with two read()
  784|       |               calls (one for all data, one for EOF) without needing
  785|       |               to resize the buffer. */
  786|    506|            bufsize = (size_t)end + 1;
  787|    506|        }
  788|       |
  789|       |        /* While a lot of code does open().read() to get the whole contents
  790|       |           of a file it is possible a caller seeks/reads a ways into the file
  791|       |           then calls readall() to get the rest, which would result in allocating
  792|       |           more than required. Guard against that for larger files where we expect
  793|       |           the I/O time to dominate anyways while keeping small files fast. */
  794|    506|        if (bufsize > LARGE_BUFFER_CUTOFF_SIZE) {
  ------------------
  |  |   57|    506|#define LARGE_BUFFER_CUTOFF_SIZE 65536
  ------------------
  |  Branch (794:13): [True: 68, False: 438]
  ------------------
  795|     68|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     68|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     68|                        PyThreadState *_save; \
  |  |  121|     68|                        _save = PyEval_SaveThread();
  ------------------
  796|     68|            _Py_BEGIN_SUPPRESS_IPH
  797|       |#ifdef MS_WINDOWS
  798|       |            pos = _lseeki64(self->fd, 0L, SEEK_CUR);
  799|       |#else
  800|     68|            pos = lseek(self->fd, 0L, SEEK_CUR);
  801|     68|#endif
  802|     68|            _Py_END_SUPPRESS_IPH
  803|     68|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     68|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     68|                 }
  ------------------
  804|       |
  805|     68|            if (end >= pos && pos >= 0 && (end - pos) < (_PY_READ_MAX - 1)) {
  ------------------
  |  |   59|     68|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     68|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (805:17): [True: 68, False: 0]
  |  Branch (805:31): [True: 68, False: 0]
  |  Branch (805:43): [True: 68, False: 0]
  ------------------
  806|     68|                bufsize = (size_t)(end - pos) + 1;
  807|     68|            }
  808|     68|        }
  809|    506|    }
  810|       |
  811|    506|    writer = PyBytesWriter_Create(bufsize);
  812|    506|    if (writer == NULL) {
  ------------------
  |  Branch (812:9): [True: 0, False: 506]
  ------------------
  813|      0|        return NULL;
  814|      0|    }
  815|       |
  816|  1.01k|    while (1) {
  ------------------
  |  Branch (816:12): [True: 1.01k, Folded]
  ------------------
  817|  1.01k|        if (bytes_read >= (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (817:13): [True: 0, False: 1.01k]
  ------------------
  818|      0|            bufsize = new_buffersize(self, bytes_read);
  819|      0|            if (bufsize > PY_SSIZE_T_MAX || bufsize <= 0) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (819:17): [True: 0, False: 0]
  |  Branch (819:45): [True: 0, False: 0]
  ------------------
  820|      0|                PyErr_SetString(PyExc_OverflowError,
  821|      0|                                "unbounded read returned more bytes "
  822|      0|                                "than a Python bytes object can hold");
  823|      0|                PyBytesWriter_Discard(writer);
  824|      0|                return NULL;
  825|      0|            }
  826|       |
  827|      0|            if (PyBytesWriter_GetSize(writer) < (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (827:17): [True: 0, False: 0]
  ------------------
  828|      0|                if (PyBytesWriter_Resize(writer, bufsize) < 0)
  ------------------
  |  Branch (828:21): [True: 0, False: 0]
  ------------------
  829|      0|                    return NULL;
  830|      0|            }
  831|      0|        }
  832|       |
  833|  1.01k|        n = _Py_read(self->fd,
  834|  1.01k|                     (char*)PyBytesWriter_GetData(writer) + bytes_read,
  835|  1.01k|                     bufsize - bytes_read);
  836|       |
  837|  1.01k|        if (n == 0)
  ------------------
  |  Branch (837:13): [True: 506, False: 506]
  ------------------
  838|    506|            break;
  839|    506|        if (n == -1) {
  ------------------
  |  Branch (839:13): [True: 0, False: 506]
  ------------------
  840|      0|            if (errno == EAGAIN) {
  ------------------
  |  Branch (840:17): [True: 0, False: 0]
  ------------------
  841|      0|                PyErr_Clear();
  842|      0|                if (bytes_read > 0)
  ------------------
  |  Branch (842:21): [True: 0, False: 0]
  ------------------
  843|      0|                    break;
  844|      0|                PyBytesWriter_Discard(writer);
  845|      0|                Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  846|      0|            }
  847|      0|            PyBytesWriter_Discard(writer);
  848|      0|            return NULL;
  849|      0|        }
  850|    506|        bytes_read += n;
  851|    506|    }
  852|       |
  853|    506|    return PyBytesWriter_FinishWithSize(writer, bytes_read);
  854|    506|}
fileio.c:_io_FileIO_readinto_impl:
  685|     24|{
  686|     24|    Py_ssize_t n;
  687|     24|    int err;
  688|       |
  689|     24|    if (self->fd < 0)
  ------------------
  |  Branch (689:9): [True: 0, False: 24]
  ------------------
  690|      0|        return err_closed();
  691|     24|    if (!self->readable) {
  ------------------
  |  Branch (691:9): [True: 0, False: 24]
  ------------------
  692|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  693|      0|        return err_mode(state, "reading");
  694|      0|    }
  695|       |
  696|     24|    n = _Py_read(self->fd, buffer->buf, buffer->len);
  697|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  698|     24|    err = errno;
  699|       |
  700|     24|    if (n == -1) {
  ------------------
  |  Branch (700:9): [True: 0, False: 24]
  ------------------
  701|      0|        if (err == EAGAIN) {
  ------------------
  |  Branch (701:13): [True: 0, False: 0]
  ------------------
  702|      0|            PyErr_Clear();
  703|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  704|      0|        }
  705|      0|        return NULL;
  706|      0|    }
  707|       |
  708|     24|    return PyLong_FromSsize_t(n);
  709|     24|}
fileio.c:_io_FileIO_write_impl:
  929|      2|{
  930|      2|    Py_ssize_t n;
  931|      2|    int err;
  932|       |
  933|      2|    if (self->fd < 0)
  ------------------
  |  Branch (933:9): [True: 0, False: 2]
  ------------------
  934|      0|        return err_closed();
  935|      2|    if (!self->writable) {
  ------------------
  |  Branch (935:9): [True: 0, False: 2]
  ------------------
  936|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  937|      0|        return err_mode(state, "writing");
  938|      0|    }
  939|       |
  940|      2|    n = _Py_write(self->fd, b->buf, b->len);
  941|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  942|      2|    err = errno;
  943|       |
  944|      2|    if (n < 0) {
  ------------------
  |  Branch (944:9): [True: 0, False: 2]
  ------------------
  945|      0|        if (err == EAGAIN) {
  ------------------
  |  Branch (945:13): [True: 0, False: 0]
  ------------------
  946|      0|            PyErr_Clear();
  947|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  948|      0|        }
  949|      0|        return NULL;
  950|      0|    }
  951|       |
  952|      2|    return PyLong_FromSsize_t(n);
  953|      2|}
fileio.c:portable_lseek:
  960|    526|{
  961|    526|    Py_off_t pos, res;
  962|    526|    int fd = self->fd;
  963|       |
  964|    526|#ifdef SEEK_SET
  965|       |    /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */
  966|    526|    switch (whence) {
  ------------------
  |  Branch (966:13): [Folded, False: 526]
  ------------------
  967|       |#if SEEK_SET != 0
  968|       |    case 0: whence = SEEK_SET; break;
  969|       |#endif
  970|       |#if SEEK_CUR != 1
  971|       |    case 1: whence = SEEK_CUR; break;
  972|       |#endif
  973|       |#if SEEK_END != 2
  974|       |    case 2: whence = SEEK_END; break;
  975|       |#endif
  976|    526|    }
  977|    526|#endif /* SEEK_SET */
  978|       |
  979|    526|    if (posobj == NULL) {
  ------------------
  |  Branch (979:9): [True: 526, False: 0]
  ------------------
  980|    526|        pos = 0;
  981|    526|    }
  982|      0|    else {
  983|       |#if defined(HAVE_LARGEFILE_SUPPORT)
  984|       |        pos = PyLong_AsLongLong(posobj);
  985|       |#else
  986|      0|        pos = PyLong_AsLong(posobj);
  987|      0|#endif
  988|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (988:13): [True: 0, False: 0]
  ------------------
  989|      0|            return NULL;
  990|      0|    }
  991|       |
  992|    526|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    526|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    526|                        PyThreadState *_save; \
  |  |  121|    526|                        _save = PyEval_SaveThread();
  ------------------
  993|    526|    _Py_BEGIN_SUPPRESS_IPH
  994|       |#ifdef MS_WINDOWS
  995|       |    res = _lseeki64(fd, pos, whence);
  996|       |#else
  997|    526|    res = lseek(fd, pos, whence);
  998|    526|#endif
  999|    526|    _Py_END_SUPPRESS_IPH
 1000|    526|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    526|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    526|                 }
  ------------------
 1001|       |
 1002|    526|    if (self->seekable < 0) {
  ------------------
  |  Branch (1002:9): [True: 522, False: 4]
  ------------------
 1003|    522|        self->seekable = (res >= 0);
 1004|    522|    }
 1005|       |
 1006|    526|    if (res < 0) {
  ------------------
  |  Branch (1006:9): [True: 0, False: 526]
  ------------------
 1007|      0|        if (suppress_pipe_error && errno == ESPIPE) {
  ------------------
  |  Branch (1007:13): [True: 0, False: 0]
  |  Branch (1007:36): [True: 0, False: 0]
  ------------------
 1008|      0|            res = 0;
 1009|      0|        } else {
 1010|      0|            return PyErr_SetFromErrno(PyExc_OSError);
 1011|      0|        }
 1012|      0|    }
 1013|       |
 1014|       |#if defined(HAVE_LARGEFILE_SUPPORT)
 1015|       |    return PyLong_FromLongLong(res);
 1016|       |#else
 1017|    526|    return PyLong_FromLong(res);
 1018|    526|#endif
 1019|    526|}
fileio.c:_io_FileIO_tell_impl:
 1060|    526|{
 1061|    526|    if (self->fd < 0)
  ------------------
  |  Branch (1061:9): [True: 0, False: 526]
  ------------------
 1062|      0|        return err_closed();
 1063|       |
 1064|    526|    return portable_lseek(self, NULL, 1, false);
 1065|    526|}
fileio.c:_io_FileIO_close_impl:
  163|    516|{
  164|    516|    PyObject *res;
  165|    516|    int rc;
  166|    516|    _PyIO_State *state = get_io_state_by_cls(cls);
  167|    516|    res = PyObject_CallMethodOneArg((PyObject*)state->PyRawIOBase_Type,
  168|    516|                                     &_Py_ID(close), (PyObject *)self);
  ------------------
  |  |  919|    516|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    516|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    516|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    516|    if (!self->closefd) {
  ------------------
  |  Branch (169:9): [True: 0, False: 516]
  ------------------
  170|      0|        self->fd = -1;
  171|      0|        return res;
  172|      0|    }
  173|       |
  174|    516|    PyObject *exc = NULL;
  175|    516|    if (res == NULL) {
  ------------------
  |  Branch (175:9): [True: 0, False: 516]
  ------------------
  176|      0|        exc = PyErr_GetRaisedException();
  177|      0|    }
  178|    516|    if (self->finalizing) {
  ------------------
  |  Branch (178:9): [True: 0, False: 516]
  ------------------
  179|      0|        PyObject *r = fileio_dealloc_warn((PyObject*)self, (PyObject *) self);
  180|      0|        if (r) {
  ------------------
  |  Branch (180:13): [True: 0, False: 0]
  ------------------
  181|      0|            Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|        }
  183|      0|        else {
  184|      0|            PyErr_Clear();
  185|      0|        }
  186|      0|    }
  187|    516|    rc = internal_close(self);
  188|    516|    if (res == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 516]
  ------------------
  189|      0|        _PyErr_ChainExceptions1(exc);
  190|      0|    }
  191|    516|    if (rc < 0) {
  ------------------
  |  Branch (191:9): [True: 0, False: 516]
  ------------------
  192|       |        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  193|      0|    }
  194|    516|    return res;
  195|    516|}
fileio.c:internal_close:
  123|    516|{
  124|    516|    int err = 0;
  125|    516|    int save_errno = 0;
  126|    516|    if (self->fd >= 0) {
  ------------------
  |  Branch (126:9): [True: 516, False: 0]
  ------------------
  127|    516|        int fd = self->fd;
  128|    516|        self->fd = -1;
  129|       |        /* fd is accessible and someone else may have closed it */
  130|    516|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    516|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    516|                        PyThreadState *_save; \
  |  |  121|    516|                        _save = PyEval_SaveThread();
  ------------------
  131|    516|        _Py_BEGIN_SUPPRESS_IPH
  132|    516|        err = close(fd);
  133|    516|        if (err < 0)
  ------------------
  |  Branch (133:13): [True: 0, False: 516]
  ------------------
  134|      0|            save_errno = errno;
  135|    516|        _Py_END_SUPPRESS_IPH
  136|    516|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    516|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    516|                 }
  ------------------
  137|    516|    }
  138|    516|    PyMem_Free(self->stat_atopen);
  139|    516|    self->stat_atopen = NULL;
  140|    516|    if (err < 0) {
  ------------------
  |  Branch (140:9): [True: 0, False: 516]
  ------------------
  141|      0|        errno = save_errno;
  142|      0|        PyErr_SetFromErrno(PyExc_OSError);
  143|      0|        return -1;
  144|      0|    }
  145|    516|    return 0;
  146|    516|}
fileio.c:_io_FileIO_seekable_impl:
  656|     18|{
  657|     18|    if (self->fd < 0)
  ------------------
  |  Branch (657:9): [True: 0, False: 18]
  ------------------
  658|      0|        return err_closed();
  659|     18|    if (self->seekable < 0) {
  ------------------
  |  Branch (659:9): [True: 0, False: 18]
  ------------------
  660|       |        /* portable_lseek() sets the seekable attribute */
  661|      0|        PyObject *pos = portable_lseek(self, NULL, SEEK_CUR, false);
  662|      0|        assert(self->seekable >= 0);
  663|      0|        if (pos == NULL) {
  ------------------
  |  Branch (663:13): [True: 0, False: 0]
  ------------------
  664|      0|            PyErr_Clear();
  665|      0|        }
  666|      0|        else {
  667|      0|            Py_DECREF(pos);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|        }
  669|      0|    }
  670|     18|    return PyBool_FromLong((long) self->seekable);
  671|     18|}
fileio.c:_io_FileIO_readable_impl:
  626|    526|{
  627|    526|    if (self->fd < 0)
  ------------------
  |  Branch (627:9): [True: 0, False: 526]
  ------------------
  628|      0|        return err_closed();
  629|    526|    return PyBool_FromLong((long) self->readable);
  630|    526|}
fileio.c:_io_FileIO_writable_impl:
  641|     10|{
  642|     10|    if (self->fd < 0)
  ------------------
  |  Branch (642:9): [True: 0, False: 10]
  ------------------
  643|      0|        return err_closed();
  644|     10|    return PyBool_FromLong((long) self->writable);
  645|     10|}
fileio.c:_io_FileIO_isatty_impl:
 1225|      8|{
 1226|      8|    long res;
 1227|       |
 1228|      8|    if (self->fd < 0)
  ------------------
  |  Branch (1228:9): [True: 0, False: 8]
  ------------------
 1229|      0|        return err_closed();
 1230|      8|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      8|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      8|                        PyThreadState *_save; \
  |  |  121|      8|                        _save = PyEval_SaveThread();
  ------------------
 1231|      8|    _Py_BEGIN_SUPPRESS_IPH
 1232|      8|    res = isatty(self->fd);
 1233|      8|    _Py_END_SUPPRESS_IPH
 1234|      8|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      8|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      8|                 }
  ------------------
 1235|      8|    return PyBool_FromLong(res);
 1236|      8|}
fileio.c:_io_FileIO_isatty_open_only:
 1248|    522|{
 1249|    522|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|    522|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1250|    522|    if (self->stat_atopen != NULL && !S_ISCHR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (1250:9): [True: 522, False: 0]
  |  Branch (1250:38): [True: 520, False: 2]
  ------------------
 1251|    520|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    520|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    520|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1252|    520|    }
 1253|      2|    return _io_FileIO_isatty_impl(self);
 1254|    522|}
fileio.c:fileio_get_closed:
 1282|  1.56k|{
 1283|  1.56k|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|  1.56k|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1284|  1.56k|    return PyBool_FromLong((long)(self->fd < 0));
 1285|  1.56k|}
fileio.c:fileio_get_mode:
 1296|      2|{
 1297|      2|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|      2|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1298|      2|    return PyUnicode_FromString(mode_string(self));
 1299|      2|}
fileio.c:fileio_get_blksize:
 1303|    522|{
 1304|    522|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 1305|    522|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|    522|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1306|    522|    if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
  ------------------
  |  Branch (1306:9): [True: 522, False: 0]
  |  Branch (1306:38): [True: 522, False: 0]
  ------------------
 1307|    522|        return PyLong_FromLong(self->stat_atopen->st_blksize);
 1308|    522|    }
 1309|      0|#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 1310|      0|    return PyLong_FromLong(DEFAULT_BUFFER_SIZE);
  ------------------
  |  |   81|      0|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1311|    522|}
fileio.c:_io_FileIO___init___impl:
  253|    526|{
  254|       |#ifdef MS_WINDOWS
  255|       |    wchar_t *widename = NULL;
  256|       |#else
  257|    526|    const char *name = NULL;
  258|    526|#endif
  259|    526|    PyObject *stringobj = NULL;
  260|    526|    const char *s;
  261|    526|    int ret = 0;
  262|    526|    int rwa = 0, plus = 0;
  263|    526|    int flags = 0;
  264|    526|    int fd = -1;
  265|    526|    int fd_is_own = 0;
  266|    526|#ifdef O_CLOEXEC
  267|    526|    int *atomic_flag_works = &_Py_open_cloexec_works;
  268|       |#elif !defined(MS_WINDOWS)
  269|       |    int *atomic_flag_works = NULL;
  270|       |#endif
  271|    526|    int fstat_result;
  272|    526|    int async_err = 0;
  273|       |
  274|       |#ifdef Py_DEBUG
  275|       |    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  276|       |    assert(PyFileIO_Check(state, self));
  277|       |#endif
  278|    526|    if (self->fd >= 0) {
  ------------------
  |  Branch (278:9): [True: 0, False: 526]
  ------------------
  279|      0|        if (self->closefd) {
  ------------------
  |  Branch (279:13): [True: 0, False: 0]
  ------------------
  280|       |            /* Have to close the existing file first. */
  281|      0|            if (internal_close(self) < 0) {
  ------------------
  |  Branch (281:17): [True: 0, False: 0]
  ------------------
  282|      0|                return -1;
  283|      0|            }
  284|      0|        }
  285|      0|        else
  286|      0|            self->fd = -1;
  287|      0|    }
  288|       |
  289|    526|    if (PyBool_Check(nameobj)) {
  ------------------
  |  |   12|    526|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    526|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    526|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 526]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|      0|        if (PyErr_WarnEx(PyExc_RuntimeWarning,
  ------------------
  |  Branch (290:13): [True: 0, False: 0]
  ------------------
  291|      0|                "bool is used as a file descriptor", 1))
  292|      0|        {
  293|      0|            return -1;
  294|      0|        }
  295|      0|    }
  296|    526|    fd = PyLong_AsInt(nameobj);
  297|    526|    if (fd < 0) {
  ------------------
  |  Branch (297:9): [True: 520, False: 6]
  ------------------
  298|    520|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (298:13): [True: 0, False: 520]
  ------------------
  299|      0|            PyErr_SetString(PyExc_ValueError,
  300|      0|                            "negative file descriptor");
  301|      0|            return -1;
  302|      0|        }
  303|    520|        PyErr_Clear();
  304|    520|    }
  305|       |
  306|    526|    if (fd < 0) {
  ------------------
  |  Branch (306:9): [True: 520, False: 6]
  ------------------
  307|       |#ifdef MS_WINDOWS
  308|       |        if (!PyUnicode_FSDecoder(nameobj, &stringobj)) {
  309|       |            return -1;
  310|       |        }
  311|       |        widename = PyUnicode_AsWideCharString(stringobj, NULL);
  312|       |        if (widename == NULL)
  313|       |            return -1;
  314|       |#else
  315|    520|        if (!PyUnicode_FSConverter(nameobj, &stringobj)) {
  ------------------
  |  Branch (315:13): [True: 0, False: 520]
  ------------------
  316|      0|            return -1;
  317|      0|        }
  318|    520|        name = PyBytes_AS_STRING(stringobj);
  ------------------
  |  |   27|    520|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|    520|#endif
  320|    520|    }
  321|       |
  322|    526|    s = mode;
  323|  1.05k|    while (*s) {
  ------------------
  |  Branch (323:12): [True: 526, False: 526]
  ------------------
  324|    526|        switch (*s++) {
  325|      0|        case 'x':
  ------------------
  |  Branch (325:9): [True: 0, False: 526]
  ------------------
  326|      0|            if (rwa) {
  ------------------
  |  Branch (326:17): [True: 0, False: 0]
  ------------------
  327|      0|            bad_mode:
  328|      0|                PyErr_SetString(PyExc_ValueError,
  329|      0|                                "Must have exactly one of create/read/write/append "
  330|      0|                                "mode and at most one plus");
  331|      0|                goto error;
  332|      0|            }
  333|      0|            rwa = 1;
  334|      0|            self->created = 1;
  335|      0|            self->writable = 1;
  336|      0|            flags |= O_EXCL | O_CREAT;
  337|      0|            break;
  338|    520|        case 'r':
  ------------------
  |  Branch (338:9): [True: 520, False: 6]
  ------------------
  339|    520|            if (rwa)
  ------------------
  |  Branch (339:17): [True: 0, False: 520]
  ------------------
  340|      0|                goto bad_mode;
  341|    520|            rwa = 1;
  342|    520|            self->readable = 1;
  343|    520|            break;
  344|      6|        case 'w':
  ------------------
  |  Branch (344:9): [True: 6, False: 520]
  ------------------
  345|      6|            if (rwa)
  ------------------
  |  Branch (345:17): [True: 0, False: 6]
  ------------------
  346|      0|                goto bad_mode;
  347|      6|            rwa = 1;
  348|      6|            self->writable = 1;
  349|      6|            self->truncate = 1;
  350|      6|            flags |= O_CREAT | O_TRUNC;
  351|      6|            break;
  352|      0|        case 'a':
  ------------------
  |  Branch (352:9): [True: 0, False: 526]
  ------------------
  353|      0|            if (rwa)
  ------------------
  |  Branch (353:17): [True: 0, False: 0]
  ------------------
  354|      0|                goto bad_mode;
  355|      0|            rwa = 1;
  356|      0|            self->writable = 1;
  357|      0|            self->appending = 1;
  358|      0|            flags |= O_APPEND | O_CREAT;
  359|      0|            break;
  360|      0|        case 'b':
  ------------------
  |  Branch (360:9): [True: 0, False: 526]
  ------------------
  361|      0|            break;
  362|      0|        case '+':
  ------------------
  |  Branch (362:9): [True: 0, False: 526]
  ------------------
  363|      0|            if (plus)
  ------------------
  |  Branch (363:17): [True: 0, False: 0]
  ------------------
  364|      0|                goto bad_mode;
  365|      0|            self->readable = self->writable = 1;
  366|      0|            plus = 1;
  367|      0|            break;
  368|      0|        default:
  ------------------
  |  Branch (368:9): [True: 0, False: 526]
  ------------------
  369|      0|            PyErr_Format(PyExc_ValueError,
  370|      0|                         "invalid mode: %.200s", mode);
  371|      0|            goto error;
  372|    526|        }
  373|    526|    }
  374|       |
  375|    526|    if (!rwa)
  ------------------
  |  Branch (375:9): [True: 0, False: 526]
  ------------------
  376|      0|        goto bad_mode;
  377|       |
  378|    526|    if (self->readable && self->writable)
  ------------------
  |  Branch (378:9): [True: 520, False: 6]
  |  Branch (378:27): [True: 0, False: 520]
  ------------------
  379|      0|        flags |= O_RDWR;
  380|    526|    else if (self->readable)
  ------------------
  |  Branch (380:14): [True: 520, False: 6]
  ------------------
  381|    520|        flags |= O_RDONLY;
  382|      6|    else
  383|      6|        flags |= O_WRONLY;
  384|       |
  385|       |#ifdef O_BINARY
  386|       |    flags |= O_BINARY;
  387|       |#endif
  388|       |
  389|       |#ifdef MS_WINDOWS
  390|       |    flags |= O_NOINHERIT;
  391|       |#elif defined(O_CLOEXEC)
  392|    526|    flags |= O_CLOEXEC;
  393|    526|#endif
  394|       |
  395|    526|    if (PySys_Audit("open", "Osi", nameobj, mode, flags) < 0) {
  ------------------
  |  Branch (395:9): [True: 0, False: 526]
  ------------------
  396|      0|        goto error;
  397|      0|    }
  398|       |
  399|    526|    if (fd >= 0) {
  ------------------
  |  Branch (399:9): [True: 6, False: 520]
  ------------------
  400|      6|        self->fd = fd;
  401|      6|        self->closefd = closefd;
  402|      6|    }
  403|    520|    else {
  404|    520|        self->closefd = 1;
  405|    520|        if (!closefd) {
  ------------------
  |  Branch (405:13): [True: 0, False: 520]
  ------------------
  406|      0|            PyErr_SetString(PyExc_ValueError,
  407|      0|                "Cannot use closefd=False with file name");
  408|      0|            goto error;
  409|      0|        }
  410|       |
  411|    520|        errno = 0;
  412|    520|        if (opener == Py_None) {
  ------------------
  |  |  616|    520|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (412:13): [True: 520, False: 0]
  ------------------
  413|    520|            do {
  414|    520|                Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    520|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    520|                        PyThreadState *_save; \
  |  |  121|    520|                        _save = PyEval_SaveThread();
  ------------------
  415|       |#ifdef MS_WINDOWS
  416|       |                self->fd = _wopen(widename, flags, 0666);
  417|       |#else
  418|    520|                self->fd = open(name, flags, 0666);
  419|    520|#endif
  420|    520|                Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    520|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    520|                 }
  ------------------
  421|    520|            } while (self->fd < 0 && errno == EINTR &&
  ------------------
  |  Branch (421:22): [True: 4, False: 516]
  |  Branch (421:38): [True: 0, False: 4]
  ------------------
  422|      0|                     !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (422:22): [True: 0, False: 0]
  ------------------
  423|       |
  424|    520|            if (async_err)
  ------------------
  |  Branch (424:17): [True: 0, False: 520]
  ------------------
  425|      0|                goto error;
  426|       |
  427|    520|            if (self->fd < 0) {
  ------------------
  |  Branch (427:17): [True: 4, False: 516]
  ------------------
  428|      4|                PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  429|      4|                goto error;
  430|      4|            }
  431|    520|        }
  432|      0|        else {
  433|      0|            PyObject *fdobj;
  434|       |
  435|      0|#ifndef MS_WINDOWS
  436|       |            /* the opener may clear the atomic flag */
  437|      0|            atomic_flag_works = NULL;
  438|      0|#endif
  439|       |
  440|      0|            fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags);
  441|      0|            if (fdobj == NULL)
  ------------------
  |  Branch (441:17): [True: 0, False: 0]
  ------------------
  442|      0|                goto error;
  443|      0|            if (!PyLong_Check(fdobj)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (443:17): [True: 0, False: 0]
  ------------------
  444|      0|                Py_DECREF(fdobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|      0|                PyErr_SetString(PyExc_TypeError,
  446|      0|                        "expected integer from opener");
  447|      0|                goto error;
  448|      0|            }
  449|       |
  450|      0|            self->fd = PyLong_AsInt(fdobj);
  451|      0|            Py_DECREF(fdobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      0|            if (self->fd < 0) {
  ------------------
  |  Branch (452:17): [True: 0, False: 0]
  ------------------
  453|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (453:21): [True: 0, False: 0]
  ------------------
  454|       |                    /* The opener returned a negative but didn't set an
  455|       |                       exception.  See issue #27066 */
  456|      0|                    PyErr_Format(PyExc_ValueError,
  457|      0|                                 "opener returned %d", self->fd);
  458|      0|                }
  459|      0|                goto error;
  460|      0|            }
  461|      0|        }
  462|    516|        fd_is_own = 1;
  463|       |
  464|    516|#ifndef MS_WINDOWS
  465|    516|        if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
  ------------------
  |  Branch (465:13): [True: 0, False: 516]
  ------------------
  466|      0|            goto error;
  467|    516|#endif
  468|    516|    }
  469|       |
  470|    522|    PyMem_Free(self->stat_atopen);
  471|    522|    self->stat_atopen = PyMem_New(struct _Py_stat_struct, 1);
  ------------------
  |  |   64|    522|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    522|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 522]
  |  |  ------------------
  |  |   65|    522|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  472|    522|    if (self->stat_atopen == NULL) {
  ------------------
  |  Branch (472:9): [True: 0, False: 522]
  ------------------
  473|      0|        PyErr_NoMemory();
  474|      0|        goto error;
  475|      0|    }
  476|    522|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    522|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    522|                        PyThreadState *_save; \
  |  |  121|    522|                        _save = PyEval_SaveThread();
  ------------------
  477|    522|    fstat_result = _Py_fstat_noraise(self->fd, self->stat_atopen);
  478|    522|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    522|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    522|                 }
  ------------------
  479|    522|    if (fstat_result < 0) {
  ------------------
  |  Branch (479:9): [True: 0, False: 522]
  ------------------
  480|       |        /* Tolerate fstat() errors other than EBADF.  See Issue #25717, where
  481|       |        an anonymous file on a Virtual Box shared folder filesystem would
  482|       |        raise ENOENT. */
  483|       |#ifdef MS_WINDOWS
  484|       |        if (GetLastError() == ERROR_INVALID_HANDLE) {
  485|       |            PyErr_SetFromWindowsErr(0);
  486|       |#else
  487|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (487:13): [True: 0, False: 0]
  ------------------
  488|      0|            PyErr_SetFromErrno(PyExc_OSError);
  489|      0|#endif
  490|      0|            goto error;
  491|      0|        }
  492|       |
  493|      0|        PyMem_Free(self->stat_atopen);
  494|      0|        self->stat_atopen = NULL;
  495|      0|    }
  496|    522|    else {
  497|    522|#if defined(S_ISDIR) && defined(EISDIR)
  498|       |        /* On Unix, open will succeed for directories.
  499|       |           In Python, there should be no file objects referring to
  500|       |           directories, so we need a check.  */
  501|    522|        if (S_ISDIR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (501:13): [True: 0, False: 522]
  ------------------
  502|      0|            errno = EISDIR;
  503|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  504|      0|            goto error;
  505|      0|        }
  506|    522|#endif /* defined(S_ISDIR) */
  507|    522|    }
  508|       |
  509|       |#if defined(MS_WINDOWS) || defined(__CYGWIN__)
  510|       |    /* don't translate newlines (\r\n <=> \n) */
  511|       |    _setmode(self->fd, O_BINARY);
  512|       |#endif
  513|       |
  514|    522|    if (PyObject_SetAttr((PyObject *)self, &_Py_ID(name), nameobj) < 0)
  ------------------
  |  |  919|    522|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    522|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    522|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (514:9): [True: 0, False: 522]
  ------------------
  515|      0|        goto error;
  516|       |
  517|    522|    if (self->appending) {
  ------------------
  |  Branch (517:9): [True: 0, False: 522]
  ------------------
  518|       |        /* For consistent behaviour, we explicitly seek to the
  519|       |           end of file (otherwise, it might be done only on the
  520|       |           first write()). */
  521|      0|        PyObject *pos = portable_lseek(self, NULL, 2, true);
  522|      0|        if (pos == NULL)
  ------------------
  |  Branch (522:13): [True: 0, False: 0]
  ------------------
  523|      0|            goto error;
  524|      0|        Py_DECREF(pos);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|      0|    }
  526|       |
  527|    522|    goto done;
  528|       |
  529|    522| error:
  530|      4|    ret = -1;
  531|      4|    if (!fd_is_own)
  ------------------
  |  Branch (531:9): [True: 4, False: 0]
  ------------------
  532|      4|        self->fd = -1;
  533|      4|    if (self->fd >= 0) {
  ------------------
  |  Branch (533:9): [True: 0, False: 4]
  ------------------
  534|      0|        PyObject *exc = PyErr_GetRaisedException();
  535|      0|        internal_close(self);
  536|      0|        _PyErr_ChainExceptions1(exc);
  537|      0|    }
  538|      4|    PyMem_Free(self->stat_atopen);
  539|      4|    self->stat_atopen = NULL;
  540|       |
  541|    526| done:
  542|       |#ifdef MS_WINDOWS
  543|       |    PyMem_Free(widename);
  544|       |#endif
  545|       |    Py_CLEAR(stringobj);
  ------------------
  |  |  484|    526|    do { \
  |  |  485|    526|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    526|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    526|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    526|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    526|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 520, False: 6]
  |  |  ------------------
  |  |  488|    520|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    520|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    520|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    520|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    520|        } \
  |  |  491|    526|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 526]
  |  |  ------------------
  ------------------
  546|    526|    return ret;
  547|      4|}
fileio.c:fileio_new:
  199|    526|{
  200|    526|    assert(type != NULL && type->tp_alloc != NULL);
  201|       |
  202|    526|    fileio *self = (fileio *) type->tp_alloc(type, 0);
  203|    526|    if (self == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 526]
  ------------------
  204|      0|        return NULL;
  205|      0|    }
  206|       |
  207|    526|    self->fd = -1;
  208|    526|    self->created = 0;
  209|    526|    self->readable = 0;
  210|    526|    self->writable = 0;
  211|    526|    self->appending = 0;
  212|    526|    self->seekable = -1;
  213|    526|    self->truncate = 0;
  214|    526|    self->stat_atopen = NULL;
  215|    526|    self->closefd = 1;
  216|       |    self->weakreflist = NULL;
  217|    526|    return (PyObject *) self;
  218|    526|}

_PyIOBase_finalize:
  337|  1.06k|{
  338|  1.06k|    int is_zombie;
  339|       |
  340|       |    /* If _PyIOBase_finalize() is called from a destructor, we need to
  341|       |       resurrect the object as calling close() can invoke arbitrary code. */
  342|  1.06k|    is_zombie = (Py_REFCNT(self) == 0);
  ------------------
  |  |  119|  1.06k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|  1.06k|    if (is_zombie)
  ------------------
  |  Branch (343:9): [True: 1.06k, False: 0]
  ------------------
  344|  1.06k|        return PyObject_CallFinalizerFromDealloc(self);
  345|      0|    else {
  346|      0|        PyObject_CallFinalizer(self);
  347|      0|        return 0;
  348|      0|    }
  349|  1.06k|}
_PyIOBase_check_seekable:
  415|      4|{
  416|      4|    PyObject *res  = PyObject_CallMethodNoArgs(self, &_Py_ID(seekable));
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      4|    if (res == NULL)
  ------------------
  |  Branch (417:9): [True: 0, False: 4]
  ------------------
  418|      0|        return NULL;
  419|      4|    if (res != Py_True) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (419:9): [True: 0, False: 4]
  ------------------
  420|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  421|      0|        iobase_unsupported(state, "File or stream is not seekable.");
  422|      0|        return NULL;
  423|      0|    }
  424|      4|    if (args == Py_True) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (424:9): [True: 4, False: 0]
  ------------------
  425|      4|        Py_DECREF(res);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      4|    }
  427|      4|    return res;
  428|      4|}
_PyIOBase_check_readable:
  448|    520|{
  449|    520|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
  ------------------
  |  |  919|    520|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    520|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    520|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|    520|    if (res == NULL)
  ------------------
  |  Branch (450:9): [True: 0, False: 520]
  ------------------
  451|      0|        return NULL;
  452|    520|    if (res != Py_True) {
  ------------------
  |  |   26|    520|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 520]
  ------------------
  453|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  454|      0|        iobase_unsupported(state, "File or stream is not readable.");
  455|      0|        return NULL;
  456|      0|    }
  457|    520|    if (args == Py_True) {
  ------------------
  |  |   26|    520|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 520, False: 0]
  ------------------
  458|    520|        Py_DECREF(res);
  ------------------
  |  |  430|    520|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|    520|    }
  460|    520|    return res;
  461|    520|}
_PyIOBase_check_writable:
  481|      8|{
  482|      8|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable));
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      8|    if (res == NULL)
  ------------------
  |  Branch (483:9): [True: 0, False: 8]
  ------------------
  484|      0|        return NULL;
  485|      8|    if (res != Py_True) {
  ------------------
  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 0, False: 8]
  ------------------
  486|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  487|      0|        iobase_unsupported(state, "File or stream is not writable.");
  488|      0|        return NULL;
  489|      0|    }
  490|      8|    if (args == Py_True) {
  ------------------
  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (490:9): [True: 8, False: 0]
  ------------------
  491|      8|        Py_DECREF(res);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      8|    }
  493|      8|    return res;
  494|      8|}
iobase.c:iobase_check_closed:
  199|    520|{
  200|    520|    PyObject *res;
  201|    520|    int closed;
  202|       |    /* This gets the derived attribute, which is *not* __IOBase_closed
  203|       |       in most cases! */
  204|    520|    closed = PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res);
  ------------------
  |  |  919|    520|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    520|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    520|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|    520|    if (closed > 0) {
  ------------------
  |  Branch (205:9): [True: 520, False: 0]
  ------------------
  206|    520|        closed = PyObject_IsTrue(res);
  207|    520|        Py_DECREF(res);
  ------------------
  |  |  430|    520|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|    520|        if (closed > 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 520]
  ------------------
  209|      0|            PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  210|      0|            return -1;
  211|      0|        }
  212|    520|    }
  213|    520|    return closed;
  214|    520|}
iobase.c:iobase_unsupported:
   88|      2|{
   89|      2|    PyErr_SetString(state->unsupported_operation, message);
   90|       |    return NULL;
   91|      2|}
iobase.c:iobase_dealloc:
  372|     12|{
  373|       |    /* NOTE: since IOBaseObject has its own dict, Python-defined attributes
  374|       |       are still available here for close() to use.
  375|       |       However, if the derived class declares a __slots__, those slots are
  376|       |       already gone.
  377|       |    */
  378|     12|    iobase *self = iobase_CAST(op);
  ------------------
  |  |   40|     12|#define iobase_CAST(op) ((iobase *)(op))
  ------------------
  379|     12|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (379:9): [True: 0, False: 12]
  ------------------
  380|       |        /* When called from a heap type's dealloc, the type will be
  381|       |           decref'ed on return (see e.g. subtype_dealloc in typeobject.c). */
  382|      0|        if (_PyType_HasFeature(Py_TYPE(self), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(self), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (382:13): [True: 0, False: 0]
  ------------------
  383|      0|            Py_INCREF(Py_TYPE(self));
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|      0|        }
  385|      0|        return;
  386|      0|    }
  387|     12|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|     12|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     12|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|     12|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     12|    do {                                            \
  |  |   48|     12|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     12|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 2, False: 10]
  |  |  ------------------
  |  |   50|      2|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      2|        }                                           \
  |  |   52|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  390|     12|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     12|    do { \
  |  |  485|     12|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     12|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     12|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12, False: 0]
  |  |  ------------------
  |  |  488|     12|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     12|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     12|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     12|        } \
  |  |  491|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  391|     12|    tp->tp_free(self);
  392|     12|    Py_DECREF(tp);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|     12|}
iobase.c:iobase_traverse:
  353|      8|{
  354|      8|    iobase *self = iobase_CAST(op);
  ------------------
  |  |   40|      8|#define iobase_CAST(op) ((iobase *)(op))
  ------------------
  355|      8|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  356|      8|    Py_VISIT(self->dict);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  357|      8|    return 0;
  358|      8|}
iobase.c:iobase_iter:
  680|      4|{
  681|      4|    if (iobase_check_closed(self))
  ------------------
  |  Branch (681:9): [True: 0, False: 4]
  ------------------
  682|      0|        return NULL;
  683|       |
  684|      4|    return Py_NewRef(self);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|      4|}
iobase.c:_io__IOBase_seek_impl:
  122|      2|{
  123|      2|    _PyIO_State *state = get_io_state_by_cls(cls);
  124|      2|    return iobase_unsupported(state, "seek");
  125|      2|}
iobase.c:_io__IOBase_tell_impl:
  136|      2|{
  137|      2|    return _PyObject_CallMethod(self, &_Py_ID(seek), "ii", 0, 1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|      2|}
iobase.c:_io__IOBase_flush_impl:
  174|  1.04k|{
  175|       |    /* XXX Should this return the number of bytes written??? */
  176|  1.04k|    int closed = iobase_is_closed(self);
  177|       |
  178|  1.04k|    if (!closed) {
  ------------------
  |  Branch (178:9): [True: 1.04k, False: 0]
  ------------------
  179|  1.04k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  1.04k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.04k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  180|  1.04k|    }
  181|      0|    if (closed > 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 0]
  ------------------
  182|      0|        PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  183|      0|    }
  184|       |    return NULL;
  185|  1.04k|}
iobase.c:iobase_is_closed:
   82|  1.60k|{
   83|  1.60k|    return PyObject_HasAttrWithError(self, &_Py_ID(__IOBase_closed));
  ------------------
  |  |  919|  1.60k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.60k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.60k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  1.60k|}
iobase.c:_io__IOBase_close_impl:
  272|    522|{
  273|    522|    int rc1, rc2, closed = iobase_is_closed(self);
  274|       |
  275|    522|    if (closed < 0) {
  ------------------
  |  Branch (275:9): [True: 0, False: 522]
  ------------------
  276|      0|        return NULL;
  277|      0|    }
  278|    522|    if (closed) {
  ------------------
  |  Branch (278:9): [True: 0, False: 522]
  ------------------
  279|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  280|      0|    }
  281|       |
  282|    522|    rc1 = _PyFile_Flush(self);
  283|    522|    PyObject *exc = PyErr_GetRaisedException();
  284|    522|    rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |  919|    522|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    522|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    522|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |   26|    522|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|    522|    _PyErr_ChainExceptions1(exc);
  286|    522|    if (rc1 < 0 || rc2 < 0) {
  ------------------
  |  Branch (286:9): [True: 0, False: 522]
  |  Branch (286:20): [True: 0, False: 522]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|    522|    Py_RETURN_NONE;
  ------------------
  |  |  628|    522|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    522|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  291|    522|}
iobase.c:_io__IOBase_readable_impl:
  441|      4|{
  442|      4|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      4|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      4|}
iobase.c:_io__IOBase_writable_impl:
  474|     10|{
  475|     10|    Py_RETURN_FALSE;
  ------------------
  |  |   45|     10|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     10|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|     10|}
iobase.c:iobase_enter:
  500|    516|{
  501|    516|    if (iobase_check_closed(self))
  ------------------
  |  Branch (501:9): [True: 0, False: 516]
  ------------------
  502|      0|        return NULL;
  503|       |
  504|    516|    return Py_NewRef(self);
  ------------------
  |  |  550|    516|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|    516|}
iobase.c:iobase_exit:
  509|    516|{
  510|    516|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  919|    516|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    516|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    516|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    516|}
iobase.c:_io__IOBase_readlines_impl:
  719|      4|{
  720|      4|    Py_ssize_t length = 0;
  721|      4|    PyObject *result, *it = NULL;
  722|       |
  723|      4|    result = PyList_New(0);
  724|      4|    if (result == NULL)
  ------------------
  |  Branch (724:9): [True: 0, False: 4]
  ------------------
  725|      0|        return NULL;
  726|       |
  727|      4|    if (hint <= 0) {
  ------------------
  |  Branch (727:9): [True: 4, False: 0]
  ------------------
  728|       |        /* XXX special-casing this made sense in the Python version in order
  729|       |           to remove the bytecode interpretation overhead, but it could
  730|       |           probably be removed here. */
  731|      4|        PyObject *ret = PyObject_CallMethodObjArgs(result, &_Py_ID(extend),
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      4|                                                   self, NULL);
  733|      4|        if (ret == NULL) {
  ------------------
  |  Branch (733:13): [True: 0, False: 4]
  ------------------
  734|      0|            goto error;
  735|      0|        }
  736|      4|        Py_DECREF(ret);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|      4|        return result;
  738|      4|    }
  739|       |
  740|      0|    it = PyObject_GetIter(self);
  741|      0|    if (it == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 0]
  ------------------
  742|      0|        goto error;
  743|      0|    }
  744|       |
  745|      0|    while (1) {
  ------------------
  |  Branch (745:12): [True: 0, Folded]
  ------------------
  746|      0|        Py_ssize_t line_length;
  747|      0|        PyObject *line = PyIter_Next(it);
  748|      0|        if (line == NULL) {
  ------------------
  |  Branch (748:13): [True: 0, False: 0]
  ------------------
  749|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|      0|                goto error;
  751|      0|            }
  752|      0|            else
  753|      0|                break; /* StopIteration raised */
  754|      0|        }
  755|       |
  756|      0|        if (PyList_Append(result, line) < 0) {
  ------------------
  |  Branch (756:13): [True: 0, False: 0]
  ------------------
  757|      0|            Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|      0|            goto error;
  759|      0|        }
  760|      0|        line_length = PyObject_Size(line);
  761|      0|        Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|      0|        if (line_length < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 0]
  ------------------
  763|      0|            goto error;
  764|      0|        }
  765|      0|        if (line_length > hint - length)
  ------------------
  |  Branch (765:13): [True: 0, False: 0]
  ------------------
  766|      0|            break;
  767|      0|        length += line_length;
  768|      0|    }
  769|       |
  770|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|      0|    return result;
  772|       |
  773|      0| error:
  774|      0|    Py_XDECREF(it);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|       |    return NULL;
  777|      0|}
iobase.c:iobase_closed_get:
  189|     34|{
  190|     34|    int closed = iobase_is_closed(self);
  191|     34|    if (closed < 0) {
  ------------------
  |  Branch (191:9): [True: 0, False: 34]
  ------------------
  192|      0|        return NULL;
  193|      0|    }
  194|     34|    return PyBool_FromLong(closed);
  195|     34|}
iobase.c:iobase_finalize:
  297|  1.06k|{
  298|  1.06k|    PyObject *res;
  299|  1.06k|    int closed;
  300|       |
  301|       |    /* Save the current exception, if any. */
  302|  1.06k|    PyObject *exc = PyErr_GetRaisedException();
  303|       |
  304|       |    /* If `closed` doesn't exist or can't be evaluated as bool, then the
  305|       |       object is probably in an unusable state, so ignore. */
  306|  1.06k|    if (PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res) <= 0) {
  ------------------
  |  |  919|  1.06k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.06k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.06k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (306:9): [True: 0, False: 1.06k]
  ------------------
  307|      0|        PyErr_Clear();
  308|      0|        closed = -1;
  309|      0|    }
  310|  1.06k|    else {
  311|  1.06k|        closed = PyObject_IsTrue(res);
  312|  1.06k|        Py_DECREF(res);
  ------------------
  |  |  430|  1.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|  1.06k|        if (closed == -1)
  ------------------
  |  Branch (313:13): [True: 0, False: 1.06k]
  ------------------
  314|      0|            PyErr_Clear();
  315|  1.06k|    }
  316|  1.06k|    if (closed == 0) {
  ------------------
  |  Branch (316:9): [True: 2, False: 1.06k]
  ------------------
  317|       |        /* Signal close() that it was called as part of the object
  318|       |           finalization process. */
  319|      2|        if (PyObject_SetAttr(self, &_Py_ID(_finalizing), Py_True))
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyObject_SetAttr(self, &_Py_ID(_finalizing), Py_True))
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (319:13): [True: 0, False: 2]
  ------------------
  320|      0|            PyErr_Clear();
  321|      2|        res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(close));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|      2|        if (res == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 2]
  ------------------
  323|      0|            PyErr_FormatUnraisable("Exception ignored "
  324|      0|                                   "while finalizing file %R", self);
  325|      0|        }
  326|      2|        else {
  327|      2|            Py_DECREF(res);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      2|        }
  329|      2|    }
  330|       |
  331|       |    /* Restore the saved exception. */
  332|  1.06k|    PyErr_SetRaisedException(exc);
  333|  1.06k|}

stringio.c:stringio_dealloc:
  634|      2|{
  635|      2|    stringio *self = stringio_CAST(op);
  ------------------
  |  |   49|      2|#define stringio_CAST(op)   ((stringio *)(op))
  ------------------
  636|      2|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  637|      2|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      2|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|      2|    self->ok = 0;
  639|      2|    if (self->buf) {
  ------------------
  |  Branch (639:9): [True: 2, False: 0]
  ------------------
  640|      2|        PyMem_Free(self->buf);
  641|      2|        self->buf = NULL;
  642|      2|    }
  643|      2|    PyUnicodeWriter_Discard(self->writer);
  644|      2|    (void)stringio_clear(op);
  645|      2|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|      2|    do {                                            \
  |  |   48|      2|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      2|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  646|      2|    tp->tp_free(self);
  647|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  648|      2|}
stringio.c:stringio_clear:
  623|      2|{
  624|      2|    stringio *self = stringio_CAST(op);
  ------------------
  |  |   49|      2|#define stringio_CAST(op)   ((stringio *)(op))
  ------------------
  625|      2|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  626|      2|    Py_CLEAR(self->writenl);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  627|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  628|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  629|      2|    return 0;
  630|      2|}
stringio.c:realize:
  156|     34|{
  157|     34|    Py_ssize_t len;
  158|     34|    PyObject *intermediate;
  159|       |
  160|     34|    if (self->state == STATE_REALIZED)
  ------------------
  |  |   11|     34|#define STATE_REALIZED 1
  ------------------
  |  Branch (160:9): [True: 34, False: 0]
  ------------------
  161|     34|        return 0;
  162|     34|    assert(self->state == STATE_ACCUMULATING);
  163|      0|    self->state = STATE_REALIZED;
  ------------------
  |  |   11|      0|#define STATE_REALIZED 1
  ------------------
  164|       |
  165|      0|    intermediate = PyUnicodeWriter_Finish(self->writer);
  166|      0|    self->writer = NULL;
  167|      0|    if (intermediate == NULL)
  ------------------
  |  Branch (167:9): [True: 0, False: 0]
  ------------------
  168|      0|        return -1;
  169|       |
  170|       |    /* Append the intermediate string to the internal buffer.
  171|       |       The length should be equal to the current cursor position.
  172|       |     */
  173|      0|    len = PyUnicode_GET_LENGTH(intermediate);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|    if (resize_buffer(self, len) < 0) {
  ------------------
  |  Branch (174:9): [True: 0, False: 0]
  ------------------
  175|      0|        Py_DECREF(intermediate);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|      0|        return -1;
  177|      0|    }
  178|      0|    if (!PyUnicode_AsUCS4(intermediate, self->buf, len, 0)) {
  ------------------
  |  Branch (178:9): [True: 0, False: 0]
  ------------------
  179|      0|        Py_DECREF(intermediate);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|        return -1;
  181|      0|    }
  182|       |
  183|      0|    Py_DECREF(intermediate);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  184|      0|    return 0;
  185|      0|}
stringio.c:resize_buffer:
   82|      4|{
   83|       |    /* Here, unsigned types are used to avoid dealing with signed integer
   84|       |       overflow, which is undefined in C. */
   85|      4|    size_t alloc = self->buf_size;
   86|      4|    Py_UCS4 *new_buf = NULL;
   87|       |
   88|      4|    assert(self->buf != NULL);
   89|       |
   90|       |    /* Reserve one more char for line ending detection. */
   91|      4|    size = size + 1;
   92|       |    /* For simplicity, stay in the range of the signed type. Anyway, Python
   93|       |       doesn't allow strings to be longer than this. */
   94|      4|    if (size > PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (94:9): [True: 0, False: 4]
  ------------------
   95|      0|        goto overflow;
   96|       |
   97|      4|    if (size < alloc / 2) {
  ------------------
  |  Branch (97:9): [True: 0, False: 4]
  ------------------
   98|       |        /* Major downsize; resize down to exact size. */
   99|      0|        alloc = size + 1;
  100|      0|    }
  101|      4|    else if (size < alloc) {
  ------------------
  |  Branch (101:14): [True: 0, False: 4]
  ------------------
  102|       |        /* Within allocated size; quick exit */
  103|      0|        return 0;
  104|      0|    }
  105|      4|    else if (size <= alloc * 1.125) {
  ------------------
  |  Branch (105:14): [True: 0, False: 4]
  ------------------
  106|       |        /* Moderate upsize; overallocate similar to list_resize() */
  107|      0|        alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (107:39): [True: 0, False: 0]
  ------------------
  108|      0|    }
  109|      4|    else {
  110|       |        /* Major upsize; resize up to exact size */
  111|      4|        alloc = size + 1;
  112|      4|    }
  113|       |
  114|      4|    if (alloc > SIZE_MAX / sizeof(Py_UCS4))
  ------------------
  |  Branch (114:9): [True: 0, False: 4]
  ------------------
  115|      0|        goto overflow;
  116|      4|    new_buf = (Py_UCS4 *)PyMem_Realloc(self->buf, alloc * sizeof(Py_UCS4));
  117|      4|    if (new_buf == NULL) {
  ------------------
  |  Branch (117:9): [True: 0, False: 4]
  ------------------
  118|      0|        PyErr_NoMemory();
  119|      0|        return -1;
  120|      0|    }
  121|      4|    self->buf_size = alloc;
  122|      4|    self->buf = new_buf;
  123|       |
  124|      4|    return 0;
  125|       |
  126|      0|  overflow:
  127|      0|    PyErr_SetString(PyExc_OverflowError,
  128|      0|                    "new buffer size too large");
  129|      0|    return -1;
  130|      4|}
stringio.c:_stringio_readline:
  360|     34|{
  361|     34|    Py_UCS4 *start, *end, old_char;
  362|     34|    Py_ssize_t len, consumed;
  363|       |
  364|       |    /* In case of overseek, return the empty string */
  365|     34|    if (self->pos >= self->string_size)
  ------------------
  |  Branch (365:9): [True: 2, False: 32]
  ------------------
  366|      2|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  367|       |
  368|     32|    start = self->buf + self->pos;
  369|     32|    if (limit < 0 || limit > self->string_size - self->pos)
  ------------------
  |  Branch (369:9): [True: 32, False: 0]
  |  Branch (369:22): [True: 0, False: 0]
  ------------------
  370|     32|        limit = self->string_size - self->pos;
  371|       |
  372|     32|    end = start + limit;
  373|     32|    old_char = *end;
  374|     32|    *end = '\0';
  375|     32|    len = _PyIO_find_line_ending(
  376|     32|        self->readtranslate, self->readuniversal, self->readnl,
  377|     32|        PyUnicode_4BYTE_KIND, (char*)start, (char*)end, &consumed);
  378|     32|    *end = old_char;
  379|       |    /* If we haven't found any line ending, we just return everything
  380|       |       (`consumed` is ignored). */
  381|     32|    if (len < 0)
  ------------------
  |  Branch (381:9): [True: 0, False: 32]
  ------------------
  382|      0|        len = limit;
  383|     32|    self->pos += len;
  384|     32|    return PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, start, len);
  385|     34|}
stringio.c:_io_StringIO_readline_impl:
  401|     34|{
  402|     34|    CHECK_INITIALIZED(self);
  ------------------
  |  |   58|     34|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (58:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   59|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |   60|      0|            "I/O operation on uninitialized object"); \
  |  |   61|      0|        return NULL; \
  |  |   62|      0|    }
  ------------------
  403|     34|    CHECK_CLOSED(self);
  ------------------
  |  |   65|     34|    if (self->closed) { \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   66|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |   67|      0|            "I/O operation on closed file"); \
  |  |   68|      0|        return NULL; \
  |  |   69|      0|    }
  ------------------
  404|     34|    ENSURE_REALIZED(self);
  ------------------
  |  |   72|     34|    if (realize(self) < 0) { \
  |  |  ------------------
  |  |  |  Branch (72:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   73|      0|        return NULL; \
  |  |   74|      0|    }
  ------------------
  405|       |
  406|     34|    return _stringio_readline(self, size);
  407|     34|}
stringio.c:write_str:
  191|      2|{
  192|      2|    Py_ssize_t len;
  193|      2|    PyObject *decoded = NULL;
  194|       |
  195|      2|    assert(self->buf != NULL);
  196|      2|    assert(self->pos >= 0);
  197|       |
  198|      2|    if (self->decoder != NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 2]
  ------------------
  199|      0|        decoded = _PyIncrementalNewlineDecoder_decode(
  200|      0|            self->decoder, obj, 1 /* always final */);
  201|      0|    }
  202|      2|    else {
  203|      2|        decoded = Py_NewRef(obj);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      2|    }
  205|      2|    if (self->writenl) {
  ------------------
  |  Branch (205:9): [True: 0, False: 2]
  ------------------
  206|      0|        PyObject *translated = PyUnicode_Replace(
  207|      0|            decoded, _Py_LATIN1_CHR('\n'), self->writenl, -1);
  ------------------
  |  |  923|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 0, Folded]
  |  |  ------------------
  |  |  924|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      0|        Py_SETREF(decoded, translated);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  209|      0|    }
  210|      2|    if (decoded == NULL)
  ------------------
  |  Branch (210:9): [True: 0, False: 2]
  ------------------
  211|      0|        return -1;
  212|       |
  213|      2|    assert(PyUnicode_Check(decoded));
  214|      2|    len = PyUnicode_GET_LENGTH(decoded);
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|      2|    assert(len >= 0);
  216|       |
  217|       |    /* This overflow check is not strictly necessary. However, it avoids us to
  218|       |       deal with funky things like comparing an unsigned and a signed
  219|       |       integer. */
  220|      2|    if (self->pos > PY_SSIZE_T_MAX - len) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (220:9): [True: 0, False: 2]
  ------------------
  221|      0|        PyErr_SetString(PyExc_OverflowError,
  222|      0|                        "new position too large");
  223|      0|        goto fail;
  224|      0|    }
  225|       |
  226|      2|    if (self->state == STATE_ACCUMULATING) {
  ------------------
  |  |   12|      2|#define STATE_ACCUMULATING 2
  ------------------
  |  Branch (226:9): [True: 0, False: 2]
  ------------------
  227|      0|        if (self->string_size == self->pos) {
  ------------------
  |  Branch (227:13): [True: 0, False: 0]
  ------------------
  228|       |            // gh-149046: Avoid PyUnicodeWriter_WriteStr() which calls str(obj)
  229|       |            // on str subclasses
  230|      0|            if (_PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)self->writer, decoded))
  ------------------
  |  Branch (230:17): [True: 0, False: 0]
  ------------------
  231|      0|                goto fail;
  232|      0|            goto success;
  233|      0|        }
  234|      0|        if (realize(self))
  ------------------
  |  Branch (234:13): [True: 0, False: 0]
  ------------------
  235|      0|            goto fail;
  236|      0|    }
  237|       |
  238|      2|    if (self->pos + len > self->string_size) {
  ------------------
  |  Branch (238:9): [True: 2, False: 0]
  ------------------
  239|      2|        if (resize_buffer(self, self->pos + len) < 0)
  ------------------
  |  Branch (239:13): [True: 0, False: 2]
  ------------------
  240|      0|            goto fail;
  241|      2|    }
  242|       |
  243|      2|    if (self->pos > self->string_size) {
  ------------------
  |  Branch (243:9): [True: 0, False: 2]
  ------------------
  244|       |        /* In case of overseek, pad with null bytes the buffer region between
  245|       |           the end of stream and the current position.
  246|       |
  247|       |          0   lo      string_size                           hi
  248|       |          |   |<---used--->|<----------available----------->|
  249|       |          |   |            <--to pad-->|<---to write--->    |
  250|       |          0   buf                   position
  251|       |
  252|       |        */
  253|      0|        memset(self->buf + self->string_size, '\0',
  254|      0|               (self->pos - self->string_size) * sizeof(Py_UCS4));
  255|      0|    }
  256|       |
  257|       |    /* Copy the data to the internal buffer, overwriting some of the
  258|       |       existing data if self->pos < self->string_size. */
  259|      2|    if (!PyUnicode_AsUCS4(decoded,
  ------------------
  |  Branch (259:9): [True: 0, False: 2]
  ------------------
  260|      2|                          self->buf + self->pos,
  261|      2|                          self->buf_size - self->pos,
  262|      2|                          0))
  263|      0|        goto fail;
  264|       |
  265|      2|success:
  266|       |    /* Set the new length of the internal string if it has changed. */
  267|      2|    self->pos += len;
  268|      2|    if (self->string_size < self->pos)
  ------------------
  |  Branch (268:9): [True: 2, False: 0]
  ------------------
  269|      2|        self->string_size = self->pos;
  270|       |
  271|      2|    Py_DECREF(decoded);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      2|    return 0;
  273|       |
  274|      0|fail:
  275|      0|    Py_XDECREF(decoded);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|      0|    return -1;
  277|      2|}
stringio.c:_io_StringIO___init___impl:
  687|      2|{
  688|      2|    const char *newline = "\n";
  689|      2|    Py_ssize_t value_len;
  690|       |
  691|       |    /* Parse the newline argument. We only want to allow unicode objects or
  692|       |       None. */
  693|      2|    if (newline_obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (693:9): [True: 0, False: 2]
  ------------------
  694|      0|        newline = NULL;
  695|      0|    }
  696|      2|    else if (newline_obj) {
  ------------------
  |  Branch (696:14): [True: 0, False: 2]
  ------------------
  697|      0|        if (!PyUnicode_Check(newline_obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (697:13): [True: 0, False: 0]
  ------------------
  698|      0|            PyErr_Format(PyExc_TypeError,
  699|      0|                         "newline must be str or None, not %.200s",
  700|      0|                         Py_TYPE(newline_obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|      0|            return -1;
  702|      0|        }
  703|      0|        newline = PyUnicode_AsUTF8(newline_obj);
  704|      0|        if (newline == NULL)
  ------------------
  |  Branch (704:13): [True: 0, False: 0]
  ------------------
  705|      0|            return -1;
  706|      0|    }
  707|       |
  708|      2|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (708:9): [True: 2, False: 0]
  |  Branch (708:20): [True: 2, False: 0]
  ------------------
  709|      2|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (709:14): [True: 2, False: 0]
  |  Branch (709:36): [True: 2, False: 0]
  ------------------
  710|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (710:14): [True: 0, False: 0]
  |  Branch (710:36): [True: 0, False: 0]
  ------------------
  711|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (711:14): [True: 0, False: 0]
  |  Branch (711:36): [True: 0, False: 0]
  |  Branch (711:58): [True: 0, False: 0]
  ------------------
  712|      0|        PyErr_Format(PyExc_ValueError,
  713|      0|                     "illegal newline value: %R", newline_obj);
  714|      0|        return -1;
  715|      0|    }
  716|      2|    if (value && value != Py_None && !PyUnicode_Check(value)) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (value && value != Py_None && !PyUnicode_Check(value)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (716:9): [True: 2, False: 0]
  |  Branch (716:18): [True: 2, False: 0]
  |  Branch (716:38): [True: 0, False: 2]
  ------------------
  717|      0|        PyErr_Format(PyExc_TypeError,
  718|      0|                     "initial_value must be str or None, not %.200s",
  719|      0|                     Py_TYPE(value)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|      0|        return -1;
  721|      0|    }
  722|       |
  723|      2|    self->ok = 0;
  724|       |
  725|      2|    PyUnicodeWriter_Discard(self->writer);
  726|      2|    self->writer = NULL;
  727|      2|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  728|      2|    Py_CLEAR(self->writenl);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  729|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  730|       |
  731|      2|    assert((newline != NULL && newline_obj != Py_None) ||
  732|      2|           (newline == NULL && newline_obj == Py_None));
  733|       |
  734|      2|    if (newline) {
  ------------------
  |  Branch (734:9): [True: 2, False: 0]
  ------------------
  735|      2|        self->readnl = PyUnicode_FromString(newline);
  736|      2|        if (self->readnl == NULL)
  ------------------
  |  Branch (736:13): [True: 0, False: 2]
  ------------------
  737|      0|            return -1;
  738|      2|    }
  739|      2|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (739:28): [True: 0, False: 2]
  |  Branch (739:47): [True: 0, False: 2]
  ------------------
  740|      2|    self->readtranslate = (newline == NULL);
  741|       |    /* If newline == "", we don't translate anything.
  742|       |       If newline == "\n" or newline == None, we translate to "\n", which is
  743|       |       a no-op.
  744|       |       (for newline == None, TextIOWrapper translates to os.linesep, but it
  745|       |       is pointless for StringIO)
  746|       |    */
  747|      2|    if (newline != NULL && newline[0] == '\r') {
  ------------------
  |  Branch (747:9): [True: 2, False: 0]
  |  Branch (747:28): [True: 0, False: 2]
  ------------------
  748|      0|        self->writenl = Py_NewRef(self->readnl);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|      0|    }
  750|       |
  751|      2|    _PyIO_State *module_state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (752:9): [True: 0, False: 2]
  ------------------
  753|      0|        self->decoder = PyObject_CallFunctionObjArgs(
  754|      0|            (PyObject *)module_state->PyIncrementalNewlineDecoder_Type,
  755|      0|            Py_None, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          Py_None, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          Py_None, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (755:22): [True: 0, False: 0]
  ------------------
  756|      0|        if (self->decoder == NULL)
  ------------------
  |  Branch (756:13): [True: 0, False: 0]
  ------------------
  757|      0|            return -1;
  758|      0|    }
  759|       |
  760|       |    /* Now everything is set up, resize buffer to size of initial value,
  761|       |       and copy it */
  762|      2|    self->string_size = 0;
  763|      2|    if (value && value != Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (763:9): [True: 2, False: 0]
  |  Branch (763:18): [True: 2, False: 0]
  ------------------
  764|      2|        value_len = PyUnicode_GetLength(value);
  765|      0|    else
  766|      0|        value_len = 0;
  767|      2|    if (value_len > 0) {
  ------------------
  |  Branch (767:9): [True: 2, False: 0]
  ------------------
  768|       |        /* This is a heuristic, for newline translation might change
  769|       |           the string length. */
  770|      2|        if (resize_buffer(self, 0) < 0)
  ------------------
  |  Branch (770:13): [True: 0, False: 2]
  ------------------
  771|      0|            return -1;
  772|      2|        self->state = STATE_REALIZED;
  ------------------
  |  |   11|      2|#define STATE_REALIZED 1
  ------------------
  773|      2|        self->pos = 0;
  774|      2|        if (write_str(self, value) < 0)
  ------------------
  |  Branch (774:13): [True: 0, False: 2]
  ------------------
  775|      0|            return -1;
  776|      2|    }
  777|      0|    else {
  778|       |        /* Empty stringio object, we can start by accumulating */
  779|      0|        if (resize_buffer(self, 0) < 0)
  ------------------
  |  Branch (779:13): [True: 0, False: 0]
  ------------------
  780|      0|            return -1;
  781|      0|        self->writer = PyUnicodeWriter_Create(0);
  782|      0|        if (self->writer == NULL) {
  ------------------
  |  Branch (782:13): [True: 0, False: 0]
  ------------------
  783|      0|            return -1;
  784|      0|        }
  785|      0|        self->state = STATE_ACCUMULATING;
  ------------------
  |  |   12|      0|#define STATE_ACCUMULATING 2
  ------------------
  786|      0|    }
  787|      2|    self->pos = 0;
  788|      2|    self->module_state = module_state;
  789|      2|    self->closed = 0;
  790|      2|    self->ok = 1;
  791|      2|    return 0;
  792|      2|}
stringio.c:stringio_new:
  652|      2|{
  653|      2|    stringio *self;
  654|       |
  655|      2|    assert(type != NULL && type->tp_alloc != NULL);
  656|      2|    self = (stringio *)type->tp_alloc(type, 0);
  657|      2|    if (self == NULL)
  ------------------
  |  Branch (657:9): [True: 0, False: 2]
  ------------------
  658|      0|        return NULL;
  659|       |
  660|       |    /* tp_alloc initializes all the fields to zero. So we don't have to
  661|       |       initialize them here. */
  662|       |
  663|      2|    self->buf = (Py_UCS4 *)PyMem_Malloc(0);
  664|      2|    if (self->buf == NULL) {
  ------------------
  |  Branch (664:9): [True: 0, False: 2]
  ------------------
  665|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|      0|        return PyErr_NoMemory();
  667|      0|    }
  668|       |
  669|      2|    return (PyObject *)self;
  670|      2|}

_PyIncrementalNewlineDecoder_decode:
  330|     50|{
  331|     50|    PyObject *output;
  332|     50|    Py_ssize_t output_len;
  333|     50|    nldecoder_object *self = nldecoder_object_CAST(myself);
  ------------------
  |  |  229|     50|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  334|       |
  335|     50|    CHECK_INITIALIZED_DECODER(self);
  ------------------
  |  |  316|     50|    if (self->errors == NULL) { \
  |  |  ------------------
  |  |  |  Branch (316:9): [True: 0, False: 50]
  |  |  ------------------
  |  |  317|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  318|      0|                        "IncrementalNewlineDecoder.__init__() not called"); \
  |  |  319|      0|        return NULL; \
  |  |  320|      0|    }
  ------------------
  336|       |
  337|       |    /* decode input (with the eventual \r from a previous pass) */
  338|     50|    if (self->decoder != Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (338:9): [True: 50, False: 0]
  ------------------
  339|     50|        output = PyObject_CallMethodObjArgs(self->decoder,
  340|     50|            &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |  919|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|     50|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|     50|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (340:37): [True: 8, False: 42]
  ------------------
  341|     50|    }
  342|      0|    else {
  343|      0|        output = Py_NewRef(input);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      0|    }
  345|       |
  346|     50|    if (check_decoded(output) < 0)
  ------------------
  |  Branch (346:9): [True: 0, False: 50]
  ------------------
  347|      0|        return NULL;
  348|       |
  349|     50|    output_len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  299|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     50|    if (self->pendingcr && (final || output_len > 0)) {
  ------------------
  |  Branch (350:9): [True: 0, False: 50]
  |  Branch (350:29): [True: 0, False: 0]
  |  Branch (350:38): [True: 0, False: 0]
  ------------------
  351|       |        /* Prefix output with CR */
  352|      0|        int kind;
  353|      0|        PyObject *modified;
  354|      0|        char *out;
  355|       |
  356|      0|        modified = PyUnicode_New(output_len + 1,
  357|      0|                                 PyUnicode_MAX_CHAR_VALUE(output));
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      0|        if (modified == NULL)
  ------------------
  |  Branch (358:13): [True: 0, False: 0]
  ------------------
  359|      0|            goto error;
  360|      0|        kind = PyUnicode_KIND(modified);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  361|      0|        out = PyUnicode_DATA(modified);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|      0|        PyUnicode_WRITE(kind, out, 0, '\r');
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  363|      0|        memcpy(out + kind, PyUnicode_DATA(output), kind * output_len);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|      0|        Py_SETREF(output, modified);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  365|      0|        self->pendingcr = 0;
  366|      0|        output_len++;
  367|      0|    }
  368|       |
  369|       |    /* retain last \r even when not translating data:
  370|       |     * then readline() is sure to get \r\n in one pass
  371|       |     */
  372|     50|    if (!final) {
  ------------------
  |  Branch (372:9): [True: 42, False: 8]
  ------------------
  373|     42|        if (output_len > 0
  ------------------
  |  Branch (373:13): [True: 42, False: 0]
  ------------------
  374|     42|            && PyUnicode_READ_CHAR(output, output_len - 1) == '\r')
  ------------------
  |  |  381|     42|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:16): [True: 0, False: 42]
  ------------------
  375|      0|        {
  376|      0|            PyObject *modified = PyUnicode_Substring(output, 0, output_len -1);
  377|      0|            if (modified == NULL)
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  ------------------
  378|      0|                goto error;
  379|      0|            Py_SETREF(output, modified);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  380|      0|            self->pendingcr = 1;
  381|      0|        }
  382|     42|    }
  383|       |
  384|       |    /* Record which newlines are read and do newline translation if desired,
  385|       |       all in one pass. */
  386|     50|    {
  387|     50|        const void *in_str;
  388|     50|        Py_ssize_t len;
  389|     50|        int seennl = self->seennl;
  390|     50|        int only_lf = 0;
  391|     50|        int kind;
  392|       |
  393|     50|        in_str = PyUnicode_DATA(output);
  ------------------
  |  |  284|     50|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|     50|        len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  299|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|     50|        kind = PyUnicode_KIND(output);
  ------------------
  |  |  258|     50|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     50|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  396|       |
  397|     50|        if (len == 0)
  ------------------
  |  Branch (397:13): [True: 4, False: 46]
  ------------------
  398|      4|            return output;
  399|       |
  400|       |        /* If, up to now, newlines are consistently \n, do a quick check
  401|       |           for the \r *byte* with the libc's optimized memchr.
  402|       |           */
  403|     46|        if (seennl == SEEN_LF || seennl == 0) {
  ------------------
  |  |  323|     92|#define SEEN_LF   2
  ------------------
  |  Branch (403:13): [True: 38, False: 8]
  |  Branch (403:34): [True: 8, False: 0]
  ------------------
  404|     46|            only_lf = (memchr(in_str, '\r', kind * len) == NULL);
  405|     46|        }
  406|       |
  407|     46|        if (only_lf) {
  ------------------
  |  Branch (407:13): [True: 46, False: 0]
  ------------------
  408|       |            /* If not already seen, quick scan for a possible "\n" character.
  409|       |               (there's nothing else to be done, even when in translation mode)
  410|       |            */
  411|     46|            if (seennl == 0 &&
  ------------------
  |  Branch (411:17): [True: 8, False: 38]
  ------------------
  412|      8|                memchr(in_str, '\n', kind * len) != NULL) {
  ------------------
  |  Branch (412:17): [True: 8, False: 0]
  ------------------
  413|      8|                if (kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (413:21): [True: 8, False: 0]
  ------------------
  414|      8|                    seennl |= SEEN_LF;
  ------------------
  |  |  323|      8|#define SEEN_LF   2
  ------------------
  415|      0|                else {
  416|      0|                    Py_ssize_t i = 0;
  417|      0|                    for (;;) {
  418|      0|                        Py_UCS4 c;
  419|       |                        /* Fast loop for non-control characters */
  420|      0|                        while (PyUnicode_READ(kind, in_str, i) > '\n')
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (420:32): [True: 0, False: 0]
  ------------------
  421|      0|                            i++;
  422|      0|                        c = PyUnicode_READ(kind, in_str, i++);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  423|      0|                        if (c == '\n') {
  ------------------
  |  Branch (423:29): [True: 0, False: 0]
  ------------------
  424|      0|                            seennl |= SEEN_LF;
  ------------------
  |  |  323|      0|#define SEEN_LF   2
  ------------------
  425|      0|                            break;
  426|      0|                        }
  427|      0|                        if (i >= len)
  ------------------
  |  Branch (427:29): [True: 0, False: 0]
  ------------------
  428|      0|                            break;
  429|      0|                    }
  430|      0|                }
  431|      8|            }
  432|       |            /* Finished: we have scanned for newlines, and none of them
  433|       |               need translating */
  434|     46|        }
  435|      0|        else if (!self->translate) {
  ------------------
  |  Branch (435:18): [True: 0, False: 0]
  ------------------
  436|      0|            Py_ssize_t i = 0;
  437|       |            /* We have already seen all newline types, no need to scan again */
  438|      0|            if (seennl == SEEN_ALL)
  ------------------
  |  |  325|      0|#define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  322|      0|#define SEEN_CR   1
  |  |  ------------------
  |  |               #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  323|      0|#define SEEN_LF   2
  |  |  ------------------
  |  |               #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  324|      0|#define SEEN_CRLF 4
  |  |  ------------------
  ------------------
  |  Branch (438:17): [True: 0, False: 0]
  ------------------
  439|      0|                goto endscan;
  440|      0|            for (;;) {
  441|      0|                Py_UCS4 c;
  442|       |                /* Fast loop for non-control characters */
  443|      0|                while (PyUnicode_READ(kind, in_str, i) > '\r')
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (443:24): [True: 0, False: 0]
  ------------------
  444|      0|                    i++;
  445|      0|                c = PyUnicode_READ(kind, in_str, i++);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  446|      0|                if (c == '\n')
  ------------------
  |  Branch (446:21): [True: 0, False: 0]
  ------------------
  447|      0|                    seennl |= SEEN_LF;
  ------------------
  |  |  323|      0|#define SEEN_LF   2
  ------------------
  448|      0|                else if (c == '\r') {
  ------------------
  |  Branch (448:26): [True: 0, False: 0]
  ------------------
  449|      0|                    if (PyUnicode_READ(kind, in_str, i) == '\n') {
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (449:25): [True: 0, False: 0]
  ------------------
  450|      0|                        seennl |= SEEN_CRLF;
  ------------------
  |  |  324|      0|#define SEEN_CRLF 4
  ------------------
  451|      0|                        i++;
  452|      0|                    }
  453|      0|                    else
  454|      0|                        seennl |= SEEN_CR;
  ------------------
  |  |  322|      0|#define SEEN_CR   1
  ------------------
  455|      0|                }
  456|      0|                if (i >= len)
  ------------------
  |  Branch (456:21): [True: 0, False: 0]
  ------------------
  457|      0|                    break;
  458|      0|                if (seennl == SEEN_ALL)
  ------------------
  |  |  325|      0|#define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  322|      0|#define SEEN_CR   1
  |  |  ------------------
  |  |               #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  323|      0|#define SEEN_LF   2
  |  |  ------------------
  |  |               #define SEEN_ALL (SEEN_CR | SEEN_LF | SEEN_CRLF)
  |  |  ------------------
  |  |  |  |  324|      0|#define SEEN_CRLF 4
  |  |  ------------------
  ------------------
  |  Branch (458:21): [True: 0, False: 0]
  ------------------
  459|      0|                    break;
  460|      0|            }
  461|      0|        endscan:
  462|      0|            ;
  463|      0|        }
  464|      0|        else {
  465|      0|            void *translated;
  466|      0|            int kind = PyUnicode_KIND(output);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  467|      0|            const void *in_str = PyUnicode_DATA(output);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|      0|            Py_ssize_t in, out;
  469|       |            /* XXX: Previous in-place translation here is disabled as
  470|       |               resizing is not possible anymore */
  471|       |            /* We could try to optimize this so that we only do a copy
  472|       |               when there is something to translate. On the other hand,
  473|       |               we already know there is a \r byte, so chances are high
  474|       |               that something needs to be done. */
  475|      0|            translated = PyMem_Malloc(kind * len);
  476|      0|            if (translated == NULL) {
  ------------------
  |  Branch (476:17): [True: 0, False: 0]
  ------------------
  477|      0|                PyErr_NoMemory();
  478|      0|                goto error;
  479|      0|            }
  480|      0|            in = out = 0;
  481|      0|            for (;;) {
  482|      0|                Py_UCS4 c;
  483|       |                /* Fast loop for non-control characters */
  484|      0|                while ((c = PyUnicode_READ(kind, in_str, in++)) > '\r')
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (484:24): [True: 0, False: 0]
  ------------------
  485|      0|                    PyUnicode_WRITE(kind, translated, out++, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  486|      0|                if (c == '\n') {
  ------------------
  |  Branch (486:21): [True: 0, False: 0]
  ------------------
  487|      0|                    PyUnicode_WRITE(kind, translated, out++, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  488|      0|                    seennl |= SEEN_LF;
  ------------------
  |  |  323|      0|#define SEEN_LF   2
  ------------------
  489|      0|                    continue;
  490|      0|                }
  491|      0|                if (c == '\r') {
  ------------------
  |  Branch (491:21): [True: 0, False: 0]
  ------------------
  492|      0|                    if (PyUnicode_READ(kind, in_str, in) == '\n') {
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (492:25): [True: 0, False: 0]
  ------------------
  493|      0|                        in++;
  494|      0|                        seennl |= SEEN_CRLF;
  ------------------
  |  |  324|      0|#define SEEN_CRLF 4
  ------------------
  495|      0|                    }
  496|      0|                    else
  497|      0|                        seennl |= SEEN_CR;
  ------------------
  |  |  322|      0|#define SEEN_CR   1
  ------------------
  498|      0|                    PyUnicode_WRITE(kind, translated, out++, '\n');
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  499|      0|                    continue;
  500|      0|                }
  501|      0|                if (in > len)
  ------------------
  |  Branch (501:21): [True: 0, False: 0]
  ------------------
  502|      0|                    break;
  503|      0|                PyUnicode_WRITE(kind, translated, out++, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  504|      0|            }
  505|      0|            Py_DECREF(output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|      0|            output = PyUnicode_FromKindAndData(kind, translated, out);
  507|      0|            PyMem_Free(translated);
  508|      0|            if (!output)
  ------------------
  |  Branch (508:17): [True: 0, False: 0]
  ------------------
  509|      0|                return NULL;
  510|      0|        }
  511|     46|        self->seennl |= seennl;
  512|     46|    }
  513|       |
  514|      0|    return output;
  515|       |
  516|      0|  error:
  517|      0|    Py_DECREF(output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|       |    return NULL;
  519|     46|}
_PyIO_find_line_ending:
 2124|  8.20k|{
 2125|  8.20k|    Py_ssize_t len = (end - start)/kind;
 2126|       |
 2127|  8.20k|    if (translated) {
  ------------------
  |  Branch (2127:9): [True: 8.17k, False: 32]
  ------------------
 2128|       |        /* Newlines are already translated, only search for \n */
 2129|  8.17k|        const char *pos = find_control_char(kind, start, end, '\n');
 2130|  8.17k|        if (pos != NULL)
  ------------------
  |  Branch (2130:13): [True: 8.13k, False: 42]
  ------------------
 2131|  8.13k|            return (pos - start)/kind + 1;
 2132|     42|        else {
 2133|     42|            *consumed = len;
 2134|     42|            return -1;
 2135|     42|        }
 2136|  8.17k|    }
 2137|     32|    else if (universal) {
  ------------------
  |  Branch (2137:14): [True: 0, False: 32]
  ------------------
 2138|       |        /* Universal newline search. Find any of \r, \r\n, \n
 2139|       |         * The decoder ensures that \r\n are not split in two pieces
 2140|       |         */
 2141|      0|        const char *s = start;
 2142|      0|        for (;;) {
 2143|      0|            Py_UCS4 ch;
 2144|       |            /* Fast path for non-control chars. The loop always ends
 2145|       |               since the Unicode string is NUL-terminated. */
 2146|      0|            while (PyUnicode_READ(kind, s, 0) > '\r')
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (2146:20): [True: 0, False: 0]
  ------------------
 2147|      0|                s += kind;
 2148|      0|            if (s >= end) {
  ------------------
  |  Branch (2148:17): [True: 0, False: 0]
  ------------------
 2149|      0|                *consumed = len;
 2150|      0|                return -1;
 2151|      0|            }
 2152|      0|            ch = PyUnicode_READ(kind, s, 0);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 2153|      0|            s += kind;
 2154|      0|            if (ch == '\n')
  ------------------
  |  Branch (2154:17): [True: 0, False: 0]
  ------------------
 2155|      0|                return (s - start)/kind;
 2156|      0|            if (ch == '\r') {
  ------------------
  |  Branch (2156:17): [True: 0, False: 0]
  ------------------
 2157|      0|                if (PyUnicode_READ(kind, s, 0) == '\n')
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (2157:21): [True: 0, False: 0]
  ------------------
 2158|      0|                    return (s - start)/kind + 1;
 2159|      0|                else
 2160|      0|                    return (s - start)/kind;
 2161|      0|            }
 2162|      0|        }
 2163|      0|    }
 2164|     32|    else {
 2165|       |        /* Non-universal mode. */
 2166|     32|        Py_ssize_t readnl_len = PyUnicode_GET_LENGTH(readnl);
  ------------------
  |  |  299|     32|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|     32|        const Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl);
  ------------------
  |  |  291|     32|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2168|       |        /* Assume that readnl is an ASCII character. */
 2169|     32|        assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND);
 2170|     32|        if (readnl_len == 1) {
  ------------------
  |  Branch (2170:13): [True: 32, False: 0]
  ------------------
 2171|     32|            const char *pos = find_control_char(kind, start, end, nl[0]);
 2172|     32|            if (pos != NULL)
  ------------------
  |  Branch (2172:17): [True: 32, False: 0]
  ------------------
 2173|     32|                return (pos - start)/kind + 1;
 2174|      0|            *consumed = len;
 2175|      0|            return -1;
 2176|     32|        }
 2177|      0|        else {
 2178|      0|            const char *s = start;
 2179|      0|            const char *e = end - (readnl_len - 1)*kind;
 2180|      0|            const char *pos;
 2181|      0|            if (e < s)
  ------------------
  |  Branch (2181:17): [True: 0, False: 0]
  ------------------
 2182|      0|                e = s;
 2183|      0|            while (s < e) {
  ------------------
  |  Branch (2183:20): [True: 0, False: 0]
  ------------------
 2184|      0|                Py_ssize_t i;
 2185|      0|                const char *pos = find_control_char(kind, s, end, nl[0]);
 2186|      0|                if (pos == NULL || pos >= e)
  ------------------
  |  Branch (2186:21): [True: 0, False: 0]
  |  Branch (2186:36): [True: 0, False: 0]
  ------------------
 2187|      0|                    break;
 2188|      0|                for (i = 1; i < readnl_len; i++) {
  ------------------
  |  Branch (2188:29): [True: 0, False: 0]
  ------------------
 2189|      0|                    if (PyUnicode_READ(kind, pos, i) != nl[i])
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (2189:25): [True: 0, False: 0]
  ------------------
 2190|      0|                        break;
 2191|      0|                }
 2192|      0|                if (i == readnl_len)
  ------------------
  |  Branch (2192:21): [True: 0, False: 0]
  ------------------
 2193|      0|                    return (pos - start)/kind + readnl_len;
 2194|      0|                s = pos + kind;
 2195|      0|            }
 2196|      0|            pos = find_control_char(kind, e, end, nl[0]);
 2197|      0|            if (pos == NULL)
  ------------------
  |  Branch (2197:17): [True: 0, False: 0]
  ------------------
 2198|      0|                *consumed = len;
 2199|      0|            else
 2200|      0|                *consumed = (pos - start)/kind;
 2201|      0|            return -1;
 2202|      0|        }
 2203|     32|    }
 2204|  8.20k|}
textio.c:check_decoded:
  302|    100|{
  303|    100|    if (decoded == NULL)
  ------------------
  |  Branch (303:9): [True: 0, False: 100]
  ------------------
  304|      0|        return -1;
  305|    100|    if (!PyUnicode_Check(decoded)) {
  ------------------
  |  |  103|    100|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    100|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (305:9): [True: 0, False: 100]
  ------------------
  306|      0|        PyErr_Format(PyExc_TypeError,
  307|      0|                     "decoder should return a string result, not '%.200s'",
  308|      0|                     Py_TYPE(decoded)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  309|      0|        Py_DECREF(decoded);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      0|        return -1;
  311|      0|    }
  312|    100|    return 0;
  313|    100|}
textio.c:find_control_char:
 2104|  8.20k|{
 2105|  8.20k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2105:9): [True: 7.81k, False: 388]
  ------------------
 2106|  7.81k|        assert(ch < 256);
 2107|  7.81k|        return (char *) memchr((const void *) s, (char) ch, end - s);
 2108|  7.81k|    }
 2109|    388|    for (;;) {
 2110|  17.7k|        while (PyUnicode_READ(kind, s, 0) > ch)
  ------------------
  |  |  354|  17.7k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  17.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  17.7k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  17.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  17.7k|                   (index))
  ------------------
  |  Branch (2110:16): [True: 17.3k, False: 388]
  ------------------
 2111|  17.3k|            s += kind;
 2112|    388|        if (PyUnicode_READ(kind, s, 0) == ch)
  ------------------
  |  |  354|    388|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    388|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    388|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    388|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    388|                   (index))
  ------------------
  |  Branch (2112:13): [True: 386, False: 2]
  ------------------
 2113|    386|            return s;
 2114|      2|        if (s == end)
  ------------------
  |  Branch (2114:13): [True: 2, False: 0]
  ------------------
 2115|      2|            return NULL;
 2116|      0|        s += kind;
 2117|      0|    }
 2118|    388|}
textio.c:incrementalnewlinedecoder_dealloc:
  291|      8|{
  292|      8|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      8|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  293|      8|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      8|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      8|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|      8|    (void)incrementalnewlinedecoder_clear(op);
  296|      8|    tp->tp_free(self);
  297|      8|    Py_DECREF(tp);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|      8|}
textio.c:incrementalnewlinedecoder_clear:
  282|      8|{
  283|      8|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      8|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  284|      8|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  285|       |    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  286|      8|    return 0;
  287|      8|}
textio.c:_io_IncrementalNewlineDecoder___init___impl:
  252|      8|{
  253|       |
  254|      8|    if (errors == NULL) {
  ------------------
  |  Branch (254:9): [True: 8, False: 0]
  ------------------
  255|      8|        errors = &_Py_ID(strict);
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      8|    }
  257|      0|    else {
  258|      0|        errors = Py_NewRef(errors);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  259|      0|    }
  260|       |
  261|      8|    Py_XSETREF(self->errors, errors);
  ------------------
  |  |  374|      8|    do { \
  |  |  375|      8|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      8|        *_tmp_dst_ptr = (src); \
  |  |  378|      8|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  262|      8|    Py_XSETREF(self->decoder, Py_NewRef(decoder));
  ------------------
  |  |  374|      8|    do { \
  |  |  375|      8|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      8|        *_tmp_dst_ptr = (src); \
  |  |  378|      8|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  263|      8|    self->translate = translate ? 1 : 0;
  ------------------
  |  Branch (263:23): [True: 8, False: 0]
  ------------------
  264|      8|    self->seennl = 0;
  265|      8|    self->pendingcr = 0;
  266|       |
  267|      8|    return 0;
  268|      8|}
textio.c:textiowrapper_dealloc:
 1470|      8|{
 1471|      8|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|      8|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1472|      8|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|      8|    self->finalizing = 1;
 1474|      8|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (1474:9): [True: 0, False: 8]
  ------------------
 1475|      0|        return;
 1476|      8|    self->ok = 0;
 1477|      8|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      8|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      8|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|      8|    do {                                            \
  |  |   48|      8|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      8|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 8]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1479|      8|    (void)textiowrapper_clear(op);
 1480|      8|    tp->tp_free(self);
 1481|      8|    Py_DECREF(tp);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      8|}
textio.c:textiowrapper_traverse:
 1486|     48|{
 1487|     48|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|     48|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1488|     48|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1489|     48|    Py_VISIT(self->buffer);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1490|     48|    Py_VISIT(self->encoding);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1491|     48|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 32, False: 16]
  |  |  ------------------
  |  |  196|     32|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     32|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 32]
  |  |  ------------------
  |  |  198|     32|                return vret;                                            \
  |  |  199|     32|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1492|     48|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 32]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1493|     48|    Py_VISIT(self->readnl);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1494|     48|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 48]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1495|     48|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 48]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1496|     48|    Py_VISIT(self->snapshot);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 48]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1497|     48|    Py_VISIT(self->errors);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1498|     48|    Py_VISIT(self->raw);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1499|       |
 1500|     48|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1501|     48|    return 0;
 1502|     48|}
textio.c:textiowrapper_clear:
 1450|      8|{
 1451|      8|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|      8|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1452|      8|    self->ok = 0;
 1453|      8|    Py_CLEAR(self->buffer);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1454|      8|    Py_CLEAR(self->encoding);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1455|      8|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1456|      8|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1457|      8|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1458|      8|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1459|      8|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1460|      8|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1461|      8|    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1462|      8|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1463|       |
 1464|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1465|      8|    return 0;
 1466|      8|}
textio.c:textiowrapper_iternext:
 3226|  8.13k|{
 3227|  8.13k|    PyObject *result;
 3228|  8.13k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.13k|    {
  ------------------
 3229|  8.13k|    result = textiowrapper_iternext_lock_held(op);
 3230|  8.13k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.13k|    }
  ------------------
 3231|  8.13k|    return result;
 3232|  8.13k|}
textio.c:textiowrapper_iternext_lock_held:
 3187|  8.13k|{
 3188|  8.13k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
 3189|  8.13k|    PyObject *line;
 3190|  8.13k|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|  8.13k|#define textio_CAST(op) ((textio *)(op))
  ------------------
 3191|       |
 3192|  8.13k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|  8.13k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|  8.13k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 8.13k]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|  8.13k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 8.13k]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3193|       |
 3194|  8.13k|    self->telling = 0;
 3195|  8.13k|    if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) {
  ------------------
  |  |  215|  8.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.13k, False: 0]
  |  |  ------------------
  ------------------
 3196|       |        /* Skip method call overhead for speed */
 3197|  8.13k|        line = _textiowrapper_readline(self, -1);
 3198|  8.13k|    }
 3199|      0|    else {
 3200|      0|        line = PyObject_CallMethodNoArgs(op, &_Py_ID(readline));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|      0|        if (line && !PyUnicode_Check(line)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3201:13): [True: 0, False: 0]
  |  Branch (3201:21): [True: 0, False: 0]
  ------------------
 3202|      0|            PyErr_Format(PyExc_OSError,
 3203|      0|                         "readline() should have returned a str object, "
 3204|      0|                         "not '%.200s'", Py_TYPE(line)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3205|      0|            Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|      0|            return NULL;
 3207|      0|        }
 3208|      0|    }
 3209|       |
 3210|  8.13k|    if (line == NULL)
  ------------------
  |  Branch (3210:9): [True: 0, False: 8.13k]
  ------------------
 3211|      0|        return NULL;
 3212|       |
 3213|  8.13k|    if (PyUnicode_GET_LENGTH(line) == 0) {
  ------------------
  |  |  299|  8.13k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3213:9): [True: 4, False: 8.13k]
  ------------------
 3214|       |        /* Reached EOF or would have blocked */
 3215|      4|        Py_DECREF(line);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3216|      4|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3217|      4|        self->telling = self->seekable;
 3218|      4|        return NULL;
 3219|      4|    }
 3220|       |
 3221|  8.13k|    return line;
 3222|  8.13k|}
textio.c:_textiowrapper_readline:
 2208|  8.13k|{
 2209|  8.13k|    PyObject *line = NULL, *chunks = NULL, *remaining = NULL;
 2210|  8.13k|    Py_ssize_t start, endpos, chunked, offset_to_buffer;
 2211|  8.13k|    int res;
 2212|       |
 2213|  8.13k|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|  8.13k|    do { \
  |  | 1510|  8.13k|        int r; \
  |  | 1511|  8.13k|        PyObject *_res; \
  |  | 1512|  8.13k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  8.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.13k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|  8.13k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 8.13k, False: 0]
  |  |  ------------------
  |  | 1514|  8.13k|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|  8.13k|            else { \
  |  | 1516|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1517|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1517:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1518|      0|                    return NULL; \
  |  | 1519|      0|                r = PyObject_IsTrue(_res); \
  |  | 1520|      0|                Py_DECREF(_res); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1521|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1521:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1522|      0|                    return NULL; \
  |  | 1523|      0|            } \
  |  | 1524|  8.13k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 8.13k]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|  8.13k|        } \
  |  | 1530|  8.13k|        else if (_PyIOBase_check_closed((PyObject *)self, Py_True) == NULL) \
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1530:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|            return NULL; \
  |  | 1532|  8.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 8.13k]
  |  |  ------------------
  ------------------
 2214|       |
 2215|  8.13k|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (2215:9): [True: 0, False: 8.13k]
  ------------------
 2216|      0|        return NULL;
 2217|       |
 2218|  8.13k|    chunked = 0;
 2219|       |
 2220|  8.17k|    while (1) {
  ------------------
  |  Branch (2220:12): [True: 8.17k, Folded]
  ------------------
 2221|  8.17k|        const char *ptr;
 2222|  8.17k|        Py_ssize_t line_len;
 2223|  8.17k|        int kind;
 2224|  8.17k|        Py_ssize_t consumed = 0;
 2225|       |
 2226|       |        /* First, get some data if necessary */
 2227|  8.17k|        res = 1;
 2228|  8.22k|        while (!self->decoded_chars ||
  ------------------
  |  Branch (2228:16): [True: 46, False: 8.17k]
  ------------------
 2229|  8.17k|               !PyUnicode_GET_LENGTH(self->decoded_chars)) {
  ------------------
  |  |  299|  8.17k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2229:16): [True: 0, False: 8.17k]
  ------------------
 2230|     46|            res = textiowrapper_read_chunk(self, 0);
 2231|     46|            if (res < 0) {
  ------------------
  |  Branch (2231:17): [True: 0, False: 46]
  ------------------
 2232|       |                /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals()
 2233|       |                   when EINTR occurs so we needn't do it ourselves. */
 2234|      0|                if (_PyIO_trap_eintr()) {
  ------------------
  |  Branch (2234:21): [True: 0, False: 0]
  ------------------
 2235|      0|                    continue;
 2236|      0|                }
 2237|      0|                goto error;
 2238|      0|            }
 2239|     46|            if (res == 0)
  ------------------
  |  Branch (2239:17): [True: 4, False: 42]
  ------------------
 2240|      4|                break;
 2241|     46|        }
 2242|  8.17k|        if (res == 0) {
  ------------------
  |  Branch (2242:13): [True: 4, False: 8.17k]
  ------------------
 2243|       |            /* end of file */
 2244|      4|            textiowrapper_set_decoded_chars(self, NULL);
 2245|      4|            Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2246|      4|            start = endpos = offset_to_buffer = 0;
 2247|      4|            break;
 2248|      4|        }
 2249|       |
 2250|  8.17k|        if (remaining == NULL) {
  ------------------
  |  Branch (2250:13): [True: 8.17k, False: 0]
  ------------------
 2251|  8.17k|            line = Py_NewRef(self->decoded_chars);
  ------------------
  |  |  550|  8.17k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|  8.17k|            start = self->decoded_chars_used;
 2253|  8.17k|            offset_to_buffer = 0;
 2254|  8.17k|        }
 2255|      0|        else {
 2256|      0|            assert(self->decoded_chars_used == 0);
 2257|      0|            line = PyUnicode_Concat(remaining, self->decoded_chars);
 2258|      0|            start = 0;
 2259|      0|            offset_to_buffer = PyUnicode_GET_LENGTH(remaining);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2260|      0|            Py_CLEAR(remaining);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2261|      0|            if (line == NULL)
  ------------------
  |  Branch (2261:17): [True: 0, False: 0]
  ------------------
 2262|      0|                goto error;
 2263|      0|        }
 2264|       |
 2265|  8.17k|        ptr = PyUnicode_DATA(line);
  ------------------
  |  |  284|  8.17k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|  8.17k|        line_len = PyUnicode_GET_LENGTH(line);
  ------------------
  |  |  299|  8.17k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2267|  8.17k|        kind = PyUnicode_KIND(line);
  ------------------
  |  |  258|  8.17k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  8.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2268|       |
 2269|  8.17k|        endpos = _PyIO_find_line_ending(
 2270|  8.17k|            self->readtranslate, self->readuniversal, self->readnl,
 2271|  8.17k|            kind,
 2272|  8.17k|            ptr + kind * start,
 2273|  8.17k|            ptr + kind * line_len,
 2274|  8.17k|            &consumed);
 2275|  8.17k|        if (endpos >= 0) {
  ------------------
  |  Branch (2275:13): [True: 8.13k, False: 42]
  ------------------
 2276|  8.13k|            endpos += start;
 2277|  8.13k|            if (limit >= 0 && (endpos - start) + chunked >= limit)
  ------------------
  |  Branch (2277:17): [True: 0, False: 8.13k]
  |  Branch (2277:31): [True: 0, False: 0]
  ------------------
 2278|      0|                endpos = start + limit - chunked;
 2279|  8.13k|            break;
 2280|  8.13k|        }
 2281|       |
 2282|       |        /* We can put aside up to `endpos` */
 2283|     42|        endpos = consumed + start;
 2284|     42|        if (limit >= 0 && (endpos - start) + chunked >= limit) {
  ------------------
  |  Branch (2284:13): [True: 0, False: 42]
  |  Branch (2284:27): [True: 0, False: 0]
  ------------------
 2285|       |            /* Didn't find line ending, but reached length limit */
 2286|      0|            endpos = start + limit - chunked;
 2287|      0|            break;
 2288|      0|        }
 2289|       |
 2290|     42|        if (endpos > start) {
  ------------------
  |  Branch (2290:13): [True: 38, False: 4]
  ------------------
 2291|       |            /* No line ending seen yet - put aside current data */
 2292|     38|            PyObject *s;
 2293|     38|            if (chunks == NULL) {
  ------------------
  |  Branch (2293:17): [True: 38, False: 0]
  ------------------
 2294|     38|                chunks = PyList_New(0);
 2295|     38|                if (chunks == NULL)
  ------------------
  |  Branch (2295:21): [True: 0, False: 38]
  ------------------
 2296|      0|                    goto error;
 2297|     38|            }
 2298|     38|            s = PyUnicode_Substring(line, start, endpos);
 2299|     38|            if (s == NULL)
  ------------------
  |  Branch (2299:17): [True: 0, False: 38]
  ------------------
 2300|      0|                goto error;
 2301|     38|            if (PyList_Append(chunks, s) < 0) {
  ------------------
  |  Branch (2301:17): [True: 0, False: 38]
  ------------------
 2302|      0|                Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      0|                goto error;
 2304|      0|            }
 2305|     38|            chunked += PyUnicode_GET_LENGTH(s);
  ------------------
  |  |  299|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2306|     38|            Py_DECREF(s);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2307|     38|        }
 2308|       |        /* There may be some remaining bytes we'll have to prepend to the
 2309|       |           next chunk of data */
 2310|     42|        if (endpos < line_len) {
  ------------------
  |  Branch (2310:13): [True: 0, False: 42]
  ------------------
 2311|      0|            remaining = PyUnicode_Substring(line, endpos, line_len);
 2312|      0|            if (remaining == NULL)
  ------------------
  |  Branch (2312:17): [True: 0, False: 0]
  ------------------
 2313|      0|                goto error;
 2314|      0|        }
 2315|     42|        Py_CLEAR(line);
  ------------------
  |  |  484|     42|    do { \
  |  |  485|     42|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     42|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     42|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     42|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 42, False: 0]
  |  |  ------------------
  |  |  488|     42|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     42|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     42|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     42|        } \
  |  |  491|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
 2316|       |        /* We have consumed the buffer */
 2317|     42|        textiowrapper_set_decoded_chars(self, NULL);
 2318|     42|    }
 2319|       |
 2320|  8.13k|    if (line != NULL) {
  ------------------
  |  Branch (2320:9): [True: 8.13k, False: 4]
  ------------------
 2321|       |        /* Our line ends in the current buffer */
 2322|  8.13k|        self->decoded_chars_used = endpos - offset_to_buffer;
 2323|  8.13k|        if (start > 0 || endpos < PyUnicode_GET_LENGTH(line)) {
  ------------------
  |  |  299|     42|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2323:13): [True: 8.09k, False: 42]
  |  Branch (2323:26): [True: 42, False: 0]
  ------------------
 2324|  8.13k|            PyObject *s = PyUnicode_Substring(line, start, endpos);
 2325|  8.13k|            Py_CLEAR(line);
  ------------------
  |  |  484|  8.13k|    do { \
  |  |  485|  8.13k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  8.13k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  8.13k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  8.13k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  8.13k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8.13k, False: 0]
  |  |  ------------------
  |  |  488|  8.13k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  8.13k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  8.13k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  8.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  8.13k|        } \
  |  |  491|  8.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8.13k]
  |  |  ------------------
  ------------------
 2326|  8.13k|            if (s == NULL)
  ------------------
  |  Branch (2326:17): [True: 0, False: 8.13k]
  ------------------
 2327|      0|                goto error;
 2328|  8.13k|            line = s;
 2329|  8.13k|        }
 2330|  8.13k|    }
 2331|  8.13k|    if (remaining != NULL) {
  ------------------
  |  Branch (2331:9): [True: 0, False: 8.13k]
  ------------------
 2332|      0|        if (chunks == NULL) {
  ------------------
  |  Branch (2332:13): [True: 0, False: 0]
  ------------------
 2333|      0|            chunks = PyList_New(0);
 2334|      0|            if (chunks == NULL)
  ------------------
  |  Branch (2334:17): [True: 0, False: 0]
  ------------------
 2335|      0|                goto error;
 2336|      0|        }
 2337|      0|        if (PyList_Append(chunks, remaining) < 0)
  ------------------
  |  Branch (2337:13): [True: 0, False: 0]
  ------------------
 2338|      0|            goto error;
 2339|      0|        Py_CLEAR(remaining);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2340|      0|    }
 2341|  8.13k|    if (chunks != NULL) {
  ------------------
  |  Branch (2341:9): [True: 38, False: 8.09k]
  ------------------
 2342|     38|        if (line != NULL) {
  ------------------
  |  Branch (2342:13): [True: 38, False: 0]
  ------------------
 2343|     38|            if (PyList_Append(chunks, line) < 0)
  ------------------
  |  Branch (2343:17): [True: 0, False: 38]
  ------------------
 2344|      0|                goto error;
 2345|     38|            Py_DECREF(line);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|     38|        }
 2347|     38|        line = PyUnicode_Join(&_Py_STR(empty), chunks);
  ------------------
  |  |  921|     38|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     38|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     38|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|     38|        if (line == NULL)
  ------------------
  |  Branch (2348:13): [True: 0, False: 38]
  ------------------
 2349|      0|            goto error;
 2350|     38|        Py_CLEAR(chunks);
  ------------------
  |  |  484|     38|    do { \
  |  |  485|     38|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     38|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     38|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 38, False: 0]
  |  |  ------------------
  |  |  488|     38|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     38|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     38|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     38|        } \
  |  |  491|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2351|     38|    }
 2352|  8.13k|    if (line == NULL) {
  ------------------
  |  Branch (2352:9): [True: 4, False: 8.13k]
  ------------------
 2353|      4|        line = &_Py_STR(empty);
  ------------------
  |  |  921|      4|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2354|      4|    }
 2355|       |
 2356|  8.13k|    return line;
 2357|       |
 2358|      0|  error:
 2359|      0|    Py_XDECREF(chunks);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|      0|    Py_XDECREF(remaining);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2361|      0|    Py_XDECREF(line);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2362|       |    return NULL;
 2363|  8.13k|}
textio.c:_io_TextIOWrapper_closed_get_impl:
 3257|     28|{
 3258|     28|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|     28|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|     28|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|     28|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 28]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3259|     28|    return PyObject_GetAttr(self->buffer, &_Py_ID(closed));
  ------------------
  |  |  919|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3260|     28|}
textio.c:_textiowrapper_writeflush:
 1585|  8.14k|{
 1586|  8.14k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1587|       |
 1588|  8.14k|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1588:9): [True: 8.14k, False: 0]
  ------------------
 1589|  8.14k|        return 0;
 1590|       |
 1591|      0|    PyObject *pending = self->pending_bytes;
 1592|      0|    PyObject *b;
 1593|       |
 1594|      0|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|        b = Py_NewRef(pending);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    }
 1597|      0|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|      0|        assert(PyUnicode_IS_ASCII(pending));
 1599|      0|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
 1600|      0|        b = PyBytes_FromStringAndSize(
 1601|      0|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|      0|        if (b == NULL) {
  ------------------
  |  Branch (1602:13): [True: 0, False: 0]
  ------------------
 1603|      0|            return -1;
 1604|      0|        }
 1605|      0|    }
 1606|      0|    else {
 1607|      0|        assert(PyList_Check(pending));
 1608|      0|        b = PyBytes_FromStringAndSize(NULL, self->pending_bytes_count);
 1609|      0|        if (b == NULL) {
  ------------------
  |  Branch (1609:13): [True: 0, False: 0]
  ------------------
 1610|      0|            return -1;
 1611|      0|        }
 1612|       |
 1613|      0|        char *buf = PyBytes_AsString(b);
 1614|      0|        Py_ssize_t pos = 0;
 1615|       |
 1616|      0|        for (Py_ssize_t i = 0; i < PyList_GET_SIZE(pending); i++) {
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:32): [True: 0, False: 0]
  ------------------
 1617|      0|            PyObject *obj = PyList_GET_ITEM(pending, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|      0|            char *src;
 1619|      0|            Py_ssize_t len;
 1620|      0|            if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1621|      0|                assert(PyUnicode_IS_ASCII(obj));
 1622|      0|                src = PyUnicode_DATA(obj);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|      0|                len = PyUnicode_GET_LENGTH(obj);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|      0|            }
 1625|      0|            else {
 1626|      0|                assert(PyBytes_Check(obj));
 1627|      0|                if (PyBytes_AsStringAndSize(obj, &src, &len) < 0) {
  ------------------
  |  Branch (1627:21): [True: 0, False: 0]
  ------------------
 1628|      0|                    Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1629|      0|                    return -1;
 1630|      0|                }
 1631|      0|            }
 1632|      0|            memcpy(buf + pos, src, len);
 1633|      0|            pos += len;
 1634|      0|        }
 1635|      0|        assert(pos == self->pending_bytes_count);
 1636|      0|    }
 1637|       |
 1638|      0|    self->pending_bytes_count = 0;
 1639|      0|    self->pending_bytes = NULL;
 1640|      0|    Py_DECREF(pending);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|       |
 1642|      0|    PyObject *ret;
 1643|      0|    do {
 1644|      0|        ret = PyObject_CallMethodOneArg(self->buffer, &_Py_ID(write), b);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|      0|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1645:14): [True: 0, False: 0]
  |  Branch (1645:29): [True: 0, False: 0]
  ------------------
 1646|      0|    Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1648|       |    // when an error occurred.
 1649|      0|    if (ret == NULL)
  ------------------
  |  Branch (1649:9): [True: 0, False: 0]
  ------------------
 1650|      0|        return -1;
 1651|      0|    Py_DECREF(ret);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|      0|    return 0;
 1653|      0|}
textio.c:textiowrapper_read_chunk:
 1855|     46|{
 1856|     46|    PyObject *dec_buffer = NULL;
 1857|     46|    PyObject *dec_flags = NULL;
 1858|     46|    PyObject *input_chunk = NULL;
 1859|     46|    Py_buffer input_chunk_buf;
 1860|     46|    PyObject *decoded_chars, *chunk_size;
 1861|     46|    Py_ssize_t nbytes, nchars;
 1862|     46|    int eof;
 1863|       |
 1864|       |    /* The return value is True unless EOF was reached.  The decoded string is
 1865|       |     * placed in self._decoded_chars (replacing its previous value).  The
 1866|       |     * entire input chunk is sent to the decoder, though some of it may remain
 1867|       |     * buffered in the decoder, yet to be converted.
 1868|       |     */
 1869|       |
 1870|     46|    if (self->decoder == NULL) {
  ------------------
  |  Branch (1870:9): [True: 0, False: 46]
  ------------------
 1871|      0|        _unsupported(self->state, "not readable");
 1872|      0|        return -1;
 1873|      0|    }
 1874|       |
 1875|     46|    if (self->telling) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 46]
  ------------------
 1876|       |        /* To prepare for tell(), we need to snapshot a point in the file
 1877|       |         * where the decoder's input buffer is empty.
 1878|       |         */
 1879|      0|        PyObject *state = PyObject_CallMethodNoArgs(self->decoder,
 1880|      0|                                                     &_Py_ID(getstate));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|      0|        if (state == NULL)
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            return -1;
 1883|       |        /* Given this, we know there was a valid snapshot point
 1884|       |         * len(dec_buffer) bytes ago with decoder state (b'', dec_flags).
 1885|       |         */
 1886|      0|        if (!PyTuple_Check(state)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1886:13): [True: 0, False: 0]
  ------------------
 1887|      0|            PyErr_SetString(PyExc_TypeError,
 1888|      0|                            "illegal decoder state");
 1889|      0|            Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1890|      0|            return -1;
 1891|      0|        }
 1892|      0|        if (!PyArg_ParseTuple(state,
  ------------------
  |  Branch (1892:13): [True: 0, False: 0]
  ------------------
 1893|      0|                              "OO;illegal decoder state", &dec_buffer, &dec_flags))
 1894|      0|        {
 1895|      0|            Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1896|      0|            return -1;
 1897|      0|        }
 1898|       |
 1899|      0|        if (!PyBytes_Check(dec_buffer)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1899:13): [True: 0, False: 0]
  ------------------
 1900|      0|            PyErr_Format(PyExc_TypeError,
 1901|      0|                         "illegal decoder state: the first item should be a "
 1902|      0|                         "bytes object, not '%.200s'",
 1903|      0|                         Py_TYPE(dec_buffer)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1904|      0|            Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|      0|            return -1;
 1906|      0|        }
 1907|      0|        Py_INCREF(dec_buffer);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|      0|        Py_INCREF(dec_flags);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1909|      0|        Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1910|      0|    }
 1911|       |
 1912|       |    /* Read a chunk, decode it, and put the result in self._decoded_chars. */
 1913|     46|    if (size_hint > 0) {
  ------------------
  |  Branch (1913:9): [True: 0, False: 46]
  ------------------
 1914|      0|        size_hint = (Py_ssize_t)(Py_MAX(self->b2cratio, 1.0) * size_hint);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1915|      0|    }
 1916|     46|    chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint));
  ------------------
  |  |  115|     46|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 46, False: 0]
  |  |  ------------------
  ------------------
 1917|     46|    if (chunk_size == NULL)
  ------------------
  |  Branch (1917:9): [True: 0, False: 46]
  ------------------
 1918|      0|        goto fail;
 1919|       |
 1920|     46|    input_chunk = PyObject_CallMethodOneArg(self->buffer,
 1921|     46|        (self->has_read1 ? &_Py_ID(read1): &_Py_ID(read)),
  ------------------
  |  |  919|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (self->has_read1 ? &_Py_ID(read1): &_Py_ID(read)),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1921:10): [True: 46, False: 0]
  ------------------
 1922|     46|        chunk_size);
 1923|     46|    Py_DECREF(chunk_size);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1924|     46|    if (input_chunk == NULL)
  ------------------
  |  Branch (1924:9): [True: 0, False: 46]
  ------------------
 1925|      0|        goto fail;
 1926|       |
 1927|     46|    if (PyObject_GetBuffer(input_chunk, &input_chunk_buf, 0) != 0) {
  ------------------
  |  Branch (1927:9): [True: 0, False: 46]
  ------------------
 1928|      0|        PyErr_Format(PyExc_TypeError,
 1929|      0|                     "underlying %s() should have returned a bytes-like object, "
 1930|      0|                     "not '%.200s'", (self->has_read1 ? "read1": "read"),
  ------------------
  |  Branch (1930:39): [True: 0, False: 0]
  ------------------
 1931|      0|                     Py_TYPE(input_chunk)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|      0|        goto fail;
 1933|      0|    }
 1934|       |
 1935|     46|    nbytes = input_chunk_buf.len;
 1936|     46|    eof = (nbytes == 0);
 1937|       |
 1938|     46|    decoded_chars = _textiowrapper_decode(self->state, self->decoder,
 1939|     46|                                          input_chunk, eof);
 1940|     46|    PyBuffer_Release(&input_chunk_buf);
 1941|     46|    if (decoded_chars == NULL)
  ------------------
  |  Branch (1941:9): [True: 0, False: 46]
  ------------------
 1942|      0|        goto fail;
 1943|       |
 1944|     46|    textiowrapper_set_decoded_chars(self, decoded_chars);
 1945|     46|    nchars = PyUnicode_GET_LENGTH(decoded_chars);
  ------------------
  |  |  299|     46|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1946|     46|    if (nchars > 0)
  ------------------
  |  Branch (1946:9): [True: 42, False: 4]
  ------------------
 1947|     42|        self->b2cratio = (double) nbytes / nchars;
 1948|      4|    else
 1949|      4|        self->b2cratio = 0.0;
 1950|     46|    if (nchars > 0)
  ------------------
  |  Branch (1950:9): [True: 42, False: 4]
  ------------------
 1951|     42|        eof = 0;
 1952|       |
 1953|     46|    if (self->telling) {
  ------------------
  |  Branch (1953:9): [True: 0, False: 46]
  ------------------
 1954|       |        /* At the snapshot point, len(dec_buffer) bytes before the read, the
 1955|       |         * next input to be decoded is dec_buffer + input_chunk.
 1956|       |         */
 1957|      0|        PyObject *next_input = dec_buffer;
 1958|      0|        PyBytes_Concat(&next_input, input_chunk);
 1959|      0|        dec_buffer = NULL; /* Reference lost to PyBytes_Concat */
 1960|      0|        if (next_input == NULL) {
  ------------------
  |  Branch (1960:13): [True: 0, False: 0]
  ------------------
 1961|      0|            goto fail;
 1962|      0|        }
 1963|      0|        PyObject *snapshot = Py_BuildValue("NN", dec_flags, next_input);
 1964|      0|        if (snapshot == NULL) {
  ------------------
  |  Branch (1964:13): [True: 0, False: 0]
  ------------------
 1965|      0|            dec_flags = NULL;
 1966|      0|            goto fail;
 1967|      0|        }
 1968|      0|        Py_XSETREF(self->snapshot, snapshot);
  ------------------
  |  |  374|      0|    do { \
  |  |  375|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      0|        *_tmp_dst_ptr = (src); \
  |  |  378|      0|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1969|      0|    }
 1970|     46|    Py_DECREF(input_chunk);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1971|       |
 1972|     46|    return (eof == 0);
 1973|       |
 1974|      0|  fail:
 1975|      0|    Py_XDECREF(dec_buffer);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1976|      0|    Py_XDECREF(dec_flags);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|      0|    Py_XDECREF(input_chunk);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1978|      0|    return -1;
 1979|     46|}
textio.c:_textiowrapper_decode:
  934|     46|{
  935|     46|    PyObject *chars;
  936|       |
  937|     46|    if (Py_IS_TYPE(decoder, state->PyIncrementalNewlineDecoder_Type))
  ------------------
  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 46, False: 0]
  |  |  ------------------
  ------------------
  938|     46|        chars = _PyIncrementalNewlineDecoder_decode(decoder, bytes, eof);
  939|      0|    else
  940|      0|        chars = PyObject_CallMethodObjArgs(decoder, &_Py_ID(decode), bytes,
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|                                           eof ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                         eof ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (941:44): [True: 0, False: 0]
  ------------------
  942|       |
  943|     46|    if (check_decoded(chars) < 0)
  ------------------
  |  Branch (943:9): [True: 0, False: 46]
  ------------------
  944|       |        // check_decoded already decreases refcount
  945|      0|        return NULL;
  946|       |
  947|     46|    return chars;
  948|     46|}
textio.c:textiowrapper_set_decoded_chars:
 1814|     92|{
 1815|     92|    Py_XSETREF(self->decoded_chars, chars);
  ------------------
  |  |  374|     92|    do { \
  |  |  375|     92|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     92|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     92|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     92|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     92|        *_tmp_dst_ptr = (src); \
  |  |  378|     92|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     92|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     92|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 92]
  |  |  ------------------
  ------------------
 1816|     92|    self->decoded_chars_used = 0;
 1817|     92|}
textio.c:validate_newline:
  846|     14|{
  847|     14|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (847:9): [True: 6, False: 8]
  |  Branch (847:20): [True: 6, False: 0]
  ------------------
  848|      6|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (848:14): [True: 6, False: 0]
  |  Branch (848:36): [True: 6, False: 0]
  ------------------
  849|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (849:14): [True: 0, False: 0]
  |  Branch (849:36): [True: 0, False: 0]
  ------------------
  850|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (850:14): [True: 0, False: 0]
  |  Branch (850:36): [True: 0, False: 0]
  |  Branch (850:58): [True: 0, False: 0]
  ------------------
  851|      0|        PyErr_Format(PyExc_ValueError,
  852|      0|                     "illegal newline value: %s", newline);
  853|      0|        return -1;
  854|      0|    }
  855|     14|    return 0;
  856|     14|}
textio.c:set_newline:
  860|     14|{
  861|     14|    PyObject *old = self->readnl;
  862|     14|    if (newline == NULL) {
  ------------------
  |  Branch (862:9): [True: 8, False: 6]
  ------------------
  863|      8|        self->readnl = NULL;
  864|      8|    }
  865|      6|    else {
  866|      6|        self->readnl = PyUnicode_FromString(newline);
  867|      6|        if (self->readnl == NULL) {
  ------------------
  |  Branch (867:13): [True: 0, False: 6]
  ------------------
  868|      0|            self->readnl = old;
  869|      0|            return -1;
  870|      0|        }
  871|      6|    }
  872|     14|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (872:28): [True: 8, False: 6]
  |  Branch (872:47): [True: 0, False: 6]
  ------------------
  873|     14|    self->readtranslate = (newline == NULL);
  874|     14|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (874:29): [True: 8, False: 6]
  |  Branch (874:48): [True: 6, False: 0]
  ------------------
  875|     14|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (875:9): [True: 6, False: 8]
  |  Branch (875:33): [True: 6, False: 0]
  ------------------
  876|       |        // validate_newline() accepts only ASCII newlines.
  877|      6|        assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND);
  878|      6|        self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl);
  ------------------
  |  |  291|      6|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  879|      6|        if (strcmp(self->writenl, "\n") == 0) {
  ------------------
  |  Branch (879:13): [True: 6, False: 0]
  ------------------
  880|      6|            self->writenl = NULL;
  881|      6|        }
  882|      6|    }
  883|      8|    else {
  884|       |#ifdef MS_WINDOWS
  885|       |        self->writenl = "\r\n";
  886|       |#else
  887|      8|        self->writenl = NULL;
  888|      8|#endif
  889|      8|    }
  890|     14|    Py_XDECREF(old);
  ------------------
  |  |  524|     14|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  891|     14|    return 0;
  892|     14|}
textio.c:_textiowrapper_set_decoder:
  897|     14|{
  898|     14|    PyObject *res;
  899|     14|    int r;
  900|       |
  901|     14|    res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(readable));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|     14|    if (res == NULL)
  ------------------
  |  Branch (902:9): [True: 0, False: 14]
  ------------------
  903|      0|        return -1;
  904|       |
  905|     14|    r = PyObject_IsTrue(res);
  906|     14|    Py_DECREF(res);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|     14|    if (r == -1)
  ------------------
  |  Branch (907:9): [True: 0, False: 14]
  ------------------
  908|      0|        return -1;
  909|       |
  910|     14|    if (r != 1)
  ------------------
  |  Branch (910:9): [True: 4, False: 10]
  ------------------
  911|      4|        return 0;
  912|       |
  913|     10|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|     10|    do { \
  |  |  485|     10|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     10|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     10|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  914|     10|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  915|     10|    if (self->decoder == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 10]
  ------------------
  916|      0|        return -1;
  917|       |
  918|     10|    if (self->readuniversal) {
  ------------------
  |  Branch (918:9): [True: 8, False: 2]
  ------------------
  919|      8|        _PyIO_State *state = self->state;
  920|      8|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  921|      8|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  922|      8|            self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      8|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (922:28): [True: 8, False: 0]
  ------------------
  923|      8|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (923:13): [True: 0, False: 8]
  ------------------
  924|      0|            return -1;
  925|      8|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  374|      8|    do { \
  |  |  375|      8|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      8|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      8|        *_tmp_dst_ptr = (src); \
  |  |  378|      8|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      8|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  926|      8|    }
  927|       |
  928|     10|    return 0;
  929|     10|}
textio.c:_textiowrapper_set_encoder:
  953|     14|{
  954|     14|    PyObject *res;
  955|     14|    int r;
  956|       |
  957|     14|    res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(writable));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  958|     14|    if (res == NULL)
  ------------------
  |  Branch (958:9): [True: 0, False: 14]
  ------------------
  959|      0|        return -1;
  960|       |
  961|     14|    r = PyObject_IsTrue(res);
  962|     14|    Py_DECREF(res);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  963|     14|    if (r == -1)
  ------------------
  |  Branch (963:9): [True: 0, False: 14]
  ------------------
  964|      0|        return -1;
  965|       |
  966|     14|    if (r != 1)
  ------------------
  |  Branch (966:9): [True: 10, False: 4]
  ------------------
  967|     10|        return 0;
  968|       |
  969|      4|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  970|      4|    self->encodefunc = NULL;
  971|      4|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
  972|      4|    if (self->encoder == NULL)
  ------------------
  |  Branch (972:9): [True: 0, False: 4]
  ------------------
  973|      0|        return -1;
  974|       |
  975|       |    /* Get the normalized named of the codec */
  976|      4|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (976:9): [True: 0, False: 4]
  ------------------
  977|      0|        return -1;
  978|      0|    }
  979|      4|    if (res != NULL && PyUnicode_Check(res)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (979:9): [True: 4, False: 0]
  ------------------
  980|      4|        const encodefuncentry *e = encodefuncs;
  981|     12|        while (e->name != NULL) {
  ------------------
  |  Branch (981:16): [True: 12, False: 0]
  ------------------
  982|     12|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (982:17): [True: 4, False: 8]
  ------------------
  983|      4|                self->encodefunc = e->encodefunc;
  984|      4|                break;
  985|      4|            }
  986|      8|            e++;
  987|      8|        }
  988|      4|    }
  989|      4|    Py_XDECREF(res);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|       |
  991|      4|    return 0;
  992|      4|}
textio.c:_textiowrapper_fix_encoder_state:
  996|     14|{
  997|     14|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (997:9): [True: 0, False: 14]
  |  Branch (997:28): [True: 10, False: 4]
  ------------------
  998|     10|        return 0;
  999|     10|    }
 1000|       |
 1001|      4|    self->encoding_start_of_stream = 1;
 1002|       |
 1003|      4|    PyObject *cookieObj = PyObject_CallMethodNoArgs(
 1004|      4|        self->buffer, &_Py_ID(tell));
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 4]
  ------------------
 1006|      0|        return -1;
 1007|      0|    }
 1008|       |
 1009|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1010|      4|    Py_DECREF(cookieObj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 4]
  ------------------
 1012|      0|        return -1;
 1013|      0|    }
 1014|       |
 1015|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1015:9): [True: 2, False: 2]
  ------------------
 1016|      2|        self->encoding_start_of_stream = 0;
 1017|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1018|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|      2|        if (res == NULL) {
  ------------------
  |  Branch (1019:13): [True: 0, False: 2]
  ------------------
 1020|      0|            return -1;
 1021|      0|        }
 1022|      2|        Py_DECREF(res);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|      2|    }
 1024|       |
 1025|      4|    return 0;
 1026|      4|}
textio.c:_io_TextIOWrapper_read_impl:
 1991|      4|{
 1992|      4|    PyObject *result = NULL, *chunks = NULL;
 1993|       |
 1994|      4|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|      4|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|      4|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|      4|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 1995|      4|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|      4|    do { \
  |  | 1510|      4|        int r; \
  |  | 1511|      4|        PyObject *_res; \
  |  | 1512|      4|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|      4|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 1514|      4|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|      4|            else { \
  |  | 1516|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1517|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1517:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1518|      0|                    return NULL; \
  |  | 1519|      0|                r = PyObject_IsTrue(_res); \
  |  | 1520|      0|                Py_DECREF(_res); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1521|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1521:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1522|      0|                    return NULL; \
  |  | 1523|      0|            } \
  |  | 1524|      4|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|      4|        } \
  |  | 1530|      4|        else if (_PyIOBase_check_closed((PyObject *)self, Py_True) == NULL) \
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1530:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|            return NULL; \
  |  | 1532|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1996|       |
 1997|      4|    if (self->decoder == NULL) {
  ------------------
  |  Branch (1997:9): [True: 0, False: 4]
  ------------------
 1998|      0|        return _unsupported(self->state, "not readable");
 1999|      0|    }
 2000|       |
 2001|      4|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (2001:9): [True: 0, False: 4]
  ------------------
 2002|      0|        return NULL;
 2003|       |
 2004|      4|    if (n < 0) {
  ------------------
  |  Branch (2004:9): [True: 4, False: 0]
  ------------------
 2005|       |        /* Read everything */
 2006|      4|        PyObject *bytes = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(read));
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      4|        PyObject *decoded;
 2008|      4|        if (bytes == NULL)
  ------------------
  |  Branch (2008:13): [True: 0, False: 4]
  ------------------
 2009|      0|            goto fail;
 2010|       |
 2011|      4|        if (bytes == Py_None){
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2011:13): [True: 0, False: 4]
  ------------------
 2012|      0|            Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2013|      0|            PyErr_SetString(PyExc_BlockingIOError, "Read returned None.");
 2014|      0|            return NULL;
 2015|      0|        }
 2016|       |
 2017|      4|        _PyIO_State *state = self->state;
 2018|      4|        if (Py_IS_TYPE(self->decoder, state->PyIncrementalNewlineDecoder_Type))
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 2019|      4|            decoded = _PyIncrementalNewlineDecoder_decode(self->decoder,
 2020|      4|                                                          bytes, 1);
 2021|      0|        else
 2022|      0|            decoded = PyObject_CallMethodObjArgs(
 2023|      0|                self->decoder, &_Py_ID(decode), bytes, Py_True, NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              self->decoder, &_Py_ID(decode), bytes, Py_True, NULL);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|      4|        Py_DECREF(bytes);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|      4|        if (check_decoded(decoded) < 0)
  ------------------
  |  Branch (2025:13): [True: 0, False: 4]
  ------------------
 2026|      0|            goto fail;
 2027|       |
 2028|      4|        result = textiowrapper_get_decoded_chars(self, -1);
 2029|       |
 2030|      4|        if (result == NULL) {
  ------------------
  |  Branch (2030:13): [True: 0, False: 4]
  ------------------
 2031|      0|            Py_DECREF(decoded);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|      0|            return NULL;
 2033|      0|        }
 2034|       |
 2035|      4|        PyUnicode_AppendAndDel(&result, decoded);
 2036|      4|        if (result == NULL)
  ------------------
  |  Branch (2036:13): [True: 0, False: 4]
  ------------------
 2037|      0|            goto fail;
 2038|       |
 2039|      4|        if (self->snapshot != NULL) {
  ------------------
  |  Branch (2039:13): [True: 0, False: 4]
  ------------------
 2040|      0|            textiowrapper_set_decoded_chars(self, NULL);
 2041|      0|            Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2042|      0|        }
 2043|      4|        return result;
 2044|      4|    }
 2045|      0|    else {
 2046|      0|        int res = 1;
 2047|      0|        Py_ssize_t remaining = n;
 2048|       |
 2049|      0|        result = textiowrapper_get_decoded_chars(self, n);
 2050|      0|        if (result == NULL)
  ------------------
  |  Branch (2050:13): [True: 0, False: 0]
  ------------------
 2051|      0|            goto fail;
 2052|      0|        remaining -= PyUnicode_GET_LENGTH(result);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|       |
 2054|       |        /* Keep reading chunks until we have n characters to return */
 2055|      0|        while (remaining > 0) {
  ------------------
  |  Branch (2055:16): [True: 0, False: 0]
  ------------------
 2056|      0|            res = textiowrapper_read_chunk(self, remaining);
 2057|      0|            if (res < 0) {
  ------------------
  |  Branch (2057:17): [True: 0, False: 0]
  ------------------
 2058|       |                /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals()
 2059|       |                   when EINTR occurs so we needn't do it ourselves. */
 2060|      0|                if (_PyIO_trap_eintr()) {
  ------------------
  |  Branch (2060:21): [True: 0, False: 0]
  ------------------
 2061|      0|                    continue;
 2062|      0|                }
 2063|      0|                goto fail;
 2064|      0|            }
 2065|      0|            if (res == 0)  /* EOF */
  ------------------
  |  Branch (2065:17): [True: 0, False: 0]
  ------------------
 2066|      0|                break;
 2067|      0|            if (chunks == NULL) {
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                chunks = PyList_New(0);
 2069|      0|                if (chunks == NULL)
  ------------------
  |  Branch (2069:21): [True: 0, False: 0]
  ------------------
 2070|      0|                    goto fail;
 2071|      0|            }
 2072|      0|            if (PyUnicode_GET_LENGTH(result) > 0 &&
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2072:17): [True: 0, False: 0]
  ------------------
 2073|      0|                PyList_Append(chunks, result) < 0)
  ------------------
  |  Branch (2073:17): [True: 0, False: 0]
  ------------------
 2074|      0|                goto fail;
 2075|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|      0|            result = textiowrapper_get_decoded_chars(self, remaining);
 2077|      0|            if (result == NULL)
  ------------------
  |  Branch (2077:17): [True: 0, False: 0]
  ------------------
 2078|      0|                goto fail;
 2079|      0|            remaining -= PyUnicode_GET_LENGTH(result);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|      0|        }
 2081|      0|        if (chunks != NULL) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 0]
  ------------------
 2082|      0|            if (result != NULL && PyList_Append(chunks, result) < 0)
  ------------------
  |  Branch (2082:17): [True: 0, False: 0]
  |  Branch (2082:35): [True: 0, False: 0]
  ------------------
 2083|      0|                goto fail;
 2084|      0|            _Py_DECLARE_STR(empty, "");
 2085|      0|            Py_XSETREF(result, PyUnicode_Join(&_Py_STR(empty), chunks));
  ------------------
  |  |  374|      0|    do { \
  |  |  375|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      0|        *_tmp_dst_ptr = (src); \
  |  |  378|      0|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2086|      0|            if (result == NULL)
  ------------------
  |  Branch (2086:17): [True: 0, False: 0]
  ------------------
 2087|      0|                goto fail;
 2088|      0|            Py_CLEAR(chunks);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2089|      0|        }
 2090|      0|        return result;
 2091|      0|    }
 2092|      0|  fail:
 2093|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|      0|    Py_XDECREF(chunks);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2095|       |    return NULL;
 2096|      4|}
textio.c:textiowrapper_get_decoded_chars:
 1821|      4|{
 1822|      4|    PyObject *chars;
 1823|      4|    Py_ssize_t avail;
 1824|       |
 1825|      4|    if (self->decoded_chars == NULL)
  ------------------
  |  Branch (1825:9): [True: 4, False: 0]
  ------------------
 1826|      4|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      4|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1827|       |
 1828|      0|    avail = (PyUnicode_GET_LENGTH(self->decoded_chars)
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|      0|             - self->decoded_chars_used);
 1830|       |
 1831|      0|    assert(avail >= 0);
 1832|       |
 1833|      0|    if (n < 0 || n > avail)
  ------------------
  |  Branch (1833:9): [True: 0, False: 0]
  |  Branch (1833:18): [True: 0, False: 0]
  ------------------
 1834|      0|        n = avail;
 1835|       |
 1836|      0|    if (self->decoded_chars_used > 0 || n < avail) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 0]
  |  Branch (1836:41): [True: 0, False: 0]
  ------------------
 1837|      0|        chars = PyUnicode_Substring(self->decoded_chars,
 1838|      0|                                    self->decoded_chars_used,
 1839|      0|                                    self->decoded_chars_used + n);
 1840|      0|        if (chars == NULL)
  ------------------
  |  Branch (1840:13): [True: 0, False: 0]
  ------------------
 1841|      0|            return NULL;
 1842|      0|    }
 1843|      0|    else {
 1844|      0|        chars = Py_NewRef(self->decoded_chars);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1845|      0|    }
 1846|       |
 1847|      0|    self->decoded_chars_used += n;
 1848|      0|    return chars;
 1849|      0|}
textio.c:_io_TextIOWrapper_flush_impl:
 3124|      8|{
 3125|      8|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|      8|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|      8|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|      8|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 8]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3126|      8|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|      8|    do { \
  |  | 1510|      8|        int r; \
  |  | 1511|      8|        PyObject *_res; \
  |  | 1512|      8|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|      8|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 8, False: 0]
  |  |  ------------------
  |  | 1514|      8|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|      8|            else { \
  |  | 1516|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1517|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1517:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1518|      0|                    return NULL; \
  |  | 1519|      0|                r = PyObject_IsTrue(_res); \
  |  | 1520|      0|                Py_DECREF(_res); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1521|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1521:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1522|      0|                    return NULL; \
  |  | 1523|      0|            } \
  |  | 1524|      8|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 8]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|      8|        } \
  |  | 1530|      8|        else if (_PyIOBase_check_closed((PyObject *)self, Py_True) == NULL) \
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1530:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|            return NULL; \
  |  | 1532|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3127|      8|    self->telling = self->seekable;
 3128|      8|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (3128:9): [True: 0, False: 8]
  ------------------
 3129|      0|        return NULL;
 3130|      8|    return PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(flush));
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|      8|}
textio.c:_io_TextIOWrapper_close_impl:
 3141|      8|{
 3142|      8|    PyObject *res;
 3143|      8|    int r;
 3144|      8|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|      8|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|      8|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|      8|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 8]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3145|       |
 3146|      8|    res = _io_TextIOWrapper_closed_get_impl(self);
 3147|      8|    if (res == NULL)
  ------------------
  |  Branch (3147:9): [True: 0, False: 8]
  ------------------
 3148|      0|        return NULL;
 3149|      8|    r = PyObject_IsTrue(res);
 3150|      8|    Py_DECREF(res);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|      8|    if (r < 0)
  ------------------
  |  Branch (3151:9): [True: 0, False: 8]
  ------------------
 3152|      0|        return NULL;
 3153|       |
 3154|      8|    if (r > 0) {
  ------------------
  |  Branch (3154:9): [True: 0, False: 8]
  ------------------
 3155|      0|        Py_RETURN_NONE; /* stream already closed */
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3156|      0|    }
 3157|      8|    if (self->detached) {
  ------------------
  |  Branch (3157:9): [True: 0, False: 8]
  ------------------
 3158|      0|        Py_RETURN_NONE; /* gh-142594 null pointer issue */
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3159|      0|    }
 3160|      8|    else {
 3161|      8|        PyObject *exc = NULL;
 3162|      8|        if (self->finalizing) {
  ------------------
  |  Branch (3162:13): [True: 0, False: 8]
  ------------------
 3163|      0|            res = PyObject_CallMethodOneArg(self->buffer, &_Py_ID(_dealloc_warn),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3164|      0|                                            (PyObject *)self);
 3165|      0|            if (res) {
  ------------------
  |  Branch (3165:17): [True: 0, False: 0]
  ------------------
 3166|      0|                Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|      0|            }
 3168|      0|            else {
 3169|      0|                PyErr_Clear();
 3170|      0|            }
 3171|      0|        }
 3172|      8|        if (_PyFile_Flush((PyObject *)self) < 0) {
  ------------------
  |  Branch (3172:13): [True: 0, False: 8]
  ------------------
 3173|      0|            exc = PyErr_GetRaisedException();
 3174|      0|        }
 3175|       |
 3176|      8|        res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(close));
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3177|      8|        if (exc != NULL) {
  ------------------
  |  Branch (3177:13): [True: 0, False: 8]
  ------------------
 3178|      0|            _PyErr_ChainExceptions1(exc);
 3179|       |            Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3180|      0|        }
 3181|      8|        return res;
 3182|      8|    }
 3183|      8|}
textio.c:_io_TextIOWrapper___init___impl:
 1108|     14|{
 1109|     14|    PyObject *raw, *codec_info = NULL;
 1110|     14|    PyObject *res;
 1111|     14|    int r;
 1112|       |
 1113|     14|    self->ok = 0;
 1114|     14|    self->detached = 0;
 1115|       |
 1116|     14|    if (encoding == NULL) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 14]
  ------------------
 1117|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1118|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (1118:13): [True: 0, False: 0]
  ------------------
 1119|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (1119:17): [True: 0, False: 0]
  ------------------
 1120|      0|                             "'encoding' argument not specified", 1)) {
 1121|      0|                return -1;
 1122|      0|            }
 1123|      0|        }
 1124|      0|    }
 1125|       |
 1126|     14|    if (errors == Py_None) {
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1126:9): [True: 8, False: 6]
  ------------------
 1127|      8|        errors = &_Py_ID(strict);
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      8|    }
 1129|      6|    else if (!PyUnicode_Check(errors)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1129:14): [True: 0, False: 6]
  ------------------
 1130|       |        // Check 'errors' argument here because Argument Clinic doesn't support
 1131|       |        // 'str(accept={str, NoneType})' converter.
 1132|      0|        PyErr_Format(
 1133|      0|            PyExc_TypeError,
 1134|      0|            "TextIOWrapper() argument 'errors' must be str or None, not %.50s",
 1135|      0|            Py_TYPE(errors)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      0|        return -1;
 1137|      0|    }
 1138|      6|    else if (io_check_errors(errors)) {
  ------------------
  |  Branch (1138:14): [True: 0, False: 6]
  ------------------
 1139|      0|        return -1;
 1140|      0|    }
 1141|     14|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1142|     14|    if (errors_str == NULL) {
  ------------------
  |  Branch (1142:9): [True: 0, False: 14]
  ------------------
 1143|      0|        return -1;
 1144|      0|    }
 1145|       |
 1146|     14|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1146:9): [True: 0, False: 14]
  ------------------
 1147|      0|        return -1;
 1148|      0|    }
 1149|       |
 1150|     14|    Py_CLEAR(self->buffer);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1151|     14|    Py_CLEAR(self->encoding);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1152|     14|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1153|     14|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1154|     14|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1155|     14|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1156|     14|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1157|     14|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1158|     14|    Py_CLEAR(self->errors);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1159|     14|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1160|     14|    self->decoded_chars_used = 0;
 1161|     14|    self->pending_bytes_count = 0;
 1162|     14|    self->encodefunc = NULL;
 1163|     14|    self->b2cratio = 0.0;
 1164|       |
 1165|     14|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 14]
  |  Branch (1165:29): [True: 0, False: 0]
  ------------------
 1166|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1167|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|      0|    }
 1169|     14|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1169:14): [True: 0, False: 14]
  |  Branch (1169:34): [True: 0, False: 14]
  ------------------
 1170|      0|        self->encoding = _Py_GetLocaleEncodingObject();
 1171|      0|        if (self->encoding == NULL) {
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|            goto error;
 1173|      0|        }
 1174|      0|        assert(PyUnicode_Check(self->encoding));
 1175|      0|    }
 1176|       |
 1177|     14|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1177:9): [True: 0, False: 14]
  ------------------
 1178|      0|        encoding = PyUnicode_AsUTF8(self->encoding);
 1179|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1179:13): [True: 0, False: 0]
  ------------------
 1180|      0|            goto error;
 1181|      0|    }
 1182|     14|    else if (encoding != NULL) {
  ------------------
  |  Branch (1182:14): [True: 14, False: 0]
  ------------------
 1183|     14|        self->encoding = PyUnicode_FromString(encoding);
 1184|     14|        if (self->encoding == NULL)
  ------------------
  |  Branch (1184:13): [True: 0, False: 14]
  ------------------
 1185|      0|            goto error;
 1186|     14|    }
 1187|      0|    else {
 1188|      0|        PyErr_SetString(PyExc_OSError,
 1189|      0|                        "could not determine default encoding");
 1190|      0|        goto error;
 1191|      0|    }
 1192|       |
 1193|       |    /* Check we have been asked for a real text encoding */
 1194|     14|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1195|     14|    if (codec_info == NULL) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 14]
  ------------------
 1196|      0|        Py_CLEAR(self->encoding);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1197|      0|        goto error;
 1198|      0|    }
 1199|       |
 1200|       |    /* XXX: Failures beyond this point have the potential to leak elements
 1201|       |     * of the partially constructed object (like self->encoding)
 1202|       |     */
 1203|       |
 1204|     14|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|     14|    self->chunk_size = 8192;
 1206|     14|    self->line_buffering = line_buffering;
 1207|     14|    self->write_through = write_through;
 1208|     14|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1208:9): [True: 0, False: 14]
  ------------------
 1209|      0|        goto error;
 1210|      0|    }
 1211|       |
 1212|     14|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|       |
 1214|       |    /* Build the decoder object */
 1215|     14|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|     14|    self->state = state;
 1217|     14|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1217:9): [True: 0, False: 14]
  ------------------
 1218|      0|        goto error;
 1219|       |
 1220|       |    /* Build the encoder object */
 1221|     14|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1221:9): [True: 0, False: 14]
  ------------------
 1222|      0|        goto error;
 1223|       |
 1224|       |    /* Finished sorting out the codec details */
 1225|     14|    Py_CLEAR(codec_info);
  ------------------
  |  |  484|     14|    do { \
  |  |  485|     14|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     14|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     14|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  488|     14|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     14|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     14|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     14|        } \
  |  |  491|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1226|       |
 1227|     14|    if (Py_IS_TYPE(buffer, state->PyBufferedReader_Type) ||
  ------------------
  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 10, False: 4]
  |  |  ------------------
  ------------------
 1228|      4|        Py_IS_TYPE(buffer, state->PyBufferedWriter_Type) ||
  ------------------
  |  |  215|     18|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1229|      0|        Py_IS_TYPE(buffer, state->PyBufferedRandom_Type))
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1230|     14|    {
 1231|     14|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1231:13): [True: 0, False: 14]
  ------------------
 1232|      0|            goto error;
 1233|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1234|     14|        if (raw != NULL) {
  ------------------
  |  Branch (1234:13): [True: 14, False: 0]
  ------------------
 1235|     14|            if (Py_IS_TYPE(raw, state->PyFileIO_Type))
  ------------------
  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  ------------------
  ------------------
 1236|     14|                self->raw = raw;
 1237|      0|            else
 1238|      0|                Py_DECREF(raw);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|     14|        }
 1240|     14|    }
 1241|       |
 1242|     14|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|     14|    if (res == NULL)
  ------------------
  |  Branch (1243:9): [True: 0, False: 14]
  ------------------
 1244|      0|        goto error;
 1245|     14|    r = PyObject_IsTrue(res);
 1246|     14|    Py_DECREF(res);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|     14|    if (r < 0)
  ------------------
  |  Branch (1247:9): [True: 0, False: 14]
  ------------------
 1248|      0|        goto error;
 1249|     14|    self->seekable = self->telling = r;
 1250|       |
 1251|     14|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1252|     14|    if (r < 0) {
  ------------------
  |  Branch (1252:9): [True: 0, False: 14]
  ------------------
 1253|      0|        goto error;
 1254|      0|    }
 1255|     14|    self->has_read1 = r;
 1256|       |
 1257|     14|    self->encoding_start_of_stream = 0;
 1258|     14|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 14]
  ------------------
 1259|      0|        goto error;
 1260|      0|    }
 1261|       |
 1262|     14|    self->ok = 1;
 1263|     14|    return 0;
 1264|       |
 1265|      0|  error:
 1266|      0|    Py_XDECREF(codec_info);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1267|      0|    return -1;
 1268|     14|}
textio.c:io_check_errors:
 1030|      6|{
 1031|      6|    assert(errors != NULL && errors != Py_None);
 1032|       |
 1033|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1034|      6|#ifndef Py_DEBUG
 1035|       |    /* In release mode, only check in development mode (-X dev) */
 1036|      6|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (1036:9): [True: 6, False: 0]
  ------------------
 1037|      6|        return 0;
 1038|      6|    }
 1039|       |#else
 1040|       |    /* Always check in debug mode */
 1041|       |#endif
 1042|       |
 1043|       |    /* Avoid calling PyCodec_LookupError() before the codec registry is ready:
 1044|       |       before_PyUnicode_InitEncodings() is called. */
 1045|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (1045:9): [True: 0, False: 0]
  ------------------
 1046|      0|        return 0;
 1047|      0|    }
 1048|       |
 1049|      0|    const char *name = _PyUnicode_AsUTF8NoNUL(errors);
 1050|      0|    if (name == NULL) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 0]
  ------------------
 1051|      0|        return -1;
 1052|      0|    }
 1053|      0|    PyObject *handler = PyCodec_LookupError(name);
 1054|      0|    if (handler != NULL) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 0]
  ------------------
 1055|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|      0|        return 0;
 1057|      0|    }
 1058|      0|    return -1;
 1059|      0|}

PyInit__locale:
 1098|      2|{
 1099|      2|    return PyModuleDef_Init(&_localemodule);
 1100|      2|}
_localemodule.c:get_locale_state:
   42|     18|{
   43|     18|    void *state = PyModule_GetState(m);
   44|       |    assert(state != NULL);
   45|     18|    return (_locale_state *)state;
   46|     18|}
_localemodule.c:_locale_exec:
 1006|      2|{
 1007|      2|#ifdef HAVE_LANGINFO_H
 1008|      2|    int i;
 1009|      2|#endif
 1010|      2|#define ADD_INT(module, value)                                    \
 1011|      2|    do {                                                          \
 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
 1013|      2|            return -1;                                            \
 1014|      2|        }                                                         \
 1015|      2|    } while (0)
 1016|       |
 1017|      2|    ADD_INT(module, LC_CTYPE);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1018|      2|    ADD_INT(module, LC_TIME);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1019|      2|    ADD_INT(module, LC_COLLATE);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1020|      2|    ADD_INT(module, LC_MONETARY);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1021|       |
 1022|      2|#ifdef LC_MESSAGES
 1023|      2|    ADD_INT(module, LC_MESSAGES);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1024|      2|#endif /* LC_MESSAGES */
 1025|       |
 1026|      2|    ADD_INT(module, LC_NUMERIC);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1027|      2|    ADD_INT(module, LC_ALL);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1028|      2|    ADD_INT(module, CHAR_MAX);
  ------------------
  |  | 1011|      2|    do {                                                          \
  |  | 1012|      2|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1012:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1013|      0|            return -1;                                            \
  |  | 1014|      0|        }                                                         \
  |  | 1015|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1015:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1029|       |
 1030|      2|    _locale_state *state = get_locale_state(module);
 1031|      2|    state->Error = PyErr_NewException("locale.Error", NULL, NULL);
 1032|      2|    if (PyModule_AddObjectRef(module, "Error", state->Error) < 0) {
  ------------------
  |  Branch (1032:9): [True: 0, False: 2]
  ------------------
 1033|      0|        return -1;
 1034|      0|    }
 1035|       |
 1036|      2|#ifdef HAVE_LANGINFO_H
 1037|    114|    for (i = 0; langinfo_constants[i].name; i++) {
  ------------------
  |  Branch (1037:17): [True: 112, False: 2]
  ------------------
 1038|    112|        if (PyModule_AddIntConstant(module,
  ------------------
  |  Branch (1038:13): [True: 0, False: 112]
  ------------------
 1039|    112|                                    langinfo_constants[i].name,
 1040|    112|                                    langinfo_constants[i].value) < 0) {
 1041|      0|            return -1;
 1042|      0|        }
 1043|    112|    }
 1044|      2|#endif
 1045|       |
 1046|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1046:9): [True: 0, False: 2]
  ------------------
 1047|      0|        return -1;
 1048|      0|    }
 1049|      2|    return 0;
 1050|       |
 1051|      2|#undef ADD_INT
 1052|      2|}
_localemodule.c:locale_traverse:
 1064|     16|{
 1065|     16|    _locale_state *state = get_locale_state(module);
 1066|     16|    Py_VISIT(state->Error);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1067|     16|    return 0;
 1068|     16|}

PyInit__opcode:
  448|      2|{
  449|      2|    return PyModuleDef_Init(&opcodemodule);
  450|      2|}
_opcode.c:_opcode_has_arg_impl:
  101|    308|{
  102|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_ARG(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_ARG(opcode);
  ------------------
  |  | 1074|    308|#define OPCODE_HAS_ARG(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_ARG_FLAG))
  |  |  ------------------
  |  |  |  | 1055|    308|#define HAS_ARG_FLAG (1)
  |  |  ------------------
  |  |  |  Branch (1074:28): [True: 206, False: 102]
  |  |  ------------------
  ------------------
  103|    308|}
_opcode.c:_opcode_has_const_impl:
  117|    308|{
  118|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_CONST(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_CONST(opcode);
  ------------------
  |  | 1075|    308|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|    308|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 2, False: 306]
  |  |  ------------------
  ------------------
  119|    308|}
_opcode.c:_opcode_has_name_impl:
  133|    308|{
  134|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_NAME(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_NAME(opcode);
  ------------------
  |  | 1076|    308|#define OPCODE_HAS_NAME(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_NAME_FLAG))
  |  |  ------------------
  |  |  |  | 1057|    308|#define HAS_NAME_FLAG (4)
  |  |  ------------------
  |  |  |  Branch (1076:29): [True: 28, False: 280]
  |  |  ------------------
  ------------------
  135|    308|}
_opcode.c:_opcode_has_jump_impl:
  149|    308|{
  150|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_JUMP(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_JUMP(opcode);
  ------------------
  |  | 1077|    308|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|    308|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 32, False: 276]
  |  |  ------------------
  ------------------
  151|    308|}
_opcode.c:_opcode_has_free_impl:
  170|    308|{
  171|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_FREE(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_FREE(opcode);
  ------------------
  |  | 1078|    308|#define OPCODE_HAS_FREE(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_FREE_FLAG))
  |  |  ------------------
  |  |  |  | 1059|    308|#define HAS_FREE_FLAG (16)
  |  |  ------------------
  |  |  |  Branch (1078:29): [True: 8, False: 300]
  |  |  ------------------
  ------------------
  172|    308|}
_opcode.c:_opcode_has_local_impl:
  186|    308|{
  187|    308|    return IS_VALID_OPCODE(opcode) && OPCODE_HAS_LOCAL(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && OPCODE_HAS_LOCAL(opcode);
  ------------------
  |  | 1079|    308|#define OPCODE_HAS_LOCAL(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_LOCAL_FLAG))
  |  |  ------------------
  |  |  |  | 1060|    308|#define HAS_LOCAL_FLAG (32)
  |  |  ------------------
  |  |  |  Branch (1079:30): [True: 26, False: 282]
  |  |  ------------------
  ------------------
  188|    308|}
_opcode.c:_opcode_has_exc_impl:
  202|    308|{
  203|    308|    return IS_VALID_OPCODE(opcode) && IS_BLOCK_PUSH_OPCODE(opcode);
  ------------------
  |  | 1052|    616|    (((OP) >= 0) && ((OP) < 267) && \
  |  |  ------------------
  |  |  |  Branch (1052:6): [True: 308, False: 0]
  |  |  |  Branch (1052:21): [True: 308, False: 0]
  |  |  ------------------
  |  | 1053|    616|     (_PyOpcode_opcode_metadata[(OP)].valid_entry))
  |  |  ------------------
  |  |  |  Branch (1053:6): [True: 308, False: 0]
  |  |  ------------------
  ------------------
                  return IS_VALID_OPCODE(opcode) && IS_BLOCK_PUSH_OPCODE(opcode);
  ------------------
  |  |   18|    308|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|    616|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 2, False: 306]
  |  |  ------------------
  |  |   19|    308|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|    614|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 2, False: 304]
  |  |  ------------------
  |  |   20|    308|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|    304|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 2, False: 302]
  |  |  ------------------
  ------------------
  204|    308|}
_opcode.c:_opcode_get_nb_ops_impl:
  236|      2|{
  237|      2|    PyObject *list = PyList_New(NB_OPARG_LAST + 1);
  ------------------
  |  |   38|      2|#define NB_OPARG_LAST                           26
  ------------------
  238|      2|    if (list == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 2]
  ------------------
  239|      0|        return NULL;
  240|      0|    }
  241|      2|#define ADD_NB_OP(NUM, STR) \
  242|      2|    do { \
  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  244|      2|        if (pair == NULL) { \
  245|      2|            Py_DECREF(list); \
  246|      2|            return NULL; \
  247|      2|        } \
  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  249|      2|    } while(0);
  250|       |
  251|      2|    ADD_NB_OP(NB_ADD, "+");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  252|      2|    ADD_NB_OP(NB_AND, "&");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  253|      2|    ADD_NB_OP(NB_FLOOR_DIVIDE, "//");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  254|      2|    ADD_NB_OP(NB_LSHIFT, "<<");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  255|      2|    ADD_NB_OP(NB_MATRIX_MULTIPLY, "@");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  256|      2|    ADD_NB_OP(NB_MULTIPLY, "*");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  257|      2|    ADD_NB_OP(NB_REMAINDER, "%");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  258|      2|    ADD_NB_OP(NB_OR, "|");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  259|      2|    ADD_NB_OP(NB_POWER, "**");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  260|      2|    ADD_NB_OP(NB_RSHIFT, ">>");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  261|      2|    ADD_NB_OP(NB_SUBTRACT, "-");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  262|      2|    ADD_NB_OP(NB_TRUE_DIVIDE, "/");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  263|      2|    ADD_NB_OP(NB_XOR, "^");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  264|      2|    ADD_NB_OP(NB_INPLACE_ADD, "+=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  265|      2|    ADD_NB_OP(NB_INPLACE_AND, "&=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  266|      2|    ADD_NB_OP(NB_INPLACE_FLOOR_DIVIDE, "//=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  267|      2|    ADD_NB_OP(NB_INPLACE_LSHIFT, "<<=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  268|      2|    ADD_NB_OP(NB_INPLACE_MATRIX_MULTIPLY, "@=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  269|      2|    ADD_NB_OP(NB_INPLACE_MULTIPLY, "*=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  270|      2|    ADD_NB_OP(NB_INPLACE_REMAINDER, "%=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  271|      2|    ADD_NB_OP(NB_INPLACE_OR, "|=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  272|      2|    ADD_NB_OP(NB_INPLACE_POWER, "**=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  273|      2|    ADD_NB_OP(NB_INPLACE_RSHIFT, ">>=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  274|      2|    ADD_NB_OP(NB_INPLACE_SUBTRACT, "-=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  275|      2|    ADD_NB_OP(NB_INPLACE_TRUE_DIVIDE, "/=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  276|      2|    ADD_NB_OP(NB_INPLACE_XOR, "^=");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  277|      2|    ADD_NB_OP(NB_SUBSCR, "[]");
  ------------------
  |  |  242|      2|    do { \
  |  |  243|      2|        PyObject *pair = Py_BuildValue("ss", #NUM, STR); \
  |  |  244|      2|        if (pair == NULL) { \
  |  |  ------------------
  |  |  |  Branch (244:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  245|      0|            Py_DECREF(list); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|      0|            return NULL; \
  |  |  247|      0|        } \
  |  |  248|      2|        PyList_SET_ITEM(list, (NUM), pair); \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      2|    } while(0);
  |  |  ------------------
  |  |  |  Branch (249:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  278|       |
  279|      2|#undef ADD_NB_OP
  280|       |
  281|     56|    for(int i = 0; i <= NB_OPARG_LAST; i++) {
  ------------------
  |  |   38|     56|#define NB_OPARG_LAST                           26
  ------------------
  |  Branch (281:20): [True: 54, False: 2]
  ------------------
  282|     54|        if (PyList_GET_ITEM(list, i) == NULL) {
  ------------------
  |  |   40|     54|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     54|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (282:13): [True: 0, False: 54]
  ------------------
  283|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      0|            PyErr_Format(PyExc_ValueError,
  285|      0|                         "Missing initialization for NB_OP %d",
  286|      0|                         i);
  287|      0|            return NULL;
  288|      0|        }
  289|     54|    }
  290|      2|    return list;
  291|      2|}
_opcode.c:_opcode_get_intrinsic1_descs_impl:
  303|      2|{
  304|      2|    PyObject *list = PyList_New(MAX_INTRINSIC_1 + 1);
  ------------------
  |  |   23|      2|#define MAX_INTRINSIC_1                         12
  ------------------
  305|      2|    if (list == NULL) {
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      0|        return NULL;
  307|      0|    }
  308|     28|    for (int i=0; i <= MAX_INTRINSIC_1; i++) {
  ------------------
  |  |   23|     28|#define MAX_INTRINSIC_1                         12
  ------------------
  |  Branch (308:19): [True: 26, False: 2]
  ------------------
  309|     26|        PyObject *name = _PyCompile_GetUnaryIntrinsicName(i);
  310|     26|        if (name == NULL) {
  ------------------
  |  Branch (310:13): [True: 0, False: 26]
  ------------------
  311|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|      0|            return NULL;
  313|      0|        }
  314|     26|        PyList_SET_ITEM(list, i, name);
  ------------------
  |  |   50|     26|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|     26|    }
  316|      2|    return list;
  317|      2|}
_opcode.c:_opcode_get_intrinsic2_descs_impl:
  330|      2|{
  331|      2|    PyObject *list = PyList_New(MAX_INTRINSIC_2 + 1);
  ------------------
  |  |   34|      2|#define MAX_INTRINSIC_2                          5
  ------------------
  332|      2|    if (list == NULL) {
  ------------------
  |  Branch (332:9): [True: 0, False: 2]
  ------------------
  333|      0|        return NULL;
  334|      0|    }
  335|     14|    for (int i=0; i <= MAX_INTRINSIC_2; i++) {
  ------------------
  |  |   34|     14|#define MAX_INTRINSIC_2                          5
  ------------------
  |  Branch (335:19): [True: 12, False: 2]
  ------------------
  336|     12|        PyObject *name = _PyCompile_GetBinaryIntrinsicName(i);
  337|     12|        if (name == NULL) {
  ------------------
  |  Branch (337:13): [True: 0, False: 12]
  ------------------
  338|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|      0|            return NULL;
  340|      0|        }
  341|     12|        PyList_SET_ITEM(list, i, name);
  ------------------
  |  |   50|     12|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  342|     12|    }
  343|      2|    return list;
  344|      2|}
_opcode.c:_opcode_get_special_method_names_impl:
  356|      2|{
  357|      2|    PyObject *list = PyList_New(SPECIAL_MAX + 1);
  ------------------
  |  |  406|      2|#define SPECIAL_MAX   3
  ------------------
  358|      2|    if (list == NULL) {
  ------------------
  |  Branch (358:9): [True: 0, False: 2]
  ------------------
  359|      0|        return NULL;
  360|      0|    }
  361|     10|    for (int i=0; i <= SPECIAL_MAX; i++) {
  ------------------
  |  |  406|     10|#define SPECIAL_MAX   3
  ------------------
  |  Branch (361:19): [True: 8, False: 2]
  ------------------
  362|      8|        PyObject *name = _Py_SpecialMethods[i].name;
  363|      8|        if (name == NULL) {
  ------------------
  |  Branch (363:13): [True: 0, False: 8]
  ------------------
  364|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|      0|            return NULL;
  366|      0|        }
  367|      8|        PyList_SET_ITEM(list, i, name);
  ------------------
  |  |   50|      8|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|      8|    }
  369|      2|    return list;
  370|      2|}
_opcode.c:_opcode_exec:
  422|      2|_opcode_exec(PyObject *m) {
  423|      2|    if (PyModule_AddIntMacro(m, ENABLE_SPECIALIZATION) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (423:9): [True: 0, False: 2]
  ------------------
  424|      0|        return -1;
  425|      0|    }
  426|      2|    return 0;
  427|      2|}

PyInit__operator:
 2031|      2|{
 2032|      2|    return PyModuleDef_Init(&operatormodule);
 2033|      2|}
_operator.c:_operator_index:
  700|    204|{
  701|    204|    return PyNumber_Index(a);
  702|    204|}
_operator.c:_operator_eq_impl:
  593|      8|{
  594|      8|    return PyObject_RichCompare(a, b, Py_EQ);
  ------------------
  |  |  654|      8|#define Py_EQ 2
  ------------------
  595|      8|}
_operator.c:operator_exec:
 1953|      2|{
 1954|      2|    _operator_state *state = get_operator_state(module);
 1955|      2|    state->attrgetter_type = PyType_FromModuleAndSpec(module, &attrgetter_type_spec, NULL);
 1956|      2|    if (state->attrgetter_type == NULL) {
  ------------------
  |  Branch (1956:9): [True: 0, False: 2]
  ------------------
 1957|      0|        return -1;
 1958|      0|    }
 1959|      2|    if (PyModule_AddType(module, (PyTypeObject *)state->attrgetter_type) < 0) {
  ------------------
  |  Branch (1959:9): [True: 0, False: 2]
  ------------------
 1960|      0|        return -1;
 1961|      0|    }
 1962|       |
 1963|      2|    state->itemgetter_type = PyType_FromModuleAndSpec(module, &itemgetter_type_spec, NULL);
 1964|      2|    if (state->itemgetter_type == NULL) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 2]
  ------------------
 1965|      0|        return -1;
 1966|      0|    }
 1967|      2|    if (PyModule_AddType(module, (PyTypeObject *)state->itemgetter_type) < 0) {
  ------------------
  |  Branch (1967:9): [True: 0, False: 2]
  ------------------
 1968|      0|        return -1;
 1969|      0|    }
 1970|       |
 1971|      2|    state->methodcaller_type = PyType_FromModuleAndSpec(module, &methodcaller_type_spec, NULL);
 1972|      2|    if (state->methodcaller_type == NULL) {
  ------------------
  |  Branch (1972:9): [True: 0, False: 2]
  ------------------
 1973|      0|        return -1;
 1974|      0|    }
 1975|      2|    if (PyModule_AddType(module, (PyTypeObject *)state->methodcaller_type) < 0) {
  ------------------
  |  Branch (1975:9): [True: 0, False: 2]
  ------------------
 1976|      0|        return -1;
 1977|      0|    }
 1978|       |
 1979|      2|    return 0;
 1980|      2|}
_operator.c:get_operator_state:
   20|     14|{
   21|     14|    void *state = _PyModule_GetState(module);
   22|       |    assert(state != NULL);
   23|     14|    return (_operator_state *)state;
   24|     14|}
_operator.c:attrgetter_call_impl:
 1457|      6|{
 1458|      6|    PyObject *result;
 1459|      6|    Py_ssize_t i, nattrs=ag->nattrs;
 1460|       |
 1461|      6|    if (ag->nattrs == 1) {
  ------------------
  |  Branch (1461:9): [True: 6, False: 0]
  ------------------
 1462|       |        /* ag->attr is always a tuple */
 1463|      6|        return dotted_getattr(obj, PyTuple_GET_ITEM(ag->attr, 0));
  ------------------
  |  |   29|      6|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1464|      6|    }
 1465|       |
 1466|      6|    assert(PyTuple_Check(ag->attr));
 1467|      0|    assert(PyTuple_GET_SIZE(ag->attr) == nattrs);
 1468|       |
 1469|      0|    result = PyTuple_New(nattrs);
 1470|      0|    if (result == NULL)
  ------------------
  |  Branch (1470:9): [True: 0, False: 0]
  ------------------
 1471|      0|        return NULL;
 1472|       |
 1473|      0|    for (i=0 ; i < nattrs ; i++) {
  ------------------
  |  Branch (1473:16): [True: 0, False: 0]
  ------------------
 1474|      0|        PyObject *attr, *val;
 1475|      0|        attr = PyTuple_GET_ITEM(ag->attr, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|        val = dotted_getattr(obj, attr);
 1477|      0|        if (val == NULL) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 0]
  ------------------
 1478|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|      0|            return NULL;
 1480|      0|        }
 1481|      0|        PyTuple_SET_ITEM(result, i, val);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      0|    }
 1483|      0|    return result;
 1484|      0|}
_operator.c:dotted_getattr:
 1398|      6|{
 1399|      6|    PyObject *newobj;
 1400|       |
 1401|       |    /* attr is either a tuple or instance of str.
 1402|       |       Ensured by the setup code of attrgetter_new */
 1403|      6|    if (PyTuple_CheckExact(attr)) { /* chained getattr */
  ------------------
  |  |   28|      6|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      0|        Py_ssize_t name_idx = 0, name_count;
 1405|      0|        PyObject *attr_name;
 1406|       |
 1407|      0|        name_count = PyTuple_GET_SIZE(attr);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|      0|        Py_INCREF(obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|      0|        for (name_idx = 0; name_idx < name_count; ++name_idx) {
  ------------------
  |  Branch (1409:28): [True: 0, False: 0]
  ------------------
 1410|      0|            attr_name = PyTuple_GET_ITEM(attr, name_idx);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1411|      0|            newobj = PyObject_GetAttr(obj, attr_name);
 1412|      0|            Py_DECREF(obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1413|      0|            if (newobj == NULL) {
  ------------------
  |  Branch (1413:17): [True: 0, False: 0]
  ------------------
 1414|      0|                return NULL;
 1415|      0|            }
 1416|       |            /* here */
 1417|      0|            obj = newobj;
 1418|      0|        }
 1419|      6|    } else { /* single getattr */
 1420|      6|        newobj = PyObject_GetAttr(obj, attr);
 1421|      6|        if (newobj == NULL)
  ------------------
  |  Branch (1421:13): [True: 0, False: 6]
  ------------------
 1422|      0|            return NULL;
 1423|      6|        obj = newobj;
 1424|      6|    }
 1425|       |
 1426|      6|    return obj;
 1427|      6|}
_operator.c:attrgetter_traverse:
 1389|     16|{
 1390|     16|    attrgetterobject *ag = attrgetterobject_CAST(op);
  ------------------
  |  | 1252|     16|#define attrgetterobject_CAST(op)   ((attrgetterobject *)(op))
  ------------------
 1391|     16|    Py_VISIT(ag->attr);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1392|     16|    Py_VISIT(Py_TYPE(ag));
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1393|     16|    return 0;
 1394|     16|}
_operator.c:attrgetter_new:
 1263|      2|{
 1264|      2|    attrgetterobject *ag;
 1265|      2|    PyObject *attr;
 1266|      2|    Py_ssize_t nattrs, idx, char_idx;
 1267|       |
 1268|      2|    if (!_PyArg_NoKeywords("attrgetter", kwds))
  ------------------
  |  |   25|      2|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 2, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1269|      0|        return NULL;
 1270|       |
 1271|      2|    nattrs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      2|    if (nattrs <= 1) {
  ------------------
  |  Branch (1272:9): [True: 2, False: 0]
  ------------------
 1273|      2|        if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr))
  ------------------
  |  Branch (1273:13): [True: 0, False: 2]
  ------------------
 1274|      0|            return NULL;
 1275|      2|    }
 1276|       |
 1277|      2|    attr = PyTuple_New(nattrs);
 1278|      2|    if (attr == NULL)
  ------------------
  |  Branch (1278:9): [True: 0, False: 2]
  ------------------
 1279|      0|        return NULL;
 1280|       |
 1281|       |    /* prepare attr while checking args */
 1282|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1283|      4|    for (idx = 0; idx < nattrs; ++idx) {
  ------------------
  |  Branch (1283:19): [True: 2, False: 2]
  ------------------
 1284|      2|        PyObject *item = PyTuple_GET_ITEM(args, idx);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1285|      2|        int dot_count;
 1286|       |
 1287|      2|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1287:13): [True: 0, False: 2]
  ------------------
 1288|      0|            PyErr_SetString(PyExc_TypeError,
 1289|      0|                            "attribute name must be a string");
 1290|      0|            Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1291|      0|            return NULL;
 1292|      0|        }
 1293|      2|        Py_ssize_t item_len = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|      2|        int kind = PyUnicode_KIND(item);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1295|      2|        const void *data = PyUnicode_DATA(item);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|       |
 1297|       |        /* check whether the string is dotted */
 1298|      2|        dot_count = 0;
 1299|     34|        for (char_idx = 0; char_idx < item_len; ++char_idx) {
  ------------------
  |  Branch (1299:28): [True: 32, False: 2]
  ------------------
 1300|     32|            if (PyUnicode_READ(kind, data, char_idx) == '.')
  ------------------
  |  |  354|     32|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     32|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     32|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     32|                   (index))
  ------------------
  |  Branch (1300:17): [True: 0, False: 32]
  ------------------
 1301|      0|                ++dot_count;
 1302|     32|        }
 1303|       |
 1304|      2|        if (dot_count == 0) {
  ------------------
  |  Branch (1304:13): [True: 2, False: 0]
  ------------------
 1305|      2|            Py_INCREF(item);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|      2|            _PyUnicode_InternMortal(interp, &item);
 1307|      2|            PyTuple_SET_ITEM(attr, idx, item);
  ------------------
  |  |   40|      2|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|      2|        } else { /* make it a tuple of non-dotted attrnames */
 1309|      0|            PyObject *attr_chain = PyTuple_New(dot_count + 1);
 1310|      0|            PyObject *attr_chain_item;
 1311|      0|            Py_ssize_t unibuff_from = 0;
 1312|      0|            Py_ssize_t unibuff_till = 0;
 1313|      0|            Py_ssize_t attr_chain_idx = 0;
 1314|       |
 1315|      0|            if (attr_chain == NULL) {
  ------------------
  |  Branch (1315:17): [True: 0, False: 0]
  ------------------
 1316|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|      0|                return NULL;
 1318|      0|            }
 1319|       |
 1320|      0|            for (; dot_count > 0; --dot_count) {
  ------------------
  |  Branch (1320:20): [True: 0, False: 0]
  ------------------
 1321|      0|                while (PyUnicode_READ(kind, data, unibuff_till) != '.') {
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (1321:24): [True: 0, False: 0]
  ------------------
 1322|      0|                    ++unibuff_till;
 1323|      0|                }
 1324|      0|                attr_chain_item = PyUnicode_Substring(item,
 1325|      0|                                      unibuff_from,
 1326|      0|                                      unibuff_till);
 1327|      0|                if (attr_chain_item == NULL) {
  ------------------
  |  Branch (1327:21): [True: 0, False: 0]
  ------------------
 1328|      0|                    Py_DECREF(attr_chain);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1329|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|      0|                    return NULL;
 1331|      0|                }
 1332|      0|                _PyUnicode_InternMortal(interp, &attr_chain_item);
 1333|      0|                PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      0|                ++attr_chain_idx;
 1335|      0|                unibuff_till = unibuff_from = unibuff_till + 1;
 1336|      0|            }
 1337|       |
 1338|       |            /* now add the last dotless name */
 1339|      0|            attr_chain_item = PyUnicode_Substring(item,
 1340|      0|                                                  unibuff_from, item_len);
 1341|      0|            if (attr_chain_item == NULL) {
  ------------------
  |  Branch (1341:17): [True: 0, False: 0]
  ------------------
 1342|      0|                Py_DECREF(attr_chain);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      0|                return NULL;
 1345|      0|            }
 1346|      0|            _PyUnicode_InternMortal(interp, &attr_chain_item);
 1347|      0|            PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|       |
 1349|      0|            PyTuple_SET_ITEM(attr, idx, attr_chain);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|      0|        }
 1351|      2|    }
 1352|       |
 1353|      2|    _operator_state *state = _PyType_GetModuleState(type);
 1354|       |    /* create attrgetterobject structure */
 1355|      2|    ag = PyObject_GC_New(attrgetterobject, (PyTypeObject *)state->attrgetter_type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1356|      2|    if (ag == NULL) {
  ------------------
  |  Branch (1356:9): [True: 0, False: 2]
  ------------------
 1357|      0|        Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|      0|        return NULL;
 1359|      0|    }
 1360|       |
 1361|      2|    ag->attr = attr;
 1362|      2|    ag->nattrs = nattrs;
 1363|      2|    ag->vectorcall = attrgetter_vectorcall;
 1364|       |
 1365|      2|    PyObject_GC_Track(ag);
 1366|      2|    return (PyObject *)ag;
 1367|      2|}
_operator.c:attrgetter_vectorcall:
 1443|      6|{
 1444|      6|    if (!_PyArg_NoKwnames("attrgetter", kwnames)) {
  ------------------
  |  |   15|      6|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 6, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1445|      0|        return NULL;
 1446|      0|    }
 1447|      6|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      6|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1448|      6|    if (!_PyArg_CheckPositional("attrgetter", nargs, 1, 1)) {
  ------------------
  |  |   31|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6, False: 0]
  |  |  |  Branch (31:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   32|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|        return NULL;
 1450|      0|    }
 1451|      6|    attrgetterobject *ag = attrgetterobject_CAST(op);
  ------------------
  |  | 1252|      6|#define attrgetterobject_CAST(op)   ((attrgetterobject *)(op))
  ------------------
 1452|      6|    return attrgetter_call_impl(ag, args[0]);
 1453|      6|}
_operator.c:itemgetter_traverse:
 1101|     48|{
 1102|     48|    itemgetterobject *ig = itemgetterobject_CAST(op);
  ------------------
  |  | 1024|     48|#define itemgetterobject_CAST(op)   ((itemgetterobject *)(op))
  ------------------
 1103|     48|    Py_VISIT(Py_TYPE(ig));
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1104|     48|    Py_VISIT(ig->item);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1105|     48|    return 0;
 1106|     48|}
_operator.c:itemgetter_new:
 1035|      6|{
 1036|      6|    itemgetterobject *ig;
 1037|      6|    PyObject *item;
 1038|      6|    Py_ssize_t nitems;
 1039|      6|    Py_ssize_t index;
 1040|       |
 1041|      6|    if (!_PyArg_NoKeywords("itemgetter", kwds))
  ------------------
  |  |   25|      6|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 6, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1042|      0|        return NULL;
 1043|       |
 1044|      6|    nitems = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      6|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      6|    if (nitems <= 1) {
  ------------------
  |  Branch (1045:9): [True: 6, False: 0]
  ------------------
 1046|      6|        if (!PyArg_UnpackTuple(args, "itemgetter", 1, 1, &item))
  ------------------
  |  Branch (1046:13): [True: 0, False: 6]
  ------------------
 1047|      0|            return NULL;
 1048|      6|    } else {
 1049|      0|        item = args;
 1050|      0|    }
 1051|      6|    _operator_state *state = _PyType_GetModuleState(type);
 1052|       |    /* create itemgetterobject structure */
 1053|      6|    ig = PyObject_GC_New(itemgetterobject, (PyTypeObject *) state->itemgetter_type);
  ------------------
  |  |  181|      6|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1054|      6|    if (ig == NULL) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 6]
  ------------------
 1055|      0|        return NULL;
 1056|      0|    }
 1057|       |
 1058|      6|    ig->item = Py_NewRef(item);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|      6|    ig->nitems = nitems;
 1060|      6|    ig->index = -1;
 1061|      6|    if (PyLong_CheckExact(item)) {
  ------------------
  |  |   14|      6|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|      2|        index = PyLong_AsSsize_t(item);
 1063|      2|        if (index < 0) {
  ------------------
  |  Branch (1063:13): [True: 0, False: 2]
  ------------------
 1064|       |            /* If we get here, then either the index conversion failed
 1065|       |             * due to being out of range, or the index was a negative
 1066|       |             * integer.  Either way, we clear any possible exception
 1067|       |             * and fall back to the slow path, where ig->index is -1.
 1068|       |             */
 1069|      0|            PyErr_Clear();
 1070|      0|        }
 1071|      2|        else {
 1072|      2|            ig->index = index;
 1073|      2|        }
 1074|      2|    }
 1075|       |
 1076|      6|    ig->vectorcall = itemgetter_vectorcall;
 1077|      6|    PyObject_GC_Track(ig);
 1078|      6|    return (PyObject *)ig;
 1079|      6|}
_operator.c:operator_traverse:
 1993|     12|{
 1994|     12|    _operator_state *state = get_operator_state(module);
 1995|     12|    Py_VISIT(state->attrgetter_type);
  ------------------
  |  |  194|     12|    do {                                                                \
  |  |  195|     12|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12, False: 0]
  |  |  ------------------
  |  |  196|     12|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     12|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12]
  |  |  ------------------
  |  |  198|     12|                return vret;                                            \
  |  |  199|     12|        }                                                               \
  |  |  200|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1996|     12|    Py_VISIT(state->itemgetter_type);
  ------------------
  |  |  194|     12|    do {                                                                \
  |  |  195|     12|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12, False: 0]
  |  |  ------------------
  |  |  196|     12|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     12|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12]
  |  |  ------------------
  |  |  198|     12|                return vret;                                            \
  |  |  199|     12|        }                                                               \
  |  |  200|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1997|     12|    Py_VISIT(state->methodcaller_type);
  ------------------
  |  |  194|     12|    do {                                                                \
  |  |  195|     12|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12, False: 0]
  |  |  ------------------
  |  |  196|     12|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     12|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12]
  |  |  ------------------
  |  |  198|     12|                return vret;                                            \
  |  |  199|     12|        }                                                               \
  |  |  200|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1998|     12|    return 0;
 1999|     12|}

sre.c:_sre_compile:
 1073|    104|{
 1074|    104|    PyObject *return_value = NULL;
 1075|    104|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1076|       |
 1077|    104|    #define NUM_KEYWORDS 6
 1078|    104|    static struct {
 1079|    104|        PyGC_Head _this_is_not_used;
 1080|    104|        PyObject_VAR_HEAD
 1081|    104|        Py_hash_t ob_hash;
 1082|    104|        PyObject *ob_item[NUM_KEYWORDS];
 1083|    104|    } _kwtuple = {
 1084|    104|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    104|    {                                     \
  |  |   98|    104|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    104|    {                               \
  |  |  |  |   91|    104|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    104|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    104|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    104|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    104|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    104|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    104|        (type)                      \
  |  |  |  |   93|    104|    },
  |  |  ------------------
  |  |   99|    104|        (size)                            \
  |  |  100|    104|    },
  ------------------
 1085|    104|        .ob_hash = -1,
 1086|    104|        .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  919|    104|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|    104|    };
 1088|    104|    #undef NUM_KEYWORDS
 1089|    104|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1090|       |
 1091|       |    #else  // !Py_BUILD_CORE
 1092|       |    #  define KWTUPLE NULL
 1093|       |    #endif  // !Py_BUILD_CORE
 1094|       |
 1095|    104|    static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
 1096|    104|    static _PyArg_Parser _parser = {
 1097|    104|        .keywords = _keywords,
 1098|    104|        .fname = "compile",
 1099|    104|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1089|    104|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1100|    104|    };
 1101|    104|    #undef KWTUPLE
 1102|    104|    PyObject *argsbuf[6];
 1103|    104|    PyObject *pattern;
 1104|    104|    int flags;
 1105|    104|    PyObject *code;
 1106|    104|    Py_ssize_t groups;
 1107|    104|    PyObject *groupindex;
 1108|    104|    PyObject *indexgroup;
 1109|       |
 1110|    104|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    104|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 104, False: 0]
  |  |  ------------------
  |  |   89|    104|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 104, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 104]
  |  |  |  Branch (89:43): [True: 104, False: 0]
  |  |  |  Branch (89:67): [True: 104, False: 0]
  |  |  ------------------
  |  |   90|    104|      (args) : \
  |  |   91|    104|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1111|    104|            /*minpos*/ 6, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1112|    104|    if (!args) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 104]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|    104|    pattern = args[0];
 1116|    104|    flags = PyLong_AsInt(args[1]);
 1117|    104|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 104]
  |  Branch (1117:24): [True: 0, False: 0]
  ------------------
 1118|      0|        goto exit;
 1119|      0|    }
 1120|    104|    if (!PyList_Check(args[2])) {
  ------------------
  |  |   25|    104|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1120:9): [True: 0, False: 104]
  ------------------
 1121|      0|        _PyArg_BadArgument("compile", "argument 'code'", "list", args[2]);
 1122|      0|        goto exit;
 1123|      0|    }
 1124|    104|    code = args[2];
 1125|    104|    {
 1126|    104|        Py_ssize_t ival = -1;
 1127|    104|        PyObject *iobj = _PyNumber_Index(args[3]);
 1128|    104|        if (iobj != NULL) {
  ------------------
  |  Branch (1128:13): [True: 104, False: 0]
  ------------------
 1129|    104|            ival = PyLong_AsSsize_t(iobj);
 1130|    104|            Py_DECREF(iobj);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|    104|        }
 1132|    104|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1132:13): [True: 0, False: 104]
  |  Branch (1132:27): [True: 0, False: 0]
  ------------------
 1133|      0|            goto exit;
 1134|      0|        }
 1135|    104|        groups = ival;
 1136|    104|    }
 1137|    104|    if (!PyDict_Check(args[4])) {
  ------------------
  |  |   18|    104|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1137:9): [True: 0, False: 104]
  ------------------
 1138|      0|        _PyArg_BadArgument("compile", "argument 'groupindex'", "dict", args[4]);
 1139|      0|        goto exit;
 1140|      0|    }
 1141|    104|    groupindex = args[4];
 1142|    104|    if (!PyTuple_Check(args[5])) {
  ------------------
  |  |   27|    104|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1142:9): [True: 0, False: 104]
  ------------------
 1143|      0|        _PyArg_BadArgument("compile", "argument 'indexgroup'", "tuple", args[5]);
 1144|      0|        goto exit;
 1145|      0|    }
 1146|    104|    indexgroup = args[5];
 1147|    104|    return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup);
 1148|       |
 1149|    104|exit:
 1150|    104|    return return_value;
 1151|    104|}
sre.c:_sre_unicode_iscased:
   84|    174|{
   85|    174|    PyObject *return_value = NULL;
   86|    174|    int character;
   87|    174|    int _return_value;
   88|       |
   89|    174|    character = PyLong_AsInt(arg);
   90|    174|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (90:9): [True: 0, False: 174]
  |  Branch (90:28): [True: 0, False: 0]
  ------------------
   91|      0|        goto exit;
   92|      0|    }
   93|    174|    _return_value = _sre_unicode_iscased_impl(module, character);
   94|    174|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (94:9): [True: 0, False: 174]
  |  Branch (94:34): [True: 0, False: 0]
  ------------------
   95|      0|        goto exit;
   96|      0|    }
   97|    174|    return_value = PyBool_FromLong((long)_return_value);
   98|       |
   99|    174|exit:
  100|    174|    return return_value;
  101|    174|}
sre.c:_sre_unicode_tolower:
  148|    232|{
  149|    232|    PyObject *return_value = NULL;
  150|    232|    int character;
  151|    232|    int _return_value;
  152|       |
  153|    232|    character = PyLong_AsInt(arg);
  154|    232|    if (character == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (154:9): [True: 0, False: 232]
  |  Branch (154:28): [True: 0, False: 0]
  ------------------
  155|      0|        goto exit;
  156|      0|    }
  157|    232|    _return_value = _sre_unicode_tolower_impl(module, character);
  158|    232|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (158:9): [True: 0, False: 232]
  |  Branch (158:34): [True: 0, False: 0]
  ------------------
  159|      0|        goto exit;
  160|      0|    }
  161|    232|    return_value = PyLong_FromLong((long)_return_value);
  162|       |
  163|    232|exit:
  164|    232|    return return_value;
  165|    232|}
sre.c:_sre_SRE_Pattern_prefixmatch:
  183|     58|{
  184|     58|    PyObject *return_value = NULL;
  185|     58|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  186|       |
  187|     58|    #define NUM_KEYWORDS 3
  188|     58|    static struct {
  189|     58|        PyGC_Head _this_is_not_used;
  190|     58|        PyObject_VAR_HEAD
  191|     58|        Py_hash_t ob_hash;
  192|     58|        PyObject *ob_item[NUM_KEYWORDS];
  193|     58|    } _kwtuple = {
  194|     58|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     58|    {                                     \
  |  |   98|     58|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     58|    {                               \
  |  |  |  |   91|     58|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     58|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     58|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     58|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     58|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     58|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     58|        (type)                      \
  |  |  |  |   93|     58|    },
  |  |  ------------------
  |  |   99|     58|        (size)                            \
  |  |  100|     58|    },
  ------------------
  195|     58|        .ob_hash = -1,
  196|     58|        .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|     58|    };
  198|     58|    #undef NUM_KEYWORDS
  199|     58|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  200|       |
  201|       |    #else  // !Py_BUILD_CORE
  202|       |    #  define KWTUPLE NULL
  203|       |    #endif  // !Py_BUILD_CORE
  204|       |
  205|     58|    static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
  206|     58|    static _PyArg_Parser _parser = {
  207|     58|        .keywords = _keywords,
  208|     58|        .fname = "prefixmatch",
  209|     58|        .kwtuple = KWTUPLE,
  ------------------
  |  |  199|     58|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  210|     58|    };
  211|     58|    #undef KWTUPLE
  212|     58|    PyObject *argsbuf[3];
  213|     58|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (213:36): [True: 0, False: 58]
  ------------------
  214|     58|    PyObject *string;
  215|     58|    Py_ssize_t pos = 0;
  216|     58|    Py_ssize_t endpos = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     58|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  217|       |
  218|     58|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     58|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 58, False: 0]
  |  |  ------------------
  |  |   89|     58|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 58, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 58]
  |  |  |  Branch (89:43): [True: 58, False: 0]
  |  |  |  Branch (89:67): [True: 58, False: 0]
  |  |  ------------------
  |  |   90|     58|      (args) : \
  |  |   91|     58|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  219|     58|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  220|     58|    if (!args) {
  ------------------
  |  Branch (220:9): [True: 0, False: 58]
  ------------------
  221|      0|        goto exit;
  222|      0|    }
  223|     58|    string = args[0];
  224|     58|    if (!noptargs) {
  ------------------
  |  Branch (224:9): [True: 50, False: 8]
  ------------------
  225|     50|        goto skip_optional_pos;
  226|     50|    }
  227|      8|    if (args[1]) {
  ------------------
  |  Branch (227:9): [True: 8, False: 0]
  ------------------
  228|      8|        {
  229|      8|            Py_ssize_t ival = -1;
  230|      8|            PyObject *iobj = _PyNumber_Index(args[1]);
  231|      8|            if (iobj != NULL) {
  ------------------
  |  Branch (231:17): [True: 8, False: 0]
  ------------------
  232|      8|                ival = PyLong_AsSsize_t(iobj);
  233|      8|                Py_DECREF(iobj);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      8|            }
  235|      8|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (235:17): [True: 0, False: 8]
  |  Branch (235:31): [True: 0, False: 0]
  ------------------
  236|      0|                goto exit;
  237|      0|            }
  238|      8|            pos = ival;
  239|      8|        }
  240|      8|        if (!--noptargs) {
  ------------------
  |  Branch (240:13): [True: 8, False: 0]
  ------------------
  241|      8|            goto skip_optional_pos;
  242|      8|        }
  243|      8|    }
  244|      0|    {
  245|      0|        Py_ssize_t ival = -1;
  246|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  247|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (247:13): [True: 0, False: 0]
  ------------------
  248|      0|            ival = PyLong_AsSsize_t(iobj);
  249|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      0|        }
  251|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (251:13): [True: 0, False: 0]
  |  Branch (251:27): [True: 0, False: 0]
  ------------------
  252|      0|            goto exit;
  253|      0|        }
  254|      0|        endpos = ival;
  255|      0|    }
  256|     58|skip_optional_pos:
  257|     58|    return_value = _sre_SRE_Pattern_prefixmatch_impl((PatternObject *)self, cls, string, pos, endpos);
  258|       |
  259|     58|exit:
  260|     58|    return return_value;
  261|     58|}
sre.c:_sre_SRE_Pattern_search:
  377|      2|{
  378|      2|    PyObject *return_value = NULL;
  379|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  380|       |
  381|      2|    #define NUM_KEYWORDS 3
  382|      2|    static struct {
  383|      2|        PyGC_Head _this_is_not_used;
  384|      2|        PyObject_VAR_HEAD
  385|      2|        Py_hash_t ob_hash;
  386|      2|        PyObject *ob_item[NUM_KEYWORDS];
  387|      2|    } _kwtuple = {
  388|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  389|      2|        .ob_hash = -1,
  390|      2|        .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      2|    };
  392|      2|    #undef NUM_KEYWORDS
  393|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  394|       |
  395|       |    #else  // !Py_BUILD_CORE
  396|       |    #  define KWTUPLE NULL
  397|       |    #endif  // !Py_BUILD_CORE
  398|       |
  399|      2|    static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
  400|      2|    static _PyArg_Parser _parser = {
  401|      2|        .keywords = _keywords,
  402|      2|        .fname = "search",
  403|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  393|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  404|      2|    };
  405|      2|    #undef KWTUPLE
  406|      2|    PyObject *argsbuf[3];
  407|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (407:36): [True: 0, False: 2]
  ------------------
  408|      2|    PyObject *string;
  409|      2|    Py_ssize_t pos = 0;
  410|      2|    Py_ssize_t endpos = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  411|       |
  412|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  413|      2|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  414|      2|    if (!args) {
  ------------------
  |  Branch (414:9): [True: 0, False: 2]
  ------------------
  415|      0|        goto exit;
  416|      0|    }
  417|      2|    string = args[0];
  418|      2|    if (!noptargs) {
  ------------------
  |  Branch (418:9): [True: 2, False: 0]
  ------------------
  419|      2|        goto skip_optional_pos;
  420|      2|    }
  421|      0|    if (args[1]) {
  ------------------
  |  Branch (421:9): [True: 0, False: 0]
  ------------------
  422|      0|        {
  423|      0|            Py_ssize_t ival = -1;
  424|      0|            PyObject *iobj = _PyNumber_Index(args[1]);
  425|      0|            if (iobj != NULL) {
  ------------------
  |  Branch (425:17): [True: 0, False: 0]
  ------------------
  426|      0|                ival = PyLong_AsSsize_t(iobj);
  427|      0|                Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      0|            }
  429|      0|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (429:17): [True: 0, False: 0]
  |  Branch (429:31): [True: 0, False: 0]
  ------------------
  430|      0|                goto exit;
  431|      0|            }
  432|      0|            pos = ival;
  433|      0|        }
  434|      0|        if (!--noptargs) {
  ------------------
  |  Branch (434:13): [True: 0, False: 0]
  ------------------
  435|      0|            goto skip_optional_pos;
  436|      0|        }
  437|      0|    }
  438|      0|    {
  439|      0|        Py_ssize_t ival = -1;
  440|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  441|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|            ival = PyLong_AsSsize_t(iobj);
  443|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|      0|        }
  445|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (445:13): [True: 0, False: 0]
  |  Branch (445:27): [True: 0, False: 0]
  ------------------
  446|      0|            goto exit;
  447|      0|        }
  448|      0|        endpos = ival;
  449|      0|    }
  450|      2|skip_optional_pos:
  451|      2|    return_value = _sre_SRE_Pattern_search_impl((PatternObject *)self, cls, string, pos, endpos);
  452|       |
  453|      2|exit:
  454|      2|    return return_value;
  455|      2|}
sre.c:_sre_SRE_Match_end:
 1433|      8|{
 1434|      8|    PyObject *return_value = NULL;
 1435|      8|    PyObject *group = NULL;
 1436|      8|    Py_ssize_t _return_value;
 1437|       |
 1438|      8|    if (!_PyArg_CheckPositional("end", nargs, 0, 1)) {
  ------------------
  |  |   31|      8|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 8, False: 0]
  |  |  |  Branch (31:27): [True: 8, False: 0]
  |  |  ------------------
  |  |   32|      8|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1439|      0|        goto exit;
 1440|      0|    }
 1441|      8|    if (nargs < 1) {
  ------------------
  |  Branch (1441:9): [True: 8, False: 0]
  ------------------
 1442|      8|        goto skip_optional;
 1443|      8|    }
 1444|      0|    group = args[0];
 1445|      8|skip_optional:
 1446|      8|    _return_value = _sre_SRE_Match_end_impl((MatchObject *)self, group);
 1447|      8|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1447:9): [True: 0, False: 8]
  |  Branch (1447:34): [True: 0, False: 0]
  ------------------
 1448|      0|        goto exit;
 1449|      0|    }
 1450|      8|    return_value = PyLong_FromSsize_t(_return_value);
 1451|       |
 1452|      8|exit:
 1453|      8|    return return_value;
 1454|      8|}
sre.c:_sre_SRE_Match_groups:
 1267|      2|{
 1268|      2|    PyObject *return_value = NULL;
 1269|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1270|       |
 1271|      2|    #define NUM_KEYWORDS 1
 1272|      2|    static struct {
 1273|      2|        PyGC_Head _this_is_not_used;
 1274|      2|        PyObject_VAR_HEAD
 1275|      2|        Py_hash_t ob_hash;
 1276|      2|        PyObject *ob_item[NUM_KEYWORDS];
 1277|      2|    } _kwtuple = {
 1278|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 1279|      2|        .ob_hash = -1,
 1280|      2|        .ob_item = { &_Py_ID(default), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|      2|    };
 1282|      2|    #undef NUM_KEYWORDS
 1283|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1284|       |
 1285|       |    #else  // !Py_BUILD_CORE
 1286|       |    #  define KWTUPLE NULL
 1287|       |    #endif  // !Py_BUILD_CORE
 1288|       |
 1289|      2|    static const char * const _keywords[] = {"default", NULL};
 1290|      2|    static _PyArg_Parser _parser = {
 1291|      2|        .keywords = _keywords,
 1292|      2|        .fname = "groups",
 1293|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1283|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1294|      2|    };
 1295|      2|    #undef KWTUPLE
 1296|      2|    PyObject *argsbuf[1];
 1297|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1297:36): [True: 0, False: 2]
  ------------------
 1298|      2|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1299|       |
 1300|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1301|      2|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1302|      2|    if (!args) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 2]
  ------------------
 1303|      0|        goto exit;
 1304|      0|    }
 1305|      2|    if (!noptargs) {
  ------------------
  |  Branch (1305:9): [True: 2, False: 0]
  ------------------
 1306|      2|        goto skip_optional_pos;
 1307|      2|    }
 1308|      0|    default_value = args[0];
 1309|      2|skip_optional_pos:
 1310|      2|    return_value = _sre_SRE_Match_groups_impl((MatchObject *)self, default_value);
 1311|       |
 1312|      2|exit:
 1313|      2|    return return_value;
 1314|      2|}
sre.c:_sre_SRE_Match_groupdict:
 1333|      8|{
 1334|      8|    PyObject *return_value = NULL;
 1335|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1336|       |
 1337|      8|    #define NUM_KEYWORDS 1
 1338|      8|    static struct {
 1339|      8|        PyGC_Head _this_is_not_used;
 1340|      8|        PyObject_VAR_HEAD
 1341|      8|        Py_hash_t ob_hash;
 1342|      8|        PyObject *ob_item[NUM_KEYWORDS];
 1343|      8|    } _kwtuple = {
 1344|      8|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      8|    {                                     \
  |  |   98|      8|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      8|    {                               \
  |  |  |  |   91|      8|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      8|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      8|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      8|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      8|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      8|        (type)                      \
  |  |  |  |   93|      8|    },
  |  |  ------------------
  |  |   99|      8|        (size)                            \
  |  |  100|      8|    },
  ------------------
 1345|      8|        .ob_hash = -1,
 1346|      8|        .ob_item = { &_Py_ID(default), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      8|    };
 1348|      8|    #undef NUM_KEYWORDS
 1349|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1350|       |
 1351|       |    #else  // !Py_BUILD_CORE
 1352|       |    #  define KWTUPLE NULL
 1353|       |    #endif  // !Py_BUILD_CORE
 1354|       |
 1355|      8|    static const char * const _keywords[] = {"default", NULL};
 1356|      8|    static _PyArg_Parser _parser = {
 1357|      8|        .keywords = _keywords,
 1358|      8|        .fname = "groupdict",
 1359|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1349|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1360|      8|    };
 1361|      8|    #undef KWTUPLE
 1362|      8|    PyObject *argsbuf[1];
 1363|      8|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1363:36): [True: 0, False: 8]
  ------------------
 1364|      8|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1365|       |
 1366|      8|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      8|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 8, False: 0]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8]
  |  |  |  Branch (89:43): [True: 8, False: 0]
  |  |  |  Branch (89:67): [True: 8, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |   91|      8|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1367|      8|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1368|      8|    if (!args) {
  ------------------
  |  Branch (1368:9): [True: 0, False: 8]
  ------------------
 1369|      0|        goto exit;
 1370|      0|    }
 1371|      8|    if (!noptargs) {
  ------------------
  |  Branch (1371:9): [True: 8, False: 0]
  ------------------
 1372|      8|        goto skip_optional_pos;
 1373|      8|    }
 1374|      0|    default_value = args[0];
 1375|      8|skip_optional_pos:
 1376|      8|    return_value = _sre_SRE_Match_groupdict_impl((MatchObject *)self, default_value);
 1377|       |
 1378|      8|exit:
 1379|      8|    return return_value;
 1380|      8|}

PyInit__sre:
 3483|      2|{
 3484|      2|    return PyModuleDef_Init(&sremodule);
 3485|      2|}
sre.c:_sre_compile_impl:
 1634|    104|{
 1635|       |    /* "compile" pattern descriptor to pattern object */
 1636|       |
 1637|    104|    _sremodulestate *module_state = get_sre_module_state(module);
 1638|    104|    PatternObject* self;
 1639|    104|    Py_ssize_t i, n;
 1640|       |
 1641|    104|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   38|    104|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|       |    /* coverity[ampersand_in_size] */
 1643|    104|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|    104|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1644|    104|    if (!self)
  ------------------
  |  Branch (1644:9): [True: 0, False: 104]
  ------------------
 1645|      0|        return NULL;
 1646|    104|    self->weakreflist = NULL;
 1647|    104|    self->pattern = NULL;
 1648|    104|    self->groupindex = NULL;
 1649|    104|    self->indexgroup = NULL;
 1650|       |#ifdef Py_DEBUG
 1651|       |    self->fail_after_count = -1;
 1652|       |    self->fail_after_exc = NULL;
 1653|       |#endif
 1654|       |
 1655|    104|    self->codesize = n;
 1656|       |
 1657|  7.53k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1657:17): [True: 7.42k, False: 104]
  ------------------
 1658|  7.42k|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|  7.42k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  7.42k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1659|  7.42k|        unsigned long value = PyLong_AsUnsignedLong(o);
 1660|  7.42k|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1660:13): [True: 0, False: 7.42k]
  |  Branch (1660:43): [True: 0, False: 0]
  ------------------
 1661|      0|            break;
 1662|      0|        }
 1663|  7.42k|        self->code[i] = (SRE_CODE) value;
 1664|  7.42k|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1664:13): [True: 0, False: 7.42k]
  ------------------
 1665|      0|            PyErr_SetString(PyExc_OverflowError,
 1666|      0|                            "regular expression code size limit exceeded");
 1667|      0|            break;
 1668|      0|        }
 1669|  7.42k|    }
 1670|    104|    PyObject_GC_Track(self);
 1671|       |
 1672|    104|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1672:9): [True: 0, False: 104]
  ------------------
 1673|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|      0|        return NULL;
 1675|      0|    }
 1676|       |
 1677|    104|    if (pattern == Py_None) {
  ------------------
  |  |  616|    104|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1677:9): [True: 0, False: 104]
  ------------------
 1678|      0|        self->isbytes = -1;
 1679|      0|    }
 1680|    104|    else {
 1681|    104|        Py_ssize_t p_length;
 1682|    104|        int charsize;
 1683|    104|        Py_buffer view;
 1684|    104|        view.buf = NULL;
 1685|    104|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1685:13): [True: 0, False: 104]
  ------------------
 1686|    104|                       &charsize, &view)) {
 1687|      0|            Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      0|            return NULL;
 1689|      0|        }
 1690|    104|        if (view.buf)
  ------------------
  |  Branch (1690:13): [True: 14, False: 90]
  ------------------
 1691|     14|            PyBuffer_Release(&view);
 1692|    104|    }
 1693|       |
 1694|    104|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  550|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|       |
 1696|    104|    self->flags = flags;
 1697|       |
 1698|    104|    self->groups = groups;
 1699|       |
 1700|    104|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   63|    104|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1700:9): [True: 18, False: 86]
  ------------------
 1701|     18|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|     18|        if (PyTuple_GET_SIZE(indexgroup) > 0) {
  ------------------
  |  |   27|     18|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1702:13): [True: 18, False: 0]
  ------------------
 1703|     18|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|     18|        }
 1705|     18|    }
 1706|       |
 1707|    104|    if (!_validate(self)) {
  ------------------
  |  Branch (1707:9): [True: 0, False: 104]
  ------------------
 1708|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1709|      0|        return NULL;
 1710|      0|    }
 1711|       |
 1712|    104|    return (PyObject*) self;
 1713|    104|}
sre.c:get_sre_module_state:
  388|    182|{
  389|    182|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  390|       |    assert(state);
  391|    182|    return state;
  392|    182|}
sre.c:getstring:
  506|    208|{
  507|       |    /* given a python object, return a data pointer, a length (in
  508|       |       characters), and a character size.  return NULL if the object
  509|       |       is not a string (or not compatible) */
  510|       |
  511|       |    /* Unicode objects do not support the buffer API. So, get the data
  512|       |       directly instead. */
  513|    208|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  103|    208|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    208|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 178, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|    178|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  299|    178|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|    178|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  258|    178|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    178|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  516|    178|        *p_isbytes = 0;
  517|    178|        return PyUnicode_DATA(string);
  ------------------
  |  |  284|    178|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|    178|    }
  519|       |
  520|       |    /* get pointer to byte string buffer */
  521|     30|    if (PyObject_GetBuffer(string, view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     30|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (521:9): [True: 0, False: 30]
  ------------------
  522|      0|        PyErr_Format(PyExc_TypeError, "expected string or bytes-like "
  523|      0|                     "object, got '%.200s'", Py_TYPE(string)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|       |
  527|     30|    *p_length = view->len;
  528|     30|    *p_charsize = 1;
  529|     30|    *p_isbytes = 1;
  530|       |
  531|     30|    if (view->buf == NULL) {
  ------------------
  |  Branch (531:9): [True: 0, False: 30]
  ------------------
  532|      0|        PyErr_SetString(PyExc_ValueError, "Buffer is NULL");
  533|      0|        PyBuffer_Release(view);
  534|      0|        view->buf = NULL;
  535|      0|        return NULL;
  536|      0|    }
  537|     30|    return view->buf;
  538|     30|}
sre.c:_validate:
 2259|    104|{
 2260|    104|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2260:9): [True: 0, False: 104]
  ------------------
 2261|      0|    {
 2262|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2263|      0|        return 0;
 2264|      0|    }
 2265|    104|    else
 2266|    104|        VTRACE(("Success!\n"));
  ------------------
  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  ------------------
  ------------------
 2267|    104|    return 1;
 2268|    104|}
sre.c:_validate_outer:
 2250|    104|{
 2251|    104|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|    208|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2251:9): [True: 0, False: 104]
  |  Branch (2251:23): [True: 0, False: 104]
  ------------------
 2252|    104|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|    104|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2252:9): [True: 0, False: 104]
  |  Branch (2252:24): [True: 0, False: 104]
  ------------------
 2253|      0|        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2254|    104|    return _validate_inner(code, end-1, groups);
 2255|    104|}
sre.c:_validate_inner:
 1934|    600|{
 1935|       |    /* Some variables are manipulated by the macros above */
 1936|    600|    SRE_CODE op;
  ------------------
  |  |   18|    600|#define SRE_CODE Py_UCS4
  ------------------
 1937|    600|    SRE_CODE arg;
  ------------------
  |  |   18|    600|#define SRE_CODE Py_UCS4
  ------------------
 1938|    600|    SRE_CODE skip;
  ------------------
  |  |   18|    600|#define SRE_CODE Py_UCS4
  ------------------
 1939|       |
 1940|    600|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1811|    600|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 600]
  |  |  ------------------
  ------------------
 1941|       |
 1942|    600|    if (code > end)
  ------------------
  |  Branch (1942:9): [True: 0, False: 600]
  ------------------
 1943|      0|        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1944|       |
 1945|  2.19k|    while (code < end) {
  ------------------
  |  Branch (1945:12): [True: 1.59k, False: 600]
  ------------------
 1946|  1.59k|        GET_OP;
  ------------------
  |  | 1819|  1.59k|    do {                                                \
  |  | 1820|  1.59k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|  1.59k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|  1.59k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 1.59k]
  |  |  ------------------
  |  | 1822|  1.59k|        op = *code++;                                   \
  |  | 1823|  1.59k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|  1.59k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|  1.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 1.59k]
  |  |  ------------------
  ------------------
 1947|  1.59k|        switch (op) {
 1948|       |
 1949|    380|        case SRE_OP_MARK:
  ------------------
  |  |   32|    380|#define SRE_OP_MARK 17
  ------------------
  |  Branch (1949:9): [True: 380, False: 1.21k]
  ------------------
 1950|       |            /* We don't check whether marks are properly nested; the
 1951|       |               sre_match() code is robust even if they don't, and the worst
 1952|       |               you can get is nonsensical match results. */
 1953|    380|            GET_ARG;
  ------------------
  |  | 1826|    380|    do {                                                \
  |  | 1827|    380|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    380|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    380|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 380]
  |  |  ------------------
  |  | 1829|    380|        arg = *code++;                                  \
  |  | 1830|    380|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    380|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    380|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 380]
  |  |  ------------------
  ------------------
 1954|    380|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (1954:17): [True: 0, False: 380]
  ------------------
 1955|      0|                VTRACE(("arg=%d, groups=%d\n", (int)arg, (int)groups));
  ------------------
  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1956|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1957|      0|            }
 1958|    380|            break;
 1959|       |
 1960|    380|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|    262|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (1960:9): [True: 262, False: 1.33k]
  ------------------
 1961|    270|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|    270|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (1961:9): [True: 8, False: 1.58k]
  ------------------
 1962|    270|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|    270|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (1962:9): [True: 0, False: 1.59k]
  ------------------
 1963|    270|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|    270|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (1963:9): [True: 0, False: 1.59k]
  ------------------
 1964|    304|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|    304|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (1964:9): [True: 34, False: 1.56k]
  ------------------
 1965|    304|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|    304|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (1965:9): [True: 0, False: 1.59k]
  ------------------
 1966|    304|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|    304|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (1966:9): [True: 0, False: 1.59k]
  ------------------
 1967|    304|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|    304|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (1967:9): [True: 0, False: 1.59k]
  ------------------
 1968|    304|            GET_ARG;
  ------------------
  |  | 1826|    304|    do {                                                \
  |  | 1827|    304|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    304|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 304]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    304|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 304]
  |  |  ------------------
  |  | 1829|    304|        arg = *code++;                                  \
  |  | 1830|    304|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    304|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 304]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    304|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 304]
  |  |  ------------------
  ------------------
 1969|       |            /* The arg is just a character, nothing to check */
 1970|    304|            break;
 1971|       |
 1972|    304|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1972:9): [True: 0, False: 1.59k]
  ------------------
 1973|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (1973:9): [True: 0, False: 1.59k]
  ------------------
 1974|       |            /* Nothing to check; these normally end the matching process */
 1975|      0|            break;
 1976|       |
 1977|     56|        case SRE_OP_AT:
  ------------------
  |  |   21|     56|#define SRE_OP_AT 6
  ------------------
  |  Branch (1977:9): [True: 56, False: 1.54k]
  ------------------
 1978|     56|            GET_ARG;
  ------------------
  |  | 1826|     56|    do {                                                \
  |  | 1827|     56|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     56|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     56|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 56]
  |  |  ------------------
  |  | 1829|     56|        arg = *code++;                                  \
  |  | 1830|     56|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     56|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 1979|     56|            switch (arg) {
 1980|     16|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|     16|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (1980:13): [True: 16, False: 40]
  ------------------
 1981|     20|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|     20|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (1981:13): [True: 4, False: 52]
  ------------------
 1982|     20|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|     20|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (1982:13): [True: 0, False: 56]
  ------------------
 1983|     44|            case SRE_AT_END:
  ------------------
  |  |   63|     44|#define SRE_AT_END 5
  ------------------
  |  Branch (1983:13): [True: 24, False: 32]
  ------------------
 1984|     44|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|     44|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (1984:13): [True: 0, False: 56]
  ------------------
 1985|     56|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|     56|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (1985:13): [True: 12, False: 44]
  ------------------
 1986|     56|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|     56|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (1986:13): [True: 0, False: 56]
  ------------------
 1987|     56|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|     56|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (1987:13): [True: 0, False: 56]
  ------------------
 1988|     56|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|     56|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (1988:13): [True: 0, False: 56]
  ------------------
 1989|     56|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|     56|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (1989:13): [True: 0, False: 56]
  ------------------
 1990|     56|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|     56|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (1990:13): [True: 0, False: 56]
  ------------------
 1991|     56|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|     56|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (1991:13): [True: 0, False: 56]
  ------------------
 1992|     56|                break;
 1993|      0|            default:
  ------------------
  |  Branch (1993:13): [True: 0, False: 56]
  ------------------
 1994|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1995|     56|            }
 1996|     56|            break;
 1997|       |
 1998|     56|        case SRE_OP_ANY:
  ------------------
  |  |   17|      8|#define SRE_OP_ANY 2
  ------------------
  |  Branch (1998:9): [True: 8, False: 1.58k]
  ------------------
 1999|     16|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|     16|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (1999:9): [True: 8, False: 1.58k]
  ------------------
 2000|       |            /* These have no operands */
 2001|     16|            break;
 2002|       |
 2003|    294|        case SRE_OP_IN:
  ------------------
  |  |   28|    294|#define SRE_OP_IN 13
  ------------------
  |  Branch (2003:9): [True: 294, False: 1.30k]
  ------------------
 2004|    294|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|    294|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2004:9): [True: 0, False: 1.59k]
  ------------------
 2005|    308|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|    308|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2005:9): [True: 14, False: 1.58k]
  ------------------
 2006|    308|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|    308|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2006:9): [True: 0, False: 1.59k]
  ------------------
 2007|    308|            GET_SKIP;
  ------------------
  |  | 1843|    308|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    308|    do {                                                \
  |  |  |  | 1834|    308|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    308|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 308]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    308|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 308]
  |  |  |  |  ------------------
  |  |  |  | 1836|    308|        skip = *code;                                   \
  |  |  |  | 1837|    308|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    308|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 308]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    308|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    308|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 308]
  |  |  |  |  ------------------
  |  |  |  | 1840|    308|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    308|        code++;                                         \
  |  |  |  | 1842|    308|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 308]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|       |            /* Stop 1 before the end; we check the FAILURE below */
 2009|    308|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2009:17): [True: 0, False: 308]
  ------------------
 2010|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2011|    308|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|    308|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2011:17): [True: 0, False: 308]
  ------------------
 2012|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2013|    308|            code += skip-1;
 2014|    308|            break;
 2015|       |
 2016|    104|        case SRE_OP_INFO:
  ------------------
  |  |   29|    104|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2016:9): [True: 104, False: 1.49k]
  ------------------
 2017|    104|            {
 2018|       |                /* A minimal info field is
 2019|       |                   <INFO> <1=skip> <2=flags> <3=min> <4=max>;
 2020|       |                   If SRE_INFO_PREFIX or SRE_INFO_CHARSET is in the flags,
 2021|       |                   more follows. */
 2022|    104|                SRE_CODE flags, i;
  ------------------
  |  |   18|    104|#define SRE_CODE Py_UCS4
  ------------------
 2023|    104|                SRE_CODE *newcode;
  ------------------
  |  |   18|    104|#define SRE_CODE Py_UCS4
  ------------------
 2024|    104|                GET_SKIP;
  ------------------
  |  | 1843|    104|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    104|    do {                                                \
  |  |  |  | 1834|    104|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    104|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  |  | 1836|    104|        skip = *code;                                   \
  |  |  |  | 1837|    104|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    104|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    104|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  |  | 1840|    104|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    104|        code++;                                         \
  |  |  |  | 1842|    104|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|    104|                newcode = code+skip-1;
 2026|    104|                GET_ARG; flags = arg;
  ------------------
  |  | 1826|    104|    do {                                                \
  |  | 1827|    104|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    104|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 104]
  |  |  ------------------
  |  | 1829|    104|        arg = *code++;                                  \
  |  | 1830|    104|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 2027|    104|                GET_ARG;
  ------------------
  |  | 1826|    104|    do {                                                \
  |  | 1827|    104|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    104|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 104]
  |  |  ------------------
  |  | 1829|    104|        arg = *code++;                                  \
  |  | 1830|    104|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 2028|    104|                GET_ARG;
  ------------------
  |  | 1826|    104|    do {                                                \
  |  | 1827|    104|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    104|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 104]
  |  |  ------------------
  |  | 1829|    104|        arg = *code++;                                  \
  |  | 1830|    104|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    104|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 2029|       |                /* Check that only valid flags are present */
 2030|    104|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |   96|    104|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2030:21): [True: 0, False: 104]
  ------------------
 2031|    104|                               SRE_INFO_LITERAL |
  ------------------
  |  |   97|    104|#define SRE_INFO_LITERAL 2
  ------------------
 2032|    104|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |   98|    104|#define SRE_INFO_CHARSET 4
  ------------------
 2033|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2034|       |                /* PREFIX and CHARSET are mutually exclusive */
 2035|    104|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |   96|    104|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2035:21): [True: 14, False: 90]
  ------------------
 2036|     14|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |   98|     14|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2036:21): [True: 0, False: 14]
  ------------------
 2037|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2038|       |                /* LITERAL implies PREFIX */
 2039|    104|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |   97|    104|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2039:21): [True: 0, False: 104]
  ------------------
 2040|      0|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |   96|      0|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2040:21): [True: 0, False: 0]
  ------------------
 2041|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2042|       |                /* Validate the prefix */
 2043|    104|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |   96|    104|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2043:21): [True: 14, False: 90]
  ------------------
 2044|     14|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|     14|#define SRE_CODE Py_UCS4
  ------------------
 2045|     14|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1826|     14|    do {                                                \
  |  | 1827|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     14|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1829|     14|        arg = *code++;                                  \
  |  | 1830|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2046|     14|                    GET_ARG;
  ------------------
  |  | 1826|     14|    do {                                                \
  |  | 1827|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     14|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1829|     14|        arg = *code++;                                  \
  |  | 1830|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2047|       |                    /* Here comes the prefix string */
 2048|     14|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2048:25): [True: 0, False: 14]
  ------------------
 2049|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2050|     14|                    code += prefix_len;
 2051|       |                    /* And here comes the overlap table */
 2052|     14|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2052:25): [True: 0, False: 14]
  ------------------
 2053|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2054|       |                    /* Each overlap value should be < prefix_len */
 2055|     34|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2055:33): [True: 20, False: 14]
  ------------------
 2056|     20|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2056:29): [True: 0, False: 20]
  ------------------
 2057|      0|                            FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2058|     20|                    }
 2059|     14|                    code += prefix_len;
 2060|     14|                }
 2061|       |                /* Validate the charset */
 2062|    104|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |   98|    104|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2062:21): [True: 28, False: 76]
  ------------------
 2063|     28|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2063:25): [True: 0, False: 28]
  ------------------
 2064|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2065|     28|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|     28|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2065:25): [True: 0, False: 28]
  ------------------
 2066|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2067|     28|                    code = newcode;
 2068|     28|                }
 2069|     76|                else if (code != newcode) {
  ------------------
  |  Branch (2069:26): [True: 0, False: 76]
  ------------------
 2070|      0|                  VTRACE(("code=%p, newcode=%p\n", code, newcode));
  ------------------
  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2071|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2072|      0|                }
 2073|    104|            }
 2074|    104|            break;
 2075|       |
 2076|    104|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|     54|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2076:9): [True: 54, False: 1.54k]
  ------------------
 2077|     54|            {
 2078|     54|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|     54|#define SRE_CODE Py_UCS4
  ------------------
 2079|    178|                for (;;) {
 2080|    178|                    GET_SKIP;
  ------------------
  |  | 1843|    178|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    178|    do {                                                \
  |  |  |  | 1834|    178|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    178|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    178|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 178]
  |  |  |  |  ------------------
  |  |  |  | 1836|    178|        skip = *code;                                   \
  |  |  |  | 1837|    178|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    178|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    178|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    178|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 178]
  |  |  |  |  ------------------
  |  |  |  | 1840|    178|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    178|        code++;                                         \
  |  |  |  | 1842|    178|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|    178|                    if (skip == 0)
  ------------------
  |  Branch (2081:25): [True: 54, False: 124]
  ------------------
 2082|     54|                        break;
 2083|       |                    /* Stop 2 before the end; we check the JUMP below */
 2084|    124|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2084:25): [True: 0, False: 124]
  ------------------
 2085|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2086|    124|                    code += skip-3;
 2087|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2088|       |                       has the same target */
 2089|    124|                    GET_OP;
  ------------------
  |  | 1819|    124|    do {                                                \
  |  | 1820|    124|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    124|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 124]
  |  |  ------------------
  |  | 1822|    124|        op = *code++;                                   \
  |  | 1823|    124|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|    124|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 124]
  |  |  ------------------
  ------------------
 2090|    124|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|    124|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2090:25): [True: 0, False: 124]
  ------------------
 2091|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2092|    124|                    GET_SKIP;
  ------------------
  |  | 1843|    124|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    124|    do {                                                \
  |  |  |  | 1834|    124|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    124|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  | 1836|    124|        skip = *code;                                   \
  |  |  |  | 1837|    124|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    124|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    124|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  | 1840|    124|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    124|        code++;                                         \
  |  |  |  | 1842|    124|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2093|    124|                    if (target == NULL)
  ------------------
  |  Branch (2093:25): [True: 54, False: 70]
  ------------------
 2094|     54|                        target = code+skip-1;
 2095|     70|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2095:30): [True: 0, False: 70]
  ------------------
 2096|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2097|    124|                }
 2098|     54|                if (code != target)
  ------------------
  |  Branch (2098:21): [True: 0, False: 54]
  ------------------
 2099|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2100|     54|            }
 2101|     54|            break;
 2102|       |
 2103|    220|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|    220|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2103:9): [True: 220, False: 1.37k]
  ------------------
 2104|    230|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|    230|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2104:9): [True: 10, False: 1.58k]
  ------------------
 2105|    230|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|    230|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2105:9): [True: 0, False: 1.59k]
  ------------------
 2106|    230|            {
 2107|    230|                SRE_CODE min, max;
  ------------------
  |  |   18|    230|#define SRE_CODE Py_UCS4
  ------------------
 2108|    230|                GET_SKIP;
  ------------------
  |  | 1843|    230|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    230|    do {                                                \
  |  |  |  | 1834|    230|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    230|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 230]
  |  |  |  |  ------------------
  |  |  |  | 1836|    230|        skip = *code;                                   \
  |  |  |  | 1837|    230|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    230|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    230|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 230]
  |  |  |  |  ------------------
  |  |  |  | 1840|    230|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    230|        code++;                                         \
  |  |  |  | 1842|    230|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|    230|                GET_ARG; min = arg;
  ------------------
  |  | 1826|    230|    do {                                                \
  |  | 1827|    230|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    230|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 230]
  |  |  ------------------
  |  | 1829|    230|        arg = *code++;                                  \
  |  | 1830|    230|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    230|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 230]
  |  |  ------------------
  ------------------
 2110|    230|                GET_ARG; max = arg;
  ------------------
  |  | 1826|    230|    do {                                                \
  |  | 1827|    230|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    230|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 230]
  |  |  ------------------
  |  | 1829|    230|        arg = *code++;                                  \
  |  | 1830|    230|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    230|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 230]
  |  |  ------------------
  ------------------
 2111|    230|                if (min > max)
  ------------------
  |  Branch (2111:21): [True: 0, False: 230]
  ------------------
 2112|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2113|    230|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|    230|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2113:21): [True: 0, False: 230]
  ------------------
 2114|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2115|    230|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2115:21): [True: 0, False: 230]
  ------------------
 2116|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2117|    230|                code += skip-4;
 2118|    230|                GET_OP;
  ------------------
  |  | 1819|    230|    do {                                                \
  |  | 1820|    230|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    230|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 230]
  |  |  ------------------
  |  | 1822|    230|        op = *code++;                                   \
  |  | 1823|    230|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|    230|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|    230|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 230]
  |  |  ------------------
  ------------------
 2119|    230|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|    230|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2119:21): [True: 0, False: 230]
  ------------------
 2120|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2121|    230|            }
 2122|    230|            break;
 2123|       |
 2124|    230|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|    112|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2124:9): [True: 112, False: 1.48k]
  ------------------
 2125|    112|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|    112|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2125:9): [True: 0, False: 1.59k]
  ------------------
 2126|    112|            {
 2127|    112|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|    112|#define SRE_CODE Py_UCS4
  ------------------
 2128|    112|                GET_SKIP;
  ------------------
  |  | 1843|    112|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|    112|    do {                                                \
  |  |  |  | 1834|    112|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    112|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  | 1836|    112|        skip = *code;                                   \
  |  |  |  | 1837|    112|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    112|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|    112|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  | 1840|    112|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|    112|        code++;                                         \
  |  |  |  | 1842|    112|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|    112|                GET_ARG; min = arg;
  ------------------
  |  | 1826|    112|    do {                                                \
  |  | 1827|    112|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1829|    112|        arg = *code++;                                  \
  |  | 1830|    112|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2130|    112|                GET_ARG; max = arg;
  ------------------
  |  | 1826|    112|    do {                                                \
  |  | 1827|    112|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1829|    112|        arg = *code++;                                  \
  |  | 1830|    112|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2131|    112|                if (min > max)
  ------------------
  |  Branch (2131:21): [True: 0, False: 112]
  ------------------
 2132|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2133|    112|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|    112|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2133:21): [True: 0, False: 112]
  ------------------
 2134|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2135|    112|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2135:21): [True: 0, False: 112]
  ------------------
 2136|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2137|    112|                code += skip-3;
 2138|    112|                GET_OP;
  ------------------
  |  | 1819|    112|    do {                                                \
  |  | 1820|    112|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1822|    112|        op = *code++;                                   \
  |  | 1823|    112|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2139|    112|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|    112|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2139:21): [True: 0, False: 112]
  ------------------
 2140|      0|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2140:25): [True: 0, False: 0]
  ------------------
 2141|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2142|      0|                }
 2143|    112|                else {
 2144|    112|                    if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   33|    224|#define SRE_OP_MAX_UNTIL 18
  ------------------
                                  if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   34|      0|#define SRE_OP_MIN_UNTIL 19
  ------------------
  |  Branch (2144:25): [True: 0, False: 112]
  |  Branch (2144:51): [True: 0, False: 0]
  ------------------
 2145|      0|                        FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2146|    112|                }
 2147|    112|            }
 2148|    112|            break;
 2149|       |
 2150|    112|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2150:9): [True: 0, False: 1.59k]
  ------------------
 2151|      0|            {
 2152|      0|                GET_SKIP;
  ------------------
  |  | 1843|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|      0|    do {                                                \
  |  |  |  | 1834|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1836|      0|        skip = *code;                                   \
  |  |  |  | 1837|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1840|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|      0|        code++;                                         \
  |  |  |  | 1842|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|      0|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2153:21): [True: 0, False: 0]
  ------------------
 2154|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2155|      0|                code += skip-2;
 2156|      0|                GET_OP;
  ------------------
  |  | 1819|      0|    do {                                                \
  |  | 1820|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1822|      0|        op = *code++;                                   \
  |  | 1823|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2157|      0|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2157:21): [True: 0, False: 0]
  ------------------
 2158|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2159|      0|            }
 2160|      0|            break;
 2161|       |
 2162|      0|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|      0|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2162:9): [True: 0, False: 1.59k]
  ------------------
 2163|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2163:9): [True: 0, False: 1.59k]
  ------------------
 2164|      2|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      2|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2164:9): [True: 2, False: 1.59k]
  ------------------
 2165|      2|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      2|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2165:9): [True: 0, False: 1.59k]
  ------------------
 2166|      2|            GET_ARG;
  ------------------
  |  | 1826|      2|    do {                                                \
  |  | 1827|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1829|      2|        arg = *code++;                                  \
  |  | 1830|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2167|      2|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2167:17): [True: 0, False: 2]
  ------------------
 2168|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2169|      2|            break;
 2170|       |
 2171|      2|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|      0|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2171:9): [True: 0, False: 1.59k]
  ------------------
 2172|       |            /* The regex syntax for this is: '(?(group)then|else)', where
 2173|       |               'group' is either an integer group number or a group name,
 2174|       |               'then' and 'else' are sub-regexes, and 'else' is optional. */
 2175|      0|            GET_ARG;
  ------------------
  |  | 1826|      0|    do {                                                \
  |  | 1827|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1829|      0|        arg = *code++;                                  \
  |  | 1830|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2176|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2176:17): [True: 0, False: 0]
  ------------------
 2177|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2178|      0|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1833|      0|    do {                                                \
  |  | 1834|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1835|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1835:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1836|      0|        skip = *code;                                   \
  |  | 1837|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1838|      0|               (unsigned long)skip, code+skip));        \
  |  | 1839|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1840|      0|            FAIL;                                       \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1841|      0|        code++;                                         \
  |  | 1842|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1842:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2179|      0|            code--; /* The skip is relative to the first arg! */
 2180|       |            /* There are two possibilities here: if there is both a 'then'
 2181|       |               part and an 'else' part, the generated code looks like:
 2182|       |
 2183|       |               GROUPREF_EXISTS
 2184|       |               <group>
 2185|       |               <skipyes>
 2186|       |               ...then part...
 2187|       |               JUMP
 2188|       |               <skipno>
 2189|       |               (<skipyes> jumps here)
 2190|       |               ...else part...
 2191|       |               (<skipno> jumps here)
 2192|       |
 2193|       |               If there is only a 'then' part, it looks like:
 2194|       |
 2195|       |               GROUPREF_EXISTS
 2196|       |               <group>
 2197|       |               <skip>
 2198|       |               ...then part...
 2199|       |               (<skip> jumps here)
 2200|       |
 2201|       |               There is no direct way to decide which it is, and we don't want
 2202|       |               to allow arbitrary jumps anywhere in the code; so we just look
 2203|       |               for a JUMP opcode preceding our skip target.
 2204|       |            */
 2205|      0|            VTRACE(("then part:\n"));
  ------------------
  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2206|      0|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2207|      0|            if (rc == 1) {
  ------------------
  |  Branch (2207:17): [True: 0, False: 0]
  ------------------
 2208|      0|                VTRACE(("else part:\n"));
  ------------------
  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2209|      0|                code += skip-2; /* Position after JUMP, at <skipno> */
 2210|      0|                GET_SKIP;
  ------------------
  |  | 1843|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|      0|    do {                                                \
  |  |  |  | 1834|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1836|      0|        skip = *code;                                   \
  |  |  |  | 1837|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1840|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|      0|        code++;                                         \
  |  |  |  | 1842|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2211|      0|                rc = _validate_inner(code, code+skip-1, groups);
 2212|      0|            }
 2213|      0|            if (rc)
  ------------------
  |  Branch (2213:17): [True: 0, False: 0]
  ------------------
 2214|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2215|      0|            code += skip-1;
 2216|      0|            break;
 2217|       |
 2218|     26|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|     26|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2218:9): [True: 26, False: 1.57k]
  ------------------
 2219|     30|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|     30|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2219:9): [True: 4, False: 1.59k]
  ------------------
 2220|     30|            GET_SKIP;
  ------------------
  |  | 1843|     30|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1833|     30|    do {                                                \
  |  |  |  | 1834|     30|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|     30|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1835:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  | 1836|     30|        skip = *code;                                   \
  |  |  |  | 1837|     30|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|     30|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1839|     30|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  | 1840|     30|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1841|     30|        code++;                                         \
  |  |  |  | 1842|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1842:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2221|     30|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1826|     30|    do {                                                \
  |  | 1827|     30|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     30|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 30]
  |  |  ------------------
  |  | 1829|     30|        arg = *code++;                                  \
  |  | 1830|     30|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 2222|     30|            code--; /* Back up over arg to simplify math below */
 2223|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2224|     30|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2224:17): [True: 0, False: 30]
  ------------------
 2225|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2226|     30|            code += skip-2;
 2227|     30|            GET_OP;
  ------------------
  |  | 1819|     30|    do {                                                \
  |  | 1820|     30|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|     30|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 30]
  |  |  ------------------
  |  | 1822|     30|        op = *code++;                                   \
  |  | 1823|     30|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 2228|     30|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|     30|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2228:17): [True: 0, False: 30]
  ------------------
 2229|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2230|     30|            break;
 2231|       |
 2232|     30|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2232:9): [True: 0, False: 1.59k]
  ------------------
 2233|      0|            if (code + 1 != end)
  ------------------
  |  Branch (2233:17): [True: 0, False: 0]
  ------------------
 2234|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2235|      0|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2236|      0|            return 1;
 2237|       |
 2238|      0|        default:
  ------------------
  |  Branch (2238:9): [True: 0, False: 1.59k]
  ------------------
 2239|      0|            FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2240|       |
 2241|  1.59k|        }
 2242|  1.59k|    }
 2243|       |
 2244|    600|    VTRACE(("okay\n"));
  ------------------
  |  | 1811|    600|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1811:31): [Folded, False: 600]
  |  |  ------------------
  ------------------
 2245|    600|    return 0;
 2246|    600|}
sre.c:_validate_charset:
 1847|    336|{
 1848|       |    /* Some variables are manipulated by the macros above */
 1849|    336|    SRE_CODE op;
  ------------------
  |  |   18|    336|#define SRE_CODE Py_UCS4
  ------------------
 1850|    336|    SRE_CODE arg;
  ------------------
  |  |   18|    336|#define SRE_CODE Py_UCS4
  ------------------
 1851|    336|    SRE_CODE offset;
  ------------------
  |  |   18|    336|#define SRE_CODE Py_UCS4
  ------------------
 1852|    336|    int i;
 1853|       |
 1854|    830|    while (code < end) {
  ------------------
  |  Branch (1854:12): [True: 494, False: 336]
  ------------------
 1855|    494|        GET_OP;
  ------------------
  |  | 1819|    494|    do {                                                \
  |  | 1820|    494|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    494|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 494]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    494|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:13): [True: 0, False: 494]
  |  |  ------------------
  |  | 1822|    494|        op = *code++;                                   \
  |  | 1823|    494|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1811|    494|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 494]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1824|    494|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1824:14): [Folded, False: 494]
  |  |  ------------------
  ------------------
 1856|    494|        switch (op) {
 1857|       |
 1858|     26|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|     26|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (1858:9): [True: 26, False: 468]
  ------------------
 1859|     26|            break;
 1860|       |
 1861|    180|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|    180|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (1861:9): [True: 180, False: 314]
  ------------------
 1862|    180|            GET_ARG;
  ------------------
  |  | 1826|    180|    do {                                                \
  |  | 1827|    180|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    180|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    180|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 180]
  |  |  ------------------
  |  | 1829|    180|        arg = *code++;                                  \
  |  | 1830|    180|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    180|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    180|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 180]
  |  |  ------------------
  ------------------
 1863|    180|            break;
 1864|       |
 1865|    180|        case SRE_OP_RANGE:
  ------------------
  |  |   37|     76|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (1865:9): [True: 76, False: 418]
  ------------------
 1866|     76|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|     76|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (1866:9): [True: 0, False: 494]
  ------------------
 1867|     76|            GET_ARG;
  ------------------
  |  | 1826|     76|    do {                                                \
  |  | 1827|     76|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     76|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     76|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 76]
  |  |  ------------------
  |  | 1829|     76|        arg = *code++;                                  \
  |  | 1830|     76|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     76|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 1868|     76|            GET_ARG;
  ------------------
  |  | 1826|     76|    do {                                                \
  |  | 1827|     76|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|     76|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     76|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 76]
  |  |  ------------------
  |  | 1829|     76|        arg = *code++;                                  \
  |  | 1830|     76|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|     76|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 1869|     76|            break;
 1870|       |
 1871|     76|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|     58|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (1871:9): [True: 58, False: 436]
  ------------------
 1872|     58|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   55|     58|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 1873|     58|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1873:17): [True: 0, False: 58]
  ------------------
 1874|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1875|     58|            code += offset;
 1876|     58|            break;
 1877|       |
 1878|      6|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      6|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (1878:9): [True: 6, False: 488]
  ------------------
 1879|      6|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1826|      6|    do {                                                \
  |  | 1827|      6|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      6|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 6]
  |  |  ------------------
  |  | 1829|      6|        arg = *code++;                                  \
  |  | 1830|      6|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1880|      6|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 1881|      6|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1881:17): [True: 0, False: 6]
  ------------------
 1882|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1883|       |            /* Make sure that each byte points to a valid block */
 1884|  1.54k|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (1884:25): [True: 1.53k, False: 6]
  ------------------
 1885|  1.53k|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (1885:21): [True: 0, False: 1.53k]
  ------------------
 1886|      0|                    FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1887|  1.53k|            }
 1888|      6|            code += offset;
 1889|      6|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   55|      6|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 1890|      6|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1890:17): [True: 0, False: 6]
  ------------------
 1891|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1892|      6|            code += offset;
 1893|      6|            break;
 1894|       |
 1895|    148|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|    148|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (1895:9): [True: 148, False: 346]
  ------------------
 1896|    148|            GET_ARG;
  ------------------
  |  | 1826|    148|    do {                                                \
  |  | 1827|    148|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1811|    148|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    148|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1828:13): [True: 0, False: 148]
  |  |  ------------------
  |  | 1829|    148|        arg = *code++;                                  \
  |  | 1830|    148|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1811|    148|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1831|    148|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1831:14): [Folded, False: 148]
  |  |  ------------------
  ------------------
 1897|    148|            switch (arg) {
 1898|      2|            case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      2|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1898:13): [True: 2, False: 146]
  ------------------
 1899|      2|            case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      2|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1899:13): [True: 0, False: 148]
  ------------------
 1900|     16|            case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|     16|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1900:13): [True: 14, False: 134]
  ------------------
 1901|     16|            case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|     16|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1901:13): [True: 0, False: 148]
  ------------------
 1902|     26|            case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|     26|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1902:13): [True: 10, False: 138]
  ------------------
 1903|     26|            case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|     26|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (1903:13): [True: 0, False: 148]
  ------------------
 1904|     26|            case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|     26|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (1904:13): [True: 0, False: 148]
  ------------------
 1905|     26|            case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|     26|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (1905:13): [True: 0, False: 148]
  ------------------
 1906|     26|            case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|     26|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (1906:13): [True: 0, False: 148]
  ------------------
 1907|     26|            case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|     26|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (1907:13): [True: 0, False: 148]
  ------------------
 1908|     88|            case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|     88|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (1908:13): [True: 62, False: 86]
  ------------------
 1909|     88|            case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|     88|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (1909:13): [True: 0, False: 148]
  ------------------
 1910|    110|            case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|    110|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (1910:13): [True: 22, False: 126]
  ------------------
 1911|    110|            case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|    110|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (1911:13): [True: 0, False: 148]
  ------------------
 1912|    138|            case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|    138|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (1912:13): [True: 28, False: 120]
  ------------------
 1913|    148|            case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|    148|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (1913:13): [True: 10, False: 138]
  ------------------
 1914|    148|            case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|    148|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (1914:13): [True: 0, False: 148]
  ------------------
 1915|    148|            case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|    148|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (1915:13): [True: 0, False: 148]
  ------------------
 1916|    148|                break;
 1917|      0|            default:
  ------------------
  |  Branch (1917:13): [True: 0, False: 148]
  ------------------
 1918|      0|                FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1919|    148|            }
 1920|    148|            break;
 1921|       |
 1922|    148|        default:
  ------------------
  |  Branch (1922:9): [True: 0, False: 494]
  ------------------
 1923|      0|            FAIL;
  ------------------
  |  | 1815|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1811|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1811:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1815:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1924|       |
 1925|    494|        }
 1926|    494|    }
 1927|       |
 1928|    336|    return 0;
 1929|    336|}
sre.c:_sre_unicode_iscased_impl:
  453|    174|{
  454|    174|    unsigned int ch = (unsigned int)character;
  455|    174|    return ch != sre_lower_unicode(ch) || ch != sre_upper_unicode(ch);
  ------------------
  |  Branch (455:12): [True: 10, False: 164]
  |  Branch (455:43): [True: 40, False: 124]
  ------------------
  456|    174|}
sre.c:sre_lower_unicode:
  175|    430|{
  176|    430|    return (unsigned int) Py_UNICODE_TOLOWER(ch);
  ------------------
  |  |  754|    430|#define Py_UNICODE_TOLOWER(ch) _PyUnicode_ToLowercase(ch)
  ------------------
  177|    430|}
sre.c:sre_upper_unicode:
  180|    164|{
  181|    164|    return (unsigned int) Py_UNICODE_TOUPPER(ch);
  ------------------
  |  |  755|    164|#define Py_UNICODE_TOUPPER(ch) _PyUnicode_ToUppercase(ch)
  ------------------
  182|    164|}
sre.c:_sre_unicode_tolower_impl:
  484|    232|{
  485|    232|    return sre_lower_unicode(character);
  486|    232|}
sre.c:sre_exec:
 3426|      2|{
 3427|      2|    _sremodulestate *state;
 3428|       |
 3429|       |#ifdef Py_DEBUG
 3430|       |    _assert_match_aliases_prefixmatch(pattern_methods);
 3431|       |    _assert_match_aliases_prefixmatch(scanner_methods);
 3432|       |#endif
 3433|       |
 3434|       |    /* Create heap types */
 3435|      2|    state = get_sre_module_state(m);
 3436|      2|    CREATE_TYPE(m, state->Pattern_Type, &pattern_spec);
  ------------------
  |  | 3394|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3395|      2|do {                                                                \
  |  | 3396|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3397|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3397:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3398|      0|        goto error;                                                 \
  |  | 3399|      0|    }                                                               \
  |  | 3400|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3400:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3437|      2|    CREATE_TYPE(m, state->Match_Type, &match_spec);
  ------------------
  |  | 3394|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3395|      2|do {                                                                \
  |  | 3396|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3397|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3397:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3398|      0|        goto error;                                                 \
  |  | 3399|      0|    }                                                               \
  |  | 3400|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3400:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3438|      2|    CREATE_TYPE(m, state->Scanner_Type, &scanner_spec);
  ------------------
  |  | 3394|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3395|      2|do {                                                                \
  |  | 3396|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3397|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3397:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3398|      0|        goto error;                                                 \
  |  | 3399|      0|    }                                                               \
  |  | 3400|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3400:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3439|      2|    CREATE_TYPE(m, state->Template_Type, &template_spec);
  ------------------
  |  | 3394|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3395|      2|do {                                                                \
  |  | 3396|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3397|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3397:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3398|      0|        goto error;                                                 \
  |  | 3399|      0|    }                                                               \
  |  | 3400|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3400:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3440|       |
 3441|      2|    if (PyModule_AddIntConstant(m, "MAGIC", SRE_MAGIC) < 0) {
  ------------------
  |  |   14|      2|#define SRE_MAGIC 20230612
  ------------------
  |  Branch (3441:9): [True: 0, False: 2]
  ------------------
 3442|      0|        goto error;
 3443|      0|    }
 3444|       |
 3445|      2|    if (PyModule_AddIntConstant(m, "CODESIZE", sizeof(SRE_CODE)) < 0) {
  ------------------
  |  Branch (3445:9): [True: 0, False: 2]
  ------------------
 3446|      0|        goto error;
 3447|      0|    }
 3448|       |
 3449|      2|    ADD_ULONG_CONSTANT(m, "MAXREPEAT", SRE_MAXREPEAT);
  ------------------
  |  | 3403|      2|    do {                                                  \
  |  | 3404|      2|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3404:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3405|      0|            goto error;                                   \
  |  | 3406|      0|        }                                                 \
  |  | 3407|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3407:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3450|      2|    ADD_ULONG_CONSTANT(m, "MAXGROUPS", SRE_MAXGROUPS);
  ------------------
  |  | 3403|      2|    do {                                                  \
  |  | 3404|      2|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3404:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3405|      0|            goto error;                                   \
  |  | 3406|      0|        }                                                 \
  |  | 3407|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3407:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3451|       |
 3452|      2|    if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) {
  ------------------
  |  Branch (3452:9): [True: 0, False: 2]
  ------------------
 3453|      0|        goto error;
 3454|      0|    }
 3455|       |
 3456|      2|    return 0;
 3457|       |
 3458|      0|error:
 3459|      0|    return -1;
 3460|      2|}
sre.c:pattern_dealloc:
  745|      4|{
  746|      4|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      4|    PyObject_GC_UnTrack(self);
  748|      4|    FT_CLEAR_WEAKREFS(self, _PatternObject_CAST(self)->weakreflist);
  ------------------
  |  |   47|      4|    do {                                            \
  |  |   48|      4|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      4|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  749|      4|    (void)pattern_clear(self);
  750|      4|    tp->tp_free(self);
  751|      4|    Py_DECREF(tp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|      4|}
sre.c:_sre_SRE_Pattern_prefixmatch_impl:
  793|     58|{
  794|     58|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  396|     58|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  795|     58|    SRE_STATE state;
  796|     58|    Py_ssize_t status;
  797|     58|    PyObject *match;
  798|       |
  799|     58|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (799:9): [True: 0, False: 58]
  ------------------
  800|      0|        return NULL;
  801|       |
  802|     58|    INIT_TRACE(&state);
  803|     58|    state.ptr = state.start;
  804|       |
  805|     58|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  806|       |
  807|     58|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|     58|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  808|       |
  809|     58|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  810|     58|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (810:9): [True: 0, False: 58]
  ------------------
  811|      0|        state_fini(&state);
  812|      0|        return NULL;
  813|      0|    }
  814|       |
  815|     58|    match = pattern_new_match(module_state, self, &state, status);
  816|     58|    state_fini(&state);
  817|     58|    return match;
  818|     58|}
sre.c:state_init:
  543|     60|{
  544|       |    /* prepare state object */
  545|       |
  546|     60|    Py_ssize_t length;
  547|     60|    int isbytes, charsize;
  548|     60|    const void* ptr;
  549|       |
  550|     60|    memset(state, 0, sizeof(SRE_STATE));
  551|       |
  552|       |    /* Patterns with no capturing groups never emit MARK opcodes and never
  553|       |       read state->mark (group 0's span comes from state->start/ptr), so skip
  554|       |       the allocation entirely -- state->mark stays NULL, which both the err
  555|       |       path and state_fini already free safely. */
  556|     60|    if (pattern->groups) {
  ------------------
  |  Branch (556:9): [True: 44, False: 16]
  ------------------
  557|     44|        state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   64|     44|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     44|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 44]
  |  |  ------------------
  |  |   65|     44|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  558|     44|        if (!state->mark) {
  ------------------
  |  Branch (558:13): [True: 0, False: 44]
  ------------------
  559|      0|            PyErr_NoMemory();
  560|      0|            goto err;
  561|      0|        }
  562|     44|    }
  563|     60|    state->lastmark = -1;
  564|     60|    state->lastindex = -1;
  565|       |
  566|     60|    state->buffer.buf = NULL;
  567|     60|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  568|     60|    if (!ptr)
  ------------------
  |  Branch (568:9): [True: 0, False: 60]
  ------------------
  569|      0|        goto err;
  570|       |
  571|     60|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (571:9): [True: 16, False: 44]
  |  Branch (571:20): [True: 0, False: 16]
  ------------------
  572|      0|        PyErr_SetString(PyExc_TypeError,
  573|      0|                        "cannot use a string pattern on a bytes-like object");
  574|      0|        goto err;
  575|      0|    }
  576|     60|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (576:9): [True: 44, False: 16]
  |  Branch (576:21): [True: 0, False: 44]
  ------------------
  577|      0|        PyErr_SetString(PyExc_TypeError,
  578|      0|                        "cannot use a bytes pattern on a string-like object");
  579|      0|        goto err;
  580|      0|    }
  581|       |
  582|       |    /* adjust boundaries */
  583|     60|    if (start < 0)
  ------------------
  |  Branch (583:9): [True: 0, False: 60]
  ------------------
  584|      0|        start = 0;
  585|     60|    else if (start > length)
  ------------------
  |  Branch (585:14): [True: 0, False: 60]
  ------------------
  586|      0|        start = length;
  587|       |
  588|     60|    if (end < 0)
  ------------------
  |  Branch (588:9): [True: 0, False: 60]
  ------------------
  589|      0|        end = 0;
  590|     60|    else if (end > length)
  ------------------
  |  Branch (590:14): [True: 60, False: 0]
  ------------------
  591|     60|        end = length;
  592|       |
  593|     60|    state->isbytes = isbytes;
  594|     60|    state->charsize = charsize;
  595|     60|    state->match_all = 0;
  596|     60|    state->must_advance = 0;
  597|     60|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |   94|     60|#define SRE_FLAG_DEBUG 128
  ------------------
  598|       |
  599|     60|    state->beginning = ptr;
  600|       |
  601|     60|    state->start = (void*) ((char*) ptr + start * state->charsize);
  602|     60|    state->end = (void*) ((char*) ptr + end * state->charsize);
  603|       |
  604|     60|    state->string = Py_NewRef(string);
  ------------------
  |  |  550|     60|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|     60|    state->pos = start;
  606|     60|    state->endpos = end;
  607|       |
  608|       |#ifdef Py_DEBUG
  609|       |    state->fail_after_count = pattern->fail_after_count;
  610|       |    state->fail_after_exc = pattern->fail_after_exc; // borrowed ref
  611|       |#endif
  612|       |
  613|     60|    return string;
  614|      0|  err:
  615|       |    /* We add an explicit cast here because MSVC has a bug when
  616|       |       compiling C code where it believes that `const void**` cannot be
  617|       |       safely casted to `void*`, see bpo-39943 for details. */
  618|      0|    PyMem_Free((void*) state->mark);
  619|      0|    state->mark = NULL;
  620|      0|    if (state->buffer.buf)
  ------------------
  |  Branch (620:9): [True: 0, False: 0]
  ------------------
  621|      0|        PyBuffer_Release(&state->buffer);
  622|       |    return NULL;
  623|     60|}
sre.c:sre_match:
  756|     58|{
  757|     58|    if (state->charsize == 1)
  ------------------
  |  Branch (757:9): [True: 58, False: 0]
  ------------------
  758|     58|        return sre_ucs1_match(state, pattern, 1);
  759|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (759:9): [True: 0, False: 0]
  ------------------
  760|      0|        return sre_ucs2_match(state, pattern, 1);
  761|      0|    assert(state->charsize == 4);
  762|      0|    return sre_ucs4_match(state, pattern, 1);
  763|      0|}
sre.c:data_stack_grow:
  254|     62|{
  255|     62|    INIT_TRACE(state);
  256|     62|    Py_ssize_t minsize, cursize;
  257|     62|    minsize = state->data_stack_base+size;
  258|     62|    cursize = state->data_stack_size;
  259|     62|    if (cursize < minsize) {
  ------------------
  |  Branch (259:9): [True: 62, False: 0]
  ------------------
  260|     62|        void* stack;
  261|     62|        cursize = minsize+minsize/4+1024;
  262|     62|        TRACE(("allocate/grow stack %zd\n", cursize));
  263|     62|        stack = PyMem_Realloc(state->data_stack, cursize);
  264|     62|        if (!stack) {
  ------------------
  |  Branch (264:13): [True: 0, False: 62]
  ------------------
  265|      0|            data_stack_dealloc(state);
  266|      0|            return SRE_ERROR_MEMORY;
  ------------------
  |  |  110|      0|#define SRE_ERROR_MEMORY -9 /* out of memory */
  ------------------
  267|      0|        }
  268|     62|        state->data_stack = (char *)stack;
  269|     62|        state->data_stack_size = cursize;
  270|     62|    }
  271|     62|    return 0;
  272|     62|}
sre.c:data_stack_dealloc:
  244|     60|{
  245|     60|    if (state->data_stack) {
  ------------------
  |  Branch (245:9): [True: 60, False: 0]
  ------------------
  246|     60|        PyMem_Free(state->data_stack);
  247|       |        state->data_stack = NULL;
  248|     60|    }
  249|     60|    state->data_stack_size = state->data_stack_base = 0;
  250|     60|}
sre.c:sre_category:
  186|    498|{
  187|    498|    switch (category) {
  ------------------
  |  Branch (187:13): [True: 498, False: 0]
  ------------------
  188|       |
  189|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (189:5): [True: 0, False: 498]
  ------------------
  190|      0|        return SRE_IS_DIGIT(ch);
  ------------------
  |  |  137|      0|    ((ch) <= '9' && Py_ISDIGIT(ch))
  |  |  ------------------
  |  |  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  191|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (191:5): [True: 0, False: 498]
  ------------------
  192|      0|        return !SRE_IS_DIGIT(ch);
  ------------------
  |  |  137|      0|    ((ch) <= '9' && Py_ISDIGIT(ch))
  |  |  ------------------
  |  |  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  193|     16|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|     16|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (193:5): [True: 16, False: 482]
  ------------------
  194|     16|        return SRE_IS_SPACE(ch);
  ------------------
  |  |  139|     16|    ((ch) <= ' ' && Py_ISSPACE(ch))
  |  |  ------------------
  |  |  |  |   27|      8|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      8|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   13|      8|#define PY_CTF_SPACE  0x08
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (27:24): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (139:6): [True: 8, False: 8]
  |  |  ------------------
  ------------------
  195|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (195:5): [True: 0, False: 498]
  ------------------
  196|      0|        return !SRE_IS_SPACE(ch);
  ------------------
  |  |  139|      0|    ((ch) <= ' ' && Py_ISSPACE(ch))
  |  |  ------------------
  |  |  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   13|      0|#define PY_CTF_SPACE  0x08
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (27:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (139:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  197|     60|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|     60|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (197:5): [True: 60, False: 438]
  ------------------
  198|     60|        return SRE_IS_WORD(ch);
  ------------------
  |  |  143|     60|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|    120|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|     60|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|     60|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|     60|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|     60|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|     60|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|     60|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 40, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 60, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  199|      0|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      0|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (199:5): [True: 0, False: 498]
  ------------------
  200|      0|        return !SRE_IS_WORD(ch);
  ------------------
  |  |  143|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  201|      0|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      0|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (201:5): [True: 0, False: 498]
  ------------------
  202|      0|        return SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  ------------------
  203|      0|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      0|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (203:5): [True: 0, False: 498]
  ------------------
  204|      0|        return !SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  ------------------
  205|       |
  206|      0|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      0|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (206:5): [True: 0, False: 498]
  ------------------
  207|      0|        return SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  208|      0|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      0|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (208:5): [True: 0, False: 498]
  ------------------
  209|      0|        return !SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  210|       |
  211|      8|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      8|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (211:5): [True: 8, False: 490]
  ------------------
  212|      8|        return SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  168|      8|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      8|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  213|      0|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      0|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (213:5): [True: 0, False: 498]
  ------------------
  214|      0|        return !SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  168|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  215|     40|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|     40|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (215:5): [True: 40, False: 458]
  ------------------
  216|     40|        return SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  169|     40|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  217|      0|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      0|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (217:5): [True: 0, False: 498]
  ------------------
  218|      0|        return !SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  169|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  219|    374|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|    374|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (219:5): [True: 374, False: 124]
  ------------------
  220|    374|        return SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  172|    374|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|    748|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 334, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 8, False: 32]
  |  |  ------------------
  ------------------
  221|      0|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      0|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (221:5): [True: 0, False: 498]
  ------------------
  222|      0|        return !SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  223|      0|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      0|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (223:5): [True: 0, False: 498]
  ------------------
  224|      0|        return SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  225|      0|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      0|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (225:5): [True: 0, False: 498]
  ------------------
  226|      0|        return !SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  227|    498|    }
  228|      0|    return 0;
  229|    498|}
sre.c:repeat_pool_malloc:
  282|     54|{
  283|     54|    SRE_REPEAT *repeat;
  284|       |
  285|     54|    if (state->repeat_pool_unused) {
  ------------------
  |  Branch (285:9): [True: 0, False: 54]
  ------------------
  286|       |        /* remove from unused pool (singly-linked list) */
  287|      0|        repeat = state->repeat_pool_unused;
  288|      0|        state->repeat_pool_unused = repeat->pool_next;
  289|      0|    }
  290|     54|    else {
  291|     54|        repeat = PyMem_Malloc(sizeof(SRE_REPEAT));
  292|     54|        if (!repeat) {
  ------------------
  |  Branch (292:13): [True: 0, False: 54]
  ------------------
  293|      0|            return NULL;
  294|      0|        }
  295|     54|    }
  296|       |
  297|       |    /* add to used pool (doubly-linked list) */
  298|     54|    SRE_REPEAT *temp = state->repeat_pool_used;
  299|     54|    if (temp) {
  ------------------
  |  Branch (299:9): [True: 20, False: 34]
  ------------------
  300|     20|        temp->pool_prev = repeat;
  301|     20|    }
  302|     54|    repeat->pool_prev = NULL;
  303|     54|    repeat->pool_next = temp;
  304|     54|    state->repeat_pool_used = repeat;
  305|       |
  306|     54|    return repeat;
  307|     54|}
sre.c:repeat_pool_free:
  311|     54|{
  312|     54|    SRE_REPEAT *prev = repeat->pool_prev;
  313|     54|    SRE_REPEAT *next = repeat->pool_next;
  314|       |
  315|       |    /* remove from used pool (doubly-linked list) */
  316|     54|    if (prev) {
  ------------------
  |  Branch (316:9): [True: 0, False: 54]
  ------------------
  317|      0|        prev->pool_next = next;
  318|      0|    }
  319|     54|    else {
  320|     54|        state->repeat_pool_used = next;
  321|     54|    }
  322|     54|    if (next) {
  ------------------
  |  Branch (322:9): [True: 20, False: 34]
  ------------------
  323|     20|        next->pool_prev = prev;
  324|     20|    }
  325|       |
  326|       |    /* add to unused pool (singly-linked list) */
  327|     54|    repeat->pool_next = state->repeat_pool_unused;
  328|     54|    state->repeat_pool_unused = repeat;
  329|     54|}
sre.c:state_fini:
  627|     60|{
  628|     60|    if (state->buffer.buf)
  ------------------
  |  Branch (628:9): [True: 16, False: 44]
  ------------------
  629|     16|        PyBuffer_Release(&state->buffer);
  630|     60|    Py_XDECREF(state->string);
  ------------------
  |  |  524|     60|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  631|     60|    data_stack_dealloc(state);
  632|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  633|     60|    PyMem_Free((void*) state->mark);
  634|     60|    state->mark = NULL;
  635|       |    /* SRE_REPEAT pool */
  636|     60|    repeat_pool_clear(state);
  637|     60|}
sre.c:repeat_pool_clear:
  333|     60|{
  334|       |    /* clear used pool */
  335|     60|    SRE_REPEAT *next = state->repeat_pool_used;
  336|     60|    state->repeat_pool_used = NULL;
  337|     60|    while (next) {
  ------------------
  |  Branch (337:12): [True: 0, False: 60]
  ------------------
  338|      0|        SRE_REPEAT *temp = next;
  339|      0|        next = temp->pool_next;
  340|      0|        PyMem_Free(temp);
  341|      0|    }
  342|       |
  343|       |    /* clear unused pool */
  344|     60|    next = state->repeat_pool_unused;
  345|     60|    state->repeat_pool_unused = NULL;
  346|    114|    while (next) {
  ------------------
  |  Branch (346:12): [True: 54, False: 60]
  ------------------
  347|     54|        SRE_REPEAT *temp = next;
  348|     54|        next = temp->pool_next;
  349|     54|        PyMem_Free(temp);
  350|     54|    }
  351|     60|}
sre.c:pattern_new_match:
 2733|     60|{
 2734|       |    /* create match object (from state object) */
 2735|       |
 2736|     60|    MatchObject* match;
 2737|     60|    Py_ssize_t i, j;
 2738|     60|    char* base;
 2739|     60|    int n;
 2740|       |
 2741|     60|    if (status > 0) {
  ------------------
  |  Branch (2741:9): [True: 48, False: 12]
  ------------------
 2742|       |
 2743|       |        /* create match object (with room for extra group marks) */
 2744|       |        /* coverity[ampersand_in_size] */
 2745|     48|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|     48|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2746|     48|                                   module_state->Match_Type,
 2747|     48|                                   2*(pattern->groups+1));
 2748|     48|        if (!match)
  ------------------
  |  Branch (2748:13): [True: 0, False: 48]
  ------------------
 2749|      0|            return NULL;
 2750|       |
 2751|     48|        Py_INCREF(pattern);
  ------------------
  |  |  310|     48|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|     48|        match->pattern = pattern;
 2753|       |
 2754|     48|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  550|     48|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|       |
 2756|     48|        match->regs = NULL;
 2757|     48|        match->groups = pattern->groups+1;
 2758|       |
 2759|       |        /* fill in group slices */
 2760|       |
 2761|     48|        base = (char*) state->beginning;
 2762|     48|        n = state->charsize;
 2763|       |
 2764|     48|        match->mark[0] = ((char*) state->start - base) / n;
 2765|     48|        match->mark[1] = ((char*) state->ptr - base) / n;
 2766|       |
 2767|    180|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2767:25): [True: 132, False: 48]
  ------------------
 2768|    132|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2768:17): [True: 74, False: 58]
  |  Branch (2768:43): [True: 56, False: 18]
  |  Branch (2768:61): [True: 56, False: 0]
  ------------------
 2769|     56|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2770|     56|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2771|       |
 2772|       |                /* check wrong span */
 2773|     56|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2773:21): [True: 0, False: 56]
  ------------------
 2774|      0|                    PyErr_SetString(PyExc_SystemError,
 2775|      0|                                    "The span of capturing group is wrong,"
 2776|      0|                                    " please report a bug for the re module.");
 2777|      0|                    Py_DECREF(match);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2778|      0|                    return NULL;
 2779|      0|                }
 2780|     56|            } else
 2781|     76|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2782|       |
 2783|     48|        match->pos = state->pos;
 2784|     48|        match->endpos = state->endpos;
 2785|       |
 2786|     48|        match->lastindex = state->lastindex;
 2787|       |
 2788|     48|        PyObject_GC_Track(match);
 2789|     48|        return (PyObject*) match;
 2790|       |
 2791|     48|    } else if (status == 0) {
  ------------------
  |  Branch (2791:16): [True: 12, False: 0]
  ------------------
 2792|       |
 2793|       |        /* no match */
 2794|     12|        Py_RETURN_NONE;
  ------------------
  |  |  628|     12|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2795|       |
 2796|     12|    }
 2797|       |
 2798|       |    /* internal error */
 2799|      0|    pattern_error(status);
 2800|       |    return NULL;
 2801|     60|}
sre.c:_sre_SRE_Pattern_search_impl:
  886|      2|{
  887|      2|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  396|      2|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  888|      2|    SRE_STATE state;
  889|      2|    Py_ssize_t status;
  890|      2|    PyObject *match;
  891|       |
  892|      2|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (892:9): [True: 0, False: 2]
  ------------------
  893|      0|        return NULL;
  894|       |
  895|      2|    INIT_TRACE(&state);
  896|      2|    TRACE(("|%p|%p|SEARCH\n", PatternObject_GetCode(self), state.ptr));
  897|       |
  898|      2|    status = sre_search(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      2|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  899|       |
  900|      2|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  901|       |
  902|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (902:9): [True: 0, False: 2]
  ------------------
  903|      0|        state_fini(&state);
  904|      0|        return NULL;
  905|      0|    }
  906|       |
  907|      2|    match = pattern_new_match(module_state, self, &state, status);
  908|      2|    state_fini(&state);
  909|      2|    return match;
  910|      2|}
sre.c:sre_search:
  767|      2|{
  768|      2|    if (state->charsize == 1)
  ------------------
  |  Branch (768:9): [True: 2, False: 0]
  ------------------
  769|      2|        return sre_ucs1_search(state, pattern);
  770|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (770:9): [True: 0, False: 0]
  ------------------
  771|      0|        return sre_ucs2_search(state, pattern);
  772|      0|    assert(state->charsize == 4);
  773|      0|    return sre_ucs4_search(state, pattern);
  774|      0|}
sre.c:getslice:
  646|     44|{
  647|     44|    if (isbytes) {
  ------------------
  |  Branch (647:9): [True: 0, False: 44]
  ------------------
  648|      0|        if (PyBytes_CheckExact(string) &&
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  649|      0|            start == 0 && end == PyBytes_GET_SIZE(string)) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (649:13): [True: 0, False: 0]
  |  Branch (649:27): [True: 0, False: 0]
  ------------------
  650|      0|            return Py_NewRef(string);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      0|        }
  652|      0|        return PyBytes_FromStringAndSize(
  653|      0|                (const char *)ptr + start, end - start);
  654|      0|    }
  655|     44|    else {
  656|     44|        return PyUnicode_Substring(string, start, end);
  657|     44|    }
  658|     44|}
sre.c:match_getslice_by_index:
 2306|     70|{
 2307|     70|    Py_ssize_t length;
 2308|     70|    int isbytes, charsize;
 2309|     70|    Py_buffer view;
 2310|     70|    PyObject *result;
 2311|     70|    const void* ptr;
 2312|     70|    Py_ssize_t i, j;
 2313|       |
 2314|     70|    assert(0 <= index && index < self->groups);
 2315|     70|    index *= 2;
 2316|       |
 2317|     70|    if (self->string == Py_None || self->mark[index] < 0) {
  ------------------
  |  |  616|    140|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2317:9): [True: 0, False: 70]
  |  Branch (2317:36): [True: 26, False: 44]
  ------------------
 2318|       |        /* return default value if the string or group is undefined */
 2319|     26|        return Py_NewRef(def);
  ------------------
  |  |  550|     26|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|     26|    }
 2321|       |
 2322|     44|    ptr = getstring(self->string, &length, &isbytes, &charsize, &view);
 2323|     44|    if (ptr == NULL)
  ------------------
  |  Branch (2323:9): [True: 0, False: 44]
  ------------------
 2324|      0|        return NULL;
 2325|       |
 2326|     44|    i = self->mark[index];
 2327|     44|    j = self->mark[index+1];
 2328|     44|    i = Py_MIN(i, length);
  ------------------
  |  |  112|     44|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 2329|     44|    j = Py_MIN(j, length);
  ------------------
  |  |  112|     44|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 2330|     44|    result = getslice(isbytes, ptr, self->string, i, j);
 2331|     44|    if (isbytes && view.buf != NULL)
  ------------------
  |  Branch (2331:9): [True: 0, False: 44]
  |  Branch (2331:20): [True: 0, False: 0]
  ------------------
 2332|      0|        PyBuffer_Release(&view);
 2333|     44|    return result;
 2334|     44|}
sre.c:pattern_traverse:
  718|    800|{
  719|    800|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  402|    800|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  720|    800|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    800|    do {                                                                \
  |  |  195|    800|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 800, False: 0]
  |  |  ------------------
  |  |  196|    800|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    800|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 800]
  |  |  ------------------
  |  |  198|    800|                return vret;                                            \
  |  |  199|    800|        }                                                               \
  |  |  200|    800|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
  721|    800|    Py_VISIT(self->groupindex);
  ------------------
  |  |  194|    800|    do {                                                                \
  |  |  195|    800|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 144, False: 656]
  |  |  ------------------
  |  |  196|    144|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    144|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 144]
  |  |  ------------------
  |  |  198|    144|                return vret;                                            \
  |  |  199|    144|        }                                                               \
  |  |  200|    800|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
  722|    800|    Py_VISIT(self->indexgroup);
  ------------------
  |  |  194|    800|    do {                                                                \
  |  |  195|    800|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 144, False: 656]
  |  |  ------------------
  |  |  196|    144|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    144|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 144]
  |  |  ------------------
  |  |  198|    144|                return vret;                                            \
  |  |  199|    144|        }                                                               \
  |  |  200|    800|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
  723|    800|    Py_VISIT(self->pattern);
  ------------------
  |  |  194|    800|    do {                                                                \
  |  |  195|    800|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 800, False: 0]
  |  |  ------------------
  |  |  196|    800|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    800|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 800]
  |  |  ------------------
  |  |  198|    800|                return vret;                                            \
  |  |  199|    800|        }                                                               \
  |  |  200|    800|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
  724|       |#ifdef Py_DEBUG
  725|       |    Py_VISIT(self->fail_after_exc);
  726|       |#endif
  727|    800|    return 0;
  728|    800|}
sre.c:pattern_clear:
  732|      4|{
  733|      4|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  402|      4|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  734|      4|    Py_CLEAR(self->groupindex);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  735|      4|    Py_CLEAR(self->indexgroup);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  736|      4|    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  737|       |#ifdef Py_DEBUG
  738|       |    Py_CLEAR(self->fail_after_exc);
  739|       |#endif
  740|      4|    return 0;
  741|      4|}
sre.c:match_dealloc:
 2296|     48|{
 2297|     48|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2298|     48|    PyObject_GC_UnTrack(self);
 2299|     48|    (void)match_clear(self);
 2300|     48|    tp->tp_free(self);
 2301|     48|    Py_DECREF(tp);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2302|     48|}
sre.c:match_group:
 2408|     20|{
 2409|     20|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  403|     20|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2410|     20|    PyObject* result;
 2411|     20|    Py_ssize_t i, size;
 2412|       |
 2413|     20|    size = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     20|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2414|       |
 2415|     20|    switch (size) {
 2416|      0|    case 0:
  ------------------
  |  Branch (2416:5): [True: 0, False: 20]
  ------------------
 2417|      0|        result = match_getslice(self, _PyLong_GetZero(), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2418|      0|        break;
 2419|     20|    case 1:
  ------------------
  |  Branch (2419:5): [True: 20, False: 0]
  ------------------
 2420|     20|        result = match_getslice(self, PyTuple_GET_ITEM(args, 0), Py_None);
  ------------------
  |  |   29|     20|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     20|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      result = match_getslice(self, PyTuple_GET_ITEM(args, 0), Py_None);
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2421|     20|        break;
 2422|      0|    default:
  ------------------
  |  Branch (2422:5): [True: 0, False: 20]
  ------------------
 2423|       |        /* fetch multiple items */
 2424|      0|        result = PyTuple_New(size);
 2425|      0|        if (!result)
  ------------------
  |  Branch (2425:13): [True: 0, False: 0]
  ------------------
 2426|      0|            return NULL;
 2427|      0|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (2427:21): [True: 0, False: 0]
  ------------------
 2428|      0|            PyObject* item = match_getslice(
 2429|      0|                self, PyTuple_GET_ITEM(args, i), Py_None
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              self, PyTuple_GET_ITEM(args, i), Py_None
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2430|      0|                );
 2431|      0|            if (!item) {
  ------------------
  |  Branch (2431:17): [True: 0, False: 0]
  ------------------
 2432|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|      0|                return NULL;
 2434|      0|            }
 2435|      0|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      0|        }
 2437|      0|        break;
 2438|     20|    }
 2439|     20|    return result;
 2440|     20|}
sre.c:match_getslice:
 2373|     60|{
 2374|     60|    Py_ssize_t i = match_getindex(self, index);
 2375|       |
 2376|     60|    if (i < 0) {
  ------------------
  |  Branch (2376:9): [True: 0, False: 60]
  ------------------
 2377|      0|        return NULL;
 2378|      0|    }
 2379|       |
 2380|     60|    return match_getslice_by_index(self, i, def);
 2381|     60|}
sre.c:match_getindex:
 2338|     68|{
 2339|     68|    Py_ssize_t i;
 2340|       |
 2341|     68|    if (index == NULL)
  ------------------
  |  Branch (2341:9): [True: 8, False: 60]
  ------------------
 2342|       |        /* Default value */
 2343|      8|        return 0;
 2344|       |
 2345|     60|    if (PyIndex_Check(index)) {
  ------------------
  |  Branch (2345:9): [True: 16, False: 44]
  ------------------
 2346|     16|        i = PyNumber_AsSsize_t(index, NULL);
 2347|     16|    }
 2348|     44|    else {
 2349|     44|        i = -1;
 2350|       |
 2351|     44|        if (self->pattern->groupindex) {
  ------------------
  |  Branch (2351:13): [True: 44, False: 0]
  ------------------
 2352|     44|            index = PyDict_GetItemWithError(self->pattern->groupindex, index);
 2353|     44|            if (index && PyLong_Check(index)) {
  ------------------
  |  |   13|     44|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     44|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 44, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2353:17): [True: 44, False: 0]
  ------------------
 2354|     44|                i = PyLong_AsSsize_t(index);
 2355|     44|            }
 2356|     44|        }
 2357|     44|    }
 2358|     60|    if (i < 0 || i >= self->groups) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 60]
  |  Branch (2358:18): [True: 0, False: 60]
  ------------------
 2359|       |        /* raise IndexError if we were given a bad group number */
 2360|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (2360:13): [True: 0, False: 0]
  ------------------
 2361|      0|            PyErr_SetString(PyExc_IndexError, "no such group");
 2362|      0|        }
 2363|      0|        return -1;
 2364|      0|    }
 2365|       |
 2366|       |    // Check that i*2 cannot overflow to make static analyzers happy
 2367|     60|    assert((size_t)i <= SRE_MAXGROUPS);
 2368|     60|    return i;
 2369|     60|}
sre.c:_sre_SRE_Match_end_impl:
 2565|      8|{
 2566|      8|    Py_ssize_t index = match_getindex(self, group);
 2567|       |
 2568|      8|    if (index < 0) {
  ------------------
  |  Branch (2568:9): [True: 0, False: 8]
  ------------------
 2569|      0|        return -1;
 2570|      0|    }
 2571|       |
 2572|       |    /* mark is -1 if group is undefined */
 2573|      8|    return self->mark[index*2+1];
 2574|      8|}
sre.c:_sre_SRE_Match_groups_impl:
 2461|      2|{
 2462|      2|    PyObject* result;
 2463|      2|    Py_ssize_t index;
 2464|       |
 2465|      2|    result = PyTuple_New(self->groups-1);
 2466|      2|    if (!result)
  ------------------
  |  Branch (2466:9): [True: 0, False: 2]
  ------------------
 2467|      0|        return NULL;
 2468|       |
 2469|     12|    for (index = 1; index < self->groups; index++) {
  ------------------
  |  Branch (2469:21): [True: 10, False: 2]
  ------------------
 2470|     10|        PyObject* item;
 2471|     10|        item = match_getslice_by_index(self, index, default_value);
 2472|     10|        if (!item) {
  ------------------
  |  Branch (2472:13): [True: 0, False: 10]
  ------------------
 2473|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2474|      0|            return NULL;
 2475|      0|        }
 2476|     10|        PyTuple_SET_ITEM(result, index-1, item);
  ------------------
  |  |   40|     10|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2477|     10|    }
 2478|       |
 2479|      2|    return result;
 2480|      2|}
sre.c:_sre_SRE_Match_groupdict_impl:
 2495|      8|{
 2496|      8|    PyObject *result;
 2497|      8|    PyObject *key;
 2498|      8|    PyObject *value;
 2499|      8|    Py_ssize_t pos = 0;
 2500|      8|    Py_hash_t hash;
 2501|       |
 2502|      8|    result = PyDict_New();
 2503|      8|    if (!result || !self->pattern->groupindex)
  ------------------
  |  Branch (2503:9): [True: 0, False: 8]
  |  Branch (2503:20): [True: 0, False: 8]
  ------------------
 2504|      0|        return result;
 2505|       |
 2506|      8|    Py_BEGIN_CRITICAL_SECTION(self->pattern->groupindex);
  ------------------
  |  |   51|      8|    {
  ------------------
 2507|     32|    while (_PyDict_Next(self->pattern->groupindex, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (2507:12): [True: 24, False: 8]
  ------------------
 2508|     24|        int status;
 2509|     24|        Py_INCREF(key);
  ------------------
  |  |  310|     24|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2510|     24|        value = match_getslice(self, key, default_value);
 2511|     24|        if (!value) {
  ------------------
  |  Branch (2511:13): [True: 0, False: 24]
  ------------------
 2512|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2514|      0|            goto exit;
 2515|      0|        }
 2516|     24|        status = _PyDict_SetItem_KnownHash(result, key, value, hash);
 2517|     24|        Py_DECREF(value);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2518|     24|        Py_DECREF(key);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2519|     24|        if (status < 0) {
  ------------------
  |  Branch (2519:13): [True: 0, False: 24]
  ------------------
 2520|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2521|      0|            goto exit;
 2522|      0|        }
 2523|     24|    }
 2524|      8|exit:;
 2525|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 2526|       |
 2527|      8|    return result;
 2528|      8|}
sre.c:match_clear:
 2286|     48|{
 2287|     48|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  403|     48|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2288|     48|    Py_CLEAR(self->string);
  ------------------
  |  |  484|     48|    do { \
  |  |  485|     48|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     48|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     48|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  488|     48|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     48|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     48|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     48|        } \
  |  |  491|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2289|     48|    Py_CLEAR(self->regs);
  ------------------
  |  |  484|     48|    do { \
  |  |  485|     48|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     48|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     48|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 48]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2290|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|     48|    do { \
  |  |  485|     48|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     48|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     48|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  488|     48|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     48|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     48|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     48|        } \
  |  |  491|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2291|     48|    return 0;
 2292|     48|}
sre.c:match_getitem:
 2444|     16|{
 2445|     16|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  403|     16|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2446|     16|    return match_getslice(self, name, Py_None);
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2447|     16|}
sre.c:sre_traverse:
 3362|     16|{
 3363|     16|    _sremodulestate *state = get_sre_module_state(module);
 3364|       |
 3365|     16|    Py_VISIT(state->Pattern_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3366|     16|    Py_VISIT(state->Match_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3367|     16|    Py_VISIT(state->Scanner_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3368|     16|    Py_VISIT(state->Template_Type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3369|     16|    Py_VISIT(state->compile_template);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3370|       |
 3371|     16|    return 0;
 3372|     16|}

sre.c:sre_ucs1_match:
  600|     60|{
  601|     60|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  602|     60|    Py_ssize_t alloc_pos, ctx_pos = -1;
  603|     60|    Py_ssize_t ret = 0;
  604|     60|    int jump;
  605|     60|    unsigned int sigcount = state->sigcount;
  606|       |
  607|     60|    SRE(match_context)* ctx;
  ------------------
  |  |  357|     60|#define SRE(F) sre_ucs1_##F
  ------------------
  608|     60|    SRE(match_context)* nextctx;
  ------------------
  |  |  357|     60|#define SRE(F) sre_ucs1_##F
  ------------------
  609|     60|    INIT_TRACE(state);
  610|       |
  611|     60|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  612|       |
  613|     60|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  449|     60|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  388|     60|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  389|     60|do { \
  |  |  |  |  390|     60|    alloc_pos = state->data_stack_base; \
  |  |  |  |  391|     60|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  392|     60|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  393|     60|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 60, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|     60|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  395|     60|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (395:13): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  |  |  396|     60|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (396:13): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  |  |  397|     60|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  398|     60|    } \
  |  |  |  |  399|     60|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  400|     60|    state->data_stack_base += sizeof(type); \
  |  |  |  |  401|     60|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (401:10): [Folded, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|     60|    ctx->last_ctx_pos = -1;
  615|     60|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  496|     60|#define JUMP_NONE            0
  ------------------
  616|     60|    ctx->toplevel = toplevel;
  617|     60|    ctx_pos = alloc_pos;
  618|       |
  619|     60|#if USE_COMPUTED_GOTOS
  620|     60|#include "sre_targets.h"
  ------------------
  |  |    1|       |/*
  |  |    2|       | * Secret Labs' Regular Expression Engine
  |  |    3|       | *
  |  |    4|       | * regular expression matching engine
  |  |    5|       | *
  |  |    6|       | * Auto-generated by Tools/build/generate_sre_constants.py from
  |  |    7|       | * Lib/re/_constants.py.
  |  |    8|       | *
  |  |    9|       | * Copyright (c) 1997-2001 by Secret Labs AB.  All rights reserved.
  |  |   10|       | *
  |  |   11|       | * See the sre.c file for information on usage and redistribution.
  |  |   12|       | */
  |  |   13|       |
  |  |   14|     60|static void *sre_targets[43] = {
  |  |   15|     60|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|     60|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|     60|    &&TARGET_SRE_OP_ANY,
  |  |   18|     60|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|     60|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|     60|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|     60|    &&TARGET_SRE_OP_AT,
  |  |   22|     60|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|     60|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|     60|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|     60|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|     60|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|     60|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|     60|    &&TARGET_SRE_OP_IN,
  |  |   29|     60|    &&TARGET_SRE_OP_INFO,
  |  |   30|     60|    &&TARGET_SRE_OP_JUMP,
  |  |   31|     60|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|     60|    &&TARGET_SRE_OP_MARK,
  |  |   33|     60|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|     60|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|     60|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|     60|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|     60|    &&TARGET_SRE_OP_RANGE,
  |  |   38|     60|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|     60|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|     60|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|     60|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|     60|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|     60|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|     60|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|     60|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|     60|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|     60|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|     60|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|     60|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|     60|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|     60|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|     60|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|     60|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|     60|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|     60|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|     60|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|     60|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|     60|};
  ------------------
  621|     60|#endif
  622|       |
  623|    776|entrance:
  624|       |
  625|    776|    ;  // Fashion statement.
  626|    776|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  627|       |
  628|    776|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|    776|#define SRE_OP_INFO 14
  ------------------
  |  Branch (628:9): [True: 58, False: 718]
  ------------------
  629|       |        /* optimization info block */
  630|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  631|     58|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (631:13): [True: 36, False: 22]
  |  Branch (631:27): [True: 0, False: 36]
  ------------------
  632|      0|            TRACE(("reject (got %tu chars, need %zu)\n",
  633|      0|                   end - ptr, (size_t) pattern[3]));
  634|      0|            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  635|      0|        }
  636|     58|        pattern += pattern[1] + 1;
  637|     58|    }
  638|       |
  639|    776|#if USE_COMPUTED_GOTOS
  640|    776|    DISPATCH;
  ------------------
  |  |  587|    776|        do {                               \
  |  |  588|    776|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|    776|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|    776|    do {                                                           \
  |  |  |  |  |  |  553|    776|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 776]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|    776|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 776]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|    776|            goto *sre_targets[*pattern++]; \
  |  |  590|    776|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 776]
  |  |  ------------------
  ------------------
  641|       |#else
  642|       |dispatch:
  643|       |    MAYBE_CHECK_SIGNALS;
  644|       |    switch (*pattern++)
  645|       |#endif
  646|    776|    {
  647|       |
  648|    776|        TARGET(SRE_OP_MARK):
  ------------------
  |  |  585|    144|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  649|       |            /* set mark */
  650|       |            /* <MARK> <gid> */
  651|    144|            TRACE(("|%p|%p|MARK %d\n", pattern,
  652|    144|                   ptr, pattern[0]));
  653|    144|            {
  654|    144|                int i = pattern[0];
  655|    144|                if (i & 1)
  ------------------
  |  Branch (655:21): [True: 56, False: 88]
  ------------------
  656|     56|                    state->lastindex = i/2 + 1;
  657|    144|                if (i > state->lastmark) {
  ------------------
  |  Branch (657:21): [True: 136, False: 8]
  ------------------
  658|       |                    /* state->lastmark is the highest valid index in the
  659|       |                       state->mark array.  If it is increased by more than 1,
  660|       |                       the intervening marks must be set to NULL to signal
  661|       |                       that these marks have not been encountered. */
  662|    136|                    int j = state->lastmark + 1;
  663|    270|                    while (j < i)
  ------------------
  |  Branch (663:28): [True: 134, False: 136]
  ------------------
  664|    134|                        state->mark[j++] = NULL;
  665|    136|                    state->lastmark = i;
  666|    136|                }
  667|    144|                state->mark[i] = ptr;
  668|    144|            }
  669|    144|            pattern++;
  670|    144|            DISPATCH;
  ------------------
  |  |  587|    144|        do {                               \
  |  |  588|    144|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|    144|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|    144|    do {                                                           \
  |  |  |  |  |  |  553|    144|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 144]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|    144|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 144]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|    144|            goto *sre_targets[*pattern++]; \
  |  |  590|    144|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 144]
  |  |  ------------------
  ------------------
  671|       |
  672|    468|        TARGET(SRE_OP_LITERAL):
  ------------------
  |  |  585|    468|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  673|       |            /* match literal string */
  674|       |            /* <LITERAL> <code> */
  675|    468|            TRACE(("|%p|%p|LITERAL %d\n", pattern,
  676|    468|                   ptr, *pattern));
  677|    468|            if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
  ------------------
  |  Branch (677:17): [True: 10, False: 458]
  |  Branch (677:31): [True: 420, False: 38]
  ------------------
  678|    430|                RETURN_FAILURE;
  ------------------
  |  |  378|    430|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  679|     38|            pattern++;
  680|     38|            ptr++;
  681|     38|            DISPATCH;
  ------------------
  |  |  587|     38|        do {                               \
  |  |  588|     38|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|     38|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|     38|    do {                                                           \
  |  |  |  |  |  |  553|     38|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 38]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|     38|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|     38|            goto *sre_targets[*pattern++]; \
  |  |  590|     38|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 38]
  |  |  ------------------
  ------------------
  682|       |
  683|     38|        TARGET(SRE_OP_NOT_LITERAL):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  684|       |            /* match anything that is not literal character */
  685|       |            /* <NOT_LITERAL> <code> */
  686|      0|            TRACE(("|%p|%p|NOT_LITERAL %d\n", pattern,
  687|      0|                   ptr, *pattern));
  688|      0|            if (ptr >= end || (SRE_CODE) ptr[0] == pattern[0])
  ------------------
  |  Branch (688:17): [True: 0, False: 0]
  |  Branch (688:31): [True: 0, False: 0]
  ------------------
  689|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  690|      0|            pattern++;
  691|      0|            ptr++;
  692|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  693|       |
  694|     42|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  585|     42|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  695|       |            /* end of pattern */
  696|     42|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  697|     42|            if (ctx->toplevel &&
  ------------------
  |  Branch (697:17): [True: 40, False: 2]
  ------------------
  698|     40|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (698:19): [True: 0, False: 40]
  |  Branch (698:39): [True: 0, False: 0]
  ------------------
  699|     40|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (699:19): [True: 0, False: 40]
  |  Branch (699:42): [True: 0, False: 0]
  ------------------
  700|      0|            {
  701|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  702|      0|            }
  703|     42|            state->ptr = ptr;
  704|     42|            RETURN_SUCCESS;
  ------------------
  |  |  379|     42|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  705|       |
  706|     48|        TARGET(SRE_OP_AT):
  ------------------
  |  |  585|     48|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  707|       |            /* match at given position */
  708|       |            /* <AT> <code> */
  709|     48|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  710|     48|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  357|     48|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (710:17): [True: 2, False: 46]
  ------------------
  711|      2|                RETURN_FAILURE;
  ------------------
  |  |  378|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  712|     46|            pattern++;
  713|     46|            DISPATCH;
  ------------------
  |  |  587|     46|        do {                               \
  |  |  588|     46|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|     46|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|     46|    do {                                                           \
  |  |  |  |  |  |  553|     46|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 46]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|     46|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 46]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|     46|            goto *sre_targets[*pattern++]; \
  |  |  590|     46|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 46]
  |  |  ------------------
  ------------------
  714|       |
  715|     46|        TARGET(SRE_OP_CATEGORY):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  716|       |            /* match at given category */
  717|       |            /* <CATEGORY> <code> */
  718|      0|            TRACE(("|%p|%p|CATEGORY %d\n", pattern,
  719|      0|                   ptr, *pattern));
  720|      0|            if (ptr >= end || !sre_category(pattern[0], ptr[0]))
  ------------------
  |  Branch (720:17): [True: 0, False: 0]
  |  Branch (720:31): [True: 0, False: 0]
  ------------------
  721|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  722|      0|            pattern++;
  723|      0|            ptr++;
  724|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  725|       |
  726|      0|        TARGET(SRE_OP_ANY):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  727|       |            /* match anything (except a newline) */
  728|       |            /* <ANY> */
  729|      0|            TRACE(("|%p|%p|ANY\n", pattern, ptr));
  730|      0|            if (ptr >= end || SRE_IS_LINEBREAK(ptr[0]))
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (141:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (730:17): [True: 0, False: 0]
  ------------------
  731|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  732|      0|            ptr++;
  733|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|       |
  735|      0|        TARGET(SRE_OP_ANY_ALL):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  736|       |            /* match anything */
  737|       |            /* <ANY_ALL> */
  738|      0|            TRACE(("|%p|%p|ANY_ALL\n", pattern, ptr));
  739|      0|            if (ptr >= end)
  ------------------
  |  Branch (739:17): [True: 0, False: 0]
  ------------------
  740|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  741|      0|            ptr++;
  742|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  743|       |
  744|     10|        TARGET(SRE_OP_IN):
  ------------------
  |  |  585|     10|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  745|       |            /* match set member (or non_member) */
  746|       |            /* <IN> <skip> <set> */
  747|     10|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  748|     10|            if (ptr >= end ||
  ------------------
  |  Branch (748:17): [True: 0, False: 10]
  ------------------
  749|     10|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  357|     10|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (749:17): [True: 4, False: 6]
  ------------------
  750|      4|                RETURN_FAILURE;
  ------------------
  |  |  378|      4|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  751|      6|            pattern += pattern[0];
  752|      6|            ptr++;
  753|      6|            DISPATCH;
  ------------------
  |  |  587|      6|        do {                               \
  |  |  588|      6|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      6|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      6|    do {                                                           \
  |  |  |  |  |  |  553|      6|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 6]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      6|            goto *sre_targets[*pattern++]; \
  |  |  590|      6|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 6]
  |  |  ------------------
  ------------------
  754|       |
  755|      6|        TARGET(SRE_OP_LITERAL_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  756|      0|            TRACE(("|%p|%p|LITERAL_IGNORE %d\n",
  757|      0|                   pattern, ptr, pattern[0]));
  758|      0|            if (ptr >= end ||
  ------------------
  |  Branch (758:17): [True: 0, False: 0]
  ------------------
  759|      0|                sre_lower_ascii(*ptr) != *pattern)
  ------------------
  |  Branch (759:17): [True: 0, False: 0]
  ------------------
  760|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  761|      0|            pattern++;
  762|      0|            ptr++;
  763|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  764|       |
  765|     14|        TARGET(SRE_OP_LITERAL_UNI_IGNORE):
  ------------------
  |  |  585|     14|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  766|     14|            TRACE(("|%p|%p|LITERAL_UNI_IGNORE %d\n",
  767|     14|                   pattern, ptr, pattern[0]));
  768|     14|            if (ptr >= end ||
  ------------------
  |  Branch (768:17): [True: 0, False: 14]
  ------------------
  769|     14|                sre_lower_unicode(*ptr) != *pattern)
  ------------------
  |  Branch (769:17): [True: 0, False: 14]
  ------------------
  770|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  771|     14|            pattern++;
  772|     14|            ptr++;
  773|     14|            DISPATCH;
  ------------------
  |  |  587|     14|        do {                               \
  |  |  588|     14|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|     14|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|     14|    do {                                                           \
  |  |  |  |  |  |  553|     14|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 14]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|     14|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|     14|            goto *sre_targets[*pattern++]; \
  |  |  590|     14|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 14]
  |  |  ------------------
  ------------------
  774|       |
  775|     14|        TARGET(SRE_OP_LITERAL_LOC_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  776|      0|            TRACE(("|%p|%p|LITERAL_LOC_IGNORE %d\n",
  777|      0|                   pattern, ptr, pattern[0]));
  778|      0|            if (ptr >= end
  ------------------
  |  Branch (778:17): [True: 0, False: 0]
  ------------------
  779|      0|                || !char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (779:20): [True: 0, False: 0]
  ------------------
  780|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  781|      0|            pattern++;
  782|      0|            ptr++;
  783|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  784|       |
  785|      0|        TARGET(SRE_OP_NOT_LITERAL_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  786|      0|            TRACE(("|%p|%p|NOT_LITERAL_IGNORE %d\n",
  787|      0|                   pattern, ptr, *pattern));
  788|      0|            if (ptr >= end ||
  ------------------
  |  Branch (788:17): [True: 0, False: 0]
  ------------------
  789|      0|                sre_lower_ascii(*ptr) == *pattern)
  ------------------
  |  Branch (789:17): [True: 0, False: 0]
  ------------------
  790|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  791|      0|            pattern++;
  792|      0|            ptr++;
  793|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  794|       |
  795|      0|        TARGET(SRE_OP_NOT_LITERAL_UNI_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  796|      0|            TRACE(("|%p|%p|NOT_LITERAL_UNI_IGNORE %d\n",
  797|      0|                   pattern, ptr, *pattern));
  798|      0|            if (ptr >= end ||
  ------------------
  |  Branch (798:17): [True: 0, False: 0]
  ------------------
  799|      0|                sre_lower_unicode(*ptr) == *pattern)
  ------------------
  |  Branch (799:17): [True: 0, False: 0]
  ------------------
  800|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  801|      0|            pattern++;
  802|      0|            ptr++;
  803|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  804|       |
  805|      0|        TARGET(SRE_OP_NOT_LITERAL_LOC_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  806|      0|            TRACE(("|%p|%p|NOT_LITERAL_LOC_IGNORE %d\n",
  807|      0|                   pattern, ptr, *pattern));
  808|      0|            if (ptr >= end
  ------------------
  |  Branch (808:17): [True: 0, False: 0]
  ------------------
  809|      0|                || char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (809:20): [True: 0, False: 0]
  ------------------
  810|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  811|      0|            pattern++;
  812|      0|            ptr++;
  813|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  814|       |
  815|      0|        TARGET(SRE_OP_IN_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  816|      0|            TRACE(("|%p|%p|IN_IGNORE\n", pattern, ptr));
  817|      0|            if (ptr >= end
  ------------------
  |  Branch (817:17): [True: 0, False: 0]
  ------------------
  818|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (818:20): [True: 0, False: 0]
  ------------------
  819|      0|                                 (SRE_CODE)sre_lower_ascii(*ptr)))
  820|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  821|      0|            pattern += pattern[0];
  822|      0|            ptr++;
  823|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  824|       |
  825|     14|        TARGET(SRE_OP_IN_UNI_IGNORE):
  ------------------
  |  |  585|     14|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  826|     14|            TRACE(("|%p|%p|IN_UNI_IGNORE\n", pattern, ptr));
  827|     14|            if (ptr >= end
  ------------------
  |  Branch (827:17): [True: 4, False: 10]
  ------------------
  828|     10|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  357|     10|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (828:20): [True: 4, False: 6]
  ------------------
  829|     10|                                 (SRE_CODE)sre_lower_unicode(*ptr)))
  830|      8|                RETURN_FAILURE;
  ------------------
  |  |  378|      8|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  831|      6|            pattern += pattern[0];
  832|      6|            ptr++;
  833|      6|            DISPATCH;
  ------------------
  |  |  587|      6|        do {                               \
  |  |  588|      6|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      6|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      6|    do {                                                           \
  |  |  |  |  |  |  553|      6|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 6]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      6|            goto *sre_targets[*pattern++]; \
  |  |  590|      6|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 6]
  |  |  ------------------
  ------------------
  834|       |
  835|      6|        TARGET(SRE_OP_IN_LOC_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  836|      0|            TRACE(("|%p|%p|IN_LOC_IGNORE\n", pattern, ptr));
  837|      0|            if (ptr >= end
  ------------------
  |  Branch (837:17): [True: 0, False: 0]
  ------------------
  838|      0|                || !SRE(charset_loc_ignore)(state, pattern+1, *ptr))
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (838:20): [True: 0, False: 0]
  ------------------
  839|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  840|      0|            pattern += pattern[0];
  841|      0|            ptr++;
  842|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  843|       |
  844|     10|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  585|     10|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  845|     10|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  585|     10|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  846|       |            /* jump forward */
  847|       |            /* <JUMP> <offset> */
  848|     10|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  849|     10|                   ptr, pattern[0]));
  850|     10|            pattern += pattern[0];
  851|     10|            DISPATCH;
  ------------------
  |  |  587|     10|        do {                               \
  |  |  588|     10|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|     10|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|     10|    do {                                                           \
  |  |  |  |  |  |  553|     10|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 10]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|     10|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|     10|            goto *sre_targets[*pattern++]; \
  |  |  590|     10|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 10]
  |  |  ------------------
  ------------------
  852|       |
  853|     20|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  585|     20|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  854|       |            /* alternation */
  855|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  856|     20|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  857|     20|            LASTMARK_SAVE();
  ------------------
  |  |  354|     20|    do { \
  |  |  355|     20|        ctx->lastmark = state->lastmark; \
  |  |  356|     20|        ctx->lastindex = state->lastindex; \
  |  |  357|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  858|     20|            if (state->repeat)
  ------------------
  |  Branch (858:17): [True: 2, False: 18]
  ------------------
  859|      2|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|      2|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 2, False: 0]
  |  |  ------------------
  |  |  473|      2|        MARK_TRACE("push", (lastmark)); \
  |  |  474|      2|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|      2|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|      2|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|      2|do { \
  |  |  |  |  411|      2|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|      2|           data, state->data_stack_base, size)); \
  |  |  |  |  413|      2|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|      2|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|      2|    state->data_stack_base += size; \
  |  |  |  |  421|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  860|     48|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (860:20): [True: 38, False: 10]
  ------------------
  861|     38|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|     76|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (861:21): [True: 8, False: 30]
  ------------------
  862|      8|                    (ptr >= end ||
  ------------------
  |  Branch (862:22): [True: 0, False: 8]
  ------------------
  863|      8|                     (SRE_CODE) *ptr != pattern[2]))
  ------------------
  |  Branch (863:22): [True: 8, False: 0]
  ------------------
  864|      8|                    continue;
  865|     30|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|     60|#define SRE_OP_IN 13
  ------------------
  |  Branch (865:21): [True: 12, False: 18]
  ------------------
  866|     12|                    (ptr >= end ||
  ------------------
  |  Branch (866:22): [True: 0, False: 12]
  ------------------
  867|     12|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  357|     12|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (867:22): [True: 8, False: 4]
  ------------------
  868|     12|                                   (SRE_CODE) *ptr)))
  869|      8|                    continue;
  870|     22|                state->ptr = ptr;
  871|     22|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  531|     22|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     22|    ctx->pattern = pattern; \
  |  |  |  |  516|     22|    ctx->ptr = ptr; \
  |  |  |  |  517|     22|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     22|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     22|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     22|do { \
  |  |  |  |  |  |  |  |  390|     22|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     22|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     22|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     22|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 22]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|     22|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     22|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     22|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 22]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     22|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     22|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     22|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     22|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     22|    pattern = nextpattern; \
  |  |  |  |  523|     22|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     22|    ctx = nextctx; \
  |  |  |  |  525|     22|    goto entrance; \
  |  |  |  |  526|     22|    jumplabel: \
  |  |  |  |  527|     22|    pattern = ctx->pattern; \
  |  |  |  |  528|     22|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  872|     22|                if (ret) {
  ------------------
  |  Branch (872:21): [True: 10, False: 12]
  ------------------
  873|     10|                    if (state->repeat)
  ------------------
  |  Branch (873:25): [True: 0, False: 10]
  ------------------
  874|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  875|     10|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|     10|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 10]
  |  |  |  Branch (382:47): [Folded, False: 10]
  |  |  ------------------
  ------------------
  876|     10|                    RETURN_SUCCESS;
  ------------------
  |  |  379|     10|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  877|     10|                }
  878|     12|                if (state->repeat)
  ------------------
  |  Branch (878:21): [True: 2, False: 10]
  ------------------
  879|      2|                    MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  484|      2|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (484:12): [True: 2, False: 0]
  |  |  ------------------
  |  |  485|      2|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  486|      2|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  426|      2|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      2|do { \
  |  |  |  |  428|      2|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      2|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      2|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      2|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  432|      2|        state->data_stack_base -= size; \
  |  |  |  |  433|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  487|      2|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  488|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (488:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  880|     12|                LASTMARK_RESTORE();
  ------------------
  |  |  359|     12|    do { \
  |  |  360|     12|        state->lastmark = ctx->lastmark; \
  |  |  361|     12|        state->lastindex = ctx->lastindex; \
  |  |  362|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  881|     12|            }
  882|     10|            if (state->repeat)
  ------------------
  |  Branch (882:17): [True: 2, False: 8]
  ------------------
  883|      2|                MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      2|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      2|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      2|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      2|do { \
  |  |  |  |  437|      2|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      2|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      2|    state->data_stack_base -= size; \
  |  |  |  |  440|      2|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  884|     10|            RETURN_FAILURE;
  ------------------
  |  |  378|     10|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  885|       |
  886|    136|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  585|    136|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  887|       |            /* match repeated sequence (maximizing regexp) */
  888|       |
  889|       |            /* this operator only works if the repeated item is
  890|       |               exactly one character wide, and we're not already
  891|       |               collecting backtracking points.  for other cases,
  892|       |               use the MAX_REPEAT operator */
  893|       |
  894|       |            /* <REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
  895|       |
  896|    136|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  897|    136|                   pattern[1], pattern[2]));
  898|       |
  899|    136|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (899:17): [True: 0, False: 136]
  ------------------
  900|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  901|       |
  902|    136|            state->ptr = ptr;
  903|       |
  904|    136|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  357|    136|#define SRE(F) sre_ucs1_##F
  ------------------
  905|    136|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|    136|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 136]
  |  |  |  Branch (382:47): [Folded, False: 136]
  |  |  ------------------
  ------------------
  906|    136|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|    136|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|    136|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|    136|do { \
  |  |  |  |  405|    136|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|    136|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|    136|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|    136|            ctx->count = ret;
  908|    136|            ptr += ctx->count;
  909|       |
  910|       |            /* when we arrive here, count contains the number of
  911|       |               matches, and ptr points to the tail of the target
  912|       |               string.  check if the rest of the pattern matches,
  913|       |               and backtrack if not. */
  914|       |
  915|    136|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (915:17): [True: 2, False: 134]
  ------------------
  916|      2|                RETURN_FAILURE;
  ------------------
  |  |  378|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  917|       |
  918|    134|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|    268|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (918:17): [True: 10, False: 124]
  ------------------
  919|     10|                ptr == state->end &&
  ------------------
  |  Branch (919:17): [True: 6, False: 4]
  ------------------
  920|      6|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (920:19): [True: 6, False: 0]
  |  Branch (920:36): [True: 0, False: 6]
  |  Branch (920:59): [True: 0, False: 0]
  ------------------
  921|      6|            {
  922|       |                /* tail is empty.  we're finished */
  923|      6|                state->ptr = ptr;
  924|      6|                RETURN_SUCCESS;
  ------------------
  |  |  379|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  925|      6|            }
  926|       |
  927|    128|            LASTMARK_SAVE();
  ------------------
  |  |  354|    128|    do { \
  |  |  355|    128|        ctx->lastmark = state->lastmark; \
  |  |  356|    128|        ctx->lastindex = state->lastindex; \
  |  |  357|    128|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 128]
  |  |  ------------------
  ------------------
  928|    128|            if (state->repeat)
  ------------------
  |  Branch (928:17): [True: 42, False: 86]
  ------------------
  929|     42|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|     42|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 42, False: 0]
  |  |  ------------------
  |  |  473|     42|        MARK_TRACE("push", (lastmark)); \
  |  |  474|     42|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|     42|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|     42|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|     42|do { \
  |  |  |  |  411|     42|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|     42|           data, state->data_stack_base, size)); \
  |  |  |  |  413|     42|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|     42|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|     42|    state->data_stack_base += size; \
  |  |  |  |  421|     42|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
  930|       |
  931|    128|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|    128|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (931:17): [True: 30, False: 98]
  ------------------
  932|       |                /* tail starts with a literal. skip positions where
  933|       |                   the rest of the pattern cannot possibly match */
  934|     30|                ctx->u.chr = pattern[pattern[0]+1];
  935|     38|                for (;;) {
  936|     60|                    while (ctx->count >= (Py_ssize_t) pattern[1] &&
  ------------------
  |  Branch (936:28): [True: 34, False: 26]
  ------------------
  937|     34|                           (ptr >= end || *ptr != ctx->u.chr)) {
  ------------------
  |  Branch (937:29): [True: 8, False: 26]
  |  Branch (937:43): [True: 14, False: 12]
  ------------------
  938|     22|                        ptr--;
  939|     22|                        ctx->count--;
  940|     22|                    }
  941|     38|                    if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (941:25): [True: 26, False: 12]
  ------------------
  942|     26|                        break;
  943|     12|                    state->ptr = ptr;
  944|     12|                    DO_JUMP(JUMP_REPEAT_ONE_1, jump_repeat_one_1,
  ------------------
  |  |  531|     12|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     12|    ctx->pattern = pattern; \
  |  |  |  |  516|     12|    ctx->ptr = ptr; \
  |  |  |  |  517|     12|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     12|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     12|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     12|do { \
  |  |  |  |  |  |  |  |  390|     12|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     12|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     12|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     12|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 12]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|     12|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     12|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     12|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 12]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     12|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     12|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     12|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     12|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     12|    pattern = nextpattern; \
  |  |  |  |  523|     12|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     12|    ctx = nextctx; \
  |  |  |  |  525|     12|    goto entrance; \
  |  |  |  |  526|     12|    jumplabel: \
  |  |  |  |  527|     12|    pattern = ctx->pattern; \
  |  |  |  |  528|     12|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  945|     12|                            pattern+pattern[0]);
  946|     12|                    if (ret) {
  ------------------
  |  Branch (946:25): [True: 4, False: 8]
  ------------------
  947|      4|                        if (state->repeat)
  ------------------
  |  Branch (947:29): [True: 0, False: 4]
  ------------------
  948|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  949|      4|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      4|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 4]
  |  |  |  Branch (382:47): [Folded, False: 4]
  |  |  ------------------
  ------------------
  950|      4|                        RETURN_SUCCESS;
  ------------------
  |  |  379|      4|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  951|      4|                    }
  952|      8|                    if (state->repeat)
  ------------------
  |  Branch (952:25): [True: 0, False: 8]
  ------------------
  953|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  484|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (484:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  485|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  486|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  487|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  488|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (488:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  954|      8|                    LASTMARK_RESTORE();
  ------------------
  |  |  359|      8|    do { \
  |  |  360|      8|        state->lastmark = ctx->lastmark; \
  |  |  361|      8|        state->lastindex = ctx->lastindex; \
  |  |  362|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  955|       |
  956|      8|                    ptr--;
  957|      8|                    ctx->count--;
  958|      8|                }
  959|     26|                if (state->repeat)
  ------------------
  |  Branch (959:21): [True: 16, False: 10]
  ------------------
  960|     16|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|     16|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 16, False: 0]
  |  |  ------------------
  |  |  491|     16|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|     16|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|     16|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|     16|do { \
  |  |  |  |  437|     16|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|     16|           state->data_stack_base-size, size)); \
  |  |  |  |  439|     16|    state->data_stack_base -= size; \
  |  |  |  |  440|     16|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     16|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  961|     98|            } else {
  962|       |                /* general case */
  963|    100|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (963:24): [True: 98, False: 2]
  ------------------
  964|     98|                    state->ptr = ptr;
  965|     98|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  531|     98|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     98|    ctx->pattern = pattern; \
  |  |  |  |  516|     98|    ctx->ptr = ptr; \
  |  |  |  |  517|     98|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     98|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     98|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     98|do { \
  |  |  |  |  |  |  |  |  390|     98|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     98|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     98|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     98|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 2, False: 96]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      2|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      2|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      2|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      2|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      2|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      2|do { \
  |  |  |  |  |  |  |  |  |  |  405|      2|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      2|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      2|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      2|    } \
  |  |  |  |  |  |  |  |  399|     98|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     98|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     98|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 98]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     98|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     98|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     98|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     98|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     98|    pattern = nextpattern; \
  |  |  |  |  523|     98|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     98|    ctx = nextctx; \
  |  |  |  |  525|     98|    goto entrance; \
  |  |  |  |  526|     98|    jumplabel: \
  |  |  |  |  527|     98|    pattern = ctx->pattern; \
  |  |  |  |  528|     98|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  966|     98|                            pattern+pattern[0]);
  967|     98|                    if (ret) {
  ------------------
  |  Branch (967:25): [True: 96, False: 2]
  ------------------
  968|     96|                        if (state->repeat)
  ------------------
  |  Branch (968:29): [True: 26, False: 70]
  ------------------
  969|     26|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|     26|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 26, False: 0]
  |  |  ------------------
  |  |  491|     26|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|     26|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|     26|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|     26|do { \
  |  |  |  |  437|     26|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|     26|           state->data_stack_base-size, size)); \
  |  |  |  |  439|     26|    state->data_stack_base -= size; \
  |  |  |  |  440|     26|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     26|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 26]
  |  |  ------------------
  ------------------
  970|     96|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|     96|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 96]
  |  |  |  Branch (382:47): [Folded, False: 96]
  |  |  ------------------
  ------------------
  971|     96|                        RETURN_SUCCESS;
  ------------------
  |  |  379|     96|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  972|     96|                    }
  973|      2|                    if (state->repeat)
  ------------------
  |  Branch (973:25): [True: 0, False: 2]
  ------------------
  974|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  484|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (484:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  485|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  486|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  487|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  488|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (488:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  975|      2|                    LASTMARK_RESTORE();
  ------------------
  |  |  359|      2|    do { \
  |  |  360|      2|        state->lastmark = ctx->lastmark; \
  |  |  361|      2|        state->lastindex = ctx->lastindex; \
  |  |  362|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  976|       |
  977|      2|                    ptr--;
  978|      2|                    ctx->count--;
  979|      2|                }
  980|      2|                if (state->repeat)
  ------------------
  |  Branch (980:21): [True: 0, False: 2]
  ------------------
  981|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  982|      2|            }
  983|     28|            RETURN_FAILURE;
  ------------------
  |  |  378|     28|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  984|       |
  985|      8|        TARGET(SRE_OP_MIN_REPEAT_ONE):
  ------------------
  |  |  585|      8|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  986|       |            /* match repeated sequence (minimizing regexp) */
  987|       |
  988|       |            /* this operator only works if the repeated item is
  989|       |               exactly one character wide, and we're not already
  990|       |               collecting backtracking points.  for other cases,
  991|       |               use the MIN_REPEAT operator */
  992|       |
  993|       |            /* <MIN_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
  994|       |
  995|      8|            TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", pattern, ptr,
  996|      8|                   pattern[1], pattern[2]));
  997|       |
  998|      8|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (998:17): [True: 0, False: 8]
  ------------------
  999|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1000|       |
 1001|      8|            state->ptr = ptr;
 1002|       |
 1003|      8|            if (pattern[1] == 0)
  ------------------
  |  Branch (1003:17): [True: 8, False: 0]
  ------------------
 1004|      8|                ctx->count = 0;
 1005|      0|            else {
 1006|       |                /* count using pattern min as the maximum */
 1007|      0|                ret = SRE(count)(state, pattern+3, pattern[1]);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1008|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1009|      0|                DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|      0|do { \
  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|      0|                if (ret < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1010:21): [True: 0, False: 0]
  ------------------
 1011|       |                    /* didn't match minimum number of times */
 1012|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1013|       |                /* advance past minimum matches of repeat */
 1014|      0|                ctx->count = ret;
 1015|      0|                ptr += ctx->count;
 1016|      0|            }
 1017|       |
 1018|      8|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|     16|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1018:17): [True: 0, False: 8]
  ------------------
 1019|      0|                !(ctx->toplevel &&
  ------------------
  |  Branch (1019:19): [True: 0, False: 0]
  ------------------
 1020|      0|                  ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (1020:21): [True: 0, False: 0]
  |  Branch (1020:41): [True: 0, False: 0]
  ------------------
 1021|      0|                   (state->must_advance && ptr == state->start))))
  ------------------
  |  Branch (1021:21): [True: 0, False: 0]
  |  Branch (1021:44): [True: 0, False: 0]
  ------------------
 1022|      0|            {
 1023|       |                /* tail is empty.  we're finished */
 1024|      0|                state->ptr = ptr;
 1025|      0|                RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1026|       |
 1027|      8|            } else {
 1028|       |                /* general case */
 1029|      8|                LASTMARK_SAVE();
  ------------------
  |  |  354|      8|    do { \
  |  |  355|      8|        ctx->lastmark = state->lastmark; \
  |  |  356|      8|        ctx->lastindex = state->lastindex; \
  |  |  357|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1030|      8|                if (state->repeat)
  ------------------
  |  Branch (1030:21): [True: 0, False: 8]
  ------------------
 1031|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  473|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  474|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|      0|do { \
  |  |  |  |  411|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  413|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|      0|    state->data_stack_base += size; \
  |  |  |  |  421|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1032|       |
 1033|    416|                while ((Py_ssize_t)pattern[2] == SRE_MAXREPEAT
  ------------------
  |  |   20|    832|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1033:24): [True: 416, False: 0]
  ------------------
 1034|    416|                       || ctx->count <= (Py_ssize_t)pattern[2]) {
  ------------------
  |  Branch (1034:27): [True: 0, False: 0]
  ------------------
 1035|    416|                    state->ptr = ptr;
 1036|    416|                    DO_JUMP(JUMP_MIN_REPEAT_ONE,jump_min_repeat_one,
  ------------------
  |  |  531|    416|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|    416|    ctx->pattern = pattern; \
  |  |  |  |  516|    416|    ctx->ptr = ptr; \
  |  |  |  |  517|    416|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|    416|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|    416|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|    416|do { \
  |  |  |  |  |  |  |  |  390|    416|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|    416|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|    416|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|    416|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 416]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|    416|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|    416|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|    416|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 416]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|    416|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|    416|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|    416|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|    416|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|    416|    pattern = nextpattern; \
  |  |  |  |  523|    416|    ctx_pos = alloc_pos; \
  |  |  |  |  524|    416|    ctx = nextctx; \
  |  |  |  |  525|    416|    goto entrance; \
  |  |  |  |  526|    416|    jumplabel: \
  |  |  |  |  527|    416|    pattern = ctx->pattern; \
  |  |  |  |  528|    416|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1037|    416|                            pattern+pattern[0]);
 1038|    416|                    if (ret) {
  ------------------
  |  Branch (1038:25): [True: 0, False: 416]
  ------------------
 1039|      0|                        if (state->repeat)
  ------------------
  |  Branch (1039:29): [True: 0, False: 0]
  ------------------
 1040|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1041|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1042|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1043|      0|                    }
 1044|    416|                    if (state->repeat)
  ------------------
  |  Branch (1044:25): [True: 0, False: 416]
  ------------------
 1045|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  484|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (484:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  485|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  486|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  487|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  488|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (488:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1046|    416|                    LASTMARK_RESTORE();
  ------------------
  |  |  359|    416|    do { \
  |  |  360|    416|        state->lastmark = ctx->lastmark; \
  |  |  361|    416|        state->lastindex = ctx->lastindex; \
  |  |  362|    416|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 416]
  |  |  ------------------
  ------------------
 1047|       |
 1048|    416|                    state->ptr = ptr;
 1049|    416|                    ret = SRE(count)(state, pattern+3, 1);
  ------------------
  |  |  357|    416|#define SRE(F) sre_ucs1_##F
  ------------------
 1050|    416|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|    416|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 416]
  |  |  |  Branch (382:47): [Folded, False: 416]
  |  |  ------------------
  ------------------
 1051|    416|                    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|    416|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|    416|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|    416|do { \
  |  |  |  |  405|    416|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|    416|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|    416|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 416]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|    416|                    if (ret == 0)
  ------------------
  |  Branch (1052:25): [True: 8, False: 408]
  ------------------
 1053|      8|                        break;
 1054|    416|                    assert(ret == 1);
 1055|    408|                    ptr++;
 1056|    408|                    ctx->count++;
 1057|    408|                }
 1058|      8|                if (state->repeat)
  ------------------
  |  Branch (1058:21): [True: 0, False: 8]
  ------------------
 1059|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1060|      8|            }
 1061|      8|            RETURN_FAILURE;
  ------------------
  |  |  378|      8|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1062|       |
 1063|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT_ONE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1064|       |            /* match repeated sequence (maximizing regexp) without
 1065|       |               backtracking */
 1066|       |
 1067|       |            /* this operator only works if the repeated item is
 1068|       |               exactly one character wide, and we're not already
 1069|       |               collecting backtracking points.  for other cases,
 1070|       |               use the MAX_REPEAT operator */
 1071|       |
 1072|       |            /* <POSSESSIVE_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS>
 1073|       |               tail */
 1074|       |
 1075|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT_ONE %d %d\n", pattern,
 1076|      0|                   ptr, pattern[1], pattern[2]));
 1077|       |
 1078|      0|            if (ptr + pattern[1] > end) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1080|      0|            }
 1081|       |
 1082|      0|            state->ptr = ptr;
 1083|       |
 1084|      0|            ret = SRE(count)(state, pattern + 3, pattern[2]);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1085|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1086|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|      0|do { \
  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|            ctx->count = ret;
 1088|      0|            ptr += ctx->count;
 1089|       |
 1090|       |            /* when we arrive here, count contains the number of
 1091|       |               matches, and ptr points to the tail of the target
 1092|       |               string.  check if the rest of the pattern matches,
 1093|       |               and fail if not. */
 1094|       |
 1095|       |            /* Test for not enough repetitions in match */
 1096|      0|            if (ctx->count < (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1096:17): [True: 0, False: 0]
  ------------------
 1097|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1098|      0|            }
 1099|       |
 1100|       |            /* Update the pattern to point to the next op code */
 1101|      0|            pattern += pattern[0];
 1102|       |
 1103|       |            /* Let the tail be evaluated separately and consider this
 1104|       |               match successful. */
 1105|      0|            if (*pattern == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1105:17): [True: 0, False: 0]
  ------------------
 1106|      0|                ptr == state->end &&
  ------------------
  |  Branch (1106:17): [True: 0, False: 0]
  ------------------
 1107|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (1107:19): [True: 0, False: 0]
  |  Branch (1107:36): [True: 0, False: 0]
  |  Branch (1107:59): [True: 0, False: 0]
  ------------------
 1108|      0|            {
 1109|       |                /* tail is empty.  we're finished */
 1110|      0|                state->ptr = ptr;
 1111|      0|                RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1112|      0|            }
 1113|       |
 1114|       |            /* Attempt to match the rest of the string */
 1115|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1116|       |
 1117|     54|        TARGET(SRE_OP_REPEAT):
  ------------------
  |  |  585|     54|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1118|       |            /* create repeat context.  all the hard work is done
 1119|       |               by the UNTIL operator (MAX_UNTIL, MIN_UNTIL) */
 1120|       |            /* <REPEAT> <skip> <1=min> <2=max>
 1121|       |               <3=repeat_index> item <UNTIL> tail */
 1122|     54|            TRACE(("|%p|%p|REPEAT %d %d\n", pattern, ptr,
 1123|     54|                   pattern[1], pattern[2]));
 1124|       |
 1125|       |            /* install new repeat context */
 1126|     54|            ctx->u.rep = repeat_pool_malloc(state);
 1127|     54|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1127:17): [True: 0, False: 54]
  ------------------
 1128|      0|                RETURN_ERROR(SRE_ERROR_MEMORY);
  ------------------
  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1129|      0|            }
 1130|     54|            ctx->u.rep->count = -1;
 1131|     54|            ctx->u.rep->pattern = pattern;
 1132|     54|            ctx->u.rep->prev = state->repeat;
 1133|     54|            ctx->u.rep->last_ptr = NULL;
 1134|     54|            state->repeat = ctx->u.rep;
 1135|       |
 1136|     54|            state->ptr = ptr;
 1137|     54|            DO_JUMP(JUMP_REPEAT, jump_repeat, pattern+pattern[0]);
  ------------------
  |  |  531|     54|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     54|    ctx->pattern = pattern; \
  |  |  |  |  516|     54|    ctx->ptr = ptr; \
  |  |  |  |  517|     54|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     54|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     54|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     54|do { \
  |  |  |  |  |  |  |  |  390|     54|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     54|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     54|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     54|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|     54|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     54|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     54|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     54|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     54|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     54|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     54|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     54|    pattern = nextpattern; \
  |  |  |  |  523|     54|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     54|    ctx = nextctx; \
  |  |  |  |  525|     54|    goto entrance; \
  |  |  |  |  526|     54|    jumplabel: \
  |  |  |  |  527|     54|    pattern = ctx->pattern; \
  |  |  |  |  528|     54|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1138|     54|            state->repeat = ctx->u.rep->prev;
 1139|     54|            repeat_pool_free(state, ctx->u.rep);
 1140|       |
 1141|     54|            if (ret) {
  ------------------
  |  Branch (1141:17): [True: 54, False: 0]
  ------------------
 1142|     54|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|     54|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 54]
  |  |  |  Branch (382:47): [Folded, False: 54]
  |  |  ------------------
  ------------------
 1143|     54|                RETURN_SUCCESS;
  ------------------
  |  |  379|     54|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1144|     54|            }
 1145|      0|            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1146|       |
 1147|     66|        TARGET(SRE_OP_MAX_UNTIL):
  ------------------
  |  |  585|     66|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1148|       |            /* maximizing repeat */
 1149|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MAX_UNTIL> tail */
 1150|       |
 1151|       |            /* FIXME: we probably need to deal with zero-width
 1152|       |               matches in here... */
 1153|       |
 1154|     66|            ctx->u.rep = state->repeat;
 1155|     66|            if (!ctx->u.rep)
  ------------------
  |  Branch (1155:17): [True: 0, False: 66]
  ------------------
 1156|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1157|       |
 1158|     66|            state->ptr = ptr;
 1159|       |
 1160|     66|            ctx->count = ctx->u.rep->count+1;
 1161|       |
 1162|     66|            TRACE(("|%p|%p|MAX_UNTIL %zd\n", pattern,
 1163|     66|                   ptr, ctx->count));
 1164|       |
 1165|     66|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1165:17): [True: 0, False: 66]
  ------------------
 1166|       |                /* not enough matches */
 1167|      0|                ctx->u.rep->count = ctx->count;
 1168|      0|                DO_JUMP(JUMP_MAX_UNTIL_1, jump_max_until_1,
  ------------------
  |  |  531|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1169|      0|                        ctx->u.rep->pattern+3);
 1170|      0|                if (ret) {
  ------------------
  |  Branch (1170:21): [True: 0, False: 0]
  ------------------
 1171|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1172|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1173|      0|                }
 1174|      0|                ctx->u.rep->count = ctx->count-1;
 1175|      0|                state->ptr = ptr;
 1176|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1177|      0|            }
 1178|       |
 1179|     66|            if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
  ------------------
  |  Branch (1179:18): [True: 54, False: 12]
  ------------------
 1180|     12|                ctx->u.rep->pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|     12|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1180:17): [True: 0, False: 12]
  ------------------
 1181|     54|                state->ptr != ctx->u.rep->last_ptr) {
  ------------------
  |  Branch (1181:17): [True: 54, False: 0]
  ------------------
 1182|       |                /* we may have enough matches, but if we can
 1183|       |                   match another item, do so */
 1184|     54|                ctx->u.rep->count = ctx->count;
 1185|     54|                LASTMARK_SAVE();
  ------------------
  |  |  354|     54|    do { \
  |  |  355|     54|        ctx->lastmark = state->lastmark; \
  |  |  356|     54|        ctx->lastindex = state->lastindex; \
  |  |  357|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 1186|     54|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|     54|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 44, False: 10]
  |  |  ------------------
  |  |  473|     44|        MARK_TRACE("push", (lastmark)); \
  |  |  474|     44|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|     44|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|     44|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|     44|do { \
  |  |  |  |  411|     44|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|     44|           data, state->data_stack_base, size)); \
  |  |  |  |  413|     44|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|     44|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|     44|    state->data_stack_base += size; \
  |  |  |  |  421|     44|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 1187|       |                /* zero-width match protection */
 1188|     54|                LAST_PTR_PUSH();
  ------------------
  |  |  365|     54|    do { \
  |  |  366|     54|        TRACE(("push last_ptr: %zd", \
  |  |  367|     54|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  368|     54|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  443|     54|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  409|     54|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  410|     54|do { \
  |  |  |  |  |  |  411|     54|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  412|     54|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  413|     54|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (413:9): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|    } \
  |  |  |  |  |  |  419|     54|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  420|     54|    state->data_stack_base += size; \
  |  |  |  |  |  |  421|     54|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (421:10): [Folded, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  369|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (369:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 1189|     54|                ctx->u.rep->last_ptr = state->ptr;
 1190|     54|                DO_JUMP(JUMP_MAX_UNTIL_2, jump_max_until_2,
  ------------------
  |  |  531|     54|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     54|    ctx->pattern = pattern; \
  |  |  |  |  516|     54|    ctx->ptr = ptr; \
  |  |  |  |  517|     54|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     54|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     54|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     54|do { \
  |  |  |  |  |  |  |  |  390|     54|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     54|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     54|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     54|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|     54|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     54|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     54|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     54|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     54|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     54|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     54|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     54|    pattern = nextpattern; \
  |  |  |  |  523|     54|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     54|    ctx = nextctx; \
  |  |  |  |  525|     54|    goto entrance; \
  |  |  |  |  526|     54|    jumplabel: \
  |  |  |  |  527|     54|    pattern = ctx->pattern; \
  |  |  |  |  528|     54|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1191|     54|                        ctx->u.rep->pattern+3);
 1192|     54|                LAST_PTR_POP();
  ------------------
  |  |  371|     54|    do { \
  |  |  372|     54|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  445|     54|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  426|     54|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  427|     54|do { \
  |  |  |  |  |  |  428|     54|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  429|     54|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  430|     54|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  431|     54|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (431:9): [True: 54, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  432|     54|        state->data_stack_base -= size; \
  |  |  |  |  |  |  433|     54|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (433:10): [Folded, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|     54|        TRACE(("pop last_ptr: %zd", \
  |  |  374|     54|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  375|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (375:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 1193|     54|                if (ret) {
  ------------------
  |  Branch (1193:21): [True: 12, False: 42]
  ------------------
 1194|     12|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|     12|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 10, False: 2]
  |  |  ------------------
  |  |  491|     10|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|     10|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|     10|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|     10|do { \
  |  |  |  |  437|     10|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|     10|           state->data_stack_base-size, size)); \
  |  |  |  |  439|     10|    state->data_stack_base -= size; \
  |  |  |  |  440|     10|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     10|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1195|     12|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|     12|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 12]
  |  |  |  Branch (382:47): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1196|     12|                    RETURN_SUCCESS;
  ------------------
  |  |  379|     12|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1197|     12|                }
 1198|     42|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  478|     42|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (478:12): [True: 34, False: 8]
  |  |  ------------------
  |  |  479|     34|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  480|     34|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  426|     34|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|     34|do { \
  |  |  |  |  428|     34|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|     34|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|     34|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|     34|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [True: 34, Folded]
  |  |  |  |  ------------------
  |  |  |  |  432|     34|        state->data_stack_base -= size; \
  |  |  |  |  433|     34|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  481|     34|        MARK_TRACE("pop", (lastmark)); \
  |  |  482|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (482:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
 1199|     42|                LASTMARK_RESTORE();
  ------------------
  |  |  359|     42|    do { \
  |  |  360|     42|        state->lastmark = ctx->lastmark; \
  |  |  361|     42|        state->lastindex = ctx->lastindex; \
  |  |  362|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
 1200|     42|                ctx->u.rep->count = ctx->count-1;
 1201|     42|                state->ptr = ptr;
 1202|     42|            }
 1203|       |
 1204|       |            /* cannot match more repeated items here.  make sure the
 1205|       |               tail matches */
 1206|     54|            state->repeat = ctx->u.rep->prev;
 1207|     54|            DO_JUMP(JUMP_MAX_UNTIL_3, jump_max_until_3, pattern);
  ------------------
  |  |  531|     54|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     54|    ctx->pattern = pattern; \
  |  |  |  |  516|     54|    ctx->ptr = ptr; \
  |  |  |  |  517|     54|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     54|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     54|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     54|do { \
  |  |  |  |  |  |  |  |  390|     54|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     54|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     54|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     54|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|     54|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     54|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     54|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 54]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     54|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     54|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     54|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     54|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     54|    pattern = nextpattern; \
  |  |  |  |  523|     54|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     54|    ctx = nextctx; \
  |  |  |  |  525|     54|    goto entrance; \
  |  |  |  |  526|     54|    jumplabel: \
  |  |  |  |  527|     54|    pattern = ctx->pattern; \
  |  |  |  |  528|     54|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1208|     54|            state->repeat = ctx->u.rep; // restore repeat before return
 1209|       |
 1210|     54|            RETURN_ON_SUCCESS(ret);
  ------------------
  |  |  384|     54|    do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  382|     54|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (382:14): [True: 0, False: 54]
  |  |  |  |  |  Branch (382:47): [Folded, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  379|     54|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (384:34): [True: 54, False: 0]
  |  |  |  Branch (384:66): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1211|      0|            state->ptr = ptr;
 1212|      0|            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1213|       |
 1214|      0|        TARGET(SRE_OP_MIN_UNTIL):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1215|       |            /* minimizing repeat */
 1216|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MIN_UNTIL> tail */
 1217|       |
 1218|      0|            ctx->u.rep = state->repeat;
 1219|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1219:17): [True: 0, False: 0]
  ------------------
 1220|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1221|       |
 1222|      0|            state->ptr = ptr;
 1223|       |
 1224|      0|            ctx->count = ctx->u.rep->count+1;
 1225|       |
 1226|      0|            TRACE(("|%p|%p|MIN_UNTIL %zd %p\n", pattern,
 1227|      0|                   ptr, ctx->count, ctx->u.rep->pattern));
 1228|       |
 1229|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1229:17): [True: 0, False: 0]
  ------------------
 1230|       |                /* not enough matches */
 1231|      0|                ctx->u.rep->count = ctx->count;
 1232|      0|                DO_JUMP(JUMP_MIN_UNTIL_1, jump_min_until_1,
  ------------------
  |  |  531|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1233|      0|                        ctx->u.rep->pattern+3);
 1234|      0|                if (ret) {
  ------------------
  |  Branch (1234:21): [True: 0, False: 0]
  ------------------
 1235|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1236|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1237|      0|                }
 1238|      0|                ctx->u.rep->count = ctx->count-1;
 1239|      0|                state->ptr = ptr;
 1240|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1241|      0|            }
 1242|       |
 1243|       |            /* see if the tail matches */
 1244|      0|            state->repeat = ctx->u.rep->prev;
 1245|       |
 1246|      0|            LASTMARK_SAVE();
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        ctx->lastmark = state->lastmark; \
  |  |  356|      0|        ctx->lastindex = state->lastindex; \
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1247|      0|            if (state->repeat)
  ------------------
  |  Branch (1247:17): [True: 0, False: 0]
  ------------------
 1248|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  473|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  474|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|      0|do { \
  |  |  |  |  411|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  413|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|      0|    state->data_stack_base += size; \
  |  |  |  |  421|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1249|       |
 1250|      0|            DO_JUMP(JUMP_MIN_UNTIL_2, jump_min_until_2, pattern);
  ------------------
  |  |  531|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1251|      0|            SRE_REPEAT *repeat_of_tail = state->repeat;
 1252|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1253|       |
 1254|      0|            if (ret) {
  ------------------
  |  Branch (1254:17): [True: 0, False: 0]
  ------------------
 1255|      0|                if (repeat_of_tail)
  ------------------
  |  Branch (1255:21): [True: 0, False: 0]
  ------------------
 1256|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1257|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1258|      0|                RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1259|      0|            }
 1260|      0|            if (repeat_of_tail)
  ------------------
  |  Branch (1260:17): [True: 0, False: 0]
  ------------------
 1261|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  478|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (478:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  479|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  480|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  482|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (482:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1262|      0|            LASTMARK_RESTORE();
  ------------------
  |  |  359|      0|    do { \
  |  |  360|      0|        state->lastmark = ctx->lastmark; \
  |  |  361|      0|        state->lastindex = ctx->lastindex; \
  |  |  362|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1263|       |
 1264|      0|            state->ptr = ptr;
 1265|       |
 1266|      0|            if ((ctx->count >= (Py_ssize_t) ctx->u.rep->pattern[2]
  ------------------
  |  Branch (1266:18): [True: 0, False: 0]
  ------------------
 1267|      0|                && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) ||
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1267:20): [True: 0, False: 0]
  ------------------
 1268|      0|                state->ptr == ctx->u.rep->last_ptr)
  ------------------
  |  Branch (1268:17): [True: 0, False: 0]
  ------------------
 1269|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1270|       |
 1271|      0|            ctx->u.rep->count = ctx->count;
 1272|       |            /* zero-width match protection */
 1273|      0|            LAST_PTR_PUSH();
  ------------------
  |  |  365|      0|    do { \
  |  |  366|      0|        TRACE(("push last_ptr: %zd", \
  |  |  367|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  368|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  443|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  409|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  410|      0|do { \
  |  |  |  |  |  |  411|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  412|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  413|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  418|      0|    } \
  |  |  |  |  |  |  419|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  420|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  421|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (421:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  369|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (369:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1274|      0|            ctx->u.rep->last_ptr = state->ptr;
 1275|      0|            DO_JUMP(JUMP_MIN_UNTIL_3,jump_min_until_3,
  ------------------
  |  |  531|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1276|      0|                    ctx->u.rep->pattern+3);
 1277|      0|            LAST_PTR_POP();
  ------------------
  |  |  371|      0|    do { \
  |  |  372|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  445|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  427|      0|do { \
  |  |  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (431:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  433|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  374|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  375|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (375:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|            if (ret) {
  ------------------
  |  Branch (1278:17): [True: 0, False: 0]
  ------------------
 1279|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1280|      0|                RETURN_SUCCESS;
  ------------------
  |  |  379|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1281|      0|            }
 1282|      0|            ctx->u.rep->count = ctx->count-1;
 1283|      0|            state->ptr = ptr;
 1284|      0|            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1285|       |
 1286|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1287|       |            /* create possessive repeat contexts. */
 1288|       |            /* <POSSESSIVE_REPEAT> <skip> <1=min> <2=max> pattern
 1289|       |               <SUCCESS> tail */
 1290|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT %d %d\n", pattern,
 1291|      0|                   ptr, pattern[1], pattern[2]));
 1292|       |
 1293|       |            /* Set the global Input pointer to this context's Input
 1294|       |               pointer */
 1295|      0|            state->ptr = ptr;
 1296|       |
 1297|       |            /* Set state->repeat to non-NULL */
 1298|      0|            ctx->u.rep = repeat_pool_malloc(state);
 1299|      0|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1299:17): [True: 0, False: 0]
  ------------------
 1300|      0|                RETURN_ERROR(SRE_ERROR_MEMORY);
  ------------------
  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1301|      0|            }
 1302|      0|            ctx->u.rep->count = -1;
 1303|      0|            ctx->u.rep->pattern = NULL;
 1304|      0|            ctx->u.rep->prev = state->repeat;
 1305|      0|            ctx->u.rep->last_ptr = NULL;
 1306|      0|            state->repeat = ctx->u.rep;
 1307|       |
 1308|       |            /* Initialize Count to 0 */
 1309|      0|            ctx->count = 0;
 1310|       |
 1311|       |            /* Check for minimum required matches. */
 1312|      0|            while (ctx->count < (Py_ssize_t)pattern[1]) {
  ------------------
  |  Branch (1312:20): [True: 0, False: 0]
  ------------------
 1313|       |                /* not enough matches */
 1314|      0|                DO_JUMP0(JUMP_POSS_REPEAT_1, jump_poss_repeat_1,
  ------------------
  |  |  534|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1315|      0|                         &pattern[3]);
 1316|      0|                if (ret) {
  ------------------
  |  Branch (1316:21): [True: 0, False: 0]
  ------------------
 1317|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1318|      0|                    ctx->count++;
 1319|      0|                }
 1320|      0|                else {
 1321|      0|                    state->ptr = ptr;
 1322|       |                    /* Restore state->repeat */
 1323|      0|                    state->repeat = ctx->u.rep->prev;
 1324|      0|                    repeat_pool_free(state, ctx->u.rep);
 1325|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1326|      0|                }
 1327|      0|            }
 1328|       |
 1329|       |            /* Clear the context's Input stream pointer so that it
 1330|       |               doesn't match the global state so that the while loop can
 1331|       |               be entered. */
 1332|      0|            ptr = NULL;
 1333|       |
 1334|       |            /* Keep trying to parse the <pattern> sub-pattern until the
 1335|       |               end is reached, creating a new context each time. */
 1336|      0|            while ((ctx->count < (Py_ssize_t)pattern[2] ||
  ------------------
  |  Branch (1336:21): [True: 0, False: 0]
  ------------------
 1337|      0|                    (Py_ssize_t)pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1337:21): [True: 0, False: 0]
  ------------------
 1338|      0|                   state->ptr != ptr) {
  ------------------
  |  Branch (1338:20): [True: 0, False: 0]
  ------------------
 1339|       |                /* Save the Capture Group Marker state into the current
 1340|       |                   Context and back up the current highest number
 1341|       |                   Capture Group marker. */
 1342|      0|                LASTMARK_SAVE();
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        ctx->lastmark = state->lastmark; \
  |  |  356|      0|        ctx->lastindex = state->lastindex; \
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1343|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  473|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  474|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|      0|do { \
  |  |  |  |  411|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  413|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|      0|    state->data_stack_base += size; \
  |  |  |  |  421|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1344|       |
 1345|       |                /* zero-width match protection */
 1346|       |                /* Set the context's Input Stream pointer to be the
 1347|       |                   current Input Stream pointer from the global
 1348|       |                   state.  When the loop reaches the next iteration,
 1349|       |                   the context will then store the last known good
 1350|       |                   position with the global state holding the Input
 1351|       |                   Input Stream position that has been updated with
 1352|       |                   the most recent match.  Thus, if state's Input
 1353|       |                   stream remains the same as the one stored in the
 1354|       |                   current Context, we know we have successfully
 1355|       |                   matched an empty string and that all subsequent
 1356|       |                   matches will also be the empty string until the
 1357|       |                   maximum number of matches are counted, and because
 1358|       |                   of this, we could immediately stop at that point and
 1359|       |                   consider this match successful. */
 1360|      0|                ptr = state->ptr;
 1361|       |
 1362|       |                /* We have not reached the maximin matches, so try to
 1363|       |                   match once more. */
 1364|      0|                DO_JUMP0(JUMP_POSS_REPEAT_2, jump_poss_repeat_2,
  ------------------
  |  |  534|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1365|      0|                         &pattern[3]);
 1366|       |
 1367|       |                /* Check to see if the last attempted match
 1368|       |                   succeeded. */
 1369|      0|                if (ret) {
  ------------------
  |  Branch (1369:21): [True: 0, False: 0]
  ------------------
 1370|       |                    /* Drop the saved highest number Capture Group
 1371|       |                       marker saved above and use the newly updated
 1372|       |                       value. */
 1373|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1374|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1375|       |
 1376|       |                    /* Success, increment the count. */
 1377|      0|                    ctx->count++;
 1378|      0|                }
 1379|       |                /* Last attempted match failed. */
 1380|      0|                else {
 1381|       |                    /* Restore the previously saved highest number
 1382|       |                       Capture Group marker since the last iteration
 1383|       |                       did not match, then restore that to the global
 1384|       |                       state. */
 1385|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  478|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (478:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  479|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  480|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  482|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (482:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1386|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  359|      0|    do { \
  |  |  360|      0|        state->lastmark = ctx->lastmark; \
  |  |  361|      0|        state->lastindex = ctx->lastindex; \
  |  |  362|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1387|       |
 1388|       |                    /* Restore the global Input Stream pointer
 1389|       |                       since it can change after jumps. */
 1390|      0|                    state->ptr = ptr;
 1391|       |
 1392|       |                    /* We have sufficient matches, so exit loop. */
 1393|      0|                    break;
 1394|      0|                }
 1395|      0|            }
 1396|       |
 1397|       |            /* Restore state->repeat */
 1398|      0|            state->repeat = ctx->u.rep->prev;
 1399|      0|            repeat_pool_free(state, ctx->u.rep);
 1400|       |
 1401|       |            /* Evaluate Tail */
 1402|       |            /* Jump to end of pattern indicated by skip, and then skip
 1403|       |               the SUCCESS op code that follows it. */
 1404|      0|            pattern += pattern[0] + 1;
 1405|      0|            ptr = state->ptr;
 1406|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1407|       |
 1408|      0|        TARGET(SRE_OP_ATOMIC_GROUP):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1409|       |            /* Atomic Group Sub Pattern */
 1410|       |            /* <ATOMIC_GROUP> <skip> pattern <SUCCESS> tail */
 1411|      0|            TRACE(("|%p|%p|ATOMIC_GROUP\n", pattern, ptr));
 1412|       |
 1413|       |            /* Set the global Input pointer to this context's Input
 1414|       |               pointer */
 1415|      0|            state->ptr = ptr;
 1416|       |
 1417|       |            /* Evaluate the Atomic Group in a new context, terminating
 1418|       |               when the end of the group, represented by a SUCCESS op
 1419|       |               code, is reached. */
 1420|       |            /* Group Pattern begins at an offset of 1 code. */
 1421|      0|            DO_JUMP0(JUMP_ATOMIC_GROUP, jump_atomic_group,
  ------------------
  |  |  534|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1422|      0|                     &pattern[1]);
 1423|       |
 1424|       |            /* Test Exit Condition */
 1425|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1426|       |
 1427|      0|            if (ret == 0) {
  ------------------
  |  Branch (1427:17): [True: 0, False: 0]
  ------------------
 1428|       |                /* Atomic Group failed to Match. */
 1429|      0|                state->ptr = ptr;
 1430|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1431|      0|            }
 1432|       |
 1433|       |            /* Evaluate Tail */
 1434|       |            /* Jump to end of pattern indicated by skip, and then skip
 1435|       |               the SUCCESS op code that follows it. */
 1436|      0|            pattern += pattern[0];
 1437|      0|            ptr = state->ptr;
 1438|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1439|       |
 1440|      0|        TARGET(SRE_OP_GROUPREF):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1441|       |            /* match backreference */
 1442|      0|            TRACE(("|%p|%p|GROUPREF %d\n", pattern,
 1443|      0|                   ptr, pattern[0]));
 1444|      0|            {
 1445|      0|                int groupref = pattern[0] * 2;
 1446|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1446:21): [True: 0, False: 0]
  ------------------
 1447|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1448|      0|                } else {
 1449|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1450|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1451|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1451:25): [True: 0, False: 0]
  |  Branch (1451:31): [True: 0, False: 0]
  |  Branch (1451:37): [True: 0, False: 0]
  ------------------
 1452|      0|                        RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1453|      0|                    while (p < e) {
  ------------------
  |  Branch (1453:28): [True: 0, False: 0]
  ------------------
 1454|      0|                        if (ptr >= end || *ptr != *p)
  ------------------
  |  Branch (1454:29): [True: 0, False: 0]
  |  Branch (1454:43): [True: 0, False: 0]
  ------------------
 1455|      0|                            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1456|      0|                        p++;
 1457|      0|                        ptr++;
 1458|      0|                    }
 1459|      0|                }
 1460|      0|            }
 1461|      0|            pattern++;
 1462|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1463|       |
 1464|      0|        TARGET(SRE_OP_GROUPREF_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1465|       |            /* match backreference */
 1466|      0|            TRACE(("|%p|%p|GROUPREF_IGNORE %d\n", pattern,
 1467|      0|                   ptr, pattern[0]));
 1468|      0|            {
 1469|      0|                int groupref = pattern[0] * 2;
 1470|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1470:21): [True: 0, False: 0]
  ------------------
 1471|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1472|      0|                } else {
 1473|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1474|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1475|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1475:25): [True: 0, False: 0]
  |  Branch (1475:31): [True: 0, False: 0]
  |  Branch (1475:37): [True: 0, False: 0]
  ------------------
 1476|      0|                        RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1477|      0|                    while (p < e) {
  ------------------
  |  Branch (1477:28): [True: 0, False: 0]
  ------------------
 1478|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1478:29): [True: 0, False: 0]
  ------------------
 1479|      0|                            sre_lower_ascii(*ptr) != sre_lower_ascii(*p))
  ------------------
  |  Branch (1479:29): [True: 0, False: 0]
  ------------------
 1480|      0|                            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1481|      0|                        p++;
 1482|      0|                        ptr++;
 1483|      0|                    }
 1484|      0|                }
 1485|      0|            }
 1486|      0|            pattern++;
 1487|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1488|       |
 1489|      0|        TARGET(SRE_OP_GROUPREF_UNI_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1490|       |            /* match backreference */
 1491|      0|            TRACE(("|%p|%p|GROUPREF_UNI_IGNORE %d\n", pattern,
 1492|      0|                   ptr, pattern[0]));
 1493|      0|            {
 1494|      0|                int groupref = pattern[0] * 2;
 1495|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1495:21): [True: 0, False: 0]
  ------------------
 1496|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1497|      0|                } else {
 1498|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1499|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1500|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1500:25): [True: 0, False: 0]
  |  Branch (1500:31): [True: 0, False: 0]
  |  Branch (1500:37): [True: 0, False: 0]
  ------------------
 1501|      0|                        RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1502|      0|                    while (p < e) {
  ------------------
  |  Branch (1502:28): [True: 0, False: 0]
  ------------------
 1503|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1503:29): [True: 0, False: 0]
  ------------------
 1504|      0|                            sre_lower_unicode(*ptr) != sre_lower_unicode(*p))
  ------------------
  |  Branch (1504:29): [True: 0, False: 0]
  ------------------
 1505|      0|                            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1506|      0|                        p++;
 1507|      0|                        ptr++;
 1508|      0|                    }
 1509|      0|                }
 1510|      0|            }
 1511|      0|            pattern++;
 1512|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1513|       |
 1514|      0|        TARGET(SRE_OP_GROUPREF_LOC_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1515|       |            /* match backreference */
 1516|      0|            TRACE(("|%p|%p|GROUPREF_LOC_IGNORE %d\n", pattern,
 1517|      0|                   ptr, pattern[0]));
 1518|      0|            {
 1519|      0|                int groupref = pattern[0] * 2;
 1520|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1520:21): [True: 0, False: 0]
  ------------------
 1521|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1522|      0|                } else {
 1523|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1524|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1525|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1525:25): [True: 0, False: 0]
  |  Branch (1525:31): [True: 0, False: 0]
  |  Branch (1525:37): [True: 0, False: 0]
  ------------------
 1526|      0|                        RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1527|      0|                    while (p < e) {
  ------------------
  |  Branch (1527:28): [True: 0, False: 0]
  ------------------
 1528|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1528:29): [True: 0, False: 0]
  ------------------
 1529|      0|                            sre_lower_locale(*ptr) != sre_lower_locale(*p))
  ------------------
  |  Branch (1529:29): [True: 0, False: 0]
  ------------------
 1530|      0|                            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1531|      0|                        p++;
 1532|      0|                        ptr++;
 1533|      0|                    }
 1534|      0|                }
 1535|      0|            }
 1536|      0|            pattern++;
 1537|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1538|       |
 1539|      0|        TARGET(SRE_OP_GROUPREF_EXISTS):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1540|      0|            TRACE(("|%p|%p|GROUPREF_EXISTS %d\n", pattern,
 1541|      0|                   ptr, pattern[0]));
 1542|       |            /* <GROUPREF_EXISTS> <group> <skip> codeyes <JUMP> codeno ... */
 1543|      0|            {
 1544|      0|                int groupref = pattern[0] * 2;
 1545|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1545:21): [True: 0, False: 0]
  ------------------
 1546|      0|                    pattern += pattern[1];
 1547|      0|                    DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1548|      0|                } else {
 1549|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1550|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1551|      0|                    if (!p || !e || e < p) {
  ------------------
  |  Branch (1551:25): [True: 0, False: 0]
  |  Branch (1551:31): [True: 0, False: 0]
  |  Branch (1551:37): [True: 0, False: 0]
  ------------------
 1552|      0|                        pattern += pattern[1];
 1553|      0|                        DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1554|      0|                    }
 1555|      0|                }
 1556|      0|            }
 1557|      0|            pattern += 2;
 1558|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1559|       |
 1560|      6|        TARGET(SRE_OP_ASSERT):
  ------------------
  |  |  585|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1561|       |            /* assert subpattern */
 1562|       |            /* <ASSERT> <skip> <back> <pattern> */
 1563|      6|            TRACE(("|%p|%p|ASSERT %d\n", pattern,
 1564|      6|                   ptr, pattern[1]));
 1565|      6|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) < pattern[1])
  ------------------
  |  Branch (1565:17): [True: 0, False: 6]
  ------------------
 1566|      0|                RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1567|      6|            state->ptr = ptr - pattern[1];
 1568|      6|            DO_JUMP0(JUMP_ASSERT, jump_assert, pattern+2);
  ------------------
  |  |  534|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  515|      6|    ctx->pattern = pattern; \
  |  |  |  |  516|      6|    ctx->ptr = ptr; \
  |  |  |  |  517|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      6|do { \
  |  |  |  |  |  |  |  |  390|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      6|    pattern = nextpattern; \
  |  |  |  |  523|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      6|    ctx = nextctx; \
  |  |  |  |  525|      6|    goto entrance; \
  |  |  |  |  526|      6|    jumplabel: \
  |  |  |  |  527|      6|    pattern = ctx->pattern; \
  |  |  |  |  528|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1569|      6|            RETURN_ON_FAILURE(ret);
  ------------------
  |  |  386|      6|    do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  382|      6|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (382:14): [True: 0, False: 6]
  |  |  |  |  |  Branch (382:47): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  378|      6|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (386:34): [True: 6, False: 0]
  |  |  |  Branch (386:67): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1570|      0|            pattern += pattern[0];
 1571|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1572|       |
 1573|      0|        TARGET(SRE_OP_ASSERT_NOT):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1574|       |            /* assert not subpattern */
 1575|       |            /* <ASSERT_NOT> <skip> <back> <pattern> */
 1576|      0|            TRACE(("|%p|%p|ASSERT_NOT %d\n", pattern,
 1577|      0|                   ptr, pattern[1]));
 1578|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) >= pattern[1]) {
  ------------------
  |  Branch (1578:17): [True: 0, False: 0]
  ------------------
 1579|      0|                state->ptr = ptr - pattern[1];
 1580|      0|                LASTMARK_SAVE();
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        ctx->lastmark = state->lastmark; \
  |  |  356|      0|        ctx->lastindex = state->lastindex; \
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1581|      0|                if (state->repeat)
  ------------------
  |  Branch (1581:21): [True: 0, False: 0]
  ------------------
 1582|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  472|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (472:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  473|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  474|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  475|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  409|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  410|      0|do { \
  |  |  |  |  411|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  412|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  413|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  415|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  416|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  418|      0|    } \
  |  |  |  |  419|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  420|      0|    state->data_stack_base += size; \
  |  |  |  |  421|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  476|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (476:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1583|       |
 1584|      0|                DO_JUMP0(JUMP_ASSERT_NOT, jump_assert_not, pattern+2);
  ------------------
  |  |  534|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  515|      0|    ctx->pattern = pattern; \
  |  |  |  |  516|      0|    ctx->ptr = ptr; \
  |  |  |  |  517|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|      0|do { \
  |  |  |  |  |  |  |  |  390|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  394|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  395|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (395:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (396:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  397|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  403|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  404|      0|do { \
  |  |  |  |  |  |  |  |  |  |  405|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  406|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  407|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (407:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  398|      0|    } \
  |  |  |  |  |  |  |  |  399|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|      0|    pattern = nextpattern; \
  |  |  |  |  523|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  524|      0|    ctx = nextctx; \
  |  |  |  |  525|      0|    goto entrance; \
  |  |  |  |  526|      0|    jumplabel: \
  |  |  |  |  527|      0|    pattern = ctx->pattern; \
  |  |  |  |  528|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1585|      0|                if (ret) {
  ------------------
  |  Branch (1585:21): [True: 0, False: 0]
  ------------------
 1586|      0|                    if (state->repeat)
  ------------------
  |  Branch (1586:25): [True: 0, False: 0]
  ------------------
 1587|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  490|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (490:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  492|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  435|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|      0|do { \
  |  |  |  |  437|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  439|      0|    state->data_stack_base -= size; \
  |  |  |  |  440|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1588|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:14): [True: 0, False: 0]
  |  |  |  Branch (382:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1589|      0|                    RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1590|      0|                }
 1591|      0|                if (state->repeat)
  ------------------
  |  Branch (1591:21): [True: 0, False: 0]
  ------------------
 1592|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  478|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (478:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  479|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  480|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  426|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  427|      0|do { \
  |  |  |  |  428|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  429|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  430|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  431|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (431:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  432|      0|        state->data_stack_base -= size; \
  |  |  |  |  433|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (433:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  481|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  482|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (482:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1593|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  359|      0|    do { \
  |  |  360|      0|        state->lastmark = ctx->lastmark; \
  |  |  361|      0|        state->lastindex = ctx->lastindex; \
  |  |  362|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1594|      0|            }
 1595|      0|            pattern += pattern[0];
 1596|      0|            DISPATCH;
  ------------------
  |  |  587|      0|        do {                               \
  |  |  588|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|      0|    do {                                                           \
  |  |  |  |  |  |  553|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (553:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  554|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  555|      0|        }                                                          \
  |  |  |  |  |  |  556|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|      0|            goto *sre_targets[*pattern++]; \
  |  |  590|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1597|       |
 1598|      0|        TARGET(SRE_OP_FAILURE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1599|       |            /* immediate failure */
 1600|      0|            TRACE(("|%p|%p|FAILURE\n", pattern, ptr));
 1601|      0|            RETURN_FAILURE;
  ------------------
  |  |  378|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1602|       |
 1603|       |#if !USE_COMPUTED_GOTOS
 1604|       |        default:
 1605|       |#endif
 1606|       |        // Also any unused opcodes:
 1607|      0|        TARGET(SRE_OP_RANGE_UNI_IGNORE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1608|      0|        TARGET(SRE_OP_SUBPATTERN):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1609|      0|        TARGET(SRE_OP_RANGE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1610|      0|        TARGET(SRE_OP_NEGATE):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1611|      0|        TARGET(SRE_OP_BIGCHARSET):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1612|      0|        TARGET(SRE_OP_CHARSET):
  ------------------
  |  |  585|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1613|      0|            TRACE(("|%p|%p|UNKNOWN %d\n", pattern, ptr,
 1614|      0|                   pattern[-1]));
 1615|      0|            RETURN_ERROR(SRE_ERROR_ILLEGAL);
  ------------------
  |  |  377|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (377:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1616|       |
 1617|      0|    }
 1618|       |
 1619|    776|exit:
 1620|    776|    ctx_pos = ctx->last_ctx_pos;
 1621|    776|    jump = ctx->jump;
 1622|    776|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  447|    776|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  435|    776|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|    776|do { \
  |  |  |  |  437|    776|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|    776|           state->data_stack_base-size, size)); \
  |  |  |  |  439|    776|    state->data_stack_base -= size; \
  |  |  |  |  440|    776|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|    776|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1623:9): [True: 60, False: 716]
  ------------------
 1624|     60|        state->sigcount = sigcount;
 1625|     60|        return ret;
 1626|     60|    }
 1627|    716|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|    716|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|    716|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|    716|do { \
  |  |  |  |  405|    716|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|    716|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|    716|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 716]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|       |
 1629|    716|    switch (jump) {
  ------------------
  |  Branch (1629:13): [True: 716, False: 0]
  ------------------
 1630|     54|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  498|     54|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1630:9): [True: 54, False: 662]
  ------------------
 1631|     54|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_2\n", pattern, ptr));
 1632|     54|            goto jump_max_until_2;
 1633|     54|        case JUMP_MAX_UNTIL_3:
  ------------------
  |  |  499|     54|#define JUMP_MAX_UNTIL_3     3
  ------------------
  |  Branch (1633:9): [True: 54, False: 662]
  ------------------
 1634|     54|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_3\n", pattern, ptr));
 1635|     54|            goto jump_max_until_3;
 1636|      0|        case JUMP_MIN_UNTIL_2:
  ------------------
  |  |  501|      0|#define JUMP_MIN_UNTIL_2     5
  ------------------
  |  Branch (1636:9): [True: 0, False: 716]
  ------------------
 1637|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_2\n", pattern, ptr));
 1638|      0|            goto jump_min_until_2;
 1639|      0|        case JUMP_MIN_UNTIL_3:
  ------------------
  |  |  502|      0|#define JUMP_MIN_UNTIL_3     6
  ------------------
  |  Branch (1639:9): [True: 0, False: 716]
  ------------------
 1640|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1641|      0|            goto jump_min_until_3;
 1642|     22|        case JUMP_BRANCH:
  ------------------
  |  |  507|     22|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1642:9): [True: 22, False: 694]
  ------------------
 1643|     22|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1644|     22|            goto jump_branch;
 1645|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  497|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1645:9): [True: 0, False: 716]
  ------------------
 1646|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_1\n", pattern, ptr));
 1647|      0|            goto jump_max_until_1;
 1648|      0|        case JUMP_MIN_UNTIL_1:
  ------------------
  |  |  500|      0|#define JUMP_MIN_UNTIL_1     4
  ------------------
  |  Branch (1648:9): [True: 0, False: 716]
  ------------------
 1649|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_1\n", pattern, ptr));
 1650|      0|            goto jump_min_until_1;
 1651|      0|        case JUMP_POSS_REPEAT_1:
  ------------------
  |  |  510|      0|#define JUMP_POSS_REPEAT_1   14
  ------------------
  |  Branch (1651:9): [True: 0, False: 716]
  ------------------
 1652|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_1\n", pattern, ptr));
 1653|      0|            goto jump_poss_repeat_1;
 1654|      0|        case JUMP_POSS_REPEAT_2:
  ------------------
  |  |  511|      0|#define JUMP_POSS_REPEAT_2   15
  ------------------
  |  Branch (1654:9): [True: 0, False: 716]
  ------------------
 1655|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_2\n", pattern, ptr));
 1656|      0|            goto jump_poss_repeat_2;
 1657|     54|        case JUMP_REPEAT:
  ------------------
  |  |  503|     54|#define JUMP_REPEAT          7
  ------------------
  |  Branch (1657:9): [True: 54, False: 662]
  ------------------
 1658|     54|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1659|     54|            goto jump_repeat;
 1660|     12|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  504|     12|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1660:9): [True: 12, False: 704]
  ------------------
 1661|     12|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1662|     12|            goto jump_repeat_one_1;
 1663|     98|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  505|     98|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1663:9): [True: 98, False: 618]
  ------------------
 1664|     98|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1665|     98|            goto jump_repeat_one_2;
 1666|    416|        case JUMP_MIN_REPEAT_ONE:
  ------------------
  |  |  506|    416|#define JUMP_MIN_REPEAT_ONE  10
  ------------------
  |  Branch (1666:9): [True: 416, False: 300]
  ------------------
 1667|    416|            TRACE(("|%p|%p|JUMP_MIN_REPEAT_ONE\n", pattern, ptr));
 1668|    416|            goto jump_min_repeat_one;
 1669|      0|        case JUMP_ATOMIC_GROUP:
  ------------------
  |  |  512|      0|#define JUMP_ATOMIC_GROUP    16
  ------------------
  |  Branch (1669:9): [True: 0, False: 716]
  ------------------
 1670|      0|            TRACE(("|%p|%p|JUMP_ATOMIC_GROUP\n", pattern, ptr));
 1671|      0|            goto jump_atomic_group;
 1672|      6|        case JUMP_ASSERT:
  ------------------
  |  |  508|      6|#define JUMP_ASSERT          12
  ------------------
  |  Branch (1672:9): [True: 6, False: 710]
  ------------------
 1673|      6|            TRACE(("|%p|%p|JUMP_ASSERT\n", pattern, ptr));
 1674|      6|            goto jump_assert;
 1675|      0|        case JUMP_ASSERT_NOT:
  ------------------
  |  |  509|      0|#define JUMP_ASSERT_NOT      13
  ------------------
  |  Branch (1675:9): [True: 0, False: 716]
  ------------------
 1676|      0|            TRACE(("|%p|%p|JUMP_ASSERT_NOT\n", pattern, ptr));
 1677|      0|            goto jump_assert_not;
 1678|      0|        case JUMP_NONE:
  ------------------
  |  |  496|      0|#define JUMP_NONE            0
  ------------------
  |  Branch (1678:9): [True: 0, False: 716]
  ------------------
 1679|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1680|      0|                   ptr, ret));
 1681|      0|            break;
 1682|    716|    }
 1683|       |
 1684|      0|    return ret; /* should never get here */
 1685|    716|}
sre.c:sre_ucs1_at:
   17|     48|{
   18|       |    /* check if pointer is at given position */
   19|       |
   20|     48|    Py_ssize_t thisp, thatp;
   21|       |
   22|     48|    switch (at) {
  ------------------
  |  Branch (22:13): [True: 48, False: 0]
  ------------------
   23|       |
   24|     32|    case SRE_AT_BEGINNING:
  ------------------
  |  |   58|     32|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (24:5): [True: 32, False: 16]
  ------------------
   25|     32|    case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|     32|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (25:5): [True: 0, False: 48]
  ------------------
   26|     32|        return ((void*) ptr == state->beginning);
   27|       |
   28|      0|    case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      0|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (28:5): [True: 0, False: 48]
  ------------------
   29|      0|        return ((void*) ptr == state->beginning ||
  ------------------
  |  Branch (29:17): [True: 0, False: 0]
  ------------------
   30|      0|                SRE_IS_LINEBREAK((int) ptr[-1]));
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (141:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   31|       |
   32|     10|    case SRE_AT_END:
  ------------------
  |  |   63|     10|#define SRE_AT_END 5
  ------------------
  |  Branch (32:5): [True: 10, False: 38]
  ------------------
   33|     10|        return (((SRE_CHAR *)state->end - ptr == 1 &&
  ------------------
  |  Branch (33:18): [True: 0, False: 10]
  ------------------
   34|      0|                 SRE_IS_LINEBREAK((int) ptr[0])) ||
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (141:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   35|     10|                ((void*) ptr == state->end));
  ------------------
  |  Branch (35:17): [True: 8, False: 2]
  ------------------
   36|       |
   37|      0|    case SRE_AT_END_LINE:
  ------------------
  |  |   64|      0|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (37:5): [True: 0, False: 48]
  ------------------
   38|      0|        return ((void*) ptr == state->end ||
  ------------------
  |  Branch (38:17): [True: 0, False: 0]
  ------------------
   39|      0|                SRE_IS_LINEBREAK((int) ptr[0]));
  ------------------
  |  |  141|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (141:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   40|       |
   41|      6|    case SRE_AT_END_STRING:
  ------------------
  |  |   65|      6|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (41:5): [True: 6, False: 42]
  ------------------
   42|      6|        return ((void*) ptr == state->end);
   43|       |
   44|      0|    case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      0|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (44:5): [True: 0, False: 48]
  ------------------
   45|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  143|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   47|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (47:17): [True: 0, False: 0]
  ------------------
   48|      0|            SRE_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  143|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   49|      0|        return thisp != thatp;
   50|       |
   51|      0|    case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      0|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (51:5): [True: 0, False: 48]
  ------------------
   52|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  143|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   54|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (54:17): [True: 0, False: 0]
  ------------------
   55|      0|            SRE_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  143|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  |  |  ------------------
  |  |  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  |  Branch (143:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   56|      0|        return thisp == thatp;
   57|       |
   58|      0|    case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      0|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (58:5): [True: 0, False: 48]
  ------------------
   59|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (59:17): [True: 0, False: 0]
  ------------------
   60|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   61|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|            SRE_LOC_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   63|      0|        return thisp != thatp;
   64|       |
   65|      0|    case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      0|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (65:5): [True: 0, False: 48]
  ------------------
   66|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (66:17): [True: 0, False: 0]
  ------------------
   67|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   68|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (68:17): [True: 0, False: 0]
  ------------------
   69|      0|            SRE_LOC_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  154|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  153|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (153:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (154:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   70|      0|        return thisp == thatp;
   71|       |
   72|      0|    case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      0|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (72:5): [True: 0, False: 48]
  ------------------
   73|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (73:17): [True: 0, False: 0]
  ------------------
   74|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   75|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (75:17): [True: 0, False: 0]
  ------------------
   76|      0|            SRE_UNI_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   77|      0|        return thisp != thatp;
   78|       |
   79|      0|    case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      0|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (79:5): [True: 0, False: 48]
  ------------------
   80|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (80:17): [True: 0, False: 0]
  ------------------
   81|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   82|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (82:17): [True: 0, False: 0]
  ------------------
   83|      0|            SRE_UNI_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  171|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (172:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return thisp == thatp;
   85|       |
   86|     48|    }
   87|       |
   88|      0|    return 0;
   89|     48|}
sre.c:sre_ucs1_charset:
   93|    546|{
   94|       |    /* check if character is a member of the given set */
   95|       |
   96|    546|    int ok = 1;
   97|       |
   98|    710|    for (;;) {
   99|    710|        switch (*set++) {
  100|       |
  101|    106|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|    106|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (101:9): [True: 106, False: 604]
  ------------------
  102|    106|            return !ok;
  103|       |
  104|     72|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     72|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (104:9): [True: 72, False: 638]
  ------------------
  105|       |            /* <LITERAL> <code> */
  106|     72|            if (ch == set[0])
  ------------------
  |  Branch (106:17): [True: 36, False: 36]
  ------------------
  107|     36|                return ok;
  108|     36|            set++;
  109|     36|            break;
  110|       |
  111|    498|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|    498|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (111:9): [True: 498, False: 212]
  ------------------
  112|       |            /* <CATEGORY> <code> */
  113|    498|            if (sre_category(set[0], (int) ch))
  ------------------
  |  Branch (113:17): [True: 394, False: 104]
  ------------------
  114|    394|                return ok;
  115|    104|            set++;
  116|    104|            break;
  117|       |
  118|     32|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|     32|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (118:9): [True: 32, False: 678]
  ------------------
  119|       |            /* <CHARSET> <bitmap> */
  120|     32|            if (ch < 256 &&
  ------------------
  |  Branch (120:17): [True: 32, False: 0]
  ------------------
  121|     32|                (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   55|     32|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
                              (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   55|     32|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (121:17): [True: 8, False: 24]
  ------------------
  122|      8|                return ok;
  123|     24|            set += 256/SRE_CODE_BITS;
  ------------------
  |  |   55|     24|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  124|     24|            break;
  125|       |
  126|      0|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      0|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (126:9): [True: 0, False: 710]
  ------------------
  127|       |            /* <RANGE> <lower> <upper> */
  128|      0|            if (set[0] <= ch && ch <= set[1])
  ------------------
  |  Branch (128:17): [True: 0, False: 0]
  |  Branch (128:33): [True: 0, False: 0]
  ------------------
  129|      0|                return ok;
  130|      0|            set += 2;
  131|      0|            break;
  132|       |
  133|      0|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      0|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (133:9): [True: 0, False: 710]
  ------------------
  134|       |            /* <RANGE_UNI_IGNORE> <lower> <upper> */
  135|      0|        {
  136|      0|            SRE_CODE uch;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
  137|       |            /* ch is already lower cased */
  138|      0|            if (set[0] <= ch && ch <= set[1])
  ------------------
  |  Branch (138:17): [True: 0, False: 0]
  |  Branch (138:33): [True: 0, False: 0]
  ------------------
  139|      0|                return ok;
  140|      0|            uch = sre_upper_unicode(ch);
  141|      0|            if (set[0] <= uch && uch <= set[1])
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  |  Branch (141:34): [True: 0, False: 0]
  ------------------
  142|      0|                return ok;
  143|      0|            set += 2;
  144|      0|            break;
  145|      0|        }
  146|       |
  147|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (147:9): [True: 0, False: 710]
  ------------------
  148|      0|            ok = !ok;
  149|      0|            break;
  150|       |
  151|      2|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      2|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (151:9): [True: 2, False: 708]
  ------------------
  152|       |            /* <BIGCHARSET> <blockcount> <256 blockindices> <blocks> */
  153|      2|        {
  154|      2|            Py_ssize_t count, block;
  155|      2|            count = *(set++);
  156|       |
  157|      2|            if (ch < 0x10000u)
  ------------------
  |  Branch (157:17): [True: 2, False: 0]
  ------------------
  158|      2|                block = ((unsigned char*)set)[ch >> 8];
  159|      0|            else
  160|      0|                block = -1;
  161|      2|            set += 256/sizeof(SRE_CODE);
  162|      2|            if (block >=0 &&
  ------------------
  |  Branch (162:17): [True: 2, False: 0]
  ------------------
  163|      2|                (set[(block * 256 + (ch & 255))/SRE_CODE_BITS] &
  ------------------
  |  |   55|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (163:17): [True: 2, False: 0]
  ------------------
  164|      2|                    (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   55|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  165|      2|                return ok;
  166|      0|            set += count * (256/SRE_CODE_BITS);
  ------------------
  |  |   55|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  167|      0|            break;
  168|      2|        }
  169|       |
  170|      0|        default:
  ------------------
  |  Branch (170:9): [True: 0, False: 710]
  ------------------
  171|       |            /* internal error -- there's not much we can do about it
  172|       |               here, so let's just pretend it didn't match... */
  173|      0|            return 0;
  174|    710|        }
  175|    710|    }
  176|    546|}
sre.c:sre_ucs1_count:
  194|    552|{
  195|    552|    SRE_CODE chr;
  ------------------
  |  |   18|    552|#define SRE_CODE Py_UCS4
  ------------------
  196|    552|    SRE_CHAR c;
  ------------------
  |  |  355|    552|#define SRE_CHAR Py_UCS1
  ------------------
  197|    552|    const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr;
  198|    552|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  199|    552|    Py_ssize_t i;
  200|    552|    INIT_TRACE(state);
  201|       |
  202|       |    /* adjust end */
  203|    552|    if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT)
  ------------------
  |  |   20|    410|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (203:9): [True: 410, False: 142]
  |  Branch (203:33): [True: 410, False: 0]
  ------------------
  204|    410|        end = ptr + maxcount;
  205|       |
  206|    552|    switch (pattern[0]) {
  207|       |
  208|    128|    case SRE_OP_IN:
  ------------------
  |  |   28|    128|#define SRE_OP_IN 13
  ------------------
  |  Branch (208:5): [True: 128, False: 424]
  ------------------
  209|       |        /* repeated set */
  210|    128|        TRACE(("|%p|%p|COUNT IN\n", pattern, ptr));
  211|    552|        while (ptr < end && SRE(charset)(state, pattern + 2, *ptr))
  ------------------
  |  |  357|    514|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (211:16): [True: 514, False: 38]
  |  Branch (211:29): [True: 424, False: 90]
  ------------------
  212|    424|            ptr++;
  213|    128|        break;
  214|       |
  215|    416|    case SRE_OP_ANY:
  ------------------
  |  |   17|    416|#define SRE_OP_ANY 2
  ------------------
  |  Branch (215:5): [True: 416, False: 136]
  ------------------
  216|       |        /* repeated dot wildcard. */
  217|    416|        TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));
  218|    824|        while (ptr < end && !SRE_IS_LINEBREAK(*ptr))
  ------------------
  |  |  141|    416|    ((ch) == '\n')
  ------------------
  |  Branch (218:16): [True: 416, False: 408]
  |  Branch (218:29): [True: 408, False: 8]
  ------------------
  219|    408|            ptr++;
  220|    416|        break;
  221|       |
  222|      0|    case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      0|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (222:5): [True: 0, False: 552]
  ------------------
  223|       |        /* repeated dot wildcard.  skip to the end of the target
  224|       |           string, and backtrack from there */
  225|      0|        TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr));
  226|      0|        ptr = end;
  227|      0|        break;
  228|       |
  229|      4|    case SRE_OP_LITERAL:
  ------------------
  |  |   31|      4|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (229:5): [True: 4, False: 548]
  ------------------
  230|       |        /* repeated literal */
  231|      4|        chr = pattern[1];
  232|      4|        TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr));
  233|      4|        c = (SRE_CHAR) chr;
  234|      4|#if SIZEOF_SRE_CHAR < 4
  235|      4|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (235:13): [True: 0, False: 4]
  ------------------
  236|      0|            ; /* literal can't match: doesn't fit in char width */
  237|      4|        else
  238|      4|#endif
  239|      4|        while (ptr < end && *ptr == c)
  ------------------
  |  Branch (239:16): [True: 2, False: 2]
  |  Branch (239:29): [True: 0, False: 2]
  ------------------
  240|      0|            ptr++;
  241|      4|        break;
  242|       |
  243|      0|    case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|      0|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (243:5): [True: 0, False: 552]
  ------------------
  244|       |        /* repeated literal */
  245|      0|        chr = pattern[1];
  246|      0|        TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr));
  247|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) == chr)
  ------------------
  |  Branch (247:16): [True: 0, False: 0]
  |  Branch (247:29): [True: 0, False: 0]
  ------------------
  248|      0|            ptr++;
  249|      0|        break;
  250|       |
  251|      0|    case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|      0|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (251:5): [True: 0, False: 552]
  ------------------
  252|       |        /* repeated literal */
  253|      0|        chr = pattern[1];
  254|      0|        TRACE(("|%p|%p|COUNT LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  255|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) == chr)
  ------------------
  |  Branch (255:16): [True: 0, False: 0]
  |  Branch (255:29): [True: 0, False: 0]
  ------------------
  256|      0|            ptr++;
  257|      0|        break;
  258|       |
  259|      0|    case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|      0|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (259:5): [True: 0, False: 552]
  ------------------
  260|       |        /* repeated literal */
  261|      0|        chr = pattern[1];
  262|      0|        TRACE(("|%p|%p|COUNT LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  263|      0|        while (ptr < end && char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (263:16): [True: 0, False: 0]
  |  Branch (263:29): [True: 0, False: 0]
  ------------------
  264|      0|            ptr++;
  265|      0|        break;
  266|       |
  267|      4|    case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|      4|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (267:5): [True: 4, False: 548]
  ------------------
  268|       |        /* repeated non-literal */
  269|      4|        chr = pattern[1];
  270|      4|        TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr));
  271|      4|        c = (SRE_CHAR) chr;
  272|      4|#if SIZEOF_SRE_CHAR < 4
  273|      4|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (273:13): [True: 0, False: 4]
  ------------------
  274|      0|            ptr = end; /* literal can't match: doesn't fit in char width */
  275|      4|        else
  276|      4|#endif
  277|    210|        while (ptr < end && *ptr != c)
  ------------------
  |  Branch (277:16): [True: 208, False: 2]
  |  Branch (277:29): [True: 206, False: 2]
  ------------------
  278|    206|            ptr++;
  279|      4|        break;
  280|       |
  281|      0|    case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|      0|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (281:5): [True: 0, False: 552]
  ------------------
  282|       |        /* repeated non-literal */
  283|      0|        chr = pattern[1];
  284|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr));
  285|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) != chr)
  ------------------
  |  Branch (285:16): [True: 0, False: 0]
  |  Branch (285:29): [True: 0, False: 0]
  ------------------
  286|      0|            ptr++;
  287|      0|        break;
  288|       |
  289|      0|    case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|      0|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (289:5): [True: 0, False: 552]
  ------------------
  290|       |        /* repeated non-literal */
  291|      0|        chr = pattern[1];
  292|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  293|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) != chr)
  ------------------
  |  Branch (293:16): [True: 0, False: 0]
  |  Branch (293:29): [True: 0, False: 0]
  ------------------
  294|      0|            ptr++;
  295|      0|        break;
  296|       |
  297|      0|    case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|      0|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (297:5): [True: 0, False: 552]
  ------------------
  298|       |        /* repeated non-literal */
  299|      0|        chr = pattern[1];
  300|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  301|      0|        while (ptr < end && !char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (301:16): [True: 0, False: 0]
  |  Branch (301:29): [True: 0, False: 0]
  ------------------
  302|      0|            ptr++;
  303|      0|        break;
  304|       |
  305|      0|    default:
  ------------------
  |  Branch (305:5): [True: 0, False: 552]
  ------------------
  306|       |        /* repeated single character pattern */
  307|      0|        TRACE(("|%p|%p|COUNT SUBPATTERN\n", pattern, ptr));
  308|      0|        while ((SRE_CHAR*) state->ptr < end) {
  ------------------
  |  Branch (308:16): [True: 0, False: 0]
  ------------------
  309|      0|            i = SRE(match)(state, pattern, 0);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  310|      0|            if (i < 0)
  ------------------
  |  Branch (310:17): [True: 0, False: 0]
  ------------------
  311|      0|                return i;
  312|      0|            if (!i)
  ------------------
  |  Branch (312:17): [True: 0, False: 0]
  ------------------
  313|      0|                break;
  314|      0|        }
  315|      0|        TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  316|      0|               (SRE_CHAR*) state->ptr - ptr));
  317|      0|        return (SRE_CHAR*) state->ptr - ptr;
  318|    552|    }
  319|       |
  320|    552|    TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  321|    552|           ptr - (SRE_CHAR*) state->ptr));
  322|    552|    return ptr - (SRE_CHAR*) state->ptr;
  323|    552|}
sre.c:sre_ucs1_search:
 1693|      2|{
 1694|      2|    SRE_CHAR* ptr = (SRE_CHAR *)state->start;
  ------------------
  |  |  355|      2|#define SRE_CHAR Py_UCS1
  ------------------
 1695|      2|    SRE_CHAR* end = (SRE_CHAR *)state->end;
  ------------------
  |  |  355|      2|#define SRE_CHAR Py_UCS1
  ------------------
 1696|      2|    Py_ssize_t status = 0;
 1697|      2|    Py_ssize_t prefix_len = 0;
 1698|      2|    Py_ssize_t prefix_skip = 0;
 1699|      2|    SRE_CODE* prefix = NULL;
  ------------------
  |  |   18|      2|#define SRE_CODE Py_UCS4
  ------------------
 1700|      2|    SRE_CODE* charset = NULL;
  ------------------
  |  |   18|      2|#define SRE_CODE Py_UCS4
  ------------------
 1701|      2|    SRE_CODE* overlap = NULL;
  ------------------
  |  |   18|      2|#define SRE_CODE Py_UCS4
  ------------------
 1702|      2|    int flags = 0;
 1703|      2|    INIT_TRACE(state);
 1704|       |
 1705|      2|    if (ptr > end)
  ------------------
  |  Branch (1705:9): [True: 0, False: 2]
  ------------------
 1706|      0|        return 0;
 1707|       |
 1708|      2|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|      2|#define SRE_OP_INFO 14
  ------------------
  |  Branch (1708:9): [True: 2, False: 0]
  ------------------
 1709|       |        /* optimization info block */
 1710|       |        /* <INFO> <1=skip> <2=flags> <3=min> <4=max> <5=prefix info>  */
 1711|       |
 1712|      2|        flags = pattern[2];
 1713|       |
 1714|      2|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (1714:13): [True: 2, False: 0]
  |  Branch (1714:27): [True: 0, False: 2]
  ------------------
 1715|      0|            TRACE(("reject (got %tu chars, need %zu)\n",
 1716|      0|                   end - ptr, (size_t) pattern[3]));
 1717|      0|            return 0;
 1718|      0|        }
 1719|      2|        if (pattern[3] > 1) {
  ------------------
  |  Branch (1719:13): [True: 2, False: 0]
  ------------------
 1720|       |            /* adjust end point (but make sure we leave at least one
 1721|       |               character in there, so literal search will work) */
 1722|      2|            end -= pattern[3] - 1;
 1723|      2|            if (end <= ptr)
  ------------------
  |  Branch (1723:17): [True: 0, False: 2]
  ------------------
 1724|      0|                end = ptr;
 1725|      2|        }
 1726|       |
 1727|      2|        if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |   96|      2|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (1727:13): [True: 2, False: 0]
  ------------------
 1728|       |            /* pattern starts with a known prefix */
 1729|       |            /* <length> <skip> <prefix data> <overlap data> */
 1730|      2|            prefix_len = pattern[5];
 1731|      2|            prefix_skip = pattern[6];
 1732|      2|            prefix = pattern + 7;
 1733|      2|            overlap = prefix + prefix_len - 1;
 1734|      2|        } else if (flags & SRE_INFO_CHARSET)
  ------------------
  |  |   98|      0|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (1734:20): [True: 0, False: 0]
  ------------------
 1735|       |            /* pattern starts with a character from a known set */
 1736|       |            /* <charset> */
 1737|      0|            charset = pattern + 5;
 1738|       |
 1739|      2|        pattern += 1 + pattern[1];
 1740|      2|    }
 1741|       |
 1742|      2|    TRACE(("prefix = %p %zd %zd\n",
 1743|      2|           prefix, prefix_len, prefix_skip));
 1744|      2|    TRACE(("charset = %p\n", charset));
 1745|       |
 1746|      2|    if (prefix_len == 1) {
  ------------------
  |  Branch (1746:9): [True: 0, False: 2]
  ------------------
 1747|       |        /* pattern starts with a literal character */
 1748|      0|        SRE_CHAR c = (SRE_CHAR) prefix[0];
  ------------------
  |  |  355|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1749|      0|#if SIZEOF_SRE_CHAR < 4
 1750|      0|        if ((SRE_CODE) c != prefix[0])
  ------------------
  |  Branch (1750:13): [True: 0, False: 0]
  ------------------
 1751|      0|            return 0; /* literal can't match: doesn't fit in char width */
 1752|      0|#endif
 1753|      0|        end = (SRE_CHAR *)state->end;
 1754|      0|        state->must_advance = 0;
 1755|      0|        while (ptr < end) {
  ------------------
  |  Branch (1755:16): [True: 0, False: 0]
  ------------------
 1756|      0|            while (*ptr != c) {
  ------------------
  |  Branch (1756:20): [True: 0, False: 0]
  ------------------
 1757|      0|                if (++ptr >= end)
  ------------------
  |  Branch (1757:21): [True: 0, False: 0]
  ------------------
 1758|      0|                    return 0;
 1759|      0|            }
 1760|      0|            TRACE(("|%p|%p|SEARCH LITERAL\n", pattern, ptr));
 1761|      0|            state->start = ptr;
 1762|      0|            state->ptr = ptr + prefix_skip;
 1763|      0|            if (flags & SRE_INFO_LITERAL)
  ------------------
  |  |   97|      0|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (1763:17): [True: 0, False: 0]
  ------------------
 1764|      0|                return 1; /* we got all of it */
 1765|      0|            status = SRE(match)(state, pattern + 2*prefix_skip, 0);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1766|      0|            if (status != 0)
  ------------------
  |  Branch (1766:17): [True: 0, False: 0]
  ------------------
 1767|      0|                return status;
 1768|      0|            ++ptr;
 1769|      0|            RESET_CAPTURE_GROUP();
  ------------------
  |  | 1689|      0|    do { state->lastmark = state->lastindex = -1; } while (0)
  |  |  ------------------
  |  |  |  Branch (1689:60): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1770|      0|        }
 1771|      0|        return 0;
 1772|      0|    }
 1773|       |
 1774|      2|    if (prefix_len > 1) {
  ------------------
  |  Branch (1774:9): [True: 2, False: 0]
  ------------------
 1775|       |        /* pattern starts with a known prefix.  use the overlap
 1776|       |           table to skip forward as fast as we possibly can */
 1777|      2|        Py_ssize_t i = 0;
 1778|       |
 1779|      2|        end = (SRE_CHAR *)state->end;
 1780|      2|        if (prefix_len > end - ptr)
  ------------------
  |  Branch (1780:13): [True: 0, False: 2]
  ------------------
 1781|      0|            return 0;
 1782|      2|#if SIZEOF_SRE_CHAR < 4
 1783|      6|        for (i = 0; i < prefix_len; i++)
  ------------------
  |  Branch (1783:21): [True: 4, False: 2]
  ------------------
 1784|      4|            if ((SRE_CODE)(SRE_CHAR) prefix[i] != prefix[i])
  ------------------
  |  Branch (1784:17): [True: 0, False: 4]
  ------------------
 1785|      0|                return 0; /* literal can't match: doesn't fit in char width */
 1786|      2|#endif
 1787|      2|        while (ptr < end) {
  ------------------
  |  Branch (1787:16): [True: 2, False: 0]
  ------------------
 1788|      2|            SRE_CHAR c = (SRE_CHAR) prefix[0];
  ------------------
  |  |  355|      2|#define SRE_CHAR Py_UCS1
  ------------------
 1789|      2|            while (*ptr++ != c) {
  ------------------
  |  Branch (1789:20): [True: 0, False: 2]
  ------------------
 1790|      0|                if (ptr >= end)
  ------------------
  |  Branch (1790:21): [True: 0, False: 0]
  ------------------
 1791|      0|                    return 0;
 1792|      0|            }
 1793|      2|            if (ptr >= end)
  ------------------
  |  Branch (1793:17): [True: 0, False: 2]
  ------------------
 1794|      0|                return 0;
 1795|       |
 1796|      2|            i = 1;
 1797|      2|            state->must_advance = 0;
 1798|      2|            do {
 1799|      2|                if (*ptr == (SRE_CHAR) prefix[i]) {
  ------------------
  |  Branch (1799:21): [True: 2, False: 0]
  ------------------
 1800|      2|                    if (++i != prefix_len) {
  ------------------
  |  Branch (1800:25): [True: 0, False: 2]
  ------------------
 1801|      0|                        if (++ptr >= end)
  ------------------
  |  Branch (1801:29): [True: 0, False: 0]
  ------------------
 1802|      0|                            return 0;
 1803|      0|                        continue;
 1804|      0|                    }
 1805|       |                    /* found a potential match */
 1806|      2|                    TRACE(("|%p|%p|SEARCH SCAN\n", pattern, ptr));
 1807|      2|                    state->start = ptr - (prefix_len - 1);
 1808|      2|                    state->ptr = ptr - (prefix_len - prefix_skip - 1);
 1809|      2|                    if (flags & SRE_INFO_LITERAL)
  ------------------
  |  |   97|      2|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (1809:25): [True: 0, False: 2]
  ------------------
 1810|      0|                        return 1; /* we got all of it */
 1811|      2|                    status = SRE(match)(state, pattern + 2*prefix_skip, 0);
  ------------------
  |  |  357|      2|#define SRE(F) sre_ucs1_##F
  ------------------
 1812|      2|                    if (status != 0)
  ------------------
  |  Branch (1812:25): [True: 2, False: 0]
  ------------------
 1813|      2|                        return status;
 1814|       |                    /* close but no cigar -- try again */
 1815|      0|                    if (++ptr >= end)
  ------------------
  |  Branch (1815:25): [True: 0, False: 0]
  ------------------
 1816|      0|                        return 0;
 1817|      0|                    RESET_CAPTURE_GROUP();
  ------------------
  |  | 1689|      0|    do { state->lastmark = state->lastindex = -1; } while (0)
  |  |  ------------------
  |  |  |  Branch (1689:60): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1818|      0|                }
 1819|      0|                i = overlap[i];
 1820|      0|            } while (i != 0);
  ------------------
  |  Branch (1820:22): [True: 0, False: 0]
  ------------------
 1821|      2|        }
 1822|      0|        return 0;
 1823|      2|    }
 1824|       |
 1825|      0|    if (charset) {
  ------------------
  |  Branch (1825:9): [True: 0, False: 0]
  ------------------
 1826|       |        /* pattern starts with a character from a known set */
 1827|      0|        end = (SRE_CHAR *)state->end;
 1828|      0|        state->must_advance = 0;
 1829|      0|        for (;;) {
 1830|      0|            while (ptr < end && !SRE(charset)(state, charset, *ptr))
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (1830:20): [True: 0, False: 0]
  |  Branch (1830:33): [True: 0, False: 0]
  ------------------
 1831|      0|                ptr++;
 1832|      0|            if (ptr >= end)
  ------------------
  |  Branch (1832:17): [True: 0, False: 0]
  ------------------
 1833|      0|                return 0;
 1834|      0|            TRACE(("|%p|%p|SEARCH CHARSET\n", pattern, ptr));
 1835|      0|            state->start = ptr;
 1836|      0|            state->ptr = ptr;
 1837|      0|            status = SRE(match)(state, pattern, 0);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1838|      0|            if (status != 0)
  ------------------
  |  Branch (1838:17): [True: 0, False: 0]
  ------------------
 1839|      0|                break;
 1840|      0|            ptr++;
 1841|      0|            RESET_CAPTURE_GROUP();
  ------------------
  |  | 1689|      0|    do { state->lastmark = state->lastindex = -1; } while (0)
  |  |  ------------------
  |  |  |  Branch (1689:60): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1842|      0|        }
 1843|      0|    } else {
 1844|       |        /* general case */
 1845|      0|        assert(ptr <= end);
 1846|      0|        TRACE(("|%p|%p|SEARCH\n", pattern, ptr));
 1847|      0|        state->start = state->ptr = ptr;
 1848|      0|        status = SRE(match)(state, pattern, 1);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1849|      0|        state->must_advance = 0;
 1850|      0|        if (status == 0 && pattern[0] == SRE_OP_AT &&
  ------------------
  |  |   21|      0|#define SRE_OP_AT 6
  ------------------
  |  Branch (1850:13): [True: 0, False: 0]
  |  Branch (1850:28): [True: 0, False: 0]
  ------------------
 1851|      0|            (pattern[1] == SRE_AT_BEGINNING ||
  ------------------
  |  |   58|      0|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (1851:14): [True: 0, False: 0]
  ------------------
 1852|      0|             pattern[1] == SRE_AT_BEGINNING_STRING))
  ------------------
  |  |   60|      0|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (1852:14): [True: 0, False: 0]
  ------------------
 1853|      0|        {
 1854|      0|            state->start = state->ptr = ptr = end;
 1855|      0|            return 0;
 1856|      0|        }
 1857|      0|        while (status == 0 && ptr < end) {
  ------------------
  |  Branch (1857:16): [True: 0, False: 0]
  |  Branch (1857:31): [True: 0, False: 0]
  ------------------
 1858|      0|            ptr++;
 1859|      0|            RESET_CAPTURE_GROUP();
  ------------------
  |  | 1689|      0|    do { state->lastmark = state->lastindex = -1; } while (0)
  |  |  ------------------
  |  |  |  Branch (1689:60): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1860|      0|            TRACE(("|%p|%p|SEARCH\n", pattern, ptr));
 1861|      0|            state->start = state->ptr = ptr;
 1862|      0|            status = SRE(match)(state, pattern, 0);
  ------------------
  |  |  357|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1863|      0|        }
 1864|      0|    }
 1865|       |
 1866|      0|    return status;
 1867|      0|}

PyInit__stat:
  711|      2|{
  712|      2|    return PyModuleDef_Init(&statmodule);
  713|      2|}
_stat.c:stat_S_ISDIR:
  334|      2|stat_S_ISFUNC(S_ISDIR,
  ------------------
  |  |  326|      2|    {                                                          \
  |  |  327|      2|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|      2|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 2]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|      2|           return NULL;                                        \
  |  |  330|      2|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  334|      2|stat_S_ISFUNC(S_ISDIR,
  |  |  ------------------
  |  |  331|      2|    }                                                          \
  ------------------
_stat.c:_PyLong_AsMode_t:
  294|  1.74k|{
  295|  1.74k|    unsigned long value;
  296|  1.74k|    mode_t mode;
  297|       |
  298|  1.74k|    if (PyLong_Check(op)) {
  ------------------
  |  |   13|  1.74k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.74k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.74k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|  1.74k|        value = PyLong_AsUnsignedLong(op);
  300|  1.74k|    }
  301|      0|    else {
  302|      0|        op = PyNumber_Index(op);
  303|      0|        if (op == NULL) {
  ------------------
  |  Branch (303:13): [True: 0, False: 0]
  ------------------
  304|      0|            return (mode_t)-1;
  305|      0|        }
  306|      0|        value = PyLong_AsUnsignedLong(op);
  307|      0|        Py_DECREF(op);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|    }
  309|       |
  310|  1.74k|    if ((value == (unsigned long)-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (310:9): [True: 0, False: 1.74k]
  |  Branch (310:41): [True: 0, False: 0]
  ------------------
  311|      0|        return (mode_t)-1;
  312|      0|    }
  313|       |
  314|  1.74k|    mode = (mode_t)value;
  315|  1.74k|    if ((unsigned long)mode != value) {
  ------------------
  |  Branch (315:9): [True: 0, False: 1.74k]
  ------------------
  316|      0|        PyErr_SetString(PyExc_OverflowError, "mode out of range");
  317|      0|        return (mode_t)-1;
  318|      0|    }
  319|  1.74k|    return mode;
  320|  1.74k|}
_stat.c:stat_S_ISLNK:
  354|  1.74k|stat_S_ISFUNC(S_ISLNK,
  ------------------
  |  |  326|  1.74k|    {                                                          \
  |  |  327|  1.74k|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|  1.74k|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 1.74k]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|  1.74k|           return NULL;                                        \
  |  |  330|  1.74k|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  354|  1.74k|stat_S_ISFUNC(S_ISLNK,
  |  |  ------------------
  |  |  331|  1.74k|    }                                                          \
  ------------------
_stat.c:stat_exec:
  565|      2|{
  566|      2|#define ADD_INT_MACRO(module, macro)                                  \
  567|      2|    do {                                                              \
  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  569|      2|            return -1;                                                \
  570|      2|        }                                                             \
  571|      2|    } while (0)
  572|       |
  573|      2|    ADD_INT_MACRO(module, S_IFDIR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  574|      2|    ADD_INT_MACRO(module, S_IFCHR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  575|      2|    ADD_INT_MACRO(module, S_IFBLK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  576|      2|    ADD_INT_MACRO(module, S_IFREG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  577|      2|    ADD_INT_MACRO(module, S_IFIFO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  578|      2|    ADD_INT_MACRO(module, S_IFLNK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  579|      2|    ADD_INT_MACRO(module, S_IFSOCK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  580|      2|    ADD_INT_MACRO(module, S_IFDOOR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  581|      2|    ADD_INT_MACRO(module, S_IFPORT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  582|      2|    ADD_INT_MACRO(module, S_IFWHT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  583|       |
  584|      2|    ADD_INT_MACRO(module, S_ISUID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  585|      2|    ADD_INT_MACRO(module, S_ISGID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  586|      2|    ADD_INT_MACRO(module, S_ISVTX);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  587|      2|    ADD_INT_MACRO(module, S_ENFMT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  588|       |
  589|      2|    ADD_INT_MACRO(module, S_IREAD);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  590|      2|    ADD_INT_MACRO(module, S_IWRITE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  591|      2|    ADD_INT_MACRO(module, S_IEXEC);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  592|       |
  593|      2|    ADD_INT_MACRO(module, S_IRWXU);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  594|      2|    ADD_INT_MACRO(module, S_IRUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  595|      2|    ADD_INT_MACRO(module, S_IWUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  596|      2|    ADD_INT_MACRO(module, S_IXUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  597|       |
  598|      2|    ADD_INT_MACRO(module, S_IRWXG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  599|      2|    ADD_INT_MACRO(module, S_IRGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  600|      2|    ADD_INT_MACRO(module, S_IWGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  601|      2|    ADD_INT_MACRO(module, S_IXGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  602|       |
  603|      2|    ADD_INT_MACRO(module, S_IRWXO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  604|      2|    ADD_INT_MACRO(module, S_IROTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  605|      2|    ADD_INT_MACRO(module, S_IWOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  606|      2|    ADD_INT_MACRO(module, S_IXOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  607|       |
  608|      2|    ADD_INT_MACRO(module, UF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  609|      2|    ADD_INT_MACRO(module, UF_NODUMP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  610|      2|    ADD_INT_MACRO(module, UF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  611|      2|    ADD_INT_MACRO(module, UF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  612|      2|    ADD_INT_MACRO(module, UF_OPAQUE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  613|      2|    ADD_INT_MACRO(module, UF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  614|      2|    ADD_INT_MACRO(module, UF_COMPRESSED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  615|      2|    ADD_INT_MACRO(module, UF_TRACKED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  616|      2|    ADD_INT_MACRO(module, UF_DATAVAULT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  617|      2|    ADD_INT_MACRO(module, UF_HIDDEN);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  618|      2|    ADD_INT_MACRO(module, SF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  619|      2|    ADD_INT_MACRO(module, SF_ARCHIVED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  620|      2|    ADD_INT_MACRO(module, SF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  621|      2|    ADD_INT_MACRO(module, SF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  622|      2|    ADD_INT_MACRO(module, SF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  623|      2|    ADD_INT_MACRO(module, SF_SNAPSHOT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  624|      2|    ADD_INT_MACRO(module, SF_FIRMLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  625|      2|    ADD_INT_MACRO(module, SF_DATALESS);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  626|       |
  627|       |#ifdef SF_SUPPORTED
  628|       |    ADD_INT_MACRO(module, SF_SUPPORTED);
  629|       |#endif
  630|       |#ifdef SF_SYNTHETIC
  631|       |    ADD_INT_MACRO(module, SF_SYNTHETIC);
  632|       |#endif
  633|       |
  634|       |
  635|      2|    const char* st_constants[] = {
  636|      2|        "ST_MODE",
  637|      2|        "ST_INO",
  638|      2|        "ST_DEV",
  639|      2|        "ST_NLINK",
  640|      2|        "ST_UID",
  641|      2|        "ST_GID",
  642|      2|        "ST_SIZE",
  643|      2|        "ST_ATIME",
  644|      2|        "ST_MTIME",
  645|      2|        "ST_CTIME"
  646|      2|    };
  647|       |
  648|     22|    for (int i = 0; i < (int)Py_ARRAY_LENGTH(st_constants); i++) {
  ------------------
  |  |  196|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (648:21): [True: 20, False: 2]
  ------------------
  649|     20|        if (PyModule_AddIntConstant(module, st_constants[i], i) < 0) {
  ------------------
  |  Branch (649:13): [True: 0, False: 20]
  ------------------
  650|      0|            return -1;
  651|      0|        }
  652|     20|    }
  653|       |
  654|       |#ifdef MS_WINDOWS
  655|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_ARCHIVE);
  656|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_COMPRESSED);
  657|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_DEVICE);
  658|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_DIRECTORY);
  659|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_ENCRYPTED);
  660|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_HIDDEN);
  661|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_INTEGRITY_STREAM);
  662|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NORMAL);
  663|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
  664|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NO_SCRUB_DATA);
  665|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_OFFLINE);
  666|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_READONLY);
  667|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_REPARSE_POINT);
  668|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_SPARSE_FILE);
  669|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_SYSTEM);
  670|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_TEMPORARY);
  671|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_VIRTUAL);
  672|       |
  673|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_SYMLINK",
  674|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_SYMLINK)) < 0) {
  675|       |        return -1;
  676|       |    }
  677|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_MOUNT_POINT",
  678|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_MOUNT_POINT)) < 0) {
  679|       |        return -1;
  680|       |    }
  681|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_APPEXECLINK",
  682|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_APPEXECLINK)) < 0) {
  683|       |        return -1;
  684|       |    }
  685|       |#endif
  686|       |
  687|      2|    return 0;
  688|      2|}

PyInit__thread:
 2880|      2|{
 2881|      2|    return PyModuleDef_Init(&thread_module);
 2882|      2|}
_threadmodule.c:get_thread_state:
   58|  7.78M|{
   59|  7.78M|    void *state = _PyModule_GetState(module);
   60|       |    assert(state != NULL);
   61|  7.78M|    return (thread_module_state *)state;
   62|  7.78M|}
_threadmodule.c:ThreadHandle_new:
  224|      4|{
  225|      4|    ThreadHandle *self =
  226|      4|        (ThreadHandle *)PyMem_RawCalloc(1, sizeof(ThreadHandle));
  227|      4|    if (self == NULL) {
  ------------------
  |  Branch (227:9): [True: 0, False: 4]
  ------------------
  228|      0|        PyErr_NoMemory();
  229|      0|        return NULL;
  230|      0|    }
  231|      4|    self->ident = 0;
  232|      4|    self->os_handle = 0;
  233|      4|    self->has_os_handle = 0;
  234|      4|    self->thread_is_exiting = (PyEvent){0};
  235|      4|    self->mutex = (PyMutex){_Py_UNLOCKED};
  ------------------
  |  |    9|      4|#define _Py_UNLOCKED    0
  ------------------
  236|      4|    self->once = (_PyOnceFlag){0};
  237|      4|    self->state = THREAD_HANDLE_NOT_STARTED;
  238|      4|    self->refcount = 1;
  239|       |
  240|      4|    HEAD_LOCK(&_PyRuntime);
  ------------------
  |  |  266|      4|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  241|      4|    llist_insert_tail(&_PyRuntime.threads.handles, &self->node);
  242|      4|    HEAD_UNLOCK(&_PyRuntime);
  ------------------
  |  |  268|      4|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      4|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  243|       |
  244|      4|    return self;
  245|      4|}
_threadmodule.c:ThreadHandle_decref:
  272|      2|{
  273|      2|    if (_Py_atomic_add_ssize(&self->refcount, -1) > 1) {
  ------------------
  |  Branch (273:9): [True: 0, False: 2]
  ------------------
  274|      0|        return;
  275|      0|    }
  276|       |
  277|       |    // Remove ourself from the global list of handles
  278|      2|    HEAD_LOCK(&_PyRuntime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  279|      2|    if (self->node.next != NULL) {
  ------------------
  |  Branch (279:9): [True: 2, False: 0]
  ------------------
  280|      2|        llist_remove(&self->node);
  281|      2|    }
  282|      2|    HEAD_UNLOCK(&_PyRuntime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  283|       |
  284|      2|    assert(self->shutdown_node.next == NULL);
  285|       |
  286|       |    // It's safe to access state non-atomically:
  287|       |    //   1. This is the destructor; nothing else holds a reference.
  288|       |    //   2. The refcount going to zero is a "synchronizes-with" event; all
  289|       |    //      changes from other threads are visible.
  290|      2|    if (self->state == THREAD_HANDLE_RUNNING && !detach_thread(self)) {
  ------------------
  |  Branch (290:9): [True: 0, False: 2]
  |  Branch (290:49): [True: 0, False: 0]
  ------------------
  291|      0|        self->state = THREAD_HANDLE_DONE;
  292|      0|    }
  293|       |
  294|      2|    PyMem_RawFree(self);
  295|      2|}
_threadmodule.c:PyThreadHandleObject_new:
  636|      4|{
  637|      4|    ThreadHandle *handle = ThreadHandle_new();
  638|      4|    if (handle == NULL) {
  ------------------
  |  Branch (638:9): [True: 0, False: 4]
  ------------------
  639|      0|        return NULL;
  640|      0|    }
  641|       |
  642|      4|    PyThreadHandleObject *self =
  643|      4|        (PyThreadHandleObject *)type->tp_alloc(type, 0);
  644|      4|    if (self == NULL) {
  ------------------
  |  Branch (644:9): [True: 0, False: 4]
  ------------------
  645|      0|        ThreadHandle_decref(handle);
  646|      0|        return NULL;
  647|      0|    }
  648|       |
  649|      4|    self->handle = handle;
  650|       |
  651|      4|    return self;
  652|      4|}
_threadmodule.c:thread_PyThread_allocate_lock:
 2115|    678|{
 2116|    678|    thread_module_state *state = get_thread_state(module);
 2117|    678|    return lock_new_impl(state->lock_type);
 2118|    678|}
_threadmodule.c:lock_new_impl:
  994|    692|{
  995|    692|    lockobject *self = (lockobject *)type->tp_alloc(type, 0);
  996|    692|    if (self == NULL) {
  ------------------
  |  Branch (996:9): [True: 0, False: 692]
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|    692|    self->lock = (PyMutex){0};
 1000|    692|    return (PyObject *)self;
 1001|    692|}
_threadmodule.c:thread_get_ident:
 2135|   284k|{
 2136|   284k|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2137|   284k|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|   284k|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2137:9): [True: 0, False: 284k]
  ------------------
 2138|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2139|      0|        return NULL;
 2140|      0|    }
 2141|   284k|    return PyLong_FromUnsignedLongLong(ident);
 2142|   284k|}
_threadmodule.c:thread_get_native_id:
 2159|      2|{
 2160|      2|    unsigned long native_id = PyThread_get_thread_native_id();
 2161|      2|    return PyLong_FromUnsignedLong(native_id);
 2162|      2|}
_threadmodule.c:thread__make_thread_handle:
 2450|      2|{
 2451|      2|    thread_module_state *state = get_thread_state(module);
 2452|      2|    if (!PyLong_Check(identobj)) {
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2452:9): [True: 0, False: 2]
  ------------------
 2453|      0|        PyErr_SetString(PyExc_TypeError, "ident must be an integer");
 2454|      0|        return NULL;
 2455|      0|    }
 2456|      2|    PyThread_ident_t ident = PyLong_AsUnsignedLongLong(identobj);
 2457|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2457:9): [True: 0, False: 2]
  ------------------
 2458|      0|        return NULL;
 2459|      0|    }
 2460|      2|    PyThreadHandleObject *hobj =
 2461|      2|        PyThreadHandleObject_new(state->thread_handle_type);
 2462|      2|    if (hobj == NULL) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 2]
  ------------------
 2463|      0|        return NULL;
 2464|      0|    }
 2465|      2|    PyMutex_Lock(&hobj->handle->mutex);
  ------------------
  |  |   59|      2|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 2466|      2|    hobj->handle->ident = ident;
 2467|      2|    hobj->handle->state = THREAD_HANDLE_RUNNING;
 2468|      2|    PyMutex_Unlock(&hobj->handle->mutex);
  ------------------
  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 2469|      2|    return (PyObject*) hobj;
 2470|      2|}
_threadmodule.c:thread__get_main_thread_ident:
 2481|      2|{
 2482|      2|    return PyLong_FromUnsignedLongLong(_PyRuntime.main_thread);
 2483|      2|}
_threadmodule.c:thread_module_exec:
 2699|      2|{
 2700|      2|    thread_module_state *state = get_thread_state(module);
 2701|      2|    PyObject *d = PyModule_GetDict(module);
 2702|       |
 2703|       |    // Initialize the C thread library
 2704|      2|    PyThread_init_thread();
 2705|       |
 2706|       |    // _ThreadHandle
 2707|      2|    state->thread_handle_type = (PyTypeObject *)PyType_FromSpec(&ThreadHandle_Type_spec);
 2708|      2|    if (state->thread_handle_type == NULL) {
  ------------------
  |  Branch (2708:9): [True: 0, False: 2]
  ------------------
 2709|      0|        return -1;
 2710|      0|    }
 2711|      2|    if (PyDict_SetItemString(d, "_ThreadHandle", (PyObject *)state->thread_handle_type) < 0) {
  ------------------
  |  Branch (2711:9): [True: 0, False: 2]
  ------------------
 2712|      0|        return -1;
 2713|      0|    }
 2714|       |
 2715|       |    // Lock
 2716|      2|    state->lock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &lock_type_spec, NULL);
 2717|      2|    if (state->lock_type == NULL) {
  ------------------
  |  Branch (2717:9): [True: 0, False: 2]
  ------------------
 2718|      0|        return -1;
 2719|      0|    }
 2720|      2|    if (PyModule_AddType(module, state->lock_type) < 0) {
  ------------------
  |  Branch (2720:9): [True: 0, False: 2]
  ------------------
 2721|      0|        return -1;
 2722|      0|    }
 2723|       |    // Old alias: lock -> LockType
 2724|      2|    if (PyDict_SetItemString(d, "LockType", (PyObject *)state->lock_type) < 0) {
  ------------------
  |  Branch (2724:9): [True: 0, False: 2]
  ------------------
 2725|      0|        return -1;
 2726|      0|    }
 2727|       |
 2728|       |    // RLock
 2729|      2|    state->rlock_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &rlock_type_spec, NULL);
 2730|      2|    if (state->rlock_type == NULL) {
  ------------------
  |  Branch (2730:9): [True: 0, False: 2]
  ------------------
 2731|      0|        return -1;
 2732|      0|    }
 2733|      2|    if (PyModule_AddType(module, state->rlock_type) < 0) {
  ------------------
  |  Branch (2733:9): [True: 0, False: 2]
  ------------------
 2734|      0|        return -1;
 2735|      0|    }
 2736|       |
 2737|       |    // Local dummy
 2738|      2|    state->local_dummy_type = (PyTypeObject *)PyType_FromSpec(&local_dummy_type_spec);
 2739|      2|    if (state->local_dummy_type == NULL) {
  ------------------
  |  Branch (2739:9): [True: 0, False: 2]
  ------------------
 2740|      0|        return -1;
 2741|      0|    }
 2742|       |
 2743|       |    // Local
 2744|      2|    state->local_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, &local_type_spec, NULL);
 2745|      2|    if (state->local_type == NULL) {
  ------------------
  |  Branch (2745:9): [True: 0, False: 2]
  ------------------
 2746|      0|        return -1;
 2747|      0|    }
 2748|      2|    if (PyModule_AddType(module, state->local_type) < 0) {
  ------------------
  |  Branch (2748:9): [True: 0, False: 2]
  ------------------
 2749|      0|        return -1;
 2750|      0|    }
 2751|       |
 2752|       |    // Add module attributes
 2753|      2|    if (PyDict_SetItemString(d, "error", ThreadError) < 0) {
  ------------------
  |  |   23|      2|#define ThreadError PyExc_RuntimeError
  ------------------
  |  Branch (2753:9): [True: 0, False: 2]
  ------------------
 2754|      0|        return -1;
 2755|      0|    }
 2756|       |
 2757|       |    // _ExceptHookArgs type
 2758|      2|    state->excepthook_type = PyStructSequence_NewType(&ExceptHookArgs_desc);
 2759|      2|    if (state->excepthook_type == NULL) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 2]
  ------------------
 2760|      0|        return -1;
 2761|      0|    }
 2762|      2|    if (PyModule_AddType(module, state->excepthook_type) < 0) {
  ------------------
  |  Branch (2762:9): [True: 0, False: 2]
  ------------------
 2763|      0|        return -1;
 2764|      0|    }
 2765|       |
 2766|       |    // TIMEOUT_MAX
 2767|      2|    double timeout_max = (double)PY_TIMEOUT_MAX * 1e-6;
 2768|      2|    double time_max = PyTime_AsSecondsDouble(PyTime_MAX);
  ------------------
  |  |   12|      2|#define PyTime_MAX INT64_MAX
  ------------------
 2769|      2|    timeout_max = Py_MIN(timeout_max, time_max);
  ------------------
  |  |  112|      2|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2770|       |    // Round towards minus infinity
 2771|      2|    timeout_max = floor(timeout_max);
 2772|       |
 2773|      2|    if (PyModule_Add(module, "TIMEOUT_MAX",
  ------------------
  |  Branch (2773:9): [True: 0, False: 2]
  ------------------
 2774|      2|                        PyFloat_FromDouble(timeout_max)) < 0) {
 2775|      0|        return -1;
 2776|      0|    }
 2777|       |
 2778|      2|    llist_init(&state->shutdown_handles);
 2779|       |
 2780|      2|#ifdef _PYTHREAD_NAME_MAXLEN
 2781|      2|    if (PyModule_AddIntConstant(module, "_NAME_MAXLEN",
  ------------------
  |  Branch (2781:9): [True: 0, False: 2]
  ------------------
 2782|      2|                                _PYTHREAD_NAME_MAXLEN) < 0) {
  ------------------
  |  | 2070|      2|#define _PYTHREAD_NAME_MAXLEN 15
  ------------------
 2783|      0|        return -1;
 2784|      0|    }
 2785|      2|#endif
 2786|       |
 2787|       |#ifdef MS_WINDOWS
 2788|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 2789|       |    if (kernelbase != NULL) {
 2790|       |        if (pGetThreadDescription == NULL) {
 2791|       |            pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 2792|       |                                        kernelbase, "GetThreadDescription");
 2793|       |        }
 2794|       |        if (pSetThreadDescription == NULL) {
 2795|       |            pSetThreadDescription = (PF_SET_THREAD_DESCRIPTION)GetProcAddress(
 2796|       |                                        kernelbase, "SetThreadDescription");
 2797|       |        }
 2798|       |    }
 2799|       |
 2800|       |    if (pGetThreadDescription == NULL) {
 2801|       |        if (PyObject_DelAttrString(module, "_get_name") < 0) {
 2802|       |            return -1;
 2803|       |        }
 2804|       |    }
 2805|       |    if (pSetThreadDescription == NULL) {
 2806|       |        if (PyObject_DelAttrString(module, "set_name") < 0) {
 2807|       |            return -1;
 2808|       |        }
 2809|       |    }
 2810|       |#endif
 2811|       |
 2812|      2|    return 0;
 2813|      2|}
_threadmodule.c:PyThreadHandleObject_dealloc:
  662|      2|{
  663|      2|    PyThreadHandleObject *self = PyThreadHandleObject_CAST(op);
  ------------------
  |  |  632|      2|#define PyThreadHandleObject_CAST(op)   ((PyThreadHandleObject *)(op))
  ------------------
  664|      2|    PyObject_GC_UnTrack(self);
  665|      2|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|      2|    ThreadHandle_decref(self->handle);
  667|      2|    tp->tp_free(self);
  668|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  669|      2|}
_threadmodule.c:PyThreadHandleObject_tp_new:
  656|      2|{
  657|      2|    return (PyObject *)PyThreadHandleObject_new(type);
  658|      2|}
_threadmodule.c:lock_dealloc:
  770|    677|{
  771|    677|    PyObject_GC_UnTrack(self);
  772|    677|    PyObject_ClearWeakRefs(self);
  773|    677|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    677|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|    677|    tp->tp_free(self);
  775|    677|    Py_DECREF(tp);
  ------------------
  |  |  430|    677|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|    677|}
_threadmodule.c:_thread_lock_acquire_impl:
  835|     98|{
  836|     98|    PyTime_t timeout;
  837|       |
  838|     98|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (838:9): [True: 0, False: 98]
  ------------------
  839|      0|        return NULL;
  840|      0|    }
  841|       |
  842|     98|    PyLockStatus r = _PyMutex_LockTimed(
  843|     98|        &self->lock, timeout,
  844|     98|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
  845|     98|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (845:9): [True: 0, False: 98]
  ------------------
  846|      0|        assert(PyErr_Occurred());
  847|      0|        return NULL;
  848|      0|    }
  849|     98|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (849:9): [True: 2, False: 96]
  |  Branch (849:33): [True: 0, False: 2]
  ------------------
  850|      0|        return NULL;
  851|      0|    }
  852|       |
  853|     98|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
  854|     98|}
_threadmodule.c:lock_acquire_parse_timeout:
  781|  72.1k|{
  782|       |    // XXX Use PyThread_ParseTimeoutArg().
  783|       |
  784|  72.1k|    const PyTime_t unset_timeout = _PyTime_FromSeconds(-1);
  785|  72.1k|    *timeout = unset_timeout;
  786|       |
  787|  72.1k|    if (timeout_obj
  ------------------
  |  Branch (787:9): [True: 0, False: 72.1k]
  ------------------
  788|      0|        && _PyTime_FromSecondsObject(timeout,
  ------------------
  |  Branch (788:12): [True: 0, False: 0]
  ------------------
  789|      0|                                     timeout_obj, _PyTime_ROUND_TIMEOUT) < 0)
  790|      0|        return -1;
  791|       |
  792|  72.1k|    if (!blocking && *timeout != unset_timeout ) {
  ------------------
  |  Branch (792:9): [True: 2, False: 72.1k]
  |  Branch (792:22): [True: 0, False: 2]
  ------------------
  793|      0|        PyErr_SetString(PyExc_ValueError,
  794|      0|                        "can't specify a timeout for a non-blocking call");
  795|      0|        return -1;
  796|      0|    }
  797|  72.1k|    if (*timeout < 0 && *timeout != unset_timeout) {
  ------------------
  |  Branch (797:9): [True: 72.1k, False: 0]
  |  Branch (797:25): [True: 0, False: 72.1k]
  ------------------
  798|      0|        PyErr_SetString(PyExc_ValueError,
  799|      0|                        "timeout value must be a non-negative number");
  800|      0|        return -1;
  801|      0|    }
  802|  72.1k|    if (!blocking)
  ------------------
  |  Branch (802:9): [True: 2, False: 72.1k]
  ------------------
  803|      2|        *timeout = 0;
  804|  72.1k|    else if (*timeout != unset_timeout) {
  ------------------
  |  Branch (804:14): [True: 0, False: 72.1k]
  ------------------
  805|      0|        PyTime_t microseconds;
  806|       |
  807|      0|        microseconds = _PyTime_AsMicroseconds(*timeout, _PyTime_ROUND_TIMEOUT);
  808|      0|        if (microseconds > PY_TIMEOUT_MAX) {
  ------------------
  |  Branch (808:13): [True: 0, False: 0]
  ------------------
  809|      0|            PyErr_SetString(PyExc_OverflowError,
  810|      0|                            "timeout value is too large");
  811|      0|            return -1;
  812|      0|        }
  813|      0|    }
  814|  72.1k|    return 0;
  815|  72.1k|}
_threadmodule.c:_thread_lock_release_impl:
  883|     96|{
  884|       |    /* Sanity check: the lock must be locked */
  885|     96|    if (_PyMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (885:9): [True: 0, False: 96]
  ------------------
  886|      0|        PyErr_SetString(ThreadError, "release unlocked lock");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
  887|      0|        return NULL;
  888|      0|    }
  889|       |
  890|     96|    Py_RETURN_NONE;
  ------------------
  |  |  628|     96|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     96|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  891|     96|}
_threadmodule.c:_thread_lock___enter___impl:
  915|     94|{
  916|       |    return _thread_lock_acquire_impl(self, 1, NULL);
  917|     94|}
_threadmodule.c:_thread_lock___exit___impl:
  933|     94|{
  934|     94|    return _thread_lock_release_impl(self);
  935|     94|}
_threadmodule.c:get_thread_state_by_cls:
   66|    704|{
   67|       |    // Use PyType_GetModuleByDef() to handle (R)Lock subclasses.
   68|    704|    PyObject *module = PyType_GetModuleByDef(cls, &thread_module);
   69|    704|    if (module == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 704]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    704|    return get_thread_state(module);
   73|    704|}
_threadmodule.c:rlock_dealloc:
 1062|    676|{
 1063|    676|    PyObject_GC_UnTrack(self);
 1064|    676|    PyObject_ClearWeakRefs(self);
 1065|    676|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    676|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    676|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    676|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|    676|    tp->tp_free(self);
 1067|    676|    Py_DECREF(tp);
  ------------------
  |  |  430|    676|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    676|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    676|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|    676|}
_threadmodule.c:_thread_RLock_acquire_impl:
 1095|  72.1k|{
 1096|  72.1k|    PyTime_t timeout;
 1097|       |
 1098|  72.1k|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 72.1k]
  ------------------
 1099|      0|        return NULL;
 1100|      0|    }
 1101|       |
 1102|  72.1k|    PyLockStatus r = _PyRecursiveMutex_LockTimed(
 1103|  72.1k|        &self->lock, timeout,
 1104|  72.1k|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
 1105|  72.1k|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 72.1k]
  ------------------
 1106|      0|        assert(PyErr_Occurred());
 1107|      0|        return NULL;
 1108|      0|    }
 1109|  72.1k|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 72.1k]
  |  Branch (1109:33): [True: 0, False: 0]
  ------------------
 1110|      0|        return NULL;
 1111|      0|    }
 1112|       |
 1113|  72.1k|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
 1114|  72.1k|}
_threadmodule.c:_thread_RLock_release_impl:
 1147|  72.1k|{
 1148|  72.1k|    if (_PyRecursiveMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 72.1k]
  ------------------
 1149|      0|        PyErr_SetString(PyExc_RuntimeError,
 1150|      0|                        "cannot release un-acquired lock");
 1151|      0|        return NULL;
 1152|      0|    }
 1153|  72.1k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  72.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  72.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1154|  72.1k|}
_threadmodule.c:_thread_RLock___enter___impl:
 1125|  72.1k|{
 1126|       |    return _thread_RLock_acquire_impl(self, 1, NULL);
 1127|  72.1k|}
_threadmodule.c:_thread_RLock___exit___impl:
 1171|  72.1k|{
 1172|  72.1k|    return _thread_RLock_release_impl(self);
 1173|  72.1k|}
_threadmodule.c:rlock_new_impl:
 1278|    690|{
 1279|    690|    rlockobject *self = (rlockobject *) type->tp_alloc(type, 0);
 1280|    690|    if (self == NULL) {
  ------------------
  |  Branch (1280:9): [True: 0, False: 690]
  ------------------
 1281|      0|        return NULL;
 1282|      0|    }
 1283|    690|    self->lock = (_PyRecursiveMutex){0};
 1284|    690|    return (PyObject *) self;
 1285|    690|}
_threadmodule.c:local_dealloc:
 1586|      2|{
 1587|      2|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|      2|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1588|       |    /* Weakrefs must be invalidated right now, otherwise they can be used
 1589|       |       from code called below, which is very dangerous since Py_REFCNT(self) == 0 */
 1590|      2|    if (self->weakreflist != NULL) {
  ------------------
  |  Branch (1590:9): [True: 0, False: 2]
  ------------------
 1591|      0|        PyObject_ClearWeakRefs(op);
 1592|      0|    }
 1593|      2|    PyObject_GC_UnTrack(self);
 1594|      2|    (void)local_clear(op);
 1595|      2|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      2|    tp->tp_free(self);
 1597|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|      2|}
_threadmodule.c:local_getattro:
 1804|  7.34M|{
 1805|  7.34M|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|  7.34M|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1806|  7.34M|    PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
  ------------------
  |  |  213|  7.34M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1807|  7.34M|    assert(module != NULL);
 1808|  7.34M|    thread_module_state *state = get_thread_state(module);
 1809|       |
 1810|  7.34M|    PyObject *ldict = _ldict(self, state);
 1811|  7.34M|    if (ldict == NULL)
  ------------------
  |  Branch (1811:9): [True: 0, False: 7.34M]
  ------------------
 1812|      0|        return NULL;
 1813|       |
 1814|  7.34M|    int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  919|  7.34M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.34M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.34M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  654|  7.34M|#define Py_EQ 2
  ------------------
 1815|  7.34M|    if (r == 1) {
  ------------------
  |  Branch (1815:9): [True: 0, False: 7.34M]
  ------------------
 1816|      0|        return ldict;
 1817|      0|    }
 1818|  7.34M|    if (r == -1) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 7.34M]
  ------------------
 1819|      0|        Py_DECREF(ldict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1820|      0|        return NULL;
 1821|      0|    }
 1822|       |
 1823|  7.34M|    if (!Py_IS_TYPE(self, state->local_type)) {
  ------------------
  |  |  215|  7.34M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1823:9): [True: 0, False: 7.34M]
  ------------------
 1824|       |        /* use generic lookup for subtypes */
 1825|      0|        PyObject *res = _PyObject_GenericGetAttrWithDict(op, name, ldict, 0);
 1826|      0|        Py_DECREF(ldict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1827|      0|        return res;
 1828|      0|    }
 1829|       |
 1830|       |    /* Optimization: just look in dict ourselves */
 1831|  7.34M|    PyObject *value;
 1832|  7.34M|    if (PyDict_GetItemRef(ldict, name, &value) != 0) {
  ------------------
  |  Branch (1832:9): [True: 7.34M, False: 106]
  ------------------
 1833|       |        // found or error
 1834|  7.34M|        Py_DECREF(ldict);
  ------------------
  |  |  430|  7.34M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|  7.34M|        return value;
 1836|  7.34M|    }
 1837|       |
 1838|       |    /* Fall back on generic to get __class__ and __dict__ */
 1839|    106|    PyObject *res = _PyObject_GenericGetAttrWithDict(op, name, ldict, 0);
 1840|    106|    Py_DECREF(ldict);
  ------------------
  |  |  430|    106|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1841|    106|    return res;
 1842|  7.34M|}
_threadmodule.c:_ldict:
 1692|  7.78M|{
 1693|  7.78M|    if (create_localdummies(state) < 0) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 7.78M]
  ------------------
 1694|      0|        return NULL;
 1695|      0|    }
 1696|       |
 1697|       |    /* Check if a localsdict already exists */
 1698|  7.78M|    PyObject *ldict;
 1699|  7.78M|    PyThreadState *tstate = _PyThreadState_GET();
 1700|  7.78M|    if (PyDict_GetItemRef(self->localdicts, tstate->threading_local_key,
  ------------------
  |  Branch (1700:9): [True: 0, False: 7.78M]
  ------------------
 1701|  7.78M|                          &ldict) < 0) {
 1702|      0|        return NULL;
 1703|      0|    }
 1704|  7.78M|    if (ldict != NULL) {
  ------------------
  |  Branch (1704:9): [True: 7.78M, False: 0]
  ------------------
 1705|  7.78M|        return ldict;
 1706|  7.78M|    }
 1707|       |
 1708|       |    /* threading.local hasn't been instantiated for this thread */
 1709|      0|    PyObject *wr;
 1710|      0|    if (create_localsdict(self, state, &ldict, &wr) < 0) {
  ------------------
  |  Branch (1710:9): [True: 0, False: 0]
  ------------------
 1711|      0|        return NULL;
 1712|      0|    }
 1713|       |
 1714|       |    /* run __init__ if we're a subtype of `threading.local` */
 1715|      0|    if (Py_TYPE(self)->tp_init != PyBaseObject_Type.tp_init &&
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1715:9): [True: 0, False: 0]
  ------------------
 1716|      0|        Py_TYPE(self)->tp_init((PyObject *)self, self->args, self->kw) < 0) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1716:9): [True: 0, False: 0]
  ------------------
 1717|       |        /* we need to get rid of ldict from thread so
 1718|       |           we create a new one the next time we do an attr
 1719|       |           access */
 1720|      0|        PyObject *exc = PyErr_GetRaisedException();
 1721|      0|        if (PyDict_DelItem(self->localdicts,
  ------------------
  |  Branch (1721:13): [True: 0, False: 0]
  ------------------
 1722|      0|                           tstate->threading_local_key) < 0)
 1723|      0|        {
 1724|      0|            PyErr_FormatUnraisable("Exception ignored while deleting "
 1725|      0|                                   "thread local of %R", self);
 1726|      0|            assert(!PyErr_Occurred());
 1727|      0|        }
 1728|      0|        if (PySet_Discard(self->thread_watchdogs, wr) < 0) {
  ------------------
  |  Branch (1728:13): [True: 0, False: 0]
  ------------------
 1729|      0|            PyErr_FormatUnraisable("Exception ignored while discarding "
 1730|      0|                                   "thread watchdog of %R", self);
 1731|      0|        }
 1732|      0|        PyErr_SetRaisedException(exc);
 1733|      0|        Py_DECREF(ldict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|        Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1735|      0|        return NULL;
 1736|      0|    }
 1737|      0|    Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1738|       |
 1739|      0|    return ldict;
 1740|      0|}
_threadmodule.c:create_localdummies:
 1603|  7.78M|{
 1604|  7.78M|    PyThreadState *tstate = _PyThreadState_GET();
 1605|       |
 1606|  7.78M|    if (tstate->threading_local_key != NULL) {
  ------------------
  |  Branch (1606:9): [True: 7.78M, False: 2]
  ------------------
 1607|  7.78M|        return 0;
 1608|  7.78M|    }
 1609|       |
 1610|      2|    PyTypeObject *ld_type = state->local_dummy_type;
 1611|      2|    tstate->threading_local_key = ld_type->tp_alloc(ld_type, 0);
 1612|      2|    if (tstate->threading_local_key == NULL) {
  ------------------
  |  Branch (1612:9): [True: 0, False: 2]
  ------------------
 1613|      0|        return -1;
 1614|      0|    }
 1615|       |
 1616|      2|    tstate->threading_local_sentinel = ld_type->tp_alloc(ld_type, 0);
 1617|      2|    if (tstate->threading_local_sentinel == NULL) {
  ------------------
  |  Branch (1617:9): [True: 0, False: 2]
  ------------------
 1618|      0|        Py_CLEAR(tstate->threading_local_key);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1619|      0|        return -1;
 1620|      0|    }
 1621|       |
 1622|      2|    return 0;
 1623|      2|}
_threadmodule.c:create_localsdict:
 1631|     36|{
 1632|     36|    PyThreadState *tstate = _PyThreadState_GET();
 1633|     36|    PyObject *ldict = NULL;
 1634|     36|    PyObject *wr = NULL;
 1635|       |
 1636|     36|    if (create_localdummies(state) < 0) {
  ------------------
  |  Branch (1636:9): [True: 0, False: 36]
  ------------------
 1637|      0|        goto err;
 1638|      0|    }
 1639|       |
 1640|       |    /* Create and insert the locals dict and sentinel weakref */
 1641|     36|    ldict = PyDict_New();
 1642|     36|    if (ldict == NULL) {
  ------------------
  |  Branch (1642:9): [True: 0, False: 36]
  ------------------
 1643|      0|        goto err;
 1644|      0|    }
 1645|       |
 1646|     36|    if (PyDict_SetItem(self->localdicts, tstate->threading_local_key,
  ------------------
  |  Branch (1646:9): [True: 0, False: 36]
  ------------------
 1647|     36|                       ldict) < 0)
 1648|      0|    {
 1649|      0|        goto err;
 1650|      0|    }
 1651|       |
 1652|     36|    wr = create_sentinel_wr(self);
 1653|     36|    if (wr == NULL) {
  ------------------
  |  Branch (1653:9): [True: 0, False: 36]
  ------------------
 1654|      0|        PyObject *exc = PyErr_GetRaisedException();
 1655|      0|        if (PyDict_DelItem(self->localdicts,
  ------------------
  |  Branch (1655:13): [True: 0, False: 0]
  ------------------
 1656|      0|                           tstate->threading_local_key) < 0)
 1657|      0|        {
 1658|      0|            PyErr_FormatUnraisable("Exception ignored while deleting "
 1659|      0|                                   "thread local of %R", self);
 1660|      0|        }
 1661|      0|        PyErr_SetRaisedException(exc);
 1662|      0|        goto err;
 1663|      0|    }
 1664|       |
 1665|     36|    if (PySet_Add(self->thread_watchdogs, wr) < 0) {
  ------------------
  |  Branch (1665:9): [True: 0, False: 36]
  ------------------
 1666|      0|        PyObject *exc = PyErr_GetRaisedException();
 1667|      0|        if (PyDict_DelItem(self->localdicts,
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|                           tstate->threading_local_key) < 0)
 1669|      0|        {
 1670|      0|            PyErr_FormatUnraisable("Exception ignored while deleting "
 1671|      0|                                   "thread local of %R", self);
 1672|      0|        }
 1673|      0|        PyErr_SetRaisedException(exc);
 1674|      0|        goto err;
 1675|      0|    }
 1676|       |
 1677|     36|    *localsdict = ldict;
 1678|     36|    *sentinel_wr = wr;
 1679|     36|    return 0;
 1680|       |
 1681|      0|err:
 1682|      0|    Py_XDECREF(ldict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|      0|    Py_XDECREF(wr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|    return -1;
 1685|     36|}
_threadmodule.c:create_sentinel_wr:
 1470|     36|{
 1471|     36|    static PyMethodDef wr_callback_def = {
 1472|     36|        "clear_locals", clear_locals, METH_O
  ------------------
  |  |   99|     36|#define METH_O        0x0008
  ------------------
 1473|     36|    };
 1474|       |
 1475|     36|    PyThreadState *tstate = PyThreadState_Get();
 1476|       |
 1477|       |    /* We use a weak reference to self in the callback closure
 1478|       |       in order to avoid spurious reference cycles */
 1479|     36|    PyObject *self_wr = PyWeakref_NewRef((PyObject *) self, NULL);
 1480|     36|    if (self_wr == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 36]
  ------------------
 1481|      0|        return NULL;
 1482|      0|    }
 1483|       |
 1484|     36|    PyObject *args = _PyTuple_FromPairSteal(self_wr,
 1485|     36|                                            Py_NewRef(tstate->threading_local_key));
  ------------------
  |  |  550|     36|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1486|     36|    if (args == NULL) {
  ------------------
  |  Branch (1486:9): [True: 0, False: 36]
  ------------------
 1487|      0|        return NULL;
 1488|      0|    }
 1489|       |
 1490|     36|    PyObject *cb = PyCFunction_New(&wr_callback_def, args);
  ------------------
  |  |   80|     36|#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
  |  |  ------------------
  |  |  |  |   87|     36|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  |  |  ------------------
  ------------------
 1491|     36|    Py_DECREF(args);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1492|     36|    if (cb == NULL) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 36]
  ------------------
 1493|      0|        return NULL;
 1494|      0|    }
 1495|       |
 1496|     36|    PyObject *wr = PyWeakref_NewRef(tstate->threading_local_sentinel, cb);
 1497|     36|    Py_DECREF(cb);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|       |
 1499|     36|    return wr;
 1500|     36|}
_threadmodule.c:local_setattro:
 1744|   441k|{
 1745|   441k|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|   441k|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1746|   441k|    PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
  ------------------
  |  |  213|   441k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   441k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   441k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|   441k|    assert(module != NULL);
 1748|   441k|    thread_module_state *state = get_thread_state(module);
 1749|       |
 1750|   441k|    PyObject *ldict = _ldict(self, state);
 1751|   441k|    if (ldict == NULL) {
  ------------------
  |  Branch (1751:9): [True: 0, False: 441k]
  ------------------
 1752|      0|        goto err;
 1753|      0|    }
 1754|       |
 1755|   441k|    int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  919|   441k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   441k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   441k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  654|   441k|#define Py_EQ 2
  ------------------
 1756|   441k|    if (r == -1) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 441k]
  ------------------
 1757|      0|        goto err;
 1758|      0|    }
 1759|   441k|    if (r == 1) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 441k]
  ------------------
 1760|      0|        PyErr_Format(PyExc_AttributeError,
 1761|      0|                     "'%.100s' object attribute %R is read-only",
 1762|      0|                     Py_TYPE(self)->tp_name, name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      0|        goto err;
 1764|      0|    }
 1765|       |
 1766|   441k|    int st = _PyObject_GenericSetAttrWithDict(op, name, v, ldict);
 1767|   441k|    Py_DECREF(ldict);
  ------------------
  |  |  430|   441k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   441k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   441k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|   441k|    return st;
 1769|       |
 1770|      0|err:
 1771|      0|    Py_XDECREF(ldict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|      0|    return -1;
 1773|   441k|}
_threadmodule.c:local_traverse:
 1563|    252|{
 1564|    252|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|    252|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1565|    252|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 252, False: 0]
  |  |  ------------------
  |  |  196|    252|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    252|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 252]
  |  |  ------------------
  |  |  198|    252|                return vret;                                            \
  |  |  199|    252|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1566|    252|    Py_VISIT(self->args);
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 252, False: 0]
  |  |  ------------------
  |  |  196|    252|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    252|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 252]
  |  |  ------------------
  |  |  198|    252|                return vret;                                            \
  |  |  199|    252|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1567|    252|    Py_VISIT(self->kw);
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 252]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1568|    252|    Py_VISIT(self->localdicts);
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 252, False: 0]
  |  |  ------------------
  |  |  196|    252|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    252|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 252]
  |  |  ------------------
  |  |  198|    252|                return vret;                                            \
  |  |  199|    252|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1569|    252|    Py_VISIT(self->thread_watchdogs);
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 252, False: 0]
  |  |  ------------------
  |  |  196|    252|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    252|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 252]
  |  |  ------------------
  |  |  198|    252|                return vret;                                            \
  |  |  199|    252|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1570|    252|    return 0;
 1571|    252|}
_threadmodule.c:local_clear:
 1575|      2|{
 1576|      2|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|      2|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1577|      2|    Py_CLEAR(self->args);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1578|      2|    Py_CLEAR(self->kw);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1579|      2|    Py_CLEAR(self->localdicts);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1580|       |    Py_CLEAR(self->thread_watchdogs);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1581|      2|    return 0;
 1582|      2|}
_threadmodule.c:local_new:
 1504|     36|{
 1505|     36|    if (type->tp_init == PyBaseObject_Type.tp_init) {
  ------------------
  |  Branch (1505:9): [True: 36, False: 0]
  ------------------
 1506|     36|        int rc = 0;
 1507|     36|        if (args != NULL)
  ------------------
  |  Branch (1507:13): [True: 36, False: 0]
  ------------------
 1508|     36|            rc = PyObject_IsTrue(args);
 1509|     36|        if (rc == 0 && kw != NULL)
  ------------------
  |  Branch (1509:13): [True: 36, False: 0]
  |  Branch (1509:24): [True: 0, False: 36]
  ------------------
 1510|      0|            rc = PyObject_IsTrue(kw);
 1511|     36|        if (rc != 0) {
  ------------------
  |  Branch (1511:13): [True: 0, False: 36]
  ------------------
 1512|      0|            if (rc > 0) {
  ------------------
  |  Branch (1512:17): [True: 0, False: 0]
  ------------------
 1513|      0|                PyErr_SetString(PyExc_TypeError,
 1514|      0|                          "Initialization arguments are not supported");
 1515|      0|            }
 1516|      0|            return NULL;
 1517|      0|        }
 1518|     36|    }
 1519|       |
 1520|     36|    PyObject *module = PyType_GetModuleByDef(type, &thread_module);
 1521|     36|    assert(module != NULL);
 1522|     36|    thread_module_state *state = get_thread_state(module);
 1523|       |
 1524|     36|    localobject *self = (localobject *)type->tp_alloc(type, 0);
 1525|     36|    if (self == NULL) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 36]
  ------------------
 1526|      0|        return NULL;
 1527|      0|    }
 1528|       |
 1529|       |    // gh-128691: Use deferred reference counting for thread-locals to avoid
 1530|       |    // contention on the shared object.
 1531|     36|    _PyObject_SetDeferredRefcount((PyObject *)self);
 1532|       |
 1533|     36|    self->args = Py_XNewRef(args);
  ------------------
  |  |  551|     36|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|     36|    self->kw = Py_XNewRef(kw);
  ------------------
  |  |  551|     36|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|       |
 1536|     36|    self->localdicts = PyDict_New();
 1537|     36|    if (self->localdicts == NULL) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 36]
  ------------------
 1538|      0|        goto err;
 1539|      0|    }
 1540|       |
 1541|     36|    self->thread_watchdogs = PySet_New(NULL);
 1542|     36|    if (self->thread_watchdogs == NULL) {
  ------------------
  |  Branch (1542:9): [True: 0, False: 36]
  ------------------
 1543|      0|        goto err;
 1544|      0|    }
 1545|       |
 1546|     36|    PyObject *localsdict = NULL;
 1547|     36|    PyObject *sentinel_wr = NULL;
 1548|     36|    if (create_localsdict(self, state, &localsdict, &sentinel_wr) < 0) {
  ------------------
  |  Branch (1548:9): [True: 0, False: 36]
  ------------------
 1549|      0|        goto err;
 1550|      0|    }
 1551|     36|    Py_DECREF(localsdict);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|     36|    Py_DECREF(sentinel_wr);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|       |
 1554|     36|    return (PyObject *)self;
 1555|       |
 1556|      0|  err:
 1557|      0|    Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|       |    return NULL;
 1559|     36|}
_threadmodule.c:thread_module_traverse:
 2818|     16|{
 2819|     16|    thread_module_state *state = get_thread_state(module);
 2820|     16|    Py_VISIT(state->excepthook_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2821|     16|    Py_VISIT(state->lock_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2822|     16|    Py_VISIT(state->rlock_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2823|     16|    Py_VISIT(state->local_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2824|     16|    Py_VISIT(state->local_dummy_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2825|     16|    Py_VISIT(state->thread_handle_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2826|     16|    return 0;
 2827|     16|}

PyInit__types:
   74|      2|{
   75|      2|    return PyModuleDef_Init(&typesmodule);
   76|      2|}
_typesmodule.c:_types_exec:
   12|      2|{
   13|      2|#define EXPORT_STATIC_TYPE(NAME, TYPE)                                   \
   14|      2|    do {                                                                 \
   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
   17|      2|            return -1;                                                   \
   18|      2|        }                                                                \
   19|      2|    } while (0)
   20|       |
   21|      2|    EXPORT_STATIC_TYPE("AsyncGeneratorType", PyAsyncGen_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   22|      2|    EXPORT_STATIC_TYPE("BuiltinFunctionType", PyCFunction_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   23|       |    // BuiltinMethodType is the same as BuiltinFunctionType
   24|      2|    EXPORT_STATIC_TYPE("BuiltinMethodType", PyCFunction_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   25|      2|    EXPORT_STATIC_TYPE("CapsuleType", PyCapsule_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   26|      2|    EXPORT_STATIC_TYPE("CellType", PyCell_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   27|      2|    EXPORT_STATIC_TYPE("ClassMethodDescriptorType", PyClassMethodDescr_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   28|      2|    EXPORT_STATIC_TYPE("CodeType", PyCode_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   29|      2|    EXPORT_STATIC_TYPE("CoroutineType", PyCoro_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   30|      2|    EXPORT_STATIC_TYPE("EllipsisType", PyEllipsis_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   31|      2|    EXPORT_STATIC_TYPE("FrameType", PyFrame_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   32|      2|    EXPORT_STATIC_TYPE("FrameLocalsProxyType", PyFrameLocalsProxy_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   33|      2|    EXPORT_STATIC_TYPE("FunctionType", PyFunction_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   34|      2|    EXPORT_STATIC_TYPE("GeneratorType", PyGen_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   35|      2|    EXPORT_STATIC_TYPE("GenericAlias", Py_GenericAliasType);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   36|      2|    EXPORT_STATIC_TYPE("GetSetDescriptorType", PyGetSetDescr_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   37|       |    // LambdaType is the same as FunctionType
   38|      2|    EXPORT_STATIC_TYPE("LambdaType", PyFunction_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   39|      2|    EXPORT_STATIC_TYPE("LazyImportType", PyLazyImport_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   40|      2|    EXPORT_STATIC_TYPE("MappingProxyType", PyDictProxy_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   41|      2|    EXPORT_STATIC_TYPE("MemberDescriptorType", PyMemberDescr_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   42|      2|    EXPORT_STATIC_TYPE("MethodDescriptorType", PyMethodDescr_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   43|      2|    EXPORT_STATIC_TYPE("MethodType", PyMethod_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   44|      2|    EXPORT_STATIC_TYPE("MethodWrapperType", _PyMethodWrapper_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   45|      2|    EXPORT_STATIC_TYPE("ModuleType", PyModule_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   46|      2|    EXPORT_STATIC_TYPE("NoneType", _PyNone_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   47|      2|    EXPORT_STATIC_TYPE("NotImplementedType", _PyNotImplemented_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   48|      2|    EXPORT_STATIC_TYPE("SimpleNamespace", _PyNamespace_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   49|      2|    EXPORT_STATIC_TYPE("TracebackType", PyTraceBack_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   50|      2|    EXPORT_STATIC_TYPE("UnionType", _PyUnion_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   51|      2|    EXPORT_STATIC_TYPE("WrapperDescriptorType", PyWrapperDescr_Type);
  ------------------
  |  |   14|      2|    do {                                                                 \
  |  |   15|      2|        assert(PyUnstable_IsImmortal((PyObject *)&(TYPE)));              \
  |  |   16|      2|        if (PyModule_AddObjectRef(m, (NAME), (PyObject *)&(TYPE)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (16:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   17|      0|            return -1;                                                   \
  |  |   18|      0|        }                                                                \
  |  |   19|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (19:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   52|      2|#undef EXPORT_STATIC_TYPE
   53|      2|    return 0;
   54|      2|}

PyInit__typing:
   98|      2|{
   99|      2|    return PyModuleDef_Init(&typingmodule);
  100|      2|}
_typingmodule.c:_typing_exec:
   48|      2|{
   49|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   50|       |
   51|      2|#define EXPORT_TYPE(name, typename) \
   52|      2|    if (PyModule_AddObjectRef(m, name, \
   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
   54|      2|        return -1; \
   55|      2|    }
   56|       |
   57|      2|    EXPORT_TYPE("TypeVar", typevar_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   58|      2|    EXPORT_TYPE("TypeVarTuple", typevartuple_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   59|      2|    EXPORT_TYPE("ParamSpec", paramspec_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   60|      2|    EXPORT_TYPE("ParamSpecArgs", paramspecargs_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   61|      2|    EXPORT_TYPE("ParamSpecKwargs", paramspeckwargs_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   62|      2|    EXPORT_TYPE("Generic", generic_type);
  ------------------
  |  |   52|      2|    if (PyModule_AddObjectRef(m, name, \
  |  |  ------------------
  |  |  |  Branch (52:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      2|                              (PyObject *)interp->cached_objects.typename) < 0) { \
  |  |   54|      0|        return -1; \
  |  |   55|      0|    }
  ------------------
   63|      2|#undef EXPORT_TYPE
   64|      2|    if (PyModule_AddObjectRef(m, "TypeAliasType", (PyObject *)&_PyTypeAlias_Type) < 0) {
  ------------------
  |  Branch (64:9): [True: 0, False: 2]
  ------------------
   65|      0|        return -1;
   66|      0|    }
   67|      2|    if (PyModule_AddObjectRef(m, "Union", (PyObject *)&_PyUnion_Type) < 0) {
  ------------------
  |  Branch (67:9): [True: 0, False: 2]
  ------------------
   68|      0|        return -1;
   69|      0|    }
   70|      2|    if (PyModule_AddObjectRef(m, "NoDefault", (PyObject *)&_Py_NoDefaultStruct) < 0) {
  ------------------
  |  Branch (70:9): [True: 0, False: 2]
  ------------------
   71|      0|        return -1;
   72|      0|    }
   73|      2|    return 0;
   74|      2|}

PyInit__weakref:
  186|      2|{
  187|      2|    return PyModuleDef_Init(&weakrefmodule);
  188|      2|}
_weakref.c:_weakref__remove_dead_weakref_impl:
   58|  1.57k|{
   59|  1.57k|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 1.57k]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|  1.57k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.57k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.57k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|  1.57k|}
_weakref.c:is_dead_weakref:
   35|  1.57k|{
   36|  1.57k|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|  1.57k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  1.57k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  3.15k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 1.57k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|      0|        PyErr_SetString(PyExc_TypeError, "not a weakref");
   38|      0|        return -1;
   39|      0|    }
   40|  1.57k|    return _PyWeakref_IS_DEAD(value);
   41|  1.57k|}
_weakref.c:weakref_exec:
  144|      2|{
  145|      2|    if (PyModule_AddObjectRef(module, "ref", (PyObject *) &_PyWeakref_RefType) < 0) {
  ------------------
  |  Branch (145:9): [True: 0, False: 2]
  ------------------
  146|      0|        return -1;
  147|      0|    }
  148|      2|    if (PyModule_AddObjectRef(module, "ReferenceType",
  ------------------
  |  Branch (148:9): [True: 0, False: 2]
  ------------------
  149|      2|                           (PyObject *) &_PyWeakref_RefType) < 0) {
  150|      0|        return -1;
  151|      0|    }
  152|      2|    if (PyModule_AddObjectRef(module, "ProxyType",
  ------------------
  |  Branch (152:9): [True: 0, False: 2]
  ------------------
  153|      2|                           (PyObject *) &_PyWeakref_ProxyType) < 0) {
  154|      0|        return -1;
  155|      0|    }
  156|      2|    if (PyModule_AddObjectRef(module, "CallableProxyType",
  ------------------
  |  Branch (156:9): [True: 0, False: 2]
  ------------------
  157|      2|                           (PyObject *) &_PyWeakref_CallableProxyType) < 0) {
  158|      0|        return -1;
  159|      0|    }
  160|       |
  161|      2|    return 0;
  162|      2|}

_PyAtExit_Init:
   68|      2|{
   69|      2|    struct atexit_state *state = &interp->atexit;
   70|       |    // _PyAtExit_Init() must only be called once
   71|      2|    assert(state->callbacks == NULL);
   72|       |
   73|      2|    state->callbacks = PyList_New(0);
   74|      2|    if (state->callbacks == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2]
  ------------------
   75|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
   76|      0|    }
   77|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
   78|      2|}
PyInit_atexit:
  361|      2|{
  362|      2|    return PyModuleDef_Init(&atexitmodule);
  363|      2|}
atexitmodule.c:atexit_register:
  174|      2|{
  175|      2|    if (PyTuple_GET_SIZE(args) == 0) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (175:9): [True: 0, False: 2]
  ------------------
  176|      0|        PyErr_SetString(PyExc_TypeError,
  177|      0|                "register() takes at least 1 argument (0 given)");
  178|      0|        return NULL;
  179|      0|    }
  180|       |
  181|      2|    PyObject *func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (182:9): [True: 0, False: 2]
  ------------------
  183|      0|        PyErr_SetString(PyExc_TypeError,
  184|      0|                "the first argument must be callable");
  185|      0|        return NULL;
  186|      0|    }
  187|      2|    PyObject *func_args = PyTuple_GetSlice(args, 1, PyTuple_GET_SIZE(args));
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|      2|    if (func_args == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 2]
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|      2|    PyObject *func_kwargs = kwargs;
  192|       |
  193|      2|    if (func_kwargs == NULL)
  ------------------
  |  Branch (193:9): [True: 2, False: 0]
  ------------------
  194|      2|    {
  195|      2|        func_kwargs = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  196|      2|    }
  197|      2|    PyObject *callback = PyTuple_Pack(3, func, func_args, func_kwargs);
  198|      2|    Py_DECREF(func_args);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      2|    if (callback == NULL)
  ------------------
  |  Branch (199:9): [True: 0, False: 2]
  ------------------
  200|      0|    {
  201|      0|        return NULL;
  202|      0|    }
  203|       |
  204|      2|    struct atexit_state *state = get_atexit_state();
  205|       |    // atexit callbacks go in a LIFO order
  206|      2|    if (PyList_Insert(state->callbacks, 0, callback) < 0)
  ------------------
  |  Branch (206:9): [True: 0, False: 2]
  ------------------
  207|      0|    {
  208|      0|        Py_DECREF(callback);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      0|        return NULL;
  210|      0|    }
  211|      2|    Py_DECREF(callback);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|       |
  213|      2|    return Py_NewRef(func);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      2|}
atexitmodule.c:get_atexit_state:
   20|      2|{
   21|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   22|      2|    return &interp->atexit;
   23|      2|}

_abc.c:_abc__abc_register:
   65|    154|{
   66|    154|    PyObject *return_value = NULL;
   67|    154|    PyObject *self;
   68|    154|    PyObject *subclass;
   69|       |
   70|    154|    if (!_PyArg_CheckPositional("_abc_register", nargs, 2, 2)) {
  ------------------
  |  |   31|    154|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 154, False: 0]
  |  |  |  Branch (31:27): [True: 154, False: 0]
  |  |  ------------------
  |  |   32|    154|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   71|      0|        goto exit;
   72|      0|    }
   73|    154|    self = args[0];
   74|    154|    subclass = args[1];
   75|    154|    return_value = _abc__abc_register_impl(module, self, subclass);
   76|       |
   77|    154|exit:
   78|    154|    return return_value;
   79|    154|}
_abc.c:_abc__abc_instancecheck:
   96|  37.2k|{
   97|  37.2k|    PyObject *return_value = NULL;
   98|  37.2k|    PyObject *self;
   99|  37.2k|    PyObject *instance;
  100|       |
  101|  37.2k|    if (!_PyArg_CheckPositional("_abc_instancecheck", nargs, 2, 2)) {
  ------------------
  |  |   31|  37.2k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 37.2k, False: 0]
  |  |  |  Branch (31:27): [True: 37.2k, False: 0]
  |  |  ------------------
  |  |   32|  37.2k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|  37.2k|    self = args[0];
  105|  37.2k|    instance = args[1];
  106|  37.2k|    return_value = _abc__abc_instancecheck_impl(module, self, instance);
  107|       |
  108|  37.2k|exit:
  109|  37.2k|    return return_value;
  110|  37.2k|}
_abc.c:_abc__abc_subclasscheck:
  127|  18.8k|{
  128|  18.8k|    PyObject *return_value = NULL;
  129|  18.8k|    PyObject *self;
  130|  18.8k|    PyObject *subclass;
  131|       |
  132|  18.8k|    if (!_PyArg_CheckPositional("_abc_subclasscheck", nargs, 2, 2)) {
  ------------------
  |  |   31|  18.8k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 18.8k, False: 0]
  |  |  |  Branch (31:27): [True: 18.8k, False: 0]
  |  |  ------------------
  |  |   32|  18.8k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  133|      0|        goto exit;
  134|      0|    }
  135|  18.8k|    self = args[0];
  136|  18.8k|    subclass = args[1];
  137|  18.8k|    return_value = _abc__abc_subclasscheck_impl(module, self, subclass);
  138|       |
  139|  18.8k|exit:
  140|  18.8k|    return return_value;
  141|  18.8k|}

_codecsmodule.c:_codecs_lookup:
   50|      8|{
   51|      8|    PyObject *return_value = NULL;
   52|      8|    const char *encoding;
   53|       |
   54|      8|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (54:9): [True: 0, False: 8]
  ------------------
   55|      0|        _PyArg_BadArgument("lookup", "argument", "str", arg);
   56|      0|        goto exit;
   57|      0|    }
   58|      8|    Py_ssize_t encoding_length;
   59|      8|    encoding = PyUnicode_AsUTF8AndSize(arg, &encoding_length);
   60|      8|    if (encoding == NULL) {
  ------------------
  |  Branch (60:9): [True: 0, False: 8]
  ------------------
   61|      0|        goto exit;
   62|      0|    }
   63|      8|    if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (63:9): [True: 0, False: 8]
  ------------------
   64|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
   65|      0|        goto exit;
   66|      0|    }
   67|      8|    return_value = _codecs_lookup_impl(module, encoding);
   68|       |
   69|      8|exit:
   70|      8|    return return_value;
   71|      8|}
_codecsmodule.c:_codecs_utf_8_decode:
  484|     50|{
  485|     50|    PyObject *return_value = NULL;
  486|     50|    Py_buffer data = {NULL, NULL};
  487|     50|    const char *errors = NULL;
  488|     50|    int final = 0;
  489|       |
  490|     50|    if (!_PyArg_CheckPositional("utf_8_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|     50|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 50, False: 0]
  |  |  |  Branch (31:27): [True: 50, False: 0]
  |  |  ------------------
  |  |   32|     50|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|     50|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     50|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (493:9): [True: 0, False: 50]
  ------------------
  494|      0|        goto exit;
  495|      0|    }
  496|     50|    if (nargs < 2) {
  ------------------
  |  Branch (496:9): [True: 0, False: 50]
  ------------------
  497|      0|        goto skip_optional;
  498|      0|    }
  499|     50|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (499:9): [True: 0, False: 50]
  ------------------
  500|      0|        errors = NULL;
  501|      0|    }
  502|     50|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|     50|        Py_ssize_t errors_length;
  504|     50|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  505|     50|        if (errors == NULL) {
  ------------------
  |  Branch (505:13): [True: 0, False: 50]
  ------------------
  506|      0|            goto exit;
  507|      0|        }
  508|     50|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (508:13): [True: 0, False: 50]
  ------------------
  509|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  510|      0|            goto exit;
  511|      0|        }
  512|     50|    }
  513|      0|    else {
  514|      0|        _PyArg_BadArgument("utf_8_decode", "argument 2", "str or None", args[1]);
  515|      0|        goto exit;
  516|      0|    }
  517|     50|    if (nargs < 3) {
  ------------------
  |  Branch (517:9): [True: 0, False: 50]
  ------------------
  518|      0|        goto skip_optional;
  519|      0|    }
  520|     50|    final = PyObject_IsTrue(args[2]);
  521|     50|    if (final < 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 50]
  ------------------
  522|      0|        goto exit;
  523|      0|    }
  524|     50|skip_optional:
  525|     50|    return_value = _codecs_utf_8_decode_impl(module, &data, errors, final);
  526|       |
  527|     50|exit:
  528|       |    /* Cleanup for data */
  529|     50|    if (data.obj) {
  ------------------
  |  Branch (529:9): [True: 50, False: 0]
  ------------------
  530|     50|       PyBuffer_Release(&data);
  531|     50|    }
  532|       |
  533|     50|    return return_value;
  534|     50|}
_codecsmodule.c:_codecs_lookup_error:
 2761|     12|{
 2762|     12|    PyObject *return_value = NULL;
 2763|     12|    const char *name;
 2764|       |
 2765|     12|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2765:9): [True: 0, False: 12]
  ------------------
 2766|      0|        _PyArg_BadArgument("lookup_error", "argument", "str", arg);
 2767|      0|        goto exit;
 2768|      0|    }
 2769|     12|    Py_ssize_t name_length;
 2770|     12|    name = PyUnicode_AsUTF8AndSize(arg, &name_length);
 2771|     12|    if (name == NULL) {
  ------------------
  |  Branch (2771:9): [True: 0, False: 12]
  ------------------
 2772|      0|        goto exit;
 2773|      0|    }
 2774|     12|    if (strlen(name) != (size_t)name_length) {
  ------------------
  |  Branch (2774:9): [True: 0, False: 12]
  ------------------
 2775|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 2776|      0|        goto exit;
 2777|      0|    }
 2778|     12|    return_value = _codecs_lookup_error_impl(module, name);
 2779|       |
 2780|     12|exit:
 2781|     12|    return return_value;
 2782|     12|}
_codecsmodule.c:_codecs__normalize_encoding:
 2800|      4|{
 2801|      4|    PyObject *return_value = NULL;
 2802|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2803|       |
 2804|      4|    #define NUM_KEYWORDS 1
 2805|      4|    static struct {
 2806|      4|        PyGC_Head _this_is_not_used;
 2807|      4|        PyObject_VAR_HEAD
 2808|      4|        Py_hash_t ob_hash;
 2809|      4|        PyObject *ob_item[NUM_KEYWORDS];
 2810|      4|    } _kwtuple = {
 2811|      4|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      4|    {                                     \
  |  |   98|      4|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      4|    {                               \
  |  |  |  |   91|      4|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      4|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      4|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      4|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      4|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      4|        (type)                      \
  |  |  |  |   93|      4|    },
  |  |  ------------------
  |  |   99|      4|        (size)                            \
  |  |  100|      4|    },
  ------------------
 2812|      4|        .ob_hash = -1,
 2813|      4|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|      4|    };
 2815|      4|    #undef NUM_KEYWORDS
 2816|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2817|       |
 2818|       |    #else  // !Py_BUILD_CORE
 2819|       |    #  define KWTUPLE NULL
 2820|       |    #endif  // !Py_BUILD_CORE
 2821|       |
 2822|      4|    static const char * const _keywords[] = {"encoding", NULL};
 2823|      4|    static _PyArg_Parser _parser = {
 2824|      4|        .keywords = _keywords,
 2825|      4|        .fname = "_normalize_encoding",
 2826|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2816|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2827|      4|    };
 2828|      4|    #undef KWTUPLE
 2829|      4|    PyObject *argsbuf[1];
 2830|      4|    PyObject *encoding;
 2831|       |
 2832|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2833|      4|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2834|      4|    if (!args) {
  ------------------
  |  Branch (2834:9): [True: 0, False: 4]
  ------------------
 2835|      0|        goto exit;
 2836|      0|    }
 2837|      4|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2837:9): [True: 0, False: 4]
  ------------------
 2838|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2839|      0|        goto exit;
 2840|      0|    }
 2841|      4|    encoding = args[0];
 2842|      4|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 2843|       |
 2844|      4|exit:
 2845|      4|    return return_value;
 2846|      4|}

_collectionsmodule.c:deque_init:
  466|      6|{
  467|      6|    int return_value = -1;
  468|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  469|       |
  470|      6|    #define NUM_KEYWORDS 2
  471|      6|    static struct {
  472|      6|        PyGC_Head _this_is_not_used;
  473|      6|        PyObject_VAR_HEAD
  474|      6|        Py_hash_t ob_hash;
  475|      6|        PyObject *ob_item[NUM_KEYWORDS];
  476|      6|    } _kwtuple = {
  477|      6|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      6|    {                                     \
  |  |   98|      6|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      6|    {                               \
  |  |  |  |   91|      6|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      6|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      6|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      6|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      6|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      6|        (type)                      \
  |  |  |  |   93|      6|    },
  |  |  ------------------
  |  |   99|      6|        (size)                            \
  |  |  100|      6|    },
  ------------------
  478|      6|        .ob_hash = -1,
  479|      6|        .ob_item = { &_Py_ID(iterable), &_Py_ID(maxlen), },
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(iterable), &_Py_ID(maxlen), },
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      6|    };
  481|      6|    #undef NUM_KEYWORDS
  482|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  483|       |
  484|       |    #else  // !Py_BUILD_CORE
  485|       |    #  define KWTUPLE NULL
  486|       |    #endif  // !Py_BUILD_CORE
  487|       |
  488|      6|    static const char * const _keywords[] = {"iterable", "maxlen", NULL};
  489|      6|    static _PyArg_Parser _parser = {
  490|      6|        .keywords = _keywords,
  491|      6|        .fname = "deque",
  492|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  482|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  493|      6|    };
  494|      6|    #undef KWTUPLE
  495|      6|    PyObject *argsbuf[2];
  496|      6|    PyObject * const *fastargs;
  497|      6|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      6|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|      6|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (498:36): [True: 0, False: 6]
  ------------------
  499|      6|    PyObject *iterable = NULL;
  500|      6|    PyObject *maxlenobj = NULL;
  501|       |
  502|      6|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 6, Folded]
  |  |  |  Branch (88:23): [True: 6, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      6|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6]
  |  |  |  Branch (89:43): [True: 6, False: 0]
  |  |  |  Branch (89:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   90|      6|      (args) : \
  |  |   91|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  503|      6|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  504|      6|    if (!fastargs) {
  ------------------
  |  Branch (504:9): [True: 0, False: 6]
  ------------------
  505|      0|        goto exit;
  506|      0|    }
  507|      6|    if (!noptargs) {
  ------------------
  |  Branch (507:9): [True: 2, False: 4]
  ------------------
  508|      2|        goto skip_optional_pos;
  509|      2|    }
  510|      4|    if (fastargs[0]) {
  ------------------
  |  Branch (510:9): [True: 4, False: 0]
  ------------------
  511|      4|        iterable = fastargs[0];
  512|      4|        if (!--noptargs) {
  ------------------
  |  Branch (512:13): [True: 4, False: 0]
  ------------------
  513|      4|            goto skip_optional_pos;
  514|      4|        }
  515|      4|    }
  516|      0|    maxlenobj = fastargs[1];
  517|      6|skip_optional_pos:
  518|      6|    Py_BEGIN_CRITICAL_SECTION(deque);
  ------------------
  |  |   51|      6|    {
  ------------------
  519|      6|    return_value = deque_init_impl((dequeobject *)deque, iterable, maxlenobj);
  520|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  521|       |
  522|      6|exit:
  523|      6|    return return_value;
  524|      6|}
_collectionsmodule.c:deque_extend:
  123|    168|{
  124|    168|    PyObject *return_value = NULL;
  125|       |
  126|    168|    Py_BEGIN_CRITICAL_SECTION(deque);
  ------------------
  |  |   51|    168|    {
  ------------------
  127|    168|    return_value = deque_extend_impl((dequeobject *)deque, iterable);
  128|    168|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    168|    }
  ------------------
  129|       |
  130|    168|    return return_value;
  131|    168|}
_collectionsmodule.c:deque_popleft:
   51|    168|{
   52|    168|    PyObject *return_value = NULL;
   53|       |
   54|    168|    Py_BEGIN_CRITICAL_SECTION(deque);
  ------------------
  |  |   51|    168|    {
  ------------------
   55|    168|    return_value = deque_popleft_impl((dequeobject *)deque);
   56|    168|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    168|    }
  ------------------
   57|       |
   58|    168|    return return_value;
   59|    168|}
_collectionsmodule.c:tuplegetter_new:
  604|    268|{
  605|    268|    PyObject *return_value = NULL;
  606|    268|    PyTypeObject *base_tp = clinic_state()->tuplegetter_type;
  ------------------
  |  |   57|    268|#define clinic_state() (get_module_state_by_cls(type))
  ------------------
  607|    268|    Py_ssize_t index;
  608|    268|    PyObject *doc;
  609|       |
  610|    268|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (610:10): [True: 268, False: 0]
  |  Branch (610:29): [True: 0, False: 0]
  ------------------
  611|    268|        !_PyArg_NoKeywords("_tuplegetter", kwargs)) {
  ------------------
  |  |   25|    268|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 268, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  612|      0|        goto exit;
  613|      0|    }
  614|    268|    if (!_PyArg_CheckPositional("_tuplegetter", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|    268|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 268, False: 0]
  |  |  |  Branch (31:27): [True: 268, False: 0]
  |  |  ------------------
  |  |   32|    268|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  615|      0|        goto exit;
  616|      0|    }
  617|    268|    {
  618|    268|        Py_ssize_t ival = -1;
  619|    268|        PyObject *iobj = _PyNumber_Index(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |   29|    268|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    268|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|    268|        if (iobj != NULL) {
  ------------------
  |  Branch (620:13): [True: 268, False: 0]
  ------------------
  621|    268|            ival = PyLong_AsSsize_t(iobj);
  622|    268|            Py_DECREF(iobj);
  ------------------
  |  |  430|    268|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|    268|        }
  624|    268|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (624:13): [True: 0, False: 268]
  |  Branch (624:27): [True: 0, False: 0]
  ------------------
  625|      0|            goto exit;
  626|      0|        }
  627|    268|        index = ival;
  628|    268|    }
  629|    268|    doc = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    268|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    268|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  630|    268|    return_value = tuplegetter_new_impl(type, index, doc);
  631|       |
  632|    268|exit:
  633|    268|    return return_value;
  634|    268|}

_datetimemodule.c:delta_new:
   28|     24|{
   29|     24|    PyObject *return_value = NULL;
   30|     24|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   31|       |
   32|     24|    #define NUM_KEYWORDS 7
   33|     24|    static struct {
   34|     24|        PyGC_Head _this_is_not_used;
   35|     24|        PyObject_VAR_HEAD
   36|     24|        Py_hash_t ob_hash;
   37|     24|        PyObject *ob_item[NUM_KEYWORDS];
   38|     24|    } _kwtuple = {
   39|     24|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     24|    {                                     \
  |  |   98|     24|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     24|    {                               \
  |  |  |  |   91|     24|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     24|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     24|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     24|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     24|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     24|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     24|        (type)                      \
  |  |  |  |   93|     24|    },
  |  |  ------------------
  |  |   99|     24|        (size)                            \
  |  |  100|     24|    },
  ------------------
   40|     24|        .ob_hash = -1,
   41|     24|        .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|     24|    };
   43|     24|    #undef NUM_KEYWORDS
   44|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   45|       |
   46|       |    #else  // !Py_BUILD_CORE
   47|       |    #  define KWTUPLE NULL
   48|       |    #endif  // !Py_BUILD_CORE
   49|       |
   50|     24|    static const char * const _keywords[] = {"days", "seconds", "microseconds", "milliseconds", "minutes", "hours", "weeks", NULL};
   51|     24|    static _PyArg_Parser _parser = {
   52|     24|        .keywords = _keywords,
   53|     24|        .fname = "timedelta",
   54|     24|        .kwtuple = KWTUPLE,
  ------------------
  |  |   44|     24|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   55|     24|    };
   56|     24|    #undef KWTUPLE
   57|     24|    PyObject *argsbuf[7];
   58|     24|    PyObject * const *fastargs;
   59|     24|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     24|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|     24|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|     22|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (60:36): [True: 22, False: 2]
  ------------------
   61|     24|    PyObject *days = NULL;
   62|     24|    PyObject *seconds = NULL;
   63|     24|    PyObject *microseconds = NULL;
   64|     24|    PyObject *milliseconds = NULL;
   65|     24|    PyObject *minutes = NULL;
   66|     24|    PyObject *hours = NULL;
   67|     24|    PyObject *weeks = NULL;
   68|       |
   69|     24|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     24|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 24, Folded]
  |  |  |  Branch (88:23): [True: 2, False: 22]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     24|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|     24|      (args) : \
  |  |   91|     24|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     22|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   70|     24|            /*minpos*/ 0, /*maxpos*/ 7, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   71|     24|    if (!fastargs) {
  ------------------
  |  Branch (71:9): [True: 0, False: 24]
  ------------------
   72|      0|        goto exit;
   73|      0|    }
   74|     24|    if (!noptargs) {
  ------------------
  |  Branch (74:9): [True: 0, False: 24]
  ------------------
   75|      0|        goto skip_optional_pos;
   76|      0|    }
   77|     24|    if (fastargs[0]) {
  ------------------
  |  Branch (77:9): [True: 4, False: 20]
  ------------------
   78|      4|        days = fastargs[0];
   79|      4|        if (!--noptargs) {
  ------------------
  |  Branch (79:13): [True: 4, False: 0]
  ------------------
   80|      4|            goto skip_optional_pos;
   81|      4|        }
   82|      4|    }
   83|     20|    if (fastargs[1]) {
  ------------------
  |  Branch (83:9): [True: 18, False: 2]
  ------------------
   84|     18|        seconds = fastargs[1];
   85|     18|        if (!--noptargs) {
  ------------------
  |  Branch (85:13): [True: 18, False: 0]
  ------------------
   86|     18|            goto skip_optional_pos;
   87|     18|        }
   88|     18|    }
   89|      2|    if (fastargs[2]) {
  ------------------
  |  Branch (89:9): [True: 0, False: 2]
  ------------------
   90|      0|        microseconds = fastargs[2];
   91|      0|        if (!--noptargs) {
  ------------------
  |  Branch (91:13): [True: 0, False: 0]
  ------------------
   92|      0|            goto skip_optional_pos;
   93|      0|        }
   94|      0|    }
   95|      2|    if (fastargs[3]) {
  ------------------
  |  Branch (95:9): [True: 2, False: 0]
  ------------------
   96|      2|        milliseconds = fastargs[3];
   97|      2|        if (!--noptargs) {
  ------------------
  |  Branch (97:13): [True: 2, False: 0]
  ------------------
   98|      2|            goto skip_optional_pos;
   99|      2|        }
  100|      2|    }
  101|      0|    if (fastargs[4]) {
  ------------------
  |  Branch (101:9): [True: 0, False: 0]
  ------------------
  102|      0|        minutes = fastargs[4];
  103|      0|        if (!--noptargs) {
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  ------------------
  104|      0|            goto skip_optional_pos;
  105|      0|        }
  106|      0|    }
  107|      0|    if (fastargs[5]) {
  ------------------
  |  Branch (107:9): [True: 0, False: 0]
  ------------------
  108|      0|        hours = fastargs[5];
  109|      0|        if (!--noptargs) {
  ------------------
  |  Branch (109:13): [True: 0, False: 0]
  ------------------
  110|      0|            goto skip_optional_pos;
  111|      0|        }
  112|      0|    }
  113|      0|    weeks = fastargs[6];
  114|     24|skip_optional_pos:
  115|     24|    return_value = delta_new_impl(type, days, seconds, microseconds, milliseconds, minutes, hours, weeks);
  116|       |
  117|     24|exit:
  118|     24|    return return_value;
  119|     24|}

_opcode.c:_opcode_has_arg:
  172|    308|{
  173|    308|    PyObject *return_value = NULL;
  174|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  175|       |
  176|    308|    #define NUM_KEYWORDS 1
  177|    308|    static struct {
  178|    308|        PyGC_Head _this_is_not_used;
  179|    308|        PyObject_VAR_HEAD
  180|    308|        Py_hash_t ob_hash;
  181|    308|        PyObject *ob_item[NUM_KEYWORDS];
  182|    308|    } _kwtuple = {
  183|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  184|    308|        .ob_hash = -1,
  185|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|    308|    };
  187|    308|    #undef NUM_KEYWORDS
  188|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  189|       |
  190|       |    #else  // !Py_BUILD_CORE
  191|       |    #  define KWTUPLE NULL
  192|       |    #endif  // !Py_BUILD_CORE
  193|       |
  194|    308|    static const char * const _keywords[] = {"opcode", NULL};
  195|    308|    static _PyArg_Parser _parser = {
  196|    308|        .keywords = _keywords,
  197|    308|        .fname = "has_arg",
  198|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  188|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  199|    308|    };
  200|    308|    #undef KWTUPLE
  201|    308|    PyObject *argsbuf[1];
  202|    308|    int opcode;
  203|    308|    int _return_value;
  204|       |
  205|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  206|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  207|    308|    if (!args) {
  ------------------
  |  Branch (207:9): [True: 0, False: 308]
  ------------------
  208|      0|        goto exit;
  209|      0|    }
  210|    308|    opcode = PyLong_AsInt(args[0]);
  211|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (211:9): [True: 0, False: 308]
  |  Branch (211:25): [True: 0, False: 0]
  ------------------
  212|      0|        goto exit;
  213|      0|    }
  214|    308|    _return_value = _opcode_has_arg_impl(module, opcode);
  215|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (215:9): [True: 0, False: 308]
  |  Branch (215:34): [True: 0, False: 0]
  ------------------
  216|      0|        goto exit;
  217|      0|    }
  218|    308|    return_value = PyBool_FromLong((long)_return_value);
  219|       |
  220|    308|exit:
  221|    308|    return return_value;
  222|    308|}
_opcode.c:_opcode_has_const:
  238|    308|{
  239|    308|    PyObject *return_value = NULL;
  240|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  241|       |
  242|    308|    #define NUM_KEYWORDS 1
  243|    308|    static struct {
  244|    308|        PyGC_Head _this_is_not_used;
  245|    308|        PyObject_VAR_HEAD
  246|    308|        Py_hash_t ob_hash;
  247|    308|        PyObject *ob_item[NUM_KEYWORDS];
  248|    308|    } _kwtuple = {
  249|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  250|    308|        .ob_hash = -1,
  251|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  252|    308|    };
  253|    308|    #undef NUM_KEYWORDS
  254|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  255|       |
  256|       |    #else  // !Py_BUILD_CORE
  257|       |    #  define KWTUPLE NULL
  258|       |    #endif  // !Py_BUILD_CORE
  259|       |
  260|    308|    static const char * const _keywords[] = {"opcode", NULL};
  261|    308|    static _PyArg_Parser _parser = {
  262|    308|        .keywords = _keywords,
  263|    308|        .fname = "has_const",
  264|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  254|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  265|    308|    };
  266|    308|    #undef KWTUPLE
  267|    308|    PyObject *argsbuf[1];
  268|    308|    int opcode;
  269|    308|    int _return_value;
  270|       |
  271|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  272|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  273|    308|    if (!args) {
  ------------------
  |  Branch (273:9): [True: 0, False: 308]
  ------------------
  274|      0|        goto exit;
  275|      0|    }
  276|    308|    opcode = PyLong_AsInt(args[0]);
  277|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (277:9): [True: 0, False: 308]
  |  Branch (277:25): [True: 0, False: 0]
  ------------------
  278|      0|        goto exit;
  279|      0|    }
  280|    308|    _return_value = _opcode_has_const_impl(module, opcode);
  281|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (281:9): [True: 0, False: 308]
  |  Branch (281:34): [True: 0, False: 0]
  ------------------
  282|      0|        goto exit;
  283|      0|    }
  284|    308|    return_value = PyBool_FromLong((long)_return_value);
  285|       |
  286|    308|exit:
  287|    308|    return return_value;
  288|    308|}
_opcode.c:_opcode_has_name:
  304|    308|{
  305|    308|    PyObject *return_value = NULL;
  306|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  307|       |
  308|    308|    #define NUM_KEYWORDS 1
  309|    308|    static struct {
  310|    308|        PyGC_Head _this_is_not_used;
  311|    308|        PyObject_VAR_HEAD
  312|    308|        Py_hash_t ob_hash;
  313|    308|        PyObject *ob_item[NUM_KEYWORDS];
  314|    308|    } _kwtuple = {
  315|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  316|    308|        .ob_hash = -1,
  317|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|    308|    };
  319|    308|    #undef NUM_KEYWORDS
  320|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  321|       |
  322|       |    #else  // !Py_BUILD_CORE
  323|       |    #  define KWTUPLE NULL
  324|       |    #endif  // !Py_BUILD_CORE
  325|       |
  326|    308|    static const char * const _keywords[] = {"opcode", NULL};
  327|    308|    static _PyArg_Parser _parser = {
  328|    308|        .keywords = _keywords,
  329|    308|        .fname = "has_name",
  330|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  320|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  331|    308|    };
  332|    308|    #undef KWTUPLE
  333|    308|    PyObject *argsbuf[1];
  334|    308|    int opcode;
  335|    308|    int _return_value;
  336|       |
  337|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  338|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  339|    308|    if (!args) {
  ------------------
  |  Branch (339:9): [True: 0, False: 308]
  ------------------
  340|      0|        goto exit;
  341|      0|    }
  342|    308|    opcode = PyLong_AsInt(args[0]);
  343|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (343:9): [True: 0, False: 308]
  |  Branch (343:25): [True: 0, False: 0]
  ------------------
  344|      0|        goto exit;
  345|      0|    }
  346|    308|    _return_value = _opcode_has_name_impl(module, opcode);
  347|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (347:9): [True: 0, False: 308]
  |  Branch (347:34): [True: 0, False: 0]
  ------------------
  348|      0|        goto exit;
  349|      0|    }
  350|    308|    return_value = PyBool_FromLong((long)_return_value);
  351|       |
  352|    308|exit:
  353|    308|    return return_value;
  354|    308|}
_opcode.c:_opcode_has_jump:
  370|    308|{
  371|    308|    PyObject *return_value = NULL;
  372|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  373|       |
  374|    308|    #define NUM_KEYWORDS 1
  375|    308|    static struct {
  376|    308|        PyGC_Head _this_is_not_used;
  377|    308|        PyObject_VAR_HEAD
  378|    308|        Py_hash_t ob_hash;
  379|    308|        PyObject *ob_item[NUM_KEYWORDS];
  380|    308|    } _kwtuple = {
  381|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  382|    308|        .ob_hash = -1,
  383|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|    308|    };
  385|    308|    #undef NUM_KEYWORDS
  386|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  387|       |
  388|       |    #else  // !Py_BUILD_CORE
  389|       |    #  define KWTUPLE NULL
  390|       |    #endif  // !Py_BUILD_CORE
  391|       |
  392|    308|    static const char * const _keywords[] = {"opcode", NULL};
  393|    308|    static _PyArg_Parser _parser = {
  394|    308|        .keywords = _keywords,
  395|    308|        .fname = "has_jump",
  396|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  386|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  397|    308|    };
  398|    308|    #undef KWTUPLE
  399|    308|    PyObject *argsbuf[1];
  400|    308|    int opcode;
  401|    308|    int _return_value;
  402|       |
  403|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  404|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  405|    308|    if (!args) {
  ------------------
  |  Branch (405:9): [True: 0, False: 308]
  ------------------
  406|      0|        goto exit;
  407|      0|    }
  408|    308|    opcode = PyLong_AsInt(args[0]);
  409|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (409:9): [True: 0, False: 308]
  |  Branch (409:25): [True: 0, False: 0]
  ------------------
  410|      0|        goto exit;
  411|      0|    }
  412|    308|    _return_value = _opcode_has_jump_impl(module, opcode);
  413|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (413:9): [True: 0, False: 308]
  |  Branch (413:34): [True: 0, False: 0]
  ------------------
  414|      0|        goto exit;
  415|      0|    }
  416|    308|    return_value = PyBool_FromLong((long)_return_value);
  417|       |
  418|    308|exit:
  419|    308|    return return_value;
  420|    308|}
_opcode.c:_opcode_has_free:
  441|    308|{
  442|    308|    PyObject *return_value = NULL;
  443|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  444|       |
  445|    308|    #define NUM_KEYWORDS 1
  446|    308|    static struct {
  447|    308|        PyGC_Head _this_is_not_used;
  448|    308|        PyObject_VAR_HEAD
  449|    308|        Py_hash_t ob_hash;
  450|    308|        PyObject *ob_item[NUM_KEYWORDS];
  451|    308|    } _kwtuple = {
  452|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  453|    308|        .ob_hash = -1,
  454|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|    308|    };
  456|    308|    #undef NUM_KEYWORDS
  457|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  458|       |
  459|       |    #else  // !Py_BUILD_CORE
  460|       |    #  define KWTUPLE NULL
  461|       |    #endif  // !Py_BUILD_CORE
  462|       |
  463|    308|    static const char * const _keywords[] = {"opcode", NULL};
  464|    308|    static _PyArg_Parser _parser = {
  465|    308|        .keywords = _keywords,
  466|    308|        .fname = "has_free",
  467|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  457|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  468|    308|    };
  469|    308|    #undef KWTUPLE
  470|    308|    PyObject *argsbuf[1];
  471|    308|    int opcode;
  472|    308|    int _return_value;
  473|       |
  474|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  475|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  476|    308|    if (!args) {
  ------------------
  |  Branch (476:9): [True: 0, False: 308]
  ------------------
  477|      0|        goto exit;
  478|      0|    }
  479|    308|    opcode = PyLong_AsInt(args[0]);
  480|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (480:9): [True: 0, False: 308]
  |  Branch (480:25): [True: 0, False: 0]
  ------------------
  481|      0|        goto exit;
  482|      0|    }
  483|    308|    _return_value = _opcode_has_free_impl(module, opcode);
  484|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (484:9): [True: 0, False: 308]
  |  Branch (484:34): [True: 0, False: 0]
  ------------------
  485|      0|        goto exit;
  486|      0|    }
  487|    308|    return_value = PyBool_FromLong((long)_return_value);
  488|       |
  489|    308|exit:
  490|    308|    return return_value;
  491|    308|}
_opcode.c:_opcode_has_local:
  507|    308|{
  508|    308|    PyObject *return_value = NULL;
  509|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  510|       |
  511|    308|    #define NUM_KEYWORDS 1
  512|    308|    static struct {
  513|    308|        PyGC_Head _this_is_not_used;
  514|    308|        PyObject_VAR_HEAD
  515|    308|        Py_hash_t ob_hash;
  516|    308|        PyObject *ob_item[NUM_KEYWORDS];
  517|    308|    } _kwtuple = {
  518|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  519|    308|        .ob_hash = -1,
  520|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    308|    };
  522|    308|    #undef NUM_KEYWORDS
  523|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  524|       |
  525|       |    #else  // !Py_BUILD_CORE
  526|       |    #  define KWTUPLE NULL
  527|       |    #endif  // !Py_BUILD_CORE
  528|       |
  529|    308|    static const char * const _keywords[] = {"opcode", NULL};
  530|    308|    static _PyArg_Parser _parser = {
  531|    308|        .keywords = _keywords,
  532|    308|        .fname = "has_local",
  533|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  523|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  534|    308|    };
  535|    308|    #undef KWTUPLE
  536|    308|    PyObject *argsbuf[1];
  537|    308|    int opcode;
  538|    308|    int _return_value;
  539|       |
  540|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  541|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  542|    308|    if (!args) {
  ------------------
  |  Branch (542:9): [True: 0, False: 308]
  ------------------
  543|      0|        goto exit;
  544|      0|    }
  545|    308|    opcode = PyLong_AsInt(args[0]);
  546|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (546:9): [True: 0, False: 308]
  |  Branch (546:25): [True: 0, False: 0]
  ------------------
  547|      0|        goto exit;
  548|      0|    }
  549|    308|    _return_value = _opcode_has_local_impl(module, opcode);
  550|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (550:9): [True: 0, False: 308]
  |  Branch (550:34): [True: 0, False: 0]
  ------------------
  551|      0|        goto exit;
  552|      0|    }
  553|    308|    return_value = PyBool_FromLong((long)_return_value);
  554|       |
  555|    308|exit:
  556|    308|    return return_value;
  557|    308|}
_opcode.c:_opcode_has_exc:
  573|    308|{
  574|    308|    PyObject *return_value = NULL;
  575|    308|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  576|       |
  577|    308|    #define NUM_KEYWORDS 1
  578|    308|    static struct {
  579|    308|        PyGC_Head _this_is_not_used;
  580|    308|        PyObject_VAR_HEAD
  581|    308|        Py_hash_t ob_hash;
  582|    308|        PyObject *ob_item[NUM_KEYWORDS];
  583|    308|    } _kwtuple = {
  584|    308|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    308|    {                                     \
  |  |   98|    308|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    308|    {                               \
  |  |  |  |   91|    308|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    308|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    308|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    308|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    308|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    308|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    308|        (type)                      \
  |  |  |  |   93|    308|    },
  |  |  ------------------
  |  |   99|    308|        (size)                            \
  |  |  100|    308|    },
  ------------------
  585|    308|        .ob_hash = -1,
  586|    308|        .ob_item = { &_Py_ID(opcode), },
  ------------------
  |  |  919|    308|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    308|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    308|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|    308|    };
  588|    308|    #undef NUM_KEYWORDS
  589|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  590|       |
  591|       |    #else  // !Py_BUILD_CORE
  592|       |    #  define KWTUPLE NULL
  593|       |    #endif  // !Py_BUILD_CORE
  594|       |
  595|    308|    static const char * const _keywords[] = {"opcode", NULL};
  596|    308|    static _PyArg_Parser _parser = {
  597|    308|        .keywords = _keywords,
  598|    308|        .fname = "has_exc",
  599|    308|        .kwtuple = KWTUPLE,
  ------------------
  |  |  589|    308|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  600|    308|    };
  601|    308|    #undef KWTUPLE
  602|    308|    PyObject *argsbuf[1];
  603|    308|    int opcode;
  604|    308|    int _return_value;
  605|       |
  606|    308|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    308|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 308, False: 0]
  |  |  ------------------
  |  |   89|    308|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 308, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 308]
  |  |  |  Branch (89:43): [True: 308, False: 0]
  |  |  |  Branch (89:67): [True: 308, False: 0]
  |  |  ------------------
  |  |   90|    308|      (args) : \
  |  |   91|    308|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  607|    308|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  608|    308|    if (!args) {
  ------------------
  |  Branch (608:9): [True: 0, False: 308]
  ------------------
  609|      0|        goto exit;
  610|      0|    }
  611|    308|    opcode = PyLong_AsInt(args[0]);
  612|    308|    if (opcode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (612:9): [True: 0, False: 308]
  |  Branch (612:25): [True: 0, False: 0]
  ------------------
  613|      0|        goto exit;
  614|      0|    }
  615|    308|    _return_value = _opcode_has_exc_impl(module, opcode);
  616|    308|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (616:9): [True: 0, False: 308]
  |  Branch (616:34): [True: 0, False: 0]
  ------------------
  617|      0|        goto exit;
  618|      0|    }
  619|    308|    return_value = PyBool_FromLong((long)_return_value);
  620|       |
  621|    308|exit:
  622|    308|    return return_value;
  623|    308|}
_opcode.c:_opcode_get_nb_ops:
  659|      2|{
  660|      2|    return _opcode_get_nb_ops_impl(module);
  661|      2|}
_opcode.c:_opcode_get_intrinsic1_descs:
  677|      2|{
  678|      2|    return _opcode_get_intrinsic1_descs_impl(module);
  679|      2|}
_opcode.c:_opcode_get_intrinsic2_descs:
  695|      2|{
  696|      2|    return _opcode_get_intrinsic2_descs_impl(module);
  697|      2|}
_opcode.c:_opcode_get_special_method_names:
  713|      2|{
  714|      2|    return _opcode_get_special_method_names_impl(module);
  715|      2|}

_operator.c:_operator_eq:
 1101|      8|{
 1102|      8|    PyObject *return_value = NULL;
 1103|      8|    PyObject *a;
 1104|      8|    PyObject *b;
 1105|       |
 1106|      8|    if (!_PyArg_CheckPositional("eq", nargs, 2, 2)) {
  ------------------
  |  |   31|      8|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 8, False: 0]
  |  |  |  Branch (31:27): [True: 8, False: 0]
  |  |  ------------------
  |  |   32|      8|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1107|      0|        goto exit;
 1108|      0|    }
 1109|      8|    a = args[0];
 1110|      8|    b = args[1];
 1111|      8|    return_value = _operator_eq_impl(module, a, b);
 1112|       |
 1113|      8|exit:
 1114|      8|    return return_value;
 1115|      8|}

_threadmodule.c:_thread_lock_acquire:
   33|      4|{
   34|      4|    PyObject *return_value = NULL;
   35|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   36|       |
   37|      4|    #define NUM_KEYWORDS 2
   38|      4|    static struct {
   39|      4|        PyGC_Head _this_is_not_used;
   40|      4|        PyObject_VAR_HEAD
   41|      4|        Py_hash_t ob_hash;
   42|      4|        PyObject *ob_item[NUM_KEYWORDS];
   43|      4|    } _kwtuple = {
   44|      4|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      4|    {                                     \
  |  |   98|      4|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      4|    {                               \
  |  |  |  |   91|      4|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      4|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      4|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      4|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      4|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      4|        (type)                      \
  |  |  |  |   93|      4|    },
  |  |  ------------------
  |  |   99|      4|        (size)                            \
  |  |  100|      4|    },
  ------------------
   45|      4|        .ob_hash = -1,
   46|      4|        .ob_item = { &_Py_ID(blocking), &_Py_ID(timeout), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(blocking), &_Py_ID(timeout), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|      4|    };
   48|      4|    #undef NUM_KEYWORDS
   49|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   50|       |
   51|       |    #else  // !Py_BUILD_CORE
   52|       |    #  define KWTUPLE NULL
   53|       |    #endif  // !Py_BUILD_CORE
   54|       |
   55|      4|    static const char * const _keywords[] = {"blocking", "timeout", NULL};
   56|      4|    static _PyArg_Parser _parser = {
   57|      4|        .keywords = _keywords,
   58|      4|        .fname = "acquire",
   59|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  |   49|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   60|      4|    };
   61|      4|    #undef KWTUPLE
   62|      4|    PyObject *argsbuf[2];
   63|      4|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (63:36): [True: 0, False: 4]
  ------------------
   64|      4|    int blocking = 1;
   65|      4|    PyObject *timeoutobj = NULL;
   66|       |
   67|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   68|      4|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   69|      4|    if (!args) {
  ------------------
  |  Branch (69:9): [True: 0, False: 4]
  ------------------
   70|      0|        goto exit;
   71|      0|    }
   72|      4|    if (!noptargs) {
  ------------------
  |  Branch (72:9): [True: 2, False: 2]
  ------------------
   73|      2|        goto skip_optional_pos;
   74|      2|    }
   75|      2|    if (args[0]) {
  ------------------
  |  Branch (75:9): [True: 2, False: 0]
  ------------------
   76|      2|        blocking = PyObject_IsTrue(args[0]);
   77|      2|        if (blocking < 0) {
  ------------------
  |  Branch (77:13): [True: 0, False: 2]
  ------------------
   78|      0|            goto exit;
   79|      0|        }
   80|      2|        if (!--noptargs) {
  ------------------
  |  Branch (80:13): [True: 2, False: 0]
  ------------------
   81|      2|            goto skip_optional_pos;
   82|      2|        }
   83|      2|    }
   84|      0|    timeoutobj = args[1];
   85|      4|skip_optional_pos:
   86|      4|    return_value = _thread_lock_acquire_impl((lockobject *)self, blocking, timeoutobj);
   87|       |
   88|      4|exit:
   89|      4|    return return_value;
   90|      4|}
_threadmodule.c:_thread_lock_release:
  184|      2|{
  185|      2|    return _thread_lock_release_impl((lockobject *)self);
  186|      2|}
_threadmodule.c:_thread_lock___enter__:
  220|     94|{
  221|     94|    return _thread_lock___enter___impl((lockobject *)self);
  222|     94|}
_threadmodule.c:_thread_lock___exit__:
  239|     94|{
  240|     94|    PyObject *return_value = NULL;
  241|     94|    PyObject *exc_type;
  242|     94|    PyObject *exc_value;
  243|     94|    PyObject *exc_tb;
  244|       |
  245|     94|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   31|     94|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 94, False: 0]
  |  |  |  Branch (31:27): [True: 94, False: 0]
  |  |  ------------------
  |  |   32|     94|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  246|      0|        goto exit;
  247|      0|    }
  248|     94|    exc_type = args[0];
  249|     94|    exc_value = args[1];
  250|     94|    exc_tb = args[2];
  251|     94|    return_value = _thread_lock___exit___impl((lockobject *)self, exc_type, exc_value, exc_tb);
  252|       |
  253|     94|exit:
  254|     94|    return return_value;
  255|     94|}
_threadmodule.c:lock_new:
  319|     14|{
  320|     14|    PyObject *return_value = NULL;
  321|     14|    PyTypeObject *base_tp = clinic_state()->lock_type;
  ------------------
  |  |   91|     14|#define clinic_state() get_thread_state_by_cls(type)
  ------------------
  322|       |
  323|     14|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (323:10): [True: 14, False: 0]
  |  Branch (323:29): [True: 0, False: 0]
  ------------------
  324|     14|        !_PyArg_NoPositional("lock", args)) {
  ------------------
  |  |   20|     14|    ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 0, False: 14]
  |  |  |  Branch (20:24): [True: 14, False: 0]
  |  |  ------------------
  ------------------
  325|      0|        goto exit;
  326|      0|    }
  327|     14|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (327:10): [True: 14, False: 0]
  |  Branch (327:29): [True: 0, False: 0]
  ------------------
  328|     14|        !_PyArg_NoKeywords("lock", kwargs)) {
  ------------------
  |  |   25|     14|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 14, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  329|      0|        goto exit;
  330|      0|    }
  331|     14|    return_value = lock_new_impl(type);
  332|       |
  333|     14|exit:
  334|     14|    return return_value;
  335|     14|}
_threadmodule.c:_thread_RLock___enter__:
  438|  72.1k|{
  439|  72.1k|    return _thread_RLock___enter___impl((rlockobject *)self);
  440|  72.1k|}
_threadmodule.c:_thread_RLock___exit__:
  484|  72.1k|{
  485|  72.1k|    PyObject *return_value = NULL;
  486|  72.1k|    PyObject *exc_type;
  487|  72.1k|    PyObject *exc_value;
  488|  72.1k|    PyObject *exc_tb;
  489|       |
  490|  72.1k|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   31|  72.1k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 72.1k, False: 0]
  |  |  |  Branch (31:27): [True: 72.1k, False: 0]
  |  |  ------------------
  |  |   32|  72.1k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|  72.1k|    exc_type = args[0];
  494|  72.1k|    exc_value = args[1];
  495|  72.1k|    exc_tb = args[2];
  496|  72.1k|    return_value = _thread_RLock___exit___impl((rlockobject *)self, exc_type, exc_value, exc_tb);
  497|       |
  498|  72.1k|exit:
  499|  72.1k|    return return_value;
  500|  72.1k|}
_threadmodule.c:rlock_new:
  601|    690|{
  602|    690|    PyObject *return_value = NULL;
  603|    690|    PyTypeObject *base_tp = clinic_state()->rlock_type;
  ------------------
  |  |   91|    690|#define clinic_state() get_thread_state_by_cls(type)
  ------------------
  604|       |
  605|    690|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (605:10): [True: 690, False: 0]
  |  Branch (605:29): [True: 0, False: 0]
  ------------------
  606|    690|        !_PyArg_NoPositional("RLock", args)) {
  ------------------
  |  |   20|    690|    ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 0, False: 690]
  |  |  |  Branch (20:24): [True: 690, False: 0]
  |  |  ------------------
  ------------------
  607|      0|        goto exit;
  608|      0|    }
  609|    690|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (609:10): [True: 690, False: 0]
  |  Branch (609:29): [True: 0, False: 0]
  ------------------
  610|    690|        !_PyArg_NoKeywords("RLock", kwargs)) {
  ------------------
  |  |   25|    690|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 690, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  611|      0|        goto exit;
  612|      0|    }
  613|    690|    return_value = rlock_new_impl(type);
  614|       |
  615|    690|exit:
  616|    690|    return return_value;
  617|    690|}

_weakref.c:_weakref__remove_dead_weakref:
   50|  1.57k|{
   51|  1.57k|    PyObject *return_value = NULL;
   52|  1.57k|    PyObject *dct;
   53|  1.57k|    PyObject *key;
   54|       |
   55|  1.57k|    if (!_PyArg_CheckPositional("_remove_dead_weakref", nargs, 2, 2)) {
  ------------------
  |  |   31|  1.57k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.57k, False: 0]
  |  |  |  Branch (31:27): [True: 1.57k, False: 0]
  |  |  ------------------
  |  |   32|  1.57k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   56|      0|        goto exit;
   57|      0|    }
   58|  1.57k|    if (!PyDict_Check(args[0])) {
  ------------------
  |  |   18|  1.57k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.57k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (58:9): [True: 0, False: 1.57k]
  ------------------
   59|      0|        _PyArg_BadArgument("_remove_dead_weakref", "argument 1", "dict", args[0]);
   60|      0|        goto exit;
   61|      0|    }
   62|  1.57k|    dct = args[0];
   63|  1.57k|    key = args[1];
   64|  1.57k|    return_value = _weakref__remove_dead_weakref_impl(module, dct, key);
   65|       |
   66|  1.57k|exit:
   67|  1.57k|    return return_value;
   68|  1.57k|}

itertoolsmodule.c:itertools_chain_from_iterable:
  503|     76|{
  504|     76|    PyObject *return_value = NULL;
  505|       |
  506|     76|    return_value = itertools_chain_from_iterable_impl((PyTypeObject *)type, arg);
  507|       |
  508|     76|    return return_value;
  509|     76|}
itertoolsmodule.c:itertools_count:
  926|      8|{
  927|      8|    PyObject *return_value = NULL;
  928|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  929|       |
  930|      8|    #define NUM_KEYWORDS 2
  931|      8|    static struct {
  932|      8|        PyGC_Head _this_is_not_used;
  933|      8|        PyObject_VAR_HEAD
  934|      8|        Py_hash_t ob_hash;
  935|      8|        PyObject *ob_item[NUM_KEYWORDS];
  936|      8|    } _kwtuple = {
  937|      8|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      8|    {                                     \
  |  |   98|      8|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      8|    {                               \
  |  |  |  |   91|      8|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      8|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      8|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      8|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      8|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      8|        (type)                      \
  |  |  |  |   93|      8|    },
  |  |  ------------------
  |  |   99|      8|        (size)                            \
  |  |  100|      8|    },
  ------------------
  938|      8|        .ob_hash = -1,
  939|      8|        .ob_item = { &_Py_ID(start), &_Py_ID(step), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(start), &_Py_ID(step), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  940|      8|    };
  941|      8|    #undef NUM_KEYWORDS
  942|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  943|       |
  944|       |    #else  // !Py_BUILD_CORE
  945|       |    #  define KWTUPLE NULL
  946|       |    #endif  // !Py_BUILD_CORE
  947|       |
  948|      8|    static const char * const _keywords[] = {"start", "step", NULL};
  949|      8|    static _PyArg_Parser _parser = {
  950|      8|        .keywords = _keywords,
  951|      8|        .fname = "count",
  952|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  |  942|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  953|      8|    };
  954|      8|    #undef KWTUPLE
  955|      8|    PyObject *argsbuf[2];
  956|      8|    PyObject * const *fastargs;
  957|      8|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      8|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  958|      8|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (958:36): [True: 0, False: 8]
  ------------------
  959|      8|    PyObject *long_cnt = NULL;
  960|      8|    PyObject *long_step = NULL;
  961|       |
  962|      8|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      8|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 8, Folded]
  |  |  |  Branch (88:23): [True: 8, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8]
  |  |  |  Branch (89:43): [True: 8, False: 0]
  |  |  |  Branch (89:67): [True: 8, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |   91|      8|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  963|      8|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  964|      8|    if (!fastargs) {
  ------------------
  |  Branch (964:9): [True: 0, False: 8]
  ------------------
  965|      0|        goto exit;
  966|      0|    }
  967|      8|    if (!noptargs) {
  ------------------
  |  Branch (967:9): [True: 4, False: 4]
  ------------------
  968|      4|        goto skip_optional_pos;
  969|      4|    }
  970|      4|    if (fastargs[0]) {
  ------------------
  |  Branch (970:9): [True: 4, False: 0]
  ------------------
  971|      4|        long_cnt = fastargs[0];
  972|      4|        if (!--noptargs) {
  ------------------
  |  Branch (972:13): [True: 4, False: 0]
  ------------------
  973|      4|            goto skip_optional_pos;
  974|      4|        }
  975|      4|    }
  976|      0|    long_step = fastargs[1];
  977|      8|skip_optional_pos:
  978|      8|    return_value = itertools_count_impl(type, long_cnt, long_step);
  979|       |
  980|      8|exit:
  981|      8|    return return_value;
  982|      8|}
itertoolsmodule.c:itertools_filterfalse:
  886|     44|{
  887|     44|    PyObject *return_value = NULL;
  888|     44|    PyTypeObject *base_tp = clinic_state()->filterfalse_type;
  ------------------
  |  |   91|     44|#define clinic_state() (find_state_by_type(type))
  ------------------
  889|     44|    PyObject *func;
  890|     44|    PyObject *seq;
  891|       |
  892|     44|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (892:10): [True: 44, False: 0]
  |  Branch (892:29): [True: 0, False: 0]
  ------------------
  893|     44|        !_PyArg_NoKeywords("filterfalse", kwargs)) {
  ------------------
  |  |   25|     44|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 44, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  894|      0|        goto exit;
  895|      0|    }
  896|     44|    if (!_PyArg_CheckPositional("filterfalse", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|     44|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 44, False: 0]
  |  |  |  Branch (31:27): [True: 44, False: 0]
  |  |  ------------------
  |  |   32|     44|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  897|      0|        goto exit;
  898|      0|    }
  899|     44|    func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     44|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     44|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|     44|    seq = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     44|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     44|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|     44|    return_value = itertools_filterfalse_impl(type, func, seq);
  902|       |
  903|     44|exit:
  904|     44|    return return_value;
  905|     44|}
itertoolsmodule.c:pairwise_new:
  121|      2|{
  122|      2|    PyObject *return_value = NULL;
  123|      2|    PyTypeObject *base_tp = clinic_state()->pairwise_type;
  ------------------
  |  |   91|      2|#define clinic_state() (find_state_by_type(type))
  ------------------
  124|      2|    PyObject *iterable;
  125|       |
  126|      2|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (126:10): [True: 2, False: 0]
  |  Branch (126:29): [True: 0, False: 0]
  ------------------
  127|      2|        !_PyArg_NoKeywords("pairwise", kwargs)) {
  ------------------
  |  |   25|      2|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 2, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  128|      0|        goto exit;
  129|      0|    }
  130|      2|    if (!_PyArg_CheckPositional("pairwise", PyTuple_GET_SIZE(args), 1, 1)) {
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  131|      0|        goto exit;
  132|      0|    }
  133|      2|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|      2|    return_value = pairwise_new_impl(type, iterable);
  135|       |
  136|      2|exit:
  137|      2|    return return_value;
  138|      2|}
itertoolsmodule.c:itertools_permutations:
  682|     48|{
  683|     48|    PyObject *return_value = NULL;
  684|     48|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  685|       |
  686|     48|    #define NUM_KEYWORDS 2
  687|     48|    static struct {
  688|     48|        PyGC_Head _this_is_not_used;
  689|     48|        PyObject_VAR_HEAD
  690|     48|        Py_hash_t ob_hash;
  691|     48|        PyObject *ob_item[NUM_KEYWORDS];
  692|     48|    } _kwtuple = {
  693|     48|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     48|    {                                     \
  |  |   98|     48|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     48|    {                               \
  |  |  |  |   91|     48|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     48|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     48|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     48|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     48|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     48|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     48|        (type)                      \
  |  |  |  |   93|     48|    },
  |  |  ------------------
  |  |   99|     48|        (size)                            \
  |  |  100|     48|    },
  ------------------
  694|     48|        .ob_hash = -1,
  695|     48|        .ob_item = { &_Py_ID(iterable), _Py_LATIN1_CHR('r'), },
  ------------------
  |  |  919|     48|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     48|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     48|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(iterable), _Py_LATIN1_CHR('r'), },
  ------------------
  |  |  923|     48|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 0, Folded]
  |  |  ------------------
  |  |  924|     48|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|     48|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|     48|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     48|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|     48|    };
  697|     48|    #undef NUM_KEYWORDS
  698|     48|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  699|       |
  700|       |    #else  // !Py_BUILD_CORE
  701|       |    #  define KWTUPLE NULL
  702|       |    #endif  // !Py_BUILD_CORE
  703|       |
  704|     48|    static const char * const _keywords[] = {"iterable", "r", NULL};
  705|     48|    static _PyArg_Parser _parser = {
  706|     48|        .keywords = _keywords,
  707|     48|        .fname = "permutations",
  708|     48|        .kwtuple = KWTUPLE,
  ------------------
  |  |  698|     48|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  709|     48|    };
  710|     48|    #undef KWTUPLE
  711|     48|    PyObject *argsbuf[2];
  712|     48|    PyObject * const *fastargs;
  713|     48|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     48|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|     48|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (714:36): [True: 0, False: 48]
  ------------------
  715|     48|    PyObject *iterable;
  716|     48|    PyObject *robj = Py_None;
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  717|       |
  718|     48|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     48|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 48, Folded]
  |  |  |  Branch (88:23): [True: 48, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     48|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 48, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 48]
  |  |  |  Branch (89:43): [True: 48, False: 0]
  |  |  |  Branch (89:67): [True: 48, False: 0]
  |  |  ------------------
  |  |   90|     48|      (args) : \
  |  |   91|     48|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  719|     48|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  720|     48|    if (!fastargs) {
  ------------------
  |  Branch (720:9): [True: 0, False: 48]
  ------------------
  721|      0|        goto exit;
  722|      0|    }
  723|     48|    iterable = fastargs[0];
  724|     48|    if (!noptargs) {
  ------------------
  |  Branch (724:9): [True: 48, False: 0]
  ------------------
  725|     48|        goto skip_optional_pos;
  726|     48|    }
  727|      0|    robj = fastargs[1];
  728|     48|skip_optional_pos:
  729|     48|    return_value = itertools_permutations_impl(type, iterable, robj);
  730|       |
  731|     48|exit:
  732|     48|    return return_value;
  733|     48|}

posixmodule.c:os_stat:
   46|  2.23k|{
   47|  2.23k|    PyObject *return_value = NULL;
   48|  2.23k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   49|       |
   50|  2.23k|    #define NUM_KEYWORDS 3
   51|  2.23k|    static struct {
   52|  2.23k|        PyGC_Head _this_is_not_used;
   53|  2.23k|        PyObject_VAR_HEAD
   54|  2.23k|        Py_hash_t ob_hash;
   55|  2.23k|        PyObject *ob_item[NUM_KEYWORDS];
   56|  2.23k|    } _kwtuple = {
   57|  2.23k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  2.23k|    {                                     \
  |  |   98|  2.23k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  2.23k|    {                               \
  |  |  |  |   91|  2.23k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  2.23k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.23k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  2.23k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  2.23k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  2.23k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  2.23k|        (type)                      \
  |  |  |  |   93|  2.23k|    },
  |  |  ------------------
  |  |   99|  2.23k|        (size)                            \
  |  |  100|  2.23k|    },
  ------------------
   58|  2.23k|        .ob_hash = -1,
   59|  2.23k|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  919|  2.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  919|  2.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  919|  2.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|  2.23k|    };
   61|  2.23k|    #undef NUM_KEYWORDS
   62|  2.23k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   63|       |
   64|       |    #else  // !Py_BUILD_CORE
   65|       |    #  define KWTUPLE NULL
   66|       |    #endif  // !Py_BUILD_CORE
   67|       |
   68|  2.23k|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   69|  2.23k|    static _PyArg_Parser _parser = {
   70|  2.23k|        .keywords = _keywords,
   71|  2.23k|        .fname = "stat",
   72|  2.23k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   62|  2.23k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   73|  2.23k|    };
   74|  2.23k|    #undef KWTUPLE
   75|  2.23k|    PyObject *argsbuf[3];
   76|  2.23k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (76:36): [True: 0, False: 2.23k]
  ------------------
   77|  2.23k|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1365|  2.23k|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|  2.23k|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|  2.23k|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|  2.23k|                      suppress_value_error, allow_fd)
  ------------------
   78|  2.23k|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|  2.23k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   79|  2.23k|    int follow_symlinks = 1;
   80|       |
   81|  2.23k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  2.23k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2.23k, False: 0]
  |  |  ------------------
  |  |   89|  2.23k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2.23k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2.23k]
  |  |  |  Branch (89:43): [True: 2.23k, False: 0]
  |  |  |  Branch (89:67): [True: 2.23k, False: 0]
  |  |  ------------------
  |  |   90|  2.23k|      (args) : \
  |  |   91|  2.23k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   82|  2.23k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   83|  2.23k|    if (!args) {
  ------------------
  |  Branch (83:9): [True: 0, False: 2.23k]
  ------------------
   84|      0|        goto exit;
   85|      0|    }
   86|  2.23k|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (86:9): [True: 0, False: 2.23k]
  ------------------
   87|      0|        goto exit;
   88|      0|    }
   89|  2.23k|    if (!noptargs) {
  ------------------
  |  Branch (89:9): [True: 2.23k, False: 0]
  ------------------
   90|  2.23k|        goto skip_optional_kwonly;
   91|  2.23k|    }
   92|      0|    if (args[1]) {
  ------------------
  |  Branch (92:9): [True: 0, False: 0]
  ------------------
   93|      0|        if (!FSTATAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3009|      0|    #define FSTATAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (93:13): [True: 0, False: 0]
  ------------------
   94|      0|            goto exit;
   95|      0|        }
   96|      0|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 0, False: 0]
  ------------------
   97|      0|            goto skip_optional_kwonly;
   98|      0|        }
   99|      0|    }
  100|      0|    follow_symlinks = PyObject_IsTrue(args[2]);
  101|      0|    if (follow_symlinks < 0) {
  ------------------
  |  Branch (101:9): [True: 0, False: 0]
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|  2.23k|skip_optional_kwonly:
  105|  2.23k|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  106|       |
  107|  2.23k|exit:
  108|       |    /* Cleanup for path */
  109|  2.23k|    path_cleanup(&path);
  110|       |
  111|  2.23k|    return return_value;
  112|  2.23k|}
posixmodule.c:os_getcwd:
 1615|      2|{
 1616|      2|    return os_getcwd_impl(module);
 1617|      2|}
posixmodule.c:os_listdir:
 1776|     76|{
 1777|     76|    PyObject *return_value = NULL;
 1778|     76|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1779|       |
 1780|     76|    #define NUM_KEYWORDS 1
 1781|     76|    static struct {
 1782|     76|        PyGC_Head _this_is_not_used;
 1783|     76|        PyObject_VAR_HEAD
 1784|     76|        Py_hash_t ob_hash;
 1785|     76|        PyObject *ob_item[NUM_KEYWORDS];
 1786|     76|    } _kwtuple = {
 1787|     76|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     76|    {                                     \
  |  |   98|     76|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     76|    {                               \
  |  |  |  |   91|     76|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     76|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     76|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     76|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     76|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     76|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     76|        (type)                      \
  |  |  |  |   93|     76|    },
  |  |  ------------------
  |  |   99|     76|        (size)                            \
  |  |  100|     76|    },
  ------------------
 1788|     76|        .ob_hash = -1,
 1789|     76|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  919|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|     76|    };
 1791|     76|    #undef NUM_KEYWORDS
 1792|     76|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1793|       |
 1794|       |    #else  // !Py_BUILD_CORE
 1795|       |    #  define KWTUPLE NULL
 1796|       |    #endif  // !Py_BUILD_CORE
 1797|       |
 1798|     76|    static const char * const _keywords[] = {"path", NULL};
 1799|     76|    static _PyArg_Parser _parser = {
 1800|     76|        .keywords = _keywords,
 1801|     76|        .fname = "listdir",
 1802|     76|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1792|     76|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1803|     76|    };
 1804|     76|    #undef KWTUPLE
 1805|     76|    PyObject *argsbuf[1];
 1806|     76|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1806:36): [True: 0, False: 76]
  ------------------
 1807|     76|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1365|     76|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|     76|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|     76|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|     76|                      suppress_value_error, allow_fd)
  ------------------
 1808|       |
 1809|     76|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     76|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 76, False: 0]
  |  |  ------------------
  |  |   89|     76|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 76, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 76]
  |  |  |  Branch (89:43): [True: 76, False: 0]
  |  |  |  Branch (89:67): [True: 76, False: 0]
  |  |  ------------------
  |  |   90|     76|      (args) : \
  |  |   91|     76|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1810|     76|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1811|     76|    if (!args) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 76]
  ------------------
 1812|      0|        goto exit;
 1813|      0|    }
 1814|     76|    if (!noptargs) {
  ------------------
  |  Branch (1814:9): [True: 0, False: 76]
  ------------------
 1815|      0|        goto skip_optional_pos;
 1816|      0|    }
 1817|     76|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1817:9): [True: 0, False: 76]
  ------------------
 1818|      0|        goto exit;
 1819|      0|    }
 1820|     76|skip_optional_pos:
 1821|     76|    return_value = os_listdir_impl(module, &path);
 1822|       |
 1823|     76|exit:
 1824|       |    /* Cleanup for path */
 1825|     76|    path_cleanup(&path);
 1826|       |
 1827|     76|    return return_value;
 1828|     76|}
posixmodule.c:os_lstat:
  131|  1.74k|{
  132|  1.74k|    PyObject *return_value = NULL;
  133|  1.74k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  134|       |
  135|  1.74k|    #define NUM_KEYWORDS 2
  136|  1.74k|    static struct {
  137|  1.74k|        PyGC_Head _this_is_not_used;
  138|  1.74k|        PyObject_VAR_HEAD
  139|  1.74k|        Py_hash_t ob_hash;
  140|  1.74k|        PyObject *ob_item[NUM_KEYWORDS];
  141|  1.74k|    } _kwtuple = {
  142|  1.74k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.74k|    {                                     \
  |  |   98|  1.74k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.74k|    {                               \
  |  |  |  |   91|  1.74k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.74k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.74k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.74k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.74k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.74k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.74k|        (type)                      \
  |  |  |  |   93|  1.74k|    },
  |  |  ------------------
  |  |   99|  1.74k|        (size)                            \
  |  |  100|  1.74k|    },
  ------------------
  143|  1.74k|        .ob_hash = -1,
  144|  1.74k|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|  1.74k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.74k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.74k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|  1.74k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.74k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.74k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  1.74k|    };
  146|  1.74k|    #undef NUM_KEYWORDS
  147|  1.74k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  148|       |
  149|       |    #else  // !Py_BUILD_CORE
  150|       |    #  define KWTUPLE NULL
  151|       |    #endif  // !Py_BUILD_CORE
  152|       |
  153|  1.74k|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
  154|  1.74k|    static _PyArg_Parser _parser = {
  155|  1.74k|        .keywords = _keywords,
  156|  1.74k|        .fname = "lstat",
  157|  1.74k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  147|  1.74k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  158|  1.74k|    };
  159|  1.74k|    #undef KWTUPLE
  160|  1.74k|    PyObject *argsbuf[2];
  161|  1.74k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (161:36): [True: 0, False: 1.74k]
  ------------------
  162|  1.74k|    path_t path = PATH_T_INITIALIZE_P("lstat", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|  1.74k|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|  1.74k|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|  1.74k|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|  1.74k|                      suppress_value_error, allow_fd)
  ------------------
  163|  1.74k|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|  1.74k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  164|       |
  165|  1.74k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.74k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.74k, False: 0]
  |  |  ------------------
  |  |   89|  1.74k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.74k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.74k]
  |  |  |  Branch (89:43): [True: 1.74k, False: 0]
  |  |  |  Branch (89:67): [True: 1.74k, False: 0]
  |  |  ------------------
  |  |   90|  1.74k|      (args) : \
  |  |   91|  1.74k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  166|  1.74k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  167|  1.74k|    if (!args) {
  ------------------
  |  Branch (167:9): [True: 0, False: 1.74k]
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|  1.74k|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (170:9): [True: 0, False: 1.74k]
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|  1.74k|    if (!noptargs) {
  ------------------
  |  Branch (173:9): [True: 1.74k, False: 0]
  ------------------
  174|  1.74k|        goto skip_optional_kwonly;
  175|  1.74k|    }
  176|      0|    if (!FSTATAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3009|      0|    #define FSTATAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (176:9): [True: 0, False: 0]
  ------------------
  177|      0|        goto exit;
  178|      0|    }
  179|  1.74k|skip_optional_kwonly:
  180|  1.74k|    return_value = os_lstat_impl(module, &path, dir_fd);
  181|       |
  182|  1.74k|exit:
  183|       |    /* Cleanup for path */
  184|  1.74k|    path_cleanup(&path);
  185|       |
  186|  1.74k|    return return_value;
  187|  1.74k|}
posixmodule.c:os_mkdir:
 2733|      2|{
 2734|      2|    PyObject *return_value = NULL;
 2735|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2736|       |
 2737|      2|    #define NUM_KEYWORDS 3
 2738|      2|    static struct {
 2739|      2|        PyGC_Head _this_is_not_used;
 2740|      2|        PyObject_VAR_HEAD
 2741|      2|        Py_hash_t ob_hash;
 2742|      2|        PyObject *ob_item[NUM_KEYWORDS];
 2743|      2|    } _kwtuple = {
 2744|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 2745|      2|        .ob_hash = -1,
 2746|      2|        .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2747|      2|    };
 2748|      2|    #undef NUM_KEYWORDS
 2749|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2750|       |
 2751|       |    #else  // !Py_BUILD_CORE
 2752|       |    #  define KWTUPLE NULL
 2753|       |    #endif  // !Py_BUILD_CORE
 2754|       |
 2755|      2|    static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL};
 2756|      2|    static _PyArg_Parser _parser = {
 2757|      2|        .keywords = _keywords,
 2758|      2|        .fname = "mkdir",
 2759|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2749|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2760|      2|    };
 2761|      2|    #undef KWTUPLE
 2762|      2|    PyObject *argsbuf[3];
 2763|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2763:36): [True: 0, False: 2]
  ------------------
 2764|      2|    path_t path = PATH_T_INITIALIZE_P("mkdir", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      2|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      2|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      2|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      2|                      suppress_value_error, allow_fd)
  ------------------
 2765|      2|    int mode = 511;
 2766|      2|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 2767|       |
 2768|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2769|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2770|      2|    if (!args) {
  ------------------
  |  Branch (2770:9): [True: 0, False: 2]
  ------------------
 2771|      0|        goto exit;
 2772|      0|    }
 2773|      2|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2773:9): [True: 0, False: 2]
  ------------------
 2774|      0|        goto exit;
 2775|      0|    }
 2776|      2|    if (!noptargs) {
  ------------------
  |  Branch (2776:9): [True: 0, False: 2]
  ------------------
 2777|      0|        goto skip_optional_pos;
 2778|      0|    }
 2779|      2|    if (args[1]) {
  ------------------
  |  Branch (2779:9): [True: 2, False: 0]
  ------------------
 2780|      2|        mode = PyLong_AsInt(args[1]);
 2781|      2|        if (mode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2781:13): [True: 0, False: 2]
  |  Branch (2781:27): [True: 0, False: 0]
  ------------------
 2782|      0|            goto exit;
 2783|      0|        }
 2784|      2|        if (!--noptargs) {
  ------------------
  |  Branch (2784:13): [True: 2, False: 0]
  ------------------
 2785|      2|            goto skip_optional_pos;
 2786|      2|        }
 2787|      2|    }
 2788|      2|skip_optional_pos:
 2789|      2|    if (!noptargs) {
  ------------------
  |  Branch (2789:9): [True: 2, False: 0]
  ------------------
 2790|      2|        goto skip_optional_kwonly;
 2791|      2|    }
 2792|      0|    if (!MKDIRAT_DIR_FD_CONVERTER(args[2], &dir_fd)) {
  ------------------
  |  | 3021|      0|    #define MKDIRAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (2792:9): [True: 0, False: 0]
  ------------------
 2793|      0|        goto exit;
 2794|      0|    }
 2795|      2|skip_optional_kwonly:
 2796|      2|    return_value = os_mkdir_impl(module, &path, mode, dir_fd);
 2797|       |
 2798|      2|exit:
 2799|       |    /* Cleanup for path */
 2800|      2|    path_cleanup(&path);
 2801|       |
 2802|      2|    return return_value;
 2803|      2|}
posixmodule.c:os_readlink:
 6668|      2|{
 6669|      2|    PyObject *return_value = NULL;
 6670|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 6671|       |
 6672|      2|    #define NUM_KEYWORDS 2
 6673|      2|    static struct {
 6674|      2|        PyGC_Head _this_is_not_used;
 6675|      2|        PyObject_VAR_HEAD
 6676|      2|        Py_hash_t ob_hash;
 6677|      2|        PyObject *ob_item[NUM_KEYWORDS];
 6678|      2|    } _kwtuple = {
 6679|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 6680|      2|        .ob_hash = -1,
 6681|      2|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6682|      2|    };
 6683|      2|    #undef NUM_KEYWORDS
 6684|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 6685|       |
 6686|       |    #else  // !Py_BUILD_CORE
 6687|       |    #  define KWTUPLE NULL
 6688|       |    #endif  // !Py_BUILD_CORE
 6689|       |
 6690|      2|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
 6691|      2|    static _PyArg_Parser _parser = {
 6692|      2|        .keywords = _keywords,
 6693|      2|        .fname = "readlink",
 6694|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 6684|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 6695|      2|    };
 6696|      2|    #undef KWTUPLE
 6697|      2|    PyObject *argsbuf[2];
 6698|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6698:36): [True: 0, False: 2]
  ------------------
 6699|      2|    path_t path = PATH_T_INITIALIZE_P("readlink", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      2|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      2|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      2|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      2|                      suppress_value_error, allow_fd)
  ------------------
 6700|      2|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 6701|       |
 6702|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 6703|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 6704|      2|    if (!args) {
  ------------------
  |  Branch (6704:9): [True: 0, False: 2]
  ------------------
 6705|      0|        goto exit;
 6706|      0|    }
 6707|      2|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (6707:9): [True: 0, False: 2]
  ------------------
 6708|      0|        goto exit;
 6709|      0|    }
 6710|      2|    if (!noptargs) {
  ------------------
  |  Branch (6710:9): [True: 2, False: 0]
  ------------------
 6711|      2|        goto skip_optional_kwonly;
 6712|      2|    }
 6713|      0|    if (!READLINKAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3045|      0|    #define READLINKAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (6713:9): [True: 0, False: 0]
  ------------------
 6714|      0|        goto exit;
 6715|      0|    }
 6716|      2|skip_optional_kwonly:
 6717|      2|    return_value = os_readlink_impl(module, &path, dir_fd);
 6718|       |
 6719|      2|exit:
 6720|       |    /* Cleanup for path */
 6721|      2|    path_cleanup(&path);
 6722|       |
 6723|      2|    return return_value;
 6724|      2|}
posixmodule.c:os_rename:
 3004|      2|{
 3005|      2|    PyObject *return_value = NULL;
 3006|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 3007|       |
 3008|      2|    #define NUM_KEYWORDS 4
 3009|      2|    static struct {
 3010|      2|        PyGC_Head _this_is_not_used;
 3011|      2|        PyObject_VAR_HEAD
 3012|      2|        Py_hash_t ob_hash;
 3013|      2|        PyObject *ob_item[NUM_KEYWORDS];
 3014|      2|    } _kwtuple = {
 3015|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 3016|      2|        .ob_hash = -1,
 3017|      2|        .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|      2|    };
 3019|      2|    #undef NUM_KEYWORDS
 3020|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 3021|       |
 3022|       |    #else  // !Py_BUILD_CORE
 3023|       |    #  define KWTUPLE NULL
 3024|       |    #endif  // !Py_BUILD_CORE
 3025|       |
 3026|      2|    static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
 3027|      2|    static _PyArg_Parser _parser = {
 3028|      2|        .keywords = _keywords,
 3029|      2|        .fname = "rename",
 3030|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 3020|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 3031|      2|    };
 3032|      2|    #undef KWTUPLE
 3033|      2|    PyObject *argsbuf[4];
 3034|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3034:36): [True: 0, False: 2]
  ------------------
 3035|      2|    path_t src = PATH_T_INITIALIZE_P("rename", "src", 0, 0, 0, 0);
  ------------------
  |  | 1365|      2|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      2|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      2|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      2|                      suppress_value_error, allow_fd)
  ------------------
 3036|      2|    path_t dst = PATH_T_INITIALIZE_P("rename", "dst", 0, 0, 0, 0);
  ------------------
  |  | 1365|      2|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      2|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      2|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      2|                      suppress_value_error, allow_fd)
  ------------------
 3037|      2|    int src_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3038|      2|    int dst_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3039|       |
 3040|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 3041|      2|            /*minpos*/ 2, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 3042|      2|    if (!args) {
  ------------------
  |  Branch (3042:9): [True: 0, False: 2]
  ------------------
 3043|      0|        goto exit;
 3044|      0|    }
 3045|      2|    if (!path_converter(args[0], &src)) {
  ------------------
  |  Branch (3045:9): [True: 0, False: 2]
  ------------------
 3046|      0|        goto exit;
 3047|      0|    }
 3048|      2|    if (!path_converter(args[1], &dst)) {
  ------------------
  |  Branch (3048:9): [True: 0, False: 2]
  ------------------
 3049|      0|        goto exit;
 3050|      0|    }
 3051|      2|    if (!noptargs) {
  ------------------
  |  Branch (3051:9): [True: 2, False: 0]
  ------------------
 3052|      2|        goto skip_optional_kwonly;
 3053|      2|    }
 3054|      0|    if (args[2]) {
  ------------------
  |  Branch (3054:9): [True: 0, False: 0]
  ------------------
 3055|      0|        if (!dir_fd_converter(args[2], &src_dir_fd)) {
  ------------------
  |  Branch (3055:13): [True: 0, False: 0]
  ------------------
 3056|      0|            goto exit;
 3057|      0|        }
 3058|      0|        if (!--noptargs) {
  ------------------
  |  Branch (3058:13): [True: 0, False: 0]
  ------------------
 3059|      0|            goto skip_optional_kwonly;
 3060|      0|        }
 3061|      0|    }
 3062|      0|    if (!dir_fd_converter(args[3], &dst_dir_fd)) {
  ------------------
  |  Branch (3062:9): [True: 0, False: 0]
  ------------------
 3063|      0|        goto exit;
 3064|      0|    }
 3065|      2|skip_optional_kwonly:
 3066|      2|    return_value = os_rename_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
 3067|       |
 3068|      2|exit:
 3069|       |    /* Cleanup for src */
 3070|      2|    path_cleanup(&src);
 3071|       |    /* Cleanup for dst */
 3072|      2|    path_cleanup(&dst);
 3073|       |
 3074|      2|    return return_value;
 3075|      2|}
posixmodule.c:os_rmdir:
 3192|      4|{
 3193|      4|    PyObject *return_value = NULL;
 3194|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 3195|       |
 3196|      4|    #define NUM_KEYWORDS 2
 3197|      4|    static struct {
 3198|      4|        PyGC_Head _this_is_not_used;
 3199|      4|        PyObject_VAR_HEAD
 3200|      4|        Py_hash_t ob_hash;
 3201|      4|        PyObject *ob_item[NUM_KEYWORDS];
 3202|      4|    } _kwtuple = {
 3203|      4|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      4|    {                                     \
  |  |   98|      4|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      4|    {                               \
  |  |  |  |   91|      4|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      4|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      4|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      4|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      4|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      4|        (type)                      \
  |  |  |  |   93|      4|    },
  |  |  ------------------
  |  |   99|      4|        (size)                            \
  |  |  100|      4|    },
  ------------------
 3204|      4|        .ob_hash = -1,
 3205|      4|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|      4|    };
 3207|      4|    #undef NUM_KEYWORDS
 3208|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 3209|       |
 3210|       |    #else  // !Py_BUILD_CORE
 3211|       |    #  define KWTUPLE NULL
 3212|       |    #endif  // !Py_BUILD_CORE
 3213|       |
 3214|      4|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
 3215|      4|    static _PyArg_Parser _parser = {
 3216|      4|        .keywords = _keywords,
 3217|      4|        .fname = "rmdir",
 3218|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  | 3208|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 3219|      4|    };
 3220|      4|    #undef KWTUPLE
 3221|      4|    PyObject *argsbuf[2];
 3222|      4|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3222:36): [True: 0, False: 4]
  ------------------
 3223|      4|    path_t path = PATH_T_INITIALIZE_P("rmdir", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      4|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      4|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      4|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      4|                      suppress_value_error, allow_fd)
  ------------------
 3224|      4|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3225|       |
 3226|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 3227|      4|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 3228|      4|    if (!args) {
  ------------------
  |  Branch (3228:9): [True: 0, False: 4]
  ------------------
 3229|      0|        goto exit;
 3230|      0|    }
 3231|      4|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (3231:9): [True: 0, False: 4]
  ------------------
 3232|      0|        goto exit;
 3233|      0|    }
 3234|      4|    if (!noptargs) {
  ------------------
  |  Branch (3234:9): [True: 4, False: 0]
  ------------------
 3235|      4|        goto skip_optional_kwonly;
 3236|      4|    }
 3237|      0|    if (!UNLINKAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3057|      0|    #define UNLINKAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (3237:9): [True: 0, False: 0]
  ------------------
 3238|      0|        goto exit;
 3239|      0|    }
 3240|      4|skip_optional_kwonly:
 3241|      4|    return_value = os_rmdir_impl(module, &path, dir_fd);
 3242|       |
 3243|      4|exit:
 3244|       |    /* Cleanup for path */
 3245|      4|    path_cleanup(&path);
 3246|       |
 3247|      4|    return return_value;
 3248|      4|}
posixmodule.c:os_uname:
 3606|      2|{
 3607|      2|    return os_uname_impl(module);
 3608|      2|}
posixmodule.c:os_register_at_fork:
 4364|     10|{
 4365|     10|    PyObject *return_value = NULL;
 4366|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 4367|       |
 4368|     10|    #define NUM_KEYWORDS 3
 4369|     10|    static struct {
 4370|     10|        PyGC_Head _this_is_not_used;
 4371|     10|        PyObject_VAR_HEAD
 4372|     10|        Py_hash_t ob_hash;
 4373|     10|        PyObject *ob_item[NUM_KEYWORDS];
 4374|     10|    } _kwtuple = {
 4375|     10|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     10|    {                                     \
  |  |   98|     10|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     10|    {                               \
  |  |  |  |   91|     10|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     10|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     10|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     10|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     10|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     10|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     10|        (type)                      \
  |  |  |  |   93|     10|    },
  |  |  ------------------
  |  |   99|     10|        (size)                            \
  |  |  100|     10|    },
  ------------------
 4376|     10|        .ob_hash = -1,
 4377|     10|        .ob_item = { &_Py_ID(before), &_Py_ID(after_in_child), &_Py_ID(after_in_parent), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(before), &_Py_ID(after_in_child), &_Py_ID(after_in_parent), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(before), &_Py_ID(after_in_child), &_Py_ID(after_in_parent), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|     10|    };
 4379|     10|    #undef NUM_KEYWORDS
 4380|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 4381|       |
 4382|       |    #else  // !Py_BUILD_CORE
 4383|       |    #  define KWTUPLE NULL
 4384|       |    #endif  // !Py_BUILD_CORE
 4385|       |
 4386|     10|    static const char * const _keywords[] = {"before", "after_in_child", "after_in_parent", NULL};
 4387|     10|    static _PyArg_Parser _parser = {
 4388|     10|        .keywords = _keywords,
 4389|     10|        .fname = "register_at_fork",
 4390|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 4380|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 4391|     10|    };
 4392|     10|    #undef KWTUPLE
 4393|     10|    PyObject *argsbuf[3];
 4394|     10|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|     10|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4394:36): [True: 10, False: 0]
  ------------------
 4395|     10|    PyObject *before = NULL;
 4396|     10|    PyObject *after_in_child = NULL;
 4397|     10|    PyObject *after_in_parent = NULL;
 4398|       |
 4399|     10|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     10|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 0, False: 10]
  |  |  ------------------
  |  |   89|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 0, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 0]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   90|     10|      (args) : \
  |  |   91|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     10|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 4400|     10|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 4401|     10|    if (!args) {
  ------------------
  |  Branch (4401:9): [True: 0, False: 10]
  ------------------
 4402|      0|        goto exit;
 4403|      0|    }
 4404|     10|    if (!noptargs) {
  ------------------
  |  Branch (4404:9): [True: 0, False: 10]
  ------------------
 4405|      0|        goto skip_optional_kwonly;
 4406|      0|    }
 4407|     10|    if (args[0]) {
  ------------------
  |  Branch (4407:9): [True: 2, False: 8]
  ------------------
 4408|      2|        before = args[0];
 4409|      2|        if (!--noptargs) {
  ------------------
  |  Branch (4409:13): [True: 0, False: 2]
  ------------------
 4410|      0|            goto skip_optional_kwonly;
 4411|      0|        }
 4412|      2|    }
 4413|     10|    if (args[1]) {
  ------------------
  |  Branch (4413:9): [True: 10, False: 0]
  ------------------
 4414|     10|        after_in_child = args[1];
 4415|     10|        if (!--noptargs) {
  ------------------
  |  Branch (4415:13): [True: 8, False: 2]
  ------------------
 4416|      8|            goto skip_optional_kwonly;
 4417|      8|        }
 4418|     10|    }
 4419|      2|    after_in_parent = args[2];
 4420|     10|skip_optional_kwonly:
 4421|     10|    return_value = os_register_at_fork_impl(module, before, after_in_child, after_in_parent);
 4422|       |
 4423|     10|exit:
 4424|     10|    return return_value;
 4425|     10|}
posixmodule.c:os_getegid:
 5218|      2|{
 5219|      2|    return os_getegid_impl(module);
 5220|      2|}
posixmodule.c:os_geteuid:
 5240|      2|{
 5241|      2|    return os_geteuid_impl(module);
 5242|      2|}
posixmodule.c:os_getgid:
 5262|      2|{
 5263|      2|    return os_getgid_impl(module);
 5264|      2|}
posixmodule.c:os_getpid:
 5284|      4|{
 5285|      4|    return os_getpid_impl(module);
 5286|      4|}
posixmodule.c:os_getuid:
 5683|      2|{
 5684|      2|    return os_getuid_impl(module);
 5685|      2|}
posixmodule.c:os_pidfd_open:
 6352|      2|{
 6353|      2|    PyObject *return_value = NULL;
 6354|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 6355|       |
 6356|      2|    #define NUM_KEYWORDS 2
 6357|      2|    static struct {
 6358|      2|        PyGC_Head _this_is_not_used;
 6359|      2|        PyObject_VAR_HEAD
 6360|      2|        Py_hash_t ob_hash;
 6361|      2|        PyObject *ob_item[NUM_KEYWORDS];
 6362|      2|    } _kwtuple = {
 6363|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 6364|      2|        .ob_hash = -1,
 6365|      2|        .ob_item = { &_Py_ID(pid), &_Py_ID(flags), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pid), &_Py_ID(flags), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6366|      2|    };
 6367|      2|    #undef NUM_KEYWORDS
 6368|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 6369|       |
 6370|       |    #else  // !Py_BUILD_CORE
 6371|       |    #  define KWTUPLE NULL
 6372|       |    #endif  // !Py_BUILD_CORE
 6373|       |
 6374|      2|    static const char * const _keywords[] = {"pid", "flags", NULL};
 6375|      2|    static _PyArg_Parser _parser = {
 6376|      2|        .keywords = _keywords,
 6377|      2|        .fname = "pidfd_open",
 6378|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 6368|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 6379|      2|    };
 6380|      2|    #undef KWTUPLE
 6381|      2|    PyObject *argsbuf[2];
 6382|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6382:36): [True: 0, False: 2]
  ------------------
 6383|      2|    pid_t pid;
 6384|      2|    unsigned int flags = 0;
 6385|       |
 6386|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 6387|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 6388|      2|    if (!args) {
  ------------------
  |  Branch (6388:9): [True: 0, False: 2]
  ------------------
 6389|      0|        goto exit;
 6390|      0|    }
 6391|      2|    pid = PyLong_AsPid(args[0]);
  ------------------
  |  |  108|      2|#   define PyLong_AsPid PyLong_AsInt
  ------------------
 6392|      2|    if (pid == (pid_t)(-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (6392:9): [True: 0, False: 2]
  |  Branch (6392:31): [True: 0, False: 0]
  ------------------
 6393|      0|        goto exit;
 6394|      0|    }
 6395|      2|    if (!noptargs) {
  ------------------
  |  Branch (6395:9): [True: 0, False: 2]
  ------------------
 6396|      0|        goto skip_optional_pos;
 6397|      0|    }
 6398|      2|    if (!_PyLong_UnsignedInt_Converter(args[1], &flags)) {
  ------------------
  |  Branch (6398:9): [True: 0, False: 2]
  ------------------
 6399|      0|        goto exit;
 6400|      0|    }
 6401|      2|skip_optional_pos:
 6402|      2|    return_value = os_pidfd_open_impl(module, pid, flags);
 6403|       |
 6404|      2|exit:
 6405|      2|    return return_value;
 6406|      2|}
posixmodule.c:os_open:
 7427|      2|{
 7428|      2|    PyObject *return_value = NULL;
 7429|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 7430|       |
 7431|      2|    #define NUM_KEYWORDS 4
 7432|      2|    static struct {
 7433|      2|        PyGC_Head _this_is_not_used;
 7434|      2|        PyObject_VAR_HEAD
 7435|      2|        Py_hash_t ob_hash;
 7436|      2|        PyObject *ob_item[NUM_KEYWORDS];
 7437|      2|    } _kwtuple = {
 7438|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 7439|      2|        .ob_hash = -1,
 7440|      2|        .ob_item = { &_Py_ID(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7441|      2|    };
 7442|      2|    #undef NUM_KEYWORDS
 7443|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 7444|       |
 7445|       |    #else  // !Py_BUILD_CORE
 7446|       |    #  define KWTUPLE NULL
 7447|       |    #endif  // !Py_BUILD_CORE
 7448|       |
 7449|      2|    static const char * const _keywords[] = {"path", "flags", "mode", "dir_fd", NULL};
 7450|      2|    static _PyArg_Parser _parser = {
 7451|      2|        .keywords = _keywords,
 7452|      2|        .fname = "open",
 7453|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 7443|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 7454|      2|    };
 7455|      2|    #undef KWTUPLE
 7456|      2|    PyObject *argsbuf[4];
 7457|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7457:36): [True: 0, False: 2]
  ------------------
 7458|      2|    path_t path = PATH_T_INITIALIZE_P("open", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      2|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      2|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      2|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      2|                      suppress_value_error, allow_fd)
  ------------------
 7459|      2|    int flags;
 7460|      2|    int mode = 511;
 7461|      2|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 7462|      2|    int _return_value;
 7463|       |
 7464|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 7465|      2|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 7466|      2|    if (!args) {
  ------------------
  |  Branch (7466:9): [True: 0, False: 2]
  ------------------
 7467|      0|        goto exit;
 7468|      0|    }
 7469|      2|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (7469:9): [True: 0, False: 2]
  ------------------
 7470|      0|        goto exit;
 7471|      0|    }
 7472|      2|    flags = PyLong_AsInt(args[1]);
 7473|      2|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7473:9): [True: 0, False: 2]
  |  Branch (7473:24): [True: 0, False: 0]
  ------------------
 7474|      0|        goto exit;
 7475|      0|    }
 7476|      2|    if (!noptargs) {
  ------------------
  |  Branch (7476:9): [True: 0, False: 2]
  ------------------
 7477|      0|        goto skip_optional_pos;
 7478|      0|    }
 7479|      2|    if (args[2]) {
  ------------------
  |  Branch (7479:9): [True: 2, False: 0]
  ------------------
 7480|      2|        mode = PyLong_AsInt(args[2]);
 7481|      2|        if (mode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7481:13): [True: 0, False: 2]
  |  Branch (7481:27): [True: 0, False: 0]
  ------------------
 7482|      0|            goto exit;
 7483|      0|        }
 7484|      2|        if (!--noptargs) {
  ------------------
  |  Branch (7484:13): [True: 2, False: 0]
  ------------------
 7485|      2|            goto skip_optional_pos;
 7486|      2|        }
 7487|      2|    }
 7488|      2|skip_optional_pos:
 7489|      2|    if (!noptargs) {
  ------------------
  |  Branch (7489:9): [True: 2, False: 0]
  ------------------
 7490|      2|        goto skip_optional_kwonly;
 7491|      2|    }
 7492|      0|    if (!OPENAT_DIR_FD_CONVERTER(args[3], &dir_fd)) {
  ------------------
  |  | 3039|      0|    #define OPENAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (7492:9): [True: 0, False: 0]
  ------------------
 7493|      0|        goto exit;
 7494|      0|    }
 7495|      2|skip_optional_kwonly:
 7496|      2|    _return_value = os_open_impl(module, &path, flags, mode, dir_fd);
 7497|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (7497:9): [True: 0, False: 2]
  |  Branch (7497:34): [True: 0, False: 0]
  ------------------
 7498|      0|        goto exit;
 7499|      0|    }
 7500|      2|    return_value = PyLong_FromLong((long)_return_value);
 7501|       |
 7502|      2|exit:
 7503|       |    /* Cleanup for path */
 7504|      2|    path_cleanup(&path);
 7505|       |
 7506|      2|    return return_value;
 7507|      2|}
posixmodule.c:os_close:
 7523|      4|{
 7524|      4|    PyObject *return_value = NULL;
 7525|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 7526|       |
 7527|      4|    #define NUM_KEYWORDS 1
 7528|      4|    static struct {
 7529|      4|        PyGC_Head _this_is_not_used;
 7530|      4|        PyObject_VAR_HEAD
 7531|      4|        Py_hash_t ob_hash;
 7532|      4|        PyObject *ob_item[NUM_KEYWORDS];
 7533|      4|    } _kwtuple = {
 7534|      4|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      4|    {                                     \
  |  |   98|      4|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      4|    {                               \
  |  |  |  |   91|      4|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      4|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      4|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      4|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      4|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      4|        (type)                      \
  |  |  |  |   93|      4|    },
  |  |  ------------------
  |  |   99|      4|        (size)                            \
  |  |  100|      4|    },
  ------------------
 7535|      4|        .ob_hash = -1,
 7536|      4|        .ob_item = { &_Py_ID(fd), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7537|      4|    };
 7538|      4|    #undef NUM_KEYWORDS
 7539|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 7540|       |
 7541|       |    #else  // !Py_BUILD_CORE
 7542|       |    #  define KWTUPLE NULL
 7543|       |    #endif  // !Py_BUILD_CORE
 7544|       |
 7545|      4|    static const char * const _keywords[] = {"fd", NULL};
 7546|      4|    static _PyArg_Parser _parser = {
 7547|      4|        .keywords = _keywords,
 7548|      4|        .fname = "close",
 7549|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  | 7539|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 7550|      4|    };
 7551|      4|    #undef KWTUPLE
 7552|      4|    PyObject *argsbuf[1];
 7553|      4|    int fd;
 7554|       |
 7555|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 7556|      4|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 7557|      4|    if (!args) {
  ------------------
  |  Branch (7557:9): [True: 0, False: 4]
  ------------------
 7558|      0|        goto exit;
 7559|      0|    }
 7560|      4|    fd = PyLong_AsInt(args[0]);
 7561|      4|    if (fd == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7561:9): [True: 0, False: 4]
  |  Branch (7561:21): [True: 0, False: 0]
  ------------------
 7562|      0|        goto exit;
 7563|      0|    }
 7564|      4|    return_value = os_close_impl(module, fd);
 7565|       |
 7566|      4|exit:
 7567|      4|    return return_value;
 7568|      4|}
posixmodule.c:os_confstr:
10684|      2|{
10685|      2|    PyObject *return_value = NULL;
10686|      2|    int name;
10687|       |
10688|      2|    if (!conv_confname(module, arg, &name, "confstr_names")) {
  ------------------
  |  Branch (10688:9): [True: 0, False: 2]
  ------------------
10689|      0|        goto exit;
10690|      0|    }
10691|      2|    return_value = os_confstr_impl(module, name);
10692|       |
10693|      2|exit:
10694|      2|    return return_value;
10695|      2|}
posixmodule.c:os_sysconf:
10715|      2|{
10716|      2|    PyObject *return_value = NULL;
10717|      2|    int name;
10718|      2|    long _return_value;
10719|       |
10720|      2|    if (!conv_confname(module, arg, &name, "sysconf_names")) {
  ------------------
  |  Branch (10720:9): [True: 0, False: 2]
  ------------------
10721|      0|        goto exit;
10722|      0|    }
10723|      2|    _return_value = os_sysconf_impl(module, name);
10724|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (10724:9): [True: 0, False: 2]
  |  Branch (10724:34): [True: 0, False: 0]
  ------------------
10725|      0|        goto exit;
10726|      0|    }
10727|      2|    return_value = PyLong_FromLong(_return_value);
10728|       |
10729|      2|exit:
10730|      2|    return return_value;
10731|      2|}
posixmodule.c:os__path_splitroot_ex:
 2631|    466|{
 2632|    466|    PyObject *return_value = NULL;
 2633|    466|    path_t path = PATH_T_INITIALIZE("_path_splitroot_ex", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1355|    466|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1356|    466|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2634|       |
 2635|    466|    if (!path_converter(arg, &path)) {
  ------------------
  |  Branch (2635:9): [True: 0, False: 466]
  ------------------
 2636|      0|        goto exit;
 2637|      0|    }
 2638|    466|    return_value = os__path_splitroot_ex_impl(module, &path);
 2639|       |
 2640|    466|exit:
 2641|       |    /* Cleanup for path */
 2642|    466|    path_cleanup(&path);
 2643|       |
 2644|    466|    return return_value;
 2645|    466|}
posixmodule.c:os__path_normpath:
 2661|    122|{
 2662|    122|    PyObject *return_value = NULL;
 2663|    122|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2664|       |
 2665|    122|    #define NUM_KEYWORDS 1
 2666|    122|    static struct {
 2667|    122|        PyGC_Head _this_is_not_used;
 2668|    122|        PyObject_VAR_HEAD
 2669|    122|        Py_hash_t ob_hash;
 2670|    122|        PyObject *ob_item[NUM_KEYWORDS];
 2671|    122|    } _kwtuple = {
 2672|    122|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    122|    {                                     \
  |  |   98|    122|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    122|    {                               \
  |  |  |  |   91|    122|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    122|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    122|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    122|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    122|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    122|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    122|        (type)                      \
  |  |  |  |   93|    122|    },
  |  |  ------------------
  |  |   99|    122|        (size)                            \
  |  |  100|    122|    },
  ------------------
 2673|    122|        .ob_hash = -1,
 2674|    122|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  919|    122|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    122|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    122|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2675|    122|    };
 2676|    122|    #undef NUM_KEYWORDS
 2677|    122|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2678|       |
 2679|       |    #else  // !Py_BUILD_CORE
 2680|       |    #  define KWTUPLE NULL
 2681|       |    #endif  // !Py_BUILD_CORE
 2682|       |
 2683|    122|    static const char * const _keywords[] = {"path", NULL};
 2684|    122|    static _PyArg_Parser _parser = {
 2685|    122|        .keywords = _keywords,
 2686|    122|        .fname = "_path_normpath",
 2687|    122|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2677|    122|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2688|    122|    };
 2689|    122|    #undef KWTUPLE
 2690|    122|    PyObject *argsbuf[1];
 2691|    122|    path_t path = PATH_T_INITIALIZE("_path_normpath", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1355|    122|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1356|    122|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2692|       |
 2693|    122|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    122|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 122, False: 0]
  |  |  ------------------
  |  |   89|    122|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 122, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 122]
  |  |  |  Branch (89:43): [True: 122, False: 0]
  |  |  |  Branch (89:67): [True: 122, False: 0]
  |  |  ------------------
  |  |   90|    122|      (args) : \
  |  |   91|    122|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2694|    122|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2695|    122|    if (!args) {
  ------------------
  |  Branch (2695:9): [True: 0, False: 122]
  ------------------
 2696|      0|        goto exit;
 2697|      0|    }
 2698|    122|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2698:9): [True: 0, False: 122]
  ------------------
 2699|      0|        goto exit;
 2700|      0|    }
 2701|    122|    return_value = os__path_normpath_impl(module, &path);
 2702|       |
 2703|    122|exit:
 2704|       |    /* Cleanup for path */
 2705|    122|    path_cleanup(&path);
 2706|       |
 2707|    122|    return return_value;
 2708|    122|}
posixmodule.c:os_fspath:
12536|  4.09k|{
12537|  4.09k|    PyObject *return_value = NULL;
12538|  4.09k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12539|       |
12540|  4.09k|    #define NUM_KEYWORDS 1
12541|  4.09k|    static struct {
12542|  4.09k|        PyGC_Head _this_is_not_used;
12543|  4.09k|        PyObject_VAR_HEAD
12544|  4.09k|        Py_hash_t ob_hash;
12545|  4.09k|        PyObject *ob_item[NUM_KEYWORDS];
12546|  4.09k|    } _kwtuple = {
12547|  4.09k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.09k|    {                                     \
  |  |   98|  4.09k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.09k|    {                               \
  |  |  |  |   91|  4.09k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.09k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.09k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  4.09k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.09k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.09k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.09k|        (type)                      \
  |  |  |  |   93|  4.09k|    },
  |  |  ------------------
  |  |   99|  4.09k|        (size)                            \
  |  |  100|  4.09k|    },
  ------------------
12548|  4.09k|        .ob_hash = -1,
12549|  4.09k|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  919|  4.09k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.09k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.09k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12550|  4.09k|    };
12551|  4.09k|    #undef NUM_KEYWORDS
12552|  4.09k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12553|       |
12554|       |    #else  // !Py_BUILD_CORE
12555|       |    #  define KWTUPLE NULL
12556|       |    #endif  // !Py_BUILD_CORE
12557|       |
12558|  4.09k|    static const char * const _keywords[] = {"path", NULL};
12559|  4.09k|    static _PyArg_Parser _parser = {
12560|  4.09k|        .keywords = _keywords,
12561|  4.09k|        .fname = "fspath",
12562|  4.09k|        .kwtuple = KWTUPLE,
  ------------------
  |  |12552|  4.09k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12563|  4.09k|    };
12564|  4.09k|    #undef KWTUPLE
12565|  4.09k|    PyObject *argsbuf[1];
12566|  4.09k|    PyObject *path;
12567|       |
12568|  4.09k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.09k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4.09k, False: 0]
  |  |  ------------------
  |  |   89|  4.09k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4.09k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4.09k]
  |  |  |  Branch (89:43): [True: 4.09k, False: 0]
  |  |  |  Branch (89:67): [True: 4.09k, False: 0]
  |  |  ------------------
  |  |   90|  4.09k|      (args) : \
  |  |   91|  4.09k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12569|  4.09k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12570|  4.09k|    if (!args) {
  ------------------
  |  Branch (12570:9): [True: 0, False: 4.09k]
  ------------------
12571|      0|        goto exit;
12572|      0|    }
12573|  4.09k|    path = args[0];
12574|  4.09k|    return_value = os_fspath_impl(module, path);
12575|       |
12576|  4.09k|exit:
12577|  4.09k|    return return_value;
12578|  4.09k|}

PyInit_errno:
  986|      2|{
  987|      2|    return PyModuleDef_Init(&errnomodule);
  988|      2|}
errnomodule.c:errno_exec:
   90|      2|{
   91|      2|    PyObject *module_dict = PyModule_GetDict(module);  // Borrowed ref.
   92|      2|    if (module_dict == NULL) {
  ------------------
  |  Branch (92:9): [True: 0, False: 2]
  ------------------
   93|      0|        return -1;
   94|      0|    }
   95|      2|    PyObject *error_dict = PyDict_New();
   96|      2|    if (error_dict == NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 2]
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|      2|    if (PyDict_SetItemString(module_dict, "errorcode", error_dict) < 0) {
  ------------------
  |  Branch (99:9): [True: 0, False: 2]
  ------------------
  100|      0|        Py_DECREF(error_dict);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      0|        return -1;
  102|      0|    }
  103|       |
  104|       |/* Macro so I don't have to edit each and every line below... */
  105|      2|#define add_errcode(name, code, comment)                               \
  106|      2|    do {                                                               \
  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  108|      2|            Py_DECREF(error_dict);                                     \
  109|      2|            return -1;                                                 \
  110|      2|        }                                                              \
  111|      2|    } while (0);
  112|       |
  113|       |    /*
  114|       |     * The names and comments are borrowed from linux/include/errno.h,
  115|       |     * which should be pretty all-inclusive.  However, the Solaris specific
  116|       |     * names and comments are borrowed from sys/errno.h in Solaris.
  117|       |     * MacOSX specific names and comments are borrowed from sys/errno.h in
  118|       |     * MacOSX.
  119|       |     */
  120|       |
  121|      2|#ifdef ENODEV
  122|      2|    add_errcode("ENODEV", ENODEV, "No such device");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  123|      2|#endif
  124|      2|#ifdef ENOCSI
  125|      2|    add_errcode("ENOCSI", ENOCSI, "No CSI structure available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  126|      2|#endif
  127|      2|#ifdef EHOSTUNREACH
  128|      2|    add_errcode("EHOSTUNREACH", EHOSTUNREACH, "No route to host");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  129|       |#else
  130|       |#ifdef WSAEHOSTUNREACH
  131|       |    add_errcode("EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
  132|       |#endif
  133|       |#endif
  134|      2|#ifdef ENOMSG
  135|      2|    add_errcode("ENOMSG", ENOMSG, "No message of desired type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  136|      2|#endif
  137|      2|#ifdef EUCLEAN
  138|      2|    add_errcode("EUCLEAN", EUCLEAN, "Structure needs cleaning");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  139|      2|#endif
  140|      2|#ifdef EL2NSYNC
  141|      2|    add_errcode("EL2NSYNC", EL2NSYNC, "Level 2 not synchronized");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  142|      2|#endif
  143|      2|#ifdef EL2HLT
  144|      2|    add_errcode("EL2HLT", EL2HLT, "Level 2 halted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  145|      2|#endif
  146|      2|#ifdef ENODATA
  147|      2|    add_errcode("ENODATA", ENODATA, "No data available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  148|      2|#endif
  149|      2|#ifdef ENOTBLK
  150|      2|    add_errcode("ENOTBLK", ENOTBLK, "Block device required");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  151|      2|#endif
  152|      2|#ifdef ENOSYS
  153|      2|    add_errcode("ENOSYS", ENOSYS, "Function not implemented");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  154|      2|#endif
  155|      2|#ifdef EPIPE
  156|      2|    add_errcode("EPIPE", EPIPE, "Broken pipe");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  157|      2|#endif
  158|      2|#ifdef EINVAL
  159|      2|    add_errcode("EINVAL", EINVAL, "Invalid argument");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  160|       |#else
  161|       |#ifdef WSAEINVAL
  162|       |    add_errcode("EINVAL", WSAEINVAL, "Invalid argument");
  163|       |#endif
  164|       |#endif
  165|      2|#ifdef EOVERFLOW
  166|      2|    add_errcode("EOVERFLOW", EOVERFLOW, "Value too large for defined data type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  167|      2|#endif
  168|      2|#ifdef EADV
  169|      2|    add_errcode("EADV", EADV, "Advertise error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  170|      2|#endif
  171|      2|#ifdef EINTR
  172|      2|    add_errcode("EINTR", EINTR, "Interrupted system call");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  173|       |#else
  174|       |#ifdef WSAEINTR
  175|       |    add_errcode("EINTR", WSAEINTR, "Interrupted system call");
  176|       |#endif
  177|       |#endif
  178|      2|#ifdef EUSERS
  179|      2|    add_errcode("EUSERS", EUSERS, "Too many users");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  180|       |#else
  181|       |#ifdef WSAEUSERS
  182|       |    add_errcode("EUSERS", WSAEUSERS, "Too many users");
  183|       |#endif
  184|       |#endif
  185|      2|#ifdef ENOTEMPTY
  186|      2|    add_errcode("ENOTEMPTY", ENOTEMPTY, "Directory not empty");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  187|       |#else
  188|       |#ifdef WSAENOTEMPTY
  189|       |    add_errcode("ENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
  190|       |#endif
  191|       |#endif
  192|      2|#ifdef ENOBUFS
  193|      2|    add_errcode("ENOBUFS", ENOBUFS, "No buffer space available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  194|       |#else
  195|       |#ifdef WSAENOBUFS
  196|       |    add_errcode("ENOBUFS", WSAENOBUFS, "No buffer space available");
  197|       |#endif
  198|       |#endif
  199|      2|#ifdef EPROTO
  200|      2|    add_errcode("EPROTO", EPROTO, "Protocol error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  201|      2|#endif
  202|      2|#ifdef EREMOTE
  203|      2|    add_errcode("EREMOTE", EREMOTE, "Object is remote");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  204|       |#else
  205|       |#ifdef WSAEREMOTE
  206|       |    add_errcode("EREMOTE", WSAEREMOTE, "Object is remote");
  207|       |#endif
  208|       |#endif
  209|      2|#ifdef ENAVAIL
  210|      2|    add_errcode("ENAVAIL", ENAVAIL, "No XENIX semaphores available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  211|      2|#endif
  212|      2|#ifdef ECHILD
  213|      2|    add_errcode("ECHILD", ECHILD, "No child processes");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  214|      2|#endif
  215|      2|#ifdef ELOOP
  216|      2|    add_errcode("ELOOP", ELOOP, "Too many symbolic links encountered");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  217|       |#else
  218|       |#ifdef WSAELOOP
  219|       |    add_errcode("ELOOP", WSAELOOP, "Too many symbolic links encountered");
  220|       |#endif
  221|       |#endif
  222|      2|#ifdef EXDEV
  223|      2|    add_errcode("EXDEV", EXDEV, "Cross-device link");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  224|      2|#endif
  225|      2|#ifdef E2BIG
  226|      2|    add_errcode("E2BIG", E2BIG, "Arg list too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  227|      2|#endif
  228|      2|#ifdef ESRCH
  229|      2|    add_errcode("ESRCH", ESRCH, "No such process");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  230|      2|#endif
  231|      2|#ifdef EMSGSIZE
  232|      2|    add_errcode("EMSGSIZE", EMSGSIZE, "Message too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  233|       |#else
  234|       |#ifdef WSAEMSGSIZE
  235|       |    add_errcode("EMSGSIZE", WSAEMSGSIZE, "Message too long");
  236|       |#endif
  237|       |#endif
  238|      2|#ifdef EAFNOSUPPORT
  239|      2|    add_errcode("EAFNOSUPPORT", EAFNOSUPPORT, "Address family not supported by protocol");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  240|       |#else
  241|       |#ifdef WSAEAFNOSUPPORT
  242|       |    add_errcode("EAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
  243|       |#endif
  244|       |#endif
  245|      2|#ifdef EBADR
  246|      2|    add_errcode("EBADR", EBADR, "Invalid request descriptor");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  247|      2|#endif
  248|      2|#ifdef EHOSTDOWN
  249|      2|    add_errcode("EHOSTDOWN", EHOSTDOWN, "Host is down");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  250|       |#else
  251|       |#ifdef WSAEHOSTDOWN
  252|       |    add_errcode("EHOSTDOWN", WSAEHOSTDOWN, "Host is down");
  253|       |#endif
  254|       |#endif
  255|      2|#ifdef EPFNOSUPPORT
  256|      2|    add_errcode("EPFNOSUPPORT", EPFNOSUPPORT, "Protocol family not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  257|       |#else
  258|       |#ifdef WSAEPFNOSUPPORT
  259|       |    add_errcode("EPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
  260|       |#endif
  261|       |#endif
  262|      2|#ifdef ENOPROTOOPT
  263|      2|    add_errcode("ENOPROTOOPT", ENOPROTOOPT, "Protocol not available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  264|       |#else
  265|       |#ifdef WSAENOPROTOOPT
  266|       |    add_errcode("ENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
  267|       |#endif
  268|       |#endif
  269|      2|#ifdef EBUSY
  270|      2|    add_errcode("EBUSY", EBUSY, "Device or resource busy");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  271|      2|#endif
  272|      2|#ifdef EWOULDBLOCK
  273|      2|    add_errcode("EWOULDBLOCK", EWOULDBLOCK, "Operation would block");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  274|       |#else
  275|       |#ifdef WSAEWOULDBLOCK
  276|       |    add_errcode("EWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
  277|       |#endif
  278|       |#endif
  279|      2|#ifdef EBADFD
  280|      2|    add_errcode("EBADFD", EBADFD, "File descriptor in bad state");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  281|      2|#endif
  282|      2|#ifdef EDOTDOT
  283|      2|    add_errcode("EDOTDOT", EDOTDOT, "RFS specific error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  284|      2|#endif
  285|      2|#ifdef EISCONN
  286|      2|    add_errcode("EISCONN", EISCONN, "Transport endpoint is already connected");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  287|       |#else
  288|       |#ifdef WSAEISCONN
  289|       |    add_errcode("EISCONN", WSAEISCONN, "Transport endpoint is already connected");
  290|       |#endif
  291|       |#endif
  292|      2|#ifdef ENOANO
  293|      2|    add_errcode("ENOANO", ENOANO, "No anode");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  294|      2|#endif
  295|       |#if defined(__wasi__) && !defined(ESHUTDOWN)
  296|       |    // WASI SDK 16 does not have ESHUTDOWN, shutdown results in EPIPE.
  297|       |    #define ESHUTDOWN EPIPE
  298|       |#endif
  299|      2|#ifdef ESHUTDOWN
  300|      2|    add_errcode("ESHUTDOWN", ESHUTDOWN, "Cannot send after transport endpoint shutdown");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  301|       |#else
  302|       |#ifdef WSAESHUTDOWN
  303|       |    add_errcode("ESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
  304|       |#endif
  305|       |#endif
  306|      2|#ifdef ECHRNG
  307|      2|    add_errcode("ECHRNG", ECHRNG, "Channel number out of range");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  308|      2|#endif
  309|      2|#ifdef ELIBBAD
  310|      2|    add_errcode("ELIBBAD", ELIBBAD, "Accessing a corrupted shared library");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  311|      2|#endif
  312|      2|#ifdef ENONET
  313|      2|    add_errcode("ENONET", ENONET, "Machine is not on the network");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  314|      2|#endif
  315|      2|#ifdef EBADE
  316|      2|    add_errcode("EBADE", EBADE, "Invalid exchange");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  317|      2|#endif
  318|      2|#ifdef EBADF
  319|      2|    add_errcode("EBADF", EBADF, "Bad file number");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  320|       |#else
  321|       |#ifdef WSAEBADF
  322|       |    add_errcode("EBADF", WSAEBADF, "Bad file number");
  323|       |#endif
  324|       |#endif
  325|      2|#ifdef EMULTIHOP
  326|      2|    add_errcode("EMULTIHOP", EMULTIHOP, "Multihop attempted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  327|      2|#endif
  328|      2|#ifdef EIO
  329|      2|    add_errcode("EIO", EIO, "I/O error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  330|      2|#endif
  331|      2|#ifdef EUNATCH
  332|      2|    add_errcode("EUNATCH", EUNATCH, "Protocol driver not attached");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  333|      2|#endif
  334|      2|#ifdef EPROTOTYPE
  335|      2|    add_errcode("EPROTOTYPE", EPROTOTYPE, "Protocol wrong type for socket");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  336|       |#else
  337|       |#ifdef WSAEPROTOTYPE
  338|       |    add_errcode("EPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
  339|       |#endif
  340|       |#endif
  341|      2|#ifdef ENOSPC
  342|      2|    add_errcode("ENOSPC", ENOSPC, "No space left on device");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  343|      2|#endif
  344|      2|#ifdef ENOEXEC
  345|      2|    add_errcode("ENOEXEC", ENOEXEC, "Exec format error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  346|      2|#endif
  347|      2|#ifdef EALREADY
  348|      2|    add_errcode("EALREADY", EALREADY, "Operation already in progress");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  349|       |#else
  350|       |#ifdef WSAEALREADY
  351|       |    add_errcode("EALREADY", WSAEALREADY, "Operation already in progress");
  352|       |#endif
  353|       |#endif
  354|      2|#ifdef ENETDOWN
  355|      2|    add_errcode("ENETDOWN", ENETDOWN, "Network is down");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  356|       |#else
  357|       |#ifdef WSAENETDOWN
  358|       |    add_errcode("ENETDOWN", WSAENETDOWN, "Network is down");
  359|       |#endif
  360|       |#endif
  361|      2|#ifdef ENOTNAM
  362|      2|    add_errcode("ENOTNAM", ENOTNAM, "Not a XENIX named type file");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  363|      2|#endif
  364|      2|#ifdef EACCES
  365|      2|    add_errcode("EACCES", EACCES, "Permission denied");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  366|       |#else
  367|       |#ifdef WSAEACCES
  368|       |    add_errcode("EACCES", WSAEACCES, "Permission denied");
  369|       |#endif
  370|       |#endif
  371|      2|#ifdef ELNRNG
  372|      2|    add_errcode("ELNRNG", ELNRNG, "Link number out of range");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  373|      2|#endif
  374|      2|#ifdef EILSEQ
  375|      2|    add_errcode("EILSEQ", EILSEQ, "Illegal byte sequence");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  376|      2|#endif
  377|      2|#ifdef ENOTDIR
  378|      2|    add_errcode("ENOTDIR", ENOTDIR, "Not a directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  379|      2|#endif
  380|      2|#ifdef ENOTUNIQ
  381|      2|    add_errcode("ENOTUNIQ", ENOTUNIQ, "Name not unique on network");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  382|      2|#endif
  383|      2|#ifdef EPERM
  384|      2|    add_errcode("EPERM", EPERM, "Operation not permitted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  385|      2|#endif
  386|      2|#ifdef EDOM
  387|      2|    add_errcode("EDOM", EDOM, "Math argument out of domain of func");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  388|      2|#endif
  389|      2|#ifdef EXFULL
  390|      2|    add_errcode("EXFULL", EXFULL, "Exchange full");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  391|      2|#endif
  392|      2|#ifdef ECONNREFUSED
  393|      2|    add_errcode("ECONNREFUSED", ECONNREFUSED, "Connection refused");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  394|       |#else
  395|       |#ifdef WSAECONNREFUSED
  396|       |    add_errcode("ECONNREFUSED", WSAECONNREFUSED, "Connection refused");
  397|       |#endif
  398|       |#endif
  399|      2|#ifdef EISDIR
  400|      2|    add_errcode("EISDIR", EISDIR, "Is a directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  401|      2|#endif
  402|      2|#ifdef EPROTONOSUPPORT
  403|      2|    add_errcode("EPROTONOSUPPORT", EPROTONOSUPPORT, "Protocol not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  404|       |#else
  405|       |#ifdef WSAEPROTONOSUPPORT
  406|       |    add_errcode("EPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
  407|       |#endif
  408|       |#endif
  409|      2|#ifdef EROFS
  410|      2|    add_errcode("EROFS", EROFS, "Read-only file system");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  411|      2|#endif
  412|      2|#ifdef EADDRNOTAVAIL
  413|      2|    add_errcode("EADDRNOTAVAIL", EADDRNOTAVAIL, "Cannot assign requested address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  414|       |#else
  415|       |#ifdef WSAEADDRNOTAVAIL
  416|       |    add_errcode("EADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
  417|       |#endif
  418|       |#endif
  419|      2|#ifdef EIDRM
  420|      2|    add_errcode("EIDRM", EIDRM, "Identifier removed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  421|      2|#endif
  422|      2|#ifdef ECOMM
  423|      2|    add_errcode("ECOMM", ECOMM, "Communication error on send");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  424|      2|#endif
  425|      2|#ifdef ESRMNT
  426|      2|    add_errcode("ESRMNT", ESRMNT, "Srmount error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  427|      2|#endif
  428|      2|#ifdef EREMOTEIO
  429|      2|    add_errcode("EREMOTEIO", EREMOTEIO, "Remote I/O error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  430|      2|#endif
  431|      2|#ifdef EL3RST
  432|      2|    add_errcode("EL3RST", EL3RST, "Level 3 reset");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  433|      2|#endif
  434|      2|#ifdef EBADMSG
  435|      2|    add_errcode("EBADMSG", EBADMSG, "Not a data message");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  436|      2|#endif
  437|      2|#ifdef ENFILE
  438|      2|    add_errcode("ENFILE", ENFILE, "File table overflow");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  439|      2|#endif
  440|      2|#ifdef ELIBMAX
  441|      2|    add_errcode("ELIBMAX", ELIBMAX, "Attempting to link in too many shared libraries");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  442|      2|#endif
  443|      2|#ifdef ESPIPE
  444|      2|    add_errcode("ESPIPE", ESPIPE, "Illegal seek");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  445|      2|#endif
  446|      2|#ifdef ENOLINK
  447|      2|    add_errcode("ENOLINK", ENOLINK, "Link has been severed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  448|      2|#endif
  449|      2|#ifdef ENETRESET
  450|      2|    add_errcode("ENETRESET", ENETRESET, "Network dropped connection because of reset");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  451|       |#else
  452|       |#ifdef WSAENETRESET
  453|       |    add_errcode("ENETRESET", WSAENETRESET, "Network dropped connection because of reset");
  454|       |#endif
  455|       |#endif
  456|      2|#ifdef ETIMEDOUT
  457|      2|    add_errcode("ETIMEDOUT", ETIMEDOUT, "Connection timed out");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  458|       |#else
  459|       |#ifdef WSAETIMEDOUT
  460|       |    add_errcode("ETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
  461|       |#endif
  462|       |#endif
  463|      2|#ifdef ENOENT
  464|      2|    add_errcode("ENOENT", ENOENT, "No such file or directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  465|      2|#endif
  466|      2|#ifdef EEXIST
  467|      2|    add_errcode("EEXIST", EEXIST, "File exists");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  468|      2|#endif
  469|      2|#ifdef EDQUOT
  470|      2|    add_errcode("EDQUOT", EDQUOT, "Quota exceeded");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  471|       |#else
  472|       |#ifdef WSAEDQUOT
  473|       |    add_errcode("EDQUOT", WSAEDQUOT, "Quota exceeded");
  474|       |#endif
  475|       |#endif
  476|      2|#ifdef ENOSTR
  477|      2|    add_errcode("ENOSTR", ENOSTR, "Device not a stream");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  478|      2|#endif
  479|      2|#ifdef EBADSLT
  480|      2|    add_errcode("EBADSLT", EBADSLT, "Invalid slot");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  481|      2|#endif
  482|      2|#ifdef EBADRQC
  483|      2|    add_errcode("EBADRQC", EBADRQC, "Invalid request code");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  484|      2|#endif
  485|      2|#ifdef ELIBACC
  486|      2|    add_errcode("ELIBACC", ELIBACC, "Can not access a needed shared library");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  487|      2|#endif
  488|      2|#ifdef EFAULT
  489|      2|    add_errcode("EFAULT", EFAULT, "Bad address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  490|       |#else
  491|       |#ifdef WSAEFAULT
  492|       |    add_errcode("EFAULT", WSAEFAULT, "Bad address");
  493|       |#endif
  494|       |#endif
  495|      2|#ifdef EFBIG
  496|      2|    add_errcode("EFBIG", EFBIG, "File too large");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  497|      2|#endif
  498|      2|#ifdef EDEADLK
  499|      2|    add_errcode("EDEADLK", EDEADLK, "Resource deadlock would occur");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  500|      2|#endif
  501|      2|#ifdef ENOTCONN
  502|      2|    add_errcode("ENOTCONN", ENOTCONN, "Transport endpoint is not connected");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  503|       |#else
  504|       |#ifdef WSAENOTCONN
  505|       |    add_errcode("ENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
  506|       |#endif
  507|       |#endif
  508|      2|#ifdef EDESTADDRREQ
  509|      2|    add_errcode("EDESTADDRREQ", EDESTADDRREQ, "Destination address required");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  510|       |#else
  511|       |#ifdef WSAEDESTADDRREQ
  512|       |    add_errcode("EDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
  513|       |#endif
  514|       |#endif
  515|      2|#ifdef ELIBSCN
  516|      2|    add_errcode("ELIBSCN", ELIBSCN, ".lib section in a.out corrupted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  517|      2|#endif
  518|      2|#ifdef ENOLCK
  519|      2|    add_errcode("ENOLCK", ENOLCK, "No record locks available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  520|      2|#endif
  521|      2|#ifdef EISNAM
  522|      2|    add_errcode("EISNAM", EISNAM, "Is a named type file");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  523|      2|#endif
  524|      2|#ifdef ECONNABORTED
  525|      2|    add_errcode("ECONNABORTED", ECONNABORTED, "Software caused connection abort");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  526|       |#else
  527|       |#ifdef WSAECONNABORTED
  528|       |    add_errcode("ECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
  529|       |#endif
  530|       |#endif
  531|      2|#ifdef ENETUNREACH
  532|      2|    add_errcode("ENETUNREACH", ENETUNREACH, "Network is unreachable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  533|       |#else
  534|       |#ifdef WSAENETUNREACH
  535|       |    add_errcode("ENETUNREACH", WSAENETUNREACH, "Network is unreachable");
  536|       |#endif
  537|       |#endif
  538|      2|#ifdef ESTALE
  539|      2|    add_errcode("ESTALE", ESTALE, "Stale NFS file handle");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  540|       |#else
  541|       |#ifdef WSAESTALE
  542|       |    add_errcode("ESTALE", WSAESTALE, "Stale NFS file handle");
  543|       |#endif
  544|       |#endif
  545|      2|#ifdef ENOSR
  546|      2|    add_errcode("ENOSR", ENOSR, "Out of streams resources");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  547|      2|#endif
  548|      2|#ifdef ENOMEM
  549|      2|    add_errcode("ENOMEM", ENOMEM, "Out of memory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  550|      2|#endif
  551|      2|#ifdef ENOTSOCK
  552|      2|    add_errcode("ENOTSOCK", ENOTSOCK, "Socket operation on non-socket");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  553|       |#else
  554|       |#ifdef WSAENOTSOCK
  555|       |    add_errcode("ENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
  556|       |#endif
  557|       |#endif
  558|      2|#ifdef ESTRPIPE
  559|      2|    add_errcode("ESTRPIPE", ESTRPIPE, "Streams pipe error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  560|      2|#endif
  561|      2|#ifdef EMLINK
  562|      2|    add_errcode("EMLINK", EMLINK, "Too many links");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  563|      2|#endif
  564|      2|#ifdef ERANGE
  565|      2|    add_errcode("ERANGE", ERANGE, "Math result not representable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  566|      2|#endif
  567|      2|#ifdef ELIBEXEC
  568|      2|    add_errcode("ELIBEXEC", ELIBEXEC, "Cannot exec a shared library directly");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  569|      2|#endif
  570|      2|#ifdef EL3HLT
  571|      2|    add_errcode("EL3HLT", EL3HLT, "Level 3 halted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  572|      2|#endif
  573|      2|#ifdef ECONNRESET
  574|      2|    add_errcode("ECONNRESET", ECONNRESET, "Connection reset by peer");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  575|       |#else
  576|       |#ifdef WSAECONNRESET
  577|       |    add_errcode("ECONNRESET", WSAECONNRESET, "Connection reset by peer");
  578|       |#endif
  579|       |#endif
  580|      2|#ifdef EADDRINUSE
  581|      2|    add_errcode("EADDRINUSE", EADDRINUSE, "Address already in use");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  582|       |#else
  583|       |#ifdef WSAEADDRINUSE
  584|       |    add_errcode("EADDRINUSE", WSAEADDRINUSE, "Address already in use");
  585|       |#endif
  586|       |#endif
  587|      2|#ifdef EOPNOTSUPP
  588|      2|    add_errcode("EOPNOTSUPP", EOPNOTSUPP, "Operation not supported on transport endpoint");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  589|       |#else
  590|       |#ifdef WSAEOPNOTSUPP
  591|       |    add_errcode("EOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
  592|       |#endif
  593|       |#endif
  594|      2|#ifdef EREMCHG
  595|      2|    add_errcode("EREMCHG", EREMCHG, "Remote address changed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  596|      2|#endif
  597|      2|#ifdef EAGAIN
  598|      2|    add_errcode("EAGAIN", EAGAIN, "Try again");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  599|      2|#endif
  600|      2|#ifdef ENAMETOOLONG
  601|      2|    add_errcode("ENAMETOOLONG", ENAMETOOLONG, "File name too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  602|       |#else
  603|       |#ifdef WSAENAMETOOLONG
  604|       |    add_errcode("ENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
  605|       |#endif
  606|       |#endif
  607|      2|#ifdef ENOTTY
  608|      2|    add_errcode("ENOTTY", ENOTTY, "Not a typewriter");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  609|      2|#endif
  610|      2|#ifdef ERESTART
  611|      2|    add_errcode("ERESTART", ERESTART, "Interrupted system call should be restarted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  612|      2|#endif
  613|      2|#ifdef ESOCKTNOSUPPORT
  614|      2|    add_errcode("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT, "Socket type not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  615|       |#else
  616|       |#ifdef WSAESOCKTNOSUPPORT
  617|       |    add_errcode("ESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
  618|       |#endif
  619|       |#endif
  620|      2|#ifdef ETIME
  621|      2|    add_errcode("ETIME", ETIME, "Timer expired");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  622|      2|#endif
  623|      2|#ifdef EBFONT
  624|      2|    add_errcode("EBFONT", EBFONT, "Bad font file format");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  625|      2|#endif
  626|      2|#ifdef EDEADLOCK
  627|      2|    add_errcode("EDEADLOCK", EDEADLOCK, "Error EDEADLOCK");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  628|      2|#endif
  629|      2|#ifdef ETOOMANYREFS
  630|      2|    add_errcode("ETOOMANYREFS", ETOOMANYREFS, "Too many references: cannot splice");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  631|       |#else
  632|       |#ifdef WSAETOOMANYREFS
  633|       |    add_errcode("ETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
  634|       |#endif
  635|       |#endif
  636|      2|#ifdef EMFILE
  637|      2|    add_errcode("EMFILE", EMFILE, "Too many open files");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  638|       |#else
  639|       |#ifdef WSAEMFILE
  640|       |    add_errcode("EMFILE", WSAEMFILE, "Too many open files");
  641|       |#endif
  642|       |#endif
  643|      2|#ifdef ETXTBSY
  644|      2|    add_errcode("ETXTBSY", ETXTBSY, "Text file busy");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  645|      2|#endif
  646|      2|#ifdef EINPROGRESS
  647|      2|    add_errcode("EINPROGRESS", EINPROGRESS, "Operation now in progress");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  648|       |#else
  649|       |#ifdef WSAEINPROGRESS
  650|       |    add_errcode("EINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
  651|       |#endif
  652|       |#endif
  653|      2|#ifdef ENXIO
  654|      2|    add_errcode("ENXIO", ENXIO, "No such device or address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  655|      2|#endif
  656|      2|#ifdef ENOPKG
  657|      2|    add_errcode("ENOPKG", ENOPKG, "Package not installed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  658|      2|#endif
  659|       |#ifdef WSASY
  660|       |    add_errcode("WSASY", WSASY, "Error WSASY");
  661|       |#endif
  662|       |#ifdef WSAEHOSTDOWN
  663|       |    add_errcode("WSAEHOSTDOWN", WSAEHOSTDOWN, "Host is down");
  664|       |#endif
  665|       |#ifdef WSAENETDOWN
  666|       |    add_errcode("WSAENETDOWN", WSAENETDOWN, "Network is down");
  667|       |#endif
  668|       |#ifdef WSAENOTSOCK
  669|       |    add_errcode("WSAENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
  670|       |#endif
  671|       |#ifdef WSAEHOSTUNREACH
  672|       |    add_errcode("WSAEHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
  673|       |#endif
  674|       |#ifdef WSAELOOP
  675|       |    add_errcode("WSAELOOP", WSAELOOP, "Too many symbolic links encountered");
  676|       |#endif
  677|       |#ifdef WSAEMFILE
  678|       |    add_errcode("WSAEMFILE", WSAEMFILE, "Too many open files");
  679|       |#endif
  680|       |#ifdef WSAESTALE
  681|       |    add_errcode("WSAESTALE", WSAESTALE, "Stale NFS file handle");
  682|       |#endif
  683|       |#ifdef WSAVERNOTSUPPORTED
  684|       |    add_errcode("WSAVERNOTSUPPORTED", WSAVERNOTSUPPORTED, "Error WSAVERNOTSUPPORTED");
  685|       |#endif
  686|       |#ifdef WSAENETUNREACH
  687|       |    add_errcode("WSAENETUNREACH", WSAENETUNREACH, "Network is unreachable");
  688|       |#endif
  689|       |#ifdef WSAEPROCLIM
  690|       |    add_errcode("WSAEPROCLIM", WSAEPROCLIM, "Error WSAEPROCLIM");
  691|       |#endif
  692|       |#ifdef WSAEFAULT
  693|       |    add_errcode("WSAEFAULT", WSAEFAULT, "Bad address");
  694|       |#endif
  695|       |#ifdef WSANOTINITIALISED
  696|       |    add_errcode("WSANOTINITIALISED", WSANOTINITIALISED, "Error WSANOTINITIALISED");
  697|       |#endif
  698|       |#ifdef WSAEUSERS
  699|       |    add_errcode("WSAEUSERS", WSAEUSERS, "Too many users");
  700|       |#endif
  701|       |#ifdef WSAMAKEASYNCREPL
  702|       |    add_errcode("WSAMAKEASYNCREPL", WSAMAKEASYNCREPL, "Error WSAMAKEASYNCREPL");
  703|       |#endif
  704|       |#ifdef WSAENOPROTOOPT
  705|       |    add_errcode("WSAENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
  706|       |#endif
  707|       |#ifdef WSAECONNABORTED
  708|       |    add_errcode("WSAECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
  709|       |#endif
  710|       |#ifdef WSAENAMETOOLONG
  711|       |    add_errcode("WSAENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
  712|       |#endif
  713|       |#ifdef WSAENOTEMPTY
  714|       |    add_errcode("WSAENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
  715|       |#endif
  716|       |#ifdef WSAESHUTDOWN
  717|       |    add_errcode("WSAESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
  718|       |#endif
  719|       |#ifdef WSAEAFNOSUPPORT
  720|       |    add_errcode("WSAEAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
  721|       |#endif
  722|       |#ifdef WSAETOOMANYREFS
  723|       |    add_errcode("WSAETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
  724|       |#endif
  725|       |#ifdef WSAEACCES
  726|       |    add_errcode("WSAEACCES", WSAEACCES, "Permission denied");
  727|       |#endif
  728|       |#ifdef WSATR
  729|       |    add_errcode("WSATR", WSATR, "Error WSATR");
  730|       |#endif
  731|       |#ifdef WSABASEERR
  732|       |    add_errcode("WSABASEERR", WSABASEERR, "Error WSABASEERR");
  733|       |#endif
  734|       |#ifdef WSADESCRIPTIO
  735|       |    add_errcode("WSADESCRIPTIO", WSADESCRIPTIO, "Error WSADESCRIPTIO");
  736|       |#endif
  737|       |#ifdef WSAEMSGSIZE
  738|       |    add_errcode("WSAEMSGSIZE", WSAEMSGSIZE, "Message too long");
  739|       |#endif
  740|       |#ifdef WSAEBADF
  741|       |    add_errcode("WSAEBADF", WSAEBADF, "Bad file number");
  742|       |#endif
  743|       |#ifdef WSAECONNRESET
  744|       |    add_errcode("WSAECONNRESET", WSAECONNRESET, "Connection reset by peer");
  745|       |#endif
  746|       |#ifdef WSAGETSELECTERRO
  747|       |    add_errcode("WSAGETSELECTERRO", WSAGETSELECTERRO, "Error WSAGETSELECTERRO");
  748|       |#endif
  749|       |#ifdef WSAETIMEDOUT
  750|       |    add_errcode("WSAETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
  751|       |#endif
  752|       |#ifdef WSAENOBUFS
  753|       |    add_errcode("WSAENOBUFS", WSAENOBUFS, "No buffer space available");
  754|       |#endif
  755|       |#ifdef WSAEDISCON
  756|       |    add_errcode("WSAEDISCON", WSAEDISCON, "Error WSAEDISCON");
  757|       |#endif
  758|       |#ifdef WSAEINTR
  759|       |    add_errcode("WSAEINTR", WSAEINTR, "Interrupted system call");
  760|       |#endif
  761|       |#ifdef WSAEPROTOTYPE
  762|       |    add_errcode("WSAEPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
  763|       |#endif
  764|       |#ifdef WSAHOS
  765|       |    add_errcode("WSAHOS", WSAHOS, "Error WSAHOS");
  766|       |#endif
  767|       |#ifdef WSAEADDRINUSE
  768|       |    add_errcode("WSAEADDRINUSE", WSAEADDRINUSE, "Address already in use");
  769|       |#endif
  770|       |#ifdef WSAEADDRNOTAVAIL
  771|       |    add_errcode("WSAEADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
  772|       |#endif
  773|       |#ifdef WSAEALREADY
  774|       |    add_errcode("WSAEALREADY", WSAEALREADY, "Operation already in progress");
  775|       |#endif
  776|       |#ifdef WSAEPROTONOSUPPORT
  777|       |    add_errcode("WSAEPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
  778|       |#endif
  779|       |#ifdef WSASYSNOTREADY
  780|       |    add_errcode("WSASYSNOTREADY", WSASYSNOTREADY, "Error WSASYSNOTREADY");
  781|       |#endif
  782|       |#ifdef WSAEWOULDBLOCK
  783|       |    add_errcode("WSAEWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
  784|       |#endif
  785|       |#ifdef WSAEPFNOSUPPORT
  786|       |    add_errcode("WSAEPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
  787|       |#endif
  788|       |#ifdef WSAEOPNOTSUPP
  789|       |    add_errcode("WSAEOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
  790|       |#endif
  791|       |#ifdef WSAEISCONN
  792|       |    add_errcode("WSAEISCONN", WSAEISCONN, "Transport endpoint is already connected");
  793|       |#endif
  794|       |#ifdef WSAEDQUOT
  795|       |    add_errcode("WSAEDQUOT", WSAEDQUOT, "Quota exceeded");
  796|       |#endif
  797|       |#ifdef WSAENOTCONN
  798|       |    add_errcode("WSAENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
  799|       |#endif
  800|       |#ifdef WSAEREMOTE
  801|       |    add_errcode("WSAEREMOTE", WSAEREMOTE, "Object is remote");
  802|       |#endif
  803|       |#ifdef WSAEINVAL
  804|       |    add_errcode("WSAEINVAL", WSAEINVAL, "Invalid argument");
  805|       |#endif
  806|       |#ifdef WSAEINPROGRESS
  807|       |    add_errcode("WSAEINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
  808|       |#endif
  809|       |#ifdef WSAGETSELECTEVEN
  810|       |    add_errcode("WSAGETSELECTEVEN", WSAGETSELECTEVEN, "Error WSAGETSELECTEVEN");
  811|       |#endif
  812|       |#ifdef WSAESOCKTNOSUPPORT
  813|       |    add_errcode("WSAESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
  814|       |#endif
  815|       |#ifdef WSAGETASYNCERRO
  816|       |    add_errcode("WSAGETASYNCERRO", WSAGETASYNCERRO, "Error WSAGETASYNCERRO");
  817|       |#endif
  818|       |#ifdef WSAMAKESELECTREPL
  819|       |    add_errcode("WSAMAKESELECTREPL", WSAMAKESELECTREPL, "Error WSAMAKESELECTREPL");
  820|       |#endif
  821|       |#ifdef WSAGETASYNCBUFLE
  822|       |    add_errcode("WSAGETASYNCBUFLE", WSAGETASYNCBUFLE, "Error WSAGETASYNCBUFLE");
  823|       |#endif
  824|       |#ifdef WSAEDESTADDRREQ
  825|       |    add_errcode("WSAEDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
  826|       |#endif
  827|       |#ifdef WSAECONNREFUSED
  828|       |    add_errcode("WSAECONNREFUSED", WSAECONNREFUSED, "Connection refused");
  829|       |#endif
  830|       |#ifdef WSAENETRESET
  831|       |    add_errcode("WSAENETRESET", WSAENETRESET, "Network dropped connection because of reset");
  832|       |#endif
  833|       |#ifdef WSAN
  834|       |    add_errcode("WSAN", WSAN, "Error WSAN");
  835|       |#endif
  836|      2|#ifdef ENOMEDIUM
  837|      2|    add_errcode("ENOMEDIUM", ENOMEDIUM, "No medium found");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  838|      2|#endif
  839|      2|#ifdef EMEDIUMTYPE
  840|      2|    add_errcode("EMEDIUMTYPE", EMEDIUMTYPE, "Wrong medium type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  841|      2|#endif
  842|      2|#ifdef ECANCELED
  843|      2|    add_errcode("ECANCELED", ECANCELED, "Operation Canceled");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  844|      2|#endif
  845|      2|#ifdef ENOKEY
  846|      2|    add_errcode("ENOKEY", ENOKEY, "Required key not available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  847|      2|#endif
  848|      2|#ifdef EHWPOISON
  849|      2|    add_errcode("EHWPOISON", EHWPOISON, "Memory page has hardware error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  850|      2|#endif
  851|      2|#ifdef EKEYEXPIRED
  852|      2|    add_errcode("EKEYEXPIRED", EKEYEXPIRED, "Key has expired");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  853|      2|#endif
  854|      2|#ifdef EKEYREVOKED
  855|      2|    add_errcode("EKEYREVOKED", EKEYREVOKED, "Key has been revoked");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  856|      2|#endif
  857|      2|#ifdef EKEYREJECTED
  858|      2|    add_errcode("EKEYREJECTED", EKEYREJECTED, "Key was rejected by service");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  859|      2|#endif
  860|      2|#ifdef EOWNERDEAD
  861|      2|    add_errcode("EOWNERDEAD", EOWNERDEAD, "Owner died");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  862|      2|#endif
  863|      2|#ifdef ENOTRECOVERABLE
  864|      2|    add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "State not recoverable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  865|      2|#endif
  866|      2|#ifdef ERFKILL
  867|      2|    add_errcode("ERFKILL", ERFKILL, "Operation not possible due to RF-kill");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  868|      2|#endif
  869|       |
  870|       |    /* Solaris-specific errnos */
  871|      2|#ifdef ECANCELED
  872|      2|    add_errcode("ECANCELED", ECANCELED, "Operation canceled");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  873|      2|#endif
  874|      2|#ifdef ENOTSUP
  875|      2|    add_errcode("ENOTSUP", ENOTSUP, "Operation not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  876|      2|#endif
  877|      2|#ifdef EOWNERDEAD
  878|      2|    add_errcode("EOWNERDEAD", EOWNERDEAD, "Process died with the lock");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  879|      2|#endif
  880|      2|#ifdef ENOTRECOVERABLE
  881|      2|    add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "Lock is not recoverable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  882|      2|#endif
  883|       |#ifdef ELOCKUNMAPPED
  884|       |    add_errcode("ELOCKUNMAPPED", ELOCKUNMAPPED, "Locked lock was unmapped");
  885|       |#endif
  886|       |#ifdef ENOTACTIVE
  887|       |    add_errcode("ENOTACTIVE", ENOTACTIVE, "Facility is not active");
  888|       |#endif
  889|       |
  890|       |    /* MacOSX specific errnos */
  891|       |#ifdef EAUTH
  892|       |    add_errcode("EAUTH", EAUTH, "Authentication error");
  893|       |#endif
  894|       |#ifdef EBADARCH
  895|       |    add_errcode("EBADARCH", EBADARCH, "Bad CPU type in executable");
  896|       |#endif
  897|       |#ifdef EBADEXEC
  898|       |    add_errcode("EBADEXEC", EBADEXEC, "Bad executable (or shared library)");
  899|       |#endif
  900|       |#ifdef EBADMACHO
  901|       |    add_errcode("EBADMACHO", EBADMACHO, "Malformed Mach-o file");
  902|       |#endif
  903|       |#ifdef EBADRPC
  904|       |    add_errcode("EBADRPC", EBADRPC, "RPC struct is bad");
  905|       |#endif
  906|       |#ifdef EDEVERR
  907|       |    add_errcode("EDEVERR", EDEVERR, "Device error");
  908|       |#endif
  909|       |#ifdef EFTYPE
  910|       |    add_errcode("EFTYPE", EFTYPE, "Inappropriate file type or format");
  911|       |#endif
  912|       |#ifdef ENEEDAUTH
  913|       |    add_errcode("ENEEDAUTH", ENEEDAUTH, "Need authenticator");
  914|       |#endif
  915|       |#ifdef ENOATTR
  916|       |    add_errcode("ENOATTR", ENOATTR, "Attribute not found");
  917|       |#endif
  918|       |#ifdef ENOPOLICY
  919|       |    add_errcode("ENOPOLICY", ENOPOLICY, "Policy not found");
  920|       |#endif
  921|       |#ifdef EPROCLIM
  922|       |    add_errcode("EPROCLIM", EPROCLIM, "Too many processes");
  923|       |#endif
  924|       |#ifdef EPROCUNAVAIL
  925|       |    add_errcode("EPROCUNAVAIL", EPROCUNAVAIL, "Bad procedure for program");
  926|       |#endif
  927|       |#ifdef EPROGMISMATCH
  928|       |    add_errcode("EPROGMISMATCH", EPROGMISMATCH, "Program version wrong");
  929|       |#endif
  930|       |#ifdef EPROGUNAVAIL
  931|       |    add_errcode("EPROGUNAVAIL", EPROGUNAVAIL, "RPC prog. not avail");
  932|       |#endif
  933|       |#ifdef EPWROFF
  934|       |    add_errcode("EPWROFF", EPWROFF, "Device power is off");
  935|       |#endif
  936|       |#ifdef ERPCMISMATCH
  937|       |    add_errcode("ERPCMISMATCH", ERPCMISMATCH, "RPC version wrong");
  938|       |#endif
  939|       |#ifdef ESHLIBVERS
  940|       |    add_errcode("ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
  941|       |#endif
  942|       |#ifdef EQFULL
  943|       |    add_errcode("EQFULL", EQFULL, "Interface output queue is full");
  944|       |#endif
  945|       |#ifdef ENOTCAPABLE
  946|       |    // WASI extension
  947|       |    add_errcode("ENOTCAPABLE", ENOTCAPABLE, "Capabilities insufficient");
  948|       |#endif
  949|       |
  950|      2|    Py_DECREF(error_dict);
  ------------------
  |  |  340|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|      2|    return 0;
  952|      2|}
errnomodule.c:_add_errcode:
   60|    274|{
   61|    274|    PyObject *name = PyUnicode_FromString(name_str);
   62|    274|    if (!name) {
  ------------------
  |  Branch (62:9): [True: 0, False: 274]
  ------------------
   63|      0|        return -1;
   64|      0|    }
   65|       |
   66|    274|    PyObject *code = PyLong_FromLong(code_int);
   67|    274|    if (!code) {
  ------------------
  |  Branch (67:9): [True: 0, False: 274]
  ------------------
   68|      0|        Py_DECREF(name);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|      0|        return -1;
   70|      0|    }
   71|       |
   72|    274|    int ret = -1;
   73|       |    /* insert in modules dict */
   74|    274|    if (PyDict_SetItem(module_dict, name, code) < 0) {
  ------------------
  |  Branch (74:9): [True: 0, False: 274]
  ------------------
   75|      0|        goto end;
   76|      0|    }
   77|       |    /* insert in errorcode dict */
   78|    274|    if (PyDict_SetItem(error_dict, code, name) < 0) {
  ------------------
  |  Branch (78:9): [True: 0, False: 274]
  ------------------
   79|      0|        goto end;
   80|      0|    }
   81|    274|    ret = 0;
   82|    274|end:
   83|    274|    Py_DECREF(name);
  ------------------
  |  |  340|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|    274|    Py_DECREF(code);
  ------------------
  |  |  340|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|    274|    return ret;
   86|    274|}

_PyFaulthandler_Init:
 1476|      2|{
 1477|      2|#ifdef FAULTHANDLER_USE_ALT_STACK
 1478|      2|    memset(&stack, 0, sizeof(stack));
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
                  memset(&stack, 0, sizeof(stack));
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1479|      2|    stack.ss_flags = 0;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1480|       |    /* bpo-21131: allocate dedicated stack of SIGSTKSZ*2 bytes, instead of just
 1481|       |       SIGSTKSZ bytes. Calling the previous signal handler in faulthandler
 1482|       |       signal handler uses more than SIGSTKSZ bytes of stack memory on some
 1483|       |       platforms. */
 1484|      2|    stack.ss_size = SIGSTKSZ * 2;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1485|      2|#ifdef AT_MINSIGSTKSZ
 1486|       |    /* bpo-46968: Query Linux for minimal stack size to ensure signal delivery
 1487|       |       for the hardware running CPython. This OS feature is available in
 1488|       |       Linux kernel version >= 5.14 */
 1489|      2|    unsigned long at_minstack_size = getauxval(AT_MINSIGSTKSZ);
 1490|      2|    if (at_minstack_size != 0) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 2]
  ------------------
 1491|      0|        stack.ss_size = SIGSTKSZ + at_minstack_size;
  ------------------
  |  |   86|      0|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1492|      0|    }
 1493|      2|#endif
 1494|      2|#endif
 1495|       |
 1496|      2|    memset(&thread, 0, sizeof(thread));
  ------------------
  |  |   60|      2|#define thread _PyRuntime.faulthandler.thread
  ------------------
                  memset(&thread, 0, sizeof(thread));
  ------------------
  |  |   60|      2|#define thread _PyRuntime.faulthandler.thread
  ------------------
 1497|       |
 1498|      2|    if (enable) {
  ------------------
  |  Branch (1498:9): [True: 0, False: 2]
  ------------------
 1499|      0|        if (faulthandler_init_enable() < 0) {
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  ------------------
 1500|      0|            return _PyStatus_ERR("failed to enable faulthandler");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1501|      0|        }
 1502|      0|    }
 1503|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1504|      2|}

PyInit_gc:
  587|      2|{
  588|      2|    return PyModuleDef_Init(&gcmodule);
  589|      2|}
gcmodule.c:get_gc_state:
   16|      2|{
   17|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   18|      2|    return &interp->gc;
   19|      2|}
gcmodule.c:gcmodule_exec:
  544|      2|{
  545|      2|    GCState *gcstate = get_gc_state();
  546|       |
  547|       |    /* garbage and callbacks are initialized by _PyGC_Init() early in
  548|       |     * interpreter lifecycle. */
  549|      2|    assert(gcstate->garbage != NULL);
  550|      2|    if (PyModule_AddObjectRef(module, "garbage", gcstate->garbage) < 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 2]
  ------------------
  551|      0|        return -1;
  552|      0|    }
  553|      2|    assert(gcstate->callbacks != NULL);
  554|      2|    if (PyModule_AddObjectRef(module, "callbacks", gcstate->callbacks) < 0) {
  ------------------
  |  Branch (554:9): [True: 0, False: 2]
  ------------------
  555|      0|        return -1;
  556|      0|    }
  557|       |
  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  559|      2|    ADD_INT(DEBUG_STATS);
  ------------------
  |  |  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  |  |  ------------------
  |  |  |  |  125|      2|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  |  |  ------------------
  |  |  |  Branch (558:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  560|      2|    ADD_INT(DEBUG_COLLECTABLE);
  ------------------
  |  |  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  |  |  ------------------
  |  |  |  |  126|      2|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  |  |  ------------------
  |  |  |  Branch (558:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  561|      2|    ADD_INT(DEBUG_UNCOLLECTABLE);
  ------------------
  |  |  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  |  |  ------------------
  |  |  |  |  127|      2|#define _PyGC_DEBUG_UNCOLLECTABLE     (1<<2) /* print uncollectable objects */
  |  |  ------------------
  |  |  |  Branch (558:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  562|      2|    ADD_INT(DEBUG_SAVEALL);
  ------------------
  |  |  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  |  |  ------------------
  |  |  |  |  128|      2|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  |  |  ------------------
  |  |  |  Branch (558:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  563|      2|    ADD_INT(DEBUG_LEAK);
  ------------------
  |  |  558|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  |  |  ------------------
  |  |  |  |  129|      2|#define _PyGC_DEBUG_LEAK              _PyGC_DEBUG_COLLECTABLE | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      2|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  |  |  |  |  ------------------
  |  |  |  |  130|      2|                                      _PyGC_DEBUG_UNCOLLECTABLE | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  127|      2|#define _PyGC_DEBUG_UNCOLLECTABLE     (1<<2) /* print uncollectable objects */
  |  |  |  |  ------------------
  |  |  |  |  131|      2|                                      _PyGC_DEBUG_SAVEALL
  |  |  |  |  ------------------
  |  |  |  |  |  |  128|      2|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (558:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  564|      2|#undef ADD_INT
  565|      2|    return 0;
  566|      2|}

Py_GetBuildInfo:
   46|      2|{
   47|      2|    if (initialized) {
  ------------------
  |  Branch (47:9): [True: 0, False: 2]
  ------------------
   48|      0|        return buildinfo;
   49|      0|    }
   50|      2|    initialized = 1;
   51|      2|    const char *revision = _Py_gitversion();
   52|      2|    const char *sep = *revision ? ":" : "";
  ------------------
  |  Branch (52:23): [True: 2, False: 0]
  ------------------
   53|      2|    const char *gitid = _Py_gitidentifier();
   54|      2|    if (!(*gitid)) {
  ------------------
  |  Branch (54:9): [True: 0, False: 2]
  ------------------
   55|      0|        gitid = "main";
   56|      0|    }
   57|      2|    PyOS_snprintf(buildinfo, sizeof(buildinfo),
   58|      2|                  "%s%s%s, %.20s, %.9s", gitid, sep, revision,
   59|      2|                  DATE, TIME);
  ------------------
  |  |   14|       |#define DATE __DATE__
  ------------------
                                DATE, TIME);
  ------------------
  |  |   22|       |#define TIME __TIME__
  ------------------
   60|      2|    return buildinfo;
   61|      2|}
_Py_gitversion:
   65|      4|{
   66|      4|    return GITVERSION;
   67|      4|}
_Py_gitidentifier:
   71|      4|{
   72|      4|    const char *gittag, *gitid;
   73|      4|    gittag = GITTAG;
   74|      4|    if ((*gittag) && strcmp(gittag, "undefined") != 0)
  ------------------
  |  Branch (74:9): [True: 4, False: 0]
  |  Branch (74:22): [True: 4, False: 0]
  ------------------
   75|      4|        gitid = gittag;
   76|      0|    else
   77|      0|        gitid = GITBRANCH;
   78|      4|    return gitid;
   79|      4|}

_Py_Get_Getpath_CodeObject:
  834|      2|{
  835|      2|    return PyMarshal_ReadObjectFromString(
  836|      2|        (const char*)_Py_M__getpath, sizeof(_Py_M__getpath));
  837|      2|}
_PyConfig_InitPathConfig:
  857|      4|{
  858|      4|    PyStatus status = _PyPathConfig_ReadGlobal(config);
  859|       |
  860|      4|    if (_PyStatus_EXCEPTION(status) || !compute_path_config) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (860:40): [True: 2, False: 2]
  ------------------
  861|      2|        return status;
  862|      2|    }
  863|       |
  864|      2|    if (!_PyThreadState_GET()) {
  ------------------
  |  Branch (864:9): [True: 0, False: 2]
  ------------------
  865|      0|        return PyStatus_Error("cannot calculate path configuration without GIL");
  866|      0|    }
  867|       |
  868|      2|    PyObject *configDict = _PyConfig_AsDict(config);
  869|      2|    if (!configDict) {
  ------------------
  |  Branch (869:9): [True: 0, False: 2]
  ------------------
  870|      0|        PyErr_Clear();
  871|      0|        return PyStatus_NoMemory();
  872|      0|    }
  873|       |
  874|      2|    PyObject *dict = PyDict_New();
  875|      2|    if (!dict) {
  ------------------
  |  Branch (875:9): [True: 0, False: 2]
  ------------------
  876|      0|        PyErr_Clear();
  877|      0|        Py_DECREF(configDict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|      0|        return PyStatus_NoMemory();
  879|      0|    }
  880|       |
  881|      2|    if (PyDict_SetItemString(dict, "config", configDict) < 0) {
  ------------------
  |  Branch (881:9): [True: 0, False: 2]
  ------------------
  882|      0|        PyErr_Clear();
  883|      0|        Py_DECREF(configDict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|        return PyStatus_NoMemory();
  886|      0|    }
  887|       |    /* reference now held by dict */
  888|      2|    Py_DECREF(configDict);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  889|       |
  890|      2|    PyObject *co = _Py_Get_Getpath_CodeObject();
  891|      2|    if (!co || !PyCode_Check(co)) {
  ------------------
  |  |  164|      2|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (891:9): [True: 0, False: 2]
  |  Branch (891:16): [True: 0, False: 2]
  ------------------
  892|      0|        PyErr_Clear();
  893|      0|        Py_XDECREF(co);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|      0|        return PyStatus_Error("error reading frozen getpath.py");
  896|      0|    }
  897|       |
  898|       |#ifdef MS_WINDOWS
  899|       |    PyObject *winreg = PyImport_ImportModule("winreg");
  900|       |    if (!winreg || PyDict_SetItemString(dict, "winreg", winreg) < 0) {
  901|       |        PyErr_Clear();
  902|       |        Py_XDECREF(winreg);
  903|       |        if (PyDict_SetItemString(dict, "winreg", Py_None) < 0) {
  904|       |            PyErr_Clear();
  905|       |            Py_DECREF(co);
  906|       |            Py_DECREF(dict);
  907|       |            return PyStatus_Error("error importing winreg module");
  908|       |        }
  909|       |    } else {
  910|       |        Py_DECREF(winreg);
  911|       |    }
  912|       |#endif
  913|       |
  914|      2|    if (
  915|       |#ifdef MS_WINDOWS
  916|       |        !decode_to_dict(dict, "os_name", "nt") ||
  917|       |#elif defined(__APPLE__)
  918|       |        !decode_to_dict(dict, "os_name", "darwin") ||
  919|       |#else
  920|      2|        !decode_to_dict(dict, "os_name", "posix") ||
  ------------------
  |  Branch (920:9): [True: 0, False: 2]
  ------------------
  921|      2|#endif
  922|       |#ifdef WITH_NEXT_FRAMEWORK
  923|       |        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 1) ||
  924|       |#else
  925|      2|        !int_to_dict(dict, "WITH_NEXT_FRAMEWORK", 0) ||
  ------------------
  |  Branch (925:9): [True: 0, False: 2]
  ------------------
  926|      2|#endif
  927|      2|        !decode_to_dict(dict, "PREFIX", PREFIX) ||
  ------------------
  |  Branch (927:9): [True: 0, False: 2]
  ------------------
  928|      2|        !decode_to_dict(dict, "EXEC_PREFIX", EXEC_PREFIX) ||
  ------------------
  |  Branch (928:9): [True: 0, False: 2]
  ------------------
  929|      2|        !decode_to_dict(dict, "PYTHONPATH", PYTHONPATH) ||
  ------------------
  |  Branch (929:9): [True: 0, False: 2]
  ------------------
  930|      2|        !decode_to_dict(dict, "VPATH", VPATH) ||
  ------------------
  |  Branch (930:9): [True: 0, False: 2]
  ------------------
  931|      2|        !decode_to_dict(dict, "PLATLIBDIR", PLATLIBDIR) ||
  ------------------
  |  Branch (931:9): [True: 0, False: 2]
  ------------------
  932|      2|        !decode_to_dict(dict, "PYDEBUGEXT", PYDEBUGEXT) ||
  ------------------
  |  |   41|      2|#define PYDEBUGEXT NULL
  ------------------
  |  Branch (932:9): [True: 0, False: 2]
  ------------------
  933|      2|        !int_to_dict(dict, "VERSION_MAJOR", PY_MAJOR_VERSION) ||
  ------------------
  |  |   23|      2|#define PY_MAJOR_VERSION        3
  ------------------
  |  Branch (933:9): [True: 0, False: 2]
  ------------------
  934|      2|        !int_to_dict(dict, "VERSION_MINOR", PY_MINOR_VERSION) ||
  ------------------
  |  |   24|      2|#define PY_MINOR_VERSION        16
  ------------------
  |  Branch (934:9): [True: 0, False: 2]
  ------------------
  935|      2|        !decode_to_dict(dict, "PYWINVER", PYWINVER) ||
  ------------------
  |  |   48|      2|#define PYWINVER NULL
  ------------------
  |  Branch (935:9): [True: 0, False: 2]
  ------------------
  936|      2|        !wchar_to_dict(dict, "EXE_SUFFIX", EXE_SUFFIX) ||
  ------------------
  |  |   56|      2|#define EXE_SUFFIX NULL
  ------------------
  |  Branch (936:9): [True: 0, False: 2]
  ------------------
  937|      2|        !env_to_dict(dict, "ENV_PATH", 0) ||
  ------------------
  |  Branch (937:9): [True: 0, False: 2]
  ------------------
  938|      2|        !env_to_dict(dict, "ENV_PYTHONHOME", 0) ||
  ------------------
  |  Branch (938:9): [True: 0, False: 2]
  ------------------
  939|      2|        !env_to_dict(dict, "ENV_PYTHONEXECUTABLE", 0) ||
  ------------------
  |  Branch (939:9): [True: 0, False: 2]
  ------------------
  940|      2|        !env_to_dict(dict, "ENV___PYVENV_LAUNCHER__", 1) ||
  ------------------
  |  Branch (940:9): [True: 0, False: 2]
  ------------------
  941|      2|        !progname_to_dict(dict, "real_executable") ||
  ------------------
  |  Branch (941:9): [True: 0, False: 2]
  ------------------
  942|      2|        !library_to_dict(dict, "library") ||
  ------------------
  |  Branch (942:9): [True: 0, False: 2]
  ------------------
  943|      2|        !wchar_to_dict(dict, "executable_dir", NULL) ||
  ------------------
  |  Branch (943:9): [True: 0, False: 2]
  ------------------
  944|      2|        !wchar_to_dict(dict, "py_setpath", _PyPathConfig_GetGlobalModuleSearchPath()) ||
  ------------------
  |  Branch (944:9): [True: 0, False: 2]
  ------------------
  945|      2|        !funcs_to_dict(dict, config->pathconfig_warnings) ||
  ------------------
  |  Branch (945:9): [True: 0, False: 2]
  ------------------
  946|       |#ifdef Py_GIL_DISABLED
  947|       |        !decode_to_dict(dict, "ABI_THREAD", "t") ||
  948|       |#else
  949|      2|        !decode_to_dict(dict, "ABI_THREAD", "") ||
  ------------------
  |  Branch (949:9): [True: 0, False: 2]
  ------------------
  950|      2|#endif
  951|      2|#ifndef MS_WINDOWS
  952|      2|        PyDict_SetItemString(dict, "winreg", Py_None) < 0 ||
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (952:9): [True: 0, False: 2]
  ------------------
  953|      2|#endif
  954|      2|        PyDict_SetItemString(dict, "__builtins__", PyEval_GetBuiltins()) < 0
  ------------------
  |  Branch (954:9): [True: 0, False: 2]
  ------------------
  955|      2|    ) {
  956|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  957|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  958|      0|        PyErr_FormatUnraisable("Exception ignored while preparing getpath");
  959|      0|        return PyStatus_Error("error evaluating initial values");
  960|      0|    }
  961|       |
  962|      2|    PyObject *r = PyEval_EvalCode(co, dict, dict);
  963|      2|    Py_DECREF(co);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  964|       |
  965|      2|    if (!r) {
  ------------------
  |  Branch (965:9): [True: 0, False: 2]
  ------------------
  966|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  967|      0|        PyErr_FormatUnraisable("Exception ignored while running getpath");
  968|      0|        return PyStatus_Error("error evaluating path");
  969|      0|    }
  970|      2|    Py_DECREF(r);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  971|       |
  972|      2|    if (_PyConfig_FromDict(config, configDict) < 0) {
  ------------------
  |  Branch (972:9): [True: 0, False: 2]
  ------------------
  973|      0|        PyErr_FormatUnraisable("Exception ignored while reading getpath results");
  974|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      0|        return PyStatus_Error("error getting getpath results");
  976|      0|    }
  977|       |
  978|      2|    Py_DECREF(dict);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  979|       |
  980|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  981|      2|}
getpath.c:decode_to_dict:
  659|     18|{
  660|     18|    PyObject *u = NULL;
  661|     18|    int r;
  662|     18|    if (s && s[0]) {
  ------------------
  |  Branch (662:9): [True: 14, False: 4]
  |  Branch (662:14): [True: 8, False: 6]
  ------------------
  663|      8|        size_t len;
  664|      8|        const wchar_t *w = Py_DecodeLocale(s, &len);
  665|      8|        if (w) {
  ------------------
  |  Branch (665:13): [True: 8, False: 0]
  ------------------
  666|      8|            u = PyUnicode_FromWideChar(w, len);
  667|      8|            PyMem_RawFree((void *)w);
  668|      8|        }
  669|      8|        if (!u) {
  ------------------
  |  Branch (669:13): [True: 0, False: 8]
  ------------------
  670|      0|            return 0;
  671|      0|        }
  672|     10|    } else {
  673|     10|        u = Py_NewRef(Py_None);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|     10|    }
  675|     18|    r = PyDict_SetItemString(dict, key, u) == 0;
  676|     18|    Py_DECREF(u);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|     18|    return r;
  678|     18|}
getpath.c:int_to_dict:
  738|      6|{
  739|      6|    PyObject *o;
  740|      6|    int r;
  741|      6|    o = PyLong_FromLong(v);
  742|      6|    if (!o) {
  ------------------
  |  Branch (742:9): [True: 0, False: 6]
  ------------------
  743|      0|        return 0;
  744|      0|    }
  745|      6|    r = PyDict_SetItemString(dict, key, o) == 0;
  746|      6|    Py_DECREF(o);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      6|    return r;
  748|      6|}
getpath.c:wchar_to_dict:
  639|      6|{
  640|      6|    PyObject *u;
  641|      6|    int r;
  642|      6|    if (s && s[0]) {
  ------------------
  |  Branch (642:9): [True: 0, False: 6]
  |  Branch (642:14): [True: 0, False: 0]
  ------------------
  643|      0|        u = PyUnicode_FromWideChar(s, -1);
  644|      0|        if (!u) {
  ------------------
  |  Branch (644:13): [True: 0, False: 0]
  ------------------
  645|      0|            return 0;
  646|      0|        }
  647|      6|    } else {
  648|      6|        u = Py_NewRef(Py_None);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  649|      6|    }
  650|      6|    r = PyDict_SetItemString(dict, key, u) == 0;
  651|      6|    Py_DECREF(u);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  652|      6|    return r;
  653|      6|}
getpath.c:env_to_dict:
  683|      8|{
  684|      8|    PyObject *u = NULL;
  685|      8|    int r = 0;
  686|      8|    assert(strncmp(key, "ENV_", 4) == 0);
  687|      8|    assert(strlen(key) < 64);
  688|       |#ifdef MS_WINDOWS
  689|       |    wchar_t wkey[64];
  690|       |    // Quick convert to wchar_t, since we know key is ASCII
  691|       |    wchar_t *wp = wkey;
  692|       |    for (const char *p = &key[4]; *p; ++p) {
  693|       |        assert(!(*p & 0x80));
  694|       |        *wp++ = *p;
  695|       |    }
  696|       |    *wp = L'\0';
  697|       |    const wchar_t *v = _wgetenv(wkey);
  698|       |    if (v) {
  699|       |        u = PyUnicode_FromWideChar(v, -1);
  700|       |        if (!u) {
  701|       |            PyErr_Clear();
  702|       |        }
  703|       |    }
  704|       |#else
  705|      8|    const char *v = getenv(&key[4]);
  706|      8|    if (v) {
  ------------------
  |  Branch (706:9): [True: 4, False: 4]
  ------------------
  707|      4|        size_t len;
  708|      4|        const wchar_t *w = Py_DecodeLocale(v, &len);
  709|      4|        if (w) {
  ------------------
  |  Branch (709:13): [True: 4, False: 0]
  ------------------
  710|      4|            u = PyUnicode_FromWideChar(w, len);
  711|      4|            if (!u) {
  ------------------
  |  Branch (711:17): [True: 0, False: 4]
  ------------------
  712|      0|                PyErr_Clear();
  713|      0|            }
  714|      4|            PyMem_RawFree((void *)w);
  715|      4|        }
  716|      4|    }
  717|      8|#endif
  718|      8|    if (u) {
  ------------------
  |  Branch (718:9): [True: 4, False: 4]
  ------------------
  719|      4|        r = PyDict_SetItemString(dict, key, u) == 0;
  720|      4|        Py_DECREF(u);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|      4|    } else {
  722|      4|        r = PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  723|      4|    }
  724|      8|    if (r && and_clear) {
  ------------------
  |  Branch (724:9): [True: 8, False: 0]
  |  Branch (724:14): [True: 2, False: 6]
  ------------------
  725|       |#ifdef MS_WINDOWS
  726|       |        _wputenv_s(wkey, L"");
  727|       |#else
  728|      2|        unsetenv(&key[4]);
  729|      2|#endif
  730|      2|    }
  731|      8|    return r;
  732|      8|}
getpath.c:progname_to_dict:
  775|      2|{
  776|       |#ifdef MS_WINDOWS
  777|       |    return winmodule_to_dict(dict, key, NULL);
  778|       |#elif defined(__APPLE__)
  779|       |    char *path;
  780|       |    uint32_t pathLen = 256;
  781|       |    while (pathLen) {
  782|       |        path = PyMem_RawMalloc((pathLen + 1) * sizeof(char));
  783|       |        if (!path) {
  784|       |            return 0;
  785|       |        }
  786|       |        if (_NSGetExecutablePath(path, &pathLen) != 0) {
  787|       |            PyMem_RawFree(path);
  788|       |            continue;
  789|       |        }
  790|       |        // Only keep if the path is absolute
  791|       |        if (path[0] == SEP) {
  792|       |            int r = decode_to_dict(dict, key, path);
  793|       |            PyMem_RawFree(path);
  794|       |            return r;
  795|       |        }
  796|       |        // Fall back and store None
  797|       |        PyMem_RawFree(path);
  798|       |        break;
  799|       |    }
  800|       |#endif
  801|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  802|      2|}
getpath.c:library_to_dict:
  808|      2|{
  809|       |/* macOS framework builds do not link against a libpython dynamic library, but
  810|       |   instead link against a macOS Framework. */
  811|       |#if defined(Py_ENABLE_SHARED) || defined(WITH_NEXT_FRAMEWORK)
  812|       |
  813|       |#ifdef MS_WINDOWS
  814|       |    extern HMODULE PyWin_DLLhModule;
  815|       |    if (PyWin_DLLhModule) {
  816|       |        return winmodule_to_dict(dict, key, PyWin_DLLhModule);
  817|       |    }
  818|       |#endif
  819|       |
  820|       |#if HAVE_DLADDR
  821|       |    Dl_info libpython_info;
  822|       |    if (dladdr(&Py_Initialize, &libpython_info) && libpython_info.dli_fname) {
  823|       |        return decode_to_dict(dict, key, libpython_info.dli_fname);
  824|       |    }
  825|       |#endif
  826|       |#endif
  827|       |
  828|      2|    return PyDict_SetItemString(dict, key, Py_None) == 0;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  829|      2|}
getpath.c:funcs_to_dict:
  610|      2|{
  611|     24|    for (PyMethodDef *m = getpath_methods; m->ml_name; ++m) {
  ------------------
  |  Branch (611:44): [True: 22, False: 2]
  ------------------
  612|     22|        PyObject *f = PyCFunction_NewEx(m, NULL, NULL);
  ------------------
  |  |   87|     22|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  613|     22|        if (!f) {
  ------------------
  |  Branch (613:13): [True: 0, False: 22]
  ------------------
  614|      0|            return 0;
  615|      0|        }
  616|     22|        if (PyDict_SetItemString(dict, m->ml_name, f) < 0) {
  ------------------
  |  Branch (616:13): [True: 0, False: 22]
  ------------------
  617|      0|            Py_DECREF(f);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|            return 0;
  619|      0|        }
  620|     22|        Py_DECREF(f);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     22|    }
  622|      2|    PyMethodDef *m2 = warnings ? &getpath_warn_method : &getpath_nowarn_method;
  ------------------
  |  Branch (622:23): [True: 2, False: 0]
  ------------------
  623|      2|    PyObject *f = PyCFunction_NewEx(m2, NULL, NULL);
  ------------------
  |  |   87|      2|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  624|      2|    if (!f) {
  ------------------
  |  Branch (624:9): [True: 0, False: 2]
  ------------------
  625|      0|        return 0;
  626|      0|    }
  627|      2|    if (PyDict_SetItemString(dict, m2->ml_name, f) < 0) {
  ------------------
  |  Branch (627:9): [True: 0, False: 2]
  ------------------
  628|      0|        Py_DECREF(f);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|      0|        return 0;
  630|      0|    }
  631|      2|    Py_DECREF(f);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  632|      2|    return 1;
  633|      2|}
getpath.c:getpath_dirname:
  106|      6|{
  107|      6|    PyObject *path;
  108|      6|    if (!PyArg_ParseTuple(args, "U", &path)) {
  ------------------
  |  Branch (108:9): [True: 0, False: 6]
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|      6|    Py_ssize_t end = PyUnicode_GET_LENGTH(path);
  ------------------
  |  |  299|      6|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      6|    Py_ssize_t pos = PyUnicode_FindChar(path, SEP, 0, end, -1);
  ------------------
  |  |   29|      6|#  define SEP L'/'
  ------------------
  113|      6|    if (pos < 0) {
  ------------------
  |  Branch (113:9): [True: 0, False: 6]
  ------------------
  114|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  115|      0|    }
  116|      6|    return PyUnicode_Substring(path, 0, pos);
  117|      6|}
getpath.c:getpath_isdir:
  175|      4|{
  176|      4|    PyObject *r = NULL;
  177|      4|    PyObject *pathobj;
  178|      4|    const wchar_t *path;
  179|      4|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (179:9): [True: 0, False: 4]
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|      4|    path = PyUnicode_AsWideCharString(pathobj, NULL);
  183|      4|    if (path) {
  ------------------
  |  Branch (183:9): [True: 4, False: 0]
  ------------------
  184|       |#ifdef MS_WINDOWS
  185|       |        DWORD attr = GetFileAttributesW(path);
  186|       |        r = (attr != INVALID_FILE_ATTRIBUTES) &&
  187|       |            (attr & FILE_ATTRIBUTE_DIRECTORY) ? Py_True : Py_False;
  188|       |#else
  189|      4|        struct stat st;
  190|      4|        r = (_Py_wstat(path, &st) == 0) && S_ISDIR(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      r = (_Py_wstat(path, &st) == 0) && S_ISDIR(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (190:13): [True: 4, False: 0]
  |  Branch (190:44): [True: 4, False: 0]
  ------------------
  191|      4|#endif
  192|      4|        PyMem_Free((void *)path);
  193|      4|    }
  194|      4|    return Py_XNewRef(r);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|      4|}
getpath.c:getpath_isfile:
  200|      4|{
  201|      4|    PyObject *r = NULL;
  202|      4|    PyObject *pathobj;
  203|      4|    const wchar_t *path;
  204|      4|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (204:9): [True: 0, False: 4]
  ------------------
  205|      0|        return NULL;
  206|      0|    }
  207|      4|    path = PyUnicode_AsWideCharString(pathobj, NULL);
  208|      4|    if (path) {
  ------------------
  |  Branch (208:9): [True: 4, False: 0]
  ------------------
  209|       |#ifdef MS_WINDOWS
  210|       |        DWORD attr = GetFileAttributesW(path);
  211|       |        r = (attr != INVALID_FILE_ATTRIBUTES) &&
  212|       |            !(attr & FILE_ATTRIBUTE_DIRECTORY) ? Py_True : Py_False;
  213|       |#else
  214|      4|        struct stat st;
  215|      4|        r = (_Py_wstat(path, &st) == 0) && S_ISREG(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      r = (_Py_wstat(path, &st) == 0) && S_ISREG(st.st_mode) ? Py_True : Py_False;
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:13): [True: 0, False: 4]
  |  Branch (215:44): [True: 0, False: 0]
  ------------------
  216|      4|#endif
  217|      4|        PyMem_Free((void *)path);
  218|      4|    }
  219|      4|    return Py_XNewRef(r);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|      4|}
getpath.c:getpath_isxfile:
  225|      4|{
  226|      4|    PyObject *r = NULL;
  227|      4|    PyObject *pathobj;
  228|      4|    const wchar_t *path;
  229|      4|    Py_ssize_t cchPath;
  230|      4|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (230:9): [True: 0, False: 4]
  ------------------
  231|      0|        return NULL;
  232|      0|    }
  233|      4|    path = PyUnicode_AsWideCharString(pathobj, &cchPath);
  234|      4|    if (path) {
  ------------------
  |  Branch (234:9): [True: 4, False: 0]
  ------------------
  235|       |#ifdef MS_WINDOWS
  236|       |        DWORD attr = GetFileAttributesW(path);
  237|       |        r = (attr != INVALID_FILE_ATTRIBUTES) &&
  238|       |            !(attr & FILE_ATTRIBUTE_DIRECTORY) &&
  239|       |            (cchPath >= 4) &&
  240|       |            (CompareStringOrdinal(path + cchPath - 4, -1, L".exe", -1, 1 /* ignore case */) == CSTR_EQUAL)
  241|       |            ? Py_True : Py_False;
  242|       |#else
  243|      4|        struct stat st;
  244|      4|        r = (_Py_wstat(path, &st) == 0) &&
  ------------------
  |  Branch (244:13): [True: 2, False: 2]
  ------------------
  245|      4|            S_ISREG(st.st_mode) &&
  ------------------
  |  Branch (245:13): [True: 2, False: 0]
  ------------------
  246|      2|            (st.st_mode & 0111)
  ------------------
  |  Branch (246:13): [True: 2, False: 0]
  ------------------
  247|      4|            ? Py_True : Py_False;
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          ? Py_True : Py_False;
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|      4|#endif
  249|      4|        PyMem_Free((void *)path);
  250|      4|    }
  251|      4|    return Py_XNewRef(r);
  ------------------
  |  |  551|      4|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  252|      4|}
getpath.c:getpath_joinpath:
  257|     18|{
  258|     18|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 0, False: 18]
  ------------------
  259|      0|        PyErr_SetString(PyExc_TypeError, "requires tuple of arguments");
  260|      0|        return NULL;
  261|      0|    }
  262|     18|    Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     18|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|     18|    if (n == 0) {
  ------------------
  |  Branch (263:9): [True: 0, False: 18]
  ------------------
  264|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  265|      0|    }
  266|       |    /* Convert all parts to wchar and accumulate max final length */
  267|     18|    wchar_t **parts = (wchar_t **)PyMem_Malloc(n * sizeof(wchar_t *));
  268|     18|    if (parts == NULL) {
  ------------------
  |  Branch (268:9): [True: 0, False: 18]
  ------------------
  269|      0|        PyErr_NoMemory();
  270|      0|        return NULL;
  271|      0|    }
  272|     18|    memset(parts, 0, n * sizeof(wchar_t *));
  273|     18|    Py_ssize_t cchFinal = 0;
  274|     18|    Py_ssize_t first = 0;
  275|       |
  276|     54|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (276:28): [True: 36, False: 18]
  ------------------
  277|     36|        PyObject *s = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|     36|        Py_ssize_t cch;
  279|     36|        if (s == Py_None) {
  ------------------
  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (279:13): [True: 0, False: 36]
  ------------------
  280|      0|            cch = 0;
  281|     36|        } else if (PyUnicode_Check(s)) {
  ------------------
  |  |  103|     36|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 36, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|     36|            parts[i] = PyUnicode_AsWideCharString(s, &cch);
  283|     36|            if (!parts[i]) {
  ------------------
  |  Branch (283:17): [True: 0, False: 36]
  ------------------
  284|      0|                cchFinal = -1;
  285|      0|                break;
  286|      0|            }
  287|     36|            if (_Py_isabs(parts[i])) {
  ------------------
  |  Branch (287:17): [True: 18, False: 18]
  ------------------
  288|     18|                first = i;
  289|     18|            }
  290|     36|        } else {
  291|      0|            PyErr_SetString(PyExc_TypeError, "all arguments to joinpath() must be str or None");
  292|      0|            cchFinal = -1;
  293|      0|            break;
  294|      0|        }
  295|     36|        cchFinal += cch + 1;
  296|     36|    }
  297|       |
  298|     18|    wchar_t *final = cchFinal > 0 ? (wchar_t *)PyMem_Malloc(cchFinal * sizeof(wchar_t)) : NULL;
  ------------------
  |  Branch (298:22): [True: 18, False: 0]
  ------------------
  299|     18|    if (!final) {
  ------------------
  |  Branch (299:9): [True: 0, False: 18]
  ------------------
  300|      0|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (300:32): [True: 0, False: 0]
  ------------------
  301|      0|            PyMem_Free(parts[i]);
  302|      0|        }
  303|      0|        PyMem_Free(parts);
  304|      0|        if (cchFinal) {
  ------------------
  |  Branch (304:13): [True: 0, False: 0]
  ------------------
  305|      0|            PyErr_NoMemory();
  306|      0|            return NULL;
  307|      0|        }
  308|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  309|      0|    }
  310|       |
  311|     18|    final[0] = '\0';
  312|       |    /* Now join all the paths. The final result should be shorter than the buffer */
  313|     54|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (313:28): [True: 36, False: 18]
  ------------------
  314|     36|        if (!parts[i]) {
  ------------------
  |  Branch (314:13): [True: 0, False: 36]
  ------------------
  315|      0|            continue;
  316|      0|        }
  317|     36|        if (i >= first && final) {
  ------------------
  |  Branch (317:13): [True: 36, False: 0]
  |  Branch (317:27): [True: 36, False: 0]
  ------------------
  318|     36|            if (!final[0]) {
  ------------------
  |  Branch (318:17): [True: 18, False: 18]
  ------------------
  319|       |                /* final is definitely long enough to fit any individual part */
  320|     18|                wcscpy(final, parts[i]);
  321|     18|            } else if (_Py_add_relfile(final, parts[i], cchFinal) < 0) {
  ------------------
  |  Branch (321:24): [True: 0, False: 18]
  ------------------
  322|       |                /* if we fail, keep iterating to free memory, but stop adding parts */
  323|      0|                PyMem_Free(final);
  324|      0|                final = NULL;
  325|      0|            }
  326|     36|        }
  327|     36|        PyMem_Free(parts[i]);
  328|     36|    }
  329|     18|    PyMem_Free(parts);
  330|     18|    if (!final) {
  ------------------
  |  Branch (330:9): [True: 0, False: 18]
  ------------------
  331|      0|        PyErr_SetString(PyExc_SystemError, "failed to join paths");
  332|      0|        return NULL;
  333|      0|    }
  334|     18|    PyObject *r = PyUnicode_FromWideChar(_Py_normpath(final, -1), -1);
  335|     18|    PyMem_Free(final);
  336|     18|    return r;
  337|     18|}
getpath.c:getpath_readlines:
  342|     10|{
  343|     10|    PyObject *r = NULL;
  344|     10|    PyObject *pathobj;
  345|     10|    const wchar_t *path;
  346|     10|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (346:9): [True: 0, False: 10]
  ------------------
  347|      0|        return NULL;
  348|      0|    }
  349|     10|    path = PyUnicode_AsWideCharString(pathobj, NULL);
  350|     10|    if (!path) {
  ------------------
  |  Branch (350:9): [True: 0, False: 10]
  ------------------
  351|      0|        return NULL;
  352|      0|    }
  353|     10|    FILE *fp = _Py_wfopen(path, L"rb");
  354|     10|    if (!fp) {
  ------------------
  |  Branch (354:9): [True: 10, False: 0]
  ------------------
  355|     10|        PyErr_SetFromErrno(PyExc_OSError);
  356|     10|        PyMem_Free((void *)path);
  357|     10|        return NULL;
  358|     10|    }
  359|      0|    PyMem_Free((void *)path);
  360|       |
  361|      0|    r = PyList_New(0);
  362|      0|    if (!r) {
  ------------------
  |  Branch (362:9): [True: 0, False: 0]
  ------------------
  363|      0|        fclose(fp);
  364|      0|        return NULL;
  365|      0|    }
  366|      0|    const size_t MAX_FILE = 32 * 1024;
  367|      0|    char *buffer = (char *)PyMem_Malloc(MAX_FILE);
  368|      0|    if (!buffer) {
  ------------------
  |  Branch (368:9): [True: 0, False: 0]
  ------------------
  369|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      0|        fclose(fp);
  371|      0|        return NULL;
  372|      0|    }
  373|       |
  374|      0|    size_t cb = fread(buffer, 1, MAX_FILE, fp);
  375|      0|    fclose(fp);
  376|      0|    if (!cb) {
  ------------------
  |  Branch (376:9): [True: 0, False: 0]
  ------------------
  377|      0|        return r;
  378|      0|    }
  379|      0|    if (cb >= MAX_FILE) {
  ------------------
  |  Branch (379:9): [True: 0, False: 0]
  ------------------
  380|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|      0|        PyErr_SetString(PyExc_MemoryError,
  382|      0|            "cannot read file larger than 32KB during initialization");
  383|      0|        return NULL;
  384|      0|    }
  385|      0|    buffer[cb] = '\0';
  386|       |
  387|      0|    size_t len;
  388|      0|    wchar_t *wbuffer = _Py_DecodeUTF8_surrogateescape(buffer, cb, &len);
  389|      0|    PyMem_Free((void *)buffer);
  390|      0|    if (!wbuffer) {
  ------------------
  |  Branch (390:9): [True: 0, False: 0]
  ------------------
  391|      0|        Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  392|      0|        PyErr_NoMemory();
  393|      0|        return NULL;
  394|      0|    }
  395|       |
  396|      0|    wchar_t *p1 = wbuffer;
  397|      0|    wchar_t *p2 = p1;
  398|      0|    while ((p2 = wcschr(p1, L'\n')) != NULL) {
  ------------------
  |  Branch (398:12): [True: 0, False: 0]
  ------------------
  399|      0|        Py_ssize_t cb = p2 - p1;
  400|      0|        while (cb >= 0 && (p1[cb] == L'\n' || p1[cb] == L'\r')) {
  ------------------
  |  Branch (400:16): [True: 0, False: 0]
  |  Branch (400:28): [True: 0, False: 0]
  |  Branch (400:47): [True: 0, False: 0]
  ------------------
  401|      0|            --cb;
  402|      0|        }
  403|      0|        PyObject *u = PyUnicode_FromWideChar(p1, cb >= 0 ? cb + 1 : 0);
  ------------------
  |  Branch (403:50): [True: 0, False: 0]
  ------------------
  404|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (404:13): [True: 0, False: 0]
  |  Branch (404:19): [True: 0, False: 0]
  ------------------
  405|      0|            Py_XDECREF(u);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|      0|            Py_CLEAR(r);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  407|      0|            break;
  408|      0|        }
  409|      0|        Py_DECREF(u);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      0|        p1 = p2 + 1;
  411|      0|    }
  412|      0|    if (r && p1 && *p1) {
  ------------------
  |  Branch (412:9): [True: 0, False: 0]
  |  Branch (412:14): [True: 0, False: 0]
  |  Branch (412:20): [True: 0, False: 0]
  ------------------
  413|      0|        PyObject *u = PyUnicode_FromWideChar(p1, -1);
  414|      0|        if (!u || PyList_Append(r, u) < 0) {
  ------------------
  |  Branch (414:13): [True: 0, False: 0]
  |  Branch (414:19): [True: 0, False: 0]
  ------------------
  415|      0|            Py_CLEAR(r);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  416|      0|        }
  417|      0|        Py_XDECREF(u);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|      0|    }
  419|      0|    PyMem_RawFree(wbuffer);
  420|      0|    return r;
  421|      0|}
getpath.c:getpath_realpath:
  426|      2|{
  427|      2|    PyObject *pathobj;
  428|      2|    if (!PyArg_ParseTuple(args, "U", &pathobj)) {
  ------------------
  |  Branch (428:9): [True: 0, False: 2]
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|      2|#if defined(HAVE_READLINK)
  432|       |    /* This readlink calculation only resolves a symlinked file, and
  433|       |       does not resolve any path segments. This is consistent with
  434|       |       prior releases, however, the realpath implementation below is
  435|       |       potentially correct in more cases. */
  436|      2|    PyObject *r = NULL;
  437|      2|    int nlink = 0;
  438|      2|    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  439|      2|    if (!path) {
  ------------------
  |  Branch (439:9): [True: 0, False: 2]
  ------------------
  440|      0|        goto done;
  441|      0|    }
  442|      2|    wchar_t *path2 = _PyMem_RawWcsdup(path);
  443|      2|    PyMem_Free((void *)path);
  444|      2|    path = path2;
  445|      4|    while (path) {
  ------------------
  |  Branch (445:12): [True: 4, False: 0]
  ------------------
  446|      4|        wchar_t resolved[MAXPATHLEN + 1];
  447|      4|        int linklen = _Py_wreadlink(path, resolved, Py_ARRAY_LENGTH(resolved));
  ------------------
  |  |  196|      4|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  448|      4|        if (linklen == -1) {
  ------------------
  |  Branch (448:13): [True: 2, False: 2]
  ------------------
  449|      2|            r = PyUnicode_FromWideChar(path, -1);
  450|      2|            break;
  451|      2|        }
  452|      2|        if (_Py_isabs(resolved)) {
  ------------------
  |  Branch (452:13): [True: 2, False: 0]
  ------------------
  453|      2|            PyMem_RawFree((void *)path);
  454|      2|            path = _PyMem_RawWcsdup(resolved);
  455|      2|        } else {
  456|      0|            wchar_t *s = wcsrchr(path, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  457|      0|            if (s) {
  ------------------
  |  Branch (457:17): [True: 0, False: 0]
  ------------------
  458|      0|                *s = L'\0';
  459|      0|            }
  460|      0|            path2 = _Py_join_relfile(path, resolved);
  461|      0|            if (path2) {
  ------------------
  |  Branch (461:17): [True: 0, False: 0]
  ------------------
  462|      0|                path2 = _Py_normpath(path2, -1);
  463|      0|            }
  464|      0|            PyMem_RawFree((void *)path);
  465|      0|            path = path2;
  466|      0|        }
  467|      2|        nlink++;
  468|       |        /* 40 is the Linux kernel 4.2 limit */
  469|      2|        if (nlink >= 40) {
  ------------------
  |  Branch (469:13): [True: 0, False: 2]
  ------------------
  470|      0|            PyErr_SetString(PyExc_OSError, "maximum number of symbolic links reached");
  471|      0|            break;
  472|      0|        }
  473|      2|    }
  474|      2|    if (!path) {
  ------------------
  |  Branch (474:9): [True: 0, False: 2]
  ------------------
  475|      0|        PyErr_NoMemory();
  476|      0|    }
  477|      2|done:
  478|      2|    PyMem_RawFree((void *)path);
  479|      2|    return r;
  480|       |
  481|       |#elif defined(HAVE_REALPATH)
  482|       |    PyObject *r = NULL;
  483|       |    struct stat st;
  484|       |    const char *narrow = NULL;
  485|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL);
  486|       |    if (!path) {
  487|       |        goto done;
  488|       |    }
  489|       |    narrow = Py_EncodeLocale(path, NULL);
  490|       |    if (!narrow) {
  491|       |        PyErr_NoMemory();
  492|       |        goto done;
  493|       |    }
  494|       |    if (lstat(narrow, &st)) {
  495|       |        PyErr_SetFromErrno(PyExc_OSError);
  496|       |        goto done;
  497|       |    }
  498|       |    if (!S_ISLNK(st.st_mode)) {
  499|       |        r = Py_NewRef(pathobj);
  500|       |        goto done;
  501|       |    }
  502|       |    wchar_t resolved[MAXPATHLEN+1];
  503|       |    if (_Py_wrealpath(path, resolved, MAXPATHLEN) == NULL) {
  504|       |        PyErr_SetFromErrno(PyExc_OSError);
  505|       |    } else {
  506|       |        r = PyUnicode_FromWideChar(resolved, -1);
  507|       |    }
  508|       |done:
  509|       |    PyMem_Free((void *)path);
  510|       |    PyMem_Free((void *)narrow);
  511|       |    return r;
  512|       |#elif defined(MS_WINDOWS)
  513|       |    HANDLE hFile;
  514|       |    wchar_t resolved[MAXPATHLEN+1];
  515|       |    int len = 0, err;
  516|       |    Py_ssize_t pathlen;
  517|       |    PyObject *result;
  518|       |
  519|       |    wchar_t *path = PyUnicode_AsWideCharString(pathobj, &pathlen);
  520|       |    if (!path) {
  521|       |        return NULL;
  522|       |    }
  523|       |    if (wcslen(path) != pathlen) {
  524|       |        PyErr_SetString(PyExc_ValueError, "path contains embedded nulls");
  525|       |        return NULL;
  526|       |    }
  527|       |
  528|       |    Py_BEGIN_ALLOW_THREADS
  529|       |    hFile = CreateFileW(path, 0, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
  530|       |    if (hFile != INVALID_HANDLE_VALUE) {
  531|       |        len = GetFinalPathNameByHandleW(hFile, resolved, MAXPATHLEN, VOLUME_NAME_DOS);
  532|       |        err = len ? 0 : GetLastError();
  533|       |        CloseHandle(hFile);
  534|       |    } else {
  535|       |        err = GetLastError();
  536|       |    }
  537|       |    Py_END_ALLOW_THREADS
  538|       |
  539|       |    if (err) {
  540|       |        PyErr_SetFromWindowsErr(err);
  541|       |        result = NULL;
  542|       |    } else if (len <= MAXPATHLEN) {
  543|       |        const wchar_t *p = resolved;
  544|       |        if (0 == wcsncmp(p, L"\\\\?\\", 4)) {
  545|       |            if (GetFileAttributesW(&p[4]) != INVALID_FILE_ATTRIBUTES) {
  546|       |                p += 4;
  547|       |                len -= 4;
  548|       |            }
  549|       |        }
  550|       |        if (CompareStringOrdinal(path, (int)pathlen, p, len, TRUE) == CSTR_EQUAL) {
  551|       |            result = Py_NewRef(pathobj);
  552|       |        } else {
  553|       |            result = PyUnicode_FromWideChar(p, len);
  554|       |        }
  555|       |    } else {
  556|       |        result = Py_NewRef(pathobj);
  557|       |    }
  558|       |    PyMem_Free(path);
  559|       |    return result;
  560|       |#endif
  561|       |
  562|      0|    return Py_NewRef(pathobj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|      2|}

PyInit_itertools:
 4171|      2|{
 4172|      2|    return PyModuleDef_Init(&itertoolsmodule);
 4173|      2|}
itertoolsmodule.c:get_module_state:
   44|    142|{
   45|    142|    void *state = _PyModule_GetState(mod);
   46|       |    assert(state != NULL);
   47|    142|    return (itertools_state *)state;
   48|    142|}
itertoolsmodule.c:itertoolsmodule_exec:
 4114|      2|{
 4115|      2|    itertools_state *state = get_module_state(mod);
 4116|      2|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4117|      2|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4118|      2|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4119|      2|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4120|      2|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4121|      2|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4122|      2|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4123|      2|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4124|      2|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4125|      2|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4126|      2|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4127|      2|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4128|      2|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4129|      2|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4130|      2|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4131|      2|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4132|      2|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4133|      2|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4134|      2|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4135|      2|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4136|      2|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4137|      2|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4101|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4102|      2|do {                                                                     \
  |  | 4103|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4104|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4104:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4105|      0|        return -1;                                                       \
  |  | 4106|      0|    }                                                                    \
  |  | 4107|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4107:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4108|      0|        return -1;                                                       \
  |  | 4109|      0|    }                                                                    \
  |  | 4110|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4110:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4138|       |
 4139|      2|    Py_SET_TYPE(state->teedataobject_type, &PyType_Type);
  ------------------
  |  |  217|      2|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|      2|    return 0;
 4141|      2|}
itertoolsmodule.c:find_state_by_type:
   62|    124|{
   63|    124|    PyObject *mod = PyType_GetModuleByDef(tp, &itertoolsmodule);
   64|       |    assert(mod != NULL);
   65|    124|    return get_module_state(mod);
   66|    124|}
itertoolsmodule.c:chain_dealloc:
 1878|    154|{
 1879|    154|    chainobject *lz = chainobject_CAST(op);
  ------------------
  |  | 1818|    154|#define chainobject_CAST(op)    ((chainobject *)(op))
  ------------------
 1880|    154|    PyTypeObject *tp = Py_TYPE(lz);
  ------------------
  |  |  213|    154|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|    154|    PyObject_GC_UnTrack(lz);
 1882|    154|    Py_XDECREF(lz->active);
  ------------------
  |  |  524|    154|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|    154|    Py_XDECREF(lz->source);
  ------------------
  |  |  524|    154|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|    154|    tp->tp_free(lz);
 1885|    154|    Py_DECREF(tp);
  ------------------
  |  |  430|    154|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|    154|}
itertoolsmodule.c:chain_next:
 1939|  1.65k|{
 1940|  1.65k|    PyObject *result;
 1941|  1.65k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.65k|    {
  ------------------
 1942|  1.65k|    result = chain_next_lock_held(op);
 1943|  1.65k|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|  1.65k|    }
  ------------------
 1944|  1.65k|    return result;
 1945|  1.65k|}
itertoolsmodule.c:chain_next_lock_held:
 1900|  1.65k|{
 1901|  1.65k|    chainobject *lz = chainobject_CAST(op);
  ------------------
  |  | 1818|  1.65k|#define chainobject_CAST(op)    ((chainobject *)(op))
  ------------------
 1902|  1.65k|    PyObject *item;
 1903|       |
 1904|       |    /* lz->source is the iterator of iterables. If it's NULL, we've already
 1905|       |     * consumed them all. lz->active is the current iterator. If it's NULL,
 1906|       |     * we should grab a new one from lz->source. */
 1907|  1.83k|    while (lz->source != NULL) {
  ------------------
  |  Branch (1907:12): [True: 1.83k, False: 0]
  ------------------
 1908|  1.83k|        if (lz->active == NULL) {
  ------------------
  |  Branch (1908:13): [True: 327, False: 1.50k]
  ------------------
 1909|    327|            PyObject *iterable = PyIter_Next(lz->source);
 1910|    327|            if (iterable == NULL) {
  ------------------
  |  Branch (1910:17): [True: 152, False: 175]
  ------------------
 1911|    152|                Py_CLEAR(lz->source);
  ------------------
  |  |  484|    152|    do { \
  |  |  485|    152|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    152|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    152|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    152|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    152|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 152, False: 0]
  |  |  ------------------
  |  |  488|    152|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    152|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    152|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    152|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    152|        } \
  |  |  491|    152|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 152]
  |  |  ------------------
  ------------------
 1912|    152|                return NULL;            /* no more input sources */
 1913|    152|            }
 1914|    175|            lz->active = PyObject_GetIter(iterable);
 1915|    175|            Py_DECREF(iterable);
  ------------------
  |  |  430|    175|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|    175|            if (lz->active == NULL) {
  ------------------
  |  Branch (1916:17): [True: 0, False: 175]
  ------------------
 1917|      0|                Py_CLEAR(lz->source);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1918|      0|                return NULL;            /* input not iterable */
 1919|      0|            }
 1920|    175|        }
 1921|  1.67k|        item = (*Py_TYPE(lz->active)->tp_iternext)(lz->active);
  ------------------
  |  |  213|  1.67k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|  1.67k|        if (item != NULL)
  ------------------
  |  Branch (1922:13): [True: 1.50k, False: 173]
  ------------------
 1923|  1.50k|            return item;
 1924|    173|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1924:13): [True: 0, False: 173]
  ------------------
 1925|      0|            if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1925:17): [True: 0, False: 0]
  ------------------
 1926|      0|                PyErr_Clear();
 1927|      0|            else
 1928|      0|                return NULL;            /* input raised an exception */
 1929|      0|        }
 1930|       |        /* lz->active is consumed, try with the next iterable. */
 1931|    173|        Py_CLEAR(lz->active);
  ------------------
  |  |  484|    173|    do { \
  |  |  485|    173|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    173|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    173|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    173|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 173, False: 0]
  |  |  ------------------
  |  |  488|    173|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    173|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    173|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    173|        } \
  |  |  491|    173|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 173]
  |  |  ------------------
  ------------------
 1932|    173|    }
 1933|       |    /* Everything had been consumed already. */
 1934|      0|    return NULL;
 1935|  1.65k|}
itertoolsmodule.c:itertools_chain_from_iterable_impl:
 1866|     76|{
 1867|     76|    PyObject *source;
 1868|       |
 1869|     76|    source = PyObject_GetIter(arg);
 1870|     76|    if (source == NULL)
  ------------------
  |  Branch (1870:9): [True: 0, False: 76]
  ------------------
 1871|      0|        return NULL;
 1872|       |
 1873|     76|    return chain_new_internal(type, source);
 1874|     76|}
itertoolsmodule.c:chain_new_internal:
 1822|    154|{
 1823|    154|    chainobject *lz;
 1824|       |
 1825|    154|    lz = (chainobject *)type->tp_alloc(type, 0);
 1826|    154|    if (lz == NULL) {
  ------------------
  |  Branch (1826:9): [True: 0, False: 154]
  ------------------
 1827|      0|        Py_DECREF(source);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|      0|        return NULL;
 1829|      0|    }
 1830|       |
 1831|    154|    lz->source = source;
 1832|       |    lz->active = NULL;
 1833|    154|    return (PyObject *)lz;
 1834|    154|}
itertoolsmodule.c:chain_new:
 1838|     78|{
 1839|     78|    PyObject *source;
 1840|       |
 1841|     78|    itertools_state *state = find_state_by_type(type);
 1842|     78|    PyTypeObject *chain_type = state->chain_type;
 1843|     78|    if ((type == chain_type || type->tp_init == chain_type->tp_init) &&
  ------------------
  |  Branch (1843:10): [True: 78, False: 0]
  |  Branch (1843:32): [True: 0, False: 0]
  ------------------
 1844|     78|        !_PyArg_NoKeywords("chain", kwds))
  ------------------
  |  |   25|     78|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 78, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1845|      0|        return NULL;
 1846|       |
 1847|     78|    source = PyObject_GetIter(args);
 1848|     78|    if (source == NULL)
  ------------------
  |  Branch (1848:9): [True: 0, False: 78]
  ------------------
 1849|      0|        return NULL;
 1850|       |
 1851|     78|    return chain_new_internal(type, source);
 1852|     78|}
itertoolsmodule.c:count_traverse:
 3543|     64|{
 3544|     64|    countobject *lz = countobject_CAST(op);
  ------------------
  |  | 3416|     64|#define countobject_CAST(op)    ((countobject *)(op))
  ------------------
 3545|     64|    Py_VISIT(Py_TYPE(lz));
  ------------------
  |  |  194|     64|    do {                                                                \
  |  |  195|     64|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 64, False: 0]
  |  |  ------------------
  |  |  196|     64|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     64|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 64]
  |  |  ------------------
  |  |  198|     64|                return vret;                                            \
  |  |  199|     64|        }                                                               \
  |  |  200|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 3546|     64|    Py_VISIT(lz->long_cnt);
  ------------------
  |  |  194|     64|    do {                                                                \
  |  |  195|     64|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 64]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 3547|     64|    Py_VISIT(lz->long_step);
  ------------------
  |  |  194|     64|    do {                                                                \
  |  |  195|     64|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 64, False: 0]
  |  |  ------------------
  |  |  196|     64|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     64|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 64]
  |  |  ------------------
  |  |  198|     64|                return vret;                                            \
  |  |  199|     64|        }                                                               \
  |  |  200|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 3548|     64|    return 0;
 3549|     64|}
itertoolsmodule.c:count_next:
 3578|      2|{
 3579|      2|    countobject *lz = countobject_CAST(op);
  ------------------
  |  | 3416|      2|#define countobject_CAST(op)    ((countobject *)(op))
  ------------------
 3580|      2|#ifndef Py_GIL_DISABLED
 3581|      2|    if (lz->cnt == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3581:9): [True: 0, False: 2]
  ------------------
 3582|      0|        return count_nextlong(lz);
 3583|      2|    return PyLong_FromSsize_t(lz->cnt++);
 3584|       |#else
 3585|       |    // free-threading version
 3586|       |    // fast mode uses compare-exchange loop
 3587|       |    // slow mode uses a critical section
 3588|       |    PyObject *returned;
 3589|       |    Py_ssize_t cnt;
 3590|       |
 3591|       |    cnt = _Py_atomic_load_ssize_relaxed(&lz->cnt);
 3592|       |    for (;;) {
 3593|       |        if (cnt == PY_SSIZE_T_MAX) {
 3594|       |            Py_BEGIN_CRITICAL_SECTION(lz);
 3595|       |            returned = count_nextlong(lz);
 3596|       |            Py_END_CRITICAL_SECTION();
 3597|       |            return returned;
 3598|       |        }
 3599|       |        if (_Py_atomic_compare_exchange_ssize(&lz->cnt, &cnt, cnt + 1)) {
 3600|       |            return PyLong_FromSsize_t(cnt);
 3601|       |        }
 3602|       |    }
 3603|       |#endif
 3604|      2|}
itertoolsmodule.c:itertools_count_impl:
 3455|      8|{
 3456|      8|    countobject *lz;
 3457|      8|    int fast_mode;
 3458|      8|    Py_ssize_t cnt = 0;
 3459|      8|    long step;
 3460|       |
 3461|      8|    if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) ||
  ------------------
  |  Branch (3461:10): [True: 4, False: 4]
  |  Branch (3461:30): [True: 0, False: 4]
  ------------------
 3462|      8|        (long_step != NULL && !PyNumber_Check(long_step))) {
  ------------------
  |  Branch (3462:10): [True: 0, False: 8]
  |  Branch (3462:31): [True: 0, False: 0]
  ------------------
 3463|      0|                    PyErr_SetString(PyExc_TypeError, "a number is required");
 3464|      0|                    return NULL;
 3465|      0|    }
 3466|       |
 3467|      8|    fast_mode = (long_cnt == NULL || PyLong_Check(long_cnt)) &&
  ------------------
  |  |   13|      4|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3467:18): [True: 4, False: 4]
  ------------------
 3468|      8|                (long_step == NULL || PyLong_Check(long_step));
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3468:18): [True: 8, False: 0]
  ------------------
 3469|       |
 3470|       |    /* If not specified, start defaults to 0 */
 3471|      8|    if (long_cnt != NULL) {
  ------------------
  |  Branch (3471:9): [True: 4, False: 4]
  ------------------
 3472|      4|        if (fast_mode) {
  ------------------
  |  Branch (3472:13): [True: 4, False: 0]
  ------------------
 3473|      4|            assert(PyLong_Check(long_cnt));
 3474|      4|            cnt = PyLong_AsSsize_t(long_cnt);
 3475|      4|            if (cnt == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3475:17): [True: 0, False: 4]
  |  Branch (3475:30): [True: 0, False: 0]
  ------------------
 3476|      0|                PyErr_Clear();
 3477|      0|                fast_mode = 0;
 3478|      0|            }
 3479|      4|        }
 3480|      4|    } else {
 3481|      4|        cnt = 0;
 3482|      4|        long_cnt = _PyLong_GetZero();
 3483|      4|    }
 3484|      8|    Py_INCREF(long_cnt);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|       |
 3486|       |    /* If not specified, step defaults to 1 */
 3487|      8|    if (long_step == NULL) {
  ------------------
  |  Branch (3487:9): [True: 8, False: 0]
  ------------------
 3488|      8|        long_step = _PyLong_GetOne();
 3489|      8|    }
 3490|      8|    Py_INCREF(long_step);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3491|       |
 3492|      8|    assert(long_cnt != NULL && long_step != NULL);
 3493|       |
 3494|       |    /* Fast mode only works when the step is 1 */
 3495|      8|    if (fast_mode) {
  ------------------
  |  Branch (3495:9): [True: 8, False: 0]
  ------------------
 3496|      8|        assert(PyLong_Check(long_step));
 3497|      8|        step = PyLong_AsLong(long_step);
 3498|      8|        if (step != 1) {
  ------------------
  |  Branch (3498:13): [True: 0, False: 8]
  ------------------
 3499|      0|            fast_mode = 0;
 3500|      0|            if (step == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3500:17): [True: 0, False: 0]
  |  Branch (3500:31): [True: 0, False: 0]
  ------------------
 3501|      0|                PyErr_Clear();
 3502|      0|        }
 3503|      8|    }
 3504|       |
 3505|      8|    if (fast_mode)
  ------------------
  |  Branch (3505:9): [True: 8, False: 0]
  ------------------
 3506|      8|        Py_CLEAR(long_cnt);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  488|      8|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      8|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      8|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      8|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3507|      0|    else
 3508|      0|        cnt = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3509|       |
 3510|      8|    assert((long_cnt == NULL && fast_mode) ||
 3511|      8|           (cnt == PY_SSIZE_T_MAX && long_cnt != NULL && !fast_mode));
 3512|      8|    assert(!fast_mode ||
 3513|      8|           (PyLong_Check(long_step) && PyLong_AS_LONG(long_step) == 1));
 3514|       |
 3515|       |    /* create countobject structure */
 3516|      8|    lz = (countobject *)type->tp_alloc(type, 0);
 3517|      8|    if (lz == NULL) {
  ------------------
  |  Branch (3517:9): [True: 0, False: 8]
  ------------------
 3518|      0|        Py_XDECREF(long_cnt);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|      0|        Py_DECREF(long_step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|      0|        return NULL;
 3521|      0|    }
 3522|      8|    lz->cnt = cnt;
 3523|      8|    lz->long_cnt = long_cnt;
 3524|      8|    lz->long_step = long_step;
 3525|       |
 3526|      8|    return (PyObject *)lz;
 3527|      8|}
itertoolsmodule.c:filterfalse_dealloc:
 3331|     44|{
 3332|     44|    filterfalseobject *lz = filterfalseobject_CAST(op);
  ------------------
  |  | 3292|     44|#define filterfalseobject_CAST(op)  ((filterfalseobject *)(op))
  ------------------
 3333|     44|    PyTypeObject *tp = Py_TYPE(lz);
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3334|     44|    PyObject_GC_UnTrack(lz);
 3335|     44|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3336|     44|    Py_XDECREF(lz->it);
  ------------------
  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3337|     44|    tp->tp_free(lz);
 3338|     44|    Py_DECREF(tp);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3339|     44|}
itertoolsmodule.c:filterfalse_next:
 3353|    238|{
 3354|    238|    filterfalseobject *lz = filterfalseobject_CAST(op);
  ------------------
  |  | 3292|    238|#define filterfalseobject_CAST(op)  ((filterfalseobject *)(op))
  ------------------
 3355|    238|    PyObject *item;
 3356|    238|    PyObject *it = lz->it;
 3357|    238|    long ok;
 3358|    238|    PyObject *(*iternext)(PyObject *);
 3359|       |
 3360|    238|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|    238|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    238|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    238|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|    250|    for (;;) {
 3362|    250|        item = iternext(it);
 3363|    250|        if (item == NULL)
  ------------------
  |  Branch (3363:13): [True: 44, False: 206]
  ------------------
 3364|     44|            return NULL;
 3365|       |
 3366|    206|        if (lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type) {
  ------------------
  |  |  616|    412|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3366:13): [True: 0, False: 206]
  |  Branch (3366:36): [True: 0, False: 206]
  ------------------
 3367|      0|            ok = PyObject_IsTrue(item);
 3368|    206|        } else {
 3369|    206|            PyObject *good;
 3370|    206|            good = PyObject_CallOneArg(lz->func, item);
 3371|    206|            if (good == NULL) {
  ------------------
  |  Branch (3371:17): [True: 0, False: 206]
  ------------------
 3372|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3373|      0|                return NULL;
 3374|      0|            }
 3375|    206|            ok = PyObject_IsTrue(good);
 3376|    206|            Py_DECREF(good);
  ------------------
  |  |  430|    206|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3377|    206|        }
 3378|    206|        if (ok == 0)
  ------------------
  |  Branch (3378:13): [True: 194, False: 12]
  ------------------
 3379|    194|            return item;
 3380|     12|        Py_DECREF(item);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3381|     12|        if (ok < 0)
  ------------------
  |  Branch (3381:13): [True: 0, False: 12]
  ------------------
 3382|      0|            return NULL;
 3383|     12|    }
 3384|    238|}
itertoolsmodule.c:itertools_filterfalse_impl:
 3308|     44|{
 3309|     44|    PyObject *it;
 3310|     44|    filterfalseobject *lz;
 3311|       |
 3312|       |    /* Get iterator. */
 3313|     44|    it = PyObject_GetIter(seq);
 3314|     44|    if (it == NULL)
  ------------------
  |  Branch (3314:9): [True: 0, False: 44]
  ------------------
 3315|      0|        return NULL;
 3316|       |
 3317|       |    /* create filterfalseobject structure */
 3318|     44|    lz = (filterfalseobject *)type->tp_alloc(type, 0);
 3319|     44|    if (lz == NULL) {
  ------------------
  |  Branch (3319:9): [True: 0, False: 44]
  ------------------
 3320|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3321|      0|        return NULL;
 3322|      0|    }
 3323|     44|    lz->func = Py_NewRef(func);
  ------------------
  |  |  550|     44|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|     44|    lz->it = it;
 3325|       |
 3326|     44|    return (PyObject *)lz;
 3327|     44|}
itertoolsmodule.c:pairwise_dealloc:
  324|      2|{
  325|      2|    pairwiseobject *po = pairwiseobject_CAST(op);
  ------------------
  |  |  283|      2|#define pairwiseobject_CAST(op) ((pairwiseobject *)(op))
  ------------------
  326|      2|    PyTypeObject *tp = Py_TYPE(po);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|      2|    PyObject_GC_UnTrack(po);
  328|      2|    Py_XDECREF(po->it);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      2|    Py_XDECREF(po->old);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|      2|    Py_XDECREF(po->result);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      2|    tp->tp_free(po);
  332|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|      2|}
itertoolsmodule.c:pairwise_next:
  348|     12|{
  349|     12|    pairwiseobject *po = pairwiseobject_CAST(op);
  ------------------
  |  |  283|     12|#define pairwiseobject_CAST(op) ((pairwiseobject *)(op))
  ------------------
  350|     12|    PyObject *it = po->it;
  351|     12|    PyObject *old = po->old;
  352|     12|    PyObject *new, *result;
  353|       |
  354|     12|    if (it == NULL) {
  ------------------
  |  Branch (354:9): [True: 0, False: 12]
  ------------------
  355|      0|        return NULL;
  356|      0|    }
  357|     12|    if (old == NULL) {
  ------------------
  |  Branch (357:9): [True: 2, False: 10]
  ------------------
  358|      2|        old = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      2|        Py_XSETREF(po->old, old);
  ------------------
  |  |  374|      2|    do { \
  |  |  375|      2|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      2|        *_tmp_dst_ptr = (src); \
  |  |  378|      2|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  360|      2|        if (old == NULL) {
  ------------------
  |  Branch (360:13): [True: 0, False: 2]
  ------------------
  361|      0|            Py_CLEAR(po->it);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  362|      0|            return NULL;
  363|      0|        }
  364|      2|        it = po->it;
  365|      2|        if (it == NULL) {
  ------------------
  |  Branch (365:13): [True: 0, False: 2]
  ------------------
  366|      0|            Py_CLEAR(po->old);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  367|      0|            return NULL;
  368|      0|        }
  369|      2|    }
  370|     12|    Py_INCREF(old);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     12|    new = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     12|    if (new == NULL) {
  ------------------
  |  Branch (372:9): [True: 2, False: 10]
  ------------------
  373|      2|        Py_CLEAR(po->it);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  374|      2|        Py_CLEAR(po->old);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  375|      2|        Py_DECREF(old);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|      2|        return NULL;
  377|      2|    }
  378|       |
  379|     10|    result = po->result;
  380|     10|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (380:9): [True: 10, False: 0]
  ------------------
  381|     10|        Py_INCREF(result);
  ------------------
  |  |  310|     10|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|     10|        PyObject *last_old = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|     10|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|     10|        PyObject *last_new = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|     10|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|     10|        PyTuple_SET_ITEM(result, 0, Py_NewRef(old));
  ------------------
  |  |   40|     10|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|     10|        PyTuple_SET_ITEM(result, 1, Py_NewRef(new));
  ------------------
  |  |   40|     10|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|     10|        Py_DECREF(last_old);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|     10|        Py_DECREF(last_new);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
  389|       |        // recycling it, make sure it's tracked again:
  390|     10|        _PyTuple_Recycle(result);
  391|     10|    }
  392|      0|    else {
  393|      0|        result = _PyTuple_FromPair(old, new);
  394|      0|    }
  395|       |
  396|     10|    Py_XSETREF(po->old, new);
  ------------------
  |  |  374|     10|    do { \
  |  |  375|     10|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     10|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     10|        *_tmp_dst_ptr = (src); \
  |  |  378|     10|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     10|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  397|     10|    Py_DECREF(old);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|     10|    return result;
  399|     12|}
itertoolsmodule.c:pairwise_new_impl:
  299|      2|{
  300|      2|    PyObject *it;
  301|      2|    pairwiseobject *po;
  302|       |
  303|      2|    it = PyObject_GetIter(iterable);
  304|      2|    if (it == NULL) {
  ------------------
  |  Branch (304:9): [True: 0, False: 2]
  ------------------
  305|      0|        return NULL;
  306|      0|    }
  307|      2|    po = (pairwiseobject *)type->tp_alloc(type, 0);
  308|      2|    if (po == NULL) {
  ------------------
  |  Branch (308:9): [True: 0, False: 2]
  ------------------
  309|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      0|        return NULL;
  311|      0|    }
  312|      2|    po->it = it;
  313|      2|    po->old = NULL;
  314|      2|    po->result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  po->result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  315|      2|    if (po->result == NULL) {
  ------------------
  |  Branch (315:9): [True: 0, False: 2]
  ------------------
  316|      0|        Py_DECREF(po);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      0|        return NULL;
  318|      0|    }
  319|      2|    return (PyObject *)po;
  320|      2|}
itertoolsmodule.c:permutations_dealloc:
 2845|     48|{
 2846|     48|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2763|     48|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2847|     48|    PyTypeObject *tp = Py_TYPE(po);
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|     48|    PyObject_GC_UnTrack(po);
 2849|     48|    Py_XDECREF(po->pool);
  ------------------
  |  |  524|     48|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|     48|    Py_XDECREF(po->result);
  ------------------
  |  |  524|     48|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|     48|    PyMem_Free(po->indices);
 2852|     48|    PyMem_Free(po->cycles);
 2853|     48|    tp->tp_free(po);
 2854|     48|    Py_DECREF(tp);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|     48|}
itertoolsmodule.c:permutations_next:
 2970|    114|{
 2971|    114|    PyObject *result;
 2972|    114|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    114|    {
  ------------------
 2973|    114|    result = permutations_next_lock_held(op);
 2974|    114|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|    114|    }
  ------------------
 2975|    114|    return result;
 2976|    114|}
itertoolsmodule.c:permutations_next_lock_held:
 2879|    114|{
 2880|    114|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2763|    114|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2881|    114|    PyObject *elem;
 2882|    114|    PyObject *oldelem;
 2883|    114|    PyObject *pool = po->pool;
 2884|    114|    Py_ssize_t *indices = po->indices;
 2885|    114|    Py_ssize_t *cycles = po->cycles;
 2886|    114|    PyObject *result = po->result;
 2887|    114|    Py_ssize_t n = PyTuple_GET_SIZE(pool);
  ------------------
  |  |   27|    114|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|    114|    Py_ssize_t r = po->r;
 2889|    114|    Py_ssize_t i, j, k, index;
 2890|       |
 2891|    114|    if (po->stopped)
  ------------------
  |  Branch (2891:9): [True: 0, False: 114]
  ------------------
 2892|      0|        return NULL;
 2893|       |
 2894|    114|    if (result == NULL) {
  ------------------
  |  Branch (2894:9): [True: 48, False: 66]
  ------------------
 2895|       |        /* On the first pass, initialize result tuple using the indices */
 2896|     48|        result = PyTuple_New(r);
 2897|     48|        if (result == NULL)
  ------------------
  |  Branch (2897:13): [True: 0, False: 48]
  ------------------
 2898|      0|            goto empty;
 2899|     48|        po->result = result;
 2900|    114|        for (i=0; i<r ; i++) {
  ------------------
  |  Branch (2900:19): [True: 66, False: 48]
  ------------------
 2901|     66|            index = indices[i];
 2902|     66|            elem = PyTuple_GET_ITEM(pool, index);
  ------------------
  |  |   29|     66|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     66|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|     66|            Py_INCREF(elem);
  ------------------
  |  |  310|     66|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2904|     66|            PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|     66|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|     66|        }
 2906|     66|    } else {
 2907|     66|        if (n == 0)
  ------------------
  |  Branch (2907:13): [True: 0, False: 66]
  ------------------
 2908|      0|            goto empty;
 2909|       |
 2910|       |        /* Copy the previous result tuple or re-use it if available */
 2911|     66|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2911:13): [True: 66, False: 0]
  ------------------
 2912|     66|            PyObject *old_result = result;
 2913|     66|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), r);
  ------------------
  |  |   26|     66|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|     66|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2914|     66|            if (result == NULL)
  ------------------
  |  Branch (2914:17): [True: 0, False: 66]
  ------------------
 2915|      0|                goto empty;
 2916|     66|            po->result = result;
 2917|     66|            Py_DECREF(old_result);
  ------------------
  |  |  430|     66|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2918|     66|        }
 2919|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2920|       |        // recycling it, make sure it's tracked again:
 2921|      0|        else {
 2922|      0|            _PyTuple_Recycle(result);
 2923|      0|        }
 2924|       |        /* Now, we've got the only copy so we can update it in-place */
 2925|     66|        assert(r == 0 || Py_REFCNT(result) == 1);
 2926|       |
 2927|       |        /* Decrement rightmost cycle, moving leftward upon zero rollover */
 2928|    150|        for (i=r-1 ; i>=0 ; i--) {
  ------------------
  |  Branch (2928:22): [True: 102, False: 48]
  ------------------
 2929|    102|            cycles[i] -= 1;
 2930|    102|            if (cycles[i] == 0) {
  ------------------
  |  Branch (2930:17): [True: 84, False: 18]
  ------------------
 2931|       |                /* rotatation: indices[i:] = indices[i+1:] + indices[i:i+1] */
 2932|     84|                index = indices[i];
 2933|    102|                for (j=i ; j<n-1 ; j++)
  ------------------
  |  Branch (2933:28): [True: 18, False: 84]
  ------------------
 2934|     18|                    indices[j] = indices[j+1];
 2935|     84|                indices[n-1] = index;
 2936|     84|                cycles[i] = n - i;
 2937|     84|            } else {
 2938|     18|                j = cycles[i];
 2939|     18|                index = indices[i];
 2940|     18|                indices[i] = indices[n-j];
 2941|     18|                indices[n-j] = index;
 2942|       |
 2943|     54|                for (k=i; k<r ; k++) {
  ------------------
  |  Branch (2943:27): [True: 36, False: 18]
  ------------------
 2944|       |                    /* start with i, the leftmost element that changed */
 2945|       |                    /* yield tuple(pool[k] for k in indices[:r]) */
 2946|     36|                    index = indices[k];
 2947|     36|                    elem = PyTuple_GET_ITEM(pool, index);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|     36|                    Py_INCREF(elem);
  ------------------
  |  |  310|     36|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|     36|                    oldelem = PyTuple_GET_ITEM(result, k);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|     36|                    PyTuple_SET_ITEM(result, k, elem);
  ------------------
  |  |   40|     36|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|     36|                    Py_DECREF(oldelem);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|     36|                }
 2953|     18|                break;
 2954|     18|            }
 2955|    102|        }
 2956|       |        /* If i is negative, then the cycles have all
 2957|       |           rolled-over and we're done. */
 2958|     66|        if (i < 0)
  ------------------
  |  Branch (2958:13): [True: 48, False: 18]
  ------------------
 2959|     48|            goto empty;
 2960|     66|    }
 2961|     66|    return Py_NewRef(result);
  ------------------
  |  |  550|     66|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|       |
 2963|     48|empty:
 2964|     48|    po->stopped = 1;
 2965|       |    return NULL;
 2966|    114|}
itertoolsmodule.c:itertools_permutations_impl:
 2779|     48|{
 2780|     48|    permutationsobject *po;
 2781|     48|    Py_ssize_t n;
 2782|     48|    Py_ssize_t r;
 2783|     48|    PyObject *pool = NULL;
 2784|     48|    Py_ssize_t *indices = NULL;
 2785|     48|    Py_ssize_t *cycles = NULL;
 2786|     48|    Py_ssize_t i;
 2787|       |
 2788|     48|    pool = PySequence_Tuple(iterable);
 2789|     48|    if (pool == NULL)
  ------------------
  |  Branch (2789:9): [True: 0, False: 48]
  ------------------
 2790|      0|        goto error;
 2791|     48|    n = PyTuple_GET_SIZE(pool);
  ------------------
  |  |   27|     48|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|       |
 2793|     48|    r = n;
 2794|     48|    if (robj != Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2794:9): [True: 0, False: 48]
  ------------------
 2795|      0|        if (!PyLong_Check(robj)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2795:13): [True: 0, False: 0]
  ------------------
 2796|      0|            PyErr_SetString(PyExc_TypeError, "Expected int as r");
 2797|      0|            goto error;
 2798|      0|        }
 2799|      0|        r = PyLong_AsSsize_t(robj);
 2800|      0|        if (r == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2800:13): [True: 0, False: 0]
  |  Branch (2800:24): [True: 0, False: 0]
  ------------------
 2801|      0|            goto error;
 2802|      0|    }
 2803|     48|    if (r < 0) {
  ------------------
  |  Branch (2803:9): [True: 0, False: 48]
  ------------------
 2804|      0|        PyErr_SetString(PyExc_ValueError, "r must be non-negative");
 2805|      0|        goto error;
 2806|      0|    }
 2807|       |
 2808|     48|    indices = PyMem_New(Py_ssize_t, n);
  ------------------
  |  |   64|     48|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     48|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 48]
  |  |  ------------------
  |  |   65|     48|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2809|     48|    cycles = PyMem_New(Py_ssize_t, r);
  ------------------
  |  |   64|     48|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     48|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 48]
  |  |  ------------------
  |  |   65|     48|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2810|     48|    if (indices == NULL || cycles == NULL) {
  ------------------
  |  Branch (2810:9): [True: 0, False: 48]
  |  Branch (2810:28): [True: 0, False: 48]
  ------------------
 2811|      0|        PyErr_NoMemory();
 2812|      0|        goto error;
 2813|      0|    }
 2814|       |
 2815|    114|    for (i=0 ; i<n ; i++)
  ------------------
  |  Branch (2815:16): [True: 66, False: 48]
  ------------------
 2816|     66|        indices[i] = i;
 2817|    114|    for (i=0 ; i<r ; i++)
  ------------------
  |  Branch (2817:16): [True: 66, False: 48]
  ------------------
 2818|     66|        cycles[i] = n - i;
 2819|       |
 2820|       |    /* create permutationsobject structure */
 2821|     48|    po = (permutationsobject *)type->tp_alloc(type, 0);
 2822|     48|    if (po == NULL)
  ------------------
  |  Branch (2822:9): [True: 0, False: 48]
  ------------------
 2823|      0|        goto error;
 2824|       |
 2825|     48|    po->pool = pool;
 2826|     48|    po->indices = indices;
 2827|     48|    po->cycles = cycles;
 2828|     48|    po->result = NULL;
 2829|     48|    po->r = r;
 2830|     48|    po->stopped = r > n ? 1 : 0;
  ------------------
  |  Branch (2830:19): [True: 0, False: 48]
  ------------------
 2831|       |
 2832|     48|    return (PyObject *)po;
 2833|       |
 2834|      0|error:
 2835|      0|    if (indices != NULL)
  ------------------
  |  Branch (2835:9): [True: 0, False: 0]
  ------------------
 2836|      0|        PyMem_Free(indices);
 2837|      0|    if (cycles != NULL)
  ------------------
  |  Branch (2837:9): [True: 0, False: 0]
  ------------------
 2838|      0|        PyMem_Free(cycles);
 2839|      0|    Py_XDECREF(pool);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|       |    return NULL;
 2841|     48|}
itertoolsmodule.c:product_dealloc:
 2085|     66|{
 2086|     66|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 1998|     66|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2087|     66|    PyTypeObject *tp = Py_TYPE(lz);
  ------------------
  |  |  213|     66|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|     66|    PyObject_GC_UnTrack(lz);
 2089|     66|    Py_XDECREF(lz->pools);
  ------------------
  |  |  524|     66|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2090|     66|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|     66|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2091|     66|    PyMem_Free(lz->indices);
 2092|     66|    tp->tp_free(lz);
 2093|     66|    Py_DECREF(tp);
  ------------------
  |  |  430|     66|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|     66|}
itertoolsmodule.c:product_next:
 2206|    270|{
 2207|    270|    PyObject *result;
 2208|    270|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    270|    {
  ------------------
 2209|    270|    result = product_next_lock_held(op);
 2210|    270|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|    270|    }
  ------------------
 2211|    270|    return result;
 2212|    270|}
itertoolsmodule.c:product_next_lock_held:
 2119|    270|{
 2120|    270|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 1998|    270|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2121|    270|    PyObject *pool;
 2122|    270|    PyObject *elem;
 2123|    270|    PyObject *oldelem;
 2124|    270|    PyObject *pools = lz->pools;
 2125|    270|    PyObject *result = lz->result;
 2126|    270|    Py_ssize_t npools = PyTuple_GET_SIZE(pools);
  ------------------
  |  |   27|    270|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|    270|    Py_ssize_t i;
 2128|       |
 2129|    270|    if (lz->stopped)
  ------------------
  |  Branch (2129:9): [True: 0, False: 270]
  ------------------
 2130|      0|        return NULL;
 2131|       |
 2132|    270|    if (result == NULL) {
  ------------------
  |  Branch (2132:9): [True: 66, False: 204]
  ------------------
 2133|       |        /* On the first pass, return an initial tuple filled with the
 2134|       |           first element from each pool. */
 2135|     66|        result = PyTuple_New(npools);
 2136|     66|        if (result == NULL)
  ------------------
  |  Branch (2136:13): [True: 0, False: 66]
  ------------------
 2137|      0|            goto empty;
 2138|     66|        lz->result = result;
 2139|    168|        for (i=0; i < npools; i++) {
  ------------------
  |  Branch (2139:19): [True: 102, False: 66]
  ------------------
 2140|    102|            pool = PyTuple_GET_ITEM(pools, i);
  ------------------
  |  |   29|    102|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    102|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|    102|            if (PyTuple_GET_SIZE(pool) == 0)
  ------------------
  |  |   27|    102|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2141:17): [True: 0, False: 102]
  ------------------
 2142|      0|                goto empty;
 2143|    102|            elem = PyTuple_GET_ITEM(pool, 0);
  ------------------
  |  |   29|    102|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    102|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|    102|            Py_INCREF(elem);
  ------------------
  |  |  310|    102|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|    102|            PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|    102|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2146|    102|        }
 2147|    204|    } else {
 2148|    204|        Py_ssize_t *indices = lz->indices;
 2149|       |
 2150|       |        /* Copy the previous result tuple or re-use it if available */
 2151|    204|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2151:13): [True: 204, False: 0]
  ------------------
 2152|    204|            PyObject *old_result = result;
 2153|    204|            result = PyTuple_FromArray(_PyTuple_ITEMS(old_result), npools);
  ------------------
  |  |   26|    204|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2154|    204|            if (result == NULL)
  ------------------
  |  Branch (2154:17): [True: 0, False: 204]
  ------------------
 2155|      0|                goto empty;
 2156|    204|            lz->result = result;
 2157|    204|            Py_DECREF(old_result);
  ------------------
  |  |  430|    204|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|    204|        }
 2159|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2160|       |        // recycling it, make sure it's tracked again:
 2161|      0|        else {
 2162|      0|            _PyTuple_Recycle(result);
 2163|      0|        }
 2164|       |        /* Now, we've got the only copy so we can update it in-place */
 2165|    204|        assert (npools==0 || Py_REFCNT(result) == 1);
 2166|       |
 2167|       |        /* Update the pool indices right-to-left.  Only advance to the
 2168|       |           next pool when the previous one rolls-over */
 2169|    342|        for (i=npools-1 ; i >= 0 ; i--) {
  ------------------
  |  Branch (2169:27): [True: 276, False: 66]
  ------------------
 2170|    276|            pool = PyTuple_GET_ITEM(pools, i);
  ------------------
  |  |   29|    276|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    276|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    276|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|    276|            indices[i]++;
 2172|    276|            if (indices[i] == PyTuple_GET_SIZE(pool)) {
  ------------------
  |  |   27|    276|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    276|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    276|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2172:17): [True: 138, False: 138]
  ------------------
 2173|       |                /* Roll-over and advance to next pool */
 2174|    138|                indices[i] = 0;
 2175|    138|                elem = PyTuple_GET_ITEM(pool, 0);
  ------------------
  |  |   29|    138|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    138|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|    138|                Py_INCREF(elem);
  ------------------
  |  |  310|    138|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|    138|                oldelem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|    138|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    138|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2178|    138|                PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|    138|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2179|    138|                Py_DECREF(oldelem);
  ------------------
  |  |  430|    138|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2180|    138|            } else {
 2181|       |                /* No rollover. Just increment and stop here. */
 2182|    138|                elem = PyTuple_GET_ITEM(pool, indices[i]);
  ------------------
  |  |   29|    138|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    138|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|    138|                Py_INCREF(elem);
  ------------------
  |  |  310|    138|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|    138|                oldelem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|    138|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    138|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2185|    138|                PyTuple_SET_ITEM(result, i, elem);
  ------------------
  |  |   40|    138|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2186|    138|                Py_DECREF(oldelem);
  ------------------
  |  |  430|    138|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|    138|                break;
 2188|    138|            }
 2189|    276|        }
 2190|       |
 2191|       |        /* If i is negative, then the indices have all rolled-over
 2192|       |           and we're done. */
 2193|    204|        if (i < 0)
  ------------------
  |  Branch (2193:13): [True: 66, False: 138]
  ------------------
 2194|     66|            goto empty;
 2195|    204|    }
 2196|       |
 2197|    204|    return Py_NewRef(result);
  ------------------
  |  |  550|    204|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|       |
 2199|     66|empty:
 2200|     66|    lz->stopped = 1;
 2201|       |    return NULL;
 2202|    270|}
itertoolsmodule.c:product_new:
 2002|     66|{
 2003|     66|    productobject *lz;
 2004|     66|    Py_ssize_t nargs, npools, repeat=1;
 2005|     66|    PyObject *pools = NULL;
 2006|     66|    Py_ssize_t *indices = NULL;
 2007|     66|    Py_ssize_t i;
 2008|       |
 2009|     66|    if (kwds != NULL) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 66]
  ------------------
 2010|      0|        char *kwlist[] = {"repeat", 0};
 2011|      0|        PyObject *tmpargs = PyTuple_New(0);
 2012|      0|        if (tmpargs == NULL)
  ------------------
  |  Branch (2012:13): [True: 0, False: 0]
  ------------------
 2013|      0|            return NULL;
 2014|      0|        if (!PyArg_ParseTupleAndKeywords(tmpargs, kwds, "|n:product",
  ------------------
  |  Branch (2014:13): [True: 0, False: 0]
  ------------------
 2015|      0|                                         kwlist, &repeat)) {
 2016|      0|            Py_DECREF(tmpargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|      0|            return NULL;
 2018|      0|        }
 2019|      0|        Py_DECREF(tmpargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|      0|        if (repeat < 0) {
  ------------------
  |  Branch (2020:13): [True: 0, False: 0]
  ------------------
 2021|      0|            PyErr_SetString(PyExc_ValueError,
 2022|      0|                            "repeat argument cannot be negative");
 2023|      0|            return NULL;
 2024|      0|        }
 2025|      0|    }
 2026|       |
 2027|     66|    assert(PyTuple_CheckExact(args));
 2028|     66|    if (repeat == 0) {
  ------------------
  |  Branch (2028:9): [True: 0, False: 66]
  ------------------
 2029|      0|        nargs = 0;
 2030|     66|    } else {
 2031|     66|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     66|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|     66|        if ((size_t)nargs > PY_SSIZE_T_MAX/sizeof(Py_ssize_t)/repeat) {
  ------------------
  |  |  137|     66|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2032:13): [True: 0, False: 66]
  ------------------
 2033|      0|            PyErr_SetString(PyExc_OverflowError, "repeat argument too large");
 2034|      0|            return NULL;
 2035|      0|        }
 2036|     66|    }
 2037|     66|    npools = nargs * repeat;
 2038|       |
 2039|     66|    indices = PyMem_New(Py_ssize_t, npools);
  ------------------
  |  |   64|     66|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     66|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 66]
  |  |  ------------------
  |  |   65|     66|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2040|     66|    if (indices == NULL) {
  ------------------
  |  Branch (2040:9): [True: 0, False: 66]
  ------------------
 2041|      0|        PyErr_NoMemory();
 2042|      0|        goto error;
 2043|      0|    }
 2044|       |
 2045|     66|    pools = PyTuple_New(npools);
 2046|     66|    if (pools == NULL)
  ------------------
  |  Branch (2046:9): [True: 0, False: 66]
  ------------------
 2047|      0|        goto error;
 2048|       |
 2049|    168|    for (i=0; i < nargs ; ++i) {
  ------------------
  |  Branch (2049:15): [True: 102, False: 66]
  ------------------
 2050|    102|        PyObject *item = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|    102|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    102|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|    102|        PyObject *pool = PySequence_Tuple(item);
 2052|    102|        if (pool == NULL)
  ------------------
  |  Branch (2052:13): [True: 0, False: 102]
  ------------------
 2053|      0|            goto error;
 2054|    102|        PyTuple_SET_ITEM(pools, i, pool);
  ------------------
  |  |   40|    102|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2055|    102|        indices[i] = 0;
 2056|    102|    }
 2057|     66|    for ( ; i < npools; ++i) {
  ------------------
  |  Branch (2057:13): [True: 0, False: 66]
  ------------------
 2058|      0|        PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2059|      0|        Py_INCREF(pool);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2060|      0|        PyTuple_SET_ITEM(pools, i, pool);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|      0|        indices[i] = 0;
 2062|      0|    }
 2063|       |
 2064|       |    /* create productobject structure */
 2065|     66|    lz = (productobject *)type->tp_alloc(type, 0);
 2066|     66|    if (lz == NULL)
  ------------------
  |  Branch (2066:9): [True: 0, False: 66]
  ------------------
 2067|      0|        goto error;
 2068|       |
 2069|     66|    lz->pools = pools;
 2070|     66|    lz->indices = indices;
 2071|     66|    lz->result = NULL;
 2072|     66|    lz->stopped = 0;
 2073|       |
 2074|     66|    return (PyObject *)lz;
 2075|       |
 2076|      0|error:
 2077|      0|    if (indices != NULL)
  ------------------
  |  Branch (2077:9): [True: 0, False: 0]
  ------------------
 2078|      0|        PyMem_Free(indices);
 2079|      0|    Py_XDECREF(pools);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|       |    return NULL;
 2081|     66|}
itertoolsmodule.c:repeat_dealloc:
 3691|      4|{
 3692|      4|    repeatobject *ro = repeatobject_CAST(op);
  ------------------
  |  | 3661|      4|#define repeatobject_CAST(op)   ((repeatobject *)(op))
  ------------------
 3693|      4|    PyTypeObject *tp = Py_TYPE(ro);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3694|      4|    PyObject_GC_UnTrack(ro);
 3695|      4|    Py_XDECREF(ro->element);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|      4|    tp->tp_free(ro);
 3697|      4|    Py_DECREF(tp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3698|      4|}
itertoolsmodule.c:repeat_next:
 3711|     20|{
 3712|     20|    repeatobject *ro = repeatobject_CAST(op);
  ------------------
  |  | 3661|     20|#define repeatobject_CAST(op)   ((repeatobject *)(op))
  ------------------
 3713|     20|    Py_ssize_t cnt = FT_ATOMIC_LOAD_SSIZE_RELAXED(ro->cnt);
  ------------------
  |  |  149|     20|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 3714|     20|    if (cnt == 0) {
  ------------------
  |  Branch (3714:9): [True: 2, False: 18]
  ------------------
 3715|      2|        return NULL;
 3716|      2|    }
 3717|     18|    if (cnt > 0) {
  ------------------
  |  Branch (3717:9): [True: 18, False: 0]
  ------------------
 3718|     18|        cnt--;
 3719|     18|        FT_ATOMIC_STORE_SSIZE_RELAXED(ro->cnt, cnt);
  ------------------
  |  |  194|     18|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3720|     18|    }
 3721|     18|    return Py_NewRef(ro->element);
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3722|     20|}
itertoolsmodule.c:repeat_new:
 3665|      4|{
 3666|      4|    repeatobject *ro;
 3667|      4|    PyObject *element;
 3668|      4|    Py_ssize_t cnt = -1, n_args;
 3669|      4|    static char *kwargs[] = {"object", "times", NULL};
 3670|       |
 3671|      4|    n_args = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3672|      4|    if (kwds != NULL)
  ------------------
  |  Branch (3672:9): [True: 0, False: 4]
  ------------------
 3673|      0|        n_args += PyDict_GET_SIZE(kwds);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      4|    if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:repeat", kwargs,
  ------------------
  |  Branch (3674:9): [True: 0, False: 4]
  ------------------
 3675|      4|                                     &element, &cnt))
 3676|      0|        return NULL;
 3677|       |    /* Does user supply times argument? */
 3678|      4|    if (n_args == 2 && cnt < 0)
  ------------------
  |  Branch (3678:9): [True: 4, False: 0]
  |  Branch (3678:24): [True: 0, False: 4]
  ------------------
 3679|      0|        cnt = 0;
 3680|       |
 3681|      4|    ro = (repeatobject *)type->tp_alloc(type, 0);
 3682|      4|    if (ro == NULL)
  ------------------
  |  Branch (3682:9): [True: 0, False: 4]
  ------------------
 3683|      0|        return NULL;
 3684|      4|    ro->element = Py_NewRef(element);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3685|      4|    ro->cnt = cnt;
 3686|      4|    return (PyObject *)ro;
 3687|      4|}
itertoolsmodule.c:itertoolsmodule_traverse:
 4039|     16|{
 4040|     16|    itertools_state *state = get_module_state(mod);
 4041|     16|    Py_VISIT(state->accumulate_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4042|     16|    Py_VISIT(state->batched_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4043|     16|    Py_VISIT(state->chain_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4044|     16|    Py_VISIT(state->combinations_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4045|     16|    Py_VISIT(state->compress_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4046|     16|    Py_VISIT(state->count_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4047|     16|    Py_VISIT(state->cwr_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4048|     16|    Py_VISIT(state->cycle_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4049|     16|    Py_VISIT(state->dropwhile_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4050|     16|    Py_VISIT(state->filterfalse_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4051|     16|    Py_VISIT(state->groupby_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4052|     16|    Py_VISIT(state->_grouper_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4053|     16|    Py_VISIT(state->islice_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4054|     16|    Py_VISIT(state->pairwise_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4055|     16|    Py_VISIT(state->permutations_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4056|     16|    Py_VISIT(state->product_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4057|     16|    Py_VISIT(state->repeat_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4058|     16|    Py_VISIT(state->starmap_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4059|     16|    Py_VISIT(state->takewhile_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4060|     16|    Py_VISIT(state->tee_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4061|     16|    Py_VISIT(state->teedataobject_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4062|     16|    Py_VISIT(state->ziplongest_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 4063|     16|    return 0;
 4064|     16|}

_PyLong_FromUid:
  843|  3.69k|{
  844|  3.69k|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (844:9): [True: 0, False: 3.69k]
  ------------------
  845|      0|        return PyLong_FromLong(-1);
  846|  3.69k|    return PyLong_FromUnsignedLong(uid);
  847|  3.69k|}
_PyLong_FromGid:
  851|  3.69k|{
  852|  3.69k|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (852:9): [True: 0, False: 3.69k]
  ------------------
  853|      0|        return PyLong_FromLong(-1);
  854|  3.69k|    return PyLong_FromUnsignedLong(gid);
  855|  3.69k|}
PyOS_FSPath:
17162|   113k|{
17163|       |    /* For error message reasons, this function is manually inlined in
17164|       |       path_converter(). */
17165|   113k|    PyObject *func = NULL;
17166|   113k|    PyObject *path_repr = NULL;
17167|       |
17168|   113k|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|   113k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   227k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 113k, False: 243]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |   28|    243|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    243|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 243]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17169|   113k|        return Py_NewRef(path);
  ------------------
  |  |  550|   113k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   113k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17170|   113k|    }
17171|       |
17172|    243|    func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
  ------------------
  |  |  919|    243|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    243|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    243|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17173|    243|    if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|    243|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (17173:9): [True: 0, False: 243]
  |  Branch (17173:27): [True: 0, False: 243]
  ------------------
17174|      0|        return PyErr_Format(PyExc_TypeError,
17175|      0|                            "expected str, bytes or os.PathLike object, "
17176|      0|                            "not %.200s",
17177|      0|                            _PyType_Name(Py_TYPE(path)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17178|      0|    }
17179|       |
17180|    243|    path_repr = _PyObject_CallNoArgs(func);
17181|    243|    Py_DECREF(func);
  ------------------
  |  |  430|    243|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17182|    243|    if (NULL == path_repr) {
  ------------------
  |  Branch (17182:9): [True: 0, False: 243]
  ------------------
17183|      0|        return NULL;
17184|      0|    }
17185|       |
17186|    243|    if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) {
  ------------------
  |  |  103|    243|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    486|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 243, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17187|      0|        PyErr_Format(PyExc_TypeError,
17188|      0|                     "expected %.200s.__fspath__() to return str or bytes, "
17189|      0|                     "not %.200s", _PyType_Name(Py_TYPE(path)),
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17190|      0|                     _PyType_Name(Py_TYPE(path_repr)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17191|      0|        Py_DECREF(path_repr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17192|      0|        return NULL;
17193|      0|    }
17194|       |
17195|    243|    return path_repr;
17196|    243|}
PyInit_posix:
18903|      2|{
18904|      2|    return PyModuleDef_Init(&posixmodule);
18905|      2|}
posixmodule.c:path_converter:
 1381|  4.65k|{
 1382|  4.65k|    path_t *path = (path_t *)p;
 1383|  4.65k|    PyObject *bytes = NULL;
 1384|  4.65k|    Py_ssize_t length = 0;
 1385|  4.65k|    int is_index, is_bytes, is_unicode;
 1386|  4.65k|    const char *narrow;
 1387|  4.65k|    PyObject *wo = NULL;
 1388|  4.65k|    wchar_t *wide = NULL;
 1389|       |
 1390|  4.65k|#define FORMAT_EXCEPTION(exc, fmt) \
 1391|  4.65k|    PyErr_Format(exc, "%s%s" fmt, \
 1392|  4.65k|        path->function_name ? path->function_name : "", \
 1393|  4.65k|        path->function_name ? ": "                : "", \
 1394|  4.65k|        path->argument_name ? path->argument_name : "path")
 1395|       |
 1396|       |    /* Py_CLEANUP_SUPPORTED support */
 1397|  4.65k|    if (o == NULL) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 4.65k]
  ------------------
 1398|      0|        path_cleanup(path);
 1399|      0|        return 1;
 1400|      0|    }
 1401|       |
 1402|       |    /* Ensure it's always safe to call path_cleanup(). */
 1403|  4.65k|    path->object = path->cleanup = NULL;
 1404|       |    /* path->object owns a reference to the original object */
 1405|  4.65k|    Py_INCREF(o);
  ------------------
  |  |  310|  4.65k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|       |
 1407|  4.65k|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|  4.65k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1407:9): [True: 0, False: 4.65k]
  |  Branch (1407:27): [True: 0, False: 0]
  ------------------
 1408|      0|        path->wide = NULL;
 1409|      0|        path->narrow = NULL;
 1410|      0|        path->fd = -1;
 1411|      0|        goto success_exit;
 1412|      0|    }
 1413|       |
 1414|       |    /* Only call this here so that we don't treat the return value of
 1415|       |       os.fspath() as an fd or buffer. */
 1416|  4.65k|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1416:16): [True: 2.30k, False: 2.34k]
  |  Branch (1416:34): [True: 0, False: 2.30k]
  ------------------
 1417|  4.65k|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|  4.65k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.65k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1418|  4.65k|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|  4.65k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.65k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1419|       |
 1420|  4.65k|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1420:9): [True: 4.65k, False: 0]
  |  Branch (1420:22): [True: 6, False: 4.64k]
  |  Branch (1420:37): [True: 6, False: 0]
  ------------------
 1421|       |        /* Inline PyOS_FSPath() for better error messages. */
 1422|      6|        PyObject *func, *res;
 1423|       |
 1424|      6|        func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|      6|        if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1425:13): [True: 0, False: 6]
  |  Branch (1425:31): [True: 0, False: 6]
  ------------------
 1426|      0|            goto error_format;
 1427|      0|        }
 1428|      6|        res = _PyObject_CallNoArgs(func);
 1429|      6|        Py_DECREF(func);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      6|        if (NULL == res) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 6]
  ------------------
 1431|      0|            goto error_exit;
 1432|      0|        }
 1433|      6|        else if (PyUnicode_Check(res)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1434|      6|            is_unicode = 1;
 1435|      6|        }
 1436|      0|        else if (PyBytes_Check(res)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|            is_bytes = 1;
 1438|      0|        }
 1439|      0|        else {
 1440|      0|            PyErr_Format(PyExc_TypeError,
 1441|      0|                 "expected %.200s.__fspath__() to return str or bytes, "
 1442|      0|                 "not %.200s", _PyType_Name(Py_TYPE(o)),
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1443|      0|                 _PyType_Name(Py_TYPE(res)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1444|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1445|      0|            goto error_exit;
 1446|      0|        }
 1447|       |
 1448|       |        /* still owns a reference to the original object */
 1449|      6|        Py_SETREF(o, res);
  ------------------
  |  |  352|      6|    do { \
  |  |  353|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      6|        *_tmp_dst_ptr = (src); \
  |  |  356|      6|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1450|      6|    }
 1451|       |
 1452|  4.65k|    if (is_unicode) {
  ------------------
  |  Branch (1452:9): [True: 4.65k, False: 0]
  ------------------
 1453|  4.65k|        if (path->make_wide) {
  ------------------
  |  Branch (1453:13): [True: 588, False: 4.06k]
  ------------------
 1454|    588|            wide = PyUnicode_AsWideCharString(o, &length);
 1455|    588|            if (!wide) {
  ------------------
  |  Branch (1455:17): [True: 0, False: 588]
  ------------------
 1456|      0|                goto error_exit;
 1457|      0|            }
 1458|       |#ifdef MS_WINDOWS
 1459|       |            if (!path->nonstrict && length > 32767) {
 1460|       |                FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1461|       |                goto error_exit;
 1462|       |            }
 1463|       |#endif
 1464|    588|            if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1464:17): [True: 0, False: 588]
  |  Branch (1464:37): [True: 0, False: 0]
  ------------------
 1465|      0|                FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1391|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1392|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1392:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1393|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1393:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1394|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1394:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1466|      0|                                 "embedded null character in %s");
 1467|      0|                goto error_exit;
 1468|      0|            }
 1469|       |
 1470|    588|            path->wide = wide;
 1471|    588|            path->narrow = NULL;
 1472|    588|            path->fd = -1;
 1473|    588|            wide = NULL;
 1474|    588|            goto success_exit;
 1475|    588|        }
 1476|  4.06k|        bytes = PyUnicode_EncodeFSDefault(o);
 1477|  4.06k|        if (!bytes) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 4.06k]
  ------------------
 1478|      0|            goto error_exit;
 1479|      0|        }
 1480|  4.06k|    }
 1481|      0|    else if (is_bytes) {
  ------------------
  |  Branch (1481:14): [True: 0, False: 0]
  ------------------
 1482|      0|        bytes = Py_NewRef(o);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|    }
 1484|      0|    else if (is_index) {
  ------------------
  |  Branch (1484:14): [True: 0, False: 0]
  ------------------
 1485|      0|        if (!_fd_converter(o, &path->fd)) {
  ------------------
  |  Branch (1485:13): [True: 0, False: 0]
  ------------------
 1486|      0|            goto error_exit;
 1487|      0|        }
 1488|      0|        path->wide = NULL;
 1489|      0|        path->narrow = NULL;
 1490|      0|        path->is_fd = true;
 1491|      0|        goto success_exit;
 1492|      0|    }
 1493|      0|    else {
 1494|      0| error_format:
 1495|      0|        PyErr_Format(PyExc_TypeError, "%s%s%s should be %s, not %.200s",
 1496|      0|            path->function_name ? path->function_name : "",
  ------------------
  |  Branch (1496:13): [True: 0, False: 0]
  ------------------
 1497|      0|            path->function_name ? ": "                : "",
  ------------------
  |  Branch (1497:13): [True: 0, False: 0]
  ------------------
 1498|      0|            path->argument_name ? path->argument_name : "path",
  ------------------
  |  Branch (1498:13): [True: 0, False: 0]
  ------------------
 1499|      0|            path->allow_fd && path->nullable ? "string, bytes, os.PathLike, "
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  |  Branch (1499:31): [True: 0, False: 0]
  ------------------
 1500|      0|                                               "integer or None" :
 1501|      0|            path->allow_fd ? "string, bytes, os.PathLike or integer" :
  ------------------
  |  Branch (1501:13): [True: 0, False: 0]
  ------------------
 1502|      0|            path->nullable ? "string, bytes, os.PathLike or None" :
  ------------------
  |  Branch (1502:13): [True: 0, False: 0]
  ------------------
 1503|      0|                             "string, bytes or os.PathLike",
 1504|      0|            _PyType_Name(Py_TYPE(o)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1505|      0|        goto error_exit;
 1506|      0|    }
 1507|       |
 1508|  4.06k|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  4.06k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|  4.06k|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  4.06k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|  4.06k|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1510:9): [True: 4.06k, False: 0]
  |  Branch (1510:29): [True: 0, False: 4.06k]
  ------------------
 1511|      0|        FORMAT_EXCEPTION(PyExc_ValueError, "embedded null character in %s");
  ------------------
  |  | 1391|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1392|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1392:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1393|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1393:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1394|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1394:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1512|      0|        goto error_exit;
 1513|      0|    }
 1514|       |
 1515|  4.06k|    if (path->make_wide) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 4.06k]
  ------------------
 1516|      0|        wo = PyUnicode_DecodeFSDefaultAndSize(narrow, length);
 1517|      0|        if (!wo) {
  ------------------
  |  Branch (1517:13): [True: 0, False: 0]
  ------------------
 1518|      0|            goto error_exit;
 1519|      0|        }
 1520|       |
 1521|      0|        wide = PyUnicode_AsWideCharString(wo, &length);
 1522|      0|        Py_DECREF(wo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|      0|        if (!wide) {
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  ------------------
 1524|      0|            goto error_exit;
 1525|      0|        }
 1526|       |#ifdef MS_WINDOWS
 1527|       |        if (!path->nonstrict && length > 32767) {
 1528|       |            FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1529|       |            goto error_exit;
 1530|       |        }
 1531|       |#endif
 1532|      0|        if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1532:13): [True: 0, False: 0]
  |  Branch (1532:33): [True: 0, False: 0]
  ------------------
 1533|      0|            FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1391|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1392|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1392:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1393|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1393:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1394|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1394:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1534|      0|                             "embedded null character in %s");
 1535|      0|            goto error_exit;
 1536|      0|        }
 1537|      0|        path->wide = wide;
 1538|      0|        path->narrow = NULL;
 1539|      0|        Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|      0|        wide = NULL;
 1541|      0|    }
 1542|  4.06k|    else {
 1543|  4.06k|        path->wide = NULL;
 1544|  4.06k|        path->narrow = narrow;
 1545|  4.06k|        if (bytes == o) {
  ------------------
  |  Branch (1545:13): [True: 0, False: 4.06k]
  ------------------
 1546|       |            /* Still a reference owned by path->object, don't have to
 1547|       |            worry about path->narrow is used after free. */
 1548|      0|            Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|        }
 1550|  4.06k|        else {
 1551|  4.06k|            path->cleanup = bytes;
 1552|  4.06k|        }
 1553|  4.06k|    }
 1554|  4.06k|    path->fd = -1;
 1555|       |
 1556|  4.65k| success_exit:
 1557|  4.65k|    path->value_error = 0;
 1558|  4.65k|    path->length = length;
 1559|  4.65k|    path->object = o;
 1560|  4.65k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  4.65k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1561|       |
 1562|      0| error_exit:
 1563|      0|    Py_XDECREF(o);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|      0|    Py_XDECREF(bytes);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|      0|    PyMem_Free(wide);
 1566|      0|    if (!path->suppress_value_error ||
  ------------------
  |  Branch (1566:9): [True: 0, False: 0]
  ------------------
 1567|      0|        !PyErr_ExceptionMatches(PyExc_ValueError))
  ------------------
  |  Branch (1567:9): [True: 0, False: 0]
  ------------------
 1568|      0|    {
 1569|      0|        return 0;
 1570|      0|    }
 1571|      0|    PyErr_Clear();
 1572|      0|    path->wide = NULL;
 1573|      0|    path->narrow = NULL;
 1574|      0|    path->fd = -1;
 1575|      0|    path->value_error = 1;
 1576|      0|    path->length = 0;
 1577|      0|    path->object = NULL;
 1578|      0|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1579|      0|}
posixmodule.c:dir_fd_converter:
 1182|      4|{
 1183|      4|    if (o == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1183:9): [True: 4, False: 0]
  ------------------
 1184|      4|        *(int *)p = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 1185|      4|        return 1;
 1186|      4|    }
 1187|      0|    else if (PyIndex_Check(o)) {
  ------------------
  |  Branch (1187:14): [True: 0, False: 0]
  ------------------
 1188|      0|        return _fd_converter(o, (int *)p);
 1189|      0|    }
 1190|      0|    else {
 1191|      0|        PyErr_Format(PyExc_TypeError,
 1192|      0|                     "argument should be integer or None, not %.200s",
 1193|      0|                     _PyType_Name(Py_TYPE(o)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1194|      0|        return 0;
 1195|      0|    }
 1196|      4|}
posixmodule.c:os_stat_impl:
 3305|  2.23k|{
 3306|  2.23k|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3307|  2.23k|}
posixmodule.c:posix_do_stat:
 2877|  3.97k|{
 2878|  3.97k|    STRUCT_STAT st;
  ------------------
  |  |  411|  3.97k|#  define STRUCT_STAT struct stat
  ------------------
 2879|  3.97k|    int result;
 2880|       |
 2881|  3.97k|#ifdef HAVE_FSTATAT
 2882|  3.97k|    int fstatat_unavailable = 0;
 2883|  3.97k|#endif
 2884|       |
 2885|       |#if !defined(MS_WINDOWS) && !defined(HAVE_FSTATAT) && !defined(HAVE_LSTAT)
 2886|       |    if (follow_symlinks_specified(function_name, follow_symlinks))
 2887|       |        return NULL;
 2888|       |#endif
 2889|       |
 2890|  3.97k|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2890:9): [True: 0, False: 3.97k]
  ------------------
 2891|  3.97k|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2891:9): [True: 0, False: 3.97k]
  ------------------
 2892|  3.97k|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2892:9): [True: 0, False: 3.97k]
  ------------------
 2893|      0|        return NULL;
 2894|       |
 2895|  3.97k|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  3.97k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  3.97k|                        PyThreadState *_save; \
  |  |  121|  3.97k|                        _save = PyEval_SaveThread();
  ------------------
 2896|  3.97k|    if (path->is_fd) {
  ------------------
  |  Branch (2896:9): [True: 0, False: 3.97k]
  ------------------
 2897|      0|        result = FSTAT(path->fd, &st);
  ------------------
  |  |  410|      0|#  define FSTAT fstat
  ------------------
 2898|      0|    }
 2899|       |#ifdef MS_WINDOWS
 2900|       |    else if (follow_symlinks)
 2901|       |        result = win32_stat(path->wide, &st);
 2902|       |    else
 2903|       |        result = win32_lstat(path->wide, &st);
 2904|       |#else
 2905|  3.97k|    else
 2906|  3.97k|#if defined(HAVE_LSTAT)
 2907|  3.97k|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1138|  1.74k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2907:9): [True: 1.74k, False: 2.23k]
  |  Branch (2907:31): [True: 1.74k, False: 0]
  ------------------
 2908|  1.74k|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  409|  1.74k|#  define LSTAT lstat
  ------------------
 2909|  2.23k|    else
 2910|  2.23k|#endif /* HAVE_LSTAT */
 2911|  2.23k|#ifdef HAVE_FSTATAT
 2912|  2.23k|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1138|  2.23k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2912:9): [True: 0, False: 2.23k]
  |  Branch (2912:39): [True: 0, False: 2.23k]
  ------------------
 2913|      0|        if (HAVE_FSTATAT_RUNTIME) {
  ------------------
  |  |  600|      0|#  define HAVE_FSTATAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (600:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
 2914|      0|            result = fstatat(dir_fd, path->narrow, &st,
 2915|      0|                         follow_symlinks ? 0 : AT_SYMLINK_NOFOLLOW);
  ------------------
  |  Branch (2915:26): [True: 0, False: 0]
  ------------------
 2916|       |
 2917|      0|        } else {
 2918|      0|            fstatat_unavailable = 1;
 2919|      0|        }
 2920|      0|    } else
 2921|  2.23k|#endif /* HAVE_FSTATAT */
 2922|  2.23k|        result = STAT(path->narrow, &st);
  ------------------
  |  |  408|  2.23k|#  define STAT stat
  ------------------
 2923|  3.97k|#endif /* MS_WINDOWS */
 2924|  3.97k|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  3.97k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  3.97k|                 }
  ------------------
 2925|       |
 2926|  3.97k|#ifdef HAVE_FSTATAT
 2927|  3.97k|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2927:9): [True: 0, False: 3.97k]
  ------------------
 2928|      0|        argument_unavailable_error("stat", "dir_fd");
 2929|      0|        return NULL;
 2930|      0|    }
 2931|  3.97k|#endif
 2932|       |
 2933|  3.97k|    if (result != 0) {
  ------------------
  |  Branch (2933:9): [True: 285, False: 3.69k]
  ------------------
 2934|    285|        return path_error(path);
 2935|    285|    }
 2936|       |
 2937|  3.69k|    return _pystat_fromstructstat(module, &st);
 2938|  3.97k|}
posixmodule.c:path_and_dir_fd_invalid:
 1627|  3.97k|{
 1628|  3.97k|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1138|  3.97k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1628:9): [True: 3.97k, False: 0]
  |  Branch (1628:24): [True: 0, False: 3.97k]
  |  Branch (1628:54): [True: 0, False: 0]
  ------------------
 1629|      0|        PyErr_Format(PyExc_ValueError,
 1630|      0|                     "%s: can't specify dir_fd without matching path",
 1631|      0|                     function_name);
 1632|      0|        return 1;
 1633|      0|    }
 1634|  3.97k|    return 0;
 1635|  3.97k|}
posixmodule.c:dir_fd_and_fd_invalid:
 1639|  3.97k|{
 1640|  3.97k|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1138|  3.97k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1640:9): [True: 0, False: 3.97k]
  |  Branch (1640:39): [True: 0, False: 0]
  ------------------
 1641|      0|        PyErr_Format(PyExc_ValueError,
 1642|      0|                     "%s: can't specify both dir_fd and fd",
 1643|      0|                     function_name);
 1644|      0|        return 1;
 1645|      0|    }
 1646|  3.97k|    return 0;
 1647|  3.97k|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1652|  3.97k|{
 1653|  3.97k|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1653:9): [True: 0, False: 3.97k]
  |  Branch (1653:18): [True: 0, False: 0]
  ------------------
 1654|      0|        PyErr_Format(PyExc_ValueError,
 1655|      0|                     "%s: cannot use fd and follow_symlinks together",
 1656|      0|                     function_name);
 1657|      0|        return 1;
 1658|      0|    }
 1659|  3.97k|    return 0;
 1660|  3.97k|}
posixmodule.c:path_error:
 1935|    289|{
 1936|    289|    return path_object_error(path->object);
 1937|    289|}
posixmodule.c:path_object_error:
 1913|    289|{
 1914|       |#ifdef MS_WINDOWS
 1915|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1916|       |                PyExc_OSError, 0, path);
 1917|       |#else
 1918|    289|    return posix_path_object_error(path);
 1919|    289|#endif
 1920|    289|}
posixmodule.c:posix_path_object_error:
 1907|    289|{
 1908|    289|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1909|    289|}
posixmodule.c:_pystat_fromstructstat:
 2750|  3.69k|{
 2751|  3.69k|    assert(!PyErr_Occurred());
 2752|       |
 2753|  3.69k|    _posixstate *state = get_posix_state(module);
 2754|  3.69k|    PyObject *StatResultType = state->StatResultType;
 2755|  3.69k|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2756|  3.69k|    if (v == NULL) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 3.69k]
  ------------------
 2757|      0|        return NULL;
 2758|      0|    }
 2759|       |
 2760|  3.69k|#define SET_ITEM(pos, expr) \
 2761|  3.69k|    do { \
 2762|  3.69k|        PyObject *obj = (expr); \
 2763|  3.69k|        if (obj == NULL) { \
 2764|  3.69k|            goto error; \
 2765|  3.69k|        } \
 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2767|  3.69k|    } while (0)
 2768|       |
 2769|  3.69k|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2770|       |#ifdef MS_WINDOWS
 2771|       |    SET_ITEM(1, _pystat_l128_from_l64_l64(st->st_ino, st->st_ino_high));
 2772|       |    SET_ITEM(2, PyLong_FromUnsignedLongLong(st->st_dev));
 2773|       |#else
 2774|  3.69k|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2775|  3.69k|                  "stat.st_ino is larger than unsigned long long");
 2776|  3.69k|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2777|  3.69k|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2778|  3.69k|#endif
 2779|  3.69k|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2780|       |#if defined(MS_WINDOWS)
 2781|       |    SET_ITEM(4, PyLong_FromLong(0));
 2782|       |    SET_ITEM(5, PyLong_FromLong(0));
 2783|       |#else
 2784|  3.69k|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2785|  3.69k|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2786|  3.69k|#endif
 2787|  3.69k|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2788|  3.69k|                  "stat.st_size is larger than long long");
 2789|  3.69k|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2790|       |
 2791|       |    // Set st_atime, st_mtime and st_ctime
 2792|  3.69k|    unsigned long ansec, mnsec, cnsec;
 2793|  3.69k|#if defined(HAVE_STAT_TV_NSEC)
 2794|  3.69k|    ansec = st->st_atim.tv_nsec;
 2795|  3.69k|    mnsec = st->st_mtim.tv_nsec;
 2796|  3.69k|    cnsec = st->st_ctim.tv_nsec;
 2797|       |#elif defined(HAVE_STAT_TV_NSEC2)
 2798|       |    ansec = st->st_atimespec.tv_nsec;
 2799|       |    mnsec = st->st_mtimespec.tv_nsec;
 2800|       |    cnsec = st->st_ctimespec.tv_nsec;
 2801|       |#elif defined(HAVE_STAT_NSEC)
 2802|       |    ansec = st->st_atime_nsec;
 2803|       |    mnsec = st->st_mtime_nsec;
 2804|       |    cnsec = st->st_ctime_nsec;
 2805|       |#else
 2806|       |    ansec = mnsec = cnsec = 0;
 2807|       |#endif
 2808|  3.69k|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2808:9): [True: 0, False: 3.69k]
  ------------------
 2809|      0|        goto error;
 2810|      0|    }
 2811|  3.69k|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2811:9): [True: 0, False: 3.69k]
  ------------------
 2812|      0|        goto error;
 2813|      0|    }
 2814|  3.69k|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2814:9): [True: 0, False: 3.69k]
  ------------------
 2815|      0|        goto error;
 2816|      0|    }
 2817|       |
 2818|  3.69k|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2819|  3.69k|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2820|  3.69k|#endif
 2821|  3.69k|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2822|  3.69k|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2823|  3.69k|#endif
 2824|  3.69k|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2825|  3.69k|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2761|  3.69k|    do { \
  |  | 2762|  3.69k|        PyObject *obj = (expr); \
  |  | 2763|  3.69k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 3.69k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  3.69k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  3.69k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  3.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 2826|  3.69k|#endif
 2827|       |#ifdef HAVE_STRUCT_STAT_ST_GEN
 2828|       |    SET_ITEM(ST_GEN_IDX, PyLong_FromLong((long)st->st_gen));
 2829|       |#endif
 2830|       |#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIME)
 2831|       |    {
 2832|       |      unsigned long bsec, bnsec;
 2833|       |      bsec = (long)st->st_birthtime;
 2834|       |#ifdef HAVE_STAT_TV_NSEC2
 2835|       |      bnsec = st->st_birthtimespec.tv_nsec;
 2836|       |#else
 2837|       |      bnsec = 0;
 2838|       |#endif
 2839|       |      SET_ITEM(ST_BIRTHTIME_IDX, PyFloat_FromDouble(bsec + bnsec * 1e-9));
 2840|       |    }
 2841|       |#elif defined(MS_WINDOWS)
 2842|       |    if (fill_time(state, v, -1, ST_BIRTHTIME_IDX, ST_BIRTHTIME_NS_IDX,
 2843|       |                  st->st_birthtime, st->st_birthtime_nsec) < 0) {
 2844|       |        goto error;
 2845|       |    }
 2846|       |#endif
 2847|       |#ifdef HAVE_STRUCT_STAT_ST_FLAGS
 2848|       |    SET_ITEM(ST_FLAGS_IDX, PyLong_FromLong((long)st->st_flags));
 2849|       |#endif
 2850|       |#ifdef HAVE_STRUCT_STAT_ST_FILE_ATTRIBUTES
 2851|       |    SET_ITEM(ST_FILE_ATTRIBUTES_IDX,
 2852|       |             PyLong_FromUnsignedLong(st->st_file_attributes));
 2853|       |#endif
 2854|       |#ifdef HAVE_STRUCT_STAT_ST_FSTYPE
 2855|       |   SET_ITEM(ST_FSTYPE_IDX, PyUnicode_FromString(st->st_fstype));
 2856|       |#endif
 2857|       |#ifdef HAVE_STRUCT_STAT_ST_REPARSE_TAG
 2858|       |    SET_ITEM(ST_REPARSE_TAG_IDX, PyLong_FromUnsignedLong(st->st_reparse_tag));
 2859|       |#endif
 2860|       |
 2861|  3.69k|    assert(!PyErr_Occurred());
 2862|  3.69k|    return v;
 2863|       |
 2864|      0|error:
 2865|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2866|      0|    return NULL;
 2867|       |
 2868|  3.69k|#undef SET_ITEM
 2869|  3.69k|}
posixmodule.c:get_posix_state:
 1230|  3.71k|{
 1231|  3.71k|    void *state = _PyModule_GetState(module);
 1232|       |    assert(state != NULL);
 1233|  3.71k|    return (_posixstate *)state;
 1234|  3.71k|}
posixmodule.c:_PyLong_FromDev:
 1074|  7.38k|{
 1075|  7.38k|#ifdef NODEV
 1076|  7.38k|    if (dev == NODEV) {
  ------------------
  |  Branch (1076:9): [True: 2, False: 7.38k]
  ------------------
 1077|      2|        return PyLong_FromLongLong((long long)dev);
 1078|      2|    }
 1079|  7.38k|#endif
 1080|  7.38k|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1081|  7.38k|}
posixmodule.c:fill_time:
 2686|  11.0k|{
 2687|  11.0k|    assert(!PyErr_Occurred());
 2688|  11.0k|    assert(nsec < SEC_TO_NS);
 2689|       |
 2690|  11.0k|    if (s_index >= 0) {
  ------------------
  |  Branch (2690:9): [True: 11.0k, False: 0]
  ------------------
 2691|  11.0k|        PyObject *s = _PyLong_FromTime_t(sec);
 2692|  11.0k|        if (s == NULL) {
  ------------------
  |  Branch (2692:13): [True: 0, False: 11.0k]
  ------------------
 2693|      0|            return -1;
 2694|      0|        }
 2695|  11.0k|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|  11.0k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2696|  11.0k|    }
 2697|       |
 2698|  11.0k|    if (f_index >= 0) {
  ------------------
  |  Branch (2698:9): [True: 11.0k, False: 0]
  ------------------
 2699|  11.0k|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2700|  11.0k|        if (float_s == NULL) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 11.0k]
  ------------------
 2701|      0|            return -1;
 2702|      0|        }
 2703|  11.0k|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|  11.0k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2704|  11.0k|    }
 2705|       |
 2706|  11.0k|    if (ns_index >= 0) {
  ------------------
  |  Branch (2706:9): [True: 11.0k, False: 0]
  ------------------
 2707|  11.0k|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2708|  11.0k|        if (ns_total == NULL) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 11.0k]
  ------------------
 2709|      0|            return -1;
 2710|      0|        }
 2711|  11.0k|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|  11.0k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2712|  11.0k|    }
 2713|       |
 2714|  11.0k|    assert(!PyErr_Occurred());
 2715|  11.0k|    return 0;
 2716|  11.0k|}
posixmodule.c:stat_nanosecond_timestamp:
 2649|  11.0k|{
 2650|       |#if SIZEOF_TIME_T == 4
 2651|       |    return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
 2652|       |#else
 2653|       |    /* 1677-09-21 00:12:44 to 2262-04-11 23:47:15 UTC inclusive */
 2654|  11.0k|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|  11.0k|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|  11.0k|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2654:9): [True: 11.0k, False: 0]
  |  Branch (2654:41): [True: 11.0k, False: 0]
  ------------------
 2655|  11.0k|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2646|  11.0k|#define SEC_TO_NS (1000000000LL)
  ------------------
 2656|  11.0k|    }
 2657|      0|    else
 2658|      0|    {
 2659|      0|        PyObject *ns_total = NULL;
 2660|      0|        PyObject *s_in_ns = NULL;
 2661|      0|        PyObject *s = _PyLong_FromTime_t(sec);
 2662|      0|        PyObject *ns_fractional = PyLong_FromUnsignedLong(nsec);
 2663|      0|        if (s == NULL || ns_fractional == NULL) {
  ------------------
  |  Branch (2663:13): [True: 0, False: 0]
  |  Branch (2663:26): [True: 0, False: 0]
  ------------------
 2664|      0|            goto exit;
 2665|      0|        }
 2666|       |
 2667|      0|        s_in_ns = PyNumber_Multiply(s, state->billion);
 2668|      0|        if (s_in_ns == NULL) {
  ------------------
  |  Branch (2668:13): [True: 0, False: 0]
  ------------------
 2669|      0|            goto exit;
 2670|      0|        }
 2671|       |
 2672|      0|        ns_total = PyNumber_Add(s_in_ns, ns_fractional);
 2673|       |
 2674|      0|    exit:
 2675|      0|        Py_XDECREF(s);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|      0|        Py_XDECREF(ns_fractional);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|      0|        Py_XDECREF(s_in_ns);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2678|      0|        return ns_total;
 2679|      0|    }
 2680|  11.0k|#endif
 2681|  11.0k|}
posixmodule.c:path_cleanup:
 1371|  4.65k|{
 1372|  4.65k|    wchar_t *wide = (wchar_t *)path->wide;
 1373|  4.65k|    path->wide = NULL;
 1374|  4.65k|    PyMem_Free(wide);
 1375|  4.65k|    Py_CLEAR(path->object);
  ------------------
  |  |  484|  4.65k|    do { \
  |  |  485|  4.65k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.65k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.65k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.65k, False: 0]
  |  |  ------------------
  |  |  488|  4.65k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.65k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.65k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.65k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.65k|        } \
  |  |  491|  4.65k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.65k]
  |  |  ------------------
  ------------------
 1376|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  484|  4.65k|    do { \
  |  |  485|  4.65k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.65k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.65k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.06k, False: 588]
  |  |  ------------------
  |  |  488|  4.06k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.06k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.06k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.06k|        } \
  |  |  491|  4.65k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.65k]
  |  |  ------------------
  ------------------
 1377|  4.65k|}
posixmodule.c:follow_symlinks_specified:
 1617|      2|{
 1618|      2|    if (follow_symlinks)
  ------------------
  |  Branch (1618:9): [True: 2, False: 0]
  ------------------
 1619|      2|        return 0;
 1620|       |
 1621|      0|    argument_unavailable_error(function_name, "follow_symlinks");
 1622|      0|    return 1;
 1623|      2|}
posixmodule.c:dir_fd_and_follow_symlinks_invalid:
 1665|      2|{
 1666|      2|    if ((dir_fd != DEFAULT_DIR_FD) && (!follow_symlinks)) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1666:9): [True: 0, False: 2]
  |  Branch (1666:39): [True: 0, False: 0]
  ------------------
 1667|      0|        PyErr_Format(PyExc_ValueError,
 1668|      0|                     "%s: cannot use dir_fd and follow_symlinks together",
 1669|      0|                     function_name);
 1670|      0|        return 1;
 1671|      0|    }
 1672|      2|    return 0;
 1673|      2|}
posixmodule.c:os_getcwd_impl:
 4776|      2|{
 4777|      2|    return posix_getcwd(0);
 4778|      2|}
posixmodule.c:posix_getcwd:
 4654|      2|{
 4655|       |#ifdef MS_WINDOWS
 4656|       |    wchar_t wbuf[MAXPATHLEN];
 4657|       |    wchar_t *wbuf2 = wbuf;
 4658|       |    DWORD len;
 4659|       |
 4660|       |    Py_BEGIN_ALLOW_THREADS
 4661|       |    len = GetCurrentDirectoryW(Py_ARRAY_LENGTH(wbuf), wbuf);
 4662|       |    /* If the buffer is large enough, len does not include the
 4663|       |       terminating \0. If the buffer is too small, len includes
 4664|       |       the space needed for the terminator. */
 4665|       |    if (len >= Py_ARRAY_LENGTH(wbuf)) {
 4666|       |        if ((Py_ssize_t)len <= PY_SSIZE_T_MAX / sizeof(wchar_t)) {
 4667|       |            wbuf2 = PyMem_RawMalloc(len * sizeof(wchar_t));
 4668|       |        }
 4669|       |        else {
 4670|       |            wbuf2 = NULL;
 4671|       |        }
 4672|       |        if (wbuf2) {
 4673|       |            len = GetCurrentDirectoryW(len, wbuf2);
 4674|       |        }
 4675|       |    }
 4676|       |    Py_END_ALLOW_THREADS
 4677|       |
 4678|       |    if (!wbuf2) {
 4679|       |        PyErr_NoMemory();
 4680|       |        return NULL;
 4681|       |    }
 4682|       |    if (!len) {
 4683|       |        PyErr_SetFromWindowsErr(0);
 4684|       |        if (wbuf2 != wbuf)
 4685|       |            PyMem_RawFree(wbuf2);
 4686|       |        return NULL;
 4687|       |    }
 4688|       |
 4689|       |    PyObject *resobj = PyUnicode_FromWideChar(wbuf2, len);
 4690|       |    if (wbuf2 != wbuf) {
 4691|       |        PyMem_RawFree(wbuf2);
 4692|       |    }
 4693|       |
 4694|       |    if (use_bytes) {
 4695|       |        if (resobj == NULL) {
 4696|       |            return NULL;
 4697|       |        }
 4698|       |        Py_SETREF(resobj, PyUnicode_EncodeFSDefault(resobj));
 4699|       |    }
 4700|       |
 4701|       |    return resobj;
 4702|       |#else
 4703|      2|    const size_t chunk = 1024;
 4704|       |
 4705|      2|    char *buf = NULL;
 4706|      2|    char *cwd = NULL;
 4707|      2|    size_t buflen = 0;
 4708|       |
 4709|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 4710|      2|    do {
 4711|      2|        char *newbuf;
 4712|      2|        if (buflen <= PY_SSIZE_T_MAX - chunk) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (4712:13): [True: 2, False: 0]
  ------------------
 4713|      2|            buflen += chunk;
 4714|      2|            newbuf = PyMem_RawRealloc(buf, buflen);
 4715|      2|        }
 4716|      0|        else {
 4717|      0|            newbuf = NULL;
 4718|      0|        }
 4719|      2|        if (newbuf == NULL) {
  ------------------
  |  Branch (4719:13): [True: 0, False: 2]
  ------------------
 4720|      0|            PyMem_RawFree(buf);
 4721|      0|            buf = NULL;
 4722|      0|            break;
 4723|      0|        }
 4724|      2|        buf = newbuf;
 4725|       |
 4726|      2|        cwd = getcwd(buf, buflen);
 4727|      2|    } while (cwd == NULL && errno == ERANGE);
  ------------------
  |  Branch (4727:14): [True: 0, False: 2]
  |  Branch (4727:29): [True: 0, False: 0]
  ------------------
 4728|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 4729|       |
 4730|      2|    if (buf == NULL) {
  ------------------
  |  Branch (4730:9): [True: 0, False: 2]
  ------------------
 4731|      0|        return PyErr_NoMemory();
 4732|      0|    }
 4733|      2|    if (cwd == NULL) {
  ------------------
  |  Branch (4733:9): [True: 0, False: 2]
  ------------------
 4734|      0|        posix_error();
 4735|      0|        PyMem_RawFree(buf);
 4736|      0|        return NULL;
 4737|      0|    }
 4738|       |
 4739|      2|    PyObject *obj;
 4740|      2|    if (use_bytes) {
  ------------------
  |  Branch (4740:9): [True: 0, False: 2]
  ------------------
 4741|      0|        obj = PyBytes_FromStringAndSize(buf, strlen(buf));
 4742|      0|    }
 4743|      2|    else {
 4744|      2|        obj = PyUnicode_DecodeFSDefault(buf);
 4745|      2|    }
 4746|      2|#ifdef __linux__
 4747|      2|    if (buf[0] != '/') {
  ------------------
  |  Branch (4747:9): [True: 0, False: 2]
  ------------------
 4748|       |        /*
 4749|       |         * On Linux >= 2.6.36 with glibc < 2.27, getcwd() can return a
 4750|       |         * relative pathname starting with '(unreachable)'. We detect this
 4751|       |         * and fail with ENOENT, matching newer glibc behaviour.
 4752|       |         */
 4753|      0|        errno = ENOENT;
 4754|      0|        path_object_error(obj);
 4755|      0|        PyMem_RawFree(buf);
 4756|      0|        return NULL;
 4757|      0|    }
 4758|      2|#endif
 4759|      2|    assert(buf[0] == '/');
 4760|      2|    PyMem_RawFree(buf);
 4761|       |
 4762|      2|    return obj;
 4763|      2|#endif   /* !MS_WINDOWS */
 4764|      2|}
posixmodule.c:os_listdir_impl:
 5144|     76|{
 5145|     76|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5145:9): [True: 0, False: 76]
  ------------------
 5146|     76|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5146:21): [True: 76, False: 0]
  ------------------
 5147|      0|        return NULL;
 5148|      0|    }
 5149|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5150|       |    return _listdir_windows_no_opendir(path, NULL);
 5151|       |#else
 5152|     76|    return _posix_listdir(path, NULL);
 5153|     76|#endif
 5154|     76|}
posixmodule.c:_posix_listdir:
 5008|     76|{
 5009|     76|    PyObject *v;
 5010|     76|    DIR *dirp = NULL;
 5011|     76|    struct dirent *ep;
 5012|     76|    int return_str; /* if false, return bytes */
 5013|     76|#ifdef HAVE_FDOPENDIR
 5014|     76|    int fd = -1;
 5015|     76|#endif
 5016|       |
 5017|     76|    errno = 0;
 5018|     76|#ifdef HAVE_FDOPENDIR
 5019|     76|    if (path->is_fd) {
  ------------------
  |  Branch (5019:9): [True: 0, False: 76]
  ------------------
 5020|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  609|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (609:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5021|       |        /* closedir() closes the FD, so we duplicate it */
 5022|      0|        fd = _Py_dup(path->fd);
 5023|      0|        if (fd == -1)
  ------------------
  |  Branch (5023:13): [True: 0, False: 0]
  ------------------
 5024|      0|            return NULL;
 5025|       |
 5026|      0|        return_str = 1;
 5027|       |
 5028|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5029|      0|        dirp = fdopendir(fd);
 5030|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5031|      0|      } else {
 5032|      0|        PyErr_SetString(PyExc_TypeError,
 5033|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5034|      0|        return NULL;
 5035|      0|      }
 5036|      0|    }
 5037|     76|    else
 5038|     76|#endif
 5039|     76|    {
 5040|     76|        const char *name;
 5041|     76|        if (path->narrow) {
  ------------------
  |  Branch (5041:13): [True: 76, False: 0]
  ------------------
 5042|     76|            name = path->narrow;
 5043|       |            /* only return bytes if they specified a bytes object */
 5044|     76|            return_str = !PyBytes_Check(path->object);
  ------------------
  |  |   28|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 5045|     76|        }
 5046|      0|        else {
 5047|      0|            name = ".";
 5048|      0|            return_str = 1;
 5049|      0|        }
 5050|       |
 5051|     76|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     76|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     76|                        PyThreadState *_save; \
  |  |  121|     76|                        _save = PyEval_SaveThread();
  ------------------
 5052|     76|        dirp = opendir(name);
 5053|     76|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     76|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     76|                 }
  ------------------
 5054|     76|    }
 5055|       |
 5056|     76|    if (dirp == NULL) {
  ------------------
  |  Branch (5056:9): [True: 2, False: 74]
  ------------------
 5057|      2|        path_error(path);
 5058|      2|        list = NULL;
 5059|      2|#ifdef HAVE_FDOPENDIR
 5060|      2|        if (fd != -1) {
  ------------------
  |  Branch (5060:13): [True: 0, False: 2]
  ------------------
 5061|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5062|      0|            close(fd);
 5063|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5064|      0|        }
 5065|      2|#endif
 5066|      2|        goto exit;
 5067|      2|    }
 5068|     74|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5068:9): [True: 0, False: 74]
  ------------------
 5069|      0|        goto exit;
 5070|      0|    }
 5071|  2.49k|    for (;;) {
 5072|  2.49k|        errno = 0;
 5073|  2.49k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  2.49k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  2.49k|                        PyThreadState *_save; \
  |  |  121|  2.49k|                        _save = PyEval_SaveThread();
  ------------------
 5074|  2.49k|        ep = readdir(dirp);
 5075|  2.49k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  2.49k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  2.49k|                 }
  ------------------
 5076|  2.49k|        if (ep == NULL) {
  ------------------
  |  Branch (5076:13): [True: 74, False: 2.41k]
  ------------------
 5077|     74|            if (errno == 0) {
  ------------------
  |  Branch (5077:17): [True: 74, False: 0]
  ------------------
 5078|     74|                break;
 5079|     74|            } else {
 5080|      0|                path_error(path);
 5081|      0|                Py_CLEAR(list);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5082|      0|                goto exit;
 5083|      0|            }
 5084|     74|        }
 5085|  2.41k|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5085:13): [True: 152, False: 2.26k]
  ------------------
 5086|    152|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  327|    152|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5086:14): [True: 74, False: 78]
  ------------------
 5087|     78|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  327|     74|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5087:15): [True: 74, False: 4]
  |  Branch (5087:39): [True: 74, False: 0]
  ------------------
 5088|    148|            continue;
 5089|  2.27k|        if (return_str)
  ------------------
  |  Branch (5089:13): [True: 2.27k, False: 0]
  ------------------
 5090|  2.27k|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|  2.27k|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5091|      0|        else
 5092|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5093|  2.27k|        if (v == NULL) {
  ------------------
  |  Branch (5093:13): [True: 0, False: 2.27k]
  ------------------
 5094|      0|            Py_CLEAR(list);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5095|      0|            break;
 5096|      0|        }
 5097|  2.27k|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5097:13): [True: 0, False: 2.27k]
  ------------------
 5098|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|      0|            Py_CLEAR(list);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5100|      0|            break;
 5101|      0|        }
 5102|  2.27k|        Py_DECREF(v);
  ------------------
  |  |  430|  2.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5103|  2.27k|    }
 5104|       |
 5105|     76|exit:
 5106|     76|    if (dirp != NULL) {
  ------------------
  |  Branch (5106:9): [True: 74, False: 2]
  ------------------
 5107|     74|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     74|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     74|                        PyThreadState *_save; \
  |  |  121|     74|                        _save = PyEval_SaveThread();
  ------------------
 5108|     74|#ifdef HAVE_FDOPENDIR
 5109|     74|        if (fd > -1)
  ------------------
  |  Branch (5109:13): [True: 0, False: 74]
  ------------------
 5110|      0|            rewinddir(dirp);
 5111|     74|#endif
 5112|     74|        closedir(dirp);
 5113|     74|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     74|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     74|                 }
  ------------------
 5114|     74|    }
 5115|       |
 5116|     76|    return list;
 5117|     74|}  /* end of _posix_listdir */
posixmodule.c:os_lstat_impl:
 3329|  1.74k|{
 3330|  1.74k|    int follow_symlinks = 0;
 3331|  1.74k|    return posix_do_stat(module, "lstat", path, dir_fd, follow_symlinks);
 3332|  1.74k|}
posixmodule.c:os_mkdir_impl:
 6180|      2|{
 6181|      2|    int result;
 6182|       |#ifdef MS_WINDOWS
 6183|       |    int error = 0;
 6184|       |    SECURITY_ATTRIBUTES secAttr = { sizeof(secAttr) };
 6185|       |    SECURITY_ATTRIBUTES *pSecAttr = NULL;
 6186|       |#endif
 6187|      2|#ifdef HAVE_MKDIRAT
 6188|      2|    int mkdirat_unavailable = 0;
 6189|      2|#endif
 6190|       |
 6191|      2|    if (PySys_Audit("os.mkdir", "Oii", path->object, mode,
  ------------------
  |  Branch (6191:9): [True: 0, False: 2]
  ------------------
 6192|      2|                    dir_fd == DEFAULT_DIR_FD ? -1 : dir_fd) < 0) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6192:21): [True: 2, False: 0]
  ------------------
 6193|      0|        return NULL;
 6194|      0|    }
 6195|       |
 6196|       |#ifdef MS_WINDOWS
 6197|       |    Py_BEGIN_ALLOW_THREADS
 6198|       |    // For API sets that don't support these APIs, we have no choice
 6199|       |    // but to silently create a directory with default ACL.
 6200|       |#if defined(MS_WINDOWS_APP) || defined(MS_WINDOWS_SYSTEM)
 6201|       |    if (mode == 0700 /* 0o700 */) {
 6202|       |        ULONG sdSize;
 6203|       |        pSecAttr = &secAttr;
 6204|       |        // Set a discretionary ACL (D) that is protected (P) and includes
 6205|       |        // inheritable (OICI) entries that allow (A) full control (FA) to
 6206|       |        // SYSTEM (SY), Administrators (BA), and the owner (OW).
 6207|       |        if (!ConvertStringSecurityDescriptorToSecurityDescriptorW(
 6208|       |            L"D:P(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;FA;;;OW)",
 6209|       |            SDDL_REVISION_1,
 6210|       |            &secAttr.lpSecurityDescriptor,
 6211|       |            &sdSize
 6212|       |        )) {
 6213|       |            error = GetLastError();
 6214|       |        }
 6215|       |    }
 6216|       |#endif
 6217|       |    if (!error) {
 6218|       |        result = CreateDirectoryW(path->wide, pSecAttr);
 6219|       |        if (secAttr.lpSecurityDescriptor &&
 6220|       |            // uncommonly, LocalFree returns non-zero on error, but still uses
 6221|       |            // GetLastError() to see what the error code is
 6222|       |            LocalFree(secAttr.lpSecurityDescriptor)) {
 6223|       |            error = GetLastError();
 6224|       |        }
 6225|       |    }
 6226|       |    Py_END_ALLOW_THREADS
 6227|       |
 6228|       |    if (error) {
 6229|       |        return PyErr_SetFromWindowsErr(error);
 6230|       |    }
 6231|       |    if (!result) {
 6232|       |        return path_error(path);
 6233|       |    }
 6234|       |#else
 6235|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 6236|      2|#if HAVE_MKDIRAT
 6237|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6237:9): [True: 0, False: 2]
  ------------------
 6238|      0|      if (HAVE_MKDIRAT_RUNTIME) {
  ------------------
  |  |  610|      0|#  define HAVE_MKDIRAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (610:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6239|      0|        result = mkdirat(dir_fd, path->narrow, mode);
 6240|       |
 6241|      0|      } else {
 6242|      0|        mkdirat_unavailable = 1;
 6243|      0|      }
 6244|      0|    } else
 6245|      2|#endif
 6246|       |#if defined(__WATCOMC__) && !defined(__QNX__)
 6247|       |        result = mkdir(path->narrow);
 6248|       |#else
 6249|      2|        result = mkdir(path->narrow, mode);
 6250|      2|#endif
 6251|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 6252|       |
 6253|      2|#if HAVE_MKDIRAT
 6254|      2|    if (mkdirat_unavailable) {
  ------------------
  |  Branch (6254:9): [True: 0, False: 2]
  ------------------
 6255|      0|        argument_unavailable_error(NULL, "dir_fd");
 6256|      0|        return NULL;
 6257|      0|    }
 6258|      2|#endif
 6259|       |
 6260|      2|    if (result < 0)
  ------------------
  |  Branch (6260:9): [True: 0, False: 2]
  ------------------
 6261|      0|        return path_error(path);
 6262|      2|#endif /* MS_WINDOWS */
 6263|      2|    Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6264|      2|}
posixmodule.c:os_readlink_impl:
10897|      2|{
10898|      2|#if defined(HAVE_READLINK)
10899|      2|    char buffer[MAXPATHLEN+1];
10900|      2|    ssize_t length;
10901|      2|#ifdef HAVE_READLINKAT
10902|      2|    int readlinkat_unavailable = 0;
10903|      2|#endif
10904|       |
10905|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
10906|      2|#ifdef HAVE_READLINKAT
10907|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (10907:9): [True: 0, False: 2]
  ------------------
10908|      0|        if (HAVE_READLINKAT_RUNTIME) {
  ------------------
  |  |  614|      0|#  define HAVE_READLINKAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (614:35): [True: 0, Folded]
  |  |  ------------------
  ------------------
10909|      0|            length = readlinkat(dir_fd, path->narrow, buffer, MAXPATHLEN);
10910|      0|        } else {
10911|      0|            readlinkat_unavailable = 1;
10912|      0|        }
10913|      0|    } else
10914|      2|#endif
10915|      2|        length = readlink(path->narrow, buffer, MAXPATHLEN);
10916|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
10917|       |
10918|      2|#ifdef HAVE_READLINKAT
10919|      2|    if (readlinkat_unavailable) {
  ------------------
  |  Branch (10919:9): [True: 0, False: 2]
  ------------------
10920|      0|        argument_unavailable_error(NULL, "dir_fd");
10921|      0|        return NULL;
10922|      0|    }
10923|      2|#endif
10924|       |
10925|      2|    if (length < 0) {
  ------------------
  |  Branch (10925:9): [True: 0, False: 2]
  ------------------
10926|      0|        return path_error(path);
10927|      0|    }
10928|      2|    buffer[length] = '\0';
10929|       |
10930|      2|    if (PyUnicode_Check(path->object))
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10931|      2|        return PyUnicode_DecodeFSDefaultAndSize(buffer, length);
10932|      0|    else
10933|      0|        return PyBytes_FromStringAndSize(buffer, length);
10934|       |#elif defined(MS_WINDOWS)
10935|       |    DWORD n_bytes_returned;
10936|       |    DWORD io_result = 0;
10937|       |    HANDLE reparse_point_handle;
10938|       |    char target_buffer[_Py_MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
10939|       |    _Py_REPARSE_DATA_BUFFER *rdb = (_Py_REPARSE_DATA_BUFFER *)target_buffer;
10940|       |    PyObject *result = NULL;
10941|       |
10942|       |    /* First get a handle to the reparse point */
10943|       |    Py_BEGIN_ALLOW_THREADS
10944|       |    reparse_point_handle = CreateFileW(
10945|       |        path->wide,
10946|       |        0,
10947|       |        0,
10948|       |        0,
10949|       |        OPEN_EXISTING,
10950|       |        FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS,
10951|       |        0);
10952|       |    if (reparse_point_handle != INVALID_HANDLE_VALUE) {
10953|       |        /* New call DeviceIoControl to read the reparse point */
10954|       |        io_result = DeviceIoControl(
10955|       |            reparse_point_handle,
10956|       |            FSCTL_GET_REPARSE_POINT,
10957|       |            0, 0, /* in buffer */
10958|       |            target_buffer, sizeof(target_buffer),
10959|       |            &n_bytes_returned,
10960|       |            0 /* we're not using OVERLAPPED_IO */
10961|       |            );
10962|       |        CloseHandle(reparse_point_handle);
10963|       |    }
10964|       |    Py_END_ALLOW_THREADS
10965|       |
10966|       |    if (io_result == 0) {
10967|       |        return path_error(path);
10968|       |    }
10969|       |
10970|       |    wchar_t *name = NULL;
10971|       |    Py_ssize_t nameLen = 0;
10972|       |    if (rdb->ReparseTag == IO_REPARSE_TAG_SYMLINK)
10973|       |    {
10974|       |        name = (wchar_t *)((char*)rdb->SymbolicLinkReparseBuffer.PathBuffer +
10975|       |                           rdb->SymbolicLinkReparseBuffer.SubstituteNameOffset);
10976|       |        nameLen = rdb->SymbolicLinkReparseBuffer.SubstituteNameLength / sizeof(wchar_t);
10977|       |    }
10978|       |    else if (rdb->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT)
10979|       |    {
10980|       |        name = (wchar_t *)((char*)rdb->MountPointReparseBuffer.PathBuffer +
10981|       |                           rdb->MountPointReparseBuffer.SubstituteNameOffset);
10982|       |        nameLen = rdb->MountPointReparseBuffer.SubstituteNameLength / sizeof(wchar_t);
10983|       |    }
10984|       |    else
10985|       |    {
10986|       |        PyErr_SetString(PyExc_ValueError, "not a symbolic link");
10987|       |    }
10988|       |    if (name) {
10989|       |        if (nameLen > 4 && wcsncmp(name, L"\\??\\", 4) == 0) {
10990|       |            /* Our buffer is mutable, so this is okay */
10991|       |            name[1] = L'\\';
10992|       |        }
10993|       |        result = PyUnicode_FromWideChar(name, nameLen);
10994|       |        if (result && PyBytes_Check(path->object)) {
10995|       |            Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
10996|       |        }
10997|       |    }
10998|       |    return result;
10999|       |#endif
11000|      2|}
posixmodule.c:os_rename_impl:
 6455|      2|{
 6456|      2|    return internal_rename(src, dst, src_dir_fd, dst_dir_fd, 0);
 6457|      2|}
posixmodule.c:internal_rename:
 6365|      2|{
 6366|      2|    const char *function_name = is_replace ? "replace" : "rename";
  ------------------
  |  Branch (6366:33): [True: 0, False: 2]
  ------------------
 6367|      2|    int dir_fd_specified;
 6368|       |
 6369|      2|#ifdef HAVE_RENAMEAT
 6370|      2|    int renameat_unavailable = 0;
 6371|      2|#endif
 6372|       |
 6373|       |#ifdef MS_WINDOWS
 6374|       |    BOOL result;
 6375|       |    int flags = is_replace ? MOVEFILE_REPLACE_EXISTING : 0;
 6376|       |#else
 6377|      2|    int result;
 6378|      2|#endif
 6379|       |
 6380|      2|    dir_fd_specified = (src_dir_fd != DEFAULT_DIR_FD) ||
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6380:24): [True: 0, False: 2]
  ------------------
 6381|      2|                       (dst_dir_fd != DEFAULT_DIR_FD);
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6381:24): [True: 0, False: 2]
  ------------------
 6382|       |#ifndef HAVE_RENAMEAT
 6383|       |    if (dir_fd_specified) {
 6384|       |        argument_unavailable_error(function_name, "src_dir_fd and dst_dir_fd");
 6385|       |        return NULL;
 6386|       |    }
 6387|       |#endif
 6388|       |
 6389|      2|    if (PySys_Audit("os.rename", "OOii", src->object, dst->object,
  ------------------
  |  Branch (6389:9): [True: 0, False: 2]
  ------------------
 6390|      2|                    src_dir_fd == DEFAULT_DIR_FD ? -1 : src_dir_fd,
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6390:21): [True: 2, False: 0]
  ------------------
 6391|      2|                    dst_dir_fd == DEFAULT_DIR_FD ? -1 : dst_dir_fd) < 0) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6391:21): [True: 2, False: 0]
  ------------------
 6392|      0|        return NULL;
 6393|      0|    }
 6394|       |
 6395|       |#ifdef MS_WINDOWS
 6396|       |    Py_BEGIN_ALLOW_THREADS
 6397|       |    result = MoveFileExW(src->wide, dst->wide, flags);
 6398|       |    Py_END_ALLOW_THREADS
 6399|       |
 6400|       |    if (!result)
 6401|       |        return path_error2(src, dst);
 6402|       |
 6403|       |#else
 6404|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 6405|      2|#ifdef HAVE_RENAMEAT
 6406|      2|    if (dir_fd_specified) {
  ------------------
  |  Branch (6406:9): [True: 0, False: 2]
  ------------------
 6407|      0|        if (HAVE_RENAMEAT_RUNTIME) {
  ------------------
  |  |  611|      0|#  define HAVE_RENAMEAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (611:33): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6408|      0|            result = renameat(src_dir_fd, src->narrow, dst_dir_fd, dst->narrow);
 6409|      0|        } else {
 6410|      0|            renameat_unavailable = 1;
 6411|      0|        }
 6412|      0|    } else
 6413|      2|#endif
 6414|      2|    result = rename(src->narrow, dst->narrow);
 6415|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 6416|       |
 6417|       |
 6418|      2|#ifdef HAVE_RENAMEAT
 6419|      2|    if (renameat_unavailable) {
  ------------------
  |  Branch (6419:9): [True: 0, False: 2]
  ------------------
 6420|      0|        argument_unavailable_error(function_name, "src_dir_fd and dst_dir_fd");
 6421|      0|        return NULL;
 6422|      0|    }
 6423|      2|#endif
 6424|       |
 6425|      2|    if (result)
  ------------------
  |  Branch (6425:9): [True: 0, False: 2]
  ------------------
 6426|      0|        return path_error2(src, dst);
 6427|      2|#endif
 6428|      2|    Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6429|      2|}
posixmodule.c:os_rmdir_impl:
 6501|      4|{
 6502|      4|    int result;
 6503|      4|#ifdef HAVE_UNLINKAT
 6504|      4|    int unlinkat_unavailable = 0;
 6505|      4|#endif
 6506|       |
 6507|      4|    if (PySys_Audit("os.rmdir", "Oi", path->object,
  ------------------
  |  Branch (6507:9): [True: 0, False: 4]
  ------------------
 6508|      4|                    dir_fd == DEFAULT_DIR_FD ? -1 : dir_fd) < 0) {
  ------------------
  |  | 1138|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6508:21): [True: 4, False: 0]
  ------------------
 6509|      0|        return NULL;
 6510|      0|    }
 6511|       |
 6512|      4|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      4|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      4|                        PyThreadState *_save; \
  |  |  121|      4|                        _save = PyEval_SaveThread();
  ------------------
 6513|       |#ifdef MS_WINDOWS
 6514|       |    /* Windows, success=1, UNIX, success=0 */
 6515|       |    result = !RemoveDirectoryW(path->wide);
 6516|       |#else
 6517|      4|#ifdef HAVE_UNLINKAT
 6518|      4|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6518:9): [True: 0, False: 4]
  ------------------
 6519|      0|      if (HAVE_UNLINKAT_RUNTIME) {
  ------------------
  |  |  612|      0|#  define HAVE_UNLINKAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (612:33): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6520|      0|        result = unlinkat(dir_fd, path->narrow, AT_REMOVEDIR);
 6521|      0|      } else {
 6522|      0|        unlinkat_unavailable = 1;
 6523|      0|        result = -1;
 6524|      0|      }
 6525|      0|    } else
 6526|      4|#endif
 6527|      4|        result = rmdir(path->narrow);
 6528|      4|#endif
 6529|      4|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      4|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      4|                 }
  ------------------
 6530|       |
 6531|      4|#ifdef HAVE_UNLINKAT
 6532|      4|    if (unlinkat_unavailable) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 4]
  ------------------
 6533|      0|        argument_unavailable_error("rmdir", "dir_fd");
 6534|      0|        return NULL;
 6535|      0|    }
 6536|      4|#endif
 6537|       |
 6538|      4|    if (result)
  ------------------
  |  Branch (6538:9): [True: 2, False: 2]
  ------------------
 6539|      2|        return path_error(path);
 6540|       |
 6541|      2|    Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6542|      4|}
posixmodule.c:os_uname_impl:
 6786|      2|{
 6787|      2|    struct utsname u;
 6788|      2|    int res;
 6789|      2|    PyObject *value;
 6790|       |
 6791|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 6792|      2|    res = uname(&u);
 6793|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 6794|      2|    if (res < 0)
  ------------------
  |  Branch (6794:9): [True: 0, False: 2]
  ------------------
 6795|      0|        return posix_error();
 6796|       |
 6797|      2|    PyObject *UnameResultType = get_posix_state(module)->UnameResultType;
 6798|      2|    value = PyStructSequence_New((PyTypeObject *)UnameResultType);
 6799|      2|    if (value == NULL)
  ------------------
  |  Branch (6799:9): [True: 0, False: 2]
  ------------------
 6800|      0|        return NULL;
 6801|       |
 6802|      2|#define SET(i, field) \
 6803|      2|    { \
 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
 6805|      2|    if (!o) { \
 6806|      2|        Py_DECREF(value); \
 6807|      2|        return NULL; \
 6808|      2|    } \
 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
 6810|      2|    } \
 6811|      2|
 6812|      4|    SET(0, u.sysname);
  ------------------
  |  | 6803|      2|    { \
  |  | 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6805|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6805:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6806|      0|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6807|      0|        return NULL; \
  |  | 6808|      0|    } \
  |  | 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6810|      2|    } \
  ------------------
 6813|      4|    SET(1, u.nodename);
  ------------------
  |  | 6803|      2|    { \
  |  | 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6805|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6805:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6806|      0|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6807|      0|        return NULL; \
  |  | 6808|      0|    } \
  |  | 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6810|      2|    } \
  ------------------
 6814|      2|    SET(2, u.release);
  ------------------
  |  | 6803|      2|    { \
  |  | 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6805|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6805:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6806|      0|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6807|      0|        return NULL; \
  |  | 6808|      0|    } \
  |  | 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6810|      2|    } \
  ------------------
 6815|      2|    SET(3, u.version);
  ------------------
  |  | 6803|      2|    { \
  |  | 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6805|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6805:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6806|      0|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6807|      0|        return NULL; \
  |  | 6808|      0|    } \
  |  | 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6810|      2|    } \
  ------------------
 6816|      2|    SET(4, u.machine);
  ------------------
  |  | 6803|      2|    { \
  |  | 6804|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6805|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6805:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6806|      0|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6807|      0|        return NULL; \
  |  | 6808|      0|    } \
  |  | 6809|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6810|      2|    } \
  ------------------
 6817|       |
 6818|      2|#undef SET
 6819|       |
 6820|      2|    return value;
 6821|      2|}
posixmodule.c:os_register_at_fork_impl:
 8438|     10|{
 8439|     10|    PyInterpreterState *interp;
 8440|       |
 8441|     10|    if (!before && !after_in_child && !after_in_parent) {
  ------------------
  |  Branch (8441:9): [True: 8, False: 2]
  |  Branch (8441:20): [True: 0, False: 8]
  |  Branch (8441:39): [True: 0, False: 0]
  ------------------
 8442|      0|        PyErr_SetString(PyExc_TypeError, "At least one argument is required.");
 8443|      0|        return NULL;
 8444|      0|    }
 8445|     10|    if (check_null_or_callable(before, "before") ||
  ------------------
  |  Branch (8445:9): [True: 0, False: 10]
  ------------------
 8446|     10|        check_null_or_callable(after_in_child, "after_in_child") ||
  ------------------
  |  Branch (8446:9): [True: 0, False: 10]
  ------------------
 8447|     10|        check_null_or_callable(after_in_parent, "after_in_parent")) {
  ------------------
  |  Branch (8447:9): [True: 0, False: 10]
  ------------------
 8448|      0|        return NULL;
 8449|      0|    }
 8450|     10|    interp = _PyInterpreterState_GET();
 8451|       |
 8452|     10|    if (register_at_forker(&interp->before_forkers, before)) {
  ------------------
  |  Branch (8452:9): [True: 0, False: 10]
  ------------------
 8453|      0|        return NULL;
 8454|      0|    }
 8455|     10|    if (register_at_forker(&interp->after_forkers_child, after_in_child)) {
  ------------------
  |  Branch (8455:9): [True: 0, False: 10]
  ------------------
 8456|      0|        return NULL;
 8457|      0|    }
 8458|     10|    if (register_at_forker(&interp->after_forkers_parent, after_in_parent)) {
  ------------------
  |  Branch (8458:9): [True: 0, False: 10]
  ------------------
 8459|      0|        return NULL;
 8460|      0|    }
 8461|     10|    Py_RETURN_NONE;
  ------------------
  |  |  628|     10|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8462|     10|}
posixmodule.c:check_null_or_callable:
 8407|     30|{
 8408|     30|    if (obj && !PyCallable_Check(obj)) {
  ------------------
  |  Branch (8408:9): [True: 14, False: 16]
  |  Branch (8408:16): [True: 0, False: 14]
  ------------------
 8409|      0|        PyErr_Format(PyExc_TypeError, "'%s' must be callable, not %s",
 8410|      0|                     obj_name, _PyType_Name(Py_TYPE(obj)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8411|      0|        return -1;
 8412|      0|    }
 8413|     30|    return 0;
 8414|     30|}
posixmodule.c:register_at_forker:
  806|     30|{
  807|     30|    if (func == NULL)  /* nothing to register? do nothing. */
  ------------------
  |  Branch (807:9): [True: 16, False: 14]
  ------------------
  808|     16|        return 0;
  809|     14|    if (*lst == NULL) {
  ------------------
  |  Branch (809:9): [True: 6, False: 8]
  ------------------
  810|      6|        *lst = PyList_New(0);
  811|      6|        if (*lst == NULL)
  ------------------
  |  Branch (811:13): [True: 0, False: 6]
  ------------------
  812|      0|            return -1;
  813|      6|    }
  814|     14|    return PyList_Append(*lst, func);
  815|     14|}
posixmodule.c:os_getegid_impl:
 9564|      2|{
 9565|      2|    return _PyLong_FromGid(getegid());
 9566|      2|}
posixmodule.c:os_geteuid_impl:
 9580|      2|{
 9581|      2|    return _PyLong_FromUid(geteuid());
 9582|      2|}
posixmodule.c:os_getgid_impl:
 9596|      2|{
 9597|      2|    return _PyLong_FromGid(getgid());
 9598|      2|}
posixmodule.c:os_getpid_impl:
 9612|      4|{
 9613|      4|#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 9614|      4|    return PyLong_FromPid(getpid());
  ------------------
  |  |  106|      4|#define PyLong_FromPid PyLong_FromLong
  ------------------
 9615|       |#else
 9616|       |    return PyLong_FromUnsignedLong(GetCurrentProcessId());
 9617|       |#endif
 9618|      4|}
posixmodule.c:os_getuid_impl:
10127|      2|{
10128|      2|    return _PyLong_FromUid(getuid());
10129|      2|}
posixmodule.c:os_pidfd_open_impl:
10779|      2|{
10780|      2|    int fd = syscall(__NR_pidfd_open, pid, flags);
10781|      2|    if (fd < 0) {
  ------------------
  |  Branch (10781:9): [True: 0, False: 2]
  ------------------
10782|      0|        return posix_error();
10783|      0|    }
10784|      2|    return PyLong_FromLong(fd);
10785|      2|}
posixmodule.c:os_open_impl:
11680|      2|{
11681|      2|    int fd;
11682|      2|    int async_err = 0;
11683|      2|#ifdef HAVE_OPENAT
11684|      2|    int openat_unavailable = 0;
11685|      2|#endif
11686|       |
11687|      2|#ifdef O_CLOEXEC
11688|      2|    int *atomic_flag_works = &_Py_open_cloexec_works;
11689|       |#elif !defined(MS_WINDOWS)
11690|       |    int *atomic_flag_works = NULL;
11691|       |#endif
11692|       |
11693|       |#ifdef MS_WINDOWS
11694|       |    flags |= O_NOINHERIT;
11695|       |#elif defined(O_CLOEXEC)
11696|      2|    flags |= O_CLOEXEC;
11697|      2|#endif
11698|       |
11699|      2|    if (PySys_Audit("open", "OOi", path->object, Py_None, flags) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11699:9): [True: 0, False: 2]
  ------------------
11700|      0|        return -1;
11701|      0|    }
11702|       |
11703|      2|    _Py_BEGIN_SUPPRESS_IPH
11704|      2|    do {
11705|      2|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
11706|       |#ifdef MS_WINDOWS
11707|       |        fd = _wopen(path->wide, flags, mode);
11708|       |#else
11709|      2|#ifdef HAVE_OPENAT
11710|      2|        if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (11710:13): [True: 0, False: 2]
  ------------------
11711|      0|            if (HAVE_OPENAT_RUNTIME) {
  ------------------
  |  |  613|      0|#  define HAVE_OPENAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (613:31): [True: 0, Folded]
  |  |  ------------------
  ------------------
11712|      0|                fd = openat(dir_fd, path->narrow, flags, mode);
11713|       |
11714|      0|            } else {
11715|      0|                openat_unavailable = 1;
11716|      0|                fd = -1;
11717|      0|            }
11718|      0|        } else
11719|      2|#endif /* HAVE_OPENAT */
11720|      2|            fd = open(path->narrow, flags, mode);
11721|      2|#endif /* !MS_WINDOWS */
11722|      2|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
11723|      2|    } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (11723:14): [True: 0, False: 2]
  |  Branch (11723:24): [True: 0, False: 0]
  |  Branch (11723:42): [True: 0, False: 0]
  ------------------
11724|      2|    _Py_END_SUPPRESS_IPH
11725|       |
11726|      2|#ifdef HAVE_OPENAT
11727|      2|    if (openat_unavailable) {
  ------------------
  |  Branch (11727:9): [True: 0, False: 2]
  ------------------
11728|      0|        argument_unavailable_error(NULL, "dir_fd");
11729|      0|        return -1;
11730|      0|    }
11731|      2|#endif
11732|       |
11733|      2|    if (fd < 0) {
  ------------------
  |  Branch (11733:9): [True: 0, False: 2]
  ------------------
11734|      0|        if (!async_err)
  ------------------
  |  Branch (11734:13): [True: 0, False: 0]
  ------------------
11735|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path->object);
11736|      0|        return -1;
11737|      0|    }
11738|       |
11739|      2|#ifndef MS_WINDOWS
11740|      2|    if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) {
  ------------------
  |  Branch (11740:9): [True: 0, False: 2]
  ------------------
11741|      0|        close(fd);
11742|      0|        return -1;
11743|      0|    }
11744|      2|#endif
11745|       |
11746|      2|    return fd;
11747|      2|}
posixmodule.c:os_close_impl:
11761|      4|{
11762|      4|    int res;
11763|       |    /* We do not want to retry upon EINTR: see http://lwn.net/Articles/576478/
11764|       |     * and http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html
11765|       |     * for more details.
11766|       |     */
11767|      4|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      4|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      4|                        PyThreadState *_save; \
  |  |  121|      4|                        _save = PyEval_SaveThread();
  ------------------
11768|      4|    _Py_BEGIN_SUPPRESS_IPH
11769|      4|    res = close(fd);
11770|      4|    _Py_END_SUPPRESS_IPH
11771|      4|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      4|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      4|                 }
  ------------------
11772|      4|    if (res < 0)
  ------------------
  |  Branch (11772:9): [True: 0, False: 4]
  ------------------
11773|      0|        return posix_error();
11774|      4|    Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
11775|      4|}
posixmodule.c:conv_confname:
14223|      4|{
14224|      4|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14225|      4|        PyObject *table = PyObject_GetAttrString(module, tablename);
14226|      4|        if (table == NULL) {
  ------------------
  |  Branch (14226:13): [True: 0, False: 4]
  ------------------
14227|      0|            return 0;
14228|      0|        }
14229|       |
14230|      4|        arg = PyObject_GetItem(table, arg);
14231|      4|        Py_DECREF(table);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14232|      4|        if (arg == NULL) {
  ------------------
  |  Branch (14232:13): [True: 0, False: 4]
  ------------------
14233|      0|            PyErr_SetString(
14234|      0|                PyExc_ValueError, "unrecognized configuration name");
14235|      0|            return 0;
14236|      0|        }
14237|      4|    } else {
14238|      0|        Py_INCREF(arg);  // Match the Py_DECREF below.
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14239|      0|    }
14240|       |
14241|      4|    int success = 0;
14242|      4|    if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (14242:9): [True: 0, False: 4]
  ------------------
14243|      0|        PyErr_SetString(PyExc_TypeError,
14244|      0|            "configuration names must be strings or integers");
14245|      4|    } else {
14246|      4|        int value = PyLong_AsInt(arg);
14247|      4|        if (!(value == -1 && PyErr_Occurred())) {
  ------------------
  |  Branch (14247:15): [True: 0, False: 4]
  |  Branch (14247:30): [True: 0, False: 0]
  ------------------
14248|      4|            *valuep = value;
14249|      4|            success = 1;
14250|      4|        }
14251|      4|    }
14252|      4|    Py_DECREF(arg);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14253|      4|    return success;
14254|      4|}
posixmodule.c:os_confstr_impl:
14583|      2|{
14584|      2|    PyObject *result = NULL;
14585|      2|    char buffer[255];
14586|      2|    size_t len;
14587|       |
14588|      2|    errno = 0;
14589|      2|    len = confstr(name, buffer, sizeof(buffer));
14590|      2|    if (len == 0) {
  ------------------
  |  Branch (14590:9): [True: 0, False: 2]
  ------------------
14591|      0|        if (errno) {
  ------------------
  |  Branch (14591:13): [True: 0, False: 0]
  ------------------
14592|      0|            posix_error();
14593|      0|            return NULL;
14594|      0|        }
14595|      0|        else {
14596|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
14597|      0|        }
14598|      0|    }
14599|       |
14600|      2|    if (len >= sizeof(buffer)) {
  ------------------
  |  Branch (14600:9): [True: 0, False: 2]
  ------------------
14601|      0|        size_t len2;
14602|      0|        char *buf = PyMem_Malloc(len);
14603|      0|        if (buf == NULL)
  ------------------
  |  Branch (14603:13): [True: 0, False: 0]
  ------------------
14604|      0|            return PyErr_NoMemory();
14605|      0|        len2 = confstr(name, buf, len);
14606|      0|        assert(len == len2);
14607|      0|        result = PyUnicode_DecodeFSDefaultAndSize(buf, len2-1);
14608|      0|        PyMem_Free(buf);
14609|      0|    }
14610|      2|    else
14611|      2|        result = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
14612|      2|    return result;
14613|      2|}
posixmodule.c:os_sysconf_impl:
15131|      2|{
15132|      2|    long value;
15133|       |
15134|      2|    errno = 0;
15135|      2|    value = sysconf(name);
15136|      2|    if (value == -1 && errno != 0)
  ------------------
  |  Branch (15136:9): [True: 0, False: 2]
  |  Branch (15136:24): [True: 0, False: 0]
  ------------------
15137|      0|        posix_error();
15138|      2|    return value;
15139|      2|}
posixmodule.c:os__path_splitroot_ex_impl:
 6084|    466|{
 6085|    466|    Py_ssize_t drvsize, rootsize;
 6086|    466|    PyObject *drv = NULL, *root = NULL, *tail = NULL, *result = NULL;
 6087|       |
 6088|    466|    const wchar_t *buffer = path->wide;
 6089|    466|    _Py_skiproot(buffer, path->length, &drvsize, &rootsize);
 6090|    466|    drv = PyUnicode_FromWideChar(buffer, drvsize);
 6091|    466|    if (drv == NULL) {
  ------------------
  |  Branch (6091:9): [True: 0, False: 466]
  ------------------
 6092|      0|        goto exit;
 6093|      0|    }
 6094|    466|    root = PyUnicode_FromWideChar(&buffer[drvsize], rootsize);
 6095|    466|    if (root == NULL) {
  ------------------
  |  Branch (6095:9): [True: 0, False: 466]
  ------------------
 6096|      0|        goto exit;
 6097|      0|    }
 6098|    466|    tail = PyUnicode_FromWideChar(&buffer[drvsize + rootsize],
 6099|    466|                                  path->length - drvsize - rootsize);
 6100|    466|    if (tail == NULL) {
  ------------------
  |  Branch (6100:9): [True: 0, False: 466]
  ------------------
 6101|      0|        goto exit;
 6102|      0|    }
 6103|    466|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|    466|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    466|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 466]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6104|      0|        Py_SETREF(drv, PyUnicode_EncodeFSDefault(drv));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6105|      0|        if (drv == NULL) {
  ------------------
  |  Branch (6105:13): [True: 0, False: 0]
  ------------------
 6106|      0|            goto exit;
 6107|      0|        }
 6108|      0|        Py_SETREF(root, PyUnicode_EncodeFSDefault(root));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6109|      0|        if (root == NULL) {
  ------------------
  |  Branch (6109:13): [True: 0, False: 0]
  ------------------
 6110|      0|            goto exit;
 6111|      0|        }
 6112|      0|        Py_SETREF(tail, PyUnicode_EncodeFSDefault(tail));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6113|      0|        if (tail == NULL) {
  ------------------
  |  Branch (6113:13): [True: 0, False: 0]
  ------------------
 6114|      0|            goto exit;
 6115|      0|        }
 6116|      0|    }
 6117|    466|    result = PyTuple_Pack(3, drv, root, tail);
 6118|    466|exit:
 6119|    466|    Py_XDECREF(drv);
  ------------------
  |  |  524|    466|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6120|    466|    Py_XDECREF(root);
  ------------------
  |  |  524|    466|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6121|    466|    Py_XDECREF(tail);
  ------------------
  |  |  524|    466|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6122|    466|    return result;
 6123|    466|}
posixmodule.c:os__path_normpath_impl:
 6137|    122|{
 6138|    122|    PyObject *result;
 6139|    122|    Py_ssize_t norm_len;
 6140|    122|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6141|    122|                                               path->length, &norm_len);
 6142|    122|    if (!norm_len) {
  ------------------
  |  Branch (6142:9): [True: 0, False: 122]
  ------------------
 6143|      0|        result = PyUnicode_FromOrdinal('.');
 6144|      0|    }
 6145|    122|    else {
 6146|    122|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6147|    122|    }
 6148|    122|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|    122|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    122|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 122]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6149|      0|        Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6150|      0|    }
 6151|    122|    return result;
 6152|    122|}
posixmodule.c:os_fspath_impl:
17213|  4.09k|{
17214|  4.09k|    return PyOS_FSPath(path);
17215|  4.09k|}
posixmodule.c:convertenviron:
 1792|      2|{
 1793|      2|    PyObject *d;
 1794|       |#ifdef MS_WINDOWS
 1795|       |    wchar_t **e;
 1796|       |#else
 1797|      2|    char **e;
 1798|      2|#endif
 1799|       |
 1800|      2|    d = PyDict_New();
 1801|      2|    if (d == NULL)
  ------------------
  |  Branch (1801:9): [True: 0, False: 2]
  ------------------
 1802|      0|        return NULL;
 1803|       |#ifdef MS_WINDOWS
 1804|       |    /* _wenviron must be initialized in this way if the program is started
 1805|       |       through main() instead of wmain(). */
 1806|       |    (void)_wgetenv(L"");
 1807|       |    e = _wenviron;
 1808|       |#elif defined(USE_DARWIN_NS_GET_ENVIRON)
 1809|       |    /* environ is not accessible as an extern in a shared object on OSX; use
 1810|       |       _NSGetEnviron to resolve it. The value changes if you add environment
 1811|       |       variables between calls to Py_Initialize, so don't cache the value. */
 1812|       |    e = *_NSGetEnviron();
 1813|       |#else
 1814|      2|    e = environ;
 1815|      2|#endif
 1816|      2|    if (e == NULL)
  ------------------
  |  Branch (1816:9): [True: 0, False: 2]
  ------------------
 1817|      0|        return d;
 1818|     70|    for (; *e != NULL; e++) {
  ------------------
  |  Branch (1818:12): [True: 68, False: 2]
  ------------------
 1819|     68|        PyObject *k;
 1820|     68|        PyObject *v;
 1821|       |#ifdef MS_WINDOWS
 1822|       |        const wchar_t *p = wcschr(*e, L'=');
 1823|       |#else
 1824|     68|        const char *p = strchr(*e, '=');
 1825|     68|#endif
 1826|     68|        if (p == NULL)
  ------------------
  |  Branch (1826:13): [True: 0, False: 68]
  ------------------
 1827|      0|            continue;
 1828|       |#ifdef MS_WINDOWS
 1829|       |        k = PyUnicode_FromWideChar(*e, (Py_ssize_t)(p-*e));
 1830|       |#else
 1831|     68|        k = PyBytes_FromStringAndSize(*e, (Py_ssize_t)(p-*e));
 1832|     68|#endif
 1833|     68|        if (k == NULL) {
  ------------------
  |  Branch (1833:13): [True: 0, False: 68]
  ------------------
 1834|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|      0|            return NULL;
 1836|      0|        }
 1837|       |#ifdef MS_WINDOWS
 1838|       |        v = PyUnicode_FromWideChar(p+1, -1);
 1839|       |#else
 1840|     68|        v = PyBytes_FromStringAndSize(p+1, strlen(p+1));
 1841|     68|#endif
 1842|     68|        if (v == NULL) {
  ------------------
  |  Branch (1842:13): [True: 0, False: 68]
  ------------------
 1843|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1845|      0|            return NULL;
 1846|      0|        }
 1847|     68|        if (PyDict_SetDefaultRef(d, k, v, NULL) < 0) {
  ------------------
  |  Branch (1847:13): [True: 0, False: 68]
  ------------------
 1848|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1851|      0|            return NULL;
 1852|      0|        }
 1853|     68|        Py_DECREF(k);
  ------------------
  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1854|     68|        Py_DECREF(v);
  ------------------
  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|     68|    }
 1856|      2|    return d;
 1857|      2|}
posixmodule.c:posixmodule_exec:
18711|      2|{
18712|      2|    _posixstate *state = get_posix_state(m);
18713|       |
18714|      2|#if defined(HAVE_PWRITEV)
18715|      2|    if (HAVE_PWRITEV_RUNTIME) {} else {
  ------------------
  |  |  618|      2|#  define HAVE_PWRITEV_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (618:32): [True: 2, Folded]
  |  |  ------------------
  ------------------
18716|      0|        PyObject* dct = PyModule_GetDict(m);
18717|       |
18718|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18718:13): [True: 0, False: 0]
  ------------------
18719|      0|            return -1;
18720|      0|        }
18721|       |
18722|      0|        if (PyDict_PopString(dct, "pwritev", NULL) < 0) {
  ------------------
  |  Branch (18722:13): [True: 0, False: 0]
  ------------------
18723|      0|            return -1;
18724|      0|        }
18725|      0|        if (PyDict_PopString(dct, "preadv", NULL) < 0) {
  ------------------
  |  Branch (18725:13): [True: 0, False: 0]
  ------------------
18726|      0|            return -1;
18727|      0|        }
18728|      0|    }
18729|      2|#endif
18730|       |
18731|      2|#ifdef HAVE_STATX
18732|      2|    if (statx == NULL) {
  ------------------
  |  Branch (18732:9): [True: 0, False: 2]
  ------------------
18733|      0|        PyObject* dct = PyModule_GetDict(m);
18734|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18734:13): [True: 0, False: 0]
  ------------------
18735|      0|            return -1;
18736|      0|        }
18737|      0|        if (PyDict_PopString(dct, "statx", NULL) < 0) {
  ------------------
  |  Branch (18737:13): [True: 0, False: 0]
  ------------------
18738|      0|            return -1;
18739|      0|        }
18740|      0|    }
18741|      2|    else {
18742|      2|        state->StatxResultType = PyType_FromModuleAndSpec(m, &pystatx_result_spec, NULL);
18743|      2|        if (PyModule_AddObjectRef(m, "statx_result", state->StatxResultType) < 0) {
  ------------------
  |  Branch (18743:13): [True: 0, False: 2]
  ------------------
18744|      0|            return -1;
18745|      0|        }
18746|      2|    }
18747|      2|#endif
18748|       |
18749|       |    /* Initialize environ dictionary */
18750|      2|    if (PyModule_Add(m, "environ", convertenviron()) != 0) {
  ------------------
  |  Branch (18750:9): [True: 0, False: 2]
  ------------------
18751|      0|        return -1;
18752|      0|    }
18753|       |
18754|      2|    if (all_ins(m))
  ------------------
  |  Branch (18754:9): [True: 0, False: 2]
  ------------------
18755|      0|        return -1;
18756|       |
18757|      2|    if (setup_confname_tables(m))
  ------------------
  |  Branch (18757:9): [True: 0, False: 2]
  ------------------
18758|      0|        return -1;
18759|       |
18760|      2|    if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
  ------------------
  |  Branch (18760:9): [True: 0, False: 2]
  ------------------
18761|      0|        return -1;
18762|      0|    }
18763|       |
18764|      2|#if defined(HAVE_WAITID)
18765|      2|    state->WaitidResultType = (PyObject *)PyStructSequence_NewType(&waitid_result_desc);
18766|      2|    if (PyModule_AddObjectRef(m, "waitid_result", state->WaitidResultType) < 0) {
  ------------------
  |  Branch (18766:9): [True: 0, False: 2]
  ------------------
18767|      0|        return -1;
18768|      0|    }
18769|      2|#endif
18770|       |
18771|      2|    stat_result_desc.fields[7].name = PyStructSequence_UnnamedField;
18772|      2|    stat_result_desc.fields[8].name = PyStructSequence_UnnamedField;
18773|      2|    stat_result_desc.fields[9].name = PyStructSequence_UnnamedField;
18774|      2|    state->StatResultType = (PyObject *)PyStructSequence_NewType(&stat_result_desc);
18775|      2|    if (PyModule_AddObjectRef(m, "stat_result", state->StatResultType) < 0) {
  ------------------
  |  Branch (18775:9): [True: 0, False: 2]
  ------------------
18776|      0|        return -1;
18777|      0|    }
18778|      2|    state->statresult_new_orig = ((PyTypeObject *)state->StatResultType)->tp_new;
18779|      2|    ((PyTypeObject *)state->StatResultType)->tp_new = statresult_new;
18780|       |
18781|      2|    state->StatVFSResultType = (PyObject *)PyStructSequence_NewType(&statvfs_result_desc);
18782|      2|    if (PyModule_AddObjectRef(m, "statvfs_result", state->StatVFSResultType) < 0) {
  ------------------
  |  Branch (18782:9): [True: 0, False: 2]
  ------------------
18783|      0|        return -1;
18784|      0|    }
18785|       |
18786|      2|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
18787|      2|    state->SchedParamType = (PyObject *)PyStructSequence_NewType(&sched_param_desc);
18788|      2|    if (PyModule_AddObjectRef(m, "sched_param", state->SchedParamType) < 0) {
  ------------------
  |  Branch (18788:9): [True: 0, False: 2]
  ------------------
18789|      0|        return -1;
18790|      0|    }
18791|      2|    ((PyTypeObject *)state->SchedParamType)->tp_new = os_sched_param;
18792|      2|    if (_PyType_AddMethod((PyTypeObject *)state->SchedParamType,
  ------------------
  |  Branch (18792:9): [True: 0, False: 2]
  ------------------
18793|      2|                          &os_sched_param_reduce_method) < 0)
18794|      0|    {
18795|      0|        return -1;
18796|      0|    }
18797|      2|    PyType_Modified((PyTypeObject *)state->SchedParamType);
18798|      2|#endif
18799|       |
18800|       |    /* initialize TerminalSize_info */
18801|      2|    state->TerminalSizeType = (PyObject *)PyStructSequence_NewType(&TerminalSize_desc);
18802|      2|    if (PyModule_AddObjectRef(m, "terminal_size", state->TerminalSizeType) < 0) {
  ------------------
  |  Branch (18802:9): [True: 0, False: 2]
  ------------------
18803|      0|        return -1;
18804|      0|    }
18805|       |
18806|       |    /* initialize scandir types */
18807|      2|    PyObject *ScandirIteratorType = PyType_FromModuleAndSpec(m, &ScandirIteratorType_spec, NULL);
18808|      2|    if (ScandirIteratorType == NULL) {
  ------------------
  |  Branch (18808:9): [True: 0, False: 2]
  ------------------
18809|      0|        return -1;
18810|      0|    }
18811|      2|    state->ScandirIteratorType = ScandirIteratorType;
18812|       |
18813|      2|    state->DirEntryType = PyType_FromModuleAndSpec(m, &DirEntryType_spec, NULL);
18814|      2|    if (PyModule_AddObjectRef(m, "DirEntry", state->DirEntryType) < 0) {
  ------------------
  |  Branch (18814:9): [True: 0, False: 2]
  ------------------
18815|      0|        return -1;
18816|      0|    }
18817|       |
18818|      2|    state->TimesResultType = (PyObject *)PyStructSequence_NewType(&times_result_desc);
18819|      2|    if (PyModule_AddObjectRef(m, "times_result", state->TimesResultType) < 0) {
  ------------------
  |  Branch (18819:9): [True: 0, False: 2]
  ------------------
18820|      0|        return -1;
18821|      0|    }
18822|       |
18823|      2|    state->UnameResultType = (PyObject *)PyStructSequence_NewType(&uname_result_desc);
18824|      2|    if (PyModule_AddObjectRef(m, "uname_result", state->UnameResultType) < 0) {
  ------------------
  |  Branch (18824:9): [True: 0, False: 2]
  ------------------
18825|      0|        return -1;
18826|      0|    }
18827|       |
18828|      2|    if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
  ------------------
  |  Branch (18828:9): [True: 0, False: 2]
  ------------------
18829|      0|        return -1;
18830|      2|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
18831|      2|    state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
18832|      2|    if (state->struct_rusage == NULL)
  ------------------
  |  Branch (18832:9): [True: 0, False: 2]
  ------------------
18833|      0|        return -1;
18834|      2|#endif
18835|      2|    state->st_mode = PyUnicode_InternFromString("st_mode");
18836|      2|    if (state->st_mode == NULL)
  ------------------
  |  Branch (18836:9): [True: 0, False: 2]
  ------------------
18837|      0|        return -1;
18838|       |
18839|       |    /* suppress "function not used" warnings */
18840|      2|    {
18841|      2|    int ignored;
18842|      2|    fd_specified("", -1);
18843|      2|    follow_symlinks_specified("", 1);
18844|      2|    dir_fd_and_follow_symlinks_invalid("chmod", DEFAULT_DIR_FD, 1);
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
18845|      2|    dir_fd_converter(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18846|      2|    dir_fd_unavailable(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18847|      2|    }
18848|       |
18849|       |    /*
18850|       |     * provide list of locally available functions
18851|       |     * so os.py can populate support_* lists
18852|       |     */
18853|      2|    PyObject *list = PyList_New(0);
18854|      2|    if (!list) {
  ------------------
  |  Branch (18854:9): [True: 0, False: 2]
  ------------------
18855|      0|        return -1;
18856|      0|    }
18857|     66|    for (const struct have_function *trace = have_functions; trace->label; trace++) {
  ------------------
  |  Branch (18857:62): [True: 64, False: 2]
  ------------------
18858|     64|        PyObject *unicode;
18859|     64|        if (trace->probe && !trace->probe()) continue;
  ------------------
  |  Branch (18859:13): [True: 34, False: 30]
  |  Branch (18859:29): [True: 0, False: 34]
  ------------------
18860|     64|        unicode = PyUnicode_DecodeASCII(trace->label, strlen(trace->label), NULL);
18861|     64|        if (!unicode)
  ------------------
  |  Branch (18861:13): [True: 0, False: 64]
  ------------------
18862|      0|            return -1;
18863|     64|        if (PyList_Append(list, unicode))
  ------------------
  |  Branch (18863:13): [True: 0, False: 64]
  ------------------
18864|      0|            return -1;
18865|     64|        Py_DECREF(unicode);
  ------------------
  |  |  430|     64|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
18866|     64|    }
18867|       |
18868|      2|#ifndef MS_WINDOWS
18869|      2|    if (_Py_GetTicksPerSecond(&state->ticks_per_second) < 0) {
  ------------------
  |  Branch (18869:9): [True: 0, False: 2]
  ------------------
18870|      0|        PyErr_SetString(PyExc_RuntimeError,
18871|      0|                        "cannot read ticks_per_second");
18872|      0|        return -1;
18873|      0|    }
18874|      2|    assert(state->ticks_per_second >= 1);
18875|      2|#endif
18876|       |
18877|      2|    return PyModule_Add(m, "_have_functions", list);
18878|      2|}
posixmodule.c:all_ins:
17789|      2|{
17790|      2|#ifdef F_OK
17791|      2|    if (PyModule_AddIntMacro(m, F_OK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17792|      2|#endif
17793|      2|#ifdef R_OK
17794|      2|    if (PyModule_AddIntMacro(m, R_OK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17795|      2|#endif
17796|      2|#ifdef W_OK
17797|      2|    if (PyModule_AddIntMacro(m, W_OK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17798|      2|#endif
17799|      2|#ifdef X_OK
17800|      2|    if (PyModule_AddIntMacro(m, X_OK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17801|      2|#endif
17802|      2|#ifdef NGROUPS_MAX
17803|      2|    if (PyModule_AddIntMacro(m, NGROUPS_MAX)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17804|      2|#endif
17805|      2|#ifdef TMP_MAX
17806|      2|    if (PyModule_AddIntMacro(m, TMP_MAX)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17807|      2|#endif
17808|      2|#ifdef WCONTINUED
17809|      2|    if (PyModule_AddIntMacro(m, WCONTINUED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17810|      2|#endif
17811|      2|#ifdef WNOHANG
17812|      2|    if (PyModule_AddIntMacro(m, WNOHANG)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17813|      2|#endif
17814|      2|#ifdef WUNTRACED
17815|      2|    if (PyModule_AddIntMacro(m, WUNTRACED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17816|      2|#endif
17817|      2|#ifdef O_RDONLY
17818|      2|    if (PyModule_AddIntMacro(m, O_RDONLY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17819|      2|#endif
17820|      2|#ifdef O_WRONLY
17821|      2|    if (PyModule_AddIntMacro(m, O_WRONLY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17822|      2|#endif
17823|      2|#ifdef O_RDWR
17824|      2|    if (PyModule_AddIntMacro(m, O_RDWR)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17825|      2|#endif
17826|      2|#ifdef O_NDELAY
17827|      2|    if (PyModule_AddIntMacro(m, O_NDELAY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17828|      2|#endif
17829|      2|#ifdef O_NONBLOCK
17830|      2|    if (PyModule_AddIntMacro(m, O_NONBLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17831|      2|#endif
17832|      2|#ifdef O_APPEND
17833|      2|    if (PyModule_AddIntMacro(m, O_APPEND)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17834|      2|#endif
17835|      2|#ifdef O_DSYNC
17836|      2|    if (PyModule_AddIntMacro(m, O_DSYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17837|      2|#endif
17838|      2|#ifdef O_RSYNC
17839|      2|    if (PyModule_AddIntMacro(m, O_RSYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17840|      2|#endif
17841|      2|#ifdef O_SYNC
17842|      2|    if (PyModule_AddIntMacro(m, O_SYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17843|      2|#endif
17844|      2|#ifdef O_NOCTTY
17845|      2|    if (PyModule_AddIntMacro(m, O_NOCTTY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17846|      2|#endif
17847|      2|#ifdef O_CREAT
17848|      2|    if (PyModule_AddIntMacro(m, O_CREAT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17849|      2|#endif
17850|      2|#ifdef O_EXCL
17851|      2|    if (PyModule_AddIntMacro(m, O_EXCL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17852|      2|#endif
17853|      2|#ifdef O_TRUNC
17854|      2|    if (PyModule_AddIntMacro(m, O_TRUNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17855|      2|#endif
17856|       |#ifdef O_BINARY
17857|       |    if (PyModule_AddIntMacro(m, O_BINARY)) return -1;
17858|       |#endif
17859|       |#ifdef O_TEXT
17860|       |    if (PyModule_AddIntMacro(m, O_TEXT)) return -1;
17861|       |#endif
17862|       |#ifdef O_XATTR
17863|       |    if (PyModule_AddIntMacro(m, O_XATTR)) return -1;
17864|       |#endif
17865|      2|#ifdef O_LARGEFILE
17866|      2|    if (PyModule_AddIntMacro(m, O_LARGEFILE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17867|      2|#endif
17868|      2|#ifndef __GNU__
17869|       |#ifdef O_SHLOCK
17870|       |    if (PyModule_AddIntMacro(m, O_SHLOCK)) return -1;
17871|       |#endif
17872|       |#ifdef O_EXLOCK
17873|       |    if (PyModule_AddIntMacro(m, O_EXLOCK)) return -1;
17874|       |#endif
17875|      2|#endif
17876|       |#ifdef O_EXEC
17877|       |    if (PyModule_AddIntMacro(m, O_EXEC)) return -1;
17878|       |#endif
17879|       |#ifdef O_SEARCH
17880|       |    if (PyModule_AddIntMacro(m, O_SEARCH)) return -1;
17881|       |#endif
17882|      2|#ifdef O_PATH
17883|      2|    if (PyModule_AddIntMacro(m, O_PATH)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17884|      2|#endif
17885|       |#ifdef O_TTY_INIT
17886|       |    if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
17887|       |#endif
17888|      2|#ifdef O_TMPFILE
17889|      2|    if (PyModule_AddIntMacro(m, O_TMPFILE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17890|      2|#endif
17891|      2|#ifdef PRIO_PROCESS
17892|      2|    if (PyModule_AddIntMacro(m, PRIO_PROCESS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17893|      2|#endif
17894|      2|#ifdef PRIO_PGRP
17895|      2|    if (PyModule_AddIntMacro(m, PRIO_PGRP)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17896|      2|#endif
17897|      2|#ifdef PRIO_USER
17898|      2|    if (PyModule_AddIntMacro(m, PRIO_USER)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17899|      2|#endif
17900|       |#ifdef PRIO_DARWIN_THREAD
17901|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_THREAD)) return -1;
17902|       |#endif
17903|       |#ifdef PRIO_DARWIN_PROCESS
17904|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_PROCESS)) return -1;
17905|       |#endif
17906|       |#ifdef PRIO_DARWIN_BG
17907|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_BG)) return -1;
17908|       |#endif
17909|       |#ifdef PRIO_DARWIN_NONUI
17910|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_NONUI)) return -1;
17911|       |#endif
17912|      2|#ifdef O_CLOEXEC
17913|      2|    if (PyModule_AddIntMacro(m, O_CLOEXEC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17914|      2|#endif
17915|      2|#ifdef O_ACCMODE
17916|      2|    if (PyModule_AddIntMacro(m, O_ACCMODE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17917|      2|#endif
17918|       |#ifdef O_EVTONLY
17919|       |    if (PyModule_AddIntMacro(m, O_EVTONLY)) return -1;
17920|       |#endif
17921|      2|#ifdef O_FSYNC
17922|      2|    if (PyModule_AddIntMacro(m, O_FSYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17923|      2|#endif
17924|       |#ifdef O_SYMLINK
17925|       |    if (PyModule_AddIntMacro(m, O_SYMLINK)) return -1;
17926|       |#endif
17927|       |
17928|      2|#ifdef SEEK_HOLE
17929|      2|    if (PyModule_AddIntMacro(m, SEEK_HOLE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17930|      2|#endif
17931|      2|#ifdef SEEK_DATA
17932|      2|    if (PyModule_AddIntMacro(m, SEEK_DATA)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17933|      2|#endif
17934|       |
17935|       |/* MS Windows */
17936|       |#ifdef O_NOINHERIT
17937|       |    /* Don't inherit in child processes. */
17938|       |    if (PyModule_AddIntMacro(m, O_NOINHERIT)) return -1;
17939|       |#endif
17940|       |#ifdef _O_SHORT_LIVED
17941|       |    /* Optimize for short life (keep in memory). */
17942|       |    /* MS forgot to define this one with a non-underscore form too. */
17943|       |    if (PyModule_AddIntConstant(m, "O_SHORT_LIVED", _O_SHORT_LIVED)) return -1;
17944|       |#endif
17945|       |#ifdef O_TEMPORARY
17946|       |    /* Automatically delete when last handle is closed. */
17947|       |    if (PyModule_AddIntMacro(m, O_TEMPORARY)) return -1;
17948|       |#endif
17949|       |#ifdef O_RANDOM
17950|       |    /* Optimize for random access. */
17951|       |    if (PyModule_AddIntMacro(m, O_RANDOM)) return -1;
17952|       |#endif
17953|       |#ifdef O_SEQUENTIAL
17954|       |    /* Optimize for sequential access. */
17955|       |    if (PyModule_AddIntMacro(m, O_SEQUENTIAL)) return -1;
17956|       |#endif
17957|       |
17958|       |/* GNU extensions. */
17959|      2|#ifdef O_ASYNC
17960|       |    /* Send a SIGIO signal whenever input or output
17961|       |       becomes available on file descriptor */
17962|      2|    if (PyModule_AddIntMacro(m, O_ASYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17963|      2|#endif
17964|      2|#ifdef O_DIRECT
17965|       |    /* Direct disk access. */
17966|      2|    if (PyModule_AddIntMacro(m, O_DIRECT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17967|      2|#endif
17968|      2|#ifdef O_DIRECTORY
17969|       |    /* Must be a directory.      */
17970|      2|    if (PyModule_AddIntMacro(m, O_DIRECTORY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17971|      2|#endif
17972|      2|#ifdef O_NOFOLLOW
17973|       |    /* Do not follow links.      */
17974|      2|    if (PyModule_AddIntMacro(m, O_NOFOLLOW)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17975|      2|#endif
17976|       |#ifdef O_NOFOLLOW_ANY
17977|       |    if (PyModule_AddIntMacro(m, O_NOFOLLOW_ANY)) return -1;
17978|       |#endif
17979|       |#ifdef O_NOLINKS
17980|       |    /* Fails if link count of the named file is greater than 1 */
17981|       |    if (PyModule_AddIntMacro(m, O_NOLINKS)) return -1;
17982|       |#endif
17983|      2|#ifdef O_NOATIME
17984|       |    /* Do not update the access time. */
17985|      2|    if (PyModule_AddIntMacro(m, O_NOATIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17986|      2|#endif
17987|       |
17988|       |    /* These come from sysexits.h */
17989|      2|#ifdef EX_OK
17990|      2|    if (PyModule_AddIntMacro(m, EX_OK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17991|      2|#endif /* EX_OK */
17992|      2|#ifdef EX_USAGE
17993|      2|    if (PyModule_AddIntMacro(m, EX_USAGE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17994|      2|#endif /* EX_USAGE */
17995|      2|#ifdef EX_DATAERR
17996|      2|    if (PyModule_AddIntMacro(m, EX_DATAERR)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
17997|      2|#endif /* EX_DATAERR */
17998|      2|#ifdef EX_NOINPUT
17999|      2|    if (PyModule_AddIntMacro(m, EX_NOINPUT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18000|      2|#endif /* EX_NOINPUT */
18001|      2|#ifdef EX_NOUSER
18002|      2|    if (PyModule_AddIntMacro(m, EX_NOUSER)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18003|      2|#endif /* EX_NOUSER */
18004|      2|#ifdef EX_NOHOST
18005|      2|    if (PyModule_AddIntMacro(m, EX_NOHOST)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18006|      2|#endif /* EX_NOHOST */
18007|      2|#ifdef EX_UNAVAILABLE
18008|      2|    if (PyModule_AddIntMacro(m, EX_UNAVAILABLE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18009|      2|#endif /* EX_UNAVAILABLE */
18010|      2|#ifdef EX_SOFTWARE
18011|      2|    if (PyModule_AddIntMacro(m, EX_SOFTWARE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18012|      2|#endif /* EX_SOFTWARE */
18013|      2|#ifdef EX_OSERR
18014|      2|    if (PyModule_AddIntMacro(m, EX_OSERR)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18015|      2|#endif /* EX_OSERR */
18016|      2|#ifdef EX_OSFILE
18017|      2|    if (PyModule_AddIntMacro(m, EX_OSFILE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18018|      2|#endif /* EX_OSFILE */
18019|      2|#ifdef EX_CANTCREAT
18020|      2|    if (PyModule_AddIntMacro(m, EX_CANTCREAT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18021|      2|#endif /* EX_CANTCREAT */
18022|      2|#ifdef EX_IOERR
18023|      2|    if (PyModule_AddIntMacro(m, EX_IOERR)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18024|      2|#endif /* EX_IOERR */
18025|      2|#ifdef EX_TEMPFAIL
18026|      2|    if (PyModule_AddIntMacro(m, EX_TEMPFAIL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18027|      2|#endif /* EX_TEMPFAIL */
18028|      2|#ifdef EX_PROTOCOL
18029|      2|    if (PyModule_AddIntMacro(m, EX_PROTOCOL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18030|      2|#endif /* EX_PROTOCOL */
18031|      2|#ifdef EX_NOPERM
18032|      2|    if (PyModule_AddIntMacro(m, EX_NOPERM)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18033|      2|#endif /* EX_NOPERM */
18034|      2|#ifdef EX_CONFIG
18035|      2|    if (PyModule_AddIntMacro(m, EX_CONFIG)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18036|      2|#endif /* EX_CONFIG */
18037|       |#ifdef EX_NOTFOUND
18038|       |    if (PyModule_AddIntMacro(m, EX_NOTFOUND)) return -1;
18039|       |#endif /* EX_NOTFOUND */
18040|       |
18041|       |    /* statvfs */
18042|      2|#ifdef ST_RDONLY
18043|      2|    if (PyModule_AddIntMacro(m, ST_RDONLY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18044|      2|#endif /* ST_RDONLY */
18045|      2|#ifdef ST_NOSUID
18046|      2|    if (PyModule_AddIntMacro(m, ST_NOSUID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18047|      2|#endif /* ST_NOSUID */
18048|       |
18049|       |       /* GNU extensions */
18050|      2|#ifdef ST_NODEV
18051|      2|    if (PyModule_AddIntMacro(m, ST_NODEV)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18052|      2|#endif /* ST_NODEV */
18053|      2|#ifdef ST_NOEXEC
18054|      2|    if (PyModule_AddIntMacro(m, ST_NOEXEC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18055|      2|#endif /* ST_NOEXEC */
18056|      2|#ifdef ST_SYNCHRONOUS
18057|      2|    if (PyModule_AddIntMacro(m, ST_SYNCHRONOUS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18058|      2|#endif /* ST_SYNCHRONOUS */
18059|      2|#ifdef ST_MANDLOCK
18060|      2|    if (PyModule_AddIntMacro(m, ST_MANDLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18061|      2|#endif /* ST_MANDLOCK */
18062|      2|#ifdef ST_WRITE
18063|      2|    if (PyModule_AddIntMacro(m, ST_WRITE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18064|      2|#endif /* ST_WRITE */
18065|      2|#ifdef ST_APPEND
18066|      2|    if (PyModule_AddIntMacro(m, ST_APPEND)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18067|      2|#endif /* ST_APPEND */
18068|      2|#ifdef ST_NOATIME
18069|      2|    if (PyModule_AddIntMacro(m, ST_NOATIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18070|      2|#endif /* ST_NOATIME */
18071|      2|#ifdef ST_NODIRATIME
18072|      2|    if (PyModule_AddIntMacro(m, ST_NODIRATIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18073|      2|#endif /* ST_NODIRATIME */
18074|      2|#ifdef ST_RELATIME
18075|      2|    if (PyModule_AddIntMacro(m, ST_RELATIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18076|      2|#endif /* ST_RELATIME */
18077|       |
18078|       |    /* FreeBSD sendfile() constants */
18079|       |#ifdef SF_NODISKIO
18080|       |    if (PyModule_AddIntMacro(m, SF_NODISKIO)) return -1;
18081|       |#endif
18082|       |    /* is obsolete since the 11.x release */
18083|       |#ifdef SF_MNOWAIT
18084|       |    if (PyModule_AddIntMacro(m, SF_MNOWAIT)) return -1;
18085|       |#endif
18086|       |#ifdef SF_SYNC
18087|       |    if (PyModule_AddIntMacro(m, SF_SYNC)) return -1;
18088|       |#endif
18089|       |#ifdef SF_NOCACHE
18090|       |    if (PyModule_AddIntMacro(m, SF_NOCACHE)) return -1;
18091|       |#endif
18092|       |
18093|      2|#ifdef TFD_NONBLOCK
18094|      2|    if (PyModule_AddIntMacro(m, TFD_NONBLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18095|      2|#endif
18096|      2|#ifdef TFD_CLOEXEC
18097|      2|    if (PyModule_AddIntMacro(m, TFD_CLOEXEC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18098|      2|#endif
18099|      2|#ifdef TFD_TIMER_ABSTIME
18100|      2|    if (PyModule_AddIntMacro(m, TFD_TIMER_ABSTIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18101|      2|#endif
18102|      2|#ifdef TFD_TIMER_CANCEL_ON_SET
18103|      2|    if (PyModule_AddIntMacro(m, TFD_TIMER_CANCEL_ON_SET)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18104|      2|#endif
18105|       |
18106|       |    /* constants for posix_fadvise */
18107|      2|#ifdef POSIX_FADV_NORMAL
18108|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_NORMAL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18109|      2|#endif
18110|      2|#ifdef POSIX_FADV_SEQUENTIAL
18111|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_SEQUENTIAL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18112|      2|#endif
18113|      2|#ifdef POSIX_FADV_RANDOM
18114|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_RANDOM)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18115|      2|#endif
18116|      2|#ifdef POSIX_FADV_NOREUSE
18117|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_NOREUSE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18118|      2|#endif
18119|      2|#ifdef POSIX_FADV_WILLNEED
18120|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_WILLNEED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18121|      2|#endif
18122|      2|#ifdef POSIX_FADV_DONTNEED
18123|      2|    if (PyModule_AddIntMacro(m, POSIX_FADV_DONTNEED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18124|      2|#endif
18125|       |
18126|       |    /* constants for waitid */
18127|      2|#if defined(HAVE_SYS_WAIT_H) && defined(HAVE_WAITID)
18128|      2|    if (PyModule_AddIntMacro(m, P_PID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18129|      2|    if (PyModule_AddIntMacro(m, P_PGID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18130|      2|    if (PyModule_AddIntMacro(m, P_ALL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18131|      2|#ifdef P_PIDFD
18132|      2|    if (PyModule_AddIntMacro(m, P_PIDFD)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18133|      2|#endif
18134|       |#ifdef PIDFD_NONBLOCK
18135|       |    if (PyModule_AddIntMacro(m, PIDFD_NONBLOCK)) return -1;
18136|       |#endif
18137|      2|#endif
18138|      2|#ifdef WEXITED
18139|      2|    if (PyModule_AddIntMacro(m, WEXITED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18140|      2|#endif
18141|      2|#ifdef WNOWAIT
18142|      2|    if (PyModule_AddIntMacro(m, WNOWAIT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18143|      2|#endif
18144|      2|#ifdef WSTOPPED
18145|      2|    if (PyModule_AddIntMacro(m, WSTOPPED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18146|      2|#endif
18147|      2|#ifdef CLD_EXITED
18148|      2|    if (PyModule_AddIntMacro(m, CLD_EXITED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18149|      2|#endif
18150|      2|#ifdef CLD_KILLED
18151|      2|    if (PyModule_AddIntMacro(m, CLD_KILLED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18152|      2|#endif
18153|      2|#ifdef CLD_DUMPED
18154|      2|    if (PyModule_AddIntMacro(m, CLD_DUMPED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18155|      2|#endif
18156|      2|#ifdef CLD_TRAPPED
18157|      2|    if (PyModule_AddIntMacro(m, CLD_TRAPPED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18158|      2|#endif
18159|      2|#ifdef CLD_STOPPED
18160|      2|    if (PyModule_AddIntMacro(m, CLD_STOPPED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18161|      2|#endif
18162|      2|#ifdef CLD_CONTINUED
18163|      2|    if (PyModule_AddIntMacro(m, CLD_CONTINUED)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18164|      2|#endif
18165|       |
18166|       |    /* constants for lockf */
18167|      2|#ifdef F_LOCK
18168|      2|    if (PyModule_AddIntMacro(m, F_LOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18169|      2|#endif
18170|      2|#ifdef F_TLOCK
18171|      2|    if (PyModule_AddIntMacro(m, F_TLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18172|      2|#endif
18173|      2|#ifdef F_ULOCK
18174|      2|    if (PyModule_AddIntMacro(m, F_ULOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18175|      2|#endif
18176|      2|#ifdef F_TEST
18177|      2|    if (PyModule_AddIntMacro(m, F_TEST)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18178|      2|#endif
18179|       |
18180|      2|#ifdef RWF_DSYNC
18181|      2|    if (PyModule_AddIntConstant(m, "RWF_DSYNC", RWF_DSYNC)) return -1;
  ------------------
  |  Branch (18181:9): [True: 0, False: 2]
  ------------------
18182|      2|#endif
18183|      2|#ifdef RWF_HIPRI
18184|      2|    if (PyModule_AddIntConstant(m, "RWF_HIPRI", RWF_HIPRI)) return -1;
  ------------------
  |  Branch (18184:9): [True: 0, False: 2]
  ------------------
18185|      2|#endif
18186|      2|#ifdef RWF_SYNC
18187|      2|    if (PyModule_AddIntConstant(m, "RWF_SYNC", RWF_SYNC)) return -1;
  ------------------
  |  Branch (18187:9): [True: 0, False: 2]
  ------------------
18188|      2|#endif
18189|      2|#ifdef RWF_NOWAIT
18190|      2|    if (PyModule_AddIntConstant(m, "RWF_NOWAIT", RWF_NOWAIT)) return -1;
  ------------------
  |  Branch (18190:9): [True: 0, False: 2]
  ------------------
18191|      2|#endif
18192|       |#ifdef RWF_DONTCACHE
18193|       |    if (PyModule_AddIntConstant(m, "RWF_DONTCACHE", RWF_DONTCACHE)) return -1;
18194|       |#endif
18195|       |#ifdef RWF_ATOMIC
18196|       |    if (PyModule_AddIntConstant(m, "RWF_ATOMIC", RWF_ATOMIC)) return -1;
18197|       |#endif
18198|      2|#ifdef RWF_APPEND
18199|      2|    if (PyModule_AddIntConstant(m, "RWF_APPEND", RWF_APPEND)) return -1;
  ------------------
  |  Branch (18199:9): [True: 0, False: 2]
  ------------------
18200|      2|#endif
18201|       |
18202|       |/* constants for splice */
18203|      2|#if defined(HAVE_SPLICE) && defined(__linux__)
18204|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
  ------------------
  |  Branch (18204:9): [True: 0, False: 2]
  ------------------
18205|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
  ------------------
  |  Branch (18205:9): [True: 0, False: 2]
  ------------------
18206|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
  ------------------
  |  Branch (18206:9): [True: 0, False: 2]
  ------------------
18207|      2|#endif
18208|       |
18209|       |/* constants for posix_spawn */
18210|      2|#ifdef HAVE_POSIX_SPAWN
18211|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_OPEN", POSIX_SPAWN_OPEN)) return -1;
  ------------------
  |  Branch (18211:9): [True: 0, False: 2]
  ------------------
18212|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_CLOSE", POSIX_SPAWN_CLOSE)) return -1;
  ------------------
  |  Branch (18212:9): [True: 0, False: 2]
  ------------------
18213|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_DUP2", POSIX_SPAWN_DUP2)) return -1;
  ------------------
  |  Branch (18213:9): [True: 0, False: 2]
  ------------------
18214|       |#ifdef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP
18215|       |    if (PyModule_AddIntMacro(m, POSIX_SPAWN_CLOSEFROM)) return -1;
18216|       |#endif
18217|      2|#endif
18218|       |
18219|       |#if defined(HAVE_SPAWNV) || defined (HAVE_RTPSPAWN)
18220|       |    if (PyModule_AddIntConstant(m, "P_WAIT", _P_WAIT)) return -1;
18221|       |    if (PyModule_AddIntConstant(m, "P_NOWAIT", _P_NOWAIT)) return -1;
18222|       |    if (PyModule_AddIntConstant(m, "P_NOWAITO", _P_NOWAITO)) return -1;
18223|       |#endif
18224|       |#ifdef HAVE_SPAWNV
18225|       |    if (PyModule_AddIntConstant(m, "P_OVERLAY", _OLD_P_OVERLAY)) return -1;
18226|       |    if (PyModule_AddIntConstant(m, "P_DETACH", _P_DETACH)) return -1;
18227|       |#endif
18228|       |
18229|      2|#ifdef HAVE_SCHED_H
18230|      2|#ifdef SCHED_OTHER
18231|      2|    if (PyModule_AddIntMacro(m, SCHED_OTHER)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18232|      2|#endif
18233|      2|#ifdef SCHED_DEADLINE
18234|      2|    if (PyModule_AddIntMacro(m, SCHED_DEADLINE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18235|      2|#endif
18236|      2|#ifdef SCHED_FIFO
18237|      2|    if (PyModule_AddIntMacro(m, SCHED_FIFO)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18238|      2|#endif
18239|      2|#ifdef SCHED_NORMAL
18240|      2|    if (PyModule_AddIntMacro(m, SCHED_NORMAL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18241|      2|#endif
18242|      2|#ifdef SCHED_RR
18243|      2|    if (PyModule_AddIntMacro(m, SCHED_RR)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18244|      2|#endif
18245|       |#ifdef SCHED_SPORADIC
18246|       |    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
18247|       |#endif
18248|      2|#ifdef SCHED_BATCH
18249|      2|    if (PyModule_AddIntMacro(m, SCHED_BATCH)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18250|      2|#endif
18251|      2|#ifdef SCHED_IDLE
18252|      2|    if (PyModule_AddIntMacro(m, SCHED_IDLE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18253|      2|#endif
18254|      2|#ifdef SCHED_RESET_ON_FORK
18255|      2|    if (PyModule_AddIntMacro(m, SCHED_RESET_ON_FORK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18256|      2|#endif
18257|       |#ifdef SCHED_SYS
18258|       |    if (PyModule_AddIntMacro(m, SCHED_SYS)) return -1;
18259|       |#endif
18260|       |#ifdef SCHED_IA
18261|       |    if (PyModule_AddIntMacro(m, SCHED_IA)) return -1;
18262|       |#endif
18263|       |#ifdef SCHED_FSS
18264|       |    if (PyModule_AddIntMacro(m, SCHED_FSS)) return -1;
18265|       |#endif
18266|       |#ifdef SCHED_FX
18267|       |    if (PyModule_AddIntConstant(m, "SCHED_FX", SCHED_FSS)) return -1;
18268|       |#endif
18269|       |
18270|       |/* constants for namespaces */
18271|      2|#if defined(HAVE_SETNS) || defined(HAVE_UNSHARE)
18272|      2|#ifdef CLONE_FS
18273|      2|    if (PyModule_AddIntMacro(m, CLONE_FS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18274|      2|#endif
18275|      2|#ifdef CLONE_FILES
18276|      2|    if (PyModule_AddIntMacro(m, CLONE_FILES)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18277|      2|#endif
18278|      2|#ifdef CLONE_NEWNS
18279|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWNS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18280|      2|#endif
18281|      2|#ifdef CLONE_NEWCGROUP
18282|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWCGROUP)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18283|      2|#endif
18284|      2|#ifdef CLONE_NEWUTS
18285|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWUTS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18286|      2|#endif
18287|      2|#ifdef CLONE_NEWIPC
18288|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWIPC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18289|      2|#endif
18290|      2|#ifdef CLONE_NEWUSER
18291|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWUSER)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18292|      2|#endif
18293|      2|#ifdef CLONE_NEWPID
18294|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWPID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18295|      2|#endif
18296|      2|#ifdef CLONE_NEWNET
18297|      2|    if (PyModule_AddIntMacro(m, CLONE_NEWNET)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18298|      2|#endif
18299|       |#ifdef CLONE_NEWTIME
18300|       |    if (PyModule_AddIntMacro(m, CLONE_NEWTIME)) return -1;
18301|       |#endif
18302|      2|#ifdef CLONE_SYSVSEM
18303|      2|    if (PyModule_AddIntMacro(m, CLONE_SYSVSEM)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18304|      2|#endif
18305|      2|#ifdef CLONE_THREAD
18306|      2|    if (PyModule_AddIntMacro(m, CLONE_THREAD)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18307|      2|#endif
18308|      2|#ifdef CLONE_SIGHAND
18309|      2|    if (PyModule_AddIntMacro(m, CLONE_SIGHAND)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18310|      2|#endif
18311|      2|#ifdef CLONE_VM
18312|      2|    if (PyModule_AddIntMacro(m, CLONE_VM)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18313|      2|#endif
18314|      2|#endif
18315|       |
18316|      2|#endif
18317|       |
18318|      2|#ifdef USE_XATTRS
18319|      2|    if (PyModule_AddIntMacro(m, XATTR_CREATE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18320|      2|    if (PyModule_AddIntMacro(m, XATTR_REPLACE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18321|      2|    if (PyModule_AddIntMacro(m, XATTR_SIZE_MAX)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18322|      2|#endif
18323|       |
18324|      2|#if HAVE_DECL_RTLD_LAZY
18325|      2|    if (PyModule_AddIntMacro(m, RTLD_LAZY)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18326|      2|#endif
18327|      2|#if HAVE_DECL_RTLD_NOW
18328|      2|    if (PyModule_AddIntMacro(m, RTLD_NOW)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18329|      2|#endif
18330|      2|#if HAVE_DECL_RTLD_GLOBAL
18331|      2|    if (PyModule_AddIntMacro(m, RTLD_GLOBAL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18332|      2|#endif
18333|      2|#if HAVE_DECL_RTLD_LOCAL
18334|      2|    if (PyModule_AddIntMacro(m, RTLD_LOCAL)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18335|      2|#endif
18336|      2|#if HAVE_DECL_RTLD_NODELETE
18337|      2|    if (PyModule_AddIntMacro(m, RTLD_NODELETE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18338|      2|#endif
18339|      2|#if HAVE_DECL_RTLD_NOLOAD
18340|      2|    if (PyModule_AddIntMacro(m, RTLD_NOLOAD)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18341|      2|#endif
18342|      2|#if HAVE_DECL_RTLD_DEEPBIND
18343|      2|    if (PyModule_AddIntMacro(m, RTLD_DEEPBIND)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18344|      2|#endif
18345|       |#if HAVE_DECL_RTLD_MEMBER
18346|       |    if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1;
18347|       |#endif
18348|       |
18349|      2|#ifdef HAVE_GETRANDOM_SYSCALL
18350|      2|    if (PyModule_AddIntMacro(m, GRND_RANDOM)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18351|      2|    if (PyModule_AddIntMacro(m, GRND_NONBLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18352|      2|#endif
18353|      2|#ifdef HAVE_MEMFD_CREATE
18354|      2|    if (PyModule_AddIntMacro(m, MFD_CLOEXEC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18355|      2|    if (PyModule_AddIntMacro(m, MFD_ALLOW_SEALING)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18356|      2|#ifdef MFD_HUGETLB
18357|      2|    if (PyModule_AddIntMacro(m, MFD_HUGETLB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18358|      2|#endif
18359|      2|#ifdef MFD_HUGE_SHIFT
18360|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_SHIFT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18361|      2|#endif
18362|      2|#ifdef MFD_HUGE_MASK
18363|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_MASK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18364|      2|#endif
18365|      2|#ifdef MFD_HUGE_64KB
18366|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_64KB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18367|      2|#endif
18368|      2|#ifdef MFD_HUGE_512KB
18369|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_512KB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18370|      2|#endif
18371|      2|#ifdef MFD_HUGE_1MB
18372|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_1MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18373|      2|#endif
18374|      2|#ifdef MFD_HUGE_2MB
18375|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_2MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18376|      2|#endif
18377|      2|#ifdef MFD_HUGE_8MB
18378|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_8MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18379|      2|#endif
18380|      2|#ifdef MFD_HUGE_16MB
18381|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_16MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18382|      2|#endif
18383|      2|#ifdef MFD_HUGE_32MB
18384|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_32MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18385|      2|#endif
18386|      2|#ifdef MFD_HUGE_256MB
18387|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_256MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18388|      2|#endif
18389|      2|#ifdef MFD_HUGE_512MB
18390|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_512MB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18391|      2|#endif
18392|      2|#ifdef MFD_HUGE_1GB
18393|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_1GB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18394|      2|#endif
18395|      2|#ifdef MFD_HUGE_2GB
18396|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_2GB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18397|      2|#endif
18398|      2|#ifdef MFD_HUGE_16GB
18399|      2|    if (PyModule_AddIntMacro(m, MFD_HUGE_16GB)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18400|      2|#endif
18401|      2|#endif /* HAVE_MEMFD_CREATE */
18402|       |
18403|      2|#if defined(HAVE_EVENTFD) && defined(EFD_CLOEXEC)
18404|      2|    if (PyModule_AddIntMacro(m, EFD_CLOEXEC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18405|      2|#ifdef EFD_NONBLOCK
18406|      2|    if (PyModule_AddIntMacro(m, EFD_NONBLOCK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18407|      2|#endif
18408|      2|#ifdef EFD_SEMAPHORE
18409|      2|    if (PyModule_AddIntMacro(m, EFD_SEMAPHORE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18410|      2|#endif
18411|      2|#endif  /* HAVE_EVENTFD && EFD_CLOEXEC */
18412|       |
18413|      2|#ifdef NODEV
18414|      2|    if (PyModule_Add(m, "NODEV", _PyLong_FromDev(NODEV))) return -1;
  ------------------
  |  Branch (18414:9): [True: 0, False: 2]
  ------------------
18415|      2|#endif
18416|       |
18417|      2|#ifdef AT_NO_AUTOMOUNT
18418|      2|    if (PyModule_AddIntMacro(m, AT_NO_AUTOMOUNT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18419|      2|#endif
18420|       |
18421|      2|#ifdef HAVE_STATX
18422|      2|    if (PyModule_AddIntMacro(m, STATX_TYPE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18423|      2|    if (PyModule_AddIntMacro(m, STATX_MODE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18424|      2|    if (PyModule_AddIntMacro(m, STATX_NLINK)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18425|      2|    if (PyModule_AddIntMacro(m, STATX_UID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18426|      2|    if (PyModule_AddIntMacro(m, STATX_GID)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18427|      2|    if (PyModule_AddIntMacro(m, STATX_ATIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18428|      2|    if (PyModule_AddIntMacro(m, STATX_MTIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18429|      2|    if (PyModule_AddIntMacro(m, STATX_CTIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18430|      2|    if (PyModule_AddIntMacro(m, STATX_INO)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18431|      2|    if (PyModule_AddIntMacro(m, STATX_SIZE)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18432|      2|    if (PyModule_AddIntMacro(m, STATX_BLOCKS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18433|      2|    if (PyModule_AddIntMacro(m, STATX_BASIC_STATS)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18434|      2|    if (PyModule_AddIntMacro(m, STATX_BTIME)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18435|       |#ifdef STATX_MNT_ID
18436|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID)) return -1;
18437|       |#endif
18438|       |#ifdef STATX_DIOALIGN
18439|       |    if (PyModule_AddIntMacro(m, STATX_DIOALIGN)) return -1;
18440|       |#endif
18441|       |#ifdef STATX_MNT_ID_UNIQUE
18442|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID_UNIQUE)) return -1;
18443|       |#endif
18444|       |#ifdef STATX_SUBVOL
18445|       |    if (PyModule_AddIntMacro(m, STATX_SUBVOL)) return -1;
18446|       |#endif
18447|       |#ifdef STATX_WRITE_ATOMIC
18448|       |    if (PyModule_AddIntMacro(m, STATX_WRITE_ATOMIC)) return -1;
18449|       |#endif
18450|       |#ifdef STATX_DIO_READ_ALIGN
18451|       |    if (PyModule_AddIntMacro(m, STATX_DIO_READ_ALIGN)) return -1;
18452|       |#endif
18453|       |    /* STATX_ALL intentionally omitted because it is deprecated */
18454|      2|    if (PyModule_AddIntMacro(m, AT_STATX_SYNC_AS_STAT)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18455|      2|    if (PyModule_AddIntMacro(m, AT_STATX_FORCE_SYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18456|      2|    if (PyModule_AddIntMacro(m, AT_STATX_DONT_SYNC)) return -1;
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  |  |  ------------------
  |  |  |  Branch (47:36): [True: 0, False: 2]
  |  |  ------------------
  ------------------
18457|       |    /* STATX_ATTR_* constants are in the stat module */
18458|      2|#endif /* HAVE_STATX */
18459|       |
18460|       |#if defined(__APPLE__)
18461|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
18462|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_STAT", COPYFILE_STAT)) return -1;
18463|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_ACL", COPYFILE_ACL)) return -1;
18464|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_XATTR", COPYFILE_XATTR)) return -1;
18465|       |#endif
18466|       |
18467|       |#ifdef MS_WINDOWS
18468|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DEFAULT_DIRS", LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)) return -1;
18469|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_APPLICATION_DIR", LOAD_LIBRARY_SEARCH_APPLICATION_DIR)) return -1;
18470|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_SYSTEM32", LOAD_LIBRARY_SEARCH_SYSTEM32)) return -1;
18471|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_USER_DIRS", LOAD_LIBRARY_SEARCH_USER_DIRS)) return -1;
18472|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR", LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) return -1;
18473|       |#endif
18474|       |
18475|      2|    return 0;
18476|      2|}
posixmodule.c:setup_confname_tables:
15166|      2|{
15167|      2|#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF)
15168|      2|    if (setup_confname_table(posix_constants_pathconf,
  ------------------
  |  Branch (15168:9): [True: 0, False: 2]
  ------------------
15169|      2|                             sizeof(posix_constants_pathconf)
15170|      2|                               / sizeof(struct constdef),
15171|      2|                             "pathconf_names", module))
15172|      0|        return -1;
15173|      2|#endif
15174|      2|#ifdef HAVE_CONFSTR
15175|      2|    if (setup_confname_table(posix_constants_confstr,
  ------------------
  |  Branch (15175:9): [True: 0, False: 2]
  ------------------
15176|      2|                             sizeof(posix_constants_confstr)
15177|      2|                               / sizeof(struct constdef),
15178|      2|                             "confstr_names", module))
15179|      0|        return -1;
15180|      2|#endif
15181|      2|#ifdef HAVE_SYSCONF
15182|      2|    if (setup_confname_table(posix_constants_sysconf,
  ------------------
  |  Branch (15182:9): [True: 0, False: 2]
  ------------------
15183|      2|                             sizeof(posix_constants_sysconf)
15184|      2|                               / sizeof(struct constdef),
15185|      2|                             "sysconf_names", module))
15186|      0|        return -1;
15187|      2|#endif
15188|      2|    return 0;
15189|      2|}
posixmodule.c:setup_confname_table:
15146|      6|{
15147|      6|    PyObject *d = PyDict_New();
15148|      6|    if (d == NULL)
  ------------------
  |  Branch (15148:9): [True: 0, False: 6]
  ------------------
15149|      0|        return -1;
15150|       |
15151|    368|    for (size_t i=0; i < tablesize; ++i) {
  ------------------
  |  Branch (15151:22): [True: 362, False: 6]
  ------------------
15152|    362|        PyObject *o = PyLong_FromLong(table[i].value);
15153|    362|        if (o == NULL || PyDict_SetItemString(d, table[i].name, o) == -1) {
  ------------------
  |  Branch (15153:13): [True: 0, False: 362]
  |  Branch (15153:26): [True: 0, False: 362]
  ------------------
15154|      0|            Py_XDECREF(o);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15155|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15156|      0|            return -1;
15157|      0|        }
15158|    362|        Py_DECREF(o);
  ------------------
  |  |  430|    362|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    362|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    362|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15159|    362|    }
15160|      6|    return PyModule_Add(module, tablename, d);
15161|      6|}
posixmodule.c:fd_specified:
 1607|      2|{
 1608|      2|    if (fd == -1)
  ------------------
  |  Branch (1608:9): [True: 2, False: 0]
  ------------------
 1609|      2|        return 0;
 1610|       |
 1611|      0|    argument_unavailable_error(function_name, "fd");
 1612|      0|    return 1;
 1613|      2|}
posixmodule.c:dir_fd_unavailable:
 1593|      2|{
 1594|      2|    int dir_fd;
 1595|      2|    if (!dir_fd_converter(o, &dir_fd))
  ------------------
  |  Branch (1595:9): [True: 0, False: 2]
  ------------------
 1596|      0|        return 0;
 1597|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1597:9): [True: 0, False: 2]
  ------------------
 1598|      0|        argument_unavailable_error(NULL, "dir_fd");
 1599|      0|        return 0;
 1600|      0|    }
 1601|      2|    *(int *)p = dir_fd;
 1602|      2|    return 1;
 1603|      2|}
posixmodule.c:probe_faccessat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_fchmodat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_fchownat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_fdopendir:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_fstatat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_futimens:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_linkat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_mkdirat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_mkfifoat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_mknodat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_openat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_readlinkat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_renameat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_symlinkat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_unlinkat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_utimensat:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:probe_ptsname_r:
18482|      2|   {                      \
18483|      2|      if (test) {        \
  ------------------
  |  Branch (18483:11): [True: 2, Folded]
  ------------------
18484|      2|          return 1;       \
18485|      2|      } else {            \
18486|      0|          return 0;       \
18487|      0|      }                   \
18488|      2|   }
posixmodule.c:_posix_traverse:
 2613|     16|{
 2614|     16|    _posixstate *state = get_posix_state(module);
 2615|     16|    Py_VISIT(state->billion);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2616|     16|    Py_VISIT(state->DirEntryType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2617|     16|    Py_VISIT(state->ScandirIteratorType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2618|     16|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
 2619|     16|    Py_VISIT(state->SchedParamType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2620|     16|#endif
 2621|     16|    Py_VISIT(state->StatResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2622|     16|#ifdef HAVE_STATX
 2623|     16|    Py_VISIT(state->StatxResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2624|     16|#endif
 2625|     16|    Py_VISIT(state->StatVFSResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2626|     16|    Py_VISIT(state->TerminalSizeType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2627|     16|    Py_VISIT(state->TimesResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2628|     16|    Py_VISIT(state->UnameResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2629|     16|#if defined(HAVE_WAITID)
 2630|     16|    Py_VISIT(state->WaitidResultType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2631|     16|#endif
 2632|     16|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 2633|     16|    Py_VISIT(state->struct_rusage);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2634|     16|#endif
 2635|     16|    Py_VISIT(state->st_mode);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2636|     16|    return 0;
 2637|     16|}

PyInit_pwd:
  409|      2|{
  410|      2|    return PyModuleDef_Init(&pwdmodule);
  411|      2|}
pwdmodule.c:get_pwd_state:
   58|     34|{
   59|     34|    void *state = PyModule_GetState(module);
   60|       |    assert(state != NULL);
   61|     34|    return (pwdmodulestate *)state;
   62|     34|}
pwdmodule.c:pwdmodule_exec:
  361|      2|{
  362|      2|    pwdmodulestate *state = get_pwd_state(module);
  363|       |
  364|      2|    state->StructPwdType = PyStructSequence_NewType(&struct_pwd_type_desc);
  365|      2|    if (state->StructPwdType == NULL) {
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|      0|        return -1;
  367|      0|    }
  368|      2|    if (PyModule_AddType(module, state->StructPwdType) < 0) {
  ------------------
  |  Branch (368:9): [True: 0, False: 2]
  ------------------
  369|      0|        return -1;
  370|      0|    }
  371|      2|    return 0;
  372|      2|}
pwdmodule.c:pwdmodule_traverse:
  382|     16|static int pwdmodule_traverse(PyObject *m, visitproc visit, void *arg) {
  383|     16|    Py_VISIT(get_pwd_state(m)->StructPwdType);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  384|     16|    return 0;
  385|     16|}

PyInit__signal:
 1725|      2|{
 1726|      2|    return PyModuleDef_Init(&signal_module);
 1727|      2|}
PyErr_CheckSignals:
 1765|   375k|{
 1766|   375k|    PyThreadState *tstate = _PyThreadState_GET();
 1767|       |
 1768|       |    /* Opportunistically check if the GC is scheduled to run and run it
 1769|       |       if we have a request. This is done here because native code needs
 1770|       |       to call this API if is going to run for some time without executing
 1771|       |       Python code to ensure signals are handled. Checking for the GC here
 1772|       |       allows long running native code to clean cycles created using the C-API
 1773|       |       even if it doesn't run the evaluation loop */
 1774|   375k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1775|   375k|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  348|   375k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1775:9): [True: 0, False: 375k]
  ------------------
 1776|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  348|      0|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1777|      0|        _Py_RunGC(tstate);
 1778|      0|    }
 1779|   375k|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  347|   375k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1779:9): [True: 0, False: 375k]
  ------------------
 1780|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1780:13): [True: 0, False: 0]
  ------------------
 1781|      0|            return -1;
 1782|      0|        }
 1783|      0|    }
 1784|       |
 1785|   375k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1786|   375k|    _PyRunRemoteDebugger(tstate);
 1787|   375k|#endif
 1788|       |
 1789|   375k|    if (_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1789:9): [True: 375k, False: 0]
  ------------------
 1790|   375k|        if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 375k]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|   375k|    }
 1794|       |
 1795|   375k|    return 0;
 1796|   375k|}
_PyErr_CheckSignalsTstate:
 1802|   375k|{
 1803|   375k|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1804|   375k|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  108|   375k|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1804:9): [True: 375k, False: 0]
  ------------------
 1805|   375k|        return 0;
 1806|   375k|    }
 1807|       |
 1808|       |    /*
 1809|       |     * The is_tripped variable is meant to speed up the calls to
 1810|       |     * PyErr_CheckSignals (both directly or via pending calls) when no
 1811|       |     * signal has arrived. This variable is set to 1 when a signal arrives
 1812|       |     * and it is set to 0 here, when we know some signals arrived. This way
 1813|       |     * we can run the registered handlers with no signals blocked.
 1814|       |     *
 1815|       |     * NOTE: with this approach we can have a situation where is_tripped is
 1816|       |     *       1 but we have no more signals to handle (Handlers[i].tripped
 1817|       |     *       is 0 for every signal i). This won't do us any harm (except
 1818|       |     *       we're gonna spent some cycles for nothing). This happens when
 1819|       |     *       we receive a signal i after we zero is_tripped and before we
 1820|       |     *       check Handlers[i].tripped.
 1821|       |     */
 1822|      0|    _Py_atomic_store_int(&is_tripped, 0);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1823|       |
 1824|      0|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 1825|      0|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      0|#define signal_global_state _PyRuntime.signals
  ------------------
 1826|      0|    for (int i = 1; i < Py_NSIG; i++) {
  ------------------
  |  |   26|      0|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1826:21): [True: 0, False: 0]
  ------------------
 1827|      0|        if (!_Py_atomic_load_int_relaxed(&Handlers[i].tripped)) {
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
  |  Branch (1827:13): [True: 0, False: 0]
  ------------------
 1828|      0|            continue;
 1829|      0|        }
 1830|      0|        _Py_atomic_store_int_relaxed(&Handlers[i].tripped, 0);
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1831|       |
 1832|       |        /* Signal handlers can be modified while a signal is received,
 1833|       |         * and therefore the fact that trip_signal() or PyErr_SetInterrupt()
 1834|       |         * was called doesn't guarantee that there is still a Python
 1835|       |         * signal handler for it by the time PyErr_CheckSignals() is called
 1836|       |         * (see bpo-43406).
 1837|       |         */
 1838|      0|        PyObject *func = get_handler(i);
 1839|      0|        if (func == NULL || func == Py_None ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1839:13): [True: 0, False: 0]
  |  Branch (1839:29): [True: 0, False: 0]
  ------------------
 1840|      0|            compare_handler(func, state->ignore_handler) ||
  ------------------
  |  Branch (1840:13): [True: 0, False: 0]
  ------------------
 1841|      0|            compare_handler(func, state->default_handler)) {
  ------------------
  |  Branch (1841:13): [True: 0, False: 0]
  ------------------
 1842|       |            /* No Python signal handler due to aforementioned race condition.
 1843|       |             * We can't call raise() as it would break the assumption
 1844|       |             * that PyErr_SetInterrupt() only *simulates* an incoming
 1845|       |             * signal (i.e. it will never kill the process).
 1846|       |             * We also don't want to interrupt user code with a cryptic
 1847|       |             * asynchronous exception, so instead just write out an
 1848|       |             * unraisable error.
 1849|       |             */
 1850|      0|            PyErr_Format(PyExc_OSError,
 1851|      0|                         "Signal %i ignored due to race condition",
 1852|      0|                         i);
 1853|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1854|      0|                                   "calling signal handler");
 1855|      0|            continue;
 1856|      0|        }
 1857|      0|        PyObject *arglist = NULL;
 1858|      0|        if (frame == NULL) {
  ------------------
  |  Branch (1858:13): [True: 0, False: 0]
  ------------------
 1859|      0|            arglist = Py_BuildValue("(iO)", i, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1860|      0|        }
 1861|      0|        else {
 1862|      0|            PyFrameObject *f = _PyFrame_GetFrameObject(frame);
 1863|      0|            if (f != NULL) {
  ------------------
  |  Branch (1863:17): [True: 0, False: 0]
  ------------------
 1864|      0|                arglist = Py_BuildValue("(iO)", i, f);
 1865|      0|            }
 1866|      0|        }
 1867|      0|        PyObject *result;
 1868|      0|        if (arglist) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 0]
  ------------------
 1869|      0|            result = _PyObject_Call(tstate, func, arglist, NULL);
 1870|      0|            Py_DECREF(arglist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1871|      0|        }
 1872|      0|        else {
 1873|      0|            result = NULL;
 1874|      0|        }
 1875|      0|        if (!result) {
  ------------------
  |  Branch (1875:13): [True: 0, False: 0]
  ------------------
 1876|       |            /* On error, re-schedule a call to _PyErr_CheckSignalsTstate() */
 1877|      0|            _Py_atomic_store_int(&is_tripped, 1);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1878|      0|            return -1;
 1879|      0|        }
 1880|       |
 1881|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|      0|    }
 1883|       |
 1884|      0|    return 0;
 1885|      0|}
_PySignal_Init:
 1972|      2|{
 1973|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1974|       |
 1975|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1976|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1976:9): [True: 0, False: 2]
  ------------------
 1977|      0|        return -1;
 1978|      0|    }
 1979|       |
 1980|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1981|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1981:9): [True: 0, False: 2]
  ------------------
 1982|      0|        return -1;
 1983|      0|    }
 1984|       |
 1985|       |#ifdef MS_WINDOWS
 1986|       |    /* Create manual-reset event, initially unset */
 1987|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 1988|       |    if (state->sigint_event == NULL) {
 1989|       |        PyErr_SetFromWindowsErr(0);
 1990|       |        return -1;
 1991|       |    }
 1992|       |#endif
 1993|       |
 1994|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1994:26): [True: 128, False: 2]
  ------------------
 1995|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  106|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1996|    128|    }
 1997|       |
 1998|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (1998:9): [True: 2, False: 0]
  ------------------
 1999|      2|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (1999:13): [True: 0, False: 2]
  ------------------
 2000|      0|            return -1;
 2001|      0|        }
 2002|      2|    }
 2003|       |
 2004|      2|    return 0;
 2005|      2|}
signalmodule.c:get_signal_state:
  145|     18|{
  146|     18|    void *state = _PyModule_GetState(module);
  147|       |    assert(state != NULL);
  148|     18|    return (_signal_module_state *)state;
  149|     18|}
signalmodule.c:signal_module_exec:
 1612|      2|{
 1613|      2|    assert(!PyErr_Occurred());
 1614|       |
 1615|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1616|      2|    _signal_module_state *modstate = get_signal_state(m);
 1617|       |
 1618|       |    // XXX For proper isolation, these values must be guaranteed
 1619|       |    // to be effectively const (e.g. immortal).
 1620|      2|    modstate->default_handler = state->default_handler;  // borrowed ref
 1621|      2|    modstate->ignore_handler = state->ignore_handler;  // borrowed ref
 1622|       |
 1623|      2|#ifdef PYHAVE_ITIMER_ERROR
 1624|      2|    modstate->itimer_error = PyErr_NewException("signal.ItimerError",
 1625|      2|                                                PyExc_OSError, NULL);
 1626|      2|    if (modstate->itimer_error == NULL) {
  ------------------
  |  Branch (1626:9): [True: 0, False: 2]
  ------------------
 1627|      0|        return -1;
 1628|      0|    }
 1629|      2|#endif
 1630|       |
 1631|      2|    if (signal_add_constants(m) < 0) {
  ------------------
  |  Branch (1631:9): [True: 0, False: 2]
  ------------------
 1632|      0|        return -1;
 1633|      0|    }
 1634|       |
 1635|       |    /* Add some symbolic constants to the module */
 1636|      2|    PyObject *d = PyModule_GetDict(m);
 1637|      2|    if (PyDict_SetItemString(d, "SIG_DFL", state->default_handler) < 0) {
  ------------------
  |  Branch (1637:9): [True: 0, False: 2]
  ------------------
 1638|      0|        return -1;
 1639|      0|    }
 1640|      2|    if (PyDict_SetItemString(d, "SIG_IGN", state->ignore_handler) < 0) {
  ------------------
  |  Branch (1640:9): [True: 0, False: 2]
  ------------------
 1641|      0|        return -1;
 1642|      0|    }
 1643|      2|#ifdef PYHAVE_ITIMER_ERROR
 1644|      2|    if (PyDict_SetItemString(d, "ItimerError", modstate->itimer_error) < 0) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 2]
  ------------------
 1645|      0|        return -1;
 1646|      0|    }
 1647|      2|#endif
 1648|       |
 1649|      2|#if defined(HAVE_SIGWAITINFO) || defined(HAVE_SIGTIMEDWAIT)
 1650|      2|    modstate->siginfo_type = PyStructSequence_NewType(&struct_siginfo_desc);
 1651|      2|    if (modstate->siginfo_type == NULL) {
  ------------------
  |  Branch (1651:9): [True: 0, False: 2]
  ------------------
 1652|      0|        return -1;
 1653|      0|    }
 1654|      2|#endif
 1655|      2|#if defined(HAVE_SIGWAITINFO) || defined(HAVE_SIGTIMEDWAIT)
 1656|      2|    if (PyModule_AddType(m, modstate->siginfo_type) < 0) {
  ------------------
  |  Branch (1656:9): [True: 0, False: 2]
  ------------------
 1657|      0|        return -1;
 1658|      0|    }
 1659|      2|#endif
 1660|       |
 1661|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1662|      2|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1662:9): [True: 2, False: 0]
  ------------------
 1663|      2|        if (signal_get_set_handlers(state, d) < 0) {
  ------------------
  |  Branch (1663:13): [True: 0, False: 2]
  ------------------
 1664|      0|            return -1;
 1665|      0|        }
 1666|      2|    }
 1667|       |
 1668|      2|    assert(!PyErr_Occurred());
 1669|      2|    return 0;
 1670|      2|}
signalmodule.c:signal_add_constants:
 1405|      2|{
 1406|      2|    if (PyModule_AddIntConstant(module, "NSIG", Py_NSIG) < 0) {
  ------------------
  |  |   26|      2|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1406:9): [True: 0, False: 2]
  ------------------
 1407|      0|        return -1;
 1408|      0|    }
 1409|       |
 1410|      2|#define ADD_INT_MACRO(macro) \
 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
 1412|      2|        return -1; \
 1413|      2|    }
 1414|       |
 1415|       |    // SIG_xxx pthread_sigmask() constants
 1416|      2|#ifdef SIG_BLOCK
 1417|      2|    ADD_INT_MACRO(SIG_BLOCK);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1418|      2|#endif
 1419|      2|#ifdef SIG_UNBLOCK
 1420|      2|    ADD_INT_MACRO(SIG_UNBLOCK);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1421|      2|#endif
 1422|      2|#ifdef SIG_SETMASK
 1423|      2|    ADD_INT_MACRO(SIG_SETMASK);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1424|      2|#endif
 1425|       |
 1426|       |    // SIGxxx signal number constants
 1427|      2|#ifdef SIGHUP
 1428|      2|    ADD_INT_MACRO(SIGHUP);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1429|      2|#endif
 1430|      2|#ifdef SIGINT
 1431|      2|    ADD_INT_MACRO(SIGINT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1432|      2|#endif
 1433|       |#ifdef SIGBREAK
 1434|       |    ADD_INT_MACRO(SIGBREAK);
 1435|       |#endif
 1436|      2|#ifdef SIGQUIT
 1437|      2|    ADD_INT_MACRO(SIGQUIT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1438|      2|#endif
 1439|      2|#ifdef SIGILL
 1440|      2|    ADD_INT_MACRO(SIGILL);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1441|      2|#endif
 1442|      2|#ifdef SIGTRAP
 1443|      2|    ADD_INT_MACRO(SIGTRAP);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1444|      2|#endif
 1445|      2|#ifdef SIGIOT
 1446|      2|    ADD_INT_MACRO(SIGIOT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1447|      2|#endif
 1448|      2|#ifdef SIGABRT
 1449|      2|    ADD_INT_MACRO(SIGABRT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1450|      2|#endif
 1451|       |#ifdef SIGEMT
 1452|       |    ADD_INT_MACRO(SIGEMT);
 1453|       |#endif
 1454|      2|#ifdef SIGFPE
 1455|      2|    ADD_INT_MACRO(SIGFPE);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1456|      2|#endif
 1457|      2|#ifdef SIGKILL
 1458|      2|    ADD_INT_MACRO(SIGKILL);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1459|      2|#endif
 1460|      2|#ifdef SIGBUS
 1461|      2|    ADD_INT_MACRO(SIGBUS);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1462|      2|#endif
 1463|      2|#ifdef SIGSEGV
 1464|      2|    ADD_INT_MACRO(SIGSEGV);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1465|      2|#endif
 1466|      2|#ifdef SIGSYS
 1467|      2|    ADD_INT_MACRO(SIGSYS);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1468|      2|#endif
 1469|      2|#ifdef SIGPIPE
 1470|      2|    ADD_INT_MACRO(SIGPIPE);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1471|      2|#endif
 1472|      2|#ifdef SIGALRM
 1473|      2|    ADD_INT_MACRO(SIGALRM);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1474|      2|#endif
 1475|      2|#ifdef SIGTERM
 1476|      2|    ADD_INT_MACRO(SIGTERM);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1477|      2|#endif
 1478|      2|#ifdef SIGUSR1
 1479|      2|    ADD_INT_MACRO(SIGUSR1);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1480|      2|#endif
 1481|      2|#ifdef SIGUSR2
 1482|      2|    ADD_INT_MACRO(SIGUSR2);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1483|      2|#endif
 1484|      2|#ifdef SIGCLD
 1485|      2|    ADD_INT_MACRO(SIGCLD);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1486|      2|#endif
 1487|      2|#ifdef SIGCHLD
 1488|      2|    ADD_INT_MACRO(SIGCHLD);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1489|      2|#endif
 1490|      2|#ifdef SIGPWR
 1491|      2|    ADD_INT_MACRO(SIGPWR);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1492|      2|#endif
 1493|      2|#ifdef SIGIO
 1494|      2|    ADD_INT_MACRO(SIGIO);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1495|      2|#endif
 1496|      2|#ifdef SIGURG
 1497|      2|    ADD_INT_MACRO(SIGURG);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1498|      2|#endif
 1499|      2|#ifdef SIGWINCH
 1500|      2|    ADD_INT_MACRO(SIGWINCH);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1501|      2|#endif
 1502|      2|#ifdef SIGPOLL
 1503|      2|    ADD_INT_MACRO(SIGPOLL);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1504|      2|#endif
 1505|      2|#ifdef SIGSTOP
 1506|      2|    ADD_INT_MACRO(SIGSTOP);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1507|      2|#endif
 1508|      2|#ifdef SIGTSTP
 1509|      2|    ADD_INT_MACRO(SIGTSTP);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1510|      2|#endif
 1511|      2|#ifdef SIGCONT
 1512|      2|    ADD_INT_MACRO(SIGCONT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1513|      2|#endif
 1514|      2|#ifdef SIGTTIN
 1515|      2|    ADD_INT_MACRO(SIGTTIN);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1516|      2|#endif
 1517|      2|#ifdef SIGTTOU
 1518|      2|    ADD_INT_MACRO(SIGTTOU);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1519|      2|#endif
 1520|      2|#ifdef SIGVTALRM
 1521|      2|    ADD_INT_MACRO(SIGVTALRM);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1522|      2|#endif
 1523|      2|#ifdef SIGPROF
 1524|      2|    ADD_INT_MACRO(SIGPROF);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1525|      2|#endif
 1526|      2|#ifdef SIGXCPU
 1527|      2|    ADD_INT_MACRO(SIGXCPU);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1528|      2|#endif
 1529|      2|#ifdef SIGXFSZ
 1530|      2|    ADD_INT_MACRO(SIGXFSZ);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1531|      2|#endif
 1532|      2|#ifdef SIGRTMIN
 1533|      2|    ADD_INT_MACRO(SIGRTMIN);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1534|      2|#endif
 1535|      2|#ifdef SIGRTMAX
 1536|      2|    ADD_INT_MACRO(SIGRTMAX);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1537|      2|#endif
 1538|       |#ifdef SIGINFO
 1539|       |    ADD_INT_MACRO(SIGINFO);
 1540|       |#endif
 1541|      2|#ifdef SIGSTKFLT
 1542|      2|    ADD_INT_MACRO(SIGSTKFLT);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1543|      2|#endif
 1544|       |
 1545|       |    // ITIMER_xxx constants
 1546|      2|#ifdef ITIMER_REAL
 1547|      2|    ADD_INT_MACRO(ITIMER_REAL);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1548|      2|#endif
 1549|      2|#ifdef ITIMER_VIRTUAL
 1550|      2|    ADD_INT_MACRO(ITIMER_VIRTUAL);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1551|      2|#endif
 1552|      2|#ifdef ITIMER_PROF
 1553|      2|    ADD_INT_MACRO(ITIMER_PROF);
  ------------------
  |  | 1411|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1411:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1412|      0|        return -1; \
  |  | 1413|      0|    }
  ------------------
 1554|      2|#endif
 1555|       |
 1556|       |    // CTRL_xxx Windows signals
 1557|       |#ifdef CTRL_C_EVENT
 1558|       |    ADD_INT_MACRO(CTRL_C_EVENT);
 1559|       |#endif
 1560|       |#ifdef CTRL_BREAK_EVENT
 1561|       |    ADD_INT_MACRO(CTRL_BREAK_EVENT);
 1562|       |#endif
 1563|       |
 1564|      2|    return 0;
 1565|       |
 1566|      2|#undef ADD_INT_MACRO
 1567|      2|}
signalmodule.c:signal_get_set_handlers:
 1572|      2|{
 1573|       |    // Get signal handlers
 1574|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1574:26): [True: 128, False: 2]
  ------------------
 1575|    128|        void (*c_handler)(int) = PyOS_getsig(signum);
 1576|    128|        PyObject *func;
 1577|    128|        if (c_handler == SIG_DFL) {
  ------------------
  |  Branch (1577:13): [True: 114, False: 14]
  ------------------
 1578|    114|            func = state->default_handler;
 1579|    114|        }
 1580|     14|        else if (c_handler == SIG_IGN) {
  ------------------
  |  Branch (1580:18): [True: 4, False: 10]
  ------------------
 1581|      4|            func = state->ignore_handler;
 1582|      4|        }
 1583|     10|        else {
 1584|     10|            func = Py_None; // None of our business
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1585|     10|        }
 1586|       |        // If signal_module_exec() is called more than one, we must
 1587|       |        // clear the strong reference to the previous function.
 1588|    128|        PyObject* old_func = get_handler(signum);
 1589|    128|        set_handler(signum, Py_NewRef(func));
  ------------------
  |  |  550|    128|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|    128|        Py_XDECREF(old_func);
  ------------------
  |  |  524|    128|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|    128|    }
 1592|       |
 1593|       |    // Install Python SIGINT handler which raises KeyboardInterrupt
 1594|      2|    PyObject* sigint_func = get_handler(SIGINT);
 1595|      2|    if (sigint_func == state->default_handler) {
  ------------------
  |  Branch (1595:9): [True: 2, False: 0]
  ------------------
 1596|      2|        PyObject *int_handler = PyMapping_GetItemString(mod_dict,
 1597|      2|                                                        "default_int_handler");
 1598|      2|        if (!int_handler) {
  ------------------
  |  Branch (1598:13): [True: 0, False: 2]
  ------------------
 1599|      0|            return -1;
 1600|      0|        }
 1601|       |
 1602|      2|        set_handler(SIGINT, int_handler);
 1603|      2|        Py_DECREF(sigint_func);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|      2|        PyOS_setsig(SIGINT, signal_handler);
 1605|      2|    }
 1606|      2|    return 0;
 1607|      2|}
signalmodule.c:_signal_module_traverse:
 1676|     16|{
 1677|     16|    _signal_module_state *state = get_signal_state(module);
 1678|     16|    Py_VISIT(state->itimer_error);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1679|     16|    Py_VISIT(state->siginfo_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1680|     16|    return 0;
 1681|     16|}
signalmodule.c:get_handler:
  130|    130|{
  131|    130|    return (PyObject *)_Py_atomic_load_ptr(&Handlers[i].func);
  ------------------
  |  |  106|    130|#define Handlers _PyRuntime.signals.handlers
  ------------------
  132|    130|}
signalmodule.c:set_handler:
  136|    130|{
  137|       |    /* Store func with atomic operation to ensure
  138|       |       that PyErr_SetInterrupt is async-signal-safe. */
  139|    130|    _Py_atomic_store_ptr(&Handlers[i].func, func);
  ------------------
  |  |  106|    130|#define Handlers _PyRuntime.signals.handlers
  ------------------
  140|    130|}
signalmodule.c:signal_install_handlers:
 1925|      2|{
 1926|      2|#ifdef SIGPIPE
 1927|      2|    PyOS_setsig(SIGPIPE, SIG_IGN);
 1928|      2|#endif
 1929|       |#ifdef SIGXFZ
 1930|       |    PyOS_setsig(SIGXFZ, SIG_IGN);
 1931|       |#endif
 1932|      2|#ifdef SIGXFSZ
 1933|      2|    PyOS_setsig(SIGXFSZ, SIG_IGN);
 1934|      2|#endif
 1935|       |
 1936|       |    // Import _signal to install the Python SIGINT handler
 1937|      2|    PyObject *module = PyImport_ImportModule("_signal");
 1938|      2|    if (!module) {
  ------------------
  |  Branch (1938:9): [True: 0, False: 2]
  ------------------
 1939|      0|        return -1;
 1940|      0|    }
 1941|      2|    Py_DECREF(module);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1942|       |
 1943|      2|    return 0;
 1944|      2|}

PyInit_time:
 2212|      2|{
 2213|      2|    return PyModuleDef_Init(&timemodule);
 2214|      2|}
timemodule.c:time_time:
  109|      6|{
  110|      6|    PyTime_t t;
  111|      6|    if (PyTime_Time(&t) < 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 6]
  ------------------
  112|      0|        return NULL;
  113|      0|    }
  114|      6|    return _PyFloat_FromPyTime(t);
  115|      6|}
timemodule.c:_PyFloat_FromPyTime:
  101|  18.7k|{
  102|  18.7k|    double d = PyTime_AsSecondsDouble(t);
  103|  18.7k|    return PyFloat_FromDouble(d);
  104|  18.7k|}
timemodule.c:time_time_ns:
  126|      2|{
  127|      2|    PyTime_t t;
  128|      2|    if (PyTime_Time(&t) < 0) {
  ------------------
  |  Branch (128:9): [True: 0, False: 2]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|      2|    return PyLong_FromInt64(t);
  132|      2|}
timemodule.c:get_time_state:
   92|     18|{
   93|     18|    void *state = _PyModule_GetState(module);
   94|       |    assert(state != NULL);
   95|     18|    return (time_module_state *)state;
   96|     18|}
timemodule.c:init_timezone:
 1786|      2|{
 1787|      2|#define ADD_INT(NAME, VALUE) do {                       \
 1788|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
 1789|      2|        return -1;                                      \
 1790|      2|    }                                                   \
 1791|      2|} while (0)
 1792|       |
 1793|      2|    assert(!PyErr_Occurred());
 1794|       |
 1795|       |    /* This code moved from PyInit_time wholesale to allow calling it from
 1796|       |    time_tzset. In the future, some parts of it can be moved back
 1797|       |    (for platforms that don't HAVE_WORKING_TZSET, when we know what they
 1798|       |    are), and the extraneous calls to tzset(3) should be removed.
 1799|       |    I haven't done this yet, as I don't want to change this code as
 1800|       |    little as possible when introducing the time.tzset and time.tzsetwall
 1801|       |    methods. This should simply be a method of doing the following once,
 1802|       |    at the top of this function and removing the call to tzset() from
 1803|       |    time_tzset():
 1804|       |
 1805|       |        #ifdef HAVE_TZSET
 1806|       |        tzset()
 1807|       |        #endif
 1808|       |
 1809|       |    And I'm lazy and hate C so nyer.
 1810|       |     */
 1811|       |#ifdef HAVE_DECL_TZNAME
 1812|       |    PyObject *otz0, *otz1;
 1813|       |#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 1814|       |    tzset();
 1815|       |#endif
 1816|       |    ADD_INT("timezone", _Py_timezone);
 1817|       |#ifdef HAVE_ALTZONE
 1818|       |    ADD_INT("altzone", altzone);
 1819|       |#else
 1820|       |    ADD_INT("altzone", _Py_timezone-3600);
 1821|       |#endif
 1822|       |    ADD_INT("daylight", _Py_daylight);
 1823|       |#ifdef MS_WINDOWS
 1824|       |    TIME_ZONE_INFORMATION tzinfo = {0};
 1825|       |    GetTimeZoneInformation(&tzinfo);
 1826|       |    otz0 = PyUnicode_FromWideChar(tzinfo.StandardName, -1);
 1827|       |    if (otz0 == NULL) {
 1828|       |        return -1;
 1829|       |    }
 1830|       |    otz1 = PyUnicode_FromWideChar(tzinfo.DaylightName, -1);
 1831|       |    if (otz1 == NULL) {
 1832|       |        Py_DECREF(otz0);
 1833|       |        return -1;
 1834|       |    }
 1835|       |#else
 1836|       |    otz0 = PyUnicode_DecodeLocale(_Py_tzname[0], "surrogateescape");
 1837|       |    if (otz0 == NULL) {
 1838|       |        return -1;
 1839|       |    }
 1840|       |    otz1 = PyUnicode_DecodeLocale(_Py_tzname[1], "surrogateescape");
 1841|       |    if (otz1 == NULL) {
 1842|       |        Py_DECREF(otz0);
 1843|       |        return -1;
 1844|       |    }
 1845|       |#endif // MS_WINDOWS
 1846|       |    if (PyModule_Add(m, "tzname", Py_BuildValue("(NN)", otz0, otz1)) < 0) {
 1847|       |        return -1;
 1848|       |    }
 1849|       |#else // !HAVE_DECL_TZNAME
 1850|      2|    static const time_t YEAR = (365 * 24 + 6) * 3600;
 1851|      2|    time_t t;
 1852|      2|    struct tm p;
 1853|      2|    time_t janzone_t, julyzone_t;
 1854|      2|    char janname[10], julyname[10];
 1855|      2|    t = (time((time_t *)0) / YEAR) * YEAR;
 1856|      2|    _PyTime_localtime(t, &p);
 1857|      2|    get_zone(janname, 9, &p);
 1858|      2|    janzone_t = -get_gmtoff(t, &p);
 1859|      2|    janname[9] = '\0';
 1860|      2|    t += YEAR/2;
 1861|      2|    _PyTime_localtime(t, &p);
 1862|      2|    get_zone(julyname, 9, &p);
 1863|      2|    julyzone_t = -get_gmtoff(t, &p);
 1864|      2|    julyname[9] = '\0';
 1865|       |
 1866|       |    /* Sanity check, don't check for the validity of timezones.
 1867|       |       In practice, it should be more in range -12 hours .. +14 hours. */
 1868|      2|#define MAX_TIMEZONE (48 * 3600)
 1869|      2|    if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1868|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                  if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1868|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1869:9): [True: 0, False: 2]
  |  Branch (1869:38): [True: 0, False: 2]
  ------------------
 1870|      2|        || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1868|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                      || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1868|      2|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1870:12): [True: 0, False: 2]
  |  Branch (1870:42): [True: 0, False: 2]
  ------------------
 1871|      0|    {
 1872|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid GMT offset");
 1873|      0|        return -1;
 1874|      0|    }
 1875|      2|    int janzone = (int)janzone_t;
 1876|      2|    int julyzone = (int)julyzone_t;
 1877|       |
 1878|      2|    PyObject *tzname_obj;
 1879|      2|    if (janzone < julyzone) {
  ------------------
  |  Branch (1879:9): [True: 0, False: 2]
  ------------------
 1880|       |        /* DST is reversed in the southern hemisphere */
 1881|      0|        ADD_INT("timezone", julyzone);
  ------------------
  |  | 1787|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1882|      0|        ADD_INT("altzone", janzone);
  ------------------
  |  | 1787|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1883|      0|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1787|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1884|      0|        tzname_obj = Py_BuildValue("(zz)", julyname, janname);
 1885|      2|    } else {
 1886|      2|        ADD_INT("timezone", janzone);
  ------------------
  |  | 1787|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1887|      2|        ADD_INT("altzone", julyzone);
  ------------------
  |  | 1787|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1888|      2|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1787|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1788|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1788:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1789|      0|        return -1;                                      \
  |  | 1790|      0|    }                                                   \
  |  | 1791|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1791:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1889|      2|        tzname_obj = Py_BuildValue("(zz)", janname, julyname);
 1890|      2|    }
 1891|      2|    if (PyModule_Add(m, "tzname", tzname_obj) < 0) {
  ------------------
  |  Branch (1891:9): [True: 0, False: 2]
  ------------------
 1892|      0|        return -1;
 1893|      0|    }
 1894|      2|#endif // !HAVE_DECL_TZNAME
 1895|      2|#undef ADD_INT
 1896|       |
 1897|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 2]
  ------------------
 1898|      0|        return -1;
 1899|      0|    }
 1900|      2|    return 0;
 1901|      2|}
timemodule.c:get_zone:
 1764|      4|{
 1765|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1766|      4|    strncpy(zone, p->tm_zone ? p->tm_zone : "   ", n);
  ------------------
  |  Branch (1766:19): [True: 4, False: 0]
  ------------------
 1767|       |#else
 1768|       |    tzset();
 1769|       |    strftime(zone, n, "%Z", p);
 1770|       |#endif
 1771|      4|}
timemodule.c:get_gmtoff:
 1775|      4|{
 1776|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1777|      4|    return p->tm_gmtoff;
 1778|       |#else
 1779|       |    return timegm(p) - t;
 1780|       |#endif
 1781|      4|}
timemodule.c:time_perf_counter:
 1234|  18.7k|{
 1235|  18.7k|    PyTime_t t;
 1236|  18.7k|    if (PyTime_PerfCounter(&t) < 0) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 18.7k]
  ------------------
 1237|      0|        return NULL;
 1238|      0|    }
 1239|  18.7k|    return _PyFloat_FromPyTime(t);
 1240|  18.7k|}
timemodule.c:time_exec:
 1982|      2|{
 1983|      2|    time_module_state *state = get_time_state(module);
 1984|       |#if defined(__APPLE__) && defined(HAVE_CLOCK_GETTIME)
 1985|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 1986|       |        /* pass: ^^^ cannot use '!' here */
 1987|       |    } else {
 1988|       |        PyObject* dct = PyModule_GetDict(module);
 1989|       |        if (dct == NULL) {
 1990|       |            return -1;
 1991|       |        }
 1992|       |
 1993|       |        if (PyDict_PopString(dct, "clock_gettime", NULL) < 0) {
 1994|       |            return -1;
 1995|       |        }
 1996|       |        if (PyDict_PopString(dct, "clock_gettime_ns", NULL) < 0) {
 1997|       |            return -1;
 1998|       |        }
 1999|       |        if (PyDict_PopString(dct, "clock_settime", NULL) < 0) {
 2000|       |            return -1;
 2001|       |        }
 2002|       |        if (PyDict_PopString(dct, "clock_settime_ns", NULL) < 0) {
 2003|       |            return -1;
 2004|       |        }
 2005|       |        if (PyDict_PopString(dct, "clock_getres", NULL) < 0) {
 2006|       |            return -1;
 2007|       |        }
 2008|       |    }
 2009|       |#endif
 2010|       |#if defined(__APPLE__) && defined(HAVE_THREAD_TIME)
 2011|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2012|       |        /* pass: ^^^ cannot use '!' here */
 2013|       |    } else {
 2014|       |        PyObject* dct = PyModule_GetDict(module);
 2015|       |
 2016|       |        if (PyDict_PopString(dct, "thread_time", NULL) < 0) {
 2017|       |            return -1;
 2018|       |        }
 2019|       |        if (PyDict_PopString(dct, "thread_time_ns", NULL) < 0) {
 2020|       |            return -1;
 2021|       |        }
 2022|       |    }
 2023|       |#endif
 2024|       |    /* Set, or reset, module variables like time.timezone */
 2025|      2|    if (init_timezone(module) < 0) {
  ------------------
  |  Branch (2025:9): [True: 0, False: 2]
  ------------------
 2026|      0|        return -1;
 2027|      0|    }
 2028|       |
 2029|      2|#if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES)
 2030|      2|    if (HAVE_CLOCK_GETTIME_RUNTIME) {
  ------------------
  |  |   60|      2|#  define HAVE_CLOCK_GETTIME_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (60:38): [True: 2, Folded]
  |  |  ------------------
  ------------------
 2031|       |
 2032|      2|#ifdef CLOCK_REALTIME
 2033|      2|        if (PyModule_AddIntMacro(module, CLOCK_REALTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2033:13): [True: 0, False: 2]
  ------------------
 2034|      0|            return -1;
 2035|      0|        }
 2036|      2|#endif
 2037|      2|#ifdef CLOCK_MONOTONIC
 2038|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2038:13): [True: 0, False: 2]
  ------------------
 2039|      0|            return -1;
 2040|      0|        }
 2041|      2|#endif
 2042|      2|#ifdef CLOCK_MONOTONIC_RAW
 2043|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2043:13): [True: 0, False: 2]
  ------------------
 2044|      0|            return -1;
 2045|      0|        }
 2046|      2|#endif
 2047|       |#ifdef CLOCK_HIGHRES
 2048|       |        if (PyModule_AddIntMacro(module, CLOCK_HIGHRES) < 0) {
 2049|       |            return -1;
 2050|       |        }
 2051|       |#endif
 2052|      2|#ifdef CLOCK_PROCESS_CPUTIME_ID
 2053|      2|        if (PyModule_AddIntMacro(module, CLOCK_PROCESS_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2053:13): [True: 0, False: 2]
  ------------------
 2054|      0|            return -1;
 2055|      0|        }
 2056|      2|#endif
 2057|      2|#ifdef CLOCK_THREAD_CPUTIME_ID
 2058|      2|        if (PyModule_AddIntMacro(module, CLOCK_THREAD_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2058:13): [True: 0, False: 2]
  ------------------
 2059|      0|            return -1;
 2060|      0|        }
 2061|      2|#endif
 2062|       |#ifdef CLOCK_PROF
 2063|       |        if (PyModule_AddIntMacro(module, CLOCK_PROF) < 0) {
 2064|       |            return -1;
 2065|       |        }
 2066|       |#endif
 2067|      2|#ifdef CLOCK_BOOTTIME
 2068|      2|        if (PyModule_AddIntMacro(module, CLOCK_BOOTTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2068:13): [True: 0, False: 2]
  ------------------
 2069|      0|            return -1;
 2070|      0|        }
 2071|      2|#endif
 2072|      2|#ifdef CLOCK_TAI
 2073|      2|        if (PyModule_AddIntMacro(module, CLOCK_TAI) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2073:13): [True: 0, False: 2]
  ------------------
 2074|      0|            return -1;
 2075|      0|        }
 2076|      2|#endif
 2077|       |#ifdef CLOCK_UPTIME
 2078|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME) < 0) {
 2079|       |            return -1;
 2080|       |        }
 2081|       |#endif
 2082|       |#ifdef CLOCK_UPTIME_RAW
 2083|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW) < 0) {
 2084|       |            return -1;
 2085|       |        }
 2086|       |#endif
 2087|       |#ifdef CLOCK_MONOTONIC_RAW_APPROX
 2088|       |        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW_APPROX) < 0) {
 2089|       |            return -1;
 2090|       |        }
 2091|       |#endif
 2092|       |#ifdef CLOCK_UPTIME_RAW_APPROX
 2093|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW_APPROX) < 0) {
 2094|       |            return -1;
 2095|       |        }
 2096|       |#endif
 2097|      2|    }
 2098|       |
 2099|      2|#endif  /* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
 2100|       |
 2101|      2|    if (PyModule_AddIntConstant(module, "_STRUCT_TM_ITEMS", 11)) {
  ------------------
  |  Branch (2101:9): [True: 0, False: 2]
  ------------------
 2102|      0|        return -1;
 2103|      0|    }
 2104|       |
 2105|       |    // struct_time type
 2106|      2|    state->struct_time_type = PyStructSequence_NewType(&struct_time_type_desc);
 2107|      2|    if (state->struct_time_type == NULL) {
  ------------------
  |  Branch (2107:9): [True: 0, False: 2]
  ------------------
 2108|      0|        return -1;
 2109|      0|    }
 2110|      2|    if (PyModule_AddType(module, state->struct_time_type)) {
  ------------------
  |  Branch (2110:9): [True: 0, False: 2]
  ------------------
 2111|      0|        return -1;
 2112|      0|    }
 2113|       |
 2114|       |#if defined(__linux__) && !defined(__GLIBC__)
 2115|       |    struct tm tm;
 2116|       |    const time_t zero = 0;
 2117|       |    if (gmtime_r(&zero, &tm) != NULL)
 2118|       |        utc_string = tm.tm_zone;
 2119|       |#endif
 2120|       |
 2121|       |#if defined(MS_WINDOWS)
 2122|       |    if (timer_flags == (DWORD)-1) {
 2123|       |        DWORD test_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2124|       |        HANDLE timer = CreateWaitableTimerExW(NULL, NULL, test_flags,
 2125|       |                                              TIMER_ALL_ACCESS);
 2126|       |        if (timer == NULL) {
 2127|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is not supported.
 2128|       |            timer_flags = 0;
 2129|       |        }
 2130|       |        else {
 2131|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is supported.
 2132|       |            timer_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2133|       |            CloseHandle(timer);
 2134|       |        }
 2135|       |    }
 2136|       |#endif
 2137|       |
 2138|       |// gh-115714: Don't use times() on WASI.
 2139|      2|#if defined(HAVE_TIMES) && !defined(__wasi__)
 2140|      2|    long ticks_per_second;
 2141|      2|    if (_Py_GetTicksPerSecond(&ticks_per_second) < 0) {
  ------------------
  |  Branch (2141:9): [True: 0, False: 2]
  ------------------
 2142|      0|        PyErr_SetString(PyExc_RuntimeError,
 2143|      0|                        "cannot read ticks_per_second");
 2144|      0|        return -1;
 2145|      0|    }
 2146|      2|    if (_PyTimeFraction_Set(&state->times_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2146:9): [True: 0, False: 2]
  ------------------
 2147|      2|                            ticks_per_second) < 0) {
 2148|      0|        PyErr_Format(PyExc_OverflowError, "ticks_per_second is too large");
 2149|      0|        return -1;
 2150|      0|    }
 2151|      2|#endif
 2152|       |
 2153|      2|#ifdef HAVE_CLOCK
 2154|      2|    if (_PyTimeFraction_Set(&state->clock_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2154:9): [True: 0, False: 2]
  ------------------
 2155|      2|                            CLOCKS_PER_SEC) < 0) {
 2156|      0|        PyErr_Format(PyExc_OverflowError, "CLOCKS_PER_SEC is too large");
 2157|      0|        return -1;
 2158|      0|    }
 2159|      2|#endif
 2160|       |
 2161|      2|    return 0;
 2162|      2|}
timemodule.c:time_module_traverse:
 2167|     16|{
 2168|     16|    time_module_state *state = get_time_state(module);
 2169|     16|    Py_VISIT(state->struct_time_type);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2170|     16|    return 0;
 2171|     16|}

PyObject_Type:
   45|     70|{
   46|     70|    PyObject *v;
   47|       |
   48|     70|    if (o == NULL) {
  ------------------
  |  Branch (48:9): [True: 0, False: 70]
  ------------------
   49|      0|        return null_error();
   50|      0|    }
   51|       |
   52|     70|    v = (PyObject *)Py_TYPE(o);
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   53|     70|    return Py_NewRef(v);
  ------------------
  |  |  550|     70|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|     70|}
PyObject_Size:
   58|  10.8M|{
   59|  10.8M|    if (o == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 10.8M]
  ------------------
   60|      0|        null_error();
   61|      0|        return -1;
   62|      0|    }
   63|       |
   64|  10.8M|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  10.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|  10.8M|    if (m && m->sq_length) {
  ------------------
  |  Branch (65:9): [True: 10.8M, False: 0]
  |  Branch (65:14): [True: 10.8M, False: 60.6k]
  ------------------
   66|  10.8M|        Py_ssize_t len = m->sq_length(o);
   67|  10.8M|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
   68|  10.8M|        return len;
   69|  10.8M|    }
   70|       |
   71|  60.6k|    return PyMapping_Size(o);
   72|  10.8M|}
_PyObject_HasLen:
   83|  42.2k|_PyObject_HasLen(PyObject *o) {
   84|  42.2k|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|  42.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|     60|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:13): [True: 60, False: 42.1k]
  |  Branch (84:43): [True: 32, False: 28]
  ------------------
   85|  42.1k|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|  42.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:10): [True: 28, False: 42.1k]
  |  Branch (85:39): [True: 24, False: 4]
  ------------------
   86|  42.2k|}
PyObject_LengthHint:
   96|  42.1k|{
   97|  42.1k|    PyObject *hint, *result;
   98|  42.1k|    Py_ssize_t res;
   99|  42.1k|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (99:9): [True: 44, False: 42.1k]
  ------------------
  100|     44|        res = PyObject_Length(o);
  ------------------
  |  |   80|     44|#define PyObject_Length PyObject_Size
  ------------------
  101|     44|        if (res < 0) {
  ------------------
  |  Branch (101:13): [True: 0, False: 44]
  ------------------
  102|      0|            PyThreadState *tstate = _PyThreadState_GET();
  103|      0|            assert(_PyErr_Occurred(tstate));
  104|      0|            if (!_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (104:17): [True: 0, False: 0]
  ------------------
  105|      0|                return -1;
  106|      0|            }
  107|      0|            _PyErr_Clear(tstate);
  108|      0|        }
  109|     44|        else {
  110|     44|            return res;
  111|     44|        }
  112|     44|    }
  113|  42.1k|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  919|  42.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  42.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  42.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  42.1k|    if (hint == NULL) {
  ------------------
  |  Branch (114:9): [True: 41.6k, False: 478]
  ------------------
  115|  41.6k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (115:13): [True: 0, False: 41.6k]
  ------------------
  116|      0|            return -1;
  117|      0|        }
  118|  41.6k|        return defaultvalue;
  119|  41.6k|    }
  120|    478|    result = _PyObject_CallNoArgs(hint);
  121|    478|    Py_DECREF(hint);
  ------------------
  |  |  430|    478|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|    478|    if (result == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 478]
  ------------------
  123|      0|        PyThreadState *tstate = _PyThreadState_GET();
  124|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (124:13): [True: 0, False: 0]
  ------------------
  125|      0|            _PyErr_Clear(tstate);
  126|      0|            return defaultvalue;
  127|      0|        }
  128|      0|        return -1;
  129|      0|    }
  130|    478|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    478|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (130:14): [True: 0, False: 478]
  ------------------
  131|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      0|        return defaultvalue;
  133|      0|    }
  134|    478|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|    478|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    478|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 0, False: 478]
  ------------------
  135|      0|        PyErr_Format(PyExc_TypeError,
  136|      0|                     "%T.__length_hint__() must return an int, not %T",
  137|      0|                     o, result);
  138|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|      0|        return -1;
  140|      0|    }
  141|    478|    res = PyLong_AsSsize_t(result);
  142|    478|    Py_DECREF(result);
  ------------------
  |  |  430|    478|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|    478|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (143:9): [True: 0, False: 478]
  |  Branch (143:20): [True: 0, False: 0]
  ------------------
  144|      0|        return -1;
  145|      0|    }
  146|    478|    if (res < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 478]
  ------------------
  147|      0|        PyErr_Format(PyExc_ValueError,
  148|      0|                     "%T.__length_hint__() must return a non-negative int", o);
  149|      0|        return -1;
  150|      0|    }
  151|    478|    return res;
  152|    478|}
PyObject_GetItem:
  156|  16.5M|{
  157|  16.5M|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 16.5M]
  |  Branch (157:22): [True: 0, False: 16.5M]
  ------------------
  158|      0|        return null_error();
  159|      0|    }
  160|       |
  161|  16.5M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  16.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  16.5M|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (162:9): [True: 16.5M, False: 446]
  |  Branch (162:14): [True: 16.5M, False: 96]
  ------------------
  163|  16.5M|        PyObject *item = m->mp_subscript(o, key);
  164|  16.5M|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  165|  16.5M|        return item;
  166|  16.5M|    }
  167|       |
  168|    542|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|    542|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    542|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (169:9): [True: 96, False: 446]
  |  Branch (169:15): [True: 0, False: 96]
  ------------------
  170|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (170:13): [True: 0, False: 0]
  ------------------
  171|      0|            Py_ssize_t key_value;
  172|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  173|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (173:17): [True: 0, False: 0]
  |  Branch (173:36): [True: 0, False: 0]
  ------------------
  174|      0|                return NULL;
  175|      0|            return PySequence_GetItem(o, key_value);
  176|      0|        }
  177|      0|        else {
  178|      0|            return type_error("sequence index must "
  179|      0|                              "be integer, not '%.200s'", key);
  180|      0|        }
  181|      0|    }
  182|       |
  183|    542|    if (PyType_Check(o)) {
  ------------------
  |  |  766|    542|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 542, False: 0]
  |  |  ------------------
  ------------------
  184|    542|        PyObject *meth, *result;
  185|       |
  186|       |        // Special case type[int], but disallow other types so str[int] fails
  187|    542|        if ((PyTypeObject*)o == &PyType_Type) {
  ------------------
  |  Branch (187:13): [True: 8, False: 534]
  ------------------
  188|      8|            return Py_GenericAlias(o, key);
  189|      8|        }
  190|       |
  191|    534|        if (PyObject_GetOptionalAttr(o, &_Py_ID(__class_getitem__), &meth) < 0) {
  ------------------
  |  |  919|    534|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    534|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    534|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (191:13): [True: 0, False: 534]
  ------------------
  192|      0|            return NULL;
  193|      0|        }
  194|    534|        if (meth && meth != Py_None) {
  ------------------
  |  |  616|    534|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (194:13): [True: 534, False: 0]
  |  Branch (194:21): [True: 534, False: 0]
  ------------------
  195|    534|            result = PyObject_CallOneArg(meth, key);
  196|    534|            Py_DECREF(meth);
  ------------------
  |  |  430|    534|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    534|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    534|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|    534|            return result;
  198|    534|        }
  199|      0|        Py_XDECREF(meth);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      0|        PyErr_Format(PyExc_TypeError, "type '%.200s' is not subscriptable",
  201|      0|                     ((PyTypeObject *)o)->tp_name);
  202|      0|        return NULL;
  203|    534|    }
  204|       |
  205|      0|    return type_error("'%.200s' object is not subscriptable", o);
  206|    542|}
PyMapping_GetOptionalItem:
  210|  2.44M|{
  211|  2.44M|    if (PyDict_CheckExact(obj)) {
  ------------------
  |  |   19|  2.44M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  2.44M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.44M, False: 218]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  2.44M|        return PyDict_GetItemRef(obj, key, result);
  213|  2.44M|    }
  214|       |
  215|    218|    *result = PyObject_GetItem(obj, key);
  216|    218|    if (*result) {
  ------------------
  |  Branch (216:9): [True: 118, False: 100]
  ------------------
  217|    118|        return 1;
  218|    118|    }
  219|    218|    assert(PyErr_Occurred());
  220|    100|    if (!PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (220:9): [True: 0, False: 100]
  ------------------
  221|      0|        return -1;
  222|      0|    }
  223|    100|    PyErr_Clear();
  224|    100|    return 0;
  225|    100|}
_PyMapping_GetOptionalItem2:
  229|  2.42k|{
  230|  2.42k|    PyObject* result;
  231|  2.42k|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  232|  2.42k|    return result;
  233|  2.42k|}
PyObject_SetItem:
  237|  8.52M|{
  238|  8.52M|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 8.52M]
  |  Branch (238:22): [True: 0, False: 8.52M]
  |  Branch (238:37): [True: 0, False: 8.52M]
  ------------------
  239|      0|        null_error();
  240|      0|        return -1;
  241|      0|    }
  242|       |
  243|  8.52M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  8.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  8.52M|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (244:9): [True: 8.52M, False: 0]
  |  Branch (244:14): [True: 8.52M, False: 0]
  ------------------
  245|  8.52M|        int res = m->mp_ass_subscript(o, key, value);
  246|  8.52M|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  247|  8.52M|        return res;
  248|  8.52M|    }
  249|       |
  250|      0|    if (Py_TYPE(o)->tp_as_sequence) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (250:9): [True: 0, False: 0]
  ------------------
  251|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (251:13): [True: 0, False: 0]
  ------------------
  252|      0|            Py_ssize_t key_value;
  253|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  254|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (254:17): [True: 0, False: 0]
  |  Branch (254:36): [True: 0, False: 0]
  ------------------
  255|      0|                return -1;
  256|      0|            return PySequence_SetItem(o, key_value, value);
  257|      0|        }
  258|      0|        else if (Py_TYPE(o)->tp_as_sequence->sq_ass_item) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:18): [True: 0, False: 0]
  ------------------
  259|      0|            type_error("sequence index must be "
  260|      0|                       "integer, not '%.200s'", key);
  261|      0|            return -1;
  262|      0|        }
  263|      0|    }
  264|       |
  265|      0|    type_error("'%.200s' object does not support item assignment", o);
  266|      0|    return -1;
  267|      0|}
PyObject_DelItem:
  271|  27.9k|{
  272|  27.9k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 27.9k]
  |  Branch (272:22): [True: 0, False: 27.9k]
  ------------------
  273|      0|        null_error();
  274|      0|        return -1;
  275|      0|    }
  276|       |
  277|  27.9k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  27.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  27.9k|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (278:9): [True: 27.9k, False: 0]
  |  Branch (278:14): [True: 27.9k, False: 0]
  ------------------
  279|  27.9k|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  280|  27.9k|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  281|  27.9k|        return res;
  282|  27.9k|    }
  283|       |
  284|      0|    if (Py_TYPE(o)->tp_as_sequence) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (284:9): [True: 0, False: 0]
  ------------------
  285|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (285:13): [True: 0, False: 0]
  ------------------
  286|      0|            Py_ssize_t key_value;
  287|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  288|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (288:17): [True: 0, False: 0]
  |  Branch (288:36): [True: 0, False: 0]
  ------------------
  289|      0|                return -1;
  290|      0|            return PySequence_DelItem(o, key_value);
  291|      0|        }
  292|      0|        else if (Py_TYPE(o)->tp_as_sequence->sq_ass_item) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (292:18): [True: 0, False: 0]
  ------------------
  293|      0|            type_error("sequence index must be "
  294|      0|                       "integer, not '%.200s'", key);
  295|      0|            return -1;
  296|      0|        }
  297|      0|    }
  298|       |
  299|      0|    type_error("'%.200s' object does not support item deletion", o);
  300|      0|    return -1;
  301|      0|}
PyObject_CheckBuffer:
  325|  16.1M|{
  326|  16.1M|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  16.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|  16.1M|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (327:13): [True: 16.1M, False: 5.54k]
  |  Branch (327:37): [True: 16.1M, False: 0]
  ------------------
  328|  16.1M|}
PyObject_GetBuffer:
  440|  24.7M|{
  441|  24.7M|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|  24.7M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (441:9): [True: 16.0M, False: 8.60M]
  ------------------
  442|  16.0M|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  32.1M|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  16.0M|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (442:13): [True: 0, False: 16.0M]
  |  Branch (442:36): [True: 0, False: 16.0M]
  ------------------
  443|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  444|      0|            return -1;
  445|      0|        }
  446|  16.0M|    }
  447|  24.7M|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  24.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|       |
  449|  24.7M|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (449:9): [True: 0, False: 24.7M]
  |  Branch (449:23): [True: 0, False: 24.7M]
  ------------------
  450|      0|        PyErr_Format(PyExc_TypeError,
  451|      0|                     "a bytes-like object is required, not '%.100s'",
  452|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      0|        return -1;
  454|      0|    }
  455|  24.7M|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  456|       |    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  457|  24.7M|    return res;
  458|  24.7M|}
PyBuffer_IsContiguous:
  529|  16.0M|{
  530|       |
  531|  16.0M|    if (view->suboffsets != NULL) return 0;
  ------------------
  |  Branch (531:9): [True: 0, False: 16.0M]
  ------------------
  532|       |
  533|  16.0M|    if (order == 'C')
  ------------------
  |  Branch (533:9): [True: 16.0M, False: 0]
  ------------------
  534|  16.0M|        return _IsCContiguous(view);
  535|      0|    else if (order == 'F')
  ------------------
  |  Branch (535:14): [True: 0, False: 0]
  ------------------
  536|      0|        return _IsFortranContiguous(view);
  537|      0|    else if (order == 'A')
  ------------------
  |  Branch (537:14): [True: 0, False: 0]
  ------------------
  538|      0|        return (_IsCContiguous(view) || _IsFortranContiguous(view));
  ------------------
  |  Branch (538:17): [True: 0, False: 0]
  |  Branch (538:41): [True: 0, False: 0]
  ------------------
  539|      0|    return 0;
  540|  16.0M|}
PyBuffer_FillInfo:
  776|  24.7M|{
  777|  24.7M|    if (view == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 24.7M]
  ------------------
  778|      0|        PyErr_SetString(PyExc_BufferError,
  779|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  780|      0|        return -1;
  781|      0|    }
  782|       |
  783|  24.7M|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|  24.7M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (783:9): [True: 16.0M, False: 8.60M]
  ------------------
  784|  16.0M|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  32.1M|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  16.0M|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (784:13): [True: 0, False: 16.0M]
  |  Branch (784:36): [True: 0, False: 16.0M]
  ------------------
  785|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  786|      0|            return -1;
  787|      0|        }
  788|  16.0M|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  16.0M|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  16.0M|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (788:13): [True: 24, False: 16.0M]
  ------------------
  789|     24|            (readonly == 1)) {
  ------------------
  |  Branch (789:13): [True: 0, False: 24]
  ------------------
  790|      0|            PyErr_SetString(PyExc_BufferError,
  791|      0|                            "Object is not writable.");
  792|      0|            return -1;
  793|      0|        }
  794|  16.0M|    }
  795|       |
  796|  24.7M|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  551|  24.7M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  24.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|  24.7M|    view->buf = buf;
  798|  24.7M|    view->len = len;
  799|  24.7M|    view->readonly = readonly;
  800|  24.7M|    view->itemsize = 1;
  801|  24.7M|    view->format = NULL;
  802|  24.7M|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|  24.7M|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|  24.7M|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (802:9): [True: 16.0M, False: 8.60M]
  ------------------
  803|  16.0M|        view->format = "B";
  804|  24.7M|    view->ndim = 1;
  805|  24.7M|    view->shape = NULL;
  806|  24.7M|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|  24.7M|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|  24.7M|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (806:9): [True: 16.0M, False: 8.60M]
  ------------------
  807|  16.0M|        view->shape = &(view->len);
  808|  24.7M|    view->strides = NULL;
  809|  24.7M|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|  24.7M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  24.7M|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|  24.7M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  24.7M|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (809:9): [True: 16.0M, False: 8.60M]
  ------------------
  810|  16.0M|        view->strides = &(view->itemsize);
  811|  24.7M|    view->suboffsets = NULL;
  812|       |    view->internal = NULL;
  813|  24.7M|    return 0;
  814|  24.7M|}
PyBuffer_Release:
  818|  25.1M|{
  819|  25.1M|    PyObject *obj = view->obj;
  820|  25.1M|    PyBufferProcs *pb;
  821|  25.1M|    if (obj == NULL)
  ------------------
  |  Branch (821:9): [True: 42.8k, False: 25.1M]
  ------------------
  822|  42.8k|        return;
  823|  25.1M|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  25.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  25.1M|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (824:9): [True: 25.1M, False: 0]
  |  Branch (824:15): [True: 8.04M, False: 17.0M]
  ------------------
  825|  8.04M|        pb->bf_releasebuffer(obj, view);
  826|  8.04M|    }
  827|  25.1M|    view->obj = NULL;
  828|  25.1M|    Py_DECREF(obj);
  ------------------
  |  |  430|  25.1M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|  25.1M|}
PyObject_Format:
  854|  15.0k|{
  855|  15.0k|    PyObject *meth;
  856|  15.0k|    PyObject *empty = NULL;
  857|  15.0k|    PyObject *result = NULL;
  858|       |
  859|  15.0k|    if (format_spec != NULL && !PyUnicode_Check(format_spec)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (859:9): [True: 4, False: 14.9k]
  |  Branch (859:32): [True: 0, False: 4]
  ------------------
  860|      0|        PyErr_Format(PyExc_SystemError,
  861|      0|                     "Format specifier must be a string, not %.200s",
  862|      0|                     Py_TYPE(format_spec)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  863|      0|        return NULL;
  864|      0|    }
  865|       |
  866|       |    /* Fast path for common types. */
  867|  15.0k|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (867:9): [True: 14.9k, False: 4]
  |  Branch (867:32): [True: 4, False: 0]
  ------------------
  868|  15.0k|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  15.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  15.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 15.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  869|      0|            return Py_NewRef(obj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  870|      0|        }
  871|  15.0k|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|  15.0k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  15.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14.9k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|  14.9k|            return PyObject_Str(obj);
  873|  14.9k|        }
  874|  15.0k|    }
  875|       |
  876|       |    /* If no format_spec is provided, use an empty string */
  877|     12|    if (format_spec == NULL) {
  ------------------
  |  Branch (877:9): [True: 8, False: 4]
  ------------------
  878|      8|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      8|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  879|      8|        format_spec = empty;
  880|      8|    }
  881|       |
  882|       |    /* Find the (unbound!) __format__ method */
  883|     12|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  919|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|     12|    if (meth == NULL) {
  ------------------
  |  Branch (884:9): [True: 0, False: 12]
  ------------------
  885|      0|        PyThreadState *tstate = _PyThreadState_GET();
  886|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (886:13): [True: 0, False: 0]
  ------------------
  887|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  888|      0|                          "Type %.100s doesn't define __format__",
  889|      0|                          Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|      0|        }
  891|      0|        goto done;
  892|      0|    }
  893|       |
  894|       |    /* And call it. */
  895|     12|    result = PyObject_CallOneArg(meth, format_spec);
  896|     12|    Py_DECREF(meth);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|     12|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (898:9): [True: 12, False: 0]
  |  Branch (898:19): [True: 0, False: 12]
  ------------------
  899|      0|        PyErr_Format(PyExc_TypeError,
  900|      0|                     "%T.__format__() must return a str, not %T",
  901|      0|                     obj, result);
  902|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  903|      0|        goto done;
  904|      0|    }
  905|       |
  906|     12|done:
  907|     12|    Py_XDECREF(empty);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|     12|    return result;
  909|     12|}
PyNumber_Check:
  914|  94.3k|{
  915|  94.3k|    if (o == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 94.3k]
  ------------------
  916|      0|        return 0;
  917|  94.3k|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|  94.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|  94.3k|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|    520|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|    520|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 520]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:12): [True: 94.3k, False: 0]
  |  Branch (918:19): [True: 93.7k, False: 520]
  |  Branch (918:35): [True: 0, False: 520]
  |  Branch (918:49): [True: 0, False: 520]
  ------------------
  919|  94.3k|}
PyNumber_Add:
 1139|   303k|{
 1140|   303k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  993|   303k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1141|   303k|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|   303k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1141:9): [True: 294k, False: 8.58k]
  ------------------
 1142|   294k|        return result;
 1143|   294k|    }
 1144|  8.58k|    Py_DECREF(result);
  ------------------
  |  |  430|  8.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|       |
 1146|  8.58k|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  8.58k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|  8.58k|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1147:9): [True: 8.58k, False: 0]
  |  Branch (1147:14): [True: 8.58k, False: 0]
  ------------------
 1148|  8.58k|        result = (*m->sq_concat)(v, w);
 1149|  8.58k|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
 1150|  8.58k|        return result;
 1151|  8.58k|    }
 1152|       |
 1153|      0|    return binop_type_error(v, w, "+");
 1154|  8.58k|}
PyNumber_Multiply:
 1177|    930|{
 1178|    930|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  993|    930|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1179|    930|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    930|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1179:9): [True: 134, False: 796]
  ------------------
 1180|    134|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|    134|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|    134|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|    134|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|    134|        Py_DECREF(result);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|    134|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1183:14): [True: 132, False: 2]
  |  Branch (1183:20): [True: 132, False: 0]
  ------------------
 1184|    132|            return sequence_repeat(mv->sq_repeat, v, w);
 1185|    132|        }
 1186|      2|        else if (mw && mw->sq_repeat) {
  ------------------
  |  Branch (1186:18): [True: 2, False: 0]
  |  Branch (1186:24): [True: 2, False: 0]
  ------------------
 1187|      2|            return sequence_repeat(mw->sq_repeat, w, v);
 1188|      2|        }
 1189|      0|        result = binop_type_error(v, w, "*");
 1190|      0|    }
 1191|    796|    return result;
 1192|    930|}
PyNumber_Power:
 1201|  1.29M|{
 1202|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  923|  1.29M|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1203|  1.29M|}
_PyNumber_PowerNoMod:
 1207|  1.29M|{
 1208|  1.29M|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|  1.29M|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1209|  1.29M|}
PyNumber_InPlaceAdd:
 1308|  8.20M|{
 1309|  8.20M|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1254|  8.20M|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot)
  ------------------
 1310|  8.20M|                                   NB_SLOT(nb_add), "+=");
 1311|  8.20M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  8.20M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1311:9): [True: 8.20M, False: 75]
  ------------------
 1312|  8.20M|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  8.20M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  8.20M|        Py_DECREF(result);
  ------------------
  |  |  430|  8.20M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|  8.20M|        if (m != NULL) {
  ------------------
  |  Branch (1314:13): [True: 8.20M, False: 0]
  ------------------
 1315|  8.20M|            binaryfunc func = m->sq_inplace_concat;
 1316|  8.20M|            if (func == NULL)
  ------------------
  |  Branch (1316:17): [True: 165k, False: 8.04M]
  ------------------
 1317|   165k|                func = m->sq_concat;
 1318|  8.20M|            if (func != NULL) {
  ------------------
  |  Branch (1318:17): [True: 8.20M, False: 0]
  ------------------
 1319|  8.20M|                result = func(v, w);
 1320|  8.20M|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
 1321|  8.20M|                return result;
 1322|  8.20M|            }
 1323|  8.20M|        }
 1324|      0|        result = binop_type_error(v, w, "+=");
 1325|      0|    }
 1326|     75|    return result;
 1327|  8.20M|}
PyIndex_Check:
 1399|  6.54k|{
 1400|  6.54k|    return _PyIndex_Check(obj);
 1401|  6.54k|}
_PyNumber_Index:
 1411|  17.1M|{
 1412|  17.1M|    if (item == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 17.1M]
  ------------------
 1413|      0|        return null_error();
 1414|      0|    }
 1415|       |
 1416|  17.1M|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  17.1M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17.1M, False: 520]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  17.1M|        return Py_NewRef(item);
  ------------------
  |  |  550|  17.1M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  17.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  17.1M|    }
 1419|    520|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1419:9): [True: 520, False: 0]
  ------------------
 1420|    520|        PyErr_Format(PyExc_TypeError,
 1421|    520|                     "'%.200s' object cannot be interpreted "
 1422|    520|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|    520|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|    520|        return NULL;
 1424|    520|    }
 1425|       |
 1426|      0|    PyObject *result = Py_TYPE(item)->tp_as_number->nb_index(item);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      0|    assert(_Py_CheckSlotResult(item, "__index__", result != NULL));
 1428|      0|    if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|      0|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1428:9): [True: 0, False: 0]
  ------------------
 1429|      0|        return result;
 1430|      0|    }
 1431|       |
 1432|      0|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1432:9): [True: 0, False: 0]
  ------------------
 1433|      0|        PyErr_Format(PyExc_TypeError,
 1434|      0|                     "%T.__index__() must return an int, not %T",
 1435|      0|                     item, result);
 1436|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|        return NULL;
 1438|      0|    }
 1439|       |    /* Issue #17576: warn if 'result' not of exact type int. */
 1440|      0|    if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1440:9): [True: 0, False: 0]
  ------------------
 1441|      0|            "%T.__index__() must return an int, not %T.  "
 1442|      0|            "The ability to return an instance of a strict subclass of int "
 1443|      0|            "is deprecated, and may be removed in a future version of Python.",
 1444|      0|            item, result)) {
 1445|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|        return NULL;
 1447|      0|    }
 1448|      0|    return result;
 1449|      0|}
PyNumber_Index:
 1457|  58.4k|{
 1458|  58.4k|    PyObject *result = _PyNumber_Index(item);
 1459|  58.4k|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  58.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  58.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  58.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1459:9): [True: 58.4k, False: 0]
  |  Branch (1459:27): [True: 0, False: 58.4k]
  ------------------
 1460|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1461|      0|    }
 1462|  58.4k|    return result;
 1463|  58.4k|}
PyNumber_AsSsize_t:
 1469|  16.7M|{
 1470|  16.7M|    Py_ssize_t result;
 1471|  16.7M|    PyObject *runerr;
 1472|  16.7M|    PyObject *value = _PyNumber_Index(item);
 1473|  16.7M|    if (value == NULL)
  ------------------
  |  Branch (1473:9): [True: 0, False: 16.7M]
  ------------------
 1474|      0|        return -1;
 1475|       |
 1476|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1477|  16.7M|    result = PyLong_AsSsize_t(value);
 1478|  16.7M|    if (result != -1)
  ------------------
  |  Branch (1478:9): [True: 16.4M, False: 301k]
  ------------------
 1479|  16.4M|        goto finish;
 1480|       |
 1481|   301k|    PyThreadState *tstate = _PyThreadState_GET();
 1482|   301k|    runerr = _PyErr_Occurred(tstate);
 1483|   301k|    if (!runerr) {
  ------------------
  |  Branch (1483:9): [True: 301k, False: 0]
  ------------------
 1484|   301k|        goto finish;
 1485|   301k|    }
 1486|       |
 1487|       |    /* Error handling code -- only manage OverflowError differently */
 1488|      0|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 0]
  ------------------
 1489|      0|        goto finish;
 1490|      0|    }
 1491|      0|    _PyErr_Clear(tstate);
 1492|       |
 1493|       |    /* If no error-handling desired then the default clipping
 1494|       |       is sufficient. */
 1495|      0|    if (!err) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 0]
  ------------------
 1496|      0|        assert(PyLong_Check(value));
 1497|       |        /* Whether or not it is less than or equal to
 1498|       |           zero is determined by the sign of ob_size
 1499|       |        */
 1500|      0|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (1500:13): [True: 0, False: 0]
  ------------------
 1501|      0|            result = PY_SSIZE_T_MIN;
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1502|      0|        else
 1503|      0|            result = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1504|      0|    }
 1505|      0|    else {
 1506|       |        /* Otherwise replace the error with caller's error object. */
 1507|      0|        _PyErr_Format(tstate, err,
 1508|      0|                      "cannot fit '%.200s' into an index-sized integer",
 1509|      0|                      Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|      0|    }
 1511|       |
 1512|  16.7M| finish:
 1513|  16.7M|    Py_DECREF(value);
  ------------------
  |  |  430|  16.7M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|  16.7M|    return result;
 1515|      0|}
PyNumber_Long:
 1520|   124k|{
 1521|   124k|    PyObject *result;
 1522|   124k|    PyNumberMethods *m;
 1523|   124k|    Py_buffer view;
 1524|       |
 1525|   124k|    if (o == NULL) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 124k]
  ------------------
 1526|      0|        return null_error();
 1527|      0|    }
 1528|       |
 1529|   124k|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|   124k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   124k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 68.9k, False: 55.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|  68.9k|        return Py_NewRef(o);
  ------------------
  |  |  550|  68.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  68.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|  68.9k|    }
 1532|  55.1k|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|  55.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  55.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|  55.1k|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1533:9): [True: 55.1k, False: 0]
  |  Branch (1533:14): [True: 55.0k, False: 80]
  ------------------
 1534|       |        /* Convert using the nb_int slot, which should return something
 1535|       |           of exact type int. */
 1536|  55.0k|        result = m->nb_int(o);
 1537|  55.0k|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
 1538|  55.0k|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  55.0k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  55.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  55.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  55.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 55.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1538:13): [True: 0, False: 55.0k]
  ------------------
 1539|  55.0k|            return result;
 1540|  55.0k|        }
 1541|       |
 1542|      0|        if (!PyLong_Check(result)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1542:13): [True: 0, False: 0]
  ------------------
 1543|      0|            PyErr_Format(PyExc_TypeError,
 1544|      0|                         "%T.__int__() must return an int, not %T",
 1545|      0|                         o, result);
 1546|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|            return NULL;
 1548|      0|        }
 1549|       |        /* Issue #17576: warn if 'result' not of exact type int. */
 1550|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1550:13): [True: 0, False: 0]
  ------------------
 1551|      0|                "%T.__int__() must return an int, not %T.  "
 1552|      0|                "The ability to return an instance of a strict subclass of int "
 1553|      0|                "is deprecated, and may be removed in a future version of Python.",
 1554|      0|                o, result)) {
 1555|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      0|            return NULL;
 1557|      0|        }
 1558|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1559|      0|        return result;
 1560|      0|    }
 1561|     80|    if (m && m->nb_index) {
  ------------------
  |  Branch (1561:9): [True: 80, False: 0]
  |  Branch (1561:14): [True: 0, False: 80]
  ------------------
 1562|      0|        return PyNumber_Index(o);
 1563|      0|    }
 1564|       |
 1565|     80|    if (PyUnicode_Check(o))
  ------------------
  |  |  103|     80|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 80, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1567|     80|        return PyLong_FromUnicodeObject(o, 10);
 1568|       |
 1569|      0|    if (PyBytes_Check(o))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|       |        /* need to do extra error checking that PyLong_FromString()
 1571|       |         * doesn't do.  In particular int('9\x005') must raise an
 1572|       |         * exception, not truncate at the null.
 1573|       |         */
 1574|      0|        return _PyLong_FromBytes(PyBytes_AS_STRING(o),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|      0|                                 PyBytes_GET_SIZE(o), 10);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|       |
 1577|      0|    if (PyByteArray_Check(o))
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|      0|        return _PyLong_FromBytes(PyByteArray_AS_STRING(o),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1579|      0|                                 PyByteArray_GET_SIZE(o), 10);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|       |
 1581|      0|    if (PyObject_GetBuffer(o, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1581:9): [True: 0, False: 0]
  ------------------
 1582|      0|        PyObject *bytes;
 1583|       |
 1584|       |        /* Copy to NUL-terminated buffer. */
 1585|      0|        bytes = PyBytes_FromStringAndSize((const char *)view.buf, view.len);
 1586|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (1586:13): [True: 0, False: 0]
  ------------------
 1587|      0|            PyBuffer_Release(&view);
 1588|      0|            return NULL;
 1589|      0|        }
 1590|      0|        result = _PyLong_FromBytes(PyBytes_AS_STRING(bytes),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      0|                                   PyBytes_GET_SIZE(bytes), 10);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      0|        Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      0|        PyBuffer_Release(&view);
 1594|      0|        return result;
 1595|      0|    }
 1596|       |
 1597|      0|    return type_error("int() argument must be a string, a bytes-like object "
 1598|      0|                      "or a real number, not '%.200s'", o);
 1599|      0|}
PyNumber_Float:
 1603|      6|{
 1604|      6|    if (o == NULL) {
  ------------------
  |  Branch (1604:9): [True: 0, False: 6]
  ------------------
 1605|      0|        return null_error();
 1606|      0|    }
 1607|       |
 1608|      6|    if (PyFloat_CheckExact(o)) {
  ------------------
  |  |   17|      6|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|      4|        return Py_NewRef(o);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      4|    }
 1611|       |
 1612|      2|    PyNumberMethods *m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      2|    if (m && m->nb_float) { /* This should include subclasses of float */
  ------------------
  |  Branch (1613:9): [True: 2, False: 0]
  |  Branch (1613:14): [True: 2, False: 0]
  ------------------
 1614|      2|        PyObject *res = m->nb_float(o);
 1615|      2|        assert(_Py_CheckSlotResult(o, "__float__", res != NULL));
 1616|      2|        if (!res || PyFloat_CheckExact(res)) {
  ------------------
  |  |   17|      2|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:13): [True: 0, False: 2]
  ------------------
 1617|      2|            return res;
 1618|      2|        }
 1619|       |
 1620|      0|        if (!PyFloat_Check(res)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1620:13): [True: 0, False: 0]
  ------------------
 1621|      0|            PyErr_Format(PyExc_TypeError,
 1622|      0|                         "%T.__float__() must return a float, not %T", o, res);
 1623|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|      0|            return NULL;
 1625|      0|        }
 1626|       |        /* Issue #26983: warn if 'res' not of exact type float. */
 1627|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1627:13): [True: 0, False: 0]
  ------------------
 1628|      0|                "%T.__float__() must return a float, not %T.  "
 1629|      0|                "The ability to return an instance of a strict subclass of float "
 1630|      0|                "is deprecated, and may be removed in a future version of Python.",
 1631|      0|                o, res)) {
 1632|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|      0|            return NULL;
 1634|      0|        }
 1635|      0|        double val = PyFloat_AS_DOUBLE(res);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1636|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1637|      0|        return PyFloat_FromDouble(val);
 1638|      0|    }
 1639|       |
 1640|      0|    if (m && m->nb_index) {
  ------------------
  |  Branch (1640:9): [True: 0, False: 0]
  |  Branch (1640:14): [True: 0, False: 0]
  ------------------
 1641|      0|        PyObject *res = _PyNumber_Index(o);
 1642|      0|        if (!res) {
  ------------------
  |  Branch (1642:13): [True: 0, False: 0]
  ------------------
 1643|      0|            return NULL;
 1644|      0|        }
 1645|      0|        double val = PyLong_AsDouble(res);
 1646|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|      0|        if (val == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (1647:13): [True: 0, False: 0]
  |  Branch (1647:28): [True: 0, False: 0]
  ------------------
 1648|      0|            return NULL;
 1649|      0|        }
 1650|      0|        return PyFloat_FromDouble(val);
 1651|      0|    }
 1652|       |
 1653|       |    /* A float subclass with nb_float == NULL */
 1654|      0|    if (PyFloat_Check(o)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1655|      0|        return PyFloat_FromDouble(PyFloat_AS_DOUBLE(o));
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      0|    }
 1657|      0|    return PyFloat_FromString(o);
 1658|      0|}
PyNumber_ToBase:
 1663|  80.1k|{
 1664|  80.1k|    if (!(base == 2 || base == 8 || base == 10 || base == 16)) {
  ------------------
  |  Branch (1664:11): [True: 0, False: 80.1k]
  |  Branch (1664:24): [True: 79.6k, False: 512]
  |  Branch (1664:37): [True: 0, False: 512]
  |  Branch (1664:51): [True: 512, False: 0]
  ------------------
 1665|      0|        PyErr_SetString(PyExc_SystemError,
 1666|      0|                        "PyNumber_ToBase: base must be 2, 8, 10 or 16");
 1667|      0|        return NULL;
 1668|      0|    }
 1669|  80.1k|    PyObject *index = _PyNumber_Index(n);
 1670|  80.1k|    if (!index)
  ------------------
  |  Branch (1670:9): [True: 0, False: 80.1k]
  ------------------
 1671|      0|        return NULL;
 1672|  80.1k|    PyObject *res = _PyLong_Format(index, base);
 1673|  80.1k|    Py_DECREF(index);
  ------------------
  |  |  430|  80.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|  80.1k|    return res;
 1675|  80.1k|}
PySequence_Check:
 1682|  1.40k|{
 1683|  1.40k|    if (PyDict_Check(s))
  ------------------
  |  |   18|  1.40k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.40k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|        return 0;
 1685|  1.40k|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|  1.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1685:12): [True: 1.40k, False: 0]
  ------------------
 1686|  1.40k|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  213|  1.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:9): [True: 1.40k, False: 0]
  ------------------
 1687|  1.40k|}
PySequence_Size:
 1691|    216|{
 1692|    216|    if (s == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 216]
  ------------------
 1693|      0|        null_error();
 1694|      0|        return -1;
 1695|      0|    }
 1696|       |
 1697|    216|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|    216|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|    216|    if (m && m->sq_length) {
  ------------------
  |  Branch (1698:9): [True: 216, False: 0]
  |  Branch (1698:14): [True: 216, False: 0]
  ------------------
 1699|    216|        Py_ssize_t len = m->sq_length(s);
 1700|    216|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
 1701|    216|        return len;
 1702|    216|    }
 1703|       |
 1704|      0|    if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1704:9): [True: 0, False: 0]
  |  Branch (1704:38): [True: 0, False: 0]
  ------------------
 1705|      0|        type_error("%.200s is not a sequence", s);
 1706|      0|        return -1;
 1707|      0|    }
 1708|      0|    type_error("object of type '%.200s' has no len()", s);
 1709|      0|    return -1;
 1710|      0|}
PySequence_Concat:
 1722|     20|{
 1723|     20|    if (s == NULL || o == NULL) {
  ------------------
  |  Branch (1723:9): [True: 0, False: 20]
  |  Branch (1723:22): [True: 0, False: 20]
  ------------------
 1724|      0|        return null_error();
 1725|      0|    }
 1726|       |
 1727|     20|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|     20|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|     20|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1728:9): [True: 20, False: 0]
  |  Branch (1728:14): [True: 20, False: 0]
  ------------------
 1729|     20|        PyObject *res = m->sq_concat(s, o);
 1730|     20|        assert(_Py_CheckSlotResult(s, "+", res != NULL));
 1731|     20|        return res;
 1732|     20|    }
 1733|       |
 1734|       |    /* Instances of user classes defining an __add__() method only
 1735|       |       have an nb_add slot, not an sq_concat slot.      So we fall back
 1736|       |       to nb_add if both arguments appear to be sequences. */
 1737|      0|    if (PySequence_Check(s) && PySequence_Check(o)) {
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  |  Branch (1737:32): [True: 0, False: 0]
  ------------------
 1738|      0|        PyObject *result = BINARY_OP1(s, o, NB_SLOT(nb_add), "+");
  ------------------
  |  |  993|      0|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1739|      0|        if (result != Py_NotImplemented)
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1739:13): [True: 0, False: 0]
  ------------------
 1740|      0|            return result;
 1741|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|      0|    }
 1743|      0|    return type_error("'%.200s' object can't be concatenated", s);
 1744|      0|}
PySequence_GetItem:
 1842|  17.2k|{
 1843|  17.2k|    if (s == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 17.2k]
  ------------------
 1844|      0|        return null_error();
 1845|      0|    }
 1846|       |
 1847|  17.2k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  17.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|  17.2k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1848:9): [True: 17.2k, False: 0]
  |  Branch (1848:14): [True: 17.2k, False: 0]
  ------------------
 1849|  17.2k|        if (i < 0) {
  ------------------
  |  Branch (1849:13): [True: 0, False: 17.2k]
  ------------------
 1850|      0|            if (m->sq_length) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 0]
  ------------------
 1851|      0|                Py_ssize_t l = (*m->sq_length)(s);
 1852|      0|                assert(_Py_CheckSlotResult(s, "__len__", l >= 0));
 1853|      0|                if (l < 0) {
  ------------------
  |  Branch (1853:21): [True: 0, False: 0]
  ------------------
 1854|      0|                    return NULL;
 1855|      0|                }
 1856|      0|                i += l;
 1857|      0|            }
 1858|      0|        }
 1859|  17.2k|        PyObject *res = m->sq_item(s, i);
 1860|  17.2k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
 1861|  17.2k|        return res;
 1862|  17.2k|    }
 1863|       |
 1864|      0|    if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_subscript) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_subscript) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1864:9): [True: 0, False: 0]
  |  Branch (1864:38): [True: 0, False: 0]
  ------------------
 1865|      0|        return type_error("%.200s is not a sequence", s);
 1866|      0|    }
 1867|      0|    return type_error("'%.200s' object does not support indexing", s);
 1868|      0|}
PySequence_GetSlice:
 1872|  11.8k|{
 1873|  11.8k|    if (!s) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 11.8k]
  ------------------
 1874|      0|        return null_error();
 1875|      0|    }
 1876|       |
 1877|  11.8k|    PyMappingMethods *mp = Py_TYPE(s)->tp_as_mapping;
  ------------------
  |  |  213|  11.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|  11.8k|    if (mp && mp->mp_subscript) {
  ------------------
  |  Branch (1878:9): [True: 11.8k, False: 0]
  |  Branch (1878:15): [True: 11.8k, False: 0]
  ------------------
 1879|  11.8k|        PyObject *slice = _PySlice_FromIndices(i1, i2);
 1880|  11.8k|        if (!slice) {
  ------------------
  |  Branch (1880:13): [True: 0, False: 11.8k]
  ------------------
 1881|      0|            return NULL;
 1882|      0|        }
 1883|  11.8k|        PyObject *res = mp->mp_subscript(s, slice);
 1884|  11.8k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
 1885|  11.8k|        Py_DECREF(slice);
  ------------------
  |  |  430|  11.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|  11.8k|        return res;
 1887|  11.8k|    }
 1888|       |
 1889|      0|    return type_error("'%.200s' object is unsliceable", s);
 1890|  11.8k|}
PySequence_DelItem:
 1927|    514|{
 1928|    514|    if (s == NULL) {
  ------------------
  |  Branch (1928:9): [True: 0, False: 514]
  ------------------
 1929|      0|        null_error();
 1930|      0|        return -1;
 1931|      0|    }
 1932|       |
 1933|    514|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|    514|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1934|    514|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1934:9): [True: 514, False: 0]
  |  Branch (1934:14): [True: 514, False: 0]
  ------------------
 1935|    514|        if (i < 0) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 514]
  ------------------
 1936|      0|            if (m->sq_length) {
  ------------------
  |  Branch (1936:17): [True: 0, False: 0]
  ------------------
 1937|      0|                Py_ssize_t l = (*m->sq_length)(s);
 1938|      0|                assert(_Py_CheckSlotResult(s, "__len__", l >= 0));
 1939|      0|                if (l < 0) {
  ------------------
  |  Branch (1939:21): [True: 0, False: 0]
  ------------------
 1940|      0|                    return -1;
 1941|      0|                }
 1942|      0|                i += l;
 1943|      0|            }
 1944|      0|        }
 1945|    514|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1946|    514|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
 1947|    514|        return res;
 1948|    514|    }
 1949|       |
 1950|      0|    if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_ass_subscript) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_ass_subscript) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1950:9): [True: 0, False: 0]
  |  Branch (1950:38): [True: 0, False: 0]
  ------------------
 1951|      0|        type_error("%.200s is not a sequence", s);
 1952|      0|        return -1;
 1953|      0|    }
 1954|      0|    type_error("'%.200s' object doesn't support item deletion", s);
 1955|      0|    return -1;
 1956|      0|}
PySequence_Tuple:
 2006|   307k|{
 2007|   307k|    PyObject *it;  /* iter(v) */
 2008|       |
 2009|   307k|    if (v == NULL) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 307k]
  ------------------
 2010|      0|        return null_error();
 2011|      0|    }
 2012|       |
 2013|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2014|   307k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|   307k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   307k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   307k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 225k, False: 81.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2015|       |        /* Note that we can't know whether it's safe to return
 2016|       |           a tuple *subclass* instance as-is, hence the restriction
 2017|       |           to exact tuples here.  In contrast, lists always make
 2018|       |           a copy, so there's no need for exactness below. */
 2019|   225k|        return Py_NewRef(v);
  ------------------
  |  |  550|   225k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|   225k|    }
 2021|  81.7k|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|  81.7k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  81.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  81.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  81.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.3k, False: 61.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|  20.3k|        return PyList_AsTuple(v);
 2023|       |
 2024|       |    /* Get iterator. */
 2025|  61.4k|    it = PyObject_GetIter(v);
 2026|  61.4k|    if (it == NULL)
  ------------------
  |  Branch (2026:9): [True: 0, False: 61.4k]
  ------------------
 2027|      0|        return NULL;
 2028|       |
 2029|  61.4k|    Py_ssize_t n;
 2030|  61.4k|    PyObject *buffer[8];
 2031|   307k|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2031:17): [True: 307k, False: 40]
  ------------------
 2032|   307k|        PyObject *item = PyIter_Next(it);
 2033|   307k|        if (item == NULL) {
  ------------------
  |  Branch (2033:13): [True: 61.3k, False: 246k]
  ------------------
 2034|  61.3k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2034:17): [True: 0, False: 61.3k]
  ------------------
 2035|      0|                goto fail;
 2036|      0|            }
 2037|  61.3k|            Py_DECREF(it);
  ------------------
  |  |  430|  61.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|  61.3k|            return _PyTuple_FromArraySteal(buffer, n);
 2039|  61.3k|        }
 2040|   246k|        buffer[n] = item;
 2041|   246k|    }
 2042|     40|    PyListObject *list = (PyListObject *)PyList_New(16);
 2043|     40|    if (list == NULL) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 40]
  ------------------
 2044|      0|        goto fail;
 2045|      0|    }
 2046|     40|    assert(n == 8);
 2047|     40|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|     40|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     40|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|    360|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2048:28): [True: 320, False: 40]
  ------------------
 2049|    320|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|    320|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|    320|    }
 2051|    332|    for (;;) {
 2052|    332|        PyObject *item = PyIter_Next(it);
 2053|    332|        if (item == NULL) {
  ------------------
  |  Branch (2053:13): [True: 40, False: 292]
  ------------------
 2054|     40|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 40]
  ------------------
 2055|      0|                Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|      0|                Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2057|      0|                return NULL;
 2058|      0|            }
 2059|     40|            break;
 2060|     40|        }
 2061|    292|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 292]
  ------------------
 2062|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      0|            return NULL;
 2065|      0|        }
 2066|    292|    }
 2067|     40|    Py_DECREF(it);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     40|    PyObject *res = _PyList_AsTupleAndClear(list);
 2069|     40|    Py_DECREF(list);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|     40|    return res;
 2071|      0|fail:
 2072|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2073|      0|    while (n > 0) {
  ------------------
  |  Branch (2073:12): [True: 0, False: 0]
  ------------------
 2074|      0|        n--;
 2075|      0|        Py_DECREF(buffer[n]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|      0|    }
 2077|       |    return NULL;
 2078|     40|}
PySequence_List:
 2082|  1.25M|{
 2083|  1.25M|    PyObject *result;  /* result list */
 2084|  1.25M|    PyObject *rv;          /* return value from PyList_Extend */
 2085|       |
 2086|  1.25M|    if (v == NULL) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 1.25M]
  ------------------
 2087|      0|        return null_error();
 2088|      0|    }
 2089|       |
 2090|  1.25M|    result = PyList_New(0);
 2091|  1.25M|    if (result == NULL)
  ------------------
  |  Branch (2091:9): [True: 0, False: 1.25M]
  ------------------
 2092|      0|        return NULL;
 2093|       |
 2094|  1.25M|    rv = _PyList_Extend((PyListObject *)result, v);
 2095|  1.25M|    if (rv == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 1.25M]
  ------------------
 2096|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|      0|        return NULL;
 2098|      0|    }
 2099|  1.25M|    Py_DECREF(rv);
  ------------------
  |  |  430|  1.25M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  1.25M|    return result;
 2101|  1.25M|}
PySequence_Fast:
 2105|  1.59M|{
 2106|  1.59M|    PyObject *it;
 2107|       |
 2108|  1.59M|    if (v == NULL) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 1.59M]
  ------------------
 2109|      0|        return null_error();
 2110|      0|    }
 2111|       |
 2112|  1.59M|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|  1.59M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.18M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 197k, False: 1.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.39M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.39M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.35M, False: 41.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  1.55M|        return Py_NewRef(v);
  ------------------
  |  |  550|  1.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  1.55M|    }
 2115|       |
 2116|  41.2k|    it = PyObject_GetIter(v);
 2117|  41.2k|    if (it == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 41.2k]
  ------------------
 2118|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2119|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (2119:13): [True: 0, False: 0]
  ------------------
 2120|      0|            _PyErr_SetString(tstate, PyExc_TypeError, m);
 2121|      0|        }
 2122|      0|        return NULL;
 2123|      0|    }
 2124|       |
 2125|  41.2k|    v = PySequence_List(it);
 2126|  41.2k|    Py_DECREF(it);
  ------------------
  |  |  430|  41.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|       |
 2128|  41.2k|    return v;
 2129|  41.2k|}
_PySequence_IterSearch:
 2139|    108|{
 2140|    108|    Py_ssize_t n;
 2141|    108|    int wrapped;  /* for PY_ITERSEARCH_INDEX, true iff n wrapped around */
 2142|    108|    PyObject *it;  /* iter(seq) */
 2143|       |
 2144|    108|    if (seq == NULL || obj == NULL) {
  ------------------
  |  Branch (2144:9): [True: 0, False: 108]
  |  Branch (2144:24): [True: 0, False: 108]
  ------------------
 2145|      0|        null_error();
 2146|      0|        return -1;
 2147|      0|    }
 2148|       |
 2149|    108|    it = PyObject_GetIter(seq);
 2150|    108|    if (it == NULL) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 108]
  ------------------
 2151|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2151:13): [True: 0, False: 0]
  ------------------
 2152|      0|            if (operation == PY_ITERSEARCH_CONTAINS) {
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2152:17): [True: 0, False: 0]
  ------------------
 2153|      0|                type_error(
 2154|      0|                    "argument of type '%.200s' is not a container or iterable",
 2155|      0|                    seq
 2156|      0|                    );
 2157|      0|            }
 2158|      0|            else {
 2159|      0|                type_error("argument of type '%.200s' is not iterable", seq);
 2160|      0|            }
 2161|      0|        }
 2162|      0|        return -1;
 2163|      0|    }
 2164|       |
 2165|    108|    n = wrapped = 0;
 2166|    118|    for (;;) {
 2167|    118|        int cmp;
 2168|    118|        PyObject *item = PyIter_Next(it);
 2169|    118|        if (item == NULL) {
  ------------------
  |  Branch (2169:13): [True: 4, False: 114]
  ------------------
 2170|      4|            if (PyErr_Occurred())
  ------------------
  |  Branch (2170:17): [True: 0, False: 4]
  ------------------
 2171|      0|                goto Fail;
 2172|      4|            break;
 2173|      4|        }
 2174|       |
 2175|    114|        cmp = PyObject_RichCompareBool(item, obj, Py_EQ);
  ------------------
  |  |  654|    114|#define Py_EQ 2
  ------------------
 2176|    114|        Py_DECREF(item);
  ------------------
  |  |  430|    114|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|    114|        if (cmp < 0)
  ------------------
  |  Branch (2177:13): [True: 0, False: 114]
  ------------------
 2178|      0|            goto Fail;
 2179|    114|        if (cmp > 0) {
  ------------------
  |  Branch (2179:13): [True: 104, False: 10]
  ------------------
 2180|    104|            switch (operation) {
 2181|      0|            case PY_ITERSEARCH_COUNT:
  ------------------
  |  |   27|      0|#define PY_ITERSEARCH_COUNT    1
  ------------------
  |  Branch (2181:13): [True: 0, False: 104]
  ------------------
 2182|      0|                if (n == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2182:21): [True: 0, False: 0]
  ------------------
 2183|      0|                    PyErr_SetString(PyExc_OverflowError,
 2184|      0|                           "count exceeds C integer size");
 2185|      0|                    goto Fail;
 2186|      0|                }
 2187|      0|                ++n;
 2188|      0|                break;
 2189|       |
 2190|    104|            case PY_ITERSEARCH_INDEX:
  ------------------
  |  |   28|    104|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2190:13): [True: 104, False: 0]
  ------------------
 2191|    104|                if (wrapped) {
  ------------------
  |  Branch (2191:21): [True: 0, False: 104]
  ------------------
 2192|      0|                    PyErr_SetString(PyExc_OverflowError,
 2193|      0|                           "index exceeds C integer size");
 2194|      0|                    goto Fail;
 2195|      0|                }
 2196|    104|                goto Done;
 2197|       |
 2198|    104|            case PY_ITERSEARCH_CONTAINS:
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2198:13): [True: 0, False: 104]
  ------------------
 2199|      0|                n = 1;
 2200|      0|                goto Done;
 2201|       |
 2202|      0|            default:
  ------------------
  |  Branch (2202:13): [True: 0, False: 104]
  ------------------
 2203|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2204|    104|            }
 2205|    104|        }
 2206|       |
 2207|     10|        if (operation == PY_ITERSEARCH_INDEX) {
  ------------------
  |  |   28|     10|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2207:13): [True: 6, False: 4]
  ------------------
 2208|      6|            if (n == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2208:17): [True: 0, False: 6]
  ------------------
 2209|      0|                wrapped = 1;
 2210|      6|            ++n;
 2211|      6|        }
 2212|     10|    }
 2213|       |
 2214|      4|    if (operation != PY_ITERSEARCH_INDEX)
  ------------------
  |  |   28|      4|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2214:9): [True: 4, False: 0]
  ------------------
 2215|      4|        goto Done;
 2216|       |
 2217|      0|    PyErr_SetString(PyExc_ValueError,
 2218|      0|                    "sequence.index(x): x not in sequence");
 2219|       |    /* fall into failure code */
 2220|      0|Fail:
 2221|      0|    n = -1;
 2222|       |    /* fall through */
 2223|    108|Done:
 2224|    108|    Py_DECREF(it);
  ------------------
  |  |  430|    108|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|    108|    return n;
 2226|       |
 2227|      0|}
PySequence_Contains:
 2241|   271k|{
 2242|   271k|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|   271k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   271k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   271k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|   271k|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2243:9): [True: 271k, False: 0]
  |  Branch (2243:24): [True: 271k, False: 4]
  ------------------
 2244|   271k|        int res = (*sqm->sq_contains)(seq, ob);
 2245|   271k|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
 2246|   271k|        return res;
 2247|   271k|    }
 2248|      4|    Py_ssize_t result = _PySequence_IterSearch(seq, ob, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      4|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
 2249|      4|    return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
  ------------------
  |  |  247|      4|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2250|   271k|}
PySequence_Index:
 2262|    104|{
 2263|    104|    return _PySequence_IterSearch(s, o, PY_ITERSEARCH_INDEX);
  ------------------
  |  |   28|    104|#define PY_ITERSEARCH_INDEX    2
  ------------------
 2264|    104|}
PyMapping_Check:
 2270|   112k|{
 2271|   112k|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|   112k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2271:12): [True: 112k, False: 0]
  |  Branch (2271:17): [True: 84.9k, False: 27.7k]
  ------------------
 2272|  84.9k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|  84.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  84.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:9): [True: 84.9k, False: 0]
  ------------------
 2273|   112k|}
PyMapping_Size:
 2277|  60.6k|{
 2278|  60.6k|    if (o == NULL) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 60.6k]
  ------------------
 2279|      0|        null_error();
 2280|      0|        return -1;
 2281|      0|    }
 2282|       |
 2283|  60.6k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  60.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  60.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|  60.6k|    if (m && m->mp_length) {
  ------------------
  |  Branch (2284:9): [True: 60.6k, False: 0]
  |  Branch (2284:14): [True: 60.6k, False: 0]
  ------------------
 2285|  60.6k|        Py_ssize_t len = m->mp_length(o);
 2286|  60.6k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
 2287|  60.6k|        return len;
 2288|  60.6k|    }
 2289|       |
 2290|      0|    if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2290:9): [True: 0, False: 0]
  |  Branch (2290:39): [True: 0, False: 0]
  ------------------
 2291|      0|        type_error("%.200s is not a mapping", o);
 2292|      0|        return -1;
 2293|      0|    }
 2294|       |    /* PyMapping_Size() can be called from PyObject_Size(). */
 2295|      0|    type_error("object of type '%.200s' has no len()", o);
 2296|      0|    return -1;
 2297|      0|}
PyMapping_GetItemString:
 2309|     10|{
 2310|     10|    PyObject *okey, *r;
 2311|       |
 2312|     10|    if (key == NULL) {
  ------------------
  |  Branch (2312:9): [True: 0, False: 10]
  ------------------
 2313|      0|        return null_error();
 2314|      0|    }
 2315|       |
 2316|     10|    okey = PyUnicode_FromString(key);
 2317|     10|    if (okey == NULL)
  ------------------
  |  Branch (2317:9): [True: 0, False: 10]
  ------------------
 2318|      0|        return NULL;
 2319|     10|    r = PyObject_GetItem(o, okey);
 2320|     10|    Py_DECREF(okey);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|     10|    return r;
 2322|     10|}
PyMapping_SetItemString:
 2344|     90|{
 2345|     90|    PyObject *okey;
 2346|     90|    int r;
 2347|       |
 2348|     90|    if (key == NULL) {
  ------------------
  |  Branch (2348:9): [True: 0, False: 90]
  ------------------
 2349|      0|        null_error();
 2350|      0|        return -1;
 2351|      0|    }
 2352|       |
 2353|     90|    okey = PyUnicode_FromString(key);
 2354|     90|    if (okey == NULL)
  ------------------
  |  Branch (2354:9): [True: 0, False: 90]
  ------------------
 2355|      0|        return -1;
 2356|     90|    r = PyObject_SetItem(o, okey, value);
 2357|     90|    Py_DECREF(okey);
  ------------------
  |  |  430|     90|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|     90|    return r;
 2359|     90|}
PyMapping_Keys:
 2461|    184|{
 2462|    184|    if (o == NULL) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 184]
  ------------------
 2463|      0|        return null_error();
 2464|      0|    }
 2465|    184|    if (PyDict_CheckExact(o)) {
  ------------------
  |  |   19|    184|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    184|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 38, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2466|     38|        return PyDict_Keys(o);
 2467|     38|    }
 2468|    146|    return method_output_as_list(o, &_Py_ID(keys));
  ------------------
  |  |  919|    146|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    146|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    146|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2469|    184|}
PyMapping_Items:
 2473|    274|{
 2474|    274|    if (o == NULL) {
  ------------------
  |  Branch (2474:9): [True: 0, False: 274]
  ------------------
 2475|      0|        return null_error();
 2476|      0|    }
 2477|    274|    if (PyDict_CheckExact(o)) {
  ------------------
  |  |   19|    274|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    274|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 274]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|      0|        return PyDict_Items(o);
 2479|      0|    }
 2480|    274|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2481|    274|}
PyObject_IsInstance:
 2705|  3.17M|{
 2706|  3.17M|    PyThreadState *tstate = _PyThreadState_GET();
 2707|  3.17M|    return object_recursive_isinstance(tstate, inst, cls);
 2708|  3.17M|}
PyObject_IsSubclass:
 2793|   349k|{
 2794|   349k|    PyThreadState *tstate = _PyThreadState_GET();
 2795|   349k|    return object_issubclass(tstate, derived, cls);
 2796|   349k|}
_PyObject_RealIsInstance:
 2801|    170|{
 2802|    170|    return object_isinstance(inst, cls);
 2803|    170|}
_PyObject_RealIsSubclass:
 2807|  8.20k|{
 2808|  8.20k|    return recursive_issubclass(derived, cls);
 2809|  8.20k|}
PyObject_GetIter:
 2814|  1.03M|{
 2815|  1.03M|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|  1.03M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|  1.03M|    getiterfunc f;
 2817|       |
 2818|  1.03M|    f = t->tp_iter;
 2819|  1.03M|    if (f == NULL) {
  ------------------
  |  Branch (2819:9): [True: 698, False: 1.02M]
  ------------------
 2820|    698|        if (PySequence_Check(o))
  ------------------
  |  Branch (2820:13): [True: 698, False: 0]
  ------------------
 2821|    698|            return PySeqIter_New(o);
 2822|      0|        return type_error("'%.200s' object is not iterable", o);
 2823|    698|    }
 2824|  1.02M|    else {
 2825|  1.02M|        PyObject *res = (*f)(o);
 2826|  1.02M|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2826:13): [True: 1.02M, False: 0]
  |  Branch (2826:28): [True: 0, False: 1.02M]
  ------------------
 2827|      0|            PyErr_Format(PyExc_TypeError,
 2828|      0|                         "%T.__iter__() must return an iterator, not %T",
 2829|      0|                         o, res);
 2830|      0|            Py_SETREF(res, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2831|      0|        }
 2832|  1.02M|        return res;
 2833|  1.02M|    }
 2834|  1.03M|}
PyIter_Check:
 2857|  1.05M|{
 2858|  1.05M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2859|  1.05M|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2859:13): [True: 1.05M, False: 0]
  ------------------
 2860|  1.05M|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2860:13): [True: 1.05M, False: 0]
  ------------------
 2861|  1.05M|}
PyIter_Next:
 2924|  14.8M|{
 2925|  14.8M|    PyObject *item;
 2926|  14.8M|    (void)iternext(iter, &item);
 2927|  14.8M|    return item;
 2928|  14.8M|}
abstract.c:_IsCContiguous:
  502|  16.0M|{
  503|  16.0M|    Py_ssize_t sd, dim;
  504|  16.0M|    int i;
  505|       |
  506|       |    /* 1) len = product(shape) * itemsize
  507|       |       2) itemsize > 0
  508|       |       3) len = 0 <==> exists i: shape[i] = 0 */
  509|  16.0M|    if (view->len == 0) return 1;
  ------------------
  |  Branch (509:9): [True: 0, False: 16.0M]
  ------------------
  510|  16.0M|    if (view->strides == NULL) return 1; /* C-contiguous by definition */
  ------------------
  |  Branch (510:9): [True: 0, False: 16.0M]
  ------------------
  511|       |
  512|       |    /* strides != NULL implies both of these */
  513|  16.0M|    assert(view->ndim > 0);
  514|  16.0M|    assert(view->shape != NULL);
  515|       |
  516|  16.0M|    sd = view->itemsize;
  517|  32.1M|    for (i=view->ndim-1; i>=0; i--) {
  ------------------
  |  Branch (517:26): [True: 16.0M, False: 16.0M]
  ------------------
  518|  16.0M|        dim = view->shape[i];
  519|  16.0M|        if (dim > 1 && view->strides[i] != sd) {
  ------------------
  |  Branch (519:13): [True: 5.67M, False: 10.4M]
  |  Branch (519:24): [True: 0, False: 5.67M]
  ------------------
  520|      0|            return 0;
  521|      0|        }
  522|  16.0M|        sd *= dim;
  523|  16.0M|    }
  524|  16.0M|    return 1;
  525|  16.0M|}
abstract.c:binary_op:
 1012|  16.7M|{
 1013|  16.7M|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  993|  16.7M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1014|  16.7M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  16.7M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1014:9): [True: 0, False: 16.7M]
  ------------------
 1015|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      0|        return binop_type_error(v, w, op_name);
 1017|      0|    }
 1018|  16.7M|    return result;
 1019|  16.7M|}
abstract.c:binary_op1:
  945|  25.4M|{
  946|  25.4M|    binaryfunc slotv;
  947|  25.4M|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  25.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:9): [True: 25.2M, False: 174k]
  ------------------
  948|  25.2M|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  925|  25.2M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  949|  25.2M|    }
  950|   174k|    else {
  951|   174k|        slotv = NULL;
  952|   174k|    }
  953|       |
  954|  25.4M|    binaryfunc slotw;
  955|  25.4M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  50.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  25.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|  8.43M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (955:9): [True: 8.43M, False: 16.9M]
  |  Branch (955:39): [True: 8.36M, False: 66.0k]
  ------------------
  956|  8.36M|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  925|  8.36M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  957|  8.36M|        if (slotw == slotv) {
  ------------------
  |  Branch (957:13): [True: 8.27M, False: 88.6k]
  ------------------
  958|  8.27M|            slotw = NULL;
  959|  8.27M|        }
  960|  8.36M|    }
  961|  17.0M|    else {
  962|  17.0M|        slotw = NULL;
  963|  17.0M|    }
  964|       |
  965|  25.4M|    if (slotv) {
  ------------------
  |  Branch (965:9): [True: 17.2M, False: 8.21M]
  ------------------
  966|  17.2M|        PyObject *x;
  967|  17.2M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  88.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  88.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  88.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  88.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (967:13): [True: 88.2k, False: 17.1M]
  |  Branch (967:22): [True: 100, False: 88.1k]
  ------------------
  968|    100|            x = slotw(v, w);
  969|    100|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|    100|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (969:17): [True: 100, False: 0]
  ------------------
  970|    100|                return x;
  971|      0|            Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  972|      0|            slotw = NULL;
  973|      0|        }
  974|  17.2M|        x = slotv(v, w);
  975|  17.2M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  976|  17.2M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  17.2M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (976:13): [True: 17.1M, False: 60.3k]
  ------------------
  977|  17.1M|            return x;
  978|  17.1M|        }
  979|  60.3k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  60.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|  60.3k|    }
  981|  8.27M|    if (slotw) {
  ------------------
  |  Branch (981:9): [True: 60.4k, False: 8.21M]
  ------------------
  982|  60.4k|        PyObject *x = slotw(v, w);
  983|  60.4k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  984|  60.4k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  60.4k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (984:13): [True: 60.3k, False: 132]
  ------------------
  985|  60.3k|            return x;
  986|  60.3k|        }
  987|    132|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|    132|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|    132|    }
  989|  8.21M|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  8.21M|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  8.21M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  990|  8.27M|}
abstract.c:sequence_repeat:
 1158|    134|{
 1159|    134|    Py_ssize_t count;
 1160|    134|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1160:9): [True: 134, False: 0]
  ------------------
 1161|    134|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1162|    134|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1162:13): [True: 0, False: 134]
  |  Branch (1162:28): [True: 0, False: 0]
  ------------------
 1163|      0|            return NULL;
 1164|      0|        }
 1165|    134|    }
 1166|      0|    else {
 1167|      0|        return type_error("can't multiply sequence by "
 1168|      0|                          "non-int of type '%.200s'", n);
 1169|      0|    }
 1170|    134|    PyObject *res = (*repeatfunc)(seq, count);
 1171|       |    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
 1172|    134|    return res;
 1173|    134|}
abstract.c:ternary_op:
 1036|  1.29M|{
 1037|  1.29M|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|  1.29M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|  1.29M|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  213|  1.29M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|       |
 1040|  1.29M|    ternaryfunc slotv;
 1041|  1.29M|    if (mv != NULL) {
  ------------------
  |  Branch (1041:9): [True: 1.29M, False: 0]
  ------------------
 1042|  1.29M|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  927|  1.29M|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1043|  1.29M|    }
 1044|      0|    else {
 1045|      0|        slotv = NULL;
 1046|      0|    }
 1047|       |
 1048|  1.29M|    ternaryfunc slotw;
 1049|  1.29M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  215|  2.59M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1049:9): [True: 44, False: 1.29M]
  |  Branch (1049:39): [True: 44, False: 0]
  ------------------
 1050|     44|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  927|     44|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1051|     44|        if (slotw == slotv) {
  ------------------
  |  Branch (1051:13): [True: 0, False: 44]
  ------------------
 1052|      0|            slotw = NULL;
 1053|      0|        }
 1054|     44|    }
 1055|  1.29M|    else {
 1056|  1.29M|        slotw = NULL;
 1057|  1.29M|    }
 1058|       |
 1059|  1.29M|    if (slotv) {
  ------------------
  |  Branch (1059:9): [True: 1.29M, False: 0]
  ------------------
 1060|  1.29M|        PyObject *x;
 1061|  1.29M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1061:13): [True: 44, False: 1.29M]
  |  Branch (1061:22): [True: 0, False: 44]
  ------------------
 1062|      0|            x = slotw(v, w, z);
 1063|      0|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  ------------------
 1064|      0|                return x;
 1065|      0|            }
 1066|      0|            Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      0|            slotw = NULL;
 1068|      0|        }
 1069|  1.29M|        x = slotv(v, w, z);
 1070|  1.29M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
 1071|  1.29M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  1.29M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 1.29M, False: 0]
  ------------------
 1072|  1.29M|            return x;
 1073|  1.29M|        }
 1074|      0|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|      0|    }
 1076|      0|    if (slotw) {
  ------------------
  |  Branch (1076:9): [True: 0, False: 0]
  ------------------
 1077|      0|        PyObject *x = slotw(v, w, z);
 1078|      0|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
 1079|      0|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1079:13): [True: 0, False: 0]
  ------------------
 1080|      0|            return x;
 1081|      0|        }
 1082|      0|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1083|      0|    }
 1084|       |
 1085|      0|    PyNumberMethods *mz = Py_TYPE(z)->tp_as_number;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      0|    if (mz != NULL) {
  ------------------
  |  Branch (1086:9): [True: 0, False: 0]
  ------------------
 1087|      0|        ternaryfunc slotz = NB_TERNOP(mz, op_slot);
  ------------------
  |  |  927|      0|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1088|      0|        if (slotz == slotv || slotz == slotw) {
  ------------------
  |  Branch (1088:13): [True: 0, False: 0]
  |  Branch (1088:31): [True: 0, False: 0]
  ------------------
 1089|      0|            slotz = NULL;
 1090|      0|        }
 1091|      0|        if (slotz) {
  ------------------
  |  Branch (1091:13): [True: 0, False: 0]
  ------------------
 1092|      0|            PyObject *x = slotz(v, w, z);
 1093|      0|            assert(_Py_CheckSlotResult(z, op_name, x != NULL));
 1094|      0|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1094:17): [True: 0, False: 0]
  ------------------
 1095|      0|                return x;
 1096|      0|            }
 1097|      0|            Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      0|        }
 1099|      0|    }
 1100|       |
 1101|      0|    if (z == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1101:9): [True: 0, False: 0]
  ------------------
 1102|      0|        PyErr_Format(
 1103|      0|            PyExc_TypeError,
 1104|      0|            "unsupported operand type(s) for %.100s: "
 1105|      0|            "'%.100s' and '%.100s'",
 1106|      0|            op_name,
 1107|      0|            Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|      0|            Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|      0|    }
 1110|      0|    else {
 1111|      0|        PyErr_Format(
 1112|      0|            PyExc_TypeError,
 1113|      0|            "unsupported operand type(s) for %.100s: "
 1114|      0|            "'%.100s', '%.100s', '%.100s'",
 1115|      0|            op_name,
 1116|      0|            Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      0|            Py_TYPE(w)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|            Py_TYPE(z)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1119|      0|    }
 1120|       |    return NULL;
 1121|      0|}
abstract.c:binary_iop:
 1262|   117k|{
 1263|   117k|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1254|   117k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot)
  ------------------
 1264|   117k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   117k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1264:9): [True: 0, False: 117k]
  ------------------
 1265|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1266|      0|        return binop_type_error(v, w, op_name);
 1267|      0|    }
 1268|   117k|    return result;
 1269|   117k|}
abstract.c:binary_iop1:
 1233|  8.32M|{
 1234|  8.32M|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|  8.32M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|  8.32M|    if (mv != NULL) {
  ------------------
  |  Branch (1235:9): [True: 8.16M, False: 165k]
  ------------------
 1236|  8.16M|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  925|  8.16M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1237|  8.16M|        if (slot) {
  ------------------
  |  Branch (1237:13): [True: 5.25k, False: 8.15M]
  ------------------
 1238|  5.25k|            PyObject *x = (slot)(v, w);
 1239|  5.25k|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
 1240|  5.25k|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  5.25k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1240:17): [True: 5.25k, False: 0]
  ------------------
 1241|  5.25k|                return x;
 1242|  5.25k|            }
 1243|      0|            Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|      0|        }
 1245|  8.16M|    }
 1246|  8.32M|#ifdef NDEBUG
 1247|  8.32M|    return binary_op1(v, w, op_slot);
 1248|       |#else
 1249|       |    return binary_op1(v, w, op_slot, op_name);
 1250|       |#endif
 1251|  8.32M|}
abstract.c:method_output_as_list:
 2434|    420|{
 2435|    420|    PyObject *it, *result, *meth_output;
 2436|       |
 2437|    420|    assert(o != NULL);
 2438|    420|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2439|    420|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|    420|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    420|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 416]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2439:9): [True: 0, False: 420]
  ------------------
 2440|      4|        return meth_output;
 2441|      4|    }
 2442|    416|    it = PyObject_GetIter(meth_output);
 2443|    416|    if (it == NULL) {
  ------------------
  |  Branch (2443:9): [True: 0, False: 416]
  ------------------
 2444|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2445|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) {
  ------------------
  |  Branch (2445:13): [True: 0, False: 0]
  ------------------
 2446|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2447|      0|                          "%T.%U() must return an iterable, not %T",
 2448|      0|                          o, meth, meth_output);
 2449|      0|        }
 2450|      0|        Py_DECREF(meth_output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2451|      0|        return NULL;
 2452|      0|    }
 2453|    416|    Py_DECREF(meth_output);
  ------------------
  |  |  430|    416|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|    416|    result = PySequence_List(it);
 2455|    416|    Py_DECREF(it);
  ------------------
  |  |  430|    416|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|    416|    return result;
 2457|    416|}
abstract.c:object_recursive_isinstance:
 2640|  4.47M|{
 2641|       |    /* Quick test for an exact match */
 2642|  4.47M|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|  4.47M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.21M, False: 3.25M]
  |  |  ------------------
  ------------------
 2643|  1.21M|        return 1;
 2644|  1.21M|    }
 2645|       |
 2646|       |    /* We know what type's __instancecheck__ does. */
 2647|  3.25M|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  3.25M|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 2.46M, False: 791k]
  |  |  ------------------
  ------------------
 2648|  2.46M|        return object_isinstance(inst, cls);
 2649|  2.46M|    }
 2650|       |
 2651|   791k|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|   791k|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|   791k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 791k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      0|        cls = _Py_union_args(cls);
 2653|      0|    }
 2654|       |
 2655|   791k|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|   791k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   791k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 754k, False: 37.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|       |        /* Not a general sequence -- that opens up the road to
 2657|       |           recursion and stack overflow. */
 2658|   754k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2658:13): [True: 0, False: 754k]
  ------------------
 2659|      0|            return -1;
 2660|      0|        }
 2661|   754k|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|   754k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   754k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   754k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2662|   754k|        int r = 0;
 2663|  1.79M|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2663:32): [True: 1.30M, False: 497k]
  ------------------
 2664|  1.30M|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|  1.30M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.30M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|  1.30M|            r = object_recursive_isinstance(tstate, inst, item);
 2666|  1.30M|            if (r != 0) {
  ------------------
  |  Branch (2666:17): [True: 257k, False: 1.04M]
  ------------------
 2667|       |                /* either found it, or got an error */
 2668|   257k|                break;
 2669|   257k|            }
 2670|  1.30M|        }
 2671|   754k|        _Py_LeaveRecursiveCallTstate(tstate);
 2672|   754k|        return r;
 2673|   754k|    }
 2674|       |
 2675|  37.4k|    PyObject *checker = _PyObject_LookupSpecial(cls, &_Py_ID(__instancecheck__));
  ------------------
  |  |  919|  37.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  37.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  37.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|  37.4k|    if (checker != NULL) {
  ------------------
  |  Branch (2676:9): [True: 37.4k, False: 0]
  ------------------
 2677|  37.4k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 37.4k]
  ------------------
 2678|      0|            Py_DECREF(checker);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2679|      0|            return -1;
 2680|      0|        }
 2681|       |
 2682|  37.4k|        PyObject *res = PyObject_CallOneArg(checker, inst);
 2683|  37.4k|        _Py_LeaveRecursiveCallTstate(tstate);
 2684|  37.4k|        Py_DECREF(checker);
  ------------------
  |  |  430|  37.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2685|       |
 2686|  37.4k|        if (res == NULL) {
  ------------------
  |  Branch (2686:13): [True: 0, False: 37.4k]
  ------------------
 2687|      0|            return -1;
 2688|      0|        }
 2689|  37.4k|        int ok = PyObject_IsTrue(res);
 2690|  37.4k|        Py_DECREF(res);
  ------------------
  |  |  430|  37.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|       |
 2692|  37.4k|        return ok;
 2693|  37.4k|    }
 2694|      0|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2694:14): [True: 0, False: 0]
  ------------------
 2695|      0|        return -1;
 2696|      0|    }
 2697|       |
 2698|       |    /* cls has no __instancecheck__() method */
 2699|      0|    return object_isinstance(inst, cls);
 2700|  37.4k|}
abstract.c:object_issubclass:
 2733|   349k|{
 2734|   349k|    PyObject *checker;
 2735|       |
 2736|       |    /* We know what type's __subclasscheck__ does. */
 2737|   349k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|   349k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   349k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   349k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 349k, False: 819]
  |  |  ------------------
  ------------------
 2738|       |        /* Quick test for an exact match */
 2739|   349k|        if (derived == cls)
  ------------------
  |  Branch (2739:13): [True: 340k, False: 8.78k]
  ------------------
 2740|   340k|            return 1;
 2741|  8.78k|        return recursive_issubclass(derived, cls);
 2742|   349k|    }
 2743|       |
 2744|    819|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    819|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    819|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    819|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    819|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 819]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2745|      0|        cls = _Py_union_args(cls);
 2746|      0|    }
 2747|       |
 2748|    819|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    819|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    819|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8, False: 811]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|       |
 2750|      8|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2750:13): [True: 0, False: 8]
  ------------------
 2751|      0|            return -1;
 2752|      0|        }
 2753|      8|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|      8|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|      8|        int r = 0;
 2755|      8|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2755:32): [True: 8, False: 0]
  ------------------
 2756|      8|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|      8|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2757|      8|            r = object_issubclass(tstate, derived, item);
 2758|      8|            if (r != 0)
  ------------------
  |  Branch (2758:17): [True: 8, False: 0]
  ------------------
 2759|       |                /* either found it, or got an error */
 2760|      8|                break;
 2761|      8|        }
 2762|      8|        _Py_LeaveRecursiveCallTstate(tstate);
 2763|      8|        return r;
 2764|      8|    }
 2765|       |
 2766|    811|    checker = _PyObject_LookupSpecial(cls, &_Py_ID(__subclasscheck__));
  ------------------
  |  |  919|    811|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    811|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    811|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|    811|    if (checker != NULL) {
  ------------------
  |  Branch (2767:9): [True: 811, False: 0]
  ------------------
 2768|    811|        int ok = -1;
 2769|    811|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 811]
  ------------------
 2770|      0|            Py_DECREF(checker);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2771|      0|            return ok;
 2772|      0|        }
 2773|    811|        PyObject *res = PyObject_CallOneArg(checker, derived);
 2774|    811|        _Py_LeaveRecursiveCallTstate(tstate);
 2775|    811|        Py_DECREF(checker);
  ------------------
  |  |  430|    811|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    811|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    811|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|    811|        if (res != NULL) {
  ------------------
  |  Branch (2776:13): [True: 811, False: 0]
  ------------------
 2777|    811|            ok = PyObject_IsTrue(res);
 2778|    811|            Py_DECREF(res);
  ------------------
  |  |  430|    811|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    811|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    811|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2779|    811|        }
 2780|    811|        return ok;
 2781|    811|    }
 2782|      0|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2782:14): [True: 0, False: 0]
  ------------------
 2783|      0|        return -1;
 2784|      0|    }
 2785|       |
 2786|       |    /* Can be reached when infinite recursion happens. */
 2787|      0|    return recursive_issubclass(derived, cls);
 2788|    811|}
abstract.c:object_isinstance:
 2604|  2.46M|{
 2605|  2.46M|    PyObject *icls;
 2606|  2.46M|    int retval;
 2607|  2.46M|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|  2.46M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2.46M, False: 0]
  |  |  ------------------
  ------------------
 2608|  2.46M|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|  2.46M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2609|  2.46M|        if (retval == 0) {
  ------------------
  |  Branch (2609:13): [True: 2.37M, False: 92.4k]
  ------------------
 2610|  2.37M|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  919|  2.37M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.37M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.37M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  2.37M|            if (icls != NULL) {
  ------------------
  |  Branch (2611:17): [True: 2.37M, False: 0]
  ------------------
 2612|  2.37M|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|  2.37M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2612:21): [True: 0, False: 2.37M]
  ------------------
 2613|      0|                    retval = PyType_IsSubtype(
 2614|      0|                        (PyTypeObject *)icls,
 2615|      0|                        (PyTypeObject *)cls);
 2616|      0|                }
 2617|  2.37M|                else {
 2618|  2.37M|                    retval = 0;
 2619|  2.37M|                }
 2620|  2.37M|                Py_DECREF(icls);
  ------------------
  |  |  430|  2.37M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|  2.37M|            }
 2622|  2.37M|        }
 2623|  2.46M|    }
 2624|      0|    else {
 2625|      0|        if (!check_class(cls,
  ------------------
  |  Branch (2625:13): [True: 0, False: 0]
  ------------------
 2626|      0|            "isinstance() arg 2 must be a type, a tuple of types, or a union"))
 2627|      0|            return -1;
 2628|      0|        retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2629|      0|        if (icls != NULL) {
  ------------------
  |  Branch (2629:13): [True: 0, False: 0]
  ------------------
 2630|      0|            retval = abstract_issubclass(icls, cls);
 2631|      0|            Py_DECREF(icls);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2632|      0|        }
 2633|      0|    }
 2634|       |
 2635|  2.46M|    return retval;
 2636|  2.46M|}
abstract.c:recursive_issubclass:
 2713|  16.9k|{
 2714|  16.9k|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  33.9k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 16.9k, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  16.9k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 16.9k, False: 0]
  |  |  ------------------
  ------------------
 2715|       |        /* Fast path (non-recursive) */
 2716|  16.9k|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2717|  16.9k|    }
 2718|      0|    if (!check_class(derived,
  ------------------
  |  Branch (2718:9): [True: 0, False: 0]
  ------------------
 2719|      0|                     "issubclass() arg 1 must be a class"))
 2720|      0|        return -1;
 2721|       |
 2722|      0|    if (!_PyUnion_Check(cls) && !check_class(cls,
  ------------------
  |  |   15|      0|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2722:9): [True: 0, False: 0]
  |  Branch (2722:33): [True: 0, False: 0]
  ------------------
 2723|      0|                            "issubclass() arg 2 must be a class,"
 2724|      0|                            " a tuple of classes, or a union")) {
 2725|      0|        return -1;
 2726|      0|    }
 2727|       |
 2728|      0|    return abstract_issubclass(derived, cls);
 2729|      0|}
abstract.c:iternext:
 2874|  14.8M|{
 2875|  14.8M|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|  14.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|  14.8M|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2876:9): [True: 14.5M, False: 294k]
  ------------------
 2877|  14.5M|        return 1;
 2878|  14.5M|    }
 2879|       |
 2880|   294k|    PyThreadState *tstate = _PyThreadState_GET();
 2881|       |    /* When the iterator is exhausted it must return NULL;
 2882|       |     * a StopIteration exception may or may not be set. */
 2883|   294k|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2883:9): [True: 294k, False: 0]
  ------------------
 2884|   294k|        return 0;
 2885|   294k|    }
 2886|      0|    if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 0]
  ------------------
 2887|      0|        _PyErr_Clear(tstate);
 2888|      0|        return 0;
 2889|      0|    }
 2890|       |
 2891|       |    /* Error case: an exception (different than StopIteration) is set. */
 2892|      0|    return -1;
 2893|      0|}

PyBool_FromLong:
   22|  12.7M|{
   23|  12.7M|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  12.7M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  2.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  12.7M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (23:12): [True: 2.39M, False: 10.3M]
  ------------------
   24|  12.7M|}
boolobject.c:bool_vectorcall:
   47|  15.9k|{
   48|  15.9k|    long ok = 0;
   49|  15.9k|    if (!_PyArg_NoKwnames("bool", kwnames)) {
  ------------------
  |  |   15|  15.9k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 15.9k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        return NULL;
   51|      0|    }
   52|       |
   53|  15.9k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  15.9k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   54|  15.9k|    if (!_PyArg_CheckPositional("bool", nargs, 0, 1)) {
  ------------------
  |  |   31|  15.9k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 15.9k, False: 0]
  |  |  |  Branch (31:27): [True: 15.9k, False: 0]
  |  |  ------------------
  |  |   32|  15.9k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   55|      0|        return NULL;
   56|      0|    }
   57|       |
   58|  15.9k|    assert(PyType_Check(type));
   59|  15.9k|    if (nargs) {
  ------------------
  |  Branch (59:9): [True: 15.9k, False: 0]
  ------------------
   60|  15.9k|        ok = PyObject_IsTrue(args[0]);
   61|  15.9k|        if (ok < 0) {
  ------------------
  |  Branch (61:13): [True: 0, False: 15.9k]
  ------------------
   62|      0|            return NULL;
   63|      0|        }
   64|  15.9k|    }
   65|  15.9k|    return PyBool_FromLong(ok);
   66|  15.9k|}

PyByteArray_FromStringAndSize:
  155|    898|{
  156|    898|    PyByteArrayObject *new;
  157|       |
  158|    898|    if (size < 0) {
  ------------------
  |  Branch (158:9): [True: 0, False: 898]
  ------------------
  159|      0|        PyErr_SetString(PyExc_SystemError,
  160|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  161|      0|        return NULL;
  162|      0|    }
  163|       |
  164|    898|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|    898|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  165|    898|    if (new == NULL) {
  ------------------
  |  Branch (165:9): [True: 0, False: 898]
  ------------------
  166|      0|        return NULL;
  167|      0|    }
  168|       |
  169|       |    /* Fill values used in bytearray_dealloc.
  170|       |
  171|       |       In an optimized build the memory isn't zeroed and ob_exports would be
  172|       |       uninitialized when when PyBytes_FromStringAndSize errored leading to
  173|       |       intermittent test failures. */
  174|    898|    new->ob_exports = 0;
  175|       |
  176|       |    /* Optimization: size=0 bytearray should not allocate space
  177|       |
  178|       |       PyBytes_FromStringAndSize returns the empty bytes global when size=0 so
  179|       |       no allocation occurs. */
  180|    898|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  181|    898|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 898]
  ------------------
  182|      0|        Py_DECREF(new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|      0|        return NULL;
  184|      0|    }
  185|    898|    bytearray_reinit_from_bytes(new, size, size);
  186|    898|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (186:9): [True: 608, False: 290]
  |  Branch (186:26): [True: 608, False: 0]
  ------------------
  187|    608|        memcpy(new->ob_bytes, bytes, size);
  188|    608|    }
  189|       |
  190|    898|    return (PyObject *)new;
  191|    898|}
PyByteArray_Resize:
  296|  8.04M|{
  297|  8.04M|    int ret;
  298|  8.04M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
  299|  8.04M|    ret = bytearray_resize_lock_held(self, requested_size);
  300|  8.04M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
  301|  8.04M|    return ret;
  302|  8.04M|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   48|  16.1M|                            Py_ssize_t alloc) {
   49|  16.1M|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|  16.1M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|  16.1M|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|  16.1M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  16.1M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  16.1M|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  194|  16.1M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   52|  16.1M|}
bytearrayobject.c:bytearray_resize_lock_held:
  213|  16.1M|{
  214|  16.1M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  215|  16.1M|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  216|       |    /* All computations are done unsigned to avoid integer overflows
  217|       |       (see issue #22335). */
  218|  16.1M|    size_t alloc = (size_t) obj->ob_alloc;
  219|  16.1M|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  220|  16.1M|    size_t size = (size_t) requested_size;
  221|       |
  222|  16.1M|    assert(self != NULL);
  223|  16.1M|    assert(PyByteArray_Check(self));
  224|  16.1M|    assert(logical_offset <= alloc);
  225|       |
  226|  16.1M|    if (requested_size < 0) {
  ------------------
  |  Branch (226:9): [True: 0, False: 16.1M]
  ------------------
  227|      0|        PyErr_Format(PyExc_ValueError,
  228|      0|            "Can only resize to positive sizes, got %zd", requested_size);
  229|      0|        return -1;
  230|      0|    }
  231|       |
  232|  16.1M|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|  16.1M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (232:9): [True: 0, False: 16.1M]
  ------------------
  233|      0|        return 0;
  234|      0|    }
  235|  16.1M|    if (!_canresize(obj)) {
  ------------------
  |  Branch (235:9): [True: 0, False: 16.1M]
  ------------------
  236|      0|        return -1;
  237|      0|    }
  238|       |
  239|  16.1M|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (239:9): [True: 7.98M, False: 8.12M]
  ------------------
  240|       |        /* Current buffer is large enough to host the requested size,
  241|       |           decide on a strategy. */
  242|  7.98M|        if (size < alloc / 2) {
  ------------------
  |  Branch (242:13): [True: 0, False: 7.98M]
  ------------------
  243|       |            /* Major downsize; resize down to exact size */
  244|      0|            alloc = size;
  245|      0|        }
  246|  7.98M|        else {
  247|       |            /* Minor downsize; quick exit */
  248|  7.98M|            Py_SET_SIZE(self, size);
  ------------------
  |  |  216|  7.98M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  7.98M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|       |            /* Add mid-buffer null; end provided by bytes. */
  250|  7.98M|            PyByteArray_AS_STRING(self)[size] = '\0'; /* Trailing null */
  ------------------
  |  |   28|  7.98M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  7.98M|            return 0;
  252|  7.98M|        }
  253|  7.98M|    }
  254|  8.12M|    else {
  255|       |        /* Need growing, decide on a strategy */
  256|  8.12M|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (256:13): [True: 32.4k, False: 8.09M]
  ------------------
  257|       |            /* Moderate upsize; overallocate similar to list_resize() */
  258|  32.4k|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (258:43): [True: 0, False: 32.4k]
  ------------------
  259|  32.4k|        }
  260|  8.09M|        else {
  261|       |            /* Major upsize; resize up to exact size */
  262|  8.09M|            alloc = size;
  263|  8.09M|        }
  264|  8.12M|    }
  265|  8.12M|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|  8.12M|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|  8.12M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|  8.12M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (265:9): [True: 0, False: 8.12M]
  ------------------
  266|      0|        PyErr_NoMemory();
  267|      0|        return -1;
  268|      0|    }
  269|       |
  270|       |    /* Re-align data to the start of the allocation. */
  271|  8.12M|    if (logical_offset > 0) {
  ------------------
  |  Branch (271:9): [True: 0, False: 8.12M]
  ------------------
  272|       |        /* optimization tradeoff: This is faster than a new allocation when
  273|       |           the number of bytes being removed in a resize is small; for large
  274|       |           size changes it may be better to just make a new bytes object as
  275|       |           _PyBytes_Resize will do a malloc + memcpy internally. */
  276|      0|        memmove(obj->ob_bytes, obj->ob_start,
  277|      0|                Py_MIN(requested_size, Py_SIZE(self)));
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  278|      0|    }
  279|       |
  280|  8.12M|    int ret = _PyBytes_Resize(&obj->ob_bytes_object, alloc);
  281|  8.12M|    if (ret == -1) {
  ------------------
  |  Branch (281:9): [True: 0, False: 8.12M]
  ------------------
  282|      0|        obj->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  283|      0|        size = alloc = 0;
  284|      0|    }
  285|  8.12M|    bytearray_reinit_from_bytes(obj, size, alloc);
  286|  8.12M|    if (alloc != size) {
  ------------------
  |  Branch (286:9): [True: 32.4k, False: 8.09M]
  ------------------
  287|       |        /* Add mid-buffer null; end provided by bytes. */
  288|  32.4k|        obj->ob_bytes[size] = '\0';
  289|  32.4k|    }
  290|       |
  291|  8.12M|    return ret;
  292|  8.12M|}
bytearrayobject.c:_canresize:
  114|  16.1M|{
  115|  16.1M|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (115:9): [True: 0, False: 16.1M]
  ------------------
  116|      0|        PyErr_SetString(PyExc_BufferError,
  117|      0|                "Existing exports of data: object cannot be re-sized");
  118|      0|        return 0;
  119|      0|    }
  120|  16.1M|    return 1;
  121|  16.1M|}
bytearrayobject.c:bytearray_dealloc:
 1208|  8.05M|{
 1209|  8.05M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  8.05M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1210|  8.05M|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 8.05M]
  ------------------
 1211|      0|        PyErr_SetString(PyExc_SystemError,
 1212|      0|                        "deallocated bytearray object has exported buffers");
 1213|      0|        PyErr_Print();
 1214|      0|    }
 1215|  8.05M|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  524|  8.05M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|  8.05M|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|  8.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|  8.05M|}
bytearrayobject.c:bytearray_length:
  345|    144|{
  346|    144|    return PyByteArray_GET_SIZE(op);
  ------------------
  |  |   38|    144|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|    144|}
bytearrayobject.c:_getbytevalue:
   27|  8.07M|{
   28|  8.07M|    int overflow;
   29|  8.07M|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|  8.07M|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 8.07M]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|  8.07M|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 8.07M]
  |  Branch (35:27): [True: 0, False: 8.07M]
  ------------------
   36|       |        /* this includes an overflow in converting to C long */
   37|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
   38|      0|        *value = -1;
   39|      0|        return 0;
   40|      0|    }
   41|       |
   42|  8.07M|    *value = face_value;
   43|  8.07M|    return 1;
   44|  8.07M|}
bytearrayobject.c:bytearray_iconcat:
  380|  8.04M|{
  381|  8.04M|    PyObject *ret;
  382|  8.04M|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
  383|  8.04M|    ret = bytearray_iconcat_lock_held(op, other);
  384|  8.04M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
  385|  8.04M|    return ret;
  386|  8.04M|}
bytearrayobject.c:bytearray_iconcat_lock_held:
  351|  8.04M|{
  352|  8.04M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  353|  8.04M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  8.04M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  354|       |
  355|  8.04M|    Py_buffer vo;
  356|  8.04M|    if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  8.04M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (356:9): [True: 0, False: 8.04M]
  ------------------
  357|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
  358|      0|                     Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|        return NULL;
  360|      0|    }
  361|       |
  362|  8.04M|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|  8.04M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|  8.04M|    if (size > PyByteArray_SIZE_MAX - vo.len) {
  ------------------
  |  |   21|  8.04M|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|  8.04M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|  8.04M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (363:9): [True: 0, False: 8.04M]
  ------------------
  364|      0|        PyBuffer_Release(&vo);
  365|      0|        return PyErr_NoMemory();
  366|      0|    }
  367|       |
  368|  8.04M|    if (bytearray_resize_lock_held((PyObject *)self, size + vo.len) < 0) {
  ------------------
  |  Branch (368:9): [True: 0, False: 8.04M]
  ------------------
  369|      0|        PyBuffer_Release(&vo);
  370|      0|        return NULL;
  371|      0|    }
  372|       |
  373|  8.04M|    memcpy(PyByteArray_AS_STRING(self) + size, vo.buf, vo.len);
  ------------------
  |  |   28|  8.04M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|  8.04M|    PyBuffer_Release(&vo);
  375|  8.04M|    return Py_NewRef(self);
  ------------------
  |  |  550|  8.04M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|  8.04M|}
bytearrayobject.c:bytearray_subscript:
  541|  8.04M|{
  542|  8.04M|    PyObject *ret;
  543|  8.04M|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
  544|  8.04M|    ret = bytearray_subscript_lock_held(op, index);
  545|  8.04M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
  546|  8.04M|    return ret;
  547|       |
  548|  8.04M|}
bytearrayobject.c:bytearray_subscript_lock_held:
  481|  8.04M|{
  482|  8.04M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  483|  8.04M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  8.04M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  484|  8.04M|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (484:9): [True: 8.04M, False: 672]
  ------------------
  485|  8.04M|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  486|       |
  487|  8.04M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (487:13): [True: 0, False: 8.04M]
  |  Branch (487:24): [True: 0, False: 0]
  ------------------
  488|      0|            return NULL;
  489|       |
  490|  8.04M|        if (i < 0)
  ------------------
  |  Branch (490:13): [True: 0, False: 8.04M]
  ------------------
  491|      0|            i += PyByteArray_GET_SIZE(self);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|       |
  493|  8.04M|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|  8.04M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (493:13): [True: 0, False: 8.04M]
  |  Branch (493:22): [True: 0, False: 8.04M]
  ------------------
  494|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  495|      0|            return NULL;
  496|      0|        }
  497|  8.04M|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  498|  8.04M|    }
  499|    672|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|    672|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    672|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 672, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|    672|        Py_ssize_t start, stop, step, slicelength, i;
  501|    672|        size_t cur;
  502|    672|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (502:13): [True: 0, False: 672]
  ------------------
  503|      0|            return NULL;
  504|      0|        }
  505|    672|        slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self),
  ------------------
  |  |   38|    672|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|    672|                                            &start, &stop, step);
  507|       |
  508|    672|        if (slicelength <= 0)
  ------------------
  |  Branch (508:13): [True: 0, False: 672]
  ------------------
  509|      0|            return PyByteArray_FromStringAndSize("", 0);
  510|    672|        else if (step == 1) {
  ------------------
  |  Branch (510:18): [True: 608, False: 64]
  ------------------
  511|    608|            return PyByteArray_FromStringAndSize(
  512|    608|                PyByteArray_AS_STRING(self) + start, slicelength);
  ------------------
  |  |   28|    608|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|    608|        }
  514|     64|        else {
  515|     64|            char *source_buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|     64|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|     64|            char *result_buf;
  517|     64|            PyObject *result;
  518|       |
  519|     64|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  520|     64|            if (result == NULL)
  ------------------
  |  Branch (520:17): [True: 0, False: 64]
  ------------------
  521|      0|                return NULL;
  522|       |
  523|     64|            result_buf = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|     64|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  19.5k|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (524:38): [True: 19.4k, False: 64]
  ------------------
  525|  19.4k|                 cur += step, i++) {
  526|  19.4k|                     result_buf[i] = source_buf[cur];
  527|  19.4k|            }
  528|     64|            return result;
  529|     64|        }
  530|    672|    }
  531|      0|    else {
  532|      0|        PyErr_Format(PyExc_TypeError,
  533|      0|                     "bytearray indices must be integers or slices, not %.200s",
  534|      0|                     Py_TYPE(index)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|       |        return NULL;
  536|      0|    }
  537|  8.04M|}
bytearrayobject.c:bytearray_ass_subscript:
  890|  8.04M|{
  891|  8.04M|    int ret;
  892|  8.04M|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|  8.04M|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|  8.04M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 8.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (892:9): [True: 8.04M, False: 0]
  ------------------
  893|      0|        Py_BEGIN_CRITICAL_SECTION2(op, values);
  ------------------
  |  |   57|      0|    {
  ------------------
  894|      0|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  895|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
  896|      0|    }
  897|  8.04M|    else {
  898|  8.04M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
  899|  8.04M|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  900|  8.04M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
  901|  8.04M|    }
  902|  8.04M|    return ret;
  903|  8.04M|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  729|  8.04M|{
  730|  8.04M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  731|  8.04M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  8.04M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  732|  8.04M|    Py_ssize_t start, stop, step, slicelen;
  733|       |    // Do not store a reference to the internal buffer since
  734|       |    // index.__index__() or _getbytevalue() may alter 'self'.
  735|       |    // See https://github.com/python/cpython/issues/91153.
  736|       |
  737|  8.04M|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (737:9): [True: 8.04M, False: 0]
  ------------------
  738|  8.04M|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  739|       |
  740|  8.04M|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (740:13): [True: 0, False: 8.04M]
  |  Branch (740:24): [True: 0, False: 0]
  ------------------
  741|      0|            return -1;
  742|      0|        }
  743|       |
  744|  8.04M|        int ival = -1;
  745|       |
  746|       |        // GH-91153: We need to do this *before* the size check, in case values
  747|       |        // has a nasty __index__ method that changes the size of the bytearray:
  748|  8.04M|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (748:13): [True: 8.04M, False: 0]
  |  Branch (748:23): [True: 0, False: 8.04M]
  ------------------
  749|      0|            return -1;
  750|      0|        }
  751|       |
  752|  8.04M|        if (i < 0) {
  ------------------
  |  Branch (752:13): [True: 0, False: 8.04M]
  ------------------
  753|      0|            i += PyByteArray_GET_SIZE(self);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|      0|        }
  755|       |
  756|  8.04M|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|  8.04M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (756:13): [True: 0, False: 8.04M]
  |  Branch (756:22): [True: 6, False: 8.04M]
  ------------------
  757|      6|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  758|      6|            return -1;
  759|      6|        }
  760|       |
  761|  8.04M|        if (values == NULL) {
  ------------------
  |  Branch (761:13): [True: 0, False: 8.04M]
  ------------------
  762|       |            /* Fall through to slice assignment */
  763|      0|            start = i;
  764|      0|            stop = i + 1;
  765|      0|            step = 1;
  766|      0|            slicelen = 1;
  767|      0|        }
  768|  8.04M|        else {
  769|  8.04M|            assert(0 <= ival && ival < 256);
  770|  8.04M|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|  8.04M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  8.04M|            return 0;
  772|  8.04M|        }
  773|  8.04M|    }
  774|      0|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|      0|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|      0|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (775:13): [True: 0, False: 0]
  ------------------
  776|      0|            return -1;
  777|      0|        }
  778|      0|        slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start,
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  779|      0|                                         &stop, step);
  780|      0|    }
  781|      0|    else {
  782|      0|        PyErr_Format(PyExc_TypeError,
  783|      0|                     "bytearray indices must be integers or slices, not %.200s",
  784|      0|                      Py_TYPE(index)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|      0|        return -1;
  786|      0|    }
  787|       |
  788|      0|    char *bytes;
  789|      0|    Py_ssize_t needed;
  790|      0|    if (values == NULL) {
  ------------------
  |  Branch (790:9): [True: 0, False: 0]
  ------------------
  791|      0|        bytes = NULL;
  792|      0|        needed = 0;
  793|      0|    }
  794|      0|    else if (values == (PyObject *)self || !PyByteArray_Check(values)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (794:14): [True: 0, False: 0]
  |  Branch (794:44): [True: 0, False: 0]
  ------------------
  795|      0|        int err;
  796|      0|        if (PyNumber_Check(values) || PyUnicode_Check(values)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (796:13): [True: 0, False: 0]
  ------------------
  797|      0|            PyErr_SetString(PyExc_TypeError,
  798|      0|                            "can assign only bytes, buffers, or iterables "
  799|      0|                            "of ints in range(0, 256)");
  800|      0|            return -1;
  801|      0|        }
  802|       |        /* Make a copy and call this function recursively */
  803|      0|        values = PyByteArray_FromObject(values);
  804|      0|        if (values == NULL)
  ------------------
  |  Branch (804:13): [True: 0, False: 0]
  ------------------
  805|      0|            return -1;
  806|      0|        err = bytearray_ass_subscript_lock_held((PyObject*)self, index, values);
  807|      0|        Py_DECREF(values);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|      0|        return err;
  809|      0|    }
  810|      0|    else {
  811|      0|        assert(PyByteArray_Check(values));
  812|      0|        bytes = PyByteArray_AS_STRING(values);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  813|      0|        needed = Py_SIZE(values);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  814|      0|    }
  815|       |
  816|       |    /* Make sure b[5:2] = ... inserts before 5, not before 2. */
  817|      0|    if ((step < 0 && start < stop) ||
  ------------------
  |  Branch (817:10): [True: 0, False: 0]
  |  Branch (817:22): [True: 0, False: 0]
  ------------------
  818|      0|        (step > 0 && start > stop))
  ------------------
  |  Branch (818:10): [True: 0, False: 0]
  |  Branch (818:22): [True: 0, False: 0]
  ------------------
  819|      0|    {
  820|      0|        stop = start;
  821|      0|    }
  822|       |
  823|      0|    if (step == 1) {
  ------------------
  |  Branch (823:9): [True: 0, False: 0]
  ------------------
  824|      0|        return bytearray_setslice_linear(self, start, stop, bytes, needed);
  825|      0|    }
  826|      0|    else {
  827|      0|        if (needed == 0) {
  ------------------
  |  Branch (827:13): [True: 0, False: 0]
  ------------------
  828|       |            /* Delete slice */
  829|      0|            size_t cur;
  830|      0|            Py_ssize_t i;
  831|      0|            char *buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|       |
  833|      0|            if (!_canresize(self))
  ------------------
  |  Branch (833:17): [True: 0, False: 0]
  ------------------
  834|      0|                return -1;
  835|       |
  836|      0|            if (slicelen == 0)
  ------------------
  |  Branch (836:17): [True: 0, False: 0]
  ------------------
  837|       |                /* Nothing to do here. */
  838|      0|                return 0;
  839|       |
  840|      0|            if (step < 0) {
  ------------------
  |  Branch (840:17): [True: 0, False: 0]
  ------------------
  841|      0|                stop = start + 1;
  842|      0|                start = stop + step * (slicelen - 1) - 1;
  843|      0|                step = -step;
  844|      0|            }
  845|      0|            for (cur = start, i = 0;
  846|      0|                 i < slicelen; cur += step, i++) {
  ------------------
  |  Branch (846:18): [True: 0, False: 0]
  ------------------
  847|      0|                Py_ssize_t lim = step - 1;
  848|       |
  849|      0|                if (cur + step >= (size_t)PyByteArray_GET_SIZE(self))
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (849:21): [True: 0, False: 0]
  ------------------
  850|      0|                    lim = PyByteArray_GET_SIZE(self) - cur - 1;
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|       |
  852|      0|                memmove(buf + cur - i,
  853|      0|                        buf + cur + 1, lim);
  854|      0|            }
  855|       |            /* Move the tail of the bytes, in one chunk */
  856|      0|            cur = start + (size_t)slicelen*step;
  857|      0|            if (cur < (size_t)PyByteArray_GET_SIZE(self)) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (857:17): [True: 0, False: 0]
  ------------------
  858|      0|                memmove(buf + cur - slicelen,
  859|      0|                        buf + cur,
  860|      0|                        PyByteArray_GET_SIZE(self) - cur);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  861|      0|            }
  862|      0|            if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (862:17): [True: 0, False: 0]
  ------------------
  863|      0|                               PyByteArray_GET_SIZE(self) - slicelen) < 0)
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      0|                return -1;
  865|       |
  866|      0|            return 0;
  867|      0|        }
  868|      0|        else {
  869|       |            /* Assign slice */
  870|      0|            Py_ssize_t i;
  871|      0|            size_t cur;
  872|      0|            char *buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|       |
  874|      0|            if (needed != slicelen) {
  ------------------
  |  Branch (874:17): [True: 0, False: 0]
  ------------------
  875|      0|                PyErr_Format(PyExc_ValueError,
  876|      0|                             "attempt to assign bytes of size %zd "
  877|      0|                             "to extended slice of size %zd",
  878|      0|                             needed, slicelen);
  879|      0|                return -1;
  880|      0|            }
  881|      0|            for (cur = start, i = 0; i < slicelen; cur += step, i++)
  ------------------
  |  Branch (881:38): [True: 0, False: 0]
  ------------------
  882|      0|                buf[cur] = bytes[i];
  883|      0|            return 0;
  884|      0|        }
  885|      0|    }
  886|      0|}
bytearrayobject.c:bytearray_getbuffer:
   75|  8.04M|{
   76|  8.04M|    int ret;
   77|  8.04M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
   78|  8.04M|    ret = bytearray_getbuffer_lock_held(self, view, flags);
   79|  8.04M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
   80|  8.04M|    return ret;
   81|  8.04M|}
bytearrayobject.c:bytearray_getbuffer_lock_held:
   56|  8.04M|{
   57|  8.04M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
   58|  8.04M|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|  8.04M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  8.04M|    if (view == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 8.04M]
  ------------------
   60|      0|        PyErr_SetString(PyExc_BufferError,
   61|      0|            "bytearray_getbuffer: view==NULL argument is obsolete");
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  8.04M|    void *ptr = (void *) PyByteArray_AS_STRING(obj);
  ------------------
  |  |   28|  8.04M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  8.04M|    if (PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags) < 0) {
  ------------------
  |  |  214|  8.04M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (66:9): [True: 0, False: 8.04M]
  ------------------
   67|      0|        return -1;
   68|      0|    }
   69|  8.04M|    obj->ob_exports++;
   70|  8.04M|    return 0;
   71|  8.04M|}
bytearrayobject.c:bytearray_releasebuffer:
   85|  8.04M|{
   86|  8.04M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.04M|    {
  ------------------
   87|  8.04M|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|  8.04M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   88|  8.04M|    obj->ob_exports--;
   89|  8.04M|    assert(obj->ob_exports >= 0);
   90|  8.04M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.04M|    }
  ------------------
   91|  8.04M|}
bytearrayobject.c:bytearray_append_impl:
 2122|  3.91k|{
 2123|  3.91k|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|  3.91k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|       |
 2125|  3.91k|    if (bytearray_resize_lock_held((PyObject *)self, n + 1) < 0)
  ------------------
  |  Branch (2125:9): [True: 0, False: 3.91k]
  ------------------
 2126|      0|        return NULL;
 2127|       |
 2128|  3.91k|    PyByteArray_AS_STRING(self)[n] = item;
  ------------------
  |  |   28|  3.91k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|       |
 2130|  3.91k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.91k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.91k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2131|  3.91k|}
bytearrayobject.c:_bytearray_with_buffer:
  100|  1.06k|{
  101|  1.06k|    PyObject *res;
  102|       |
  103|  1.06k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  104|       |
  105|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  106|  1.06k|    self->ob_exports++;
  107|  1.06k|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|  1.06k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  214|  1.06k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  1.06k|    self->ob_exports--;
  109|  1.06k|    return res;
  110|  1.06k|}
bytearrayobject.c:bytearray_find_impl:
 1269|  1.06k|{
 1270|  1.06k|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1271|  1.06k|}
bytearrayobject.c:bytearray_insert_impl:
 2007|  16.4k|{
 2008|  16.4k|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|  16.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|  16.4k|    char *buf;
 2010|       |
 2011|  16.4k|    if (bytearray_resize_lock_held((PyObject *)self, n + 1) < 0)
  ------------------
  |  Branch (2011:9): [True: 0, False: 16.4k]
  ------------------
 2012|      0|        return NULL;
 2013|  16.4k|    buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|  16.4k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|       |
 2015|  16.4k|    if (index < 0) {
  ------------------
  |  Branch (2015:9): [True: 0, False: 16.4k]
  ------------------
 2016|      0|        index += n;
 2017|      0|        if (index < 0)
  ------------------
  |  Branch (2017:13): [True: 0, False: 0]
  ------------------
 2018|      0|            index = 0;
 2019|      0|    }
 2020|  16.4k|    if (index > n)
  ------------------
  |  Branch (2020:9): [True: 0, False: 16.4k]
  ------------------
 2021|      0|        index = n;
 2022|  16.4k|    memmove(buf + index + 1, buf + index, n - index);
 2023|  16.4k|    buf[index] = item;
 2024|       |
 2025|  16.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  16.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  16.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2026|  16.4k|}
bytearrayobject.c:bytearray_take_bytes_impl:
 1546|      6|{
 1547|      6|    Py_ssize_t to_take;
 1548|      6|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      6|    if (Py_IsNone(n)) {
  ------------------
  |  |  621|      6|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      6|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      6|        to_take = size;
 1551|      6|    }
 1552|       |    // Integer index, from start (zero, positive) or end (negative).
 1553|      0|    else if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1553:14): [True: 0, False: 0]
  ------------------
 1554|      0|        to_take = PyNumber_AsSsize_t(n, PyExc_IndexError);
 1555|      0|        if (to_take == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1555:13): [True: 0, False: 0]
  |  Branch (1555:30): [True: 0, False: 0]
  ------------------
 1556|      0|            return NULL;
 1557|      0|        }
 1558|      0|        if (to_take < 0) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 0]
  ------------------
 1559|      0|            to_take += size;
 1560|      0|        }
 1561|      0|    }
 1562|      0|    else {
 1563|      0|        PyErr_SetString(PyExc_TypeError, "n must be an integer or None");
 1564|      0|        return NULL;
 1565|      0|    }
 1566|       |
 1567|      6|    if (to_take < 0 || to_take > size) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 6]
  |  Branch (1567:24): [True: 0, False: 6]
  ------------------
 1568|      0|        PyErr_Format(PyExc_IndexError,
 1569|      0|            "can't take %zd bytes outside size %zd",
 1570|      0|            to_take, size);
 1571|      0|        return NULL;
 1572|      0|    }
 1573|       |
 1574|       |    // Exports may change the contents. No mutable bytes allowed.
 1575|      6|    if (!_canresize(self)) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 6]
  ------------------
 1576|      0|        return NULL;
 1577|      0|    }
 1578|       |
 1579|      6|    if (to_take == 0 || size == 0) {
  ------------------
  |  Branch (1579:9): [True: 0, False: 6]
  |  Branch (1579:25): [True: 0, False: 6]
  ------------------
 1580|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1581|      0|    }
 1582|       |
 1583|      6|    Py_ssize_t remaining_length = size - to_take;
 1584|       |    // optimization: If taking less than leaving, just copy the small to_take
 1585|       |    // portion out and move ob_start.
 1586|      6|    if (to_take < remaining_length) {
  ------------------
  |  Branch (1586:9): [True: 0, False: 6]
  ------------------
 1587|      0|        PyObject *ret = PyBytes_FromStringAndSize(self->ob_start, to_take);
 1588|      0|        if (ret == NULL) {
  ------------------
  |  Branch (1588:13): [True: 0, False: 0]
  ------------------
 1589|      0|            return NULL;
 1590|      0|        }
 1591|      0|        self->ob_start += to_take;
 1592|      0|        Py_SET_SIZE(self, remaining_length);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      0|        return ret;
 1594|      0|    }
 1595|       |
 1596|       |    // Copy remaining bytes to a new bytes.
 1597|      6|    PyObject *remaining = PyBytes_FromStringAndSize(self->ob_start + to_take,
 1598|      6|                                                    remaining_length);
 1599|      6|    if (remaining == NULL) {
  ------------------
  |  Branch (1599:9): [True: 0, False: 6]
  ------------------
 1600|      0|        return NULL;
 1601|      0|    }
 1602|       |
 1603|       |    // If the bytes are offset inside the buffer must first align.
 1604|      6|    if (self->ob_start != self->ob_bytes) {
  ------------------
  |  Branch (1604:9): [True: 0, False: 6]
  ------------------
 1605|      0|        memmove(self->ob_bytes, self->ob_start, to_take);
 1606|      0|        self->ob_start = self->ob_bytes;
 1607|      0|    }
 1608|       |
 1609|      6|    if (_PyBytes_Resize(&self->ob_bytes_object, to_take) == -1) {
  ------------------
  |  Branch (1609:9): [True: 0, False: 6]
  ------------------
 1610|      0|        Py_DECREF(remaining);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1611|      0|        return NULL;
 1612|      0|    }
 1613|       |
 1614|       |    // Point the bytearray towards the buffer with the remaining data.
 1615|      6|    PyObject *result = self->ob_bytes_object;
 1616|      6|    self->ob_bytes_object = remaining;
 1617|      6|    bytearray_reinit_from_bytes(self, remaining_length, remaining_length);
 1618|      6|    return result;
 1619|      6|}
bytearrayobject.c:bytearray_translate_impl:
 1643|     64|{
 1644|     64|    char *input, *output;
 1645|     64|    const char *table_chars;
 1646|     64|    Py_ssize_t i, c;
 1647|     64|    PyObject *input_obj = (PyObject*)self;
 1648|     64|    const char *output_start;
 1649|     64|    Py_ssize_t inlen;
 1650|     64|    PyObject *result = NULL;
 1651|     64|    int trans_table[256];
 1652|     64|    Py_buffer vtable, vdel;
 1653|       |
 1654|     64|    if (table == Py_None) {
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1654:9): [True: 0, False: 64]
  ------------------
 1655|      0|        table_chars = NULL;
 1656|      0|        table = NULL;
 1657|     64|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     64|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1657:16): [True: 0, False: 64]
  ------------------
 1658|      0|        return NULL;
 1659|     64|    } else {
 1660|     64|        if (vtable.len != 256) {
  ------------------
  |  Branch (1660:13): [True: 0, False: 64]
  ------------------
 1661|      0|            PyErr_SetString(PyExc_ValueError,
 1662|      0|                            "translation table must be 256 characters long");
 1663|      0|            PyBuffer_Release(&vtable);
 1664|      0|            return NULL;
 1665|      0|        }
 1666|     64|        table_chars = (const char*)vtable.buf;
 1667|     64|    }
 1668|       |
 1669|     64|    if (deletechars != NULL) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 64]
  ------------------
 1670|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1670:13): [True: 0, False: 0]
  ------------------
 1671|      0|            if (table != NULL)
  ------------------
  |  Branch (1671:17): [True: 0, False: 0]
  ------------------
 1672|      0|                PyBuffer_Release(&vtable);
 1673|      0|            return NULL;
 1674|      0|        }
 1675|      0|    }
 1676|     64|    else {
 1677|     64|        vdel.buf = NULL;
 1678|     64|        vdel.len = 0;
 1679|     64|    }
 1680|       |
 1681|     64|    inlen = PyByteArray_GET_SIZE(input_obj);
  ------------------
  |  |   38|     64|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     64|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1683|     64|    if (result == NULL)
  ------------------
  |  Branch (1683:9): [True: 0, False: 64]
  ------------------
 1684|      0|        goto done;
 1685|     64|    output_start = output = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|     64|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|     64|    input = PyByteArray_AS_STRING(input_obj);
  ------------------
  |  |   28|     64|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|       |
 1688|     64|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1688:9): [True: 64, False: 0]
  |  Branch (1688:26): [True: 64, False: 0]
  ------------------
 1689|       |        /* If no deletions are required, use faster code */
 1690|  19.5k|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1690:25): [True: 19.4k, False: 64]
  ------------------
 1691|  19.4k|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|  19.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1692|  19.4k|            *output++ = table_chars[c];
 1693|  19.4k|        }
 1694|     64|        goto done;
 1695|     64|    }
 1696|       |
 1697|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1698:21): [True: 0, False: 0]
  ------------------
 1699|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1700|      0|    } else {
 1701|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1701:21): [True: 0, False: 0]
  ------------------
 1702|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1703|      0|    }
 1704|       |
 1705|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1705:17): [True: 0, False: 0]
  ------------------
 1706|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1707|       |
 1708|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1708:21): [True: 0, False: 0]
  ------------------
 1709|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1710|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1710:13): [True: 0, False: 0]
  ------------------
 1711|      0|            *output++ = (char)trans_table[c];
 1712|      0|    }
 1713|       |    /* Fix the size of the resulting bytearray */
 1714|      0|    if (inlen > 0)
  ------------------
  |  Branch (1714:9): [True: 0, False: 0]
  ------------------
 1715|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1715:13): [True: 0, False: 0]
  ------------------
 1716|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1717|      0|            goto done;
 1718|      0|        }
 1719|       |
 1720|     64|done:
 1721|     64|    if (table != NULL)
  ------------------
  |  Branch (1721:9): [True: 64, False: 0]
  ------------------
 1722|     64|        PyBuffer_Release(&vtable);
 1723|     64|    if (deletechars != NULL)
  ------------------
  |  Branch (1723:9): [True: 0, False: 64]
  ------------------
 1724|      0|        PyBuffer_Release(&vdel);
 1725|     64|    return result;
 1726|      0|}
bytearrayobject.c:bytearray___init___impl:
  918|  8.05M|{
  919|  8.05M|    Py_ssize_t count;
  920|  8.05M|    PyObject *it;
  921|  8.05M|    PyObject *(*iternext)(PyObject *);
  922|       |
  923|       |    /* First __init__; set ob_bytes_object so ob_bytes is always non-null. */
  924|  8.05M|    if (self->ob_bytes_object == NULL) {
  ------------------
  |  Branch (924:9): [True: 8.05M, False: 0]
  ------------------
  925|  8.05M|        self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  8.05M|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  926|  8.05M|        bytearray_reinit_from_bytes(self, 0, 0);
  927|  8.05M|        self->ob_exports = 0;
  928|  8.05M|    }
  929|       |
  930|  8.05M|    if (Py_SIZE(self) != 0) {
  ------------------
  |  |  214|  8.05M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (930:9): [True: 0, False: 8.05M]
  ------------------
  931|       |        /* Empty previous contents (yes, do this first of all!) */
  932|      0|        if (PyByteArray_Resize((PyObject *)self, 0) < 0)
  ------------------
  |  Branch (932:13): [True: 0, False: 0]
  ------------------
  933|      0|            return -1;
  934|      0|    }
  935|       |
  936|       |    /* Should be caused by first init or the resize to 0. */
  937|  8.05M|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  938|  8.05M|    assert(self->ob_exports == 0);
  939|       |
  940|       |    /* Make a quick exit if no first argument */
  941|  8.05M|    if (arg == NULL) {
  ------------------
  |  Branch (941:9): [True: 6.60k, False: 8.04M]
  ------------------
  942|  6.60k|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (942:13): [True: 0, False: 6.60k]
  |  Branch (942:33): [True: 0, False: 6.60k]
  ------------------
  943|      0|            PyErr_SetString(PyExc_TypeError,
  944|      0|                            encoding != NULL ?
  ------------------
  |  Branch (944:29): [True: 0, False: 0]
  ------------------
  945|      0|                            "encoding without a string argument" :
  946|      0|                            "errors without a string argument");
  947|      0|            return -1;
  948|      0|        }
  949|  6.60k|        return 0;
  950|  6.60k|    }
  951|       |
  952|  8.04M|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  8.04M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.04M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 8.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  953|       |        /* Encode via the codec registry */
  954|      0|        PyObject *encoded, *new;
  955|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (955:13): [True: 0, False: 0]
  ------------------
  956|      0|            PyErr_SetString(PyExc_TypeError,
  957|      0|                            "string argument without an encoding");
  958|      0|            return -1;
  959|      0|        }
  960|      0|        encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
  961|      0|        if (encoded == NULL) {
  ------------------
  |  Branch (961:13): [True: 0, False: 0]
  ------------------
  962|      0|            return -1;
  963|      0|        }
  964|      0|        assert(PyBytes_Check(encoded));
  965|       |
  966|       |        /* Most encodes return a new unique bytes, just use it as buffer. */
  967|      0|        if (_PyObject_IsUniquelyReferenced(encoded)
  ------------------
  |  Branch (967:13): [True: 0, False: 0]
  ------------------
  968|      0|            && PyBytes_CheckExact(encoded))
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  969|      0|        {
  970|      0|            Py_ssize_t size = Py_SIZE(encoded);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  971|      0|            self->ob_bytes_object = encoded;
  972|      0|            bytearray_reinit_from_bytes(self, size, size);
  973|      0|            return 0;
  974|      0|        }
  975|      0|        new = bytearray_iconcat((PyObject*)self, encoded);
  976|      0|        Py_DECREF(encoded);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      0|        if (new == NULL)
  ------------------
  |  Branch (977:13): [True: 0, False: 0]
  ------------------
  978|      0|            return -1;
  979|      0|        Py_DECREF(new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|      0|        return 0;
  981|      0|    }
  982|       |
  983|       |    /* If it's not unicode, there can't be encoding or errors */
  984|  8.04M|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 8.04M]
  |  Branch (984:29): [True: 0, False: 8.04M]
  ------------------
  985|      0|        PyErr_SetString(PyExc_TypeError,
  986|      0|                        encoding != NULL ?
  ------------------
  |  Branch (986:25): [True: 0, False: 0]
  ------------------
  987|      0|                        "encoding without a string argument" :
  988|      0|                        "errors without a string argument");
  989|      0|        return -1;
  990|      0|    }
  991|       |
  992|       |    /* Is it an int? */
  993|  8.04M|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (993:9): [True: 334, False: 8.04M]
  ------------------
  994|    334|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
  995|    334|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (995:13): [True: 0, False: 334]
  |  Branch (995:28): [True: 0, False: 0]
  ------------------
  996|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (996:17): [True: 0, False: 0]
  ------------------
  997|      0|                return -1;
  998|      0|            PyErr_Clear();  /* fall through */
  999|      0|        }
 1000|    334|        else {
 1001|    334|            if (count < 0) {
  ------------------
  |  Branch (1001:17): [True: 0, False: 334]
  ------------------
 1002|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1003|      0|                return -1;
 1004|      0|            }
 1005|    334|            if (count > 0) {
  ------------------
  |  Branch (1005:17): [True: 334, False: 0]
  ------------------
 1006|    334|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1006:21): [True: 0, False: 334]
  ------------------
 1007|      0|                    return -1;
 1008|    334|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|    334|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|    334|            }
 1010|    334|            return 0;
 1011|    334|        }
 1012|    334|    }
 1013|       |
 1014|       |    /* Use the buffer API */
 1015|  8.04M|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1015:9): [True: 8.04M, False: 1.96k]
  ------------------
 1016|  8.04M|        Py_ssize_t size;
 1017|  8.04M|        Py_buffer view;
 1018|  8.04M|        if (PyObject_GetBuffer(arg, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  8.04M|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  8.04M|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.04M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.04M|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  8.04M|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1018:13): [True: 0, False: 8.04M]
  ------------------
 1019|      0|            return -1;
 1020|  8.04M|        size = view.len;
 1021|  8.04M|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1021:13): [True: 0, False: 8.04M]
  ------------------
 1022|  8.04M|        if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self),
  ------------------
  |  |   28|  8.04M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1022:13): [True: 0, False: 8.04M]
  ------------------
 1023|  8.04M|            &view, size, 'C') < 0)
 1024|      0|            goto fail;
 1025|  8.04M|        PyBuffer_Release(&view);
 1026|  8.04M|        return 0;
 1027|      0|    fail:
 1028|      0|        PyBuffer_Release(&view);
 1029|      0|        return -1;
 1030|  8.04M|    }
 1031|       |
 1032|  1.96k|    if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) {
  ------------------
  |  |   26|  1.96k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.93k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.96k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) {
  ------------------
  |  |   28|      2|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|  1.96k|        Py_ssize_t size = PySequence_Fast_GET_SIZE(arg);
  ------------------
  |  |   92|  1.96k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  1.96k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.96k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.96k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  1.96k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|  1.96k|        if (PyByteArray_Resize((PyObject *)self, size) < 0) {
  ------------------
  |  Branch (1034:13): [True: 0, False: 1.96k]
  ------------------
 1035|      0|            return -1;
 1036|      0|        }
 1037|  1.96k|        PyObject **items = PySequence_Fast_ITEMS(arg);
  ------------------
  |  |  102|  1.96k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  1.96k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.96k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.96k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  1.96k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1038|  1.96k|        char *s = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|  1.96k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|  3.92k|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1039:32): [True: 1.96k, False: 1.96k]
  ------------------
 1040|  1.96k|            int value;
 1041|  1.96k|            if (!PyLong_CheckExact(items[i])) {
  ------------------
  |  |   14|  1.96k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.96k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1041:17): [True: 0, False: 1.96k]
  ------------------
 1042|       |                /* Resize to 0 and go through slowpath */
 1043|      0|                if (Py_SIZE(self) != 0) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1043:21): [True: 0, False: 0]
  ------------------
 1044|      0|                   if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1044:24): [True: 0, False: 0]
  ------------------
 1045|      0|                       return -1;
 1046|      0|                   }
 1047|      0|                }
 1048|      0|                goto slowpath;
 1049|      0|            }
 1050|  1.96k|            int rc = _getbytevalue(items[i], &value);
 1051|  1.96k|            if (!rc) {
  ------------------
  |  Branch (1051:17): [True: 0, False: 1.96k]
  ------------------
 1052|      0|                return -1;
 1053|      0|            }
 1054|  1.96k|            s[i] = value;
 1055|  1.96k|        }
 1056|  1.96k|        return 0;
 1057|  1.96k|    }
 1058|      2|slowpath:
 1059|       |    /* Get the iterator */
 1060|      2|    it = PyObject_GetIter(arg);
 1061|      2|    if (it == NULL) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 2]
  ------------------
 1062|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1062:13): [True: 0, False: 0]
  ------------------
 1063|      0|            PyErr_Format(PyExc_TypeError,
 1064|      0|                         "cannot convert '%.200s' object to bytearray",
 1065|      0|                         Py_TYPE(arg)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|      0|        }
 1067|      0|        return -1;
 1068|      0|    }
 1069|      2|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|       |
 1071|       |    /* Run the iterator to exhaustion */
 1072|    514|    for (;;) {
 1073|    514|        PyObject *item;
 1074|    514|        int rc, value;
 1075|       |
 1076|       |        /* Get the next item */
 1077|    514|        item = iternext(it);
 1078|    514|        if (item == NULL) {
  ------------------
  |  Branch (1078:13): [True: 2, False: 512]
  ------------------
 1079|      2|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1079:17): [True: 0, False: 2]
  ------------------
 1080|      0|                if (!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                    goto error;
 1082|      0|                PyErr_Clear();
 1083|      0|            }
 1084|      2|            break;
 1085|      2|        }
 1086|       |
 1087|       |        /* Interpret it as an int (__index__) */
 1088|    512|        rc = _getbytevalue(item, &value);
 1089|    512|        Py_DECREF(item);
  ------------------
  |  |  430|    512|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|    512|        if (!rc)
  ------------------
  |  Branch (1090:13): [True: 0, False: 512]
  ------------------
 1091|      0|            goto error;
 1092|       |
 1093|       |        /* Append the byte */
 1094|    512|        if (Py_SIZE(self) + 1 < self->ob_alloc) {
  ------------------
  |  |  214|    512|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1094:13): [True: 442, False: 70]
  ------------------
 1095|    442|            Py_SET_SIZE(self, Py_SIZE(self) + 1);
  ------------------
  |  |  216|    442|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    442|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|    442|            PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\0';
  ------------------
  |  |   28|    442|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    442|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\0';
  ------------------
  |  |  214|    442|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    442|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|    442|        }
 1098|     70|        else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0)
  ------------------
  |  |  214|     70|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1098:18): [True: 0, False: 70]
  ------------------
 1099|      0|            goto error;
 1100|    512|        PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = value;
  ------------------
  |  |   28|    512|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = value;
  ------------------
  |  |  214|    512|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|    512|    }
 1102|       |
 1103|       |    /* Clean up and return success */
 1104|      2|    Py_DECREF(it);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      2|    return 0;
 1106|       |
 1107|      0| error:
 1108|       |    /* Error handling when it != NULL */
 1109|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|      0|    return -1;
 1111|      2|}
bytearrayobject.c:bytearrayiter_dealloc:
 2957|      2|{
 2958|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 2953|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 2959|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|      2|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|      2|    PyObject_GC_Del(it);
 2962|      2|}
bytearrayobject.c:bytearray_iter:
 3111|      2|{
 3112|      2|    bytesiterobject *it;
 3113|       |
 3114|      2|    if (!PyByteArray_Check(seq)) {
  ------------------
  |  |   24|      2|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3114:9): [True: 0, False: 2]
  ------------------
 3115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3116|      0|        return NULL;
 3117|      0|    }
 3118|      2|    it = PyObject_GC_New(bytesiterobject, &PyByteArrayIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3119|      2|    if (it == NULL)
  ------------------
  |  Branch (3119:9): [True: 0, False: 2]
  ------------------
 3120|      0|        return NULL;
 3121|      2|    it->it_index = 0;  // -1 indicates exhausted
 3122|      2|    it->it_seq = (PyByteArrayObject *)Py_NewRef(seq);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3123|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|      2|    return (PyObject *)it;
 3125|      2|}

_Py_bytes_lower:
  252|    784|{
  253|    784|    Py_ssize_t i;
  254|       |
  255|  14.7k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 13.9k, False: 784]
  ------------------
  256|  13.9k|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|  13.9k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  13.9k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|  13.9k|    }
  258|    784|}
_Py_bytes_upper:
  268|    102|{
  269|    102|    Py_ssize_t i;
  270|       |
  271|    204|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (271:17): [True: 102, False: 102]
  ------------------
  272|    102|        result[i] = Py_TOUPPER((unsigned char) cptr[i]);
  ------------------
  |  |   33|    102|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|    102|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|    102|    }
  274|    102|}
_Py_bytes_maketrans:
  358|      2|{
  359|      2|    if (frm->len != to->len) {
  ------------------
  |  Branch (359:9): [True: 0, False: 2]
  ------------------
  360|      0|        PyErr_Format(PyExc_ValueError,
  361|      0|                     "maketrans arguments must have same length");
  362|      0|        return NULL;
  363|      0|    }
  364|      2|    PyBytesWriter *writer = PyBytesWriter_Create(256);
  365|      2|    if (!writer) {
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|      0|        return NULL;
  367|      0|    }
  368|      2|    char *p = PyBytesWriter_GetData(writer);
  369|      2|    Py_ssize_t i;
  370|    514|    for (i = 0; i < 256; i++)
  ------------------
  |  Branch (370:17): [True: 512, False: 2]
  ------------------
  371|    512|        p[i] = (char) i;
  372|      6|    for (i = 0; i < frm->len; i++) {
  ------------------
  |  Branch (372:17): [True: 4, False: 2]
  ------------------
  373|      4|        p[((unsigned char *)frm->buf)[i]] = ((char *)to->buf)[i];
  374|      4|    }
  375|       |
  376|      2|    return PyBytesWriter_Finish(writer);
  377|      2|}
_Py_bytes_find:
  515|  1.06k|{
  516|  1.06k|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  517|  1.06k|    if (result == -2)
  ------------------
  |  Branch (517:9): [True: 0, False: 1.06k]
  ------------------
  518|      0|        return NULL;
  519|  1.06k|    return PyLong_FromSsize_t(result);
  520|  1.06k|}
_Py_bytes_contains:
  603|      6|{
  604|      6|    Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL);
  605|      6|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (605:9): [True: 0, False: 6]
  |  Branch (605:23): [True: 0, False: 0]
  ------------------
  606|      0|        Py_buffer varg;
  607|      0|        Py_ssize_t pos;
  608|      0|        PyErr_Clear();
  609|      0|        if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (609:13): [True: 0, False: 0]
  ------------------
  610|      0|            return -1;
  611|      0|        pos = stringlib_find(str, len,
  612|      0|                             varg.buf, varg.len, 0);
  613|      0|        PyBuffer_Release(&varg);
  614|      0|        return pos >= 0;
  615|      0|    }
  616|      6|    if (ival < 0 || ival >= 256) {
  ------------------
  |  Branch (616:9): [True: 0, False: 6]
  |  Branch (616:21): [True: 0, False: 6]
  ------------------
  617|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  618|      0|        return -1;
  619|      0|    }
  620|       |
  621|      6|    return memchr(str, (int) ival, len) != NULL;
  622|      6|}
_Py_bytes_startswith:
  711|     18|{
  712|     18|    return _Py_bytes_tailmatch(str, len, "startswith", subobj, start, end, -1);
  713|     18|}
_Py_bytes_endswith:
  718|      2|{
  719|      2|    return _Py_bytes_tailmatch(str, len, "endswith", subobj, start, end, +1);
  720|      2|}
bytes_methods.c:find_internal:
  457|  1.06k|{
  458|  1.06k|    char byte;
  459|  1.06k|    Py_buffer subbuf;
  460|  1.06k|    const char *sub;
  461|  1.06k|    Py_ssize_t sub_len;
  462|  1.06k|    Py_ssize_t res;
  463|       |
  464|  1.06k|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (464:9): [True: 0, False: 1.06k]
  ------------------
  465|      0|        return -2;
  466|      0|    }
  467|       |
  468|  1.06k|    if (subobj) {
  ------------------
  |  Branch (468:9): [True: 0, False: 1.06k]
  ------------------
  469|      0|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (469:13): [True: 0, False: 0]
  ------------------
  470|      0|            return -2;
  471|       |
  472|      0|        sub = subbuf.buf;
  473|      0|        sub_len = subbuf.len;
  474|      0|    }
  475|  1.06k|    else {
  476|  1.06k|        sub = &byte;
  477|  1.06k|        sub_len = 1;
  478|  1.06k|    }
  479|       |
  480|  1.06k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|  1.06k|    do {                                \
  |  |  435|  1.06k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 1.06k, False: 0]
  |  |  ------------------
  |  |  436|  1.06k|            end = len;                  \
  |  |  437|  1.06k|        }                               \
  |  |  438|  1.06k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (438:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  439|      0|            end += len;                 \
  |  |  440|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (440:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  441|      0|                end = 0;                \
  |  |  442|      0|            }                           \
  |  |  443|      0|        }                               \
  |  |  444|  1.06k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |  445|      0|            start += len;               \
  |  |  446|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (446:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  447|      0|                start = 0;              \
  |  |  448|      0|            }                           \
  |  |  449|      0|        }                               \
  |  |  450|  1.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 1.06k]
  |  |  ------------------
  ------------------
  481|  1.06k|    if (end - start < sub_len)
  ------------------
  |  Branch (481:9): [True: 0, False: 1.06k]
  ------------------
  482|      0|        res = -1;
  483|  1.06k|    else if (sub_len == 1) {
  ------------------
  |  Branch (483:14): [True: 1.06k, False: 0]
  ------------------
  484|  1.06k|        if (dir > 0)
  ------------------
  |  Branch (484:13): [True: 1.06k, False: 0]
  ------------------
  485|  1.06k|            res = stringlib_find_char(
  486|  1.06k|                str + start, end - start,
  487|  1.06k|                *sub);
  488|      0|        else
  489|      0|            res = stringlib_rfind_char(
  490|      0|                str + start, end - start,
  491|      0|                *sub);
  492|  1.06k|        if (res >= 0)
  ------------------
  |  Branch (492:13): [True: 796, False: 264]
  ------------------
  493|    796|            res += start;
  494|  1.06k|    }
  495|      0|    else {
  496|      0|        if (dir > 0)
  ------------------
  |  Branch (496:13): [True: 0, False: 0]
  ------------------
  497|      0|            res = stringlib_find_slice(
  498|      0|                str, len,
  499|      0|                sub, sub_len, start, end);
  500|      0|        else
  501|      0|            res = stringlib_rfind_slice(
  502|      0|                str, len,
  503|      0|                sub, sub_len, start, end);
  504|      0|    }
  505|       |
  506|  1.06k|    if (subobj)
  ------------------
  |  Branch (506:9): [True: 0, False: 1.06k]
  ------------------
  507|      0|        PyBuffer_Release(&subbuf);
  508|       |
  509|  1.06k|    return res;
  510|  1.06k|}
bytes_methods.c:parse_args_finds_byte:
  405|  1.06k|{
  406|  1.06k|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (406:9): [True: 0, False: 1.06k]
  ------------------
  407|      0|        return 1;
  408|      0|    }
  409|       |
  410|  1.06k|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 1.06k]
  ------------------
  411|      0|        PyErr_Format(PyExc_TypeError,
  412|      0|                     "argument should be integer or bytes-like object, "
  413|      0|                     "not '%.200s'",
  414|      0|                     Py_TYPE(*subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|        return 0;
  416|      0|    }
  417|       |
  418|  1.06k|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  419|  1.06k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (419:9): [True: 0, False: 1.06k]
  |  Branch (419:23): [True: 0, False: 0]
  ------------------
  420|      0|        return 0;
  421|      0|    }
  422|  1.06k|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (422:9): [True: 0, False: 1.06k]
  |  Branch (422:21): [True: 0, False: 1.06k]
  ------------------
  423|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  424|      0|        return 0;
  425|      0|    }
  426|       |
  427|  1.06k|    *subobj = NULL;
  428|  1.06k|    *byte = (char)ival;
  429|  1.06k|    return 1;
  430|  1.06k|}
bytes_methods.c:_Py_bytes_tailmatch:
  680|     20|{
  681|     20|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|     20|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|      8|        Py_ssize_t i;
  683|     24|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     24|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:21): [True: 16, False: 8]
  ------------------
  684|     16|            PyObject *item = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     16|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     16|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|     16|            int result = tailmatch(str, len, item, start, end, direction);
  686|     16|            if (result < 0) {
  ------------------
  |  Branch (686:17): [True: 0, False: 16]
  ------------------
  687|      0|                return NULL;
  688|      0|            }
  689|     16|            else if (result) {
  ------------------
  |  Branch (689:22): [True: 0, False: 16]
  ------------------
  690|      0|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  691|      0|            }
  692|     16|        }
  693|      8|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      8|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      8|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      8|    }
  695|     12|    int result = tailmatch(str, len, subobj, start, end, direction);
  696|     12|    if (result == -1) {
  ------------------
  |  Branch (696:9): [True: 0, False: 12]
  ------------------
  697|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (697:13): [True: 0, False: 0]
  ------------------
  698|      0|            PyErr_Format(PyExc_TypeError,
  699|      0|                         "%s first arg must be bytes or a tuple of bytes, "
  700|      0|                         "not %s",
  701|      0|                         function_name, Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|      0|        }
  703|      0|        return NULL;
  704|      0|    }
  705|     12|    return PyBool_FromLong(result);
  706|     12|}
bytes_methods.c:tailmatch:
  632|     28|{
  633|     28|    Py_buffer sub_view = {NULL, NULL};
  634|     28|    const char *sub;
  635|     28|    Py_ssize_t slen;
  636|       |
  637|     28|    if (PyBytes_Check(substr)) {
  ------------------
  |  |   28|     28|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|     28|        sub = PyBytes_AS_STRING(substr);
  ------------------
  |  |   27|     28|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|     28|        slen = PyBytes_GET_SIZE(substr);
  ------------------
  |  |   33|     28|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     28|    }
  641|      0|    else {
  642|      0|        if (PyObject_GetBuffer(substr, &sub_view, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (642:13): [True: 0, False: 0]
  ------------------
  643|      0|            return -1;
  644|      0|        sub = sub_view.buf;
  645|      0|        slen = sub_view.len;
  646|      0|    }
  647|       |
  648|     28|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|     28|    do {                                \
  |  |  435|     28|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 28, False: 0]
  |  |  ------------------
  |  |  436|     28|            end = len;                  \
  |  |  437|     28|        }                               \
  |  |  438|     28|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (438:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  439|      0|            end += len;                 \
  |  |  440|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (440:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  441|      0|                end = 0;                \
  |  |  442|      0|            }                           \
  |  |  443|      0|        }                               \
  |  |  444|     28|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 28]
  |  |  ------------------
  |  |  445|      0|            start += len;               \
  |  |  446|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (446:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  447|      0|                start = 0;              \
  |  |  448|      0|            }                           \
  |  |  449|      0|        }                               \
  |  |  450|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
  649|       |
  650|     28|    if (direction < 0) {
  ------------------
  |  Branch (650:9): [True: 26, False: 2]
  ------------------
  651|       |        /* startswith */
  652|     26|        if (start > len - slen)
  ------------------
  |  Branch (652:13): [True: 0, False: 26]
  ------------------
  653|      0|            goto notfound;
  654|     26|    } else {
  655|       |        /* endswith */
  656|      2|        if (end - start < slen || start > len)
  ------------------
  |  Branch (656:13): [True: 0, False: 2]
  |  Branch (656:35): [True: 0, False: 2]
  ------------------
  657|      0|            goto notfound;
  658|       |
  659|      2|        if (end - slen > start)
  ------------------
  |  Branch (659:13): [True: 2, False: 0]
  ------------------
  660|      2|            start = end - slen;
  661|      2|    }
  662|     28|    if (end - start < slen)
  ------------------
  |  Branch (662:9): [True: 0, False: 28]
  ------------------
  663|      0|        goto notfound;
  664|     28|    if (memcmp(str + start, sub, slen) != 0)
  ------------------
  |  Branch (664:9): [True: 28, False: 0]
  ------------------
  665|     28|        goto notfound;
  666|       |
  667|      0|    PyBuffer_Release(&sub_view);
  668|      0|    return 1;
  669|       |
  670|     28|notfound:
  671|     28|    PyBuffer_Release(&sub_view);
  672|     28|    return 0;
  673|     28|}

PyBytes_FromStringAndSize:
  135|  17.3M|{
  136|  17.3M|    PyBytesObject *op;
  137|  17.3M|    if (size < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 17.3M]
  ------------------
  138|      0|        PyErr_SetString(PyExc_SystemError,
  139|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  140|      0|        return NULL;
  141|      0|    }
  142|  17.3M|    if (size == 1 && str != NULL) {
  ------------------
  |  Branch (142:9): [True: 10.7M, False: 6.59M]
  |  Branch (142:22): [True: 10.7M, False: 19.4k]
  ------------------
  143|  10.7M|        op = CHARACTER(*str & 255);
  ------------------
  |  |   39|  10.7M|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   37|  10.7M|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  10.7M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  10.7M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|  10.7M|        assert(_Py_IsImmortal(op));
  145|  10.7M|        return (PyObject *)op;
  146|  10.7M|    }
  147|  6.61M|    if (size == 0) {
  ------------------
  |  Branch (147:9): [True: 119k, False: 6.49M]
  ------------------
  148|   119k|        return bytes_get_empty();
  149|   119k|    }
  150|       |
  151|  6.49M|    op = (PyBytesObject *)_PyBytes_FromSize(size, 0);
  152|  6.49M|    if (op == NULL)
  ------------------
  |  Branch (152:9): [True: 0, False: 6.49M]
  ------------------
  153|      0|        return NULL;
  154|  6.49M|    if (str == NULL)
  ------------------
  |  Branch (154:9): [True: 414k, False: 6.07M]
  ------------------
  155|   414k|        return (PyObject *) op;
  156|       |
  157|  6.07M|    memcpy(op->ob_sval, str, size);
  158|  6.07M|    return (PyObject *) op;
  159|  6.49M|}
PyBytes_FromString:
  163|     12|{
  164|     12|    size_t size;
  165|     12|    PyBytesObject *op;
  166|       |
  167|     12|    assert(str != NULL);
  168|     12|    size = strlen(str);
  169|     12|    if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     12|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|     12|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     12|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (169:9): [True: 0, False: 12]
  ------------------
  170|      0|        PyErr_SetString(PyExc_OverflowError,
  171|      0|            "byte string is too long");
  172|      0|        return NULL;
  173|      0|    }
  174|       |
  175|     12|    if (size == 0) {
  ------------------
  |  Branch (175:9): [True: 0, False: 12]
  ------------------
  176|      0|        return bytes_get_empty();
  177|      0|    }
  178|     12|    else if (size == 1) {
  ------------------
  |  Branch (178:14): [True: 0, False: 12]
  ------------------
  179|      0|        op = CHARACTER(*str & 255);
  ------------------
  |  |   39|      0|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   37|      0|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|        assert(_Py_IsImmortal(op));
  181|      0|        return (PyObject *)op;
  182|      0|    }
  183|       |
  184|       |    /* Inline PyObject_NewVar */
  185|     12|    op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|     12|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     12|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  186|     12|    if (op == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 12]
  ------------------
  187|      0|        return PyErr_NoMemory();
  188|      0|    }
  189|     12|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  190|     12|    set_ob_shash(op, -1);
  191|     12|    memcpy(op->ob_sval, str, size+1);
  192|     12|    return (PyObject *) op;
  193|     12|}
PyBytes_AsString:
 1343|  6.74M|{
 1344|  6.74M|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  6.74M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.74M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1344:9): [True: 0, False: 6.74M]
  ------------------
 1345|      0|        PyErr_Format(PyExc_TypeError,
 1346|      0|             "expected bytes, %.200s found", Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|        return NULL;
 1348|      0|    }
 1349|  6.74M|    return ((PyBytesObject *)op)->ob_sval;
 1350|  6.74M|}
_PyBytes_Concat:
 1543|   256k|{
 1544|   256k|    Py_buffer va, vb;
 1545|   256k|    PyObject *result = NULL;
 1546|       |
 1547|   256k|    va.len = -1;
 1548|   256k|    vb.len = -1;
 1549|   256k|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|   256k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1549:9): [True: 0, False: 256k]
  ------------------
 1550|   256k|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|   256k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1550:9): [True: 0, False: 256k]
  ------------------
 1551|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1552|      0|                     Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|      0|        goto done;
 1554|      0|    }
 1555|       |
 1556|       |    /* Optimize end cases */
 1557|   256k|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|  86.2k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  86.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 86.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1557:9): [True: 86.2k, False: 169k]
  ------------------
 1558|  86.2k|        result = Py_NewRef(b);
  ------------------
  |  |  550|  86.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|  86.2k|        goto done;
 1560|  86.2k|    }
 1561|   169k|    if (vb.len == 0 && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|  1.36k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  1.36k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.36k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1561:9): [True: 1.36k, False: 168k]
  ------------------
 1562|  1.36k|        result = Py_NewRef(a);
  ------------------
  |  |  550|  1.36k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|  1.36k|        goto done;
 1564|  1.36k|    }
 1565|       |
 1566|   168k|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|   168k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1566:9): [True: 0, False: 168k]
  ------------------
 1567|      0|        PyErr_NoMemory();
 1568|      0|        goto done;
 1569|      0|    }
 1570|       |
 1571|   168k|    result = PyBytes_FromStringAndSize(NULL, va.len + vb.len);
 1572|   168k|    if (result != NULL) {
  ------------------
  |  Branch (1572:9): [True: 168k, False: 0]
  ------------------
 1573|   168k|        memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   27|   168k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|   168k|        memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   27|   168k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|   168k|    }
 1576|       |
 1577|   256k|  done:
 1578|   256k|    if (va.len != -1)
  ------------------
  |  Branch (1578:9): [True: 256k, False: 0]
  ------------------
 1579|   256k|        PyBuffer_Release(&va);
 1580|   256k|    if (vb.len != -1)
  ------------------
  |  Branch (1580:9): [True: 256k, False: 0]
  ------------------
 1581|   256k|        PyBuffer_Release(&vb);
 1582|   256k|    return result;
 1583|   168k|}
_PyBytes_Repeat:
 1587|   100k|{
 1588|   100k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|   100k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1589|   100k|    if (n < 0)
  ------------------
  |  Branch (1589:9): [True: 0, False: 100k]
  ------------------
 1590|      0|        n = 0;
 1591|       |    /* watch out for overflows:  the size can overflow int,
 1592|       |     * and the # of bytes needed can overflow size_t
 1593|       |     */
 1594|   100k|    if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  214|   100k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  137|   100k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1594:9): [True: 100k, False: 10]
  |  Branch (1594:18): [True: 0, False: 100k]
  ------------------
 1595|      0|        PyErr_SetString(PyExc_OverflowError,
 1596|      0|            "repeated bytes are too long");
 1597|      0|        return NULL;
 1598|      0|    }
 1599|   100k|    Py_ssize_t size = Py_SIZE(a) * n;
  ------------------
  |  |  214|   100k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|   100k|    if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |  214|   200k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|      6|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1600:9): [True: 6, False: 100k]
  ------------------
 1601|      6|        return Py_NewRef(a);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|      6|    }
 1603|   100k|    size_t nbytes = (size_t)size;
 1604|   100k|    if (nbytes + PyBytesObject_SIZE <= nbytes) {
  ------------------
  |  |   29|   100k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   100k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (1604:9): [True: 0, False: 100k]
  ------------------
 1605|      0|        PyErr_SetString(PyExc_OverflowError,
 1606|      0|            "repeated bytes are too long");
 1607|      0|        return NULL;
 1608|      0|    }
 1609|   100k|    PyBytesObject *op = PyObject_Malloc(PyBytesObject_SIZE + nbytes);
  ------------------
  |  |   29|   100k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   100k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 1610|   100k|    if (op == NULL) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 100k]
  ------------------
 1611|      0|        return PyErr_NoMemory();
 1612|      0|    }
 1613|   100k|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
 1614|   100k|    set_ob_shash(op, -1);
 1615|   100k|    op->ob_sval[size] = '\0';
 1616|       |
 1617|   100k|    _PyBytes_RepeatBuffer(op->ob_sval, size, a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|   100k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|       |
 1619|   100k|    return (PyObject *) op;
 1620|   100k|}
PyBytes_Join:
 2002|      4|{
 2003|      4|    if (sep == NULL) {
  ------------------
  |  Branch (2003:9): [True: 0, False: 4]
  ------------------
 2004|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2005|      0|        return NULL;
 2006|      0|    }
 2007|      4|    if (!PyBytes_Check(sep)) {
  ------------------
  |  |   28|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2007:9): [True: 0, False: 4]
  ------------------
 2008|      0|        PyErr_Format(PyExc_TypeError,
 2009|      0|                     "sep: expected bytes, got %T", sep);
 2010|      0|        return NULL;
 2011|      0|    }
 2012|       |
 2013|      4|    return stringlib_bytes_join(sep, iterable);
 2014|      4|}
PyBytes_FromObject:
 3126|  8.04M|{
 3127|  8.04M|    PyObject *it, *result;
 3128|       |
 3129|  8.04M|    if (x == NULL) {
  ------------------
  |  Branch (3129:9): [True: 0, False: 8.04M]
  ------------------
 3130|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3131|      0|        return NULL;
 3132|      0|    }
 3133|       |
 3134|  8.04M|    if (PyBytes_CheckExact(x)) {
  ------------------
  |  |   29|  8.04M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  8.04M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 8.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|      0|        return Py_NewRef(x);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3136|      0|    }
 3137|       |
 3138|       |    /* Use the modern buffer interface */
 3139|  8.04M|    if (PyObject_CheckBuffer(x))
  ------------------
  |  Branch (3139:9): [True: 8.04M, False: 2.44k]
  ------------------
 3140|  8.04M|        return _PyBytes_FromBuffer(x);
 3141|       |
 3142|  2.44k|    if (PyList_CheckExact(x))
  ------------------
  |  |   26|  2.44k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.44k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.39k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3143|  2.39k|        return _PyBytes_FromList(x);
 3144|       |
 3145|     46|    if (PyTuple_CheckExact(x))
  ------------------
  |  |   28|     46|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3146|      0|        return _PyBytes_FromTuple(x);
 3147|       |
 3148|     46|    if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|     46|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3148:9): [True: 46, False: 0]
  ------------------
 3149|     46|        it = PyObject_GetIter(x);
 3150|     46|        if (it != NULL) {
  ------------------
  |  Branch (3150:13): [True: 46, False: 0]
  ------------------
 3151|     46|            result = _PyBytes_FromIterator(it, x);
 3152|     46|            Py_DECREF(it);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3153|     46|            return result;
 3154|     46|        }
 3155|      0|        if (!PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (3155:13): [True: 0, False: 0]
  ------------------
 3156|      0|            return NULL;
 3157|      0|        }
 3158|      0|    }
 3159|       |
 3160|      0|    PyErr_Format(PyExc_TypeError,
 3161|      0|                 "cannot convert '%.200s' object to bytes",
 3162|      0|                 Py_TYPE(x)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3163|       |    return NULL;
 3164|     46|}
_PyBytes_Resize:
 3345|  8.13M|{
 3346|  8.13M|    PyObject *v;
 3347|  8.13M|    PyBytesObject *sv;
 3348|  8.13M|    v = *pv;
 3349|  8.13M|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|  8.13M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3349:9): [True: 0, False: 8.13M]
  |  Branch (3349:30): [True: 0, False: 8.13M]
  ------------------
 3350|      0|        *pv = 0;
 3351|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3352|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3353|      0|        return -1;
 3354|      0|    }
 3355|  8.13M|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|  8.13M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|  8.13M|    if (oldsize == newsize) {
  ------------------
  |  Branch (3356:9): [True: 6, False: 8.13M]
  ------------------
 3357|       |        /* return early if newsize equals to v->ob_size */
 3358|      6|        return 0;
 3359|      6|    }
 3360|  8.13M|    if (oldsize == 0) {
  ------------------
  |  Branch (3360:9): [True: 8.05M, False: 82.6k]
  ------------------
 3361|  8.05M|        *pv = _PyBytes_FromSize(newsize, 0);
 3362|  8.05M|        Py_DECREF(v);
  ------------------
  |  |  430|  8.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|  8.05M|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3363:16): [True: 0, False: 8.05M]
  ------------------
 3364|  8.05M|    }
 3365|  82.6k|    if (newsize == 0) {
  ------------------
  |  Branch (3365:9): [True: 733, False: 81.9k]
  ------------------
 3366|    733|        *pv = bytes_get_empty();
 3367|    733|        Py_DECREF(v);
  ------------------
  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|    733|        return 0;
 3369|    733|    }
 3370|  81.9k|    if (!_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (3370:9): [True: 0, False: 81.9k]
  ------------------
 3371|      0|        if (oldsize < newsize) {
  ------------------
  |  Branch (3371:13): [True: 0, False: 0]
  ------------------
 3372|      0|            *pv = _PyBytes_FromSize(newsize, 0);
 3373|      0|            if (*pv) {
  ------------------
  |  Branch (3373:17): [True: 0, False: 0]
  ------------------
 3374|      0|                memcpy(PyBytes_AS_STRING(*pv), PyBytes_AS_STRING(v), oldsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              memcpy(PyBytes_AS_STRING(*pv), PyBytes_AS_STRING(v), oldsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|      0|            }
 3376|      0|        }
 3377|      0|        else {
 3378|      0|            *pv = PyBytes_FromStringAndSize(PyBytes_AS_STRING(v), newsize);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3379|      0|        }
 3380|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3381|      0|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3381:16): [True: 0, False: 0]
  ------------------
 3382|      0|    }
 3383|       |
 3384|       |#ifdef Py_TRACE_REFS
 3385|       |    _Py_ForgetReference(v);
 3386|       |#endif
 3387|  81.9k|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  81.9k|    do { \
  |  |  113|  81.9k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  81.9k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 81.9k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  81.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 81.9k]
  |  |  ------------------
  ------------------
 3388|  81.9k|    *pv = (PyObject *)
 3389|  81.9k|        PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   29|  81.9k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  81.9k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3390|  81.9k|    if (*pv == NULL) {
  ------------------
  |  Branch (3390:9): [True: 0, False: 81.9k]
  ------------------
 3391|       |#ifdef Py_REF_DEBUG
 3392|       |        _Py_DecRefTotal(_PyThreadState_GET());
 3393|       |#endif
 3394|      0|        PyObject_Free(v);
 3395|      0|        PyErr_NoMemory();
 3396|      0|        return -1;
 3397|      0|    }
 3398|  81.9k|    _Py_NewReferenceNoTotal(*pv);
 3399|  81.9k|    sv = (PyBytesObject *) *pv;
 3400|  81.9k|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|  81.9k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  81.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|  81.9k|    sv->ob_sval[newsize] = '\0';
 3402|  81.9k|    set_ob_shash(sv, -1);          /* invalidate cached hash value */
 3403|  81.9k|    return 0;
 3404|  81.9k|}
_PyBytes_RepeatBuffer:
 3568|   100k|{
 3569|   100k|    if (len_dest == 0) {
  ------------------
  |  Branch (3569:9): [True: 10, False: 100k]
  ------------------
 3570|     10|        return;
 3571|     10|    }
 3572|   100k|    if (len_src == 1) {
  ------------------
  |  Branch (3572:9): [True: 100k, False: 2]
  ------------------
 3573|   100k|        memset(dest, src[0], len_dest);
 3574|   100k|    }
 3575|      2|    else {
 3576|      2|        if (src != dest) {
  ------------------
  |  Branch (3576:13): [True: 2, False: 0]
  ------------------
 3577|      2|            memcpy(dest, src, len_src);
 3578|      2|        }
 3579|      2|        Py_ssize_t copied = len_src;
 3580|     24|        while (copied < len_dest) {
  ------------------
  |  Branch (3580:16): [True: 22, False: 2]
  ------------------
 3581|     22|            Py_ssize_t bytes_to_copy = Py_MIN(copied, len_dest - copied);
  ------------------
  |  |  112|     22|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 22]
  |  |  ------------------
  ------------------
 3582|     22|            memcpy(dest + copied, dest, bytes_to_copy);
 3583|     22|            copied += bytes_to_copy;
 3584|     22|        }
 3585|      2|    }
 3586|   100k|}
PyBytesWriter_Create:
 3723|  8.33M|{
 3724|  8.33M|    return byteswriter_create(size, 0);
 3725|  8.33M|}
PyBytesWriter_Discard:
 3736|  8.33M|{
 3737|  8.33M|    if (writer == NULL) {
  ------------------
  |  Branch (3737:9): [True: 0, False: 8.33M]
  ------------------
 3738|      0|        return;
 3739|      0|    }
 3740|       |
 3741|  8.33M|    Py_XDECREF(writer->obj);
  ------------------
  |  |  524|  8.33M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3742|  8.33M|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  8.33M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  8.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  8.33M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|  8.33M|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3743|  8.33M|}
PyBytesWriter_FinishWithSize:
 3748|  8.32M|{
 3749|  8.32M|    PyObject *result;
 3750|  8.32M|    if (size == 0) {
  ------------------
  |  Branch (3750:9): [True: 1.49k, False: 8.32M]
  ------------------
 3751|  1.49k|        result = bytes_get_empty();
 3752|  1.49k|    }
 3753|  8.32M|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (3753:14): [True: 15.8k, False: 8.31M]
  ------------------
 3754|  15.8k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3754:13): [True: 0, False: 15.8k]
  ------------------
 3755|      0|            if (size != PyByteArray_GET_SIZE(writer->obj)) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3755:17): [True: 0, False: 0]
  ------------------
 3756|      0|                if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3756:21): [True: 0, False: 0]
  ------------------
 3757|      0|                    goto error;
 3758|      0|                }
 3759|      0|            }
 3760|      0|        }
 3761|  15.8k|        else {
 3762|  15.8k|            if (size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|  15.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3762:17): [True: 881, False: 14.9k]
  ------------------
 3763|    881|                if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3763:21): [True: 0, False: 881]
  ------------------
 3764|      0|                    goto error;
 3765|      0|                }
 3766|    881|            }
 3767|  15.8k|        }
 3768|  15.8k|        result = writer->obj;
 3769|  15.8k|        writer->obj = NULL;
 3770|  15.8k|    }
 3771|  8.31M|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3771:14): [True: 0, False: 8.31M]
  ------------------
 3772|      0|        result = PyByteArray_FromStringAndSize(writer->small_buffer, size);
 3773|      0|    }
 3774|  8.31M|    else {
 3775|  8.31M|        result = PyBytes_FromStringAndSize(writer->small_buffer, size);
 3776|  8.31M|    }
 3777|  8.32M|    PyBytesWriter_Discard(writer);
 3778|  8.32M|    return result;
 3779|       |
 3780|      0|error:
 3781|      0|    PyBytesWriter_Discard(writer);
 3782|       |    return NULL;
 3783|  8.32M|}
PyBytesWriter_Finish:
 3787|  8.24M|{
 3788|  8.24M|    return PyBytesWriter_FinishWithSize(writer, writer->size);
 3789|  8.24M|}
PyBytesWriter_FinishWithPointer:
 3794|  70.6k|{
 3795|  70.6k|    Py_ssize_t size = (char*)buf - byteswriter_data(writer);
 3796|  70.6k|    if (size < 0 || size > byteswriter_allocated(writer)) {
  ------------------
  |  Branch (3796:9): [True: 0, False: 70.6k]
  |  Branch (3796:21): [True: 0, False: 70.6k]
  ------------------
 3797|      0|        PyBytesWriter_Discard(writer);
 3798|      0|        PyErr_SetString(PyExc_ValueError, "invalid end pointer");
 3799|      0|        return NULL;
 3800|      0|    }
 3801|       |
 3802|  70.6k|    return PyBytesWriter_FinishWithSize(writer, size);
 3803|  70.6k|}
PyBytesWriter_GetData:
 3808|  8.33M|{
 3809|  8.33M|    return byteswriter_data(writer);
 3810|  8.33M|}
bytesobject.c:bytes_get_empty:
   45|   121k|{
   46|   121k|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   40|   121k|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|   121k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   121k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|       |    assert(_Py_IsImmortal(empty));
   48|   121k|    return empty;
   49|   121k|}
bytesobject.c:_PyBytes_FromSize:
  103|  14.5M|{
  104|  14.5M|    PyBytesObject *op;
  105|  14.5M|    assert(size >= 0);
  106|       |
  107|  14.5M|    if (size == 0) {
  ------------------
  |  Branch (107:9): [True: 0, False: 14.5M]
  ------------------
  108|      0|        return bytes_get_empty();
  109|      0|    }
  110|       |
  111|  14.5M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  14.5M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|  14.5M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  14.5M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (111:9): [True: 0, False: 14.5M]
  ------------------
  112|      0|        PyErr_SetString(PyExc_OverflowError,
  113|      0|                        "byte string is too large");
  114|      0|        return NULL;
  115|      0|    }
  116|       |
  117|       |    /* Inline PyObject_NewVar */
  118|  14.5M|    if (use_calloc)
  ------------------
  |  Branch (118:9): [True: 0, False: 14.5M]
  ------------------
  119|      0|        op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size);
  ------------------
  |  |   29|      0|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  120|  14.5M|    else
  121|  14.5M|        op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|  14.5M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  14.5M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  122|  14.5M|    if (op == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 14.5M]
  ------------------
  123|      0|        return PyErr_NoMemory();
  124|      0|    }
  125|  14.5M|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  126|  14.5M|    set_ob_shash(op, -1);
  127|  14.5M|    if (!use_calloc) {
  ------------------
  |  Branch (127:9): [True: 14.5M, False: 0]
  ------------------
  128|  14.5M|        op->ob_sval[size] = '\0';
  129|  14.5M|    }
  130|  14.5M|    return (PyObject *) op;
  131|  14.5M|}
bytesobject.c:set_ob_shash:
   54|  14.7M|{
   55|  14.7M|_Py_COMP_DIAG_PUSH
   56|  14.7M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   59|       |#else
   60|  14.7M|    a->ob_shash = hash;
   61|  14.7M|#endif
   62|  14.7M|_Py_COMP_DIAG_POP
   63|  14.7M|}
bytesobject.c:_PyBytes_FromBuffer:
 2964|  8.04M|{
 2965|  8.04M|    Py_buffer view;
 2966|  8.04M|    if (PyObject_GetBuffer(x, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  8.04M|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  8.04M|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.04M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.04M|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  8.04M|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 8.04M]
  ------------------
 2967|      0|        return NULL;
 2968|       |
 2969|  8.04M|    PyBytesWriter *writer = PyBytesWriter_Create(view.len);
 2970|  8.04M|    if (writer == NULL) {
  ------------------
  |  Branch (2970:9): [True: 0, False: 8.04M]
  ------------------
 2971|      0|        goto fail;
 2972|      0|    }
 2973|       |
 2974|  8.04M|    if (PyBuffer_ToContiguous(PyBytesWriter_GetData(writer),
  ------------------
  |  Branch (2974:9): [True: 0, False: 8.04M]
  ------------------
 2975|  8.04M|                              &view, view.len, 'C') < 0) {
 2976|      0|        goto fail;
 2977|      0|    }
 2978|       |
 2979|  8.04M|    PyBuffer_Release(&view);
 2980|  8.04M|    return PyBytesWriter_Finish(writer);
 2981|       |
 2982|      0|fail:
 2983|      0|    PyBytesWriter_Discard(writer);
 2984|      0|    PyBuffer_Release(&view);
 2985|       |    return NULL;
 2986|  8.04M|}
bytesobject.c:_PyBytes_FromList:
 2990|  2.39k|{
 2991|  2.39k|    Py_ssize_t size = PyList_GET_SIZE(x);
  ------------------
  |  |   38|  2.39k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2992|  2.39k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 2993|  2.39k|    if (writer == NULL) {
  ------------------
  |  Branch (2993:9): [True: 0, False: 2.39k]
  ------------------
 2994|      0|        return NULL;
 2995|      0|    }
 2996|  2.39k|    char *str = PyBytesWriter_GetData(writer);
 2997|  2.39k|    size = _PyBytesWriter_GetAllocated(writer);
 2998|       |
 2999|   249k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(x); i++) {
  ------------------
  |  |   38|   249k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   249k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   249k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2999:28): [True: 247k, False: 2.39k]
  ------------------
 3000|   247k|        PyObject *item = _PyList_GetItemRef((PyListObject *)x, i);
 3001|   247k|        if (item == NULL) {
  ------------------
  |  Branch (3001:13): [True: 0, False: 247k]
  ------------------
 3002|      0|            goto error;
 3003|      0|        }
 3004|   247k|        Py_ssize_t value = PyNumber_AsSsize_t(item, NULL);
 3005|   247k|        Py_DECREF(item);
  ------------------
  |  |  430|   247k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|   247k|        if (value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3006:13): [True: 0, False: 247k]
  |  Branch (3006:28): [True: 0, False: 0]
  ------------------
 3007|      0|            goto error;
 3008|       |
 3009|   247k|        if (value < 0 || value >= 256) {
  ------------------
  |  Branch (3009:13): [True: 0, False: 247k]
  |  Branch (3009:26): [True: 0, False: 247k]
  ------------------
 3010|      0|            PyErr_SetString(PyExc_ValueError,
 3011|      0|                            "bytes must be in range(0, 256)");
 3012|      0|            goto error;
 3013|      0|        }
 3014|       |
 3015|   247k|        if (i >= size) {
  ------------------
  |  Branch (3015:13): [True: 0, False: 247k]
  ------------------
 3016|      0|            str = _PyBytesWriter_ResizeAndUpdatePointer(writer, size + 1, str);
 3017|      0|            if (str == NULL) {
  ------------------
  |  Branch (3017:17): [True: 0, False: 0]
  ------------------
 3018|      0|                goto error;
 3019|      0|            }
 3020|      0|            size = _PyBytesWriter_GetAllocated(writer);
 3021|      0|        }
 3022|   247k|        *str++ = (char) value;
 3023|   247k|    }
 3024|  2.39k|    return PyBytesWriter_FinishWithPointer(writer, str);
 3025|       |
 3026|      0|error:
 3027|      0|    PyBytesWriter_Discard(writer);
 3028|       |    return NULL;
 3029|  2.39k|}
bytesobject.c:_PyBytesWriter_GetAllocated:
 3822|  2.44k|{
 3823|  2.44k|    return byteswriter_allocated(writer);
 3824|  2.44k|}
bytesobject.c:_PyBytes_FromIterator:
 3066|     46|{
 3067|     46|    Py_ssize_t i, size;
 3068|       |
 3069|       |    /* For iterator version, create a bytes object and resize as needed */
 3070|     46|    size = PyObject_LengthHint(x, 64);
 3071|     46|    if (size == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3071:9): [True: 0, False: 46]
  |  Branch (3071:23): [True: 0, False: 0]
  ------------------
 3072|      0|        return NULL;
 3073|       |
 3074|     46|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 3075|     46|    if (writer == NULL) {
  ------------------
  |  Branch (3075:9): [True: 0, False: 46]
  ------------------
 3076|      0|        return NULL;
 3077|      0|    }
 3078|     46|    char *str = PyBytesWriter_GetData(writer);
 3079|     46|    size = _PyBytesWriter_GetAllocated(writer);
 3080|       |
 3081|       |    /* Run the iterator to exhaustion */
 3082|    354|    for (i = 0; ; i++) {
 3083|    354|        PyObject *item;
 3084|    354|        Py_ssize_t value;
 3085|       |
 3086|       |        /* Get the next item */
 3087|    354|        item = PyIter_Next(it);
 3088|    354|        if (item == NULL) {
  ------------------
  |  Branch (3088:13): [True: 46, False: 308]
  ------------------
 3089|     46|            if (PyErr_Occurred())
  ------------------
  |  Branch (3089:17): [True: 0, False: 46]
  ------------------
 3090|      0|                goto error;
 3091|     46|            break;
 3092|     46|        }
 3093|       |
 3094|       |        /* Interpret it as an int (__index__) */
 3095|    308|        value = PyNumber_AsSsize_t(item, NULL);
 3096|    308|        Py_DECREF(item);
  ------------------
  |  |  430|    308|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    308|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    308|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3097|    308|        if (value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3097:13): [True: 0, False: 308]
  |  Branch (3097:28): [True: 0, False: 0]
  ------------------
 3098|      0|            goto error;
 3099|       |
 3100|       |        /* Range check */
 3101|    308|        if (value < 0 || value >= 256) {
  ------------------
  |  Branch (3101:13): [True: 0, False: 308]
  |  Branch (3101:26): [True: 0, False: 308]
  ------------------
 3102|      0|            PyErr_SetString(PyExc_ValueError,
 3103|      0|                            "bytes must be in range(0, 256)");
 3104|      0|            goto error;
 3105|      0|        }
 3106|       |
 3107|       |        /* Append the byte */
 3108|    308|        if (i >= size) {
  ------------------
  |  Branch (3108:13): [True: 0, False: 308]
  ------------------
 3109|      0|            str = _PyBytesWriter_ResizeAndUpdatePointer(writer, size + 1, str);
 3110|      0|            if (str == NULL) {
  ------------------
  |  Branch (3110:17): [True: 0, False: 0]
  ------------------
 3111|      0|                goto error;
 3112|      0|            }
 3113|      0|            size = _PyBytesWriter_GetAllocated(writer);
 3114|      0|        }
 3115|    308|        *str++ = (char) value;
 3116|    308|    }
 3117|     46|    return PyBytesWriter_FinishWithPointer(writer, str);
 3118|       |
 3119|      0|  error:
 3120|      0|    PyBytesWriter_Discard(writer);
 3121|       |    return NULL;
 3122|     46|}
bytesobject.c:bytes_length:
 1535|  8.49M|{
 1536|  8.49M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  8.49M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1537|  8.49M|    return Py_SIZE(a);
  ------------------
  |  |  214|  8.49M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|  8.49M|}
bytesobject.c:bytes_contains:
 1624|      6|{
 1625|      6|    return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   27|      6|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   33|      6|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|      6|}
bytesobject.c:bytes_subscript:
 1734|  8.19M|{
 1735|  8.19M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  8.19M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1736|  8.19M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1736:9): [True: 8, False: 8.19M]
  ------------------
 1737|      8|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1738|      8|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1738:13): [True: 0, False: 8]
  |  Branch (1738:24): [True: 0, False: 0]
  ------------------
 1739|      0|            return NULL;
 1740|      8|        if (i < 0)
  ------------------
  |  Branch (1740:13): [True: 0, False: 8]
  ------------------
 1741|      0|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|      8|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|      8|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1742:13): [True: 0, False: 8]
  |  Branch (1742:22): [True: 0, False: 8]
  ------------------
 1743|      0|            PyErr_SetString(PyExc_IndexError,
 1744|      0|                            "index out of range");
 1745|      0|            return NULL;
 1746|      0|        }
 1747|      8|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1748|      8|    }
 1749|  8.19M|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  8.19M|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  8.19M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.19M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|  8.19M|        Py_ssize_t start, stop, step, slicelength, i;
 1751|  8.19M|        size_t cur;
 1752|  8.19M|        const char* source_buf;
 1753|  8.19M|        char* result_buf;
 1754|  8.19M|        PyObject* result;
 1755|       |
 1756|  8.19M|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1756:13): [True: 0, False: 8.19M]
  ------------------
 1757|      0|            return NULL;
 1758|      0|        }
 1759|  8.19M|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|  8.19M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|  8.19M|                                            &stop, step);
 1761|       |
 1762|  8.19M|        if (slicelength <= 0) {
  ------------------
  |  Branch (1762:13): [True: 79.6k, False: 8.11M]
  ------------------
 1763|  79.6k|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  79.6k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1764|  79.6k|        }
 1765|  8.11M|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1765:18): [True: 62.0k, False: 8.05M]
  |  Branch (1765:32): [True: 62.0k, False: 0]
  ------------------
 1766|  62.0k|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|  8.18M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1766:18): [True: 29.3k, False: 32.6k]
  ------------------
 1767|  29.3k|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|  29.3k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  29.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 29.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|  29.3k|            return Py_NewRef(self);
  ------------------
  |  |  550|  29.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  29.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|  29.3k|        }
 1770|  8.08M|        else if (step == 1) {
  ------------------
  |  Branch (1770:18): [True: 8.08M, False: 0]
  ------------------
 1771|  8.08M|            return PyBytes_FromStringAndSize(
 1772|  8.08M|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|  8.08M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|  8.08M|                slicelength);
 1774|  8.08M|        }
 1775|      0|        else {
 1776|      0|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      0|            result = PyBytes_FromStringAndSize(NULL, slicelength);
 1778|      0|            if (result == NULL)
  ------------------
  |  Branch (1778:17): [True: 0, False: 0]
  ------------------
 1779|      0|                return NULL;
 1780|       |
 1781|      0|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1782:38): [True: 0, False: 0]
  ------------------
 1783|      0|                 cur += step, i++) {
 1784|      0|                result_buf[i] = source_buf[cur];
 1785|      0|            }
 1786|       |
 1787|      0|            return result;
 1788|      0|        }
 1789|  8.19M|    }
 1790|      0|    else {
 1791|      0|        PyErr_Format(PyExc_TypeError,
 1792|      0|                     "byte indices must be integers or slices, not %.200s",
 1793|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|       |        return NULL;
 1795|      0|    }
 1796|  8.19M|}
bytesobject.c:bytes_hash:
 1721|  81.1k|{
 1722|  81.1k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  81.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  81.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1723|  81.1k|    Py_hash_t hash = get_ob_shash(a);
 1724|  81.1k|    if (hash == -1) {
  ------------------
  |  Branch (1724:9): [True: 3.17k, False: 77.9k]
  ------------------
 1725|       |        /* Can't fail */
 1726|  3.17k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|  3.17k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|  3.17k|        set_ob_shash(a, hash);
 1728|  3.17k|    }
 1729|  81.1k|    return hash;
 1730|  81.1k|}
bytesobject.c:get_ob_shash:
   67|  81.1k|{
   68|  81.1k|_Py_COMP_DIAG_PUSH
   69|  81.1k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   70|       |#ifdef Py_GIL_DISABLED
   71|       |    return _Py_atomic_load_ssize_relaxed(&a->ob_shash);
   72|       |#else
   73|  81.1k|    return a->ob_shash;
   74|  81.1k|#endif
   75|  81.1k|_Py_COMP_DIAG_POP
   76|  81.1k|}
bytesobject.c:bytes_buffer_getbuffer:
 1800|  16.6M|{
 1801|  16.6M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  16.6M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  16.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1802|  16.6M|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|  16.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|  16.6M|                             1, flags);
 1804|  16.6M|}
bytesobject.c:bytes_richcompare:
 1658|  99.6k|{
 1659|       |    /* Make sure both arguments are strings. */
 1660|  99.6k|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  99.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   199k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 99.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  99.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  99.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 99.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      0|        if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
                      if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1661:13): [True: 0, False: 0]
  |  Branch (1661:48): [True: 0, False: 0]
  |  Branch (1661:63): [True: 0, False: 0]
  ------------------
 1662|      0|            if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1663:21): [True: 0, False: 0]
  ------------------
 1664|      0|                                 "Comparison between bytes and string", 1))
 1665|      0|                    return NULL;
 1666|      0|            }
 1667|      0|            if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1668:21): [True: 0, False: 0]
  ------------------
 1669|      0|                                 "Comparison between bytes and int", 1))
 1670|      0|                    return NULL;
 1671|      0|            }
 1672|      0|        }
 1673|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1674|      0|    }
 1675|       |
 1676|  99.6k|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|  99.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1677|  99.6k|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|  99.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1678|  99.6k|    if (a == b) {
  ------------------
  |  Branch (1678:9): [True: 4, False: 99.6k]
  ------------------
 1679|      4|        switch (op) {
 1680|      4|        case Py_EQ:
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (1680:9): [True: 4, False: 0]
  ------------------
 1681|      4|        case Py_LE:
  ------------------
  |  |  653|      4|#define Py_LE 1
  ------------------
  |  Branch (1681:9): [True: 0, False: 4]
  ------------------
 1682|      4|        case Py_GE:
  ------------------
  |  |  657|      4|#define Py_GE 5
  ------------------
  |  Branch (1682:9): [True: 0, False: 4]
  ------------------
 1683|       |            /* a byte string is equal to itself */
 1684|      4|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      4|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1685:9): [True: 0, False: 4]
  ------------------
 1686|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1686:9): [True: 0, False: 4]
  ------------------
 1687|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1687:9): [True: 0, False: 4]
  ------------------
 1688|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      0|        default:
  ------------------
  |  Branch (1689:9): [True: 0, False: 4]
  ------------------
 1690|      0|            PyErr_BadArgument();
 1691|      0|            return NULL;
 1692|      4|        }
 1693|      4|    }
 1694|  99.6k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|   199k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|    514|#define Py_NE 3
  ------------------
  |  Branch (1694:14): [True: 99.0k, False: 514]
  |  Branch (1694:29): [True: 514, False: 0]
  ------------------
 1695|  99.6k|        int eq = bytes_compare_eq(a, b);
 1696|  99.6k|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|  99.6k|#define Py_NE 3
  ------------------
 1697|  99.6k|        return PyBool_FromLong(eq);
 1698|  99.6k|    }
 1699|      0|    else {
 1700|      0|        Py_ssize_t len_a = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|      0|        Py_ssize_t len_b = Py_SIZE(b);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1703|      0|        int c;
 1704|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1704:13): [True: 0, False: 0]
  ------------------
 1705|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1706|      0|            if (c == 0)
  ------------------
  |  Branch (1706:17): [True: 0, False: 0]
  ------------------
 1707|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1708|      0|        }
 1709|      0|        else {
 1710|      0|            c = 0;
 1711|      0|        }
 1712|      0|        if (c != 0) {
  ------------------
  |  Branch (1712:13): [True: 0, False: 0]
  ------------------
 1713|      0|            Py_RETURN_RICHCOMPARE(c, 0, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1714|      0|        }
 1715|      0|        Py_RETURN_RICHCOMPARE(len_a, len_b, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1716|      0|    }
 1717|  99.6k|}
bytesobject.c:bytes_compare_eq:
 1641|  99.6k|{
 1642|  99.6k|    int cmp;
 1643|  99.6k|    Py_ssize_t len;
 1644|       |
 1645|  99.6k|    len = Py_SIZE(a);
  ------------------
  |  |  214|  99.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|  99.6k|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|  99.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 54.1k, False: 45.4k]
  ------------------
 1647|  54.1k|        return 0;
 1648|       |
 1649|  45.4k|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1649:9): [True: 41.8k, False: 3.55k]
  ------------------
 1650|  41.8k|        return 0;
 1651|       |
 1652|  3.55k|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1653|  3.55k|    return (cmp == 0);
 1654|  45.4k|}
bytesobject.c:bytes_decode_impl:
 2583|     22|{
 2584|     22|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2585|     22|}
bytesobject.c:bytes_endswith_impl:
 2558|      2|{
 2559|      2|    return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|      2|                              subobj, start, end);
 2561|      2|}
bytesobject.c:bytes_join_impl:
 1996|   178k|{
 1997|   178k|    return stringlib_bytes_join((PyObject*)self, iterable_of_bytes);
 1998|   178k|}
bytesobject.c:bytes_maketrans_impl:
 2403|      2|{
 2404|      2|    return _Py_bytes_maketrans(frm, to);
 2405|      2|}
bytesobject.c:bytes_replace_impl:
 2428|     50|{
 2429|     50|    return stringlib_replace((PyObject *)self,
 2430|     50|                             (const char *)old->buf, old->len,
 2431|     50|                             (const char *)new->buf, new->len, count);
 2432|     50|}
bytesobject.c:bytes_startswith_impl:
 2533|     18|{
 2534|     18|    return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|     18|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|     18|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2535|     18|                                subobj, start, end);
 2536|     18|}
bytesobject.c:bytes_new_impl:
 2880|  8.13M|{
 2881|  8.13M|    PyObject *bytes;
 2882|  8.13M|    PyObject *func;
 2883|  8.13M|    Py_ssize_t size;
 2884|       |
 2885|  8.13M|    if (x == NULL) {
  ------------------
  |  Branch (2885:9): [True: 0, False: 8.13M]
  ------------------
 2886|      0|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 0]
  |  Branch (2886:33): [True: 0, False: 0]
  ------------------
 2887|      0|            PyErr_SetString(PyExc_TypeError,
 2888|      0|                            encoding != NULL ?
  ------------------
  |  Branch (2888:29): [True: 0, False: 0]
  ------------------
 2889|      0|                            "encoding without a string argument" :
 2890|      0|                            "errors without a string argument");
 2891|      0|            return NULL;
 2892|      0|        }
 2893|      0|        bytes = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 2894|      0|    }
 2895|  8.13M|    else if (encoding != NULL) {
  ------------------
  |  Branch (2895:14): [True: 88.1k, False: 8.04M]
  ------------------
 2896|       |        /* Encode via the codec registry */
 2897|  88.1k|        if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|  88.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  88.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2897:13): [True: 0, False: 88.1k]
  ------------------
 2898|      0|            PyErr_SetString(PyExc_TypeError,
 2899|      0|                            "encoding without a string argument");
 2900|      0|            return NULL;
 2901|      0|        }
 2902|  88.1k|        bytes = PyUnicode_AsEncodedString(x, encoding, errors);
 2903|  88.1k|    }
 2904|  8.04M|    else if (errors != NULL) {
  ------------------
  |  Branch (2904:14): [True: 0, False: 8.04M]
  ------------------
 2905|      0|        PyErr_SetString(PyExc_TypeError,
 2906|      0|                        PyUnicode_Check(x) ?
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|      0|                        "string argument without an encoding" :
 2908|      0|                        "errors without a string argument");
 2909|      0|        return NULL;
 2910|      0|    }
 2911|       |    /* We'd like to call PyObject_Bytes here, but we need to check for an
 2912|       |       integer argument before deferring to PyBytes_FromObject, something
 2913|       |       PyObject_Bytes doesn't do. */
 2914|  8.04M|    else if ((func = _PyObject_LookupSpecial(x, &_Py_ID(__bytes__))) != NULL) {
  ------------------
  |  |  919|  8.04M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2914:14): [True: 0, False: 8.04M]
  ------------------
 2915|      0|        bytes = _PyObject_CallNoArgs(func);
 2916|      0|        Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|      0|        if (bytes == NULL)
  ------------------
  |  Branch (2917:13): [True: 0, False: 0]
  ------------------
 2918|      0|            return NULL;
 2919|      0|        if (!PyBytes_Check(bytes)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2919:13): [True: 0, False: 0]
  ------------------
 2920|      0|            PyErr_Format(PyExc_TypeError,
 2921|      0|                         "%T.__bytes__() must return a bytes, not %T",
 2922|      0|                         x, bytes);
 2923|      0|            Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2924|      0|            return NULL;
 2925|      0|        }
 2926|      0|    }
 2927|  8.04M|    else if (PyErr_Occurred())
  ------------------
  |  Branch (2927:14): [True: 0, False: 8.04M]
  ------------------
 2928|      0|        return NULL;
 2929|  8.04M|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|  8.04M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.04M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 8.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2930|      0|        PyErr_SetString(PyExc_TypeError,
 2931|      0|                        "string argument without an encoding");
 2932|      0|        return NULL;
 2933|      0|    }
 2934|       |    /* Is it an integer? */
 2935|  8.04M|    else if (_PyIndex_Check(x)) {
  ------------------
  |  Branch (2935:14): [True: 0, False: 8.04M]
  ------------------
 2936|      0|        size = PyNumber_AsSsize_t(x, PyExc_OverflowError);
 2937|      0|        if (size == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2937:13): [True: 0, False: 0]
  |  Branch (2937:27): [True: 0, False: 0]
  ------------------
 2938|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (2938:17): [True: 0, False: 0]
  ------------------
 2939|      0|                return NULL;
 2940|      0|            PyErr_Clear();  /* fall through */
 2941|      0|            bytes = PyBytes_FromObject(x);
 2942|      0|        }
 2943|      0|        else {
 2944|      0|            if (size < 0) {
  ------------------
  |  Branch (2944:17): [True: 0, False: 0]
  ------------------
 2945|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 2946|      0|                return NULL;
 2947|      0|            }
 2948|      0|            bytes = _PyBytes_FromSize(size, 1);
 2949|      0|        }
 2950|      0|    }
 2951|  8.04M|    else {
 2952|  8.04M|        bytes = PyBytes_FromObject(x);
 2953|  8.04M|    }
 2954|       |
 2955|  8.13M|    if (bytes != NULL && type != &PyBytes_Type) {
  ------------------
  |  Branch (2955:9): [True: 8.13M, False: 0]
  |  Branch (2955:26): [True: 0, False: 8.13M]
  ------------------
 2956|      0|        Py_SETREF(bytes, bytes_subtype_new(type, bytes));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2957|      0|    }
 2958|       |
 2959|  8.13M|    return bytes;
 2960|  8.13M|}
bytesobject.c:bytes_iteritem:
 3219|    384|{
 3220|    384|    PyBytesObject *a = _PyBytes_CAST(obj);
  ------------------
  |  |   21|    384|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3221|    384|    if (index >= Py_SIZE(a)) {
  ------------------
  |  |  214|    384|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3221:9): [True: 8, False: 376]
  ------------------
 3222|      8|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3223|      8|    }
 3224|    376|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3225|    376|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3226|    384|}
bytesobject.c:striter_dealloc:
 3419|      4|{
 3420|      4|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3415|      4|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3421|      4|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|      4|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|      4|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3423|      4|    PyObject_GC_Del(it);
 3424|      4|}
bytesobject.c:striter_next:
 3436|    134|{
 3437|    134|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3415|    134|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3438|    134|    PyBytesObject *seq;
 3439|       |
 3440|    134|    assert(it != NULL);
 3441|    134|    seq = it->it_seq;
 3442|    134|    if (seq == NULL)
  ------------------
  |  Branch (3442:9): [True: 0, False: 134]
  ------------------
 3443|      0|        return NULL;
 3444|    134|    assert(PyBytes_Check(seq));
 3445|       |
 3446|    134|    if (it->it_index < PyBytes_GET_SIZE(seq)) {
  ------------------
  |  |   33|    134|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3446:9): [True: 132, False: 2]
  ------------------
 3447|    132|        return _PyLong_FromUnsignedChar(
 3448|    132|            (unsigned char)seq->ob_sval[it->it_index++]);
 3449|    132|    }
 3450|       |
 3451|      2|    it->it_seq = NULL;
 3452|      2|    Py_DECREF(seq);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|       |    return NULL;
 3454|    134|}
bytesobject.c:bytes_iter:
 3548|      4|{
 3549|      4|    striterobject *it;
 3550|       |
 3551|      4|    if (!PyBytes_Check(seq)) {
  ------------------
  |  |   28|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3551:9): [True: 0, False: 4]
  ------------------
 3552|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3553|      0|        return NULL;
 3554|      0|    }
 3555|      4|    it = PyObject_GC_New(striterobject, &PyBytesIter_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3556|      4|    if (it == NULL)
  ------------------
  |  Branch (3556:9): [True: 0, False: 4]
  ------------------
 3557|      0|        return NULL;
 3558|      4|    it->it_index = 0;
 3559|      4|    it->it_seq = (PyBytesObject *)Py_NewRef(seq);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3560|      4|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|      4|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3561|      4|    return (PyObject *)it;
 3562|      4|}
bytesobject.c:byteswriter_create:
 3689|  8.33M|{
 3690|  8.33M|    if (size < 0) {
  ------------------
  |  Branch (3690:9): [True: 0, False: 8.33M]
  ------------------
 3691|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3692|      0|        return NULL;
 3693|      0|    }
 3694|       |
 3695|  8.33M|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|  8.33M|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3696|  8.33M|    if (writer == NULL) {
  ------------------
  |  Branch (3696:9): [True: 6, False: 8.33M]
  ------------------
 3697|      6|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3698|      6|        if (writer == NULL) {
  ------------------
  |  Branch (3698:13): [True: 0, False: 6]
  ------------------
 3699|      0|            PyErr_NoMemory();
 3700|      0|            return NULL;
 3701|      0|        }
 3702|      6|    }
 3703|  8.33M|    writer->obj = NULL;
 3704|  8.33M|    writer->size = 0;
 3705|  8.33M|    writer->use_bytearray = use_bytearray;
 3706|  8.33M|    writer->overallocate = !use_bytearray;
 3707|       |
 3708|  8.33M|    if (size >= 1) {
  ------------------
  |  Branch (3708:9): [True: 8.33M, False: 1.48k]
  ------------------
 3709|  8.33M|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3709:13): [True: 0, False: 8.33M]
  ------------------
 3710|      0|            PyBytesWriter_Discard(writer);
 3711|      0|            return NULL;
 3712|      0|        }
 3713|  8.33M|        writer->size = size;
 3714|  8.33M|    }
 3715|       |#ifdef Py_DEBUG
 3716|       |    memset(byteswriter_data(writer), 0xff, byteswriter_allocated(writer));
 3717|       |#endif
 3718|  8.33M|    return writer;
 3719|  8.33M|}
bytesobject.c:byteswriter_data:
 3593|  8.40M|{
 3594|  8.40M|    return _PyBytesWriter_GetData(writer);
 3595|  8.40M|}
bytesobject.c:byteswriter_allocated:
 3600|  8.40M|{
 3601|  8.40M|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3601:9): [True: 8.40M, False: 1.79k]
  ------------------
 3602|  8.40M|        return sizeof(writer->small_buffer);
 3603|  8.40M|    }
 3604|  1.79k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3604:14): [True: 0, False: 1.79k]
  ------------------
 3605|      0|        return PyByteArray_GET_SIZE(writer->obj);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3606|      0|    }
 3607|  1.79k|    else {
 3608|  1.79k|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|  1.79k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3609|  1.79k|    }
 3610|  8.40M|}
bytesobject.c:byteswriter_resize:
 3623|  8.33M|{
 3624|  8.33M|    assert(size >= 0);
 3625|       |
 3626|  8.33M|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3627|  8.33M|    if (size <= old_allocated) {
  ------------------
  |  Branch (3627:9): [True: 8.31M, False: 15.8k]
  ------------------
 3628|  8.31M|        return 0;
 3629|  8.31M|    }
 3630|       |
 3631|  15.8k|    if (resize & writer->overallocate) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 15.8k]
  ------------------
 3632|      0|        if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3618|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3632:13): [True: 0, False: 0]
  ------------------
 3633|      0|            size += size / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3618|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3634|      0|        }
 3635|      0|    }
 3636|       |
 3637|  15.8k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3637:9): [True: 0, False: 15.8k]
  ------------------
 3638|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3638:13): [True: 0, False: 0]
  ------------------
 3639|      0|            if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3639:17): [True: 0, False: 0]
  ------------------
 3640|      0|                return -1;
 3641|      0|            }
 3642|      0|        }
 3643|      0|        else {
 3644|      0|            if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3644:17): [True: 0, False: 0]
  ------------------
 3645|      0|                return -1;
 3646|      0|            }
 3647|      0|        }
 3648|      0|        assert(writer->obj != NULL);
 3649|      0|    }
 3650|  15.8k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3650:14): [True: 0, False: 15.8k]
  ------------------
 3651|      0|        writer->obj = PyByteArray_FromStringAndSize(NULL, size);
 3652|      0|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3652:13): [True: 0, False: 0]
  ------------------
 3653|      0|            return -1;
 3654|      0|        }
 3655|      0|        if (resize) {
  ------------------
  |  Branch (3655:13): [True: 0, False: 0]
  ------------------
 3656|      0|            assert((size_t)size > sizeof(writer->small_buffer));
 3657|      0|            memcpy(PyByteArray_AS_STRING(writer->obj),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3658|      0|                   writer->small_buffer,
 3659|      0|                   sizeof(writer->small_buffer));
 3660|      0|        }
 3661|      0|    }
 3662|  15.8k|    else {
 3663|  15.8k|        writer->obj = PyBytes_FromStringAndSize(NULL, size);
 3664|  15.8k|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3664:13): [True: 0, False: 15.8k]
  ------------------
 3665|      0|            return -1;
 3666|      0|        }
 3667|  15.8k|        if (resize) {
  ------------------
  |  Branch (3667:13): [True: 0, False: 15.8k]
  ------------------
 3668|      0|            assert((size_t)size > sizeof(writer->small_buffer));
 3669|      0|            memcpy(PyBytes_AS_STRING(writer->obj),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|      0|                   writer->small_buffer,
 3671|      0|                   sizeof(writer->small_buffer));
 3672|      0|        }
 3673|  15.8k|    }
 3674|       |
 3675|       |#ifdef Py_DEBUG
 3676|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3677|       |    if (resize && allocated > old_allocated) {
 3678|       |        memset(byteswriter_data(writer) + old_allocated, 0xff,
 3679|       |               allocated - old_allocated);
 3680|       |    }
 3681|       |#endif
 3682|       |
 3683|  15.8k|    return 0;
 3684|  15.8k|}

_Py_CheckFunctionResult:
   27|  55.5M|{
   28|  55.5M|    assert((callable != NULL) ^ (where != NULL));
   29|       |
   30|  55.5M|    if (result == NULL) {
  ------------------
  |  Branch (30:9): [True: 64.1k, False: 55.4M]
  ------------------
   31|  64.1k|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (31:13): [True: 0, False: 64.1k]
  ------------------
   32|      0|            if (callable)
  ------------------
  |  Branch (32:17): [True: 0, False: 0]
  ------------------
   33|      0|                _PyErr_Format(tstate, PyExc_SystemError,
   34|      0|                              "%R returned NULL without setting an exception",
   35|      0|                              callable);
   36|      0|            else
   37|      0|                _PyErr_Format(tstate, PyExc_SystemError,
   38|      0|                              "%s returned NULL without setting an exception",
   39|      0|                              where);
   40|       |#ifdef Py_DEBUG
   41|       |            /* Ensure that the bug is caught in debug mode.
   42|       |               Py_FatalError() logs the SystemError exception raised above. */
   43|       |            Py_FatalError("a function returned NULL without setting an exception");
   44|       |#endif
   45|      0|            return NULL;
   46|      0|        }
   47|  64.1k|    }
   48|  55.4M|    else {
   49|  55.4M|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (49:13): [True: 0, False: 55.4M]
  ------------------
   50|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|       |
   52|      0|            if (callable) {
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|                _PyErr_FormatFromCauseTstate(
   54|      0|                    tstate, PyExc_SystemError,
   55|      0|                    "%R returned a result with an exception set", callable);
   56|      0|            }
   57|      0|            else {
   58|      0|                _PyErr_FormatFromCauseTstate(
   59|      0|                    tstate, PyExc_SystemError,
   60|      0|                    "%s returned a result with an exception set", where);
   61|      0|            }
   62|       |#ifdef Py_DEBUG
   63|       |            /* Ensure that the bug is caught in debug mode.
   64|       |               Py_FatalError() logs the SystemError exception raised above. */
   65|       |            Py_FatalError("a function returned a result with an exception set");
   66|       |#endif
   67|      0|            return NULL;
   68|      0|        }
   69|  55.4M|    }
   70|  55.5M|    return result;
   71|  55.5M|}
PyObject_CallNoArgs:
  103|    182|{
  104|    182|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    182|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  105|    182|    PyThreadState *tstate = _PyThreadState_GET();
  106|    182|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  107|    182|}
_PyObject_VectorcallDictTstate:
  114|   597k|{
  115|   597k|    assert(callable != NULL);
  116|       |
  117|       |    /* PyObject_VectorcallDict() must not be called with an exception set,
  118|       |       because it can clear it (directly or indirectly) and so the
  119|       |       caller loses its exception */
  120|   597k|    assert(!_PyErr_Occurred(tstate));
  121|       |
  122|   597k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   597k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  123|   597k|    assert(nargs >= 0);
  124|   597k|    assert(nargs == 0 || args != NULL);
  125|   597k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  126|       |
  127|   597k|    vectorcallfunc func = PyVectorcall_Function(callable);
  128|   597k|    if (func == NULL) {
  ------------------
  |  Branch (128:9): [True: 454, False: 597k]
  ------------------
  129|       |        /* Use tp_call instead */
  130|    454|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs);
  131|    454|    }
  132|       |
  133|   597k|    PyObject *res;
  134|   597k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|   416k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   416k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   416k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 180k, False: 416k]
  |  Branch (134:27): [True: 175, False: 416k]
  ------------------
  135|   180k|        res = func(callable, args, nargsf, NULL);
  136|   180k|    }
  137|   416k|    else {
  138|   416k|        PyObject *kwnames;
  139|   416k|        PyObject *const *newargs;
  140|   416k|        newargs = _PyStack_UnpackDict(tstate,
  141|   416k|                                      args, nargs,
  142|   416k|                                      kwargs, &kwnames);
  143|   416k|        if (newargs == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 416k]
  ------------------
  144|      0|            return NULL;
  145|      0|        }
  146|   416k|        res = func(callable, newargs,
  147|   416k|                   nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|   416k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   416k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|   416k|        _PyStack_UnpackDict_Free(newargs, nargs, kwnames);
  149|   416k|    }
  150|   597k|    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  151|   597k|}
PyObject_VectorcallDict:
  157|  6.44k|{
  158|  6.44k|    PyThreadState *tstate = _PyThreadState_GET();
  159|  6.44k|    return _PyObject_VectorcallDictTstate(tstate, callable, args, nargsf, kwargs);
  160|  6.44k|}
_PyObject_MakeTpCall:
  203|  19.0M|{
  204|  19.0M|    assert(nargs >= 0);
  205|  19.0M|    assert(nargs == 0 || args != NULL);
  206|  19.0M|    assert(keywords == NULL || PyTuple_Check(keywords) || PyDict_Check(keywords));
  207|       |
  208|       |    /* Slow path: build a temporary tuple for positional arguments and a
  209|       |     * temporary dictionary for keyword arguments (if any) */
  210|  19.0M|    ternaryfunc call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  19.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|  19.0M|    if (call == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 19.0M]
  ------------------
  212|      0|        object_is_not_callable(tstate, callable);
  213|      0|        return NULL;
  214|      0|    }
  215|       |
  216|  19.0M|    PyObject *argstuple = PyTuple_FromArray(args, nargs);
  217|  19.0M|    if (argstuple == NULL) {
  ------------------
  |  Branch (217:9): [True: 0, False: 19.0M]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|       |
  221|  19.0M|    PyObject *kwdict;
  222|  19.0M|    if (keywords == NULL || PyDict_Check(keywords)) {
  ------------------
  |  |   18|   425k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   425k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 64, False: 425k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 18.6M, False: 425k]
  ------------------
  223|  18.6M|        kwdict = keywords;
  224|  18.6M|    }
  225|   425k|    else {
  226|   425k|        if (PyTuple_GET_SIZE(keywords)) {
  ------------------
  |  |   27|   425k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   425k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   425k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 425k, False: 0]
  |  |  ------------------
  ------------------
  227|   425k|            assert(args != NULL);
  228|   425k|            kwdict = _PyStack_AsDict(args + nargs, keywords);
  229|   425k|            if (kwdict == NULL) {
  ------------------
  |  Branch (229:17): [True: 0, False: 425k]
  ------------------
  230|      0|                Py_DECREF(argstuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|      0|                return NULL;
  232|      0|            }
  233|   425k|        }
  234|      0|        else {
  235|      0|            keywords = kwdict = NULL;
  236|      0|        }
  237|   425k|    }
  238|       |
  239|  19.0M|    PyObject *result = NULL;
  240|  19.0M|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object") == 0)
  ------------------
  |  Branch (240:9): [True: 19.0M, False: 0]
  ------------------
  241|  19.0M|    {
  242|  19.0M|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|  19.0M|    (meth)((self), (args), (kw))
  ------------------
  243|  19.0M|            (PyCFunctionWithKeywords)call, callable, argstuple, kwdict);
  244|  19.0M|        _Py_LeaveRecursiveCallTstate(tstate);
  245|  19.0M|    }
  246|       |
  247|  19.0M|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  19.0M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  19.0M|    if (kwdict != keywords) {
  ------------------
  |  Branch (248:9): [True: 425k, False: 18.6M]
  ------------------
  249|   425k|        Py_DECREF(kwdict);
  ------------------
  |  |  430|   425k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   425k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   425k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   425k|    }
  251|       |
  252|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  253|  19.0M|}
PyVectorcall_Function:
  258|  2.00M|{
  259|  2.00M|    return _PyVectorcall_FunctionInline(callable);
  260|  2.00M|}
PyObject_Vectorcall:
  325|  29.6M|{
  326|  29.6M|    PyThreadState *tstate = _PyThreadState_GET();
  327|  29.6M|    return _PyObject_VectorcallTstate(tstate, callable,
  328|  29.6M|                                      args, nargsf, kwnames);
  329|  29.6M|}
_PyObject_Call:
  335|  1.39M|{
  336|  1.39M|    ternaryfunc call;
  337|  1.39M|    PyObject *result;
  338|       |
  339|       |    /* PyObject_Call() must not be called with an exception set,
  340|       |       because it can clear it (directly or indirectly) and so the
  341|       |       caller loses its exception */
  342|  1.39M|    assert(!_PyErr_Occurred(tstate));
  343|  1.39M|    assert(PyTuple_Check(args));
  344|  1.39M|    assert(kwargs == NULL || PyDict_Check(kwargs));
  345|  1.39M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  1.39M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  346|  1.39M|    vectorcallfunc vector_func = PyVectorcall_Function(callable);
  347|  1.39M|    if (vector_func != NULL) {
  ------------------
  |  Branch (347:9): [True: 1.28M, False: 115k]
  ------------------
  348|  1.28M|        return _PyVectorcall_Call(tstate, vector_func, callable, args, kwargs);
  349|  1.28M|    }
  350|   115k|    else {
  351|   115k|        call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|   115k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|   115k|        if (call == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 115k]
  ------------------
  353|      0|            object_is_not_callable(tstate, callable);
  354|      0|            return NULL;
  355|      0|        }
  356|       |
  357|   115k|        if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (357:13): [True: 0, False: 115k]
  ------------------
  358|      0|            return NULL;
  359|      0|        }
  360|       |
  361|   115k|        result = (*call)(callable, args, kwargs);
  362|       |
  363|   115k|        _Py_LeaveRecursiveCallTstate(tstate);
  364|       |
  365|       |        return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  366|   115k|    }
  367|  1.39M|}
PyObject_Call:
  371|  1.39M|{
  372|  1.39M|    PyThreadState *tstate = _PyThreadState_GET();
  373|  1.39M|    return _PyObject_Call(tstate, callable, args, kwargs);
  374|  1.39M|}
PyObject_CallOneArg:
  387|  2.32M|{
  388|  2.32M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  2.32M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  389|  2.32M|    assert(arg != NULL);
  390|  2.32M|    PyObject *_args[2];
  391|  2.32M|    PyObject **args = _args + 1;  // For PY_VECTORCALL_ARGUMENTS_OFFSET
  392|  2.32M|    args[0] = arg;
  393|  2.32M|    PyThreadState *tstate = _PyThreadState_GET();
  394|  2.32M|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  2.32M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.32M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  395|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
  396|  2.32M|}
_PyFunction_Vectorcall:
  404|  5.18M|{
  405|  5.18M|    assert(PyFunction_Check(func));
  406|  5.18M|    PyFunctionObject *f = (PyFunctionObject *)func;
  407|  5.18M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  5.18M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  408|  5.18M|    assert(nargs >= 0);
  409|  5.18M|    PyThreadState *tstate = _PyThreadState_GET();
  410|  5.18M|    assert(nargs == 0 || stack != NULL);
  411|  5.18M|    EVAL_CALL_STAT_INC(EVAL_CALL_FUNCTION_VECTORCALL);
  ------------------
  |  |   79|  5.18M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  412|  5.18M|    if (((PyCodeObject *)f->func_code)->co_flags & CO_OPTIMIZED) {
  ------------------
  |  |  118|  5.18M|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (412:9): [True: 5.18M, False: 0]
  ------------------
  413|  5.18M|        return _PyEval_Vector(tstate, f, NULL, stack, nargs, kwnames);
  414|  5.18M|    }
  415|      0|    else {
  416|      0|        return _PyEval_Vector(tstate, f, f->func_globals, stack, nargs, kwnames);
  417|      0|    }
  418|  5.18M|}
PyObject_CallObject:
  461|  3.88k|{
  462|  3.88k|    PyThreadState *tstate = _PyThreadState_GET();
  463|  3.88k|    assert(!_PyErr_Occurred(tstate));
  464|  3.88k|    if (args == NULL) {
  ------------------
  |  Branch (464:9): [True: 0, False: 3.88k]
  ------------------
  465|      0|        return _PyObject_CallNoArgsTstate(tstate, callable);
  466|      0|    }
  467|  3.88k|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  3.88k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.88k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (467:9): [True: 0, False: 3.88k]
  ------------------
  468|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
  469|      0|                         "argument list must be a tuple");
  470|      0|        return NULL;
  471|      0|    }
  472|  3.88k|    return _PyObject_Call(tstate, callable, args, NULL);
  473|  3.88k|}
_PyObject_Call_Prepend:
  480|   591k|{
  481|   591k|    assert(PyTuple_Check(args));
  482|       |
  483|   591k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  484|   591k|    PyObject **stack;
  485|       |
  486|   591k|    Py_ssize_t argcount = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|   591k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   591k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   591k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|   591k|    if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|   591k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (487:9): [True: 591k, False: 22]
  ------------------
  488|   591k|        stack = small_stack;
  489|   591k|    }
  490|     22|    else {
  491|     22|        stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *));
  492|     22|        if (stack == NULL) {
  ------------------
  |  Branch (492:13): [True: 0, False: 22]
  ------------------
  493|      0|            PyErr_NoMemory();
  494|      0|            return NULL;
  495|      0|        }
  496|     22|    }
  497|       |
  498|       |    /* use borrowed references */
  499|   591k|    stack[0] = obj;
  500|   591k|    memcpy(&stack[1],
  501|   591k|           _PyTuple_ITEMS(args),
  ------------------
  |  |   26|   591k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   591k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  502|   591k|           argcount * sizeof(PyObject *));
  503|       |
  504|   591k|    PyObject *result = _PyObject_VectorcallDictTstate(tstate, callable,
  505|   591k|                                                      stack, argcount + 1,
  506|   591k|                                                      kwargs);
  507|   591k|    if (stack != small_stack) {
  ------------------
  |  Branch (507:9): [True: 22, False: 591k]
  ------------------
  508|     22|        PyMem_Free(stack);
  509|     22|    }
  510|   591k|    return result;
  511|   591k|}
PyObject_CallFunction:
  568|  7.73k|{
  569|  7.73k|    va_list va;
  570|  7.73k|    PyObject *result;
  571|  7.73k|    PyThreadState *tstate = _PyThreadState_GET();
  572|       |
  573|  7.73k|    va_start(va, format);
  574|  7.73k|    result = _PyObject_CallFunctionVa(tstate, callable, format, va);
  575|  7.73k|    va_end(va);
  576|       |
  577|  7.73k|    return result;
  578|  7.73k|}
PyObject_CallMethod:
  631|    150|{
  632|    150|    PyThreadState *tstate = _PyThreadState_GET();
  633|       |
  634|    150|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 150]
  |  Branch (634:24): [True: 0, False: 150]
  ------------------
  635|      0|        return null_error(tstate);
  636|      0|    }
  637|       |
  638|    150|    PyObject *callable = PyObject_GetAttrString(obj, name);
  639|    150|    if (callable == NULL) {
  ------------------
  |  Branch (639:9): [True: 0, False: 150]
  ------------------
  640|      0|        return NULL;
  641|      0|    }
  642|       |
  643|    150|    va_list va;
  644|    150|    va_start(va, format);
  645|    150|    PyObject *retval = callmethod(tstate, callable, format, va);
  646|    150|    va_end(va);
  647|       |
  648|    150|    Py_DECREF(callable);
  ------------------
  |  |  430|    150|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  649|    150|    return retval;
  650|    150|}
_PyObject_CallMethod:
  681|     64|{
  682|     64|    PyThreadState *tstate = _PyThreadState_GET();
  683|     64|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (683:9): [True: 0, False: 64]
  |  Branch (683:24): [True: 0, False: 64]
  ------------------
  684|      0|        return null_error(tstate);
  685|      0|    }
  686|       |
  687|     64|    PyObject *callable = PyObject_GetAttr(obj, name);
  688|     64|    if (callable == NULL) {
  ------------------
  |  Branch (688:9): [True: 0, False: 64]
  ------------------
  689|      0|        return NULL;
  690|      0|    }
  691|       |
  692|     64|    va_list va;
  693|     64|    va_start(va, format);
  694|     64|    PyObject *retval = callmethod(tstate, callable, format, va);
  695|     64|    va_end(va);
  696|       |
  697|     64|    Py_DECREF(callable);
  ------------------
  |  |  430|     64|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|     64|    return retval;
  699|     64|}
_PyObject_VectorcallPrepend:
  835|  1.34M|{
  836|  1.34M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.34M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  837|  1.34M|    assert(nargs == 0 || args[nargs-1]);
  838|       |
  839|  1.34M|    PyObject *result;
  840|  1.34M|    if (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET) {
  ------------------
  |  |  287|  1.34M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.34M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (840:9): [True: 1.33M, False: 1.65k]
  ------------------
  841|       |        /* PY_VECTORCALL_ARGUMENTS_OFFSET is set, so we are allowed to mutate the vector */
  842|  1.33M|        PyObject **newargs = (PyObject**)args - 1;
  843|  1.33M|        nargs += 1;
  844|  1.33M|        PyObject *tmp = newargs[0];
  845|  1.33M|        newargs[0] = arg;
  846|  1.33M|        assert(newargs[nargs-1]);
  847|  1.33M|        result = _PyObject_VectorcallTstate(tstate, callable, newargs,
  848|  1.33M|                                            nargs, kwnames);
  849|  1.33M|        newargs[0] = tmp;
  850|  1.33M|    }
  851|  1.65k|    else {
  852|  1.65k|        Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (852:30): [True: 1.65k, False: 0]
  ------------------
  853|  1.65k|        Py_ssize_t totalargs = nargs + nkwargs;
  854|  1.65k|        if (totalargs == 0) {
  ------------------
  |  Branch (854:13): [True: 293, False: 1.36k]
  ------------------
  855|    293|            return _PyObject_VectorcallTstate(tstate, callable, &arg, 1, NULL);
  856|    293|        }
  857|       |
  858|  1.36k|        PyObject *newargs_stack[_PY_FASTCALL_SMALL_STACK];
  859|  1.36k|        PyObject **newargs;
  860|  1.36k|        if (totalargs <= (Py_ssize_t)Py_ARRAY_LENGTH(newargs_stack) - 1) {
  ------------------
  |  |  196|  1.36k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (860:13): [True: 536, False: 830]
  ------------------
  861|    536|            newargs = newargs_stack;
  862|    536|        }
  863|    830|        else {
  864|    830|            newargs = PyMem_Malloc((totalargs+1) * sizeof(PyObject *));
  865|    830|            if (newargs == NULL) {
  ------------------
  |  Branch (865:17): [True: 0, False: 830]
  ------------------
  866|      0|                _PyErr_NoMemory(tstate);
  867|      0|                return NULL;
  868|      0|            }
  869|    830|        }
  870|       |        /* use borrowed references */
  871|  1.36k|        newargs[0] = arg;
  872|       |        /* bpo-37138: since totalargs > 0, it's impossible that args is NULL.
  873|       |         * We need this, since calling memcpy() with a NULL pointer is
  874|       |         * undefined behaviour. */
  875|  1.36k|        assert(args != NULL);
  876|  1.36k|        memcpy(newargs + 1, args, totalargs * sizeof(PyObject *));
  877|  1.36k|        result = _PyObject_VectorcallTstate(tstate, callable,
  878|  1.36k|                                            newargs, nargs+1, kwnames);
  879|  1.36k|        if (newargs != newargs_stack) {
  ------------------
  |  Branch (879:13): [True: 830, False: 536]
  ------------------
  880|    830|            PyMem_Free(newargs);
  881|    830|        }
  882|  1.36k|    }
  883|  1.34M|    return result;
  884|  1.34M|}
PyObject_VectorcallMethod:
  889|  90.5k|{
  890|  90.5k|    assert(name != NULL);
  891|  90.5k|    assert(args != NULL);
  892|  90.5k|    assert(PyVectorcall_NARGS(nargsf) >= 1);
  893|       |
  894|  90.5k|    PyThreadState *tstate = _PyThreadState_GET();
  895|  90.5k|    _PyCStackRef self, method;
  896|  90.5k|    _PyThreadState_PushCStackRef(tstate, &self);
  897|  90.5k|    _PyThreadState_PushCStackRef(tstate, &method);
  898|       |    /* Use args[0] as "self" argument */
  899|  90.5k|    self.ref = PyStackRef_FromPyObjectBorrow(args[0]);
  900|  90.5k|    int unbound = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  901|  90.5k|    if (unbound < 0) {
  ------------------
  |  Branch (901:9): [True: 2, False: 90.5k]
  ------------------
  902|      2|        _PyThreadState_PopCStackRef(tstate, &method);
  903|      2|        _PyThreadState_PopCStackRef(tstate, &self);
  904|      2|        return NULL;
  905|      2|    }
  906|       |
  907|  90.5k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  908|  90.5k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  909|  90.5k|    PyObject *result;
  910|       |
  911|  90.5k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_METHOD, callable);
  ------------------
  |  |   80|  90.5k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  912|  90.5k|    if (self_obj == NULL) {
  ------------------
  |  Branch (912:9): [True: 38.5k, False: 52.0k]
  ------------------
  913|       |        /* Skip "self". We can keep PY_VECTORCALL_ARGUMENTS_OFFSET since
  914|       |         * args[-1] in the onward call is args[0] here. */
  915|  38.5k|        result = _PyObject_VectorcallTstate(tstate, callable,
  916|  38.5k|                                            args + 1, nargsf - 1, kwnames);
  917|  38.5k|    }
  918|  52.0k|    else if (self_obj == args[0]) {
  ------------------
  |  Branch (918:14): [True: 52.0k, False: 0]
  ------------------
  919|       |        /* We must remove PY_VECTORCALL_ARGUMENTS_OFFSET since
  920|       |         * that would be interpreted as allowing to change args[-1] */
  921|  52.0k|        result = _PyObject_VectorcallTstate(tstate, callable, args,
  922|  52.0k|                                            nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  52.0k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  52.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  923|  52.0k|                                            kwnames);
  924|  52.0k|    }
  925|      0|    else {
  926|       |        /* classmethod: self_obj is the type, not args[0]. Replace
  927|       |         * args[0] with self_obj and call the underlying callable. */
  928|      0|        result = _PyObject_VectorcallPrepend(tstate, callable, self_obj,
  929|      0|                                             args + 1, nargsf - 1, kwnames);
  930|      0|    }
  931|  90.5k|    _PyThreadState_PopCStackRef(tstate, &method);
  932|  90.5k|    _PyThreadState_PopCStackRef(tstate, &self);
  933|  90.5k|    return result;
  934|  90.5k|}
PyObject_CallMethodObjArgs:
  939|  5.00k|{
  940|  5.00k|    PyThreadState *tstate = _PyThreadState_GET();
  941|  5.00k|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (941:9): [True: 0, False: 5.00k]
  |  Branch (941:24): [True: 0, False: 5.00k]
  ------------------
  942|      0|        return null_error(tstate);
  943|      0|    }
  944|       |
  945|  5.00k|    _PyCStackRef self, method;
  946|  5.00k|    _PyThreadState_PushCStackRef(tstate, &self);
  947|  5.00k|    _PyThreadState_PushCStackRef(tstate, &method);
  948|  5.00k|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  949|  5.00k|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  950|  5.00k|    if (res < 0) {
  ------------------
  |  Branch (950:9): [True: 0, False: 5.00k]
  ------------------
  951|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  952|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  953|      0|        return NULL;
  954|      0|    }
  955|  5.00k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  956|  5.00k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  957|       |
  958|  5.00k|    va_list vargs;
  959|  5.00k|    va_start(vargs, name);
  960|  5.00k|    PyObject *result = object_vacall(tstate, self_obj, callable, vargs);
  961|  5.00k|    va_end(vargs);
  962|       |
  963|  5.00k|    _PyThreadState_PopCStackRef(tstate, &method);
  964|  5.00k|    _PyThreadState_PopCStackRef(tstate, &self);
  965|  5.00k|    return result;
  966|  5.00k|}
PyObject_CallFunctionObjArgs:
  971|  1.11k|{
  972|  1.11k|    PyThreadState *tstate = _PyThreadState_GET();
  973|  1.11k|    va_list vargs;
  974|  1.11k|    PyObject *result;
  975|       |
  976|  1.11k|    va_start(vargs, callable);
  977|  1.11k|    result = object_vacall(tstate, NULL, callable, vargs);
  978|  1.11k|    va_end(vargs);
  979|       |
  980|  1.11k|    return result;
  981|  1.11k|}
_PyStack_AsDict:
  988|   429k|{
  989|   429k|    Py_ssize_t nkwargs;
  990|       |
  991|   429k|    assert(kwnames != NULL);
  992|   429k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|   429k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   429k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   429k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|       |    return _PyDict_FromItems(&PyTuple_GET_ITEM(kwnames, 0), 1,
  ------------------
  |  |   29|   429k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   429k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   429k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|   429k|                             values, 1, nkwargs);
  995|   429k|}
_PyStack_UnpackDict:
 1018|  1.73M|{
 1019|  1.73M|    assert(nargs >= 0);
 1020|  1.73M|    assert(kwargs != NULL);
 1021|  1.73M|    assert(PyDict_Check(kwargs));
 1022|       |
 1023|  1.73M|    Py_ssize_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  1.73M|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1024|       |    /* Check for overflow in the PyMem_Malloc() call below. The subtraction
 1025|       |     * in this check cannot overflow: both maxnargs and nkwargs are
 1026|       |     * non-negative signed integers, so their difference fits in the type. */
 1027|  1.73M|    Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(args[0]) - 1;
  ------------------
  |  |  137|  1.73M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1028|  1.73M|    if (nargs > maxnargs - nkwargs) {
  ------------------
  |  Branch (1028:9): [True: 0, False: 1.73M]
  ------------------
 1029|      0|        _PyErr_NoMemory(tstate);
 1030|      0|        return NULL;
 1031|      0|    }
 1032|       |
 1033|       |    /* Add 1 to support PY_VECTORCALL_ARGUMENTS_OFFSET */
 1034|  1.73M|    PyObject **stack = PyMem_Malloc((1 + nargs + nkwargs) * sizeof(args[0]));
 1035|  1.73M|    if (stack == NULL) {
  ------------------
  |  Branch (1035:9): [True: 0, False: 1.73M]
  ------------------
 1036|      0|        _PyErr_NoMemory(tstate);
 1037|      0|        return NULL;
 1038|      0|    }
 1039|       |
 1040|  1.73M|    PyObject *kwnames = PyTuple_New(nkwargs);
 1041|  1.73M|    if (kwnames == NULL) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 1.73M]
  ------------------
 1042|      0|        PyMem_Free(stack);
 1043|      0|        return NULL;
 1044|      0|    }
 1045|       |
 1046|  1.73M|    stack++;  /* For PY_VECTORCALL_ARGUMENTS_OFFSET */
 1047|       |
 1048|       |    /* Copy positional arguments (borrowed references) */
 1049|  2.49M|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1049:28): [True: 762k, False: 1.73M]
  ------------------
 1050|   762k|        stack[i] = args[i];
 1051|   762k|    }
 1052|       |
 1053|  1.73M|    PyObject **kwstack = stack + nargs;
 1054|       |    /* This loop doesn't support lookup function mutating the dictionary
 1055|       |       to change its size. It's a deliberate choice for speed, this function is
 1056|       |       called in the performance critical hot code. */
 1057|  1.73M|    Py_ssize_t pos = 0, i = 0;
 1058|  1.73M|    PyObject *key, *value;
 1059|  1.73M|    unsigned long keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|  1.73M|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 1060|  4.77M|    while (PyDict_Next(kwargs, &pos, &key, &value)) {
  ------------------
  |  Branch (1060:12): [True: 3.04M, False: 1.73M]
  ------------------
 1061|  3.04M|        keys_are_strings &= Py_TYPE(key)->tp_flags;
  ------------------
  |  |  213|  3.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|  3.04M|        PyTuple_SET_ITEM(kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|  3.04M|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1063|  3.04M|        kwstack[i] = Py_NewRef(value);
  ------------------
  |  |  550|  3.04M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|  3.04M|        i++;
 1065|  3.04M|    }
 1066|       |
 1067|       |    /* keys_are_strings has the value Py_TPFLAGS_UNICODE_SUBCLASS if that
 1068|       |     * flag is set for all keys. Otherwise, keys_are_strings equals 0.
 1069|       |     * We do this check once at the end instead of inside the loop above
 1070|       |     * because it simplifies the deallocation in the failing case.
 1071|       |     * It happens to also make the loop above slightly more efficient. */
 1072|  1.73M|    if (!keys_are_strings) {
  ------------------
  |  Branch (1072:9): [True: 0, False: 1.73M]
  ------------------
 1073|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1074|      0|                         "keywords must be strings");
 1075|      0|        _PyStack_UnpackDict_Free(stack, nargs, kwnames);
 1076|      0|        return NULL;
 1077|      0|    }
 1078|       |
 1079|  1.73M|    *p_kwnames = kwnames;
 1080|  1.73M|    return stack;
 1081|  1.73M|}
_PyStack_UnpackDict_Free:
 1086|  1.67M|{
 1087|       |    /* Only decref kwargs values, positional args are borrowed */
 1088|  1.67M|    Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.67M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|  4.61M|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (1089:28): [True: 2.93M, False: 1.67M]
  ------------------
 1090|  2.93M|        Py_DECREF(stack[nargs + i]);
  ------------------
  |  |  430|  2.93M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|  2.93M|    }
 1092|  1.67M|    _PyStack_UnpackDict_FreeNoDecRef(stack, kwnames);
 1093|  1.67M|}
_PyStack_UnpackDict_FreeNoDecRef:
 1097|  1.73M|{
 1098|  1.73M|    PyMem_Free((PyObject **)stack - 1);
 1099|  1.73M|    Py_DECREF(kwnames);
  ------------------
  |  |  430|  1.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|  1.73M|}
call.c:_PyVectorcall_Call:
  266|  1.28M|{
  267|  1.28M|    assert(func != NULL);
  268|       |
  269|  1.28M|    Py_ssize_t nargs = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  1.28M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|       |    /* Fast path for no keywords */
  272|  1.28M|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|  1.26M|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (272:9): [True: 14.7k, False: 1.26M]
  |  Branch (272:27): [True: 2.35k, False: 1.26M]
  ------------------
  273|  17.1k|        return func(callable, _PyTuple_ITEMS(tuple), nargs, NULL);
  ------------------
  |  |   26|  17.1k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  17.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  274|  17.1k|    }
  275|       |
  276|       |    /* Convert arguments & call */
  277|  1.26M|    PyObject *const *args;
  278|  1.26M|    PyObject *kwnames;
  279|  1.26M|    args = _PyStack_UnpackDict(tstate,
  280|  1.26M|                               _PyTuple_ITEMS(tuple), nargs,
  ------------------
  |  |   26|  1.26M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.26M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  281|  1.26M|                               kwargs, &kwnames);
  282|  1.26M|    if (args == NULL) {
  ------------------
  |  Branch (282:9): [True: 0, False: 1.26M]
  ------------------
  283|      0|        return NULL;
  284|      0|    }
  285|  1.26M|    PyObject *result = func(callable, args,
  286|  1.26M|                            nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|  1.26M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.26M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  287|  1.26M|    _PyStack_UnpackDict_Free(args, nargs, kwnames);
  288|       |
  289|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  290|  1.26M|}
call.c:_PyObject_CallFunctionVa:
  519|  7.95k|{
  520|  7.95k|    PyObject* small_stack[_PY_FASTCALL_SMALL_STACK];
  521|  7.95k|    const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack);
  ------------------
  |  |  196|  7.95k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  522|  7.95k|    PyObject **stack;
  523|  7.95k|    Py_ssize_t nargs, i;
  524|  7.95k|    PyObject *result;
  525|       |
  526|  7.95k|    if (callable == NULL) {
  ------------------
  |  Branch (526:9): [True: 0, False: 7.95k]
  ------------------
  527|      0|        return null_error(tstate);
  528|      0|    }
  529|       |
  530|  7.95k|    if (!format || !*format) {
  ------------------
  |  Branch (530:9): [True: 144, False: 7.80k]
  |  Branch (530:20): [True: 2, False: 7.80k]
  ------------------
  531|    146|        return _PyObject_CallNoArgsTstate(tstate, callable);
  532|    146|    }
  533|       |
  534|  7.80k|    stack = _Py_VaBuildStack(small_stack, small_stack_len,
  535|  7.80k|                             format, va, &nargs);
  536|  7.80k|    if (stack == NULL) {
  ------------------
  |  Branch (536:9): [True: 0, False: 7.80k]
  ------------------
  537|      0|        return NULL;
  538|      0|    }
  539|  7.80k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  7.80k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  540|  7.80k|    if (nargs == 1 && PyTuple_Check(stack[0])) {
  ------------------
  |  |   27|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (540:9): [True: 18, False: 7.78k]
  ------------------
  541|       |        /* Special cases for backward compatibility:
  542|       |           - PyObject_CallFunction(func, "O", tuple) calls func(*tuple)
  543|       |           - PyObject_CallFunction(func, "(OOO)", arg1, arg2, arg3) calls
  544|       |             func(*(arg1, arg2, arg3)): func(arg1, arg2, arg3) */
  545|      2|        PyObject *args = stack[0];
  546|      2|        result = _PyObject_VectorcallTstate(tstate, callable,
  547|      2|                                            _PyTuple_ITEMS(args),
  ------------------
  |  |   26|      2|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  548|      2|                                            PyTuple_GET_SIZE(args),
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|      2|                                            NULL);
  550|      2|    }
  551|  7.80k|    else {
  552|  7.80k|        result = _PyObject_VectorcallTstate(tstate, callable,
  553|  7.80k|                                            stack, nargs, NULL);
  554|  7.80k|    }
  555|       |
  556|  42.4k|    for (i = 0; i < nargs; ++i) {
  ------------------
  |  Branch (556:17): [True: 34.6k, False: 7.80k]
  ------------------
  557|  34.6k|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|  34.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  34.6k|    }
  559|  7.80k|    if (stack != small_stack) {
  ------------------
  |  Branch (559:9): [True: 12, False: 7.79k]
  ------------------
  560|     12|        PyMem_Free(stack);
  561|     12|    }
  562|  7.80k|    return result;
  563|  7.80k|}
call.c:callmethod:
  617|    214|{
  618|    214|    assert(callable != NULL);
  619|    214|    if (!PyCallable_Check(callable)) {
  ------------------
  |  Branch (619:9): [True: 0, False: 214]
  ------------------
  620|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  621|      0|                      "attribute of type '%.200s' is not callable",
  622|      0|                      Py_TYPE(callable)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|      0|        return NULL;
  624|      0|    }
  625|       |
  626|    214|    return _PyObject_CallFunctionVa(tstate, callable, format, va);
  627|    214|}
call.c:object_vacall:
  772|  6.11k|{
  773|  6.11k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  774|  6.11k|    PyObject **stack;
  775|  6.11k|    Py_ssize_t nargs;
  776|  6.11k|    PyObject *result;
  777|  6.11k|    Py_ssize_t i;
  778|  6.11k|    va_list countva;
  779|       |
  780|  6.11k|    if (callable == NULL) {
  ------------------
  |  Branch (780:9): [True: 0, False: 6.11k]
  ------------------
  781|      0|        return null_error(tstate);
  782|      0|    }
  783|       |
  784|       |    /* Count the number of arguments */
  785|  6.11k|    va_copy(countva, vargs);
  786|  6.11k|    nargs = base ? 1 : 0;
  ------------------
  |  Branch (786:13): [True: 54, False: 6.05k]
  ------------------
  787|  22.7k|    while (1) {
  ------------------
  |  Branch (787:12): [True: 22.7k, Folded]
  ------------------
  788|  22.7k|        PyObject *arg = va_arg(countva, PyObject *);
  789|  22.7k|        if (arg == NULL) {
  ------------------
  |  Branch (789:13): [True: 6.11k, False: 16.6k]
  ------------------
  790|  6.11k|            break;
  791|  6.11k|        }
  792|  16.6k|        nargs++;
  793|  16.6k|    }
  794|  6.11k|    va_end(countva);
  795|       |
  796|       |    /* Copy arguments */
  797|  6.11k|    if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  6.11k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (797:9): [True: 6.11k, False: 0]
  ------------------
  798|  6.11k|        stack = small_stack;
  799|  6.11k|    }
  800|      0|    else {
  801|      0|        stack = PyMem_Malloc(nargs * sizeof(stack[0]));
  802|      0|        if (stack == NULL) {
  ------------------
  |  Branch (802:13): [True: 0, False: 0]
  ------------------
  803|      0|            PyErr_NoMemory();
  804|      0|            return NULL;
  805|      0|        }
  806|      0|    }
  807|       |
  808|  6.11k|    i = 0;
  809|  6.11k|    if (base) {
  ------------------
  |  Branch (809:9): [True: 54, False: 6.05k]
  ------------------
  810|     54|        stack[i++] = base;
  811|     54|    }
  812|       |
  813|  22.7k|    for (; i < nargs; ++i) {
  ------------------
  |  Branch (813:12): [True: 16.6k, False: 6.11k]
  ------------------
  814|  16.6k|        stack[i] = va_arg(vargs, PyObject *);
  815|  16.6k|    }
  816|       |
  817|       |#ifdef Py_STATS
  818|       |    if (PyFunction_Check(callable)) {
  819|       |        EVAL_CALL_STAT_INC(EVAL_CALL_API);
  820|       |    }
  821|       |#endif
  822|       |    /* Call the function */
  823|  6.11k|    result = _PyObject_VectorcallTstate(tstate, callable, stack, nargs, NULL);
  824|       |
  825|  6.11k|    if (stack != small_stack) {
  ------------------
  |  Branch (825:9): [True: 0, False: 6.11k]
  ------------------
  826|      0|        PyMem_Free(stack);
  827|      0|    }
  828|  6.11k|    return result;
  829|  6.11k|}

PyCapsule_New:
   61|    520|{
   62|    520|    PyCapsule *capsule;
   63|       |
   64|    520|    if (!pointer) {
  ------------------
  |  Branch (64:9): [True: 0, False: 520]
  ------------------
   65|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
   66|      0|        return NULL;
   67|      0|    }
   68|       |
   69|    520|    capsule = PyObject_GC_New(PyCapsule, &PyCapsule_Type);
  ------------------
  |  |  181|    520|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   70|    520|    if (capsule == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 520]
  ------------------
   71|      0|        return NULL;
   72|      0|    }
   73|       |
   74|    520|    capsule->pointer = pointer;
   75|    520|    capsule->name = name;
   76|    520|    capsule->context = NULL;
   77|    520|    capsule->destructor = destructor;
   78|    520|    capsule->traverse_func = NULL;
   79|    520|    capsule->clear_func = NULL;
   80|       |    // Only track the object by the GC when _PyCapsule_SetTraverse() is called
   81|       |
   82|    520|    return (PyObject *)capsule;
   83|    520|}
PyCapsule_IsValid:
   88|      4|{
   89|      4|    PyCapsule *capsule = (PyCapsule *)op;
   90|       |
   91|      4|    return (capsule != NULL &&
  ------------------
  |  Branch (91:13): [True: 4, False: 0]
  ------------------
   92|      4|            PyCapsule_CheckExact(capsule) &&
  ------------------
  |  |   25|      4|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|      4|            capsule->pointer != NULL &&
  ------------------
  |  Branch (93:13): [True: 4, False: 0]
  ------------------
   94|      4|            name_matches(capsule->name, name));
  ------------------
  |  Branch (94:13): [True: 4, False: 0]
  ------------------
   95|      4|}
PyCapsule_GetPointer:
  100|  1.00k|{
  101|  1.00k|    if (!is_legal_capsule(op, "PyCapsule_GetPointer")) {
  ------------------
  |  |   43|  1.00k|    (_is_legal_capsule(capsule, \
  |  |   44|  1.00k|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (101:9): [True: 0, False: 1.00k]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|  1.00k|    PyCapsule *capsule = (PyCapsule *)op;
  105|       |
  106|  1.00k|    if (!name_matches(name, capsule->name)) {
  ------------------
  |  Branch (106:9): [True: 0, False: 1.00k]
  ------------------
  107|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_GetPointer called with incorrect name");
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|  1.00k|    return capsule->pointer;
  112|  1.00k|}
_PyCapsule_SetTraverse:
  207|      2|{
  208|      2|    if (!is_legal_capsule(op, "_PyCapsule_SetTraverse")) {
  ------------------
  |  |   43|      2|    (_is_legal_capsule(capsule, \
  |  |   44|      2|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (208:9): [True: 0, False: 2]
  ------------------
  209|      0|        return -1;
  210|      0|    }
  211|      2|    PyCapsule *capsule = (PyCapsule *)op;
  212|       |
  213|      2|    if (traverse_func == NULL || clear_func == NULL) {
  ------------------
  |  Branch (213:9): [True: 0, False: 2]
  |  Branch (213:34): [True: 0, False: 2]
  ------------------
  214|      0|        PyErr_SetString(PyExc_ValueError,
  215|      0|                        "_PyCapsule_SetTraverse() called with NULL callback");
  216|      0|        return -1;
  217|      0|    }
  218|       |
  219|      2|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|      2|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (219:9): [True: 2, False: 0]
  ------------------
  220|      2|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|      2|    }
  222|       |
  223|      2|    capsule->traverse_func = traverse_func;
  224|      2|    capsule->clear_func = clear_func;
  225|      2|    return 0;
  226|      2|}
PyCapsule_Import:
  231|      4|{
  232|      4|    PyObject *object = NULL;
  233|      4|    void *return_value = NULL;
  234|      4|    char *trace;
  235|      4|    size_t name_length = (strlen(name) + 1) * sizeof(char);
  236|      4|    char *name_dup = (char *)PyMem_Malloc(name_length);
  237|       |
  238|      4|    if (!name_dup) {
  ------------------
  |  Branch (238:9): [True: 0, False: 4]
  ------------------
  239|      0|        return PyErr_NoMemory();
  240|      0|    }
  241|       |
  242|      4|    memcpy(name_dup, name, name_length);
  243|       |
  244|      4|    trace = name_dup;
  245|     12|    while (trace) {
  ------------------
  |  Branch (245:12): [True: 8, False: 4]
  ------------------
  246|      8|        char *dot = strchr(trace, '.');
  247|      8|        if (dot) {
  ------------------
  |  Branch (247:13): [True: 4, False: 4]
  ------------------
  248|      4|            *dot++ = '\0';
  249|      4|        }
  250|       |
  251|      8|        if (object == NULL) {
  ------------------
  |  Branch (251:13): [True: 4, False: 4]
  ------------------
  252|      4|            object = PyImport_ImportModule(trace);
  253|      4|            if (!object) {
  ------------------
  |  Branch (253:17): [True: 0, False: 4]
  ------------------
  254|      0|                PyErr_Format(PyExc_ImportError, "PyCapsule_Import could not import module \"%s\"", trace);
  255|      0|            }
  256|      4|        } else {
  257|      4|            PyObject *object2 = PyObject_GetAttrString(object, trace);
  258|      4|            Py_SETREF(object, object2);
  ------------------
  |  |  352|      4|    do { \
  |  |  353|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      4|        *_tmp_dst_ptr = (src); \
  |  |  356|      4|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  259|      4|        }
  260|      8|        if (!object) {
  ------------------
  |  Branch (260:13): [True: 0, False: 8]
  ------------------
  261|      0|            goto EXIT;
  262|      0|        }
  263|       |
  264|      8|        trace = dot;
  265|      8|    }
  266|       |
  267|       |    /* compare attribute name to module.name by hand */
  268|      4|    if (PyCapsule_IsValid(object, name)) {
  ------------------
  |  Branch (268:9): [True: 4, False: 0]
  ------------------
  269|      4|        PyCapsule *capsule = (PyCapsule *)object;
  270|      4|        return_value = capsule->pointer;
  271|      4|    } else {
  272|      0|        PyErr_Format(PyExc_AttributeError,
  273|      0|            "PyCapsule_Import \"%s\" is not valid",
  274|      0|            name);
  275|      0|    }
  276|       |
  277|      4|EXIT:
  278|      4|    Py_XDECREF(object);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|      4|    if (name_dup) {
  ------------------
  |  Branch (279:9): [True: 4, False: 0]
  ------------------
  280|      4|        PyMem_Free(name_dup);
  281|      4|    }
  282|      4|    return return_value;
  283|      4|}
capsule.c:name_matches:
   48|  1.01k|name_matches(const char *name1, const char *name2) {
   49|       |    /* if either is NULL, */
   50|  1.01k|    if (!name1 || !name2) {
  ------------------
  |  Branch (50:9): [True: 0, False: 1.01k]
  |  Branch (50:19): [True: 0, False: 1.01k]
  ------------------
   51|       |        /* they're only the same if they're both NULL. */
   52|      0|        return name1 == name2;
   53|      0|    }
   54|  1.01k|    return !strcmp(name1, name2);
   55|  1.01k|}
capsule.c:_is_legal_capsule:
   26|  1.01k|{
   27|  1.01k|    if (!op || !PyCapsule_CheckExact(op)) {
  ------------------
  |  |   25|  1.01k|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_Type)
  |  |  ------------------
  |  |  |  |  215|  1.01k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (27:9): [True: 0, False: 1.01k]
  |  Branch (27:16): [True: 0, False: 1.01k]
  ------------------
   28|      0|        goto error;
   29|      0|    }
   30|  1.01k|    PyCapsule *capsule = (PyCapsule *)op;
   31|       |
   32|  1.01k|    if (capsule->pointer == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 1.01k]
  ------------------
   33|      0|        goto error;
   34|      0|    }
   35|  1.01k|    return 1;
   36|       |
   37|      0|error:
   38|      0|    PyErr_SetString(PyExc_ValueError, invalid_capsule);
   39|      0|    return 0;
   40|  1.01k|}
capsule.c:capsule_dealloc:
  288|    514|{
  289|    514|    PyCapsule *capsule = _PyCapsule_CAST(op);
  ------------------
  |  |   21|    514|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  290|    514|    PyObject_GC_UnTrack(op);
  291|    514|    if (capsule->destructor) {
  ------------------
  |  Branch (291:9): [True: 0, False: 514]
  ------------------
  292|      0|        capsule->destructor(op);
  293|      0|    }
  294|    514|    PyObject_GC_Del(op);
  295|    514|}
capsule.c:capsule_traverse:
  320|     16|{
  321|       |    // Capsule object is only tracked by the GC
  322|       |    // if _PyCapsule_SetTraverse() is called, but
  323|       |    // this can still be manually triggered by gc.get_referents()
  324|     16|    PyCapsule *capsule = _PyCapsule_CAST(self);
  ------------------
  |  |   21|     16|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  325|     16|    if (capsule->traverse_func != NULL) {
  ------------------
  |  Branch (325:9): [True: 16, False: 0]
  ------------------
  326|     16|        return capsule->traverse_func(self, visit, arg);
  327|     16|    }
  328|      0|    return 0;
  329|     16|}

PyCell_New:
   12|  7.19M|{
   13|  7.19M|    PyCellObject *op;
   14|       |
   15|  7.19M|    op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type);
  ------------------
  |  |  181|  7.19M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   16|  7.19M|    if (op == NULL)
  ------------------
  |  Branch (16:9): [True: 0, False: 7.19M]
  ------------------
   17|      0|        return NULL;
   18|  7.19M|    op->ob_ref = Py_XNewRef(obj);
  ------------------
  |  |  551|  7.19M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   19|       |
   20|  7.19M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  7.19M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  7.19M|    return (PyObject *)op;
   22|  7.19M|}
PyCell_Set:
   67|  1.92k|{
   68|  1.92k|    if (!PyCell_Check(op)) {
  ------------------
  |  |   18|  1.92k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|  1.92k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 0, False: 1.92k]
  ------------------
   69|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   70|      0|        return -1;
   71|      0|    }
   72|  1.92k|    PyCell_SetTakeRef((PyCellObject *)op, Py_XNewRef(value));
  ------------------
  |  |  551|  1.92k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  1.92k|    return 0;
   74|  1.92k|}
cellobject.c:cell_dealloc:
   78|  7.19M|{
   79|  7.19M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  7.19M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   80|  7.19M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  7.19M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  7.19M|    Py_XDECREF(op->ob_ref);
  ------------------
  |  |  524|  7.19M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  7.19M|    PyObject_GC_Del(op);
   83|  7.19M|}
cellobject.c:cell_traverse:
  132|  3.65M|{
  133|  3.65M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  3.65M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|  3.65M|    Py_VISIT(op->ob_ref);
  ------------------
  |  |  194|  3.65M|    do {                                                                \
  |  |  195|  3.65M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.64M, False: 16.9k]
  |  |  ------------------
  |  |  196|  3.64M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.64M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.64M]
  |  |  ------------------
  |  |  198|  3.64M|                return vret;                                            \
  |  |  199|  3.64M|        }                                                               \
  |  |  200|  3.65M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.65M]
  |  |  ------------------
  ------------------
  135|  3.65M|    return 0;
  136|  3.65M|}
cellobject.c:cell_clear:
  140|  1.58M|{
  141|  1.58M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  1.58M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  142|       |    Py_CLEAR(op->ob_ref);
  ------------------
  |  |  484|  1.58M|    do { \
  |  |  485|  1.58M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.58M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.58M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.58M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.58M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.58M, False: 0]
  |  |  ------------------
  |  |  488|  1.58M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.58M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.58M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.58M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.58M|        } \
  |  |  491|  1.58M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.58M]
  |  |  ------------------
  ------------------
  143|  1.58M|    return 0;
  144|  1.58M|}
cellobject.c:cell_get_contents:
  148|     86|{
  149|     86|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|     86|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  150|     86|    PyObject *res = PyCell_GetRef(op);
  151|     86|    if (res == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 86]
  ------------------
  152|      0|        PyErr_SetString(PyExc_ValueError, "Cell is empty");
  153|      0|        return NULL;
  154|      0|    }
  155|     86|    return res;
  156|     86|}
cellobject.c:cell_set_contents:
  160|     68|{
  161|     68|    PyCellObject *cell = _PyCell_CAST(self);
  ------------------
  |  |    8|     68|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  162|     68|    Py_XINCREF(obj);
  ------------------
  |  |  514|     68|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|     68|    PyCell_SetTakeRef((PyCellObject *)cell, obj);
  164|     68|    return 0;
  165|     68|}

PyMethod_New:
   66|  1.79M|{
   67|  1.79M|    if (self == NULL) {
  ------------------
  |  Branch (67:9): [True: 0, False: 1.79M]
  ------------------
   68|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   69|      0|        return NULL;
   70|      0|    }
   71|  1.79M|    PyMethodObject *im = _Py_FREELIST_POP(PyMethodObject, pymethodobjects);
  ------------------
  |  |   43|  1.79M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   72|  1.79M|    if (im == NULL) {
  ------------------
  |  Branch (72:9): [True: 260, False: 1.79M]
  ------------------
   73|    260|        im = PyObject_GC_New(PyMethodObject, &PyMethod_Type);
  ------------------
  |  |  181|    260|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    260|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|    260|        if (im == NULL) {
  ------------------
  |  Branch (74:13): [True: 0, False: 260]
  ------------------
   75|      0|            return NULL;
   76|      0|        }
   77|    260|    }
   78|  1.79M|    im->im_weakreflist = NULL;
   79|  1.79M|    im->im_func = Py_NewRef(func);
  ------------------
  |  |  550|  1.79M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|  1.79M|    im->im_self = Py_NewRef(self);
  ------------------
  |  |  550|  1.79M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  1.79M|    im->vectorcall = method_vectorcall;
   82|  1.79M|    _PyObject_GC_TRACK(im);
  ------------------
  |  |  508|  1.79M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|  1.79M|    return (PyObject *)im;
   84|  1.79M|}
classobject.c:method_vectorcall:
   49|  1.34M|{
   50|  1.34M|    assert(Py_IS_TYPE(method, &PyMethod_Type));
   51|       |
   52|  1.34M|    PyThreadState *tstate = _PyThreadState_GET();
   53|  1.34M|    PyObject *self = PyMethod_GET_SELF(method);
  ------------------
  |  |   42|  1.34M|#define PyMethod_GET_SELF(meth) PyMethod_GET_SELF(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|  1.34M|    PyObject *func = PyMethod_GET_FUNCTION(method);
  ------------------
  |  |   37|  1.34M|#define PyMethod_GET_FUNCTION(meth) PyMethod_GET_FUNCTION(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|  1.34M|    return _PyObject_VectorcallPrepend(tstate, func, self, args, nargsf, kwnames);
   56|  1.34M|}
classobject.c:method_dealloc:
  214|  1.79M|{
  215|  1.79M|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  1.79M|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  216|  1.79M|    _PyObject_GC_UNTRACK(im);
  ------------------
  |  |  510|  1.79M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  1.79M|    FT_CLEAR_WEAKREFS(self, im->im_weakreflist);
  ------------------
  |  |   47|  1.79M|    do {                                            \
  |  |   48|  1.79M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.79M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.79M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.79M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.79M]
  |  |  ------------------
  ------------------
  218|  1.79M|    Py_DECREF(im->im_func);
  ------------------
  |  |  430|  1.79M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  1.79M|    Py_XDECREF(im->im_self);
  ------------------
  |  |  524|  1.79M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  1.79M|    assert(Py_IS_TYPE(self, &PyMethod_Type));
  221|  1.79M|    _Py_FREELIST_FREE(pymethodobjects, (PyObject *)im, PyObject_GC_Del);
  ------------------
  |  |   35|  1.79M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.79M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   33|  1.79M|#  define Py_pymethodobjects_MAXFREELIST 20
  |  |  ------------------
  ------------------
  222|  1.79M|}
classobject.c:method_getattro:
  156|     74|{
  157|     74|    PyMethodObject *im = (PyMethodObject *)obj;
  158|     74|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|     74|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|     74|    PyObject *descr = NULL;
  160|       |
  161|     74|    {
  162|     74|        if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (162:13): [True: 0, False: 74]
  ------------------
  163|      0|            if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (163:17): [True: 0, False: 0]
  ------------------
  164|      0|                return NULL;
  165|      0|        }
  166|     74|        descr = _PyType_LookupRef(tp, name);
  167|     74|    }
  168|       |
  169|     74|    if (descr != NULL) {
  ------------------
  |  Branch (169:9): [True: 10, False: 64]
  ------------------
  170|     10|        descrgetfunc f = TP_DESCR_GET(Py_TYPE(descr));
  ------------------
  |  |   17|     10|#define TP_DESCR_GET(t) ((t)->tp_descr_get)
  ------------------
  171|     10|        if (f != NULL) {
  ------------------
  |  Branch (171:13): [True: 10, False: 0]
  ------------------
  172|     10|            PyObject *res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|     10|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|     10|            Py_DECREF(descr);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|     10|            return res;
  175|     10|        }
  176|      0|        else {
  177|      0|            return descr;
  178|      0|        }
  179|     10|    }
  180|       |
  181|     64|    return PyObject_GetAttr(im->im_func, name);
  182|     74|}
classobject.c:method_traverse:
  299|  4.45k|{
  300|  4.45k|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  4.45k|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  301|  4.45k|    Py_VISIT(im->im_func);
  ------------------
  |  |  194|  4.45k|    do {                                                                \
  |  |  195|  4.45k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.45k, False: 0]
  |  |  ------------------
  |  |  196|  4.45k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.45k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.45k]
  |  |  ------------------
  |  |  198|  4.45k|                return vret;                                            \
  |  |  199|  4.45k|        }                                                               \
  |  |  200|  4.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.45k]
  |  |  ------------------
  ------------------
  302|  4.45k|    Py_VISIT(im->im_self);
  ------------------
  |  |  194|  4.45k|    do {                                                                \
  |  |  195|  4.45k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.45k, False: 0]
  |  |  ------------------
  |  |  196|  4.45k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.45k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.45k]
  |  |  ------------------
  |  |  198|  4.45k|                return vret;                                            \
  |  |  199|  4.45k|        }                                                               \
  |  |  200|  4.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.45k]
  |  |  ------------------
  ------------------
  303|  4.45k|    return 0;
  304|  4.45k|}
classobject.c:method_get_doc:
  144|     10|{
  145|     10|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|     10|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  146|     10|    return PyObject_GetAttr(im->im_func, &_Py_ID(__doc__));
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|     10|}
classobject.c:method_descr_get:
  308|      8|{
  309|      8|    Py_INCREF(meth);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      8|    return meth;
  311|      8|}
classobject.c:method_new_impl:
  197|     10|{
  198|     10|    if (!PyCallable_Check(function)) {
  ------------------
  |  Branch (198:9): [True: 0, False: 10]
  ------------------
  199|      0|        PyErr_SetString(PyExc_TypeError,
  200|      0|                        "first argument must be callable");
  201|      0|        return NULL;
  202|      0|    }
  203|     10|    if (instance == NULL || instance == Py_None) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (203:9): [True: 0, False: 10]
  |  Branch (203:29): [True: 0, False: 10]
  ------------------
  204|      0|        PyErr_SetString(PyExc_TypeError,
  205|      0|            "instance must not be None");
  206|      0|        return NULL;
  207|      0|    }
  208|       |
  209|     10|    return PyMethod_New(function, instance);
  210|     10|}

bytearrayobject.c:bytearray_append:
 1240|  3.91k|{
 1241|  3.91k|    PyObject *return_value = NULL;
 1242|  3.91k|    int item;
 1243|       |
 1244|  3.91k|    if (!_getbytevalue(arg, &item)) {
  ------------------
  |  Branch (1244:9): [True: 0, False: 3.91k]
  ------------------
 1245|      0|        goto exit;
 1246|      0|    }
 1247|  3.91k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.91k|    {
  ------------------
 1248|  3.91k|    return_value = bytearray_append_impl((PyByteArrayObject *)self, item);
 1249|  3.91k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.91k|    }
  ------------------
 1250|       |
 1251|  3.91k|exit:
 1252|  3.91k|    return return_value;
 1253|  3.91k|}
bytearrayobject.c:bytearray_find:
  130|  1.06k|{
  131|  1.06k|    PyObject *return_value = NULL;
  132|  1.06k|    PyObject *sub;
  133|  1.06k|    Py_ssize_t start = 0;
  134|  1.06k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  1.06k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  135|       |
  136|  1.06k|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|  1.06k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.06k, False: 0]
  |  |  |  Branch (31:27): [True: 1.06k, False: 0]
  |  |  ------------------
  |  |   32|  1.06k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|        goto exit;
  138|      0|    }
  139|  1.06k|    sub = args[0];
  140|  1.06k|    if (nargs < 2) {
  ------------------
  |  Branch (140:9): [True: 0, False: 1.06k]
  ------------------
  141|      0|        goto skip_optional;
  142|      0|    }
  143|  1.06k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 1.06k]
  ------------------
  144|      0|        goto exit;
  145|      0|    }
  146|  1.06k|    if (nargs < 3) {
  ------------------
  |  Branch (146:9): [True: 1.06k, False: 0]
  ------------------
  147|  1.06k|        goto skip_optional;
  148|  1.06k|    }
  149|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (149:9): [True: 0, False: 0]
  ------------------
  150|      0|        goto exit;
  151|      0|    }
  152|  1.06k|skip_optional:
  153|  1.06k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.06k|    {
  ------------------
  154|  1.06k|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  155|  1.06k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.06k|    }
  ------------------
  156|       |
  157|  1.06k|exit:
  158|  1.06k|    return return_value;
  159|  1.06k|}
bytearrayobject.c:bytearray_insert:
 1192|  16.4k|{
 1193|  16.4k|    PyObject *return_value = NULL;
 1194|  16.4k|    Py_ssize_t index;
 1195|  16.4k|    int item;
 1196|       |
 1197|  16.4k|    if (!_PyArg_CheckPositional("insert", nargs, 2, 2)) {
  ------------------
  |  |   31|  16.4k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 16.4k, False: 0]
  |  |  |  Branch (31:27): [True: 16.4k, False: 0]
  |  |  ------------------
  |  |   32|  16.4k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1198|      0|        goto exit;
 1199|      0|    }
 1200|  16.4k|    {
 1201|  16.4k|        Py_ssize_t ival = -1;
 1202|  16.4k|        PyObject *iobj = _PyNumber_Index(args[0]);
 1203|  16.4k|        if (iobj != NULL) {
  ------------------
  |  Branch (1203:13): [True: 16.4k, False: 0]
  ------------------
 1204|  16.4k|            ival = PyLong_AsSsize_t(iobj);
 1205|  16.4k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  16.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|  16.4k|        }
 1207|  16.4k|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1207:13): [True: 0, False: 16.4k]
  |  Branch (1207:27): [True: 0, False: 0]
  ------------------
 1208|      0|            goto exit;
 1209|      0|        }
 1210|  16.4k|        index = ival;
 1211|  16.4k|    }
 1212|  16.4k|    if (!_getbytevalue(args[1], &item)) {
  ------------------
  |  Branch (1212:9): [True: 0, False: 16.4k]
  ------------------
 1213|      0|        goto exit;
 1214|      0|    }
 1215|  16.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  16.4k|    {
  ------------------
 1216|  16.4k|    return_value = bytearray_insert_impl((PyByteArrayObject *)self, index, item);
 1217|  16.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.4k|    }
  ------------------
 1218|       |
 1219|  16.4k|exit:
 1220|  16.4k|    return return_value;
 1221|  16.4k|}
bytearrayobject.c:bytearray_take_bytes:
  653|      6|{
  654|      6|    PyObject *return_value = NULL;
  655|      6|    PyObject *n = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  656|       |
  657|      6|    if (!_PyArg_CheckPositional("take_bytes", nargs, 0, 1)) {
  ------------------
  |  |   31|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6, False: 0]
  |  |  |  Branch (31:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   32|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  658|      0|        goto exit;
  659|      0|    }
  660|      6|    if (nargs < 1) {
  ------------------
  |  Branch (660:9): [True: 6, False: 0]
  ------------------
  661|      6|        goto skip_optional;
  662|      6|    }
  663|      0|    n = args[0];
  664|      6|skip_optional:
  665|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  666|      6|    return_value = bytearray_take_bytes_impl((PyByteArrayObject *)self, n);
  667|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  668|       |
  669|      6|exit:
  670|      6|    return return_value;
  671|      6|}
bytearrayobject.c:bytearray_translate:
  695|     64|{
  696|     64|    PyObject *return_value = NULL;
  697|     64|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  698|       |
  699|     64|    #define NUM_KEYWORDS 1
  700|     64|    static struct {
  701|     64|        PyGC_Head _this_is_not_used;
  702|     64|        PyObject_VAR_HEAD
  703|     64|        Py_hash_t ob_hash;
  704|     64|        PyObject *ob_item[NUM_KEYWORDS];
  705|     64|    } _kwtuple = {
  706|     64|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     64|    {                                     \
  |  |   98|     64|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     64|    {                               \
  |  |  |  |   91|     64|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     64|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     64|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     64|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     64|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     64|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     64|        (type)                      \
  |  |  |  |   93|     64|    },
  |  |  ------------------
  |  |   99|     64|        (size)                            \
  |  |  100|     64|    },
  ------------------
  707|     64|        .ob_hash = -1,
  708|     64|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  919|     64|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     64|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     64|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|     64|    };
  710|     64|    #undef NUM_KEYWORDS
  711|     64|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  712|       |
  713|       |    #else  // !Py_BUILD_CORE
  714|       |    #  define KWTUPLE NULL
  715|       |    #endif  // !Py_BUILD_CORE
  716|       |
  717|     64|    static const char * const _keywords[] = {"", "delete", NULL};
  718|     64|    static _PyArg_Parser _parser = {
  719|     64|        .keywords = _keywords,
  720|     64|        .fname = "translate",
  721|     64|        .kwtuple = KWTUPLE,
  ------------------
  |  |  711|     64|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  722|     64|    };
  723|     64|    #undef KWTUPLE
  724|     64|    PyObject *argsbuf[2];
  725|     64|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (725:36): [True: 0, False: 64]
  ------------------
  726|     64|    PyObject *table;
  727|     64|    PyObject *deletechars = NULL;
  728|       |
  729|     64|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     64|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 64, False: 0]
  |  |  ------------------
  |  |   89|     64|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 64, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 64]
  |  |  |  Branch (89:43): [True: 64, False: 0]
  |  |  |  Branch (89:67): [True: 64, False: 0]
  |  |  ------------------
  |  |   90|     64|      (args) : \
  |  |   91|     64|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  730|     64|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  731|     64|    if (!args) {
  ------------------
  |  Branch (731:9): [True: 0, False: 64]
  ------------------
  732|      0|        goto exit;
  733|      0|    }
  734|     64|    table = args[0];
  735|     64|    if (!noptargs) {
  ------------------
  |  Branch (735:9): [True: 64, False: 0]
  ------------------
  736|     64|        goto skip_optional_pos;
  737|     64|    }
  738|      0|    deletechars = args[1];
  739|     64|skip_optional_pos:
  740|     64|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     64|    {
  ------------------
  741|     64|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  742|     64|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     64|    }
  ------------------
  743|       |
  744|     64|exit:
  745|     64|    return return_value;
  746|     64|}
bytearrayobject.c:bytearray___init__:
   19|  8.05M|{
   20|  8.05M|    int return_value = -1;
   21|  8.05M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   22|       |
   23|  8.05M|    #define NUM_KEYWORDS 3
   24|  8.05M|    static struct {
   25|  8.05M|        PyGC_Head _this_is_not_used;
   26|  8.05M|        PyObject_VAR_HEAD
   27|  8.05M|        Py_hash_t ob_hash;
   28|  8.05M|        PyObject *ob_item[NUM_KEYWORDS];
   29|  8.05M|    } _kwtuple = {
   30|  8.05M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  8.05M|    {                                     \
  |  |   98|  8.05M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  8.05M|    {                               \
  |  |  |  |   91|  8.05M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  8.05M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.05M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  8.05M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  8.05M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  8.05M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  8.05M|        (type)                      \
  |  |  |  |   93|  8.05M|    },
  |  |  ------------------
  |  |   99|  8.05M|        (size)                            \
  |  |  100|  8.05M|    },
  ------------------
   31|  8.05M|        .ob_hash = -1,
   32|  8.05M|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|  8.05M|    };
   34|  8.05M|    #undef NUM_KEYWORDS
   35|  8.05M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   36|       |
   37|       |    #else  // !Py_BUILD_CORE
   38|       |    #  define KWTUPLE NULL
   39|       |    #endif  // !Py_BUILD_CORE
   40|       |
   41|  8.05M|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
   42|  8.05M|    static _PyArg_Parser _parser = {
   43|  8.05M|        .keywords = _keywords,
   44|  8.05M|        .fname = "bytearray",
   45|  8.05M|        .kwtuple = KWTUPLE,
  ------------------
  |  |   35|  8.05M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   46|  8.05M|    };
   47|  8.05M|    #undef KWTUPLE
   48|  8.05M|    PyObject *argsbuf[3];
   49|  8.05M|    PyObject * const *fastargs;
   50|  8.05M|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  8.05M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  8.05M|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (51:36): [True: 0, False: 8.05M]
  ------------------
   52|  8.05M|    PyObject *arg = NULL;
   53|  8.05M|    const char *encoding = NULL;
   54|  8.05M|    const char *errors = NULL;
   55|       |
   56|  8.05M|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  8.05M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 8.05M, Folded]
  |  |  |  Branch (88:23): [True: 8.05M, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  8.05M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8.05M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8.05M]
  |  |  |  Branch (89:43): [True: 8.05M, False: 0]
  |  |  |  Branch (89:67): [True: 8.05M, False: 0]
  |  |  ------------------
  |  |   90|  8.05M|      (args) : \
  |  |   91|  8.05M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   57|  8.05M|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   58|  8.05M|    if (!fastargs) {
  ------------------
  |  Branch (58:9): [True: 0, False: 8.05M]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|  8.05M|    if (!noptargs) {
  ------------------
  |  Branch (61:9): [True: 6.60k, False: 8.04M]
  ------------------
   62|  6.60k|        goto skip_optional_pos;
   63|  6.60k|    }
   64|  8.04M|    if (fastargs[0]) {
  ------------------
  |  Branch (64:9): [True: 8.04M, False: 0]
  ------------------
   65|  8.04M|        arg = fastargs[0];
   66|  8.04M|        if (!--noptargs) {
  ------------------
  |  Branch (66:13): [True: 8.04M, False: 0]
  ------------------
   67|  8.04M|            goto skip_optional_pos;
   68|  8.04M|        }
   69|  8.04M|    }
   70|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (70:9): [True: 0, False: 0]
  ------------------
   71|      0|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (71:13): [True: 0, False: 0]
  ------------------
   72|      0|            _PyArg_BadArgument("bytearray", "argument 'encoding'", "str", fastargs[1]);
   73|      0|            goto exit;
   74|      0|        }
   75|      0|        Py_ssize_t encoding_length;
   76|      0|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
   77|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (77:13): [True: 0, False: 0]
  ------------------
   78|      0|            goto exit;
   79|      0|        }
   80|      0|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (80:13): [True: 0, False: 0]
  ------------------
   81|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
   82|      0|            goto exit;
   83|      0|        }
   84|      0|        if (!--noptargs) {
  ------------------
  |  Branch (84:13): [True: 0, False: 0]
  ------------------
   85|      0|            goto skip_optional_pos;
   86|      0|        }
   87|      0|    }
   88|      0|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (88:9): [True: 0, False: 0]
  ------------------
   89|      0|        _PyArg_BadArgument("bytearray", "argument 'errors'", "str", fastargs[2]);
   90|      0|        goto exit;
   91|      0|    }
   92|      0|    Py_ssize_t errors_length;
   93|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
   94|      0|    if (errors == NULL) {
  ------------------
  |  Branch (94:9): [True: 0, False: 0]
  ------------------
   95|      0|        goto exit;
   96|      0|    }
   97|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (97:9): [True: 0, False: 0]
  ------------------
   98|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
   99|      0|        goto exit;
  100|      0|    }
  101|  8.05M|skip_optional_pos:
  102|  8.05M|    return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  103|       |
  104|  8.05M|exit:
  105|  8.05M|    return return_value;
  106|  8.05M|}

bytesobject.c:bytes_decode:
 1092|     22|{
 1093|     22|    PyObject *return_value = NULL;
 1094|     22|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1095|       |
 1096|     22|    #define NUM_KEYWORDS 2
 1097|     22|    static struct {
 1098|     22|        PyGC_Head _this_is_not_used;
 1099|     22|        PyObject_VAR_HEAD
 1100|     22|        Py_hash_t ob_hash;
 1101|     22|        PyObject *ob_item[NUM_KEYWORDS];
 1102|     22|    } _kwtuple = {
 1103|     22|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     22|    {                                     \
  |  |   98|     22|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     22|    {                               \
  |  |  |  |   91|     22|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     22|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     22|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     22|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     22|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     22|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     22|        (type)                      \
  |  |  |  |   93|     22|    },
  |  |  ------------------
  |  |   99|     22|        (size)                            \
  |  |  100|     22|    },
  ------------------
 1104|     22|        .ob_hash = -1,
 1105|     22|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|     22|    };
 1107|     22|    #undef NUM_KEYWORDS
 1108|     22|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1109|       |
 1110|       |    #else  // !Py_BUILD_CORE
 1111|       |    #  define KWTUPLE NULL
 1112|       |    #endif  // !Py_BUILD_CORE
 1113|       |
 1114|     22|    static const char * const _keywords[] = {"encoding", "errors", NULL};
 1115|     22|    static _PyArg_Parser _parser = {
 1116|     22|        .keywords = _keywords,
 1117|     22|        .fname = "decode",
 1118|     22|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1108|     22|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1119|     22|    };
 1120|     22|    #undef KWTUPLE
 1121|     22|    PyObject *argsbuf[2];
 1122|     22|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1122:36): [True: 0, False: 22]
  ------------------
 1123|     22|    const char *encoding = NULL;
 1124|     22|    const char *errors = NULL;
 1125|       |
 1126|     22|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     22|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 22, False: 0]
  |  |  ------------------
  |  |   89|     22|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 22, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 22]
  |  |  |  Branch (89:43): [True: 22, False: 0]
  |  |  |  Branch (89:67): [True: 22, False: 0]
  |  |  ------------------
  |  |   90|     22|      (args) : \
  |  |   91|     22|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1127|     22|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1128|     22|    if (!args) {
  ------------------
  |  Branch (1128:9): [True: 0, False: 22]
  ------------------
 1129|      0|        goto exit;
 1130|      0|    }
 1131|     22|    if (!noptargs) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 22]
  ------------------
 1132|      0|        goto skip_optional_pos;
 1133|      0|    }
 1134|     22|    if (args[0]) {
  ------------------
  |  Branch (1134:9): [True: 22, False: 0]
  ------------------
 1135|     22|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1135:13): [True: 0, False: 22]
  ------------------
 1136|      0|            _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]);
 1137|      0|            goto exit;
 1138|      0|        }
 1139|     22|        Py_ssize_t encoding_length;
 1140|     22|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
 1141|     22|        if (encoding == NULL) {
  ------------------
  |  Branch (1141:13): [True: 0, False: 22]
  ------------------
 1142|      0|            goto exit;
 1143|      0|        }
 1144|     22|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1144:13): [True: 0, False: 22]
  ------------------
 1145|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1146|      0|            goto exit;
 1147|      0|        }
 1148|     22|        if (!--noptargs) {
  ------------------
  |  Branch (1148:13): [True: 6, False: 16]
  ------------------
 1149|      6|            goto skip_optional_pos;
 1150|      6|        }
 1151|     22|    }
 1152|     16|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     16|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1152:9): [True: 0, False: 16]
  ------------------
 1153|      0|        _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]);
 1154|      0|        goto exit;
 1155|      0|    }
 1156|     16|    Py_ssize_t errors_length;
 1157|     16|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
 1158|     16|    if (errors == NULL) {
  ------------------
  |  Branch (1158:9): [True: 0, False: 16]
  ------------------
 1159|      0|        goto exit;
 1160|      0|    }
 1161|     16|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1161:9): [True: 0, False: 16]
  ------------------
 1162|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1163|      0|        goto exit;
 1164|      0|    }
 1165|     22|skip_optional_pos:
 1166|     22|    return_value = bytes_decode_impl((PyBytesObject *)self, encoding, errors);
 1167|       |
 1168|     22|exit:
 1169|     22|    return return_value;
 1170|     22|}
bytesobject.c:bytes_endswith:
 1039|      2|{
 1040|      2|    PyObject *return_value = NULL;
 1041|      2|    PyObject *subobj;
 1042|      2|    Py_ssize_t start = 0;
 1043|      2|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1044|       |
 1045|      2|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1046|      0|        goto exit;
 1047|      0|    }
 1048|      2|    subobj = args[0];
 1049|      2|    if (nargs < 2) {
  ------------------
  |  Branch (1049:9): [True: 2, False: 0]
  ------------------
 1050|      2|        goto skip_optional;
 1051|      2|    }
 1052|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1052:9): [True: 0, False: 0]
  ------------------
 1053|      0|        goto exit;
 1054|      0|    }
 1055|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1055:9): [True: 0, False: 0]
  ------------------
 1056|      0|        goto skip_optional;
 1057|      0|    }
 1058|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1058:9): [True: 0, False: 0]
  ------------------
 1059|      0|        goto exit;
 1060|      0|    }
 1061|      2|skip_optional:
 1062|      2|    return_value = bytes_endswith_impl((PyBytesObject *)self, subobj, start, end);
 1063|       |
 1064|      2|exit:
 1065|      2|    return return_value;
 1066|      2|}
bytesobject.c:bytes_join:
  310|   178k|{
  311|   178k|    PyObject *return_value = NULL;
  312|       |
  313|   178k|    return_value = bytes_join_impl((PyBytesObject *)self, iterable_of_bytes);
  314|       |
  315|   178k|    return return_value;
  316|   178k|}
bytesobject.c:bytes_maketrans:
  766|      2|{
  767|      2|    PyObject *return_value = NULL;
  768|      2|    Py_buffer frm = {NULL, NULL};
  769|      2|    Py_buffer to = {NULL, NULL};
  770|       |
  771|      2|    if (!_PyArg_CheckPositional("maketrans", nargs, 2, 2)) {
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  772|      0|        goto exit;
  773|      0|    }
  774|      2|    if (PyObject_GetBuffer(args[0], &frm, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (774:9): [True: 0, False: 2]
  ------------------
  775|      0|        goto exit;
  776|      0|    }
  777|      2|    if (PyObject_GetBuffer(args[1], &to, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (777:9): [True: 0, False: 2]
  ------------------
  778|      0|        goto exit;
  779|      0|    }
  780|      2|    return_value = bytes_maketrans_impl(&frm, &to);
  781|       |
  782|      2|exit:
  783|       |    /* Cleanup for frm */
  784|      2|    if (frm.obj) {
  ------------------
  |  Branch (784:9): [True: 2, False: 0]
  ------------------
  785|      2|       PyBuffer_Release(&frm);
  786|      2|    }
  787|       |    /* Cleanup for to */
  788|      2|    if (to.obj) {
  ------------------
  |  Branch (788:9): [True: 2, False: 0]
  ------------------
  789|      2|       PyBuffer_Release(&to);
  790|      2|    }
  791|       |
  792|      2|    return return_value;
  793|      2|}
bytesobject.c:bytes_replace:
  817|     50|{
  818|     50|    PyObject *return_value = NULL;
  819|     50|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  820|       |
  821|     50|    #define NUM_KEYWORDS 1
  822|     50|    static struct {
  823|     50|        PyGC_Head _this_is_not_used;
  824|     50|        PyObject_VAR_HEAD
  825|     50|        Py_hash_t ob_hash;
  826|     50|        PyObject *ob_item[NUM_KEYWORDS];
  827|     50|    } _kwtuple = {
  828|     50|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     50|    {                                     \
  |  |   98|     50|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     50|    {                               \
  |  |  |  |   91|     50|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     50|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     50|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     50|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     50|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     50|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     50|        (type)                      \
  |  |  |  |   93|     50|    },
  |  |  ------------------
  |  |   99|     50|        (size)                            \
  |  |  100|     50|    },
  ------------------
  829|     50|        .ob_hash = -1,
  830|     50|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  919|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|     50|    };
  832|     50|    #undef NUM_KEYWORDS
  833|     50|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  834|       |
  835|       |    #else  // !Py_BUILD_CORE
  836|       |    #  define KWTUPLE NULL
  837|       |    #endif  // !Py_BUILD_CORE
  838|       |
  839|     50|    static const char * const _keywords[] = {"", "", "count", NULL};
  840|     50|    static _PyArg_Parser _parser = {
  841|     50|        .keywords = _keywords,
  842|     50|        .fname = "replace",
  843|     50|        .kwtuple = KWTUPLE,
  ------------------
  |  |  833|     50|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  844|     50|    };
  845|     50|    #undef KWTUPLE
  846|     50|    PyObject *argsbuf[3];
  847|     50|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (847:36): [True: 0, False: 50]
  ------------------
  848|     50|    Py_buffer old = {NULL, NULL};
  849|     50|    Py_buffer new = {NULL, NULL};
  850|     50|    Py_ssize_t count = -1;
  851|       |
  852|     50|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     50|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 50, False: 0]
  |  |  ------------------
  |  |   89|     50|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 50, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 50]
  |  |  |  Branch (89:43): [True: 50, False: 0]
  |  |  |  Branch (89:67): [True: 50, False: 0]
  |  |  ------------------
  |  |   90|     50|      (args) : \
  |  |   91|     50|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  853|     50|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  854|     50|    if (!args) {
  ------------------
  |  Branch (854:9): [True: 0, False: 50]
  ------------------
  855|      0|        goto exit;
  856|      0|    }
  857|     50|    if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     50|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (857:9): [True: 0, False: 50]
  ------------------
  858|      0|        goto exit;
  859|      0|    }
  860|     50|    if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     50|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (860:9): [True: 0, False: 50]
  ------------------
  861|      0|        goto exit;
  862|      0|    }
  863|     50|    if (!noptargs) {
  ------------------
  |  Branch (863:9): [True: 50, False: 0]
  ------------------
  864|     50|        goto skip_optional_pos;
  865|     50|    }
  866|      0|    {
  867|      0|        Py_ssize_t ival = -1;
  868|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  869|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (869:13): [True: 0, False: 0]
  ------------------
  870|      0|            ival = PyLong_AsSsize_t(iobj);
  871|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|      0|        }
  873|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (873:13): [True: 0, False: 0]
  |  Branch (873:27): [True: 0, False: 0]
  ------------------
  874|      0|            goto exit;
  875|      0|        }
  876|      0|        count = ival;
  877|      0|    }
  878|     50|skip_optional_pos:
  879|     50|    return_value = bytes_replace_impl((PyBytesObject *)self, &old, &new, count);
  880|       |
  881|     50|exit:
  882|       |    /* Cleanup for old */
  883|     50|    if (old.obj) {
  ------------------
  |  Branch (883:9): [True: 50, False: 0]
  ------------------
  884|     50|       PyBuffer_Release(&old);
  885|     50|    }
  886|       |    /* Cleanup for new */
  887|     50|    if (new.obj) {
  ------------------
  |  Branch (887:9): [True: 50, False: 0]
  ------------------
  888|     50|       PyBuffer_Release(&new);
  889|     50|    }
  890|       |
  891|     50|    return return_value;
  892|     50|}
bytesobject.c:bytes_startswith:
  988|     18|{
  989|     18|    PyObject *return_value = NULL;
  990|     18|    PyObject *subobj;
  991|     18|    Py_ssize_t start = 0;
  992|     18|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     18|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  993|       |
  994|     18|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|     18|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 18, False: 0]
  |  |  |  Branch (31:27): [True: 18, False: 0]
  |  |  ------------------
  |  |   32|     18|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  995|      0|        goto exit;
  996|      0|    }
  997|     18|    subobj = args[0];
  998|     18|    if (nargs < 2) {
  ------------------
  |  Branch (998:9): [True: 18, False: 0]
  ------------------
  999|     18|        goto skip_optional;
 1000|     18|    }
 1001|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1001:9): [True: 0, False: 0]
  ------------------
 1002|      0|        goto exit;
 1003|      0|    }
 1004|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 0]
  ------------------
 1005|      0|        goto skip_optional;
 1006|      0|    }
 1007|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1007:9): [True: 0, False: 0]
  ------------------
 1008|      0|        goto exit;
 1009|      0|    }
 1010|     18|skip_optional:
 1011|     18|    return_value = bytes_startswith_impl((PyBytesObject *)self, subobj, start, end);
 1012|       |
 1013|     18|exit:
 1014|     18|    return return_value;
 1015|     18|}
bytesobject.c:bytes_new:
 1370|  8.13M|{
 1371|  8.13M|    PyObject *return_value = NULL;
 1372|  8.13M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1373|       |
 1374|  8.13M|    #define NUM_KEYWORDS 3
 1375|  8.13M|    static struct {
 1376|  8.13M|        PyGC_Head _this_is_not_used;
 1377|  8.13M|        PyObject_VAR_HEAD
 1378|  8.13M|        Py_hash_t ob_hash;
 1379|  8.13M|        PyObject *ob_item[NUM_KEYWORDS];
 1380|  8.13M|    } _kwtuple = {
 1381|  8.13M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  8.13M|    {                                     \
  |  |   98|  8.13M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  8.13M|    {                               \
  |  |  |  |   91|  8.13M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  8.13M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.13M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  8.13M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  8.13M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  8.13M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  8.13M|        (type)                      \
  |  |  |  |   93|  8.13M|    },
  |  |  ------------------
  |  |   99|  8.13M|        (size)                            \
  |  |  100|  8.13M|    },
  ------------------
 1382|  8.13M|        .ob_hash = -1,
 1383|  8.13M|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.13M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.13M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.13M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.13M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.13M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.13M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|  8.13M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.13M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.13M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|  8.13M|    };
 1385|  8.13M|    #undef NUM_KEYWORDS
 1386|  8.13M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1387|       |
 1388|       |    #else  // !Py_BUILD_CORE
 1389|       |    #  define KWTUPLE NULL
 1390|       |    #endif  // !Py_BUILD_CORE
 1391|       |
 1392|  8.13M|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
 1393|  8.13M|    static _PyArg_Parser _parser = {
 1394|  8.13M|        .keywords = _keywords,
 1395|  8.13M|        .fname = "bytes",
 1396|  8.13M|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1386|  8.13M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1397|  8.13M|    };
 1398|  8.13M|    #undef KWTUPLE
 1399|  8.13M|    PyObject *argsbuf[3];
 1400|  8.13M|    PyObject * const *fastargs;
 1401|  8.13M|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  8.13M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|  8.13M|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1402:36): [True: 0, False: 8.13M]
  ------------------
 1403|  8.13M|    PyObject *x = NULL;
 1404|  8.13M|    const char *encoding = NULL;
 1405|  8.13M|    const char *errors = NULL;
 1406|       |
 1407|  8.13M|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  8.13M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 8.13M, Folded]
  |  |  |  Branch (88:23): [True: 8.13M, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  8.13M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8.13M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8.13M]
  |  |  |  Branch (89:43): [True: 8.13M, False: 0]
  |  |  |  Branch (89:67): [True: 8.13M, False: 0]
  |  |  ------------------
  |  |   90|  8.13M|      (args) : \
  |  |   91|  8.13M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1408|  8.13M|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1409|  8.13M|    if (!fastargs) {
  ------------------
  |  Branch (1409:9): [True: 0, False: 8.13M]
  ------------------
 1410|      0|        goto exit;
 1411|      0|    }
 1412|  8.13M|    if (!noptargs) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 8.13M]
  ------------------
 1413|      0|        goto skip_optional_pos;
 1414|      0|    }
 1415|  8.13M|    if (fastargs[0]) {
  ------------------
  |  Branch (1415:9): [True: 8.13M, False: 0]
  ------------------
 1416|  8.13M|        x = fastargs[0];
 1417|  8.13M|        if (!--noptargs) {
  ------------------
  |  Branch (1417:13): [True: 8.04M, False: 88.1k]
  ------------------
 1418|  8.04M|            goto skip_optional_pos;
 1419|  8.04M|        }
 1420|  8.13M|    }
 1421|  88.1k|    if (fastargs[1]) {
  ------------------
  |  Branch (1421:9): [True: 88.1k, False: 0]
  ------------------
 1422|  88.1k|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|  88.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  88.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1422:13): [True: 0, False: 88.1k]
  ------------------
 1423|      0|            _PyArg_BadArgument("bytes", "argument 'encoding'", "str", fastargs[1]);
 1424|      0|            goto exit;
 1425|      0|        }
 1426|  88.1k|        Py_ssize_t encoding_length;
 1427|  88.1k|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
 1428|  88.1k|        if (encoding == NULL) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 88.1k]
  ------------------
 1429|      0|            goto exit;
 1430|      0|        }
 1431|  88.1k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1431:13): [True: 0, False: 88.1k]
  ------------------
 1432|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1433|      0|            goto exit;
 1434|      0|        }
 1435|  88.1k|        if (!--noptargs) {
  ------------------
  |  Branch (1435:13): [True: 88.1k, False: 0]
  ------------------
 1436|  88.1k|            goto skip_optional_pos;
 1437|  88.1k|        }
 1438|  88.1k|    }
 1439|      0|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1439:9): [True: 0, False: 0]
  ------------------
 1440|      0|        _PyArg_BadArgument("bytes", "argument 'errors'", "str", fastargs[2]);
 1441|      0|        goto exit;
 1442|      0|    }
 1443|      0|    Py_ssize_t errors_length;
 1444|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
 1445|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1445:9): [True: 0, False: 0]
  ------------------
 1446|      0|        goto exit;
 1447|      0|    }
 1448|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 0]
  ------------------
 1449|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1450|      0|        goto exit;
 1451|      0|    }
 1452|  8.13M|skip_optional_pos:
 1453|  8.13M|    return_value = bytes_new_impl(type, x, encoding, errors);
 1454|       |
 1455|  8.13M|exit:
 1456|  8.13M|    return return_value;
 1457|  8.13M|}

classobject.c:method_new:
   35|     10|{
   36|     10|    PyObject *return_value = NULL;
   37|     10|    PyTypeObject *base_tp = &PyMethod_Type;
   38|     10|    PyObject *function;
   39|     10|    PyObject *instance;
   40|       |
   41|     10|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (41:10): [True: 10, False: 0]
  |  Branch (41:29): [True: 0, False: 0]
  ------------------
   42|     10|        !_PyArg_NoKeywords("method", kwargs)) {
  ------------------
  |  |   25|     10|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 10, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   43|      0|        goto exit;
   44|      0|    }
   45|     10|    if (!_PyArg_CheckPositional("method", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|     10|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 10, False: 0]
  |  |  |  Branch (31:27): [True: 10, False: 0]
  |  |  ------------------
  |  |   32|     10|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   46|      0|        goto exit;
   47|      0|    }
   48|     10|    function = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     10|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|     10|    instance = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     10|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|     10|    return_value = method_new_impl(type, function, instance);
   51|       |
   52|     10|exit:
   53|     10|    return return_value;
   54|     10|}

codeobject.c:code_replace:
  178|  4.02k|{
  179|  4.02k|    PyObject *return_value = NULL;
  180|  4.02k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  181|       |
  182|  4.02k|    #define NUM_KEYWORDS 18
  183|  4.02k|    static struct {
  184|  4.02k|        PyGC_Head _this_is_not_used;
  185|  4.02k|        PyObject_VAR_HEAD
  186|  4.02k|        Py_hash_t ob_hash;
  187|  4.02k|        PyObject *ob_item[NUM_KEYWORDS];
  188|  4.02k|    } _kwtuple = {
  189|  4.02k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.02k|    {                                     \
  |  |   98|  4.02k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.02k|    {                               \
  |  |  |  |   91|  4.02k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.02k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.02k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  4.02k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.02k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.02k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.02k|        (type)                      \
  |  |  |  |   93|  4.02k|    },
  |  |  ------------------
  |  |   99|  4.02k|        (size)                            \
  |  |  100|  4.02k|    },
  ------------------
  190|  4.02k|        .ob_hash = -1,
  191|  4.02k|        .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(co_argcount), &_Py_ID(co_posonlyargcount), &_Py_ID(co_kwonlyargcount), &_Py_ID(co_nlocals), &_Py_ID(co_stacksize), &_Py_ID(co_flags), &_Py_ID(co_firstlineno), &_Py_ID(co_code), &_Py_ID(co_consts), &_Py_ID(co_names), &_Py_ID(co_varnames), &_Py_ID(co_freevars), &_Py_ID(co_cellvars), &_Py_ID(co_filename), &_Py_ID(co_name), &_Py_ID(co_qualname), &_Py_ID(co_linetable), &_Py_ID(co_exceptiontable), },
  ------------------
  |  |  919|  4.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  4.02k|    };
  193|  4.02k|    #undef NUM_KEYWORDS
  194|  4.02k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  195|       |
  196|       |    #else  // !Py_BUILD_CORE
  197|       |    #  define KWTUPLE NULL
  198|       |    #endif  // !Py_BUILD_CORE
  199|       |
  200|  4.02k|    static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL};
  201|  4.02k|    static _PyArg_Parser _parser = {
  202|  4.02k|        .keywords = _keywords,
  203|  4.02k|        .fname = "replace",
  204|  4.02k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  194|  4.02k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  205|  4.02k|    };
  206|  4.02k|    #undef KWTUPLE
  207|  4.02k|    PyObject *argsbuf[18];
  208|  4.02k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (208:36): [True: 4.02k, False: 0]
  ------------------
  209|  4.02k|    int co_argcount = ((PyCodeObject *)self)->co_argcount;
  210|  4.02k|    int co_posonlyargcount = ((PyCodeObject *)self)->co_posonlyargcount;
  211|  4.02k|    int co_kwonlyargcount = ((PyCodeObject *)self)->co_kwonlyargcount;
  212|  4.02k|    int co_nlocals = ((PyCodeObject *)self)->co_nlocals;
  213|  4.02k|    int co_stacksize = ((PyCodeObject *)self)->co_stacksize;
  214|  4.02k|    int co_flags = ((PyCodeObject *)self)->co_flags;
  215|  4.02k|    int co_firstlineno = ((PyCodeObject *)self)->co_firstlineno;
  216|  4.02k|    PyObject *co_code = NULL;
  217|  4.02k|    PyObject *co_consts = ((PyCodeObject *)self)->co_consts;
  218|  4.02k|    PyObject *co_names = ((PyCodeObject *)self)->co_names;
  219|  4.02k|    PyObject *co_varnames = NULL;
  220|  4.02k|    PyObject *co_freevars = NULL;
  221|  4.02k|    PyObject *co_cellvars = NULL;
  222|  4.02k|    PyObject *co_filename = ((PyCodeObject *)self)->co_filename;
  223|  4.02k|    PyObject *co_name = ((PyCodeObject *)self)->co_name;
  224|  4.02k|    PyObject *co_qualname = ((PyCodeObject *)self)->co_qualname;
  225|  4.02k|    PyObject *co_linetable = ((PyCodeObject *)self)->co_linetable;
  226|  4.02k|    PyObject *co_exceptiontable = ((PyCodeObject *)self)->co_exceptiontable;
  227|       |
  228|  4.02k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.02k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |   89|  4.02k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 0, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 0]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   90|  4.02k|      (args) : \
  |  |   91|  4.02k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  4.02k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  229|  4.02k|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  230|  4.02k|    if (!args) {
  ------------------
  |  Branch (230:9): [True: 0, False: 4.02k]
  ------------------
  231|      0|        goto exit;
  232|      0|    }
  233|  4.02k|    if (!noptargs) {
  ------------------
  |  Branch (233:9): [True: 0, False: 4.02k]
  ------------------
  234|      0|        goto skip_optional_kwonly;
  235|      0|    }
  236|  4.02k|    if (args[0]) {
  ------------------
  |  Branch (236:9): [True: 0, False: 4.02k]
  ------------------
  237|      0|        co_argcount = PyLong_AsInt(args[0]);
  238|      0|        if (co_argcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (238:13): [True: 0, False: 0]
  |  Branch (238:34): [True: 0, False: 0]
  ------------------
  239|      0|            goto exit;
  240|      0|        }
  241|      0|        if (!--noptargs) {
  ------------------
  |  Branch (241:13): [True: 0, False: 0]
  ------------------
  242|      0|            goto skip_optional_kwonly;
  243|      0|        }
  244|      0|    }
  245|  4.02k|    if (args[1]) {
  ------------------
  |  Branch (245:9): [True: 0, False: 4.02k]
  ------------------
  246|      0|        co_posonlyargcount = PyLong_AsInt(args[1]);
  247|      0|        if (co_posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (247:13): [True: 0, False: 0]
  |  Branch (247:41): [True: 0, False: 0]
  ------------------
  248|      0|            goto exit;
  249|      0|        }
  250|      0|        if (!--noptargs) {
  ------------------
  |  Branch (250:13): [True: 0, False: 0]
  ------------------
  251|      0|            goto skip_optional_kwonly;
  252|      0|        }
  253|      0|    }
  254|  4.02k|    if (args[2]) {
  ------------------
  |  Branch (254:9): [True: 0, False: 4.02k]
  ------------------
  255|      0|        co_kwonlyargcount = PyLong_AsInt(args[2]);
  256|      0|        if (co_kwonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (256:13): [True: 0, False: 0]
  |  Branch (256:40): [True: 0, False: 0]
  ------------------
  257|      0|            goto exit;
  258|      0|        }
  259|      0|        if (!--noptargs) {
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            goto skip_optional_kwonly;
  261|      0|        }
  262|      0|    }
  263|  4.02k|    if (args[3]) {
  ------------------
  |  Branch (263:9): [True: 0, False: 4.02k]
  ------------------
  264|      0|        co_nlocals = PyLong_AsInt(args[3]);
  265|      0|        if (co_nlocals == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (265:13): [True: 0, False: 0]
  |  Branch (265:33): [True: 0, False: 0]
  ------------------
  266|      0|            goto exit;
  267|      0|        }
  268|      0|        if (!--noptargs) {
  ------------------
  |  Branch (268:13): [True: 0, False: 0]
  ------------------
  269|      0|            goto skip_optional_kwonly;
  270|      0|        }
  271|      0|    }
  272|  4.02k|    if (args[4]) {
  ------------------
  |  Branch (272:9): [True: 0, False: 4.02k]
  ------------------
  273|      0|        co_stacksize = PyLong_AsInt(args[4]);
  274|      0|        if (co_stacksize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  |  Branch (274:35): [True: 0, False: 0]
  ------------------
  275|      0|            goto exit;
  276|      0|        }
  277|      0|        if (!--noptargs) {
  ------------------
  |  Branch (277:13): [True: 0, False: 0]
  ------------------
  278|      0|            goto skip_optional_kwonly;
  279|      0|        }
  280|      0|    }
  281|  4.02k|    if (args[5]) {
  ------------------
  |  Branch (281:9): [True: 2, False: 4.02k]
  ------------------
  282|      2|        co_flags = PyLong_AsInt(args[5]);
  283|      2|        if (co_flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (283:13): [True: 0, False: 2]
  |  Branch (283:31): [True: 0, False: 0]
  ------------------
  284|      0|            goto exit;
  285|      0|        }
  286|      2|        if (!--noptargs) {
  ------------------
  |  Branch (286:13): [True: 2, False: 0]
  ------------------
  287|      2|            goto skip_optional_kwonly;
  288|      2|        }
  289|      2|    }
  290|  4.02k|    if (args[6]) {
  ------------------
  |  Branch (290:9): [True: 4.02k, False: 0]
  ------------------
  291|  4.02k|        co_firstlineno = PyLong_AsInt(args[6]);
  292|  4.02k|        if (co_firstlineno == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (292:13): [True: 0, False: 4.02k]
  |  Branch (292:37): [True: 0, False: 0]
  ------------------
  293|      0|            goto exit;
  294|      0|        }
  295|  4.02k|        if (!--noptargs) {
  ------------------
  |  Branch (295:13): [True: 0, False: 4.02k]
  ------------------
  296|      0|            goto skip_optional_kwonly;
  297|      0|        }
  298|  4.02k|    }
  299|  4.02k|    if (args[7]) {
  ------------------
  |  Branch (299:9): [True: 0, False: 4.02k]
  ------------------
  300|      0|        if (!PyBytes_Check(args[7])) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (300:13): [True: 0, False: 0]
  ------------------
  301|      0|            _PyArg_BadArgument("replace", "argument 'co_code'", "bytes", args[7]);
  302|      0|            goto exit;
  303|      0|        }
  304|      0|        co_code = args[7];
  305|      0|        if (!--noptargs) {
  ------------------
  |  Branch (305:13): [True: 0, False: 0]
  ------------------
  306|      0|            goto skip_optional_kwonly;
  307|      0|        }
  308|      0|    }
  309|  4.02k|    if (args[8]) {
  ------------------
  |  Branch (309:9): [True: 0, False: 4.02k]
  ------------------
  310|      0|        if (!PyTuple_Check(args[8])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (310:13): [True: 0, False: 0]
  ------------------
  311|      0|            _PyArg_BadArgument("replace", "argument 'co_consts'", "tuple", args[8]);
  312|      0|            goto exit;
  313|      0|        }
  314|      0|        co_consts = args[8];
  315|      0|        if (!--noptargs) {
  ------------------
  |  Branch (315:13): [True: 0, False: 0]
  ------------------
  316|      0|            goto skip_optional_kwonly;
  317|      0|        }
  318|      0|    }
  319|  4.02k|    if (args[9]) {
  ------------------
  |  Branch (319:9): [True: 0, False: 4.02k]
  ------------------
  320|      0|        if (!PyTuple_Check(args[9])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (320:13): [True: 0, False: 0]
  ------------------
  321|      0|            _PyArg_BadArgument("replace", "argument 'co_names'", "tuple", args[9]);
  322|      0|            goto exit;
  323|      0|        }
  324|      0|        co_names = args[9];
  325|      0|        if (!--noptargs) {
  ------------------
  |  Branch (325:13): [True: 0, False: 0]
  ------------------
  326|      0|            goto skip_optional_kwonly;
  327|      0|        }
  328|      0|    }
  329|  4.02k|    if (args[10]) {
  ------------------
  |  Branch (329:9): [True: 0, False: 4.02k]
  ------------------
  330|      0|        if (!PyTuple_Check(args[10])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (330:13): [True: 0, False: 0]
  ------------------
  331|      0|            _PyArg_BadArgument("replace", "argument 'co_varnames'", "tuple", args[10]);
  332|      0|            goto exit;
  333|      0|        }
  334|      0|        co_varnames = args[10];
  335|      0|        if (!--noptargs) {
  ------------------
  |  Branch (335:13): [True: 0, False: 0]
  ------------------
  336|      0|            goto skip_optional_kwonly;
  337|      0|        }
  338|      0|    }
  339|  4.02k|    if (args[11]) {
  ------------------
  |  Branch (339:9): [True: 0, False: 4.02k]
  ------------------
  340|      0|        if (!PyTuple_Check(args[11])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (340:13): [True: 0, False: 0]
  ------------------
  341|      0|            _PyArg_BadArgument("replace", "argument 'co_freevars'", "tuple", args[11]);
  342|      0|            goto exit;
  343|      0|        }
  344|      0|        co_freevars = args[11];
  345|      0|        if (!--noptargs) {
  ------------------
  |  Branch (345:13): [True: 0, False: 0]
  ------------------
  346|      0|            goto skip_optional_kwonly;
  347|      0|        }
  348|      0|    }
  349|  4.02k|    if (args[12]) {
  ------------------
  |  Branch (349:9): [True: 0, False: 4.02k]
  ------------------
  350|      0|        if (!PyTuple_Check(args[12])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (350:13): [True: 0, False: 0]
  ------------------
  351|      0|            _PyArg_BadArgument("replace", "argument 'co_cellvars'", "tuple", args[12]);
  352|      0|            goto exit;
  353|      0|        }
  354|      0|        co_cellvars = args[12];
  355|      0|        if (!--noptargs) {
  ------------------
  |  Branch (355:13): [True: 0, False: 0]
  ------------------
  356|      0|            goto skip_optional_kwonly;
  357|      0|        }
  358|      0|    }
  359|  4.02k|    if (args[13]) {
  ------------------
  |  Branch (359:9): [True: 4.02k, False: 0]
  ------------------
  360|  4.02k|        if (!PyUnicode_Check(args[13])) {
  ------------------
  |  |  103|  4.02k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (360:13): [True: 0, False: 4.02k]
  ------------------
  361|      0|            _PyArg_BadArgument("replace", "argument 'co_filename'", "str", args[13]);
  362|      0|            goto exit;
  363|      0|        }
  364|  4.02k|        co_filename = args[13];
  365|  4.02k|        if (!--noptargs) {
  ------------------
  |  Branch (365:13): [True: 4.02k, False: 0]
  ------------------
  366|  4.02k|            goto skip_optional_kwonly;
  367|  4.02k|        }
  368|  4.02k|    }
  369|      0|    if (args[14]) {
  ------------------
  |  Branch (369:9): [True: 0, False: 0]
  ------------------
  370|      0|        if (!PyUnicode_Check(args[14])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (370:13): [True: 0, False: 0]
  ------------------
  371|      0|            _PyArg_BadArgument("replace", "argument 'co_name'", "str", args[14]);
  372|      0|            goto exit;
  373|      0|        }
  374|      0|        co_name = args[14];
  375|      0|        if (!--noptargs) {
  ------------------
  |  Branch (375:13): [True: 0, False: 0]
  ------------------
  376|      0|            goto skip_optional_kwonly;
  377|      0|        }
  378|      0|    }
  379|      0|    if (args[15]) {
  ------------------
  |  Branch (379:9): [True: 0, False: 0]
  ------------------
  380|      0|        if (!PyUnicode_Check(args[15])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (380:13): [True: 0, False: 0]
  ------------------
  381|      0|            _PyArg_BadArgument("replace", "argument 'co_qualname'", "str", args[15]);
  382|      0|            goto exit;
  383|      0|        }
  384|      0|        co_qualname = args[15];
  385|      0|        if (!--noptargs) {
  ------------------
  |  Branch (385:13): [True: 0, False: 0]
  ------------------
  386|      0|            goto skip_optional_kwonly;
  387|      0|        }
  388|      0|    }
  389|      0|    if (args[16]) {
  ------------------
  |  Branch (389:9): [True: 0, False: 0]
  ------------------
  390|      0|        if (!PyBytes_Check(args[16])) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (390:13): [True: 0, False: 0]
  ------------------
  391|      0|            _PyArg_BadArgument("replace", "argument 'co_linetable'", "bytes", args[16]);
  392|      0|            goto exit;
  393|      0|        }
  394|      0|        co_linetable = args[16];
  395|      0|        if (!--noptargs) {
  ------------------
  |  Branch (395:13): [True: 0, False: 0]
  ------------------
  396|      0|            goto skip_optional_kwonly;
  397|      0|        }
  398|      0|    }
  399|      0|    if (!PyBytes_Check(args[17])) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (399:9): [True: 0, False: 0]
  ------------------
  400|      0|        _PyArg_BadArgument("replace", "argument 'co_exceptiontable'", "bytes", args[17]);
  401|      0|        goto exit;
  402|      0|    }
  403|      0|    co_exceptiontable = args[17];
  404|  4.02k|skip_optional_kwonly:
  405|  4.02k|    return_value = code_replace_impl((PyCodeObject *)self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable);
  406|       |
  407|  4.02k|exit:
  408|  4.02k|    return return_value;
  409|  4.02k|}

descrobject.c:mappingproxy_new:
   22|  12.1k|{
   23|  12.1k|    PyObject *return_value = NULL;
   24|  12.1k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   25|       |
   26|  12.1k|    #define NUM_KEYWORDS 1
   27|  12.1k|    static struct {
   28|  12.1k|        PyGC_Head _this_is_not_used;
   29|  12.1k|        PyObject_VAR_HEAD
   30|  12.1k|        Py_hash_t ob_hash;
   31|  12.1k|        PyObject *ob_item[NUM_KEYWORDS];
   32|  12.1k|    } _kwtuple = {
   33|  12.1k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  12.1k|    {                                     \
  |  |   98|  12.1k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  12.1k|    {                               \
  |  |  |  |   91|  12.1k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  12.1k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  12.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  12.1k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  12.1k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  12.1k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  12.1k|        (type)                      \
  |  |  |  |   93|  12.1k|    },
  |  |  ------------------
  |  |   99|  12.1k|        (size)                            \
  |  |  100|  12.1k|    },
  ------------------
   34|  12.1k|        .ob_hash = -1,
   35|  12.1k|        .ob_item = { &_Py_ID(mapping), },
  ------------------
  |  |  919|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  12.1k|    };
   37|  12.1k|    #undef NUM_KEYWORDS
   38|  12.1k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   39|       |
   40|       |    #else  // !Py_BUILD_CORE
   41|       |    #  define KWTUPLE NULL
   42|       |    #endif  // !Py_BUILD_CORE
   43|       |
   44|  12.1k|    static const char * const _keywords[] = {"mapping", NULL};
   45|  12.1k|    static _PyArg_Parser _parser = {
   46|  12.1k|        .keywords = _keywords,
   47|  12.1k|        .fname = "mappingproxy",
   48|  12.1k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   38|  12.1k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   49|  12.1k|    };
   50|  12.1k|    #undef KWTUPLE
   51|  12.1k|    PyObject *argsbuf[1];
   52|  12.1k|    PyObject * const *fastargs;
   53|  12.1k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  12.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|  12.1k|    PyObject *mapping;
   55|       |
   56|  12.1k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  12.1k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 12.1k, Folded]
  |  |  |  Branch (88:23): [True: 12.1k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  12.1k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 12.1k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 12.1k]
  |  |  |  Branch (89:43): [True: 12.1k, False: 0]
  |  |  |  Branch (89:67): [True: 12.1k, False: 0]
  |  |  ------------------
  |  |   90|  12.1k|      (args) : \
  |  |   91|  12.1k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   57|  12.1k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   58|  12.1k|    if (!fastargs) {
  ------------------
  |  Branch (58:9): [True: 0, False: 12.1k]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|  12.1k|    mapping = fastargs[0];
   62|  12.1k|    return_value = mappingproxy_new_impl(type, mapping);
   63|       |
   64|  12.1k|exit:
   65|  12.1k|    return return_value;
   66|  12.1k|}
descrobject.c:property_init:
  111|    806|{
  112|    806|    int return_value = -1;
  113|    806|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  114|       |
  115|    806|    #define NUM_KEYWORDS 4
  116|    806|    static struct {
  117|    806|        PyGC_Head _this_is_not_used;
  118|    806|        PyObject_VAR_HEAD
  119|    806|        Py_hash_t ob_hash;
  120|    806|        PyObject *ob_item[NUM_KEYWORDS];
  121|    806|    } _kwtuple = {
  122|    806|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    806|    {                                     \
  |  |   98|    806|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    806|    {                               \
  |  |  |  |   91|    806|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    806|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    806|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    806|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    806|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    806|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    806|        (type)                      \
  |  |  |  |   93|    806|    },
  |  |  ------------------
  |  |   99|    806|        (size)                            \
  |  |  100|    806|    },
  ------------------
  123|    806|        .ob_hash = -1,
  124|    806|        .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  919|    806|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    806|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    806|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  919|    806|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    806|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    806|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  919|    806|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    806|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    806|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(fget), &_Py_ID(fset), &_Py_ID(fdel), &_Py_ID(doc), },
  ------------------
  |  |  919|    806|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    806|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    806|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  125|    806|    };
  126|    806|    #undef NUM_KEYWORDS
  127|    806|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  128|       |
  129|       |    #else  // !Py_BUILD_CORE
  130|       |    #  define KWTUPLE NULL
  131|       |    #endif  // !Py_BUILD_CORE
  132|       |
  133|    806|    static const char * const _keywords[] = {"fget", "fset", "fdel", "doc", NULL};
  134|    806|    static _PyArg_Parser _parser = {
  135|    806|        .keywords = _keywords,
  136|    806|        .fname = "property",
  137|    806|        .kwtuple = KWTUPLE,
  ------------------
  |  |  127|    806|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  138|    806|    };
  139|    806|    #undef KWTUPLE
  140|    806|    PyObject *argsbuf[4];
  141|    806|    PyObject * const *fastargs;
  142|    806|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    806|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|    806|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (143:36): [True: 0, False: 806]
  ------------------
  144|    806|    PyObject *fget = NULL;
  145|    806|    PyObject *fset = NULL;
  146|    806|    PyObject *fdel = NULL;
  147|    806|    PyObject *doc = NULL;
  148|       |
  149|    806|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    806|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 806, Folded]
  |  |  |  Branch (88:23): [True: 806, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    806|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 806, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 806]
  |  |  |  Branch (89:43): [True: 806, False: 0]
  |  |  |  Branch (89:67): [True: 806, False: 0]
  |  |  ------------------
  |  |   90|    806|      (args) : \
  |  |   91|    806|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  150|    806|            /*minpos*/ 0, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  151|    806|    if (!fastargs) {
  ------------------
  |  Branch (151:9): [True: 0, False: 806]
  ------------------
  152|      0|        goto exit;
  153|      0|    }
  154|    806|    if (!noptargs) {
  ------------------
  |  Branch (154:9): [True: 0, False: 806]
  ------------------
  155|      0|        goto skip_optional_pos;
  156|      0|    }
  157|    806|    if (fastargs[0]) {
  ------------------
  |  Branch (157:9): [True: 806, False: 0]
  ------------------
  158|    806|        fget = fastargs[0];
  159|    806|        if (!--noptargs) {
  ------------------
  |  Branch (159:13): [True: 714, False: 92]
  ------------------
  160|    714|            goto skip_optional_pos;
  161|    714|        }
  162|    806|    }
  163|     92|    if (fastargs[1]) {
  ------------------
  |  Branch (163:9): [True: 92, False: 0]
  ------------------
  164|     92|        fset = fastargs[1];
  165|     92|        if (!--noptargs) {
  ------------------
  |  Branch (165:13): [True: 22, False: 70]
  ------------------
  166|     22|            goto skip_optional_pos;
  167|     22|        }
  168|     92|    }
  169|     70|    if (fastargs[2]) {
  ------------------
  |  Branch (169:9): [True: 70, False: 0]
  ------------------
  170|     70|        fdel = fastargs[2];
  171|     70|        if (!--noptargs) {
  ------------------
  |  Branch (171:13): [True: 2, False: 68]
  ------------------
  172|      2|            goto skip_optional_pos;
  173|      2|        }
  174|     70|    }
  175|     68|    doc = fastargs[3];
  176|    806|skip_optional_pos:
  177|    806|    return_value = property_init_impl((propertyobject *)self, fget, fset, fdel, doc);
  178|       |
  179|    806|exit:
  180|    806|    return return_value;
  181|    806|}

dictobject.c:dict___contains__:
   74|    194|{
   75|    194|    PyObject *return_value = NULL;
   76|       |
   77|    194|    return_value = dict___contains___impl((PyDictObject *)self, key);
   78|       |
   79|    194|    return return_value;
   80|    194|}
dictobject.c:dict_get:
   96|   741k|{
   97|   741k|    PyObject *return_value = NULL;
   98|   741k|    PyObject *key;
   99|   741k|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|   741k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  100|       |
  101|   741k|    if (!_PyArg_CheckPositional("get", nargs, 1, 2)) {
  ------------------
  |  |   31|   741k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 741k, False: 0]
  |  |  |  Branch (31:27): [True: 741k, False: 0]
  |  |  ------------------
  |  |   32|   741k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|   741k|    key = args[0];
  105|   741k|    if (nargs < 2) {
  ------------------
  |  Branch (105:9): [True: 80.4k, False: 661k]
  ------------------
  106|  80.4k|        goto skip_optional;
  107|  80.4k|    }
  108|   661k|    default_value = args[1];
  109|   741k|skip_optional:
  110|   741k|    return_value = dict_get_impl((PyDictObject *)self, key, default_value);
  111|       |
  112|   741k|exit:
  113|   741k|    return return_value;
  114|   741k|}
dictobject.c:dict_setdefault:
  133|  35.8k|{
  134|  35.8k|    PyObject *return_value = NULL;
  135|  35.8k|    PyObject *key;
  136|  35.8k|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|  35.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  137|       |
  138|  35.8k|    if (!_PyArg_CheckPositional("setdefault", nargs, 1, 2)) {
  ------------------
  |  |   31|  35.8k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 35.8k, False: 0]
  |  |  |  Branch (31:27): [True: 35.8k, False: 0]
  |  |  ------------------
  |  |   32|  35.8k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  139|      0|        goto exit;
  140|      0|    }
  141|  35.8k|    key = args[0];
  142|  35.8k|    if (nargs < 2) {
  ------------------
  |  Branch (142:9): [True: 0, False: 35.8k]
  ------------------
  143|      0|        goto skip_optional;
  144|      0|    }
  145|  35.8k|    default_value = args[1];
  146|  35.8k|skip_optional:
  147|  35.8k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  35.8k|    {
  ------------------
  148|  35.8k|    return_value = dict_setdefault_impl((PyDictObject *)self, key, default_value);
  149|  35.8k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  35.8k|    }
  ------------------
  150|       |
  151|  35.8k|exit:
  152|  35.8k|    return return_value;
  153|  35.8k|}
dictobject.c:dict_pop:
  190|  1.20k|{
  191|  1.20k|    PyObject *return_value = NULL;
  192|  1.20k|    PyObject *key;
  193|  1.20k|    PyObject *default_value = NULL;
  194|       |
  195|  1.20k|    if (!_PyArg_CheckPositional("pop", nargs, 1, 2)) {
  ------------------
  |  |   31|  1.20k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.20k, False: 0]
  |  |  |  Branch (31:27): [True: 1.20k, False: 0]
  |  |  ------------------
  |  |   32|  1.20k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  196|      0|        goto exit;
  197|      0|    }
  198|  1.20k|    key = args[0];
  199|  1.20k|    if (nargs < 2) {
  ------------------
  |  Branch (199:9): [True: 660, False: 540]
  ------------------
  200|    660|        goto skip_optional;
  201|    660|    }
  202|    540|    default_value = args[1];
  203|  1.20k|skip_optional:
  204|  1.20k|    return_value = dict_pop_impl((PyDictObject *)self, key, default_value);
  205|       |
  206|  1.20k|exit:
  207|  1.20k|    return return_value;
  208|  1.20k|}
dictobject.c:dict_popitem:
  227|   421k|{
  228|   421k|    PyObject *return_value = NULL;
  229|       |
  230|   421k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   421k|    {
  ------------------
  231|   421k|    return_value = dict_popitem_impl((PyDictObject *)self);
  232|   421k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   421k|    }
  ------------------
  233|       |
  234|   421k|    return return_value;
  235|   421k|}
dictobject.c:dict_keys:
  287|    352|{
  288|    352|    return dict_keys_impl((PyDictObject *)self);
  289|    352|}
dictobject.c:dict_items:
  305|   465k|{
  306|   465k|    return dict_items_impl((PyDictObject *)self);
  307|   465k|}
dictobject.c:dict_values:
  323|   120k|{
  324|   120k|    return dict_values_impl((PyDictObject *)self);
  325|   120k|}
dictobject.c:dict_fromkeys:
   22|    246|{
   23|    246|    PyObject *return_value = NULL;
   24|    246|    PyObject *iterable;
   25|    246|    PyObject *value = Py_None;
  ------------------
  |  |  616|    246|#  define Py_None (&_Py_NoneStruct)
  ------------------
   26|       |
   27|    246|    if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) {
  ------------------
  |  |   31|    246|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 246, False: 0]
  |  |  |  Branch (31:27): [True: 246, False: 0]
  |  |  ------------------
  |  |   32|    246|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   28|      0|        goto exit;
   29|      0|    }
   30|    246|    iterable = args[0];
   31|    246|    if (nargs < 2) {
  ------------------
  |  Branch (31:9): [True: 242, False: 4]
  ------------------
   32|    242|        goto skip_optional;
   33|    242|    }
   34|      4|    value = args[1];
   35|    246|skip_optional:
   36|    246|    return_value = dict_fromkeys_impl((PyTypeObject *)type, iterable, value);
   37|       |
   38|    246|exit:
   39|    246|    return return_value;
   40|    246|}
dictobject.c:dict_clear:
  169|  3.90k|{
  170|  3.90k|    return dict_clear_impl((PyDictObject *)self);
  171|  3.90k|}
dictobject.c:dict_copy:
   56|  9.77k|{
   57|  9.77k|    return dict_copy_impl((PyDictObject *)self);
   58|  9.77k|}

exceptions.c:BaseException___traceback___set:
  200|  23.3k|{
  201|  23.3k|    int return_value;
  202|       |
  203|  23.3k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  23.3k|    {
  ------------------
  204|  23.3k|    return_value = BaseException___traceback___set_impl((PyBaseExceptionObject *)self, value);
  205|  23.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  23.3k|    }
  ------------------
  206|       |
  207|  23.3k|    return return_value;
  208|  23.3k|}

frameobject.c:frame_back_get:
  208|    546|{
  209|    546|    PyObject *return_value = NULL;
  210|       |
  211|    546|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    546|    {
  ------------------
  212|    546|    return_value = frame_back_get_impl((PyFrameObject *)self);
  213|    546|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    546|    }
  ------------------
  214|       |
  215|    546|    return return_value;
  216|    546|}
frameobject.c:frame_locals_get:
   29|      2|{
   30|      2|    PyObject *return_value = NULL;
   31|       |
   32|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
   33|      2|    return_value = frame_locals_get_impl((PyFrameObject *)self);
   34|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
   35|       |
   36|      2|    return return_value;
   37|      2|}

funcobject.c:function___annotations___get:
   91|  8.08k|{
   92|  8.08k|    PyObject *return_value = NULL;
   93|       |
   94|  8.08k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.08k|    {
  ------------------
   95|  8.08k|    return_value = function___annotations___get_impl((PyFunctionObject *)self);
   96|  8.08k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.08k|    }
  ------------------
   97|       |
   98|  8.08k|    return return_value;
   99|  8.08k|}
funcobject.c:function___annotations___set:
  116|  4.03k|{
  117|  4.03k|    int return_value;
  118|       |
  119|  4.03k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.03k|    {
  ------------------
  120|  4.03k|    return_value = function___annotations___set_impl((PyFunctionObject *)self, value);
  121|  4.03k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.03k|    }
  ------------------
  122|       |
  123|  4.03k|    return return_value;
  124|  4.03k|}
funcobject.c:function___annotate___get:
   34|  4.30k|{
   35|  4.30k|    PyObject *return_value = NULL;
   36|       |
   37|  4.30k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.30k|    {
  ------------------
   38|  4.30k|    return_value = function___annotate___get_impl((PyFunctionObject *)self);
   39|  4.30k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.30k|    }
  ------------------
   40|       |
   41|  4.30k|    return return_value;
   42|  4.30k|}
funcobject.c:function___annotate___set:
   59|  4.22k|{
   60|  4.22k|    int return_value;
   61|       |
   62|  4.22k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.22k|    {
  ------------------
   63|  4.22k|    return_value = function___annotate___set_impl((PyFunctionObject *)self, value);
   64|  4.22k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.22k|    }
  ------------------
   65|       |
   66|  4.22k|    return return_value;
   67|  4.22k|}
funcobject.c:function___type_params___get:
  148|  4.26k|{
  149|  4.26k|    PyObject *return_value = NULL;
  150|       |
  151|  4.26k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.26k|    {
  ------------------
  152|  4.26k|    return_value = function___type_params___get_impl((PyFunctionObject *)self);
  153|  4.26k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.26k|    }
  ------------------
  154|       |
  155|  4.26k|    return return_value;
  156|  4.26k|}
funcobject.c:function___type_params___set:
  173|  4.17k|{
  174|  4.17k|    int return_value;
  175|       |
  176|  4.17k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.17k|    {
  ------------------
  177|  4.17k|    return_value = function___type_params___set_impl((PyFunctionObject *)self, value);
  178|  4.17k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.17k|    }
  ------------------
  179|       |
  180|  4.17k|    return return_value;
  181|  4.17k|}
funcobject.c:func_new:
  210|     18|{
  211|     18|    PyObject *return_value = NULL;
  212|     18|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  213|       |
  214|     18|    #define NUM_KEYWORDS 6
  215|     18|    static struct {
  216|     18|        PyGC_Head _this_is_not_used;
  217|     18|        PyObject_VAR_HEAD
  218|     18|        Py_hash_t ob_hash;
  219|     18|        PyObject *ob_item[NUM_KEYWORDS];
  220|     18|    } _kwtuple = {
  221|     18|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     18|    {                                     \
  |  |   98|     18|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     18|    {                               \
  |  |  |  |   91|     18|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     18|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     18|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     18|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     18|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     18|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     18|        (type)                      \
  |  |  |  |   93|     18|    },
  |  |  ------------------
  |  |   99|     18|        (size)                            \
  |  |  100|     18|    },
  ------------------
  222|     18|        .ob_hash = -1,
  223|     18|        .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(code), &_Py_ID(globals), &_Py_ID(name), &_Py_ID(argdefs), &_Py_ID(closure), &_Py_ID(kwdefaults), },
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|     18|    };
  225|     18|    #undef NUM_KEYWORDS
  226|     18|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  227|       |
  228|       |    #else  // !Py_BUILD_CORE
  229|       |    #  define KWTUPLE NULL
  230|       |    #endif  // !Py_BUILD_CORE
  231|       |
  232|     18|    static const char * const _keywords[] = {"code", "globals", "name", "argdefs", "closure", "kwdefaults", NULL};
  233|     18|    static _PyArg_Parser _parser = {
  234|     18|        .keywords = _keywords,
  235|     18|        .fname = "function",
  236|     18|        .kwtuple = KWTUPLE,
  ------------------
  |  |  226|     18|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  237|     18|    };
  238|     18|    #undef KWTUPLE
  239|     18|    PyObject *argsbuf[6];
  240|     18|    PyObject * const *fastargs;
  241|     18|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     18|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|     18|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 2;
  ------------------
  |  |   63|     18|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (242:36): [True: 18, False: 0]
  ------------------
  243|     18|    PyCodeObject *code;
  244|     18|    PyObject *globals;
  245|     18|    PyObject *name = Py_None;
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  246|     18|    PyObject *defaults = Py_None;
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  247|     18|    PyObject *closure = Py_None;
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  248|     18|    PyObject *kwdefaults = Py_None;
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  249|       |
  250|     18|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     18|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 18, Folded]
  |  |  |  Branch (88:23): [True: 0, False: 18]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     18|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 0, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 0]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   90|     18|      (args) : \
  |  |   91|     18|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     18|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  251|     18|            /*minpos*/ 2, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  252|     18|    if (!fastargs) {
  ------------------
  |  Branch (252:9): [True: 0, False: 18]
  ------------------
  253|      0|        goto exit;
  254|      0|    }
  255|     18|    if (!PyObject_TypeCheck(fastargs[0], &PyCode_Type)) {
  ------------------
  |  |  378|     18|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (255:9): [True: 0, False: 18]
  ------------------
  256|      0|        _PyArg_BadArgument("function", "argument 'code'", (&PyCode_Type)->tp_name, fastargs[0]);
  257|      0|        goto exit;
  258|      0|    }
  259|     18|    code = (PyCodeObject *)fastargs[0];
  260|     18|    if (!PyDict_Check(fastargs[1])) {
  ------------------
  |  |   18|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (260:9): [True: 0, False: 18]
  ------------------
  261|      0|        _PyArg_BadArgument("function", "argument 'globals'", "dict", fastargs[1]);
  262|      0|        goto exit;
  263|      0|    }
  264|     18|    globals = fastargs[1];
  265|     18|    if (!noptargs) {
  ------------------
  |  Branch (265:9): [True: 0, False: 18]
  ------------------
  266|      0|        goto skip_optional_pos;
  267|      0|    }
  268|     18|    if (fastargs[2]) {
  ------------------
  |  Branch (268:9): [True: 0, False: 18]
  ------------------
  269|      0|        name = fastargs[2];
  270|      0|        if (!--noptargs) {
  ------------------
  |  Branch (270:13): [True: 0, False: 0]
  ------------------
  271|      0|            goto skip_optional_pos;
  272|      0|        }
  273|      0|    }
  274|     18|    if (fastargs[3]) {
  ------------------
  |  Branch (274:9): [True: 18, False: 0]
  ------------------
  275|     18|        defaults = fastargs[3];
  276|     18|        if (!--noptargs) {
  ------------------
  |  Branch (276:13): [True: 0, False: 18]
  ------------------
  277|      0|            goto skip_optional_pos;
  278|      0|        }
  279|     18|    }
  280|     18|    if (fastargs[4]) {
  ------------------
  |  Branch (280:9): [True: 18, False: 0]
  ------------------
  281|     18|        closure = fastargs[4];
  282|     18|        if (!--noptargs) {
  ------------------
  |  Branch (282:13): [True: 0, False: 18]
  ------------------
  283|      0|            goto skip_optional_pos;
  284|      0|        }
  285|     18|    }
  286|     18|    kwdefaults = fastargs[5];
  287|     18|skip_optional_pos:
  288|     18|    return_value = func_new_impl(type, code, globals, name, defaults, closure, kwdefaults);
  289|       |
  290|     18|exit:
  291|     18|    return return_value;
  292|     18|}

listobject.c:list_extend:
  142|  2.59M|{
  143|  2.59M|    PyObject *return_value = NULL;
  144|       |
  145|  2.59M|    return_value = list_extend_impl((PyListObject *)self, iterable);
  146|       |
  147|  2.59M|    return return_value;
  148|  2.59M|}
listobject.c:list___reversed__:
  468|    384|{
  469|    384|    return list___reversed___impl((PyListObject *)self);
  470|    384|}
listobject.c:py_list_clear:
   70|    340|{
   71|    340|    PyObject *return_value = NULL;
   72|       |
   73|    340|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    340|    {
  ------------------
   74|    340|    return_value = py_list_clear_impl((PyListObject *)self);
   75|    340|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    340|    }
  ------------------
   76|       |
   77|    340|    return return_value;
   78|    340|}
listobject.c:list_append:
  118|  9.21k|{
  119|  9.21k|    PyObject *return_value = NULL;
  120|       |
  121|  9.21k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  9.21k|    {
  ------------------
  122|  9.21k|    return_value = list_append_impl((PyListObject *)self, object);
  123|  9.21k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  9.21k|    }
  ------------------
  124|       |
  125|  9.21k|    return return_value;
  126|  9.21k|}
listobject.c:list_insert:
   27|     28|{
   28|     28|    PyObject *return_value = NULL;
   29|     28|    Py_ssize_t index;
   30|     28|    PyObject *object;
   31|       |
   32|     28|    if (!_PyArg_CheckPositional("insert", nargs, 2, 2)) {
  ------------------
  |  |   31|     28|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 28, False: 0]
  |  |  |  Branch (31:27): [True: 28, False: 0]
  |  |  ------------------
  |  |   32|     28|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   33|      0|        goto exit;
   34|      0|    }
   35|     28|    {
   36|     28|        Py_ssize_t ival = -1;
   37|     28|        PyObject *iobj = _PyNumber_Index(args[0]);
   38|     28|        if (iobj != NULL) {
  ------------------
  |  Branch (38:13): [True: 28, False: 0]
  ------------------
   39|     28|            ival = PyLong_AsSsize_t(iobj);
   40|     28|            Py_DECREF(iobj);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|     28|        }
   42|     28|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (42:13): [True: 0, False: 28]
  |  Branch (42:27): [True: 0, False: 0]
  ------------------
   43|      0|            goto exit;
   44|      0|        }
   45|     28|        index = ival;
   46|     28|    }
   47|      0|    object = args[1];
   48|     28|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     28|    {
  ------------------
   49|     28|    return_value = list_insert_impl((PyListObject *)self, index, object);
   50|     28|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     28|    }
  ------------------
   51|       |
   52|     28|exit:
   53|     28|    return return_value;
   54|     28|}
listobject.c:list_pop:
  166|   264k|{
  167|   264k|    PyObject *return_value = NULL;
  168|   264k|    Py_ssize_t index = -1;
  169|       |
  170|   264k|    if (!_PyArg_CheckPositional("pop", nargs, 0, 1)) {
  ------------------
  |  |   31|   264k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 264k, False: 0]
  |  |  |  Branch (31:27): [True: 264k, False: 0]
  |  |  ------------------
  |  |   32|   264k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|   264k|    if (nargs < 1) {
  ------------------
  |  Branch (173:9): [True: 264k, False: 0]
  ------------------
  174|   264k|        goto skip_optional;
  175|   264k|    }
  176|      0|    {
  177|      0|        Py_ssize_t ival = -1;
  178|      0|        PyObject *iobj = _PyNumber_Index(args[0]);
  179|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (179:13): [True: 0, False: 0]
  ------------------
  180|      0|            ival = PyLong_AsSsize_t(iobj);
  181|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|        }
  183|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  |  Branch (183:27): [True: 0, False: 0]
  ------------------
  184|      0|            goto exit;
  185|      0|        }
  186|      0|        index = ival;
  187|      0|    }
  188|   264k|skip_optional:
  189|   264k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   264k|    {
  ------------------
  190|   264k|    return_value = list_pop_impl((PyListObject *)self, index);
  191|   264k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   264k|    }
  ------------------
  192|       |
  193|   264k|exit:
  194|   264k|    return return_value;
  195|   264k|}
listobject.c:list_remove:
  388|  1.58k|{
  389|  1.58k|    PyObject *return_value = NULL;
  390|       |
  391|  1.58k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.58k|    {
  ------------------
  392|  1.58k|    return_value = list_remove_impl((PyListObject *)self, value);
  393|  1.58k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.58k|    }
  ------------------
  394|       |
  395|  1.58k|    return return_value;
  396|  1.58k|}
listobject.c:list_count:
  364|     12|{
  365|     12|    PyObject *return_value = NULL;
  366|       |
  367|     12|    return_value = list_count_impl((PyListObject *)self, value);
  368|       |
  369|     12|    return return_value;
  370|     12|}
listobject.c:list_sort:
  219|  1.21M|{
  220|  1.21M|    PyObject *return_value = NULL;
  221|  1.21M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|  1.21M|    #define NUM_KEYWORDS 2
  224|  1.21M|    static struct {
  225|  1.21M|        PyGC_Head _this_is_not_used;
  226|  1.21M|        PyObject_VAR_HEAD
  227|  1.21M|        Py_hash_t ob_hash;
  228|  1.21M|        PyObject *ob_item[NUM_KEYWORDS];
  229|  1.21M|    } _kwtuple = {
  230|  1.21M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.21M|    {                                     \
  |  |   98|  1.21M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.21M|    {                               \
  |  |  |  |   91|  1.21M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.21M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.21M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.21M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.21M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.21M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.21M|        (type)                      \
  |  |  |  |   93|  1.21M|    },
  |  |  ------------------
  |  |   99|  1.21M|        (size)                            \
  |  |  100|  1.21M|    },
  ------------------
  231|  1.21M|        .ob_hash = -1,
  232|  1.21M|        .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  919|  1.21M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.21M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.21M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  919|  1.21M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.21M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.21M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|  1.21M|    };
  234|  1.21M|    #undef NUM_KEYWORDS
  235|  1.21M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|  1.21M|    static const char * const _keywords[] = {"key", "reverse", NULL};
  242|  1.21M|    static _PyArg_Parser _parser = {
  243|  1.21M|        .keywords = _keywords,
  244|  1.21M|        .fname = "sort",
  245|  1.21M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|  1.21M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|  1.21M|    };
  247|  1.21M|    #undef KWTUPLE
  248|  1.21M|    PyObject *argsbuf[2];
  249|  1.21M|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|    105|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (249:36): [True: 105, False: 1.21M]
  ------------------
  250|  1.21M|    PyObject *keyfunc = Py_None;
  ------------------
  |  |  616|  1.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  251|  1.21M|    int reverse = 0;
  252|       |
  253|  1.21M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.21M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.21M, False: 105]
  |  |  ------------------
  |  |   89|  1.21M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.21M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.21M]
  |  |  |  Branch (89:43): [True: 1.21M, False: 0]
  |  |  |  Branch (89:67): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |   90|  1.21M|      (args) : \
  |  |   91|  1.21M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|    105|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|  1.21M|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|  1.21M|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 1.21M]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|  1.21M|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 1.21M, False: 105]
  ------------------
  259|  1.21M|        goto skip_optional_kwonly;
  260|  1.21M|    }
  261|    105|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 45, False: 60]
  ------------------
  262|     45|        keyfunc = args[0];
  263|     45|        if (!--noptargs) {
  ------------------
  |  Branch (263:13): [True: 45, False: 0]
  ------------------
  264|     45|            goto skip_optional_kwonly;
  265|     45|        }
  266|     45|    }
  267|     60|    reverse = PyObject_IsTrue(args[1]);
  268|     60|    if (reverse < 0) {
  ------------------
  |  Branch (268:9): [True: 0, False: 60]
  ------------------
  269|      0|        goto exit;
  270|      0|    }
  271|  1.21M|skip_optional_kwonly:
  272|  1.21M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.21M|    {
  ------------------
  273|  1.21M|    return_value = list_sort_impl((PyListObject *)self, keyfunc, reverse);
  274|  1.21M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.21M|    }
  ------------------
  275|       |
  276|  1.21M|exit:
  277|  1.21M|    return return_value;
  278|  1.21M|}
listobject.c:list___init__:
  412|  1.57k|{
  413|  1.57k|    int return_value = -1;
  414|  1.57k|    PyTypeObject *base_tp = &PyList_Type;
  415|  1.57k|    PyObject *iterable = NULL;
  416|       |
  417|  1.57k|    if ((Py_IS_TYPE(self, base_tp) ||
  ------------------
  |  |  215|  3.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 1.57k]
  |  |  ------------------
  ------------------
  418|  1.57k|         Py_TYPE(self)->tp_new == base_tp->tp_new) &&
  ------------------
  |  |  213|  1.57k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:10): [True: 1.57k, False: 0]
  ------------------
  419|  1.57k|        !_PyArg_NoKeywords("list", kwargs)) {
  ------------------
  |  |   25|  1.57k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 1.57k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  420|      0|        goto exit;
  421|      0|    }
  422|  1.57k|    if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|  1.57k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.57k, False: 0]
  |  |  |  Branch (31:27): [True: 1.57k, False: 0]
  |  |  ------------------
  |  |   32|  1.57k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  423|      0|        goto exit;
  424|      0|    }
  425|  1.57k|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|  1.57k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (425:9): [True: 1.57k, False: 0]
  ------------------
  426|  1.57k|        goto skip_optional;
  427|  1.57k|    }
  428|      0|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|  1.57k|skip_optional:
  430|  1.57k|    return_value = list___init___impl((PyListObject *)self, iterable);
  431|       |
  432|  1.57k|exit:
  433|  1.57k|    return return_value;
  434|  1.57k|}

longobject.c:int_bit_length:
  202|  1.23M|{
  203|  1.23M|    return int_bit_length_impl(self);
  204|  1.23M|}
longobject.c:int_to_bytes:
  289|   196k|{
  290|   196k|    PyObject *return_value = NULL;
  291|   196k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  292|       |
  293|   196k|    #define NUM_KEYWORDS 3
  294|   196k|    static struct {
  295|   196k|        PyGC_Head _this_is_not_used;
  296|   196k|        PyObject_VAR_HEAD
  297|   196k|        Py_hash_t ob_hash;
  298|   196k|        PyObject *ob_item[NUM_KEYWORDS];
  299|   196k|    } _kwtuple = {
  300|   196k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|   196k|    {                                     \
  |  |   98|   196k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|   196k|    {                               \
  |  |  |  |   91|   196k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|   196k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   196k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|   196k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|   196k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|   196k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|   196k|        (type)                      \
  |  |  |  |   93|   196k|    },
  |  |  ------------------
  |  |   99|   196k|        (size)                            \
  |  |  100|   196k|    },
  ------------------
  301|   196k|        .ob_hash = -1,
  302|   196k|        .ob_item = { &_Py_ID(length), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|   196k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   196k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   196k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(length), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|   196k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   196k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   196k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(length), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|   196k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   196k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   196k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|   196k|    };
  304|   196k|    #undef NUM_KEYWORDS
  305|   196k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  306|       |
  307|       |    #else  // !Py_BUILD_CORE
  308|       |    #  define KWTUPLE NULL
  309|       |    #endif  // !Py_BUILD_CORE
  310|       |
  311|   196k|    static const char * const _keywords[] = {"length", "byteorder", "signed", NULL};
  312|   196k|    static _PyArg_Parser _parser = {
  313|   196k|        .keywords = _keywords,
  314|   196k|        .fname = "to_bytes",
  315|   196k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  305|   196k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  316|   196k|    };
  317|   196k|    #undef KWTUPLE
  318|   196k|    PyObject *argsbuf[3];
  319|   196k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|  77.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (319:36): [True: 77.2k, False: 119k]
  ------------------
  320|   196k|    Py_ssize_t length = 1;
  321|   196k|    PyObject *byteorder = NULL;
  322|   196k|    int is_signed = 0;
  323|       |
  324|   196k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|   196k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 119k, False: 77.2k]
  |  |  ------------------
  |  |   89|   196k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 119k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 119k]
  |  |  |  Branch (89:43): [True: 119k, False: 0]
  |  |  |  Branch (89:67): [True: 119k, False: 0]
  |  |  ------------------
  |  |   90|   196k|      (args) : \
  |  |   91|   196k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  77.2k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  325|   196k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  326|   196k|    if (!args) {
  ------------------
  |  Branch (326:9): [True: 0, False: 196k]
  ------------------
  327|      0|        goto exit;
  328|      0|    }
  329|   196k|    if (!noptargs) {
  ------------------
  |  Branch (329:9): [True: 0, False: 196k]
  ------------------
  330|      0|        goto skip_optional_pos;
  331|      0|    }
  332|   196k|    if (args[0]) {
  ------------------
  |  Branch (332:9): [True: 196k, False: 0]
  ------------------
  333|   196k|        {
  334|   196k|            Py_ssize_t ival = -1;
  335|   196k|            PyObject *iobj = _PyNumber_Index(args[0]);
  336|   196k|            if (iobj != NULL) {
  ------------------
  |  Branch (336:17): [True: 196k, False: 0]
  ------------------
  337|   196k|                ival = PyLong_AsSsize_t(iobj);
  338|   196k|                Py_DECREF(iobj);
  ------------------
  |  |  430|   196k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|   196k|            }
  340|   196k|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (340:17): [True: 0, False: 196k]
  |  Branch (340:31): [True: 0, False: 0]
  ------------------
  341|      0|                goto exit;
  342|      0|            }
  343|   196k|            length = ival;
  344|   196k|            if (length < 0) {
  ------------------
  |  Branch (344:17): [True: 0, False: 196k]
  ------------------
  345|      0|                PyErr_SetString(PyExc_ValueError,
  346|      0|                                "length cannot be negative");
  347|      0|                goto exit;
  348|      0|            }
  349|   196k|        }
  350|   196k|        if (!--noptargs) {
  ------------------
  |  Branch (350:13): [True: 0, False: 196k]
  ------------------
  351|      0|            goto skip_optional_pos;
  352|      0|        }
  353|   196k|    }
  354|   196k|    if (args[1]) {
  ------------------
  |  Branch (354:9): [True: 196k, False: 0]
  ------------------
  355|   196k|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|   196k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   196k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (355:13): [True: 0, False: 196k]
  ------------------
  356|      0|            _PyArg_BadArgument("to_bytes", "argument 'byteorder'", "str", args[1]);
  357|      0|            goto exit;
  358|      0|        }
  359|   196k|        byteorder = args[1];
  360|   196k|        if (!--noptargs) {
  ------------------
  |  Branch (360:13): [True: 119k, False: 77.2k]
  ------------------
  361|   119k|            goto skip_optional_pos;
  362|   119k|        }
  363|   196k|    }
  364|   196k|skip_optional_pos:
  365|   196k|    if (!noptargs) {
  ------------------
  |  Branch (365:9): [True: 119k, False: 77.2k]
  ------------------
  366|   119k|        goto skip_optional_kwonly;
  367|   119k|    }
  368|  77.2k|    is_signed = PyObject_IsTrue(args[2]);
  369|  77.2k|    if (is_signed < 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 77.2k]
  ------------------
  370|      0|        goto exit;
  371|      0|    }
  372|   196k|skip_optional_kwonly:
  373|   196k|    return_value = int_to_bytes_impl(self, length, byteorder, is_signed);
  374|       |
  375|   196k|exit:
  376|   196k|    return return_value;
  377|   196k|}
longobject.c:int_from_bytes:
  410|  8.06M|{
  411|  8.06M|    PyObject *return_value = NULL;
  412|  8.06M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  413|       |
  414|  8.06M|    #define NUM_KEYWORDS 3
  415|  8.06M|    static struct {
  416|  8.06M|        PyGC_Head _this_is_not_used;
  417|  8.06M|        PyObject_VAR_HEAD
  418|  8.06M|        Py_hash_t ob_hash;
  419|  8.06M|        PyObject *ob_item[NUM_KEYWORDS];
  420|  8.06M|    } _kwtuple = {
  421|  8.06M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  8.06M|    {                                     \
  |  |   98|  8.06M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  8.06M|    {                               \
  |  |  |  |   91|  8.06M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  8.06M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.06M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  8.06M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  8.06M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  8.06M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  8.06M|        (type)                      \
  |  |  |  |   93|  8.06M|    },
  |  |  ------------------
  |  |   99|  8.06M|        (size)                            \
  |  |  100|  8.06M|    },
  ------------------
  422|  8.06M|        .ob_hash = -1,
  423|  8.06M|        .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|  8.06M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.06M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.06M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|  8.06M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.06M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.06M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  919|  8.06M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.06M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.06M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|  8.06M|    };
  425|  8.06M|    #undef NUM_KEYWORDS
  426|  8.06M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  427|       |
  428|       |    #else  // !Py_BUILD_CORE
  429|       |    #  define KWTUPLE NULL
  430|       |    #endif  // !Py_BUILD_CORE
  431|       |
  432|  8.06M|    static const char * const _keywords[] = {"bytes", "byteorder", "signed", NULL};
  433|  8.06M|    static _PyArg_Parser _parser = {
  434|  8.06M|        .keywords = _keywords,
  435|  8.06M|        .fname = "from_bytes",
  436|  8.06M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  426|  8.06M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  437|  8.06M|    };
  438|  8.06M|    #undef KWTUPLE
  439|  8.06M|    PyObject *argsbuf[3];
  440|  8.06M|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (440:36): [True: 0, False: 8.06M]
  ------------------
  441|  8.06M|    PyObject *bytes_obj;
  442|  8.06M|    PyObject *byteorder = NULL;
  443|  8.06M|    int is_signed = 0;
  444|       |
  445|  8.06M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  8.06M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 8.06M, False: 0]
  |  |  ------------------
  |  |   89|  8.06M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8.06M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8.06M]
  |  |  |  Branch (89:43): [True: 8.06M, False: 0]
  |  |  |  Branch (89:67): [True: 8.06M, False: 0]
  |  |  ------------------
  |  |   90|  8.06M|      (args) : \
  |  |   91|  8.06M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  446|  8.06M|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  447|  8.06M|    if (!args) {
  ------------------
  |  Branch (447:9): [True: 0, False: 8.06M]
  ------------------
  448|      0|        goto exit;
  449|      0|    }
  450|  8.06M|    bytes_obj = args[0];
  451|  8.06M|    if (!noptargs) {
  ------------------
  |  Branch (451:9): [True: 0, False: 8.06M]
  ------------------
  452|      0|        goto skip_optional_pos;
  453|      0|    }
  454|  8.06M|    if (args[1]) {
  ------------------
  |  Branch (454:9): [True: 8.06M, False: 0]
  ------------------
  455|  8.06M|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  8.06M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.06M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:13): [True: 0, False: 8.06M]
  ------------------
  456|      0|            _PyArg_BadArgument("from_bytes", "argument 'byteorder'", "str", args[1]);
  457|      0|            goto exit;
  458|      0|        }
  459|  8.06M|        byteorder = args[1];
  460|  8.06M|        if (!--noptargs) {
  ------------------
  |  Branch (460:13): [True: 8.06M, False: 0]
  ------------------
  461|  8.06M|            goto skip_optional_pos;
  462|  8.06M|        }
  463|  8.06M|    }
  464|  8.06M|skip_optional_pos:
  465|  8.06M|    if (!noptargs) {
  ------------------
  |  Branch (465:9): [True: 8.06M, False: 0]
  ------------------
  466|  8.06M|        goto skip_optional_kwonly;
  467|  8.06M|    }
  468|      0|    is_signed = PyObject_IsTrue(args[2]);
  469|      0|    if (is_signed < 0) {
  ------------------
  |  Branch (469:9): [True: 0, False: 0]
  ------------------
  470|      0|        goto exit;
  471|      0|    }
  472|  8.06M|skip_optional_kwonly:
  473|  8.06M|    return_value = int_from_bytes_impl((PyTypeObject *)type, bytes_obj, byteorder, is_signed);
  474|       |
  475|  8.06M|exit:
  476|  8.06M|    return return_value;
  477|  8.06M|}
longobject.c:long_new:
   17|    876|{
   18|    876|    PyObject *return_value = NULL;
   19|    876|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   20|       |
   21|    876|    #define NUM_KEYWORDS 1
   22|    876|    static struct {
   23|    876|        PyGC_Head _this_is_not_used;
   24|    876|        PyObject_VAR_HEAD
   25|    876|        Py_hash_t ob_hash;
   26|    876|        PyObject *ob_item[NUM_KEYWORDS];
   27|    876|    } _kwtuple = {
   28|    876|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    876|    {                                     \
  |  |   98|    876|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    876|    {                               \
  |  |  |  |   91|    876|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    876|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    876|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    876|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    876|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    876|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    876|        (type)                      \
  |  |  |  |   93|    876|    },
  |  |  ------------------
  |  |   99|    876|        (size)                            \
  |  |  100|    876|    },
  ------------------
   29|    876|        .ob_hash = -1,
   30|    876|        .ob_item = { &_Py_ID(base), },
  ------------------
  |  |  919|    876|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    876|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    876|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|    876|    };
   32|    876|    #undef NUM_KEYWORDS
   33|    876|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   34|       |
   35|       |    #else  // !Py_BUILD_CORE
   36|       |    #  define KWTUPLE NULL
   37|       |    #endif  // !Py_BUILD_CORE
   38|       |
   39|    876|    static const char * const _keywords[] = {"", "base", NULL};
   40|    876|    static _PyArg_Parser _parser = {
   41|    876|        .keywords = _keywords,
   42|    876|        .fname = "int",
   43|    876|        .kwtuple = KWTUPLE,
  ------------------
  |  |   33|    876|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   44|    876|    };
   45|    876|    #undef KWTUPLE
   46|    876|    PyObject *argsbuf[2];
   47|    876|    PyObject * const *fastargs;
   48|    876|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    876|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    876|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    876|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|    876|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (49:36): [True: 0, False: 876]
  ------------------
   50|    876|    PyObject *x = NULL;
   51|    876|    PyObject *obase = NULL;
   52|       |
   53|    876|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    876|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 876, Folded]
  |  |  |  Branch (88:23): [True: 876, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    876|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 876, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 876]
  |  |  |  Branch (89:43): [True: 876, False: 0]
  |  |  |  Branch (89:67): [True: 876, False: 0]
  |  |  ------------------
  |  |   90|    876|      (args) : \
  |  |   91|    876|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   54|    876|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   55|    876|    if (!fastargs) {
  ------------------
  |  Branch (55:9): [True: 0, False: 876]
  ------------------
   56|      0|        goto exit;
   57|      0|    }
   58|    876|    if (nargs < 1) {
  ------------------
  |  Branch (58:9): [True: 2, False: 874]
  ------------------
   59|      2|        goto skip_optional_posonly;
   60|      2|    }
   61|    874|    noptargs--;
   62|    874|    x = fastargs[0];
   63|    876|skip_optional_posonly:
   64|    876|    if (!noptargs) {
  ------------------
  |  Branch (64:9): [True: 876, False: 0]
  ------------------
   65|    876|        goto skip_optional_pos;
   66|    876|    }
   67|      0|    obase = fastargs[1];
   68|    876|skip_optional_pos:
   69|    876|    return_value = long_new_impl(type, x, obase);
   70|       |
   71|    876|exit:
   72|    876|    return return_value;
   73|    876|}

memoryobject.c:memoryview_tolist:
  252|      6|{
  253|      6|    return memoryview_tolist_impl((PyMemoryViewObject *)self);
  254|      6|}
memoryobject.c:memoryview_cast:
  165|      6|{
  166|      6|    PyObject *return_value = NULL;
  167|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  168|       |
  169|      6|    #define NUM_KEYWORDS 2
  170|      6|    static struct {
  171|      6|        PyGC_Head _this_is_not_used;
  172|      6|        PyObject_VAR_HEAD
  173|      6|        Py_hash_t ob_hash;
  174|      6|        PyObject *ob_item[NUM_KEYWORDS];
  175|      6|    } _kwtuple = {
  176|      6|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      6|    {                                     \
  |  |   98|      6|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      6|    {                               \
  |  |  |  |   91|      6|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      6|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      6|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      6|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      6|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      6|        (type)                      \
  |  |  |  |   93|      6|    },
  |  |  ------------------
  |  |   99|      6|        (size)                            \
  |  |  100|      6|    },
  ------------------
  177|      6|        .ob_hash = -1,
  178|      6|        .ob_item = { &_Py_ID(format), &_Py_ID(shape), },
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(format), &_Py_ID(shape), },
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|      6|    };
  180|      6|    #undef NUM_KEYWORDS
  181|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  182|       |
  183|       |    #else  // !Py_BUILD_CORE
  184|       |    #  define KWTUPLE NULL
  185|       |    #endif  // !Py_BUILD_CORE
  186|       |
  187|      6|    static const char * const _keywords[] = {"format", "shape", NULL};
  188|      6|    static _PyArg_Parser _parser = {
  189|      6|        .keywords = _keywords,
  190|      6|        .fname = "cast",
  191|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  181|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  192|      6|    };
  193|      6|    #undef KWTUPLE
  194|      6|    PyObject *argsbuf[2];
  195|      6|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (195:36): [True: 0, False: 6]
  ------------------
  196|      6|    PyObject *format;
  197|      6|    PyObject *shape = NULL;
  198|       |
  199|      6|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 6, False: 0]
  |  |  ------------------
  |  |   89|      6|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 6, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 6]
  |  |  |  Branch (89:43): [True: 6, False: 0]
  |  |  |  Branch (89:67): [True: 6, False: 0]
  |  |  ------------------
  |  |   90|      6|      (args) : \
  |  |   91|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  200|      6|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  201|      6|    if (!args) {
  ------------------
  |  Branch (201:9): [True: 0, False: 6]
  ------------------
  202|      0|        goto exit;
  203|      0|    }
  204|      6|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (204:9): [True: 0, False: 6]
  ------------------
  205|      0|        _PyArg_BadArgument("cast", "argument 'format'", "str", args[0]);
  206|      0|        goto exit;
  207|      0|    }
  208|      6|    format = args[0];
  209|      6|    if (!noptargs) {
  ------------------
  |  Branch (209:9): [True: 6, False: 0]
  ------------------
  210|      6|        goto skip_optional_pos;
  211|      6|    }
  212|      0|    shape = args[1];
  213|      6|skip_optional_pos:
  214|      6|    return_value = memoryview_cast_impl((PyMemoryViewObject *)self, format, shape);
  215|       |
  216|      6|exit:
  217|      6|    return return_value;
  218|      6|}
memoryobject.c:memoryview:
   23|    510|{
   24|    510|    PyObject *return_value = NULL;
   25|    510|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   26|       |
   27|    510|    #define NUM_KEYWORDS 1
   28|    510|    static struct {
   29|    510|        PyGC_Head _this_is_not_used;
   30|    510|        PyObject_VAR_HEAD
   31|    510|        Py_hash_t ob_hash;
   32|    510|        PyObject *ob_item[NUM_KEYWORDS];
   33|    510|    } _kwtuple = {
   34|    510|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    510|    {                                     \
  |  |   98|    510|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    510|    {                               \
  |  |  |  |   91|    510|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    510|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    510|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    510|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    510|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    510|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    510|        (type)                      \
  |  |  |  |   93|    510|    },
  |  |  ------------------
  |  |   99|    510|        (size)                            \
  |  |  100|    510|    },
  ------------------
   35|    510|        .ob_hash = -1,
   36|    510|        .ob_item = { &_Py_ID(object), },
  ------------------
  |  |  919|    510|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    510|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    510|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|    510|    };
   38|    510|    #undef NUM_KEYWORDS
   39|    510|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   40|       |
   41|       |    #else  // !Py_BUILD_CORE
   42|       |    #  define KWTUPLE NULL
   43|       |    #endif  // !Py_BUILD_CORE
   44|       |
   45|    510|    static const char * const _keywords[] = {"object", NULL};
   46|    510|    static _PyArg_Parser _parser = {
   47|    510|        .keywords = _keywords,
   48|    510|        .fname = "memoryview",
   49|    510|        .kwtuple = KWTUPLE,
  ------------------
  |  |   39|    510|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   50|    510|    };
   51|    510|    #undef KWTUPLE
   52|    510|    PyObject *argsbuf[1];
   53|    510|    PyObject * const *fastargs;
   54|    510|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    510|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|    510|    PyObject *object;
   56|       |
   57|    510|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    510|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 510, Folded]
  |  |  |  Branch (88:23): [True: 510, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    510|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 510, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 510]
  |  |  |  Branch (89:43): [True: 510, False: 0]
  |  |  |  Branch (89:67): [True: 510, False: 0]
  |  |  ------------------
  |  |   90|    510|      (args) : \
  |  |   91|    510|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   58|    510|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   59|    510|    if (!fastargs) {
  ------------------
  |  Branch (59:9): [True: 0, False: 510]
  ------------------
   60|      0|        goto exit;
   61|      0|    }
   62|    510|    object = fastargs[0];
   63|    510|    return_value = memoryview_impl(type, object);
   64|       |
   65|    510|exit:
   66|    510|    return return_value;
   67|    510|}

moduleobject.c:module___init__:
   24|    629|{
   25|    629|    int return_value = -1;
   26|    629|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   27|       |
   28|    629|    #define NUM_KEYWORDS 2
   29|    629|    static struct {
   30|    629|        PyGC_Head _this_is_not_used;
   31|    629|        PyObject_VAR_HEAD
   32|    629|        Py_hash_t ob_hash;
   33|    629|        PyObject *ob_item[NUM_KEYWORDS];
   34|    629|    } _kwtuple = {
   35|    629|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    629|    {                                     \
  |  |   98|    629|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    629|    {                               \
  |  |  |  |   91|    629|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    629|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    629|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    629|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    629|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    629|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    629|        (type)                      \
  |  |  |  |   93|    629|    },
  |  |  ------------------
  |  |   99|    629|        (size)                            \
  |  |  100|    629|    },
  ------------------
   36|    629|        .ob_hash = -1,
   37|    629|        .ob_item = { &_Py_ID(name), &_Py_ID(doc), },
  ------------------
  |  |  919|    629|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    629|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    629|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(doc), },
  ------------------
  |  |  919|    629|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    629|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    629|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   38|    629|    };
   39|    629|    #undef NUM_KEYWORDS
   40|    629|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   41|       |
   42|       |    #else  // !Py_BUILD_CORE
   43|       |    #  define KWTUPLE NULL
   44|       |    #endif  // !Py_BUILD_CORE
   45|       |
   46|    629|    static const char * const _keywords[] = {"name", "doc", NULL};
   47|    629|    static _PyArg_Parser _parser = {
   48|    629|        .keywords = _keywords,
   49|    629|        .fname = "module",
   50|    629|        .kwtuple = KWTUPLE,
  ------------------
  |  |   40|    629|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   51|    629|    };
   52|    629|    #undef KWTUPLE
   53|    629|    PyObject *argsbuf[2];
   54|    629|    PyObject * const *fastargs;
   55|    629|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    629|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    629|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|    629|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (56:36): [True: 0, False: 629]
  ------------------
   57|    629|    PyObject *name;
   58|    629|    PyObject *doc = Py_None;
  ------------------
  |  |  616|    629|#  define Py_None (&_Py_NoneStruct)
  ------------------
   59|       |
   60|    629|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|    629|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 629, Folded]
  |  |  |  Branch (88:23): [True: 629, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    629|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 629, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 629]
  |  |  |  Branch (89:43): [True: 629, False: 0]
  |  |  |  Branch (89:67): [True: 629, False: 0]
  |  |  ------------------
  |  |   90|    629|      (args) : \
  |  |   91|    629|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   61|    629|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   62|    629|    if (!fastargs) {
  ------------------
  |  Branch (62:9): [True: 0, False: 629]
  ------------------
   63|      0|        goto exit;
   64|      0|    }
   65|    629|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|    629|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    629|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (65:9): [True: 0, False: 629]
  ------------------
   66|      0|        _PyArg_BadArgument("module", "argument 'name'", "str", fastargs[0]);
   67|      0|        goto exit;
   68|      0|    }
   69|    629|    name = fastargs[0];
   70|    629|    if (!noptargs) {
  ------------------
  |  Branch (70:9): [True: 629, False: 0]
  ------------------
   71|    629|        goto skip_optional_pos;
   72|    629|    }
   73|      0|    doc = fastargs[1];
   74|    629|skip_optional_pos:
   75|    629|    return_value = module___init___impl((PyModuleObject *)self, name, doc);
   76|       |
   77|    629|exit:
   78|    629|    return return_value;
   79|    629|}

odictobject.c:OrderedDict_pop:
  212|      2|{
  213|      2|    PyObject *return_value = NULL;
  214|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  215|       |
  216|      2|    #define NUM_KEYWORDS 2
  217|      2|    static struct {
  218|      2|        PyGC_Head _this_is_not_used;
  219|      2|        PyObject_VAR_HEAD
  220|      2|        Py_hash_t ob_hash;
  221|      2|        PyObject *ob_item[NUM_KEYWORDS];
  222|      2|    } _kwtuple = {
  223|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  224|      2|        .ob_hash = -1,
  225|      2|        .ob_item = { &_Py_ID(key), &_Py_ID(default), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(key), &_Py_ID(default), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|      2|    };
  227|      2|    #undef NUM_KEYWORDS
  228|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  229|       |
  230|       |    #else  // !Py_BUILD_CORE
  231|       |    #  define KWTUPLE NULL
  232|       |    #endif  // !Py_BUILD_CORE
  233|       |
  234|      2|    static const char * const _keywords[] = {"key", "default", NULL};
  235|      2|    static _PyArg_Parser _parser = {
  236|      2|        .keywords = _keywords,
  237|      2|        .fname = "pop",
  238|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  228|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  239|      2|    };
  240|      2|    #undef KWTUPLE
  241|      2|    PyObject *argsbuf[2];
  242|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (242:36): [True: 0, False: 2]
  ------------------
  243|      2|    PyObject *key;
  244|      2|    PyObject *default_value = NULL;
  245|       |
  246|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  247|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  248|      2|    if (!args) {
  ------------------
  |  Branch (248:9): [True: 0, False: 2]
  ------------------
  249|      0|        goto exit;
  250|      0|    }
  251|      2|    key = args[0];
  252|      2|    if (!noptargs) {
  ------------------
  |  Branch (252:9): [True: 2, False: 0]
  ------------------
  253|      2|        goto skip_optional_pos;
  254|      2|    }
  255|      0|    default_value = args[1];
  256|      2|skip_optional_pos:
  257|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  258|      2|    return_value = OrderedDict_pop_impl((PyODictObject *)self, key, default_value);
  259|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  260|       |
  261|      2|exit:
  262|      2|    return return_value;
  263|      2|}
odictobject.c:OrderedDict_move_to_end:
  400|  1.32M|{
  401|  1.32M|    PyObject *return_value = NULL;
  402|  1.32M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  403|       |
  404|  1.32M|    #define NUM_KEYWORDS 2
  405|  1.32M|    static struct {
  406|  1.32M|        PyGC_Head _this_is_not_used;
  407|  1.32M|        PyObject_VAR_HEAD
  408|  1.32M|        Py_hash_t ob_hash;
  409|  1.32M|        PyObject *ob_item[NUM_KEYWORDS];
  410|  1.32M|    } _kwtuple = {
  411|  1.32M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.32M|    {                                     \
  |  |   98|  1.32M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.32M|    {                               \
  |  |  |  |   91|  1.32M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.32M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.32M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.32M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.32M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.32M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.32M|        (type)                      \
  |  |  |  |   93|  1.32M|    },
  |  |  ------------------
  |  |   99|  1.32M|        (size)                            \
  |  |  100|  1.32M|    },
  ------------------
  412|  1.32M|        .ob_hash = -1,
  413|  1.32M|        .ob_item = { &_Py_ID(key), &_Py_ID(last), },
  ------------------
  |  |  919|  1.32M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.32M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.32M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(key), &_Py_ID(last), },
  ------------------
  |  |  919|  1.32M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.32M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.32M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|  1.32M|    };
  415|  1.32M|    #undef NUM_KEYWORDS
  416|  1.32M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  417|       |
  418|       |    #else  // !Py_BUILD_CORE
  419|       |    #  define KWTUPLE NULL
  420|       |    #endif  // !Py_BUILD_CORE
  421|       |
  422|  1.32M|    static const char * const _keywords[] = {"key", "last", NULL};
  423|  1.32M|    static _PyArg_Parser _parser = {
  424|  1.32M|        .keywords = _keywords,
  425|  1.32M|        .fname = "move_to_end",
  426|  1.32M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  416|  1.32M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  427|  1.32M|    };
  428|  1.32M|    #undef KWTUPLE
  429|  1.32M|    PyObject *argsbuf[2];
  430|  1.32M|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:36): [True: 0, False: 1.32M]
  ------------------
  431|  1.32M|    PyObject *key;
  432|  1.32M|    int last = 1;
  433|       |
  434|  1.32M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.32M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.32M, False: 0]
  |  |  ------------------
  |  |   89|  1.32M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.32M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.32M]
  |  |  |  Branch (89:43): [True: 1.32M, False: 0]
  |  |  |  Branch (89:67): [True: 1.32M, False: 0]
  |  |  ------------------
  |  |   90|  1.32M|      (args) : \
  |  |   91|  1.32M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  435|  1.32M|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  436|  1.32M|    if (!args) {
  ------------------
  |  Branch (436:9): [True: 0, False: 1.32M]
  ------------------
  437|      0|        goto exit;
  438|      0|    }
  439|  1.32M|    key = args[0];
  440|  1.32M|    if (!noptargs) {
  ------------------
  |  Branch (440:9): [True: 1.32M, False: 0]
  ------------------
  441|  1.32M|        goto skip_optional_pos;
  442|  1.32M|    }
  443|      0|    last = PyObject_IsTrue(args[1]);
  444|      0|    if (last < 0) {
  ------------------
  |  Branch (444:9): [True: 0, False: 0]
  ------------------
  445|      0|        goto exit;
  446|      0|    }
  447|  1.32M|skip_optional_pos:
  448|  1.32M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.32M|    {
  ------------------
  449|  1.32M|    return_value = OrderedDict_move_to_end_impl((PyODictObject *)self, key, last);
  450|  1.32M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.32M|    }
  ------------------
  451|       |
  452|  1.32M|exit:
  453|  1.32M|    return return_value;
  454|  1.32M|}

sentinelobject.c:sentinel_new:
   16|     10|{
   17|     10|    PyObject *return_value = NULL;
   18|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   19|       |
   20|     10|    #define NUM_KEYWORDS 1
   21|     10|    static struct {
   22|     10|        PyGC_Head _this_is_not_used;
   23|     10|        PyObject_VAR_HEAD
   24|     10|        Py_hash_t ob_hash;
   25|     10|        PyObject *ob_item[NUM_KEYWORDS];
   26|     10|    } _kwtuple = {
   27|     10|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     10|    {                                     \
  |  |   98|     10|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     10|    {                               \
  |  |  |  |   91|     10|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     10|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     10|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     10|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     10|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     10|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     10|        (type)                      \
  |  |  |  |   93|     10|    },
  |  |  ------------------
  |  |   99|     10|        (size)                            \
  |  |  100|     10|    },
  ------------------
   28|     10|        .ob_hash = -1,
   29|     10|        .ob_item = { &_Py_ID(repr), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     10|    };
   31|     10|    #undef NUM_KEYWORDS
   32|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   33|       |
   34|       |    #else  // !Py_BUILD_CORE
   35|       |    #  define KWTUPLE NULL
   36|       |    #endif  // !Py_BUILD_CORE
   37|       |
   38|     10|    static const char * const _keywords[] = {"", "repr", NULL};
   39|     10|    static _PyArg_Parser _parser = {
   40|     10|        .keywords = _keywords,
   41|     10|        .fname = "sentinel",
   42|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  |   32|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   43|     10|    };
   44|     10|    #undef KWTUPLE
   45|     10|    PyObject *argsbuf[2];
   46|     10|    PyObject * const *fastargs;
   47|     10|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     10|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|     10|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      2|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (48:36): [True: 2, False: 8]
  ------------------
   49|     10|    PyObject *name;
   50|     10|    PyObject *repr = Py_None;
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
   51|       |
   52|     10|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     10|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 10, Folded]
  |  |  |  Branch (88:23): [True: 8, False: 2]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8]
  |  |  |  Branch (89:43): [True: 8, False: 0]
  |  |  |  Branch (89:67): [True: 8, False: 0]
  |  |  ------------------
  |  |   90|     10|      (args) : \
  |  |   91|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      2|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   53|     10|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   54|     10|    if (!fastargs) {
  ------------------
  |  Branch (54:9): [True: 0, False: 10]
  ------------------
   55|      0|        goto exit;
   56|      0|    }
   57|     10|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|     10|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (57:9): [True: 0, False: 10]
  ------------------
   58|      0|        _PyArg_BadArgument("sentinel", "argument 1", "str", fastargs[0]);
   59|      0|        goto exit;
   60|      0|    }
   61|     10|    name = fastargs[0];
   62|     10|    if (!noptargs) {
  ------------------
  |  Branch (62:9): [True: 8, False: 2]
  ------------------
   63|      8|        goto skip_optional_kwonly;
   64|      8|    }
   65|      2|    repr = fastargs[1];
   66|     10|skip_optional_kwonly:
   67|     10|    return_value = sentinel_new_impl(type, name, repr);
   68|       |
   69|     10|exit:
   70|     10|    return return_value;
   71|     10|}

setobject.c:set_copy:
   74|     20|{
   75|     20|    PyObject *return_value = NULL;
   76|       |
   77|     20|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     20|    {
  ------------------
   78|     20|    return_value = set_copy_impl((PySetObject *)so);
   79|     20|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     20|    }
  ------------------
   80|       |
   81|     20|    return return_value;
   82|     20|}
setobject.c:set_issubset:
  351|   152k|{
  352|   152k|    PyObject *return_value = NULL;
  353|       |
  354|   152k|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|   152k|    {
  ------------------
  355|   152k|    return_value = set_issubset_impl((PySetObject *)so, other);
  356|   152k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   152k|    }
  ------------------
  357|       |
  358|   152k|    return return_value;
  359|   152k|}
setobject.c:set_issuperset:
  375|     94|{
  376|     94|    PyObject *return_value = NULL;
  377|       |
  378|     94|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     94|    {
  ------------------
  379|     94|    return_value = set_issuperset_impl((PySetObject *)so, other);
  380|     94|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     94|    }
  ------------------
  381|       |
  382|     94|    return return_value;
  383|     94|}
setobject.c:set_add:
  401|  13.4k|{
  402|  13.4k|    PyObject *return_value = NULL;
  403|       |
  404|  13.4k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  13.4k|    {
  ------------------
  405|  13.4k|    return_value = set_add_impl((PySetObject *)so, key);
  406|  13.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  13.4k|    }
  ------------------
  407|       |
  408|  13.4k|    return return_value;
  409|  13.4k|}
setobject.c:set___contains__:
  425|    206|{
  426|    206|    PyObject *return_value = NULL;
  427|       |
  428|    206|    return_value = set___contains___impl((PySetObject *)so, key);
  429|       |
  430|    206|    return return_value;
  431|    206|}
setobject.c:set_discard:
  498|    132|{
  499|    132|    PyObject *return_value = NULL;
  500|       |
  501|    132|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    132|    {
  ------------------
  502|    132|    return_value = set_discard_impl((PySetObject *)so, key);
  503|    132|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    132|    }
  ------------------
  504|       |
  505|    132|    return return_value;
  506|    132|}
setobject.c:set_intersection_multi:
  174|      4|{
  175|      4|    PyObject *return_value = NULL;
  176|      4|    PyObject * const *others;
  177|      4|    Py_ssize_t others_length;
  178|       |
  179|      4|    others = args;
  180|      4|    others_length = nargs;
  181|      4|    return_value = set_intersection_multi_impl((PySetObject *)so, others, others_length);
  182|       |
  183|      4|    return return_value;
  184|      4|}
setobject.c:set_isdisjoint:
  227|     18|{
  228|     18|    PyObject *return_value = NULL;
  229|       |
  230|     18|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     18|    {
  ------------------
  231|     18|    return_value = set_isdisjoint_impl((PySetObject *)so, other);
  232|     18|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     18|    }
  ------------------
  233|       |
  234|     18|    return return_value;
  235|     18|}
setobject.c:set_union:
  147|      2|{
  148|      2|    PyObject *return_value = NULL;
  149|      2|    PyObject * const *others;
  150|      2|    Py_ssize_t others_length;
  151|       |
  152|      2|    others = args;
  153|      2|    others_length = nargs;
  154|      2|    return_value = set_union_impl((PySetObject *)so, others, others_length);
  155|       |
  156|      2|    return return_value;
  157|      2|}
setobject.c:set_update:
   48|   230k|{
   49|   230k|    PyObject *return_value = NULL;
   50|   230k|    PyObject * const *others;
   51|   230k|    Py_ssize_t others_length;
   52|       |
   53|   230k|    others = args;
   54|   230k|    others_length = nargs;
   55|   230k|    return_value = set_update_impl((PySetObject *)so, others, others_length);
   56|       |
   57|   230k|    return return_value;
   58|   230k|}
setobject.c:frozenset___contains__:
  447|  21.5k|{
  448|  21.5k|    PyObject *return_value = NULL;
  449|       |
  450|  21.5k|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  451|       |
  452|  21.5k|    return return_value;
  453|  21.5k|}
setobject.c:set_clear:
  122|     72|{
  123|     72|    PyObject *return_value = NULL;
  124|       |
  125|     72|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     72|    {
  ------------------
  126|     72|    return_value = set_clear_impl((PySetObject *)so);
  127|     72|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     72|    }
  ------------------
  128|       |
  129|     72|    return return_value;
  130|     72|}
setobject.c:set_pop:
   23|     44|{
   24|     44|    PyObject *return_value = NULL;
   25|       |
   26|     44|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     44|    {
  ------------------
   27|     44|    return_value = set_pop_impl((PySetObject *)so);
   28|     44|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     44|    }
  ------------------
   29|       |
   30|     44|    return return_value;
   31|     44|}

tupleobject.c:tuple_index:
   24|    376|{
   25|    376|    PyObject *return_value = NULL;
   26|    376|    PyObject *value;
   27|    376|    Py_ssize_t start = 0;
   28|    376|    Py_ssize_t stop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    376|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
   29|       |
   30|    376|    if (!_PyArg_CheckPositional("index", nargs, 1, 3)) {
  ------------------
  |  |   31|    376|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 376, False: 0]
  |  |  |  Branch (31:27): [True: 376, False: 0]
  |  |  ------------------
  |  |   32|    376|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   31|      0|        goto exit;
   32|      0|    }
   33|    376|    value = args[0];
   34|    376|    if (nargs < 2) {
  ------------------
  |  Branch (34:9): [True: 376, False: 0]
  ------------------
   35|    376|        goto skip_optional;
   36|    376|    }
   37|      0|    if (!_PyEval_SliceIndexNotNone(args[1], &start)) {
  ------------------
  |  Branch (37:9): [True: 0, False: 0]
  ------------------
   38|      0|        goto exit;
   39|      0|    }
   40|      0|    if (nargs < 3) {
  ------------------
  |  Branch (40:9): [True: 0, False: 0]
  ------------------
   41|      0|        goto skip_optional;
   42|      0|    }
   43|      0|    if (!_PyEval_SliceIndexNotNone(args[2], &stop)) {
  ------------------
  |  Branch (43:9): [True: 0, False: 0]
  ------------------
   44|      0|        goto exit;
   45|      0|    }
   46|    376|skip_optional:
   47|    376|    return_value = tuple_index_impl((PyTupleObject *)self, value, start, stop);
   48|       |
   49|    376|exit:
   50|    376|    return return_value;
   51|    376|}
tupleobject.c:tuple_new:
   91|   109k|{
   92|   109k|    PyObject *return_value = NULL;
   93|   109k|    PyTypeObject *base_tp = &PyTuple_Type;
   94|   109k|    PyObject *iterable = NULL;
   95|       |
   96|   109k|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (96:10): [True: 0, False: 109k]
  |  Branch (96:29): [True: 109k, False: 2]
  ------------------
   97|   109k|        !_PyArg_NoKeywords("tuple", kwargs)) {
  ------------------
  |  |   25|   109k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 109k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|   109k|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|   109k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 109k, False: 0]
  |  |  |  Branch (31:27): [True: 109k, False: 0]
  |  |  ------------------
  |  |   32|   109k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|   109k|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|   109k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 109k]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|   109k|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|   109k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   109k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|   109k|skip_optional:
  108|   109k|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|   109k|exit:
  111|   109k|    return return_value;
  112|   109k|}

typeobject.c:type_mro:
   77|    406|{
   78|    406|    return type_mro_impl((PyTypeObject *)self);
   79|    406|}
typeobject.c:type___subclasses__:
   95|    140|{
   96|    140|    return type___subclasses___impl((PyTypeObject *)self);
   97|    140|}
typeobject.c:type___instancecheck__:
   21|    170|{
   22|    170|    PyObject *return_value = NULL;
   23|    170|    int _return_value;
   24|       |
   25|    170|    _return_value = type___instancecheck___impl((PyTypeObject *)self, instance);
   26|    170|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (26:9): [True: 0, False: 170]
  |  Branch (26:34): [True: 0, False: 0]
  ------------------
   27|      0|        goto exit;
   28|      0|    }
   29|    170|    return_value = PyBool_FromLong((long)_return_value);
   30|       |
   31|    170|exit:
   32|    170|    return return_value;
   33|    170|}
typeobject.c:type___subclasscheck__:
   49|    612|{
   50|    612|    PyObject *return_value = NULL;
   51|    612|    int _return_value;
   52|       |
   53|    612|    _return_value = type___subclasscheck___impl((PyTypeObject *)self, subclass);
   54|    612|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (54:9): [True: 0, False: 612]
  |  Branch (54:34): [True: 0, False: 0]
  ------------------
   55|      0|        goto exit;
   56|      0|    }
   57|    612|    return_value = PyBool_FromLong((long)_return_value);
   58|       |
   59|    612|exit:
   60|    612|    return return_value;
   61|    612|}
typeobject.c:type___dir__:
  113|      4|{
  114|      4|    return type___dir___impl((PyTypeObject *)self);
  115|      4|}
typeobject.c:object___reduce_ex__:
  185|  8.52k|{
  186|  8.52k|    PyObject *return_value = NULL;
  187|  8.52k|    int protocol;
  188|       |
  189|  8.52k|    protocol = PyLong_AsInt(arg);
  190|  8.52k|    if (protocol == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (190:9): [True: 0, False: 8.52k]
  |  Branch (190:27): [True: 0, False: 0]
  ------------------
  191|      0|        goto exit;
  192|      0|    }
  193|  8.52k|    return_value = object___reduce_ex___impl(self, protocol);
  194|       |
  195|  8.52k|exit:
  196|  8.52k|    return return_value;
  197|  8.52k|}
typeobject.c:object___format__:
  215|     12|{
  216|     12|    PyObject *return_value = NULL;
  217|     12|    PyObject *format_spec;
  218|       |
  219|     12|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (219:9): [True: 0, False: 12]
  ------------------
  220|      0|        _PyArg_BadArgument("__format__", "argument", "str", arg);
  221|      0|        goto exit;
  222|      0|    }
  223|     12|    format_spec = arg;
  224|     12|    return_value = object___format___impl(self, format_spec);
  225|       |
  226|     12|exit:
  227|     12|    return return_value;
  228|     12|}
typeobject.c:object___dir__:
  262|      4|{
  263|      4|    return object___dir___impl(self);
  264|      4|}

typevarobject.c:typevar_typing_prepare_subst:
  162|    104|{
  163|    104|    PyObject *return_value = NULL;
  164|    104|    PyObject *alias;
  165|    104|    PyObject *__clinic_args;
  166|       |
  167|    104|    if (!_PyArg_CheckPositional("__typing_prepare_subst__", nargs, 2, 2)) {
  ------------------
  |  |   31|    104|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 104, False: 0]
  |  |  |  Branch (31:27): [True: 104, False: 0]
  |  |  ------------------
  |  |   32|    104|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|    104|    alias = args[0];
  171|    104|    __clinic_args = args[1];
  172|    104|    return_value = typevar_typing_prepare_subst_impl((typevarobject *)self, alias, __clinic_args);
  173|       |
  174|    104|exit:
  175|    104|    return return_value;
  176|    104|}
typevarobject.c:typevar_has_default:
  208|     20|{
  209|     20|    return typevar_has_default_impl((typevarobject *)self);
  210|     20|}
typevarobject.c:typevar_new:
   25|     78|{
   26|     78|    PyObject *return_value = NULL;
   27|     78|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   28|       |
   29|     78|    #define NUM_KEYWORDS 6
   30|     78|    static struct {
   31|     78|        PyGC_Head _this_is_not_used;
   32|     78|        PyObject_VAR_HEAD
   33|     78|        Py_hash_t ob_hash;
   34|     78|        PyObject *ob_item[NUM_KEYWORDS];
   35|     78|    } _kwtuple = {
   36|     78|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     78|    {                                     \
  |  |   98|     78|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     78|    {                               \
  |  |  |  |   91|     78|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     78|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     78|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     78|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     78|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     78|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     78|        (type)                      \
  |  |  |  |   93|     78|    },
  |  |  ------------------
  |  |   99|     78|        (size)                            \
  |  |  100|     78|    },
  ------------------
   37|     78|        .ob_hash = -1,
   38|     78|        .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|     78|    };
   40|     78|    #undef NUM_KEYWORDS
   41|     78|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   42|       |
   43|       |    #else  // !Py_BUILD_CORE
   44|       |    #  define KWTUPLE NULL
   45|       |    #endif  // !Py_BUILD_CORE
   46|       |
   47|     78|    static const char * const _keywords[] = {"name", "bound", "default", "covariant", "contravariant", "infer_variance", NULL};
   48|     78|    static _PyArg_Parser _parser = {
   49|     78|        .keywords = _keywords,
   50|     78|        .fname = "typevar",
   51|     78|        .kwtuple = KWTUPLE,
  ------------------
  |  |   41|     78|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   52|     78|    };
   53|     78|    #undef KWTUPLE
   54|     78|    PyObject *argsbuf[6];
   55|     78|    PyObject * const *fastargs;
   56|     78|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     78|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     78|    Py_ssize_t noptargs = Py_MIN(nargs, 1) + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |  112|     78|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 2, False: 76]
  |  |  ------------------
  ------------------
                  Py_ssize_t noptargs = Py_MIN(nargs, 1) + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|     18|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (57:47): [True: 18, False: 60]
  ------------------
   58|     78|    PyObject *name;
   59|     78|    PyObject *constraints = NULL;
   60|     78|    PyObject *bound = Py_None;
  ------------------
  |  |  616|     78|#  define Py_None (&_Py_NoneStruct)
  ------------------
   61|     78|    PyObject *default_value = &_Py_NoDefaultStruct;
   62|     78|    int covariant = 0;
   63|     78|    int contravariant = 0;
   64|     78|    int infer_variance = 0;
   65|       |
   66|     78|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     78|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 78, Folded]
  |  |  |  Branch (88:23): [True: 60, False: 18]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     78|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 60, False: 0]
  |  |  |  Branch (89:31): [True: 0, Folded]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 60, False: 0]
  |  |  ------------------
  |  |   90|     78|      (args) : \
  |  |   91|     78|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     18|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   67|     78|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
   68|     78|    if (!fastargs) {
  ------------------
  |  Branch (68:9): [True: 0, False: 78]
  ------------------
   69|      0|        goto exit;
   70|      0|    }
   71|     78|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|     78|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     78|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (71:9): [True: 0, False: 78]
  ------------------
   72|      0|        _PyArg_BadArgument("typevar", "argument 'name'", "str", fastargs[0]);
   73|      0|        goto exit;
   74|      0|    }
   75|     78|    name = fastargs[0];
   76|     78|    if (!noptargs) {
  ------------------
  |  Branch (76:9): [True: 60, False: 18]
  ------------------
   77|     60|        goto skip_optional_kwonly;
   78|     60|    }
   79|     18|    if (fastargs[1]) {
  ------------------
  |  Branch (79:9): [True: 8, False: 10]
  ------------------
   80|      8|        bound = fastargs[1];
   81|      8|        if (!--noptargs) {
  ------------------
  |  Branch (81:13): [True: 6, False: 2]
  ------------------
   82|      6|            goto skip_optional_kwonly;
   83|      6|        }
   84|      8|    }
   85|     12|    if (fastargs[2]) {
  ------------------
  |  Branch (85:9): [True: 0, False: 12]
  ------------------
   86|      0|        default_value = fastargs[2];
   87|      0|        if (!--noptargs) {
  ------------------
  |  Branch (87:13): [True: 0, False: 0]
  ------------------
   88|      0|            goto skip_optional_kwonly;
   89|      0|        }
   90|      0|    }
   91|     12|    if (fastargs[3]) {
  ------------------
  |  Branch (91:9): [True: 10, False: 2]
  ------------------
   92|     10|        covariant = PyObject_IsTrue(fastargs[3]);
   93|     10|        if (covariant < 0) {
  ------------------
  |  Branch (93:13): [True: 0, False: 10]
  ------------------
   94|      0|            goto exit;
   95|      0|        }
   96|     10|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 10, False: 0]
  ------------------
   97|     10|            goto skip_optional_kwonly;
   98|     10|        }
   99|     10|    }
  100|      2|    if (fastargs[4]) {
  ------------------
  |  Branch (100:9): [True: 2, False: 0]
  ------------------
  101|      2|        contravariant = PyObject_IsTrue(fastargs[4]);
  102|      2|        if (contravariant < 0) {
  ------------------
  |  Branch (102:13): [True: 0, False: 2]
  ------------------
  103|      0|            goto exit;
  104|      0|        }
  105|      2|        if (!--noptargs) {
  ------------------
  |  Branch (105:13): [True: 2, False: 0]
  ------------------
  106|      2|            goto skip_optional_kwonly;
  107|      2|        }
  108|      2|    }
  109|      0|    infer_variance = PyObject_IsTrue(fastargs[5]);
  110|      0|    if (infer_variance < 0) {
  ------------------
  |  Branch (110:9): [True: 0, False: 0]
  ------------------
  111|      0|        goto exit;
  112|      0|    }
  113|     78|skip_optional_kwonly:
  114|     78|    constraints = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX);
  ------------------
  |  |  137|     78|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  115|     78|    if (!constraints) {
  ------------------
  |  Branch (115:9): [True: 0, False: 78]
  ------------------
  116|      0|        goto exit;
  117|      0|    }
  118|     78|    return_value = typevar_new_impl(type, name, constraints, bound, default_value, covariant, contravariant, infer_variance);
  119|       |
  120|     78|exit:
  121|       |    /* Cleanup for constraints */
  122|     78|    Py_XDECREF(constraints);
  ------------------
  |  |  524|     78|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|     78|    return return_value;
  125|     78|}
typevarobject.c:paramspec_new:
  340|      2|{
  341|      2|    PyObject *return_value = NULL;
  342|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  343|       |
  344|      2|    #define NUM_KEYWORDS 6
  345|      2|    static struct {
  346|      2|        PyGC_Head _this_is_not_used;
  347|      2|        PyObject_VAR_HEAD
  348|      2|        Py_hash_t ob_hash;
  349|      2|        PyObject *ob_item[NUM_KEYWORDS];
  350|      2|    } _kwtuple = {
  351|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  352|      2|        .ob_hash = -1,
  353|      2|        .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|      2|    };
  355|      2|    #undef NUM_KEYWORDS
  356|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  357|       |
  358|       |    #else  // !Py_BUILD_CORE
  359|       |    #  define KWTUPLE NULL
  360|       |    #endif  // !Py_BUILD_CORE
  361|       |
  362|      2|    static const char * const _keywords[] = {"name", "bound", "default", "covariant", "contravariant", "infer_variance", NULL};
  363|      2|    static _PyArg_Parser _parser = {
  364|      2|        .keywords = _keywords,
  365|      2|        .fname = "paramspec",
  366|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  356|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  367|      2|    };
  368|      2|    #undef KWTUPLE
  369|      2|    PyObject *argsbuf[6];
  370|      2|    PyObject * const *fastargs;
  371|      2|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|      2|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (372:36): [True: 0, False: 2]
  ------------------
  373|      2|    PyObject *name;
  374|      2|    PyObject *bound = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  375|      2|    PyObject *default_value = &_Py_NoDefaultStruct;
  376|      2|    int covariant = 0;
  377|      2|    int contravariant = 0;
  378|      2|    int infer_variance = 0;
  379|       |
  380|      2|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 2, Folded]
  |  |  |  Branch (88:23): [True: 2, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  381|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  382|      2|    if (!fastargs) {
  ------------------
  |  Branch (382:9): [True: 0, False: 2]
  ------------------
  383|      0|        goto exit;
  384|      0|    }
  385|      2|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (385:9): [True: 0, False: 2]
  ------------------
  386|      0|        _PyArg_BadArgument("paramspec", "argument 'name'", "str", fastargs[0]);
  387|      0|        goto exit;
  388|      0|    }
  389|      2|    name = fastargs[0];
  390|      2|    if (!noptargs) {
  ------------------
  |  Branch (390:9): [True: 2, False: 0]
  ------------------
  391|      2|        goto skip_optional_kwonly;
  392|      2|    }
  393|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (393:9): [True: 0, False: 0]
  ------------------
  394|      0|        bound = fastargs[1];
  395|      0|        if (!--noptargs) {
  ------------------
  |  Branch (395:13): [True: 0, False: 0]
  ------------------
  396|      0|            goto skip_optional_kwonly;
  397|      0|        }
  398|      0|    }
  399|      0|    if (fastargs[2]) {
  ------------------
  |  Branch (399:9): [True: 0, False: 0]
  ------------------
  400|      0|        default_value = fastargs[2];
  401|      0|        if (!--noptargs) {
  ------------------
  |  Branch (401:13): [True: 0, False: 0]
  ------------------
  402|      0|            goto skip_optional_kwonly;
  403|      0|        }
  404|      0|    }
  405|      0|    if (fastargs[3]) {
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|        covariant = PyObject_IsTrue(fastargs[3]);
  407|      0|        if (covariant < 0) {
  ------------------
  |  Branch (407:13): [True: 0, False: 0]
  ------------------
  408|      0|            goto exit;
  409|      0|        }
  410|      0|        if (!--noptargs) {
  ------------------
  |  Branch (410:13): [True: 0, False: 0]
  ------------------
  411|      0|            goto skip_optional_kwonly;
  412|      0|        }
  413|      0|    }
  414|      0|    if (fastargs[4]) {
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  ------------------
  415|      0|        contravariant = PyObject_IsTrue(fastargs[4]);
  416|      0|        if (contravariant < 0) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|            goto exit;
  418|      0|        }
  419|      0|        if (!--noptargs) {
  ------------------
  |  Branch (419:13): [True: 0, False: 0]
  ------------------
  420|      0|            goto skip_optional_kwonly;
  421|      0|        }
  422|      0|    }
  423|      0|    infer_variance = PyObject_IsTrue(fastargs[5]);
  424|      0|    if (infer_variance < 0) {
  ------------------
  |  Branch (424:9): [True: 0, False: 0]
  ------------------
  425|      0|        goto exit;
  426|      0|    }
  427|      2|skip_optional_kwonly:
  428|      2|    return_value = paramspec_new_impl(type, name, bound, default_value, covariant, contravariant, infer_variance);
  429|       |
  430|      2|exit:
  431|      2|    return return_value;
  432|      2|}

unicodeobject.c:unicode_encode:
  219|   227k|{
  220|   227k|    PyObject *return_value = NULL;
  221|   227k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|   227k|    #define NUM_KEYWORDS 2
  224|   227k|    static struct {
  225|   227k|        PyGC_Head _this_is_not_used;
  226|   227k|        PyObject_VAR_HEAD
  227|   227k|        Py_hash_t ob_hash;
  228|   227k|        PyObject *ob_item[NUM_KEYWORDS];
  229|   227k|    } _kwtuple = {
  230|   227k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|   227k|    {                                     \
  |  |   98|   227k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|   227k|    {                               \
  |  |  |  |   91|   227k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|   227k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   227k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|   227k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|   227k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|   227k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|   227k|        (type)                      \
  |  |  |  |   93|   227k|    },
  |  |  ------------------
  |  |   99|   227k|        (size)                            \
  |  |  100|   227k|    },
  ------------------
  231|   227k|        .ob_hash = -1,
  232|   227k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|   227k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   227k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   227k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|   227k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   227k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   227k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|   227k|    };
  234|   227k|    #undef NUM_KEYWORDS
  235|   227k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|   227k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  242|   227k|    static _PyArg_Parser _parser = {
  243|   227k|        .keywords = _keywords,
  244|   227k|        .fname = "encode",
  245|   227k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|   227k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|   227k|    };
  247|   227k|    #undef KWTUPLE
  248|   227k|    PyObject *argsbuf[2];
  249|   227k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|  39.9k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (249:36): [True: 39.9k, False: 187k]
  ------------------
  250|   227k|    const char *encoding = NULL;
  251|   227k|    const char *errors = NULL;
  252|       |
  253|   227k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|   227k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 187k, False: 39.9k]
  |  |  ------------------
  |  |   89|   227k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 187k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 187k]
  |  |  |  Branch (89:43): [True: 187k, False: 0]
  |  |  |  Branch (89:67): [True: 187k, False: 0]
  |  |  ------------------
  |  |   90|   227k|      (args) : \
  |  |   91|   227k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  39.9k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|   227k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|   227k|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 227k]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|   227k|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 14.8k, False: 212k]
  ------------------
  259|  14.8k|        goto skip_optional_pos;
  260|  14.8k|    }
  261|   212k|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 172k, False: 39.9k]
  ------------------
  262|   172k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|   172k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   172k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (262:13): [True: 0, False: 172k]
  ------------------
  263|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  264|      0|            goto exit;
  265|      0|        }
  266|   172k|        Py_ssize_t encoding_length;
  267|   172k|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
  268|   172k|        if (encoding == NULL) {
  ------------------
  |  Branch (268:13): [True: 0, False: 172k]
  ------------------
  269|      0|            goto exit;
  270|      0|        }
  271|   172k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (271:13): [True: 0, False: 172k]
  ------------------
  272|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  273|      0|            goto exit;
  274|      0|        }
  275|   172k|        if (!--noptargs) {
  ------------------
  |  Branch (275:13): [True: 43.8k, False: 129k]
  ------------------
  276|  43.8k|            goto skip_optional_pos;
  277|  43.8k|        }
  278|   172k|    }
  279|   168k|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|   168k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   168k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (279:9): [True: 0, False: 168k]
  ------------------
  280|      0|        _PyArg_BadArgument("encode", "argument 'errors'", "str", args[1]);
  281|      0|        goto exit;
  282|      0|    }
  283|   168k|    Py_ssize_t errors_length;
  284|   168k|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  285|   168k|    if (errors == NULL) {
  ------------------
  |  Branch (285:9): [True: 0, False: 168k]
  ------------------
  286|      0|        goto exit;
  287|      0|    }
  288|   168k|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (288:9): [True: 0, False: 168k]
  ------------------
  289|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  290|      0|        goto exit;
  291|      0|    }
  292|   227k|skip_optional_pos:
  293|   227k|    return_value = unicode_encode_impl(self, encoding, errors);
  294|       |
  295|   227k|exit:
  296|   227k|    return return_value;
  297|   227k|}
unicodeobject.c:unicode_replace:
  936|  4.26k|{
  937|  4.26k|    PyObject *return_value = NULL;
  938|  4.26k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  939|       |
  940|  4.26k|    #define NUM_KEYWORDS 1
  941|  4.26k|    static struct {
  942|  4.26k|        PyGC_Head _this_is_not_used;
  943|  4.26k|        PyObject_VAR_HEAD
  944|  4.26k|        Py_hash_t ob_hash;
  945|  4.26k|        PyObject *ob_item[NUM_KEYWORDS];
  946|  4.26k|    } _kwtuple = {
  947|  4.26k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.26k|    {                                     \
  |  |   98|  4.26k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.26k|    {                               \
  |  |  |  |   91|  4.26k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.26k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.26k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  4.26k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.26k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.26k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.26k|        (type)                      \
  |  |  |  |   93|  4.26k|    },
  |  |  ------------------
  |  |   99|  4.26k|        (size)                            \
  |  |  100|  4.26k|    },
  ------------------
  948|  4.26k|        .ob_hash = -1,
  949|  4.26k|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  919|  4.26k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.26k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.26k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|  4.26k|    };
  951|  4.26k|    #undef NUM_KEYWORDS
  952|  4.26k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  953|       |
  954|       |    #else  // !Py_BUILD_CORE
  955|       |    #  define KWTUPLE NULL
  956|       |    #endif  // !Py_BUILD_CORE
  957|       |
  958|  4.26k|    static const char * const _keywords[] = {"", "", "count", NULL};
  959|  4.26k|    static _PyArg_Parser _parser = {
  960|  4.26k|        .keywords = _keywords,
  961|  4.26k|        .fname = "replace",
  962|  4.26k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  952|  4.26k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  963|  4.26k|    };
  964|  4.26k|    #undef KWTUPLE
  965|  4.26k|    PyObject *argsbuf[3];
  966|  4.26k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (966:36): [True: 0, False: 4.26k]
  ------------------
  967|  4.26k|    PyObject *old;
  968|  4.26k|    PyObject *new;
  969|  4.26k|    Py_ssize_t count = -1;
  970|       |
  971|  4.26k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.26k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4.26k, False: 0]
  |  |  ------------------
  |  |   89|  4.26k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4.26k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4.26k]
  |  |  |  Branch (89:43): [True: 4.26k, False: 0]
  |  |  |  Branch (89:67): [True: 4.26k, False: 0]
  |  |  ------------------
  |  |   90|  4.26k|      (args) : \
  |  |   91|  4.26k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  972|  4.26k|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  973|  4.26k|    if (!args) {
  ------------------
  |  Branch (973:9): [True: 0, False: 4.26k]
  ------------------
  974|      0|        goto exit;
  975|      0|    }
  976|  4.26k|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  4.26k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (976:9): [True: 0, False: 4.26k]
  ------------------
  977|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  978|      0|        goto exit;
  979|      0|    }
  980|  4.26k|    old = args[0];
  981|  4.26k|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  4.26k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (981:9): [True: 0, False: 4.26k]
  ------------------
  982|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  983|      0|        goto exit;
  984|      0|    }
  985|  4.26k|    new = args[1];
  986|  4.26k|    if (!noptargs) {
  ------------------
  |  Branch (986:9): [True: 4.26k, False: 0]
  ------------------
  987|  4.26k|        goto skip_optional_pos;
  988|  4.26k|    }
  989|      0|    {
  990|      0|        Py_ssize_t ival = -1;
  991|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  992|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (992:13): [True: 0, False: 0]
  ------------------
  993|      0|            ival = PyLong_AsSsize_t(iobj);
  994|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|      0|        }
  996|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (996:13): [True: 0, False: 0]
  |  Branch (996:27): [True: 0, False: 0]
  ------------------
  997|      0|            goto exit;
  998|      0|        }
  999|      0|        count = ival;
 1000|      0|    }
 1001|  4.26k|skip_optional_pos:
 1002|  4.26k|    return_value = unicode_replace_impl(self, old, new, count);
 1003|       |
 1004|  4.26k|exit:
 1005|  4.26k|    return return_value;
 1006|  4.26k|}
unicodeobject.c:unicode_split:
 1266|  1.39k|{
 1267|  1.39k|    PyObject *return_value = NULL;
 1268|  1.39k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1269|       |
 1270|  1.39k|    #define NUM_KEYWORDS 2
 1271|  1.39k|    static struct {
 1272|  1.39k|        PyGC_Head _this_is_not_used;
 1273|  1.39k|        PyObject_VAR_HEAD
 1274|  1.39k|        Py_hash_t ob_hash;
 1275|  1.39k|        PyObject *ob_item[NUM_KEYWORDS];
 1276|  1.39k|    } _kwtuple = {
 1277|  1.39k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.39k|    {                                     \
  |  |   98|  1.39k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.39k|    {                               \
  |  |  |  |   91|  1.39k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.39k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.39k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.39k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.39k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.39k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.39k|        (type)                      \
  |  |  |  |   93|  1.39k|    },
  |  |  ------------------
  |  |   99|  1.39k|        (size)                            \
  |  |  100|  1.39k|    },
  ------------------
 1278|  1.39k|        .ob_hash = -1,
 1279|  1.39k|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  919|  1.39k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.39k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.39k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  919|  1.39k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.39k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.39k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|  1.39k|    };
 1281|  1.39k|    #undef NUM_KEYWORDS
 1282|  1.39k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1283|       |
 1284|       |    #else  // !Py_BUILD_CORE
 1285|       |    #  define KWTUPLE NULL
 1286|       |    #endif  // !Py_BUILD_CORE
 1287|       |
 1288|  1.39k|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1289|  1.39k|    static _PyArg_Parser _parser = {
 1290|  1.39k|        .keywords = _keywords,
 1291|  1.39k|        .fname = "split",
 1292|  1.39k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1282|  1.39k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1293|  1.39k|    };
 1294|  1.39k|    #undef KWTUPLE
 1295|  1.39k|    PyObject *argsbuf[2];
 1296|  1.39k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|     72|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1296:36): [True: 72, False: 1.32k]
  ------------------
 1297|  1.39k|    PyObject *sep = Py_None;
  ------------------
  |  |  616|  1.39k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1298|  1.39k|    Py_ssize_t maxsplit = -1;
 1299|       |
 1300|  1.39k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.39k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.32k, False: 72]
  |  |  ------------------
  |  |   89|  1.39k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.32k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.32k]
  |  |  |  Branch (89:43): [True: 1.32k, False: 0]
  |  |  |  Branch (89:67): [True: 1.32k, False: 0]
  |  |  ------------------
  |  |   90|  1.39k|      (args) : \
  |  |   91|  1.39k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     72|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1301|  1.39k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1302|  1.39k|    if (!args) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 1.39k]
  ------------------
 1303|      0|        goto exit;
 1304|      0|    }
 1305|  1.39k|    if (!noptargs) {
  ------------------
  |  Branch (1305:9): [True: 52, False: 1.34k]
  ------------------
 1306|     52|        goto skip_optional_pos;
 1307|     52|    }
 1308|  1.34k|    if (args[0]) {
  ------------------
  |  Branch (1308:9): [True: 1.34k, False: 2]
  ------------------
 1309|  1.34k|        sep = args[0];
 1310|  1.34k|        if (!--noptargs) {
  ------------------
  |  Branch (1310:13): [True: 1.25k, False: 90]
  ------------------
 1311|  1.25k|            goto skip_optional_pos;
 1312|  1.25k|        }
 1313|  1.34k|    }
 1314|     92|    {
 1315|     92|        Py_ssize_t ival = -1;
 1316|     92|        PyObject *iobj = _PyNumber_Index(args[1]);
 1317|     92|        if (iobj != NULL) {
  ------------------
  |  Branch (1317:13): [True: 92, False: 0]
  ------------------
 1318|     92|            ival = PyLong_AsSsize_t(iobj);
 1319|     92|            Py_DECREF(iobj);
  ------------------
  |  |  430|     92|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|     92|        }
 1321|     92|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1321:13): [True: 0, False: 92]
  |  Branch (1321:27): [True: 0, False: 0]
  ------------------
 1322|      0|            goto exit;
 1323|      0|        }
 1324|     92|        maxsplit = ival;
 1325|     92|    }
 1326|  1.39k|skip_optional_pos:
 1327|  1.39k|    return_value = unicode_split_impl(self, sep, maxsplit);
 1328|       |
 1329|  1.39k|exit:
 1330|  1.39k|    return return_value;
 1331|  1.39k|}
unicodeobject.c:unicode_rsplit:
 1392|     14|{
 1393|     14|    PyObject *return_value = NULL;
 1394|     14|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1395|       |
 1396|     14|    #define NUM_KEYWORDS 2
 1397|     14|    static struct {
 1398|     14|        PyGC_Head _this_is_not_used;
 1399|     14|        PyObject_VAR_HEAD
 1400|     14|        Py_hash_t ob_hash;
 1401|     14|        PyObject *ob_item[NUM_KEYWORDS];
 1402|     14|    } _kwtuple = {
 1403|     14|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     14|    {                                     \
  |  |   98|     14|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     14|    {                               \
  |  |  |  |   91|     14|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     14|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     14|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     14|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     14|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     14|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     14|        (type)                      \
  |  |  |  |   93|     14|    },
  |  |  ------------------
  |  |   99|     14|        (size)                            \
  |  |  100|     14|    },
  ------------------
 1404|     14|        .ob_hash = -1,
 1405|     14|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|     14|    };
 1407|     14|    #undef NUM_KEYWORDS
 1408|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1409|       |
 1410|       |    #else  // !Py_BUILD_CORE
 1411|       |    #  define KWTUPLE NULL
 1412|       |    #endif  // !Py_BUILD_CORE
 1413|       |
 1414|     14|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1415|     14|    static _PyArg_Parser _parser = {
 1416|     14|        .keywords = _keywords,
 1417|     14|        .fname = "rsplit",
 1418|     14|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1408|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1419|     14|    };
 1420|     14|    #undef KWTUPLE
 1421|     14|    PyObject *argsbuf[2];
 1422|     14|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1422:36): [True: 0, False: 14]
  ------------------
 1423|     14|    PyObject *sep = Py_None;
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1424|     14|    Py_ssize_t maxsplit = -1;
 1425|       |
 1426|     14|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     14|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 14, False: 0]
  |  |  ------------------
  |  |   89|     14|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 14, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 14]
  |  |  |  Branch (89:43): [True: 14, False: 0]
  |  |  |  Branch (89:67): [True: 14, False: 0]
  |  |  ------------------
  |  |   90|     14|      (args) : \
  |  |   91|     14|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1427|     14|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1428|     14|    if (!args) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 14]
  ------------------
 1429|      0|        goto exit;
 1430|      0|    }
 1431|     14|    if (!noptargs) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 14]
  ------------------
 1432|      0|        goto skip_optional_pos;
 1433|      0|    }
 1434|     14|    if (args[0]) {
  ------------------
  |  Branch (1434:9): [True: 14, False: 0]
  ------------------
 1435|     14|        sep = args[0];
 1436|     14|        if (!--noptargs) {
  ------------------
  |  Branch (1436:13): [True: 0, False: 14]
  ------------------
 1437|      0|            goto skip_optional_pos;
 1438|      0|        }
 1439|     14|    }
 1440|     14|    {
 1441|     14|        Py_ssize_t ival = -1;
 1442|     14|        PyObject *iobj = _PyNumber_Index(args[1]);
 1443|     14|        if (iobj != NULL) {
  ------------------
  |  Branch (1443:13): [True: 14, False: 0]
  ------------------
 1444|     14|            ival = PyLong_AsSsize_t(iobj);
 1445|     14|            Py_DECREF(iobj);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|     14|        }
 1447|     14|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1447:13): [True: 0, False: 14]
  |  Branch (1447:27): [True: 0, False: 0]
  ------------------
 1448|      0|            goto exit;
 1449|      0|        }
 1450|     14|        maxsplit = ival;
 1451|     14|    }
 1452|     14|skip_optional_pos:
 1453|     14|    return_value = unicode_rsplit_impl(self, sep, maxsplit);
 1454|       |
 1455|     14|exit:
 1456|     14|    return return_value;
 1457|     14|}
unicodeobject.c:unicode_expandtabs:
  315|      4|{
  316|      4|    PyObject *return_value = NULL;
  317|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  318|       |
  319|      4|    #define NUM_KEYWORDS 1
  320|      4|    static struct {
  321|      4|        PyGC_Head _this_is_not_used;
  322|      4|        PyObject_VAR_HEAD
  323|      4|        Py_hash_t ob_hash;
  324|      4|        PyObject *ob_item[NUM_KEYWORDS];
  325|      4|    } _kwtuple = {
  326|      4|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      4|    {                                     \
  |  |   98|      4|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      4|    {                               \
  |  |  |  |   91|      4|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      4|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      4|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      4|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      4|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      4|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      4|        (type)                      \
  |  |  |  |   93|      4|    },
  |  |  ------------------
  |  |   99|      4|        (size)                            \
  |  |  100|      4|    },
  ------------------
  327|      4|        .ob_hash = -1,
  328|      4|        .ob_item = { &_Py_ID(tabsize), },
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      4|    };
  330|      4|    #undef NUM_KEYWORDS
  331|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  332|       |
  333|       |    #else  // !Py_BUILD_CORE
  334|       |    #  define KWTUPLE NULL
  335|       |    #endif  // !Py_BUILD_CORE
  336|       |
  337|      4|    static const char * const _keywords[] = {"tabsize", NULL};
  338|      4|    static _PyArg_Parser _parser = {
  339|      4|        .keywords = _keywords,
  340|      4|        .fname = "expandtabs",
  341|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  |  331|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  342|      4|    };
  343|      4|    #undef KWTUPLE
  344|      4|    PyObject *argsbuf[1];
  345|      4|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (345:36): [True: 0, False: 4]
  ------------------
  346|      4|    int tabsize = 8;
  347|       |
  348|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 4]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      4|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  349|      4|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  350|      4|    if (!args) {
  ------------------
  |  Branch (350:9): [True: 0, False: 4]
  ------------------
  351|      0|        goto exit;
  352|      0|    }
  353|      4|    if (!noptargs) {
  ------------------
  |  Branch (353:9): [True: 4, False: 0]
  ------------------
  354|      4|        goto skip_optional_pos;
  355|      4|    }
  356|      0|    tabsize = PyLong_AsInt(args[0]);
  357|      0|    if (tabsize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (357:9): [True: 0, False: 0]
  |  Branch (357:26): [True: 0, False: 0]
  ------------------
  358|      0|        goto exit;
  359|      0|    }
  360|      4|skip_optional_pos:
  361|      4|    return_value = unicode_expandtabs_impl(self, tabsize);
  362|       |
  363|      4|exit:
  364|      4|    return return_value;
  365|      4|}
unicodeobject.c:unicode_find:
  385|      6|{
  386|      6|    PyObject *return_value = NULL;
  387|      6|    PyObject *substr;
  388|      6|    Py_ssize_t start = 0;
  389|      6|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  390|      6|    Py_ssize_t _return_value;
  391|       |
  392|      6|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|      6|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6, False: 0]
  |  |  |  Branch (31:27): [True: 6, False: 0]
  |  |  ------------------
  |  |   32|      6|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  393|      0|        goto exit;
  394|      0|    }
  395|      6|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (395:9): [True: 0, False: 6]
  ------------------
  396|      0|        _PyArg_BadArgument("find", "argument 1", "str", args[0]);
  397|      0|        goto exit;
  398|      0|    }
  399|      6|    substr = args[0];
  400|      6|    if (nargs < 2) {
  ------------------
  |  Branch (400:9): [True: 0, False: 6]
  ------------------
  401|      0|        goto skip_optional;
  402|      0|    }
  403|      6|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (403:9): [True: 0, False: 6]
  ------------------
  404|      0|        goto exit;
  405|      0|    }
  406|      6|    if (nargs < 3) {
  ------------------
  |  Branch (406:9): [True: 6, False: 0]
  ------------------
  407|      6|        goto skip_optional;
  408|      6|    }
  409|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|        goto exit;
  411|      0|    }
  412|      6|skip_optional:
  413|      6|    _return_value = unicode_find_impl(str, substr, start, end);
  414|      6|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (414:9): [True: 0, False: 6]
  |  Branch (414:34): [True: 0, False: 0]
  ------------------
  415|      0|        goto exit;
  416|      0|    }
  417|      6|    return_value = PyLong_FromSsize_t(_return_value);
  418|       |
  419|      6|exit:
  420|      6|    return return_value;
  421|      6|}
unicodeobject.c:unicode_lower:
  808|    784|{
  809|    784|    return unicode_lower_impl(self);
  810|    784|}
unicodeobject.c:unicode_lstrip:
  862|     22|{
  863|     22|    PyObject *return_value = NULL;
  864|     22|    PyObject *chars = Py_None;
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  865|       |
  866|     22|    if (!_PyArg_CheckPositional("lstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|     22|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 22, False: 0]
  |  |  |  Branch (31:27): [True: 22, False: 0]
  |  |  ------------------
  |  |   32|     22|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  867|      0|        goto exit;
  868|      0|    }
  869|     22|    if (nargs < 1) {
  ------------------
  |  Branch (869:9): [True: 20, False: 2]
  ------------------
  870|     20|        goto skip_optional;
  871|     20|    }
  872|      2|    chars = args[0];
  873|     22|skip_optional:
  874|     22|    return_value = unicode_lstrip_impl(self, chars);
  875|       |
  876|     22|exit:
  877|     22|    return return_value;
  878|     22|}
unicodeobject.c:unicode_rfind:
 1092|    554|{
 1093|    554|    PyObject *return_value = NULL;
 1094|    554|    PyObject *substr;
 1095|    554|    Py_ssize_t start = 0;
 1096|    554|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    554|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1097|    554|    Py_ssize_t _return_value;
 1098|       |
 1099|    554|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   31|    554|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 554, False: 0]
  |  |  |  Branch (31:27): [True: 554, False: 0]
  |  |  ------------------
  |  |   32|    554|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1100|      0|        goto exit;
 1101|      0|    }
 1102|    554|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    554|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    554|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1102:9): [True: 0, False: 554]
  ------------------
 1103|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1104|      0|        goto exit;
 1105|      0|    }
 1106|    554|    substr = args[0];
 1107|    554|    if (nargs < 2) {
  ------------------
  |  Branch (1107:9): [True: 552, False: 2]
  ------------------
 1108|    552|        goto skip_optional;
 1109|    552|    }
 1110|      2|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 2]
  ------------------
 1111|      0|        goto exit;
 1112|      0|    }
 1113|      2|    if (nargs < 3) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 2]
  ------------------
 1114|      0|        goto skip_optional;
 1115|      0|    }
 1116|      2|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 2]
  ------------------
 1117|      0|        goto exit;
 1118|      0|    }
 1119|    554|skip_optional:
 1120|    554|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1121|    554|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1121:9): [True: 10, False: 544]
  |  Branch (1121:34): [True: 0, False: 10]
  ------------------
 1122|      0|        goto exit;
 1123|      0|    }
 1124|    554|    return_value = PyLong_FromSsize_t(_return_value);
 1125|       |
 1126|    554|exit:
 1127|    554|    return return_value;
 1128|    554|}
unicodeobject.c:unicode_rstrip:
  896|  9.29k|{
  897|  9.29k|    PyObject *return_value = NULL;
  898|  9.29k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|  9.29k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  899|       |
  900|  9.29k|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|  9.29k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 9.29k, False: 0]
  |  |  |  Branch (31:27): [True: 9.29k, False: 0]
  |  |  ------------------
  |  |   32|  9.29k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  901|      0|        goto exit;
  902|      0|    }
  903|  9.29k|    if (nargs < 1) {
  ------------------
  |  Branch (903:9): [True: 58, False: 9.23k]
  ------------------
  904|     58|        goto skip_optional;
  905|     58|    }
  906|  9.23k|    chars = args[0];
  907|  9.29k|skip_optional:
  908|  9.29k|    return_value = unicode_rstrip_impl(self, chars);
  909|       |
  910|  9.29k|exit:
  911|  9.29k|    return return_value;
  912|  9.29k|}
unicodeobject.c:unicode_splitlines:
 1476|      8|{
 1477|      8|    PyObject *return_value = NULL;
 1478|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1479|       |
 1480|      8|    #define NUM_KEYWORDS 1
 1481|      8|    static struct {
 1482|      8|        PyGC_Head _this_is_not_used;
 1483|      8|        PyObject_VAR_HEAD
 1484|      8|        Py_hash_t ob_hash;
 1485|      8|        PyObject *ob_item[NUM_KEYWORDS];
 1486|      8|    } _kwtuple = {
 1487|      8|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      8|    {                                     \
  |  |   98|      8|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      8|    {                               \
  |  |  |  |   91|      8|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      8|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      8|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      8|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      8|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      8|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      8|        (type)                      \
  |  |  |  |   93|      8|    },
  |  |  ------------------
  |  |   99|      8|        (size)                            \
  |  |  100|      8|    },
  ------------------
 1488|      8|        .ob_hash = -1,
 1489|      8|        .ob_item = { &_Py_ID(keepends), },
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|      8|    };
 1491|      8|    #undef NUM_KEYWORDS
 1492|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1493|       |
 1494|       |    #else  // !Py_BUILD_CORE
 1495|       |    #  define KWTUPLE NULL
 1496|       |    #endif  // !Py_BUILD_CORE
 1497|       |
 1498|      8|    static const char * const _keywords[] = {"keepends", NULL};
 1499|      8|    static _PyArg_Parser _parser = {
 1500|      8|        .keywords = _keywords,
 1501|      8|        .fname = "splitlines",
 1502|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1492|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1503|      8|    };
 1504|      8|    #undef KWTUPLE
 1505|      8|    PyObject *argsbuf[1];
 1506|      8|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1506:36): [True: 0, False: 8]
  ------------------
 1507|      8|    int keepends = 0;
 1508|       |
 1509|      8|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      8|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 8, False: 0]
  |  |  ------------------
  |  |   89|      8|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8]
  |  |  |  Branch (89:43): [True: 8, False: 0]
  |  |  |  Branch (89:67): [True: 8, False: 0]
  |  |  ------------------
  |  |   90|      8|      (args) : \
  |  |   91|      8|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1510|      8|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1511|      8|    if (!args) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 8]
  ------------------
 1512|      0|        goto exit;
 1513|      0|    }
 1514|      8|    if (!noptargs) {
  ------------------
  |  Branch (1514:9): [True: 8, False: 0]
  ------------------
 1515|      8|        goto skip_optional_pos;
 1516|      8|    }
 1517|      0|    keepends = PyObject_IsTrue(args[0]);
 1518|      0|    if (keepends < 0) {
  ------------------
  |  Branch (1518:9): [True: 0, False: 0]
  ------------------
 1519|      0|        goto exit;
 1520|      0|    }
 1521|      8|skip_optional_pos:
 1522|      8|    return_value = unicode_splitlines_impl(self, keepends);
 1523|       |
 1524|      8|exit:
 1525|      8|    return return_value;
 1526|      8|}
unicodeobject.c:unicode_strip:
  828|     76|{
  829|     76|    PyObject *return_value = NULL;
  830|     76|    PyObject *chars = Py_None;
  ------------------
  |  |  616|     76|#  define Py_None (&_Py_NoneStruct)
  ------------------
  831|       |
  832|     76|    if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) {
  ------------------
  |  |   31|     76|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 76, False: 0]
  |  |  |  Branch (31:27): [True: 76, False: 0]
  |  |  ------------------
  |  |   32|     76|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  833|      0|        goto exit;
  834|      0|    }
  835|     76|    if (nargs < 1) {
  ------------------
  |  Branch (835:9): [True: 58, False: 18]
  ------------------
  836|     58|        goto skip_optional;
  837|     58|    }
  838|     18|    chars = args[0];
  839|     76|skip_optional:
  840|     76|    return_value = unicode_strip_impl(self, chars);
  841|       |
  842|     76|exit:
  843|     76|    return return_value;
  844|     76|}
unicodeobject.c:unicode_upper:
 1634|    102|{
 1635|    102|    return unicode_upper_impl(self);
 1636|    102|}
unicodeobject.c:unicode_startswith:
 1698|  14.4k|{
 1699|  14.4k|    PyObject *return_value = NULL;
 1700|  14.4k|    PyObject *subobj;
 1701|  14.4k|    Py_ssize_t start = 0;
 1702|  14.4k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  14.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1703|       |
 1704|  14.4k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  14.4k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 14.4k, False: 0]
  |  |  |  Branch (31:27): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |   32|  14.4k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1705|      0|        goto exit;
 1706|      0|    }
 1707|  14.4k|    subobj = args[0];
 1708|  14.4k|    if (nargs < 2) {
  ------------------
  |  Branch (1708:9): [True: 14.4k, False: 0]
  ------------------
 1709|  14.4k|        goto skip_optional;
 1710|  14.4k|    }
 1711|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 0]
  ------------------
 1712|      0|        goto exit;
 1713|      0|    }
 1714|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 0]
  ------------------
 1715|      0|        goto skip_optional;
 1716|      0|    }
 1717|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1717:9): [True: 0, False: 0]
  ------------------
 1718|      0|        goto exit;
 1719|      0|    }
 1720|  14.4k|skip_optional:
 1721|  14.4k|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1722|       |
 1723|  14.4k|exit:
 1724|  14.4k|    return return_value;
 1725|  14.4k|}
unicodeobject.c:unicode_endswith:
 1749|  2.34k|{
 1750|  2.34k|    PyObject *return_value = NULL;
 1751|  2.34k|    PyObject *subobj;
 1752|  2.34k|    Py_ssize_t start = 0;
 1753|  2.34k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.34k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1754|       |
 1755|  2.34k|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  2.34k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.34k, False: 0]
  |  |  |  Branch (31:27): [True: 2.34k, False: 0]
  |  |  ------------------
  |  |   32|  2.34k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1756|      0|        goto exit;
 1757|      0|    }
 1758|  2.34k|    subobj = args[0];
 1759|  2.34k|    if (nargs < 2) {
  ------------------
  |  Branch (1759:9): [True: 2.34k, False: 0]
  ------------------
 1760|  2.34k|        goto skip_optional;
 1761|  2.34k|    }
 1762|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1762:9): [True: 0, False: 0]
  ------------------
 1763|      0|        goto exit;
 1764|      0|    }
 1765|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 0]
  ------------------
 1766|      0|        goto skip_optional;
 1767|      0|    }
 1768|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 0]
  ------------------
 1769|      0|        goto exit;
 1770|      0|    }
 1771|  2.34k|skip_optional:
 1772|  2.34k|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1773|       |
 1774|  2.34k|exit:
 1775|  2.34k|    return return_value;
 1776|  2.34k|}
unicodeobject.c:unicode_removeprefix:
 1026|     14|{
 1027|     14|    PyObject *return_value = NULL;
 1028|     14|    PyObject *prefix;
 1029|       |
 1030|     14|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1030:9): [True: 0, False: 14]
  ------------------
 1031|      0|        _PyArg_BadArgument("removeprefix", "argument", "str", arg);
 1032|      0|        goto exit;
 1033|      0|    }
 1034|     14|    prefix = arg;
 1035|     14|    return_value = unicode_removeprefix_impl(self, prefix);
 1036|       |
 1037|     14|exit:
 1038|     14|    return return_value;
 1039|     14|}
unicodeobject.c:unicode_isascii:
  496|    232|{
  497|    232|    return unicode_isascii_impl(self);
  498|    232|}
unicodeobject.c:unicode_isupper:
  538|  3.64k|{
  539|  3.64k|    return unicode_isupper_impl(self);
  540|  3.64k|}
unicodeobject.c:unicode_isspace:
  580|    666|{
  581|    666|    return unicode_isspace_impl(self);
  582|    666|}
unicodeobject.c:unicode_isdigit:
  664|    228|{
  665|    228|    return unicode_isdigit_impl(self);
  666|    228|}
unicodeobject.c:unicode_isidentifier:
  706|  25.6k|{
  707|  25.6k|    return unicode_isidentifier_impl(self);
  708|  25.6k|}
unicodeobject.c:unicode_maketrans:
 1569|      2|{
 1570|      2|    PyObject *return_value = NULL;
 1571|      2|    PyObject *x;
 1572|      2|    PyObject *y = NULL;
 1573|      2|    PyObject *z = NULL;
 1574|       |
 1575|      2|    if (!_PyArg_CheckPositional("maketrans", nargs, 1, 3)) {
  ------------------
  |  |   31|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2, False: 0]
  |  |  |  Branch (31:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   32|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1576|      0|        goto exit;
 1577|      0|    }
 1578|      2|    x = args[0];
 1579|      2|    if (nargs < 2) {
  ------------------
  |  Branch (1579:9): [True: 0, False: 2]
  ------------------
 1580|      0|        goto skip_optional;
 1581|      0|    }
 1582|      2|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1582:9): [True: 0, False: 2]
  ------------------
 1583|      0|        _PyArg_BadArgument("maketrans", "argument 2", "str", args[1]);
 1584|      0|        goto exit;
 1585|      0|    }
 1586|      2|    y = args[1];
 1587|      2|    if (nargs < 3) {
  ------------------
  |  Branch (1587:9): [True: 2, False: 0]
  ------------------
 1588|      2|        goto skip_optional;
 1589|      2|    }
 1590|      0|    if (!PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1590:9): [True: 0, False: 0]
  ------------------
 1591|      0|        _PyArg_BadArgument("maketrans", "argument 3", "str", args[2]);
 1592|      0|        goto exit;
 1593|      0|    }
 1594|      0|    z = args[2];
 1595|      2|skip_optional:
 1596|      2|    return_value = unicode_maketrans_impl(x, y, z);
 1597|       |
 1598|      2|exit:
 1599|      2|    return return_value;
 1600|      2|}
unicodeobject.c:unicode_new:
 1831|     32|{
 1832|     32|    PyObject *return_value = NULL;
 1833|     32|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1834|       |
 1835|     32|    #define NUM_KEYWORDS 3
 1836|     32|    static struct {
 1837|     32|        PyGC_Head _this_is_not_used;
 1838|     32|        PyObject_VAR_HEAD
 1839|     32|        Py_hash_t ob_hash;
 1840|     32|        PyObject *ob_item[NUM_KEYWORDS];
 1841|     32|    } _kwtuple = {
 1842|     32|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     32|    {                                     \
  |  |   98|     32|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     32|    {                               \
  |  |  |  |   91|     32|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     32|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     32|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     32|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     32|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     32|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     32|        (type)                      \
  |  |  |  |   93|     32|    },
  |  |  ------------------
  |  |   99|     32|        (size)                            \
  |  |  100|     32|    },
  ------------------
 1843|     32|        .ob_hash = -1,
 1844|     32|        .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  919|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1845|     32|    };
 1846|     32|    #undef NUM_KEYWORDS
 1847|     32|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1848|       |
 1849|       |    #else  // !Py_BUILD_CORE
 1850|       |    #  define KWTUPLE NULL
 1851|       |    #endif  // !Py_BUILD_CORE
 1852|       |
 1853|     32|    static const char * const _keywords[] = {"object", "encoding", "errors", NULL};
 1854|     32|    static _PyArg_Parser _parser = {
 1855|     32|        .keywords = _keywords,
 1856|     32|        .fname = "str",
 1857|     32|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1847|     32|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1858|     32|    };
 1859|     32|    #undef KWTUPLE
 1860|     32|    PyObject *argsbuf[3];
 1861|     32|    PyObject * const *fastargs;
 1862|     32|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     32|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|     32|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1863:36): [True: 0, False: 32]
  ------------------
 1864|     32|    PyObject *x = NULL;
 1865|     32|    const char *encoding = NULL;
 1866|     32|    const char *errors = NULL;
 1867|       |
 1868|     32|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     32|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 32, Folded]
  |  |  |  Branch (88:23): [True: 32, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     32|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 32, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 32]
  |  |  |  Branch (89:43): [True: 32, False: 0]
  |  |  |  Branch (89:67): [True: 32, False: 0]
  |  |  ------------------
  |  |   90|     32|      (args) : \
  |  |   91|     32|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1869|     32|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1870|     32|    if (!fastargs) {
  ------------------
  |  Branch (1870:9): [True: 0, False: 32]
  ------------------
 1871|      0|        goto exit;
 1872|      0|    }
 1873|     32|    if (!noptargs) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 32]
  ------------------
 1874|      0|        goto skip_optional_pos;
 1875|      0|    }
 1876|     32|    if (fastargs[0]) {
  ------------------
  |  Branch (1876:9): [True: 32, False: 0]
  ------------------
 1877|     32|        x = fastargs[0];
 1878|     32|        if (!--noptargs) {
  ------------------
  |  Branch (1878:13): [True: 32, False: 0]
  ------------------
 1879|     32|            goto skip_optional_pos;
 1880|     32|        }
 1881|     32|    }
 1882|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (1882:9): [True: 0, False: 0]
  ------------------
 1883|      0|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1883:13): [True: 0, False: 0]
  ------------------
 1884|      0|            _PyArg_BadArgument("str", "argument 'encoding'", "str", fastargs[1]);
 1885|      0|            goto exit;
 1886|      0|        }
 1887|      0|        Py_ssize_t encoding_length;
 1888|      0|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
 1889|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1889:13): [True: 0, False: 0]
  ------------------
 1890|      0|            goto exit;
 1891|      0|        }
 1892|      0|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1892:13): [True: 0, False: 0]
  ------------------
 1893|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1894|      0|            goto exit;
 1895|      0|        }
 1896|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1896:13): [True: 0, False: 0]
  ------------------
 1897|      0|            goto skip_optional_pos;
 1898|      0|        }
 1899|      0|    }
 1900|      0|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1900:9): [True: 0, False: 0]
  ------------------
 1901|      0|        _PyArg_BadArgument("str", "argument 'errors'", "str", fastargs[2]);
 1902|      0|        goto exit;
 1903|      0|    }
 1904|      0|    Py_ssize_t errors_length;
 1905|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
 1906|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1906:9): [True: 0, False: 0]
  ------------------
 1907|      0|        goto exit;
 1908|      0|    }
 1909|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1909:9): [True: 0, False: 0]
  ------------------
 1910|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1911|      0|        goto exit;
 1912|      0|    }
 1913|     32|skip_optional_pos:
 1914|     32|    return_value = unicode_new_impl(type, x, encoding, errors);
 1915|       |
 1916|     32|exit:
 1917|     32|    return return_value;
 1918|     32|}

_Py_set_localsplus_info:
  383|  10.2k|{
  384|  10.2k|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|  10.2k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|  10.2k|    _PyLocals_SetKind(kinds, offset, kind);
  386|  10.2k|}
_PyCode_Validate:
  447|  27.6k|{
  448|       |    /* Check argument types */
  449|  27.6k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (449:9): [True: 0, False: 27.6k]
  |  Branch (449:49): [True: 0, False: 27.6k]
  ------------------
  450|  27.6k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (450:9): [True: 0, False: 27.6k]
  ------------------
  451|  27.6k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (451:9): [True: 0, False: 27.6k]
  |  Branch (451:31): [True: 0, False: 27.6k]
  ------------------
  452|  27.6k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 27.6k]
  |  Branch (452:30): [True: 0, False: 27.6k]
  ------------------
  453|  27.6k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (453:9): [True: 0, False: 27.6k]
  |  Branch (453:32): [True: 0, False: 27.6k]
  ------------------
  454|  27.6k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (454:9): [True: 0, False: 27.6k]
  |  Branch (454:31): [True: 0, False: 27.6k]
  ------------------
  455|  27.6k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:9): [True: 0, False: 27.6k]
  |  Branch (455:41): [True: 0, False: 27.6k]
  ------------------
  456|  27.6k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 0, False: 27.6k]
  |  Branch (456:41): [True: 0, False: 27.6k]
  ------------------
  457|  27.6k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  27.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 27.6k]
  ------------------
  458|  27.6k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|  55.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  27.6k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  27.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (459:9): [True: 0, False: 27.6k]
  |  Branch (459:30): [True: 0, False: 27.6k]
  ------------------
  460|  27.6k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  27.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 27.6k]
  |  Branch (460:34): [True: 0, False: 27.6k]
  ------------------
  461|  27.6k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  27.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 27.6k]
  |  Branch (461:34): [True: 0, False: 27.6k]
  ------------------
  462|  27.6k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 27.6k]
  |  Branch (462:35): [True: 0, False: 27.6k]
  ------------------
  463|  27.6k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  27.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  27.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 27.6k]
  |  Branch (463:40): [True: 0, False: 27.6k]
  ------------------
  464|  27.6k|        ) {
  465|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  466|      0|        return -1;
  467|      0|    }
  468|       |
  469|       |    /* Make sure that code is indexable with an int, this is
  470|       |       a long running assumption in ceval.c and many parts of
  471|       |       the interpreter. */
  472|  27.6k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  27.6k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 0, False: 27.6k]
  ------------------
  473|      0|        PyErr_SetString(PyExc_OverflowError,
  474|      0|                        "code: co_code larger than INT_MAX");
  475|      0|        return -1;
  476|      0|    }
  477|  27.6k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  27.6k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 0, False: 27.6k]
  ------------------
  478|  27.6k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  221|  27.6k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (478:9): [True: 0, False: 27.6k]
  ------------------
  479|  27.6k|        ) {
  480|      0|        PyErr_SetString(PyExc_ValueError, "code: co_code is malformed");
  481|      0|        return -1;
  482|      0|    }
  483|       |
  484|       |    /* Ensure that the co_varnames has enough names to cover the arg counts.
  485|       |     * Note that totalargs = nlocals - nplainlocals.  We check nplainlocals
  486|       |     * here to avoid the possibility of overflow (however remote). */
  487|  27.6k|    int nlocals;
  488|  27.6k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  489|  27.6k|                          &nlocals, NULL, NULL);
  490|  27.6k|    int nplainlocals = nlocals -
  491|  27.6k|                       con->argcount -
  492|  27.6k|                       con->kwonlyargcount -
  493|  27.6k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  120|  27.6k|#define CO_VARARGS      0x0004
  ------------------
  494|  27.6k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  121|  27.6k|#define CO_VARKEYWORDS  0x0008
  ------------------
  495|  27.6k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 27.6k]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  497|      0|        return -1;
  498|      0|    }
  499|       |
  500|  27.6k|    return 0;
  501|  27.6k|}
_PyCode_New:
  717|  27.6k|{
  718|  27.6k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 27.6k]
  ------------------
  719|      0|        return NULL;
  720|      0|    }
  721|       |
  722|  27.6k|    PyObject *replacement_locations = NULL;
  723|       |    // Compact the linetable if we are opted out of debug
  724|       |    // ranges.
  725|  27.6k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (725:9): [True: 0, False: 27.6k]
  ------------------
  726|      0|        replacement_locations = remove_column_info(con->linetable);
  727|      0|        if (replacement_locations == NULL) {
  ------------------
  |  Branch (727:13): [True: 0, False: 0]
  ------------------
  728|      0|            return NULL;
  729|      0|        }
  730|      0|        con->linetable = replacement_locations;
  731|      0|    }
  732|       |
  733|  27.6k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  27.6k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  27.6k|    PyCodeObject *co;
  735|       |#ifdef Py_GIL_DISABLED
  736|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  737|       |#else
  738|  27.6k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  27.6k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  739|  27.6k|#endif
  740|  27.6k|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 27.6k]
  ------------------
  741|      0|        Py_XDECREF(replacement_locations);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|      0|        PyErr_NoMemory();
  743|      0|        return NULL;
  744|      0|    }
  745|       |
  746|  27.6k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (746:9): [True: 0, False: 27.6k]
  ------------------
  747|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|      0|        return NULL;
  749|      0|    }
  750|       |
  751|       |#ifdef Py_GIL_DISABLED
  752|       |    co->_co_unique_id = _PyObject_AssignUniqueId((PyObject *)co);
  753|       |    _PyObject_GC_TRACK(co);
  754|       |#endif
  755|  27.6k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  524|  27.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|  27.6k|    return co;
  757|  27.6k|}
PyUnstable_Code_NewWithPosOnlyArgs:
  774|  4.02k|{
  775|  4.02k|    PyCodeObject *co = NULL;
  776|  4.02k|    PyObject *localsplusnames = NULL;
  777|  4.02k|    PyObject *localspluskinds = NULL;
  778|       |
  779|  4.02k|    if (varnames == NULL || !PyTuple_Check(varnames) ||
  ------------------
  |  |   27|  4.02k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (779:9): [True: 0, False: 4.02k]
  |  Branch (779:29): [True: 0, False: 4.02k]
  ------------------
  780|  4.02k|        cellvars == NULL || !PyTuple_Check(cellvars) ||
  ------------------
  |  |   27|  4.02k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (780:9): [True: 0, False: 4.02k]
  |  Branch (780:29): [True: 0, False: 4.02k]
  ------------------
  781|  4.02k|        freevars == NULL || !PyTuple_Check(freevars)
  ------------------
  |  |   27|  4.02k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (781:9): [True: 0, False: 4.02k]
  |  Branch (781:29): [True: 0, False: 4.02k]
  ------------------
  782|  4.02k|        ) {
  783|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  784|      0|        return NULL;
  785|      0|    }
  786|       |
  787|       |    // Set the "fast locals plus" info.
  788|  4.02k|    int nvarnames = (int)PyTuple_GET_SIZE(varnames);
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|  4.02k|    int ncellvars = (int)PyTuple_GET_SIZE(cellvars);
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|  4.02k|    int nfreevars = (int)PyTuple_GET_SIZE(freevars);
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|  4.02k|    int nlocalsplus = nvarnames + ncellvars + nfreevars;
  792|  4.02k|    localsplusnames = PyTuple_New(nlocalsplus);
  793|  4.02k|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (793:9): [True: 0, False: 4.02k]
  ------------------
  794|      0|        goto error;
  795|      0|    }
  796|  4.02k|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  797|  4.02k|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (797:9): [True: 0, False: 4.02k]
  ------------------
  798|      0|        goto error;
  799|      0|    }
  800|  4.02k|    int  offset = 0;
  801|  8.26k|    for (int i = 0; i < nvarnames; i++, offset++) {
  ------------------
  |  Branch (801:21): [True: 4.23k, False: 4.02k]
  ------------------
  802|  4.23k|        PyObject *name = PyTuple_GET_ITEM(varnames, i);
  ------------------
  |  |   29|  4.23k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.23k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|  4.23k|        _Py_set_localsplus_info(offset, name, CO_FAST_LOCAL,
  ------------------
  |  |  197|  4.23k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  804|  4.23k|                               localsplusnames, localspluskinds);
  805|  4.23k|    }
  806|  4.02k|    for (int i = 0; i < ncellvars; i++, offset++) {
  ------------------
  |  Branch (806:21): [True: 0, False: 4.02k]
  ------------------
  807|      0|        PyObject *name = PyTuple_GET_ITEM(cellvars, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|      0|        int argoffset = -1;
  809|      0|        for (int j = 0; j < nvarnames; j++) {
  ------------------
  |  Branch (809:25): [True: 0, False: 0]
  ------------------
  810|      0|            int cmp = PyUnicode_Compare(PyTuple_GET_ITEM(varnames, j),
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  811|      0|                                        name);
  812|      0|            assert(!PyErr_Occurred());
  813|      0|            if (cmp == 0) {
  ------------------
  |  Branch (813:17): [True: 0, False: 0]
  ------------------
  814|      0|                argoffset = j;
  815|      0|                break;
  816|      0|            }
  817|      0|        }
  818|      0|        if (argoffset >= 0) {
  ------------------
  |  Branch (818:13): [True: 0, False: 0]
  ------------------
  819|       |            // Merge the localsplus indices.
  820|      0|            nlocalsplus -= 1;
  821|      0|            offset -= 1;
  822|      0|            _PyLocals_Kind kind = _PyLocals_GetKind(localspluskinds, argoffset);
  823|      0|            _PyLocals_SetKind(localspluskinds, argoffset, kind | CO_FAST_CELL);
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  824|      0|            continue;
  825|      0|        }
  826|      0|        _Py_set_localsplus_info(offset, name, CO_FAST_CELL,
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  827|      0|                               localsplusnames, localspluskinds);
  828|      0|    }
  829|  8.05k|    for (int i = 0; i < nfreevars; i++, offset++) {
  ------------------
  |  Branch (829:21): [True: 4.02k, False: 4.02k]
  ------------------
  830|  4.02k|        PyObject *name = PyTuple_GET_ITEM(freevars, i);
  ------------------
  |  |   29|  4.02k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.02k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|  4.02k|        _Py_set_localsplus_info(offset, name, CO_FAST_FREE,
  ------------------
  |  |  199|  4.02k|#define CO_FAST_FREE    (0x80)
  ------------------
  832|  4.02k|                               localsplusnames, localspluskinds);
  833|  4.02k|    }
  834|       |
  835|       |    // gh-110543: Make sure the CO_FAST_HIDDEN flag is set correctly.
  836|  4.02k|    if (!(flags & CO_OPTIMIZED)) {
  ------------------
  |  |  118|  4.02k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (836:9): [True: 0, False: 4.02k]
  ------------------
  837|      0|        Py_ssize_t code_len = PyBytes_GET_SIZE(code);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  838|      0|        _Py_CODEUNIT *code_data = (_Py_CODEUNIT *)PyBytes_AS_STRING(code);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      0|        Py_ssize_t num_code_units = code_len / sizeof(_Py_CODEUNIT);
  840|      0|        int extended_arg = 0;
  841|      0|        for (int i = 0; i < num_code_units; i += 1 + _PyOpcode_Caches[code_data[i].op.code]) {
  ------------------
  |  Branch (841:25): [True: 0, False: 0]
  ------------------
  842|      0|            _Py_CODEUNIT *instr = &code_data[i];
  843|      0|            uint8_t opcode = instr->op.code;
  844|      0|            if (opcode == EXTENDED_ARG) {
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (844:17): [True: 0, False: 0]
  ------------------
  845|      0|                extended_arg = extended_arg << 8 | instr->op.arg;
  846|      0|                continue;
  847|      0|            }
  848|      0|            if (opcode == LOAD_FAST_AND_CLEAR) {
  ------------------
  |  |   97|      0|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (848:17): [True: 0, False: 0]
  ------------------
  849|      0|                int oparg = extended_arg << 8 | instr->op.arg;
  850|      0|                if (oparg >= nlocalsplus) {
  ------------------
  |  Branch (850:21): [True: 0, False: 0]
  ------------------
  851|      0|                    PyErr_Format(PyExc_ValueError,
  852|      0|                                "code: LOAD_FAST_AND_CLEAR oparg %d out of range",
  853|      0|                                oparg);
  854|      0|                    goto error;
  855|      0|                }
  856|      0|                _PyLocals_Kind kind = _PyLocals_GetKind(localspluskinds, oparg);
  857|      0|                _PyLocals_SetKind(localspluskinds, oparg, kind | CO_FAST_HIDDEN);
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  858|      0|            }
  859|      0|            extended_arg = 0;
  860|      0|        }
  861|      0|    }
  862|       |
  863|       |    // If any cells were args then nlocalsplus will have shrunk.
  864|  4.02k|    if (nlocalsplus != PyTuple_GET_SIZE(localsplusnames)) {
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (864:9): [True: 0, False: 4.02k]
  ------------------
  865|      0|        if (_PyTuple_Resize(&localsplusnames, nlocalsplus) < 0
  ------------------
  |  Branch (865:13): [True: 0, False: 0]
  ------------------
  866|      0|                || _PyBytes_Resize(&localspluskinds, nlocalsplus) < 0) {
  ------------------
  |  Branch (866:20): [True: 0, False: 0]
  ------------------
  867|      0|            goto error;
  868|      0|        }
  869|      0|    }
  870|       |
  871|  4.02k|    struct _PyCodeConstructor con = {
  872|  4.02k|        .filename = filename,
  873|  4.02k|        .name = name,
  874|  4.02k|        .qualname = qualname,
  875|  4.02k|        .flags = flags,
  876|       |
  877|  4.02k|        .code = code,
  878|  4.02k|        .firstlineno = firstlineno,
  879|  4.02k|        .linetable = linetable,
  880|       |
  881|  4.02k|        .consts = consts,
  882|  4.02k|        .names = names,
  883|       |
  884|  4.02k|        .localsplusnames = localsplusnames,
  885|  4.02k|        .localspluskinds = localspluskinds,
  886|       |
  887|  4.02k|        .argcount = argcount,
  888|  4.02k|        .posonlyargcount = posonlyargcount,
  889|  4.02k|        .kwonlyargcount = kwonlyargcount,
  890|       |
  891|  4.02k|        .stacksize = stacksize,
  892|       |
  893|  4.02k|        .exceptiontable = exceptiontable,
  894|  4.02k|    };
  895|       |
  896|  4.02k|    if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (896:9): [True: 0, False: 4.02k]
  ------------------
  897|      0|        goto error;
  898|      0|    }
  899|  4.02k|    assert(PyBytes_GET_SIZE(code) % sizeof(_Py_CODEUNIT) == 0);
  900|  4.02k|    assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(code), sizeof(_Py_CODEUNIT)));
  901|  4.02k|    if (nlocals != PyTuple_GET_SIZE(varnames)) {
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (901:9): [True: 0, False: 4.02k]
  ------------------
  902|      0|        PyErr_SetString(PyExc_ValueError,
  903|      0|                        "code: co_nlocals != len(co_varnames)");
  904|      0|        goto error;
  905|      0|    }
  906|       |
  907|  4.02k|    co = _PyCode_New(&con);
  908|  4.02k|    if (co == NULL) {
  ------------------
  |  Branch (908:9): [True: 0, False: 4.02k]
  ------------------
  909|      0|        goto error;
  910|      0|    }
  911|       |
  912|  4.02k|error:
  913|  4.02k|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|  4.02k|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  4.02k|    return co;
  916|  4.02k|}
_PyCode_GetVarnames:
 1683|  35.1k|{
 1684|  35.1k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (1684:9): [True: 0, False: 35.1k]
  ------------------
 1685|      0|        return NULL;
 1686|      0|    }
 1687|  35.1k|    return get_cached_locals(co, &co->_co_cached->_co_varnames, CO_FAST_LOCAL, co->co_nlocals);
  ------------------
  |  |  197|  35.1k|#define CO_FAST_LOCAL   (0x20)
  ------------------
 1688|  35.1k|}
_PyCode_GetFreevars:
 1713|  27.4k|{
 1714|  27.4k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 27.4k]
  ------------------
 1715|      0|        return NULL;
 1716|      0|    }
 1717|  27.4k|    return get_cached_locals(co, &co->_co_cached->_co_freevars, CO_FAST_FREE, co->co_nfreevars);
  ------------------
  |  |  199|  27.4k|#define CO_FAST_FREE    (0x80)
  ------------------
 1718|  27.4k|}
_PyCode_GetCode:
 2215|   139k|{
 2216|   139k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (2216:9): [True: 0, False: 139k]
  ------------------
 2217|      0|        return NULL;
 2218|      0|    }
 2219|       |
 2220|   139k|    _PyCoCached *cached = co->_co_cached;
 2221|   139k|    PyObject *code = FT_ATOMIC_LOAD_PTR(cached->_co_code);
  ------------------
  |  |  145|   139k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
 2222|   139k|    if (code != NULL) {
  ------------------
  |  Branch (2222:9): [True: 139k, False: 94]
  ------------------
 2223|   139k|        return Py_NewRef(code);
  ------------------
  |  |  550|   139k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|   139k|    }
 2225|       |
 2226|     94|    Py_BEGIN_CRITICAL_SECTION(co);
  ------------------
  |  |   51|     94|    {
  ------------------
 2227|     94|    code = cached->_co_code;
 2228|     94|    if (code == NULL) {
  ------------------
  |  Branch (2228:9): [True: 94, False: 0]
  ------------------
 2229|     94|        code = PyBytes_FromStringAndSize((const char *)_PyCode_CODE(co),
  ------------------
  |  |   16|     94|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2230|     94|                                         _PyCode_NBYTES(co));
  ------------------
  |  |   17|     94|#define _PyCode_NBYTES(CO) (Py_SIZE(CO) * (Py_ssize_t)sizeof(_Py_CODEUNIT))
  |  |  ------------------
  |  |  |  |  214|     94|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2231|     94|        if (code != NULL) {
  ------------------
  |  Branch (2231:13): [True: 94, False: 0]
  ------------------
 2232|     94|            deopt_code(co, (_Py_CODEUNIT *)PyBytes_AS_STRING(code));
  ------------------
  |  |   27|     94|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|     94|            assert(cached->_co_code == NULL);
 2234|     94|            FT_ATOMIC_STORE_PTR(cached->_co_code, code);
  ------------------
  |  |  146|     94|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
 2235|     94|        }
 2236|     94|    }
 2237|     94|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     94|    }
  ------------------
 2238|     94|    return Py_XNewRef(code);
  ------------------
  |  |  551|     94|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2239|   139k|}
_PyCode_ConstantKey:
 2929|  12.7k|{
 2930|  12.7k|    PyObject *key;
 2931|       |
 2932|       |    /* Py_None and Py_Ellipsis are singletons. */
 2933|  12.7k|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|  25.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|  25.3k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2933:9): [True: 151, False: 12.6k]
  |  Branch (2933:26): [True: 0, False: 12.6k]
  ------------------
 2934|  12.7k|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|  12.6k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  25.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 270, False: 12.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2935|  12.7k|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|  12.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  25.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.37k, False: 5.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2936|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2937|  5.96k|       || PyCode_Check(op))
  ------------------
  |  |  164|  5.96k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  5.96k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.02k, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2938|  7.82k|    {
 2939|       |        /* Objects of these types are always different from object of other
 2940|       |         * type and from tuples. */
 2941|  7.82k|        key = Py_NewRef(op);
  ------------------
  |  |  550|  7.82k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|  7.82k|    }
 2943|  4.94k|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|  4.94k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  9.88k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 98, False: 4.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|  4.84k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  4.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.19k, False: 2.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|       |        /* Make booleans different from integers 0 and 1.
 2945|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2946|  2.29k|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|  2.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|  2.29k|    }
 2948|  2.64k|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|  2.64k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  2.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|      0|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|       |        /* all we need is to make the tuple different in either the 0.0
 2951|       |         * or -0.0 case from all others, just to avoid the "coercion".
 2952|       |         */
 2953|      0|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2953:13): [True: 0, False: 0]
  |  Branch (2953:25): [True: 0, False: 0]
  ------------------
 2954|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2955|      0|        else
 2956|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2957|      0|    }
 2958|  2.64k|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|  2.64k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  2.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2959|      0|        Py_complex z;
 2960|      0|        int real_negzero, imag_negzero;
 2961|       |        /* For the complex case we must make complex(x, 0.)
 2962|       |           different from complex(x, -0.) and complex(0., y)
 2963|       |           different from complex(-0., y), for any x and y.
 2964|       |           All four complex zeros must be distinguished.*/
 2965|      0|        z = PyComplex_AsCComplex(op);
 2966|      0|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2966:24): [True: 0, False: 0]
  |  Branch (2966:41): [True: 0, False: 0]
  ------------------
 2967|      0|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2967:24): [True: 0, False: 0]
  |  Branch (2967:41): [True: 0, False: 0]
  ------------------
 2968|       |        /* use True, False and None singleton as tags for the real and imag
 2969|       |         * sign, to make tuples different */
 2970|      0|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2970:13): [True: 0, False: 0]
  |  Branch (2970:29): [True: 0, False: 0]
  ------------------
 2971|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|      0|        }
 2973|      0|        else if (imag_negzero) {
  ------------------
  |  Branch (2973:18): [True: 0, False: 0]
  ------------------
 2974|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|      0|        }
 2976|      0|        else if (real_negzero) {
  ------------------
  |  Branch (2976:18): [True: 0, False: 0]
  ------------------
 2977|      0|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2978|      0|        }
 2979|      0|        else {
 2980|      0|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|      0|        }
 2982|      0|    }
 2983|  2.64k|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|  2.64k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.54k, False: 96]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2984|  2.54k|        Py_ssize_t i, len;
 2985|  2.54k|        PyObject *tuple;
 2986|       |
 2987|  2.54k|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   27|  2.54k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|  2.54k|        tuple = PyTuple_New(len);
 2989|  2.54k|        if (tuple == NULL)
  ------------------
  |  Branch (2989:13): [True: 0, False: 2.54k]
  ------------------
 2990|      0|            return NULL;
 2991|       |
 2992|  8.36k|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (2992:19): [True: 5.81k, False: 2.54k]
  ------------------
 2993|  5.81k|            PyObject *item, *item_key;
 2994|       |
 2995|  5.81k|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|  5.81k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  5.81k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|  5.81k|            item_key = _PyCode_ConstantKey(item);
 2997|  5.81k|            if (item_key == NULL) {
  ------------------
  |  Branch (2997:17): [True: 0, False: 5.81k]
  ------------------
 2998|      0|                Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|      0|                return NULL;
 3000|      0|            }
 3001|       |
 3002|  5.81k|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|  5.81k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3003|  5.81k|        }
 3004|       |
 3005|  2.54k|        key = _PyTuple_FromPair(tuple, op);
 3006|  2.54k|        Py_DECREF(tuple);
  ------------------
  |  |  430|  2.54k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|  2.54k|    }
 3008|     96|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|     96|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|     96|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 96, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|     96|        Py_ssize_t pos = 0;
 3010|     96|        PyObject *item;
 3011|     96|        Py_hash_t hash;
 3012|     96|        Py_ssize_t i, len;
 3013|     96|        PyObject *tuple, *set;
 3014|       |
 3015|     96|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   71|     96|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|     96|        tuple = PyTuple_New(len);
 3017|     96|        if (tuple == NULL)
  ------------------
  |  Branch (3017:13): [True: 0, False: 96]
  ------------------
 3018|      0|            return NULL;
 3019|       |
 3020|     96|        i = 0;
 3021|    592|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3021:16): [True: 496, False: 96]
  ------------------
 3022|    496|            PyObject *item_key;
 3023|       |
 3024|    496|            item_key = _PyCode_ConstantKey(item);
 3025|    496|            if (item_key == NULL) {
  ------------------
  |  Branch (3025:17): [True: 0, False: 496]
  ------------------
 3026|      0|                Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3027|      0|                return NULL;
 3028|      0|            }
 3029|       |
 3030|    496|            assert(i < len);
 3031|    496|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|    496|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|    496|            i++;
 3033|    496|        }
 3034|     96|        set = PyFrozenSet_New(tuple);
 3035|     96|        Py_DECREF(tuple);
  ------------------
  |  |  430|     96|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3036|     96|        if (set == NULL)
  ------------------
  |  Branch (3036:13): [True: 0, False: 96]
  ------------------
 3037|      0|            return NULL;
 3038|       |
 3039|     96|        key = _PyTuple_FromPair(set, op);
 3040|     96|        Py_DECREF(set);
  ------------------
  |  |  430|     96|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3041|     96|        return key;
 3042|     96|    }
 3043|      0|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|      0|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|      0|        PySliceObject *slice = (PySliceObject *)op;
 3045|      0|        PyObject *start_key = NULL;
 3046|      0|        PyObject *stop_key = NULL;
 3047|      0|        PyObject *step_key = NULL;
 3048|      0|        key = NULL;
 3049|       |
 3050|      0|        start_key = _PyCode_ConstantKey(slice->start);
 3051|      0|        if (start_key == NULL) {
  ------------------
  |  Branch (3051:13): [True: 0, False: 0]
  ------------------
 3052|      0|            goto slice_exit;
 3053|      0|        }
 3054|       |
 3055|      0|        stop_key = _PyCode_ConstantKey(slice->stop);
 3056|      0|        if (stop_key == NULL) {
  ------------------
  |  Branch (3056:13): [True: 0, False: 0]
  ------------------
 3057|      0|            goto slice_exit;
 3058|      0|        }
 3059|       |
 3060|      0|        step_key = _PyCode_ConstantKey(slice->step);
 3061|      0|        if (step_key == NULL) {
  ------------------
  |  Branch (3061:13): [True: 0, False: 0]
  ------------------
 3062|      0|            goto slice_exit;
 3063|      0|        }
 3064|       |
 3065|      0|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3066|      0|        if (slice_key == NULL) {
  ------------------
  |  Branch (3066:13): [True: 0, False: 0]
  ------------------
 3067|      0|            goto slice_exit;
 3068|      0|        }
 3069|       |
 3070|      0|        key = _PyTuple_FromPair(slice_key, op);
 3071|      0|        Py_DECREF(slice_key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|      0|    slice_exit:
 3073|      0|        Py_XDECREF(start_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3074|      0|        Py_XDECREF(stop_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3075|      0|        Py_XDECREF(step_key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3076|      0|    }
 3077|      0|    else {
 3078|       |        /* for other types, use the object identifier as a unique identifier
 3079|       |         * to ensure that they are seen as unequal. */
 3080|      0|        PyObject *obj_id = PyLong_FromVoidPtr(op);
 3081|      0|        if (obj_id == NULL)
  ------------------
  |  Branch (3081:13): [True: 0, False: 0]
  ------------------
 3082|      0|            return NULL;
 3083|       |
 3084|      0|        key = _PyTuple_FromPair(obj_id, op);
 3085|      0|        Py_DECREF(obj_id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|      0|    }
 3087|  12.6k|    return key;
 3088|  12.7k|}
_PyCode_Init:
 3250|      2|{
 3251|       |#ifdef Py_GIL_DISABLED
 3252|       |    struct _py_code_state *state = &interp->code_state;
 3253|       |    state->constants = _Py_hashtable_new_full(&hash_const, &compare_constants,
 3254|       |                                              &destroy_key, NULL, NULL);
 3255|       |    if (state->constants == NULL) {
 3256|       |        return _PyStatus_NO_MEMORY();
 3257|       |    }
 3258|       |#endif
 3259|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3260|      2|}
codeobject.c:get_localsplus_counts:
  392|  55.2k|{
  393|  55.2k|    int nlocals = 0;
  394|  55.2k|    int ncellvars = 0;
  395|  55.2k|    int nfreevars = 0;
  396|  55.2k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|  55.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|   218k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (397:21): [True: 163k, False: 55.2k]
  ------------------
  398|   163k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  399|   163k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|   163k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (399:13): [True: 140k, False: 23.1k]
  ------------------
  400|   140k|            nlocals += 1;
  401|   140k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|   140k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (401:17): [True: 2.05k, False: 138k]
  ------------------
  402|  2.05k|                ncellvars += 1;
  403|  2.05k|            }
  404|   140k|        }
  405|  23.1k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  23.1k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (405:18): [True: 5.73k, False: 17.4k]
  ------------------
  406|  5.73k|            ncellvars += 1;
  407|  5.73k|        }
  408|  17.4k|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|  17.4k|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (408:18): [True: 17.4k, False: 0]
  ------------------
  409|  17.4k|            nfreevars += 1;
  410|  17.4k|        }
  411|   163k|    }
  412|  55.2k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (412:9): [True: 55.2k, False: 0]
  ------------------
  413|  55.2k|        *pnlocals = nlocals;
  414|  55.2k|    }
  415|  55.2k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (415:9): [True: 27.6k, False: 27.6k]
  ------------------
  416|  27.6k|        *pncellvars = ncellvars;
  417|  27.6k|    }
  418|  55.2k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (418:9): [True: 27.6k, False: 27.6k]
  ------------------
  419|  27.6k|        *pnfreevars = nfreevars;
  420|  27.6k|    }
  421|  55.2k|}
codeobject.c:intern_code_constants:
  690|  27.6k|{
  691|       |#ifdef Py_GIL_DISABLED
  692|       |    PyInterpreterState *interp = _PyInterpreterState_GET();
  693|       |    struct _py_code_state *state = &interp->code_state;
  694|       |    FT_MUTEX_LOCK(&state->mutex);
  695|       |#endif
  696|  27.6k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (696:9): [True: 0, False: 27.6k]
  ------------------
  697|      0|        goto error;
  698|      0|    }
  699|  27.6k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (699:9): [True: 0, False: 27.6k]
  ------------------
  700|      0|        goto error;
  701|      0|    }
  702|  27.6k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (702:9): [True: 0, False: 27.6k]
  ------------------
  703|      0|        goto error;
  704|      0|    }
  705|  27.6k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  206|  27.6k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 27.6k]
  |  |  ------------------
  ------------------
  706|  27.6k|    return 0;
  707|       |
  708|      0|error:
  709|      0|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
  710|      0|    return -1;
  711|  27.6k|}
codeobject.c:intern_strings:
  183|  55.2k|{
  184|  55.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  185|  55.2k|    Py_ssize_t i;
  186|       |
  187|   288k|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  55.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:39): [True: 232k, False: 55.2k]
  ------------------
  188|   232k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   232k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   232k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   232k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|   232k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   232k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   232k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   232k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   232k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (189:13): [True: 0, False: 232k]
  |  Branch (189:26): [True: 0, False: 232k]
  ------------------
  190|      0|            PyErr_SetString(PyExc_SystemError,
  191|      0|                            "non-string found in code slot");
  192|      0|            return -1;
  193|      0|        }
  194|   232k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|   232k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   232k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  195|   232k|    }
  196|  55.2k|    return 0;
  197|  55.2k|}
codeobject.c:intern_constants:
  204|  38.0k|{
  205|  38.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  206|   169k|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|  38.0k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (206:50): [True: 131k, False: 38.0k]
  ------------------
  207|   131k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   131k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   131k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|   131k|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   131k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   131k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 75.4k, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  75.4k|            if (should_intern_string(v)) {
  ------------------
  |  Branch (209:17): [True: 48.9k, False: 26.5k]
  ------------------
  210|  48.9k|                PyObject *w = v;
  211|  48.9k|                _PyUnicode_InternMortal(interp, &v);
  212|  48.9k|                if (w != v) {
  ------------------
  |  Branch (212:21): [True: 424, False: 48.4k]
  ------------------
  213|    424|                    PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|    424|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|    424|                    if (modified) {
  ------------------
  |  Branch (214:25): [True: 248, False: 176]
  ------------------
  215|    248|                        *modified = 1;
  216|    248|                    }
  217|    424|                }
  218|  48.9k|            }
  219|  75.4k|        }
  220|  56.4k|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  56.4k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  56.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10.2k, False: 46.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  10.2k|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (221:17): [True: 0, False: 10.2k]
  ------------------
  222|      0|                return -1;
  223|      0|            }
  224|  10.2k|        }
  225|  46.2k|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|  46.2k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  46.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  46.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  46.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 164, False: 46.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|    164|            PyObject *w = v;
  227|    164|            PyObject *tmp = PySequence_Tuple(v);
  228|    164|            if (tmp == NULL) {
  ------------------
  |  Branch (228:17): [True: 0, False: 164]
  ------------------
  229|      0|                return -1;
  230|      0|            }
  231|    164|            int tmp_modified = 0;
  232|    164|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (232:17): [True: 0, False: 164]
  ------------------
  233|      0|                Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      0|                return -1;
  235|      0|            }
  236|    164|            if (tmp_modified) {
  ------------------
  |  Branch (236:17): [True: 48, False: 116]
  ------------------
  237|     48|                v = PyFrozenSet_New(tmp);
  238|     48|                if (v == NULL) {
  ------------------
  |  Branch (238:21): [True: 0, False: 48]
  ------------------
  239|      0|                    Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|      0|                    return -1;
  241|      0|                }
  242|       |
  243|     48|                PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|     48|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|     48|                Py_DECREF(w);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|     48|                if (modified) {
  ------------------
  |  Branch (245:21): [True: 0, False: 48]
  ------------------
  246|      0|                    *modified = 1;
  247|      0|                }
  248|     48|            }
  249|    164|            Py_DECREF(tmp);
  ------------------
  |  |  430|    164|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    164|        }
  251|       |#ifdef Py_GIL_DISABLED
  252|       |        else if (PySlice_Check(v)) {
  253|       |            PySliceObject *slice = (PySliceObject *)v;
  254|       |            PyObject *tmp = PyTuple_New(3);
  255|       |            if (tmp == NULL) {
  256|       |                return -1;
  257|       |            }
  258|       |            PyTuple_SET_ITEM(tmp, 0, Py_NewRef(slice->start));
  259|       |            PyTuple_SET_ITEM(tmp, 1, Py_NewRef(slice->stop));
  260|       |            PyTuple_SET_ITEM(tmp, 2, Py_NewRef(slice->step));
  261|       |            int tmp_modified = 0;
  262|       |            if (intern_constants(tmp, &tmp_modified) < 0) {
  263|       |                Py_DECREF(tmp);
  264|       |                return -1;
  265|       |            }
  266|       |            if (tmp_modified) {
  267|       |                v = PySlice_New(PyTuple_GET_ITEM(tmp, 0),
  268|       |                                PyTuple_GET_ITEM(tmp, 1),
  269|       |                                PyTuple_GET_ITEM(tmp, 2));
  270|       |                if (v == NULL) {
  271|       |                    Py_DECREF(tmp);
  272|       |                    return -1;
  273|       |                }
  274|       |                PyTuple_SET_ITEM(tuple, i, v);
  275|       |                Py_DECREF(slice);
  276|       |                if (modified) {
  277|       |                    *modified = 1;
  278|       |                }
  279|       |            }
  280|       |            Py_DECREF(tmp);
  281|       |        }
  282|       |
  283|       |        // Intern non-string constants in the free-threaded build
  284|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  285|       |        if (!_Py_IsImmortal(v) && !PyUnicode_CheckExact(v) &&
  286|       |            should_immortalize_constant(v) &&
  287|       |            !tstate->suppress_co_const_immortalization)
  288|       |        {
  289|       |            PyObject *interned = intern_one_constant(v);
  290|       |            if (interned == NULL) {
  291|       |                return -1;
  292|       |            }
  293|       |            else if (interned != v) {
  294|       |                PyTuple_SET_ITEM(tuple, i, interned);
  295|       |                Py_SETREF(v, interned);
  296|       |                if (modified) {
  297|       |                    *modified = 1;
  298|       |                }
  299|       |            }
  300|       |        }
  301|       |#endif
  302|   131k|    }
  303|  38.0k|    return 0;
  304|  38.0k|}
codeobject.c:should_intern_string:
  118|  75.4k|{
  119|       |#ifdef Py_GIL_DISABLED
  120|       |    // The free-threaded build interns (and immortalizes) all string constants
  121|       |    return 1;
  122|       |#else
  123|       |    // compute if s matches [a-zA-Z0-9_]
  124|  75.4k|    const unsigned char *s, *e;
  125|       |
  126|  75.4k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  227|  75.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 86, False: 75.3k]
  ------------------
  127|     86|        return 0;
  128|       |
  129|  75.3k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  291|  75.3k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  75.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|  75.3k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  299|  75.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|   616k|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 567k, False: 48.9k]
  ------------------
  132|   567k|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|  1.13M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|   567k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|   567k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|   567k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|   567k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|   567k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|   567k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 58.7k, False: 508k]
  |  Branch (132:32): [True: 26.4k, False: 32.3k]
  ------------------
  133|  26.4k|            return 0;
  134|   567k|    }
  135|  48.9k|    return 1;
  136|  75.3k|#endif
  137|  75.3k|}
codeobject.c:init_code:
  512|  27.6k|{
  513|  27.6k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  27.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  27.6k|    int nlocals, ncellvars, nfreevars;
  515|  27.6k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  516|  27.6k|                          &nlocals, &ncellvars, &nfreevars);
  517|  27.6k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 27.6k]
  ------------------
  518|      0|        con->stacksize = 1;
  519|      0|    }
  520|       |
  521|  27.6k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|  27.6k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|  27.6k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  27.6k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|  27.6k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  526|  27.6k|    _PyUnicode_InternMortal(interp, &co->co_name);
  527|  27.6k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  528|  27.6k|    co->co_flags = con->flags;
  529|       |
  530|  27.6k|    co->co_firstlineno = con->firstlineno;
  531|  27.6k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|       |
  533|  27.6k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|  27.6k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|       |
  536|  27.6k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  27.6k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  538|       |
  539|  27.6k|    co->co_argcount = con->argcount;
  540|  27.6k|    co->co_posonlyargcount = con->posonlyargcount;
  541|  27.6k|    co->co_kwonlyargcount = con->kwonlyargcount;
  542|       |
  543|  27.6k|    co->co_stacksize = con->stacksize;
  544|       |
  545|  27.6k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  550|  27.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|       |    /* derived values */
  548|  27.6k|    co->co_nlocalsplus = nlocalsplus;
  549|  27.6k|    co->co_nlocals = nlocals;
  550|  27.6k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  27.6k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  551|  27.6k|    co->co_ncellvars = ncellvars;
  552|  27.6k|    co->co_nfreevars = nfreevars;
  553|  27.6k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  204|  27.6k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 27.6k]
  |  |  ------------------
  ------------------
  554|  27.6k|    co->co_version = interp->func_state.next_version;
  555|  27.6k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (555:9): [True: 27.6k, False: 0]
  ------------------
  556|  27.6k|        interp->func_state.next_version++;
  557|  27.6k|    }
  558|  27.6k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  206|  27.6k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 27.6k]
  |  |  ------------------
  ------------------
  559|  27.6k|    co->_co_monitoring = NULL;
  560|  27.6k|    co->_co_instrumentation_version = 0;
  561|       |    /* not set */
  562|  27.6k|    co->co_weakreflist = NULL;
  563|  27.6k|    co->co_extra = NULL;
  564|  27.6k|    co->_co_cached = NULL;
  565|  27.6k|    co->co_executors = NULL;
  566|       |
  567|  27.6k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  27.6k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  27.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  27.6k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  27.6k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  27.6k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    co->co_tlbc = _PyCodeArray_New(INITIAL_SPECIALIZED_CODE_SIZE);
  571|       |    if (co->co_tlbc == NULL) {
  572|       |        return -1;
  573|       |    }
  574|       |    co->co_tlbc->entries[0] = co->co_code_adaptive;
  575|       |#endif
  576|  27.6k|    int entry_point = 0;
  577|  45.7k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  214|  45.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (577:12): [True: 45.7k, False: 0]
  ------------------
  578|  45.7k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|  45.7k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  45.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  133|  91.5k|#define RESUME                                 128
  ------------------
  |  Branch (578:13): [True: 28.3k, False: 17.3k]
  ------------------
  579|  28.3k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  28.3k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  28.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   94|  28.3k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  28.3k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (579:12): [True: 27.6k, False: 758]
  ------------------
  580|  45.7k|        ) {
  581|  27.6k|            break;
  582|  27.6k|        }
  583|  18.1k|        entry_point++;
  584|  18.1k|    }
  585|  27.6k|    co->_co_firsttraceable = entry_point;
  586|       |
  587|       |#ifdef Py_GIL_DISABLED
  588|       |    int enable_counters = interp->config.tlbc_enabled && interp->opt_config.specialization_enabled;
  589|       |    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), enable_counters, co->co_flags);
  590|       |#else
  591|  27.6k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  27.6k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  27.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  27.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|  27.6k|#endif
  593|  27.6k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  594|  27.6k|    return 0;
  595|  27.6k|}
codeobject.c:notify_code_watchers:
   42|  34.7k|{
   43|  34.7k|    assert(Py_REFCNT(co) > 0);
   44|  34.7k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|  34.7k|    assert(interp->_initialized);
   46|  34.7k|    uint8_t bits = interp->active_code_watchers;
   47|  34.7k|    int i = 0;
   48|  34.7k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 34.7k]
  ------------------
   49|      0|        assert(i < CODE_MAX_WATCHERS);
   50|      0|        if (bits & 1) {
  ------------------
  |  Branch (50:13): [True: 0, False: 0]
  ------------------
   51|      0|            PyCode_WatchCallback cb = interp->code_watchers[i];
   52|       |            // callback must be non-null if the watcher bit is set
   53|      0|            assert(cb != NULL);
   54|      0|            if (cb(event, co) < 0) {
  ------------------
  |  Branch (54:17): [True: 0, False: 0]
  ------------------
   55|      0|                PyErr_FormatUnraisable(
   56|      0|                    "Exception ignored in %s watcher callback for %R",
   57|      0|                    code_event_name(event), co);
   58|      0|            }
   59|      0|        }
   60|      0|        i++;
   61|      0|        bits >>= 1;
   62|      0|    }
   63|  34.7k|}
codeobject.c:init_co_cached:
  350|   202k|{
  351|   202k|    _PyCoCached *cached = FT_ATOMIC_LOAD_PTR(self->_co_cached);
  ------------------
  |  |  145|   202k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  352|   202k|    if (cached != NULL) {
  ------------------
  |  Branch (352:9): [True: 201k, False: 527]
  ------------------
  353|   201k|        return 0;
  354|   201k|    }
  355|       |
  356|    527|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    527|    {
  ------------------
  357|    527|    cached = self->_co_cached;
  358|    527|    if (cached == NULL) {
  ------------------
  |  Branch (358:9): [True: 527, False: 0]
  ------------------
  359|    527|        cached = PyMem_New(_PyCoCached, 1);
  ------------------
  |  |   64|    527|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    527|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 527]
  |  |  ------------------
  |  |   65|    527|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  360|    527|        if (cached == NULL) {
  ------------------
  |  Branch (360:13): [True: 0, False: 527]
  ------------------
  361|      0|            PyErr_NoMemory();
  362|      0|        }
  363|    527|        else {
  364|    527|            cached->_co_code = NULL;
  365|    527|            cached->_co_cellvars = NULL;
  366|    527|            cached->_co_freevars = NULL;
  367|    527|            cached->_co_varnames = NULL;
  368|    527|            FT_ATOMIC_STORE_PTR(self->_co_cached, cached);
  ------------------
  |  |  146|    527|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
  369|    527|        }
  370|    527|    }
  371|    527|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    527|    }
  ------------------
  372|    527|    return cached != NULL ? 0 : -1;
  ------------------
  |  Branch (372:12): [True: 527, False: 0]
  ------------------
  373|   202k|}
codeobject.c:get_cached_locals:
 1661|  62.6k|{
 1662|  62.6k|    assert(cached_field != NULL);
 1663|  62.6k|    assert(co->_co_cached != NULL);
 1664|  62.6k|    PyObject *varnames = FT_ATOMIC_LOAD_PTR(*cached_field);
  ------------------
  |  |  145|  62.6k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
 1665|  62.6k|    if (varnames != NULL) {
  ------------------
  |  Branch (1665:9): [True: 62.2k, False: 443]
  ------------------
 1666|  62.2k|        return Py_NewRef(varnames);
  ------------------
  |  |  550|  62.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  62.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|  62.2k|    }
 1668|       |
 1669|    443|    Py_BEGIN_CRITICAL_SECTION(co);
  ------------------
  |  |   51|    443|    {
  ------------------
 1670|    443|    varnames = *cached_field;
 1671|    443|    if (varnames == NULL) {
  ------------------
  |  Branch (1671:9): [True: 443, False: 0]
  ------------------
 1672|    443|        varnames = get_localsplus_names(co, kind, num);
 1673|    443|        if (varnames != NULL) {
  ------------------
  |  Branch (1673:13): [True: 443, False: 0]
  ------------------
 1674|    443|            FT_ATOMIC_STORE_PTR(*cached_field, varnames);
  ------------------
  |  |  146|    443|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
 1675|    443|        }
 1676|    443|    }
 1677|    443|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    443|    }
  ------------------
 1678|    443|    return Py_XNewRef(varnames);
  ------------------
  |  |  551|    443|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|  62.6k|}
codeobject.c:get_localsplus_names:
  425|  12.5k|{
  426|  12.5k|    PyObject *names = PyTuple_New(num);
  427|  12.5k|    if (names == NULL) {
  ------------------
  |  Branch (427:9): [True: 0, False: 12.5k]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|  12.5k|    int index = 0;
  431|  38.9k|    for (int offset = 0; offset < co->co_nlocalsplus; offset++) {
  ------------------
  |  Branch (431:26): [True: 26.4k, False: 12.5k]
  ------------------
  432|  26.4k|        _PyLocals_Kind k = _PyLocals_GetKind(co->co_localspluskinds, offset);
  433|  26.4k|        if ((k & kind) == 0) {
  ------------------
  |  Branch (433:13): [True: 17.3k, False: 9.05k]
  ------------------
  434|  17.3k|            continue;
  435|  17.3k|        }
  436|  26.4k|        assert(index < num);
  437|  9.05k|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, offset);
  ------------------
  |  |   29|  9.05k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  9.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|  9.05k|        PyTuple_SET_ITEM(names, index, Py_NewRef(name));
  ------------------
  |  |   40|  9.05k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|  9.05k|        index += 1;
  440|  9.05k|    }
  441|       |    assert(index == num);
  442|  12.5k|    return names;
  443|  12.5k|}
codeobject.c:deopt_code:
 2199|     94|{
 2200|     94|    Py_ssize_t len = Py_SIZE(code);
  ------------------
  |  |  214|     94|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2201|  1.13k|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2201:21): [True: 1.04k, False: 94]
  ------------------
 2202|  1.04k|        _Py_CODEUNIT inst = _Py_GetBaseCodeUnit(code, i);
 2203|  1.04k|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
 2204|  1.04k|        int caches = _PyOpcode_Caches[inst.op.code];
 2205|  1.04k|        instructions[i] = inst;
 2206|  1.93k|        for (int j = 1; j <= caches; j++) {
  ------------------
  |  Branch (2206:25): [True: 896, False: 1.04k]
  ------------------
 2207|    896|            instructions[i+j].cache = 0;
 2208|    896|        }
 2209|  1.04k|        i += caches;
 2210|  1.04k|    }
 2211|     94|}
codeobject.c:code_dealloc:
 2395|  7.09k|{
 2396|  7.09k|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|  7.09k|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2397|  7.09k|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2398|  7.09k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  7.09k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2399|  7.09k|    _PyObject_ResurrectStart(self);
 2400|  7.09k|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2401|  7.09k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2401:9): [True: 0, False: 7.09k]
  ------------------
 2402|      0|        return;
 2403|      0|    }
 2404|       |
 2405|       |#ifdef Py_GIL_DISABLED
 2406|       |    PyObject_GC_UnTrack(co);
 2407|       |#endif
 2408|       |
 2409|  7.09k|    _PyFunction_ClearCodeByVersion(co->co_version);
 2410|  7.09k|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 7.09k]
  ------------------
 2411|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2412|      0|        _PyCodeObjectExtra *co_extra = co->co_extra;
 2413|       |
 2414|      0|        for (Py_ssize_t i = 0; i < co_extra->ce_size; i++) {
  ------------------
  |  Branch (2414:32): [True: 0, False: 0]
  ------------------
 2415|      0|            freefunc free_extra = interp->co_extra_freefuncs[i];
 2416|       |
 2417|      0|            if (free_extra != NULL) {
  ------------------
  |  Branch (2417:17): [True: 0, False: 0]
  ------------------
 2418|      0|                free_extra(co_extra->ce_extras[i]);
 2419|      0|            }
 2420|      0|        }
 2421|       |
 2422|      0|        PyMem_Free(co_extra);
 2423|      0|    }
 2424|       |#ifdef _Py_TIER2
 2425|       |    if (co->co_executors != NULL) {
 2426|       |        clear_executors(co);
 2427|       |    }
 2428|       |#endif
 2429|       |
 2430|  7.09k|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|  7.09k|    Py_XDECREF(co->co_names);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|  7.09k|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|  7.09k|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|  7.09k|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|  7.09k|    Py_XDECREF(co->co_name);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|  7.09k|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|  7.09k|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|  7.09k|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  524|  7.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2439|       |#ifdef Py_GIL_DISABLED
 2440|       |    assert(co->_co_unique_id == _Py_INVALID_UNIQUE_ID);
 2441|       |#endif
 2442|  7.09k|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2442:9): [True: 3, False: 7.09k]
  ------------------
 2443|      3|        Py_XDECREF(co->_co_cached->_co_code);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|      3|        Py_XDECREF(co->_co_cached->_co_cellvars);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|      3|        Py_XDECREF(co->_co_cached->_co_freevars);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|      3|        Py_XDECREF(co->_co_cached->_co_varnames);
  ------------------
  |  |  524|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|      3|        PyMem_Free(co->_co_cached);
 2448|      3|    }
 2449|  7.09k|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|  7.09k|    do {                                            \
  |  |   48|  7.09k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  7.09k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 7.09k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  7.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 7.09k]
  |  |  ------------------
  ------------------
 2450|  7.09k|    free_monitoring_data(co->_co_monitoring);
 2451|       |#ifdef Py_GIL_DISABLED
 2452|       |    // The first element always points to the mutable bytecode at the end of
 2453|       |    // the code object, which will be freed when the code object is freed.
 2454|       |    for (Py_ssize_t i = 1; i < co->co_tlbc->size; i++) {
 2455|       |        char *entry = co->co_tlbc->entries[i];
 2456|       |        if (entry != NULL) {
 2457|       |            PyMem_Free(entry);
 2458|       |        }
 2459|       |    }
 2460|       |    PyMem_Free(co->co_tlbc);
 2461|       |#endif
 2462|  7.09k|    PyObject_Free(co);
 2463|  7.09k|}
codeobject.c:free_monitoring_data:
 2371|  7.09k|{
 2372|  7.09k|    if (data == NULL) {
  ------------------
  |  Branch (2372:9): [True: 7.09k, False: 0]
  ------------------
 2373|  7.09k|        return;
 2374|  7.09k|    }
 2375|      0|    if (data->tools) {
  ------------------
  |  Branch (2375:9): [True: 0, False: 0]
  ------------------
 2376|      0|        PyMem_Free(data->tools);
 2377|      0|    }
 2378|      0|    if (data->lines) {
  ------------------
  |  Branch (2378:9): [True: 0, False: 0]
  ------------------
 2379|      0|        PyMem_Free(data->lines);
 2380|      0|    }
 2381|      0|    if (data->line_tools) {
  ------------------
  |  Branch (2381:9): [True: 0, False: 0]
  ------------------
 2382|      0|        PyMem_Free(data->line_tools);
 2383|      0|    }
 2384|      0|    if (data->per_instruction_opcodes) {
  ------------------
  |  Branch (2384:9): [True: 0, False: 0]
  ------------------
 2385|      0|        PyMem_Free(data->per_instruction_opcodes);
 2386|      0|    }
 2387|      0|    if (data->per_instruction_tools) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 0]
  ------------------
 2388|      0|        PyMem_Free(data->per_instruction_tools);
 2389|      0|    }
 2390|      0|    PyMem_Free(data);
 2391|      0|}
codeobject.c:code_repr:
 2477|      1|{
 2478|      1|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|      1|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2479|      1|    int lineno;
 2480|      1|    if (co->co_firstlineno != 0)
  ------------------
  |  Branch (2480:9): [True: 1, False: 0]
  ------------------
 2481|      1|        lineno = co->co_firstlineno;
 2482|      0|    else
 2483|      0|        lineno = -1;
 2484|      1|    if (co->co_filename && PyUnicode_Check(co->co_filename)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2484:9): [True: 1, False: 0]
  ------------------
 2485|      1|        return PyUnicode_FromFormat(
 2486|      1|            "<code object %U at %p, file \"%U\", line %d>",
 2487|      1|            co->co_name, co, co->co_filename, lineno);
 2488|      1|    } else {
 2489|      0|        return PyUnicode_FromFormat(
 2490|      0|            "<code object %U at %p, file ???, line %d>",
 2491|      0|            co->co_name, co, lineno);
 2492|      0|    }
 2493|      1|}
codeobject.c:code_hash:
 2586|  2.57k|{
 2587|  2.57k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  2.57k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2588|  2.57k|    Py_uhash_t uhash = 20221211;
 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
 2592|  2.57k|    } while (0)
 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2595|  2.57k|        if (h == -1) {                      \
 2596|  2.57k|            return -1;                      \
 2597|  2.57k|        }                                   \
 2598|  2.57k|        SCRAMBLE_IN(h);                     \
 2599|  2.57k|    } while (0)
 2600|       |
 2601|  2.57k|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2602|  2.57k|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2603|  2.57k|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2604|  2.57k|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2605|  2.57k|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2606|  2.57k|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2593|  2.57k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  2.57k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  2.57k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  2.57k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2607|  2.57k|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2608|  2.57k|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2609|  2.57k|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2610|  2.57k|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2611|  2.57k|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2612|  2.57k|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2589|  2.57k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  2.57k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  2.57k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  2.57k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 2613|  63.7k|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|  63.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2613:21): [True: 61.1k, False: 2.57k]
  ------------------
 2614|  61.1k|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2615|  61.1k|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2589|  61.1k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  61.1k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  61.1k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  61.1k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  61.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 61.1k]
  |  |  ------------------
  ------------------
 2616|  61.1k|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2589|  61.1k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  61.1k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  61.1k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  61.1k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  61.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 61.1k]
  |  |  ------------------
  ------------------
 2617|  61.1k|        i += _PyOpcode_Caches[co_instr.op.code];
 2618|  61.1k|    }
 2619|  2.57k|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2619:9): [True: 0, False: 2.57k]
  ------------------
 2620|      0|        return -2;
 2621|      0|    }
 2622|  2.57k|    return (Py_hash_t)uhash;
 2623|  2.57k|}
codeobject.c:code_replace_impl:
 2760|  4.02k|{
 2761|  4.02k|#define CHECK_INT_ARG(ARG) \
 2762|  4.02k|        if (ARG < 0) { \
 2763|  4.02k|            PyErr_SetString(PyExc_ValueError, \
 2764|  4.02k|                            #ARG " must be a positive integer"); \
 2765|  4.02k|            return NULL; \
 2766|  4.02k|        }
 2767|       |
 2768|  4.02k|    CHECK_INT_ARG(co_argcount);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2769|  4.02k|    CHECK_INT_ARG(co_posonlyargcount);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2770|  4.02k|    CHECK_INT_ARG(co_kwonlyargcount);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2771|  4.02k|    CHECK_INT_ARG(co_nlocals);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2772|  4.02k|    CHECK_INT_ARG(co_stacksize);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2773|  4.02k|    CHECK_INT_ARG(co_flags);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2774|  4.02k|    CHECK_INT_ARG(co_firstlineno);
  ------------------
  |  | 2762|  4.02k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2775|       |
 2776|  4.02k|#undef CHECK_INT_ARG
 2777|       |
 2778|  4.02k|    PyObject *code = NULL;
 2779|  4.02k|    if (co_code == NULL) {
  ------------------
  |  Branch (2779:9): [True: 4.02k, False: 0]
  ------------------
 2780|  4.02k|        code = _PyCode_GetCode(self);
 2781|  4.02k|        if (code == NULL) {
  ------------------
  |  Branch (2781:13): [True: 0, False: 4.02k]
  ------------------
 2782|      0|            return NULL;
 2783|      0|        }
 2784|  4.02k|        co_code = code;
 2785|  4.02k|    }
 2786|       |
 2787|  4.02k|    if (PySys_Audit("code.__new__", "OOOiiiiii",
  ------------------
  |  Branch (2787:9): [True: 0, False: 4.02k]
  ------------------
 2788|  4.02k|                    co_code, co_filename, co_name, co_argcount,
 2789|  4.02k|                    co_posonlyargcount, co_kwonlyargcount, co_nlocals,
 2790|  4.02k|                    co_stacksize, co_flags) < 0) {
 2791|      0|        Py_XDECREF(code);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      0|        return NULL;
 2793|      0|    }
 2794|       |
 2795|  4.02k|    PyCodeObject *co = NULL;
 2796|  4.02k|    PyObject *varnames = NULL;
 2797|  4.02k|    PyObject *cellvars = NULL;
 2798|  4.02k|    PyObject *freevars = NULL;
 2799|  4.02k|    if (co_varnames == NULL) {
  ------------------
  |  Branch (2799:9): [True: 4.02k, False: 0]
  ------------------
 2800|  4.02k|        varnames = get_localsplus_names(self, CO_FAST_LOCAL, self->co_nlocals);
  ------------------
  |  |  197|  4.02k|#define CO_FAST_LOCAL   (0x20)
  ------------------
 2801|  4.02k|        if (varnames == NULL) {
  ------------------
  |  Branch (2801:13): [True: 0, False: 4.02k]
  ------------------
 2802|      0|            goto error;
 2803|      0|        }
 2804|  4.02k|        co_varnames = varnames;
 2805|  4.02k|    }
 2806|  4.02k|    if (co_cellvars == NULL) {
  ------------------
  |  Branch (2806:9): [True: 4.02k, False: 0]
  ------------------
 2807|  4.02k|        cellvars = get_localsplus_names(self, CO_FAST_CELL, self->co_ncellvars);
  ------------------
  |  |  198|  4.02k|#define CO_FAST_CELL    (0x40)
  ------------------
 2808|  4.02k|        if (cellvars == NULL) {
  ------------------
  |  Branch (2808:13): [True: 0, False: 4.02k]
  ------------------
 2809|      0|            goto error;
 2810|      0|        }
 2811|  4.02k|        co_cellvars = cellvars;
 2812|  4.02k|    }
 2813|  4.02k|    if (co_freevars == NULL) {
  ------------------
  |  Branch (2813:9): [True: 4.02k, False: 0]
  ------------------
 2814|  4.02k|        freevars = get_localsplus_names(self, CO_FAST_FREE, self->co_nfreevars);
  ------------------
  |  |  199|  4.02k|#define CO_FAST_FREE    (0x80)
  ------------------
 2815|  4.02k|        if (freevars == NULL) {
  ------------------
  |  Branch (2815:13): [True: 0, False: 4.02k]
  ------------------
 2816|      0|            goto error;
 2817|      0|        }
 2818|  4.02k|        co_freevars = freevars;
 2819|  4.02k|    }
 2820|       |
 2821|  4.02k|    co = PyCode_NewWithPosOnlyArgs(
 2822|  4.02k|        co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals,
 2823|  4.02k|        co_stacksize, co_flags, co_code, co_consts, co_names,
 2824|  4.02k|        co_varnames, co_freevars, co_cellvars, co_filename, co_name,
 2825|  4.02k|        co_qualname, co_firstlineno,
 2826|  4.02k|        co_linetable, co_exceptiontable);
 2827|       |
 2828|  4.02k|error:
 2829|  4.02k|    Py_XDECREF(code);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  4.02k|    Py_XDECREF(varnames);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2831|  4.02k|    Py_XDECREF(cellvars);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|  4.02k|    Py_XDECREF(freevars);
  ------------------
  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|  4.02k|    return (PyObject *)co;
 2834|  4.02k|}
codeobject.c:code_getvarnames:
 2649|  35.1k|{
 2650|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  35.1k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2651|  35.1k|    return _PyCode_GetVarnames(code);
 2652|  35.1k|}
codeobject.c:code_getfreevars:
 2663|  27.4k|{
 2664|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  27.4k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2665|  27.4k|    return _PyCode_GetFreevars(code);
 2666|  27.4k|}
codeobject.c:code_getcode:
 2678|   135k|{
 2679|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|   135k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2680|   135k|    return _PyCode_GetCode(code);
 2681|   135k|}

PyComplex_FromCComplex:
  412|      2|{
  413|      2|    PyComplexObject *op = _Py_FREELIST_POP(PyComplexObject, complexes);
  ------------------
  |  |   43|      2|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  414|       |
  415|      2|    if (op == NULL) {
  ------------------
  |  Branch (415:9): [True: 2, False: 0]
  ------------------
  416|       |        /* Inline PyObject_New */
  417|      2|        op = PyObject_Malloc(sizeof(PyComplexObject));
  418|      2|        if (op == NULL) {
  ------------------
  |  Branch (418:13): [True: 0, False: 2]
  ------------------
  419|      0|            return PyErr_NoMemory();
  420|      0|        }
  421|      2|        _PyObject_Init((PyObject*)op, &PyComplex_Type);
  422|      2|    }
  423|      2|    op->cval = cval;
  424|      2|    return (PyObject *) op;
  425|      2|}

PyDescr_NewMethod:
  928|  2.13k|{
  929|       |    /* Figure out correct vectorcall function to use */
  930|  2.13k|    vectorcallfunc vectorcall;
  931|  2.13k|    switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  2.13k|#define METH_VARARGS  0x0001
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  2.13k|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  2.13k|#define METH_NOARGS   0x0004
  ------------------
  932|  2.13k|                                METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  2.13k|#define METH_O        0x0008
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  2.13k|#define METH_KEYWORDS 0x0002
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  2.13k|#define METH_METHOD 0x0200
  ------------------
  933|  2.13k|    {
  934|     60|        case METH_VARARGS:
  ------------------
  |  |   95|     60|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (934:9): [True: 60, False: 2.07k]
  ------------------
  935|     60|            vectorcall = method_vectorcall_VARARGS;
  936|     60|            break;
  937|     56|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|     56|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|     56|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (937:9): [True: 56, False: 2.07k]
  ------------------
  938|     56|            vectorcall = method_vectorcall_VARARGS_KEYWORDS;
  939|     56|            break;
  940|    274|        case METH_FASTCALL:
  ------------------
  |  |  115|    274|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (940:9): [True: 274, False: 1.85k]
  ------------------
  941|    274|            vectorcall = method_vectorcall_FASTCALL;
  942|    274|            break;
  943|    166|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    166|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    166|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (943:9): [True: 166, False: 1.96k]
  ------------------
  944|    166|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS;
  945|    166|            break;
  946|  1.03k|        case METH_NOARGS:
  ------------------
  |  |   98|  1.03k|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (946:9): [True: 1.03k, False: 1.09k]
  ------------------
  947|  1.03k|            vectorcall = method_vectorcall_NOARGS;
  948|  1.03k|            break;
  949|    400|        case METH_O:
  ------------------
  |  |   99|    400|#define METH_O        0x0008
  ------------------
  |  Branch (949:9): [True: 400, False: 1.73k]
  ------------------
  950|    400|            vectorcall = method_vectorcall_O;
  951|    400|            break;
  952|    140|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|    140|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    140|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    140|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (952:9): [True: 140, False: 1.99k]
  ------------------
  953|    140|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD;
  954|    140|            break;
  955|      0|        default:
  ------------------
  |  Branch (955:9): [True: 0, False: 2.13k]
  ------------------
  956|      0|            PyErr_Format(PyExc_SystemError,
  957|      0|                         "%s() method: bad call flags", method->ml_name);
  958|      0|            return NULL;
  959|  2.13k|    }
  960|       |
  961|  2.13k|    PyMethodDescrObject *descr;
  962|       |
  963|  2.13k|    descr = (PyMethodDescrObject *)descr_new(&PyMethodDescr_Type,
  964|  2.13k|                                             type, method->ml_name);
  965|  2.13k|    if (descr != NULL) {
  ------------------
  |  Branch (965:9): [True: 2.13k, False: 0]
  ------------------
  966|  2.13k|        descr->d_method = method;
  967|  2.13k|        descr->vectorcall = vectorcall;
  968|  2.13k|    }
  969|  2.13k|    return (PyObject *)descr;
  970|  2.13k|}
PyDescr_NewClassMethod:
  974|    142|{
  975|    142|    PyMethodDescrObject *descr;
  976|       |
  977|    142|    descr = (PyMethodDescrObject *)descr_new(&PyClassMethodDescr_Type,
  978|    142|                                             type, method->ml_name);
  979|    142|    if (descr != NULL)
  ------------------
  |  Branch (979:9): [True: 142, False: 0]
  ------------------
  980|    142|        descr->d_method = method;
  981|    142|    return (PyObject *)descr;
  982|    142|}
PyDescr_NewMember:
  986|  1.41k|{
  987|  1.41k|    PyMemberDescrObject *descr;
  988|       |
  989|  1.41k|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  1.41k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (989:9): [True: 0, False: 1.41k]
  ------------------
  990|      0|        PyErr_SetString(
  991|      0|            PyExc_SystemError,
  992|      0|            "PyDescr_NewMember used with Py_RELATIVE_OFFSET");
  993|      0|        return NULL;
  994|      0|    }
  995|  1.41k|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
  996|  1.41k|                                             type, member->name);
  997|  1.41k|    if (descr != NULL)
  ------------------
  |  Branch (997:9): [True: 1.41k, False: 0]
  ------------------
  998|  1.41k|        descr->d_member = member;
  999|  1.41k|    return (PyObject *)descr;
 1000|  1.41k|}
PyDescr_NewGetSet:
 1004|    596|{
 1005|    596|    PyGetSetDescrObject *descr;
 1006|       |
 1007|    596|    descr = (PyGetSetDescrObject *)descr_new(&PyGetSetDescr_Type,
 1008|    596|                                             type, getset->name);
 1009|    596|    if (descr != NULL)
  ------------------
  |  Branch (1009:9): [True: 596, False: 0]
  ------------------
 1010|    596|        descr->d_getset = getset;
 1011|    596|    return (PyObject *)descr;
 1012|    596|}
PyDescr_NewWrapper:
 1016|  2.49k|{
 1017|  2.49k|    PyWrapperDescrObject *descr;
 1018|       |
 1019|  2.49k|    descr = (PyWrapperDescrObject *)descr_new(&PyWrapperDescr_Type,
 1020|  2.49k|                                             type, base->name);
 1021|  2.49k|    if (descr != NULL) {
  ------------------
  |  Branch (1021:9): [True: 2.49k, False: 0]
  ------------------
 1022|  2.49k|        descr->d_base = base;
 1023|  2.49k|        descr->d_wrapped = wrapped;
 1024|  2.49k|    }
 1025|  2.49k|    return (PyObject *)descr;
 1026|  2.49k|}
PyDescr_IsData:
 1030|  7.28M|{
 1031|  7.28M|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  213|  7.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|  7.28M|}
PyDictProxy_New:
 1284|  3.66k|{
 1285|  3.66k|    mappingproxyobject *pp;
 1286|       |
 1287|  3.66k|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1287:9): [True: 0, False: 3.66k]
  ------------------
 1288|      0|        return NULL;
 1289|       |
 1290|  3.66k|    pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|  3.66k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1291|  3.66k|    if (pp != NULL) {
  ------------------
  |  Branch (1291:9): [True: 3.66k, False: 0]
  ------------------
 1292|  3.66k|        pp->mapping = Py_NewRef(mapping);
  ------------------
  |  |  550|  3.66k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|  3.66k|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  508|  3.66k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|  3.66k|    }
 1295|  3.66k|    return (PyObject *)pp;
 1296|  3.66k|}
PyWrapper_New:
 1492|  3.60k|{
 1493|  3.60k|    wrapperobject *wp;
 1494|  3.60k|    PyWrapperDescrObject *descr;
 1495|       |
 1496|  3.60k|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
 1497|  3.60k|    descr = (PyWrapperDescrObject *)d;
 1498|  3.60k|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
 1499|  3.60k|                                    (PyObject *)PyDescr_TYPE(descr)));
 1500|       |
 1501|  3.60k|    wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type);
  ------------------
  |  |  181|  3.60k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1502|  3.60k|    if (wp != NULL) {
  ------------------
  |  Branch (1502:9): [True: 3.60k, False: 0]
  ------------------
 1503|  3.60k|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  550|  3.60k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|  3.60k|        wp->self = Py_NewRef(self);
  ------------------
  |  |  550|  3.60k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1505|  3.60k|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  508|  3.60k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|  3.60k|    }
 1507|  3.60k|    return (PyObject *)wp;
 1508|  3.60k|}
descrobject.c:descr_dealloc:
   24|    108|{
   25|    108|    PyDescrObject *descr = (PyDescrObject *)self;
   26|    108|    _PyObject_GC_UNTRACK(descr);
  ------------------
  |  |  510|    108|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   27|    108|    Py_XDECREF(descr->d_type);
  ------------------
  |  |  524|    108|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|    108|    Py_XDECREF(descr->d_name);
  ------------------
  |  |  524|    108|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|    108|    Py_XDECREF(descr->d_qualname);
  ------------------
  |  |  524|    108|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|    108|    PyObject_GC_Del(descr);
   31|    108|}
descrobject.c:descr_traverse:
  711|  52.9k|{
  712|  52.9k|    PyDescrObject *descr = (PyDescrObject *)self;
  713|  52.9k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|  52.9k|    do {                                                                \
  |  |  195|  52.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 52.9k, False: 0]
  |  |  ------------------
  |  |  196|  52.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  52.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  52.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 52.9k]
  |  |  ------------------
  |  |  198|  52.9k|                return vret;                                            \
  |  |  199|  52.9k|        }                                                               \
  |  |  200|  52.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 52.9k]
  |  |  ------------------
  ------------------
  714|  52.9k|    return 0;
  715|  52.9k|}
descrobject.c:method_get:
  139|  1.26M|{
  140|  1.26M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  141|  1.26M|    if (obj == NULL) {
  ------------------
  |  Branch (141:9): [True: 9.62k, False: 1.25M]
  ------------------
  142|  9.62k|        return Py_NewRef(descr);
  ------------------
  |  |  550|  9.62k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|  9.62k|    }
  144|  1.25M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (144:9): [True: 0, False: 1.25M]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|  1.25M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.25M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (147:9): [True: 540, False: 1.25M]
  ------------------
  148|    540|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|    540|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    540|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 540, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 540]
  ------------------
  149|    540|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  150|    540|        } else {
  151|      0|            PyErr_Format(PyExc_TypeError,
  152|      0|                        "descriptor '%V' needs a type, not '%s', as arg 2",
  153|      0|                        descr_name((PyDescrObject *)descr), "?",
  154|      0|                        Py_TYPE(type)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|      0|            return NULL;
  156|      0|        }
  157|  1.25M|    } else {
  158|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|  1.25M|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  159|  1.25M|    }
  160|  1.25M|}
descrobject.c:descr_check:
   81|  5.39M|{
   82|  5.39M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  5.39M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 0, False: 5.39M]
  ------------------
   83|      0|        PyErr_Format(PyExc_TypeError,
   84|      0|                     "descriptor '%V' for '%.100s' objects "
   85|      0|                     "doesn't apply to a '%.100s' object",
   86|      0|                     descr_name((PyDescrObject *)descr), "?",
   87|      0|                     descr->d_type->tp_name,
   88|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      0|        return -1;
   90|      0|    }
   91|  5.39M|    return 0;
   92|  5.39M|}
descrobject.c:classmethod_get:
   96|  8.06M|{
   97|  8.06M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
   98|       |    /* Ensure a valid type.  Class methods ignore obj. */
   99|  8.06M|    if (type == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 8.06M]
  ------------------
  100|      0|        if (obj != NULL)
  ------------------
  |  Branch (100:13): [True: 0, False: 0]
  ------------------
  101|      0|            type = (PyObject *)Py_TYPE(obj);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|      0|        else {
  103|       |            /* Wot - no type?! */
  104|      0|            PyErr_Format(PyExc_TypeError,
  105|      0|                         "descriptor '%V' for type '%.100s' "
  106|      0|                         "needs either an object or a type",
  107|      0|                         descr_name((PyDescrObject *)descr), "?",
  108|      0|                         PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  109|      0|            return NULL;
  110|      0|        }
  111|      0|    }
  112|  8.06M|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|  8.06M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (112:9): [True: 0, False: 8.06M]
  ------------------
  113|      0|        PyErr_Format(PyExc_TypeError,
  114|      0|                     "descriptor '%V' for type '%.100s' "
  115|      0|                     "needs a type, not a '%.100s' as arg 2",
  116|      0|                     descr_name((PyDescrObject *)descr), "?",
  117|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  118|      0|                     Py_TYPE(type)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      0|        return NULL;
  120|      0|    }
  121|  8.06M|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  8.06M|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (121:9): [True: 0, False: 8.06M]
  ------------------
  122|      0|        PyErr_Format(PyExc_TypeError,
  123|      0|                     "descriptor '%V' requires a subtype of '%.100s' "
  124|      0|                     "but received '%.100s'",
  125|      0|                     descr_name((PyDescrObject *)descr), "?",
  126|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  127|      0|                     ((PyTypeObject *)type)->tp_name);
  128|      0|        return NULL;
  129|      0|    }
  130|  8.06M|    PyTypeObject *cls = NULL;
  131|  8.06M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  8.06M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (131:9): [True: 0, False: 8.06M]
  ------------------
  132|      0|        cls = descr->d_common.d_type;
  133|      0|    }
  134|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  135|  8.06M|}
descrobject.c:member_get:
  164|   439k|{
  165|   439k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  166|   439k|    if (obj == NULL) {
  ------------------
  |  Branch (166:9): [True: 8, False: 439k]
  ------------------
  167|      8|        return Py_NewRef(descr);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|      8|    }
  169|   439k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (169:9): [True: 0, False: 439k]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|       |
  173|   439k|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|   439k|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (173:9): [True: 0, False: 439k]
  ------------------
  174|      0|        if (PySys_Audit("object.__getattr__", "Os",
  ------------------
  |  Branch (174:13): [True: 0, False: 0]
  ------------------
  175|      0|            obj ? obj : Py_None, descr->d_member->name) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (175:13): [True: 0, False: 0]
  ------------------
  176|      0|            return NULL;
  177|      0|        }
  178|      0|    }
  179|       |
  180|   439k|    return PyMember_GetOne((char *)obj, descr->d_member);
  181|   439k|}
descrobject.c:member_set:
  234|  2.68M|{
  235|  2.68M|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  236|  2.68M|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (236:9): [True: 0, False: 2.68M]
  ------------------
  237|      0|        return -1;
  238|      0|    }
  239|  2.68M|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  240|  2.68M|}
descrobject.c:descr_setcheck:
  218|  2.74M|{
  219|  2.74M|    assert(obj != NULL);
  220|  2.74M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  2.74M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (220:9): [True: 0, False: 2.74M]
  ------------------
  221|      0|        PyErr_Format(PyExc_TypeError,
  222|      0|                     "descriptor '%V' for '%.100s' objects "
  223|      0|                     "doesn't apply to a '%.100s' object",
  224|      0|                     descr_name(descr), "?",
  225|      0|                     descr->d_type->tp_name,
  226|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  227|      0|        return -1;
  228|      0|    }
  229|  2.74M|    return 0;
  230|  2.74M|}
descrobject.c:getset_get:
  185|  3.47M|{
  186|  3.47M|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  187|  3.47M|    if (obj == NULL) {
  ------------------
  |  Branch (187:9): [True: 2, False: 3.47M]
  ------------------
  188|      2|        return Py_NewRef(descr);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      2|    }
  190|  3.47M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 3.47M]
  ------------------
  191|      0|        return NULL;
  192|      0|    }
  193|  3.47M|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (193:9): [True: 3.47M, False: 0]
  ------------------
  194|  3.47M|        return descr_get_trampoline_call(
  ------------------
  |  |   63|  3.47M|    (get)((obj), (closure))
  ------------------
  195|  3.47M|            descr->d_getset->get, obj, descr->d_getset->closure);
  196|      0|    PyErr_Format(PyExc_AttributeError,
  197|      0|                 "attribute '%V' of '%.100s' objects is not readable",
  198|      0|                 descr_name((PyDescrObject *)descr), "?",
  199|      0|                 PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  200|       |    return NULL;
  201|  3.47M|}
descrobject.c:getset_set:
  244|  57.8k|{
  245|  57.8k|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  246|  57.8k|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 57.8k]
  ------------------
  247|      0|        return -1;
  248|      0|    }
  249|  57.8k|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (249:9): [True: 57.8k, False: 0]
  ------------------
  250|  57.8k|        return descr_set_trampoline_call(
  ------------------
  |  |   60|  57.8k|    (set)((obj), (value), (closure))
  ------------------
  251|  57.8k|            descr->d_getset->set, obj, value,
  252|  57.8k|            descr->d_getset->closure);
  253|  57.8k|    }
  254|      0|    PyErr_Format(PyExc_AttributeError,
  255|      0|                 "attribute '%V' of '%.100s' objects is not writable",
  256|      0|                 descr_name((PyDescrObject *)descr), "?",
  257|      0|                 PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  258|      0|    return -1;
  259|  57.8k|}
descrobject.c:wrapperdescr_call:
  537|  7.59k|{
  538|  7.59k|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  539|  7.59k|    Py_ssize_t argc;
  540|  7.59k|    PyObject *self, *result;
  541|       |
  542|       |    /* Make sure that the first argument is acceptable as 'self' */
  543|  7.59k|    assert(PyTuple_Check(args));
  544|  7.59k|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  7.59k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  7.59k|    if (argc < 1) {
  ------------------
  |  Branch (545:9): [True: 0, False: 7.59k]
  ------------------
  546|      0|        PyErr_Format(PyExc_TypeError,
  547|      0|                     "descriptor '%V' of '%.100s' "
  548|      0|                     "object needs an argument",
  549|      0|                     descr_name((PyDescrObject *)descr), "?",
  550|      0|                     PyDescr_TYPE(descr)->tp_name);
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  551|      0|        return NULL;
  552|      0|    }
  553|  7.59k|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  7.59k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  7.59k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|  7.59k|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|  7.59k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (554:9): [True: 0, False: 7.59k]
  ------------------
  555|  7.59k|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  7.59k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  556|      0|        PyErr_Format(PyExc_TypeError,
  557|      0|                     "descriptor '%V' "
  558|      0|                     "requires a '%.100s' object "
  559|      0|                     "but received a '%.100s'",
  560|      0|                     descr_name((PyDescrObject *)descr), "?",
  561|      0|                     PyDescr_TYPE(descr)->tp_name,
  ------------------
  |  |   35|      0|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  562|      0|                     Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|      0|        return NULL;
  564|      0|    }
  565|       |
  566|  7.59k|    args = PyTuple_GetSlice(args, 1, argc);
  567|  7.59k|    if (args == NULL) {
  ------------------
  |  Branch (567:9): [True: 0, False: 7.59k]
  ------------------
  568|      0|        return NULL;
  569|      0|    }
  570|  7.59k|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  571|  7.59k|    Py_DECREF(args);
  ------------------
  |  |  430|  7.59k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|  7.59k|    return result;
  573|  7.59k|}
descrobject.c:wrapperdescr_raw_call:
  518|  11.3k|{
  519|  11.3k|    wrapperfunc wrapper = descr->d_base->wrapper;
  520|       |
  521|  11.3k|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|  11.3k|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (521:9): [True: 6.47k, False: 4.92k]
  ------------------
  522|  6.47k|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|  6.47k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|  6.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  523|  6.47k|        return (*wk)(self, args, descr->d_wrapped, kwds);
  524|  6.47k|    }
  525|       |
  526|  4.92k|    if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_GET_SIZE(kwds) != 0)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_GET_SIZE(kwds) != 0)) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (526:9): [True: 0, False: 4.92k]
  |  Branch (526:26): [True: 0, False: 0]
  |  Branch (526:49): [True: 0, False: 0]
  ------------------
  527|      0|        PyErr_Format(PyExc_TypeError,
  528|      0|                     "wrapper %s() takes no keyword arguments",
  529|      0|                     descr->d_base->name);
  530|      0|        return NULL;
  531|      0|    }
  532|  4.92k|    return (*wrapper)(self, args, descr->d_wrapped);
  533|  4.92k|}
descrobject.c:wrapperdescr_get_text_signature:
  696|      2|{
  697|      2|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  698|      2|    return _PyType_GetTextSignatureFromInternalDoc(descr->d_base->name,
  699|      2|                                                   descr->d_base->doc, 0);
  700|      2|}
descrobject.c:wrapperdescr_get:
  205|  4.30k|{
  206|  4.30k|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  207|  4.30k|    if (obj == NULL) {
  ------------------
  |  Branch (207:9): [True: 700, False: 3.60k]
  ------------------
  208|    700|        return Py_NewRef(descr);
  ------------------
  |  |  550|    700|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    700|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    700|    }
  210|  3.60k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (210:9): [True: 0, False: 3.60k]
  ------------------
  211|      0|        return NULL;
  212|      0|    }
  213|  3.60k|    return PyWrapper_New((PyObject *)descr, obj);
  214|  3.60k|}
descrobject.c:method_vectorcall_VARARGS:
  310|    536|{
  311|    536|    PyThreadState *tstate = _PyThreadState_GET();
  312|    536|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    536|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  313|    536|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (313:9): [True: 0, False: 536]
  ------------------
  314|      0|        return NULL;
  315|      0|    }
  316|    536|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  317|    536|    if (argstuple == NULL) {
  ------------------
  |  Branch (317:9): [True: 0, False: 536]
  ------------------
  318|      0|        return NULL;
  319|      0|    }
  320|    536|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  321|    536|    if (meth == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 536]
  ------------------
  322|      0|        Py_DECREF(argstuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  323|      0|        return NULL;
  324|      0|    }
  325|    536|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|    536|    (meth)((self), (args))
  ------------------
  326|    536|        meth, args[0], argstuple);
  327|    536|    Py_DECREF(argstuple);
  ------------------
  |  |  430|    536|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|    536|    _Py_LeaveRecursiveCallTstate(tstate);
  329|    536|    return result;
  330|    536|}
descrobject.c:method_check_args:
  268|   222k|{
  269|   222k|    assert(!PyErr_Occurred());
  270|   222k|    if (nargs < 1) {
  ------------------
  |  Branch (270:9): [True: 0, False: 222k]
  ------------------
  271|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  272|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (272:13): [True: 0, False: 0]
  ------------------
  273|      0|            PyErr_Format(PyExc_TypeError,
  274|      0|                         "unbound method %U needs an argument", funcstr);
  275|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|      0|        }
  277|      0|        return -1;
  278|      0|    }
  279|   222k|    PyObject *self = args[0];
  280|   222k|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (280:9): [True: 0, False: 222k]
  ------------------
  281|      0|        return -1;
  282|      0|    }
  283|   222k|    if (kwnames && PyTuple_GET_SIZE(kwnames)) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (283:9): [True: 0, False: 222k]
  ------------------
  284|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  285|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (285:13): [True: 0, False: 0]
  ------------------
  286|      0|            PyErr_Format(PyExc_TypeError,
  287|      0|                         "%U takes no keyword arguments", funcstr);
  288|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|      0|        }
  290|      0|        return -1;
  291|      0|    }
  292|   222k|    return 0;
  293|   222k|}
descrobject.c:method_enter_call:
  299|   222k|{
  300|   222k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (300:9): [True: 0, False: 222k]
  ------------------
  301|      0|        return NULL;
  302|      0|    }
  303|   222k|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  304|   222k|}
descrobject.c:method_vectorcall_VARARGS_KEYWORDS:
  335|  14.1k|{
  336|  14.1k|    PyThreadState *tstate = _PyThreadState_GET();
  337|  14.1k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  14.1k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  338|  14.1k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (338:9): [True: 0, False: 14.1k]
  ------------------
  339|      0|        return NULL;
  340|      0|    }
  341|  14.1k|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  342|  14.1k|    if (argstuple == NULL) {
  ------------------
  |  Branch (342:9): [True: 0, False: 14.1k]
  ------------------
  343|      0|        return NULL;
  344|      0|    }
  345|  14.1k|    PyObject *result = NULL;
  346|       |    /* Create a temporary dict for keyword arguments */
  347|  14.1k|    PyObject *kwdict = NULL;
  348|  14.1k|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) > 0) {
  ------------------
  |  |   27|  4.05k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (348:9): [True: 4.05k, False: 10.1k]
  |  Branch (348:28): [True: 4.05k, False: 0]
  ------------------
  349|  4.05k|        kwdict = _PyStack_AsDict(args + nargs, kwnames);
  350|  4.05k|        if (kwdict == NULL) {
  ------------------
  |  Branch (350:13): [True: 0, False: 4.05k]
  ------------------
  351|      0|            goto exit;
  352|      0|        }
  353|  4.05k|    }
  354|  14.1k|    PyCFunctionWithKeywords meth = (PyCFunctionWithKeywords)
  355|  14.1k|                                   method_enter_call(tstate, func);
  356|  14.1k|    if (meth == NULL) {
  ------------------
  |  Branch (356:9): [True: 0, False: 14.1k]
  ------------------
  357|      0|        goto exit;
  358|      0|    }
  359|  14.1k|    result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|  14.1k|    (meth)((self), (args), (kw))
  ------------------
  360|  14.1k|        meth, args[0], argstuple, kwdict);
  361|  14.1k|    _Py_LeaveRecursiveCallTstate(tstate);
  362|  14.1k|exit:
  363|  14.1k|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  14.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|  14.1k|    Py_XDECREF(kwdict);
  ------------------
  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|  14.1k|    return result;
  366|  14.1k|}
descrobject.c:method_vectorcall_FASTCALL:
  391|  14.8k|{
  392|  14.8k|    PyThreadState *tstate = _PyThreadState_GET();
  393|  14.8k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  14.8k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  394|  14.8k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (394:9): [True: 0, False: 14.8k]
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|  14.8k|    PyCFunctionFast meth = (PyCFunctionFast)
  398|  14.8k|                            method_enter_call(tstate, func);
  399|  14.8k|    if (meth == NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 14.8k]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  14.8k|    PyObject *result = meth(args[0], args+1, nargs-1);
  403|  14.8k|    _Py_LeaveRecursiveCallTstate(tstate);
  404|  14.8k|    return result;
  405|  14.8k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  410|   121k|{
  411|   121k|    PyThreadState *tstate = _PyThreadState_GET();
  412|   121k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   121k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  413|   121k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (413:9): [True: 0, False: 121k]
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|   121k|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  417|   121k|                                        method_enter_call(tstate, func);
  418|   121k|    if (meth == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 121k]
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|   121k|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  422|   121k|    _Py_LeaveRecursiveCallTstate(tstate);
  423|   121k|    return result;
  424|   121k|}
descrobject.c:method_vectorcall_NOARGS:
  429|  62.9k|{
  430|  62.9k|    PyThreadState *tstate = _PyThreadState_GET();
  431|  62.9k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  62.9k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  432|  62.9k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (432:9): [True: 0, False: 62.9k]
  ------------------
  433|      0|        return NULL;
  434|      0|    }
  435|  62.9k|    if (nargs != 1) {
  ------------------
  |  Branch (435:9): [True: 0, False: 62.9k]
  ------------------
  436|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  437|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (437:13): [True: 0, False: 0]
  ------------------
  438|      0|            PyErr_Format(PyExc_TypeError,
  439|      0|                "%U takes no arguments (%zd given)", funcstr, nargs-1);
  440|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|      0|        }
  442|      0|        return NULL;
  443|      0|    }
  444|  62.9k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  445|  62.9k|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 62.9k]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|  62.9k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |  997|  62.9k|    (meth)((self), (args))
  ------------------
  449|  62.9k|    _Py_LeaveRecursiveCallTstate(tstate);
  450|  62.9k|    return result;
  451|  62.9k|}
descrobject.c:method_vectorcall_O:
  456|  7.99k|{
  457|  7.99k|    PyThreadState *tstate = _PyThreadState_GET();
  458|  7.99k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  7.99k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|  7.99k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (459:9): [True: 0, False: 7.99k]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|  7.99k|    if (nargs != 2) {
  ------------------
  |  Branch (462:9): [True: 0, False: 7.99k]
  ------------------
  463|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  464|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (464:13): [True: 0, False: 0]
  ------------------
  465|      0|            PyErr_Format(PyExc_TypeError,
  466|      0|                "%U takes exactly one argument (%zd given)",
  467|      0|                funcstr, nargs-1);
  468|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|      0|        }
  470|      0|        return NULL;
  471|      0|    }
  472|  7.99k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  473|  7.99k|    if (meth == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 7.99k]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|  7.99k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |  997|  7.99k|    (meth)((self), (args))
  ------------------
  477|  7.99k|    _Py_LeaveRecursiveCallTstate(tstate);
  478|  7.99k|    return result;
  479|  7.99k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  371|    592|{
  372|    592|    PyThreadState *tstate = _PyThreadState_GET();
  373|    592|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    592|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  374|    592|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (374:9): [True: 0, False: 592]
  ------------------
  375|      0|        return NULL;
  376|      0|    }
  377|    592|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  378|    592|    if (meth == NULL) {
  ------------------
  |  Branch (378:9): [True: 0, False: 592]
  ------------------
  379|      0|        return NULL;
  380|      0|    }
  381|    592|    PyObject *result = meth(args[0],
  382|    592|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  383|    592|                            args+1, nargs-1, kwnames);
  384|    592|    _Py_LeaveRecursiveCall();
  385|    592|    return result;
  386|    592|}
descrobject.c:descr_new:
  908|  6.77k|{
  909|  6.77k|    PyDescrObject *descr;
  910|       |
  911|  6.77k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  912|  6.77k|    if (descr != NULL) {
  ------------------
  |  Branch (912:9): [True: 6.77k, False: 0]
  ------------------
  913|  6.77k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  914|  6.77k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  551|  6.77k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  6.77k|        descr->d_name = PyUnicode_InternFromString(name);
  916|  6.77k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (916:13): [True: 0, False: 6.77k]
  ------------------
  917|      0|            Py_SETREF(descr, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  918|      0|        }
  919|  6.77k|        else {
  920|       |            descr->d_qualname = NULL;
  921|  6.77k|        }
  922|  6.77k|    }
  923|  6.77k|    return descr;
  924|  6.77k|}
descrobject.c:mappingproxy_check_mapping:
 1244|  15.8k|{
 1245|  15.8k|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1245:9): [True: 0, False: 15.8k]
  ------------------
 1246|  15.8k|        || PyList_Check(mapping)
  ------------------
  |  |   25|  15.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  31.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 15.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|  15.8k|        || PyTuple_Check(mapping)) {
  ------------------
  |  |   27|  15.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 15.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1248|      0|        PyErr_Format(PyExc_TypeError,
 1249|      0|                    "mappingproxy() argument must be a mapping, not %s",
 1250|      0|                    Py_TYPE(mapping)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|      0|        return -1;
 1252|      0|    }
 1253|  15.8k|    return 0;
 1254|  15.8k|}
descrobject.c:wrapper_dealloc:
 1314|  3.59k|{
 1315|  3.59k|    wrapperobject *wp = (wrapperobject *)self;
 1316|  3.59k|    PyObject_GC_UnTrack(wp);
 1317|  3.59k|    Py_XDECREF(wp->descr);
  ------------------
  |  |  524|  3.59k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  3.59k|    Py_XDECREF(wp->self);
  ------------------
  |  |  524|  3.59k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|  3.59k|    PyObject_GC_Del(wp);
 1320|  3.59k|}
descrobject.c:wrapper_call:
 1438|  3.80k|{
 1439|  3.80k|    wrapperobject *wp = (wrapperobject *)self;
 1440|  3.80k|    return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds);
 1441|  3.80k|}
descrobject.c:wrapper_traverse:
 1445|     80|{
 1446|     80|    wrapperobject *wp = (wrapperobject *)self;
 1447|     80|    Py_VISIT(wp->descr);
  ------------------
  |  |  194|     80|    do {                                                                \
  |  |  195|     80|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 0]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 1448|     80|    Py_VISIT(wp->self);
  ------------------
  |  |  194|     80|    do {                                                                \
  |  |  195|     80|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 0]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 1449|     80|    return 0;
 1450|     80|}
descrobject.c:mappingproxy_dealloc:
 1189|  15.8k|{
 1190|  15.8k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1191|  15.8k|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  510|  15.8k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|  15.8k|    Py_DECREF(pp->mapping);
  ------------------
  |  |  430|  15.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1193|  15.8k|    PyObject_GC_Del(pp);
 1194|  15.8k|}
descrobject.c:mappingproxy_contains:
 1090|  4.71k|{
 1091|  4.71k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1092|  4.71k|    if (PyDict_CheckExact(pp->mapping))
  ------------------
  |  |   19|  4.71k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  4.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 716, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|    716|        return PyDict_Contains(pp->mapping, key);
 1094|  4.00k|    else
 1095|  4.00k|        return PySequence_Contains(pp->mapping, key);
 1096|  4.71k|}
descrobject.c:mappingproxy_len:
 1046|     35|{
 1047|     35|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1048|     35|    return PyObject_Size(pp->mapping);
 1049|     35|}
descrobject.c:mappingproxy_getitem:
 1053|  3.18k|{
 1054|  3.18k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1055|  3.18k|    return PyObject_GetItem(pp->mapping, key);
 1056|  3.18k|}
descrobject.c:mappingproxy_traverse:
 1226|    252|{
 1227|    252|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1228|    252|    Py_VISIT(pp->mapping);
  ------------------
  |  |  194|    252|    do {                                                                \
  |  |  195|    252|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 252, False: 0]
  |  |  ------------------
  |  |  196|    252|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    252|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 252]
  |  |  ------------------
  |  |  198|    252|                return vret;                                            \
  |  |  199|    252|        }                                                               \
  |  |  200|    252|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 252]
  |  |  ------------------
  ------------------
 1229|    252|    return 0;
 1230|    252|}
descrobject.c:mappingproxy_getiter:
 1198|  8.09k|{
 1199|  8.09k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1200|  8.09k|    return PyObject_GetIter(pp->mapping);
 1201|  8.09k|}
descrobject.c:mappingproxy_get:
 1113|  2.30k|{
 1114|  2.30k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1115|       |    /* newargs: mapping, key, default=None */
 1116|  2.30k|    PyObject *newargs[3];
 1117|  2.30k|    newargs[0] = pp->mapping;
 1118|  2.30k|    newargs[2] = Py_None;
  ------------------
  |  |  616|  2.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1119|       |
 1120|  2.30k|    if (!_PyArg_UnpackStack(args, nargs, "get", 1, 2,
  ------------------
  |  Branch (1120:9): [True: 0, False: 2.30k]
  ------------------
 1121|  2.30k|                            &newargs[1], &newargs[2]))
 1122|      0|    {
 1123|      0|        return NULL;
 1124|      0|    }
 1125|  2.30k|    return PyObject_VectorcallMethod(&_Py_ID(get), newargs,
  ------------------
  |  |  919|  2.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  2.30k|                                     3 | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  2.30k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.30k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1127|       |                                     NULL);
 1128|  2.30k|}
descrobject.c:mappingproxy_keys:
 1132|    142|{
 1133|    142|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1134|    142|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys));
  ------------------
  |  |  919|    142|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    142|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    142|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|    142|}
descrobject.c:mappingproxy_values:
 1139|  44.4k|{
 1140|  44.4k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1141|  44.4k|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(values));
  ------------------
  |  |  919|  44.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  44.4k|}
descrobject.c:mappingproxy_items:
 1146|    378|{
 1147|    378|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1148|    378|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  919|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|    378|}
descrobject.c:mappingproxy_new_impl:
 1268|  12.1k|{
 1269|  12.1k|    mappingproxyobject *mappingproxy;
 1270|       |
 1271|  12.1k|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1271:9): [True: 0, False: 12.1k]
  ------------------
 1272|      0|        return NULL;
 1273|       |
 1274|  12.1k|    mappingproxy = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|  12.1k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1275|  12.1k|    if (mappingproxy == NULL)
  ------------------
  |  Branch (1275:9): [True: 0, False: 12.1k]
  ------------------
 1276|      0|        return NULL;
 1277|  12.1k|    mappingproxy->mapping = Py_NewRef(mapping);
  ------------------
  |  |  550|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|  12.1k|    _PyObject_GC_TRACK(mappingproxy);
  ------------------
  |  |  508|  12.1k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1279|  12.1k|    return (PyObject *)mappingproxy;
 1280|  12.1k|}
descrobject.c:property_dealloc:
 1637|     68|{
 1638|     68|    propertyobject *gs = (propertyobject *)self;
 1639|       |
 1640|     68|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     68|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|     68|    Py_XDECREF(gs->prop_get);
  ------------------
  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|     68|    Py_XDECREF(gs->prop_set);
  ------------------
  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|     68|    Py_XDECREF(gs->prop_del);
  ------------------
  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1644|     68|    Py_XDECREF(gs->prop_doc);
  ------------------
  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|     68|    Py_XDECREF(gs->prop_name);
  ------------------
  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|     68|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     68|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|     68|}
descrobject.c:property_traverse:
 1980|  5.82k|{
 1981|  5.82k|    propertyobject *pp = (propertyobject *)self;
 1982|  5.82k|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|  5.82k|    do {                                                                \
  |  |  195|  5.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.82k, False: 0]
  |  |  ------------------
  |  |  196|  5.82k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.82k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.82k]
  |  |  ------------------
  |  |  198|  5.82k|                return vret;                                            \
  |  |  199|  5.82k|        }                                                               \
  |  |  200|  5.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 1983|  5.82k|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|  5.82k|    do {                                                                \
  |  |  195|  5.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 704, False: 5.12k]
  |  |  ------------------
  |  |  196|    704|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    704|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 704]
  |  |  ------------------
  |  |  198|    704|                return vret;                                            \
  |  |  199|    704|        }                                                               \
  |  |  200|  5.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 1984|  5.82k|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|  5.82k|    do {                                                                \
  |  |  195|  5.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 5.77k]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|  5.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 1985|  5.82k|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|  5.82k|    do {                                                                \
  |  |  195|  5.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.14k, False: 3.68k]
  |  |  ------------------
  |  |  196|  2.14k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.14k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.14k]
  |  |  ------------------
  |  |  198|  2.14k|                return vret;                                            \
  |  |  199|  2.14k|        }                                                               \
  |  |  200|  5.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 1986|  5.82k|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|  5.82k|    do {                                                                \
  |  |  195|  5.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.79k, False: 32]
  |  |  ------------------
  |  |  196|  5.79k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.79k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.79k]
  |  |  ------------------
  |  |  198|  5.79k|                return vret;                                            \
  |  |  199|  5.79k|        }                                                               \
  |  |  200|  5.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 1987|  5.82k|    return 0;
 1988|  5.82k|}
descrobject.c:property_copy:
 1766|     68|{
 1767|     68|    propertyobject *pold = (propertyobject *)old;
 1768|     68|    PyObject *new, *type, *doc;
 1769|       |
 1770|     68|    type = PyObject_Type(old);
 1771|     68|    if (type == NULL)
  ------------------
  |  Branch (1771:9): [True: 0, False: 68]
  ------------------
 1772|      0|        return NULL;
 1773|       |
 1774|     68|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1774:9): [True: 68, False: 0]
  |  Branch (1774:24): [True: 0, False: 0]
  ------------------
 1775|     68|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1775:15): [True: 68, False: 0]
  ------------------
 1776|     68|    }
 1777|     68|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1777:9): [True: 4, False: 64]
  |  Branch (1777:24): [True: 0, False: 64]
  ------------------
 1778|      4|        set = pold->prop_set ? pold->prop_set : Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1778:15): [True: 4, False: 0]
  ------------------
 1779|      4|    }
 1780|     68|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1780:9): [True: 64, False: 4]
  |  Branch (1780:24): [True: 0, False: 4]
  ------------------
 1781|     64|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|    128|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1781:15): [True: 0, False: 64]
  ------------------
 1782|     64|    }
 1783|     68|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1783:9): [True: 24, False: 44]
  |  Branch (1783:29): [True: 24, False: 0]
  ------------------
 1784|       |        /* make _init use __doc__ from getter */
 1785|     24|        doc = Py_None;
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1786|     24|    }
 1787|     44|    else {
 1788|     44|        doc = pold->prop_doc ? pold->prop_doc : Py_None;
  ------------------
  |  |  616|     88|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1788:15): [True: 0, False: 44]
  ------------------
 1789|     44|    }
 1790|       |
 1791|     68|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1792|     68|    Py_DECREF(type);
  ------------------
  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|     68|    if (new == NULL)
  ------------------
  |  Branch (1793:9): [True: 0, False: 68]
  ------------------
 1794|      0|        return NULL;
 1795|       |
 1796|     68|    if (PyObject_TypeCheck((new), &PyProperty_Type)) {
  ------------------
  |  |  378|     68|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 68, False: 0]
  |  |  ------------------
  ------------------
 1797|     68|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  374|     68|    do { \
  |  |  375|     68|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     68|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     68|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     68|        *_tmp_dst_ptr = (src); \
  |  |  378|     68|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
 1798|     68|    }
 1799|     68|    return new;
 1800|     68|}
descrobject.c:property_setter:
 1587|     64|{
 1588|     64|    return property_copy(self, NULL, setter, NULL);
 1589|     64|}
descrobject.c:property_deleter:
 1597|      4|{
 1598|      4|    return property_copy(self, NULL, NULL, deleter);
 1599|      4|}
descrobject.c:property_set_name:
 1609|    768|property_set_name(PyObject *self, PyObject *args) {
 1610|    768|    if (PyTuple_GET_SIZE(args) != 2) {
  ------------------
  |  |   27|    768|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    768|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1610:9): [True: 0, False: 768]
  ------------------
 1611|      0|        PyErr_Format(
 1612|      0|                PyExc_TypeError,
 1613|      0|                "__set_name__() takes 2 positional arguments but %zd were given",
 1614|      0|                PyTuple_GET_SIZE(args));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1615|      0|        return NULL;
 1616|      0|    }
 1617|       |
 1618|    768|    propertyobject *prop = (propertyobject *)self;
 1619|    768|    PyObject *name = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    768|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    768|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1620|       |
 1621|    768|    Py_XSETREF(prop->prop_name, Py_XNewRef(name));
  ------------------
  |  |  374|    768|    do { \
  |  |  375|    768|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    768|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    768|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    768|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    768|        *_tmp_dst_ptr = (src); \
  |  |  378|    768|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    768|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    768|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    768|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 768]
  |  |  ------------------
  ------------------
 1622|       |
 1623|    768|    Py_RETURN_NONE;
  ------------------
  |  |  628|    768|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    768|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1624|    768|}
descrobject.c:property_get___isabstractmethod__:
 1942|    102|{
 1943|    102|    propertyobject *prop = _propertyobject_CAST(op);
  ------------------
  |  | 1513|    102|#define _propertyobject_CAST(op)    ((propertyobject *)(op))
  ------------------
 1944|    102|    int res = _PyObject_IsAbstract(prop->prop_get);
 1945|    102|    if (res == -1) {
  ------------------
  |  Branch (1945:9): [True: 0, False: 102]
  ------------------
 1946|      0|        return NULL;
 1947|      0|    }
 1948|    102|    else if (res) {
  ------------------
  |  Branch (1948:14): [True: 10, False: 92]
  ------------------
 1949|     10|        Py_RETURN_TRUE;
  ------------------
  |  |   44|     10|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     10|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1950|     10|    }
 1951|       |
 1952|     92|    res = _PyObject_IsAbstract(prop->prop_set);
 1953|     92|    if (res == -1) {
  ------------------
  |  Branch (1953:9): [True: 0, False: 92]
  ------------------
 1954|      0|        return NULL;
 1955|      0|    }
 1956|     92|    else if (res) {
  ------------------
  |  Branch (1956:14): [True: 0, False: 92]
  ------------------
 1957|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1958|      0|    }
 1959|       |
 1960|     92|    res = _PyObject_IsAbstract(prop->prop_del);
 1961|     92|    if (res == -1) {
  ------------------
  |  Branch (1961:9): [True: 0, False: 92]
  ------------------
 1962|      0|        return NULL;
 1963|      0|    }
 1964|     92|    else if (res) {
  ------------------
  |  Branch (1964:14): [True: 0, False: 92]
  ------------------
 1965|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      0|    }
 1967|     92|    Py_RETURN_FALSE;
  ------------------
  |  |   45|     92|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     92|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|     92|}
descrobject.c:property_descr_get:
 1665|   389k|{
 1666|   389k|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|   389k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1666:9): [True: 22, False: 389k]
  |  Branch (1666:24): [True: 0, False: 389k]
  ------------------
 1667|     22|        return Py_NewRef(self);
  ------------------
  |  |  550|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|     22|    }
 1669|       |
 1670|   389k|    propertyobject *gs = (propertyobject *)self;
 1671|   389k|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1671:9): [True: 0, False: 389k]
  ------------------
 1672|      0|        PyObject *propname;
 1673|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 0]
  ------------------
 1674|      0|            return NULL;
 1675|      0|        }
 1676|      0|        PyObject *qualname = PyType_GetQualName(Py_TYPE(obj));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1677|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1677:13): [True: 0, False: 0]
  |  Branch (1677:33): [True: 0, False: 0]
  ------------------
 1678|      0|            PyErr_Format(PyExc_AttributeError,
 1679|      0|                         "property %R of %R object has no getter",
 1680|      0|                         propname,
 1681|      0|                         qualname);
 1682|      0|        }
 1683|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1683:18): [True: 0, False: 0]
  ------------------
 1684|      0|            PyErr_Format(PyExc_AttributeError,
 1685|      0|                         "property of %R object has no getter",
 1686|      0|                         qualname);
 1687|      0|        } else {
 1688|      0|            PyErr_SetString(PyExc_AttributeError,
 1689|      0|                            "property has no getter");
 1690|      0|        }
 1691|      0|        Py_XDECREF(propname);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|      0|        Py_XDECREF(qualname);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|      0|        return NULL;
 1694|      0|    }
 1695|       |
 1696|   389k|    return PyObject_CallOneArg(gs->prop_get, obj);
 1697|   389k|}
descrobject.c:property_descr_set:
 1701|     12|{
 1702|     12|    propertyobject *gs = (propertyobject *)self;
 1703|     12|    PyObject *func, *res;
 1704|       |
 1705|     12|    if (value == NULL) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 12]
  ------------------
 1706|      0|        func = gs->prop_del;
 1707|      0|    }
 1708|     12|    else {
 1709|     12|        func = gs->prop_set;
 1710|     12|    }
 1711|       |
 1712|     12|    if (func == NULL) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 12]
  ------------------
 1713|      0|        PyObject *propname;
 1714|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1714:13): [True: 0, False: 0]
  ------------------
 1715|      0|            return -1;
 1716|      0|        }
 1717|      0|        PyObject *qualname = NULL;
 1718|      0|        if (obj != NULL) {
  ------------------
  |  Branch (1718:13): [True: 0, False: 0]
  ------------------
 1719|      0|            qualname = PyType_GetQualName(Py_TYPE(obj));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1720|      0|        }
 1721|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1721:13): [True: 0, False: 0]
  |  Branch (1721:33): [True: 0, False: 0]
  ------------------
 1722|      0|            PyErr_Format(PyExc_AttributeError,
 1723|      0|                        value == NULL ?
  ------------------
  |  Branch (1723:25): [True: 0, False: 0]
  ------------------
 1724|      0|                        "property %R of %R object has no deleter" :
 1725|      0|                        "property %R of %R object has no setter",
 1726|      0|                        propname,
 1727|      0|                        qualname);
 1728|      0|        }
 1729|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1729:18): [True: 0, False: 0]
  ------------------
 1730|      0|            PyErr_Format(PyExc_AttributeError,
 1731|      0|                            value == NULL ?
  ------------------
  |  Branch (1731:29): [True: 0, False: 0]
  ------------------
 1732|      0|                            "property of %R object has no deleter" :
 1733|      0|                            "property of %R object has no setter",
 1734|      0|                            qualname);
 1735|      0|        }
 1736|      0|        else {
 1737|      0|            PyErr_SetString(PyExc_AttributeError,
 1738|      0|                         value == NULL ?
  ------------------
  |  Branch (1738:26): [True: 0, False: 0]
  ------------------
 1739|      0|                         "property has no deleter" :
 1740|      0|                         "property has no setter");
 1741|      0|        }
 1742|      0|        Py_XDECREF(propname);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|      0|        Py_XDECREF(qualname);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|      0|        return -1;
 1745|      0|    }
 1746|       |
 1747|     12|    if (value == NULL) {
  ------------------
  |  Branch (1747:9): [True: 0, False: 12]
  ------------------
 1748|      0|        res = PyObject_CallOneArg(func, obj);
 1749|      0|    }
 1750|     12|    else {
 1751|     12|        EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     12|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 1752|     12|        PyObject *args[] = { obj, value };
 1753|     12|        res = PyObject_Vectorcall(func, args, 2, NULL);
 1754|     12|    }
 1755|       |
 1756|     12|    if (res == NULL) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 12]
  ------------------
 1757|      0|        return -1;
 1758|      0|    }
 1759|       |
 1760|     12|    Py_DECREF(res);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|     12|    return 0;
 1762|     12|}
descrobject.c:property_init_impl:
 1843|    806|{
 1844|    806|    if (fget == Py_None)
  ------------------
  |  |  616|    806|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1844:9): [True: 0, False: 806]
  ------------------
 1845|      0|        fget = NULL;
 1846|    806|    if (fset == Py_None)
  ------------------
  |  |  616|    806|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1846:9): [True: 0, False: 806]
  ------------------
 1847|      0|        fset = NULL;
 1848|    806|    if (fdel == Py_None)
  ------------------
  |  |  616|    806|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1848:9): [True: 64, False: 742]
  ------------------
 1849|     64|        fdel = NULL;
 1850|       |
 1851|    806|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1852|    806|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1853|    806|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1854|    806|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1855|    806|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1856|       |
 1857|    806|    self->getter_doc = 0;
 1858|    806|    PyObject *prop_doc = NULL;
 1859|       |
 1860|    806|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1860:9): [True: 68, False: 738]
  |  Branch (1860:24): [True: 0, False: 68]
  ------------------
 1861|      0|        prop_doc = Py_XNewRef(doc);
  ------------------
  |  |  551|      0|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1862|      0|    }
 1863|       |    /* if no docstring given and the getter has one, use that one */
 1864|    806|    else if (fget != NULL) {
  ------------------
  |  Branch (1864:14): [True: 806, False: 0]
  ------------------
 1865|    806|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  919|    806|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    806|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    806|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1866|    806|        if (rc < 0) {
  ------------------
  |  Branch (1866:13): [True: 0, False: 806]
  ------------------
 1867|      0|            return rc;
 1868|      0|        }
 1869|    806|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|    806|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1869:13): [True: 510, False: 296]
  ------------------
 1870|    510|            prop_doc = NULL;
 1871|    510|            Py_DECREF(Py_None);
  ------------------
  |  |  430|    510|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|    510|        }
 1873|    806|        if (prop_doc != NULL){
  ------------------
  |  Branch (1873:13): [True: 296, False: 510]
  ------------------
 1874|    296|            self->getter_doc = 1;
 1875|    296|        }
 1876|    806|    }
 1877|       |
 1878|       |    /* At this point `prop_doc` is either NULL or
 1879|       |       a non-None object with incremented ref counter */
 1880|       |
 1881|    806|    if (Py_IS_TYPE(self, &PyProperty_Type)) {
  ------------------
  |  |  215|    806|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 806, False: 0]
  |  |  ------------------
  ------------------
 1882|    806|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  374|    806|    do { \
  |  |  375|    806|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    806|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    806|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    806|        *_tmp_dst_ptr = (src); \
  |  |  378|    806|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    806|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    806|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 806]
  |  |  ------------------
  ------------------
 1883|    806|    } else {
 1884|       |        /* If this is a property subclass, put __doc__ in the dict
 1885|       |           or designated slot of the subclass instance instead, otherwise
 1886|       |           it gets shadowed by __doc__ in the class's dict. */
 1887|       |
 1888|      0|        if (prop_doc == NULL) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 0]
  ------------------
 1889|      0|            prop_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1890|      0|        }
 1891|      0|        int err = PyObject_SetAttr(
 1892|      0|                    (PyObject *)self, &_Py_ID(__doc__), prop_doc);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1893|      0|        Py_DECREF(prop_doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1894|      0|        if (err < 0) {
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|      0|            assert(PyErr_Occurred());
 1896|      0|            if (!self->getter_doc &&
  ------------------
  |  Branch (1896:17): [True: 0, False: 0]
  ------------------
 1897|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (1897:17): [True: 0, False: 0]
  ------------------
 1898|      0|            {
 1899|      0|                PyErr_Clear();
 1900|       |                // https://github.com/python/cpython/issues/98963#issuecomment-1574413319
 1901|       |                // Python silently dropped this doc assignment through 3.11.
 1902|       |                // We preserve that behavior for backwards compatibility.
 1903|       |                //
 1904|       |                // If we ever want to deprecate this behavior, only raise a
 1905|       |                // warning or error when proc_doc is not None so that
 1906|       |                // property without a specific doc= still works.
 1907|      0|                return 0;
 1908|      0|            } else {
 1909|      0|                return -1;
 1910|      0|            }
 1911|      0|        }
 1912|      0|    }
 1913|       |
 1914|    806|    return 0;
 1915|    806|}

PyDict_New:
 1028|  3.99M|{
 1029|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1030|  3.99M|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  645|  3.99M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1031|  3.99M|}
_PyDictKeys_StringLookup:
 1244|  2.92k|{
 1245|  2.92k|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1245:9): [True: 0, False: 2.92k]
  ------------------
 1246|      0|        return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1247|      0|    }
 1248|  2.92k|    Py_hash_t hash = hash_unicode_key(key);
 1249|  2.92k|    return unicodekeys_lookup_unicode(dk, key, hash);
 1250|  2.92k|}
_PyDictKeys_StringLookupAndVersion:
 1254|   296k|{
 1255|   296k|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1255:9): [True: 0, False: 296k]
  ------------------
 1256|      0|        return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1257|      0|    }
 1258|   296k|    Py_ssize_t ix;
 1259|   296k|    Py_hash_t hash = hash_unicode_key(key);
 1260|   296k|    LOCK_KEYS(dk);
 1261|   296k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1262|   296k|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1263|   296k|    UNLOCK_KEYS(dk);
 1264|   296k|    return ix;
 1265|   296k|}
_PyDictKeys_StringLookupSplit:
 1272|  13.4M|{
 1273|  13.4M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
 1274|  13.4M|    assert(PyUnicode_CheckExact(key));
 1275|  13.4M|    Py_hash_t hash = unicode_get_hash(key);
 1276|  13.4M|    if (hash == -1) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 13.4M]
  ------------------
 1277|      0|        hash = PyUnicode_Type.tp_hash(key);
 1278|      0|        if (hash == -1) {
  ------------------
  |  Branch (1278:13): [True: 0, False: 0]
  ------------------
 1279|      0|            PyErr_Clear();
 1280|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1281|      0|        }
 1282|      0|    }
 1283|  13.4M|    return unicodekeys_lookup_split(dk, key, hash);
 1284|  13.4M|}
_Py_dict_lookup:
 1303|  66.4M|{
 1304|  66.4M|    PyDictKeysObject *dk;
 1305|  66.4M|    DictKeysKind kind;
 1306|  66.4M|    Py_ssize_t ix;
 1307|       |
 1308|  66.4M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1309|  66.4M|start:
 1310|  66.4M|    dk = mp->ma_keys;
 1311|  66.4M|    kind = dk->dk_kind;
 1312|       |
 1313|  66.4M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1313:9): [True: 53.8M, False: 12.6M]
  ------------------
 1314|  53.8M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  53.8M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  53.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 53.5M, False: 293k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|       |#ifdef Py_GIL_DISABLED
 1316|       |            if (kind == DICT_KEYS_SPLIT) {
 1317|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1318|       |            }
 1319|       |            else {
 1320|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1321|       |            }
 1322|       |#else
 1323|  53.5M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1324|  53.5M|#endif
 1325|  53.5M|        }
 1326|   293k|        else {
 1327|   293k|            INCREF_KEYS_FT(dk);
 1328|   293k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1329|       |
 1330|   293k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1331|       |
 1332|   293k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1333|   293k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1334|   293k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  187|   293k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1334:17): [True: 0, False: 293k]
  ------------------
 1335|      0|                goto start;
 1336|      0|            }
 1337|   293k|        }
 1338|       |
 1339|  53.8M|        if (ix >= 0) {
  ------------------
  |  Branch (1339:13): [True: 37.6M, False: 16.1M]
  ------------------
 1340|  37.6M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1340:17): [True: 431k, False: 37.2M]
  ------------------
 1341|   431k|                *value_addr = mp->ma_values->values[ix];
 1342|   431k|            }
 1343|  37.2M|            else {
 1344|  37.2M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1345|  37.2M|            }
 1346|  37.6M|        }
 1347|  16.1M|        else {
 1348|  16.1M|            *value_addr = NULL;
 1349|  16.1M|        }
 1350|  53.8M|    }
 1351|  12.6M|    else {
 1352|  12.6M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1353|  12.6M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  187|  12.6M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1353:13): [True: 0, False: 12.6M]
  ------------------
 1354|      0|            goto start;
 1355|      0|        }
 1356|  12.6M|        if (ix >= 0) {
  ------------------
  |  Branch (1356:13): [True: 11.8M, False: 750k]
  ------------------
 1357|  11.8M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1358|  11.8M|        }
 1359|   750k|        else {
 1360|   750k|            *value_addr = NULL;
 1361|   750k|        }
 1362|  12.6M|    }
 1363|       |
 1364|  66.4M|    return ix;
 1365|  66.4M|}
_Py_dict_lookup_threadsafe:
 1701|  9.45M|{
 1702|  9.45M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1703|  9.45M|    Py_XNewRef(*value_addr);
  ------------------
  |  |  551|  9.45M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|  9.45M|    return ix;
 1705|  9.45M|}
_Py_dict_lookup_threadsafe_stackref:
 1709|  11.7M|{
 1710|  11.7M|    PyObject *val;
 1711|  11.7M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1712|  11.7M|    if (val == NULL) {
  ------------------
  |  Branch (1712:9): [True: 6.41M, False: 5.34M]
  ------------------
 1713|  6.41M|        *value_addr = PyStackRef_NULL;
 1714|  6.41M|    }
 1715|  5.34M|    else {
 1716|  5.34M|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  5.34M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|  5.34M|    }
 1718|  11.7M|    return ix;
 1719|  11.7M|}
_PyDict_GetMethodStackRef:
 1727|  4.63M|{
 1728|  4.63M|    assert(PyUnicode_CheckExact(key));
 1729|  4.63M|    Py_hash_t hash = hash_unicode_key(key);
 1730|       |
 1731|       |#ifdef Py_GIL_DISABLED
 1732|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1733|       |    // thread or if the dict is already marked as shared so that the load
 1734|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1735|       |    // in this code path without incref'ing the dict because the dict is a
 1736|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1737|       |    // to a quiescent state (allowing the dict to be freed).
 1738|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1739|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1740|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1741|       |            _PyStackRef ref;
 1742|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1743|       |            if (ix >= 0) {
 1744|       |                assert(!PyStackRef_IsNull(ref));
 1745|       |                PyStackRef_XSETREF(*method, ref);
 1746|       |                return 1;
 1747|       |            }
 1748|       |            else if (ix == DKIX_EMPTY) {
 1749|       |                return 0;
 1750|       |            }
 1751|       |            assert(ix == DKIX_KEY_CHANGED);
 1752|       |        }
 1753|       |    }
 1754|       |#endif
 1755|       |
 1756|  4.63M|    PyObject *obj;
 1757|  4.63M|    Py_INCREF(mp);
  ------------------
  |  |  310|  4.63M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1758|  4.63M|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1759|  4.63M|    Py_DECREF(mp);
  ------------------
  |  |  430|  4.63M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|  4.63M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  4.63M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1760:9): [True: 0, False: 4.63M]
  ------------------
 1761|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1762|      0|        return -1;
 1763|      0|    }
 1764|  4.63M|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1764:14): [True: 10, False: 4.63M]
  |  Branch (1764:25): [True: 10, False: 0]
  ------------------
 1765|     10|        PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(obj));
  ------------------
  |  |  855|     10|    do { \
  |  |  856|     10|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|     10|        (dst) = (src); \
  |  |  858|     10|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1766|     10|        return 1;
 1767|     10|    }
 1768|  4.63M|    return 0;  // not found
 1769|  4.63M|}
_PyDict_HasOnlyStringKeys:
 1773|  2.52k|{
 1774|  2.52k|    Py_ssize_t pos = 0;
 1775|  2.52k|    PyObject *key, *value;
 1776|  2.52k|    assert(PyDict_Check(dict));
 1777|       |    /* Shortcut */
 1778|  2.52k|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1778:9): [True: 2.52k, False: 0]
  ------------------
 1779|  2.52k|        return 1;
 1780|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1780:12): [True: 0, False: 0]
  ------------------
 1781|      0|        if (!PyUnicode_Check(key))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1781:13): [True: 0, False: 0]
  ------------------
 1782|      0|            return 0;
 1783|      0|    return 1;
 1784|      0|}
_PyDict_EnablePerThreadRefcounting:
 1788|    753|{
 1789|    753|    assert(PyDict_Check(op));
 1790|       |#ifdef Py_GIL_DISABLED
 1791|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1792|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1793|       |        return;
 1794|       |    }
 1795|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1796|       |        _PyObject_ReleaseUniqueId(id);
 1797|       |        return;
 1798|       |    }
 1799|       |
 1800|       |    PyDictObject *mp = (PyDictObject *)op;
 1801|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1802|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1803|       |#endif
 1804|    753|}
_PyDict_InsertSplitValue:
 1918|  3.28k|{
 1919|  3.28k|    assert(can_modify_dict(mp));
 1920|  3.28k|    assert(PyUnicode_CheckExact(key));
 1921|       |
 1922|  3.28k|    PyObject *old_value = mp->ma_values->values[ix];
 1923|  3.28k|    if (old_value == NULL) {
  ------------------
  |  Branch (1923:9): [True: 3.28k, False: 0]
  ------------------
 1924|  3.28k|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1925|  3.28k|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  317|  3.28k|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|  3.28k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1926|  3.28k|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 1927|  3.28k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  3.28k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  3.28k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1928|  3.28k|    }
 1929|      0|    else {
 1930|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 1931|      0|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  317|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1932|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 1933|       |        // when dict only holds the strong reference to value in ep->me_value.
 1934|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      0|    }
 1936|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  3.28k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 1937|  3.28k|}
_PyDict_FromItems:
 2308|  3.76M|{
 2309|  3.76M|    bool unicode = true;
 2310|  3.76M|    PyObject *const *ks = keys;
 2311|       |
 2312|  6.95M|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2312:28): [True: 3.24M, False: 3.70M]
  ------------------
 2313|  3.24M|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|  3.24M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.24M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2313:13): [True: 60.3k, False: 3.18M]
  ------------------
 2314|  60.3k|            unicode = false;
 2315|  60.3k|            break;
 2316|  60.3k|        }
 2317|  3.18M|        ks += keys_offset;
 2318|  3.18M|    }
 2319|       |
 2320|  3.76M|    PyObject *dict = dict_new_presized(length, unicode);
 2321|  3.76M|    if (dict == NULL) {
  ------------------
  |  Branch (2321:9): [True: 0, False: 3.76M]
  ------------------
 2322|      0|        return NULL;
 2323|      0|    }
 2324|       |
 2325|  3.76M|    ks = keys;
 2326|  3.76M|    PyObject *const *vs = values;
 2327|       |
 2328|  7.19M|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2328:28): [True: 3.42M, False: 3.76M]
  ------------------
 2329|  3.42M|        PyObject *key = *ks;
 2330|  3.42M|        PyObject *value = *vs;
 2331|  3.42M|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2331:13): [True: 0, False: 3.42M]
  ------------------
 2332|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2333|      0|            return NULL;
 2334|      0|        }
 2335|  3.42M|        ks += keys_offset;
 2336|  3.42M|        vs += values_offset;
 2337|  3.42M|    }
 2338|       |
 2339|  3.76M|    return dict;
 2340|  3.76M|}
PyDict_GetItem:
 2398|  1.38k|{
 2399|  1.38k|    return dict_getitem(op, key,
 2400|  1.38k|            "Exception ignored in PyDict_GetItem(); consider using "
 2401|  1.38k|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2402|  1.38k|}
_PyDict_LookupIndexAndValue:
 2427|  8.08k|{
 2428|       |    // TODO: Thread safety
 2429|  8.08k|    assert(PyDict_CheckExact((PyObject*)mp));
 2430|  8.08k|    assert(PyUnicode_CheckExact(key));
 2431|       |
 2432|  8.08k|    Py_hash_t hash = _PyObject_HashFast(key);
 2433|  8.08k|    if (hash == -1) {
  ------------------
  |  Branch (2433:9): [True: 0, False: 8.08k]
  ------------------
 2434|      0|        dict_unhashable_type((PyObject*)mp, key);
 2435|      0|        return -1;
 2436|      0|    }
 2437|       |
 2438|  8.08k|    return _Py_dict_lookup(mp, key, hash, value);
 2439|  8.08k|}
_PyDict_LookupIndex:
 2443|    542|{
 2444|    542|    PyObject *value; // discarded
 2445|    542|    return _PyDict_LookupIndexAndValue(mp, key, &value);
 2446|    542|}
_PyDict_GetItemRef_KnownHash_LockHeld:
 2481|  45.7k|{
 2482|  45.7k|    PyObject *value;
 2483|  45.7k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2484|  45.7k|    assert(ix >= 0 || value == NULL);
 2485|  45.7k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  45.7k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2485:9): [True: 0, False: 45.7k]
  ------------------
 2486|      0|        *result = NULL;
 2487|      0|        return -1;
 2488|      0|    }
 2489|  45.7k|    if (value == NULL) {
  ------------------
  |  Branch (2489:9): [True: 1.38k, False: 44.3k]
  ------------------
 2490|  1.38k|        *result = NULL;
 2491|  1.38k|        return 0;  // missing key
 2492|  1.38k|    }
 2493|  44.3k|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  44.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2494|  44.3k|    return 1;  // key is present
 2495|  45.7k|}
_PyDict_GetItemRef_KnownHash:
 2503|  37.1M|{
 2504|  37.1M|    PyObject *value;
 2505|       |#ifdef Py_GIL_DISABLED
 2506|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2507|       |#else
 2508|  37.1M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2509|  37.1M|#endif
 2510|  37.1M|    assert(ix >= 0 || value == NULL);
 2511|  37.1M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  37.1M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2511:9): [True: 0, False: 37.1M]
  ------------------
 2512|      0|        *result = NULL;
 2513|      0|        return -1;
 2514|      0|    }
 2515|  37.1M|    if (value == NULL) {
  ------------------
  |  Branch (2515:9): [True: 2.41M, False: 34.7M]
  ------------------
 2516|  2.41M|        *result = NULL;
 2517|  2.41M|        return 0;  // missing key
 2518|  2.41M|    }
 2519|       |#ifdef Py_GIL_DISABLED
 2520|       |    *result = value;
 2521|       |#else
 2522|  34.7M|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  34.7M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  34.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2523|  34.7M|#endif
 2524|  34.7M|    return 1;  // key is present
 2525|  37.1M|}
PyDict_GetItemRef:
 2529|  37.1M|{
 2530|  37.1M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  37.1M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  37.1M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  74.3M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 37.1M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2531|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2532|      0|        *result = NULL;
 2533|      0|        return -1;
 2534|      0|    }
 2535|       |
 2536|  37.1M|    Py_hash_t hash = _PyObject_HashFast(key);
 2537|  37.1M|    if (hash == -1) {
  ------------------
  |  Branch (2537:9): [True: 0, False: 37.1M]
  ------------------
 2538|      0|        dict_unhashable_type(op, key);
 2539|      0|        *result = NULL;
 2540|      0|        return -1;
 2541|      0|    }
 2542|       |
 2543|  37.1M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2544|  37.1M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2548|  3.39k|{
 2549|  3.39k|    ASSERT_DICT_LOCKED(op);
 2550|  3.39k|    assert(PyUnicode_CheckExact(key));
 2551|       |
 2552|  3.39k|    Py_hash_t hash = _PyObject_HashFast(key);
 2553|  3.39k|    if (hash == -1) {
  ------------------
  |  Branch (2553:9): [True: 0, False: 3.39k]
  ------------------
 2554|      0|        dict_unhashable_type((PyObject*)op, key);
 2555|      0|        *result = NULL;
 2556|      0|        return -1;
 2557|      0|    }
 2558|       |
 2559|  3.39k|    PyObject *value;
 2560|  3.39k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2561|  3.39k|    assert(ix >= 0 || value == NULL);
 2562|  3.39k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  3.39k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2562:9): [True: 0, False: 3.39k]
  ------------------
 2563|      0|        *result = NULL;
 2564|      0|        return -1;
 2565|      0|    }
 2566|  3.39k|    if (value == NULL) {
  ------------------
  |  Branch (2566:9): [True: 2.66k, False: 734]
  ------------------
 2567|  2.66k|        *result = NULL;
 2568|  2.66k|        return 0;  // missing key
 2569|  2.66k|    }
 2570|    734|    *result = Py_NewRef(value);
  ------------------
  |  |  550|    734|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    734|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    734|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2571|    734|    return 1;  // key is present
 2572|  3.39k|}
PyDict_GetItemWithError:
 2580|   199k|{
 2581|   199k|    Py_ssize_t ix; (void)ix;
 2582|   199k|    Py_hash_t hash;
 2583|   199k|    PyDictObject*mp = (PyDictObject *)op;
 2584|   199k|    PyObject *value;
 2585|       |
 2586|   199k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|   199k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   199k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   399k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 199k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2588|      0|        return NULL;
 2589|      0|    }
 2590|   199k|    hash = _PyObject_HashFast(key);
 2591|   199k|    if (hash == -1) {
  ------------------
  |  Branch (2591:9): [True: 0, False: 199k]
  ------------------
 2592|      0|        dict_unhashable_type(op, key);
 2593|      0|        return NULL;
 2594|      0|    }
 2595|       |
 2596|       |#ifdef Py_GIL_DISABLED
 2597|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2598|       |    Py_XDECREF(value);
 2599|       |#else
 2600|   199k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2601|   199k|#endif
 2602|       |    assert(ix >= 0 || value == NULL);
 2603|   199k|    return value;  // borrowed reference
 2604|   199k|}
_PyDict_LoadGlobal:
 2644|    290|{
 2645|    290|    Py_ssize_t ix;
 2646|    290|    Py_hash_t hash;
 2647|    290|    PyObject *value;
 2648|       |
 2649|    290|    hash = _PyObject_HashFast(key);
 2650|    290|    if (hash == -1) {
  ------------------
  |  Branch (2650:9): [True: 0, False: 290]
  ------------------
 2651|      0|        return NULL;
 2652|      0|    }
 2653|       |
 2654|       |    /* namespace 1: globals */
 2655|    290|    ix = _Py_dict_lookup_threadsafe(globals, key, hash, &value);
 2656|    290|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|    290|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2656:9): [True: 0, False: 290]
  ------------------
 2657|      0|        return NULL;
 2658|    290|    if (ix != DKIX_EMPTY && value != NULL)
  ------------------
  |  |  184|    580|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2658:9): [True: 108, False: 182]
  |  Branch (2658:29): [True: 108, False: 0]
  ------------------
 2659|    108|        return value;
 2660|       |
 2661|       |    /* namespace 2: builtins */
 2662|    182|    ix = _Py_dict_lookup_threadsafe(builtins, key, hash, &value);
 2663|       |    assert(ix >= 0 || value == NULL);
 2664|    182|    return value;
 2665|    290|}
_PyDict_LoadGlobalStackRef:
 2669|  40.2k|{
 2670|  40.2k|    Py_ssize_t ix;
 2671|  40.2k|    Py_hash_t hash;
 2672|       |
 2673|  40.2k|    hash = _PyObject_HashFast(key);
 2674|  40.2k|    if (hash == -1) {
  ------------------
  |  Branch (2674:9): [True: 0, False: 40.2k]
  ------------------
 2675|      0|        *res = PyStackRef_NULL;
 2676|      0|        return;
 2677|      0|    }
 2678|       |
 2679|       |    /* namespace 1: globals */
 2680|  40.2k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2681|  40.2k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  40.2k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2681:9): [True: 0, False: 40.2k]
  ------------------
 2682|      0|        return;
 2683|      0|    }
 2684|  40.2k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  184|  80.5k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  19.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  19.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  19.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2684:9): [True: 19.1k, False: 21.1k]
  |  Branch (2684:29): [True: 19.1k, False: 0]
  ------------------
 2685|  19.1k|        return;
 2686|  19.1k|    }
 2687|       |
 2688|       |    /* namespace 2: builtins */
 2689|  21.1k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2690|       |    assert(ix >= 0 || PyStackRef_IsNull(*res));
 2691|  21.1k|}
_PyDict_LoadBuiltinsFromGlobals:
 2695|  3.46M|{
 2696|  3.46M|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  3.46M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  3.46M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.92M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.46M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2697|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2698|      0|        return NULL;
 2699|      0|    }
 2700|       |
 2701|  3.46M|    PyDictObject *mp = (PyDictObject *)globals;
 2702|  3.46M|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  919|  3.46M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.46M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.46M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|  3.46M|    Py_hash_t hash = unicode_get_hash(key);
 2704|       |
 2705|       |    // Use the stackref variant to avoid reference count contention on the
 2706|       |    // builtins module in the free threading build. It's important not to
 2707|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2708|       |    // because the `ref` is not visible to the GC.
 2709|  3.46M|    _PyStackRef ref;
 2710|  3.46M|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2711|  3.46M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  3.46M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2711:9): [True: 0, False: 3.46M]
  ------------------
 2712|      0|        return NULL;
 2713|      0|    }
 2714|  3.46M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  3.46M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.46M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 3.46M]
  |  |  ------------------
  ------------------
 2715|      0|        return Py_NewRef(PyEval_GetBuiltins());
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      0|    }
 2717|  3.46M|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2718|  3.46M|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  3.46M|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  3.46M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 4, False: 3.46M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2719|      4|        builtins = _PyModule_GetDict(builtins);
 2720|      4|        assert(builtins != NULL);
 2721|      4|    }
 2722|  3.46M|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  386|  3.46M|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|  3.46M|    PyStackRef_CLOSE(ref);
 2724|  3.46M|    return builtins;
 2725|  3.46M|}
_PyDict_SetItem_Take2:
 2763|  1.87M|{
 2764|  1.87M|    int res;
 2765|  1.87M|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  1.87M|    {
  ------------------
 2766|  1.87M|    res = setitem_take2_lock_held(mp, key, value);
 2767|  1.87M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.87M|    }
  ------------------
 2768|  1.87M|    return res;
 2769|  1.87M|}
PyDict_SetItem:
 2789|   789k|{
 2790|   789k|    assert(key);
 2791|   789k|    assert(value);
 2792|       |
 2793|   789k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|   789k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   789k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2793:9): [True: 0, False: 789k]
  ------------------
 2794|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2795|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 2796|      0|        }
 2797|      0|        else {
 2798|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2799|      0|        }
 2800|      0|        return -1;
 2801|      0|    }
 2802|       |
 2803|   789k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2804|   789k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   789k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   789k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   789k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   789k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   789k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   789k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2805|   789k|}
_PyDict_SetItem_KnownHash_LockHeld:
 2830|  17.3k|{
 2831|  17.3k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  17.3k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2831:9): [True: 12.1k, False: 5.27k]
  ------------------
 2832|  12.1k|        return insert_to_emptydict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      return insert_to_emptydict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|  12.1k|    }
 2834|       |    /* insertdict() handles any resizing that might be necessary */
 2835|  5.27k|    return insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  5.27k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  5.27k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2836|  17.3k|}
_PyDict_SetItem_KnownHash:
 2841|     26|{
 2842|     26|    assert(key);
 2843|     26|    assert(value);
 2844|     26|    assert(hash != -1);
 2845|       |
 2846|     26|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     26|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2846:9): [True: 0, False: 26]
  ------------------
 2847|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 2849|      0|        }
 2850|      0|        else {
 2851|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2852|      0|        }
 2853|      0|        return -1;
 2854|      0|    }
 2855|       |
 2856|     26|    int res;
 2857|     26|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     26|    {
  ------------------
 2858|     26|    res = _PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)op, key, value, hash);
 2859|     26|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     26|    }
  ------------------
 2860|     26|    return res;
 2861|     26|}
PyDict_DelItem:
 2926|  31.9k|{
 2927|  31.9k|    assert(key);
 2928|  31.9k|    Py_hash_t hash = _PyObject_HashFast(key);
 2929|  31.9k|    if (hash == -1) {
  ------------------
  |  Branch (2929:9): [True: 0, False: 31.9k]
  ------------------
 2930|      0|        dict_unhashable_type(op, key);
 2931|      0|        return -1;
 2932|      0|    }
 2933|       |
 2934|  31.9k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 2935|  31.9k|}
_PyDict_DelItem_KnownHash_LockHeld:
 2939|  32.4k|{
 2940|  32.4k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  32.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2940:9): [True: 0, False: 32.4k]
  ------------------
 2941|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 2943|      0|        }
 2944|      0|        else {
 2945|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2946|      0|        }
 2947|      0|        return -1;
 2948|      0|    }
 2949|       |
 2950|  32.4k|    Py_ssize_t ix;
 2951|  32.4k|    PyObject *old_value;
 2952|  32.4k|    PyDictObject *mp = (PyDictObject *)op;
 2953|  32.4k|    assert(can_modify_dict(mp));
 2954|       |
 2955|  32.4k|    assert(key);
 2956|  32.4k|    assert(hash != -1);
 2957|  32.4k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2958|  32.4k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  32.4k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2958:9): [True: 0, False: 32.4k]
  ------------------
 2959|      0|        return -1;
 2960|  32.4k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  64.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2960:9): [True: 0, False: 32.4k]
  |  Branch (2960:29): [True: 0, False: 32.4k]
  ------------------
 2961|      0|        _PyErr_SetKeyError(key);
 2962|      0|        return -1;
 2963|      0|    }
 2964|       |
 2965|  32.4k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 2966|  32.4k|    delitem_common(mp, hash, ix, old_value);
 2967|  32.4k|    return 0;
 2968|  32.4k|}
_PyDict_DelItem_KnownHash:
 2972|  31.9k|{
 2973|  31.9k|    int res;
 2974|  31.9k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  31.9k|    {
  ------------------
 2975|  31.9k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 2976|  31.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  31.9k|    }
  ------------------
 2977|  31.9k|    return res;
 2978|  31.9k|}
_PyDict_DelItemIf:
 3026|  1.57k|{
 3027|  1.57k|    assert(PyDict_Check(op));
 3028|  1.57k|    int res;
 3029|  1.57k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.57k|    {
  ------------------
 3030|  1.57k|    res = delitemif_lock_held(op, key, predicate, arg);
 3031|  1.57k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.57k|    }
  ------------------
 3032|  1.57k|    return res;
 3033|  1.57k|}
PyDict_Clear:
 3103|  4.06k|{
 3104|  4.06k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  4.06k|    {
  ------------------
 3105|  4.06k|    clear_lock_held(op);
 3106|  4.06k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.06k|    }
  ------------------
 3107|  4.06k|}
_PyDict_Next:
 3117|  7.46M|{
 3118|  7.46M|    Py_ssize_t i;
 3119|  7.46M|    PyDictObject *mp;
 3120|  7.46M|    PyObject *key, *value;
 3121|  7.46M|    Py_hash_t hash;
 3122|       |
 3123|  7.46M|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  7.46M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  7.46M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  14.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 7.46M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|      0|        return 0;
 3125|       |
 3126|  7.46M|    mp = (PyDictObject *)op;
 3127|  7.46M|    i = *ppos;
 3128|  7.46M|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  7.46M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 7.46M]
  |  |  ------------------
  ------------------
 3129|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
 3130|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3130:13): [True: 0, False: 0]
  |  Branch (3130:22): [True: 0, False: 0]
  ------------------
 3131|      0|            return 0;
 3132|      0|        int index = get_index_from_order(mp, i);
 3133|      0|        value = mp->ma_values->values[index];
 3134|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3135|      0|        hash = unicode_get_hash(key);
 3136|      0|        assert(value != NULL);
 3137|      0|    }
 3138|  7.46M|    else {
 3139|  7.46M|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3140|  7.46M|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3140:13): [True: 0, False: 7.46M]
  |  Branch (3140:22): [True: 2.97M, False: 4.49M]
  ------------------
 3141|  2.97M|            return 0;
 3142|  4.49M|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  4.49M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.48M, False: 4.04k]
  |  |  ------------------
  ------------------
 3143|  4.48M|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3144|  4.49M|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3144:20): [True: 4.48M, False: 332]
  |  Branch (3144:29): [True: 3.57k, False: 4.48M]
  ------------------
 3145|  3.57k|                entry_ptr++;
 3146|  3.57k|                i++;
 3147|  3.57k|            }
 3148|  4.48M|            if (i >= n)
  ------------------
  |  Branch (3148:17): [True: 332, False: 4.48M]
  ------------------
 3149|    332|                return 0;
 3150|  4.48M|            key = entry_ptr->me_key;
 3151|  4.48M|            hash = unicode_get_hash(entry_ptr->me_key);
 3152|  4.48M|            value = entry_ptr->me_value;
 3153|  4.48M|        }
 3154|  4.04k|        else {
 3155|  4.04k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3156|  4.04k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3156:20): [True: 4.04k, False: 0]
  |  Branch (3156:29): [True: 0, False: 4.04k]
  ------------------
 3157|      0|                entry_ptr++;
 3158|      0|                i++;
 3159|      0|            }
 3160|  4.04k|            if (i >= n)
  ------------------
  |  Branch (3160:17): [True: 0, False: 4.04k]
  ------------------
 3161|      0|                return 0;
 3162|  4.04k|            key = entry_ptr->me_key;
 3163|  4.04k|            hash = entry_ptr->me_hash;
 3164|  4.04k|            value = entry_ptr->me_value;
 3165|  4.04k|        }
 3166|  4.49M|    }
 3167|  4.49M|    *ppos = i+1;
 3168|  4.49M|    if (pkey)
  ------------------
  |  Branch (3168:9): [True: 4.49M, False: 60]
  ------------------
 3169|  4.49M|        *pkey = key;
 3170|  4.49M|    if (pvalue)
  ------------------
  |  Branch (3170:9): [True: 4.47M, False: 11.3k]
  ------------------
 3171|  4.47M|        *pvalue = value;
 3172|  4.49M|    if (phash)
  ------------------
  |  Branch (3172:9): [True: 6.50k, False: 4.48M]
  ------------------
 3173|  6.50k|        *phash = hash;
 3174|  4.49M|    return 1;
 3175|  7.46M|}
PyDict_Next:
 3197|  4.93M|{
 3198|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3199|  4.93M|}
_PyDict_Pop_KnownHash:
 3206|  2.15k|{
 3207|  2.15k|    assert(PyDict_Check(mp));
 3208|  2.15k|    assert(can_modify_dict(mp));
 3209|       |
 3210|  2.15k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3210:9): [True: 0, False: 2.15k]
  ------------------
 3211|      0|        if (result) {
  ------------------
  |  Branch (3211:13): [True: 0, False: 0]
  ------------------
 3212|      0|            *result = NULL;
 3213|      0|        }
 3214|      0|        return 0;
 3215|      0|    }
 3216|       |
 3217|  2.15k|    PyObject *old_value;
 3218|  2.15k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3219|  2.15k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  2.15k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3219:9): [True: 0, False: 2.15k]
  ------------------
 3220|      0|        if (result) {
  ------------------
  |  Branch (3220:13): [True: 0, False: 0]
  ------------------
 3221|      0|            *result = NULL;
 3222|      0|        }
 3223|      0|        return -1;
 3224|      0|    }
 3225|       |
 3226|  2.15k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  4.30k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3226:9): [True: 1.18k, False: 968]
  |  Branch (3226:29): [True: 0, False: 968]
  ------------------
 3227|  1.18k|        if (result) {
  ------------------
  |  Branch (3227:13): [True: 648, False: 538]
  ------------------
 3228|    648|            *result = NULL;
 3229|    648|        }
 3230|  1.18k|        return 0;
 3231|  1.18k|    }
 3232|       |
 3233|  2.15k|    assert(old_value != NULL);
 3234|    968|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3235|    968|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  550|    968|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    968|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    968|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|       |
 3237|    968|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|    968|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 3238|    968|    if (result) {
  ------------------
  |  Branch (3238:9): [True: 968, False: 0]
  ------------------
 3239|    968|        *result = old_value;
 3240|    968|    }
 3241|      0|    else {
 3242|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      0|    }
 3244|    968|    return 1;
 3245|  2.15k|}
PyDict_Pop:
 3285|  2.15k|{
 3286|  2.15k|    int err;
 3287|  2.15k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  2.15k|    {
  ------------------
 3288|  2.15k|    err = pop_lock_held(op, key, result);
 3289|  2.15k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.15k|    }
  ------------------
 3290|       |
 3291|  2.15k|    return err;
 3292|  2.15k|}
_PyDict_FromKeys:
 3388|    246|{
 3389|    246|    PyObject *it;       /* iter(iterable) */
 3390|    246|    PyObject *key;
 3391|    246|    PyObject *d;
 3392|    246|    int status;
 3393|       |
 3394|    246|    d = _PyObject_CallNoArgs(cls);
 3395|    246|    if (d == NULL) {
  ------------------
  |  Branch (3395:9): [True: 0, False: 246]
  ------------------
 3396|      0|        return NULL;
 3397|      0|    }
 3398|       |
 3399|       |    // If cls is a dict or frozendict subclass with overridden constructor,
 3400|       |    // copy the frozendict.
 3401|    246|    PyTypeObject *cls_type = _PyType_CAST(cls);
  ------------------
  |  |  770|    246|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3402|    246|    if (PyFrozenDict_Check(d) && cls_type->tp_new != frozendict_new) {
  ------------------
  |  |   37|    246|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    492|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3402:34): [True: 0, False: 0]
  ------------------
 3403|       |        // Subclass-friendly copy
 3404|      0|        PyObject *copy;
 3405|      0|        if (PyObject_IsSubclass(cls, (PyObject*)&PyFrozenDict_Type)) {
  ------------------
  |  Branch (3405:13): [True: 0, False: 0]
  ------------------
 3406|      0|            copy = frozendict_new(cls_type, NULL, NULL);
 3407|      0|        }
 3408|      0|        else {
 3409|      0|            copy = dict_new(cls_type, NULL, NULL);
 3410|      0|        }
 3411|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3411:13): [True: 0, False: 0]
  ------------------
 3412|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      0|            return NULL;
 3414|      0|        }
 3415|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3415:13): [True: 0, False: 0]
  ------------------
 3416|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3417|      0|            Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3418|      0|            return NULL;
 3419|      0|        }
 3420|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3421|      0|    }
 3422|    246|    assert(!PyFrozenDict_Check(d) || can_modify_dict((PyDictObject*)d));
 3423|       |
 3424|    246|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|    246|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    246|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 246, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3425|    246|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|    246|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    246|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3426|      0|            PyDictObject *mp = (PyDictObject *)d;
 3427|       |
 3428|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3429|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3430|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3431|      0|            return d;
 3432|      0|        }
 3433|    246|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|    246|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|    246|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3434|      0|            PyDictObject *mp = (PyDictObject *)d;
 3435|       |
 3436|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3437|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3438|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3439|      0|            return d;
 3440|      0|        }
 3441|    246|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|    246|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    492|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    246|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3442|      0|            PyDictObject *mp = (PyDictObject *)d;
 3443|       |
 3444|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3445|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3446|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3447|      0|            return d;
 3448|      0|        }
 3449|    246|    }
 3450|      0|    else if (PyFrozenDict_CheckExact(d)) {
  ------------------
  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3451|      0|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3452|      0|            PyDictObject *mp = (PyDictObject *)d;
 3453|       |
 3454|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3455|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3456|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3457|      0|            return d;
 3458|      0|        }
 3459|      0|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      0|            PyDictObject *mp = (PyDictObject *)d;
 3461|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3462|      0|            return d;
 3463|      0|        }
 3464|      0|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3465|      0|            PyDictObject *mp = (PyDictObject *)d;
 3466|       |
 3467|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3468|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3469|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3470|      0|            return d;
 3471|      0|        }
 3472|      0|    }
 3473|       |
 3474|    246|    it = PyObject_GetIter(iterable);
 3475|    246|    if (it == NULL){
  ------------------
  |  Branch (3475:9): [True: 0, False: 246]
  ------------------
 3476|      0|        Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|      0|        return NULL;
 3478|      0|    }
 3479|       |
 3480|    246|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|    246|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    246|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 246, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3481|    246|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|    246|    {
  ------------------
 3482|  1.04k|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3482:16): [True: 802, False: 246]
  ------------------
 3483|    802|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3484|    802|            Py_DECREF(key);
  ------------------
  |  |  430|    802|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    802|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    802|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|    802|            if (status < 0) {
  ------------------
  |  Branch (3485:17): [True: 0, False: 802]
  ------------------
 3486|      0|                assert(PyErr_Occurred());
 3487|      0|                goto dict_iter_exit;
 3488|      0|            }
 3489|    802|        }
 3490|    246|dict_iter_exit:;
 3491|    246|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    246|    }
  ------------------
 3492|    246|    }
 3493|      0|    else if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3494|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3494:16): [True: 0, False: 0]
  ------------------
 3495|       |            // setitem_take2_lock_held consumes a reference to key
 3496|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3497|      0|                                             key, Py_NewRef(value));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|      0|            if (status < 0) {
  ------------------
  |  Branch (3498:17): [True: 0, False: 0]
  ------------------
 3499|      0|                assert(PyErr_Occurred());
 3500|      0|                goto Fail;
 3501|      0|            }
 3502|      0|        }
 3503|      0|    }
 3504|      0|    else {
 3505|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3505:16): [True: 0, False: 0]
  ------------------
 3506|      0|            status = PyObject_SetItem(d, key, value);
 3507|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3508|      0|            if (status < 0)
  ------------------
  |  Branch (3508:17): [True: 0, False: 0]
  ------------------
 3509|      0|                goto Fail;
 3510|      0|        }
 3511|      0|    }
 3512|       |
 3513|    246|    if (PyErr_Occurred())
  ------------------
  |  Branch (3513:9): [True: 0, False: 246]
  ------------------
 3514|      0|        goto Fail;
 3515|    246|    Py_DECREF(it);
  ------------------
  |  |  430|    246|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3516|    246|    return d;
 3517|       |
 3518|      0|Fail:
 3519|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|      0|    Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3521|       |    return NULL;
 3522|    246|}
_PyDict_SubscriptKnownHash:
 3679|  4.07M|{
 3680|  4.07M|    PyDictObject *mp = (PyDictObject *)self;
 3681|  4.07M|    Py_ssize_t ix;
 3682|  4.07M|    PyObject *value;
 3683|       |
 3684|  4.07M|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3685|  4.07M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  4.07M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3685:9): [True: 0, False: 4.07M]
  ------------------
 3686|      0|        return NULL;
 3687|  4.07M|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  184|  8.14M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3687:9): [True: 276k, False: 3.79M]
  |  Branch (3687:29): [True: 0, False: 3.79M]
  ------------------
 3688|   276k|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|   276k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|   276k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|   552k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 275k, False: 188]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    188|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    188|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 188]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3689|       |            /* Look up __missing__ method if we're a subclass. */
 3690|    188|            PyObject *missing, *res;
 3691|    188|            missing = _PyObject_LookupSpecial(
 3692|    188|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  919|    188|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    188|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    188|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3693|    188|            if (missing != NULL) {
  ------------------
  |  Branch (3693:17): [True: 70, False: 118]
  ------------------
 3694|     70|                res = PyObject_CallOneArg(missing, key);
 3695|     70|                Py_DECREF(missing);
  ------------------
  |  |  430|     70|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|     70|                return res;
 3697|     70|            }
 3698|    118|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3698:22): [True: 0, False: 118]
  ------------------
 3699|      0|                return NULL;
 3700|    188|        }
 3701|   276k|        _PyErr_SetKeyError(key);
 3702|   276k|        return NULL;
 3703|   276k|    }
 3704|  3.79M|    return value;
 3705|  4.07M|}
_PyDict_Subscript:
 3709|  4.07M|{
 3710|  4.07M|    Py_hash_t hash = _PyObject_HashFast(key);
 3711|  4.07M|    if (hash == -1) {
  ------------------
  |  Branch (3711:9): [True: 0, False: 4.07M]
  ------------------
 3712|      0|        dict_unhashable_type(self, key);
 3713|      0|        return NULL;
 3714|      0|    }
 3715|  4.07M|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3716|  4.07M|}
_PyDict_StoreSubscript:
 3720|  29.2k|{
 3721|  29.2k|    if (w == NULL)
  ------------------
  |  Branch (3721:9): [True: 27.8k, False: 1.41k]
  ------------------
 3722|  27.8k|        return PyDict_DelItem(mp, v);
 3723|  1.41k|    else
 3724|  1.41k|        return PyDict_SetItem(mp, v, w);
 3725|  29.2k|}
PyDict_Keys:
 3773|  1.51k|{
 3774|  1.51k|    PyObject *res;
 3775|  1.51k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  1.51k|    {
  ------------------
 3776|  1.51k|    res = keys_lock_held(dict);
 3777|  1.51k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.51k|    }
  ------------------
 3778|       |
 3779|  1.51k|    return res;
 3780|  1.51k|}
PyDict_Update:
 4299|    432|{
 4300|       |    return dict_merge_api(a, b, 1, NULL);
 4301|    432|}
_PyDict_MergeUniq:
 4312|  1.36M|{
 4313|  1.36M|    return dict_merge_api(a, b, 2, dupkey);
 4314|  1.36M|}
PyDict_Copy:
 4461|  12.2k|{
 4462|  12.2k|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|  12.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4462:9): [True: 0, False: 12.2k]
  |  Branch (4462:22): [True: 0, False: 12.2k]
  ------------------
 4463|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4464|      0|        return NULL;
 4465|      0|    }
 4466|       |
 4467|  12.2k|    PyObject *res;
 4468|  12.2k|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|  12.2k|    {
  ------------------
 4469|  12.2k|    res = copy_lock_held(o, 0);
 4470|  12.2k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  12.2k|    }
  ------------------
 4471|  12.2k|    return res;
 4472|  12.2k|}
_PyDict_CopyAsDict:
 4497|  2.46k|{
 4498|  2.46k|    assert(PyAnyDict_Check(o));
 4499|       |
 4500|  2.46k|    PyObject *res;
 4501|  2.46k|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  2.46k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  2.46k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4502|      0|        res = copy_lock_held(o, 0);
 4503|      0|    }
 4504|  2.46k|    else {
 4505|  2.46k|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|  2.46k|    {
  ------------------
 4506|  2.46k|        res = copy_lock_held(o, 0);
 4507|  2.46k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.46k|    }
  ------------------
 4508|  2.46k|    }
 4509|  2.46k|    return res;
 4510|  2.46k|}
PyDict_Size:
 4514|    106|{
 4515|    106|    if (mp == NULL || !PyAnyDict_Check(mp)) {
  ------------------
  |  |   43|    106|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    106|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    212|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 106, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4515:9): [True: 0, False: 106]
  ------------------
 4516|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4517|      0|        return -1;
 4518|      0|    }
 4519|    106|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  313|    106|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    106|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4520|    106|}
PyDict_SetDefaultRef:
 4781|   309k|{
 4782|   309k|    int res;
 4783|   309k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|   309k|    {
  ------------------
 4784|   309k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 4785|   309k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   309k|    }
  ------------------
 4786|   309k|    return res;
 4787|   309k|}
_PyDict_KeysSize:
 5033|  1.34M|{
 5034|  1.34M|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5034:18): [True: 3.90k, False: 1.33M]
  ------------------
 5035|  1.34M|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5036|  1.34M|    size_t size = sizeof(PyDictKeysObject);
 5037|  1.34M|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5038|  1.34M|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  575|  1.34M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5039|  1.34M|    return size;
 5040|  1.34M|}
_PyDict_Or:
 5057|      2|{
 5058|      2|    if (!PyAnyDict_Check(self) || !PyAnyDict_Check(other)) {
  ------------------
  |  |   43|      4|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyAnyDict_Check(self) || !PyAnyDict_Check(other)) {
  ------------------
  |  |   43|      2|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5059|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5060|      0|    }
 5061|      2|    PyObject *new = anydict_copy(self);
 5062|      2|    if (new == NULL) {
  ------------------
  |  Branch (5062:9): [True: 0, False: 2]
  ------------------
 5063|      0|        return NULL;
 5064|      0|    }
 5065|      2|    if (dict_update_arg(new, other)) {
  ------------------
  |  Branch (5065:9): [True: 0, False: 2]
  ------------------
 5066|      0|        Py_DECREF(new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5067|      0|        return NULL;
 5068|      0|    }
 5069|      2|    return new;
 5070|      2|}
_PyDict_IOr:
 5097|     22|{
 5098|     22|    if (dict_update_arg(self, other)) {
  ------------------
  |  Branch (5098:9): [True: 0, False: 22]
  ------------------
 5099|      0|        return NULL;
 5100|      0|    }
 5101|     22|    return Py_NewRef(self);
  ------------------
  |  |  550|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5102|     22|}
PyDict_Contains:
 5153|  2.74M|{
 5154|  2.74M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  2.74M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.74M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  5.49M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.74M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5155|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5156|      0|        return -1;
 5157|      0|    }
 5158|       |
 5159|  2.74M|    return dict_contains(op, key);
 5160|  2.74M|}
PyDict_ContainsString:
 5164|    431|{
 5165|    431|    PyObject *key_obj = PyUnicode_FromString(key);
 5166|    431|    if (key_obj == NULL) {
  ------------------
  |  Branch (5166:9): [True: 0, False: 431]
  ------------------
 5167|      0|        return -1;
 5168|      0|    }
 5169|    431|    int res = PyDict_Contains(op, key_obj);
 5170|    431|    Py_DECREF(key_obj);
  ------------------
  |  |  430|    431|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5171|    431|    return res;
 5172|    431|}
_PyDict_Contains_KnownHash:
 5177|  2.76M|{
 5178|  2.76M|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  311|  2.76M|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5179|  2.76M|    PyObject *value;
 5180|  2.76M|    Py_ssize_t ix;
 5181|       |
 5182|       |#ifdef Py_GIL_DISABLED
 5183|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5184|       |#else
 5185|  2.76M|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5186|  2.76M|#endif
 5187|  2.76M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  2.76M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5187:9): [True: 0, False: 2.76M]
  ------------------
 5188|      0|        return -1;
 5189|  2.76M|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  184|  5.53M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5189:9): [True: 2.56M, False: 201k]
  |  Branch (5189:29): [True: 2.56M, False: 8]
  ------------------
 5190|       |#ifdef Py_GIL_DISABLED
 5191|       |        Py_DECREF(value);
 5192|       |#endif
 5193|  2.56M|        return 1;
 5194|  2.56M|    }
 5195|   201k|    return 0;
 5196|  2.76M|}
PyDict_GetItemStringRef:
 5409|  1.18k|{
 5410|  1.18k|    PyObject *key_obj = PyUnicode_FromString(key);
 5411|  1.18k|    if (key_obj == NULL) {
  ------------------
  |  Branch (5411:9): [True: 0, False: 1.18k]
  ------------------
 5412|      0|        *result = NULL;
 5413|      0|        return -1;
 5414|      0|    }
 5415|  1.18k|    int res = PyDict_GetItemRef(v, key_obj, result);
 5416|  1.18k|    Py_DECREF(key_obj);
  ------------------
  |  |  430|  1.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5417|  1.18k|    return res;
 5418|  1.18k|}
PyDict_SetItemString:
 5422|  4.28k|{
 5423|  4.28k|    PyObject *kv;
 5424|  4.28k|    int err;
 5425|  4.28k|    kv = PyUnicode_FromString(key);
 5426|  4.28k|    if (kv == NULL)
  ------------------
  |  Branch (5426:9): [True: 0, False: 4.28k]
  ------------------
 5427|      0|        return -1;
 5428|  4.28k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5429|  4.28k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5430|  4.28k|    err = PyDict_SetItem(v, kv, item);
 5431|  4.28k|    Py_DECREF(kv);
  ------------------
  |  |  430|  4.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5432|  4.28k|    return err;
 5433|  4.28k|}
_PyDictView_New:
 6305|   631k|{
 6306|   631k|    _PyDictViewObject *dv;
 6307|   631k|    if (dict == NULL) {
  ------------------
  |  Branch (6307:9): [True: 0, False: 631k]
  ------------------
 6308|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6309|      0|        return NULL;
 6310|      0|    }
 6311|   631k|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|   631k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   631k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.26M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 631k, False: 70]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|     70|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     70|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 70, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6312|       |        /* XXX Get rid of this restriction later */
 6313|      0|        PyErr_Format(PyExc_TypeError,
 6314|      0|                     "%s() requires a dict argument, not '%s'",
 6315|      0|                     type->tp_name, Py_TYPE(dict)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6316|      0|        return NULL;
 6317|      0|    }
 6318|   631k|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|   631k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6319|   631k|    if (dv == NULL)
  ------------------
  |  Branch (6319:9): [True: 0, False: 631k]
  ------------------
 6320|      0|        return NULL;
 6321|   631k|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  550|   631k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   631k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6322|   631k|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  508|   631k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   631k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6323|   631k|    return (PyObject *)dv;
 6324|   631k|}
_PyDictView_Intersect:
 6532|      2|{
 6533|      2|    PyObject *result;
 6534|      2|    PyObject *it;
 6535|      2|    PyObject *key;
 6536|      2|    Py_ssize_t len_self;
 6537|      2|    int rv;
 6538|      2|    objobjproc dict_contains;
 6539|       |
 6540|       |    /* Python interpreter swaps parameters when dict view
 6541|       |       is on right side of & */
 6542|      2|    if (!PyDictViewSet_Check(self)) {
  ------------------
  |  |   98|      2|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      2|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      0|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6543|      0|        PyObject *tmp = other;
 6544|      0|        other = self;
 6545|      0|        self = tmp;
 6546|      0|    }
 6547|       |
 6548|      2|    len_self = dictview_len(self);
 6549|       |
 6550|       |    /* if other is a set and self is smaller than other,
 6551|       |       reuse set intersection logic */
 6552|      2|    if (PySet_CheckExact(other) && len_self <= PyObject_Size(other)) {
  ------------------
  |  |   35|      2|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6552:36): [True: 0, False: 0]
  ------------------
 6553|      0|        return PyObject_CallMethodObjArgs(
 6554|      0|                other, &_Py_ID(intersection), self, NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6555|      0|    }
 6556|       |
 6557|       |    /* if other is another dict view, and it is bigger than self,
 6558|       |       swap them */
 6559|      2|    if (PyDictViewSet_Check(other)) {
  ------------------
  |  |   98|      2|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      2|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      2|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6560|      0|        Py_ssize_t len_other = dictview_len(other);
 6561|      0|        if (len_other > len_self) {
  ------------------
  |  Branch (6561:13): [True: 0, False: 0]
  ------------------
 6562|      0|            PyObject *tmp = other;
 6563|      0|            other = self;
 6564|      0|            self = tmp;
 6565|      0|        }
 6566|      0|    }
 6567|       |
 6568|       |    /* at this point, two things should be true
 6569|       |       1. self is a dictview
 6570|       |       2. if other is a dictview then it is smaller than self */
 6571|      2|    result = PySet_New(NULL);
 6572|      2|    if (result == NULL)
  ------------------
  |  Branch (6572:9): [True: 0, False: 2]
  ------------------
 6573|      0|        return NULL;
 6574|       |
 6575|      2|    it = PyObject_GetIter(other);
 6576|      2|    if (it == NULL) {
  ------------------
  |  Branch (6576:9): [True: 0, False: 2]
  ------------------
 6577|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6578|      0|        return NULL;
 6579|      0|    }
 6580|       |
 6581|      2|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|      2|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6582|      2|        dict_contains = dictkeys_contains;
 6583|      2|    }
 6584|       |    /* else PyDictItems_Check(self) */
 6585|      0|    else {
 6586|      0|        dict_contains = dictitems_contains;
 6587|      0|    }
 6588|       |
 6589|    112|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (6589:12): [True: 110, False: 2]
  ------------------
 6590|    110|        rv = dict_contains(self, key);
 6591|    110|        if (rv < 0) {
  ------------------
  |  Branch (6591:13): [True: 0, False: 110]
  ------------------
 6592|      0|            goto error;
 6593|      0|        }
 6594|    110|        if (rv) {
  ------------------
  |  Branch (6594:13): [True: 110, False: 0]
  ------------------
 6595|    110|            if (PySet_Add(result, key)) {
  ------------------
  |  Branch (6595:17): [True: 0, False: 110]
  ------------------
 6596|      0|                goto error;
 6597|      0|            }
 6598|    110|        }
 6599|    110|        Py_DECREF(key);
  ------------------
  |  |  430|    110|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6600|    110|    }
 6601|      2|    Py_DECREF(it);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6602|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6602:9): [True: 0, False: 2]
  ------------------
 6603|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6604|      0|        return NULL;
 6605|      0|    }
 6606|      2|    return result;
 6607|       |
 6608|      0|error:
 6609|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6610|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6611|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6612|       |    return NULL;
 6613|      2|}
_PyDict_NewKeysForClass:
 7101|  1.38k|{
 7102|  1.38k|    PyDictKeysObject *keys = new_keys_object(NEXT_LOG2_SHARED_KEYS_MAX_SIZE, 1);
  ------------------
  |  |  244|  1.38k|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7103|  1.38k|    if (keys == NULL) {
  ------------------
  |  Branch (7103:9): [True: 0, False: 1.38k]
  ------------------
 7104|      0|        PyErr_Clear();
 7105|      0|    }
 7106|  1.38k|    else {
 7107|  1.38k|        assert(keys->dk_nentries == 0);
 7108|       |        /* Set to max size+1 as it will shrink by one before each new object */
 7109|  1.38k|        keys->dk_usable = SHARED_KEYS_MAX_SIZE;
  ------------------
  |  |  243|  1.38k|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7110|  1.38k|        keys->dk_kind = DICT_KEYS_SPLIT;
 7111|  1.38k|    }
 7112|  1.38k|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7112:9): [True: 1.38k, False: 0]
  ------------------
 7113|  1.38k|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  919|  1.38k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.38k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.38k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7114|  1.38k|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|  1.31k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.31k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.31k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7114:13): [True: 1.31k, False: 70]
  ------------------
 7115|  4.81k|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|  4.81k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7115:36): [True: 3.50k, False: 1.30k]
  ------------------
 7116|  3.50k|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|  3.50k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.50k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7117|  3.50k|                Py_hash_t hash;
 7118|  3.50k|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|  3.50k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.01k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.50k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7118:50): [True: 3.50k, False: 0]
  ------------------
 7119|  3.50k|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  184|  3.50k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7119:25): [True: 6, False: 3.50k]
  ------------------
 7120|      6|                        break;
 7121|      6|                    }
 7122|  3.50k|                }
 7123|  3.50k|            }
 7124|  1.31k|        }
 7125|  1.38k|    }
 7126|  1.38k|    return keys;
 7127|  1.38k|}
_PyObject_InitInlineValues:
 7131|   257k|{
 7132|   257k|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
 7133|   257k|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7134|   257k|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
 7135|   257k|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  870|   257k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7136|   257k|    assert(keys != NULL);
 7137|   257k|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|   257k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7138|       |#ifdef Py_GIL_DISABLED
 7139|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7140|       |    if (usable > 1) {
 7141|       |        LOCK_KEYS(keys);
 7142|       |        if (keys->dk_usable > 1) {
 7143|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7144|       |        }
 7145|       |        UNLOCK_KEYS(keys);
 7146|       |    }
 7147|       |#else
 7148|   257k|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7148:9): [True: 2.30k, False: 255k]
  ------------------
 7149|  2.30k|        keys->dk_usable--;
 7150|  2.30k|    }
 7151|   257k|#endif
 7152|   257k|    size_t size = shared_keys_usable_size(keys);
 7153|   257k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7154|   257k|    assert(size < 256);
 7155|   257k|    values->capacity = (uint8_t)size;
 7156|   257k|    values->size = 0;
 7157|   257k|    values->embedded = 1;
 7158|   257k|    values->valid = 1;
 7159|  3.00M|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7159:24): [True: 2.74M, False: 257k]
  ------------------
 7160|  2.74M|        values->values[i] = NULL;
 7161|  2.74M|    }
 7162|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7163|   257k|}
_PyObject_MaterializeManagedDict_LockHeld:
 7183|     79|{
 7184|     79|    ASSERT_WORLD_STOPPED_OR_OBJ_LOCKED(obj);
 7185|       |
 7186|     79|    OBJECT_STAT_INC(dict_materialized_on_request);
  ------------------
  |  |   77|     79|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7187|       |
 7188|     79|    PyDictValues *values = _PyObject_InlineValues(obj);
 7189|     79|    PyDictObject *dict;
 7190|     79|    if (values->valid) {
  ------------------
  |  Branch (7190:9): [True: 79, False: 0]
  ------------------
 7191|     79|        PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|     79|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7192|     79|        dict = make_dict_from_instance_attributes(keys, values);
 7193|     79|    }
 7194|      0|    else {
 7195|      0|        dict = (PyDictObject *)PyDict_New();
 7196|      0|    }
 7197|     79|    FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|     79|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7198|     79|                                dict);
 7199|     79|    return dict;
 7200|     79|}
_PyObject_MaterializeManagedDict:
 7204|  7.43M|{
 7205|  7.43M|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7206|  7.43M|    if (dict != NULL) {
  ------------------
  |  Branch (7206:9): [True: 7.43M, False: 79]
  ------------------
 7207|  7.43M|        return dict;
 7208|  7.43M|    }
 7209|       |
 7210|     79|    Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|     79|    {
  ------------------
 7211|       |
 7212|       |#ifdef Py_GIL_DISABLED
 7213|       |    dict = _PyObject_GetManagedDict(obj);
 7214|       |    if (dict != NULL) {
 7215|       |        // We raced with another thread creating the dict
 7216|       |        goto exit;
 7217|       |    }
 7218|       |#endif
 7219|     79|    dict = _PyObject_MaterializeManagedDict_LockHeld(obj);
 7220|       |
 7221|       |#ifdef Py_GIL_DISABLED
 7222|       |exit:
 7223|       |#endif
 7224|     79|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     79|    }
  ------------------
 7225|     79|    return dict;
 7226|  7.43M|}
_PyDict_SetItem_LockHeld:
 7230|   212k|{
 7231|   212k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|   212k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   212k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7231:9): [True: 0, False: 212k]
  ------------------
 7232|      0|        if (PyFrozenDict_Check(dict)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7233|      0|            if (value == NULL) {
  ------------------
  |  Branch (7233:17): [True: 0, False: 0]
  ------------------
 7234|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 7235|      0|            }
 7236|      0|            else {
 7237|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 7238|      0|            }
 7239|      0|        }
 7240|      0|        else {
 7241|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7242|      0|        }
 7243|      0|        return -1;
 7244|      0|    }
 7245|       |
 7246|   212k|    if (value == NULL) {
  ------------------
  |  Branch (7246:9): [True: 486, False: 211k]
  ------------------
 7247|    486|        Py_hash_t hash = _PyObject_HashFast(name);
 7248|    486|        if (hash == -1) {
  ------------------
  |  Branch (7248:13): [True: 0, False: 486]
  ------------------
 7249|      0|            dict_unhashable_type((PyObject*)dict, name);
 7250|      0|            return -1;
 7251|      0|        }
 7252|    486|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7253|   211k|    } else {
 7254|   211k|        return setitem_lock_held(dict, name, value);
 7255|   211k|    }
 7256|   212k|}
_PyObject_StoreInstanceAttribute:
 7377|   856k|{
 7378|   856k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7379|   856k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|   856k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7379:9): [True: 176k, False: 679k]
  ------------------
 7380|   176k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7381|   176k|        if (dict == NULL) {
  ------------------
  |  Branch (7381:13): [True: 0, False: 176k]
  ------------------
 7382|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7383|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7383:17): [True: 0, False: 0]
  ------------------
 7384|      0|                return -1;
 7385|      0|            }
 7386|      0|            int res = store_instance_attr_dict(obj, dict, name, value);
 7387|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7388|      0|            return res;
 7389|      0|        }
 7390|   176k|        return store_instance_attr_dict(obj, dict, name, value);
 7391|   176k|    }
 7392|       |
 7393|       |#ifdef Py_GIL_DISABLED
 7394|       |    // We have a valid inline values, at least for now...  There are two potential
 7395|       |    // races with having the values become invalid.  One is the dictionary
 7396|       |    // being detached from the object.  The other is if someone is inserting
 7397|       |    // into the dictionary directly and therefore causing it to resize.
 7398|       |    //
 7399|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7400|       |    // will also be used to prevent the dictionary from being materialized while
 7401|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7402|       |    // then we'll need to release the object lock and lock the dictionary to
 7403|       |    // prevent resizing.
 7404|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7405|       |    if (dict == NULL) {
 7406|       |        int res;
 7407|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7408|       |        dict = _PyObject_GetManagedDict(obj);
 7409|       |
 7410|       |        if (dict == NULL) {
 7411|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7412|       |        }
 7413|       |        Py_END_CRITICAL_SECTION();
 7414|       |
 7415|       |        if (dict == NULL) {
 7416|       |            return res;
 7417|       |        }
 7418|       |    }
 7419|       |    return store_instance_attr_dict(obj, dict, name, value);
 7420|       |#else
 7421|   679k|    return store_instance_attr_lock_held(obj, values, name, value);
 7422|   856k|#endif
 7423|   856k|}
_PyObject_TryGetInstanceAttribute:
 7460|  25.4M|{
 7461|  25.4M|    assert(PyUnicode_CheckExact(name));
 7462|  25.4M|    PyDictValues *values = _PyObject_InlineValues(obj);
 7463|  25.4M|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|  25.4M|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7463:9): [True: 12.0M, False: 13.3M]
  ------------------
 7464|  12.0M|        return false;
 7465|  12.0M|    }
 7466|       |
 7467|  13.3M|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|  13.3M|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7468|  13.3M|    assert(keys != NULL);
 7469|  13.3M|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7470|  13.3M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  13.3M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7470:9): [True: 4.40M, False: 8.98M]
  ------------------
 7471|  4.40M|        *attr = NULL;
 7472|  4.40M|        return true;
 7473|  4.40M|    }
 7474|       |
 7475|       |#ifdef Py_GIL_DISABLED
 7476|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7477|       |    if (value == NULL) {
 7478|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7479|       |            *attr = NULL;
 7480|       |            return true;
 7481|       |        }
 7482|       |    }
 7483|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7484|       |        *attr = value;
 7485|       |        return true;
 7486|       |    }
 7487|       |
 7488|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7489|       |    if (dict == NULL) {
 7490|       |        // No dict, lock the object to prevent one from being
 7491|       |        // materialized...
 7492|       |        bool success = false;
 7493|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7494|       |
 7495|       |        dict = _PyObject_GetManagedDict(obj);
 7496|       |        if (dict == NULL) {
 7497|       |            // Still no dict, we can read from the values
 7498|       |            assert(values->valid);
 7499|       |            value = values->values[ix];
 7500|       |            *attr = _Py_XNewRefWithLock(value);
 7501|       |            success = true;
 7502|       |        }
 7503|       |
 7504|       |        Py_END_CRITICAL_SECTION();
 7505|       |
 7506|       |        if (success) {
 7507|       |            return true;
 7508|       |        }
 7509|       |    }
 7510|       |
 7511|       |    // We have a dictionary, we'll need to lock it to prevent
 7512|       |    // the values from being resized.
 7513|       |    assert(dict != NULL);
 7514|       |
 7515|       |    bool success;
 7516|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7517|       |
 7518|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7519|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7520|       |        *attr = _Py_XNewRefWithLock(value);
 7521|       |        success = true;
 7522|       |    } else {
 7523|       |        // Caller needs to lookup from the dictionary
 7524|       |        success = false;
 7525|       |    }
 7526|       |
 7527|       |    Py_END_CRITICAL_SECTION();
 7528|       |
 7529|       |    return success;
 7530|       |#else
 7531|  8.98M|    PyObject *value = values->values[ix];
 7532|  8.98M|    *attr = Py_XNewRef(value);
  ------------------
  |  |  551|  8.98M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7533|       |    return true;
 7534|  13.3M|#endif
 7535|  13.3M|}
_PyObject_IsInstanceDictEmpty:
 7539|  8.52k|{
 7540|  8.52k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7541|  8.52k|    if (tp->tp_dictoffset == 0) {
  ------------------
  |  Branch (7541:9): [True: 8.52k, False: 0]
  ------------------
 7542|  8.52k|        return 1;
 7543|  8.52k|    }
 7544|      0|    PyDictObject *dict;
 7545|      0|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|      0|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7545:9): [True: 0, False: 0]
  ------------------
 7546|      0|        PyDictValues *values = _PyObject_InlineValues(obj);
 7547|      0|        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|      0|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (154:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 7548|      0|            PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  870|      0|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7549|      0|            for (Py_ssize_t i = 0; i < keys->dk_nentries; i++) {
  ------------------
  |  Branch (7549:36): [True: 0, False: 0]
  ------------------
 7550|      0|                if (FT_ATOMIC_LOAD_PTR_RELAXED(values->values[i]) != NULL) {
  ------------------
  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (7550:21): [True: 0, False: 0]
  ------------------
 7551|      0|                    return 0;
 7552|      0|                }
 7553|      0|            }
 7554|      0|            return 1;
 7555|      0|        }
 7556|      0|        dict = _PyObject_GetManagedDict(obj);
 7557|      0|    }
 7558|      0|    else if (tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|      0|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7558:14): [True: 0, False: 0]
  ------------------
 7559|      0|        dict = _PyObject_GetManagedDict(obj);
 7560|      0|    }
 7561|      0|    else {
 7562|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 7563|      0|        dict = (PyDictObject *)*dictptr;
 7564|      0|    }
 7565|      0|    if (dict == NULL) {
  ------------------
  |  Branch (7565:9): [True: 0, False: 0]
  ------------------
 7566|      0|        return 1;
 7567|      0|    }
 7568|      0|    return GET_USED((PyDictObject *)dict) == 0;
  ------------------
  |  |  313|      0|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 7569|      0|}
PyObject_VisitManagedDict:
 7573|   289k|{
 7574|   289k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   289k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   289k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   289k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7575|   289k|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|   289k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7575:8): [True: 0, False: 289k]
  ------------------
 7576|      0|        return 0;
 7577|      0|    }
 7578|   289k|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7579|   289k|    if (dict != NULL) {
  ------------------
  |  Branch (7579:9): [True: 17.8k, False: 271k]
  ------------------
 7580|       |        // GH-130327: If there's a managed dictionary available, we should
 7581|       |        // *always* traverse it. The dict is responsible for traversing the
 7582|       |        // inline values if it points to them.
 7583|  17.8k|        Py_VISIT(dict);
  ------------------
  |  |  194|  17.8k|    do {                                                                \
  |  |  195|  17.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.8k, False: 0]
  |  |  ------------------
  |  |  196|  17.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.8k]
  |  |  ------------------
  |  |  198|  17.8k|                return vret;                                            \
  |  |  199|  17.8k|        }                                                               \
  |  |  200|  17.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.8k]
  |  |  ------------------
  ------------------
 7584|  17.8k|    }
 7585|   271k|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   271k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7585:14): [True: 271k, False: 32]
  ------------------
 7586|   271k|        PyDictValues *values = _PyObject_InlineValues(obj);
 7587|   271k|        if (values->valid) {
  ------------------
  |  Branch (7587:13): [True: 271k, False: 0]
  ------------------
 7588|  3.19M|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7588:36): [True: 2.92M, False: 271k]
  ------------------
 7589|  2.92M|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|  2.92M|    do {                                                                \
  |  |  195|  2.92M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.86M, False: 1.05M]
  |  |  ------------------
  |  |  196|  1.86M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.86M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.86M]
  |  |  ------------------
  |  |  198|  1.86M|                return vret;                                            \
  |  |  199|  1.86M|        }                                                               \
  |  |  200|  2.92M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.92M]
  |  |  ------------------
  ------------------
 7590|  2.92M|            }
 7591|   271k|        }
 7592|   271k|    }
 7593|   289k|    return 0;
 7594|   289k|}
PyObject_ClearManagedDict:
 7812|   353k|{
 7813|       |    // This is called when the object is being freed or cleared
 7814|       |    // by the GC and therefore known to have no references.
 7815|   353k|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|   353k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   353k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   353k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   353k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7815:9): [True: 352k, False: 1.07k]
  ------------------
 7816|   352k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7817|   352k|        if (dict == NULL) {
  ------------------
  |  Branch (7817:13): [True: 348k, False: 3.88k]
  ------------------
 7818|       |            // We have no materialized dictionary and inline values
 7819|       |            // that just need to be cleared.
 7820|       |            // No dict to clear, we're done
 7821|   348k|            clear_inline_values(_PyObject_InlineValues(obj));
 7822|   348k|            return;
 7823|   348k|        }
 7824|  3.88k|        else if (FT_ATOMIC_LOAD_PTR_RELAXED(dict->ma_values) ==
  ------------------
  |  |  153|  3.88k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (7824:18): [True: 11, False: 3.87k]
  ------------------
 7825|  3.88k|                    _PyObject_InlineValues(obj)) {
 7826|       |            // We have a materialized object which points at the inline
 7827|       |            // values. We need to materialize the keys. Nothing can modify
 7828|       |            // this object, but we need to lock the dictionary.
 7829|     11|            int err;
 7830|     11|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     11|    {
  ------------------
 7831|     11|            err = detach_dict_from_object(dict, obj);
 7832|     11|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     11|    }
  ------------------
 7833|       |
 7834|     11|            if (err) {
  ------------------
  |  Branch (7834:17): [True: 0, False: 11]
  ------------------
 7835|       |                /* Must be out of memory */
 7836|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
 7837|      0|                PyErr_FormatUnraisable("Exception ignored while "
 7838|      0|                                       "clearing an object managed dict");
 7839|       |                /* Clear the dict */
 7840|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 7841|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 7842|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  645|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 7843|      0|                dict->ma_values = NULL;
 7844|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 7845|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  321|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7846|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 7847|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 7848|      0|            }
 7849|     11|        }
 7850|   352k|    }
 7851|  4.95k|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  484|  4.95k|    do { \
  |  |  485|  4.95k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.95k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.95k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.95k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.95k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.92k, False: 1.03k]
  |  |  ------------------
  |  |  488|  3.92k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.92k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.92k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.92k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.92k|        } \
  |  |  491|  4.95k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.95k]
  |  |  ------------------
  ------------------
 7852|  4.95k|}
PyObject_GenericGetDict:
 7927|   434k|{
 7928|   434k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   434k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   434k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   434k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7929|   434k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   434k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7929:9): [True: 425k, False: 8.44k]
  ------------------
 7930|   425k|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  551|   425k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   425k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   425k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7931|   425k|    }
 7932|  8.44k|    else {
 7933|  8.44k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 7934|  8.44k|        if (dictptr == NULL) {
  ------------------
  |  Branch (7934:13): [True: 0, False: 8.44k]
  ------------------
 7935|      0|            PyErr_SetString(PyExc_AttributeError,
 7936|      0|                            "This object has no __dict__");
 7937|      0|            return NULL;
 7938|      0|        }
 7939|       |
 7940|  8.44k|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  551|  8.44k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7941|  8.44k|    }
 7942|   434k|}
_PyObjectDict_SetItem:
 7947|  28.0k|{
 7948|  28.0k|    PyObject *dict;
 7949|  28.0k|    int res;
 7950|       |
 7951|  28.0k|    assert(dictptr != NULL);
 7952|  28.0k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 7953|  28.0k|    if (dict == NULL) {
  ------------------
  |  Branch (7953:9): [True: 0, False: 28.0k]
  ------------------
 7954|      0|        return -1;
 7955|      0|    }
 7956|       |
 7957|  28.0k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  28.0k|    {
  ------------------
 7958|  28.0k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 7959|  28.0k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  653|  28.0k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 7960|  28.0k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  28.0k|    }
  ------------------
 7961|  28.0k|    return res;
 7962|  28.0k|}
_PyDictKeys_DecRef:
 7966|     94|{
 7967|       |    dictkeys_decref(keys, false);
 7968|     94|}
_PyDictKeys_GetVersionForCurrentState:
 7997|   306k|{
 7998|   306k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  159|   306k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 7999|   306k|    if (dk_version != 0) {
  ------------------
  |  Branch (7999:9): [True: 305k, False: 683]
  ------------------
 8000|   305k|        return dk_version;
 8001|   305k|    }
 8002|    683|    dk_version = get_next_dict_keys_version(interp);
 8003|    683|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  172|    683|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8004|    683|    return dk_version;
 8005|   306k|}
_PyDict_GetKeysVersionForCurrentState:
 8010|  10.4k|{
 8011|  10.4k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8012|  10.4k|    uint32_t dk_version =
 8013|  10.4k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8014|  10.4k|    ensure_shared_on_keys_version_assignment(dict);
 8015|  10.4k|    return dk_version;
 8016|  10.4k|}
PyDict_Watch:
 8040|    755|{
 8041|    755|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|    755|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    755|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8041:9): [True: 0, False: 755]
  ------------------
 8042|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8043|      0|        return -1;
 8044|      0|    }
 8045|    755|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8046|    755|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8046:9): [True: 0, False: 755]
  ------------------
 8047|      0|        return -1;
 8048|      0|    }
 8049|    755|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  174|    755|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8050|    755|                        1ULL << watcher_id);
 8051|    755|    return 0;
 8052|    755|}
_PyDict_SendEvent:
 8127|  46.9k|{
 8128|  46.9k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8129|   422k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|   422k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8129:21): [True: 375k, False: 46.9k]
  ------------------
 8130|   375k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8130:13): [True: 46.9k, False: 328k]
  ------------------
 8131|  46.9k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  150|  46.9k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8132|  46.9k|                interp->dict_state.watchers[i]);
 8133|  46.9k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8133:17): [True: 46.9k, False: 0]
  |  Branch (8133:23): [True: 0, False: 46.9k]
  ------------------
 8134|       |                // We don't want to resurrect the dict by potentially having an
 8135|       |                // unraisablehook keep a reference to it, so we don't pass the
 8136|       |                // dict as context, just an informative string message.  Dict
 8137|       |                // repr can call arbitrary code, so we invent a simpler version.
 8138|      0|                PyErr_FormatUnraisable(
 8139|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8140|      0|                    dict_event_name(event), mp);
 8141|      0|            }
 8142|  46.9k|        }
 8143|   375k|        watcher_bits >>= 1;
 8144|   375k|    }
 8145|  46.9k|}
dictobject.c:dictkeys_get_index:
  513|   103M|{
  514|   103M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  260|   103M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|   103M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  515|   103M|    Py_ssize_t ix;
  516|       |
  517|   103M|    if (log2size < 8) {
  ------------------
  |  Branch (517:9): [True: 98.3M, False: 4.69M]
  ------------------
  518|  98.3M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  260|  98.3M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  519|  98.3M|    }
  520|  4.69M|    else if (log2size < 16) {
  ------------------
  |  Branch (520:14): [True: 4.38M, False: 302k]
  ------------------
  521|  4.38M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  260|  4.38M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  522|  4.38M|    }
  523|   302k|#if SIZEOF_VOID_P > 4
  524|   302k|    else if (log2size >= 32) {
  ------------------
  |  Branch (524:14): [True: 0, False: 302k]
  ------------------
  525|      0|        ix = LOAD_INDEX(keys, 64, i);
  ------------------
  |  |  260|      0|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  526|      0|    }
  527|   302k|#endif
  528|   302k|    else {
  529|   302k|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  260|   302k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  530|   302k|    }
  531|       |    assert(ix >= DKIX_DUMMY);
  532|   103M|    return ix;
  533|   103M|}
dictobject.c:unicode_get_hash:
  436|  46.2M|{
  437|  46.2M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  438|  46.2M|}
dictobject.c:get_index_from_order:
  658|      4|{
  659|      4|    assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  660|       |    assert(i < mp->ma_values->size);
  661|      4|    uint8_t *array = get_insertion_order_array(mp->ma_values);
  662|      4|    return array[i];
  663|      4|}
dictobject.c:new_dict:
  930|  4.02M|{
  931|  4.02M|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  4.02M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  4.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  932|  4.02M|    if (mp == NULL) {
  ------------------
  |  Branch (932:9): [True: 198k, False: 3.82M]
  ------------------
  933|   198k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|   198k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   198k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  934|   198k|    }
  935|  4.02M|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  936|       |
  937|  4.02M|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0);
  938|  4.02M|}
dictobject.c:new_dict_impl:
  904|  4.02M|{
  905|  4.02M|    assert(keys != NULL);
  906|  4.02M|    if (mp == NULL) {
  ------------------
  |  Branch (906:9): [True: 0, False: 4.02M]
  ------------------
  907|      0|        dictkeys_decref(keys, false);
  908|      0|        if (free_values_on_failure) {
  ------------------
  |  Branch (908:13): [True: 0, False: 0]
  ------------------
  909|      0|            free_values(values, false);
  910|      0|        }
  911|      0|        return NULL;
  912|      0|    }
  913|       |
  914|  4.02M|    mp->ma_keys = keys;
  915|  4.02M|    mp->ma_values = values;
  916|  4.02M|    mp->ma_used = used;
  917|  4.02M|    mp->_ma_watcher_tag = 0;
  918|  4.02M|    if (frozendict) {
  ------------------
  |  Branch (918:9): [True: 0, False: 4.02M]
  ------------------
  919|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  920|      0|    }
  921|  4.02M|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  4.02M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  922|  4.02M|    _PyObject_GC_TRACK(mp);
  ------------------
  |  |  508|  4.02M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  4.02M|    return (PyObject *)mp;
  924|  4.02M|}
dictobject.c:free_values:
  889|     49|{
  890|     49|    assert(values->embedded == 0);
  891|       |#ifdef Py_GIL_DISABLED
  892|       |    if (use_qsbr) {
  893|       |        _PyMem_FreeDelayed(values, values_size_from_count(values->capacity));
  894|       |        return;
  895|       |    }
  896|       |#endif
  897|     49|    PyMem_Free(values);
  898|     49|}
dictobject.c:check_keys_unicode:
 1191|   299k|{
 1192|   299k|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|   299k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   598k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 299k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1192:41): [True: 299k, False: 0]
  ------------------
 1193|   299k|}
dictobject.c:hash_unicode_key:
 1197|  4.93M|{
 1198|  4.93M|    assert(PyUnicode_CheckExact(key));
 1199|  4.93M|    Py_hash_t hash = unicode_get_hash(key);
 1200|  4.93M|    if (hash == -1) {
  ------------------
  |  Branch (1200:9): [True: 0, False: 4.93M]
  ------------------
 1201|      0|        hash = PyUnicode_Type.tp_hash(key);
 1202|       |        assert(hash != -1);
 1203|      0|    }
 1204|  4.93M|    return hash;
 1205|  4.93M|}
dictobject.c:unicodekeys_lookup_unicode:
 1151|  67.9M|{
 1152|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1153|  67.9M|}
dictobject.c:do_lookup:
 1058|  80.9M|{
 1059|  80.9M|    void *ep0 = _DK_ENTRIES(dk);
 1060|  80.9M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  452|  80.9M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  80.9M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  80.9M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  80.9M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|  80.9M|    size_t perturb = hash;
 1062|  80.9M|    size_t i = (size_t)hash & mask;
 1063|  80.9M|    Py_ssize_t ix;
 1064|  85.7M|    for (;;) {
 1065|  85.7M|        ix = dictkeys_get_index(dk, i);
 1066|  85.7M|        if (ix >= 0) {
  ------------------
  |  Branch (1066:13): [True: 66.9M, False: 18.7M]
  ------------------
 1067|  66.9M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1068|  66.9M|            if (cmp < 0) {
  ------------------
  |  Branch (1068:17): [True: 0, False: 66.9M]
  ------------------
 1069|      0|                return cmp;
 1070|  66.9M|            } else if (cmp) {
  ------------------
  |  Branch (1070:24): [True: 55.5M, False: 11.4M]
  ------------------
 1071|  55.5M|                return ix;
 1072|  55.5M|            }
 1073|  66.9M|        }
 1074|  18.7M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  18.7M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1074:18): [True: 18.2M, False: 453k]
  ------------------
 1075|  18.2M|            return DKIX_EMPTY;
  ------------------
  |  |  184|  18.2M|#define DKIX_EMPTY (-1)
  ------------------
 1076|  18.2M|        }
 1077|  11.8M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  11.8M|#define PERTURB_SHIFT 5
  ------------------
 1078|  11.8M|        i = mask & (i*5 + perturb + 1);
 1079|       |
 1080|       |        // Manual loop unrolling
 1081|  11.8M|        ix = dictkeys_get_index(dk, i);
 1082|  11.8M|        if (ix >= 0) {
  ------------------
  |  Branch (1082:13): [True: 8.40M, False: 3.44M]
  ------------------
 1083|  8.40M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1084|  8.40M|            if (cmp < 0) {
  ------------------
  |  Branch (1084:17): [True: 0, False: 8.40M]
  ------------------
 1085|      0|                return cmp;
 1086|  8.40M|            } else if (cmp) {
  ------------------
  |  Branch (1086:24): [True: 3.70M, False: 4.70M]
  ------------------
 1087|  3.70M|                return ix;
 1088|  3.70M|            }
 1089|  8.40M|        }
 1090|  3.44M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  3.44M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1090:18): [True: 3.32M, False: 122k]
  ------------------
 1091|  3.32M|            return DKIX_EMPTY;
  ------------------
  |  |  184|  3.32M|#define DKIX_EMPTY (-1)
  ------------------
 1092|  3.32M|        }
 1093|  4.82M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  4.82M|#define PERTURB_SHIFT 5
  ------------------
 1094|  4.82M|        i = mask & (i*5 + perturb + 1);
 1095|  4.82M|    }
 1096|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1097|  80.9M|}
dictobject.c:compare_unicode_unicode:
 1137|  62.9M|{
 1138|  62.9M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1139|  62.9M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  151|  62.9M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1140|  62.9M|    assert(ep_key != NULL);
 1141|  62.9M|    assert(PyUnicode_CheckExact(ep_key));
 1142|  62.9M|    if (ep_key == key ||
  ------------------
  |  Branch (1142:9): [True: 44.3M, False: 18.5M]
  ------------------
 1143|  47.4M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1143:14): [True: 3.01M, False: 15.5M]
  |  Branch (1143:50): [True: 3.01M, False: 0]
  ------------------
 1144|  47.4M|        return 1;
 1145|  47.4M|    }
 1146|  15.5M|    return 0;
 1147|  62.9M|}
dictobject.c:unicodekeys_lookup_split:
 1215|  13.4M|{
 1216|  13.4M|    Py_ssize_t ix;
 1217|  13.4M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
 1218|  13.4M|    assert(PyUnicode_CheckExact(key));
 1219|       |
 1220|       |#ifdef Py_GIL_DISABLED
 1221|       |    // A split dictionaries keys can be mutated by other dictionaries
 1222|       |    // but if we have a unicode key we can avoid locking the shared
 1223|       |    // keys.
 1224|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1225|       |    if (ix == DKIX_KEY_CHANGED) {
 1226|       |        LOCK_KEYS(dk);
 1227|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1228|       |        UNLOCK_KEYS(dk);
 1229|       |    }
 1230|       |#else
 1231|  13.4M|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1232|  13.4M|#endif
 1233|  13.4M|    return ix;
 1234|  13.4M|}
dictobject.c:unicodekeys_lookup_generic:
 1130|   293k|{
 1131|   293k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1132|   293k|}
dictobject.c:compare_unicode_generic:
 1102|    143|{
 1103|    143|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1104|    143|    assert(ep->me_key != NULL);
 1105|    143|    assert(PyUnicode_CheckExact(ep->me_key));
 1106|    143|    assert(!PyUnicode_CheckExact(key));
 1107|       |
 1108|    143|    if (unicode_get_hash(ep->me_key) == hash) {
  ------------------
  |  Branch (1108:9): [True: 0, False: 143]
  ------------------
 1109|      0|        PyObject *startkey = ep->me_key;
 1110|      0|        Py_INCREF(startkey);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 1112|      0|        Py_DECREF(startkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|      0|        if (cmp < 0) {
  ------------------
  |  Branch (1113:13): [True: 0, False: 0]
  ------------------
 1114|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1115|      0|        }
 1116|      0|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1116:13): [True: 0, False: 0]
  |  Branch (1116:34): [True: 0, False: 0]
  ------------------
 1117|      0|            return cmp;
 1118|      0|        }
 1119|      0|        else {
 1120|       |            /* The dict was mutated, restart */
 1121|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  187|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1122|      0|        }
 1123|      0|    }
 1124|    143|    return 0;
 1125|    143|}
dictobject.c:dictkeys_generic_lookup:
 1185|  12.6M|{
 1186|  12.6M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1187|  12.6M|}
dictobject.c:compare_generic:
 1158|  12.3M|{
 1159|  12.3M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1160|  12.3M|    assert(ep->me_key != NULL);
 1161|  12.3M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1161:9): [True: 8.54M, False: 3.85M]
  ------------------
 1162|  8.54M|        return 1;
 1163|  8.54M|    }
 1164|  3.85M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1164:9): [True: 3.33M, False: 519k]
  ------------------
 1165|  3.33M|        PyObject *startkey = ep->me_key;
 1166|  3.33M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  3.33M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|  3.33M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  3.33M|#define Py_EQ 2
  ------------------
 1168|  3.33M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  3.33M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1169|  3.33M|        if (cmp < 0) {
  ------------------
  |  Branch (1169:13): [True: 0, False: 3.33M]
  ------------------
 1170|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1171|      0|        }
 1172|  3.33M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1172:13): [True: 3.33M, False: 0]
  |  Branch (1172:34): [True: 3.33M, False: 0]
  ------------------
 1173|  3.33M|            return cmp;
 1174|  3.33M|        }
 1175|      0|        else {
 1176|       |            /* The dict was mutated, restart */
 1177|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  187|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1178|      0|        }
 1179|  3.33M|    }
 1180|   519k|    return 0;
 1181|  3.85M|}
dictobject.c:dict_new_presized:
 2272|  3.76M|{
 2273|  3.76M|    const uint8_t log2_max_presize = 17;
 2274|  3.76M|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2275|  3.76M|    uint8_t log2_newsize;
 2276|  3.76M|    PyDictKeysObject *new_keys;
 2277|       |
 2278|  3.76M|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  575|  3.76M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2278:9): [True: 3.75M, False: 16.9k]
  ------------------
 2279|  3.75M|        return PyDict_New();
 2280|  3.75M|    }
 2281|       |    /* There are no strict guarantee that returned dict can contain minused
 2282|       |     * items without resize.  So we create medium size dict instead of very
 2283|       |     * large dict or MemoryError.
 2284|       |     */
 2285|  16.9k|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  575|  16.9k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2285:9): [True: 0, False: 16.9k]
  ------------------
 2286|      0|        log2_newsize = log2_max_presize;
 2287|      0|    }
 2288|  16.9k|    else {
 2289|  16.9k|        log2_newsize = estimate_log2_keysize(minused);
 2290|  16.9k|    }
 2291|       |
 2292|  16.9k|    new_keys = new_keys_object(log2_newsize, unicode);
 2293|  16.9k|    if (new_keys == NULL)
  ------------------
  |  Branch (2293:9): [True: 0, False: 16.9k]
  ------------------
 2294|      0|        return NULL;
 2295|  16.9k|    return new_dict(new_keys, NULL, 0, 0);
 2296|  16.9k|}
dictobject.c:estimate_log2_keysize:
  607|  16.9k|{
  608|  16.9k|    return calculate_log2_keysize((n*3 + 1) / 2);
  609|  16.9k|}
dictobject.c:calculate_log2_keysize:
  580|   111k|{
  581|   111k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  582|   111k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  115|   111k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 65.0k, False: 46.5k]
  |  |  ------------------
  ------------------
  583|   111k|    return _Py_bit_length(minsize - 1);
  584|       |#elif defined(_MSC_VER)
  585|       |    // On 64bit Windows, sizeof(long) == 4. We cannot use _Py_bit_length.
  586|       |    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  587|       |    unsigned long msb;
  588|       |    _BitScanReverse64(&msb, (uint64_t)minsize - 1);
  589|       |    return (uint8_t)(msb + 1);
  590|       |#else
  591|       |    uint8_t log2_size;
  592|       |    for (log2_size = PyDict_LOG_MINSIZE;
  593|       |            (((Py_ssize_t)1) << log2_size) < minsize;
  594|       |            log2_size++)
  595|       |        ;
  596|       |    return log2_size;
  597|       |#endif
  598|   111k|}
dictobject.c:dict_getitem:
 2354|  1.38k|{
 2355|  1.38k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  1.38k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.38k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.76k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.38k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2356|      0|        return NULL;
 2357|      0|    }
 2358|  1.38k|    PyDictObject *mp = (PyDictObject *)op;
 2359|       |
 2360|  1.38k|    Py_hash_t hash = _PyObject_HashFast(key);
 2361|  1.38k|    if (hash == -1) {
  ------------------
  |  Branch (2361:9): [True: 0, False: 1.38k]
  ------------------
 2362|      0|        PyErr_FormatUnraisable(warnmsg);
 2363|      0|        return NULL;
 2364|      0|    }
 2365|       |
 2366|  1.38k|    PyThreadState *tstate = _PyThreadState_GET();
 2367|       |#ifdef Py_DEBUG
 2368|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2369|       |    // with the GIL released.
 2370|       |    _Py_EnsureTstateNotNULL(tstate);
 2371|       |#endif
 2372|       |
 2373|       |    /* Preserve the existing exception */
 2374|  1.38k|    PyObject *value;
 2375|  1.38k|    Py_ssize_t ix; (void)ix;
 2376|       |
 2377|  1.38k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2378|       |#ifdef Py_GIL_DISABLED
 2379|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2380|       |    Py_XDECREF(value);
 2381|       |#else
 2382|  1.38k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2383|  1.38k|#endif
 2384|       |
 2385|       |    /* Ignore any exception raised by the lookup */
 2386|  1.38k|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2387|  1.38k|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 1.38k]
  |  Branch (2387:17): [True: 0, False: 0]
  ------------------
 2388|      0|        PyErr_FormatUnraisable(warnmsg);
 2389|      0|    }
 2390|  1.38k|    _PyErr_SetRaisedException(tstate, exc);
 2391|       |
 2392|       |    assert(ix >= 0 || value == NULL);
 2393|  1.38k|    return value;  // borrowed reference
 2394|  1.38k|}
dictobject.c:setitem_take2_lock_held:
 2749|  5.51M|{
 2750|  5.51M|    Py_hash_t hash = _PyObject_HashFast(key);
 2751|  5.51M|    if (hash == -1) {
  ------------------
  |  Branch (2751:9): [True: 0, False: 5.51M]
  ------------------
 2752|      0|        dict_unhashable_type((PyObject*)mp, key);
 2753|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|      0|        return -1;
 2756|      0|    }
 2757|       |
 2758|  5.51M|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2759|  5.51M|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2734|  5.51M|{
 2735|  5.51M|    assert(PyAnyDict_Check(mp));
 2736|  5.51M|    assert(can_modify_dict(mp));
 2737|  5.51M|    assert(key);
 2738|  5.51M|    assert(value);
 2739|       |
 2740|  5.51M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  5.51M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2740:9): [True: 2.19M, False: 3.31M]
  ------------------
 2741|  2.19M|        return insert_to_emptydict(mp, key, hash, value);
 2742|  2.19M|    }
 2743|       |    /* insertdict() handles any resizing that might be necessary */
 2744|  3.31M|    return insertdict(mp, key, hash, value);
 2745|  5.51M|}
dictobject.c:setitem_lock_held:
 2819|  3.64M|{
 2820|  3.64M|    assert(key);
 2821|  3.64M|    assert(value);
 2822|  3.64M|    return setitem_take2_lock_held(mp,
 2823|  3.64M|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.64M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.64M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|  3.64M|}
dictobject.c:insert_to_emptydict:
 2019|  2.21M|{
 2020|  2.21M|    assert(can_modify_dict(mp));
 2021|  2.21M|    assert(mp->ma_keys == Py_EMPTY_KEYS);
 2022|       |
 2023|  2.21M|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|  2.21M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.21M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|  2.21M|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|  2.21M|#define PyDict_LOG_MINSIZE 3
  ------------------
 2025|  2.21M|    if (newkeys == NULL) {
  ------------------
  |  Branch (2025:9): [True: 0, False: 2.21M]
  ------------------
 2026|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2027|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|      0|        return -1;
 2029|      0|    }
 2030|  2.21M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2031|       |
 2032|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2033|  2.21M|    assert(mp->ma_values == NULL);
 2034|       |
 2035|  2.21M|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|  2.21M|#define PyDict_MINSIZE 8
  ------------------
 2036|  2.21M|    dictkeys_set_index(newkeys, hashpos, 0);
 2037|  2.21M|    if (unicode) {
  ------------------
  |  Branch (2037:9): [True: 1.85M, False: 358k]
  ------------------
 2038|  1.85M|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2039|  1.85M|        ep->me_key = key;
 2040|  1.85M|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|  1.85M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.85M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2041|  1.85M|    }
 2042|   358k|    else {
 2043|   358k|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2044|   358k|        ep->me_key = key;
 2045|   358k|        ep->me_hash = hash;
 2046|   358k|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|   358k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   358k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2047|   358k|    }
 2048|  2.21M|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  2.21M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  2.21M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2049|  2.21M|    newkeys->dk_usable--;
 2050|  2.21M|    newkeys->dk_nentries++;
 2051|       |    // We store the keys last so no one can see them in a partially inconsistent
 2052|       |    // state so that we don't need to switch the keys to being shared yet for
 2053|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2054|       |    // set_keys here because the transition from empty to non-empty is safe
 2055|       |    // as the empty keys will never be freed.
 2056|  2.21M|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  164|  2.21M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2057|  2.21M|    return 0;
 2058|  2.21M|}
dictobject.c:dictkeys_set_index:
  538|  5.70M|{
  539|  5.70M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  260|  5.70M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  5.70M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  540|       |
  541|  5.70M|    assert(ix >= DKIX_DUMMY);
  542|  5.70M|    assert(keys->dk_version == 0);
  543|       |
  544|  5.70M|    if (log2size < 8) {
  ------------------
  |  Branch (544:9): [True: 5.48M, False: 211k]
  ------------------
  545|  5.48M|        assert(ix <= 0x7f);
  546|  5.48M|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  261|  5.48M|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  547|  5.48M|    }
  548|   211k|    else if (log2size < 16) {
  ------------------
  |  Branch (548:14): [True: 156k, False: 54.6k]
  ------------------
  549|   156k|        assert(ix <= 0x7fff);
  550|   156k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  261|   156k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  551|   156k|    }
  552|  54.6k|#if SIZEOF_VOID_P > 4
  553|  54.6k|    else if (log2size >= 32) {
  ------------------
  |  Branch (553:14): [True: 0, False: 54.6k]
  ------------------
  554|      0|        STORE_INDEX(keys, 64, i, ix);
  ------------------
  |  |  261|      0|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  555|      0|    }
  556|  54.6k|#endif
  557|  54.6k|    else {
  558|  54.6k|        assert(ix <= 0x7fffffff);
  559|  54.6k|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  261|  54.6k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  560|  54.6k|    }
  561|  5.70M|}
dictobject.c:insertdict:
 1948|  3.33M|{
 1949|  3.33M|    assert(can_modify_dict(mp));
 1950|       |
 1951|  3.33M|    PyObject *old_value = NULL;
 1952|  3.33M|    Py_ssize_t ix;
 1953|       |
 1954|  3.33M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  6.66M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 7.22k, False: 3.32M]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  7.22k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.22k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|  7.22k|        ix = insert_split_key(mp->ma_keys, key, hash);
 1956|  7.22k|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  184|  7.22k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1956:13): [True: 3.28k, False: 3.93k]
  ------------------
 1957|  3.28k|            _PyDict_InsertSplitValue(mp, key, value, ix);
 1958|  3.28k|            Py_DECREF(key);
  ------------------
  |  |  430|  3.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1959|  3.28k|            Py_DECREF(value);
  ------------------
  |  |  430|  3.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|  3.28k|            return 0;
 1961|  3.28k|        }
 1962|       |        // No space in shared keys. Go to insert_combined_dict() below.
 1963|  7.22k|    }
 1964|  3.32M|    else {
 1965|  3.32M|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 1966|  3.32M|        if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  3.32M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1966:13): [True: 0, False: 3.32M]
  ------------------
 1967|      0|            goto Fail;
 1968|  3.32M|    }
 1969|       |
 1970|  3.32M|    if (old_value == NULL) {
  ------------------
  |  Branch (1970:9): [True: 2.44M, False: 885k]
  ------------------
 1971|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 1972|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 1973|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 1974|       |        // may change generic table into Unicode table.
 1975|       |        //
 1976|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 1977|       |        // without value.
 1978|  2.44M|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (1978:13): [True: 0, False: 2.44M]
  ------------------
 1979|      0|            goto Fail;
 1980|      0|        }
 1981|  2.44M|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  2.44M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  2.44M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1982|  2.44M|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  2.44M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 1983|  2.44M|        return 0;
 1984|  2.44M|    }
 1985|       |
 1986|   885k|    if (old_value != value) {
  ------------------
  |  Branch (1986:9): [True: 877k, False: 8.00k]
  ------------------
 1987|   877k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 1988|   877k|        assert(old_value != NULL);
 1989|   877k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|   877k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 464k, False: 412k]
  |  |  ------------------
  ------------------
 1990|   464k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   464k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 464k]
  |  |  ------------------
  ------------------
 1991|      0|                STORE_SPLIT_VALUE(mp, ix, value);
  ------------------
  |  |  317|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1992|      0|            }
 1993|   464k|            else {
 1994|   464k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 1995|   464k|                STORE_VALUE(ep, value);
  ------------------
  |  |  316|   464k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   464k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1996|   464k|            }
 1997|   464k|        }
 1998|   412k|        else {
 1999|   412k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2000|   412k|            STORE_VALUE(ep, value);
  ------------------
  |  |  316|   412k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   412k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2001|   412k|        }
 2002|   877k|    }
 2003|   885k|    Py_XDECREF(old_value); /* which **CAN** re-enter (see issue #22653) */
  ------------------
  |  |  524|   885k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   885k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   885k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|   885k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|   885k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2005|   885k|    Py_DECREF(key);
  ------------------
  |  |  430|   885k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   885k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   885k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|   885k|    return 0;
 2007|       |
 2008|      0|Fail:
 2009|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      0|    return -1;
 2012|  3.32M|}
dictobject.c:insert_combined_dict:
 1844|  2.54M|{
 1845|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1846|       |    // we have to resize one more time to force general key kind.
 1847|  2.54M|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  282|  5.08M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 2.07M, False: 468k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  2.07M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.07M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1847:39): [True: 200, False: 2.07M]
  ------------------
 1848|    200|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1848:13): [True: 0, False: 200]
  ------------------
 1849|      0|            return -1;
 1850|    200|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
 1851|    200|    }
 1852|       |
 1853|  2.54M|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1853:9): [True: 94.4k, False: 2.44M]
  ------------------
 1854|       |        /* Need to resize. */
 1855|  94.4k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1855:13): [True: 0, False: 94.4k]
  ------------------
 1856|      0|            return -1;
 1857|      0|        }
 1858|  94.4k|    }
 1859|       |
 1860|  2.54M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1861|  2.54M|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  2.54M|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1862|       |
 1863|  2.54M|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1864|  2.54M|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1865|       |
 1866|  2.54M|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  2.54M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 2.07M, False: 468k]
  |  |  ------------------
  ------------------
 1867|  2.07M|        PyDictUnicodeEntry *ep;
 1868|  2.07M|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1869|  2.07M|        STORE_KEY(ep, key);
  ------------------
  |  |  315|  2.07M|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  2.07M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1870|  2.07M|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|  2.07M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  2.07M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1871|  2.07M|    }
 1872|   468k|    else {
 1873|   468k|        PyDictKeyEntry *ep;
 1874|   468k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1875|   468k|        STORE_KEY(ep, key);
  ------------------
  |  |  315|   468k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|   468k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1876|   468k|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|   468k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   468k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1877|   468k|        STORE_HASH(ep, hash);
  ------------------
  |  |  318|   468k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|   468k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1878|   468k|    }
 1879|  2.54M|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  319|  2.54M|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  2.54M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1880|  2.54M|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  320|  2.54M|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  2.54M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1881|       |    assert(mp->ma_keys->dk_usable >= 0);
 1882|  2.54M|    return 0;
 1883|  2.54M|}
dictobject.c:insertion_resize:
 1837|  94.6k|{
 1838|  94.6k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  622|  94.6k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1839|  94.6k|}
dictobject.c:dictresize:
 2121|  94.6k|{
 2122|  94.6k|    assert(can_modify_dict(mp));
 2123|       |
 2124|  94.6k|    PyDictKeysObject *oldkeys, *newkeys;
 2125|  94.6k|    PyDictValues *oldvalues;
 2126|       |
 2127|  94.6k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1859|  94.6k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2127:9): [True: 0, False: 94.6k]
  ------------------
 2128|      0|        PyErr_NoMemory();
 2129|      0|        return -1;
 2130|      0|    }
 2131|  94.6k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
 2132|       |
 2133|  94.6k|    oldkeys = mp->ma_keys;
 2134|  94.6k|    oldvalues = mp->ma_values;
 2135|       |
 2136|  94.6k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  282|  94.6k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2136:9): [True: 48.2k, False: 46.3k]
  ------------------
 2137|  48.2k|        unicode = 0;
 2138|  48.2k|    }
 2139|       |
 2140|  94.6k|    ensure_shared_on_resize(mp);
 2141|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2142|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2143|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2144|       |     */
 2145|       |
 2146|       |    /* Allocate a new table. */
 2147|  94.6k|    newkeys = new_keys_object(log2_newsize, unicode);
 2148|  94.6k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2148:9): [True: 0, False: 94.6k]
  ------------------
 2149|      0|        return -1;
 2150|      0|    }
 2151|       |    // New table must be large enough.
 2152|  94.6k|    assert(newkeys->dk_usable >= mp->ma_used);
 2153|       |
 2154|  94.6k|    Py_ssize_t numentries = mp->ma_used;
 2155|       |
 2156|  94.6k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2156:9): [True: 3.93k, False: 90.7k]
  ------------------
 2157|  3.93k|        LOCK_KEYS(oldkeys);
 2158|  3.93k|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2159|       |        /* Convert split table into new combined table.
 2160|       |         * We must incref keys; we can transfer values.
 2161|       |         */
 2162|  3.93k|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2162:13): [True: 0, False: 3.93k]
  ------------------
 2163|       |            // split -> generic
 2164|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2165|       |
 2166|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2166:36): [True: 0, False: 0]
  ------------------
 2167|      0|                int index = get_index_from_order(mp, i);
 2168|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2169|      0|                assert(oldvalues->values[index] != NULL);
 2170|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2172|      0|                newentries[i].me_value = oldvalues->values[index];
 2173|      0|            }
 2174|      0|            build_indices_generic(newkeys, newentries, numentries);
 2175|      0|        }
 2176|  3.93k|        else { // split -> combined unicode
 2177|  3.93k|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2178|       |
 2179|  3.93k|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2179:36): [True: 4, False: 3.93k]
  ------------------
 2180|      4|                int index = get_index_from_order(mp, i);
 2181|      4|                PyDictUnicodeEntry *ep = &oldentries[index];
 2182|      4|                assert(oldvalues->values[index] != NULL);
 2183|      4|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|      4|                newentries[i].me_value = oldvalues->values[index];
 2185|      4|            }
 2186|  3.93k|            build_indices_unicode(newkeys, newentries, numentries);
 2187|  3.93k|        }
 2188|  3.93k|        UNLOCK_KEYS(oldkeys);
 2189|  3.93k|        set_keys(mp, newkeys);
 2190|  3.93k|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  3.93k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2191|  3.93k|        set_values(mp, NULL);
 2192|  3.93k|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2192:13): [True: 3.93k, False: 0]
  ------------------
 2193|  3.93k|            assert(oldvalues->embedded == 1);
 2194|  3.93k|            assert(oldvalues->valid == 1);
 2195|  3.93k|            invalidate_and_clear_inline_values(oldvalues);
 2196|  3.93k|        }
 2197|      0|        else {
 2198|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2199|      0|        }
 2200|  3.93k|    }
 2201|  90.7k|    else {  // oldkeys is combined.
 2202|  90.7k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2202:13): [True: 48.2k, False: 42.4k]
  ------------------
 2203|       |            // generic -> generic
 2204|  48.2k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
 2205|  48.2k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2206|  48.2k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2207|  48.2k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2207:17): [True: 47.2k, False: 1.05k]
  ------------------
 2208|  47.2k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2209|  47.2k|            }
 2210|  1.05k|            else {
 2211|  1.05k|                PyDictKeyEntry *ep = oldentries;
 2212|  14.0k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2212:40): [True: 12.9k, False: 1.05k]
  ------------------
 2213|  39.4k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2213:28): [True: 26.5k, False: 12.9k]
  ------------------
 2214|  26.5k|                        ep++;
 2215|  12.9k|                    newentries[i] = *ep++;
 2216|  12.9k|                }
 2217|  1.05k|            }
 2218|  48.2k|            build_indices_generic(newkeys, newentries, numentries);
 2219|  48.2k|        }
 2220|  42.4k|        else {  // oldkeys is combined unicode
 2221|  42.4k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2222|  42.4k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2222:17): [True: 42.2k, False: 200]
  ------------------
 2223|  42.2k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2224|  42.2k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2224:21): [True: 41.4k, False: 743]
  |  Branch (2224:59): [True: 41.4k, False: 0]
  ------------------
 2225|  41.4k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2226|  41.4k|                }
 2227|    743|                else {
 2228|    743|                    PyDictUnicodeEntry *ep = oldentries;
 2229|  80.2k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2229:44): [True: 79.4k, False: 743]
  ------------------
 2230|  81.3k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2230:32): [True: 1.89k, False: 79.4k]
  ------------------
 2231|  1.89k|                            ep++;
 2232|  79.4k|                        newentries[i] = *ep++;
 2233|  79.4k|                    }
 2234|    743|                }
 2235|  42.2k|                build_indices_unicode(newkeys, newentries, numentries);
 2236|  42.2k|            }
 2237|    200|            else { // combined unicode -> generic
 2238|    200|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2239|    200|                PyDictUnicodeEntry *ep = oldentries;
 2240|  1.13k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2240:40): [True: 932, False: 200]
  ------------------
 2241|    932|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2241:28): [True: 0, False: 932]
  ------------------
 2242|      0|                        ep++;
 2243|    932|                    newentries[i].me_key = ep->me_key;
 2244|    932|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2245|    932|                    newentries[i].me_value = ep->me_value;
 2246|    932|                    ep++;
 2247|    932|                }
 2248|    200|                build_indices_generic(newkeys, newentries, numentries);
 2249|    200|            }
 2250|  42.4k|        }
 2251|       |
 2252|  90.7k|        set_keys(mp, newkeys);
 2253|       |
 2254|  90.7k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  90.7k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2254:13): [True: 90.7k, False: 0]
  ------------------
 2255|       |#ifdef Py_REF_DEBUG
 2256|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2257|       |#endif
 2258|  90.7k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
 2259|  90.7k|            assert(oldkeys->dk_refcnt == 1);
 2260|  90.7k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  90.7k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2261|  90.7k|        }
 2262|  90.7k|    }
 2263|       |
 2264|  94.6k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  319|  94.6k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  94.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2265|  94.6k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  320|  94.6k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  94.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2266|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  94.6k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2267|  94.6k|    return 0;
 2268|  94.6k|}
dictobject.c:ensure_shared_on_resize:
 1393|  1.42M|{
 1394|       |#ifdef Py_GIL_DISABLED
 1395|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1396|       |
 1397|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1398|       |        // We are writing to the dict from another thread that owns
 1399|       |        // it and we haven't marked it as shared which will ensure
 1400|       |        // that when we re-size ma_keys or ma_values that we will
 1401|       |        // free using QSBR.  We need to lock the dictionary to
 1402|       |        // contend with writes from the owning thread, mark it as
 1403|       |        // shared, and then we can continue with lock-free reads.
 1404|       |        // Technically this is a little heavy handed, we could just
 1405|       |        // free the individual old keys / old-values using qsbr
 1406|       |        SET_DICT_SHARED(mp);
 1407|       |    }
 1408|       |#endif
 1409|  1.42M|}
dictobject.c:build_indices_generic:
 2065|  48.4k|{
 2066|  48.4k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  48.4k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  48.4k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  48.4k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  48.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|   100k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2067:29): [True: 52.1k, False: 48.4k]
  ------------------
 2068|  52.1k|        Py_hash_t hash = ep->me_hash;
 2069|  52.1k|        size_t i = hash & mask;
 2070|  61.6k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  184|  61.6k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2070:37): [True: 9.46k, False: 52.1k]
  ------------------
 2071|  9.46k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  9.46k|#define PERTURB_SHIFT 5
  ------------------
 2072|  9.46k|            i = mask & (i*5 + perturb + 1);
 2073|  9.46k|        }
 2074|  52.1k|        dictkeys_set_index(keys, i, ix);
 2075|  52.1k|    }
 2076|  48.4k|}
dictobject.c:build_indices_unicode:
 2080|  46.1k|{
 2081|  46.1k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  46.1k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  46.1k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  46.1k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  46.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|   690k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2082:29): [True: 644k, False: 46.1k]
  ------------------
 2083|   644k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2084|   644k|        assert(hash != -1);
 2085|   644k|        size_t i = hash & mask;
 2086|   782k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  184|   782k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2086:37): [True: 138k, False: 644k]
  ------------------
 2087|   138k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|   138k|#define PERTURB_SHIFT 5
  ------------------
 2088|   138k|            i = mask & (i*5 + perturb + 1);
 2089|   138k|        }
 2090|   644k|        dictkeys_set_index(keys, i, ix);
 2091|   644k|    }
 2092|  46.1k|}
dictobject.c:set_values:
  277|  3.93k|{
  278|  3.93k|    mp->ma_values = values;
  279|  3.93k|}
dictobject.c:invalidate_and_clear_inline_values:
 2096|  3.94k|{
 2097|  3.94k|    assert(values->embedded);
 2098|  3.94k|    FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  155|  3.94k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 2099|   122k|    for (int i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (2099:21): [True: 118k, False: 3.94k]
  ------------------
 2100|   118k|        FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
  ------------------
  |  |  164|   118k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2101|   118k|    }
 2102|  3.94k|}
dictobject.c:free_keys_object:
  845|  3.65M|{
  846|       |#ifdef Py_GIL_DISABLED
  847|       |    if (use_qsbr) {
  848|       |        _PyMem_FreeDelayed(keys, _PyDict_KeysSize(keys));
  849|       |        return;
  850|       |    }
  851|       |#endif
  852|  3.65M|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  260|  3.65M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  3.65M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  7.31M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (852:9): [True: 3.59M, False: 65.1k]
  |  Branch (852:52): [True: 3.18M, False: 403k]
  ------------------
  853|  3.18M|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|  3.18M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  3.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  3.18M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|  3.18M|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  854|  3.18M|    }
  855|   469k|    else {
  856|   469k|        PyMem_Free(keys);
  857|   469k|    }
  858|  3.65M|}
dictobject.c:find_empty_slot:
 1821|  2.54M|{
 1822|  2.54M|    assert(keys != NULL);
 1823|       |
 1824|  2.54M|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  2.54M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  2.54M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  2.54M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  2.54M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1825|  2.54M|    size_t i = hash & mask;
 1826|  2.54M|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1827|  4.37M|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1827:33): [True: 1.82M, False: 2.54M]
  ------------------
 1828|  1.82M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  1.82M|#define PERTURB_SHIFT 5
  ------------------
 1829|  1.82M|        i = (i*5 + perturb + 1) & mask;
 1830|  1.82M|        ix = dictkeys_get_index(keys, i);
 1831|  1.82M|    }
 1832|  2.54M|    return i;
 1833|  2.54M|}
dictobject.c:is_unusable_slot:
 1808|  4.37M|{
 1809|       |#ifdef Py_GIL_DISABLED
 1810|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1811|       |#else
 1812|  4.37M|    return ix >= 0;
 1813|  4.37M|#endif
 1814|  4.37M|}
dictobject.c:delitem_common:
 2884|  34.9k|{
 2885|  34.9k|    assert(can_modify_dict(mp));
 2886|       |
 2887|  34.9k|    PyObject *old_key;
 2888|       |
 2889|  34.9k|    Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 2890|  34.9k|    assert(hashpos >= 0);
 2891|       |
 2892|  34.9k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  321|  34.9k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  34.9k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2893|  34.9k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  34.9k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 34.9k]
  |  |  ------------------
  ------------------
 2894|      0|        assert(old_value == mp->ma_values->values[ix]);
 2895|      0|        STORE_SPLIT_VALUE(mp, ix, NULL);
  ------------------
  |  |  317|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2896|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
 2897|       |        /* Update order */
 2898|      0|        delete_index_from_values(mp->ma_values, ix);
 2899|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2900|      0|    }
 2901|  34.9k|    else {
 2902|  34.9k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  34.9k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 2903|  34.9k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  185|  34.9k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 2904|  34.9k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  34.9k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 6.24k, False: 28.7k]
  |  |  ------------------
  ------------------
 2905|  6.24k|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2906|  6.24k|            old_key = ep->me_key;
 2907|  6.24k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  315|  6.24k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  6.24k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2908|  6.24k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  316|  6.24k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  6.24k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2909|  6.24k|        }
 2910|  28.7k|        else {
 2911|  28.7k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2912|  28.7k|            old_key = ep->me_key;
 2913|  28.7k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  315|  28.7k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  28.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2914|  28.7k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  316|  28.7k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  28.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2915|  28.7k|            STORE_HASH(ep, 0);
  ------------------
  |  |  318|  28.7k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|  28.7k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2916|  28.7k|        }
 2917|  34.9k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  34.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2918|  34.9k|    }
 2919|  34.9k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  34.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2920|       |
 2921|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  34.9k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2922|  34.9k|}
dictobject.c:lookdict_index:
 1036|   245k|{
 1037|   245k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  452|   245k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|   245k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|   245k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|   245k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|   245k|    size_t perturb = (size_t)hash;
 1039|   245k|    size_t i = (size_t)hash & mask;
 1040|       |
 1041|   256k|    for (;;) {
 1042|   256k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1043|   256k|        if (ix == index) {
  ------------------
  |  Branch (1043:13): [True: 245k, False: 10.3k]
  ------------------
 1044|   245k|            return i;
 1045|   245k|        }
 1046|  10.3k|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  10.3k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1046:13): [True: 0, False: 10.3k]
  ------------------
 1047|      0|            return DKIX_EMPTY;
  ------------------
  |  |  184|      0|#define DKIX_EMPTY (-1)
  ------------------
 1048|      0|        }
 1049|  10.3k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  10.3k|#define PERTURB_SHIFT 5
  ------------------
 1050|  10.3k|        i = mask & (i*5 + perturb + 1);
 1051|  10.3k|    }
 1052|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1053|   245k|}
dictobject.c:delete_index_from_values:
 2865|  70.3k|{
 2866|  70.3k|    uint8_t *array = get_insertion_order_array(values);
 2867|  70.3k|    int size = values->size;
 2868|  70.3k|    assert(size <= values->capacity);
 2869|  70.3k|    int i;
 2870|   187k|    for (i = 0; array[i] != ix; i++) {
  ------------------
  |  Branch (2870:17): [True: 117k, False: 70.3k]
  ------------------
 2871|   117k|        assert(i < size);
 2872|   117k|    }
 2873|  70.3k|    assert(i < size);
 2874|  70.3k|    size--;
 2875|   164k|    for (; i < size; i++) {
  ------------------
  |  Branch (2875:12): [True: 93.7k, False: 70.3k]
  ------------------
 2876|  93.7k|        array[i] = array[i+1];
 2877|  93.7k|    }
 2878|  70.3k|    values->size = size;
 2879|  70.3k|}
dictobject.c:delitemif_lock_held:
 2984|  1.57k|{
 2985|  1.57k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  311|  1.57k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2986|  1.57k|    assert(can_modify_dict(mp));
 2987|       |
 2988|  1.57k|    Py_ssize_t ix;
 2989|  1.57k|    Py_hash_t hash;
 2990|  1.57k|    PyObject *old_value;
 2991|  1.57k|    int res;
 2992|       |
 2993|  1.57k|    assert(key);
 2994|  1.57k|    hash = PyObject_Hash(key);
 2995|  1.57k|    if (hash == -1)
  ------------------
  |  Branch (2995:9): [True: 0, False: 1.57k]
  ------------------
 2996|      0|        return -1;
 2997|  1.57k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2998|  1.57k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  1.57k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2998:9): [True: 0, False: 1.57k]
  ------------------
 2999|      0|        return -1;
 3000|      0|    }
 3001|  1.57k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  3.15k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3001:9): [True: 0, False: 1.57k]
  |  Branch (3001:29): [True: 0, False: 1.57k]
  ------------------
 3002|      0|        return 0;
 3003|      0|    }
 3004|       |
 3005|  1.57k|    res = predicate(old_value, arg);
 3006|  1.57k|    if (res == -1)
  ------------------
  |  Branch (3006:9): [True: 0, False: 1.57k]
  ------------------
 3007|      0|        return -1;
 3008|       |
 3009|  1.57k|    if (res > 0) {
  ------------------
  |  Branch (3009:9): [True: 1.57k, False: 0]
  ------------------
 3010|  1.57k|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3011|  1.57k|        delitem_common(mp, hash, ix, old_value);
 3012|  1.57k|        return 1;
 3013|  1.57k|    } else {
 3014|      0|        return 0;
 3015|      0|    }
 3016|  1.57k|}
dictobject.c:clear_lock_held:
 3052|  4.06k|{
 3053|  4.06k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  4.06k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.06k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3053:9): [True: 0, False: 4.06k]
  ------------------
 3054|      0|        return;
 3055|      0|    }
 3056|  4.06k|    PyDictObject *mp = (PyDictObject *)op;
 3057|  4.06k|    assert(can_modify_dict(mp));
 3058|       |
 3059|  4.06k|    PyDictKeysObject *oldkeys;
 3060|  4.06k|    PyDictValues *oldvalues;
 3061|  4.06k|    Py_ssize_t i, n;
 3062|       |
 3063|  4.06k|    oldkeys = mp->ma_keys;
 3064|  4.06k|    oldvalues = mp->ma_values;
 3065|  4.06k|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  4.06k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3065:9): [True: 52, False: 4.00k]
  ------------------
 3066|     52|        return;
 3067|     52|    }
 3068|       |    /* Empty the dict... */
 3069|  4.00k|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3070|       |    // We don't inc ref empty keys because they're immortal
 3071|  4.00k|    ensure_shared_on_resize(mp);
 3072|  4.00k|    STORE_USED(mp, 0);
  ------------------
  |  |  321|  4.00k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  4.00k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3073|  4.00k|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3073:9): [True: 4.00k, False: 0]
  ------------------
 3074|  4.00k|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  645|  4.00k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3075|  4.00k|        assert(oldkeys->dk_refcnt == 1);
 3076|  4.00k|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  4.00k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3077|  4.00k|    }
 3078|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3078:14): [True: 0, False: 0]
  ------------------
 3079|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3080|      0|    }
 3081|      0|    else {
 3082|      0|        set_values(mp, NULL);
 3083|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  645|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3084|      0|        n = oldkeys->dk_nentries;
 3085|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3085:21): [True: 0, False: 0]
  ------------------
 3086|      0|            PyObject *tmp = oldvalues->values[i];
 3087|      0|            FT_ATOMIC_STORE_PTR_RELEASE(oldvalues->values[i], NULL);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3088|      0|            Py_XDECREF(tmp);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3089|      0|        }
 3090|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3091|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3092|      0|    }
 3093|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  4.00k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 3094|  4.00k|}
dictobject.c:pop_lock_held:
 3249|  2.15k|{
 3250|  2.15k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  2.15k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.15k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3250:9): [True: 0, False: 2.15k]
  ------------------
 3251|      0|        if (result) {
  ------------------
  |  Branch (3251:13): [True: 0, False: 0]
  ------------------
 3252|      0|            *result = NULL;
 3253|      0|        }
 3254|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3255|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 3256|      0|        }
 3257|      0|        else {
 3258|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3259|      0|        }
 3260|      0|        return -1;
 3261|      0|    }
 3262|  2.15k|    PyDictObject *dict = (PyDictObject *)op;
 3263|  2.15k|    assert(can_modify_dict(dict));
 3264|       |
 3265|  2.15k|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3265:9): [True: 4, False: 2.15k]
  ------------------
 3266|      4|        if (result) {
  ------------------
  |  Branch (3266:13): [True: 4, False: 0]
  ------------------
 3267|      4|            *result = NULL;
 3268|      4|        }
 3269|      4|        return 0;
 3270|      4|    }
 3271|       |
 3272|  2.15k|    Py_hash_t hash = _PyObject_HashFast(key);
 3273|  2.15k|    if (hash == -1) {
  ------------------
  |  Branch (3273:9): [True: 0, False: 2.15k]
  ------------------
 3274|      0|        dict_unhashable_type(op, key);
 3275|      0|        if (result) {
  ------------------
  |  Branch (3275:13): [True: 0, False: 0]
  ------------------
 3276|      0|            *result = NULL;
 3277|      0|        }
 3278|      0|        return -1;
 3279|      0|    }
 3280|  2.15k|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3281|  2.15k|}
dictobject.c:dict_pop_default:
 3314|  1.20k|{
 3315|  1.20k|    PyObject *result;
 3316|  1.20k|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3316:9): [True: 352, False: 848]
  ------------------
 3317|    352|        if (default_value != NULL) {
  ------------------
  |  Branch (3317:13): [True: 352, False: 0]
  ------------------
 3318|    352|            return Py_NewRef(default_value);
  ------------------
  |  |  550|    352|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3319|    352|        }
 3320|      0|        _PyErr_SetKeyError(key);
 3321|      0|        return NULL;
 3322|    352|    }
 3323|    848|    return result;
 3324|  1.20k|}
dictobject.c:keys_lock_held:
 3735|  1.51k|{
 3736|  1.51k|    ASSERT_DICT_LOCKED(dict);
 3737|       |
 3738|  1.51k|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|  1.51k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.51k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.51k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3738:9): [True: 0, False: 1.51k]
  ------------------
 3739|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3740|      0|        return NULL;
 3741|      0|    }
 3742|  1.51k|    PyDictObject *mp = (PyDictObject *)dict;
 3743|  1.51k|    PyObject *v;
 3744|  1.51k|    Py_ssize_t n;
 3745|       |
 3746|  1.51k|  again:
 3747|  1.51k|    n = mp->ma_used;
 3748|  1.51k|    v = PyList_New(n);
 3749|  1.51k|    if (v == NULL)
  ------------------
  |  Branch (3749:9): [True: 0, False: 1.51k]
  ------------------
 3750|      0|        return NULL;
 3751|  1.51k|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 1.51k]
  ------------------
 3752|       |        /* Durnit.  The allocations caused the dict to resize.
 3753|       |         * Just start over, this shouldn't normally happen.
 3754|       |         */
 3755|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3756|      0|        goto again;
 3757|      0|    }
 3758|       |
 3759|       |    /* Nothing we do below makes any function calls. */
 3760|  1.51k|    Py_ssize_t j = 0, pos = 0;
 3761|  1.51k|    PyObject *key;
 3762|  12.9k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3762:12): [True: 11.3k, False: 1.51k]
  ------------------
 3763|  11.3k|        assert(j < n);
 3764|  11.3k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|  11.3k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3765|  11.3k|        j++;
 3766|  11.3k|    }
 3767|       |    assert(j == n);
 3768|  1.51k|    return v;
 3769|  1.51k|}
dictobject.c:dict_merge_from_seq2:
 4061|     88|{
 4062|     88|    int res;
 4063|     88|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     88|    {
  ------------------
 4064|     88|    res = merge_from_seq2_lock_held(d, seq2, override);
 4065|     88|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     88|    }
  ------------------
 4066|       |
 4067|     88|    return res;
 4068|     88|}
dictobject.c:merge_from_seq2_lock_held:
 3975|     88|{
 3976|     88|    PyObject *it;       /* iter(seq2) */
 3977|     88|    Py_ssize_t i;       /* index into seq2 of current element */
 3978|     88|    PyObject *item;     /* seq2[i] */
 3979|     88|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 3980|       |
 3981|     88|    assert(d != NULL);
 3982|     88|    assert(PyAnyDict_Check(d));
 3983|     88|    assert(seq2 != NULL);
 3984|       |
 3985|     88|    it = PyObject_GetIter(seq2);
 3986|     88|    if (it == NULL)
  ------------------
  |  Branch (3986:9): [True: 0, False: 88]
  ------------------
 3987|      0|        return -1;
 3988|       |
 3989|    926|    for (i = 0; ; ++i) {
 3990|    926|        PyObject *key, *value;
 3991|    926|        Py_ssize_t n;
 3992|       |
 3993|    926|        fast = NULL;
 3994|    926|        item = PyIter_Next(it);
 3995|    926|        if (item == NULL) {
  ------------------
  |  Branch (3995:13): [True: 88, False: 838]
  ------------------
 3996|     88|            if (PyErr_Occurred())
  ------------------
  |  Branch (3996:17): [True: 0, False: 88]
  ------------------
 3997|      0|                goto Fail;
 3998|     88|            break;
 3999|     88|        }
 4000|       |
 4001|       |        /* Convert item to sequence, and verify length 2. */
 4002|    838|        fast = PySequence_Fast(item, "object is not iterable");
 4003|    838|        if (fast == NULL) {
  ------------------
  |  Branch (4003:13): [True: 0, False: 838]
  ------------------
 4004|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (4004:17): [True: 0, False: 0]
  ------------------
 4005|      0|                _PyErr_FormatNote(
 4006|      0|                    "Cannot convert dictionary update "
 4007|      0|                    "sequence element #%zd to a sequence",
 4008|      0|                    i);
 4009|      0|            }
 4010|      0|            goto Fail;
 4011|      0|        }
 4012|    838|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    838|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    838|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    838|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 60, False: 778]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     60|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    778|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    778|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    778|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4013|    838|        if (n != 2) {
  ------------------
  |  Branch (4013:13): [True: 0, False: 838]
  ------------------
 4014|      0|            PyErr_Format(PyExc_ValueError,
 4015|      0|                         "dictionary update sequence element #%zd "
 4016|      0|                         "has length %zd; 2 is required",
 4017|      0|                         i, n);
 4018|      0|            goto Fail;
 4019|      0|        }
 4020|       |
 4021|       |        /* Update/merge with this (key, value) pair. */
 4022|    838|        key = PySequence_Fast_GET_ITEM(fast, 0);
  ------------------
  |  |   97|    838|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    838|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    838|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 60, False: 778]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|     60|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     60|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|    778|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    778|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    778|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|    838|        value = PySequence_Fast_GET_ITEM(fast, 1);
  ------------------
  |  |   97|    838|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    838|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    838|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 60, False: 778]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|     60|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     60|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|    778|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    778|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    778|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4024|    838|        Py_INCREF(key);
  ------------------
  |  |  310|    838|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4025|    838|        Py_INCREF(value);
  ------------------
  |  |  310|    838|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|    838|        if (override) {
  ------------------
  |  Branch (4026:13): [True: 838, False: 0]
  ------------------
 4027|    838|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4027:17): [True: 0, False: 838]
  ------------------
 4028|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4029|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4030|      0|                goto Fail;
 4031|      0|            }
 4032|    838|        }
 4033|      0|        else {
 4034|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4034:17): [True: 0, False: 0]
  ------------------
 4035|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4037|      0|                goto Fail;
 4038|      0|            }
 4039|      0|        }
 4040|       |
 4041|    838|        Py_DECREF(key);
  ------------------
  |  |  430|    838|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|    838|        Py_DECREF(value);
  ------------------
  |  |  430|    838|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4043|    838|        Py_DECREF(fast);
  ------------------
  |  |  430|    838|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4044|    838|        Py_DECREF(item);
  ------------------
  |  |  430|    838|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4045|    838|    }
 4046|       |
 4047|     88|    i = 0;
 4048|     88|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  653|     88|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4049|     88|    goto Return;
 4050|      0|Fail:
 4051|      0|    Py_XDECREF(item);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|      0|    Py_XDECREF(fast);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|    i = -1;
 4054|     88|Return:
 4055|     88|    Py_DECREF(it);
  ------------------
  |  |  430|     88|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|     88|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|     88|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     88|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4057|      0|}
dictobject.c:dict_merge:
 4185|  1.38M|{
 4186|  1.38M|    assert(a != NULL);
 4187|  1.38M|    assert(b != NULL);
 4188|  1.38M|    assert(0 <= override && override <= 2);
 4189|       |
 4190|  1.38M|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  311|  1.38M|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4191|  1.38M|    int res = 0;
 4192|  1.38M|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|  2.76M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.38M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.76M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.38M, False: 148]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|    148|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    148|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2, False: 146]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |  213|  1.38M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4192:31): [True: 1.38M, False: 0]
  ------------------
 4193|  1.38M|        PyDictObject *other = (PyDictObject*)b;
 4194|  1.38M|        int res;
 4195|  1.38M|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  1.38M|    {
  ------------------
 4196|  1.38M|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4197|  1.38M|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  653|  1.38M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4198|  1.38M|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.38M|    }
  ------------------
 4199|  1.38M|        return res;
 4200|  1.38M|    }
 4201|    146|    else {
 4202|       |        /* Do it the generic, slower way */
 4203|    146|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|    146|    {
  ------------------
 4204|    146|        PyObject *keys = PyMapping_Keys(b);
 4205|    146|        PyObject *iter;
 4206|    146|        PyObject *key, *value;
 4207|    146|        int status;
 4208|       |
 4209|    146|        if (keys == NULL) {
  ------------------
  |  Branch (4209:13): [True: 0, False: 146]
  ------------------
 4210|       |            /* Docstring says this is equivalent to E.keys() so
 4211|       |             * if E doesn't have a .keys() method we want
 4212|       |             * AttributeError to percolate up.  Might as well
 4213|       |             * do the same for any other error.
 4214|       |             */
 4215|      0|            res = -1;
 4216|      0|            goto slow_exit;
 4217|      0|        }
 4218|       |
 4219|    146|        iter = PyObject_GetIter(keys);
 4220|    146|        Py_DECREF(keys);
  ------------------
  |  |  430|    146|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4221|    146|        if (iter == NULL) {
  ------------------
  |  Branch (4221:13): [True: 0, False: 146]
  ------------------
 4222|      0|            res = -1;
 4223|      0|            goto slow_exit;
 4224|      0|        }
 4225|       |
 4226|  3.28k|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4226:39): [True: 3.13k, False: 146]
  ------------------
 4227|  3.13k|            if (override != 1) {
  ------------------
  |  Branch (4227:17): [True: 0, False: 3.13k]
  ------------------
 4228|      0|                status = dict_contains(a, key);
 4229|      0|                if (status != 0) {
  ------------------
  |  Branch (4229:21): [True: 0, False: 0]
  ------------------
 4230|      0|                    if (status > 0) {
  ------------------
  |  Branch (4230:25): [True: 0, False: 0]
  ------------------
 4231|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4231:29): [True: 0, False: 0]
  ------------------
 4232|      0|                            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      0|                            continue;
 4234|      0|                        }
 4235|      0|                        *dupkey = key;
 4236|      0|                        res = -2;
 4237|      0|                    }
 4238|      0|                    else {
 4239|      0|                        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      0|                        res = -1;
 4241|      0|                    }
 4242|      0|                    Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4243|      0|                    goto slow_exit;
 4244|      0|                }
 4245|      0|            }
 4246|  3.13k|            value = PyObject_GetItem(b, key);
 4247|  3.13k|            if (value == NULL) {
  ------------------
  |  Branch (4247:17): [True: 0, False: 3.13k]
  ------------------
 4248|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4250|      0|                res = -1;
 4251|      0|                goto slow_exit;
 4252|      0|            }
 4253|  3.13k|            status = setitem_lock_held(mp, key, value);
 4254|  3.13k|            Py_DECREF(key);
  ------------------
  |  |  430|  3.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|  3.13k|            Py_DECREF(value);
  ------------------
  |  |  430|  3.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|  3.13k|            if (status < 0) {
  ------------------
  |  Branch (4256:17): [True: 0, False: 3.13k]
  ------------------
 4257|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|      0|                res = -1;
 4259|      0|                goto slow_exit;
 4260|      0|                return -1;
 4261|      0|            }
 4262|  3.13k|        }
 4263|    146|        Py_DECREF(iter);
  ------------------
  |  |  430|    146|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|    146|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4264:13): [True: 0, False: 146]
  ------------------
 4265|       |            /* Iterator completed, via error */
 4266|      0|            res = -1;
 4267|      0|            goto slow_exit;
 4268|      0|        }
 4269|       |
 4270|    146|slow_exit:
 4271|    146|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  653|    146|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4272|    146|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    146|    }
  ------------------
 4273|    146|        return res;
 4274|    146|    }
 4275|  1.38M|}
dictobject.c:dict_dict_merge:
 4090|  1.38M|{
 4091|  1.38M|    assert(can_modify_dict(mp));
 4092|  1.38M|    ASSERT_DICT_LOCKED(other);
 4093|       |
 4094|  1.38M|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4094:9): [True: 0, False: 1.38M]
  |  Branch (4094:24): [True: 49.4k, False: 1.33M]
  ------------------
 4095|       |        /* a.update(a) or a.update({}); nothing to do */
 4096|  49.4k|        return 0;
 4097|  1.33M|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4097:9): [True: 1.33M, False: 452]
  ------------------
 4098|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4099|       |         * always returns 0.  Setting override to 1
 4100|       |         * skips the unnecessary test.
 4101|       |         */
 4102|  1.33M|        override = 1;
 4103|  1.33M|        PyDictKeysObject *okeys = other->ma_keys;
 4104|       |
 4105|       |        // If other is clean, combined, and just allocated, just clone it.
 4106|  1.33M|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4106:13): [True: 1.33M, False: 8]
  ------------------
 4107|  1.33M|            other->ma_values == NULL &&
  ------------------
  |  Branch (4107:13): [True: 1.33M, False: 0]
  ------------------
 4108|  1.33M|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4108:13): [True: 1.33M, False: 0]
  ------------------
 4109|  1.33M|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  260|  1.33M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  1.33M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|  2.66M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4109:14): [True: 1.32M, False: 200]
  ------------------
 4110|    200|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  575|    200|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4110:14): [True: 200, False: 0]
  ------------------
 4111|  1.33M|        ) {
 4112|  1.33M|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4113|  1.33M|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4114|  1.33M|            if (keys == NULL)
  ------------------
  |  Branch (4114:17): [True: 0, False: 1.33M]
  ------------------
 4115|      0|                return -1;
 4116|       |
 4117|  1.33M|            ensure_shared_on_resize(mp);
 4118|  1.33M|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  1.33M|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4119|  1.33M|            set_keys(mp, keys);
 4120|  1.33M|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  321|  1.33M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  1.33M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4121|  1.33M|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  1.33M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4122|       |
 4123|  1.33M|            if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)) {
  ------------------
  |  |   81|  2.66M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 1.33M, False: 0]
  |  |  ------------------
  ------------------
                          if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)) {
  ------------------
  |  |   81|  1.33M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4123:51): [True: 0, False: 1.33M]
  ------------------
 4124|       |                /* Maintain tracking. */
 4125|      0|                _PyObject_GC_TRACK(mp);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|      0|            }
 4127|       |
 4128|  1.33M|            return 0;
 4129|  1.33M|        }
 4130|  1.33M|    }
 4131|       |    /* Do one big resize at the start, rather than
 4132|       |        * incrementally resizing as we insert new items.  Expect
 4133|       |        * that there will be no (or few) overlapping keys.
 4134|       |        */
 4135|    460|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  575|    460|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4135:9): [True: 2, False: 458]
  ------------------
 4136|      2|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  282|      2|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4137|      2|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4137:13): [True: 0, False: 2]
  ------------------
 4138|      2|                        unicode)) {
 4139|      0|            return -1;
 4140|      0|        }
 4141|      2|    }
 4142|       |
 4143|    460|    Py_ssize_t orig_size = other->ma_used;
 4144|    460|    Py_ssize_t pos = 0;
 4145|    460|    Py_hash_t hash;
 4146|    460|    PyObject *key, *value;
 4147|       |
 4148|  6.75k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4148:12): [True: 6.29k, False: 460]
  ------------------
 4149|  6.29k|        int err = 0;
 4150|  6.29k|        Py_INCREF(key);
  ------------------
  |  |  310|  6.29k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4151|  6.29k|        Py_INCREF(value);
  ------------------
  |  |  310|  6.29k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4152|  6.29k|        if (override == 1) {
  ------------------
  |  Branch (4152:13): [True: 6.28k, False: 4]
  ------------------
 4153|  6.28k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  6.28k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  6.28k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4154|  6.28k|        }
 4155|      4|        else {
 4156|      4|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4157|      4|            if (err == 0) {
  ------------------
  |  Branch (4157:17): [True: 4, False: 0]
  ------------------
 4158|      4|                err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4159|      4|            }
 4160|      0|            else if (err > 0) {
  ------------------
  |  Branch (4160:22): [True: 0, False: 0]
  ------------------
 4161|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4161:21): [True: 0, False: 0]
  ------------------
 4162|      0|                    *dupkey = key;
 4163|      0|                    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|      0|                    return -2;
 4165|      0|                }
 4166|      0|                err = 0;
 4167|      0|            }
 4168|      4|        }
 4169|  6.29k|        Py_DECREF(value);
  ------------------
  |  |  430|  6.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|  6.29k|        Py_DECREF(key);
  ------------------
  |  |  430|  6.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4171|  6.29k|        if (err != 0)
  ------------------
  |  Branch (4171:13): [True: 0, False: 6.29k]
  ------------------
 4172|      0|            return -1;
 4173|       |
 4174|  6.29k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4174:13): [True: 0, False: 6.29k]
  ------------------
 4175|      0|            PyErr_SetString(PyExc_RuntimeError,
 4176|      0|                    "dict mutated during update");
 4177|      0|            return -1;
 4178|      0|        }
 4179|  6.29k|    }
 4180|    460|    return 0;
 4181|    460|}
dictobject.c:clone_combined_dict_keys:
  967|  1.34M|{
  968|  1.34M|    assert(PyAnyDict_Check(orig));
  969|  1.34M|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  970|  1.34M|    assert(orig->ma_values == NULL);
  971|  1.34M|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  972|  1.34M|    assert(orig->ma_keys->dk_refcnt == 1);
  973|       |
  974|  1.34M|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|  1.34M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.34M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (974:9): [True: 1.34M, False: 2]
  ------------------
  975|  1.34M|        ASSERT_DICT_LOCKED(orig);
  976|  1.34M|    }
  977|       |
  978|  1.34M|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
  979|  1.34M|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
  980|  1.34M|    if (keys == NULL) {
  ------------------
  |  Branch (980:9): [True: 0, False: 1.34M]
  ------------------
  981|      0|        PyErr_NoMemory();
  982|      0|        return NULL;
  983|      0|    }
  984|       |
  985|  1.34M|    memcpy(keys, orig->ma_keys, keys_size);
  986|       |
  987|       |    /* After copying key/value pairs, we need to incref all
  988|       |       keys and values and they are about to be co-owned by a
  989|       |       new dict object. */
  990|  1.34M|    PyObject **pkey, **pvalue;
  991|  1.34M|    size_t offs;
  992|  1.34M|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  282|  1.34M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 1.33M, False: 3.90k]
  |  |  ------------------
  ------------------
  993|  1.33M|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
  994|  1.33M|        pkey = &ep0->me_key;
  995|  1.33M|        pvalue = &ep0->me_value;
  996|  1.33M|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
  997|  1.33M|    }
  998|  3.90k|    else {
  999|  3.90k|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1000|  3.90k|        pkey = &ep0->me_key;
 1001|  3.90k|        pvalue = &ep0->me_value;
 1002|  3.90k|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1003|  3.90k|    }
 1004|       |
 1005|  1.34M|    Py_ssize_t n = keys->dk_nentries;
 1006|  3.22M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1006:28): [True: 1.88M, False: 1.34M]
  ------------------
 1007|  1.88M|        PyObject *value = *pvalue;
 1008|  1.88M|        if (value != NULL) {
  ------------------
  |  Branch (1008:13): [True: 1.88M, False: 3.78k]
  ------------------
 1009|  1.88M|            Py_INCREF(value);
  ------------------
  |  |  310|  1.88M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|  1.88M|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  1.88M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|  1.88M|        }
 1012|  1.88M|        pvalue += offs;
 1013|  1.88M|        pkey += offs;
 1014|  1.88M|    }
 1015|       |
 1016|       |    /* Since we copied the keys table we now have an extra reference
 1017|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1018|       |       we have it now; calling dictkeys_incref would be an error as
 1019|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1020|       |#ifdef Py_REF_DEBUG
 1021|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1022|       |#endif
 1023|  1.34M|    return keys;
 1024|  1.34M|}
dictobject.c:dict_merge_api:
 4279|  1.36M|{
 4280|       |    /* We accept for the argument either a concrete dictionary object,
 4281|       |     * or an abstract "mapping" object.  For the former, we can do
 4282|       |     * things quite efficiently.  For the latter, we only require that
 4283|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4284|       |     */
 4285|  1.36M|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|  1.36M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.73M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4285:9): [True: 0, False: 1.36M]
  |  Branch (4285:22): [True: 0, False: 1.36M]
  |  Branch (4285:42): [True: 0, False: 1.36M]
  ------------------
 4286|      0|        if (a != NULL && PyFrozenDict_Check(a)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4286:13): [True: 0, False: 0]
  ------------------
 4287|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 4288|      0|        }
 4289|      0|        else {
 4290|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4291|      0|        }
 4292|      0|        return -1;
 4293|      0|    }
 4294|  1.36M|    return dict_merge(a, b, override, dupkey);
 4295|  1.36M|}
dictobject.c:copy_lock_held:
 4352|  14.7k|{
 4353|  14.7k|    PyObject *copy;
 4354|  14.7k|    PyDictObject *mp;
 4355|       |
 4356|       |    // frozendict is immutable and so doesn't need critical section
 4357|  14.7k|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  14.7k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  14.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4357:9): [True: 14.7k, False: 0]
  ------------------
 4358|  14.7k|        ASSERT_DICT_LOCKED(o);
 4359|  14.7k|    }
 4360|       |
 4361|  14.7k|    mp = (PyDictObject *)o;
 4362|  14.7k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4362:9): [True: 4.06k, False: 10.6k]
  ------------------
 4363|       |        /* The dict is empty; just return a new dict. */
 4364|  4.06k|        if (as_frozendict) {
  ------------------
  |  Branch (4364:13): [True: 0, False: 4.06k]
  ------------------
 4365|      0|            return PyFrozenDict_New(NULL);
 4366|      0|        }
 4367|  4.06k|        else {
 4368|  4.06k|            return PyDict_New();
 4369|  4.06k|        }
 4370|  4.06k|    }
 4371|       |
 4372|  10.6k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  10.6k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 10.6k]
  |  |  ------------------
  ------------------
 4373|      0|        PyDictObject *split_copy;
 4374|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4375|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4375:13): [True: 0, False: 0]
  ------------------
 4376|      0|            return PyErr_NoMemory();
 4377|      0|        }
 4378|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4378:13): [True: 0, False: 0]
  ------------------
 4379|      0|            split_copy = (PyDictObject *)PyObject_GC_New(PyFrozenDictObject,
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4380|      0|                                                         &PyFrozenDict_Type);
 4381|      0|        }
 4382|      0|        else {
 4383|      0|            split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4384|      0|        }
 4385|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4385:13): [True: 0, False: 0]
  ------------------
 4386|      0|            free_values(newvalues, false);
 4387|      0|            return NULL;
 4388|      0|        }
 4389|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4389:28): [True: 0, False: 0]
  ------------------
 4390|      0|            Py_XINCREF(newvalues->values[i]);
  ------------------
  |  |  514|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4391|      0|        }
 4392|      0|        split_copy->ma_values = newvalues;
 4393|      0|        split_copy->ma_keys = mp->ma_keys;
 4394|      0|        split_copy->ma_used = mp->ma_used;
 4395|      0|        split_copy->_ma_watcher_tag = 0;
 4396|      0|        dictkeys_incref(mp->ma_keys);
 4397|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4397:13): [True: 0, False: 0]
  ------------------
 4398|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4399|      0|            frozen->ma_hash = -1;
 4400|      0|        }
 4401|      0|        _PyObject_GC_TRACK(split_copy);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4402|      0|        return (PyObject *)split_copy;
 4403|      0|    }
 4404|       |
 4405|  10.6k|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|  10.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4405:9): [True: 10.6k, False: 0]
  ------------------
 4406|  10.6k|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4406:13): [True: 10.6k, False: 0]
  ------------------
 4407|  10.6k|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4407:13): [True: 10.6k, False: 0]
  ------------------
 4408|  10.6k|    {
 4409|       |        /* Use fast-copy if:
 4410|       |
 4411|       |           (1) type(mp) doesn't override tp_iter; and
 4412|       |
 4413|       |           (2) 'mp' is not a split-dict; and
 4414|       |
 4415|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4416|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4417|       |
 4418|       |           The last condition (3) is important to guard against a pathological
 4419|       |           case when a large dict is almost emptied with multiple del/pop
 4420|       |           operations and copied after that.  In cases like this, we defer to
 4421|       |           PyDict_Merge, which produces a compacted copy.
 4422|       |        */
 4423|  10.6k|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4424|  10.6k|        if (keys == NULL) {
  ------------------
  |  Branch (4424:13): [True: 0, False: 10.6k]
  ------------------
 4425|      0|            return NULL;
 4426|      0|        }
 4427|  10.6k|        PyDictObject *new;
 4428|  10.6k|        if (as_frozendict) {
  ------------------
  |  Branch (4428:13): [True: 0, False: 10.6k]
  ------------------
 4429|      0|            new = (PyDictObject *)new_frozendict(keys, NULL, 0, 0);
 4430|      0|        }
 4431|  10.6k|        else {
 4432|  10.6k|            new = (PyDictObject *)new_dict(keys, NULL, 0, 0);
 4433|  10.6k|        }
 4434|  10.6k|        if (new == NULL) {
  ------------------
  |  Branch (4434:13): [True: 0, False: 10.6k]
  ------------------
 4435|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4436|       |               cleaning up `keys`. */
 4437|      0|            return NULL;
 4438|      0|        }
 4439|       |
 4440|  10.6k|        new->ma_used = mp->ma_used;
 4441|  10.6k|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  653|  10.6k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4442|  10.6k|        return (PyObject *)new;
 4443|  10.6k|    }
 4444|       |
 4445|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4445:9): [True: 0, False: 0]
  ------------------
 4446|      0|        copy = PyFrozenDict_New(NULL);
 4447|      0|    }
 4448|      0|    else {
 4449|      0|        copy = PyDict_New();
 4450|      0|    }
 4451|      0|    if (copy == NULL)
  ------------------
  |  Branch (4451:9): [True: 0, False: 0]
  ------------------
 4452|      0|        return NULL;
 4453|      0|    if (dict_merge(copy, o, 1, NULL) == 0)
  ------------------
  |  Branch (4453:9): [True: 0, False: 0]
  ------------------
 4454|      0|        return copy;
 4455|      0|    Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4456|       |    return NULL;
 4457|      0|}
dictobject.c:copy_values:
 4334|     11|{
 4335|     11|    PyDictValues *newvalues = new_values(values->capacity);
 4336|     11|    if (newvalues == NULL) {
  ------------------
  |  Branch (4336:9): [True: 0, False: 11]
  ------------------
 4337|      0|        return NULL;
 4338|      0|    }
 4339|     11|    newvalues->size = values->size;
 4340|     11|    uint8_t *values_order = get_insertion_order_array(values);
 4341|     11|    uint8_t *new_values_order = get_insertion_order_array(newvalues);
 4342|     11|    memcpy(new_values_order, values_order, values->capacity);
 4343|    310|    for (int i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (4343:21): [True: 299, False: 11]
  ------------------
 4344|    299|        newvalues->values[i] = values->values[i];
 4345|    299|    }
 4346|       |    assert(newvalues->embedded == 0);
 4347|     11|    return newvalues;
 4348|     11|}
dictobject.c:new_values:
  874|    895|{
  875|    895|    size_t n = values_size_from_count(size);
  876|    895|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  877|    895|    if (res == NULL) {
  ------------------
  |  Branch (877:9): [True: 0, False: 895]
  ------------------
  878|      0|        return NULL;
  879|      0|    }
  880|    895|    res->embedded = 0;
  881|    895|    res->size = 0;
  882|       |    assert(size < 256);
  883|    895|    res->capacity = (uint8_t)size;
  884|    895|    return res;
  885|    895|}
dictobject.c:values_size_from_count:
  862|    895|{
  863|    895|    assert(count >= 1);
  864|    895|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  213|    895|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|    895|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  865|    895|    assert(suffix_size < 128);
  866|       |    assert(suffix_size % sizeof(PyObject *) == 0);
  867|    895|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  868|    895|}
dictobject.c:dictkeys_incref:
  467|  4.89k|{
  468|  4.89k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|  4.89k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (468:9): [True: 0, False: 4.89k]
  ------------------
  469|      0|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  470|      0|        return;
  471|      0|    }
  472|       |#ifdef Py_REF_DEBUG
  473|       |    _Py_IncRefTotal(_PyThreadState_GET());
  474|       |#endif
  475|  4.89k|    INCREF_KEYS(dk);
  ------------------
  |  |  251|  4.89k|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  476|  4.89k|}
dictobject.c:dict_setdefault_ref_lock_held:
 4679|   345k|{
 4680|   345k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|   345k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   345k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4680:9): [True: 0, False: 345k]
  ------------------
 4681|      0|        if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2728|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2729|      0|                    "not support item " WHAT)
  ------------------
 4683|      0|        }
 4684|      0|        else {
 4685|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4686|      0|        }
 4687|      0|        if (result) {
  ------------------
  |  Branch (4687:13): [True: 0, False: 0]
  ------------------
 4688|      0|            *result = NULL;
 4689|      0|        }
 4690|      0|        return -1;
 4691|      0|    }
 4692|   345k|    assert(can_modify_dict((PyDictObject*)d));
 4693|       |
 4694|   345k|    PyDictObject *mp = (PyDictObject *)d;
 4695|   345k|    PyObject *value;
 4696|   345k|    Py_hash_t hash;
 4697|   345k|    Py_ssize_t ix;
 4698|       |
 4699|   345k|    hash = _PyObject_HashFast(key);
 4700|   345k|    if (hash == -1) {
  ------------------
  |  Branch (4700:9): [True: 0, False: 345k]
  ------------------
 4701|      0|        dict_unhashable_type(d, key);
 4702|      0|        if (result) {
  ------------------
  |  Branch (4702:13): [True: 0, False: 0]
  ------------------
 4703|      0|            *result = NULL;
 4704|      0|        }
 4705|      0|        return -1;
 4706|      0|    }
 4707|       |
 4708|   345k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|   345k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4708:9): [True: 4.28k, False: 340k]
  ------------------
 4709|  4.28k|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  550|  4.28k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4709:13): [True: 0, False: 4.28k]
  ------------------
 4710|  4.28k|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  550|  4.28k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4711|      0|            if (result) {
  ------------------
  |  Branch (4711:17): [True: 0, False: 0]
  ------------------
 4712|      0|                *result = NULL;
 4713|      0|            }
 4714|      0|            return -1;
 4715|      0|        }
 4716|  4.28k|        if (result) {
  ------------------
  |  Branch (4716:13): [True: 4.25k, False: 26]
  ------------------
 4717|  4.25k|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  550|  4.25k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4717:23): [True: 4.25k, False: 0]
  ------------------
 4718|  4.25k|        }
 4719|  4.28k|        return 0;
 4720|  4.28k|    }
 4721|       |
 4722|   340k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|   681k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 340k]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4723|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4724|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  184|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4724:13): [True: 0, False: 0]
  ------------------
 4725|      0|            PyObject *value = mp->ma_values->values[ix];
 4726|      0|            int already_present = value != NULL;
 4727|      0|            if (!already_present) {
  ------------------
  |  Branch (4727:17): [True: 0, False: 0]
  ------------------
 4728|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4729|      0|                value = default_value;
 4730|      0|            }
 4731|      0|            if (result) {
  ------------------
  |  Branch (4731:17): [True: 0, False: 0]
  ------------------
 4732|      0|                *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4732:27): [True: 0, False: 0]
  ------------------
 4733|      0|            }
 4734|      0|            return already_present;
 4735|      0|        }
 4736|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4737|      0|    }
 4738|   340k|    else {
 4739|   340k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4740|   340k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|   340k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4740:13): [True: 0, False: 340k]
  ------------------
 4741|      0|            if (result) {
  ------------------
  |  Branch (4741:17): [True: 0, False: 0]
  ------------------
 4742|      0|                *result = NULL;
 4743|      0|            }
 4744|      0|            return -1;
 4745|      0|        }
 4746|   340k|    }
 4747|       |
 4748|   340k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|   340k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4748:9): [True: 97.5k, False: 243k]
  ------------------
 4749|  97.5k|        value = default_value;
 4750|       |
 4751|       |        // See comment to this function in insertdict.
 4752|  97.5k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|  97.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|  97.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4752:13): [True: 0, False: 97.5k]
  ------------------
 4753|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4754|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4755|      0|            if (result) {
  ------------------
  |  Branch (4755:17): [True: 0, False: 0]
  ------------------
 4756|      0|                *result = NULL;
 4757|      0|            }
 4758|      0|            return -1;
 4759|      0|        }
 4760|       |
 4761|  97.5k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  97.5k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  97.5k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4762|  97.5k|        assert(mp->ma_keys->dk_usable >= 0);
 4763|  97.5k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  97.5k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4764|  97.5k|        if (result) {
  ------------------
  |  Branch (4764:13): [True: 91.3k, False: 6.11k]
  ------------------
 4765|  91.3k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|  91.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  91.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4765:23): [True: 91.3k, False: 0]
  ------------------
 4766|  91.3k|        }
 4767|  97.5k|        return 0;
 4768|  97.5k|    }
 4769|       |
 4770|   340k|    assert(value != NULL);
 4771|   243k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|   243k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4772|   243k|    if (result) {
  ------------------
  |  Branch (4772:9): [True: 243k, False: 0]
  ------------------
 4773|   243k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|   243k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   243k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   243k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4773:19): [True: 243k, False: 0]
  ------------------
 4774|   243k|    }
 4775|   243k|    return 1;
 4776|   340k|}
dictobject.c:anydict_copy:
 4478|      2|{
 4479|      2|    assert(PyAnyDict_Check(o));
 4480|       |
 4481|      2|    PyObject *res;
 4482|      2|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|      2|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4483|      0|        res = copy_lock_held(o, 1);
 4484|      0|    }
 4485|      2|    else {
 4486|      2|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|      2|    {
  ------------------
 4487|      2|        res = copy_lock_held(o, 0);
 4488|      2|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
 4489|      2|    }
 4490|      2|    return res;
 4491|      2|}
dictobject.c:dict_update_arg:
 3915|  12.7k|{
 3916|  12.7k|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|  12.7k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  12.7k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  25.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 12.5k, False: 214]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    214|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    214|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 2, False: 212]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3917|  12.5k|        return dict_merge(self, arg, 1, NULL);
 3918|  12.5k|    }
 3919|    212|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  919|    212|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    212|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    212|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3920|    212|    if (has_keys < 0) {
  ------------------
  |  Branch (3920:9): [True: 0, False: 212]
  ------------------
 3921|      0|        return -1;
 3922|      0|    }
 3923|    212|    if (has_keys) {
  ------------------
  |  Branch (3923:9): [True: 124, False: 88]
  ------------------
 3924|    124|        return dict_merge(self, arg, 1, NULL);
 3925|    124|    }
 3926|     88|    return dict_merge_from_seq2(self, arg, 1);
 3927|    212|}
dictobject.c:dict_contains:
 5140|  2.76M|{
 5141|  2.76M|    Py_hash_t hash = _PyObject_HashFast(key);
 5142|  2.76M|    if (hash == -1) {
  ------------------
  |  Branch (5142:9): [True: 0, False: 2.76M]
  ------------------
 5143|      0|        dict_unhashable_type(op, key);
 5144|      0|        return -1;
 5145|      0|    }
 5146|       |
 5147|  2.76M|    return _PyDict_Contains_KnownHash(op, key, hash);
 5148|  2.76M|}
dictobject.c:dict_new:
 5219|  32.5k|{
 5220|  32.5k|    assert(type != NULL);
 5221|  32.5k|    assert(type->tp_alloc != NULL);
 5222|       |    // dict subclasses must implement the GC protocol
 5223|  32.5k|    assert(_PyType_IS_GC(type));
 5224|       |
 5225|  32.5k|    PyObject *self = type->tp_alloc(type, 0);
 5226|  32.5k|    if (self == NULL) {
  ------------------
  |  Branch (5226:9): [True: 0, False: 32.5k]
  ------------------
 5227|      0|        return NULL;
 5228|      0|    }
 5229|  32.5k|    PyDictObject *d = (PyDictObject *)self;
 5230|       |
 5231|  32.5k|    d->ma_used = 0;
 5232|  32.5k|    d->_ma_watcher_tag = 0;
 5233|       |    // We don't inc ref empty keys because they're immortal
 5234|  32.5k|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
 5235|  32.5k|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  645|  32.5k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5236|  32.5k|    d->ma_values = NULL;
 5237|  32.5k|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  653|  32.5k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 5238|  32.5k|    if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|  32.5k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5238:9): [True: 8.55k, False: 24.0k]
  ------------------
 5239|  8.55k|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  508|  8.55k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|  8.55k|    }
 5241|  32.5k|    return self;
 5242|  32.5k|}
dictobject.c:dict_dealloc:
 3528|  4.04M|{
 3529|  4.04M|    PyDictObject *mp = (PyDictObject *)self;
 3530|  4.04M|    _PyObject_ResurrectStart(self);
 3531|  4.04M|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3532|  4.04M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3532:9): [True: 0, False: 4.04M]
  ------------------
 3533|      0|        return;
 3534|      0|    }
 3535|  4.04M|    PyDictValues *values = mp->ma_values;
 3536|  4.04M|    PyDictKeysObject *keys = mp->ma_keys;
 3537|  4.04M|    Py_ssize_t i, n;
 3538|       |
 3539|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3540|  4.04M|    PyObject_GC_UnTrack(mp);
 3541|  4.04M|    if (values != NULL) {
  ------------------
  |  Branch (3541:9): [True: 49, False: 4.04M]
  ------------------
 3542|     49|        if (values->embedded == 0) {
  ------------------
  |  Branch (3542:13): [True: 49, False: 0]
  ------------------
 3543|  1.48k|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3543:47): [True: 1.43k, False: 49]
  ------------------
 3544|  1.43k|                Py_XDECREF(values->values[i]);
  ------------------
  |  |  524|  1.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|  1.43k|            }
 3546|     49|            free_values(values, false);
 3547|     49|        }
 3548|     49|        dictkeys_decref(keys, false);
 3549|     49|    }
 3550|  4.04M|    else if (keys != NULL) {
  ------------------
  |  Branch (3550:14): [True: 4.04M, False: 0]
  ------------------
 3551|  4.04M|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
 3552|  4.04M|        dictkeys_decref(keys, false);
 3553|  4.04M|    }
 3554|  4.04M|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|  4.04M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.02M, False: 23.8k]
  |  |  ------------------
  ------------------
 3555|  4.02M|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|  4.02M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  4.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  4.02M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|  4.02M|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3556|  4.02M|    }
 3557|  23.8k|    else {
 3558|  23.8k|        Py_TYPE(mp)->tp_free((PyObject *)mp);
  ------------------
  |  |  213|  23.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3559|  23.8k|    }
 3560|  4.04M|}
dictobject.c:dict_length:
 3667|   115k|{
 3668|   115k|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  313|   115k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|   115k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 3669|   115k|}
dictobject.c:dict_traverse:
 4954|   803k|{
 4955|   803k|    PyDictObject *mp = (PyDictObject *)op;
 4956|   803k|    PyDictKeysObject *keys = mp->ma_keys;
 4957|   803k|    Py_ssize_t i, n = keys->dk_nentries;
 4958|       |
 4959|   803k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  282|   803k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 263k, False: 539k]
  |  |  ------------------
  ------------------
 4960|   263k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   263k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 7.25k, False: 256k]
  |  |  ------------------
  ------------------
 4961|  36.1k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4961:25): [True: 28.8k, False: 7.25k]
  ------------------
 4962|  28.8k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|  28.8k|    do {                                                                \
  |  |  195|  28.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28.4k, False: 386]
  |  |  ------------------
  |  |  196|  28.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  28.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  28.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 28.4k]
  |  |  ------------------
  |  |  198|  28.4k|                return vret;                                            \
  |  |  199|  28.4k|        }                                                               \
  |  |  200|  28.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 28.8k]
  |  |  ------------------
  ------------------
 4963|  28.8k|            }
 4964|  7.25k|        }
 4965|   256k|        else {
 4966|   256k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 4967|  1.75M|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4967:25): [True: 1.49M, False: 256k]
  ------------------
 4968|  1.49M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  1.49M|    do {                                                                \
  |  |  195|  1.49M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.46M, False: 30.3k]
  |  |  ------------------
  |  |  196|  1.46M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.46M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.46M]
  |  |  ------------------
  |  |  198|  1.46M|                return vret;                                            \
  |  |  199|  1.46M|        }                                                               \
  |  |  200|  1.49M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.49M]
  |  |  ------------------
  ------------------
 4969|  1.49M|            }
 4970|   256k|        }
 4971|   263k|    }
 4972|   539k|    else {
 4973|   539k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 4974|  1.16M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4974:21): [True: 623k, False: 539k]
  ------------------
 4975|   623k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (4975:17): [True: 622k, False: 566]
  ------------------
 4976|   622k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   622k|    do {                                                                \
  |  |  195|   622k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 622k, False: 0]
  |  |  ------------------
  |  |  196|   622k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   622k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   622k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   622k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 622k]
  |  |  ------------------
  |  |  198|   622k|                return vret;                                            \
  |  |  199|   622k|        }                                                               \
  |  |  200|   622k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 622k]
  |  |  ------------------
  ------------------
 4977|   622k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|   622k|    do {                                                                \
  |  |  195|   622k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 622k, False: 0]
  |  |  ------------------
  |  |  196|   622k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   622k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   622k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   622k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 622k]
  |  |  ------------------
  |  |  198|   622k|                return vret;                                            \
  |  |  199|   622k|        }                                                               \
  |  |  200|   622k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 622k]
  |  |  ------------------
  ------------------
 4978|   622k|            }
 4979|   623k|        }
 4980|   539k|    }
 4981|   803k|    return 0;
 4982|   803k|}
dictobject.c:dict_tp_clear:
 4986|     56|{
 4987|     56|    PyDict_Clear(op);
 4988|     56|    return 0;
 4989|     56|}
dictobject.c:dict_richcompare:
 4601|     31|{
 4602|     31|    int cmp;
 4603|     31|    PyObject *res;
 4604|       |
 4605|     31|    if (!PyAnyDict_Check(v) || !PyAnyDict_Check(w)) {
  ------------------
  |  |   43|     62|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     31|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     62|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 31, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyAnyDict_Check(v) || !PyAnyDict_Check(w)) {
  ------------------
  |  |   43|     31|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     31|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     62|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 31, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4606|      0|        res = Py_NotImplemented;
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 4607|      0|    }
 4608|     31|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|     62|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     20|#define Py_NE 3
  ------------------
  |  Branch (4608:14): [True: 11, False: 20]
  |  Branch (4608:29): [True: 20, False: 0]
  ------------------
 4609|     31|        cmp = dict_equal((PyDictObject *)v, (PyDictObject *)w);
 4610|     31|        if (cmp < 0)
  ------------------
  |  Branch (4610:13): [True: 0, False: 31]
  ------------------
 4611|      0|            return NULL;
 4612|     31|        res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |  654|     31|#define Py_EQ 2
  ------------------
                      res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |   26|     31|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |   25|     31|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4612:15): [True: 11, False: 20]
  ------------------
 4613|     31|    }
 4614|      0|    else
 4615|      0|        res = Py_NotImplemented;
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 4616|     31|    return Py_NewRef(res);
  ------------------
  |  |  550|     31|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4617|     31|}
dictobject.c:dict_equal:
 4590|     31|{
 4591|     31|    int res;
 4592|     31|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|     31|    {
  ------------------
 4593|     31|    res = dict_equal_lock_held(a, b);
 4594|     31|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     31|    }
  ------------------
 4595|       |
 4596|     31|    return res;
 4597|     31|}
dictobject.c:dict_equal_lock_held:
 4528|     31|{
 4529|     31|    Py_ssize_t i;
 4530|       |
 4531|     31|    ASSERT_DICT_LOCKED(a);
 4532|     31|    ASSERT_DICT_LOCKED(b);
 4533|       |
 4534|     31|    if (a->ma_used != b->ma_used)
  ------------------
  |  Branch (4534:9): [True: 0, False: 31]
  ------------------
 4535|       |        /* can't be equal if # of entries differ */
 4536|      0|        return 0;
 4537|       |    /* Same # of entries -- check all of 'em.  Exit early on any diff. */
 4538|    115|    for (i = 0; i < LOAD_KEYS_NENTRIES(a->ma_keys); i++) {
  ------------------
  |  |  253|    115|#define LOAD_KEYS_NENTRIES(keys) keys->dk_nentries
  ------------------
  |  Branch (4538:17): [True: 84, False: 31]
  ------------------
 4539|     84|        PyObject *key, *aval;
 4540|     84|        Py_hash_t hash;
 4541|     84|        if (DK_IS_UNICODE(a->ma_keys)) {
  ------------------
  |  |  282|     84|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 84, False: 0]
  |  |  ------------------
  ------------------
 4542|     84|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(a->ma_keys)[i];
 4543|     84|            key = ep->me_key;
 4544|     84|            if (key == NULL) {
  ------------------
  |  Branch (4544:17): [True: 0, False: 84]
  ------------------
 4545|      0|                continue;
 4546|      0|            }
 4547|     84|            hash = unicode_get_hash(key);
 4548|     84|            if (_PyDict_HasSplitTable(a))
  ------------------
  |  |   56|     84|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 84]
  |  |  ------------------
  ------------------
 4549|      0|                aval = a->ma_values->values[i];
 4550|     84|            else
 4551|     84|                aval = ep->me_value;
 4552|     84|        }
 4553|      0|        else {
 4554|      0|            PyDictKeyEntry *ep = &DK_ENTRIES(a->ma_keys)[i];
 4555|      0|            key = ep->me_key;
 4556|      0|            aval = ep->me_value;
 4557|      0|            hash = ep->me_hash;
 4558|      0|        }
 4559|     84|        if (aval != NULL) {
  ------------------
  |  Branch (4559:13): [True: 84, False: 0]
  ------------------
 4560|     84|            int cmp;
 4561|     84|            PyObject *bval;
 4562|       |            /* temporarily bump aval's refcount to ensure it stays
 4563|       |               alive until we're done with it */
 4564|     84|            Py_INCREF(aval);
  ------------------
  |  |  310|     84|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4565|       |            /* ditto for key */
 4566|     84|            Py_INCREF(key);
  ------------------
  |  |  310|     84|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4567|       |            /* reuse the known hash value */
 4568|     84|            _Py_dict_lookup(b, key, hash, &bval);
 4569|     84|            if (bval == NULL) {
  ------------------
  |  Branch (4569:17): [True: 0, False: 84]
  ------------------
 4570|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4571|      0|                Py_DECREF(aval);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4572|      0|                if (PyErr_Occurred())
  ------------------
  |  Branch (4572:21): [True: 0, False: 0]
  ------------------
 4573|      0|                    return -1;
 4574|      0|                return 0;
 4575|      0|            }
 4576|     84|            Py_INCREF(bval);
  ------------------
  |  |  310|     84|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4577|     84|            cmp = PyObject_RichCompareBool(aval, bval, Py_EQ);
  ------------------
  |  |  654|     84|#define Py_EQ 2
  ------------------
 4578|     84|            Py_DECREF(key);
  ------------------
  |  |  430|     84|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4579|     84|            Py_DECREF(aval);
  ------------------
  |  |  430|     84|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4580|     84|            Py_DECREF(bval);
  ------------------
  |  |  430|     84|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4581|     84|            if (cmp <= 0)  /* error or not equal */
  ------------------
  |  Branch (4581:17): [True: 0, False: 84]
  ------------------
 4582|      0|                return cmp;
 4583|     84|        }
 4584|     84|    }
 4585|     31|    return 1;
 4586|     31|}
dictobject.c:dict_iter:
 5324|  60.5k|{
 5325|  60.5k|    PyDictObject *dict = (PyDictObject *)self;
 5326|  60.5k|    return dictiter_new(dict, &PyDictIterKey_Type);
 5327|  60.5k|}
dictobject.c:dictiter_new:
 5461|   647k|{
 5462|   647k|    Py_ssize_t used;
 5463|   647k|    dictiterobject *di;
 5464|   647k|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|   647k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5465|   647k|    if (di == NULL) {
  ------------------
  |  Branch (5465:9): [True: 0, False: 647k]
  ------------------
 5466|      0|        return NULL;
 5467|      0|    }
 5468|   647k|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  550|   647k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   647k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5469|   647k|    used = GET_USED(dict);
  ------------------
  |  |  313|   647k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|   647k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5470|   647k|    di->di_used = used;
 5471|   647k|    di->len = used;
 5472|   647k|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5472:9): [True: 0, False: 647k]
  ------------------
 5473|   647k|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5473:10): [True: 0, False: 647k]
  ------------------
 5474|   647k|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5474:10): [True: 0, False: 647k]
  ------------------
 5475|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5476|      0|            di->di_pos = used - 1;
 5477|      0|        }
 5478|      0|        else {
 5479|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5480|      0|        }
 5481|      0|    }
 5482|   647k|    else {
 5483|   647k|        di->di_pos = 0;
 5484|   647k|    }
 5485|   647k|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5485:9): [True: 465k, False: 181k]
  ------------------
 5486|   465k|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5486:9): [True: 0, False: 181k]
  ------------------
 5487|   465k|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|   465k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|   465k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5488|   465k|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5488:13): [True: 0, False: 465k]
  ------------------
 5489|      0|            Py_DECREF(di);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|      0|            return NULL;
 5491|      0|        }
 5492|   465k|    }
 5493|   181k|    else {
 5494|   181k|        di->di_result = NULL;
 5495|   181k|    }
 5496|   647k|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  508|   647k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   647k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5497|   647k|    return (PyObject *)di;
 5498|   647k|}
dictobject.c:dict___contains___impl:
 4633|    194|{
 4634|    194|    int contains = dict_contains((PyObject *)self, key);
 4635|    194|    if (contains < 0) {
  ------------------
  |  Branch (4635:9): [True: 0, False: 194]
  ------------------
 4636|      0|        return NULL;
 4637|      0|    }
 4638|    194|    if (contains) {
  ------------------
  |  Branch (4638:9): [True: 0, False: 194]
  ------------------
 4639|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4640|      0|    }
 4641|    194|    Py_RETURN_FALSE;
  ------------------
  |  |   45|    194|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    194|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|    194|}
dictobject.c:dict_get_impl:
 4657|   741k|{
 4658|   741k|    PyObject *val = NULL;
 4659|   741k|    Py_hash_t hash;
 4660|   741k|    Py_ssize_t ix;
 4661|       |
 4662|   741k|    hash = _PyObject_HashFast(key);
 4663|   741k|    if (hash == -1) {
  ------------------
  |  Branch (4663:9): [True: 0, False: 741k]
  ------------------
 4664|      0|        dict_unhashable_type((PyObject*)self, key);
 4665|      0|        return NULL;
 4666|      0|    }
 4667|   741k|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4668|   741k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|   741k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4668:9): [True: 0, False: 741k]
  ------------------
 4669|      0|        return NULL;
 4670|   741k|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  184|  1.48M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4670:9): [True: 417k, False: 324k]
  |  Branch (4670:29): [True: 6, False: 324k]
  ------------------
 4671|   417k|        val = Py_NewRef(default_value);
  ------------------
  |  |  550|   417k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4672|   417k|    }
 4673|   741k|    return val;
 4674|   741k|}
dictobject.c:dict_setdefault_impl:
 4816|  35.8k|{
 4817|  35.8k|    PyObject *val;
 4818|  35.8k|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 4819|  35.8k|    return val;
 4820|  35.8k|}
dictobject.c:dict_pop_impl:
 4854|  1.20k|{
 4855|  1.20k|    return dict_pop_default((PyObject*)self, key, default_value);
 4856|  1.20k|}
dictobject.c:dict_popitem_impl:
 4871|   421k|{
 4872|   421k|    assert(can_modify_dict(self));
 4873|       |
 4874|   421k|    Py_ssize_t i, j;
 4875|   421k|    PyObject *res;
 4876|       |
 4877|       |    /* Allocate the result tuple before checking the size.  Believe it
 4878|       |     * or not, this allocation could trigger a garbage collection which
 4879|       |     * could empty the dict, so if we checked the size first and that
 4880|       |     * happened, the result would be an infinite loop (searching for an
 4881|       |     * entry that no longer exists).  Note that the usual popitem()
 4882|       |     * idiom is "while d: k, v = d.popitem()". so needing to throw the
 4883|       |     * tuple away if the dict *is* empty isn't a significant
 4884|       |     * inefficiency -- possible, but unlikely in practice.
 4885|       |     */
 4886|   421k|    res = PyTuple_New(2);
 4887|   421k|    if (res == NULL)
  ------------------
  |  Branch (4887:9): [True: 0, False: 421k]
  ------------------
 4888|      0|        return NULL;
 4889|   421k|    if (self->ma_used == 0) {
  ------------------
  |  Branch (4889:9): [True: 210k, False: 210k]
  ------------------
 4890|   210k|        Py_DECREF(res);
  ------------------
  |  |  430|   210k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4891|   210k|        PyErr_SetString(PyExc_KeyError, "popitem(): dictionary is empty");
 4892|   210k|        return NULL;
 4893|   210k|    }
 4894|       |    /* Convert split table to combined table */
 4895|   210k|    if (_PyDict_HasSplitTable(self)) {
  ------------------
  |  |   56|   210k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 210k]
  |  |  ------------------
  ------------------
 4896|      0|        if (dictresize(self, DK_LOG_SIZE(self->ma_keys), 1) < 0) {
  ------------------
  |  |  260|      0|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4896:13): [True: 0, False: 0]
  ------------------
 4897|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4898|      0|            return NULL;
 4899|      0|        }
 4900|      0|    }
 4901|   210k|    FT_ATOMIC_STORE_UINT32_RELAXED(self->ma_keys->dk_version, 0);
  ------------------
  |  |  172|   210k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 4902|       |
 4903|       |    /* Pop last item */
 4904|   210k|    PyObject *key, *value;
 4905|   210k|    Py_hash_t hash;
 4906|   210k|    if (DK_IS_UNICODE(self->ma_keys)) {
  ------------------
  |  |  282|   210k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 0, False: 210k]
  |  |  ------------------
  ------------------
 4907|      0|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(self->ma_keys);
 4908|      0|        i = self->ma_keys->dk_nentries - 1;
 4909|      0|        while (i >= 0 && ep0[i].me_value == NULL) {
  ------------------
  |  Branch (4909:16): [True: 0, False: 0]
  |  Branch (4909:26): [True: 0, False: 0]
  ------------------
 4910|      0|            i--;
 4911|      0|        }
 4912|      0|        assert(i >= 0);
 4913|       |
 4914|      0|        key = ep0[i].me_key;
 4915|      0|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, self, key, NULL);
 4916|      0|        hash = unicode_get_hash(key);
 4917|      0|        value = ep0[i].me_value;
 4918|      0|        STORE_KEY(&ep0[i], NULL);
  ------------------
  |  |  315|      0|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4919|      0|        STORE_VALUE(&ep0[i], NULL);
  ------------------
  |  |  316|      0|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4920|      0|    }
 4921|   210k|    else {
 4922|   210k|        PyDictKeyEntry *ep0 = DK_ENTRIES(self->ma_keys);
 4923|   210k|        i = self->ma_keys->dk_nentries - 1;
 4924|   210k|        while (i >= 0 && ep0[i].me_value == NULL) {
  ------------------
  |  Branch (4924:16): [True: 210k, False: 0]
  |  Branch (4924:26): [True: 0, False: 210k]
  ------------------
 4925|      0|            i--;
 4926|      0|        }
 4927|   210k|        assert(i >= 0);
 4928|       |
 4929|   210k|        key = ep0[i].me_key;
 4930|   210k|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, self, key, NULL);
 4931|   210k|        hash = ep0[i].me_hash;
 4932|   210k|        value = ep0[i].me_value;
 4933|   210k|        STORE_KEY(&ep0[i], NULL);
  ------------------
  |  |  315|   210k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|   210k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4934|   210k|        STORE_HASH(&ep0[i], -1);
  ------------------
  |  |  318|   210k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|   210k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4935|   210k|        STORE_VALUE(&ep0[i], NULL);
  ------------------
  |  |  316|   210k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   210k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4936|   210k|    }
 4937|       |
 4938|   210k|    j = lookdict_index(self->ma_keys, hash, i);
 4939|   210k|    assert(j >= 0);
 4940|   210k|    assert(dictkeys_get_index(self->ma_keys, j) == i);
 4941|   210k|    dictkeys_set_index(self->ma_keys, j, DKIX_DUMMY);
  ------------------
  |  |  185|   210k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 4942|       |
 4943|   210k|    PyTuple_SET_ITEM(res, 0, key);
  ------------------
  |  |   40|   210k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4944|   210k|    PyTuple_SET_ITEM(res, 1, value);
  ------------------
  |  |   40|   210k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|       |    /* We can't dk_usable++ since there is DKIX_DUMMY in indices */
 4946|   210k|    STORE_KEYS_NENTRIES(self->ma_keys, i);
  ------------------
  |  |  320|   210k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|   210k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4947|   210k|    STORE_USED(self, self->ma_used - 1);
  ------------------
  |  |  321|   210k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|   210k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4948|       |    ASSERT_CONSISTENT(self);
  ------------------
  |  |  653|   210k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4949|   210k|    return res;
 4950|   210k|}
dictobject.c:dict_keys_impl:
 6880|    352|{
 6881|    352|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 6882|    352|}
dictobject.c:dict_items_impl:
 6992|   465k|{
 6993|   465k|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 6994|   465k|}
dictobject.c:dict_values_impl:
 7082|   120k|{
 7083|   120k|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7084|   120k|}
dictobject.c:dict_update:
 3957|  4.49k|{
 3958|  4.49k|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (3958:9): [True: 4.49k, False: 0]
  ------------------
 3959|  4.49k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.49k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.49k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3960|      0|    return NULL;
 3961|  4.49k|}
dictobject.c:dict_update_common:
 3932|  16.3k|{
 3933|  16.3k|    PyObject *arg = NULL;
 3934|  16.3k|    int result = 0;
 3935|       |
 3936|  16.3k|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (3936:9): [True: 0, False: 16.3k]
  ------------------
 3937|      0|        result = -1;
 3938|      0|    }
 3939|  16.3k|    else if (arg != NULL) {
  ------------------
  |  Branch (3939:14): [True: 4.49k, False: 11.8k]
  ------------------
 3940|  4.49k|        result = dict_update_arg(self, arg);
 3941|  4.49k|    }
 3942|       |
 3943|  16.3k|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (3943:9): [True: 16.3k, False: 0]
  |  Branch (3943:24): [True: 16, False: 16.3k]
  ------------------
 3944|     16|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (3944:13): [True: 16, False: 0]
  ------------------
 3945|     16|            result = dict_merge(self, kwds, 1, NULL);
 3946|      0|        else
 3947|      0|            result = -1;
 3948|     16|    }
 3949|  16.3k|    return result;
 3950|  16.3k|}
dictobject.c:dict_fromkeys_impl:
 3908|    246|{
 3909|    246|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 3910|    246|}
dictobject.c:dict_clear_impl:
 4832|  3.90k|{
 4833|  3.90k|    PyDict_Clear((PyObject *)self);
 4834|  3.90k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.90k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.90k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4835|  3.90k|}
dictobject.c:dict_copy_impl:
 4325|  9.77k|{
 4326|  9.77k|    return PyDict_Copy((PyObject *)self);
 4327|  9.77k|}
dictobject.c:dict_init:
 5246|  11.8k|{
 5247|  11.8k|    return dict_update_common(self, args, kwds, "dict");
 5248|  11.8k|}
dictobject.c:dict_vectorcall:
 5253|  8.47k|{
 5254|  8.47k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  8.47k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5255|  8.47k|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   31|  8.47k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 8.47k, False: 0]
  |  |  |  Branch (31:27): [True: 8.47k, False: 0]
  |  |  ------------------
  |  |   32|  8.47k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5256|      0|        return NULL;
 5257|      0|    }
 5258|       |
 5259|  8.47k|    PyObject *self = dict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|  8.47k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5260|  8.47k|    if (self == NULL) {
  ------------------
  |  Branch (5260:9): [True: 0, False: 8.47k]
  ------------------
 5261|      0|        return NULL;
 5262|      0|    }
 5263|  8.47k|    if (nargs == 1) {
  ------------------
  |  Branch (5263:9): [True: 8.18k, False: 292]
  ------------------
 5264|  8.18k|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5264:13): [True: 0, False: 8.18k]
  ------------------
 5265|      0|            Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5266|      0|            return NULL;
 5267|      0|        }
 5268|  8.18k|        args++;
 5269|  8.18k|    }
 5270|  8.47k|    if (kwnames != NULL) {
  ------------------
  |  Branch (5270:9): [True: 4, False: 8.47k]
  ------------------
 5271|     58|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   27|     58|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5271:32): [True: 54, False: 4]
  ------------------
 5272|     54|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   29|     54|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     54|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5273|     54|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5273:17): [True: 0, False: 54]
  ------------------
 5274|      0|                Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5275|      0|                return NULL;
 5276|      0|            }
 5277|     54|        }
 5278|      4|    }
 5279|  8.47k|    return self;
 5280|  8.47k|}
dictobject.c:dictiter_dealloc:
 5502|   647k|{
 5503|   647k|    dictiterobject *di = (dictiterobject *)self;
 5504|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5505|   647k|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  510|   647k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   647k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5506|   647k|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  524|   647k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   647k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5507|   647k|    Py_XDECREF(di->di_result);
  ------------------
  |  |  524|   647k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   647k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   647k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5508|   647k|    PyObject_GC_Del(di);
 5509|   647k|}
dictobject.c:dictiter_traverse:
 5513|  2.82k|{
 5514|  2.82k|    dictiterobject *di = (dictiterobject *)self;
 5515|  2.82k|    Py_VISIT(di->di_dict);
  ------------------
  |  |  194|  2.82k|    do {                                                                \
  |  |  195|  2.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.82k, False: 0]
  |  |  ------------------
  |  |  196|  2.82k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.82k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.82k]
  |  |  ------------------
  |  |  198|  2.82k|                return vret;                                            \
  |  |  199|  2.82k|        }                                                               \
  |  |  200|  2.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 5516|  2.82k|    Py_VISIT(di->di_result);
  ------------------
  |  |  194|  2.82k|    do {                                                                \
  |  |  195|  2.82k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.82k, False: 0]
  |  |  ------------------
  |  |  196|  2.82k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.82k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.82k]
  |  |  ------------------
  |  |  198|  2.82k|                return vret;                                            \
  |  |  199|  2.82k|        }                                                               \
  |  |  200|  2.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 5517|  2.82k|    return 0;
 5518|  2.82k|}
dictobject.c:dictiter_iternextkey:
 5625|   306k|{
 5626|   306k|    dictiterobject *di = (dictiterobject *)self;
 5627|   306k|    PyDictObject *d = di->di_dict;
 5628|       |
 5629|   306k|    if (d == NULL)
  ------------------
  |  Branch (5629:9): [True: 0, False: 306k]
  ------------------
 5630|      0|        return NULL;
 5631|       |
 5632|   306k|    PyObject *value;
 5633|       |#ifdef Py_GIL_DISABLED
 5634|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5635|       |        value = NULL;
 5636|       |    }
 5637|       |#else
 5638|   306k|    value = dictiter_iternextkey_lock_held(d, self);
 5639|   306k|#endif
 5640|       |
 5641|   306k|    return value;
 5642|   306k|}
dictobject.c:dictiter_iternextkey_lock_held:
 5556|   306k|{
 5557|   306k|    dictiterobject *di = (dictiterobject *)self;
 5558|   306k|    PyObject *key;
 5559|   306k|    Py_ssize_t i;
 5560|   306k|    PyDictKeysObject *k;
 5561|       |
 5562|   306k|    assert (PyAnyDict_Check(d));
 5563|   306k|    ASSERT_DICT_LOCKED(d);
 5564|       |
 5565|   306k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5565:9): [True: 0, False: 306k]
  ------------------
 5566|      0|        PyErr_SetString(PyExc_RuntimeError,
 5567|      0|                        "dictionary changed size during iteration");
 5568|      0|        di->di_used = -1; /* Make this state sticky */
 5569|      0|        return NULL;
 5570|      0|    }
 5571|       |
 5572|   306k|    i = di->di_pos;
 5573|   306k|    k = d->ma_keys;
 5574|   306k|    assert(i >= 0);
 5575|   306k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|   306k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 306k]
  |  |  ------------------
  ------------------
 5576|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5576:13): [True: 0, False: 0]
  ------------------
 5577|      0|            goto fail;
 5578|      0|        int index = get_index_from_order(d, i);
 5579|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5580|      0|        assert(d->ma_values->values[index] != NULL);
 5581|      0|    }
 5582|   306k|    else {
 5583|   306k|        Py_ssize_t n = k->dk_nentries;
 5584|   306k|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  282|   306k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.74k, False: 301k]
  |  |  ------------------
  ------------------
 5585|  4.74k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5586|  5.06k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5586:20): [True: 4.63k, False: 431]
  |  Branch (5586:29): [True: 316, False: 4.31k]
  ------------------
 5587|    316|                entry_ptr++;
 5588|    316|                i++;
 5589|    316|            }
 5590|  4.74k|            if (i >= n)
  ------------------
  |  Branch (5590:17): [True: 431, False: 4.31k]
  ------------------
 5591|    431|                goto fail;
 5592|  4.31k|            key = entry_ptr->me_key;
 5593|  4.31k|        }
 5594|   301k|        else {
 5595|   301k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5596|   301k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5596:20): [True: 241k, False: 60.2k]
  |  Branch (5596:29): [True: 0, False: 241k]
  ------------------
 5597|      0|                entry_ptr++;
 5598|      0|                i++;
 5599|      0|            }
 5600|   301k|            if (i >= n)
  ------------------
  |  Branch (5600:17): [True: 60.2k, False: 241k]
  ------------------
 5601|  60.2k|                goto fail;
 5602|   241k|            key = entry_ptr->me_key;
 5603|   241k|        }
 5604|   306k|    }
 5605|       |    // We found an element (key), but did not expect it
 5606|   245k|    if (di->len == 0) {
  ------------------
  |  Branch (5606:9): [True: 0, False: 245k]
  ------------------
 5607|      0|        PyErr_SetString(PyExc_RuntimeError,
 5608|      0|                        "dictionary keys changed during iteration");
 5609|      0|        goto fail;
 5610|      0|    }
 5611|   245k|    di->di_pos = i+1;
 5612|   245k|    di->len--;
 5613|   245k|    return Py_NewRef(key);
  ------------------
  |  |  550|   245k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5614|       |
 5615|  60.7k|fail:
 5616|  60.7k|    di->di_dict = NULL;
 5617|  60.7k|    Py_DECREF(d);
  ------------------
  |  |  430|  60.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5618|       |    return NULL;
 5619|   245k|}
dictobject.c:dictiter_len:
 5522|    462|{
 5523|    462|    dictiterobject *di = (dictiterobject *)self;
 5524|    462|    Py_ssize_t len = 0;
 5525|    462|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  313|    462|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    462|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5525:9): [True: 462, False: 0]
  |  Branch (5525:32): [True: 462, False: 0]
  ------------------
 5526|    462|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  149|    462|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5527|    462|    return PyLong_FromSize_t(len);
 5528|    462|}
dictobject.c:dictiter_iternextvalue:
 5748|   607k|{
 5749|   607k|    dictiterobject *di = (dictiterobject *)self;
 5750|   607k|    PyDictObject *d = di->di_dict;
 5751|       |
 5752|   607k|    if (d == NULL)
  ------------------
  |  Branch (5752:9): [True: 0, False: 607k]
  ------------------
 5753|      0|        return NULL;
 5754|       |
 5755|   607k|    PyObject *value;
 5756|       |#ifdef Py_GIL_DISABLED
 5757|       |    if (dictiter_iternext_threadsafe(d, self, NULL, &value) < 0) {
 5758|       |        value = NULL;
 5759|       |    }
 5760|       |#else
 5761|   607k|    value = dictiter_iternextvalue_lock_held(d, self);
 5762|   607k|#endif
 5763|       |
 5764|   607k|    return value;
 5765|   607k|}
dictobject.c:dictiter_iternextvalue_lock_held:
 5681|   607k|{
 5682|   607k|    dictiterobject *di = (dictiterobject *)self;
 5683|   607k|    PyObject *value;
 5684|   607k|    Py_ssize_t i;
 5685|       |
 5686|   607k|    assert (PyAnyDict_Check(d));
 5687|   607k|    ASSERT_DICT_LOCKED(d);
 5688|       |
 5689|   607k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5689:9): [True: 0, False: 607k]
  ------------------
 5690|      0|        PyErr_SetString(PyExc_RuntimeError,
 5691|      0|                        "dictionary changed size during iteration");
 5692|      0|        di->di_used = -1; /* Make this state sticky */
 5693|      0|        return NULL;
 5694|      0|    }
 5695|       |
 5696|   607k|    i = di->di_pos;
 5697|   607k|    assert(i >= 0);
 5698|   607k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|   607k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 607k]
  |  |  ------------------
  ------------------
 5699|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5699:13): [True: 0, False: 0]
  ------------------
 5700|      0|            goto fail;
 5701|      0|        int index = get_index_from_order(d, i);
 5702|      0|        value = d->ma_values->values[index];
 5703|      0|        assert(value != NULL);
 5704|      0|    }
 5705|   607k|    else {
 5706|   607k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5707|   607k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  282|   607k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.78k, False: 602k]
  |  |  ------------------
  ------------------
 5708|  4.78k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5709|  4.82k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5709:20): [True: 4.47k, False: 347]
  |  Branch (5709:29): [True: 44, False: 4.43k]
  ------------------
 5710|     44|                entry_ptr++;
 5711|     44|                i++;
 5712|     44|            }
 5713|  4.78k|            if (i >= n)
  ------------------
  |  Branch (5713:17): [True: 347, False: 4.43k]
  ------------------
 5714|    347|                goto fail;
 5715|  4.43k|            value = entry_ptr->me_value;
 5716|  4.43k|        }
 5717|   602k|        else {
 5718|   602k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 5719|   602k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5719:20): [True: 481k, False: 120k]
  |  Branch (5719:29): [True: 0, False: 481k]
  ------------------
 5720|      0|                entry_ptr++;
 5721|      0|                i++;
 5722|      0|            }
 5723|   602k|            if (i >= n)
  ------------------
  |  Branch (5723:17): [True: 120k, False: 481k]
  ------------------
 5724|   120k|                goto fail;
 5725|   481k|            value = entry_ptr->me_value;
 5726|   481k|        }
 5727|   607k|    }
 5728|       |    // We found an element, but did not expect it
 5729|   486k|    if (di->len == 0) {
  ------------------
  |  Branch (5729:9): [True: 0, False: 486k]
  ------------------
 5730|      0|        PyErr_SetString(PyExc_RuntimeError,
 5731|      0|                        "dictionary keys changed during iteration");
 5732|      0|        goto fail;
 5733|      0|    }
 5734|   486k|    di->di_pos = i+1;
 5735|   486k|    di->len--;
 5736|   486k|    return Py_NewRef(value);
  ------------------
  |  |  550|   486k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   486k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   486k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5737|       |
 5738|   120k|fail:
 5739|   120k|    di->di_dict = NULL;
 5740|   120k|    Py_DECREF(d);
  ------------------
  |  |  430|   120k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5741|       |    return NULL;
 5742|   486k|}
dictobject.c:dictiter_iternextitem:
 6026|  1.10M|{
 6027|  1.10M|    dictiterobject *di = (dictiterobject *)self;
 6028|  1.10M|    PyDictObject *d = di->di_dict;
 6029|       |
 6030|  1.10M|    if (d == NULL)
  ------------------
  |  Branch (6030:9): [True: 0, False: 1.10M]
  ------------------
 6031|      0|        return NULL;
 6032|       |
 6033|  1.10M|    PyObject *key, *value;
 6034|       |#ifdef Py_GIL_DISABLED
 6035|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6036|       |#else
 6037|  1.10M|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6037:9): [True: 641k, False: 462k]
  ------------------
 6038|       |
 6039|   641k|#endif
 6040|   641k|        PyObject *result = di->di_result;
 6041|   641k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6041:13): [True: 638k, False: 3.48k]
  ------------------
 6042|   638k|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|   638k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   638k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6043|   638k|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|   638k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   638k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6044|   638k|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|   638k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6045|   638k|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|   638k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6046|   638k|            Py_DECREF(oldkey);
  ------------------
  |  |  430|   638k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6047|   638k|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|   638k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6048|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6049|       |            // recycling it, make sure it's tracked again:
 6050|   638k|            _PyTuple_Recycle(result);
 6051|   638k|        }
 6052|  3.48k|        else {
 6053|  3.48k|            result = _PyTuple_FromPairSteal(key, value);
 6054|  3.48k|        }
 6055|   641k|        return result;
 6056|   641k|    }
 6057|   462k|    return NULL;
 6058|  1.10M|}
dictobject.c:dictiter_iternextitem_lock_held:
 5803|  1.10M|{
 5804|  1.10M|    dictiterobject *di = (dictiterobject *)self;
 5805|  1.10M|    PyObject *key, *value;
 5806|  1.10M|    Py_ssize_t i;
 5807|       |
 5808|  1.10M|    assert (PyAnyDict_Check(d));
 5809|  1.10M|    ASSERT_DICT_LOCKED(d);
 5810|       |
 5811|  1.10M|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5811:9): [True: 0, False: 1.10M]
  ------------------
 5812|      0|        PyErr_SetString(PyExc_RuntimeError,
 5813|      0|                        "dictionary changed size during iteration");
 5814|      0|        di->di_used = -1; /* Make this state sticky */
 5815|      0|        return -1;
 5816|      0|    }
 5817|       |
 5818|  1.10M|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  149|  1.10M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5819|       |
 5820|  1.10M|    assert(i >= 0);
 5821|  1.10M|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  1.10M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.10M]
  |  |  ------------------
  ------------------
 5822|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5822:13): [True: 0, False: 0]
  ------------------
 5823|      0|            goto fail;
 5824|      0|        int index = get_index_from_order(d, i);
 5825|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5826|      0|        value = d->ma_values->values[index];
 5827|      0|        assert(value != NULL);
 5828|      0|    }
 5829|  1.10M|    else {
 5830|  1.10M|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5831|  1.10M|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  282|  1.10M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 703k, False: 399k]
  |  |  ------------------
  ------------------
 5832|   703k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5833|   704k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5833:20): [True: 442k, False: 262k]
  |  Branch (5833:29): [True: 616, False: 441k]
  ------------------
 5834|    616|                entry_ptr++;
 5835|    616|                i++;
 5836|    616|            }
 5837|   703k|            if (i >= n)
  ------------------
  |  Branch (5837:17): [True: 262k, False: 441k]
  ------------------
 5838|   262k|                goto fail;
 5839|   441k|            key = entry_ptr->me_key;
 5840|   441k|            value = entry_ptr->me_value;
 5841|   441k|        }
 5842|   399k|        else {
 5843|   399k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 5844|   399k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5844:20): [True: 199k, False: 199k]
  |  Branch (5844:29): [True: 0, False: 199k]
  ------------------
 5845|      0|                entry_ptr++;
 5846|      0|                i++;
 5847|      0|            }
 5848|   399k|            if (i >= n)
  ------------------
  |  Branch (5848:17): [True: 199k, False: 199k]
  ------------------
 5849|   199k|                goto fail;
 5850|   199k|            key = entry_ptr->me_key;
 5851|   199k|            value = entry_ptr->me_value;
 5852|   199k|        }
 5853|  1.10M|    }
 5854|       |    // We found an element, but did not expect it
 5855|   641k|    if (di->len == 0) {
  ------------------
  |  Branch (5855:9): [True: 0, False: 641k]
  ------------------
 5856|      0|        PyErr_SetString(PyExc_RuntimeError,
 5857|      0|                        "dictionary keys changed during iteration");
 5858|      0|        goto fail;
 5859|      0|    }
 5860|   641k|    di->di_pos = i+1;
 5861|   641k|    di->len--;
 5862|   641k|    if (out_key != NULL) {
  ------------------
  |  Branch (5862:9): [True: 641k, False: 0]
  ------------------
 5863|   641k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  550|   641k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   641k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   641k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5864|   641k|    }
 5865|   641k|    if (out_value != NULL) {
  ------------------
  |  Branch (5865:9): [True: 641k, False: 0]
  ------------------
 5866|   641k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  550|   641k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   641k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   641k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5867|   641k|    }
 5868|   641k|    return 0;
 5869|       |
 5870|   462k|fail:
 5871|   462k|    di->di_dict = NULL;
 5872|   462k|    Py_DECREF(d);
  ------------------
  |  |  430|   462k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   462k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   462k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5873|   462k|    return -1;
 5874|   641k|}
dictobject.c:acquire_iter_result:
 6016|   641k|{
 6017|   641k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6017:9): [True: 638k, False: 3.48k]
  ------------------
 6018|   638k|        Py_INCREF(result);
  ------------------
  |  |  310|   638k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   638k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   638k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6019|   638k|        return true;
 6020|   638k|    }
 6021|  3.48k|    return false;
 6022|   641k|}
dictobject.c:dictview_len:
 6295|      6|{
 6296|      6|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6297|      6|    Py_ssize_t len = 0;
 6298|      6|    if (dv->dv_dict != NULL)
  ------------------
  |  Branch (6298:9): [True: 6, False: 0]
  ------------------
 6299|      6|        len = GET_USED(dv->dv_dict);
  ------------------
  |  |  313|      6|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|      6|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 6300|      6|    return len;
 6301|      6|}
dictobject.c:dictkeys_contains:
 6473|  11.4k|{
 6474|  11.4k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6475|  11.4k|    if (dv->dv_dict == NULL)
  ------------------
  |  Branch (6475:9): [True: 0, False: 11.4k]
  ------------------
 6476|      0|        return 0;
 6477|  11.4k|    return dict_contains((PyObject *)dv->dv_dict, obj);
 6478|  11.4k|}
dictobject.c:dictview_dealloc:
 6277|   631k|{
 6278|   631k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6279|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6280|   631k|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  510|   631k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   631k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|   631k|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  524|   631k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   631k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6282|   631k|    PyObject_GC_Del(dv);
 6283|   631k|}
dictobject.c:dictview_traverse:
 6287|     86|{
 6288|     86|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6289|     86|    Py_VISIT(dv->dv_dict);
  ------------------
  |  |  194|     86|    do {                                                                \
  |  |  195|     86|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 86, False: 0]
  |  |  ------------------
  |  |  196|     86|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     86|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 86]
  |  |  ------------------
  |  |  198|     86|                return vret;                                            \
  |  |  199|     86|        }                                                               \
  |  |  200|     86|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 86]
  |  |  ------------------
  ------------------
 6290|     86|    return 0;
 6291|     86|}
dictobject.c:dictkeys_iter:
 6463|    190|{
 6464|    190|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6465|    190|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6465:9): [True: 0, False: 190]
  ------------------
 6466|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6467|      0|    }
 6468|    190|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6469|    190|}
dictobject.c:dictitems_iter:
 6898|   465k|{
 6899|   465k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6900|   465k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6900:9): [True: 0, False: 465k]
  ------------------
 6901|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6902|      0|    }
 6903|   465k|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 6904|   465k|}
dictobject.c:dictvalues_iter:
 7010|   120k|{
 7011|   120k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7012|   120k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7012:9): [True: 0, False: 120k]
  ------------------
 7013|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7014|      0|    }
 7015|   120k|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7016|   120k|}
dictobject.c:new_keys_object:
  789|  2.32M|{
  790|  2.32M|    Py_ssize_t usable;
  791|  2.32M|    int log2_bytes;
  792|  2.32M|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (792:25): [True: 1.92M, False: 406k]
  ------------------
  793|       |
  794|  2.32M|    assert(log2_size >= PyDict_LOG_MINSIZE);
  795|       |
  796|  2.32M|    usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  575|  2.32M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  797|  2.32M|    if (log2_size < 8) {
  ------------------
  |  Branch (797:9): [True: 2.32M, False: 254]
  ------------------
  798|  2.32M|        log2_bytes = log2_size;
  799|  2.32M|    }
  800|    254|    else if (log2_size < 16) {
  ------------------
  |  Branch (800:14): [True: 252, False: 2]
  ------------------
  801|    252|        log2_bytes = log2_size + 1;
  802|    252|    }
  803|      2|#if SIZEOF_VOID_P > 4
  804|      2|    else if (log2_size >= 32) {
  ------------------
  |  Branch (804:14): [True: 0, False: 2]
  ------------------
  805|      0|        log2_bytes = log2_size + 3;
  806|      0|    }
  807|      2|#endif
  808|      2|    else {
  809|      2|        log2_bytes = log2_size + 2;
  810|      2|    }
  811|       |
  812|  2.32M|    PyDictKeysObject *dk = NULL;
  813|  2.32M|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  4.65M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (813:9): [True: 2.26M, False: 66.4k]
  |  Branch (813:44): [True: 1.85M, False: 401k]
  ------------------
  814|  1.85M|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|  1.85M|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  815|  1.85M|    }
  816|  2.32M|    if (dk == NULL) {
  ------------------
  |  Branch (816:9): [True: 469k, False: 1.85M]
  ------------------
  817|   469k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  818|   469k|                          + ((size_t)1 << log2_bytes)
  819|   469k|                          + entry_size * usable);
  820|   469k|        if (dk == NULL) {
  ------------------
  |  Branch (820:13): [True: 0, False: 469k]
  ------------------
  821|      0|            PyErr_NoMemory();
  822|      0|            return NULL;
  823|      0|        }
  824|   469k|    }
  825|       |#ifdef Py_REF_DEBUG
  826|       |    _Py_IncRefTotal(_PyThreadState_GET());
  827|       |#endif
  828|  2.32M|    dk->dk_refcnt = 1;
  829|  2.32M|    dk->dk_log2_size = log2_size;
  830|  2.32M|    dk->dk_log2_index_bytes = log2_bytes;
  831|  2.32M|    dk->dk_kind = unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL;
  ------------------
  |  Branch (831:19): [True: 1.92M, False: 406k]
  ------------------
  832|       |#ifdef Py_GIL_DISABLED
  833|       |    dk->dk_mutex = (PyMutex){0};
  834|       |#endif
  835|  2.32M|    dk->dk_nentries = 0;
  836|  2.32M|    dk->dk_usable = usable;
  837|  2.32M|    dk->dk_version = 0;
  838|  2.32M|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  839|  2.32M|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  840|  2.32M|    return dk;
  841|  2.32M|}
dictobject.c:insert_split_key:
 1887|   690k|{
 1888|   690k|    assert(PyUnicode_CheckExact(key));
 1889|   690k|    Py_ssize_t ix;
 1890|       |
 1891|       |
 1892|       |#ifdef Py_GIL_DISABLED
 1893|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1894|       |    if (ix >= 0) {
 1895|       |        return ix;
 1896|       |    }
 1897|       |#endif
 1898|       |
 1899|   690k|    LOCK_KEYS(keys);
 1900|   690k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1901|   690k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  184|  1.38M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1901:9): [True: 12.0k, False: 678k]
  |  Branch (1901:29): [True: 4.15k, False: 7.87k]
  ------------------
 1902|       |        // Insert into new slot
 1903|  4.15k|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  172|  4.15k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1904|  4.15k|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1905|  4.15k|        ix = keys->dk_nentries;
 1906|  4.15k|        dictkeys_set_index(keys, hashpos, ix);
 1907|  4.15k|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1908|  4.15k|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  250|  4.15k|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1909|  4.15k|        split_keys_entry_added(keys);
 1910|  4.15k|    }
 1911|       |    assert (ix < SHARED_KEYS_MAX_SIZE);
 1912|   690k|    UNLOCK_KEYS(keys);
 1913|   690k|    return ix;
 1914|   690k|}
dictobject.c:split_keys_entry_added:
  264|  4.15k|{
  265|  4.15k|    keys->dk_usable--;
  266|  4.15k|    keys->dk_nentries++;
  267|  4.15k|}
dictobject.c:make_dict_from_instance_attributes:
 7167|  4.01k|{
 7168|  4.01k|    dictkeys_incref(keys);
 7169|  4.01k|    Py_ssize_t used = 0;
 7170|  4.01k|    size_t size = shared_keys_usable_size(keys);
 7171|   123k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7171:24): [True: 119k, False: 4.01k]
  ------------------
 7172|   119k|        PyObject *val = values->values[i];
 7173|   119k|        if (val != NULL) {
  ------------------
  |  Branch (7173:13): [True: 384, False: 119k]
  ------------------
 7174|    384|            used += 1;
 7175|    384|        }
 7176|   119k|    }
 7177|  4.01k|    PyDictObject *res = (PyDictObject *)new_dict(keys, values, used, 0);
 7178|  4.01k|    return res;
 7179|  4.01k|}
dictobject.c:store_instance_attr_dict:
 7361|   176k|{
 7362|   176k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7363|   176k|    int res;
 7364|   176k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|   176k|    {
  ------------------
 7365|   176k|    if (dict->ma_values == values) {
  ------------------
  |  Branch (7365:9): [True: 0, False: 176k]
  ------------------
 7366|      0|        res = store_instance_attr_lock_held(obj, values, name, value);
 7367|      0|    }
 7368|   176k|    else {
 7369|   176k|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7370|   176k|    }
 7371|   176k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   176k|    }
  ------------------
 7372|   176k|    return res;
 7373|   176k|}
dictobject.c:store_instance_attr_lock_held:
 7264|   679k|{
 7265|   679k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|   679k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7266|   679k|    assert(keys != NULL);
 7267|   679k|    assert(values != NULL);
 7268|   679k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7269|   679k|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  184|   679k|#define DKIX_EMPTY (-1)
  ------------------
 7270|   679k|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7271|   679k|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
 7272|   679k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|   679k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   679k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   679k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   679k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 679k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7273|   679k|        Py_hash_t hash = unicode_get_hash(name);
 7274|   679k|        if (hash == -1) {
  ------------------
  |  Branch (7274:13): [True: 0, False: 679k]
  ------------------
 7275|      0|            hash = PyUnicode_Type.tp_hash(name);
 7276|      0|            assert(hash != -1);
 7277|      0|        }
 7278|       |
 7279|   679k|        ix = insert_split_key(keys, name, hash);
 7280|       |
 7281|       |#ifdef Py_STATS
 7282|       |        if (ix == DKIX_EMPTY) {
 7283|       |            if (PyUnicode_CheckExact(name)) {
 7284|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7285|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7286|       |                }
 7287|       |                else {
 7288|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7289|       |                }
 7290|       |            }
 7291|       |            else {
 7292|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7293|       |            }
 7294|       |        }
 7295|       |#endif
 7296|   679k|    }
 7297|       |
 7298|   679k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|   679k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7298:9): [True: 3.93k, False: 675k]
  ------------------
 7299|  3.93k|        int res;
 7300|  3.93k|        if (dict == NULL) {
  ------------------
  |  Branch (7300:13): [True: 3.93k, False: 0]
  ------------------
 7301|       |            // Make the dict but don't publish it in the object
 7302|       |            // so that no one else will see it.
 7303|  3.93k|            dict = make_dict_from_instance_attributes(keys, values);
 7304|  3.93k|            if (dict == NULL ||
  ------------------
  |  Branch (7304:17): [True: 0, False: 3.93k]
  ------------------
 7305|  3.93k|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7305:17): [True: 0, False: 3.93k]
  ------------------
 7306|      0|                Py_XDECREF(dict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7307|      0|                return -1;
 7308|      0|            }
 7309|       |
 7310|  3.93k|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|  3.93k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7311|  3.93k|                                        (PyDictObject *)dict);
 7312|  3.93k|            return 0;
 7313|  3.93k|        }
 7314|       |
 7315|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7316|       |
 7317|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7318|      0|        return res;
 7319|  3.93k|    }
 7320|       |
 7321|   675k|    PyObject *old_value = values->values[ix];
 7322|   675k|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7322:9): [True: 397k, False: 277k]
  |  Branch (7322:30): [True: 0, False: 397k]
  ------------------
 7323|      0|        PyErr_Format(PyExc_AttributeError,
 7324|      0|                        "'%.100s' object has no attribute '%U'",
 7325|      0|                        Py_TYPE(obj)->tp_name, name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7326|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7327|      0|        return -1;
 7328|      0|    }
 7329|       |
 7330|   675k|    if (dict) {
  ------------------
  |  Branch (7330:9): [True: 40, False: 675k]
  ------------------
 7331|     40|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7331:36): [True: 30, False: 10]
  ------------------
 7332|     40|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7332:36): [True: 0, False: 10]
  ------------------
 7333|     10|                                   PyDict_EVENT_MODIFIED);
 7334|     40|        _PyDict_NotifyEvent(event, dict, name, value);
 7335|     40|    }
 7336|       |
 7337|   675k|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  164|   675k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7338|       |
 7339|   675k|    if (old_value == NULL) {
  ------------------
  |  Branch (7339:9): [True: 397k, False: 277k]
  ------------------
 7340|   397k|        _PyDictValues_AddToInsertionOrder(values, ix);
 7341|   397k|        if (dict) {
  ------------------
  |  Branch (7341:13): [True: 30, False: 397k]
  ------------------
 7342|     30|            assert(dict->ma_values == values);
 7343|     30|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  321|     30|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|     30|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7344|     30|        }
 7345|   397k|    }
 7346|   277k|    else {
 7347|   277k|        if (value == NULL) {
  ------------------
  |  Branch (7347:13): [True: 70.3k, False: 207k]
  ------------------
 7348|  70.3k|            delete_index_from_values(values, ix);
 7349|  70.3k|            if (dict) {
  ------------------
  |  Branch (7349:17): [True: 0, False: 70.3k]
  ------------------
 7350|      0|                assert(dict->ma_values == values);
 7351|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  321|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7352|      0|            }
 7353|  70.3k|        }
 7354|   277k|        Py_DECREF(old_value);
  ------------------
  |  |  430|   277k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7355|   277k|    }
 7356|   675k|    return 0;
 7357|   675k|}
dictobject.c:clear_inline_values:
 7598|   348k|{
 7599|   348k|    if (values->valid) {
  ------------------
  |  Branch (7599:9): [True: 251k, False: 97.0k]
  ------------------
 7600|   251k|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  155|   251k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7601|  2.84M|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7601:32): [True: 2.59M, False: 251k]
  ------------------
 7602|       |            Py_CLEAR(values->values[i]);
  ------------------
  |  |  484|  2.59M|    do { \
  |  |  485|  2.59M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.59M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.59M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.59M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.59M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.70M, False: 881k]
  |  |  ------------------
  |  |  488|  1.70M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.70M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.70M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.70M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.70M|        } \
  |  |  491|  2.59M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.59M]
  |  |  ------------------
  ------------------
 7603|  2.59M|        }
 7604|   251k|    }
 7605|   348k|}
dictobject.c:detach_dict_from_object:
 7779|     11|{
 7780|     11|    assert(_PyObject_ManagedDictPointer(obj)->dict == mp);
 7781|     11|    assert(_PyObject_InlineValuesConsistencyCheck(obj));
 7782|       |
 7783|     11|    if (FT_ATOMIC_LOAD_PTR_RELAXED(mp->ma_values) != _PyObject_InlineValues(obj)) {
  ------------------
  |  |  153|     11|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (7783:9): [True: 0, False: 11]
  ------------------
 7784|      0|        return 0;
 7785|      0|    }
 7786|       |
 7787|       |    // We could be called with an unlocked dict when the caller knows the
 7788|       |    // values are already detached, so we assert after inline values check.
 7789|     11|    ASSERT_WORLD_STOPPED_OR_OBJ_LOCKED(mp);
 7790|     11|    assert(mp->ma_values->embedded == 1);
 7791|     11|    assert(mp->ma_values->valid == 1);
 7792|     11|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7793|       |
 7794|     11|    PyDictValues *values = copy_values(mp->ma_values);
 7795|       |
 7796|     11|    if (values == NULL) {
  ------------------
  |  Branch (7796:9): [True: 0, False: 11]
  ------------------
 7797|      0|        PyErr_NoMemory();
 7798|      0|        return -1;
 7799|      0|    }
 7800|     11|    mp->ma_values = values;
 7801|       |
 7802|     11|    invalidate_and_clear_inline_values(_PyObject_InlineValues(obj));
 7803|       |
 7804|     11|    assert(_PyObject_InlineValuesConsistencyCheck(obj));
 7805|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|     11|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 7806|     11|    return 0;
 7807|     11|}
dictobject.c:set_keys:
  271|  1.42M|{
  272|  1.42M|    mp->ma_keys = keys;
  273|  1.42M|}
dictobject.c:dictkeys_decref:
  480|  5.38M|{
  481|  5.38M|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|  5.38M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (481:9): [True: 1.81M, False: 3.57M]
  ------------------
  482|  1.81M|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  483|  1.81M|        return;
  484|  1.81M|    }
  485|  5.38M|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  486|       |#ifdef Py_REF_DEBUG
  487|       |    _Py_DecRefTotal(_PyThreadState_GET());
  488|       |#endif
  489|  3.57M|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  252|  3.57M|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (489:9): [True: 3.56M, False: 3.98k]
  ------------------
  490|  3.56M|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  282|  3.56M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 3.20M, False: 361k]
  |  |  ------------------
  ------------------
  491|  3.20M|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  492|  3.20M|            Py_ssize_t i, n;
  493|  8.86M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (493:46): [True: 5.65M, False: 3.20M]
  ------------------
  494|  5.65M|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|  5.65M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  5.65M|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|  5.65M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|  5.65M|            }
  497|  3.20M|        }
  498|   361k|        else {
  499|   361k|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  500|   361k|            Py_ssize_t i, n;
  501|   943k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (501:46): [True: 582k, False: 361k]
  ------------------
  502|   582k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|   582k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   582k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   582k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|   582k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|   582k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   582k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   582k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|   582k|            }
  505|   361k|        }
  506|  3.56M|        free_keys_object(dk, use_qsbr);
  507|  3.56M|    }
  508|  3.57M|}
dictobject.c:ensure_managed_dict:
 7864|   425k|{
 7865|   425k|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7866|   425k|    if (dict == NULL) {
  ------------------
  |  Branch (7866:9): [True: 79, False: 425k]
  ------------------
 7867|     79|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|     79|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7868|     79|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|     79|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7868:13): [True: 79, False: 0]
  ------------------
 7869|     79|            FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(obj)->valid)) {
  ------------------
  |  |  154|     79|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (154:37): [True: 79, False: 0]
  |  |  ------------------
  ------------------
 7870|     79|            dict = _PyObject_MaterializeManagedDict(obj);
 7871|     79|        }
 7872|      0|        else {
 7873|       |#ifdef Py_GIL_DISABLED
 7874|       |            // Check again that we're not racing with someone else creating the dict
 7875|       |            Py_BEGIN_CRITICAL_SECTION(obj);
 7876|       |            dict = _PyObject_GetManagedDict(obj);
 7877|       |            if (dict != NULL) {
 7878|       |                goto done;
 7879|       |            }
 7880|       |#endif
 7881|      0|            dict = (PyDictObject *)new_dict_with_shared_keys(CACHED_KEYS(tp));
  ------------------
  |  |  870|      0|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7882|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7883|      0|                                        (PyDictObject *)dict);
 7884|       |
 7885|       |#ifdef Py_GIL_DISABLED
 7886|       |done:
 7887|       |            Py_END_CRITICAL_SECTION();
 7888|       |#endif
 7889|      0|        }
 7890|     79|    }
 7891|   425k|    return (PyObject *)dict;
 7892|   425k|}
dictobject.c:new_dict_with_shared_keys:
  951|    884|{
  952|    884|    size_t size = shared_keys_usable_size(keys);
  953|    884|    PyDictValues *values = new_values(size);
  954|    884|    if (values == NULL) {
  ------------------
  |  Branch (954:9): [True: 0, False: 884]
  ------------------
  955|      0|        return PyErr_NoMemory();
  956|      0|    }
  957|    884|    dictkeys_incref(keys);
  958|  27.4k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (958:24): [True: 26.5k, False: 884]
  ------------------
  959|       |        values->values[i] = NULL;
  960|  26.5k|    }
  961|    884|    return new_dict(keys, values, 0, 1);
  962|    884|}
dictobject.c:ensure_nonmanaged_dict:
 7896|  36.5k|{
 7897|  36.5k|    PyDictKeysObject *cached;
 7898|       |
 7899|  36.5k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  36.5k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 7900|  36.5k|    if (dict == NULL) {
  ------------------
  |  Branch (7900:9): [True: 11.3k, False: 25.1k]
  ------------------
 7901|       |#ifdef Py_GIL_DISABLED
 7902|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7903|       |        dict = *dictptr;
 7904|       |        if (dict != NULL) {
 7905|       |            goto done;
 7906|       |        }
 7907|       |#endif
 7908|  11.3k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  11.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7909|  11.3k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|  11.3k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  870|  5.79k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (7909:13): [True: 5.79k, False: 5.54k]
  |  Branch (7909:60): [True: 884, False: 4.91k]
  ------------------
 7910|    884|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
 7911|    884|            dict = new_dict_with_shared_keys(cached);
 7912|    884|        }
 7913|  10.4k|        else {
 7914|  10.4k|            dict = PyDict_New();
 7915|  10.4k|        }
 7916|  11.3k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  164|  11.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7917|       |#ifdef Py_GIL_DISABLED
 7918|       |done:
 7919|       |        Py_END_CRITICAL_SECTION();
 7920|       |#endif
 7921|  11.3k|    }
 7922|  36.5k|    return dict;
 7923|  36.5k|}
dictobject.c:get_next_dict_keys_version:
 7972|    683|{
 7973|       |#ifdef Py_GIL_DISABLED
 7974|       |    uint32_t v;
 7975|       |    do {
 7976|       |        v = _Py_atomic_load_uint32_relaxed(
 7977|       |            &interp->dict_state.next_keys_version);
 7978|       |        if (v == 0) {
 7979|       |            return 0;
 7980|       |        }
 7981|       |    } while (!_Py_atomic_compare_exchange_uint32(
 7982|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 7983|       |#else
 7984|    683|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (7984:9): [True: 0, False: 683]
  ------------------
 7985|      0|        return 0;
 7986|      0|    }
 7987|    683|    uint32_t v = interp->dict_state.next_keys_version++;
 7988|    683|#endif
 7989|    683|    return v;
 7990|    683|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1413|  10.4k|{
 1414|  10.4k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1415|       |    #ifdef Py_GIL_DISABLED
 1416|       |    if (!IS_DICT_SHARED(mp)) {
 1417|       |        // This ensures that a concurrent resize operation will delay
 1418|       |        // freeing the old keys or values using QSBR, which is necessary to
 1419|       |        // safely allow concurrent reads without locking.
 1420|       |        SET_DICT_SHARED(mp);
 1421|       |    }
 1422|       |    #endif
 1423|  10.4k|}
dictobject.c:validate_watcher_id:
 8020|    755|{
 8021|    755|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|    755|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8021:9): [True: 0, False: 755]
  |  Branch (8021:27): [True: 0, False: 755]
  ------------------
 8022|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8023|      0|        return -1;
 8024|      0|    }
 8025|    755|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  153|    755|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8026|    755|        interp->dict_state.watchers[watcher_id]);
 8027|    755|    if (cb == NULL) {
  ------------------
  |  Branch (8027:9): [True: 0, False: 755]
  ------------------
 8028|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8029|      0|        return -1;
 8030|      0|    }
 8031|    755|    return 0;
 8032|    755|}
dictobject.c:frozendict_new:
 8312|     74|{
 8313|     74|    PyObject *d = dict_new(type, args, kwds);
 8314|     74|    if (d == NULL) {
  ------------------
  |  Branch (8314:9): [True: 0, False: 74]
  ------------------
 8315|      0|        return NULL;
 8316|      0|    }
 8317|     74|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
 8318|       |
 8319|     74|    PyFrozenDictObject *self = _PyFrozenDictObject_CAST(d);
  ------------------
  |  |  443|     74|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8320|     74|    self->ma_hash = -1;
 8321|       |
 8322|     74|    if (args != NULL) {
  ------------------
  |  Branch (8322:9): [True: 0, False: 74]
  ------------------
 8323|      0|        if (dict_update_common(d, args, kwds, "frozendict") < 0) {
  ------------------
  |  Branch (8323:13): [True: 0, False: 0]
  ------------------
 8324|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8325|      0|            return NULL;
 8326|      0|        }
 8327|      0|    }
 8328|     74|    else {
 8329|     74|        assert(kwds == NULL);
 8330|     74|    }
 8331|       |
 8332|     74|    return d;
 8333|     74|}
dictobject.c:frozendict_vectorcall:
 5285|     74|{
 5286|     74|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     74|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5287|     74|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   31|     74|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 74, False: 0]
  |  |  |  Branch (31:27): [True: 74, False: 0]
  |  |  ------------------
  |  |   32|     74|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5288|      0|        return NULL;
 5289|      0|    }
 5290|       |
 5291|     74|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5291:9): [True: 20, False: 54]
  |  Branch (5291:23): [True: 20, False: 0]
  ------------------
 5292|     74|        && PyFrozenDict_CheckExact(args[0])
  ------------------
  |  |   38|     20|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|     94|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5293|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5294|      0|    {
 5295|       |        // frozendict(frozendict) returns the same object unmodified
 5296|      0|        return Py_NewRef(args[0]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5297|      0|    }
 5298|       |
 5299|     74|    PyObject *self = frozendict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|     74|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5300|     74|    if (self == NULL) {
  ------------------
  |  Branch (5300:9): [True: 0, False: 74]
  ------------------
 5301|      0|        return NULL;
 5302|      0|    }
 5303|     74|    if (nargs == 1) {
  ------------------
  |  Branch (5303:9): [True: 20, False: 54]
  ------------------
 5304|     20|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5304:13): [True: 0, False: 20]
  ------------------
 5305|      0|            Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|      0|            return NULL;
 5307|      0|        }
 5308|     20|        args++;
 5309|     20|    }
 5310|     74|    if (kwnames != NULL) {
  ------------------
  |  Branch (5310:9): [True: 52, False: 22]
  ------------------
 5311|    690|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   27|    690|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    690|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    690|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5311:32): [True: 638, False: 52]
  ------------------
 5312|    638|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   29|    638|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    638|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    638|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|    638|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5313:17): [True: 0, False: 638]
  ------------------
 5314|      0|                Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5315|      0|                return NULL;
 5316|      0|            }
 5317|    638|        }
 5318|     52|    }
 5319|     74|    return self;
 5320|     74|}
dictobject.c:_PyAnyDict_SetItem:
 2809|    638|{
 2810|    638|    assert(PyAnyDict_Check(op));
 2811|    638|    assert(key);
 2812|    638|    assert(value);
 2813|    638|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2814|    638|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|    638|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    638|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    638|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|    638|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    638|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    638|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2815|    638|}

enumobject.c:enum_dealloc:
  157|  8.21k|{
  158|  8.21k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  8.21k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  159|  8.21k|    PyObject_GC_UnTrack(en);
  160|  8.21k|    Py_XDECREF(en->en_sit);
  ------------------
  |  |  524|  8.21k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|  8.21k|    Py_XDECREF(en->en_result);
  ------------------
  |  |  524|  8.21k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  8.21k|    Py_XDECREF(en->en_longindex);
  ------------------
  |  |  524|  8.21k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  8.21k|    Py_TYPE(en)->tp_free(en);
  ------------------
  |  |  213|  8.21k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  8.21k|}
enumobject.c:enum_next:
  234|  12.8k|{
  235|  12.8k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  12.8k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  236|  12.8k|    PyObject *next_index;
  237|  12.8k|    PyObject *next_item;
  238|  12.8k|    PyObject *result = en->en_result;
  239|  12.8k|    PyObject *it = en->en_sit;
  240|  12.8k|    PyObject *old_index;
  241|  12.8k|    PyObject *old_item;
  242|       |
  243|  12.8k|    next_item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  12.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  12.8k|    if (next_item == NULL)
  ------------------
  |  Branch (244:9): [True: 8.18k, False: 4.63k]
  ------------------
  245|  8.18k|        return NULL;
  246|       |
  247|  4.63k|    Py_ssize_t en_index = FT_ATOMIC_LOAD_SSIZE_RELAXED(en->en_index);
  ------------------
  |  |  149|  4.63k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  248|  4.63k|    if (en_index == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  4.63k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (248:9): [True: 0, False: 4.63k]
  ------------------
  249|      0|        return enum_next_long(en, next_item);
  250|       |
  251|  4.63k|    next_index = PyLong_FromSsize_t(en_index);
  252|  4.63k|    if (next_index == NULL) {
  ------------------
  |  Branch (252:9): [True: 0, False: 4.63k]
  ------------------
  253|      0|        Py_DECREF(next_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  254|      0|        return NULL;
  255|      0|    }
  256|  4.63k|    FT_ATOMIC_STORE_SSIZE_RELAXED(en->en_index, en_index + 1);
  ------------------
  |  |  194|  4.63k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  257|       |
  258|  4.63k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (258:9): [True: 4.63k, False: 0]
  ------------------
  259|  4.63k|        Py_INCREF(result);
  ------------------
  |  |  310|  4.63k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|  4.63k|        old_index = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|  4.63k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|  4.63k|        old_item = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|  4.63k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  262|  4.63k|        PyTuple_SET_ITEM(result, 0, next_index);
  ------------------
  |  |   40|  4.63k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|  4.63k|        PyTuple_SET_ITEM(result, 1, next_item);
  ------------------
  |  |   40|  4.63k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|  4.63k|        Py_DECREF(old_index);
  ------------------
  |  |  430|  4.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|  4.63k|        Py_DECREF(old_item);
  ------------------
  |  |  430|  4.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
  267|       |        // recycling it, make sure it's tracked again:
  268|  4.63k|        _PyTuple_Recycle(result);
  269|  4.63k|        return result;
  270|  4.63k|    }
  271|      0|    return _PyTuple_FromPairSteal(next_index, next_item);
  272|  4.63k|}
enumobject.c:enum_new_impl:
   50|  8.21k|{
   51|  8.21k|    enumobject *en;
   52|       |
   53|  8.21k|    en = (enumobject *)type->tp_alloc(type, 0);
   54|  8.21k|    if (en == NULL)
  ------------------
  |  Branch (54:9): [True: 0, False: 8.21k]
  ------------------
   55|      0|        return NULL;
   56|  8.21k|    if (start != NULL) {
  ------------------
  |  Branch (56:9): [True: 2, False: 8.21k]
  ------------------
   57|      2|        start = PyNumber_Index(start);
   58|      2|        if (start == NULL) {
  ------------------
  |  Branch (58:13): [True: 0, False: 2]
  ------------------
   59|      0|            Py_DECREF(en);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      0|            return NULL;
   61|      0|        }
   62|      2|        assert(PyLong_Check(start));
   63|      2|        en->en_index = PyLong_AsSsize_t(start);
   64|      2|        if (en->en_index == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (64:13): [True: 0, False: 2]
  |  Branch (64:35): [True: 0, False: 0]
  ------------------
   65|      0|            PyErr_Clear();
   66|      0|            en->en_index = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
   67|      0|            en->en_longindex = start;
   68|      2|        } else {
   69|      2|            en->en_longindex = NULL;
   70|      2|            Py_DECREF(start);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|      2|        }
   72|  8.21k|    } else {
   73|  8.21k|        en->en_index = 0;
   74|  8.21k|        en->en_longindex = NULL;
   75|  8.21k|    }
   76|  8.21k|    en->en_sit = PyObject_GetIter(iterable);
   77|  8.21k|    if (en->en_sit == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 8.21k]
  ------------------
   78|      0|        Py_DECREF(en);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      0|        return NULL;
   80|      0|    }
   81|  8.21k|    en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  8.21k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  8.21k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   82|  8.21k|    if (en->en_result == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 8.21k]
  ------------------
   83|      0|        Py_DECREF(en);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|        return NULL;
   85|      0|    }
   86|  8.21k|    en->one = _PyLong_GetOne();    /* borrowed reference */
   87|  8.21k|    return (PyObject *)en;
   88|  8.21k|}
enumobject.c:enumerate_vectorcall:
  106|  8.21k|{
  107|  8.21k|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|  8.21k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  108|  8.21k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  8.21k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  109|  8.21k|    Py_ssize_t nkwargs = 0;
  110|  8.21k|    if (kwnames != NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 8.21k]
  ------------------
  111|      0|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      0|    }
  113|       |
  114|       |    // Manually implement enumerate(iterable, start=...)
  115|  8.21k|    if (nargs + nkwargs == 2) {
  ------------------
  |  Branch (115:9): [True: 2, False: 8.21k]
  ------------------
  116|      2|        if (nkwargs == 1) {
  ------------------
  |  Branch (116:13): [True: 0, False: 2]
  ------------------
  117|      0|            if (!check_keyword(kwnames, 0, "start")) {
  ------------------
  |  Branch (117:17): [True: 0, False: 0]
  ------------------
  118|      0|                return NULL;
  119|      0|            }
  120|      2|        } else if (nkwargs == 2) {
  ------------------
  |  Branch (120:20): [True: 0, False: 2]
  ------------------
  121|      0|            PyObject *kw0 = PyTuple_GET_ITEM(kwnames, 0);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|      0|            if (_PyUnicode_EqualToASCIIString(kw0, "start")) {
  ------------------
  |  Branch (122:17): [True: 0, False: 0]
  ------------------
  123|      0|                if (!check_keyword(kwnames, 1, "iterable")) {
  ------------------
  |  Branch (123:21): [True: 0, False: 0]
  ------------------
  124|      0|                    return NULL;
  125|      0|                }
  126|      0|                return enum_new_impl(tp, args[1], args[0]);
  127|      0|            }
  128|      0|            if (!check_keyword(kwnames, 0, "iterable") ||
  ------------------
  |  Branch (128:17): [True: 0, False: 0]
  ------------------
  129|      0|                !check_keyword(kwnames, 1, "start")) {
  ------------------
  |  Branch (129:17): [True: 0, False: 0]
  ------------------
  130|      0|                return NULL;
  131|      0|            }
  132|       |
  133|      0|        }
  134|      2|        return enum_new_impl(tp, args[0], args[1]);
  135|      2|    }
  136|       |
  137|  8.21k|    if (nargs + nkwargs == 1) {
  ------------------
  |  Branch (137:9): [True: 8.21k, False: 0]
  ------------------
  138|  8.21k|        if (nkwargs == 1 && !check_keyword(kwnames, 0, "iterable")) {
  ------------------
  |  Branch (138:13): [True: 0, False: 8.21k]
  |  Branch (138:29): [True: 0, False: 0]
  ------------------
  139|      0|            return NULL;
  140|      0|        }
  141|  8.21k|        return enum_new_impl(tp, args[0], NULL);
  142|  8.21k|    }
  143|       |
  144|      0|    if (nargs == 0) {
  ------------------
  |  Branch (144:9): [True: 0, False: 0]
  ------------------
  145|      0|        PyErr_SetString(PyExc_TypeError,
  146|      0|            "enumerate() missing required argument 'iterable'");
  147|      0|        return NULL;
  148|      0|    }
  149|       |
  150|      0|    PyErr_Format(PyExc_TypeError,
  151|      0|        "enumerate() takes at most 2 arguments (%zd given)", nargs + nkwargs);
  152|       |    return NULL;
  153|      0|}
enumobject.c:reversed_dealloc:
  424|     12|{
  425|     12|    reversedobject *ro = _reversedobject_CAST(op);
  ------------------
  |  |  350|     12|#define _reversedobject_CAST(op)    ((reversedobject *)(op))
  ------------------
  426|     12|    PyObject_GC_UnTrack(ro);
  427|     12|    Py_XDECREF(ro->seq);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|     12|    Py_TYPE(ro)->tp_free(ro);
  ------------------
  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|     12|}
enumobject.c:reversed_next:
  441|     28|{
  442|     28|    reversedobject *ro = _reversedobject_CAST(op);
  ------------------
  |  |  350|     28|#define _reversedobject_CAST(op)    ((reversedobject *)(op))
  ------------------
  443|     28|    PyObject *item;
  444|     28|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(ro->index);
  ------------------
  |  |  149|     28|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  445|       |
  446|     28|    if (index >= 0) {
  ------------------
  |  Branch (446:9): [True: 18, False: 10]
  ------------------
  447|     18|        item = PySequence_GetItem(ro->seq, index);
  448|     18|        if (item != NULL) {
  ------------------
  |  Branch (448:13): [True: 18, False: 0]
  ------------------
  449|     18|            FT_ATOMIC_STORE_SSIZE_RELAXED(ro->index, index - 1);
  ------------------
  |  |  194|     18|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  450|     18|            return item;
  451|     18|        }
  452|      0|        if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (452:13): [True: 0, False: 0]
  ------------------
  453|      0|            PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (453:13): [True: 0, False: 0]
  ------------------
  454|      0|            PyErr_Clear();
  455|      0|    }
  456|     10|    FT_ATOMIC_STORE_SSIZE_RELAXED(ro->index, -1);
  ------------------
  |  |  194|     10|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  457|     10|#ifndef Py_GIL_DISABLED
  458|     10|    Py_CLEAR(ro->seq);
  ------------------
  |  |  484|     10|    do { \
  |  |  485|     10|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     10|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     10|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10, False: 0]
  |  |  ------------------
  |  |  488|     10|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     10|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     10|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     10|        } \
  |  |  491|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  459|     10|#endif
  460|       |    return NULL;
  461|     28|}
enumobject.c:reversed_new_impl:
  365|    400|{
  366|    400|    Py_ssize_t n;
  367|    400|    PyObject *reversed_meth;
  368|    400|    reversedobject *ro;
  369|       |
  370|    400|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  919|    400|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    400|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    400|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|    400|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|    400|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (371:9): [True: 0, False: 400]
  ------------------
  372|      0|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|      0|        PyErr_Format(PyExc_TypeError,
  374|      0|                     "'%.200s' object is not reversible",
  375|      0|                     Py_TYPE(seq)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|      0|        return NULL;
  377|      0|    }
  378|    400|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (378:9): [True: 388, False: 12]
  ------------------
  379|    388|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  380|    388|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|    388|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|    388|        return res;
  382|    388|    }
  383|     12|    else if (PyErr_Occurred())
  ------------------
  |  Branch (383:14): [True: 0, False: 12]
  ------------------
  384|      0|        return NULL;
  385|       |
  386|     12|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (386:9): [True: 0, False: 12]
  ------------------
  387|      0|        PyErr_Format(PyExc_TypeError,
  388|      0|                     "'%.200s' object is not reversible",
  389|      0|                     Py_TYPE(seq)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|      0|        return NULL;
  391|      0|    }
  392|       |
  393|     12|    n = PySequence_Size(seq);
  394|     12|    if (n == -1)
  ------------------
  |  Branch (394:9): [True: 0, False: 12]
  ------------------
  395|      0|        return NULL;
  396|       |
  397|     12|    ro = (reversedobject *)type->tp_alloc(type, 0);
  398|     12|    if (ro == NULL)
  ------------------
  |  Branch (398:9): [True: 0, False: 12]
  ------------------
  399|      0|        return NULL;
  400|       |
  401|     12|    ro->index = n-1;
  402|     12|    ro->seq = Py_NewRef(seq);
  ------------------
  |  |  550|     12|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|     12|    return (PyObject *)ro;
  404|     12|}
enumobject.c:reversed_vectorcall:
  409|    400|{
  410|    400|    if (!_PyArg_NoKwnames("reversed", kwnames)) {
  ------------------
  |  |   15|    400|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 400, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  411|      0|        return NULL;
  412|      0|    }
  413|       |
  414|    400|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    400|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  415|    400|    if (!_PyArg_CheckPositional("reversed", nargs, 1, 1)) {
  ------------------
  |  |   31|    400|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 400, False: 0]
  |  |  |  Branch (31:27): [True: 400, False: 0]
  |  |  ------------------
  |  |   32|    400|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|       |
  419|    400|    return reversed_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|    400|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  420|    400|}

PyException_GetTraceback:
  512|  4.81M|{
  513|  4.81M|    PyObject *traceback;
  514|  4.81M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  4.81M|    {
  ------------------
  515|  4.81M|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  551|  4.81M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  4.81M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.81M|    }
  ------------------
  517|  4.81M|    return traceback;
  518|  4.81M|}
PyException_SetTraceback:
  523|  2.84M|{
  524|  2.84M|    int res;
  525|  2.84M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.84M|    {
  ------------------
  526|  2.84M|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  527|  2.84M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.84M|    }
  ------------------
  528|  2.84M|    return res;
  529|  2.84M|}
PyException_SetCause:
  544|     66|{
  545|     66|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     66|    {
  ------------------
  546|     66|    PyBaseExceptionObject *base_self = PyBaseExceptionObject_CAST(self);
  547|     66|    base_self->suppress_context = 1;
  548|     66|    Py_XSETREF(base_self->cause, cause);
  ------------------
  |  |  374|     66|    do { \
  |  |  375|     66|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     66|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     66|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     66|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     66|        *_tmp_dst_ptr = (src); \
  |  |  378|     66|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     66|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
  549|     66|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     66|    }
  ------------------
  550|     66|}
PyException_GetContext:
  554|   385k|{
  555|   385k|    PyObject *context;
  556|   385k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   385k|    {
  ------------------
  557|   385k|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  551|   385k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   385k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|   385k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   385k|    }
  ------------------
  559|   385k|    return context;
  560|   385k|}
PyException_SetContext:
  565|   385k|{
  566|   385k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   385k|    {
  ------------------
  567|   385k|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  374|   385k|    do { \
  |  |  375|   385k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   385k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|   385k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   385k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|   385k|        *_tmp_dst_ptr = (src); \
  |  |  378|   385k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|   385k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   385k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|   385k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 385k]
  |  |  ------------------
  ------------------
  568|   385k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   385k|    }
  ------------------
  569|   385k|}
_PyExc_InitTypes:
 4492|      2|{
 4493|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4493:22): [True: 138, False: 2]
  ------------------
 4494|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4495|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4495:13): [True: 0, False: 138]
  ------------------
 4496|      0|            return -1;
 4497|      0|        }
 4498|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4498:13): [True: 102, False: 36]
  ------------------
 4499|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4499:16): [True: 72, False: 30]
  ------------------
 4500|     72|        {
 4501|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4502|     72|        }
 4503|    138|    }
 4504|      2|    return 0;
 4505|      2|}
_PyExc_InitGlobalObjects:
 4520|      2|{
 4521|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4521:9): [True: 0, False: 2]
  ------------------
 4522|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4523|      0|    }
 4524|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4525|      2|}
_PyExc_InitState:
 4529|      2|{
 4530|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4531|       |
 4532|      2|#define ADD_ERRNO(TYPE, CODE) \
 4533|      2|    do { \
 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4537|      2|            Py_XDECREF(_code); \
 4538|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4539|      2|        } \
 4540|      2|        Py_DECREF(_code); \
 4541|      2|    } while (0)
 4542|       |
 4543|       |    /* Add exceptions to errnomap */
 4544|      2|    assert(state->errnomap == NULL);
 4545|      2|    state->errnomap = PyDict_New();
 4546|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4546:9): [True: 0, False: 2]
  ------------------
 4547|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4548|      0|    }
 4549|       |
 4550|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4551|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4552|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4553|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4554|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4555|      2|#ifdef ESHUTDOWN
 4556|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4557|      2|#endif
 4558|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4559|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4560|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4561|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4562|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4563|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4564|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4565|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4566|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4567|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4568|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4569|       |#ifdef ENOTCAPABLE
 4570|       |    // Extension for WASI capability-based security. Process lacks
 4571|       |    // capability to access a resource.
 4572|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4573|       |#endif
 4574|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4575|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4533|      2|    do { \
  |  | 4534|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4535|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4536|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4536:13): [True: 0, False: 2]
  |  |  |  Branch (4536:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4537|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4538|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4539|      0|        } \
  |  | 4540|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4541|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4541:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4576|       |#ifdef WSAETIMEDOUT
 4577|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4578|       |#endif
 4579|       |
 4580|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4581|       |
 4582|      2|#undef ADD_ERRNO
 4583|      2|}
_PyBuiltins_AddExceptions:
 4589|      2|{
 4590|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4591|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4591:9): [True: 0, False: 2]
  ------------------
 4592|      0|        return -1;
 4593|      0|    }
 4594|       |
 4595|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4595:22): [True: 138, False: 2]
  ------------------
 4596|    138|        struct static_exception item = static_exceptions[i];
 4597|       |
 4598|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4598:13): [True: 0, False: 138]
  ------------------
 4599|      0|            return -1;
 4600|      0|        }
 4601|    138|    }
 4602|       |
 4603|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4604|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4604:9): [True: 0, False: 2]
  ------------------
 4605|      0|        return -1;
 4606|      0|    }
 4607|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 2]
  ------------------
 4608|      0|        return -1;
 4609|      0|    }
 4610|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4610:9): [True: 0, False: 2]
  ------------------
 4611|      0|        return -1;
 4612|      0|    }
 4613|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4613:9): [True: 0, False: 2]
  ------------------
 4614|      0|        return -1;
 4615|      0|    }
 4616|       |#ifdef MS_WINDOWS
 4617|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4618|       |        return -1;
 4619|       |    }
 4620|       |#endif
 4621|      2|    return 0;
 4622|      2|}
exceptions.c:PyBaseExceptionObject_CAST:
   43|  12.1M|{
   44|       |    assert(PyExceptionInstance_Check(exc));
   45|  12.1M|    return (PyBaseExceptionObject *)exc;
   46|  12.1M|}
exceptions.c:BaseException___traceback___set_impl:
  393|  2.86M|{
  394|  2.86M|    if (value == NULL) {
  ------------------
  |  Branch (394:9): [True: 0, False: 2.86M]
  ------------------
  395|      0|        PyErr_SetString(PyExc_TypeError, "__traceback__ may not be deleted");
  396|      0|        return -1;
  397|      0|    }
  398|  2.86M|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|  2.86M|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  2.86M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.86M, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|  2.86M|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  374|  2.86M|    do { \
  |  |  375|  2.86M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.86M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.86M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.86M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.86M|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.86M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.86M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.86M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.86M]
  |  |  ------------------
  ------------------
  400|  2.86M|    }
  401|     34|    else if (value == Py_None) {
  ------------------
  |  |  616|     34|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (401:14): [True: 34, False: 0]
  ------------------
  402|     34|        Py_CLEAR(self->traceback);
  ------------------
  |  |  484|     34|    do { \
  |  |  485|     34|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     34|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     34|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 34, False: 0]
  |  |  ------------------
  |  |  488|     34|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     34|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     34|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     34|        } \
  |  |  491|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
  403|     34|    }
  404|      0|    else {
  405|      0|        PyErr_SetString(PyExc_TypeError,
  406|      0|                        "__traceback__ must be a traceback or None");
  407|      0|        return -1;
  408|      0|    }
  409|  2.86M|    return 0;
  410|  2.86M|}
exceptions.c:BaseException_dealloc:
  139|   493k|{
  140|   493k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  141|   493k|    PyObject_GC_UnTrack(self);
  142|       |    // bpo-44348: The trashcan mechanism prevents stack overflow when deleting
  143|       |    // long chains of exceptions. For example, exceptions can be chained
  144|       |    // through the __context__ attributes or the __traceback__ attribute.
  145|   493k|    (void)BaseException_clear(op);
  146|   493k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   493k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   493k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   493k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|   493k|}
exceptions.c:StopIteration_dealloc:
  773|    164|{
  774|    164|    PyObject_GC_UnTrack(self);
  775|    164|    (void)StopIteration_clear(self);
  776|    164|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    164|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|    164|}
exceptions.c:PyStopIterationObject_CAST:
  740|    328|{
  741|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_StopIteration));
  742|    328|    return (PyStopIterationObject *)self;
  743|    328|}
exceptions.c:StopIteration_clear:
  765|    164|{
  766|    164|    PyStopIterationObject *self = PyStopIterationObject_CAST(op);
  767|       |    Py_CLEAR(self->value);
  ------------------
  |  |  484|    164|    do { \
  |  |  485|    164|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    164|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    164|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    164|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    164|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 164, False: 0]
  |  |  ------------------
  |  |  488|    164|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    164|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    164|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    164|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    164|        } \
  |  |  491|    164|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
  768|    164|    return BaseException_clear(op);
  769|    164|}
exceptions.c:StopIteration_init:
  747|    164|{
  748|    164|    Py_ssize_t size = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    164|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|    164|    PyObject *value;
  750|       |
  751|    164|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (751:9): [True: 0, False: 164]
  ------------------
  752|      0|        return -1;
  753|    164|    PyStopIterationObject *self = PyStopIterationObject_CAST(op);
  754|    164|    Py_CLEAR(self->value);
  ------------------
  |  |  484|    164|    do { \
  |  |  485|    164|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    164|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    164|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    164|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    164|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 164]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    164|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
  755|    164|    if (size > 0)
  ------------------
  |  Branch (755:9): [True: 2, False: 162]
  ------------------
  756|      2|        value = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|    162|    else
  758|    162|        value = Py_None;
  ------------------
  |  |  616|    162|#  define Py_None (&_Py_NoneStruct)
  ------------------
  759|    164|    self->value = Py_NewRef(value);
  ------------------
  |  |  550|    164|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|    164|    return 0;
  761|    164|}
exceptions.c:get_exc_state:
   31|  54.5k|{
   32|  54.5k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   33|  54.5k|    return &interp->exc_state;
   34|  54.5k|}
exceptions.c:ImportError_dealloc:
 1848|    104|{
 1849|    104|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|    104|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|    104|    (void)ImportError_clear(self);
 1851|    104|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    104|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|    104|}
exceptions.c:PyImportErrorObject_CAST:
 1794|    212|{
 1795|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
 1796|    212|    return (PyImportErrorObject *)self;
 1797|    212|}
exceptions.c:ImportError_traverse:
 1856|      4|{
 1857|      4|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1858|      4|    Py_VISIT(self->msg);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1859|      4|    Py_VISIT(self->name);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1860|      4|    Py_VISIT(self->path);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1861|      4|    Py_VISIT(self->name_from);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1862|      4|    return BaseException_traverse(op, visit, arg);
 1863|      4|}
exceptions.c:ImportError_clear:
 1837|    104|{
 1838|    104|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1839|    104|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|    104|    do { \
  |  |  485|    104|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    104|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    104|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 104, False: 0]
  |  |  ------------------
  |  |  488|    104|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    104|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    104|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    104|        } \
  |  |  491|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1840|    104|    Py_CLEAR(self->name);
  ------------------
  |  |  484|    104|    do { \
  |  |  485|    104|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    104|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    104|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 36, False: 68]
  |  |  ------------------
  |  |  488|     36|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     36|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     36|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     36|        } \
  |  |  491|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1841|    104|    Py_CLEAR(self->path);
  ------------------
  |  |  484|    104|    do { \
  |  |  485|    104|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    104|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    104|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 72, False: 32]
  |  |  ------------------
  |  |  488|     72|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     72|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     72|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     72|        } \
  |  |  491|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1842|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  484|    104|    do { \
  |  |  485|    104|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    104|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    104|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 100]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1843|    104|    return BaseException_clear(op);
 1844|    104|}
exceptions.c:ImportError_init:
 1801|    104|{
 1802|    104|    static char *kwlist[] = {"name", "path", "name_from", 0};
 1803|    104|    PyObject *empty_tuple;
 1804|    104|    PyObject *msg = NULL;
 1805|    104|    PyObject *name = NULL;
 1806|    104|    PyObject *path = NULL;
 1807|    104|    PyObject *name_from = NULL;
 1808|       |
 1809|    104|    if (BaseException_init(op, args, NULL) == -1)
  ------------------
  |  Branch (1809:9): [True: 0, False: 104]
  ------------------
 1810|      0|        return -1;
 1811|       |
 1812|    104|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1813|    104|    empty_tuple = PyTuple_New(0);
 1814|    104|    if (!empty_tuple)
  ------------------
  |  Branch (1814:9): [True: 0, False: 104]
  ------------------
 1815|      0|        return -1;
 1816|    104|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OOO:ImportError", kwlist,
  ------------------
  |  Branch (1816:9): [True: 0, False: 104]
  ------------------
 1817|    104|                                     &name, &path, &name_from)) {
 1818|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|      0|        return -1;
 1820|      0|    }
 1821|    104|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|       |
 1823|    104|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|    104|    do { \
  |  |  375|    104|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    104|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    104|        *_tmp_dst_ptr = (src); \
  |  |  378|    104|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1824|    104|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  374|    104|    do { \
  |  |  375|    104|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    104|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    104|        *_tmp_dst_ptr = (src); \
  |  |  378|    104|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1825|    104|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  374|    104|    do { \
  |  |  375|    104|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    104|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    104|        *_tmp_dst_ptr = (src); \
  |  |  378|    104|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1826|       |
 1827|    104|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|    104|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1827:9): [True: 104, False: 0]
  ------------------
 1828|    104|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  550|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|    104|    }
 1830|    104|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  374|    104|    do { \
  |  |  375|    104|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    104|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    104|        *_tmp_dst_ptr = (src); \
  |  |  378|    104|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 1831|       |
 1832|    104|    return 0;
 1833|    104|}
exceptions.c:OSError_dealloc:
 2322|  54.4k|{
 2323|  54.4k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  54.4k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|  54.4k|    (void)OSError_clear(self);
 2325|  54.4k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  54.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|  54.4k|}
exceptions.c:PyOSErrorObject_CAST:
 2036|   108k|{
 2037|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
 2038|   108k|    return (PyOSErrorObject *)self;
 2039|   108k|}
exceptions.c:OSError_clear:
 2308|  54.4k|{
 2309|  54.4k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2310|  54.4k|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  484|  54.4k|    do { \
  |  |  485|  54.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.4k, False: 7]
  |  |  ------------------
  |  |  488|  54.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.4k|        } \
  |  |  491|  54.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.4k]
  |  |  ------------------
  ------------------
 2311|  54.4k|    Py_CLEAR(self->strerror);
  ------------------
  |  |  484|  54.4k|    do { \
  |  |  485|  54.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.4k, False: 7]
  |  |  ------------------
  |  |  488|  54.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.4k|        } \
  |  |  491|  54.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.4k]
  |  |  ------------------
  ------------------
 2312|  54.4k|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|  54.4k|    do { \
  |  |  485|  54.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.4k, False: 17]
  |  |  ------------------
  |  |  488|  54.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.4k|        } \
  |  |  491|  54.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.4k]
  |  |  ------------------
  ------------------
 2313|  54.4k|    Py_CLEAR(self->filename2);
  ------------------
  |  |  484|  54.4k|    do { \
  |  |  485|  54.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 54.4k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  54.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.4k]
  |  |  ------------------
  ------------------
 2314|       |#ifdef MS_WINDOWS
 2315|       |    Py_CLEAR(self->winerror);
 2316|       |#endif
 2317|  54.4k|    return BaseException_clear(op);
 2318|  54.4k|}
exceptions.c:OSError_init:
 2269|  54.4k|{
 2270|  54.4k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2271|  54.4k|    PyObject *myerrno = NULL, *strerror = NULL;
 2272|  54.4k|    PyObject *filename = NULL, *filename2 = NULL;
 2273|       |#ifdef MS_WINDOWS
 2274|       |    PyObject *winerror = NULL;
 2275|       |#endif
 2276|       |
 2277|  54.4k|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|  54.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2277:9): [True: 54.4k, False: 0]
  ------------------
 2278|       |        /* Everything already done in OSError_new */
 2279|  54.4k|        return 0;
 2280|       |
 2281|      0|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 0, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2282|      0|        return -1;
 2283|       |
 2284|      0|    Py_INCREF(args);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|       |#ifdef MS_WINDOWS
 2287|       |                           , &winerror
 2288|       |#endif
 2289|      0|        ))
 2290|      0|        goto error;
 2291|       |
 2292|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|       |#ifdef MS_WINDOWS
 2294|       |                     , winerror
 2295|       |#endif
 2296|      0|        ))
 2297|      0|        goto error;
 2298|       |
 2299|      0|    return 0;
 2300|       |
 2301|      0|error:
 2302|      0|    Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      0|    return -1;
 2304|      0|}
exceptions.c:oserror_use_init:
 2181|   163k|{
 2182|       |    /* When __init__ is defined in an OSError subclass, we want any
 2183|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2184|       |       solution, given __new__ takes a variable number of arguments,
 2185|       |       is to defer arg parsing and initialization to __init__.
 2186|       |
 2187|       |       But when __new__ is overridden as well, it should call our __new__
 2188|       |       with the right arguments.
 2189|       |
 2190|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2191|       |    */
 2192|   163k|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2192:9): [True: 0, False: 163k]
  |  Branch (2192:42): [True: 0, False: 0]
  ------------------
 2193|      0|        assert((PyObject *) type != PyExc_OSError);
 2194|      0|        return 1;
 2195|      0|    }
 2196|   163k|    return 0;
 2197|   163k|}
exceptions.c:oserror_parse_args:
 2070|  54.4k|{
 2071|  54.4k|    Py_ssize_t nargs;
 2072|  54.4k|    PyObject *args = *p_args;
 2073|  54.4k|#ifndef MS_WINDOWS
 2074|       |    /*
 2075|       |     * ignored on non-Windows platforms,
 2076|       |     * but parsed so OSError has a consistent signature
 2077|       |     */
 2078|  54.4k|    PyObject *_winerror = NULL;
 2079|  54.4k|    PyObject **winerror = &_winerror;
 2080|  54.4k|#endif /* MS_WINDOWS */
 2081|       |
 2082|  54.4k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  54.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|       |
 2084|  54.4k|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2084:9): [True: 54.4k, False: 7]
  |  Branch (2084:23): [True: 54.4k, False: 0]
  ------------------
 2085|  54.4k|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2085:13): [True: 0, False: 54.4k]
  ------------------
 2086|  54.4k|                               myerrno, strerror,
 2087|  54.4k|                               filename, winerror, filename2))
 2088|      0|            return -1;
 2089|       |#ifdef MS_WINDOWS
 2090|       |        if (*winerror && PyLong_Check(*winerror)) {
 2091|       |            long errcode, winerrcode;
 2092|       |            PyObject *newargs;
 2093|       |            Py_ssize_t i;
 2094|       |
 2095|       |            winerrcode = PyLong_AsLong(*winerror);
 2096|       |            if (winerrcode == -1 && PyErr_Occurred())
 2097|       |                return -1;
 2098|       |            errcode = winerror_to_errno(winerrcode);
 2099|       |            *myerrno = PyLong_FromLong(errcode);
 2100|       |            if (!*myerrno)
 2101|       |                return -1;
 2102|       |            newargs = PyTuple_New(nargs);
 2103|       |            if (!newargs)
 2104|       |                return -1;
 2105|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2106|       |            for (i = 1; i < nargs; i++) {
 2107|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2108|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2109|       |            }
 2110|       |            Py_DECREF(args);
 2111|       |            args = *p_args = newargs;
 2112|       |        }
 2113|       |#endif /* MS_WINDOWS */
 2114|  54.4k|    }
 2115|       |
 2116|  54.4k|    return 0;
 2117|  54.4k|}
exceptions.c:oserror_init:
 2127|  54.4k|{
 2128|  54.4k|    PyObject *args = *p_args;
 2129|  54.4k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  54.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|       |
 2131|       |    /* self->filename will remain Py_None otherwise */
 2132|  54.4k|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|  54.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2132:9): [True: 54.4k, False: 17]
  |  Branch (2132:21): [True: 54.4k, False: 0]
  ------------------
 2133|  54.4k|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  215|   108k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 54.4k]
  |  |  ------------------
  ------------------
 2134|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2134:13): [True: 0, False: 0]
  ------------------
 2135|       |            /* BlockingIOError's 3rd argument can be the number of
 2136|       |             * characters written.
 2137|       |             */
 2138|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2139|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2139:17): [True: 0, False: 0]
  |  Branch (2139:40): [True: 0, False: 0]
  ------------------
 2140|      0|                return -1;
 2141|      0|        }
 2142|  54.4k|        else {
 2143|  54.4k|            self->filename = Py_NewRef(filename);
  ------------------
  |  |  550|  54.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|       |
 2145|  54.4k|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:17): [True: 0, False: 54.4k]
  |  Branch (2145:30): [True: 0, False: 0]
  ------------------
 2146|      0|                self->filename2 = Py_NewRef(filename2);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2147|      0|            }
 2148|       |
 2149|  54.4k|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2149:17): [True: 54.4k, False: 0]
  |  Branch (2149:31): [True: 54.4k, False: 0]
  ------------------
 2150|       |                /* filename, filename2, and winerror are removed from the args tuple
 2151|       |                   (for compatibility purposes, see test_exceptions.py) */
 2152|  54.4k|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2153|  54.4k|                if (!subslice)
  ------------------
  |  Branch (2153:21): [True: 0, False: 54.4k]
  ------------------
 2154|      0|                    return -1;
 2155|       |
 2156|  54.4k|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2157|  54.4k|                *p_args = args = subslice;
 2158|  54.4k|            }
 2159|  54.4k|        }
 2160|  54.4k|    }
 2161|  54.4k|    self->myerrno = Py_XNewRef(myerrno);
  ------------------
  |  |  551|  54.4k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|  54.4k|    self->strerror = Py_XNewRef(strerror);
  ------------------
  |  |  551|  54.4k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|       |#ifdef MS_WINDOWS
 2164|       |    self->winerror = Py_XNewRef(winerror);
 2165|       |#endif
 2166|       |
 2167|       |    /* Steals the reference to args */
 2168|  54.4k|    Py_XSETREF(self->args, args);
  ------------------
  |  |  374|  54.4k|    do { \
  |  |  375|  54.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.4k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.4k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.4k]
  |  |  ------------------
  ------------------
 2169|  54.4k|    *p_args = args = NULL;
 2170|       |
 2171|  54.4k|    return 0;
 2172|  54.4k|}
exceptions.c:OSError_new:
 2201|  54.4k|{
 2202|  54.4k|    PyOSErrorObject *self = NULL;
 2203|  54.4k|    PyObject *myerrno = NULL, *strerror = NULL;
 2204|  54.4k|    PyObject *filename = NULL, *filename2 = NULL;
 2205|       |#ifdef MS_WINDOWS
 2206|       |    PyObject *winerror = NULL;
 2207|       |#endif
 2208|       |
 2209|  54.4k|    Py_INCREF(args);
  ------------------
  |  |  310|  54.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|       |
 2211|  54.4k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2211:9): [True: 54.4k, False: 0]
  ------------------
 2212|  54.4k|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   25|  54.4k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 54.4k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2213|      0|            goto error;
 2214|       |
 2215|  54.4k|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2215:13): [True: 0, False: 54.4k]
  ------------------
 2216|  54.4k|                               &filename, &filename2
 2217|       |#ifdef MS_WINDOWS
 2218|       |                               , &winerror
 2219|       |#endif
 2220|  54.4k|            ))
 2221|      0|            goto error;
 2222|       |
 2223|  54.4k|        struct _Py_exc_state *state = get_exc_state();
 2224|  54.4k|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|  54.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   108k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 54.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2224:13): [True: 54.4k, False: 7]
  ------------------
 2225|  54.4k|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2225:13): [True: 54.4k, False: 0]
  |  Branch (2225:32): [True: 54.4k, False: 0]
  ------------------
 2226|  54.4k|            PyObject *newtype;
 2227|  54.4k|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2228|  54.4k|            if (newtype) {
  ------------------
  |  Branch (2228:17): [True: 54.4k, False: 2]
  ------------------
 2229|  54.4k|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|  54.4k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2230|  54.4k|            }
 2231|      2|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2231:22): [True: 0, False: 2]
  ------------------
 2232|      0|                goto error;
 2233|  54.4k|        }
 2234|  54.4k|    }
 2235|       |
 2236|  54.4k|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2237|  54.4k|    if (!self)
  ------------------
  |  Branch (2237:9): [True: 0, False: 54.4k]
  ------------------
 2238|      0|        goto error;
 2239|       |
 2240|  54.4k|    self->dict = NULL;
 2241|  54.4k|    self->traceback = self->cause = self->context = NULL;
 2242|  54.4k|    self->written = -1;
 2243|       |
 2244|  54.4k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2244:9): [True: 54.4k, False: 0]
  ------------------
 2245|  54.4k|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2245:13): [True: 0, False: 54.4k]
  ------------------
 2246|       |#ifdef MS_WINDOWS
 2247|       |                         , winerror
 2248|       |#endif
 2249|  54.4k|            ))
 2250|      0|            goto error;
 2251|  54.4k|    }
 2252|      0|    else {
 2253|      0|        self->args = PyTuple_New(0);
 2254|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2254:13): [True: 0, False: 0]
  ------------------
 2255|      0|            goto error;
 2256|      0|    }
 2257|       |
 2258|  54.4k|    Py_XDECREF(args);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|  54.4k|    return (PyObject *) self;
 2260|       |
 2261|      0|error:
 2262|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2263|      0|    Py_XDECREF(self);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|       |    return NULL;
 2265|  54.4k|}
exceptions.c:NameError_dealloc:
 2613|      2|{
 2614|      2|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      2|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|      2|    (void)NameError_clear(self);
 2616|      2|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|      2|}
exceptions.c:PyNameErrorObject_CAST:
 2571|      4|{
 2572|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_NameError));
 2573|      4|    return (PyNameErrorObject *)self;
 2574|      4|}
exceptions.c:NameError_clear:
 2605|      2|{
 2606|      2|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2607|       |    Py_CLEAR(self->name);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2608|      2|    return BaseException_clear(op);
 2609|      2|}
exceptions.c:NameError_init:
 2578|      2|{
 2579|      2|    static char *kwlist[] = {"name", NULL};
 2580|      2|    PyObject *name = NULL;
 2581|       |
 2582|      2|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2582:9): [True: 0, False: 2]
  ------------------
 2583|      0|        return -1;
 2584|      0|    }
 2585|       |
 2586|      2|    PyObject *empty_tuple = PyTuple_New(0);
 2587|      2|    if (!empty_tuple) {
  ------------------
  |  Branch (2587:9): [True: 0, False: 2]
  ------------------
 2588|      0|        return -1;
 2589|      0|    }
 2590|      2|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$O:NameError", kwlist,
  ------------------
  |  Branch (2590:9): [True: 0, False: 2]
  ------------------
 2591|      2|                                     &name)) {
 2592|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2593|      0|        return -1;
 2594|      0|    }
 2595|      2|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|       |
 2597|      2|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2598|      2|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|      2|    do { \
  |  |  375|      2|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      2|        *_tmp_dst_ptr = (src); \
  |  |  378|      2|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2599|       |
 2600|      2|    return 0;
 2601|      2|}
exceptions.c:AttributeError_dealloc:
 2699|  1.28M|{
 2700|  1.28M|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  1.28M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2701|  1.28M|    (void)AttributeError_clear(self);
 2702|  1.28M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  1.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|  1.28M|}
exceptions.c:AttributeError_traverse:
 2707|    854|{
 2708|    854|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2709|    854|    Py_VISIT(self->obj);
  ------------------
  |  |  194|    854|    do {                                                                \
  |  |  195|    854|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 854, False: 0]
  |  |  ------------------
  |  |  196|    854|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    854|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 854]
  |  |  ------------------
  |  |  198|    854|                return vret;                                            \
  |  |  199|    854|        }                                                               \
  |  |  200|    854|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 854]
  |  |  ------------------
  ------------------
 2710|    854|    Py_VISIT(self->name);
  ------------------
  |  |  194|    854|    do {                                                                \
  |  |  195|    854|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 854, False: 0]
  |  |  ------------------
  |  |  196|    854|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    854|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 854]
  |  |  ------------------
  |  |  198|    854|                return vret;                                            \
  |  |  199|    854|        }                                                               \
  |  |  200|    854|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 854]
  |  |  ------------------
  ------------------
 2711|    854|    return BaseException_traverse(op, visit, arg);
 2712|    854|}
exceptions.c:PyAttributeErrorObject_CAST:
 2654|  2.56M|{
 2655|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
 2656|  2.56M|    return (PyAttributeErrorObject *)self;
 2657|  2.56M|}
exceptions.c:AttributeError_clear:
 2690|  1.28M|{
 2691|  1.28M|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2692|  1.28M|    Py_CLEAR(self->obj);
  ------------------
  |  |  484|  1.28M|    do { \
  |  |  485|  1.28M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.28M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.28M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.26M, False: 17.6k]
  |  |  ------------------
  |  |  488|  1.26M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.26M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.26M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.26M|        } \
  |  |  491|  1.28M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.28M]
  |  |  ------------------
  ------------------
 2693|       |    Py_CLEAR(self->name);
  ------------------
  |  |  484|  1.28M|    do { \
  |  |  485|  1.28M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.28M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.28M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.26M, False: 17.6k]
  |  |  ------------------
  |  |  488|  1.26M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.26M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.26M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.26M|        } \
  |  |  491|  1.28M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.28M]
  |  |  ------------------
  ------------------
 2694|  1.28M|    return BaseException_clear(op);
 2695|  1.28M|}
exceptions.c:AttributeError_init:
 2661|  1.28M|{
 2662|  1.28M|    static char *kwlist[] = {"name", "obj", NULL};
 2663|  1.28M|    PyObject *name = NULL;
 2664|  1.28M|    PyObject *obj = NULL;
 2665|       |
 2666|  1.28M|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2666:9): [True: 0, False: 1.28M]
  ------------------
 2667|      0|        return -1;
 2668|      0|    }
 2669|       |
 2670|  1.28M|    PyObject *empty_tuple = PyTuple_New(0);
 2671|  1.28M|    if (!empty_tuple) {
  ------------------
  |  Branch (2671:9): [True: 0, False: 1.28M]
  ------------------
 2672|      0|        return -1;
 2673|      0|    }
 2674|  1.28M|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:AttributeError", kwlist,
  ------------------
  |  Branch (2674:9): [True: 0, False: 1.28M]
  ------------------
 2675|  1.28M|                                     &name, &obj)) {
 2676|      0|        Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|      0|        return -1;
 2678|      0|    }
 2679|  1.28M|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|  1.28M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2680|       |
 2681|  1.28M|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2682|  1.28M|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  374|  1.28M|    do { \
  |  |  375|  1.28M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.28M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.28M|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.28M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.28M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.28M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.28M]
  |  |  ------------------
  ------------------
 2683|  1.28M|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  374|  1.28M|    do { \
  |  |  375|  1.28M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.28M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.28M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.28M|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.28M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.28M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.28M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.28M]
  |  |  ------------------
  ------------------
 2684|       |
 2685|  1.28M|    return 0;
 2686|  1.28M|}
exceptions.c:PySyntaxErrorObject_CAST:
 2781|   108k|{
 2782|       |    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
 2783|   108k|    return (PySyntaxErrorObject *)self;
 2784|   108k|}
exceptions.c:SyntaxError_dealloc:
 2853|  54.1k|{
 2854|  54.1k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  54.1k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|  54.1k|    (void)SyntaxError_clear(self);
 2856|  54.1k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  54.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|  54.1k|}
exceptions.c:SyntaxError_clear:
 2837|  54.1k|{
 2838|  54.1k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2839|  54.1k|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2840|  54.1k|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2841|  54.1k|    Py_CLEAR(self->lineno);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2842|  54.1k|    Py_CLEAR(self->offset);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2843|  54.1k|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2844|  54.1k|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2845|  54.1k|    Py_CLEAR(self->text);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2846|  54.1k|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 54.1k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2847|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  484|  54.1k|    do { \
  |  |  485|  54.1k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  54.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  54.1k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54.1k, False: 0]
  |  |  ------------------
  |  |  488|  54.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  54.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  54.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  54.1k|        } \
  |  |  491|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2848|  54.1k|    return BaseException_clear(op);
 2849|  54.1k|}
exceptions.c:SyntaxError_init:
 2788|  54.1k|{
 2789|  54.1k|    PyObject *info = NULL;
 2790|  54.1k|    Py_ssize_t lenargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  54.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|       |
 2792|  54.1k|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2792:9): [True: 0, False: 54.1k]
  ------------------
 2793|      0|        return -1;
 2794|       |
 2795|  54.1k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2796|  54.1k|    if (lenargs >= 1) {
  ------------------
  |  Branch (2796:9): [True: 54.1k, False: 0]
  ------------------
 2797|  54.1k|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2798|  54.1k|    }
 2799|  54.1k|    if (lenargs == 2) {
  ------------------
  |  Branch (2799:9): [True: 54.1k, False: 0]
  ------------------
 2800|  54.1k|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|  54.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  54.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2801|  54.1k|        info = PySequence_Tuple(info);
 2802|  54.1k|        if (!info) {
  ------------------
  |  Branch (2802:13): [True: 0, False: 54.1k]
  ------------------
 2803|      0|            return -1;
 2804|      0|        }
 2805|       |
 2806|  54.1k|        PyObject *filename, *lineno, *offset, *text;
 2807|  54.1k|        PyObject *end_lineno = NULL;
 2808|  54.1k|        PyObject *end_offset = NULL;
 2809|  54.1k|        PyObject *metadata = NULL;
 2810|  54.1k|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2810:13): [True: 0, False: 54.1k]
  ------------------
 2811|  54.1k|                              &filename, &lineno,
 2812|  54.1k|                              &offset, &text,
 2813|  54.1k|                              &end_lineno, &end_offset, &metadata)) {
 2814|      0|            Py_DECREF(info);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2815|      0|            return -1;
 2816|      0|        }
 2817|       |
 2818|  54.1k|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2819|  54.1k|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2820|  54.1k|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2821|  54.1k|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2822|  54.1k|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2823|  54.1k|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2824|  54.1k|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  374|  54.1k|    do { \
  |  |  375|  54.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  54.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  54.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  54.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  54.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  54.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
 2825|  54.1k|        Py_DECREF(info);
  ------------------
  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2826|       |
 2827|  54.1k|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2827:13): [True: 54.1k, False: 0]
  |  Branch (2827:41): [True: 0, False: 54.1k]
  ------------------
 2828|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2829|      0|            return -1;
 2830|      0|        }
 2831|  54.1k|    }
 2832|  54.1k|    return 0;
 2833|  54.1k|}
exceptions.c:UnicodeError_dealloc:
 3675|  4.91k|{
 3676|  4.91k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  4.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3677|  4.91k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  4.91k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|  4.91k|    (void)UnicodeError_clear(self);
 3679|  4.91k|    type->tp_free(self);
 3680|  4.91k|}
exceptions.c:UnicodeError_clear:
 3665|  4.91k|{
 3666|  4.91k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3295|  4.91k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
 3667|  4.91k|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  484|  4.91k|    do { \
  |  |  485|  4.91k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.91k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.91k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.91k, False: 0]
  |  |  ------------------
  |  |  488|  4.91k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.91k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.91k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.91k|        } \
  |  |  491|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3668|  4.91k|    Py_CLEAR(exc->object);
  ------------------
  |  |  484|  4.91k|    do { \
  |  |  485|  4.91k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.91k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.91k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.91k, False: 0]
  |  |  ------------------
  |  |  488|  4.91k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.91k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.91k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.91k|        } \
  |  |  491|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3669|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  484|  4.91k|    do { \
  |  |  485|  4.91k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.91k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.91k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.91k, False: 0]
  |  |  ------------------
  |  |  488|  4.91k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.91k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.91k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.91k|        } \
  |  |  491|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3670|  4.91k|    return BaseException_clear(self);
 3671|  4.91k|}
exceptions.c:UnicodeEncodeError_init:
 3713|  4.91k|{
 3714|  4.91k|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3714:9): [True: 0, False: 4.91k]
  ------------------
 3715|      0|        return -1;
 3716|      0|    }
 3717|       |
 3718|  4.91k|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3719|  4.91k|    Py_ssize_t start = -1, end = -1;
 3720|       |
 3721|  4.91k|    if (!PyArg_ParseTuple(args, "UUnnU",
  ------------------
  |  Branch (3721:9): [True: 0, False: 4.91k]
  ------------------
 3722|  4.91k|                          &encoding, &object, &start, &end, &reason))
 3723|      0|    {
 3724|      0|        return -1;
 3725|      0|    }
 3726|       |
 3727|  4.91k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3295|  4.91k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
 3728|  4.91k|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  374|  4.91k|    do { \
  |  |  375|  4.91k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.91k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.91k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.91k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3729|  4.91k|    Py_XSETREF(exc->object, Py_NewRef(object));
  ------------------
  |  |  374|  4.91k|    do { \
  |  |  375|  4.91k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.91k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.91k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.91k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3730|  4.91k|    exc->start = start;
 3731|  4.91k|    exc->end = end;
 3732|  4.91k|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  374|  4.91k|    do { \
  |  |  375|  4.91k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.91k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.91k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.91k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.91k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 3733|  4.91k|    return 0;
 3734|  4.91k|}
exceptions.c:get_memory_error:
 4109|     32|{
 4110|     32|    PyBaseExceptionObject *self = NULL;
 4111|     32|    struct _Py_exc_state *state = get_exc_state();
 4112|       |
 4113|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4103|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4114|     32|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 32]
  ------------------
 4115|       |        /* Fetch MemoryError from freelist and initialize it */
 4116|      0|        self = state->memerrors_freelist;
 4117|      0|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4118|      0|        state->memerrors_numfree--;
 4119|      0|        self->dict = NULL;
 4120|      0|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4121|      0|        _Py_NewReference((PyObject *)self);
 4122|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4123|      0|    }
 4124|     32|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4125|       |
 4126|     32|    if (self != NULL) {
  ------------------
  |  Branch (4126:9): [True: 0, False: 32]
  ------------------
 4127|      0|        return (PyObject *)self;
 4128|      0|    }
 4129|       |
 4130|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4130:9): [True: 0, False: 32]
  ------------------
 4131|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4132|      0|        return Py_NewRef(
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4133|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4134|      0|    }
 4135|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4136|     32|}
exceptions.c:MemoryError_dealloc:
 4167|     32|{
 4168|     32|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4169|     32|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     32|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|       |
 4171|     32|    (void)BaseException_clear(op);
 4172|       |
 4173|       |    /* If this is a subclass of MemoryError, we don't need to
 4174|       |     * do anything in the free-list*/
 4175|     32|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4175:9): [True: 0, False: 32]
  ------------------
 4176|      0|        Py_TYPE(self)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4177|      0|        return;
 4178|      0|    }
 4179|       |
 4180|     32|    struct _Py_exc_state *state = get_exc_state();
 4181|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4103|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4182|     32|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4097|     32|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4182:9): [True: 32, False: 0]
  ------------------
 4183|     32|        self->dict = (PyObject *) state->memerrors_freelist;
 4184|     32|        state->memerrors_freelist = self;
 4185|     32|        state->memerrors_numfree++;
 4186|     32|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4187|     32|        return;
 4188|     32|    }
 4189|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4104|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4190|       |
 4191|      0|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      0|}
exceptions.c:BaseException_traverse:
  151|    910|{
  152|    910|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  153|    910|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 862]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  154|    910|    Py_VISIT(self->args);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 910, False: 0]
  |  |  ------------------
  |  |  196|    910|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    910|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    910|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    910|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 910]
  |  |  ------------------
  |  |  198|    910|                return vret;                                            \
  |  |  199|    910|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  155|    910|    Py_VISIT(self->notes);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 910]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  156|    910|    Py_VISIT(self->traceback);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 906, False: 4]
  |  |  ------------------
  |  |  196|    906|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    906|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    906|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    906|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 906]
  |  |  ------------------
  |  |  198|    906|                return vret;                                            \
  |  |  199|    906|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  157|    910|    Py_VISIT(self->cause);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 910]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  158|    910|    Py_VISIT(self->context);
  ------------------
  |  |  194|    910|    do {                                                                \
  |  |  195|    910|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 910]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    910|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 910]
  |  |  ------------------
  ------------------
  159|    910|    return 0;
  160|    910|}
exceptions.c:BaseException_clear:
  126|  1.89M|{
  127|  1.89M|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  128|  1.89M|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.88k, False: 1.88M]
  |  |  ------------------
  |  |  488|  3.88k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.88k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.88k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.88k|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  129|  1.89M|    Py_CLEAR(self->args);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.89M, False: 0]
  |  |  ------------------
  |  |  488|  1.89M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.89M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.89M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.89M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.89M|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  130|  1.89M|    Py_CLEAR(self->notes);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.89M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  131|  1.89M|    Py_CLEAR(self->traceback);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.81M, False: 72.3k]
  |  |  ------------------
  |  |  488|  1.81M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.81M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.81M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.81M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.81M|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  132|  1.89M|    Py_CLEAR(self->cause);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.89M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  133|       |    Py_CLEAR(self->context);
  ------------------
  |  |  484|  1.89M|    do { \
  |  |  485|  1.89M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.89M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.89M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.89M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 385k, False: 1.50M]
  |  |  ------------------
  |  |  488|   385k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   385k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   385k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   385k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   385k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   385k|        } \
  |  |  491|  1.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  134|  1.89M|    return 0;
  135|  1.89M|}
exceptions.c:BaseException_init:
   81|  1.34M|{
   82|  1.34M|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   83|  1.34M|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|  1.34M|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 1.34M, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return -1;
   85|       |
   86|  1.34M|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  374|  1.34M|    do { \
  |  |  375|  1.34M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.34M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.34M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.34M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.34M|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.34M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.34M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.34M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.34M]
  |  |  ------------------
  ------------------
   87|  1.34M|    return 0;
   88|  1.34M|}
exceptions.c:MemoryError_new:
 4140|     32|{
 4141|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4142|       |     * and just return a fresh object */
 4143|     32|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4143:9): [True: 0, False: 32]
  ------------------
 4144|      0|        return BaseException_new(type, args, kwds);
 4145|      0|    }
 4146|     32|    return get_memory_error(1, args, kwds);
 4147|     32|}
exceptions.c:BaseException_new:
   53|  1.34M|{
   54|  1.34M|    PyBaseExceptionObject *self;
   55|       |
   56|  1.34M|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   57|  1.34M|    if (!self)
  ------------------
  |  Branch (57:9): [True: 0, False: 1.34M]
  ------------------
   58|      0|        return NULL;
   59|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   60|  1.34M|    self->dict = NULL;
   61|  1.34M|    self->notes = NULL;
   62|  1.34M|    self->traceback = self->cause = self->context = NULL;
   63|  1.34M|    self->suppress_context = 0;
   64|       |
   65|  1.34M|    if (args) {
  ------------------
  |  Branch (65:9): [True: 1.34M, False: 32]
  ------------------
   66|  1.34M|        self->args = Py_NewRef(args);
  ------------------
  |  |  550|  1.34M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|  1.34M|        return (PyObject *)self;
   68|  1.34M|    }
   69|       |
   70|     32|    self->args = PyTuple_New(0);
   71|     32|    if (!self->args) {
  ------------------
  |  Branch (71:9): [True: 0, False: 32]
  ------------------
   72|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|       |
   76|     32|    return (PyObject *)self;
   77|     32|}
exceptions.c:BaseException_vectorcall:
   94|   489k|{
   95|   489k|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|   489k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   489k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   96|   489k|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   15|   489k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 489k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|       |
  100|   489k|    PyBaseExceptionObject *self;
  101|   489k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  102|   489k|    if (!self) {
  ------------------
  |  Branch (102:9): [True: 0, False: 489k]
  ------------------
  103|      0|        return NULL;
  104|      0|    }
  105|       |
  106|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  107|   489k|    self->dict = NULL;
  108|   489k|    self->notes = NULL;
  109|   489k|    self->traceback = NULL;
  110|   489k|    self->cause = NULL;
  111|   489k|    self->context = NULL;
  112|   489k|    self->suppress_context = 0;
  113|       |
  114|   489k|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|   489k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  115|   489k|    if (!self->args) {
  ------------------
  |  Branch (115:9): [True: 0, False: 489k]
  ------------------
  116|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|      0|        return NULL;
  118|      0|    }
  119|       |
  120|   489k|    return (PyObject *)self;
  121|   489k|}
exceptions.c:preallocate_memerrors:
 4196|      2|{
 4197|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4198|       |       up the freelist. */
 4199|      2|    int i;
 4200|       |
 4201|      2|    PyObject *errors[MEMERRORS_SAVE];
 4202|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4097|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4202:17): [True: 32, False: 2]
  ------------------
 4203|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4204|     32|                                    NULL, NULL);
 4205|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4205:13): [True: 0, False: 32]
  ------------------
 4206|      0|            return -1;
 4207|      0|        }
 4208|     32|    }
 4209|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4097|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4209:17): [True: 32, False: 2]
  ------------------
 4210|     32|        Py_DECREF(errors[i]);
  ------------------
  |  |  430|     32|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4211|     32|    }
 4212|      2|    return 0;
 4213|      2|}
exceptions.c:create_exception_group_class:
 1764|      2|create_exception_group_class(void) {
 1765|      2|    struct _Py_exc_state *state = get_exc_state();
 1766|       |
 1767|      2|    PyObject *bases = _PyTuple_FromPair(
 1768|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1769|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1769:9): [True: 0, False: 2]
  ------------------
 1770|      0|        return NULL;
 1771|      0|    }
 1772|       |
 1773|      2|    assert(!state->PyExc_ExceptionGroup);
 1774|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1775|      2|        "builtins.ExceptionGroup", bases, NULL);
 1776|       |
 1777|      2|    Py_DECREF(bases);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      2|    return state->PyExc_ExceptionGroup;
 1779|      2|}

PyFile_NewStdPrinter:
  291|      2|{
  292|      2|    PyStdPrinter_Object *self;
  293|       |
  294|      2|    if (fd != fileno(stdout) && fd != fileno(stderr)) {
  ------------------
  |  Branch (294:9): [True: 2, False: 0]
  |  Branch (294:33): [True: 0, False: 2]
  ------------------
  295|       |        /* not enough infrastructure for PyErr_BadInternalCall() */
  296|      0|        return NULL;
  297|      0|    }
  298|       |
  299|      2|    self = PyObject_New(PyStdPrinter_Object,
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  300|      2|                        &PyStdPrinter_Type);
  301|      2|    if (self != NULL) {
  ------------------
  |  Branch (301:9): [True: 2, False: 0]
  ------------------
  302|      2|        self->fd = fd;
  303|      2|    }
  304|      2|    return (PyObject*)self;
  305|      2|}
PyFile_OpenCodeObject:
  502|    502|{
  503|    502|    PyObject *f = NULL;
  504|       |
  505|    502|    if (!PyUnicode_Check(path)) {
  ------------------
  |  |  103|    502|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    502|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (505:9): [True: 0, False: 502]
  ------------------
  506|      0|        PyErr_Format(PyExc_TypeError, "'path' must be 'str', not '%.200s'",
  507|      0|                     Py_TYPE(path)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|      0|        return NULL;
  509|      0|    }
  510|       |
  511|    502|    Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook;
  512|    502|    if (hook) {
  ------------------
  |  Branch (512:9): [True: 0, False: 502]
  ------------------
  513|      0|        f = hook(path, _PyRuntime.open_code_userdata);
  514|    502|    } else {
  515|    502|        PyObject *open = PyImport_ImportModuleAttrString("_io", "open");
  516|    502|        if (open) {
  ------------------
  |  Branch (516:13): [True: 502, False: 0]
  ------------------
  517|    502|            f = PyObject_CallFunction(open, "Os", path, "rb");
  518|    502|            Py_DECREF(open);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|    502|        }
  520|    502|    }
  521|       |
  522|    502|    return f;
  523|    502|}
_PyFile_Flush:
  541|  1.05k|{
  542|  1.05k|    PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush));
  ------------------
  |  |  919|  1.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.05k|    if (tmp == NULL) {
  ------------------
  |  Branch (543:9): [True: 0, False: 1.05k]
  ------------------
  544|      0|        return -1;
  545|      0|    }
  546|  1.05k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  1.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|  1.05k|    return 0;
  548|  1.05k|}

PyFloat_GetInfo:
   84|      2|{
   85|      2|    PyObject* floatinfo;
   86|      2|    int pos = 0;
   87|       |
   88|      2|    floatinfo = PyStructSequence_New(&FloatInfoType);
   89|      2|    if (floatinfo == NULL) {
  ------------------
  |  Branch (89:9): [True: 0, False: 2]
  ------------------
   90|      0|        return NULL;
   91|      0|    }
   92|       |
   93|      2|#define SetFlag(CALL) \
   94|      2|    do {                                                    \
   95|      2|        PyObject *flag = (CALL);                            \
   96|      2|        if (flag == NULL) {                                 \
   97|      2|            Py_CLEAR(floatinfo);                            \
   98|      2|            return NULL;                                    \
   99|      2|        }                                                   \
  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  101|      2|    } while (0)
  102|       |
  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  105|       |
  106|      2|    SetDblFlag(DBL_MAX);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      2|    SetIntFlag(DBL_MAX_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|      2|    SetIntFlag(DBL_MAX_10_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|      2|    SetDblFlag(DBL_MIN);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  110|      2|    SetIntFlag(DBL_MIN_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      2|    SetIntFlag(DBL_MIN_10_EXP);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      2|    SetIntFlag(DBL_DIG);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      2|    SetIntFlag(DBL_MANT_DIG);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|      2|    SetDblFlag(DBL_EPSILON);
  ------------------
  |  |  104|      2|#define SetDblFlag(FLAG) SetFlag(PyFloat_FromDouble((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|      2|    SetIntFlag(FLT_RADIX);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|      2|    SetIntFlag(FLT_ROUNDS);
  ------------------
  |  |  103|      2|#define SetIntFlag(FLAG) SetFlag(PyLong_FromLong((FLAG)))
  |  |  ------------------
  |  |  |  |   94|      2|    do {                                                    \
  |  |  |  |   95|      2|        PyObject *flag = (CALL);                            \
  |  |  |  |   96|      2|        if (flag == NULL) {                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|            Py_CLEAR(floatinfo);                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  484|      0|    do { \
  |  |  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  490|      0|        } \
  |  |  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|      0|            return NULL;                                    \
  |  |  |  |   99|      0|        }                                                   \
  |  |  |  |  100|      2|        PyStructSequence_SET_ITEM(floatinfo, pos++, flag);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  |  |  ------------------
  |  |  |  |  101|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|      2|#undef SetIntFlag
  118|      2|#undef SetDblFlag
  119|      2|#undef SetFlag
  120|       |
  121|      2|    return floatinfo;
  122|      2|}
PyFloat_FromDouble:
  126|  2.59M|{
  127|  2.59M|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|  2.59M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  128|  2.59M|    if (op == NULL) {
  ------------------
  |  Branch (128:9): [True: 1.50k, False: 2.59M]
  ------------------
  129|  1.50k|        op = PyObject_Malloc(sizeof(PyFloatObject));
  130|  1.50k|        if (!op) {
  ------------------
  |  Branch (130:13): [True: 0, False: 1.50k]
  ------------------
  131|      0|            return PyErr_NoMemory();
  132|      0|        }
  133|  1.50k|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  134|  1.50k|    }
  135|  2.59M|    op->ob_fval = fval;
  136|  2.59M|    return (PyObject *) op;
  137|  2.59M|}
PyFloat_FromString:
  181|  42.8k|{
  182|  42.8k|    const char *s;
  183|  42.8k|    PyObject *s_buffer = NULL;
  184|  42.8k|    Py_ssize_t len;
  185|  42.8k|    Py_buffer view = {NULL, NULL};
  186|  42.8k|    PyObject *result = NULL;
  187|       |
  188|  42.8k|    if (PyUnicode_Check(v)) {
  ------------------
  |  |  103|  42.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  42.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 42.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  42.8k|        s_buffer = _PyUnicode_TransformDecimalAndSpaceToASCII(v);
  190|  42.8k|        if (s_buffer == NULL)
  ------------------
  |  Branch (190:13): [True: 0, False: 42.8k]
  ------------------
  191|      0|            return NULL;
  192|  42.8k|        assert(PyUnicode_IS_ASCII(s_buffer));
  193|       |        /* Simply get a pointer to existing ASCII characters. */
  194|  42.8k|        s = PyUnicode_AsUTF8AndSize(s_buffer, &len);
  195|  42.8k|        assert(s != NULL);
  196|  42.8k|    }
  197|      0|    else if (PyBytes_Check(v)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      0|        s = PyBytes_AS_STRING(v);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      0|        len = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      0|    }
  201|      0|    else if (PyByteArray_Check(v)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      0|        s = PyByteArray_AS_STRING(v);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        len = PyByteArray_GET_SIZE(v);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      0|    }
  205|      0|    else if (PyObject_GetBuffer(v, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (205:14): [True: 0, False: 0]
  ------------------
  206|      0|        s = (const char *)view.buf;
  207|      0|        len = view.len;
  208|       |        /* Copy to NUL-terminated buffer. */
  209|      0|        s_buffer = PyBytes_FromStringAndSize(s, len);
  210|      0|        if (s_buffer == NULL) {
  ------------------
  |  Branch (210:13): [True: 0, False: 0]
  ------------------
  211|      0|            PyBuffer_Release(&view);
  212|      0|            return NULL;
  213|      0|        }
  214|      0|        s = PyBytes_AS_STRING(s_buffer);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|      0|    }
  216|      0|    else {
  217|      0|        PyErr_Format(PyExc_TypeError,
  218|      0|            "float() argument must be a string or a real number, not '%.200s'",
  219|      0|            Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|      0|        return NULL;
  221|      0|    }
  222|  42.8k|    result = _Py_string_to_number_with_underscores(s, len, "float", v, v,
  223|  42.8k|                                                   float_from_string_inner);
  224|  42.8k|    PyBuffer_Release(&view);
  225|  42.8k|    Py_XDECREF(s_buffer);
  ------------------
  |  |  524|  42.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|  42.8k|    return result;
  227|  42.8k|}
_PyFloat_ExactDealloc:
  231|  2.59M|{
  232|  2.59M|    assert(PyFloat_CheckExact(obj));
  233|  2.59M|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|  2.59M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.59M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|  2.59M|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  234|  2.59M|}
PyFloat_AsDouble:
  248|    260|{
  249|    260|    PyNumberMethods *nb;
  250|    260|    PyObject *res;
  251|    260|    double val;
  252|       |
  253|    260|    if (op == NULL) {
  ------------------
  |  Branch (253:9): [True: 0, False: 260]
  ------------------
  254|      0|        PyErr_BadArgument();
  255|      0|        return -1;
  256|      0|    }
  257|       |
  258|    260|    if (PyFloat_Check(op)) {
  ------------------
  |  |   16|    260|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|    260|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    260|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    260|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 252, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  259|    252|        return PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|    252|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    252|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    252|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|    252|    }
  261|       |
  262|      8|    nb = Py_TYPE(op)->tp_as_number;
  ------------------
  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      8|    if (nb == NULL || nb->nb_float == NULL) {
  ------------------
  |  Branch (263:9): [True: 0, False: 8]
  |  Branch (263:23): [True: 0, False: 8]
  ------------------
  264|      0|        if (nb && nb->nb_index) {
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  |  Branch (264:19): [True: 0, False: 0]
  ------------------
  265|      0|            PyObject *res = _PyNumber_Index(op);
  266|      0|            if (!res) {
  ------------------
  |  Branch (266:17): [True: 0, False: 0]
  ------------------
  267|      0|                return -1;
  268|      0|            }
  269|      0|            double val = PyLong_AsDouble(res);
  270|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|      0|            return val;
  272|      0|        }
  273|      0|        PyErr_Format(PyExc_TypeError, "must be real number, not %.50s",
  274|      0|                     Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|      0|        return -1;
  276|      0|    }
  277|       |
  278|      8|    res = (*nb->nb_float) (op);
  279|      8|    if (res == NULL) {
  ------------------
  |  Branch (279:9): [True: 0, False: 8]
  ------------------
  280|      0|        return -1;
  281|      0|    }
  282|      8|    if (!PyFloat_CheckExact(res)) {
  ------------------
  |  |   17|      8|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (282:9): [True: 0, False: 8]
  ------------------
  283|      0|        if (!PyFloat_Check(res)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (283:13): [True: 0, False: 0]
  ------------------
  284|      0|            PyErr_Format(PyExc_TypeError,
  285|      0|                         "%T.__float__() must return a float, not %T",
  286|      0|                         op, res);
  287|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      0|            return -1;
  289|      0|        }
  290|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (290:13): [True: 0, False: 0]
  ------------------
  291|      0|                "%T.__float__() must return a float, not %T.  "
  292|      0|                "The ability to return an instance of a strict subclass of float "
  293|      0|                "is deprecated, and may be removed in a future version of Python.",
  294|      0|                op, res)) {
  295|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      0|            return -1;
  297|      0|        }
  298|      0|    }
  299|       |
  300|      8|    val = PyFloat_AS_DOUBLE(res);
  ------------------
  |  |   18|      8|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      8|    Py_DECREF(res);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      8|    return val;
  303|      8|}
_Py_convert_int_to_double:
  321|  60.4k|{
  322|  60.4k|    PyObject *obj = *v;
  323|       |
  324|  60.4k|    if (PyLong_Check(obj)) {
  ------------------
  |  |   13|  60.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  60.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 60.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|  60.4k|        *dbl = PyLong_AsDouble(obj);
  326|  60.4k|        if (*dbl == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (326:13): [True: 0, False: 60.4k]
  |  Branch (326:29): [True: 0, False: 0]
  ------------------
  327|      0|            *v = NULL;
  328|      0|            return -1;
  329|      0|        }
  330|  60.4k|    }
  331|      0|    else {
  332|      0|        *v = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|      0|        return -1;
  334|      0|    }
  335|  60.4k|    return 0;
  336|  60.4k|}
_PyFloat_InitTypes:
 1855|      2|{
 1856|       |    /* Init float info */
 1857|      2|    if (_PyStructSequence_InitBuiltin(interp, &FloatInfoType,
  ------------------
  |  Branch (1857:9): [True: 0, False: 2]
  ------------------
 1858|      2|                                      &floatinfo_desc) < 0)
 1859|      0|    {
 1860|      0|        return _PyStatus_ERR("can't init float info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1861|      0|    }
 1862|       |
 1863|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1864|      2|}
PyFloat_Pack8:
 2070|    208|{
 2071|    208|    unsigned char *p = (unsigned char *)data;
 2072|    208|    unsigned char as_bytes[8];
 2073|    208|    memcpy(as_bytes, &x, 8);
 2074|    208|    const unsigned char *s = as_bytes;
 2075|    208|    int i, incr = 1;
 2076|       |
 2077|    208|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|    416|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 208, Folded]
  |  |  ------------------
  ------------------
                  if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   50|      0|#  define _PY_FLOAT_BIG_ENDIAN 0
  |  |  ------------------
  |  |  |  Branch (50:32): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2077:37): [True: 208, False: 0]
  |  Branch (2077:70): [True: 0, False: 0]
  ------------------
 2078|    208|        p += 7;
 2079|    208|        incr = -1;
 2080|    208|    }
 2081|       |
 2082|  1.87k|    for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2082:17): [True: 1.66k, False: 208]
  ------------------
 2083|  1.66k|        *p = *s++;
 2084|  1.66k|        p += incr;
 2085|  1.66k|    }
 2086|    208|    return 0;
 2087|    208|}
PyFloat_Unpack8:
 2205|    272|{
 2206|    272|    unsigned char *p = (unsigned char *)data;
 2207|    272|    double x;
 2208|       |
 2209|    272|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|    544|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 272, Folded]
  |  |  ------------------
  ------------------
                  if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   50|      0|#  define _PY_FLOAT_BIG_ENDIAN 0
  |  |  ------------------
  |  |  |  Branch (50:32): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2209:37): [True: 8, False: 264]
  |  Branch (2209:70): [True: 0, False: 0]
  ------------------
 2210|      8|        char buf[8];
 2211|      8|        char *d = &buf[7];
 2212|      8|        int i;
 2213|       |
 2214|     72|        for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2214:21): [True: 64, False: 8]
  ------------------
 2215|     64|            *d-- = *p++;
 2216|     64|        }
 2217|      8|        memcpy(&x, buf, 8);
 2218|      8|    }
 2219|    264|    else {
 2220|    264|        memcpy(&x, p, 8);
 2221|    264|    }
 2222|       |
 2223|    272|    return x;
 2224|    272|}
floatobject.c:float_from_string_inner:
  141|  42.8k|{
  142|  42.8k|    double x;
  143|  42.8k|    const char *end;
  144|  42.8k|    const char *last = s + len;
  145|       |    /* strip leading whitespace */
  146|  42.8k|    while (s < last && Py_ISSPACE(*s)) {
  ------------------
  |  |   27|  42.8k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  42.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  42.8k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 42.8k]
  |  |  ------------------
  ------------------
  |  Branch (146:12): [True: 42.8k, False: 0]
  ------------------
  147|      0|        s++;
  148|      0|    }
  149|  42.8k|    if (s == last) {
  ------------------
  |  Branch (149:9): [True: 0, False: 42.8k]
  ------------------
  150|      0|        PyErr_Format(PyExc_ValueError,
  151|      0|                     "could not convert string to float: "
  152|      0|                     "%R", obj);
  153|      0|        return NULL;
  154|      0|    }
  155|       |
  156|       |    /* strip trailing whitespace */
  157|  42.8k|    while (s < last - 1 && Py_ISSPACE(last[-1])) {
  ------------------
  |  |   27|  42.8k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  42.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  42.8k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 42.8k]
  |  |  ------------------
  ------------------
  |  Branch (157:12): [True: 42.8k, False: 0]
  ------------------
  158|      0|        last--;
  159|      0|    }
  160|       |
  161|       |    /* We don't care about overflow or underflow.  If the platform
  162|       |     * supports them, infinities and signed zeroes (on underflow) are
  163|       |     * fine. */
  164|  42.8k|    x = PyOS_string_to_double(s, (char **)&end, NULL);
  165|  42.8k|    if (end != last) {
  ------------------
  |  Branch (165:9): [True: 0, False: 42.8k]
  ------------------
  166|      0|        PyErr_Format(PyExc_ValueError,
  167|      0|                     "could not convert string to float: "
  168|      0|                     "%R", obj);
  169|      0|        return NULL;
  170|      0|    }
  171|  42.8k|    else if (x == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (171:14): [True: 0, False: 42.8k]
  |  Branch (171:27): [True: 0, False: 0]
  ------------------
  172|      0|        return NULL;
  173|      0|    }
  174|  42.8k|    else {
  175|  42.8k|        return PyFloat_FromDouble(x);
  176|  42.8k|    }
  177|  42.8k|}
floatobject.c:float_dealloc:
  238|  2.58M|{
  239|  2.58M|    assert(PyFloat_Check(op));
  240|  2.58M|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|  2.58M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  2.58M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.58M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  2.58M|        _PyFloat_ExactDealloc(op);
  242|      0|    else
  243|      0|        Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  2.58M|}
floatobject.c:float_add:
  543|  60.2k|{
  544|  60.2k|    double a,b;
  545|  60.2k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  60.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  60.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  60.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 17, False: 60.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  60.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  60.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  60.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 60.2k]
  |  |  ------------------
  |  |  315|  60.2k|        return obj;
  ------------------
  546|  60.2k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  60.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  60.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  60.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 60.2k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  60.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|   120k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  60.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  315|      0|        return obj;
  ------------------
  547|  60.2k|    a = a + b;
  548|  60.2k|    return PyFloat_FromDouble(a);
  549|  60.2k|}
floatobject.c:float_sub:
  553|    148|{
  554|    148|    double a,b;
  555|    148|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|    148|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    148|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    148|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 131, False: 17]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    148|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    279|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    148|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 17]
  |  |  ------------------
  |  |  315|     17|        return obj;
  ------------------
  556|    148|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|    148|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    148|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    148|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 142, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    148|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    290|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    148|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 6]
  |  |  ------------------
  |  |  315|      6|        return obj;
  ------------------
  557|    148|    a = a - b;
  558|    148|    return PyFloat_FromDouble(a);
  559|    148|}
floatobject.c:float_mul:
  563|    134|{
  564|    134|    double a,b;
  565|    134|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|    134|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    134|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    134|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 105, False: 29]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    134|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    239|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    134|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 29]
  |  |  ------------------
  |  |  315|     29|        return obj;
  ------------------
  566|    134|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|    134|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    134|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    134|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 57, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    134|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    191|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    134|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 77]
  |  |  ------------------
  |  |  315|     77|        return obj;
  ------------------
  567|    134|    a = a * b;
  568|    134|    return PyFloat_FromDouble(a);
  569|    134|}
floatobject.c:float_pow:
  688|     48|{
  689|     48|    double iv, iw, ix;
  690|     48|    int negate_result = 0;
  691|       |
  692|     48|    if ((PyObject *)z != Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (692:9): [True: 0, False: 48]
  ------------------
  693|      0|        PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not "
  694|      0|            "allowed unless all arguments are integers");
  695|      0|        return NULL;
  696|      0|    }
  697|       |
  698|     48|    CONVERT_TO_DOUBLE(v, iv);
  ------------------
  |  |  312|     48|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     48|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     48|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 46, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     48|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     94|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     48|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 2]
  |  |  ------------------
  |  |  315|      2|        return obj;
  ------------------
  699|     48|    CONVERT_TO_DOUBLE(w, iw);
  ------------------
  |  |  312|     48|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     48|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     48|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2, False: 46]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     48|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     50|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     48|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 46]
  |  |  ------------------
  |  |  315|     46|        return obj;
  ------------------
  700|       |
  701|       |    /* Sort out special cases here instead of relying on pow() */
  702|     48|    if (iw == 0) {              /* v**0 is 1, even 0**0 */
  ------------------
  |  Branch (702:9): [True: 0, False: 48]
  ------------------
  703|      0|        return PyFloat_FromDouble(1.0);
  704|      0|    }
  705|     48|    if (isnan(iv)) {        /* nan**w = nan, unless w == 0 */
  ------------------
  |  Branch (705:9): [True: 0, False: 48]
  ------------------
  706|      0|        return PyFloat_FromDouble(iv);
  707|      0|    }
  708|     48|    if (isnan(iw)) {        /* v**nan = nan, unless v == 1; 1**nan = 1 */
  ------------------
  |  Branch (708:9): [True: 0, False: 48]
  ------------------
  709|      0|        return PyFloat_FromDouble(iv == 1.0 ? 1.0 : iw);
  ------------------
  |  Branch (709:35): [True: 0, False: 0]
  ------------------
  710|      0|    }
  711|     48|    if (isinf(iw)) {
  ------------------
  |  Branch (711:9): [True: 0, False: 48]
  ------------------
  712|       |        /* v**inf is: 0.0 if abs(v) < 1; 1.0 if abs(v) == 1; inf if
  713|       |         *     abs(v) > 1 (including case where v infinite)
  714|       |         *
  715|       |         * v**-inf is: inf if abs(v) < 1; 1.0 if abs(v) == 1; 0.0 if
  716|       |         *     abs(v) > 1 (including case where v infinite)
  717|       |         */
  718|      0|        iv = fabs(iv);
  719|      0|        if (iv == 1.0)
  ------------------
  |  Branch (719:13): [True: 0, False: 0]
  ------------------
  720|      0|            return PyFloat_FromDouble(1.0);
  721|      0|        else if ((iw > 0.0) == (iv > 1.0))
  ------------------
  |  Branch (721:18): [True: 0, False: 0]
  ------------------
  722|      0|            return PyFloat_FromDouble(fabs(iw)); /* return inf */
  723|      0|        else
  724|      0|            return PyFloat_FromDouble(0.0);
  725|      0|    }
  726|     48|    if (isinf(iv)) {
  ------------------
  |  Branch (726:9): [True: 0, False: 48]
  ------------------
  727|       |        /* (+-inf)**w is: inf for w positive, 0 for w negative; in
  728|       |         *     both cases, we need to add the appropriate sign if w is
  729|       |         *     an odd integer.
  730|       |         */
  731|      0|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|      0|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  732|      0|        if (iw > 0.0)
  ------------------
  |  Branch (732:13): [True: 0, False: 0]
  ------------------
  733|      0|            return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv));
  ------------------
  |  Branch (733:39): [True: 0, False: 0]
  ------------------
  734|      0|        else
  735|      0|            return PyFloat_FromDouble(iw_is_odd ?
  ------------------
  |  Branch (735:39): [True: 0, False: 0]
  ------------------
  736|      0|                                      copysign(0.0, iv) : 0.0);
  737|      0|    }
  738|     48|    if (iv == 0.0) {  /* 0**w is: 0 for w positive, 1 for w zero
  ------------------
  |  Branch (738:9): [True: 0, False: 48]
  ------------------
  739|       |                         (already dealt with above), and an error
  740|       |                         if w is negative. */
  741|      0|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|      0|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  742|      0|        if (iw < 0.0) {
  ------------------
  |  Branch (742:13): [True: 0, False: 0]
  ------------------
  743|      0|            PyErr_SetString(PyExc_ZeroDivisionError,
  744|      0|                            "zero to a negative power");
  745|      0|            return NULL;
  746|      0|        }
  747|       |        /* use correct sign if iw is odd */
  748|      0|        return PyFloat_FromDouble(iw_is_odd ? iv : 0.0);
  ------------------
  |  Branch (748:35): [True: 0, False: 0]
  ------------------
  749|      0|    }
  750|       |
  751|     48|    if (iv < 0.0) {
  ------------------
  |  Branch (751:9): [True: 0, False: 48]
  ------------------
  752|       |        /* Whether this is an error is a mess, and bumps into libm
  753|       |         * bugs so we have to figure it out ourselves.
  754|       |         */
  755|      0|        if (iw != floor(iw)) {
  ------------------
  |  Branch (755:13): [True: 0, False: 0]
  ------------------
  756|       |            /* Negative numbers raised to fractional powers
  757|       |             * become complex.
  758|       |             */
  759|      0|            return PyComplex_Type.tp_as_number->nb_power(v, w, z);
  760|      0|        }
  761|       |        /* iw is an exact integer, albeit perhaps a very large
  762|       |         * one.  Replace iv by its absolute value and remember
  763|       |         * to negate the pow result if iw is odd.
  764|       |         */
  765|      0|        iv = -iv;
  766|      0|        negate_result = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|      0|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  767|      0|    }
  768|       |
  769|     48|    if (iv == 1.0) { /* 1**w is 1, even 1**inf and 1**nan */
  ------------------
  |  Branch (769:9): [True: 0, False: 48]
  ------------------
  770|       |        /* (-1) ** large_integer also ends up here.  Here's an
  771|       |         * extract from the comments for the previous
  772|       |         * implementation explaining why this special case is
  773|       |         * necessary:
  774|       |         *
  775|       |         * -1 raised to an exact integer should never be exceptional.
  776|       |         * Alas, some libms (chiefly glibc as of early 2003) return
  777|       |         * NaN and set EDOM on pow(-1, large_int) if the int doesn't
  778|       |         * happen to be representable in a *C* integer.  That's a
  779|       |         * bug.
  780|       |         */
  781|      0|        return PyFloat_FromDouble(negate_result ? -1.0 : 1.0);
  ------------------
  |  Branch (781:35): [True: 0, False: 0]
  ------------------
  782|      0|    }
  783|       |
  784|       |    /* Now iv and iw are finite, iw is nonzero, and iv is
  785|       |     * positive and not equal to 1.0.  We finally allow
  786|       |     * the platform pow to step in and do the rest.
  787|       |     */
  788|     48|    errno = 0;
  789|     48|    ix = pow(iv, iw);
  790|     48|    _Py_ADJUST_ERANGE1(ix);
  791|     48|    if (negate_result)
  ------------------
  |  Branch (791:9): [True: 0, False: 48]
  ------------------
  792|      0|        ix = -ix;
  793|       |
  794|     48|    if (errno != 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 48]
  ------------------
  795|       |        /* We don't expect any errno value other than ERANGE, but
  796|       |         * the range of libm bugs appears unbounded.
  797|       |         */
  798|      0|        PyErr_SetFromErrno(errno == ERANGE ? PyExc_OverflowError :
  ------------------
  |  Branch (798:28): [True: 0, False: 0]
  ------------------
  799|      0|                             PyExc_ValueError);
  800|      0|        return NULL;
  801|      0|    }
  802|     48|    return PyFloat_FromDouble(ix);
  803|     48|}
floatobject.c:float_neg:
  809|     60|{
  810|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|     60|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  811|     60|    return PyFloat_FromDouble(-v->ob_fval);
  812|     60|}
floatobject.c:float_abs:
  816|      4|{
  817|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|      4|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  818|      4|    return PyFloat_FromDouble(fabs(v->ob_fval));
  819|      4|}
floatobject.c:float_bool:
  823|      2|{
  824|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|      2|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  825|      2|    return v->ob_fval != 0.0;
  826|      2|}
floatobject.c:float___trunc___impl:
  864|    506|{
  865|    506|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|    506|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    506|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    506|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|    506|}
floatobject.c:float_div:
  573|     71|{
  574|     71|    double a,b;
  575|     71|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|     71|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     71|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     71|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 67, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     71|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    138|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     71|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 4]
  |  |  ------------------
  |  |  315|      4|        return obj;
  ------------------
  576|     71|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|     71|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     71|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     71|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 58, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     71|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    129|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     71|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 13]
  |  |  ------------------
  |  |  315|     13|        return obj;
  ------------------
  577|     71|    if (b == 0.0) {
  ------------------
  |  Branch (577:9): [True: 0, False: 71]
  ------------------
  578|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
  579|      0|                        "division by zero");
  580|      0|        return NULL;
  581|      0|    }
  582|     71|    a = a / b;
  583|     71|    return PyFloat_FromDouble(a);
  584|     71|}
floatobject.c:float_hash:
  536|  1.17M|{
  537|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  1.17M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  538|  1.17M|    return _Py_HashDouble(op, v->ob_fval);
  539|  1.17M|}
floatobject.c:float_richcompare:
  373|  4.57M|{
  374|  4.57M|    double i, j;
  375|  4.57M|    int r = 0;
  376|       |
  377|  4.57M|    assert(PyFloat_Check(v));
  378|  4.57M|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|  4.57M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|       |
  380|       |    /* Switch on the type of w.  Set i and j to doubles to be compared,
  381|       |     * and op to the richcomp to use.
  382|       |     */
  383|  4.57M|    if (PyFloat_Check(w))
  ------------------
  |  |   16|  4.57M|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  4.57M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1.81M, False: 2.75M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|  1.81M|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|  1.81M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|       |
  386|  2.75M|    else if (!isfinite(i)) {
  ------------------
  |  Branch (386:14): [True: 42.7k, False: 2.71M]
  ------------------
  387|  42.7k|        if (PyLong_Check(w))
  ------------------
  |  |   13|  42.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  42.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 42.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|       |            /* If i is an infinity, its magnitude exceeds any
  389|       |             * finite integer, so it doesn't matter which int we
  390|       |             * compare i with.  If i is a NaN, similarly.
  391|       |             */
  392|  42.7k|            j = 0.0;
  393|      0|        else
  394|      0|            goto Unimplemented;
  395|  42.7k|    }
  396|       |
  397|  2.71M|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|  2.71M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.71M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.71M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|  2.71M|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (398:21): [True: 2, False: 2.71M]
  |  Branch (398:36): [True: 2, False: 2.71M]
  ------------------
  399|  2.71M|        int wsign;
  400|  2.71M|        int exponent;
  401|       |
  402|  2.71M|        (void)PyLong_GetSign(w, &wsign);
  403|  2.71M|        if (vsign != wsign) {
  ------------------
  |  Branch (403:13): [True: 1.41M, False: 1.30M]
  ------------------
  404|       |            /* Magnitudes are irrelevant -- the signs alone
  405|       |             * determine the outcome.
  406|       |             */
  407|  1.41M|            i = (double)vsign;
  408|  1.41M|            j = (double)wsign;
  409|  1.41M|            goto Compare;
  410|  1.41M|        }
  411|       |        /* The signs are the same. */
  412|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  413|  1.30M|        int64_t nbits64 = _PyLong_NumBits(w);
  414|  1.30M|        assert(nbits64 >= 0);
  415|  1.30M|        assert(!PyErr_Occurred());
  416|  1.30M|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (416:13): [True: 0, False: 1.30M]
  ------------------
  417|       |            /* This Python integer is larger than any finite C double.
  418|       |             * Replace with little doubles
  419|       |             * that give the same outcome -- w is so large that
  420|       |             * its magnitude must exceed the magnitude of any
  421|       |             * finite float.
  422|       |             */
  423|      0|            i = (double)vsign;
  424|      0|            assert(wsign != 0);
  425|      0|            j = wsign * 2.0;
  426|      0|            goto Compare;
  427|      0|        }
  428|  1.30M|        int nbits = (int)nbits64;
  429|  1.30M|        if (nbits <= 48) {
  ------------------
  |  Branch (429:13): [True: 1.30M, False: 0]
  ------------------
  430|  1.30M|            j = PyLong_AsDouble(w);
  431|       |            /* It's impossible that <= 48 bits overflowed. */
  432|  1.30M|            assert(j != -1.0 || ! PyErr_Occurred());
  433|  1.30M|            goto Compare;
  434|  1.30M|        }
  435|  1.30M|        assert(wsign != 0); /* else nbits was 0 */
  436|      0|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  437|       |                             * not 0, we would have taken the
  438|       |                             * vsign != wsign branch at the start */
  439|      0|        (void) frexp(i, &exponent);
  440|       |        /* exponent is the # of bits in v before the radix point;
  441|       |         * we know that nbits (the # of bits in w) > 48 at this point
  442|       |         */
  443|      0|        if (exponent < nbits) {
  ------------------
  |  Branch (443:13): [True: 0, False: 0]
  ------------------
  444|      0|            j = i;
  445|      0|            i = 0.0;
  446|      0|            goto Compare;
  447|      0|        }
  448|      0|        if (exponent > nbits) {
  ------------------
  |  Branch (448:13): [True: 0, False: 0]
  ------------------
  449|      0|            j = 0.0;
  450|      0|            goto Compare;
  451|      0|        }
  452|       |        /* v and w have the same number of bits before the radix
  453|       |         * point.  Construct an int from the integer part of v and
  454|       |         * update op if necessary, so comparing two ints has the same outcome.
  455|       |         */
  456|      0|        {
  457|      0|            double fracpart;
  458|      0|            double intpart;
  459|      0|            PyObject *result = NULL;
  460|      0|            PyObject *vv = NULL;
  461|       |
  462|      0|            fracpart = modf(i, &intpart);
  463|      0|            if (fracpart != 0.0) {
  ------------------
  |  Branch (463:17): [True: 0, False: 0]
  ------------------
  464|      0|                switch (op) {
  ------------------
  |  Branch (464:25): [True: 0, False: 0]
  ------------------
  465|       |                    /* Non-integer float never equals to an int. */
  466|      0|                    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (466:21): [True: 0, False: 0]
  ------------------
  467|      0|                        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|      0|                    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (468:21): [True: 0, False: 0]
  ------------------
  469|      0|                        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|       |                    /* For non-integer float, v <= w <=> v < w.
  471|       |                     * If v > 0: trunc(v) < v < trunc(v) + 1
  472|       |                     *   v < w => trunc(v) < w
  473|       |                     *   trunc(v) < w => trunc(v) + 1 <= w => v < w
  474|       |                     * If v < 0: trunc(v) - 1 < v < trunc(v)
  475|       |                     *   v < w => trunc(v) - 1 < w => trunc(v) <= w
  476|       |                     *   trunc(v) <= w => v < w
  477|       |                     */
  478|      0|                    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (478:21): [True: 0, False: 0]
  ------------------
  479|      0|                    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (479:21): [True: 0, False: 0]
  ------------------
  480|      0|                        op = vsign > 0 ? Py_LT : Py_LE;
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
                                      op = vsign > 0 ? Py_LT : Py_LE;
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (480:30): [True: 0, False: 0]
  ------------------
  481|      0|                        break;
  482|       |                    /* The same as above, but with opposite directions. */
  483|      0|                    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (483:21): [True: 0, False: 0]
  ------------------
  484|      0|                    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (484:21): [True: 0, False: 0]
  ------------------
  485|      0|                        op = vsign > 0 ? Py_GE : Py_GT;
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
                                      op = vsign > 0 ? Py_GE : Py_GT;
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (485:30): [True: 0, False: 0]
  ------------------
  486|      0|                        break;
  487|      0|                }
  488|      0|            }
  489|       |
  490|      0|            vv = PyLong_FromDouble(intpart);
  491|      0|            if (vv == NULL)
  ------------------
  |  Branch (491:17): [True: 0, False: 0]
  ------------------
  492|      0|                goto Error;
  493|       |
  494|      0|            r = PyObject_RichCompareBool(vv, w, op);
  495|      0|            if (r < 0)
  ------------------
  |  Branch (495:17): [True: 0, False: 0]
  ------------------
  496|      0|                goto Error;
  497|      0|            result = PyBool_FromLong(r);
  498|      0|         Error:
  499|      0|            Py_XDECREF(vv);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      0|            return result;
  501|      0|        }
  502|      0|    } /* else if (PyLong_Check(w)) */
  503|       |
  504|      0|    else        /* w isn't float or int */
  505|      0|        goto Unimplemented;
  506|       |
  507|  4.57M| Compare:
  508|  4.57M|    switch (op) {
  ------------------
  |  Branch (508:13): [True: 4.57M, False: 0]
  ------------------
  509|  1.86M|    case Py_EQ:
  ------------------
  |  |  654|  1.86M|#define Py_EQ 2
  ------------------
  |  Branch (509:5): [True: 1.86M, False: 2.71M]
  ------------------
  510|  1.86M|        r = i == j;
  511|  1.86M|        break;
  512|   240k|    case Py_NE:
  ------------------
  |  |  655|   240k|#define Py_NE 3
  ------------------
  |  Branch (512:5): [True: 240k, False: 4.33M]
  ------------------
  513|   240k|        r = i != j;
  514|   240k|        break;
  515|  1.14M|    case Py_LE:
  ------------------
  |  |  653|  1.14M|#define Py_LE 1
  ------------------
  |  Branch (515:5): [True: 1.14M, False: 3.43M]
  ------------------
  516|  1.14M|        r = i <= j;
  517|  1.14M|        break;
  518|  1.14M|    case Py_GE:
  ------------------
  |  |  657|  1.14M|#define Py_GE 5
  ------------------
  |  Branch (518:5): [True: 1.14M, False: 3.43M]
  ------------------
  519|  1.14M|        r = i >= j;
  520|  1.14M|        break;
  521|   159k|    case Py_LT:
  ------------------
  |  |  652|   159k|#define Py_LT 0
  ------------------
  |  Branch (521:5): [True: 159k, False: 4.41M]
  ------------------
  522|   159k|        r = i < j;
  523|   159k|        break;
  524|  31.1k|    case Py_GT:
  ------------------
  |  |  656|  31.1k|#define Py_GT 4
  ------------------
  |  Branch (524:5): [True: 31.1k, False: 4.54M]
  ------------------
  525|  31.1k|        r = i > j;
  526|  31.1k|        break;
  527|  4.57M|    }
  528|  4.57M|    return PyBool_FromLong(r);
  529|       |
  530|      0| Unimplemented:
  531|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  532|  4.57M|}
floatobject.c:float_new_impl:
 1569|  42.8k|{
 1570|  42.8k|    if (type != &PyFloat_Type) {
  ------------------
  |  Branch (1570:9): [True: 0, False: 42.8k]
  ------------------
 1571|      0|        if (x == NULL) {
  ------------------
  |  Branch (1571:13): [True: 0, False: 0]
  ------------------
 1572|      0|            x = _PyLong_GetZero();
 1573|      0|        }
 1574|      0|        return float_subtype_new(type, x); /* Wimp out */
 1575|      0|    }
 1576|       |
 1577|  42.8k|    if (x == NULL) {
  ------------------
  |  Branch (1577:9): [True: 0, False: 42.8k]
  ------------------
 1578|      0|        return PyFloat_FromDouble(0.0);
 1579|      0|    }
 1580|       |    /* If it's a string, but not a string subclass, use
 1581|       |       PyFloat_FromString. */
 1582|  42.8k|    if (PyUnicode_CheckExact(x))
  ------------------
  |  |  104|  42.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  42.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 42.8k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|  42.8k|        return PyFloat_FromString(x);
 1584|      6|    return PyNumber_Float(x);
 1585|  42.8k|}
floatobject.c:float_vectorcall:
 1615|  42.8k|{
 1616|  42.8k|    if (!_PyArg_NoKwnames("float", kwnames)) {
  ------------------
  |  |   15|  42.8k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 42.8k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1617|      0|        return NULL;
 1618|      0|    }
 1619|       |
 1620|  42.8k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  42.8k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1621|  42.8k|    if (!_PyArg_CheckPositional("float", nargs, 0, 1)) {
  ------------------
  |  |   31|  42.8k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 42.8k, False: 0]
  |  |  |  Branch (31:27): [True: 42.8k, False: 0]
  |  |  ------------------
  |  |   32|  42.8k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1622|      0|        return NULL;
 1623|      0|    }
 1624|       |
 1625|  42.8k|    PyObject *x = nargs >= 1 ? args[0] : NULL;
  ------------------
  |  Branch (1625:19): [True: 42.8k, False: 0]
  ------------------
 1626|       |    return float_new_impl(_PyType_CAST(type), x);
  ------------------
  |  |  770|  42.8k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1627|  42.8k|}

_PyFrameLocalsProxy_New:
  945|      6|{
  946|      6|    PyObject* args = PyTuple_Pack(1, frame);
  947|      6|    if (args == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 6]
  ------------------
  948|      0|        return NULL;
  949|      0|    }
  950|       |
  951|      6|    PyObject* proxy = framelocalsproxy_new(&PyFrameLocalsProxy_Type, args, NULL);
  952|      6|    Py_DECREF(args);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  953|      6|    return proxy;
  954|      6|}
_PyFrame_New_NoTrack:
 2113|  2.36M|{
 2114|  2.36M|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|  2.36M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2115|  2.36M|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2116|  2.36M|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|  2.36M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  2.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2117|  2.36M|    if (f == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 2.36M]
  ------------------
 2118|      0|        return NULL;
 2119|      0|    }
 2120|  2.36M|    f->f_back = NULL;
 2121|  2.36M|    f->f_trace = NULL;
 2122|  2.36M|    f->f_trace_lines = 1;
 2123|  2.36M|    f->f_trace_opcodes = 0;
 2124|  2.36M|    f->f_lineno = 0;
 2125|  2.36M|    f->f_extra_locals = NULL;
 2126|  2.36M|    f->f_locals_cache = NULL;
 2127|       |    f->f_overwritten_fast_locals = NULL;
 2128|  2.36M|    return f;
 2129|  2.36M|}
_PyFrame_HasHiddenLocals:
 2251|     84|{
 2252|       |    /*
 2253|       |     * This function returns if there are hidden locals introduced by PEP 709,
 2254|       |     * which are the isolated fast locals for inline comprehensions
 2255|       |     */
 2256|     84|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2257|       |
 2258|     98|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2258:21): [True: 14, False: 84]
  ------------------
 2259|     14|        _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
 2260|       |
 2261|     14|        if (kind & CO_FAST_HIDDEN) {
  ------------------
  |  |  196|     14|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (2261:13): [True: 14, False: 0]
  ------------------
 2262|     14|            if (framelocalsproxy_hasval(frame, co, i)) {
  ------------------
  |  Branch (2262:17): [True: 0, False: 14]
  ------------------
 2263|      0|                return true;
 2264|      0|            }
 2265|     14|        }
 2266|     14|    }
 2267|       |
 2268|     84|    return false;
 2269|     84|}
_PyFrame_GetLocals:
 2274|     88|{
 2275|       |    // We should try to avoid creating the FrameObject if possible.
 2276|       |    // So we check if the frame is a module or class level scope
 2277|     88|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2278|       |
 2279|     88|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  118|     88|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2279:9): [True: 84, False: 4]
  |  Branch (2279:43): [True: 84, False: 0]
  ------------------
 2280|     84|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2280:13): [True: 0, False: 84]
  ------------------
 2281|       |            // We found cases when f_locals is NULL for non-optimized code.
 2282|       |            // We fill the f_locals with an empty dict to avoid crash until
 2283|       |            // we find the root cause.
 2284|      0|            frame->f_locals = PyDict_New();
 2285|      0|            if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2285:17): [True: 0, False: 0]
  ------------------
 2286|      0|                return NULL;
 2287|      0|            }
 2288|      0|        }
 2289|     84|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  550|     84|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|     84|    }
 2291|       |
 2292|      4|    PyFrameObject* f = _PyFrame_GetFrameObject(frame);
 2293|      4|    if (f == NULL) {
  ------------------
  |  Branch (2293:9): [True: 0, False: 4]
  ------------------
 2294|      0|        return NULL;
 2295|      0|    }
 2296|       |
 2297|      4|    return _PyFrameLocalsProxy_New(f);
 2298|      4|}
PyFrame_GetCode:
 2383|    112|{
 2384|    112|    assert(frame != NULL);
 2385|    112|    PyObject *code;
 2386|    112|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|    112|    {
  ------------------
 2387|    112|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
 2388|    112|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  550|    112|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|    112|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    112|    }
  ------------------
 2390|    112|    return (PyCodeObject *)code;
 2391|    112|}
PyFrame_GetBack:
 2396|    546|{
 2397|    546|    assert(frame != NULL);
 2398|    546|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
 2399|    546|    PyFrameObject *back = frame->f_back;
 2400|    546|    if (back == NULL) {
  ------------------
  |  Branch (2400:9): [True: 546, False: 0]
  ------------------
 2401|    546|        _PyInterpreterFrame *prev = frame->f_frame->previous;
 2402|    546|        prev = _PyFrame_GetFirstComplete(prev);
 2403|    546|        if (prev) {
  ------------------
  |  Branch (2403:13): [True: 502, False: 44]
  ------------------
 2404|    502|            back = _PyFrame_GetFrameObject(prev);
 2405|    502|        }
 2406|    546|    }
 2407|    546|    return (PyFrameObject*)Py_XNewRef(back);
  ------------------
  |  |  551|    546|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    546|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    546|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2408|    546|}
frameobject.c:framelocalsproxy_dealloc:
  414|      6|{
  415|      6|    PyFrameLocalsProxyObject *proxy = PyFrameLocalsProxyObject_CAST(self);
  ------------------
  |  |   30|      6|    (                                                               \
  |  |   31|      6|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   32|      6|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   33|      6|    )
  ------------------
  416|      6|    PyObject_GC_UnTrack(self);
  417|      6|    Py_CLEAR(proxy->frame);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  418|      6|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|      6|}
frameobject.c:framelocalsproxy_getkeyindex:
   98|     46|{
   99|       |    /*
  100|       |     * Returns -2 (!) if an error occurred; exception will be set.
  101|       |     * Returns the fast locals index of the key on success:
  102|       |     *   - if read == true, returns the index if the value is not NULL
  103|       |     *   - if read == false, returns the index if the value is not hidden
  104|       |     * Otherwise returns -1.
  105|       |     *
  106|       |     * If read == true and value_ptr is not NULL, *value_ptr is set to
  107|       |     * the value of the key if it is found (with a new reference).
  108|       |     */
  109|       |
  110|       |    // value_ptr should only be given if we are reading the value
  111|     46|    assert(read || value_ptr == NULL);
  112|       |
  113|     46|    PyCodeObject *co = _PyFrame_GetCode(frame->f_frame);
  114|       |
  115|       |    // Ensure that the key is hashable.
  116|     46|    Py_hash_t key_hash = PyObject_Hash(key);
  117|     46|    if (key_hash == -1) {
  ------------------
  |  Branch (117:9): [True: 0, False: 46]
  ------------------
  118|      0|        return -2;
  119|      0|    }
  120|       |
  121|     46|    bool found = false;
  122|       |
  123|       |    // We do 2 loops here because it's highly possible the key is interned
  124|       |    // and we can do a pointer comparison.
  125|    288|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (125:21): [True: 288, False: 0]
  ------------------
  126|    288|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|    288|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    288|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|    288|        if (name == key) {
  ------------------
  |  Branch (127:13): [True: 46, False: 242]
  ------------------
  128|     46|            if (read) {
  ------------------
  |  Branch (128:17): [True: 46, False: 0]
  ------------------
  129|     46|                PyObject *value = framelocalsproxy_getval(frame->f_frame, co, i);
  130|     46|                if (value != NULL) {
  ------------------
  |  Branch (130:21): [True: 46, False: 0]
  ------------------
  131|     46|                    if (value_ptr != NULL) {
  ------------------
  |  Branch (131:25): [True: 46, False: 0]
  ------------------
  132|     46|                        *value_ptr = value;
  133|     46|                    }
  134|      0|                    else {
  135|      0|                        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|      0|                    }
  137|     46|                    return i;
  138|     46|                }
  139|     46|            } else {
  140|      0|                if (!(_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_HIDDEN)) {
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (140:21): [True: 0, False: 0]
  ------------------
  141|      0|                    return i;
  142|      0|                }
  143|      0|            }
  144|      0|            found = true;
  145|      0|        }
  146|    288|    }
  147|      0|    if (found) {
  ------------------
  |  Branch (147:9): [True: 0, False: 0]
  ------------------
  148|       |        // This is an attempt to read an unset local variable or
  149|       |        // write to a variable that is hidden from regular write operations
  150|      0|        return -1;
  151|      0|    }
  152|       |    // This is unlikely, but we need to make sure. This means the key
  153|       |    // is not interned.
  154|      0|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (154:21): [True: 0, False: 0]
  ------------------
  155|      0|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|      0|        Py_hash_t name_hash = PyObject_Hash(name);
  157|      0|        assert(name_hash != -1);  // keys are exact unicode
  158|      0|        if (name_hash != key_hash) {
  ------------------
  |  Branch (158:13): [True: 0, False: 0]
  ------------------
  159|      0|            continue;
  160|      0|        }
  161|      0|        int same = PyObject_RichCompareBool(name, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  162|      0|        if (same < 0) {
  ------------------
  |  Branch (162:13): [True: 0, False: 0]
  ------------------
  163|      0|            return -2;
  164|      0|        }
  165|      0|        if (same) {
  ------------------
  |  Branch (165:13): [True: 0, False: 0]
  ------------------
  166|      0|            if (read) {
  ------------------
  |  Branch (166:17): [True: 0, False: 0]
  ------------------
  167|      0|                PyObject *value = framelocalsproxy_getval(frame->f_frame, co, i);
  168|      0|                if (value != NULL) {
  ------------------
  |  Branch (168:21): [True: 0, False: 0]
  ------------------
  169|      0|                    if (value_ptr != NULL) {
  ------------------
  |  Branch (169:25): [True: 0, False: 0]
  ------------------
  170|      0|                        *value_ptr = value;
  171|      0|                    }
  172|      0|                    else {
  173|      0|                        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|                    }
  175|      0|                    return i;
  176|      0|                }
  177|      0|            } else {
  178|      0|                if (!(_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_HIDDEN)) {
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (178:21): [True: 0, False: 0]
  ------------------
  179|      0|                    return i;
  180|      0|                }
  181|      0|            }
  182|      0|        }
  183|      0|    }
  184|       |
  185|      0|    return -1;
  186|      0|}
frameobject.c:framelocalsproxy_getval:
   46|    132|{
   47|    132|    _PyStackRef *fast = _PyFrame_GetLocalsArray(frame);
   48|    132|    _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
   49|       |
   50|    132|    PyObject *value = PyStackRef_AsPyObjectBorrow(fast[i]);
   51|    132|    PyObject *cell = NULL;
   52|       |
   53|    132|    if (value == NULL) {
  ------------------
  |  Branch (53:9): [True: 40, False: 92]
  ------------------
   54|     40|        return NULL;
   55|     40|    }
   56|       |
   57|     92|    if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  199|    184|#define CO_FAST_FREE    (0x80)
  ------------------
                  if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  198|     92|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (57:9): [True: 0, False: 92]
  |  Branch (57:33): [True: 0, False: 92]
  ------------------
   58|       |        // The cell was set when the frame was created from
   59|       |        // the function's closure.
   60|       |        // GH-128396: With PEP 709, it's possible to have a fast variable in
   61|       |        // an inlined comprehension that has the same name as the cell variable
   62|       |        // in the frame, where the `kind` obtained from frame can not guarantee
   63|       |        // that the variable is a cell.
   64|       |        // If the variable is not a cell, we are okay with it and we can simply
   65|       |        // return the value.
   66|      0|        if (PyCell_Check(value)) {
  ------------------
  |  |   18|      0|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|      0|            cell = value;
   68|      0|        }
   69|      0|    }
   70|       |
   71|     92|    if (cell != NULL) {
  ------------------
  |  Branch (71:9): [True: 0, False: 92]
  ------------------
   72|      0|        value = PyCell_GetRef((PyCellObject *)cell);
   73|      0|    }
   74|     92|    else {
   75|     92|        Py_XINCREF(value);
  ------------------
  |  |  514|     92|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|     92|    }
   77|       |
   78|     92|    if (value == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 92]
  ------------------
   79|      0|        return NULL;
   80|      0|    }
   81|       |
   82|     92|    return value;
   83|     92|}
frameobject.c:framelocalsproxy_getitem:
  190|     46|{
  191|     46|    PyFrameObject *frame = PyFrameLocalsProxyObject_CAST(self)->frame;
  ------------------
  |  |   30|     46|    (                                                               \
  |  |   31|     46|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   32|     46|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   33|     46|    )
  ------------------
  192|     46|    PyObject *value = NULL;
  193|       |
  194|     46|    int i = framelocalsproxy_getkeyindex(frame, key, true, &value);
  195|     46|    if (i == -2) {
  ------------------
  |  Branch (195:9): [True: 0, False: 46]
  ------------------
  196|      0|        return NULL;
  197|      0|    }
  198|     46|    if (i >= 0) {
  ------------------
  |  Branch (198:9): [True: 46, False: 0]
  ------------------
  199|     46|        assert(value != NULL);
  200|     46|        return value;
  201|     46|    }
  202|     46|    assert(value == NULL);
  203|       |
  204|       |    // Okay not in the fast locals, try extra locals
  205|       |
  206|      0|    PyObject *extra = frame->f_extra_locals;
  207|      0|    if (extra != NULL) {
  ------------------
  |  Branch (207:9): [True: 0, False: 0]
  ------------------
  208|      0|        if (PyDict_GetItemRef(extra, key, &value) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  ------------------
  209|      0|            return NULL;
  210|      0|        }
  211|      0|        if (value != NULL) {
  ------------------
  |  Branch (211:13): [True: 0, False: 0]
  ------------------
  212|      0|            return value;
  213|      0|        }
  214|      0|    }
  215|       |
  216|      0|    PyErr_Format(PyExc_KeyError, "local variable '%R' is not defined", key);
  217|       |    return NULL;
  218|      0|}
frameobject.c:framelocalsproxy_keys:
  375|      4|{
  376|      4|    PyFrameObject *frame = PyFrameLocalsProxyObject_CAST(self)->frame;
  ------------------
  |  |   30|      4|    (                                                               \
  |  |   31|      4|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   32|      4|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   33|      4|    )
  ------------------
  377|      4|    PyCodeObject *co = _PyFrame_GetCode(frame->f_frame);
  378|      4|    PyObject *names = PyList_New(0);
  379|      4|    if (names == NULL) {
  ------------------
  |  Branch (379:9): [True: 0, False: 4]
  ------------------
  380|      0|        return NULL;
  381|      0|    }
  382|       |
  383|     76|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (383:21): [True: 72, False: 4]
  ------------------
  384|     72|        if (framelocalsproxy_hasval(frame->f_frame, co, i)) {
  ------------------
  |  Branch (384:13): [True: 46, False: 26]
  ------------------
  385|     46|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|     46|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     46|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|     46|            if (PyList_Append(names, name) < 0) {
  ------------------
  |  Branch (386:17): [True: 0, False: 46]
  ------------------
  387|      0|                Py_DECREF(names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      0|                return NULL;
  389|      0|            }
  390|     46|        }
  391|     72|    }
  392|       |
  393|       |    // Iterate through the extra locals
  394|      4|    if (frame->f_extra_locals) {
  ------------------
  |  Branch (394:9): [True: 0, False: 4]
  ------------------
  395|      0|        assert(PyDict_Check(frame->f_extra_locals));
  396|       |
  397|      0|        Py_ssize_t i = 0;
  398|      0|        PyObject *key = NULL;
  399|      0|        PyObject *value = NULL;
  400|       |
  401|      0|        while (PyDict_Next(frame->f_extra_locals, &i, &key, &value)) {
  ------------------
  |  Branch (401:16): [True: 0, False: 0]
  ------------------
  402|      0|            if (PyList_Append(names, key) < 0) {
  ------------------
  |  Branch (402:17): [True: 0, False: 0]
  ------------------
  403|      0|                Py_DECREF(names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      0|                return NULL;
  405|      0|            }
  406|      0|        }
  407|      0|    }
  408|       |
  409|      4|    return names;
  410|      4|}
frameobject.c:framelocalsproxy_new:
  423|      6|{
  424|      6|    if (PyTuple_GET_SIZE(args) != 1) {
  ------------------
  |  |   27|      6|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (424:9): [True: 0, False: 6]
  ------------------
  425|      0|        PyErr_Format(PyExc_TypeError,
  426|      0|                     "FrameLocalsProxy expected 1 argument, got %zd",
  427|      0|                     PyTuple_GET_SIZE(args));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|      6|    PyObject *item = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      6|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|       |
  432|      6|    if (!PyFrame_Check(item)) {
  ------------------
  |  |    8|      6|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (432:9): [True: 0, False: 6]
  ------------------
  433|      0|        PyErr_Format(PyExc_TypeError, "expect frame, not %T", item);
  434|      0|        return NULL;
  435|      0|    }
  436|      6|    PyFrameObject *frame = (PyFrameObject*)item;
  437|       |
  438|      6|    if (kwds != NULL && PyDict_Size(kwds) != 0) {
  ------------------
  |  Branch (438:9): [True: 0, False: 6]
  |  Branch (438:25): [True: 0, False: 0]
  ------------------
  439|      0|        PyErr_SetString(PyExc_TypeError,
  440|      0|                        "FrameLocalsProxy takes no keyword arguments");
  441|      0|        return 0;
  442|      0|    }
  443|       |
  444|      6|    PyFrameLocalsProxyObject *self = (PyFrameLocalsProxyObject *)type->tp_alloc(type, 0);
  445|      6|    if (self == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 6]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|       |
  449|      6|    ((PyFrameLocalsProxyObject*)self)->frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|       |
  451|      6|    return (PyObject *)self;
  452|      6|}
frameobject.c:frame_dealloc:
 1926|  2.36M|{
 1927|       |    /* It is the responsibility of the owning generator/coroutine
 1928|       |     * to have cleared the generator pointer */
 1929|  2.36M|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   27|  2.36M|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
 1930|  2.36M|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|  2.36M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 980k, False: 1.38M]
  |  |  ------------------
  ------------------
 1931|   980k|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  510|   980k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   980k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   980k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|   980k|    }
 1933|       |
 1934|       |    /* GH-106092: If f->f_frame was on the stack and we reached the maximum
 1935|       |     * nesting depth for deallocations, the trashcan may have delayed this
 1936|       |     * deallocation until after f->f_frame is freed. Avoid dereferencing
 1937|       |     * f->f_frame unless we know it still points to valid memory. */
 1938|  2.36M|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 1939|       |
 1940|       |    /* Kill all local variables including specials, if we own them */
 1941|  2.36M|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1941:9): [True: 980k, False: 1.38M]
  |  Branch (1941:32): [True: 980k, False: 0]
  ------------------
 1942|   980k|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|   980k|    do { \
  |  |  733|   980k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|   980k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|   980k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|   980k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|   980k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 980k]
  |  |  ------------------
  ------------------
 1943|   980k|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|   980k|    do { \
  |  |  733|   980k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|   980k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|   980k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|   980k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|   980k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 980k]
  |  |  ------------------
  ------------------
 1944|   980k|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|   980k|    do { \
  |  |  485|   980k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   980k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   980k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   980k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   980k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 980k]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|   980k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 980k]
  |  |  ------------------
  ------------------
 1945|   980k|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 1946|   980k|        _PyStackRef *sp = frame->stackpointer;
 1947|  4.60M|        while (sp > locals) {
  ------------------
  |  Branch (1947:16): [True: 3.62M, False: 980k]
  ------------------
 1948|  3.62M|            sp--;
 1949|  3.62M|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|  3.62M|    do { \
  |  |  733|  3.62M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  3.62M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  3.62M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  3.62M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  3.62M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 3.62M]
  |  |  ------------------
  ------------------
 1950|  3.62M|        }
 1951|   980k|    }
 1952|  2.36M|    Py_CLEAR(f->f_back);
  ------------------
  |  |  484|  2.36M|    do { \
  |  |  485|  2.36M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.36M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.36M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 957k, False: 1.41M]
  |  |  ------------------
  |  |  488|   957k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   957k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   957k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   957k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   957k|        } \
  |  |  491|  2.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.36M]
  |  |  ------------------
  ------------------
 1953|  2.36M|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  484|  2.36M|    do { \
  |  |  485|  2.36M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.36M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.36M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.36M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  2.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.36M]
  |  |  ------------------
  ------------------
 1954|  2.36M|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  484|  2.36M|    do { \
  |  |  485|  2.36M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.36M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.36M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.36M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  2.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.36M]
  |  |  ------------------
  ------------------
 1955|  2.36M|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  484|  2.36M|    do { \
  |  |  485|  2.36M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.36M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.36M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.36M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  2.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.36M]
  |  |  ------------------
  ------------------
 1956|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  484|  2.36M|    do { \
  |  |  485|  2.36M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.36M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.36M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.36M]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  2.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.36M]
  |  |  ------------------
  ------------------
 1957|  2.36M|    PyObject_GC_Del(f);
 1958|  2.36M|}
frameobject.c:frame_traverse:
 1962|    636|{
 1963|    636|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   27|    636|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
 1964|    636|    Py_VISIT(f->f_back);
  ------------------
  |  |  194|    636|    do {                                                                \
  |  |  195|    636|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 636, False: 0]
  |  |  ------------------
  |  |  196|    636|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    636|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 636]
  |  |  ------------------
  |  |  198|    636|                return vret;                                            \
  |  |  199|    636|        }                                                               \
  |  |  200|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 1965|    636|    Py_VISIT(f->f_trace);
  ------------------
  |  |  194|    636|    do {                                                                \
  |  |  195|    636|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 636]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 1966|    636|    Py_VISIT(f->f_extra_locals);
  ------------------
  |  |  194|    636|    do {                                                                \
  |  |  195|    636|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 636]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 1967|    636|    Py_VISIT(f->f_locals_cache);
  ------------------
  |  |  194|    636|    do {                                                                \
  |  |  195|    636|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 636]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 1968|    636|    Py_VISIT(f->f_overwritten_fast_locals);
  ------------------
  |  |  194|    636|    do {                                                                \
  |  |  195|    636|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 636]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 1969|    636|    if (f->f_frame->owner != FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1969:9): [True: 0, False: 636]
  ------------------
 1970|      0|        return 0;
 1971|      0|    }
 1972|    636|    assert(f->f_frame->frame_obj == NULL);
 1973|    636|    return _PyFrame_Traverse(f->f_frame, visit, arg);
 1974|    636|}
frameobject.c:frame_back_get_impl:
 1115|    546|{
 1116|    546|    PyObject *res = (PyObject *)PyFrame_GetBack(self);
 1117|    546|    if (res == NULL) {
  ------------------
  |  Branch (1117:9): [True: 44, False: 502]
  ------------------
 1118|     44|        Py_RETURN_NONE;
  ------------------
  |  |  628|     44|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1119|     44|    }
 1120|    502|    return res;
 1121|    546|}
frameobject.c:framelocalsproxy_hasval:
   87|     86|{
   88|     86|    PyObject *value = framelocalsproxy_getval(frame, co, i);
   89|     86|    if (value == NULL) {
  ------------------
  |  Branch (89:9): [True: 40, False: 46]
  ------------------
   90|     40|        return false;
   91|     40|    }
   92|     46|    Py_DECREF(value);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|       |    return true;
   94|     86|}
frameobject.c:frame_locals_get_impl:
  972|      2|{
  973|      2|    assert(!_PyFrame_IsIncomplete(self->f_frame));
  974|       |
  975|      2|    PyCodeObject *co = _PyFrame_GetCode(self->f_frame);
  976|       |
  977|      2|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(self->f_frame)) {
  ------------------
  |  |  118|      2|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (977:9): [True: 0, False: 2]
  |  Branch (977:43): [True: 0, False: 0]
  ------------------
  978|      0|        if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (978:13): [True: 0, False: 0]
  ------------------
  979|       |            // We found cases when f_locals is NULL for non-optimized code.
  980|       |            // We fill the f_locals with an empty dict to avoid crash until
  981|       |            // we find the root cause.
  982|      0|            self->f_frame->f_locals = PyDict_New();
  983|      0|            if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (983:17): [True: 0, False: 0]
  ------------------
  984|      0|                return NULL;
  985|      0|            }
  986|      0|        }
  987|      0|        return Py_NewRef(self->f_frame->f_locals);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|      0|    }
  989|       |
  990|      2|    return _PyFrameLocalsProxy_New(self);
  991|      2|}

_PyFunction_FromConstructor:
  117|    747|{
  118|    747|    PyObject *module;
  119|    747|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  919|    747|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    747|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    747|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:9): [True: 0, False: 747]
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|    747|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|    747|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  124|    747|    if (op == NULL) {
  ------------------
  |  Branch (124:9): [True: 0, False: 747]
  ------------------
  125|      0|        Py_XDECREF(module);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|      0|        return NULL;
  127|      0|    }
  128|    747|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  384|    747|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    747|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    747|    op->func_globals = constr->fc_globals;
  130|    747|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  386|    747|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    747|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|    747|    op->func_builtins = constr->fc_builtins;
  132|    747|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  550|    747|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|    747|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  550|    747|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|    747|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  317|    747|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    747|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|    747|    op->func_code = constr->fc_code;
  136|    747|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  551|    747|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|    747|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  551|    747|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|    747|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  551|    747|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|    747|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|    747|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|    747|    op->func_dict = NULL;
  141|    747|    op->func_weakreflist = NULL;
  142|    747|    op->func_module = module;
  143|    747|    op->func_annotations = NULL;
  144|    747|    op->func_annotate = NULL;
  145|    747|    op->func_typeparams = NULL;
  146|    747|    op->vectorcall = _PyFunction_Vectorcall;
  147|    747|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|    747|#define FUNC_VERSION_UNSET 0
  ------------------
  148|       |    // NOTE: functions created via FrameConstructor do not use deferred
  149|       |    // reference counting because they are typically not part of cycles
  150|       |    // nor accessed by multiple threads.
  151|    747|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|    747|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  153|    747|    return op;
  154|    747|}
PyFunction_NewWithQualName:
  158|  3.46M|{
  159|  3.46M|    assert(globals != NULL);
  160|  3.46M|    assert(PyAnyDict_Check(globals));
  161|  3.46M|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  384|  3.46M|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|       |
  163|  3.46M|    PyCodeObject *code_obj = (PyCodeObject *)code;
  164|  3.46M|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  317|  3.46M|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|       |
  166|  3.46M|    assert(code_obj->co_name != NULL);
  167|  3.46M|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  550|  3.46M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|       |
  169|  3.46M|    if (!qualname) {
  ------------------
  |  Branch (169:9): [True: 3.46M, False: 0]
  ------------------
  170|  3.46M|        qualname = code_obj->co_qualname;
  171|  3.46M|    }
  172|  3.46M|    assert(qualname != NULL);
  173|  3.46M|    Py_INCREF(qualname);
  ------------------
  |  |  310|  3.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|       |
  175|  3.46M|    PyObject *consts = code_obj->co_consts;
  176|  3.46M|    assert(PyTuple_Check(consts));
  177|  3.46M|    PyObject *doc;
  178|  3.46M|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  150|  3.46M|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (178:9): [True: 6.96k, False: 3.45M]
  ------------------
  179|  6.96k|        assert(PyTuple_Size(consts) >= 1);
  180|  6.96k|        doc = PyTuple_GetItem(consts, 0);
  181|  6.96k|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  6.96k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.96k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 6.96k]
  ------------------
  182|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  183|      0|        }
  184|  6.96k|    }
  185|  3.45M|    else {
  186|  3.45M|        doc = Py_None;
  ------------------
  |  |  616|  3.45M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  187|  3.45M|    }
  188|  3.46M|    Py_INCREF(doc);
  ------------------
  |  |  310|  3.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |
  190|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  191|  3.46M|    PyObject *module;
  192|  3.46M|    PyObject *builtins = NULL;
  193|  3.46M|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  919|  3.46M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.46M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.46M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:9): [True: 0, False: 3.46M]
  ------------------
  194|      0|        goto error;
  195|      0|    }
  196|       |
  197|  3.46M|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  198|  3.46M|    if (builtins == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 3.46M]
  ------------------
  199|      0|        goto error;
  200|      0|    }
  201|       |
  202|  3.46M|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  3.46M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  3.46M|    if (op == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 3.46M]
  ------------------
  204|      0|        goto error;
  205|      0|    }
  206|       |    /* Note: No failures from this point on, since func_dealloc() does not
  207|       |       expect a partially-created object. */
  208|       |
  209|  3.46M|    op->func_globals = globals;
  210|  3.46M|    op->func_builtins = builtins;
  211|  3.46M|    op->func_name = name;
  212|  3.46M|    op->func_qualname = qualname;
  213|  3.46M|    op->func_code = (PyObject*)code_obj;
  214|  3.46M|    op->func_defaults = NULL;    // No default positional arguments
  215|  3.46M|    op->func_kwdefaults = NULL;  // No default keyword arguments
  216|  3.46M|    op->func_closure = NULL;
  217|  3.46M|    op->func_doc = doc;
  218|  3.46M|    op->func_dict = NULL;
  219|  3.46M|    op->func_weakreflist = NULL;
  220|  3.46M|    op->func_module = module;
  221|  3.46M|    op->func_annotations = NULL;
  222|  3.46M|    op->func_annotate = NULL;
  223|  3.46M|    op->func_typeparams = NULL;
  224|  3.46M|    op->vectorcall = _PyFunction_Vectorcall;
  225|  3.46M|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  3.46M|#define FUNC_VERSION_UNSET 0
  ------------------
  226|  3.46M|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  122|  3.46M|#define CO_NESTED       0x0010
  ------------------
  |  Branch (226:9): [True: 20.3k, False: 3.44M]
  ------------------
  227|  3.44M|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  153|  3.44M|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (227:9): [True: 16, False: 3.44M]
  ------------------
  228|       |        // Use deferred reference counting for top-level functions, but not
  229|       |        // nested functions because they are more likely to capture variables,
  230|       |        // which makes prompt deallocation more important.
  231|       |        //
  232|       |        // Nested methods (functions defined in class scope) are also deferred,
  233|       |        // since they will likely be cleaned up by GC anyway.
  234|  20.3k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  235|  20.3k|    }
  236|  3.46M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  3.46M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  3.46M|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  238|  3.46M|    return (PyObject *)op;
  239|       |
  240|      0|error:
  241|      0|    Py_DECREF(globals);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|      0|    Py_DECREF(code_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      0|    Py_DECREF(qualname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|    Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|      0|    Py_XDECREF(module);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|      0|    Py_XDECREF(builtins);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|       |    return NULL;
  249|  3.46M|}
_PyFunction_SetVersion:
  320|  3.46M|{
  321|  3.46M|    assert(func->func_version == FUNC_VERSION_UNSET);
  322|  3.46M|    assert(version >= FUNC_VERSION_FIRST_VALID);
  323|       |    // This should only be called from MAKE_FUNCTION. No code is specialized
  324|       |    // based on the version, so we do not need to stop the world to set it.
  325|  3.46M|    func->func_version = version;
  326|  3.46M|#ifndef Py_GIL_DISABLED
  327|  3.46M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  328|  3.46M|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  329|  3.46M|    slot->func = func;
  330|  3.46M|    slot->code = func->func_code;
  331|  3.46M|#endif
  332|  3.46M|}
_PyFunction_ClearCodeByVersion:
  368|  7.09k|{
  369|  7.09k|#ifndef Py_GIL_DISABLED
  370|  7.09k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  371|  7.09k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  372|  7.09k|    if (slot->code) {
  ------------------
  |  Branch (372:9): [True: 6.25k, False: 844]
  ------------------
  373|  6.25k|        assert(PyCode_Check(slot->code));
  374|  6.25k|        PyCodeObject *code = (PyCodeObject *)slot->code;
  375|  6.25k|        if (code->co_version == version) {
  ------------------
  |  Branch (375:13): [True: 2.11k, False: 4.13k]
  ------------------
  376|  2.11k|            slot->code = NULL;
  377|       |            slot->func = NULL;
  378|  2.11k|        }
  379|  6.25k|    }
  380|  7.09k|#endif
  381|  7.09k|}
_PyFunction_GetVersionForCurrentState:
  385|  19.6k|{
  386|  19.6k|    return func->func_version;
  387|  19.6k|}
PyFunction_New:
  391|  3.46M|{
  392|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  393|  3.46M|}
PyFunction_GetModule:
  417|    150|{
  418|    150|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|    150|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    150|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:9): [True: 0, False: 150]
  ------------------
  419|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  420|      0|        return NULL;
  421|      0|    }
  422|    150|    return ((PyFunctionObject *) op) -> func_module;
  423|    150|}
_Py_set_function_type_params:
  964|      6|{
  965|      6|    assert(PyFunction_Check(func));
  966|      6|    assert(PyTuple_Check(type_params));
  967|      6|    PyFunctionObject *f = (PyFunctionObject *)func;
  968|      6|    Py_XSETREF(f->func_typeparams, Py_NewRef(type_params));
  ------------------
  |  |  374|      6|    do { \
  |  |  375|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      6|        *_tmp_dst_ptr = (src); \
  |  |  378|      6|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  969|      6|    return Py_NewRef(func);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      6|}
PyClassMethod_New:
 1637|     16|{
 1638|     16|    classmethod *cm = (classmethod *)
 1639|     16|        PyType_GenericAlloc(&PyClassMethod_Type, 0);
 1640|     16|    if (cm == NULL) {
  ------------------
  |  Branch (1640:9): [True: 0, False: 16]
  ------------------
 1641|      0|        return NULL;
 1642|      0|    }
 1643|     16|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 16]
  ------------------
 1644|      0|        Py_DECREF(cm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|      0|        return NULL;
 1646|      0|    }
 1647|     16|    return (PyObject *)cm;
 1648|     16|}
PyStaticMethod_New:
 1903|    148|{
 1904|    148|    staticmethod *sm = (staticmethod *)
 1905|    148|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 1906|    148|    if (sm == NULL) {
  ------------------
  |  Branch (1906:9): [True: 0, False: 148]
  ------------------
 1907|      0|        return NULL;
 1908|      0|    }
 1909|    148|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1910|    148|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 148]
  ------------------
 1911|      0|        Py_DECREF(sm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1912|      0|        return NULL;
 1913|      0|    }
 1914|    148|    return (PyObject *)sm;
 1915|    148|}
_PyClassMethod_GetFunc:
 1919|  8.37k|{
 1920|       |    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|  8.37k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|  8.37k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1921|  8.37k|    return cm->cm_callable;
 1922|  8.37k|}
_PyStaticMethod_GetFunc:
 1926|   138k|{
 1927|       |    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|   138k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|   138k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1928|   138k|    return sm->sm_callable;
 1929|   138k|}
funcobject.c:handle_func_event:
   55|  6.91M|{
   56|  6.91M|    assert(Py_REFCNT(func) > 0);
   57|  6.91M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   58|  6.91M|    assert(interp->_initialized);
   59|  6.91M|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (59:9): [True: 0, False: 6.91M]
  ------------------
   60|      0|        notify_func_watchers(interp, event, func, new_value);
   61|      0|    }
   62|  6.91M|    switch (event) {
   63|  4.02k|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (63:9): [True: 4.02k, False: 6.91M]
  ------------------
   64|  8.07k|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (64:9): [True: 4.04k, False: 6.91M]
  ------------------
   65|  8.14k|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (65:9): [True: 76, False: 6.91M]
  ------------------
   66|  12.9k|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (66:9): [True: 4.82k, False: 6.91M]
  ------------------
   67|       |#if _Py_TIER2
   68|       |            // Note: we only invalidate JIT code if a function version changes.
   69|       |            // Not when the function is deallocated.
   70|       |            // Function deallocation occurs frequently (think: lambdas),
   71|       |            // so we want to minimize dependency invalidation there.
   72|       |            _Py_Executors_InvalidateDependency(interp, func, 1);
   73|       |#endif
   74|  12.9k|            RARE_EVENT_INTERP_INC(interp, func_modification);
  ------------------
  |  |   98|  12.9k|    do { \
  |  |   99|  12.9k|        /* saturating add */ \
  |  |  100|  12.9k|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  ------------------
  |  |  |  |  157|  12.9k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  ------------------
  |  |  101|  12.9k|        if (val < UINT8_MAX) { \
  |  |  ------------------
  |  |  |  Branch (101:13): [True: 510, False: 12.4k]
  |  |  ------------------
  |  |  102|    510|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  ------------------
  |  |  |  |  155|    510|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  103|    510|        } \
  |  |  104|  12.9k|        RARE_EVENT_STAT_INC(name); \
  |  |  ------------------
  |  |  |  |   89|  12.9k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  105|  12.9k|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (105:14): [Folded, False: 12.9k]
  |  |  ------------------
  ------------------
   75|  12.9k|            break;
   76|  6.90M|        default:
  ------------------
  |  Branch (76:9): [True: 6.90M, False: 12.9k]
  ------------------
   77|  6.90M|            break;
   78|  6.91M|    }
   79|  6.91M|}
funcobject.c:get_cache_item:
  312|  6.90M|{
  313|  6.90M|    return interp->func_state.func_version_cache +
  314|  6.90M|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  505|  6.90M|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  315|  6.90M|}
funcobject.c:_PyFunction_ClearVersion:
  355|  8.14k|{
  356|  8.14k|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  8.14k|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (356:9): [True: 4.10k, False: 4.04k]
  ------------------
  357|       |        // Version was never set or has already been cleared.
  358|  4.10k|        return;
  359|  4.10k|    }
  360|  4.04k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  361|  4.04k|    _PyEval_StopTheWorld(interp);
  362|  4.04k|    func_clear_version(interp, func);
  363|  4.04k|    _PyEval_StartTheWorld(interp);
  364|  4.04k|}
funcobject.c:func_clear_version:
  336|  3.47M|{
  337|  3.47M|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  3.47M|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (337:9): [True: 30.5k, False: 3.44M]
  ------------------
  338|       |        // Version was never set or has already been cleared.
  339|  30.5k|        return;
  340|  30.5k|    }
  341|  3.44M|#ifndef Py_GIL_DISABLED
  342|  3.44M|    struct _func_version_cache_item *slot =
  343|  3.44M|        get_cache_item(interp, func->func_version);
  344|  3.44M|    if (slot->func == func) {
  ------------------
  |  Branch (344:9): [True: 2.64M, False: 798k]
  ------------------
  345|  2.64M|        slot->func = NULL;
  346|       |        // Leave slot->code alone, there may be use for it.
  347|  2.64M|    }
  348|  3.44M|#endif
  349|  3.44M|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|  3.44M|#define FUNC_VERSION_CLEARED 1
  ------------------
  350|  3.44M|}
funcobject.c:func_get_annotation_dict:
  535|  8.08k|{
  536|  8.08k|    if (op->func_annotations == NULL) {
  ------------------
  |  Branch (536:9): [True: 124, False: 7.96k]
  ------------------
  537|    124|        if (op->func_annotate == NULL || !PyCallable_Check(op->func_annotate)) {
  ------------------
  |  Branch (537:13): [True: 0, False: 124]
  |  Branch (537:42): [True: 0, False: 124]
  ------------------
  538|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  539|      0|        }
  540|    124|        PyObject *one = _PyLong_GetOne();
  541|    124|        PyObject *ann_dict = _PyObject_CallOneArg(op->func_annotate, one);
  ------------------
  |  |   47|    124|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
  542|    124|        if (ann_dict == NULL) {
  ------------------
  |  Branch (542:13): [True: 0, False: 124]
  ------------------
  543|      0|            return NULL;
  544|      0|        }
  545|    124|        if (!PyDict_Check(ann_dict)) {
  ------------------
  |  |   18|    124|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    124|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (545:13): [True: 0, False: 124]
  ------------------
  546|      0|            PyErr_Format(PyExc_TypeError,
  547|      0|                         "__annotate__() must return a dict, not %T",
  548|      0|                         ann_dict);
  549|      0|            Py_DECREF(ann_dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|      0|            return NULL;
  551|      0|        }
  552|    124|        Py_XSETREF(op->func_annotations, ann_dict);
  ------------------
  |  |  374|    124|    do { \
  |  |  375|    124|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    124|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    124|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    124|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    124|        *_tmp_dst_ptr = (src); \
  |  |  378|    124|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    124|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    124|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 124]
  |  |  ------------------
  ------------------
  553|    124|        return ann_dict;
  554|    124|    }
  555|  7.96k|    if (PyTuple_CheckExact(op->func_annotations)) {
  ------------------
  |  |   28|  7.96k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  7.96k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|      0|        PyObject *ann_tuple = op->func_annotations;
  557|      0|        PyObject *ann_dict = PyDict_New();
  558|      0|        if (ann_dict == NULL) {
  ------------------
  |  Branch (558:13): [True: 0, False: 0]
  ------------------
  559|      0|            return NULL;
  560|      0|        }
  561|       |
  562|      0|        assert(PyTuple_GET_SIZE(ann_tuple) % 2 == 0);
  563|       |
  564|      0|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(ann_tuple); i += 2) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (564:32): [True: 0, False: 0]
  ------------------
  565|      0|            int err = PyDict_SetItem(ann_dict,
  566|      0|                                     PyTuple_GET_ITEM(ann_tuple, i),
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  567|      0|                                     PyTuple_GET_ITEM(ann_tuple, i + 1));
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|       |
  569|      0|            if (err < 0) {
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|                Py_DECREF(ann_dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|                return NULL;
  572|      0|            }
  573|      0|        }
  574|      0|        Py_SETREF(op->func_annotations, ann_dict);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  575|      0|    }
  576|  7.96k|    assert(PyDict_Check(op->func_annotations));
  577|  7.96k|    return op->func_annotations;
  578|  7.96k|}
funcobject.c:func_dealloc:
 1129|  3.44M|{
 1130|  3.44M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.44M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1131|  3.44M|    _PyObject_ResurrectStart(self);
 1132|  3.44M|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1133|  3.44M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1133:9): [True: 0, False: 3.44M]
  ------------------
 1134|      0|        return;
 1135|      0|    }
 1136|  3.44M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  3.44M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|  3.44M|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|  3.44M|    do {                                            \
  |  |   48|  3.44M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  3.44M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 536, False: 3.44M]
  |  |  ------------------
  |  |   50|    536|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|    536|        }                                           \
  |  |   52|  3.44M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 3.44M]
  |  |  ------------------
  ------------------
 1138|  3.44M|    (void)func_clear((PyObject*)op);
 1139|       |    // These aren't cleared by func_clear().
 1140|  3.44M|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  318|  3.44M|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  3.44M|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  3.44M|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1143|  3.44M|    PyObject_GC_Del(op);
 1144|  3.44M|}
funcobject.c:func_traverse:
 1156|  1.78M|{
 1157|  1.78M|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  1.78M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1158|  1.78M|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1159|  1.78M|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1160|  1.78M|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1161|  1.78M|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 4]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1162|  1.78M|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 24.3k, False: 1.75M]
  |  |  ------------------
  |  |  196|  24.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  24.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |  198|  24.3k|                return vret;                                            \
  |  |  199|  24.3k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1163|  1.78M|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 7.40k, False: 1.77M]
  |  |  ------------------
  |  |  196|  7.40k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  7.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  7.40k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 7.40k]
  |  |  ------------------
  |  |  198|  7.40k|                return vret;                                            \
  |  |  199|  7.40k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1164|  1.78M|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1165|  1.78M|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1166|  1.78M|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 9.88k, False: 1.77M]
  |  |  ------------------
  |  |  196|  9.88k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  9.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  9.88k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 9.88k]
  |  |  ------------------
  |  |  198|  9.88k|                return vret;                                            \
  |  |  199|  9.88k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1167|  1.78M|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 871k, False: 908k]
  |  |  ------------------
  |  |  196|   871k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   871k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   871k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   871k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 871k]
  |  |  ------------------
  |  |  198|   871k|                return vret;                                            \
  |  |  199|   871k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1168|  1.78M|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.00k, False: 1.77M]
  |  |  ------------------
  |  |  196|  5.00k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.00k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.00k]
  |  |  ------------------
  |  |  198|  5.00k|                return vret;                                            \
  |  |  199|  5.00k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1169|  1.78M|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 805k, False: 974k]
  |  |  ------------------
  |  |  196|   805k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   805k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   805k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   805k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 805k]
  |  |  ------------------
  |  |  198|   805k|                return vret;                                            \
  |  |  199|   805k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1170|  1.78M|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.90k, False: 1.77M]
  |  |  ------------------
  |  |  196|  4.90k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.90k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.90k]
  |  |  ------------------
  |  |  198|  4.90k|                return vret;                                            \
  |  |  199|  4.90k|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1171|  1.78M|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  1.78M|    do {                                                                \
  |  |  195|  1.78M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.78M, False: 0]
  |  |  ------------------
  |  |  196|  1.78M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.78M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.78M]
  |  |  ------------------
  |  |  198|  1.78M|                return vret;                                            \
  |  |  199|  1.78M|        }                                                               \
  |  |  200|  1.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.78M]
  |  |  ------------------
  ------------------
 1172|  1.78M|    return 0;
 1173|  1.78M|}
funcobject.c:func_clear:
 1095|  3.46M|{
 1096|  3.46M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.46M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1097|  3.46M|    func_clear_version(_PyInterpreterState_GET(), op);
 1098|  3.46M|    PyObject *globals = op->func_globals;
 1099|  3.46M|    op->func_globals = NULL;
 1100|  3.46M|    if (globals != NULL) {
  ------------------
  |  Branch (1100:9): [True: 3.44M, False: 25.8k]
  ------------------
 1101|  3.44M|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  385|  3.44M|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|  3.44M|    }
 1103|  3.46M|    PyObject *builtins = op->func_builtins;
 1104|  3.46M|    op->func_builtins = NULL;
 1105|  3.46M|    if (builtins != NULL) {
  ------------------
  |  Branch (1105:9): [True: 3.44M, False: 25.8k]
  ------------------
 1106|  3.44M|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  387|  3.44M|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|  3.44M|    }
 1108|  3.46M|    Py_CLEAR(op->func_module);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.44M, False: 25.8k]
  |  |  ------------------
  |  |  488|  3.44M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.44M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.44M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.44M|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1109|  3.46M|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.61k, False: 3.46M]
  |  |  ------------------
  |  |  488|  4.61k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.61k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.61k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.61k|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1110|  3.46M|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 16, False: 3.46M]
  |  |  ------------------
  |  |  488|     16|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     16|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     16|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     16|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1111|  3.46M|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.44M, False: 25.8k]
  |  |  ------------------
  |  |  488|  3.44M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.44M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.44M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.44M|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1112|  3.46M|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.91k, False: 3.46M]
  |  |  ------------------
  |  |  488|  3.91k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.91k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.91k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.91k|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1113|  3.46M|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.22M, False: 1.24M]
  |  |  ------------------
  |  |  488|  2.22M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.22M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.22M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.22M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.22M|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1114|  3.46M|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.90k, False: 3.46M]
  |  |  ------------------
  |  |  488|  3.90k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.90k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.90k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.90k|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1115|  3.46M|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 899k, False: 2.56M]
  |  |  ------------------
  |  |  488|   899k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   899k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   899k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   899k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   899k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   899k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   899k|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1116|  3.46M|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  484|  3.46M|    do { \
  |  |  485|  3.46M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.46M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.46M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.91k, False: 3.46M]
  |  |  ------------------
  |  |  488|  3.91k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.91k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.91k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.91k|        } \
  |  |  491|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1117|       |    // Don't Py_CLEAR(op->func_code), since code is always required
 1118|       |    // to be non-NULL. Similarly, name and qualname shouldn't be NULL.
 1119|       |    // However, name and qualname could be str subclasses, so they
 1120|       |    // could have reference cycles. The solution is to replace them
 1121|       |    // with a genuinely immutable string.
 1122|  3.46M|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  352|  3.46M|    do { \
  |  |  353|  3.46M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  3.46M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  3.46M|        *_tmp_dst_ptr = (src); \
  |  |  356|  3.46M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.46M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1123|  3.46M|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  352|  3.46M|    do { \
  |  |  353|  3.46M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  3.46M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.46M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  3.46M|        *_tmp_dst_ptr = (src); \
  |  |  356|  3.46M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.46M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  3.46M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 3.46M]
  |  |  ------------------
  ------------------
 1124|  3.46M|    return 0;
 1125|  3.46M|}
funcobject.c:func_get_code:
  635|   210k|{
  636|   210k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|   210k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  637|   210k|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (637:9): [True: 0, False: 210k]
  ------------------
  638|      0|        return NULL;
  639|      0|    }
  640|       |
  641|   210k|    return Py_NewRef(op->func_code);
  ------------------
  |  |  550|   210k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  642|   210k|}
funcobject.c:func_set_code:
  646|  4.02k|{
  647|  4.02k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  4.02k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  648|       |
  649|       |    /* Not legal to del f.func_code or to set it to anything
  650|       |     * other than a code object. */
  651|  4.02k|    if (value == NULL || !PyCode_Check(value)) {
  ------------------
  |  |  164|  4.02k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.02k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (651:9): [True: 0, False: 4.02k]
  |  Branch (651:26): [True: 0, False: 4.02k]
  ------------------
  652|      0|        PyErr_SetString(PyExc_TypeError,
  653|      0|                        "__code__ must be set to a code object");
  654|      0|        return -1;
  655|      0|    }
  656|       |
  657|  4.02k|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (657:9): [True: 0, False: 4.02k]
  ------------------
  658|  4.02k|                    op, "__code__", value) < 0) {
  659|      0|        return -1;
  660|      0|    }
  661|       |
  662|  4.02k|    int nfree = ((PyCodeObject *)value)->co_nfreevars;
  663|  4.02k|    Py_ssize_t nclosure = (op->func_closure == NULL ? 0 :
  ------------------
  |  Branch (663:28): [True: 2, False: 4.02k]
  ------------------
  664|  4.02k|                                        PyTuple_GET_SIZE(op->func_closure));
  ------------------
  |  |   27|  4.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|  4.02k|    if (nclosure != nfree) {
  ------------------
  |  Branch (665:9): [True: 0, False: 4.02k]
  ------------------
  666|      0|        PyErr_Format(PyExc_ValueError,
  667|      0|                     "%U() requires a code object with %zd free vars,"
  668|      0|                     " not %d",
  669|      0|                     op->func_name,
  670|      0|                     nclosure, nfree);
  671|      0|        return -1;
  672|      0|    }
  673|       |
  674|  4.02k|    PyObject *func_code = PyFunction_GET_CODE(op);
  ------------------
  |  |   93|  4.02k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|  4.02k|    int old_flags = ((PyCodeObject *)func_code)->co_flags;
  676|  4.02k|    int new_flags = ((PyCodeObject *)value)->co_flags;
  677|  4.02k|    int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  123|  4.02k|#define CO_GENERATOR    0x0020
  ------------------
                  int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  127|  4.02k|#define CO_COROUTINE            0x0080
  ------------------
                  int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  129|  4.02k|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  678|  4.02k|    if ((old_flags & mask) != (new_flags & mask)) {
  ------------------
  |  Branch (678:9): [True: 0, False: 4.02k]
  ------------------
  679|      0|        if (PyErr_Warn(PyExc_DeprecationWarning,
  ------------------
  |  |   20|      0|#define PyErr_Warn(category, msg) PyErr_WarnEx((category), (msg), 1)
  ------------------
  |  Branch (679:13): [True: 0, False: 0]
  ------------------
  680|      0|            "Assigning a code object of non-matching type is deprecated "
  681|      0|            "(e.g., from a generator to a plain function)") < 0)
  682|      0|        {
  683|      0|            return -1;
  684|      0|        }
  685|      0|    }
  686|       |
  687|  4.02k|    handle_func_event(PyFunction_EVENT_MODIFY_CODE, op, value);
  688|  4.02k|    _PyFunction_ClearVersion(op);
  689|  4.02k|    Py_XSETREF(op->func_code, Py_NewRef(value));
  ------------------
  |  |  374|  4.02k|    do { \
  |  |  375|  4.02k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.02k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.02k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.02k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.02k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.02k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.02k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.02k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
  690|  4.02k|    return 0;
  691|  4.02k|}
funcobject.c:func_get_defaults:
  740|  35.1k|{
  741|  35.1k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  35.1k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  35.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  742|  35.1k|    if (PySys_Audit("object.__getattr__", "Os", op, "__defaults__") < 0) {
  ------------------
  |  Branch (742:9): [True: 0, False: 35.1k]
  ------------------
  743|      0|        return NULL;
  744|      0|    }
  745|  35.1k|    if (op->func_defaults == NULL) {
  ------------------
  |  Branch (745:9): [True: 35.1k, False: 68]
  ------------------
  746|  35.1k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  35.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  35.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  747|  35.1k|    }
  748|     68|    return Py_NewRef(op->func_defaults);
  ------------------
  |  |  550|     68|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|  35.1k|}
funcobject.c:func_set_defaults:
  753|  4.04k|{
  754|       |    /* Legal to del f.func_defaults.
  755|       |     * Can only set func_defaults to NULL or a tuple. */
  756|  4.04k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  4.04k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  757|  4.04k|    if (value == Py_None)
  ------------------
  |  |  616|  4.04k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (757:9): [True: 0, False: 4.04k]
  ------------------
  758|      0|        value = NULL;
  759|  4.04k|    if (value != NULL && !PyTuple_Check(value)) {
  ------------------
  |  |   27|  4.04k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.04k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (759:9): [True: 4.04k, False: 0]
  |  Branch (759:26): [True: 0, False: 4.04k]
  ------------------
  760|      0|        PyErr_SetString(PyExc_TypeError,
  761|      0|                        "__defaults__ must be set to a tuple object");
  762|      0|        return -1;
  763|      0|    }
  764|  4.04k|    if (value) {
  ------------------
  |  Branch (764:9): [True: 4.04k, False: 0]
  ------------------
  765|  4.04k|        if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (765:13): [True: 0, False: 4.04k]
  ------------------
  766|  4.04k|                        op, "__defaults__", value) < 0) {
  767|      0|            return -1;
  768|      0|        }
  769|  4.04k|    } else if (PySys_Audit("object.__delattr__", "Os",
  ------------------
  |  Branch (769:16): [True: 0, False: 0]
  ------------------
  770|      0|                           op, "__defaults__") < 0) {
  771|      0|        return -1;
  772|      0|    }
  773|       |
  774|  4.04k|    handle_func_event(PyFunction_EVENT_MODIFY_DEFAULTS, op, value);
  775|  4.04k|    _PyFunction_ClearVersion(op);
  776|  4.04k|    Py_XSETREF(op->func_defaults, Py_XNewRef(value));
  ------------------
  |  |  374|  4.04k|    do { \
  |  |  375|  4.04k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.04k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.04k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.04k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  777|  4.04k|    return 0;
  778|  4.04k|}
funcobject.c:func_get_kwdefaults:
  782|  35.1k|{
  783|  35.1k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  35.1k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  35.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  784|  35.1k|    if (PySys_Audit("object.__getattr__", "Os",
  ------------------
  |  Branch (784:9): [True: 0, False: 35.1k]
  ------------------
  785|  35.1k|                    op, "__kwdefaults__") < 0) {
  786|      0|        return NULL;
  787|      0|    }
  788|  35.1k|    if (op->func_kwdefaults == NULL) {
  ------------------
  |  Branch (788:9): [True: 35.1k, False: 80]
  ------------------
  789|  35.1k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  35.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  35.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  790|  35.1k|    }
  791|     80|    return Py_NewRef(op->func_kwdefaults);
  ------------------
  |  |  550|     80|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|  35.1k|}
funcobject.c:func_set_kwdefaults:
  796|     76|{
  797|     76|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     76|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  798|     76|    if (value == Py_None)
  ------------------
  |  |  616|     76|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (798:9): [True: 0, False: 76]
  ------------------
  799|      0|        value = NULL;
  800|       |    /* Legal to del f.func_kwdefaults.
  801|       |     * Can only set func_kwdefaults to NULL or a dict. */
  802|     76|    if (value != NULL && !PyDict_Check(value)) {
  ------------------
  |  |   18|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (802:9): [True: 76, False: 0]
  |  Branch (802:26): [True: 0, False: 76]
  ------------------
  803|      0|        PyErr_SetString(PyExc_TypeError,
  804|      0|            "__kwdefaults__ must be set to a dict object");
  805|      0|        return -1;
  806|      0|    }
  807|     76|    if (value) {
  ------------------
  |  Branch (807:9): [True: 76, False: 0]
  ------------------
  808|     76|        if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (808:13): [True: 0, False: 76]
  ------------------
  809|     76|                        op, "__kwdefaults__", value) < 0) {
  810|      0|            return -1;
  811|      0|        }
  812|     76|    } else if (PySys_Audit("object.__delattr__", "Os",
  ------------------
  |  Branch (812:16): [True: 0, False: 0]
  ------------------
  813|      0|                           op, "__kwdefaults__") < 0) {
  814|      0|        return -1;
  815|      0|    }
  816|       |
  817|     76|    handle_func_event(PyFunction_EVENT_MODIFY_KWDEFAULTS, op, value);
  818|     76|    _PyFunction_ClearVersion(op);
  819|     76|    Py_XSETREF(op->func_kwdefaults, Py_XNewRef(value));
  ------------------
  |  |  374|     76|    do { \
  |  |  375|     76|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     76|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     76|        *_tmp_dst_ptr = (src); \
  |  |  378|     76|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
  820|     76|    return 0;
  821|     76|}
funcobject.c:function___annotations___get_impl:
  883|  8.08k|{
  884|  8.08k|    PyObject *d = NULL;
  885|  8.08k|    if (self->func_annotations == NULL &&
  ------------------
  |  Branch (885:9): [True: 4.16k, False: 3.92k]
  ------------------
  886|  4.16k|        (self->func_annotate == NULL || !PyCallable_Check(self->func_annotate))) {
  ------------------
  |  Branch (886:10): [True: 4.04k, False: 124]
  |  Branch (886:41): [True: 0, False: 124]
  ------------------
  887|  4.04k|        self->func_annotations = PyDict_New();
  888|  4.04k|        if (self->func_annotations == NULL)
  ------------------
  |  Branch (888:13): [True: 0, False: 4.04k]
  ------------------
  889|      0|            return NULL;
  890|  4.04k|    }
  891|  8.08k|    d = func_get_annotation_dict(self);
  892|  8.08k|    return Py_XNewRef(d);
  ------------------
  |  |  551|  8.08k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|  8.08k|}
funcobject.c:function___annotations___set_impl:
  904|  4.03k|{
  905|  4.03k|    if (value == Py_None)
  ------------------
  |  |  616|  4.03k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (905:9): [True: 0, False: 4.03k]
  ------------------
  906|      0|        value = NULL;
  907|       |    /* Legal to del f.func_annotations.
  908|       |     * Can only set func_annotations to NULL (through C api)
  909|       |     * or a dict. */
  910|  4.03k|    if (value != NULL && !PyDict_Check(value)) {
  ------------------
  |  |   18|  4.03k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (910:9): [True: 4.03k, False: 0]
  |  Branch (910:26): [True: 0, False: 4.03k]
  ------------------
  911|      0|        PyErr_SetString(PyExc_TypeError,
  912|      0|            "__annotations__ must be set to a dict object");
  913|      0|        return -1;
  914|      0|    }
  915|  4.03k|    Py_XSETREF(self->func_annotations, Py_XNewRef(value));
  ------------------
  |  |  374|  4.03k|    do { \
  |  |  375|  4.03k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.03k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.03k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.03k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.03k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.03k]
  |  |  ------------------
  ------------------
  916|       |    Py_CLEAR(self->func_annotate);
  ------------------
  |  |  484|  4.03k|    do { \
  |  |  485|  4.03k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.03k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.03k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.03k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4.03k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  4.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.03k]
  |  |  ------------------
  ------------------
  917|  4.03k|    return 0;
  918|  4.03k|}
funcobject.c:function___annotate___get_impl:
  834|  4.30k|{
  835|  4.30k|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (835:9): [True: 188, False: 4.11k]
  ------------------
  836|    188|        Py_RETURN_NONE;
  ------------------
  |  |  628|    188|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    188|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  837|    188|    }
  838|  4.11k|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  550|  4.11k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|  4.30k|}
funcobject.c:function___annotate___set_impl:
  850|  4.22k|{
  851|  4.22k|    if (value == NULL) {
  ------------------
  |  Branch (851:9): [True: 0, False: 4.22k]
  ------------------
  852|      0|        PyErr_SetString(PyExc_TypeError,
  853|      0|            "__annotate__ cannot be deleted");
  854|      0|        return -1;
  855|      0|    }
  856|  4.22k|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|  4.22k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  4.22k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 130, False: 4.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|    130|        Py_XSETREF(self->func_annotate, value);
  ------------------
  |  |  374|    130|    do { \
  |  |  375|    130|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    130|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    130|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    130|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    130|        *_tmp_dst_ptr = (src); \
  |  |  378|    130|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    130|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    130|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 130]
  |  |  ------------------
  ------------------
  858|    130|        return 0;
  859|    130|    }
  860|  4.09k|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (860:14): [True: 4.09k, False: 0]
  ------------------
  861|  4.09k|        Py_XSETREF(self->func_annotate, Py_XNewRef(value));
  ------------------
  |  |  374|  4.09k|    do { \
  |  |  375|  4.09k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.09k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.09k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.09k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.09k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.09k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.09k]
  |  |  ------------------
  ------------------
  862|  4.09k|        Py_CLEAR(self->func_annotations);
  ------------------
  |  |  484|  4.09k|    do { \
  |  |  485|  4.09k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.09k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.09k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.09k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.09k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.01k, False: 78]
  |  |  ------------------
  |  |  488|  4.01k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.01k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.01k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.01k|        } \
  |  |  491|  4.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.09k]
  |  |  ------------------
  ------------------
  863|  4.09k|        return 0;
  864|  4.09k|    }
  865|      0|    else {
  866|      0|        PyErr_SetString(PyExc_TypeError,
  867|      0|            "__annotate__ must be callable or None");
  868|      0|        return -1;
  869|      0|    }
  870|  4.22k|}
funcobject.c:func_get_name:
  695|  70.3k|{
  696|  70.3k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  70.3k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  70.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  697|  70.3k|    return Py_NewRef(op->func_name);
  ------------------
  |  |  550|  70.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  70.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|  70.3k|}
funcobject.c:func_set_name:
  702|  8.36k|{
  703|  8.36k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  8.36k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  8.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  704|       |    /* Not legal to del f.func_name or to set it to anything
  705|       |     * other than a string object. */
  706|  8.36k|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|  8.36k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (706:9): [True: 0, False: 8.36k]
  |  Branch (706:26): [True: 0, False: 8.36k]
  ------------------
  707|      0|        PyErr_SetString(PyExc_TypeError,
  708|      0|                        "__name__ must be set to a string object");
  709|      0|        return -1;
  710|      0|    }
  711|  8.36k|    Py_XSETREF(op->func_name, Py_NewRef(value));
  ------------------
  |  |  374|  8.36k|    do { \
  |  |  375|  8.36k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  8.36k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  8.36k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  8.36k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  8.36k|        *_tmp_dst_ptr = (src); \
  |  |  378|  8.36k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  8.36k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  8.36k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 8.36k]
  |  |  ------------------
  ------------------
  712|  8.36k|    return 0;
  713|  8.36k|}
funcobject.c:func_get_qualname:
  717|  5.08k|{
  718|  5.08k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  5.08k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  5.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  719|  5.08k|    return Py_NewRef(op->func_qualname);
  ------------------
  |  |  550|  5.08k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|  5.08k|}
funcobject.c:func_set_qualname:
  724|  4.82k|{
  725|  4.82k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  4.82k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  726|       |    /* Not legal to del f.__qualname__ or to set it to anything
  727|       |     * other than a string object. */
  728|  4.82k|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|  4.82k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (728:9): [True: 0, False: 4.82k]
  |  Branch (728:26): [True: 0, False: 4.82k]
  ------------------
  729|      0|        PyErr_SetString(PyExc_TypeError,
  730|      0|                        "__qualname__ must be set to a string object");
  731|      0|        return -1;
  732|      0|    }
  733|  4.82k|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  734|  4.82k|    Py_XSETREF(op->func_qualname, Py_NewRef(value));
  ------------------
  |  |  374|  4.82k|    do { \
  |  |  375|  4.82k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.82k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.82k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.82k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.82k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.82k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.82k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.82k]
  |  |  ------------------
  ------------------
  735|  4.82k|    return 0;
  736|  4.82k|}
funcobject.c:function___type_params___get_impl:
  931|  4.26k|{
  932|  4.26k|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (932:9): [True: 4.22k, False: 38]
  ------------------
  933|  4.22k|        return PyTuple_New(0);
  934|  4.22k|    }
  935|       |
  936|  4.26k|    assert(PyTuple_Check(self->func_typeparams));
  937|     38|    return Py_NewRef(self->func_typeparams);
  ------------------
  |  |  550|     38|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  938|  4.26k|}
funcobject.c:function___type_params___set_impl:
  949|  4.17k|{
  950|       |    /* Not legal to del f.__type_params__ or to set it to anything
  951|       |     * other than a tuple object. */
  952|  4.17k|    if (value == NULL || !PyTuple_Check(value)) {
  ------------------
  |  |   27|  4.17k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.17k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (952:9): [True: 0, False: 4.17k]
  |  Branch (952:26): [True: 0, False: 4.17k]
  ------------------
  953|      0|        PyErr_SetString(PyExc_TypeError,
  954|      0|                        "__type_params__ must be set to a tuple");
  955|      0|        return -1;
  956|      0|    }
  957|  4.17k|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  374|  4.17k|    do { \
  |  |  375|  4.17k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.17k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.17k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.17k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.17k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.17k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.17k]
  |  |  ------------------
  ------------------
  958|  4.17k|    return 0;
  959|  4.17k|}
funcobject.c:func_descr_get:
 1178|  1.71M|{
 1179|  1.71M|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|  3.42M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1179:9): [True: 0, False: 1.71M]
  |  Branch (1179:27): [True: 1.37k, False: 1.71M]
  ------------------
 1180|  1.37k|        return Py_NewRef(func);
  ------------------
  |  |  550|  1.37k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|  1.37k|    }
 1182|  1.71M|    return PyMethod_New(func, obj);
 1183|  1.71M|}
funcobject.c:func_new_impl:
 1019|     18|{
 1020|     18|    PyFunctionObject *newfunc;
 1021|     18|    Py_ssize_t nclosure;
 1022|       |
 1023|     18|    if (name != Py_None && !PyUnicode_Check(name)) {
  ------------------
  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (name != Py_None && !PyUnicode_Check(name)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1023:9): [True: 0, False: 18]
  |  Branch (1023:28): [True: 0, False: 0]
  ------------------
 1024|      0|        PyErr_SetString(PyExc_TypeError,
 1025|      0|                        "arg 3 (name) must be None or string");
 1026|      0|        return NULL;
 1027|      0|    }
 1028|     18|    if (defaults != Py_None && !PyTuple_Check(defaults)) {
  ------------------
  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (defaults != Py_None && !PyTuple_Check(defaults)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1028:9): [True: 0, False: 18]
  |  Branch (1028:32): [True: 0, False: 0]
  ------------------
 1029|      0|        PyErr_SetString(PyExc_TypeError,
 1030|      0|                        "arg 4 (defaults) must be None or tuple");
 1031|      0|        return NULL;
 1032|      0|    }
 1033|     18|    if (!PyTuple_Check(closure)) {
  ------------------
  |  |   27|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1033:9): [True: 0, False: 18]
  ------------------
 1034|      0|        if (code->co_nfreevars && closure == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  |  Branch (1034:35): [True: 0, False: 0]
  ------------------
 1035|      0|            PyErr_SetString(PyExc_TypeError,
 1036|      0|                            "arg 5 (closure) must be tuple");
 1037|      0|            return NULL;
 1038|      0|        }
 1039|      0|        else if (closure != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1039:18): [True: 0, False: 0]
  ------------------
 1040|      0|            PyErr_SetString(PyExc_TypeError,
 1041|      0|                "arg 5 (closure) must be None or tuple");
 1042|      0|            return NULL;
 1043|      0|        }
 1044|      0|    }
 1045|     18|    if (kwdefaults != Py_None && !PyDict_Check(kwdefaults)) {
  ------------------
  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (kwdefaults != Py_None && !PyDict_Check(kwdefaults)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1045:9): [True: 0, False: 18]
  |  Branch (1045:34): [True: 0, False: 0]
  ------------------
 1046|      0|        PyErr_SetString(PyExc_TypeError,
 1047|      0|                        "arg 6 (kwdefaults) must be None or dict");
 1048|      0|        return NULL;
 1049|      0|    }
 1050|       |
 1051|       |    /* check that the closure is well-formed */
 1052|     18|    nclosure = closure == Py_None ? 0 : PyTuple_GET_SIZE(closure);
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  nclosure = closure == Py_None ? 0 : PyTuple_GET_SIZE(closure);
  ------------------
  |  |   27|     36|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1052:16): [True: 0, False: 18]
  ------------------
 1053|     18|    if (code->co_nfreevars != nclosure)
  ------------------
  |  Branch (1053:9): [True: 0, False: 18]
  ------------------
 1054|      0|        return PyErr_Format(PyExc_ValueError,
 1055|      0|                            "%U requires closure of length %d, not %zd",
 1056|      0|                            code->co_name, code->co_nfreevars, nclosure);
 1057|     18|    if (nclosure) {
  ------------------
  |  Branch (1057:9): [True: 18, False: 0]
  ------------------
 1058|     18|        Py_ssize_t i;
 1059|     36|        for (i = 0; i < nclosure; i++) {
  ------------------
  |  Branch (1059:21): [True: 18, False: 18]
  ------------------
 1060|     18|            PyObject *o = PyTuple_GET_ITEM(closure, i);
  ------------------
  |  |   29|     18|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     18|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|     18|            if (!PyCell_Check(o)) {
  ------------------
  |  |   18|     18|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|     18|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1061:17): [True: 0, False: 18]
  ------------------
 1062|      0|                return PyErr_Format(PyExc_TypeError,
 1063|      0|                    "arg 5 (closure) expected cell, found %s",
 1064|      0|                                    Py_TYPE(o)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1065|      0|            }
 1066|     18|        }
 1067|     18|    }
 1068|     18|    if (PySys_Audit("function.__new__", "O", code) < 0) {
  ------------------
  |  Branch (1068:9): [True: 0, False: 18]
  ------------------
 1069|      0|        return NULL;
 1070|      0|    }
 1071|       |
 1072|     18|    newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code,
 1073|     18|                                                 globals);
 1074|     18|    if (newfunc == NULL) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 18]
  ------------------
 1075|      0|        return NULL;
 1076|      0|    }
 1077|     18|    if (name != Py_None) {
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1077:9): [True: 0, False: 18]
  ------------------
 1078|      0|        Py_SETREF(newfunc->func_name, Py_NewRef(name));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1079|      0|    }
 1080|     18|    if (defaults != Py_None) {
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1080:9): [True: 0, False: 18]
  ------------------
 1081|      0|        newfunc->func_defaults = Py_NewRef(defaults);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      0|    }
 1083|     18|    if (closure != Py_None) {
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1083:9): [True: 18, False: 0]
  ------------------
 1084|     18|        newfunc->func_closure = Py_NewRef(closure);
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|     18|    }
 1086|     18|    if (kwdefaults != Py_None) {
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1086:9): [True: 0, False: 18]
  ------------------
 1087|      0|        newfunc->func_kwdefaults = Py_NewRef(kwdefaults);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      0|    }
 1089|       |
 1090|     18|    return (PyObject *)newfunc;
 1091|     18|}
funcobject.c:cm_dealloc:
 1416|      6|{
 1417|      6|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|      6|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|      6|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1418|      6|    _PyObject_GC_UNTRACK((PyObject *)cm);
  ------------------
  |  |  510|      6|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      6|    Py_XDECREF(cm->cm_callable);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      6|    Py_XDECREF(cm->cm_dict);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|      6|    Py_TYPE(cm)->tp_free((PyObject *)cm);
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1422|      6|}
funcobject.c:cm_traverse:
 1426|  3.54k|{
 1427|  3.54k|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|  3.54k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|  3.54k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1428|  3.54k|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|  3.54k|    do {                                                                \
  |  |  195|  3.54k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.54k, False: 0]
  |  |  ------------------
  |  |  196|  3.54k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.54k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.54k]
  |  |  ------------------
  |  |  198|  3.54k|                return vret;                                            \
  |  |  199|  3.54k|        }                                                               \
  |  |  200|  3.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.54k]
  |  |  ------------------
  ------------------
 1429|  3.54k|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|  3.54k|    do {                                                                \
  |  |  195|  3.54k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.54k, False: 0]
  |  |  ------------------
  |  |  196|  3.54k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.54k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.54k]
  |  |  ------------------
  |  |  198|  3.54k|                return vret;                                            \
  |  |  199|  3.54k|        }                                                               \
  |  |  200|  3.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.54k]
  |  |  ------------------
  ------------------
 1430|  3.54k|    return 0;
 1431|  3.54k|}
funcobject.c:cm_clear:
 1435|      4|{
 1436|      4|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|      4|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|      4|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1437|      4|    Py_CLEAR(cm->cm_callable);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1438|       |    Py_CLEAR(cm->cm_dict);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1439|      4|    return 0;
 1440|      4|}
funcobject.c:cm_get___isabstractmethod__:
 1511|    130|{
 1512|    130|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|    130|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|    130|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1513|    130|    int res = _PyObject_IsAbstract(cm->cm_callable);
 1514|    130|    if (res == -1) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 130]
  ------------------
 1515|      0|        return NULL;
 1516|      0|    }
 1517|    130|    else if (res) {
  ------------------
  |  Branch (1517:14): [True: 0, False: 130]
  ------------------
 1518|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1519|      0|    }
 1520|    130|    Py_RETURN_FALSE;
  ------------------
  |  |   45|    130|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    130|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|    130|}
funcobject.c:cm_descr_get:
 1445|  86.7k|{
 1446|  86.7k|    classmethod *cm = (classmethod *)self;
 1447|  86.7k|    if (type == NULL)
  ------------------
  |  Branch (1447:9): [True: 0, False: 86.7k]
  ------------------
 1448|      0|        type = (PyObject *)(Py_TYPE(obj));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|  86.7k|    return PyMethod_New(cm->cm_callable, type);
 1450|  86.7k|}
funcobject.c:cm_init:
 1490|    434|{
 1491|    434|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    434|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 434, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1492|      0|        return -1;
 1493|      0|    }
 1494|    434|    PyObject *callable;  // borrowed ref
 1495|    434|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 434]
  ------------------
 1496|      0|        return -1;
 1497|      0|    }
 1498|       |
 1499|    434|    classmethod *cm = (classmethod *)self;
 1500|    434|    return cm_set_callable(cm, callable);
 1501|    434|}
funcobject.c:cm_new:
 1467|    434|{
 1468|    434|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    434|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 434, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|    434|    PyObject *callable;  // borrowed ref
 1472|    434|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1472:9): [True: 0, False: 434]
  ------------------
 1473|      0|        return NULL;
 1474|      0|    }
 1475|       |
 1476|    434|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1477|    434|    if (cm == NULL) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 434]
  ------------------
 1478|      0|        return NULL;
 1479|      0|    }
 1480|    434|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1481|    434|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1481:9): [True: 0, False: 434]
  ------------------
 1482|      0|        Py_DECREF(cm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|        return NULL;
 1484|      0|    }
 1485|    434|    return (PyObject *)cm;
 1486|    434|}
funcobject.c:cm_set_callable:
 1454|    884|{
 1455|    884|    assert(callable != NULL);
 1456|    884|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1456:9): [True: 434, False: 450]
  ------------------
 1457|       |        // cm_init() sets the same callable than cm_new()
 1458|    434|        return 0;
 1459|    434|    }
 1460|       |
 1461|    450|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  374|    450|    do { \
  |  |  375|    450|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    450|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    450|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    450|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    450|        *_tmp_dst_ptr = (src); \
  |  |  378|    450|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    450|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    450|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    450|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    450|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 450]
  |  |  ------------------
  ------------------
 1462|    450|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1463|    884|}
funcobject.c:functools_wraps:
 1302|    740|{
 1303|    740|#define COPY_ATTR(ATTR) \
 1304|    740|    do { \
 1305|    740|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1306|    740|            return -1; \
 1307|    740|        } \
 1308|    740|    } while (0) \
 1309|    740|
 1310|    740|    COPY_ATTR(__module__);
  ------------------
  |  | 1304|    740|    do { \
  |  | 1305|    740|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  919|    740|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    740|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    740|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 740]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    740|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 740]
  |  |  ------------------
  ------------------
 1311|    740|    COPY_ATTR(__name__);
  ------------------
  |  | 1304|    740|    do { \
  |  | 1305|    740|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  919|    740|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    740|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    740|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 740]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    740|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 740]
  |  |  ------------------
  ------------------
 1312|    740|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1304|    740|    do { \
  |  | 1305|    740|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  919|    740|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    740|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    740|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 740]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    740|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 740]
  |  |  ------------------
  ------------------
 1313|    740|    COPY_ATTR(__doc__);
  ------------------
  |  | 1304|    740|    do { \
  |  | 1305|    740|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  919|    740|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    740|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    740|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 740]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    740|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 740]
  |  |  ------------------
  ------------------
 1314|    740|    return 0;
 1315|       |
 1316|    740|#undef COPY_ATTR
 1317|    740|}
funcobject.c:functools_copy_attr:
 1289|  2.96k|{
 1290|  2.96k|    PyObject *value;
 1291|  2.96k|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1292|  2.96k|    if (value != NULL) {
  ------------------
  |  Branch (1292:9): [True: 2.96k, False: 0]
  ------------------
 1293|  2.96k|        res = PyObject_SetAttr(wrapper, name, value);
 1294|  2.96k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|  2.96k|    }
 1296|  2.96k|    return res;
 1297|  2.96k|}
funcobject.c:sm_dealloc:
 1681|     14|{
 1682|     14|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|     14|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|     14|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1683|     14|    _PyObject_GC_UNTRACK((PyObject *)sm);
  ------------------
  |  |  510|     14|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|     14|    Py_XDECREF(sm->sm_callable);
  ------------------
  |  |  524|     14|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|     14|    Py_XDECREF(sm->sm_dict);
  ------------------
  |  |  524|     14|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|     14|    Py_TYPE(sm)->tp_free((PyObject *)sm);
  ------------------
  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|     14|}
funcobject.c:sm_traverse:
 1691|  2.21k|{
 1692|  2.21k|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|  2.21k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|  2.21k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1693|  2.21k|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|  2.21k|    do {                                                                \
  |  |  195|  2.21k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.21k, False: 0]
  |  |  ------------------
  |  |  196|  2.21k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.21k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.21k]
  |  |  ------------------
  |  |  198|  2.21k|                return vret;                                            \
  |  |  199|  2.21k|        }                                                               \
  |  |  200|  2.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
 1694|  2.21k|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|  2.21k|    do {                                                                \
  |  |  195|  2.21k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.21k, False: 0]
  |  |  ------------------
  |  |  196|  2.21k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.21k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.21k]
  |  |  ------------------
  |  |  198|  2.21k|                return vret;                                            \
  |  |  199|  2.21k|        }                                                               \
  |  |  200|  2.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
 1695|  2.21k|    return 0;
 1696|  2.21k|}
funcobject.c:sm_get___isabstractmethod__:
 1780|     32|{
 1781|     32|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|     32|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|     32|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1782|     32|    int res = _PyObject_IsAbstract(sm->sm_callable);
 1783|     32|    if (res == -1) {
  ------------------
  |  Branch (1783:9): [True: 0, False: 32]
  ------------------
 1784|      0|        return NULL;
 1785|      0|    }
 1786|     32|    else if (res) {
  ------------------
  |  Branch (1786:14): [True: 0, False: 32]
  ------------------
 1787|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|      0|    }
 1789|     32|    Py_RETURN_FALSE;
  ------------------
  |  |   45|     32|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     32|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|     32|}
funcobject.c:sm_descr_get:
 1709|  1.61k|{
 1710|  1.61k|    staticmethod *sm = (staticmethod *)self;
 1711|  1.61k|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  550|  1.61k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|  1.61k|}
funcobject.c:sm_init:
 1752|    142|{
 1753|    142|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|    142|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 142, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1754|      0|        return -1;
 1755|      0|    }
 1756|    142|    PyObject *callable;  // borrowed ref
 1757|    142|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 142]
  ------------------
 1758|      0|        return -1;
 1759|      0|    }
 1760|       |
 1761|    142|    staticmethod *sm = (staticmethod *)self;
 1762|    142|    return sm_set_callable(sm, callable);
 1763|    142|}
funcobject.c:sm_new:
 1729|    142|{
 1730|    142|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   25|    142|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 142, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1731|      0|        return NULL;
 1732|      0|    }
 1733|    142|    PyObject *callable;  // borrowed ref
 1734|    142|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 142]
  ------------------
 1735|      0|        return NULL;
 1736|      0|    }
 1737|       |
 1738|    142|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1739|    142|    if (sm == NULL) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 142]
  ------------------
 1740|      0|        return NULL;
 1741|      0|    }
 1742|    142|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1743|    142|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1743:9): [True: 0, False: 142]
  ------------------
 1744|      0|        Py_DECREF(sm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|      0|        return NULL;
 1746|      0|    }
 1747|    142|    return (PyObject *)sm;
 1748|    142|}
funcobject.c:sm_set_callable:
 1716|    432|{
 1717|    432|    assert(callable != NULL);
 1718|    432|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1718:9): [True: 142, False: 290]
  ------------------
 1719|       |        // sm_init() sets the same callable than sm_new()
 1720|    142|        return 0;
 1721|    142|    }
 1722|       |
 1723|    290|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  374|    290|    do { \
  |  |  375|    290|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    290|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    290|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    290|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    290|        *_tmp_dst_ptr = (src); \
  |  |  378|    290|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    290|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    290|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 290]
  |  |  ------------------
  ------------------
 1724|    290|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1725|    432|}

_Py_make_parameters:
  187|     52|{
  188|     52|    assert(PyTuple_Check(args) || PyList_Check(args));
  189|     52|    const bool is_args_list = PyList_Check(args);
  ------------------
  |  |   25|     52|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  190|     52|    PyObject *tuple_args = NULL;
  191|     52|    if (is_args_list) {
  ------------------
  |  Branch (191:9): [True: 0, False: 52]
  ------------------
  192|      0|        args = tuple_args = PySequence_Tuple(args);
  193|      0|        if (args == NULL) {
  ------------------
  |  Branch (193:13): [True: 0, False: 0]
  ------------------
  194|      0|            return NULL;
  195|      0|        }
  196|      0|    }
  197|     52|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     52|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|     52|    Py_ssize_t len = nargs;
  199|     52|    PyObject *parameters = PyTuple_New(len);
  200|     52|    if (parameters == NULL) {
  ------------------
  |  Branch (200:9): [True: 0, False: 52]
  ------------------
  201|      0|        Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      0|        return NULL;
  203|      0|    }
  204|     52|    Py_ssize_t iparam = 0;
  205|    152|    for (Py_ssize_t iarg = 0; iarg < nargs; iarg++) {
  ------------------
  |  Branch (205:31): [True: 100, False: 52]
  ------------------
  206|    100|        PyObject *t = PyTuple_GET_ITEM(args, iarg);
  ------------------
  |  |   29|    100|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    100|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|       |        // We don't want __parameters__ descriptor of a bare Python class.
  208|    100|        if (PyType_Check(t)) {
  ------------------
  |  |  766|    100|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 50, False: 50]
  |  |  ------------------
  ------------------
  209|     50|            continue;
  210|     50|        }
  211|     50|        int rc = PyObject_HasAttrWithError(t, &_Py_ID(__typing_subst__));
  ------------------
  |  |  919|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     50|        if (rc < 0) {
  ------------------
  |  Branch (212:13): [True: 0, False: 50]
  ------------------
  213|      0|            Py_DECREF(parameters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|            Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|      0|            return NULL;
  216|      0|        }
  217|     50|        if (rc) {
  ------------------
  |  Branch (217:13): [True: 16, False: 34]
  ------------------
  218|     16|            iparam += tuple_add(parameters, iparam, t);
  219|     16|        }
  220|     34|        else {
  221|     34|            PyObject *subparams;
  222|     34|            if (PyObject_GetOptionalAttr(t, &_Py_ID(__parameters__),
  ------------------
  |  |  919|     34|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:17): [True: 0, False: 34]
  ------------------
  223|     34|                                     &subparams) < 0) {
  224|      0|                Py_DECREF(parameters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  225|      0|                Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|      0|                return NULL;
  227|      0|            }
  228|     34|            if (!subparams && (PyTuple_Check(t) || PyList_Check(t))) {
  ------------------
  |  |   27|     14|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (!subparams && (PyTuple_Check(t) || PyList_Check(t))) {
  ------------------
  |  |   25|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (228:17): [True: 14, False: 20]
  ------------------
  229|       |                // Recursively call _Py_make_parameters for lists/tuples and
  230|       |                // add the results to the current parameters.
  231|      0|                subparams = _Py_make_parameters(t);
  232|      0|                if (subparams == NULL) {
  ------------------
  |  Branch (232:21): [True: 0, False: 0]
  ------------------
  233|      0|                    Py_DECREF(parameters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      0|                    Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|      0|                    return NULL;
  236|      0|                }
  237|      0|            }
  238|     34|            if (subparams && PyTuple_Check(subparams)) {
  ------------------
  |  |   27|     20|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (238:17): [True: 20, False: 14]
  ------------------
  239|     20|                Py_ssize_t len2 = PyTuple_GET_SIZE(subparams);
  ------------------
  |  |   27|     20|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|     20|                Py_ssize_t needed = len2 - 1 - (iarg - iparam);
  241|     20|                if (needed > 0) {
  ------------------
  |  Branch (241:21): [True: 0, False: 20]
  ------------------
  242|      0|                    len += needed;
  243|      0|                    if (_PyTuple_Resize(&parameters, len) < 0) {
  ------------------
  |  Branch (243:25): [True: 0, False: 0]
  ------------------
  244|      0|                        Py_DECREF(subparams);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|                        Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|      0|                        return NULL;
  247|      0|                    }
  248|      0|                }
  249|     20|                for (Py_ssize_t j = 0; j < len2; j++) {
  ------------------
  |  Branch (249:40): [True: 0, False: 20]
  ------------------
  250|      0|                    PyObject *t2 = PyTuple_GET_ITEM(subparams, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|      0|                    iparam += tuple_add(parameters, iparam, t2);
  252|      0|                }
  253|     20|            }
  254|     34|            Py_XDECREF(subparams);
  ------------------
  |  |  524|     34|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|     34|        }
  256|     50|    }
  257|     52|    if (iparam < len) {
  ------------------
  |  Branch (257:9): [True: 40, False: 12]
  ------------------
  258|     40|        if (_PyTuple_Resize(&parameters, iparam) < 0) {
  ------------------
  |  Branch (258:13): [True: 0, False: 40]
  ------------------
  259|      0|            Py_XDECREF(parameters);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      0|            Py_XDECREF(tuple_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|      0|            return NULL;
  262|      0|        }
  263|     40|    }
  264|     52|    Py_XDECREF(tuple_args);
  ------------------
  |  |  524|     52|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|     52|    return parameters;
  266|     52|}
Py_GenericAlias:
 1048|    320|{
 1049|    320|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1050|    320|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1051|    320|    if (alias == NULL) {
  ------------------
  |  Branch (1051:9): [True: 0, False: 320]
  ------------------
 1052|      0|        return NULL;
 1053|      0|    }
 1054|    320|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 320]
  ------------------
 1055|      0|        Py_DECREF(alias);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|      0|        return NULL;
 1057|      0|    }
 1058|    320|    return (PyObject *)alias;
 1059|    320|}
genericaliasobject.c:tuple_add:
  161|     16|{
  162|     16|    if (tuple_index(self, len, item) < 0) {
  ------------------
  |  Branch (162:9): [True: 16, False: 0]
  ------------------
  163|     16|        PyTuple_SET_ITEM(self, len, Py_NewRef(item));
  ------------------
  |  |   40|     16|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     16|        return 1;
  165|     16|    }
  166|      0|    return 0;
  167|     16|}
genericaliasobject.c:tuple_index:
  150|     16|{
  151|     18|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (151:28): [True: 2, False: 16]
  ------------------
  152|      2|        if (PyTuple_GET_ITEM(self, i) == item) {
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (152:13): [True: 0, False: 2]
  ------------------
  153|      0|            return i;
  154|      0|        }
  155|      2|    }
  156|     16|    return -1;
  157|     16|}
genericaliasobject.c:ga_dealloc:
   33|     20|{
   34|     20|    gaobject *alias = (gaobject *)self;
   35|       |
   36|     20|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     20|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|     20|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|     20|    do {                                            \
  |  |   48|     20|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     20|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 20]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
   38|     20|    Py_XDECREF(alias->origin);
  ------------------
  |  |  524|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|     20|    Py_XDECREF(alias->args);
  ------------------
  |  |  524|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|     20|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  524|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|     20|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     20|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|     20|}
genericaliasobject.c:ga_repr:
   91|      2|{
   92|      2|    gaobject *alias = (gaobject *)self;
   93|      2|    Py_ssize_t len = PyTuple_GET_SIZE(alias->args);
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|       |
   95|       |    // Estimation based on the shortest format: "int[int, int, int]"
   96|      2|    Py_ssize_t estimate = (len <= PY_SSIZE_T_MAX / 5) ? len * 5 : len;
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (96:27): [True: 2, False: 0]
  ------------------
   97|      2|    estimate = 3 + 1 + estimate + 1;
   98|      2|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(estimate);
   99|      2|    if (writer == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 2]
  ------------------
  100|      0|        return NULL;
  101|      0|    }
  102|       |
  103|      2|    if (alias->starred) {
  ------------------
  |  Branch (103:9): [True: 0, False: 2]
  ------------------
  104|      0|        if (PyUnicodeWriter_WriteChar(writer, '*') < 0) {
  ------------------
  |  Branch (104:13): [True: 0, False: 0]
  ------------------
  105|      0|            goto error;
  106|      0|        }
  107|      0|    }
  108|      2|    if (_Py_typing_type_repr(writer, alias->origin) < 0) {
  ------------------
  |  Branch (108:9): [True: 0, False: 2]
  ------------------
  109|      0|        goto error;
  110|      0|    }
  111|      2|    if (PyUnicodeWriter_WriteChar(writer, '[') < 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 2]
  ------------------
  112|      0|        goto error;
  113|      0|    }
  114|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (114:28): [True: 4, False: 2]
  ------------------
  115|      4|        if (i > 0) {
  ------------------
  |  Branch (115:13): [True: 2, False: 2]
  ------------------
  116|      2|            if (PyUnicodeWriter_WriteASCII(writer, ", ", 2) < 0) {
  ------------------
  |  Branch (116:17): [True: 0, False: 2]
  ------------------
  117|      0|                goto error;
  118|      0|            }
  119|      2|        }
  120|      4|        PyObject *p = PyTuple_GET_ITEM(alias->args, i);
  ------------------
  |  |   29|      4|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      4|        if (PyList_CheckExact(p)) {
  ------------------
  |  |   26|      4|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|       |            // Looks like we are working with ParamSpec's list of type args:
  123|      0|            if (ga_repr_items_list(writer, p) < 0) {
  ------------------
  |  Branch (123:17): [True: 0, False: 0]
  ------------------
  124|      0|                goto error;
  125|      0|            }
  126|      0|        }
  127|      4|        else if (_Py_typing_type_repr(writer, p) < 0) {
  ------------------
  |  Branch (127:18): [True: 0, False: 4]
  ------------------
  128|      0|            goto error;
  129|      0|        }
  130|      4|    }
  131|      2|    if (len == 0) {
  ------------------
  |  Branch (131:9): [True: 0, False: 2]
  ------------------
  132|       |        // for something like tuple[()] we should print a "()"
  133|      0|        if (PyUnicodeWriter_WriteASCII(writer, "()", 2) < 0) {
  ------------------
  |  Branch (133:13): [True: 0, False: 0]
  ------------------
  134|      0|            goto error;
  135|      0|        }
  136|      0|    }
  137|      2|    if (PyUnicodeWriter_WriteChar(writer, ']') < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 2]
  ------------------
  138|      0|        goto error;
  139|      0|    }
  140|      2|    return PyUnicodeWriter_Finish(writer);
  141|       |
  142|      0|error:
  143|      0|    PyUnicodeWriter_Discard(writer);
  144|       |    return NULL;
  145|      2|}
genericaliasobject.c:ga_hash:
  611|    368|{
  612|    368|    gaobject *alias = (gaobject *)self;
  613|       |    // TODO: Hash in the hash for the origin
  614|    368|    Py_hash_t h0 = PyObject_Hash(alias->origin);
  615|    368|    if (h0 == -1) {
  ------------------
  |  Branch (615:9): [True: 0, False: 368]
  ------------------
  616|      0|        return -1;
  617|      0|    }
  618|    368|    Py_hash_t h1 = PyObject_Hash(alias->args);
  619|    368|    if (h1 == -1) {
  ------------------
  |  Branch (619:9): [True: 0, False: 368]
  ------------------
  620|      0|        return -1;
  621|      0|    }
  622|    368|    return h0 ^ h1;
  623|    368|}
genericaliasobject.c:ga_getattro:
  681|    498|{
  682|    498|    gaobject *alias = (gaobject *)self;
  683|    498|    if (PyUnicode_Check(name)) {
  ------------------
  |  |  103|    498|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    498|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 498, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|       |        // When we check blocked attrs, we don't allow to proxy them to `__origin__`.
  685|       |        // Otherwise, we can break existing code.
  686|  1.99k|        for (const char * const *p = attr_blocked; ; p++) {
  687|  1.99k|            if (*p == NULL) {
  ------------------
  |  Branch (687:17): [True: 498, False: 1.49k]
  ------------------
  688|    498|                break;
  689|    498|            }
  690|  1.49k|            if (_PyUnicode_EqualToASCIIString(name, *p)) {
  ------------------
  |  Branch (690:17): [True: 0, False: 1.49k]
  ------------------
  691|      0|                goto generic_getattr;
  692|      0|            }
  693|  1.49k|        }
  694|       |
  695|       |        // When we see own attrs, it has a priority over `__origin__`'s attr.
  696|  1.36k|        for (const char * const *p = attr_exceptions; ; p++) {
  697|  1.36k|            if (*p == NULL) {
  ------------------
  |  Branch (697:17): [True: 72, False: 1.29k]
  ------------------
  698|     72|                return PyObject_GetAttr(alias->origin, name);
  699|     72|            }
  700|  1.29k|            if (_PyUnicode_EqualToASCIIString(name, *p)) {
  ------------------
  |  Branch (700:17): [True: 426, False: 870]
  ------------------
  701|    426|                goto generic_getattr;
  702|    426|            }
  703|  1.29k|        }
  704|    498|    }
  705|       |
  706|    426|generic_getattr:
  707|    426|    return PyObject_GenericGetAttr(self, name);
  708|    498|}
genericaliasobject.c:ga_traverse:
   46|  3.12k|{
   47|  3.12k|    gaobject *alias = (gaobject *)self;
   48|  3.12k|    Py_VISIT(alias->origin);
  ------------------
  |  |  194|  3.12k|    do {                                                                \
  |  |  195|  3.12k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.12k, False: 0]
  |  |  ------------------
  |  |  196|  3.12k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.12k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.12k]
  |  |  ------------------
  |  |  198|  3.12k|                return vret;                                            \
  |  |  199|  3.12k|        }                                                               \
  |  |  200|  3.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.12k]
  |  |  ------------------
  ------------------
   49|  3.12k|    Py_VISIT(alias->args);
  ------------------
  |  |  194|  3.12k|    do {                                                                \
  |  |  195|  3.12k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.12k, False: 0]
  |  |  ------------------
  |  |  196|  3.12k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.12k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.12k]
  |  |  ------------------
  |  |  198|  3.12k|                return vret;                                            \
  |  |  199|  3.12k|        }                                                               \
  |  |  200|  3.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.12k]
  |  |  ------------------
  ------------------
   50|  3.12k|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|  3.12k|    do {                                                                \
  |  |  195|  3.12k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 296, False: 2.82k]
  |  |  ------------------
  |  |  196|    296|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    296|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 296]
  |  |  ------------------
  |  |  198|    296|                return vret;                                            \
  |  |  199|    296|        }                                                               \
  |  |  200|  3.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.12k]
  |  |  ------------------
  ------------------
   51|  3.12k|    return 0;
   52|  3.12k|}
genericaliasobject.c:ga_richcompare:
  712|     76|{
  713|     76|    if (!_PyGenericAlias_Check(b) ||
  ------------------
  |  |   17|     76|#define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
  |  |  ------------------
  |  |  |  |  378|    152|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 64, False: 12]
  ------------------
  714|     12|        (op != Py_EQ && op != Py_NE))
  ------------------
  |  |  654|     24|#define Py_EQ 2
  ------------------
                      (op != Py_EQ && op != Py_NE))
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (714:10): [True: 0, False: 12]
  |  Branch (714:25): [True: 0, False: 0]
  ------------------
  715|     64|    {
  716|     64|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     64|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     64|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  717|     64|    }
  718|       |
  719|     12|    if (op == Py_NE) {
  ------------------
  |  |  655|     12|#define Py_NE 3
  ------------------
  |  Branch (719:9): [True: 0, False: 12]
  ------------------
  720|      0|        PyObject *eq = ga_richcompare(a, b, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  721|      0|        if (eq == NULL)
  ------------------
  |  Branch (721:13): [True: 0, False: 0]
  ------------------
  722|      0|            return NULL;
  723|      0|        Py_DECREF(eq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|      0|        if (eq == Py_True) {
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (724:13): [True: 0, False: 0]
  ------------------
  725|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|      0|        }
  727|      0|        else {
  728|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|      0|        }
  730|      0|    }
  731|       |
  732|     12|    gaobject *aa = (gaobject *)a;
  733|     12|    gaobject *bb = (gaobject *)b;
  734|     12|    if (aa->starred != bb->starred) {
  ------------------
  |  Branch (734:9): [True: 0, False: 12]
  ------------------
  735|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|      0|    }
  737|     12|    int eq = PyObject_RichCompareBool(aa->origin, bb->origin, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  738|     12|    if (eq < 0) {
  ------------------
  |  Branch (738:9): [True: 0, False: 12]
  ------------------
  739|      0|        return NULL;
  740|      0|    }
  741|     12|    if (!eq) {
  ------------------
  |  Branch (741:9): [True: 0, False: 12]
  ------------------
  742|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|      0|    }
  744|     12|    return PyObject_RichCompare(aa->args, bb->args, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  745|     12|}
genericaliasobject.c:ga_mro_entries:
  749|      2|{
  750|      2|    gaobject *alias = (gaobject *)self;
  751|      2|    return PyTuple_Pack(1, alias->origin);
  752|      2|}
genericaliasobject.c:ga_parameters:
  844|     42|{
  845|     42|    gaobject *alias = (gaobject *)self;
  846|     42|    if (alias->parameters == NULL) {
  ------------------
  |  Branch (846:9): [True: 40, False: 2]
  ------------------
  847|     40|        alias->parameters = _Py_make_parameters(alias->args);
  848|     40|        if (alias->parameters == NULL) {
  ------------------
  |  Branch (848:13): [True: 0, False: 40]
  ------------------
  849|      0|            return NULL;
  850|      0|        }
  851|     40|    }
  852|     42|    return Py_NewRef(alias->parameters);
  ------------------
  |  |  550|     42|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|     42|}
genericaliasobject.c:ga_new:
  903|     96|{
  904|     96|    if (!_PyArg_NoKeywords("GenericAlias", kwds)) {
  ------------------
  |  |   25|     96|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 96, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  905|      0|        return NULL;
  906|      0|    }
  907|     96|    if (!_PyArg_CheckPositional("GenericAlias", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|     96|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 96, False: 0]
  |  |  |  Branch (31:27): [True: 96, False: 0]
  |  |  ------------------
  |  |   32|     96|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  908|      0|        return NULL;
  909|      0|    }
  910|     96|    PyObject *origin = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     96|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     96|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|     96|    PyObject *arguments = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     96|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     96|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|     96|    gaobject *self = (gaobject *)type->tp_alloc(type, 0);
  913|     96|    if (self == NULL) {
  ------------------
  |  Branch (913:9): [True: 0, False: 96]
  ------------------
  914|      0|        return NULL;
  915|      0|    }
  916|     96|    if (!setup_ga(self, origin, arguments)) {
  ------------------
  |  Branch (916:9): [True: 0, False: 96]
  ------------------
  917|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|      0|        return NULL;
  919|      0|    }
  920|     96|    return (PyObject *)self;
  921|     96|}
genericaliasobject.c:setup_ga:
  875|    416|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  876|    416|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|    416|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    416|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (876:9): [True: 268, False: 148]
  ------------------
  877|    268|        args = PyTuple_Pack(1, args);
  878|    268|        if (args == NULL) {
  ------------------
  |  Branch (878:13): [True: 0, False: 268]
  ------------------
  879|      0|            return 0;
  880|      0|        }
  881|    268|    }
  882|    148|    else {
  883|    148|        Py_INCREF(args);
  ------------------
  |  |  310|    148|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|    148|    }
  885|       |
  886|    416|    alias->origin = Py_NewRef(origin);
  ------------------
  |  |  550|    416|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|    416|    alias->args = args;
  888|    416|    alias->parameters = NULL;
  889|    416|    alias->weakreflist = NULL;
  890|       |
  891|    416|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (891:9): [True: 314, False: 102]
  ------------------
  892|    314|        alias->vectorcall = ga_vectorcall;
  893|    314|    }
  894|    102|    else {
  895|    102|        alias->vectorcall = NULL;
  896|    102|    }
  897|       |
  898|    416|    return 1;
  899|    416|}

_Py_MakeCoro:
 1116|  1.55M|{
 1117|  1.55M|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1118|  1.55M|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  123|  1.55M|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|  1.55M|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  129|  1.55M|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1119|  1.55M|    assert(coro_flags);
 1120|  1.55M|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  123|  1.55M|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1120:9): [True: 1.55M, False: 4]
  ------------------
 1121|  1.55M|        return make_gen(&PyGen_Type, func);
 1122|  1.55M|    }
 1123|      4|    if (coro_flags == CO_ASYNC_GENERATOR) {
  ------------------
  |  |  129|      4|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (1123:9): [True: 2, False: 2]
  ------------------
 1124|      2|        PyAsyncGenObject *ag;
 1125|      2|        ag = (PyAsyncGenObject *)make_gen(&PyAsyncGen_Type, func);
 1126|      2|        if (ag == NULL) {
  ------------------
  |  Branch (1126:13): [True: 0, False: 2]
  ------------------
 1127|      0|            return NULL;
 1128|      0|        }
 1129|      2|        ag->ag_origin_or_finalizer = NULL;
 1130|      2|        ag->ag_closed = 0;
 1131|      2|        ag->ag_hooks_inited = 0;
 1132|      2|        ag->ag_running_async = 0;
 1133|      2|        return (PyObject*)ag;
 1134|      2|    }
 1135|       |
 1136|      4|    assert (coro_flags == CO_COROUTINE);
 1137|      2|    PyObject *coro = make_gen(&PyCoro_Type, func);
 1138|      2|    if (!coro) {
  ------------------
  |  Branch (1138:9): [True: 0, False: 2]
  ------------------
 1139|      0|        return NULL;
 1140|      0|    }
 1141|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1142|      2|    int origin_depth = tstate->coroutine_origin_tracking_depth;
 1143|       |
 1144|      2|    if (origin_depth == 0) {
  ------------------
  |  Branch (1144:9): [True: 2, False: 0]
  ------------------
 1145|      2|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = NULL;
 1146|      2|    } else {
 1147|      0|        _PyInterpreterFrame *frame = tstate->current_frame;
 1148|      0|        assert(frame);
 1149|      0|        assert(_PyFrame_IsIncomplete(frame));
 1150|      0|        frame = _PyFrame_GetFirstComplete(frame->previous);
 1151|      0|        PyObject *cr_origin = _PyCoro_ComputeOrigin(origin_depth, frame);
 1152|      0|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = cr_origin;
 1153|      0|        if (!cr_origin) {
  ------------------
  |  Branch (1153:13): [True: 0, False: 0]
  ------------------
 1154|      0|            Py_DECREF(coro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1155|      0|            return NULL;
 1156|      0|        }
 1157|      0|    }
 1158|      2|    return coro;
 1159|      2|}
genobject.c:_PyGen_GetCode:
   69|  1.57k|_PyGen_GetCode(PyGenObject *gen) {
   70|  1.57k|    return _PyFrame_GetCode(&gen->gi_iframe);
   71|  1.57k|}
genobject.c:gen_clear_frame:
  168|  1.35k|{
  169|  1.35k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  170|  1.35k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  171|       |    frame->previous = NULL;
  172|  1.35k|    _PyFrame_ClearExceptCode(frame);
  173|  1.35k|    _PyErr_ClearExcState(&gen->gi_exc_state);
  174|  1.35k|}
genobject.c:gen_dealloc:
  206|  1.55M|{
  207|  1.55M|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  1.55M|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  208|       |
  209|  1.55M|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  510|  1.55M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|       |
  211|  1.55M|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|  1.55M|    do {                                            \
  |  |   48|  1.55M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.55M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.55M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
  212|       |
  213|  1.55M|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|  1.55M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|       |
  215|  1.55M|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (215:9): [True: 0, False: 1.55M]
  ------------------
  216|      0|        return;                     /* resurrected.  :( */
  217|       |
  218|  1.55M|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  1.55M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  1.55M|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|  1.55M|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  1.55M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 1.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|       |        /* We have to handle this case for asynchronous generators
  221|       |           right here, because this code has to be between UNTRACK
  222|       |           and GC_Del. */
  223|      2|        Py_CLEAR(((PyAsyncGenObject*)gen)->ag_origin_or_finalizer);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  224|      2|    }
  225|  1.55M|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|  1.55M|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|  1.55M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 1.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|      2|        Py_CLEAR(((PyCoroObject *)gen)->cr_origin_or_finalizer);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  227|      2|    }
  228|  1.55M|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (228:9): [True: 0, False: 1.55M]
  ------------------
  229|      0|        gen->gi_frame_state = FRAME_CLEARED;
  230|      0|        gen_clear_frame(gen);
  231|      0|    }
  232|  1.55M|    assert(gen->gi_exc_state.exc_value == NULL);
  233|  1.55M|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  732|  1.55M|    do { \
  |  |  733|  1.55M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  1.55M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  1.55M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  1.55M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
  234|  1.55M|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  484|  1.55M|    do { \
  |  |  485|  1.55M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.55M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.55M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.55M, False: 0]
  |  |  ------------------
  |  |  488|  1.55M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.55M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.55M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.55M|        } \
  |  |  491|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
  235|  1.55M|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  484|  1.55M|    do { \
  |  |  485|  1.55M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.55M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.55M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.55M, False: 0]
  |  |  ------------------
  |  |  488|  1.55M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.55M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.55M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.55M|        } \
  |  |  491|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
  236|       |
  237|  1.55M|    PyObject_GC_Del(gen);
  238|  1.55M|}
genobject.c:gen_send_ex:
  330|   260k|{
  331|   260k|    *presult = NULL;
  332|   260k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|   260k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  333|   260k|    do {
  334|   260k|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (334:13): [True: 74.0k, False: 186k]
  |  Branch (334:45): [True: 0, False: 74.0k]
  |  Branch (334:52): [True: 0, False: 0]
  ------------------
  335|      0|            const char *msg = "can't send non-None value to a "
  336|      0|                                "just-started generator";
  337|      0|            if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|      0|                msg = NON_INIT_CORO_MSG;
  339|      0|            }
  340|      0|            else if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|      0|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|                msg = "can't send non-None value to a "
  342|      0|                        "just-started async generator";
  343|      0|            }
  344|      0|            PyErr_SetString(PyExc_TypeError, msg);
  345|      0|            return PYGEN_ERROR;
  346|      0|        }
  347|   260k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (347:13): [True: 0, False: 260k]
  ------------------
  348|      0|            gen_raise_already_executing_error(gen);
  349|      0|            return PYGEN_ERROR;
  350|      0|        }
  351|   260k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|   260k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 260k]
  |  |  ------------------
  ------------------
  352|      0|            if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|       |                /* `gen` is an exhausted coroutine: raise an error,
  354|       |                except when called from gen_close(), which should
  355|       |                always be a silent method. */
  356|      0|                PyErr_SetString(
  357|      0|                    PyExc_RuntimeError,
  358|      0|                    "cannot reuse already awaited coroutine");
  359|      0|            }
  360|      0|            else if (arg) {
  ------------------
  |  Branch (360:22): [True: 0, False: 0]
  ------------------
  361|       |                /* `gen` is an exhausted generator:
  362|       |                only return value if called from send(). */
  363|      0|                *presult = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  364|      0|                return PYGEN_RETURN;
  365|      0|            }
  366|      0|            return PYGEN_ERROR;
  367|      0|        }
  368|       |
  369|   260k|        assert((frame_state == FRAME_CREATED) ||
  370|   260k|               FRAME_STATE_SUSPENDED(frame_state));
  371|   260k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|   260k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (371:14): [True: 0, False: 260k]
  ------------------
  372|       |
  373|   260k|    return gen_send_ex2(gen, arg, presult, 0);
  374|   260k|}
genobject.c:gen_send_ex2:
  260|   283k|{
  261|   283k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  262|       |
  263|   283k|    PyThreadState *tstate = _PyThreadState_GET();
  264|   283k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  265|       |
  266|       |    /* Push arg onto the frame's value stack */
  267|   283k|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|   260k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (267:25): [True: 23.5k, False: 260k]
  ------------------
  268|   283k|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  611|   283k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   283k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   283k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|       |
  270|   283k|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  271|   283k|    gen->gi_exc_state.previous_item = prev_exc_info;
  272|   283k|    tstate->exc_info = &gen->gi_exc_state;
  273|       |
  274|   283k|    if (exc) {
  ------------------
  |  Branch (274:9): [True: 23.5k, False: 260k]
  ------------------
  275|  23.5k|        assert(_PyErr_Occurred(tstate));
  276|  23.5k|        _PyErr_ChainStackItem();
  277|  23.5k|    }
  278|       |
  279|   283k|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|   283k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  280|   283k|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  281|   283k|    assert(tstate->exc_info == prev_exc_info);
  282|   283k|#ifndef Py_GIL_DISABLED
  283|   283k|    assert(gen->gi_exc_state.previous_item == NULL);
  284|   283k|    assert(frame->previous == NULL);
  285|   283k|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  286|   283k|#endif
  287|       |
  288|       |    // The generator_return_kind field is used to distinguish between a
  289|       |    // yield and a return from within _PyEval_EvalFrame(). Earlier versions
  290|       |    // of CPython (prior to 3.15) used gi_frame_state for this purpose, but
  291|       |    // that requires the GIL for thread-safety.
  292|   283k|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  293|       |
  294|   283k|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (294:9): [True: 209k, False: 74.1k]
  ------------------
  295|   209k|        assert(result != NULL && !_PyErr_Occurred(tstate));
  296|   209k|#ifndef Py_GIL_DISABLED
  297|   209k|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  298|   209k|#endif
  299|   209k|        *presult = result;
  300|   209k|        return PYGEN_NEXT;
  301|   209k|    }
  302|       |
  303|   283k|    assert(return_kind == GENERATOR_RETURN);
  304|  74.1k|    assert(gen->gi_exc_state.exc_value == NULL);
  305|  74.1k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  306|       |
  307|       |    /* If the generator just returned (as opposed to yielding), signal
  308|       |     * that the generator is exhausted. */
  309|  74.1k|    if (result) {
  ------------------
  |  Branch (309:9): [True: 50.6k, False: 23.5k]
  ------------------
  310|  50.6k|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  311|  50.6k|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|   101k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|  50.6k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|   101k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (311:13): [True: 50.6k, False: 0]
  |  Branch (311:34): [True: 50.6k, False: 0]
  |  Branch (311:65): [True: 50.6k, False: 0]
  ------------------
  312|       |            /* Return NULL if called by gen_iternext() */
  313|  50.6k|            Py_CLEAR(result);
  ------------------
  |  |  484|  50.6k|    do { \
  |  |  485|  50.6k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  50.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  50.6k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  50.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  50.6k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 50.6k, False: 0]
  |  |  ------------------
  |  |  488|  50.6k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  50.6k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  50.6k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  50.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  50.6k|        } \
  |  |  491|  50.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 50.6k]
  |  |  ------------------
  ------------------
  314|  50.6k|        }
  315|  50.6k|    }
  316|  23.5k|    else {
  317|  23.5k|        assert(!PyErr_ExceptionMatches(PyExc_StopIteration));
  318|  23.5k|        assert(!PyAsyncGen_CheckExact(gen) ||
  319|  23.5k|            !PyErr_ExceptionMatches(PyExc_StopAsyncIteration));
  320|  23.5k|    }
  321|       |
  322|  74.1k|    *presult = result;
  323|  74.1k|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (323:12): [True: 0, False: 74.1k]
  ------------------
  324|   283k|}
genobject.c:gen_traverse:
   83|  16.8k|{
   84|  16.8k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  16.8k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   85|  16.8k|    Py_VISIT(gen->gi_name);
  ------------------
  |  |  194|  16.8k|    do {                                                                \
  |  |  195|  16.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.8k, False: 0]
  |  |  ------------------
  |  |  196|  16.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.8k]
  |  |  ------------------
  |  |  198|  16.8k|                return vret;                                            \
  |  |  199|  16.8k|        }                                                               \
  |  |  200|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
   86|  16.8k|    Py_VISIT(gen->gi_qualname);
  ------------------
  |  |  194|  16.8k|    do {                                                                \
  |  |  195|  16.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.8k, False: 0]
  |  |  ------------------
  |  |  196|  16.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.8k]
  |  |  ------------------
  |  |  198|  16.8k|                return vret;                                            \
  |  |  199|  16.8k|        }                                                               \
  |  |  200|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
   87|  16.8k|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (87:9): [True: 16.8k, False: 13]
  ------------------
   88|  16.8k|        _PyInterpreterFrame *frame = &gen->gi_iframe;
   89|  16.8k|        assert(frame->frame_obj == NULL ||
   90|  16.8k|               frame->frame_obj->f_frame->owner == FRAME_OWNED_BY_GENERATOR);
   91|  16.8k|        int err = _PyFrame_Traverse(frame, visit, arg);
   92|  16.8k|        if (err) {
  ------------------
  |  Branch (92:13): [True: 0, False: 16.8k]
  ------------------
   93|      0|            return err;
   94|      0|        }
   95|  16.8k|    }
   96|     13|    else {
   97|       |        // We still need to visit the code object when the frame is cleared to
   98|       |        // ensure that it's kept alive if the reference is deferred.
   99|     13|        _Py_VISIT_STACKREF(gen->gi_iframe.f_executable);
  ------------------
  |  |  863|     13|    do {                                                                \
  |  |  864|     13|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|     13|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|     26|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|     13|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     13|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|     13|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|     13|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 13]
  |  |  ------------------
  |  |  867|     13|                return vret;                                            \
  |  |  868|     13|        }                                                               \
  |  |  869|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
  100|     13|    }
  101|       |    /* No need to visit cr_origin, because it's just tuples/str/int, so can't
  102|       |       participate in a reference cycle. */
  103|  16.8k|    Py_VISIT(gen->gi_exc_state.exc_value);
  ------------------
  |  |  194|  16.8k|    do {                                                                \
  |  |  195|  16.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 16.8k]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
  104|  16.8k|    return 0;
  105|  16.8k|}
genobject.c:gen_iternext:
  759|   260k|{
  760|   260k|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  761|   260k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|   260k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   260k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  762|       |
  763|   260k|    PyObject *result;
  764|   260k|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (764:9): [True: 0, False: 260k]
  ------------------
  765|      0|        if (result != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (765:13): [True: 0, False: 0]
  ------------------
  766|      0|            _PyGen_SetStopIterationValue(result);
  767|      0|        }
  768|       |        Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  769|      0|    }
  770|   260k|    return result;
  771|   260k|}
genobject.c:gen_throw:
  728|  23.3k|{
  729|  23.3k|    PyGenObject *gen = _PyGen_CAST(op);
  ------------------
  |  |   33|  23.3k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  730|  23.3k|    PyObject *typ;
  731|  23.3k|    PyObject *tb = NULL;
  732|  23.3k|    PyObject *val = NULL;
  733|       |
  734|  23.3k|    if (!_PyArg_CheckPositional("throw", nargs, 1, 3)) {
  ------------------
  |  |   31|  23.3k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 23.3k, False: 0]
  |  |  |  Branch (31:27): [True: 23.3k, False: 0]
  |  |  ------------------
  |  |   32|  23.3k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  735|      0|        return NULL;
  736|      0|    }
  737|  23.3k|    if (nargs > 1) {
  ------------------
  |  Branch (737:9): [True: 0, False: 23.3k]
  ------------------
  738|      0|        if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (738:13): [True: 0, False: 0]
  ------------------
  739|      0|                            "the (type, exc, tb) signature of throw() is deprecated, "
  740|      0|                            "use the single-arg signature instead.",
  741|      0|                            1) < 0) {
  742|      0|            return NULL;
  743|      0|        }
  744|      0|    }
  745|  23.3k|    typ = args[0];
  746|  23.3k|    if (nargs == 3) {
  ------------------
  |  Branch (746:9): [True: 0, False: 23.3k]
  ------------------
  747|      0|        val = args[1];
  748|      0|        tb = args[2];
  749|      0|    }
  750|  23.3k|    else if (nargs == 2) {
  ------------------
  |  Branch (750:14): [True: 0, False: 23.3k]
  ------------------
  751|      0|        val = args[1];
  752|      0|    }
  753|  23.3k|    return _gen_throw(gen, 1, typ, val, tb);
  754|  23.3k|}
genobject.c:_gen_throw:
  626|  23.3k|{
  627|  23.3k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|  23.3k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  628|  23.3k|    do {
  629|  23.3k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (629:13): [True: 0, False: 23.3k]
  ------------------
  630|      0|            gen_raise_already_executing_error(gen);
  631|      0|            return NULL;
  632|      0|        }
  633|       |
  634|  23.3k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|  23.3k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 23.3k]
  |  |  ------------------
  ------------------
  635|      0|            if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|       |                /* `gen` is an exhausted coroutine: raise an error */
  637|      0|                PyErr_SetString(
  638|      0|                    PyExc_RuntimeError,
  639|      0|                    "cannot reuse already awaited coroutine");
  640|      0|                return NULL;
  641|      0|            }
  642|      0|            gen_set_exception(typ, val, tb);
  643|      0|            return NULL;
  644|      0|        }
  645|       |
  646|  23.3k|        assert((frame_state == FRAME_CREATED) ||
  647|  23.3k|               FRAME_STATE_SUSPENDED(frame_state));
  648|  23.3k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  23.3k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (648:14): [True: 0, False: 23.3k]
  ------------------
  649|       |
  650|  23.3k|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (650:9): [True: 0, False: 23.3k]
  ------------------
  651|      0|        _PyInterpreterFrame *frame = &gen->gi_iframe;
  652|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|      0|        PyObject *ret;
  654|      0|        int err;
  655|      0|        if (PyErr_GivenExceptionMatches(typ, PyExc_GeneratorExit) &&
  ------------------
  |  Branch (655:13): [True: 0, False: 0]
  ------------------
  656|      0|            close_on_genexit
  ------------------
  |  Branch (656:13): [True: 0, False: 0]
  ------------------
  657|      0|        ) {
  658|       |            /* Asynchronous generators *should not* be closed right away.
  659|       |               We have to allow some awaits to work it through, hence the
  660|       |               `close_on_genexit` parameter here.
  661|       |            */
  662|      0|            err = gen_close_iter(yf);
  663|      0|            Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|      0|            if (err < 0) {
  ------------------
  |  Branch (664:17): [True: 0, False: 0]
  ------------------
  665|      0|                return gen_throw_current_exception(gen);
  666|      0|            }
  667|      0|            goto throw_here;
  668|      0|        }
  669|      0|        PyThreadState *tstate = _PyThreadState_GET();
  670|      0|        assert(tstate != NULL);
  671|      0|        if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) {
  ------------------
  |  |   17|      0|#define PyGen_CheckExact(op) Py_IS_TYPE((op), &PyGen_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) {
  ------------------
  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|       |            /* `yf` is a generator or a coroutine. */
  673|       |
  674|       |            /* Link frame into the stack to enable complete backtraces. */
  675|       |            /* XXX We should probably be updating the current frame somewhere in
  676|       |               ceval.c. */
  677|      0|            _PyInterpreterFrame *prev = tstate->current_frame;
  678|      0|            frame->previous = prev;
  679|      0|            tstate->current_frame = frame;
  680|       |            /* Close the generator that we are currently iterating with
  681|       |               'yield from' or awaiting on with 'await'. */
  682|      0|            ret = _gen_throw((PyGenObject *)yf, close_on_genexit,
  683|      0|                             typ, val, tb);
  684|      0|            tstate->current_frame = prev;
  685|      0|            frame->previous = NULL;
  686|      0|        }
  687|      0|        else {
  688|       |            /* `yf` is an iterator or a coroutine-like object. */
  689|      0|            PyObject *meth;
  690|      0|            if (PyObject_GetOptionalAttr(yf, &_Py_ID(throw), &meth) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (690:17): [True: 0, False: 0]
  ------------------
  691|      0|                Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  692|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, frame_state);
  ------------------
  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  693|      0|                return NULL;
  694|      0|            }
  695|      0|            if (meth == NULL) {
  ------------------
  |  Branch (695:17): [True: 0, False: 0]
  ------------------
  696|      0|                Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  697|      0|                goto throw_here;
  698|      0|            }
  699|       |
  700|      0|            _PyInterpreterFrame *prev = tstate->current_frame;
  701|      0|            frame->previous = prev;
  702|      0|            tstate->current_frame = frame;
  703|      0|            ret = PyObject_CallFunctionObjArgs(meth, typ, val, tb, NULL);
  704|      0|            tstate->current_frame = prev;
  705|      0|            frame->previous = NULL;
  706|      0|            Py_DECREF(meth);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|      0|        }
  708|      0|        Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|      0|        if (!ret) {
  ------------------
  |  Branch (709:13): [True: 0, False: 0]
  ------------------
  710|      0|            return gen_throw_current_exception(gen);
  711|      0|        }
  712|      0|        FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, frame_state);
  ------------------
  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  713|      0|        return ret;
  714|      0|    }
  715|       |
  716|  23.3k|throw_here:
  717|  23.3k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  718|  23.3k|    if (gen_set_exception(typ, val, tb) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 23.3k]
  ------------------
  719|      0|        FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, frame_state);
  ------------------
  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  720|      0|        return NULL;
  721|      0|    }
  722|  23.3k|    return gen_throw_current_exception(gen);
  723|  23.3k|}
genobject.c:gen_set_exception:
  546|  23.3k|{
  547|       |    /* First, check the traceback argument, replacing None with
  548|       |       NULL. */
  549|  23.3k|    if (tb == Py_None) {
  ------------------
  |  |  616|  23.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (549:9): [True: 0, False: 23.3k]
  ------------------
  550|      0|        tb = NULL;
  551|      0|    }
  552|  23.3k|    else if (tb != NULL && !PyTraceBack_Check(tb)) {
  ------------------
  |  |   14|      0|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (552:14): [True: 0, False: 23.3k]
  |  Branch (552:28): [True: 0, False: 0]
  ------------------
  553|      0|        PyErr_SetString(PyExc_TypeError,
  554|      0|            "throw() third argument must be a traceback object");
  555|      0|        return -1;
  556|      0|    }
  557|       |
  558|  23.3k|    Py_INCREF(typ);
  ------------------
  |  |  310|  23.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|  23.3k|    Py_XINCREF(val);
  ------------------
  |  |  514|  23.3k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  23.3k|    Py_XINCREF(tb);
  ------------------
  |  |  514|  23.3k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|       |
  562|  23.3k|    if (PyExceptionClass_Check(typ)) {
  ------------------
  |  |   61|  23.3k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  46.6k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 23.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  23.3k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|      0|        PyErr_NormalizeException(&typ, &val, &tb);
  564|      0|    }
  565|  23.3k|    else if (PyExceptionInstance_Check(typ)) {
  ------------------
  |  |   65|  23.3k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  23.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 23.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|       |        /* Raising an instance.  The value should be a dummy. */
  567|  23.3k|        if (val && val != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (567:13): [True: 0, False: 23.3k]
  |  Branch (567:20): [True: 0, False: 0]
  ------------------
  568|      0|            PyErr_SetString(PyExc_TypeError,
  569|      0|              "instance exception may not have a separate value");
  570|      0|            goto failed_throw;
  571|      0|        }
  572|  23.3k|        else {
  573|       |            /* Normalize to raise <class>, <instance> */
  574|  23.3k|            Py_XSETREF(val, typ);
  ------------------
  |  |  374|  23.3k|    do { \
  |  |  375|  23.3k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  23.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  23.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  23.3k|        *_tmp_dst_ptr = (src); \
  |  |  378|  23.3k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  23.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  23.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 23.3k]
  |  |  ------------------
  ------------------
  575|  23.3k|            typ = Py_NewRef(PyExceptionInstance_Class(typ));
  ------------------
  |  |  550|  23.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|       |
  577|  23.3k|            if (tb == NULL)
  ------------------
  |  Branch (577:17): [True: 23.3k, False: 0]
  ------------------
  578|       |                /* Returns NULL if there's no traceback */
  579|  23.3k|                tb = PyException_GetTraceback(val);
  580|  23.3k|        }
  581|  23.3k|    }
  582|      0|    else {
  583|       |        /* Not something you can raise.  throw() fails. */
  584|      0|        PyErr_Format(PyExc_TypeError,
  585|      0|                     "exceptions must be classes or instances "
  586|      0|                     "deriving from BaseException, not %s",
  587|      0|                     Py_TYPE(typ)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            goto failed_throw;
  589|      0|    }
  590|       |
  591|  23.3k|    PyErr_Restore(typ, val, tb);
  592|  23.3k|    return 0;
  593|       |
  594|      0|failed_throw:
  595|       |    /* Didn't use our arguments, so restore their original refcounts */
  596|      0|    Py_DECREF(typ);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|    Py_XDECREF(val);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    Py_XDECREF(tb);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|    return -1;
  600|  23.3k|}
genobject.c:gen_throw_current_exception:
  604|  23.3k|{
  605|  23.3k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  606|       |
  607|  23.3k|    PyObject *result;
  608|  23.3k|    if (gen_send_ex2(gen, Py_None, &result, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|  23.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (608:9): [True: 0, False: 23.3k]
  ------------------
  609|      0|        return gen_set_stop_iteration(gen, result);
  610|      0|    }
  611|  23.3k|    return result;
  612|  23.3k|}
genobject.c:gen_close:
  464|  1.57k|{
  465|  1.57k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  1.57k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  466|       |
  467|  1.57k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|  1.57k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  468|  1.57k|    do {
  469|  1.57k|        if (frame_state == FRAME_CREATED) {
  ------------------
  |  Branch (469:13): [True: 7, False: 1.57k]
  ------------------
  470|       |            // && (1) to avoid -Wunreachable-code warning on Clang
  471|      7|            if (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_CLEARED) && (1)) {
  ------------------
  |  |   57|     14|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (471:17): [True: 0, False: 7]
  |  Branch (471:82): [True: 0, Folded]
  ------------------
  472|      0|                continue;
  473|      0|            }
  474|      7|            gen_clear_frame(gen);
  475|      7|            Py_RETURN_NONE;
  ------------------
  |  |  628|      7|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  476|      7|        }
  477|       |
  478|  1.57k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|  1.57k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 1.57k]
  |  |  ------------------
  ------------------
  479|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  480|      0|        }
  481|       |
  482|  1.57k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (482:13): [True: 0, False: 1.57k]
  ------------------
  483|      0|            gen_raise_already_executing_error(gen);
  484|      0|            return NULL;
  485|      0|        }
  486|       |
  487|  1.57k|        assert(FRAME_STATE_SUSPENDED(frame_state));
  488|  1.57k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  1.57k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (488:14): [True: 0, False: 1.57k]
  ------------------
  489|       |
  490|  1.57k|    int err = 0;
  491|  1.57k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  492|  1.57k|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (492:9): [True: 0, False: 1.57k]
  ------------------
  493|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|      0|        err = gen_close_iter(yf);
  495|      0|        Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|    }
  497|       |
  498|  1.57k|    if (is_resume(frame->instr_ptr)) {
  ------------------
  |  Branch (498:9): [True: 1.57k, False: 0]
  ------------------
  499|  1.57k|        bool no_unwind_tools = _PyEval_NoToolsForUnwind(_PyThreadState_GET(), frame);
  500|       |        /* We can safely ignore the outermost try block
  501|       |         * as it is automatically generated to handle
  502|       |         * StopIteration. */
  503|  1.57k|        int oparg = frame->instr_ptr->op.arg;
  504|  1.57k|        if (oparg & RESUME_OPARG_DEPTH1_MASK && no_unwind_tools) {
  ------------------
  |  |   95|  3.14k|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  |  Branch (504:13): [True: 1.35k, False: 221]
  |  Branch (504:49): [True: 1.35k, False: 0]
  ------------------
  505|       |            // RESUME after YIELD_VALUE and exception depth is 1
  506|  1.35k|            assert((oparg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_FUNC_START);
  507|  1.35k|            FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|  1.35k|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  508|  1.35k|            gen_clear_frame(gen);
  509|  1.35k|            Py_RETURN_NONE;
  ------------------
  |  |  628|  1.35k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.35k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  510|  1.35k|        }
  511|  1.57k|    }
  512|    221|    if (err == 0) {
  ------------------
  |  Branch (512:9): [True: 221, False: 0]
  ------------------
  513|    221|        PyErr_SetNone(PyExc_GeneratorExit);
  514|    221|    }
  515|       |
  516|    221|    PyObject *retval;
  517|    221|    if (gen_send_ex2(gen, Py_None, &retval, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|    221|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (517:9): [True: 0, False: 221]
  ------------------
  518|       |        // the generator returned a value while closing, return the value here
  519|      0|        assert(!PyErr_Occurred());
  520|      0|        return retval;
  521|      0|    }
  522|    221|    else if (retval) {
  ------------------
  |  Branch (522:14): [True: 0, False: 221]
  ------------------
  523|      0|        const char *msg = "generator ignored GeneratorExit";
  524|      0|        if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|      0|            msg = "coroutine ignored GeneratorExit";
  526|      0|        } else if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|      0|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|      0|            msg = ASYNC_GEN_IGNORED_EXIT_MSG;
  528|      0|        }
  529|      0|        Py_DECREF(retval);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|      0|        PyErr_SetString(PyExc_RuntimeError, msg);
  531|      0|        return NULL;
  532|      0|    }
  533|    221|    assert(PyErr_Occurred());
  534|       |
  535|    221|    if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) {
  ------------------
  |  Branch (535:9): [True: 221, False: 0]
  ------------------
  536|    221|        PyErr_Clear();          /* ignore this error */
  537|    221|        Py_RETURN_NONE;
  ------------------
  |  |  628|    221|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    221|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  538|    221|    }
  539|      0|    return NULL;
  540|    221|}
genobject.c:is_resume:
  452|  1.57k|{
  453|  1.57k|    uint8_t code = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|  1.57k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  454|  1.57k|    return (
  455|  1.57k|        code == RESUME ||
  ------------------
  |  |  133|  3.14k|#define RESUME                                 128
  ------------------
  |  Branch (455:9): [True: 280, False: 1.29k]
  ------------------
  456|  1.29k|        code == RESUME_CHECK ||
  ------------------
  |  |  205|  2.86k|#define RESUME_CHECK                           200
  ------------------
  |  Branch (456:9): [True: 1.29k, False: 0]
  ------------------
  457|      0|        code == RESUME_CHECK_JIT ||
  ------------------
  |  |  206|  1.57k|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (457:9): [True: 0, False: 0]
  ------------------
  458|      0|        code == INSTRUMENTED_RESUME
  ------------------
  |  |  235|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (458:9): [True: 0, False: 0]
  ------------------
  459|  1.57k|    );
  460|  1.57k|}
genobject.c:gen_finalize:
  109|  1.55M|{
  110|  1.55M|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|  1.55M|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   57|  1.55M|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 1.55M, False: 1.57k]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|  1.55M|        return;
  115|  1.55M|    }
  116|       |
  117|  1.57k|    if (PyAsyncGen_CheckExact(self)) {
  ------------------
  |  |   46|  1.57k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  1.57k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|      2|        PyAsyncGenObject *agen = (PyAsyncGenObject*)self;
  119|      2|        PyObject *finalizer = agen->ag_origin_or_finalizer;
  120|      2|        if (finalizer && !agen->ag_closed) {
  ------------------
  |  Branch (120:13): [True: 0, False: 2]
  |  Branch (120:26): [True: 0, False: 0]
  ------------------
  121|       |            /* Save the current exception, if any. */
  122|      0|            PyObject *exc = PyErr_GetRaisedException();
  123|       |
  124|      0|            PyObject *res = PyObject_CallOneArg(finalizer, self);
  125|      0|            if (res == NULL) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|                PyErr_FormatUnraisable("Exception ignored while "
  127|      0|                                       "finalizing generator %R", self);
  128|      0|            }
  129|      0|            else {
  130|      0|                Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|      0|            }
  132|       |            /* Restore the saved exception. */
  133|      0|            PyErr_SetRaisedException(exc);
  134|      0|            return;
  135|      0|        }
  136|      2|    }
  137|       |
  138|       |    /* Save the current exception, if any. */
  139|  1.57k|    PyObject *exc = PyErr_GetRaisedException();
  140|       |
  141|       |    /* If `gen` is a coroutine, and if it was never awaited on,
  142|       |       issue a RuntimeWarning. */
  143|  1.57k|    assert(_PyGen_GetCode(gen) != NULL);
  144|  1.57k|    if (_PyGen_GetCode(gen)->co_flags & CO_COROUTINE &&
  ------------------
  |  |  127|  3.15k|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (144:9): [True: 0, False: 1.57k]
  ------------------
  145|      0|        gen->gi_frame_state == FRAME_CREATED)
  ------------------
  |  Branch (145:9): [True: 0, False: 0]
  ------------------
  146|      0|    {
  147|      0|        _PyErr_WarnUnawaitedCoroutine((PyObject *)gen);
  148|      0|    }
  149|  1.57k|    else {
  150|  1.57k|        PyObject *res = gen_close((PyObject*)gen, NULL);
  151|  1.57k|        if (res == NULL) {
  ------------------
  |  Branch (151:13): [True: 0, False: 1.57k]
  ------------------
  152|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (152:17): [True: 0, False: 0]
  ------------------
  153|      0|                PyErr_FormatUnraisable("Exception ignored while "
  154|      0|                                       "closing generator %R", self);
  155|      0|            }
  156|      0|        }
  157|  1.57k|        else {
  158|  1.57k|            Py_DECREF(res);
  ------------------
  |  |  430|  1.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|  1.57k|        }
  160|  1.57k|    }
  161|       |
  162|       |    /* Restore the saved exception. */
  163|  1.57k|    PyErr_SetRaisedException(exc);
  164|  1.57k|}
genobject.c:make_gen:
 1094|  1.55M|{
 1095|  1.55M|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1096|  1.55M|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1097|  1.55M|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|  1.55M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1098|  1.55M|    if (gen == NULL) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 1.55M]
  ------------------
 1099|      0|        return NULL;
 1100|      0|    }
 1101|  1.55M|    gen->gi_frame_state = FRAME_CLEARED;
 1102|  1.55M|    gen->gi_weakreflist = NULL;
 1103|  1.55M|    gen->gi_exc_state.exc_value = NULL;
 1104|  1.55M|    gen->gi_exc_state.previous_item = NULL;
 1105|  1.55M|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  1.55M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  1.55M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1106|  1.55M|    assert(func->func_name != NULL);
 1107|  1.55M|    gen->gi_name = Py_NewRef(func->func_name);
  ------------------
  |  |  550|  1.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|  1.55M|    assert(func->func_qualname != NULL);
 1109|  1.55M|    gen->gi_qualname = Py_NewRef(func->func_qualname);
  ------------------
  |  |  550|  1.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|  1.55M|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  508|  1.55M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  1.55M|    return (PyObject *)gen;
 1112|  1.55M|}

_PyInterpolation_InitTypes:
  165|      2|{
  166|      2|    PyObject *tuple = Py_BuildValue("(ssss)", "value", "expression", "conversion", "format_spec");
  167|      2|    if (!tuple) {
  ------------------
  |  Branch (167:9): [True: 0, False: 2]
  ------------------
  168|      0|        goto error;
  169|      0|    }
  170|       |
  171|      2|    PyObject *dict = _PyType_GetDict(&_PyInterpolation_Type);
  172|      2|    if (!dict) {
  ------------------
  |  Branch (172:9): [True: 0, False: 2]
  ------------------
  173|      0|        Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|        goto error;
  175|      0|    }
  176|       |
  177|      2|    int status = PyDict_SetItemString(dict, "__match_args__", tuple);
  178|      2|    Py_DECREF(tuple);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|      2|    if (status < 0) {
  ------------------
  |  Branch (179:9): [True: 0, False: 2]
  ------------------
  180|      0|        goto error;
  181|      0|    }
  182|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  183|       |
  184|      0|error:
  185|      0|    return _PyStatus_ERR("Can't initialize interpolation types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  186|      2|}
_PyInterpolation_Build:
  190|      2|{
  191|      2|    interpolationobject *interpolation = PyObject_GC_New(interpolationobject, &_PyInterpolation_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  192|      2|    if (!interpolation) {
  ------------------
  |  Branch (192:9): [True: 0, False: 2]
  ------------------
  193|      0|        return NULL;
  194|      0|    }
  195|       |
  196|      2|    interpolation->value = Py_NewRef(value);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      2|    interpolation->expression = Py_NewRef(str);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      2|    interpolation->format_spec = Py_NewRef(format_spec);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      2|    interpolation->conversion = NULL;
  200|       |
  201|      2|    if (conversion == 0) {
  ------------------
  |  Branch (201:9): [True: 2, False: 0]
  ------------------
  202|      2|        interpolation->conversion = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  203|      2|    }
  204|      0|    else {
  205|      0|        switch (conversion) {
  206|      0|            case FVC_ASCII:
  ------------------
  |  |  132|      0|#define FVC_ASCII     0x3
  ------------------
  |  Branch (206:13): [True: 0, False: 0]
  ------------------
  207|      0|                interpolation->conversion = _Py_LATIN1_CHR('a');
  ------------------
  |  |  923|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 0, Folded]
  |  |  ------------------
  |  |  924|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      0|                break;
  209|      0|            case FVC_REPR:
  ------------------
  |  |  131|      0|#define FVC_REPR      0x2
  ------------------
  |  Branch (209:13): [True: 0, False: 0]
  ------------------
  210|      0|                interpolation->conversion = _Py_LATIN1_CHR('r');
  ------------------
  |  |  923|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 0, Folded]
  |  |  ------------------
  |  |  924|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|      0|                break;
  212|      0|            case FVC_STR:
  ------------------
  |  |  130|      0|#define FVC_STR       0x1
  ------------------
  |  Branch (212:13): [True: 0, False: 0]
  ------------------
  213|      0|                interpolation->conversion = _Py_LATIN1_CHR('s');
  ------------------
  |  |  923|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 0, Folded]
  |  |  ------------------
  |  |  924|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|                break;
  215|      0|            default:
  ------------------
  |  Branch (215:13): [True: 0, False: 0]
  ------------------
  216|      0|                PyErr_SetString(PyExc_SystemError,
  217|      0|                    "Interpolation() argument 'conversion' must be one of 's', 'a' or 'r'");
  218|      0|                Py_DECREF(interpolation);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|      0|                return NULL;
  220|      0|        }
  221|      0|    }
  222|       |
  223|      2|    PyObject_GC_Track(interpolation);
  224|      2|    return (PyObject *) interpolation;
  225|      2|}
interpolationobject.c:interpolation_dealloc:
   83|      2|{
   84|      2|    PyObject_GC_UnTrack(op);
   85|      2|    Py_TYPE(op)->tp_clear(op);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   86|      2|    Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      2|}
interpolationobject.c:interpolation_clear:
   91|      2|{
   92|      2|    interpolationobject *self = interpolationobject_CAST(op);
  ------------------
  |  |   50|      2|    (assert(_PyInterpolation_CheckExact(op)), _Py_CAST(interpolationobject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   93|      2|    Py_CLEAR(self->value);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   94|      2|    Py_CLEAR(self->expression);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   95|      2|    Py_CLEAR(self->conversion);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   96|       |    Py_CLEAR(self->format_spec);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   97|      2|    return 0;
   98|      2|}

PySeqIter_New:
   19|    698|{
   20|    698|    seqiterobject *it;
   21|       |
   22|    698|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (22:9): [True: 0, False: 698]
  ------------------
   23|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   24|      0|        return NULL;
   25|      0|    }
   26|    698|    it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
  ------------------
  |  |  181|    698|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|    698|    if (it == NULL)
  ------------------
  |  Branch (27:9): [True: 0, False: 698]
  ------------------
   28|      0|        return NULL;
   29|    698|    it->it_index = 0;
   30|    698|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|    698|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|    698|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|    698|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    698|    return (PyObject *)it;
   33|    698|}
PyCallIter_New:
  194|      2|{
  195|      2|    calliterobject *it;
  196|      2|    it = PyObject_GC_New(calliterobject, &PyCallIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  197|      2|    if (it == NULL)
  ------------------
  |  Branch (197:9): [True: 0, False: 2]
  ------------------
  198|      0|        return NULL;
  199|      2|    it->it_callable = Py_NewRef(callable);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|      2|    it->it_sentinel = Py_NewRef(sentinel);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      2|    return (PyObject *)it;
  203|      2|}
iterobject.c:iter_dealloc:
   37|    698|{
   38|    698|    seqiterobject *it = (seqiterobject*)op;
   39|    698|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|    698|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|    698|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|    698|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|    698|    PyObject_GC_Del(it);
   42|    698|}
iterobject.c:iter_iternext:
   54|  1.63k|{
   55|  1.63k|    seqiterobject *it;
   56|  1.63k|    PyObject *seq;
   57|  1.63k|    PyObject *result;
   58|       |
   59|  1.63k|    assert(PySeqIter_Check(iterator));
   60|  1.63k|    it = (seqiterobject *)iterator;
   61|  1.63k|    seq = it->it_seq;
   62|  1.63k|    if (seq == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 1.63k]
  ------------------
   63|      0|        return NULL;
   64|  1.63k|    if (it->it_index == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.63k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (64:9): [True: 0, False: 1.63k]
  ------------------
   65|      0|        PyErr_SetString(PyExc_OverflowError,
   66|      0|                        "iter index too large");
   67|      0|        return NULL;
   68|      0|    }
   69|       |
   70|  1.63k|    result = PySequence_GetItem(seq, it->it_index);
   71|  1.63k|    if (result != NULL) {
  ------------------
  |  Branch (71:9): [True: 940, False: 698]
  ------------------
   72|    940|        it->it_index++;
   73|    940|        return result;
   74|    940|    }
   75|    698|    if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (75:9): [True: 698, False: 0]
  ------------------
   76|      0|        PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (76:9): [True: 0, False: 0]
  ------------------
   77|    698|    {
   78|    698|        PyErr_Clear();
   79|    698|        it->it_seq = NULL;
   80|    698|        Py_DECREF(seq);
  ------------------
  |  |  430|    698|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|    698|    }
   82|       |    return NULL;
   83|  1.63k|}
iterobject.c:iter_len:
   87|     12|{
   88|     12|    seqiterobject *it = (seqiterobject*)op;
   89|     12|    Py_ssize_t seqsize, len;
   90|       |
   91|     12|    if (it->it_seq) {
  ------------------
  |  Branch (91:9): [True: 12, False: 0]
  ------------------
   92|     12|        if (_PyObject_HasLen(it->it_seq)) {
  ------------------
  |  Branch (92:13): [True: 12, False: 0]
  ------------------
   93|     12|            seqsize = PySequence_Size(it->it_seq);
   94|     12|            if (seqsize == -1)
  ------------------
  |  Branch (94:17): [True: 0, False: 12]
  ------------------
   95|      0|                return NULL;
   96|     12|        }
   97|      0|        else {
   98|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
   99|      0|        }
  100|     12|        len = seqsize - it->it_index;
  101|     12|        if (len >= 0)
  ------------------
  |  Branch (101:13): [True: 12, False: 0]
  ------------------
  102|     12|            return PyLong_FromSsize_t(len);
  103|     12|    }
  104|      0|    return PyLong_FromLong(0);
  105|     12|}
iterobject.c:calliter_dealloc:
  206|      2|{
  207|      2|    calliterobject *it = (calliterobject*)op;
  208|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|      2|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|      2|    Py_XDECREF(it->it_callable);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|      2|    Py_XDECREF(it->it_sentinel);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|      2|    PyObject_GC_Del(it);
  212|      2|}
iterobject.c:calliter_iternext:
  225|      2|{
  226|      2|    calliterobject *it = (calliterobject*)op;
  227|      2|    PyObject *result;
  228|       |
  229|      2|    if (it->it_callable == NULL) {
  ------------------
  |  Branch (229:9): [True: 0, False: 2]
  ------------------
  230|      0|        return NULL;
  231|      0|    }
  232|       |
  233|      2|    result = _PyObject_CallNoArgs(it->it_callable);
  234|      2|    if (result != NULL && it->it_sentinel != NULL){
  ------------------
  |  Branch (234:9): [True: 0, False: 2]
  |  Branch (234:27): [True: 0, False: 0]
  ------------------
  235|      0|        int ok;
  236|       |
  237|      0|        ok = PyObject_RichCompareBool(it->it_sentinel, result, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  238|      0|        if (ok == 0) {
  ------------------
  |  Branch (238:13): [True: 0, False: 0]
  ------------------
  239|      0|            return result; /* Common case, fast path */
  240|      0|        }
  241|       |
  242|      0|        if (ok > 0) {
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|            Py_CLEAR(it->it_callable);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  244|      0|            Py_CLEAR(it->it_sentinel);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  245|      0|        }
  246|      0|    }
  247|      2|    else if (PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (247:14): [True: 2, False: 0]
  ------------------
  248|      2|        PyErr_Clear();
  249|      2|        Py_CLEAR(it->it_callable);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  250|      2|        Py_CLEAR(it->it_sentinel);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  251|      2|    }
  252|      2|    Py_XDECREF(result);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  253|       |    return NULL;
  254|      2|}

_PyLazyImport_New:
   15|     62|{
   16|     62|    PyLazyImportObject *m;
   17|     62|    if (!name || !PyUnicode_Check(name)) {
  ------------------
  |  |  103|     62|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     62|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (17:9): [True: 0, False: 62]
  |  Branch (17:18): [True: 0, False: 62]
  ------------------
   18|      0|        PyErr_SetString(PyExc_TypeError, "expected str for name");
   19|      0|        return NULL;
   20|      0|    }
   21|     62|    if (fromlist == Py_None || fromlist == NULL) {
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (21:9): [True: 30, False: 32]
  |  Branch (21:32): [True: 0, False: 32]
  ------------------
   22|     30|        fromlist = NULL;
   23|     30|    }
   24|     32|    else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |  103|     32|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     64|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  else if (!PyUnicode_Check(fromlist) && !PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|     12|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (24:14): [True: 12, False: 20]
  |  Branch (24:44): [True: 0, False: 12]
  ------------------
   25|      0|        PyErr_SetString(PyExc_TypeError,
   26|      0|            "lazy_import: fromlist must be None, a string, or a tuple");
   27|      0|        return NULL;
   28|      0|    }
   29|     62|    m = PyObject_GC_New(PyLazyImportObject, &PyLazyImport_Type);
  ------------------
  |  |  181|     62|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   30|     62|    if (m == NULL) {
  ------------------
  |  Branch (30:9): [True: 0, False: 62]
  ------------------
   31|      0|        return NULL;
   32|      0|    }
   33|     62|    m->lz_builtins = Py_XNewRef(builtins);
  ------------------
  |  |  551|     62|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|     62|    m->lz_from = Py_NewRef(name);
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   35|     62|    m->lz_attr = Py_XNewRef(fromlist);
  ------------------
  |  |  551|     62|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|       |
   37|       |    // Capture frame information for the original import location.
   38|     62|    m->lz_code = NULL;
   39|     62|    m->lz_instr_offset = -1;
   40|       |
   41|     62|    if (frame != NULL) {
  ------------------
  |  Branch (41:9): [True: 62, False: 0]
  ------------------
   42|     62|        PyCodeObject *code = _PyFrame_GetCode(frame);
   43|     62|        if (code != NULL) {
  ------------------
  |  Branch (43:13): [True: 62, False: 0]
  ------------------
   44|     62|            m->lz_code = (PyCodeObject *)Py_NewRef(code);
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|       |            // Calculate the instruction offset from the current frame.
   46|     62|            m->lz_instr_offset = _PyInterpreterFrame_LASTI(frame);
  ------------------
  |  |   18|     62|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
   47|     62|        }
   48|     62|    }
   49|       |
   50|     62|    _PyObject_GC_TRACK(m);
  ------------------
  |  |  508|     62|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     62|    return (PyObject *)m;
   52|     62|}
lazyimportobject.c:lazy_import_dealloc:
   78|     18|{
   79|     18|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|     18|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|     18|    (void)lazy_import_clear(op);
   81|     18|    Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|     18|}
lazyimportobject.c:lazy_import_traverse:
   56|    372|{
   57|    372|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|    372|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   58|    372|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|    372|    do {                                                                \
  |  |  195|    372|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 372, False: 0]
  |  |  ------------------
  |  |  196|    372|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    372|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 372]
  |  |  ------------------
  |  |  198|    372|                return vret;                                            \
  |  |  199|    372|        }                                                               \
  |  |  200|    372|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 372]
  |  |  ------------------
  ------------------
   59|    372|    Py_VISIT(m->lz_from);
  ------------------
  |  |  194|    372|    do {                                                                \
  |  |  195|    372|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 372, False: 0]
  |  |  ------------------
  |  |  196|    372|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    372|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 372]
  |  |  ------------------
  |  |  198|    372|                return vret;                                            \
  |  |  199|    372|        }                                                               \
  |  |  200|    372|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 372]
  |  |  ------------------
  ------------------
   60|    372|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|    372|    do {                                                                \
  |  |  195|    372|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 160, False: 212]
  |  |  ------------------
  |  |  196|    160|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    160|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 160]
  |  |  ------------------
  |  |  198|    160|                return vret;                                            \
  |  |  199|    160|        }                                                               \
  |  |  200|    372|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 372]
  |  |  ------------------
  ------------------
   61|    372|    Py_VISIT(m->lz_code);
  ------------------
  |  |  194|    372|    do {                                                                \
  |  |  195|    372|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 372, False: 0]
  |  |  ------------------
  |  |  196|    372|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    372|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 372]
  |  |  ------------------
  |  |  198|    372|                return vret;                                            \
  |  |  199|    372|        }                                                               \
  |  |  200|    372|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 372]
  |  |  ------------------
  ------------------
   62|    372|    return 0;
   63|    372|}
lazyimportobject.c:lazy_import_clear:
   67|     18|{
   68|     18|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|     18|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   69|     18|    Py_CLEAR(m->lz_builtins);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  488|     18|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     18|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     18|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   70|     18|    Py_CLEAR(m->lz_from);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  488|     18|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     18|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     18|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   71|     18|    Py_CLEAR(m->lz_attr);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12, False: 6]
  |  |  ------------------
  |  |  488|     12|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     12|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     12|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     12|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   72|       |    Py_CLEAR(m->lz_code);
  ------------------
  |  |  484|     18|    do { \
  |  |  485|     18|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     18|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     18|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     18|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  488|     18|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     18|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     18|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     18|        } \
  |  |  491|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   73|     18|    return 0;
   74|     18|}

PyList_New:
  242|  4.71M|{
  243|  4.71M|    if (size < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 4.71M]
  ------------------
  244|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  245|      0|        return NULL;
  246|      0|    }
  247|       |
  248|  4.71M|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|  4.71M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  4.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  249|  4.71M|    if (op == NULL) {
  ------------------
  |  Branch (249:9): [True: 9.31k, False: 4.70M]
  ------------------
  250|  9.31k|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|  9.31k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  9.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  251|  9.31k|        if (op == NULL) {
  ------------------
  |  Branch (251:13): [True: 0, False: 9.31k]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|  9.31k|    }
  255|  4.71M|    if (size <= 0) {
  ------------------
  |  Branch (255:9): [True: 3.20M, False: 1.50M]
  ------------------
  256|  3.20M|        op->ob_item = NULL;
  257|  3.20M|    }
  258|  1.50M|    else {
  259|       |#ifdef Py_GIL_DISABLED
  260|       |        _PyListArray *array = list_allocate_array(size);
  261|       |        if (array == NULL) {
  262|       |            Py_DECREF(op);
  263|       |            return PyErr_NoMemory();
  264|       |        }
  265|       |        memset(&array->ob_item, 0, size * sizeof(PyObject *));
  266|       |        op->ob_item = array->ob_item;
  267|       |#else
  268|  1.50M|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  269|  1.50M|#endif
  270|  1.50M|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (270:13): [True: 0, False: 1.50M]
  ------------------
  271|      0|            Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      0|            return PyErr_NoMemory();
  273|      0|        }
  274|  1.50M|    }
  275|  4.71M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  4.71M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.71M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|  4.71M|    op->allocated = size;
  277|  4.71M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  4.71M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  4.71M|    return (PyObject *) op;
  279|  4.71M|}
PyList_Size:
  310|    739|{
  311|    739|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    739|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    739|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (311:9): [True: 0, False: 739]
  ------------------
  312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  313|      0|        return -1;
  314|      0|    }
  315|    739|    else {
  316|    739|        return PyList_GET_SIZE(op);
  ------------------
  |  |   38|    739|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    739|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    739|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|    739|    }
  318|    739|}
PyList_GetItemRef:
  407|     49|{
  408|     49|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|     49|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     49|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 0, False: 49]
  ------------------
  409|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  410|      0|        return NULL;
  411|      0|    }
  412|     49|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  413|     49|    if (item == NULL) {
  ------------------
  |  Branch (413:9): [True: 0, False: 49]
  ------------------
  414|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  415|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|     49|    return item;
  419|     49|}
_PyList_GetItemRef:
  423|   247k|{
  424|   247k|    return list_get_item_ref(list, i);
  425|   247k|}
PyList_SetItem:
  456|    148|{
  457|    148|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    148|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    148|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 148]
  ------------------
  458|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  460|      0|        return -1;
  461|      0|    }
  462|    148|    int ret;
  463|    148|    PyListObject *self = ((PyListObject *)op);
  464|    148|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    148|    {
  ------------------
  465|    148|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|    148|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 148]
  ------------------
  466|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|      0|        PyErr_SetString(PyExc_IndexError,
  468|      0|                        "list assignment index out of range");
  469|      0|        ret = -1;
  470|      0|        goto end;
  471|      0|    }
  472|    148|    PyObject *tmp = self->ob_item[i];
  473|    148|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  164|    148|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  474|    148|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    148|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|    148|    ret = 0;
  476|    148|end:;
  477|    148|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    148|    }
  ------------------
  478|    148|    return ret;
  479|    148|}
PyList_Insert:
  511|      4|{
  512|      4|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (512:9): [True: 0, False: 4]
  ------------------
  513|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  514|      0|        return -1;
  515|      0|    }
  516|      4|    PyListObject *self = (PyListObject *)op;
  517|      4|    int err;
  518|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  519|      4|    err = ins1(self, where, newitem);
  520|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  521|      4|    return err;
  522|      4|}
_PyList_AppendTakeRefListResize:
  527|  2.42M|{
  528|  2.42M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.42M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  2.42M|    assert(self->allocated == -1 || self->allocated == len);
  530|  2.42M|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (530:9): [True: 0, False: 2.42M]
  ------------------
  531|      0|        Py_DECREF(newitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      0|        return -1;
  533|      0|    }
  534|  2.42M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  164|  2.42M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  535|  2.42M|    return 0;
  536|  2.42M|}
PyList_Append:
  540|  7.21M|{
  541|  7.21M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  7.21M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.4M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.21M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (541:29): [True: 7.21M, False: 0]
  ------------------
  542|  7.21M|        int ret;
  543|  7.21M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  7.21M|    {
  ------------------
  544|  7.21M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  550|  7.21M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  7.21M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.21M|    }
  ------------------
  546|  7.21M|        return ret;
  547|  7.21M|    }
  548|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  549|      0|    return -1;
  550|  7.21M|}
_PyList_BinarySlice:
  721|  2.94k|{
  722|  2.94k|    assert(PyList_CheckExact(container));
  723|  2.94k|    Py_ssize_t istart = 0;
  724|  2.94k|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.94k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  725|       |    /* Unpack the index values before acquiring the lock, since
  726|       |     * _PyEval_SliceIndex may call __index__ which could execute
  727|       |     * arbitrary Python code. */
  728|  2.94k|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 2.94k]
  ------------------
  729|      0|        return NULL;
  730|      0|    }
  731|  2.94k|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (731:9): [True: 0, False: 2.94k]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|  2.94k|    PyObject *ret;
  735|  2.94k|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|  2.94k|    {
  ------------------
  736|  2.94k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  2.94k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|  2.94k|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  738|  2.94k|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  739|  2.94k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.94k|    }
  ------------------
  740|  2.94k|    return ret;
  741|  2.94k|}
_PyList_Concat:
  803|  4.20k|{
  804|  4.20k|    if (!PyList_Check(bb)) {
  ------------------
  |  |   25|  4.20k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.20k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (804:9): [True: 0, False: 4.20k]
  ------------------
  805|      0|        PyErr_Format(PyExc_TypeError,
  806|      0|                  "can only concatenate list (not \"%.200s\") to list",
  807|      0|                  Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|      0|        return NULL;
  809|      0|    }
  810|  4.20k|    PyListObject *a = (PyListObject *)aa;
  811|  4.20k|    PyListObject *b = (PyListObject *)bb;
  812|  4.20k|    PyObject *ret;
  813|  4.20k|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  4.20k|    {
  ------------------
  814|  4.20k|    ret = list_concat_lock_held(a, b);
  815|  4.20k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  4.20k|    }
  ------------------
  816|  4.20k|    return ret;
  817|  4.20k|}
PyList_SetSlice:
 1072|  55.9k|{
 1073|  55.9k|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|  55.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  55.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1073:9): [True: 0, False: 55.9k]
  ------------------
 1074|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1075|      0|        return -1;
 1076|      0|    }
 1077|  55.9k|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1078|  55.9k|}
_PyList_Extend:
 1534|  2.59M|{
 1535|  2.59M|    return list_extend((PyObject*)self, iterable);
 1536|  2.59M|}
PyList_Sort:
 3212|  1.87k|{
 3213|  1.87k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  1.87k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.87k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3213:9): [True: 0, False: 1.87k]
  |  Branch (3213:22): [True: 0, False: 1.87k]
  ------------------
 3214|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3215|      0|        return -1;
 3216|      0|    }
 3217|  1.87k|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|  1.87k|    {
  ------------------
 3218|  1.87k|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3219|  1.87k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.87k|    }
  ------------------
 3220|  1.87k|    if (v == NULL)
  ------------------
  |  Branch (3220:9): [True: 0, False: 1.87k]
  ------------------
 3221|      0|        return -1;
 3222|  1.87k|    Py_DECREF(v);
  ------------------
  |  |  430|  1.87k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|  1.87k|    return 0;
 3224|  1.87k|}
PyList_Reverse:
 3244|     14|{
 3245|     14|    PyListObject *self = (PyListObject *)v;
 3246|       |
 3247|     14|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3247:9): [True: 0, False: 14]
  |  Branch (3247:22): [True: 0, False: 14]
  ------------------
 3248|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3249|      0|        return -1;
 3250|      0|    }
 3251|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
 3252|     14|    if (Py_SIZE(self) > 1) {
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3252:9): [True: 14, False: 0]
  ------------------
 3253|     14|        reverse_slice(self->ob_item, self->ob_item + Py_SIZE(self));
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3254|     14|    }
 3255|     14|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|     14|    }
  ------------------
 3256|     14|    return 0;
 3257|     14|}
PyList_AsTuple:
 3261|  21.9k|{
 3262|  21.9k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  21.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3262:9): [True: 0, False: 21.9k]
  |  Branch (3262:22): [True: 0, False: 21.9k]
  ------------------
 3263|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3264|      0|        return NULL;
 3265|      0|    }
 3266|  21.9k|    PyObject *ret;
 3267|  21.9k|    PyListObject *self = (PyListObject *)v;
 3268|  21.9k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  21.9k|    {
  ------------------
 3269|  21.9k|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|  21.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|  21.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  21.9k|    }
  ------------------
 3271|  21.9k|    return ret;
 3272|  21.9k|}
_PyList_AsTupleAndClear:
 3276|  2.74M|{
 3277|  2.74M|    assert(self != NULL);
 3278|  2.74M|    PyObject *ret;
 3279|  2.74M|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3279:9): [True: 52.4k, False: 2.68M]
  ------------------
 3280|  52.4k|        return PyTuple_New(0);
 3281|  52.4k|    }
 3282|  2.68M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.68M|    {
  ------------------
 3283|  2.68M|    PyObject **items = self->ob_item;
 3284|  2.68M|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|  2.68M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|  2.68M|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|  2.68M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.68M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|  2.68M|    ret = _PyTuple_FromArraySteal(items, size);
 3287|  2.68M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.68M|    }
  ------------------
 3288|  2.68M|    return ret;
 3289|  2.74M|}
_PyList_FromStackRefStealOnSuccess:
 3293|  3.37M|{
 3294|  3.37M|    if (n == 0) {
  ------------------
  |  Branch (3294:9): [True: 1.87M, False: 1.50M]
  ------------------
 3295|  1.87M|        return PyList_New(0);
 3296|  1.87M|    }
 3297|       |
 3298|  1.50M|    PyListObject *list = (PyListObject *)PyList_New(n);
 3299|  1.50M|    if (list == NULL) {
  ------------------
  |  Branch (3299:9): [True: 0, False: 1.50M]
  ------------------
 3300|      0|        return NULL;
 3301|      0|    }
 3302|       |
 3303|  1.50M|    PyObject **dst = list->ob_item;
 3304|  3.20M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3304:28): [True: 1.70M, False: 1.50M]
  ------------------
 3305|  1.70M|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3306|  1.70M|    }
 3307|       |
 3308|  1.50M|    return (PyObject *)list;
 3309|  1.50M|}
_PyList_SliceSubscript:
 3684|    590|{
 3685|    590|    return list_slice_subscript(_self, item);
 3686|    590|}
listobject.c:valid_index:
  322|   900k|{
  323|       |    /* The cast to size_t lets us use just a single comparison
  324|       |       to check whether i is in the range: 0 <= i < limit.
  325|       |
  326|       |       See:  Section 14.2 "Bounds Checking" in the Agner Fog
  327|       |       optimization manual found at:
  328|       |       https://www.agner.org/optimize/optimizing_cpp.pdf
  329|       |    */
  330|   900k|    return (size_t) i < (size_t) limit;
  331|   900k|}
listobject.c:list_get_item_ref:
  382|   327k|{
  383|   327k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|   327k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   327k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   327k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (383:9): [True: 11.0k, False: 316k]
  ------------------
  384|  11.0k|        return NULL;
  385|  11.0k|    }
  386|   316k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  550|   316k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   316k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   316k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|   327k|}
listobject.c:ins1:
  483|     32|{
  484|     32|    Py_ssize_t i, n = Py_SIZE(self);
  ------------------
  |  |  214|     32|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|     32|    PyObject **items;
  486|     32|    if (v == NULL) {
  ------------------
  |  Branch (486:9): [True: 0, False: 32]
  ------------------
  487|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  488|      0|        return -1;
  489|      0|    }
  490|       |
  491|     32|    assert((size_t)n + 1 < PY_SSIZE_T_MAX);
  492|     32|    if (list_resize(self, n+1) < 0)
  ------------------
  |  Branch (492:9): [True: 0, False: 32]
  ------------------
  493|      0|        return -1;
  494|       |
  495|     32|    if (where < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 32]
  ------------------
  496|      0|        where += n;
  497|      0|        if (where < 0)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|      0|            where = 0;
  499|      0|    }
  500|     32|    if (where > n)
  ------------------
  |  Branch (500:9): [True: 0, False: 32]
  ------------------
  501|      0|        where = n;
  502|     32|    items = self->ob_item;
  503|     92|    for (i = n; --i >= where; )
  ------------------
  |  Branch (503:17): [True: 60, False: 32]
  ------------------
  504|     60|        FT_ATOMIC_STORE_PTR_RELEASE(items[i+1], items[i]);
  ------------------
  |  |  164|     92|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  505|     32|    FT_ATOMIC_STORE_PTR_RELEASE(items[where], Py_NewRef(v));
  ------------------
  |  |  164|     32|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  506|     32|    return 0;
  507|     32|}
listobject.c:list_resize:
  105|  5.23M|{
  106|  5.23M|    size_t new_allocated, target_bytes;
  107|  5.23M|    Py_ssize_t allocated = self->allocated;
  108|       |
  109|       |    /* Bypass realloc() when a previous overallocation is large enough
  110|       |       to accommodate the newsize.  If the newsize falls lower than half
  111|       |       the allocated size, then proceed with the realloc() to shrink the list.
  112|       |    */
  113|  5.23M|    if (allocated >= newsize && newsize >= (allocated >> 1)) {
  ------------------
  |  Branch (113:9): [True: 298k, False: 4.93M]
  |  Branch (113:33): [True: 66.2k, False: 231k]
  ------------------
  114|  66.2k|        assert(self->ob_item != NULL || newsize == 0);
  115|  66.2k|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  66.2k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  66.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  66.2k|        return 0;
  117|  66.2k|    }
  118|       |
  119|       |    /* This over-allocates proportional to the list size, making room
  120|       |     * for additional growth.  The over-allocation is mild, but is
  121|       |     * enough to give linear-time amortized behavior over a long
  122|       |     * sequence of appends() in the presence of a poorly-performing
  123|       |     * system realloc().
  124|       |     * Add padding to make the allocated size multiple of 4.
  125|       |     * The growth pattern is:  0, 4, 8, 16, 24, 32, 40, 52, 64, 76, ...
  126|       |     * Note: new_allocated won't overflow because the largest possible value
  127|       |     *       is PY_SSIZE_T_MAX * (9 / 8) + 6 which always fits in a size_t.
  128|       |     */
  129|  5.17M|    new_allocated = ((size_t)newsize + (newsize >> 3) + 6) & ~(size_t)3;
  130|       |    /* Do not overallocate if the new size is closer to overallocated size
  131|       |     * than to the old size.
  132|       |     */
  133|  5.17M|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|  5.17M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 79.0k, False: 5.09M]
  ------------------
  134|  79.0k|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  135|       |
  136|  5.17M|    if (newsize == 0)
  ------------------
  |  Branch (136:9): [True: 11.3k, False: 5.15M]
  ------------------
  137|  11.3k|        new_allocated = 0;
  138|       |
  139|  5.17M|    ensure_shared_on_resize(self);
  140|       |
  141|       |#ifdef Py_GIL_DISABLED
  142|       |    _PyListArray *array = list_allocate_array(new_allocated);
  143|       |    if (array == NULL) {
  144|       |        if (newsize < allocated) {
  145|       |            // Never fail when shrinking allocations
  146|       |            Py_SET_SIZE(self, newsize);
  147|       |            return 0;
  148|       |        }
  149|       |        PyErr_NoMemory();
  150|       |        return -1;
  151|       |    }
  152|       |    PyObject **old_items = self->ob_item;
  153|       |    if (self->ob_item) {
  154|       |        if (new_allocated < (size_t)allocated) {
  155|       |            target_bytes = new_allocated * sizeof(PyObject*);
  156|       |        }
  157|       |        else {
  158|       |            target_bytes = allocated * sizeof(PyObject*);
  159|       |        }
  160|       |        memcpy(array->ob_item, self->ob_item, target_bytes);
  161|       |    }
  162|       |    if (new_allocated > (size_t)allocated) {
  163|       |        memset(array->ob_item + allocated, 0, sizeof(PyObject *) * (new_allocated - allocated));
  164|       |    }
  165|       |     _Py_atomic_store_ptr_release(&self->ob_item, &array->ob_item);
  166|       |    self->allocated = new_allocated;
  167|       |    Py_SET_SIZE(self, newsize);
  168|       |    if (old_items != NULL) {
  169|       |        free_list_items(old_items, _PyObject_GC_IS_SHARED(self));
  170|       |    }
  171|       |#else
  172|  5.17M|    PyObject **items;
  173|  5.17M|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|  5.17M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (173:9): [True: 5.17M, False: 0]
  ------------------
  174|  5.17M|        target_bytes = new_allocated * sizeof(PyObject *);
  175|  5.17M|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  176|  5.17M|    }
  177|      0|    else {
  178|       |        // integer overflow
  179|      0|        items = NULL;
  180|      0|    }
  181|  5.17M|    if (items == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 5.17M]
  ------------------
  182|      0|        if (newsize < allocated) {
  ------------------
  |  Branch (182:13): [True: 0, False: 0]
  ------------------
  183|       |            // Never fail when shrinking allocations
  184|      0|            Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      0|            return 0;
  186|      0|        }
  187|      0|        PyErr_NoMemory();
  188|      0|        return -1;
  189|      0|    }
  190|  5.17M|    self->ob_item = items;
  191|  5.17M|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  5.17M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  5.17M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  5.17M|    self->allocated = new_allocated;
  193|  5.17M|#endif
  194|  5.17M|    return 0;
  195|  5.17M|}
listobject.c:ensure_shared_on_resize:
   77|  5.17M|{
   78|       |#ifdef Py_GIL_DISABLED
   79|       |    // We can't use _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED here because
   80|       |    // the `CALL_LIST_APPEND` bytecode handler may lock the list without
   81|       |    // a critical section.
   82|       |    assert(Py_REFCNT(self) == 1 || PyMutex_IsLocked(&_PyObject_CAST(self)->ob_mutex));
   83|       |
   84|       |    // Ensure that the list array is freed using QSBR if we are not the
   85|       |    // owning thread.
   86|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)self) &&
   87|       |        !_PyObject_GC_IS_SHARED(self))
   88|       |    {
   89|       |        _PyObject_GC_SET_SHARED(self);
   90|       |    }
   91|       |#endif
   92|  5.17M|}
listobject.c:list_slice_lock_held:
  697|  3.31k|{
  698|  3.31k|    PyListObject *np;
  699|  3.31k|    PyObject **src, **dest;
  700|  3.31k|    Py_ssize_t i, len;
  701|  3.31k|    len = ihigh - ilow;
  702|  3.31k|    if (len <= 0) {
  ------------------
  |  Branch (702:9): [True: 219, False: 3.09k]
  ------------------
  703|    219|        return PyList_New(0);
  704|    219|    }
  705|  3.09k|    np = (PyListObject *) list_new_prealloc(len);
  706|  3.09k|    if (np == NULL)
  ------------------
  |  Branch (706:9): [True: 0, False: 3.09k]
  ------------------
  707|      0|        return NULL;
  708|       |
  709|  3.09k|    src = a->ob_item + ilow;
  710|  3.09k|    dest = np->ob_item;
  711|  18.9k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (711:17): [True: 15.8k, False: 3.09k]
  ------------------
  712|  15.8k|        PyObject *v = src[i];
  713|  15.8k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  15.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  15.8k|    }
  715|  3.09k|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|  3.09k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  3.09k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|  3.09k|    return (PyObject *)np;
  717|  3.09k|}
listobject.c:list_new_prealloc:
  283|  7.66k|{
  284|  7.66k|    assert(size > 0);
  285|  7.66k|    PyListObject *op = (PyListObject *) PyList_New(0);
  286|  7.66k|    if (op == NULL) {
  ------------------
  |  Branch (286:9): [True: 0, False: 7.66k]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|  7.66k|    assert(op->ob_item == NULL);
  290|       |#ifdef Py_GIL_DISABLED
  291|       |    _PyListArray *array = list_allocate_array(size);
  292|       |    if (array == NULL) {
  293|       |        Py_DECREF(op);
  294|       |        return PyErr_NoMemory();
  295|       |    }
  296|       |    op->ob_item = array->ob_item;
  297|       |#else
  298|  7.66k|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|  7.66k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  7.66k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 7.66k]
  |  |  ------------------
  |  |   65|  7.66k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  299|  7.66k|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 7.66k]
  ------------------
  300|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      0|        return PyErr_NoMemory();
  302|      0|    }
  303|  7.66k|#endif
  304|  7.66k|    op->allocated = size;
  305|  7.66k|    return (PyObject *) op;
  306|  7.66k|}
listobject.c:list_concat_lock_held:
  771|  4.20k|{
  772|  4.20k|    Py_ssize_t size;
  773|  4.20k|    Py_ssize_t i;
  774|  4.20k|    PyObject **src, **dest;
  775|  4.20k|    PyListObject *np;
  776|  4.20k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  777|  4.20k|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  4.20k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  4.20k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|  4.20k|    if (size == 0) {
  ------------------
  |  Branch (778:9): [True: 4, False: 4.20k]
  ------------------
  779|      4|        return PyList_New(0);
  780|      4|    }
  781|  4.20k|    np = (PyListObject *) list_new_prealloc(size);
  782|  4.20k|    if (np == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 4.20k]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|  4.20k|    src = a->ob_item;
  786|  4.20k|    dest = np->ob_item;
  787|  9.29k|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|  9.29k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (787:17): [True: 5.09k, False: 4.20k]
  ------------------
  788|  5.09k|        PyObject *v = src[i];
  789|  5.09k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  5.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|  5.09k|    }
  791|  4.20k|    src = b->ob_item;
  792|  4.20k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|  4.20k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|  17.8k|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|  17.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (793:17): [True: 13.6k, False: 4.20k]
  ------------------
  794|  13.6k|        PyObject *v = src[i];
  795|  13.6k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  13.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|  13.6k|    }
  797|  4.20k|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|  4.20k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.20k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|  4.20k|    return (PyObject *)np;
  799|  4.20k|}
listobject.c:list_ass_slice:
 1042|  55.9k|{
 1043|  55.9k|    int ret;
 1044|  55.9k|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 55.9k]
  ------------------
 1045|      0|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      0|    {
  ------------------
 1046|      0|        Py_ssize_t n = PyList_GET_SIZE(a);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|      0|        PyObject *copy = list_slice_lock_held(a, 0, n);
 1048|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1048:13): [True: 0, False: 0]
  ------------------
 1049|      0|            ret = -1;
 1050|      0|        }
 1051|      0|        else {
 1052|      0|            ret = list_ass_slice_lock_held(a, ilow, ihigh, copy);
 1053|      0|            Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|      0|        }
 1055|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1056|      0|    }
 1057|  55.9k|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|     88|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     88|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:14): [True: 88, False: 55.8k]
  ------------------
 1058|      0|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|      0|    {
  ------------------
 1059|      0|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1060|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1061|      0|    }
 1062|  55.9k|    else {
 1063|  55.9k|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|  55.9k|    {
  ------------------
 1064|  55.9k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1065|  55.9k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  55.9k|    }
  ------------------
 1066|  55.9k|    }
 1067|  55.9k|    return ret;
 1068|  55.9k|}
listobject.c:list_ass_slice_lock_held:
  951|  57.6k|{
  952|       |    /* Because [X]DECREF can recursively invoke list operations on
  953|       |       this list, we must postpone all [X]DECREF activity until
  954|       |       after the list is back in its canonical shape.  Therefore
  955|       |       we must allocate an additional array, 'recycle', into which
  956|       |       we temporarily copy the items that are deleted from the
  957|       |       list. :-( */
  958|  57.6k|    PyObject *recycle_on_stack[8];
  959|  57.6k|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
  960|  57.6k|    PyObject **item;
  961|  57.6k|    PyObject **vitem = NULL;
  962|  57.6k|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
  963|  57.6k|    Py_ssize_t n; /* # of elements in replacement list */
  964|  57.6k|    Py_ssize_t norig; /* # of elements in list getting replaced */
  965|  57.6k|    Py_ssize_t d; /* Change in size */
  966|  57.6k|    Py_ssize_t k;
  967|  57.6k|    size_t s;
  968|  57.6k|    int result = -1;            /* guilty until proved innocent */
  969|  57.6k|#define b ((PyListObject *)v)
  970|  57.6k|    if (v == NULL)
  ------------------
  |  Branch (970:9): [True: 57.5k, False: 108]
  ------------------
  971|  57.5k|        n = 0;
  972|    108|    else {
  973|    108|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
  974|    108|        if(v_as_SF == NULL)
  ------------------
  |  Branch (974:12): [True: 0, False: 108]
  ------------------
  975|      0|            goto Error;
  976|    108|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|    108|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    108|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    108|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 20, False: 88]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     20|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|     88|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|    108|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|    108|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    108|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    108|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 20, False: 88]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    108|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
  978|    108|    }
  979|  57.6k|    if (ilow < 0)
  ------------------
  |  Branch (979:9): [True: 0, False: 57.6k]
  ------------------
  980|      0|        ilow = 0;
  981|  57.6k|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|  57.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  57.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (981:14): [True: 0, False: 57.6k]
  ------------------
  982|      0|        ilow = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|       |
  984|  57.6k|    if (ihigh < ilow)
  ------------------
  |  Branch (984:9): [True: 0, False: 57.6k]
  ------------------
  985|      0|        ihigh = ilow;
  986|  57.6k|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  57.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  57.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (986:14): [True: 0, False: 57.6k]
  ------------------
  987|      0|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|       |
  989|  57.6k|    norig = ihigh - ilow;
  990|  57.6k|    assert(norig >= 0);
  991|  57.6k|    d = n - norig;
  992|  57.6k|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|  57.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  57.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (992:9): [True: 56.0k, False: 1.57k]
  ------------------
  993|  56.0k|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|  56.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|  56.0k|        list_clear(a);
  995|  56.0k|        return 0;
  996|  56.0k|    }
  997|  1.57k|    item = a->ob_item;
  998|       |    /* recycle the items that we are about to remove */
  999|  1.57k|    s = norig * sizeof(PyObject *);
 1000|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1001|  1.57k|    if (s) {
  ------------------
  |  Branch (1001:9): [True: 1.48k, False: 94]
  ------------------
 1002|  1.48k|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1002:13): [True: 12, False: 1.47k]
  ------------------
 1003|     12|            recycle = (PyObject **)PyMem_Malloc(s);
 1004|     12|            if (recycle == NULL) {
  ------------------
  |  Branch (1004:17): [True: 0, False: 12]
  ------------------
 1005|      0|                PyErr_NoMemory();
 1006|      0|                goto Error;
 1007|      0|            }
 1008|     12|        }
 1009|  1.48k|        memcpy(recycle, &item[ilow], s);
 1010|  1.48k|    }
 1011|       |
 1012|  1.57k|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1012:9): [True: 1.46k, False: 108]
  ------------------
 1013|  1.46k|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|  1.46k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|  1.46k|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1015|  1.46k|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|  1.46k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|  1.46k|        item = a->ob_item;
 1017|  1.46k|    }
 1018|    108|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1018:14): [True: 90, False: 18]
  ------------------
 1019|     90|        k = Py_SIZE(a);
  ------------------
  |  |  214|     90|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|     90|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 90]
  ------------------
 1021|      0|            goto Error;
 1022|     90|        item = a->ob_item;
 1023|     90|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1024|     90|    }
 1025|  2.06k|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1025:17): [True: 492, False: 1.57k]
  ------------------
 1026|    492|        PyObject *w = vitem[k];
 1027|    492|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  164|    492|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1028|    492|    }
 1029|  3.29k|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1029:25): [True: 1.71k, False: 1.57k]
  ------------------
 1030|  1.71k|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  524|  3.29k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|  1.57k|    result = 0;
 1032|  1.57k| Error:
 1033|  1.57k|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1033:9): [True: 12, False: 1.56k]
  ------------------
 1034|     12|        PyMem_Free(recycle);
 1035|  1.57k|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|  1.57k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|  1.57k|    return result;
 1037|  1.57k|#undef b
 1038|  1.57k|}
listobject.c:ptr_wise_atomic_memmove:
  919|  1.55k|{
  920|  1.55k|#ifndef Py_GIL_DISABLED
  921|  1.55k|    memmove(dest, src, n * sizeof(PyObject *));
  922|       |#else
  923|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(a);
  924|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)a) && !_PyObject_GC_IS_SHARED(a)) {
  925|       |        // No other threads can read this list concurrently
  926|       |        memmove(dest, src, n * sizeof(PyObject *));
  927|       |        return;
  928|       |    }
  929|       |    if (dest < src) {
  930|       |        for (Py_ssize_t i = 0; i != n; i++) {
  931|       |            _Py_atomic_store_ptr_release(&dest[i], src[i]);
  932|       |        }
  933|       |    }
  934|       |    else {
  935|       |        // copy backwards to avoid overwriting src before it's read
  936|       |        for (Py_ssize_t i = n; i != 0; i--) {
  937|       |            _Py_atomic_store_ptr_release(&dest[i - 1], src[i - 1]);
  938|       |        }
  939|       |    }
  940|       |#endif
  941|  1.55k|}
listobject.c:list_extend_impl:
 1525|  2.59M|{
 1526|  2.59M|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 2.59M]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|  2.59M|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.59M|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.59M|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1530|  2.59M|}
listobject.c:_list_extend:
 1458|  2.60M|{
 1459|       |    // Special case:
 1460|       |    // lists and tuples which can use PySequence_Fast ops
 1461|  2.60M|    int res = -1;
 1462|  2.60M|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 2.60M]
  ------------------
 1463|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 1464|      0|        res = list_inplace_repeat_lock_held(self, 2);
 1465|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1466|      0|    }
 1467|  2.60M|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|  2.60M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.60M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.32k, False: 2.60M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|  1.32k|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|  1.32k|    {
  ------------------
 1469|  1.32k|        res = list_extend_lock_held(self, iterable);
 1470|  1.32k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.32k|    }
  ------------------
 1471|  1.32k|    }
 1472|  2.60M|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|  2.60M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.60M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.34M, False: 1.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|  1.34M|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.34M|    {
  ------------------
 1474|  1.34M|        res = list_extend_lock_held(self, iterable);
 1475|  1.34M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.34M|    }
  ------------------
 1476|  1.34M|    }
 1477|  1.25M|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|  1.25M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  2.51M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28, False: 1.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  1.25M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|     28|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|     28|    {
  ------------------
 1479|     28|        res = list_extend_set(self, (PySetObject *)iterable);
 1480|     28|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     28|    }
  ------------------
 1481|     28|    }
 1482|  1.25M|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|  1.25M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.25M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.21M, False: 42.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|  1.21M|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|  1.21M|    {
  ------------------
 1484|  1.21M|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1485|  1.21M|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.21M|    }
  ------------------
 1486|  1.21M|    }
 1487|  42.2k|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|  42.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  42.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 146, False: 42.1k]
  |  |  ------------------
  ------------------
 1488|    146|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1489|    146|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|    146|    {
  ------------------
 1490|    146|        res = list_extend_dict(self, dict, 0 /*keys*/);
 1491|    146|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    146|    }
  ------------------
 1492|    146|    }
 1493|  42.1k|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|  42.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3, False: 42.1k]
  |  |  ------------------
  ------------------
 1494|      3|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1495|      3|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      3|    {
  ------------------
 1496|      3|        res = list_extend_dict(self, dict, 1 /*values*/);
 1497|      3|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      3|    }
  ------------------
 1498|      3|    }
 1499|  42.1k|    else if (Py_IS_TYPE(iterable, &PyDictItems_Type)) {
  ------------------
  |  |  215|  42.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 42.1k]
  |  |  ------------------
  ------------------
 1500|      2|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1501|      2|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      2|    {
  ------------------
 1502|      2|        res = list_extend_dictitems(self, dict);
 1503|      2|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      2|    }
  ------------------
 1504|      2|    }
 1505|  42.1k|    else {
 1506|  42.1k|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  42.1k|    {
  ------------------
 1507|  42.1k|        res = list_extend_iter_lock_held(self, iterable);
 1508|  42.1k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  42.1k|    }
  ------------------
 1509|  42.1k|    }
 1510|  2.60M|    return res;
 1511|  2.60M|}
listobject.c:list_extend_lock_held:
 1356|  1.34M|{
 1357|  1.34M|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1358|  1.34M|    if (!seq) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 1.34M]
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|  1.34M|    int res = list_extend_fast(self, seq);
 1363|  1.34M|    Py_DECREF(seq);
  ------------------
  |  |  430|  1.34M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|  1.34M|    return res;
 1365|  1.34M|}
listobject.c:list_extend_fast:
 1243|  1.34M|{
 1244|  1.34M|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|  1.34M|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  1.34M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.34M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.32k, False: 1.34M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  1.32k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|  1.34M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|  1.34M|    if (n == 0) {
  ------------------
  |  Branch (1245:9): [True: 40.2k, False: 1.30M]
  ------------------
 1246|       |        /* short circuit when iterable is empty */
 1247|  40.2k|        return 0;
 1248|  40.2k|    }
 1249|       |
 1250|  1.30M|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  1.30M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|       |    // It should not be possible to allocate a list large enough to cause
 1252|       |    // an overflow on any relevant platform.
 1253|  1.30M|    assert(m < PY_SSIZE_T_MAX - n);
 1254|  1.30M|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1254:9): [True: 5.51k, False: 1.30M]
  ------------------
 1255|  5.51k|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1255:13): [True: 0, False: 5.51k]
  ------------------
 1256|      0|            return -1;
 1257|      0|        }
 1258|  5.51k|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|  5.51k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  5.51k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|  5.51k|    }
 1260|  1.30M|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1260:14): [True: 0, False: 1.30M]
  ------------------
 1261|      0|        return -1;
 1262|      0|    }
 1263|       |
 1264|       |    // note that we may still have self == iterable here for the
 1265|       |    // situation a.extend(a), but the following code works
 1266|       |    // in that case too.  Just make sure to resize self
 1267|       |    // before calling PySequence_Fast_ITEMS.
 1268|       |    //
 1269|       |    // populate the end of self with iterable's items.
 1270|  1.30M|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|  1.30M|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  1.30M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.30M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.10k, False: 1.30M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  1.30M|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1271|  1.30M|    PyObject **dest = self->ob_item + m;
 1272|  3.05M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1272:28): [True: 1.74M, False: 1.30M]
  ------------------
 1273|  1.74M|        PyObject *o = src[i];
 1274|  1.74M|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  164|  1.74M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1275|  1.74M|    }
 1276|  1.30M|    return 0;
 1277|  1.30M|}
listobject.c:list_preallocate_exact:
  199|  47.5k|{
  200|  47.5k|    PyObject **items;
  201|  47.5k|    assert(self->ob_item == NULL);
  202|  47.5k|    assert(size > 0);
  203|       |
  204|       |    /* Since the Python memory allocator has granularity of 16 bytes on 64-bit
  205|       |     * platforms (8 on 32-bit), there is no benefit of allocating space for
  206|       |     * the odd number of items, and there is no drawback of rounding the
  207|       |     * allocated size up to the nearest even number.
  208|       |     */
  209|  47.5k|    size = (size + 1) & ~(size_t)1;
  210|       |#ifdef Py_GIL_DISABLED
  211|       |    _PyListArray *array = list_allocate_array(size);
  212|       |    if (array == NULL) {
  213|       |        PyErr_NoMemory();
  214|       |        return -1;
  215|       |    }
  216|       |    items = array->ob_item;
  217|       |    memset(items, 0, size * sizeof(PyObject *));
  218|       |#else
  219|  47.5k|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|  47.5k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  47.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 47.5k]
  |  |  ------------------
  |  |   65|  47.5k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  220|  47.5k|    if (items == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 47.5k]
  ------------------
  221|      0|        PyErr_NoMemory();
  222|      0|        return -1;
  223|      0|    }
  224|  47.5k|#endif
  225|  47.5k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  164|  47.5k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  226|  47.5k|    self->allocated = size;
  227|  47.5k|    return 0;
  228|  47.5k|}
listobject.c:list_extend_set:
 1369|     28|{
 1370|     28|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|     28|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|     28|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|     28|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|     28|    Py_ssize_t r = m + n;
 1373|     28|    if (r == 0) {
  ------------------
  |  Branch (1373:9): [True: 20, False: 8]
  ------------------
 1374|     20|        return 0;
 1375|     20|    }
 1376|      8|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1376:9): [True: 0, False: 8]
  ------------------
 1377|      0|        return -1;
 1378|      0|    }
 1379|       |
 1380|      8|    assert(self->ob_item != NULL);
 1381|       |    /* populate the end of self with iterable's items */
 1382|      8|    Py_ssize_t setpos = 0;
 1383|      8|    Py_hash_t hash;
 1384|      8|    PyObject *key;
 1385|      8|    PyObject **dest = self->ob_item + m;
 1386|  1.30k|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1386:12): [True: 1.30k, False: 8]
  ------------------
 1387|  1.30k|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  164|  1.30k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1388|  1.30k|        dest++;
 1389|  1.30k|    }
 1390|      8|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      8|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|      8|    return 0;
 1392|      8|}
listobject.c:list_extend_dict:
 1396|  1.21M|{
 1397|       |    // which_item: 0 for keys and 1 for values
 1398|  1.21M|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  1.21M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|  1.21M|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  1.21M|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|  1.21M|    Py_ssize_t r = m + n;
 1401|  1.21M|    if (r == 0) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 1.21M]
  ------------------
 1402|      0|        return 0;
 1403|      0|    }
 1404|  1.21M|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1404:9): [True: 0, False: 1.21M]
  ------------------
 1405|      0|        return -1;
 1406|      0|    }
 1407|       |
 1408|  1.21M|    assert(self->ob_item != NULL);
 1409|  1.21M|    PyObject **dest = self->ob_item + m;
 1410|  1.21M|    Py_ssize_t pos = 0;
 1411|  1.21M|    PyObject *keyvalue[2];
 1412|  2.51M|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1412:12): [True: 1.30M, False: 1.21M]
  ------------------
 1413|  1.30M|        PyObject *obj = keyvalue[which_item];
 1414|  1.30M|        Py_INCREF(obj);
  ------------------
  |  |  310|  1.30M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  1.30M|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  164|  1.30M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1416|  1.30M|        dest++;
 1417|  1.30M|    }
 1418|       |
 1419|  1.21M|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|  1.21M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.21M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|  1.21M|    return 0;
 1421|  1.21M|}
listobject.c:list_extend_dictitems:
 1425|      2|{
 1426|      2|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      2|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      2|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      2|    Py_ssize_t r = m + n;
 1429|      2|    if (r == 0) {
  ------------------
  |  Branch (1429:9): [True: 0, False: 2]
  ------------------
 1430|      0|        return 0;
 1431|      0|    }
 1432|      2|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 2]
  ------------------
 1433|      0|        return -1;
 1434|      0|    }
 1435|       |
 1436|      2|    assert(self->ob_item != NULL);
 1437|      2|    PyObject **dest = self->ob_item + m;
 1438|      2|    Py_ssize_t pos = 0;
 1439|      2|    Py_ssize_t i = 0;
 1440|      2|    PyObject *key, *value;
 1441|     90|    while (_PyDict_Next((PyObject *)dict, &pos, &key, &value, NULL)) {
  ------------------
  |  Branch (1441:12): [True: 88, False: 2]
  ------------------
 1442|     88|        PyObject *item = _PyTuple_FromPair(key, value);
 1443|     88|        if (item == NULL) {
  ------------------
  |  Branch (1443:13): [True: 0, False: 88]
  ------------------
 1444|      0|            Py_SET_SIZE(self, m + i);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1445|      0|            return -1;
 1446|      0|        }
 1447|     88|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, item);
  ------------------
  |  |  164|     88|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1448|     88|        dest++;
 1449|     88|        i++;
 1450|     88|    }
 1451|       |
 1452|      2|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      2|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|      2|    return 0;
 1454|      2|}
listobject.c:list_extend_iter_lock_held:
 1281|  42.1k|{
 1282|  42.1k|    PyObject *it = PyObject_GetIter(iterable);
 1283|  42.1k|    if (it == NULL) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 42.1k]
  ------------------
 1284|      0|        return -1;
 1285|      0|    }
 1286|  42.1k|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|  42.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|       |
 1288|       |    /* Guess a result list size. */
 1289|  42.1k|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1290|  42.1k|    if (n < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 42.1k]
  ------------------
 1291|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|      0|        return -1;
 1293|      0|    }
 1294|       |
 1295|  42.1k|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  42.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|  42.1k|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|  42.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1296:9): [True: 0, False: 42.1k]
  ------------------
 1297|       |        /* m + n overflowed; on the chance that n lied, and there really
 1298|       |         * is enough room, ignore it.  If n was telling the truth, we'll
 1299|       |         * eventually run out of memory during the loop.
 1300|       |         */
 1301|      0|    }
 1302|  42.1k|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1302:14): [True: 42.0k, False: 134]
  ------------------
 1303|  42.0k|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1303:13): [True: 42.0k, False: 8]
  |  Branch (1303:18): [True: 0, False: 42.0k]
  ------------------
 1304|      0|            goto error;
 1305|  42.0k|    }
 1306|    134|    else {
 1307|       |        /* Make room. */
 1308|    134|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 134]
  ------------------
 1309|      0|            goto error;
 1310|      0|        }
 1311|       |
 1312|       |        /* Make the list sane again. */
 1313|    134|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|    134|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    134|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    134|    }
 1315|       |
 1316|       |    /* Run iterator to exhaustion. */
 1317|   234k|    for (;;) {
 1318|   234k|        PyObject *item = iternext(it);
 1319|   234k|        if (item == NULL) {
  ------------------
  |  Branch (1319:13): [True: 42.1k, False: 192k]
  ------------------
 1320|  42.1k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1320:17): [True: 0, False: 42.1k]
  ------------------
 1321|      0|                if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1321:21): [True: 0, False: 0]
  ------------------
 1322|      0|                    PyErr_Clear();
 1323|      0|                else
 1324|      0|                    goto error;
 1325|      0|            }
 1326|  42.1k|            break;
 1327|  42.1k|        }
 1328|       |
 1329|   192k|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|   192k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   192k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1329:13): [True: 179k, False: 12.9k]
  ------------------
 1330|   179k|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   179k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   179k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   179k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1331|   179k|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  164|   179k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1332|   179k|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|   179k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   179k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   179k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|   179k|        }
 1334|  12.9k|        else {
 1335|  12.9k|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1335:17): [True: 0, False: 12.9k]
  ------------------
 1336|      0|                goto error;
 1337|  12.9k|        }
 1338|   192k|    }
 1339|       |
 1340|       |    /* Cut back result list if initial guess was too large. */
 1341|  42.1k|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|  42.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:9): [True: 41.2k, False: 861]
  ------------------
 1342|  41.2k|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|  41.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:13): [True: 0, False: 41.2k]
  ------------------
 1343|      0|            goto error;
 1344|  41.2k|    }
 1345|       |
 1346|  42.1k|    Py_DECREF(it);
  ------------------
  |  |  430|  42.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|  42.1k|    return 0;
 1348|       |
 1349|      0|  error:
 1350|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|      0|    return -1;
 1352|  42.1k|}
listobject.c:list_clear:
  904|  65.3k|{
  905|       |    list_clear_impl(a, true);
  906|  65.3k|}
listobject.c:list_clear_impl:
  874|  65.3k|{
  875|  65.3k|    PyObject **items = a->ob_item;
  876|  65.3k|    if (items == NULL) {
  ------------------
  |  Branch (876:9): [True: 32, False: 65.3k]
  ------------------
  877|     32|        return;
  878|     32|    }
  879|       |
  880|       |    /* Because XDECREF can recursively invoke operations on
  881|       |       this list, we make it empty first. */
  882|  65.3k|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|  65.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  65.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|  65.3k|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|  65.3k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  65.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  65.3k|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  164|  65.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  885|  65.3k|    a->allocated = 0;
  886|   130k|    while (--i >= 0) {
  ------------------
  |  Branch (886:12): [True: 65.6k, False: 65.3k]
  ------------------
  887|  65.6k|        Py_XDECREF(items[i]);
  ------------------
  |  |  524|  65.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|  65.6k|    }
  889|       |#ifdef Py_GIL_DISABLED
  890|       |    if (is_resize) {
  891|       |        ensure_shared_on_resize(a);
  892|       |    }
  893|       |    bool use_qsbr = is_resize && _PyObject_GC_IS_SHARED(a);
  894|       |#else
  895|  65.3k|    bool use_qsbr = false;
  896|  65.3k|#endif
  897|  65.3k|    free_list_items(items, use_qsbr);
  898|       |    // Note that there is no guarantee that the list is actually empty
  899|       |    // at this point, because XDECREF may have populated it indirectly again!
  900|  65.3k|}
listobject.c:free_list_items:
   60|  4.52M|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    _PyListArray *array = _Py_CONTAINER_OF(items, _PyListArray, ob_item);
   63|       |    if (use_qsbr) {
   64|       |        size_t size = sizeof(_PyListArray) + array->allocated * sizeof(PyObject *);
   65|       |        _PyMem_FreeDelayed(array, size);
   66|       |    }
   67|       |    else {
   68|       |        PyMem_Free(array);
   69|       |    }
   70|       |#else
   71|  4.52M|    PyMem_Free(items);
   72|  4.52M|#endif
   73|  4.52M|}
listobject.c:list_sort_impl:
 2946|  1.21M|{
 2947|  1.21M|    MergeState ms;
 2948|  1.21M|    Py_ssize_t nremaining;
 2949|  1.21M|    Py_ssize_t minrun;
 2950|  1.21M|    sortslice lo;
 2951|  1.21M|    Py_ssize_t saved_ob_size, saved_allocated;
 2952|  1.21M|    PyObject **saved_ob_item;
 2953|  1.21M|    PyObject **final_ob_item;
 2954|  1.21M|    PyObject *result = NULL;            /* guilty until proved innocent */
 2955|  1.21M|    Py_ssize_t i;
 2956|  1.21M|    PyObject **keys;
 2957|       |
 2958|  1.21M|    assert(self != NULL);
 2959|  1.21M|    assert(PyList_Check(self));
 2960|  1.21M|    if (keyfunc == Py_None)
  ------------------
  |  |  616|  1.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2960:9): [True: 1.21M, False: 1.91k]
  ------------------
 2961|  1.21M|        keyfunc = NULL;
 2962|       |
 2963|       |    /* The list is temporarily made empty, so that mutations performed
 2964|       |     * by comparison functions can't affect the slice of memory we're
 2965|       |     * sorting (allowing mutations during sorting is a core-dump
 2966|       |     * factory, since ob_item may change).
 2967|       |     */
 2968|  1.21M|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  214|  1.21M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|  1.21M|    saved_ob_item = self->ob_item;
 2970|  1.21M|    saved_allocated = self->allocated;
 2971|  1.21M|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|  1.21M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.21M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|  1.21M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  164|  1.21M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2973|  1.21M|    self->allocated = -1; /* any operation will reset it to >= 0 */
 2974|       |
 2975|  1.21M|    if (keyfunc == NULL) {
  ------------------
  |  Branch (2975:9): [True: 1.21M, False: 45]
  ------------------
 2976|  1.21M|        keys = NULL;
 2977|  1.21M|        lo.keys = saved_ob_item;
 2978|  1.21M|        lo.values = NULL;
 2979|  1.21M|    }
 2980|     45|    else {
 2981|     45|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|     45|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2981:13): [True: 43, False: 2]
  ------------------
 2982|       |            /* Leverage stack space we allocated but won't otherwise use */
 2983|     43|            keys = &ms.temparray[saved_ob_size+1];
 2984|      2|        else {
 2985|      2|            keys = PyMem_Malloc(sizeof(PyObject *) * saved_ob_size);
 2986|      2|            if (keys == NULL) {
  ------------------
  |  Branch (2986:17): [True: 0, False: 2]
  ------------------
 2987|      0|                PyErr_NoMemory();
 2988|      0|                goto keyfunc_fail;
 2989|      0|            }
 2990|      2|        }
 2991|       |
 2992|  4.65k|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (2992:21): [True: 4.61k, False: 45]
  ------------------
 2993|  4.61k|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 2994|  4.61k|            if (keys[i] == NULL) {
  ------------------
  |  Branch (2994:17): [True: 0, False: 4.61k]
  ------------------
 2995|      0|                for (i=i-1 ; i>=0 ; i--)
  ------------------
  |  Branch (2995:30): [True: 0, False: 0]
  ------------------
 2996|      0|                    Py_DECREF(keys[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|      0|                if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2997:21): [True: 0, False: 0]
  ------------------
 2998|      0|                    PyMem_Free(keys);
 2999|      0|                goto keyfunc_fail;
 3000|      0|            }
 3001|  4.61k|        }
 3002|       |
 3003|     45|        lo.keys = keys;
 3004|     45|        lo.values = saved_ob_item;
 3005|     45|    }
 3006|       |
 3007|       |
 3008|       |    /* The pre-sort check: here's where we decide which compare function to use.
 3009|       |     * How much optimization is safe? We test for homogeneity with respect to
 3010|       |     * several properties that are expensive to check at compare-time, and
 3011|       |     * set ms appropriately. */
 3012|  1.21M|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3012:9): [True: 45.5k, False: 1.17M]
  ------------------
 3013|       |        /* Assume the first element is representative of the whole list. */
 3014|  45.5k|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|  91.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  45.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 86, False: 45.4k]
  |  |  ------------------
  ------------------
 3015|     86|                                  Py_SIZE(lo.keys[0]) > 0);
  ------------------
  |  |  214|     86|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3015:35): [True: 86, False: 0]
  ------------------
 3016|       |
 3017|  45.5k|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3017:35): [True: 86, False: 45.4k]
  ------------------
 3018|     86|                                  Py_TYPE(PyTuple_GET_ITEM(lo.keys[0], 0)) :
  ------------------
  |  |  213|     86|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|  45.5k|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|  45.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|       |
 3021|  45.5k|        int keys_are_all_same_type = 1;
 3022|  45.5k|        int strings_are_latin = 1;
 3023|  45.5k|        int ints_are_bounded = 1;
 3024|       |
 3025|       |        /* Prove that assumption by checking every key. */
 3026|   230k|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3026:19): [True: 184k, False: 45.5k]
  ------------------
 3027|       |
 3028|   184k|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3028:17): [True: 24.4k, False: 160k]
  ------------------
 3029|  24.4k|                !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  215|  48.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  24.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 24.4k, False: 0]
  |  |  ------------------
  ------------------
                              !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  214|  24.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3029:60): [True: 24.4k, False: 0]
  ------------------
 3030|      0|                keys_are_in_tuples = 0;
 3031|      0|                keys_are_all_same_type = 0;
 3032|      0|                break;
 3033|      0|            }
 3034|       |
 3035|       |            /* Note: for lists of tuples, key is the first element of the tuple
 3036|       |             * lo.keys[i], not lo.keys[i] itself! We verify type-homogeneity
 3037|       |             * for lists of tuples in the if-statement directly above. */
 3038|   184k|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3038:30): [True: 24.4k, False: 160k]
  ------------------
 3039|  24.4k|                             PyTuple_GET_ITEM(lo.keys[i], 0) :
  ------------------
  |  |   29|  24.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  24.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3040|   184k|                             lo.keys[i]);
 3041|       |
 3042|   184k|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|   184k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   184k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   184k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3042:17): [True: 2, False: 184k]
  ------------------
 3043|      2|                keys_are_all_same_type = 0;
 3044|       |                /* If keys are in tuple we must loop over the whole list to make
 3045|       |                   sure all items are tuples */
 3046|      2|                if (!keys_are_in_tuples) {
  ------------------
  |  Branch (3046:21): [True: 2, False: 0]
  ------------------
 3047|      2|                    break;
 3048|      2|                }
 3049|      2|            }
 3050|       |
 3051|   184k|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3051:17): [True: 184k, False: 0]
  ------------------
 3052|   184k|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3052:21): [True: 46.3k, False: 138k]
  ------------------
 3053|  46.3k|                    ints_are_bounded &&
  ------------------
  |  Branch (3053:21): [True: 45.2k, False: 1.07k]
  ------------------
 3054|  45.2k|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3054:21): [True: 12, False: 45.2k]
  ------------------
 3055|       |
 3056|     12|                    ints_are_bounded = 0;
 3057|     12|                }
 3058|   184k|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3058:26): [True: 138k, False: 46.3k]
  ------------------
 3059|   138k|                         strings_are_latin &&
  ------------------
  |  Branch (3059:26): [True: 138k, False: 115]
  ------------------
 3060|   138k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|   138k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   138k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3060:26): [True: 2, False: 138k]
  ------------------
 3061|       |
 3062|      2|                        strings_are_latin = 0;
 3063|      2|                    }
 3064|   184k|                }
 3065|   184k|            }
 3066|       |
 3067|       |        /* Choose the best compare, given what we now know about the keys. */
 3068|  45.5k|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3068:13): [True: 45.5k, False: 2]
  ------------------
 3069|       |
 3070|  45.5k|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3070:17): [True: 45.4k, False: 172]
  |  Branch (3070:48): [True: 45.4k, False: 2]
  ------------------
 3071|  45.4k|                ms.key_compare = unsafe_latin_compare;
 3072|  45.4k|            }
 3073|    174|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3073:22): [True: 172, False: 2]
  |  Branch (3073:50): [True: 160, False: 12]
  ------------------
 3074|    160|                ms.key_compare = unsafe_long_compare;
 3075|    160|            }
 3076|     14|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3076:22): [True: 0, False: 14]
  ------------------
 3077|      0|                ms.key_compare = unsafe_float_compare;
 3078|      0|            }
 3079|     14|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3079:22): [True: 14, False: 0]
  ------------------
 3080|     14|                ms.key_compare = unsafe_object_compare;
 3081|     14|            }
 3082|      0|            else {
 3083|      0|                ms.key_compare = safe_object_compare;
 3084|      0|            }
 3085|  45.5k|        }
 3086|      2|        else {
 3087|      2|            ms.key_compare = safe_object_compare;
 3088|      2|        }
 3089|       |
 3090|  45.5k|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3090:13): [True: 86, False: 45.4k]
  ------------------
 3091|       |            /* Make sure we're not dealing with tuples of tuples
 3092|       |             * (remember: here, key_type refers list [key[0] for key in keys]) */
 3093|     86|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3093:17): [True: 0, False: 86]
  ------------------
 3094|      0|                ms.tuple_elem_compare = safe_object_compare;
 3095|      0|            }
 3096|     86|            else {
 3097|     86|                ms.tuple_elem_compare = ms.key_compare;
 3098|     86|            }
 3099|       |
 3100|     86|            ms.key_compare = unsafe_tuple_compare;
 3101|     86|        }
 3102|  45.5k|    }
 3103|       |    /* End of pre-sort check: ms is now set properly! */
 3104|       |
 3105|  1.21M|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3106|       |
 3107|  1.21M|    nremaining = saved_ob_size;
 3108|  1.21M|    if (nremaining < 2)
  ------------------
  |  Branch (3108:9): [True: 1.17M, False: 45.5k]
  ------------------
 3109|  1.17M|        goto succeed;
 3110|       |
 3111|       |    /* Reverse sort stability achieved by initially reversing the list,
 3112|       |    applying a stable forward sort, then reversing the final result. */
 3113|  45.5k|    if (reverse) {
  ------------------
  |  Branch (3113:9): [True: 60, False: 45.5k]
  ------------------
 3114|     60|        if (keys != NULL)
  ------------------
  |  Branch (3114:13): [True: 0, False: 60]
  ------------------
 3115|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3116|     60|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3117|     60|    }
 3118|       |
 3119|       |    /* March over the array once, left to right, finding natural runs,
 3120|       |     * and extending short natural runs to minrun elements.
 3121|       |     */
 3122|  45.6k|    do {
 3123|  45.6k|        Py_ssize_t n;
 3124|       |
 3125|       |        /* Identify next run. */
 3126|  45.6k|        n = count_run(&ms, &lo, nremaining);
 3127|  45.6k|        if (n < 0)
  ------------------
  |  Branch (3127:13): [True: 0, False: 45.6k]
  ------------------
 3128|      0|            goto fail;
 3129|       |        /* If short, extend to min(minrun, nremaining). */
 3130|  45.6k|        minrun = minrun_next(&ms);
 3131|  45.6k|        if (n < minrun) {
  ------------------
  |  Branch (3131:13): [True: 42.3k, False: 3.36k]
  ------------------
 3132|  42.3k|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3132:38): [True: 42.2k, False: 58]
  ------------------
 3133|  42.2k|                              nremaining : minrun;
 3134|  42.3k|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3134:17): [True: 0, False: 42.3k]
  ------------------
 3135|      0|                goto fail;
 3136|  42.3k|            n = force;
 3137|  42.3k|        }
 3138|       |        /* Maybe merge pending runs. */
 3139|  45.6k|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
 3140|  45.6k|                            ms.pending[ms.n-1].len == lo.keys);
 3141|  45.6k|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3141:13): [True: 0, False: 45.6k]
  ------------------
 3142|      0|            goto fail;
 3143|       |        /* Push new run on stack. */
 3144|  45.6k|        assert(ms.n < MAX_MERGE_PENDING);
 3145|  45.6k|        ms.pending[ms.n].base = lo;
 3146|  45.6k|        ms.pending[ms.n].len = n;
 3147|  45.6k|        ++ms.n;
 3148|       |        /* Advance to find next run. */
 3149|  45.6k|        sortslice_advance(&lo, n);
 3150|  45.6k|        nremaining -= n;
 3151|  45.6k|    } while (nremaining);
  ------------------
  |  Branch (3151:14): [True: 88, False: 45.5k]
  ------------------
 3152|       |
 3153|  45.5k|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3153:9): [True: 0, False: 45.5k]
  ------------------
 3154|      0|        goto fail;
 3155|  45.5k|    assert(ms.n == 1);
 3156|  45.5k|    assert(keys == NULL
 3157|  45.5k|           ? ms.pending[0].base.keys == saved_ob_item
 3158|  45.5k|           : ms.pending[0].base.keys == &keys[0]);
 3159|  45.5k|    assert(ms.pending[0].len == saved_ob_size);
 3160|  45.5k|    lo = ms.pending[0].base;
 3161|       |
 3162|  1.21M|succeed:
 3163|  1.21M|    result = Py_None;
  ------------------
  |  |  616|  1.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3164|  1.21M|fail:
 3165|  1.21M|    if (keys != NULL) {
  ------------------
  |  Branch (3165:9): [True: 45, False: 1.21M]
  ------------------
 3166|  4.65k|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3166:21): [True: 4.61k, False: 45]
  ------------------
 3167|  4.61k|            Py_DECREF(keys[i]);
  ------------------
  |  |  430|  4.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|     45|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|     45|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3168:13): [True: 2, False: 43]
  ------------------
 3169|      2|            PyMem_Free(keys);
 3170|     45|    }
 3171|       |
 3172|  1.21M|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 1.21M]
  |  Branch (3172:34): [True: 0, False: 0]
  ------------------
 3173|       |        /* The user mucked with the list during the sort,
 3174|       |         * and we don't already have another error to report.
 3175|       |         */
 3176|      0|        PyErr_SetString(PyExc_ValueError, "list modified during sort");
 3177|      0|        result = NULL;
 3178|      0|    }
 3179|       |
 3180|  1.21M|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3180:9): [True: 60, False: 1.21M]
  |  Branch (3180:20): [True: 60, False: 0]
  ------------------
 3181|     60|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3182|       |
 3183|  1.21M|    merge_freemem(&ms);
 3184|       |
 3185|  1.21M|keyfunc_fail:
 3186|  1.21M|    final_ob_item = self->ob_item;
 3187|  1.21M|    i = Py_SIZE(self);
  ------------------
  |  |  214|  1.21M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|  1.21M|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|  1.21M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.21M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3189|  1.21M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  164|  1.21M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3190|  1.21M|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  194|  1.21M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3191|  1.21M|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3191:9): [True: 0, False: 1.21M]
  ------------------
 3192|       |        /* we cannot use list_clear() for this because it does not
 3193|       |           guarantee that the list is really empty when it returns */
 3194|      0|        while (--i >= 0) {
  ------------------
  |  Branch (3194:16): [True: 0, False: 0]
  ------------------
 3195|      0|            Py_XDECREF(final_ob_item[i]);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3196|      0|        }
 3197|       |#ifdef Py_GIL_DISABLED
 3198|       |        ensure_shared_on_resize(self);
 3199|       |        bool use_qsbr = _PyObject_GC_IS_SHARED(self);
 3200|       |#else
 3201|      0|        bool use_qsbr = false;
 3202|      0|#endif
 3203|      0|        free_list_items(final_ob_item, use_qsbr);
 3204|      0|    }
 3205|  1.21M|    return Py_XNewRef(result);
  ------------------
  |  |  551|  1.21M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|  1.21M|}
listobject.c:unsafe_latin_compare:
 2816|   235k|{
 2817|   235k|    Py_ssize_t len;
 2818|   235k|    int res;
 2819|       |
 2820|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2821|   235k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
 2822|   235k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
 2823|   235k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
 2824|   235k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
 2825|       |
 2826|   235k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  112|   235k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 53.6k, False: 181k]
  |  |  ------------------
  ------------------
 2827|   235k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   235k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   235k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|       |
 2829|   235k|    res = (res != 0 ?
  ------------------
  |  Branch (2829:12): [True: 234k, False: 296]
  ------------------
 2830|   234k|           res < 0 :
 2831|   235k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|    296|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|    296|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    296|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    296|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|       |    assert(res == PyObject_RichCompareBool(v, w, Py_LT));;
 2834|   235k|    return res;
 2835|   235k|}
listobject.c:unsafe_long_compare:
 2840|  61.7k|{
 2841|  61.7k|    PyLongObject *vl, *wl;
 2842|  61.7k|    intptr_t v0, w0;
 2843|  61.7k|    int res;
 2844|       |
 2845|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2846|  61.7k|    assert(Py_IS_TYPE(v, &PyLong_Type));
 2847|  61.7k|    assert(Py_IS_TYPE(w, &PyLong_Type));
 2848|  61.7k|    assert(_PyLong_IsCompact((PyLongObject *)v));
 2849|  61.7k|    assert(_PyLong_IsCompact((PyLongObject *)w));
 2850|       |
 2851|  61.7k|    vl = (PyLongObject*)v;
 2852|  61.7k|    wl = (PyLongObject*)w;
 2853|       |
 2854|  61.7k|    v0 = _PyLong_CompactValue(vl);
 2855|  61.7k|    w0 = _PyLong_CompactValue(wl);
 2856|       |
 2857|  61.7k|    res = v0 < w0;
 2858|       |    assert(res == PyObject_RichCompareBool(v, w, Py_LT));
 2859|  61.7k|    return res;
 2860|  61.7k|}
listobject.c:unsafe_object_compare:
 2779|  8.37k|{
 2780|  8.37k|    PyObject *res_obj; int res;
 2781|       |
 2782|       |    /* No assumptions, because we check first: */
 2783|  8.37k|    if (Py_TYPE(v)->tp_richcompare != ms->key_richcompare)
  ------------------
  |  |  213|  8.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2783:9): [True: 0, False: 8.37k]
  ------------------
 2784|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2785|       |
 2786|  8.37k|    assert(ms->key_richcompare != NULL);
 2787|  8.37k|    res_obj = (*(ms->key_richcompare))(v, w, Py_LT);
  ------------------
  |  |  652|  8.37k|#define Py_LT 0
  ------------------
 2788|       |
 2789|  8.37k|    if (res_obj == Py_NotImplemented) {
  ------------------
  |  |  640|  8.37k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (2789:9): [True: 0, False: 8.37k]
  ------------------
 2790|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2792|      0|    }
 2793|  8.37k|    if (res_obj == NULL)
  ------------------
  |  Branch (2793:9): [True: 0, False: 8.37k]
  ------------------
 2794|      0|        return -1;
 2795|       |
 2796|  8.37k|    if (PyBool_Check(res_obj)) {
  ------------------
  |  |   12|  8.37k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  8.37k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.37k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2797|  8.37k|        res = (res_obj == Py_True);
  ------------------
  |  |   26|  8.37k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|  8.37k|        assert(_Py_IsImmortal(res_obj));
 2799|  8.37k|    }
 2800|      0|    else {
 2801|      0|        res = PyObject_IsTrue(res_obj);
 2802|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2803|      0|    }
 2804|       |
 2805|       |    /* Note that we can't assert
 2806|       |     *     res == PyObject_RichCompareBool(v, w, Py_LT);
 2807|       |     * because of evil compare functions like this:
 2808|       |     *     lambda a, b:  int(random.random() * 3) - 1)
 2809|       |     * (which is actually in test_sort.py) */
 2810|  8.37k|    return res;
 2811|  8.37k|}
listobject.c:safe_object_compare:
 2768|  4.15k|{
 2769|       |    /* No assumptions necessary! */
 2770|  4.15k|    return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|  4.15k|#define Py_LT 0
  ------------------
 2771|  4.15k|}
listobject.c:unsafe_tuple_compare:
 2885|  45.4k|{
 2886|  45.4k|    PyTupleObject *vt, *wt;
 2887|  45.4k|    Py_ssize_t i, vlen, wlen;
 2888|  45.4k|    int k;
 2889|       |
 2890|       |    /* Modified from Objects/tupleobject.c:tuplerichcompare, assuming: */
 2891|  45.4k|    assert(Py_IS_TYPE(v, &PyTuple_Type));
 2892|  45.4k|    assert(Py_IS_TYPE(w, &PyTuple_Type));
 2893|  45.4k|    assert(Py_SIZE(v) > 0);
 2894|  45.4k|    assert(Py_SIZE(w) > 0);
 2895|       |
 2896|  45.4k|    vt = (PyTupleObject *)v;
 2897|  45.4k|    wt = (PyTupleObject *)w;
 2898|       |
 2899|  45.4k|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  45.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|  45.4k|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  45.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2901|       |
 2902|  45.5k|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (2902:17): [True: 45.5k, False: 4]
  |  Branch (2902:29): [True: 45.5k, False: 0]
  ------------------
 2903|  45.5k|        k = PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  45.5k|#define Py_EQ 2
  ------------------
 2904|  45.5k|        if (k < 0)
  ------------------
  |  Branch (2904:13): [True: 0, False: 45.5k]
  ------------------
 2905|      0|            return -1;
 2906|  45.5k|        if (!k)
  ------------------
  |  Branch (2906:13): [True: 45.4k, False: 22]
  ------------------
 2907|  45.4k|            break;
 2908|  45.5k|    }
 2909|       |
 2910|  45.4k|    if (i >= vlen || i >= wlen)
  ------------------
  |  Branch (2910:9): [True: 4, False: 45.4k]
  |  Branch (2910:22): [True: 0, False: 45.4k]
  ------------------
 2911|      4|        return vlen < wlen;
 2912|       |
 2913|  45.4k|    if (i == 0)
  ------------------
  |  Branch (2913:9): [True: 45.4k, False: 14]
  ------------------
 2914|  45.4k|        return ms->tuple_elem_compare(vt->ob_item[i], wt->ob_item[i], ms);
 2915|     14|    else
 2916|     14|        return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT);
  ------------------
  |  |  652|     14|#define Py_LT 0
  ------------------
 2917|  45.4k|}
listobject.c:merge_init:
 2234|  1.21M|{
 2235|  1.21M|    assert(ms != NULL);
 2236|  1.21M|    if (has_keyfunc) {
  ------------------
  |  Branch (2236:9): [True: 45, False: 1.21M]
  ------------------
 2237|       |        /* The temporary space for merging will need at most half the list
 2238|       |         * size rounded up.  Use the minimum possible space so we can use the
 2239|       |         * rest of temparray for other things.  In particular, if there is
 2240|       |         * enough extra space, listsort() will use it to store the keys.
 2241|       |         */
 2242|     45|        ms->alloced = (list_size + 1) / 2;
 2243|       |
 2244|       |        /* ms->alloced describes how many keys will be stored at
 2245|       |           ms->temparray, but we also need to store the values.  Hence,
 2246|       |           ms->alloced is capped at half of MERGESTATE_TEMP_SIZE. */
 2247|     45|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1731|     45|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2247:13): [True: 2, False: 43]
  ------------------
 2248|      2|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1731|      2|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2249|     45|        ms->a.values = &ms->temparray[ms->alloced];
 2250|     45|    }
 2251|  1.21M|    else {
 2252|  1.21M|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1731|  1.21M|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2253|  1.21M|        ms->a.values = NULL;
 2254|  1.21M|    }
 2255|  1.21M|    ms->a.keys = ms->temparray;
 2256|  1.21M|    ms->n = 0;
 2257|  1.21M|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1728|  1.21M|#define MIN_GALLOP 7
  ------------------
 2258|  1.21M|    ms->listlen = list_size;
 2259|  1.21M|    ms->basekeys = lo->keys;
 2260|       |
 2261|       |    /* State for generating minrun values. See listsort.txt. */
 2262|  1.21M|    ms->mr_e = 0;
 2263|  1.21M|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1734|  1.21M|#define MAX_MINRUN 64
  ------------------
  |  Branch (2263:12): [True: 244, False: 1.21M]
  ------------------
 2264|    244|        ++ms->mr_e;
 2265|    244|    }
 2266|  1.21M|    ms->mr_mask = (1 << ms->mr_e) - 1;
 2267|  1.21M|    ms->mr_current = 0;
 2268|  1.21M|}
listobject.c:count_run:
 1952|  45.6k|{
 1953|  45.6k|    Py_ssize_t k; /* used by IFLT macro expansion */
 1954|  45.6k|    Py_ssize_t n;
 1955|  45.6k|    PyObject ** const lo = slo->keys;
 1956|       |
 1957|       |    /* In general, as things go on we've established that the slice starts
 1958|       |       with a monotone run of n elements, starting at lo. */
 1959|       |
 1960|       |    /* We're n elements into the slice, and the most recent neq+1 elements are
 1961|       |     * all equal. This reverses them in-place, and resets neq for reuse.
 1962|       |     */
 1963|  45.6k|#define REVERSE_LAST_NEQ                        \
 1964|  45.6k|    if (neq) {                                  \
 1965|  45.6k|        sortslice slice = *slo;                 \
 1966|  45.6k|        ++neq;                                  \
 1967|  45.6k|        sortslice_advance(&slice, n - neq);     \
 1968|  45.6k|        sortslice_reverse(&slice, neq);         \
 1969|  45.6k|        neq = 0;                                \
 1970|  45.6k|    }
 1971|       |
 1972|       |    /* Sticking to only __lt__ compares is confusing and error-prone. But in
 1973|       |     * this routine, almost all uses of IFLT can be captured by tiny macros
 1974|       |     * giving mnemonic names to the intent. Note that inline functions don't
 1975|       |     * work for this (IFLT expands to code including `goto fail`).
 1976|       |     */
 1977|  45.6k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 1978|  45.6k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 1979|       |
 1980|  45.6k|    assert(nremaining);
 1981|       |    /* try ascending run first */
 1982|   106k|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (1982:17): [True: 106k, False: 234]
  ------------------
 1983|   106k|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|   106k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|   106k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|   106k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 106k]
  |  |  |  |  ------------------
  |  |  |  | 1716|   106k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 45.4k, False: 61.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|  45.4k|            break;
 1985|   106k|    }
 1986|  45.6k|    if (n == nremaining)
  ------------------
  |  Branch (1986:9): [True: 234, False: 45.4k]
  ------------------
 1987|    234|        return n;
 1988|       |    /* lo[n] is strictly less */
 1989|       |    /* If n is 1 now, then the first compare established it's a descending
 1990|       |     * run, so fall through to the descending case. But if n > 1, there are
 1991|       |     * n elements in an ascending run terminated by the strictly less lo[n].
 1992|       |     * If the first key < lo[n-1], *somewhere* along the way the sequence
 1993|       |     * increased, so we're done (there is no descending run).
 1994|       |     * Else first key >= lo[n-1], which implies that the entire ascending run
 1995|       |     * consists of equal elements. In that case, this is a descending run,
 1996|       |     * and we reverse the all-equal prefix in-place.
 1997|       |     */
 1998|  45.4k|    if (n > 1) {
  ------------------
  |  Branch (1998:9): [True: 42.0k, False: 3.39k]
  ------------------
 1999|  42.0k|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1715|  42.0k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  42.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 42.0k]
  |  |  ------------------
  |  | 1716|  42.0k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 42.0k, False: 0]
  |  |  ------------------
  ------------------
 2000|  42.0k|            return n;
 2001|      0|        sortslice_reverse(slo, n);
 2002|      0|    }
 2003|  3.39k|    ++n; /* in all cases it's been established that lo[n] has been resolved */
 2004|       |
 2005|       |    /* Finish descending run. All-squal subruns are reversed in-place on the
 2006|       |     * fly. Their original order will be restored at the end by the whole-slice
 2007|       |     * reversal.
 2008|       |     */
 2009|  3.39k|    Py_ssize_t neq = 0;
 2010|  29.1k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2010:13): [True: 26.0k, False: 3.05k]
  ------------------
 2011|  26.0k|        IF_NEXT_SMALLER {
  ------------------
  |  | 1978|  26.0k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  26.0k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  26.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 26.0k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  26.0k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 25.7k, False: 338]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|       |            /* This ends the most recent run of equal elements, but still in
 2013|       |             * the "descending" direction.
 2014|       |             */
 2015|  25.7k|            REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  25.7k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 25.7k]
  |  |  ------------------
  |  | 1965|      0|        sortslice slice = *slo;                 \
  |  | 1966|      0|        ++neq;                                  \
  |  | 1967|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 1968|      0|        sortslice_reverse(&slice, neq);         \
  |  | 1969|      0|        neq = 0;                                \
  |  | 1970|      0|    }
  ------------------
 2016|  25.7k|        }
 2017|    338|        else {
 2018|    338|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 1977|    338|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1715|    338|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|    338|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 338]
  |  |  |  |  ------------------
  |  |  |  | 1716|    338|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 338, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|    338|                break;
 2020|      0|            else /* not x < y and not y < x implies x == y */
 2021|      0|                ++neq;
 2022|    338|        }
 2023|  26.0k|    }
 2024|  3.39k|    REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  3.39k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 3.39k]
  |  |  ------------------
  |  | 1965|      0|        sortslice slice = *slo;                 \
  |  | 1966|      0|        ++neq;                                  \
  |  | 1967|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 1968|      0|        sortslice_reverse(&slice, neq);         \
  |  | 1969|      0|        neq = 0;                                \
  |  | 1970|      0|    }
  ------------------
 2025|  3.39k|    sortslice_reverse(slo, n); /* transform to ascending run */
 2026|       |
 2027|       |    /* And after reversing, it's possible this can be extended by a
 2028|       |     * naturally increasing suffix; e.g., [3, 2, 3, 4, 1] makes an
 2029|       |     * ascending run from the first 4 elements.
 2030|       |     */
 2031|  3.66k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2031:13): [True: 564, False: 3.09k]
  ------------------
 2032|    564|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|    564|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|    564|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|    564|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 564]
  |  |  |  |  ------------------
  |  |  |  | 1716|    564|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 300, False: 264]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|    300|            break;
 2034|    564|    }
 2035|       |
 2036|  3.39k|    return n;
 2037|      0|fail:
 2038|      0|    return -1;
 2039|       |
 2040|  3.39k|#undef REVERSE_LAST_NEQ
 2041|  3.39k|#undef IF_NEXT_SMALLER
 2042|  3.39k|#undef IF_NEXT_LARGER
 2043|  3.39k|}
listobject.c:sortslice_reverse:
 1936|  3.39k|{
 1937|  3.39k|    reverse_slice(s->keys, &s->keys[n]);
 1938|  3.39k|    if (s->values != NULL)
  ------------------
  |  Branch (1938:9): [True: 6, False: 3.39k]
  ------------------
 1939|      6|        reverse_slice(s->values, &s->values[n]);
 1940|  3.39k|}
listobject.c:minrun_next:
 2748|  45.6k|{
 2749|  45.6k|    ms->mr_current += ms->listlen;
 2750|       |    assert(ms->mr_current >= 0); /* no overflow */
 2751|  45.6k|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2752|  45.6k|    ms->mr_current &= ms->mr_mask;
 2753|  45.6k|    return result;
 2754|  45.6k|}
listobject.c:binarysort:
 1814|  42.3k|{
 1815|  42.3k|    Py_ssize_t k; /* for IFLT macro expansion */
 1816|  42.3k|    PyObject ** const a = ss->keys;
 1817|  42.3k|    PyObject ** const v = ss->values;
 1818|  42.3k|    const bool has_values = v != NULL;
 1819|  42.3k|    PyObject *pivot;
 1820|  42.3k|    Py_ssize_t M;
 1821|       |
 1822|  42.3k|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
 1823|       |    /* assert a[:ok] is sorted */
 1824|  42.3k|    if (! ok)
  ------------------
  |  Branch (1824:9): [True: 0, False: 42.3k]
  ------------------
 1825|      0|        ++ok;
 1826|       |    /* Regular insertion sort has average- and worst-case O(n**2) cost
 1827|       |       for both # of comparisons and number of bytes moved. But its branches
 1828|       |       are highly predictable, and it loves sorted input (n-1 compares and no
 1829|       |       data movement). This is significant in cases like sortperf.py's %sort,
 1830|       |       where an out-of-order element near the start of a run is moved into
 1831|       |       place slowly but then the remaining elements up to length minrun are
 1832|       |       generally at worst one slot away from their correct position (so only
 1833|       |       need 1 or 2 commpares to resolve). If comparisons are very fast (such
 1834|       |       as for a list of Python floats), the simple inner loop leaves it
 1835|       |       very competitive with binary insertion, despite that it does
 1836|       |       significantly more compares overall on random data.
 1837|       |
 1838|       |       Binary insertion sort has worst, average, and best case O(n log n)
 1839|       |       cost for # of comparisons, but worst and average case O(n**2) cost
 1840|       |       for data movement. The more expensive comparisons, the more important
 1841|       |       the comparison advantage. But its branches are less predictable the
 1842|       |       more "randomish" the data, and that's so significant its worst case
 1843|       |       in real life is random input rather than reverse-ordered (which does
 1844|       |       about twice the data movement than random input does).
 1845|       |
 1846|       |       Note that the number of bytes moved doesn't seem to matter. MAX_MINRUN
 1847|       |       of 64 is so small that the key and value pointers all fit in a corner
 1848|       |       of L1 cache, and moving things around in that is very fast. */
 1849|       |#if 0 // ordinary insertion sort.
 1850|       |    PyObject * vpivot = NULL;
 1851|       |    for (; ok < n; ++ok) {
 1852|       |        pivot = a[ok];
 1853|       |        if (has_values)
 1854|       |            vpivot = v[ok];
 1855|       |        for (M = ok - 1; M >= 0; --M) {
 1856|       |            k = ISLT(pivot, a[M]);
 1857|       |            if (k < 0) {
 1858|       |                a[M + 1] = pivot;
 1859|       |                if (has_values)
 1860|       |                    v[M + 1] = vpivot;
 1861|       |                goto fail;
 1862|       |            }
 1863|       |            else if (k) {
 1864|       |                a[M + 1] = a[M];
 1865|       |                if (has_values)
 1866|       |                    v[M + 1] = v[M];
 1867|       |            }
 1868|       |            else
 1869|       |                break;
 1870|       |        }
 1871|       |        a[M + 1] = pivot;
 1872|       |        if (has_values)
 1873|       |            v[M + 1] = vpivot;
 1874|       |    }
 1875|       |#else // binary insertion sort
 1876|  42.3k|    Py_ssize_t L, R;
 1877|  90.5k|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1877:12): [True: 48.2k, False: 42.3k]
  ------------------
 1878|       |        /* set L to where a[ok] belongs */
 1879|  48.2k|        L = 0;
 1880|  48.2k|        R = ok;
 1881|  48.2k|        pivot = a[ok];
 1882|       |        /* Slice invariants. vacuously true at the start:
 1883|       |         * all a[0:L]  <= pivot
 1884|       |         * all a[L:R]     unknown
 1885|       |         * all a[R:ok]  > pivot
 1886|       |         */
 1887|  48.2k|        assert(L < R);
 1888|   108k|        do {
 1889|       |            /* don't do silly ;-) things to prevent overflow when finding
 1890|       |               the midpoint; L and R are very far from filling a Py_ssize_t */
 1891|   108k|            M = (L + R) >> 1;
 1892|   108k|#if 1 // straightforward, but highly unpredictable branch on random data
 1893|   108k|            IFLT(pivot, a[M])
  ------------------
  |  | 1715|   108k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|   108k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 108k]
  |  |  ------------------
  |  | 1716|   108k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 55.5k, False: 53.4k]
  |  |  ------------------
  ------------------
 1894|  55.5k|                R = M;
 1895|  53.4k|            else
 1896|  53.4k|                L = M + 1;
 1897|       |#else
 1898|       |            /* Try to get compiler to generate conditional move instructions
 1899|       |               instead. Works fine, but leaving it disabled for now because
 1900|       |               it's not yielding consistently faster sorts. Needs more
 1901|       |               investigation. More computation in the inner loop adds its own
 1902|       |               costs, which can be significant when compares are fast. */
 1903|       |            k = ISLT(pivot, a[M]);
 1904|       |            if (k < 0)
 1905|       |                goto fail;
 1906|       |            Py_ssize_t Mp1 = M + 1;
 1907|       |            R = k ? M : R;
 1908|       |            L = k ? L : Mp1;
 1909|       |#endif
 1910|   108k|        } while (L < R);
  ------------------
  |  Branch (1910:18): [True: 60.7k, False: 48.2k]
  ------------------
 1911|  48.2k|        assert(L == R);
 1912|       |        /* a[:L] holds all elements from a[:ok] <= pivot now, so pivot belongs
 1913|       |           at index L. Slide a[L:ok] to the right a slot to make room for it.
 1914|       |           Caution: using memmove is much slower under MSVC 5; we're not
 1915|       |           usually moving many slots. Years later: under Visual Studio 2022,
 1916|       |           memmove seems just slightly slower than doing it "by hand". */
 1917|   153k|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1917:22): [True: 105k, False: 48.2k]
  ------------------
 1918|   105k|            a[M] = a[M - 1];
 1919|  48.2k|        a[L] = pivot;
 1920|  48.2k|        if (has_values) {
  ------------------
  |  Branch (1920:13): [True: 344, False: 47.8k]
  ------------------
 1921|    344|            pivot = v[ok];
 1922|  2.26k|            for (M = ok; M > L; --M)
  ------------------
  |  Branch (1922:26): [True: 1.92k, False: 344]
  ------------------
 1923|  1.92k|                v[M] = v[M - 1];
 1924|    344|            v[L] = pivot;
 1925|    344|        }
 1926|  48.2k|    }
 1927|  42.3k|#endif // pick binary or regular insertion sort
 1928|  42.3k|    return 0;
 1929|       |
 1930|      0| fail:
 1931|      0|    return -1;
 1932|  42.3k|}
listobject.c:found_new_run:
 2706|  45.6k|{
 2707|  45.6k|    assert(ms);
 2708|  45.6k|    if (ms->n) {
  ------------------
  |  Branch (2708:9): [True: 88, False: 45.5k]
  ------------------
 2709|     88|        assert(ms->n > 0);
 2710|     88|        struct s_slice *p = ms->pending;
 2711|     88|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2712|     88|        Py_ssize_t n1 = p[ms->n - 1].len;
 2713|     88|        int power = powerloop(s1, n1, n2, ms->listlen);
 2714|    114|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2714:16): [True: 52, False: 62]
  |  Branch (2714:29): [True: 26, False: 26]
  ------------------
 2715|     26|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2715:17): [True: 0, False: 26]
  ------------------
 2716|      0|                return -1;
 2717|     26|        }
 2718|     88|        assert(ms->n < 2 || p[ms->n - 2].power < power);
 2719|     88|        p[ms->n - 1].power = power;
 2720|     88|    }
 2721|  45.6k|    return 0;
 2722|  45.6k|}
listobject.c:powerloop:
 2659|     88|{
 2660|     88|    int result = 0;
 2661|     88|    assert(s1 >= 0);
 2662|     88|    assert(n1 > 0 && n2 > 0);
 2663|     88|    assert(s1 + n1 + n2 <= n);
 2664|       |    /* midpoints a and b:
 2665|       |     * a = s1 + n1/2
 2666|       |     * b = s1 + n1 + n2/2 = a + (n1 + n2)/2
 2667|       |     *
 2668|       |     * Those may not be integers, though, because of the "/2". So we work with
 2669|       |     * 2*a and 2*b instead, which are necessarily integers. It makes no
 2670|       |     * difference to the outcome, since the bits in the expansion of (2*i)/n
 2671|       |     * are merely shifted one position from those of i/n.
 2672|       |     */
 2673|     88|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2674|     88|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2675|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2676|    152|    for (;;) {
 2677|    152|        ++result;
 2678|    152|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2678:13): [True: 32, False: 120]
  ------------------
 2679|     32|            assert(b >= a);
 2680|     32|            a -= n;
 2681|     32|            b -= n;
 2682|     32|        }
 2683|    120|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2683:18): [True: 88, False: 32]
  ------------------
 2684|     88|            break;
 2685|     88|        } /* else both quotient bits are 0 */
 2686|    152|        assert(a < b && b < n);
 2687|     64|        a <<= 1;
 2688|     64|        b <<= 1;
 2689|     64|    }
 2690|     88|    return result;
 2691|     88|}
listobject.c:merge_at:
 2599|     88|{
 2600|     88|    sortslice ssa, ssb;
 2601|     88|    Py_ssize_t na, nb;
 2602|     88|    Py_ssize_t k;
 2603|       |
 2604|     88|    assert(ms != NULL);
 2605|     88|    assert(ms->n >= 2);
 2606|     88|    assert(i >= 0);
 2607|     88|    assert(i == ms->n - 2 || i == ms->n - 3);
 2608|       |
 2609|     88|    ssa = ms->pending[i].base;
 2610|     88|    na = ms->pending[i].len;
 2611|     88|    ssb = ms->pending[i+1].base;
 2612|     88|    nb = ms->pending[i+1].len;
 2613|     88|    assert(na > 0 && nb > 0);
 2614|     88|    assert(ssa.keys + na == ssb.keys);
 2615|       |
 2616|       |    /* Record the length of the combined runs; if i is the 3rd-last
 2617|       |     * run now, also slide over the last run (which isn't involved
 2618|       |     * in this merge).  The current run i+1 goes away in any case.
 2619|       |     */
 2620|     88|    ms->pending[i].len = na + nb;
 2621|     88|    if (i == ms->n - 3)
  ------------------
  |  Branch (2621:9): [True: 0, False: 88]
  ------------------
 2622|      0|        ms->pending[i+1] = ms->pending[i+2];
 2623|     88|    --ms->n;
 2624|       |
 2625|       |    /* Where does b start in a?  Elements in a before that can be
 2626|       |     * ignored (already in place).
 2627|       |     */
 2628|     88|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2629|     88|    if (k < 0)
  ------------------
  |  Branch (2629:9): [True: 0, False: 88]
  ------------------
 2630|      0|        return -1;
 2631|     88|    sortslice_advance(&ssa, k);
 2632|     88|    na -= k;
 2633|     88|    if (na == 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 88]
  ------------------
 2634|      0|        return 0;
 2635|       |
 2636|       |    /* Where does a end in b?  Elements in b after that can be
 2637|       |     * ignored (already in place).
 2638|       |     */
 2639|     88|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2640|     88|    if (nb <= 0)
  ------------------
  |  Branch (2640:9): [True: 0, False: 88]
  ------------------
 2641|      0|        return nb;
 2642|       |
 2643|       |    /* Merge what remains of the runs, using a temp array with
 2644|       |     * min(na, nb) elements.
 2645|       |     */
 2646|     88|    if (na <= nb)
  ------------------
  |  Branch (2646:9): [True: 76, False: 12]
  ------------------
 2647|     76|        return merge_lo(ms, ssa, na, ssb, nb);
 2648|     12|    else
 2649|     12|        return merge_hi(ms, ssa, na, ssb, nb);
 2650|     88|}
listobject.c:gallop_right:
 2157|    698|{
 2158|    698|    Py_ssize_t ofs;
 2159|    698|    Py_ssize_t lastofs;
 2160|    698|    Py_ssize_t k;
 2161|       |
 2162|    698|    assert(key && a && n > 0 && hint >= 0 && hint < n);
 2163|       |
 2164|    698|    a += hint;
 2165|    698|    lastofs = 0;
 2166|    698|    ofs = 1;
 2167|    698|    IFLT(key, *a) {
  ------------------
  |  | 1715|    698|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    698|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 698]
  |  |  ------------------
  |  | 1716|    698|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 478, False: 220]
  |  |  ------------------
  ------------------
 2168|       |        /* key < a[hint] -- gallop left, until
 2169|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2170|       |         */
 2171|    478|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2172|    530|        while (ofs < maxofs) {
  ------------------
  |  Branch (2172:16): [True: 62, False: 468]
  ------------------
 2173|     62|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1715|     62|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     62|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 62]
  |  |  ------------------
  |  | 1716|     62|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 52, False: 10]
  |  |  ------------------
  ------------------
 2174|     52|                lastofs = ofs;
 2175|     52|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2176|     52|                ofs = (ofs << 1) + 1;
 2177|     52|            }
 2178|     10|            else                /* a[hint - ofs] <= key */
 2179|     10|                break;
 2180|     62|        }
 2181|    478|        if (ofs > maxofs)
  ------------------
  |  Branch (2181:13): [True: 6, False: 472]
  ------------------
 2182|      6|            ofs = maxofs;
 2183|       |        /* Translate back to positive offsets relative to &a[0]. */
 2184|    478|        k = lastofs;
 2185|    478|        lastofs = hint - ofs;
 2186|    478|        ofs = hint - k;
 2187|    478|    }
 2188|    220|    else {
 2189|       |        /* a[hint] <= key -- gallop right, until
 2190|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2191|       |        */
 2192|    220|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2193|    630|        while (ofs < maxofs) {
  ------------------
  |  Branch (2193:16): [True: 610, False: 20]
  ------------------
 2194|    610|            IFLT(key, a[ofs])
  ------------------
  |  | 1715|    610|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    610|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 610]
  |  |  ------------------
  |  | 1716|    610|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 200, False: 410]
  |  |  ------------------
  ------------------
 2195|    200|                break;
 2196|       |            /* a[hint + ofs] <= key */
 2197|    410|            lastofs = ofs;
 2198|    410|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2199|    410|            ofs = (ofs << 1) + 1;
 2200|    410|        }
 2201|    220|        if (ofs > maxofs)
  ------------------
  |  Branch (2201:13): [True: 4, False: 216]
  ------------------
 2202|      4|            ofs = maxofs;
 2203|       |        /* Translate back to offsets relative to &a[0]. */
 2204|    220|        lastofs += hint;
 2205|    220|        ofs += hint;
 2206|    220|    }
 2207|    698|    a -= hint;
 2208|       |
 2209|    698|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
 2210|       |    /* Now a[lastofs] <= key < a[ofs], so key belongs somewhere to the
 2211|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2212|       |     * search, with invariant a[lastofs-1] <= key < a[ofs].
 2213|       |     */
 2214|    698|    ++lastofs;
 2215|  1.15k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2215:12): [True: 456, False: 698]
  ------------------
 2216|    456|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2217|       |
 2218|    456|        IFLT(key, a[m])
  ------------------
  |  | 1715|    456|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    456|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 456]
  |  |  ------------------
  |  | 1716|    456|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 260, False: 196]
  |  |  ------------------
  ------------------
 2219|    260|            ofs = m;                    /* key < a[m] */
 2220|    196|        else
 2221|    196|            lastofs = m+1;              /* a[m] <= key */
 2222|    456|    }
 2223|    698|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
 2224|    698|    return ofs;
 2225|       |
 2226|      0|fail:
 2227|      0|    return -1;
 2228|    698|}
listobject.c:gallop_left:
 2068|    682|{
 2069|    682|    Py_ssize_t ofs;
 2070|    682|    Py_ssize_t lastofs;
 2071|    682|    Py_ssize_t k;
 2072|       |
 2073|    682|    assert(key && a && n > 0 && hint >= 0 && hint < n);
 2074|       |
 2075|    682|    a += hint;
 2076|    682|    lastofs = 0;
 2077|    682|    ofs = 1;
 2078|    682|    IFLT(*a, key) {
  ------------------
  |  | 1715|    682|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    682|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 682]
  |  |  ------------------
  |  | 1716|    682|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 490, False: 192]
  |  |  ------------------
  ------------------
 2079|       |        /* a[hint] < key -- gallop right, until
 2080|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2081|       |         */
 2082|    490|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2083|  1.51k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2083:16): [True: 1.41k, False: 104]
  ------------------
 2084|  1.41k|            IFLT(a[ofs], key) {
  ------------------
  |  | 1715|  1.41k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  1.41k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 1.41k]
  |  |  ------------------
  |  | 1716|  1.41k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.02k, False: 386]
  |  |  ------------------
  ------------------
 2085|  1.02k|                lastofs = ofs;
 2086|  1.02k|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2087|  1.02k|                ofs = (ofs << 1) + 1;
 2088|  1.02k|            }
 2089|    386|            else                /* key <= a[hint + ofs] */
 2090|    386|                break;
 2091|  1.41k|        }
 2092|    490|        if (ofs > maxofs)
  ------------------
  |  Branch (2092:13): [True: 20, False: 470]
  ------------------
 2093|     20|            ofs = maxofs;
 2094|       |        /* Translate back to offsets relative to &a[0]. */
 2095|    490|        lastofs += hint;
 2096|    490|        ofs += hint;
 2097|    490|    }
 2098|    192|    else {
 2099|       |        /* key <= a[hint] -- gallop left, until
 2100|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2101|       |         */
 2102|    192|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2103|    264|        while (ofs < maxofs) {
  ------------------
  |  Branch (2103:16): [True: 114, False: 150]
  ------------------
 2104|    114|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1715|    114|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    114|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 114]
  |  |  ------------------
  |  | 1716|    114|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 42, False: 72]
  |  |  ------------------
  ------------------
 2105|     42|                break;
 2106|       |            /* key <= a[hint - ofs] */
 2107|     72|            lastofs = ofs;
 2108|     72|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2109|     72|            ofs = (ofs << 1) + 1;
 2110|     72|        }
 2111|    192|        if (ofs > maxofs)
  ------------------
  |  Branch (2111:13): [True: 2, False: 190]
  ------------------
 2112|      2|            ofs = maxofs;
 2113|       |        /* Translate back to positive offsets relative to &a[0]. */
 2114|    192|        k = lastofs;
 2115|    192|        lastofs = hint - ofs;
 2116|    192|        ofs = hint - k;
 2117|    192|    }
 2118|    682|    a -= hint;
 2119|       |
 2120|    682|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
 2121|       |    /* Now a[lastofs] < key <= a[ofs], so key belongs somewhere to the
 2122|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2123|       |     * search, with invariant a[lastofs-1] < key <= a[ofs].
 2124|       |     */
 2125|    682|    ++lastofs;
 2126|  1.74k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2126:12): [True: 1.05k, False: 682]
  ------------------
 2127|  1.05k|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2128|       |
 2129|  1.05k|        IFLT(a[m], key)
  ------------------
  |  | 1715|  1.05k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  1.05k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 1.05k]
  |  |  ------------------
  |  | 1716|  1.05k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 446, False: 612]
  |  |  ------------------
  ------------------
 2130|    446|            lastofs = m+1;              /* a[m] < key */
 2131|    612|        else
 2132|    612|            ofs = m;                    /* key <= a[m] */
 2133|  1.05k|    }
 2134|    682|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
 2135|    682|    return ofs;
 2136|       |
 2137|      0|fail:
 2138|      0|    return -1;
 2139|    682|}
listobject.c:merge_lo:
 2329|     76|{
 2330|     76|    Py_ssize_t k;
 2331|     76|    sortslice dest;
 2332|     76|    int result = -1;            /* guilty until proved innocent */
 2333|     76|    Py_ssize_t min_gallop;
 2334|       |
 2335|     76|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
 2336|     76|    assert(ssa.keys + na == ssb.keys);
 2337|     76|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2317|     76|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 64, False: 12]
  |  |  ------------------
  |  | 2318|     76|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2337:9): [True: 0, False: 76]
  ------------------
 2338|      0|        return -1;
 2339|     76|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2340|     76|    dest = ssa;
 2341|     76|    ssa = ms->a;
 2342|       |
 2343|     76|    sortslice_copy_incr(&dest, &ssb);
 2344|     76|    --nb;
 2345|     76|    if (nb == 0)
  ------------------
  |  Branch (2345:9): [True: 0, False: 76]
  ------------------
 2346|      0|        goto Succeed;
 2347|     76|    if (na == 1)
  ------------------
  |  Branch (2347:9): [True: 0, False: 76]
  ------------------
 2348|      0|        goto CopyB;
 2349|       |
 2350|     76|    min_gallop = ms->min_gallop;
 2351|    382|    for (;;) {
 2352|    382|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2353|    382|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2354|       |
 2355|       |        /* Do the straightforward thing until (if ever) one run
 2356|       |         * appears to win consistently.
 2357|       |         */
 2358|  18.4k|        for (;;) {
 2359|  18.4k|            assert(na > 1 && nb > 0);
 2360|  18.4k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  18.4k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2361|  18.4k|            if (k) {
  ------------------
  |  Branch (2361:17): [True: 10.4k, False: 7.98k]
  ------------------
 2362|  10.4k|                if (k < 0)
  ------------------
  |  Branch (2362:21): [True: 0, False: 10.4k]
  ------------------
 2363|      0|                    goto Fail;
 2364|  10.4k|                sortslice_copy_incr(&dest, &ssb);
 2365|  10.4k|                ++bcount;
 2366|  10.4k|                acount = 0;
 2367|  10.4k|                --nb;
 2368|  10.4k|                if (nb == 0)
  ------------------
  |  Branch (2368:21): [True: 20, False: 10.4k]
  ------------------
 2369|     20|                    goto Succeed;
 2370|  10.4k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2370:21): [True: 264, False: 10.2k]
  ------------------
 2371|    264|                    break;
 2372|  10.4k|            }
 2373|  7.98k|            else {
 2374|  7.98k|                sortslice_copy_incr(&dest, &ssa);
 2375|  7.98k|                ++acount;
 2376|  7.98k|                bcount = 0;
 2377|  7.98k|                --na;
 2378|  7.98k|                if (na == 1)
  ------------------
  |  Branch (2378:21): [True: 18, False: 7.96k]
  ------------------
 2379|     18|                    goto CopyB;
 2380|  7.96k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2380:21): [True: 80, False: 7.88k]
  ------------------
 2381|     80|                    break;
 2382|  7.96k|            }
 2383|  18.4k|        }
 2384|       |
 2385|       |        /* One run is winning so consistently that galloping may
 2386|       |         * be a huge win.  So try that, and continue galloping until
 2387|       |         * (if ever) neither run appears to be winning consistently
 2388|       |         * anymore.
 2389|       |         */
 2390|    344|        ++min_gallop;
 2391|    574|        do {
 2392|    574|            assert(na > 1 && nb > 0);
 2393|    574|            min_gallop -= min_gallop > 1;
 2394|    574|            ms->min_gallop = min_gallop;
 2395|    574|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2396|    574|            acount = k;
 2397|    574|            if (k) {
  ------------------
  |  Branch (2397:17): [True: 182, False: 392]
  ------------------
 2398|    182|                if (k < 0)
  ------------------
  |  Branch (2398:21): [True: 0, False: 182]
  ------------------
 2399|      0|                    goto Fail;
 2400|    182|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2401|    182|                sortslice_advance(&dest, k);
 2402|    182|                sortslice_advance(&ssa, k);
 2403|    182|                na -= k;
 2404|    182|                if (na == 1)
  ------------------
  |  Branch (2404:21): [True: 6, False: 176]
  ------------------
 2405|      6|                    goto CopyB;
 2406|       |                /* na==0 is impossible now if the comparison
 2407|       |                 * function is consistent, but we can't assume
 2408|       |                 * that it is.
 2409|       |                 */
 2410|    176|                if (na == 0)
  ------------------
  |  Branch (2410:21): [True: 0, False: 176]
  ------------------
 2411|      0|                    goto Succeed;
 2412|    176|            }
 2413|    568|            sortslice_copy_incr(&dest, &ssb);
 2414|    568|            --nb;
 2415|    568|            if (nb == 0)
  ------------------
  |  Branch (2415:17): [True: 4, False: 564]
  ------------------
 2416|      4|                goto Succeed;
 2417|       |
 2418|    564|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2419|    564|            bcount = k;
 2420|    564|            if (k) {
  ------------------
  |  Branch (2420:17): [True: 416, False: 148]
  ------------------
 2421|    416|                if (k < 0)
  ------------------
  |  Branch (2421:21): [True: 0, False: 416]
  ------------------
 2422|      0|                    goto Fail;
 2423|    416|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2424|    416|                sortslice_advance(&dest, k);
 2425|    416|                sortslice_advance(&ssb, k);
 2426|    416|                nb -= k;
 2427|    416|                if (nb == 0)
  ------------------
  |  Branch (2427:21): [True: 20, False: 396]
  ------------------
 2428|     20|                    goto Succeed;
 2429|    416|            }
 2430|    544|            sortslice_copy_incr(&dest, &ssa);
 2431|    544|            --na;
 2432|    544|            if (na == 1)
  ------------------
  |  Branch (2432:17): [True: 8, False: 536]
  ------------------
 2433|      8|                goto CopyB;
 2434|    544|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|  1.07k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|    470|#define MIN_GALLOP 7
  ------------------
  |  Branch (2434:18): [True: 66, False: 470]
  |  Branch (2434:42): [True: 164, False: 306]
  ------------------
 2435|    306|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2436|    306|        ms->min_gallop = min_gallop;
 2437|    306|    }
 2438|     44|Succeed:
 2439|     44|    result = 0;
 2440|     44|Fail:
 2441|     44|    if (na)
  ------------------
  |  Branch (2441:9): [True: 44, False: 0]
  ------------------
 2442|     44|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2443|     44|    return result;
 2444|     32|CopyB:
 2445|     32|    assert(na == 1 && nb > 0);
 2446|       |    /* The last element of ssa belongs at the end of the merge. */
 2447|     32|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2448|     32|    sortslice_copy(&dest, nb, &ssa, 0);
 2449|     32|    return 0;
 2450|     44|}
listobject.c:merge_getmem:
 2289|     12|{
 2290|     12|    int multiplier;
 2291|       |
 2292|     12|    assert(ms != NULL);
 2293|     12|    if (need <= ms->alloced)
  ------------------
  |  Branch (2293:9): [True: 0, False: 12]
  ------------------
 2294|      0|        return 0;
 2295|       |
 2296|     12|    multiplier = ms->a.values != NULL ? 2 : 1;
  ------------------
  |  Branch (2296:18): [True: 2, False: 10]
  ------------------
 2297|       |
 2298|       |    /* Don't realloc!  That can cost cycles to copy the old data, but
 2299|       |     * we don't care what's in the block.
 2300|       |     */
 2301|     12|    merge_freemem(ms);
 2302|     12|    if ((size_t)need > PY_SSIZE_T_MAX / sizeof(PyObject *) / multiplier) {
  ------------------
  |  |  137|     12|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2302:9): [True: 0, False: 12]
  ------------------
 2303|      0|        PyErr_NoMemory();
 2304|      0|        return -1;
 2305|      0|    }
 2306|     12|    ms->a.keys = (PyObject **)PyMem_Malloc(multiplier * need
 2307|     12|                                          * sizeof(PyObject *));
 2308|     12|    if (ms->a.keys != NULL) {
  ------------------
  |  Branch (2308:9): [True: 12, False: 0]
  ------------------
 2309|     12|        ms->alloced = need;
 2310|     12|        if (ms->a.values != NULL)
  ------------------
  |  Branch (2310:13): [True: 2, False: 10]
  ------------------
 2311|      2|            ms->a.values = &ms->a.keys[need];
 2312|     12|        return 0;
 2313|     12|    }
 2314|      0|    PyErr_NoMemory();
 2315|      0|    return -1;
 2316|     12|}
listobject.c:sortslice_memcpy:
 1681|    348|{
 1682|    348|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1683|    348|    if (s1->values != NULL)
  ------------------
  |  Branch (1683:9): [True: 4, False: 344]
  ------------------
 1684|      4|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1685|    348|}
listobject.c:sortslice_copy_incr:
 1663|  19.6k|{
 1664|  19.6k|    *dst->keys++ = *src->keys++;
 1665|  19.6k|    if (dst->values != NULL)
  ------------------
  |  Branch (1665:9): [True: 18, False: 19.6k]
  ------------------
 1666|     18|        *dst->values++ = *src->values++;
 1667|  19.6k|}
listobject.c:sortslice_memmove:
 1690|    468|{
 1691|    468|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1692|    468|    if (s1->values != NULL)
  ------------------
  |  Branch (1692:9): [True: 2, False: 466]
  ------------------
 1693|      2|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1694|    468|}
listobject.c:sortslice_copy:
 1655|     32|{
 1656|     32|    s1->keys[i] = s2->keys[j];
 1657|     32|    if (s1->values != NULL)
  ------------------
  |  Branch (1657:9): [True: 0, False: 32]
  ------------------
 1658|      0|        s1->values[i] = s2->values[j];
 1659|     32|}
listobject.c:merge_hi:
 2461|     12|{
 2462|     12|    Py_ssize_t k;
 2463|     12|    sortslice dest, basea, baseb;
 2464|     12|    int result = -1;            /* guilty until proved innocent */
 2465|     12|    Py_ssize_t min_gallop;
 2466|       |
 2467|     12|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
 2468|     12|    assert(ssa.keys + na == ssb.keys);
 2469|     12|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2317|     12|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 12, False: 0]
  |  |  ------------------
  |  | 2318|     12|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2469:9): [True: 0, False: 12]
  ------------------
 2470|      0|        return -1;
 2471|     12|    dest = ssb;
 2472|     12|    sortslice_advance(&dest, nb-1);
 2473|     12|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2474|     12|    basea = ssa;
 2475|     12|    baseb = ms->a;
 2476|     12|    ssb.keys = ms->a.keys + nb - 1;
 2477|     12|    if (ssb.values != NULL)
  ------------------
  |  Branch (2477:9): [True: 0, False: 12]
  ------------------
 2478|      0|        ssb.values = ms->a.values + nb - 1;
 2479|     12|    sortslice_advance(&ssa, na - 1);
 2480|       |
 2481|     12|    sortslice_copy_decr(&dest, &ssa);
 2482|     12|    --na;
 2483|     12|    if (na == 0)
  ------------------
  |  Branch (2483:9): [True: 0, False: 12]
  ------------------
 2484|      0|        goto Succeed;
 2485|     12|    if (nb == 1)
  ------------------
  |  Branch (2485:9): [True: 0, False: 12]
  ------------------
 2486|      0|        goto CopyA;
 2487|       |
 2488|     12|    min_gallop = ms->min_gallop;
 2489|     28|    for (;;) {
 2490|     28|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2491|     28|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2492|       |
 2493|       |        /* Do the straightforward thing until (if ever) one run
 2494|       |         * appears to win consistently.
 2495|       |         */
 2496|  1.14k|        for (;;) {
 2497|  1.14k|            assert(na > 0 && nb > 1);
 2498|  1.14k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  1.14k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2499|  1.14k|            if (k) {
  ------------------
  |  Branch (2499:17): [True: 632, False: 510]
  ------------------
 2500|    632|                if (k < 0)
  ------------------
  |  Branch (2500:21): [True: 0, False: 632]
  ------------------
 2501|      0|                    goto Fail;
 2502|    632|                sortslice_copy_decr(&dest, &ssa);
 2503|    632|                ++acount;
 2504|    632|                bcount = 0;
 2505|    632|                --na;
 2506|    632|                if (na == 0)
  ------------------
  |  Branch (2506:21): [True: 6, False: 626]
  ------------------
 2507|      6|                    goto Succeed;
 2508|    626|                if (acount >= min_gallop)
  ------------------
  |  Branch (2508:21): [True: 16, False: 610]
  ------------------
 2509|     16|                    break;
 2510|    626|            }
 2511|    510|            else {
 2512|    510|                sortslice_copy_decr(&dest, &ssb);
 2513|    510|                ++bcount;
 2514|    510|                acount = 0;
 2515|    510|                --nb;
 2516|    510|                if (nb == 1)
  ------------------
  |  Branch (2516:21): [True: 0, False: 510]
  ------------------
 2517|      0|                    goto CopyA;
 2518|    510|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2518:21): [True: 6, False: 504]
  ------------------
 2519|      6|                    break;
 2520|    510|            }
 2521|  1.14k|        }
 2522|       |
 2523|       |        /* One run is winning so consistently that galloping may
 2524|       |         * be a huge win.  So try that, and continue galloping until
 2525|       |         * (if ever) neither run appears to be winning consistently
 2526|       |         * anymore.
 2527|       |         */
 2528|     22|        ++min_gallop;
 2529|     36|        do {
 2530|     36|            assert(na > 0 && nb > 1);
 2531|     36|            min_gallop -= min_gallop > 1;
 2532|     36|            ms->min_gallop = min_gallop;
 2533|     36|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2534|     36|            if (k < 0)
  ------------------
  |  Branch (2534:17): [True: 0, False: 36]
  ------------------
 2535|      0|                goto Fail;
 2536|     36|            k = na - k;
 2537|     36|            acount = k;
 2538|     36|            if (k) {
  ------------------
  |  Branch (2538:17): [True: 20, False: 16]
  ------------------
 2539|     20|                sortslice_advance(&dest, -k);
 2540|     20|                sortslice_advance(&ssa, -k);
 2541|     20|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2542|     20|                na -= k;
 2543|     20|                if (na == 0)
  ------------------
  |  Branch (2543:21): [True: 6, False: 14]
  ------------------
 2544|      6|                    goto Succeed;
 2545|     20|            }
 2546|     30|            sortslice_copy_decr(&dest, &ssb);
 2547|     30|            --nb;
 2548|     30|            if (nb == 1)
  ------------------
  |  Branch (2548:17): [True: 0, False: 30]
  ------------------
 2549|      0|                goto CopyA;
 2550|       |
 2551|     30|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2552|     30|            if (k < 0)
  ------------------
  |  Branch (2552:17): [True: 0, False: 30]
  ------------------
 2553|      0|                goto Fail;
 2554|     30|            k = nb - k;
 2555|     30|            bcount = k;
 2556|     30|            if (k) {
  ------------------
  |  Branch (2556:17): [True: 22, False: 8]
  ------------------
 2557|     22|                sortslice_advance(&dest, -k);
 2558|     22|                sortslice_advance(&ssb, -k);
 2559|     22|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2560|     22|                nb -= k;
 2561|     22|                if (nb == 1)
  ------------------
  |  Branch (2561:21): [True: 0, False: 22]
  ------------------
 2562|      0|                    goto CopyA;
 2563|       |                /* nb==0 is impossible now if the comparison
 2564|       |                 * function is consistent, but we can't assume
 2565|       |                 * that it is.
 2566|       |                 */
 2567|     22|                if (nb == 0)
  ------------------
  |  Branch (2567:21): [True: 0, False: 22]
  ------------------
 2568|      0|                    goto Succeed;
 2569|     22|            }
 2570|     30|            sortslice_copy_decr(&dest, &ssa);
 2571|     30|            --na;
 2572|     30|            if (na == 0)
  ------------------
  |  Branch (2572:17): [True: 0, False: 30]
  ------------------
 2573|      0|                goto Succeed;
 2574|     30|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     60|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     22|#define MIN_GALLOP 7
  ------------------
  |  Branch (2574:18): [True: 8, False: 22]
  |  Branch (2574:42): [True: 6, False: 16]
  ------------------
 2575|     16|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2576|     16|        ms->min_gallop = min_gallop;
 2577|     16|    }
 2578|     12|Succeed:
 2579|     12|    result = 0;
 2580|     12|Fail:
 2581|     12|    if (nb)
  ------------------
  |  Branch (2581:9): [True: 12, False: 0]
  ------------------
 2582|     12|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2583|     12|    return result;
 2584|      0|CopyA:
 2585|      0|    assert(nb == 1 && na > 0);
 2586|       |    /* The first element of ssb belongs at the front of the merge. */
 2587|      0|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2588|      0|    sortslice_advance(&dest, -na);
 2589|      0|    sortslice_advance(&ssa, -na);
 2590|      0|    sortslice_copy(&dest, 0, &ssb, 0);
 2591|      0|    return 0;
 2592|     12|}
listobject.c:sortslice_copy_decr:
 1671|  1.21k|{
 1672|  1.21k|    *dst->keys-- = *src->keys--;
 1673|  1.21k|    if (dst->values != NULL)
  ------------------
  |  Branch (1673:9): [True: 0, False: 1.21k]
  ------------------
 1674|      0|        *dst->values-- = *src->values--;
 1675|  1.21k|}
listobject.c:sortslice_advance:
 1698|  47.0k|{
 1699|  47.0k|    slice->keys += n;
 1700|  47.0k|    if (slice->values != NULL)
  ------------------
  |  Branch (1700:9): [True: 48, False: 47.0k]
  ------------------
 1701|     48|        slice->values += n;
 1702|  47.0k|}
listobject.c:merge_force_collapse:
 2731|  45.5k|{
 2732|  45.5k|    struct s_slice *p = ms->pending;
 2733|       |
 2734|  45.5k|    assert(ms);
 2735|  45.6k|    while (ms->n > 1) {
  ------------------
  |  Branch (2735:12): [True: 62, False: 45.5k]
  ------------------
 2736|     62|        Py_ssize_t n = ms->n - 2;
 2737|     62|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2737:13): [True: 14, False: 48]
  |  Branch (2737:22): [True: 0, False: 14]
  ------------------
 2738|      0|            --n;
 2739|     62|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2739:13): [True: 0, False: 62]
  ------------------
 2740|      0|            return -1;
 2741|     62|    }
 2742|  45.5k|    return 0;
 2743|  45.5k|}
listobject.c:merge_freemem:
 2276|  1.21M|{
 2277|  1.21M|    assert(ms != NULL);
 2278|  1.21M|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2278:9): [True: 12, False: 1.21M]
  ------------------
 2279|     12|        PyMem_Free(ms->a.keys);
 2280|       |        ms->a.keys = NULL;
 2281|     12|    }
 2282|  1.21M|}
listobject.c:reverse_slice:
 1622|  3.53k|{
 1623|  3.53k|    assert(lo && hi);
 1624|       |
 1625|  3.53k|    --hi;
 1626|  44.8k|    while (lo < hi) {
  ------------------
  |  Branch (1626:12): [True: 41.3k, False: 3.53k]
  ------------------
 1627|  41.3k|        PyObject *t = *lo;
 1628|  41.3k|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  164|  41.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1629|  41.3k|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  164|  41.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1630|  41.3k|        ++lo;
 1631|  41.3k|        --hi;
 1632|  41.3k|    }
 1633|  3.53k|}
listobject.c:list_slice_subscript:
 3672|    620|{
 3673|    620|    assert(PyList_Check(self));
 3674|    620|    assert(PySlice_Check(item));
 3675|    620|    Py_ssize_t start, stop, step;
 3676|    620|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3676:9): [True: 0, False: 620]
  ------------------
 3677|      0|        return NULL;
 3678|      0|    }
 3679|    620|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3680|    620|}
listobject.c:list_slice_wrap:
 3653|    620|{
 3654|    620|    PyObject *res = NULL;
 3655|    620|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|    620|    {
  ------------------
 3656|    620|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|    620|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    620|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    620|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|    620|    if (len <= 0) {
  ------------------
  |  Branch (3657:9): [True: 4, False: 616]
  ------------------
 3658|      4|        res = PyList_New(0);
 3659|      4|    }
 3660|    616|    else if (step == 1) {
  ------------------
  |  Branch (3660:14): [True: 371, False: 245]
  ------------------
 3661|    371|        res = list_slice_lock_held(aa, start, stop);
 3662|    371|    }
 3663|    245|    else {
 3664|    245|        res = list_slice_step_lock_held(aa, start, step, len);
 3665|    245|    }
 3666|    620|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    620|    }
  ------------------
 3667|    620|    return res;
 3668|    620|}
listobject.c:list_slice_step_lock_held:
 3633|    245|{
 3634|    245|    PyListObject *np = (PyListObject *)list_new_prealloc(len);
 3635|    245|    if (np == NULL) {
  ------------------
  |  Branch (3635:9): [True: 0, False: 245]
  ------------------
 3636|      0|        return NULL;
 3637|      0|    }
 3638|    245|    size_t cur;
 3639|    245|    Py_ssize_t i;
 3640|    245|    PyObject **src = a->ob_item;
 3641|    245|    PyObject **dest = np->ob_item;
 3642|  2.29k|    for (cur = start, i = 0; i < len;
  ------------------
  |  Branch (3642:30): [True: 2.05k, False: 245]
  ------------------
 3643|  2.05k|            cur += (size_t)step, i++) {
 3644|  2.05k|        PyObject *v = src[cur];
 3645|  2.05k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  2.05k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|  2.05k|    }
 3647|    245|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|    245|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    245|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|    245|    return (PyObject *)np;
 3649|    245|}
listobject.c:list_dealloc:
  556|  4.71M|{
  557|  4.71M|    PyListObject *op = (PyListObject *)self;
  558|  4.71M|    Py_ssize_t i;
  559|  4.71M|    PyObject_GC_UnTrack(op);
  560|  4.71M|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (560:9): [True: 4.46M, False: 254k]
  ------------------
  561|       |        /* Do it backwards, for Christian Tismer.
  562|       |           There's a simple test case where somehow this reduces
  563|       |           thrashing when a *very* large list is created and
  564|       |           immediately deleted. */
  565|  4.46M|        i = Py_SIZE(op);
  ------------------
  |  |  214|  4.46M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  15.1M|        while (--i >= 0) {
  ------------------
  |  Branch (566:16): [True: 10.7M, False: 4.46M]
  ------------------
  567|  10.7M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  10.7M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  10.7M|        }
  569|  4.46M|        free_list_items(op->ob_item, false);
  570|  4.46M|        op->ob_item = NULL;
  571|  4.46M|    }
  572|  4.71M|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|  4.71M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  4.71M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.71M, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|  4.71M|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|  4.71M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  4.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  4.71M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|  4.71M|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  574|  4.71M|    }
  575|  1.57k|    else {
  576|  1.57k|        PyObject_GC_Del(op);
  577|  1.57k|    }
  578|  4.71M|}
listobject.c:list_length:
  651|   376k|{
  652|   376k|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|   376k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   376k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   376k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|   376k|}
listobject.c:list_repeat:
  863|    120|{
  864|    120|    PyObject *ret;
  865|    120|    PyListObject *a = (PyListObject *)aa;
  866|    120|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|    120|    {
  ------------------
  867|    120|    ret = list_repeat_lock_held(a, n);
  868|    120|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    120|    }
  ------------------
  869|    120|    return ret;
  870|    120|}
listobject.c:list_repeat_lock_held:
  821|    120|{
  822|    120|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  214|    120|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|    120|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (823:9): [True: 0, False: 120]
  |  Branch (823:28): [True: 0, False: 120]
  ------------------
  824|      0|        return PyList_New(0);
  825|    120|    assert(n > 0);
  826|       |
  827|    120|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|    120|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (827:9): [True: 0, False: 120]
  ------------------
  828|      0|        return PyErr_NoMemory();
  829|    120|    Py_ssize_t output_size = input_size * n;
  830|       |
  831|    120|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  832|    120|    if (np == NULL)
  ------------------
  |  Branch (832:9): [True: 0, False: 120]
  ------------------
  833|      0|        return NULL;
  834|       |
  835|    120|    PyObject **dest = np->ob_item;
  836|    120|    if (input_size == 1) {
  ------------------
  |  Branch (836:9): [True: 120, False: 0]
  ------------------
  837|    120|        PyObject *elem = a->ob_item[0];
  838|    120|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  179|    120|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|    120|        PyObject **dest_end = dest + output_size;
  840|    442|        while (dest < dest_end) {
  ------------------
  |  Branch (840:16): [True: 322, False: 120]
  ------------------
  841|    322|            *dest++ = elem;
  842|    322|        }
  843|    120|    }
  844|      0|    else {
  845|      0|        PyObject **src = a->ob_item;
  846|      0|        PyObject **src_end = src + input_size;
  847|      0|        while (src < src_end) {
  ------------------
  |  Branch (847:16): [True: 0, False: 0]
  ------------------
  848|      0|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  179|      0|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|      0|            *dest++ = *src++;
  850|      0|        }
  851|       |        // This list is not yet visible to other threads, so atomic repeat
  852|       |        // is not necessary even in Py_GIL_DISABLED builds.
  853|      0|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  854|      0|                                        sizeof(PyObject *)*input_size);
  855|      0|    }
  856|       |
  857|    120|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  216|    120|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    120|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|    120|    return (PyObject *) np;
  859|    120|}
listobject.c:list_item:
  676|   299k|{
  677|   299k|    PyListObject *a = (PyListObject *)aa;
  678|   299k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|   299k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (678:9): [True: 742, False: 299k]
  ------------------
  679|    742|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  921|    742|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    742|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    742|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|    742|        return NULL;
  681|    742|    }
  682|   299k|    PyObject *item;
  683|       |#ifdef Py_GIL_DISABLED
  684|       |    item = list_get_item_ref(a, i);
  685|       |    if (item == NULL) {
  686|       |        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  687|       |        return NULL;
  688|       |    }
  689|       |#else
  690|   299k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|   299k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  691|   299k|#endif
  692|   299k|    return item;
  693|   299k|}
listobject.c:list_ass_item:
 1162|    514|{
 1163|    514|    int ret;
 1164|    514|    PyListObject *a = (PyListObject *)aa;
 1165|    514|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|    514|    {
  ------------------
 1166|    514|    ret = list_ass_item_lock_held(a, i, v);
 1167|    514|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    514|    }
  ------------------
 1168|    514|    return ret;
 1169|    514|}
listobject.c:list_ass_item_lock_held:
 1139|  9.19k|{
 1140|  9.19k|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  214|  9.19k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:9): [True: 0, False: 9.19k]
  ------------------
 1141|      0|        PyErr_SetString(PyExc_IndexError,
 1142|      0|                        "list assignment index out of range");
 1143|      0|        return -1;
 1144|      0|    }
 1145|  9.19k|    PyObject *tmp = a->ob_item[i];
 1146|  9.19k|    if (v == NULL) {
  ------------------
  |  Branch (1146:9): [True: 514, False: 8.67k]
  ------------------
 1147|    514|        Py_ssize_t size = Py_SIZE(a);
  ------------------
  |  |  214|    514|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|    514|        for (Py_ssize_t idx = i; idx < size - 1; idx++) {
  ------------------
  |  Branch (1148:34): [True: 0, False: 514]
  ------------------
 1149|      0|            FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[idx], a->ob_item[idx + 1]);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1150|      0|        }
 1151|    514|        Py_SET_SIZE(a, size - 1);
  ------------------
  |  |  216|    514|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    514|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|    514|    }
 1153|  8.67k|    else {
 1154|  8.67k|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  164|  8.67k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1155|  8.67k|    }
 1156|  9.19k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  9.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|  9.19k|    return 0;
 1158|  9.19k|}
listobject.c:list_contains:
  657|  1.44k|{
  658|       |
  659|  12.4k|    for (Py_ssize_t i = 0; ; i++) {
  660|  12.4k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  661|  12.4k|        if (item == NULL) {
  ------------------
  |  Branch (661:13): [True: 1.21k, False: 11.2k]
  ------------------
  662|       |            // out-of-bounds
  663|  1.21k|            return 0;
  664|  1.21k|        }
  665|  11.2k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  11.2k|#define Py_EQ 2
  ------------------
  666|  11.2k|        Py_DECREF(item);
  ------------------
  |  |  430|  11.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  11.2k|        if (cmp != 0) {
  ------------------
  |  Branch (667:13): [True: 236, False: 10.9k]
  ------------------
  668|    236|            return cmp;
  669|    236|        }
  670|  11.2k|    }
  671|      0|    return 0;
  672|  1.44k|}
listobject.c:list_inplace_concat:
 1565|    332|{
 1566|    332|    PyListObject *self = (PyListObject *)_self;
 1567|    332|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 332]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|    332|    return Py_NewRef(self);
  ------------------
  |  |  550|    332|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    332|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    332|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|    332|}
listobject.c:list_subscript:
 3690|   291k|{
 3691|   291k|    PyListObject* self = (PyListObject*)_self;
 3692|   291k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3692:9): [True: 291k, False: 30]
  ------------------
 3693|   291k|        Py_ssize_t i;
 3694|   291k|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3695|   291k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3695:13): [True: 290k, False: 804]
  |  Branch (3695:24): [True: 0, False: 290k]
  ------------------
 3696|      0|            return NULL;
 3697|   291k|        if (i < 0)
  ------------------
  |  Branch (3697:13): [True: 290k, False: 800]
  ------------------
 3698|   290k|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|   290k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3699|   291k|        return list_item((PyObject *)self, i);
 3700|   291k|    }
 3701|     30|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     30|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     30|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|     30|        return list_slice_subscript(_self, item);
 3703|     30|    }
 3704|      0|    else {
 3705|      0|        PyErr_Format(PyExc_TypeError,
 3706|      0|                     "list indices must be integers or slices, not %.200s",
 3707|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|       |        return NULL;
 3709|      0|    }
 3710|   291k|}
listobject.c:list_ass_subscript:
 3897|  8.75k|{
 3898|  8.75k|    int res;
 3899|       |#ifdef Py_GIL_DISABLED
 3900|       |    if (PySlice_Check(item) && value != NULL && PyList_CheckExact(value)) {
 3901|       |        Py_BEGIN_CRITICAL_SECTION2(self, value);
 3902|       |        res = list_ass_subscript_lock_held(self, item, value);
 3903|       |        Py_END_CRITICAL_SECTION2();
 3904|       |        return res;
 3905|       |    }
 3906|       |#endif
 3907|  8.75k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.75k|    {
  ------------------
 3908|  8.75k|    res = list_ass_subscript_lock_held(self, item, value);
 3909|  8.75k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.75k|    }
  ------------------
 3910|  8.75k|    return res;
 3911|  8.75k|}
listobject.c:list_ass_subscript_lock_held:
 3731|  8.75k|{
 3732|  8.75k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3733|       |
 3734|  8.75k|    PyListObject *self = (PyListObject *)_self;
 3735|  8.75k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3735:9): [True: 8.67k, False: 74]
  ------------------
 3736|  8.67k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3737|  8.67k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3737:13): [True: 8.62k, False: 48]
  |  Branch (3737:24): [True: 0, False: 8.62k]
  ------------------
 3738|      0|            return -1;
 3739|  8.67k|        if (i < 0)
  ------------------
  |  Branch (3739:13): [True: 8.62k, False: 48]
  ------------------
 3740|  8.62k|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|  8.62k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|  8.67k|        return list_ass_item_lock_held(self, i, value);
 3742|  8.67k|    }
 3743|     74|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     74|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     74|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 74, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|     74|        Py_ssize_t start, stop, step;
 3745|       |
 3746|     74|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3746:13): [True: 0, False: 74]
  ------------------
 3747|      0|            return -1;
 3748|      0|        }
 3749|       |
 3750|     74|        if (value == NULL) {
  ------------------
  |  Branch (3750:13): [True: 54, False: 20]
  ------------------
 3751|       |            /* delete slice */
 3752|     54|            PyObject **garbage;
 3753|     54|            size_t cur;
 3754|     54|            Py_ssize_t i;
 3755|     54|            int res;
 3756|       |
 3757|     54|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3758|     54|                                                          step);
 3759|       |
 3760|     54|            if (step == 1)
  ------------------
  |  Branch (3760:17): [True: 54, False: 0]
  ------------------
 3761|     54|                return list_ass_slice_lock_held(self, start, stop, value);
 3762|       |
 3763|      0|            if (slicelength <= 0)
  ------------------
  |  Branch (3763:17): [True: 0, False: 0]
  ------------------
 3764|      0|                return 0;
 3765|       |
 3766|      0|            if (step < 0) {
  ------------------
  |  Branch (3766:17): [True: 0, False: 0]
  ------------------
 3767|      0|                stop = start + 1;
 3768|      0|                start = stop + step*(slicelength - 1) - 1;
 3769|      0|                step = -step;
 3770|      0|            }
 3771|       |
 3772|      0|            garbage = (PyObject**)
 3773|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3774|      0|            if (!garbage) {
  ------------------
  |  Branch (3774:17): [True: 0, False: 0]
  ------------------
 3775|      0|                PyErr_NoMemory();
 3776|      0|                return -1;
 3777|      0|            }
 3778|       |
 3779|       |            /* drawing pictures might help understand these for
 3780|       |               loops. Basically, we memmove the parts of the
 3781|       |               list that are *not* part of the slice: step-1
 3782|       |               items for each item that is part of the slice,
 3783|       |               and then tail end of the list that was not
 3784|       |               covered by the slice */
 3785|      0|            for (cur = start, i = 0;
 3786|      0|                 cur < (size_t)stop;
  ------------------
  |  Branch (3786:18): [True: 0, False: 0]
  ------------------
 3787|      0|                 cur += step, i++) {
 3788|      0|                Py_ssize_t lim = step - 1;
 3789|       |
 3790|      0|                garbage[i] = PyList_GET_ITEM(self, cur);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3791|       |
 3792|      0|                if (cur + step >= (size_t)Py_SIZE(self)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3792:21): [True: 0, False: 0]
  ------------------
 3793|      0|                    lim = Py_SIZE(self) - cur - 1;
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3794|      0|                }
 3795|       |
 3796|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - i,
 3797|      0|                    self->ob_item + cur + 1, lim);
 3798|      0|            }
 3799|      0|            cur = start + (size_t)slicelength * step;
 3800|      0|            if (cur < (size_t)Py_SIZE(self)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3800:17): [True: 0, False: 0]
  ------------------
 3801|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - slicelength,
 3802|      0|                    self->ob_item + cur, Py_SIZE(self) - cur);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3803|      0|            }
 3804|       |
 3805|      0|            Py_SET_SIZE(self, Py_SIZE(self) - slicelength);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3806|      0|            res = list_resize(self, Py_SIZE(self));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3807|       |
 3808|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3808:25): [True: 0, False: 0]
  ------------------
 3809|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|      0|            }
 3811|      0|            PyMem_Free(garbage);
 3812|       |
 3813|      0|            return res;
 3814|      0|        }
 3815|     20|        else {
 3816|       |            /* assign slice */
 3817|     20|            PyObject *ins, *seq;
 3818|     20|            PyObject **garbage, **seqitems, **selfitems;
 3819|     20|            Py_ssize_t i;
 3820|     20|            size_t cur;
 3821|       |
 3822|       |            /* protect against a[::-1] = a */
 3823|     20|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3823:17): [True: 0, False: 20]
  ------------------
 3824|      0|                seq = list_slice_lock_held((PyListObject *)value, 0,
 3825|      0|                                            Py_SIZE(value));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3826|      0|            }
 3827|     20|            else {
 3828|     20|                seq = PySequence_Fast(value,
 3829|     20|                                      "must assign iterable "
 3830|     20|                                      "to extended slice");
 3831|     20|            }
 3832|     20|            if (!seq)
  ------------------
  |  Branch (3832:17): [True: 0, False: 20]
  ------------------
 3833|      0|                return -1;
 3834|       |
 3835|     20|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3836|     20|                                                          step);
 3837|       |
 3838|     20|            if (step == 1) {
  ------------------
  |  Branch (3838:17): [True: 20, False: 0]
  ------------------
 3839|     20|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3840|     20|                Py_DECREF(seq);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3841|     20|                return res;
 3842|     20|            }
 3843|       |
 3844|      0|            if (PySequence_Fast_GET_SIZE(seq) != slicelength) {
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3844:17): [True: 0, False: 0]
  ------------------
 3845|      0|                PyErr_Format(PyExc_ValueError,
 3846|      0|                    "attempt to assign sequence of "
 3847|      0|                    "size %zd to extended slice of "
 3848|      0|                    "size %zd",
 3849|      0|                         PySequence_Fast_GET_SIZE(seq),
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3850|      0|                         slicelength);
 3851|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|      0|                return -1;
 3853|      0|            }
 3854|       |
 3855|      0|            if (!slicelength) {
  ------------------
  |  Branch (3855:17): [True: 0, False: 0]
  ------------------
 3856|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|      0|                return 0;
 3858|      0|            }
 3859|       |
 3860|      0|            garbage = (PyObject**)
 3861|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3862|      0|            if (!garbage) {
  ------------------
  |  Branch (3862:17): [True: 0, False: 0]
  ------------------
 3863|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3864|      0|                PyErr_NoMemory();
 3865|      0|                return -1;
 3866|      0|            }
 3867|       |
 3868|      0|            selfitems = self->ob_item;
 3869|      0|            seqitems = PySequence_Fast_ITEMS(seq);
  ------------------
  |  |  102|      0|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|      0|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 3870|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (3870:38): [True: 0, False: 0]
  ------------------
 3871|      0|                 cur += (size_t)step, i++) {
 3872|      0|                garbage[i] = selfitems[cur];
 3873|      0|                ins = Py_NewRef(seqitems[i]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3874|      0|                FT_ATOMIC_STORE_PTR_RELEASE(selfitems[cur], ins);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3875|      0|            }
 3876|       |
 3877|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3877:25): [True: 0, False: 0]
  ------------------
 3878|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3879|      0|            }
 3880|       |
 3881|      0|            PyMem_Free(garbage);
 3882|      0|            Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3883|       |
 3884|      0|            return 0;
 3885|      0|        }
 3886|     74|    }
 3887|      0|    else {
 3888|      0|        PyErr_Format(PyExc_TypeError,
 3889|      0|                     "list indices must be integers or slices, not %.200s",
 3890|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3891|      0|        return -1;
 3892|      0|    }
 3893|  8.75k|}
listobject.c:adjust_slice_indexes:
 3716|     74|{
 3717|     74|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  214|     74|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|     74|                                                   step);
 3719|       |
 3720|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3721|       |        before 5, not before 2. */
 3722|     74|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3722:10): [True: 0, False: 74]
  |  Branch (3722:22): [True: 0, False: 0]
  ------------------
 3723|     74|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3723:10): [True: 74, False: 0]
  |  Branch (3723:22): [True: 0, False: 74]
  ------------------
 3724|      0|        *stop = *start;
 3725|       |
 3726|     74|    return slicelength;
 3727|     74|}
listobject.c:list_traverse:
 3428|  74.6k|{
 3429|  74.6k|    PyListObject *o = (PyListObject *)self;
 3430|  74.6k|    Py_ssize_t i;
 3431|       |
 3432|   527k|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|  74.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  74.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3432:26): [True: 452k, False: 74.6k]
  ------------------
 3433|   452k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|   452k|    do {                                                                \
  |  |  195|   452k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 452k, False: 0]
  |  |  ------------------
  |  |  196|   452k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   452k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   452k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   452k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 452k]
  |  |  ------------------
  |  |  198|   452k|                return vret;                                            \
  |  |  199|   452k|        }                                                               \
  |  |  200|   452k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 452k]
  |  |  ------------------
  ------------------
 3434|  74.6k|    return 0;
 3435|  74.6k|}
listobject.c:list_richcompare:
 3502|  2.68k|{
 3503|  2.68k|    PyObject *ret;
 3504|  2.68k|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|  2.68k|    {
  ------------------
 3505|  2.68k|    ret = list_richcompare_impl(v, w, op);
 3506|  2.68k|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|  2.68k|    }
  ------------------
 3507|  2.68k|    return ret;
 3508|  2.68k|}
listobject.c:list_richcompare_impl:
 3439|  2.68k|{
 3440|  2.68k|    PyListObject *vl, *wl;
 3441|  2.68k|    Py_ssize_t i;
 3442|       |
 3443|  2.68k|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|  2.68k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|  2.68k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3443:9): [True: 0, False: 2.68k]
  |  Branch (3443:29): [True: 486, False: 2.19k]
  ------------------
 3444|    486|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    486|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    486|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3445|       |
 3446|  2.19k|    vl = (PyListObject *)v;
 3447|  2.19k|    wl = (PyListObject *)w;
 3448|       |
 3449|  2.19k|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|  2.19k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|  4.39k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|  2.18k|#define Py_EQ 2
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (3449:9): [True: 1.09k, False: 1.10k]
  |  Branch (3449:40): [True: 1.09k, False: 0]
  |  Branch (3449:55): [True: 0, False: 0]
  ------------------
 3450|       |        /* Shortcut: if the lengths differ, the lists differ */
 3451|  1.09k|        if (op == Py_EQ)
  ------------------
  |  |  654|  1.09k|#define Py_EQ 2
  ------------------
  |  Branch (3451:13): [True: 1.09k, False: 0]
  ------------------
 3452|  1.09k|            Py_RETURN_FALSE;
  ------------------
  |  |   45|  1.09k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  1.09k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      0|        else
 3454|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3455|  1.09k|    }
 3456|       |
 3457|       |    /* Search for the first index where items are different */
 3458|  18.3k|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|  36.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|  17.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3458:17): [True: 17.4k, False: 898]
  |  Branch (3458:36): [True: 17.4k, False: 0]
  ------------------
 3459|  17.4k|        PyObject *vitem = vl->ob_item[i];
 3460|  17.4k|        PyObject *witem = wl->ob_item[i];
 3461|  17.4k|        if (vitem == witem) {
  ------------------
  |  Branch (3461:13): [True: 17.2k, False: 214]
  ------------------
 3462|  17.2k|            continue;
 3463|  17.2k|        }
 3464|       |
 3465|    214|        Py_INCREF(vitem);
  ------------------
  |  |  310|    214|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|    214|        Py_INCREF(witem);
  ------------------
  |  |  310|    214|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|    214|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|    214|#define Py_EQ 2
  ------------------
 3468|    214|        Py_DECREF(vitem);
  ------------------
  |  |  430|    214|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3469|    214|        Py_DECREF(witem);
  ------------------
  |  |  430|    214|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|    214|        if (k < 0)
  ------------------
  |  Branch (3470:13): [True: 0, False: 214]
  ------------------
 3471|      0|            return NULL;
 3472|    214|        if (!k)
  ------------------
  |  Branch (3472:13): [True: 208, False: 6]
  ------------------
 3473|    208|            break;
 3474|    214|    }
 3475|       |
 3476|  1.10k|    if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|  2.21k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|    208|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    208|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    208|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3476:9): [True: 898, False: 208]
  |  Branch (3476:29): [True: 0, False: 208]
  ------------------
 3477|       |        /* No more items to compare -- compare sizes */
 3478|    898|        Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|    898|    do {                                                                    \
  |  |  675|    898|        switch (op) {                                                       \
  |  |  676|    880|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    880|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|    880|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    880|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 880, False: 18]
  |  |  |  Branch (676:25): [True: 880, False: 0]
  |  |  ------------------
  |  |  677|    880|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|     18|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|     18|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     18|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 18, False: 880]
  |  |  |  Branch (677:25): [True: 0, False: 18]
  |  |  ------------------
  |  |  678|     18|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 898]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 898]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 898]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 898]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 898]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    898|        }                                                                   \
  |  |  685|    898|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3479|    898|    }
 3480|       |
 3481|       |    /* We have an item that differs -- shortcuts for EQ/NE */
 3482|    208|    if (op == Py_EQ) {
  ------------------
  |  |  654|    208|#define Py_EQ 2
  ------------------
  |  Branch (3482:9): [True: 206, False: 2]
  ------------------
 3483|    206|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    206|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    206|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|    206|    }
 3485|      2|    if (op == Py_NE) {
  ------------------
  |  |  655|      2|#define Py_NE 3
  ------------------
  |  Branch (3485:9): [True: 2, False: 0]
  ------------------
 3486|      2|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      2|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|      2|    }
 3488|       |
 3489|       |    /* Compare the final item again using the proper operator */
 3490|      0|    PyObject *vitem = vl->ob_item[i];
 3491|      0|    PyObject *witem = wl->ob_item[i];
 3492|      0|    Py_INCREF(vitem);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      0|    Py_INCREF(witem);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3494|      0|    PyObject *result = PyObject_RichCompare(vl->ob_item[i], wl->ob_item[i], op);
 3495|      0|    Py_DECREF(vitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|      0|    Py_DECREF(witem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|      0|    return result;
 3498|      2|}
listobject.c:list___reversed___impl:
 4190|    384|{
 4191|    384|    listreviterobject *it;
 4192|       |
 4193|    384|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|    384|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4194|    384|    if (it == NULL)
  ------------------
  |  Branch (4194:9): [True: 0, False: 384]
  ------------------
 4195|      0|        return NULL;
 4196|    384|    assert(PyList_Check(self));
 4197|    384|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|    384|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|    384|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  550|    384|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4199|    384|    PyObject_GC_Track(it);
 4200|    384|    return (PyObject *)it;
 4201|    384|}
listobject.c:py_list_clear_impl:
 1202|    340|{
 1203|    340|    list_clear(self);
 1204|    340|    Py_RETURN_NONE;
  ------------------
  |  |  628|    340|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    340|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1205|    340|}
listobject.c:list_append_impl:
 1234|  9.21k|{
 1235|  9.21k|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  550|  9.21k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1235:9): [True: 0, False: 9.21k]
  ------------------
 1236|      0|        return NULL;
 1237|      0|    }
 1238|  9.21k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  9.21k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  9.21k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1239|  9.21k|}
listobject.c:list_insert_impl:
 1185|     28|{
 1186|     28|    if (ins1(self, index, object) == 0) {
  ------------------
  |  Branch (1186:9): [True: 28, False: 0]
  ------------------
 1187|     28|        Py_RETURN_NONE;
  ------------------
  |  |  628|     28|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1188|     28|    }
 1189|      0|    return NULL;
 1190|     28|}
listobject.c:list_pop_impl:
 1588|   264k|{
 1589|   264k|    PyObject *v;
 1590|       |
 1591|   264k|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  214|   264k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   264k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   264k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1591:9): [True: 0, False: 264k]
  ------------------
 1592|       |        /* Special-case most common failure cause */
 1593|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|   264k|    if (index < 0)
  ------------------
  |  Branch (1596:9): [True: 264k, False: 0]
  ------------------
 1597|   264k|        index += Py_SIZE(self);
  ------------------
  |  |  214|   264k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   264k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   264k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|   264k|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  214|   264k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   264k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   264k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1598:9): [True: 0, False: 264k]
  ------------------
 1599|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1600|      0|        return NULL;
 1601|      0|    }
 1602|       |
 1603|   264k|    PyObject **items = self->ob_item;
 1604|   264k|    v = items[index];
 1605|   264k|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  214|   264k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   264k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   264k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 8.96k, False: 255k]
  ------------------
 1606|  8.96k|        Py_INCREF(v);
  ------------------
  |  |  310|  8.96k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1607|  8.96k|        list_clear(self);
 1608|  8.96k|        return v;
 1609|  8.96k|    }
 1610|   255k|    Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
  ------------------
  |  |  214|   255k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1611|   255k|    if (index < size_after_pop) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 255k]
  ------------------
 1612|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1613|      0|                                size_after_pop - index);
 1614|      0|    }
 1615|   255k|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1616|   255k|    return v;
 1617|   264k|}
listobject.c:list_remove_impl:
 3406|  1.58k|{
 3407|  1.58k|    Py_ssize_t i;
 3408|       |
 3409|  1.58k|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|  1.58k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3409:17): [True: 1.58k, False: 0]
  ------------------
 3410|  1.58k|        PyObject *obj = self->ob_item[i];
 3411|  1.58k|        Py_INCREF(obj);
  ------------------
  |  |  310|  1.58k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|  1.58k|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|  1.58k|#define Py_EQ 2
  ------------------
 3413|  1.58k|        Py_DECREF(obj);
  ------------------
  |  |  430|  1.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3414|  1.58k|        if (cmp > 0) {
  ------------------
  |  Branch (3414:13): [True: 1.58k, False: 6]
  ------------------
 3415|  1.58k|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3415:17): [True: 1.58k, False: 0]
  ------------------
 3416|  1.58k|                Py_RETURN_NONE;
  ------------------
  |  |  628|  1.58k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.58k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3417|      0|            return NULL;
 3418|  1.58k|        }
 3419|      6|        else if (cmp < 0)
  ------------------
  |  Branch (3419:18): [True: 0, False: 6]
  ------------------
 3420|      0|            return NULL;
 3421|  1.58k|    }
 3422|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3423|       |    return NULL;
 3424|  1.58k|}
listobject.c:list_count_impl:
 3368|     12|{
 3369|     12|    Py_ssize_t count = 0;
 3370|     72|    for (Py_ssize_t i = 0; ; i++) {
 3371|     72|        PyObject *obj = list_get_item_ref(self, i);
 3372|     72|        if (obj == NULL) {
  ------------------
  |  Branch (3372:13): [True: 12, False: 60]
  ------------------
 3373|       |            // out-of-bounds
 3374|     12|            break;
 3375|     12|        }
 3376|     60|        if (obj == value) {
  ------------------
  |  Branch (3376:13): [True: 48, False: 12]
  ------------------
 3377|     48|           count++;
 3378|     48|           Py_DECREF(obj);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3379|     48|           continue;
 3380|     48|        }
 3381|     12|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3382|     12|        Py_DECREF(obj);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3383|     12|        if (cmp > 0)
  ------------------
  |  Branch (3383:13): [True: 0, False: 12]
  ------------------
 3384|      0|            count++;
 3385|     12|        else if (cmp < 0)
  ------------------
  |  Branch (3385:18): [True: 0, False: 12]
  ------------------
 3386|      0|            return NULL;
 3387|     12|    }
 3388|     12|    return PyLong_FromSsize_t(count);
 3389|     12|}
listobject.c:list___init___impl:
 3525|  6.64k|{
 3526|       |    /* Verify list invariants established by PyType_GenericAlloc() */
 3527|  6.64k|    assert(0 <= Py_SIZE(self));
 3528|  6.64k|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
 3529|  6.64k|    assert(self->ob_item != NULL ||
 3530|  6.64k|           self->allocated == 0 || self->allocated == -1);
 3531|       |
 3532|       |    /* Empty previous contents */
 3533|  6.64k|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3533:9): [True: 0, False: 6.64k]
  ------------------
 3534|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 3535|      0|        list_clear(self);
 3536|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3537|      0|    }
 3538|  6.64k|    if (iterable != NULL) {
  ------------------
  |  Branch (3538:9): [True: 5.06k, False: 1.57k]
  ------------------
 3539|  5.06k|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3539:13): [True: 0, False: 5.06k]
  ------------------
 3540|      0|            return -1;
 3541|      0|        }
 3542|  5.06k|    }
 3543|  6.64k|    return 0;
 3544|  6.64k|}
listobject.c:list_vectorcall:
 3549|  5.13k|{
 3550|  5.13k|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   15|  5.13k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 5.13k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3551|      0|        return NULL;
 3552|      0|    }
 3553|  5.13k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  5.13k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3554|  5.13k|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   31|  5.13k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 5.13k, False: 0]
  |  |  |  Branch (31:27): [True: 5.13k, False: 0]
  |  |  ------------------
  |  |   32|  5.13k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3555|      0|        return NULL;
 3556|      0|    }
 3557|       |
 3558|  5.13k|    PyObject *list = PyType_GenericAlloc(_PyType_CAST(type), 0);
  ------------------
  |  |  770|  5.13k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3559|  5.13k|    if (list == NULL) {
  ------------------
  |  Branch (3559:9): [True: 0, False: 5.13k]
  ------------------
 3560|      0|        return NULL;
 3561|      0|    }
 3562|  5.13k|    if (nargs) {
  ------------------
  |  Branch (3562:9): [True: 5.06k, False: 68]
  ------------------
 3563|  5.06k|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3563:13): [True: 0, False: 5.06k]
  ------------------
 3564|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3565|      0|            return NULL;
 3566|      0|        }
 3567|  5.06k|    }
 3568|  5.13k|    return list;
 3569|  5.13k|}
listobject.c:list_iteritem:
 3915|  2.77k|{
 3916|  2.77k|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 3917|  2.77k|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 3918|  2.77k|}
listobject.c:list_iter:
 4030|  10.0k|{
 4031|  10.0k|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|  10.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4031:9): [True: 0, False: 10.0k]
  ------------------
 4032|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4033|      0|        return NULL;
 4034|      0|    }
 4035|  10.0k|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|  10.0k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4036|  10.0k|    if (it == NULL) {
  ------------------
  |  Branch (4036:9): [True: 12, False: 10.0k]
  ------------------
 4037|     12|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|     12|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4038|     12|        if (it == NULL) {
  ------------------
  |  Branch (4038:13): [True: 0, False: 12]
  ------------------
 4039|      0|            return NULL;
 4040|      0|        }
 4041|     12|    }
 4042|  10.0k|    it->it_index = 0;
 4043|  10.0k|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  550|  10.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4044|  10.0k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|  10.0k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4045|  10.0k|    return (PyObject *)it;
 4046|  10.0k|}
listobject.c:listiter_dealloc:
 4050|  10.0k|{
 4051|  10.0k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4052|  10.0k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|  10.0k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|  10.0k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  10.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4054|  10.0k|    assert(Py_IS_TYPE(self, &PyListIter_Type));
 4055|  10.0k|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  10.0k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  10.0k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|  10.0k|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4056|  10.0k|}
listobject.c:listiter_next:
 4067|  63.8k|{
 4068|  63.8k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4069|  63.8k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  63.8k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4070|  63.8k|    if (index < 0) {
  ------------------
  |  Branch (4070:9): [True: 0, False: 63.8k]
  ------------------
 4071|      0|        return NULL;
 4072|      0|    }
 4073|       |
 4074|  63.8k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4075|  63.8k|    if (item == NULL) {
  ------------------
  |  Branch (4075:9): [True: 9.68k, False: 54.1k]
  ------------------
 4076|       |        // out-of-bounds
 4077|  9.68k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  194|  9.68k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4078|  9.68k|#ifndef Py_GIL_DISABLED
 4079|  9.68k|        PyListObject *seq = it->it_seq;
 4080|  9.68k|        it->it_seq = NULL;
 4081|  9.68k|        Py_DECREF(seq);
  ------------------
  |  |  430|  9.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4082|  9.68k|#endif
 4083|  9.68k|        return NULL;
 4084|  9.68k|    }
 4085|  54.1k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|  54.1k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4086|  54.1k|    return item;
 4087|  63.8k|}
listobject.c:listreviter_dealloc:
 4205|    384|{
 4206|    384|    listreviterobject *it = (listreviterobject *)self;
 4207|    384|    PyObject_GC_UnTrack(it);
 4208|    384|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|    384|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4209|    384|    PyObject_GC_Del(it);
 4210|    384|}
listobject.c:listreviter_next:
 4221|  1.12k|{
 4222|  1.12k|    listreviterobject *it = (listreviterobject *)self;
 4223|  1.12k|    assert(it != NULL);
 4224|  1.12k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  1.12k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4225|  1.12k|    if (index < 0) {
  ------------------
  |  Branch (4225:9): [True: 352, False: 772]
  ------------------
 4226|    352|        return NULL;
 4227|    352|    }
 4228|       |
 4229|    772|    PyListObject *seq = it->it_seq;
 4230|    772|    assert(PyList_Check(seq));
 4231|    772|    PyObject *item = list_get_item_ref(seq, index);
 4232|    772|    if (item != NULL) {
  ------------------
  |  Branch (4232:9): [True: 772, False: 0]
  ------------------
 4233|    772|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index - 1);
  ------------------
  |  |  194|    772|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4234|    772|        return item;
 4235|    772|    }
 4236|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4237|      0|#ifndef Py_GIL_DISABLED
 4238|      0|    it->it_seq = NULL;
 4239|      0|    Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      0|#endif
 4241|       |    return NULL;
 4242|    772|}

_PyLong_Copy:
  223|  56.9k|{
  224|  56.9k|    assert(src != NULL);
  225|  56.9k|    int sign;
  226|       |
  227|  56.9k|    if (_PyLong_IsCompact(src)) {
  ------------------
  |  Branch (227:9): [True: 54.3k, False: 2.64k]
  ------------------
  228|  54.3k|        stwodigits ival = medium_value(src);
  ------------------
  |  |   27|  54.3k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  229|  54.3k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  54.3k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  54.3k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  54.3k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  54.3k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 54.3k, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 54.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  54.3k|            return get_small_int((sdigit)ival);
  231|  54.3k|        }
  232|      0|        sign = _PyLong_CompactSign(src);
  233|      0|    }
  234|  2.64k|    else {
  235|  2.64k|        sign = _PyLong_NonCompactSign(src);
  236|  2.64k|    }
  237|       |
  238|  2.64k|    Py_ssize_t size = _PyLong_DigitCount(src);
  239|  2.64k|    PyLongObject *result = long_alloc(size);
  240|       |
  241|  2.64k|    if (result == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 2.64k]
  ------------------
  242|      0|        return NULL;
  243|      0|    }
  244|  2.64k|    _PyLong_SetSignAndDigitCount(result, sign, size);
  245|  2.64k|    memcpy(result->long_value.ob_digit, src->long_value.ob_digit,
  246|  2.64k|           size * sizeof(digit));
  247|  2.64k|    return (PyObject *)result;
  248|  2.64k|}
PyLong_FromLong:
  408|  25.5M|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  25.5M|    do {                                                                            \
  |  |  372|  25.5M|        /* Handle small and medium cases. */                                        \
  |  |  373|  25.5M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  25.5M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  25.5M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  25.5M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  25.5M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 25.5M, False: 27.9k]
  |  |  |  |  |  |  |  Branch (68:37): [True: 25.5M, False: 24.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  25.5M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  25.5M|        }                                                                           \
  |  |  376|  25.5M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  52.5k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  52.5k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  52.5k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  52.5k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  52.5k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  52.5k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 52.5k, False: 0]
  |  |  |  Branch (376:49): [True: 51.9k, False: 592]
  |  |  ------------------
  |  |  377|  51.9k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  51.9k|        }                                                                           \
  |  |  379|  52.5k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 592]
  |  |  ------------------
  |  |  380|    592|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    592|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    592|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    592|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    592|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    592|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|    592|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 592]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|    592|        /* Construct output value. */                                               \
  |  |  389|    592|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    592|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 592]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    592|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    592|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 592]
  |  |  ------------------
  |  |  395|    592|        t = abs_ival;                                                               \
  |  |  396|  1.77k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 1.18k, False: 592]
  |  |  ------------------
  |  |  397|  1.18k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  1.18k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.18k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.18k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  1.18k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.18k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  1.18k|        }                                                                           \
  |  |  400|    592|        return (PyObject *)v;                                                       \
  |  |  401|    592|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  25.5M|}
PyLong_FromUnsignedLong:
  446|  7.33M|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|  7.33M|    do { \
  |  |  414|  7.33M|        /* Handle small and medium cases. */ \
  |  |  415|  7.33M|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  7.33M|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  7.33M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 7.62k, False: 7.32M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  7.62k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  7.62k|        } \
  |  |  418|  7.33M|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  7.32M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  7.32M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  7.32M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1.92M, False: 5.40M]
  |  |  ------------------
  |  |  419|  1.92M|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  1.92M|        } \
  |  |  421|  7.32M|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  7.32M|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  5.40M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  5.40M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|  5.40M|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|  5.40M|        Py_ssize_t ndigits = 2; \
  |  |  425|  5.40M|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 2, False: 5.40M]
  |  |  ------------------
  |  |  426|      2|            ++ndigits; \
  |  |  427|      2|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      2|        } \
  |  |  429|  5.40M|        /* Construct output value. */ \
  |  |  430|  5.40M|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|  5.40M|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 5.40M]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|  5.40M|        digit *p = v->long_value.ob_digit; \
  |  |  435|  16.2M|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 10.8M, False: 5.40M]
  |  |  ------------------
  |  |  436|  10.8M|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  10.8M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  10.8M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  10.8M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  10.8M|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  10.8M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  10.8M|        } \
  |  |  439|  5.40M|        return (PyObject *)v; \
  |  |  440|  5.40M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|  7.33M|}
PyLong_FromUnsignedLongLong:
  454|   295k|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|   295k|    do { \
  |  |  414|   295k|        /* Handle small and medium cases. */ \
  |  |  415|   295k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|   295k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   295k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 3.71k, False: 291k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  3.71k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  3.71k|        } \
  |  |  418|   295k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|   291k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   291k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   291k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 7.38k, False: 284k]
  |  |  ------------------
  |  |  419|  7.38k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  7.38k|        } \
  |  |  421|   291k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|   291k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   284k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   284k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|   284k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|   284k|        Py_ssize_t ndigits = 2; \
  |  |  425|   284k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 178, False: 284k]
  |  |  ------------------
  |  |  426|    178|            ++ndigits; \
  |  |  427|    178|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    178|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|    178|        } \
  |  |  429|   284k|        /* Construct output value. */ \
  |  |  430|   284k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|   284k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 284k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|   284k|        digit *p = v->long_value.ob_digit; \
  |  |  435|   853k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 569k, False: 284k]
  |  |  ------------------
  |  |  436|   569k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|   569k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   569k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   569k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|   569k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   569k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|   569k|        } \
  |  |  439|   284k|        return (PyObject *)v; \
  |  |  440|   284k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|   295k|}
PyLong_FromSize_t:
  462|    462|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|    462|    do { \
  |  |  414|    462|        /* Handle small and medium cases. */ \
  |  |  415|    462|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|    462|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    462|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 462, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    462|            return get_small_int((sdigit)(ival)); \
  |  |  417|    462|        } \
  |  |  418|    462|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  419|      0|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|      0|        } \
  |  |  421|      0|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|      0|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|      0|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|      0|        Py_ssize_t ndigits = 2; \
  |  |  425|      0|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|      0|        /* Construct output value. */ \
  |  |  430|      0|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|      0|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|      0|        digit *p = v->long_value.ob_digit; \
  |  |  435|      0|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  436|      0|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|      0|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|      0|        } \
  |  |  439|      0|        return (PyObject *)v; \
  |  |  440|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  464|    462|}
PyLong_FromDouble:
  470|  1.14M|{
  471|       |    /* Try to get out cheap if this fits in a long. When a finite value of real
  472|       |     * floating type is converted to an integer type, the value is truncated
  473|       |     * toward zero. If the value of the integral part cannot be represented by
  474|       |     * the integer type, the behavior is undefined. Thus, we must check that
  475|       |     * value is in range (LONG_MIN - 1, LONG_MAX + 1). If a long has more bits
  476|       |     * of precision than a double, casting LONG_MIN - 1 to double may yield an
  477|       |     * approximation, but LONG_MAX + 1 is a power of two and can be represented
  478|       |     * as double exactly (assuming FLT_RADIX is 2 or 16), so for simplicity
  479|       |     * check against [-(LONG_MAX + 1), LONG_MAX + 1).
  480|       |     */
  481|  1.14M|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|  1.14M|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 1.14M, False: 0]
  |  Branch (482:28): [True: 1.14M, False: 0]
  ------------------
  483|  1.14M|        return PyLong_FromLong((long)dval);
  484|  1.14M|    }
  485|       |
  486|      0|    PyLongObject *v;
  487|      0|    double frac;
  488|      0|    int i, ndig, expo, neg;
  489|      0|    neg = 0;
  490|      0|    if (isinf(dval)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        PyErr_SetString(PyExc_OverflowError,
  492|      0|                        "cannot convert float infinity to integer");
  493|      0|        return NULL;
  494|      0|    }
  495|      0|    if (isnan(dval)) {
  ------------------
  |  Branch (495:9): [True: 0, False: 0]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError,
  497|      0|                        "cannot convert float NaN to integer");
  498|      0|        return NULL;
  499|      0|    }
  500|      0|    if (dval < 0.0) {
  ------------------
  |  Branch (500:9): [True: 0, False: 0]
  ------------------
  501|      0|        neg = 1;
  502|      0|        dval = -dval;
  503|      0|    }
  504|      0|    frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */
  505|      0|    assert(expo > 0);
  506|      0|    ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  507|      0|    v = long_alloc(ndig);
  508|      0|    if (v == NULL)
  ------------------
  |  Branch (508:9): [True: 0, False: 0]
  ------------------
  509|      0|        return NULL;
  510|      0|    frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  511|      0|    for (i = ndig; --i >= 0; ) {
  ------------------
  |  Branch (511:20): [True: 0, False: 0]
  ------------------
  512|      0|        digit bits = (digit)frac;
  513|      0|        v->long_value.ob_digit[i] = bits;
  514|      0|        frac = frac - (double)bits;
  515|      0|        frac = ldexp(frac, PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  516|      0|    }
  517|      0|    if (neg) {
  ------------------
  |  Branch (517:9): [True: 0, False: 0]
  ------------------
  518|      0|        _PyLong_FlipSign(v);
  519|      0|    }
  520|      0|    return (PyObject *)v;
  521|      0|}
PyLong_AsLongAndOverflow:
  594|  10.9M|{
  595|       |    /* This version originally by Tim Peters */
  596|  10.9M|    PyLongObject *v;
  597|  10.9M|    long res;
  598|  10.9M|    Py_ssize_t i;
  599|  10.9M|    int sign;
  600|  10.9M|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  10.9M|    *overflow = 0;
  603|  10.9M|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 10.9M]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  10.9M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  10.9M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10.9M, False: 520]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  10.9M|        v = (PyLongObject *)vv;
  610|  10.9M|    }
  611|    520|    else {
  612|    520|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|    520|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 520, False: 0]
  ------------------
  614|    520|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  10.9M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 10.9M, False: 4]
  ------------------
  618|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  619|       |        Py_ssize_t tmp = _PyLong_CompactValue(v);
  620|       |        if (tmp < LONG_MIN) {
  621|       |            *overflow = -1;
  622|       |            res = -1;
  623|       |        }
  624|       |        else if (tmp > LONG_MAX) {
  625|       |            *overflow = 1;
  626|       |            res = -1;
  627|       |        }
  628|       |        else {
  629|       |            res = (long)tmp;
  630|       |        }
  631|       |#else
  632|  10.9M|        res = _PyLong_CompactValue(v);
  633|  10.9M|#endif
  634|  10.9M|    }
  635|      4|    else {
  636|      4|        res = -1;
  637|      4|        i = _PyLong_DigitCount(v);
  638|      4|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|      4|        unsigned long x = unroll_digits_ulong(v, &i);
  641|      4|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 4, False: 0]
  ------------------
  642|      4|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      4|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 4, False: 0]
  ------------------
  643|      4|                *overflow = sign;
  644|      4|                goto exit;
  645|      4|            }
  646|      0|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  647|      0|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|      0|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            res = (long)x * sign;
  653|      0|        }
  654|      0|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|      0|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 0, False: 0]
  |  Branch (654:30): [True: 0, False: 0]
  ------------------
  655|      0|            res = LONG_MIN;
  656|      0|        }
  657|      0|        else {
  658|      0|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|      0|        }
  661|      0|    }
  662|  10.9M|  exit:
  663|  10.9M|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 10.9M]
  ------------------
  664|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|      0|    }
  666|  10.9M|    return res;
  667|  10.9M|}
PyLong_AsLong:
  674|  1.46M|{
  675|  1.46M|    int overflow;
  676|  1.46M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  1.46M|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 1.46M]
  ------------------
  678|       |        /* XXX: could be cute and give a different
  679|       |           message for overflow == -1 */
  680|      2|        PyErr_SetString(PyExc_OverflowError,
  681|      2|                        "Python int too large to convert to C long");
  682|      2|    }
  683|  1.46M|    return result;
  684|  1.46M|}
PyLong_AsInt:
  691|   973k|{
  692|   973k|    int overflow;
  693|   973k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|   973k|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 973k]
  |  Branch (694:21): [True: 0, False: 973k]
  |  Branch (694:41): [True: 0, False: 973k]
  ------------------
  695|       |        /* XXX: could be cute and give a different
  696|       |           message for overflow == -1 */
  697|      0|        PyErr_SetString(PyExc_OverflowError,
  698|      0|                        "Python int too large to convert to C int");
  699|      0|        return -1;
  700|      0|    }
  701|   973k|    return (int)result;
  702|   973k|}
PyLong_AsSsize_t:
  708|  17.2M|PyLong_AsSsize_t(PyObject *vv) {
  709|  17.2M|    PyLongObject *v;
  710|  17.2M|    Py_ssize_t i;
  711|  17.2M|    int sign;
  712|       |
  713|  17.2M|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 17.2M]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  17.2M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  17.2M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 17.2M]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  17.2M|    v = (PyLongObject *)vv;
  723|  17.2M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 17.1M, False: 76.5k]
  ------------------
  724|  17.1M|        return _PyLong_CompactValue(v);
  725|  17.1M|    }
  726|  76.5k|    i = _PyLong_DigitCount(v);
  727|  76.5k|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|  76.5k|    size_t x = unroll_digits_size_t(v, &i);
  730|   153k|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 76.5k, False: 76.5k]
  ------------------
  731|  76.5k|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|  76.5k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 0, False: 76.5k]
  ------------------
  732|      0|            goto overflow;
  733|      0|        }
  734|  76.5k|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  76.5k|#define PyLong_SHIFT    30
  ------------------
  735|  76.5k|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|  76.5k|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  76.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 76.5k, False: 0]
  ------------------
  740|  76.5k|        return (Py_ssize_t)x * sign;
  741|  76.5k|    }
  742|      0|    else if (sign < 0 && x == PY_ABS_SSIZE_T_MIN) {
  ------------------
  |  |  533|      0|#define PY_ABS_SSIZE_T_MIN      (0-(size_t)PY_SSIZE_T_MIN)
  |  |  ------------------
  |  |  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (742:14): [True: 0, False: 0]
  |  Branch (742:26): [True: 0, False: 0]
  ------------------
  743|      0|        return PY_SSIZE_T_MIN;
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  744|      0|    }
  745|       |    /* else overflow */
  746|       |
  747|      0|  overflow:
  748|      0|    PyErr_SetString(PyExc_OverflowError,
  749|      0|                    "Python int too large to convert to C ssize_t");
  750|      0|    return -1;
  751|  76.5k|}
PyLong_AsUnsignedLong:
  758|  2.44M|{
  759|  2.44M|    PyLongObject *v;
  760|  2.44M|    Py_ssize_t i;
  761|       |
  762|  2.44M|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 2.44M]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|  2.44M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  2.44M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.44M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 2.44M]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|  2.44M|    v = (PyLongObject *)vv;
  772|  2.44M|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 602k, False: 1.84M]
  ------------------
  773|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  774|       |        size_t tmp = (size_t)_PyLong_CompactValue(v);
  775|       |        unsigned long res = (unsigned long)tmp;
  776|       |        if (res != tmp) {
  777|       |            goto overflow;
  778|       |        }
  779|       |        return res;
  780|       |#else
  781|   602k|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|   602k|#endif
  783|   602k|    }
  784|  1.84M|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 1.84M]
  ------------------
  785|      0|        PyErr_SetString(PyExc_OverflowError,
  786|      0|                        "can't convert negative value to unsigned int");
  787|      0|        return (unsigned long) -1;
  788|      0|    }
  789|  1.84M|    i = _PyLong_DigitCount(v);
  790|       |
  791|  1.84M|    unsigned long x = unroll_digits_ulong(v, &i);
  792|  1.84M|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 1.84M]
  ------------------
  793|      0|        if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (793:13): [True: 0, False: 0]
  ------------------
  794|      0|            goto overflow;
  795|      0|        }
  796|      0|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  797|      0|    }
  798|  1.84M|    return x;
  799|      0|overflow:
  800|      0|    PyErr_SetString(PyExc_OverflowError,
  801|      0|                    "Python int too large to convert "
  802|      0|                    "to C unsigned long");
  803|      0|    return (unsigned long) -1;
  804|  1.84M|}
PyLong_GetSign:
  955|  2.71M|{
  956|  2.71M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  2.71M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.71M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 2.71M]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|  2.71M|    *sign = long_sign(vv);
  962|  2.71M|    return 0;
  963|  2.71M|}
_PyLong_NumBits:
  977|  2.54M|{
  978|  2.54M|    PyLongObject *v = (PyLongObject *)vv;
  979|  2.54M|    int64_t result = 0;
  980|  2.54M|    Py_ssize_t ndigits;
  981|  2.54M|    int msd_bits;
  982|       |
  983|  2.54M|    assert(v != NULL);
  984|  2.54M|    assert(PyLong_Check(v));
  985|  2.54M|    ndigits = _PyLong_DigitCount(v);
  986|  2.54M|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  987|  2.54M|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 2.51M, False: 26.5k]
  ------------------
  988|  2.51M|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|  2.51M|#if SIZEOF_SIZE_T == 8
  990|  2.51M|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  991|  2.51M|#endif
  992|  2.51M|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|  2.51M|#define PyLong_SHIFT    30
  ------------------
  993|  2.51M|        msd_bits = bit_length_digit(msd);
  994|  2.51M|        result += msd_bits;
  995|  2.51M|    }
  996|  2.54M|    return result;
  997|  2.54M|}
_PyLong_FromByteArray:
 1002|  8.06M|{
 1003|  8.06M|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|  8.06M|    int incr;                           /* direction to move pstartbyte */
 1005|  8.06M|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|  8.06M|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|  8.06M|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|  8.06M|    PyLongObject* v;                    /* result */
 1009|  8.06M|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|  8.06M|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 8.06M]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|  8.06M|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 1.51k, False: 8.05M]
  ------------------
 1015|  1.51k|        pstartbyte = bytes;
 1016|  1.51k|        pendbyte = bytes + n - 1;
 1017|  1.51k|        incr = 1;
 1018|  1.51k|    }
 1019|  8.05M|    else {
 1020|  8.05M|        pstartbyte = bytes + n - 1;
 1021|  8.05M|        pendbyte = bytes;
 1022|  8.05M|        incr = -1;
 1023|  8.05M|    }
 1024|       |
 1025|  8.06M|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 8.06M]
  ------------------
 1026|      0|        is_signed = *pendbyte >= 0x80;
 1027|       |
 1028|       |    /* Compute numsignificantbytes.  This consists of finding the most
 1029|       |       significant byte.  Leading 0 bytes are insignificant if the number
 1030|       |       is positive, and leading 0xff bytes if negative. */
 1031|  8.06M|    {
 1032|  8.06M|        size_t i;
 1033|  8.06M|        const unsigned char* p = pendbyte;
 1034|  8.06M|        const int pincr = -incr;  /* search MSB to LSB */
 1035|  8.06M|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 8.06M]
  ------------------
 1036|       |
 1037|  8.27M|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 8.20M, False: 70.0k]
  ------------------
 1038|  8.20M|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 7.99M, False: 219k]
  ------------------
 1039|  7.99M|                break;
 1040|  8.20M|        }
 1041|  8.06M|        numsignificantbytes = n - i;
 1042|       |        /* 2's-comp is a bit tricky here, e.g. 0xff00 == -0x0100, so
 1043|       |           actually has 2 significant bytes.  OTOH, 0xff0001 ==
 1044|       |           -0x00ffff, so we wouldn't *need* to bump it there; but we
 1045|       |           do for 0xffff = -0x0001.  To be safe without bothering to
 1046|       |           check every case, bump it regardless. */
 1047|  8.06M|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 8.06M]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|  8.06M|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|  8.06M|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|  8.06M|#define PyLong_SHIFT    30
  ------------------
 1053|  8.06M|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  8.06M|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  8.06M|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  8.06M|#define PyLong_SHIFT    30
  ------------------
 1054|  8.06M|    v = long_alloc(ndigits);
 1055|  8.06M|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 8.06M]
  ------------------
 1056|      0|        return NULL;
 1057|       |
 1058|       |    /* Copy the bits over.  The tricky parts are computing 2's-comp on
 1059|       |       the fly for signed numbers, and dealing with the mismatch between
 1060|       |       8-bit bytes and (probably) 15-bit Python digits.*/
 1061|  8.06M|    {
 1062|  8.06M|        size_t i;
 1063|  8.06M|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|  8.06M|        twodigits accum = 0;                    /* sliding register */
 1065|  8.06M|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|  8.06M|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|  21.6M|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 13.5M, False: 8.06M]
  ------------------
 1069|  13.5M|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|  13.5M|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 13.5M]
  ------------------
 1072|      0|                thisbyte = (0xff ^ thisbyte) + carry;
 1073|      0|                carry = thisbyte >> 8;
 1074|      0|                thisbyte &= 0xff;
 1075|      0|            }
 1076|       |            /* Because we're going LSB to MSB, thisbyte is
 1077|       |               more significant than what's already in accum,
 1078|       |               so needs to be prepended to accum. */
 1079|  13.5M|            accum |= thisbyte << accumbits;
 1080|  13.5M|            accumbits += 8;
 1081|  13.5M|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|  13.5M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 35.0k, False: 13.5M]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|  35.0k|                assert(idigit < ndigits);
 1084|  35.0k|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  35.0k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  35.0k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  35.0k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|  35.0k|                ++idigit;
 1086|  35.0k|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  35.0k|#define PyLong_SHIFT    30
  ------------------
 1087|  35.0k|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|  35.0k|#define PyLong_SHIFT    30
  ------------------
 1088|  35.0k|                assert(accumbits < PyLong_SHIFT);
 1089|  35.0k|            }
 1090|  13.5M|        }
 1091|  8.06M|        assert(accumbits < PyLong_SHIFT);
 1092|  8.06M|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 7.99M, False: 70.0k]
  ------------------
 1093|  7.99M|            assert(idigit < ndigits);
 1094|  7.99M|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|  7.99M|            ++idigit;
 1096|  7.99M|        }
 1097|  8.06M|    }
 1098|       |
 1099|  8.06M|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 8.06M]
  ------------------
 1100|  8.06M|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 70.0k, False: 7.99M]
  ------------------
 1101|  70.0k|        sign = 0;
 1102|  70.0k|        v->long_value.ob_digit[0] = 0;
 1103|  70.0k|    }
 1104|  8.06M|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|  8.06M|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|  8.06M|}
_PyLong_AsByteArray:
 1113|   204k|{
 1114|   204k|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|   204k|    Py_ssize_t ndigits;         /* number of digits */
 1116|   204k|    twodigits accum;            /* sliding register */
 1117|   204k|    unsigned int accumbits;     /* # bits in accum */
 1118|   204k|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|   204k|    digit carry;                /* for computing 2's-comp */
 1120|   204k|    size_t j;                   /* # bytes filled */
 1121|   204k|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|   204k|    int pincr;                  /* direction to move p */
 1123|       |
 1124|   204k|    assert(v != NULL && PyLong_Check(v));
 1125|       |
 1126|   204k|    ndigits = _PyLong_DigitCount(v);
 1127|   204k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 204k]
  ------------------
 1128|      0|        if (!is_signed) {
  ------------------
  |  Branch (1128:13): [True: 0, False: 0]
  ------------------
 1129|      0|            if (with_exceptions) {
  ------------------
  |  Branch (1129:17): [True: 0, False: 0]
  ------------------
 1130|      0|                PyErr_SetString(PyExc_OverflowError,
 1131|      0|                                "can't convert negative int to unsigned");
 1132|      0|            }
 1133|      0|            return -1;
 1134|      0|        }
 1135|      0|        do_twos_comp = 1;
 1136|      0|    }
 1137|   204k|    else {
 1138|   204k|        do_twos_comp = 0;
 1139|   204k|    }
 1140|       |
 1141|   204k|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 7.81k, False: 196k]
  ------------------
 1142|  7.81k|        p = bytes;
 1143|  7.81k|        pincr = 1;
 1144|  7.81k|    }
 1145|   196k|    else {
 1146|   196k|        p = bytes + n - 1;
 1147|   196k|        pincr = -1;
 1148|   196k|    }
 1149|       |
 1150|       |    /* Copy over all the Python digits.
 1151|       |       It's crucial that every Python digit except for the MSD contribute
 1152|       |       exactly PyLong_SHIFT bits to the total, so first assert that the int is
 1153|       |       normalized.
 1154|       |       NOTE: PyLong_AsNativeBytes() assumes that this function will fill in 'n'
 1155|       |       bytes even if it eventually fails to convert the whole number. Make sure
 1156|       |       you account for that if you are changing this algorithm to return without
 1157|       |       doing that.
 1158|       |       */
 1159|   204k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
 1160|   204k|    j = 0;
 1161|   204k|    accum = 0;
 1162|   204k|    accumbits = 0;
 1163|   204k|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 204k]
  ------------------
 1164|   387k|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 182k, False: 204k]
  ------------------
 1165|   182k|        digit thisdigit = v->long_value.ob_digit[i];
 1166|   182k|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 182k]
  ------------------
 1167|      0|            thisdigit = (thisdigit ^ PyLong_MASK) + carry;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|      0|            carry = thisdigit >> PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 1169|      0|            thisdigit &= PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|      0|        }
 1171|       |        /* Because we're going LSB to MSB, thisdigit is more
 1172|       |           significant than what's already in accum, so needs to be
 1173|       |           prepended to accum. */
 1174|   182k|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|   182k|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 178k, False: 4.81k]
  ------------------
 1179|       |            /* Count # of sign bits -- they needn't be stored,
 1180|       |             * although for signed conversion we need later to
 1181|       |             * make sure at least one sign bit gets stored. */
 1182|   178k|            digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1182:23): [True: 0, False: 178k]
  ------------------
 1183|  1.75M|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 1.57M, False: 178k]
  ------------------
 1184|  1.57M|                s >>= 1;
 1185|  1.57M|                accumbits++;
 1186|  1.57M|            }
 1187|   178k|        }
 1188|  4.81k|        else
 1189|  4.81k|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|  4.81k|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|   304k|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 121k, False: 182k]
  ------------------
 1193|   121k|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 0, False: 121k]
  ------------------
 1194|      0|                goto Overflow;
 1195|   121k|            ++j;
 1196|   121k|            *p = (unsigned char)(accum & 0xff);
 1197|   121k|            p += pincr;
 1198|   121k|            accumbits -= 8;
 1199|   121k|            accum >>= 8;
 1200|   121k|        }
 1201|   182k|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|   204k|    assert(accumbits < 8);
 1205|   204k|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
 1206|   204k|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 125k, False: 79.5k]
  ------------------
 1207|   125k|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 0, False: 125k]
  ------------------
 1208|      0|            goto Overflow;
 1209|   125k|        ++j;
 1210|   125k|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 125k]
  ------------------
 1211|       |            /* Fill leading bits of the byte with sign bits
 1212|       |               (appropriately pretending that the int had an
 1213|       |               infinite supply of sign bits). */
 1214|      0|            accum |= (~(twodigits)0) << accumbits;
 1215|      0|        }
 1216|   125k|        *p = (unsigned char)(accum & 0xff);
 1217|   125k|        p += pincr;
 1218|   125k|    }
 1219|  79.5k|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 39.9k, False: 39.5k]
  |  Branch (1219:24): [True: 0, False: 39.9k]
  ------------------
 1220|       |        /* The main loop filled the byte array exactly, so the code
 1221|       |           just above didn't get to ensure there's a sign bit, and the
 1222|       |           loop below wouldn't add one either.  Make sure a sign bit
 1223|       |           exists. */
 1224|      0|        int sign_bit_set;
 1225|      0|        if (n > 0) {
  ------------------
  |  Branch (1225:13): [True: 0, False: 0]
  ------------------
 1226|      0|            unsigned char msb = *(p - pincr);
 1227|      0|            sign_bit_set = msb >= 0x80;
 1228|      0|        }
 1229|      0|        else {
 1230|      0|            sign_bit_set = 0;
 1231|      0|        }
 1232|      0|        assert(accumbits == 0);
 1233|      0|        if (sign_bit_set == do_twos_comp)
  ------------------
  |  Branch (1233:13): [True: 0, False: 0]
  ------------------
 1234|      0|            return 0;
 1235|      0|        else
 1236|      0|            goto Overflow;
 1237|      0|    }
 1238|       |
 1239|       |    /* Fill remaining bytes with copies of the sign bit. */
 1240|   204k|    {
 1241|   204k|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 204k]
  ------------------
 1242|   267k|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 63.0k, False: 204k]
  ------------------
 1243|  63.0k|            *p = signbyte;
 1244|   204k|    }
 1245|       |
 1246|   204k|    return 0;
 1247|       |
 1248|      0|  Overflow:
 1249|      0|    if (with_exceptions) {
  ------------------
  |  Branch (1249:9): [True: 0, False: 0]
  ------------------
 1250|      0|        PyErr_SetString(PyExc_OverflowError, "int too big to convert");
 1251|      0|    }
 1252|      0|    return -1;
 1253|       |
 1254|   204k|}
PyLong_AsNativeBytes:
 1283|  8.11M|{
 1284|  8.11M|    PyLongObject *v;
 1285|  8.11M|    union {
 1286|  8.11M|        Py_ssize_t v;
 1287|  8.11M|        unsigned char b[sizeof(Py_ssize_t)];
 1288|  8.11M|    } cv;
 1289|  8.11M|    int do_decref = 0;
 1290|  8.11M|    Py_ssize_t res = 0;
 1291|       |
 1292|  8.11M|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 8.11M]
  |  Branch (1292:23): [True: 0, False: 8.11M]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|  8.11M|    int little_endian = flags;
 1298|  8.11M|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 8.11M]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|  8.11M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  8.11M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.11M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8.11M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  8.11M|        v = (PyLongObject *)vv;
 1304|  8.11M|    }
 1305|      0|    else if (flags != -1 && (flags & Py_ASNATIVEBYTES_ALLOW_INDEX)) {
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  |  Branch (1305:14): [True: 0, False: 0]
  |  Branch (1305:29): [True: 0, False: 0]
  ------------------
 1306|      0|        v = (PyLongObject *)_PyNumber_Index(vv);
 1307|      0|        if (v == NULL) {
  ------------------
  |  Branch (1307:13): [True: 0, False: 0]
  ------------------
 1308|      0|            return -1;
 1309|      0|        }
 1310|      0|        do_decref = 1;
 1311|      0|    }
 1312|      0|    else {
 1313|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
 1314|      0|        return -1;
 1315|      0|    }
 1316|       |
 1317|  8.11M|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|  8.11M|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 8.11M, False: 0]
  |  Branch (1317:25): [True: 220, False: 8.11M]
  ------------------
 1318|    220|        && _PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1318:12): [True: 0, False: 220]
  ------------------
 1319|      0|        PyErr_SetString(PyExc_ValueError, "Cannot convert negative int");
 1320|      0|        if (do_decref) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 0]
  ------------------
 1321|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|      0|        }
 1323|      0|        return -1;
 1324|      0|    }
 1325|       |
 1326|  8.11M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 8.11M, False: 0]
  ------------------
 1327|  8.11M|        res = 0;
 1328|  8.11M|        cv.v = _PyLong_CompactValue(v);
 1329|       |        /* Most paths result in res = sizeof(compact value). Only the case
 1330|       |         * where 0 < n < sizeof(compact value) do we need to check and adjust
 1331|       |         * our return value. */
 1332|  8.11M|        res = sizeof(cv.b);
 1333|  8.11M|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 8.11M]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|  8.11M|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 8.11M, False: 0]
  ------------------
 1337|  8.11M|#if PY_LITTLE_ENDIAN
 1338|  8.11M|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 8.11M, False: 0]
  ------------------
 1339|  8.11M|                memcpy(buffer, cv.b, n);
 1340|  8.11M|            }
 1341|      0|            else {
 1342|      0|                for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (1342:40): [True: 0, False: 0]
  ------------------
 1343|      0|                    ((unsigned char*)buffer)[n - i - 1] = cv.b[i];
 1344|      0|                }
 1345|      0|            }
 1346|       |#else
 1347|       |            if (little_endian) {
 1348|       |                for (Py_ssize_t i = 0; i < n; ++i) {
 1349|       |                    ((unsigned char*)buffer)[i] = cv.b[sizeof(cv.b) - i - 1];
 1350|       |                }
 1351|       |            }
 1352|       |            else {
 1353|       |                memcpy(buffer, &cv.b[sizeof(cv.b) - n], n);
 1354|       |            }
 1355|       |#endif
 1356|       |
 1357|       |            /* If we fit, return the requested number of bytes */
 1358|  8.11M|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 8.11M, False: 0]
  ------------------
 1359|  8.11M|                res = n;
 1360|  8.11M|            } else if (cv.v > 0 && _fits_in_n_bits(cv.v, n * 8 + 1)) {
  ------------------
  |  Branch (1360:24): [True: 0, False: 0]
  |  Branch (1360:36): [True: 0, False: 0]
  ------------------
 1361|       |                /* Positive values with the MSB set do not require an
 1362|       |                 * additional bit when the caller's intent is to treat them
 1363|       |                 * as unsigned. */
 1364|      0|                if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1364:21): [True: 0, False: 0]
  |  Branch (1364:36): [True: 0, False: 0]
  ------------------
 1365|      0|                    res = n;
 1366|      0|                } else {
 1367|      0|                    res = n + 1;
 1368|      0|                }
 1369|      0|            }
 1370|  8.11M|        }
 1371|      0|        else {
 1372|      0|            unsigned char fill = cv.v < 0 ? 0xFF : 0x00;
  ------------------
  |  Branch (1372:34): [True: 0, False: 0]
  ------------------
 1373|      0|#if PY_LITTLE_ENDIAN
 1374|      0|            if (little_endian) {
  ------------------
  |  Branch (1374:17): [True: 0, False: 0]
  ------------------
 1375|      0|                memcpy(buffer, cv.b, sizeof(cv.b));
 1376|      0|                memset((char *)buffer + sizeof(cv.b), fill, n - sizeof(cv.b));
 1377|      0|            }
 1378|      0|            else {
 1379|      0|                unsigned char *b = (unsigned char *)buffer;
 1380|      0|                for (Py_ssize_t i = 0; i < n - (int)sizeof(cv.b); ++i) {
  ------------------
  |  Branch (1380:40): [True: 0, False: 0]
  ------------------
 1381|      0|                    *b++ = fill;
 1382|      0|                }
 1383|      0|                for (Py_ssize_t i = sizeof(cv.b); i > 0; --i) {
  ------------------
  |  Branch (1383:51): [True: 0, False: 0]
  ------------------
 1384|      0|                    *b++ = cv.b[i - 1];
 1385|      0|                }
 1386|      0|            }
 1387|       |#else
 1388|       |            if (little_endian) {
 1389|       |                unsigned char *b = (unsigned char *)buffer;
 1390|       |                for (Py_ssize_t i = sizeof(cv.b); i > 0; --i) {
 1391|       |                    *b++ = cv.b[i - 1];
 1392|       |                }
 1393|       |                for (Py_ssize_t i = 0; i < n - (int)sizeof(cv.b); ++i) {
 1394|       |                    *b++ = fill;
 1395|       |                }
 1396|       |            }
 1397|       |            else {
 1398|       |                memset(buffer, fill, n - sizeof(cv.b));
 1399|       |                memcpy((char *)buffer + n - sizeof(cv.b), cv.b, sizeof(cv.b));
 1400|       |            }
 1401|       |#endif
 1402|      0|        }
 1403|  8.11M|    }
 1404|      0|    else {
 1405|      0|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 0, False: 0]
  ------------------
 1406|      0|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|      0|        }
 1408|       |
 1409|       |        /* Calculates the number of bits required for the *absolute* value
 1410|       |         * of v. This does not take sign into account, only magnitude. */
 1411|      0|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|      0|        assert(nb >= 0);
 1413|       |        /* Normally this would be ((nb - 1) / 8) + 1 to avoid rounding up
 1414|       |         * multiples of 8 to the next byte, but we add an implied bit for
 1415|       |         * the sign and it cancels out. */
 1416|      0|        res = (Py_ssize_t)(nb / 8) + 1;
 1417|       |
 1418|       |        /* Two edge cases exist that are best handled after extracting the
 1419|       |         * bits. These may result in us reporting overflow when the value
 1420|       |         * actually fits.
 1421|       |         */
 1422|      0|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 0, False: 0]
  |  Branch (1422:22): [True: 0, False: 0]
  |  Branch (1422:38): [True: 0, False: 0]
  ------------------
 1423|      0|            if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1423:17): [True: 0, False: 0]
  ------------------
 1424|       |                /* Values of 0x80...00 from negative values that use every
 1425|       |                 * available bit in the buffer do not require an additional
 1426|       |                 * bit to store the sign. */
 1427|      0|                int is_edge_case = 1;
 1428|      0|                unsigned char *b = (unsigned char *)buffer;
 1429|      0|                for (Py_ssize_t i = 0; i < n && is_edge_case; ++i, ++b) {
  ------------------
  |  Branch (1429:40): [True: 0, False: 0]
  |  Branch (1429:49): [True: 0, False: 0]
  ------------------
 1430|      0|                    if (i == 0) {
  ------------------
  |  Branch (1430:25): [True: 0, False: 0]
  ------------------
 1431|      0|                        is_edge_case = (*b == (little_endian ? 0 : 0x80));
  ------------------
  |  Branch (1431:48): [True: 0, False: 0]
  ------------------
 1432|      0|                    } else if (i < n - 1) {
  ------------------
  |  Branch (1432:32): [True: 0, False: 0]
  ------------------
 1433|      0|                        is_edge_case = (*b == 0);
 1434|      0|                    } else {
 1435|      0|                        is_edge_case = (*b == (little_endian ? 0x80 : 0));
  ------------------
  |  Branch (1435:48): [True: 0, False: 0]
  ------------------
 1436|      0|                    }
 1437|      0|                }
 1438|      0|                if (is_edge_case) {
  ------------------
  |  Branch (1438:21): [True: 0, False: 0]
  ------------------
 1439|      0|                    res = n;
 1440|      0|                }
 1441|      0|            }
 1442|      0|            else {
 1443|       |                /* Positive values with the MSB set do not require an
 1444|       |                 * additional bit when the caller's intent is to treat them
 1445|       |                 * as unsigned. */
 1446|      0|                unsigned char *b = (unsigned char *)buffer;
 1447|      0|                if (b[little_endian ? n - 1 : 0] & 0x80) {
  ------------------
  |  Branch (1447:21): [True: 0, False: 0]
  |  Branch (1447:23): [True: 0, False: 0]
  ------------------
 1448|      0|                    if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1448:25): [True: 0, False: 0]
  |  Branch (1448:40): [True: 0, False: 0]
  ------------------
 1449|      0|                        res = n;
 1450|      0|                    } else {
 1451|      0|                        res = n + 1;
 1452|      0|                    }
 1453|      0|                }
 1454|      0|            }
 1455|      0|        }
 1456|      0|    }
 1457|       |
 1458|  8.11M|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 8.11M]
  ------------------
 1459|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1460|      0|    }
 1461|       |
 1462|  8.11M|    return res;
 1463|  8.11M|}
PyLong_FromVoidPtr:
 1509|  6.66k|{
 1510|  6.66k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|  6.66k|    return PyLong_FromUnsignedLong((unsigned long)(uintptr_t)p);
 1512|       |#else
 1513|       |
 1514|       |#if SIZEOF_LONG_LONG < SIZEOF_VOID_P
 1515|       |#   error "PyLong_FromVoidPtr: sizeof(long long) < sizeof(void*)"
 1516|       |#endif
 1517|       |    return PyLong_FromUnsignedLongLong((unsigned long long)(uintptr_t)p);
 1518|       |#endif /* SIZEOF_VOID_P <= SIZEOF_LONG */
 1519|       |
 1520|  6.66k|}
PyLong_FromLongLong:
 1567|  25.8k|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|  25.8k|    do {                                                                            \
  |  |  372|  25.8k|        /* Handle small and medium cases. */                                        \
  |  |  373|  25.8k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  25.8k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  25.8k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  25.8k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  25.8k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 25.8k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 190, False: 25.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|    190|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|    190|        }                                                                           \
  |  |  376|  25.8k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  25.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  25.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  25.7k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  25.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  25.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  25.7k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 25.7k, False: 0]
  |  |  |  Branch (376:49): [True: 3.55k, False: 22.1k]
  |  |  ------------------
  |  |  377|  3.55k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  3.55k|        }                                                                           \
  |  |  379|  25.7k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 22.1k]
  |  |  ------------------
  |  |  380|  22.1k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  22.1k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  22.1k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  22.1k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  22.1k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  22.1k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  33.2k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 11.0k, False: 22.1k]
  |  |  ------------------
  |  |  385|  11.0k|            ++ndigits;                                                              \
  |  |  386|  11.0k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  11.0k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  11.0k|        }                                                                           \
  |  |  388|  22.1k|        /* Construct output value. */                                               \
  |  |  389|  22.1k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  22.1k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 22.1k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  22.1k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  22.1k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 22.1k]
  |  |  ------------------
  |  |  395|  22.1k|        t = abs_ival;                                                               \
  |  |  396|  77.5k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 55.3k, False: 22.1k]
  |  |  ------------------
  |  |  397|  55.3k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  55.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  55.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  55.3k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  55.3k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  55.3k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  55.3k|        }                                                                           \
  |  |  400|  22.1k|        return (PyObject *)v;                                                       \
  |  |  401|  22.1k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|  25.8k|}
PyLong_FromSsize_t:
 1575|  19.3M|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  19.3M|    do {                                                                            \
  |  |  372|  19.3M|        /* Handle small and medium cases. */                                        \
  |  |  373|  19.3M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  19.3M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  19.3M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  19.3M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  19.3M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 19.3M, False: 23.3k]
  |  |  |  |  |  |  |  Branch (68:37): [True: 11.3M, False: 8.00M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  11.3M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  11.3M|        }                                                                           \
  |  |  376|  19.3M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  8.02M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  8.02M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.02M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  8.00M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  8.00M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.00M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 8.00M, False: 23.1k]
  |  |  |  Branch (376:49): [True: 7.92M, False: 75.9k]
  |  |  ------------------
  |  |  377|  7.92M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  7.92M|        }                                                                           \
  |  |  379|  8.02M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 23.1k, False: 75.9k]
  |  |  ------------------
  |  |  380|  99.0k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  99.0k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  99.0k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  99.0k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  99.0k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  99.0k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|   198k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 99.0k, False: 99.0k]
  |  |  ------------------
  |  |  385|  99.0k|            ++ndigits;                                                              \
  |  |  386|  99.0k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  99.0k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  99.0k|        }                                                                           \
  |  |  388|  99.0k|        /* Construct output value. */                                               \
  |  |  389|  99.0k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  99.0k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 99.0k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  99.0k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  99.0k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 23.1k, False: 75.9k]
  |  |  ------------------
  |  |  395|  99.0k|        t = abs_ival;                                                               \
  |  |  396|   396k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 297k, False: 99.0k]
  |  |  ------------------
  |  |  397|   297k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|   297k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   297k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   297k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|   297k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|   297k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|   297k|        }                                                                           \
  |  |  400|  99.0k|        return (PyObject *)v;                                                       \
  |  |  401|  99.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  19.3M|}
PyLong_AsUnsignedLongLong:
 1629|      2|{
 1630|      2|    PyLongObject *v;
 1631|      2|    unsigned long long bytes;
 1632|      2|    int res;
 1633|       |
 1634|      2|    if (vv == NULL) {
  ------------------
  |  Branch (1634:9): [True: 0, False: 2]
  ------------------
 1635|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1636|      0|        return (unsigned long long)-1;
 1637|      0|    }
 1638|      2|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1638:9): [True: 0, False: 2]
  ------------------
 1639|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 1640|      0|        return (unsigned long long)-1;
 1641|      0|    }
 1642|       |
 1643|      2|    v = (PyLongObject*)vv;
 1644|      2|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 2]
  ------------------
 1645|      0|        res = 0;
 1646|       |#if SIZEOF_LONG_LONG < SIZEOF_SIZE_T
 1647|       |        size_t tmp = (size_t)_PyLong_CompactValue(v);
 1648|       |        bytes = (unsigned long long)tmp;
 1649|       |        if (bytes != tmp) {
 1650|       |            PyErr_SetString(PyExc_OverflowError,
 1651|       |                            "Python int too large to convert "
 1652|       |                            "to C unsigned long long");
 1653|       |            res = -1;
 1654|       |        }
 1655|       |#else
 1656|      0|        bytes = (unsigned long long)(size_t)_PyLong_CompactValue(v);
 1657|      0|#endif
 1658|      0|    }
 1659|      2|    else {
 1660|      2|        res = _PyLong_AsByteArray((PyLongObject *)vv, (unsigned char *)&bytes,
 1661|      2|                              SIZEOF_LONG_LONG, PY_LITTLE_ENDIAN, 0, 1);
  ------------------
  |  | 1841|      2|#define SIZEOF_LONG_LONG 8
  ------------------
                                            SIZEOF_LONG_LONG, PY_LITTLE_ENDIAN, 0, 1);
  ------------------
  |  |  454|      2|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1662|      2|    }
 1663|       |
 1664|       |    /* Plan 9 can't handle long long in ? : expressions */
 1665|      2|    if (res < 0)
  ------------------
  |  Branch (1665:9): [True: 0, False: 2]
  ------------------
 1666|      0|        return (unsigned long long)res;
 1667|      2|    else
 1668|      2|        return bytes;
 1669|      2|}
_PyLong_UnsignedInt_Converter:
 1814|      2|_PyLong_##NAME##_Converter(PyObject *obj, void *ptr)                \
 1815|      2|{                                                                   \
 1816|      2|    Py_ssize_t bytes = PyLong_AsNativeBytes(obj, ptr, sizeof(TYPE), \
 1817|      2|            Py_ASNATIVEBYTES_NATIVE_ENDIAN |                        \
  ------------------
  |  |   47|      2|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
 1818|      2|            Py_ASNATIVEBYTES_ALLOW_INDEX |                          \
  ------------------
  |  |   50|      2|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
 1819|      2|            Py_ASNATIVEBYTES_REJECT_NEGATIVE |                      \
  ------------------
  |  |   49|      2|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
 1820|      2|            Py_ASNATIVEBYTES_UNSIGNED_BUFFER);                      \
  ------------------
  |  |   48|      2|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
 1821|      2|    if (bytes < 0) {                                                \
  ------------------
  |  Branch (1821:9): [True: 0, False: 2]
  ------------------
 1822|      0|        return 0;                                                   \
 1823|      0|    }                                                               \
 1824|      2|    if ((size_t)bytes > sizeof(TYPE)) {                             \
  ------------------
  |  Branch (1824:9): [True: 0, False: 2]
  ------------------
 1825|      0|        PyErr_SetString(PyExc_OverflowError,                        \
 1826|      0|                        "Python int too large for C "#TYPE);        \
 1827|      0|        return 0;                                                   \
 1828|      0|    }                                                               \
 1829|      2|    return 1;                                                       \
 1830|      2|}
_PyLong_UInt64_Converter:
 1814|    218|_PyLong_##NAME##_Converter(PyObject *obj, void *ptr)                \
 1815|    218|{                                                                   \
 1816|    218|    Py_ssize_t bytes = PyLong_AsNativeBytes(obj, ptr, sizeof(TYPE), \
 1817|    218|            Py_ASNATIVEBYTES_NATIVE_ENDIAN |                        \
  ------------------
  |  |   47|    218|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
 1818|    218|            Py_ASNATIVEBYTES_ALLOW_INDEX |                          \
  ------------------
  |  |   50|    218|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
 1819|    218|            Py_ASNATIVEBYTES_REJECT_NEGATIVE |                      \
  ------------------
  |  |   49|    218|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
 1820|    218|            Py_ASNATIVEBYTES_UNSIGNED_BUFFER);                      \
  ------------------
  |  |   48|    218|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
 1821|    218|    if (bytes < 0) {                                                \
  ------------------
  |  Branch (1821:9): [True: 0, False: 218]
  ------------------
 1822|      0|        return 0;                                                   \
 1823|      0|    }                                                               \
 1824|    218|    if ((size_t)bytes > sizeof(TYPE)) {                             \
  ------------------
  |  Branch (1824:9): [True: 0, False: 218]
  ------------------
 1825|      0|        PyErr_SetString(PyExc_OverflowError,                        \
 1826|      0|                        "Python int too large for C "#TYPE);        \
 1827|      0|        return 0;                                                   \
 1828|      0|    }                                                               \
 1829|    218|    return 1;                                                       \
 1830|    218|}
_PyLong_Format:
 2501|  80.2k|{
 2502|  80.2k|    PyObject *str;
 2503|  80.2k|    int err;
 2504|  80.2k|    if (base == 10)
  ------------------
  |  Branch (2504:9): [True: 0, False: 80.2k]
  ------------------
 2505|      0|        err = long_to_decimal_string_internal(obj, &str, NULL, NULL, NULL);
 2506|  80.2k|    else
 2507|  80.2k|        err = long_format_binary(obj, base, 1, &str, NULL, NULL, NULL);
 2508|  80.2k|    if (err == -1)
  ------------------
  |  Branch (2508:9): [True: 0, False: 80.2k]
  ------------------
 2509|      0|        return NULL;
 2510|  80.2k|    return str;
 2511|  80.2k|}
_PyLong_FormatWriter:
 2517|  13.6k|{
 2518|  13.6k|    if (base == 10)
  ------------------
  |  Branch (2518:9): [True: 13.6k, False: 0]
  ------------------
 2519|  13.6k|        return long_to_decimal_string_internal(obj, NULL, writer,
 2520|  13.6k|                                               NULL, NULL);
 2521|      0|    else
 2522|      0|        return long_format_binary(obj, base, alternate, NULL, writer,
 2523|      0|                                  NULL, NULL);
 2524|  13.6k|}
PyLong_FromString:
 3053|  17.5k|{
 3054|  17.5k|    int sign = 1, error_if_nonzero = 0;
 3055|  17.5k|    const char *orig_str = str;
 3056|  17.5k|    PyLongObject *z = NULL;
 3057|  17.5k|    PyObject *strobj;
 3058|  17.5k|    Py_ssize_t slen;
 3059|       |
 3060|  17.5k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 17.5k, False: 0]
  |  Branch (3060:23): [True: 0, False: 17.5k]
  |  Branch (3060:36): [True: 0, False: 17.5k]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|  17.5k|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|  17.5k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  17.5k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  17.5k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 17.5k]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 17.5k, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|  17.5k|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 17.5k]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|  17.5k|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 17.5k]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|  17.5k|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 0, False: 17.5k]
  ------------------
 3076|      0|        if (str[0] != '0') {
  ------------------
  |  Branch (3076:13): [True: 0, False: 0]
  ------------------
 3077|      0|            base = 10;
 3078|      0|        }
 3079|      0|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3079:18): [True: 0, False: 0]
  |  Branch (3079:35): [True: 0, False: 0]
  ------------------
 3080|      0|            base = 16;
 3081|      0|        }
 3082|      0|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3082:18): [True: 0, False: 0]
  |  Branch (3082:35): [True: 0, False: 0]
  ------------------
 3083|      0|            base = 8;
 3084|      0|        }
 3085|      0|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3085:18): [True: 0, False: 0]
  |  Branch (3085:35): [True: 0, False: 0]
  ------------------
 3086|      0|            base = 2;
 3087|      0|        }
 3088|      0|        else {
 3089|       |            /* "old" (C-style) octal literal, now invalid.
 3090|       |               it might still be zero though */
 3091|      0|            error_if_nonzero = 1;
 3092|      0|            base = 10;
 3093|      0|        }
 3094|      0|    }
 3095|  17.5k|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 710, False: 16.8k]
  ------------------
 3096|    710|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 10, False: 700]
  |  Branch (3096:26): [True: 0, False: 10]
  |  Branch (3096:43): [True: 0, False: 10]
  ------------------
 3097|    710|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 8, False: 702]
  |  Branch (3097:26): [True: 0, False: 8]
  |  Branch (3097:43): [True: 0, False: 8]
  ------------------
 3098|    710|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 582, False: 128]
  |  Branch (3098:26): [True: 0, False: 582]
  |  Branch (3098:43): [True: 0, False: 582]
  ------------------
 3099|      0|        str += 2;
 3100|       |        /* One underscore allowed here. */
 3101|      0|        if (*str == '_') {
  ------------------
  |  Branch (3101:13): [True: 0, False: 0]
  ------------------
 3102|      0|            ++str;
 3103|      0|        }
 3104|      0|    }
 3105|       |
 3106|       |    /* long_from_string_base is the main workhorse here. */
 3107|  17.5k|    int ret = long_from_string_base(&str, base, &z);
 3108|  17.5k|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 17.5k]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|  17.5k|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 0, False: 17.5k]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      0|        return NULL;
 3115|      0|    }
 3116|       |
 3117|  17.5k|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 17.5k]
  ------------------
 3118|       |        /* reset the base to 0, else the exception message
 3119|       |           doesn't make too much sense */
 3120|      0|        base = 0;
 3121|      0|        if (!_PyLong_IsZero(z)) {
  ------------------
  |  Branch (3121:13): [True: 0, False: 0]
  ------------------
 3122|      0|            goto onError;
 3123|      0|        }
 3124|       |        /* there might still be other problems, therefore base
 3125|       |           remains zero here for the same reason */
 3126|      0|    }
 3127|       |
 3128|       |    /* Set sign and normalize */
 3129|  17.5k|    long_normalize(z);
 3130|  17.5k|    z = maybe_small_long(z);
 3131|  17.5k|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 17.5k]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|  17.5k|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 992, False: 16.5k]
  ------------------
 3136|    992|        *pend = (char *)str;
 3137|    992|    }
 3138|  17.5k|    return (PyObject *) z;
 3139|       |
 3140|      0|  onError:
 3141|      0|    if (pend != NULL) {
  ------------------
  |  Branch (3141:9): [True: 0, False: 0]
  ------------------
 3142|      0|        *pend = (char *)str;
 3143|      0|    }
 3144|      0|    Py_XDECREF(z);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3145|      0|    slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
  ------------------
  |  Branch (3145:12): [True: 0, False: 0]
  ------------------
 3146|      0|    strobj = PyUnicode_FromStringAndSize(orig_str, slen);
 3147|      0|    if (strobj == NULL) {
  ------------------
  |  Branch (3147:9): [True: 0, False: 0]
  ------------------
 3148|      0|        return NULL;
 3149|      0|    }
 3150|      0|    PyErr_Format(PyExc_ValueError,
 3151|      0|                 "invalid literal for int() with base %d: %.200R",
 3152|      0|                 base, strobj);
 3153|      0|    Py_DECREF(strobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3154|       |    return NULL;
 3155|      0|}
_PyLong_FromBytes:
 3164|    608|{
 3165|    608|    PyObject *result, *strobj;
 3166|    608|    char *end = NULL;
 3167|       |
 3168|    608|    result = PyLong_FromString(s, &end, base);
 3169|    608|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 608]
  |  Branch (3169:25): [True: 608, False: 0]
  |  Branch (3169:43): [True: 608, False: 0]
  ------------------
 3170|    608|        return result;
 3171|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3172|      0|    strobj = PyBytes_FromStringAndSize(s, Py_MIN(len, 200));
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3173|      0|    if (strobj != NULL) {
  ------------------
  |  Branch (3173:9): [True: 0, False: 0]
  ------------------
 3174|      0|        PyErr_Format(PyExc_ValueError,
 3175|      0|                     "invalid literal for int() with base %d: %.200R",
 3176|      0|                     base, strobj);
 3177|      0|        Py_DECREF(strobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3178|      0|    }
 3179|       |    return NULL;
 3180|    608|}
PyLong_FromUnicodeObject:
 3184|    384|{
 3185|    384|    PyObject *result, *asciidig;
 3186|    384|    const char *buffer;
 3187|    384|    char *end = NULL;
 3188|    384|    Py_ssize_t buflen;
 3189|       |
 3190|    384|    asciidig = _PyUnicode_TransformDecimalAndSpaceToASCII(u);
 3191|    384|    if (asciidig == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 384]
  ------------------
 3192|      0|        return NULL;
 3193|    384|    assert(PyUnicode_IS_ASCII(asciidig));
 3194|       |    /* Simply get a pointer to existing ASCII characters. */
 3195|    384|    buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen);
 3196|    384|    assert(buffer != NULL);
 3197|       |
 3198|    384|    result = PyLong_FromString(buffer, &end, base);
 3199|    384|    if (end == NULL || (result != NULL && end == buffer + buflen)) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 384]
  |  Branch (3199:25): [True: 384, False: 0]
  |  Branch (3199:43): [True: 384, False: 0]
  ------------------
 3200|    384|        Py_DECREF(asciidig);
  ------------------
  |  |  430|    384|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|    384|        return result;
 3202|    384|    }
 3203|      0|    Py_DECREF(asciidig);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3204|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3205|      0|    PyErr_Format(PyExc_ValueError,
 3206|      0|                 "invalid literal for int() with base %d: %.200R",
 3207|      0|                 base, u);
 3208|       |    return NULL;
 3209|    384|}
_PyLong_Frexp:
 3466|     52|{
 3467|     52|    Py_ssize_t a_size, shift_digits, x_size;
 3468|     52|    int shift_bits;
 3469|     52|    int64_t a_bits;
 3470|       |    /* See below for why x_digits is always large enough. */
 3471|     52|    digit rem;
 3472|     52|    digit x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT] = {0,};
 3473|     52|    double dx;
 3474|       |    /* Correction term for round-half-to-even rounding.  For a digit x,
 3475|       |       "x + half_even_correction[x & 7]" gives x rounded to the nearest
 3476|       |       multiple of 4, rounding ties to a multiple of 8. */
 3477|     52|    static const int half_even_correction[8] = {0, -1, -2, 1, 0, -1, 2, 1};
 3478|       |
 3479|     52|    a_size = _PyLong_DigitCount(a);
 3480|     52|    if (a_size == 0) {
  ------------------
  |  Branch (3480:9): [True: 0, False: 52]
  ------------------
 3481|       |        /* Special case for 0: significand 0.0, exponent 0. */
 3482|      0|        *e = 0;
 3483|      0|        return 0.0;
 3484|      0|    }
 3485|     52|    a_bits = _PyLong_NumBits((PyObject *)a);
 3486|       |
 3487|       |    /* Shift the first DBL_MANT_DIG + 2 bits of a into x_digits[0:x_size]
 3488|       |       (shifting left if a_bits <= DBL_MANT_DIG + 2).
 3489|       |
 3490|       |       Number of digits needed for result: write // for floor division.
 3491|       |       Then if shifting left, we end up using
 3492|       |
 3493|       |         1 + a_size + (DBL_MANT_DIG + 2 - a_bits) // PyLong_SHIFT
 3494|       |
 3495|       |       digits.  If shifting right, we use
 3496|       |
 3497|       |         a_size - (a_bits - DBL_MANT_DIG - 2) // PyLong_SHIFT
 3498|       |
 3499|       |       digits.  Using a_size = 1 + (a_bits - 1) // PyLong_SHIFT along with
 3500|       |       the inequalities
 3501|       |
 3502|       |         m // PyLong_SHIFT + n // PyLong_SHIFT <= (m + n) // PyLong_SHIFT
 3503|       |         m // PyLong_SHIFT - n // PyLong_SHIFT <=
 3504|       |                                          1 + (m - n - 1) // PyLong_SHIFT,
 3505|       |
 3506|       |       valid for any integers m and n, we find that x_size satisfies
 3507|       |
 3508|       |         x_size <= 2 + (DBL_MANT_DIG + 1) // PyLong_SHIFT
 3509|       |
 3510|       |       in both cases.
 3511|       |    */
 3512|     52|    if (a_bits <= DBL_MANT_DIG + 2) {
  ------------------
  |  Branch (3512:9): [True: 52, False: 0]
  ------------------
 3513|     52|        shift_digits = (DBL_MANT_DIG + 2 - (Py_ssize_t)a_bits) / PyLong_SHIFT;
  ------------------
  |  |   47|     52|#define PyLong_SHIFT    30
  ------------------
 3514|     52|        shift_bits = (DBL_MANT_DIG + 2 - (int)a_bits) % PyLong_SHIFT;
  ------------------
  |  |   47|     52|#define PyLong_SHIFT    30
  ------------------
 3515|     52|        x_size = shift_digits;
 3516|     52|        rem = v_lshift(x_digits + x_size, a->long_value.ob_digit, a_size,
 3517|     52|                       shift_bits);
 3518|     52|        x_size += a_size;
 3519|     52|        x_digits[x_size++] = rem;
 3520|     52|    }
 3521|      0|    else {
 3522|      0|        shift_digits = (Py_ssize_t)((a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3523|      0|        shift_bits = (int)((a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3524|      0|        rem = v_rshift(x_digits, a->long_value.ob_digit + shift_digits,
 3525|      0|                       a_size - shift_digits, shift_bits);
 3526|      0|        x_size = a_size - shift_digits;
 3527|       |        /* For correct rounding below, we need the least significant
 3528|       |           bit of x to be 'sticky' for this shift: if any of the bits
 3529|       |           shifted out was nonzero, we set the least significant bit
 3530|       |           of x. */
 3531|      0|        if (rem)
  ------------------
  |  Branch (3531:13): [True: 0, False: 0]
  ------------------
 3532|      0|            x_digits[0] |= 1;
 3533|      0|        else
 3534|      0|            while (shift_digits > 0)
  ------------------
  |  Branch (3534:20): [True: 0, False: 0]
  ------------------
 3535|      0|                if (a->long_value.ob_digit[--shift_digits]) {
  ------------------
  |  Branch (3535:21): [True: 0, False: 0]
  ------------------
 3536|      0|                    x_digits[0] |= 1;
 3537|      0|                    break;
 3538|      0|                }
 3539|      0|    }
 3540|     52|    assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits));
 3541|       |
 3542|       |    /* Round, and convert to double. */
 3543|     52|    x_digits[0] += half_even_correction[x_digits[0] & 7];
 3544|     52|    dx = x_digits[--x_size];
 3545|    156|    while (x_size > 0)
  ------------------
  |  Branch (3545:12): [True: 104, False: 52]
  ------------------
 3546|    104|        dx = dx * PyLong_BASE + x_digits[--x_size];
  ------------------
  |  |   61|    104|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|    104|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 3547|       |
 3548|       |    /* Rescale;  make correction if result is 1.0. */
 3549|     52|    dx /= 4.0 * EXP2_DBL_MANT_DIG;
  ------------------
  |  | 3459|     52|#define EXP2_DBL_MANT_DIG 9007199254740992.0
  ------------------
 3550|     52|    if (dx == 1.0) {
  ------------------
  |  Branch (3550:9): [True: 0, False: 52]
  ------------------
 3551|      0|        assert(a_bits < INT64_MAX);
 3552|      0|        dx = 0.5;
 3553|      0|        a_bits += 1;
 3554|      0|    }
 3555|       |
 3556|     52|    *e = a_bits;
 3557|     52|    return _PyLong_IsNegative(a) ? -dx : dx;
  ------------------
  |  Branch (3557:12): [True: 0, False: 52]
  ------------------
 3558|     52|}
PyLong_AsDouble:
 3565|  1.36M|{
 3566|  1.36M|    int64_t exponent;
 3567|  1.36M|    double x;
 3568|       |
 3569|  1.36M|    if (v == NULL) {
  ------------------
  |  Branch (3569:9): [True: 0, False: 1.36M]
  ------------------
 3570|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3571|      0|        return -1.0;
 3572|      0|    }
 3573|  1.36M|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|  1.36M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.36M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3573:9): [True: 0, False: 1.36M]
  ------------------
 3574|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 3575|      0|        return -1.0;
 3576|      0|    }
 3577|  1.36M|    if (_PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  Branch (3577:9): [True: 1.36M, False: 52]
  ------------------
 3578|       |        /* Fast path; single digit long (31 bits) will cast safely
 3579|       |           to double.  This improves performance of FP/long operations
 3580|       |           by 20%.
 3581|       |        */
 3582|  1.36M|        return (double)medium_value((PyLongObject *)v);
  ------------------
  |  |   27|  1.36M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3583|  1.36M|    }
 3584|     52|    x = _PyLong_Frexp((PyLongObject *)v, &exponent);
 3585|     52|    assert(exponent >= 0);
 3586|     52|    assert(!PyErr_Occurred());
 3587|     52|    if (exponent > DBL_MAX_EXP) {
  ------------------
  |  Branch (3587:9): [True: 0, False: 52]
  ------------------
 3588|      0|        PyErr_SetString(PyExc_OverflowError,
 3589|      0|                        "int too large to convert to float");
 3590|      0|        return -1.0;
 3591|      0|    }
 3592|     52|    return ldexp(x, (int)exponent);
 3593|     52|}
_PyLong_ExactDealloc:
 3636|  21.0M|{
 3637|  21.0M|    assert(PyLong_CheckExact(self));
 3638|  21.0M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 21.0M]
  ------------------
 3639|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3640|      0|        _Py_SetImmortal(self);
 3641|      0|        return;
 3642|      0|    }
 3643|  21.0M|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3643:9): [True: 21.0M, False: 71.6k]
  ------------------
 3644|  21.0M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  21.0M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  21.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  21.0M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  21.0M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3645|  21.0M|        return;
 3646|  21.0M|    }
 3647|  71.6k|    PyObject_Free(self);
 3648|  71.6k|}
_PyCompactLong_Add:
 3868|  35.6M|{
 3869|  35.6M|    assert(_PyLong_BothAreCompact(a, b));
 3870|  35.6M|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  35.6M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  35.6M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3871|  35.6M|    return medium_from_stwodigits(v);
 3872|  35.6M|}
_PyCompactLong_Subtract:
 3913|  3.92M|{
 3914|  3.92M|    assert(_PyLong_BothAreCompact(a, b));
 3915|  3.92M|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  3.92M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  3.92M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3916|  3.92M|    return medium_from_stwodigits(v);
 3917|  3.92M|}
_PyCompactLong_Multiply:
 4360|   416k|{
 4361|   416k|    assert(_PyLong_BothAreCompact(a, b));
 4362|   416k|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   416k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   416k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4363|   416k|    return medium_from_stwodigits(v);
 4364|   416k|}
_PyLong_Rshift:
 5428|  8.07M|{
 5429|  8.07M|    Py_ssize_t wordshift;
 5430|  8.07M|    digit remshift;
 5431|       |
 5432|  8.07M|    assert(PyLong_Check(a));
 5433|  8.07M|    assert(shiftby >= 0);
 5434|  8.07M|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 8.07M]
  ------------------
 5435|      0|        return PyLong_FromLong(0);
 5436|      0|    }
 5437|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5438|       |    if (shiftby > (int64_t)PY_SSIZE_T_MAX * PyLong_SHIFT) {
 5439|       |        if (_PyLong_IsNegative((PyLongObject *)a)) {
 5440|       |            return PyLong_FromLong(-1);
 5441|       |        }
 5442|       |        else {
 5443|       |            return PyLong_FromLong(0);
 5444|       |        }
 5445|       |    }
 5446|       |#endif
 5447|  8.07M|    wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  8.07M|#define PyLong_SHIFT    30
  ------------------
 5448|  8.07M|    remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  8.07M|#define PyLong_SHIFT    30
  ------------------
 5449|  8.07M|    return long_rshift1((PyLongObject *)a, wordshift, remshift);
 5450|  8.07M|}
PyLong_GetInfo:
 6717|      2|{
 6718|      2|    PyObject* int_info;
 6719|      2|    int field = 0;
 6720|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6721|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6721:9): [True: 0, False: 2]
  ------------------
 6722|      0|        return NULL;
 6723|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6724|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6725|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6726|      2|                              PyLong_FromLong(sizeof(digit)));
 6727|       |    /*
 6728|       |     * The following two fields were added after investigating uses of
 6729|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6730|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6731|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6732|       |     * as info for debugging. No concern about adding these in a backport.
 6733|       |     */
 6734|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6735|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6736|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6737|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6738|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6738:9): [True: 0, False: 2]
  ------------------
 6739|      0|        Py_CLEAR(int_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6740|      0|        return NULL;
 6741|      0|    }
 6742|      2|    return int_info;
 6743|      2|}
_PyLong_InitTypes:
 6750|      2|{
 6751|       |    /* initialize int_info */
 6752|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6752:9): [True: 0, False: 2]
  ------------------
 6753|      2|                                      &int_info_desc) < 0)
 6754|      0|    {
 6755|      0|        return _PyStatus_ERR("can't init int info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 6756|      0|    }
 6757|       |
 6758|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6759|      2|}
PyLong_FromInt64:
 6794|  1.23M|{
 6795|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|  1.23M|    do {                                                                            \
  |  |  372|  1.23M|        /* Handle small and medium cases. */                                        \
  |  |  373|  1.23M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  1.23M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  1.23M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  1.23M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  1.23M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1.23M, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1.23M, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  1.23M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  1.23M|        }                                                                           \
  |  |  376|  1.23M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      2|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      2|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      2|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      2|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 2, False: 0]
  |  |  |  Branch (376:49): [True: 0, False: 2]
  |  |  ------------------
  |  |  377|      0|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|      0|        }                                                                           \
  |  |  379|      2|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 2]
  |  |  ------------------
  |  |  380|      2|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      2|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      2|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      2|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      4|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 2, False: 2]
  |  |  ------------------
  |  |  385|      2|            ++ndigits;                                                              \
  |  |  386|      2|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      2|        }                                                                           \
  |  |  388|      2|        /* Construct output value. */                                               \
  |  |  389|      2|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      2|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      2|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      2|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 2]
  |  |  ------------------
  |  |  395|      2|        t = abs_ival;                                                               \
  |  |  396|      8|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 6, False: 2]
  |  |  ------------------
  |  |  397|      6|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|      6|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      6|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      6|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|      6|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      6|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|      6|        }                                                                           \
  |  |  400|      2|        return (PyObject *)v;                                                       \
  |  |  401|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6796|  1.23M|}
PyLong_AsInt64:
 6825|  8.11M|{
 6826|  8.11M|    LONG_TO_INT(obj, value, "C int64_t");
  ------------------
  |  | 6804|  8.11M|    do { \
  |  | 6805|  8.11M|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|  8.11M|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6806|  8.11M|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|  8.11M|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6807|  8.11M|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, value, sizeof(*value), flags); \
  |  | 6808|  8.11M|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6808:13): [True: 0, False: 8.11M]
  |  |  ------------------
  |  | 6809|      0|            return -1; \
  |  | 6810|      0|        } \
  |  | 6811|  8.11M|        if ((size_t)bytes > sizeof(*value)) { \
  |  |  ------------------
  |  |  |  Branch (6811:13): [True: 0, False: 8.11M]
  |  |  ------------------
  |  | 6812|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6813|      0|                            "Python int too large to convert to " type_name); \
  |  | 6814|      0|            return -1; \
  |  | 6815|      0|        } \
  |  | 6816|  8.11M|        return 0; \
  |  | 6817|  8.11M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6817:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6827|  8.11M|}
PyLong_GetNativeLayout:
 6868|    126|{
 6869|    126|    return &PyLong_LAYOUT;
 6870|    126|}
PyLongWriter_Create:
 6931|    126|{
 6932|    126|    if (ndigits <= 0) {
  ------------------
  |  Branch (6932:9): [True: 0, False: 126]
  ------------------
 6933|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6934|      0|        goto error;
 6935|      0|    }
 6936|    126|    assert(digits != NULL);
 6937|       |
 6938|    126|    PyLongObject *obj = long_alloc(ndigits);
 6939|    126|    if (obj == NULL) {
  ------------------
  |  Branch (6939:9): [True: 0, False: 126]
  ------------------
 6940|      0|        goto error;
 6941|      0|    }
 6942|    126|    if (negative) {
  ------------------
  |  Branch (6942:9): [True: 4, False: 122]
  ------------------
 6943|      4|        _PyLong_FlipSign(obj);
 6944|      4|    }
 6945|       |
 6946|    126|    *digits = obj->long_value.ob_digit;
 6947|    126|    return (PyLongWriter*)obj;
 6948|       |
 6949|      0|error:
 6950|      0|    *digits = NULL;
 6951|       |    return NULL;
 6952|    126|}
PyLongWriter_Finish:
 6970|    126|{
 6971|    126|    PyLongObject *obj = (PyLongObject *)writer;
 6972|    126|    assert(Py_REFCNT(obj) == 1);
 6973|       |
 6974|       |#ifdef Py_DEBUG
 6975|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 6976|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 6977|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 6978|       |    // most significan bits are unused by the API.
 6979|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 6980|       |    if (ndigits == 0) {
 6981|       |        // Check ob_digit[0] digit for the number zero
 6982|       |        ndigits = 1;
 6983|       |    }
 6984|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 6985|       |        digit d = obj->long_value.ob_digit[i];
 6986|       |        if (d & ~(digit)PyLong_MASK) {
 6987|       |            Py_DECREF(obj);
 6988|       |            PyErr_Format(PyExc_SystemError,
 6989|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 6990|       |                         i);
 6991|       |            return NULL;
 6992|       |        }
 6993|       |    }
 6994|       |#endif
 6995|       |
 6996|       |    // Normalize and get singleton if possible
 6997|    126|    obj = maybe_small_long(long_normalize(obj));
 6998|       |
 6999|    126|    return (PyObject*)obj;
 7000|    126|}
longobject.c:long_alloc:
  160|  14.2M|{
  161|  14.2M|    assert(size >= 0);
  162|  14.2M|    PyLongObject *result = NULL;
  163|  14.2M|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  14.2M|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  14.2M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 14.2M]
  ------------------
  164|      0|        PyErr_SetString(PyExc_OverflowError,
  165|      0|                        "too many digits in integer");
  166|      0|        return NULL;
  167|      0|    }
  168|       |    /* Fast operations for single digit integers (including zero)
  169|       |     * assume that there is always at least one digit present. */
  170|  14.2M|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 14.2M, False: 70.0k]
  ------------------
  171|       |
  172|  14.2M|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 8.07M, False: 6.20M]
  ------------------
  173|  8.07M|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  8.07M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  8.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|  8.07M|    }
  175|  14.2M|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 6.22M, False: 8.05M]
  ------------------
  176|       |        /* Number of bytes needed is: offsetof(PyLongObject, ob_digit) +
  177|       |        sizeof(digit)*size.  Previous incarnations of this code used
  178|       |        sizeof() instead of the offsetof, but this risks being
  179|       |        incorrect in the presence of padding between the header
  180|       |        and the digits. */
  181|  6.22M|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  6.22M|                                ndigits*sizeof(digit));
  183|  6.22M|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 6.22M]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  6.22M|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  6.22M|        _PyLong_InitTag(result);
  189|  6.22M|    }
  190|  14.2M|    _PyLong_SetSignAndDigitCount(result, size != 0, size);
  191|       |#ifdef Py_DEBUG
  192|       |    // gh-147988: Fill digits with an invalid pattern to catch usage
  193|       |    // of uninitialized digits.
  194|       |    memset(result->long_value.ob_digit, 0xFF, ndigits * sizeof(digit));
  195|       |#endif
  196|  14.2M|    return result;
  197|  14.2M|}
longobject.c:get_small_int:
   62|  70.3M|{
   63|  70.3M|    assert(IS_SMALL_INT(ival));
   64|  70.3M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  70.3M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  70.3M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  70.3M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  70.3M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  70.3M|}
longobject.c:_PyLong_FromMedium:
  252|  10.2M|{
  253|  10.2M|    assert(!IS_SMALL_INT(x));
  254|  10.2M|    assert(is_medium_int(x));
  255|       |
  256|  10.2M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  10.2M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  10.2M|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 1.17M, False: 9.03M]
  ------------------
  258|  1.17M|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|  1.17M|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 1.17M]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|  1.17M|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|  1.17M|        _PyLong_InitTag(v);
  265|  1.17M|    }
  266|  10.2M|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 44.3k, False: 10.1M]
  ------------------
  267|  10.2M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 44.3k, False: 10.1M]
  ------------------
  268|  10.2M|    v->long_value.ob_digit[0] = abs_x;
  269|  10.2M|    return (PyObject*)v;
  270|  10.2M|}
longobject.c:unroll_digits_ulong:
  537|  1.84M|{
  538|  1.84M|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  539|       |
  540|  1.84M|    Py_ssize_t i = *iptr;
  541|  1.84M|    assert(i >= 2);
  542|       |
  543|       |    /* unroll 1 digit */
  544|  1.84M|    --i;
  545|  1.84M|    digit *digits = v->long_value.ob_digit;
  546|  1.84M|    unsigned long x = digits[i];
  547|       |
  548|  1.84M|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|  1.84M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  1.84M|#define PyLong_SHIFT    30
  ------------------
  551|  1.84M|    --i;
  552|  1.84M|    x |= digits[i];
  553|  1.84M|#endif
  554|       |
  555|  1.84M|    *iptr = i;
  556|  1.84M|    return x;
  557|  1.84M|}
longobject.c:unroll_digits_size_t:
  561|  76.5k|{
  562|  76.5k|    assert(SIZE_MAX >= ((1UL << PyLong_SHIFT) - 1));
  563|       |
  564|  76.5k|    Py_ssize_t i = *iptr;
  565|  76.5k|    assert(i >= 2);
  566|       |
  567|       |    /* unroll 1 digit */
  568|  76.5k|    --i;
  569|  76.5k|    digit *digits = v->long_value.ob_digit;
  570|  76.5k|    size_t x = digits[i];
  571|       |
  572|  76.5k|#if (SIZE_MAX >> PyLong_SHIFT) >= ((1 << PyLong_SHIFT) - 1)
  573|       |    /* unroll another digit */
  574|  76.5k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  76.5k|#define PyLong_SHIFT    30
  ------------------
  575|  76.5k|    --i;
  576|  76.5k|    x |= digits[i];
  577|  76.5k|#endif
  578|       |
  579|  76.5k|    *iptr = i;
  580|  76.5k|    return x;
  581|  76.5k|}
longobject.c:long_sign:
  936|  2.71M|{
  937|  2.71M|    assert(vv != NULL);
  938|  2.71M|    assert(PyLong_Check(vv));
  939|  2.71M|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|  2.71M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 2.71M, False: 0]
  ------------------
  942|  2.71M|        return _PyLong_CompactSign(v);
  943|  2.71M|    }
  944|      0|    return _PyLong_NonCompactSign(v);
  945|  2.71M|}
longobject.c:bit_length_digit:
  967|  2.56M|{
  968|       |    // digit can be larger than unsigned long, but only PyLong_SHIFT bits
  969|       |    // of it will be ever used.
  970|       |    static_assert(PyLong_SHIFT <= sizeof(unsigned long) * 8,
  971|  2.56M|                  "digit is larger than unsigned long");
  972|  2.56M|    return _Py_bit_length((unsigned long)x);
  973|  2.56M|}
longobject.c:maybe_small_long:
   69|  8.28M|{
   70|  8.28M|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 8.28M, False: 0]
  |  Branch (70:14): [True: 8.07M, False: 214k]
  ------------------
   71|  8.07M|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|  8.07M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|  8.07M|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  8.07M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  8.07M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  8.07M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  8.07M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 8.07M, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 5.25M, False: 2.81M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  5.25M|            _Py_DECREF_INT(v);
   74|  5.25M|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|  5.25M|        }
   76|  8.07M|    }
   77|  3.02M|    return v;
   78|  8.28M|}
longobject.c:_Py_DECREF_INT:
   47|  5.34M|{
   48|       |    assert(PyLong_CheckExact(op));
   49|  5.34M|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|  5.34M|}
longobject.c:long_normalize:
  127|  8.33M|{
  128|  8.33M|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|  8.33M|    Py_ssize_t i = j;
  130|       |
  131|  8.44M|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 8.36M, False: 72.1k]
  |  Branch (131:21): [True: 101k, False: 8.26M]
  ------------------
  132|   101k|        --i;
  133|  8.33M|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 101k, False: 8.23M]
  ------------------
  134|   101k|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 1.91k, False: 99.2k]
  ------------------
  135|  1.91k|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|  1.91k|        }
  137|  99.2k|        else {
  138|  99.2k|            _PyLong_SetDigitCount(v, i);
  139|  99.2k|        }
  140|   101k|    }
  141|  8.33M|    return v;
  142|  8.33M|}
longobject.c:_resolve_endianness:
 1271|  8.11M|{
 1272|  8.11M|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 8.11M]
  |  Branch (1272:30): [True: 8.11M, False: 0]
  ------------------
 1273|  8.11M|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  454|  8.11M|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|  8.11M|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|       |    assert(*endianness == 0 || *endianness == 1);
 1278|  8.11M|    return 0;
 1279|  8.11M|}
longobject.c:_fits_in_n_bits:
 1259|  8.11M|{
 1260|  8.11M|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 8.11M, False: 8]
  ------------------
 1261|  8.11M|        return 1;
 1262|  8.11M|    }
 1263|       |    // If all bits above n are the same, we fit.
 1264|       |    // (Use n-1 if we require the sign bit to be consistent.)
 1265|      8|    Py_ssize_t v_extended = v >> ((int)n - 1);
 1266|      8|    return v_extended == 0 || v_extended == -1;
  ------------------
  |  Branch (1266:12): [True: 8, False: 0]
  |  Branch (1266:31): [True: 0, False: 0]
  ------------------
 1267|  8.11M|}
longobject.c:long_to_decimal_string_internal:
 2101|  80.2k|{
 2102|  80.2k|    PyLongObject *scratch, *a;
 2103|  80.2k|    PyObject *str = NULL;
 2104|  80.2k|    Py_ssize_t size, strlen, size_a, i, j;
 2105|  80.2k|    digit *pout, *pin, rem, tenpow;
 2106|  80.2k|    int negative;
 2107|  80.2k|    int d;
 2108|       |
 2109|       |    // writer or bytes_writer can be used, but not both at the same time.
 2110|  80.2k|    assert(writer == NULL || bytes_writer == NULL);
 2111|       |
 2112|  80.2k|    a = (PyLongObject *)aa;
 2113|  80.2k|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|  80.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  80.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2113:9): [True: 0, False: 80.2k]
  |  Branch (2113:22): [True: 0, False: 80.2k]
  ------------------
 2114|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2115|      0|        return -1;
 2116|      0|    }
 2117|  80.2k|    size_a = _PyLong_DigitCount(a);
 2118|  80.2k|    negative = _PyLong_IsNegative(a);
 2119|       |
 2120|       |    /* quick and dirty pre-check for overflowing the decimal digit limit,
 2121|       |       based on the inequality 10/3 >= log2(10)
 2122|       |
 2123|       |       explanation in https://github.com/python/cpython/pull/96537
 2124|       |    */
 2125|  80.2k|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|  80.2k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2125:9): [True: 0, False: 80.2k]
  ------------------
 2126|  80.2k|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|  80.2k|#define PyLong_SHIFT    30
  ------------------
 2127|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2128|      0|        int max_str_digits = interp->long_state.max_str_digits;
 2129|      0|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2129:13): [True: 0, False: 0]
  ------------------
 2130|      0|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2130:13): [True: 0, False: 0]
  ------------------
 2131|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2132|      0|                         max_str_digits);
 2133|      0|            return -1;
 2134|      0|        }
 2135|      0|    }
 2136|       |
 2137|  80.2k|#if WITH_PYLONG_MODULE
 2138|  80.2k|    if (size_a > 1000) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 80.2k]
  ------------------
 2139|       |        /* Switch to _pylong.int_to_decimal_string(). */
 2140|      0|        return pylong_int_to_decimal_string(aa,
 2141|      0|                                         p_output,
 2142|      0|                                         writer,
 2143|      0|                                         bytes_writer,
 2144|      0|                                         bytes_str);
 2145|      0|    }
 2146|  80.2k|#endif
 2147|       |
 2148|       |    /* quick and dirty upper bound for the number of digits
 2149|       |       required to express a in base _PyLong_DECIMAL_BASE:
 2150|       |
 2151|       |         #digits = 1 + floor(log2(a) / log2(_PyLong_DECIMAL_BASE))
 2152|       |
 2153|       |       But log2(a) < size_a * PyLong_SHIFT, and
 2154|       |       log2(_PyLong_DECIMAL_BASE) = log2(10) * _PyLong_DECIMAL_SHIFT
 2155|       |                                  > 3.3 * _PyLong_DECIMAL_SHIFT
 2156|       |
 2157|       |         size_a * PyLong_SHIFT / (3.3 * _PyLong_DECIMAL_SHIFT) =
 2158|       |             size_a + size_a / d < size_a + size_a / floor(d),
 2159|       |       where d = (3.3 * _PyLong_DECIMAL_SHIFT) /
 2160|       |                 (PyLong_SHIFT - 3.3 * _PyLong_DECIMAL_SHIFT)
 2161|       |    */
 2162|  80.2k|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|  80.2k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2163|  80.2k|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|  80.2k|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|  80.2k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2164|  80.2k|    assert(size_a < PY_SSIZE_T_MAX/2);
 2165|  80.2k|    size = 1 + size_a + size_a / d;
 2166|  80.2k|    scratch = long_alloc(size);
 2167|  80.2k|    if (scratch == NULL)
  ------------------
  |  Branch (2167:9): [True: 0, False: 80.2k]
  ------------------
 2168|      0|        return -1;
 2169|       |
 2170|       |    /* convert array of base _PyLong_BASE digits in pin to an array of
 2171|       |       base _PyLong_DECIMAL_BASE digits in pout, following Knuth (TAOCP,
 2172|       |       Volume 2 (3rd edn), section 4.4, Method 1b). */
 2173|  80.2k|    pin = a->long_value.ob_digit;
 2174|  80.2k|    pout = scratch->long_value.ob_digit;
 2175|  80.2k|    size = 0;
 2176|   181k|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2176:22): [True: 101k, False: 80.2k]
  ------------------
 2177|   101k|        digit hi = pin[i];
 2178|   145k|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2178:21): [True: 44.2k, False: 101k]
  ------------------
 2179|  44.2k|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|  44.2k|#define PyLong_SHIFT    30
  ------------------
 2180|  44.2k|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  44.2k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2181|  44.2k|            pout[j] = (digit)(z - (twodigits)hi *
 2182|  44.2k|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  44.2k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|  44.2k|        }
 2184|   202k|        while (hi) {
  ------------------
  |  Branch (2184:16): [True: 101k, False: 101k]
  ------------------
 2185|   101k|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   101k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2186|   101k|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   101k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2187|   101k|        }
 2188|       |        /* check for keyboard interrupt */
 2189|   101k|        SIGCHECK({
  ------------------
  |  |  117|   101k|    do {                                        \
  |  |  118|   101k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 101k]
  |  |  ------------------
  |  |  119|   101k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 101k]
  |  |  ------------------
  ------------------
 2190|   101k|                Py_DECREF(scratch);
 2191|   101k|                return -1;
 2192|   101k|            });
 2193|   101k|    }
 2194|       |    /* pout should have at least one digit, so that the case when a = 0
 2195|       |       works correctly */
 2196|  80.2k|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 8.55k, False: 71.6k]
  ------------------
 2197|  8.55k|        pout[size++] = 0;
 2198|       |
 2199|       |    /* calculate exact length of output string, and allocate */
 2200|  80.2k|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|  80.2k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2201|  80.2k|    tenpow = 10;
 2202|  80.2k|    rem = pout[size-1];
 2203|   142k|    while (rem >= tenpow) {
  ------------------
  |  Branch (2203:12): [True: 62.3k, False: 80.2k]
  ------------------
 2204|  62.3k|        tenpow *= 10;
 2205|  62.3k|        strlen++;
 2206|  62.3k|    }
 2207|  80.2k|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  80.2k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2207:9): [True: 0, False: 80.2k]
  ------------------
 2208|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2209|      0|        int max_str_digits = interp->long_state.max_str_digits;
 2210|      0|        Py_ssize_t strlen_nosign = strlen - negative;
 2211|      0|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2211:13): [True: 0, False: 0]
  |  Branch (2211:37): [True: 0, False: 0]
  ------------------
 2212|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2214|      0|                         max_str_digits);
 2215|      0|            return -1;
 2216|      0|        }
 2217|      0|    }
 2218|  80.2k|    if (writer) {
  ------------------
  |  Branch (2218:9): [True: 13.6k, False: 66.6k]
  ------------------
 2219|  13.6k|        if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) {
  ------------------
  |  |  562|  13.6k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 13, False: 13.6k]
  |  |  ------------------
  |  |  563|  13.6k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 5, False: 8]
  |  |  ------------------
  |  |  564|  13.6k|     ? 0                                                              \
  |  |  565|  13.6k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 13.6k]
  |  |  ------------------
  |  |  566|  13.6k|        ? 0                                                           \
  |  |  567|  13.6k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2219:13): [True: 0, False: 13.6k]
  ------------------
 2220|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2221|      0|            return -1;
 2222|      0|        }
 2223|  13.6k|    }
 2224|  66.6k|    else if (bytes_writer) {
  ------------------
  |  Branch (2224:14): [True: 0, False: 66.6k]
  ------------------
 2225|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, strlen,
 2226|      0|                                                        *bytes_str);
 2227|      0|        if (*bytes_str == NULL) {
  ------------------
  |  Branch (2227:13): [True: 0, False: 0]
  ------------------
 2228|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|      0|            return -1;
 2230|      0|        }
 2231|      0|    }
 2232|  66.6k|    else {
 2233|  66.6k|        str = PyUnicode_New(strlen, '9');
 2234|  66.6k|        if (str == NULL) {
  ------------------
  |  Branch (2234:13): [True: 0, False: 66.6k]
  ------------------
 2235|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      0|            return -1;
 2237|      0|        }
 2238|  66.6k|    }
 2239|       |
 2240|  80.2k|#define WRITE_DIGITS(p)                                               \
 2241|  80.2k|    do {                                                              \
 2242|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2243|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2244|  80.2k|        for (i=0; i < size - 1; i++) {                                \
 2245|  80.2k|            rem = pout[i];                                            \
 2246|  80.2k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2247|  80.2k|                *--p = '0' + rem % 10;                                \
 2248|  80.2k|                rem /= 10;                                            \
 2249|  80.2k|            }                                                         \
 2250|  80.2k|        }                                                             \
 2251|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2252|  80.2k|        rem = pout[i];                                                \
 2253|  80.2k|        do {                                                          \
 2254|  80.2k|            *--p = '0' + rem % 10;                                    \
 2255|  80.2k|            rem /= 10;                                                \
 2256|  80.2k|        } while (rem != 0);                                           \
 2257|  80.2k|                                                                      \
 2258|       |        /* and sign */                                                \
 2259|  80.2k|        if (negative)                                                 \
 2260|  80.2k|            *--p = '-';                                               \
 2261|  80.2k|    } while (0)
 2262|       |
 2263|  80.2k|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2264|  80.2k|    do {                                                              \
 2265|  80.2k|        if (writer)                                                   \
 2266|  80.2k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2267|  80.2k|        else                                                          \
 2268|  80.2k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2269|  80.2k|                                                                      \
 2270|  80.2k|        WRITE_DIGITS(p);                                              \
 2271|  80.2k|                                                                      \
 2272|       |        /* check we've counted correctly */                           \
 2273|  80.2k|        if (writer)                                                   \
 2274|  80.2k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2275|  80.2k|        else                                                          \
 2276|  80.2k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2277|  80.2k|    } while (0)
 2278|       |
 2279|       |    /* fill the string right-to-left */
 2280|  80.2k|    if (bytes_writer) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 80.2k]
  ------------------
 2281|      0|        char *p = *bytes_str + strlen;
 2282|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2241|      0|    do {                                                              \
  |  | 2242|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  | 2243|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  | 2244|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  ------------------
  |  |  |  Branch (2244:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 2245|      0|            rem = pout[i];                                            \
  |  | 2246|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  ------------------
  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  ------------------
  |  |  |  Branch (2246:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2247|      0|                *--p = '0' + rem % 10;                                \
  |  | 2248|      0|                rem /= 10;                                            \
  |  | 2249|      0|            }                                                         \
  |  | 2250|      0|        }                                                             \
  |  | 2251|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  | 2252|      0|        rem = pout[i];                                                \
  |  | 2253|      0|        do {                                                          \
  |  | 2254|      0|            *--p = '0' + rem % 10;                                    \
  |  | 2255|      0|            rem /= 10;                                                \
  |  | 2256|      0|        } while (rem != 0);                                           \
  |  |  ------------------
  |  |  |  Branch (2256:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 2257|      0|                                                                      \
  |  | 2258|      0|        /* and sign */                                                \
  |  | 2259|      0|        if (negative)                                                 \
  |  |  ------------------
  |  |  |  Branch (2259:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2260|      0|            *--p = '-';                                               \
  |  | 2261|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2261:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2283|      0|        assert(p == *bytes_str);
 2284|      0|    }
 2285|  80.2k|    else {
 2286|  80.2k|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  258|  66.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  66.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (2286:20): [True: 13.6k, False: 66.6k]
  ------------------
 2287|  80.2k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2287:13): [True: 80.2k, False: 0]
  ------------------
 2288|  80.2k|            Py_UCS1 *p;
 2289|  80.2k|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2264|  80.2k|    do {                                                              \
  |  | 2265|  80.2k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 13.6k, False: 66.6k]
  |  |  ------------------
  |  | 2266|  80.2k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|  13.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2267|  80.2k|        else                                                          \
  |  | 2268|  80.2k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|  66.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  66.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  66.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|  80.2k|                                                                      \
  |  | 2270|  80.2k|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|  80.2k|    do {                                                              \
  |  |  |  | 2242|  80.2k|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|  80.2k|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|   109k|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 29.4k, False: 80.2k]
  |  |  |  |  ------------------
  |  |  |  | 2245|  29.4k|            rem = pout[i];                                            \
  |  |  |  | 2246|   294k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|   294k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 265k, False: 29.4k]
  |  |  |  |  ------------------
  |  |  |  | 2247|   265k|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|   265k|                rem /= 10;                                            \
  |  |  |  | 2249|   265k|            }                                                         \
  |  |  |  | 2250|  29.4k|        }                                                             \
  |  |  |  | 2251|  80.2k|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|  80.2k|        rem = pout[i];                                                \
  |  |  |  | 2253|   142k|        do {                                                          \
  |  |  |  | 2254|   142k|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|   142k|            rem /= 10;                                                \
  |  |  |  | 2256|   142k|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 62.3k, False: 80.2k]
  |  |  |  |  ------------------
  |  |  |  | 2257|  80.2k|                                                                      \
  |  |  |  | 2258|  80.2k|        /* and sign */                                                \
  |  |  |  | 2259|  80.2k|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 3.88k, False: 76.3k]
  |  |  |  |  ------------------
  |  |  |  | 2260|  80.2k|            *--p = '-';                                               \
  |  |  |  | 2261|  80.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 80.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|  80.2k|                                                                      \
  |  | 2272|  80.2k|        /* check we've counted correctly */                           \
  |  | 2273|  80.2k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 13.6k, False: 66.6k]
  |  |  ------------------
  |  | 2274|  80.2k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|  80.2k|        else                                                          \
  |  | 2276|  80.2k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|  80.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 80.2k]
  |  |  ------------------
  ------------------
 2290|  80.2k|        }
 2291|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2291:18): [True: 0, False: 0]
  ------------------
 2292|      0|            Py_UCS2 *p;
 2293|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2264|      0|    do {                                                              \
  |  | 2265|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2266|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2267|      0|        else                                                          \
  |  | 2268|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|      0|                                                                      \
  |  | 2270|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|      0|    do {                                                              \
  |  |  |  | 2242|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2245|      0|            rem = pout[i];                                            \
  |  |  |  | 2246|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2247|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|      0|                rem /= 10;                                            \
  |  |  |  | 2249|      0|            }                                                         \
  |  |  |  | 2250|      0|        }                                                             \
  |  |  |  | 2251|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|      0|        rem = pout[i];                                                \
  |  |  |  | 2253|      0|        do {                                                          \
  |  |  |  | 2254|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|      0|            rem /= 10;                                                \
  |  |  |  | 2256|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|                                                                      \
  |  |  |  | 2258|      0|        /* and sign */                                                \
  |  |  |  | 2259|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2260|      0|            *--p = '-';                                               \
  |  |  |  | 2261|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|      0|                                                                      \
  |  | 2272|      0|        /* check we've counted correctly */                           \
  |  | 2273|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2274|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|      0|        else                                                          \
  |  | 2276|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2294|      0|        }
 2295|      0|        else {
 2296|      0|            assert (kind == PyUnicode_4BYTE_KIND);
 2297|      0|            Py_UCS4 *p;
 2298|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2264|      0|    do {                                                              \
  |  | 2265|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2266|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2267|      0|        else                                                          \
  |  | 2268|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|      0|                                                                      \
  |  | 2270|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|      0|    do {                                                              \
  |  |  |  | 2242|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2245|      0|            rem = pout[i];                                            \
  |  |  |  | 2246|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2247|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|      0|                rem /= 10;                                            \
  |  |  |  | 2249|      0|            }                                                         \
  |  |  |  | 2250|      0|        }                                                             \
  |  |  |  | 2251|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|      0|        rem = pout[i];                                                \
  |  |  |  | 2253|      0|        do {                                                          \
  |  |  |  | 2254|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|      0|            rem /= 10;                                                \
  |  |  |  | 2256|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|                                                                      \
  |  |  |  | 2258|      0|        /* and sign */                                                \
  |  |  |  | 2259|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2260|      0|            *--p = '-';                                               \
  |  |  |  | 2261|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|      0|                                                                      \
  |  | 2272|      0|        /* check we've counted correctly */                           \
  |  | 2273|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2274|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|      0|        else                                                          \
  |  | 2276|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2299|      0|        }
 2300|  80.2k|    }
 2301|       |
 2302|  80.2k|#undef WRITE_DIGITS
 2303|  80.2k|#undef WRITE_UNICODE_DIGITS
 2304|       |
 2305|  80.2k|    _Py_DECREF_INT(scratch);
 2306|  80.2k|    if (writer) {
  ------------------
  |  Branch (2306:9): [True: 13.6k, False: 66.6k]
  ------------------
 2307|  13.6k|        writer->pos += strlen;
 2308|  13.6k|    }
 2309|  66.6k|    else if (bytes_writer) {
  ------------------
  |  Branch (2309:14): [True: 0, False: 66.6k]
  ------------------
 2310|      0|        (*bytes_str) += strlen;
 2311|      0|    }
 2312|  66.6k|    else {
 2313|       |        assert(_PyUnicode_CheckConsistency(str, 1));
 2314|  66.6k|        *p_output = (PyObject *)str;
 2315|  66.6k|    }
 2316|  80.2k|    return 0;
 2317|  80.2k|}
longobject.c:long_format_binary:
 2337|  80.2k|{
 2338|  80.2k|    PyLongObject *a = (PyLongObject *)aa;
 2339|  80.2k|    PyObject *v = NULL;
 2340|  80.2k|    Py_ssize_t sz;
 2341|  80.2k|    Py_ssize_t size_a;
 2342|  80.2k|    int negative;
 2343|  80.2k|    int bits;
 2344|       |
 2345|  80.2k|    assert(base == 2 || base == 8 || base == 16);
 2346|       |    // writer or bytes_writer can be used, but not both at the same time.
 2347|  80.2k|    assert(writer == NULL || bytes_writer == NULL);
 2348|  80.2k|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|  80.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  80.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2348:9): [True: 0, False: 80.2k]
  |  Branch (2348:22): [True: 0, False: 80.2k]
  ------------------
 2349|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2350|      0|        return -1;
 2351|      0|    }
 2352|  80.2k|    size_a = _PyLong_DigitCount(a);
 2353|  80.2k|    negative = _PyLong_IsNegative(a);
 2354|       |
 2355|       |    /* Compute a rough upper bound for the length of the string */
 2356|  80.2k|    switch (base) {
 2357|    576|    case 16:
  ------------------
  |  Branch (2357:5): [True: 576, False: 79.6k]
  ------------------
 2358|    576|        bits = 4;
 2359|    576|        break;
 2360|  79.6k|    case 8:
  ------------------
  |  Branch (2360:5): [True: 79.6k, False: 576]
  ------------------
 2361|  79.6k|        bits = 3;
 2362|  79.6k|        break;
 2363|      0|    case 2:
  ------------------
  |  Branch (2363:5): [True: 0, False: 80.2k]
  ------------------
 2364|      0|        bits = 1;
 2365|      0|        break;
 2366|      0|    default:
  ------------------
  |  Branch (2366:5): [True: 0, False: 80.2k]
  ------------------
 2367|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2368|  80.2k|    }
 2369|       |
 2370|       |    /* Compute exact length 'sz' of output string. */
 2371|  80.2k|    if (size_a == 0) {
  ------------------
  |  Branch (2371:9): [True: 35.9k, False: 44.2k]
  ------------------
 2372|  35.9k|        sz = 1;
 2373|  35.9k|    }
 2374|  44.2k|    else {
 2375|  44.2k|        Py_ssize_t size_a_in_bits;
 2376|       |        /* Ensure overflow doesn't occur during computation of sz. */
 2377|  44.2k|        if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |  137|  44.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |   47|  44.2k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2377:13): [True: 0, False: 44.2k]
  ------------------
 2378|      0|            PyErr_SetString(PyExc_OverflowError,
 2379|      0|                            "int too large to format");
 2380|      0|            return -1;
 2381|      0|        }
 2382|  44.2k|        size_a_in_bits = (size_a - 1) * PyLong_SHIFT +
  ------------------
  |  |   47|  44.2k|#define PyLong_SHIFT    30
  ------------------
 2383|  44.2k|                         bit_length_digit(a->long_value.ob_digit[size_a - 1]);
 2384|       |        /* Allow 1 character for a '-' sign. */
 2385|  44.2k|        sz = negative + (size_a_in_bits + (bits - 1)) / bits;
 2386|  44.2k|    }
 2387|  80.2k|    if (alternate) {
  ------------------
  |  Branch (2387:9): [True: 80.2k, False: 0]
  ------------------
 2388|       |        /* 2 characters for prefix  */
 2389|  80.2k|        sz += 2;
 2390|  80.2k|    }
 2391|       |
 2392|  80.2k|    if (writer) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 80.2k]
  ------------------
 2393|      0|        if (_PyUnicodeWriter_Prepare(writer, sz, 'x') == -1)
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2393:13): [True: 0, False: 0]
  ------------------
 2394|      0|            return -1;
 2395|      0|    }
 2396|  80.2k|    else if (bytes_writer) {
  ------------------
  |  Branch (2396:14): [True: 0, False: 80.2k]
  ------------------
 2397|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, sz,
 2398|      0|                                                        *bytes_str);
 2399|      0|        if (*bytes_str == NULL)
  ------------------
  |  Branch (2399:13): [True: 0, False: 0]
  ------------------
 2400|      0|            return -1;
 2401|      0|    }
 2402|  80.2k|    else {
 2403|  80.2k|        v = PyUnicode_New(sz, 'x');
 2404|  80.2k|        if (v == NULL)
  ------------------
  |  Branch (2404:13): [True: 0, False: 80.2k]
  ------------------
 2405|      0|            return -1;
 2406|  80.2k|    }
 2407|       |
 2408|  80.2k|#define WRITE_DIGITS(p)                                                 \
 2409|  80.2k|    do {                                                                \
 2410|  80.2k|        if (size_a == 0) {                                              \
 2411|  80.2k|            *--p = '0';                                                 \
 2412|  80.2k|        }                                                               \
 2413|  80.2k|        else {                                                          \
 2414|       |            /* JRH: special case for power-of-2 bases */                \
 2415|  80.2k|            twodigits accum = 0;                                        \
 2416|  80.2k|            int accumbits = 0;   /* # of bits in accum */               \
 2417|  80.2k|            Py_ssize_t i;                                               \
 2418|  80.2k|            for (i = 0; i < size_a; ++i) {                              \
 2419|  80.2k|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
 2420|  80.2k|                accumbits += PyLong_SHIFT;                              \
 2421|  80.2k|                assert(accumbits >= bits);                              \
 2422|  80.2k|                do {                                                    \
 2423|  80.2k|                    char cdigit;                                        \
 2424|  80.2k|                    cdigit = (char)(accum & (base - 1));                \
 2425|  80.2k|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
 2426|  80.2k|                    *--p = cdigit;                                      \
 2427|  80.2k|                    accumbits -= bits;                                  \
 2428|  80.2k|                    accum >>= bits;                                     \
 2429|  80.2k|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
 2430|  80.2k|            }                                                           \
 2431|  80.2k|        }                                                               \
 2432|  80.2k|                                                                        \
 2433|  80.2k|        if (alternate) {                                                \
 2434|  80.2k|            if (base == 16)                                             \
 2435|  80.2k|                *--p = 'x';                                             \
 2436|  80.2k|            else if (base == 8)                                         \
 2437|  80.2k|                *--p = 'o';                                             \
 2438|  80.2k|            else /* (base == 2) */                                      \
 2439|  80.2k|                *--p = 'b';                                             \
 2440|  80.2k|            *--p = '0';                                                 \
 2441|  80.2k|        }                                                               \
 2442|  80.2k|        if (negative)                                                   \
 2443|  80.2k|            *--p = '-';                                                 \
 2444|  80.2k|    } while (0)
 2445|       |
 2446|  80.2k|#define WRITE_UNICODE_DIGITS(TYPE)                                      \
 2447|  80.2k|    do {                                                                \
 2448|  80.2k|        if (writer)                                                     \
 2449|  80.2k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
 2450|  80.2k|        else                                                            \
 2451|  80.2k|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
 2452|  80.2k|                                                                        \
 2453|  80.2k|        WRITE_DIGITS(p);                                                \
 2454|  80.2k|                                                                        \
 2455|  80.2k|        if (writer)                                                     \
 2456|  80.2k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2457|  80.2k|        else                                                            \
 2458|  80.2k|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
 2459|  80.2k|    } while (0)
 2460|       |
 2461|  80.2k|    if (bytes_writer) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 80.2k]
  ------------------
 2462|      0|        char *p = *bytes_str + sz;
 2463|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2409|      0|    do {                                                                \
  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  ------------------
  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2411|      0|            *--p = '0';                                                 \
  |  | 2412|      0|        }                                                               \
  |  | 2413|      0|        else {                                                          \
  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  ------------------
  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  | 2422|      0|                do {                                                    \
  |  | 2423|      0|                    char cdigit;                                        \
  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  ------------------
  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  ------------------
  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  | 2428|      0|                    accum >>= bits;                                     \
  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  ------------------
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 2430|      0|            }                                                           \
  |  | 2431|      0|        }                                                               \
  |  | 2432|      0|                                                                        \
  |  | 2433|      0|        if (alternate) {                                                \
  |  |  ------------------
  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2434|      0|            if (base == 16)                                             \
  |  |  ------------------
  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2435|      0|                *--p = 'x';                                             \
  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  ------------------
  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 2437|      0|                *--p = 'o';                                             \
  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  | 2439|      0|                *--p = 'b';                                             \
  |  | 2440|      0|            *--p = '0';                                                 \
  |  | 2441|      0|        }                                                               \
  |  | 2442|      0|        if (negative)                                                   \
  |  |  ------------------
  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2443|      0|            *--p = '-';                                                 \
  |  | 2444|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2464|      0|        assert(p == *bytes_str);
 2465|      0|    }
 2466|  80.2k|    else {
 2467|  80.2k|        int kind = writer ? writer->kind : PyUnicode_KIND(v);
  ------------------
  |  |  258|  80.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  80.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (2467:20): [True: 0, False: 80.2k]
  ------------------
 2468|  80.2k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2468:13): [True: 80.2k, False: 0]
  ------------------
 2469|  80.2k|            Py_UCS1 *p;
 2470|  80.2k|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2447|  80.2k|    do {                                                                \
  |  | 2448|  80.2k|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 80.2k]
  |  |  ------------------
  |  | 2449|  80.2k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|  80.2k|        else                                                            \
  |  | 2451|  80.2k|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|  80.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  80.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  80.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|  80.2k|                                                                        \
  |  | 2453|  80.2k|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|  80.2k|    do {                                                                \
  |  |  |  | 2410|  80.2k|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 35.9k, False: 44.2k]
  |  |  |  |  ------------------
  |  |  |  | 2411|  35.9k|            *--p = '0';                                                 \
  |  |  |  | 2412|  35.9k|        }                                                               \
  |  |  |  | 2413|  80.2k|        else {                                                          \
  |  |  |  | 2414|  44.2k|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|  44.2k|            twodigits accum = 0;                                        \
  |  |  |  | 2416|  44.2k|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|  44.2k|            Py_ssize_t i;                                               \
  |  |  |  | 2418|  88.5k|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 44.2k, False: 44.2k]
  |  |  |  |  ------------------
  |  |  |  | 2419|  44.2k|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|  44.2k|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  44.2k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|  44.2k|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|   190k|                do {                                                    \
  |  |  |  | 2423|   190k|                    char cdigit;                                        \
  |  |  |  | 2424|   190k|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|   190k|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 190k, False: 408]
  |  |  |  |  ------------------
  |  |  |  | 2426|   190k|                    *--p = cdigit;                                      \
  |  |  |  | 2427|   190k|                    accumbits -= bits;                                  \
  |  |  |  | 2428|   190k|                    accum >>= bits;                                     \
  |  |  |  | 2429|   190k|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 80, False: 190k]
  |  |  |  |  |  Branch (2429:26): [True: 146k, False: 44.2k]
  |  |  |  |  ------------------
  |  |  |  | 2430|  44.2k|            }                                                           \
  |  |  |  | 2431|  44.2k|        }                                                               \
  |  |  |  | 2432|  80.2k|                                                                        \
  |  |  |  | 2433|  80.2k|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 80.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|  80.2k|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 576, False: 79.6k]
  |  |  |  |  ------------------
  |  |  |  | 2435|  80.2k|                *--p = 'x';                                             \
  |  |  |  | 2436|  80.2k|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 79.6k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|  79.6k|                *--p = 'o';                                             \
  |  |  |  | 2438|  79.6k|            else /* (base == 2) */                                      \
  |  |  |  | 2439|  79.6k|                *--p = 'b';                                             \
  |  |  |  | 2440|  80.2k|            *--p = '0';                                                 \
  |  |  |  | 2441|  80.2k|        }                                                               \
  |  |  |  | 2442|  80.2k|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 80.2k]
  |  |  |  |  ------------------
  |  |  |  | 2443|  80.2k|            *--p = '-';                                                 \
  |  |  |  | 2444|  80.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 80.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|  80.2k|                                                                        \
  |  | 2455|  80.2k|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 80.2k]
  |  |  ------------------
  |  | 2456|  80.2k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|  80.2k|        else                                                            \
  |  | 2458|  80.2k|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|  80.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 80.2k]
  |  |  ------------------
  ------------------
 2471|  80.2k|        }
 2472|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2472:18): [True: 0, False: 0]
  ------------------
 2473|      0|            Py_UCS2 *p;
 2474|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2475|      0|        }
 2476|      0|        else {
 2477|      0|            assert (kind == PyUnicode_4BYTE_KIND);
 2478|      0|            Py_UCS4 *p;
 2479|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2480|      0|        }
 2481|  80.2k|    }
 2482|       |
 2483|  80.2k|#undef WRITE_DIGITS
 2484|  80.2k|#undef WRITE_UNICODE_DIGITS
 2485|       |
 2486|  80.2k|    if (writer) {
  ------------------
  |  Branch (2486:9): [True: 0, False: 80.2k]
  ------------------
 2487|      0|        writer->pos += sz;
 2488|      0|    }
 2489|  80.2k|    else if (bytes_writer) {
  ------------------
  |  Branch (2489:14): [True: 0, False: 80.2k]
  ------------------
 2490|      0|        (*bytes_str) += sz;
 2491|      0|    }
 2492|  80.2k|    else {
 2493|       |        assert(_PyUnicode_CheckConsistency(v, 1));
 2494|  80.2k|        *p_output = v;
 2495|  80.2k|    }
 2496|  80.2k|    return 0;
 2497|  80.2k|}
longobject.c:long_from_string_base:
 2960|  17.5k|{
 2961|  17.5k|    const char *start, *end, *p;
 2962|  17.5k|    char prev = 0;
 2963|  17.5k|    Py_ssize_t digits = 0;
 2964|  17.5k|    int is_binary_base = (base & (base - 1)) == 0;
 2965|       |
 2966|       |    /* Here we do four things:
 2967|       |     *
 2968|       |     * - Find the `end` of the string.
 2969|       |     * - Validate the string.
 2970|       |     * - Count the number of `digits` (rather than underscores)
 2971|       |     * - Point *str to the end-of-string or first invalid character.
 2972|       |     */
 2973|  17.5k|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|  17.5k|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 17.5k]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|   113k|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  138|   113k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 95.8k, False: 17.5k]
  |  Branch (2979:58): [True: 0, False: 17.5k]
  ------------------
 2980|  95.8k|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 95.8k]
  ------------------
 2981|       |            /* Double underscore not allowed. */
 2982|      0|            if (prev == '_') {
  ------------------
  |  Branch (2982:17): [True: 0, False: 0]
  ------------------
 2983|      0|                *str = p - 1;
 2984|      0|                return -1;
 2985|      0|            }
 2986|  95.8k|        } else {
 2987|  95.8k|            ++digits;
 2988|  95.8k|        }
 2989|  95.8k|        prev = *p;
 2990|  95.8k|        ++p;
 2991|  95.8k|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|  17.5k|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 17.5k]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|  17.5k|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|  17.5k|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 17.5k]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|  17.5k|    while (*p && Py_ISSPACE(*p)) {
  ------------------
  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      0|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3003:12): [True: 0, False: 17.5k]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|  17.5k|    *str = p;
 3007|  17.5k|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 17.5k]
  ------------------
 3008|      0|        return -1;
 3009|      0|    }
 3010|       |
 3011|       |    /*
 3012|       |     * Pass a validated string consisting of only valid digits and underscores
 3013|       |     * to long_from_xxx_base.
 3014|       |     */
 3015|  17.5k|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 736, False: 16.8k]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|    736|        return long_from_binary_base(start, end, digits, base, res);
 3018|    736|    }
 3019|  16.8k|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|  16.8k|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  16.8k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 0, False: 16.8k]
  ------------------
 3023|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|      0|            int max_str_digits = interp->long_state.max_str_digits;
 3025|      0|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 0, False: 0]
  |  Branch (3025:41): [True: 0, False: 0]
  ------------------
 3026|      0|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_INT "Exceeds the limit (%d digits) for integer string conversion: value has %zd digits; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 3027|      0|                             max_str_digits, digits);
 3028|      0|                *res = NULL;
 3029|      0|                return 0;
 3030|      0|            }
 3031|      0|        }
 3032|  16.8k|#if WITH_PYLONG_MODULE
 3033|  16.8k|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 0, False: 16.8k]
  |  Branch (3033:30): [True: 0, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|      0|            return pylong_int_from_string(start, end, res);
 3036|      0|        }
 3037|  16.8k|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|  16.8k|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|  16.8k|    }
 3041|  17.5k|}
longobject.c:long_from_binary_base:
 2587|    736|{
 2588|    736|    const char *p;
 2589|    736|    int bits_per_char;
 2590|    736|    Py_ssize_t n;
 2591|    736|    PyLongObject *z;
 2592|    736|    twodigits accum;
 2593|    736|    int bits_in_accum;
 2594|    736|    digit *pdigit;
 2595|       |
 2596|    736|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
 2597|    736|    n = base;
 2598|  2.58k|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 1.84k, False: 736]
  ------------------
 2599|  1.84k|        n >>= 1;
 2600|  1.84k|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|    736|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|    736|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|    736|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 736]
  ------------------
 2605|      0|        PyErr_SetString(PyExc_ValueError,
 2606|      0|                        "int string too large to convert");
 2607|      0|        *res = NULL;
 2608|      0|        return 0;
 2609|      0|    }
 2610|    736|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    736|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    736|#define PyLong_SHIFT    30
  ------------------
 2611|    736|    z = long_alloc(n);
 2612|    736|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 736]
  ------------------
 2613|      0|        *res = NULL;
 2614|      0|        return 0;
 2615|      0|    }
 2616|       |    /* Read string from right, and fill in int from left; i.e.,
 2617|       |     * from least to most significant in both.
 2618|       |     */
 2619|    736|    accum = 0;
 2620|    736|    bits_in_accum = 0;
 2621|    736|    pdigit = z->long_value.ob_digit;
 2622|    736|    p = end;
 2623|  20.9k|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 20.1k, False: 736]
  ------------------
 2624|  20.1k|        int k;
 2625|  20.1k|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 20.1k]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|  20.1k|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  138|  20.1k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|  20.1k|        assert(k >= 0 && k < base);
 2630|  20.1k|        accum |= (twodigits)k << bits_in_accum;
 2631|  20.1k|        bits_in_accum += bits_per_char;
 2632|  20.1k|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|  20.1k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 656, False: 19.5k]
  ------------------
 2633|    656|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|    656|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    656|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    656|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|    656|            assert(pdigit - z->long_value.ob_digit <= n);
 2635|    656|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|    656|#define PyLong_SHIFT    30
  ------------------
 2636|    656|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|    656|#define PyLong_SHIFT    30
  ------------------
 2637|    656|            assert(bits_in_accum < PyLong_SHIFT);
 2638|    656|        }
 2639|  20.1k|    }
 2640|    736|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 736, False: 0]
  ------------------
 2641|    736|        assert(bits_in_accum <= PyLong_SHIFT);
 2642|    736|        *pdigit++ = (digit)accum;
 2643|    736|        assert(pdigit - z->long_value.ob_digit <= n);
 2644|    736|    }
 2645|    736|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 736]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|    736|    *res = z;
 2648|    736|    return 0;
 2649|    736|}
longobject.c:long_from_non_binary_base:
 2827|  16.8k|{
 2828|  16.8k|    twodigits c;           /* current input character */
 2829|  16.8k|    Py_ssize_t size_z;
 2830|  16.8k|    int i;
 2831|  16.8k|    int convwidth;
 2832|  16.8k|    twodigits convmultmax, convmult;
 2833|  16.8k|    digit *pz, *pzstop;
 2834|  16.8k|    PyLongObject *z;
 2835|  16.8k|    const char *p;
 2836|       |
 2837|  16.8k|    assert(log_base_BASE[base] != 0.0);
 2838|       |
 2839|       |    /* Create an int object that can contain the largest possible
 2840|       |     * integer with this base and length.  Note that there's no
 2841|       |     * need to initialize z->long_value.ob_digit -- no slot is read up before
 2842|       |     * being stored into.
 2843|       |     */
 2844|  16.8k|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|  16.8k|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  16.8k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  16.8k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 16.8k]
  ------------------
 2846|       |        /* The same exception as in long_alloc(). */
 2847|      0|        PyErr_SetString(PyExc_OverflowError,
 2848|      0|                        "too many digits in integer");
 2849|      0|        *res = NULL;
 2850|      0|        return 0;
 2851|      0|    }
 2852|  16.8k|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|  16.8k|    assert(size_z > 0);
 2856|  16.8k|    z = long_alloc(size_z);
 2857|  16.8k|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 16.8k]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|  16.8k|    z->long_value.ob_digit[0] = 0;
 2862|  16.8k|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|  16.8k|    convwidth = convwidth_base[base];
 2868|  16.8k|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|  16.8k|    p = start;
 2872|  33.6k|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 16.8k, False: 16.8k]
  ------------------
 2873|  16.8k|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 16.8k]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|  16.8k|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  138|  16.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|  75.6k|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 75.6k, False: 0]
  |  Branch (2879:38): [True: 58.8k, False: 16.8k]
  ------------------
 2880|  58.8k|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 58.8k]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|  58.8k|            i++;
 2884|  58.8k|            c = (twodigits)(c *  base +
 2885|  58.8k|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  138|  58.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|  58.8k|            assert(c < PyLong_BASE);
 2887|  58.8k|        }
 2888|       |
 2889|  16.8k|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|  16.8k|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 16.8k, False: 0]
  ------------------
 2894|  16.8k|            convmult = base;
 2895|  75.6k|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 58.8k, False: 16.8k]
  ------------------
 2896|  58.8k|                convmult *= base;
 2897|  58.8k|            }
 2898|  16.8k|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|  16.8k|        pz = z->long_value.ob_digit;
 2902|  16.8k|        pzstop = pz + _PyLong_DigitCount(z);
 2903|  16.8k|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 0, False: 16.8k]
  ------------------
 2904|      0|            c += (twodigits)*pz * convmult;
 2905|      0|            *pz = (digit)(c & PyLong_MASK);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|      0|            c >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 2907|      0|        }
 2908|       |        /* carry off the current end? */
 2909|  16.8k|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 16.7k, False: 110]
  ------------------
 2910|  16.7k|            assert(c < PyLong_BASE);
 2911|  16.7k|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 16.7k, False: 0]
  ------------------
 2912|  16.7k|                *pz = (digit)c;
 2913|  16.7k|                assert(!_PyLong_IsNegative(z));
 2914|  16.7k|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|  16.7k|            }
 2916|      0|            else {
 2917|      0|                PyLongObject *tmp;
 2918|       |                /* Extremely rare.  Get more space. */
 2919|      0|                assert(_PyLong_DigitCount(z) == size_z);
 2920|      0|                tmp = long_alloc(size_z + 1);
 2921|      0|                if (tmp == NULL) {
  ------------------
  |  Branch (2921:21): [True: 0, False: 0]
  ------------------
 2922|      0|                    Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2923|      0|                    *res = NULL;
 2924|      0|                    return 0;
 2925|      0|                }
 2926|      0|                memcpy(tmp->long_value.ob_digit,
 2927|      0|                       z->long_value.ob_digit,
 2928|      0|                       sizeof(digit) * size_z);
 2929|      0|                Py_SETREF(z, tmp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2930|      0|                z->long_value.ob_digit[size_z] = (digit)c;
 2931|      0|                ++size_z;
 2932|      0|            }
 2933|  16.7k|        }
 2934|  16.8k|    }
 2935|  16.8k|    *res = z;
 2936|  16.8k|    return 0;
 2937|  16.8k|}
longobject.c:_PyLong_Negate:
  357|      2|{
  358|      2|    PyLongObject *x;
  359|       |
  360|      2|    x = (PyLongObject *)*x_p;
  361|      2|    if (_PyObject_IsUniquelyReferenced((PyObject *)x)) {
  ------------------
  |  Branch (361:9): [True: 0, False: 2]
  ------------------
  362|      0|         _PyLong_FlipSign(x);
  363|      0|        return;
  364|      0|    }
  365|       |
  366|      2|    *x_p = _PyLong_FromSTwoDigits(-medium_value(x));
  ------------------
  |  |   27|      2|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  367|      2|    Py_DECREF(x);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|      2|}
longobject.c:_PyLong_FromSTwoDigits:
  314|  12.3M|{
  315|  12.3M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  12.3M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  12.3M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  12.3M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  12.3M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 12.3M, False: 16.2k]
  |  |  |  |  |  Branch (68:37): [True: 11.9M, False: 328k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|  11.9M|        return (PyLongObject*)get_small_int((sdigit)x);
  317|  11.9M|    }
  318|  12.3M|    assert(x != 0);
  319|   344k|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 295k, False: 48.7k]
  ------------------
  320|   295k|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|   295k|    }
  322|  48.7k|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|   344k|}
longobject.c:is_medium_int:
   54|  25.3M|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  25.3M|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  25.3M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  25.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  25.3M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  25.3M|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  25.3M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  25.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  25.3M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  25.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  25.3M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  25.3M|}
longobject.c:_PyLong_FromLarge:
  274|  48.7k|{
  275|  48.7k|    twodigits abs_ival;
  276|  48.7k|    int sign;
  277|  48.7k|    assert(!is_medium_int(ival));
  278|       |
  279|  48.7k|    if (ival < 0) {
  ------------------
  |  Branch (279:9): [True: 0, False: 48.7k]
  ------------------
  280|       |        /* negate: can't write this as abs_ival = -ival since that
  281|       |           invokes undefined behaviour when ival is LONG_MIN */
  282|      0|        abs_ival = 0U-(twodigits)ival;
  283|      0|        sign = -1;
  284|      0|    }
  285|  48.7k|    else {
  286|  48.7k|        abs_ival = (twodigits)ival;
  287|  48.7k|        sign = 1;
  288|  48.7k|    }
  289|       |    /* Must be at least two digits */
  290|  48.7k|    assert(abs_ival >> PyLong_SHIFT != 0);
  291|  48.7k|    twodigits t = abs_ival >> (PyLong_SHIFT * 2);
  ------------------
  |  |   47|  48.7k|#define PyLong_SHIFT    30
  ------------------
  292|  48.7k|    Py_ssize_t ndigits = 2;
  293|  48.7k|    while (t) {
  ------------------
  |  Branch (293:12): [True: 0, False: 48.7k]
  ------------------
  294|      0|        ++ndigits;
  295|      0|        t >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  296|      0|    }
  297|  48.7k|    PyLongObject *v = long_alloc(ndigits);
  298|  48.7k|    if (v != NULL) {
  ------------------
  |  Branch (298:9): [True: 48.7k, False: 0]
  ------------------
  299|  48.7k|        digit *p = v->long_value.ob_digit;
  300|  48.7k|        _PyLong_SetSignAndDigitCount(v, sign, ndigits);
  301|  48.7k|        t = abs_ival;
  302|   146k|        while (t) {
  ------------------
  |  Branch (302:16): [True: 97.5k, False: 48.7k]
  ------------------
  303|  97.5k|            *p++ = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|  97.5k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  97.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  304|  97.5k|                t & PyLong_MASK, twodigits, digit);
  305|  97.5k|            t >>= PyLong_SHIFT;
  ------------------
  |  |   47|  97.5k|#define PyLong_SHIFT    30
  ------------------
  306|  97.5k|        }
  307|  48.7k|    }
  308|  48.7k|    return (PyObject *)v;
  309|  48.7k|}
longobject.c:v_lshift:
 1906|    352|{
 1907|    352|    Py_ssize_t i;
 1908|    352|    digit carry = 0;
 1909|       |
 1910|    352|    assert(0 <= d && d < PyLong_SHIFT);
 1911|  1.53k|    for (i=0; i < m; i++) {
  ------------------
  |  Branch (1911:15): [True: 1.18k, False: 352]
  ------------------
 1912|  1.18k|        twodigits acc = (twodigits)a[i] << d | carry;
 1913|  1.18k|        z[i] = (digit)acc & PyLong_MASK;
  ------------------
  |  |   62|  1.18k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.18k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.18k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|  1.18k|        carry = (digit)(acc >> PyLong_SHIFT);
  ------------------
  |  |   47|  1.18k|#define PyLong_SHIFT    30
  ------------------
 1915|  1.18k|    }
 1916|    352|    return carry;
 1917|    352|}
longobject.c:v_rshift:
 1924|    150|{
 1925|    150|    Py_ssize_t i;
 1926|    150|    digit carry = 0;
 1927|    150|    digit mask = ((digit)1 << d) - 1U;
 1928|       |
 1929|    150|    assert(0 <= d && d < PyLong_SHIFT);
 1930|    600|    for (i=m; i-- > 0;) {
  ------------------
  |  Branch (1930:15): [True: 450, False: 150]
  ------------------
 1931|    450|        twodigits acc = (twodigits)carry << PyLong_SHIFT | a[i];
  ------------------
  |  |   47|    450|#define PyLong_SHIFT    30
  ------------------
 1932|    450|        carry = (digit)acc & mask;
 1933|    450|        z[i] = (digit)(acc >> d);
 1934|    450|    }
 1935|    150|    return carry;
 1936|    150|}
longobject.c:medium_from_stwodigits:
  329|  39.9M|{
  330|  39.9M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  39.9M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  39.9M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  39.9M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  39.9M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 39.9M, False: 2.82k]
  |  |  |  |  |  Branch (68:37): [True: 14.9M, False: 24.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|  14.9M|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|  14.9M|    }
  333|  39.9M|    assert(x != 0);
  334|  24.9M|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 0, False: 24.9M]
  ------------------
  335|      0|        return PyStackRef_NULL;
  336|      0|    }
  337|  24.9M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  24.9M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|  24.9M|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 62.1k, False: 24.9M]
  ------------------
  339|  62.1k|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|  62.1k|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 62.1k]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|  62.1k|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|  62.1k|        _PyLong_InitTag(v);
  345|  62.1k|    }
  346|  24.9M|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 2.82k, False: 24.9M]
  ------------------
  347|  24.9M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 2.82k, False: 24.9M]
  ------------------
  348|  24.9M|    v->long_value.ob_digit[0] = abs_x;
  349|  24.9M|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|  24.9M|}
longobject.c:long_rshift1:
 5312|  8.07M|{
 5313|  8.07M|    PyLongObject *z = NULL;
 5314|  8.07M|    Py_ssize_t newsize, hishift, size_a;
 5315|  8.07M|    twodigits accum;
 5316|  8.07M|    int a_negative;
 5317|       |
 5318|       |    /* Total number of bits shifted must be nonnegative. */
 5319|  8.07M|    assert(wordshift >= 0);
 5320|  8.07M|    assert(remshift < PyLong_SHIFT);
 5321|       |
 5322|       |    /* Fast path for small a. */
 5323|  8.07M|    if (_PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5323:9): [True: 8.06M, False: 8.85k]
  ------------------
 5324|  8.06M|        stwodigits m, x;
 5325|  8.06M|        digit shift;
 5326|  8.06M|        m = medium_value(a);
  ------------------
  |  |   27|  8.06M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5327|  8.06M|        shift = wordshift == 0 ? remshift : PyLong_SHIFT;
  ------------------
  |  |   47|  8.06M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5327:17): [True: 8.06M, False: 0]
  ------------------
 5328|  8.06M|        x = m < 0 ? ~(~m >> shift) : m >> shift;
  ------------------
  |  Branch (5328:13): [True: 0, False: 8.06M]
  ------------------
 5329|  8.06M|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5330|  8.06M|    }
 5331|       |
 5332|  8.85k|    a_negative = _PyLong_IsNegative(a);
 5333|  8.85k|    size_a = _PyLong_DigitCount(a);
 5334|       |
 5335|  8.85k|    if (a_negative) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 8.85k]
  ------------------
 5336|       |        /* For negative 'a', adjust so that 0 < remshift <= PyLong_SHIFT,
 5337|       |           while keeping PyLong_SHIFT*wordshift + remshift the same. This
 5338|       |           ensures that 'newsize' is computed correctly below. */
 5339|      0|        if (remshift == 0) {
  ------------------
  |  Branch (5339:13): [True: 0, False: 0]
  ------------------
 5340|      0|            if (wordshift == 0) {
  ------------------
  |  Branch (5340:17): [True: 0, False: 0]
  ------------------
 5341|       |                /* Can only happen if the original shift was 0. */
 5342|      0|                return long_long((PyObject *)a);
 5343|      0|            }
 5344|      0|            remshift = PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5345|      0|            --wordshift;
 5346|      0|        }
 5347|      0|    }
 5348|       |
 5349|  8.85k|    assert(wordshift >= 0);
 5350|  8.85k|    newsize = size_a - wordshift;
 5351|  8.85k|    if (newsize <= 0) {
  ------------------
  |  Branch (5351:9): [True: 0, False: 8.85k]
  ------------------
 5352|       |        /* Shifting all the bits of 'a' out gives either -1 or 0. */
 5353|      0|        return PyLong_FromLong(-a_negative);
 5354|      0|    }
 5355|  8.85k|    z = long_alloc(newsize);
 5356|  8.85k|    if (z == NULL) {
  ------------------
  |  Branch (5356:9): [True: 0, False: 8.85k]
  ------------------
 5357|      0|        return NULL;
 5358|      0|    }
 5359|  8.85k|    hishift = PyLong_SHIFT - remshift;
  ------------------
  |  |   47|  8.85k|#define PyLong_SHIFT    30
  ------------------
 5360|       |
 5361|  8.85k|    accum = a->long_value.ob_digit[wordshift];
 5362|  8.85k|    if (a_negative) {
  ------------------
  |  Branch (5362:9): [True: 0, False: 8.85k]
  ------------------
 5363|       |        /*
 5364|       |            For a positive integer a and nonnegative shift, we have:
 5365|       |
 5366|       |                (-a) >> shift == -((a + 2**shift - 1) >> shift).
 5367|       |
 5368|       |            In the addition `a + (2**shift - 1)`, the low `wordshift` digits of
 5369|       |            `2**shift - 1` all have value `PyLong_MASK`, so we get a carry out
 5370|       |            from the bottom `wordshift` digits when at least one of the least
 5371|       |            significant `wordshift` digits of `a` is nonzero. Digit `wordshift`
 5372|       |            of `2**shift - 1` has value `PyLong_MASK >> hishift`.
 5373|       |        */
 5374|      0|        _PyLong_SetSignAndDigitCount(z, -1, newsize);
 5375|       |
 5376|      0|        digit sticky = 0;
 5377|      0|        for (Py_ssize_t j = 0; j < wordshift; j++) {
  ------------------
  |  Branch (5377:32): [True: 0, False: 0]
  ------------------
 5378|      0|            sticky |= a->long_value.ob_digit[j];
 5379|      0|        }
 5380|      0|        accum += (PyLong_MASK >> hishift) + (digit)(sticky != 0);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5381|      0|    }
 5382|       |
 5383|  8.85k|    accum >>= remshift;
 5384|  20.0k|    for (Py_ssize_t i = 0, j = wordshift + 1; j < size_a; i++, j++) {
  ------------------
  |  Branch (5384:47): [True: 11.1k, False: 8.85k]
  ------------------
 5385|  11.1k|        accum += (twodigits)a->long_value.ob_digit[j] << hishift;
 5386|  11.1k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  11.1k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  11.1k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  11.1k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5387|  11.1k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  11.1k|#define PyLong_SHIFT    30
  ------------------
 5388|  11.1k|    }
 5389|  8.85k|    assert(accum <= PyLong_MASK);
 5390|  8.85k|    z->long_value.ob_digit[newsize - 1] = (digit)accum;
 5391|       |
 5392|  8.85k|    z = maybe_small_long(long_normalize(z));
 5393|  8.85k|    return (PyObject *)z;
 5394|  8.85k|}
longobject.c:long_long:
 5731|  83.2k|{
 5732|  83.2k|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|  83.2k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  83.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  83.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  83.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28.9k, False: 54.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|  28.9k|        return Py_NewRef(v);
  ------------------
  |  |  550|  28.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|  28.9k|    }
 5735|  54.3k|    else {
 5736|  54.3k|        return _PyLong_Copy((PyLongObject *)v);
 5737|  54.3k|    }
 5738|  83.2k|}
longobject.c:long_lshift_int64:
 5523|  45.0k|{
 5524|  45.0k|    assert(shiftby >= 0);
 5525|       |
 5526|  45.0k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5526:9): [True: 0, False: 45.0k]
  ------------------
 5527|      0|        return PyLong_FromLong(0);
 5528|      0|    }
 5529|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5530|       |    if (shiftby > (int64_t)PY_SSIZE_T_MAX * PyLong_SHIFT) {
 5531|       |        PyErr_SetString(PyExc_OverflowError,
 5532|       |                        "too many digits in integer");
 5533|       |        return NULL;
 5534|       |    }
 5535|       |#endif
 5536|  45.0k|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  45.0k|#define PyLong_SHIFT    30
  ------------------
 5537|  45.0k|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  45.0k|#define PyLong_SHIFT    30
  ------------------
 5538|  45.0k|    return long_lshift1(a, wordshift, remshift);
 5539|  45.0k|}
longobject.c:long_lshift1:
 5454|  45.0k|{
 5455|  45.0k|    PyLongObject *z = NULL;
 5456|  45.0k|    Py_ssize_t oldsize, newsize, i, j;
 5457|  45.0k|    twodigits accum;
 5458|       |
 5459|  45.0k|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5459:9): [True: 44.9k, False: 70]
  |  Branch (5459:27): [True: 3.11k, False: 41.8k]
  ------------------
 5460|  3.11k|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|  3.11k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5461|       |        // bypass undefined shift operator behavior
 5462|  3.11k|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5462:24): [True: 0, False: 3.11k]
  ------------------
 5463|  3.11k|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5464|  3.11k|    }
 5465|       |
 5466|  41.9k|    oldsize = _PyLong_DigitCount(a);
 5467|  41.9k|    newsize = oldsize + wordshift;
 5468|  41.9k|    if (remshift)
  ------------------
  |  Branch (5468:9): [True: 41.9k, False: 0]
  ------------------
 5469|  41.9k|        ++newsize;
 5470|  41.9k|    z = long_alloc(newsize);
 5471|  41.9k|    if (z == NULL)
  ------------------
  |  Branch (5471:9): [True: 0, False: 41.9k]
  ------------------
 5472|      0|        return NULL;
 5473|  41.9k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5473:9): [True: 0, False: 41.9k]
  ------------------
 5474|      0|        assert(Py_REFCNT(z) == 1);
 5475|      0|        _PyLong_FlipSign(z);
 5476|      0|    }
 5477|  42.1k|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5477:17): [True: 256, False: 41.9k]
  ------------------
 5478|    256|        z->long_value.ob_digit[i] = 0;
 5479|  41.9k|    accum = 0;
 5480|   167k|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5480:17): [True: 125k, False: 41.9k]
  ------------------
 5481|   125k|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5482|   125k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|   125k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   125k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   125k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|   125k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|   125k|#define PyLong_SHIFT    30
  ------------------
 5484|   125k|    }
 5485|  41.9k|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 41.9k, False: 0]
  ------------------
 5486|  41.9k|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5487|      0|    else
 5488|       |        assert(!accum);
 5489|  41.9k|    z = long_normalize(z);
 5490|  41.9k|    return (PyObject *) maybe_small_long(z);
 5491|  41.9k|}
longobject.c:long_abs:
 5287|  8.79k|{
 5288|  8.79k|    if (_PyLong_IsNegative(v))
  ------------------
  |  Branch (5288:9): [True: 490, False: 8.30k]
  ------------------
 5289|    490|        return long_neg(v);
 5290|  8.30k|    else
 5291|  8.30k|        return (PyLongObject*)long_long((PyObject *)v);
 5292|  8.79k|}
longobject.c:long_compare:
 3603|  2.60M|{
 3604|  2.60M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3604:9): [True: 2.20M, False: 401k]
  ------------------
 3605|  2.20M|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3606|  2.20M|    }
 3607|   401k|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3608|   401k|    if (sign == 0) {
  ------------------
  |  Branch (3608:9): [True: 331k, False: 69.6k]
  ------------------
 3609|   331k|        Py_ssize_t i = _PyLong_DigitCount(a);
 3610|   331k|        sdigit diff = 0;
 3611|  1.08M|        while (--i >= 0) {
  ------------------
  |  Branch (3611:16): [True: 764k, False: 321k]
  ------------------
 3612|   764k|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3613|   764k|            if (diff) {
  ------------------
  |  Branch (3613:17): [True: 10.3k, False: 754k]
  ------------------
 3614|  10.3k|                break;
 3615|  10.3k|            }
 3616|   764k|        }
 3617|   331k|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3617:16): [True: 9.74k, False: 321k]
  ------------------
 3618|   331k|    }
 3619|   401k|    return sign;
 3620|  2.60M|}
longobject.c:l_mod:
 4558|  8.04M|{
 4559|  8.04M|    PyLongObject *mod;
 4560|       |
 4561|  8.04M|    assert(pmod);
 4562|  8.04M|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4562:9): [True: 8.04M, False: 160]
  |  Branch (4562:39): [True: 8.04M, False: 78]
  ------------------
 4563|       |        /* Fast path for single-digit longs */
 4564|  8.04M|        *pmod = (PyLongObject *)fast_mod(v, w);
 4565|  8.04M|        return -(*pmod == NULL);
 4566|  8.04M|    }
 4567|    238|    if (long_rem(v, w, &mod) < 0)
  ------------------
  |  Branch (4567:9): [True: 0, False: 238]
  ------------------
 4568|      0|        return -1;
 4569|    238|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4569:10): [True: 0, False: 238]
  |  Branch (4569:37): [True: 0, False: 0]
  ------------------
 4570|    238|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4570:10): [True: 238, False: 0]
  |  Branch (4570:37): [True: 0, False: 238]
  ------------------
 4571|      0|        PyLongObject *temp;
 4572|      0|        temp = long_add(mod, w);
 4573|      0|        Py_SETREF(mod, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4574|      0|        if (mod == NULL)
  ------------------
  |  Branch (4574:13): [True: 0, False: 0]
  ------------------
 4575|      0|            return -1;
 4576|      0|    }
 4577|    238|    *pmod = mod;
 4578|       |
 4579|    238|    return 0;
 4580|    238|}
longobject.c:fast_mod:
 4376|  8.04M|{
 4377|  8.04M|    sdigit left = a->long_value.ob_digit[0];
 4378|  8.04M|    sdigit right = b->long_value.ob_digit[0];
 4379|  8.04M|    sdigit mod;
 4380|       |
 4381|  8.04M|    assert(_PyLong_DigitCount(a) == 1);
 4382|  8.04M|    assert(_PyLong_DigitCount(b) == 1);
 4383|  8.04M|    sdigit sign = _PyLong_CompactSign(b);
 4384|  8.04M|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4384:9): [True: 8.04M, False: 0]
  ------------------
 4385|  8.04M|        mod = left % right;
 4386|  8.04M|    }
 4387|      0|    else {
 4388|       |        /* Either 'a' or 'b' is negative. */
 4389|      0|        mod = right - 1 - (left - 1) % right;
 4390|      0|    }
 4391|       |
 4392|  8.04M|    return PyLong_FromLong(mod * sign);
 4393|  8.04M|}
longobject.c:long_rem:
 3279|    238|{
 3280|    238|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3281|       |
 3282|    238|    if (size_b == 0) {
  ------------------
  |  Branch (3282:9): [True: 0, False: 238]
  ------------------
 3283|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
 3284|      0|                        "division by zero");
 3285|      0|        return -1;
 3286|      0|    }
 3287|    238|    if (size_a < size_b ||
  ------------------
  |  Branch (3287:9): [True: 88, False: 150]
  ------------------
 3288|    150|        (size_a == size_b &&
  ------------------
  |  Branch (3288:10): [True: 16, False: 134]
  ------------------
 3289|     88|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3289:10): [True: 0, False: 16]
  ------------------
 3290|       |        /* |a| < |b|. */
 3291|     88|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3292|     88|        return -(*prem == NULL);
 3293|     88|    }
 3294|    150|    if (size_b == 1) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 150]
  ------------------
 3295|      0|        *prem = rem1(a, b->long_value.ob_digit[0]);
 3296|      0|        if (*prem == NULL)
  ------------------
  |  Branch (3296:13): [True: 0, False: 0]
  ------------------
 3297|      0|            return -1;
 3298|      0|    }
 3299|    150|    else {
 3300|       |        /* Slow path using divrem. */
 3301|    150|        Py_XDECREF(x_divrem(a, b, prem));
  ------------------
  |  |  524|    150|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|    150|        *prem = maybe_small_long(*prem);
 3303|    150|        if (*prem == NULL)
  ------------------
  |  Branch (3303:13): [True: 0, False: 150]
  ------------------
 3304|      0|            return -1;
 3305|    150|    }
 3306|       |    /* Set the sign. */
 3307|    150|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 150]
  |  Branch (3307:34): [True: 0, False: 0]
  ------------------
 3308|      0|        _PyLong_Negate(prem);
 3309|      0|        if (*prem == NULL) {
  ------------------
  |  Branch (3309:13): [True: 0, False: 0]
  ------------------
 3310|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3311|      0|            return -1;
 3312|      0|        }
 3313|      0|    }
 3314|    150|    return 0;
 3315|    150|}
longobject.c:x_divrem:
 3322|    150|{
 3323|    150|    PyLongObject *v, *w, *a;
 3324|    150|    Py_ssize_t i, k, size_v, size_w;
 3325|    150|    int d;
 3326|    150|    digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak;
 3327|    150|    twodigits vv;
 3328|    150|    sdigit zhi;
 3329|    150|    stwodigits z;
 3330|       |
 3331|       |    /* We follow Knuth [The Art of Computer Programming, Vol. 2 (3rd
 3332|       |       edn.), section 4.3.1, Algorithm D], except that we don't explicitly
 3333|       |       handle the special case when the initial estimate q for a quotient
 3334|       |       digit is >= PyLong_BASE: the max value for q is PyLong_BASE+1, and
 3335|       |       that won't overflow a digit. */
 3336|       |
 3337|       |    /* allocate space; w will also be used to hold the final remainder */
 3338|    150|    size_v = _PyLong_DigitCount(v1);
 3339|    150|    size_w = _PyLong_DigitCount(w1);
 3340|    150|    assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
 3341|    150|    v = long_alloc(size_v+1);
 3342|    150|    if (v == NULL) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 150]
  ------------------
 3343|      0|        *prem = NULL;
 3344|      0|        return NULL;
 3345|      0|    }
 3346|    150|    w = long_alloc(size_w);
 3347|    150|    if (w == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 150]
  ------------------
 3348|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3349|      0|        *prem = NULL;
 3350|      0|        return NULL;
 3351|      0|    }
 3352|       |
 3353|       |    /* normalize: shift w1 left so that its top digit is >= PyLong_BASE/2.
 3354|       |       shift v1 left by the same amount.  Results go into w and v. */
 3355|    150|    d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
  ------------------
  |  |   47|    150|#define PyLong_SHIFT    30
  ------------------
 3356|    150|    carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
 3357|    150|    assert(carry == 0);
 3358|    150|    carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);
 3359|    150|    if (carry != 0 || v->long_value.ob_digit[size_v-1] >= w->long_value.ob_digit[size_w-1]) {
  ------------------
  |  Branch (3359:9): [True: 134, False: 16]
  |  Branch (3359:23): [True: 0, False: 16]
  ------------------
 3360|    134|        v->long_value.ob_digit[size_v] = carry;
 3361|    134|        size_v++;
 3362|    134|    }
 3363|       |
 3364|       |    /* Now v->long_value.ob_digit[size_v-1] < w->long_value.ob_digit[size_w-1], so quotient has
 3365|       |       at most (and usually exactly) k = size_v - size_w digits. */
 3366|    150|    k = size_v - size_w;
 3367|    150|    assert(k >= 0);
 3368|    150|    a = long_alloc(k);
 3369|    150|    if (a == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 150]
  ------------------
 3370|      0|        Py_DECREF(w);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3371|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|      0|        *prem = NULL;
 3373|      0|        return NULL;
 3374|      0|    }
 3375|    150|    a->long_value.ob_digit[0] = 0;
 3376|    150|    v0 = v->long_value.ob_digit;
 3377|    150|    w0 = w->long_value.ob_digit;
 3378|    150|    wm1 = w0[size_w-1];
 3379|    150|    wm2 = w0[size_w-2];
 3380|    462|    for (vk = v0+k, ak = a->long_value.ob_digit + k; vk-- > v0;) {
  ------------------
  |  Branch (3380:54): [True: 312, False: 150]
  ------------------
 3381|       |        /* inner loop: divide vk[0:size_w+1] by w0[0:size_w], giving
 3382|       |           single-digit quotient q, remainder in vk[0:size_w]. */
 3383|       |
 3384|    312|        SIGCHECK({
  ------------------
  |  |  117|    312|    do {                                        \
  |  |  118|    312|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 312]
  |  |  ------------------
  |  |  119|    312|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 312]
  |  |  ------------------
  ------------------
 3385|    312|                Py_DECREF(a);
 3386|    312|                Py_DECREF(w);
 3387|    312|                Py_DECREF(v);
 3388|    312|                *prem = NULL;
 3389|    312|                return NULL;
 3390|    312|            });
 3391|       |
 3392|       |        /* estimate quotient digit q; may overestimate by 1 (rare) */
 3393|    312|        vtop = vk[size_w];
 3394|    312|        assert(vtop <= wm1);
 3395|    312|        vv = ((twodigits)vtop << PyLong_SHIFT) | vk[size_w-1];
  ------------------
  |  |   47|    312|#define PyLong_SHIFT    30
  ------------------
 3396|       |        /* The code used to compute the remainder via
 3397|       |         *     r = (digit)(vv - (twodigits)wm1 * q);
 3398|       |         * and compilers generally generated code to do the * and -.
 3399|       |         * But modern processors generally compute q and r with a single
 3400|       |         * instruction, and modern optimizing compilers exploit that if we
 3401|       |         * _don't_ try to optimize it.
 3402|       |         */
 3403|    312|        q = (digit)(vv / wm1);
 3404|    312|        r = (digit)(vv % wm1);
 3405|    312|        while ((twodigits)wm2 * q > (((twodigits)r << PyLong_SHIFT)
  ------------------
  |  |   47|    312|#define PyLong_SHIFT    30
  ------------------
  |  Branch (3405:16): [True: 100, False: 212]
  ------------------
 3406|    312|                                     | vk[size_w-2])) {
 3407|    100|            --q;
 3408|    100|            r += wm1;
 3409|    100|            if (r >= PyLong_BASE)
  ------------------
  |  |   61|    100|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|    100|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (3409:17): [True: 100, False: 0]
  ------------------
 3410|    100|                break;
 3411|    100|        }
 3412|    312|        assert(q <= PyLong_BASE);
 3413|       |
 3414|       |        /* subtract q*w0[0:size_w] from vk[0:size_w+1] */
 3415|    312|        zhi = 0;
 3416|  1.24k|        for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3416:21): [True: 936, False: 312]
  ------------------
 3417|       |            /* invariants: -PyLong_BASE <= -q <= zhi <= 0;
 3418|       |               -PyLong_BASE * q <= z < PyLong_BASE */
 3419|    936|            z = (sdigit)vk[i] + zhi -
 3420|    936|                (stwodigits)q * (stwodigits)w0[i];
 3421|    936|            vk[i] = (digit)z & PyLong_MASK;
  ------------------
  |  |   62|    936|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    936|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    936|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|    936|            zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits,
  ------------------
  |  |  226|    936|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
 3423|    936|                                                    z, PyLong_SHIFT);
 3424|    936|        }
 3425|       |
 3426|       |        /* add w back if q was too large (this branch taken rarely) */
 3427|    312|        assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0);
 3428|    312|        if ((sdigit)vtop + zhi < 0) {
  ------------------
  |  Branch (3428:13): [True: 0, False: 312]
  ------------------
 3429|      0|            carry = 0;
 3430|      0|            for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3430:25): [True: 0, False: 0]
  ------------------
 3431|      0|                carry += vk[i] + w0[i];
 3432|      0|                vk[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|      0|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3434|      0|            }
 3435|      0|            --q;
 3436|      0|        }
 3437|       |
 3438|       |        /* store quotient digit */
 3439|    312|        assert(q < PyLong_BASE);
 3440|    312|        *--ak = q;
 3441|    312|    }
 3442|       |
 3443|       |    /* unshift remainder; we reuse w to store the result */
 3444|    150|    carry = v_rshift(w0, v0, size_w, d);
 3445|    150|    assert(carry==0);
 3446|    150|    Py_DECREF(v);
  ------------------
  |  |  430|    150|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|       |
 3448|    150|    *prem = long_normalize(w);
 3449|    150|    return long_normalize(a);
 3450|    150|}
longobject.c:long_divrem:
 3216|  20.5k|{
 3217|  20.5k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3218|  20.5k|    PyLongObject *z;
 3219|       |
 3220|  20.5k|    if (size_b == 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 20.5k]
  ------------------
 3221|      0|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3222|      0|        return -1;
 3223|      0|    }
 3224|  20.5k|    if (size_a < size_b ||
  ------------------
  |  Branch (3224:9): [True: 20.5k, False: 4]
  ------------------
 3225|      4|        (size_a == size_b &&
  ------------------
  |  Branch (3225:10): [True: 0, False: 4]
  ------------------
 3226|  20.5k|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3226:10): [True: 0, False: 0]
  ------------------
 3227|       |        /* |a| < |b|. */
 3228|  20.5k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3229|  20.5k|        if (*prem == NULL) {
  ------------------
  |  Branch (3229:13): [True: 0, False: 20.5k]
  ------------------
 3230|      0|            return -1;
 3231|      0|        }
 3232|  20.5k|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3233|  20.5k|        return 0;
 3234|  20.5k|    }
 3235|      4|    if (size_b == 1) {
  ------------------
  |  Branch (3235:9): [True: 4, False: 0]
  ------------------
 3236|      4|        digit rem = 0;
 3237|      4|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3238|      4|        if (z == NULL)
  ------------------
  |  Branch (3238:13): [True: 0, False: 4]
  ------------------
 3239|      0|            return -1;
 3240|      4|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3241|      4|        if (*prem == NULL) {
  ------------------
  |  Branch (3241:13): [True: 0, False: 4]
  ------------------
 3242|      0|            Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      0|            return -1;
 3244|      0|        }
 3245|      4|    }
 3246|      0|    else {
 3247|      0|        z = x_divrem(a, b, prem);
 3248|      0|        *prem = maybe_small_long(*prem);
 3249|      0|        if (z == NULL)
  ------------------
  |  Branch (3249:13): [True: 0, False: 0]
  ------------------
 3250|      0|            return -1;
 3251|      0|    }
 3252|       |    /* Set the signs.
 3253|       |       The quotient z has the sign of a*b;
 3254|       |       the remainder r has the sign of a,
 3255|       |       so a = b*z + r. */
 3256|      4|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3256:9): [True: 0, False: 4]
  ------------------
 3257|      0|        _PyLong_Negate(&z);
 3258|      0|        if (z == NULL) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 0]
  ------------------
 3259|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3260|      0|            return -1;
 3261|      0|        }
 3262|      0|    }
 3263|      4|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 4]
  |  Branch (3263:34): [True: 0, False: 0]
  ------------------
 3264|      0|        _PyLong_Negate(prem);
 3265|      0|        if (*prem == NULL) {
  ------------------
  |  Branch (3265:13): [True: 0, False: 0]
  ------------------
 3266|      0|            Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3267|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3268|      0|            return -1;
 3269|      0|        }
 3270|      0|    }
 3271|      4|    *pdiv = maybe_small_long(z);
 3272|      4|    return 0;
 3273|      4|}
longobject.c:divrem1:
 1983|      4|{
 1984|      4|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|      4|    PyLongObject *z;
 1986|       |
 1987|      4|    assert(n > 0 && n <= PyLong_MASK);
 1988|      4|    z = long_alloc(size);
 1989|      4|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 4]
  ------------------
 1990|      0|        return NULL;
 1991|      4|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|      4|    return long_normalize(z);
 1993|      4|}
longobject.c:inplace_divrem1:
 1961|      4|{
 1962|      4|    digit remainder = 0;
 1963|       |
 1964|      4|    assert(n > 0 && n <= PyLong_MASK);
 1965|     76|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 72, False: 4]
  ------------------
 1966|     72|        twodigits dividend;
 1967|     72|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|     72|#define PyLong_SHIFT    30
  ------------------
 1968|     72|        digit quotient;
 1969|     72|        quotient = (digit)(dividend / n);
 1970|     72|        remainder = dividend % n;
 1971|     72|        pout[size] = quotient;
 1972|     72|    }
 1973|      4|    return remainder;
 1974|      4|}
longobject.c:long_neg:
 5267|  20.7k|{
 5268|  20.7k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5268:9): [True: 18.0k, False: 2.64k]
  ------------------
 5269|  18.0k|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|  18.0k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5270|  18.0k|    }
 5271|       |
 5272|  2.64k|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5273|  2.64k|    if (z != NULL) {
  ------------------
  |  Branch (5273:9): [True: 2.64k, False: 0]
  ------------------
 5274|  2.64k|        _PyLong_FlipSign(z);
 5275|  2.64k|    }
 5276|  2.64k|    return z;
 5277|  20.7k|}
longobject.c:long_sub:
 3884|  32.9k|{
 3885|  32.9k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3885:9): [True: 13.5k, False: 19.4k]
  ------------------
 3886|  13.5k|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  13.5k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  13.5k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3887|  13.5k|    }
 3888|       |
 3889|  19.4k|    PyLongObject *z;
 3890|  19.4k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3890:9): [True: 2, False: 19.4k]
  ------------------
 3891|      2|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3891:13): [True: 0, False: 2]
  ------------------
 3892|      0|            z = x_sub(b, a);
 3893|      0|        }
 3894|      2|        else {
 3895|      2|            z = x_add(a, b);
 3896|      2|            if (z != NULL) {
  ------------------
  |  Branch (3896:17): [True: 2, False: 0]
  ------------------
 3897|      2|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
 3898|      2|                _PyLong_FlipSign(z);
 3899|      2|            }
 3900|      2|        }
 3901|      2|    }
 3902|  19.4k|    else {
 3903|  19.4k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3903:13): [True: 0, False: 19.4k]
  ------------------
 3904|      0|            z = x_add(a, b);
 3905|  19.4k|        else
 3906|  19.4k|            z = x_sub(a, b);
 3907|  19.4k|    }
 3908|  19.4k|    return z;
 3909|  32.9k|}
longobject.c:x_sub:
 3781|  19.4k|{
 3782|  19.4k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3783|  19.4k|    PyLongObject *z;
 3784|  19.4k|    Py_ssize_t i;
 3785|  19.4k|    int sign = 1;
 3786|  19.4k|    digit borrow = 0;
 3787|       |
 3788|       |    /* Ensure a is the larger of the two: */
 3789|  19.4k|    if (size_a < size_b) {
  ------------------
  |  Branch (3789:9): [True: 0, False: 19.4k]
  ------------------
 3790|      0|        sign = -1;
 3791|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3792|      0|        { Py_ssize_t size_temp = size_a;
 3793|      0|            size_a = size_b;
 3794|      0|            size_b = size_temp; }
 3795|      0|    }
 3796|  19.4k|    else if (size_a == size_b) {
  ------------------
  |  Branch (3796:14): [True: 0, False: 19.4k]
  ------------------
 3797|       |        /* Find highest digit where a and b differ: */
 3798|      0|        i = size_a;
 3799|      0|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3799:16): [True: 0, False: 0]
  |  Branch (3799:28): [True: 0, False: 0]
  ------------------
 3800|      0|            ;
 3801|      0|        if (i < 0)
  ------------------
  |  Branch (3801:13): [True: 0, False: 0]
  ------------------
 3802|      0|            return (PyLongObject *)PyLong_FromLong(0);
 3803|      0|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3803:13): [True: 0, False: 0]
  ------------------
 3804|      0|            sign = -1;
 3805|      0|            { PyLongObject *temp = a; a = b; b = temp; }
 3806|      0|        }
 3807|      0|        size_a = size_b = i+1;
 3808|      0|    }
 3809|  19.4k|    z = long_alloc(size_a);
 3810|  19.4k|    if (z == NULL)
  ------------------
  |  Branch (3810:9): [True: 0, False: 19.4k]
  ------------------
 3811|      0|        return NULL;
 3812|  29.2k|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3812:17): [True: 9.77k, False: 19.4k]
  ------------------
 3813|       |        /* The following assumes unsigned arithmetic
 3814|       |           works module 2**N for some N>PyLong_SHIFT. */
 3815|  9.77k|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3816|  9.77k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  9.77k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  9.77k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  9.77k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|  9.77k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  9.77k|#define PyLong_SHIFT    30
  ------------------
 3818|  9.77k|        borrow &= 1; /* Keep only one sign bit */
 3819|  9.77k|    }
 3820|  51.7k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3820:12): [True: 32.3k, False: 19.4k]
  ------------------
 3821|  32.3k|        borrow = a->long_value.ob_digit[i] - borrow;
 3822|  32.3k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  32.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  32.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  32.3k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|  32.3k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  32.3k|#define PyLong_SHIFT    30
  ------------------
 3824|  32.3k|        borrow &= 1; /* Keep only one sign bit */
 3825|  32.3k|    }
 3826|  19.4k|    assert(borrow == 0);
 3827|  19.4k|    if (sign < 0) {
  ------------------
  |  Branch (3827:9): [True: 0, False: 19.4k]
  ------------------
 3828|      0|        _PyLong_FlipSign(z);
 3829|      0|    }
 3830|  19.4k|    return maybe_small_long(long_normalize(z));
 3831|  19.4k|}
longobject.c:x_add:
 3747|    442|{
 3748|    442|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3749|    442|    PyLongObject *z;
 3750|    442|    Py_ssize_t i;
 3751|    442|    digit carry = 0;
 3752|       |
 3753|       |    /* Ensure a is the larger of the two: */
 3754|    442|    if (size_a < size_b) {
  ------------------
  |  Branch (3754:9): [True: 152, False: 290]
  ------------------
 3755|    152|        { PyLongObject *temp = a; a = b; b = temp; }
 3756|    152|        { Py_ssize_t size_temp = size_a;
 3757|    152|            size_a = size_b;
 3758|    152|            size_b = size_temp; }
 3759|    152|    }
 3760|    442|    z = long_alloc(size_a+1);
 3761|    442|    if (z == NULL)
  ------------------
  |  Branch (3761:9): [True: 0, False: 442]
  ------------------
 3762|      0|        return NULL;
 3763|    884|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3763:17): [True: 442, False: 442]
  ------------------
 3764|    442|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3765|    442|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    442|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    442|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    442|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3766|    442|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    442|#define PyLong_SHIFT    30
  ------------------
 3767|    442|    }
 3768|  1.26k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3768:12): [True: 826, False: 442]
  ------------------
 3769|    826|        carry += a->long_value.ob_digit[i];
 3770|    826|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    826|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    826|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    826|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|    826|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    826|#define PyLong_SHIFT    30
  ------------------
 3772|    826|    }
 3773|    442|    z->long_value.ob_digit[i] = carry;
 3774|    442|    return long_normalize(z);
 3775|    442|}
longobject.c:long_add:
 3835|   234k|{
 3836|   234k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3836:9): [True: 233k, False: 440]
  ------------------
 3837|   233k|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|   233k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|   233k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3838|   233k|        return _PyLong_FromSTwoDigits(z);
 3839|   233k|    }
 3840|       |
 3841|    440|    PyLongObject *z;
 3842|    440|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 440]
  ------------------
 3843|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3843:13): [True: 0, False: 0]
  ------------------
 3844|      0|            z = x_add(a, b);
 3845|      0|            if (z != NULL) {
  ------------------
  |  Branch (3845:17): [True: 0, False: 0]
  ------------------
 3846|       |                /* x_add received at least one multiple-digit int,
 3847|       |                   and thus z must be a multiple-digit int.
 3848|       |                   That also means z is not an element of
 3849|       |                   small_ints, so negating it in-place is safe. */
 3850|      0|                assert(Py_REFCNT(z) == 1);
 3851|      0|                _PyLong_FlipSign(z);
 3852|      0|            }
 3853|      0|        }
 3854|      0|        else
 3855|      0|            z = x_sub(b, a);
 3856|      0|    }
 3857|    440|    else {
 3858|    440|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3858:13): [True: 0, False: 440]
  ------------------
 3859|      0|            z = x_sub(a, b);
 3860|    440|        else
 3861|    440|            z = x_add(a, b);
 3862|    440|    }
 3863|    440|    return z;
 3864|   234k|}
longobject.c:long_dealloc:
 3652|  28.3M|{
 3653|  28.3M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 28.3M]
  ------------------
 3654|       |        /* This should never get called, but we also don't want to SEGV if
 3655|       |         * we accidentally decref small Ints out of existence. Instead,
 3656|       |         * since small Ints are immortal, re-set the reference count.
 3657|       |         *
 3658|       |         * See PEP 683, section Accidental De-Immortalizing for details
 3659|       |         */
 3660|      0|        _Py_SetImmortal(self);
 3661|      0|        return;
 3662|      0|    }
 3663|  28.3M|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  28.3M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  56.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  28.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  28.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28.3M, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3663:36): [True: 22.2M, False: 6.12M]
  ------------------
 3664|  22.2M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  22.2M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  22.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  22.2M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  22.2M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3665|  22.2M|        return;
 3666|  22.2M|    }
 3667|  6.12M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  6.12M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3668|  6.12M|}
longobject.c:long_to_decimal_string:
 2321|  66.6k|{
 2322|  66.6k|    PyObject *v;
 2323|  66.6k|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2323:9): [True: 0, False: 66.6k]
  ------------------
 2324|      0|        return NULL;
 2325|  66.6k|    return v;
 2326|  66.6k|}
longobject.c:long_add_method:
 3876|   294k|{
 3877|   294k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   294k|    do {                                                \
  |  | 1845|   294k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   294k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   589k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   294k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   294k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 294k]
  |  |  |  Branch (1845:33): [True: 60.2k, False: 234k]
  |  |  ------------------
  |  | 1846|   294k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  60.2k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  60.2k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   294k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 234k]
  |  |  ------------------
  ------------------
 3878|   234k|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3879|   294k|}
longobject.c:long_sub_method:
 3921|  32.9k|{
 3922|  32.9k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  32.9k|    do {                                                \
  |  | 1845|  32.9k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  32.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  65.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  32.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  32.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 32.9k]
  |  |  |  Branch (1845:33): [True: 17, False: 32.9k]
  |  |  ------------------
  |  | 1846|  32.9k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|     17|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|     17|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  32.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 32.9k]
  |  |  ------------------
  ------------------
 3923|  32.9k|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3924|  32.9k|}
longobject.c:long_mul_method:
 4368|    825|{
 4369|    825|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    825|    do {                                                \
  |  | 1845|    825|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    825|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.65k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    693|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    693|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 132, False: 693]
  |  |  |  Branch (1845:33): [True: 47, False: 646]
  |  |  ------------------
  |  | 1846|    825|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    179|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    179|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    825|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 646]
  |  |  ------------------
  ------------------
 4370|    646|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4371|    825|}
longobject.c:long_mul:
 4341|  4.04M|{
 4342|       |    /* fast path for single-digit multiplication */
 4343|  4.04M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4343:9): [True: 3.99M, False: 54.1k]
  ------------------
 4344|  3.99M|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  3.99M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  3.99M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4345|  3.99M|        return _PyLong_FromSTwoDigits(v);
 4346|  3.99M|    }
 4347|       |
 4348|  54.1k|    PyLongObject *z = k_mul(a, b);
 4349|       |    /* Negate if exactly one of the inputs is negative. */
 4350|  54.1k|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4350:9): [True: 2, False: 54.1k]
  |  Branch (4350:36): [True: 2, False: 0]
  ------------------
 4351|      2|        _PyLong_Negate(&z);
 4352|      2|    }
 4353|  54.1k|    return z;
 4354|  4.04M|}
longobject.c:k_mul:
 4071|  54.1k|{
 4072|  54.1k|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4073|  54.1k|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4074|  54.1k|    PyLongObject *ah = NULL;
 4075|  54.1k|    PyLongObject *al = NULL;
 4076|  54.1k|    PyLongObject *bh = NULL;
 4077|  54.1k|    PyLongObject *bl = NULL;
 4078|  54.1k|    PyLongObject *ret = NULL;
 4079|  54.1k|    PyLongObject *t1, *t2, *t3;
 4080|  54.1k|    Py_ssize_t shift;           /* the number of digits we split off */
 4081|  54.1k|    Py_ssize_t i;
 4082|       |
 4083|       |    /* (ah*X+al)(bh*X+bl) = ah*bh*X*X + (ah*bl + al*bh)*X + al*bl
 4084|       |     * Let k = (ah+al)*(bh+bl) = ah*bl + al*bh  + ah*bh + al*bl
 4085|       |     * Then the original product is
 4086|       |     *     ah*bh*X*X + (k - ah*bh - al*bl)*X + al*bl
 4087|       |     * By picking X to be a power of 2, "*X" is just shifting, and it's
 4088|       |     * been reduced to 3 multiplies on numbers half the size.
 4089|       |     */
 4090|       |
 4091|       |    /* We want to split based on the larger number; fiddle so that b
 4092|       |     * is largest.
 4093|       |     */
 4094|  54.1k|    if (asize > bsize) {
  ------------------
  |  Branch (4094:9): [True: 50.9k, False: 3.21k]
  ------------------
 4095|  50.9k|        t1 = a;
 4096|  50.9k|        a = b;
 4097|  50.9k|        b = t1;
 4098|       |
 4099|  50.9k|        i = asize;
 4100|  50.9k|        asize = bsize;
 4101|  50.9k|        bsize = i;
 4102|  50.9k|    }
 4103|       |
 4104|       |    /* Use gradeschool math when either number is too small. */
 4105|  54.1k|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|  3.19k|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|  3.19k|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|   105k|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4105:9): [True: 3.19k, False: 50.9k]
  ------------------
 4106|  54.1k|    if (asize <= i) {
  ------------------
  |  Branch (4106:9): [True: 54.1k, False: 0]
  ------------------
 4107|  54.1k|        if (asize == 0)
  ------------------
  |  Branch (4107:13): [True: 2, False: 54.1k]
  ------------------
 4108|      2|            return (PyLongObject *)PyLong_FromLong(0);
 4109|  54.1k|        else
 4110|  54.1k|            return x_mul(a, b);
 4111|  54.1k|    }
 4112|       |
 4113|       |    /* If a is small compared to b, splitting on b gives a degenerate
 4114|       |     * case with ah==0, and Karatsuba may be (even much) less efficient
 4115|       |     * than "grade school" then.  However, we can still win, by viewing
 4116|       |     * b as a string of "big digits", each of the same width as a. That
 4117|       |     * leads to a sequence of balanced calls to k_mul.
 4118|       |     */
 4119|      0|    if (2 * asize <= bsize)
  ------------------
  |  Branch (4119:9): [True: 0, False: 0]
  ------------------
 4120|      0|        return k_lopsided_mul(a, b);
 4121|       |
 4122|       |    /* Split a & b into hi & lo pieces. */
 4123|      0|    shift = bsize >> 1;
 4124|      0|    if (kmul_split(a, shift, &ah, &al) < 0) goto fail;
  ------------------
  |  Branch (4124:9): [True: 0, False: 0]
  ------------------
 4125|      0|    assert(_PyLong_IsPositive(ah));        /* the split isn't degenerate */
 4126|       |
 4127|      0|    if (a == b) {
  ------------------
  |  Branch (4127:9): [True: 0, False: 0]
  ------------------
 4128|      0|        bh = (PyLongObject*)Py_NewRef(ah);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|      0|        bl = (PyLongObject*)Py_NewRef(al);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|      0|    }
 4131|      0|    else if (kmul_split(b, shift, &bh, &bl) < 0) goto fail;
  ------------------
  |  Branch (4131:14): [True: 0, False: 0]
  ------------------
 4132|       |
 4133|       |    /* The plan:
 4134|       |     * 1. Allocate result space (asize + bsize digits:  that's always
 4135|       |     *    enough).
 4136|       |     * 2. Compute ah*bh, and copy into result at 2*shift.
 4137|       |     * 3. Compute al*bl, and copy into result at 0.  Note that this
 4138|       |     *    can't overlap with #2.
 4139|       |     * 4. Subtract al*bl from the result, starting at shift.  This may
 4140|       |     *    underflow (borrow out of the high digit), but we don't care:
 4141|       |     *    we're effectively doing unsigned arithmetic mod
 4142|       |     *    BASE**(sizea + sizeb), and so long as the *final* result fits,
 4143|       |     *    borrows and carries out of the high digit can be ignored.
 4144|       |     * 5. Subtract ah*bh from the result, starting at shift.
 4145|       |     * 6. Compute (ah+al)*(bh+bl), and add it into the result starting
 4146|       |     *    at shift.
 4147|       |     */
 4148|       |
 4149|       |    /* 1. Allocate result space. */
 4150|      0|    ret = long_alloc(asize + bsize);
 4151|      0|    if (ret == NULL) goto fail;
  ------------------
  |  Branch (4151:9): [True: 0, False: 0]
  ------------------
 4152|       |
 4153|       |    /* 2. t1 <- ah*bh, and copy into high digits of result. */
 4154|      0|    if ((t1 = k_mul(ah, bh)) == NULL) goto fail;
  ------------------
  |  Branch (4154:9): [True: 0, False: 0]
  ------------------
 4155|      0|    assert(!_PyLong_IsNegative(t1));
 4156|      0|    assert(2*shift + _PyLong_DigitCount(t1) <= _PyLong_DigitCount(ret));
 4157|      0|    memcpy(ret->long_value.ob_digit + 2*shift, t1->long_value.ob_digit,
 4158|      0|           _PyLong_DigitCount(t1) * sizeof(digit));
 4159|       |
 4160|       |    /* Zero-out the digits higher than the ah*bh copy. */
 4161|      0|    i = _PyLong_DigitCount(ret) - 2*shift - _PyLong_DigitCount(t1);
 4162|      0|    if (i)
  ------------------
  |  Branch (4162:9): [True: 0, False: 0]
  ------------------
 4163|      0|        memset(ret->long_value.ob_digit + 2*shift + _PyLong_DigitCount(t1), 0,
 4164|      0|               i * sizeof(digit));
 4165|       |
 4166|       |    /* 3. t2 <- al*bl, and copy into the low digits. */
 4167|      0|    if ((t2 = k_mul(al, bl)) == NULL) {
  ------------------
  |  Branch (4167:9): [True: 0, False: 0]
  ------------------
 4168|      0|        Py_DECREF(t1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4169|      0|        goto fail;
 4170|      0|    }
 4171|      0|    assert(!_PyLong_IsNegative(t2));
 4172|      0|    assert(_PyLong_DigitCount(t2) <= 2*shift); /* no overlap with high digits */
 4173|      0|    memcpy(ret->long_value.ob_digit, t2->long_value.ob_digit, _PyLong_DigitCount(t2) * sizeof(digit));
 4174|       |
 4175|       |    /* Zero out remaining digits. */
 4176|      0|    i = 2*shift - _PyLong_DigitCount(t2);          /* number of uninitialized digits */
 4177|      0|    if (i)
  ------------------
  |  Branch (4177:9): [True: 0, False: 0]
  ------------------
 4178|      0|        memset(ret->long_value.ob_digit + _PyLong_DigitCount(t2), 0, i * sizeof(digit));
 4179|       |
 4180|       |    /* 4 & 5. Subtract ah*bh (t1) and al*bl (t2).  We do al*bl first
 4181|       |     * because it's fresher in cache.
 4182|       |     */
 4183|      0|    i = _PyLong_DigitCount(ret) - shift;  /* # digits after shift */
 4184|      0|    (void)v_isub(ret->long_value.ob_digit + shift, i, t2->long_value.ob_digit, _PyLong_DigitCount(t2));
 4185|      0|    _Py_DECREF_INT(t2);
 4186|       |
 4187|      0|    (void)v_isub(ret->long_value.ob_digit + shift, i, t1->long_value.ob_digit, _PyLong_DigitCount(t1));
 4188|      0|    _Py_DECREF_INT(t1);
 4189|       |
 4190|       |    /* 6. t3 <- (ah+al)(bh+bl), and add into result. */
 4191|      0|    if ((t1 = x_add(ah, al)) == NULL) goto fail;
  ------------------
  |  Branch (4191:9): [True: 0, False: 0]
  ------------------
 4192|      0|    _Py_DECREF_INT(ah);
 4193|      0|    _Py_DECREF_INT(al);
 4194|      0|    ah = al = NULL;
 4195|       |
 4196|      0|    if (a == b) {
  ------------------
  |  Branch (4196:9): [True: 0, False: 0]
  ------------------
 4197|      0|        t2 = (PyLongObject*)Py_NewRef(t1);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|      0|    }
 4199|      0|    else if ((t2 = x_add(bh, bl)) == NULL) {
  ------------------
  |  Branch (4199:14): [True: 0, False: 0]
  ------------------
 4200|      0|        Py_DECREF(t1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|      0|        goto fail;
 4202|      0|    }
 4203|      0|    _Py_DECREF_INT(bh);
 4204|      0|    _Py_DECREF_INT(bl);
 4205|      0|    bh = bl = NULL;
 4206|       |
 4207|      0|    t3 = k_mul(t1, t2);
 4208|      0|    _Py_DECREF_INT(t1);
 4209|      0|    _Py_DECREF_INT(t2);
 4210|      0|    if (t3 == NULL) goto fail;
  ------------------
  |  Branch (4210:9): [True: 0, False: 0]
  ------------------
 4211|      0|    assert(!_PyLong_IsNegative(t3));
 4212|       |
 4213|       |    /* Add t3.  It's not obvious why we can't run out of room here.
 4214|       |     * See the (*) comment after this function.
 4215|       |     */
 4216|      0|    (void)v_iadd(ret->long_value.ob_digit + shift, i, t3->long_value.ob_digit, _PyLong_DigitCount(t3));
 4217|      0|    _Py_DECREF_INT(t3);
 4218|       |
 4219|      0|    return long_normalize(ret);
 4220|       |
 4221|      0|  fail:
 4222|      0|    Py_XDECREF(ret);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4223|      0|    Py_XDECREF(ah);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4224|      0|    Py_XDECREF(al);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|      0|    Py_XDECREF(bh);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|      0|    Py_XDECREF(bl);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4227|       |    return NULL;
 4228|      0|}
longobject.c:x_mul:
 3932|  54.1k|{
 3933|  54.1k|    PyLongObject *z;
 3934|  54.1k|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3935|  54.1k|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3936|  54.1k|    Py_ssize_t i;
 3937|       |
 3938|  54.1k|    z = long_alloc(size_a + size_b);
 3939|  54.1k|    if (z == NULL)
  ------------------
  |  Branch (3939:9): [True: 0, False: 54.1k]
  ------------------
 3940|      0|        return NULL;
 3941|       |
 3942|  54.1k|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3943|  54.1k|    if (a == b) {
  ------------------
  |  Branch (3943:9): [True: 3.19k, False: 50.9k]
  ------------------
 3944|       |        /* Efficient squaring per HAC, Algorithm 14.16:
 3945|       |         * https://cacr.uwaterloo.ca/hac/about/chap14.pdf
 3946|       |         * Gives slightly less than a 2x speedup when a == b,
 3947|       |         * via exploiting that each entry in the multiplication
 3948|       |         * pyramid appears twice (except for the size_a squares).
 3949|       |         */
 3950|  3.19k|        digit *paend = a->long_value.ob_digit + size_a;
 3951|  9.64k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3951:21): [True: 6.44k, False: 3.19k]
  ------------------
 3952|  6.44k|            twodigits carry;
 3953|  6.44k|            twodigits f = a->long_value.ob_digit[i];
 3954|  6.44k|            digit *pz = z->long_value.ob_digit + (i << 1);
 3955|  6.44k|            digit *pa = a->long_value.ob_digit + i + 1;
 3956|       |
 3957|  6.44k|            SIGCHECK({
  ------------------
  |  |  117|  6.44k|    do {                                        \
  |  |  118|  6.44k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 6.44k]
  |  |  ------------------
  |  |  119|  6.44k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 6.44k]
  |  |  ------------------
  ------------------
 3958|  6.44k|                    Py_DECREF(z);
 3959|  6.44k|                    return NULL;
 3960|  6.44k|                });
 3961|       |
 3962|  6.44k|            carry = *pz + f * f;
 3963|  6.44k|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  6.44k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  6.44k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  6.44k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|  6.44k|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  6.44k|#define PyLong_SHIFT    30
  ------------------
 3965|  6.44k|            assert(carry <= PyLong_MASK);
 3966|       |
 3967|       |            /* Now f is added in twice in each column of the
 3968|       |             * pyramid it appears.  Same as adding f<<1 once.
 3969|       |             */
 3970|  6.44k|            f <<= 1;
 3971|  9.73k|            while (pa < paend) {
  ------------------
  |  Branch (3971:20): [True: 3.29k, False: 6.44k]
  ------------------
 3972|  3.29k|                carry += *pz + *pa++ * f;
 3973|  3.29k|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  3.29k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  3.29k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.29k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|  3.29k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  3.29k|#define PyLong_SHIFT    30
  ------------------
 3975|  3.29k|                assert(carry <= (PyLong_MASK << 1));
 3976|  3.29k|            }
 3977|  6.44k|            if (carry) {
  ------------------
  |  Branch (3977:17): [True: 190, False: 6.25k]
  ------------------
 3978|       |                /* See comment below. pz points at the highest possible
 3979|       |                 * carry position from the last outer loop iteration, so
 3980|       |                 * *pz is at most 1.
 3981|       |                 */
 3982|    190|                assert(*pz <= 1);
 3983|    190|                carry += *pz;
 3984|    190|                *pz = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|    190|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    190|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    190|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3985|    190|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    190|#define PyLong_SHIFT    30
  ------------------
 3986|    190|                if (carry) {
  ------------------
  |  Branch (3986:21): [True: 12, False: 178]
  ------------------
 3987|       |                    /* If there's still a carry, it must be into a position
 3988|       |                     * that still holds a 0. Where the base
 3989|       |                     ^ B is 1 << PyLong_SHIFT, the last add was of a carry no
 3990|       |                     * more than 2*B - 2 to a stored digit no more than 1.
 3991|       |                     * So the sum was no more than 2*B - 1, so the current
 3992|       |                     * carry no more than floor((2*B - 1)/B) = 1.
 3993|       |                     */
 3994|     12|                    assert(carry == 1);
 3995|     12|                    assert(pz[1] == 0);
 3996|     12|                    pz[1] = (digit)carry;
 3997|     12|                }
 3998|    190|            }
 3999|  6.44k|        }
 4000|  3.19k|    }
 4001|  50.9k|    else {      /* a is not the same as b -- gradeschool int mult */
 4002|   101k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4002:21): [True: 50.9k, False: 50.9k]
  ------------------
 4003|  50.9k|            twodigits carry = 0;
 4004|  50.9k|            twodigits f = a->long_value.ob_digit[i];
 4005|  50.9k|            digit *pz = z->long_value.ob_digit + i;
 4006|  50.9k|            digit *pb = b->long_value.ob_digit;
 4007|  50.9k|            digit *pbend = b->long_value.ob_digit + size_b;
 4008|       |
 4009|  50.9k|            SIGCHECK({
  ------------------
  |  |  117|  50.9k|    do {                                        \
  |  |  118|  50.9k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 50.9k]
  |  |  ------------------
  |  |  119|  50.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 50.9k]
  |  |  ------------------
  ------------------
 4010|  50.9k|                    Py_DECREF(z);
 4011|  50.9k|                    return NULL;
 4012|  50.9k|                });
 4013|       |
 4014|   154k|            while (pb < pbend) {
  ------------------
  |  Branch (4014:20): [True: 104k, False: 50.9k]
  ------------------
 4015|   104k|                carry += *pz + *pb++ * f;
 4016|   104k|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   104k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   104k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   104k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|   104k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   104k|#define PyLong_SHIFT    30
  ------------------
 4018|   104k|                assert(carry <= PyLong_MASK);
 4019|   104k|            }
 4020|  50.9k|            if (carry)
  ------------------
  |  Branch (4020:17): [True: 46, False: 50.8k]
  ------------------
 4021|     46|                *pz += (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|     46|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     46|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     46|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|  50.9k|            assert((carry >> PyLong_SHIFT) == 0);
 4023|  50.9k|        }
 4024|  50.9k|    }
 4025|  54.1k|    return long_normalize(z);
 4026|  54.1k|}
longobject.c:long_mod:
 4862|  8.04M|{
 4863|  8.04M|    PyLongObject *mod;
 4864|       |
 4865|  8.04M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  8.04M|    do {                                                \
  |  | 1845|  8.04M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  8.04M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  16.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  8.04M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.04M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 8.04M]
  |  |  |  Branch (1845:33): [True: 0, False: 8.04M]
  |  |  ------------------
  |  | 1846|  8.04M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  8.04M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 8.04M]
  |  |  ------------------
  ------------------
 4866|       |
 4867|  8.04M|    if (l_mod((PyLongObject*)a, (PyLongObject*)b, &mod) < 0)
  ------------------
  |  Branch (4867:9): [True: 0, False: 8.04M]
  ------------------
 4868|      0|        mod = NULL;
 4869|  8.04M|    return (PyObject *)mod;
 4870|  8.04M|}
longobject.c:long_divmod:
 4874|  6.89k|{
 4875|  6.89k|    PyLongObject *div, *mod;
 4876|  6.89k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  6.89k|    do {                                                \
  |  | 1845|  6.89k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.89k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  13.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.89k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.89k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 6.89k]
  |  |  |  Branch (1845:33): [True: 0, False: 6.89k]
  |  |  ------------------
  |  | 1846|  6.89k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  6.89k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 6.89k]
  |  |  ------------------
  ------------------
 4877|       |
 4878|  6.89k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, &mod) < 0) {
  ------------------
  |  Branch (4878:9): [True: 0, False: 6.89k]
  ------------------
 4879|      0|        return NULL;
 4880|      0|    }
 4881|  6.89k|    return _PyTuple_FromPairSteal((PyObject *)div, (PyObject *)mod);
 4882|  6.89k|}
longobject.c:l_divmod:
 4481|  25.7k|{
 4482|  25.7k|    PyLongObject *div, *mod;
 4483|       |
 4484|  25.7k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4484:9): [True: 5.15k, False: 20.5k]
  |  Branch (4484:39): [True: 5.15k, False: 0]
  ------------------
 4485|       |        /* Fast path for single-digit longs */
 4486|  5.15k|        div = NULL;
 4487|  5.15k|        if (pdiv != NULL) {
  ------------------
  |  Branch (4487:13): [True: 5.15k, False: 0]
  ------------------
 4488|  5.15k|            div = (PyLongObject *)fast_floor_div(v, w);
 4489|  5.15k|            if (div == NULL) {
  ------------------
  |  Branch (4489:17): [True: 0, False: 5.15k]
  ------------------
 4490|      0|                return -1;
 4491|      0|            }
 4492|  5.15k|        }
 4493|  5.15k|        if (pmod != NULL) {
  ------------------
  |  Branch (4493:13): [True: 5.15k, False: 0]
  ------------------
 4494|  5.15k|            mod = (PyLongObject *)fast_mod(v, w);
 4495|  5.15k|            if (mod == NULL) {
  ------------------
  |  Branch (4495:17): [True: 0, False: 5.15k]
  ------------------
 4496|      0|                Py_XDECREF(div);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|      0|                return -1;
 4498|      0|            }
 4499|  5.15k|            *pmod = mod;
 4500|  5.15k|        }
 4501|  5.15k|        if (pdiv != NULL) {
  ------------------
  |  Branch (4501:13): [True: 5.15k, False: 0]
  ------------------
 4502|       |            /* We only want to set `*pdiv` when `*pmod` is
 4503|       |               set successfully. */
 4504|  5.15k|            *pdiv = div;
 4505|  5.15k|        }
 4506|  5.15k|        return 0;
 4507|  5.15k|    }
 4508|  20.5k|#if WITH_PYLONG_MODULE
 4509|  20.5k|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4510|  20.5k|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4511|  20.5k|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 20.5k]
  |  Branch (4511:25): [True: 0, False: 0]
  ------------------
 4512|       |        /* Switch to _pylong.int_divmod().  If the quotient is small then
 4513|       |          "schoolbook" division is linear-time so don't use in that case.
 4514|       |          These limits are empirically determined and should be slightly
 4515|       |          conservative so that _pylong is used in cases it is likely
 4516|       |          to be faster. See Tools/scripts/divmod_threshold.py. */
 4517|      0|        return pylong_int_divmod(v, w, pdiv, pmod);
 4518|      0|    }
 4519|  20.5k|#endif
 4520|  20.5k|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4520:9): [True: 0, False: 20.5k]
  ------------------
 4521|      0|        return -1;
 4522|  20.5k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4522:10): [True: 0, False: 20.5k]
  |  Branch (4522:37): [True: 0, False: 0]
  ------------------
 4523|  20.5k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4523:10): [True: 0, False: 20.5k]
  |  Branch (4523:37): [True: 0, False: 0]
  ------------------
 4524|      0|        PyLongObject *temp;
 4525|      0|        temp = long_add(mod, w);
 4526|      0|        Py_SETREF(mod, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4527|      0|        if (mod == NULL) {
  ------------------
  |  Branch (4527:13): [True: 0, False: 0]
  ------------------
 4528|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4529|      0|            return -1;
 4530|      0|        }
 4531|      0|        temp = long_sub(div, (PyLongObject *)_PyLong_GetOne());
 4532|      0|        if (temp == NULL) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 0]
  ------------------
 4533|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4534|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|            return -1;
 4536|      0|        }
 4537|      0|        Py_SETREF(div, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4538|      0|    }
 4539|  20.5k|    if (pdiv != NULL)
  ------------------
  |  Branch (4539:9): [True: 20.5k, False: 0]
  ------------------
 4540|  20.5k|        *pdiv = div;
 4541|      0|    else
 4542|      0|        Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4543|       |
 4544|  20.5k|    if (pmod != NULL)
  ------------------
  |  Branch (4544:9): [True: 1.74k, False: 18.8k]
  ------------------
 4545|  1.74k|        *pmod = mod;
 4546|  18.8k|    else
 4547|  18.8k|        Py_DECREF(mod);
  ------------------
  |  |  430|  18.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4548|       |
 4549|  20.5k|    return 0;
 4550|  20.5k|}
longobject.c:fast_floor_div:
 4398|   375k|{
 4399|   375k|    sdigit left = a->long_value.ob_digit[0];
 4400|   375k|    sdigit right = b->long_value.ob_digit[0];
 4401|   375k|    sdigit div;
 4402|       |
 4403|   375k|    assert(_PyLong_DigitCount(a) == 1);
 4404|   375k|    assert(_PyLong_DigitCount(b) == 1);
 4405|       |
 4406|   375k|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4406:9): [True: 375k, False: 14]
  ------------------
 4407|   375k|        div = left / right;
 4408|   375k|    }
 4409|     14|    else {
 4410|       |        /* Either 'a' or 'b' is negative. */
 4411|     14|        div = -1 - (left - 1) / right;
 4412|     14|    }
 4413|       |
 4414|   375k|    return PyLong_FromLong(div);
 4415|   375k|}
longobject.c:long_pow:
 4968|  1.29M|{
 4969|  1.29M|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4970|  1.29M|    int negativeOutput = 0;  /* if x<0 return negative output */
 4971|       |
 4972|  1.29M|    PyLongObject *z = NULL;  /* accumulated result */
 4973|  1.29M|    Py_ssize_t i, j;             /* counters */
 4974|  1.29M|    PyLongObject *temp = NULL;
 4975|  1.29M|    PyLongObject *a2 = NULL; /* may temporarily hold a**2 % c */
 4976|       |
 4977|       |    /* k-ary values.  If the exponent is large enough, table is
 4978|       |     * precomputed so that table[i] == a**(2*i+1) % c for i in
 4979|       |     * range(EXP_TABLE_LEN).
 4980|       |     * Note: this is uninitialized stack trash: don't pay to set it to known
 4981|       |     * values unless it's needed. Instead ensure that num_table_entries is
 4982|       |     * set to the number of entries actually filled whenever a branch to the
 4983|       |     * Error or Done labels is possible.
 4984|       |     */
 4985|  1.29M|    PyLongObject *table[EXP_TABLE_LEN];
 4986|  1.29M|    Py_ssize_t num_table_entries = 0;
 4987|       |
 4988|       |    /* a, b, c = v, w, x */
 4989|  1.29M|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  1.29M|    do {                                                \
  |  | 1845|  1.29M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.29M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.59M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.29M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.29M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 1.29M]
  |  |  |  Branch (1845:33): [True: 0, False: 1.29M]
  |  |  ------------------
  |  | 1846|  1.29M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  1.29M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1.29M]
  |  |  ------------------
  ------------------
 4990|  1.29M|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  550|  1.29M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|  1.29M|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  550|  1.29M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|  1.29M|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|  1.29M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.29M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 1.29M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4993|      2|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|      2|    }
 4995|  1.29M|    else if (x == Py_None)
  ------------------
  |  |  616|  1.29M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4995:14): [True: 1.29M, False: 0]
  ------------------
 4996|  1.29M|        c = NULL;
 4997|      0|    else {
 4998|      0|        Py_DECREF(a);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4999|      0|        Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5000|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5001|      0|    }
 5002|       |
 5003|  1.29M|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5003:9): [True: 2, False: 1.29M]
  |  Branch (5003:34): [True: 2, False: 0]
  ------------------
 5004|       |        /* if exponent is negative and there's no modulus:
 5005|       |               return a float.  This works because we know
 5006|       |               that this calls float_pow() which converts its
 5007|       |               arguments to double. */
 5008|      2|        Py_DECREF(a);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|      2|        Py_DECREF(b);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      2|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5011|      2|    }
 5012|       |
 5013|  1.29M|    if (c) {
  ------------------
  |  Branch (5013:9): [True: 2, False: 1.29M]
  ------------------
 5014|       |        /* if modulus == 0:
 5015|       |               raise ValueError() */
 5016|      2|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5016:13): [True: 0, False: 2]
  ------------------
 5017|      0|            PyErr_SetString(PyExc_ValueError,
 5018|      0|                            "pow() 3rd argument cannot be 0");
 5019|      0|            goto Error;
 5020|      0|        }
 5021|       |
 5022|       |        /* if modulus < 0:
 5023|       |               negativeOutput = True
 5024|       |               modulus = -modulus */
 5025|      2|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5025:13): [True: 0, False: 2]
  ------------------
 5026|      0|            negativeOutput = 1;
 5027|      0|            temp = (PyLongObject *)_PyLong_Copy(c);
 5028|      0|            if (temp == NULL)
  ------------------
  |  Branch (5028:17): [True: 0, False: 0]
  ------------------
 5029|      0|                goto Error;
 5030|      0|            Py_SETREF(c, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5031|      0|            temp = NULL;
 5032|      0|            _PyLong_Negate(&c);
 5033|      0|            if (c == NULL)
  ------------------
  |  Branch (5033:17): [True: 0, False: 0]
  ------------------
 5034|      0|                goto Error;
 5035|      0|        }
 5036|       |
 5037|       |        /* if modulus == 1:
 5038|       |               return 0 */
 5039|      2|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5039:13): [True: 0, False: 2]
  |  Branch (5039:48): [True: 0, False: 0]
  ------------------
 5040|      0|            z = (PyLongObject *)PyLong_FromLong(0L);
 5041|      0|            goto Done;
 5042|      0|        }
 5043|       |
 5044|       |        /* if exponent is negative, negate the exponent and
 5045|       |           replace the base with a modular inverse */
 5046|      2|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5046:13): [True: 0, False: 2]
  ------------------
 5047|      0|            temp = (PyLongObject *)_PyLong_Copy(b);
 5048|      0|            if (temp == NULL)
  ------------------
  |  Branch (5048:17): [True: 0, False: 0]
  ------------------
 5049|      0|                goto Error;
 5050|      0|            Py_SETREF(b, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5051|      0|            temp = NULL;
 5052|      0|            _PyLong_Negate(&b);
 5053|      0|            if (b == NULL)
  ------------------
  |  Branch (5053:17): [True: 0, False: 0]
  ------------------
 5054|      0|                goto Error;
 5055|       |
 5056|      0|            temp = long_invmod(a, c);
 5057|      0|            if (temp == NULL)
  ------------------
  |  Branch (5057:17): [True: 0, False: 0]
  ------------------
 5058|      0|                goto Error;
 5059|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5060|      0|            temp = NULL;
 5061|      0|        }
 5062|       |
 5063|       |        /* Reduce base by modulus in some cases:
 5064|       |           1. If base < 0.  Forcing the base non-negative makes things easier.
 5065|       |           2. If base is obviously larger than the modulus.  The "small
 5066|       |              exponent" case later can multiply directly by base repeatedly,
 5067|       |              while the "large exponent" case multiplies directly by base 31
 5068|       |              times.  It can be unboundedly faster to multiply by
 5069|       |              base % modulus instead.
 5070|       |           We could _always_ do this reduction, but l_mod() isn't cheap,
 5071|       |           so we only do it when it buys something. */
 5072|      2|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5072:13): [True: 0, False: 2]
  |  Branch (5072:38): [True: 0, False: 2]
  ------------------
 5073|      0|            if (l_mod(a, c, &temp) < 0)
  ------------------
  |  Branch (5073:17): [True: 0, False: 0]
  ------------------
 5074|      0|                goto Error;
 5075|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5076|      0|            temp = NULL;
 5077|      0|        }
 5078|      2|    }
 5079|       |
 5080|       |    /* At this point a, b, and c are guaranteed non-negative UNLESS
 5081|       |       c is NULL, in which case a may be negative. */
 5082|       |
 5083|  1.29M|    z = (PyLongObject *)PyLong_FromLong(1L);
 5084|  1.29M|    if (z == NULL)
  ------------------
  |  Branch (5084:9): [True: 0, False: 1.29M]
  ------------------
 5085|      0|        goto Error;
 5086|       |
 5087|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5088|       |     * is NULL.
 5089|       |     */
 5090|  1.29M|#define REDUCE(X)                                       \
 5091|  1.29M|    do {                                                \
 5092|  1.29M|        if (c != NULL) {                                \
 5093|  1.29M|            if (l_mod(X, c, &temp) < 0)                 \
 5094|  1.29M|                goto Error;                             \
 5095|  1.29M|            Py_XDECREF(X);                              \
 5096|  1.29M|            X = temp;                                   \
 5097|  1.29M|            temp = NULL;                                \
 5098|  1.29M|        }                                               \
 5099|  1.29M|    } while(0)
 5100|       |
 5101|       |    /* Multiply two values, then reduce the result:
 5102|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5103|  1.29M|#define MULT(X, Y, result)                      \
 5104|  1.29M|    do {                                        \
 5105|  1.29M|        temp = (PyLongObject *)long_mul(X, Y);  \
 5106|  1.29M|        if (temp == NULL)                       \
 5107|  1.29M|            goto Error;                         \
 5108|  1.29M|        Py_XDECREF(result);                     \
 5109|  1.29M|        result = temp;                          \
 5110|  1.29M|        temp = NULL;                            \
 5111|  1.29M|        REDUCE(result);                         \
 5112|  1.29M|    } while(0)
 5113|       |
 5114|  1.29M|    i = _PyLong_SignedDigitCount(b);
 5115|  1.29M|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5115:16): [True: 1.29M, False: 6]
  ------------------
 5116|  1.29M|    digit bit;
 5117|  1.29M|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5117:9): [True: 1.29M, False: 2]
  |  Branch (5117:19): [True: 10, False: 1.29M]
  ------------------
 5118|       |        /* aim for minimal overhead */
 5119|     10|        if (bi >= 2) {
  ------------------
  |  Branch (5119:13): [True: 2, False: 8]
  ------------------
 5120|      2|            MULT(a, a, z);
  ------------------
  |  | 5104|      2|    do {                                        \
  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 5107|      2|            goto Error;                         \
  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|      2|        result = temp;                          \
  |  | 5110|      2|        temp = NULL;                            \
  |  | 5111|      2|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5121|      2|            if (bi == 3) {
  ------------------
  |  Branch (5121:17): [True: 2, False: 0]
  ------------------
 5122|      2|                MULT(z, a, z);
  ------------------
  |  | 5104|      2|    do {                                        \
  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 5107|      2|            goto Error;                         \
  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|      2|        result = temp;                          \
  |  | 5110|      2|        temp = NULL;                            \
  |  | 5111|      2|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5123|      2|            }
 5124|      2|        }
 5125|      8|        else if (bi == 1) {
  ------------------
  |  Branch (5125:18): [True: 2, False: 6]
  ------------------
 5126|       |            /* Multiplying by 1 serves two purposes: if `a` is of an int
 5127|       |             * subclass, makes the result an int (e.g., pow(False, 1) returns
 5128|       |             * 0 instead of False), and potentially reduces `a` by the modulus.
 5129|       |             */
 5130|      2|            MULT(a, z, z);
  ------------------
  |  | 5104|      2|    do {                                        \
  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 5107|      2|            goto Error;                         \
  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|      2|        result = temp;                          \
  |  | 5110|      2|        temp = NULL;                            \
  |  | 5111|      2|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5131|      2|        }
 5132|       |        /* else bi is 0, and z==1 is correct */
 5133|     10|    }
 5134|  1.29M|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|  1.29M|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|  1.29M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5134:14): [True: 1.29M, False: 2]
  ------------------
 5135|       |        /* Left-to-right binary exponentiation (HAC Algorithm 14.79) */
 5136|       |        /* https://cacr.uwaterloo.ca/hac/about/chap14.pdf            */
 5137|       |
 5138|       |        /* Find the first significant exponent bit. Search right to left
 5139|       |         * because we're primarily trying to cut overhead for small powers.
 5140|       |         */
 5141|  1.29M|        assert(bi);  /* else there is no significant bit */
 5142|  1.29M|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  352|  1.29M|    do { \
  |  |  353|  1.29M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.29M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  1.29M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.29M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  1.29M|        *_tmp_dst_ptr = (src); \
  |  |  356|  1.29M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  1.29M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  1.29M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1.29M]
  |  |  ------------------
  ------------------
 5143|  5.13M|        for (bit = 2; ; bit <<= 1) {
 5144|  5.13M|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5144:17): [True: 1.29M, False: 3.83M]
  ------------------
 5145|  1.29M|                assert((bi & bit) == 0);
 5146|  1.29M|                bit >>= 1;
 5147|  1.29M|                assert(bi & bit);
 5148|  1.29M|                break;
 5149|  1.29M|            }
 5150|  5.13M|        }
 5151|  1.29M|        for (--i, bit >>= 1;;) {
 5152|  5.13M|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5152:20): [True: 3.83M, False: 1.29M]
  ------------------
 5153|  3.83M|                MULT(z, z, z);
  ------------------
  |  | 5104|  3.83M|    do {                                        \
  |  | 5105|  3.83M|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  3.83M|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 3.83M]
  |  |  ------------------
  |  | 5107|  3.83M|            goto Error;                         \
  |  | 5108|  3.83M|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  3.83M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  3.83M|        result = temp;                          \
  |  | 5110|  3.83M|        temp = NULL;                            \
  |  | 5111|  3.83M|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  3.83M|    do {                                                \
  |  |  |  | 5092|  3.83M|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 3.83M]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|  3.83M|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 3.83M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  3.83M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 3.83M]
  |  |  ------------------
  ------------------
 5154|  3.83M|                if (bi & bit) {
  ------------------
  |  Branch (5154:21): [True: 210k, False: 3.62M]
  ------------------
 5155|   210k|                    MULT(z, a, z);
  ------------------
  |  | 5104|   210k|    do {                                        \
  |  | 5105|   210k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|   210k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 210k]
  |  |  ------------------
  |  | 5107|   210k|            goto Error;                         \
  |  | 5108|   210k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|   210k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|   210k|        result = temp;                          \
  |  | 5110|   210k|        temp = NULL;                            \
  |  | 5111|   210k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|   210k|    do {                                                \
  |  |  |  | 5092|   210k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 210k]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|   210k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 210k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|   210k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 210k]
  |  |  ------------------
  ------------------
 5156|   210k|                }
 5157|  3.83M|            }
 5158|  1.29M|            if (--i < 0) {
  ------------------
  |  Branch (5158:17): [True: 1.29M, False: 0]
  ------------------
 5159|  1.29M|                break;
 5160|  1.29M|            }
 5161|      0|            bi = b->long_value.ob_digit[i];
 5162|      0|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5163|      0|        }
 5164|  1.29M|    }
 5165|      2|    else {
 5166|       |        /* Left-to-right k-ary sliding window exponentiation
 5167|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5168|       |         */
 5169|      2|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|      2|        num_table_entries = 1;
 5171|      2|        MULT(a, a, a2);
  ------------------
  |  | 5104|      2|    do {                                        \
  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 5107|      2|            goto Error;                         \
  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|      2|        result = temp;                          \
  |  | 5110|      2|        temp = NULL;                            \
  |  | 5111|      2|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|      2|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5094|      2|                goto Error;                             \
  |  |  |  | 5095|      2|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      2|            X = temp;                                   \
  |  |  |  | 5097|      2|            temp = NULL;                                \
  |  |  |  | 5098|      2|        }                                               \
  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5172|       |        /* table[i] == a**(2*i + 1) % c */
 5173|     32|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|     32|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|     32|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5173:21): [True: 30, False: 2]
  ------------------
 5174|     30|            table[i] = NULL; /* must set to known value for MULT */
 5175|     30|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5104|     30|    do {                                        \
  |  | 5105|     30|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|     30|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 30]
  |  |  ------------------
  |  | 5107|     30|            goto Error;                         \
  |  | 5108|     30|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|     30|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|     30|        result = temp;                          \
  |  | 5110|     30|        temp = NULL;                            \
  |  | 5111|     30|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|     30|    do {                                                \
  |  |  |  | 5092|     30|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|     30|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  | 5094|     30|                goto Error;                             \
  |  |  |  | 5095|     30|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|     30|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|     30|            X = temp;                                   \
  |  |  |  | 5097|     30|            temp = NULL;                                \
  |  |  |  | 5098|     30|        }                                               \
  |  |  |  | 5099|     30|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|     30|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 30]
  |  |  ------------------
  ------------------
 5176|     30|            ++num_table_entries; /* incremented iff MULT succeeded */
 5177|     30|        }
 5178|      2|        Py_CLEAR(a2);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5179|       |
 5180|       |        /* Repeatedly extract the next (no more than) EXP_WINDOW_SIZE bits
 5181|       |         * into `pending`, starting with the next 1 bit.  The current bit
 5182|       |         * length of `pending` is `blen`.
 5183|       |         */
 5184|      2|        int pending = 0, blen = 0;
 5185|      2|#define ABSORB_PENDING  do { \
 5186|      2|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5187|      2|            assert(pending && blen); \
 5188|      2|            assert(pending >> (blen - 1)); \
 5189|      2|            assert(pending >> blen == 0); \
 5190|      2|            while ((pending & 1) == 0) { \
 5191|      2|                ++ntz; \
 5192|      2|                pending >>= 1; \
 5193|      2|            } \
 5194|      2|            assert(ntz < blen); \
 5195|      2|            blen -= ntz; \
 5196|      2|            do { \
 5197|      2|                MULT(z, z, z); \
 5198|      2|            } while (--blen); \
 5199|      2|            MULT(z, table[pending >> 1], z); \
 5200|      2|            while (ntz-- > 0) \
 5201|      2|                MULT(z, z, z); \
 5202|      2|            assert(blen == 0); \
 5203|      2|            pending = 0; \
 5204|      2|        } while(0)
 5205|       |
 5206|      8|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5206:51): [True: 6, False: 2]
  ------------------
 5207|      6|            const digit bi = b->long_value.ob_digit[i];
 5208|    186|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|      6|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5208:40): [True: 180, False: 6]
  ------------------
 5209|    180|                const int bit = (bi >> j) & 1;
 5210|    180|                pending = (pending << 1) | bit;
 5211|    180|                if (pending) {
  ------------------
  |  Branch (5211:21): [True: 122, False: 58]
  ------------------
 5212|    122|                    ++blen;
 5213|    122|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|    122|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5213:25): [True: 24, False: 98]
  ------------------
 5214|     24|                        ABSORB_PENDING;
  ------------------
  |  | 5185|     24|#define ABSORB_PENDING  do { \
  |  | 5186|     24|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|     24|            assert(pending && blen); \
  |  | 5188|     24|            assert(pending >> (blen - 1)); \
  |  | 5189|     24|            assert(pending >> blen == 0); \
  |  | 5190|     26|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 2, False: 24]
  |  |  ------------------
  |  | 5191|      2|                ++ntz; \
  |  | 5192|      2|                pending >>= 1; \
  |  | 5193|      2|            } \
  |  | 5194|     24|            assert(ntz < blen); \
  |  | 5195|     24|            blen -= ntz; \
  |  | 5196|    118|            do { \
  |  | 5197|    118|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|    118|    do {                                        \
  |  |  |  | 5105|    118|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|    118|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 118]
  |  |  |  |  ------------------
  |  |  |  | 5107|    118|            goto Error;                         \
  |  |  |  | 5108|    118|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|    118|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|    118|        result = temp;                          \
  |  |  |  | 5110|    118|        temp = NULL;                            \
  |  |  |  | 5111|    118|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|    118|    do {                                                \
  |  |  |  |  |  | 5092|    118|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 118, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|    118|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 118]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|    118|                goto Error;                             \
  |  |  |  |  |  | 5095|    118|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|    118|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|    118|            X = temp;                                   \
  |  |  |  |  |  | 5097|    118|            temp = NULL;                                \
  |  |  |  |  |  | 5098|    118|        }                                               \
  |  |  |  |  |  | 5099|    118|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 118]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|    118|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 118]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|    118|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 94, False: 24]
  |  |  ------------------
  |  | 5199|     24|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|     24|    do {                                        \
  |  |  |  | 5105|     24|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|     24|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  | 5107|     24|            goto Error;                         \
  |  |  |  | 5108|     24|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|     24|        result = temp;                          \
  |  |  |  | 5110|     24|        temp = NULL;                            \
  |  |  |  | 5111|     24|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|     24|    do {                                                \
  |  |  |  |  |  | 5092|     24|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 24, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|     24|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|     24|                goto Error;                             \
  |  |  |  |  |  | 5095|     24|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|     24|            X = temp;                                   \
  |  |  |  |  |  | 5097|     24|            temp = NULL;                                \
  |  |  |  |  |  | 5098|     24|        }                                               \
  |  |  |  |  |  | 5099|     24|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|     24|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|     26|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 2, False: 24]
  |  |  ------------------
  |  | 5201|     24|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|     26|    do {                                        \
  |  |  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5107|      2|            goto Error;                         \
  |  |  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      2|        result = temp;                          \
  |  |  |  | 5110|      2|        temp = NULL;                            \
  |  |  |  | 5111|      2|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      2|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      2|                goto Error;                             \
  |  |  |  |  |  | 5095|      2|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      2|            X = temp;                                   \
  |  |  |  |  |  | 5097|      2|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      2|        }                                               \
  |  |  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5202|     24|            assert(blen == 0); \
  |  | 5203|     24|            pending = 0; \
  |  | 5204|     24|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 24]
  |  |  ------------------
  ------------------
 5215|    122|                }
 5216|     58|                else /* absorb strings of 0 bits */
 5217|     58|                    MULT(z, z, z);
  ------------------
  |  | 5104|     58|    do {                                        \
  |  | 5105|     58|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|     58|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 58]
  |  |  ------------------
  |  | 5107|     58|            goto Error;                         \
  |  | 5108|     58|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|     58|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|     58|        result = temp;                          \
  |  | 5110|     58|        temp = NULL;                            \
  |  | 5111|     58|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|     58|    do {                                                \
  |  |  |  | 5092|     58|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 58, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5093|     58|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 58]
  |  |  |  |  ------------------
  |  |  |  | 5094|     58|                goto Error;                             \
  |  |  |  | 5095|     58|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|     58|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|     58|            X = temp;                                   \
  |  |  |  | 5097|     58|            temp = NULL;                                \
  |  |  |  | 5098|     58|        }                                               \
  |  |  |  | 5099|     58|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 58]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|     58|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 58]
  |  |  ------------------
  ------------------
 5218|    180|            }
 5219|      6|        }
 5220|      2|        if (pending)
  ------------------
  |  Branch (5220:13): [True: 2, False: 0]
  ------------------
 5221|      2|            ABSORB_PENDING;
  ------------------
  |  | 5185|      2|#define ABSORB_PENDING  do { \
  |  | 5186|      2|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|      2|            assert(pending && blen); \
  |  | 5188|      2|            assert(pending >> (blen - 1)); \
  |  | 5189|      2|            assert(pending >> blen == 0); \
  |  | 5190|      2|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 0, False: 2]
  |  |  ------------------
  |  | 5191|      0|                ++ntz; \
  |  | 5192|      0|                pending >>= 1; \
  |  | 5193|      0|            } \
  |  | 5194|      2|            assert(ntz < blen); \
  |  | 5195|      2|            blen -= ntz; \
  |  | 5196|      2|            do { \
  |  | 5197|      2|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|      2|    do {                                        \
  |  |  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5107|      2|            goto Error;                         \
  |  |  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      2|        result = temp;                          \
  |  |  |  | 5110|      2|        temp = NULL;                            \
  |  |  |  | 5111|      2|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      2|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      2|                goto Error;                             \
  |  |  |  |  |  | 5095|      2|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      2|            X = temp;                                   \
  |  |  |  |  |  | 5097|      2|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      2|        }                                               \
  |  |  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|      2|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 0, False: 2]
  |  |  ------------------
  |  | 5199|      2|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|      2|    do {                                        \
  |  |  |  | 5105|      2|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      2|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 5107|      2|            goto Error;                         \
  |  |  |  | 5108|      2|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      2|        result = temp;                          \
  |  |  |  | 5110|      2|        temp = NULL;                            \
  |  |  |  | 5111|      2|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      2|    do {                                                \
  |  |  |  |  |  | 5092|      2|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      2|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      2|                goto Error;                             \
  |  |  |  |  |  | 5095|      2|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      2|            X = temp;                                   \
  |  |  |  |  |  | 5097|      2|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      2|        }                                               \
  |  |  |  |  |  | 5099|      2|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      2|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|      2|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 0, False: 2]
  |  |  ------------------
  |  | 5201|      2|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|      2|    do {                                        \
  |  |  |  | 5105|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5107|      0|            goto Error;                         \
  |  |  |  | 5108|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|      0|        result = temp;                          \
  |  |  |  | 5110|      0|        temp = NULL;                            \
  |  |  |  | 5111|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|      0|    do {                                                \
  |  |  |  |  |  | 5092|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5098|      0|        }                                               \
  |  |  |  |  |  | 5099|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5202|      2|            assert(blen == 0); \
  |  | 5203|      2|            pending = 0; \
  |  | 5204|      2|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5222|      2|    }
 5223|       |
 5224|  1.29M|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5224:9): [True: 0, False: 1.29M]
  |  Branch (5224:27): [True: 0, False: 0]
  ------------------
 5225|      0|        temp = long_sub(z, c);
 5226|      0|        if (temp == NULL)
  ------------------
  |  Branch (5226:13): [True: 0, False: 0]
  ------------------
 5227|      0|            goto Error;
 5228|      0|        Py_SETREF(z, temp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5229|      0|        temp = NULL;
 5230|      0|    }
 5231|  1.29M|    goto Done;
 5232|       |
 5233|  1.29M|  Error:
 5234|      0|    Py_CLEAR(z);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5235|       |    /* fall through */
 5236|  1.29M|  Done:
 5237|  1.29M|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5237:17): [True: 32, False: 1.29M]
  ------------------
 5238|     32|        Py_DECREF(table[i]);
  ------------------
  |  |  430|  1.29M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|  1.29M|    Py_DECREF(a);
  ------------------
  |  |  430|  1.29M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|  1.29M|    Py_DECREF(b);
  ------------------
  |  |  430|  1.29M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|  1.29M|    Py_XDECREF(c);
  ------------------
  |  |  524|  1.29M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|  1.29M|    Py_XDECREF(a2);
  ------------------
  |  |  524|  1.29M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|  1.29M|    Py_XDECREF(temp);
  ------------------
  |  |  524|  1.29M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|  1.29M|    return (PyObject *)z;
 5245|      0|}
longobject.c:long_neg_method:
 5281|  20.2k|{
 5282|       |    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|  20.2k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5283|  20.2k|}
longobject.c:long_abs_method:
 5296|  8.79k|{
 5297|       |    return (PyObject*)long_abs(_PyLong_CAST(v));
  ------------------
  |  |    6|  8.79k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5298|  8.79k|}
longobject.c:long_bool:
 5302|    663|{
 5303|       |    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|    663|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    663|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5304|    663|}
longobject.c:long_invert:
 5249|    288|{
 5250|    288|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|    288|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5251|       |
 5252|       |    /* Implement ~x as -(x+1) */
 5253|    288|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5253:9): [True: 288, False: 0]
  ------------------
 5254|    288|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|    288|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5255|       |
 5256|      0|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5257|      0|    if (x == NULL)
  ------------------
  |  Branch (5257:9): [True: 0, False: 0]
  ------------------
 5258|      0|        return NULL;
 5259|      0|    _PyLong_Negate(&x);
 5260|       |    /* No need for maybe_small_long here, since any small longs
 5261|       |       will have been caught in the _PyLong_IsCompact() fast path. */
 5262|      0|    return (PyObject *)x;
 5263|      0|}
longobject.c:long_lshift_method:
 5496|  87.9k|{
 5497|  87.9k|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|  87.9k|    do {                                                \
  |  | 1845|  87.9k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  87.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   175k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  87.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  87.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 87.9k]
  |  |  |  Branch (1845:33): [True: 0, False: 87.9k]
  |  |  ------------------
  |  | 1846|  87.9k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  87.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 87.9k]
  |  |  ------------------
  ------------------
 5498|  87.9k|    PyLongObject *a = (PyLongObject*)aa;
 5499|  87.9k|    PyLongObject *b = (PyLongObject*)bb;
 5500|       |
 5501|  87.9k|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5501:9): [True: 0, False: 87.9k]
  ------------------
 5502|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5503|      0|        return NULL;
 5504|      0|    }
 5505|  87.9k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5505:9): [True: 42.9k, False: 45.0k]
  ------------------
 5506|  42.9k|        return PyLong_FromLong(0);
 5507|  42.9k|    }
 5508|       |
 5509|  45.0k|    int64_t shiftby;
 5510|  45.0k|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5510:9): [True: 0, False: 45.0k]
  ------------------
 5511|      0|        if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5511:13): [True: 0, False: 0]
  ------------------
 5512|      0|            PyErr_SetString(PyExc_OverflowError,
 5513|      0|                            "too many digits in integer");
 5514|      0|        }
 5515|      0|        return NULL;
 5516|      0|    }
 5517|  45.0k|    return long_lshift_int64(a, shiftby);
 5518|  45.0k|}
longobject.c:long_rshift:
 5398|  8.07M|{
 5399|  8.07M|    int64_t shiftby;
 5400|       |
 5401|  8.07M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  8.07M|    do {                                                \
  |  | 1845|  8.07M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  8.07M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  16.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  8.07M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.07M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 8.07M]
  |  |  |  Branch (1845:33): [True: 0, False: 8.07M]
  |  |  ------------------
  |  | 1846|  8.07M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  8.07M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 8.07M]
  |  |  ------------------
  ------------------
 5402|       |
 5403|  8.07M|    if (_PyLong_IsNegative((PyLongObject *)b)) {
  ------------------
  |  Branch (5403:9): [True: 0, False: 8.07M]
  ------------------
 5404|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5405|      0|        return NULL;
 5406|      0|    }
 5407|  8.07M|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5407:9): [True: 1.23k, False: 8.07M]
  ------------------
 5408|  1.23k|        return PyLong_FromLong(0);
 5409|  1.23k|    }
 5410|  8.07M|    if (PyLong_AsInt64(b, &shiftby) < 0) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 8.07M]
  ------------------
 5411|      0|        if (!PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5411:13): [True: 0, False: 0]
  ------------------
 5412|      0|            return NULL;
 5413|      0|        }
 5414|      0|        PyErr_Clear();
 5415|      0|        if (_PyLong_IsNegative((PyLongObject *)a)) {
  ------------------
  |  Branch (5415:13): [True: 0, False: 0]
  ------------------
 5416|      0|            return PyLong_FromLong(-1);
 5417|      0|        }
 5418|      0|        else {
 5419|      0|            return PyLong_FromLong(0);
 5420|      0|        }
 5421|      0|    }
 5422|  8.07M|    return _PyLong_Rshift(a, shiftby);
 5423|  8.07M|}
longobject.c:long_and:
 5695|  99.7k|{
 5696|  99.7k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  99.7k|    do {                                                \
  |  | 1845|  99.7k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  99.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   199k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  99.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  99.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 99.7k]
  |  |  |  Branch (1845:33): [True: 0, False: 99.7k]
  |  |  ------------------
  |  | 1846|  99.7k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  99.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 99.7k]
  |  |  ------------------
  ------------------
 5697|  99.7k|    PyLongObject *x = (PyLongObject*)a;
 5698|  99.7k|    PyLongObject *y = (PyLongObject*)b;
 5699|  99.7k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5699:9): [True: 47.8k, False: 51.8k]
  |  Branch (5699:33): [True: 5.53k, False: 42.3k]
  ------------------
 5700|  5.53k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  5.53k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  5.53k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5701|  5.53k|    }
 5702|  94.2k|    return long_bitwise(x, '&', y);
 5703|  99.7k|}
longobject.c:long_bitwise:
 5571|   177k|{
 5572|   177k|    int nega, negb, negz;
 5573|   177k|    Py_ssize_t size_a, size_b, size_z, i;
 5574|   177k|    PyLongObject *z;
 5575|       |
 5576|   177k|    PyLongObject *new_a = NULL;
 5577|   177k|    PyLongObject *new_b = NULL;
 5578|       |
 5579|       |    /* Bitwise operations for negative numbers operate as though
 5580|       |       on a two's complement representation.  So convert arguments
 5581|       |       from sign-magnitude to two's complement, and convert the
 5582|       |       result back to sign-magnitude at the end. */
 5583|       |
 5584|   177k|    size_a = _PyLong_DigitCount(a);
 5585|   177k|    size_b = _PyLong_DigitCount(b);
 5586|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5587|   177k|    if (size_a < size_b) {
  ------------------
  |  Branch (5587:9): [True: 84.1k, False: 93.7k]
  ------------------
 5588|  84.1k|        z = a; a = b; b = z;
 5589|  84.1k|        size_z = size_a; size_a = size_b; size_b = size_z;
 5590|  84.1k|    }
 5591|       |
 5592|       |    /* If a is negative, replace it by its two's complement. */
 5593|   177k|    nega = _PyLong_IsNegative(a);
 5594|   177k|    if (nega) {
  ------------------
  |  Branch (5594:9): [True: 0, False: 177k]
  ------------------
 5595|      0|        z = long_alloc(size_a);
 5596|      0|        if (z == NULL)
  ------------------
  |  Branch (5596:13): [True: 0, False: 0]
  ------------------
 5597|      0|            return NULL;
 5598|      0|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5599|      0|        new_a = z; // reference to decrement instead of a itself
 5600|      0|        a = z;
 5601|      0|    }
 5602|       |
 5603|       |    /* Same for b. */
 5604|   177k|    negb = _PyLong_IsNegative(b);
 5605|   177k|    if (negb) {
  ------------------
  |  Branch (5605:9): [True: 0, False: 177k]
  ------------------
 5606|      0|        z = long_alloc(size_b);
 5607|      0|        if (z == NULL) {
  ------------------
  |  Branch (5607:13): [True: 0, False: 0]
  ------------------
 5608|      0|            Py_XDECREF(new_a);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5609|      0|            return NULL;
 5610|      0|        }
 5611|      0|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5612|      0|        new_b = z; // reference to decrement instead of b itself
 5613|      0|        b = z;
 5614|      0|    }
 5615|       |
 5616|       |    /* JRH: The original logic here was to allocate the result value (z)
 5617|       |       as the longer of the two operands.  However, there are some cases
 5618|       |       where the result is guaranteed to be shorter than that: AND of two
 5619|       |       positives, OR of two negatives: use the shorter number.  AND with
 5620|       |       mixed signs: use the positive number.  OR with mixed signs: use the
 5621|       |       negative number.
 5622|       |    */
 5623|   177k|    switch (op) {
 5624|  83.7k|    case '^':
  ------------------
  |  Branch (5624:5): [True: 83.7k, False: 94.2k]
  ------------------
 5625|  83.7k|        negz = nega ^ negb;
 5626|  83.7k|        size_z = size_a;
 5627|  83.7k|        break;
 5628|  94.2k|    case '&':
  ------------------
  |  Branch (5628:5): [True: 94.2k, False: 83.7k]
  ------------------
 5629|  94.2k|        negz = nega & negb;
 5630|  94.2k|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5630:18): [True: 0, False: 94.2k]
  ------------------
 5631|  94.2k|        break;
 5632|     26|    case '|':
  ------------------
  |  Branch (5632:5): [True: 26, False: 177k]
  ------------------
 5633|     26|        negz = nega | negb;
 5634|     26|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5634:18): [True: 0, False: 26]
  ------------------
 5635|     26|        break;
 5636|      0|    default:
  ------------------
  |  Branch (5636:5): [True: 0, False: 177k]
  ------------------
 5637|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5638|   177k|    }
 5639|       |
 5640|   177k|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5640:9): [True: 41.8k, False: 136k]
  ------------------
 5641|  41.8k|        Py_XDECREF(new_a);
  ------------------
  |  |  524|  41.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5642|  41.8k|        Py_XDECREF(new_b);
  ------------------
  |  |  524|  41.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5643|  41.8k|        return get_small_int(0);
 5644|  41.8k|    }
 5645|       |
 5646|       |    /* We allow an extra digit if z is negative, to make sure that
 5647|       |       the final two's complement of z doesn't overflow. */
 5648|   136k|    z = long_alloc(size_z + negz);
 5649|   136k|    if (z == NULL) {
  ------------------
  |  Branch (5649:9): [True: 0, False: 136k]
  ------------------
 5650|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5651|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5652|      0|        return NULL;
 5653|      0|    }
 5654|       |
 5655|       |    /* Compute digits for overlap of a and b. */
 5656|   136k|    switch(op) {
 5657|  52.3k|    case '&':
  ------------------
  |  Branch (5657:5): [True: 52.3k, False: 83.7k]
  ------------------
 5658|   189k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5658:21): [True: 136k, False: 52.3k]
  ------------------
 5659|   136k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5660|  52.3k|        break;
 5661|     26|    case '|':
  ------------------
  |  Branch (5661:5): [True: 26, False: 136k]
  ------------------
 5662|     46|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5662:21): [True: 20, False: 26]
  ------------------
 5663|     20|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5664|     26|        break;
 5665|  83.7k|    case '^':
  ------------------
  |  Branch (5665:5): [True: 83.7k, False: 52.3k]
  ------------------
 5666|   209k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5666:21): [True: 125k, False: 83.7k]
  ------------------
 5667|   125k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5668|  83.7k|        break;
 5669|      0|    default:
  ------------------
  |  Branch (5669:5): [True: 0, False: 136k]
  ------------------
 5670|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5671|   136k|    }
 5672|       |
 5673|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5674|   136k|    if (op == '^' && negb)
  ------------------
  |  Branch (5674:9): [True: 83.7k, False: 52.3k]
  |  Branch (5674:22): [True: 0, False: 83.7k]
  ------------------
 5675|      0|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5675:16): [True: 0, False: 0]
  ------------------
 5676|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5677|   136k|    else if (i < size_z)
  ------------------
  |  Branch (5677:14): [True: 41.8k, False: 94.2k]
  ------------------
 5678|  41.8k|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5679|  41.8k|               (size_z-i)*sizeof(digit));
 5680|       |
 5681|       |    /* Complement result if negative. */
 5682|   136k|    if (negz) {
  ------------------
  |  Branch (5682:9): [True: 0, False: 136k]
  ------------------
 5683|      0|        _PyLong_FlipSign(z);
 5684|      0|        z->long_value.ob_digit[size_z] = PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5685|      0|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5686|      0|    }
 5687|       |
 5688|   136k|    Py_XDECREF(new_a);
  ------------------
  |  |  524|   136k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|   136k|    Py_XDECREF(new_b);
  ------------------
  |  |  524|   136k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5690|   136k|    return (PyObject *)maybe_small_long(long_normalize(z));
 5691|   136k|}
longobject.c:long_xor:
 5707|  83.7k|{
 5708|  83.7k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  83.7k|    do {                                                \
  |  | 1845|  83.7k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  83.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   167k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  83.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  83.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 83.7k]
  |  |  |  Branch (1845:33): [True: 0, False: 83.7k]
  |  |  ------------------
  |  | 1846|  83.7k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  83.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 83.7k]
  |  |  ------------------
  ------------------
 5709|  83.7k|    PyLongObject *x = (PyLongObject*)a;
 5710|  83.7k|    PyLongObject *y = (PyLongObject*)b;
 5711|  83.7k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5711:9): [True: 41.8k, False: 41.8k]
  |  Branch (5711:33): [True: 6, False: 41.8k]
  ------------------
 5712|      6|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|      6|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|      6|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5713|      6|    }
 5714|  83.7k|    return long_bitwise(x, '^', y);
 5715|  83.7k|}
longobject.c:long_or:
 5719|    119|{
 5720|    119|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    119|    do {                                                \
  |  | 1845|    119|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    119|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    238|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    119|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    119|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 119]
  |  |  |  Branch (1845:33): [True: 0, False: 119]
  |  |  ------------------
  |  | 1846|    119|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    119|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 119]
  |  |  ------------------
  ------------------
 5721|    119|    PyLongObject *x = (PyLongObject*)a;
 5722|    119|    PyLongObject *y = (PyLongObject*)b;
 5723|    119|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5723:9): [True: 99, False: 20]
  |  Branch (5723:33): [True: 93, False: 6]
  ------------------
 5724|     93|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     93|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     93|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5725|     93|    }
 5726|     26|    return long_bitwise(x, '|', y);
 5727|    119|}
longobject.c:long_float:
 5950|     10|{
 5951|     10|    double result;
 5952|     10|    result = PyLong_AsDouble(v);
 5953|     10|    if (result == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (5953:9): [True: 0, False: 10]
  |  Branch (5953:27): [True: 0, False: 0]
  ------------------
 5954|      0|        return NULL;
 5955|     10|    return PyFloat_FromDouble(result);
 5956|     10|}
longobject.c:long_div:
 4584|   389k|{
 4585|   389k|    PyLongObject *div;
 4586|       |
 4587|   389k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   389k|    do {                                                \
  |  | 1845|   389k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   389k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   778k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   389k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   389k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 389k]
  |  |  |  Branch (1845:33): [True: 0, False: 389k]
  |  |  ------------------
  |  | 1846|   389k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   389k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 389k]
  |  |  ------------------
  ------------------
 4588|       |
 4589|   389k|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4589:9): [True: 370k, False: 18.8k]
  |  Branch (4589:54): [True: 370k, False: 0]
  ------------------
 4590|   370k|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4591|   370k|    }
 4592|       |
 4593|  18.8k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4593:9): [True: 0, False: 18.8k]
  ------------------
 4594|      0|        div = NULL;
 4595|  18.8k|    return (PyObject *)div;
 4596|   389k|}
longobject.c:long_true_divide:
 4605|     36|{
 4606|     36|    PyLongObject *a, *b, *x;
 4607|     36|    Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits;
 4608|     36|    digit mask, low;
 4609|     36|    int inexact, negate, a_is_small, b_is_small;
 4610|     36|    double dx, result;
 4611|       |
 4612|     36|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|     36|    do {                                                \
  |  | 1845|     36|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     36|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     72|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     36|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 36]
  |  |  |  Branch (1845:33): [True: 4, False: 32]
  |  |  ------------------
  |  | 1846|     36|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      4|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      4|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     36|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 32]
  |  |  ------------------
  ------------------
 4613|     32|    a = (PyLongObject *)v;
 4614|     32|    b = (PyLongObject *)w;
 4615|       |
 4616|       |    /*
 4617|       |       Method in a nutshell:
 4618|       |
 4619|       |         0. reduce to case a, b > 0; filter out obvious underflow/overflow
 4620|       |         1. choose a suitable integer 'shift'
 4621|       |         2. use integer arithmetic to compute x = floor(2**-shift*a/b)
 4622|       |         3. adjust x for correct rounding
 4623|       |         4. convert x to a double dx with the same value
 4624|       |         5. return ldexp(dx, shift).
 4625|       |
 4626|       |       In more detail:
 4627|       |
 4628|       |       0. For any a, a/0 raises ZeroDivisionError; for nonzero b, 0/b
 4629|       |       returns either 0.0 or -0.0, depending on the sign of b.  For a and
 4630|       |       b both nonzero, ignore signs of a and b, and add the sign back in
 4631|       |       at the end.  Now write a_bits and b_bits for the bit lengths of a
 4632|       |       and b respectively (that is, a_bits = 1 + floor(log_2(a)); likewise
 4633|       |       for b).  Then
 4634|       |
 4635|       |          2**(a_bits - b_bits - 1) < a/b < 2**(a_bits - b_bits + 1).
 4636|       |
 4637|       |       So if a_bits - b_bits > DBL_MAX_EXP then a/b > 2**DBL_MAX_EXP and
 4638|       |       so overflows.  Similarly, if a_bits - b_bits < DBL_MIN_EXP -
 4639|       |       DBL_MANT_DIG - 1 then a/b underflows to 0.  With these cases out of
 4640|       |       the way, we can assume that
 4641|       |
 4642|       |          DBL_MIN_EXP - DBL_MANT_DIG - 1 <= a_bits - b_bits <= DBL_MAX_EXP.
 4643|       |
 4644|       |       1. The integer 'shift' is chosen so that x has the right number of
 4645|       |       bits for a double, plus two or three extra bits that will be used
 4646|       |       in the rounding decisions.  Writing a_bits and b_bits for the
 4647|       |       number of significant bits in a and b respectively, a
 4648|       |       straightforward formula for shift is:
 4649|       |
 4650|       |          shift = a_bits - b_bits - DBL_MANT_DIG - 2
 4651|       |
 4652|       |       This is fine in the usual case, but if a/b is smaller than the
 4653|       |       smallest normal float then it can lead to double rounding on an
 4654|       |       IEEE 754 platform, giving incorrectly rounded results.  So we
 4655|       |       adjust the formula slightly.  The actual formula used is:
 4656|       |
 4657|       |           shift = MAX(a_bits - b_bits, DBL_MIN_EXP) - DBL_MANT_DIG - 2
 4658|       |
 4659|       |       2. The quantity x is computed by first shifting a (left -shift bits
 4660|       |       if shift <= 0, right shift bits if shift > 0) and then dividing by
 4661|       |       b.  For both the shift and the division, we keep track of whether
 4662|       |       the result is inexact, in a flag 'inexact'; this information is
 4663|       |       needed at the rounding stage.
 4664|       |
 4665|       |       With the choice of shift above, together with our assumption that
 4666|       |       a_bits - b_bits >= DBL_MIN_EXP - DBL_MANT_DIG - 1, it follows
 4667|       |       that x >= 1.
 4668|       |
 4669|       |       3. Now x * 2**shift <= a/b < (x+1) * 2**shift.  We want to replace
 4670|       |       this with an exactly representable float of the form
 4671|       |
 4672|       |          round(x/2**extra_bits) * 2**(extra_bits+shift).
 4673|       |
 4674|       |       For float representability, we need x/2**extra_bits <
 4675|       |       2**DBL_MANT_DIG and extra_bits + shift >= DBL_MIN_EXP -
 4676|       |       DBL_MANT_DIG.  This translates to the condition:
 4677|       |
 4678|       |          extra_bits >= MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG
 4679|       |
 4680|       |       To round, we just modify the bottom digit of x in-place; this can
 4681|       |       end up giving a digit with value > PyLONG_MASK, but that's not a
 4682|       |       problem since digits can hold values up to 2*PyLONG_MASK+1.
 4683|       |
 4684|       |       With the original choices for shift above, extra_bits will always
 4685|       |       be 2 or 3.  Then rounding under the round-half-to-even rule, we
 4686|       |       round up iff the most significant of the extra bits is 1, and
 4687|       |       either: (a) the computation of x in step 2 had an inexact result,
 4688|       |       or (b) at least one other of the extra bits is 1, or (c) the least
 4689|       |       significant bit of x (above those to be rounded) is 1.
 4690|       |
 4691|       |       4. Conversion to a double is straightforward; all floating-point
 4692|       |       operations involved in the conversion are exact, so there's no
 4693|       |       danger of rounding errors.
 4694|       |
 4695|       |       5. Use ldexp(x, shift) to compute x*2**shift, the final result.
 4696|       |       The result will always be exactly representable as a double, except
 4697|       |       in the case that it overflows.  To avoid dependence on the exact
 4698|       |       behaviour of ldexp on overflow, we check for overflow before
 4699|       |       applying ldexp.  The result of ldexp is adjusted for sign before
 4700|       |       returning.
 4701|       |    */
 4702|       |
 4703|       |    /* Reduce to case where a and b are both positive. */
 4704|     32|    a_size = _PyLong_DigitCount(a);
 4705|     32|    b_size = _PyLong_DigitCount(b);
 4706|     32|    negate = (_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b));
 4707|     32|    if (b_size == 0) {
  ------------------
  |  Branch (4707:9): [True: 0, False: 32]
  ------------------
 4708|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
 4709|      0|                        "division by zero");
 4710|      0|        goto error;
 4711|      0|    }
 4712|     32|    if (a_size == 0)
  ------------------
  |  Branch (4712:9): [True: 2, False: 30]
  ------------------
 4713|      2|        goto underflow_or_zero;
 4714|       |
 4715|       |    /* Fast path for a and b small (exactly representable in a double).
 4716|       |       Relies on floating-point division being correctly rounded; results
 4717|       |       may be subject to double rounding on x86 machines that operate with
 4718|       |       the x87 FPU set to 64-bit precision. */
 4719|     30|    a_is_small = a_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|     60|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|     30|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4719:18): [True: 30, False: 0]
  ------------------
 4720|      0|        (a_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4600|      0|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4720:10): [True: 0, False: 0]
  ------------------
 4721|      0|         a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4600|      0|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4601|      0|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4721:10): [True: 0, False: 0]
  ------------------
 4722|     30|    b_is_small = b_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|     60|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|     30|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4722:18): [True: 30, False: 0]
  ------------------
 4723|      0|        (b_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4600|      0|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4723:10): [True: 0, False: 0]
  ------------------
 4724|      0|         b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4600|      0|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4601|      0|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4724:10): [True: 0, False: 0]
  ------------------
 4725|     30|    if (a_is_small && b_is_small) {
  ------------------
  |  Branch (4725:9): [True: 30, False: 0]
  |  Branch (4725:23): [True: 30, False: 0]
  ------------------
 4726|     30|        double da, db;
 4727|     30|        da = a->long_value.ob_digit[--a_size];
 4728|     30|        while (a_size > 0)
  ------------------
  |  Branch (4728:16): [True: 0, False: 30]
  ------------------
 4729|      0|            da = da * PyLong_BASE + a->long_value.ob_digit[--a_size];
  ------------------
  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4730|     30|        db = b->long_value.ob_digit[--b_size];
 4731|     30|        while (b_size > 0)
  ------------------
  |  Branch (4731:16): [True: 0, False: 30]
  ------------------
 4732|      0|            db = db * PyLong_BASE + b->long_value.ob_digit[--b_size];
  ------------------
  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4733|     30|        result = da / db;
 4734|     30|        goto success;
 4735|     30|    }
 4736|       |
 4737|       |    /* Catch obvious cases of underflow and overflow */
 4738|      0|    diff = a_size - b_size;
 4739|      0|    if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4739:9): [True: 0, False: 0]
  ------------------
 4740|       |        /* Extreme overflow */
 4741|      0|        goto overflow;
 4742|      0|    else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4742:14): [True: 0, False: 0]
  ------------------
 4743|       |        /* Extreme underflow */
 4744|      0|        goto underflow_or_zero;
 4745|       |    /* Next line is now safe from overflowing a Py_ssize_t */
 4746|      0|    diff = diff * PyLong_SHIFT + bit_length_digit(a->long_value.ob_digit[a_size - 1]) -
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4747|      0|        bit_length_digit(b->long_value.ob_digit[b_size - 1]);
 4748|       |    /* Now diff = a_bits - b_bits. */
 4749|      0|    if (diff > DBL_MAX_EXP)
  ------------------
  |  Branch (4749:9): [True: 0, False: 0]
  ------------------
 4750|      0|        goto overflow;
 4751|      0|    else if (diff < DBL_MIN_EXP - DBL_MANT_DIG - 1)
  ------------------
  |  Branch (4751:14): [True: 0, False: 0]
  ------------------
 4752|      0|        goto underflow_or_zero;
 4753|       |
 4754|       |    /* Choose value for shift; see comments for step 1 above. */
 4755|      0|    shift = Py_MAX(diff, DBL_MIN_EXP) - DBL_MANT_DIG - 2;
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4756|       |
 4757|      0|    inexact = 0;
 4758|       |
 4759|       |    /* x = abs(a * 2**-shift) */
 4760|      0|    if (shift <= 0) {
  ------------------
  |  Branch (4760:9): [True: 0, False: 0]
  ------------------
 4761|      0|        Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4762|      0|        digit rem;
 4763|       |        /* x = a << -shift */
 4764|      0|        if (a_size >= PY_SSIZE_T_MAX - 1 - shift_digits) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (4764:13): [True: 0, False: 0]
  ------------------
 4765|       |            /* In practice, it's probably impossible to end up
 4766|       |               here.  Both a and b would have to be enormous,
 4767|       |               using close to SIZE_T_MAX bytes of memory each. */
 4768|      0|            PyErr_SetString(PyExc_OverflowError,
 4769|      0|                            "intermediate overflow during division");
 4770|      0|            goto error;
 4771|      0|        }
 4772|      0|        x = long_alloc(a_size + shift_digits + 1);
 4773|      0|        if (x == NULL)
  ------------------
  |  Branch (4773:13): [True: 0, False: 0]
  ------------------
 4774|      0|            goto error;
 4775|      0|        for (i = 0; i < shift_digits; i++)
  ------------------
  |  Branch (4775:21): [True: 0, False: 0]
  ------------------
 4776|      0|            x->long_value.ob_digit[i] = 0;
 4777|      0|        rem = v_lshift(x->long_value.ob_digit + shift_digits, a->long_value.ob_digit,
 4778|      0|                       a_size, -shift % PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4779|      0|        x->long_value.ob_digit[a_size + shift_digits] = rem;
 4780|      0|    }
 4781|      0|    else {
 4782|      0|        Py_ssize_t shift_digits = shift / PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4783|      0|        digit rem;
 4784|       |        /* x = a >> shift */
 4785|      0|        assert(a_size >= shift_digits);
 4786|      0|        x = long_alloc(a_size - shift_digits);
 4787|      0|        if (x == NULL)
  ------------------
  |  Branch (4787:13): [True: 0, False: 0]
  ------------------
 4788|      0|            goto error;
 4789|      0|        rem = v_rshift(x->long_value.ob_digit, a->long_value.ob_digit + shift_digits,
 4790|      0|                       a_size - shift_digits, shift % PyLong_SHIFT);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4791|       |        /* set inexact if any of the bits shifted out is nonzero */
 4792|      0|        if (rem)
  ------------------
  |  Branch (4792:13): [True: 0, False: 0]
  ------------------
 4793|      0|            inexact = 1;
 4794|      0|        while (!inexact && shift_digits > 0)
  ------------------
  |  Branch (4794:16): [True: 0, False: 0]
  |  Branch (4794:28): [True: 0, False: 0]
  ------------------
 4795|      0|            if (a->long_value.ob_digit[--shift_digits])
  ------------------
  |  Branch (4795:17): [True: 0, False: 0]
  ------------------
 4796|      0|                inexact = 1;
 4797|      0|    }
 4798|      0|    long_normalize(x);
 4799|      0|    x_size = _PyLong_SignedDigitCount(x);
 4800|       |
 4801|       |    /* x //= b. If the remainder is nonzero, set inexact.  We own the only
 4802|       |       reference to x, so it's safe to modify it in-place. */
 4803|      0|    if (b_size == 1) {
  ------------------
  |  Branch (4803:9): [True: 0, False: 0]
  ------------------
 4804|      0|        digit rem = inplace_divrem1(x->long_value.ob_digit, x->long_value.ob_digit, x_size,
 4805|      0|                              b->long_value.ob_digit[0]);
 4806|      0|        long_normalize(x);
 4807|      0|        if (rem)
  ------------------
  |  Branch (4807:13): [True: 0, False: 0]
  ------------------
 4808|      0|            inexact = 1;
 4809|      0|    }
 4810|      0|    else {
 4811|      0|        PyLongObject *div, *rem;
 4812|      0|        div = x_divrem(x, b, &rem);
 4813|      0|        Py_SETREF(x, div);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4814|      0|        if (x == NULL)
  ------------------
  |  Branch (4814:13): [True: 0, False: 0]
  ------------------
 4815|      0|            goto error;
 4816|      0|        if (!_PyLong_IsZero(rem))
  ------------------
  |  Branch (4816:13): [True: 0, False: 0]
  ------------------
 4817|      0|            inexact = 1;
 4818|      0|        Py_DECREF(rem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4819|      0|    }
 4820|      0|    x_size = _PyLong_DigitCount(x);
 4821|      0|    assert(x_size > 0); /* result of division is never zero */
 4822|      0|    x_bits = (x_size-1)*PyLong_SHIFT+bit_length_digit(x->long_value.ob_digit[x_size-1]);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 4823|       |
 4824|       |    /* The number of extra bits that have to be rounded away. */
 4825|      0|    extra_bits = Py_MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG;
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4826|      0|    assert(extra_bits == 2 || extra_bits == 3);
 4827|       |
 4828|       |    /* Round by directly modifying the low digit of x. */
 4829|      0|    mask = (digit)1 << (extra_bits - 1);
 4830|      0|    low = x->long_value.ob_digit[0] | inexact;
 4831|      0|    if ((low & mask) && (low & (3U*mask-1U)))
  ------------------
  |  Branch (4831:9): [True: 0, False: 0]
  |  Branch (4831:25): [True: 0, False: 0]
  ------------------
 4832|      0|        low += mask;
 4833|      0|    x->long_value.ob_digit[0] = low & ~(2U*mask-1U);
 4834|       |
 4835|       |    /* Convert x to a double dx; the conversion is exact. */
 4836|      0|    dx = x->long_value.ob_digit[--x_size];
 4837|      0|    while (x_size > 0)
  ------------------
  |  Branch (4837:12): [True: 0, False: 0]
  ------------------
 4838|      0|        dx = dx * PyLong_BASE + x->long_value.ob_digit[--x_size];
  ------------------
  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4839|      0|    Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|       |
 4841|       |    /* Check whether ldexp result will overflow a double. */
 4842|      0|    if (shift + x_bits >= DBL_MAX_EXP &&
  ------------------
  |  Branch (4842:9): [True: 0, False: 0]
  ------------------
 4843|      0|        (shift + x_bits > DBL_MAX_EXP || dx == ldexp(1.0, (int)x_bits)))
  ------------------
  |  Branch (4843:10): [True: 0, False: 0]
  |  Branch (4843:42): [True: 0, False: 0]
  ------------------
 4844|      0|        goto overflow;
 4845|      0|    result = ldexp(dx, (int)shift);
 4846|       |
 4847|     30|  success:
 4848|     30|    return PyFloat_FromDouble(negate ? -result : result);
  ------------------
  |  Branch (4848:31): [True: 2, False: 28]
  ------------------
 4849|       |
 4850|      2|  underflow_or_zero:
 4851|      2|    return PyFloat_FromDouble(negate ? -0.0 : 0.0);
  ------------------
  |  Branch (4851:31): [True: 0, False: 2]
  ------------------
 4852|       |
 4853|      0|  overflow:
 4854|      0|    PyErr_SetString(PyExc_OverflowError,
 4855|      0|                    "integer division result too large for a float");
 4856|      0|  error:
 4857|       |    return NULL;
 4858|      0|}
longobject.c:long_hash:
 3672|  7.15M|{
 3673|  7.15M|    PyLongObject *v = (PyLongObject *)obj;
 3674|  7.15M|    Py_uhash_t x;
 3675|  7.15M|    Py_ssize_t i;
 3676|  7.15M|    int sign;
 3677|       |
 3678|  7.15M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3678:9): [True: 2.54M, False: 4.60M]
  ------------------
 3679|  2.54M|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3680|  2.54M|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3680:13): [True: 8, False: 2.54M]
  ------------------
 3681|      8|            x = (Py_uhash_t)-2;
 3682|      8|        }
 3683|  2.54M|        return x;
 3684|  2.54M|    }
 3685|  4.60M|    i = _PyLong_DigitCount(v);
 3686|  4.60M|    sign = _PyLong_NonCompactSign(v);
 3687|       |
 3688|       |    // unroll first digit
 3689|  4.60M|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  167|  4.60M|        do { \
  |  |  168|  4.60M|            static_assert((cond), #cond); \
  |  |  169|  4.60M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 4.60M]
  |  |  ------------------
  ------------------
 3690|  4.60M|    assert(i >= 1);
 3691|  4.60M|    --i;
 3692|  4.60M|    x = v->long_value.ob_digit[i];
 3693|  4.60M|    assert(x < PyHASH_MODULUS);
 3694|       |
 3695|  4.60M|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3696|       |    // unroll second digit
 3697|  4.60M|    assert(i >= 1);
 3698|  4.60M|    --i;
 3699|  4.60M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  4.60M|#define PyLong_SHIFT    30
  ------------------
 3700|  4.60M|    x += v->long_value.ob_digit[i];
 3701|  4.60M|    assert(x < PyHASH_MODULUS);
 3702|  4.60M|#endif
 3703|       |
 3704|  5.18M|    while (--i >= 0) {
  ------------------
  |  Branch (3704:12): [True: 581k, False: 4.60M]
  ------------------
 3705|       |        /* Here x is a quantity in the range [0, PyHASH_MODULUS); we
 3706|       |           want to compute x * 2**PyLong_SHIFT + v->long_value.ob_digit[i] modulo
 3707|       |           PyHASH_MODULUS.
 3708|       |
 3709|       |           The computation of x * 2**PyLong_SHIFT % PyHASH_MODULUS
 3710|       |           amounts to a rotation of the bits of x.  To see this, write
 3711|       |
 3712|       |             x * 2**PyLong_SHIFT = y * 2**PyHASH_BITS + z
 3713|       |
 3714|       |           where y = x >> (PyHASH_BITS - PyLong_SHIFT) gives the top
 3715|       |           PyLong_SHIFT bits of x (those that are shifted out of the
 3716|       |           original PyHASH_BITS bits, and z = (x << PyLong_SHIFT) &
 3717|       |           PyHASH_MODULUS gives the bottom PyHASH_BITS - PyLong_SHIFT
 3718|       |           bits of x, shifted up.  Then since 2**PyHASH_BITS is
 3719|       |           congruent to 1 modulo PyHASH_MODULUS, y*2**PyHASH_BITS is
 3720|       |           congruent to y modulo PyHASH_MODULUS.  So
 3721|       |
 3722|       |             x * 2**PyLong_SHIFT = y + z (mod PyHASH_MODULUS).
 3723|       |
 3724|       |           The right-hand side is just the result of rotating the
 3725|       |           PyHASH_BITS bits of x left by PyLong_SHIFT places; since
 3726|       |           not all PyHASH_BITS bits of x are 1s, the same is true
 3727|       |           after rotation, so 0 <= y+z < PyHASH_MODULUS and y + z is
 3728|       |           the reduction of x*2**PyLong_SHIFT modulo
 3729|       |           PyHASH_MODULUS. */
 3730|   581k|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|   581k|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|   581k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   581k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3731|   581k|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|   581k|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|   581k|#define PyLong_SHIFT    30
  ------------------
 3732|   581k|        x += v->long_value.ob_digit[i];
 3733|   581k|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|   581k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   581k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3733:13): [True: 4.62k, False: 576k]
  ------------------
 3734|  4.62k|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|  4.62k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  4.62k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3735|   581k|    }
 3736|  4.60M|    x = x * sign;
 3737|  4.60M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3737:9): [True: 4, False: 4.60M]
  ------------------
 3738|      4|        x = (Py_uhash_t)-2;
 3739|  4.60M|    return (Py_hash_t)x;
 3740|  7.15M|}
longobject.c:long_richcompare:
 3624|  4.13M|{
 3625|  4.13M|    Py_ssize_t result;
 3626|  4.13M|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|  4.13M|    do {                                                \
  |  | 1845|  4.13M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  4.13M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.26M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  4.13M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.13M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 4.13M]
  |  |  |  Branch (1845:33): [True: 1.33M, False: 2.79M]
  |  |  ------------------
  |  | 1846|  4.13M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  1.33M|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  1.33M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  4.13M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 2.79M]
  |  |  ------------------
  ------------------
 3627|  2.79M|    if (self == other)
  ------------------
  |  Branch (3627:9): [True: 189k, False: 2.60M]
  ------------------
 3628|   189k|        result = 0;
 3629|  2.60M|    else
 3630|  2.60M|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3631|  2.79M|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  2.79M|    do {                                                                    \
  |  |  675|  2.79M|        switch (op) {                                                       \
  |  |  676|  1.26M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  1.26M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|   679k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   679k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   679k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   679k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|   585k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   585k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 1.26M, False: 1.52M]
  |  |  |  Branch (676:25): [True: 679k, False: 585k]
  |  |  ------------------
  |  |  677|  1.26M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|  2.39k|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     12|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     12|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|  2.38k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.38k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 2.39k, False: 2.79M]
  |  |  |  Branch (677:25): [True: 12, False: 2.38k]
  |  |  ------------------
  |  |  678|   241k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|   241k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  73.5k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  73.5k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  73.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  73.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|   168k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   168k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 241k, False: 2.55M]
  |  |  |  Branch (678:25): [True: 73.5k, False: 168k]
  |  |  ------------------
  |  |  679|  1.26M|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|  1.26M|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  1.25M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  1.25M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  9.66k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  9.66k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  9.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  9.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 1.26M, False: 1.52M]
  |  |  |  Branch (679:25): [True: 1.25M, False: 9.66k]
  |  |  ------------------
  |  |  680|  1.26M|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|  16.8k|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  16.6k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  16.6k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    264|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    264|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 16.8k, False: 2.77M]
  |  |  |  Branch (680:25): [True: 16.6k, False: 264]
  |  |  ------------------
  |  |  681|  16.8k|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|  2.29k|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  2.03k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  2.03k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    263|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    263|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    263|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    263|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 2.29k, False: 2.79M]
  |  |  |  Branch (681:25): [True: 2.03k, False: 263]
  |  |  ------------------
  |  |  682|  2.29k|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 2.79M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  2.79M|        }                                                                   \
  |  |  685|  2.79M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3632|  2.79M|}
longobject.c:int_bit_length_impl:
 6292|  1.23M|{
 6293|  1.23M|    int64_t nbits = _PyLong_NumBits(self);
 6294|  1.23M|    assert(nbits >= 0);
 6295|       |    assert(!PyErr_Occurred());
 6296|  1.23M|    return PyLong_FromInt64(nbits);
 6297|  1.23M|}
longobject.c:int_to_bytes_impl:
 6393|   196k|{
 6394|   196k|    int little_endian;
 6395|   196k|    if (byteorder == NULL)
  ------------------
  |  Branch (6395:9): [True: 0, False: 196k]
  ------------------
 6396|      0|        little_endian = 0;
 6397|   196k|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  919|   196k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   196k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   196k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6397:14): [True: 2, False: 196k]
  ------------------
 6398|      2|        little_endian = 1;
 6399|   196k|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  919|   196k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   196k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   196k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6399:14): [True: 196k, False: 0]
  ------------------
 6400|   196k|        little_endian = 0;
 6401|      0|    else {
 6402|      0|        PyErr_SetString(PyExc_ValueError,
 6403|      0|            "byteorder must be either 'little' or 'big'");
 6404|      0|        return NULL;
 6405|      0|    }
 6406|       |
 6407|   196k|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6408|   196k|    if (writer == NULL) {
  ------------------
  |  Branch (6408:9): [True: 0, False: 196k]
  ------------------
 6409|      0|        return NULL;
 6410|      0|    }
 6411|       |
 6412|   196k|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6412:9): [True: 0, False: 196k]
  ------------------
 6413|   196k|                            PyBytesWriter_GetData(writer),
 6414|   196k|                            length, little_endian, is_signed, 1) < 0) {
 6415|      0|        PyBytesWriter_Discard(writer);
 6416|      0|        return NULL;
 6417|      0|    }
 6418|       |
 6419|   196k|    return PyBytesWriter_Finish(writer);
 6420|   196k|}
longobject.c:int_from_bytes_impl:
 6450|  8.06M|{
 6451|  8.06M|    int little_endian;
 6452|  8.06M|    PyObject *long_obj, *bytes;
 6453|       |
 6454|  8.06M|    if (byteorder == NULL)
  ------------------
  |  Branch (6454:9): [True: 0, False: 8.06M]
  ------------------
 6455|      0|        little_endian = 0;
 6456|  8.06M|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  919|  8.06M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.06M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.06M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6456:14): [True: 1.50k, False: 8.05M]
  ------------------
 6457|  1.50k|        little_endian = 1;
 6458|  8.05M|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  919|  8.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6458:14): [True: 8.05M, False: 0]
  ------------------
 6459|  8.05M|        little_endian = 0;
 6460|      0|    else {
 6461|      0|        PyErr_SetString(PyExc_ValueError,
 6462|      0|            "byteorder must be either 'little' or 'big'");
 6463|      0|        return NULL;
 6464|      0|    }
 6465|       |
 6466|       |    /* Fast-path exact bytes. */
 6467|  8.06M|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|  8.06M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  8.06M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.06M, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6468|  8.06M|        long_obj = _PyLong_FromByteArray(
 6469|  8.06M|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|  8.06M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|  8.06M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6470|  8.06M|            little_endian, is_signed);
 6471|  8.06M|    }
 6472|       |    /* Use buffer protocol to avoid copies. */
 6473|     44|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6473:14): [True: 0, False: 44]
  ------------------
 6474|      0|        Py_buffer view;
 6475|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6475:13): [True: 0, False: 0]
  ------------------
 6476|      0|            return NULL;
 6477|      0|        }
 6478|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6479|      0|            is_signed);
 6480|      0|        PyBuffer_Release(&view);
 6481|      0|    }
 6482|     44|    else {
 6483|       |        /* fallback: Construct a bytes then convert. */
 6484|     44|        bytes = PyObject_Bytes(bytes_obj);
 6485|     44|        if (bytes == NULL) {
  ------------------
  |  Branch (6485:13): [True: 0, False: 44]
  ------------------
 6486|      0|            return NULL;
 6487|      0|        }
 6488|     44|        long_obj = _PyLong_FromByteArray(
 6489|     44|            (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(bytes),
  ------------------
  |  |   27|     44|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(bytes),
  ------------------
  |  |  214|     44|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6490|     44|            little_endian, is_signed);
 6491|     44|        Py_DECREF(bytes);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6492|     44|    }
 6493|       |
 6494|  8.06M|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6494:9): [True: 8.06M, False: 0]
  |  Branch (6494:29): [True: 0, False: 8.06M]
  ------------------
 6495|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6496|      0|    }
 6497|       |
 6498|  8.06M|    return long_obj;
 6499|  8.06M|}
longobject.c:long_new_impl:
 5972|  2.66k|{
 5973|  2.66k|    Py_ssize_t base;
 5974|       |
 5975|  2.66k|    if (type != &PyLong_Type)
  ------------------
  |  Branch (5975:9): [True: 876, False: 1.78k]
  ------------------
 5976|    876|        return long_subtype_new(type, x, obase); /* Wimp out */
 5977|  1.78k|    if (x == NULL) {
  ------------------
  |  Branch (5977:9): [True: 2, False: 1.78k]
  ------------------
 5978|      2|        if (obase != NULL) {
  ------------------
  |  Branch (5978:13): [True: 0, False: 2]
  ------------------
 5979|      0|            PyErr_SetString(PyExc_TypeError,
 5980|      0|                            "int() missing string argument");
 5981|      0|            return NULL;
 5982|      0|        }
 5983|      2|        return PyLong_FromLong(0L);
 5984|      2|    }
 5985|       |    /* default base and limit, forward to standard implementation */
 5986|  1.78k|    if (obase == NULL)
  ------------------
  |  Branch (5986:9): [True: 874, False: 912]
  ------------------
 5987|    874|        return PyNumber_Long(x);
 5988|       |
 5989|    912|    base = PyNumber_AsSsize_t(obase, NULL);
 5990|    912|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (5990:9): [True: 0, False: 912]
  |  Branch (5990:23): [True: 0, False: 0]
  ------------------
 5991|      0|        return NULL;
 5992|    912|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (5992:10): [True: 912, False: 0]
  |  Branch (5992:23): [True: 0, False: 912]
  |  Branch (5992:36): [True: 0, False: 912]
  ------------------
 5993|      0|        PyErr_SetString(PyExc_ValueError,
 5994|      0|                        "int() base must be >= 2 and <= 36, or 0");
 5995|      0|        return NULL;
 5996|      0|    }
 5997|       |
 5998|    912|    if (PyUnicode_Check(x))
  ------------------
  |  |  103|    912|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    912|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 304, False: 608]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5999|    304|        return PyLong_FromUnicodeObject(x, (int)base);
 6000|    608|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|    608|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|  1.21k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 608, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6001|    608|        const char *string;
 6002|    608|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|    608|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    608|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 608, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6003|    608|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|    608|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6004|      0|        else
 6005|      0|            string = PyBytes_AS_STRING(x);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6006|    608|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  214|    608|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6007|    608|    }
 6008|      0|    else {
 6009|      0|        PyErr_SetString(PyExc_TypeError,
 6010|      0|                        "int() can't convert non-string with explicit base");
 6011|       |        return NULL;
 6012|      0|    }
 6013|    912|}
longobject.c:long_subtype_new:
 6022|    876|{
 6023|    876|    PyLongObject *tmp, *newobj;
 6024|    876|    Py_ssize_t size, ndigits;
 6025|    876|    int sign;
 6026|       |
 6027|    876|    assert(PyType_IsSubtype(type, &PyLong_Type));
 6028|    876|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6029|    876|    if (tmp == NULL)
  ------------------
  |  Branch (6029:9): [True: 0, False: 876]
  ------------------
 6030|      0|        return NULL;
 6031|    876|    assert(PyLong_Check(tmp));
 6032|    876|    size = _PyLong_DigitCount(tmp);
 6033|       |    /* Fast operations for single digit integers (including zero)
 6034|       |     * assume that there is always at least one digit present. */
 6035|    876|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6035:15): [True: 836, False: 40]
  ------------------
 6036|    876|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6037|    876|    if (newobj == NULL) {
  ------------------
  |  Branch (6037:9): [True: 0, False: 876]
  ------------------
 6038|      0|        Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6039|      0|        return NULL;
 6040|      0|    }
 6041|    876|    assert(PyLong_Check(newobj));
 6042|    876|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6042:9): [True: 868, False: 8]
  ------------------
 6043|    868|        sign = _PyLong_CompactSign(tmp);
 6044|    868|    }
 6045|      8|    else {
 6046|      8|        sign = _PyLong_NonCompactSign(tmp);
 6047|      8|    }
 6048|    876|    _PyLong_InitTag(newobj);
 6049|    876|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6050|    876|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6051|    876|           ndigits * sizeof(digit));
 6052|    876|    Py_DECREF(tmp);
  ------------------
  |  |  430|    876|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    876|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    876|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6053|    876|    return (PyObject *)newobj;
 6054|    876|}
longobject.c:long_vectorcall:
 6530|   124k|{
 6531|   124k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   124k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6532|   124k|    if (kwnames != NULL) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 124k]
  ------------------
 6533|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6534|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6535|      0|    }
 6536|   124k|    switch (nargs) {
 6537|      4|        case 0:
  ------------------
  |  Branch (6537:9): [True: 4, False: 124k]
  ------------------
 6538|      4|            return _PyLong_GetZero();
 6539|   123k|        case 1:
  ------------------
  |  Branch (6539:9): [True: 123k, False: 916]
  ------------------
 6540|   123k|            return PyNumber_Long(args[0]);
 6541|    912|        case 2:
  ------------------
  |  Branch (6541:9): [True: 912, False: 123k]
  ------------------
 6542|    912|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|    912|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    912|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6543|      0|        default:
  ------------------
  |  Branch (6543:9): [True: 0, False: 124k]
  ------------------
 6544|      0|            return PyErr_Format(PyExc_TypeError,
 6545|      0|                                "int expected at most 2 arguments, got %zd",
 6546|      0|                                nargs);
 6547|   124k|    }
 6548|   124k|}

PyMemoryView_FromBuffer:
  771|     28|{
  772|     28|    _PyManagedBufferObject *mbuf;
  773|     28|    PyObject *mv;
  774|       |
  775|     28|    if (info->buf == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 28]
  ------------------
  776|      0|        PyErr_SetString(PyExc_ValueError,
  777|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|     28|    mbuf = mbuf_alloc();
  782|     28|    if (mbuf == NULL)
  ------------------
  |  Branch (782:9): [True: 0, False: 28]
  ------------------
  783|      0|        return NULL;
  784|       |
  785|       |    /* info->obj is either NULL or a borrowed reference. This reference
  786|       |       should not be decremented in PyBuffer_Release(). */
  787|     28|    mbuf->master = *info;
  788|     28|    mbuf->master.obj = NULL;
  789|       |
  790|     28|    mv = mbuf_add_view(mbuf, NULL);
  791|     28|    Py_DECREF(mbuf);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|       |
  793|     28|    return mv;
  794|     28|}
PyMemoryView_FromObject:
  855|    510|{
  856|    510|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|    510|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|    510|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    510|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    510|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|    510|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  857|    510|}
PyBuffer_ToContiguous:
 1050|  16.0M|{
 1051|  16.0M|    Py_buffer_full *fb = NULL;
 1052|  16.0M|    int ret;
 1053|       |
 1054|  16.0M|    assert(order == 'C' || order == 'F' || order == 'A');
 1055|       |
 1056|  16.0M|    if (len != src->len) {
  ------------------
  |  Branch (1056:9): [True: 0, False: 16.0M]
  ------------------
 1057|      0|        PyErr_SetString(PyExc_ValueError,
 1058|      0|            "PyBuffer_ToContiguous: len != view->len");
 1059|      0|        return -1;
 1060|      0|    }
 1061|       |
 1062|  16.0M|    if (PyBuffer_IsContiguous(src, order)) {
  ------------------
  |  Branch (1062:9): [True: 16.0M, False: 0]
  ------------------
 1063|  16.0M|        memcpy((char *)buf, src->buf, len);
 1064|  16.0M|        return 0;
 1065|  16.0M|    }
 1066|       |
 1067|       |    /* buffer_to_contiguous() assumes PyBUF_FULL */
 1068|      0|    fb = PyMem_Malloc(sizeof *fb + 3 * src->ndim * (sizeof *fb->array));
 1069|      0|    if (fb == NULL) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 0]
  ------------------
 1070|      0|        PyErr_NoMemory();
 1071|      0|        return -1;
 1072|      0|    }
 1073|      0|    fb->view.ndim = src->ndim;
 1074|      0|    fb->view.shape = fb->array;
 1075|      0|    fb->view.strides = fb->array + src->ndim;
 1076|      0|    fb->view.suboffsets = fb->array + 2 * src->ndim;
 1077|       |
 1078|      0|    init_shared_values(&fb->view, src);
 1079|      0|    init_shape_strides(&fb->view, src);
 1080|      0|    init_suboffsets(&fb->view, src);
 1081|       |
 1082|      0|    src = &fb->view;
 1083|       |
 1084|      0|    ret = buffer_to_contiguous(buf, src, order);
 1085|      0|    PyMem_Free(fb);
 1086|      0|    return ret;
 1087|      0|}
memoryobject.c:mbuf_dealloc:
  121|    536|{
  122|    536|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  123|    536|    assert(self->exports == 0);
  124|    536|    mbuf_release(self);
  125|    536|    if (self->flags&_Py_MANAGED_BUFFER_FREE_FORMAT)
  ------------------
  |  |    9|    536|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (125:9): [True: 0, False: 536]
  ------------------
  126|      0|        PyMem_Free(self->master.format);
  127|    536|    PyObject_GC_Del(self);
  128|    536|}
memoryobject.c:mbuf_release:
  108|  1.07k|{
  109|  1.07k|    if (self->flags&_Py_MANAGED_BUFFER_RELEASED)
  ------------------
  |  |    8|  1.07k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  |  Branch (109:9): [True: 536, False: 536]
  ------------------
  110|    536|        return;
  111|       |
  112|    536|    self->flags |= _Py_MANAGED_BUFFER_RELEASED;
  ------------------
  |  |    8|    536|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  113|       |
  114|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  115|    536|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|    536|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|    536|    PyBuffer_Release(&self->master);
  117|    536|}
memoryobject.c:mbuf_traverse:
  132|     48|{
  133|     48|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  134|     48|    Py_VISIT(self->master.obj);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
  135|     48|    return 0;
  136|     48|}
memoryobject.c:mbuf_alloc:
   73|    536|{
   74|    536|    _PyManagedBufferObject *mbuf;
   75|       |
   76|    536|    mbuf = (_PyManagedBufferObject *)
   77|    536|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|    536|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|    536|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 536]
  ------------------
   79|      0|        return NULL;
   80|    536|    mbuf->flags = 0;
   81|    536|    mbuf->exports = 0;
   82|    536|    mbuf->master.obj = NULL;
   83|    536|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  508|    536|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|    536|    return mbuf;
   86|    536|}
memoryobject.c:mbuf_add_view:
  677|  1.04k|{
  678|  1.04k|    PyMemoryViewObject *mv;
  679|  1.04k|    Py_buffer *dest;
  680|       |
  681|  1.04k|    if (src == NULL)
  ------------------
  |  Branch (681:9): [True: 536, False: 504]
  ------------------
  682|    536|        src = &mbuf->master;
  683|       |
  684|  1.04k|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|  1.04k|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (684:9): [True: 0, False: 1.04k]
  ------------------
  685|      0|        PyErr_SetString(PyExc_ValueError,
  686|      0|            "memoryview: number of dimensions must not exceed "
  687|      0|            Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
  688|      0|        return NULL;
  689|      0|    }
  690|       |
  691|  1.04k|    mv = memory_alloc(src->ndim);
  692|  1.04k|    if (mv == NULL)
  ------------------
  |  Branch (692:9): [True: 0, False: 1.04k]
  ------------------
  693|      0|        return NULL;
  694|       |
  695|  1.04k|    dest = &mv->view;
  696|  1.04k|    init_shared_values(dest, src);
  697|  1.04k|    init_shape_strides(dest, src);
  698|  1.04k|    init_suboffsets(dest, src);
  699|  1.04k|    init_flags(mv);
  700|       |
  701|  1.04k|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  550|  1.04k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  1.04k|    mbuf->exports++;
  703|       |
  704|  1.04k|    return (PyObject *)mv;
  705|  1.04k|}
memoryobject.c:memory_alloc:
  645|  1.04k|{
  646|  1.04k|    PyMemoryViewObject *mv;
  647|       |
  648|  1.04k|    mv = (PyMemoryViewObject *)
  649|  1.04k|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|  1.04k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|  1.04k|    if (mv == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 1.04k]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|  1.04k|    mv->mbuf = NULL;
  654|  1.04k|    mv->hash = -1;
  655|  1.04k|    mv->flags = 0;
  656|  1.04k|    mv->exports = 0;
  657|  1.04k|    mv->view.ndim = ndim;
  658|  1.04k|    mv->view.shape = mv->ob_array;
  659|  1.04k|    mv->view.strides = mv->ob_array + ndim;
  660|  1.04k|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  661|  1.04k|    mv->weakreflist = NULL;
  662|       |
  663|  1.04k|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  508|  1.04k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|  1.04k|    return mv;
  665|  1.04k|}
memoryobject.c:init_flags:
  612|  1.54k|{
  613|  1.54k|    const Py_buffer *view = &mv->view;
  614|  1.54k|    int flags = 0;
  615|       |
  616|  1.54k|    switch (view->ndim) {
  617|      0|    case 0:
  ------------------
  |  Branch (617:5): [True: 0, False: 1.54k]
  ------------------
  618|      0|        flags |= (_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|
  ------------------
  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  ------------------
                      flags |= (_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
  619|      0|                  _Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  620|      0|        break;
  621|  1.54k|    case 1:
  ------------------
  |  Branch (621:5): [True: 1.54k, False: 0]
  ------------------
  622|  1.54k|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  241|  1.54k|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (241:6): [True: 0, False: 1.54k]
  |  |  |  Branch (241:31): [True: 1.54k, False: 0]
  |  |  ------------------
  ------------------
  623|  1.54k|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|  1.54k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|  1.54k|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  624|  1.54k|        break;
  625|      0|    default:
  ------------------
  |  Branch (625:5): [True: 0, False: 1.54k]
  ------------------
  626|      0|        if (PyBuffer_IsContiguous(view, 'C'))
  ------------------
  |  Branch (626:13): [True: 0, False: 0]
  ------------------
  627|      0|            flags |= _Py_MEMORYVIEW_C;
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
  628|      0|        if (PyBuffer_IsContiguous(view, 'F'))
  ------------------
  |  Branch (628:13): [True: 0, False: 0]
  ------------------
  629|      0|            flags |= _Py_MEMORYVIEW_FORTRAN;
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  630|      0|        break;
  631|  1.54k|    }
  632|       |
  633|  1.54k|    if (view->suboffsets) {
  ------------------
  |  Branch (633:9): [True: 0, False: 1.54k]
  ------------------
  634|      0|        flags |= _Py_MEMORYVIEW_PIL;
  ------------------
  |  |   24|      0|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  635|      0|        flags &= ~(_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                      flags &= ~(_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  636|      0|    }
  637|       |
  638|  1.54k|    mv->flags = flags;
  639|  1.54k|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  802|    510|{
  803|    510|    _PyManagedBufferObject *mbuf;
  804|       |
  805|    510|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|    510|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|    510|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 508]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|      2|        PyMemoryViewObject *mv = (PyMemoryViewObject *)v;
  807|      2|        CHECK_RELEASED(mv);
  ------------------
  |  |  185|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      2|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      4|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  182|      2|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
  808|      2|        CHECK_RESTRICTED(mv);
  ------------------
  |  |  199|      2|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      2|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
  809|      2|        return mbuf_add_view(mv->mbuf, &mv->view);
  810|      2|    }
  811|    508|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (811:14): [True: 508, False: 0]
  ------------------
  812|    508|        PyObject *ret;
  813|    508|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  814|    508|        if (mbuf == NULL)
  ------------------
  |  Branch (814:13): [True: 0, False: 508]
  ------------------
  815|      0|            return NULL;
  816|    508|        ret = mbuf_add_view(mbuf, NULL);
  817|    508|        Py_DECREF(mbuf);
  ------------------
  |  |  430|    508|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    508|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    508|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|    508|        return ret;
  819|    508|    }
  820|       |
  821|      0|    PyErr_Format(PyExc_TypeError,
  822|      0|        "memoryview: a bytes-like object is required, not '%.200s'",
  823|      0|        Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|       |    return NULL;
  825|    510|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|    508|{
   91|    508|    _PyManagedBufferObject *mbuf;
   92|       |
   93|    508|    mbuf = mbuf_alloc();
   94|    508|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 508]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|    508|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 508]
  ------------------
   98|      0|        mbuf->master.obj = NULL;
   99|      0|        Py_DECREF(mbuf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|      0|        return NULL;
  101|      0|    }
  102|       |
  103|    508|    return (PyObject *)mbuf;
  104|    508|}
memoryobject.c:mbuf_add_incomplete_view:
  715|      6|{
  716|      6|    PyMemoryViewObject *mv;
  717|      6|    Py_buffer *dest;
  718|       |
  719|      6|    if (src == NULL)
  ------------------
  |  Branch (719:9): [True: 0, False: 6]
  ------------------
  720|      0|        src = &mbuf->master;
  721|       |
  722|      6|    assert(ndim <= PyBUF_MAX_NDIM);
  723|       |
  724|      6|    mv = memory_alloc(ndim);
  725|      6|    if (mv == NULL)
  ------------------
  |  Branch (725:9): [True: 0, False: 6]
  ------------------
  726|      0|        return NULL;
  727|       |
  728|      6|    dest = &mv->view;
  729|      6|    init_shared_values(dest, src);
  730|       |
  731|      6|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      6|    mbuf->exports++;
  733|       |
  734|      6|    return (PyObject *)mv;
  735|      6|}
memoryobject.c:init_shared_values:
  544|  1.04k|{
  545|  1.04k|    dest->obj = src->obj;
  546|  1.04k|    dest->buf = src->buf;
  547|  1.04k|    dest->len = src->len;
  548|  1.04k|    dest->itemsize = src->itemsize;
  549|  1.04k|    dest->readonly = src->readonly;
  550|  1.04k|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (550:20): [True: 1.01k, False: 28]
  ------------------
  551|  1.04k|    dest->internal = src->internal;
  552|  1.04k|}
memoryobject.c:init_shape_strides:
  557|  1.04k|{
  558|  1.04k|    Py_ssize_t i;
  559|       |
  560|  1.04k|    if (src->ndim == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 1.04k]
  ------------------
  561|      0|        dest->shape = NULL;
  562|      0|        dest->strides = NULL;
  563|      0|        return;
  564|      0|    }
  565|  1.04k|    if (src->ndim == 1) {
  ------------------
  |  Branch (565:9): [True: 1.04k, False: 0]
  ------------------
  566|  1.04k|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (566:26): [True: 1.04k, False: 0]
  ------------------
  567|  1.04k|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (567:28): [True: 1.01k, False: 28]
  ------------------
  568|  1.04k|        return;
  569|  1.04k|    }
  570|       |
  571|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (571:17): [True: 0, False: 0]
  ------------------
  572|      0|        dest->shape[i] = src->shape[i];
  573|      0|    if (src->strides) {
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|        for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (574:21): [True: 0, False: 0]
  ------------------
  575|      0|            dest->strides[i] = src->strides[i];
  576|      0|    }
  577|      0|    else {
  578|      0|        init_strides_from_shape(dest);
  579|      0|    }
  580|      0|}
memoryobject.c:init_suboffsets:
  584|  1.04k|{
  585|  1.04k|    Py_ssize_t i;
  586|       |
  587|  1.04k|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (587:9): [True: 1.04k, False: 0]
  ------------------
  588|  1.04k|        dest->suboffsets = NULL;
  589|  1.04k|        return;
  590|  1.04k|    }
  591|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        dest->suboffsets[i] = src->suboffsets[i];
  593|      0|}
memoryobject.c:unpack_single:
 1806|    384|{
 1807|    384|    unsigned long long llu;
 1808|    384|    unsigned long lu;
 1809|    384|    size_t zu;
 1810|    384|    long long lld;
 1811|    384|    long ld;
 1812|    384|    Py_ssize_t zd;
 1813|    384|    double d[2];
 1814|    384|    unsigned char uc;
 1815|    384|    void *p;
 1816|       |
 1817|    384|    CHECK_RELEASED_AGAIN(self);
  ------------------
  |  |  214|    384|#define CHECK_RELEASED_AGAIN(mv) CHECK_RELEASED(mv)
  |  |  ------------------
  |  |  |  |  185|    384|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  181|    384|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    768|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (181:6): [True: 0, False: 384]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    384|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    384|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:6): [True: 0, False: 384]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  |  |  188|      0|        return NULL;                                              \
  |  |  |  |  189|      0|    }
  |  |  ------------------
  ------------------
 1818|       |
 1819|    384|#if PY_LITTLE_ENDIAN
 1820|    384|    int endian = 1;
 1821|       |#else
 1822|       |    int endian = 0;
 1823|       |#endif
 1824|       |
 1825|    384|    switch (fmt[0]) {
 1826|       |
 1827|       |    /* signed integers and fast path for 'B' */
 1828|      0|    case 'B': uc = *((const unsigned char *)ptr); goto convert_uc;
  ------------------
  |  Branch (1828:5): [True: 0, False: 384]
  ------------------
 1829|      0|    case 'b': ld =   *((const signed char *)ptr); goto convert_ld;
  ------------------
  |  Branch (1829:5): [True: 0, False: 384]
  ------------------
 1830|      0|    case 'h': UNPACK_SINGLE(ld, ptr, short); goto convert_ld;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1830:5): [True: 0, False: 384]
  ------------------
 1831|      0|    case 'i': UNPACK_SINGLE(ld, ptr, int); goto convert_ld;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1831:5): [True: 0, False: 384]
  ------------------
 1832|      0|    case 'l': UNPACK_SINGLE(ld, ptr, long); goto convert_ld;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1832:5): [True: 0, False: 384]
  ------------------
 1833|       |
 1834|       |    /* boolean */
 1835|      0|    case '?': ld = UNPACK_TO_BOOL(ptr); goto convert_bool;
  ------------------
  |  | 1698|      0|#define UNPACK_TO_BOOL(PTR) (memcmp((PTR), &bool_false, sizeof(_Bool)) != 0)
  ------------------
  |  Branch (1835:5): [True: 0, False: 384]
  ------------------
 1836|       |
 1837|       |    /* unsigned integers */
 1838|      0|    case 'H': UNPACK_SINGLE(lu, ptr, unsigned short); goto convert_lu;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1838:5): [True: 0, False: 384]
  ------------------
 1839|    384|    case 'I': UNPACK_SINGLE(lu, ptr, unsigned int); goto convert_lu;
  ------------------
  |  | 1795|    384|    do {                                   \
  |  | 1796|    384|        type x;                            \
  |  | 1797|    384|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|    384|        dest = x;                          \
  |  | 1799|    384|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 384]
  |  |  ------------------
  ------------------
  |  Branch (1839:5): [True: 384, False: 0]
  ------------------
 1840|      0|    case 'L': UNPACK_SINGLE(lu, ptr, unsigned long); goto convert_lu;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1840:5): [True: 0, False: 384]
  ------------------
 1841|       |
 1842|       |    /* native 64-bit */
 1843|      0|    case 'q': UNPACK_SINGLE(lld, ptr, long long); goto convert_lld;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1843:5): [True: 0, False: 384]
  ------------------
 1844|      0|    case 'Q': UNPACK_SINGLE(llu, ptr, unsigned long long); goto convert_llu;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1844:5): [True: 0, False: 384]
  ------------------
 1845|       |
 1846|       |    /* ssize_t and size_t */
 1847|      0|    case 'n': UNPACK_SINGLE(zd, ptr, Py_ssize_t); goto convert_zd;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1847:5): [True: 0, False: 384]
  ------------------
 1848|      0|    case 'N': UNPACK_SINGLE(zu, ptr, size_t); goto convert_zu;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1848:5): [True: 0, False: 384]
  ------------------
 1849|       |
 1850|       |    /* floats */
 1851|      0|    case 'f': UNPACK_SINGLE(d[0], ptr, float); goto convert_double;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1851:5): [True: 0, False: 384]
  ------------------
 1852|      0|    case 'd': UNPACK_SINGLE(d[0], ptr, double); goto convert_double;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1852:5): [True: 0, False: 384]
  ------------------
 1853|      0|    case 'e': d[0] = PyFloat_Unpack2(ptr, endian); goto convert_double;
  ------------------
  |  Branch (1853:5): [True: 0, False: 384]
  ------------------
 1854|       |
 1855|       |    /* complexes */
 1856|      0|    case 'Z': {
  ------------------
  |  Branch (1856:5): [True: 0, False: 384]
  ------------------
 1857|      0|        switch (fmt[1]) {
 1858|      0|        case 'f':
  ------------------
  |  Branch (1858:9): [True: 0, False: 0]
  ------------------
 1859|      0|            d[0] = PyFloat_Unpack4(ptr, endian);
 1860|      0|            d[1] = PyFloat_Unpack4(ptr + sizeof(float), endian);
 1861|      0|            goto convert_double_complex;
 1862|       |
 1863|      0|        case 'd':
  ------------------
  |  Branch (1863:9): [True: 0, False: 0]
  ------------------
 1864|      0|            d[0] = PyFloat_Unpack8(ptr, endian);
 1865|      0|            d[1] = PyFloat_Unpack8(ptr + sizeof(double), endian);
 1866|      0|            goto convert_double_complex;
 1867|       |
 1868|      0|        default: goto err_format;
  ------------------
  |  Branch (1868:9): [True: 0, False: 0]
  ------------------
 1869|      0|        }
 1870|      0|        break;
 1871|      0|    }
 1872|       |
 1873|       |    /* bytes object */
 1874|      0|    case 'c': goto convert_bytes;
  ------------------
  |  Branch (1874:5): [True: 0, False: 384]
  ------------------
 1875|       |
 1876|       |    /* pointer */
 1877|      0|    case 'P': UNPACK_SINGLE(p, ptr, void *); goto convert_pointer;
  ------------------
  |  | 1795|      0|    do {                                   \
  |  | 1796|      0|        type x;                            \
  |  | 1797|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1798|      0|        dest = x;                          \
  |  | 1799|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1799:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1877:5): [True: 0, False: 384]
  ------------------
 1878|       |
 1879|       |    /* default */
 1880|      0|    default: goto err_format;
  ------------------
  |  Branch (1880:5): [True: 0, False: 384]
  ------------------
 1881|    384|    }
 1882|       |
 1883|      0|convert_uc:
 1884|       |    /* PyLong_FromUnsignedLong() is slower */
 1885|      0|    return PyLong_FromLong(uc);
 1886|      0|convert_ld:
 1887|      0|    return PyLong_FromLong(ld);
 1888|    384|convert_lu:
 1889|    384|    return PyLong_FromUnsignedLong(lu);
 1890|      0|convert_lld:
 1891|      0|    return PyLong_FromLongLong(lld);
 1892|      0|convert_llu:
 1893|      0|    return PyLong_FromUnsignedLongLong(llu);
 1894|      0|convert_zd:
 1895|      0|    return PyLong_FromSsize_t(zd);
 1896|      0|convert_zu:
 1897|      0|    return PyLong_FromSize_t(zu);
 1898|      0|convert_double:
 1899|      0|    return PyFloat_FromDouble(d[0]);
 1900|      0|convert_double_complex:
 1901|      0|    return PyComplex_FromDoubles(d[0], d[1]);
 1902|      0|convert_bool:
 1903|      0|    return PyBool_FromLong(ld);
 1904|      0|convert_bytes:
 1905|      0|    return PyBytes_FromStringAndSize(ptr, 1);
 1906|      0|convert_pointer:
 1907|      0|    return PyLong_FromVoidPtr(p);
 1908|      0|err_format:
 1909|      0|    PyErr_Format(PyExc_NotImplementedError,
 1910|      0|        "memoryview: format %s not supported", fmt);
 1911|       |    return NULL;
 1912|    384|}
memoryobject.c:memory_dealloc:
 1152|  1.04k|{
 1153|  1.04k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1154|  1.04k|    assert(get_exports(self) == 0);
 1155|  1.04k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  1.04k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|  1.04k|    _memory_release(self);
 1157|  1.04k|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  484|  1.04k|    do { \
  |  |  485|  1.04k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.04k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.04k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.04k, False: 0]
  |  |  ------------------
  |  |  488|  1.04k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.04k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.04k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.04k|        } \
  |  |  491|  1.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.04k]
  |  |  ------------------
  ------------------
 1158|  1.04k|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 1.04k]
  ------------------
 1159|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1160|  1.04k|    PyObject_GC_Del(self);
 1161|  1.04k|}
memoryobject.c:_memory_release:
 1110|  1.04k|{
 1111|  1.04k|    assert(get_exports(self) == 0);
 1112|  1.04k|    if (self->flags & _Py_MEMORYVIEW_RELEASED)
  ------------------
  |  |   20|  1.04k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (1112:9): [True: 0, False: 1.04k]
  ------------------
 1113|      0|        return;
 1114|       |
 1115|  1.04k|    self->flags |= _Py_MEMORYVIEW_RELEASED;
  ------------------
  |  |   20|  1.04k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
 1116|  1.04k|    assert(self->mbuf->exports > 0);
 1117|  1.04k|    if (--self->mbuf->exports == 0) {
  ------------------
  |  Branch (1117:9): [True: 536, False: 510]
  ------------------
 1118|    536|        mbuf_release(self->mbuf);
 1119|    536|    }
 1120|  1.04k|}
memoryobject.c:memory_length:
 2827|      6|{
 2828|      6|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2829|      6|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|      6|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      6|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     12|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  182|      6|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      6|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 2830|      6|    if (self->view.ndim == 0) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 6]
  ------------------
 2831|      0|        PyErr_SetString(PyExc_TypeError, "0-dim memory has no length");
 2832|      0|        return -1;
 2833|      0|    }
 2834|      6|    return self->view.shape[0];
 2835|      6|}
memoryobject.c:adjust_fmt:
 2230|      6|{
 2231|      6|    const char *fmt;
 2232|       |
 2233|      6|    fmt = (view->format[0] == '@') ? view->format+1 : view->format;
  ------------------
  |  Branch (2233:11): [True: 0, False: 6]
  ------------------
 2234|      6|    if (fmt[0] == 'Z' && fmt[1] && fmt[2] == '\0')
  ------------------
  |  Branch (2234:9): [True: 0, False: 6]
  |  Branch (2234:26): [True: 0, False: 0]
  |  Branch (2234:36): [True: 0, False: 0]
  ------------------
 2235|      0|        return fmt;
 2236|      6|    if (fmt[0] && fmt[1] == '\0')
  ------------------
  |  Branch (2236:9): [True: 6, False: 0]
  |  Branch (2236:19): [True: 6, False: 0]
  ------------------
 2237|      6|        return fmt;
 2238|       |
 2239|      0|    PyErr_Format(PyExc_NotImplementedError,
 2240|      0|        "memoryview: unsupported format %s", view->format);
 2241|       |    return NULL;
 2242|      6|}
memoryobject.c:memory_subscript:
 2661|    502|{
 2662|    502|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2663|    502|    Py_buffer *view;
 2664|    502|    view = &(self->view);
 2665|       |
 2666|    502|    CHECK_RELEASED(self);
  ------------------
  |  |  185|    502|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|    502|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  1.00k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 502]
  |  |  |  |  ------------------
  |  |  |  |  182|    502|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    502|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 502]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2667|       |
 2668|    502|    if (view->ndim == 0) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 502]
  ------------------
 2669|      0|        if (PyTuple_Check(key) && PyTuple_GET_SIZE(key) == 0) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyTuple_Check(key) && PyTuple_GET_SIZE(key) == 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2669:35): [True: 0, False: 0]
  ------------------
 2670|      0|            const char *fmt = adjust_fmt(view);
 2671|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2671:17): [True: 0, False: 0]
  ------------------
 2672|      0|                return NULL;
 2673|      0|            return unpack_single(self, view->buf, fmt);
 2674|      0|        }
 2675|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2675:18): [True: 0, False: 0]
  ------------------
 2676|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2677|      0|        }
 2678|      0|        else {
 2679|      0|            PyErr_SetString(PyExc_TypeError,
 2680|      0|                "invalid indexing of 0-dim memory");
 2681|      0|            return NULL;
 2682|      0|        }
 2683|      0|    }
 2684|       |
 2685|    502|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2685:9): [True: 0, False: 502]
  ------------------
 2686|      0|        Py_ssize_t index;
 2687|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2688|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2688:13): [True: 0, False: 0]
  |  Branch (2688:28): [True: 0, False: 0]
  ------------------
 2689|      0|            return NULL;
 2690|      0|        return memory_item((PyObject *)self, index);
 2691|      0|    }
 2692|    502|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|    502|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    502|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 502, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2693|    502|        CHECK_RESTRICTED(self);
  ------------------
  |  |  199|    502|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|    502|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 502]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 2694|    502|        PyMemoryViewObject *sliced;
 2695|       |
 2696|    502|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2697|    502|        if (sliced == NULL)
  ------------------
  |  Branch (2697:13): [True: 0, False: 502]
  ------------------
 2698|      0|            return NULL;
 2699|       |
 2700|    502|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 502]
  ------------------
 2701|      0|            Py_DECREF(sliced);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      0|            return NULL;
 2703|      0|        }
 2704|    502|        init_len(&sliced->view);
 2705|    502|        init_flags(sliced);
 2706|       |
 2707|    502|        return (PyObject *)sliced;
 2708|    502|    }
 2709|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2709:14): [True: 0, False: 0]
  ------------------
 2710|      0|        return memory_item_multi(self, key);
 2711|      0|    }
 2712|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2712:14): [True: 0, False: 0]
  ------------------
 2713|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2714|      0|            "multi-dimensional slicing is not implemented");
 2715|      0|        return NULL;
 2716|      0|    }
 2717|       |
 2718|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2719|       |    return NULL;
 2720|    502|}
memoryobject.c:init_slice:
 2590|    502|{
 2591|    502|    Py_ssize_t start, stop, step, slicelength;
 2592|       |
 2593|    502|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2593:9): [True: 0, False: 502]
  ------------------
 2594|      0|        return -1;
 2595|      0|    }
 2596|    502|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2597|       |
 2598|       |
 2599|    502|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2599:9): [True: 502, False: 0]
  |  Branch (2599:37): [True: 0, False: 0]
  ------------------
 2600|    502|    adjust_buf:
 2601|    502|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2602|    502|    }
 2603|      0|    else {
 2604|      0|        Py_ssize_t n = dim-1;
 2605|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2605:16): [True: 0, False: 0]
  |  Branch (2605:26): [True: 0, False: 0]
  ------------------
 2606|      0|            n--;
 2607|      0|        if (n < 0)
  ------------------
  |  Branch (2607:13): [True: 0, False: 0]
  ------------------
 2608|      0|            goto adjust_buf; /* all suboffsets are negative */
 2609|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2610|      0|    }
 2611|    502|    base->shape[dim] = slicelength;
 2612|    502|    base->strides[dim] = base->strides[dim] * step;
 2613|       |
 2614|    502|    return 0;
 2615|    502|}
memoryobject.c:init_len:
  598|    502|{
  599|    502|    Py_ssize_t i, len;
  600|       |
  601|    502|    len = 1;
  602|  1.00k|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (602:17): [True: 502, False: 502]
  ------------------
  603|    502|        len *= view->shape[i];
  604|    502|    len *= view->itemsize;
  605|       |
  606|    502|    view->len = len;
  607|    502|}
memoryobject.c:get_native_fmtchar:
 1205|     12|{
 1206|     12|    Py_ssize_t size = -1;
 1207|       |
 1208|     12|    if (fmt[0] == '@') fmt++;
  ------------------
  |  Branch (1208:9): [True: 0, False: 12]
  ------------------
 1209|       |
 1210|     12|    switch (fmt[0]) {
  ------------------
  |  Branch (1210:13): [True: 12, False: 0]
  ------------------
 1211|      6|    case 'c': case 'b': case 'B': size = sizeof(char); break;
  ------------------
  |  Branch (1211:5): [True: 0, False: 12]
  |  Branch (1211:15): [True: 0, False: 12]
  |  Branch (1211:25): [True: 6, False: 6]
  ------------------
 1212|      0|    case 'h': case 'H': size = sizeof(short); break;
  ------------------
  |  Branch (1212:5): [True: 0, False: 12]
  |  Branch (1212:15): [True: 0, False: 12]
  ------------------
 1213|      6|    case 'i': case 'I': size = sizeof(int); break;
  ------------------
  |  Branch (1213:5): [True: 0, False: 12]
  |  Branch (1213:15): [True: 6, False: 6]
  ------------------
 1214|      0|    case 'l': case 'L': size = sizeof(long); break;
  ------------------
  |  Branch (1214:5): [True: 0, False: 12]
  |  Branch (1214:15): [True: 0, False: 12]
  ------------------
 1215|      0|    case 'q': case 'Q': size = sizeof(long long); break;
  ------------------
  |  Branch (1215:5): [True: 0, False: 12]
  |  Branch (1215:15): [True: 0, False: 12]
  ------------------
 1216|      0|    case 'n': case 'N': size = sizeof(Py_ssize_t); break;
  ------------------
  |  Branch (1216:5): [True: 0, False: 12]
  |  Branch (1216:15): [True: 0, False: 12]
  ------------------
 1217|      0|    case 'f': size = sizeof(float); break;
  ------------------
  |  Branch (1217:5): [True: 0, False: 12]
  ------------------
 1218|      0|    case 'd': size = sizeof(double); break;
  ------------------
  |  Branch (1218:5): [True: 0, False: 12]
  ------------------
 1219|      0|    case 'e': size = sizeof(float) / 2; break;
  ------------------
  |  Branch (1219:5): [True: 0, False: 12]
  ------------------
 1220|      0|    case '?': size = sizeof(_Bool); break;
  ------------------
  |  Branch (1220:5): [True: 0, False: 12]
  ------------------
 1221|      0|    case 'P': size = sizeof(void *); break;
  ------------------
  |  Branch (1221:5): [True: 0, False: 12]
  ------------------
 1222|      0|    case 'Z': {
  ------------------
  |  Branch (1222:5): [True: 0, False: 12]
  ------------------
 1223|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1223:17): [True: 0, False: 0]
  ------------------
 1224|      0|            case 'f': size = 2*sizeof(float); break;
  ------------------
  |  Branch (1224:13): [True: 0, False: 0]
  ------------------
 1225|      0|            case 'd': size = 2*sizeof(double); break;
  ------------------
  |  Branch (1225:13): [True: 0, False: 0]
  ------------------
 1226|      0|        }
 1227|      0|        if (size > 0 && fmt[2] == '\0') {
  ------------------
  |  Branch (1227:13): [True: 0, False: 0]
  |  Branch (1227:25): [True: 0, False: 0]
  ------------------
 1228|      0|            *result = fmt;
 1229|      0|            return size;
 1230|      0|        }
 1231|      0|        break;
 1232|      0|    }
 1233|     12|    }
 1234|       |
 1235|     12|    if (size > 0 && fmt[1] == '\0') {
  ------------------
  |  Branch (1235:9): [True: 12, False: 0]
  |  Branch (1235:21): [True: 12, False: 0]
  ------------------
 1236|     12|        *result = fmt;
 1237|     12|        return size;
 1238|     12|    }
 1239|       |
 1240|      0|    return -1;
 1241|     12|}
memoryobject.c:memory_getbuf:
 1559|    532|{
 1560|    532|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1561|    532|    Py_buffer *base = &self->view;
 1562|    532|    int baseflags = self->flags;
 1563|       |
 1564|    532|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|    532|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|    532|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  1.06k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 532]
  |  |  |  |  ------------------
  |  |  |  |  182|    532|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    532|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 532]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 1565|    532|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  206|    532|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|    532|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (206:9): [True: 0, False: 532]
  |  |  ------------------
  |  |  207|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  208|      0|            "cannot create new view on restricted memoryview");            \
  |  |  209|      0|        return -1;                                                       \
  |  |  210|      0|    }
  ------------------
 1566|       |
 1567|       |    /* start with complete information */
 1568|    532|    *view = *base;
 1569|    532|    view->obj = NULL;
 1570|       |
 1571|    532|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  250|  1.06k|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|    532|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (250:29): [True: 24, False: 508]
  |  |  ------------------
  ------------------
  |  Branch (1571:32): [True: 0, False: 24]
  ------------------
 1572|      0|        PyErr_SetString(PyExc_BufferError,
 1573|      0|            "memoryview: underlying buffer is not writable");
 1574|      0|        return -1;
 1575|      0|    }
 1576|    532|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  251|    532|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|    532|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1576:9): [True: 532, False: 0]
  ------------------
 1577|       |        /* NULL indicates that the buffer's data type has been cast to 'B'.
 1578|       |           view->itemsize is the _previous_ itemsize. If shape is present,
 1579|       |           the equality product(shape) * itemsize = len still holds at this
 1580|       |           point. The equality calcsize(format) = itemsize does _not_ hold
 1581|       |           from here on! */
 1582|    532|        view->format = NULL;
 1583|    532|    }
 1584|       |
 1585|    532|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  245|  1.06k|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|    532|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|    532|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (245:33): [True: 0, False: 532]
  |  |  ------------------
  ------------------
                  if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|      0|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1585:36): [True: 0, False: 0]
  ------------------
 1586|      0|        PyErr_SetString(PyExc_BufferError,
 1587|      0|            "memoryview: underlying buffer is not C-contiguous");
 1588|      0|        return -1;
 1589|      0|    }
 1590|    532|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  246|  1.06k|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|    532|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|    532|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (246:33): [True: 0, False: 532]
  |  |  ------------------
  ------------------
                  if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  235|      0|    (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1590:36): [True: 0, False: 0]
  ------------------
 1591|      0|        PyErr_SetString(PyExc_BufferError,
 1592|      0|            "memoryview: underlying buffer is not Fortran contiguous");
 1593|      0|        return -1;
 1594|      0|    }
 1595|    532|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  247|  1.06k|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|    532|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|    532|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (247:35): [True: 0, False: 532]
  |  |  ------------------
  ------------------
                  if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  237|      0|    (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   23|      0|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   21|      0|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  |  |                   (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN))
  |  |  ------------------
  |  |  |  |   22|      0|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1595:38): [True: 0, False: 0]
  ------------------
 1596|      0|        PyErr_SetString(PyExc_BufferError,
 1597|      0|            "memoryview: underlying buffer is not contiguous");
 1598|      0|        return -1;
 1599|      0|    }
 1600|    532|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  244|  1.06k|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|    532|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|    532|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|    532|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1600:9): [True: 532, False: 0]
  |  Branch (1600:33): [True: 0, False: 532]
  ------------------
 1601|      0|        PyErr_SetString(PyExc_BufferError,
 1602|      0|            "memoryview: underlying buffer requires suboffsets");
 1603|      0|        return -1;
 1604|      0|    }
 1605|    532|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  248|    532|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|    532|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 532, False: 0]
  ------------------
 1606|    532|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|    532|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|    532|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|    532|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1606:13): [True: 0, False: 532]
  ------------------
 1607|      0|            PyErr_SetString(PyExc_BufferError,
 1608|      0|                "memoryview: underlying buffer is not C-contiguous");
 1609|      0|            return -1;
 1610|      0|        }
 1611|    532|        view->strides = NULL;
 1612|    532|    }
 1613|    532|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  249|    532|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|    532|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1613:9): [True: 532, False: 0]
  ------------------
 1614|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1615|       |           so base->buf = ndbuf->data. */
 1616|    532|        if (view->format != NULL) {
  ------------------
  |  Branch (1616:13): [True: 0, False: 532]
  ------------------
 1617|       |            /* PyBUF_SIMPLE|PyBUF_FORMAT and PyBUF_WRITABLE|PyBUF_FORMAT do
 1618|       |               not make sense. */
 1619|      0|            PyErr_Format(PyExc_BufferError,
 1620|      0|                "memoryview: cannot cast to unsigned bytes if the format flag "
 1621|      0|                "is present");
 1622|      0|            return -1;
 1623|      0|        }
 1624|       |        /* product(shape) * itemsize = len and calcsize(format) = itemsize
 1625|       |           do _not_ hold from here on! */
 1626|    532|        view->ndim = 1;
 1627|    532|        view->shape = NULL;
 1628|    532|    }
 1629|       |
 1630|       |
 1631|    532|    view->obj = Py_NewRef(self);
  ------------------
  |  |  550|    532|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    532|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    532|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|    532|    FT_ATOMIC_ADD_SSIZE(self->exports, 1);
  ------------------
  |  |  203|    532|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1633|       |
 1634|    532|    return 0;
 1635|    532|}
memoryobject.c:memory_releasebuf:
 1639|    532|{
 1640|    532|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1641|    532|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  203|    532|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1642|    532|    return;
 1643|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1644|    532|}
memoryobject.c:memory_traverse:
 1165|     48|{
 1166|     48|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1167|     48|    Py_VISIT(self->mbuf);
  ------------------
  |  |  194|     48|    do {                                                                \
  |  |  195|     48|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 0]
  |  |  ------------------
  |  |  196|     48|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     48|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 48]
  |  |  ------------------
  |  |  198|     48|                return vret;                                            \
  |  |  199|     48|        }                                                               \
  |  |  200|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1168|     48|    return 0;
 1169|     48|}
memoryobject.c:memoryview_tolist_impl:
 2317|      6|{
 2318|      6|    const Py_buffer *view = &self->view;
 2319|      6|    const char *fmt;
 2320|       |
 2321|      6|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      6|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      6|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     12|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  182|      6|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      6|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2322|       |
 2323|      6|    fmt = adjust_fmt(view);
 2324|      6|    if (fmt == NULL)
  ------------------
  |  Branch (2324:9): [True: 0, False: 6]
  ------------------
 2325|      0|        return NULL;
 2326|      6|    if (view->ndim == 0) {
  ------------------
  |  Branch (2326:9): [True: 0, False: 6]
  ------------------
 2327|      0|        return unpack_single(self, view->buf, fmt);
 2328|      0|    }
 2329|      6|    else if (view->ndim == 1) {
  ------------------
  |  Branch (2329:14): [True: 6, False: 0]
  ------------------
 2330|      6|        return tolist_base(self, view->buf, view->shape,
 2331|      6|                           view->strides, view->suboffsets,
 2332|      6|                           fmt);
 2333|      6|    }
 2334|      0|    else {
 2335|      0|        return tolist_rec(self, view->buf, view->ndim, view->shape,
 2336|      0|                          view->strides, view->suboffsets,
 2337|      0|                          fmt);
 2338|      0|    }
 2339|      6|}
memoryobject.c:tolist_base:
 2249|      6|{
 2250|      6|    PyObject *lst, *item;
 2251|      6|    Py_ssize_t i;
 2252|       |
 2253|      6|    lst = PyList_New(shape[0]);
 2254|      6|    if (lst == NULL)
  ------------------
  |  Branch (2254:9): [True: 0, False: 6]
  ------------------
 2255|      0|        return NULL;
 2256|       |
 2257|    390|    for (i = 0; i < shape[0]; ptr+=strides[0], i++) {
  ------------------
  |  Branch (2257:17): [True: 384, False: 6]
  ------------------
 2258|    384|        const char *xptr = ADJUST_PTR(ptr, suboffsets, 0);
  ------------------
  |  |  230|    384|    (HAVE_PTR(suboffsets, dim) ? *((char**)ptr) + suboffsets[dim] : ptr)
  |  |  ------------------
  |  |  |  |  227|    384|#define HAVE_PTR(suboffsets, dim) (suboffsets && suboffsets[dim] >= 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:36): [True: 0, False: 384]
  |  |  |  |  |  Branch (227:50): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|    384|        item = unpack_single(self, xptr, fmt);
 2260|    384|        if (item == NULL) {
  ------------------
  |  Branch (2260:13): [True: 0, False: 384]
  ------------------
 2261|      0|            Py_DECREF(lst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|      0|            return NULL;
 2263|      0|        }
 2264|    384|        PyList_SET_ITEM(lst, i, item);
  ------------------
  |  |   50|    384|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2265|    384|    }
 2266|       |
 2267|      6|    return lst;
 2268|      6|}
memoryobject.c:memoryview_cast_impl:
 1480|      6|{
 1481|      6|    PyMemoryViewObject *mv = NULL;
 1482|      6|    Py_ssize_t ndim = 1;
 1483|       |
 1484|      6|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      6|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      6|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     12|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  182|      6|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      6|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 1485|      6|    CHECK_RESTRICTED(self);
  ------------------
  |  |  199|      6|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      6|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 1486|       |
 1487|      6|    if (!MV_C_CONTIGUOUS(self->flags)) {
  ------------------
  |  |  233|      6|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|      6|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|      6|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1487:9): [True: 0, False: 6]
  ------------------
 1488|      0|        PyErr_SetString(PyExc_TypeError,
 1489|      0|            "memoryview: casts are restricted to C-contiguous views");
 1490|      0|        return NULL;
 1491|      0|    }
 1492|      6|    if ((shape || self->view.ndim != 1) && zero_in_shape(self)) {
  ------------------
  |  Branch (1492:10): [True: 0, False: 6]
  |  Branch (1492:19): [True: 0, False: 6]
  |  Branch (1492:44): [True: 0, False: 0]
  ------------------
 1493|      0|        PyErr_SetString(PyExc_TypeError,
 1494|      0|            "memoryview: cannot cast view with zeros in shape or strides");
 1495|      0|        return NULL;
 1496|      0|    }
 1497|      6|    if (shape) {
  ------------------
  |  Branch (1497:9): [True: 0, False: 6]
  ------------------
 1498|      0|        CHECK_LIST_OR_TUPLE(shape)
  ------------------
  |  |  218|      0|    if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (218:9): [True: 0, False: 0]
  |  |  |  Branch (218:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  219|      0|        PyErr_SetString(PyExc_TypeError,         \
  |  |  220|      0|            #v " must be a list or a tuple");    \
  |  |  221|      0|        return NULL;                             \
  |  |  222|      0|    }
  ------------------
 1499|      0|        ndim = PySequence_Fast_GET_SIZE(shape);
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|      0|        if (ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|      0|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (1500:13): [True: 0, False: 0]
  ------------------
 1501|      0|            PyErr_SetString(PyExc_ValueError,
 1502|      0|                "memoryview: number of dimensions must not exceed "
 1503|      0|                Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
 1504|      0|            return NULL;
 1505|      0|        }
 1506|      0|        if (self->view.ndim != 1 && ndim != 1) {
  ------------------
  |  Branch (1506:13): [True: 0, False: 0]
  |  Branch (1506:37): [True: 0, False: 0]
  ------------------
 1507|      0|            PyErr_SetString(PyExc_TypeError,
 1508|      0|                "memoryview: cast must be 1D -> ND or ND -> 1D");
 1509|      0|            return NULL;
 1510|      0|        }
 1511|      0|    }
 1512|       |
 1513|      6|    mv = (PyMemoryViewObject *)
 1514|      6|        mbuf_add_incomplete_view(self->mbuf, &self->view, ndim==0 ? 1 : (int)ndim);
  ------------------
  |  Branch (1514:59): [True: 0, False: 6]
  ------------------
 1515|      6|    if (mv == NULL)
  ------------------
  |  Branch (1515:9): [True: 0, False: 6]
  ------------------
 1516|      0|        return NULL;
 1517|       |
 1518|      6|    if (cast_to_1D(mv, format) < 0)
  ------------------
  |  Branch (1518:9): [True: 0, False: 6]
  ------------------
 1519|      0|        goto error;
 1520|      6|    if (shape && cast_to_ND(mv, shape, (int)ndim) < 0)
  ------------------
  |  Branch (1520:9): [True: 0, False: 6]
  |  Branch (1520:18): [True: 0, False: 0]
  ------------------
 1521|      0|        goto error;
 1522|       |
 1523|      6|    return (PyObject *)mv;
 1524|       |
 1525|      0|error:
 1526|      0|    Py_DECREF(mv);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1527|       |    return NULL;
 1528|      6|}
memoryobject.c:cast_to_1D:
 1306|      6|{
 1307|      6|    Py_buffer *view = &mv->view;
 1308|      6|    PyObject *asciifmt;
 1309|      6|    const char *srcfmt, *destfmt;
 1310|      6|    Py_ssize_t itemsize;
 1311|      6|    int ret = -1;
 1312|       |
 1313|      6|    assert(view->ndim >= 1);
 1314|      6|    assert(Py_SIZE(mv) == 3*view->ndim);
 1315|      6|    assert(view->shape == mv->ob_array);
 1316|      6|    assert(view->strides == mv->ob_array + view->ndim);
 1317|      6|    assert(view->suboffsets == mv->ob_array + 2*view->ndim);
 1318|       |
 1319|      6|    asciifmt = PyUnicode_AsASCIIString(format);
 1320|      6|    if (asciifmt == NULL)
  ------------------
  |  Branch (1320:9): [True: 0, False: 6]
  ------------------
 1321|      0|        return ret;
 1322|       |
 1323|      6|    itemsize = get_native_fmtchar(&destfmt, PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   27|      6|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      6|    if (itemsize < 0) {
  ------------------
  |  Branch (1324:9): [True: 0, False: 6]
  ------------------
 1325|      0|        PyErr_SetString(PyExc_ValueError,
 1326|      0|            "memoryview: destination format must be a native "
 1327|      0|            "format prefixed with an optional '@'");
 1328|      0|        goto out;
 1329|      0|    }
 1330|       |
 1331|      6|    if ((get_native_fmtchar(&srcfmt, view->format) < 0 ||
  ------------------
  |  Branch (1331:10): [True: 0, False: 6]
  ------------------
 1332|      6|         !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1201|      6|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1201:6): [True: 0, False: 6]
  |  |  |  Branch (1201:29): [True: 6, False: 0]
  |  |  |  Branch (1201:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                       !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1201|      0|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1201:6): [True: 0, False: 0]
  |  |  |  Branch (1201:29): [True: 0, False: 0]
  |  |  |  Branch (1201:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1333|      0|        PyErr_SetString(PyExc_TypeError,
 1334|      0|            "memoryview: cannot cast between two non-byte formats");
 1335|      0|        goto out;
 1336|      0|    }
 1337|      6|    if (view->len % itemsize) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 6]
  ------------------
 1338|      0|        PyErr_SetString(PyExc_TypeError,
 1339|      0|            "memoryview: length is not a multiple of itemsize");
 1340|      0|        goto out;
 1341|      0|    }
 1342|       |
 1343|      6|    view->format = (char *)get_native_fmtstr(PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   27|      6|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      6|    if (view->format == NULL) {
  ------------------
  |  Branch (1344:9): [True: 0, False: 6]
  ------------------
 1345|       |        /* NOT_REACHED: get_native_fmtchar() already validates the format. */
 1346|      0|        PyErr_SetString(PyExc_RuntimeError,
 1347|      0|            "memoryview: internal error");
 1348|      0|        goto out;
 1349|      0|    }
 1350|      6|    view->itemsize = itemsize;
 1351|       |
 1352|      6|    view->ndim = 1;
 1353|      6|    view->shape[0] = view->len / view->itemsize;
 1354|      6|    view->strides[0] = view->itemsize;
 1355|      6|    view->suboffsets = NULL;
 1356|       |
 1357|      6|    init_flags(mv);
 1358|       |
 1359|      6|    ret = 0;
 1360|       |
 1361|      6|out:
 1362|      6|    Py_DECREF(asciifmt);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|      6|    return ret;
 1364|      6|}
memoryobject.c:get_native_fmtstr:
 1245|      6|{
 1246|      6|    int at = 0;
 1247|       |
 1248|      6|    if (fmt[0] == '@') {
  ------------------
  |  Branch (1248:9): [True: 0, False: 6]
  ------------------
 1249|      0|        at = 1;
 1250|      0|        fmt++;
 1251|      0|    }
 1252|      6|    if (fmt[0] == '\0') {
  ------------------
  |  Branch (1252:9): [True: 0, False: 6]
  ------------------
 1253|      0|        return NULL;
 1254|      0|    }
 1255|      6|    if (fmt[0] == 'Z') {
  ------------------
  |  Branch (1255:9): [True: 0, False: 6]
  ------------------
 1256|      0|        if (fmt[1] == '\0' || fmt[2] != '\0') {
  ------------------
  |  Branch (1256:13): [True: 0, False: 0]
  |  Branch (1256:31): [True: 0, False: 0]
  ------------------
 1257|      0|            return NULL;
 1258|      0|        }
 1259|      0|    }
 1260|      6|    else {
 1261|      6|        if (fmt[1] != '\0') {
  ------------------
  |  Branch (1261:13): [True: 0, False: 6]
  ------------------
 1262|      0|            return NULL;
 1263|      0|        }
 1264|      6|    }
 1265|       |
 1266|      6|#define RETURN(s) do { return at ? "@" s : s; } while (0)
 1267|       |
 1268|      6|    switch (fmt[0]) {
  ------------------
  |  Branch (1268:13): [True: 6, False: 0]
  ------------------
 1269|      0|    case 'c': RETURN("c");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1269:5): [True: 0, False: 6]
  ------------------
 1270|      0|    case 'b': RETURN("b");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1270:5): [True: 0, False: 6]
  ------------------
 1271|      0|    case 'B': RETURN("B");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1271:5): [True: 0, False: 6]
  ------------------
 1272|      0|    case 'h': RETURN("h");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1272:5): [True: 0, False: 6]
  ------------------
 1273|      0|    case 'H': RETURN("H");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1273:5): [True: 0, False: 6]
  ------------------
 1274|      0|    case 'i': RETURN("i");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1274:5): [True: 0, False: 6]
  ------------------
 1275|      6|    case 'I': RETURN("I");
  ------------------
  |  | 1266|      6|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 6]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1275:5): [True: 6, False: 0]
  ------------------
 1276|      0|    case 'l': RETURN("l");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1276:5): [True: 0, False: 6]
  ------------------
 1277|      0|    case 'L': RETURN("L");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1277:5): [True: 0, False: 6]
  ------------------
 1278|      0|    case 'q': RETURN("q");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1278:5): [True: 0, False: 6]
  ------------------
 1279|      0|    case 'Q': RETURN("Q");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1279:5): [True: 0, False: 6]
  ------------------
 1280|      0|    case 'n': RETURN("n");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1280:5): [True: 0, False: 6]
  ------------------
 1281|      0|    case 'N': RETURN("N");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1281:5): [True: 0, False: 6]
  ------------------
 1282|      0|    case 'f': RETURN("f");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1282:5): [True: 0, False: 6]
  ------------------
 1283|      0|    case 'd': RETURN("d");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1283:5): [True: 0, False: 6]
  ------------------
 1284|      0|    case 'e': RETURN("e");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1284:5): [True: 0, False: 6]
  ------------------
 1285|      0|    case 'Z': {
  ------------------
  |  Branch (1285:5): [True: 0, False: 6]
  ------------------
 1286|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1286:17): [True: 0, False: 0]
  ------------------
 1287|      0|        case 'f': RETURN("Zf");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1287:9): [True: 0, False: 0]
  ------------------
 1288|      0|        case 'd': RETURN("Zd");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1288:9): [True: 0, False: 0]
  ------------------
 1289|      0|        }
 1290|      0|        break;
 1291|      0|    }
 1292|      0|    case '?': RETURN("?");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1292:5): [True: 0, False: 6]
  ------------------
 1293|      0|    case 'P': RETURN("P");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1293:5): [True: 0, False: 6]
  ------------------
 1294|      6|    }
 1295|       |
 1296|      0|    return NULL;
 1297|      6|}
memoryobject.c:memory_nbytes_get:
 3433|      2|{
 3434|      2|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3435|      2|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      2|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      4|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  182|      2|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 3436|      2|    return PyLong_FromSsize_t(self->view.len);
 3437|      2|}
memoryobject.c:memory_itemsize_get:
 3449|     12|{
 3450|     12|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3451|     12|    CHECK_RELEASED(self);
  ------------------
  |  |  185|     12|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|     12|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     24|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  182|     12|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     12|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 3452|     12|    return PyLong_FromSsize_t(self->view.itemsize);
 3453|     12|}
memoryobject.c:memoryview_impl:
 1016|    510|{
 1017|    510|    return PyMemoryView_FromObject(object);
 1018|    510|}

PyCMethod_New:
   48|  9.32M|{
   49|       |    /* Figure out correct vectorcall function to use */
   50|  9.32M|    vectorcallfunc vectorcall;
   51|  9.32M|    switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  9.32M|#define METH_VARARGS  0x0001
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  9.32M|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  9.32M|#define METH_NOARGS   0x0004
  ------------------
   52|  9.32M|                            METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  9.32M|#define METH_O        0x0008
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  9.32M|#define METH_KEYWORDS 0x0002
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  9.32M|#define METH_METHOD 0x0200
  ------------------
   53|  9.32M|    {
   54|    856|        case METH_VARARGS:
  ------------------
  |  |   95|    856|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (54:9): [True: 856, False: 9.32M]
  ------------------
   55|  1.30k|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|  1.30k|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|  1.30k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (55:9): [True: 448, False: 9.32M]
  ------------------
   56|       |            /* For METH_VARARGS functions, it's more efficient to use tp_call
   57|       |             * instead of vectorcall. */
   58|  1.30k|            vectorcall = NULL;
   59|  1.30k|            break;
   60|  9.34k|        case METH_FASTCALL:
  ------------------
  |  |  115|  9.34k|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (60:9): [True: 9.34k, False: 9.31M]
  ------------------
   61|  9.34k|            vectorcall = cfunction_vectorcall_FASTCALL;
   62|  9.34k|            break;
   63|  9.27M|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|  9.27M|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|  9.27M|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (63:9): [True: 9.27M, False: 44.8k]
  ------------------
   64|  9.27M|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS;
   65|  9.27M|            break;
   66|  20.9k|        case METH_NOARGS:
  ------------------
  |  |   98|  20.9k|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (66:9): [True: 20.9k, False: 9.30M]
  ------------------
   67|  20.9k|            vectorcall = cfunction_vectorcall_NOARGS;
   68|  20.9k|            break;
   69|  12.7k|        case METH_O:
  ------------------
  |  |   99|  12.7k|#define METH_O        0x0008
  ------------------
  |  Branch (69:9): [True: 12.7k, False: 9.30M]
  ------------------
   70|  12.7k|            vectorcall = cfunction_vectorcall_O;
   71|  12.7k|            break;
   72|    540|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|    540|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    540|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    540|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (72:9): [True: 540, False: 9.32M]
  ------------------
   73|    540|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD;
   74|    540|            break;
   75|      0|        default:
  ------------------
  |  Branch (75:9): [True: 0, False: 9.32M]
  ------------------
   76|      0|            PyErr_Format(PyExc_SystemError,
   77|      0|                         "%s() method: bad call flags", ml->ml_name);
   78|      0|            return NULL;
   79|  9.32M|    }
   80|       |
   81|  9.32M|    PyCFunctionObject *op = NULL;
   82|       |
   83|  9.32M|    if (ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  9.32M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (83:9): [True: 540, False: 9.32M]
  ------------------
   84|    540|        if (!cls) {
  ------------------
  |  Branch (84:13): [True: 0, False: 540]
  ------------------
   85|      0|            PyErr_SetString(PyExc_SystemError,
   86|      0|                            "attempting to create PyCMethod with a METH_METHOD "
   87|      0|                            "flag but no class");
   88|      0|            return NULL;
   89|      0|        }
   90|    540|        PyCMethodObject *om = _Py_FREELIST_POP(PyCMethodObject, pycmethodobject);
  ------------------
  |  |   43|    540|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|    540|        if (om == NULL) {
  ------------------
  |  Branch (91:13): [True: 30, False: 510]
  ------------------
   92|     30|            om = PyObject_GC_New(PyCMethodObject, &PyCMethod_Type);
  ------------------
  |  |  181|     30|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   93|     30|            if (om == NULL) {
  ------------------
  |  Branch (93:17): [True: 0, False: 30]
  ------------------
   94|      0|                return NULL;
   95|      0|            }
   96|     30|        }
   97|    540|        om->mm_class = (PyTypeObject*)Py_NewRef(cls);
  ------------------
  |  |  550|    540|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    540|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|    540|        op = (PyCFunctionObject *)om;
   99|  9.32M|    } else {
  100|  9.32M|        if (cls) {
  ------------------
  |  Branch (100:13): [True: 0, False: 9.32M]
  ------------------
  101|      0|            PyErr_SetString(PyExc_SystemError,
  102|      0|                            "attempting to create PyCFunction with class "
  103|      0|                            "but no METH_METHOD flag");
  104|      0|            return NULL;
  105|      0|        }
  106|  9.32M|        op = _Py_FREELIST_POP(PyCFunctionObject, pycfunctionobject);
  ------------------
  |  |   43|  9.32M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  9.32M|        if (op == NULL) {
  ------------------
  |  Branch (107:13): [True: 2.36k, False: 9.31M]
  ------------------
  108|  2.36k|            op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type);
  ------------------
  |  |  181|  2.36k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  109|  2.36k|            if (op == NULL) {
  ------------------
  |  Branch (109:17): [True: 0, False: 2.36k]
  ------------------
  110|      0|                return NULL;
  111|      0|            }
  112|  2.36k|        }
  113|  9.32M|    }
  114|       |
  115|  9.32M|    op->m_weakreflist = NULL;
  116|  9.32M|    op->m_ml = ml;
  117|  9.32M|    op->m_self = Py_XNewRef(self);
  ------------------
  |  |  551|  9.32M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  9.32M|    op->m_module = Py_XNewRef(module);
  ------------------
  |  |  551|  9.32M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|  9.32M|    op->vectorcall = vectorcall;
  120|  9.32M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  9.32M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|  9.32M|    return (PyObject *)op;
  122|  9.32M|}
PyCFunction_GetFunction:
  126|      2|{
  127|      2|    if (!PyCFunction_Check(op)) {
  ------------------
  |  |   17|      2|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (127:9): [True: 0, False: 2]
  ------------------
  128|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|      2|    return PyCFunction_GET_FUNCTION(op);
  ------------------
  |  |   43|      2|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      2|}
methodobject.c:meth_dealloc:
  168|  9.31M|{
  169|  9.31M|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  9.31M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  9.31M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  170|  9.31M|    PyObject_GC_UnTrack(m);
  171|  9.31M|    FT_CLEAR_WEAKREFS(self, m->m_weakreflist);
  ------------------
  |  |   47|  9.31M|    do {                                            \
  |  |   48|  9.31M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  9.31M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 9.31M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  9.31M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 9.31M]
  |  |  ------------------
  ------------------
  172|       |    // We need to access ml_flags here rather than later.
  173|       |    // `m->m_ml` might have the same lifetime
  174|       |    // as `m_self` when it's dynamically allocated.
  175|  9.31M|    int ml_flags = m->m_ml->ml_flags;
  176|       |    // Dereference class before m_self: PyCFunction_GET_CLASS accesses
  177|       |    // PyMethodDef m_ml, which could be kept alive by m_self
  178|  9.31M|    Py_XDECREF(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  524|  9.31M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|  9.31M|    Py_XDECREF(m->m_self);
  ------------------
  |  |  524|  9.31M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|  9.31M|    Py_XDECREF(m->m_module);
  ------------------
  |  |  524|  9.31M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|  9.31M|    if (ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  9.31M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (181:9): [True: 512, False: 9.31M]
  ------------------
  182|    512|        assert(Py_IS_TYPE(self, &PyCMethod_Type));
  183|    512|        _Py_FREELIST_FREE(pycmethodobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|    512|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    512|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   32|    512|#  define Py_pycmethodobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  184|    512|    }
  185|  9.31M|    else {
  186|  9.31M|        assert(Py_IS_TYPE(self, &PyCFunction_Type));
  187|  9.31M|        _Py_FREELIST_FREE(pycfunctionobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  9.31M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  9.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  9.31M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   31|  9.31M|#  define Py_pycfunctionobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  188|  9.31M|    }
  189|  9.31M|}
methodobject.c:meth_hash:
  344|    480|{
  345|    480|    PyCFunctionObject *a = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|    480|    (assert(PyCFunction_Check(func)), \
  |  |   18|    480|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  346|    480|    Py_hash_t x = PyObject_GenericHash(a->m_self);
  347|    480|    Py_hash_t y = Py_HashPointer((void*)(a->m_ml->ml_meth));
  348|    480|    x ^= y;
  349|    480|    if (x == -1) {
  ------------------
  |  Branch (349:9): [True: 0, False: 480]
  ------------------
  350|      0|        x = -2;
  351|      0|    }
  352|    480|    return x;
  353|    480|}
methodobject.c:meth_traverse:
  267|  18.8k|{
  268|  18.8k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  18.8k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  18.8k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  269|  18.8k|    Py_VISIT(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  194|  18.8k|    do {                                                                \
  |  |  195|  18.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 224, False: 18.6k]
  |  |  ------------------
  |  |  196|    224|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    224|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 224]
  |  |  ------------------
  |  |  198|    224|                return vret;                                            \
  |  |  199|    224|        }                                                               \
  |  |  200|  18.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18.8k]
  |  |  ------------------
  ------------------
  270|  18.8k|    Py_VISIT(m->m_self);
  ------------------
  |  |  194|  18.8k|    do {                                                                \
  |  |  195|  18.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18.7k, False: 176]
  |  |  ------------------
  |  |  196|  18.7k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  18.7k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18.7k]
  |  |  ------------------
  |  |  198|  18.7k|                return vret;                                            \
  |  |  199|  18.7k|        }                                                               \
  |  |  200|  18.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18.8k]
  |  |  ------------------
  ------------------
  271|  18.8k|    Py_VISIT(m->m_module);
  ------------------
  |  |  194|  18.8k|    do {                                                                \
  |  |  195|  18.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12.8k, False: 6.00k]
  |  |  ------------------
  |  |  196|  12.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  12.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12.8k]
  |  |  ------------------
  |  |  198|  12.8k|                return vret;                                            \
  |  |  199|  12.8k|        }                                                               \
  |  |  200|  18.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18.8k]
  |  |  ------------------
  ------------------
  272|  18.8k|    return 0;
  273|  18.8k|}
methodobject.c:meth_richcompare:
  319|  54.2k|{
  320|  54.2k|    PyCFunctionObject *a, *b;
  321|  54.2k|    PyObject *res;
  322|  54.2k|    int eq;
  323|       |
  324|  54.2k|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|   108k|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (324:10): [True: 0, False: 54.2k]
  |  Branch (324:25): [True: 0, False: 0]
  ------------------
  325|  54.2k|        !PyCFunction_Check(self) ||
  ------------------
  |  |   17|  54.2k|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|   108k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (325:9): [True: 0, False: 54.2k]
  ------------------
  326|  54.2k|        !PyCFunction_Check(other))
  ------------------
  |  |   17|  54.2k|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|  54.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (326:9): [True: 54.2k, False: 14]
  ------------------
  327|  54.2k|    {
  328|  54.2k|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  54.2k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  54.2k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  329|  54.2k|    }
  330|     14|    a = (PyCFunctionObject *)self;
  331|     14|    b = (PyCFunctionObject *)other;
  332|     14|    eq = a->m_self == b->m_self;
  333|     14|    if (eq)
  ------------------
  |  Branch (333:9): [True: 0, False: 14]
  ------------------
  334|      0|        eq = a->m_ml->ml_meth == b->m_ml->ml_meth;
  335|     14|    if (op == Py_EQ)
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
  |  Branch (335:9): [True: 14, False: 0]
  ------------------
  336|     14|        res = eq ? Py_True : Py_False;
  ------------------
  |  |   26|     14|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = eq ? Py_True : Py_False;
  ------------------
  |  |   25|     14|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (336:15): [True: 0, False: 14]
  ------------------
  337|      0|    else
  338|      0|        res = eq ? Py_False : Py_True;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = eq ? Py_False : Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (338:15): [True: 0, False: 0]
  ------------------
  339|     14|    return Py_NewRef(res);
  ------------------
  |  |  550|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  340|  54.2k|}
methodobject.c:meth_get__doc__:
  218|     20|{
  219|       |    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|     20|    (assert(PyCFunction_Check(func)), \
  |  |   18|     20|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  220|     20|    return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc);
  221|     20|}
methodobject.c:meth_get__name__:
  225|     60|{
  226|       |    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|     60|    (assert(PyCFunction_Check(func)), \
  |  |   18|     60|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  227|     60|    return PyUnicode_FromString(m->m_ml->ml_name);
  228|     60|}
methodobject.c:meth_get__qualname__:
  232|      8|{
  233|       |    /* If __self__ is a module or NULL, return m.__name__
  234|       |       (e.g. len.__qualname__ == 'len')
  235|       |
  236|       |       If __self__ is a type, return m.__self__.__qualname__ + '.' + m.__name__
  237|       |       (e.g. dict.fromkeys.__qualname__ == 'dict.fromkeys')
  238|       |
  239|       |       Otherwise return type(m.__self__).__qualname__ + '.' + m.__name__
  240|       |       (e.g. [].append.__qualname__ == 'list.append') */
  241|       |
  242|      8|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      8|    (assert(PyCFunction_Check(func)), \
  |  |   18|      8|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  243|      8|    if (m->m_self == NULL || PyModule_Check(m->m_self)) {
  ------------------
  |  |   12|      8|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      8|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (243:9): [True: 0, False: 8]
  ------------------
  244|      2|        return PyUnicode_FromString(m->m_ml->ml_name);
  245|      2|    }
  246|       |
  247|      6|    PyObject *type = PyType_Check(m->m_self) ? m->m_self : (PyObject*)Py_TYPE(m->m_self);
  ------------------
  |  |  766|      6|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 6, False: 0]
  |  |  ------------------
  ------------------
                  PyObject *type = PyType_Check(m->m_self) ? m->m_self : (PyObject*)Py_TYPE(m->m_self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|       |
  249|      6|    PyObject *type_qualname = PyObject_GetAttr(type, &_Py_ID(__qualname__));
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      6|    if (type_qualname == NULL)
  ------------------
  |  Branch (250:9): [True: 0, False: 6]
  ------------------
  251|      0|        return NULL;
  252|       |
  253|      6|    if (!PyUnicode_Check(type_qualname)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (253:9): [True: 0, False: 6]
  ------------------
  254|      0|        PyErr_SetString(PyExc_TypeError, "<method>.__class__."
  255|      0|                        "__qualname__ is not a unicode object");
  256|      0|        Py_XDECREF(type_qualname);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|        return NULL;
  258|      0|    }
  259|       |
  260|      6|    PyObject *res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name);
  261|      6|    Py_DECREF(type_qualname);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  262|      6|    return res;
  263|      6|}
methodobject.c:meth_get__self__:
  277|      4|{
  278|      4|    PyCFunctionObject *m = _PyCFunctionObject_CAST(meth);
  ------------------
  |  |   17|      4|    (assert(PyCFunction_Check(func)), \
  |  |   18|      4|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  279|      4|    PyObject *self = PyCFunction_GET_SELF(m);
  ------------------
  |  |   52|      4|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  280|      4|    if (self == NULL) {
  ------------------
  |  Branch (280:9): [True: 0, False: 4]
  ------------------
  281|      0|        self = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  282|      0|    }
  283|      4|    return Py_NewRef(self);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      4|}
methodobject.c:cfunction_vectorcall_FASTCALL:
  438|  1.65k|{
  439|  1.65k|    PyThreadState *tstate = _PyThreadState_GET();
  440|  1.65k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (440:9): [True: 0, False: 1.65k]
  ------------------
  441|      0|        return NULL;
  442|      0|    }
  443|  1.65k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.65k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  444|  1.65k|    PyCFunctionFast meth = (PyCFunctionFast)
  445|  1.65k|                            cfunction_enter_call(tstate, func);
  446|  1.65k|    if (meth == NULL) {
  ------------------
  |  Branch (446:9): [True: 0, False: 1.65k]
  ------------------
  447|      0|        return NULL;
  448|      0|    }
  449|  1.65k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
  ------------------
  |  |   52|  1.65k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|  1.65k|    _Py_LeaveRecursiveCallTstate(tstate);
  451|  1.65k|    return result;
  452|  1.65k|}
methodobject.c:cfunction_check_kwargs:
  408|   341k|{
  409|   341k|    assert(!_PyErr_Occurred(tstate));
  410|   341k|    assert(PyCFunction_Check(func));
  411|   341k|    if (kwnames && PyTuple_GET_SIZE(kwnames)) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (411:9): [True: 0, False: 341k]
  ------------------
  412|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  413|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (413:13): [True: 0, False: 0]
  ------------------
  414|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  415|      0|                         "%U takes no keyword arguments", funcstr);
  416|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        }
  418|      0|        return -1;
  419|      0|    }
  420|   341k|    return 0;
  421|   341k|}
methodobject.c:cfunction_enter_call:
  427|  9.69M|{
  428|  9.69M|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (428:9): [True: 0, False: 9.69M]
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|  9.69M|    return (funcptr)PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|  9.69M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  9.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  9.69M|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS:
  457|  9.35M|{
  458|  9.35M|    PyThreadState *tstate = _PyThreadState_GET();
  459|  9.35M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  9.35M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  460|  9.35M|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  461|  9.35M|                                        cfunction_enter_call(tstate, func);
  462|  9.35M|    if (meth == NULL) {
  ------------------
  |  Branch (462:9): [True: 0, False: 9.35M]
  ------------------
  463|      0|        return NULL;
  464|      0|    }
  465|  9.35M|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
  ------------------
  |  |   52|  9.35M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  9.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  9.35M|    _Py_LeaveRecursiveCallTstate(tstate);
  467|  9.35M|    return result;
  468|  9.35M|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD:
  473|    522|{
  474|    522|    PyThreadState *tstate = _PyThreadState_GET();
  475|    522|    PyTypeObject *cls = PyCFunction_GET_CLASS(func);
  ------------------
  |  |   66|    522|#define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|    522|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    522|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  477|    522|    PyCMethod meth = (PyCMethod)cfunction_enter_call(tstate, func);
  478|    522|    if (meth == NULL) {
  ------------------
  |  Branch (478:9): [True: 0, False: 522]
  ------------------
  479|      0|        return NULL;
  480|      0|    }
  481|    522|    PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
  ------------------
  |  |   52|    522|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    522|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    522|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|    522|    _Py_LeaveRecursiveCallTstate(tstate);
  483|    522|    return result;
  484|    522|}
methodobject.c:cfunction_vectorcall_NOARGS:
  489|   315k|{
  490|   315k|    PyThreadState *tstate = _PyThreadState_GET();
  491|   315k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (491:9): [True: 0, False: 315k]
  ------------------
  492|      0|        return NULL;
  493|      0|    }
  494|   315k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   315k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  495|   315k|    if (nargs != 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 315k]
  ------------------
  496|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  497|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  499|      0|                "%U takes no arguments (%zd given)", funcstr, nargs);
  500|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      0|        }
  502|      0|        return NULL;
  503|      0|    }
  504|   315k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  505|   315k|    if (meth == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 315k]
  ------------------
  506|      0|        return NULL;
  507|      0|    }
  508|   315k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|   315k|    (meth)((self), (args))
  ------------------
  509|   315k|        meth, PyCFunction_GET_SELF(func), NULL);
  510|   315k|    _Py_LeaveRecursiveCallTstate(tstate);
  511|   315k|    return result;
  512|   315k|}
methodobject.c:cfunction_vectorcall_O:
  517|  24.3k|{
  518|  24.3k|    PyThreadState *tstate = _PyThreadState_GET();
  519|  24.3k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (519:9): [True: 0, False: 24.3k]
  ------------------
  520|      0|        return NULL;
  521|      0|    }
  522|  24.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  24.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  523|  24.3k|    if (nargs != 1) {
  ------------------
  |  Branch (523:9): [True: 0, False: 24.3k]
  ------------------
  524|      0|        PyObject *funcstr = _PyObject_FunctionStr(func);
  525|      0|        if (funcstr != NULL) {
  ------------------
  |  Branch (525:13): [True: 0, False: 0]
  ------------------
  526|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  527|      0|                "%U takes exactly one argument (%zd given)", funcstr, nargs);
  528|      0|            Py_DECREF(funcstr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|      0|        }
  530|      0|        return NULL;
  531|      0|    }
  532|  24.3k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  533|  24.3k|    if (meth == NULL) {
  ------------------
  |  Branch (533:9): [True: 0, False: 24.3k]
  ------------------
  534|      0|        return NULL;
  535|      0|    }
  536|  24.3k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|  24.3k|    (meth)((self), (args))
  ------------------
  537|  24.3k|        meth, PyCFunction_GET_SELF(func), args[0]);
  538|  24.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  539|  24.3k|    return result;
  540|  24.3k|}
methodobject.c:cfunction_call:
  545|  1.30k|{
  546|  1.30k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  547|       |
  548|  1.30k|    PyThreadState *tstate = _PyThreadState_GET();
  549|  1.30k|    assert(!_PyErr_Occurred(tstate));
  550|       |
  551|  1.30k|    int flags = PyCFunction_GET_FLAGS(func);
  ------------------
  |  |   57|  1.30k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|  1.30k|    if (!(flags & METH_VARARGS)) {
  ------------------
  |  |   95|  1.30k|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (552:9): [True: 0, False: 1.30k]
  ------------------
  553|       |        /* If this is not a METH_VARARGS function, delegate to vectorcall */
  554|      0|        return PyVectorcall_Call(func, args, kwargs);
  555|      0|    }
  556|       |
  557|       |    /* For METH_VARARGS, we cannot use vectorcall as the vectorcall pointer
  558|       |     * is NULL. This is intentional, since vectorcall would be slower. */
  559|  1.30k|    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|  1.30k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  1.30k|    PyObject *self = PyCFunction_GET_SELF(func);
  ------------------
  |  |   52|  1.30k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|       |
  562|  1.30k|    PyObject *result;
  563|  1.30k|    if (flags & METH_KEYWORDS) {
  ------------------
  |  |   96|  1.30k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (563:9): [True: 440, False: 864]
  ------------------
  564|    440|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|    440|    (meth)((self), (args), (kw))
  ------------------
  565|    440|            *_PyCFunctionWithKeywords_CAST(meth),
  566|    440|            self, args, kwargs);
  567|    440|    }
  568|    864|    else {
  569|    864|        if (kwargs != NULL && PyDict_GET_SIZE(kwargs) != 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (569:13): [True: 0, False: 864]
  |  Branch (569:31): [True: 0, False: 0]
  ------------------
  570|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  571|      0|                          "%.200s() takes no keyword arguments",
  572|      0|                          ((PyCFunctionObject*)func)->m_ml->ml_name);
  573|      0|            return NULL;
  574|      0|        }
  575|    864|        result = _PyCFunction_TrampolineCall(meth, self, args);
  ------------------
  |  |  997|    864|    (meth)((self), (args))
  ------------------
  576|    864|    }
  577|  1.30k|    return _Py_CheckFunctionResult(tstate, func, result, NULL);
  578|  1.30k|}

mi_heap_get_default:
  202|      2|mi_heap_t* mi_heap_get_default(void) {
  203|      2|  mi_thread_init();
  204|      2|  return mi_prim_get_default_heap();
  205|      2|}
_mi_heap_random_next:
  260|      6|uintptr_t _mi_heap_random_next(mi_heap_t* heap) {
  261|      6|  return _mi_random_next(&heap->random);
  262|      6|}

_mi_thread_id:
  121|      4|mi_threadid_t _mi_thread_id(void) mi_attr_noexcept {
  122|      4|  return _mi_prim_thread_id();
  123|      4|}
mi_thread_init:
  389|      4|{
  390|       |  // ensure our process has started already
  391|      4|  mi_process_init();
  392|       |
  393|       |  // initialize the thread local default heap
  394|       |  // (this will call `_mi_heap_set_default_direct` and thus set the
  395|       |  //  fiber/pthread key to a non-zero value, ensuring `_mi_thread_done` is called)
  396|      4|  if (_mi_heap_init()) return;  // returns true if already initialized
  ------------------
  |  Branch (396:7): [True: 4, False: 0]
  ------------------
  397|       |
  398|      0|  _mi_stat_increase(&_mi_stats_main.threads, 1);
  399|      0|  mi_atomic_increment_relaxed(&thread_count);
  ------------------
  |  |   78|      0|#define mi_atomic_increment_relaxed(p)           mi_atomic_add_relaxed(p,(uintptr_t)1)
  |  |  ------------------
  |  |  |  |   71|      0|#define mi_atomic_add_relaxed(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(relaxed))
  |  |  |  |  ------------------
  |  |  |  |  |  |   42|      0|#define  mi_atomic(name)        atomic_##name
  |  |  |  |  ------------------
  |  |  |  |               #define mi_atomic_add_relaxed(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(relaxed))
  |  |  |  |  ------------------
  |  |  |  |  |  |   43|      0|#define  mi_memory_order(name)  memory_order_##name
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|       |  //_mi_verbose_message("thread init: 0x%zx\n", _mi_thread_id());
  401|      0|}
_mi_heap_set_default_direct:
  431|      2|void _mi_heap_set_default_direct(mi_heap_t* heap)  {
  432|      2|  mi_assert_internal(heap != NULL);
  433|       |  #if defined(MI_TLS_SLOT)
  434|       |  mi_prim_tls_slot_set(MI_TLS_SLOT,heap);
  435|       |  #elif defined(MI_TLS_PTHREAD_SLOT_OFS)
  436|       |  *mi_tls_pthread_heap_slot() = heap;
  437|       |  #elif defined(MI_TLS_PTHREAD)
  438|       |  // we use _mi_heap_default_key
  439|       |  #else
  440|      2|  _mi_heap_default = heap;
  441|      2|  #endif
  442|       |
  443|       |  // ensure the default heap is passed to `_mi_thread_done`
  444|       |  // setting to a non-NULL value also ensures `mi_thread_done` is called.
  445|      2|  _mi_prim_thread_associate_default_heap(heap);
  446|      2|}
_mi_preloading:
  458|     52|bool mi_decl_noinline _mi_preloading(void) {
  459|     52|  return os_preloading;
  460|     52|}
mi_process_init:
  543|      6|void mi_process_init(void) mi_attr_noexcept {
  544|       |  // ensure we are called once
  545|      6|  static mi_atomic_once_t process_init;
  546|      6|        #if _MSC_VER < 1920
  547|      6|        mi_heap_main_init(); // vs2017 can dynamically re-initialize _mi_heap_main
  548|      6|        #endif
  549|      6|  if (!mi_atomic_once(&process_init)) return;
  ------------------
  |  Branch (549:7): [True: 4, False: 2]
  ------------------
  550|      2|  _mi_process_is_initialized = true;
  551|      2|  _mi_verbose_message("process init: 0x%zx\n", _mi_thread_id());
  552|      2|  mi_process_setup_auto_thread_done();
  553|       |
  554|      2|  mi_detect_cpu_features();
  555|      2|  _mi_os_init();
  556|      2|  mi_heap_main_init();
  557|       |  #if MI_DEBUG
  558|       |  _mi_verbose_message("debug level : %d\n", MI_DEBUG);
  559|       |  #endif
  560|      2|  _mi_verbose_message("secure level: %d\n", MI_SECURE);
  ------------------
  |  |  101|      2|#define MI_SECURE 0
  ------------------
  561|      2|  _mi_verbose_message("mem tracking: %s\n", MI_TRACK_TOOL);
  ------------------
  |  |   98|      2|#define MI_TRACK_TOOL         "none"
  ------------------
  562|       |  #if MI_TSAN
  563|       |  _mi_verbose_message("thread sanitizer enabled\n");
  564|       |  #endif
  565|      2|  mi_thread_init();
  566|       |
  567|       |  #if defined(_WIN32)
  568|       |  // On windows, when building as a static lib the FLS cleanup happens to early for the main thread.
  569|       |  // To avoid this, set the FLS value for the main thread to NULL so the fls cleanup
  570|       |  // will not call _mi_thread_done on the (still executing) main thread. See issue #508.
  571|       |  _mi_prim_thread_associate_default_heap(NULL);
  572|       |  #endif
  573|       |
  574|      2|  mi_stats_reset();  // only call stat reset *after* thread init (or the heap tld == NULL)
  575|      2|  mi_track_init();
  576|       |
  577|      2|  if (mi_option_is_enabled(mi_option_reserve_huge_os_pages)) {
  ------------------
  |  Branch (577:7): [True: 0, False: 2]
  ------------------
  578|      0|    size_t pages = mi_option_get_clamp(mi_option_reserve_huge_os_pages, 0, 128*1024);
  579|      0|    long reserve_at = mi_option_get(mi_option_reserve_huge_os_pages_at);
  580|      0|    if (reserve_at != -1) {
  ------------------
  |  Branch (580:9): [True: 0, False: 0]
  ------------------
  581|      0|      mi_reserve_huge_os_pages_at(pages, reserve_at, pages*500);
  582|      0|    } else {
  583|      0|      mi_reserve_huge_os_pages_interleave(pages, 0, pages*500);
  584|      0|    }
  585|      0|  }
  586|      2|  if (mi_option_is_enabled(mi_option_reserve_os_memory)) {
  ------------------
  |  Branch (586:7): [True: 0, False: 2]
  ------------------
  587|      0|    long ksize = mi_option_get(mi_option_reserve_os_memory);
  588|      0|    if (ksize > 0) {
  ------------------
  |  Branch (588:9): [True: 0, False: 0]
  ------------------
  589|      0|      mi_reserve_os_memory((size_t)ksize*MI_KiB, true /* commit? */, true /* allow large pages? */);
  ------------------
  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  590|      0|    }
  591|      0|  }
  592|      2|}
obmalloc.c:_mi_process_init:
  681|      2|  static void __attribute__((constructor)) _mi_process_init(void) {
  682|      2|    mi_process_load();
  683|      2|  }
obmalloc.c:mi_heap_main_init:
  159|     10|static void mi_heap_main_init(void) {
  160|     10|  if (_mi_heap_main.cookie == 0) {
  ------------------
  |  Branch (160:7): [True: 2, False: 8]
  ------------------
  161|      2|    _mi_heap_main.thread_id = _mi_thread_id();
  162|      2|    _mi_heap_main.cookie = 1;
  163|       |    #if defined(_WIN32) && !defined(MI_SHARED_LIB)
  164|       |      _mi_random_init_weak(&_mi_heap_main.random);    // prevent allocation failure during bcrypt dll initialization with static linking
  165|       |    #else
  166|      2|      _mi_random_init(&_mi_heap_main.random);
  167|      2|    #endif
  168|      2|    _mi_heap_main.cookie  = _mi_heap_random_next(&_mi_heap_main);
  169|      2|    _mi_heap_main.keys[0] = _mi_heap_random_next(&_mi_heap_main);
  170|      2|    _mi_heap_main.keys[1] = _mi_heap_random_next(&_mi_heap_main);
  171|      2|  }
  172|     10|}
obmalloc.c:_mi_heap_init:
  268|      4|static bool _mi_heap_init(void) {
  269|      4|  if (mi_heap_is_initialized(mi_prim_get_default_heap())) return true;
  ------------------
  |  Branch (269:7): [True: 4, False: 0]
  ------------------
  270|      0|  if (_mi_is_main_thread()) {
  ------------------
  |  Branch (270:7): [True: 0, False: 0]
  ------------------
  271|       |    // mi_assert_internal(_mi_heap_main.thread_id != 0);  // can happen on freeBSD where alloc is called before any initialization
  272|       |    // the main heap is statically allocated
  273|      0|    mi_heap_main_init();
  274|      0|    _mi_heap_set_default_direct(&_mi_heap_main);
  275|       |    //mi_assert_internal(_mi_heap_default->tld->heap_backing == mi_prim_get_default_heap());
  276|      0|  }
  277|      0|  else {
  278|       |    // use `_mi_os_alloc` to allocate directly from the OS
  279|      0|    mi_thread_data_t* td = mi_thread_data_zalloc();
  280|      0|    if (td == NULL) return false;
  ------------------
  |  Branch (280:9): [True: 0, False: 0]
  ------------------
  281|       |
  282|      0|    _mi_tld_init(&td->tld, &td->heap);
  283|      0|    _mi_heap_init_ex(&td->heap, &td->tld, _mi_arena_id_none(), false, 0);
  284|      0|    _mi_heap_set_default_direct(&td->heap);
  285|      0|  }
  286|      0|  return false;
  287|      0|}
obmalloc.c:mi_process_setup_auto_thread_done:
  368|      4|static void mi_process_setup_auto_thread_done(void) {
  369|      4|  static bool tls_initialized = false; // fine if it races
  370|      4|  if (tls_initialized) return;
  ------------------
  |  Branch (370:7): [True: 2, False: 2]
  ------------------
  371|      2|  tls_initialized = true;
  372|      2|  _mi_prim_thread_init_auto_done();
  373|      2|  _mi_heap_set_default_direct(&_mi_heap_main);
  374|      2|}
obmalloc.c:mi_detect_cpu_features:
  537|      2|static void mi_detect_cpu_features(void) {
  538|       |  // nothing
  539|      2|}
obmalloc.c:mi_process_load:
  499|      2|static void mi_process_load(void) {
  500|      2|  mi_heap_main_init();
  501|       |  #if defined(__APPLE__) || defined(MI_TLS_RECURSE_GUARD)
  502|       |  volatile mi_heap_t* dummy = _mi_heap_default; // access TLS to allocate it before setting tls_initialized to true;
  503|       |  if (dummy == NULL) return;                    // use dummy or otherwise the access may get optimized away (issue #697)
  504|       |  #endif
  505|      2|  os_preloading = false;
  506|      2|  mi_assert_internal(_mi_is_main_thread());
  507|      2|  #if !(defined(_WIN32) && defined(MI_SHARED_LIB))  // use Dll process detach (see below) instead of atexit (issue #521)
  508|      2|  atexit(&mi_process_done);
  509|      2|  #endif
  510|      2|  _mi_options_init();
  511|      2|  mi_process_setup_auto_thread_done();
  512|      2|  mi_process_init();
  513|      2|  if (mi_redirected) _mi_verbose_message("malloc is redirected.\n");
  ------------------
  |  Branch (513:7): [True: 0, False: 2]
  ------------------
  514|       |
  515|       |  // show message from the redirector (if present)
  516|      2|  const char* msg = NULL;
  517|      2|  mi_allocator_init(&msg);
  518|      2|  if (msg != NULL && (mi_option_is_enabled(mi_option_verbose) || mi_option_is_enabled(mi_option_show_errors))) {
  ------------------
  |  Branch (518:7): [True: 0, False: 2]
  |  Branch (518:23): [True: 0, False: 0]
  |  Branch (518:66): [True: 0, False: 0]
  ------------------
  519|      0|    _mi_fputs(NULL,NULL,NULL,msg);
  520|      0|  }
  521|       |
  522|       |  // reseed random
  523|      2|  _mi_random_reinit_if_weak(&_mi_heap_main.random);
  524|      2|}
obmalloc.c:mi_allocator_init:
  489|      2|static bool mi_allocator_init(const char** message) {
  490|      2|  if (message != NULL) *message = NULL;
  ------------------
  |  Branch (490:7): [True: 2, False: 0]
  ------------------
  491|       |  return true;
  492|      2|}

_mi_options_init:
   97|      2|void _mi_options_init(void) {
   98|       |  // called on process load; should not be called before the CRT is initialized!
   99|       |  // (e.g. do not call this from process_init as that may run before CRT initialization)
  100|      2|  mi_add_stderr_output(); // now it safe to use stderr for output
  101|     54|  for(int i = 0; i < _mi_option_last; i++ ) {
  ------------------
  |  Branch (101:18): [True: 52, False: 2]
  ------------------
  102|     52|    mi_option_t option = (mi_option_t)i;
  103|     52|    long l = mi_option_get(option); MI_UNUSED(l); // initialize
  ------------------
  |  |  246|     52|#define MI_UNUSED(x)     (void)(x)
  ------------------
  104|       |    // if (option != mi_option_verbose)
  105|     52|    {
  106|     52|      mi_option_desc_t* desc = &options[option];
  107|     52|      _mi_verbose_message("option '%s': %ld\n", desc->name, desc->value);
  108|     52|    }
  109|     52|  }
  110|      2|  mi_max_error_count = mi_option_get(mi_option_max_errors);
  111|      2|  mi_max_warning_count = mi_option_get(mi_option_max_warnings);
  112|      2|}
mi_option_get:
  114|    118|mi_decl_nodiscard long mi_option_get(mi_option_t option) {
  115|    118|  mi_assert(option >= 0 && option < _mi_option_last);
  116|    118|  if (option < 0 || option >= _mi_option_last) return 0;
  ------------------
  |  Branch (116:7): [True: 0, False: 118]
  |  Branch (116:21): [True: 0, False: 118]
  ------------------
  117|    118|  mi_option_desc_t* desc = &options[option];
  118|    118|  mi_assert(desc->option == option);  // index should match the option
  119|    118|  if mi_unlikely(desc->init == UNINIT) {
  ------------------
  |  |  204|    118|#define mi_unlikely(x)     (__builtin_expect(!!(x),false))
  |  |  ------------------
  |  |  |  Branch (204:29): [True: 52, False: 66]
  |  |  ------------------
  ------------------
  120|     52|    mi_option_init(desc);
  121|     52|  }
  122|    118|  return desc->value;
  123|    118|}
mi_option_is_enabled:
  154|     62|mi_decl_nodiscard bool mi_option_is_enabled(mi_option_t option) {
  155|     62|  return (mi_option_get(option) != 0);
  156|     62|}
_mi_verbose_message:
  350|     58|void _mi_verbose_message(const char* fmt, ...) {
  351|     58|  if (!mi_option_is_enabled(mi_option_verbose)) return;
  ------------------
  |  Branch (351:7): [True: 58, False: 0]
  ------------------
  352|      0|  va_list args;
  353|      0|  va_start(args,fmt);
  354|      0|  mi_vfprintf(NULL, NULL, "mimalloc: ", fmt, args);
  355|       |  va_end(args);
  356|      0|}
_mi_toupper:
  437|  4.35k|char _mi_toupper(char c) {
  438|  4.35k|  if (c >= 'a' && c <= 'z') return (c - 'a' + 'A');
  ------------------
  |  Branch (438:7): [True: 2.17k, False: 2.17k]
  |  Branch (438:19): [True: 2.17k, False: 0]
  ------------------
  439|  2.17k|                       else return c;
  440|  4.35k|}
_mi_strnicmp:
  442|  2.11k|int _mi_strnicmp(const char* s, const char* t, size_t n) {
  443|  2.11k|  if (n == 0) return 0;
  ------------------
  |  Branch (443:7): [True: 0, False: 2.11k]
  ------------------
  444|  2.17k|  for (; *s != 0 && *t != 0 && n > 0; s++, t++, n--) {
  ------------------
  |  Branch (444:10): [True: 2.17k, False: 0]
  |  Branch (444:21): [True: 2.17k, False: 0]
  |  Branch (444:32): [True: 2.17k, False: 0]
  ------------------
  445|  2.17k|    if (_mi_toupper(*s) != _mi_toupper(*t)) break;
  ------------------
  |  Branch (445:9): [True: 2.11k, False: 64]
  ------------------
  446|  2.17k|  }
  447|  2.11k|  return (n == 0 ? 0 : *s - *t);
  ------------------
  |  Branch (447:11): [True: 0, False: 2.11k]
  ------------------
  448|  2.11k|}
_mi_strlcpy:
  450|    128|void _mi_strlcpy(char* dest, const char* src, size_t dest_size) {
  451|    128|  if (dest==NULL || src==NULL || dest_size == 0) return;
  ------------------
  |  Branch (451:7): [True: 0, False: 128]
  |  Branch (451:21): [True: 0, False: 128]
  |  Branch (451:34): [True: 0, False: 128]
  ------------------
  452|       |  // copy until end of src, or when dest is (almost) full
  453|  1.72k|  while (*src != 0 && dest_size > 1) {
  ------------------
  |  Branch (453:10): [True: 1.59k, False: 128]
  |  Branch (453:23): [True: 1.59k, False: 0]
  ------------------
  454|  1.59k|    *dest++ = *src++;
  455|  1.59k|    dest_size--;
  456|  1.59k|  }
  457|       |  // always zero terminate
  458|    128|  *dest = 0;
  459|    128|}
_mi_strlcat:
  461|     64|void _mi_strlcat(char* dest, const char* src, size_t dest_size) {
  462|     64|  if (dest==NULL || src==NULL || dest_size == 0) return;
  ------------------
  |  Branch (462:7): [True: 0, False: 64]
  |  Branch (462:21): [True: 0, False: 64]
  |  Branch (462:34): [True: 0, False: 64]
  ------------------
  463|       |  // find end of string in the dest buffer
  464|    640|  while (*dest != 0 && dest_size > 1) {
  ------------------
  |  Branch (464:10): [True: 576, False: 64]
  |  Branch (464:24): [True: 576, False: 0]
  ------------------
  465|    576|    dest++;
  466|    576|    dest_size--;
  467|    576|  }
  468|       |  // and catenate
  469|     64|  _mi_strlcpy(dest, src, dest_size);
  470|     64|}
_mi_strlen:
  472|     64|size_t _mi_strlen(const char* s) {
  473|     64|  if (s==NULL) return 0;
  ------------------
  |  Branch (473:7): [True: 0, False: 64]
  ------------------
  474|     64|  size_t len = 0;
  475|  1.66k|  while(s[len] != 0) { len++; }
  ------------------
  |  Branch (475:9): [True: 1.59k, False: 64]
  ------------------
  476|     64|  return len;
  477|     64|}
obmalloc.c:mi_out_stderr:
  174|      2|static void mi_cdecl mi_out_stderr(const char* msg, void* arg) {
  175|      2|  MI_UNUSED(arg);
  ------------------
  |  |  246|      2|#define MI_UNUSED(x)     (void)(x)
  ------------------
  176|      2|  if (msg != NULL && msg[0] != 0) {
  ------------------
  |  Branch (176:7): [True: 2, False: 0]
  |  Branch (176:22): [True: 0, False: 2]
  ------------------
  177|      0|    _mi_prim_out_stderr(msg);
  178|      0|  }
  179|      2|}
obmalloc.c:mi_out_buf_flush:
  207|      2|static void mi_out_buf_flush(mi_output_fun* out, bool no_more_buf, void* arg) {
  208|      2|  if (out==NULL) return;
  ------------------
  |  Branch (208:7): [True: 0, False: 2]
  ------------------
  209|       |  // claim (if `no_more_buf == true`, no more output will be added after this point)
  210|      2|  size_t count = mi_atomic_add_acq_rel(&out_len, (no_more_buf ? MI_MAX_DELAY_OUTPUT : 1));
  ------------------
  |  |   73|      4|#define mi_atomic_add_acq_rel(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(acq_rel))
  |  |  ------------------
  |  |  |  |   42|      2|#define  mi_atomic(name)        atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_add_acq_rel(p,x)               mi_atomic(fetch_add_explicit)(p,x,mi_memory_order(acq_rel))
  |  |  ------------------
  |  |  |  |   43|      2|#define  mi_memory_order(name)  memory_order_##name
  |  |  ------------------
  |  |  |  Branch (73:82): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  211|       |  // and output the current contents
  212|      2|  if (count>MI_MAX_DELAY_OUTPUT) count = MI_MAX_DELAY_OUTPUT;
  ------------------
  |  |  186|      2|#define MI_MAX_DELAY_OUTPUT ((size_t)(32*1024))
  ------------------
                if (count>MI_MAX_DELAY_OUTPUT) count = MI_MAX_DELAY_OUTPUT;
  ------------------
  |  |  186|      0|#define MI_MAX_DELAY_OUTPUT ((size_t)(32*1024))
  ------------------
  |  Branch (212:7): [True: 0, False: 2]
  ------------------
  213|      2|  out_buf[count] = 0;
  214|      2|  out(out_buf,arg);
  215|      2|  if (!no_more_buf) {
  ------------------
  |  Branch (215:7): [True: 2, False: 0]
  ------------------
  216|      2|    out_buf[count] = '\n'; // if continue with the buffer, insert a newline
  217|      2|  }
  218|      2|}
obmalloc.c:mi_add_stderr_output:
  252|      2|static void mi_add_stderr_output(void) {
  253|      2|  mi_assert_internal(mi_out_default == NULL);
  254|      2|  mi_out_buf_flush(&mi_out_stderr, false, NULL); // flush current contents to stderr
  255|      2|  mi_out_default = &mi_out_buf_stderr;           // and add stderr to the delayed output
  256|      2|}
obmalloc.c:mi_option_init:
  505|     52|static void mi_option_init(mi_option_desc_t* desc) {
  506|       |  // Read option value from the environment
  507|     52|  char s[64 + 1];
  508|     52|  char buf[64+1];
  509|     52|  _mi_strlcpy(buf, "mimalloc_", sizeof(buf));
  510|     52|  _mi_strlcat(buf, desc->name, sizeof(buf));
  511|     52|  bool found = mi_getenv(buf, s, sizeof(s));
  512|     52|  if (!found && desc->legacy_name != NULL) {
  ------------------
  |  Branch (512:7): [True: 52, False: 0]
  |  Branch (512:17): [True: 12, False: 40]
  ------------------
  513|     12|    _mi_strlcpy(buf, "mimalloc_", sizeof(buf));
  514|     12|    _mi_strlcat(buf, desc->legacy_name, sizeof(buf));
  515|     12|    found = mi_getenv(buf, s, sizeof(s));
  516|     12|    if (found) {
  ------------------
  |  Branch (516:9): [True: 0, False: 12]
  ------------------
  517|      0|      _mi_warning_message("environment option \"mimalloc_%s\" is deprecated -- use \"mimalloc_%s\" instead.\n", desc->legacy_name, desc->name);
  518|      0|    }
  519|     12|  }
  520|       |
  521|     52|  if (found) {
  ------------------
  |  Branch (521:7): [True: 0, False: 52]
  ------------------
  522|      0|    size_t len = _mi_strnlen(s, sizeof(buf) - 1);
  523|      0|    for (size_t i = 0; i < len; i++) {
  ------------------
  |  Branch (523:24): [True: 0, False: 0]
  ------------------
  524|      0|      buf[i] = _mi_toupper(s[i]);
  525|      0|    }
  526|      0|    buf[len] = 0;
  527|      0|    if (buf[0] == 0 || strstr("1;TRUE;YES;ON", buf) != NULL) {
  ------------------
  |  Branch (527:9): [True: 0, False: 0]
  |  Branch (527:24): [True: 0, False: 0]
  ------------------
  528|      0|      desc->value = 1;
  529|      0|      desc->init = INITIALIZED;
  530|      0|    }
  531|      0|    else if (strstr("0;FALSE;NO;OFF", buf) != NULL) {
  ------------------
  |  Branch (531:14): [True: 0, False: 0]
  ------------------
  532|      0|      desc->value = 0;
  533|      0|      desc->init = INITIALIZED;
  534|      0|    }
  535|      0|    else {
  536|      0|      char* end = buf;
  537|      0|      long value = strtol(buf, &end, 10);
  538|      0|      if (desc->option == mi_option_reserve_os_memory || desc->option == mi_option_arena_reserve) {
  ------------------
  |  Branch (538:11): [True: 0, False: 0]
  |  Branch (538:58): [True: 0, False: 0]
  ------------------
  539|       |        // this option is interpreted in KiB to prevent overflow of `long`
  540|      0|        if (*end == 'K') { end++; }
  ------------------
  |  Branch (540:13): [True: 0, False: 0]
  ------------------
  541|      0|        else if (*end == 'M') { value *= MI_KiB; end++; }
  ------------------
  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  |  Branch (541:18): [True: 0, False: 0]
  ------------------
  542|      0|        else if (*end == 'G') { value *= MI_MiB; end++; }
  ------------------
  |  |  193|      0|#define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (542:18): [True: 0, False: 0]
  ------------------
  543|      0|        else { value = (value + MI_KiB - 1) / MI_KiB; }
  ------------------
  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
                      else { value = (value + MI_KiB - 1) / MI_KiB; }
  ------------------
  |  |  192|      0|#define MI_KiB     (MI_ZU(1024))
  |  |  ------------------
  |  |  |  |  182|      0|# define MI_ZU(x)  x##UL
  |  |  ------------------
  ------------------
  544|      0|        if (end[0] == 'I' && end[1] == 'B') { end += 2; }
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  |  Branch (544:30): [True: 0, False: 0]
  ------------------
  545|      0|        else if (*end == 'B') { end++; }
  ------------------
  |  Branch (545:18): [True: 0, False: 0]
  ------------------
  546|      0|      }
  547|      0|      if (*end == 0) {
  ------------------
  |  Branch (547:11): [True: 0, False: 0]
  ------------------
  548|      0|        desc->value = value;
  549|      0|        desc->init = INITIALIZED;
  550|      0|      }
  551|      0|      else {
  552|       |        // set `init` first to avoid recursion through _mi_warning_message on mimalloc_verbose.
  553|      0|        desc->init = DEFAULTED;
  554|      0|        if (desc->option == mi_option_verbose && desc->value == 0) {
  ------------------
  |  Branch (554:13): [True: 0, False: 0]
  |  Branch (554:50): [True: 0, False: 0]
  ------------------
  555|       |          // if the 'mimalloc_verbose' env var has a bogus value we'd never know
  556|       |          // (since the value defaults to 'off') so in that case briefly enable verbose
  557|      0|          desc->value = 1;
  558|      0|          _mi_warning_message("environment option mimalloc_%s has an invalid value.\n", desc->name);
  559|      0|          desc->value = 0;
  560|      0|        }
  561|      0|        else {
  562|      0|          _mi_warning_message("environment option mimalloc_%s has an invalid value.\n", desc->name);
  563|      0|        }
  564|      0|      }
  565|      0|    }
  566|      0|    mi_assert_internal(desc->init != UNINIT);
  567|      0|  }
  568|     52|  else if (!_mi_preloading()) {
  ------------------
  |  Branch (568:12): [True: 52, False: 0]
  ------------------
  569|     52|    desc->init = DEFAULTED;
  570|     52|  }
  571|     52|}
obmalloc.c:mi_getenv:
  494|     64|static bool mi_getenv(const char* name, char* result, size_t result_size) {
  495|     64|  if (name==NULL || result == NULL || result_size < 64) return false;
  ------------------
  |  Branch (495:7): [True: 0, False: 64]
  |  Branch (495:21): [True: 0, False: 64]
  |  Branch (495:39): [True: 0, False: 64]
  ------------------
  496|     64|  return _mi_prim_getenv(name,result,result_size);
  497|     64|}

_mi_os_init:
   65|      2|void _mi_os_init(void) {
   66|      2|  _mi_prim_mem_init(&mi_os_mem_config);
   67|      2|}

_mi_prim_mem_init:
  129|      2|void _mi_prim_mem_init( mi_os_mem_config_t* config ) {
  130|      2|  long psize = sysconf(_SC_PAGESIZE);
  131|      2|  if (psize > 0) {
  ------------------
  |  Branch (131:7): [True: 2, False: 0]
  ------------------
  132|      2|    config->page_size = (size_t)psize;
  133|      2|    config->alloc_granularity = (size_t)psize;
  134|      2|  }
  135|      2|  config->large_page_size = 2*MI_MiB; // TODO: can we query the OS for this?
  ------------------
  |  |  193|      2|#define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  192|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      2|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MI_MiB     (MI_KiB*MI_KiB)
  |  |  ------------------
  |  |  |  |  192|      2|#define MI_KiB     (MI_ZU(1024))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      2|# define MI_ZU(x)  x##UL
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|      2|  config->has_overcommit = unix_detect_overcommit();
  137|      2|  config->must_free_whole = false;    // mmap can free in parts
  138|       |  config->has_virtual_reserve = true; // todo: check if this true for NetBSD?  (for anonymous mmap with PROT_NONE)
  139|      2|}
_mi_prim_clock_now:
  556|      6|mi_msecs_t _mi_prim_clock_now(void) {
  557|      6|  struct timespec t;
  558|      6|  #ifdef CLOCK_MONOTONIC
  559|      6|  clock_gettime(CLOCK_MONOTONIC, &t);
  560|       |  #else
  561|       |  clock_gettime(CLOCK_REALTIME, &t);
  562|       |  #endif
  563|      6|  return ((mi_msecs_t)t.tv_sec * 1000) + ((mi_msecs_t)t.tv_nsec / 1000000);
  564|      6|}
_mi_prim_getenv:
  689|     64|bool _mi_prim_getenv(const char* name, char* result, size_t result_size) {
  690|     64|  if (name==NULL) return false;
  ------------------
  |  Branch (690:7): [True: 0, False: 64]
  ------------------
  691|     64|  const size_t len = _mi_strlen(name);
  692|     64|  if (len == 0) return false;
  ------------------
  |  Branch (692:7): [True: 0, False: 64]
  ------------------
  693|     64|  char** env = mi_get_environ();
  694|     64|  if (env == NULL) return false;
  ------------------
  |  Branch (694:7): [True: 0, False: 64]
  ------------------
  695|       |  // compare up to 10000 entries
  696|  2.17k|  for (int i = 0; i < 10000 && env[i] != NULL; i++) {
  ------------------
  |  Branch (696:19): [True: 2.17k, False: 0]
  |  Branch (696:32): [True: 2.11k, False: 64]
  ------------------
  697|  2.11k|    const char* s = env[i];
  698|  2.11k|    if (_mi_strnicmp(name, s, len) == 0 && s[len] == '=') { // case insensitive
  ------------------
  |  Branch (698:9): [True: 0, False: 2.11k]
  |  Branch (698:44): [True: 0, False: 0]
  ------------------
  699|       |      // found it
  700|      0|      _mi_strlcpy(result, s + len + 1, result_size);
  701|      0|      return true;
  702|      0|    }
  703|  2.11k|  }
  704|     64|  return false;
  705|     64|}
_mi_prim_random_buf:
  769|      2|bool _mi_prim_random_buf(void* buf, size_t buf_len) {
  770|       |  // Modern Linux provides `getrandom` but different distributions either use `sys/random.h` or `linux/random.h`
  771|       |  // and for the latter the actual `getrandom` call is not always defined.
  772|       |  // (see <https://stackoverflow.com/questions/45237324/why-doesnt-getrandom-compile>)
  773|       |  // We therefore use a syscall directly and fall back dynamically to /dev/urandom when needed.
  774|      2|  #if defined(MI_HAS_SYSCALL_H) && defined(SYS_getrandom)
  775|      2|    #ifndef GRND_NONBLOCK
  776|      2|    #define GRND_NONBLOCK (1)
  777|      2|    #endif
  778|      2|    static _Atomic(uintptr_t) no_getrandom; // = 0
  779|      2|    if (mi_atomic_load_acquire(&no_getrandom)==0) {
  ------------------
  |  |   60|      2|#define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   42|      2|#define  mi_atomic(name)        atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_load_acquire(p)                mi_atomic(load_explicit)(p,mi_memory_order(acquire))
  |  |  ------------------
  |  |  |  |   43|      2|#define  mi_memory_order(name)  memory_order_##name
  |  |  ------------------
  ------------------
  |  Branch (779:9): [True: 2, False: 0]
  ------------------
  780|      2|      ssize_t ret = syscall(SYS_getrandom, buf, buf_len, GRND_NONBLOCK);
  ------------------
  |  |  776|      2|    #define GRND_NONBLOCK (1)
  ------------------
  781|      2|      if (ret >= 0) return (buf_len == (size_t)ret);
  ------------------
  |  Branch (781:11): [True: 2, False: 0]
  ------------------
  782|      0|      if (errno != ENOSYS) return false;
  ------------------
  |  Branch (782:11): [True: 0, False: 0]
  ------------------
  783|      0|      mi_atomic_store_release(&no_getrandom, (uintptr_t)1); // don't call again, and fall back to /dev/urandom
  ------------------
  |  |   62|      0|#define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   42|      0|#define  mi_atomic(name)        atomic_##name
  |  |  ------------------
  |  |               #define mi_atomic_store_release(p,x)             mi_atomic(store_explicit)(p,x,mi_memory_order(release))
  |  |  ------------------
  |  |  |  |   43|      0|#define  mi_memory_order(name)  memory_order_##name
  |  |  ------------------
  ------------------
  784|      0|    }
  785|      0|  #endif
  786|      0|  int flags = O_RDONLY;
  787|      0|  #if defined(O_CLOEXEC)
  788|      0|  flags |= O_CLOEXEC;
  789|      0|  #endif
  790|      0|  int fd = mi_prim_open("/dev/urandom", flags);
  791|      0|  if (fd < 0) return false;
  ------------------
  |  Branch (791:7): [True: 0, False: 0]
  ------------------
  792|      0|  size_t count = 0;
  793|      0|  while(count < buf_len) {
  ------------------
  |  Branch (793:9): [True: 0, False: 0]
  ------------------
  794|      0|    ssize_t ret = mi_prim_read(fd, (char*)buf + count, buf_len - count);
  795|      0|    if (ret<=0) {
  ------------------
  |  Branch (795:9): [True: 0, False: 0]
  ------------------
  796|      0|      if (errno!=EAGAIN && errno!=EINTR) break;
  ------------------
  |  Branch (796:11): [True: 0, False: 0]
  |  Branch (796:28): [True: 0, False: 0]
  ------------------
  797|      0|    }
  798|      0|    else {
  799|      0|      count += ret;
  800|      0|    }
  801|      0|  }
  802|      0|  mi_prim_close(fd);
  803|      0|  return (count==buf_len);
  804|      0|}
_mi_prim_thread_init_auto_done:
  831|      2|void _mi_prim_thread_init_auto_done(void) {
  832|      2|  mi_assert_internal(_mi_heap_default_key == (pthread_key_t)(-1));
  833|      2|  pthread_key_create(&_mi_heap_default_key, &mi_pthread_done);
  834|      2|}
_mi_prim_thread_associate_default_heap:
  840|      2|void _mi_prim_thread_associate_default_heap(mi_heap_t* heap) {
  841|      2|  if (_mi_heap_default_key != (pthread_key_t)(-1)) {  // can happen during recursive invocation on freeBSD
  ------------------
  |  Branch (841:7): [True: 2, False: 0]
  ------------------
  842|      2|    pthread_setspecific(_mi_heap_default_key, heap);
  843|      2|  }
  844|      2|}
obmalloc.c:unix_detect_overcommit:
  103|      2|static bool unix_detect_overcommit(void) {
  104|      2|  bool os_overcommit = true;
  105|      2|#if defined(__linux__)
  106|      2|  int fd = mi_prim_open("/proc/sys/vm/overcommit_memory", O_RDONLY);
  107|      2|        if (fd >= 0) {
  ------------------
  |  Branch (107:13): [True: 2, False: 0]
  ------------------
  108|      2|    char buf[32] = {0};
  109|      2|    ssize_t nread = mi_prim_read(fd, &buf, sizeof(buf));
  110|      2|    mi_prim_close(fd);
  111|       |    // <https://www.kernel.org/doc/Documentation/vm/overcommit-accounting>
  112|       |    // 0: heuristic overcommit, 1: always overcommit, 2: never overcommit (ignore NORESERVE)
  113|      2|    if (nread >= 1) {
  ------------------
  |  Branch (113:9): [True: 2, False: 0]
  ------------------
  114|      2|      os_overcommit = (buf[0] == '0' || buf[0] == '1');
  ------------------
  |  Branch (114:24): [True: 0, False: 2]
  |  Branch (114:41): [True: 2, False: 0]
  ------------------
  115|      2|    }
  116|      2|  }
  117|       |#elif defined(__FreeBSD__)
  118|       |  int val = 0;
  119|       |  size_t olen = sizeof(val);
  120|       |  if (sysctlbyname("vm.overcommit", &val, &olen, NULL, 0) == 0) {
  121|       |    os_overcommit = (val != 0);
  122|       |  }
  123|       |#else
  124|       |  // default: overcommit is true
  125|       |#endif
  126|      2|  return os_overcommit;
  127|      2|}
obmalloc.c:mi_get_environ:
  685|     64|static char** mi_get_environ(void) {
  686|     64|  return environ;
  687|     64|}
obmalloc.c:mi_prim_open:
   67|      2|static int mi_prim_open(const char* fpath, int open_flags) {
   68|       |  return syscall(SYS_open,fpath,open_flags,0);
   69|      2|}
obmalloc.c:mi_prim_read:
   70|      2|static ssize_t mi_prim_read(int fd, void* buf, size_t bufsize) {
   71|       |  return syscall(SYS_read,fd,buf,bufsize);
   72|      2|}
obmalloc.c:mi_prim_close:
   73|      2|static int mi_prim_close(int fd) {
   74|       |  return syscall(SYS_close,fd);
   75|      2|}

_mi_random_next:
  144|      6|uintptr_t _mi_random_next(mi_random_ctx_t* ctx) {
  145|      6|  mi_assert_internal(mi_random_is_initialized(ctx));
  146|       |  #if MI_INTPTR_SIZE <= 4
  147|       |    return chacha_next32(ctx);
  148|       |  #elif MI_INTPTR_SIZE == 8
  149|       |    return (((uintptr_t)chacha_next32(ctx) << 32) | chacha_next32(ctx));
  150|       |  #else
  151|       |  # error "define mi_random_next for this platform"
  152|       |  #endif
  153|      6|}
_mi_random_init:
  194|      2|void _mi_random_init(mi_random_ctx_t* ctx) {
  195|       |  mi_random_init_ex(ctx, false);
  196|      2|}
_mi_random_reinit_if_weak:
  202|      2|void _mi_random_reinit_if_weak(mi_random_ctx_t * ctx) {
  203|      2|  if (ctx->weak) {
  ------------------
  |  Branch (203:7): [True: 0, False: 2]
  ------------------
  204|      0|    _mi_random_init(ctx);
  205|      0|  }
  206|      2|}
obmalloc.c:chacha_block:
   48|      2|{
   49|       |  // scramble into `x`
   50|      2|  uint32_t x[16];
   51|     34|  for (size_t i = 0; i < 16; i++) {
  ------------------
  |  Branch (51:22): [True: 32, False: 2]
  ------------------
   52|     32|    x[i] = ctx->input[i];
   53|     32|  }
   54|     22|  for (size_t i = 0; i < MI_CHACHA_ROUNDS; i += 2) {
  ------------------
  |  |   20|     22|#define MI_CHACHA_ROUNDS (20)   // perhaps use 12 for better performance?
  ------------------
  |  Branch (54:22): [True: 20, False: 2]
  ------------------
   55|     20|    qround(x, 0, 4,  8, 12);
   56|     20|    qround(x, 1, 5,  9, 13);
   57|     20|    qround(x, 2, 6, 10, 14);
   58|     20|    qround(x, 3, 7, 11, 15);
   59|     20|    qround(x, 0, 5, 10, 15);
   60|     20|    qround(x, 1, 6, 11, 12);
   61|     20|    qround(x, 2, 7,  8, 13);
   62|     20|    qround(x, 3, 4,  9, 14);
   63|     20|  }
   64|       |
   65|       |  // add scrambled data to the initial state
   66|     34|  for (size_t i = 0; i < 16; i++) {
  ------------------
  |  Branch (66:22): [True: 32, False: 2]
  ------------------
   67|     32|    ctx->output[i] = x[i] + ctx->input[i];
   68|     32|  }
   69|      2|  ctx->output_available = 16;
   70|       |
   71|       |  // increment the counter for the next round
   72|      2|  ctx->input[12] += 1;
   73|      2|  if (ctx->input[12] == 0) {
  ------------------
  |  Branch (73:7): [True: 0, False: 2]
  ------------------
   74|      0|    ctx->input[13] += 1;
   75|      0|    if (ctx->input[13] == 0) {  // and keep increasing into the nonce
  ------------------
  |  Branch (75:9): [True: 0, False: 0]
  ------------------
   76|      0|      ctx->input[14] += 1;
   77|      0|    }
   78|      0|  }
   79|      2|}
obmalloc.c:qround:
   40|    160|static inline void qround(uint32_t x[16], size_t a, size_t b, size_t c, size_t d) {
   41|    160|  x[a] += x[b]; x[d] = rotl(x[d] ^ x[a], 16);
   42|    160|  x[c] += x[d]; x[b] = rotl(x[b] ^ x[c], 12);
   43|    160|  x[a] += x[b]; x[d] = rotl(x[d] ^ x[a], 8);
   44|    160|  x[c] += x[d]; x[b] = rotl(x[b] ^ x[c], 7);
   45|    160|}
obmalloc.c:rotl:
   36|    640|static inline uint32_t rotl(uint32_t x, uint32_t shift) {
   37|    640|  return (x << shift) | (x >> (32 - shift));
   38|    640|}
obmalloc.c:chacha_next32:
   81|     12|static uint32_t chacha_next32(mi_random_ctx_t* ctx) {
   82|     12|  if (ctx->output_available <= 0) {
  ------------------
  |  Branch (82:7): [True: 2, False: 10]
  ------------------
   83|      2|    chacha_block(ctx);
   84|      2|    ctx->output_available = 16; // (assign again to suppress static analysis warning)
   85|      2|  }
   86|     12|  const uint32_t x = ctx->output[16 - ctx->output_available];
   87|     12|  ctx->output[16 - ctx->output_available] = 0; // reset once the data is handed out
   88|     12|  ctx->output_available--;
   89|     12|  return x;
   90|     12|}
obmalloc.c:mi_random_init_ex:
  173|      2|static void mi_random_init_ex(mi_random_ctx_t* ctx, bool use_weak) {
  174|      2|  uint8_t key[32] = {0};
  175|      2|  if (use_weak || !_mi_prim_random_buf(key, sizeof(key))) {
  ------------------
  |  Branch (175:7): [True: 0, False: 2]
  |  Branch (175:19): [True: 0, False: 2]
  ------------------
  176|       |    // if we fail to get random data from the OS, we fall back to a
  177|       |    // weak random source based on the current time
  178|      0|    #if !defined(__wasi__)
  179|      0|    if (!use_weak) { _mi_warning_message("unable to use secure randomness\n"); }
  ------------------
  |  Branch (179:9): [True: 0, False: 0]
  ------------------
  180|      0|    #endif
  181|      0|    uintptr_t x = _mi_os_random_weak(0);
  182|      0|    for (size_t i = 0; i < 8; i++) {  // key is eight 32-bit words.
  ------------------
  |  Branch (182:24): [True: 0, False: 0]
  ------------------
  183|      0|      x = _mi_random_shuffle(x);
  184|      0|      ((uint32_t*)key)[i] = (uint32_t)x;
  185|      0|    }
  186|      0|    ctx->weak = true;
  187|      0|  }
  188|      2|  else {
  189|       |    ctx->weak = false;
  190|      2|  }
  191|      2|  chacha_init(ctx, key, (uintptr_t)ctx /*nonce*/ );
  192|      2|}
obmalloc.c:chacha_init:
   98|      2|{
   99|       |  // since we only use chacha for randomness (and not encryption) we
  100|       |  // do not _need_ to read 32-bit values as little endian but we do anyways
  101|       |  // just for being compatible :-)
  102|      2|  memset(ctx, 0, sizeof(*ctx));
  103|     10|  for (size_t i = 0; i < 4; i++) {
  ------------------
  |  Branch (103:22): [True: 8, False: 2]
  ------------------
  104|      8|    const uint8_t* sigma = (uint8_t*)"expand 32-byte k";
  105|      8|    ctx->input[i] = read32(sigma,i);
  106|      8|  }
  107|     18|  for (size_t i = 0; i < 8; i++) {
  ------------------
  |  Branch (107:22): [True: 16, False: 2]
  ------------------
  108|     16|    ctx->input[i + 4] = read32(key,i);
  109|     16|  }
  110|      2|  ctx->input[12] = 0;
  111|      2|  ctx->input[13] = 0;
  112|      2|  ctx->input[14] = (uint32_t)nonce;
  113|      2|  ctx->input[15] = (uint32_t)(nonce >> 32);
  114|      2|}
obmalloc.c:read32:
   92|     24|static inline uint32_t read32(const uint8_t* p, size_t idx32) {
   93|     24|  const size_t i = 4*idx32;
   94|     24|  return ((uint32_t)p[i+0] | (uint32_t)p[i+1] << 8 | (uint32_t)p[i+2] << 16 | (uint32_t)p[i+3] << 24);
   95|     24|}

mi_stats_reset:
  386|      2|void mi_stats_reset(void) mi_attr_noexcept {
  387|      2|  mi_stats_t* stats = mi_stats_get_default();
  388|      2|  if (stats != &_mi_stats_main) { memset(stats, 0, sizeof(mi_stats_t)); }
  ------------------
  |  Branch (388:7): [True: 2, False: 0]
  ------------------
  389|      2|  memset(&_mi_stats_main, 0, sizeof(mi_stats_t));
  390|      2|  if (mi_process_start == 0) { mi_process_start = _mi_clock_start(); };
  ------------------
  |  Branch (390:7): [True: 2, False: 0]
  ------------------
  391|      2|}
_mi_clock_now:
  422|      6|mi_msecs_t _mi_clock_now(void) {
  423|      6|  return _mi_prim_clock_now();
  424|      6|}
_mi_clock_start:
  426|      2|mi_msecs_t _mi_clock_start(void) {
  427|      2|  if (mi_clock_diff == 0.0) {
  ------------------
  |  Branch (427:7): [True: 2, False: 0]
  ------------------
  428|      2|    mi_msecs_t t0 = _mi_clock_now();
  429|      2|    mi_clock_diff = _mi_clock_now() - t0;
  430|      2|  }
  431|      2|  return _mi_clock_now();
  432|      2|}
obmalloc.c:mi_stats_get_default:
  374|      2|static mi_stats_t* mi_stats_get_default(void) {
  375|      2|  mi_heap_t* heap = mi_heap_get_default();
  376|      2|  return &heap->tld->stats;
  377|      2|}

PyModuleDef_Init:
   83|    228|{
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    // Check that this def does not come from a non-free-threading ABI.
   86|       |    //
   87|       |    // This is meant as a "sanity check"; users should never rely on it.
   88|       |    // In particular, if we run out of ob_flags bits, or otherwise need to
   89|       |    // change some of the internals, this check can go away. Still, it
   90|       |    // would be nice to keep it for the free-threading transition.
   91|       |    //
   92|       |    // A PyModuleDef must be initialized with PyModuleDef_HEAD_INIT,
   93|       |    // which (via PyObject_HEAD_INIT) sets _Py_STATICALLY_ALLOCATED_FLAG
   94|       |    // and not _Py_LEGACY_ABI_CHECK_FLAG. For PyModuleDef, these flags never
   95|       |    // change.
   96|       |    // This means that the lower nibble of a valid PyModuleDef's ob_flags is
   97|       |    // always `_10_` (in binary; `_` is don't care).
   98|       |    //
   99|       |    // So, a check for these bits won't reject valid PyModuleDef.
  100|       |    // Rejecting incompatible extensions is slightly less important; here's
  101|       |    // how that works:
  102|       |    //
  103|       |    // In the pre-free-threading stable ABI, PyModuleDef_HEAD_INIT is big
  104|       |    // enough to overlap with free-threading ABI's ob_flags, is all zeros
  105|       |    // except for the refcount field.
  106|       |    // The refcount field can be:
  107|       |    // - 1 (3.11 and below)
  108|       |    // - UINT_MAX >> 2 (32-bit 3.12 & 3.13)
  109|       |    // - UINT_MAX (64-bit 3.12 & 3.13)
  110|       |    // - 7L << 28 (3.14)
  111|       |    //
  112|       |    // This means that the lower nibble of *any byte* in PyModuleDef_HEAD_INIT
  113|       |    // is not `_10_` -- it can be:
  114|       |    // - 0b0000
  115|       |    // - 0b0001
  116|       |    // - 0b0011 (from UINT_MAX >> 2)
  117|       |    // - 0b0111 (from 7L << 28)
  118|       |    // - 0b1111 (e.g. from UINT_MAX)
  119|       |    // (The values may change at runtime as the PyModuleDef is used, but
  120|       |    // PyModuleDef_Init is required before using the def as a Python object,
  121|       |    // so we check at least once with the initial values.
  122|       |    uint16_t flags = ((PyObject*)def)->ob_flags;
  123|       |    uint16_t bits = _Py_STATICALLY_ALLOCATED_FLAG | _Py_LEGACY_ABI_CHECK_FLAG;
  124|       |    if ((flags & bits) != _Py_STATICALLY_ALLOCATED_FLAG) {
  125|       |        const char *message = "invalid PyModuleDef, extension possibly "
  126|       |            "compiled for non-free-threaded Python";
  127|       |        // Write the error as unraisable: if the extension tries calling
  128|       |        // any API, it's likely to segfault and lose the exception.
  129|       |        PyErr_SetString(PyExc_SystemError, message);
  130|       |        PyErr_WriteUnraisable(NULL);
  131|       |        // But also raise the exception normally -- this is technically
  132|       |        // a recoverable state.
  133|       |        PyErr_SetString(PyExc_SystemError, message);
  134|       |        return NULL;
  135|       |    }
  136|       |#endif
  137|    228|    assert(PyModuleDef_Type.tp_flags & Py_TPFLAGS_READY);
  138|    228|    if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (138:9): [True: 118, False: 110]
  ------------------
  139|    118|        Py_SET_REFCNT(def, 1);
  ------------------
  |  |  201|    118|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|    118|        Py_SET_TYPE(def, &PyModuleDef_Type);
  ------------------
  |  |  217|    118|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|    118|        def->m_base.m_index = _PyImport_GetNextModuleIndex();
  142|    118|    }
  143|    228|    return (PyObject*)def;
  144|    228|}
_PyModule_InitModuleDictWatcher:
  220|      2|{
  221|       |    // This is a reserved watcher for CPython so there's no need to check for non-NULL.
  222|      2|    assert(interp->dict_state.watchers[MODULE_WATCHER_ID] == NULL);
  223|      2|    interp->dict_state.watchers[MODULE_WATCHER_ID] = &module_dict_watcher;
  ------------------
  |  |  294|      2|#define MODULE_WATCHER_ID       2
  ------------------
  224|      2|    return 0;
  225|      2|}
PyModule_NewObject:
  248|    124|{
  249|    124|    PyModuleObject *m = new_module_notrack(&PyModule_Type);
  250|    124|    if (m == NULL)
  ------------------
  |  Branch (250:9): [True: 0, False: 124]
  ------------------
  251|      0|        return NULL;
  252|    124|    if (module_init_dict(m, m->md_dict, name, NULL) != 0)
  ------------------
  |  Branch (252:9): [True: 0, False: 124]
  ------------------
  253|      0|        goto fail;
  254|    124|    track_module(m);
  255|    124|    return (PyObject *)m;
  256|       |
  257|      0| fail:
  258|      0|    Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  259|       |    return NULL;
  260|    124|}
PyModule_New:
  264|     10|{
  265|     10|    PyObject *nameobj, *module;
  266|     10|    nameobj = PyUnicode_FromString(name);
  267|     10|    if (nameobj == NULL)
  ------------------
  |  Branch (267:9): [True: 0, False: 10]
  ------------------
  268|      0|        return NULL;
  269|     10|    module = PyModule_NewObject(nameobj);
  270|     10|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|     10|    return module;
  272|     10|}
_PyModule_CreateInitialized:
  347|      8|{
  348|      8|    const char* name;
  349|      8|    PyModuleObject *m;
  350|       |
  351|      8|    if (!PyModuleDef_Init(module))
  ------------------
  |  Branch (351:9): [True: 0, False: 8]
  ------------------
  352|      0|        return NULL;
  353|      8|    name = module->m_name;
  354|      8|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (354:9): [True: 0, False: 8]
  ------------------
  355|      0|        return NULL;
  356|      0|    }
  357|      8|    if (module->m_slots) {
  ------------------
  |  Branch (357:9): [True: 0, False: 8]
  ------------------
  358|      0|        PyErr_Format(
  359|      0|            PyExc_SystemError,
  360|      0|            "module %s: PyModule_Create is incompatible with m_slots", name);
  361|      0|        return NULL;
  362|      0|    }
  363|      8|    name = _PyImport_ResolveNameWithPackageContext(name);
  364|       |
  365|      8|    m = (PyModuleObject*)PyModule_New(name);
  366|      8|    if (m == NULL)
  ------------------
  |  Branch (366:9): [True: 0, False: 8]
  ------------------
  367|      0|        return NULL;
  368|       |
  369|      8|    if (module->m_size > 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 8]
  ------------------
  370|      0|        m->md_state = PyMem_Malloc(module->m_size);
  371|      0|        if (!m->md_state) {
  ------------------
  |  Branch (371:13): [True: 0, False: 0]
  ------------------
  372|      0|            PyErr_NoMemory();
  373|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|      0|            return NULL;
  375|      0|        }
  376|      0|        memset(m->md_state, 0, module->m_size);
  377|      0|    }
  378|       |
  379|      8|    if (module->m_methods != NULL) {
  ------------------
  |  Branch (379:9): [True: 8, False: 0]
  ------------------
  380|      8|        if (PyModule_AddFunctions((PyObject *) m, module->m_methods) != 0) {
  ------------------
  |  Branch (380:13): [True: 0, False: 8]
  ------------------
  381|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|      0|            return NULL;
  383|      0|        }
  384|      8|    }
  385|      8|    if (module->m_doc != NULL) {
  ------------------
  |  Branch (385:9): [True: 6, False: 2]
  ------------------
  386|      6|        if (PyModule_SetDocString((PyObject *) m, module->m_doc) != 0) {
  ------------------
  |  Branch (386:13): [True: 0, False: 6]
  ------------------
  387|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      0|            return NULL;
  389|      0|        }
  390|      6|    }
  391|      8|    m->md_token = module;
  392|      8|    m->md_token_is_def = true;
  393|      8|    module_copy_members_from_deflike(m, module);
  394|       |#ifdef Py_GIL_DISABLED
  395|       |    m->md_requires_gil = true;
  396|       |#endif
  397|      8|    return (PyObject*)m;
  398|      8|}
PyModule_FromDefAndSpec2:
  671|    110|{
  672|    110|    PyModuleDef_Init(def);
  673|       |    return module_from_slots_and_spec(NULL, spec, module_api_version, def);
  674|    110|}
PyModule_Exec:
  753|    110|{
  754|    110|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 110]
  ------------------
  755|      0|        return -1;
  756|      0|    }
  757|    110|    PyModuleObject *md = (PyModuleObject*)module;
  758|    110|    if (md->md_exec) {
  ------------------
  |  Branch (758:9): [True: 0, False: 110]
  ------------------
  759|      0|        assert(!md->md_token_is_def);
  760|      0|        return run_exec_func(module, md->md_exec);
  761|      0|    }
  762|       |
  763|    110|    PyModuleDef *def = _PyModule_GetDefOrNull(module);
  764|    110|    if (def) {
  ------------------
  |  Branch (764:9): [True: 110, False: 0]
  ------------------
  765|    110|        return PyModule_ExecDef(module, def);
  766|    110|    }
  767|      0|    return 0;
  768|    110|}
PyModule_ExecDef:
  772|    110|{
  773|    110|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (773:9): [True: 0, False: 110]
  ------------------
  774|      0|        return -1;
  775|      0|    }
  776|       |
  777|    110|    assert(PyModule_Check(module));
  778|       |
  779|    110|    if (def->m_slots == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 110]
  ------------------
  780|      0|        return 0;
  781|      0|    }
  782|       |
  783|    110|    _PySlotIterator it;
  784|    110|    _PySlotIterator_InitLegacy(&it, def->m_slots, _PySlot_KIND_MOD);
  785|    564|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (785:12): [True: 454, False: 110]
  ------------------
  786|    454|        _Py_modexecfunc func;
  787|    454|        switch (it.current.sl_id) {
  ------------------
  |  Branch (787:17): [True: 130, False: 324]
  ------------------
  788|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (788:13): [True: 0, False: 454]
  ------------------
  789|      0|                return -1;
  790|    130|            case Py_mod_exec:
  ------------------
  |  |   93|    130|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    130|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (790:13): [True: 130, False: 324]
  ------------------
  791|    130|                func = (_Py_modexecfunc)it.current.sl_func;
  792|    130|                if (run_exec_func(module, func) < 0) {
  ------------------
  |  Branch (792:21): [True: 0, False: 130]
  ------------------
  793|      0|                    return -1;
  794|      0|                }
  795|    130|                break;
  796|    454|        }
  797|    454|    }
  798|    110|    return 0;
  799|    110|}
PyModule_AddFunctions:
  803|      8|{
  804|      8|    int res;
  805|      8|    PyObject *name = PyModule_GetNameObject(m);
  806|      8|    if (name == NULL) {
  ------------------
  |  Branch (806:9): [True: 0, False: 8]
  ------------------
  807|      0|        return -1;
  808|      0|    }
  809|       |
  810|      8|    res = _add_methods_to_object(m, name, functions);
  811|      8|    Py_DECREF(name);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  812|      8|    return res;
  813|      8|}
PyModule_SetDocString:
  817|    102|{
  818|    102|    PyObject *v;
  819|       |
  820|    102|    v = PyUnicode_FromString(doc);
  821|    102|    if (v == NULL || PyObject_SetAttr(m, &_Py_ID(__doc__), v) != 0) {
  ------------------
  |  |  919|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (821:9): [True: 0, False: 102]
  |  Branch (821:22): [True: 0, False: 102]
  ------------------
  822|      0|        Py_XDECREF(v);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|      0|        return -1;
  824|      0|    }
  825|    102|    Py_DECREF(v);
  ------------------
  |  |  430|    102|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|    102|    return 0;
  827|    102|}
PyModule_GetDict:
  831|  2.74k|{
  832|  2.74k|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|  2.74k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  2.74k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 2.74k]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|  2.74k|    return _PyModule_GetDict(m);  // borrowed reference
  837|  2.74k|}
PyModule_GetNameObject:
  877|      8|{
  878|      8|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|      8|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      8|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (878:9): [True: 0, False: 8]
  ------------------
  879|      0|        PyErr_BadArgument();
  880|      0|        return NULL;
  881|      0|    }
  882|      8|    PyObject *dict = ((PyModuleObject *)mod)->md_dict;  // borrowed reference
  883|      8|    if (dict == NULL || !PyDict_Check(dict)) {
  ------------------
  |  |   18|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (883:9): [True: 0, False: 8]
  |  Branch (883:25): [True: 0, False: 8]
  ------------------
  884|      0|        goto error;
  885|      0|    }
  886|      8|    PyObject *name;
  887|      8|    if (PyDict_GetItemRef(dict, &_Py_ID(__name__), &name) <= 0) {
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (887:9): [True: 0, False: 8]
  ------------------
  888|       |        // error or not found
  889|      0|        goto error;
  890|      0|    }
  891|      8|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (891:9): [True: 0, False: 8]
  ------------------
  892|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|      0|        goto error;
  894|      0|    }
  895|      8|    return name;
  896|       |
  897|      0|error:
  898|      0|    if (!PyErr_Occurred()) {
  ------------------
  |  Branch (898:9): [True: 0, False: 0]
  ------------------
  899|      0|        PyErr_SetString(PyExc_SystemError, "nameless module");
  900|      0|    }
  901|       |    return NULL;
  902|      8|}
_PyModule_GetFilenameObject:
  918|      2|{
  919|       |    // We return None to indicate "not found" or "bogus".
  920|      2|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|      2|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (920:9): [True: 0, False: 2]
  ------------------
  921|      0|        PyErr_BadArgument();
  922|      0|        return NULL;
  923|      0|    }
  924|      2|    PyObject *dict = ((PyModuleObject *)mod)->md_dict;  // borrowed reference
  925|      2|    if (dict == NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 2]
  ------------------
  926|       |        // The module has been tampered with.
  927|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  928|      0|    }
  929|      2|    PyObject *fileobj;
  930|      2|    int res = PyDict_GetItemRef(dict, &_Py_ID(__file__), &fileobj);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      2|    if (res < 0) {
  ------------------
  |  Branch (931:9): [True: 0, False: 2]
  ------------------
  932|      0|        return NULL;
  933|      0|    }
  934|      2|    if (res == 0) {
  ------------------
  |  Branch (934:9): [True: 2, False: 0]
  ------------------
  935|       |        // __file__ isn't set.  There are several reasons why this might
  936|       |        // be so, most of them valid reasons.  If it's the __main__
  937|       |        // module then we're running the REPL or with -c.  Otherwise
  938|       |        // it's a namespace package or other module with a loader that
  939|       |        // isn't disk-based.  It could also be that a user created
  940|       |        // a module manually but without manually setting __file__.
  941|      2|        Py_RETURN_NONE;
  ------------------
  |  |  628|      2|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  942|      2|    }
  943|      0|    if (!PyUnicode_Check(fileobj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (943:9): [True: 0, False: 0]
  ------------------
  944|      0|        Py_DECREF(fileobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  945|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  946|      0|    }
  947|      0|    return fileobj;
  948|      0|}
PyModule_GetFilenameObject:
  952|      2|{
  953|      2|    PyObject *fileobj = _PyModule_GetFilenameObject(mod);
  954|      2|    if (fileobj == NULL) {
  ------------------
  |  Branch (954:9): [True: 0, False: 2]
  ------------------
  955|      0|        return NULL;
  956|      0|    }
  957|      2|    if (fileobj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (957:9): [True: 2, False: 0]
  ------------------
  958|      2|        PyErr_SetString(PyExc_SystemError, "module filename missing");
  959|      2|        return NULL;
  960|      2|    }
  961|      0|    return fileobj;
  962|      2|}
PyModule_GetDef:
 1010|      2|{
 1011|      2|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|      2|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1011:9): [True: 0, False: 2]
  ------------------
 1012|      0|        PyErr_BadArgument();
 1013|      0|        return NULL;
 1014|      0|    }
 1015|      2|    return _PyModule_GetDefOrNull(m);
 1016|      2|}
PyModule_GetState:
 1029|  15.2k|{
 1030|  15.2k|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|  15.2k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  15.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1030:9): [True: 0, False: 15.2k]
  ------------------
 1031|      0|        PyErr_BadArgument();
 1032|      0|        return NULL;
 1033|      0|    }
 1034|  15.2k|    return _PyModule_GetState(m);
 1035|  15.2k|}
_PyModuleSpec_IsInitializing:
 1175|   800k|{
 1176|   800k|    if (spec == NULL) {
  ------------------
  |  Branch (1176:9): [True: 0, False: 800k]
  ------------------
 1177|      0|        return 0;
 1178|      0|    }
 1179|   800k|    PyObject *value;
 1180|   800k|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  919|   800k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   800k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   800k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|   800k|    if (rc > 0) {
  ------------------
  |  Branch (1181:9): [True: 800k, False: 327]
  ------------------
 1182|   800k|        rc = PyObject_IsTrue(value);
 1183|   800k|        Py_DECREF(value);
  ------------------
  |  |  430|   800k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   800k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   800k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|   800k|    }
 1185|   800k|    return rc;
 1186|   800k|}
_PyModuleSpec_IsUninitializedSubmodule:
 1193|     44|{
 1194|     44|    if (spec == NULL) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 44]
  ------------------
 1195|      0|         return 0;
 1196|      0|    }
 1197|       |
 1198|     44|    PyObject *value;
 1199|     44|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  919|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|     44|    if (rc > 0) {
  ------------------
  |  Branch (1200:9): [True: 28, False: 16]
  ------------------
 1201|     28|        rc = PySequence_Contains(value, name);
 1202|     28|        Py_DECREF(value);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|     28|    }
 1204|     44|    return rc;
 1205|     44|}
_PyModuleSpec_GetFileOrigin:
 1209|     46|{
 1210|     46|    PyObject *has_location = NULL;
 1211|     46|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  919|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|     46|    if (rc <= 0) {
  ------------------
  |  Branch (1212:9): [True: 16, False: 30]
  ------------------
 1213|     16|        return rc;
 1214|     16|    }
 1215|       |    // If origin is not a location, or doesn't exist, or is not a str, we could consider falling
 1216|       |    // back to module.__file__. But the cases in which module.__file__ is not __spec__.origin
 1217|       |    // are cases in which we probably shouldn't be guessing.
 1218|     30|    rc = PyObject_IsTrue(has_location);
 1219|     30|    Py_DECREF(has_location);
  ------------------
  |  |  430|     30|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|     30|    if (rc <= 0) {
  ------------------
  |  Branch (1220:9): [True: 26, False: 4]
  ------------------
 1221|     26|        return rc;
 1222|     26|    }
 1223|       |    // has_location is true, so origin is a location
 1224|      4|    PyObject *origin = NULL;
 1225|      4|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      4|    if (rc <= 0) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 4]
  ------------------
 1227|      0|        return rc;
 1228|      0|    }
 1229|      4|    assert(origin != NULL);
 1230|      4|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 4]
  ------------------
 1231|      0|        Py_DECREF(origin);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|      0|        return 0;
 1233|      0|    }
 1234|      4|    *p_origin = origin;
 1235|      4|    return 1;
 1236|      4|}
_PyModule_IsPossiblyShadowing:
 1240|     46|{
 1241|       |    // origin must be a unicode subtype
 1242|       |    // Returns 1 if the module at origin could be shadowing a module of the
 1243|       |    // same name later in the module search path. The condition we check is basically:
 1244|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1245|       |    // return not sys.flags.safe_path and root == (sys.path[0] or os.getcwd())
 1246|       |    // Returns 0 otherwise (or if we aren't sure)
 1247|       |    // Returns -1 if an error occurred that should be propagated
 1248|     46|    if (origin == NULL) {
  ------------------
  |  Branch (1248:9): [True: 42, False: 4]
  ------------------
 1249|     42|        return 0;
 1250|     42|    }
 1251|       |
 1252|       |    // not sys.flags.safe_path
 1253|      4|    const PyConfig *config = _Py_GetConfig();
 1254|      4|    if (config->safe_path) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 4]
  ------------------
 1255|      0|        return 0;
 1256|      0|    }
 1257|       |
 1258|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1259|      4|    wchar_t root[MAXPATHLEN + 1];
 1260|      4|    Py_ssize_t size = PyUnicode_AsWideChar(origin, root, MAXPATHLEN);
  ------------------
  |  |   43|      4|#    define MAXPATHLEN PATH_MAX
  ------------------
 1261|      4|    if (size < 0) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 4]
  ------------------
 1262|      0|        return -1;
 1263|      0|    }
 1264|      4|    assert(size <= MAXPATHLEN);
 1265|      4|    root[size] = L'\0';
 1266|       |
 1267|      4|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      4|#  define SEP L'/'
  ------------------
 1268|      4|    if (sep == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 4]
  ------------------
 1269|      0|        return 0;
 1270|      0|    }
 1271|       |    // If it's a package then we need to look one directory further up
 1272|      4|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 4]
  ------------------
 1273|      0|        *sep = L'\0';
 1274|      0|        sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 1275|      0|        if (sep == NULL) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 0]
  ------------------
 1276|      0|            return 0;
 1277|      0|        }
 1278|      0|    }
 1279|      4|    *sep = L'\0';
 1280|       |
 1281|       |    // sys.path[0] or os.getcwd()
 1282|      4|    wchar_t *sys_path_0 = config->sys_path_0;
 1283|      4|    if (!sys_path_0) {
  ------------------
  |  Branch (1283:9): [True: 4, False: 0]
  ------------------
 1284|      4|        return 0;
 1285|      4|    }
 1286|       |
 1287|      0|    wchar_t sys_path_0_buf[MAXPATHLEN];
 1288|      0|    if (sys_path_0[0] == L'\0') {
  ------------------
  |  Branch (1288:9): [True: 0, False: 0]
  ------------------
 1289|       |        // if sys.path[0] == "", treat it as if it were the current directory
 1290|      0|        if (!_Py_wgetcwd(sys_path_0_buf, MAXPATHLEN)) {
  ------------------
  |  |   43|      0|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (1290:13): [True: 0, False: 0]
  ------------------
 1291|       |            // If we failed to getcwd, don't raise an exception and instead
 1292|       |            // let the caller proceed assuming no shadowing
 1293|      0|            return 0;
 1294|      0|        }
 1295|      0|        sys_path_0 = sys_path_0_buf;
 1296|      0|    }
 1297|       |
 1298|      0|    int result = wcscmp(sys_path_0, root) == 0;
 1299|      0|    return result;
 1300|      0|}
_Py_module_getattro_impl:
 1331|  2.41M|{
 1332|       |    // When suppress=1, this function suppresses AttributeError.
 1333|  2.41M|    PyObject *attr, *mod_name, *getattr;
 1334|  2.41M|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1335|  2.41M|    if (attr) {
  ------------------
  |  Branch (1335:9): [True: 1.63M, False: 786k]
  ------------------
 1336|  1.63M|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|  1.63M|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.63M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.63M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|       |            // gh-144957: Module __getattr__ should get a chance to provide
 1338|       |            // the attribute before resolving a lazy import placeholder.
 1339|      0|            if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:17): [True: 0, False: 0]
  ------------------
 1340|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|      0|                return NULL;
 1342|      0|            }
 1343|      0|            if (getattr) {
  ------------------
  |  Branch (1343:17): [True: 0, False: 0]
  ------------------
 1344|      0|                PyObject *result = PyObject_CallOneArg(getattr, name);
 1345|      0|                Py_DECREF(getattr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1346|      0|                if (result != NULL) {
  ------------------
  |  Branch (1346:21): [True: 0, False: 0]
  ------------------
 1347|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|                    return result;
 1349|      0|                }
 1350|      0|                if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1350:21): [True: 0, False: 0]
  ------------------
 1351|      0|                    Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      0|                    return NULL;
 1353|      0|                }
 1354|      0|                PyErr_Clear();
 1355|      0|            }
 1356|      0|            PyObject *new_value = _PyImport_LoadLazyImportTstate(
 1357|      0|                PyThreadState_GET(), attr);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1358|      0|            if (new_value == NULL) {
  ------------------
  |  Branch (1358:17): [True: 0, False: 0]
  ------------------
 1359|      0|                if (suppress &&
  ------------------
  |  Branch (1359:21): [True: 0, False: 0]
  ------------------
 1360|      0|                    PyErr_ExceptionMatches(PyExc_ImportCycleError)) {
  ------------------
  |  Branch (1360:21): [True: 0, False: 0]
  ------------------
 1361|       |                    // ImportCycleError is raised when a lazy object tries
 1362|       |                    // to import itself. In this case, the error should not
 1363|       |                    // propagate to the caller and instead treated as if the
 1364|       |                    // attribute doesn't exist.
 1365|      0|                    PyErr_Clear();
 1366|      0|                }
 1367|      0|                Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      0|                return NULL;
 1369|      0|            }
 1370|       |
 1371|      0|            if (PyDict_SetItem(m->md_dict, name, new_value) < 0) {
  ------------------
  |  Branch (1371:17): [True: 0, False: 0]
  ------------------
 1372|      0|                Py_CLEAR(new_value);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1373|      0|            }
 1374|      0|            Py_DECREF(attr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      0|            return new_value;
 1376|      0|        }
 1377|  1.63M|        return attr;
 1378|  1.63M|    }
 1379|   786k|    if (suppress == 1) {
  ------------------
  |  Branch (1379:9): [True: 786k, False: 44]
  ------------------
 1380|   786k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1380:13): [True: 0, False: 786k]
  ------------------
 1381|       |            // pass up non-AttributeError exception
 1382|      0|            return NULL;
 1383|      0|        }
 1384|   786k|    }
 1385|     44|    else {
 1386|     44|        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1386:13): [True: 0, False: 44]
  ------------------
 1387|       |            // pass up non-AttributeError exception
 1388|      0|            return NULL;
 1389|      0|        }
 1390|     44|        PyErr_Clear();
 1391|     44|    }
 1392|   786k|    assert(m->md_dict != NULL);
 1393|   786k|    attr = try_load_lazy_submodule(m, name);
 1394|   786k|    if (attr != NULL) {
  ------------------
  |  Branch (1394:9): [True: 0, False: 786k]
  ------------------
 1395|      0|        return attr;
 1396|      0|    }
 1397|   786k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 786k]
  ------------------
 1398|      0|        return NULL;
 1399|      0|    }
 1400|   786k|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  919|   786k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   786k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   786k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1400:9): [True: 0, False: 786k]
  ------------------
 1401|      0|        return NULL;
 1402|      0|    }
 1403|   786k|    if (getattr) {
  ------------------
  |  Branch (1403:9): [True: 353, False: 786k]
  ------------------
 1404|    353|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1405|    353|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1405:13): [True: 351, False: 2]
  |  Branch (1405:31): [True: 351, False: 0]
  |  Branch (1405:48): [True: 351, False: 0]
  ------------------
 1406|       |            // suppress AttributeError
 1407|    351|            PyErr_Clear();
 1408|    351|        }
 1409|    353|        Py_DECREF(getattr);
  ------------------
  |  |  430|    353|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|    353|        return result;
 1411|    353|    }
 1412|       |
 1413|       |    // The attribute was not found.  We make a best effort attempt at a useful error message,
 1414|       |    // but only if we're not suppressing AttributeError.
 1415|   786k|    if (suppress == 1) {
  ------------------
  |  Branch (1415:9): [True: 786k, False: 44]
  ------------------
 1416|   786k|        return NULL;
 1417|   786k|    }
 1418|     44|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  919|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1418:9): [True: 0, False: 44]
  ------------------
 1419|      0|        return NULL;
 1420|      0|    }
 1421|     44|    if (!mod_name || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|     44|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     44|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1421:9): [True: 0, False: 44]
  |  Branch (1421:22): [True: 0, False: 44]
  ------------------
 1422|      0|        Py_XDECREF(mod_name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|      0|        PyErr_Format(PyExc_AttributeError,
 1424|      0|                    "module has no attribute '%U'", name);
 1425|      0|        return NULL;
 1426|      0|    }
 1427|     44|    PyObject *spec;
 1428|     44|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  919|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1428:9): [True: 0, False: 44]
  ------------------
 1429|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        return NULL;
 1431|      0|    }
 1432|     44|    if (spec == NULL) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 44]
  ------------------
 1433|      0|        PyErr_Format(PyExc_AttributeError,
 1434|      0|                     "module '%U' has no attribute '%U'",
 1435|      0|                     mod_name, name);
 1436|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|        return NULL;
 1438|      0|    }
 1439|       |
 1440|     44|    PyObject *origin = NULL;
 1441|     44|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 44]
  ------------------
 1442|      0|        goto done;
 1443|      0|    }
 1444|       |
 1445|     44|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1446|     44|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1446:9): [True: 0, False: 44]
  ------------------
 1447|      0|        goto done;
 1448|      0|    }
 1449|     44|    int is_possibly_shadowing_stdlib = 0;
 1450|     44|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1450:9): [True: 0, False: 44]
  ------------------
 1451|      0|        PyObject *stdlib_modules;
 1452|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 0]
  ------------------
 1453|      0|            goto done;
 1454|      0|        }
 1455|      0|        if (stdlib_modules && PyAnySet_Check(stdlib_modules)) {
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name);
 1457|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (1457:17): [True: 0, False: 0]
  ------------------
 1458|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|      0|                goto done;
 1460|      0|            }
 1461|      0|        }
 1462|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1463|      0|    }
 1464|       |
 1465|     44|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1465:9): [True: 0, False: 44]
  ------------------
 1466|      0|        assert(origin);
 1467|      0|        PyErr_Format(PyExc_AttributeError,
 1468|      0|                    "module '%U' has no attribute '%U' "
 1469|      0|                    "(consider renaming '%U' since it has the same "
 1470|      0|                    "name as the standard library module named '%U' "
 1471|      0|                    "and prevents importing that standard library module)",
 1472|      0|                    mod_name, name, origin, mod_name);
 1473|      0|    }
 1474|     44|    else {
 1475|     44|        int rc = _PyModuleSpec_IsInitializing(spec);
 1476|     44|        if (rc < 0) {
  ------------------
  |  Branch (1476:13): [True: 0, False: 44]
  ------------------
 1477|      0|            goto done;
 1478|      0|        }
 1479|     44|        else if (rc > 0) {
  ------------------
  |  Branch (1479:18): [True: 0, False: 44]
  ------------------
 1480|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (1480:17): [True: 0, False: 0]
  ------------------
 1481|      0|                assert(origin);
 1482|       |                // For non-stdlib modules, only mention the possibility of
 1483|       |                // shadowing if the module is being initialized.
 1484|      0|                PyErr_Format(PyExc_AttributeError,
 1485|      0|                            "module '%U' has no attribute '%U' "
 1486|      0|                            "(consider renaming '%U' if it has the same name "
 1487|      0|                            "as a library you intended to import)",
 1488|      0|                            mod_name, name, origin);
 1489|      0|            }
 1490|      0|            else if (origin) {
  ------------------
  |  Branch (1490:22): [True: 0, False: 0]
  ------------------
 1491|      0|                PyErr_Format(PyExc_AttributeError,
 1492|      0|                            "partially initialized "
 1493|      0|                            "module '%U' from '%U' has no attribute '%U' "
 1494|      0|                            "(most likely due to a circular import)",
 1495|      0|                            mod_name, origin, name);
 1496|      0|            }
 1497|      0|            else {
 1498|      0|                PyErr_Format(PyExc_AttributeError,
 1499|      0|                            "partially initialized "
 1500|      0|                            "module '%U' has no attribute '%U' "
 1501|      0|                            "(most likely due to a circular import)",
 1502|      0|                            mod_name, name);
 1503|      0|            }
 1504|      0|        }
 1505|     44|        else {
 1506|     44|            assert(rc == 0);
 1507|     44|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1508|     44|            if (rc > 0) {
  ------------------
  |  Branch (1508:17): [True: 0, False: 44]
  ------------------
 1509|      0|                PyErr_Format(PyExc_AttributeError,
 1510|      0|                            "cannot access submodule '%U' of module '%U' "
 1511|      0|                            "(most likely due to a circular import)",
 1512|      0|                            name, mod_name);
 1513|      0|            }
 1514|     44|            else if (rc == 0) {
  ------------------
  |  Branch (1514:22): [True: 44, False: 0]
  ------------------
 1515|     44|                PyErr_Format(PyExc_AttributeError,
 1516|     44|                            "module '%U' has no attribute '%U'",
 1517|     44|                            mod_name, name);
 1518|     44|            }
 1519|     44|        }
 1520|     44|    }
 1521|       |
 1522|     44|done:
 1523|     44|    Py_XDECREF(origin);
  ------------------
  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|     44|    Py_DECREF(spec);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|     44|    Py_DECREF(mod_name);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|       |    return NULL;
 1527|     44|}
_Py_module_getattro:
 1532|  27.0k|{
 1533|       |    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  27.0k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1534|  27.0k|    return _Py_module_getattro_impl(m, name, 0);
 1535|  27.0k|}
moduleobject.c:module_dict_watcher:
  206|  46.9k|{
  207|  46.9k|    assert(PyDict_Check(dict));
  208|       |    // Only if a new lazy object shows up do we need to clear the dictionary. If
  209|       |    // this is adding a new key then the version will be reset anyway.
  210|  46.9k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 16.7k, False: 30.1k]
  ------------------
  211|  16.7k|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 16.7k, False: 0]
  ------------------
  212|  16.7k|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|  16.7k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  16.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|  46.9k|    return 0;
  216|  46.9k|}
moduleobject.c:new_module_notrack:
  173|    753|{
  174|    753|    PyModuleObject *m;
  175|    753|    m = (PyModuleObject *)_PyType_AllocNoTrack(mt, 0);
  176|    753|    if (m == NULL)
  ------------------
  |  Branch (176:9): [True: 0, False: 753]
  ------------------
  177|      0|        return NULL;
  178|    753|    m->md_state = NULL;
  179|    753|    m->md_weaklist = NULL;
  180|    753|    m->md_name = NULL;
  181|    753|    m->md_token_is_def = false;
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    m->md_requires_gil = true;
  184|       |#endif
  185|    753|    m->md_state_size = 0;
  186|    753|    m->md_state_traverse = NULL;
  187|    753|    m->md_state_clear = NULL;
  188|    753|    m->md_state_free = NULL;
  189|    753|    m->md_exec = NULL;
  190|    753|    m->md_token = NULL;
  191|    753|    m->md_dict = PyDict_New();
  192|    753|    if (m->md_dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 753]
  ------------------
  193|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|      0|        return NULL;
  195|      0|    }
  196|    753|    return m;
  197|    753|}
moduleobject.c:module_init_dict:
  149|    753|{
  150|    753|    assert(md_dict != NULL);
  151|    753|    if (doc == NULL)
  ------------------
  |  Branch (151:9): [True: 124, False: 629]
  ------------------
  152|    124|        doc = Py_None;
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|       |
  154|    753|    if (PyDict_SetItem(md_dict, &_Py_ID(__name__), name) != 0)
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (154:9): [True: 0, False: 753]
  ------------------
  155|      0|        return -1;
  156|    753|    if (PyDict_SetItem(md_dict, &_Py_ID(__doc__), doc) != 0)
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (156:9): [True: 0, False: 753]
  ------------------
  157|      0|        return -1;
  158|    753|    if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  616|    753|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (158:9): [True: 0, False: 753]
  ------------------
  159|      0|        return -1;
  160|    753|    if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  616|    753|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (160:9): [True: 0, False: 753]
  ------------------
  161|      0|        return -1;
  162|    753|    if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  616|    753|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (162:9): [True: 0, False: 753]
  ------------------
  163|      0|        return -1;
  164|    753|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    753|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    753|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    753|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 753, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    753|        Py_XSETREF(mod->md_name, Py_NewRef(name));
  ------------------
  |  |  374|    753|    do { \
  |  |  375|    753|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    753|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    753|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    753|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    753|        *_tmp_dst_ptr = (src); \
  |  |  378|    753|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    753|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    753|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    753|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 753]
  |  |  ------------------
  ------------------
  166|    753|    }
  167|       |
  168|    753|    return 0;
  169|    753|}
moduleobject.c:track_module:
  229|    753|{
  230|    753|    _PyDict_EnablePerThreadRefcounting(m->md_dict);
  231|    753|    _PyObject_SetDeferredRefcount((PyObject *)m);
  232|    753|    PyDict_Watch(MODULE_WATCHER_ID, m->md_dict);
  ------------------
  |  |  294|    753|#define MODULE_WATCHER_ID       2
  ------------------
  233|    753|    PyObject_GC_Track(m);
  234|    753|}
moduleobject.c:check_api_version:
  280|    118|{
  281|    118|    if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   59|    236|#define PYTHON_API_VERSION 1013
  ------------------
                  if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   61|      0|#define PYTHON_ABI_VERSION 3
  ------------------
  |  Branch (281:9): [True: 0, False: 118]
  |  Branch (281:53): [True: 0, False: 0]
  ------------------
  282|      0|        int err;
  283|      0|        err = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
  284|      0|            "Python C API version mismatch for module %.100s: "
  285|      0|            "This Python has API version %d, module %.100s has version %d.",
  286|      0|             name,
  287|      0|             PYTHON_API_VERSION, name, module_api_version);
  ------------------
  |  |   59|      0|#define PYTHON_API_VERSION 1013
  ------------------
  288|      0|        if (err)
  ------------------
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|            return 0;
  290|      0|    }
  291|    118|    return 1;
  292|    118|}
moduleobject.c:module_copy_members_from_deflike:
  338|    118|{
  339|    118|    md->md_state_size = def_like->m_size;
  340|    118|    md->md_state_traverse = def_like->m_traverse;
  341|    118|    md->md_state_clear = def_like->m_clear;
  342|    118|    md->md_state_free = def_like->m_free;
  343|    118|}
moduleobject.c:module_from_slots_and_spec:
  408|    110|{
  409|    110|    createfunc_t create = NULL;
  410|    110|    PyObject *nameobj;
  411|    110|    PyObject *m = NULL;
  412|    110|    uint64_t multiple_interpreters = (uint64_t)Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;
  ------------------
  |  |   81|    110|#  define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
  ------------------
  413|    110|    bool requires_gil = true;
  414|    110|    const char *name;
  415|    110|    int ret;
  416|    110|    void *token = NULL;
  417|    110|    _Py_modexecfunc m_exec = NULL;
  418|    110|    PyInterpreterState *interp = _PyInterpreterState_GET();
  419|       |
  420|    110|    nameobj = PyObject_GetAttrString(spec, "name");
  421|    110|    if (nameobj == NULL) {
  ------------------
  |  Branch (421:9): [True: 0, False: 110]
  ------------------
  422|      0|        return NULL;
  423|      0|    }
  424|    110|    name = PyUnicode_AsUTF8(nameobj);
  425|    110|    if (name == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 110]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|    110|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (429:9): [True: 0, False: 110]
  ------------------
  430|      0|        goto error;
  431|      0|    }
  432|       |
  433|    110|    _PySlotIterator it;
  434|       |
  435|    110|    PyModuleDef _dummy_def = {0};
  436|    110|    PyModuleDef *def_like;
  437|    110|    if (slots) {
  ------------------
  |  Branch (437:9): [True: 0, False: 110]
  ------------------
  438|      0|        assert(!original_def);
  439|      0|        def_like = &_dummy_def;
  440|      0|         _PySlotIterator_Init(&it, slots, _PySlot_KIND_MOD);
  441|      0|    }
  442|    110|    else {
  443|    110|        assert(original_def);
  444|    110|        def_like = original_def;
  445|    110|         _PySlotIterator_InitLegacy(&it, def_like->m_slots, _PySlot_KIND_MOD);
  446|    110|    }
  447|    110|    it.name = name;
  448|       |
  449|    564|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (449:12): [True: 454, False: 110]
  ------------------
  450|    454|        switch (it.current.sl_id) {
  ------------------
  |  Branch (450:17): [True: 454, False: 0]
  ------------------
  451|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (451:13): [True: 0, False: 454]
  ------------------
  452|      0|                goto error;
  453|      0|            case Py_mod_create:
  ------------------
  |  |   92|      0|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (453:13): [True: 0, False: 454]
  ------------------
  454|      0|                create = (createfunc_t)it.current.sl_func;
  455|      0|                break;
  456|    130|            case Py_mod_exec:
  ------------------
  |  |   93|    130|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    130|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (456:13): [True: 130, False: 324]
  ------------------
  457|    130|                if (!original_def) {
  ------------------
  |  Branch (457:21): [True: 0, False: 130]
  ------------------
  458|      0|                    if (m_exec) {
  ------------------
  |  Branch (458:25): [True: 0, False: 0]
  ------------------
  459|      0|                        PyErr_Format(
  460|      0|                            PyExc_SystemError,
  461|      0|                            "module %s has multiple Py_mod_exec slots",
  462|      0|                            name);
  463|      0|                        goto error;
  464|      0|                    }
  465|      0|                    m_exec = (_Py_modexecfunc)it.current.sl_func;
  466|      0|                }
  467|    130|                break;
  468|    130|            case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    110|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    110|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (468:13): [True: 110, False: 344]
  ------------------
  469|    110|                multiple_interpreters = it.current.sl_uint64;
  470|    110|                break;
  471|    110|            case Py_mod_gil:
  ------------------
  |  |   95|    110|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    110|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (471:13): [True: 110, False: 344]
  ------------------
  472|    110|                {
  473|    110|                    uint64_t val = it.current.sl_uint64;
  474|    110|                    requires_gil = (val != (uint64_t)Py_MOD_GIL_NOT_USED);
  ------------------
  |  |   88|    110|#  define Py_MOD_GIL_NOT_USED ((void *)1)
  ------------------
  475|    110|                }
  476|    110|                break;
  477|    104|            case Py_mod_abi:
  ------------------
  |  |  117|    104|#define Py_mod_abi 109
  ------------------
  |  Branch (477:13): [True: 104, False: 350]
  ------------------
  478|    104|                if (PyABIInfo_Check(it.current.sl_ptr, name) < 0) {
  ------------------
  |  Branch (478:21): [True: 0, False: 104]
  ------------------
  479|      0|                    goto error;
  480|      0|                }
  481|    104|                break;
  482|    104|            case Py_mod_token:
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (482:13): [True: 0, False: 454]
  ------------------
  483|      0|                if (original_def && original_def != it.current.sl_ptr) {
  ------------------
  |  Branch (483:21): [True: 0, False: 0]
  |  Branch (483:37): [True: 0, False: 0]
  ------------------
  484|      0|                    PyErr_Format(
  485|      0|                        PyExc_SystemError,
  486|      0|                        "module %s: arbitrary Py_mod_token not "
  487|      0|                        "allowed with PyModuleDef",
  488|      0|                        name);
  489|      0|                    goto error;
  490|      0|                }
  491|      0|                token = it.current.sl_ptr;
  492|      0|                break;
  493|       |            // Common case: Copy a PEP 793 slot to def_like
  494|      0|#define DEF_SLOT_CASE(SLOT, TYPE, SL_MEMBER, MEMBER)                        \
  495|      0|            case SLOT:                                                      \
  496|      0|                do {                                                        \
  497|      0|                    if (original_def) {                                     \
  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  500|      0|                        if (orig_value != new_value) {                      \
  501|      0|                            PyErr_Format(                                   \
  502|      0|                                PyExc_SystemError,                          \
  503|      0|                                "module %s: %s conflicts with "             \
  504|      0|                                "PyModuleDef." #MEMBER,                     \
  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  506|      0|                            goto error;                                     \
  507|      0|                        }                                                   \
  508|      0|                    }                                                       \
  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  510|      0|                } while (0);                                                \
  511|      0|                break;                                                      \
  512|       |            /////////////////////////////////////////////////////////////////
  513|      0|            DEF_SLOT_CASE(Py_mod_name, char*, sl_ptr, m_name)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  514|      0|            DEF_SLOT_CASE(Py_mod_doc, char*, sl_ptr, m_doc)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  515|      0|            DEF_SLOT_CASE(Py_mod_state_size, Py_ssize_t, sl_size, m_size)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  516|      0|            DEF_SLOT_CASE(Py_mod_methods, PyMethodDef*, sl_ptr, m_methods)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  517|      0|            DEF_SLOT_CASE(Py_mod_state_traverse,
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  518|      0|                          traverseproc, sl_func, m_traverse)
  519|      0|            DEF_SLOT_CASE(Py_mod_state_clear, inquiry, sl_func, m_clear)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  520|    454|            DEF_SLOT_CASE(Py_mod_state_free, freefunc, sl_func, m_free)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 454]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  521|    454|#undef DEF_SLOT_CASE
  522|    454|        }
  523|    454|    }
  524|    110|    if (!original_def && !_PySlotIterator_SawSlot(&it, Py_mod_abi)) {
  ------------------
  |  |  117|      0|#define Py_mod_abi 109
  ------------------
  |  Branch (524:9): [True: 0, False: 110]
  |  Branch (524:26): [True: 0, False: 0]
  ------------------
  525|      0|        PyErr_Format(
  526|      0|            PyExc_SystemError,
  527|      0|            "module %s does not define Py_mod_abi,"
  528|      0|            " which is mandatory for modules defined from slots only.",
  529|      0|            name);
  530|      0|        goto error;
  531|      0|    }
  532|       |
  533|       |#ifdef Py_GIL_DISABLED
  534|       |    // For modules created directly from slots (not from a def), we enable
  535|       |    // the GIL here (pairing `_PyEval_EnableGILTransient` with
  536|       |    // an immediate `_PyImport_EnableGILAndWarn`).
  537|       |    // For modules created from a def, the caller is responsible for this.
  538|       |    if (!original_def && requires_gil) {
  539|       |        PyThreadState *tstate = _PyThreadState_GET();
  540|       |        if (_PyEval_EnableGILTransient(tstate) < 0) {
  541|       |            goto error;
  542|       |        }
  543|       |        if (_PyImport_EnableGILAndWarn(tstate, nameobj) < 0) {
  544|       |            goto error;
  545|       |        }
  546|       |    }
  547|       |#endif
  548|       |
  549|    110|    if (def_like->m_size < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 110]
  ------------------
  550|      0|        PyErr_Format(
  551|      0|            PyExc_SystemError,
  552|      0|            "module %s: m_size may not be negative for multi-phase initialization",
  553|      0|            name);
  554|      0|        goto error;
  555|      0|    }
  556|       |
  557|       |    /* By default, multi-phase init modules are expected
  558|       |       to work under multiple interpreters. */
  559|    110|    if (multiple_interpreters == (int64_t)(intptr_t)Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED) {
  ------------------
  |  |   80|    110|#  define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
  ------------------
  |  Branch (559:9): [True: 0, False: 110]
  ------------------
  560|      0|        if (!_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            && _PyImport_CheckSubinterpIncompatibleExtensionAllowed(name) < 0)
  ------------------
  |  Branch (561:16): [True: 0, False: 0]
  ------------------
  562|      0|        {
  563|      0|            goto error;
  564|      0|        }
  565|      0|    }
  566|    110|    else if (multiple_interpreters != (int64_t)(intptr_t)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
  ------------------
  |  |   82|    220|#  define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
  ------------------
  |  Branch (566:14): [True: 0, False: 110]
  ------------------
  567|      0|             && interp->ceval.own_gil
  ------------------
  |  Branch (567:17): [True: 0, False: 0]
  ------------------
  568|      0|             && !_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (568:17): [True: 0, False: 0]
  ------------------
  569|      0|             && _PyImport_CheckSubinterpIncompatibleExtensionAllowed(name) < 0)
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|    {
  571|      0|        goto error;
  572|      0|    }
  573|       |
  574|    110|    if (create) {
  ------------------
  |  Branch (574:9): [True: 0, False: 110]
  ------------------
  575|      0|        m = create(spec, original_def);
  576|      0|        if (m == NULL) {
  ------------------
  |  Branch (576:13): [True: 0, False: 0]
  ------------------
  577|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (577:17): [True: 0, False: 0]
  ------------------
  578|      0|                PyErr_Format(
  579|      0|                    PyExc_SystemError,
  580|      0|                    "creation of module %s failed without setting an exception",
  581|      0|                    name);
  582|      0|            }
  583|      0|            goto error;
  584|      0|        } else {
  585|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      0|                _PyErr_FormatFromCause(
  587|      0|                    PyExc_SystemError,
  588|      0|                    "creation of module %s raised unreported exception",
  589|      0|                    name);
  590|      0|                goto error;
  591|      0|            }
  592|      0|        }
  593|    110|    } else {
  594|    110|        m = PyModule_NewObject(nameobj);
  595|    110|        if (m == NULL) {
  ------------------
  |  Branch (595:13): [True: 0, False: 110]
  ------------------
  596|      0|            goto error;
  597|      0|        }
  598|    110|    }
  599|       |
  600|    110|    if (PyModule_Check(m)) {
  ------------------
  |  |   12|    110|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    110|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 110, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|    110|        PyModuleObject *mod = (PyModuleObject*)m;
  602|    110|        mod->md_state = NULL;
  603|    110|        module_copy_members_from_deflike(mod, def_like);
  604|    110|        if (original_def) {
  ------------------
  |  Branch (604:13): [True: 110, False: 0]
  ------------------
  605|    110|            assert (!token || token == original_def);
  606|    110|            mod->md_token = original_def;
  607|    110|            mod->md_token_is_def = 1;
  608|    110|        }
  609|      0|        else {
  610|      0|            mod->md_token = token;
  611|      0|        }
  612|       |#ifdef Py_GIL_DISABLED
  613|       |        mod->md_requires_gil = requires_gil;
  614|       |#else
  615|    110|        (void)requires_gil;
  616|    110|#endif
  617|    110|        mod->md_exec = m_exec;
  618|    110|    } else {
  619|      0|        if (def_like->m_size > 0 || def_like->m_traverse || def_like->m_clear
  ------------------
  |  Branch (619:13): [True: 0, False: 0]
  |  Branch (619:37): [True: 0, False: 0]
  |  Branch (619:61): [True: 0, False: 0]
  ------------------
  620|      0|            || def_like->m_free)
  ------------------
  |  Branch (620:16): [True: 0, False: 0]
  ------------------
  621|      0|        {
  622|      0|            PyErr_Format(
  623|      0|                PyExc_SystemError,
  624|      0|                "module %s is not a module object, but requests module state",
  625|      0|                name);
  626|      0|            goto error;
  627|      0|        }
  628|      0|        if (_PySlotIterator_SawSlot(&it, Py_mod_exec)) {
  ------------------
  |  |   93|      0|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (628:13): [True: 0, False: 0]
  ------------------
  629|      0|            PyErr_Format(
  630|      0|                PyExc_SystemError,
  631|      0|                "module %s specifies execution slots, but did not create "
  632|      0|                    "a ModuleType instance",
  633|      0|                name);
  634|      0|            goto error;
  635|      0|        }
  636|      0|        if (token) {
  ------------------
  |  Branch (636:13): [True: 0, False: 0]
  ------------------
  637|      0|            PyErr_Format(
  638|      0|                PyExc_SystemError,
  639|      0|                "module %s specifies a token, but did not create "
  640|      0|                    "a ModuleType instance",
  641|      0|                name);
  642|      0|            goto error;
  643|      0|        }
  644|      0|    }
  645|       |
  646|    110|    if (def_like->m_methods != NULL) {
  ------------------
  |  Branch (646:9): [True: 102, False: 8]
  ------------------
  647|    102|        ret = _add_methods_to_object(m, nameobj, def_like->m_methods);
  648|    102|        if (ret != 0) {
  ------------------
  |  Branch (648:13): [True: 0, False: 102]
  ------------------
  649|      0|            goto error;
  650|      0|        }
  651|    102|    }
  652|       |
  653|    110|    if (def_like->m_doc != NULL) {
  ------------------
  |  Branch (653:9): [True: 96, False: 14]
  ------------------
  654|     96|        ret = PyModule_SetDocString(m, def_like->m_doc);
  655|     96|        if (ret != 0) {
  ------------------
  |  Branch (655:13): [True: 0, False: 96]
  ------------------
  656|      0|            goto error;
  657|      0|        }
  658|     96|    }
  659|       |
  660|    110|    Py_DECREF(nameobj);
  ------------------
  |  |  430|    110|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|    110|    return m;
  662|       |
  663|      0|error:
  664|      0|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|      0|    Py_XDECREF(m);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|       |    return NULL;
  667|    110|}
moduleobject.c:alloc_state:
  729|    220|{
  730|    220|    if (!PyModule_Check(module)) {
  ------------------
  |  |   12|    220|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    220|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 0, False: 220]
  ------------------
  731|      0|        PyErr_Format(PyExc_TypeError, "expected module, got %T", module);
  732|      0|        return -1;
  733|      0|    }
  734|    220|    PyModuleObject *md = (PyModuleObject*)module;
  735|       |
  736|    220|    if (md->md_state_size >= 0) {
  ------------------
  |  Branch (736:9): [True: 220, False: 0]
  ------------------
  737|    220|        if (md->md_state == NULL) {
  ------------------
  |  Branch (737:13): [True: 110, False: 110]
  ------------------
  738|       |            /* Always set a state pointer; this serves as a marker to skip
  739|       |             * multiple initialization (importlib.reload() is no-op) */
  740|    110|            md->md_state = PyMem_Malloc(md->md_state_size);
  741|    110|            if (!md->md_state) {
  ------------------
  |  Branch (741:17): [True: 0, False: 110]
  ------------------
  742|      0|                PyErr_NoMemory();
  743|      0|                return -1;
  744|      0|            }
  745|    110|            memset(md->md_state, 0, md->md_state_size);
  746|    110|        }
  747|    220|    }
  748|    220|    return 0;
  749|    220|}
moduleobject.c:run_exec_func:
  706|    130|{
  707|    130|    int ret = exec(module);
  708|    130|    if (ret != 0) {
  ------------------
  |  Branch (708:9): [True: 0, False: 130]
  ------------------
  709|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (709:13): [True: 0, False: 0]
  ------------------
  710|      0|            PyErr_Format(
  711|      0|                PyExc_SystemError,
  712|      0|                "execution of %R failed without setting an exception",
  713|      0|                module);
  714|      0|        }
  715|      0|        return -1;
  716|      0|    }
  717|    130|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (717:9): [True: 0, False: 130]
  ------------------
  718|      0|        _PyErr_FormatFromCause(
  719|      0|            PyExc_SystemError,
  720|      0|            "execution of module %R raised unreported exception",
  721|      0|            module);
  722|      0|        return -1;
  723|      0|    }
  724|    130|    return 0;
  725|    130|}
moduleobject.c:_add_methods_to_object:
  296|    110|{
  297|    110|    PyObject *func;
  298|    110|    PyMethodDef *fdef;
  299|       |
  300|  1.73k|    for (fdef = functions; fdef->ml_name != NULL; fdef++) {
  ------------------
  |  Branch (300:28): [True: 1.62k, False: 110]
  ------------------
  301|  1.62k|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|  1.62k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 1.62k]
  ------------------
  302|  1.62k|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|  1.62k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 1.62k]
  ------------------
  303|      0|            PyErr_SetString(PyExc_ValueError,
  304|      0|                            "module functions cannot set"
  305|      0|                            " METH_CLASS or METH_STATIC");
  306|      0|            return -1;
  307|      0|        }
  308|  1.62k|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|  1.62k|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|  1.62k|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 1.62k]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|  1.62k|        _PyObject_SetDeferredRefcount(func);
  313|  1.62k|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 1.62k]
  ------------------
  314|      0|            Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|      0|            return -1;
  316|      0|        }
  317|  1.62k|        Py_DECREF(func);
  ------------------
  |  |  430|  1.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  1.62k|    }
  319|       |
  320|    110|    return 0;
  321|    110|}
moduleobject.c:try_load_lazy_submodule:
 1306|   786k|{
 1307|   786k|    PyObject *mod_name;
 1308|   786k|    int rc = PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name);
  ------------------
  |  |  919|   786k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   786k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   786k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1309|   786k|    if (rc <= 0) {
  ------------------
  |  Branch (1309:9): [True: 0, False: 786k]
  ------------------
 1310|      0|        return NULL;
 1311|      0|    }
 1312|   786k|    if (!PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|   786k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   786k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1312:9): [True: 0, False: 786k]
  ------------------
 1313|      0|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      0|        return NULL;
 1315|      0|    }
 1316|   786k|    PyObject *result = _PyImport_TryLoadLazySubmodule(mod_name, name);
 1317|   786k|    Py_DECREF(mod_name);
  ------------------
  |  |  430|   786k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   786k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   786k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|   786k|    if (result == NULL) {
  ------------------
  |  Branch (1318:9): [True: 786k, False: 0]
  ------------------
 1319|   786k|        PyErr_Clear();
 1320|   786k|        return NULL;
 1321|   786k|    }
 1322|      0|    if (PyDict_SetItem(m->md_dict, name, result) < 0) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 0]
  ------------------
 1323|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      0|        return NULL;
 1325|      0|    }
 1326|      0|    return result;
 1327|      0|}
moduleobject.c:module_dealloc:
 1137|      6|{
 1138|      6|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|      6|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1139|       |
 1140|      6|    PyObject_GC_UnTrack(m);
 1141|       |
 1142|      6|    int verbose = _Py_GetConfig()->verbose;
 1143|      6|    if (verbose && m->md_name) {
  ------------------
  |  Branch (1143:9): [True: 0, False: 6]
  |  Branch (1143:20): [True: 0, False: 0]
  ------------------
 1144|      0|        PySys_FormatStderr("# destroy %U\n", m->md_name);
 1145|      0|    }
 1146|      6|    FT_CLEAR_WEAKREFS(self, m->md_weaklist);
  ------------------
  |  |   47|      6|    do {                                            \
  |  |   48|      6|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      6|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1147|       |
 1148|      6|    assert_def_missing_or_redundant(m);
 1149|       |    /* bpo-39824: Don't call m_free() if m_size > 0 and md_state=NULL */
 1150|      6|    if (m->md_state_free && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1150:9): [True: 0, False: 6]
  |  Branch (1150:30): [True: 0, False: 0]
  |  Branch (1150:55): [True: 0, False: 0]
  ------------------
 1151|      0|    {
 1152|      0|        m->md_state_free(m);
 1153|      0|    }
 1154|       |
 1155|      6|    Py_XDECREF(m->md_dict);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|      6|    Py_XDECREF(m->md_name);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|      6|    if (m->md_state != NULL) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 6]
  ------------------
 1158|      0|        PyMem_Free(m->md_state);
 1159|      0|    }
 1160|      6|    Py_TYPE(m)->tp_free((PyObject *)m);
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      6|}
moduleobject.c:assert_def_missing_or_redundant:
   34|  5.88k|{
   35|       |    /* We copy all relevant info into the module object.
   36|       |     * Modules created using a def keep a reference to that (statically
   37|       |     * allocated) def; the info there should match what we have in the module.
   38|       |     */
   39|       |#ifndef NDEBUG
   40|       |    if (m->md_token_is_def) {
   41|       |        PyModuleDef *def = (PyModuleDef *)m->md_token;
   42|       |        assert(def);
   43|       |#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
   44|       |        DO_ASSERT(size);
   45|       |        DO_ASSERT(traverse);
   46|       |        DO_ASSERT(clear);
   47|       |        DO_ASSERT(free);
   48|       |#undef DO_ASSERT
   49|       |    }
   50|       |#endif // NDEBUG
   51|  5.88k|}
moduleobject.c:module_traverse:
 1539|  5.87k|{
 1540|  5.87k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  5.87k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1541|       |
 1542|  5.87k|    assert_def_missing_or_redundant(m);
 1543|       |    /* bpo-39824: Don't call m_traverse() if m_size > 0 and md_state=NULL */
 1544|  5.87k|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1544:9): [True: 500, False: 5.37k]
  |  Branch (1544:34): [True: 0, False: 500]
  |  Branch (1544:59): [True: 496, False: 4]
  ------------------
 1545|    496|    {
 1546|    496|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1547|    496|        if (res)
  ------------------
  |  Branch (1547:13): [True: 0, False: 496]
  ------------------
 1548|      0|            return res;
 1549|    496|    }
 1550|       |
 1551|  5.87k|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|  5.87k|    do {                                                                \
  |  |  195|  5.87k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.87k, False: 0]
  |  |  ------------------
  |  |  196|  5.87k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.87k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.87k]
  |  |  ------------------
  |  |  198|  5.87k|                return vret;                                            \
  |  |  199|  5.87k|        }                                                               \
  |  |  200|  5.87k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.87k]
  |  |  ------------------
  ------------------
 1552|  5.87k|    return 0;
 1553|  5.87k|}
moduleobject.c:module_dir:
 1580|      6|{
 1581|      6|    PyObject *result = NULL;
 1582|      6|    PyObject *dict;
 1583|      6|    if (PyModule_CheckExact(self)) {
  ------------------
  |  |   13|      6|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      6|        dict = Py_NewRef(((PyModuleObject *)self)->md_dict);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      6|    } else {
 1586|      0|        dict = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      0|    }
 1588|       |
 1589|      6|    if (dict != NULL) {
  ------------------
  |  Branch (1589:9): [True: 6, False: 0]
  ------------------
 1590|      6|        if (PyDict_Check(dict)) {
  ------------------
  |  |   18|      6|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      6|            PyObject *dirfunc = PyDict_GetItemWithError(dict, &_Py_ID(__dir__));
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      6|            if (dirfunc) {
  ------------------
  |  Branch (1592:17): [True: 0, False: 6]
  ------------------
 1593|      0|                result = _PyObject_CallNoArgs(dirfunc);
 1594|      0|            }
 1595|      6|            else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1595:22): [True: 6, False: 0]
  ------------------
 1596|      6|                result = PyDict_Keys(dict);
 1597|      6|            }
 1598|      6|        }
 1599|      0|        else {
 1600|      0|            PyErr_Format(PyExc_TypeError, "<module>.__dict__ is not a dictionary");
 1601|      0|        }
 1602|      6|    }
 1603|       |
 1604|      6|    Py_XDECREF(dict);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1605|      6|    return result;
 1606|      6|}
moduleobject.c:module___init___impl:
 1131|    629|{
 1132|    629|    return module_init_dict(self, self->md_dict, name, doc);
 1133|    629|}
moduleobject.c:new_module:
  238|    629|{
  239|    629|    PyModuleObject *m = new_module_notrack(mt);
  240|    629|    if (m != NULL) {
  ------------------
  |  Branch (240:9): [True: 629, False: 0]
  ------------------
  241|    629|        track_module(m);
  242|    629|    }
  243|    629|    return (PyObject *)m;
  244|    629|}

_PyNamespace_New:
  323|      8|{
  324|      8|    PyObject *ns = namespace_new(&_PyNamespace_Type, NULL, NULL);
  325|      8|    if (ns == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 8]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      8|    if (kwds == NULL)
  ------------------
  |  Branch (328:9): [True: 2, False: 6]
  ------------------
  329|      2|        return ns;
  330|      6|    if (PyDict_Update(((_PyNamespaceObject *)ns)->ns_dict, kwds) != 0) {
  ------------------
  |  Branch (330:9): [True: 0, False: 6]
  ------------------
  331|      0|        Py_DECREF(ns);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      0|        return NULL;
  333|      0|    }
  334|       |
  335|      6|    return (PyObject *)ns;
  336|      6|}
namespaceobject.c:namespace_dealloc:
   84|     10|{
   85|     10|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|     10|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   86|     10|    PyObject_GC_UnTrack(ns);
   87|     10|    Py_CLEAR(ns->ns_dict);
  ------------------
  |  |  484|     10|    do { \
  |  |  485|     10|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     10|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     10|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     10|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10, False: 0]
  |  |  ------------------
  |  |  488|     10|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     10|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     10|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     10|        } \
  |  |  491|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
   88|     10|    Py_TYPE(ns)->tp_free((PyObject *)ns);
  ------------------
  |  |  213|     10|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|     10|}
namespaceobject.c:namespace_traverse:
  179|    368|{
  180|    368|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|    368|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  181|    368|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  194|    368|    do {                                                                \
  |  |  195|    368|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 368, False: 0]
  |  |  ------------------
  |  |  196|    368|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    368|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 368]
  |  |  ------------------
  |  |  198|    368|                return vret;                                            \
  |  |  199|    368|        }                                                               \
  |  |  200|    368|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 368]
  |  |  ------------------
  ------------------
  182|    368|    return 0;
  183|    368|}
namespaceobject.c:namespace_init:
   48|     48|{
   49|     48|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|     48|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   50|     48|    PyObject *arg = NULL;
   51|     48|    if (!PyArg_UnpackTuple(args, _PyType_Name(Py_TYPE(ns)), 0, 1, &arg)) {
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (51:9): [True: 0, False: 48]
  ------------------
   52|      0|        return -1;
   53|      0|    }
   54|     48|    if (arg != NULL) {
  ------------------
  |  Branch (54:9): [True: 0, False: 48]
  ------------------
   55|      0|        PyObject *dict;
   56|      0|        if (PyDict_CheckExact(arg)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|            dict = Py_NewRef(arg);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|      0|        }
   59|      0|        else {
   60|      0|            dict = PyObject_CallOneArg((PyObject *)&PyDict_Type, arg);
   61|      0|            if (dict == NULL) {
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|                return -1;
   63|      0|            }
   64|      0|        }
   65|      0|        int err = (!PyArg_ValidateKeywordArguments(dict) ||
  ------------------
  |  Branch (65:20): [True: 0, False: 0]
  ------------------
   66|      0|                   PyDict_Update(ns->ns_dict, dict) < 0);
  ------------------
  |  Branch (66:20): [True: 0, False: 0]
  ------------------
   67|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|        if (err) {
  ------------------
  |  Branch (68:13): [True: 0, False: 0]
  ------------------
   69|      0|            return -1;
   70|      0|        }
   71|      0|    }
   72|     48|    if (kwds == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 48]
  ------------------
   73|      0|        return 0;
   74|      0|    }
   75|     48|    if (!PyArg_ValidateKeywordArguments(kwds)) {
  ------------------
  |  Branch (75:9): [True: 0, False: 48]
  ------------------
   76|      0|        return -1;
   77|      0|    }
   78|     48|    return PyDict_Update(ns->ns_dict, kwds);
   79|     48|}
namespaceobject.c:namespace_new:
   29|     56|{
   30|     56|    PyObject *self;
   31|       |
   32|     56|    assert(type != NULL && type->tp_alloc != NULL);
   33|     56|    self = type->tp_alloc(type, 0);
   34|     56|    if (self != NULL) {
  ------------------
  |  Branch (34:9): [True: 56, False: 0]
  ------------------
   35|     56|        _PyNamespaceObject *ns = (_PyNamespaceObject *)self;
   36|     56|        ns->ns_dict = PyDict_New();
   37|     56|        if (ns->ns_dict == NULL) {
  ------------------
  |  Branch (37:13): [True: 0, False: 56]
  ------------------
   38|      0|            Py_DECREF(ns);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|      0|            return NULL;
   40|      0|        }
   41|     56|    }
   42|     56|    return self;
   43|     56|}

_Py_DecRef:
  356|    550|{
  357|    550|    Py_DECREF(o);
  ------------------
  |  |  430|    550|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|    550|}
_PyObject_New:
  555|  17.6k|{
  556|  17.6k|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  557|  17.6k|    if (op == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 17.6k]
  ------------------
  558|      0|        return PyErr_NoMemory();
  559|      0|    }
  560|  17.6k|    _PyObject_Init(op, tp);
  561|  17.6k|    return op;
  562|  17.6k|}
_PyObject_NewVar:
  566|  27.6k|{
  567|  27.6k|    PyVarObject *op;
  568|  27.6k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  569|  27.6k|    op = (PyVarObject *) PyObject_Malloc(size);
  570|  27.6k|    if (op == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 27.6k]
  ------------------
  571|      0|        return (PyVarObject *)PyErr_NoMemory();
  572|      0|    }
  573|  27.6k|    _PyObject_InitVar(op, tp, nitems);
  574|  27.6k|    return op;
  575|  27.6k|}
PyObject_CallFinalizer:
  579|  1.55M|{
  580|  1.55M|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  1.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  581|       |
  582|  1.55M|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 1.55M]
  ------------------
  583|      0|        return;
  584|       |    /* tp_finalize should only be called once. */
  585|  1.55M|    if (_PyType_IS_GC(tp) && _PyGC_FINALIZED(self))
  ------------------
  |  |  828|  3.11M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.55M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 1.55M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (585:30): [True: 13, False: 1.55M]
  ------------------
  586|     13|        return;
  587|       |
  588|  1.55M|    tp->tp_finalize(self);
  589|  1.55M|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  |  828|  1.55M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.55M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 1.55M, False: 0]
  |  |  ------------------
  ------------------
  590|  1.55M|        _PyGC_SET_FINALIZED(self);
  591|  1.55M|    }
  592|  1.55M|}
PyObject_CallFinalizerFromDealloc:
  596|  1.55M|{
  597|  1.55M|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|  1.55M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:9): [True: 0, False: 1.55M]
  ------------------
  598|      0|        _PyObject_ASSERT_FAILED_MSG(self,
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
  599|      0|                                    "PyObject_CallFinalizerFromDealloc called "
  600|      0|                                    "on object with a non-zero refcount");
  601|      0|    }
  602|       |
  603|       |    /* Temporarily resurrect the object. */
  604|  1.55M|    _PyObject_ResurrectStart(self);
  605|       |
  606|  1.55M|    PyObject_CallFinalizer(self);
  607|       |
  608|  1.55M|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  421|  1.55M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  1.55M|    ((void)0)
  |  |  ------------------
  ------------------
  609|  1.55M|                              Py_REFCNT(self) > 0,
  610|  1.55M|                              "refcount is too small");
  611|       |
  612|  1.55M|    _PyObject_ASSERT(self,
  ------------------
  |  |  423|  1.55M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  1.55M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  1.55M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  1.55M|                    (!_PyType_IS_GC(Py_TYPE(self))
  614|  1.55M|                    || _PyObject_GC_IS_TRACKED(self)));
  615|       |
  616|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  617|       |     * cause a recursive call. */
  618|  1.55M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (618:9): [True: 0, False: 1.55M]
  ------------------
  619|       |        /* tp_finalize resurrected it!
  620|       |           gh-130202: Note that the object may still be dead in the free
  621|       |           threaded build in some circumstances, so it's not safe to access
  622|       |           `self` after this point. For example, the last reference to the
  623|       |           resurrected `self` may be held by another thread, which can
  624|       |           concurrently deallocate it. */
  625|      0|        return -1;
  626|      0|    }
  627|       |
  628|       |    /* this is the normal path out, the caller continues with deallocation. */
  629|  1.55M|    return 0;
  630|  1.55M|}
PyObject_Repr:
  760|   145k|{
  761|   145k|    PyObject *res;
  762|   145k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (762:9): [True: 0, False: 145k]
  ------------------
  763|      0|        return NULL;
  764|   145k|    if (v == NULL)
  ------------------
  |  Branch (764:9): [True: 0, False: 145k]
  ------------------
  765|      0|        return PyUnicode_FromString("<NULL>");
  766|   145k|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|   145k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 145k]
  ------------------
  767|      0|        return PyUnicode_FromFormat("<%s object at %p>",
  768|      0|                                    Py_TYPE(v)->tp_name, v);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|       |
  770|   145k|    PyThreadState *tstate = _PyThreadState_GET();
  771|       |#ifdef Py_DEBUG
  772|       |    /* PyObject_Repr() must not be called with an exception set,
  773|       |       because it can clear it (directly or indirectly) and so the
  774|       |       caller loses its exception */
  775|       |    assert(!_PyErr_Occurred(tstate));
  776|       |#endif
  777|       |
  778|       |    /* It is possible for a type to have a tp_repr representation that loops
  779|       |       infinitely. */
  780|   145k|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (780:9): [True: 0, False: 145k]
  ------------------
  781|   145k|                                     " while getting the repr of an object")) {
  782|      0|        return NULL;
  783|      0|    }
  784|   145k|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|   145k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|   145k|    _Py_LeaveRecursiveCallTstate(tstate);
  786|       |
  787|   145k|    if (res == NULL) {
  ------------------
  |  Branch (787:9): [True: 0, False: 145k]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|   145k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|   145k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   145k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (790:9): [True: 0, False: 145k]
  ------------------
  791|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  792|      0|                      "%T.__repr__() must return a str, not %T", v, res);
  793|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|      0|        return NULL;
  795|      0|    }
  796|   145k|    return res;
  797|   145k|}
PyObject_Str:
  801|  71.3k|{
  802|  71.3k|    PyObject *res;
  803|  71.3k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (803:9): [True: 0, False: 71.3k]
  ------------------
  804|      0|        return NULL;
  805|  71.3k|    if (v == NULL)
  ------------------
  |  Branch (805:9): [True: 0, False: 71.3k]
  ------------------
  806|      0|        return PyUnicode_FromString("<NULL>");
  807|  71.3k|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  71.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  71.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  71.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  71.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.88k, False: 68.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|  2.88k|        return Py_NewRef(v);
  ------------------
  |  |  550|  2.88k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|  2.88k|    }
  810|  68.4k|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|  68.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  68.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 0, False: 68.4k]
  ------------------
  811|      0|        return PyObject_Repr(v);
  812|       |
  813|  68.4k|    PyThreadState *tstate = _PyThreadState_GET();
  814|       |#ifdef Py_DEBUG
  815|       |    /* PyObject_Str() must not be called with an exception set,
  816|       |       because it can clear it (directly or indirectly) and so the
  817|       |       caller loses its exception */
  818|       |    assert(!_PyErr_Occurred(tstate));
  819|       |#endif
  820|       |
  821|       |    /* It is possible for a type to have a tp_str representation that loops
  822|       |       infinitely. */
  823|  68.4k|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (823:9): [True: 0, False: 68.4k]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|  68.4k|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|  68.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  68.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|  68.4k|    _Py_LeaveRecursiveCallTstate(tstate);
  828|       |
  829|  68.4k|    if (res == NULL) {
  ------------------
  |  Branch (829:9): [True: 0, False: 68.4k]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|  68.4k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|  68.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  68.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 68.4k]
  ------------------
  833|      0|        _PyErr_Format(tstate, PyExc_TypeError,
  834|      0|                      "%T.__str__() must return a str, not %T", v, res);
  835|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|      0|        return NULL;
  837|      0|    }
  838|  68.4k|    assert(_PyUnicode_CheckConsistency(res, 1));
  839|  68.4k|    return res;
  840|  68.4k|}
PyObject_Bytes:
  871|     44|{
  872|     44|    PyObject *result, *func;
  873|       |
  874|     44|    if (v == NULL)
  ------------------
  |  Branch (874:9): [True: 0, False: 44]
  ------------------
  875|      0|        return PyBytes_FromString("<NULL>");
  876|       |
  877|     44|    if (PyBytes_CheckExact(v)) {
  ------------------
  |  |   29|     44|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     44|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|      0|        return Py_NewRef(v);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  879|      0|    }
  880|       |
  881|     44|    func = _PyObject_LookupSpecial(v, &_Py_ID(__bytes__));
  ------------------
  |  |  919|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|     44|    if (func != NULL) {
  ------------------
  |  Branch (882:9): [True: 0, False: 44]
  ------------------
  883|      0|        result = _PyObject_CallNoArgs(func);
  884|      0|        Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|        if (result == NULL)
  ------------------
  |  Branch (885:13): [True: 0, False: 0]
  ------------------
  886|      0|            return NULL;
  887|      0|        if (!PyBytes_Check(result)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (887:13): [True: 0, False: 0]
  ------------------
  888|      0|            PyErr_Format(PyExc_TypeError,
  889|      0|                         "%T.__bytes__() must return a bytes, not %T",
  890|      0|                         v, result);
  891|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      0|            return NULL;
  893|      0|        }
  894|      0|        return result;
  895|      0|    }
  896|     44|    else if (PyErr_Occurred())
  ------------------
  |  Branch (896:14): [True: 0, False: 44]
  ------------------
  897|      0|        return NULL;
  898|     44|    return PyBytes_FromObject(v);
  899|     44|}
_PyObject_ClearFreeLists:
  927|      4|{
  928|       |    // In the free-threaded build, freelists are per-PyThreadState and cleared in PyThreadState_Clear()
  929|       |    // In the default build, freelists are per-interpreter and cleared in finalize_interp_types()
  930|      4|    clear_freelist(&freelists->floats, is_finalization, free_object);
  931|      4|    clear_freelist(&freelists->complexes, is_finalization, free_object);
  932|     84|    for (Py_ssize_t i = 0; i < PyTuple_MAXSAVESIZE; i++) {
  ------------------
  |  |   11|     84|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (932:28): [True: 80, False: 4]
  ------------------
  933|     80|        clear_freelist(&freelists->tuples[i], is_finalization, free_object);
  934|     80|    }
  935|      4|    clear_freelist(&freelists->lists, is_finalization, free_object);
  936|      4|    clear_freelist(&freelists->list_iters, is_finalization, free_object);
  937|      4|    clear_freelist(&freelists->tuple_iters, is_finalization, free_object);
  938|      4|    clear_freelist(&freelists->dicts, is_finalization, free_object);
  939|      4|    clear_freelist(&freelists->dictkeys, is_finalization, PyMem_Free);
  940|      4|    clear_freelist(&freelists->slices, is_finalization, free_object);
  941|      4|    clear_freelist(&freelists->ranges, is_finalization, free_object);
  942|      4|    clear_freelist(&freelists->range_iters, is_finalization, free_object);
  943|      4|    clear_freelist(&freelists->contexts, is_finalization, free_object);
  944|      4|    clear_freelist(&freelists->async_gens, is_finalization, free_object);
  945|      4|    clear_freelist(&freelists->async_gen_asends, is_finalization, free_object);
  946|      4|    clear_freelist(&freelists->futureiters, is_finalization, free_object);
  947|      4|    if (is_finalization) {
  ------------------
  |  Branch (947:9): [True: 0, False: 4]
  ------------------
  948|       |        // Only clear object stack chunks during finalization. We use object
  949|       |        // stacks during GC, so emptying the free-list is counterproductive.
  950|      0|        clear_freelist(&freelists->object_stack_chunks, 1, PyMem_RawFree);
  951|      0|    }
  952|      4|    clear_freelist(&freelists->unicode_writers, is_finalization, PyMem_Free);
  953|      4|    clear_freelist(&freelists->bytes_writers, is_finalization, PyMem_Free);
  954|      4|    clear_freelist(&freelists->ints, is_finalization, free_object);
  955|      4|    clear_freelist(&freelists->pycfunctionobject, is_finalization, PyObject_GC_Del);
  956|      4|    clear_freelist(&freelists->pycmethodobject, is_finalization, PyObject_GC_Del);
  957|      4|    clear_freelist(&freelists->pymethodobjects, is_finalization, free_object);
  958|      4|}
PyObject_RichCompare:
 1100|  23.3M|{
 1101|  23.3M|    PyThreadState *tstate = _PyThreadState_GET();
 1102|       |
 1103|  23.3M|    assert(Py_LT <= op && op <= Py_GE);
 1104|  23.3M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 23.3M]
  |  Branch (1104:22): [True: 0, False: 23.3M]
  ------------------
 1105|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1105:13): [True: 0, False: 0]
  ------------------
 1106|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1107|      0|        }
 1108|      0|        return NULL;
 1109|      0|    }
 1110|  23.3M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 23.3M]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  23.3M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1114|  23.3M|    _Py_LeaveRecursiveCallTstate(tstate);
 1115|  23.3M|    return res;
 1116|  23.3M|}
PyObject_RichCompareBool:
 1122|  24.1M|{
 1123|  24.1M|    PyObject *res;
 1124|  24.1M|    int ok;
 1125|       |
 1126|       |    /* Quick result when objects are the same.
 1127|       |       Guarantees that identity implies equality. */
 1128|  24.1M|    if (v == w) {
  ------------------
  |  Branch (1128:9): [True: 6.15M, False: 18.0M]
  ------------------
 1129|  6.15M|        if (op == Py_EQ)
  ------------------
  |  |  654|  6.15M|#define Py_EQ 2
  ------------------
  |  Branch (1129:13): [True: 6.15M, False: 200]
  ------------------
 1130|  6.15M|            return 1;
 1131|    200|        else if (op == Py_NE)
  ------------------
  |  |  655|    200|#define Py_NE 3
  ------------------
  |  Branch (1131:18): [True: 0, False: 200]
  ------------------
 1132|      0|            return 0;
 1133|  6.15M|    }
 1134|       |
 1135|  18.0M|    res = PyObject_RichCompare(v, w, op);
 1136|  18.0M|    if (res == NULL)
  ------------------
  |  Branch (1136:9): [True: 0, False: 18.0M]
  ------------------
 1137|      0|        return -1;
 1138|  18.0M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  18.0M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  18.0M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 18.0M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|  18.0M|        ok = (res == Py_True);
  ------------------
  |  |   26|  18.0M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  18.0M|        assert(_Py_IsImmortal(res));
 1141|  18.0M|    }
 1142|      0|    else {
 1143|      0|        ok = PyObject_IsTrue(res);
 1144|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|      0|    }
 1146|  18.0M|    return ok;
 1147|  18.0M|}
PyObject_Hash:
 1159|  27.2M|{
 1160|  27.2M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  27.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|  27.2M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1161:9): [True: 27.2M, False: 0]
  ------------------
 1162|  27.2M|        return (*tp->tp_hash)(v);
 1163|       |    /* To keep to the general practice that inheriting
 1164|       |     * solely from object in C code should work without
 1165|       |     * an explicit call to PyType_Ready, we implicitly call
 1166|       |     * PyType_Ready here and then check the tp_hash slot again
 1167|       |     */
 1168|      0|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1168:9): [True: 0, False: 0]
  ------------------
 1169|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1169:13): [True: 0, False: 0]
  ------------------
 1170|      0|            return -1;
 1171|      0|        if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|            return (*tp->tp_hash)(v);
 1173|      0|    }
 1174|       |    /* Otherwise, the object can't be hashed */
 1175|      0|    return PyObject_HashNotImplemented(v);
 1176|      0|}
PyObject_GetAttrString:
 1180|  1.12k|{
 1181|  1.12k|    PyObject *w, *res;
 1182|       |
 1183|  1.12k|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|  1.12k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1183:9): [True: 0, False: 1.12k]
  ------------------
 1184|      0|        return (*Py_TYPE(v)->tp_getattr)(v, (char*)name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|  1.12k|    w = PyUnicode_FromString(name);
 1186|  1.12k|    if (w == NULL)
  ------------------
  |  Branch (1186:9): [True: 0, False: 1.12k]
  ------------------
 1187|      0|        return NULL;
 1188|  1.12k|    res = PyObject_GetAttr(v, w);
 1189|  1.12k|    Py_DECREF(w);
  ------------------
  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|  1.12k|    return res;
 1191|  1.12k|}
PyObject_SetAttrString:
 1219|  2.23k|{
 1220|  2.23k|    PyThreadState *tstate = _PyThreadState_GET();
 1221|  2.23k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1221:9): [True: 0, False: 2.23k]
  |  Branch (1221:22): [True: 0, False: 0]
  ------------------
 1222|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1223|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1224|      0|            "PyObject_SetAttrString() must not be called with NULL value "
 1225|      0|            "and an exception set");
 1226|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1227|      0|        return -1;
 1228|      0|    }
 1229|       |
 1230|  2.23k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  2.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 2.23k]
  ------------------
 1231|      0|        return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|      0|    }
 1233|       |
 1234|  2.23k|    PyObject *s = PyUnicode_InternFromString(name);
 1235|  2.23k|    if (s == NULL) {
  ------------------
  |  Branch (1235:9): [True: 0, False: 2.23k]
  ------------------
 1236|      0|        return -1;
 1237|      0|    }
 1238|       |
 1239|  2.23k|    int res = PyObject_SetAttr(v, s, w);
 1240|  2.23k|    Py_DECREF(s);
  ------------------
  |  |  430|  2.23k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  2.23k|    return res;
 1242|  2.23k|}
_PyObject_IsAbstract:
 1252|  4.71k|{
 1253|  4.71k|    int res;
 1254|  4.71k|    PyObject* isabstract;
 1255|       |
 1256|  4.71k|    if (obj == NULL)
  ------------------
  |  Branch (1256:9): [True: 184, False: 4.52k]
  ------------------
 1257|    184|        return 0;
 1258|       |
 1259|  4.52k|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  919|  4.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1260|  4.52k|    if (res > 0) {
  ------------------
  |  Branch (1260:9): [True: 660, False: 3.86k]
  ------------------
 1261|    660|        res = PyObject_IsTrue(isabstract);
 1262|    660|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    660|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1263|    660|    }
 1264|  4.52k|    return res;
 1265|  4.71k|}
_PyObject_SetAttributeErrorContext:
 1283|  2.52M|{
 1284|  2.52M|    assert(PyErr_Occurred());
 1285|  2.52M|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1285:9): [True: 0, False: 2.52M]
  ------------------
 1286|      0|        return 0;
 1287|      0|    }
 1288|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1289|  2.52M|    PyObject *exc = PyErr_GetRaisedException();
 1290|  2.52M|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 2.52M]
  ------------------
 1291|      0|        goto restore;
 1292|      0|    }
 1293|  2.52M|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1294|       |    // Check if this exception was already augmented
 1295|  2.52M|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1295:9): [True: 1.26M, False: 1.26M]
  |  Branch (1295:26): [True: 0, False: 1.26M]
  ------------------
 1296|  1.26M|        goto restore;
 1297|  1.26M|    }
 1298|       |    // Augment the exception with the name and object
 1299|  1.26M|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  919|  1.26M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.26M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.26M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1299:9): [True: 0, False: 1.26M]
  ------------------
 1300|  1.26M|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  919|  1.26M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.26M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.26M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:9): [True: 0, False: 1.26M]
  ------------------
 1301|      0|        Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|      0|        return 1;
 1303|      0|    }
 1304|  2.52M|restore:
 1305|  2.52M|    PyErr_SetRaisedException(exc);
 1306|  2.52M|    return 0;
 1307|  1.26M|}
PyObject_GetAttr:
 1311|  14.6M|{
 1312|  14.6M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  14.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  14.6M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  14.6M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.6M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1313:9): [True: 0, False: 14.6M]
  ------------------
 1314|      0|        PyErr_Format(PyExc_TypeError,
 1315|      0|                     "attribute name must be string, not '%.200s'",
 1316|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|      0|        return NULL;
 1318|      0|    }
 1319|       |
 1320|  14.6M|    PyObject* result = NULL;
 1321|  14.6M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1321:9): [True: 14.6M, False: 0]
  ------------------
 1322|  14.6M|        result = (*tp->tp_getattro)(v, name);
 1323|  14.6M|    }
 1324|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1324:14): [True: 0, False: 0]
  ------------------
 1325|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1326|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1326:13): [True: 0, False: 0]
  ------------------
 1327|      0|            return NULL;
 1328|      0|        }
 1329|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1330|      0|    }
 1331|      0|    else {
 1332|      0|        PyErr_Format(PyExc_AttributeError,
 1333|      0|                    "'%.100s' object has no attribute '%U'",
 1334|      0|                    tp->tp_name, name);
 1335|      0|    }
 1336|       |
 1337|  14.6M|    if (result == NULL) {
  ------------------
  |  Branch (1337:9): [True: 1.18M, False: 13.5M]
  ------------------
 1338|  1.18M|        _PyObject_SetAttributeErrorContext(v, name);
 1339|  1.18M|    }
 1340|  14.6M|    return result;
 1341|  14.6M|}
_PyObject_GetAttrStackRef:
 1348|  21.8M|{
 1349|  21.8M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  21.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|  21.8M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  21.8M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.8M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1350:9): [True: 0, False: 21.8M]
  ------------------
 1351|      0|        PyErr_Format(PyExc_TypeError,
 1352|      0|                     "attribute name must be string, not '%.200s'",
 1353|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|      0|        return PyStackRef_NULL;
 1355|      0|    }
 1356|       |
 1357|       |    /* Fast path for types - can return deferred references */
 1358|  21.8M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1358:9): [True: 175k, False: 21.7M]
  ------------------
 1359|   175k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1360|   175k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|   175k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   175k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   175k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 30, False: 175k]
  |  |  ------------------
  ------------------
 1361|     30|            _PyObject_SetAttributeErrorContext(v, name);
 1362|     30|        }
 1363|   175k|        return result;
 1364|   175k|    }
 1365|       |
 1366|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1367|  21.7M|    PyObject *result = NULL;
 1368|  21.7M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1368:9): [True: 21.7M, False: 0]
  ------------------
 1369|  21.7M|        result = (*tp->tp_getattro)(v, name);
 1370|  21.7M|    }
 1371|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1371:14): [True: 0, False: 0]
  ------------------
 1372|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1373|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1373:13): [True: 0, False: 0]
  ------------------
 1374|      0|            return PyStackRef_NULL;
 1375|      0|        }
 1376|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1377|      0|    }
 1378|      0|    else {
 1379|      0|        PyErr_Format(PyExc_AttributeError,
 1380|      0|                    "'%.100s' object has no attribute '%U'",
 1381|      0|                    tp->tp_name, name);
 1382|      0|    }
 1383|       |
 1384|  21.7M|    if (result == NULL) {
  ------------------
  |  Branch (1384:9): [True: 81.3k, False: 21.6M]
  ------------------
 1385|  81.3k|        _PyObject_SetAttributeErrorContext(v, name);
 1386|  81.3k|        return PyStackRef_NULL;
 1387|  81.3k|    }
 1388|  21.6M|    return PyStackRef_FromPyObjectSteal(result);
 1389|  21.7M|}
PyObject_GetOptionalAttr:
 1393|  7.78M|{
 1394|  7.78M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  7.78M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|       |
 1396|  7.78M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  7.78M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.78M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 7.78M]
  ------------------
 1397|      0|        PyErr_Format(PyExc_TypeError,
 1398|      0|                     "attribute name must be string, not '%.200s'",
 1399|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|      0|        *result = NULL;
 1401|      0|        return -1;
 1402|      0|    }
 1403|       |
 1404|  7.78M|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1404:9): [True: 3.51M, False: 4.26M]
  ------------------
 1405|  3.51M|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1406|  3.51M|        if (*result != NULL) {
  ------------------
  |  Branch (1406:13): [True: 3.38M, False: 131k]
  ------------------
 1407|  3.38M|            return 1;
 1408|  3.38M|        }
 1409|   131k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 131k]
  ------------------
 1410|      0|            return -1;
 1411|      0|        }
 1412|   131k|        return 0;
 1413|   131k|    }
 1414|  4.26M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1414:9): [True: 15.4k, False: 4.25M]
  ------------------
 1415|  15.4k|        int suppress_missing_attribute_exception = 0;
 1416|  15.4k|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1417|  15.4k|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1417:13): [True: 9.14k, False: 6.26k]
  ------------------
 1418|       |            // return 0 without having to clear the exception
 1419|  9.14k|            return 0;
 1420|  9.14k|        }
 1421|  15.4k|    }
 1422|  4.25M|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1422:14): [True: 2.39M, False: 1.86M]
  ------------------
 1423|       |        // optimization: suppress attribute error from module getattro method
 1424|  2.39M|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1425|  2.39M|        if (*result != NULL) {
  ------------------
  |  Branch (1425:13): [True: 1.60M, False: 786k]
  ------------------
 1426|  1.60M|            return 1;
 1427|  1.60M|        }
 1428|   786k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 786k]
  ------------------
 1429|      0|            return -1;
 1430|      0|        }
 1431|   786k|        return 0;
 1432|   786k|    }
 1433|  1.86M|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1433:14): [True: 1.86M, False: 0]
  ------------------
 1434|  1.86M|        *result = (*tp->tp_getattro)(v, name);
 1435|  1.86M|    }
 1436|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1436:14): [True: 0, False: 0]
  ------------------
 1437|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1438|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 0]
  ------------------
 1439|      0|            *result = NULL;
 1440|      0|            return -1;
 1441|      0|        }
 1442|      0|        *result = (*tp->tp_getattr)(v, (char *)name_str);
 1443|      0|    }
 1444|      0|    else {
 1445|      0|        *result = NULL;
 1446|      0|        return 0;
 1447|      0|    }
 1448|       |
 1449|  1.86M|    if (*result != NULL) {
  ------------------
  |  Branch (1449:9): [True: 1.86M, False: 454]
  ------------------
 1450|  1.86M|        return 1;
 1451|  1.86M|    }
 1452|    454|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1452:9): [True: 0, False: 454]
  ------------------
 1453|      0|        return -1;
 1454|      0|    }
 1455|    454|    PyErr_Clear();
 1456|    454|    return 0;
 1457|    454|}
PyObject_HasAttrWithError:
 1486|   791k|{
 1487|   791k|    PyObject *res;
 1488|   791k|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1489|   791k|    Py_XDECREF(res);
  ------------------
  |  |  524|   791k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|   791k|    return rc;
 1491|   791k|}
PyObject_SetAttr:
 1509|  4.50M|{
 1510|  4.50M|    PyThreadState *tstate = _PyThreadState_GET();
 1511|  4.50M|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1511:9): [True: 70.8k, False: 4.42M]
  |  Branch (1511:26): [True: 0, False: 70.8k]
  ------------------
 1512|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1513|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1514|      0|            "PyObject_SetAttr() must not be called with NULL value "
 1515|      0|            "and an exception set");
 1516|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1517|      0|        return -1;
 1518|      0|    }
 1519|       |
 1520|  4.50M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.50M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|  4.50M|    int err;
 1522|       |
 1523|  4.50M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.50M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.50M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1523:9): [True: 0, False: 4.50M]
  ------------------
 1524|      0|        PyErr_Format(PyExc_TypeError,
 1525|      0|                     "attribute name must be string, not '%.200s'",
 1526|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1527|      0|        return -1;
 1528|      0|    }
 1529|  4.50M|    Py_INCREF(name);
  ------------------
  |  |  310|  4.50M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|       |
 1531|  4.50M|    _PyUnicode_InternMortal(tstate->interp, &name);
 1532|  4.50M|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1532:9): [True: 4.50M, False: 0]
  ------------------
 1533|  4.50M|        err = (*tp->tp_setattro)(v, name, value);
 1534|  4.50M|        Py_DECREF(name);
  ------------------
  |  |  430|  4.50M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|  4.50M|        return err;
 1536|  4.50M|    }
 1537|      0|    if (tp->tp_setattr != NULL) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 0]
  ------------------
 1538|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1539|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1539:13): [True: 0, False: 0]
  ------------------
 1540|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1541|      0|            return -1;
 1542|      0|        }
 1543|      0|        err = (*tp->tp_setattr)(v, (char *)name_str, value);
 1544|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1545|      0|        return err;
 1546|      0|    }
 1547|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      0|    _PyObject_ASSERT(name, Py_REFCNT(name) >= 1);
  ------------------
  |  |  423|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|    if (tp->tp_getattr == NULL && tp->tp_getattro == NULL)
  ------------------
  |  Branch (1549:9): [True: 0, False: 0]
  |  Branch (1549:35): [True: 0, False: 0]
  ------------------
 1550|      0|        PyErr_Format(PyExc_TypeError,
 1551|      0|                     "'%.100s' object has no attributes "
 1552|      0|                     "(%s .%U)",
 1553|      0|                     tp->tp_name,
 1554|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1554:22): [True: 0, False: 0]
  ------------------
 1555|      0|                     name);
 1556|      0|    else
 1557|      0|        PyErr_Format(PyExc_TypeError,
 1558|      0|                     "'%.100s' object has only read-only attributes "
 1559|      0|                     "(%s .%U)",
 1560|      0|                     tp->tp_name,
 1561|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1561:22): [True: 0, False: 0]
  ------------------
 1562|      0|                     name);
 1563|      0|    return -1;
 1564|      0|}
PyObject_DelAttr:
 1568|  70.8k|{
 1569|       |    return PyObject_SetAttr(v, name, NULL);
 1570|  70.8k|}
_PyObject_ComputedDictPointer:
 1574|  3.91M|{
 1575|  3.91M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.91M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|  3.91M|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
 1577|       |
 1578|  3.91M|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1579|  3.91M|    if (dictoffset == 0) {
  ------------------
  |  Branch (1579:9): [True: 1.31M, False: 2.60M]
  ------------------
 1580|  1.31M|        return NULL;
 1581|  1.31M|    }
 1582|       |
 1583|  2.60M|    if (dictoffset < 0) {
  ------------------
  |  Branch (1583:9): [True: 0, False: 2.60M]
  ------------------
 1584|      0|        assert(dictoffset != -1);
 1585|       |
 1586|      0|        Py_ssize_t tsize = Py_SIZE(obj);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|      0|        if (tsize < 0) {
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|            tsize = -tsize;
 1589|      0|        }
 1590|      0|        size_t size = _PyObject_VAR_SIZE(tp, tsize);
 1591|      0|        assert(size <= (size_t)PY_SSIZE_T_MAX);
 1592|      0|        dictoffset += (Py_ssize_t)size;
 1593|       |
 1594|      0|        _PyObject_ASSERT(obj, dictoffset > 0);
  ------------------
  |  |  423|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|        _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0);
  ------------------
  |  |  423|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      0|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    }
 1597|  2.60M|    return (PyObject **) ((char *)obj + dictoffset);
 1598|  3.91M|}
PyObject_SelfIter:
 1626|  92.6k|{
 1627|  92.6k|    return Py_NewRef(obj);
  ------------------
  |  |  550|  92.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  92.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  92.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|  92.6k|}
_PyObject_GetMethodStackRef:
 1758|  13.2M|{
 1759|  13.2M|    int meth_found = 0;
 1760|  13.2M|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1761|       |
 1762|  13.2M|    assert(PyStackRef_IsNull(*method));
 1763|       |
 1764|  13.2M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  13.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  13.2M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 13.2M]
  ------------------
 1766|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1766:13): [True: 0, False: 0]
  ------------------
 1767|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1768|      0|            return -1;
 1769|      0|        }
 1770|      0|    }
 1771|       |
 1772|  13.2M|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  5.06M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  5.06M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1772:9): [True: 8.18M, False: 5.06M]
  |  Branch (1772:55): [True: 0, False: 5.06M]
  ------------------
 1773|  8.18M|        PyObject *res = PyObject_GetAttr(obj, name);
 1774|  8.18M|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  8.18M|    do { \
  |  |  733|  8.18M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.18M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.18M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.18M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.18M]
  |  |  ------------------
  ------------------
 1775|  8.18M|        if (res != NULL) {
  ------------------
  |  Branch (1775:13): [True: 8.18M, False: 4]
  ------------------
 1776|  8.18M|            *method = PyStackRef_FromPyObjectSteal(res);
 1777|  8.18M|            return 0;
 1778|  8.18M|        }
 1779|      4|        return -1;
 1780|  8.18M|    }
 1781|       |
 1782|  5.06M|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1783|  5.06M|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1784|  5.06M|    descrgetfunc f = NULL;
 1785|  5.06M|    if (descr != NULL) {
  ------------------
  |  Branch (1785:9): [True: 5.06M, False: 30]
  ------------------
 1786|  5.06M|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  5.06M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  5.06M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1786:13): [True: 5.02M, False: 47.8k]
  ------------------
 1787|  5.02M|            meth_found = 1;
 1788|  5.02M|        }
 1789|  47.8k|        else {
 1790|  47.8k|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  47.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|  47.8k|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1791:17): [True: 47.8k, False: 56]
  |  Branch (1791:30): [True: 26.9k, False: 20.9k]
  ------------------
 1792|  26.9k|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  26.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|  26.9k|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|  26.9k|    do { \
  |  |  733|  26.9k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  26.9k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  26.9k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  26.9k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  26.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
 1794|  26.9k|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  26.9k|    do { \
  |  |  733|  26.9k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  26.9k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  26.9k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  26.9k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  26.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
 1795|  26.9k|                if (value != NULL) {
  ------------------
  |  Branch (1795:21): [True: 26.9k, False: 0]
  ------------------
 1796|  26.9k|                    *method = PyStackRef_FromPyObjectSteal(value);
 1797|  26.9k|                    return 0;
 1798|  26.9k|                }
 1799|      0|                return -1;
 1800|  26.9k|            }
 1801|  47.8k|        }
 1802|  5.06M|    }
 1803|  5.04M|    PyObject *dict, *attr;
 1804|  5.04M|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  5.04M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1804:9): [True: 4.96M, False: 75.2k]
  ------------------
 1805|  4.96M|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1805:10): [True: 333k, False: 4.63M]
  ------------------
 1806|   333k|        if (attr != NULL) {
  ------------------
  |  Branch (1806:13): [True: 18, False: 333k]
  ------------------
 1807|     18|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|     18|    do { \
  |  |  856|     18|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|     18|        (dst) = (src); \
  |  |  858|     18|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|     18|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1808|     18|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     18|    do { \
  |  |  733|     18|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     18|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     18|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     18|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1809|     18|            return 0;
 1810|     18|        }
 1811|   333k|        dict = NULL;
 1812|   333k|    }
 1813|  4.70M|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  4.70M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1813:14): [True: 4.63M, False: 74.5k]
  ------------------
 1814|  4.63M|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1815|  4.63M|    }
 1816|  74.5k|    else {
 1817|  74.5k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1818|  74.5k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1818:13): [True: 48.8k, False: 25.6k]
  ------------------
 1819|  48.8k|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  48.8k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1820|  48.8k|        }
 1821|  25.6k|        else {
 1822|  25.6k|            dict = NULL;
 1823|  25.6k|        }
 1824|  74.5k|    }
 1825|  5.04M|    if (dict != NULL) {
  ------------------
  |  Branch (1825:9): [True: 4.63M, False: 404k]
  ------------------
 1826|  4.63M|        assert(PyUnicode_CheckExact(name));
 1827|  4.63M|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1828|  4.63M|        if (found < 0) {
  ------------------
  |  Branch (1828:13): [True: 0, False: 4.63M]
  ------------------
 1829|      0|            assert(PyStackRef_IsNull(*method));
 1830|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1831|      0|            return -1;
 1832|      0|        }
 1833|  4.63M|        else if (found) {
  ------------------
  |  Branch (1833:18): [True: 10, False: 4.63M]
  ------------------
 1834|     10|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     10|    do { \
  |  |  733|     10|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     10|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     10|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     10|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1835|     10|            return 0;
 1836|     10|        }
 1837|  4.63M|    }
 1838|       |
 1839|  5.04M|    if (meth_found) {
  ------------------
  |  Branch (1839:9): [True: 5.02M, False: 20.9k]
  ------------------
 1840|  5.02M|        assert(!PyStackRef_IsNull(*method));
 1841|  5.02M|        return 1;
 1842|  5.02M|    }
 1843|       |
 1844|  20.9k|    if (f != NULL) {
  ------------------
  |  Branch (1844:9): [True: 20.9k, False: 58]
  ------------------
 1845|  20.9k|        if (Py_IS_TYPE(descr, &PyClassMethod_Type)) {
  ------------------
  |  |  215|  20.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.37k, False: 12.5k]
  |  |  ------------------
  ------------------
 1846|  8.37k|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1847|  8.37k|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|  8.37k|    do { \
  |  |  856|  8.37k|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|  8.37k|        (dst) = (src); \
  |  |  858|  8.37k|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|  8.37k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 8.37k]
  |  |  ------------------
  ------------------
 1848|  8.37k|            PyStackRef_XSETREF(*self, PyStackRef_FromPyObjectNew((PyObject *)tp));
  ------------------
  |  |  855|  8.37k|    do { \
  |  |  856|  8.37k|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|  8.37k|        (dst) = (src); \
  |  |  858|  8.37k|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|  8.37k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 8.37k]
  |  |  ------------------
  ------------------
 1849|  8.37k|            return 1;
 1850|  8.37k|        }
 1851|  12.5k|        else if (Py_IS_TYPE(descr, &PyStaticMethod_Type)) {
  ------------------
  |  |  215|  12.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 12.5k, False: 0]
  |  |  ------------------
  ------------------
 1852|  12.5k|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1853|  12.5k|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|  12.5k|    do { \
  |  |  856|  12.5k|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|  12.5k|        (dst) = (src); \
  |  |  858|  12.5k|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|  12.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
 1854|  12.5k|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  12.5k|    do { \
  |  |  733|  12.5k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  12.5k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  12.5k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  12.5k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
 1855|  12.5k|            return 0;
 1856|  12.5k|        }
 1857|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1858|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1859|      0|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1860|      0|        if (value) {
  ------------------
  |  Branch (1860:13): [True: 0, False: 0]
  ------------------
 1861|      0|            *method = PyStackRef_FromPyObjectSteal(value);
 1862|      0|            return 0;
 1863|      0|        }
 1864|      0|        return -1;
 1865|      0|    }
 1866|       |
 1867|     58|    if (descr != NULL) {
  ------------------
  |  Branch (1867:9): [True: 56, False: 2]
  ------------------
 1868|     56|        assert(!PyStackRef_IsNull(*method));
 1869|     56|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     56|    do { \
  |  |  733|     56|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     56|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     56|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     56|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 1870|     56|        return 0;
 1871|     56|    }
 1872|       |
 1873|      2|    PyErr_Format(PyExc_AttributeError,
 1874|      2|                 "'%.100s' object has no attribute '%U'",
 1875|      2|                 tp->tp_name, name);
 1876|       |
 1877|      2|    _PyObject_SetAttributeErrorContext(obj, name);
 1878|      2|    assert(PyStackRef_IsNull(*method));
 1879|      2|    PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      2|    do { \
  |  |  733|      2|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      2|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      2|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      2|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1880|      2|    return -1;
 1881|     58|}
_PyObject_GenericGetAttrWithDict:
 1889|  28.5M|{
 1890|       |    /* Make sure the logic of _PyObject_GetMethod is in sync with
 1891|       |       this method.
 1892|       |
 1893|       |       When suppress=1, this function suppresses AttributeError.
 1894|       |    */
 1895|       |
 1896|  28.5M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  28.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|  28.5M|    PyObject *descr = NULL;
 1898|  28.5M|    PyObject *res = NULL;
 1899|  28.5M|    descrgetfunc f;
 1900|       |
 1901|  28.5M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  28.5M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.5M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1901:9): [True: 0, False: 28.5M]
  ------------------
 1902|      0|        PyErr_Format(PyExc_TypeError,
 1903|      0|                     "attribute name must be string, not '%.200s'",
 1904|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|      0|        return NULL;
 1906|      0|    }
 1907|       |
 1908|  28.5M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1908:9): [True: 0, False: 28.5M]
  ------------------
 1909|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return NULL;
 1911|      0|    }
 1912|       |
 1913|  28.5M|    Py_INCREF(name);
  ------------------
  |  |  310|  28.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|       |
 1915|  28.5M|    PyThreadState *tstate = _PyThreadState_GET();
 1916|  28.5M|    _PyCStackRef cref;
 1917|  28.5M|    _PyThreadState_PushCStackRef(tstate, &cref);
 1918|       |
 1919|  28.5M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1920|  28.5M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1921|       |
 1922|  28.5M|    f = NULL;
 1923|  28.5M|    if (descr != NULL) {
  ------------------
  |  Branch (1923:9): [True: 7.49M, False: 21.0M]
  ------------------
 1924|  7.49M|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  7.49M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|  7.49M|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1925:13): [True: 7.18M, False: 317k]
  |  Branch (1925:26): [True: 4.27M, False: 2.90M]
  ------------------
 1926|  4.27M|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  4.27M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  4.27M|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1927:17): [True: 20.2k, False: 4.25M]
  |  Branch (1927:32): [True: 17.0k, False: 3.17k]
  ------------------
 1928|  17.0k|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1928:21): [True: 17.0k, False: 0]
  ------------------
 1929|  17.0k|                PyErr_Clear();
 1930|  17.0k|            }
 1931|  4.27M|            goto done;
 1932|  4.27M|        }
 1933|  7.49M|    }
 1934|  24.3M|    if (dict == NULL) {
  ------------------
  |  Branch (1934:9): [True: 24.3M, False: 106]
  ------------------
 1935|  24.3M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  24.3M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1935:13): [True: 20.5M, False: 3.81M]
  ------------------
 1936|  20.5M|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  20.5M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  41.0M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.5M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|  20.5M|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1937:17): [True: 13.0M, False: 7.43M]
  ------------------
 1938|  13.0M|                if (res != NULL) {
  ------------------
  |  Branch (1938:21): [True: 8.31M, False: 4.74M]
  ------------------
 1939|  8.31M|                    goto done;
 1940|  8.31M|                }
 1941|  13.0M|            }
 1942|  7.43M|            else {
 1943|  7.43M|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1944|  7.43M|                if (dict == NULL) {
  ------------------
  |  Branch (1944:21): [True: 0, False: 7.43M]
  ------------------
 1945|      0|                    res = NULL;
 1946|      0|                    goto done;
 1947|      0|                }
 1948|  7.43M|            }
 1949|  20.5M|        }
 1950|  3.81M|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  3.81M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1950:18): [True: 6.29k, False: 3.80M]
  ------------------
 1951|  6.29k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1952|  6.29k|        }
 1953|  3.80M|        else {
 1954|  3.80M|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1955|  3.80M|            if (dictptr) {
  ------------------
  |  Branch (1955:17): [True: 2.52M, False: 1.28M]
  ------------------
 1956|       |#ifdef Py_GIL_DISABLED
 1957|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1958|       |#else
 1959|  2.52M|                dict = *dictptr;
 1960|  2.52M|#endif
 1961|  2.52M|            }
 1962|  3.80M|        }
 1963|  24.3M|    }
 1964|  15.9M|    if (dict != NULL) {
  ------------------
  |  Branch (1964:9): [True: 9.88M, False: 6.11M]
  ------------------
 1965|  9.88M|        Py_INCREF(dict);
  ------------------
  |  |  310|  9.88M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|  9.88M|        int rc = PyDict_GetItemRef(dict, name, &res);
 1967|  9.88M|        Py_DECREF(dict);
  ------------------
  |  |  430|  9.88M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|  9.88M|        if (res != NULL) {
  ------------------
  |  Branch (1968:13): [True: 9.07M, False: 813k]
  ------------------
 1969|  9.07M|            goto done;
 1970|  9.07M|        }
 1971|   813k|        else if (rc < 0) {
  ------------------
  |  Branch (1971:18): [True: 0, False: 813k]
  ------------------
 1972|      0|            if (suppress && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1972:17): [True: 0, False: 0]
  |  Branch (1972:29): [True: 0, False: 0]
  ------------------
 1973|      0|                PyErr_Clear();
 1974|      0|            }
 1975|      0|            else {
 1976|      0|                goto done;
 1977|      0|            }
 1978|      0|        }
 1979|  9.88M|    }
 1980|       |
 1981|  6.92M|    if (f != NULL) {
  ------------------
  |  Branch (1981:9): [True: 2.90M, False: 4.01M]
  ------------------
 1982|  2.90M|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  2.90M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|  2.90M|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1983:13): [True: 0, False: 2.90M]
  |  Branch (1983:28): [True: 0, False: 0]
  ------------------
 1984|      0|                PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|            PyErr_Clear();
 1986|      0|        }
 1987|  2.90M|        goto done;
 1988|  2.90M|    }
 1989|       |
 1990|  4.01M|    if (descr != NULL) {
  ------------------
  |  Branch (1990:9): [True: 151k, False: 3.86M]
  ------------------
 1991|   151k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 1992|   151k|        cref.ref = PyStackRef_NULL;
 1993|   151k|        goto done;
 1994|   151k|    }
 1995|       |
 1996|  3.86M|    if (!suppress) {
  ------------------
  |  Branch (1996:9): [True: 1.26M, False: 2.59M]
  ------------------
 1997|  1.26M|        PyErr_Format(PyExc_AttributeError,
 1998|  1.26M|                     "'%.100s' object has no attribute '%U'",
 1999|  1.26M|                     tp->tp_name, name);
 2000|       |
 2001|  1.26M|        _PyObject_SetAttributeErrorContext(obj, name);
 2002|  1.26M|    }
 2003|  28.5M|  done:
 2004|  28.5M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2005|  28.5M|    Py_DECREF(name);
  ------------------
  |  |  430|  28.5M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  28.5M|    return res;
 2007|  3.86M|}
PyObject_GenericGetAttr:
 2011|  14.1M|{
 2012|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2013|  14.1M|}
_PyObject_GenericSetAttrWithDict:
 2018|  4.07M|{
 2019|  4.07M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  4.07M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  4.07M|    PyObject *descr;
 2021|  4.07M|    descrsetfunc f;
 2022|  4.07M|    int res = -1;
 2023|       |
 2024|  4.07M|    assert(!PyType_IsSubtype(tp, &PyType_Type));
 2025|  4.07M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  4.07M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.07M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2025:9): [True: 0, False: 4.07M]
  ------------------
 2026|      0|        PyErr_Format(PyExc_TypeError,
 2027|      0|                     "attribute name must be string, not '%.200s'",
 2028|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2029|      0|        return -1;
 2030|      0|    }
 2031|       |
 2032|  4.07M|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 4.07M]
  |  Branch (2032:33): [True: 0, False: 0]
  ------------------
 2033|      0|        return -1;
 2034|      0|    }
 2035|       |
 2036|  4.07M|    Py_INCREF(name);
  ------------------
  |  |  310|  4.07M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2037|  4.07M|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  315|  4.07M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.07M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|       |
 2039|  4.07M|    PyThreadState *tstate = _PyThreadState_GET();
 2040|  4.07M|    _PyCStackRef cref;
 2041|  4.07M|    _PyThreadState_PushCStackRef(tstate, &cref);
 2042|       |
 2043|  4.07M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2044|  4.07M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2045|       |
 2046|  4.07M|    if (descr != NULL) {
  ------------------
  |  Branch (2046:9): [True: 2.91M, False: 1.15M]
  ------------------
 2047|  2.91M|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|  2.91M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|  2.91M|        if (f != NULL) {
  ------------------
  |  Branch (2048:13): [True: 2.74M, False: 171k]
  ------------------
 2049|  2.74M|            res = f(descr, obj, value);
 2050|  2.74M|            goto done;
 2051|  2.74M|        }
 2052|  2.91M|    }
 2053|       |
 2054|  1.32M|    if (dict == NULL) {
  ------------------
  |  Branch (2054:9): [True: 884k, False: 441k]
  ------------------
 2055|   884k|        PyObject **dictptr;
 2056|       |
 2057|   884k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|   884k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2057:13): [True: 856k, False: 28.0k]
  ------------------
 2058|   856k|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2059|   856k|            goto error_check;
 2060|   856k|        }
 2061|       |
 2062|  28.0k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  28.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2062:13): [True: 3.24k, False: 24.8k]
  ------------------
 2063|  3.24k|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2064|  3.24k|            dictptr = (PyObject **)&managed_dict->dict;
 2065|  3.24k|        }
 2066|  24.8k|        else {
 2067|  24.8k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2068|  24.8k|        }
 2069|  28.0k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2069:13): [True: 4, False: 28.0k]
  ------------------
 2070|      4|            if (descr == NULL) {
  ------------------
  |  Branch (2070:17): [True: 4, False: 0]
  ------------------
 2071|      4|                if (tp->tp_setattro == PyObject_GenericSetAttr) {
  ------------------
  |  Branch (2071:21): [True: 4, False: 0]
  ------------------
 2072|      4|                    PyErr_Format(PyExc_AttributeError,
 2073|      4|                                "'%.100s' object has no attribute '%U' and no "
 2074|      4|                                "__dict__ for setting new attributes",
 2075|      4|                                tp->tp_name, name);
 2076|      4|                }
 2077|      0|                else {
 2078|      0|                    PyErr_Format(PyExc_AttributeError,
 2079|      0|                                "'%.100s' object has no attribute '%U'",
 2080|      0|                                tp->tp_name, name);
 2081|      0|                }
 2082|      4|                _PyObject_SetAttributeErrorContext(obj, name);
 2083|      4|            }
 2084|      0|            else {
 2085|      0|                PyErr_Format(PyExc_AttributeError,
 2086|      0|                            "'%.100s' object attribute '%U' is read-only",
 2087|      0|                            tp->tp_name, name);
 2088|      0|            }
 2089|      4|            goto done;
 2090|      4|        }
 2091|  28.0k|        else {
 2092|  28.0k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2093|  28.0k|        }
 2094|  28.0k|    }
 2095|   441k|    else {
 2096|   441k|        Py_INCREF(dict);
  ------------------
  |  |  310|   441k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   441k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   441k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|   441k|        if (value == NULL)
  ------------------
  |  Branch (2097:13): [True: 0, False: 441k]
  ------------------
 2098|      0|            res = PyDict_DelItem(dict, name);
 2099|   441k|        else
 2100|   441k|            res = PyDict_SetItem(dict, name, value);
 2101|   441k|        Py_DECREF(dict);
  ------------------
  |  |  430|   441k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   441k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   441k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|   441k|    }
 2103|  1.32M|  error_check:
 2104|  1.32M|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 1.32M]
  |  Branch (2104:20): [True: 0, False: 0]
  ------------------
 2105|      0|        PyErr_Format(PyExc_AttributeError,
 2106|      0|                        "'%.100s' object has no attribute '%U'",
 2107|      0|                        tp->tp_name, name);
 2108|      0|        _PyObject_SetAttributeErrorContext(obj, name);
 2109|      0|    }
 2110|  4.07M|  done:
 2111|  4.07M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2112|  4.07M|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  316|  4.07M|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  4.07M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  4.07M|    Py_DECREF(name);
  ------------------
  |  |  430|  4.07M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  4.07M|    return res;
 2115|  1.32M|}
PyObject_GenericSetAttr:
 2119|  3.63M|{
 2120|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2121|  3.63M|}
PyObject_IsTrue:
 2139|  6.05M|{
 2140|  6.05M|    Py_ssize_t res;
 2141|  6.05M|    if (v == Py_True)
  ------------------
  |  |   26|  6.05M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  6.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2141:9): [True: 646k, False: 5.40M]
  ------------------
 2142|   646k|        return 1;
 2143|  5.40M|    if (v == Py_False)
  ------------------
  |  |   25|  5.40M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  5.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2143:9): [True: 4.50M, False: 904k]
  ------------------
 2144|  4.50M|        return 0;
 2145|   904k|    if (v == Py_None)
  ------------------
  |  |  616|   904k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:9): [True: 614, False: 904k]
  ------------------
 2146|    614|        return 0;
 2147|   904k|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|   904k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   904k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   904k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2147:14): [True: 59.3k, False: 844k]
  ------------------
 2148|  59.3k|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|  59.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2148:14): [True: 685, False: 58.6k]
  ------------------
 2149|    685|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|    685|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    685|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    685|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|   903k|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|   903k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   903k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   903k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2150:14): [True: 900k, False: 3.08k]
  ------------------
 2151|   900k|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|   900k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   900k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   900k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2151:14): [True: 899k, False: 409]
  ------------------
 2152|   899k|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|   899k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   899k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   899k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|  3.48k|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|  3.48k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2153:14): [True: 2.43k, False: 1.05k]
  ------------------
 2154|  2.43k|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|  2.43k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2154:14): [True: 2.19k, False: 239]
  ------------------
 2155|  2.19k|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|  2.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|  1.29k|    else
 2157|  1.29k|        return 1;
 2158|       |    /* if it is negative, it should be either -1 or -2 */
 2159|   902k|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|  50.6k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  50.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2159:12): [True: 852k, False: 50.6k]
  ------------------
 2160|   904k|}
PyCallable_Check:
 2179|  36.9k|{
 2180|  36.9k|    if (x == NULL)
  ------------------
  |  Branch (2180:9): [True: 0, False: 36.9k]
  ------------------
 2181|      0|        return 0;
 2182|  36.9k|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  36.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|  36.9k|}
PyObject_Dir:
 2268|     16|{
 2269|     16|    return (obj == NULL) ? _dir_locals() : _dir_object(obj);
  ------------------
  |  Branch (2269:12): [True: 2, False: 14]
  ------------------
 2270|     16|}
_PyObject_InitState:
 2504|      2|{
 2505|       |#ifdef Py_TRACE_REFS
 2506|       |    if (refchain_init(interp) < 0) {
 2507|       |        return _PyStatus_NO_MEMORY();
 2508|       |    }
 2509|       |#endif
 2510|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2511|      2|}
_PyTypes_InitTypes:
 2670|      2|{
 2671|       |    // All other static types (unless initialized elsewhere)
 2672|    242|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_types); i++) {
  ------------------
  |  |  196|    242|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2672:22): [True: 240, False: 2]
  ------------------
 2673|    240|        PyTypeObject *type = static_types[i];
 2674|    240|        if (type == NULL) {
  ------------------
  |  Branch (2674:13): [True: 2, False: 238]
  ------------------
 2675|      2|            continue;
 2676|      2|        }
 2677|    238|        if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 238]
  ------------------
 2678|      0|            return _PyStatus_ERR("Can't initialize builtin type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2679|      0|        }
 2680|    238|        if (type == &PyType_Type) {
  ------------------
  |  Branch (2680:13): [True: 2, False: 236]
  ------------------
 2681|       |            // Sanitify checks of the two most important types
 2682|      2|            assert(PyBaseObject_Type.tp_base == NULL);
 2683|      2|            assert(PyType_Type.tp_base == &PyBaseObject_Type);
 2684|      2|        }
 2685|    238|    }
 2686|       |
 2687|       |    // Cache __reduce__ from PyBaseObject_Type object
 2688|      2|    PyObject *baseobj_dict = _PyType_GetDict(&PyBaseObject_Type);
 2689|      2|    PyObject *baseobj_reduce = PyDict_GetItemWithError(baseobj_dict, &_Py_ID(__reduce__));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2690|      2|    if (baseobj_reduce == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (2690:9): [True: 0, False: 2]
  |  Branch (2690:35): [True: 0, False: 0]
  ------------------
 2691|      0|        return _PyStatus_ERR("Can't get __reduce__ from base object");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2692|      0|    }
 2693|      2|    _Py_INTERP_CACHED_OBJECT(interp, objreduce) = baseobj_reduce;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
 2694|       |
 2695|       |    // Must be after static types are initialized
 2696|      2|    if (_Py_initialize_generic(interp) < 0) {
  ------------------
  |  Branch (2696:9): [True: 0, False: 2]
  ------------------
 2697|      0|        return _PyStatus_ERR("Can't initialize generic types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2698|      0|    }
 2699|       |
 2700|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2701|      2|}
_Py_NewReference:
 2760|   162M|{
 2761|       |#ifdef Py_REF_DEBUG
 2762|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2763|       |#endif
 2764|   162M|    new_reference(op);
 2765|   162M|}
_Py_NewReferenceNoTotal:
 2769|  1.59M|{
 2770|  1.59M|    new_reference(op);
 2771|  1.59M|}
_Py_SetImmortalUntracked:
 2775|  54.3k|{
 2776|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2777|  54.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  54.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 54.3k]
  |  |  ------------------
  ------------------
 2778|     30|        return;
 2779|     30|    }
 2780|       |#ifdef Py_GIL_DISABLED
 2781|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
 2782|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, _Py_IMMORTAL_REFCNT_LOCAL);
 2783|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2784|       |    _Py_atomic_or_uint8(&op->ob_gc_bits, _PyGC_BITS_DEFERRED);
 2785|       |#elif SIZEOF_VOID_P > 4
 2786|  54.3k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  54.3k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2787|  54.3k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  54.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2788|       |#else
 2789|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2790|       |#endif
 2791|  54.3k|}
_Py_SetImmortal:
 2795|  54.3k|{
 2796|  54.3k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    834|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    834|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 830, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2796:9): [True: 834, False: 53.5k]
  ------------------
 2797|    830|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|    830|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|    830|    }
 2799|  54.3k|    _Py_SetImmortalUntracked(op);
 2800|  54.3k|}
_PyObject_SetDeferredRefcount:
 2804|  30.6k|{
 2805|       |#ifdef Py_GIL_DISABLED
 2806|       |    assert(PyType_IS_GC(Py_TYPE(op)));
 2807|       |    assert(_Py_IsOwnedByCurrentThread(op));
 2808|       |    assert(op->ob_ref_shared == 0);
 2809|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_DEFERRED);
 2810|       |    op->ob_ref_shared = _Py_REF_SHARED(_Py_REF_DEFERRED, 0);
 2811|       |#endif
 2812|  30.6k|}
PyUnstable_Object_EnableDeferredRefcount:
 2816|  2.70k|{
 2817|       |#ifdef Py_GIL_DISABLED
 2818|       |    if (!PyType_IS_GC(Py_TYPE(op))) {
 2819|       |        // Deferred reference counting doesn't work
 2820|       |        // on untracked types.
 2821|       |        return 0;
 2822|       |    }
 2823|       |
 2824|       |    uint8_t bits = _Py_atomic_load_uint8(&op->ob_gc_bits);
 2825|       |    if ((bits & _PyGC_BITS_DEFERRED) != 0)
 2826|       |    {
 2827|       |        // Nothing to do.
 2828|       |        return 0;
 2829|       |    }
 2830|       |
 2831|       |    if (_Py_atomic_compare_exchange_uint8(&op->ob_gc_bits, &bits, bits | _PyGC_BITS_DEFERRED) == 0)
 2832|       |    {
 2833|       |        // Someone beat us to it!
 2834|       |        return 0;
 2835|       |    }
 2836|       |    _Py_atomic_add_ssize(&op->ob_ref_shared, _Py_REF_SHARED(_Py_REF_DEFERRED, 0));
 2837|       |    return 1;
 2838|       |#else
 2839|  2.70k|    return 0;
 2840|  2.70k|#endif
 2841|  2.70k|}
Py_ReprEnter:
 3101|  54.1k|{
 3102|  54.1k|    PyObject *dict;
 3103|  54.1k|    PyObject *list;
 3104|  54.1k|    Py_ssize_t i;
 3105|       |
 3106|  54.1k|    dict = PyThreadState_GetDict();
 3107|       |    /* Ignore a missing thread-state, so that this function can be called
 3108|       |       early on startup. */
 3109|  54.1k|    if (dict == NULL)
  ------------------
  |  Branch (3109:9): [True: 0, False: 54.1k]
  ------------------
 3110|      0|        return 0;
 3111|  54.1k|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  919|  54.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3112|  54.1k|    if (list == NULL) {
  ------------------
  |  Branch (3112:9): [True: 1, False: 54.1k]
  ------------------
 3113|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3113:13): [True: 0, False: 1]
  ------------------
 3114|      0|            return -1;
 3115|      0|        }
 3116|      1|        list = PyList_New(0);
 3117|      1|        if (list == NULL)
  ------------------
  |  Branch (3117:13): [True: 0, False: 1]
  ------------------
 3118|      0|            return -1;
 3119|      1|        if (_PyDict_SetItem_Take2((PyDictObject *)dict, &_Py_ID(Py_Repr), list) < 0) {
  ------------------
  |  |  919|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3119:13): [True: 0, False: 1]
  ------------------
 3120|      0|            return -1;
 3121|      0|        }
 3122|      1|    }
 3123|  54.1k|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|  54.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|  54.2k|    while (--i >= 0) {
  ------------------
  |  Branch (3124:12): [True: 7, False: 54.1k]
  ------------------
 3125|      7|        if (PyList_GET_ITEM(list, i) == obj)
  ------------------
  |  |   40|      7|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      7|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3125:13): [True: 0, False: 7]
  ------------------
 3126|      0|            return 1;
 3127|      7|    }
 3128|  54.1k|    if (PyList_Append(list, obj) < 0)
  ------------------
  |  Branch (3128:9): [True: 0, False: 54.1k]
  ------------------
 3129|      0|        return -1;
 3130|  54.1k|    return 0;
 3131|  54.1k|}
Py_ReprLeave:
 3135|  54.1k|{
 3136|  54.1k|    PyObject *dict;
 3137|  54.1k|    PyObject *list;
 3138|  54.1k|    Py_ssize_t i;
 3139|       |
 3140|  54.1k|    PyObject *exc = PyErr_GetRaisedException();
 3141|       |
 3142|  54.1k|    dict = PyThreadState_GetDict();
 3143|  54.1k|    if (dict == NULL)
  ------------------
  |  Branch (3143:9): [True: 0, False: 54.1k]
  ------------------
 3144|      0|        goto finally;
 3145|       |
 3146|  54.1k|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  919|  54.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3147|  54.1k|    if (list == NULL || !PyList_Check(list))
  ------------------
  |  |   25|  54.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  54.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3147:9): [True: 0, False: 54.1k]
  |  Branch (3147:25): [True: 0, False: 54.1k]
  ------------------
 3148|      0|        goto finally;
 3149|       |
 3150|  54.1k|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|  54.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|       |    /* Count backwards because we always expect obj to be list[-1] */
 3152|  54.1k|    while (--i >= 0) {
  ------------------
  |  Branch (3152:12): [True: 54.1k, False: 0]
  ------------------
 3153|  54.1k|        if (PyList_GET_ITEM(list, i) == obj) {
  ------------------
  |  |   40|  54.1k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  54.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3153:13): [True: 54.1k, False: 0]
  ------------------
 3154|  54.1k|            PyList_SetSlice(list, i, i + 1, NULL);
 3155|  54.1k|            break;
 3156|  54.1k|        }
 3157|  54.1k|    }
 3158|       |
 3159|  54.1k|finally:
 3160|       |    /* ignore exceptions because there is no way to report them. */
 3161|  54.1k|    PyErr_SetRaisedException(exc);
 3162|  54.1k|}
_Py_Dealloc:
 3284|   122M|{
 3285|   122M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   122M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   122M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|   122M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|   122M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3287|   122M|    destructor dealloc = type->tp_dealloc;
 3288|   122M|    PyThreadState *tstate = _PyThreadState_GET();
 3289|   122M|    intptr_t margin = _Py_RecursionLimit_GetMargin(tstate);
 3290|   122M|    if (margin < 2 && gc_flag) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 122M]
  |  Branch (3290:23): [True: 0, False: 0]
  ------------------
 3291|      0|        _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3292|      0|        return;
 3293|      0|    }
 3294|       |#ifdef Py_DEBUG
 3295|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3296|       |    /* This assertion doesn't hold for the free-threading build, as
 3297|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3298|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3299|       |#endif
 3300|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3301|       |    // Keep the old exception type alive to prevent undefined behavior
 3302|       |    // on (tstate->curexc_type != old_exc_type) below
 3303|       |    Py_XINCREF(old_exc);
 3304|       |    // Make sure that type->tp_name remains valid
 3305|       |    Py_INCREF(type);
 3306|       |#endif
 3307|       |
 3308|       |#ifdef Py_TRACE_REFS
 3309|       |    _Py_ForgetReference(op);
 3310|       |#endif
 3311|   122M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   122M|    do { \
  |  |  113|   122M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   122M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 122M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   122M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 122M]
  |  |  ------------------
  ------------------
 3312|   122M|    (*dealloc)(op);
 3313|       |
 3314|       |#ifdef Py_DEBUG
 3315|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3316|       |    // unchanged.
 3317|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3318|       |        const char *err;
 3319|       |        if (old_exc == NULL) {
 3320|       |            err = "Deallocator of type '%s' raised an exception";
 3321|       |        }
 3322|       |        else if (tstate->current_exception == NULL) {
 3323|       |            err = "Deallocator of type '%s' cleared the current exception";
 3324|       |        }
 3325|       |        else {
 3326|       |            // It can happen if dealloc() normalized the current exception.
 3327|       |            // A deallocator function must not change the current exception,
 3328|       |            // not even normalize it.
 3329|       |            err = "Deallocator of type '%s' overrode the current exception";
 3330|       |        }
 3331|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3332|       |    }
 3333|       |    Py_XDECREF(old_exc);
 3334|       |    Py_DECREF(type);
 3335|       |#endif
 3336|   122M|    if (tstate->delete_later && margin >= 4 && gc_flag) {
  ------------------
  |  Branch (3336:9): [True: 0, False: 122M]
  |  Branch (3336:33): [True: 0, False: 0]
  |  Branch (3336:48): [True: 0, False: 0]
  ------------------
 3337|      0|        _PyTrash_thread_destroy_chain(tstate);
 3338|      0|    }
 3339|   122M|}
_Py_GetConstant_Init:
 3442|      2|{
 3443|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3444|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3445|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3446|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize(NULL, 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3447|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3448|       |#ifndef NDEBUG
 3449|       |    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
 3450|       |        assert(constants[i] != NULL);
 3451|       |        assert(_Py_IsImmortal(constants[i]));
 3452|       |    }
 3453|       |#endif
 3454|      2|}
Py_GetConstant:
 3458|  8.13M|{
 3459|  8.13M|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  196|  8.13M|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3459:9): [True: 8.13M, False: 0]
  ------------------
 3460|  8.13M|        return constants[constant_id];
 3461|  8.13M|    }
 3462|      0|    else {
 3463|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3464|       |        return NULL;
 3465|      0|    }
 3466|  8.13M|}
Py_GetConstantBorrowed:
 3471|      4|{
 3472|       |    // All constants are immortal
 3473|      4|    return Py_GetConstant(constant_id);
 3474|      4|}
_PyObject_VisitType:
 3495|   208k|{
 3496|   208k|    assert(op != NULL);
 3497|   208k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|   208k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|   208k|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  423|   208k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   208k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   208k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3499|   208k|    Py_VISIT(tp);
  ------------------
  |  |  194|   208k|    do {                                                                \
  |  |  195|   208k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 208k, False: 0]
  |  |  ------------------
  |  |  196|   208k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   208k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 208k]
  |  |  ------------------
  |  |  198|   208k|                return vret;                                            \
  |  |  199|   208k|        }                                                               \
  |  |  200|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 3500|   208k|    return 0;
 3501|   208k|}
object.c:clear_freelist:
  904|    160|{
  905|    160|    void *ptr;
  906|  4.17k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (906:12): [True: 4.01k, False: 160]
  ------------------
  907|  4.01k|        dofree(ptr);
  908|  4.01k|    }
  909|    160|    assert(freelist->size == 0 || freelist->size == -1);
  910|    160|    assert(freelist->freelist == NULL);
  911|    160|    if (is_finalization) {
  ------------------
  |  Branch (911:9): [True: 0, False: 160]
  ------------------
  912|      0|        freelist->size = -1;
  913|      0|    }
  914|    160|}
object.c:free_object:
  918|  3.67k|{
  919|  3.67k|    PyObject *op = (PyObject *)obj;
  920|  3.67k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  3.67k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|  3.67k|    tp->tp_free(op);
  922|  3.67k|    Py_DECREF(tp);
  ------------------
  |  |  430|  3.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  3.67k|}
object.c:do_richcompare:
 1049|  23.3M|{
 1050|  23.3M|    richcmpfunc f;
 1051|  23.3M|    PyObject *res;
 1052|  23.3M|    int checked_reverse_op = 0;
 1053|       |
 1054|  23.3M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  46.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1054:9): [True: 5.86M, False: 17.4M]
  ------------------
 1055|  5.86M|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  5.86M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  5.86M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:9): [True: 406, False: 5.86M]
  ------------------
 1056|    406|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|    406|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    406|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    406|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 406, False: 0]
  ------------------
 1057|    406|        checked_reverse_op = 1;
 1058|    406|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1059|    406|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|    406|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1059:13): [True: 364, False: 42]
  ------------------
 1060|    364|            return res;
 1061|     42|        Py_DECREF(res);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|     42|    }
 1063|  23.3M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  23.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:9): [True: 23.3M, False: 0]
  ------------------
 1064|  23.3M|        res = (*f)(v, w, op);
 1065|  23.3M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  23.3M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1065:13): [True: 20.1M, False: 3.15M]
  ------------------
 1066|  20.1M|            return res;
 1067|  3.15M|        Py_DECREF(res);
  ------------------
  |  |  430|  3.15M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  3.15M|    }
 1069|  3.15M|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  3.15M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1069:9): [True: 3.15M, False: 42]
  |  Branch (1069:32): [True: 3.15M, False: 0]
  ------------------
 1070|  3.15M|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1071|  3.15M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  3.15M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 42.8k, False: 3.11M]
  ------------------
 1072|  42.8k|            return res;
 1073|  3.11M|        Py_DECREF(res);
  ------------------
  |  |  430|  3.11M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  3.11M|    }
 1075|       |    /* If neither object implements it, provide a sensible default
 1076|       |       for == and !=, but raise an exception for ordering. */
 1077|  3.11M|    switch (op) {
 1078|  3.11M|    case Py_EQ:
  ------------------
  |  |  654|  3.11M|#define Py_EQ 2
  ------------------
  |  Branch (1078:5): [True: 3.11M, False: 3]
  ------------------
 1079|  3.11M|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|  3.11M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   25|  3.11M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1079:15): [True: 0, False: 3.11M]
  ------------------
 1080|  3.11M|        break;
 1081|      3|    case Py_NE:
  ------------------
  |  |  655|      3|#define Py_NE 3
  ------------------
  |  Branch (1081:5): [True: 3, False: 3.11M]
  ------------------
 1082|      3|        res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   26|      3|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   25|      3|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1082:15): [True: 3, False: 0]
  ------------------
 1083|      3|        break;
 1084|      0|    default:
  ------------------
  |  Branch (1084:5): [True: 0, False: 3.11M]
  ------------------
 1085|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 1086|      0|                      "'%s' not supported between instances of '%.100s' and '%.100s'",
 1087|      0|                      opstrings[op],
 1088|      0|                      Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|      0|                      Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      0|        return NULL;
 1091|  3.11M|    }
 1092|  3.11M|    return Py_NewRef(res);
  ------------------
  |  |  550|  3.11M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|  3.11M|}
object.c:_dir_locals:
 2189|      2|{
 2190|      2|    PyObject *names;
 2191|      2|    PyObject *locals;
 2192|       |
 2193|      2|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2193:9): [True: 2, False: 0]
  ------------------
 2194|      2|        locals = _PyEval_GetFrameLocals();
 2195|      2|    }
 2196|      0|    else {
 2197|      0|        PyThreadState *tstate = _PyThreadState_GET();
 2198|      0|        locals = _PyEval_GetGlobalsFromRunningMain(tstate);
 2199|      0|        if (locals == NULL) {
  ------------------
  |  Branch (2199:13): [True: 0, False: 0]
  ------------------
 2200|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2200:17): [True: 0, False: 0]
  ------------------
 2201|      0|                locals = _PyEval_GetFrameLocals();
 2202|      0|                assert(_PyErr_Occurred(tstate));
 2203|      0|            }
 2204|      0|        }
 2205|      0|        else {
 2206|      0|            Py_INCREF(locals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2207|      0|        }
 2208|      0|    }
 2209|      2|    if (locals == NULL) {
  ------------------
  |  Branch (2209:9): [True: 0, False: 2]
  ------------------
 2210|      0|        return NULL;
 2211|      0|    }
 2212|       |
 2213|      2|    names = PyMapping_Keys(locals);
 2214|      2|    Py_DECREF(locals);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|      2|    if (!names) {
  ------------------
  |  Branch (2215:9): [True: 0, False: 2]
  ------------------
 2216|      0|        return NULL;
 2217|      0|    }
 2218|      2|    if (!PyList_Check(names)) {
  ------------------
  |  |   25|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2218:9): [True: 0, False: 2]
  ------------------
 2219|      0|        PyErr_Format(PyExc_TypeError,
 2220|      0|            "dir(): expected keys() of locals to be a list, "
 2221|      0|            "not '%.200s'", Py_TYPE(names)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|      0|        Py_DECREF(names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|        return NULL;
 2224|      0|    }
 2225|      2|    if (PyList_Sort(names)) {
  ------------------
  |  Branch (2225:9): [True: 0, False: 2]
  ------------------
 2226|      0|        Py_DECREF(names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|      0|        return NULL;
 2228|      0|    }
 2229|      2|    return names;
 2230|      2|}
object.c:_dir_object:
 2235|     14|{
 2236|     14|    PyObject *result, *sorted;
 2237|     14|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2238|       |
 2239|     14|    assert(obj != NULL);
 2240|     14|    if (dirfunc == NULL) {
  ------------------
  |  Branch (2240:9): [True: 0, False: 14]
  ------------------
 2241|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (2241:13): [True: 0, False: 0]
  ------------------
 2242|      0|            PyErr_SetString(PyExc_TypeError, "object does not provide __dir__");
 2243|      0|        return NULL;
 2244|      0|    }
 2245|       |    /* use __dir__ */
 2246|     14|    result = _PyObject_CallNoArgs(dirfunc);
 2247|     14|    Py_DECREF(dirfunc);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|     14|    if (result == NULL)
  ------------------
  |  Branch (2248:9): [True: 0, False: 14]
  ------------------
 2249|      0|        return NULL;
 2250|       |    /* return sorted(result) */
 2251|     14|    sorted = PySequence_List(result);
 2252|     14|    Py_DECREF(result);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|     14|    if (sorted == NULL)
  ------------------
  |  Branch (2253:9): [True: 0, False: 14]
  ------------------
 2254|      0|        return NULL;
 2255|     14|    if (PyList_Sort(sorted)) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 14]
  ------------------
 2256|      0|        Py_DECREF(sorted);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      0|        return NULL;
 2258|      0|    }
 2259|     14|    return sorted;
 2260|     14|}
object.c:none_repr:
 2281|  54.1k|{
 2282|  54.1k|    return PyUnicode_FromString("None");
 2283|  54.1k|}
object.c:none_hash:
 2312|  28.4k|{
 2313|  28.4k|    return 0xFCA86420;
 2314|  28.4k|}
object.c:new_reference:
 2727|   164M|{
 2728|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2729|   164M|#if !defined(Py_GIL_DISABLED)
 2730|   164M|#if SIZEOF_VOID_P > 4
 2731|   164M|    op->ob_refcnt_full = 1;
 2732|   164M|    assert(op->ob_refcnt == 1);
 2733|   164M|    assert(op->ob_flags == 0);
 2734|       |#else
 2735|       |    op->ob_refcnt = 1;
 2736|       |#endif
 2737|       |#else
 2738|       |    op->ob_flags = 0;
 2739|       |    op->ob_mutex = (PyMutex){ 0 };
 2740|       |#ifdef _Py_THREAD_SANITIZER
 2741|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
 2742|       |    _Py_atomic_store_uint8_relaxed(&op->ob_gc_bits, 0);
 2743|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
 2744|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2745|       |#else
 2746|       |    op->ob_tid = _Py_ThreadId();
 2747|       |    op->ob_gc_bits = 0;
 2748|       |    op->ob_ref_local = 1;
 2749|       |    op->ob_ref_shared = 0;
 2750|       |#endif
 2751|       |#endif
 2752|       |#ifdef Py_TRACE_REFS
 2753|       |    _Py_AddToAllObjects(op);
 2754|       |#endif
 2755|       |    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  112|   164M|    do { \
  |  |  113|   164M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   164M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 164M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   164M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 164M]
  |  |  ------------------
  ------------------
 2756|   164M|}

_PyMem_RawMalloc:
   59|   500k|{
   60|       |    /* PyMem_RawMalloc(0) means malloc(1). Some systems would return NULL
   61|       |       for malloc(0), which would be treated as an error. Some platforms would
   62|       |       return a pointer with no memory behind it, which would break pymalloc.
   63|       |       To solve these problems, allocate an extra byte. */
   64|   500k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 12.4k, False: 487k]
  ------------------
   65|  12.4k|        size = 1;
   66|   500k|    return malloc(size);
   67|   500k|}
_PyMem_RawCalloc:
   71|  58.5k|{
   72|       |    /* PyMem_RawCalloc(0, 0) means calloc(1, 1). Some systems would return NULL
   73|       |       for calloc(0, 0), which would be treated as an error. Some platforms
   74|       |       would return a pointer with no memory behind it, which would break
   75|       |       pymalloc.  To solve these problems, allocate an extra byte. */
   76|  58.5k|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 58.5k]
  |  Branch (76:23): [True: 0, False: 58.5k]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|  58.5k|    return calloc(nelem, elsize);
   81|  58.5k|}
_PyMem_RawRealloc:
   85|   189k|{
   86|   189k|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 189k]
  ------------------
   87|      0|        size = 1;
   88|   189k|    return realloc(ptr, size);
   89|   189k|}
_PyMem_RawFree:
   93|   545k|{
   94|   545k|    free(ptr);
   95|   545k|}
_PyMem_DefaultRawMalloc:
  469|     16|{
  470|       |#ifdef Py_DEBUG
  471|       |    return _PyMem_DebugRawMalloc(&_PyRuntime.allocators.debug.raw, size);
  472|       |#else
  473|       |    return _PyMem_RawMalloc(NULL, size);
  474|     16|#endif
  475|     16|}
_PyMem_DefaultRawFree:
  499|     18|{
  500|       |#ifdef Py_DEBUG
  501|       |    _PyMem_DebugRawFree(&_PyRuntime.allocators.debug.raw, ptr);
  502|       |#else
  503|       |    _PyMem_RawFree(NULL, ptr);
  504|     18|#endif
  505|     18|}
_PyMem_DefaultRawWcsdup:
  509|     12|{
  510|     12|    assert(str != NULL);
  511|       |
  512|     12|    size_t len = wcslen(str);
  513|     12|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     12|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (513:9): [True: 0, False: 12]
  ------------------
  514|      0|        return NULL;
  515|      0|    }
  516|       |
  517|     12|    size_t size = (len + 1) * sizeof(wchar_t);
  518|     12|    wchar_t *str2 = _PyMem_DefaultRawMalloc(size);
  519|     12|    if (str2 == NULL) {
  ------------------
  |  Branch (519:9): [True: 0, False: 12]
  ------------------
  520|      0|        return NULL;
  521|      0|    }
  522|       |
  523|     12|    memcpy(str2, str, size);
  524|     12|    return str2;
  525|     12|}
_PyMem_ArenaAlloc:
  621|     39|{
  622|       |#ifdef MS_WINDOWS
  623|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  624|       |    if (_PyRuntime.allocators.use_hugepages) {
  625|       |        SIZE_T lp_size = GetLargePageMinimum();
  626|       |        if (lp_size > 0 && size % lp_size == 0) {
  627|       |            void *ptr = VirtualAlloc(NULL, size,
  628|       |                            MEM_COMMIT | MEM_RESERVE | MEM_LARGE_PAGES,
  629|       |                            PAGE_READWRITE);
  630|       |            if (ptr != NULL)
  631|       |                return ptr;
  632|       |        }
  633|       |    }
  634|       |    /* Fall back to regular pages */
  635|       |#  endif
  636|       |    return VirtualAlloc(NULL, size,
  637|       |                        MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
  638|       |#elif defined(ARENAS_USE_MMAP)
  639|       |    void *ptr;
  640|       |#  ifdef PYMALLOC_USE_HUGEPAGES
  641|       |#    ifdef MAP_HUGETLB
  642|       |    if (_PyRuntime.allocators.use_hugepages) {
  643|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  644|       |        /* Only use huge pages if the arena size is a multiple of the
  645|       |         * system's default huge page size.  When the arena is smaller
  646|       |         * than the huge page, mmap still succeeds but silently
  647|       |         * allocates an entire huge page; the subsequent munmap with
  648|       |         * the smaller arena size then fails with EINVAL, leaking
  649|       |         * all of that memory. */
  650|       |        if (hp_size > 0 && size % hp_size == 0) {
  651|       |            ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  652|       |                       MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0);
  653|       |            if (ptr != MAP_FAILED) {
  654|       |                assert(ptr != NULL);
  655|       |                (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc:hugepage");
  656|       |                return ptr;
  657|       |            }
  658|       |        }
  659|       |    }
  660|       |    /* Fall back to regular pages */
  661|       |#    endif
  662|       |#  endif
  663|     39|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  664|     39|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  665|     39|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (665:9): [True: 0, False: 39]
  ------------------
  666|      0|        return NULL;
  667|     39|    assert(ptr != NULL);
  668|     39|#ifdef MADV_HUGEPAGE
  669|     39|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  670|     39|#endif
  671|     39|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  672|     39|    return ptr;
  673|       |#else
  674|       |    return malloc(size);
  675|       |#endif
  676|     39|}
PyMem_GetAllocator:
 1130|      2|{
 1131|      2|    PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   59|      2|#define PyMutex_Lock _PyMutex_Lock
  ------------------
                  PyMutex_Lock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  713|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1132|      2|    get_allocator_unlocked(domain, allocator);
 1133|      2|    PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
                  PyMutex_Unlock(&ALLOCATORS_MUTEX);
  ------------------
  |  |  713|      2|#define ALLOCATORS_MUTEX (_PyRuntime.allocators.mutex)
  ------------------
 1134|      2|}
_PyObject_VirtualAlloc:
 1181|      4|{
 1182|      4|    size_t alloc_size = _pymalloc_virtual_alloc_size(size);
 1183|      4|    if (alloc_size == 0 && size != 0) {
  ------------------
  |  Branch (1183:9): [True: 0, False: 4]
  |  Branch (1183:28): [True: 0, False: 0]
  ------------------
 1184|      0|        return NULL;
 1185|      0|    }
 1186|      4|    return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  718|      4|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  718|      4|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 1187|      4|}
PyMem_RawMalloc:
 1204|   500k|{
 1205|       |    /*
 1206|       |     * Limit ourselves to PY_SSIZE_T_MAX bytes to prevent security holes.
 1207|       |     * Most python internals blindly use a signed Py_ssize_t to track
 1208|       |     * things without checking for overflows or negatives.
 1209|       |     * As size_t is unsigned, checking for size < 0 is not required.
 1210|       |     */
 1211|   500k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   500k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1211:9): [True: 0, False: 500k]
  ------------------
 1212|      0|        return NULL;
 1213|   500k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  714|   500k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  714|   500k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1214|   500k|}
PyMem_RawCalloc:
 1218|  58.5k|{
 1219|       |    /* see PyMem_RawMalloc() */
 1220|  58.5k|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  58.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1220:9): [True: 58.5k, False: 0]
  |  Branch (1220:24): [True: 0, False: 58.5k]
  ------------------
 1221|      0|        return NULL;
 1222|  58.5k|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  714|  58.5k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  714|  58.5k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1223|  58.5k|}
PyMem_RawRealloc:
 1227|   189k|{
 1228|       |    /* see PyMem_RawMalloc() */
 1229|   189k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   189k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1229:9): [True: 0, False: 189k]
  ------------------
 1230|      0|        return NULL;
 1231|   189k|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  714|   189k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  714|   189k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1232|   189k|}
PyMem_RawFree:
 1235|   545k|{
 1236|   545k|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  714|   545k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  714|   545k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1237|   545k|}
PyMem_Malloc:
 1246|  10.0M|{
 1247|       |    /* see PyMem_RawMalloc() */
 1248|  10.0M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  10.0M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1248:9): [True: 0, False: 10.0M]
  ------------------
 1249|      0|        return NULL;
 1250|  10.0M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  10.0M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1251|  10.0M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  10.0M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1252|  10.0M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  10.0M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1253|  10.0M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  10.0M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1254|  10.0M|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  715|  10.0M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  715|  10.0M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1255|  10.0M|}
PyMem_Calloc:
 1259|  1.81M|{
 1260|       |    /* see PyMem_RawMalloc() */
 1261|  1.81M|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  1.81M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1261:9): [True: 1.81M, False: 0]
  |  Branch (1261:24): [True: 0, False: 1.81M]
  ------------------
 1262|      0|        return NULL;
 1263|  1.81M|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  1.81M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1264|  1.81M|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  1.81M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1265|  1.81M|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  1.81M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1266|  1.81M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  1.81M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1267|  1.81M|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  715|  1.81M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  715|  1.81M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1268|  1.81M|}
PyMem_Realloc:
 1272|  5.33M|{
 1273|       |    /* see PyMem_RawMalloc() */
 1274|  5.33M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  5.33M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1274:9): [True: 0, False: 5.33M]
  ------------------
 1275|      0|        return NULL;
 1276|  5.33M|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  715|  5.33M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  715|  5.33M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1277|  5.33M|}
PyMem_Free:
 1281|  14.8M|{
 1282|  14.8M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  14.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1283|  14.8M|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  715|  14.8M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  715|  14.8M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1284|  14.8M|}
_PyMem_RawWcsdup:
 1293|     80|{
 1294|     80|    assert(str != NULL);
 1295|       |
 1296|     80|    size_t len = wcslen(str);
 1297|     80|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     80|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1297:9): [True: 0, False: 80]
  ------------------
 1298|      0|        return NULL;
 1299|      0|    }
 1300|       |
 1301|     80|    size_t size = (len + 1) * sizeof(wchar_t);
 1302|     80|    wchar_t *str2 = PyMem_RawMalloc(size);
 1303|     80|    if (str2 == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 80]
  ------------------
 1304|      0|        return NULL;
 1305|      0|    }
 1306|       |
 1307|     80|    memcpy(str2, str, size);
 1308|     80|    return str2;
 1309|     80|}
_PyMem_RawStrdup:
 1313|      6|{
 1314|      6|    assert(str != NULL);
 1315|      6|    size_t size = strlen(str) + 1;
 1316|      6|    char *copy = PyMem_RawMalloc(size);
 1317|      6|    if (copy == NULL) {
  ------------------
  |  Branch (1317:9): [True: 0, False: 6]
  ------------------
 1318|      0|        return NULL;
 1319|      0|    }
 1320|      6|    memcpy(copy, str, size);
 1321|      6|    return copy;
 1322|      6|}
PyObject_Malloc:
 1698|  59.4M|{
 1699|       |    /* see PyMem_RawMalloc() */
 1700|  59.4M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  59.4M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1700:9): [True: 0, False: 59.4M]
  ------------------
 1701|      0|        return NULL;
 1702|  59.4M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  59.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1703|  59.4M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  59.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1704|  59.4M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  59.4M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1705|  59.4M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  59.4M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1706|  59.4M|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  716|  59.4M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  716|  59.4M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1707|  59.4M|}
PyObject_Realloc:
 1724|  1.59M|{
 1725|       |    /* see PyMem_RawMalloc() */
 1726|  1.59M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  1.59M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1726:9): [True: 0, False: 1.59M]
  ------------------
 1727|      0|        return NULL;
 1728|  1.59M|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  716|  1.59M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  716|  1.59M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1729|  1.59M|}
PyObject_Free:
 1733|  59.0M|{
 1734|  59.0M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  59.0M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1735|  59.0M|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  716|  59.0M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  716|  59.0M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1736|  59.0M|}
_PyObject_Malloc:
 2539|  75.8M|{
 2540|  75.8M|    OMState *state = get_state();
 2541|  75.8M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2542|  75.8M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1743|  75.8M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 75.3M, False: 442k]
  |  |  ------------------
  ------------------
 2543|  75.3M|        return ptr;
 2544|  75.3M|    }
 2545|       |
 2546|   442k|    ptr = PyMem_RawMalloc(nbytes);
 2547|   442k|    if (ptr != NULL) {
  ------------------
  |  Branch (2547:9): [True: 442k, False: 0]
  ------------------
 2548|   442k|        raw_allocated_blocks++;
  ------------------
  |  | 1793|   442k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2549|   442k|    }
 2550|   442k|    return ptr;
 2551|  75.8M|}
_PyObject_Calloc:
 2556|  1.81M|{
 2557|  1.81M|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
 2558|  1.81M|    size_t nbytes = nelem * elsize;
 2559|       |
 2560|  1.81M|    OMState *state = get_state();
 2561|  1.81M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2562|  1.81M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1743|  1.81M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 1.76M, False: 58.4k]
  |  |  ------------------
  ------------------
 2563|  1.76M|        memset(ptr, 0, nbytes);
 2564|  1.76M|        return ptr;
 2565|  1.76M|    }
 2566|       |
 2567|  58.4k|    ptr = PyMem_RawCalloc(nelem, elsize);
 2568|  58.4k|    if (ptr != NULL) {
  ------------------
  |  Branch (2568:9): [True: 58.4k, False: 0]
  ------------------
 2569|  58.4k|        raw_allocated_blocks++;
  ------------------
  |  | 1793|  58.4k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2570|  58.4k|    }
 2571|  58.4k|    return ptr;
 2572|  1.81M|}
_PyObject_Free:
 2821|  77.3M|{
 2822|       |    /* PyObject_Free(NULL) has no effect */
 2823|  77.3M|    if (p == NULL) {
  ------------------
  |  Branch (2823:9): [True: 19.1k, False: 77.2M]
  ------------------
 2824|  19.1k|        return;
 2825|  19.1k|    }
 2826|       |
 2827|  77.2M|    OMState *state = get_state();
 2828|  77.2M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1742|  77.2M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 489k, False: 76.8M]
  |  |  ------------------
  ------------------
 2829|       |        /* pymalloc didn't allocate this address */
 2830|   489k|        PyMem_RawFree(p);
 2831|   489k|        raw_allocated_blocks--;
  ------------------
  |  | 1793|   489k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2832|   489k|    }
 2833|  77.2M|}
_PyObject_Realloc:
 2909|  6.93M|{
 2910|  6.93M|    void *ptr2;
 2911|       |
 2912|  6.93M|    if (ptr == NULL) {
  ------------------
  |  Branch (2912:9): [True: 2.97M, False: 3.96M]
  ------------------
 2913|  2.97M|        return _PyObject_Malloc(ctx, nbytes);
 2914|  2.97M|    }
 2915|       |
 2916|  3.96M|    OMState *state = get_state();
 2917|  3.96M|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2917:9): [True: 3.77M, False: 189k]
  ------------------
 2918|  3.77M|        return ptr2;
 2919|  3.77M|    }
 2920|       |
 2921|   189k|    return PyMem_RawRealloc(ptr, nbytes);
 2922|  3.96M|}
_PyMem_init_obmalloc:
 3561|      2|{
 3562|      2|#ifdef WITH_PYMALLOC
 3563|       |    /* Initialize obmalloc, but only for subinterpreters,
 3564|       |       since the main interpreter is initialized statically. */
 3565|      2|    if (_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (3565:9): [True: 2, False: 0]
  ------------------
 3566|      0|            || _PyInterpreterState_HasFeature(interp,
  ------------------
  |  Branch (3566:16): [True: 0, False: 0]
  ------------------
 3567|      2|                                              Py_RTFLAGS_USE_MAIN_OBMALLOC)) {
  ------------------
  |  |   79|      0|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
 3568|      2|        interp->obmalloc = &obmalloc_state_main;
 3569|      2|        if (!obmalloc_state_initialized) {
  ------------------
  |  Branch (3569:13): [True: 2, False: 0]
  ------------------
 3570|      2|            init_obmalloc_pools(interp);
 3571|      2|            obmalloc_state_initialized = true;
 3572|      2|        }
 3573|      2|    } else {
 3574|      0|        interp->obmalloc = PyMem_RawCalloc(1, sizeof(struct _obmalloc_state));
 3575|      0|        if (interp->obmalloc == NULL) {
  ------------------
  |  Branch (3575:13): [True: 0, False: 0]
  ------------------
 3576|      0|            return -1;
 3577|      0|        }
 3578|      0|        init_obmalloc_pools(interp);
 3579|      0|    }
 3580|      2|#endif /* WITH_PYMALLOC */
 3581|      2|    return 0; // success
 3582|      2|}
obmalloc.c:get_allocator_unlocked:
 1100|      2|{
 1101|      2|    switch(domain)
 1102|      2|    {
 1103|      2|    case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break;
  ------------------
  |  |  714|      2|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
  |  Branch (1103:5): [True: 2, False: 0]
  ------------------
 1104|      0|    case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break;
  ------------------
  |  |  715|      0|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
  |  Branch (1104:5): [True: 0, False: 2]
  ------------------
 1105|      0|    case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break;
  ------------------
  |  |  716|      0|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
  |  Branch (1105:5): [True: 0, False: 2]
  ------------------
 1106|      0|    default:
  ------------------
  |  Branch (1106:5): [True: 0, False: 2]
  ------------------
 1107|       |        /* unknown domain: set all attributes to NULL */
 1108|      0|        allocator->ctx = NULL;
 1109|      0|        allocator->malloc = NULL;
 1110|      0|        allocator->calloc = NULL;
 1111|      0|        allocator->realloc = NULL;
 1112|       |        allocator->free = NULL;
 1113|      2|    }
 1114|      2|}
obmalloc.c:_pymalloc_virtual_alloc_size:
  600|      4|{
  601|       |#if defined(MS_WINDOWS) && defined(PYMALLOC_USE_HUGEPAGES)
  602|       |    if (_PyRuntime.allocators.use_hugepages) {
  603|       |        SIZE_T large_page_size = GetLargePageMinimum();
  604|       |        if (large_page_size > 0) {
  605|       |            return _pymalloc_round_up_to_multiple(size, (size_t)large_page_size);
  606|       |        }
  607|       |    }
  608|       |#elif defined(PYMALLOC_USE_HUGEPAGES) && defined(ARENAS_USE_MMAP) && defined(MAP_HUGETLB)
  609|       |    if (_PyRuntime.allocators.use_hugepages) {
  610|       |        size_t hp_size = _pymalloc_system_hugepage_size();
  611|       |        if (hp_size > 0) {
  612|       |            return _pymalloc_round_up_to_multiple(size, hp_size);
  613|       |        }
  614|       |    }
  615|       |#endif
  616|      4|    return size;
  617|      4|}
obmalloc.c:get_state:
 1777|   158M|{
 1778|   158M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1779|       |    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
 1780|   158M|    return interp->obmalloc;
 1781|   158M|}
obmalloc.c:pymalloc_alloc:
 2491|  77.6M|{
 2492|       |#ifdef WITH_VALGRIND
 2493|       |    if (UNLIKELY(running_on_valgrind == -1)) {
 2494|       |        running_on_valgrind = RUNNING_ON_VALGRIND;
 2495|       |    }
 2496|       |    if (UNLIKELY(running_on_valgrind)) {
 2497|       |        return NULL;
 2498|       |    }
 2499|       |#endif
 2500|       |
 2501|  77.6M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1742|  77.6M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 12.4k, False: 77.6M]
  |  |  ------------------
  ------------------
 2502|  12.4k|        return NULL;
 2503|  12.4k|    }
 2504|  77.6M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1742|  77.6M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 488k, False: 77.1M]
  |  |  ------------------
  ------------------
 2505|   488k|        return NULL;
 2506|   488k|    }
 2507|       |
 2508|  77.1M|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|  77.1M|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|  77.1M|#define ALIGNMENT_SHIFT         4
  ------------------
 2509|  77.1M|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1784|  77.1M|#define usedpools (state->pools.used)
  ------------------
 2510|  77.1M|    pymem_block *bp;
 2511|       |
 2512|  77.1M|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1743|  77.1M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 77.1M, False: 9.81k]
  |  |  ------------------
  ------------------
 2513|       |        /*
 2514|       |         * There is a used pool for this size class.
 2515|       |         * Pick up the head block of its free list.
 2516|       |         */
 2517|  77.1M|        ++pool->ref.count;
 2518|  77.1M|        bp = pool->freeblock;
 2519|  77.1M|        assert(bp != NULL);
 2520|       |
 2521|  77.1M|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1742|  77.1M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 15.6M, False: 61.4M]
  |  |  ------------------
  ------------------
 2522|       |            // Reached the end of the free list, try to extend it.
 2523|  15.6M|            pymalloc_pool_extend(pool, size);
 2524|  15.6M|        }
 2525|  77.1M|    }
 2526|  9.81k|    else {
 2527|       |        /* There isn't a pool of the right size class immediately
 2528|       |         * available:  use a free pool.
 2529|       |         */
 2530|  9.81k|        bp = allocate_from_new_pool(state, size);
 2531|  9.81k|    }
 2532|       |
 2533|  77.1M|    return (void *)bp;
 2534|  77.6M|}
obmalloc.c:pymalloc_pool_extend:
 2333|  15.6M|{
 2334|  15.6M|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1742|  15.6M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 372k, False: 15.3M]
  |  |  ------------------
  ------------------
 2335|       |        /* There is room for another block. */
 2336|   372k|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2337|   372k|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|   372k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|   372k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2338|   372k|        *(pymem_block **)(pool->freeblock) = NULL;
 2339|   372k|        return;
 2340|   372k|    }
 2341|       |
 2342|       |    /* Pool is full, unlink from used pools. */
 2343|  15.3M|    poolp next;
 2344|  15.3M|    next = pool->nextpool;
 2345|  15.3M|    pool = pool->prevpool;
 2346|  15.3M|    next->prevpool = pool;
 2347|  15.3M|    pool->nextpool = next;
 2348|  15.3M|}
obmalloc.c:allocate_from_new_pool:
 2355|  9.81k|{
 2356|       |    /* There isn't a pool of the right size class immediately
 2357|       |     * available:  use a free pool.
 2358|       |     */
 2359|  9.81k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1742|  9.81k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 35, False: 9.77k]
  |  |  ------------------
  ------------------
 2360|       |        /* No arena has a free pool:  allocate a new arena. */
 2361|       |#ifdef WITH_MEMORY_LIMITS
 2362|       |        if (narenas_currently_allocated >= MAX_ARENAS) {
 2363|       |            return NULL;
 2364|       |        }
 2365|       |#endif
 2366|     35|        usable_arenas = new_arena(state);
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2367|     35|        if (usable_arenas == NULL) {
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2367:13): [True: 0, False: 35]
  ------------------
 2368|      0|            return NULL;
 2369|      0|        }
 2370|     35|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2371|     35|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
 2372|     35|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1789|     35|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1788|     35|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2373|     35|    }
 2374|  9.81k|    assert(usable_arenas->address != 0);
 2375|       |
 2376|       |    /* This arena already had the smallest nfreepools value, so decreasing
 2377|       |     * nfreepools doesn't change that, and we don't need to rearrange the
 2378|       |     * usable_arenas list.  However, if the arena becomes wholly allocated,
 2379|       |     * we need to remove its arena_object from usable_arenas.
 2380|       |     */
 2381|  9.81k|    assert(usable_arenas->nfreepools > 0);
 2382|  9.81k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1789|  9.81k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1788|  9.81k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1788|  9.81k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2382:9): [True: 9.81k, False: 0]
  ------------------
 2383|       |        /* It's the last of this size, so there won't be any. */
 2384|  9.81k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1789|  9.81k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1788|  9.81k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2385|  9.81k|    }
 2386|       |    /* If any free pools will remain, it will be the new smallest. */
 2387|  9.81k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1788|  9.81k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2387:9): [True: 8.29k, False: 1.51k]
  ------------------
 2388|  8.29k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
 2389|  8.29k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1789|  8.29k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1788|  8.29k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1788|  8.29k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2390|  8.29k|    }
 2391|       |
 2392|       |    /* Try to get a cached free pool. */
 2393|  9.81k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1788|  9.81k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2394|  9.81k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1743|  9.81k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 7.68k, False: 2.13k]
  |  |  ------------------
  ------------------
 2395|       |        /* Unlink from cached pools. */
 2396|  7.68k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1788|  7.68k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2397|  7.68k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1788|  7.68k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2398|  7.68k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1742|  7.68k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 1.48k, False: 6.19k]
  |  |  ------------------
  ------------------
 2399|       |            /* Wholly allocated:  remove. */
 2400|  1.48k|            assert(usable_arenas->freepools == NULL);
 2401|  1.48k|            assert(usable_arenas->nextarena == NULL ||
 2402|  1.48k|                   usable_arenas->nextarena->prevarena ==
 2403|  1.48k|                   usable_arenas);
 2404|  1.48k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2405|  1.48k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2405:17): [True: 1.35k, False: 132]
  ------------------
 2406|  1.35k|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|  1.35k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2407|  1.35k|                assert(usable_arenas->address != 0);
 2408|  1.35k|            }
 2409|  1.48k|        }
 2410|  6.19k|        else {
 2411|       |            /* nfreepools > 0:  it must be that freepools
 2412|       |             * isn't NULL, or that we haven't yet carved
 2413|       |             * off all the arena's pools for the first
 2414|       |             * time.
 2415|       |             */
 2416|  6.19k|            assert(usable_arenas->freepools != NULL ||
 2417|  6.19k|                   usable_arenas->pool_address <=
 2418|  6.19k|                   (pymem_block*)usable_arenas->address +
 2419|  6.19k|                       ARENA_SIZE - POOL_SIZE);
 2420|  6.19k|        }
 2421|  7.68k|    }
 2422|  2.13k|    else {
 2423|       |        /* Carve off a new pool. */
 2424|  2.13k|        assert(usable_arenas->nfreepools > 0);
 2425|  2.13k|        assert(usable_arenas->freepools == NULL);
 2426|  2.13k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1788|  2.13k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2427|  2.13k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
 2428|  2.13k|                                 ARENA_SIZE - POOL_SIZE);
 2429|  2.13k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1788|  2.13k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1785|  2.13k|#define allarenas (state->mgmt.arenas)
  ------------------
 2430|  2.13k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
 2431|  2.13k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|  2.13k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2432|  2.13k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1788|  2.13k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|  2.13k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  2.13k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2433|  2.13k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1788|  2.13k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2434|       |
 2435|  2.13k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1788|  2.13k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2435:13): [True: 33, False: 2.10k]
  ------------------
 2436|     33|            assert(usable_arenas->nextarena == NULL ||
 2437|     33|                   usable_arenas->nextarena->prevarena ==
 2438|     33|                   usable_arenas);
 2439|       |            /* Unlink the arena:  it is completely allocated. */
 2440|     33|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|     33|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|     33|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2441|     33|            if (usable_arenas != NULL) {
  ------------------
  |  | 1788|     33|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2441:17): [True: 0, False: 33]
  ------------------
 2442|      0|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2443|      0|                assert(usable_arenas->address != 0);
 2444|      0|            }
 2445|     33|        }
 2446|  2.13k|    }
 2447|       |
 2448|       |    /* Frontlink to used pools. */
 2449|  9.81k|    pymem_block *bp;
 2450|  9.81k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1784|  9.81k|#define usedpools (state->pools.used)
  ------------------
 2451|  9.81k|    pool->nextpool = next;
 2452|  9.81k|    pool->prevpool = next;
 2453|  9.81k|    next->nextpool = pool;
 2454|  9.81k|    next->prevpool = pool;
 2455|  9.81k|    pool->ref.count = 1;
 2456|  9.81k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2456:9): [True: 7.15k, False: 2.65k]
  ------------------
 2457|       |        /* Luckily, this pool last contained blocks
 2458|       |         * of the same size class, so its header
 2459|       |         * and free list are already initialized.
 2460|       |         */
 2461|  7.15k|        bp = pool->freeblock;
 2462|  7.15k|        assert(bp != NULL);
 2463|  7.15k|        pool->freeblock = *(pymem_block **)bp;
 2464|  7.15k|        return bp;
 2465|  7.15k|    }
 2466|       |    /*
 2467|       |     * Initialize the pool header, set up the free list to
 2468|       |     * contain just the second block, and return the first
 2469|       |     * block.
 2470|       |     */
 2471|  2.65k|    pool->szidx = size;
 2472|  2.65k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|  2.65k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  2.65k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2473|  2.65k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|  2.65k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  2.65k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  2.65k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2474|  2.65k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|  2.65k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  2.65k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  2.65k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2475|  2.65k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|  2.65k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  2.65k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2476|  2.65k|    pool->freeblock = bp + size;
 2477|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2478|  2.65k|    return bp;
 2479|  9.81k|}
obmalloc.c:new_arena:
 2121|     35|{
 2122|     35|    struct arena_object* arenaobj;
 2123|     35|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|     35|#define uint pymem_uint
  ------------------
 2124|     35|    void *address;
 2125|       |
 2126|     35|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2127|     35|    if (debug_stats == -1) {
  ------------------
  |  Branch (2127:9): [True: 2, False: 33]
  ------------------
 2128|      2|        const char *opt = Py_GETENV("PYTHONMALLOCSTATS");
 2129|      2|        debug_stats = (opt != NULL && *opt != '\0');
  ------------------
  |  Branch (2129:24): [True: 0, False: 2]
  |  Branch (2129:39): [True: 0, False: 0]
  ------------------
 2130|      2|        _PyRuntime.obmalloc.dump_debug_stats = debug_stats;
 2131|      2|    }
 2132|     35|    if (debug_stats) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 35]
  ------------------
 2133|      0|        _PyObject_DebugMallocStats(stderr);
 2134|      0|    }
 2135|       |
 2136|     35|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1787|     35|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2136:9): [True: 4, False: 31]
  ------------------
 2137|      4|        uint i;
  ------------------
  |  |   35|      4|#define uint pymem_uint
  ------------------
 2138|      4|        uint numarenas;
  ------------------
  |  |   35|      4|#define uint pymem_uint
  ------------------
 2139|      4|        size_t nbytes;
 2140|       |
 2141|       |        /* Double the number of arena objects on each allocation.
 2142|       |         * Note that it's possible for `numarenas` to overflow.
 2143|       |         */
 2144|      4|        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1786|      4|#define maxarenas (state->mgmt.maxarenas)
  |  |  ------------------
  |  |  |  Branch (1786:19): [True: 2, False: 2]
  |  |  ------------------
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1786|      2|#define maxarenas (state->mgmt.maxarenas)
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  |  485|      6|#define INITIAL_ARENA_OBJECTS 16
  ------------------
 2145|      4|        if (numarenas <= maxarenas)
  ------------------
  |  | 1786|      4|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2145:13): [True: 0, False: 4]
  ------------------
 2146|      0|            return NULL;                /* overflow */
 2147|       |#if SIZEOF_SIZE_T <= SIZEOF_INT
 2148|       |        if (numarenas > SIZE_MAX / sizeof(*allarenas))
 2149|       |            return NULL;                /* overflow */
 2150|       |#endif
 2151|      4|        nbytes = numarenas * sizeof(*allarenas);
  ------------------
  |  | 1785|      4|#define allarenas (state->mgmt.arenas)
  ------------------
 2152|      4|        arenaobj = (struct arena_object *)PyMem_RawRealloc(allarenas, nbytes);
  ------------------
  |  | 1785|      4|#define allarenas (state->mgmt.arenas)
  ------------------
 2153|      4|        if (arenaobj == NULL)
  ------------------
  |  Branch (2153:13): [True: 0, False: 4]
  ------------------
 2154|      0|            return NULL;
 2155|      4|        allarenas = arenaobj;
  ------------------
  |  | 1785|      4|#define allarenas (state->mgmt.arenas)
  ------------------
 2156|       |
 2157|       |        /* We might need to fix pointers that were copied.  However,
 2158|       |         * new_arena only gets called when all the pages in the
 2159|       |         * previous arenas are full.  Thus, there are *no* pointers
 2160|       |         * into the old array. Thus, we don't have to worry about
 2161|       |         * invalid pointers.  Just to be sure, some asserts:
 2162|       |         */
 2163|      4|        assert(usable_arenas == NULL);
 2164|      4|        assert(unused_arena_objects == NULL);
 2165|       |
 2166|       |        /* Put the new arenas on the unused_arena_objects list. */
 2167|     68|        for (i = maxarenas; i < numarenas; ++i) {
  ------------------
  |  | 1786|      4|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2167:29): [True: 64, False: 4]
  ------------------
 2168|     64|            allarenas[i].address = 0;              /* mark as unassociated */
  ------------------
  |  | 1785|     64|#define allarenas (state->mgmt.arenas)
  ------------------
 2169|     64|            allarenas[i].nextarena = i < numarenas - 1 ?
  ------------------
  |  | 1785|     64|#define allarenas (state->mgmt.arenas)
  ------------------
  |  Branch (2169:38): [True: 60, False: 4]
  ------------------
 2170|     64|                                        &allarenas[i+1] : NULL;
  ------------------
  |  | 1785|     60|#define allarenas (state->mgmt.arenas)
  ------------------
 2171|     64|        }
 2172|       |
 2173|       |        /* Update globals. */
 2174|      4|        unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1787|      4|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1785|      4|#define allarenas (state->mgmt.arenas)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1786|      4|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2175|      4|        maxarenas = numarenas;
  ------------------
  |  | 1786|      4|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2176|      4|    }
 2177|       |
 2178|       |    /* Take the next available arena object off the head of the list. */
 2179|     35|    assert(unused_arena_objects != NULL);
 2180|     35|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1787|     35|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2181|     35|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1787|     35|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2182|     35|    assert(arenaobj->address == 0);
 2183|     35|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  718|     35|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  718|     35|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|     35|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2184|     35|#if WITH_PYMALLOC_RADIX_TREE
 2185|     35|    if (address != NULL) {
  ------------------
  |  Branch (2185:9): [True: 35, False: 0]
  ------------------
 2186|     35|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2186:13): [True: 0, False: 35]
  ------------------
 2187|       |            /* marking arena in radix tree failed, abort */
 2188|      0|            _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  718|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                          _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  718|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                          _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
  ------------------
  |  |  225|      0|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|      0|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2189|      0|            address = NULL;
 2190|      0|        }
 2191|     35|    }
 2192|     35|#endif
 2193|     35|    if (address == NULL) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 35]
  ------------------
 2194|       |        /* The allocation failed: return NULL after putting the
 2195|       |         * arenaobj back.
 2196|       |         */
 2197|      0|        arenaobj->nextarena = unused_arena_objects;
  ------------------
  |  | 1787|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2198|      0|        unused_arena_objects = arenaobj;
  ------------------
  |  | 1787|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2199|      0|        return NULL;
 2200|      0|    }
 2201|     35|    arenaobj->address = (uintptr_t)address;
 2202|       |
 2203|     35|    ++narenas_currently_allocated;
  ------------------
  |  | 1790|     35|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2204|     35|    ++ntimes_arena_allocated;
  ------------------
  |  | 1791|     35|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2205|     35|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1790|     35|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1792|     35|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2205:9): [True: 35, False: 0]
  ------------------
 2206|     35|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1792|     35|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1790|     35|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2207|     35|    arenaobj->freepools = NULL;
 2208|       |    /* pool_address <- first pool-aligned address in the arena
 2209|       |       nfreepools <- number of whole pools that fit after alignment */
 2210|     35|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2211|     35|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|     35|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|     35|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|     35|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|     35|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|     35|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|     35|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|     35|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|     35|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|     35|    if (excess != 0) {
  ------------------
  |  Branch (2213:9): [True: 20, False: 15]
  ------------------
 2214|     20|        --arenaobj->nfreepools;
 2215|     20|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|     20|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|     20|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2216|     20|    }
 2217|     35|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2218|       |
 2219|     35|    return arenaobj;
 2220|     35|}
obmalloc.c:arena_map_mark_used:
 2050|     35|{
 2051|       |    /* sanity check that IGNORE_BITS is correct */
 2052|     35|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
 2053|     35|    arena_map_bot_t *n_hi = arena_map_get(
 2054|     35|            state, (pymem_block *)arena_base, is_used);
 2055|     35|    if (n_hi == NULL) {
  ------------------
  |  Branch (2055:9): [True: 0, False: 35]
  ------------------
 2056|      0|        assert(is_used); /* otherwise node should already exist */
 2057|      0|        return 0; /* failed to allocate space for node */
 2058|      0|    }
 2059|     35|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|     35|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|     35|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|     35|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|     35|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|     35|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|     35|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|     35|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|     35|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|     35|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|     35|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|     35|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|     35|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|     35|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2060|     35|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|     35|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|     35|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     35|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|     35|    if (tail == 0) {
  ------------------
  |  Branch (2061:9): [True: 3, False: 32]
  ------------------
 2062|       |        /* is ideal arena address */
 2063|      3|        n_hi->arenas[i3].tail_hi = is_used ? -1 : 0;
  ------------------
  |  Branch (2063:36): [True: 3, False: 0]
  ------------------
 2064|      3|    }
 2065|     32|    else {
 2066|       |        /* arena_base address is not ideal (aligned to arena size) and
 2067|       |         * so it potentially covers two MAP_BOT nodes.  Get the MAP_BOT node
 2068|       |         * for the next arena.  Note that it might be in different MAP_TOP
 2069|       |         * and MAP_MID nodes as well so we need to call arena_map_get()
 2070|       |         * again (do the full tree traversal).
 2071|       |         */
 2072|     32|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2072:36): [True: 32, False: 0]
  ------------------
 2073|     32|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|     32|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|     32|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2074|       |        /* If arena_base is a legit arena address, so is arena_base_next - 1
 2075|       |         * (last address in arena).  If arena_base_next overflows then it
 2076|       |         * must overflow to 0.  However, that would mean arena_base was
 2077|       |         * "ideal" and we should not be in this case. */
 2078|     32|        assert(arena_base < arena_base_next);
 2079|     32|        arena_map_bot_t *n_lo = arena_map_get(
 2080|     32|                state, (pymem_block *)arena_base_next, is_used);
 2081|     32|        if (n_lo == NULL) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 32]
  ------------------
 2082|      0|            assert(is_used); /* otherwise should already exist */
 2083|      0|            n_hi->arenas[i3].tail_hi = 0;
 2084|      0|            return 0; /* failed to allocate space for node */
 2085|      0|        }
 2086|     32|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|     32|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|     32|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|     32|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|     32|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|     32|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|     32|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|     32|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|     32|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|     32|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|     32|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|     32|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|     32|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|     32|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|     32|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|     32|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|     32|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2087|     32|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2087:41): [True: 32, False: 0]
  ------------------
 2088|     32|    }
 2089|     35|    return 1;
 2090|     35|}
obmalloc.c:arena_map_get:
 1989|  81.2M|{
 1990|  81.2M|#ifdef USE_INTERIOR_NODES
 1991|       |    /* sanity check that IGNORE_BITS is correct */
 1992|  81.2M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
 1993|  81.2M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|  81.2M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|  81.2M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|  81.2M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|  81.2M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  81.2M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  81.2M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  81.2M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  81.2M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|  81.2M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|  81.2M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|  81.2M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|  81.2M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  81.2M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|  81.2M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1979|  81.2M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (1994:9): [True: 2, False: 81.2M]
  ------------------
 1995|      2|        if (!create) {
  ------------------
  |  Branch (1995:13): [True: 0, False: 2]
  ------------------
 1996|      0|            return NULL;
 1997|      0|        }
 1998|      2|        arena_map_mid_t *n = PyMem_RawCalloc(1, sizeof(arena_map_mid_t));
 1999|      2|        if (n == NULL) {
  ------------------
  |  Branch (1999:13): [True: 0, False: 2]
  ------------------
 2000|      0|            return NULL;
 2001|      0|        }
 2002|      2|        arena_map_root.ptrs[i1] = n;
  ------------------
  |  | 1979|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2003|      2|        arena_map_mid_count++;
  ------------------
  |  | 1981|      2|#define arena_map_mid_count (state->usage.arena_map_mid_count)
  ------------------
 2004|      2|    }
 2005|  81.2M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|  81.2M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|  81.2M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|  81.2M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|  81.2M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  81.2M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|  81.2M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|  81.2M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|  81.2M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|  81.2M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  81.2M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  81.2M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  81.2M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  81.2M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  81.2M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  81.2M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1979|  81.2M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2006:9): [True: 678k, False: 80.5M]
  ------------------
 2007|   678k|        if (!create) {
  ------------------
  |  Branch (2007:13): [True: 678k, False: 2]
  ------------------
 2008|   678k|            return NULL;
 2009|   678k|        }
 2010|      2|        arena_map_bot_t *n = PyMem_RawCalloc(1, sizeof(arena_map_bot_t));
 2011|      2|        if (n == NULL) {
  ------------------
  |  Branch (2011:13): [True: 0, False: 2]
  ------------------
 2012|      0|            return NULL;
 2013|      0|        }
 2014|      2|        arena_map_root.ptrs[i1]->ptrs[i2] = n;
  ------------------
  |  | 1979|      2|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2015|      2|        arena_map_bot_count++;
  ------------------
  |  | 1982|      2|#define arena_map_bot_count (state->usage.arena_map_bot_count)
  ------------------
 2016|      2|    }
 2017|  80.5M|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1979|  80.5M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2018|       |#else
 2019|       |    return &arena_map_root;
 2020|       |#endif
 2021|  81.2M|}
obmalloc.c:pymalloc_free:
 2763|  77.2M|{
 2764|  77.2M|    assert(p != NULL);
 2765|       |
 2766|       |#ifdef WITH_VALGRIND
 2767|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2768|       |        return 0;
 2769|       |    }
 2770|       |#endif
 2771|       |
 2772|  77.2M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|  77.2M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  77.2M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2773|  77.2M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1742|  77.2M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 489k, False: 76.8M]
  |  |  ------------------
  ------------------
 2774|   489k|        return 0;
 2775|   489k|    }
 2776|       |    /* We allocated this address. */
 2777|       |
 2778|       |    /* Link p to the start of the pool's freeblock list.  Since
 2779|       |     * the pool had at least the p block outstanding, the pool
 2780|       |     * wasn't empty (so it's already in a usedpools[] list, or
 2781|       |     * was full and is in no list -- it's not in the freeblocks
 2782|       |     * list in any case).
 2783|       |     */
 2784|  77.2M|    assert(pool->ref.count > 0);            /* else it was empty */
 2785|  76.8M|    pymem_block *lastfree = pool->freeblock;
 2786|  76.8M|    *(pymem_block **)p = lastfree;
 2787|  76.8M|    pool->freeblock = (pymem_block *)p;
 2788|  76.8M|    pool->ref.count--;
 2789|       |
 2790|  76.8M|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1742|  76.8M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 15.3M, False: 61.5M]
  |  |  ------------------
  ------------------
 2791|       |        /* Pool was full, so doesn't currently live in any list:
 2792|       |         * link it to the front of the appropriate usedpools[] list.
 2793|       |         * This mimics LRU pool usage for new allocations and
 2794|       |         * targets optimal filling when several pools contain
 2795|       |         * blocks of the same size class.
 2796|       |         */
 2797|  15.3M|        insert_to_usedpool(state, pool);
 2798|  15.3M|        return 1;
 2799|  15.3M|    }
 2800|       |
 2801|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2802|       |     * and the pool is in a usedpools[] list.
 2803|       |     */
 2804|  61.5M|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1743|  61.5M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 61.4M, False: 7.69k]
  |  |  ------------------
  ------------------
 2805|       |        /* pool isn't empty:  leave it in usedpools */
 2806|  61.4M|        return 1;
 2807|  61.4M|    }
 2808|       |
 2809|       |    /* Pool is now empty:  unlink from usedpools, and
 2810|       |     * link to the front of freepools.  This ensures that
 2811|       |     * previously freed pools will be allocated later
 2812|       |     * (being not referenced, they are perhaps paged out).
 2813|       |     */
 2814|  7.69k|    insert_to_freepool(state, pool);
 2815|  7.69k|    return 1;
 2816|  61.5M|}
obmalloc.c:address_in_range:
 2230|  81.2M|{
 2231|  81.2M|    return arena_map_is_used(state, p);
 2232|  81.2M|}
obmalloc.c:arena_map_is_used:
 2096|  81.2M|{
 2097|  81.2M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2098|  81.2M|    if (n == NULL) {
  ------------------
  |  Branch (2098:9): [True: 678k, False: 80.5M]
  ------------------
 2099|   678k|        return 0;
 2100|   678k|    }
 2101|  80.5M|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|  80.5M|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  80.5M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  80.5M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  80.5M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  80.5M|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  80.5M|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  80.5M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  80.5M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  80.5M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  80.5M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  80.5M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  80.5M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  80.5M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  80.5M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  80.5M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  80.5M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2103|  80.5M|    int32_t hi = n->arenas[i3].tail_hi;
 2104|  80.5M|    int32_t lo = n->arenas[i3].tail_lo;
 2105|  80.5M|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|  80.5M|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|  80.5M|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|  80.5M|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  80.5M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|  80.5M|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2106:12): [True: 5.19M, False: 75.3M]
  |  Branch (2106:28): [True: 75.3M, False: 17]
  |  Branch (2106:42): [True: 75.3M, False: 8]
  ------------------
 2107|  81.2M|}
obmalloc.c:insert_to_usedpool:
 2577|  15.3M|{
 2578|  15.3M|    assert(pool->ref.count > 0);            /* else the pool is empty */
 2579|       |
 2580|  15.3M|    uint size = pool->szidx;
  ------------------
  |  |   35|  15.3M|#define uint pymem_uint
  ------------------
 2581|  15.3M|    poolp next = usedpools[size + size];
  ------------------
  |  | 1784|  15.3M|#define usedpools (state->pools.used)
  ------------------
 2582|  15.3M|    poolp prev = next->prevpool;
 2583|       |
 2584|       |    /* insert pool before next:   prev <-> pool <-> next */
 2585|  15.3M|    pool->nextpool = next;
 2586|  15.3M|    pool->prevpool = prev;
 2587|  15.3M|    next->prevpool = pool;
 2588|  15.3M|    prev->nextpool = pool;
 2589|  15.3M|}
obmalloc.c:insert_to_freepool:
 2593|  7.69k|{
 2594|  7.69k|    poolp next = pool->nextpool;
 2595|  7.69k|    poolp prev = pool->prevpool;
 2596|  7.69k|    next->prevpool = prev;
 2597|  7.69k|    prev->nextpool = next;
 2598|       |
 2599|       |    /* Link the pool to freepools.  This is a singly-linked
 2600|       |     * list, and pool->prevpool isn't used there.
 2601|       |     */
 2602|  7.69k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1785|  7.69k|#define allarenas (state->mgmt.arenas)
  ------------------
 2603|  7.69k|    pool->nextpool = ao->freepools;
 2604|  7.69k|    ao->freepools = pool;
 2605|  7.69k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|  7.69k|#define uint pymem_uint
  ------------------
 2606|       |    /* If this is the rightmost arena with this number of free pools,
 2607|       |     * nfp2lasta[nf] needs to change.  Caution:  if nf is 0, there
 2608|       |     * are no arenas in usable_arenas with that value.
 2609|       |     */
 2610|  7.69k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1789|  7.69k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2611|  7.69k|    assert((nf == 0 && lastnf == NULL) ||
 2612|  7.69k|           (nf > 0 &&
 2613|  7.69k|            lastnf != NULL &&
 2614|  7.69k|            lastnf->nfreepools == nf &&
 2615|  7.69k|            (lastnf->nextarena == NULL ||
 2616|  7.69k|             nf < lastnf->nextarena->nfreepools)));
 2617|  7.69k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2617:9): [True: 6.21k, False: 1.48k]
  ------------------
 2618|  6.21k|        struct arena_object* p = ao->prevarena;
 2619|  6.21k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1789|  6.21k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2619:26): [True: 37, False: 6.17k]
  |  Branch (2619:39): [True: 0, False: 37]
  ------------------
 2620|  6.21k|    }
 2621|  7.69k|    ao->nfreepools = ++nf;
 2622|       |
 2623|       |    /* All the rest is arena management.  We just freed
 2624|       |     * a pool, and there are 4 cases for arena mgmt:
 2625|       |     * 1. If all the pools are free, return the arena to
 2626|       |     *    the system free().  Except if this is the last
 2627|       |     *    arena in the list, keep it to avoid thrashing:
 2628|       |     *    keeping one wholly free arena in the list avoids
 2629|       |     *    pathological cases where a simple loop would
 2630|       |     *    otherwise provoke needing to allocate and free an
 2631|       |     *    arena on every iteration.  See bpo-37257.
 2632|       |     * 2. If this is the only free pool in the arena,
 2633|       |     *    add the arena back to the `usable_arenas` list.
 2634|       |     * 3. If the "next" arena has a smaller count of free
 2635|       |     *    pools, we have to "slide this arena right" to
 2636|       |     *    restore that usable_arenas is sorted in order of
 2637|       |     *    nfreepools.
 2638|       |     * 4. Else there's nothing more to do.
 2639|       |     */
 2640|  7.69k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2640:9): [True: 77, False: 7.61k]
  |  Branch (2640:34): [True: 0, False: 77]
  ------------------
 2641|       |        /* Case 1.  First unlink ao from usable_arenas.
 2642|       |         */
 2643|      0|        assert(ao->prevarena == NULL ||
 2644|      0|               ao->prevarena->address != 0);
 2645|      0|        assert(ao ->nextarena == NULL ||
 2646|      0|               ao->nextarena->address != 0);
 2647|       |
 2648|       |        /* Fix the pointer in the prevarena, or the
 2649|       |         * usable_arenas pointer.
 2650|       |         */
 2651|      0|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2651:13): [True: 0, False: 0]
  ------------------
 2652|      0|            usable_arenas = ao->nextarena;
  ------------------
  |  | 1788|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2653|      0|            assert(usable_arenas == NULL ||
 2654|      0|                   usable_arenas->address != 0);
 2655|      0|        }
 2656|      0|        else {
 2657|      0|            assert(ao->prevarena->nextarena == ao);
 2658|      0|            ao->prevarena->nextarena =
 2659|      0|                ao->nextarena;
 2660|      0|        }
 2661|       |        /* Fix the pointer in the nextarena. */
 2662|      0|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2662:13): [True: 0, False: 0]
  ------------------
 2663|      0|            assert(ao->nextarena->prevarena == ao);
 2664|      0|            ao->nextarena->prevarena =
 2665|      0|                ao->prevarena;
 2666|      0|        }
 2667|       |        /* Record that this arena_object slot is
 2668|       |         * available to be reused.
 2669|       |         */
 2670|      0|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1787|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2671|      0|        unused_arena_objects = ao;
  ------------------
  |  | 1787|      0|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2672|       |
 2673|      0|#if WITH_PYMALLOC_RADIX_TREE
 2674|       |        /* mark arena region as not under control of obmalloc */
 2675|      0|        arena_map_mark_used(state, ao->address, 0);
 2676|      0|#endif
 2677|       |
 2678|       |        /* Free the entire arena. */
 2679|      0|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  718|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  718|      0|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2680|      0|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|      0|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|      0|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2681|      0|        ao->address = 0;                        /* mark unassociated */
 2682|      0|        --narenas_currently_allocated;
  ------------------
  |  | 1790|      0|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2683|       |
 2684|      0|        return;
 2685|      0|    }
 2686|       |
 2687|  7.69k|    if (nf == 1) {
  ------------------
  |  Branch (2687:9): [True: 1.48k, False: 6.21k]
  ------------------
 2688|       |        /* Case 2.  Put ao at the head of
 2689|       |         * usable_arenas.  Note that because
 2690|       |         * ao->nfreepools was 0 before, ao isn't
 2691|       |         * currently on the usable_arenas list.
 2692|       |         */
 2693|  1.48k|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2694|  1.48k|        ao->prevarena = NULL;
 2695|  1.48k|        if (usable_arenas)
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1788:23): [True: 1.35k, False: 132]
  |  |  ------------------
  ------------------
 2696|  1.35k|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1788|  1.35k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2697|  1.48k|        usable_arenas = ao;
  ------------------
  |  | 1788|  1.48k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2698|  1.48k|        assert(usable_arenas->address != 0);
 2699|  1.48k|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1789|  1.48k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2699:13): [True: 1.48k, False: 0]
  ------------------
 2700|  1.48k|            nfp2lasta[1] = ao;
  ------------------
  |  | 1789|  1.48k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2701|  1.48k|        }
 2702|       |
 2703|  1.48k|        return;
 2704|  1.48k|    }
 2705|       |
 2706|       |    /* If this arena is now out of order, we need to keep
 2707|       |     * the list sorted.  The list is kept sorted so that
 2708|       |     * the "most full" arenas are used first, which allows
 2709|       |     * the nearly empty arenas to be completely freed.  In
 2710|       |     * a few un-scientific tests, it seems like this
 2711|       |     * approach allowed a lot more memory to be freed.
 2712|       |     */
 2713|       |    /* If this is the only arena with nf, record that. */
 2714|  6.21k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1789|  6.21k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2714:9): [True: 6.21k, False: 0]
  ------------------
 2715|  6.21k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1789|  6.21k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2716|  6.21k|    } /* else the rightmost with nf doesn't change */
 2717|       |    /* If this was the rightmost of the old size, it remains in place. */
 2718|  6.21k|    if (ao == lastnf) {
  ------------------
  |  Branch (2718:9): [True: 6.21k, False: 0]
  ------------------
 2719|       |        /* Case 4.  Nothing to do. */
 2720|  6.21k|        return;
 2721|  6.21k|    }
 2722|       |    /* If ao were the only arena in the list, the last block would have
 2723|       |     * gotten us out.
 2724|       |     */
 2725|  6.21k|    assert(ao->nextarena != NULL);
 2726|       |
 2727|       |    /* Case 3:  We have to move the arena towards the end of the list,
 2728|       |     * because it has more free pools than the arena to its right.  It needs
 2729|       |     * to move to follow lastnf.
 2730|       |     * First unlink ao from usable_arenas.
 2731|       |     */
 2732|      0|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2732:9): [True: 0, False: 0]
  ------------------
 2733|       |        /* ao isn't at the head of the list */
 2734|      0|        assert(ao->prevarena->nextarena == ao);
 2735|      0|        ao->prevarena->nextarena = ao->nextarena;
 2736|      0|    }
 2737|      0|    else {
 2738|       |        /* ao is at the head of the list */
 2739|      0|        assert(usable_arenas == ao);
 2740|      0|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1788|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2741|      0|    }
 2742|      0|    ao->nextarena->prevarena = ao->prevarena;
 2743|       |    /* And insert after lastnf. */
 2744|      0|    ao->prevarena = lastnf;
 2745|      0|    ao->nextarena = lastnf->nextarena;
 2746|      0|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2746:9): [True: 0, False: 0]
  ------------------
 2747|      0|        ao->nextarena->prevarena = ao;
 2748|      0|    }
 2749|      0|    lastnf->nextarena = ao;
 2750|       |    /* Verify that the swaps worked. */
 2751|      0|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
 2752|      0|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
 2753|      0|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
 2754|       |    assert((usable_arenas == ao && ao->prevarena == NULL)
 2755|      0|           || ao->prevarena->nextarena == ao);
 2756|      0|}
obmalloc.c:pymalloc_realloc:
 2848|  3.96M|{
 2849|  3.96M|    void *bp;
 2850|  3.96M|    poolp pool;
 2851|  3.96M|    size_t size;
 2852|       |
 2853|  3.96M|    assert(p != NULL);
 2854|       |
 2855|       |#ifdef WITH_VALGRIND
 2856|       |    /* Treat running_on_valgrind == -1 the same as 0 */
 2857|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2858|       |        return 0;
 2859|       |    }
 2860|       |#endif
 2861|       |
 2862|  3.96M|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  3.96M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  3.96M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2863|  3.96M|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2863:9): [True: 189k, False: 3.77M]
  ------------------
 2864|       |        /* pymalloc is not managing this block.
 2865|       |
 2866|       |           If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take
 2867|       |           over this block.  However, if we do, we need to copy the valid data
 2868|       |           from the C-managed block to one of our blocks, and there's no
 2869|       |           portable way to know how much of the memory space starting at p is
 2870|       |           valid.
 2871|       |
 2872|       |           As bug 1185883 pointed out the hard way, it's possible that the
 2873|       |           C-managed block is "at the end" of allocated VM space, so that a
 2874|       |           memory fault can occur if we try to copy nbytes bytes starting at p.
 2875|       |           Instead we punt: let C continue to manage this block. */
 2876|   189k|        return 0;
 2877|   189k|    }
 2878|       |
 2879|       |    /* pymalloc is in charge of this block */
 2880|  3.77M|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  3.77M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  3.77M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2881|  3.77M|    if (nbytes <= size) {
  ------------------
  |  Branch (2881:9): [True: 1.80M, False: 1.96M]
  ------------------
 2882|       |        /* The block is staying the same or shrinking.
 2883|       |
 2884|       |           If it's shrinking, there's a tradeoff: it costs cycles to copy the
 2885|       |           block to a smaller size class, but it wastes memory not to copy it.
 2886|       |
 2887|       |           The compromise here is to copy on shrink only if at least 25% of
 2888|       |           size can be shaved off. */
 2889|  1.80M|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2889:13): [True: 347k, False: 1.46M]
  ------------------
 2890|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2891|   347k|            *newptr_p = p;
 2892|   347k|            return 1;
 2893|   347k|        }
 2894|  1.46M|        size = nbytes;
 2895|  1.46M|    }
 2896|       |
 2897|  3.42M|    bp = _PyObject_Malloc(ctx, nbytes);
 2898|  3.42M|    if (bp != NULL) {
  ------------------
  |  Branch (2898:9): [True: 3.42M, False: 0]
  ------------------
 2899|  3.42M|        memcpy(bp, p, size);
 2900|  3.42M|        _PyObject_Free(ctx, p);
 2901|  3.42M|    }
 2902|  3.42M|    *newptr_p = bp;
 2903|  3.42M|    return 1;
 2904|  3.77M|}
obmalloc.c:init_obmalloc_pools:
 3551|      2|{
 3552|       |    // initialize the obmalloc->pools structure.  This must be done
 3553|       |    // before the obmalloc alloc/free functions can be called.
 3554|      2|    poolp temp[OBMALLOC_USED_POOLS_SIZE] =
 3555|      2|        _obmalloc_pools_INIT(interp->obmalloc->pools);
  ------------------
  |  |   40|      2|    { PT_8(p, 0), PT_8(p, 8), PT_8(p, 16), PT_8(p, 24) }
  |  |  ------------------
  |  |  |  |   20|      2|    PT(p, start), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   21|      2|    PT(p, start+1), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   22|      2|    PT(p, start+2), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   23|      2|    PT(p, start+3), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   24|      2|    PT(p, start+4), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   25|      2|    PT(p, start+5), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   26|      2|    PT(p, start+6), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   27|      2|    PT(p, start+7)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   { PT_8(p, 0), PT_8(p, 8), PT_8(p, 16), PT_8(p, 24) }
  |  |  ------------------
  |  |  |  |   20|      2|    PT(p, start), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   21|      2|    PT(p, start+1), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   22|      2|    PT(p, start+2), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   23|      2|    PT(p, start+3), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   24|      2|    PT(p, start+4), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   25|      2|    PT(p, start+5), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   26|      2|    PT(p, start+6), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   27|      2|    PT(p, start+7)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   { PT_8(p, 0), PT_8(p, 8), PT_8(p, 16), PT_8(p, 24) }
  |  |  ------------------
  |  |  |  |   20|      2|    PT(p, start), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   21|      2|    PT(p, start+1), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   22|      2|    PT(p, start+2), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   23|      2|    PT(p, start+3), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   24|      2|    PT(p, start+4), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   25|      2|    PT(p, start+5), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   26|      2|    PT(p, start+6), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   27|      2|    PT(p, start+7)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   { PT_8(p, 0), PT_8(p, 8), PT_8(p, 16), PT_8(p, 24) }
  |  |  ------------------
  |  |  |  |   20|      2|    PT(p, start), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   21|      2|    PT(p, start+1), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   22|      2|    PT(p, start+2), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   23|      2|    PT(p, start+3), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   24|      2|    PT(p, start+4), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   25|      2|    PT(p, start+5), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   26|      2|    PT(p, start+6), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   27|      2|    PT(p, start+7)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|      2|#define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PT(p, x)   PTA(p, x), PTA(p, x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    ((poolp )((uint8_t *)&(pools.used[2*(x)]) - 2*sizeof(pymem_block *)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      2|    memcpy(&interp->obmalloc->pools.used, temp, sizeof(temp));
 3557|      2|}

PyODict_SetItem:
 1652|  16.6k|{
 1653|  16.6k|    int res;
 1654|  16.6k|    Py_BEGIN_CRITICAL_SECTION(od);
  ------------------
  |  |   51|  16.6k|    {
  ------------------
 1655|  16.6k|    res = PyODict_SetItem_LockHeld(od, key, value);
 1656|  16.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.6k|    }
  ------------------
 1657|  16.6k|    return res;
 1658|  16.6k|}
odictobject.c:odict_dealloc:
 1409|  12.1k|{
 1410|  12.1k|    PyODictObject *self = _PyODictObject_CAST(op);
  ------------------
  |  |  504|  12.1k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1411|  12.1k|    PyObject_GC_UnTrack(self);
 1412|       |
 1413|  12.1k|    Py_XDECREF(self->od_inst_dict);
  ------------------
  |  |  524|  12.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1414|  12.1k|    FT_CLEAR_WEAKREFS(op, self->od_weakreflist);
  ------------------
  |  |   47|  12.1k|    do {                                            \
  |  |   48|  12.1k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  12.1k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 12.1k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  12.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 12.1k]
  |  |  ------------------
  ------------------
 1415|       |
 1416|  12.1k|    _odict_clear_nodes(self);
 1417|  12.1k|    PyDict_Type.tp_dealloc((PyObject *)self);
 1418|  12.1k|}
odictobject.c:_odict_clear_nodes:
  796|  12.1k|{
  797|  12.1k|    _ODictNode *node, *next;
  798|       |
  799|  12.1k|    PyMem_Free(od->od_fast_nodes);
  800|  12.1k|    od->od_fast_nodes = NULL;
  801|  12.1k|    od->od_fast_nodes_size = 0;
  802|  12.1k|    od->od_resize_sentinel = NULL;
  803|       |
  804|  12.1k|    node = _odict_FIRST(od);
  ------------------
  |  |  528|  12.1k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  12.1k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|  12.1k|    _odict_FIRST(od) = NULL;
  ------------------
  |  |  528|  12.1k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  12.1k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|  12.1k|    _odict_LAST(od) = NULL;
  ------------------
  |  |  529|  12.1k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  12.1k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  807|  28.7k|    while (node != NULL) {
  ------------------
  |  Branch (807:12): [True: 16.6k, False: 12.1k]
  ------------------
  808|  16.6k|        next = _odictnode_NEXT(node);
  ------------------
  |  |  526|  16.6k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  809|  16.6k|        _odictnode_DEALLOC(node);
  ------------------
  |  |  720|  16.6k|    do { \
  |  |  721|  16.6k|        Py_DECREF(_odictnode_KEY(node)); \
  |  |  ------------------
  |  |  |  |  430|  16.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  722|  16.6k|        PyMem_Free((void *)node); \
  |  |  723|  16.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (723:14): [Folded, False: 16.6k]
  |  |  ------------------
  ------------------
  810|  16.6k|        node = next;
  811|  16.6k|    }
  812|  12.1k|    od->od_state++;
  813|  12.1k|}
odictobject.c:mutablemapping_update_arg:
 2270|  8.08k|{
 2271|  8.08k|    int res = 0;
 2272|  8.08k|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|  8.08k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  8.08k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  16.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 8.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|  8.08k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  8.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 8.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2273|      0|        PyObject *items = PyDict_Items(arg);
 2274|      0|        if (items == NULL) {
  ------------------
  |  Branch (2274:13): [True: 0, False: 0]
  ------------------
 2275|      0|            return -1;
 2276|      0|        }
 2277|      0|        res = mutablemapping_add_pairs(self, items);
 2278|      0|        Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|      0|        return res;
 2280|      0|    }
 2281|  8.08k|    PyObject *func;
 2282|  8.08k|    if (PyObject_GetOptionalAttr(arg, &_Py_ID(keys), &func) < 0) {
  ------------------
  |  |  919|  8.08k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.08k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.08k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2282:9): [True: 0, False: 8.08k]
  ------------------
 2283|      0|        return -1;
 2284|      0|    }
 2285|  8.08k|    if (func != NULL) {
  ------------------
  |  Branch (2285:9): [True: 0, False: 8.08k]
  ------------------
 2286|      0|        PyObject *keys = _PyObject_CallNoArgs(func);
 2287|      0|        Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2288|      0|        if (keys == NULL) {
  ------------------
  |  Branch (2288:13): [True: 0, False: 0]
  ------------------
 2289|      0|            return -1;
 2290|      0|        }
 2291|      0|        PyObject *iterator = PyObject_GetIter(keys);
 2292|      0|        Py_DECREF(keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2293|      0|        if (iterator == NULL) {
  ------------------
  |  Branch (2293:13): [True: 0, False: 0]
  ------------------
 2294|      0|            return -1;
 2295|      0|        }
 2296|      0|        PyObject *key;
 2297|      0|        while (res == 0 && (key = PyIter_Next(iterator))) {
  ------------------
  |  Branch (2297:16): [True: 0, False: 0]
  |  Branch (2297:28): [True: 0, False: 0]
  ------------------
 2298|      0|            PyObject *value = PyObject_GetItem(arg, key);
 2299|      0|            if (value != NULL) {
  ------------------
  |  Branch (2299:17): [True: 0, False: 0]
  ------------------
 2300|      0|                res = PyObject_SetItem(self, key, value);
 2301|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2302|      0|            }
 2303|      0|            else {
 2304|      0|                res = -1;
 2305|      0|            }
 2306|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2307|      0|        }
 2308|      0|        Py_DECREF(iterator);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2309|      0|        if (res != 0 || PyErr_Occurred()) {
  ------------------
  |  Branch (2309:13): [True: 0, False: 0]
  |  Branch (2309:25): [True: 0, False: 0]
  ------------------
 2310|      0|            return -1;
 2311|      0|        }
 2312|      0|        return 0;
 2313|      0|    }
 2314|  8.08k|    if (PyObject_GetOptionalAttr(arg, &_Py_ID(items), &func) < 0) {
  ------------------
  |  |  919|  8.08k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.08k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.08k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2314:9): [True: 0, False: 8.08k]
  ------------------
 2315|      0|        return -1;
 2316|      0|    }
 2317|  8.08k|    if (func != NULL) {
  ------------------
  |  Branch (2317:9): [True: 0, False: 8.08k]
  ------------------
 2318|      0|        PyObject *items = _PyObject_CallNoArgs(func);
 2319|      0|        Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      0|        if (items == NULL) {
  ------------------
  |  Branch (2320:13): [True: 0, False: 0]
  ------------------
 2321|      0|            return -1;
 2322|      0|        }
 2323|      0|        res = mutablemapping_add_pairs(self, items);
 2324|      0|        Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2325|      0|        return res;
 2326|      0|    }
 2327|  8.08k|    res = mutablemapping_add_pairs(self, arg);
 2328|  8.08k|    return res;
 2329|  8.08k|}
odictobject.c:mutablemapping_add_pairs:
 2208|  8.08k|{
 2209|  8.08k|    PyObject *pair, *iterator, *unexpected;
 2210|  8.08k|    int res = 0;
 2211|       |
 2212|  8.08k|    iterator = PyObject_GetIter(pairs);
 2213|  8.08k|    if (iterator == NULL)
  ------------------
  |  Branch (2213:9): [True: 0, False: 8.08k]
  ------------------
 2214|      0|        return -1;
 2215|  8.08k|    PyErr_Clear();
 2216|       |
 2217|  20.4k|    while ((pair = PyIter_Next(iterator)) != NULL) {
  ------------------
  |  Branch (2217:12): [True: 12.3k, False: 8.08k]
  ------------------
 2218|       |        /* could be more efficient (see UNPACK_SEQUENCE in ceval.c) */
 2219|  12.3k|        PyObject *key = NULL, *value = NULL;
 2220|  12.3k|        PyObject *pair_iterator = PyObject_GetIter(pair);
 2221|  12.3k|        if (pair_iterator == NULL)
  ------------------
  |  Branch (2221:13): [True: 0, False: 12.3k]
  ------------------
 2222|      0|            goto Done;
 2223|       |
 2224|  12.3k|        key = PyIter_Next(pair_iterator);
 2225|  12.3k|        if (key == NULL) {
  ------------------
  |  Branch (2225:13): [True: 0, False: 12.3k]
  ------------------
 2226|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (2226:17): [True: 0, False: 0]
  ------------------
 2227|      0|                PyErr_SetString(PyExc_ValueError,
 2228|      0|                                "need more than 0 values to unpack");
 2229|      0|            goto Done;
 2230|      0|        }
 2231|       |
 2232|  12.3k|        value = PyIter_Next(pair_iterator);
 2233|  12.3k|        if (value == NULL) {
  ------------------
  |  Branch (2233:13): [True: 0, False: 12.3k]
  ------------------
 2234|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (2234:17): [True: 0, False: 0]
  ------------------
 2235|      0|                PyErr_SetString(PyExc_ValueError,
 2236|      0|                                "need more than 1 value to unpack");
 2237|      0|            goto Done;
 2238|      0|        }
 2239|       |
 2240|  12.3k|        unexpected = PyIter_Next(pair_iterator);
 2241|  12.3k|        if (unexpected != NULL) {
  ------------------
  |  Branch (2241:13): [True: 0, False: 12.3k]
  ------------------
 2242|      0|            Py_DECREF(unexpected);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      0|            PyErr_SetString(PyExc_ValueError,
 2244|      0|                            "too many values to unpack (expected 2)");
 2245|      0|            goto Done;
 2246|      0|        }
 2247|  12.3k|        else if (PyErr_Occurred())
  ------------------
  |  Branch (2247:18): [True: 0, False: 12.3k]
  ------------------
 2248|      0|            goto Done;
 2249|       |
 2250|  12.3k|        res = PyObject_SetItem(self, key, value);
 2251|       |
 2252|  12.3k|Done:
 2253|  12.3k|        Py_DECREF(pair);
  ------------------
  |  |  430|  12.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|  12.3k|        Py_XDECREF(pair_iterator);
  ------------------
  |  |  524|  12.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|  12.3k|        Py_XDECREF(key);
  ------------------
  |  |  524|  12.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|  12.3k|        Py_XDECREF(value);
  ------------------
  |  |  524|  12.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|  12.3k|        if (PyErr_Occurred())
  ------------------
  |  Branch (2257:13): [True: 0, False: 12.3k]
  ------------------
 2258|      0|            break;
 2259|  12.3k|    }
 2260|  8.08k|    Py_DECREF(iterator);
  ------------------
  |  |  430|  8.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|       |
 2262|  8.08k|    if (res < 0 || PyErr_Occurred() != NULL)
  ------------------
  |  Branch (2262:9): [True: 0, False: 8.08k]
  |  Branch (2262:20): [True: 0, False: 8.08k]
  ------------------
 2263|      0|        return -1;
 2264|  8.08k|    else
 2265|  8.08k|        return 0;
 2266|  8.08k|}
odictobject.c:odict_mp_ass_sub:
  874|  16.6k|{
  875|  16.6k|    if (w == NULL)
  ------------------
  |  Branch (875:9): [True: 0, False: 16.6k]
  ------------------
  876|      0|        return PyODict_DelItem(od, v);
  877|  16.6k|    else
  878|  16.6k|        return PyODict_SetItem(od, v, w);
  879|  16.6k|}
odictobject.c:odict_traverse:
 1461|    216|{
 1462|    216|    PyODictObject *od = _PyODictObject_CAST(op);
  ------------------
  |  |  504|    216|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1463|    216|    _ODictNode *node;
 1464|       |
 1465|    216|    Py_VISIT(od->od_inst_dict);
  ------------------
  |  |  194|    216|    do {                                                                \
  |  |  195|    216|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 216]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    216|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 216]
  |  |  ------------------
  ------------------
 1466|    562|    _odict_FOREACH(od, node) {
  ------------------
  |  |  532|    778|    for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  528|    216|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|    216|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  526|    562|#define _odictnode_NEXT(node) (node->next)
  |  |  ------------------
  |  |  |  Branch (532:35): [True: 562, False: 216]
  |  |  ------------------
  ------------------
 1467|    562|        Py_VISIT(_odictnode_KEY(node));
  ------------------
  |  |  194|    562|    do {                                                                \
  |  |  195|    562|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 562, False: 0]
  |  |  ------------------
  |  |  196|    562|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    562|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 562]
  |  |  ------------------
  |  |  198|    562|                return vret;                                            \
  |  |  199|    562|        }                                                               \
  |  |  200|    562|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 562]
  |  |  ------------------
  ------------------
 1468|    562|    }
 1469|    216|    return PyDict_Type.tp_traverse((PyObject *)od, visit, arg);
 1470|    216|}
odictobject.c:odict_iter:
 1535|  8.07k|{
 1536|  8.07k|    return odictiter_new(_PyODictObject_CAST(op), _odict_ITER_KEYS);
  ------------------
  |  |  504|  8.07k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return odictiter_new(_PyODictObject_CAST(op), _odict_ITER_KEYS);
  ------------------
  |  | 1294|  8.07k|#define _odict_ITER_KEYS 2
  ------------------
 1537|  8.07k|}
odictobject.c:odictiter_new:
 1924|  52.4k|{
 1925|  52.4k|    odictiterobject *di;
 1926|  52.4k|    _ODictNode *node;
 1927|  52.4k|    int reversed = kind & _odict_ITER_REVERSED;
  ------------------
  |  | 1293|  52.4k|#define _odict_ITER_REVERSED 1
  ------------------
 1928|       |
 1929|  52.4k|    di = PyObject_GC_New(odictiterobject, &PyODictIter_Type);
  ------------------
  |  |  181|  52.4k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1930|  52.4k|    if (di == NULL)
  ------------------
  |  Branch (1930:9): [True: 0, False: 52.4k]
  ------------------
 1931|      0|        return NULL;
 1932|       |
 1933|  52.4k|    if ((kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1296|  52.4k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  52.4k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1295|  52.4k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
                  if ((kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1296|  52.4k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  52.4k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1295|  52.4k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
  |  Branch (1933:9): [True: 4, False: 52.4k]
  ------------------
 1934|      4|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1935|      4|        if (di->di_result == NULL) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 4]
  ------------------
 1936|      0|            Py_DECREF(di);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|      0|            return NULL;
 1938|      0|        }
 1939|      4|    }
 1940|  52.4k|    else {
 1941|  52.4k|        di->di_result = NULL;
 1942|  52.4k|    }
 1943|       |
 1944|  52.4k|    di->kind = kind;
 1945|  52.4k|    node = reversed ? _odict_LAST(od) : _odict_FIRST(od);
  ------------------
  |  |  529|      0|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|      0|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  node = reversed ? _odict_LAST(od) : _odict_FIRST(od);
  ------------------
  |  |  528|   104k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  52.4k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1945:12): [True: 0, False: 52.4k]
  ------------------
 1946|  52.4k|    di->di_current = node ? Py_NewRef(_odictnode_KEY(node)) : NULL;
  ------------------
  |  |  550|  52.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  52.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1946:22): [True: 52.2k, False: 270]
  ------------------
 1947|  52.4k|    di->di_size = PyODict_SIZE(od);
  ------------------
  |  |   23|  52.4k|#define PyODict_SIZE(op) PyDict_GET_SIZE((op))
  |  |  ------------------
  |  |  |  |   63|  52.4k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|  52.4k|    di->di_state = od->od_state;
 1949|  52.4k|    di->di_odict = (PyODictObject*)Py_NewRef(od);
  ------------------
  |  |  550|  52.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1950|       |
 1951|  52.4k|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  508|  52.4k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|  52.4k|    return (PyObject *)di;
 1953|  52.4k|}
odictobject.c:OrderedDict_pop_impl:
 1134|      2|{
 1135|      2|    Py_hash_t hash = PyObject_Hash(key);
 1136|      2|    if (hash == -1)
  ------------------
  |  Branch (1136:9): [True: 0, False: 2]
  ------------------
 1137|      0|        return NULL;
 1138|      2|    return _odict_popkey_hash((PyObject *)self, key, default_value, hash);
 1139|      2|}
odictobject.c:_odict_popkey_hash:
 1082|      2|{
 1083|      2|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
 1084|       |
 1085|      2|    PyObject *value = NULL;
 1086|      2|    _ODictNode *node = _odict_find_node_hash(_PyODictObject_CAST(od), key, hash);
  ------------------
  |  |  504|      2|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1087|      2|    if (node != NULL) {
  ------------------
  |  Branch (1087:9): [True: 2, False: 0]
  ------------------
 1088|       |        /* Pop the node first to avoid a possible dict resize (due to
 1089|       |           eval loop reentrancy) and complications due to hash collision
 1090|       |           resolution. */
 1091|      2|        int res = _odict_clear_node(_PyODictObject_CAST(od), node, key, hash);
  ------------------
  |  |  504|      2|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1092|      2|        if (res < 0) {
  ------------------
  |  Branch (1092:13): [True: 0, False: 2]
  ------------------
 1093|      0|            goto done;
 1094|      0|        }
 1095|       |        /* Now delete the value from the dict. */
 1096|      2|        if (_PyDict_Pop_KnownHash((PyDictObject *)od, key, hash,
  ------------------
  |  Branch (1096:13): [True: 0, False: 2]
  ------------------
 1097|      2|                                  &value) == 0) {
 1098|      0|            value = Py_NewRef(failobj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|        }
 1100|      2|    }
 1101|      0|    else if (value == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1101:14): [True: 0, False: 0]
  |  Branch (1101:31): [True: 0, False: 0]
  ------------------
 1102|       |        /* Apply the fallback value, if necessary. */
 1103|      0|        if (failobj) {
  ------------------
  |  Branch (1103:13): [True: 0, False: 0]
  ------------------
 1104|      0|            value = Py_NewRef(failobj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      0|        }
 1106|      0|        else {
 1107|      0|            PyErr_SetObject(PyExc_KeyError, key);
 1108|      0|        }
 1109|      0|    }
 1110|      2|done:
 1111|       |
 1112|      2|    return value;
 1113|      2|}
odictobject.c:_odict_find_node_hash:
  620|      2|{
  621|      2|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  622|      2|    Py_ssize_t index;
  623|       |
  624|      2|    if (_odict_EMPTY(od))
  ------------------
  |  |  530|      2|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|      2|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|      2|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  625|      0|        return NULL;
  626|      2|    index = _odict_get_index(od, key, hash);
  627|      2|    if (index < 0)
  ------------------
  |  Branch (627:9): [True: 0, False: 2]
  ------------------
  628|      0|        return NULL;
  629|      2|    assert(od->od_fast_nodes != NULL);
  630|      2|    return od->od_fast_nodes[index];
  631|      2|}
odictobject.c:_odict_get_index:
  599|  1.39M|{
  600|  1.39M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  601|  1.39M|    PyDictKeysObject *keys;
  602|       |
  603|  1.39M|    assert(key != NULL);
  604|  1.39M|    keys = ((PyDictObject *)od)->ma_keys;
  605|       |
  606|       |    /* Ensure od_fast_nodes and dk_entries are in sync. */
  607|  1.39M|    if (od->od_resize_sentinel != keys ||
  ------------------
  |  Branch (607:9): [True: 12.1k, False: 1.37M]
  ------------------
  608|  1.37M|        od->od_fast_nodes_size != (ONE << (keys->dk_log2_size))) {
  ------------------
  |  |  557|  1.37M|#define ONE ((Py_ssize_t)1)
  ------------------
  |  Branch (608:9): [True: 0, False: 1.37M]
  ------------------
  609|  12.1k|        int resize_res = _odict_resize(od);
  610|  12.1k|        if (resize_res < 0)
  ------------------
  |  Branch (610:13): [True: 0, False: 12.1k]
  ------------------
  611|      0|            return -1;
  612|  12.1k|    }
  613|       |
  614|  1.39M|    return _odict_get_index_raw(od, key, hash);
  615|  1.39M|}
odictobject.c:_odict_resize:
  562|  12.1k|{
  563|  12.1k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  564|  12.1k|    Py_ssize_t size, i;
  565|  12.1k|    _ODictNode **fast_nodes, *node;
  566|       |
  567|       |    /* Initialize a new "fast nodes" table. */
  568|  12.1k|    size = ONE << (((PyDictObject *)od)->ma_keys->dk_log2_size);
  ------------------
  |  |  557|  12.1k|#define ONE ((Py_ssize_t)1)
  ------------------
  569|  12.1k|    fast_nodes = PyMem_NEW(_ODictNode *, size);
  ------------------
  |  |   82|  12.1k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  12.1k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  12.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 12.1k]
  |  |  |  |  ------------------
  |  |  |  |   65|  12.1k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  570|  12.1k|    if (fast_nodes == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 12.1k]
  ------------------
  571|      0|        PyErr_NoMemory();
  572|      0|        return -1;
  573|      0|    }
  574|   109k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (574:17): [True: 97.6k, False: 12.1k]
  ------------------
  575|  97.6k|        fast_nodes[i] = NULL;
  576|       |
  577|       |    /* Copy the current nodes into the table. */
  578|  12.1k|    _odict_FOREACH(od, node) {
  ------------------
  |  |  532|  12.4k|    for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  528|  12.1k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  12.1k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  526|    285|#define _odictnode_NEXT(node) (node->next)
  |  |  ------------------
  |  |  |  Branch (532:35): [True: 285, False: 12.1k]
  |  |  ------------------
  ------------------
  579|    285|        i = _odict_get_index_raw(od, _odictnode_KEY(node),
  ------------------
  |  |  519|    285|    (node->key)
  ------------------
  580|    285|                                 _odictnode_HASH(node));
  ------------------
  |  |  521|    285|    (node->hash)
  ------------------
  581|    285|        if (i < 0) {
  ------------------
  |  Branch (581:13): [True: 0, False: 285]
  ------------------
  582|      0|            PyMem_Free(fast_nodes);
  583|      0|            return -1;
  584|      0|        }
  585|    285|        fast_nodes[i] = node;
  586|    285|    }
  587|       |
  588|       |    /* Replace the old fast nodes table. */
  589|  12.1k|    PyMem_Free(od->od_fast_nodes);
  590|  12.1k|    od->od_fast_nodes = fast_nodes;
  591|  12.1k|    od->od_fast_nodes_size = size;
  592|  12.1k|    od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys;
  593|  12.1k|    return 0;
  594|  12.1k|}
odictobject.c:_odict_get_index_raw:
  537|  1.39M|{
  538|  1.39M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  539|  1.39M|    PyObject *value = NULL;
  540|  1.39M|    PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys;
  541|  1.39M|    Py_ssize_t ix;
  542|       |#ifdef Py_GIL_DISABLED
  543|       |    ix = _Py_dict_lookup_threadsafe((PyDictObject *)od, key, hash, &value);
  544|       |    Py_XDECREF(value);
  545|       |#else
  546|  1.39M|    ix = _Py_dict_lookup((PyDictObject *)od, key, hash, &value);
  547|  1.39M|#endif
  548|  1.39M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  1.39M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (548:9): [True: 0, False: 1.39M]
  ------------------
  549|      0|        return keys->dk_nentries;  /* index of new entry */
  550|      0|    }
  551|  1.39M|    if (ix < 0)
  ------------------
  |  Branch (551:9): [True: 0, False: 1.39M]
  ------------------
  552|      0|        return -1;
  553|       |    /* We use pointer arithmetic to get the entry's index into the table. */
  554|  1.39M|    return ix;
  555|  1.39M|}
odictobject.c:odictvalues_new:
 2158|  44.3k|{
 2159|  44.3k|    return _PyDictView_New(od, &PyODictValues_Type);
 2160|  44.3k|}
odictobject.c:odictitems_new:
 2089|      4|{
 2090|      4|    return _PyDictView_New(od, &PyODictItems_Type);
 2091|      4|}
odictobject.c:mutablemapping_update:
 2333|  12.1k|{
 2334|  12.1k|    int res;
 2335|       |    /* first handle args, if any */
 2336|  12.1k|    assert(args == NULL || PyTuple_Check(args));
 2337|  12.1k|    Py_ssize_t len = (args != NULL) ? PyTuple_GET_SIZE(args) : 0;
  ------------------
  |  |   27|  12.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2337:22): [True: 12.1k, False: 0]
  ------------------
 2338|  12.1k|    if (len > 1) {
  ------------------
  |  Branch (2338:9): [True: 0, False: 12.1k]
  ------------------
 2339|      0|        const char *msg = "update() takes at most 1 positional argument (%zd given)";
 2340|      0|        PyErr_Format(PyExc_TypeError, msg, len);
 2341|      0|        return NULL;
 2342|      0|    }
 2343|       |
 2344|  12.1k|    if (len) {
  ------------------
  |  Branch (2344:9): [True: 8.08k, False: 4.05k]
  ------------------
 2345|  8.08k|        PyObject *other = PyTuple_GET_ITEM(args, 0);  /* borrowed reference */
  ------------------
  |  |   29|  8.08k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  8.08k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|  8.08k|        assert(other != NULL);
 2347|  8.08k|        Py_INCREF(other);
  ------------------
  |  |  310|  8.08k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|  8.08k|        res = mutablemapping_update_arg(self, other);
 2349|  8.08k|        Py_DECREF(other);
  ------------------
  |  |  430|  8.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2350|  8.08k|        if (res < 0) {
  ------------------
  |  Branch (2350:13): [True: 0, False: 8.08k]
  ------------------
 2351|      0|            return NULL;
 2352|      0|        }
 2353|  8.08k|    }
 2354|       |
 2355|       |    /* now handle kwargs */
 2356|  12.1k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2357|  12.1k|    if (kwargs != NULL && PyDict_GET_SIZE(kwargs)) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2357:9): [True: 0, False: 12.1k]
  ------------------
 2358|      0|        PyObject *items = PyDict_Items(kwargs);
 2359|      0|        if (items == NULL)
  ------------------
  |  Branch (2359:13): [True: 0, False: 0]
  ------------------
 2360|      0|            return NULL;
 2361|      0|        res = mutablemapping_add_pairs(self, items);
 2362|      0|        Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2363|      0|        if (res == -1)
  ------------------
  |  Branch (2363:13): [True: 0, False: 0]
  ------------------
 2364|      0|            return NULL;
 2365|      0|    }
 2366|       |
 2367|  12.1k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  12.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  12.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2368|  12.1k|}
odictobject.c:_PyODict_SetItem_KnownHash_LockHeld:
 1623|  16.6k|{
 1624|  16.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
 1625|  16.6k|    int res = _PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)od, key, value, hash);
 1626|  16.6k|    if (res == 0) {
  ------------------
  |  Branch (1626:9): [True: 16.6k, False: 0]
  ------------------
 1627|  16.6k|        res = _odict_add_new_node(_PyODictObject_CAST(od), key, hash);
  ------------------
  |  |  504|  16.6k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1628|  16.6k|        if (res < 0) {
  ------------------
  |  Branch (1628:13): [True: 0, False: 16.6k]
  ------------------
 1629|       |            /* Revert setting the value on the dict */
 1630|      0|            PyObject *exc = PyErr_GetRaisedException();
 1631|      0|            (void) _PyDict_DelItem_KnownHash(od, key, hash);
 1632|      0|            _PyErr_ChainExceptions1(exc);
 1633|      0|        }
 1634|  16.6k|    }
 1635|  16.6k|    return res;
 1636|  16.6k|}
odictobject.c:_odict_add_new_node:
  683|  16.6k|{
  684|  16.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  685|  16.6k|    Py_ssize_t i;
  686|  16.6k|    _ODictNode *node;
  687|       |
  688|  16.6k|    Py_INCREF(key);
  ------------------
  |  |  310|  16.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|  16.6k|    i = _odict_get_index(od, key, hash);
  690|  16.6k|    if (i < 0) {
  ------------------
  |  Branch (690:9): [True: 0, False: 16.6k]
  ------------------
  691|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (691:13): [True: 0, False: 0]
  ------------------
  692|      0|            PyErr_SetObject(PyExc_KeyError, key);
  693|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      0|        return -1;
  695|      0|    }
  696|  16.6k|    assert(od->od_fast_nodes != NULL);
  697|  16.6k|    if (od->od_fast_nodes[i] != NULL) {
  ------------------
  |  Branch (697:9): [True: 0, False: 16.6k]
  ------------------
  698|       |        /* We already have a node for the key so there's no need to add one. */
  699|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|      0|        return 0;
  701|      0|    }
  702|       |
  703|       |    /* must not be added yet */
  704|  16.6k|    node = (_ODictNode *)PyMem_Malloc(sizeof(_ODictNode));
  705|  16.6k|    if (node == NULL) {
  ------------------
  |  Branch (705:9): [True: 0, False: 16.6k]
  ------------------
  706|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|      0|        PyErr_NoMemory();
  708|      0|        return -1;
  709|      0|    }
  710|       |
  711|  16.6k|    _odictnode_KEY(node) = key;
  ------------------
  |  |  519|  16.6k|    (node->key)
  ------------------
  712|  16.6k|    _odictnode_HASH(node) = hash;
  ------------------
  |  |  521|  16.6k|    (node->hash)
  ------------------
  713|  16.6k|    _odict_add_tail(od, node);
  714|  16.6k|    od->od_fast_nodes[i] = node;
  715|  16.6k|    return 0;
  716|  16.6k|}
odictobject.c:_odict_add_tail:
  668|   199k|{
  669|   199k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  670|   199k|    _odictnode_PREV(node) = _odict_LAST(od);
  ------------------
  |  |  525|   199k|#define _odictnode_PREV(node) (node->prev)
  ------------------
                  _odictnode_PREV(node) = _odict_LAST(od);
  ------------------
  |  |  529|   199k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   199k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|   199k|    _odictnode_NEXT(node) = NULL;
  ------------------
  |  |  526|   199k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  672|   199k|    if (_odict_LAST(od) == NULL)
  ------------------
  |  |  529|   199k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   199k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (672:9): [True: 12.0k, False: 187k]
  ------------------
  673|  12.0k|        _odict_FIRST(od) = node;
  ------------------
  |  |  528|  12.0k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  12.0k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|   187k|    else
  675|   187k|        _odictnode_NEXT(_odict_LAST(od)) = node;
  ------------------
  |  |  526|   187k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  676|   199k|    _odict_LAST(od) = node;
  ------------------
  |  |  529|   199k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   199k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|   199k|    od->od_state++;
  678|   199k|}
odictobject.c:OrderedDict_move_to_end_impl:
 1326|  1.32M|{
 1327|  1.32M|    _ODictNode *node;
 1328|       |
 1329|  1.32M|    if (_odict_EMPTY(self)) {
  ------------------
  |  |  530|  1.32M|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|  1.32M|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  1.32M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 1.32M]
  |  |  ------------------
  ------------------
 1330|      0|        PyErr_SetObject(PyExc_KeyError, key);
 1331|      0|        return NULL;
 1332|      0|    }
 1333|  1.32M|    node = last ? _odict_LAST(self) : _odict_FIRST(self);
  ------------------
  |  |  529|  1.32M|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  1.32M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  node = last ? _odict_LAST(self) : _odict_FIRST(self);
  ------------------
  |  |  528|  1.32M|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|      0|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1333:12): [True: 1.32M, False: 0]
  ------------------
 1334|  1.32M|    if (key != _odictnode_KEY(node)) {
  ------------------
  |  |  519|  1.32M|    (node->key)
  ------------------
  |  Branch (1334:9): [True: 1.32M, False: 20]
  ------------------
 1335|  1.32M|        node = _odict_find_node(self, key);
 1336|  1.32M|        if (node == NULL) {
  ------------------
  |  Branch (1336:13): [True: 0, False: 1.32M]
  ------------------
 1337|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (1337:17): [True: 0, False: 0]
  ------------------
 1338|      0|                PyErr_SetObject(PyExc_KeyError, key);
 1339|      0|            return NULL;
 1340|      0|        }
 1341|  1.32M|        if (last) {
  ------------------
  |  Branch (1341:13): [True: 1.32M, False: 0]
  ------------------
 1342|       |            /* Only move if not already the last one. */
 1343|  1.32M|            if (node != _odict_LAST(self)) {
  ------------------
  |  |  529|  1.32M|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  1.32M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1343:17): [True: 182k, False: 1.13M]
  ------------------
 1344|   182k|                _odict_remove_node(self, node);
 1345|   182k|                _odict_add_tail(self, node);
 1346|   182k|            }
 1347|  1.32M|        }
 1348|      0|        else {
 1349|       |            /* Only move if not already the first one. */
 1350|      0|            if (node != _odict_FIRST(self)) {
  ------------------
  |  |  528|      0|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|      0|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1350:17): [True: 0, False: 0]
  ------------------
 1351|      0|                _odict_remove_node(self, node);
 1352|      0|                _odict_add_head(self, node);
 1353|      0|            }
 1354|      0|        }
 1355|  1.32M|    }
 1356|  1.32M|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.32M|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.32M|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1357|  1.32M|}
odictobject.c:_odict_find_node:
  635|  1.37M|{
  636|  1.37M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  637|  1.37M|    Py_ssize_t index;
  638|  1.37M|    Py_hash_t hash;
  639|       |
  640|  1.37M|    if (_odict_EMPTY(od))
  ------------------
  |  |  530|  1.37M|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|  1.37M|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  1.37M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 1.37M]
  |  |  ------------------
  ------------------
  641|      0|        return NULL;
  642|  1.37M|    hash = PyObject_Hash(key);
  643|  1.37M|    if (hash == -1)
  ------------------
  |  Branch (643:9): [True: 0, False: 1.37M]
  ------------------
  644|      0|        return NULL;
  645|  1.37M|    index = _odict_get_index(od, key, hash);
  646|  1.37M|    if (index < 0)
  ------------------
  |  Branch (646:9): [True: 0, False: 1.37M]
  ------------------
  647|      0|        return NULL;
  648|  1.37M|    assert(od->od_fast_nodes != NULL);
  649|  1.37M|    return od->od_fast_nodes[index];
  650|  1.37M|}
odictobject.c:_odict_remove_node:
  728|   182k|{
  729|   182k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  730|   182k|    if (_odict_FIRST(od) == node)
  ------------------
  |  |  528|   182k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|   182k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 35, False: 182k]
  ------------------
  731|     35|        _odict_FIRST(od) = _odictnode_NEXT(node);
  ------------------
  |  |  528|     35|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|     35|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      _odict_FIRST(od) = _odictnode_NEXT(node);
  ------------------
  |  |  526|     35|#define _odictnode_NEXT(node) (node->next)
  ------------------
  732|   182k|    else if (_odictnode_PREV(node) != NULL)
  ------------------
  |  |  525|   182k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  |  Branch (732:14): [True: 182k, False: 0]
  ------------------
  733|   182k|        _odictnode_NEXT(_odictnode_PREV(node)) = _odictnode_NEXT(node);
  ------------------
  |  |  526|   182k|#define _odictnode_NEXT(node) (node->next)
  ------------------
                      _odictnode_NEXT(_odictnode_PREV(node)) = _odictnode_NEXT(node);
  ------------------
  |  |  526|   182k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  734|       |
  735|   182k|    if (_odict_LAST(od) == node)
  ------------------
  |  |  529|   182k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   182k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (735:9): [True: 0, False: 182k]
  ------------------
  736|      0|        _odict_LAST(od) = _odictnode_PREV(node);
  ------------------
  |  |  529|      0|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|      0|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      _odict_LAST(od) = _odictnode_PREV(node);
  ------------------
  |  |  525|      0|#define _odictnode_PREV(node) (node->prev)
  ------------------
  737|   182k|    else if (_odictnode_NEXT(node) != NULL)
  ------------------
  |  |  526|   182k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  |  Branch (737:14): [True: 182k, False: 0]
  ------------------
  738|   182k|        _odictnode_PREV(_odictnode_NEXT(node)) = _odictnode_PREV(node);
  ------------------
  |  |  525|   182k|#define _odictnode_PREV(node) (node->prev)
  ------------------
                      _odictnode_PREV(_odictnode_NEXT(node)) = _odictnode_PREV(node);
  ------------------
  |  |  525|   182k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  739|       |
  740|   182k|    _odictnode_PREV(node) = NULL;
  ------------------
  |  |  525|   182k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  741|   182k|    _odictnode_NEXT(node) = NULL;
  ------------------
  |  |  526|   182k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  742|   182k|    od->od_state++;
  743|   182k|}
odictobject.c:odict_init:
 1543|  12.1k|{
 1544|  12.1k|    PyObject *res;
 1545|  12.1k|    Py_ssize_t len = PyObject_Length(args);
  ------------------
  |  |  353|  12.1k|#define PyObject_Length PyObject_Size
  ------------------
 1546|       |
 1547|  12.1k|    if (len == -1)
  ------------------
  |  Branch (1547:9): [True: 0, False: 12.1k]
  ------------------
 1548|      0|        return -1;
 1549|  12.1k|    if (len > 1) {
  ------------------
  |  Branch (1549:9): [True: 0, False: 12.1k]
  ------------------
 1550|      0|        const char *msg = "expected at most 1 argument, got %zd";
 1551|      0|        PyErr_Format(PyExc_TypeError, msg, len);
 1552|      0|        return -1;
 1553|      0|    }
 1554|       |
 1555|       |    /* __init__() triggering update() is just the way things are! */
 1556|  12.1k|    res = odict_update(self, args, kwds);
  ------------------
  |  | 1212|  12.1k|#define odict_update mutablemapping_update
  ------------------
 1557|  12.1k|    if (res == NULL) {
  ------------------
  |  Branch (1557:9): [True: 0, False: 12.1k]
  ------------------
 1558|      0|        return -1;
 1559|  12.1k|    } else {
 1560|  12.1k|        Py_DECREF(res);
  ------------------
  |  |  430|  12.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1561|  12.1k|        return 0;
 1562|  12.1k|    }
 1563|  12.1k|}
odictobject.c:PyODict_SetItem_LockHeld:
 1641|  16.6k|{
 1642|  16.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
 1643|  16.6k|    Py_hash_t hash = PyObject_Hash(key);
 1644|  16.6k|    if (hash == -1) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 16.6k]
  ------------------
 1645|      0|        return -1;
 1646|      0|    }
 1647|  16.6k|    return _PyODict_SetItem_KnownHash_LockHeld(od, key, value, hash);
 1648|  16.6k|}
odictobject.c:_odict_clear_node:
  764|      2|{
  765|      2|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  766|      2|    Py_ssize_t i;
  767|       |
  768|      2|    assert(key != NULL);
  769|      2|    if (_odict_EMPTY(od)) {
  ------------------
  |  |  530|      2|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|      2|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|      2|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  770|       |        /* Let later code decide if this is a KeyError. */
  771|      0|        return 0;
  772|      0|    }
  773|       |
  774|      2|    i = _odict_get_index(od, key, hash);
  775|      2|    if (i < 0)
  ------------------
  |  Branch (775:9): [True: 0, False: 2]
  ------------------
  776|      0|        return PyErr_Occurred() ? -1 : 0;
  ------------------
  |  Branch (776:16): [True: 0, False: 0]
  ------------------
  777|       |
  778|      2|    assert(od->od_fast_nodes != NULL);
  779|      2|    if (node == NULL)
  ------------------
  |  Branch (779:9): [True: 0, False: 2]
  ------------------
  780|      0|        node = od->od_fast_nodes[i];
  781|      2|    assert(node == od->od_fast_nodes[i]);
  782|      2|    if (node == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 2]
  ------------------
  783|       |        /* Let later code decide if this is a KeyError. */
  784|      0|        return 0;
  785|      0|    }
  786|       |
  787|       |    // Now clear the node.
  788|      2|    od->od_fast_nodes[i] = NULL;
  789|      2|    _odict_remove_node(od, node);
  790|      2|    _odictnode_DEALLOC(node);
  ------------------
  |  |  720|      2|    do { \
  |  |  721|      2|        Py_DECREF(_odictnode_KEY(node)); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  722|      2|        PyMem_Free((void *)node); \
  |  |  723|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (723:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  791|      2|    return 0;
  792|      2|}
odictobject.c:odictiter_dealloc:
 1700|  52.4k|{
 1701|  52.4k|    odictiterobject *di = (odictiterobject*)op;
 1702|  52.4k|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  510|  52.4k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|  52.4k|    Py_XDECREF(di->di_odict);
  ------------------
  |  |  524|  52.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|  52.4k|    Py_XDECREF(di->di_current);
  ------------------
  |  |  524|  52.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|  52.4k|    if ((di->kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1296|  52.4k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  52.4k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1295|  52.4k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
                  if ((di->kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1296|  52.4k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  52.4k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1295|  52.4k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
  |  Branch (1705:9): [True: 4, False: 52.4k]
  ------------------
 1706|      4|        Py_DECREF(di->di_result);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|      4|    }
 1708|  52.4k|    PyObject_GC_Del(di);
 1709|  52.4k|}
odictobject.c:odictiter_iternext:
 1851|   103k|{
 1852|   103k|    PyObject *res;
 1853|   103k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|   103k|    {
  ------------------
 1854|   103k|    res = odictiter_iternext_lock_held(op);
 1855|   103k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   103k|    }
  ------------------
 1856|   103k|    return res;
 1857|   103k|}
odictobject.c:odictiter_iternext_lock_held:
 1793|   103k|{
 1794|   103k|    odictiterobject *di = (odictiterobject*)op;
 1795|   103k|    PyObject *result, *value;
 1796|   103k|    PyObject *key = odictiter_nextkey(di);  /* new reference */
 1797|       |
 1798|   103k|    if (key == NULL)
  ------------------
  |  Branch (1798:9): [True: 48.4k, False: 55.0k]
  ------------------
 1799|  48.4k|        return NULL;
 1800|       |
 1801|       |    /* Handle the keys case. */
 1802|  55.0k|    if (! (di->kind & _odict_ITER_VALUES)) {
  ------------------
  |  | 1295|  55.0k|#define _odict_ITER_VALUES 4
  ------------------
  |  Branch (1802:9): [True: 8.48k, False: 46.5k]
  ------------------
 1803|  8.48k|        return key;
 1804|  8.48k|    }
 1805|       |
 1806|  46.5k|    if (PyDict_GetItemRef((PyObject *)di->di_odict, key, &value) != 1) {
  ------------------
  |  Branch (1806:9): [True: 0, False: 46.5k]
  ------------------
 1807|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (1807:13): [True: 0, False: 0]
  ------------------
 1808|      0|            PyErr_SetObject(PyExc_KeyError, key);
 1809|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|      0|        goto error;
 1811|      0|    }
 1812|       |
 1813|       |    /* Handle the values case. */
 1814|  46.5k|    if (!(di->kind & _odict_ITER_KEYS)) {
  ------------------
  |  | 1294|  46.5k|#define _odict_ITER_KEYS 2
  ------------------
  |  Branch (1814:9): [True: 46.5k, False: 12]
  ------------------
 1815|  46.5k|        Py_DECREF(key);
  ------------------
  |  |  430|  46.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|  46.5k|        return value;
 1817|  46.5k|    }
 1818|       |
 1819|       |    /* Handle the items case. */
 1820|     12|    result = di->di_result;
 1821|       |
 1822|     12|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (1822:9): [True: 12, False: 0]
  ------------------
 1823|       |        /* not in use so we can reuse it
 1824|       |         * (the common case during iteration) */
 1825|     12|        Py_INCREF(result);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|     12|        Py_DECREF(PyTuple_GET_ITEM(result, 0));  /* borrowed */
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1827|     12|        Py_DECREF(PyTuple_GET_ITEM(result, 1));  /* borrowed */
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 1829|       |        // recycling it, make sure it's tracked again:
 1830|     12|        _PyTuple_Recycle(result);
 1831|     12|        PyTuple_SET_ITEM(result, 0, key);  /* steals reference */
  ------------------
  |  |   40|     12|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|     12|        PyTuple_SET_ITEM(result, 1, value);  /* steals reference */
  ------------------
  |  |   40|     12|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1833|     12|    }
 1834|      0|    else {
 1835|      0|        result = _PyTuple_FromPairSteal(key, value);
 1836|      0|        if (result == NULL) {
  ------------------
  |  Branch (1836:13): [True: 0, False: 0]
  ------------------
 1837|      0|            goto error;
 1838|      0|        }
 1839|      0|    }
 1840|       |
 1841|     12|    return result;
 1842|       |
 1843|      0|error:
 1844|      0|    Py_CLEAR(di->di_current);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1845|      0|    Py_CLEAR(di->di_odict);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1846|       |    return NULL;
 1847|     12|}
odictobject.c:odictiter_nextkey:
 1779|   103k|{
 1780|   103k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(di);
 1781|   103k|    if (di->di_odict == NULL) {
  ------------------
  |  Branch (1781:9): [True: 4, False: 103k]
  ------------------
 1782|      4|        return NULL;
 1783|      4|    }
 1784|   103k|    PyObject *res;
 1785|   103k|    Py_BEGIN_CRITICAL_SECTION(di->di_odict);
  ------------------
  |  |   51|   103k|    {
  ------------------
 1786|   103k|    res = odictiter_nextkey_lock_held(di);
 1787|   103k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   103k|    }
  ------------------
 1788|   103k|    return res;
 1789|   103k|}
odictobject.c:odictiter_nextkey_lock_held:
 1725|   103k|{
 1726|   103k|    assert(di->di_odict != NULL);
 1727|   103k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(di->di_odict);
 1728|   103k|    PyObject *key = NULL;
 1729|   103k|    _ODictNode *node;
 1730|   103k|    int reversed = di->kind & _odict_ITER_REVERSED;
  ------------------
  |  | 1293|   103k|#define _odict_ITER_REVERSED 1
  ------------------
 1731|       |
 1732|   103k|    if (di->di_current == NULL)
  ------------------
  |  Branch (1732:9): [True: 48.4k, False: 55.0k]
  ------------------
 1733|  48.4k|        goto done;  /* We're already done. */
 1734|       |
 1735|       |    /* Check for unsupported changes. */
 1736|  55.0k|    if (di->di_odict->od_state != di->di_state) {
  ------------------
  |  Branch (1736:9): [True: 0, False: 55.0k]
  ------------------
 1737|      0|        PyErr_SetString(PyExc_RuntimeError,
 1738|      0|                        "OrderedDict mutated during iteration");
 1739|      0|        goto done;
 1740|      0|    }
 1741|  55.0k|    if (di->di_size != PyODict_SIZE(di->di_odict)) {
  ------------------
  |  |   23|  55.0k|#define PyODict_SIZE(op) PyDict_GET_SIZE((op))
  |  |  ------------------
  |  |  |  |   63|  55.0k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  55.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  55.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1741:9): [True: 0, False: 55.0k]
  ------------------
 1742|      0|        PyErr_SetString(PyExc_RuntimeError,
 1743|      0|                        "OrderedDict changed size during iteration");
 1744|      0|        di->di_size = -1; /* Make this state sticky */
 1745|      0|        return NULL;
 1746|      0|    }
 1747|       |
 1748|       |    /* Get the key. */
 1749|  55.0k|    node = _odict_find_node(di->di_odict, di->di_current);
 1750|  55.0k|    if (node == NULL) {
  ------------------
  |  Branch (1750:9): [True: 0, False: 55.0k]
  ------------------
 1751|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (1751:13): [True: 0, False: 0]
  ------------------
 1752|      0|            PyErr_SetObject(PyExc_KeyError, di->di_current);
 1753|       |        /* Must have been deleted. */
 1754|      0|        Py_CLEAR(di->di_current);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1755|      0|        return NULL;
 1756|      0|    }
 1757|  55.0k|    key = di->di_current;
 1758|       |
 1759|       |    /* Advance to the next key. */
 1760|  55.0k|    node = reversed ? _odictnode_PREV(node) : _odictnode_NEXT(node);
  ------------------
  |  |  525|      0|#define _odictnode_PREV(node) (node->prev)
  ------------------
                  node = reversed ? _odictnode_PREV(node) : _odictnode_NEXT(node);
  ------------------
  |  |  526|   110k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  |  Branch (1760:12): [True: 0, False: 55.0k]
  ------------------
 1761|  55.0k|    if (node == NULL) {
  ------------------
  |  Branch (1761:9): [True: 48.1k, False: 6.86k]
  ------------------
 1762|       |        /* Reached the end. */
 1763|  48.1k|        di->di_current = NULL;
 1764|  48.1k|    }
 1765|  6.86k|    else {
 1766|  6.86k|        di->di_current = Py_NewRef(_odictnode_KEY(node));
  ------------------
  |  |  550|  6.86k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|  6.86k|    }
 1768|       |
 1769|  55.0k|    return key;
 1770|       |
 1771|  48.4k|done:
 1772|       |    Py_CLEAR(di->di_odict);
  ------------------
  |  |  484|  48.4k|    do { \
  |  |  485|  48.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  48.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  48.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |  488|  48.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  48.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  48.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  48.4k|        } \
  |  |  491|  48.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 1773|  48.4k|    return key;
 1774|  55.0k|}
odictobject.c:odictitems_iter:
 2028|      4|{
 2029|      4|    _PyDictViewObject *dv = (_PyDictViewObject*)op;
 2030|      4|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (2030:9): [True: 0, False: 4]
  ------------------
 2031|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2032|      0|    }
 2033|      4|    return odictiter_new(_PyODictObject_CAST(dv->dv_dict),
  ------------------
  |  |  504|      4|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2034|      4|            _odict_ITER_KEYS|_odict_ITER_VALUES);
  ------------------
  |  | 1294|      4|#define _odict_ITER_KEYS 2
  ------------------
                          _odict_ITER_KEYS|_odict_ITER_VALUES);
  ------------------
  |  | 1295|      4|#define _odict_ITER_VALUES 4
  ------------------
 2035|      4|}
odictobject.c:odictvalues_iter:
 2097|  44.3k|{
 2098|  44.3k|    _PyDictViewObject *dv = (_PyDictViewObject*)op;
 2099|  44.3k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (2099:9): [True: 0, False: 44.3k]
  ------------------
 2100|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2101|      0|    }
 2102|  44.3k|    return odictiter_new(_PyODictObject_CAST(dv->dv_dict),
  ------------------
  |  |  504|  44.3k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  44.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2103|  44.3k|            _odict_ITER_VALUES);
  ------------------
  |  | 1295|  44.3k|#define _odict_ITER_VALUES 4
  ------------------
 2104|  44.3k|}

rangeobject.c:range_dealloc:
  186|  53.7k|{
  187|  53.7k|    rangeobject *r = (rangeobject*)op;
  188|  53.7k|    Py_DECREF(r->start);
  ------------------
  |  |  430|  53.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  53.7k|    Py_DECREF(r->stop);
  ------------------
  |  |  430|  53.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  53.7k|    Py_DECREF(r->step);
  ------------------
  |  |  430|  53.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  53.7k|    Py_DECREF(r->length);
  ------------------
  |  |  430|  53.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  53.7k|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|  53.7k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  53.7k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|  53.7k|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|  53.7k|}
rangeobject.c:range_length:
  327|      4|{
  328|      4|    rangeobject *r = (rangeobject*)op;
  329|      4|    return PyLong_AsSsize_t(r->length);
  330|      4|}
rangeobject.c:compute_item:
  334|    860|{
  335|    860|    PyObject *incr, *result;
  336|       |    /* PyLong equivalent to:
  337|       |     *    return r->start + (i * r->step)
  338|       |     */
  339|    860|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (339:9): [True: 860, False: 0]
  ------------------
  340|    860|        result = PyNumber_Add(r->start, i);
  341|    860|    }
  342|      0|    else {
  343|      0|        incr = PyNumber_Multiply(i, r->step);
  344|      0|        if (!incr) {
  ------------------
  |  Branch (344:13): [True: 0, False: 0]
  ------------------
  345|      0|            return NULL;
  346|      0|        }
  347|      0|        result = PyNumber_Add(r->start, incr);
  348|      0|        Py_DECREF(incr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|      0|    }
  350|    860|    return result;
  351|    860|}
rangeobject.c:range_subscript:
  730|    430|{
  731|    430|    rangeobject *self = (rangeobject*)op;
  732|    430|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (732:9): [True: 0, False: 430]
  ------------------
  733|      0|        PyObject *i, *result;
  734|      0|        i = PyNumber_Index(item);
  735|      0|        if (!i)
  ------------------
  |  Branch (735:13): [True: 0, False: 0]
  ------------------
  736|      0|            return NULL;
  737|      0|        result = compute_range_item(self, i);
  738|      0|        Py_DECREF(i);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|      0|        return result;
  740|      0|    }
  741|    430|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|    430|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    430|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 430, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|    430|        return compute_slice(self, item);
  743|    430|    }
  744|      0|    PyErr_Format(PyExc_TypeError,
  745|      0|                 "range indices must be integers or slices, not %.200s",
  746|      0|                 Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|       |    return NULL;
  748|    430|}
rangeobject.c:compute_slice:
  420|    430|{
  421|    430|    PySliceObject *slice = (PySliceObject *) _slice;
  422|    430|    rangeobject *result;
  423|    430|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  424|    430|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  425|    430|    int error;
  426|       |
  427|    430|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  428|    430|    if (error == -1)
  ------------------
  |  Branch (428:9): [True: 0, False: 430]
  ------------------
  429|      0|        return NULL;
  430|       |
  431|    430|    substep = PyNumber_Multiply(r->step, step);
  432|    430|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (432:9): [True: 0, False: 430]
  ------------------
  433|    430|    Py_CLEAR(step);
  ------------------
  |  |  484|    430|    do { \
  |  |  485|    430|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    430|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    430|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 430, False: 0]
  |  |  ------------------
  |  |  488|    430|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    430|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    430|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    430|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    430|        } \
  |  |  491|    430|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 430]
  |  |  ------------------
  ------------------
  434|       |
  435|    430|    substart = compute_item(r, start);
  436|    430|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (436:9): [True: 0, False: 430]
  ------------------
  437|    430|    Py_CLEAR(start);
  ------------------
  |  |  484|    430|    do { \
  |  |  485|    430|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    430|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    430|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 430, False: 0]
  |  |  ------------------
  |  |  488|    430|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    430|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    430|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    430|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    430|        } \
  |  |  491|    430|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 430]
  |  |  ------------------
  ------------------
  438|       |
  439|    430|    substop = compute_item(r, stop);
  440|    430|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 430]
  ------------------
  441|    430|    Py_CLEAR(stop);
  ------------------
  |  |  484|    430|    do { \
  |  |  485|    430|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    430|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    430|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    430|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 430, False: 0]
  |  |  ------------------
  |  |  488|    430|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    430|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    430|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    430|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    430|        } \
  |  |  491|    430|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 430]
  |  |  ------------------
  ------------------
  442|       |
  443|    430|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  213|    430|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|    430|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 430, False: 0]
  ------------------
  445|    430|        return (PyObject *) result;
  446|    430|    }
  447|      0|fail:
  448|      0|    Py_XDECREF(start);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|    Py_XDECREF(stop);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    Py_XDECREF(step);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|      0|    Py_XDECREF(substart);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      0|    Py_XDECREF(substop);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      0|    Py_XDECREF(substep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|       |    return NULL;
  455|    430|}
rangeobject.c:make_range_object:
   69|  53.7k|{
   70|  53.7k|    PyObject *length;
   71|  53.7k|    length = compute_range_length(start, stop, step);
   72|  53.7k|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 53.7k]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|  53.7k|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|  53.7k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|  53.7k|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 8, False: 53.7k]
  ------------------
   77|      8|        obj = PyObject_New(rangeobject, type);
  ------------------
  |  |  130|      8|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
   78|      8|        if (obj == NULL) {
  ------------------
  |  Branch (78:13): [True: 0, False: 8]
  ------------------
   79|      0|            Py_DECREF(length);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|            return NULL;
   81|      0|        }
   82|      8|    }
   83|  53.7k|    obj->start = start;
   84|  53.7k|    obj->stop = stop;
   85|  53.7k|    obj->step = step;
   86|  53.7k|    obj->length = length;
   87|  53.7k|    return obj;
   88|  53.7k|}
rangeobject.c:compute_range_length:
  244|  53.7k|{
  245|       |    /* -------------------------------------------------------------
  246|       |    Algorithm is equal to that of get_len_of_range(), but it operates
  247|       |    on PyObjects (which are assumed to be PyLong objects).
  248|       |    ---------------------------------------------------------------*/
  249|  53.7k|    int cmp_result;
  250|  53.7k|    PyObject *lo, *hi;
  251|  53.7k|    PyObject *diff = NULL;
  252|  53.7k|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|  53.7k|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|  53.7k|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|  53.7k|    assert(PyLong_Check(start));
  259|  53.7k|    assert(PyLong_Check(stop));
  260|  53.7k|    assert(PyLong_Check(step));
  261|       |
  262|       |    /* fast path when all arguments fit into a long integer */
  263|  53.7k|    long len = compute_range_length_long(start, stop, step);
  264|  53.7k|    if (len >= 0) {
  ------------------
  |  Branch (264:9): [True: 53.7k, False: 2]
  ------------------
  265|  53.7k|        return PyLong_FromLong(len);
  266|  53.7k|    }
  267|      2|    else if (len == -1) {
  ------------------
  |  Branch (267:14): [True: 0, False: 2]
  ------------------
  268|       |        /* unexpected error from compute_range_length_long, we propagate to the caller */
  269|      0|        return NULL;
  270|      0|    }
  271|  53.7k|    assert(len == -2);
  272|       |
  273|      2|    cmp_result = PyObject_RichCompareBool(step, zero, Py_GT);
  ------------------
  |  |  656|      2|#define Py_GT 4
  ------------------
  274|      2|    if (cmp_result == -1)
  ------------------
  |  Branch (274:9): [True: 0, False: 2]
  ------------------
  275|      0|        return NULL;
  276|       |
  277|      2|    if (cmp_result == 1) {
  ------------------
  |  Branch (277:9): [True: 2, False: 0]
  ------------------
  278|      2|        lo = start;
  279|      2|        hi = stop;
  280|      2|        Py_INCREF(step);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  281|      2|    } else {
  282|      0|        lo = stop;
  283|      0|        hi = start;
  284|      0|        step = PyNumber_Negative(step);
  285|      0|        if (!step)
  ------------------
  |  Branch (285:13): [True: 0, False: 0]
  ------------------
  286|      0|            return NULL;
  287|      0|    }
  288|       |
  289|       |    /* if (lo >= hi), return length of 0. */
  290|      2|    cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE);
  ------------------
  |  |  657|      2|#define Py_GE 5
  ------------------
  291|      2|    if (cmp_result != 0) {
  ------------------
  |  Branch (291:9): [True: 0, False: 2]
  ------------------
  292|      0|        Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|      0|        if (cmp_result < 0)
  ------------------
  |  Branch (293:13): [True: 0, False: 0]
  ------------------
  294|      0|            return NULL;
  295|      0|        result = zero;
  296|      0|        return Py_NewRef(result);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|    }
  298|       |
  299|      2|    if ((tmp1 = PyNumber_Subtract(hi, lo)) == NULL)
  ------------------
  |  Branch (299:9): [True: 0, False: 2]
  ------------------
  300|      0|        goto Fail;
  301|       |
  302|      2|    if ((diff = PyNumber_Subtract(tmp1, one)) == NULL)
  ------------------
  |  Branch (302:9): [True: 0, False: 2]
  ------------------
  303|      0|        goto Fail;
  304|       |
  305|      2|    if ((tmp2 = PyNumber_FloorDivide(diff, step)) == NULL)
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      0|        goto Fail;
  307|       |
  308|      2|    if ((result = PyNumber_Add(tmp2, one)) == NULL)
  ------------------
  |  Branch (308:9): [True: 0, False: 2]
  ------------------
  309|      0|        goto Fail;
  310|       |
  311|      2|    Py_DECREF(tmp2);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|      2|    Py_DECREF(diff);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      2|    Py_DECREF(step);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|      2|    Py_DECREF(tmp1);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|      2|    return result;
  316|       |
  317|      0|  Fail:
  318|      0|    Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|    Py_XDECREF(tmp2);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|      0|    Py_XDECREF(diff);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      0|    Py_XDECREF(tmp1);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|       |    return NULL;
  323|      2|}
rangeobject.c:compute_range_length_long:
  203|  53.7k|                PyObject *stop, PyObject *step) {
  204|  53.7k|    int overflow = 0;
  205|       |
  206|  53.7k|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|  53.7k|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 53.7k]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|  53.7k|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 10, False: 53.7k]
  |  Branch (210:29): [True: 0, False: 10]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|  53.7k|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|  53.7k|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 2, False: 53.7k]
  ------------------
  215|      2|        return -2;
  216|      2|    }
  217|  53.7k|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 430, False: 53.2k]
  |  Branch (217:28): [True: 0, False: 430]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|  53.7k|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|  53.7k|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 53.7k]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|  53.7k|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 430, False: 53.2k]
  |  Branch (224:28): [True: 0, False: 430]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|  53.7k|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|  53.7k|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 53.7k]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|  53.7k|    else {
  234|  53.7k|        return (long)ulen;
  235|  53.7k|    }
  236|  53.7k|}
rangeobject.c:get_len_of_range:
  993|   107k|{
  994|       |    /* -------------------------------------------------------------
  995|       |    If step > 0 and lo >= hi, or step < 0 and lo <= hi, the range is empty.
  996|       |    Else for step > 0, if n values are in the range, the last one is
  997|       |    lo + (n-1)*step, which must be <= hi-1.  Rearranging,
  998|       |    n <= (hi - lo - 1)/step + 1, so taking the floor of the RHS gives
  999|       |    the proper value.  Since lo < hi in this case, hi-lo-1 >= 0, so
 1000|       |    the RHS is non-negative and so truncation is the same as the
 1001|       |    floor.  Letting M be the largest positive long, the worst case
 1002|       |    for the RHS numerator is hi=M, lo=-M-1, and then
 1003|       |    hi-lo-1 = M-(-M-1)-1 = 2*M.  Therefore unsigned long has enough
 1004|       |    precision to compute the RHS exactly.  The analysis for step < 0
 1005|       |    is similar.
 1006|       |    ---------------------------------------------------------------*/
 1007|   107k|    assert(step != 0);
 1008|   107k|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1008:9): [True: 106k, False: 988]
  |  Branch (1008:21): [True: 105k, False: 208]
  ------------------
 1009|   105k|        return 1UL + (hi - 1UL - lo) / step;
 1010|  1.19k|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1010:14): [True: 988, False: 208]
  |  Branch (1010:26): [True: 980, False: 8]
  ------------------
 1011|    980|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1012|    216|    else
 1013|    216|        return 0UL;
 1014|   107k|}
rangeobject.c:range_reverse:
 1283|      4|{
 1284|      4|    rangeobject *range = (rangeobject*) seq;
 1285|      4|    longrangeiterobject *it;
 1286|      4|    PyObject *sum, *diff, *product;
 1287|      4|    long lstart, lstop, lstep, new_start, new_stop;
 1288|      4|    unsigned long ulen;
 1289|       |
 1290|      4|    assert(PyRange_Check(seq));
 1291|       |
 1292|       |    /* reversed(range(start, stop, step)) can be expressed as
 1293|       |       range(start+(n-1)*step, start-step, -step), where n is the number of
 1294|       |       integers in the range.
 1295|       |
 1296|       |       If each of start, stop, step, -step, start-step, and the length
 1297|       |       of the iterator is representable as a C long, use the int
 1298|       |       version.  This excludes some cases where the reversed range is
 1299|       |       representable as a range_iterator, but it's good enough for
 1300|       |       common cases and it makes the checks simple. */
 1301|       |
 1302|      4|    lstart = PyLong_AsLong(range->start);
 1303|      4|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 4]
  |  Branch (1303:25): [True: 0, False: 0]
  ------------------
 1304|      0|        PyErr_Clear();
 1305|      0|        goto long_range;
 1306|      0|    }
 1307|      4|    lstop = PyLong_AsLong(range->stop);
 1308|      4|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 4]
  |  Branch (1308:24): [True: 0, False: 0]
  ------------------
 1309|      0|        PyErr_Clear();
 1310|      0|        goto long_range;
 1311|      0|    }
 1312|      4|    lstep = PyLong_AsLong(range->step);
 1313|      4|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1313:9): [True: 0, False: 4]
  |  Branch (1313:24): [True: 0, False: 0]
  ------------------
 1314|      0|        PyErr_Clear();
 1315|      0|        goto long_range;
 1316|      0|    }
 1317|       |    /* check for possible overflow of -lstep */
 1318|      4|    if (lstep == LONG_MIN)
  ------------------
  |  Branch (1318:9): [True: 0, False: 4]
  ------------------
 1319|      0|        goto long_range;
 1320|       |
 1321|       |    /* check for overflow of lstart - lstep:
 1322|       |
 1323|       |       for lstep > 0, need only check whether lstart - lstep < LONG_MIN.
 1324|       |       for lstep < 0, need only check whether lstart - lstep > LONG_MAX
 1325|       |
 1326|       |       Rearrange these inequalities as:
 1327|       |
 1328|       |           lstart - LONG_MIN < lstep  (lstep > 0)
 1329|       |           LONG_MAX - lstart < -lstep  (lstep < 0)
 1330|       |
 1331|       |       and compute both sides as unsigned longs, to avoid the
 1332|       |       possibility of undefined behaviour due to signed overflow. */
 1333|       |
 1334|      4|    if (lstep > 0) {
  ------------------
  |  Branch (1334:9): [True: 4, False: 0]
  ------------------
 1335|      4|         if ((unsigned long)lstart - LONG_MIN < (unsigned long)lstep)
  ------------------
  |  Branch (1335:14): [True: 0, False: 4]
  ------------------
 1336|      0|            goto long_range;
 1337|      4|    }
 1338|      0|    else {
 1339|      0|        if (LONG_MAX - (unsigned long)lstart < 0UL - lstep)
  ------------------
  |  Branch (1339:13): [True: 0, False: 0]
  ------------------
 1340|      0|            goto long_range;
 1341|      0|    }
 1342|       |
 1343|      4|    ulen = get_len_of_range(lstart, lstop, lstep);
 1344|      4|    if (ulen > (unsigned long)LONG_MAX)
  ------------------
  |  Branch (1344:9): [True: 0, False: 4]
  ------------------
 1345|      0|        goto long_range;
 1346|       |
 1347|      4|    new_stop = lstart - lstep;
 1348|      4|    new_start = (long)(new_stop + ulen * lstep);
 1349|      4|    return fast_range_iter(new_start, new_stop, -lstep, (long)ulen);
 1350|       |
 1351|      0|long_range:
 1352|      0|    it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type);
  ------------------
  |  |  130|      0|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1353|      0|    if (it == NULL)
  ------------------
  |  Branch (1353:9): [True: 0, False: 0]
  ------------------
 1354|      0|        return NULL;
 1355|      0|    it->start = it->step = NULL;
 1356|       |
 1357|       |    /* start + (len - 1) * step */
 1358|      0|    it->len = Py_NewRef(range->length);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|       |
 1360|      0|    diff = PyNumber_Subtract(it->len, _PyLong_GetOne());
 1361|      0|    if (!diff)
  ------------------
  |  Branch (1361:9): [True: 0, False: 0]
  ------------------
 1362|      0|        goto create_failure;
 1363|       |
 1364|      0|    product = PyNumber_Multiply(diff, range->step);
 1365|      0|    Py_DECREF(diff);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      0|    if (!product)
  ------------------
  |  Branch (1366:9): [True: 0, False: 0]
  ------------------
 1367|      0|        goto create_failure;
 1368|       |
 1369|      0|    sum = PyNumber_Add(range->start, product);
 1370|      0|    Py_DECREF(product);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|    it->start = sum;
 1372|      0|    if (!it->start)
  ------------------
  |  Branch (1372:9): [True: 0, False: 0]
  ------------------
 1373|      0|        goto create_failure;
 1374|       |
 1375|      0|    it->step = PyNumber_Negative(range->step);
 1376|      0|    if (!it->step)
  ------------------
  |  Branch (1376:9): [True: 0, False: 0]
  ------------------
 1377|      0|        goto create_failure;
 1378|       |
 1379|      0|    return (PyObject *)it;
 1380|       |
 1381|      0|create_failure:
 1382|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|       |    return NULL;
 1384|      0|}
rangeobject.c:fast_range_iter:
 1021|  53.2k|{
 1022|  53.2k|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|  53.2k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  53.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1023|  53.2k|    if (it == NULL) {
  ------------------
  |  Branch (1023:9): [True: 8, False: 53.2k]
  ------------------
 1024|      8|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      8|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1025|      8|        if (it == NULL) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 8]
  ------------------
 1026|      0|            return NULL;
 1027|      0|        }
 1028|      8|    }
 1029|  53.2k|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
 1030|  53.2k|    it->start = start;
 1031|  53.2k|    it->step = step;
 1032|  53.2k|    it->len = len;
 1033|  53.2k|    return (PyObject *)it;
 1034|  53.2k|}
rangeobject.c:range_from_array:
   97|  53.2k|{
   98|  53.2k|    rangeobject *obj;
   99|  53.2k|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|  53.2k|    switch (num_args) {
  102|     96|        case 3:
  ------------------
  |  Branch (102:9): [True: 96, False: 53.2k]
  ------------------
  103|     96|            step = args[2];
  104|     96|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     96|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|  4.37k|        case 2:
  ------------------
  |  Branch (105:9): [True: 4.27k, False: 49.0k]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|  4.37k|            start = PyNumber_Index(args[0]);
  108|  4.37k|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 4.37k]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|  4.37k|            stop = PyNumber_Index(args[1]);
  112|  4.37k|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 4.37k]
  ------------------
  113|      0|                Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|      0|                return NULL;
  115|      0|            }
  116|  4.37k|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|  4.37k|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 4.37k]
  ------------------
  118|      0|                Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      0|                Py_DECREF(stop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      0|                return NULL;
  121|      0|            }
  122|  4.37k|            break;
  123|  48.9k|        case 1:
  ------------------
  |  Branch (123:9): [True: 48.9k, False: 4.37k]
  ------------------
  124|  48.9k|            stop = PyNumber_Index(args[0]);
  125|  48.9k|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 48.9k]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|  48.9k|            start = _PyLong_GetZero();
  129|  48.9k|            step = _PyLong_GetOne();
  130|  48.9k|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 53.2k]
  ------------------
  132|      0|            PyErr_SetString(PyExc_TypeError,
  133|      0|                            "range expected at least 1 argument, got 0");
  134|      0|            return NULL;
  135|      0|        default:
  ------------------
  |  Branch (135:9): [True: 0, False: 53.2k]
  ------------------
  136|      0|            PyErr_Format(PyExc_TypeError,
  137|      0|                         "range expected at most 3 arguments, got %zd",
  138|      0|                         num_args);
  139|      0|            return NULL;
  140|  53.2k|    }
  141|  53.2k|    obj = make_range_object(type, start, stop, step);
  142|  53.2k|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 53.2k, False: 0]
  ------------------
  143|  53.2k|        return (PyObject *) obj;
  144|  53.2k|    }
  145|       |
  146|       |    /* Failed to create object, release attributes */
  147|      0|    Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|      0|    Py_DECREF(stop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|      0|    Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|       |    return NULL;
  151|  53.2k|}
rangeobject.c:validate_step:
   48|  4.37k|{
   49|       |    /* No step specified, use a step of 1. */
   50|  4.37k|    if (!step)
  ------------------
  |  Branch (50:9): [True: 4.27k, False: 96]
  ------------------
   51|  4.27k|        return PyLong_FromLong(1);
   52|       |
   53|     96|    step = PyNumber_Index(step);
   54|     96|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 96, False: 0]
  |  Branch (54:17): [True: 0, False: 96]
  ------------------
   55|      0|        PyErr_SetString(PyExc_ValueError,
   56|      0|                        "range() arg 3 must not be zero");
   57|      0|        Py_CLEAR(step);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   58|      0|    }
   59|       |
   60|     96|    return step;
   61|  4.37k|}
rangeobject.c:range_vectorcall:
  166|  53.2k|{
  167|  53.2k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  53.2k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|  53.2k|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   15|  53.2k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 53.2k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|  53.2k|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|  53.2k|}
rangeobject.c:rangeiter_dealloc:
  944|  53.2k|{
  945|  53.2k|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|  53.2k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  53.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  53.2k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|  53.2k|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  946|  53.2k|}
rangeobject.c:rangeiter_next:
  847|  5.00k|{
  848|  5.00k|    PyObject *ret = NULL;
  849|  5.00k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  5.00k|    {
  ------------------
  850|  5.00k|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  851|  5.00k|    if (r->len > 0) {
  ------------------
  |  Branch (851:9): [True: 4.98k, False: 18]
  ------------------
  852|  4.98k|        long result = r->start;
  853|  4.98k|        r->start = result + r->step;
  854|  4.98k|        r->len--;
  855|  4.98k|        ret = PyLong_FromLong(result);
  856|  4.98k|    }
  857|  5.00k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  5.00k|    }
  ------------------
  858|  5.00k|    return ret;
  859|  5.00k|}
rangeobject.c:longrangeiter_dealloc:
 1153|      2|{
 1154|      2|    longrangeiterobject *r = (longrangeiterobject*)op;
 1155|      2|    Py_XDECREF(r->start);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|      2|    Py_XDECREF(r->step);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|      2|    Py_XDECREF(r->len);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|      2|    PyObject_Free(r);
 1159|      2|}
rangeobject.c:range_iter:
 1228|  53.2k|{
 1229|  53.2k|    rangeobject *r = (rangeobject *)seq;
 1230|  53.2k|    longrangeiterobject *it;
 1231|  53.2k|    long lstart, lstop, lstep;
 1232|  53.2k|    unsigned long ulen;
 1233|       |
 1234|  53.2k|    assert(PyRange_Check(seq));
 1235|       |
 1236|       |    /* If all three fields and the length convert to long, use the int
 1237|       |     * version */
 1238|  53.2k|    lstart = PyLong_AsLong(r->start);
 1239|  53.2k|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1239:9): [True: 10, False: 53.2k]
  |  Branch (1239:25): [True: 0, False: 10]
  ------------------
 1240|      0|        PyErr_Clear();
 1241|      0|        goto long_range;
 1242|      0|    }
 1243|  53.2k|    lstop = PyLong_AsLong(r->stop);
 1244|  53.2k|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1244:9): [True: 432, False: 52.8k]
  |  Branch (1244:24): [True: 2, False: 430]
  ------------------
 1245|      2|        PyErr_Clear();
 1246|      2|        goto long_range;
 1247|      2|    }
 1248|  53.2k|    lstep = PyLong_AsLong(r->step);
 1249|  53.2k|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1249:9): [True: 430, False: 52.8k]
  |  Branch (1249:24): [True: 0, False: 430]
  ------------------
 1250|      0|        PyErr_Clear();
 1251|      0|        goto long_range;
 1252|      0|    }
 1253|  53.2k|    ulen = get_len_of_range(lstart, lstop, lstep);
 1254|  53.2k|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 53.2k]
  ------------------
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|       |    /* check for potential overflow of lstart + ulen * lstep */
 1258|  53.2k|    if (ulen) {
  ------------------
  |  Branch (1258:9): [True: 53.1k, False: 104]
  ------------------
 1259|  53.1k|        if (lstep > 0) {
  ------------------
  |  Branch (1259:13): [True: 52.6k, False: 490]
  ------------------
 1260|  52.6k|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1260:17): [True: 0, False: 52.6k]
  ------------------
 1261|      0|                goto long_range;
 1262|  52.6k|        }
 1263|    490|        else {
 1264|    490|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1264:17): [True: 0, False: 490]
  ------------------
 1265|      0|                goto long_range;
 1266|    490|        }
 1267|  53.1k|    }
 1268|  53.2k|    return fast_range_iter(lstart, lstop, lstep, (long)ulen);
 1269|       |
 1270|      2|  long_range:
 1271|      2|    it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type);
  ------------------
  |  |  130|      2|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1272|      2|    if (it == NULL)
  ------------------
  |  Branch (1272:9): [True: 0, False: 2]
  ------------------
 1273|      0|        return NULL;
 1274|       |
 1275|      2|    it->start = Py_NewRef(r->start);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|      2|    it->step = Py_NewRef(r->step);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|      2|    it->len = Py_NewRef(r->length);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      2|    return (PyObject *)it;
 1279|      2|}

sentinelobject.c:sentinel_new_with_module:
   51|     10|{
   52|     10|    assert(PyUnicode_Check(name));
   53|       |
   54|     10|    sentinelobject *self = PyObject_GC_New(sentinelobject, type);
  ------------------
  |  |  181|     10|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   55|     10|    if (self == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 10]
  ------------------
   56|      0|        return NULL;
   57|      0|    }
   58|     10|    self->name = Py_NewRef(name);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|     10|    self->module = Py_NewRef(module);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|     10|    self->repr = Py_XNewRef(repr);
  ------------------
  |  |  551|     10|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|     10|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|     10|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|     10|    return (PyObject *)self;
   63|     10|}
sentinelobject.c:sentinel_traverse:
  144|     80|{
  145|     80|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|     80|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  146|     80|    Py_VISIT(self->name);
  ------------------
  |  |  194|     80|    do {                                                                \
  |  |  195|     80|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 0]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
  147|     80|    Py_VISIT(self->module);
  ------------------
  |  |  194|     80|    do {                                                                \
  |  |  195|     80|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 0]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
  148|     80|    Py_VISIT(self->repr);
  ------------------
  |  |  194|     80|    do {                                                                \
  |  |  195|     80|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 64]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
  149|     80|    return 0;
  150|     80|}
sentinelobject.c:sentinel_new_impl:
   78|     10|{
   79|     10|    if (repr == Py_None) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (79:9): [True: 8, False: 2]
  ------------------
   80|      8|        repr = NULL;
   81|      8|    }
   82|      2|    else if (!PyUnicode_Check(repr)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (82:14): [True: 0, False: 2]
  ------------------
   83|      0|        _PyArg_BadArgument("sentinel", "argument 'repr'", "str or None", repr);
   84|      0|        return NULL;
   85|      0|    }
   86|     10|    PyObject *module = caller();
   87|     10|    PyObject *self = sentinel_new_with_module(type, name, module, repr);
   88|     10|    Py_DECREF(module);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|     10|    return self;
   90|     10|}
sentinelobject.c:caller:
   33|     10|{
   34|     10|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
   35|     10|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|     10|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     10|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     10|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 10]
  |  |  ------------------
  ------------------
  |  Branch (35:9): [True: 0, False: 10]
  ------------------
   36|      0|        assert(!PyErr_Occurred());
   37|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   38|      0|    }
   39|     10|    PyFunctionObject *func = _PyFrame_GetFunction(f);
   40|     10|    assert(PyFunction_Check(func));
   41|     10|    PyObject *r = PyFunction_GetModule((PyObject *)func);
   42|     10|    if (!r) {
  ------------------
  |  Branch (42:9): [True: 0, False: 10]
  ------------------
   43|      0|        assert(!PyErr_Occurred());
   44|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   45|      0|    }
   46|     10|    return Py_NewRef(r);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|     10|}

_PySet_AddTakeRef:
  363|   324k|{
  364|   324k|    Py_hash_t hash = _PyObject_HashFast(key);
  365|   324k|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 324k]
  ------------------
  366|      0|        set_unhashable_type(key);
  367|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|      0|        return -1;
  369|      0|    }
  370|       |    // We don't pre-increment here, the caller holds a strong
  371|       |    // reference to the object which we are stealing.
  372|   324k|    return set_add_entry_takeref(so, key, hash);
  373|   324k|}
_PySet_Freeze:
 1550|     24|{
 1551|     24|    assert(set != NULL);
 1552|     24|    assert(PySet_CheckExact(set));
 1553|     24|    assert(_PyObject_IsUniquelyReferenced(set));
 1554|     24|    set->ob_type = &PyFrozenSet_Type;
 1555|     24|    return Py_NewRef(set);
  ------------------
  |  |  550|     24|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|     24|}
_PySet_Contains:
 2514|   577k|{
 2515|   577k|    assert(so);
 2516|       |
 2517|   577k|    Py_hash_t hash = _PyObject_HashFast(key);
 2518|   577k|    if (hash == -1) {
  ------------------
  |  Branch (2518:9): [True: 0, False: 577k]
  ------------------
 2519|      0|        if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  |   37|      0|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      0|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2519:34): [True: 0, False: 0]
  ------------------
 2520|      0|            set_unhashable_type(key);
 2521|      0|            return -1;
 2522|      0|        }
 2523|      0|        PyErr_Clear();
 2524|       |        // Note that 'key' could be a set() or frozenset() object.  Unlike most
 2525|       |        // container types, set allows membership testing with a set key, even
 2526|       |        // though it is not hashable.
 2527|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2528|      0|        hash = frozenset_hash_impl(key);
 2529|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2530|      0|    }
 2531|   577k|    return set_contains_entry(so, key, hash);
 2532|   577k|}
PySet_New:
 2992|   454k|{
 2993|   454k|    return make_new_set(&PySet_Type, iterable);
 2994|   454k|}
PyFrozenSet_New:
 2998|  1.07k|{
 2999|  1.07k|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3000|  1.07k|    if (result != NULL) {
  ------------------
  |  Branch (3000:9): [True: 1.07k, False: 0]
  ------------------
 3001|  1.07k|        _PyFrozenSet_MaybeUntrack(result);
 3002|  1.07k|    }
 3003|  1.07k|    return result;
 3004|  1.07k|}
PySet_Size:
 3008|     70|{
 3009|     70|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|     70|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    140|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 70, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     70|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     70|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     70|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3010|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3011|      0|        return -1;
 3012|      0|    }
 3013|     70|    return set_len(anyset);
 3014|     70|}
PySet_Clear:
 3018|     72|{
 3019|     72|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|     72|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    144|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 72, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|     72|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3020|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3021|      0|        return -1;
 3022|      0|    }
 3023|     72|    (void)set_clear(set, NULL);
 3024|     72|    return 0;
 3025|     72|}
PySet_Contains:
 3035|  82.8k|{
 3036|  82.8k|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|  82.8k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   165k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 82.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  82.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  82.8k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  82.8k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3037|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3038|      0|        return -1;
 3039|      0|    }
 3040|       |
 3041|  82.8k|    PySetObject *so = (PySetObject *)anyset;
 3042|  82.8k|    Py_hash_t hash = _PyObject_HashFast(key);
 3043|  82.8k|    if (hash == -1) {
  ------------------
  |  Branch (3043:9): [True: 0, False: 82.8k]
  ------------------
 3044|      0|        set_unhashable_type(key);
 3045|      0|        return -1;
 3046|      0|    }
 3047|  82.8k|    return set_contains_entry(so, key, hash);
 3048|  82.8k|}
PySet_Discard:
 3052|  5.68k|{
 3053|  5.68k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|  5.68k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  11.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  5.68k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3054|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3055|      0|        return -1;
 3056|      0|    }
 3057|       |
 3058|  5.68k|    int rv;
 3059|  5.68k|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|  5.68k|    {
  ------------------
 3060|  5.68k|    rv = set_discard_key((PySetObject *)set, key);
 3061|  5.68k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  5.68k|    }
  ------------------
 3062|  5.68k|    return rv;
 3063|  5.68k|}
PySet_Add:
 3067|  5.21k|{
 3068|  5.21k|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|  5.21k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  10.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.29k, False: 924]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  5.21k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|    924|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 924]
  |  |  ------------------
  ------------------
 3069|  4.29k|        int rv;
 3070|  4.29k|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|  4.29k|    {
  ------------------
 3071|  4.29k|        rv = set_add_key((PySetObject *)anyset, key);
 3072|  4.29k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.29k|    }
  ------------------
 3073|  4.29k|        return rv;
 3074|  4.29k|    }
 3075|       |
 3076|    924|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|  1.84k|    (Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 924, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|  1.84k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3076:38): [True: 924, False: 0]
  ------------------
 3077|       |        // We can only change frozensets if they are uniquely referenced. The
 3078|       |        // API limits the usage of `PySet_Add` to "fill in the values of brand
 3079|       |        // new frozensets before they are exposed to other code". In this case,
 3080|       |        // this can be done without a lock.
 3081|       |        // Since another key is added to the set, we must track the frozenset
 3082|       |        // if needed.
 3083|    924|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    924|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  1.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 924, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3083:47): [True: 918, False: 6]
  |  Branch (3083:81): [True: 2, False: 916]
  ------------------
 3084|      2|            _PyObject_GC_TRACK(anyset);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3085|      2|        }
 3086|    924|        return set_add_key((PySetObject *)anyset, key);
 3087|    924|    }
 3088|       |
 3089|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3090|      0|    return -1;
 3091|    924|}
_PySet_NextEntry:
 3095|    766|{
 3096|    766|    setentry *entry;
 3097|       |
 3098|    766|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|    766|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    766|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    766|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 766]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    766|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    766|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 766, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|    766|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|    766|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3099|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3100|      0|        return -1;
 3101|      0|    }
 3102|    766|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3102:9): [True: 155, False: 611]
  ------------------
 3103|    155|        return 0;
 3104|    611|    *key = entry->key;
 3105|    611|    *hash = entry->hash;
 3106|    611|    return 1;
 3107|    766|}
_PySet_NextEntryRef:
 3111|  1.30k|{
 3112|  1.30k|    setentry *entry;
 3113|       |
 3114|  1.30k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|  1.30k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  2.61k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  1.30k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  1.30k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3116|      0|        return -1;
 3117|      0|    }
 3118|  1.30k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(set);
 3119|  1.30k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3119:9): [True: 8, False: 1.30k]
  ------------------
 3120|      8|        return 0;
 3121|  1.30k|    *key = Py_NewRef(entry->key);
  ------------------
  |  |  550|  1.30k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3122|  1.30k|    *hash = entry->hash;
 3123|  1.30k|    return 1;
 3124|  1.30k|}
_PySet_Update:
 3138|  58.2k|{
 3139|  58.2k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|  58.2k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   116k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  58.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 58.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  58.2k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3140|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3141|      0|        return -1;
 3142|      0|    }
 3143|  58.2k|    return set_update_internal((PySetObject *)set, iterable);
 3144|  58.2k|}
setobject.c:set_add_entry_takeref:
  254|   732k|{
  255|   732k|    setentry *table;
  256|   732k|    setentry *freeslot;
  257|   732k|    setentry *entry;
  258|   732k|    size_t perturb;
  259|   732k|    size_t mask;
  260|   732k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|   732k|    int probes;
  262|   732k|    int cmp;
  263|       |
  264|   732k|  restart:
  265|       |
  266|   732k|    mask = so->mask;
  267|   732k|    i = (size_t)hash & mask;
  268|   732k|    freeslot = NULL;
  269|   732k|    perturb = hash;
  270|       |
  271|   769k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 769k, Folded]
  ------------------
  272|   769k|        entry = &so->table[i];
  273|   769k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   769k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   194k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 194k, False: 575k]
  ------------------
  274|   828k|        do {
  275|   828k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 529k, False: 299k]
  |  Branch (275:37): [True: 528k, False: 156]
  ------------------
  276|   528k|                goto found_unused_or_dummy;
  277|   299k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 203k, False: 95.9k]
  ------------------
  278|   203k|                PyObject *startkey = entry->key;
  279|   203k|                assert(startkey != dummy);
  280|   203k|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 151k, False: 52.0k]
  ------------------
  281|   151k|                    goto found_active;
  282|  52.0k|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|  52.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   104k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34, False: 52.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|  52.0k|                    && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|     34|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  52.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|     34|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 34, False: 0]
  ------------------
  285|     34|                    goto found_active;
  286|  52.0k|                table = so->table;
  287|  52.0k|                Py_INCREF(startkey);
  ------------------
  |  |  310|  52.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|  52.0k|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  52.0k|#define Py_EQ 2
  ------------------
  289|  52.0k|                Py_DECREF(startkey);
  ------------------
  |  |  430|  52.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|  52.0k|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 52.0k, False: 22]
  ------------------
  291|  52.0k|                    goto found_active;
  292|     22|                if (cmp < 0)
  ------------------
  |  Branch (292:21): [True: 0, False: 22]
  ------------------
  293|      0|                    goto comparison_error;
  294|     22|                if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (294:21): [True: 0, False: 22]
  |  Branch (294:43): [True: 0, False: 22]
  ------------------
  295|      0|                    goto restart;
  296|     22|                mask = so->mask;
  297|     22|            }
  298|  95.9k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 5, False: 95.9k]
  ------------------
  299|      5|                assert (entry->key == dummy);
  300|      5|                freeslot = entry;
  301|      5|            }
  302|  96.0k|            entry++;
  303|  96.0k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 58.5k, False: 37.4k]
  ------------------
  304|  37.4k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  37.4k|#define PERTURB_SHIFT 5
  ------------------
  305|  37.4k|        i = (i * 5 + 1 + perturb) & mask;
  306|  37.4k|    }
  307|       |
  308|   528k|  found_unused_or_dummy:
  309|   528k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 528k, False: 4]
  ------------------
  310|   528k|        goto found_unused;
  311|      4|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 4]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|      4|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|      4|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|      4|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  194|      4|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|      4|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  164|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|      4|    return 0;
  318|       |
  319|   528k|  found_unused:
  320|   528k|    so->fill++;
  321|   528k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|   528k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|   528k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|   528k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|   528k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|   528k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|   528k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 524k, False: 4.70k]
  ------------------
  325|   524k|        return 0;
  326|  4.70k|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 4.70k]
  ------------------
  327|       |
  328|   203k|  found_active:
  329|   203k|    Py_DECREF(key);
  ------------------
  |  |  430|   203k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|   203k|    return 0;
  331|       |
  332|      0|  comparison_error:
  333|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|      0|    return -1;
  335|   528k|}
setobject.c:set_table_resize:
  485|  16.4k|{
  486|  16.4k|    setentry *oldtable, *newtable, *entry;
  487|  16.4k|    Py_ssize_t oldmask = so->mask;
  488|  16.4k|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|  16.4k|    size_t newmask;
  490|  16.4k|    int is_oldtable_malloced;
  491|  16.4k|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|  16.4k|    assert(minused >= 0);
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|  16.4k|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|  16.4k|#define PySet_MINSIZE 8
  ------------------
  498|  45.5k|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 29.0k, False: 16.4k]
  ------------------
  499|  29.0k|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|  29.0k|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|  16.4k|    oldtable = so->table;
  504|  16.4k|    assert(oldtable != NULL);
  505|  16.4k|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|  16.4k|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|  16.4k|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 0, False: 16.4k]
  ------------------
  508|       |        /* A large table is shrinking, or we can't get any smaller. */
  509|      0|        newtable = so->smalltable;
  510|      0|        if (newtable == oldtable) {
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  ------------------
  511|      0|            if (so->fill == so->used) {
  ------------------
  |  Branch (511:17): [True: 0, False: 0]
  ------------------
  512|       |                /* No dummies, so no point doing anything. */
  513|      0|                return 0;
  514|      0|            }
  515|       |            /* We're not going to resize it, but rebuild the
  516|       |               table anyway to purge old dummy entries.
  517|       |               Subtle:  This is *necessary* if fill==size,
  518|       |               as set_lookkey needs at least one virgin slot to
  519|       |               terminate failing searches.  If fill < size, it's
  520|       |               merely desirable, as dummies slow searches. */
  521|      0|            assert(so->fill > so->used);
  522|      0|            memcpy(small_copy, oldtable, sizeof(small_copy));
  523|      0|            oldtable = small_copy;
  524|      0|        }
  525|      0|    }
  526|  16.4k|    else {
  527|  16.4k|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|  16.4k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  16.4k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  16.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   65|  16.4k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|  16.4k|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 16.4k]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|  16.4k|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|  16.4k|    assert(newtable != oldtable);
  536|  16.4k|    set_zero_table(newtable, newsize);
  537|  16.4k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  164|  16.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|  16.4k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  169|  16.4k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  539|       |
  540|       |    /* Copy the data over; this is refcount-neutral for active entries;
  541|       |       dummy entries aren't copied over, of course */
  542|  16.4k|    newmask = (size_t)so->mask;
  543|  16.4k|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 16.4k, False: 2]
  ------------------
  544|   181k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 164k, False: 16.4k]
  ------------------
  545|   164k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 68.9k, False: 95.8k]
  ------------------
  546|  68.9k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|  68.9k|            }
  548|   164k|        }
  549|  16.4k|    } else {
  550|      2|        so->fill = so->used;
  551|     66|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 64, False: 2]
  ------------------
  552|     64|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|     38|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 38, False: 26]
  |  Branch (552:39): [True: 32, False: 6]
  ------------------
  553|     32|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|     32|            }
  555|     64|        }
  556|      2|    }
  557|       |
  558|  16.4k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  164|  16.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|  16.4k|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 3.37k, False: 13.0k]
  ------------------
  561|  3.37k|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  3.37k|#define SET_IS_SHARED(so) 0
  ------------------
  562|  16.4k|    return 0;
  563|  16.4k|}
setobject.c:set_zero_table:
  197|  16.5k|{
  198|       |#ifdef Py_GIL_DISABLED
  199|       |    for (size_t i = 0; i < size; i++) {
  200|       |        setentry *entry = &table[i];
  201|       |        FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, 0);
  202|       |        FT_ATOMIC_STORE_PTR_RELEASE(entry->key, NULL);
  203|       |    }
  204|       |#else
  205|  16.5k|    memset(table, 0, sizeof(setentry)*size);
  206|  16.5k|#endif
  207|  16.5k|}
setobject.c:set_insert_clean:
  385|  71.3k|{
  386|  71.3k|    setentry *entry;
  387|  71.3k|    size_t perturb = hash;
  388|  71.3k|    size_t i = (size_t)hash & mask;
  389|  71.3k|    size_t j;
  390|       |
  391|  78.9k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 78.9k, Folded]
  ------------------
  392|  78.9k|        entry = &table[i];
  393|  78.9k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 68.3k, False: 10.5k]
  ------------------
  394|  68.3k|            goto found_null;
  395|  10.5k|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|  10.5k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 7.57k, False: 3.00k]
  ------------------
  396|  53.1k|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|  53.1k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 48.5k, False: 4.58k]
  ------------------
  397|  48.5k|                entry++;
  398|  48.5k|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 2.98k, False: 45.5k]
  ------------------
  399|  2.98k|                    goto found_null;
  400|  48.5k|            }
  401|  7.57k|        }
  402|  7.59k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  7.59k|#define PERTURB_SHIFT 5
  ------------------
  403|  7.59k|        i = (i * 5 + 1 + perturb) & mask;
  404|  7.59k|    }
  405|  71.3k|  found_null:
  406|  71.3k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|  71.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|  71.3k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|  71.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|  71.3k|}
setobject.c:free_entries:
  468|  16.0k|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|  16.0k|    PyMem_Free(entries);
  476|  16.0k|}
setobject.c:setiter_dealloc:
 1041|  5.96k|{
 1042|  5.96k|    setiterobject *si = (setiterobject*)self;
 1043|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1044|  5.96k|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  510|  5.96k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  5.96k|    Py_XDECREF(si->si_set);
  ------------------
  |  |  524|  5.96k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|  5.96k|    PyObject_GC_Del(si);
 1047|  5.96k|}
setobject.c:setiter_iternext:
 1096|  42.6k|{
 1097|  42.6k|    setiterobject *si = (setiterobject*)self;
 1098|  42.6k|    PyObject *key = NULL;
 1099|  42.6k|    Py_ssize_t i, mask;
 1100|  42.6k|    setentry *entry;
 1101|  42.6k|    PySetObject *so = si->si_set;
 1102|       |
 1103|  42.6k|    if (so == NULL)
  ------------------
  |  Branch (1103:9): [True: 0, False: 42.6k]
  ------------------
 1104|      0|        return NULL;
 1105|  42.6k|    assert (PyAnySet_Check(so));
 1106|       |
 1107|  42.6k|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  42.6k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1108|  42.6k|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  149|  42.6k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1109|  42.6k|    if (si_used != so_used) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 42.6k]
  ------------------
 1110|      0|        PyErr_SetString(PyExc_RuntimeError,
 1111|      0|                        "Set changed size during iteration");
 1112|      0|        si->si_used = -1; /* Make this state sticky */
 1113|      0|        return NULL;
 1114|      0|    }
 1115|       |
 1116|  42.6k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  42.6k|    {
  ------------------
 1117|  42.6k|    i = si->si_pos;
 1118|  42.6k|    assert(i>=0);
 1119|  42.6k|    entry = so->table;
 1120|  42.6k|    mask = so->mask;
 1121|   141k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|  37.1k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1121:12): [True: 135k, False: 5.74k]
  |  Branch (1121:26): [True: 98.7k, False: 37.1k]
  |  Branch (1121:50): [True: 183, False: 36.9k]
  ------------------
 1122|  98.9k|        i++;
 1123|  98.9k|    }
 1124|  42.6k|    if (i <= mask) {
  ------------------
  |  Branch (1124:9): [True: 36.9k, False: 5.74k]
  ------------------
 1125|  36.9k|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  550|  36.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  36.9k|    }
 1127|  42.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  42.6k|    }
  ------------------
 1128|  42.6k|    si->si_pos = i+1;
 1129|  42.6k|    if (key == NULL) {
  ------------------
  |  Branch (1129:9): [True: 5.74k, False: 36.9k]
  ------------------
 1130|  5.74k|        si->si_set = NULL;
 1131|  5.74k|        Py_DECREF(so);
  ------------------
  |  |  430|  5.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|  5.74k|        return NULL;
 1133|  5.74k|    }
 1134|  36.9k|    si->len--;
 1135|  36.9k|    return key;
 1136|  42.6k|}
setobject.c:frozenset_hash_impl:
  974|   153k|{
  975|   153k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   153k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  976|   153k|    Py_uhash_t hash = 0;
  977|   153k|    setentry *entry;
  978|       |
  979|       |    /* Xor-in shuffled bits from every entry's hash field because xor is
  980|       |       commutative and a frozenset hash should be independent of order.
  981|       |
  982|       |       For speed, include null entries and dummy entries and then
  983|       |       subtract out their effect afterwards so that the final hash
  984|       |       depends only on active entries.  This allows the code to be
  985|       |       vectorized by the compiler and it saves the unpredictable
  986|       |       branches that would arise when trying to exclude null and dummy
  987|       |       entries on every iteration. */
  988|       |
  989|  1.38M|    for (entry = so->table; entry <= &so->table[so->mask]; entry++)
  ------------------
  |  Branch (989:29): [True: 1.23M, False: 153k]
  ------------------
  990|  1.23M|        hash ^= _shuffle_bits(entry->hash);
  991|       |
  992|       |    /* Remove the effect of an odd number of NULL entries */
  993|   153k|    if ((so->mask + 1 - so->fill) & 1)
  ------------------
  |  Branch (993:9): [True: 186, False: 152k]
  ------------------
  994|    186|        hash ^= _shuffle_bits(0);
  995|       |
  996|       |    /* Remove the effect of an odd number of dummy entries */
  997|   153k|    if ((so->fill - so->used) & 1)
  ------------------
  |  Branch (997:9): [True: 0, False: 153k]
  ------------------
  998|      0|        hash ^= _shuffle_bits(-1);
  999|       |
 1000|       |    /* Factor in the number of active entries */
 1001|   153k|    hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL;
  ------------------
  |  |   71|   153k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|       |
 1003|       |    /* Disperse patterns arising in nested frozensets */
 1004|   153k|    hash ^= (hash >> 11) ^ (hash >> 25);
 1005|   153k|    hash = hash * 69069U + 907133923UL;
 1006|       |
 1007|       |    /* -1 is reserved as an error code */
 1008|   153k|    if (hash == (Py_uhash_t)-1)
  ------------------
  |  Branch (1008:9): [True: 0, False: 153k]
  ------------------
 1009|      0|        hash = 590923713UL;
 1010|       |
 1011|   153k|    return (Py_hash_t)hash;
 1012|   153k|}
setobject.c:_shuffle_bits:
  955|  1.23M|{
  956|  1.23M|    return ((h ^ 89869747UL) ^ (h << 16)) * 3644798167UL;
  957|  1.23M|}
setobject.c:set_contains_entry:
  567|   746k|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|   746k|    setentry *entry; // unused
  572|   746k|    return set_lookkey(so, key, hash, &entry);
  573|   746k|#endif
  574|   746k|}
setobject.c:set_lookkey:
  415|   752k|{
  416|   752k|    int status;
  417|   752k|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|   752k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   752k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   752k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   752k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 610k, False: 142k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|   610k|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|   610k|                               set_compare_frozenset);
  420|   610k|    }
  421|   142k|    else {
  422|   142k|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|   142k|    {
  ------------------
  423|   142k|        do {
  424|   142k|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|   142k|                                   set_compare_entry_lock_held);
  426|   142k|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|   142k|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 142k]
  ------------------
  427|   142k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   142k|    }
  ------------------
  428|   142k|    }
  429|       |    assert(status == SET_LOOKKEY_FOUND ||
  430|   752k|           status == SET_LOOKKEY_NO_MATCH ||
  431|   752k|           status == SET_LOOKKEY_ERROR);
  432|   752k|    return status;
  433|   752k|}
setobject.c:set_do_lookup:
  223|   774k|{
  224|   774k|    setentry *entry;
  225|   774k|    size_t perturb = hash;
  226|   774k|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|   774k|    int probes;
  228|   774k|    int status;
  229|       |
  230|   775k|    while (1) {
  ------------------
  |  Branch (230:12): [True: 775k, Folded]
  ------------------
  231|   775k|        entry = &table[i];
  232|   775k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   775k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  46.6k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 46.6k, False: 729k]
  ------------------
  233|   803k|        do {
  234|   803k|            status = compare_entry(so, table, entry, key, hash);
  235|   803k|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|   803k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 774k, False: 28.9k]
  ------------------
  236|   774k|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|   774k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 116k, False: 657k]
  ------------------
  237|   116k|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|   116k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|   116k|                }
  239|   657k|                *epp = entry;
  240|   657k|                return status;
  241|   774k|            }
  242|  28.9k|            entry++;
  243|  28.9k|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 27.3k, False: 1.59k]
  ------------------
  244|  1.59k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  1.59k|#define PERTURB_SHIFT 5
  ------------------
  245|  1.59k|        i = (i * 5 + 1 + perturb) & mask;
  246|  1.59k|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|   774k|}
setobject.c:set_compare_frozenset:
  174|   638k|{
  175|   638k|    assert(PyFrozenSet_Check(so));
  176|   638k|    PyObject *startkey = ep->key;
  177|   638k|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 41.5k, False: 597k]
  ------------------
  178|  41.5k|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  41.5k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|  41.5k|    }
  180|   597k|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 504k, False: 92.5k]
  ------------------
  181|   504k|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|   504k|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|   504k|    }
  183|  92.5k|    Py_ssize_t ep_hash = ep->hash;
  184|  92.5k|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 85.7k, False: 6.75k]
  ------------------
  185|  85.7k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  85.7k|#define Py_EQ 2
  ------------------
  186|  85.7k|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 85.7k]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|  85.7k|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  190|  85.7k|        return cmp;
  191|  85.7k|    }
  192|  6.75k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  6.75k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|  92.5k|}
setobject.c:set_compare_entry_lock_held:
  140|   164k|{
  141|   164k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|   164k|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 75.2k, False: 89.0k]
  |  Branch (142:29): [True: 75.2k, False: 0]
  ------------------
  143|  75.2k|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  75.2k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|  89.0k|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 66.7k, False: 22.2k]
  ------------------
  145|  66.7k|        PyObject *startkey = entry->key;
  146|  66.7k|        assert(startkey != dummy);
  147|  66.7k|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 1.76k, False: 65.0k]
  ------------------
  148|  1.76k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  1.76k|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|  65.0k|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|  65.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   130k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 554, False: 64.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|  65.0k|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|    554|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  65.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    554|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    554|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 554, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|    554|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 554, False: 0]
  ------------------
  152|    554|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|    554|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|  64.4k|        table = so->table;
  154|  64.4k|        Py_INCREF(startkey);
  ------------------
  |  |  310|  64.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  64.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|  64.4k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  64.4k|#define Py_EQ 2
  ------------------
  156|  64.4k|        Py_DECREF(startkey);
  ------------------
  |  |  430|  64.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  64.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  64.4k|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 64.4k]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|  64.4k|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 64.4k]
  |  Branch (159:35): [True: 0, False: 64.4k]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|  64.4k|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 64.4k, False: 0]
  ------------------
  162|  64.4k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  64.4k|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|  64.4k|    }
  164|  22.2k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  22.2k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|  89.0k|}
setobject.c:set_dealloc:
  735|   827k|{
  736|   827k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   827k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   827k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  737|   827k|    setentry *entry;
  738|   827k|    Py_ssize_t used = so->used;
  739|   827k|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|   827k|    PyObject_GC_UnTrack(so);
  743|   827k|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|   827k|    do {                                            \
  |  |   48|   827k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|   827k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 827k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|   827k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 827k]
  |  |  ------------------
  ------------------
  744|       |
  745|  3.16M|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 2.33M, False: 827k]
  ------------------
  746|  2.33M|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|   778k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 778k, False: 1.56M]
  |  Branch (746:27): [True: 778k, False: 14]
  ------------------
  747|   778k|                used--;
  748|   778k|                Py_DECREF(entry->key);
  ------------------
  |  |  430|   778k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   778k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   778k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|   778k|        }
  750|  2.33M|    }
  751|   827k|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 12.7k, False: 814k]
  ------------------
  752|  12.7k|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  12.7k|#define SET_IS_SHARED(so) 0
  ------------------
  753|   827k|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  213|   827k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   827k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   827k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   827k|}
setobject.c:set_sub:
 2167|      6|{
 2168|      6|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     12|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      6|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     12|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|      6|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      6|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      6|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2169|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2170|      6|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|      6|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2171|       |
 2172|      6|    PyObject *rv;
 2173|      6|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      6|    {
  ------------------
 2174|      6|    rv = set_difference(so, other);
 2175|      6|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      6|    }
  ------------------
 2176|      6|    return rv;
 2177|      6|}
setobject.c:set_difference:
 2049|      6|{
 2050|      6|    PyObject *result;
 2051|      6|    PyObject *key;
 2052|      6|    Py_hash_t hash;
 2053|      6|    setentry *entry;
 2054|      6|    Py_ssize_t pos = 0, other_size;
 2055|      6|    int rv;
 2056|       |
 2057|      6|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|      6|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      6|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      6|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2058|      6|        other_size = PySet_GET_SIZE(other);
  ------------------
  |  |   71|      6|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2059|      6|    }
 2060|      0|    else if (PyAnyDict_CheckExact(other)) {
  ------------------
  |  |   41|      0|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|      0|        other_size = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2062|      0|    }
 2063|      0|    else {
 2064|      0|        return set_copy_and_difference(so, other);
 2065|      0|    }
 2066|       |
 2067|       |    /* If len(so) much more than len(other), it's more efficient to simply copy
 2068|       |     * so and then iterate other looking for common elements. */
 2069|      6|    if ((PySet_GET_SIZE(so) >> 2) > other_size) {
  ------------------
  |  |   71|      6|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2069:9): [True: 6, False: 0]
  ------------------
 2070|      6|        return set_copy_and_difference(so, other);
 2071|      6|    }
 2072|       |
 2073|      0|    result = make_new_set_basetype(Py_TYPE(so), NULL);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|      0|    if (result == NULL)
  ------------------
  |  Branch (2074:9): [True: 0, False: 0]
  ------------------
 2075|      0|        return NULL;
 2076|       |
 2077|      0|    if (PyAnyDict_CheckExact(other)) {
  ------------------
  |  |   41|      0|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2078|      0|        while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2078:16): [True: 0, False: 0]
  ------------------
 2079|      0|            key = entry->key;
 2080|      0|            hash = entry->hash;
 2081|      0|            Py_INCREF(key);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|      0|            rv = _PyDict_Contains_KnownHash(other, key, hash);
 2083|      0|            if (rv < 0) {
  ------------------
  |  Branch (2083:17): [True: 0, False: 0]
  ------------------
 2084|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|                return NULL;
 2087|      0|            }
 2088|      0|            if (!rv) {
  ------------------
  |  Branch (2088:17): [True: 0, False: 0]
  ------------------
 2089|      0|                if (set_add_entry((PySetObject *)result, key, hash)) {
  ------------------
  |  Branch (2089:21): [True: 0, False: 0]
  ------------------
 2090|      0|                    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2091|      0|                    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2092|      0|                    return NULL;
 2093|      0|                }
 2094|      0|            }
 2095|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      0|        }
 2097|      0|        return result;
 2098|      0|    }
 2099|       |
 2100|       |    /* Iterate over so, checking for common elements in other. */
 2101|      0|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2101:12): [True: 0, False: 0]
  ------------------
 2102|      0|        key = entry->key;
 2103|      0|        hash = entry->hash;
 2104|      0|        Py_INCREF(key);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      0|        rv = set_contains_entry((PySetObject *)other, key, hash);
 2106|      0|        if (rv < 0) {
  ------------------
  |  Branch (2106:13): [True: 0, False: 0]
  ------------------
 2107|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|      0|            return NULL;
 2110|      0|        }
 2111|      0|        if (!rv) {
  ------------------
  |  Branch (2111:13): [True: 0, False: 0]
  ------------------
 2112|      0|            if (set_add_entry((PySetObject *)result, key, hash)) {
  ------------------
  |  Branch (2112:17): [True: 0, False: 0]
  ------------------
 2113|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|      0|                return NULL;
 2116|      0|            }
 2117|      0|        }
 2118|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|      0|    }
 2120|      0|    return result;
 2121|      0|}
setobject.c:set_copy_and_difference:
 2035|      6|{
 2036|      6|    PyObject *result;
 2037|       |
 2038|      6|    result = set_copy_impl(so);
 2039|      6|    if (result == NULL)
  ------------------
  |  Branch (2039:9): [True: 0, False: 6]
  ------------------
 2040|      0|        return NULL;
 2041|      6|    if (set_difference_update_internal((PySetObject *) result, other) == 0)
  ------------------
  |  Branch (2041:9): [True: 6, False: 0]
  ------------------
 2042|      6|        return result;
 2043|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|       |    return NULL;
 2045|      6|}
setobject.c:set_copy_impl:
 1569|     26|{
 1570|     26|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1571|     26|    PyObject *copy = make_new_set_basetype(Py_TYPE(so), NULL);
  ------------------
  |  |  213|     26|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1572|     26|    if (copy == NULL) {
  ------------------
  |  Branch (1572:9): [True: 0, False: 26]
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|     26|    if (set_merge_lock_held((PySetObject *)copy, (PyObject *)so) < 0) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 26]
  ------------------
 1576|      0|        Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      0|        return NULL;
 1578|      0|    }
 1579|     26|    return copy;
 1580|     26|}
setobject.c:set_merge_lock_held:
  830|   443k|{
  831|   443k|    PySetObject *other;
  832|   443k|    PyObject *key;
  833|   443k|    Py_ssize_t i;
  834|   443k|    setentry *so_entry;
  835|   443k|    setentry *other_entry;
  836|       |
  837|   443k|    assert (PyAnySet_Check(so));
  838|   443k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  839|   443k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  840|       |
  841|   443k|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|   443k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  842|   443k|    if (other == so || other->used == 0)
  ------------------
  |  Branch (842:9): [True: 0, False: 443k]
  |  Branch (842:24): [True: 116k, False: 327k]
  ------------------
  843|       |        /* a.update(a) or a.update(set()); nothing to do */
  844|   116k|        return 0;
  845|       |    /* Do one big resize at the start, rather than
  846|       |     * incrementally resizing as we insert new keys.  Expect
  847|       |     * that there will be no (or few) overlapping keys.
  848|       |     */
  849|   327k|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (849:9): [True: 11.7k, False: 315k]
  ------------------
  850|  11.7k|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (850:13): [True: 0, False: 11.7k]
  ------------------
  851|      0|            return -1;
  852|  11.7k|    }
  853|   327k|    so_entry = so->table;
  854|   327k|    other_entry = other->table;
  855|       |
  856|       |    /* If our table is empty, and both tables have the same size, and
  857|       |       there are no dummies to eliminate, then just copy the pointers. */
  858|   327k|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (858:9): [True: 99.5k, False: 227k]
  |  Branch (858:26): [True: 99.3k, False: 236]
  |  Branch (858:53): [True: 99.3k, False: 0]
  ------------------
  859|   907k|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (859:21): [True: 807k, False: 99.3k]
  ------------------
  860|   807k|            key = other_entry->key;
  861|   807k|            if (key != NULL) {
  ------------------
  |  Branch (861:17): [True: 257k, False: 550k]
  ------------------
  862|   257k|                assert(so_entry->key == NULL);
  863|   257k|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  194|   257k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  864|   257k|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  164|   257k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  865|   257k|            }
  866|   807k|        }
  867|  99.3k|        so->fill = other->fill;
  868|  99.3k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|  99.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  869|  99.3k|        return 0;
  870|  99.3k|    }
  871|       |
  872|       |    /* If our table is empty, we can use set_insert_clean() */
  873|   227k|    if (so->fill == 0) {
  ------------------
  |  Branch (873:9): [True: 236, False: 227k]
  ------------------
  874|    236|        setentry *newtable = so->table;
  875|    236|        size_t newmask = (size_t)so->mask;
  876|    236|        so->fill = other->used;
  877|    236|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|    236|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  878|  11.0k|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (878:35): [True: 10.8k, False: 236]
  ------------------
  879|  10.8k|            key = other_entry->key;
  880|  10.8k|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|  2.34k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (880:17): [True: 2.34k, False: 8.46k]
  |  Branch (880:32): [True: 2.34k, False: 0]
  ------------------
  881|  2.34k|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  550|  2.34k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|  2.34k|                                 other_entry->hash);
  883|  2.34k|            }
  884|  10.8k|        }
  885|    236|        return 0;
  886|    236|    }
  887|       |
  888|       |    /* We can't assure there are no duplicates, so do normal insertions */
  889|  2.13M|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (889:17): [True: 1.91M, False: 227k]
  ------------------
  890|  1.91M|        other_entry = &other->table[i];
  891|  1.91M|        key = other_entry->key;
  892|  1.91M|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|   340k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (892:13): [True: 340k, False: 1.57M]
  |  Branch (892:28): [True: 340k, False: 0]
  ------------------
  893|   340k|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (893:17): [True: 0, False: 340k]
  ------------------
  894|      0|                return -1;
  895|   340k|        }
  896|  1.91M|    }
  897|   227k|    return 0;
  898|   227k|}
setobject.c:set_difference_update_internal:
 1946|     34|{
 1947|     34|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1948|     34|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1949|       |
 1950|     34|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1950:9): [True: 0, False: 34]
  ------------------
 1951|      0|        return set_clear_internal((PyObject*)so);
 1952|       |
 1953|     34|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     34|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     34|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     34|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1954|     34|        setentry *entry;
 1955|     34|        Py_ssize_t pos = 0;
 1956|       |
 1957|       |        /* Optimization:  When the other set is more than 8 times
 1958|       |           larger than the base set, replace the other set with
 1959|       |           intersection of the two sets.
 1960|       |        */
 1961|     34|        if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     34|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     34|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1961:13): [True: 0, False: 34]
  ------------------
 1962|      0|            other = set_intersection(so, other);
 1963|      0|            if (other == NULL)
  ------------------
  |  Branch (1963:17): [True: 0, False: 0]
  ------------------
 1964|      0|                return -1;
 1965|     34|        } else {
 1966|     34|            Py_INCREF(other);
  ------------------
  |  |  310|     34|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1967|     34|        }
 1968|       |
 1969|     48|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1969:16): [True: 14, False: 34]
  ------------------
 1970|     14|            PyObject *key = entry->key;
 1971|     14|            Py_INCREF(key);
  ------------------
  |  |  310|     14|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1972|     14|            if (set_discard_entry(so, key, entry->hash) < 0) {
  ------------------
  |  Branch (1972:17): [True: 0, False: 14]
  ------------------
 1973|      0|                Py_DECREF(other);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1975|      0|                return -1;
 1976|      0|            }
 1977|     14|            Py_DECREF(key);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1978|     14|        }
 1979|       |
 1980|     34|        Py_DECREF(other);
  ------------------
  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|     34|    } else {
 1982|      0|        PyObject *key, *it;
 1983|      0|        it = PyObject_GetIter(other);
 1984|      0|        if (it == NULL)
  ------------------
  |  Branch (1984:13): [True: 0, False: 0]
  ------------------
 1985|      0|            return -1;
 1986|       |
 1987|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1987:16): [True: 0, False: 0]
  ------------------
 1988|      0|            if (set_discard_key(so, key) < 0) {
  ------------------
  |  Branch (1988:17): [True: 0, False: 0]
  ------------------
 1989|      0|                Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1991|      0|                return -1;
 1992|      0|            }
 1993|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|      0|        }
 1995|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1996|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (1996:13): [True: 0, False: 0]
  ------------------
 1997|      0|            return -1;
 1998|      0|    }
 1999|       |    /* If more than 1/4th are dummies, then resize them away. */
 2000|     34|    if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
  ------------------
  |  Branch (2000:9): [True: 34, False: 0]
  ------------------
 2001|     34|        return 0;
 2002|      0|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (2002:33): [True: 0, False: 0]
  ------------------
 2003|     34|}
setobject.c:set_intersection:
 1686|     56|{
 1687|     56|    PySetObject *result;
 1688|     56|    PyObject *key, *it, *tmp;
 1689|     56|    Py_hash_t hash;
 1690|     56|    int rv;
 1691|       |
 1692|     56|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1692:9): [True: 0, False: 56]
  ------------------
 1693|      0|        return set_copy_impl(so);
 1694|       |
 1695|     56|    result = (PySetObject *)make_new_set_basetype(Py_TYPE(so), NULL);
  ------------------
  |  |  213|     56|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|     56|    if (result == NULL)
  ------------------
  |  Branch (1696:9): [True: 0, False: 56]
  ------------------
 1697|      0|        return NULL;
 1698|       |
 1699|     56|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     56|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    112|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     62|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     56|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 6]
  |  |  ------------------
  |  |   33|     56|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 1700|     50|        Py_ssize_t pos = 0;
 1701|     50|        setentry *entry;
 1702|       |
 1703|     50|        if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     50|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     50|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1703:13): [True: 12, False: 38]
  ------------------
 1704|     12|            tmp = (PyObject *)so;
 1705|     12|            so = (PySetObject *)other;
 1706|     12|            other = tmp;
 1707|     12|        }
 1708|       |
 1709|    126|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1709:16): [True: 76, False: 50]
  ------------------
 1710|     76|            key = entry->key;
 1711|     76|            hash = entry->hash;
 1712|     76|            Py_INCREF(key);
  ------------------
  |  |  310|     76|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|     76|            rv = set_contains_entry(so, key, hash);
 1714|     76|            if (rv < 0) {
  ------------------
  |  Branch (1714:17): [True: 0, False: 76]
  ------------------
 1715|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|      0|                return NULL;
 1718|      0|            }
 1719|     76|            if (rv) {
  ------------------
  |  Branch (1719:17): [True: 0, False: 76]
  ------------------
 1720|      0|                if (set_add_entry(result, key, hash)) {
  ------------------
  |  Branch (1720:21): [True: 0, False: 0]
  ------------------
 1721|      0|                    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1722|      0|                    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1723|      0|                    return NULL;
 1724|      0|                }
 1725|      0|            }
 1726|     76|            Py_DECREF(key);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|     76|        }
 1728|     50|        return (PyObject *)result;
 1729|     50|    }
 1730|       |
 1731|      6|    it = PyObject_GetIter(other);
 1732|      6|    if (it == NULL) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 6]
  ------------------
 1733|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|        return NULL;
 1735|      0|    }
 1736|       |
 1737|     62|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1737:12): [True: 58, False: 4]
  ------------------
 1738|     58|        hash = PyObject_Hash(key);
 1739|     58|        if (hash == -1)
  ------------------
  |  Branch (1739:13): [True: 0, False: 58]
  ------------------
 1740|      0|            goto error;
 1741|     58|        rv = set_contains_entry(so, key, hash);
 1742|     58|        if (rv < 0)
  ------------------
  |  Branch (1742:13): [True: 0, False: 58]
  ------------------
 1743|      0|            goto error;
 1744|     58|        if (rv) {
  ------------------
  |  Branch (1744:13): [True: 58, False: 0]
  ------------------
 1745|     58|            if (set_add_entry(result, key, hash))
  ------------------
  |  Branch (1745:17): [True: 0, False: 58]
  ------------------
 1746|      0|                goto error;
 1747|     58|            if (PySet_GET_SIZE(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     58|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PySet_GET_SIZE(result) >= PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     58|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1747:17): [True: 2, False: 56]
  ------------------
 1748|      2|                Py_DECREF(key);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|      2|                break;
 1750|      2|            }
 1751|     58|        }
 1752|     56|        Py_DECREF(key);
  ------------------
  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|     56|    }
 1754|      6|    Py_DECREF(it);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      6|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1755:9): [True: 0, False: 6]
  ------------------
 1756|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      0|        return NULL;
 1758|      0|    }
 1759|      6|    return (PyObject *)result;
 1760|      0|  error:
 1761|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1764|       |    return NULL;
 1765|      6|}
setobject.c:set_discard_entry:
  581|  5.82k|{
  582|  5.82k|    setentry *entry;
  583|  5.82k|    PyObject *old_key;
  584|  5.82k|    int status = set_lookkey(so, key, hash, &entry);
  585|  5.82k|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 5.82k]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|  5.82k|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  5.82k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 5.60k, False: 219]
  ------------------
  589|  5.60k|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|  5.60k|#define DISCARD_NOTFOUND 0
  ------------------
  590|  5.60k|    }
  591|  5.82k|    assert(status == SET_LOOKKEY_FOUND);
  592|    219|    old_key = entry->key;
  593|    219|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|    219|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|    219|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|    219|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|    219|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|    219|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|    219|    Py_DECREF(old_key);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|    219|    return DISCARD_FOUND;
  ------------------
  |  |  577|    219|#define DISCARD_FOUND 1
  ------------------
  598|  5.82k|}
setobject.c:make_new_set_basetype:
 1378|     82|{
 1379|     82|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1379:9): [True: 4, False: 78]
  |  Branch (1379:32): [True: 0, False: 4]
  ------------------
 1380|      0|        if (PyType_IsSubtype(type, &PySet_Type))
  ------------------
  |  Branch (1380:13): [True: 0, False: 0]
  ------------------
 1381|      0|            type = &PySet_Type;
 1382|      0|        else
 1383|      0|            type = &PyFrozenSet_Type;
 1384|      0|    }
 1385|     82|    return make_new_set(type, iterable);
 1386|     82|}
setobject.c:set_add_entry:
  339|   407k|{
  340|   407k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|   407k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  550|   407k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   407k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   407k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|   407k|}
setobject.c:set_and:
 1842|     50|{
 1843|     50|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|    100|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    100|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     50|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     50|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|    100|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     50|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    100|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     50|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     50|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     50|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1844|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1845|     50|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     50|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1846|       |
 1847|     50|    PyObject *rv;
 1848|     50|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     50|    {
  ------------------
 1849|     50|    rv = set_intersection(so, other);
 1850|     50|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     50|    }
  ------------------
 1851|       |
 1852|     50|    return rv;
 1853|     50|}
setobject.c:set_update_dict_lock_held:
 1188|     50|{
 1189|     50|    assert(PyAnyDict_CheckExact(other));
 1190|       |
 1191|     50|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1192|       |#ifdef Py_DEBUG
 1193|       |    if (!PyFrozenDict_CheckExact(other)) {
 1194|       |        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1195|       |    }
 1196|       |#endif
 1197|       |
 1198|       |    /* Do one big resize at the start, rather than
 1199|       |    * incrementally resizing as we insert new keys.  Expect
 1200|       |    * that there will be no (or few) overlapping keys.
 1201|       |    */
 1202|     50|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|     50|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|     50|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1203:9): [True: 14, False: 36]
  ------------------
 1204|     14|        if (set_table_resize(so, (so->used + dictsize)*2) != 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 14]
  ------------------
 1205|      0|            return -1;
 1206|      0|        }
 1207|     14|    }
 1208|       |
 1209|     50|    Py_ssize_t pos = 0;
 1210|     50|    PyObject *key;
 1211|     50|    PyObject *value;
 1212|     50|    Py_hash_t hash;
 1213|    244|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1213:12): [True: 194, False: 50]
  ------------------
 1214|    194|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 194]
  ------------------
 1215|      0|            return -1;
 1216|      0|        }
 1217|    194|    }
 1218|     50|    return 0;
 1219|     50|}
setobject.c:set_update_iterable_lock_held:
 1223|  8.75k|{
 1224|  8.75k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1225|       |
 1226|  8.75k|    PyObject *it = PyObject_GetIter(other);
 1227|  8.75k|    if (it == NULL) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 8.75k]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|  8.75k|    PyObject *key;
 1232|  57.4k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1232:12): [True: 48.7k, False: 8.75k]
  ------------------
 1233|  48.7k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1233:13): [True: 0, False: 48.7k]
  ------------------
 1234|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|      0|            return -1;
 1237|      0|        }
 1238|  48.7k|        Py_DECREF(key);
  ------------------
  |  |  430|  48.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|  48.7k|    }
 1240|  8.75k|    Py_DECREF(it);
  ------------------
  |  |  430|  8.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  8.75k|    if (PyErr_Occurred())
  ------------------
  |  Branch (1241:9): [True: 0, False: 8.75k]
  ------------------
 1242|      0|        return -1;
 1243|  8.75k|    return 0;
 1244|  8.75k|}
setobject.c:set_or:
 1651|     18|{
 1652|     18|    PySetObject *result;
 1653|       |
 1654|     18|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     36|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     18|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     36|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|     18|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     18|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     18|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1655|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1656|       |
 1657|     18|    result = (PySetObject *)set_copy(self, NULL);
 1658|     18|    if (result == NULL) {
  ------------------
  |  Branch (1658:9): [True: 0, False: 18]
  ------------------
 1659|      0|        return NULL;
 1660|      0|    }
 1661|     18|    if (Py_Is(self, other)) {
  ------------------
  |  |  187|     18|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 1662|      0|        return (PyObject *)result;
 1663|      0|    }
 1664|     18|    if (set_update_local(result, other)) {
  ------------------
  |  Branch (1664:9): [True: 0, False: 18]
  ------------------
 1665|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|      0|        return NULL;
 1667|      0|    }
 1668|     18|    return (PyObject *)result;
 1669|     18|}
setobject.c:set_update_local:
 1261|   158k|{
 1262|   158k|    assert(Py_REFCNT(so) == 1);
 1263|   158k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   158k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   316k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 157k, False: 840]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   158k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    840|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    840|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 836]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   158k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|    836|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 836]
  |  |  ------------------
  |  |   33|   158k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|    836|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 836]
  |  |  ------------------
  ------------------
 1264|   157k|        int rv;
 1265|   157k|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|   157k|    {
  ------------------
 1266|   157k|        rv = set_merge_lock_held(so, other);
 1267|   157k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   157k|    }
  ------------------
 1268|   157k|        return rv;
 1269|   157k|    }
 1270|    836|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|    836|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    836|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 786]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|     50|        int rv;
 1272|     50|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|     50|    {
  ------------------
 1273|     50|        rv = set_update_dict_lock_held(so, other);
 1274|     50|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     50|    }
  ------------------
 1275|     50|        return rv;
 1276|     50|    }
 1277|    786|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|    786|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|    786|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 786]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        return set_update_dict_lock_held(so, other);
 1279|      0|    }
 1280|    786|    return set_update_iterable_lock_held(so, other);
 1281|   158k|}
setobject.c:set_isub:
 2181|     28|{
 2182|     28|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|     28|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     56|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     28|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|     28|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2183|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2184|     28|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     28|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2185|       |
 2186|     28|    int rv;
 2187|     28|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     28|    {
  ------------------
 2188|     28|    rv = set_difference_update_internal(so, other);
 2189|     28|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     28|    }
  ------------------
 2190|     28|    if (rv < 0) {
  ------------------
  |  Branch (2190:9): [True: 0, False: 28]
  ------------------
 2191|      0|        return NULL;
 2192|      0|    }
 2193|     28|    return Py_NewRef(so);
  ------------------
  |  |  550|     28|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|     28|}
setobject.c:set_ior:
 1673|  5.22k|{
 1674|  5.22k|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|  5.22k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  10.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.22k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  5.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  5.22k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  5.22k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1675|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1676|  5.22k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  5.22k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1677|       |
 1678|  5.22k|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1678:9): [True: 0, False: 5.22k]
  ------------------
 1679|      0|        return NULL;
 1680|      0|    }
 1681|  5.22k|    return Py_NewRef(so);
  ------------------
  |  |  550|  5.22k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|  5.22k|}
setobject.c:set_contains:
 2536|    126|{
 2537|       |    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    126|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2538|    126|    return _PySet_Contains(so, key);
 2539|    126|}
setobject.c:set_traverse:
  938|  33.7k|{
  939|  33.7k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  33.7k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  940|  33.7k|    Py_ssize_t pos = 0;
  941|  33.7k|    setentry *entry;
  942|       |
  943|   178k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (943:12): [True: 144k, False: 33.7k]
  ------------------
  944|   144k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|   144k|    do {                                                                \
  |  |  195|   144k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 144k, False: 0]
  |  |  ------------------
  |  |  196|   144k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   144k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 144k]
  |  |  ------------------
  |  |  198|   144k|                return vret;                                            \
  |  |  199|   144k|        }                                                               \
  |  |  200|   144k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 144k]
  |  |  ------------------
  ------------------
  945|  33.7k|    return 0;
  946|  33.7k|}
setobject.c:set_clear_internal:
  647|     72|{
  648|     72|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     72|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  649|     72|    setentry *entry;
  650|     72|    setentry *table = so->table;
  651|     72|    Py_ssize_t fill = so->fill;
  652|     72|    Py_ssize_t used = so->used;
  653|     72|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  654|     72|    int table_is_malloced = table != so->smalltable;
  655|     72|    setentry small_copy[PySet_MINSIZE];
  656|       |
  657|     72|    assert (PyAnySet_Check(so));
  658|     72|    assert(table != NULL);
  659|       |
  660|       |    /* This is delicate.  During the process of clearing the set,
  661|       |     * decrefs can cause the set to mutate.  To avoid fatal confusion
  662|       |     * (voice of experience), we have to make the set empty before
  663|       |     * clearing the slots, and never refer to anything via so->ref while
  664|       |     * clearing.
  665|       |     */
  666|     72|    if (table_is_malloced)
  ------------------
  |  Branch (666:9): [True: 0, False: 72]
  ------------------
  667|      0|        set_empty_to_minsize(so);
  668|       |
  669|     72|    else if (fill > 0) {
  ------------------
  |  Branch (669:14): [True: 72, False: 0]
  ------------------
  670|       |        /* It's a small table with something that needs to be cleared.
  671|       |         * Afraid the only safe way is to copy the set entries into
  672|       |         * another small table first.
  673|       |         */
  674|     72|        memcpy(small_copy, table, sizeof(small_copy));
  675|     72|        table = small_copy;
  676|     72|        set_empty_to_minsize(so);
  677|     72|    }
  678|       |    /* else it's a small table that's already empty */
  679|       |
  680|       |    /* Now we can finally clear things.  If C had refcounts, we could
  681|       |     * assert that the refcount on table is 1 now, i.e. that this function
  682|       |     * has unique access to it, so decref side-effects can't alter it.
  683|       |     */
  684|    475|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 403, False: 72]
  ------------------
  685|    403|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     72|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 72, False: 331]
  |  Branch (685:27): [True: 72, False: 0]
  ------------------
  686|     72|            used--;
  687|     72|            Py_DECREF(entry->key);
  ------------------
  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|     72|        }
  689|    403|    }
  690|       |
  691|     72|    if (table_is_malloced)
  ------------------
  |  Branch (691:9): [True: 0, False: 72]
  ------------------
  692|      0|        free_entries(table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|      0|#define SET_IS_SHARED(so) 0
  ------------------
  693|     72|    return 0;
  694|     72|}
setobject.c:set_empty_to_minsize:
  635|     72|{
  636|     72|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  164|     72|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  637|     72|    set_zero_table(so->smalltable, PySet_MINSIZE);
  ------------------
  |  |   18|     72|#define PySet_MINSIZE 8
  ------------------
  638|     72|    so->fill = 0;
  639|     72|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, 0);
  ------------------
  |  |  194|     72|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  640|     72|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, PySet_MINSIZE - 1);
  ------------------
  |  |  169|     72|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     72|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  194|     72|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     72|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  164|     72|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     72|}
setobject.c:set_richcompare:
 2449|   152k|{
 2450|   152k|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|   152k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2451|   152k|    PyObject *r1;
 2452|   152k|    int r2;
 2453|       |
 2454|   152k|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|   152k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   305k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 94, False: 152k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   305k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 152k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   152k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|   152k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2455|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2456|       |
 2457|   152k|    switch (op) {
  ------------------
  |  Branch (2457:13): [True: 152k, False: 0]
  ------------------
 2458|   152k|    case Py_EQ:
  ------------------
  |  |  654|   152k|#define Py_EQ 2
  ------------------
  |  Branch (2458:5): [True: 152k, False: 28]
  ------------------
 2459|   152k|        if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|   152k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|   152k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2459:13): [True: 58, False: 152k]
  ------------------
 2460|     58|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     58|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     58|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2461|   152k|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  149|   152k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2462|   152k|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  149|   152k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2463|   152k|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2463:13): [True: 152k, False: 8]
  |  Branch (2463:29): [True: 152k, False: 0]
  |  Branch (2463:45): [True: 0, False: 152k]
  ------------------
 2464|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2465|   152k|        return set_issubset((PyObject*)v, w);
 2466|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2466:5): [True: 0, False: 152k]
  ------------------
 2467|      0|        r1 = set_richcompare((PyObject*)v, w, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 2468|      0|        if (r1 == NULL)
  ------------------
  |  Branch (2468:13): [True: 0, False: 0]
  ------------------
 2469|      0|            return NULL;
 2470|      0|        r2 = PyObject_IsTrue(r1);
 2471|      0|        Py_DECREF(r1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2472|      0|        if (r2 < 0)
  ------------------
  |  Branch (2472:13): [True: 0, False: 0]
  ------------------
 2473|      0|            return NULL;
 2474|      0|        return PyBool_FromLong(!r2);
 2475|     28|    case Py_LE:
  ------------------
  |  |  653|     28|#define Py_LE 1
  ------------------
  |  Branch (2475:5): [True: 28, False: 152k]
  ------------------
 2476|     28|        return set_issubset((PyObject*)v, w);
 2477|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (2477:5): [True: 0, False: 152k]
  ------------------
 2478|      0|        return set_issuperset((PyObject*)v, w);
 2479|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (2479:5): [True: 0, False: 152k]
  ------------------
 2480|      0|        if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2480:13): [True: 0, False: 0]
  ------------------
 2481|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|      0|        return set_issubset((PyObject*)v, w);
 2483|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (2483:5): [True: 0, False: 152k]
  ------------------
 2484|      0|        if (PySet_GET_SIZE(v) <= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) <= PySet_GET_SIZE(w))
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2484:13): [True: 0, False: 0]
  ------------------
 2485|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2486|      0|        return set_issuperset((PyObject*)v, w);
 2487|   152k|    }
 2488|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2489|   152k|}
setobject.c:set_issubset_impl:
 2374|   152k|{
 2375|   152k|    setentry *entry;
 2376|   152k|    Py_ssize_t pos = 0;
 2377|   152k|    int rv;
 2378|       |
 2379|   152k|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|   152k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   305k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36, False: 152k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   305k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 152k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   152k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 2]
  |  |  ------------------
  |  |   33|   152k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2380|      2|        PyObject *tmp = set_intersection(so, other);
 2381|      2|        if (tmp == NULL) {
  ------------------
  |  Branch (2381:13): [True: 0, False: 2]
  ------------------
 2382|      0|            return NULL;
 2383|      0|        }
 2384|      2|        int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   71|      2|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      int result = (PySet_GET_SIZE(tmp) == PySet_GET_SIZE(so));
  ------------------
  |  |   71|      2|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2385|      2|        Py_DECREF(tmp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2386|      2|        return PyBool_FromLong(result);
 2387|      2|    }
 2388|   152k|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|   152k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|   152k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2388:9): [True: 0, False: 152k]
  ------------------
 2389|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2390|       |
 2391|   239k|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2391:12): [True: 86.2k, False: 152k]
  ------------------
 2392|  86.2k|        PyObject *key = entry->key;
 2393|  86.2k|        Py_INCREF(key);
  ------------------
  |  |  310|  86.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|  86.2k|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2395|  86.2k|        Py_DECREF(key);
  ------------------
  |  |  430|  86.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2396|  86.2k|        if (rv < 0) {
  ------------------
  |  Branch (2396:13): [True: 0, False: 86.2k]
  ------------------
 2397|      0|            return NULL;
 2398|      0|        }
 2399|  86.2k|        if (!rv) {
  ------------------
  |  Branch (2399:13): [True: 0, False: 86.2k]
  ------------------
 2400|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2401|      0|        }
 2402|  86.2k|    }
 2403|   152k|    Py_RETURN_TRUE;
  ------------------
  |  |   44|   152k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|   152k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|   152k|}
setobject.c:set_issuperset_impl:
 2419|     94|{
 2420|     94|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     94|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    188|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    188|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|     94|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|     94|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 94]
  |  |  ------------------
  |  |   33|     94|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|     94|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 94]
  |  |  ------------------
  ------------------
 2421|      0|        return set_issubset(other, (PyObject *)so);
 2422|      0|    }
 2423|       |
 2424|     94|    PyObject *key, *it = PyObject_GetIter(other);
 2425|     94|    if (it == NULL) {
  ------------------
  |  Branch (2425:9): [True: 0, False: 94]
  ------------------
 2426|      0|        return NULL;
 2427|      0|    }
 2428|    384|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2428:12): [True: 290, False: 94]
  ------------------
 2429|    290|        int rv = set_contains_key(so, key);
 2430|    290|        Py_DECREF(key);
  ------------------
  |  |  430|    290|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|    290|        if (rv < 0) {
  ------------------
  |  Branch (2431:13): [True: 0, False: 290]
  ------------------
 2432|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|      0|            return NULL;
 2434|      0|        }
 2435|    290|        if (!rv) {
  ------------------
  |  Branch (2435:13): [True: 0, False: 290]
  ------------------
 2436|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|      0|        }
 2439|    290|    }
 2440|     94|    Py_DECREF(it);
  ------------------
  |  |  430|     94|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|     94|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2441:9): [True: 0, False: 94]
  ------------------
 2442|      0|        return NULL;
 2443|      0|    }
 2444|     94|    Py_RETURN_TRUE;
  ------------------
  |  |   44|     94|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     94|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|     94|}
setobject.c:set_contains_key:
  613|    290|{
  614|    290|    Py_hash_t hash = _PyObject_HashFast(key);
  615|    290|    if (hash == -1) {
  ------------------
  |  Branch (615:9): [True: 0, False: 290]
  ------------------
  616|      0|        set_unhashable_type(key);
  617|      0|        return -1;
  618|      0|    }
  619|    290|    return set_contains_entry(so, key, hash);
  620|    290|}
setobject.c:set_iter:
 1173|  5.96k|{
 1174|  5.96k|    Py_ssize_t size = set_len(so);
 1175|  5.96k|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|  5.96k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1176|  5.96k|    if (si == NULL)
  ------------------
  |  Branch (1176:9): [True: 0, False: 5.96k]
  ------------------
 1177|      0|        return NULL;
 1178|  5.96k|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  550|  5.96k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|  5.96k|    si->si_used = size;
 1180|  5.96k|    si->si_pos = 0;
 1181|  5.96k|    si->len = size;
 1182|  5.96k|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  508|  5.96k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  5.96k|    return (PyObject *)si;
 1184|  5.96k|}
setobject.c:set_add_impl:
 2506|  13.4k|{
 2507|  13.4k|    if (set_add_key(so, key))
  ------------------
  |  Branch (2507:9): [True: 0, False: 13.4k]
  ------------------
 2508|      0|        return NULL;
 2509|  13.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  13.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  13.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2510|  13.4k|}
setobject.c:set___contains___impl:
 2554|    206|{
 2555|    206|    long result;
 2556|       |
 2557|    206|    result = _PySet_Contains(so, key);
 2558|    206|    if (result < 0)
  ------------------
  |  Branch (2558:9): [True: 0, False: 206]
  ------------------
 2559|      0|        return NULL;
 2560|    206|    return PyBool_FromLong(result);
 2561|    206|}
setobject.c:set_discard_impl:
 2651|    132|{
 2652|    132|    int rv;
 2653|       |
 2654|    132|    rv = set_discard_key(so, key);
 2655|    132|    if (rv < 0) {
  ------------------
  |  Branch (2655:9): [True: 0, False: 132]
  ------------------
 2656|      0|        if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  |   37|      0|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      0|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2656:34): [True: 0, False: 0]
  ------------------
 2657|      0|            return NULL;
 2658|      0|        PyErr_Clear();
 2659|      0|        Py_hash_t hash;
 2660|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2661|      0|        hash = frozenset_hash_impl(key);
 2662|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2663|      0|        rv = set_discard_entry(so, key, hash);
 2664|      0|        if (rv < 0)
  ------------------
  |  Branch (2664:13): [True: 0, False: 0]
  ------------------
 2665|      0|            return NULL;
 2666|      0|    }
 2667|    132|    Py_RETURN_NONE;
  ------------------
  |  |  628|    132|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    132|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2668|    132|}
setobject.c:set_intersection_multi_impl:
 1779|      4|{
 1780|      4|    Py_ssize_t i;
 1781|       |
 1782|      4|    if (others_length == 0) {
  ------------------
  |  Branch (1782:9): [True: 0, False: 4]
  ------------------
 1783|      0|        return set_copy((PyObject *)so, NULL);
 1784|      0|    }
 1785|       |
 1786|      4|    PyObject *result = Py_NewRef(so);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|      8|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1787:17): [True: 4, False: 4]
  ------------------
 1788|      4|        PyObject *other = others[i];
 1789|      4|        PyObject *newresult;
 1790|      4|        Py_BEGIN_CRITICAL_SECTION2(result, other);
  ------------------
  |  |   57|      4|    {
  ------------------
 1791|      4|        newresult = set_intersection((PySetObject *)result, other);
 1792|      4|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
 1793|      4|        if (newresult == NULL) {
  ------------------
  |  Branch (1793:13): [True: 0, False: 4]
  ------------------
 1794|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      0|            return NULL;
 1796|      0|        }
 1797|      4|        Py_SETREF(result, newresult);
  ------------------
  |  |  352|      4|    do { \
  |  |  353|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      4|        *_tmp_dst_ptr = (src); \
  |  |  356|      4|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1798|      4|    }
 1799|      4|    return result;
 1800|      4|}
setobject.c:set_isdisjoint_impl:
 1887|     18|{
 1888|     18|    PyObject *key, *it, *tmp;
 1889|     18|    int rv;
 1890|       |
 1891|     18|    if ((PyObject *)so == other) {
  ------------------
  |  Branch (1891:9): [True: 0, False: 18]
  ------------------
 1892|      0|        if (PySet_GET_SIZE(so) == 0)
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1892:13): [True: 0, False: 0]
  ------------------
 1893|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1894|      0|        else
 1895|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1896|      0|    }
 1897|       |
 1898|     18|    if (PyAnySet_CheckExact(other)) {
  ------------------
  |  |   29|     18|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|     18|        Py_ssize_t pos = 0;
 1900|     18|        setentry *entry;
 1901|       |
 1902|     18|        if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     18|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     18|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1902:13): [True: 2, False: 16]
  ------------------
 1903|      2|            tmp = (PyObject *)so;
 1904|      2|            so = (PySetObject *)other;
 1905|      2|            other = tmp;
 1906|      2|        }
 1907|     18|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1907:16): [True: 0, False: 18]
  ------------------
 1908|      0|            PyObject *key = entry->key;
 1909|      0|            Py_INCREF(key);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1910|      0|            rv = set_contains_entry(so, key, entry->hash);
 1911|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1912|      0|            if (rv < 0) {
  ------------------
  |  Branch (1912:17): [True: 0, False: 0]
  ------------------
 1913|      0|                return NULL;
 1914|      0|            }
 1915|      0|            if (rv) {
  ------------------
  |  Branch (1915:17): [True: 0, False: 0]
  ------------------
 1916|      0|                Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1917|      0|            }
 1918|      0|        }
 1919|     18|        Py_RETURN_TRUE;
  ------------------
  |  |   44|     18|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     18|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1920|     18|    }
 1921|       |
 1922|      0|    it = PyObject_GetIter(other);
 1923|      0|    if (it == NULL)
  ------------------
  |  Branch (1923:9): [True: 0, False: 0]
  ------------------
 1924|      0|        return NULL;
 1925|       |
 1926|      0|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1926:12): [True: 0, False: 0]
  ------------------
 1927|      0|        rv = set_contains_key(so, key);
 1928|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1929|      0|        if (rv < 0) {
  ------------------
  |  Branch (1929:13): [True: 0, False: 0]
  ------------------
 1930|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|      0|            return NULL;
 1932|      0|        }
 1933|      0|        if (rv) {
  ------------------
  |  Branch (1933:13): [True: 0, False: 0]
  ------------------
 1934|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|      0|        }
 1937|      0|    }
 1938|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1939|      0|    if (PyErr_Occurred())
  ------------------
  |  Branch (1939:9): [True: 0, False: 0]
  ------------------
 1940|      0|        return NULL;
 1941|      0|    Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1942|      0|}
setobject.c:set_union_impl:
 1628|      2|{
 1629|      2|    PySetObject *result;
 1630|      2|    PyObject *other;
 1631|      2|    Py_ssize_t i;
 1632|       |
 1633|      2|    result = (PySetObject *)set_copy((PyObject *)so, NULL);
 1634|      2|    if (result == NULL)
  ------------------
  |  Branch (1634:9): [True: 0, False: 2]
  ------------------
 1635|      0|        return NULL;
 1636|       |
 1637|      4|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1637:17): [True: 2, False: 2]
  ------------------
 1638|      2|        other = others[i];
 1639|      2|        if ((PyObject *)so == other)
  ------------------
  |  Branch (1639:13): [True: 0, False: 2]
  ------------------
 1640|      0|            continue;
 1641|      2|        if (set_update_local(result, other)) {
  ------------------
  |  Branch (1641:13): [True: 0, False: 2]
  ------------------
 1642|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|      0|            return NULL;
 1644|      0|        }
 1645|      2|    }
 1646|      2|    return (PyObject *)result;
 1647|      2|}
setobject.c:set_update_impl:
 1331|   230k|{
 1332|   230k|    Py_ssize_t i;
 1333|       |
 1334|   461k|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1334:17): [True: 230k, False: 230k]
  ------------------
 1335|   230k|        PyObject *other = others[i];
 1336|   230k|        if (set_update_internal(so, other))
  ------------------
  |  Branch (1336:13): [True: 0, False: 230k]
  ------------------
 1337|      0|            return NULL;
 1338|   230k|    }
 1339|   230k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   230k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   230k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1340|   230k|}
setobject.c:set_vectorcall:
 2752|   219k|{
 2753|   219k|    assert(PyType_Check(type));
 2754|       |
 2755|   219k|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   15|   219k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 219k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2756|      0|        return NULL;
 2757|      0|    }
 2758|       |
 2759|   219k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   219k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2760|   219k|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   31|   219k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 219k, False: 0]
  |  |  |  Branch (31:27): [True: 219k, False: 0]
  |  |  ------------------
  |  |   32|   219k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2761|      0|        return NULL;
 2762|      0|    }
 2763|       |
 2764|   219k|    if (nargs) {
  ------------------
  |  Branch (2764:9): [True: 428, False: 219k]
  ------------------
 2765|    428|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|    428|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    428|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2766|    428|    }
 2767|       |
 2768|   219k|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|   219k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   219k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2769|   219k|}
setobject.c:frozenset_hash:
 1016|   153k|{
 1017|   153k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   153k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1018|   153k|    Py_uhash_t hash;
 1019|       |
 1020|   153k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(so->hash) != -1) {
  ------------------
  |  |  149|   153k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1020:9): [True: 156, False: 153k]
  ------------------
 1021|    156|        return FT_ATOMIC_LOAD_SSIZE_ACQUIRE(so->hash);
  ------------------
  |  |  148|    156|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
 1022|    156|    }
 1023|       |
 1024|   153k|    hash = frozenset_hash_impl(self);
 1025|   153k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->hash, hash);
  ------------------
  |  |  169|   153k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
 1026|   153k|    return hash;
 1027|   153k|}
setobject.c:frozenset___contains___impl:
 2576|  21.5k|{
 2577|  21.5k|    Py_hash_t hash = _PyObject_HashFast(key);
 2578|  21.5k|    if (hash == -1) {
  ------------------
  |  Branch (2578:9): [True: 0, False: 21.5k]
  ------------------
 2579|      0|        if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  |   37|      0|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      0|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2579:34): [True: 0, False: 0]
  ------------------
 2580|      0|            set_unhashable_type(key);
 2581|      0|            return NULL;
 2582|      0|        }
 2583|      0|        PyErr_Clear();
 2584|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2585|      0|        hash = frozenset_hash_impl(key);
 2586|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2587|      0|    }
 2588|  21.5k|    setentry *entry; // unused
 2589|  21.5k|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2590|  21.5k|                           set_compare_frozenset);
 2591|  21.5k|    if (status < 0)
  ------------------
  |  Branch (2591:9): [True: 0, False: 21.5k]
  ------------------
 2592|      0|        return NULL;
 2593|  21.5k|    return PyBool_FromLong(status);
 2594|  21.5k|}
setobject.c:make_new_frozenset:
 1410|   153k|{
 1411|   153k|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1411:9): [True: 0, False: 153k]
  ------------------
 1412|      0|        return make_new_set(type, iterable);
 1413|      0|    }
 1414|       |
 1415|   153k|    if (iterable != NULL && PyFrozenSet_CheckExact(iterable)) {
  ------------------
  |  |   23|   153k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   153k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 153k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1415:9): [True: 153k, False: 28]
  ------------------
 1416|       |        /* frozenset(f) is idempotent */
 1417|      0|        return Py_NewRef(iterable);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|      0|    }
 1419|   153k|    PyObject *obj = make_new_set(type, iterable);
 1420|   153k|    if (obj != NULL) {
  ------------------
  |  Branch (1420:9): [True: 153k, False: 0]
  ------------------
 1421|   153k|        _PyFrozenSet_MaybeUntrack(obj);
 1422|   153k|    }
 1423|   153k|    return obj;
 1424|   153k|}
setobject.c:frozenset_vectorcall:
 1447|   153k|{
 1448|   153k|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   15|   153k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 153k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|        return NULL;
 1450|      0|    }
 1451|       |
 1452|   153k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   153k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1453|   153k|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   31|   153k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 153k, False: 0]
  |  |  |  Branch (31:27): [True: 153k, False: 0]
  |  |  ------------------
  |  |   32|   153k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1454|      0|        return NULL;
 1455|      0|    }
 1456|       |
 1457|   153k|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1457:27): [True: 153k, False: 28]
  ------------------
 1458|       |    return make_new_frozenset(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|   153k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1459|   153k|}
setobject.c:make_new_set:
 1350|   828k|{
 1351|   828k|    assert(PyType_Check(type));
 1352|   828k|    PySetObject *so;
 1353|       |
 1354|   828k|    so = (PySetObject *)type->tp_alloc(type, 0);
 1355|   828k|    if (so == NULL)
  ------------------
  |  Branch (1355:9): [True: 0, False: 828k]
  ------------------
 1356|      0|        return NULL;
 1357|       |
 1358|   828k|    so->fill = 0;
 1359|   828k|    so->used = 0;
 1360|   828k|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|   828k|#define PySet_MINSIZE 8
  ------------------
 1361|   828k|    so->table = so->smalltable;
 1362|   828k|    so->hash = -1;
 1363|   828k|    so->finger = 0;
 1364|   828k|    so->weakreflist = NULL;
 1365|       |
 1366|   828k|    if (iterable != NULL) {
  ------------------
  |  Branch (1366:9): [True: 158k, False: 670k]
  ------------------
 1367|   158k|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1367:13): [True: 0, False: 158k]
  ------------------
 1368|      0|            Py_DECREF(so);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      0|            return NULL;
 1370|      0|        }
 1371|   158k|    }
 1372|       |
 1373|   828k|    return (PyObject *)so;
 1374|   828k|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1391|   154k|{
 1392|   154k|    assert(op != NULL);
 1393|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1394|   154k|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|   154k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   154k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   154k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1394:9): [True: 0, False: 154k]
  ------------------
 1395|      0|        return;
 1396|      0|    }
 1397|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1398|   154k|    Py_ssize_t pos = 0;
 1399|   154k|    setentry *entry;
 1400|   157k|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1400:12): [True: 46.9k, False: 110k]
  ------------------
 1401|  46.9k|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1401:13): [True: 43.2k, False: 3.67k]
  ------------------
 1402|  43.2k|            return;
 1403|  43.2k|        }
 1404|  46.9k|    }
 1405|   110k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|   110k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|   110k|}
setobject.c:set_len:
  823|  12.2k|{
  824|  12.2k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  12.2k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  825|  12.2k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  12.2k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  826|  12.2k|}
setobject.c:set_clear_impl:
 1611|     72|{
 1612|     72|    set_clear_internal((PyObject*)so);
 1613|     72|    Py_RETURN_NONE;
  ------------------
  |  |  628|     72|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1614|     72|}
setobject.c:set_discard_key:
  624|  5.81k|{
  625|  5.81k|    Py_hash_t hash = _PyObject_HashFast(key);
  626|  5.81k|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 5.81k]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|  5.81k|    return set_discard_entry(so, key, hash);
  631|  5.81k|}
setobject.c:set_add_key:
  602|  67.3k|{
  603|  67.3k|    Py_hash_t hash = _PyObject_HashFast(key);
  604|  67.3k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 67.3k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|  67.3k|    return set_add_entry(so, key, hash);
  609|  67.3k|}
setobject.c:set_next:
  711|   577k|{
  712|   577k|    Py_ssize_t i;
  713|   577k|    Py_ssize_t mask;
  714|   577k|    setentry *entry;
  715|       |
  716|   577k|    assert (PyAnySet_Check(so));
  717|   577k|    i = *pos_ptr;
  718|   577k|    assert(i >= 0);
  719|   577k|    mask = so->mask;
  720|   577k|    entry = &so->table[i];
  721|  3.18M|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|   280k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 2.88M, False: 297k]
  |  Branch (721:26): [True: 2.60M, False: 280k]
  |  Branch (721:48): [True: 76, False: 280k]
  ------------------
  722|  2.60M|        i++;
  723|  2.60M|        entry++;
  724|  2.60M|    }
  725|   577k|    *pos_ptr = i+1;
  726|   577k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 297k, False: 280k]
  ------------------
  727|   297k|        return 0;
  728|   577k|    assert(entry != NULL);
  729|   280k|    *entry_ptr = entry;
  730|   280k|    return 1;
  731|   577k|}
setobject.c:set_pop_impl:
  913|     44|{
  914|       |    /* Make sure the search finger is in bounds */
  915|     44|    setentry *entry = so->table + (so->finger & so->mask);
  916|     44|    setentry *limit = so->table + so->mask;
  917|     44|    PyObject *key;
  918|       |
  919|     44|    if (so->used == 0) {
  ------------------
  |  Branch (919:9): [True: 0, False: 44]
  ------------------
  920|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  921|      0|        return NULL;
  922|      0|    }
  923|    152|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|     44|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (923:12): [True: 108, False: 44]
  |  Branch (923:34): [True: 0, False: 44]
  ------------------
  924|    108|        entry++;
  925|    108|        if (entry > limit)
  ------------------
  |  Branch (925:13): [True: 0, False: 108]
  ------------------
  926|      0|            entry = so->table;
  927|    108|    }
  928|     44|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|     44|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  929|     44|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|     44|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  930|     44|    key = entry->key;
  931|     44|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|     44|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  932|     44|    so->finger = entry - so->table + 1;   /* next place to start */
  933|     44|    return key;
  934|     44|}
setobject.c:set_update_internal:
 1285|   294k|{
 1286|   294k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   294k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   588k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   294k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   294k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 232k, False: 62.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   356k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  62.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  62.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54.2k, False: 7.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   294k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  7.96k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 7.96k]
  |  |  ------------------
  |  |   33|   294k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  7.96k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 7.96k]
  |  |  ------------------
  ------------------
 1287|   286k|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|   286k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 286k]
  |  |  ------------------
  ------------------
 1288|      0|            return 0;
 1289|      0|        }
 1290|   286k|        int rv;
 1291|   286k|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|   286k|    {
  ------------------
 1292|   286k|        rv = set_merge_lock_held(so, other);
 1293|   286k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   286k|    }
  ------------------
 1294|   286k|        return rv;
 1295|   286k|    }
 1296|  7.96k|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|  7.96k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  7.96k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      0|        int rv;
 1298|      0|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      0|    {
  ------------------
 1299|      0|        rv = set_update_dict_lock_held(so, other);
 1300|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1301|      0|        return rv;
 1302|      0|    }
 1303|  7.96k|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|  7.96k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  7.96k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      0|        int rv;
 1305|      0|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|      0|    {
  ------------------
 1306|      0|        rv = set_update_dict_lock_held(so, other);
 1307|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1308|      0|        return rv;
 1309|      0|    }
 1310|  7.96k|    else {
 1311|  7.96k|        int rv;
 1312|  7.96k|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  7.96k|    {
  ------------------
 1313|  7.96k|        rv = set_update_iterable_lock_held(so, other);
 1314|  7.96k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.96k|    }
  ------------------
 1315|  7.96k|        return rv;
 1316|  7.96k|    }
 1317|   294k|}

_PyBuildSlice_ConsumeRefs:
  122|  8.19M|{
  123|  8.19M|    assert(start != NULL && stop != NULL && step != NULL);
  124|  8.19M|    PySliceObject *obj = _Py_FREELIST_POP(PySliceObject, slices);
  ------------------
  |  |   43|  8.19M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  125|  8.19M|    if (obj == NULL) {
  ------------------
  |  Branch (125:9): [True: 478, False: 8.19M]
  ------------------
  126|    478|        obj = PyObject_GC_New(PySliceObject, &PySlice_Type);
  ------------------
  |  |  181|    478|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  127|    478|        if (obj == NULL) {
  ------------------
  |  Branch (127:13): [True: 0, False: 478]
  ------------------
  128|      0|            goto error;
  129|      0|        }
  130|    478|    }
  131|       |
  132|  8.19M|    obj->start = start;
  133|  8.19M|    obj->stop = stop;
  134|  8.19M|    obj->step = step;
  135|       |
  136|  8.19M|    _PyObject_GC_TRACK(obj);
  ------------------
  |  |  508|  8.19M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  8.19M|    return (PyObject *)obj;
  138|      0|error:
  139|      0|    Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      0|    Py_DECREF(stop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|      0|    Py_DECREF(step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  142|       |    return NULL;
  143|  8.19M|}
PySlice_New:
  147|  8.18M|{
  148|  8.18M|    if (step == NULL) {
  ------------------
  |  Branch (148:9): [True: 8.18M, False: 1.26k]
  ------------------
  149|  8.18M|        step = Py_None;
  ------------------
  |  |  616|  8.18M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  150|  8.18M|    }
  151|  8.18M|    if (start == NULL) {
  ------------------
  |  Branch (151:9): [True: 2, False: 8.18M]
  ------------------
  152|      2|        start = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|      2|    }
  154|  8.18M|    if (stop == NULL) {
  ------------------
  |  Branch (154:9): [True: 0, False: 8.18M]
  ------------------
  155|      0|        stop = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  156|      0|    }
  157|  8.18M|    return _PyBuildSlice_ConsumeRefs(Py_NewRef(start),
  ------------------
  |  |  550|  8.18M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  8.18M|                                              Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  550|  8.18M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                            Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  550|  8.18M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|  8.18M|}
_PySlice_FromIndices:
  163|  11.8k|{
  164|  11.8k|    PyObject *start, *end, *slice;
  165|  11.8k|    start = PyLong_FromSsize_t(istart);
  166|  11.8k|    if (!start)
  ------------------
  |  Branch (166:9): [True: 0, False: 11.8k]
  ------------------
  167|      0|        return NULL;
  168|  11.8k|    end = PyLong_FromSsize_t(istop);
  169|  11.8k|    if (!end) {
  ------------------
  |  Branch (169:9): [True: 0, False: 11.8k]
  ------------------
  170|      0|        Py_DECREF(start);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  171|      0|        return NULL;
  172|      0|    }
  173|       |
  174|  11.8k|    slice = _PyBuildSlice_ConsumeRefs(start, end, Py_None);
  ------------------
  |  |  616|  11.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  175|  11.8k|    return slice;
  176|  11.8k|}
PySlice_Unpack:
  213|  8.21M|{
  214|  8.21M|    PySliceObject *r = (PySliceObject*)_r;
  215|       |    /* this is harder to get right than you might think */
  216|       |
  217|  8.21M|    static_assert(PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX,
  218|  8.21M|                  "-PY_SSIZE_T_MAX < PY_SSIZE_T_MIN + 1");
  219|       |
  220|  8.21M|    if (r->step == Py_None) {
  ------------------
  |  |  616|  8.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (220:9): [True: 8.21M, False: 359]
  ------------------
  221|  8.21M|        *step = 1;
  222|  8.21M|    }
  223|    359|    else {
  224|    359|        if (!_PyEval_SliceIndex(r->step, step)) return -1;
  ------------------
  |  Branch (224:13): [True: 0, False: 359]
  ------------------
  225|    359|        if (*step == 0) {
  ------------------
  |  Branch (225:13): [True: 0, False: 359]
  ------------------
  226|      0|            PyErr_SetString(PyExc_ValueError,
  227|      0|                            "slice step cannot be zero");
  228|      0|            return -1;
  229|      0|        }
  230|       |        /* Here *step might be -PY_SSIZE_T_MAX-1; in this case we replace it
  231|       |         * with -PY_SSIZE_T_MAX.  This doesn't affect the semantics, and it
  232|       |         * guards against later undefined behaviour resulting from code that
  233|       |         * does "step = -step" as part of a slice reversal.
  234|       |         */
  235|    359|        if (*step < -PY_SSIZE_T_MAX)
  ------------------
  |  |  137|    359|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (235:13): [True: 0, False: 359]
  ------------------
  236|      0|            *step = -PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  237|    359|    }
  238|       |
  239|  8.21M|    if (r->start == Py_None) {
  ------------------
  |  |  616|  8.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (239:9): [True: 125k, False: 8.08M]
  ------------------
  240|   125k|        *start = *step < 0 ? PY_SSIZE_T_MAX : 0;
  ------------------
  |  |  137|   125k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (240:18): [True: 305, False: 125k]
  ------------------
  241|   125k|    }
  242|  8.08M|    else {
  243|  8.08M|        if (!_PyEval_SliceIndex(r->start, start)) return -1;
  ------------------
  |  Branch (243:13): [True: 0, False: 8.08M]
  ------------------
  244|  8.08M|    }
  245|       |
  246|  8.21M|    if (r->stop == Py_None) {
  ------------------
  |  |  616|  8.21M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 28.7k, False: 8.18M]
  ------------------
  247|  28.7k|        *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  146|    305|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|    305|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
                      *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  28.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (247:17): [True: 305, False: 28.4k]
  ------------------
  248|  28.7k|    }
  249|  8.18M|    else {
  250|  8.18M|        if (!_PyEval_SliceIndex(r->stop, stop)) return -1;
  ------------------
  |  Branch (250:13): [True: 0, False: 8.18M]
  ------------------
  251|  8.18M|    }
  252|       |
  253|  8.21M|    return 0;
  254|  8.21M|}
PySlice_AdjustIndices:
  259|  8.25M|{
  260|       |    /* this is harder to get right than you might think */
  261|       |
  262|  8.25M|    assert(step != 0);
  263|  8.25M|    assert(step >= -PY_SSIZE_T_MAX);
  264|       |
  265|  8.25M|    if (*start < 0) {
  ------------------
  |  Branch (265:9): [True: 28.8k, False: 8.22M]
  ------------------
  266|  28.8k|        *start += length;
  267|  28.8k|        if (*start < 0) {
  ------------------
  |  Branch (267:13): [True: 0, False: 28.8k]
  ------------------
  268|      0|            *start = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (268:22): [True: 0, False: 0]
  ------------------
  269|      0|        }
  270|  28.8k|    }
  271|  8.22M|    else if (*start >= length) {
  ------------------
  |  Branch (271:14): [True: 104k, False: 8.11M]
  ------------------
  272|   104k|        *start = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (272:18): [True: 305, False: 103k]
  ------------------
  273|   104k|    }
  274|       |
  275|  8.25M|    if (*stop < 0) {
  ------------------
  |  Branch (275:9): [True: 16.0k, False: 8.23M]
  ------------------
  276|  16.0k|        *stop += length;
  277|  16.0k|        if (*stop < 0) {
  ------------------
  |  Branch (277:13): [True: 305, False: 15.7k]
  ------------------
  278|    305|            *stop = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (278:21): [True: 305, False: 0]
  ------------------
  279|    305|        }
  280|  16.0k|    }
  281|  8.23M|    else if (*stop >= length) {
  ------------------
  |  Branch (281:14): [True: 157k, False: 8.07M]
  ------------------
  282|   157k|        *stop = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (282:17): [True: 0, False: 157k]
  ------------------
  283|   157k|    }
  284|       |
  285|  8.25M|    if (step < 0) {
  ------------------
  |  Branch (285:9): [True: 351, False: 8.25M]
  ------------------
  286|    351|        if (*stop < *start) {
  ------------------
  |  Branch (286:13): [True: 351, False: 0]
  ------------------
  287|    351|            return (*start - *stop - 1) / (-step) + 1;
  288|    351|        }
  289|    351|    }
  290|  8.25M|    else {
  291|  8.25M|        if (*start < *stop) {
  ------------------
  |  Branch (291:13): [True: 8.13M, False: 116k]
  ------------------
  292|  8.13M|            return (*stop - *start - 1) / step + 1;
  293|  8.13M|        }
  294|  8.25M|    }
  295|   116k|    return 0;
  296|  8.25M|}
_PySlice_GetLongIndices:
  392|    430|{
  393|    430|    PyObject *start=NULL, *stop=NULL, *step=NULL;
  394|    430|    PyObject *upper=NULL, *lower=NULL;
  395|    430|    int step_is_negative, cmp_result;
  396|       |
  397|       |    /* Convert step to an integer; raise for zero step. */
  398|    430|    if (self->step == Py_None) {
  ------------------
  |  |  616|    430|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (398:9): [True: 0, False: 430]
  ------------------
  399|      0|        step = _PyLong_GetOne();
  400|      0|        step_is_negative = 0;
  401|      0|    }
  402|    430|    else {
  403|    430|        step = evaluate_slice_index(self->step);
  404|    430|        if (step == NULL) {
  ------------------
  |  Branch (404:13): [True: 0, False: 430]
  ------------------
  405|      0|            goto error;
  406|      0|        }
  407|    430|        assert(PyLong_Check(step));
  408|       |
  409|    430|        int step_sign;
  410|    430|        (void)PyLong_GetSign(step, &step_sign);
  411|    430|        if (step_sign == 0) {
  ------------------
  |  Branch (411:13): [True: 0, False: 430]
  ------------------
  412|      0|            PyErr_SetString(PyExc_ValueError,
  413|      0|                            "slice step cannot be zero");
  414|      0|            goto error;
  415|      0|        }
  416|    430|        step_is_negative = step_sign < 0;
  417|    430|    }
  418|       |
  419|       |    /* Find lower and upper bounds for start and stop. */
  420|    430|    if (step_is_negative) {
  ------------------
  |  Branch (420:9): [True: 430, False: 0]
  ------------------
  421|    430|        lower = PyLong_FromLong(-1L);
  422|    430|        if (lower == NULL)
  ------------------
  |  Branch (422:13): [True: 0, False: 430]
  ------------------
  423|      0|            goto error;
  424|       |
  425|    430|        upper = PyNumber_Add(length, lower);
  426|    430|        if (upper == NULL)
  ------------------
  |  Branch (426:13): [True: 0, False: 430]
  ------------------
  427|      0|            goto error;
  428|    430|    }
  429|      0|    else {
  430|      0|        lower = _PyLong_GetZero();
  431|      0|        upper = Py_NewRef(length);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      0|    }
  433|       |
  434|       |    /* Compute start. */
  435|    430|    if (self->start == Py_None) {
  ------------------
  |  |  616|    430|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (435:9): [True: 430, False: 0]
  ------------------
  436|    430|        start = Py_NewRef(step_is_negative ? upper : lower);
  ------------------
  |  |  550|    430|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    860|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 430, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|    430|    }
  438|      0|    else {
  439|      0|        start = evaluate_slice_index(self->start);
  440|      0|        if (start == NULL)
  ------------------
  |  Branch (440:13): [True: 0, False: 0]
  ------------------
  441|      0|            goto error;
  442|       |
  443|      0|        if (_PyLong_IsNegative((PyLongObject *)start)) {
  ------------------
  |  Branch (443:13): [True: 0, False: 0]
  ------------------
  444|       |            /* start += length */
  445|      0|            PyObject *tmp = PyNumber_Add(start, length);
  446|      0|            Py_SETREF(start, tmp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  447|      0|            if (start == NULL)
  ------------------
  |  Branch (447:17): [True: 0, False: 0]
  ------------------
  448|      0|                goto error;
  449|       |
  450|      0|            cmp_result = PyObject_RichCompareBool(start, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  451|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (451:17): [True: 0, False: 0]
  ------------------
  452|      0|                goto error;
  453|      0|            if (cmp_result) {
  ------------------
  |  Branch (453:17): [True: 0, False: 0]
  ------------------
  454|      0|                Py_SETREF(start, Py_NewRef(lower));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  455|      0|            }
  456|      0|        }
  457|      0|        else {
  458|      0|            cmp_result = PyObject_RichCompareBool(start, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  459|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (459:17): [True: 0, False: 0]
  ------------------
  460|      0|                goto error;
  461|      0|            if (cmp_result) {
  ------------------
  |  Branch (461:17): [True: 0, False: 0]
  ------------------
  462|      0|                Py_SETREF(start, Py_NewRef(upper));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  463|      0|            }
  464|      0|        }
  465|      0|    }
  466|       |
  467|       |    /* Compute stop. */
  468|    430|    if (self->stop == Py_None) {
  ------------------
  |  |  616|    430|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (468:9): [True: 430, False: 0]
  ------------------
  469|    430|        stop = Py_NewRef(step_is_negative ? lower : upper);
  ------------------
  |  |  550|    430|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    860|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 430, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|    430|    }
  471|      0|    else {
  472|      0|        stop = evaluate_slice_index(self->stop);
  473|      0|        if (stop == NULL)
  ------------------
  |  Branch (473:13): [True: 0, False: 0]
  ------------------
  474|      0|            goto error;
  475|       |
  476|      0|        if (_PyLong_IsNegative((PyLongObject *)stop)) {
  ------------------
  |  Branch (476:13): [True: 0, False: 0]
  ------------------
  477|       |            /* stop += length */
  478|      0|            PyObject *tmp = PyNumber_Add(stop, length);
  479|      0|            Py_SETREF(stop, tmp);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  480|      0|            if (stop == NULL)
  ------------------
  |  Branch (480:17): [True: 0, False: 0]
  ------------------
  481|      0|                goto error;
  482|       |
  483|      0|            cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  484|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (484:17): [True: 0, False: 0]
  ------------------
  485|      0|                goto error;
  486|      0|            if (cmp_result) {
  ------------------
  |  Branch (486:17): [True: 0, False: 0]
  ------------------
  487|      0|                Py_SETREF(stop, Py_NewRef(lower));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  488|      0|            }
  489|      0|        }
  490|      0|        else {
  491|      0|            cmp_result = PyObject_RichCompareBool(stop, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  492|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (492:17): [True: 0, False: 0]
  ------------------
  493|      0|                goto error;
  494|      0|            if (cmp_result) {
  ------------------
  |  Branch (494:17): [True: 0, False: 0]
  ------------------
  495|      0|                Py_SETREF(stop, Py_NewRef(upper));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  496|      0|            }
  497|      0|        }
  498|      0|    }
  499|       |
  500|    430|    *start_ptr = start;
  501|    430|    *stop_ptr = stop;
  502|    430|    *step_ptr = step;
  503|    430|    Py_DECREF(upper);
  ------------------
  |  |  430|    430|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|    430|    Py_DECREF(lower);
  ------------------
  |  |  430|    430|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    430|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    430|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|    430|    return 0;
  506|       |
  507|      0|  error:
  508|      0|    *start_ptr = *stop_ptr = *step_ptr = NULL;
  509|      0|    Py_XDECREF(start);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|      0|    Py_XDECREF(stop);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      0|    Py_XDECREF(step);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|      0|    Py_XDECREF(upper);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      0|    Py_XDECREF(lower);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|      0|    return -1;
  515|    430|}
sliceobject.c:evaluate_slice_index:
  372|    430|{
  373|    430|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (373:9): [True: 430, False: 0]
  ------------------
  374|    430|        return PyNumber_Index(v);
  375|    430|    }
  376|      0|    else {
  377|      0|        PyErr_SetString(PyExc_TypeError,
  378|      0|                        "slice indices must be integers or "
  379|      0|                        "None or have an __index__ method");
  380|       |        return NULL;
  381|      0|    }
  382|    430|}
sliceobject.c:slice_dealloc:
  343|  8.19M|{
  344|  8.19M|    PySliceObject *r = _PySlice_CAST(op);
  ------------------
  |  |   25|  8.19M|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  345|  8.19M|    PyObject_GC_UnTrack(r);
  346|  8.19M|    Py_DECREF(r->step);
  ------------------
  |  |  430|  8.19M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|  8.19M|    Py_DECREF(r->start);
  ------------------
  |  |  430|  8.19M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  348|  8.19M|    Py_DECREF(r->stop);
  ------------------
  |  |  430|  8.19M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|  8.19M|    _Py_FREELIST_FREE(slices, r, PyObject_GC_Del);
  ------------------
  |  |   35|  8.19M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  8.19M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   21|  8.19M|#  define Py_slices_MAXFREELIST 1
  |  |  ------------------
  ------------------
  350|  8.19M|}
sliceobject.c:slice_traverse:
  621|  3.57k|{
  622|  3.57k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   25|  3.57k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  623|  3.57k|    Py_VISIT(v->start);
  ------------------
  |  |  194|  3.57k|    do {                                                                \
  |  |  195|  3.57k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.57k, False: 0]
  |  |  ------------------
  |  |  196|  3.57k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.57k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.57k]
  |  |  ------------------
  |  |  198|  3.57k|                return vret;                                            \
  |  |  199|  3.57k|        }                                                               \
  |  |  200|  3.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
  624|  3.57k|    Py_VISIT(v->stop);
  ------------------
  |  |  194|  3.57k|    do {                                                                \
  |  |  195|  3.57k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.57k, False: 0]
  |  |  ------------------
  |  |  196|  3.57k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.57k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.57k]
  |  |  ------------------
  |  |  198|  3.57k|                return vret;                                            \
  |  |  199|  3.57k|        }                                                               \
  |  |  200|  3.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
  625|  3.57k|    Py_VISIT(v->step);
  ------------------
  |  |  194|  3.57k|    do {                                                                \
  |  |  195|  3.57k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.57k, False: 0]
  |  |  ------------------
  |  |  196|  3.57k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.57k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.57k]
  |  |  ------------------
  |  |  198|  3.57k|                return vret;                                            \
  |  |  199|  3.57k|        }                                                               \
  |  |  200|  3.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
  626|  3.57k|    return 0;
  627|  3.57k|}
sliceobject.c:slice_new:
  313|      4|{
  314|      4|    PyObject *start, *stop, *step;
  315|       |
  316|      4|    start = stop = step = NULL;
  317|       |
  318|      4|    if (!_PyArg_NoKeywords("slice", kw))
  ------------------
  |  |   25|      4|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 4, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  319|      0|        return NULL;
  320|       |
  321|      4|    if (!PyArg_UnpackTuple(args, "slice", 1, 3, &start, &stop, &step))
  ------------------
  |  Branch (321:9): [True: 0, False: 4]
  ------------------
  322|      0|        return NULL;
  323|       |
  324|       |    /* This swapping of stop and start is to maintain similarity with
  325|       |       range(). */
  326|      4|    if (stop == NULL) {
  ------------------
  |  Branch (326:9): [True: 2, False: 2]
  ------------------
  327|      2|        stop = start;
  328|       |        start = NULL;
  329|      2|    }
  330|      4|    return PySlice_New(start, stop, step);
  331|      4|}

unicodeobject.c:ucs1lib_utf8_encoder:
  267|    300|{
  268|       |#if STRINGLIB_SIZEOF_CHAR > 1
  269|       |    PyObject *error_handler_obj = NULL;
  270|       |    PyObject *exc = NULL;
  271|       |    PyObject *rep = NULL;
  272|       |#endif
  273|    300|#if STRINGLIB_SIZEOF_CHAR == 1
  274|    300|    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|    300|    assert(size >= 0);
  282|    300|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|    300|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 300]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|    300|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|    300|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 300]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|    300|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|    300|    Py_ssize_t i;                /* index into data of next input character */
  298|  5.22k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 4.92k, False: 300]
  ------------------
  299|  4.92k|        Py_UCS4 ch = data[i++];
  300|       |
  301|  4.92k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 1.16k, False: 3.76k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  1.16k|            *p++ = (char) ch;
  304|       |
  305|  1.16k|        }
  306|  3.76k|        else
  307|       |#if STRINGLIB_SIZEOF_CHAR > 1
  308|       |        if (ch < 0x0800)
  309|       |#endif
  310|  3.76k|        {
  311|       |            /* Encode Latin-1 */
  312|  3.76k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  3.76k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  3.76k|        }
  315|       |#if STRINGLIB_SIZEOF_CHAR > 1
  316|       |        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  317|       |            Py_ssize_t startpos, endpos, newpos;
  318|       |            Py_ssize_t k;
  319|       |            if (error_handler == _Py_ERROR_UNKNOWN) {
  320|       |                error_handler = _Py_GetErrorHandler(errors);
  321|       |            }
  322|       |
  323|       |            startpos = i-1;
  324|       |            endpos = startpos+1;
  325|       |
  326|       |            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  327|       |                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|       |            writer->overallocate = (endpos < size);
  331|       |
  332|       |            switch (error_handler)
  333|       |            {
  334|       |            case _Py_ERROR_REPLACE:
  335|       |                memset(p, '?', endpos - startpos);
  336|       |                p += (endpos - startpos);
  337|       |                _Py_FALLTHROUGH;
  338|       |            case _Py_ERROR_IGNORE:
  339|       |                i += (endpos - startpos - 1);
  340|       |                break;
  341|       |
  342|       |            case _Py_ERROR_SURROGATEPASS:
  343|       |                for (k=startpos; k<endpos; k++) {
  344|       |                    ch = data[k];
  345|       |                    *p++ = (char)(0xe0 | (ch >> 12));
  346|       |                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|       |                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|       |                }
  349|       |                i += (endpos - startpos - 1);
  350|       |                break;
  351|       |
  352|       |            case _Py_ERROR_BACKSLASHREPLACE:
  353|       |                /* subtract preallocated bytes */
  354|       |                writer->size -= max_char_size * (endpos - startpos);
  355|       |                p = backslashreplace(writer, p,
  356|       |                                     unicode, startpos, endpos);
  357|       |                if (p == NULL)
  358|       |                    goto error;
  359|       |                i += (endpos - startpos - 1);
  360|       |                break;
  361|       |
  362|       |            case _Py_ERROR_XMLCHARREFREPLACE:
  363|       |                /* subtract preallocated bytes */
  364|       |                writer->size -= max_char_size * (endpos - startpos);
  365|       |                p = xmlcharrefreplace(writer, p,
  366|       |                                      unicode, startpos, endpos);
  367|       |                if (p == NULL)
  368|       |                    goto error;
  369|       |                i += (endpos - startpos - 1);
  370|       |                break;
  371|       |
  372|       |            case _Py_ERROR_SURROGATEESCAPE:
  373|       |                for (k=startpos; k<endpos; k++) {
  374|       |                    ch = data[k];
  375|       |                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  376|       |                        break;
  377|       |                    *p++ = (char)(ch & 0xff);
  378|       |                }
  379|       |                if (k >= endpos) {
  380|       |                    i += (endpos - startpos - 1);
  381|       |                    break;
  382|       |                }
  383|       |                startpos = k;
  384|       |                assert(startpos < endpos);
  385|       |                _Py_FALLTHROUGH;
  386|       |            default:
  387|       |                rep = unicode_encode_call_errorhandler(
  388|       |                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|       |                      unicode, &exc, startpos, endpos, &newpos);
  390|       |                if (!rep)
  391|       |                    goto error;
  392|       |
  393|       |                if (newpos < startpos) {
  394|       |                    writer->overallocate = 1;
  395|       |                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|       |                                               max_char_size * (startpos - newpos),
  397|       |                                               p);
  398|       |                    if (p == NULL) {
  399|       |                        goto error;
  400|       |                    }
  401|       |                }
  402|       |                else {
  403|       |                    /* subtract preallocated bytes */
  404|       |                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|       |                    writer->overallocate = (newpos < size);
  407|       |                }
  408|       |
  409|       |                char *rep_str;
  410|       |                Py_ssize_t rep_len;
  411|       |                if (PyBytes_Check(rep)) {
  412|       |                    rep_str = PyBytes_AS_STRING(rep);
  413|       |                    rep_len = PyBytes_GET_SIZE(rep);
  414|       |                }
  415|       |                else {
  416|       |                    /* rep is unicode */
  417|       |                    if (!PyUnicode_IS_ASCII(rep)) {
  418|       |                        raise_encode_exception(&exc, "utf-8", unicode,
  419|       |                                               startpos, endpos,
  420|       |                                               "surrogates not allowed");
  421|       |                        goto error;
  422|       |                    }
  423|       |
  424|       |                    rep_str = PyUnicode_DATA(rep);
  425|       |                    rep_len = PyUnicode_GET_LENGTH(rep);
  426|       |                }
  427|       |
  428|       |                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|       |                if (p == NULL) {
  430|       |                    goto error;
  431|       |                }
  432|       |                memcpy(p, rep_str, rep_len);
  433|       |                p += rep_len;
  434|       |                Py_CLEAR(rep);
  435|       |
  436|       |                i = newpos;
  437|       |            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|       |            assert(writer->overallocate || i == size);
  442|       |        }
  443|       |        else
  444|       |#if STRINGLIB_SIZEOF_CHAR > 2
  445|       |        if (ch < 0x10000)
  446|       |#endif
  447|       |        {
  448|       |            *p++ = (char)(0xe0 | (ch >> 12));
  449|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  451|       |        }
  452|       |#if STRINGLIB_SIZEOF_CHAR > 2
  453|       |        else /* ch >= 0x10000 */
  454|       |        {
  455|       |            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|       |            *p++ = (char)(0xf0 | (ch >> 18));
  458|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  461|       |        }
  462|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|       |#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|  4.92k|    }
  465|       |
  466|       |#if STRINGLIB_SIZEOF_CHAR > 1
  467|       |    Py_XDECREF(error_handler_obj);
  468|       |    Py_XDECREF(exc);
  469|       |#endif
  470|    300|    *end = p;
  471|    300|    return writer;
  472|       |
  473|       |#if STRINGLIB_SIZEOF_CHAR > 1
  474|       | error:
  475|       |    PyBytesWriter_Discard(writer);
  476|       |    Py_XDECREF(rep);
  477|       |    Py_XDECREF(error_handler_obj);
  478|       |    Py_XDECREF(exc);
  479|       |    *end = NULL;
  480|       |    return NULL;
  481|       |#endif
  482|    300|}
unicodeobject.c:ucs2lib_utf8_encoder:
  267|  16.1k|{
  268|  16.1k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  16.1k|    PyObject *error_handler_obj = NULL;
  270|  16.1k|    PyObject *exc = NULL;
  271|  16.1k|    PyObject *rep = NULL;
  272|  16.1k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|  16.1k|    assert(size >= 0);
  282|  16.1k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  16.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 16.1k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  16.1k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  16.1k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 16.1k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  16.1k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  16.1k|    Py_ssize_t i;                /* index into data of next input character */
  298|   192k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 175k, False: 16.1k]
  ------------------
  299|   175k|        Py_UCS4 ch = data[i++];
  300|       |
  301|   175k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 19.3k, False: 156k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  19.3k|            *p++ = (char) ch;
  304|       |
  305|  19.3k|        }
  306|   156k|        else
  307|   156k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|   156k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 2.75k, False: 153k]
  ------------------
  309|  2.75k|#endif
  310|  2.75k|        {
  311|       |            /* Encode Latin-1 */
  312|  2.75k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  2.75k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  2.75k|        }
  315|   153k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|   153k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 0, False: 153k]
  ------------------
  317|      0|            Py_ssize_t startpos, endpos, newpos;
  318|      0|            Py_ssize_t k;
  319|      0|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 0, False: 0]
  ------------------
  320|      0|                error_handler = _Py_GetErrorHandler(errors);
  321|      0|            }
  322|       |
  323|      0|            startpos = i-1;
  324|      0|            endpos = startpos+1;
  325|       |
  326|      0|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 0, False: 0]
  |  Branch (326:39): [True: 0, False: 0]
  ------------------
  327|      0|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|      0|            writer->overallocate = (endpos < size);
  331|       |
  332|      0|            switch (error_handler)
  333|      0|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 0]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 0]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|       |                /* subtract preallocated bytes */
  354|      0|                writer->size -= max_char_size * (endpos - startpos);
  355|      0|                p = backslashreplace(writer, p,
  356|      0|                                     unicode, startpos, endpos);
  357|      0|                if (p == NULL)
  ------------------
  |  Branch (357:21): [True: 0, False: 0]
  ------------------
  358|      0|                    goto error;
  359|      0|                i += (endpos - startpos - 1);
  360|      0|                break;
  361|       |
  362|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (362:13): [True: 0, False: 0]
  ------------------
  363|       |                /* subtract preallocated bytes */
  364|      0|                writer->size -= max_char_size * (endpos - startpos);
  365|      0|                p = xmlcharrefreplace(writer, p,
  366|      0|                                      unicode, startpos, endpos);
  367|      0|                if (p == NULL)
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    goto error;
  369|      0|                i += (endpos - startpos - 1);
  370|      0|                break;
  371|       |
  372|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (372:13): [True: 0, False: 0]
  ------------------
  373|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (373:34): [True: 0, False: 0]
  ------------------
  374|      0|                    ch = data[k];
  375|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (375:27): [True: 0, False: 0]
  |  Branch (375:43): [True: 0, False: 0]
  ------------------
  376|      0|                        break;
  377|      0|                    *p++ = (char)(ch & 0xff);
  378|      0|                }
  379|      0|                if (k >= endpos) {
  ------------------
  |  Branch (379:21): [True: 0, False: 0]
  ------------------
  380|      0|                    i += (endpos - startpos - 1);
  381|      0|                    break;
  382|      0|                }
  383|      0|                startpos = k;
  384|      0|                assert(startpos < endpos);
  385|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  386|      0|            default:
  ------------------
  |  Branch (386:13): [True: 0, False: 0]
  ------------------
  387|      0|                rep = unicode_encode_call_errorhandler(
  388|      0|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|      0|                      unicode, &exc, startpos, endpos, &newpos);
  390|      0|                if (!rep)
  ------------------
  |  Branch (390:21): [True: 0, False: 0]
  ------------------
  391|      0|                    goto error;
  392|       |
  393|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (393:21): [True: 0, False: 0]
  ------------------
  394|      0|                    writer->overallocate = 1;
  395|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|      0|                                               max_char_size * (startpos - newpos),
  397|      0|                                               p);
  398|      0|                    if (p == NULL) {
  ------------------
  |  Branch (398:25): [True: 0, False: 0]
  ------------------
  399|      0|                        goto error;
  400|      0|                    }
  401|      0|                }
  402|      0|                else {
  403|       |                    /* subtract preallocated bytes */
  404|      0|                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|      0|                    writer->overallocate = (newpos < size);
  407|      0|                }
  408|       |
  409|      0|                char *rep_str;
  410|      0|                Py_ssize_t rep_len;
  411|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                }
  415|      0|                else {
  416|       |                    /* rep is unicode */
  417|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (417:25): [True: 0, False: 0]
  ------------------
  418|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  419|      0|                                               startpos, endpos,
  420|      0|                                               "surrogates not allowed");
  421|      0|                        goto error;
  422|      0|                    }
  423|       |
  424|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                }
  427|       |
  428|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|      0|                if (p == NULL) {
  ------------------
  |  Branch (429:21): [True: 0, False: 0]
  ------------------
  430|      0|                    goto error;
  431|      0|                }
  432|      0|                memcpy(p, rep_str, rep_len);
  433|      0|                p += rep_len;
  434|      0|                Py_CLEAR(rep);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  435|       |
  436|      0|                i = newpos;
  437|      0|            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|      0|            assert(writer->overallocate || i == size);
  442|      0|        }
  443|   153k|        else
  444|       |#if STRINGLIB_SIZEOF_CHAR > 2
  445|       |        if (ch < 0x10000)
  446|       |#endif
  447|   153k|        {
  448|   153k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|   153k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|   153k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|   153k|        }
  452|       |#if STRINGLIB_SIZEOF_CHAR > 2
  453|       |        else /* ch >= 0x10000 */
  454|       |        {
  455|       |            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|       |            *p++ = (char)(0xf0 | (ch >> 18));
  458|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  461|       |        }
  462|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|   175k|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|   175k|    }
  465|       |
  466|  16.1k|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  16.1k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  16.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  16.1k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  16.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  16.1k|#endif
  470|  16.1k|    *end = p;
  471|  16.1k|    return writer;
  472|       |
  473|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  474|      0| error:
  475|      0|    PyBytesWriter_Discard(writer);
  476|      0|    Py_XDECREF(rep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|      0|    *end = NULL;
  480|       |    return NULL;
  481|  16.1k|#endif
  482|  16.1k|}
unicodeobject.c:ucs4lib_utf8_encoder:
  267|  45.8k|{
  268|  45.8k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  45.8k|    PyObject *error_handler_obj = NULL;
  270|  45.8k|    PyObject *exc = NULL;
  271|  45.8k|    PyObject *rep = NULL;
  272|  45.8k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|  45.8k|    const Py_ssize_t max_char_size = 4;
  279|  45.8k|#endif
  280|       |
  281|  45.8k|    assert(size >= 0);
  282|  45.8k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  45.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 45.8k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  45.8k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  45.8k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 45.8k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  45.8k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  45.8k|    Py_ssize_t i;                /* index into data of next input character */
  298|   232k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 186k, False: 45.8k]
  ------------------
  299|   186k|        Py_UCS4 ch = data[i++];
  300|       |
  301|   186k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 4.76k, False: 181k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  4.76k|            *p++ = (char) ch;
  304|       |
  305|  4.76k|        }
  306|   181k|        else
  307|   181k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|   181k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 9.79k, False: 172k]
  ------------------
  309|  9.79k|#endif
  310|  9.79k|        {
  311|       |            /* Encode Latin-1 */
  312|  9.79k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  9.79k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  9.79k|        }
  315|   172k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|   172k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 0, False: 172k]
  ------------------
  317|      0|            Py_ssize_t startpos, endpos, newpos;
  318|      0|            Py_ssize_t k;
  319|      0|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 0, False: 0]
  ------------------
  320|      0|                error_handler = _Py_GetErrorHandler(errors);
  321|      0|            }
  322|       |
  323|      0|            startpos = i-1;
  324|      0|            endpos = startpos+1;
  325|       |
  326|      0|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 0, False: 0]
  |  Branch (326:39): [True: 0, False: 0]
  ------------------
  327|      0|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|      0|            writer->overallocate = (endpos < size);
  331|       |
  332|      0|            switch (error_handler)
  333|      0|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 0]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 0]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|       |                /* subtract preallocated bytes */
  354|      0|                writer->size -= max_char_size * (endpos - startpos);
  355|      0|                p = backslashreplace(writer, p,
  356|      0|                                     unicode, startpos, endpos);
  357|      0|                if (p == NULL)
  ------------------
  |  Branch (357:21): [True: 0, False: 0]
  ------------------
  358|      0|                    goto error;
  359|      0|                i += (endpos - startpos - 1);
  360|      0|                break;
  361|       |
  362|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (362:13): [True: 0, False: 0]
  ------------------
  363|       |                /* subtract preallocated bytes */
  364|      0|                writer->size -= max_char_size * (endpos - startpos);
  365|      0|                p = xmlcharrefreplace(writer, p,
  366|      0|                                      unicode, startpos, endpos);
  367|      0|                if (p == NULL)
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    goto error;
  369|      0|                i += (endpos - startpos - 1);
  370|      0|                break;
  371|       |
  372|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (372:13): [True: 0, False: 0]
  ------------------
  373|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (373:34): [True: 0, False: 0]
  ------------------
  374|      0|                    ch = data[k];
  375|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (375:27): [True: 0, False: 0]
  |  Branch (375:43): [True: 0, False: 0]
  ------------------
  376|      0|                        break;
  377|      0|                    *p++ = (char)(ch & 0xff);
  378|      0|                }
  379|      0|                if (k >= endpos) {
  ------------------
  |  Branch (379:21): [True: 0, False: 0]
  ------------------
  380|      0|                    i += (endpos - startpos - 1);
  381|      0|                    break;
  382|      0|                }
  383|      0|                startpos = k;
  384|      0|                assert(startpos < endpos);
  385|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  386|      0|            default:
  ------------------
  |  Branch (386:13): [True: 0, False: 0]
  ------------------
  387|      0|                rep = unicode_encode_call_errorhandler(
  388|      0|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|      0|                      unicode, &exc, startpos, endpos, &newpos);
  390|      0|                if (!rep)
  ------------------
  |  Branch (390:21): [True: 0, False: 0]
  ------------------
  391|      0|                    goto error;
  392|       |
  393|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (393:21): [True: 0, False: 0]
  ------------------
  394|      0|                    writer->overallocate = 1;
  395|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|      0|                                               max_char_size * (startpos - newpos),
  397|      0|                                               p);
  398|      0|                    if (p == NULL) {
  ------------------
  |  Branch (398:25): [True: 0, False: 0]
  ------------------
  399|      0|                        goto error;
  400|      0|                    }
  401|      0|                }
  402|      0|                else {
  403|       |                    /* subtract preallocated bytes */
  404|      0|                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|      0|                    writer->overallocate = (newpos < size);
  407|      0|                }
  408|       |
  409|      0|                char *rep_str;
  410|      0|                Py_ssize_t rep_len;
  411|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                }
  415|      0|                else {
  416|       |                    /* rep is unicode */
  417|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (417:25): [True: 0, False: 0]
  ------------------
  418|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  419|      0|                                               startpos, endpos,
  420|      0|                                               "surrogates not allowed");
  421|      0|                        goto error;
  422|      0|                    }
  423|       |
  424|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                }
  427|       |
  428|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|      0|                if (p == NULL) {
  ------------------
  |  Branch (429:21): [True: 0, False: 0]
  ------------------
  430|      0|                    goto error;
  431|      0|                }
  432|      0|                memcpy(p, rep_str, rep_len);
  433|      0|                p += rep_len;
  434|      0|                Py_CLEAR(rep);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  435|       |
  436|      0|                i = newpos;
  437|      0|            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|      0|            assert(writer->overallocate || i == size);
  442|      0|        }
  443|   172k|        else
  444|   172k|#if STRINGLIB_SIZEOF_CHAR > 2
  445|   172k|        if (ch < 0x10000)
  ------------------
  |  Branch (445:13): [True: 23.0k, False: 149k]
  ------------------
  446|  23.0k|#endif
  447|  23.0k|        {
  448|  23.0k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|  23.0k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|  23.0k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|  23.0k|        }
  452|   149k|#if STRINGLIB_SIZEOF_CHAR > 2
  453|   149k|        else /* ch >= 0x10000 */
  454|   149k|        {
  455|   149k|            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|   149k|            *p++ = (char)(0xf0 | (ch >> 18));
  458|   149k|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|   149k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|   149k|            *p++ = (char)(0x80 | (ch & 0x3f));
  461|   149k|        }
  462|   186k|#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|   186k|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|   186k|    }
  465|       |
  466|  45.8k|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  45.8k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  45.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  45.8k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  45.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  45.8k|#endif
  470|  45.8k|    *end = p;
  471|  45.8k|    return writer;
  472|       |
  473|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  474|      0| error:
  475|      0|    PyBytesWriter_Discard(writer);
  476|      0|    Py_XDECREF(rep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|      0|    *end = NULL;
  480|       |    return NULL;
  481|  45.8k|#endif
  482|  45.8k|}
unicodeobject.c:asciilib_utf8_decode:
   26|     88|{
   27|     88|    Py_UCS4 ch;
   28|     88|    const char *s = *inptr;
   29|     88|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     88|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|     88|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 88, False: 0]
  ------------------
   32|     88|        ch = (unsigned char)*s;
   33|       |
   34|     88|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 88]
  ------------------
   35|       |            /* Fast path for runs of ASCII characters. Given that common UTF-8
   36|       |               input will consist of an overwhelming majority of ASCII
   37|       |               characters, we try to optimize for this case by checking
   38|       |               as many characters as a C 'size_t' can contain.
   39|       |               First, check if we can do an aligned read, as most CPUs have
   40|       |               a penalty for unaligned reads.
   41|       |            */
   42|      0|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|      0|                const char *_s = s;
   45|      0|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|      0|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|      0|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 0, False: 0]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|      0|                    size_t value = *(const size_t *) _s;
   51|      0|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|      0|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 0, False: 0]
  ------------------
   52|      0|                        break;
   53|      0|#if PY_LITTLE_ENDIAN
   54|      0|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|      0|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|      0|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|      0|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|      0|# if SIZEOF_SIZE_T == 8
   59|      0|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|      0|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|      0|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|      0|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|      0|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|      0|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|      0|#define SIZEOF_SIZE_T 8
  ------------------
   83|      0|                }
   84|      0|                s = _s;
   85|      0|                p = _p;
   86|      0|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 0]
  ------------------
   87|      0|                    break;
   88|      0|                ch = (unsigned char)*s;
   89|      0|            }
   90|      0|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 0, False: 0]
  ------------------
   91|      0|                s++;
   92|      0|                *p++ = ch;
   93|      0|                continue;
   94|      0|            }
   95|      0|        }
   96|       |
   97|     88|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 44, False: 44]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|     44|            Py_UCS4 ch2;
  100|     44|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 44]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|     44|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 44]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|     44|            ch2 = (unsigned char)s[1];
  112|     44|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|     44|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 44, False: 0]
  |  |  |  Branch (20:51): [True: 44, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|     44|            ch = (ch << 6) + ch2 -
  116|     44|                 ((0xC0 << 6) + 0x80);
  117|     44|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  118|     44|            s += 2;
  119|     44|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     44|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 44, Folded]
  ------------------
  120|      0|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (120:18): [True: 0, Folded]
  |  Branch (120:49): [True: 0, False: 0]
  ------------------
  121|       |                /* Out-of-range */
  122|     44|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|     44|        }
  126|       |
  127|     44|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 26, False: 18]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|     26|            Py_UCS4 ch2, ch3;
  130|     26|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 26]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      0|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 0, False: 0]
  ------------------
  134|      0|                    break;
  135|      0|                ch2 = (unsigned char)s[1];
  136|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 0]
  |  Branch (137:22): [True: 0, False: 0]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      0|                break;
  141|      0|            }
  142|     26|            ch2 = (unsigned char)s[1];
  143|     26|            ch3 = (unsigned char)s[2];
  144|     26|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     26|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 26, False: 0]
  |  |  |  Branch (20:51): [True: 26, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|     26|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 8, False: 18]
  ------------------
  149|      8|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 8]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|     18|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 18]
  |  Branch (153:38): [True: 0, False: 0]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|      0|                goto InvalidContinuation1;
  160|      0|            }
  161|     26|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     26|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 26, False: 0]
  |  |  |  Branch (20:51): [True: 26, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|     26|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|     26|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|     26|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  168|     26|            s += 3;
  169|     26|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|     26|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 26, Folded]
  ------------------
  170|      0|                (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (170:18): [True: 0, Folded]
  |  Branch (170:49): [True: 0, False: 0]
  ------------------
  171|       |                /* Out-of-range */
  172|     26|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|     26|        }
  176|       |
  177|     18|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 18, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|     18|            Py_UCS4 ch2, ch3, ch4;
  180|     18|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 18]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      0|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 0, False: 0]
  ------------------
  184|      0|                    break;
  185|      0|                ch2 = (unsigned char)s[1];
  186|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  187|      0|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 0]
  |  Branch (187:22): [True: 0, False: 0]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      0|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 0, False: 0]
  ------------------
  191|      0|                    break;
  192|      0|                ch3 = (unsigned char)s[2];
  193|      0|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      0|                break;
  196|      0|            }
  197|     18|            ch2 = (unsigned char)s[1];
  198|     18|            ch3 = (unsigned char)s[2];
  199|     18|            ch4 = (unsigned char)s[3];
  200|     18|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     18|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 18, False: 0]
  |  |  |  Branch (20:51): [True: 18, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|     18|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 18, False: 0]
  ------------------
  205|     18|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 18]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|     18|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 0]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|     18|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     18|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 18, False: 0]
  |  |  |  Branch (20:51): [True: 18, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|     18|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|     18|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 18, False: 0]
  |  |  |  Branch (20:51): [True: 18, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|     18|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|     18|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|     18|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  225|     18|            s += 4;
  226|     18|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|     18|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 18, Folded]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (227:18): [True: 0, Folded]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|     18|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|     18|        }
  233|      0|        goto InvalidStart;
  234|     18|    }
  235|      0|    ch = 0;
  236|     88|Return:
  237|     88|    *inptr = s;
  238|     88|    *outpos = p - dest;
  239|     88|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      0|InvalidContinuation1:
  244|      0|    ch = 2;
  245|      0|    goto Return;
  246|      0|InvalidContinuation2:
  247|      0|    ch = 3;
  248|      0|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|      0|}
unicodeobject.c:ucs1lib_utf8_decode:
   26|     30|{
   27|     30|    Py_UCS4 ch;
   28|     30|    const char *s = *inptr;
   29|     30|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     30|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|    272|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 252, False: 20]
  ------------------
   32|    252|        ch = (unsigned char)*s;
   33|       |
   34|    252|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 176, False: 76]
  ------------------
   35|       |            /* Fast path for runs of ASCII characters. Given that common UTF-8
   36|       |               input will consist of an overwhelming majority of ASCII
   37|       |               characters, we try to optimize for this case by checking
   38|       |               as many characters as a C 'size_t' can contain.
   39|       |               First, check if we can do an aligned read, as most CPUs have
   40|       |               a penalty for unaligned reads.
   41|       |            */
   42|    176|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|    176|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 24, False: 152]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|     24|                const char *_s = s;
   45|     24|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|     24|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|  2.51k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|  2.51k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 2.49k, False: 18]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|  2.49k|                    size_t value = *(const size_t *) _s;
   51|  2.49k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  2.49k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 6, False: 2.48k]
  ------------------
   52|      6|                        break;
   53|  2.48k|#if PY_LITTLE_ENDIAN
   54|  2.48k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  2.48k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  2.48k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  2.48k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  2.48k|# if SIZEOF_SIZE_T == 8
   59|  2.48k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  2.48k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  2.48k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  2.48k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  2.48k|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|  2.48k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  2.48k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  2.48k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  2.48k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  2.48k|                }
   84|     24|                s = _s;
   85|     24|                p = _p;
   86|     24|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 24]
  ------------------
   87|      0|                    break;
   88|     24|                ch = (unsigned char)*s;
   89|     24|            }
   90|    176|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 176, False: 0]
  ------------------
   91|    176|                s++;
   92|    176|                *p++ = ch;
   93|    176|                continue;
   94|    176|            }
   95|    176|        }
   96|       |
   97|     76|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 72, False: 4]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|     72|            Py_UCS4 ch2;
  100|     72|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 72]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|     72|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 72]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|     72|            ch2 = (unsigned char)s[1];
  112|     72|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|     72|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 72, False: 0]
  |  |  |  Branch (20:51): [True: 72, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|     72|            ch = (ch << 6) + ch2 -
  116|     72|                 ((0xC0 << 6) + 0x80);
  117|     72|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  118|     72|            s += 2;
  119|     72|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     72|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 72]
  ------------------
  120|     72|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|     72|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|     72|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 72, Folded]
  |  Branch (120:49): [True: 6, False: 66]
  ------------------
  121|       |                /* Out-of-range */
  122|      6|                goto Return;
  123|     66|            *p++ = ch;
  124|     66|            continue;
  125|     72|        }
  126|       |
  127|      4|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 4, False: 0]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|      4|            Py_UCS4 ch2, ch3;
  130|      4|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 4]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      0|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 0, False: 0]
  ------------------
  134|      0|                    break;
  135|      0|                ch2 = (unsigned char)s[1];
  136|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 0]
  |  Branch (137:22): [True: 0, False: 0]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      0|                break;
  141|      0|            }
  142|      4|            ch2 = (unsigned char)s[1];
  143|      4|            ch3 = (unsigned char)s[2];
  144|      4|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|      4|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 4, False: 0]
  |  |  |  Branch (20:51): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|      4|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 0, False: 4]
  ------------------
  149|      0|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 0]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|      4|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 4]
  |  Branch (153:38): [True: 0, False: 0]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|      0|                goto InvalidContinuation1;
  160|      0|            }
  161|      4|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|      4|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 4, False: 0]
  |  |  |  Branch (20:51): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|      4|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|      4|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|      4|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  168|      4|            s += 3;
  169|      4|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|      4|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 4, Folded]
  ------------------
  170|      0|                (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (170:18): [True: 0, Folded]
  |  Branch (170:49): [True: 0, False: 0]
  ------------------
  171|       |                /* Out-of-range */
  172|      4|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|      4|        }
  176|       |
  177|      0|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 0, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|      0|            Py_UCS4 ch2, ch3, ch4;
  180|      0|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 0]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      0|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 0, False: 0]
  ------------------
  184|      0|                    break;
  185|      0|                ch2 = (unsigned char)s[1];
  186|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  187|      0|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 0]
  |  Branch (187:22): [True: 0, False: 0]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      0|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 0, False: 0]
  ------------------
  191|      0|                    break;
  192|      0|                ch3 = (unsigned char)s[2];
  193|      0|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      0|                break;
  196|      0|            }
  197|      0|            ch2 = (unsigned char)s[1];
  198|      0|            ch3 = (unsigned char)s[2];
  199|      0|            ch4 = (unsigned char)s[3];
  200|      0|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|      0|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 0, False: 0]
  ------------------
  205|      0|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 0]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|      0|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 0]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|      0|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|      0|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|      0|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|      0|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|      0|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  225|      0|            s += 4;
  226|      0|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (226:17): [True: 0, Folded]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (227:18): [True: 0, Folded]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|      0|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|      0|        }
  233|      0|        goto InvalidStart;
  234|      0|    }
  235|     20|    ch = 0;
  236|     30|Return:
  237|     30|    *inptr = s;
  238|     30|    *outpos = p - dest;
  239|     30|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      0|InvalidContinuation1:
  244|      0|    ch = 2;
  245|      0|    goto Return;
  246|      0|InvalidContinuation2:
  247|      0|    ch = 3;
  248|      0|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|     20|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|     44|{
   27|     44|    Py_UCS4 ch;
   28|     44|    const char *s = *inptr;
   29|     44|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     44|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|  3.69k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 3.65k, False: 42]
  ------------------
   32|  3.65k|        ch = (unsigned char)*s;
   33|       |
   34|  3.65k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 1.68k, False: 1.96k]
  ------------------
   35|       |            /* Fast path for runs of ASCII characters. Given that common UTF-8
   36|       |               input will consist of an overwhelming majority of ASCII
   37|       |               characters, we try to optimize for this case by checking
   38|       |               as many characters as a C 'size_t' can contain.
   39|       |               First, check if we can do an aligned read, as most CPUs have
   40|       |               a penalty for unaligned reads.
   41|       |            */
   42|  1.68k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  1.68k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 230, False: 1.45k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|    230|                const char *_s = s;
   45|    230|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|    230|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|  1.98k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|  1.98k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 1.97k, False: 16]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|  1.97k|                    size_t value = *(const size_t *) _s;
   51|  1.97k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  1.97k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 214, False: 1.75k]
  ------------------
   52|    214|                        break;
   53|  1.75k|#if PY_LITTLE_ENDIAN
   54|  1.75k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  1.75k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  1.75k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  1.75k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  1.75k|# if SIZEOF_SIZE_T == 8
   59|  1.75k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  1.75k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  1.75k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  1.75k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  1.75k|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|  1.75k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  1.75k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  1.75k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  1.75k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  1.75k|                }
   84|    230|                s = _s;
   85|    230|                p = _p;
   86|    230|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 2, False: 228]
  ------------------
   87|      2|                    break;
   88|    228|                ch = (unsigned char)*s;
   89|    228|            }
   90|  1.68k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 1.66k, False: 26]
  ------------------
   91|  1.66k|                s++;
   92|  1.66k|                *p++ = ch;
   93|  1.66k|                continue;
   94|  1.66k|            }
   95|  1.68k|        }
   96|       |
   97|  1.99k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 624, False: 1.36k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|    624|            Py_UCS4 ch2;
  100|    624|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 624]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|    624|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 624]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|    624|            ch2 = (unsigned char)s[1];
  112|    624|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|    624|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 624, False: 0]
  |  |  |  Branch (20:51): [True: 624, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|    624|            ch = (ch << 6) + ch2 -
  116|    624|                 ((0xC0 << 6) + 0x80);
  117|    624|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  118|    624|            s += 2;
  119|    624|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|    624|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (119:17): [Folded, False: 0]
  ------------------
  120|      0|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (120:18): [Folded, False: 0]
  |  Branch (120:49): [True: 0, False: 0]
  ------------------
  121|       |                /* Out-of-range */
  122|      0|                goto Return;
  123|    624|            *p++ = ch;
  124|    624|            continue;
  125|    624|        }
  126|       |
  127|  1.36k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 1.36k, False: 0]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  1.36k|            Py_UCS4 ch2, ch3;
  130|  1.36k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 1.36k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      0|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 0, False: 0]
  ------------------
  134|      0|                    break;
  135|      0|                ch2 = (unsigned char)s[1];
  136|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 0]
  |  Branch (137:22): [True: 0, False: 0]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      0|                break;
  141|      0|            }
  142|  1.36k|            ch2 = (unsigned char)s[1];
  143|  1.36k|            ch3 = (unsigned char)s[2];
  144|  1.36k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.36k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.36k, False: 0]
  |  |  |  Branch (20:51): [True: 1.36k, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|  1.36k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 68, False: 1.30k]
  ------------------
  149|     68|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 68]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|  1.30k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 1.30k]
  |  Branch (153:38): [True: 0, False: 0]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|      0|                goto InvalidContinuation1;
  160|      0|            }
  161|  1.36k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.36k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.36k, False: 0]
  |  |  |  Branch (20:51): [True: 1.36k, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|  1.36k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  1.36k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  1.36k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  168|  1.36k|            s += 3;
  169|  1.36k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  1.36k|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (169:17): [Folded, False: 0]
  ------------------
  170|      0|                (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (170:18): [Folded, False: 0]
  |  Branch (170:49): [True: 0, False: 0]
  ------------------
  171|       |                /* Out-of-range */
  172|      0|                goto Return;
  173|  1.36k|            *p++ = ch;
  174|  1.36k|            continue;
  175|  1.36k|        }
  176|       |
  177|      0|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 0, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|      0|            Py_UCS4 ch2, ch3, ch4;
  180|      0|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 0]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      0|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 0, False: 0]
  ------------------
  184|      0|                    break;
  185|      0|                ch2 = (unsigned char)s[1];
  186|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  187|      0|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 0]
  |  Branch (187:22): [True: 0, False: 0]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      0|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 0, False: 0]
  ------------------
  191|      0|                    break;
  192|      0|                ch3 = (unsigned char)s[2];
  193|      0|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      0|                break;
  196|      0|            }
  197|      0|            ch2 = (unsigned char)s[1];
  198|      0|            ch3 = (unsigned char)s[2];
  199|      0|            ch4 = (unsigned char)s[3];
  200|      0|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|      0|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 0, False: 0]
  ------------------
  205|      0|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 0]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|      0|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 0]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|      0|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|      0|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|      0|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|      0|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|      0|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  225|      0|            s += 4;
  226|      0|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (226:17): [True: 0, Folded]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (227:18): [True: 0, Folded]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|      0|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|      0|        }
  233|      0|        goto InvalidStart;
  234|      0|    }
  235|     44|    ch = 0;
  236|     44|Return:
  237|     44|    *inptr = s;
  238|     44|    *outpos = p - dest;
  239|     44|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      0|InvalidContinuation1:
  244|      0|    ch = 2;
  245|      0|    goto Return;
  246|      0|InvalidContinuation2:
  247|      0|    ch = 3;
  248|      0|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|     44|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|     30|{
   27|     30|    Py_UCS4 ch;
   28|     30|    const char *s = *inptr;
   29|     30|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     30|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|    516|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 490, False: 26]
  ------------------
   32|    490|        ch = (unsigned char)*s;
   33|       |
   34|    490|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 146, False: 344]
  ------------------
   35|       |            /* Fast path for runs of ASCII characters. Given that common UTF-8
   36|       |               input will consist of an overwhelming majority of ASCII
   37|       |               characters, we try to optimize for this case by checking
   38|       |               as many characters as a C 'size_t' can contain.
   39|       |               First, check if we can do an aligned read, as most CPUs have
   40|       |               a penalty for unaligned reads.
   41|       |            */
   42|    146|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|    146|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 22, False: 124]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|     22|                const char *_s = s;
   45|     22|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|     22|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|     78|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|     78|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 64, False: 14]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|     64|                    size_t value = *(const size_t *) _s;
   51|     64|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|     64|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 8, False: 56]
  ------------------
   52|      8|                        break;
   53|     56|#if PY_LITTLE_ENDIAN
   54|     56|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|     56|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|     56|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|     56|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|     56|# if SIZEOF_SIZE_T == 8
   59|     56|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|     56|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|     56|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|     56|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|     56|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|     56|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|     56|#define SIZEOF_SIZE_T 8
  ------------------
   82|     56|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|     56|#define SIZEOF_SIZE_T 8
  ------------------
   83|     56|                }
   84|     22|                s = _s;
   85|     22|                p = _p;
   86|     22|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 4, False: 18]
  ------------------
   87|      4|                    break;
   88|     18|                ch = (unsigned char)*s;
   89|     18|            }
   90|    142|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 142, False: 0]
  ------------------
   91|    142|                s++;
   92|    142|                *p++ = ch;
   93|    142|                continue;
   94|    142|            }
   95|    142|        }
   96|       |
   97|    344|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 0, False: 344]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|      0|            Py_UCS4 ch2;
  100|      0|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 0]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|      0|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 0]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|      0|            ch2 = (unsigned char)s[1];
  112|      0|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|      0|            ch = (ch << 6) + ch2 -
  116|      0|                 ((0xC0 << 6) + 0x80);
  117|      0|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  118|      0|            s += 2;
  119|      0|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (119:17): [Folded, False: 0]
  ------------------
  120|      0|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (120:18): [Folded, False: 0]
  |  Branch (120:49): [True: 0, False: 0]
  ------------------
  121|       |                /* Out-of-range */
  122|      0|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|      0|        }
  126|       |
  127|    344|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 0, False: 344]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|      0|            Py_UCS4 ch2, ch3;
  130|      0|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      0|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 0, False: 0]
  ------------------
  134|      0|                    break;
  135|      0|                ch2 = (unsigned char)s[1];
  136|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 0]
  |  Branch (137:22): [True: 0, False: 0]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      0|                break;
  141|      0|            }
  142|      0|            ch2 = (unsigned char)s[1];
  143|      0|            ch3 = (unsigned char)s[2];
  144|      0|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|      0|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 0, False: 0]
  ------------------
  149|      0|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 0]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|      0|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 0]
  |  Branch (153:38): [True: 0, False: 0]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|      0|                goto InvalidContinuation1;
  160|      0|            }
  161|      0|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|      0|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|      0|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|      0|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  168|      0|            s += 3;
  169|      0|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (169:17): [Folded, False: 0]
  ------------------
  170|      0|                (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0xFFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (170:18): [Folded, False: 0]
  |  Branch (170:49): [True: 0, False: 0]
  ------------------
  171|       |                /* Out-of-range */
  172|      0|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|      0|        }
  176|       |
  177|    344|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 344, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|    344|            Py_UCS4 ch2, ch3, ch4;
  180|    344|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 344]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      0|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 0, False: 0]
  ------------------
  184|      0|                    break;
  185|      0|                ch2 = (unsigned char)s[1];
  186|      0|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  187|      0|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 0]
  |  Branch (187:22): [True: 0, False: 0]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      0|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 0, False: 0]
  ------------------
  191|      0|                    break;
  192|      0|                ch3 = (unsigned char)s[2];
  193|      0|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      0|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 0, False: 0]
  |  |  |  Branch (20:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      0|                break;
  196|      0|            }
  197|    344|            ch2 = (unsigned char)s[1];
  198|    344|            ch3 = (unsigned char)s[2];
  199|    344|            ch4 = (unsigned char)s[3];
  200|    344|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    344|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 344, False: 0]
  |  |  |  Branch (20:51): [True: 344, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|    344|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 344, False: 0]
  ------------------
  205|    344|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 344]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|    344|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 0, False: 0]
  |  Branch (209:38): [True: 0, False: 0]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|    344|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    344|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 344, False: 0]
  |  |  |  Branch (20:51): [True: 344, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|    344|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|    344|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 344, False: 0]
  |  |  |  Branch (20:51): [True: 344, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|    344|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|    344|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|    344|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  225|    344|            s += 4;
  226|    344|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|    344|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (226:17): [Folded, False: 0]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (227:18): [Folded, False: 0]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|      0|                goto Return;
  230|    344|            *p++ = ch;
  231|    344|            continue;
  232|    344|        }
  233|      0|        goto InvalidStart;
  234|    344|    }
  235|     30|    ch = 0;
  236|     30|Return:
  237|     30|    *inptr = s;
  238|     30|    *outpos = p - dest;
  239|     30|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      0|InvalidContinuation1:
  244|      0|    ch = 2;
  245|      0|    goto Return;
  246|      0|InvalidContinuation2:
  247|      0|    ch = 3;
  248|      0|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|     30|}

unicodeobject.c:ucs1lib_count:
   16|    136|{
   17|    136|    Py_ssize_t count;
   18|       |
   19|    136|    if (str_len < 0)
  ------------------
  |  Branch (19:9): [True: 0, False: 136]
  ------------------
   20|      0|        return 0; /* start > len(str) */
   21|    136|    if (sub_len == 0)
  ------------------
  |  Branch (21:9): [True: 0, False: 136]
  ------------------
   22|      0|        return (str_len < maxcount) ? str_len + 1 : maxcount;
  ------------------
  |  Branch (22:16): [True: 0, False: 0]
  ------------------
   23|       |
   24|    136|    count = FASTSEARCH(str, str_len, sub, sub_len, maxcount, FAST_COUNT);
  ------------------
  |  |    6|    136|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  count = FASTSEARCH(str, str_len, sub, sub_len, maxcount, FAST_COUNT);
  ------------------
  |  |   24|    136|#define FAST_COUNT 0
  ------------------
   25|       |
   26|    136|    if (count < 0)
  ------------------
  |  Branch (26:9): [True: 0, False: 136]
  ------------------
   27|      0|        return 0; /* no match */
   28|       |
   29|    136|    return count;
   30|    136|}

dictobject.c:unicode_eq:
    8|  3.01M|{
    9|  3.01M|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  3.01M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  3.01M|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  3.01M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 3.01M]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|  3.01M|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  3.01M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.01M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|  3.01M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  3.01M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.01M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 3.01M]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  3.01M|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  3.01M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  3.01M|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  3.01M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  3.01M|    return (memcmp(data1, data2, len * kind) == 0);
   22|  3.01M|}
setobject.c:unicode_eq:
    8|    588|{
    9|    588|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|    588|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|    588|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|    588|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 588]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|    588|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|    588|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    588|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|    588|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|    588|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    588|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 588]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|    588|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|    588|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|    588|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|    588|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|    588|    return (memcmp(data1, data2, len * kind) == 0);
   22|    588|}
unicodeobject.c:unicode_eq:
    8|  20.4M|{
    9|  20.4M|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  20.4M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  20.4M|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  20.4M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 19.0M, False: 1.46M]
  ------------------
   11|  19.0M|        return 0;
   12|  19.0M|    }
   13|       |
   14|  1.46M|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  1.46M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.46M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|  1.46M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  1.46M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.46M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 1.46M]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  1.46M|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  1.46M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  1.46M|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  1.46M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  1.46M|    return (memcmp(data1, data2, len * kind) == 0);
   22|  1.46M|}

unicodeobject.c:ucs1lib_find_char:
   51|  75.7k|{
   52|  75.7k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  75.7k|    p = s;
   55|  75.7k|    e = s + n;
   56|  75.7k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  75.7k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 464, False: 75.3k]
  ------------------
   57|    464|#ifdef STRINGLIB_FAST_MEMCHR
   58|    464|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|    464|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|    464|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 374, False: 90]
  ------------------
   60|    374|            return (p - s);
   61|     90|        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|       |        const STRINGLIB_CHAR *s1, *e1;
   66|       |        unsigned char needle = ch & 0xff;
   67|       |        /* If looking for a multiple of 256, we'd have too
   68|       |           many false positives looking for the '\0' byte in UCS2
   69|       |           and UCS4 representations. */
   70|       |        if (needle != 0) {
   71|       |            do {
   72|       |                const void *candidate = memchr(p, needle,
   73|       |                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|       |                if (candidate == NULL)
   75|       |                    return -1;
   76|       |                s1 = p;
   77|       |                p = (const STRINGLIB_CHAR *)
   78|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
   79|       |                if (*p == ch)
   80|       |                    return (p - s);
   81|       |                /* False positive */
   82|       |                p++;
   83|       |                if (p - s1 > MEMCHR_CUT_OFF)
   84|       |                    continue;
   85|       |                if (e - p <= MEMCHR_CUT_OFF)
   86|       |                    break;
   87|       |                e1 = p + MEMCHR_CUT_OFF;
   88|       |                while (p != e1) {
   89|       |                    if (*p == ch)
   90|       |                        return (p - s);
   91|       |                    p++;
   92|       |                }
   93|       |            }
   94|       |            while (e - p > MEMCHR_CUT_OFF);
   95|       |        }
   96|       |#endif
   97|    464|    }
   98|   612k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 547k, False: 64.9k]
  ------------------
   99|   547k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 10.3k, False: 537k]
  ------------------
  100|  10.3k|            return (p - s);
  101|   537k|        p++;
  102|   537k|    }
  103|  64.9k|    return -1;
  104|  75.3k|}
unicodeobject.c:ucs1lib_rfind_char:
  117|    680|{
  118|    680|    const STRINGLIB_CHAR *p;
  119|    680|#ifdef HAVE_MEMRCHR
  120|       |    /* memrchr() is a GNU extension, available since glibc 2.1.91.  it
  121|       |       doesn't seem as optimized as memchr(), but is still quite
  122|       |       faster than our hand-written loop below. There is no wmemrchr
  123|       |       for 4-byte chars. */
  124|       |
  125|    680|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    680|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 570, False: 110]
  ------------------
  126|    570|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    570|        p = memrchr(s, ch, n);
  128|    570|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 562, False: 8]
  ------------------
  129|    562|            return (p - s);
  130|      8|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|    570|    }
  169|    110|#endif  /* HAVE_MEMRCHR */
  170|    110|    p = s + n;
  171|    830|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 728, False: 102]
  ------------------
  172|    728|        p--;
  173|    728|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 8, False: 720]
  ------------------
  174|      8|            return (p - s);
  175|    728|    }
  176|    102|    return -1;
  177|    110|}
unicodeobject.c:asciilib_fastsearch:
  776|  7.29k|{
  777|  7.29k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  14.5k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 7.29k]
  |  Branch (777:19): [True: 0, False: 7.29k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  7.29k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 3.31k, False: 3.97k]
  ------------------
  783|  3.31k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 3.31k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  3.31k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  3.31k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 180, False: 3.13k]
  ------------------
  788|    180|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|    180|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|  3.13k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  3.13k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 3.13k, False: 0]
  ------------------
  790|  3.13k|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|  3.13k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  791|      0|        else {
  792|      0|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 0, False: 0]
  ------------------
  793|      0|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  794|      0|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  796|      0|        }
  797|  3.31k|    }
  798|       |
  799|  3.97k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  3.97k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 3.97k, False: 0]
  ------------------
  800|  3.97k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 3.97k, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  3.97k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  3.97k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|  3.97k|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  823|      0|        }
  824|  3.97k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  828|      0|    }
  829|  3.97k|}
unicodeobject.c:asciilib_find_char:
   51|    180|{
   52|    180|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|    180|    p = s;
   55|    180|    e = s + n;
   56|    180|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|    180|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 58, False: 122]
  ------------------
   57|     58|#ifdef STRINGLIB_FAST_MEMCHR
   58|     58|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   24|     58|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|     58|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 56, False: 2]
  ------------------
   60|     56|            return (p - s);
   61|      2|        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|       |        const STRINGLIB_CHAR *s1, *e1;
   66|       |        unsigned char needle = ch & 0xff;
   67|       |        /* If looking for a multiple of 256, we'd have too
   68|       |           many false positives looking for the '\0' byte in UCS2
   69|       |           and UCS4 representations. */
   70|       |        if (needle != 0) {
   71|       |            do {
   72|       |                const void *candidate = memchr(p, needle,
   73|       |                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|       |                if (candidate == NULL)
   75|       |                    return -1;
   76|       |                s1 = p;
   77|       |                p = (const STRINGLIB_CHAR *)
   78|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
   79|       |                if (*p == ch)
   80|       |                    return (p - s);
   81|       |                /* False positive */
   82|       |                p++;
   83|       |                if (p - s1 > MEMCHR_CUT_OFF)
   84|       |                    continue;
   85|       |                if (e - p <= MEMCHR_CUT_OFF)
   86|       |                    break;
   87|       |                e1 = p + MEMCHR_CUT_OFF;
   88|       |                while (p != e1) {
   89|       |                    if (*p == ch)
   90|       |                        return (p - s);
   91|       |                    p++;
   92|       |                }
   93|       |            }
   94|       |            while (e - p > MEMCHR_CUT_OFF);
   95|       |        }
   96|       |#endif
   97|     58|    }
   98|    874|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 804, False: 70]
  ------------------
   99|    804|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 52, False: 752]
  ------------------
  100|     52|            return (p - s);
  101|    752|        p++;
  102|    752|    }
  103|     70|    return -1;
  104|    122|}
unicodeobject.c:asciilib_rfind_char:
  117|  3.13k|{
  118|  3.13k|    const STRINGLIB_CHAR *p;
  119|  3.13k|#ifdef HAVE_MEMRCHR
  120|       |    /* memrchr() is a GNU extension, available since glibc 2.1.91.  it
  121|       |       doesn't seem as optimized as memchr(), but is still quite
  122|       |       faster than our hand-written loop below. There is no wmemrchr
  123|       |       for 4-byte chars. */
  124|       |
  125|  3.13k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  3.13k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 1.19k, False: 1.94k]
  ------------------
  126|  1.19k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  1.19k|        p = memrchr(s, ch, n);
  128|  1.19k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 1.14k, False: 54]
  ------------------
  129|  1.14k|            return (p - s);
  130|     54|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|  1.19k|    }
  169|  1.94k|#endif  /* HAVE_MEMRCHR */
  170|  1.94k|    p = s + n;
  171|  12.1k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 11.1k, False: 964]
  ------------------
  172|  11.1k|        p--;
  173|  11.1k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 976, False: 10.1k]
  ------------------
  174|    976|            return (p - s);
  175|  11.1k|    }
  176|    964|    return -1;
  177|  1.94k|}
unicodeobject.c:asciilib_default_find:
  560|  3.97k|{
  561|  3.97k|    const Py_ssize_t w = n - m;
  562|  3.97k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  3.97k|    Py_ssize_t gap = mlast;
  564|  3.97k|    const STRINGLIB_CHAR last = p[mlast];
  565|  3.97k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  3.97k|    unsigned long mask = 0;
  568|  31.8k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 27.8k, False: 3.97k]
  ------------------
  569|  27.8k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  27.8k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  27.8k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  27.8k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 0, False: 27.8k]
  ------------------
  571|      0|            gap = mlast - i - 1;
  572|      0|        }
  573|  27.8k|    }
  574|  3.97k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  3.97k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.97k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  11.9k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 7.96k, False: 3.97k]
  ------------------
  577|  7.96k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 4, False: 7.96k]
  ------------------
  578|       |            /* candidate match */
  579|      4|            Py_ssize_t j;
  580|     44|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 40, False: 4]
  ------------------
  581|     40|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 0, False: 40]
  ------------------
  582|      0|                    break;
  583|      0|                }
  584|     40|            }
  585|      4|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 4, False: 0]
  ------------------
  586|       |                /* got a match! */
  587|      4|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|      4|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 4, False: 0]
  ------------------
  588|      4|                    return i;
  589|      4|                }
  590|      0|                count++;
  591|      0|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 0]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|      0|                i = i + mlast;
  595|      0|                continue;
  596|      0|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|      0|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|      0|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      0|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 0, False: 0]
  |  Branch (598:31): [True: 0, False: 0]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|      0|            else {
  602|      0|                i = i + gap;
  603|      0|            }
  604|      0|        }
  605|  7.96k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  7.96k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  7.94k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  7.94k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 7.94k, False: 14]
  |  Branch (607:31): [True: 7.90k, False: 42]
  ------------------
  608|  7.90k|                i = i + m;
  609|  7.90k|            }
  610|  7.96k|        }
  611|  7.96k|    }
  612|  3.97k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  3.97k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 3.97k]
  ------------------
  613|  3.97k|}
unicodeobject.c:ucs1lib_fastsearch:
  776|  28.1k|{
  777|  28.1k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  56.2k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 28.1k]
  |  Branch (777:19): [True: 136, False: 27.9k]
  |  Branch (777:41): [True: 0, False: 136]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  28.1k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 108, False: 28.0k]
  ------------------
  783|    108|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 108]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|    108|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|    108|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 108]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  789|    108|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    108|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 108]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  791|    108|        else {
  792|    108|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    108|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 108, False: 0]
  ------------------
  793|    108|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|    108|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  794|    108|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  796|    108|        }
  797|    108|    }
  798|       |
  799|  28.0k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  28.0k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 28.0k, False: 0]
  ------------------
  800|  28.0k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 28.0k, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  28.0k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  28.0k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|  28.0k|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  823|      0|        }
  824|  28.0k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  828|      0|    }
  829|  28.0k|}
unicodeobject.c:ucs1lib_count_char_no_maxcount:
  761|    108|{
  762|    108|    Py_ssize_t count = 0;
  763|  1.26k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 1.15k, False: 108]
  ------------------
  764|  1.15k|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 96, False: 1.05k]
  ------------------
  765|     96|            count++;
  766|     96|        }
  767|  1.15k|    }
  768|    108|    return count;
  769|    108|}
unicodeobject.c:ucs1lib_default_find:
  560|  28.0k|{
  561|  28.0k|    const Py_ssize_t w = n - m;
  562|  28.0k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  28.0k|    Py_ssize_t gap = mlast;
  564|  28.0k|    const STRINGLIB_CHAR last = p[mlast];
  565|  28.0k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  28.0k|    unsigned long mask = 0;
  568|   251k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 223k, False: 28.0k]
  ------------------
  569|   223k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|   223k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|   223k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|   223k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 306, False: 223k]
  ------------------
  571|    306|            gap = mlast - i - 1;
  572|    306|        }
  573|   223k|    }
  574|  28.0k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  28.0k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  28.0k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  59.0k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 58.3k, False: 759]
  ------------------
  577|  58.3k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 27.8k, False: 30.4k]
  ------------------
  578|       |            /* candidate match */
  579|  27.8k|            Py_ssize_t j;
  580|   246k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 219k, False: 27.2k]
  ------------------
  581|   219k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 583, False: 218k]
  ------------------
  582|    583|                    break;
  583|    583|                }
  584|   219k|            }
  585|  27.8k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 27.2k, False: 583]
  ------------------
  586|       |                /* got a match! */
  587|  27.2k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  27.2k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 27.2k, False: 4]
  ------------------
  588|  27.2k|                    return i;
  589|  27.2k|                }
  590|      4|                count++;
  591|      4|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 4]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|      4|                i = i + mlast;
  595|      4|                continue;
  596|      4|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|    583|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|    579|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|    579|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 579, False: 4]
  |  Branch (598:31): [True: 564, False: 15]
  ------------------
  599|    564|                i = i + m;
  600|    564|            }
  601|     19|            else {
  602|     19|                i = i + gap;
  603|     19|            }
  604|    583|        }
  605|  30.4k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  30.4k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  30.2k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  30.2k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 30.2k, False: 250]
  |  Branch (607:31): [True: 28.5k, False: 1.67k]
  ------------------
  608|  28.5k|                i = i + m;
  609|  28.5k|            }
  610|  30.4k|        }
  611|  58.3k|    }
  612|    759|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    759|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 28, False: 731]
  ------------------
  613|  28.0k|}
bytes_methods.c:stringlib_find_char:
   51|  1.06k|{
   52|  1.06k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  1.06k|    p = s;
   55|  1.06k|    e = s + n;
   56|  1.06k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  1.06k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 1.06k, False: 0]
  ------------------
   57|  1.06k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  1.06k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  383|  1.06k|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|  1.06k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 796, False: 264]
  ------------------
   60|    796|            return (p - s);
   61|    264|        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|       |        const STRINGLIB_CHAR *s1, *e1;
   66|       |        unsigned char needle = ch & 0xff;
   67|       |        /* If looking for a multiple of 256, we'd have too
   68|       |           many false positives looking for the '\0' byte in UCS2
   69|       |           and UCS4 representations. */
   70|       |        if (needle != 0) {
   71|       |            do {
   72|       |                const void *candidate = memchr(p, needle,
   73|       |                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|       |                if (candidate == NULL)
   75|       |                    return -1;
   76|       |                s1 = p;
   77|       |                p = (const STRINGLIB_CHAR *)
   78|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
   79|       |                if (*p == ch)
   80|       |                    return (p - s);
   81|       |                /* False positive */
   82|       |                p++;
   83|       |                if (p - s1 > MEMCHR_CUT_OFF)
   84|       |                    continue;
   85|       |                if (e - p <= MEMCHR_CUT_OFF)
   86|       |                    break;
   87|       |                e1 = p + MEMCHR_CUT_OFF;
   88|       |                while (p != e1) {
   89|       |                    if (*p == ch)
   90|       |                        return (p - s);
   91|       |                    p++;
   92|       |                }
   93|       |            }
   94|       |            while (e - p > MEMCHR_CUT_OFF);
   95|       |        }
   96|       |#endif
   97|  1.06k|    }
   98|      0|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 0, False: 0]
  ------------------
   99|      0|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 0, False: 0]
  ------------------
  100|      0|            return (p - s);
  101|      0|        p++;
  102|      0|    }
  103|      0|    return -1;
  104|      0|}

unicodeobject.c:asciilib_find:
   11|  4.07k|{
   12|  4.07k|    Py_ssize_t pos;
   13|       |
   14|  4.07k|    assert(str_len >= 0);
   15|  4.07k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 4.07k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  4.07k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  4.07k|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  4.07k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  4.07k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 100, False: 3.97k]
  ------------------
   21|    100|        pos += offset;
   22|       |
   23|  4.07k|    return pos;
   24|  4.07k|}
unicodeobject.c:ucs1lib_find:
   11|  27.9k|{
   12|  27.9k|    Py_ssize_t pos;
   13|       |
   14|  27.9k|    assert(str_len >= 0);
   15|  27.9k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 27.9k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  27.9k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  27.9k|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  27.9k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  27.9k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 27.2k, False: 731]
  ------------------
   21|  27.2k|        pos += offset;
   22|       |
   23|  27.9k|    return pos;
   24|  27.9k|}

unicodeobject.c:ucs4lib_find_max_char:
   61|     32|{
   62|       |#if STRINGLIB_SIZEOF_CHAR == 2
   63|       |    const Py_UCS4 mask_limit = MASK_UCS1;
   64|       |    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
   65|       |#elif STRINGLIB_SIZEOF_CHAR == 4
   66|     32|    const Py_UCS4 mask_limit = MASK_UCS2;
  ------------------
  |  |   52|     32|#define MASK_UCS2 0xFFFF0000
  ------------------
   67|     32|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS4;
  ------------------
  |  |   57|     32|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
   68|       |#else
   69|       |#error Invalid STRINGLIB_SIZEOF_CHAR (must be 1, 2 or 4)
   70|       |#endif
   71|     32|    Py_UCS4 mask;
   72|     32|    Py_ssize_t n = end - begin;
   73|     32|    const STRINGLIB_CHAR *p = begin;
   74|     32|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  211|     32|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|     32|    Py_UCS4 max_char;
   76|       |
   77|     32|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|     32|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|     32|    mask = MASK_ASCII;
  ------------------
  |  |   50|     32|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|    356|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 324, False: 32]
  ------------------
   80|    324|        STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3];
  ------------------
  |  |   11|    324|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   81|    324|        if (bits & mask) {
  ------------------
  |  Branch (81:13): [True: 0, False: 324]
  ------------------
   82|      0|            if (mask == mask_limit) {
  ------------------
  |  Branch (82:17): [True: 0, False: 0]
  ------------------
   83|       |                /* Limit reached */
   84|      0|                return max_char_limit;
   85|      0|            }
   86|      0|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|      0|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (86:17): [True: 0, False: 0]
  ------------------
   87|      0|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
   88|      0|                mask = MASK_UCS1;
  ------------------
  |  |   51|      0|#define MASK_UCS1 0xFFFFFF00
  ------------------
   89|      0|            }
   90|      0|            else {
   91|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
   92|      0|                assert(mask == MASK_UCS1);
   93|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
   94|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
   95|      0|            }
   96|       |            /* We check the new mask on the same chars in the next iteration */
   97|      0|            continue;
   98|      0|        }
   99|    324|        p += 4;
  100|    324|    }
  101|     96|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 64, False: 32]
  ------------------
  102|     64|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 0, False: 64]
  ------------------
  103|      0|            if (mask == mask_limit) {
  ------------------
  |  Branch (103:17): [True: 0, False: 0]
  ------------------
  104|       |                /* Limit reached */
  105|      0|                return max_char_limit;
  106|      0|            }
  107|      0|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|      0|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (107:17): [True: 0, False: 0]
  ------------------
  108|      0|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  109|      0|                mask = MASK_UCS1;
  ------------------
  |  |   51|      0|#define MASK_UCS1 0xFFFFFF00
  ------------------
  110|      0|            }
  111|      0|            else {
  112|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
  113|      0|                assert(mask == MASK_UCS1);
  114|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
  115|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
  116|      0|            }
  117|       |            /* We check the new mask on the same chars in the next iteration */
  118|      0|            continue;
  119|      0|        }
  120|     64|        p++;
  121|     64|    }
  122|     32|    return max_char;
  123|     32|}
unicodeobject.c:ucs1lib_find_max_char:
   22|  1.48M|{
   23|  1.48M|    const unsigned char *p = (const unsigned char *) begin;
   24|  1.48M|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|  9.23M|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 7.76M, False: 1.47M]
  ------------------
   27|  7.76M|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  7.76M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 1.46M, False: 6.29M]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|  1.46M|            const unsigned char *_p = p;
   30|  7.01M|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1859|  7.01M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 5.54M, False: 1.46M]
  ------------------
   31|  5.54M|                size_t value = *(const size_t *) _p;
   32|  5.54M|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|  5.54M|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 5.54M]
  ------------------
   33|      0|                    return 255;
   34|  5.54M|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  5.54M|#define SIZEOF_SIZE_T 8
  ------------------
   35|  5.54M|            }
   36|  1.46M|            p = _p;
   37|  1.46M|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 10.3k, False: 1.45M]
  ------------------
   38|  10.3k|                break;
   39|  1.46M|        }
   40|  7.74M|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 2, False: 7.74M]
  ------------------
   41|      2|            return 255;
   42|  7.74M|    }
   43|  1.48M|    return 127;
   44|  1.48M|}
unicodeobject.c:ucs2lib_find_max_char:
   61|    324|{
   62|    324|#if STRINGLIB_SIZEOF_CHAR == 2
   63|    324|    const Py_UCS4 mask_limit = MASK_UCS1;
  ------------------
  |  |   51|    324|#define MASK_UCS1 0xFFFFFF00
  ------------------
   64|    324|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
  ------------------
  |  |   56|    324|#define MAX_CHAR_UCS2  0xffff
  ------------------
   65|       |#elif STRINGLIB_SIZEOF_CHAR == 4
   66|       |    const Py_UCS4 mask_limit = MASK_UCS2;
   67|       |    const Py_UCS4 max_char_limit = MAX_CHAR_UCS4;
   68|       |#else
   69|       |#error Invalid STRINGLIB_SIZEOF_CHAR (must be 1, 2 or 4)
   70|       |#endif
   71|    324|    Py_UCS4 mask;
   72|    324|    Py_ssize_t n = end - begin;
   73|    324|    const STRINGLIB_CHAR *p = begin;
   74|    324|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  211|    324|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|    324|    Py_UCS4 max_char;
   76|       |
   77|    324|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|    324|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|    324|    mask = MASK_ASCII;
  ------------------
  |  |   50|    324|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|  4.25k|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 3.93k, False: 322]
  ------------------
   80|  3.93k|        STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3];
  ------------------
  |  |   11|  3.93k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   81|  3.93k|        if (bits & mask) {
  ------------------
  |  Branch (81:13): [True: 4, False: 3.93k]
  ------------------
   82|      4|            if (mask == mask_limit) {
  ------------------
  |  Branch (82:17): [True: 2, False: 2]
  ------------------
   83|       |                /* Limit reached */
   84|      2|                return max_char_limit;
   85|      2|            }
   86|      2|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|      2|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (86:17): [True: 2, False: 0]
  ------------------
   87|      2|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|      2|#define MAX_CHAR_UCS1  0xff
  ------------------
   88|      2|                mask = MASK_UCS1;
  ------------------
  |  |   51|      2|#define MASK_UCS1 0xFFFFFF00
  ------------------
   89|      2|            }
   90|      0|            else {
   91|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
   92|      0|                assert(mask == MASK_UCS1);
   93|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
   94|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
   95|      0|            }
   96|       |            /* We check the new mask on the same chars in the next iteration */
   97|      2|            continue;
   98|      4|        }
   99|  3.93k|        p += 4;
  100|  3.93k|    }
  101|    894|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 572, False: 322]
  ------------------
  102|    572|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 0, False: 572]
  ------------------
  103|      0|            if (mask == mask_limit) {
  ------------------
  |  Branch (103:17): [True: 0, False: 0]
  ------------------
  104|       |                /* Limit reached */
  105|      0|                return max_char_limit;
  106|      0|            }
  107|      0|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|      0|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (107:17): [True: 0, False: 0]
  ------------------
  108|      0|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  109|      0|                mask = MASK_UCS1;
  ------------------
  |  |   51|      0|#define MASK_UCS1 0xFFFFFF00
  ------------------
  110|      0|            }
  111|      0|            else {
  112|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
  113|      0|                assert(mask == MASK_UCS1);
  114|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
  115|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
  116|      0|            }
  117|       |            /* We check the new mask on the same chars in the next iteration */
  118|      0|            continue;
  119|      0|        }
  120|    572|        p++;
  121|    572|    }
  122|    322|    return max_char;
  123|    322|}

bytesobject.c:stringlib_bytes_join:
    9|   178k|{
   10|   178k|    const char *sepstr = STRINGLIB_STR(sep);
  ------------------
  |  |   20|   178k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|   178k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   178k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   178k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   11|   178k|    Py_ssize_t seplen = STRINGLIB_LEN(sep);
  ------------------
  |  |   21|   178k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|   178k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   178k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   178k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   12|   178k|    PyObject *res = NULL;
   13|   178k|    char *p;
   14|   178k|    Py_ssize_t seqlen = 0;
   15|   178k|    Py_ssize_t sz = 0;
   16|   178k|    Py_ssize_t i, nbufs;
   17|   178k|    PyObject *seq, *item;
   18|   178k|    Py_buffer *buffers = NULL;
   19|   178k|#define NB_STATIC_BUFFERS 10
   20|   178k|    Py_buffer static_buffers[NB_STATIC_BUFFERS];
   21|   178k|#define GIL_THRESHOLD 1048576
   22|   178k|    int drop_gil = 1;
   23|   178k|    PyThreadState *save = NULL;
   24|       |
   25|   178k|    seq = PySequence_Fast(iterable, "can only join an iterable");
   26|   178k|    if (seq == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 178k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|       |
   30|   178k|    seqlen = PySequence_Fast_GET_SIZE(seq);
  ------------------
  |  |   92|   178k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   178k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   178k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 178k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   178k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   178k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   178k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|   178k|    if (seqlen == 0) {
  ------------------
  |  Branch (31:9): [True: 0, False: 178k]
  ------------------
   32|      0|        Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|      0|        return STRINGLIB_NEW(NULL, 0);
  ------------------
  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
   34|      0|    }
   35|   178k|#if !STRINGLIB_MUTABLE
   36|   178k|    if (seqlen == 1) {
  ------------------
  |  Branch (36:9): [True: 45.3k, False: 133k]
  ------------------
   37|  45.3k|        item = PySequence_Fast_GET_ITEM(seq, 0);
  ------------------
  |  |   97|  45.3k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  45.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  45.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 45.3k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|  45.3k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  45.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   38|  45.3k|        if (STRINGLIB_CHECK_EXACT(item)) {
  ------------------
  |  |   24|  45.3k|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|  45.3k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  45.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  45.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 45.3k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|  45.3k|            Py_INCREF(item);
  ------------------
  |  |  310|  45.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  45.3k|            Py_DECREF(seq);
  ------------------
  |  |  430|  45.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|  45.3k|            return item;
   42|  45.3k|        }
   43|  45.3k|    }
   44|   133k|#endif
   45|   133k|    if (seqlen > NB_STATIC_BUFFERS) {
  ------------------
  |  |   19|   133k|#define NB_STATIC_BUFFERS 10
  ------------------
  |  Branch (45:9): [True: 13.6k, False: 119k]
  ------------------
   46|  13.6k|        buffers = PyMem_NEW(Py_buffer, seqlen);
  ------------------
  |  |   82|  13.6k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  13.6k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  13.6k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 13.6k]
  |  |  |  |  ------------------
  |  |  |  |   65|  13.6k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
   47|  13.6k|        if (buffers == NULL) {
  ------------------
  |  Branch (47:13): [True: 0, False: 13.6k]
  ------------------
   48|      0|            Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|      0|            PyErr_NoMemory();
   50|      0|            return NULL;
   51|      0|        }
   52|  13.6k|    }
   53|   119k|    else {
   54|   119k|        buffers = static_buffers;
   55|   119k|    }
   56|       |
   57|       |    /* Here is the general case.  Do a pre-pass to figure out the total
   58|       |     * amount of space we'll need (sz), and see whether all arguments are
   59|       |     * bytes-like.
   60|       |     */
   61|   579k|    for (i = 0, nbufs = 0; i < seqlen; i++) {
  ------------------
  |  Branch (61:28): [True: 446k, False: 133k]
  ------------------
   62|   446k|        Py_ssize_t itemlen;
   63|   446k|        item = PySequence_Fast_GET_ITEM(seq, i);
  ------------------
  |  |   97|   446k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|   446k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   446k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 446k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|   446k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   446k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|   446k|        if (PyBytes_CheckExact(item)) {
  ------------------
  |  |   29|   446k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|   446k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   446k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 444k, False: 1.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|       |            /* Fast path. */
   66|   444k|            buffers[i].obj = Py_NewRef(item);
  ------------------
  |  |  550|   444k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   444k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   444k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|   444k|            buffers[i].buf = PyBytes_AS_STRING(item);
  ------------------
  |  |   27|   444k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   444k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   444k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|   444k|            buffers[i].len = PyBytes_GET_SIZE(item);
  ------------------
  |  |   33|   444k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   444k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   444k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|   444k|        }
   70|  1.96k|        else {
   71|  1.96k|            if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  1.96k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (71:17): [True: 0, False: 1.96k]
  ------------------
   72|      0|                PyErr_Format(PyExc_TypeError,
   73|      0|                             "sequence item %zd: expected a bytes-like object, "
   74|      0|                             "%.80s found",
   75|      0|                             i, Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|      0|                goto error;
   77|      0|            }
   78|       |            /* If the backing objects are mutable, then dropping the GIL
   79|       |             * opens up race conditions where another thread tries to modify
   80|       |             * the object which we hold a buffer on it. Such code has data
   81|       |             * races anyway, but this is a conservative approach that avoids
   82|       |             * changing the behaviour of that data race.
   83|       |             */
   84|  1.96k|            drop_gil = 0;
   85|  1.96k|        }
   86|   446k|        nbufs = i + 1;  /* for error cleanup */
   87|   446k|        itemlen = buffers[i].len;
   88|   446k|        if (itemlen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|   446k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (88:13): [True: 0, False: 446k]
  ------------------
   89|      0|            PyErr_SetString(PyExc_OverflowError,
   90|      0|                            "join() result is too long");
   91|      0|            goto error;
   92|      0|        }
   93|   446k|        sz += itemlen;
   94|   446k|        if (i != 0) {
  ------------------
  |  Branch (94:13): [True: 312k, False: 133k]
  ------------------
   95|   312k|            if (seplen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|   312k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (95:17): [True: 0, False: 312k]
  ------------------
   96|      0|                PyErr_SetString(PyExc_OverflowError,
   97|      0|                                "join() result is too long");
   98|      0|                goto error;
   99|      0|            }
  100|   312k|            sz += seplen;
  101|   312k|        }
  102|   446k|        if (seqlen != PySequence_Fast_GET_SIZE(seq)) {
  ------------------
  |  |   92|   446k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   446k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   446k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 446k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   446k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   446k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (102:13): [True: 0, False: 446k]
  ------------------
  103|      0|            PyErr_SetString(PyExc_RuntimeError,
  104|      0|                            "sequence changed size during iteration");
  105|      0|            goto error;
  106|      0|        }
  107|   446k|    }
  108|       |
  109|       |    /* Allocate result space. */
  110|   133k|    res = STRINGLIB_NEW(NULL, sz);
  ------------------
  |  |   22|   133k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
  111|   133k|    if (res == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 133k]
  ------------------
  112|      0|        goto error;
  113|       |
  114|       |    /* Catenate everything. */
  115|   133k|    p = STRINGLIB_STR(res);
  ------------------
  |  |   20|   133k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|   133k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   133k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   133k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|   133k|    if (sz < GIL_THRESHOLD) {
  ------------------
  |  |   21|   133k|#define GIL_THRESHOLD 1048576
  ------------------
  |  Branch (116:9): [True: 133k, False: 0]
  ------------------
  117|   133k|        drop_gil = 0;   /* Benefits are likely outweighed by the overheads */
  118|   133k|    }
  119|   133k|    if (drop_gil) {
  ------------------
  |  Branch (119:9): [True: 0, False: 133k]
  ------------------
  120|      0|        save = PyEval_SaveThread();
  121|      0|    }
  122|   133k|    if (!seplen) {
  ------------------
  |  Branch (122:9): [True: 133k, False: 0]
  ------------------
  123|       |        /* fast path */
  124|   579k|        for (i = 0; i < nbufs; i++) {
  ------------------
  |  Branch (124:21): [True: 446k, False: 133k]
  ------------------
  125|   446k|            Py_ssize_t n = buffers[i].len;
  126|   446k|            char *q = buffers[i].buf;
  127|   446k|            memcpy(p, q, n);
  128|   446k|            p += n;
  129|   446k|        }
  130|   133k|    }
  131|      0|    else {
  132|      0|        for (i = 0; i < nbufs; i++) {
  ------------------
  |  Branch (132:21): [True: 0, False: 0]
  ------------------
  133|      0|            Py_ssize_t n;
  134|      0|            char *q;
  135|      0|            if (i) {
  ------------------
  |  Branch (135:17): [True: 0, False: 0]
  ------------------
  136|      0|                memcpy(p, sepstr, seplen);
  137|      0|                p += seplen;
  138|      0|            }
  139|      0|            n = buffers[i].len;
  140|      0|            q = buffers[i].buf;
  141|      0|            memcpy(p, q, n);
  142|      0|            p += n;
  143|      0|        }
  144|      0|    }
  145|   133k|    if (drop_gil) {
  ------------------
  |  Branch (145:9): [True: 0, False: 133k]
  ------------------
  146|      0|        PyEval_RestoreThread(save);
  147|      0|    }
  148|   133k|    goto done;
  149|       |
  150|      0|error:
  151|      0|    res = NULL;
  152|   133k|done:
  153|   133k|    Py_DECREF(seq);
  ------------------
  |  |  430|   133k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   133k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   133k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|   579k|    for (i = 0; i < nbufs; i++)
  ------------------
  |  Branch (154:17): [True: 446k, False: 133k]
  ------------------
  155|   446k|        PyBuffer_Release(&buffers[i]);
  156|   133k|    if (buffers != static_buffers)
  ------------------
  |  Branch (156:9): [True: 13.6k, False: 119k]
  ------------------
  157|  13.6k|        PyMem_Free(buffers);
  158|   133k|    return res;
  159|      0|}

unicodeobject.c:asciilib_partition:
   17|     84|{
   18|     84|    PyObject* out;
   19|     84|    Py_ssize_t pos;
   20|       |
   21|     84|    if (sep_len == 0) {
  ------------------
  |  Branch (21:9): [True: 0, False: 84]
  ------------------
   22|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
   23|      0|        return NULL;
   24|      0|    }
   25|       |
   26|     84|    out = PyTuple_New(3);
   27|     84|    if (!out)
  ------------------
  |  Branch (27:9): [True: 0, False: 84]
  ------------------
   28|      0|        return NULL;
   29|       |
   30|     84|    pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|     84|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|     84|#define FAST_SEARCH 1
  ------------------
   31|       |
   32|     84|    if (pos < 0) {
  ------------------
  |  Branch (32:9): [True: 72, False: 12]
  ------------------
   33|       |#if STRINGLIB_MUTABLE
   34|       |        PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len));
   35|       |        PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0));
   36|       |        PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0));
   37|       |
   38|       |        if (PyErr_Occurred()) {
   39|       |            Py_DECREF(out);
   40|       |            return NULL;
   41|       |        }
   42|       |#else
   43|     72|        Py_INCREF(str_obj);
  ------------------
  |  |  310|     72|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   44|     72|        PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj);
  ------------------
  |  |   40|     72|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|     72|        PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY();
  ------------------
  |  |  955|     72|#define STRINGLIB_GET_EMPTY() _PyUnicode_GetEmpty()
  ------------------
   46|     72|        assert(empty != NULL);
   47|     72|        Py_INCREF(empty);
  ------------------
  |  |  310|     72|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|     72|        PyTuple_SET_ITEM(out, 1, empty);
  ------------------
  |  |   40|     72|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|     72|        Py_INCREF(empty);
  ------------------
  |  |  310|     72|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|     72|        PyTuple_SET_ITEM(out, 2, empty);
  ------------------
  |  |   40|     72|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     72|#endif
   52|     72|        return out;
   53|     72|    }
   54|       |
   55|     12|    PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos));
  ------------------
  |  |   40|     12|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|     12|    Py_INCREF(sep_obj);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     12|    PyTuple_SET_ITEM(out, 1, sep_obj);
  ------------------
  |  |   40|     12|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|     12|    pos += sep_len;
   59|     12|    PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos));
  ------------------
  |  |   40|     12|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|       |
   61|     12|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (61:9): [True: 0, False: 12]
  ------------------
   62|      0|        Py_DECREF(out);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|      0|        return NULL;
   64|      0|    }
   65|       |
   66|     12|    return out;
   67|     12|}
unicodeobject.c:asciilib_rpartition:
   74|  3.13k|{
   75|  3.13k|    PyObject* out;
   76|  3.13k|    Py_ssize_t pos;
   77|       |
   78|  3.13k|    if (sep_len == 0) {
  ------------------
  |  Branch (78:9): [True: 0, False: 3.13k]
  ------------------
   79|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|  3.13k|    out = PyTuple_New(3);
   84|  3.13k|    if (!out)
  ------------------
  |  Branch (84:9): [True: 0, False: 3.13k]
  ------------------
   85|      0|        return NULL;
   86|       |
   87|  3.13k|    pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |    6|  3.13k|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |   26|  3.13k|#define FAST_RSEARCH 2
  ------------------
   88|       |
   89|  3.13k|    if (pos < 0) {
  ------------------
  |  Branch (89:9): [True: 1.01k, False: 2.12k]
  ------------------
   90|       |#if STRINGLIB_MUTABLE
   91|       |        PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(NULL, 0));
   92|       |        PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0));
   93|       |        PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str, str_len));
   94|       |
   95|       |        if (PyErr_Occurred()) {
   96|       |            Py_DECREF(out);
   97|       |            return NULL;
   98|       |        }
   99|       |#else
  100|  1.01k|        PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY();
  ------------------
  |  |  955|  1.01k|#define STRINGLIB_GET_EMPTY() _PyUnicode_GetEmpty()
  ------------------
  101|  1.01k|        assert(empty != NULL);
  102|  1.01k|        Py_INCREF(empty);
  ------------------
  |  |  310|  1.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|  1.01k|        PyTuple_SET_ITEM(out, 0, empty);
  ------------------
  |  |   40|  1.01k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|  1.01k|        Py_INCREF(empty);
  ------------------
  |  |  310|  1.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|  1.01k|        PyTuple_SET_ITEM(out, 1, empty);
  ------------------
  |  |   40|  1.01k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  1.01k|        Py_INCREF(str_obj);
  ------------------
  |  |  310|  1.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|  1.01k|        PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj);
  ------------------
  |  |   40|  1.01k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  1.01k|#endif
  109|  1.01k|        return out;
  110|  1.01k|    }
  111|       |
  112|  2.12k|    PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos));
  ------------------
  |  |   40|  2.12k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|  2.12k|    Py_INCREF(sep_obj);
  ------------------
  |  |  310|  2.12k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  2.12k|    PyTuple_SET_ITEM(out, 1, sep_obj);
  ------------------
  |  |   40|  2.12k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|  2.12k|    pos += sep_len;
  116|  2.12k|    PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos));
  ------------------
  |  |   40|  2.12k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|       |
  118|  2.12k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (118:9): [True: 0, False: 2.12k]
  ------------------
  119|      0|        Py_DECREF(out);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|  2.12k|    return out;
  124|  2.12k|}

unicodeobject.c:ucs1lib_replace_1char_inplace:
   10|     14|{
   11|     14|    *s = u2;
   12|     26|    while (--maxcount && ++s != end) {
  ------------------
  |  Branch (12:12): [True: 26, False: 0]
  |  Branch (12:26): [True: 26, False: 0]
  ------------------
   13|       |        /* Find the next character to be replaced.
   14|       |
   15|       |           If it occurs often, it is faster to scan for it using an inline
   16|       |           loop.  If it occurs seldom, it is faster to scan for it using a
   17|       |           function call; the overhead of the function call is amortized
   18|       |           across the many characters that call covers.  We start with an
   19|       |           inline loop and use a heuristic to determine whether to fall back
   20|       |           to a function call. */
   21|     26|        if (*s != u1) {
  ------------------
  |  Branch (21:13): [True: 26, False: 0]
  ------------------
   22|     26|            int attempts = 10;
   23|       |            /* search u1 in a dummy loop */
   24|    204|            while (1) {
  ------------------
  |  Branch (24:20): [True: 204, Folded]
  ------------------
   25|    204|                if (++s == end)
  ------------------
  |  Branch (25:21): [True: 10, False: 194]
  ------------------
   26|     10|                    return;
   27|    194|                if (*s == u1)
  ------------------
  |  Branch (27:21): [True: 8, False: 186]
  ------------------
   28|      8|                    break;
   29|    186|                if (!--attempts) {
  ------------------
  |  Branch (29:21): [True: 8, False: 178]
  ------------------
   30|       |                    /* if u1 was not found for attempts iterations,
   31|       |                       use FASTSEARCH() or memchr() */
   32|      8|#ifdef STRINGLIB_FAST_MEMCHR
   33|      8|                    s++;
   34|      8|                    s = STRINGLIB_FAST_MEMCHR(s, u1, end - s);
  ------------------
  |  |   23|      8|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   35|      8|                    if (s == NULL)
  ------------------
  |  Branch (35:25): [True: 4, False: 4]
  ------------------
   36|      4|                        return;
   37|       |#else
   38|       |                    Py_ssize_t i;
   39|       |                    STRINGLIB_CHAR ch1 = (STRINGLIB_CHAR) u1;
   40|       |                    s++;
   41|       |                    i = FASTSEARCH(s, end - s, &ch1, 1, 0, FAST_SEARCH);
   42|       |                    if (i < 0)
   43|       |                        return;
   44|       |                    s += i;
   45|       |#endif
   46|       |                    /* restart the dummy loop */
   47|      4|                    break;
   48|      8|                }
   49|    186|            }
   50|     26|        }
   51|     12|        *s = u2;
   52|     12|    }
   53|     14|}

unicodeobject.c:asciilib_splitlines:
  339|      8|{
  340|       |    /* This does not use the preallocated list because splitlines is
  341|       |       usually run with hundreds of newlines.  The overhead of
  342|       |       switching between PyList_SET_ITEM and append causes about a
  343|       |       2-3% slowdown for that common case.  A smarter implementation
  344|       |       could move the if check out, so the SET_ITEMs are done first
  345|       |       and the appends only done when the prealloc buffer is full.
  346|       |       That's too much work for little gain.*/
  347|       |
  348|      8|    Py_ssize_t i;
  349|      8|    Py_ssize_t j;
  350|      8|    PyObject *list = PyList_New(0);
  351|      8|    PyObject *sub;
  352|       |
  353|      8|    if (list == NULL)
  ------------------
  |  Branch (353:9): [True: 0, False: 8]
  ------------------
  354|      0|        return NULL;
  355|       |
  356|     58|    for (i = j = 0; i < str_len; ) {
  ------------------
  |  Branch (356:21): [True: 50, False: 8]
  ------------------
  357|     50|        Py_ssize_t eol;
  358|       |
  359|       |        /* Find a line and append it */
  360|  1.75k|        while (i < str_len && !STRINGLIB_ISLINEBREAK(str[i]))
  ------------------
  |  |   15|  1.75k|#define STRINGLIB_ISLINEBREAK    BLOOM_LINEBREAK
  |  |  ------------------
  |  |  |  |  912|  1.75k|    ((ch) < 128U ? ascii_linebreak[(ch)] :                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (912:6): [True: 1.75k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  913|  1.75k|     (BLOOM(bloom_linebreak, (ch)) && Py_UNICODE_ISLINEBREAK(ch)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  909|      0|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  898|      0|#define BLOOM_WIDTH 64
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (909:29): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    (BLOOM(bloom_linebreak, (ch)) && Py_UNICODE_ISLINEBREAK(ch)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:36): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (360:16): [True: 1.75k, False: 0]
  |  Branch (360:31): [True: 1.70k, False: 50]
  ------------------
  361|  1.70k|            i++;
  362|       |
  363|       |        /* Skip the line break reading CRLF as one line break */
  364|     50|        eol = i;
  365|     50|        if (i < str_len) {
  ------------------
  |  Branch (365:13): [True: 50, False: 0]
  ------------------
  366|     50|            if (str[i] == '\r' && i + 1 < str_len && str[i+1] == '\n')
  ------------------
  |  Branch (366:17): [True: 0, False: 50]
  |  Branch (366:35): [True: 0, False: 0]
  |  Branch (366:54): [True: 0, False: 0]
  ------------------
  367|      0|                i += 2;
  368|     50|            else
  369|     50|                i++;
  370|     50|            if (keepends)
  ------------------
  |  Branch (370:17): [True: 0, False: 50]
  ------------------
  371|      0|                eol = i;
  372|     50|        }
  373|     50|#if !STRINGLIB_MUTABLE
  374|     50|        if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:13): [True: 6, False: 44]
  |  Branch (374:23): [True: 0, False: 6]
  ------------------
  375|       |            /* No linebreak in str_obj, so just use it as list[0] */
  376|      0|            if (PyList_Append(list, str_obj))
  ------------------
  |  Branch (376:17): [True: 0, False: 0]
  ------------------
  377|      0|                goto onError;
  378|      0|            break;
  379|      0|        }
  380|     50|#endif
  381|    100|        SPLIT_APPEND(str, j, eol);
  ------------------
  |  |   21|     50|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     50|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   22|     50|                        (right) - (left));      \
  |  |   23|     50|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (23:9): [True: 0, False: 50]
  |  |  ------------------
  |  |   24|     50|        goto onError;                           \
  |  |   25|     50|    if (PyList_Append(list, sub)) {             \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 50]
  |  |  ------------------
  |  |   26|      0|        Py_DECREF(sub);                         \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   27|      0|        goto onError;                           \
  |  |   28|      0|    }                                           \
  |  |   29|     50|    else                                        \
  |  |   30|     50|        Py_DECREF(sub);
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|     50|        j = i;
  383|     50|    }
  384|      8|    return list;
  385|       |
  386|      0|  onError:
  387|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|       |    return NULL;
  389|      8|}
unicodeobject.c:asciilib_split_whitespace:
   57|     54|{
   58|     54|    Py_ssize_t i, j, count=0;
   59|     54|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|     54|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|    108|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|     36|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 36, False: 18]
  |  |  ------------------
  ------------------
   60|     54|    PyObject *sub;
   61|       |
   62|     54|    if (list == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 54]
  ------------------
   63|      0|        return NULL;
   64|       |
   65|     54|    i = j = 0;
   66|    456|    while (maxcount-- > 0) {
  ------------------
  |  Branch (66:12): [True: 454, False: 2]
  ------------------
   67|    822|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|    770|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (67:16): [True: 770, False: 52]
  |  Branch (67:31): [True: 368, False: 402]
  ------------------
   68|    368|            i++;
   69|    454|        if (i == str_len) break;
  ------------------
  |  Branch (69:13): [True: 52, False: 402]
  ------------------
   70|    402|        j = i; i++;
   71|  2.39k|        while (i < str_len && !STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|  2.33k|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (71:16): [True: 2.33k, False: 52]
  |  Branch (71:31): [True: 1.98k, False: 350]
  ------------------
   72|  1.98k|            i++;
   73|    402|#if !STRINGLIB_MUTABLE
   74|    402|        if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (74:13): [True: 54, False: 348]
  |  Branch (74:23): [True: 0, False: 54]
  ------------------
   75|       |            /* No whitespace in str_obj, so just use it as list[0] */
   76|      0|            Py_INCREF(str_obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      0|            PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|      0|            count++;
   79|      0|            break;
   80|      0|        }
   81|    402|#endif
   82|  1.20k|        SPLIT_ADD(str, j, i);
  ------------------
  |  |   32|    402|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|    402|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    402|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|    402|                        (right) - (left));      \
  |  |   35|    402|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 402]
  |  |  ------------------
  |  |   36|    402|        goto onError;                           \
  |  |   37|    402|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|    402|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 274, False: 128]
  |  |  ------------------
  |  |   38|    274|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    274|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|    274|    } else {                                    \
  |  |   40|    128|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 128]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|    128|        else                                    \
  |  |   45|    128|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|    128|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|    128|    }                                           \
  |  |   47|    402|    count++; }
  ------------------
   83|  1.20k|    }
   84|       |
   85|     54|    if (i < str_len) {
  ------------------
  |  Branch (85:9): [True: 2, False: 52]
  ------------------
   86|       |        /* Only occurs when maxcount was reached */
   87|       |        /* Skip any remaining whitespace and copy to end of string */
   88|      4|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|      4|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (88:16): [True: 4, False: 0]
  |  Branch (88:31): [True: 2, False: 2]
  ------------------
   89|      2|            i++;
   90|      2|        if (i != str_len)
  ------------------
  |  Branch (90:13): [True: 2, False: 0]
  ------------------
   91|      2|            SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|      2|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      2|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      2|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      2|                        (right) - (left));      \
  |  |   35|      2|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   36|      2|        goto onError;                           \
  |  |   37|      2|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      2|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 2, False: 0]
  |  |  ------------------
  |  |   38|      2|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      2|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|      2|    count++; }
  ------------------
   92|      2|    }
   93|     54|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|     54|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|     54|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|     54|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|     54|    return list;
   95|       |
   96|      0|  onError:
   97|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|       |    return NULL;
   99|     54|}
unicodeobject.c:asciilib_split:
  149|  1.34k|{
  150|  1.34k|    Py_ssize_t i, j, pos, count=0;
  151|  1.34k|    PyObject *list, *sub;
  152|       |
  153|  1.34k|    if (sep_len == 0) {
  ------------------
  |  Branch (153:9): [True: 0, False: 1.34k]
  ------------------
  154|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  155|      0|        return NULL;
  156|      0|    }
  157|  1.34k|    else if (sep_len == 1)
  ------------------
  |  Branch (157:14): [True: 1.34k, False: 0]
  ------------------
  158|  1.34k|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|  1.34k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  159|       |
  160|      0|    list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|      0|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  161|      0|    if (list == NULL)
  ------------------
  |  Branch (161:9): [True: 0, False: 0]
  ------------------
  162|      0|        return NULL;
  163|       |
  164|      0|    i = j = 0;
  165|      0|    while (maxcount-- > 0) {
  ------------------
  |  Branch (165:12): [True: 0, False: 0]
  ------------------
  166|      0|        pos = FASTSEARCH(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|      0|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                      pos = FASTSEARCH(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  167|      0|        if (pos < 0)
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|            break;
  169|      0|        j = i + pos;
  170|      0|        SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      0|                        (right) - (left));      \
  |  |   35|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      0|        goto onError;                           \
  |  |   37|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   38|      0|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      0|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|      0|    count++; }
  ------------------
  171|      0|        i = j + sep_len;
  172|      0|    }
  173|      0|#if !STRINGLIB_MUTABLE
  174|      0|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (174:9): [True: 0, False: 0]
  ------------------
  175|       |        /* No match in str_obj, so just use it as list[0] */
  176|      0|        Py_INCREF(str_obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|      0|        count++;
  179|      0|    } else
  180|      0|#endif
  181|      0|    {
  182|      0|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      0|                        (right) - (left));      \
  |  |   35|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      0|        goto onError;                           \
  |  |   37|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   38|      0|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      0|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|      0|    count++; }
  ------------------
  183|      0|    }
  184|      0|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|      0|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      0|    return list;
  186|       |
  187|      0|  onError:
  188|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |    return NULL;
  190|      0|}
unicodeobject.c:asciilib_split_char:
  106|  1.34k|{
  107|  1.34k|    Py_ssize_t i, j, count=0;
  108|  1.34k|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|  1.34k|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  2.68k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  1.14k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 1.14k, False: 198]
  |  |  ------------------
  ------------------
  109|  1.34k|    PyObject *sub;
  110|       |
  111|  1.34k|    if (list == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 1.34k]
  ------------------
  112|      0|        return NULL;
  113|       |
  114|  1.34k|    i = j = 0;
  115|  8.84k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (115:12): [True: 7.52k, False: 1.32k]
  |  Branch (115:29): [True: 7.50k, False: 20]
  ------------------
  116|  86.7k|        for(; j < str_len; j++) {
  ------------------
  |  Branch (116:15): [True: 85.4k, False: 1.25k]
  ------------------
  117|       |            /* I found that using memchr makes no difference */
  118|  85.4k|            if (str[j] == ch) {
  ------------------
  |  Branch (118:17): [True: 6.25k, False: 79.2k]
  ------------------
  119|  6.25k|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|  6.25k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|  6.25k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|  6.25k|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|  6.25k|                        (right) - (left));      \
  |  |   35|  6.25k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 6.25k]
  |  |  ------------------
  |  |   36|  6.25k|        goto onError;                           \
  |  |   37|  6.25k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|  6.25k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 6.19k, False: 58]
  |  |  ------------------
  |  |   38|  6.19k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  6.19k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|  6.19k|    } else {                                    \
  |  |   40|     58|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 58]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|     58|        else                                    \
  |  |   45|     58|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|     58|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|     58|    }                                           \
  |  |   47|  6.25k|    count++; }
  ------------------
  120|  6.25k|                i = j = j + 1;
  121|  6.25k|                break;
  122|  6.25k|            }
  123|  85.4k|        }
  124|  7.50k|    }
  125|  1.34k|#if !STRINGLIB_MUTABLE
  126|  1.34k|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|     22|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|     22|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 22, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 22, False: 1.31k]
  ------------------
  127|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  128|     22|        Py_INCREF(str_obj);
  ------------------
  |  |  310|     22|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|     22|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|     22|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|     22|        count++;
  131|     22|    } else
  132|  1.31k|#endif
  133|  1.31k|    if (i <= str_len) {
  ------------------
  |  Branch (133:9): [True: 1.31k, False: 0]
  ------------------
  134|  2.63k|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|  1.31k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|  1.31k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|  1.31k|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|  1.31k|                        (right) - (left));      \
  |  |   35|  1.31k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |   36|  1.31k|        goto onError;                           \
  |  |   37|  1.31k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|  1.31k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 1.31k, False: 2]
  |  |  ------------------
  |  |   38|  1.31k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  1.31k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|  1.31k|    } else {                                    \
  |  |   40|      2|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      2|        else                                    \
  |  |   45|      2|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      2|    }                                           \
  |  |   47|  1.31k|    count++; }
  ------------------
  135|  2.63k|    }
  136|  1.34k|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|  1.34k|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|  1.34k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|  1.34k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  1.34k|    return list;
  138|       |
  139|      0|  onError:
  140|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|       |    return NULL;
  142|  1.34k|}
unicodeobject.c:asciilib_rsplit:
  291|     14|{
  292|     14|    Py_ssize_t j, pos, count=0;
  293|     14|    PyObject *list, *sub;
  294|       |
  295|     14|    if (sep_len == 0) {
  ------------------
  |  Branch (295:9): [True: 0, False: 14]
  ------------------
  296|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  297|      0|        return NULL;
  298|      0|    }
  299|     14|    else if (sep_len == 1)
  ------------------
  |  Branch (299:14): [True: 14, False: 0]
  ------------------
  300|     14|        return STRINGLIB(rsplit_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|     14|#define STRINGLIB(F)             asciilib_##F
  ------------------
  301|       |
  302|      0|    list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|      0|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  303|      0|    if (list == NULL)
  ------------------
  |  Branch (303:9): [True: 0, False: 0]
  ------------------
  304|      0|        return NULL;
  305|       |
  306|      0|    j = str_len;
  307|      0|    while (maxcount-- > 0) {
  ------------------
  |  Branch (307:12): [True: 0, False: 0]
  ------------------
  308|      0|        pos = FASTSEARCH(str, j, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |    6|      0|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                      pos = FASTSEARCH(str, j, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  309|      0|        if (pos < 0)
  ------------------
  |  Branch (309:13): [True: 0, False: 0]
  ------------------
  310|      0|            break;
  311|      0|        SPLIT_ADD(str, pos + sep_len, j);
  ------------------
  |  |   32|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      0|                        (right) - (left));      \
  |  |   35|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      0|        goto onError;                           \
  |  |   37|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   38|      0|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      0|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|      0|    count++; }
  ------------------
  312|      0|        j = pos;
  313|      0|    }
  314|      0|#if !STRINGLIB_MUTABLE
  315|      0|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (315:9): [True: 0, False: 0]
  ------------------
  316|       |        /* No match in str_obj, so just use it as list[0] */
  317|      0|        Py_INCREF(str_obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|      0|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|        count++;
  320|      0|    } else
  321|      0|#endif
  322|      0|    {
  323|      0|        SPLIT_ADD(str, 0, j);
  ------------------
  |  |   32|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|      0|                        (right) - (left));      \
  |  |   35|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      0|        goto onError;                           \
  |  |   37|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   38|      0|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|      0|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|      0|    count++; }
  ------------------
  324|      0|    }
  325|      0|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|      0|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  326|      0|    if (PyList_Reverse(list) < 0)
  ------------------
  |  Branch (326:9): [True: 0, False: 0]
  ------------------
  327|      0|        goto onError;
  328|      0|    return list;
  329|       |
  330|      0|  onError:
  331|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|       |    return NULL;
  333|      0|}
unicodeobject.c:asciilib_rsplit_char:
  247|     14|{
  248|     14|    Py_ssize_t i, j, count=0;
  249|     14|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|     14|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|     28|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  250|     14|    PyObject *sub;
  251|       |
  252|     14|    if (list == NULL)
  ------------------
  |  Branch (252:9): [True: 0, False: 14]
  ------------------
  253|      0|        return NULL;
  254|       |
  255|     14|    i = j = str_len - 1;
  256|     28|    while ((i >= 0) && (maxcount-- > 0)) {
  ------------------
  |  Branch (256:12): [True: 28, False: 0]
  |  Branch (256:24): [True: 14, False: 14]
  ------------------
  257|     50|        for(; i >= 0; i--) {
  ------------------
  |  Branch (257:15): [True: 50, False: 0]
  ------------------
  258|     50|            if (str[i] == ch) {
  ------------------
  |  Branch (258:17): [True: 14, False: 36]
  ------------------
  259|     14|                SPLIT_ADD(str, i + 1, j + 1);
  ------------------
  |  |   32|     14|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|     14|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     14|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|     14|                        (right) - (left));      \
  |  |   35|     14|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 14]
  |  |  ------------------
  |  |   36|     14|        goto onError;                           \
  |  |   37|     14|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|     14|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 14, False: 0]
  |  |  ------------------
  |  |   38|     14|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     14|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|     14|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|     14|    count++; }
  ------------------
  260|     14|                j = i = i - 1;
  261|     14|                break;
  262|     14|            }
  263|     50|        }
  264|     14|    }
  265|     14|#if !STRINGLIB_MUTABLE
  266|     14|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (266:9): [True: 0, False: 14]
  ------------------
  267|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  268|      0|        Py_INCREF(str_obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|      0|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|      0|        count++;
  271|      0|    } else
  272|     14|#endif
  273|     14|    if (j >= -1) {
  ------------------
  |  Branch (273:9): [True: 14, False: 0]
  ------------------
  274|     28|        SPLIT_ADD(str, 0, j + 1);
  ------------------
  |  |   32|     14|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|     14|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|     14|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|     14|                        (right) - (left));      \
  |  |   35|     14|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 14]
  |  |  ------------------
  |  |   36|     14|        goto onError;                           \
  |  |   37|     14|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|     14|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 14, False: 0]
  |  |  ------------------
  |  |   38|     14|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|     14|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|     14|    } else {                                    \
  |  |   40|      0|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   42|      0|            goto onError;                       \
  |  |   43|      0|        }                                       \
  |  |   44|      0|        else                                    \
  |  |   45|      0|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|      0|    }                                           \
  |  |   47|     14|    count++; }
  ------------------
  275|     28|    }
  276|     14|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|     14|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|     14|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|     14|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|     14|    if (PyList_Reverse(list) < 0)
  ------------------
  |  Branch (277:9): [True: 0, False: 14]
  ------------------
  278|      0|        goto onError;
  279|     14|    return list;
  280|       |
  281|      0|  onError:
  282|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|       |    return NULL;
  284|     14|}

bytesobject.c:return_self:
   17|     50|{
   18|     50|#if !STRINGLIB_MUTABLE
   19|     50|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|     50|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|     50|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     50|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 50, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     50|        return Py_NewRef(self);
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|     50|    }
   22|      0|#endif
   23|      0|    return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self));
  ------------------
  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
                  return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self));
  ------------------
  |  |   20|      0|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self));
  ------------------
  |  |   21|      0|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   24|     50|}
bytesobject.c:stringlib_replace:
  682|     50|{
  683|     50|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|     50|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     50|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:9): [True: 0, False: 50]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|     50|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 50, False: 0]
  ------------------
  688|     50|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     50|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|     50|    } else if (maxcount == 0) {
  ------------------
  |  Branch (689:16): [True: 0, False: 0]
  ------------------
  690|       |        /* nothing to do; return the original bytes */
  691|      0|        return return_self(self);
  692|      0|    }
  693|       |
  694|       |    /* Handle zero-length special cases */
  695|     50|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 50]
  ------------------
  696|      0|        if (to_len == 0) {
  ------------------
  |  Branch (696:13): [True: 0, False: 0]
  ------------------
  697|       |            /* nothing to do; return the original bytes */
  698|      0|            return return_self(self);
  699|      0|        }
  700|       |        /* insert the 'to' bytes everywhere.    */
  701|       |        /*    >>> b"Python".replace(b"", b".")  */
  702|       |        /*    b'.P.y.t.h.o.n.'                  */
  703|      0|        return stringlib_replace_interleave(self, to_s, to_len, maxcount);
  704|      0|    }
  705|       |
  706|     50|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 50]
  ------------------
  707|       |        /* delete all occurrences of 'from' bytes */
  708|      0|        if (from_len == 1) {
  ------------------
  |  Branch (708:13): [True: 0, False: 0]
  ------------------
  709|      0|            return stringlib_replace_delete_single_character(
  710|      0|                self, from_s[0], maxcount);
  711|      0|        } else {
  712|      0|            return stringlib_replace_delete_substring(
  713|      0|                self, from_s, from_len, maxcount);
  714|      0|        }
  715|      0|    }
  716|       |
  717|       |    /* Handle special case where both bytes have the same length */
  718|       |
  719|     50|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 50, False: 0]
  ------------------
  720|     50|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 50, False: 0]
  ------------------
  721|     50|            return stringlib_replace_single_character_in_place(
  722|     50|                self, from_s[0], to_s[0], maxcount);
  723|     50|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|     50|    }
  728|       |
  729|       |    /* Otherwise use the more generic algorithms */
  730|      0|    if (from_len == 1) {
  ------------------
  |  Branch (730:9): [True: 0, False: 0]
  ------------------
  731|      0|        return stringlib_replace_single_character(
  732|      0|            self, from_s[0], to_s, to_len, maxcount);
  733|      0|    } else {
  734|       |        /* len('from')>=2, len('to')>=1 */
  735|      0|        return stringlib_replace_substring(
  736|      0|            self, from_s, from_len, to_s, to_len, maxcount);
  737|      0|    }
  738|      0|}
bytesobject.c:stringlib_replace_single_character_in_place:
  449|     50|{
  450|     50|    const char *self_s, *end;
  451|     50|    char *result_s, *start, *next;
  452|     50|    Py_ssize_t self_len;
  453|     50|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|     50|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|     50|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|     50|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|     50|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|     50|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     50|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|     50|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|     50|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|     50|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 50, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|     50|        return return_self(self);
  464|     50|    }
  465|       |
  466|       |    /* Need to make a new bytes */
  467|      0|    result = STRINGLIB_NEW(NULL, self_len);
  ------------------
  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
  468|      0|    if (result == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 0]
  ------------------
  469|      0|        return NULL;
  470|      0|    }
  471|      0|    result_s = STRINGLIB_STR(result);
  ------------------
  |  |   20|      0|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|      0|    memcpy(result_s, self_s, self_len);
  473|       |
  474|       |    /* change everything in-place, starting with this one */
  475|      0|    start =  result_s + (next - self_s);
  476|      0|    *start = to_c;
  477|      0|    start++;
  478|      0|    end = result_s + self_len;
  479|       |
  480|      0|    while (--maxcount > 0) {
  ------------------
  |  Branch (480:12): [True: 0, False: 0]
  ------------------
  481|      0|        next = findchar(start, end - start, from_c);
  ------------------
  |  |  254|      0|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  482|      0|        if (next == NULL)
  ------------------
  |  Branch (482:13): [True: 0, False: 0]
  ------------------
  483|      0|            break;
  484|      0|        *next = to_c;
  485|      0|        start = next + 1;
  486|      0|    }
  487|       |
  488|      0|    return result;
  489|      0|}

unicodeobject.c:do_string_format:
  943|  9.75k|{
  944|  9.75k|    SubString input;
  945|       |
  946|       |    /* PEP 3101 says only 2 levels, so that
  947|       |       "{0:{1}}".format('abc', 's')            # works
  948|       |       "{0:{1:{2}}}".format('abc', 's', '')    # fails
  949|       |    */
  950|  9.75k|    int recursion_depth = 2;
  951|       |
  952|  9.75k|    AutoNumber auto_number;
  953|  9.75k|    AutoNumber_Init(&auto_number);
  954|  9.75k|    SubString_init(&input, self, 0, PyUnicode_GET_LENGTH(self));
  ------------------
  |  |  299|  9.75k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|  9.75k|    return build_string(&input, args, kwargs, recursion_depth, &auto_number);
  956|  9.75k|}
unicodeobject.c:AutoNumber_Init:
   49|  9.75k|{
   50|  9.75k|    auto_number->an_state = ANS_INIT;
   51|  9.75k|    auto_number->an_field_number = 0;
   52|  9.75k|}
unicodeobject.c:SubString_init:
   57|   263k|{
   58|   263k|    str->str = s;
   59|   263k|    str->start = start;
   60|   263k|    str->end = end;
   61|   263k|}
unicodeobject.c:build_string:
  913|  9.75k|{
  914|  9.75k|    _PyUnicodeWriter writer;
  915|       |
  916|       |    /* check the recursion level */
  917|  9.75k|    if (recursion_depth <= 0) {
  ------------------
  |  Branch (917:9): [True: 0, False: 9.75k]
  ------------------
  918|      0|        PyErr_SetString(PyExc_ValueError,
  919|      0|                        "Max string recursion exceeded");
  920|      0|        return NULL;
  921|      0|    }
  922|       |
  923|  9.75k|    _PyUnicodeWriter_Init(&writer);
  924|  9.75k|    writer.overallocate = 1;
  925|  9.75k|    writer.min_length = PyUnicode_GET_LENGTH(input->str) + 100;
  ------------------
  |  |  299|  9.75k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|       |
  927|  9.75k|    if (!do_markup(input, args, kwargs, &writer, recursion_depth,
  ------------------
  |  Branch (927:9): [True: 0, False: 9.75k]
  ------------------
  928|  9.75k|                   auto_number)) {
  929|      0|        _PyUnicodeWriter_Dealloc(&writer);
  930|      0|        return NULL;
  931|      0|    }
  932|       |
  933|  9.75k|    return _PyUnicodeWriter_Finish(&writer);
  934|  9.75k|}
unicodeobject.c:do_markup:
  870|  9.75k|{
  871|  9.75k|    MarkupIterator iter;
  872|  9.75k|    int format_spec_needs_expanding;
  873|  9.75k|    int result;
  874|  9.75k|    int field_present;
  875|  9.75k|    SubString literal;
  876|  9.75k|    SubString field_name;
  877|  9.75k|    SubString format_spec;
  878|  9.75k|    Py_UCS4 conversion;
  879|       |
  880|  9.75k|    MarkupIterator_init(&iter, input->str, input->start, input->end);
  881|  49.5k|    while ((result = MarkupIterator_next(&iter, &literal, &field_present,
  ------------------
  |  Branch (881:12): [True: 39.8k, False: 9.75k]
  ------------------
  882|  49.5k|                                         &field_name, &format_spec,
  883|  49.5k|                                         &conversion,
  884|  49.5k|                                         &format_spec_needs_expanding)) == 2) {
  885|  39.8k|        if (literal.end != literal.start) {
  ------------------
  |  Branch (885:13): [True: 32.9k, False: 6.89k]
  ------------------
  886|  32.9k|            if (!field_present && iter.str.start == iter.str.end)
  ------------------
  |  Branch (886:17): [True: 8.16k, False: 24.7k]
  |  Branch (886:35): [True: 8.16k, False: 0]
  ------------------
  887|  8.16k|                writer->overallocate = 0;
  888|  32.9k|            if (_PyUnicodeWriter_WriteSubstring(writer, literal.str,
  ------------------
  |  Branch (888:17): [True: 0, False: 32.9k]
  ------------------
  889|  32.9k|                                                literal.start, literal.end) < 0)
  890|      0|                return 0;
  891|  32.9k|        }
  892|       |
  893|  39.8k|        if (field_present) {
  ------------------
  |  Branch (893:13): [True: 31.6k, False: 8.16k]
  ------------------
  894|  31.6k|            if (iter.str.start == iter.str.end)
  ------------------
  |  Branch (894:17): [True: 1.59k, False: 30.0k]
  ------------------
  895|  1.59k|                writer->overallocate = 0;
  896|  31.6k|            if (!output_markup(&field_name, &format_spec,
  ------------------
  |  Branch (896:17): [True: 0, False: 31.6k]
  ------------------
  897|  31.6k|                               format_spec_needs_expanding, conversion, writer,
  898|  31.6k|                               args, kwargs, recursion_depth, auto_number))
  899|      0|                return 0;
  900|  31.6k|        }
  901|  39.8k|    }
  902|  9.75k|    return result;
  903|  9.75k|}
unicodeobject.c:MarkupIterator_init:
  668|  9.75k|{
  669|  9.75k|    SubString_init(&self->str, str, start, end);
  670|  9.75k|    return 1;
  671|  9.75k|}
unicodeobject.c:MarkupIterator_next:
  680|  49.5k|{
  681|  49.5k|    int at_end;
  682|  49.5k|    Py_UCS4 c = 0;
  683|  49.5k|    Py_ssize_t start;
  684|  49.5k|    Py_ssize_t len;
  685|  49.5k|    int markup_follows = 0;
  686|       |
  687|       |    /* initialize all of the output variables */
  688|  49.5k|    SubString_init(literal, NULL, 0, 0);
  689|  49.5k|    SubString_init(field_name, NULL, 0, 0);
  690|  49.5k|    SubString_init(format_spec, NULL, 0, 0);
  691|  49.5k|    *conversion = '\0';
  692|  49.5k|    *format_spec_needs_expanding = 0;
  693|  49.5k|    *field_present = 0;
  694|       |
  695|       |    /* No more input, end of iterator.  This is the normal exit
  696|       |       path. */
  697|  49.5k|    if (self->str.start >= self->str.end)
  ------------------
  |  Branch (697:9): [True: 9.75k, False: 39.8k]
  ------------------
  698|  9.75k|        return 1;
  699|       |
  700|  39.8k|    start = self->str.start;
  701|       |
  702|       |    /* First read any literal text. Read until the end of string, an
  703|       |       escaped '{' or '}', or an unescaped '{'.  In order to never
  704|       |       allocate memory and so I can just pass pointers around, if
  705|       |       there's an escaped '{' or '}' then we'll return the literal
  706|       |       including the brace, but no format object.  The next time
  707|       |       through, we'll return the rest of the literal, skipping past
  708|       |       the second consecutive brace. */
  709|   478k|    while (self->str.start < self->str.end) {
  ------------------
  |  Branch (709:12): [True: 470k, False: 8.16k]
  ------------------
  710|   470k|        switch (c = PyUnicode_READ_CHAR(self->str.str, self->str.start++)) {
  ------------------
  |  |  381|   470k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   470k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  711|  31.6k|        case '{':
  ------------------
  |  Branch (711:9): [True: 31.6k, False: 438k]
  ------------------
  712|  31.6k|        case '}':
  ------------------
  |  Branch (712:9): [True: 0, False: 470k]
  ------------------
  713|  31.6k|            markup_follows = 1;
  714|  31.6k|            break;
  715|   438k|        default:
  ------------------
  |  Branch (715:9): [True: 438k, False: 31.6k]
  ------------------
  716|   438k|            continue;
  717|   470k|        }
  718|  31.6k|        break;
  719|   470k|    }
  720|       |
  721|  39.8k|    at_end = self->str.start >= self->str.end;
  722|  39.8k|    len = self->str.start - start;
  723|       |
  724|  39.8k|    if ((c == '}') && (at_end ||
  ------------------
  |  Branch (724:9): [True: 0, False: 39.8k]
  |  Branch (724:24): [True: 0, False: 0]
  ------------------
  725|      0|                       (c != PyUnicode_READ_CHAR(self->str.str,
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (725:24): [True: 0, False: 0]
  ------------------
  726|      0|                                                 self->str.start)))) {
  727|      0|        PyErr_SetString(PyExc_ValueError, "Single '}' encountered "
  728|      0|                        "in format string");
  729|      0|        return 0;
  730|      0|    }
  731|  39.8k|    if (at_end && c == '{') {
  ------------------
  |  Branch (731:9): [True: 8.16k, False: 31.6k]
  |  Branch (731:19): [True: 0, False: 8.16k]
  ------------------
  732|      0|        PyErr_SetString(PyExc_ValueError, "Single '{' encountered "
  733|      0|                        "in format string");
  734|      0|        return 0;
  735|      0|    }
  736|  39.8k|    if (!at_end) {
  ------------------
  |  Branch (736:9): [True: 31.6k, False: 8.16k]
  ------------------
  737|  31.6k|        if (c == PyUnicode_READ_CHAR(self->str.str, self->str.start)) {
  ------------------
  |  |  381|  31.6k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (737:13): [True: 0, False: 31.6k]
  ------------------
  738|       |            /* escaped } or {, skip it in the input.  there is no
  739|       |               markup object following us, just this literal text */
  740|      0|            self->str.start++;
  741|      0|            markup_follows = 0;
  742|      0|        }
  743|  31.6k|        else
  744|  31.6k|            len--;
  745|  31.6k|    }
  746|       |
  747|       |    /* record the literal text */
  748|  39.8k|    literal->str = self->str.str;
  749|  39.8k|    literal->start = start;
  750|  39.8k|    literal->end = start + len;
  751|       |
  752|  39.8k|    if (!markup_follows)
  ------------------
  |  Branch (752:9): [True: 8.16k, False: 31.6k]
  ------------------
  753|  8.16k|        return 2;
  754|       |
  755|       |    /* this is markup; parse the field */
  756|  31.6k|    *field_present = 1;
  757|  31.6k|    if (!parse_field(&self->str, field_name, format_spec,
  ------------------
  |  Branch (757:9): [True: 0, False: 31.6k]
  ------------------
  758|  31.6k|                     format_spec_needs_expanding, conversion))
  759|      0|        return 0;
  760|  31.6k|    return 2;
  761|  31.6k|}
unicodeobject.c:parse_field:
  557|  31.6k|{
  558|       |    /* Note this function works if the field name is zero length,
  559|       |       which is good.  Zero length field names are handled later, in
  560|       |       field_name_split. */
  561|       |
  562|  31.6k|    Py_UCS4 c = 0;
  563|       |
  564|       |    /* initialize these, as they may be empty */
  565|  31.6k|    *conversion = '\0';
  566|  31.6k|    SubString_init(format_spec, NULL, 0, 0);
  567|       |
  568|       |    /* Search for the field name.  it's terminated by the end of
  569|       |       the string, or a ':' or '!' */
  570|  31.6k|    field_name->str = str->str;
  571|  31.6k|    field_name->start = str->start;
  572|   209k|    while (str->start < str->end) {
  ------------------
  |  Branch (572:12): [True: 209k, False: 0]
  ------------------
  573|   209k|        switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) {
  ------------------
  |  |  381|   209k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|      0|        case '{':
  ------------------
  |  Branch (574:9): [True: 0, False: 209k]
  ------------------
  575|      0|            PyErr_SetString(PyExc_ValueError, "unexpected '{' in field name");
  576|      0|            return 0;
  577|      0|        case '[':
  ------------------
  |  Branch (577:9): [True: 0, False: 209k]
  ------------------
  578|      0|            for (; str->start < str->end; str->start++)
  ------------------
  |  Branch (578:20): [True: 0, False: 0]
  ------------------
  579|      0|                if (PyUnicode_READ_CHAR(str->str, str->start) == ']')
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (579:21): [True: 0, False: 0]
  ------------------
  580|      0|                    break;
  581|      0|            continue;
  582|  30.4k|        case '}':
  ------------------
  |  Branch (582:9): [True: 30.4k, False: 178k]
  ------------------
  583|  30.4k|        case ':':
  ------------------
  |  Branch (583:9): [True: 64, False: 209k]
  ------------------
  584|  31.6k|        case '!':
  ------------------
  |  Branch (584:9): [True: 1.18k, False: 207k]
  ------------------
  585|  31.6k|            break;
  586|   177k|        default:
  ------------------
  |  Branch (586:9): [True: 177k, False: 31.6k]
  ------------------
  587|   177k|            continue;
  588|   209k|        }
  589|  31.6k|        break;
  590|   209k|    }
  591|       |
  592|  31.6k|    field_name->end = str->start - 1;
  593|  31.6k|    if (c == '!' || c == ':') {
  ------------------
  |  Branch (593:9): [True: 1.18k, False: 30.4k]
  |  Branch (593:21): [True: 64, False: 30.4k]
  ------------------
  594|  1.25k|        Py_ssize_t count;
  595|       |        /* we have a format specifier and/or a conversion */
  596|       |        /* don't include the last character */
  597|       |
  598|       |        /* see if there's a conversion specifier */
  599|  1.25k|        if (c == '!') {
  ------------------
  |  Branch (599:13): [True: 1.18k, False: 64]
  ------------------
  600|       |            /* there must be another character present */
  601|  1.18k|            if (str->start >= str->end) {
  ------------------
  |  Branch (601:17): [True: 0, False: 1.18k]
  ------------------
  602|      0|                PyErr_SetString(PyExc_ValueError,
  603|      0|                                "end of string while looking for conversion "
  604|      0|                                "specifier");
  605|      0|                return 0;
  606|      0|            }
  607|  1.18k|            *conversion = PyUnicode_READ_CHAR(str->str, str->start++);
  ------------------
  |  |  381|  1.18k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|       |
  609|  1.18k|            if (str->start < str->end) {
  ------------------
  |  Branch (609:17): [True: 1.18k, False: 0]
  ------------------
  610|  1.18k|                c = PyUnicode_READ_CHAR(str->str, str->start++);
  ------------------
  |  |  381|  1.18k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  611|  1.18k|                if (c == '}')
  ------------------
  |  Branch (611:21): [True: 1.18k, False: 0]
  ------------------
  612|  1.18k|                    return 1;
  613|      0|                if (c != ':') {
  ------------------
  |  Branch (613:21): [True: 0, False: 0]
  ------------------
  614|      0|                    PyErr_SetString(PyExc_ValueError,
  615|      0|                                    "expected ':' after conversion specifier");
  616|      0|                    return 0;
  617|      0|                }
  618|      0|            }
  619|  1.18k|        }
  620|     64|        format_spec->str = str->str;
  621|     64|        format_spec->start = str->start;
  622|     64|        count = 1;
  623|    256|        while (str->start < str->end) {
  ------------------
  |  Branch (623:16): [True: 256, False: 0]
  ------------------
  624|    256|            switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) {
  ------------------
  |  |  381|    256|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  625|      0|            case '{':
  ------------------
  |  Branch (625:13): [True: 0, False: 256]
  ------------------
  626|      0|                *format_spec_needs_expanding = 1;
  627|      0|                count++;
  628|      0|                break;
  629|     64|            case '}':
  ------------------
  |  Branch (629:13): [True: 64, False: 192]
  ------------------
  630|     64|                count--;
  631|     64|                if (count == 0) {
  ------------------
  |  Branch (631:21): [True: 64, False: 0]
  ------------------
  632|     64|                    format_spec->end = str->start - 1;
  633|     64|                    return 1;
  634|     64|                }
  635|      0|                break;
  636|    192|            default:
  ------------------
  |  Branch (636:13): [True: 192, False: 64]
  ------------------
  637|    192|                break;
  638|    256|            }
  639|    256|        }
  640|       |
  641|      0|        PyErr_SetString(PyExc_ValueError, "unmatched '{' in format spec");
  642|      0|        return 0;
  643|     64|    }
  644|  30.4k|    else if (c != '}') {
  ------------------
  |  Branch (644:14): [True: 0, False: 30.4k]
  ------------------
  645|      0|        PyErr_SetString(PyExc_ValueError, "expected '}' before end of string");
  646|      0|        return 0;
  647|      0|    }
  648|       |
  649|  30.4k|    return 1;
  650|  31.6k|}
unicodeobject.c:output_markup:
  811|  31.6k|{
  812|  31.6k|    PyObject *tmp = NULL;
  813|  31.6k|    PyObject *fieldobj = NULL;
  814|  31.6k|    SubString expanded_format_spec;
  815|  31.6k|    SubString *actual_format_spec;
  816|  31.6k|    int result = 0;
  817|       |
  818|       |    /* convert field_name to an object */
  819|  31.6k|    fieldobj = get_field_object(field_name, args, kwargs, auto_number);
  820|  31.6k|    if (fieldobj == NULL)
  ------------------
  |  Branch (820:9): [True: 0, False: 31.6k]
  ------------------
  821|      0|        goto done;
  822|       |
  823|  31.6k|    if (conversion != '\0') {
  ------------------
  |  Branch (823:9): [True: 1.18k, False: 30.4k]
  ------------------
  824|  1.18k|        tmp = do_conversion(fieldobj, conversion);
  825|  1.18k|        if (tmp == NULL)
  ------------------
  |  Branch (825:13): [True: 0, False: 1.18k]
  ------------------
  826|      0|            goto done;
  827|       |
  828|       |        /* do the assignment, transferring ownership: fieldobj = tmp */
  829|  1.18k|        Py_SETREF(fieldobj, tmp);
  ------------------
  |  |  352|  1.18k|    do { \
  |  |  353|  1.18k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  1.18k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  1.18k|        *_tmp_dst_ptr = (src); \
  |  |  356|  1.18k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  1.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  1.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
  830|  1.18k|        tmp = NULL;
  831|  1.18k|    }
  832|       |
  833|       |    /* if needed, recursively compute the format_spec */
  834|  31.6k|    if (format_spec_needs_expanding) {
  ------------------
  |  Branch (834:9): [True: 0, False: 31.6k]
  ------------------
  835|      0|        tmp = build_string(format_spec, args, kwargs, recursion_depth-1,
  836|      0|                           auto_number);
  837|      0|        if (tmp == NULL)
  ------------------
  |  Branch (837:13): [True: 0, False: 0]
  ------------------
  838|      0|            goto done;
  839|       |
  840|       |        /* note that in the case we're expanding the format string,
  841|       |           tmp must be kept around until after the call to
  842|       |           render_field. */
  843|      0|        SubString_init(&expanded_format_spec, tmp, 0, PyUnicode_GET_LENGTH(tmp));
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|      0|        actual_format_spec = &expanded_format_spec;
  845|      0|    }
  846|  31.6k|    else
  847|  31.6k|        actual_format_spec = format_spec;
  848|       |
  849|  31.6k|    if (render_field(fieldobj, actual_format_spec, writer) == 0)
  ------------------
  |  Branch (849:9): [True: 0, False: 31.6k]
  ------------------
  850|      0|        goto done;
  851|       |
  852|  31.6k|    result = 1;
  853|       |
  854|  31.6k|done:
  855|  31.6k|    Py_XDECREF(fieldobj);
  ------------------
  |  |  524|  31.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|  31.6k|    Py_XDECREF(tmp);
  ------------------
  |  |  524|  31.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|       |
  858|  31.6k|    return result;
  859|  31.6k|}
unicodeobject.c:get_field_object:
  400|  31.6k|{
  401|  31.6k|    PyObject *obj = NULL;
  402|  31.6k|    int ok;
  403|  31.6k|    int is_attribute;
  404|  31.6k|    SubString name;
  405|  31.6k|    SubString first;
  406|  31.6k|    Py_ssize_t index;
  407|  31.6k|    FieldNameIterator rest;
  408|       |
  409|  31.6k|    if (!field_name_split(input->str, input->start, input->end, &first,
  ------------------
  |  Branch (409:9): [True: 0, False: 31.6k]
  ------------------
  410|  31.6k|                          &index, &rest, auto_number)) {
  411|      0|        goto error;
  412|      0|    }
  413|       |
  414|  31.6k|    if (index == -1) {
  ------------------
  |  Branch (414:9): [True: 24.5k, False: 7.17k]
  ------------------
  415|       |        /* look up in kwargs */
  416|  24.5k|        PyObject *key = SubString_new_object(&first);
  417|  24.5k|        if (key == NULL) {
  ------------------
  |  Branch (417:13): [True: 0, False: 24.5k]
  ------------------
  418|      0|            goto error;
  419|      0|        }
  420|  24.5k|        if (kwargs == NULL) {
  ------------------
  |  Branch (420:13): [True: 0, False: 24.5k]
  ------------------
  421|      0|            PyErr_SetObject(PyExc_KeyError, key);
  422|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  423|      0|            goto error;
  424|      0|        }
  425|       |        /* Use PyObject_GetItem instead of PyDict_GetItem because this
  426|       |           code is no longer just used with kwargs. It might be passed
  427|       |           a non-dict when called through format_map. */
  428|  24.5k|        obj = PyObject_GetItem(kwargs, key);
  429|  24.5k|        Py_DECREF(key);
  ------------------
  |  |  430|  24.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|  24.5k|        if (obj == NULL) {
  ------------------
  |  Branch (430:13): [True: 0, False: 24.5k]
  ------------------
  431|      0|            goto error;
  432|      0|        }
  433|  24.5k|    }
  434|  7.17k|    else {
  435|       |        /* If args is NULL, we have a format string with a positional field
  436|       |           with only kwargs to retrieve it from. This can only happen when
  437|       |           used with format_map(), where positional arguments are not
  438|       |           allowed. */
  439|  7.17k|        if (args == NULL) {
  ------------------
  |  Branch (439:13): [True: 0, False: 7.17k]
  ------------------
  440|      0|            PyErr_SetString(PyExc_ValueError, "Format string contains "
  441|      0|                            "positional fields");
  442|      0|            goto error;
  443|      0|        }
  444|       |
  445|       |        /* look up in args */
  446|  7.17k|        obj = PySequence_GetItem(args, index);
  447|  7.17k|        if (obj == NULL) {
  ------------------
  |  Branch (447:13): [True: 0, False: 7.17k]
  ------------------
  448|      0|            PyErr_Format(PyExc_IndexError,
  449|      0|                         "Replacement index %zd out of range for positional "
  450|      0|                         "args tuple",
  451|      0|                         index);
  452|      0|             goto error;
  453|      0|        }
  454|  7.17k|    }
  455|       |
  456|       |    /* iterate over the rest of the field_name */
  457|  31.6k|    while ((ok = FieldNameIterator_next(&rest, &is_attribute, &index,
  ------------------
  |  Branch (457:12): [True: 2, False: 31.6k]
  ------------------
  458|  31.6k|                                        &name)) == 2) {
  459|      2|        PyObject *tmp;
  460|       |
  461|      2|        if (is_attribute)
  ------------------
  |  Branch (461:13): [True: 2, False: 0]
  ------------------
  462|       |            /* getattr lookup "." */
  463|      2|            tmp = getattr(obj, &name);
  464|      0|        else
  465|       |            /* getitem lookup "[]" */
  466|      0|            if (index == -1)
  ------------------
  |  Branch (466:17): [True: 0, False: 0]
  ------------------
  467|      0|                tmp = getitem_str(obj, &name);
  468|      0|            else
  469|      0|                if (PySequence_Check(obj))
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    tmp = getitem_sequence(obj, index);
  471|      0|                else
  472|       |                    /* not a sequence */
  473|      0|                    tmp = getitem_idx(obj, index);
  474|      2|        if (tmp == NULL)
  ------------------
  |  Branch (474:13): [True: 0, False: 2]
  ------------------
  475|      0|            goto error;
  476|       |
  477|       |        /* assign to obj */
  478|      2|        Py_SETREF(obj, tmp);
  ------------------
  |  |  352|      2|    do { \
  |  |  353|      2|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      2|        *_tmp_dst_ptr = (src); \
  |  |  356|      2|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  479|      2|    }
  480|       |    /* end of iterator, this is the non-error case */
  481|  31.6k|    if (ok == 1)
  ------------------
  |  Branch (481:9): [True: 31.6k, False: 0]
  ------------------
  482|  31.6k|        return obj;
  483|      0|error:
  484|      0|    Py_XDECREF(obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|       |    return NULL;
  486|  31.6k|}
unicodeobject.c:field_name_split:
  324|  31.6k|{
  325|  31.6k|    Py_UCS4 c;
  326|  31.6k|    Py_ssize_t i = start;
  327|  31.6k|    int field_name_is_empty;
  328|  31.6k|    int using_numeric_index;
  329|       |
  330|       |    /* find the part up until the first '.' or '[' */
  331|   209k|    while (i < end) {
  ------------------
  |  Branch (331:12): [True: 177k, False: 31.6k]
  ------------------
  332|   177k|        switch (c = PyUnicode_READ_CHAR(str, i++)) {
  ------------------
  |  |  381|   177k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   177k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   177k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|      0|        case '[':
  ------------------
  |  Branch (333:9): [True: 0, False: 177k]
  ------------------
  334|      2|        case '.':
  ------------------
  |  Branch (334:9): [True: 2, False: 177k]
  ------------------
  335|       |            /* backup so that we this character is available to the
  336|       |               "rest" iterator */
  337|      2|            i--;
  338|      2|            break;
  339|   177k|        default:
  ------------------
  |  Branch (339:9): [True: 177k, False: 2]
  ------------------
  340|   177k|            continue;
  341|   177k|        }
  342|      2|        break;
  343|   177k|    }
  344|       |
  345|       |    /* set up the return values */
  346|  31.6k|    SubString_init(first, str, start, i);
  347|  31.6k|    FieldNameIterator_init(rest, str, i, end);
  348|       |
  349|       |    /* see if "first" is an integer, in which case it's used as an index */
  350|  31.6k|    *first_idx = get_integer(first);
  351|  31.6k|    if (*first_idx == -1 && PyErr_Occurred())
  ------------------
  |  Branch (351:9): [True: 31.4k, False: 184]
  |  Branch (351:29): [True: 0, False: 31.4k]
  ------------------
  352|      0|        return 0;
  353|       |
  354|  31.6k|    field_name_is_empty = first->start >= first->end;
  355|       |
  356|       |    /* If the field name is omitted or if we have a numeric index
  357|       |       specified, then we're doing numeric indexing into args. */
  358|  31.6k|    using_numeric_index = field_name_is_empty || *first_idx != -1;
  ------------------
  |  Branch (358:27): [True: 6.99k, False: 24.6k]
  |  Branch (358:50): [True: 184, False: 24.5k]
  ------------------
  359|       |
  360|       |    /* We always get here exactly one time for each field we're
  361|       |       processing. And we get here in field order (counting by left
  362|       |       braces). So this is the perfect place to handle automatic field
  363|       |       numbering if the field name is omitted. */
  364|       |
  365|       |    /* Check if we need to do the auto-numbering. It's not needed if
  366|       |       we're called from string.Format routines, because it's handled
  367|       |       in that class by itself. */
  368|  31.6k|    if (auto_number) {
  ------------------
  |  Branch (368:9): [True: 31.6k, False: 0]
  ------------------
  369|       |        /* Initialize our auto numbering state if this is the first
  370|       |           time we're either auto-numbering or manually numbering. */
  371|  31.6k|        if (auto_number->an_state == ANS_INIT && using_numeric_index)
  ------------------
  |  Branch (371:13): [True: 30.1k, False: 1.54k]
  |  Branch (371:50): [True: 5.62k, False: 24.5k]
  ------------------
  372|  5.62k|            auto_number->an_state = field_name_is_empty ?
  ------------------
  |  Branch (372:37): [True: 5.51k, False: 112]
  ------------------
  373|  5.51k|                ANS_AUTO : ANS_MANUAL;
  374|       |
  375|       |        /* Make sure our state is consistent with what we're doing
  376|       |           this time through. Only check if we're using a numeric
  377|       |           index. */
  378|  31.6k|        if (using_numeric_index)
  ------------------
  |  Branch (378:13): [True: 7.17k, False: 24.5k]
  ------------------
  379|  7.17k|            if (autonumber_state_error(auto_number->an_state,
  ------------------
  |  Branch (379:17): [True: 0, False: 7.17k]
  ------------------
  380|  7.17k|                                       field_name_is_empty))
  381|      0|                return 0;
  382|       |        /* Zero length field means we want to do auto-numbering of the
  383|       |           fields. */
  384|  31.6k|        if (field_name_is_empty)
  ------------------
  |  Branch (384:13): [True: 6.99k, False: 24.6k]
  ------------------
  385|  6.99k|            *first_idx = (auto_number->an_field_number)++;
  386|  31.6k|    }
  387|       |
  388|  31.6k|    return 1;
  389|  31.6k|}
unicodeobject.c:FieldNameIterator_init:
  207|  31.6k|{
  208|  31.6k|    SubString_init(&self->str, s, start, end);
  209|  31.6k|    self->index = start;
  210|  31.6k|    return 1;
  211|  31.6k|}
unicodeobject.c:get_integer:
  114|  31.6k|{
  115|  31.6k|    Py_ssize_t accumulator = 0;
  116|  31.6k|    Py_ssize_t digitval;
  117|  31.6k|    Py_ssize_t i;
  118|       |
  119|       |    /* empty string is an error */
  120|  31.6k|    if (str->start >= str->end)
  ------------------
  |  Branch (120:9): [True: 6.99k, False: 24.6k]
  ------------------
  121|  6.99k|        return -1;
  122|       |
  123|  24.8k|    for (i = str->start; i < str->end; i++) {
  ------------------
  |  Branch (123:26): [True: 24.6k, False: 184]
  ------------------
  124|  24.6k|        digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ_CHAR(str->str, i));
  ------------------
  |  |  763|  24.6k|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
  125|  24.6k|        if (digitval < 0)
  ------------------
  |  Branch (125:13): [True: 24.5k, False: 184]
  ------------------
  126|  24.5k|            return -1;
  127|       |        /*
  128|       |           Detect possible overflow before it happens:
  129|       |
  130|       |              accumulator * 10 + digitval > PY_SSIZE_T_MAX if and only if
  131|       |              accumulator > (PY_SSIZE_T_MAX - digitval) / 10.
  132|       |        */
  133|    184|        if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) {
  ------------------
  |  |  137|    184|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (133:13): [True: 0, False: 184]
  ------------------
  134|      0|            PyErr_Format(PyExc_ValueError,
  135|      0|                         "Too many decimal digits in format string");
  136|      0|            return -1;
  137|      0|        }
  138|    184|        accumulator = accumulator * 10 + digitval;
  139|    184|    }
  140|    184|    return accumulator;
  141|  24.6k|}
unicodeobject.c:autonumber_state_error:
   87|  7.17k|{
   88|  7.17k|    if (state == ANS_MANUAL) {
  ------------------
  |  Branch (88:9): [True: 184, False: 6.99k]
  ------------------
   89|    184|        if (field_name_is_empty) {
  ------------------
  |  Branch (89:13): [True: 0, False: 184]
  ------------------
   90|      0|            PyErr_SetString(PyExc_ValueError, "cannot switch from "
   91|      0|                            "manual field specification to "
   92|      0|                            "automatic field numbering");
   93|      0|            return 1;
   94|      0|        }
   95|    184|    }
   96|  6.99k|    else {
   97|  6.99k|        if (!field_name_is_empty) {
  ------------------
  |  Branch (97:13): [True: 0, False: 6.99k]
  ------------------
   98|      0|            PyErr_SetString(PyExc_ValueError, "cannot switch from "
   99|      0|                            "automatic field numbering to "
  100|      0|                            "manual field specification");
  101|      0|            return 1;
  102|      0|        }
  103|  6.99k|    }
  104|  7.17k|    return 0;
  105|  7.17k|}
unicodeobject.c:SubString_new_object:
   66|  24.5k|{
   67|  24.5k|    if (str->str == NULL)
  ------------------
  |  Branch (67:9): [True: 0, False: 24.5k]
  ------------------
   68|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   69|  24.5k|    return PyUnicode_Substring(str->str, str->start, str->end);
   70|  24.5k|}
unicodeobject.c:FieldNameIterator_next:
  277|  31.6k|{
  278|       |    /* check at end of input */
  279|  31.6k|    if (self->index >= self->str.end)
  ------------------
  |  Branch (279:9): [True: 31.6k, False: 2]
  ------------------
  280|  31.6k|        return 1;
  281|       |
  282|      2|    switch (PyUnicode_READ_CHAR(self->str.str, self->index++)) {
  ------------------
  |  |  381|      2|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|      2|    case '.':
  ------------------
  |  Branch (283:5): [True: 2, False: 0]
  ------------------
  284|      2|        *is_attribute = 1;
  285|      2|        if (_FieldNameIterator_attr(self, name) == 0)
  ------------------
  |  Branch (285:13): [True: 0, False: 2]
  ------------------
  286|      0|            return 0;
  287|      2|        *name_idx = -1;
  288|      2|        break;
  289|      0|    case '[':
  ------------------
  |  Branch (289:5): [True: 0, False: 2]
  ------------------
  290|      0|        *is_attribute = 0;
  291|      0|        if (_FieldNameIterator_item(self, name) == 0)
  ------------------
  |  Branch (291:13): [True: 0, False: 0]
  ------------------
  292|      0|            return 0;
  293|      0|        *name_idx = get_integer(name);
  294|      0|        if (*name_idx == -1 && PyErr_Occurred())
  ------------------
  |  Branch (294:13): [True: 0, False: 0]
  |  Branch (294:32): [True: 0, False: 0]
  ------------------
  295|      0|            return 0;
  296|      0|        break;
  297|      0|    default:
  ------------------
  |  Branch (297:5): [True: 0, False: 2]
  ------------------
  298|       |        /* Invalid character follows ']' */
  299|      0|        PyErr_SetString(PyExc_ValueError, "Only '.' or '[' may "
  300|      0|                        "follow ']' in format field specifier");
  301|      0|        return 0;
  302|      2|    }
  303|       |
  304|       |    /* empty string is an error */
  305|      2|    if (name->start == name->end) {
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError, "Empty attribute in format string");
  307|      0|        return 0;
  308|      0|    }
  309|       |
  310|      2|    return 2;
  311|      2|}
unicodeobject.c:_FieldNameIterator_attr:
  215|      2|{
  216|      2|    Py_UCS4 c;
  217|       |
  218|      2|    name->str = self->str.str;
  219|      2|    name->start = self->index;
  220|       |
  221|       |    /* return everything until '.' or '[' */
  222|     26|    while (self->index < self->str.end) {
  ------------------
  |  Branch (222:12): [True: 24, False: 2]
  ------------------
  223|     24|        c = PyUnicode_READ_CHAR(self->str.str, self->index++);
  ------------------
  |  |  381|     24|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|     24|        switch (c) {
  225|      0|        case '[':
  ------------------
  |  Branch (225:9): [True: 0, False: 24]
  ------------------
  226|      0|        case '.':
  ------------------
  |  Branch (226:9): [True: 0, False: 24]
  ------------------
  227|       |            /* backup so that we this character will be seen next time */
  228|      0|            self->index--;
  229|      0|            break;
  230|     24|        default:
  ------------------
  |  Branch (230:9): [True: 24, False: 0]
  ------------------
  231|     24|            continue;
  232|     24|        }
  233|      0|        break;
  234|     24|    }
  235|       |    /* end of string is okay */
  236|      2|    name->end = self->index;
  237|      2|    return 1;
  238|      2|}
unicodeobject.c:getattr:
  150|      2|{
  151|      2|    PyObject *newobj;
  152|      2|    PyObject *str = SubString_new_object(name);
  153|      2|    if (str == NULL)
  ------------------
  |  Branch (153:9): [True: 0, False: 2]
  ------------------
  154|      0|        return NULL;
  155|      2|    newobj = PyObject_GetAttr(obj, str);
  156|      2|    Py_DECREF(str);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|      2|    return newobj;
  158|      2|}
unicodeobject.c:do_conversion:
  767|  1.18k|{
  768|       |    /* XXX in pre-3.0, do we need to convert this to unicode, since it
  769|       |       might have returned a string? */
  770|  1.18k|    switch (conversion) {
  771|  1.18k|    case 'r':
  ------------------
  |  Branch (771:5): [True: 1.18k, False: 0]
  ------------------
  772|  1.18k|        return PyObject_Repr(obj);
  773|      0|    case 's':
  ------------------
  |  Branch (773:5): [True: 0, False: 1.18k]
  ------------------
  774|      0|        return PyObject_Str(obj);
  775|      0|    case 'a':
  ------------------
  |  Branch (775:5): [True: 0, False: 1.18k]
  ------------------
  776|      0|        return PyObject_ASCII(obj);
  777|      0|    default:
  ------------------
  |  Branch (777:5): [True: 0, False: 1.18k]
  ------------------
  778|      0|        if (conversion > 32 && conversion < 127) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  |  Branch (778:32): [True: 0, False: 0]
  ------------------
  779|       |                /* It's the ASCII subrange; casting to char is safe
  780|       |                   (assuming the execution character set is an ASCII
  781|       |                   superset). */
  782|      0|                PyErr_Format(PyExc_ValueError,
  783|      0|                     "Unknown conversion specifier %c",
  784|      0|                     (char)conversion);
  785|      0|        } else
  786|      0|                PyErr_Format(PyExc_ValueError,
  787|      0|                     "Unknown conversion specifier \\x%x",
  788|      0|                     (unsigned int)conversion);
  789|       |        return NULL;
  790|  1.18k|    }
  791|  1.18k|}
unicodeobject.c:render_field:
  502|  31.6k|{
  503|  31.6k|    int ok = 0;
  504|  31.6k|    PyObject *result = NULL;
  505|  31.6k|    PyObject *format_spec_object = NULL;
  506|  31.6k|    int (*formatter) (_PyUnicodeWriter*, PyObject *, PyObject *, Py_ssize_t, Py_ssize_t) = NULL;
  507|  31.6k|    int err;
  508|       |
  509|       |    /* If we know the type exactly, skip the lookup of __format__ and just
  510|       |       call the formatter directly. */
  511|  31.6k|    if (PyUnicode_CheckExact(fieldobj))
  ------------------
  |  |  104|  31.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  31.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 31.6k, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|  31.6k|        formatter = _PyUnicode_FormatAdvancedWriter;
  513|     70|    else if (PyLong_CheckExact(fieldobj))
  ------------------
  |  |   14|     70|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     70|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 66, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|     66|        formatter = _PyLong_FormatAdvancedWriter;
  515|      4|    else if (PyFloat_CheckExact(fieldobj))
  ------------------
  |  |   17|      4|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|      0|        formatter = _PyFloat_FormatAdvancedWriter;
  517|      4|    else if (PyComplex_CheckExact(fieldobj))
  ------------------
  |  |   14|      4|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|      0|        formatter = _PyComplex_FormatAdvancedWriter;
  519|       |
  520|  31.6k|    if (formatter) {
  ------------------
  |  Branch (520:9): [True: 31.6k, False: 4]
  ------------------
  521|       |        /* we know exactly which formatter will be called when __format__ is
  522|       |           looked up, so call it directly, instead. */
  523|  31.6k|        err = formatter(writer, fieldobj, format_spec->str,
  524|  31.6k|                        format_spec->start, format_spec->end);
  525|  31.6k|        return (err == 0);
  526|  31.6k|    }
  527|      4|    else {
  528|       |        /* We need to create an object out of the pointers we have, because
  529|       |           __format__ takes a string/unicode object for format_spec. */
  530|      4|        if (format_spec->str)
  ------------------
  |  Branch (530:13): [True: 0, False: 4]
  ------------------
  531|      0|            format_spec_object = PyUnicode_Substring(format_spec->str,
  532|      0|                                                     format_spec->start,
  533|      0|                                                     format_spec->end);
  534|      4|        else
  535|      4|            format_spec_object = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      4|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  536|      4|        if (format_spec_object == NULL)
  ------------------
  |  Branch (536:13): [True: 0, False: 4]
  ------------------
  537|      0|            goto done;
  538|       |
  539|      4|        result = PyObject_Format(fieldobj, format_spec_object);
  540|      4|    }
  541|      4|    if (result == NULL)
  ------------------
  |  Branch (541:9): [True: 0, False: 4]
  ------------------
  542|      0|        goto done;
  543|       |
  544|      4|    if (_PyUnicodeWriter_WriteStr(writer, result) == -1)
  ------------------
  |  Branch (544:9): [True: 0, False: 4]
  ------------------
  545|      0|        goto done;
  546|      4|    ok = 1;
  547|       |
  548|      4|done:
  549|      4|    Py_XDECREF(format_spec_object);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|      4|    Py_XDECREF(result);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      4|    return ok;
  552|      4|}

PyStructSequence_New:
   66|  3.70k|{
   67|  3.70k|    PyStructSequence *obj;
   68|  3.70k|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|  3.70k|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  919|  3.70k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.70k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.70k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|  3.70k|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 3.70k]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|  3.70k|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|  3.70k|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  919|  3.70k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.70k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.70k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  3.70k|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 3.70k]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|  3.70k|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|  3.70k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|  3.70k|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 3.70k]
  ------------------
   79|      0|        return NULL;
   80|  3.70k|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   44|  3.70k|    do {                                    \
  |  |   45|  3.70k|        assert(op != NULL);                 \
  |  |   46|  3.70k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  3.70k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  3.70k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|  3.70k|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|  3.70k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  3.70k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  73.9k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 70.2k, False: 3.70k]
  ------------------
   85|  70.2k|        obj->ob_item[i] = NULL;
   86|       |
   87|  3.70k|    return (PyObject*)obj;
   88|  3.70k|}
PyStructSequence_SetItem:
   92|  70.2k|{
   93|  70.2k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  70.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   94|  70.2k|    assert(0 <= index);
   95|       |#ifndef NDEBUG
   96|       |    Py_ssize_t n_fields = REAL_SIZE(op);
   97|       |    assert(n_fields >= 0);
   98|       |    assert(index < n_fields);
   99|       |#endif
  100|  70.2k|    tuple->ob_item[index] = value;
  101|  70.2k|}
PyStructSequence_GetItem:
  105|     88|{
  106|     88|    assert(0 <= index);
  107|       |#ifndef NDEBUG
  108|       |    Py_ssize_t n_fields = REAL_SIZE(op);
  109|       |    assert(n_fields >= 0);
  110|       |    assert(index < n_fields);
  111|       |#endif
  112|       |    return PyTuple_GET_ITEM(op, index);
  ------------------
  |  |   29|     88|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     88|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|     88|}
_PyStructSequence_InitBuiltinWithFlags:
  618|     16|{
  619|     16|    if (Py_TYPE(type) == NULL) {
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:9): [True: 16, False: 0]
  ------------------
  620|     16|        Py_SET_TYPE(type, &PyType_Type);
  ------------------
  |  |  217|     16|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     16|    }
  622|     16|    Py_ssize_t n_unnamed_members;
  623|     16|    Py_ssize_t n_members = count_members(desc, &n_unnamed_members);
  624|     16|    PyMemberDef *members = NULL;
  625|       |
  626|     16|    if ((type->tp_flags & Py_TPFLAGS_READY) == 0) {
  ------------------
  |  |  518|     16|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (626:9): [True: 16, False: 0]
  ------------------
  627|     16|        assert(type->tp_name == NULL);
  628|     16|        assert(type->tp_members == NULL);
  629|     16|        assert(type->tp_base == NULL);
  630|       |
  631|     16|        members = initialize_members(desc, n_members, n_unnamed_members);
  632|     16|        if (members == NULL) {
  ------------------
  |  Branch (632:13): [True: 0, False: 16]
  ------------------
  633|      0|            goto error;
  634|      0|        }
  635|     16|        initialize_static_fields(type, desc, members, n_members, tp_flags);
  636|       |
  637|     16|        _Py_SetImmortal((PyObject *)type);
  638|     16|    }
  639|       |#ifndef NDEBUG
  640|       |    else {
  641|       |        // Ensure that the type was initialized.
  642|       |        assert(type->tp_name != NULL);
  643|       |        assert(type->tp_members != NULL);
  644|       |        assert(type->tp_base == &PyTuple_Type);
  645|       |        assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  646|       |        assert(_Py_IsImmortal(type));
  647|       |    }
  648|       |#endif
  649|       |
  650|     16|    if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (650:9): [True: 0, False: 16]
  ------------------
  651|      0|        PyErr_Format(PyExc_RuntimeError,
  652|      0|                     "Can't initialize builtin type %s",
  653|      0|                     desc->name);
  654|      0|        goto error;
  655|      0|    }
  656|       |
  657|     16|    if (initialize_structseq_dict(
  ------------------
  |  Branch (657:9): [True: 0, False: 16]
  ------------------
  658|     16|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0)
  659|      0|    {
  660|      0|        goto error;
  661|      0|    }
  662|       |
  663|     16|    return 0;
  664|       |
  665|      0|error:
  666|      0|    if (members != NULL) {
  ------------------
  |  Branch (666:9): [True: 0, False: 0]
  ------------------
  667|      0|        PyMem_Free(members);
  668|      0|    }
  669|      0|    return -1;
  670|     16|}
_PyStructSequence_NewType:
  746|     24|{
  747|     24|    PyMemberDef *members;
  748|     24|    PyTypeObject *type;
  749|     24|    PyType_Slot slots[8];
  750|     24|    PyType_Spec spec;
  751|     24|    Py_ssize_t n_members, n_unnamed_members;
  752|       |
  753|       |    /* Initialize MemberDefs */
  754|     24|    n_members = count_members(desc, &n_unnamed_members);
  755|     24|    members = initialize_members(desc, n_members, n_unnamed_members);
  756|     24|    if (members == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 24]
  ------------------
  757|      0|        return NULL;
  758|      0|    }
  759|       |
  760|       |    /* Initialize Slots */
  761|     24|    slots[0] = (PyType_Slot){Py_tp_dealloc, structseq_dealloc};
  ------------------
  |  |   60|     24|#define Py_tp_dealloc 52
  ------------------
  762|     24|    slots[1] = (PyType_Slot){Py_tp_repr, structseq_repr};
  ------------------
  |  |   74|     24|#define Py_tp_repr 66
  ------------------
  763|     24|    slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc};
  ------------------
  |  |   64|     24|#define Py_tp_doc 56
  ------------------
  764|     24|    slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods};
  ------------------
  |  |   72|     24|#define Py_tp_methods 64
  ------------------
  765|     24|    slots[4] = (PyType_Slot){Py_tp_new, structseq_new};
  ------------------
  |  |   73|     24|#define Py_tp_new 65
  ------------------
  766|     24|    slots[5] = (PyType_Slot){Py_tp_members, members};
  ------------------
  |  |   80|     24|#define Py_tp_members 72
  ------------------
  767|     24|    slots[6] = (PyType_Slot){Py_tp_traverse, structseq_traverse};
  ------------------
  |  |   79|     24|#define Py_tp_traverse 71
  ------------------
  768|     24|    slots[7] = (PyType_Slot){0, 0};
  769|       |
  770|       |    /* Initialize Spec */
  771|       |    /* The name in this PyType_Spec is statically allocated so it is */
  772|       |    /* expected that it'll outlive the PyType_Spec */
  773|     24|    spec.name = desc->name;
  774|     24|    Py_ssize_t hidden = n_members - desc->n_in_sequence;
  775|     24|    spec.basicsize = (int)(sizeof(PyStructSequence) + (hidden - 1) * sizeof(PyObject *));
  776|     24|    spec.itemsize = sizeof(PyObject *);
  777|     24|    spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  560|     24|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|     24|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|     24|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|     24|                0)
  ------------------
                  spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  524|     24|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  778|     24|    spec.slots = slots;
  779|       |
  780|     24|    type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type);
  781|     24|    PyMem_Free(members);
  782|     24|    if (type == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 24]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|       |
  786|     24|    if (initialize_structseq_dict(
  ------------------
  |  Branch (786:9): [True: 0, False: 24]
  ------------------
  787|     24|            desc, _PyType_GetDict(type), n_members, n_unnamed_members) < 0) {
  788|      0|        Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|       |
  792|     24|    return type;
  793|     24|}
PyStructSequence_NewType:
  798|     24|{
  799|     24|    return _PyStructSequence_NewType(desc, 0);
  800|     24|}
structseq.c:get_type_attr_as_size:
   29|  7.41k|{
   30|  7.41k|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|  7.41k|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 7.41k]
  ------------------
   33|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (33:13): [True: 0, False: 0]
  ------------------
   34|      0|            return -1;
   35|      0|        }
   36|      0|        PyErr_Format(PyExc_TypeError,
   37|      0|                     "Missed attribute '%U' of type %s",
   38|      0|                     name, tp->tp_name);
   39|      0|        return -1;
   40|      0|    }
   41|  7.41k|    return PyLong_AsSsize_t(v);
   42|  7.41k|}
structseq.c:count_members:
  469|     40|count_members(PyStructSequence_Desc *desc, Py_ssize_t *n_unnamed_members) {
  470|     40|    Py_ssize_t i;
  471|       |
  472|     40|    *n_unnamed_members = 0;
  473|    324|    for (i = 0; desc->fields[i].name != NULL; ++i) {
  ------------------
  |  Branch (473:17): [True: 284, False: 40]
  ------------------
  474|    284|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (474:13): [True: 6, False: 278]
  ------------------
  475|      6|            (*n_unnamed_members)++;
  476|      6|        }
  477|    284|    }
  478|     40|    return i;
  479|     40|}
structseq.c:initialize_members:
  542|     40|{
  543|     40|    PyMemberDef *members;
  544|       |
  545|     40|    members = PyMem_NEW(PyMemberDef, n_members - n_unnamed_members + 1);
  ------------------
  |  |   82|     40|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|     40|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     40|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  |  |   65|     40|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  546|     40|    if (members == NULL) {
  ------------------
  |  Branch (546:9): [True: 0, False: 40]
  ------------------
  547|      0|        PyErr_NoMemory();
  548|      0|        return NULL;
  549|      0|    }
  550|       |
  551|     40|    Py_ssize_t i, k;
  552|    324|    for (i = k = 0; i < n_members; ++i) {
  ------------------
  |  Branch (552:21): [True: 284, False: 40]
  ------------------
  553|    284|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (553:13): [True: 6, False: 278]
  ------------------
  554|      6|            continue;
  555|      6|        }
  556|       |
  557|       |        /* The names and docstrings in these MemberDefs are statically */
  558|       |        /* allocated so it is expected that they'll outlive the MemberDef */
  559|    278|        members[k].name = desc->fields[i].name;
  560|    278|        members[k].type = _Py_T_OBJECT;
  ------------------
  |  |   59|    278|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  561|    278|        members[k].offset = offsetof(PyStructSequence, ob_item)
  562|    278|          + i * sizeof(PyObject*);
  563|    278|        members[k].flags = Py_READONLY;
  ------------------
  |  |   83|    278|#define Py_READONLY            (1 << 0)
  ------------------
  564|    278|        members[k].doc = desc->fields[i].doc;
  565|    278|        k++;
  566|    278|    }
  567|     40|    members[k].name = NULL;
  568|       |
  569|     40|    return members;
  570|     40|}
structseq.c:initialize_static_fields:
  577|     16|{
  578|     16|    type->tp_name = desc->name;
  579|       |    // Account for hidden members in tp_basicsize because they are not
  580|       |    // included in the variable size.
  581|     16|    Py_ssize_t n_hidden = n_members - desc->n_in_sequence;
  582|     16|    type->tp_basicsize = sizeof(PyStructSequence) + (n_hidden - 1) * sizeof(PyObject *);
  583|     16|    type->tp_itemsize = sizeof(PyObject *);
  584|     16|    type->tp_dealloc = structseq_dealloc;
  585|     16|    type->tp_repr = structseq_repr;
  586|     16|    type->tp_doc = desc->doc;
  587|     16|    type->tp_base = &PyTuple_Type;
  588|     16|    type->tp_methods = structseq_methods;
  589|     16|    type->tp_new = structseq_new;
  590|     16|    type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  560|     16|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|     16|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|     16|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|     16|                0)
  ------------------
                  type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags;
  ------------------
  |  |  524|     16|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  591|     16|    type->tp_traverse = structseq_traverse;
  592|     16|    type->tp_members = tp_members;
  593|     16|}
structseq.c:initialize_structseq_dict:
  483|     40|                          Py_ssize_t n_members, Py_ssize_t n_unnamed_members) {
  484|     40|    PyObject *v;
  485|       |
  486|     40|#define SET_DICT_FROM_SIZE(key, value)                                         \
  487|     40|    do {                                                                       \
  488|     40|        v = PyLong_FromSsize_t(value);                                         \
  489|     40|        if (v == NULL) {                                                       \
  490|     40|            return -1;                                                         \
  491|     40|        }                                                                      \
  492|     40|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  493|     40|            Py_DECREF(v);                                                      \
  494|     40|            return -1;                                                         \
  495|     40|        }                                                                      \
  496|     40|        Py_DECREF(v);                                                          \
  497|     40|    } while (0)
  498|       |
  499|     40|    SET_DICT_FROM_SIZE(visible_length_key, desc->n_in_sequence);
  ------------------
  |  |  487|     40|    do {                                                                       \
  |  |  488|     40|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     40|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     40|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     40|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  500|     40|    SET_DICT_FROM_SIZE(real_length_key, n_members);
  ------------------
  |  |  487|     40|    do {                                                                       \
  |  |  488|     40|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     40|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     40|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     40|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  501|     40|    SET_DICT_FROM_SIZE(unnamed_fields_key, n_unnamed_members);
  ------------------
  |  |  487|     40|    do {                                                                       \
  |  |  488|     40|        v = PyLong_FromSsize_t(value);                                         \
  |  |  489|     40|        if (v == NULL) {                                                       \
  |  |  ------------------
  |  |  |  Branch (489:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  490|      0|            return -1;                                                         \
  |  |  491|      0|        }                                                                      \
  |  |  492|     40|        if (PyDict_SetItemString(dict, key, v) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (492:13): [True: 0, False: 40]
  |  |  ------------------
  |  |  493|      0|            Py_DECREF(v);                                                      \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  494|      0|            return -1;                                                         \
  |  |  495|      0|        }                                                                      \
  |  |  496|     40|        Py_DECREF(v);                                                          \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  497|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (497:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  502|       |
  503|       |    // Prepare and set __match_args__
  504|     40|    Py_ssize_t i, k;
  505|     40|    PyObject* keys = PyTuple_New(desc->n_in_sequence);
  506|     40|    if (keys == NULL) {
  ------------------
  |  Branch (506:9): [True: 0, False: 40]
  ------------------
  507|      0|        return -1;
  508|      0|    }
  509|       |
  510|    292|    for (i = k = 0; i < desc->n_in_sequence; ++i) {
  ------------------
  |  Branch (510:21): [True: 252, False: 40]
  ------------------
  511|    252|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (511:13): [True: 6, False: 246]
  ------------------
  512|      6|            continue;
  513|      6|        }
  514|    246|        PyObject* new_member = PyUnicode_FromString(desc->fields[i].name);
  515|    246|        if (new_member == NULL) {
  ------------------
  |  Branch (515:13): [True: 0, False: 246]
  ------------------
  516|      0|            goto error;
  517|      0|        }
  518|    246|        PyTuple_SET_ITEM(keys, k, new_member);
  ------------------
  |  |   40|    246|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|    246|        k++;
  520|    246|    }
  521|       |
  522|     40|    if (_PyTuple_Resize(&keys, k) == -1) {
  ------------------
  |  Branch (522:9): [True: 0, False: 40]
  ------------------
  523|      0|        assert(keys == NULL);
  524|      0|        return -1;
  525|      0|    }
  526|       |
  527|     40|    if (PyDict_SetItemString(dict, match_args_key, keys) < 0) {
  ------------------
  |  Branch (527:9): [True: 0, False: 40]
  ------------------
  528|      0|        goto error;
  529|      0|    }
  530|       |
  531|     40|    Py_DECREF(keys);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|     40|    return 0;
  533|       |
  534|      0|error:
  535|      0|    Py_DECREF(keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|      0|    return -1;
  537|     40|}
structseq.c:structseq_dealloc:
  133|  3.69k|{
  134|  3.69k|    PyStructSequence *obj = (PyStructSequence *)op;
  135|  3.69k|    Py_ssize_t i, size;
  136|  3.69k|    PyObject_GC_UnTrack(obj);
  137|       |
  138|  3.69k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|       |    // gh-122527: We can't use REAL_SIZE_TP() or any macros that access the
  140|       |    // type's dictionary here, because the dictionary may have already been
  141|       |    // cleared by the garbage collector.
  142|  3.69k|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|  3.69k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|  73.8k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 70.1k, False: 3.69k]
  ------------------
  144|  70.1k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  524|  70.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  70.1k|    }
  146|  3.69k|    PyObject_GC_Del(obj);
  147|  3.69k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  3.69k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 3.69k, False: 0]
  ------------------
  148|  3.69k|        Py_DECREF(tp);
  ------------------
  |  |  430|  3.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|  3.69k|    }
  150|  3.69k|}
structseq.c:get_real_size:
   57|  3.69k|{
   58|       |    // Compute the real size from the visible size (i.e., Py_SIZE()) and the
   59|       |    // number of non-sequence fields accounted for in tp_basicsize.
   60|  3.69k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  3.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  3.69k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  214|  3.69k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  3.69k|}

_PyTemplate_Build:
  406|      4|{
  407|      4|    templateobject *template = PyObject_GC_New(templateobject, &_PyTemplate_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  408|      4|    if (template == NULL) {
  ------------------
  |  Branch (408:9): [True: 0, False: 4]
  ------------------
  409|      0|        return NULL;
  410|      0|    }
  411|       |
  412|      4|    template->strings = Py_NewRef(strings);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      4|    template->interpolations = Py_NewRef(interpolations);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      4|    PyObject_GC_Track(template);
  415|      4|    return (PyObject *) template;
  416|      4|}
templateobject.c:template_dealloc:
  187|      4|{
  188|      4|    PyObject_GC_UnTrack(op);
  189|      4|    Py_TYPE(op)->tp_clear(op);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|      4|    Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      4|}
templateobject.c:template_clear:
  195|      4|{
  196|      4|    templateobject *self = templateobject_CAST(op);
  ------------------
  |  |   90|      4|    (assert(_PyTemplate_CheckExact(op)), _Py_CAST(templateobject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  197|      4|    Py_CLEAR(self->strings);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  198|       |    Py_CLEAR(self->interpolations);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  199|      4|    return 0;
  200|      4|}

PyTuple_New:
   76|  3.81M|{
   77|  3.81M|    PyTupleObject *op;
   78|  3.81M|    if (size == 0) {
  ------------------
  |  Branch (78:9): [True: 1.34M, False: 2.46M]
  ------------------
   79|  1.34M|        return tuple_get_empty();
   80|  1.34M|    }
   81|  2.46M|    op = tuple_alloc(size);
   82|  2.46M|    if (op == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 2.46M]
  ------------------
   83|      0|        return NULL;
   84|      0|    }
   85|  28.4M|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (85:28): [True: 25.9M, False: 2.46M]
  ------------------
   86|  25.9M|        op->ob_item[i] = NULL;
   87|  25.9M|    }
   88|  2.46M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  2.46M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|  2.46M|    return (PyObject *) op;
   90|  2.46M|}
PyTuple_Size:
   94|  69.9k|{
   95|  69.9k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  69.9k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  69.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (95:9): [True: 0, False: 69.9k]
  ------------------
   96|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|  69.9k|    else
  100|  69.9k|        return Py_SIZE(op);
  ------------------
  |  |  214|  69.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  69.9k|}
PyTuple_GetItem:
  105|   139k|{
  106|   139k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|   139k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   139k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 139k]
  ------------------
  107|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|   139k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|   139k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 139k]
  |  Branch (110:18): [True: 0, False: 139k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  112|      0|        return NULL;
  113|      0|    }
  114|   139k|    return ((PyTupleObject *)op) -> ob_item[i];
  115|   139k|}
PyTuple_SetItem:
  119|  3.88k|{
  120|  3.88k|    PyObject **p;
  121|  3.88k|    if (!PyTuple_Check(op) || !_PyObject_IsUniquelyReferenced(op)) {
  ------------------
  |  |   27|  3.88k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.76k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (121:9): [True: 0, False: 3.88k]
  |  Branch (121:31): [True: 0, False: 3.88k]
  ------------------
  122|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  124|      0|        return -1;
  125|      0|    }
  126|  3.88k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  3.88k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 0, False: 3.88k]
  |  Branch (126:18): [True: 0, False: 3.88k]
  ------------------
  127|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|      0|        PyErr_SetString(PyExc_IndexError,
  129|      0|                        "tuple assignment index out of range");
  130|      0|        return -1;
  131|      0|    }
  132|  3.88k|    p = ((PyTupleObject *)op) -> ob_item + i;
  133|  3.88k|    Py_XSETREF(*p, newitem);
  ------------------
  |  |  374|  3.88k|    do { \
  |  |  375|  3.88k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.88k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.88k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.88k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.88k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.88k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.88k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.88k]
  |  |  ------------------
  ------------------
  134|  3.88k|    return 0;
  135|  3.88k|}
_PyTuple_MaybeUntrack:
  139|   129k|{
  140|   129k|    PyTupleObject *t;
  141|   129k|    Py_ssize_t i, n;
  142|       |
  143|   129k|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|   129k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   258k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|   129k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (143:9): [True: 0, False: 129k]
  |  Branch (143:36): [True: 0, False: 129k]
  ------------------
  144|      0|        return;
  145|   129k|    t = (PyTupleObject *) op;
  146|   129k|    n = Py_SIZE(t);
  ------------------
  |  |  214|   129k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|  2.18M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (147:17): [True: 2.12M, False: 62.8k]
  ------------------
  148|  2.12M|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|  2.12M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.12M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|       |        /* Tuple with NULL elements aren't
  150|       |           fully constructed, don't untrack
  151|       |           them yet. */
  152|  2.12M|        if (!elt ||
  ------------------
  |  Branch (152:13): [True: 0, False: 2.12M]
  ------------------
  153|  2.12M|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (153:13): [True: 66.1k, False: 2.05M]
  ------------------
  154|  66.1k|            return;
  155|  2.12M|    }
  156|  62.8k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  62.8k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  62.8k|}
PyTuple_Pack:
  173|  10.5k|{
  174|  10.5k|    Py_ssize_t i;
  175|  10.5k|    PyObject *o;
  176|  10.5k|    PyObject **items;
  177|  10.5k|    va_list vargs;
  178|  10.5k|    bool track = false;
  179|       |
  180|  10.5k|    if (n == 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 10.5k]
  ------------------
  181|      0|        return tuple_get_empty();
  182|      0|    }
  183|       |
  184|  10.5k|    va_start(vargs, n);
  185|  10.5k|    PyTupleObject *result = tuple_alloc(n);
  186|  10.5k|    if (result == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 10.5k]
  ------------------
  187|      0|        va_end(vargs);
  188|      0|        return NULL;
  189|      0|    }
  190|  10.5k|    items = result->ob_item;
  191|  56.2k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (191:17): [True: 45.7k, False: 10.5k]
  ------------------
  192|  45.7k|        o = va_arg(vargs, PyObject *);
  193|  45.7k|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (193:13): [True: 11.5k, False: 34.1k]
  |  Branch (193:23): [True: 10.0k, False: 1.53k]
  ------------------
  194|  10.0k|            track = true;
  195|  10.0k|        }
  196|  45.7k|        items[i] = Py_NewRef(o);
  ------------------
  |  |  550|  45.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  45.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  45.7k|    }
  198|  10.5k|    va_end(vargs);
  199|  10.5k|    if (track) {
  ------------------
  |  Branch (199:9): [True: 10.0k, False: 510]
  ------------------
  200|  10.0k|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  508|  10.0k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  10.0k|    }
  202|  10.5k|    return (PyObject *)result;
  203|  10.5k|}
_PyTuple_FromPair:
  207|  67.7k|{
  208|  67.7k|    assert(first != NULL);
  209|  67.7k|    assert(second != NULL);
  210|       |
  211|  67.7k|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  67.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  67.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  67.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  67.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  67.7k|}
_PyTuple_FromPairSteal:
  216|   552k|{
  217|   552k|    assert(first != NULL);
  218|   552k|    assert(second != NULL);
  219|       |
  220|   552k|    PyTupleObject *op = tuple_alloc(2);
  221|   552k|    if (op == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 552k]
  ------------------
  222|      0|        Py_DECREF(first);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|      0|        Py_DECREF(second);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      0|        return NULL;
  225|      0|    }
  226|   552k|    PyObject **items = op->ob_item;
  227|   552k|    items[0] = first;
  228|   552k|    items[1] = second;
  229|   552k|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (229:9): [True: 4.98k, False: 547k]
  |  Branch (229:33): [True: 65.5k, False: 481k]
  ------------------
  230|  70.5k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  70.5k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  70.5k|    }
  232|   552k|    return (PyObject *)op;
  233|   552k|}
PyTuple_FromArray:
  437|  19.8M|{
  438|  19.8M|    if (n == 0) {
  ------------------
  |  Branch (438:9): [True: 456k, False: 19.3M]
  ------------------
  439|   456k|        return tuple_get_empty();
  440|   456k|    }
  441|       |
  442|  19.3M|    PyTupleObject *tuple = tuple_alloc(n);
  443|  19.3M|    if (tuple == NULL) {
  ------------------
  |  Branch (443:9): [True: 0, False: 19.3M]
  ------------------
  444|      0|        return NULL;
  445|      0|    }
  446|  19.3M|    PyObject **dst = tuple->ob_item;
  447|  19.3M|    bool track = false;
  448|  39.7M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (448:28): [True: 20.3M, False: 19.3M]
  ------------------
  449|  20.3M|        PyObject *item = src[i];
  450|  20.3M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (450:13): [True: 19.6M, False: 686k]
  |  Branch (450:23): [True: 1.51M, False: 18.1M]
  ------------------
  451|  1.51M|            track = true;
  452|  1.51M|        }
  453|  20.3M|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  550|  20.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|  20.3M|    }
  455|  19.3M|    if (track) {
  ------------------
  |  Branch (455:9): [True: 1.51M, False: 17.8M]
  ------------------
  456|  1.51M|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  1.51M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|  1.51M|    }
  458|  19.3M|    return (PyObject *)tuple;
  459|  19.3M|}
_PyTuple_FromStackRefStealOnSuccess:
  463|  5.38M|{
  464|  5.38M|    if (n == 0) {
  ------------------
  |  Branch (464:9): [True: 0, False: 5.38M]
  ------------------
  465|      0|        return tuple_get_empty();
  466|      0|    }
  467|  5.38M|    PyTupleObject *tuple = tuple_alloc(n);
  468|  5.38M|    if (tuple == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 5.38M]
  ------------------
  469|      0|        return NULL;
  470|      0|    }
  471|  5.38M|    PyObject **dst = tuple->ob_item;
  472|  5.38M|    bool track = false;
  473|  16.9M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (473:28): [True: 11.5M, False: 5.38M]
  ------------------
  474|  11.5M|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  475|  11.5M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (475:13): [True: 6.84M, False: 4.74M]
  |  Branch (475:23): [True: 4.68M, False: 2.16M]
  ------------------
  476|  4.68M|            track = true;
  477|  4.68M|        }
  478|  11.5M|        dst[i] = item;
  479|  11.5M|    }
  480|  5.38M|    if (track) {
  ------------------
  |  Branch (480:9): [True: 4.68M, False: 703k]
  ------------------
  481|  4.68M|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  4.68M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  4.68M|    }
  483|  5.38M|    return (PyObject *)tuple;
  484|  5.38M|}
_PyTuple_FromArraySteal:
  488|  2.75M|{
  489|  2.75M|    if (n == 0) {
  ------------------
  |  Branch (489:9): [True: 4, False: 2.75M]
  ------------------
  490|      4|        return tuple_get_empty();
  491|      4|    }
  492|  2.75M|    PyTupleObject *tuple = tuple_alloc(n);
  493|  2.75M|    if (tuple == NULL) {
  ------------------
  |  Branch (493:9): [True: 0, False: 2.75M]
  ------------------
  494|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (494:32): [True: 0, False: 0]
  ------------------
  495|      0|            Py_DECREF(src[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|        }
  497|      0|        return NULL;
  498|      0|    }
  499|  2.75M|    PyObject **dst = tuple->ob_item;
  500|  7.55M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (500:28): [True: 4.80M, False: 2.75M]
  ------------------
  501|  4.80M|        PyObject *item = src[i];
  502|  4.80M|        dst[i] = item;
  503|  4.80M|    }
  504|  2.75M|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  2.75M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|  2.75M|    return (PyObject *)tuple;
  506|  2.75M|}
_PyTuple_BinarySlice:
  526|  32.4k|{
  527|  32.4k|    assert(PyTuple_CheckExact(container));
  528|  32.4k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  32.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  32.4k|    Py_ssize_t istart, istop;
  530|  32.4k|    if (!_PyEval_UnpackIndices(start, stop, len, &istart, &istop)) {
  ------------------
  |  Branch (530:9): [True: 0, False: 32.4k]
  ------------------
  531|      0|        return NULL;
  532|      0|    }
  533|  32.4k|    if (istart == 0 && istop == len) {
  ------------------
  |  Branch (533:9): [True: 24.4k, False: 8.01k]
  |  Branch (533:24): [True: 12.2k, False: 12.1k]
  ------------------
  534|  12.2k|        return Py_NewRef(container);
  ------------------
  |  |  550|  12.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|  12.2k|    }
  536|  20.1k|    if (istop < istart) {
  ------------------
  |  Branch (536:9): [True: 0, False: 20.1k]
  ------------------
  537|      0|        istop = istart;
  538|      0|    }
  539|  20.1k|    return PyTuple_FromArray(((PyTupleObject *)container)->ob_item + istart,
  540|  20.1k|                             istop - istart);
  541|  32.4k|}
PyTuple_GetSlice:
  545|  74.3k|{
  546|  74.3k|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|  74.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  74.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:9): [True: 0, False: 74.3k]
  |  Branch (546:23): [True: 0, False: 74.3k]
  ------------------
  547|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  548|      0|        return NULL;
  549|      0|    }
  550|  74.3k|    return tuple_slice((PyTupleObject *)op, i, j);
  551|  74.3k|}
_PyTuple_Concat:
  555|   173k|{
  556|   173k|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|   173k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  557|   173k|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  214|   173k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   173k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   28|  3.93k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.93k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.93k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (557:9): [True: 3.93k, False: 169k]
  ------------------
  558|  3.93k|        return Py_NewRef(bb);
  ------------------
  |  |  550|  3.93k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|  3.93k|    }
  560|   169k|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   27|   169k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   169k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (560:9): [True: 0, False: 169k]
  ------------------
  561|      0|        PyErr_Format(PyExc_TypeError,
  562|      0|             "can only concatenate tuple (not \"%.200s\") to tuple",
  563|      0|                 Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return NULL;
  565|      0|    }
  566|   169k|    PyTupleObject *b = (PyTupleObject *)bb;
  567|       |
  568|   169k|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|   169k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|     20|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (568:9): [True: 20, False: 169k]
  ------------------
  569|     20|        return Py_NewRef(a);
  ------------------
  |  |  550|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|     20|    }
  571|   169k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  572|   169k|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|   169k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|   169k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|   169k|    if (size == 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 169k]
  ------------------
  574|      0|        return tuple_get_empty();
  575|      0|    }
  576|       |
  577|   169k|    PyTupleObject *np = tuple_alloc(size);
  578|   169k|    if (np == NULL) {
  ------------------
  |  Branch (578:9): [True: 0, False: 169k]
  ------------------
  579|      0|        return NULL;
  580|      0|    }
  581|       |
  582|   169k|    PyObject **src = a->ob_item;
  583|   169k|    PyObject **dest = np->ob_item;
  584|  12.0M|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|  12.0M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (584:28): [True: 11.9M, False: 169k]
  ------------------
  585|  11.9M|        PyObject *v = src[i];
  586|  11.9M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  11.9M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|  11.9M|    }
  588|       |
  589|   169k|    src = b->ob_item;
  590|   169k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|   169k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|   356k|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|   356k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (591:28): [True: 186k, False: 169k]
  ------------------
  592|   186k|        PyObject *v = src[i];
  593|   186k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|   186k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   186k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|   186k|    }
  595|       |
  596|   169k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  508|   169k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|   169k|    return (PyObject *)np;
  598|   169k|}
_PyTuple_Resize:
 1035|     80|{
 1036|     80|    PyTupleObject *v;
 1037|     80|    PyTupleObject *sv;
 1038|     80|    Py_ssize_t i;
 1039|     80|    Py_ssize_t oldsize;
 1040|       |
 1041|     80|    v = (PyTupleObject *) *pv;
 1042|     80|    if (v == NULL || !Py_IS_TYPE(v, &PyTuple_Type) ||
  ------------------
  |  |  215|    160|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1042:9): [True: 0, False: 80]
  |  Branch (1042:22): [True: 0, False: 80]
  ------------------
 1043|     80|        (Py_SIZE(v) != 0 && !_PyObject_IsUniquelyReferenced(*pv))) {
  ------------------
  |  |  214|     80|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1043:10): [True: 80, False: 0]
  |  Branch (1043:29): [True: 0, False: 80]
  ------------------
 1044|      0|        *pv = 0;
 1045|      0|        Py_XDECREF(v);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1047|      0|        return -1;
 1048|      0|    }
 1049|       |
 1050|     80|    oldsize = Py_SIZE(v);
  ------------------
  |  |  214|     80|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1051|     80|    if (oldsize == newsize) {
  ------------------
  |  Branch (1051:9): [True: 38, False: 42]
  ------------------
 1052|     38|        return 0;
 1053|     38|    }
 1054|     42|    if (newsize == 0) {
  ------------------
  |  Branch (1054:9): [True: 38, False: 4]
  ------------------
 1055|     38|        Py_DECREF(v);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|     38|        *pv = tuple_get_empty();
 1057|     38|        return 0;
 1058|     38|    }
 1059|      4|    if (oldsize == 0) {
  ------------------
  |  Branch (1059:9): [True: 0, False: 4]
  ------------------
 1060|       |#ifdef Py_DEBUG
 1061|       |        assert(v == &_Py_SINGLETON(tuple_empty));
 1062|       |#endif
 1063|       |        /* The empty tuple is statically allocated so we never
 1064|       |           resize it in-place. */
 1065|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|      0|        *pv = PyTuple_New(newsize);
 1067|      0|        return *pv == NULL ? -1 : 0;
  ------------------
  |  Branch (1067:16): [True: 0, False: 0]
  ------------------
 1068|      0|    }
 1069|       |
 1070|      4|    if (_PyObject_GC_IS_TRACKED(v)) {
  ------------------
  |  |   81|      4|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1071|      4|        _PyObject_GC_UNTRACK(v);
  ------------------
  |  |  510|      4|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      4|    }
 1073|       |#ifdef Py_TRACE_REFS
 1074|       |    _Py_ForgetReference((PyObject *) v);
 1075|       |#endif
 1076|       |    /* DECREF items deleted by shrinkage */
 1077|     12|    for (i = newsize; i < oldsize; i++) {
  ------------------
  |  Branch (1077:23): [True: 8, False: 4]
  ------------------
 1078|      8|        Py_CLEAR(v->ob_item[i]);
  ------------------
  |  |  484|      8|    do { \
  |  |  485|      8|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      8|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      8|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      8|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1079|      8|    }
 1080|      4|    _PyReftracerTrack((PyObject *)v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|      4|    do { \
  |  |  113|      4|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|      4|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1081|      4|    sv = PyObject_GC_Resize(PyTupleObject, v, newsize);
  ------------------
  |  |  161|      4|                ( (type *) _PyObject_GC_Resize(_PyVarObject_CAST(op), (n)) )
  |  |  ------------------
  |  |  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      4|    if (sv == NULL) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 4]
  ------------------
 1083|      0|        *pv = NULL;
 1084|       |#ifdef Py_REF_DEBUG
 1085|       |        _Py_DecRefTotal(_PyThreadState_GET());
 1086|       |#endif
 1087|      0|        PyObject_GC_Del(v);
 1088|      0|        return -1;
 1089|      0|    }
 1090|      4|    _Py_NewReferenceNoTotal((PyObject *) sv);
 1091|       |    /* Zero out items added by growing */
 1092|      4|    if (newsize > oldsize)
  ------------------
  |  Branch (1092:9): [True: 0, False: 4]
  ------------------
 1093|      0|        memset(&sv->ob_item[oldsize], 0,
 1094|      0|               sizeof(*sv->ob_item) * (newsize - oldsize));
 1095|      4|    *pv = (PyObject *) sv;
 1096|      4|    _PyObject_GC_TRACK(sv);
  ------------------
  |  |  508|      4|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|      4|    return 0;
 1098|      4|}
tupleobject.c:tuple_get_empty:
   70|  1.81M|{
   71|  1.81M|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  1.81M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  1.81M|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|  1.81M|}
tupleobject.c:tuple_alloc:
   38|  30.7M|{
   39|  30.7M|    if (size < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 30.7M]
  ------------------
   40|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|  30.7M|    assert(size != 0);    // The empty tuple is statically allocated.
   44|  30.7M|    Py_ssize_t index = size - 1;
   45|  30.7M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  30.7M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (45:9): [True: 30.5M, False: 158k]
  ------------------
   46|  30.5M|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  30.5M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  30.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  30.5M|        if (op != NULL) {
  ------------------
  |  Branch (47:13): [True: 30.4M, False: 91.9k]
  ------------------
   48|  30.4M|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  30.4M|    do {                                    \
  |  |   45|  30.4M|        assert(op != NULL);                 \
  |  |   46|  30.4M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  30.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  30.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 30.4M]
  |  |  ------------------
  ------------------
   49|  30.4M|            return op;
   50|  30.4M|        }
   51|  30.5M|    }
   52|       |    /* Check for overflow */
   53|   250k|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|   250k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (53:9): [True: 0, False: 250k]
  ------------------
   54|   250k|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   55|      0|        return (PyTupleObject *)PyErr_NoMemory();
   56|      0|    }
   57|   250k|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|   250k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|   250k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   58|   250k|    if (result != NULL) {
  ------------------
  |  Branch (58:9): [True: 250k, False: 0]
  ------------------
   59|       |        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|   250k|    do {                                    \
  |  |   45|   250k|        assert(op != NULL);                 \
  |  |   46|   250k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   250k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   250k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|   250k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 250k]
  |  |  ------------------
  ------------------
   60|   250k|    }
   61|   250k|    return result;
   62|   250k|}
tupleobject.c:maybe_tracked:
  167|  27.6M|{
  168|  27.6M|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  828|  27.6M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  27.6M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  169|  27.6M|}
tupleobject.c:tuple_slice:
  511|  74.3k|{
  512|  74.3k|    if (ilow < 0)
  ------------------
  |  Branch (512:9): [True: 0, False: 74.3k]
  ------------------
  513|      0|        ilow = 0;
  514|  74.3k|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  74.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (514:9): [True: 78, False: 74.2k]
  ------------------
  515|     78|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|     78|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  74.3k|    if (ihigh < ilow)
  ------------------
  |  Branch (516:9): [True: 0, False: 74.3k]
  ------------------
  517|      0|        ihigh = ilow;
  518|  74.3k|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|   128k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (518:9): [True: 54.4k, False: 19.8k]
  |  Branch (518:22): [True: 0, False: 54.4k]
  ------------------
  519|      0|        return Py_NewRef(a);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|    }
  521|  74.3k|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  522|  74.3k|}
tupleobject.c:tuple_dealloc:
  256|  30.7M|{
  257|  30.7M|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  30.7M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  258|  30.7M|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  30.7M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 4, False: 30.7M]
  ------------------
  259|       |        /* The empty tuple is statically allocated. */
  260|      4|        if (op == &_Py_SINGLETON(tuple_empty)) {
  ------------------
  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  |  Branch (260:13): [True: 0, False: 4]
  ------------------
  261|       |#ifdef Py_DEBUG
  262|       |            _Py_FatalRefcountError("deallocating the empty tuple singleton");
  263|       |#else
  264|      0|            return;
  265|      0|#endif
  266|      0|        }
  267|       |#ifdef Py_DEBUG
  268|       |        /* tuple subclasses have their own empty instances. */
  269|       |        assert(!PyTuple_CheckExact(op));
  270|       |#endif
  271|      4|    }
  272|       |
  273|  30.7M|    PyObject_GC_UnTrack(op);
  274|       |
  275|  30.7M|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  30.7M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|   106M|    while (--i >= 0) {
  ------------------
  |  Branch (276:12): [True: 75.8M, False: 30.7M]
  ------------------
  277|  75.8M|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  75.8M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  75.8M|    }
  279|       |    // This will abort on the empty singleton (if there is one).
  280|  30.7M|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (280:9): [True: 267k, False: 30.4M]
  ------------------
  281|   267k|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|   267k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   267k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   267k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|   267k|    }
  283|  30.7M|}
tupleobject.c:tuple_repr:
  287|  54.1k|{
  288|  54.1k|    PyTupleObject *v = _PyTuple_CAST(self);
  ------------------
  |  |   19|  54.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  289|  54.1k|    Py_ssize_t n = PyTuple_GET_SIZE(v);
  ------------------
  |  |   27|  54.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|  54.1k|    if (n == 0) {
  ------------------
  |  Branch (290:9): [True: 0, False: 54.1k]
  ------------------
  291|      0|        return PyUnicode_FromString("()");
  292|      0|    }
  293|       |
  294|       |    /* While not mutable, it is still possible to end up with a cycle in a
  295|       |       tuple through an object that stores itself within a tuple (and thus
  296|       |       infinitely asks for the repr of itself). This should only be
  297|       |       possible within a type. */
  298|  54.1k|    int res = Py_ReprEnter((PyObject *)v);
  299|  54.1k|    if (res != 0) {
  ------------------
  |  Branch (299:9): [True: 0, False: 54.1k]
  ------------------
  300|      0|        return res > 0 ? PyUnicode_FromString("(...)") : NULL;
  ------------------
  |  Branch (300:16): [True: 0, False: 0]
  ------------------
  301|      0|    }
  302|       |
  303|  54.1k|    Py_ssize_t prealloc;
  304|  54.1k|    if (n > 1) {
  ------------------
  |  Branch (304:9): [True: 27.0k, False: 27.0k]
  ------------------
  305|       |        // "(" + "1" + ", 2" * (len - 1) + ")"
  306|  27.0k|        prealloc = 1 + 1 + (2 + 1) * (n - 1) + 1;
  307|  27.0k|    }
  308|  27.0k|    else {
  309|       |        // "(1,)"
  310|  27.0k|        prealloc = 4;
  311|  27.0k|    }
  312|  54.1k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(prealloc);
  313|  54.1k|    if (writer == NULL) {
  ------------------
  |  Branch (313:9): [True: 0, False: 54.1k]
  ------------------
  314|      0|        goto error;
  315|      0|    }
  316|       |
  317|  54.1k|    if (PyUnicodeWriter_WriteChar(writer, '(') < 0) {
  ------------------
  |  Branch (317:9): [True: 0, False: 54.1k]
  ------------------
  318|      0|        goto error;
  319|      0|    }
  320|       |
  321|       |    /* Do repr() on each element. */
  322|   135k|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (322:28): [True: 81.3k, False: 54.1k]
  ------------------
  323|  81.3k|        if (i > 0) {
  ------------------
  |  Branch (323:13): [True: 27.1k, False: 54.1k]
  ------------------
  324|  27.1k|            if (PyUnicodeWriter_WriteChar(writer, ',') < 0) {
  ------------------
  |  Branch (324:17): [True: 0, False: 27.1k]
  ------------------
  325|      0|                goto error;
  326|      0|            }
  327|  27.1k|            if (PyUnicodeWriter_WriteChar(writer, ' ') < 0) {
  ------------------
  |  Branch (327:17): [True: 0, False: 27.1k]
  ------------------
  328|      0|                goto error;
  329|      0|            }
  330|  27.1k|        }
  331|       |
  332|  81.3k|        if (PyUnicodeWriter_WriteRepr(writer, v->ob_item[i]) < 0) {
  ------------------
  |  Branch (332:13): [True: 0, False: 81.3k]
  ------------------
  333|      0|            goto error;
  334|      0|        }
  335|  81.3k|    }
  336|       |
  337|  54.1k|    if (n == 1) {
  ------------------
  |  Branch (337:9): [True: 27.0k, False: 27.0k]
  ------------------
  338|  27.0k|        if (PyUnicodeWriter_WriteChar(writer, ',') < 0) {
  ------------------
  |  Branch (338:13): [True: 0, False: 27.0k]
  ------------------
  339|      0|            goto error;
  340|      0|        }
  341|  27.0k|    }
  342|  54.1k|    if (PyUnicodeWriter_WriteChar(writer, ')') < 0) {
  ------------------
  |  Branch (342:9): [True: 0, False: 54.1k]
  ------------------
  343|      0|        goto error;
  344|      0|    }
  345|       |
  346|  54.1k|    Py_ReprLeave((PyObject *)v);
  347|  54.1k|    return PyUnicodeWriter_Finish(writer);
  348|       |
  349|      0|error:
  350|      0|    PyUnicodeWriter_Discard(writer);
  351|      0|    Py_ReprLeave((PyObject *)v);
  352|       |    return NULL;
  353|  54.1k|}
tupleobject.c:tuple_length:
  408|  2.59M|{
  409|  2.59M|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  2.59M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  410|  2.59M|    return Py_SIZE(a);
  ------------------
  |  |  214|  2.59M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|  2.59M|}
tupleobject.c:tuple_item:
  426|  7.98k|{
  427|  7.98k|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|  7.98k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  428|  7.98k|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|  7.98k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (428:9): [True: 0, False: 7.98k]
  |  Branch (428:18): [True: 38, False: 7.95k]
  ------------------
  429|     38|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  430|     38|        return NULL;
  431|     38|    }
  432|  7.95k|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  7.95k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  7.98k|}
tupleobject.c:tuple_contains:
  415|   200k|{
  416|   200k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|   200k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  417|   200k|    int cmp = 0;
  418|  2.06M|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|  2.05M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:28): [True: 2.05M, False: 15.8k]
  |  Branch (418:40): [True: 1.86M, False: 184k]
  ------------------
  419|  1.86M|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|  1.86M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.86M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|  1.86M|#define Py_EQ 2
  ------------------
  420|  1.86M|    }
  421|   200k|    return cmp;
  422|   200k|}
tupleobject.c:tuple_subscript:
  892|  12.6k|{
  893|  12.6k|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|  12.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  894|  12.6k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (894:9): [True: 563, False: 12.1k]
  ------------------
  895|    563|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  896|    563|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (896:13): [True: 382, False: 181]
  |  Branch (896:24): [True: 0, False: 382]
  ------------------
  897|      0|            return NULL;
  898|    563|        if (i < 0)
  ------------------
  |  Branch (898:13): [True: 382, False: 181]
  ------------------
  899|    382|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|    382|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|    563|        return tuple_item(op, i);
  901|    563|    }
  902|  12.1k|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  12.1k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  12.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|  12.1k|        Py_ssize_t start, stop, step, slicelength, i;
  904|  12.1k|        size_t cur;
  905|  12.1k|        PyObject* it;
  906|  12.1k|        PyObject **src, **dest;
  907|       |
  908|  12.1k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (908:13): [True: 0, False: 12.1k]
  ------------------
  909|      0|            return NULL;
  910|      0|        }
  911|  12.1k|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   27|  12.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|  12.1k|                                            &stop, step);
  913|       |
  914|  12.1k|        if (slicelength <= 0) {
  ------------------
  |  Branch (914:13): [True: 11.8k, False: 292]
  ------------------
  915|  11.8k|            return tuple_get_empty();
  916|  11.8k|        }
  917|    292|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (917:18): [True: 14, False: 278]
  |  Branch (917:32): [True: 10, False: 4]
  ------------------
  918|     10|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|    302|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:18): [True: 0, False: 10]
  ------------------
  919|      0|                 PyTuple_CheckExact(self)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      0|            return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|      0|        }
  922|    292|        else {
  923|    292|            PyTupleObject* result = tuple_alloc(slicelength);
  924|    292|            if (!result) return NULL;
  ------------------
  |  Branch (924:17): [True: 0, False: 292]
  ------------------
  925|       |
  926|    292|            src = self->ob_item;
  927|    292|            dest = result->ob_item;
  928|  1.25k|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (928:38): [True: 958, False: 292]
  ------------------
  929|    958|                 cur += step, i++) {
  930|    958|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  550|    958|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    958|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    958|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|    958|                dest[i] = it;
  932|    958|            }
  933|       |
  934|    292|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  508|    292|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  935|    292|            return (PyObject *)result;
  936|    292|        }
  937|  12.1k|    }
  938|      0|    else {
  939|      0|        PyErr_Format(PyExc_TypeError,
  940|      0|                     "tuple indices must be integers or slices, not %.200s",
  941|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|       |        return NULL;
  943|      0|    }
  944|  12.6k|}
tupleobject.c:tuple_hash:
  373|  3.64M|{
  374|  3.64M|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.64M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  375|       |
  376|  3.64M|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  149|  3.64M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  377|  3.64M|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (377:9): [True: 1.51M, False: 2.13M]
  ------------------
  378|  1.51M|        return acc;
  379|  1.51M|    }
  380|       |
  381|  2.13M|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|  2.13M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|  2.13M|    PyObject **item = v->ob_item;
  383|  2.13M|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|  2.13M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  384|  12.0M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (384:28): [True: 9.87M, False: 2.13M]
  ------------------
  385|  9.87M|        Py_uhash_t lane = PyObject_Hash(item[i]);
  386|  9.87M|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (386:13): [True: 0, False: 9.87M]
  ------------------
  387|      0|            return -1;
  388|      0|        }
  389|  9.87M|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|  9.87M|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  390|  9.87M|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|  9.87M|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  391|  9.87M|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|  9.87M|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  392|  9.87M|    }
  393|       |
  394|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  395|  2.13M|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|  2.13M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  396|       |
  397|  2.13M|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (397:9): [True: 0, False: 2.13M]
  ------------------
  398|      0|        acc = 1546275796;
  399|      0|    }
  400|       |
  401|  2.13M|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  194|  2.13M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  402|       |
  403|  2.13M|    return acc;
  404|  2.13M|}
tupleobject.c:tuple_traverse:
  719|  1.24M|{
  720|  1.24M|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  1.24M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  721|  10.1M|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  1.24M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (721:37): [True: 8.87M, False: 1.24M]
  ------------------
  722|  8.87M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  8.87M|    do {                                                                \
  |  |  195|  8.87M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8.87M, False: 0]
  |  |  ------------------
  |  |  196|  8.87M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  8.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  8.87M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8.87M]
  |  |  ------------------
  |  |  198|  8.87M|                return vret;                                            \
  |  |  199|  8.87M|        }                                                               \
  |  |  200|  8.87M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8.87M]
  |  |  ------------------
  ------------------
  723|  8.87M|    }
  724|  1.24M|    return 0;
  725|  1.24M|}
tupleobject.c:tuple_richcompare:
  729|  4.11M|{
  730|  4.11M|    PyTupleObject *vt, *wt;
  731|  4.11M|    Py_ssize_t i;
  732|  4.11M|    Py_ssize_t vlen, wlen;
  733|       |
  734|  4.11M|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  4.11M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.22M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  4.11M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.11M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (734:9): [True: 0, False: 4.11M]
  |  Branch (734:30): [True: 4, False: 4.11M]
  ------------------
  735|      4|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      4|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      4|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  736|       |
  737|  4.11M|    vt = (PyTupleObject *)v;
  738|  4.11M|    wt = (PyTupleObject *)w;
  739|       |
  740|  4.11M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  4.11M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  4.11M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  4.11M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|       |
  743|       |    /* Note:  the corresponding code for lists has an "early out" test
  744|       |     * here when op is EQ or NE and the lengths differ.  That pays there,
  745|       |     * but Tim was unable to find any real code where EQ/NE tuple
  746|       |     * compares don't have the same length, so testing for it here would
  747|       |     * have cost without benefit.
  748|       |     */
  749|       |
  750|       |    /* Search for the first index where items are different.
  751|       |     * Note that because tuples are immutable, it's safe to reuse
  752|       |     * vlen and wlen across the comparison calls.
  753|       |     */
  754|  13.0M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (754:17): [True: 9.57M, False: 3.43M]
  |  Branch (754:29): [True: 9.57M, False: 0]
  ------------------
  755|  9.57M|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  756|  9.57M|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  9.57M|#define Py_EQ 2
  ------------------
  757|  9.57M|        if (k < 0)
  ------------------
  |  Branch (757:13): [True: 0, False: 9.57M]
  ------------------
  758|      0|            return NULL;
  759|  9.57M|        if (!k)
  ------------------
  |  Branch (759:13): [True: 681k, False: 8.89M]
  ------------------
  760|   681k|            break;
  761|  9.57M|    }
  762|       |
  763|  4.11M|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (763:9): [True: 3.43M, False: 681k]
  |  Branch (763:22): [True: 0, False: 681k]
  ------------------
  764|       |        /* No more items to compare -- compare sizes */
  765|  3.43M|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|  3.43M|    do {                                                                    \
  |  |  675|  3.43M|        switch (op) {                                                       \
  |  |  676|  3.43M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  3.43M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  3.43M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  3.43M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 3.43M, False: 28]
  |  |  |  Branch (676:25): [True: 3.43M, False: 0]
  |  |  ------------------
  |  |  677|  3.43M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|     28|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|     28|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     28|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 28, False: 3.43M]
  |  |  |  Branch (677:25): [True: 0, False: 28]
  |  |  ------------------
  |  |  678|     28|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 3.43M]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 3.43M]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 3.43M]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 3.43M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 3.43M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  3.43M|        }                                                                   \
  |  |  685|  3.43M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  766|  3.43M|    }
  767|       |
  768|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  769|   681k|    if (op == Py_EQ) {
  ------------------
  |  |  654|   681k|#define Py_EQ 2
  ------------------
  |  Branch (769:9): [True: 194k, False: 487k]
  ------------------
  770|   194k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|   194k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|   194k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|   194k|    }
  772|   487k|    if (op == Py_NE) {
  ------------------
  |  |  655|   487k|#define Py_NE 3
  ------------------
  |  Branch (772:9): [True: 152k, False: 334k]
  ------------------
  773|   152k|        Py_RETURN_TRUE;
  ------------------
  |  |   44|   152k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|   152k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|   152k|    }
  775|       |
  776|       |    /* Compare the final item again using the proper operator */
  777|   334k|    return PyObject_RichCompare(vt->ob_item[i], wt->ob_item[i], op);
  778|   487k|}
tupleobject.c:tuple_index_impl:
  666|    376|{
  667|    376|    Py_ssize_t i;
  668|       |
  669|    376|    if (start < 0) {
  ------------------
  |  Branch (669:9): [True: 0, False: 376]
  ------------------
  670|      0|        start += Py_SIZE(self);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|      0|        if (start < 0)
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  ------------------
  672|      0|            start = 0;
  673|      0|    }
  674|    376|    if (stop < 0) {
  ------------------
  |  Branch (674:9): [True: 0, False: 376]
  ------------------
  675|      0|        stop += Py_SIZE(self);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      0|    }
  677|    376|    else if (stop > Py_SIZE(self)) {
  ------------------
  |  |  214|    376|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (677:14): [True: 376, False: 0]
  ------------------
  678|    376|        stop = Py_SIZE(self);
  ------------------
  |  |  214|    376|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|    376|    }
  680|    486|    for (i = start; i < stop; i++) {
  ------------------
  |  Branch (680:21): [True: 194, False: 292]
  ------------------
  681|    194|        int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ);
  ------------------
  |  |  654|    194|#define Py_EQ 2
  ------------------
  682|    194|        if (cmp > 0)
  ------------------
  |  Branch (682:13): [True: 84, False: 110]
  ------------------
  683|     84|            return PyLong_FromSsize_t(i);
  684|    110|        else if (cmp < 0)
  ------------------
  |  Branch (684:18): [True: 0, False: 110]
  ------------------
  685|      0|            return NULL;
  686|    194|    }
  687|    292|    PyErr_SetString(PyExc_ValueError, "tuple.index(x): x not in tuple");
  688|       |    return NULL;
  689|    376|}
tupleobject.c:tuple_new_impl:
  800|   218k|{
  801|   218k|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (801:9): [True: 109k, False: 109k]
  ------------------
  802|   109k|        return tuple_subtype_new(type, iterable);
  803|       |
  804|   109k|    if (iterable == NULL) {
  ------------------
  |  Branch (804:9): [True: 0, False: 109k]
  ------------------
  805|      0|        return tuple_get_empty();
  806|      0|    }
  807|   109k|    else {
  808|   109k|        return PySequence_Tuple(iterable);
  809|   109k|    }
  810|   109k|}
tupleobject.c:tuple_subtype_new:
  835|   109k|{
  836|   109k|    PyObject *tmp, *newobj, *item;
  837|   109k|    Py_ssize_t i, n;
  838|       |
  839|   109k|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  840|       |    // tuple subclasses must implement the GC protocol
  841|   109k|    assert(_PyType_IS_GC(type));
  842|       |
  843|   109k|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  844|   109k|    if (tmp == NULL)
  ------------------
  |  Branch (844:9): [True: 0, False: 109k]
  ------------------
  845|      0|        return NULL;
  846|   109k|    assert(PyTuple_Check(tmp));
  847|       |    /* This may allocate an empty tuple that is not the global one. */
  848|   109k|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   27|   109k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|   109k|    if (newobj == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 109k]
  ------------------
  850|      0|        Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|      0|        return NULL;
  852|      0|    }
  853|   331k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (853:17): [True: 222k, False: 109k]
  ------------------
  854|   222k|        item = PyTuple_GET_ITEM(tmp, i);
  ------------------
  |  |   29|   222k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   222k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|   222k|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|   222k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|   222k|    }
  857|   109k|    Py_DECREF(tmp);
  ------------------
  |  |  430|   109k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|       |
  859|   109k|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   44|   109k|    do {                                    \
  |  |   45|   109k|        assert(op != NULL);                 \
  |  |   46|   109k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   109k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|   109k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 109k]
  |  |  ------------------
  ------------------
  860|       |
  861|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  862|   109k|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   81|   109k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (862:9): [True: 0, False: 109k]
  ------------------
  863|      0|        _PyObject_GC_TRACK(newobj);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|      0|    }
  865|   109k|    return newobj;
  866|   109k|}
tupleobject.c:tuple_vectorcall:
  815|     52|{
  816|     52|    if (!_PyArg_NoKwnames("tuple", kwnames)) {
  ------------------
  |  |   15|     52|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 52, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  817|      0|        return NULL;
  818|      0|    }
  819|       |
  820|     52|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     52|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  821|     52|    if (!_PyArg_CheckPositional("tuple", nargs, 0, 1)) {
  ------------------
  |  |   31|     52|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 52, False: 0]
  |  |  |  Branch (31:27): [True: 52, False: 0]
  |  |  ------------------
  |  |   32|     52|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  822|      0|        return NULL;
  823|      0|    }
  824|       |
  825|     52|    if (nargs) {
  ------------------
  |  Branch (825:9): [True: 52, False: 0]
  ------------------
  826|     52|        return tuple_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     52|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  827|     52|    }
  828|      0|    else {
  829|      0|        return tuple_get_empty();
  830|      0|    }
  831|     52|}
tupleobject.c:tuple_iteritem:
  881|  2.33k|{
  882|  2.33k|    if (index >= PyTuple_GET_SIZE(obj)) {
  ------------------
  |  |   27|  2.33k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (882:9): [True: 50, False: 2.28k]
  ------------------
  883|     50|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  884|     50|    }
  885|  2.28k|    PyObject *result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   29|  2.28k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|  2.28k|    Py_INCREF(result);
  ------------------
  |  |  310|  2.28k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|  2.28k|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  888|  2.33k|}
tupleobject.c:tupleiter_dealloc:
 1106|   159k|{
 1107|   159k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1102|   159k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1108|   159k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|   159k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|   159k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|   159k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|   159k|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
 1111|   159k|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|   159k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   159k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|   159k|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1112|   159k|}
tupleobject.c:tupleiter_next:
 1124|  14.1M|{
 1125|  14.1M|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1102|  14.1M|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1126|  14.1M|    PyTupleObject *seq;
 1127|  14.1M|    PyObject *item;
 1128|       |
 1129|  14.1M|    assert(it != NULL);
 1130|  14.1M|    seq = it->it_seq;
 1131|  14.1M|#ifndef Py_GIL_DISABLED
 1132|  14.1M|    if (seq == NULL)
  ------------------
  |  Branch (1132:9): [True: 0, False: 14.1M]
  ------------------
 1133|      0|        return NULL;
 1134|  14.1M|#endif
 1135|  14.1M|    assert(PyTuple_Check(seq));
 1136|       |
 1137|  14.1M|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  14.1M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1138|  14.1M|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|  14.1M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1138:9): [True: 13.9M, False: 158k]
  ------------------
 1139|  13.9M|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|  13.9M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1140|  13.9M|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|  13.9M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  13.9M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  13.9M|        return Py_NewRef(item);
  ------------------
  |  |  550|  13.9M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  13.9M|    }
 1143|       |
 1144|   158k|#ifndef Py_GIL_DISABLED
 1145|   158k|    it->it_seq = NULL;
 1146|   158k|    Py_DECREF(seq);
  ------------------
  |  |  430|   158k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|   158k|#endif
 1148|       |    return NULL;
 1149|  14.1M|}
tupleobject.c:tuple_iter:
 1253|   159k|{
 1254|   159k|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|   159k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   159k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1254:9): [True: 0, False: 159k]
  ------------------
 1255|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1256|      0|        return NULL;
 1257|      0|    }
 1258|   159k|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|   159k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1259|   159k|    if (it == NULL) {
  ------------------
  |  Branch (1259:9): [True: 10, False: 159k]
  ------------------
 1260|     10|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|     10|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1261|     10|        if (it == NULL)
  ------------------
  |  Branch (1261:13): [True: 0, False: 10]
  ------------------
 1262|      0|            return NULL;
 1263|     10|    }
 1264|   159k|    it->it_index = 0;
 1265|   159k|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  550|   159k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1266|   159k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|   159k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1267|   159k|    return (PyObject *)it;
 1268|   159k|}
tupleobject.c:maybe_freelist_push:
 1277|  30.7M|{
 1278|  30.7M|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  30.7M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  30.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1278:9): [True: 109k, False: 30.6M]
  ------------------
 1279|   109k|        return 0;
 1280|   109k|    }
 1281|  30.6M|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  30.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|  30.6M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  30.6M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1282:9): [True: 30.4M, False: 157k]
  ------------------
 1283|  30.4M|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  30.4M|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  30.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  30.4M|    }
 1285|   157k|    return 0;
 1286|  30.6M|}

_PyStaticType_GetState:
  303|  26.5M|{
  304|       |    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  305|  26.5M|    return managed_static_type_state_get(interp, self);
  306|  26.5M|}
_PyType_GetDict:
  540|  54.6M|{
  541|       |    /* It returns a borrowed reference. */
  542|  54.6M|    return lookup_tp_dict(self);
  543|  54.6M|}
PyType_GetDict:
  547|    432|{
  548|    432|    PyObject *dict = lookup_tp_dict(self);
  549|    432|    return _Py_XNewRef(dict);
  550|    432|}
_PyType_GetBases:
  587|    420|{
  588|    420|    PyObject *res;
  589|       |
  590|    420|    BEGIN_TYPE_LOCK();
  591|    420|    res = lookup_tp_bases(self);
  592|    420|    Py_INCREF(res);
  ------------------
  |  |  310|    420|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|    420|    END_TYPE_LOCK();
  594|       |
  595|    420|    return res;
  596|    420|}
_PyType_HasSubclasses:
  761|      4|{
  762|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
  763|      4|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|      8|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (763:9): [True: 0, False: 4]
  ------------------
  764|       |        // XXX _PyStaticType_GetState() should never return NULL.
  765|      0|        && _PyStaticType_GetState(interp, self) == NULL)
  ------------------
  |  Branch (765:12): [True: 0, False: 0]
  ------------------
  766|      0|    {
  767|      0|        return 0;
  768|      0|    }
  769|      4|    if (lookup_tp_subclasses(self) == NULL) {
  ------------------
  |  Branch (769:9): [True: 4, False: 0]
  ------------------
  770|      4|        return 0;
  771|      4|    }
  772|      0|    return 1;
  773|      4|}
_PyType_GetSubclasses:
  777|    140|{
  778|    140|    PyObject *list = PyList_New(0);
  779|    140|    if (list == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 140]
  ------------------
  780|      0|        return NULL;
  781|      0|    }
  782|       |
  783|    140|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  784|    140|    if (subclasses == NULL) {
  ------------------
  |  Branch (784:9): [True: 116, False: 24]
  ------------------
  785|    116|        return list;
  786|    116|    }
  787|    140|    assert(PyDict_CheckExact(subclasses));
  788|       |    // The loop cannot modify tp_subclasses, there is no need
  789|       |    // to hold a strong reference (use a borrowed reference).
  790|       |
  791|     24|    Py_ssize_t i = 0;
  792|     24|    PyObject *ref;  // borrowed ref
  793|     76|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (793:12): [True: 52, False: 24]
  ------------------
  794|     52|        PyTypeObject *subclass = type_from_ref(ref);
  795|     52|        if (subclass == NULL) {
  ------------------
  |  Branch (795:13): [True: 0, False: 52]
  ------------------
  796|      0|            continue;
  797|      0|        }
  798|       |
  799|     52|        if (PyList_Append(list, _PyObject_CAST(subclass)) < 0) {
  ------------------
  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:13): [True: 0, False: 52]
  ------------------
  800|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      0|            return NULL;
  803|      0|        }
  804|     52|        Py_DECREF(subclass);
  ------------------
  |  |  430|     52|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|     52|    }
  806|     24|    return list;
  807|     24|}
_PyType_GetDocFromInternalDoc:
  914|     80|{
  915|     80|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  916|       |
  917|     80|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (917:9): [True: 0, False: 80]
  |  Branch (917:17): [True: 0, False: 80]
  ------------------
  918|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  919|      0|    }
  920|       |
  921|     80|    return PyUnicode_FromString(doc);
  922|     80|}
_PyType_GetTextSignatureFromInternalDoc:
  947|      2|{
  948|      2|    const char *start = find_signature(name, internal_doc);
  949|      2|    const char *end;
  950|       |
  951|      2|    if (start)
  ------------------
  |  Branch (951:9): [True: 2, False: 0]
  ------------------
  952|      2|        end = skip_signature(start);
  953|      0|    else
  954|      0|        end = NULL;
  955|      2|    if (!end) {
  ------------------
  |  Branch (955:9): [True: 0, False: 2]
  ------------------
  956|      0|        start = signature_from_flags(flags);
  957|      0|        if (start) {
  ------------------
  |  Branch (957:13): [True: 0, False: 0]
  ------------------
  958|      0|            return PyUnicode_FromString(start);
  959|      0|        }
  960|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  961|      0|    }
  962|       |
  963|       |    /* back "end" up until it points just past the final ')' */
  964|      2|    end -= SIGNATURE_END_MARKER_LENGTH - 1;
  ------------------
  |  |  846|      2|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  965|      2|    assert((end - start) >= 2); /* should be "()" at least */
  966|      2|    assert(end[-1] == ')');
  967|       |    assert(end[0] == '\n');
  968|      2|    return PyUnicode_FromStringAndSize(start, end - start);
  969|      2|}
_PyType_InitCache:
 1000|      2|{
 1001|      2|    struct type_cache *cache = &interp->types.type_cache;
 1002|  8.19k|    for (Py_ssize_t i = 0; i < (1 << MCACHE_SIZE_EXP); i++) {
  ------------------
  |  |  570|  8.19k|#define MCACHE_SIZE_EXP 12
  ------------------
  |  Branch (1002:28): [True: 8.19k, False: 2]
  ------------------
 1003|  8.19k|        struct type_cache_entry *entry = &cache->hashtable[i];
 1004|  8.19k|        assert(entry->name == NULL);
 1005|       |
 1006|  8.19k|        entry->version = 0;
 1007|       |        // Set to None so _PyType_LookupRef() can use Py_SETREF(),
 1008|       |        // rather than using slower Py_XSETREF().
 1009|  8.19k|        entry->name = Py_None;
  ------------------
  |  |  616|  8.19k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1010|       |        entry->value = NULL;
 1011|  8.19k|    }
 1012|      2|}
PyType_Modified:
 1244|    532|{
 1245|       |    // Quick check without the lock held
 1246|    532|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  189|    532|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1246:9): [True: 442, False: 90]
  ------------------
 1247|    442|        return;
 1248|    442|    }
 1249|       |
 1250|     90|    BEGIN_TYPE_LOCK();
 1251|     90|    type_modified_unlocked(type);
 1252|     90|    END_TYPE_LOCK();
 1253|     90|}
_PyType_SetVersion:
 1337|    392|{
 1338|    392|    BEGIN_TYPE_LOCK();
 1339|    392|    set_version_unlocked(tp, version);
 1340|    392|    END_TYPE_LOCK();
 1341|    392|}
_PyType_Name:
 1508|    374|{
 1509|    374|    assert(type->tp_name != NULL);
 1510|    374|    const char *s = strrchr(type->tp_name, '.');
 1511|    374|    if (s == NULL) {
  ------------------
  |  Branch (1511:9): [True: 32, False: 342]
  ------------------
 1512|     32|        s = type->tp_name;
 1513|     32|    }
 1514|    342|    else {
 1515|    342|        s++;
 1516|    342|    }
 1517|    374|    return s;
 1518|    374|}
_PyType_GetFullyQualifiedName:
 1654|  20.2k|{
 1655|  20.2k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  20.2k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1655:9): [True: 0, False: 20.2k]
  ------------------
 1656|      0|        return PyUnicode_FromString(type->tp_name);
 1657|      0|    }
 1658|       |
 1659|  20.2k|    PyObject *qualname = type_qualname((PyObject *)type, NULL);
 1660|  20.2k|    if (qualname == NULL) {
  ------------------
  |  Branch (1660:9): [True: 0, False: 20.2k]
  ------------------
 1661|      0|        return NULL;
 1662|      0|    }
 1663|       |
 1664|  20.2k|    PyObject *module = type_module(type);
 1665|  20.2k|    if (module == NULL) {
  ------------------
  |  Branch (1665:9): [True: 0, False: 20.2k]
  ------------------
 1666|      0|        Py_DECREF(qualname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|      0|        return NULL;
 1668|      0|    }
 1669|       |
 1670|  20.2k|    PyObject *result;
 1671|  20.2k|    if (PyUnicode_Check(module)
  ------------------
  |  |  103|  20.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  40.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 20.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|  20.2k|        && !_PyUnicode_Equal(module, &_Py_ID(builtins))
  ------------------
  |  |  919|  20.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1672:12): [True: 20.2k, False: 0]
  ------------------
 1673|  20.2k|        && !_PyUnicode_Equal(module, &_Py_ID(__main__)))
  ------------------
  |  |  919|  20.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1673:12): [True: 20.2k, False: 0]
  ------------------
 1674|  20.2k|    {
 1675|  20.2k|        result = PyUnicode_FromFormat("%U%c%U", module, sep, qualname);
 1676|  20.2k|    }
 1677|      0|    else {
 1678|      0|        result = Py_NewRef(qualname);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|      0|    }
 1680|  20.2k|    Py_DECREF(module);
  ------------------
  |  |  430|  20.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|  20.2k|    Py_DECREF(qualname);
  ------------------
  |  |  430|  20.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|  20.2k|    return result;
 1683|  20.2k|}
PyType_GetFullyQualifiedName:
 1687|  20.2k|{
 1688|  20.2k|    return _PyType_GetFullyQualifiedName(type, '.');
 1689|  20.2k|}
_PyType_AllocNoTrack:
 2508|  12.3M|{
 2509|  12.3M|    PyObject *obj;
 2510|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2511|       |     * bit of space by allocating one less item in certain cases, depending on
 2512|       |     * the type. However, given the extra complexity (e.g. an additional type
 2513|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2514|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2515|       |     * tuple. See GH-100659 and GH-81381. */
 2516|  12.3M|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2517|       |
 2518|  12.3M|    const size_t presize = _PyType_PreHeaderSize(type);
 2519|  12.3M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  12.3M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2519:9): [True: 257k, False: 12.1M]
  ------------------
 2520|   257k|        assert(type->tp_itemsize == 0);
 2521|   257k|        size += _PyInlineValuesSize(type);
 2522|   257k|    }
 2523|  12.3M|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2524|  12.3M|    if (alloc  == NULL) {
  ------------------
  |  Branch (2524:9): [True: 0, False: 12.3M]
  ------------------
 2525|      0|        return PyErr_NoMemory();
 2526|      0|    }
 2527|  12.3M|    obj = (PyObject *)(alloc + presize);
 2528|  12.3M|    if (presize) {
  ------------------
  |  Branch (2528:9): [True: 4.12M, False: 8.24M]
  ------------------
 2529|  4.12M|        ((PyObject **)alloc)[0] = NULL;
 2530|  4.12M|        ((PyObject **)alloc)[1] = NULL;
 2531|  4.12M|    }
 2532|  12.3M|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  12.3M|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  12.3M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 4.12M, False: 8.24M]
  |  |  ------------------
  ------------------
 2533|  4.12M|        _PyObject_GC_Link(obj);
 2534|  4.12M|    }
 2535|       |    // Zero out the object after the PyObject header. The header fields are
 2536|       |    // initialized by _PyObject_Init[Var]().
 2537|  12.3M|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2538|       |
 2539|  12.3M|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2539:9): [True: 12.2M, False: 113k]
  ------------------
 2540|  12.2M|        _PyObject_Init(obj, type);
 2541|  12.2M|    }
 2542|   113k|    else {
 2543|   113k|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2544|   113k|    }
 2545|  12.3M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  12.3M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2545:9): [True: 257k, False: 12.1M]
  ------------------
 2546|   257k|        _PyObject_InitInlineValues(obj, type);
 2547|   257k|    }
 2548|  12.3M|    return obj;
 2549|  12.3M|}
PyType_GenericAlloc:
 2553|  12.3M|{
 2554|  12.3M|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2555|  12.3M|    if (obj == NULL) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 12.3M]
  ------------------
 2556|      0|        return NULL;
 2557|      0|    }
 2558|       |
 2559|  12.3M|    if (_PyType_IS_GC(type)) {
  ------------------
  |  |  828|  12.3M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  12.3M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 4.11M, False: 8.24M]
  |  |  ------------------
  ------------------
 2560|  4.11M|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  508|  4.11M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2561|  4.11M|    }
 2562|  12.3M|    return obj;
 2563|  12.3M|}
PyType_GenericNew:
 2567|  8.05M|{
 2568|  8.05M|    return type->tp_alloc(type, 0);
 2569|  8.05M|}
PyType_IsSubtype:
 2925|  46.4M|{
 2926|  46.4M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2927|  46.4M|}
_PyObject_LookupSpecial:
 2946|  8.17M|{
 2947|  8.17M|    PyObject *res;
 2948|       |
 2949|  8.17M|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  8.17M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|  8.17M|    if (res != NULL) {
  ------------------
  |  Branch (2950:9): [True: 40.5k, False: 8.13M]
  ------------------
 2951|  40.5k|        descrgetfunc f;
 2952|  40.5k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|  40.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2952:13): [True: 40.5k, False: 0]
  ------------------
 2953|  40.5k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  352|  40.5k|    do { \
  |  |  353|  40.5k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  40.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  40.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  40.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  40.5k|        *_tmp_dst_ptr = (src); \
  |  |  356|  40.5k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  40.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  40.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 40.5k]
  |  |  ------------------
  ------------------
 2954|  40.5k|        }
 2955|  40.5k|    }
 2956|  8.17M|    return res;
 2957|  8.17M|}
_PyObject_LookupSpecialMethod:
 2966|   208k|{
 2967|   208k|    PyObject *self = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
 2968|   208k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, &method_and_self[0]);
  ------------------
  |  |  213|   208k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|   208k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(method_and_self[0]);
 2970|   208k|    if (method_o == NULL) {
  ------------------
  |  Branch (2970:9): [True: 0, False: 208k]
  ------------------
 2971|      0|        return 0;
 2972|      0|    }
 2973|       |
 2974|   208k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   208k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   208k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2974:9): [True: 208k, False: 0]
  ------------------
 2975|       |        /* Avoid temporary PyMethodObject */
 2976|   208k|        return 1;
 2977|   208k|    }
 2978|       |
 2979|      0|    descrgetfunc f = Py_TYPE(method_o)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|      0|    if (f != NULL) {
  ------------------
  |  Branch (2980:9): [True: 0, False: 0]
  ------------------
 2981|      0|        PyObject *func = f(method_o, self, (PyObject *)(Py_TYPE(self)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|      0|        if (func == NULL) {
  ------------------
  |  Branch (2982:13): [True: 0, False: 0]
  ------------------
 2983|      0|            return -1;
 2984|      0|        }
 2985|      0|        PyStackRef_CLEAR(method_and_self[0]); // clear method
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2986|      0|        method_and_self[0] = PyStackRef_FromPyObjectSteal(func);
 2987|      0|    }
 2988|      0|    PyStackRef_CLEAR(method_and_self[1]); // clear self
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2989|      0|    return 1;
 2990|      0|}
_PyObject_MaybeCallSpecialNoArgs:
 3202|  5.08k|{
 3203|       |    return maybe_call_special_no_args(self, attr, NULL);
 3204|  5.08k|}
_PyObject_MaybeCallSpecialOneArg:
 3208|  3.26k|{
 3209|       |    return maybe_call_special_one_arg(self, attr, arg, NULL);
 3210|  3.26k|}
PyType_GetFlags:
 4134|  99.1k|{
 4135|  99.1k|    return type->tp_flags;
 4136|  99.1k|}
_PyType_CalculateMetaclass:
 4149|  4.17k|{
 4150|  4.17k|    Py_ssize_t i, nbases;
 4151|  4.17k|    PyTypeObject *winner;
 4152|  4.17k|    PyObject *tmp;
 4153|  4.17k|    PyTypeObject *tmptype;
 4154|       |
 4155|       |    /* Determine the proper metatype to deal with this,
 4156|       |       and check for metatype conflicts while we're at it.
 4157|       |       Note that if some other metatype wins to contract,
 4158|       |       it's possible that its instances are not types. */
 4159|       |
 4160|  4.17k|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  4.17k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4161|  4.17k|    winner = metatype;
 4162|  8.18k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4162:17): [True: 4.01k, False: 4.17k]
  ------------------
 4163|  4.01k|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  4.01k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.01k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|  4.01k|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|  4.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|  4.01k|        if (PyType_IsSubtype(winner, tmptype))
  ------------------
  |  Branch (4165:13): [True: 3.94k, False: 70]
  ------------------
 4166|  3.94k|            continue;
 4167|     70|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4167:13): [True: 70, False: 0]
  ------------------
 4168|     70|            winner = tmptype;
 4169|     70|            continue;
 4170|     70|        }
 4171|       |        /* else: */
 4172|      0|        PyErr_SetString(PyExc_TypeError,
 4173|      0|                        "metaclass conflict: "
 4174|      0|                        "the metaclass of a derived class "
 4175|      0|                        "must be a (non-strict) subclass "
 4176|      0|                        "of the metaclasses of all its bases");
 4177|      0|        return NULL;
 4178|     70|    }
 4179|  4.17k|    return winner;
 4180|  4.17k|}
PyType_FromMetaclass:
 5796|     20|{
 5797|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5798|     20|}
PyType_FromModuleAndSpec:
 5802|    164|{
 5803|    164|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5804|    164|}
PyType_FromSpecWithBases:
 5808|     28|{
 5809|     28|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5810|     28|}
PyType_FromSpec:
 5814|     30|{
 5815|     30|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5816|     30|}
PyType_GetSlot:
 5838|    400|{
 5839|    400|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5840|    400|    return _PySlot_type_getslot(type, slot);
 5841|    400|}
PyType_GetModule:
 5856|     76|{
 5857|     76|    assert(PyType_Check(type));
 5858|     76|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     76|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5858:9): [True: 0, False: 76]
  ------------------
 5859|      0|        PyErr_Format(
 5860|      0|            PyExc_TypeError,
 5861|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5862|      0|            type->tp_name);
 5863|      0|        return NULL;
 5864|      0|    }
 5865|       |
 5866|     76|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5867|     76|    if (!et->ht_module) {
  ------------------
  |  Branch (5867:9): [True: 0, False: 76]
  ------------------
 5868|      0|        PyErr_Format(
 5869|      0|            PyExc_TypeError,
 5870|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5871|      0|            type->tp_name);
 5872|      0|        return NULL;
 5873|      0|    }
 5874|     76|    return et->ht_module;
 5875|     76|}
PyType_GetModuleState:
 5889|     16|{
 5890|     16|    PyObject *m = PyType_GetModule(type);
 5891|     16|    if (m == NULL) {
  ------------------
  |  Branch (5891:9): [True: 0, False: 16]
  ------------------
 5892|      0|        return NULL;
 5893|      0|    }
 5894|     16|    return _PyModule_GetState(m);
 5895|     16|}
PyType_GetModuleByToken_DuringGC:
 5902|  7.85M|{
 5903|  7.85M|    assert(PyType_Check(type));
 5904|       |
 5905|  7.85M|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  7.85M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5905:9): [True: 0, False: 7.85M]
  ------------------
 5906|       |        // type_ready_mro() ensures that no heap type is
 5907|       |        // contained in a static type MRO.
 5908|      0|        return NULL;
 5909|      0|    }
 5910|  7.85M|    else {
 5911|  7.85M|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5912|  7.85M|        PyObject *module = ht->ht_module;
 5913|  7.85M|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5913:13): [True: 7.85M, False: 2]
  |  Branch (5913:23): [True: 7.85M, False: 0]
  ------------------
 5914|  7.85M|            return module;
 5915|  7.85M|        }
 5916|  7.85M|    }
 5917|       |
 5918|      2|    PyObject *res = NULL;
 5919|      2|    BEGIN_TYPE_LOCK();
 5920|       |
 5921|      2|    PyObject *mro = lookup_tp_mro(type);
 5922|       |    // The type must be ready
 5923|      2|    assert(mro != NULL);
 5924|      2|    assert(PyTuple_Check(mro));
 5925|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5926|      2|    assert(PyTuple_GET_SIZE(mro) >= 1);
 5927|       |    // Also, the first item in the MRO is the type itself, which
 5928|       |    // we already checked above. We skip it in the loop.
 5929|      2|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
 5930|       |
 5931|      2|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5932|      2|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5932:28): [True: 2, False: 0]
  ------------------
 5933|      2|        PyObject *super = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5934|      2|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      2|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5934:13): [True: 0, False: 2]
  ------------------
 5935|       |            // Static types in the MRO need to be skipped
 5936|      0|            continue;
 5937|      0|        }
 5938|       |
 5939|      2|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5940|      2|        PyObject *module = ht->ht_module;
 5941|      2|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5941:13): [True: 2, False: 0]
  |  Branch (5941:23): [True: 2, False: 0]
  ------------------
 5942|      2|            res = module;
 5943|      2|            break;
 5944|      2|        }
 5945|      2|    }
 5946|      2|    END_TYPE_LOCK();
 5947|       |
 5948|      2|    return res;
 5949|  7.85M|}
PyType_GetModuleByDef:
 5959|  7.85M|{
 5960|  7.85M|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5961|  7.85M|    if (!mod) {
  ------------------
  |  Branch (5961:9): [True: 0, False: 7.85M]
  ------------------
 5962|      0|        PyErr_Format(
 5963|      0|            PyExc_TypeError,
 5964|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5965|      0|            type->tp_name);
 5966|      0|        return NULL;
 5967|      0|    }
 5968|  7.85M|    return mod;
 5969|  7.85M|}
PyObject_GetItemData:
 6121|   816k|{
 6122|       |    return getitemdata(obj, true);
 6123|   816k|}
_PyType_LookupRefAndVersion:
 6270|  25.5M|{
 6271|  25.5M|    _PyStackRef out;
 6272|  25.5M|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6273|  25.5M|    if (version) {
  ------------------
  |  Branch (6273:9): [True: 346k, False: 25.2M]
  ------------------
 6274|   346k|        *version = ver;
 6275|   346k|    }
 6276|  25.5M|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|  25.5M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  25.5M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  25.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 8.33M, False: 17.2M]
  |  |  ------------------
  ------------------
 6277|  8.33M|        return NULL;
 6278|  8.33M|    }
 6279|  17.2M|    return PyStackRef_AsPyObjectSteal(out);
 6280|  25.5M|}
_PyType_LookupStackRefAndVersion:
 6292|  81.9M|{
 6293|  81.9M|    unsigned int h = MCACHE_HASH_METHOD(type, name);
  ------------------
  |  |   54|  81.9M|    MCACHE_HASH(FT_ATOMIC_LOAD_UINT_RELAXED((type)->tp_version_tag),   \
  |  |  ------------------
  |  |  |  |   50|  81.9M|        (((unsigned int)(version) ^ (unsigned int)(name_hash))          \
  |  |  |  |   51|  81.9M|         & ((1 << MCACHE_SIZE_EXP) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  570|  81.9M|#define MCACHE_SIZE_EXP 12
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  81.9M|                ((Py_ssize_t)(name)) >> 3)
  ------------------
 6294|  81.9M|    struct type_cache *cache = get_type_cache();
 6295|  81.9M|    struct type_cache_entry *entry = &cache->hashtable[h];
 6296|       |#ifdef Py_GIL_DISABLED
 6297|       |    // synchronize-with other writing threads by doing an acquire load on the sequence
 6298|       |    while (1) {
 6299|       |        uint32_t sequence = _PySeqLock_BeginRead(&entry->sequence);
 6300|       |        uint32_t entry_version = _Py_atomic_load_uint32_acquire(&entry->version);
 6301|       |        uint32_t type_version = _Py_atomic_load_uint32_acquire(&type->tp_version_tag);
 6302|       |        if (entry_version == type_version &&
 6303|       |            _Py_atomic_load_ptr_relaxed(&entry->name) == name) {
 6304|       |            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
 6305|       |            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
 6306|       |            if (_Py_TryXGetStackRef(&entry->value, out)) {
 6307|       |                // If the sequence is still valid then we're done
 6308|       |                if (_PySeqLock_EndRead(&entry->sequence, sequence)) {
 6309|       |                    return entry_version;
 6310|       |                }
 6311|       |                PyStackRef_XCLOSE(*out);
 6312|       |            }
 6313|       |            else {
 6314|       |                // If we can't incref the object we need to fallback to locking
 6315|       |                break;
 6316|       |            }
 6317|       |        }
 6318|       |        else {
 6319|       |            // cache miss
 6320|       |            break;
 6321|       |        }
 6322|       |    }
 6323|       |#else
 6324|  81.9M|    if (entry->version == type->tp_version_tag && entry->name == name) {
  ------------------
  |  Branch (6324:9): [True: 81.1M, False: 720k]
  |  Branch (6324:51): [True: 78.8M, False: 2.38M]
  ------------------
 6325|  78.8M|        assert(type->tp_version_tag);
 6326|  78.8M|        OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  78.8M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6327|  78.8M|        OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  78.8M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6328|  78.8M|        *out = entry->value ? PyStackRef_FromPyObjectNew(entry->value) : PyStackRef_NULL;
  ------------------
  |  |  611|  41.2M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6328:16): [True: 41.2M, False: 37.5M]
  ------------------
 6329|  78.8M|        return entry->version;
 6330|  78.8M|    }
 6331|  3.10M|#endif
 6332|  3.10M|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  3.10M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6333|  3.10M|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  3.10M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6334|       |
 6335|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6336|  3.10M|    assert(!PyErr_Occurred());
 6337|       |
 6338|  3.10M|    int res;
 6339|  3.10M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6340|       |
 6341|  3.10M|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  188|  3.10M|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6342|  3.10M|    if (should_assign_version_tag(type, name, version_tag)) {
  ------------------
  |  Branch (6342:9): [True: 2.86k, False: 3.09M]
  ------------------
 6343|  2.86k|        BEGIN_TYPE_LOCK();
 6344|  2.86k|        assign_version_tag(interp, type);
 6345|  2.86k|        version_tag = type->tp_version_tag;
 6346|  2.86k|        res = find_name_in_mro(type, name, out);
 6347|  2.86k|        END_TYPE_LOCK();
 6348|  2.86k|    }
 6349|  3.09M|    else {
 6350|  3.09M|        res = find_name_in_mro(type, name, out);
 6351|  3.09M|    }
 6352|       |
 6353|       |    /* Only put NULL results into cache if there was no error. */
 6354|  3.10M|    if (res < 0) {
  ------------------
  |  Branch (6354:9): [True: 0, False: 3.10M]
  ------------------
 6355|      0|        *out = PyStackRef_NULL;
 6356|      0|        return 0;
 6357|      0|    }
 6358|       |
 6359|  3.10M|    if (version_tag == 0 || !MCACHE_CACHEABLE_NAME(name)) {
  ------------------
  |  |   57|  3.10M|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|  3.10M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  6.20M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 3.10M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|  3.10M|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|  3.10M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|  3.10M|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 3.10M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6359:9): [True: 0, False: 3.10M]
  ------------------
 6360|      0|        return 0;
 6361|      0|    }
 6362|       |
 6363|  3.10M|    PyObject *res_obj = PyStackRef_AsPyObjectBorrow(*out);
 6364|       |#if Py_GIL_DISABLED
 6365|       |    update_cache_gil_disabled(entry, name, version_tag, res_obj);
 6366|       |#else
 6367|  3.10M|    PyObject *old_value = update_cache(entry, name, version_tag, res_obj);
 6368|  3.10M|    Py_DECREF(old_value);
  ------------------
  |  |  430|  3.10M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6369|  3.10M|#endif
 6370|  3.10M|    return version_tag;
 6371|  3.10M|}
_PyType_LookupRef:
 6378|  25.1M|{
 6379|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6380|  25.1M|}
_PyType_Lookup:
 6386|  34.4k|{
 6387|  34.4k|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6388|  34.4k|    Py_XDECREF(res);
  ------------------
  |  |  524|  34.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6389|  34.4k|    return res;
 6390|  34.4k|}
_PyType_CacheInitForSpecialization:
 6395|     73|{
 6396|     73|    if (!init || !tp_version) {
  ------------------
  |  Branch (6396:9): [True: 0, False: 73]
  |  Branch (6396:18): [True: 0, False: 73]
  ------------------
 6397|      0|        return 0;
 6398|      0|    }
 6399|     73|    int can_cache;
 6400|     73|    BEGIN_TYPE_LOCK();
 6401|     73|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6402|       |    #ifdef Py_GIL_DISABLED
 6403|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6404|       |    #endif
 6405|     73|    if (can_cache) {
  ------------------
  |  Branch (6405:9): [True: 73, False: 0]
  ------------------
 6406|     73|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  164|     73|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6407|     73|    }
 6408|     73|    END_TYPE_LOCK();
 6409|     73|    return can_cache;
 6410|     73|}
_PyType_CacheGetItemForSpecialization:
 6414|     44|{
 6415|     44|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6415:9): [True: 0, False: 44]
  |  Branch (6415:24): [True: 0, False: 44]
  ------------------
 6416|      0|        return 0;
 6417|      0|    }
 6418|     44|    int can_cache;
 6419|     44|    BEGIN_TYPE_LOCK();
 6420|     44|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6421|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6422|       |    // struct _specialization_cache):
 6423|     44|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6424|     44|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6425|     44|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6425:17): [True: 44, False: 0]
  |  Branch (6425:30): [True: 44, False: 0]
  ------------------
 6426|       |#ifdef Py_GIL_DISABLED
 6427|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6428|       |#endif
 6429|     44|    if (can_cache) {
  ------------------
  |  Branch (6429:9): [True: 44, False: 0]
  ------------------
 6430|     44|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  164|     44|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6431|     44|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  172|     44|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6432|     44|    }
 6433|     44|    END_TYPE_LOCK();
 6434|     44|    return can_cache;
 6435|     44|}
_PyType_SetFlags:
 6439|      4|{
 6440|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6441|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6441:9): [True: 4, False: 0]
  ------------------
 6442|      4|        types_stop_world();
 6443|       |        // can't use new_flags here since they could be out-of-date
 6444|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6445|      4|        types_start_world();
 6446|      4|    }
 6447|      4|}
_PyType_Validate:
 6451|     65|{
 6452|     65|    int err;
 6453|     65|    BEGIN_TYPE_LOCK();
 6454|     65|    err = validate(ty);
 6455|     65|    if (!err) {
  ------------------
  |  Branch (6455:9): [True: 19, False: 46]
  ------------------
 6456|     19|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6456:12): [True: 19, False: 0]
  ------------------
 6457|     19|            *tp_version = ty->tp_version_tag;
 6458|     19|        }
 6459|      0|        else {
 6460|      0|            err = -1;
 6461|      0|        }
 6462|     19|    }
 6463|     65|    END_TYPE_LOCK();
 6464|     65|    return err;
 6465|     65|}
_PyType_SetFlagsRecursive:
 6492|     32|{
 6493|     32|    BEGIN_TYPE_LOCK();
 6494|       |    /* Ideally, changing flags and invalidating the old version tag would
 6495|       |       happen in one step. But type_modified_unlocked() is re-entrant and
 6496|       |       cannot run with the world stopped, so we must invalidate first.
 6497|       |       Immutable/static-builtin types are skipped because
 6498|       |       set_flags_recursive() does not modify them. */
 6499|     32|    if (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     32|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6499:9): [True: 0, False: 32]
  ------------------
 6500|      0|        (self->tp_flags & mask) != flags)
  ------------------
  |  Branch (6500:9): [True: 0, False: 0]
  ------------------
 6501|      0|    {
 6502|      0|        type_modified_unlocked(self);
 6503|      0|    }
 6504|       |    /* Keep TYPE_LOCK held while waiting for stop-the-world so no thread
 6505|       |       can reassign a version tag before the flag update. */
 6506|     32|    type_lock_prevent_release();
 6507|     32|    types_stop_world();
 6508|     32|    set_flags_recursive(self, mask, flags);
 6509|     32|    types_start_world();
 6510|     32|    type_lock_allow_release();
 6511|     32|    END_TYPE_LOCK();
 6512|     32|}
_Py_type_getattro_impl:
 6528|  8.25M|{
 6529|  8.25M|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6530|  8.25M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  8.25M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.25M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.25M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 9.33k, False: 8.24M]
  |  |  ------------------
  ------------------
 6531|  9.33k|        return NULL;
 6532|  9.33k|    }
 6533|  8.24M|    return PyStackRef_AsPyObjectSteal(ref);
 6534|  8.25M|}
_Py_type_getattro:
 6540|  8.24M|{
 6541|  8.24M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  8.24M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6542|       |    return _Py_type_getattro_impl(type, name, NULL);
 6543|  8.24M|}
_Py_type_getattro_stackref:
 6558|  8.43M|{
 6559|  8.43M|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  8.43M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6560|  8.43M|    descrgetfunc meta_get = NULL;
 6561|       |
 6562|  8.43M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  8.43M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6562:9): [True: 0, False: 8.43M]
  ------------------
 6563|      0|        PyErr_Format(PyExc_TypeError,
 6564|      0|                     "attribute name must be string, not '%.200s'",
 6565|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6566|      0|        return PyStackRef_NULL;
 6567|      0|    }
 6568|       |
 6569|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6570|  8.43M|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6570:9): [True: 0, False: 8.43M]
  ------------------
 6571|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6571:13): [True: 0, False: 0]
  ------------------
 6572|      0|            return PyStackRef_NULL;
 6573|      0|    }
 6574|       |
 6575|       |    /* Set up GC-visible stack refs */
 6576|  8.43M|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6577|  8.43M|    PyThreadState *tstate = _PyThreadState_GET();
 6578|  8.43M|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6579|  8.43M|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6580|  8.43M|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6581|       |
 6582|       |    /* Look for the attribute in the metatype */
 6583|  8.43M|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6584|       |
 6585|  8.43M|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  8.43M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.43M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.43M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6585:9): [True: 172k, False: 8.26M]
  ------------------
 6586|   172k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6587|   172k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|   172k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   172k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   172k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6588|       |
 6589|   172k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6589:13): [True: 59.1k, False: 113k]
  |  Branch (6589:33): [True: 8.48k, False: 50.7k]
  ------------------
 6590|       |            /* Data descriptors implement tp_descr_set to intercept
 6591|       |             * writes. Assume the attribute is not overridden in
 6592|       |             * type's tp_dict (and bases): call the descriptor now.
 6593|       |             */
 6594|  8.48k|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6595|  8.48k|                                     (PyObject *)metatype);
 6596|  8.48k|            if (res != NULL) {
  ------------------
  |  Branch (6596:17): [True: 8.36k, False: 122]
  ------------------
 6597|  8.36k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6598|  8.36k|            }
 6599|  8.48k|            goto done;
 6600|  8.48k|        }
 6601|   172k|    }
 6602|       |
 6603|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6604|       |     * type and its bases */
 6605|  8.42M|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6606|  8.42M|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  8.42M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.42M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.42M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6606:9): [True: 8.39M, False: 28.4k]
  ------------------
 6607|       |        /* Implement descriptor functionality, if any */
 6608|  8.39M|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6609|  8.39M|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  8.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6610|       |
 6611|       |        /* Release meta_attribute early since we found in local dict */
 6612|  8.39M|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  8.39M|    do { \
  |  |  733|  8.39M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  8.39M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  8.39M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  8.39M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  8.39M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 8.39M]
  |  |  ------------------
  ------------------
 6613|       |
 6614|  8.39M|        if (local_get != NULL) {
  ------------------
  |  Branch (6614:13): [True: 8.28M, False: 109k]
  ------------------
 6615|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6616|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6617|  8.28M|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  8.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6617:17): [True: 125k, False: 8.16M]
  ------------------
 6618|   125k|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6619|   125k|                if (callable) {
  ------------------
  |  Branch (6619:21): [True: 125k, False: 0]
  ------------------
 6620|   125k|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|   125k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6621|   125k|                    goto done;
 6622|   125k|                }
 6623|   125k|            }
 6624|       |            /* NULL 2nd argument indicates the descriptor was
 6625|       |             * found on the target object itself (or a base)  */
 6626|  8.16M|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6627|  8.16M|                                      (PyObject *)type);
 6628|  8.16M|            if (res != NULL) {
  ------------------
  |  Branch (6628:17): [True: 8.16M, False: 0]
  ------------------
 6629|  8.16M|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6630|  8.16M|            }
 6631|  8.16M|            goto done;
 6632|  8.28M|        }
 6633|       |
 6634|       |        /* No descriptor, return the attribute directly */
 6635|   109k|        result_ref.ref = attribute_ref.ref;
 6636|   109k|        attribute_ref.ref = PyStackRef_NULL;
 6637|   109k|        goto done;
 6638|  8.39M|    }
 6639|       |
 6640|       |    /* No attribute found in local __dict__ (or bases): use the
 6641|       |     * descriptor from the metatype, if any */
 6642|  28.4k|    if (meta_get != NULL) {
  ------------------
  |  Branch (6642:9): [True: 19.1k, False: 9.24k]
  ------------------
 6643|  19.1k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6644|  19.1k|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6645|  19.1k|                                 (PyObject *)metatype);
 6646|  19.1k|        if (res != NULL) {
  ------------------
  |  Branch (6646:13): [True: 19.1k, False: 0]
  ------------------
 6647|  19.1k|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6648|  19.1k|        }
 6649|  19.1k|        goto done;
 6650|  19.1k|    }
 6651|       |
 6652|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6653|  9.24k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  9.24k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  9.24k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.24k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6653:9): [True: 0, False: 9.24k]
  ------------------
 6654|      0|        result_ref.ref = meta_attribute_ref.ref;
 6655|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6656|      0|        goto done;
 6657|      0|    }
 6658|       |
 6659|       |    /* Give up */
 6660|  9.24k|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6660:9): [True: 100, False: 9.14k]
  ------------------
 6661|    100|        PyErr_Format(PyExc_AttributeError,
 6662|    100|                     "type object '%.100s' has no attribute '%U'",
 6663|    100|                     type->tp_name, name);
 6664|    100|    }
 6665|  9.14k|    else {
 6666|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6667|  9.14k|        *suppress_missing_attribute = 1;
 6668|  9.14k|    }
 6669|       |
 6670|  8.43M|done:
 6671|  8.43M|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6672|  8.43M|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6673|  8.43M|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6674|  9.24k|}
_Py_BaseObject_RichCompare:
 7551|  1.29M|{
 7552|  1.29M|    return object_richcompare(self, other, op);
 7553|  1.29M|}
_PyType_AddMethod:
 8654|      2|{
 8655|      2|    return type_add_method(type, meth);
 8656|      2|}
PyType_Ready:
 9597|  2.70k|{
 9598|  2.70k|    if (type->tp_flags & Py_TPFLAGS_READY) {
  ------------------
  |  |  518|  2.70k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9598:9): [True: 0, False: 2.70k]
  ------------------
 9599|      0|        assert(_PyType_CheckConsistency(type));
 9600|      0|        return 0;
 9601|      0|    }
 9602|  2.70k|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9603|       |
 9604|       |    /* Historically, all static types were immutable. See bpo-43908 */
 9605|  2.70k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  2.70k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9605:9): [True: 0, False: 2.70k]
  ------------------
 9606|      0|        type_add_flags(type, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|      0|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9607|       |        /* Static types must be immortal */
 9608|      0|        _Py_SetImmortalUntracked((PyObject *)type);
 9609|      0|    }
 9610|       |
 9611|  2.70k|    int res;
 9612|  2.70k|    BEGIN_TYPE_LOCK();
 9613|  2.70k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  2.70k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9613:9): [True: 2.70k, False: 0]
  ------------------
 9614|  2.70k|        res = type_ready(type, 1);
 9615|  2.70k|    } else {
 9616|      0|        res = 0;
 9617|       |        assert(_PyType_CheckConsistency(type));
 9618|      0|    }
 9619|  2.70k|    END_TYPE_LOCK();
 9620|  2.70k|    return res;
 9621|  2.70k|}
_PyStaticType_InitForExtension:
 9666|     12|{
 9667|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9668|     12|}
_PyStaticType_InitBuiltin:
 9672|    402|{
 9673|    402|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9674|    402|}
_Py_slot_tp_getattr_hook:
10977|  8.49M|{
10978|  8.49M|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  8.49M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10979|  8.49M|    PyObject *getattr, *getattribute, *res;
10980|       |
10981|       |    /* speed hack: we could use lookup_maybe, but that would resolve the
10982|       |       method fully for each attribute lookup for classes with
10983|       |       __getattr__, even when the attribute is present. So we use
10984|       |       _PyType_LookupRef and create the method only when needed, with
10985|       |       call_attribute. */
10986|  8.49M|    getattr = _PyType_LookupRef(tp, &_Py_ID(__getattr__));
  ------------------
  |  |  919|  8.49M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.49M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.49M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10987|  8.49M|    if (getattr == NULL) {
  ------------------
  |  Branch (10987:9): [True: 0, False: 8.49M]
  ------------------
10988|       |        /* No __getattr__ hook: use a simpler dispatcher */
10989|      0|#ifndef Py_GIL_DISABLED
10990|       |        // Replacing the slot is only thread-safe if there is a GIL.
10991|      0|        tp->tp_getattro = _Py_slot_tp_getattro;
10992|      0|#endif
10993|      0|        return _Py_slot_tp_getattro(self, name);
10994|      0|    }
10995|       |    /* speed hack: we could use lookup_maybe, but that would resolve the
10996|       |       method fully for each attribute lookup for classes with
10997|       |       __getattr__, even when self has the default __getattribute__
10998|       |       method. So we use _PyType_LookupRef and create the method only when
10999|       |       needed, with call_attribute. */
11000|  8.49M|    getattribute = _PyType_LookupRef(tp, &_Py_ID(__getattribute__));
  ------------------
  |  |  919|  8.49M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.49M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.49M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11001|  8.49M|    if (getattribute == NULL ||
  ------------------
  |  Branch (11001:9): [True: 0, False: 8.49M]
  ------------------
11002|  8.49M|        (Py_IS_TYPE(getattribute, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  16.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.49M, False: 0]
  |  |  ------------------
  ------------------
11003|  8.49M|         ((PyWrapperDescrObject *)getattribute)->d_wrapped ==
  ------------------
  |  Branch (11003:10): [True: 8.49M, False: 0]
  ------------------
11004|  8.49M|             (void *)PyObject_GenericGetAttr)) {
11005|  8.49M|        Py_XDECREF(getattribute);
  ------------------
  |  |  524|  8.49M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11006|  8.49M|        res = _PyObject_GenericGetAttrWithDict(self, name, NULL, 1);
11007|       |        /* if res == NULL with no exception set, then it must be an
11008|       |           AttributeError suppressed by us. */
11009|  8.49M|        if (res == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (11009:13): [True: 1.69M, False: 6.80M]
  |  Branch (11009:28): [True: 1.69M, False: 0]
  ------------------
11010|  1.69M|            res = call_attribute(self, getattr, name);
11011|  1.69M|        }
11012|  8.49M|    }
11013|      0|    else {
11014|      0|        res = call_attribute(self, getattribute, name);
11015|      0|        Py_DECREF(getattribute);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11016|      0|        if (res == NULL && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (11016:13): [True: 0, False: 0]
  |  Branch (11016:28): [True: 0, False: 0]
  ------------------
11017|      0|            PyErr_Clear();
11018|      0|            res = call_attribute(self, getattr, name);
11019|      0|        }
11020|      0|    }
11021|       |
11022|  8.49M|    Py_DECREF(getattr);
  ------------------
  |  |  430|  8.49M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11023|  8.49M|    return res;
11024|  8.49M|}
_PyType_InitSlotDefs:
12170|      2|{
12171|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12171:9): [True: 0, False: 2]
  ------------------
12172|      0|        return 0;
12173|      0|    }
12174|      2|    PyObject *bytearray = NULL;
12175|      2|    PyObject *cache = PyDict_New();
12176|      2|    if (!cache) {
  ------------------
  |  Branch (12176:9): [True: 0, False: 2]
  ------------------
12177|      0|        return -1;
12178|      0|    }
12179|       |
12180|      2|    pytype_slotdef *p;
12181|      2|    Py_ssize_t idx = 0;
12182|    190|    for (p = slotdefs; p->name_strobj; p++, idx++) {
  ------------------
  |  Branch (12182:24): [True: 188, False: 2]
  ------------------
12183|    188|        assert(idx < 255);
12184|       |
12185|    188|        if (PyDict_GetItemRef(cache, p->name_strobj, &bytearray) < 0) {
  ------------------
  |  Branch (12185:13): [True: 0, False: 188]
  ------------------
12186|      0|            goto error;
12187|      0|        }
12188|       |
12189|    188|        if (!bytearray) {
  ------------------
  |  Branch (12189:13): [True: 162, False: 26]
  ------------------
12190|    162|            Py_ssize_t size = sizeof(uint8_t) * (1 + MAX_EQUIV);
  ------------------
  |  |  737|    162|#define MAX_EQUIV 10
  ------------------
12191|    162|            bytearray = PyByteArray_FromStringAndSize(NULL, size);
12192|    162|            if (!bytearray) {
  ------------------
  |  Branch (12192:17): [True: 0, False: 162]
  ------------------
12193|      0|                goto error;
12194|      0|            }
12195|       |
12196|    162|            uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(bytearray);
  ------------------
  |  |   28|    162|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12197|    162|            data[0] = 0;
12198|       |
12199|    162|            if (PyDict_SetItem(cache, p->name_strobj, bytearray) < 0) {
  ------------------
  |  Branch (12199:17): [True: 0, False: 162]
  ------------------
12200|      0|                goto error;
12201|      0|            }
12202|    162|        }
12203|       |
12204|    188|        assert(PyByteArray_CheckExact(bytearray));
12205|    188|        uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(bytearray);
  ------------------
  |  |   28|    188|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12206|       |
12207|    188|        data[0] += 1;
12208|    188|        assert(data[0] < MAX_EQUIV);
12209|       |
12210|    188|        data[data[0]] = (uint8_t)idx;
12211|       |
12212|    188|        Py_CLEAR(bytearray);
  ------------------
  |  |  484|    188|    do { \
  |  |  485|    188|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    188|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    188|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    188|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    188|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 188, False: 0]
  |  |  ------------------
  |  |  488|    188|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    188|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    188|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    188|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    188|        } \
  |  |  491|    188|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 188]
  |  |  ------------------
  ------------------
12213|    188|    }
12214|       |
12215|      2|    memset(slotdefs_dups, -1, sizeof(slotdefs_dups));
12216|       |
12217|      2|    Py_ssize_t pos = 0;
12218|      2|    PyObject *key = NULL;
12219|      2|    PyObject *value = NULL;
12220|    164|    while (PyDict_Next(cache, &pos, &key, &value)) {
  ------------------
  |  Branch (12220:12): [True: 162, False: 2]
  ------------------
12221|    162|        uint8_t *data = (uint8_t *)PyByteArray_AS_STRING(value);
  ------------------
  |  |   28|    162|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12222|    162|        uint8_t n = data[0];
12223|    350|        for (uint8_t i = 0; i < n; i++) {
  ------------------
  |  Branch (12223:29): [True: 188, False: 162]
  ------------------
12224|    188|            uint8_t idx = data[i + 1];
12225|    188|            memcpy(&slotdefs_dups[idx], data, sizeof(uint8_t) * (n + 1));
12226|    188|        }
12227|    162|    }
12228|       |
12229|      2|    Py_DECREF(cache);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12230|      2|    return 0;
12231|       |
12232|      0|error:
12233|      0|    Py_XDECREF(bytearray);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12234|      0|    Py_DECREF(cache);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12235|      0|    return -1;
12236|      2|}
_PySuper_LookupDescr:
12573|   277k|{
12574|   277k|    PyObject *mro, *res;
12575|   277k|    Py_ssize_t i, n;
12576|       |
12577|   277k|    mro = lookup_tp_mro(su_obj_type);
12578|   277k|    if (mro == NULL)
  ------------------
  |  Branch (12578:9): [True: 0, False: 277k]
  ------------------
12579|      0|        return NULL;
12580|       |
12581|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12582|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12583|   277k|    PyThreadState *tstate = _PyThreadState_GET();
12584|   277k|    _PyCStackRef mro_ref;
12585|   277k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12586|       |
12587|   277k|    assert(PyTuple_Check(mro));
12588|   277k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|   277k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12589|       |
12590|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12591|   334k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12591:17): [True: 334k, False: 0]
  ------------------
12592|   334k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|   334k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   334k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12592:13): [True: 277k, False: 57.0k]
  ------------------
12593|   277k|            break;
12594|   334k|    }
12595|   277k|    i++;  /* skip su->type (if any)  */
12596|   277k|    if (i >= n) {
  ------------------
  |  Branch (12596:9): [True: 0, False: 277k]
  ------------------
12597|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12598|      0|        return NULL;
12599|      0|    }
12600|       |
12601|   283k|    do {
12602|   283k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|   283k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   283k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   283k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12603|   283k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|   283k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   283k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12604|   283k|        assert(dict != NULL && PyDict_Check(dict));
12605|       |
12606|   283k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12606:13): [True: 277k, False: 5.85k]
  ------------------
12607|       |            // found or error
12608|   277k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12609|   277k|            return res;
12610|   277k|        }
12611|       |
12612|  5.85k|        i++;
12613|  5.85k|    } while (i < n);
  ------------------
  |  Branch (12613:14): [True: 5.85k, False: 0]
  ------------------
12614|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12615|       |    return NULL;
12616|   277k|}
_PySuper_Lookup:
12754|   275k|{
12755|   275k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12756|   275k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12756:9): [True: 0, False: 275k]
  ------------------
12757|      0|        return NULL;
12758|      0|    }
12759|   275k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12760|   275k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|   275k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   275k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   275k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12761|   275k|    return res;
12762|   275k|}
typeobject.c:managed_static_type_state_get:
  286|  26.5M|{
  287|       |    // It's probably a builtin type.
  288|  26.5M|    size_t index = managed_static_type_index_get(self);
  289|  26.5M|    managed_static_type_state *state =
  290|  26.5M|            &(interp->types.builtins.initialized[index]);
  291|  26.5M|    if (state->type == self) {
  ------------------
  |  Branch (291:9): [True: 26.5M, False: 530]
  ------------------
  292|  26.5M|        return state;
  293|  26.5M|    }
  294|    530|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  540|    530|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (294:9): [True: 0, False: 530]
  ------------------
  295|      0|        return state;
  296|      0|    }
  297|    530|    return &(interp->types.for_extensions.initialized[index]);
  298|    530|}
typeobject.c:managed_static_type_index_get:
  240|  26.5M|{
  241|  26.5M|    assert(managed_static_type_index_is_set(self));
  242|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  243|  26.5M|    return (size_t)self->tp_subclasses - 1;
  244|  26.5M|}
typeobject.c:lookup_tp_dict:
  528|  63.2M|{
  529|  63.2M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  63.2M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (529:9): [True: 26.5M, False: 36.7M]
  ------------------
  530|  26.5M|        PyInterpreterState *interp = _PyInterpreterState_GET();
  531|  26.5M|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  532|  26.5M|        assert(state != NULL);
  533|  26.5M|        return state->tp_dict;
  534|  26.5M|    }
  535|  36.7M|    return self->tp_dict;
  536|  63.2M|}
typeobject.c:lookup_tp_bases:
  581|  16.0k|{
  582|  16.0k|    return self->tp_bases;
  583|  16.0k|}
typeobject.c:lookup_tp_subclasses:
  733|  6.53k|{
  734|  6.53k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  6.53k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (734:9): [True: 1.83k, False: 4.70k]
  ------------------
  735|  1.83k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  736|  1.83k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  737|  1.83k|        assert(state != NULL);
  738|  1.83k|        return state->tp_subclasses;
  739|  1.83k|    }
  740|  4.70k|    return (PyObject *)self->tp_subclasses;
  741|  6.53k|}
typeobject.c:init_tp_subclasses:
  701|    634|{
  702|    634|    PyObject *subclasses = PyDict_New();
  703|    634|    if (subclasses == NULL) {
  ------------------
  |  Branch (703:9): [True: 0, False: 634]
  ------------------
  704|      0|        return NULL;
  705|      0|    }
  706|    634|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    634|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (706:9): [True: 100, False: 534]
  ------------------
  707|    100|        PyInterpreterState *interp = _PyInterpreterState_GET();
  708|    100|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  709|    100|        state->tp_subclasses = subclasses;
  710|    100|        return subclasses;
  711|    100|    }
  712|    534|    self->tp_subclasses = (void *)subclasses;
  713|    534|    return subclasses;
  714|    634|}
typeobject.c:type_from_ref:
  219|     60|{
  220|     60|    PyObject *obj = _PyWeakref_GET_REF(ref);
  221|     60|    if (obj == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 60]
  ------------------
  222|      0|        return NULL;
  223|      0|    }
  224|     60|    return _PyType_CAST(obj);
  ------------------
  |  |  770|     60|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  225|     60|}
typeobject.c:_PyType_DocWithoutSignature:
  901|    704|{
  902|    704|    const char *doc = find_signature(name, internal_doc);
  903|       |
  904|    704|    if (doc) {
  ------------------
  |  Branch (904:9): [True: 390, False: 314]
  ------------------
  905|    390|        doc = skip_signature(doc);
  906|    390|        if (doc)
  ------------------
  |  Branch (906:13): [True: 342, False: 48]
  ------------------
  907|    342|            return doc;
  908|    390|        }
  909|    362|    return internal_doc;
  910|    704|}
typeobject.c:find_signature:
  822|    706|{
  823|    706|    const char *dot;
  824|    706|    size_t length;
  825|       |
  826|    706|    if (!doc)
  ------------------
  |  Branch (826:9): [True: 0, False: 706]
  ------------------
  827|      0|        return NULL;
  828|       |
  829|    706|    assert(name != NULL);
  830|       |
  831|       |    /* for dotted names like classes, only use the last component */
  832|    706|    dot = strrchr(name, '.');
  833|    706|    if (dot)
  ------------------
  |  Branch (833:9): [True: 462, False: 244]
  ------------------
  834|    462|        name = dot + 1;
  835|       |
  836|    706|    length = strlen(name);
  837|    706|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (837:9): [True: 278, False: 428]
  ------------------
  838|    278|        return NULL;
  839|    428|    doc += length;
  840|    428|    if (*doc != '(')
  ------------------
  |  Branch (840:9): [True: 36, False: 392]
  ------------------
  841|     36|        return NULL;
  842|    392|    return doc;
  843|    428|}
typeobject.c:skip_signature:
  853|    392|{
  854|  15.7k|    while (*doc) {
  ------------------
  |  Branch (854:12): [True: 15.7k, False: 16]
  ------------------
  855|  15.7k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  845|  15.7k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (855:13): [True: 476, False: 15.2k]
  ------------------
  856|    476|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  845|    476|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  846|    476|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (856:13): [True: 344, False: 132]
  ------------------
  857|    344|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  846|    344|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  858|  15.3k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (858:13): [True: 154, False: 15.2k]
  |  Branch (858:31): [True: 32, False: 122]
  ------------------
  859|     32|            return NULL;
  860|  15.3k|        doc++;
  861|  15.3k|    }
  862|     16|    return NULL;
  863|    392|}
typeobject.c:type_modified_unlocked:
 1167|  6.40k|{
 1168|       |    /* Invalidate any cached data for the specified type and all
 1169|       |       subclasses.  This function is called after the base
 1170|       |       classes, mro, or attributes of the type are altered.
 1171|       |
 1172|       |       Invariants:
 1173|       |
 1174|       |       - before tp_version_tag can be set on a type,
 1175|       |         it must first be set on all super types.
 1176|       |
 1177|       |       This function clears the tp_version_tag of a
 1178|       |       type (so it must first clear it on all subclasses).  The
 1179|       |       tp_version_tag value is meaningless when equal to zero.
 1180|       |       We don't assign new version tags eagerly, but only as
 1181|       |       needed.
 1182|       |     */
 1183|  6.40k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
 1184|       |#ifdef Py_GIL_DISABLED
 1185|       |    // This function is re-entrant and it's not safe to call it
 1186|       |    // with the world stopped.
 1187|       |    assert(!types_world_is_stopped());
 1188|       |#endif
 1189|  6.40k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1189:9): [True: 4.26k, False: 2.14k]
  ------------------
 1190|  4.26k|        return;
 1191|  4.26k|    }
 1192|       |    // Cannot modify static builtin types.
 1193|  6.40k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
 1194|       |
 1195|  2.14k|    PyObject *subclasses = lookup_tp_subclasses(type);
 1196|  2.14k|    if (subclasses != NULL) {
  ------------------
  |  Branch (1196:9): [True: 8, False: 2.13k]
  ------------------
 1197|      8|        assert(PyDict_CheckExact(subclasses));
 1198|       |
 1199|      8|        Py_ssize_t i = 0;
 1200|      8|        PyObject *ref;
 1201|     16|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1201:16): [True: 8, False: 8]
  ------------------
 1202|      8|            PyTypeObject *subclass = type_from_ref(ref);
 1203|      8|            if (subclass == NULL) {
  ------------------
  |  Branch (1203:17): [True: 0, False: 8]
  ------------------
 1204|      0|                continue;
 1205|      0|            }
 1206|      8|            type_modified_unlocked(subclass);
 1207|      8|            Py_DECREF(subclass);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1208|      8|        }
 1209|      8|    }
 1210|       |
 1211|       |    // Notify registered type watchers, if any
 1212|  2.14k|    if (type->tp_watched) {
  ------------------
  |  Branch (1212:9): [True: 0, False: 2.14k]
  ------------------
 1213|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1214|      0|        int bits = type->tp_watched;
 1215|      0|        int i = 0;
 1216|      0|        while (bits) {
  ------------------
  |  Branch (1216:16): [True: 0, False: 0]
  ------------------
 1217|      0|            assert(i < TYPE_MAX_WATCHERS);
 1218|      0|            if (bits & 1) {
  ------------------
  |  Branch (1218:17): [True: 0, False: 0]
  ------------------
 1219|       |                // Note that PyErr_FormatUnraisable is potentially re-entrant
 1220|       |                // and the watcher callback might be too.
 1221|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 1222|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (1222:21): [True: 0, False: 0]
  |  Branch (1222:27): [True: 0, False: 0]
  ------------------
 1223|      0|                    PyErr_FormatUnraisable(
 1224|      0|                        "Exception ignored in type watcher callback #%d for %R",
 1225|      0|                        i, type);
 1226|      0|                }
 1227|      0|            }
 1228|      0|            i++;
 1229|      0|            bits >>= 1;
 1230|      0|        }
 1231|      0|    }
 1232|       |
 1233|  2.14k|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1234|  2.14k|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  2.14k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1234:9): [True: 2.14k, False: 0]
  ------------------
 1235|       |        // This field *must* be invalidated if the type is modified (see the
 1236|       |        // comment on struct _specialization_cache):
 1237|  2.14k|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|  2.14k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1238|  2.14k|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1239|  2.14k|    }
 1240|  2.14k|}
typeobject.c:set_version_unlocked:
 1135|  5.57k|{
 1136|  5.57k|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
 1137|  5.57k|#ifndef Py_GIL_DISABLED
 1138|  5.57k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1139|       |    // lookup the old version and set to null
 1140|  5.57k|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1140:9): [True: 2.14k, False: 3.43k]
  ------------------
 1141|  2.14k|        PyTypeObject **slot =
 1142|  2.14k|            interp->types.type_version_cache
 1143|  2.14k|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  592|  2.14k|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1144|  2.14k|        *slot = NULL;
 1145|  2.14k|    }
 1146|  5.57k|    if (version) {
  ------------------
  |  Branch (1146:9): [True: 3.43k, False: 2.14k]
  ------------------
 1147|  3.43k|        tp->tp_versions_used++;
 1148|  3.43k|    }
 1149|       |#else
 1150|       |    if (version) {
 1151|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1152|       |    }
 1153|       |#endif
 1154|  5.57k|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  190|  5.57k|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1155|  5.57k|#ifndef Py_GIL_DISABLED
 1156|  5.57k|    if (version != 0) {
  ------------------
  |  Branch (1156:9): [True: 3.43k, False: 2.14k]
  ------------------
 1157|  3.43k|        PyTypeObject **slot =
 1158|  3.43k|            interp->types.type_version_cache
 1159|  3.43k|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  592|  3.43k|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1160|  3.43k|        *slot = tp;
 1161|  3.43k|    }
 1162|  5.57k|#endif
 1163|  5.57k|}
typeobject.c:assign_version_tag:
 1409|  6.12k|{
 1410|  6.12k|    ASSERT_TYPE_LOCK_HELD();
 1411|       |
 1412|       |    /* Ensure that the tp_version_tag is valid.
 1413|       |     * To respect the invariant, this must first be done on all super classes.
 1414|       |     * Return 0 if this cannot be done, 1 if tp_version_tag is set.
 1415|       |    */
 1416|  6.12k|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1416:9): [True: 3.07k, False: 3.04k]
  ------------------
 1417|  3.07k|        return 1;
 1418|  3.07k|    }
 1419|  3.04k|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  3.04k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1419:9): [True: 0, False: 3.04k]
  ------------------
 1420|      0|        return 0;
 1421|      0|    }
 1422|  3.04k|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1389|  3.04k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1422:9): [True: 0, False: 3.04k]
  ------------------
 1423|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1424|      0|        return 0;
 1425|      0|    }
 1426|       |
 1427|  3.04k|    PyObject *bases = lookup_tp_bases(type);
 1428|  3.04k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.04k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|  6.27k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1429:28): [True: 3.23k, False: 3.04k]
  ------------------
 1430|  3.23k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.23k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.23k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|  3.23k|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|  3.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1431:13): [True: 0, False: 3.23k]
  ------------------
 1432|      0|            return 0;
 1433|      0|        }
 1434|  3.23k|    }
 1435|  3.04k|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|  3.04k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1435:9): [True: 70, False: 2.97k]
  ------------------
 1436|       |        /* static types */
 1437|     70|        unsigned int next_version_tag = next_global_version_tag();
 1438|     70|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 70]
  ------------------
 1439|       |            /* We have run out of version numbers */
 1440|      0|            return 0;
 1441|      0|        }
 1442|     70|        set_version_unlocked(type, next_version_tag);
 1443|     70|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
 1444|     70|    }
 1445|  2.97k|    else {
 1446|       |        /* heap types */
 1447|  2.97k|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   61|  2.97k|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1447:13): [True: 0, False: 2.97k]
  ------------------
 1448|       |            /* We have run out of version numbers */
 1449|      0|            return 0;
 1450|      0|        }
 1451|  2.97k|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   61|  2.97k|    (interp)->types.next_version_tag
  ------------------
 1452|  2.97k|        assert (type->tp_version_tag != 0);
 1453|  2.97k|    }
 1454|  3.04k|    return 1;
 1455|  3.04k|}
typeobject.c:next_global_version_tag:
 1396|    462|{
 1397|    462|    unsigned int old;
 1398|    462|    do {
 1399|    462|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1400|    462|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    462|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    462|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1400:13): [True: 0, False: 462]
  ------------------
 1401|      0|            return 0;
 1402|      0|        }
 1403|    462|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1403:14): [True: 0, False: 462]
  ------------------
 1404|    462|    return old + 1;
 1405|    462|}
typeobject.c:type_qualname:
 1535|  20.6k|{
 1536|  20.6k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  20.6k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1537|  20.6k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  20.6k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1537:9): [True: 20.5k, False: 84]
  ------------------
 1538|  20.5k|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1539|  20.5k|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  550|  20.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|  20.5k|    }
 1541|     84|    else {
 1542|     84|        return PyUnicode_FromString(_PyType_Name(type));
 1543|     84|    }
 1544|  20.6k|}
typeobject.c:type_module:
 1603|  20.5k|{
 1604|  20.5k|    PyObject *mod;
 1605|  20.5k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  20.5k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1605:9): [True: 20.4k, False: 90]
  ------------------
 1606|  20.4k|        PyObject *dict = lookup_tp_dict(type);
 1607|  20.4k|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  919|  20.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1607:13): [True: 0, False: 20.4k]
  ------------------
 1608|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1609|      0|        }
 1610|  20.4k|    }
 1611|     90|    else {
 1612|     90|        const char *s = strrchr(type->tp_name, '.');
 1613|     90|        if (s != NULL) {
  ------------------
  |  Branch (1613:13): [True: 64, False: 26]
  ------------------
 1614|     64|            mod = PyUnicode_FromStringAndSize(
 1615|     64|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1616|     64|            if (mod != NULL) {
  ------------------
  |  Branch (1616:17): [True: 64, False: 0]
  ------------------
 1617|     64|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1618|     64|                _PyUnicode_InternMortal(interp, &mod);
 1619|     64|            }
 1620|     64|        }
 1621|     26|        else {
 1622|     26|            mod = &_Py_ID(builtins);
  ------------------
  |  |  919|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|     26|        }
 1624|     90|    }
 1625|  20.5k|    return mod;
 1626|  20.5k|}
typeobject.c:is_subtype_with_mro:
 2900|  46.5M|{
 2901|  46.5M|    int res;
 2902|  46.5M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2902:9): [True: 46.5M, False: 50]
  ------------------
 2903|       |        /* Deal with multiple inheritance without recursion
 2904|       |           by walking the MRO tuple */
 2905|  46.5M|        Py_ssize_t i, n;
 2906|  46.5M|        assert(PyTuple_Check(a_mro));
 2907|  46.5M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  46.5M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2908|  46.5M|        res = 0;
 2909|   111M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2909:21): [True: 83.5M, False: 27.9M]
  ------------------
 2910|  83.5M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|  83.5M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  83.5M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2910:17): [True: 18.6M, False: 64.8M]
  ------------------
 2911|  18.6M|                res = 1;
 2912|  18.6M|                break;
 2913|  18.6M|            }
 2914|  83.5M|        }
 2915|  46.5M|    }
 2916|     50|    else {
 2917|       |        /* a is not completely initialized yet; follow tp_base */
 2918|     50|        res = type_is_subtype_base_chain(a, b);
 2919|     50|    }
 2920|  46.5M|    return res;
 2921|  46.5M|}
typeobject.c:type_is_subtype_base_chain:
 2888|     54|{
 2889|    228|    do {
 2890|    228|        if (a == b)
  ------------------
  |  Branch (2890:13): [True: 50, False: 178]
  ------------------
 2891|     50|            return 1;
 2892|    178|        a = a->tp_base;
 2893|    178|    } while (a != NULL);
  ------------------
  |  Branch (2893:14): [True: 174, False: 4]
  ------------------
 2894|       |
 2895|      4|    return (b == &PyBaseObject_Type);
 2896|     54|}
typeobject.c:maybe_call_special_no_args:
 3160|  82.2k|{
 3161|  82.2k|    PyThreadState *tstate = _PyThreadState_GET();
 3162|  82.2k|    _PyCStackRef cref;
 3163|  82.2k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3164|       |
 3165|  82.2k|    PyObject *res = NULL;
 3166|  82.2k|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3167|  82.2k|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3168|  82.2k|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3168:9): [True: 77.1k, False: 5.08k]
  ------------------
 3169|  77.1k|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|  77.1k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3170|  77.1k|    }
 3171|  82.2k|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|   164k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3171:9): [True: 82.2k, False: 0]
  |  Branch (3171:26): [True: 82.2k, False: 0]
  |  Branch (3171:45): [True: 0, False: 0]
  ------------------
 3172|  82.2k|        res = call_unbound_noarg(unbound, func, self);
 3173|  82.2k|    }
 3174|  82.2k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3175|  82.2k|    return res;
 3176|  82.2k|}
typeobject.c:lookup_maybe_method:
 3029|  87.3k|{
 3030|  87.3k|    return lookup_method_ex(self, attr, out, 0);
 3031|  87.3k|}
typeobject.c:lookup_method_ex:
 2995|  1.54M|{
 2996|  1.54M|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|  1.54M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|  1.54M|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  1.54M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.54M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.54M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 1.54M]
  |  |  ------------------
  ------------------
 2998|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (2998:13): [True: 0, False: 0]
  ------------------
 2999|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 3000|      0|        }
 3001|      0|        return -1;
 3002|      0|    }
 3003|       |
 3004|  1.54M|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3005|  1.54M|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.54M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.54M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3005:9): [True: 1.54M, False: 0]
  ------------------
 3006|       |        /* Avoid temporary PyMethodObject */
 3007|  1.54M|        return 1;
 3008|  1.54M|    }
 3009|       |
 3010|      0|    descrgetfunc f = Py_TYPE(value)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      0|    if (f != NULL) {
  ------------------
  |  Branch (3011:9): [True: 0, False: 0]
  ------------------
 3012|      0|        value = f(value, self, (PyObject *)(Py_TYPE(self)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3013|      0|        PyStackRef_CLEAR(*out);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3014|      0|        if (value == NULL) {
  ------------------
  |  Branch (3014:13): [True: 0, False: 0]
  ------------------
 3015|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (3015:17): [True: 0, False: 0]
  ------------------
 3016|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (3016:17): [True: 0, False: 0]
  ------------------
 3017|      0|            {
 3018|      0|                PyErr_Clear();
 3019|      0|            }
 3020|      0|            return -1;
 3021|      0|        }
 3022|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 3023|      0|    }
 3024|      0|    return 0;
 3025|      0|}
typeobject.c:call_unbound_noarg:
 3057|  82.6k|{
 3058|  82.6k|    if (unbound) {
  ------------------
  |  Branch (3058:9): [True: 82.6k, False: 0]
  ------------------
 3059|  82.6k|        return PyObject_CallOneArg(func, self);
 3060|  82.6k|    }
 3061|      0|    else {
 3062|      0|        return _PyObject_CallNoArgs(func);
 3063|      0|    }
 3064|  82.6k|}
typeobject.c:maybe_call_special_one_arg:
 3181|  4.99k|{
 3182|  4.99k|    PyThreadState *tstate = _PyThreadState_GET();
 3183|  4.99k|    _PyCStackRef cref;
 3184|  4.99k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3185|       |
 3186|  4.99k|    PyObject *res = NULL;
 3187|  4.99k|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3188|  4.99k|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3189|  4.99k|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3189:9): [True: 1.72k, False: 3.26k]
  ------------------
 3190|  1.72k|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|  1.72k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3191|  1.72k|    }
 3192|  4.99k|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|  9.98k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3192:9): [True: 4.99k, False: 0]
  |  Branch (3192:26): [True: 4.99k, False: 0]
  |  Branch (3192:45): [True: 0, False: 0]
  ------------------
 3193|  4.99k|        PyObject *args[] = { self, arg };
 3194|  4.99k|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3195|  4.99k|    }
 3196|  4.99k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3197|  4.99k|    return res;
 3198|  4.99k|}
typeobject.c:vectorcall_unbound:
 3043|   982k|{
 3044|   982k|    size_t nargsf = nargs;
 3045|   982k|    if (!unbound) {
  ------------------
  |  Branch (3045:9): [True: 0, False: 982k]
  ------------------
 3046|       |        /* Skip self argument, freeing up args[0] to use for
 3047|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 3048|      0|        args++;
 3049|      0|        nargsf = nargsf - 1 + PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3050|      0|    }
 3051|   982k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|   982k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3052|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3053|   982k|}
typeobject.c:type_from_slots_or_spec:
 5238|    242|{
 5239|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5240|       |     * a strong reference or owns allocated memory.
 5241|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5242|       |     */
 5243|    242|    PyHeapTypeObject *res = NULL;
 5244|    242|    PyTypeObject *type;
 5245|    242|    PyObject *bases = NULL;
 5246|    242|    char *tp_doc = NULL;
 5247|    242|    PyObject *ht_name = NULL;
 5248|    242|    char *_ht_tpname = NULL;
 5249|       |
 5250|    242|    int r;
 5251|       |
 5252|       |    /* First pass of slots */
 5253|       |
 5254|    242|    Py_ssize_t nmembers = 0;
 5255|    242|    const PyMemberDef *weaklistoffset_member = NULL;
 5256|    242|    const PyMemberDef *dictoffset_member = NULL;
 5257|    242|    const PyMemberDef *vectorcalloffset_member = NULL;
 5258|    242|    Py_ssize_t basicsize = 0;
 5259|    242|    Py_ssize_t extra_basicsize = 0;
 5260|    242|    Py_ssize_t itemsize = 0;
 5261|    242|    int flags = 0;
 5262|    242|    void *token = NULL;
 5263|       |
 5264|    242|    bool have_relative_members = false;
 5265|    242|    Py_ssize_t max_relative_offset = 0;
 5266|       |
 5267|    242|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5268|       |
 5269|    242|    _PySlotIterator it;
 5270|       |
 5271|    242|    if (spec) {
  ------------------
  |  Branch (5271:9): [True: 242, False: 0]
  ------------------
 5272|    242|        assert(!slots);
 5273|    242|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5273:13): [True: 236, False: 6]
  ------------------
 5274|    236|            basicsize = spec->basicsize;
 5275|    236|        }
 5276|    242|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5276:13): [True: 0, False: 242]
  ------------------
 5277|      0|            extra_basicsize = -spec->basicsize;
 5278|      0|        }
 5279|    242|        itemsize = spec->itemsize;
 5280|    242|        flags = spec->flags;
 5281|    242|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5282|    242|        it.name = spec->name;
 5283|    242|    }
 5284|      0|    else {
 5285|      0|        assert(!spec);
 5286|      0|        assert(!metaclass);
 5287|      0|        assert(!module);
 5288|      0|        assert(!bases_in);
 5289|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5290|      0|    }
 5291|       |
 5292|    242|    #define NO_SPEC                                         \
 5293|    242|        if (spec) {                                         \
 5294|    242|            PyErr_Format(                                   \
 5295|    242|                PyExc_SystemError,                          \
 5296|    242|                "%s must not be used with PyType_Spec",     \
 5297|    242|                _PySlot_GetName(it.current.sl_id));         \
 5298|    242|            goto finally;                                   \
 5299|    242|        }                                                   \
 5300|       |        /////////////////////////////////////////////////////
 5301|       |
 5302|  2.08k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5302:12): [True: 1.84k, False: 242]
  ------------------
 5303|  1.84k|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5303:17): [True: 294, False: 1.55k]
  ------------------
 5304|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5304:9): [True: 0, False: 1.84k]
  ------------------
 5305|      0|            goto finally;
 5306|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5306:9): [True: 0, False: 1.84k]
  ------------------
 5307|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5308|      0|            it.name = it.current.sl_ptr;
 5309|      0|            break;
 5310|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5310:9): [True: 0, False: 1.84k]
  ------------------
 5311|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5312|      0|            metaclass = it.current.sl_ptr;
 5313|      0|            break;
 5314|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5314:9): [True: 0, False: 1.84k]
  ------------------
 5315|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5316|      0|            module = it.current.sl_ptr;
 5317|      0|            break;
 5318|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5318:9): [True: 0, False: 1.84k]
  ------------------
 5319|      0|            bases_slot = it.current.sl_ptr;
 5320|      0|            break;
 5321|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5321:9): [True: 0, False: 1.84k]
  ------------------
 5322|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5322:17): [True: 0, False: 0]
  ------------------
 5323|      0|                bases_slot = it.current.sl_ptr;
 5324|      0|            }
 5325|      0|            break;
 5326|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5326:9): [True: 0, False: 1.84k]
  ------------------
 5327|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5328|      0|            basicsize = it.current.sl_size;
 5329|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5329:17): [True: 0, False: 0]
  ------------------
 5330|      0|                PyErr_SetString(
 5331|      0|                    PyExc_SystemError,
 5332|      0|                    "Py_tp_basicsize must be positive");
 5333|      0|                goto finally;
 5334|      0|            }
 5335|      0|            break;
 5336|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5336:9): [True: 0, False: 1.84k]
  ------------------
 5337|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5338|      0|            extra_basicsize = it.current.sl_size;
 5339|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5339:17): [True: 0, False: 0]
  ------------------
 5340|      0|                PyErr_SetString(
 5341|      0|                    PyExc_SystemError,
 5342|      0|                    "Py_tp_extra_basicsize must be positive");
 5343|      0|                goto finally;
 5344|      0|            }
 5345|      0|            break;
 5346|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5346:9): [True: 0, False: 1.84k]
  ------------------
 5347|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5348|      0|            itemsize = it.current.sl_size;
 5349|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5349:17): [True: 0, False: 0]
  ------------------
 5350|      0|                PyErr_SetString(
 5351|      0|                    PyExc_SystemError,
 5352|      0|                    "Py_tp_itemsize must be positive");
 5353|      0|                goto finally;
 5354|      0|            }
 5355|      0|            break;
 5356|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5356:9): [True: 0, False: 1.84k]
  ------------------
 5357|      0|            NO_SPEC;
  ------------------
  |  | 5293|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5293:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5294|      0|            PyErr_Format(                                   \
  |  | 5295|      0|                PyExc_SystemError,                          \
  |  | 5296|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5297|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5298|      0|            goto finally;                                   \
  |  | 5299|      0|        }                                                   \
  ------------------
 5358|      0|            flags = (int)it.current.sl_uint64;
 5359|      0|            break;
 5360|    114|        case Py_tp_members:
  ------------------
  |  |   80|    114|#define Py_tp_members 72
  ------------------
  |  Branch (5360:9): [True: 114, False: 1.73k]
  ------------------
 5361|    114|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5362|    514|                 memb->name != NULL;
  ------------------
  |  Branch (5362:18): [True: 400, False: 114]
  ------------------
 5363|    400|                 memb++)
 5364|    400|            {
 5365|    400|                nmembers++;
 5366|    400|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    400|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5366:21): [True: 0, False: 400]
  ------------------
 5367|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5367:25): [True: 0, False: 0]
  ------------------
 5368|      0|                        PyErr_SetString(
 5369|      0|                            PyExc_SystemError,
 5370|      0|                            "Member offset must not be negative");
 5371|      0|                        goto finally;
 5372|      0|                    }
 5373|      0|                    have_relative_members = true;
 5374|      0|                    max_relative_offset = Py_MAX(max_relative_offset,
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5375|      0|                                                 memb->offset);
 5376|      0|                }
 5377|    400|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5377:21): [True: 40, False: 360]
  ------------------
 5378|     40|                    weaklistoffset_member = memb;
 5379|     40|                }
 5380|    360|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5380:26): [True: 24, False: 336]
  ------------------
 5381|     24|                    dictoffset_member = memb;
 5382|     24|                }
 5383|    336|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5383:26): [True: 8, False: 328]
  ------------------
 5384|      8|                    vectorcalloffset_member = memb;
 5385|      8|                }
 5386|    400|            }
 5387|    114|            break;
 5388|    114|        case Py_tp_token:
  ------------------
  |  |   91|      2|#define Py_tp_token 83
  ------------------
  |  Branch (5388:9): [True: 2, False: 1.84k]
  ------------------
 5389|      2|            token = it.current.sl_ptr;
 5390|      2|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      2|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5390:17): [True: 2, False: 0]
  ------------------
 5391|      2|                if (!spec) {
  ------------------
  |  Branch (5391:21): [True: 0, False: 2]
  ------------------
 5392|      0|                    PyErr_SetString(
 5393|      0|                        PyExc_SystemError,
 5394|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5395|      0|                        "used with PyType_Spec");
 5396|      0|                    goto finally;
 5397|      0|                }
 5398|      2|                token = spec;
 5399|      2|            }
 5400|      2|            break;
 5401|    178|        case Py_tp_doc:
  ------------------
  |  |   64|    178|#define Py_tp_doc 56
  ------------------
  |  Branch (5401:9): [True: 178, False: 1.66k]
  ------------------
 5402|       |            /* For the docstring slot, which usually points to a static string
 5403|       |               literal, we need to make a copy */
 5404|    178|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5404:17): [True: 0, False: 178]
  ------------------
 5405|      0|                PyMem_Free(tp_doc);
 5406|      0|                tp_doc = NULL;
 5407|      0|            }
 5408|    178|            else {
 5409|    178|                size_t len = strlen(it.current.sl_ptr)+1;
 5410|    178|                tp_doc = PyMem_Malloc(len);
 5411|    178|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5411:21): [True: 0, False: 178]
  ------------------
 5412|      0|                    PyErr_NoMemory();
 5413|      0|                    goto finally;
 5414|      0|                }
 5415|    178|                memcpy(tp_doc, it.current.sl_ptr, len);
 5416|    178|            }
 5417|    178|            break;
 5418|  1.84k|        }
 5419|  1.84k|    }
 5420|    242|    #undef NO_SPEC
 5421|       |
 5422|       |    /* Required slots & bad combinations */
 5423|       |
 5424|    242|    if (it.name == NULL) {
  ------------------
  |  Branch (5424:9): [True: 0, False: 242]
  ------------------
 5425|      0|        if (spec) {
  ------------------
  |  Branch (5425:13): [True: 0, False: 0]
  ------------------
 5426|      0|            PyErr_SetString(PyExc_SystemError,
 5427|      0|                            "Type spec does not define the name field.");
 5428|      0|        }
 5429|      0|        else {
 5430|      0|            PyErr_SetString(PyExc_SystemError,
 5431|      0|                            "Py_tp_name slot is required.");
 5432|      0|        }
 5433|      0|        goto finally;
 5434|      0|    }
 5435|       |
 5436|    242|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    242|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5436:9): [True: 0, False: 242]
  ------------------
 5437|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5437:12): [True: 0, False: 0]
  ------------------
 5438|      0|    {
 5439|      0|        PyErr_Format(
 5440|      0|            PyExc_SystemError,
 5441|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5442|      0|            "mutually exclusive",
 5443|      0|            it.name);
 5444|      0|        goto finally;
 5445|      0|    }
 5446|       |
 5447|    242|    if (have_relative_members) {
  ------------------
  |  Branch (5447:9): [True: 0, False: 242]
  ------------------
 5448|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5448:13): [True: 0, False: 0]
  ------------------
 5449|      0|            PyErr_SetString(
 5450|      0|                PyExc_SystemError,
 5451|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5452|      0|            goto finally;
 5453|      0|        }
 5454|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5454:13): [True: 0, False: 0]
  ------------------
 5455|      0|            PyErr_SetString(
 5456|      0|                PyExc_SystemError,
 5457|      0|                "Member offset out of range (0..extra_basicsize)");
 5458|      0|            goto finally;
 5459|      0|        }
 5460|      0|    }
 5461|       |
 5462|       |    /* Prepare the type name and qualname */
 5463|       |
 5464|    242|    assert(it.name);
 5465|    242|    const char *s = strrchr(it.name, '.');
 5466|    242|    if (s == NULL) {
  ------------------
  |  Branch (5466:9): [True: 0, False: 242]
  ------------------
 5467|      0|        s = it.name;
 5468|      0|    }
 5469|    242|    else {
 5470|    242|        s++;
 5471|    242|    }
 5472|       |
 5473|    242|    ht_name = PyUnicode_FromString(s);
 5474|    242|    if (!ht_name) {
  ------------------
  |  Branch (5474:9): [True: 0, False: 242]
  ------------------
 5475|      0|        goto finally;
 5476|      0|    }
 5477|       |
 5478|       |    /* Copy the name to a buffer we own.
 5479|       |    *
 5480|       |    * Unfortunately, we can't use tp_name directly (with some
 5481|       |    * flag saying that it should be deallocated with the type),
 5482|       |    * because tp_name is public API and may be set independently
 5483|       |    * of any such flag.
 5484|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5485|       |    * deallocated with the type (if it's non-NULL).
 5486|       |    */
 5487|    242|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5488|    242|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5489|    242|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5489:9): [True: 0, False: 242]
  ------------------
 5490|      0|        goto finally;
 5491|      0|    }
 5492|    242|    memcpy(_ht_tpname, it.name, name_buf_len);
 5493|       |
 5494|       |    /* Get a tuple of bases.
 5495|       |     * bases is a strong reference (unlike bases_in).
 5496|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5497|       |     * of the various ways to specify bases)
 5498|       |     */
 5499|    242|    if (!bases_in) {
  ------------------
  |  Branch (5499:9): [True: 184, False: 58]
  ------------------
 5500|    184|        bases_in = bases_slot;
 5501|    184|    }
 5502|    242|    if (bases_in) {
  ------------------
  |  Branch (5502:9): [True: 58, False: 184]
  ------------------
 5503|     58|        if (PyTuple_Check(bases_in)) {
  ------------------
  |  |   27|     58|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     58|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 58]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5504|      0|            bases = Py_NewRef(bases_in);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5505|      0|        }
 5506|     58|        else {
 5507|     58|            bases = PyTuple_Pack(1, bases_in);
 5508|     58|        }
 5509|     58|    }
 5510|    184|    else {
 5511|    184|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5512|    184|    }
 5513|    242|    if (!bases) {
  ------------------
  |  Branch (5513:9): [True: 0, False: 242]
  ------------------
 5514|      0|        goto finally;
 5515|      0|    }
 5516|       |
 5517|       |    /* If this is an immutable type, check if all bases are also immutable.
 5518|       |     * (This isn't necessary for static types: those can't have heap bases,
 5519|       |     * and only heap types can be mutable.)
 5520|       |     */
 5521|    242|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    242|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5521:9): [True: 208, False: 34]
  ------------------
 5522|    208|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5522:13): [True: 0, False: 208]
  ------------------
 5523|      0|            goto finally;
 5524|      0|        }
 5525|    208|    }
 5526|       |
 5527|       |    /* Calculate the metaclass */
 5528|       |
 5529|    242|    if (!metaclass) {
  ------------------
  |  Branch (5529:9): [True: 242, False: 0]
  ------------------
 5530|    242|        metaclass = &PyType_Type;
 5531|    242|    }
 5532|    242|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5533|    242|    if (metaclass == NULL) {
  ------------------
  |  Branch (5533:9): [True: 0, False: 242]
  ------------------
 5534|      0|        goto finally;
 5535|      0|    }
 5536|    242|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    242|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5536:9): [True: 0, False: 242]
  ------------------
 5537|      0|        PyErr_Format(PyExc_TypeError,
 5538|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5539|      0|                     metaclass);
 5540|      0|        goto finally;
 5541|      0|    }
 5542|    242|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5542:9): [True: 242, False: 0]
  |  Branch (5542:30): [True: 0, False: 242]
  ------------------
 5543|      0|        PyErr_SetString(
 5544|      0|            PyExc_TypeError,
 5545|      0|            "Metaclasses with custom tp_new are not supported.");
 5546|      0|        goto finally;
 5547|      0|    }
 5548|       |
 5549|       |    /* Calculate best base, and check that all bases are type objects */
 5550|    242|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5551|    242|    if (base == NULL) {
  ------------------
  |  Branch (5551:9): [True: 0, False: 242]
  ------------------
 5552|      0|        goto finally;
 5553|      0|    }
 5554|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5555|       |    // exception, here we just check its work
 5556|    242|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
 5557|       |
 5558|       |    /* Calculate sizes */
 5559|       |
 5560|    242|    Py_ssize_t type_data_offset = basicsize;
 5561|    242|    if (extra_basicsize) {
  ------------------
  |  Branch (5561:9): [True: 0, False: 242]
  ------------------
 5562|       |        /* Extend */
 5563|      0|        assert(basicsize == 0);
 5564|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5565|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5566|       |
 5567|       |        /* Inheriting variable-sized types is limited */
 5568|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5568:13): [True: 0, False: 0]
  ------------------
 5569|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5569:16): [True: 0, False: 0]
  ------------------
 5570|      0|        {
 5571|      0|            PyErr_SetString(
 5572|      0|                PyExc_SystemError,
 5573|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5574|      0|            goto finally;
 5575|      0|        }
 5576|      0|    }
 5577|    242|    if (basicsize == 0) {
  ------------------
  |  Branch (5577:9): [True: 6, False: 236]
  ------------------
 5578|       |        /* Inherit */
 5579|      6|        basicsize = base->tp_basicsize;
 5580|      6|    }
 5581|       |
 5582|       |    /* Compute special offsets */
 5583|       |
 5584|    242|    Py_ssize_t weaklistoffset = 0;
 5585|    242|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5585:9): [True: 0, False: 242]
  ------------------
 5586|    242|                                  &weaklistoffset) < 0) {
 5587|      0|        goto finally;
 5588|      0|    }
 5589|    242|    Py_ssize_t dictoffset = 0;
 5590|    242|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5590:9): [True: 0, False: 242]
  ------------------
 5591|    242|                                  &dictoffset) < 0) {
 5592|      0|        goto finally;
 5593|      0|    }
 5594|    242|    Py_ssize_t vectorcalloffset = 0;
 5595|    242|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5595:9): [True: 0, False: 242]
  ------------------
 5596|    242|                                  &vectorcalloffset) < 0) {
 5597|      0|        goto finally;
 5598|      0|    }
 5599|       |
 5600|       |    /* Allocate the new type
 5601|       |     *
 5602|       |     * Between here and PyType_Ready, we should limit:
 5603|       |     * - calls to Python code
 5604|       |     * - raising exceptions
 5605|       |     * - memory allocations
 5606|       |     */
 5607|       |
 5608|    242|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5609|    242|    if (res == NULL) {
  ------------------
  |  Branch (5609:9): [True: 0, False: 242]
  ------------------
 5610|      0|        goto finally;
 5611|      0|    }
 5612|       |
 5613|    242|    type = &res->ht_type;
 5614|       |    /* The flags must be initialized early, before the GC traverses us */
 5615|    242|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    242|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5616|       |
 5617|    242|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  551|    242|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5618|       |
 5619|       |    /* Initialize essential fields */
 5620|       |
 5621|    242|    type->tp_as_async = &res->as_async;
 5622|    242|    type->tp_as_number = &res->as_number;
 5623|    242|    type->tp_as_sequence = &res->as_sequence;
 5624|    242|    type->tp_as_mapping = &res->as_mapping;
 5625|    242|    type->tp_as_buffer = &res->as_buffer;
 5626|       |
 5627|       |    /* Set slots we have prepared */
 5628|       |
 5629|    242|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  550|    242|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5630|    242|    set_tp_bases(type, bases, 1);
 5631|    242|    bases = NULL;  // We give our reference to bases to the type
 5632|       |
 5633|    242|    type->tp_doc = tp_doc;
 5634|    242|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5635|       |
 5636|    242|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  550|    242|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5637|    242|    res->ht_name = ht_name;
 5638|    242|    ht_name = NULL;  // Give our reference to the type
 5639|       |
 5640|    242|    type->tp_name = _ht_tpname;
 5641|    242|    res->_ht_tpname = _ht_tpname;
 5642|    242|    _ht_tpname = NULL;  // Give ownership to the type
 5643|       |
 5644|    242|    res->ht_token = token;
 5645|       |
 5646|       |    /* Copy the sizes */
 5647|       |
 5648|    242|    type->tp_basicsize = basicsize;
 5649|    242|    type->tp_itemsize = itemsize;
 5650|       |
 5651|       |    /* Second pass of slots: copy most of them into the type */
 5652|       |
 5653|    242|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5653:33): [True: 242, False: 0]
  ------------------
 5654|  2.08k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5654:12): [True: 1.84k, False: 242]
  ------------------
 5655|  1.84k|        switch (it.current.sl_id) {
 5656|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5656:9): [True: 0, False: 1.84k]
  ------------------
 5657|      0|            goto finally;
 5658|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5658:9): [True: 0, False: 1.84k]
  ------------------
 5659|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5659:9): [True: 0, False: 1.84k]
  ------------------
 5660|    178|        case Py_tp_doc:
  ------------------
  |  |   64|    178|#define Py_tp_doc 56
  ------------------
  |  Branch (5660:9): [True: 178, False: 1.66k]
  ------------------
 5661|       |            /* Processed above */
 5662|    178|            break;
 5663|    114|        case Py_tp_members:
  ------------------
  |  |   80|    114|#define Py_tp_members 72
  ------------------
  |  Branch (5663:9): [True: 114, False: 1.73k]
  ------------------
 5664|    114|            {
 5665|       |                /* Move the slots to the heap type itself */
 5666|    114|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  213|    114|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5667|    114|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5668|    114|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5669|    114|                PyMemberDef *memb;
 5670|    114|                Py_ssize_t i;
 5671|    114|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5672|    514|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5672:22): [True: 400, False: 114]
  ------------------
 5673|    400|                {
 5674|    400|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    400|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5674:25): [True: 0, False: 400]
  ------------------
 5675|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5676|      0|                        memb->offset += type_data_offset;
 5677|      0|                    }
 5678|    400|                }
 5679|    114|            }
 5680|    114|            break;
 5681|  1.55k|        default:
  ------------------
  |  Branch (5681:9): [True: 1.55k, False: 292]
  ------------------
 5682|  1.55k|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5683|  1.55k|            break;
 5684|  1.84k|        }
 5685|  1.84k|    }
 5686|    242|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5686:9): [True: 12, False: 230]
  ------------------
 5687|       |        /* It's a heap type, so needs the heap types' dealloc.
 5688|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5689|       |           necessary. */
 5690|     12|        type->tp_dealloc = subtype_dealloc;
 5691|     12|    }
 5692|       |
 5693|       |    /* Set up offsets */
 5694|       |
 5695|    242|    type->tp_vectorcall_offset = vectorcalloffset;
 5696|    242|    type->tp_weaklistoffset = weaklistoffset;
 5697|    242|    type->tp_dictoffset = dictoffset;
 5698|       |
 5699|       |#ifdef Py_GIL_DISABLED
 5700|       |    // Assign a unique id to enable per-thread refcounting
 5701|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5702|       |#endif
 5703|       |
 5704|       |    /* Ready the type (which includes inheritance).
 5705|       |     *
 5706|       |     * After this call we should generally only touch up what's
 5707|       |     * accessible to Python code, like __dict__.
 5708|       |     */
 5709|       |
 5710|    242|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (5710:9): [True: 0, False: 242]
  ------------------
 5711|      0|        goto finally;
 5712|      0|    }
 5713|       |
 5714|    242|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5714:9): [True: 0, False: 242]
  ------------------
 5715|      0|        goto finally;
 5716|      0|    }
 5717|       |
 5718|    242|    PyObject *dict = lookup_tp_dict(type);
 5719|    242|    if (type->tp_doc) {
  ------------------
  |  Branch (5719:9): [True: 178, False: 64]
  ------------------
 5720|    178|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5721|    178|        if (!__doc__) {
  ------------------
  |  Branch (5721:13): [True: 0, False: 178]
  ------------------
 5722|      0|            goto finally;
 5723|      0|        }
 5724|    178|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  919|    178|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    178|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    178|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5725|    178|        Py_DECREF(__doc__);
  ------------------
  |  |  430|    178|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5726|    178|        if (r < 0) {
  ------------------
  |  Branch (5726:13): [True: 0, False: 178]
  ------------------
 5727|      0|            goto finally;
 5728|      0|        }
 5729|    178|    }
 5730|       |
 5731|    242|    if (weaklistoffset) {
  ------------------
  |  Branch (5731:9): [True: 40, False: 202]
  ------------------
 5732|     40|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  919|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5732:13): [True: 0, False: 40]
  ------------------
 5733|      0|            goto finally;
 5734|      0|        }
 5735|     40|    }
 5736|    242|    if (dictoffset) {
  ------------------
  |  Branch (5736:9): [True: 24, False: 218]
  ------------------
 5737|     24|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  919|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5737:13): [True: 0, False: 24]
  ------------------
 5738|      0|            goto finally;
 5739|      0|        }
 5740|     24|    }
 5741|       |
 5742|       |    /* Set type.__module__ */
 5743|    242|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  919|    242|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    242|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    242|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5744|    242|    if (r < 0) {
  ------------------
  |  Branch (5744:9): [True: 0, False: 242]
  ------------------
 5745|      0|        goto finally;
 5746|      0|    }
 5747|    242|    if (r == 0) {
  ------------------
  |  Branch (5747:9): [True: 242, False: 0]
  ------------------
 5748|    242|        s = strrchr(it.name, '.');
 5749|    242|        if (s != NULL) {
  ------------------
  |  Branch (5749:13): [True: 242, False: 0]
  ------------------
 5750|    242|            PyObject *modname = PyUnicode_FromStringAndSize(
 5751|    242|                    it.name, (Py_ssize_t)(s - it.name));
 5752|    242|            if (modname == NULL) {
  ------------------
  |  Branch (5752:17): [True: 0, False: 242]
  ------------------
 5753|      0|                goto finally;
 5754|      0|            }
 5755|    242|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  919|    242|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    242|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    242|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5756|    242|            Py_DECREF(modname);
  ------------------
  |  |  430|    242|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5757|    242|            if (r != 0) {
  ------------------
  |  Branch (5757:17): [True: 0, False: 242]
  ------------------
 5758|      0|                goto finally;
 5759|      0|            }
 5760|    242|        }
 5761|      0|        else {
 5762|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5762:17): [True: 0, False: 0]
  ------------------
 5763|      0|                    "builtin type %.200s has no __module__ attribute",
 5764|      0|                    it.name))
 5765|      0|                goto finally;
 5766|      0|        }
 5767|    242|    }
 5768|       |
 5769|    242|    assert(_PyType_CheckConsistency(type));
 5770|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 5771|       |    // After this point, other threads can potentally use this type.
 5772|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 5773|       |#endif
 5774|       |
 5775|    242| finally:
 5776|    242|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5776:9): [True: 0, False: 242]
  ------------------
 5777|      0|        Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5778|      0|    }
 5779|    242|    Py_XDECREF(bases);
  ------------------
  |  |  524|    242|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5780|    242|    PyMem_Free(tp_doc);
 5781|    242|    Py_XDECREF(ht_name);
  ------------------
  |  |  524|    242|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5782|    242|    PyMem_Free(_ht_tpname);
 5783|    242|    return (PyObject*)res;
 5784|    242|}
typeobject.c:find_best_base:
 3703|  2.14k|{
 3704|  2.14k|    Py_ssize_t i, n;
 3705|  2.14k|    PyTypeObject *base, *winner, *candidate;
 3706|       |
 3707|  2.14k|    assert(PyTuple_Check(bases));
 3708|  2.14k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  2.14k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3709|  2.14k|    assert(n > 0);
 3710|  2.14k|    base = NULL;
 3711|  2.14k|    winner = NULL;
 3712|  4.49k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3712:17): [True: 2.34k, False: 2.14k]
  ------------------
 3713|  2.34k|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  2.34k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.34k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3714|  2.34k|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|  2.34k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3714:13): [True: 0, False: 2.34k]
  ------------------
 3715|      0|            PyErr_SetString(
 3716|      0|                PyExc_TypeError,
 3717|      0|                "bases must be types");
 3718|      0|            return NULL;
 3719|      0|        }
 3720|  2.34k|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3721|       |
 3722|  2.34k|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3722:13): [True: 0, False: 2.34k]
  ------------------
 3723|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3723:17): [True: 0, False: 0]
  ------------------
 3724|      0|                return NULL;
 3725|      0|        }
 3726|  2.34k|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|  2.34k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3726:13): [True: 0, False: 2.34k]
  ------------------
 3727|      0|            PyErr_Format(PyExc_TypeError,
 3728|      0|                         "type '%.100s' is not an acceptable base type",
 3729|      0|                         base_i->tp_name);
 3730|      0|            return NULL;
 3731|      0|        }
 3732|  2.34k|        candidate = solid_base(base_i);
 3733|  2.34k|        if (winner == NULL) {
  ------------------
  |  Branch (3733:13): [True: 2.14k, False: 198]
  ------------------
 3734|  2.14k|            winner = candidate;
 3735|  2.14k|            base = base_i;
 3736|  2.14k|        }
 3737|    198|        else if (PyType_IsSubtype(winner, candidate))
  ------------------
  |  Branch (3737:18): [True: 192, False: 6]
  ------------------
 3738|    192|            ;
 3739|      6|        else if (PyType_IsSubtype(candidate, winner)) {
  ------------------
  |  Branch (3739:18): [True: 6, False: 0]
  ------------------
 3740|      6|            winner = candidate;
 3741|      6|            base = base_i;
 3742|      6|        }
 3743|      0|        else {
 3744|      0|            PyErr_SetString(
 3745|      0|                PyExc_TypeError,
 3746|      0|                "multiple bases have "
 3747|      0|                "instance lay-out conflict");
 3748|      0|            return NULL;
 3749|      0|        }
 3750|  2.34k|    }
 3751|  2.14k|    assert (base != NULL);
 3752|       |
 3753|  2.14k|    return base;
 3754|  2.14k|}
typeobject.c:solid_base:
 3767|  12.6k|{
 3768|  12.6k|    PyTypeObject *base;
 3769|       |
 3770|  12.6k|    if (type->tp_base) {
  ------------------
  |  Branch (3770:9): [True: 8.01k, False: 4.62k]
  ------------------
 3771|  8.01k|        base = solid_base(type->tp_base);
 3772|  8.01k|    }
 3773|  4.62k|    else {
 3774|  4.62k|        base = &PyBaseObject_Type;
 3775|  4.62k|    }
 3776|  12.6k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3776:9): [True: 1.79k, False: 10.8k]
  ------------------
 3777|  1.79k|        return type;
 3778|  1.79k|    }
 3779|  10.8k|    else {
 3780|  10.8k|        return base;
 3781|  10.8k|    }
 3782|  12.6k|}
typeobject.c:shape_differs:
 3758|  12.6k|{
 3759|  12.6k|    return (
 3760|  12.6k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3760:9): [True: 1.79k, False: 10.8k]
  ------------------
 3761|  10.8k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3761:9): [True: 0, False: 10.8k]
  ------------------
 3762|  12.6k|    );
 3763|  12.6k|}
typeobject.c:special_offset_from_member:
 5206|    726|{
 5207|    726|    if (memb == NULL) {
  ------------------
  |  Branch (5207:9): [True: 654, False: 72]
  ------------------
 5208|    654|        *dest = 0;
 5209|    654|        return 0;
 5210|    654|    }
 5211|     72|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     72|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5211:9): [True: 0, False: 72]
  ------------------
 5212|      0|        PyErr_Format(
 5213|      0|            PyExc_SystemError,
 5214|      0|            "type of %s must be Py_T_PYSSIZET",
 5215|      0|            memb->name);
 5216|      0|        return -1;
 5217|      0|    }
 5218|     72|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     72|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5218:9): [True: 72, False: 0]
  ------------------
 5219|     72|        *dest = memb->offset;
 5220|     72|        return 0;
 5221|     72|    }
 5222|      0|    else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   83|      0|#define Py_READONLY            (1 << 0)
  ------------------
                  else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5222:14): [True: 0, False: 0]
  ------------------
 5223|      0|        *dest = memb->offset + type_data_offset;
 5224|      0|        return 0;
 5225|      0|    }
 5226|      0|    PyErr_Format(
 5227|      0|        PyExc_SystemError,
 5228|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5229|      0|        memb->name);
 5230|      0|    return -1;
 5231|     72|}
typeobject.c:type_set_flags:
  456|  29.1k|{
  457|  29.1k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  458|  29.1k|    tp->tp_flags = flags;
  459|  29.1k|}
typeobject.c:set_tp_bases:
  600|  3.12k|{
  601|  3.12k|    assert(PyTuple_Check(bases));
  602|  3.12k|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  603|  3.12k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.12k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (603:9): [True: 414, False: 2.70k]
  ------------------
  604|       |        // XXX tp_bases can probably be statically allocated for each
  605|       |        // static builtin type.
  606|    414|        assert(PyTuple_CheckExact(bases));
  607|    414|        assert(initial);
  608|    414|        assert(self->tp_bases == NULL);
  609|    414|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    414|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    414|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    414|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (609:13): [True: 2, False: 412]
  ------------------
  610|      2|            assert(self->tp_base == NULL);
  611|      2|        }
  612|    412|        else {
  613|    412|            assert(PyTuple_GET_SIZE(bases) == 1);
  614|    412|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  615|    412|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  616|       |            assert(_Py_IsImmortal(self->tp_base));
  617|    412|        }
  618|    414|        _Py_SetImmortal(bases);
  619|    414|    }
  620|  3.12k|    self->tp_bases = bases;
  621|  3.12k|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2575|   816k|{
 2576|   816k|    return PyObject_GetItemData((PyObject *)type);
 2577|   816k|}
typeobject.c:subtype_dealloc:
 2715|   590k|{
 2716|   590k|    PyTypeObject *type, *base;
 2717|   590k|    destructor basedealloc;
 2718|   590k|    int has_finalizer;
 2719|       |
 2720|       |    /* Extract the type; we expect it to be a heap type */
 2721|   590k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   590k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   590k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   590k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2722|   590k|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|   590k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   590k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   590k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|       |
 2724|       |    /* Test whether the type has GC exactly once */
 2725|       |
 2726|   590k|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  |  828|   590k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   590k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  |  Branch (2726:9): [True: 4, False: 590k]
  ------------------
 2727|       |        /* A non GC dynamic type allows certain simplifications:
 2728|       |           there's no need to call clear_slots(), or DECREF the dict,
 2729|       |           or clear weakrefs. */
 2730|       |
 2731|       |        /* Maybe call finalizer; exit early if resurrected */
 2732|      4|        if (type->tp_finalize) {
  ------------------
  |  Branch (2732:13): [True: 0, False: 4]
  ------------------
 2733|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2733:17): [True: 0, False: 0]
  ------------------
 2734|      0|                return;
 2735|      0|        }
 2736|      4|        if (type->tp_del) {
  ------------------
  |  Branch (2736:13): [True: 0, False: 4]
  ------------------
 2737|      0|            type->tp_del(self);
 2738|      0|            if (Py_REFCNT(self) > 0) {
  ------------------
  |  |  119|      0|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2738:17): [True: 0, False: 0]
  ------------------
 2739|      0|                return;
 2740|      0|            }
 2741|      0|        }
 2742|       |
 2743|       |        /* Find the nearest base with a different tp_dealloc */
 2744|      4|        base = type;
 2745|      8|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2745:16): [True: 4, False: 4]
  ------------------
 2746|      4|            base = base->tp_base;
 2747|      4|            assert(base);
 2748|      4|        }
 2749|       |
 2750|       |        /* Extract the type again; tp_del may have changed it */
 2751|      4|        type = Py_TYPE(self);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|       |
 2753|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2754|       |        // can deallocate the type and free its memory.
 2755|      4|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      8|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2755:34): [True: 4, False: 0]
  ------------------
 2756|      4|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      4|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2756:37): [True: 0, False: 4]
  ------------------
 2757|       |
 2758|      4|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
 2759|       |
 2760|       |        /* Call the base tp_dealloc() */
 2761|      4|        assert(basedealloc);
 2762|      4|        basedealloc(self);
 2763|       |
 2764|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2765|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2766|       |           reference counting. Only decref if the base type is not already a heap
 2767|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2768|      4|        if (type_needs_decref) {
  ------------------
  |  Branch (2768:13): [True: 0, False: 4]
  ------------------
 2769|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  316|      0|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2770|      0|        }
 2771|       |
 2772|       |        /* Done */
 2773|      4|        return;
 2774|      4|    }
 2775|       |
 2776|       |    /* We get here only if the type has GC */
 2777|       |
 2778|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2779|       |    /* See explanation at end of function for full disclosure */
 2780|   590k|    PyObject_GC_UnTrack(self);
 2781|       |
 2782|       |    /* Find the nearest base with a different tp_dealloc */
 2783|   590k|    base = type;
 2784|  1.44M|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2784:12): [True: 857k, False: 590k]
  ------------------
 2785|   857k|        base = base->tp_base;
 2786|   857k|        assert(base);
 2787|   857k|    }
 2788|       |
 2789|   590k|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2789:21): [True: 14, False: 590k]
  |  Branch (2789:42): [True: 0, False: 590k]
  ------------------
 2790|       |
 2791|   590k|    if (type->tp_finalize) {
  ------------------
  |  Branch (2791:9): [True: 14, False: 590k]
  ------------------
 2792|     14|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|     14|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2793|     14|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2793:13): [True: 0, False: 14]
  ------------------
 2794|       |            /* Resurrected */
 2795|      0|            return;
 2796|      0|        }
 2797|     14|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     14|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|     14|    }
 2799|       |    /*
 2800|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2801|       |      clearing slots, or clearing the instance dict.
 2802|       |
 2803|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2804|       |      whether directly here or indirectly in something we call) may trigger GC,
 2805|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2806|       |      will try to delete self again.
 2807|       |    */
 2808|   590k|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2808:9): [True: 261k, False: 329k]
  |  Branch (2808:36): [True: 261k, False: 12]
  ------------------
 2809|   261k|        PyObject_ClearWeakRefs(self);
 2810|   261k|    }
 2811|       |
 2812|   590k|    if (type->tp_del) {
  ------------------
  |  Branch (2812:9): [True: 0, False: 590k]
  ------------------
 2813|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|      0|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|      0|        type->tp_del(self);
 2815|      0|        if (Py_REFCNT(self) > 0) {
  ------------------
  |  |  119|      0|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2815:13): [True: 0, False: 0]
  ------------------
 2816|       |            /* Resurrected */
 2817|      0|            return;
 2818|      0|        }
 2819|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      0|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2820|      0|    }
 2821|   590k|    if (has_finalizer) {
  ------------------
  |  Branch (2821:9): [True: 14, False: 590k]
  ------------------
 2822|       |        /* New weakrefs could be created during the finalizer call.
 2823|       |           If this occurs, clear them out without calling their
 2824|       |           finalizers since they might rely on part of the object
 2825|       |           being finalized that has already been destroyed. */
 2826|     14|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2826:13): [True: 14, False: 0]
  |  Branch (2826:40): [True: 2, False: 12]
  ------------------
 2827|      2|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2828|      2|        }
 2829|     14|    }
 2830|       |
 2831|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2832|   590k|    base = type;
 2833|  1.44M|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2833:12): [True: 857k, False: 590k]
  ------------------
 2834|   857k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   857k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   857k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   857k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 222k, False: 635k]
  |  |  ------------------
  ------------------
 2835|   222k|            clear_slots(base, self);
 2836|   857k|        base = base->tp_base;
 2837|   857k|        assert(base);
 2838|   857k|    }
 2839|       |
 2840|       |    /* If we added a dict, DECREF it, or free inline values. */
 2841|   590k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   590k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2841:9): [True: 256k, False: 334k]
  ------------------
 2842|   256k|        PyObject_ClearManagedDict(self);
 2843|   256k|    }
 2844|   334k|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2844:14): [True: 4.38k, False: 329k]
  |  Branch (2844:37): [True: 0, False: 4.38k]
  ------------------
 2845|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2846|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2846:13): [True: 0, False: 0]
  ------------------
 2847|      0|            PyObject *dict = *dictptr;
 2848|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2848:17): [True: 0, False: 0]
  ------------------
 2849|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|      0|                *dictptr = NULL;
 2851|      0|            }
 2852|      0|        }
 2853|      0|    }
 2854|       |
 2855|       |    /* Extract the type again; tp_del may have changed it */
 2856|   590k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   590k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   590k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   590k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|       |
 2858|       |    /* Call the base tp_dealloc(); first retrack self if
 2859|       |     * basedealloc knows about gc.
 2860|       |     */
 2861|   590k|    if (_PyType_IS_GC(base)) {
  ------------------
  |  |  828|   590k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   590k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 267k, False: 323k]
  |  |  ------------------
  ------------------
 2862|   267k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|   267k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   267k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   267k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|   267k|    }
 2864|       |
 2865|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2866|       |    // can deallocate the type and free its memory.
 2867|   590k|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  1.18M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2867:30): [True: 590k, False: 0]
  ------------------
 2868|   590k|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|   590k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2868:33): [True: 440k, False: 150k]
  ------------------
 2869|       |
 2870|   590k|    assert(basedealloc);
 2871|   590k|    basedealloc(self);
 2872|       |
 2873|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2874|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2875|       |       reference counting. Only decref if the base type is not already a heap
 2876|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2877|   590k|    if (type_needs_decref) {
  ------------------
  |  Branch (2877:9): [True: 440k, False: 150k]
  ------------------
 2878|   440k|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  316|   440k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|   440k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   440k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   440k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|   440k|    }
 2880|   590k|}
typeobject.c:clear_slots:
 2656|   222k|{
 2657|   222k|    Py_ssize_t i, n;
 2658|   222k|    PyMemberDef *mp;
 2659|       |
 2660|   222k|    n = Py_SIZE(type);
  ------------------
  |  |  214|   222k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2661|   222k|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2662|  1.53M|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2662:17): [True: 1.31M, False: 222k]
  ------------------
 2663|  1.31M|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|  2.62M|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|  1.31M|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2663:13): [True: 1.31M, False: 0]
  |  Branch (2663:43): [True: 1.31M, False: 0]
  ------------------
 2664|  1.31M|            void *addr = _PyMember_GetOffset(self, mp);
 2665|  1.31M|            PyObject *obj = *(PyObject **)addr;
 2666|  1.31M|            if (obj != NULL) {
  ------------------
  |  Branch (2666:17): [True: 1.26M, False: 47.2k]
  ------------------
 2667|  1.26M|                *(PyObject **)addr = NULL;
 2668|  1.26M|                Py_DECREF(obj);
  ------------------
  |  |  430|  1.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|  1.26M|            }
 2670|  1.31M|        }
 2671|  1.31M|    }
 2672|   222k|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5134|    242|{
 5135|    242|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5135:9): [True: 0, False: 242]
  ------------------
 5136|       |        // Custom allocators can ignore tp_basicsize
 5137|      0|        return 1;
 5138|      0|    }
 5139|    242|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5140|       |
 5141|    242|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5141:9): [True: 242, False: 0]
  |  Branch (5141:26): [True: 0, False: 242]
  ------------------
 5142|      0|        PyErr_Format(PyExc_TypeError,
 5143|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5144|      0|                     type->tp_name, type->tp_basicsize,
 5145|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5146|      0|        return 0;
 5147|      0|    }
 5148|    242|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 242]
  ------------------
 5149|      0|        PyErr_Format(PyExc_TypeError,
 5150|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5151|      0|                     type->tp_weaklistoffset,
 5152|      0|                     type->tp_name, type->tp_basicsize);
 5153|      0|        return 0;
 5154|      0|    }
 5155|    242|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5155:9): [True: 0, False: 242]
  ------------------
 5156|      0|        PyErr_Format(PyExc_TypeError,
 5157|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5158|      0|                     type->tp_dictoffset,
 5159|      0|                     type->tp_name, type->tp_basicsize);
 5160|      0|        return 0;
 5161|      0|    }
 5162|    242|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5162:9): [True: 0, False: 242]
  ------------------
 5163|      0|        PyErr_Format(PyExc_TypeError,
 5164|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5165|      0|                     type->tp_vectorcall_offset,
 5166|      0|                     type->tp_name, type->tp_basicsize);
 5167|      0|        return 0;
 5168|      0|    }
 5169|    242|    return 1;
 5170|    242|}
typeobject.c:type_name:
 1522|    384|{
 1523|    384|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    384|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1524|    384|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    384|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1524:9): [True: 322, False: 62]
  ------------------
 1525|    322|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1526|    322|        return Py_NewRef(et->ht_name);
  ------------------
  |  |  550|    322|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    322|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    322|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1527|    322|    }
 1528|     62|    else {
 1529|     62|        return PyUnicode_FromString(_PyType_Name(type));
 1530|     62|    }
 1531|    384|}
typeobject.c:lookup_tp_mro:
  646|  3.68M|{
  647|  3.68M|    return self->tp_mro;
  648|  3.68M|}
typeobject.c:getitemdata:
 6101|   816k|{
 6102|   816k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|   816k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|   816k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6102:9): [True: 0, False: 816k]
  ------------------
 6103|      0|        if (raise) {
  ------------------
  |  Branch (6103:13): [True: 0, False: 0]
  ------------------
 6104|      0|            PyErr_Format(PyExc_TypeError,
 6105|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6106|      0|                         obj);
 6107|      0|        }
 6108|      0|        return NULL;
 6109|      0|    }
 6110|   816k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|   816k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6111|   816k|}
typeobject.c:get_type_cache:
  974|  81.9M|{
  975|  81.9M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  976|  81.9M|    return &interp->types.type_cache;
  977|  81.9M|}
typeobject.c:should_assign_version_tag:
 6284|  3.10M|{
 6285|  3.10M|    return (version_tag == 0
  ------------------
  |  Branch (6285:13): [True: 2.86k, False: 3.09M]
  ------------------
 6286|  2.86k|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  158|  2.86k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1389|  3.10M|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6286:12): [True: 2.86k, False: 0]
  ------------------
 6287|  2.86k|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   57|  2.86k|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|  2.86k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  5.73k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 2.86k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|  2.86k|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|  2.86k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|  2.86k|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 2.86k, False: 0]
  |  |  ------------------
  ------------------
 6288|  3.10M|}
typeobject.c:find_name_in_mro:
 6131|  3.33M|{
 6132|  3.33M|    Py_hash_t hash = _PyObject_HashFast(name);
 6133|  3.33M|    if (hash == -1) {
  ------------------
  |  Branch (6133:9): [True: 0, False: 3.33M]
  ------------------
 6134|      0|        PyErr_Clear();
 6135|      0|        return -1;
 6136|      0|    }
 6137|       |
 6138|       |    /* Look in tp_dict of types in MRO */
 6139|  3.33M|    PyObject *mro = lookup_tp_mro(type);
 6140|  3.33M|    if (mro == NULL) {
  ------------------
  |  Branch (6140:9): [True: 0, False: 3.33M]
  ------------------
 6141|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6141:13): [True: 0, False: 0]
  ------------------
 6142|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6142:17): [True: 0, False: 0]
  ------------------
 6143|      0|                PyErr_Clear();
 6144|      0|                return -1;
 6145|      0|            }
 6146|      0|            mro = lookup_tp_mro(type);
 6147|      0|        }
 6148|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6148:13): [True: 0, False: 0]
  ------------------
 6149|      0|            return -1;
 6150|      0|        }
 6151|      0|    }
 6152|       |
 6153|  3.33M|    int res = 0;
 6154|  3.33M|    PyThreadState *tstate = _PyThreadState_GET();
 6155|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6156|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6157|  3.33M|    _PyCStackRef mro_ref;
 6158|  3.33M|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6159|  3.33M|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  3.33M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6160|  3.33M|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  3.33M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6161|  9.72M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6161:28): [True: 8.23M, False: 1.49M]
  ------------------
 6162|  8.23M|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  8.23M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  8.23M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6163|  8.23M|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  8.23M|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6164|  8.23M|        assert(dict && PyDict_Check(dict));
 6165|  8.23M|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6166|  8.23M|            (PyDictObject *)dict, name, hash, out);
 6167|  8.23M|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  8.23M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6167:13): [True: 0, False: 8.23M]
  ------------------
 6168|      0|            PyErr_Clear();
 6169|      0|            res = -1;
 6170|      0|            goto done;
 6171|      0|        }
 6172|  8.23M|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  8.23M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.23M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.23M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6172:13): [True: 1.84M, False: 6.39M]
  ------------------
 6173|  1.84M|            res = 1;
 6174|  1.84M|            break;
 6175|  1.84M|        }
 6176|  8.23M|    }
 6177|  3.33M|done:
 6178|  3.33M|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6179|  3.33M|    return res;
 6180|  3.33M|}
typeobject.c:update_cache:
 6202|  3.10M|{
 6203|  3.10M|    _Py_atomic_store_ptr_relaxed(&entry->value, value); /* borrowed */
 6204|  3.10M|    assert(PyUnstable_Unicode_GET_CACHED_HASH(name) != -1);
 6205|  3.10M|    OBJECT_STAT_INC_COND(type_cache_collisions, entry->name != Py_None && entry->name != name);
  ------------------
  |  |   78|  3.10M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6206|       |    // We're releasing this under the lock for simplicity sake because it's always a
 6207|       |    // exact unicode object or Py_None so it's safe to do so.
 6208|  3.10M|    PyObject *old_name = entry->name;
 6209|  3.10M|    _Py_atomic_store_ptr_relaxed(&entry->name, Py_NewRef(name));
  ------------------
  |  |  550|  3.10M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6210|       |    // We must write the version last to avoid _Py_TryXGetStackRef()
 6211|       |    // operating on an invalid (already deallocated) value inside
 6212|       |    // _PyType_LookupRefAndVersion().  If we write the version first then a
 6213|       |    // reader could pass the "entry_version == type_version" check but could
 6214|       |    // be using the old entry value.
 6215|  3.10M|    _Py_atomic_store_uint32_release(&entry->version, version_tag);
 6216|  3.10M|    return old_name;
 6217|  3.10M|}
typeobject.c:set_flags_recursive:
 6469|     32|{
 6470|     32|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     32|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6470:9): [True: 32, False: 0]
  ------------------
 6471|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6471:9): [True: 0, False: 0]
  ------------------
 6472|     32|    {
 6473|     32|        return;
 6474|     32|    }
 6475|       |
 6476|      0|    type_set_flags_with_mask(self, mask, flags);
 6477|       |
 6478|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6479|      0|    if (children == NULL) {
  ------------------
  |  Branch (6479:9): [True: 0, False: 0]
  ------------------
 6480|      0|        return;
 6481|      0|    }
 6482|       |
 6483|      0|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(children); i++) {
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6483:28): [True: 0, False: 0]
  ------------------
 6484|      0|        PyObject *child = PyList_GET_ITEM(children, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6485|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6486|      0|    }
 6487|      0|    Py_DECREF(children);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6488|      0|}
typeobject.c:type_dealloc_common:
 6835|    102|{
 6836|    102|    PyObject *bases = lookup_tp_bases(type);
 6837|    102|    if (bases != NULL) {
  ------------------
  |  Branch (6837:9): [True: 102, False: 0]
  ------------------
 6838|    102|        PyObject *exc = PyErr_GetRaisedException();
 6839|    102|        remove_all_subclasses(type, bases);
 6840|    102|        PyErr_SetRaisedException(exc);
 6841|    102|    }
 6842|    102|}
typeobject.c:remove_all_subclasses:
 9782|    106|{
 9783|    106|    assert(bases != NULL);
 9784|       |    // remove_subclass() can clear the current exception
 9785|    106|    assert(!PyErr_Occurred());
 9786|       |
 9787|    212|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    212|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9787:28): [True: 106, False: 106]
  ------------------
 9788|    106|        PyObject *base = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    106|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    106|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9789|    106|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    106|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 106, False: 0]
  |  |  ------------------
  ------------------
 9790|    106|            remove_subclass((PyTypeObject*) base, type);
 9791|    106|        }
 9792|    106|    }
 9793|       |    assert(!PyErr_Occurred());
 9794|    106|}
typeobject.c:remove_subclass:
 9759|    106|{
 9760|    106|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9761|    106|    if (subclasses == NULL) {
  ------------------
  |  Branch (9761:9): [True: 0, False: 106]
  ------------------
 9762|      0|        return;
 9763|      0|    }
 9764|    106|    assert(PyDict_CheckExact(subclasses));
 9765|       |
 9766|    106|    PyObject *key = get_subclasses_key(type, base);
 9767|    106|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9767:9): [True: 106, False: 0]
  |  Branch (9767:24): [True: 0, False: 106]
  ------------------
 9768|       |        /* This can happen if the type initialization errored out before
 9769|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9770|       |           was passed in the type dict). */
 9771|      0|        PyErr_Clear();
 9772|      0|    }
 9773|    106|    Py_XDECREF(key);
  ------------------
  |  |  524|    106|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9774|       |
 9775|    106|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9775:9): [True: 0, False: 106]
  ------------------
 9776|      0|        clear_tp_subclasses(base);
 9777|      0|    }
 9778|    106|}
typeobject.c:get_subclasses_key:
 9728|    106|{
 9729|    106|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9730|    106|    if (key != NULL) {
  ------------------
  |  Branch (9730:9): [True: 106, False: 0]
  ------------------
 9731|    106|        return key;
 9732|    106|    }
 9733|      0|    PyErr_Clear();
 9734|       |
 9735|       |    /* This basically means we're out of memory.
 9736|       |       We fall back to manually traversing the values. */
 9737|      0|    Py_ssize_t i = 0;
 9738|      0|    PyObject *ref;  // borrowed ref
 9739|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9740|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9740:9): [True: 0, False: 0]
  ------------------
 9741|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9741:16): [True: 0, False: 0]
  ------------------
 9742|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9743|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9743:17): [True: 0, False: 0]
  ------------------
 9744|      0|                continue;
 9745|      0|            }
 9746|      0|            if (subclass == type) {
  ------------------
  |  Branch (9746:17): [True: 0, False: 0]
  ------------------
 9747|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9748|      0|                return Py_NewRef(key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9749|      0|            }
 9750|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9751|      0|        }
 9752|      0|    }
 9753|       |    /* It wasn't found. */
 9754|      0|    return NULL;
 9755|      0|}
typeobject.c:clear_tp_subclasses:
  718|    102|{
  719|       |    /* Delete the dictionary to save memory. _PyStaticType_Dealloc()
  720|       |       callers also test if tp_subclasses is NULL to check if a static type
  721|       |       has no subclass. */
  722|    102|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    102|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (722:9): [True: 0, False: 102]
  ------------------
  723|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  724|      0|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  725|      0|        Py_CLEAR(state->tp_subclasses);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  726|      0|        return;
  727|      0|    }
  728|    102|    Py_CLEAR(self->tp_subclasses);
  ------------------
  |  |  484|    102|    do { \
  |  |  485|    102|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    102|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    102|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 102]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
  729|    102|}
typeobject.c:type_clear_flags:
  477|  3.01k|{
  478|  3.01k|    type_set_flags(tp, tp->tp_flags & ~flag);
  479|  3.01k|}
typeobject.c:type_dealloc:
 6964|    102|{
 6965|    102|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|    102|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6966|       |
 6967|       |    // Assert this is a heap-allocated type object
 6968|    102|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|    102|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    102|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|    102|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6969|       |
 6970|       |    // Notify type watchers before teardown.  The type object is still fully
 6971|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6972|       |    // callbacks can safely inspect it.
 6973|    102|    if (type->tp_watched) {
  ------------------
  |  Branch (6973:9): [True: 0, False: 102]
  ------------------
 6974|      0|        _PyObject_ResurrectStart(self);
 6975|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6976|      0|        int bits = type->tp_watched;
 6977|      0|        int i = 0;
 6978|      0|        while (bits) {
  ------------------
  |  Branch (6978:16): [True: 0, False: 0]
  ------------------
 6979|      0|            assert(i < TYPE_MAX_WATCHERS);
 6980|      0|            if (bits & 1) {
  ------------------
  |  Branch (6980:17): [True: 0, False: 0]
  ------------------
 6981|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6982|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6982:21): [True: 0, False: 0]
  |  Branch (6982:27): [True: 0, False: 0]
  ------------------
 6983|      0|                    PyErr_FormatUnraisable(
 6984|      0|                        "Exception ignored in type watcher callback #%d "
 6985|      0|                        "for %R",
 6986|      0|                        i, type);
 6987|      0|                }
 6988|      0|            }
 6989|      0|            i++;
 6990|      0|            bits >>= 1;
 6991|      0|        }
 6992|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6992:13): [True: 0, False: 0]
  ------------------
 6993|      0|            return;     // callback resurrected the object
 6994|      0|        }
 6995|      0|    }
 6996|       |
 6997|    102|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  510|    102|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6998|    102|    type_dealloc_common(type);
 6999|       |
 7000|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 7001|    102|    assert(Py_REFCNT(type) == 0);
 7002|    102|    PyObject_ClearWeakRefs((PyObject *)type);
 7003|       |
 7004|    102|    Py_XDECREF(type->tp_base);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7005|    102|    Py_XDECREF(type->tp_dict);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7006|    102|    Py_XDECREF(type->tp_bases);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7007|    102|    Py_XDECREF(type->tp_mro);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7008|    102|    Py_XDECREF(type->tp_cache);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7009|    102|    clear_tp_subclasses(type);
 7010|       |
 7011|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 7012|       |     * of most other objects.  It's okay to cast it to char *.
 7013|       |     */
 7014|    102|    PyMem_Free((char *)type->tp_doc);
 7015|       |
 7016|    102|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 7017|    102|    Py_XDECREF(et->ht_name);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7018|    102|    Py_XDECREF(et->ht_qualname);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7019|    102|    Py_XDECREF(et->ht_slots);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7020|    102|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (7020:9): [True: 94, False: 8]
  ------------------
 7021|     94|        _PyDictKeys_DecRef(et->ht_cached_keys);
 7022|     94|    }
 7023|    102|    Py_XDECREF(et->ht_module);
  ------------------
  |  |  524|    102|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7024|    102|    PyMem_Free(et->_ht_tpname);
 7025|       |#ifdef Py_GIL_DISABLED
 7026|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 7027|       |#endif
 7028|    102|    et->ht_token = NULL;
 7029|    102|    Py_TYPE(type)->tp_free((PyObject *)type);
  ------------------
  |  |  213|    102|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7030|    102|}
typeobject.c:type_repr:
 2390|      2|{
 2391|      2|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|      2|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2392|      2|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 2]
  ------------------
 2393|       |        // type_repr() called before the type is fully initialized
 2394|       |        // by PyType_Ready().
 2395|      0|        return PyUnicode_FromFormat("<class at %p>", type);
 2396|      0|    }
 2397|       |
 2398|      2|    PyObject *mod = type_module(type);
 2399|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2399:9): [True: 0, False: 2]
  ------------------
 2400|      0|        PyErr_Clear();
 2401|      0|    }
 2402|      2|    else if (!PyUnicode_Check(mod)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2402:14): [True: 0, False: 2]
  ------------------
 2403|      0|        Py_CLEAR(mod);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2404|      0|    }
 2405|       |
 2406|      2|    PyObject *name = type_qualname(self, NULL);
 2407|      2|    if (name == NULL) {
  ------------------
  |  Branch (2407:9): [True: 0, False: 2]
  ------------------
 2408|      0|        Py_XDECREF(mod);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      0|        return NULL;
 2410|      0|    }
 2411|       |
 2412|      2|    PyObject *result;
 2413|      2|    if (mod != NULL && !_PyUnicode_Equal(mod, &_Py_ID(builtins))) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2413:9): [True: 2, False: 0]
  |  Branch (2413:24): [True: 0, False: 2]
  ------------------
 2414|      0|        result = PyUnicode_FromFormat("<class '%U.%U'>", mod, name);
 2415|      0|    }
 2416|      2|    else {
 2417|      2|        result = PyUnicode_FromFormat("<class '%s'>", type->tp_name);
 2418|      2|    }
 2419|      2|    Py_XDECREF(mod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2420|      2|    Py_DECREF(name);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|       |
 2422|      2|    return result;
 2423|      2|}
typeobject.c:type_call:
 2427|  19.1M|{
 2428|  19.1M|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  19.1M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2429|  19.1M|    PyObject *obj;
 2430|  19.1M|    PyThreadState *tstate = _PyThreadState_GET();
 2431|       |
 2432|       |#ifdef Py_DEBUG
 2433|       |    /* type_call() must not be called with an exception set,
 2434|       |       because it can clear it (directly or indirectly) and so the
 2435|       |       caller loses its exception */
 2436|       |    assert(!_PyErr_Occurred(tstate));
 2437|       |#endif
 2438|       |
 2439|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2440|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2441|  19.1M|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2441:9): [True: 2.10k, False: 19.1M]
  ------------------
 2442|  2.10k|        assert(args != NULL && PyTuple_Check(args));
 2443|  2.10k|        assert(kwds == NULL || PyDict_Check(kwds));
 2444|  2.10k|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  2.10k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|       |
 2446|  2.10k|        if (nargs == 1 && (kwds == NULL || !PyDict_GET_SIZE(kwds))) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2446:13): [True: 0, False: 2.10k]
  |  Branch (2446:28): [True: 0, False: 0]
  |  Branch (2446:44): [True: 0, False: 0]
  ------------------
 2447|      0|            obj = (PyObject *) Py_TYPE(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2448|      0|            return Py_NewRef(obj);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|      0|        }
 2450|       |
 2451|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2452|       |           arguments. But PyArg_ParseTuple in type_new may give
 2453|       |           a msg saying type() needs exactly 3. */
 2454|  2.10k|        if (nargs != 3) {
  ------------------
  |  Branch (2454:13): [True: 0, False: 2.10k]
  ------------------
 2455|      0|            PyErr_SetString(PyExc_TypeError,
 2456|      0|                            "type() takes 1 or 3 arguments");
 2457|      0|            return NULL;
 2458|      0|        }
 2459|  2.10k|    }
 2460|       |
 2461|  19.1M|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 19.1M]
  ------------------
 2462|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2463|      0|                      "cannot create '%s' instances", type->tp_name);
 2464|      0|        return NULL;
 2465|      0|    }
 2466|       |
 2467|  19.1M|    obj = type->tp_new(type, args, kwds);
 2468|  19.1M|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2469|  19.1M|    if (obj == NULL)
  ------------------
  |  Branch (2469:9): [True: 0, False: 19.1M]
  ------------------
 2470|      0|        return NULL;
 2471|       |
 2472|       |    /* If the returned object is not an instance of type,
 2473|       |       it won't be initialized. */
 2474|  19.1M|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|  19.1M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  19.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2474:9): [True: 4, False: 19.1M]
  ------------------
 2475|      4|        return obj;
 2476|       |
 2477|  19.1M|    type = Py_TYPE(obj);
  ------------------
  |  |  213|  19.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|  19.1M|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2478:9): [True: 19.1M, False: 0]
  ------------------
 2479|  19.1M|        int res = type->tp_init(obj, args, kwds);
 2480|  19.1M|        if (res < 0) {
  ------------------
  |  Branch (2480:13): [True: 74, False: 19.1M]
  ------------------
 2481|     74|            assert(_PyErr_Occurred(tstate));
 2482|     74|            Py_SETREF(obj, NULL);
  ------------------
  |  |  352|     74|    do { \
  |  |  353|     74|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     74|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     74|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     74|        *_tmp_dst_ptr = (src); \
  |  |  356|     74|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 2483|     74|        }
 2484|  19.1M|        else {
 2485|       |            assert(!_PyErr_Occurred(tstate));
 2486|  19.1M|        }
 2487|  19.1M|    }
 2488|  19.1M|    return obj;
 2489|  19.1M|}
typeobject.c:type_setattro:
 6736|  4.01k|{
 6737|  4.01k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  4.01k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6738|  4.01k|    int res;
 6739|  4.01k|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|  4.01k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6739:9): [True: 0, False: 4.01k]
  ------------------
 6740|      0|        PyErr_Format(
 6741|      0|            PyExc_TypeError,
 6742|      0|            "cannot set %R attribute of immutable type '%s'",
 6743|      0|            name, type->tp_name);
 6744|      0|        return -1;
 6745|      0|    }
 6746|  4.01k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.01k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.01k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6746:9): [True: 0, False: 4.01k]
  ------------------
 6747|      0|        PyErr_Format(PyExc_TypeError,
 6748|      0|                     "attribute name must be string, not '%.200s'",
 6749|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6750|      0|        return -1;
 6751|      0|    }
 6752|       |
 6753|  4.01k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  4.01k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.01k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.01k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6754|  4.01k|        Py_INCREF(name);
  ------------------
  |  |  310|  4.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6755|  4.01k|    }
 6756|      0|    else {
 6757|      0|        name = _PyUnicode_Copy(name);
 6758|      0|        if (name == NULL)
  ------------------
  |  Branch (6758:13): [True: 0, False: 0]
  ------------------
 6759|      0|            return -1;
 6760|      0|    }
 6761|  4.01k|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|  4.01k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6761:9): [True: 0, False: 4.01k]
  ------------------
 6762|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6763|      0|        _PyUnicode_InternMortal(interp, &name);
 6764|      0|        if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|      0|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6764:13): [True: 0, False: 0]
  ------------------
 6765|      0|            PyErr_SetString(PyExc_MemoryError,
 6766|      0|                            "Out of memory interning an attribute name");
 6767|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6768|      0|            return -1;
 6769|      0|        }
 6770|      0|    }
 6771|       |
 6772|  4.01k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  4.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6773|  4.01k|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
 6774|  4.01k|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
 6775|       |
 6776|       |#ifdef Py_GIL_DISABLED
 6777|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6778|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6779|       |    // which is generated dynamically, and for descriptor scaling on
 6780|       |    // free-threaded builds.
 6781|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6782|       |    {
 6783|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6784|       |    }
 6785|       |#endif
 6786|       |
 6787|  4.01k|    PyObject *old_value = NULL;
 6788|  4.01k|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6789|  4.01k|    if (descr != NULL) {
  ------------------
  |  Branch (6789:9): [True: 1.22k, False: 2.78k]
  ------------------
 6790|  1.22k|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|  1.22k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6791|  1.22k|        if (f != NULL) {
  ------------------
  |  Branch (6791:13): [True: 684, False: 542]
  ------------------
 6792|    684|            res = f(descr, (PyObject *)type, value);
 6793|    684|            goto done;
 6794|    684|        }
 6795|  1.22k|    }
 6796|       |
 6797|  3.32k|    PyObject *dict = type->tp_dict;
 6798|  3.32k|    if (dict == NULL) {
  ------------------
  |  Branch (6798:9): [True: 0, False: 3.32k]
  ------------------
 6799|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6800|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6801|       |        // because we could already be readying.
 6802|      0|        BEGIN_TYPE_LOCK();
 6803|      0|        dict = type->tp_dict;
 6804|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6804:13): [True: 0, False: 0]
  ------------------
 6805|      0|            dict = type->tp_dict = PyDict_New();
 6806|      0|        }
 6807|      0|        END_TYPE_LOCK();
 6808|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6808:13): [True: 0, False: 0]
  ------------------
 6809|      0|            res = -1;
 6810|      0|            goto done;
 6811|      0|        }
 6812|      0|    }
 6813|       |
 6814|  3.32k|    BEGIN_TYPE_DICT_LOCK(dict);
 6815|  3.32k|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6816|  3.32k|    assert(_PyType_CheckConsistency(type));
 6817|  3.32k|    if (res == 0) {
  ------------------
  |  Branch (6817:9): [True: 3.32k, False: 0]
  ------------------
 6818|  3.32k|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6818:13): [True: 1.09k, False: 2.23k]
  |  Branch (6818:37): [True: 450, False: 641]
  ------------------
 6819|       |            // The name corresponds to a type slot.
 6820|    450|            res = update_slot_after_setattr(type, name);
 6821|    450|        }
 6822|  3.32k|    }
 6823|  3.32k|    END_TYPE_DICT_LOCK();
 6824|       |
 6825|  4.01k|done:
 6826|  4.01k|    Py_DECREF(name);
  ------------------
  |  |  430|  4.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6827|  4.01k|    Py_XDECREF(descr);
  ------------------
  |  |  524|  4.01k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6828|  4.01k|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  4.01k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6829|  4.01k|    return res;
 6830|  3.32k|}
typeobject.c:type_update_dict:
 6681|  3.32k|{
 6682|       |    // We don't want any re-entrancy between when we update the dict
 6683|       |    // and call type_modified_unlocked, including running the destructor
 6684|       |    // of the current value as it can observe the cache in an inconsistent
 6685|       |    // state.  Because we have an exact unicode and our dict has exact
 6686|       |    // unicodes we know that this will all complete without releasing
 6687|       |    // the locks.
 6688|  3.32k|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6688:9): [True: 0, False: 3.32k]
  ------------------
 6689|      0|        return -1;
 6690|      0|    }
 6691|       |
 6692|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6693|       |        subclasses.  This could possibly be unified with the
 6694|       |        update_subclasses() recursion in update_slot(), but carefully:
 6695|       |        they each have their own conditions on which to stop
 6696|       |        recursing into subclasses. */
 6697|  3.32k|    type_modified_unlocked(type);
 6698|       |
 6699|  3.32k|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6699:9): [True: 0, False: 3.32k]
  ------------------
 6700|      0|        PyErr_Format(PyExc_AttributeError,
 6701|      0|                     "type object '%.50s' has no attribute '%U'",
 6702|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6703|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6704|      0|        return -1;
 6705|      0|    }
 6706|       |
 6707|  3.32k|    return 0;
 6708|  3.32k|}
typeobject.c:is_dunder_name:
 6186|  3.32k|{
 6187|  3.32k|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|  3.32k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6188|  3.32k|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  258|  3.32k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6189|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6190|  3.32k|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6190:9): [True: 3.25k, False: 70]
  |  Branch (6190:23): [True: 3.25k, False: 0]
  ------------------
 6191|  3.25k|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  291|  3.25k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.25k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6192|  3.25k|        return (
 6193|  3.25k|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6193:14): [True: 1.10k, False: 2.15k]
  |  Branch (6193:47): [True: 1.09k, False: 16]
  ------------------
 6194|  1.09k|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6194:14): [True: 1.09k, False: 0]
  |  Branch (6194:40): [True: 1.09k, False: 0]
  ------------------
 6195|  3.25k|        );
 6196|  3.25k|    }
 6197|     70|    return 0;
 6198|  3.32k|}
typeobject.c:has_slotdef:
11819|  1.09k|{
11820|  68.3k|    for (pytype_slotdef *p = slotdefs; p->name_strobj; p++) {
  ------------------
  |  Branch (11820:40): [True: 67.7k, False: 641]
  ------------------
11821|  67.7k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11821:13): [True: 450, False: 67.2k]
  ------------------
11822|    450|            return true;
11823|    450|        }
11824|  67.7k|    }
11825|    641|    return false;
11826|  1.09k|}
typeobject.c:update_slot_after_setattr:
 6712|    450|{
 6713|       |#ifdef Py_GIL_DISABLED
 6714|       |    // stack allocate one chunk since that's all we need
 6715|       |    assert(SLOT_UPDATE_CHUNK_SIZE >= MAX_EQUIV);
 6716|       |    slot_update_chunk_t chunk = {0};
 6717|       |    slot_update_t queued_updates = {&chunk};
 6718|       |
 6719|       |    if (update_slot(type, name, &queued_updates) < 0) {
 6720|       |        return -1;
 6721|       |    }
 6722|       |    if (queued_updates.head->n > 0) {
 6723|       |        apply_type_slot_updates(&queued_updates);
 6724|       |        ASSERT_TYPE_LOCK_HELD();
 6725|       |        // should never allocate another chunk
 6726|       |        assert(chunk.prev == NULL);
 6727|       |    }
 6728|       |#else
 6729|       |    update_slot(type, name, NULL);
 6730|    450|#endif
 6731|    450|    return 0;
 6732|    450|}
typeobject.c:update_slot:
12074|    826|{
12075|    826|    pytype_slotdef *ptrs[MAX_EQUIV];
12076|    826|    pytype_slotdef *p;
12077|    826|    pytype_slotdef **pp;
12078|    826|    int offset;
12079|       |
12080|    826|    ASSERT_TYPE_LOCK_HELD();
12081|    826|    assert(PyUnicode_CheckExact(name));
12082|    826|    assert(PyUnicode_CHECK_INTERNED(name));
12083|       |
12084|    826|    pp = ptrs;
12085|  78.4k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12085:24): [True: 77.6k, False: 826]
  ------------------
12086|  77.6k|        assert(PyUnicode_CheckExact(p->name_strobj));
12087|  77.6k|        assert(PyUnicode_CHECK_INTERNED(p->name_strobj));
12088|  77.6k|        assert(PyUnicode_CheckExact(name));
12089|       |        /* bpo-40521: Using interned strings. */
12090|  77.6k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (12090:13): [True: 978, False: 76.6k]
  ------------------
12091|    978|            *pp++ = p;
12092|    978|        }
12093|  77.6k|    }
12094|    826|    *pp = NULL;
12095|  1.80k|    for (pp = ptrs; *pp; pp++) {
  ------------------
  |  Branch (12095:21): [True: 978, False: 826]
  ------------------
12096|    978|        p = *pp;
12097|    978|        offset = p->offset;
12098|  1.35k|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12098:16): [True: 1.34k, False: 16]
  |  Branch (12098:32): [True: 380, False: 962]
  ------------------
12099|    380|            --p;
12100|    978|        *pp = p;
12101|    978|    }
12102|    826|    if (ptrs[0] == NULL)
  ------------------
  |  Branch (12102:9): [True: 0, False: 826]
  ------------------
12103|      0|        return 0; /* Not an attribute that affects any slots */
12104|       |
12105|    826|    update_callback_data_t callback_data;
12106|    826|    callback_data.defs = ptrs;
12107|    826|    callback_data.queued_updates = queued_updates;
12108|    826|    return update_subclasses(type, name,
12109|    826|                             update_slots_callback, (void *)&callback_data);
12110|    826|}
typeobject.c:update_subclasses:
12339|    826|{
12340|    826|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12340:9): [True: 0, False: 826]
  ------------------
12341|      0|        return -1;
12342|      0|    }
12343|    826|    return recurse_down_subclasses(type, attr_name, callback, data);
12344|    826|}
typeobject.c:recurse_down_subclasses:
12349|    826|{
12350|       |    // It is safe to use a borrowed reference because update_subclasses() is
12351|       |    // only used with update_slots_callback() which doesn't modify
12352|       |    // tp_subclasses.
12353|    826|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12354|    826|    if (subclasses == NULL) {
  ------------------
  |  Branch (12354:9): [True: 826, False: 0]
  ------------------
12355|    826|        return 0;
12356|    826|    }
12357|    826|    assert(PyDict_CheckExact(subclasses));
12358|       |
12359|      0|    Py_ssize_t i = 0;
12360|      0|    PyObject *ref;
12361|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12361:12): [True: 0, False: 0]
  ------------------
12362|      0|        PyTypeObject *subclass = type_from_ref(ref);
12363|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12363:13): [True: 0, False: 0]
  ------------------
12364|      0|            continue;
12365|      0|        }
12366|       |
12367|       |        /* Avoid recursing down into unaffected classes */
12368|      0|        PyObject *dict = lookup_tp_dict(subclass);
12369|      0|        if (dict != NULL && PyDict_Check(dict)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12369:13): [True: 0, False: 0]
  ------------------
12370|      0|            int r = PyDict_Contains(dict, attr_name);
12371|      0|            if (r < 0) {
  ------------------
  |  Branch (12371:17): [True: 0, False: 0]
  ------------------
12372|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12373|      0|                return -1;
12374|      0|            }
12375|      0|            if (r > 0) {
  ------------------
  |  Branch (12375:17): [True: 0, False: 0]
  ------------------
12376|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12377|      0|                continue;
12378|      0|            }
12379|      0|        }
12380|       |
12381|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12381:13): [True: 0, False: 0]
  ------------------
12382|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12383|      0|            return -1;
12384|      0|        }
12385|      0|        Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12386|      0|    }
12387|      0|    return 0;
12388|      0|}
typeobject.c:update_slots_callback:
12058|    826|{
12059|    826|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12060|       |
12061|    826|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12062|    826|    pytype_slotdef **pp = update_data->defs;
12063|  1.80k|    for (; *pp; pp++) {
  ------------------
  |  Branch (12063:12): [True: 978, False: 826]
  ------------------
12064|    978|        if (update_one_slot(type, *pp, NULL, update_data->queued_updates) < 0) {
  ------------------
  |  Branch (12064:13): [True: 0, False: 978]
  ------------------
12065|      0|            return -1;
12066|      0|        }
12067|    978|    }
12068|    826|    return 0;
12069|    826|}
typeobject.c:update_one_slot:
11893|   165k|{
11894|   165k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11895|       |
11896|   165k|    PyObject *descr;
11897|   165k|    PyWrapperDescrObject *d;
11898|       |
11899|       |    // The correct specialized C function, like "tp_repr of str" in the
11900|       |    // example above
11901|   165k|    void *specific = NULL;
11902|       |
11903|       |    // A generic wrapper that uses method lookup (safe but slow)
11904|   165k|    void *generic = NULL;
11905|       |
11906|       |    // Set to 1 if the generic wrapper is necessary
11907|   165k|    int use_generic = 0;
11908|       |
11909|   165k|    int offset = p->offset;
11910|   165k|    void **ptr = slotptr(type, offset);
11911|       |
11912|   165k|    if (ptr == NULL) {
  ------------------
  |  Branch (11912:9): [True: 0, False: 165k]
  ------------------
11913|      0|        do {
11914|      0|            ++p;
11915|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (11915:18): [True: 0, False: 0]
  ------------------
11916|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (11916:13): [True: 0, False: 0]
  ------------------
11917|      0|            *next_p = p;
11918|      0|        }
11919|      0|        return 0;
11920|      0|    }
11921|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
11922|   165k|    assert(!PyErr_Occurred());
11923|   233k|    do {
11924|       |        /* Use faster uncached lookup as we won't get any cache hits during type setup. */
11925|   233k|        _PyStackRef descr_ref;
11926|   233k|        int res = find_name_in_mro(type, p->name_strobj, &descr_ref);
11927|   233k|        if (res <= 0) {
  ------------------
  |  Branch (11927:13): [True: 182k, False: 50.0k]
  ------------------
11928|   182k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (11928:17): [True: 2.39k, False: 180k]
  ------------------
11929|  2.39k|                specific = (void *)_PyObject_NextNotImplemented;
11930|  2.39k|            }
11931|   182k|            continue;
11932|   182k|        }
11933|  50.0k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
11934|  50.0k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|   100k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 40.7k, False: 9.22k]
  |  |  ------------------
  ------------------
11935|  40.7k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (11935:13): [True: 40.7k, False: 50]
  ------------------
11936|  40.7k|            void **tptr;
11937|  40.7k|            size_t index = (p - slotdefs);
11938|  40.7k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (11938:17): [True: 16.5k, False: 24.2k]
  ------------------
11939|  16.5k|                tptr = NULL;
11940|  49.0k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (11940:36): [True: 33.0k, False: 16.0k]
  ------------------
11941|  33.0k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
11942|  33.0k|                    void **qptr = slotptr(type, q->offset);
11943|  33.0k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (11943:25): [True: 0, False: 33.0k]
  |  Branch (11943:41): [True: 16.0k, False: 17.0k]
  ------------------
11944|  16.0k|                        continue;
11945|  17.0k|                    if (tptr != NULL) {
  ------------------
  |  Branch (11945:25): [True: 534, False: 16.5k]
  ------------------
11946|    534|                        tptr = NULL;
11947|    534|                        break;
11948|    534|                    }
11949|  16.5k|                    tptr = qptr;
11950|  16.5k|                }
11951|  16.5k|            }
11952|  24.2k|            else {
11953|  24.2k|                tptr = slotptr(type, offset);
11954|  24.2k|            }
11955|       |
11956|  40.7k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (11956:17): [True: 534, False: 40.2k]
  |  Branch (11956:33): [True: 32.1k, False: 8.01k]
  ------------------
11957|  32.7k|                generic = p->function;
11958|  40.7k|            d = (PyWrapperDescrObject *)descr;
11959|  40.7k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (11959:18): [True: 25.3k, False: 15.4k]
  |  Branch (11959:38): [True: 15.3k, False: 4]
  ------------------
11960|  40.7k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (11960:17): [True: 32.6k, False: 8.10k]
  ------------------
11961|  32.6k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  32.6k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (11961:17): [True: 32.6k, False: 0]
  ------------------
11962|  32.6k|            {
11963|  32.6k|                specific = d->d_wrapped;
11964|  32.6k|            }
11965|  8.10k|            else {
11966|       |                /* We cannot use the specific slot function because either
11967|       |                   - it is not unique: there are multiple methods for this
11968|       |                     slot and they conflict
11969|       |                   - the signature is wrong (as checked by the ->wrapper
11970|       |                     comparison above)
11971|       |                   - it's wrapping the wrong class
11972|       |                 */
11973|  8.10k|                use_generic = 1;
11974|  8.10k|            }
11975|  40.7k|        }
11976|  9.27k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  18.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.18k, False: 7.09k]
  |  |  ------------------
  ------------------
11977|  2.18k|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|  2.18k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11977:18): [True: 2.18k, False: 2]
  ------------------
11978|  9.27k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  9.27k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|  2.18k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11979|  2.18k|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (11979:18): [True: 2.18k, False: 0]
  ------------------
11980|  2.18k|        {
11981|       |            /* The __new__ wrapper is not a wrapper descriptor,
11982|       |               so must be special-cased differently.
11983|       |               If we don't do this, creating an instance will
11984|       |               always use slot_tp_new which will look up
11985|       |               __new__ in the MRO which will call tp_new_wrapper
11986|       |               which will look through the base classes looking
11987|       |               for a static base and call its tp_new (usually
11988|       |               PyType_GenericNew), after performing various
11989|       |               sanity checks and constructing a new argument
11990|       |               list.  Cut all that nonsense short -- this speeds
11991|       |               up instance creation tremendously. */
11992|  2.18k|            specific = (void *)type->tp_new;
11993|       |            /* XXX I'm not 100% sure that there isn't a hole
11994|       |               in this reasoning that requires additional
11995|       |               sanity checks.  I'll buy the first person to
11996|       |               point out a bug in this reasoning a beer. */
11997|  2.18k|        }
11998|  7.09k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  14.1k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11998:18): [True: 240, False: 6.85k]
  ------------------
11999|    240|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (11999:18): [True: 222, False: 18]
  ------------------
12000|       |            /* We specifically allow __hash__ to be set to None
12001|       |               to prevent inheritance of the default
12002|       |               implementation from object.__hash__ */
12003|    222|            specific = (void *)PyObject_HashNotImplemented;
12004|    222|        }
12005|  6.87k|        else {
12006|  6.87k|            use_generic = 1;
12007|  6.87k|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  12.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 122, False: 5.60k]
  |  |  ------------------
  ------------------
  |  Branch (12007:17): [True: 5.72k, False: 1.15k]
  ------------------
12008|    122|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (12008:17): [True: 44, False: 78]
  ------------------
12009|     44|            {
12010|     44|                generic = *ptr;
12011|     44|            }
12012|  6.83k|            else {
12013|  6.83k|                generic = p->function;
12014|  6.83k|            }
12015|  6.87k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (12015:17): [True: 148, False: 6.72k]
  ------------------
12016|       |                /* A generic __call__ is incompatible with vectorcall */
12017|    148|                if (queued_updates == NULL) {
  ------------------
  |  Branch (12017:21): [True: 148, False: 0]
  ------------------
12018|    148|                    type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|    148|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
12019|    148|                }
12020|    148|            }
12021|  6.87k|        }
12022|  50.0k|        PyStackRef_CLOSE(descr_ref);
12023|   233k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (12023:14): [True: 67.2k, False: 165k]
  ------------------
12024|       |
12025|   165k|    void *slot_value;
12026|   165k|    if (specific && !use_generic) {
  ------------------
  |  Branch (12026:9): [True: 22.0k, False: 143k]
  |  Branch (12026:21): [True: 21.5k, False: 490]
  ------------------
12027|  21.5k|        slot_value = specific;
12028|   144k|    } else {
12029|   144k|        slot_value = generic;
12030|   144k|    }
12031|       |
12032|       |#ifdef Py_GIL_DISABLED
12033|       |    if (queued_updates != NULL) {
12034|       |        // queue the update to perform later, while world is stopped
12035|       |        if (queue_slot_update(queued_updates, type, ptr, slot_value) < 0) {
12036|       |            return -1;
12037|       |        }
12038|       |    } else {
12039|       |        // do the update to the type structure now
12040|       |        *ptr = slot_value;
12041|       |    }
12042|       |#else
12043|       |    // always do the update immediately
12044|   165k|    assert(queued_updates == NULL);
12045|   165k|    *ptr = slot_value;
12046|   165k|#endif
12047|       |
12048|   165k|    if (next_p != NULL) {
  ------------------
  |  Branch (12048:9): [True: 164k, False: 978]
  ------------------
12049|   164k|        *next_p = p;
12050|   164k|    }
12051|   165k|    return 0;
12052|   165k|}
typeobject.c:slotptr:
11780|   499k|{
11781|   499k|    char *ptr;
11782|   499k|    long offset = ioffset;
11783|       |
11784|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11785|   499k|    assert(offset >= 0);
11786|   499k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
11787|   499k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11787:9): [True: 11.1k, False: 488k]
  ------------------
11788|  11.1k|        ptr = (char *)type->tp_as_buffer;
11789|  11.1k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11790|  11.1k|    }
11791|   488k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11791:14): [True: 53.0k, False: 435k]
  ------------------
11792|  53.0k|        ptr = (char *)type->tp_as_sequence;
11793|  53.0k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11794|  53.0k|    }
11795|   435k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11795:14): [True: 20.6k, False: 414k]
  ------------------
11796|  20.6k|        ptr = (char *)type->tp_as_mapping;
11797|  20.6k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11798|  20.6k|    }
11799|   414k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11799:14): [True: 242k, False: 171k]
  ------------------
11800|   242k|        ptr = (char *)type->tp_as_number;
11801|   242k|        offset -= offsetof(PyHeapTypeObject, as_number);
11802|   242k|    }
11803|   171k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11803:14): [True: 16.7k, False: 155k]
  ------------------
11804|  16.7k|        ptr = (char *)type->tp_as_async;
11805|  16.7k|        offset -= offsetof(PyHeapTypeObject, as_async);
11806|  16.7k|    }
11807|   155k|    else {
11808|   155k|        ptr = (char *)type;
11809|   155k|    }
11810|   499k|    if (ptr != NULL)
  ------------------
  |  Branch (11810:9): [True: 474k, False: 25.4k]
  ------------------
11811|   474k|        ptr += offset;
11812|   499k|    return (void **)ptr;
11813|   499k|}
typeobject.c:tp_new_wrapper:
10399|   123k|{
10400|   123k|    PyTypeObject *staticbase;
10401|   123k|    PyObject *arg0, *res;
10402|       |
10403|   123k|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|   123k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10403:9): [True: 0, False: 123k]
  |  Branch (10403:25): [True: 0, False: 123k]
  ------------------
10404|      0|        PyErr_Format(PyExc_SystemError,
10405|      0|                     "__new__() called with non-type 'self'");
10406|      0|        return NULL;
10407|      0|    }
10408|   123k|    PyTypeObject *type = (PyTypeObject *)self;
10409|       |
10410|   123k|    if (nargs < 1) {
  ------------------
  |  Branch (10410:9): [True: 0, False: 123k]
  ------------------
10411|      0|        PyErr_Format(PyExc_TypeError,
10412|      0|                     "%s.__new__(): not enough arguments",
10413|      0|                     type->tp_name);
10414|      0|        return NULL;
10415|      0|    }
10416|   123k|    arg0 = args[0];
10417|   123k|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|   123k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10417:9): [True: 0, False: 123k]
  ------------------
10418|      0|        PyErr_Format(PyExc_TypeError,
10419|      0|                     "%s.__new__(X): X is not a type object (%s)",
10420|      0|                     type->tp_name,
10421|      0|                     Py_TYPE(arg0)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10422|      0|        return NULL;
10423|      0|    }
10424|   123k|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10425|       |
10426|   123k|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10426:9): [True: 0, False: 123k]
  ------------------
10427|      0|        PyErr_Format(PyExc_TypeError,
10428|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10429|      0|                     type->tp_name,
10430|      0|                     subtype->tp_name,
10431|      0|                     subtype->tp_name,
10432|      0|                     type->tp_name);
10433|      0|        return NULL;
10434|      0|    }
10435|       |
10436|       |    /* Check that the use doesn't do something silly and unsafe like
10437|       |       object.__new__(dict).  To do this, we check that the
10438|       |       most derived base that's not a heap type is this type. */
10439|   123k|    staticbase = subtype;
10440|   245k|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10440:12): [True: 245k, False: 0]
  |  Branch (10440:26): [True: 122k, False: 123k]
  ------------------
10441|   122k|        staticbase = staticbase->tp_base;
10442|       |    /* If staticbase is NULL now, it is a really weird type.
10443|       |       In the spirit of backwards compatibility (?), just shut up. */
10444|   123k|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10444:9): [True: 123k, False: 0]
  |  Branch (10444:23): [True: 0, False: 123k]
  ------------------
10445|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10445:13): [True: 0, False: 0]
  ------------------
10446|      0|            PyErr_Format(PyExc_TypeError,
10447|      0|                         "cannot create '%s' instances", subtype->tp_name);
10448|      0|            return NULL;
10449|      0|        }
10450|      0|        PyErr_Format(PyExc_TypeError,
10451|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10452|      0|                     type->tp_name,
10453|      0|                     subtype->tp_name,
10454|      0|                     staticbase->tp_name);
10455|      0|        return NULL;
10456|      0|    }
10457|       |
10458|   123k|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10459|   123k|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10459:9): [True: 0, False: 123k]
  ------------------
10460|      0|        return NULL;
10461|      0|    }
10462|   123k|    PyObject *kwds = NULL;
10463|   123k|    if (kwnames != NULL) {
  ------------------
  |  Branch (10463:9): [True: 0, False: 123k]
  ------------------
10464|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10465|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10465:13): [True: 0, False: 0]
  ------------------
10466|      0|            Py_DECREF(args_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10467|      0|            return NULL;
10468|      0|        }
10469|      0|    }
10470|   123k|    res = type->tp_new(subtype, args_tuple, kwds);
10471|   123k|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|   123k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10472|   123k|    Py_XDECREF(kwds);
  ------------------
  |  |  524|   123k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10473|   123k|    return res;
10474|   123k|}
typeobject.c:slot_tp_new:
11183|   113k|{
11184|   113k|    PyThreadState *tstate = _PyThreadState_GET();
11185|   113k|    PyObject *result;
11186|       |
11187|   113k|    _PyCStackRef func_ref;
11188|   113k|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11189|   113k|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  919|   113k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   113k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   113k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11190|   113k|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|   113k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   113k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   113k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 113k]
  |  |  ------------------
  ------------------
11191|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11192|      0|        return NULL;
11193|      0|    }
11194|       |
11195|   113k|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11196|   113k|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11197|   113k|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11198|   113k|    return result;
11199|   113k|}
typeobject.c:slot_tp_call:
10928|  17.0k|{
10929|  17.0k|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  919|  17.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  17.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  17.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10930|  17.0k|}
typeobject.c:call_method:
 3086|   477k|{
 3087|   477k|    PyThreadState *tstate = _PyThreadState_GET();
 3088|   477k|    _PyCStackRef cref;
 3089|   477k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3090|   477k|    PyObject *res = NULL;
 3091|   477k|    int unbound = lookup_method(self, attr, &cref.ref);
 3092|   477k|    if (unbound >= 0) {
  ------------------
  |  Branch (3092:9): [True: 477k, False: 0]
  ------------------
 3093|   477k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3094|   477k|        if (unbound) {
  ------------------
  |  Branch (3094:13): [True: 477k, False: 0]
  ------------------
 3095|   477k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3096|   477k|        }
 3097|      0|        else {
 3098|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3099|      0|        }
 3100|   477k|    }
 3101|   477k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3102|   477k|    return res;
 3103|   477k|}
typeobject.c:lookup_method:
 3035|  1.45M|{
 3036|  1.45M|    return lookup_method_ex(self, attr, out, 1);
 3037|  1.45M|}
typeobject.c:type_traverse:
 7184|  20.8k|{
 7185|  20.8k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  20.8k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7186|       |
 7187|       |    /* Because of type_is_gc(), the collector only calls this
 7188|       |       for heaptypes. */
 7189|  20.8k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  20.8k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7189:9): [True: 0, False: 20.8k]
  ------------------
 7190|      0|        char msg[200];
 7191|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7192|      0|                type->tp_name);
 7193|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7194|      0|    }
 7195|       |
 7196|  20.8k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.8k, False: 0]
  |  |  ------------------
  |  |  196|  20.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.8k]
  |  |  ------------------
  |  |  198|  20.8k|                return vret;                                            \
  |  |  199|  20.8k|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7197|  20.8k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 20.8k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7198|  20.8k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.8k, False: 0]
  |  |  ------------------
  |  |  196|  20.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.8k]
  |  |  ------------------
  |  |  198|  20.8k|                return vret;                                            \
  |  |  199|  20.8k|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7199|  20.8k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.8k, False: 0]
  |  |  ------------------
  |  |  196|  20.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.8k]
  |  |  ------------------
  |  |  198|  20.8k|                return vret;                                            \
  |  |  199|  20.8k|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7200|  20.8k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.8k, False: 0]
  |  |  ------------------
  |  |  196|  20.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.8k]
  |  |  ------------------
  |  |  198|  20.8k|                return vret;                                            \
  |  |  199|  20.8k|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7201|  20.8k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  20.8k|    do {                                                                \
  |  |  195|  20.8k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.45k, False: 19.4k]
  |  |  ------------------
  |  |  196|  1.45k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.45k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.45k]
  |  |  ------------------
  |  |  198|  1.45k|                return vret;                                            \
  |  |  199|  1.45k|        }                                                               \
  |  |  200|  20.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 7202|       |
 7203|       |    /* There's no need to visit others because they can't be involved
 7204|       |       in cycles:
 7205|       |       type->tp_subclasses is a list of weak references,
 7206|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7207|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7208|       |       */
 7209|       |
 7210|  20.8k|    return 0;
 7211|  20.8k|}
typeobject.c:type_clear:
 7215|    102|{
 7216|    102|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|    102|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7217|       |
 7218|       |    /* Because of type_is_gc(), the collector only calls this
 7219|       |       for heaptypes. */
 7220|    102|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|    102|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    102|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|    102|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7221|       |
 7222|       |    /* We need to invalidate the method cache carefully before clearing
 7223|       |       the dict, so that other objects caught in a reference cycle
 7224|       |       don't start calling destroyed methods.
 7225|       |
 7226|       |       Otherwise, we need to clear tp_mro, which is
 7227|       |       part of a hard cycle (its first element is the class itself) that
 7228|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7229|       |       tp_clear handler).
 7230|       |       We also need to clear ht_module, if present: the module usually holds a
 7231|       |       reference to its class. None of the other fields need to be
 7232|       |
 7233|       |       cleared, and here's why:
 7234|       |
 7235|       |       tp_cache:
 7236|       |           Not used; if it were, it would be a dict.
 7237|       |
 7238|       |       tp_bases, tp_base:
 7239|       |           If these are involved in a cycle, there must be at least
 7240|       |           one other, mutable object in the cycle, e.g. a base
 7241|       |           class's dict; the cycle will be broken that way.
 7242|       |
 7243|       |       tp_subclasses:
 7244|       |           A dict of weak references can't be part of a cycle; and
 7245|       |           dicts have their own tp_clear.
 7246|       |
 7247|       |       slots (in PyHeapTypeObject):
 7248|       |           A tuple of strings can't be part of a cycle.
 7249|       |    */
 7250|       |
 7251|    102|    PyType_Modified(type);
 7252|    102|    PyObject *dict = lookup_tp_dict(type);
 7253|    102|    if (dict) {
  ------------------
  |  Branch (7253:9): [True: 102, False: 0]
  ------------------
 7254|    102|        PyDict_Clear(dict);
 7255|    102|    }
 7256|    102|    Py_CLEAR(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  484|    102|    do { \
  |  |  485|    102|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    102|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    102|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 102]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
 7257|       |
 7258|    102|    Py_CLEAR(type->tp_mro);
  ------------------
  |  |  484|    102|    do { \
  |  |  485|    102|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    102|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    102|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    102|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 102, False: 0]
  |  |  ------------------
  |  |  488|    102|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    102|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    102|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    102|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    102|        } \
  |  |  491|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
 7259|       |
 7260|    102|    return 0;
 7261|    102|}
typeobject.c:type_mro_impl:
 3532|    406|{
 3533|    406|    PyObject *seq;
 3534|    406|    seq = mro_implementation(self);
 3535|    406|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|    406|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    406|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3535:9): [True: 406, False: 0]
  |  Branch (3535:24): [True: 360, False: 46]
  ------------------
 3536|    360|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  352|    360|    do { \
  |  |  353|    360|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    360|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    360|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    360|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    360|        *_tmp_dst_ptr = (src); \
  |  |  356|    360|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    360|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    360|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    360|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    360|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 360]
  |  |  ------------------
  ------------------
 3537|    360|    }
 3538|    406|    return seq;
 3539|    406|}
typeobject.c:mro_implementation:
 3515|    406|{
 3516|    406|    PyObject *mro;
 3517|    406|    BEGIN_TYPE_LOCK();
 3518|    406|    mro = mro_implementation_unlocked(type);
 3519|    406|    END_TYPE_LOCK();
 3520|    406|    return mro;
 3521|    406|}
typeobject.c:mro_implementation_unlocked:
 3427|  3.13k|{
 3428|  3.13k|    ASSERT_TYPE_LOCK_HELD();
 3429|       |
 3430|  3.13k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 3.13k]
  ------------------
 3431|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3431:13): [True: 0, False: 0]
  ------------------
 3432|      0|            return NULL;
 3433|      0|    }
 3434|       |
 3435|  3.13k|    PyObject *bases = lookup_tp_bases(type);
 3436|  3.13k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.13k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|  6.45k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3437:28): [True: 3.32k, False: 3.13k]
  ------------------
 3438|  3.32k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|  3.32k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3439|  3.32k|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3439:13): [True: 0, False: 3.32k]
  ------------------
 3440|      0|            PyErr_Format(PyExc_TypeError,
 3441|      0|                         "Cannot extend an incomplete type '%.100s'",
 3442|      0|                         base->tp_name);
 3443|      0|            return NULL;
 3444|      0|        }
 3445|  3.32k|        assert(PyTuple_Check(lookup_tp_mro(base)));
 3446|  3.32k|    }
 3447|       |
 3448|  3.13k|    if (n == 1) {
  ------------------
  |  Branch (3448:9): [True: 2.94k, False: 182]
  ------------------
 3449|       |        /* Fast path: if there is a single base, constructing the MRO
 3450|       |         * is trivial.
 3451|       |         */
 3452|  2.94k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|  2.94k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3453|  2.94k|        PyObject *base_mro = lookup_tp_mro(base);
 3454|  2.94k|        assert(base_mro != NULL);
 3455|  2.94k|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|  2.94k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|  2.94k|        PyObject *result = PyTuple_New(k + 1);
 3457|  2.94k|        if (result == NULL) {
  ------------------
  |  Branch (3457:13): [True: 0, False: 2.94k]
  ------------------
 3458|      0|            return NULL;
 3459|      0|        }
 3460|       |
 3461|  2.94k|        ;
 3462|  2.94k|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|  2.94k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|  9.77k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3463:32): [True: 6.83k, False: 2.94k]
  ------------------
 3464|  6.83k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  6.83k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.83k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3465|  6.83k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  6.83k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|  6.83k|        }
 3467|  2.94k|        return result;
 3468|  2.94k|    }
 3469|       |
 3470|       |    /* This is just a basic sanity check. */
 3471|    182|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3471:9): [True: 0, False: 182]
  ------------------
 3472|      0|        return NULL;
 3473|      0|    }
 3474|       |
 3475|       |    /* Find a superclass linearization that honors the constraints
 3476|       |       of the explicit tuples of bases and the constraints implied by
 3477|       |       each base class.
 3478|       |
 3479|       |       to_merge is an array of tuples, where each tuple is a superclass
 3480|       |       linearization implied by a base class.  The last element of
 3481|       |       to_merge is the declared tuple of bases.
 3482|       |    */
 3483|    182|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|    182|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    182|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 182]
  |  |  ------------------
  |  |   65|    182|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3484|    182|    if (to_merge == NULL) {
  ------------------
  |  Branch (3484:9): [True: 0, False: 182]
  ------------------
 3485|      0|        PyErr_NoMemory();
 3486|      0|        return NULL;
 3487|      0|    }
 3488|       |
 3489|    182|    PyObject *mro_to_merge;
 3490|    560|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3490:28): [True: 378, False: 182]
  ------------------
 3491|    378|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    378|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3492|    378|        mro_to_merge = lookup_tp_mro(base);
 3493|    378|        assert(mro_to_merge != NULL);
 3494|    378|        to_merge[i] = mro_to_merge;
 3495|    378|    }
 3496|    182|    to_merge[n] = bases;
 3497|       |
 3498|    182|    PyObject *result = PyList_New(1);
 3499|    182|    if (result == NULL) {
  ------------------
  |  Branch (3499:9): [True: 0, False: 182]
  ------------------
 3500|      0|        PyMem_Free(to_merge);
 3501|      0|        return NULL;
 3502|      0|    }
 3503|       |
 3504|    182|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|    182|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|    182|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3505:9): [True: 0, False: 182]
  ------------------
 3506|      0|        Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3507|      0|    }
 3508|    182|    PyMem_Free(to_merge);
 3509|       |
 3510|    182|    return result;
 3511|    182|}
typeobject.c:check_duplicates:
 3266|    182|{
 3267|    182|    Py_ssize_t i, j, n;
 3268|       |    /* Let's use a quadratic time algorithm,
 3269|       |       assuming that the bases tuples is short.
 3270|       |    */
 3271|    182|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    182|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|    560|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3272:17): [True: 378, False: 182]
  ------------------
 3273|    378|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    378|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    378|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3274|    594|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3274:25): [True: 216, False: 378]
  ------------------
 3275|    216|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|    216|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    216|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3275:17): [True: 0, False: 216]
  ------------------
 3276|      0|                o = class_name(o);
 3277|      0|                if (o != NULL) {
  ------------------
  |  Branch (3277:21): [True: 0, False: 0]
  ------------------
 3278|      0|                    if (PyUnicode_Check(o)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3279|      0|                        PyErr_Format(PyExc_TypeError,
 3280|      0|                                     "duplicate base class %U", o);
 3281|      0|                    }
 3282|      0|                    else {
 3283|      0|                        PyErr_SetString(PyExc_TypeError,
 3284|      0|                                        "duplicate base class");
 3285|      0|                    }
 3286|      0|                    Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3287|      0|                }
 3288|      0|                return -1;
 3289|      0|            }
 3290|    216|        }
 3291|    378|    }
 3292|    182|    return 0;
 3293|    182|}
typeobject.c:pmerge:
 3357|    182|{
 3358|    182|    int res = 0;
 3359|    182|    Py_ssize_t i, j, empty_cnt;
 3360|    182|    Py_ssize_t *remain;
 3361|       |
 3362|       |    /* remain stores an index into each sublist of to_merge.
 3363|       |       remain[i] is the index of the next base in to_merge[i]
 3364|       |       that is not included in acc.
 3365|       |    */
 3366|    182|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|    182|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    182|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 182]
  |  |  ------------------
  |  |   65|    182|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3367|    182|    if (remain == NULL) {
  ------------------
  |  Branch (3367:9): [True: 0, False: 182]
  ------------------
 3368|      0|        PyErr_NoMemory();
 3369|      0|        return -1;
 3370|      0|    }
 3371|    742|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3371:17): [True: 560, False: 182]
  ------------------
 3372|    560|        remain[i] = 0;
 3373|       |
 3374|  1.12k|  again:
 3375|  1.12k|    empty_cnt = 0;
 3376|  2.02k|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3376:17): [True: 1.84k, False: 182]
  ------------------
 3377|  1.84k|        PyObject *candidate;
 3378|       |
 3379|  1.84k|        PyObject *cur_tuple = to_merge[i];
 3380|       |
 3381|  1.84k|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|  1.84k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3381:13): [True: 560, False: 1.28k]
  ------------------
 3382|    560|            empty_cnt++;
 3383|    560|            continue;
 3384|    560|        }
 3385|       |
 3386|       |        /* Choose next candidate for MRO.
 3387|       |
 3388|       |           The input sequences alone can determine the choice.
 3389|       |           If not, choose the class which appears in the MRO
 3390|       |           of the earliest direct superclass of the new class.
 3391|       |        */
 3392|       |
 3393|  1.28k|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|  1.28k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|  4.60k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3394:21): [True: 3.66k, False: 942]
  ------------------
 3395|  3.66k|            PyObject *j_lst = to_merge[j];
 3396|  3.66k|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3396:17): [True: 338, False: 3.32k]
  ------------------
 3397|    338|                goto skip; /* continue outer loop */
 3398|  3.66k|        }
 3399|    942|        res = PyList_Append(acc, candidate);
 3400|    942|        if (res < 0)
  ------------------
  |  Branch (3400:13): [True: 0, False: 942]
  ------------------
 3401|      0|            goto out;
 3402|       |
 3403|  3.87k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3403:21): [True: 2.93k, False: 942]
  ------------------
 3404|  2.93k|            PyObject *j_lst = to_merge[j];
 3405|  2.93k|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  5.87k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3405:17): [True: 2.47k, False: 466]
  ------------------
 3406|  2.47k|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|  2.47k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.47k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3406:17): [True: 1.71k, False: 754]
  ------------------
 3407|  1.71k|                remain[j]++;
 3408|  1.71k|            }
 3409|  2.93k|        }
 3410|    942|        goto again;
 3411|    338|      skip: ;
 3412|    338|    }
 3413|       |
 3414|    182|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 182]
  ------------------
 3415|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3416|      0|        res = -1;
 3417|      0|    }
 3418|       |
 3419|    182|  out:
 3420|    182|    PyMem_Free(remain);
 3421|       |
 3422|    182|    return res;
 3423|    182|}
typeobject.c:tail_contains:
 3242|  3.66k|{
 3243|  3.66k|    Py_ssize_t j, size;
 3244|  3.66k|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  3.66k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3245|       |
 3246|  7.57k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3246:24): [True: 4.25k, False: 3.32k]
  ------------------
 3247|  4.25k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|  4.25k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.25k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3247:13): [True: 338, False: 3.91k]
  ------------------
 3248|    338|            return 1;
 3249|  4.25k|    }
 3250|  3.32k|    return 0;
 3251|  3.66k|}
typeobject.c:type___subclasses___impl:
 7042|    140|{
 7043|    140|    return _PyType_GetSubclasses(self);
 7044|    140|}
typeobject.c:type_prepare:
 7049|  1.94k|{
 7050|  1.94k|    return PyDict_New();
 7051|  1.94k|}
typeobject.c:type___instancecheck___impl:
 2350|    170|{
 2351|    170|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2352|    170|}
typeobject.c:type___subclasscheck___impl:
 2366|    612|{
 2367|    612|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2368|    612|}
typeobject.c:type___dir___impl:
 7128|      4|{
 7129|      4|    PyObject *result = NULL;
 7130|      4|    PyObject *dict = PyDict_New();
 7131|       |
 7132|      4|    if (dict != NULL && merge_class_dict(dict, (PyObject *)self) == 0)
  ------------------
  |  Branch (7132:9): [True: 4, False: 0]
  |  Branch (7132:25): [True: 4, False: 0]
  ------------------
 7133|      4|        result = PyDict_Keys(dict);
 7134|       |
 7135|      4|    Py_XDECREF(dict);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7136|      4|    return result;
 7137|      4|}
typeobject.c:merge_class_dict:
 7064|     18|{
 7065|     18|    PyObject *classdict;
 7066|     18|    PyObject *bases;
 7067|       |
 7068|     18|    assert(PyDict_Check(dict));
 7069|     18|    assert(aclass);
 7070|       |
 7071|       |    /* Merge in the type's dict (if any). */
 7072|     18|    if (PyObject_GetOptionalAttr(aclass, &_Py_ID(__dict__), &classdict) < 0) {
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7072:9): [True: 0, False: 18]
  ------------------
 7073|      0|        return -1;
 7074|      0|    }
 7075|     18|    if (classdict != NULL) {
  ------------------
  |  Branch (7075:9): [True: 18, False: 0]
  ------------------
 7076|     18|        int status = PyDict_Update(dict, classdict);
 7077|     18|        Py_DECREF(classdict);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7078|     18|        if (status < 0)
  ------------------
  |  Branch (7078:13): [True: 0, False: 18]
  ------------------
 7079|      0|            return -1;
 7080|     18|    }
 7081|       |
 7082|       |    /* Recursively merge in the base types' (if any) dicts. */
 7083|     18|    if (PyObject_GetOptionalAttr(aclass, &_Py_ID(__bases__), &bases) < 0) {
  ------------------
  |  |  919|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7083:9): [True: 0, False: 18]
  ------------------
 7084|      0|        return -1;
 7085|      0|    }
 7086|     18|    if (bases != NULL) {
  ------------------
  |  Branch (7086:9): [True: 18, False: 0]
  ------------------
 7087|       |        /* We have no guarantee that bases is a real tuple */
 7088|     18|        Py_ssize_t i, n;
 7089|     18|        n = PySequence_Size(bases); /* This better be right */
 7090|     18|        if (n < 0) {
  ------------------
  |  Branch (7090:13): [True: 0, False: 18]
  ------------------
 7091|      0|            Py_DECREF(bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7092|      0|            return -1;
 7093|      0|        }
 7094|     18|        else {
 7095|     28|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (7095:25): [True: 10, False: 18]
  ------------------
 7096|     10|                int status;
 7097|     10|                PyObject *base = PySequence_GetItem(bases, i);
 7098|     10|                if (base == NULL) {
  ------------------
  |  Branch (7098:21): [True: 0, False: 10]
  ------------------
 7099|      0|                    Py_DECREF(bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7100|      0|                    return -1;
 7101|      0|                }
 7102|     10|                status = merge_class_dict(dict, base);
 7103|     10|                Py_DECREF(base);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7104|     10|                if (status < 0) {
  ------------------
  |  Branch (7104:21): [True: 0, False: 10]
  ------------------
 7105|      0|                    Py_DECREF(bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7106|      0|                    return -1;
 7107|      0|                }
 7108|     10|            }
 7109|     18|        }
 7110|     18|        Py_DECREF(bases);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7111|     18|    }
 7112|     18|    return 0;
 7113|     18|}
typeobject.c:check_set_special_type_attr:
 1484|    162|{
 1485|    162|    if (!value) {
  ------------------
  |  Branch (1485:9): [True: 0, False: 162]
  ------------------
 1486|      0|        PyErr_Format(PyExc_TypeError,
 1487|      0|                     "cannot delete '%s' attribute of type '%s'",
 1488|      0|                     name, type->tp_name);
 1489|      0|        return 0;
 1490|      0|    }
 1491|    162|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    162|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1491:9): [True: 0, False: 162]
  ------------------
 1492|      0|        PyErr_Format(PyExc_TypeError,
 1493|      0|                     "cannot set '%s' attribute of immutable type '%s'",
 1494|      0|                     name, type->tp_name);
 1495|      0|        return 0;
 1496|      0|    }
 1497|       |
 1498|    162|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1498:9): [True: 0, False: 162]
  ------------------
 1499|    162|                    type, name, value) < 0) {
 1500|      0|        return 0;
 1501|      0|    }
 1502|       |
 1503|    162|    return 1;
 1504|    162|}
typeobject.c:type_set_qualname:
 1583|     48|{
 1584|     48|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     48|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1585|     48|    PyHeapTypeObject* et;
 1586|       |
 1587|     48|    if (!check_set_special_type_attr(type, value, "__qualname__"))
  ------------------
  |  Branch (1587:9): [True: 0, False: 48]
  ------------------
 1588|      0|        return -1;
 1589|     48|    if (!PyUnicode_Check(value)) {
  ------------------
  |  |  103|     48|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     48|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1589:9): [True: 0, False: 48]
  ------------------
 1590|      0|        PyErr_Format(PyExc_TypeError,
 1591|      0|                     "can only assign string to %s.__qualname__, not '%s'",
 1592|      0|                     type->tp_name, Py_TYPE(value)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      0|        return -1;
 1594|      0|    }
 1595|       |
 1596|     48|    et = (PyHeapTypeObject*)type;
 1597|     48|    Py_SETREF(et->ht_qualname, Py_NewRef(value));
  ------------------
  |  |  352|     48|    do { \
  |  |  353|     48|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     48|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     48|        *_tmp_dst_ptr = (src); \
  |  |  356|     48|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1598|     48|    return 0;
 1599|     48|}
typeobject.c:type_get_bases:
 1754|    420|{
 1755|    420|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    420|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1756|    420|    PyObject *bases = _PyType_GetBases(type);
 1757|    420|    if (bases == NULL) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 420]
  ------------------
 1758|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1759|      0|    }
 1760|    420|    return bases;
 1761|    420|}
typeobject.c:type_set_bases:
 2020|      4|{
 2021|      4|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|      4|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2022|      4|    PyTypeObject *best_base;
 2023|      4|    int res;
 2024|      4|    BEGIN_TYPE_LOCK();
 2025|      4|    res = type_check_new_bases(type, new_bases, &best_base);
 2026|      4|    if (res == 0) {
  ------------------
  |  Branch (2026:9): [True: 4, False: 0]
  ------------------
 2027|      4|        res = type_set_bases_unlocked(type, new_bases, best_base);
 2028|      4|    }
 2029|      4|    END_TYPE_LOCK();
 2030|      4|    return res;
 2031|      4|}
typeobject.c:type_check_new_bases:
 1862|      4|{
 1863|       |    // Check arguments, this is re-entrant due to the PySys_Audit() call
 1864|      4|    if (!check_set_special_type_attr(type, new_bases, "__bases__")) {
  ------------------
  |  Branch (1864:9): [True: 0, False: 4]
  ------------------
 1865|      0|        return -1;
 1866|      0|    }
 1867|      4|    assert(new_bases != NULL);
 1868|       |
 1869|      4|    if (!PyTuple_Check(new_bases)) {
  ------------------
  |  |   27|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1869:9): [True: 0, False: 4]
  ------------------
 1870|      0|        PyErr_Format(PyExc_TypeError,
 1871|      0|             "can only assign tuple to %s.__bases__, not %s",
 1872|      0|                 type->tp_name, Py_TYPE(new_bases)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1873|      0|        return -1;
 1874|      0|    }
 1875|      4|    if (PyTuple_GET_SIZE(new_bases) == 0) {
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1875:9): [True: 0, False: 4]
  ------------------
 1876|      0|        PyErr_Format(PyExc_TypeError,
 1877|      0|             "can only assign non-empty tuple to %s.__bases__, not ()",
 1878|      0|                 type->tp_name);
 1879|      0|        return -1;
 1880|      0|    }
 1881|      4|    Py_ssize_t n = PyTuple_GET_SIZE(new_bases);
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|      8|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1882:28): [True: 4, False: 4]
  ------------------
 1883|      4|        PyObject *ob = PyTuple_GET_ITEM(new_bases, i);
  ------------------
  |  |   29|      4|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|      4|        if (!PyType_Check(ob)) {
  ------------------
  |  |  766|      4|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1884:13): [True: 0, False: 4]
  ------------------
 1885|      0|            PyErr_Format(PyExc_TypeError,
 1886|      0|                         "%s.__bases__ must be tuple of classes, not '%s'",
 1887|      0|                         type->tp_name, Py_TYPE(ob)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1888|      0|            return -1;
 1889|      0|        }
 1890|      4|        PyTypeObject *base = (PyTypeObject*)ob;
 1891|       |
 1892|      4|        if (is_subtype_with_mro(lookup_tp_mro(base), base, type) ||
  ------------------
  |  Branch (1892:13): [True: 0, False: 4]
  ------------------
 1893|       |            /* In case of reentering here again through a custom mro()
 1894|       |               the above check is not enough since it relies on
 1895|       |               base->tp_mro which would gonna be updated inside
 1896|       |               mro_internal only upon returning from the mro().
 1897|       |
 1898|       |               However, base->tp_base has already been assigned (see
 1899|       |               below), which in turn may cause an inheritance cycle
 1900|       |               through tp_base chain.  And this is definitely
 1901|       |               not what you want to ever happen.  */
 1902|      4|            (lookup_tp_mro(base) != NULL
  ------------------
  |  Branch (1902:14): [True: 4, False: 0]
  ------------------
 1903|      4|             && type_is_subtype_base_chain(base, type)))
  ------------------
  |  Branch (1903:17): [True: 0, False: 4]
  ------------------
 1904|      0|        {
 1905|      0|            PyErr_SetString(PyExc_TypeError,
 1906|      0|                            "a __bases__ item causes an inheritance cycle");
 1907|      0|            return -1;
 1908|      0|        }
 1909|      4|    }
 1910|       |
 1911|       |    // Compute the new MRO and the new base class
 1912|      4|    *best_base = find_best_base(new_bases);
 1913|      4|    if (*best_base == NULL)
  ------------------
  |  Branch (1913:9): [True: 0, False: 4]
  ------------------
 1914|      0|        return -1;
 1915|       |
 1916|      4|    if (!compatible_for_assignment(type, *best_base, "__bases__", 0)) {
  ------------------
  |  Branch (1916:9): [True: 0, False: 4]
  ------------------
 1917|      0|        return -1;
 1918|      0|    }
 1919|       |
 1920|      4|    return 0;
 1921|      4|}
typeobject.c:compatible_for_assignment:
 7615|      4|{
 7616|      4|    PyTypeObject *newbase, *oldbase;
 7617|      4|    PyTypeObject *oldto = setclass ? origto : origto->tp_base;
  ------------------
  |  Branch (7617:27): [True: 0, False: 4]
  ------------------
 7618|       |
 7619|      4|    if (setclass && newto->tp_free != oldto->tp_free) {
  ------------------
  |  Branch (7619:9): [True: 0, False: 4]
  |  Branch (7619:21): [True: 0, False: 0]
  ------------------
 7620|      0|        PyErr_Format(PyExc_TypeError,
 7621|      0|                     "%s assignment: "
 7622|      0|                     "'%s' deallocator differs from '%s'",
 7623|      0|                     attr,
 7624|      0|                     newto->tp_name,
 7625|      0|                     oldto->tp_name);
 7626|      0|        return 0;
 7627|      0|    }
 7628|      4|    if (!compatible_flags(setclass, origto, newto,
  ------------------
  |  Branch (7628:9): [True: 0, False: 4]
  ------------------
 7629|      4|                          Py_TPFLAGS_HAVE_GC |
  ------------------
  |  |  524|      4|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 7630|      4|                          Py_TPFLAGS_INLINE_VALUES |
  ------------------
  |  |  472|      4|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 7631|      4|                          Py_TPFLAGS_PREHEADER))
  ------------------
  |  |  487|      4|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|      4|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|      4|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 7632|      0|    {
 7633|      0|        goto differs;
 7634|      0|    }
 7635|       |    /* For __class__ assignment, tp_dictoffset and tp_weaklistoffset should
 7636|       |       be the same for old and new types.
 7637|       |       For __bases__ assignment, they can only be set in the new base
 7638|       |       if they are set in the original class with the same value.
 7639|       |     */
 7640|      4|    if ((setclass || newto->tp_dictoffset)
  ------------------
  |  Branch (7640:10): [True: 0, False: 4]
  |  Branch (7640:22): [True: 0, False: 4]
  ------------------
 7641|      0|        && origto->tp_dictoffset != newto->tp_dictoffset)
  ------------------
  |  Branch (7641:12): [True: 0, False: 0]
  ------------------
 7642|      0|    {
 7643|      0|        goto differs;
 7644|      0|    }
 7645|      4|    if ((setclass || newto->tp_weaklistoffset)
  ------------------
  |  Branch (7645:10): [True: 0, False: 4]
  |  Branch (7645:22): [True: 0, False: 4]
  ------------------
 7646|      0|        && origto->tp_weaklistoffset != newto->tp_weaklistoffset)
  ------------------
  |  Branch (7646:12): [True: 0, False: 0]
  ------------------
 7647|      0|    {
 7648|      0|        goto differs;
 7649|      0|    }
 7650|       |    /*
 7651|       |     It's tricky to tell if two arbitrary types are sufficiently compatible as
 7652|       |     to be interchangeable; e.g., even if they have the same tp_basicsize, they
 7653|       |     might have totally different struct fields. It's much easier to tell if a
 7654|       |     type and its supertype are compatible; e.g., if they have the same
 7655|       |     tp_basicsize, then that means they have identical fields. So to check
 7656|       |     whether two arbitrary types are compatible, we first find the highest
 7657|       |     supertype that each is compatible with, and then if those supertypes are
 7658|       |     compatible then the original types must also be compatible.
 7659|       |    */
 7660|      4|    newbase = newto;
 7661|      4|    oldbase = oldto;
 7662|      4|    while (compatible_with_tp_base(newbase))
  ------------------
  |  Branch (7662:12): [True: 0, False: 4]
  ------------------
 7663|      0|        newbase = newbase->tp_base;
 7664|      4|    while (compatible_with_tp_base(oldbase))
  ------------------
  |  Branch (7664:12): [True: 0, False: 4]
  ------------------
 7665|      0|        oldbase = oldbase->tp_base;
 7666|      4|    if (newbase != oldbase &&
  ------------------
  |  Branch (7666:9): [True: 0, False: 4]
  ------------------
 7667|      0|        (newbase->tp_base != oldbase->tp_base ||
  ------------------
  |  Branch (7667:10): [True: 0, False: 0]
  ------------------
 7668|      0|         !same_slots_added(newbase, oldbase))) {
  ------------------
  |  Branch (7668:10): [True: 0, False: 0]
  ------------------
 7669|      0|        goto differs;
 7670|      0|    }
 7671|      4|    return 1;
 7672|      0|differs:
 7673|      0|    PyErr_Format(PyExc_TypeError,
 7674|      0|                    "%s assignment: "
 7675|      0|                    "'%s' object layout differs from '%s'",
 7676|      0|                    attr,
 7677|      0|                    newto->tp_name,
 7678|      0|                    oldto->tp_name);
 7679|      0|    return 0;
 7680|      4|}
typeobject.c:compatible_flags:
 7603|      4|{
 7604|       |    /* For __class__ assignment, the flags should be the same.
 7605|       |       For __bases__ assignment, the new base flags can only be set
 7606|       |       if the original class flags are set.
 7607|       |     */
 7608|      4|    return setclass ? (origto->tp_flags & flags) == (newto->tp_flags & flags)
  ------------------
  |  Branch (7608:12): [True: 0, False: 4]
  ------------------
 7609|      4|                    : !(~(origto->tp_flags & flags) & (newto->tp_flags & flags));
 7610|      4|}
typeobject.c:compatible_with_tp_base:
 7563|      8|{
 7564|      8|    PyTypeObject *parent = child->tp_base;
 7565|      8|    return (parent != NULL &&
  ------------------
  |  Branch (7565:13): [True: 8, False: 0]
  ------------------
 7566|      8|            child->tp_basicsize == parent->tp_basicsize &&
  ------------------
  |  Branch (7566:13): [True: 0, False: 8]
  ------------------
 7567|      0|            child->tp_itemsize == parent->tp_itemsize &&
  ------------------
  |  Branch (7567:13): [True: 0, False: 0]
  ------------------
 7568|      0|            (child->tp_dealloc == subtype_dealloc ||
  ------------------
  |  Branch (7568:14): [True: 0, False: 0]
  ------------------
 7569|      0|             child->tp_dealloc == parent->tp_dealloc));
  ------------------
  |  Branch (7569:14): [True: 0, False: 0]
  ------------------
 7570|      8|}
typeobject.c:type_set_bases_unlocked:
 1925|      4|{
 1926|      4|    ASSERT_TYPE_LOCK_HELD();
 1927|       |
 1928|      4|    Py_ssize_t n;
 1929|      4|    PyObject *old_bases = lookup_tp_bases(type);
 1930|      4|    assert(old_bases != NULL);
 1931|      4|    PyTypeObject *old_base = type->tp_base;
 1932|       |
 1933|      4|    type_lock_prevent_release();
 1934|      4|    types_stop_world();
 1935|      4|    set_tp_bases(type, Py_NewRef(new_bases), 0);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|      4|    type->tp_base = (PyTypeObject *)Py_NewRef(best_base);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|      4|    types_start_world();
 1938|      4|    type_lock_allow_release();
 1939|       |
 1940|      4|    PyObject *temp = PyList_New(0);
 1941|      4|    if (temp == NULL) {
  ------------------
  |  Branch (1941:9): [True: 0, False: 4]
  ------------------
 1942|      0|        goto bail;
 1943|      0|    }
 1944|      4|    if (mro_hierarchy_for_complete_type(type, temp) < 0) {
  ------------------
  |  Branch (1944:9): [True: 0, False: 4]
  ------------------
 1945|      0|        goto undo;
 1946|      0|    }
 1947|      4|    Py_DECREF(temp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1948|       |
 1949|       |    /* Take no action in case if type->tp_bases has been replaced
 1950|       |       through reentrance.  */
 1951|      4|    int res;
 1952|      4|    if (lookup_tp_bases(type) == new_bases) {
  ------------------
  |  Branch (1952:9): [True: 4, False: 0]
  ------------------
 1953|       |        /* any base that was in __bases__ but now isn't, we
 1954|       |           need to remove |type| from its tp_subclasses.
 1955|       |           conversely, any class now in __bases__ that wasn't
 1956|       |           needs to have |type| added to its subclasses. */
 1957|       |
 1958|       |        /* for now, sod that: just remove from all old_bases,
 1959|       |           add to all new_bases */
 1960|      4|        remove_all_subclasses(type, old_bases);
 1961|      4|        res = add_all_subclasses(type, new_bases);
 1962|      4|        if (update_all_slots(type) < 0) {
  ------------------
  |  Branch (1962:13): [True: 0, False: 4]
  ------------------
 1963|      0|            goto bail;
 1964|      0|        }
 1965|       |        /* Clear the VALID_VERSION flag of 'type' and all its subclasses. */
 1966|      4|        type_modified_unlocked(type);
 1967|      4|    }
 1968|      0|    else {
 1969|      0|        res = 0;
 1970|      0|    }
 1971|       |
 1972|      4|    RARE_EVENT_INC(set_bases);
  ------------------
  |  |  108|      4|    do { \
  |  |  109|      4|        PyInterpreterState *interp = PyInterpreterState_Get(); \
  |  |  110|      4|        RARE_EVENT_INTERP_INC(interp, name); \
  |  |  ------------------
  |  |  |  |   98|      4|    do { \
  |  |  |  |   99|      4|        /* saturating add */ \
  |  |  |  |  100|      4|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|      4|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  101|      4|        if (val < UINT8_MAX) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (101:13): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  102|      4|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  155|      4|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  103|      4|        } \
  |  |  |  |  104|      4|        RARE_EVENT_STAT_INC(name); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      4|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  105|      4|    } while (0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (105:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  111|      4|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1973|      4|    Py_DECREF(old_bases);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|      4|    Py_DECREF(old_base);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1975|       |
 1976|      4|    assert(_PyType_CheckConsistency(type));
 1977|      4|    return res;
 1978|       |
 1979|      0|  undo:
 1980|      0|    n = PyList_GET_SIZE(temp);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|      0|    for (Py_ssize_t i = n - 1; i >= 0; i--) {
  ------------------
  |  Branch (1981:32): [True: 0, False: 0]
  ------------------
 1982|      0|        PyTypeObject *cls;
 1983|      0|        PyObject *new_mro, *old_mro = NULL;
 1984|       |
 1985|      0|        PyArg_UnpackTuple(PyList_GET_ITEM(temp, i),
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1986|      0|                          "", 2, 3, &cls, &new_mro, &old_mro);
 1987|       |        /* Do not rollback if cls has a newer version of MRO.  */
 1988|      0|        if (lookup_tp_mro(cls) == new_mro) {
  ------------------
  |  Branch (1988:13): [True: 0, False: 0]
  ------------------
 1989|      0|            set_tp_mro(cls, Py_XNewRef(old_mro), 0);
  ------------------
  |  |  551|      0|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|      0|            Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1991|      0|        }
 1992|      0|    }
 1993|      0|    Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|       |
 1995|      0|  bail:
 1996|      0|    if (lookup_tp_bases(type) == new_bases) {
  ------------------
  |  Branch (1996:9): [True: 0, False: 0]
  ------------------
 1997|      0|        assert(type->tp_base == best_base);
 1998|       |
 1999|      0|        type_lock_prevent_release();
 2000|      0|        types_stop_world();
 2001|      0|        set_tp_bases(type, old_bases, 0);
 2002|      0|        type->tp_base = old_base;
 2003|      0|        types_start_world();
 2004|      0|        type_lock_allow_release();
 2005|       |
 2006|      0|        Py_DECREF(new_bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      0|        Py_DECREF(best_base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      0|    }
 2009|      0|    else {
 2010|      0|        Py_DECREF(old_bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      0|        Py_DECREF(old_base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      0|    }
 2013|       |
 2014|       |    assert(_PyType_CheckConsistency(type));
 2015|      0|    return -1;
 2016|      0|}
typeobject.c:mro_hierarchy_for_complete_type:
 1794|      4|{
 1795|      4|    ASSERT_TYPE_LOCK_HELD();
 1796|       |
 1797|      4|    PyObject *old_mro;
 1798|      4|    int res = mro_internal(type, 0, &old_mro);
 1799|      4|    if (res <= 0) {
  ------------------
  |  Branch (1799:9): [True: 0, False: 4]
  ------------------
 1800|       |        /* error / reentrance */
 1801|      0|        return res;
 1802|      0|    }
 1803|      4|    PyObject *new_mro = lookup_tp_mro(type);
 1804|      4|    assert(new_mro != NULL);
 1805|       |
 1806|      4|    PyObject *tuple;
 1807|      4|    if (old_mro != NULL) {
  ------------------
  |  Branch (1807:9): [True: 4, False: 0]
  ------------------
 1808|      4|        tuple = PyTuple_Pack(3, type, new_mro, old_mro);
 1809|      4|    }
 1810|      0|    else {
 1811|      0|        tuple = _PyTuple_FromPair((PyObject *)type, new_mro);
 1812|      0|    }
 1813|       |
 1814|      4|    if (tuple != NULL) {
  ------------------
  |  Branch (1814:9): [True: 4, False: 0]
  ------------------
 1815|      4|        res = PyList_Append(temp, tuple);
 1816|      4|    }
 1817|      0|    else {
 1818|      0|        res = -1;
 1819|      0|    }
 1820|      4|    Py_XDECREF(tuple);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|       |
 1822|      4|    if (res < 0) {
  ------------------
  |  Branch (1822:9): [True: 0, False: 4]
  ------------------
 1823|      0|        set_tp_mro(type, old_mro, 0);
 1824|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1825|      0|        return -1;
 1826|      0|    }
 1827|      4|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|       |
 1829|       |    // Avoid creating an empty list if there is no subclass
 1830|      4|    if (_PyType_HasSubclasses(type)) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 4]
  ------------------
 1831|       |        /* Obtain a copy of subclasses list to iterate over.
 1832|       |
 1833|       |           Otherwise type->tp_subclasses might be altered
 1834|       |           in the middle of the loop, for example, through a custom mro(),
 1835|       |           by invoking type_set_bases on some subclass of the type
 1836|       |           which in turn calls remove_subclass/add_subclass on this type.
 1837|       |
 1838|       |           Finally, this makes things simple avoiding the need to deal
 1839|       |           with dictionary iterators and weak references.
 1840|       |        */
 1841|      0|        PyObject *subclasses = _PyType_GetSubclasses(type);
 1842|      0|        if (subclasses == NULL) {
  ------------------
  |  Branch (1842:13): [True: 0, False: 0]
  ------------------
 1843|      0|            return -1;
 1844|      0|        }
 1845|       |
 1846|      0|        Py_ssize_t n = PyList_GET_SIZE(subclasses);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1847:32): [True: 0, False: 0]
  ------------------
 1848|      0|            PyTypeObject *subclass = _PyType_CAST(PyList_GET_ITEM(subclasses, i));
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1849|      0|            res = mro_hierarchy_for_complete_type(subclass, temp);
 1850|      0|            if (res < 0) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 0]
  ------------------
 1851|      0|                break;
 1852|      0|            }
 1853|      0|        }
 1854|      0|        Py_DECREF(subclasses);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      0|    }
 1856|       |
 1857|      4|    return res;
 1858|      4|}
typeobject.c:mro_internal:
 3651|  3.12k|{
 3652|  3.12k|    ASSERT_TYPE_LOCK_HELD();
 3653|       |
 3654|  3.12k|    PyObject *new_mro, *old_mro;
 3655|  3.12k|    int reent;
 3656|       |
 3657|       |    /* Keep a reference to be able to do a reentrancy check below.
 3658|       |       Don't let old_mro be GC'ed and its address be reused for
 3659|       |       another object, like (suddenly!) a new tp_mro.  */
 3660|  3.12k|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  551|  3.12k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3661|  3.12k|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3662|  3.12k|    reent = (lookup_tp_mro(type) != old_mro);
 3663|  3.12k|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|  3.12k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3664|  3.12k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3664:9): [True: 0, False: 3.12k]
  ------------------
 3665|      0|        return -1;
 3666|      0|    }
 3667|       |
 3668|  3.12k|    if (reent) {
  ------------------
  |  Branch (3668:9): [True: 0, False: 3.12k]
  ------------------
 3669|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|      0|        return 0;
 3671|      0|    }
 3672|       |
 3673|  3.12k|    set_tp_mro(type, new_mro, initial);
 3674|       |
 3675|  3.12k|    type_mro_modified(type, new_mro);
 3676|       |    /* corner case: the super class might have been hidden
 3677|       |       from the custom MRO */
 3678|  3.12k|    type_mro_modified(type, lookup_tp_bases(type));
 3679|       |
 3680|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3681|  3.12k|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|  3.12k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3681:9): [True: 2.70k, False: 414]
  ------------------
 3682|  2.70k|        type_modified_unlocked(type);
 3683|  2.70k|    }
 3684|    414|    else {
 3685|       |        /* For static builtin types, this is only called during init
 3686|       |           before the method cache has been populated. */
 3687|    414|        assert(type->tp_version_tag);
 3688|    414|    }
 3689|       |
 3690|  3.12k|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3690:9): [True: 4, False: 3.11k]
  ------------------
 3691|      4|        *p_old_mro = old_mro;  /* transfer the ownership */
 3692|  3.11k|    else
 3693|  3.11k|        Py_XDECREF(old_mro);
  ------------------
  |  |  524|  3.11k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3694|       |
 3695|  3.12k|    return 1;
 3696|  3.12k|}
typeobject.c:mro_invoke:
 3587|  3.12k|{
 3588|  3.12k|    PyObject *mro_result;
 3589|  3.12k|    PyObject *new_mro;
 3590|       |
 3591|  3.12k|    ASSERT_TYPE_LOCK_HELD();
 3592|       |
 3593|  3.12k|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|  3.12k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3594|       |
 3595|  3.12k|    if (custom) {
  ------------------
  |  Branch (3595:9): [True: 396, False: 2.72k]
  ------------------
 3596|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3597|       |        // We are called either from type_ready() or from type_set_bases().
 3598|    396|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  919|    396|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    396|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    396|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3599|    396|    }
 3600|  2.72k|    else {
 3601|       |        // In this case, the mro() method on the type object is being used and
 3602|       |        // we know that these calls are not re-entrant.
 3603|  2.72k|        mro_result = mro_implementation_unlocked(type);
 3604|  2.72k|    }
 3605|  3.12k|    if (mro_result == NULL)
  ------------------
  |  Branch (3605:9): [True: 0, False: 3.12k]
  ------------------
 3606|      0|        return NULL;
 3607|       |
 3608|  3.12k|    new_mro = PySequence_Tuple(mro_result);
 3609|  3.12k|    Py_DECREF(mro_result);
  ------------------
  |  |  430|  3.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|  3.12k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3610:9): [True: 0, False: 3.12k]
  ------------------
 3611|      0|        return NULL;
 3612|      0|    }
 3613|       |
 3614|  3.12k|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|  3.12k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3614:9): [True: 0, False: 3.12k]
  ------------------
 3615|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3616|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3617|      0|        return NULL;
 3618|      0|    }
 3619|       |
 3620|  3.12k|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3620:9): [True: 396, False: 2.72k]
  |  Branch (3620:19): [True: 0, False: 396]
  ------------------
 3621|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3622|      0|        return NULL;
 3623|      0|    }
 3624|  3.12k|    return new_mro;
 3625|  3.12k|}
typeobject.c:call_method_noarg:
 3070|    396|{
 3071|    396|    PyThreadState *tstate = _PyThreadState_GET();
 3072|    396|    _PyCStackRef cref;
 3073|    396|    _PyThreadState_PushCStackRef(tstate, &cref);
 3074|    396|    PyObject *res = NULL;
 3075|    396|    int unbound = lookup_method(self, attr, &cref.ref);
 3076|    396|    if (unbound >= 0) {
  ------------------
  |  Branch (3076:9): [True: 396, False: 0]
  ------------------
 3077|    396|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3078|    396|        res = call_unbound_noarg(unbound, func, self);
 3079|    396|    }
 3080|    396|    _PyThreadState_PopCStackRef(tstate, &cref);
 3081|    396|    return res;
 3082|    396|}
typeobject.c:mro_check:
 3543|    396|{
 3544|    396|    PyTypeObject *solid;
 3545|    396|    Py_ssize_t i, n;
 3546|       |
 3547|    396|    solid = solid_base(type);
 3548|       |
 3549|    396|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    396|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3550|  2.28k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3550:17): [True: 1.88k, False: 396]
  ------------------
 3551|  1.88k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  1.88k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.88k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3552|  1.88k|        if (!PyType_Check(obj)) {
  ------------------
  |  |  766|  1.88k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3552:13): [True: 0, False: 1.88k]
  ------------------
 3553|      0|            PyErr_Format(PyExc_TypeError,
 3554|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3555|      0|            return -1;
 3556|      0|        }
 3557|  1.88k|        PyTypeObject *base = (PyTypeObject*)obj;
 3558|       |
 3559|  1.88k|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3559:13): [True: 0, False: 1.88k]
  ------------------
 3560|      0|            PyErr_Format(
 3561|      0|                PyExc_TypeError,
 3562|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3563|      0|                type, base);
 3564|      0|            return -1;
 3565|      0|        }
 3566|  1.88k|    }
 3567|       |
 3568|    396|    return 0;
 3569|    396|}
typeobject.c:type_mro_modified:
 1280|  6.24k|{
 1281|       |    /*
 1282|       |       Check that all base classes or elements of the MRO of type are
 1283|       |       able to be cached.  This function is called after the base
 1284|       |       classes or mro of the type are altered.
 1285|       |
 1286|       |       Unset HAVE_VERSION_TAG and VALID_VERSION_TAG if the type
 1287|       |       has a custom MRO that includes a type which is not officially
 1288|       |       super type, or if the type implements its own mro() method.
 1289|       |
 1290|       |       Called from mro_internal, which will subsequently be called on
 1291|       |       each subclass when their mro is recursively updated.
 1292|       |     */
 1293|  6.24k|    Py_ssize_t i, n;
 1294|       |
 1295|  6.24k|    ASSERT_TYPE_LOCK_HELD();
 1296|  6.24k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  12.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1296:9): [True: 792, False: 5.44k]
  |  Branch (1296:44): [True: 0, False: 792]
  ------------------
 1297|      0|        goto clear;
 1298|      0|    }
 1299|  6.24k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  6.24k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|  20.4k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1300:17): [True: 14.1k, False: 6.24k]
  ------------------
 1301|  14.1k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  14.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  14.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|  14.1k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  14.1k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1303|       |
 1304|  14.1k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  251|  14.1k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1304:13): [True: 0, False: 14.1k]
  ------------------
 1305|      0|            goto clear;
 1306|      0|        }
 1307|       |
 1308|  14.1k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 14.1k]
  ------------------
 1309|      0|            goto clear;
 1310|      0|        }
 1311|  14.1k|    }
 1312|  6.24k|    return;
 1313|       |
 1314|  6.24k| clear:
 1315|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 1316|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1317|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  251|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1318|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1318:9): [True: 0, False: 0]
  ------------------
 1319|       |        // This field *must* be invalidated if the type is modified (see the
 1320|       |        // comment on struct _specialization_cache):
 1321|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1322|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1323|      0|    }
 1324|      0|}
typeobject.c:has_custom_mro:
 1262|    792|{
 1263|    792|    _PyCStackRef c_ref1, c_ref2;
 1264|    792|    PyThreadState *tstate = _PyThreadState_GET();
 1265|    792|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1266|    792|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1267|       |
 1268|    792|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    792|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    792|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  919|    792|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    792|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    792|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|    792|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  919|    792|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    792|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    792|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|       |
 1271|    792|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  742|    792|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    792|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    792|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1272|       |
 1273|    792|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1274|    792|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1275|    792|    return custom;
 1276|    792|}
typeobject.c:add_all_subclasses:
 9712|      4|{
 9713|      4|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9714|      4|    int res = 0;
 9715|      8|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9715:28): [True: 4, False: 4]
  ------------------
 9716|      4|        PyObject *obj = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|      4|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9717|       |        // bases tuple must only contain types
 9718|      4|        PyTypeObject *base = _PyType_CAST(obj);
  ------------------
  |  |  770|      4|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9719|      4|        if (add_subclass(base, type) < 0) {
  ------------------
  |  Branch (9719:13): [True: 0, False: 4]
  ------------------
 9720|      0|            res = -1;
 9721|      0|        }
 9722|      4|    }
 9723|      4|    return res;
 9724|      4|}
typeobject.c:add_subclass:
 9679|  3.31k|{
 9680|  3.31k|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9681|  3.31k|    if (key == NULL)
  ------------------
  |  Branch (9681:9): [True: 0, False: 3.31k]
  ------------------
 9682|      0|        return -1;
 9683|       |
 9684|  3.31k|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9685|  3.31k|    if (ref == NULL) {
  ------------------
  |  Branch (9685:9): [True: 0, False: 3.31k]
  ------------------
 9686|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9687|      0|        return -1;
 9688|      0|    }
 9689|       |
 9690|       |    // Only get tp_subclasses after creating the key and value.
 9691|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9692|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9693|  3.31k|    PyObject *subclasses = lookup_tp_subclasses(base);
 9694|  3.31k|    if (subclasses == NULL) {
  ------------------
  |  Branch (9694:9): [True: 634, False: 2.68k]
  ------------------
 9695|    634|        subclasses = init_tp_subclasses(base);
 9696|    634|        if (subclasses == NULL) {
  ------------------
  |  Branch (9696:13): [True: 0, False: 634]
  ------------------
 9697|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9698|      0|            Py_DECREF(ref);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9699|      0|            return -1;
 9700|      0|        }
 9701|    634|    }
 9702|  3.31k|    assert(PyDict_CheckExact(subclasses));
 9703|       |
 9704|  3.31k|    int result = PyDict_SetItem(subclasses, key, ref);
 9705|  3.31k|    Py_DECREF(ref);
  ------------------
  |  |  430|  3.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9706|  3.31k|    Py_DECREF(key);
  ------------------
  |  |  430|  3.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9707|  3.31k|    return result;
 9708|  3.31k|}
typeobject.c:update_all_slots:
12157|      4|{
12158|      4|    pytype_slotdef *p;
12159|    380|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12159:24): [True: 376, False: 4]
  ------------------
12160|       |        /* update_slot returns int but can't actually fail in this case*/
12161|       |        update_slot(type, p->name_strobj, NULL);
12162|    376|    }
12163|      4|    return 0;
12164|      4|}
typeobject.c:set_tp_mro:
  652|  3.12k|{
  653|  3.12k|    if (mro != NULL) {
  ------------------
  |  Branch (653:9): [True: 3.12k, False: 0]
  ------------------
  654|  3.12k|        assert(PyTuple_CheckExact(mro));
  655|  3.12k|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.12k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (655:13): [True: 414, False: 2.70k]
  ------------------
  656|       |            // XXX tp_mro can probably be statically allocated for each
  657|       |            // static builtin type.
  658|    414|            assert(initial);
  659|    414|            assert(self->tp_mro == NULL);
  660|       |            /* Other checks are done via set_tp_bases. */
  661|    414|            _Py_SetImmortal(mro);
  662|    414|        }
  663|  2.70k|        else {
  664|  2.70k|            PyUnstable_Object_EnableDeferredRefcount(mro);
  665|  2.70k|        }
  666|  3.12k|    }
  667|  3.12k|    if (!initial) {
  ------------------
  |  Branch (667:9): [True: 4, False: 3.11k]
  ------------------
  668|      4|        type_lock_prevent_release();
  669|      4|        types_stop_world();
  670|      4|    }
  671|  3.12k|    self->tp_mro = mro;
  672|  3.12k|    if (!initial) {
  ------------------
  |  Branch (672:9): [True: 4, False: 3.11k]
  ------------------
  673|      4|        types_start_world();
  674|      4|        type_lock_allow_release();
  675|      4|    }
  676|  3.12k|}
typeobject.c:type_get_module:
 1630|    322|{
 1631|    322|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    322|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1632|    322|    return type_module(type);
 1633|    322|}
typeobject.c:type_set_module:
 1637|     64|{
 1638|     64|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     64|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1639|     64|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1639:9): [True: 0, False: 64]
  ------------------
 1640|      0|        return -1;
 1641|       |
 1642|     64|    PyType_Modified(type);
 1643|       |
 1644|     64|    PyObject *dict = lookup_tp_dict(type);
 1645|     64|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  919|     64|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     64|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     64|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1645:9): [True: 0, False: 64]
  ------------------
 1646|      0|        return -1;
 1647|      0|    }
 1648|     64|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  919|     64|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     64|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     64|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|     64|}
typeobject.c:type_abstractmethods:
 1693|    378|{
 1694|    378|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    378|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1695|    378|    PyObject *res = NULL;
 1696|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1697|       |       that. */
 1698|    378|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1698:9): [True: 0, False: 378]
  ------------------
 1699|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|      0|    }
 1701|    378|    else {
 1702|    378|        PyObject *dict = lookup_tp_dict(type);
 1703|    378|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  919|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1703:13): [True: 122, False: 256]
  ------------------
 1704|    122|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  919|    122|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    122|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    122|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|    122|        }
 1706|    378|    }
 1707|    378|    return res;
 1708|    378|}
typeobject.c:type_set_abstractmethods:
 1712|    274|{
 1713|    274|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    274|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1714|       |    /* __abstractmethods__ should only be set once on a type, in
 1715|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1716|       |       special to update subclasses.
 1717|       |    */
 1718|    274|    int abstract, res;
 1719|    274|    PyObject *dict = lookup_tp_dict(type);
 1720|    274|    if (value != NULL) {
  ------------------
  |  Branch (1720:9): [True: 274, False: 0]
  ------------------
 1721|    274|        abstract = PyObject_IsTrue(value);
 1722|    274|        if (abstract < 0)
  ------------------
  |  Branch (1722:13): [True: 0, False: 274]
  ------------------
 1723|      0|            return -1;
 1724|    274|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  919|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1725|    274|    }
 1726|      0|    else {
 1727|      0|        abstract = 0;
 1728|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1729|      0|        if (res == 0) {
  ------------------
  |  Branch (1729:13): [True: 0, False: 0]
  ------------------
 1730|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1731|      0|            return -1;
 1732|      0|        }
 1733|      0|    }
 1734|    274|    if (res < 0) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 274]
  ------------------
 1735|      0|        return -1;
 1736|      0|    }
 1737|       |
 1738|    274|    BEGIN_TYPE_LOCK();
 1739|    274|    type_modified_unlocked(type);
 1740|    274|    types_stop_world();
 1741|    274|    if (abstract)
  ------------------
  |  Branch (1741:9): [True: 108, False: 166]
  ------------------
 1742|    108|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|    108|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1743|    166|    else
 1744|    166|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|    166|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1745|    274|    types_start_world();
 1746|    274|    ASSERT_TYPE_LOCK_HELD();
 1747|    274|    END_TYPE_LOCK();
 1748|       |
 1749|    274|    return 0;
 1750|    274|}
typeobject.c:type_dict:
 2035|  3.66k|{
 2036|  3.66k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  3.66k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2037|  3.66k|    PyObject *dict = lookup_tp_dict(type);
 2038|  3.66k|    if (dict == NULL) {
  ------------------
  |  Branch (2038:9): [True: 0, False: 3.66k]
  ------------------
 2039|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2040|      0|    }
 2041|  3.66k|    return PyDictProxy_New(dict);
 2042|  3.66k|}
typeobject.c:type_get_doc:
 2046|    116|{
 2047|    116|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    116|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2048|    116|    PyObject *result;
 2049|    116|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|    116|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2049:9): [True: 60, False: 56]
  |  Branch (2049:52): [True: 60, False: 0]
  ------------------
 2050|     60|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2051|     60|    }
 2052|     56|    PyObject *dict = lookup_tp_dict(type);
 2053|     56|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  919|     56|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     56|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     56|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2053:9): [True: 0, False: 56]
  ------------------
 2054|      0|        result = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2055|      0|    }
 2056|     56|    else if (result) {
  ------------------
  |  Branch (2056:14): [True: 56, False: 0]
  ------------------
 2057|     56|        descrgetfunc descr_get = Py_TYPE(result)->tp_descr_get;
  ------------------
  |  |  213|     56|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2058|     56|        if (descr_get) {
  ------------------
  |  Branch (2058:13): [True: 0, False: 56]
  ------------------
 2059|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2060|      0|        }
 2061|     56|    }
 2062|     56|    return result;
 2063|    116|}
typeobject.c:type_set_doc:
 2074|     46|{
 2075|     46|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     46|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2076|     46|    if (!check_set_special_type_attr(type, value, "__doc__"))
  ------------------
  |  Branch (2076:9): [True: 0, False: 46]
  ------------------
 2077|      0|        return -1;
 2078|     46|    PyType_Modified(type);
 2079|     46|    PyObject *dict = lookup_tp_dict(type);
 2080|     46|    return PyDict_SetItem(dict, &_Py_ID(__doc__), value);
  ------------------
  |  |  919|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|     46|}
typeobject.c:type_get_annotations:
 2164|    114|{
 2165|    114|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    114|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2166|    114|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    114|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2166:9): [True: 0, False: 114]
  ------------------
 2167|      0|        PyErr_Format(PyExc_AttributeError, "type object '%s' has no attribute '__annotations__'", type->tp_name);
 2168|      0|        return NULL;
 2169|      0|    }
 2170|       |
 2171|    114|    PyObject *annotations;
 2172|    114|    PyObject *dict = PyType_GetDict(type);
 2173|       |    // First try __annotations__ (e.g. for "from __future__ import annotations")
 2174|    114|    if (PyDict_GetItemRef(dict, &_Py_ID(__annotations__), &annotations) < 0) {
  ------------------
  |  |  919|    114|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    114|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    114|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2174:9): [True: 0, False: 114]
  ------------------
 2175|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|      0|        return NULL;
 2177|      0|    }
 2178|    114|    if (!annotations) {
  ------------------
  |  Branch (2178:9): [True: 114, False: 0]
  ------------------
 2179|    114|        if (PyDict_GetItemRef(dict, &_Py_ID(__annotations_cache__), &annotations) < 0) {
  ------------------
  |  |  919|    114|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    114|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    114|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2179:13): [True: 0, False: 114]
  ------------------
 2180|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2181|      0|            return NULL;
 2182|      0|        }
 2183|    114|    }
 2184|       |
 2185|    114|    if (annotations) {
  ------------------
  |  Branch (2185:9): [True: 44, False: 70]
  ------------------
 2186|     44|        descrgetfunc get = Py_TYPE(annotations)->tp_descr_get;
  ------------------
  |  |  213|     44|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|     44|        if (get) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 44]
  ------------------
 2188|      0|            Py_SETREF(annotations, get(annotations, NULL, tp));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2189|      0|        }
 2190|     44|    }
 2191|     70|    else {
 2192|     70|        PyObject *annotate = PyObject_GetAttrString((PyObject *)type, "__annotate__");
 2193|     70|        if (annotate == NULL) {
  ------------------
  |  Branch (2193:13): [True: 0, False: 70]
  ------------------
 2194|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2195|      0|            return NULL;
 2196|      0|        }
 2197|     70|        if (PyCallable_Check(annotate)) {
  ------------------
  |  Branch (2197:13): [True: 48, False: 22]
  ------------------
 2198|     48|            PyObject *one = _PyLong_GetOne();
 2199|     48|            annotations = _PyObject_CallOneArg(annotate, one);
  ------------------
  |  |   47|     48|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 2200|     48|            if (annotations == NULL) {
  ------------------
  |  Branch (2200:17): [True: 0, False: 48]
  ------------------
 2201|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|      0|                Py_DECREF(annotate);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2203|      0|                return NULL;
 2204|      0|            }
 2205|     48|            if (!PyDict_Check(annotations)) {
  ------------------
  |  |   18|     48|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     48|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2205:17): [True: 0, False: 48]
  ------------------
 2206|      0|                PyErr_Format(PyExc_TypeError,
 2207|      0|                             "__annotate__() must return a dict, not %T",
 2208|      0|                             annotations);
 2209|      0|                Py_DECREF(annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|      0|                Py_DECREF(annotate);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2211|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|      0|                return NULL;
 2213|      0|            }
 2214|     48|        }
 2215|     22|        else {
 2216|     22|            annotations = PyDict_New();
 2217|     22|        }
 2218|     70|        Py_DECREF(annotate);
  ------------------
  |  |  430|     70|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|     70|        if (annotations) {
  ------------------
  |  Branch (2219:13): [True: 70, False: 0]
  ------------------
 2220|     70|            int result = PyDict_SetItem(
 2221|     70|                    dict, &_Py_ID(__annotations_cache__), annotations);
  ------------------
  |  |  919|     70|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     70|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     70|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|     70|            if (result) {
  ------------------
  |  Branch (2222:17): [True: 0, False: 70]
  ------------------
 2223|      0|                Py_CLEAR(annotations);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2224|     70|            } else {
 2225|     70|                PyType_Modified(type);
 2226|     70|            }
 2227|     70|        }
 2228|     70|    }
 2229|    114|    Py_DECREF(dict);
  ------------------
  |  |  430|    114|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2230|    114|    return annotations;
 2231|    114|}
typeobject.c:type_set_annotations:
 2235|    226|{
 2236|    226|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    226|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2237|    226|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    226|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2237:9): [True: 0, False: 226]
  ------------------
 2238|      0|        PyErr_Format(PyExc_TypeError,
 2239|      0|                     "cannot set '__annotations__' attribute of immutable type '%s'",
 2240|      0|                     type->tp_name);
 2241|      0|        return -1;
 2242|      0|    }
 2243|       |
 2244|    226|    PyObject *dict = PyType_GetDict(type);
 2245|    226|    int result = PyDict_ContainsString(dict, "__annotations__");
 2246|    226|    if (result < 0) {
  ------------------
  |  Branch (2246:9): [True: 0, False: 226]
  ------------------
 2247|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|      0|        return -1;
 2249|      0|    }
 2250|    226|    if (result) {
  ------------------
  |  Branch (2250:9): [True: 0, False: 226]
  ------------------
 2251|       |        // If __annotations__ is currently in the dict, we update it,
 2252|      0|        if (value != NULL) {
  ------------------
  |  Branch (2252:13): [True: 0, False: 0]
  ------------------
 2253|      0|            result = PyDict_SetItem(dict, &_Py_ID(__annotations__), value);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|      0|        } else {
 2255|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations__), NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|      0|            if (result == 0) {
  ------------------
  |  Branch (2256:17): [True: 0, False: 0]
  ------------------
 2257|       |                // Somebody else just deleted it?
 2258|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2259|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2260|      0|                return -1;
 2261|      0|            }
 2262|      0|        }
 2263|      0|        if (result < 0) {
  ------------------
  |  Branch (2263:13): [True: 0, False: 0]
  ------------------
 2264|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2265|      0|            return -1;
 2266|      0|        }
 2267|       |        // Also clear __annotations_cache__ just in case.
 2268|      0|        result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|      0|    }
 2270|    226|    else {
 2271|       |        // Else we update only __annotations_cache__.
 2272|    226|        if (value != NULL) {
  ------------------
  |  Branch (2272:13): [True: 226, False: 0]
  ------------------
 2273|       |            /* set */
 2274|    226|            result = PyDict_SetItem(dict, &_Py_ID(__annotations_cache__), value);
  ------------------
  |  |  919|    226|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    226|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    226|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2275|    226|        } else {
 2276|       |            /* delete */
 2277|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2278|      0|            if (result == 0) {
  ------------------
  |  Branch (2278:17): [True: 0, False: 0]
  ------------------
 2279|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2280|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2281|      0|                return -1;
 2282|      0|            }
 2283|      0|        }
 2284|    226|    }
 2285|    226|    if (result < 0) {
  ------------------
  |  Branch (2285:9): [True: 0, False: 226]
  ------------------
 2286|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|        return -1;
 2288|    226|    } else {  // result can be 0 or 1
 2289|    226|        if (PyDict_Pop(dict, &_Py_ID(__annotate_func__), NULL) < 0) {
  ------------------
  |  |  919|    226|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    226|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    226|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2289:13): [True: 0, False: 226]
  ------------------
 2290|      0|            PyType_Modified(type);
 2291|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2292|      0|            return -1;
 2293|      0|        }
 2294|    226|        if (PyDict_Pop(dict, &_Py_ID(__annotate__), NULL) < 0) {
  ------------------
  |  |  919|    226|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    226|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    226|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2294:13): [True: 0, False: 226]
  ------------------
 2295|      0|            PyType_Modified(type);
 2296|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2297|      0|            return -1;
 2298|      0|        }
 2299|    226|    }
 2300|    226|    PyType_Modified(type);
 2301|    226|    Py_DECREF(dict);
  ------------------
  |  |  430|    226|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2302|    226|    return 0;
 2303|    226|}
typeobject.c:type_get_annotate:
 2085|     70|{
 2086|     70|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     70|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2087|     70|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     70|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2087:9): [True: 0, False: 70]
  ------------------
 2088|      0|        PyErr_Format(PyExc_AttributeError, "type object '%s' has no attribute '__annotate__'", type->tp_name);
 2089|      0|        return NULL;
 2090|      0|    }
 2091|       |
 2092|     70|    PyObject *annotate;
 2093|     70|    PyObject *dict = PyType_GetDict(type);
 2094|       |    // First try __annotate__, in case that's been set explicitly
 2095|     70|    if (PyDict_GetItemRef(dict, &_Py_ID(__annotate__), &annotate) < 0) {
  ------------------
  |  |  919|     70|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     70|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     70|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2095:9): [True: 0, False: 70]
  ------------------
 2096|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|      0|        return NULL;
 2098|      0|    }
 2099|     70|    if (!annotate) {
  ------------------
  |  Branch (2099:9): [True: 70, False: 0]
  ------------------
 2100|     70|        if (PyDict_GetItemRef(dict, &_Py_ID(__annotate_func__), &annotate) < 0) {
  ------------------
  |  |  919|     70|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     70|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     70|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2100:13): [True: 0, False: 70]
  ------------------
 2101|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|      0|            return NULL;
 2103|      0|        }
 2104|     70|    }
 2105|     70|    if (annotate) {
  ------------------
  |  Branch (2105:9): [True: 48, False: 22]
  ------------------
 2106|     48|        descrgetfunc get = Py_TYPE(annotate)->tp_descr_get;
  ------------------
  |  |  213|     48|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2107|     48|        if (get) {
  ------------------
  |  Branch (2107:13): [True: 48, False: 0]
  ------------------
 2108|     48|            Py_SETREF(annotate, get(annotate, NULL, (PyObject *)type));
  ------------------
  |  |  352|     48|    do { \
  |  |  353|     48|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     48|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     48|        *_tmp_dst_ptr = (src); \
  |  |  356|     48|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2109|     48|        }
 2110|     48|    }
 2111|     22|    else {
 2112|     22|        annotate = Py_None;
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2113|     22|        int result = PyDict_SetItem(dict, &_Py_ID(__annotate_func__), annotate);
  ------------------
  |  |  919|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|     22|        if (result < 0) {
  ------------------
  |  Branch (2114:13): [True: 0, False: 22]
  ------------------
 2115|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      0|            return NULL;
 2117|      0|        }
 2118|     22|    }
 2119|     70|    Py_DECREF(dict);
  ------------------
  |  |  430|     70|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|     70|    return annotate;
 2121|     70|}
typeobject.c:type_set_annotate:
 2125|     22|{
 2126|     22|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|     22|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2127|     22|    if (value == NULL) {
  ------------------
  |  Branch (2127:9): [True: 0, False: 22]
  ------------------
 2128|      0|        PyErr_SetString(PyExc_TypeError, "cannot delete __annotate__ attribute");
 2129|      0|        return -1;
 2130|      0|    }
 2131|     22|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|     22|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2131:9): [True: 0, False: 22]
  ------------------
 2132|      0|        PyErr_Format(PyExc_TypeError,
 2133|      0|                     "cannot set '__annotate__' attribute of immutable type '%s'",
 2134|      0|                     type->tp_name);
 2135|      0|        return -1;
 2136|      0|    }
 2137|       |
 2138|     22|    if (!Py_IsNone(value) && !PyCallable_Check(value)) {
  ------------------
  |  |  621|     22|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     44|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2138:9): [True: 22, False: 0]
  |  Branch (2138:30): [True: 0, False: 22]
  ------------------
 2139|      0|        PyErr_SetString(PyExc_TypeError, "__annotate__ must be callable or None");
 2140|      0|        return -1;
 2141|      0|    }
 2142|       |
 2143|     22|    PyObject *dict = PyType_GetDict(type);
 2144|     22|    assert(PyDict_Check(dict));
 2145|     22|    int result = PyDict_SetItem(dict, &_Py_ID(__annotate_func__), value);
  ------------------
  |  |  919|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2146|     22|    if (result < 0) {
  ------------------
  |  Branch (2146:9): [True: 0, False: 22]
  ------------------
 2147|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|      0|        return -1;
 2149|      0|    }
 2150|     22|    if (!Py_IsNone(value)) {
  ------------------
  |  |  621|     22|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     22|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2150:9): [True: 22, False: 0]
  ------------------
 2151|     22|        if (PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL) == -1) {
  ------------------
  |  |  919|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2151:13): [True: 0, False: 22]
  ------------------
 2152|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|      0|            PyType_Modified(type);
 2154|      0|            return -1;
 2155|      0|        }
 2156|     22|    }
 2157|     22|    Py_DECREF(dict);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|     22|    PyType_Modified(type);
 2159|     22|    return 0;
 2160|     22|}
typeobject.c:type_init:
 4111|  2.45k|{
 4112|  2.45k|    assert(args != NULL && PyTuple_Check(args));
 4113|  2.45k|    assert(kwds == NULL || PyDict_Check(kwds));
 4114|       |
 4115|  2.45k|    if (kwds != NULL && PyTuple_GET_SIZE(args) == 1 &&
  ------------------
  |  |   27|    158|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4115:9): [True: 158, False: 2.29k]
  |  Branch (4115:25): [True: 0, False: 158]
  ------------------
 4116|      0|        PyDict_GET_SIZE(kwds) != 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4116:9): [True: 0, False: 0]
  ------------------
 4117|      0|        PyErr_SetString(PyExc_TypeError,
 4118|      0|                        "type.__init__() takes no keyword arguments");
 4119|      0|        return -1;
 4120|      0|    }
 4121|       |
 4122|  2.45k|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|  2.45k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|  2.45k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4122:10): [True: 2.45k, False: 0]
  |  Branch (4122:41): [True: 0, False: 2.45k]
  ------------------
 4123|      0|        PyErr_SetString(PyExc_TypeError,
 4124|      0|                        "type.__init__() takes 1 or 3 arguments");
 4125|      0|        return -1;
 4126|      0|    }
 4127|       |
 4128|  2.45k|    return 0;
 4129|  2.45k|}
typeobject.c:type_new:
 5053|  2.50k|{
 5054|  2.50k|    assert(args != NULL && PyTuple_Check(args));
 5055|  2.50k|    assert(kwds == NULL || PyDict_Check(kwds));
 5056|       |
 5057|       |    /* Parse arguments: (name, bases, dict) */
 5058|  2.50k|    PyObject *name, *bases, *orig_dict;
 5059|  2.50k|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5059:9): [True: 0, False: 2.50k]
  ------------------
 5060|  2.50k|                          &name,
 5061|  2.50k|                          &PyTuple_Type, &bases,
 5062|  2.50k|                          &orig_dict))
 5063|      0|    {
 5064|      0|        return NULL;
 5065|      0|    }
 5066|  2.50k|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|  2.50k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.50k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  5.00k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.50k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5067|      0|        PyErr_Format(PyExc_TypeError,
 5068|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5069|      0|                     orig_dict);
 5070|      0|        return NULL;
 5071|      0|    }
 5072|       |
 5073|  2.50k|    type_new_ctx ctx = {
 5074|  2.50k|        .metatype = metatype,
 5075|  2.50k|        .args = args,
 5076|  2.50k|        .kwds = kwds,
 5077|  2.50k|        .orig_dict = orig_dict,
 5078|  2.50k|        .name = name,
 5079|  2.50k|        .bases = bases,
 5080|  2.50k|        .base = NULL,
 5081|  2.50k|        .slots = NULL,
 5082|  2.50k|        .nslot = 0,
 5083|  2.50k|        .add_dict = 0,
 5084|  2.50k|        .add_weak = 0,
 5085|  2.50k|        .may_add_dict = 0,
 5086|  2.50k|        .may_add_weak = 0};
 5087|  2.50k|    PyObject *type = NULL;
 5088|  2.50k|    int res = type_new_get_bases(&ctx, &type);
 5089|  2.50k|    if (res < 0) {
  ------------------
  |  Branch (5089:9): [True: 0, False: 2.50k]
  ------------------
 5090|      0|        assert(PyErr_Occurred());
 5091|      0|        return NULL;
 5092|      0|    }
 5093|  2.50k|    if (res == 1) {
  ------------------
  |  Branch (5093:9): [True: 44, False: 2.46k]
  ------------------
 5094|     44|        assert(type != NULL);
 5095|     44|        return type;
 5096|     44|    }
 5097|  2.50k|    assert(ctx.base != NULL);
 5098|  2.46k|    assert(ctx.bases != NULL);
 5099|       |
 5100|  2.46k|    type = type_new_impl(&ctx);
 5101|  2.46k|    Py_DECREF(ctx.bases);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5102|  2.46k|    return type;
 5103|  2.50k|}
typeobject.c:type_new_get_bases:
 4989|  2.50k|{
 4990|  2.50k|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|  2.50k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|  2.50k|    if (nbases == 0) {
  ------------------
  |  Branch (4991:9): [True: 560, False: 1.94k]
  ------------------
 4992|       |        // Adjust for empty tuple bases
 4993|    560|        ctx->base = &PyBaseObject_Type;
 4994|    560|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 4995|    560|        if (new_bases == NULL) {
  ------------------
  |  Branch (4995:13): [True: 0, False: 560]
  ------------------
 4996|      0|            return -1;
 4997|      0|        }
 4998|    560|        ctx->bases = new_bases;
 4999|    560|        return 0;
 5000|    560|    }
 5001|       |
 5002|  4.08k|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (5002:28): [True: 2.14k, False: 1.94k]
  ------------------
 5003|  2.14k|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|  2.14k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.14k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5004|  2.14k|        if (PyType_Check(base)) {
  ------------------
  |  |  766|  2.14k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2.14k, False: 0]
  |  |  ------------------
  ------------------
 5005|  2.14k|            continue;
 5006|  2.14k|        }
 5007|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5008|      0|        if (rc < 0) {
  ------------------
  |  Branch (5008:13): [True: 0, False: 0]
  ------------------
 5009|      0|            return -1;
 5010|      0|        }
 5011|      0|        if (rc) {
  ------------------
  |  Branch (5011:13): [True: 0, False: 0]
  ------------------
 5012|      0|            PyErr_SetString(PyExc_TypeError,
 5013|      0|                            "type() doesn't support MRO entry resolution; "
 5014|      0|                            "use types.new_class()");
 5015|      0|            return -1;
 5016|      0|        }
 5017|      0|    }
 5018|       |
 5019|       |    // Search the bases for the proper metatype to deal with this
 5020|  1.94k|    PyTypeObject *winner;
 5021|  1.94k|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5022|  1.94k|    if (winner == NULL) {
  ------------------
  |  Branch (5022:9): [True: 0, False: 1.94k]
  ------------------
 5023|      0|        return -1;
 5024|      0|    }
 5025|       |
 5026|  1.94k|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5026:9): [True: 44, False: 1.90k]
  ------------------
 5027|     44|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5027:13): [True: 44, False: 0]
  ------------------
 5028|       |            /* Pass it to the winner */
 5029|     44|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5030|     44|            if (*type == NULL) {
  ------------------
  |  Branch (5030:17): [True: 0, False: 44]
  ------------------
 5031|      0|                return -1;
 5032|      0|            }
 5033|     44|            return 1;
 5034|     44|        }
 5035|       |
 5036|      0|        ctx->metatype = winner;
 5037|      0|    }
 5038|       |
 5039|       |    /* Calculate best base, and check that all bases are type objects */
 5040|  1.90k|    PyTypeObject *base = find_best_base(ctx->bases);
 5041|  1.90k|    if (base == NULL) {
  ------------------
  |  Branch (5041:9): [True: 0, False: 1.90k]
  ------------------
 5042|      0|        return -1;
 5043|      0|    }
 5044|       |
 5045|  1.90k|    ctx->base = base;
 5046|  1.90k|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  550|  1.90k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5047|  1.90k|    return 0;
 5048|  1.90k|}
typeobject.c:type_new_impl:
 4936|  2.46k|{
 4937|  2.46k|    PyTypeObject *type = type_new_init(ctx);
 4938|  2.46k|    if (type == NULL) {
  ------------------
  |  Branch (4938:9): [True: 0, False: 2.46k]
  ------------------
 4939|      0|        return NULL;
 4940|      0|    }
 4941|       |
 4942|  2.46k|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4942:9): [True: 0, False: 2.46k]
  ------------------
 4943|      0|        goto error;
 4944|      0|    }
 4945|       |
 4946|       |    /* Initialize the rest */
 4947|  2.46k|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (4947:9): [True: 0, False: 2.46k]
  ------------------
 4948|      0|        goto error;
 4949|      0|    }
 4950|       |
 4951|       |    // Put the proper slots in place
 4952|  2.46k|    fixup_slot_dispatchers(type);
 4953|       |
 4954|  2.46k|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4954:9): [True: 0, False: 2.46k]
  ------------------
 4955|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4955:13): [True: 0, False: 0]
  ------------------
 4956|      0|                PyExc_RuntimeWarning,
 4957|      0|                1,
 4958|      0|                "non-string key in the __dict__ of class %.200s",
 4959|      0|                type->tp_name) == -1)
 4960|      0|        {
 4961|      0|            goto error;
 4962|      0|        }
 4963|      0|    }
 4964|       |
 4965|  2.46k|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4965:9): [True: 0, False: 2.46k]
  ------------------
 4966|      0|        goto error;
 4967|      0|    }
 4968|       |
 4969|  2.46k|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4969:9): [True: 0, False: 2.46k]
  ------------------
 4970|      0|        goto error;
 4971|      0|    }
 4972|       |
 4973|  2.46k|    assert(_PyType_CheckConsistency(type));
 4974|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 4975|       |    // After this point, other threads can potentally use this type.
 4976|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 4977|       |#endif
 4978|       |
 4979|  2.46k|    return (PyObject *)type;
 4980|       |
 4981|      0|error:
 4982|      0|    Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4983|       |    return NULL;
 4984|  2.46k|}
typeobject.c:type_new_init:
 4893|  2.46k|{
 4894|  2.46k|    PyObject *dict = _PyDict_CopyAsDict(ctx->orig_dict);
 4895|  2.46k|    if (dict == NULL) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 2.46k]
  ------------------
 4896|      0|        goto error;
 4897|      0|    }
 4898|       |
 4899|  2.46k|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4899:9): [True: 0, False: 2.46k]
  ------------------
 4900|      0|        goto error;
 4901|      0|    }
 4902|  2.46k|    assert(!PyErr_Occurred());
 4903|       |
 4904|  2.46k|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4904:9): [True: 0, False: 2.46k]
  ------------------
 4905|      0|        goto error;
 4906|      0|    }
 4907|       |
 4908|  2.46k|    PyTypeObject *type = type_new_alloc(ctx);
 4909|  2.46k|    if (type == NULL) {
  ------------------
  |  Branch (4909:9): [True: 0, False: 2.46k]
  ------------------
 4910|      0|        goto error;
 4911|      0|    }
 4912|       |
 4913|  2.46k|    set_tp_dict(type, dict);
 4914|       |
 4915|  2.46k|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4916|  2.46k|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   27|    386|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 148, False: 238]
  |  |  ------------------
  ------------------
  |  Branch (4916:9): [True: 386, False: 2.07k]
  ------------------
 4917|    148|        et->ht_slots = ctx->slots;
 4918|    148|        ctx->slots = NULL;
 4919|    148|    }
 4920|  2.31k|    else {
 4921|  2.31k|        et->ht_slots = NULL;
 4922|  2.31k|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|  2.31k|    do { \
  |  |  485|  2.31k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.31k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.31k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.31k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.31k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 238, False: 2.07k]
  |  |  ------------------
  |  |  488|    238|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    238|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    238|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    238|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    238|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    238|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    238|        } \
  |  |  491|  2.31k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.31k]
  |  |  ------------------
  ------------------
 4923|  2.31k|    }
 4924|       |
 4925|  2.46k|    return type;
 4926|       |
 4927|      0|error:
 4928|      0|    Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4929|      0|    Py_XDECREF(dict);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4930|       |    return NULL;
 4931|  2.46k|}
typeobject.c:type_new_get_slots:
 4862|  2.46k|{
 4863|  2.46k|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4864|  2.46k|    if (slots == NULL) {
  ------------------
  |  Branch (4864:9): [True: 2.07k, False: 386]
  ------------------
 4865|  2.07k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4865:13): [True: 0, False: 2.07k]
  ------------------
 4866|      0|            return -1;
 4867|      0|        }
 4868|  2.07k|        ctx->slots = NULL;
 4869|  2.07k|        ctx->nslot = 0;
 4870|  2.07k|        return 0;
 4871|  2.07k|    }
 4872|       |
 4873|       |    // Make it into a tuple
 4874|    386|    PyObject *new_slots;
 4875|    386|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|    386|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    386|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 386]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      0|        new_slots = PyTuple_Pack(1, slots);
 4877|      0|    }
 4878|    386|    else {
 4879|    386|        new_slots = PySequence_Tuple(slots);
 4880|    386|    }
 4881|    386|    if (new_slots == NULL) {
  ------------------
  |  Branch (4881:9): [True: 0, False: 386]
  ------------------
 4882|      0|        return -1;
 4883|      0|    }
 4884|    386|    assert(PyTuple_CheckExact(new_slots));
 4885|    386|    ctx->slots = new_slots;
 4886|    386|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|    386|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4887|    386|    return 0;
 4888|    386|}
typeobject.c:type_new_slots:
 4375|  2.46k|{
 4376|       |    // Check for a __slots__ sequence variable in dict, and count it
 4377|  2.46k|    ctx->add_dict = 0;
 4378|  2.46k|    ctx->add_weak = 0;
 4379|  2.46k|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4380|  2.46k|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4381|       |
 4382|  2.46k|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4382:9): [True: 2.07k, False: 386]
  ------------------
 4383|  2.07k|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4383:13): [True: 804, False: 1.27k]
  ------------------
 4384|    804|            ctx->add_dict++;
 4385|    804|        }
 4386|  2.07k|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4386:13): [True: 1.05k, False: 1.01k]
  |  Branch (4386:34): [True: 980, False: 78]
  ------------------
 4387|    980|            ctx->add_weak++;
 4388|    980|        }
 4389|  2.07k|    }
 4390|    386|    else {
 4391|       |        /* Have slots */
 4392|    386|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4392:13): [True: 0, False: 386]
  ------------------
 4393|      0|            return -1;
 4394|      0|        }
 4395|    386|    }
 4396|  2.46k|    return 0;
 4397|  2.46k|}
typeobject.c:type_new_slots_impl:
 4353|    386|{
 4354|    386|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4354:9): [True: 0, False: 386]
  ------------------
 4355|      0|        return -1;
 4356|      0|    }
 4357|       |
 4358|    386|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4359|    386|    if (new_slots == NULL) {
  ------------------
  |  Branch (4359:9): [True: 0, False: 386]
  ------------------
 4360|      0|        return -1;
 4361|      0|    }
 4362|    386|    assert(PyTuple_CheckExact(new_slots));
 4363|       |
 4364|    386|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  374|    386|    do { \
  |  |  375|    386|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    386|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    386|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    386|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    386|        *_tmp_dst_ptr = (src); \
  |  |  378|    386|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    386|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    386|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 386]
  |  |  ------------------
  ------------------
 4365|    386|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|    386|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4366|       |
 4367|       |    /* Secondary bases may provide weakrefs or dict */
 4368|    386|    type_new_slots_bases(ctx);
 4369|    386|    return 0;
 4370|    386|}
typeobject.c:type_new_visit_slots:
 4207|    386|{
 4208|    386|    PyObject *slots = ctx->slots;
 4209|    386|    Py_ssize_t nslot = ctx->nslot;
 4210|  1.03k|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4210:28): [True: 652, False: 386]
  ------------------
 4211|    652|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|    652|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    652|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4212|    652|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4212:13): [True: 0, False: 652]
  ------------------
 4213|      0|            return -1;
 4214|      0|        }
 4215|    652|        assert(PyUnicode_Check(name));
 4216|    652|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  919|    652|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    652|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    652|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4216:13): [True: 2, False: 650]
  ------------------
 4217|      2|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4217:17): [True: 0, False: 2]
  |  Branch (4217:39): [True: 0, False: 2]
  ------------------
 4218|      0|                PyErr_SetString(PyExc_TypeError,
 4219|      0|                    "__dict__ slot disallowed: "
 4220|      0|                    "we already got one");
 4221|      0|                return -1;
 4222|      0|            }
 4223|      2|            ctx->add_dict++;
 4224|      2|        }
 4225|    652|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  919|    652|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    652|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    652|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4225:13): [True: 26, False: 626]
  ------------------
 4226|     26|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4226:17): [True: 0, False: 26]
  |  Branch (4226:39): [True: 0, False: 26]
  ------------------
 4227|      0|                PyErr_SetString(PyExc_TypeError,
 4228|      0|                    "__weakref__ slot disallowed: "
 4229|      0|                    "we already got one");
 4230|      0|                return -1;
 4231|      0|            }
 4232|     26|            ctx->add_weak++;
 4233|     26|        }
 4234|    652|    }
 4235|    386|    return 0;
 4236|    386|}
typeobject.c:valid_identifier:
 4094|    652|{
 4095|    652|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|    652|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    652|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4095:9): [True: 0, False: 652]
  ------------------
 4096|      0|        PyErr_Format(PyExc_TypeError,
 4097|      0|                     "__slots__ items must be strings, not '%.200s'",
 4098|      0|                     Py_TYPE(s)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4099|      0|        return 0;
 4100|      0|    }
 4101|    652|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4101:9): [True: 0, False: 652]
  ------------------
 4102|      0|        PyErr_SetString(PyExc_TypeError,
 4103|      0|                        "__slots__ must be identifiers");
 4104|      0|        return 0;
 4105|      0|    }
 4106|    652|    return 1;
 4107|    652|}
typeobject.c:type_new_copy_slots:
 4245|    386|{
 4246|    386|    PyObject *slots = ctx->slots;
 4247|    386|    Py_ssize_t nslot = ctx->nslot;
 4248|       |
 4249|    386|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4250|    386|    PyObject *new_slots = PyList_New(new_nslot);
 4251|    386|    if (new_slots == NULL) {
  ------------------
  |  Branch (4251:9): [True: 0, False: 386]
  ------------------
 4252|      0|        return NULL;
 4253|      0|    }
 4254|       |
 4255|    386|    Py_ssize_t j = 0;
 4256|  1.03k|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4256:28): [True: 652, False: 386]
  ------------------
 4257|    652|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|    652|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    652|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|    652|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4258:14): [True: 14, False: 638]
  |  Branch (4258:31): [True: 2, False: 12]
  ------------------
 4259|    650|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  919|    128|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    128|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    128|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4259:14): [True: 128, False: 522]
  |  Branch (4259:31): [True: 26, False: 102]
  ------------------
 4260|     28|        {
 4261|     28|            continue;
 4262|     28|        }
 4263|       |
 4264|    624|        slot =_Py_Mangle(ctx->name, slot);
 4265|    624|        if (!slot) {
  ------------------
  |  Branch (4265:13): [True: 0, False: 624]
  ------------------
 4266|      0|            goto error;
 4267|      0|        }
 4268|    624|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|    624|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|       |
 4270|    624|        int r = PyDict_Contains(dict, slot);
 4271|    624|        if (r < 0) {
  ------------------
  |  Branch (4271:13): [True: 0, False: 624]
  ------------------
 4272|      0|            goto error;
 4273|      0|        }
 4274|    624|        if (r > 0) {
  ------------------
  |  Branch (4274:13): [True: 0, False: 624]
  ------------------
 4275|       |            /* CPython inserts these names (when needed)
 4276|       |               into the namespace when creating a class.  They will be deleted
 4277|       |               below so won't act as class variables. */
 4278|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4278:17): [True: 0, False: 0]
  ------------------
 4279|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4279:17): [True: 0, False: 0]
  ------------------
 4280|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4280:17): [True: 0, False: 0]
  ------------------
 4281|      0|            {
 4282|      0|                PyErr_Format(PyExc_ValueError,
 4283|      0|                             "%R in __slots__ conflicts with class variable",
 4284|      0|                             slot);
 4285|      0|                goto error;
 4286|      0|            }
 4287|      0|        }
 4288|       |
 4289|    624|        j++;
 4290|    624|    }
 4291|    386|    assert(j == new_nslot);
 4292|       |
 4293|    386|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4293:9): [True: 0, False: 386]
  ------------------
 4294|      0|        goto error;
 4295|      0|    }
 4296|       |
 4297|    386|    PyObject *tuple = PyList_AsTuple(new_slots);
 4298|    386|    Py_DECREF(new_slots);
  ------------------
  |  |  430|    386|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4299|    386|    if (tuple == NULL) {
  ------------------
  |  Branch (4299:9): [True: 0, False: 386]
  ------------------
 4300|      0|        return NULL;
 4301|      0|    }
 4302|       |
 4303|    386|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
 4304|    386|    return tuple;
 4305|       |
 4306|      0|error:
 4307|      0|    Py_DECREF(new_slots);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4308|       |    return NULL;
 4309|    386|}
typeobject.c:type_new_slots_bases:
 4314|    386|{
 4315|    386|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    386|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4316|    386|    if (nbases > 1 &&
  ------------------
  |  Branch (4316:9): [True: 50, False: 336]
  ------------------
 4317|     50|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4317:11): [True: 50, False: 0]
  |  Branch (4317:32): [True: 50, False: 0]
  ------------------
 4318|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4318:11): [True: 0, False: 0]
  |  Branch (4318:32): [True: 0, False: 0]
  ------------------
 4319|     50|    {
 4320|    152|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4320:32): [True: 102, False: 50]
  ------------------
 4321|    102|            PyObject *obj = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    102|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    102|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4322|    102|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4322:17): [True: 50, False: 52]
  ------------------
 4323|       |                /* Skip primary base */
 4324|     50|                continue;
 4325|     50|            }
 4326|     52|            PyTypeObject *base = _PyType_CAST(obj);
  ------------------
  |  |  770|     52|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4327|       |
 4328|     52|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4328:17): [True: 52, False: 0]
  |  Branch (4328:38): [True: 52, False: 0]
  ------------------
 4329|     52|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4329:17): [True: 0, False: 52]
  ------------------
 4330|      0|            {
 4331|      0|                ctx->add_dict++;
 4332|      0|            }
 4333|     52|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4333:17): [True: 50, False: 2]
  |  Branch (4333:38): [True: 46, False: 4]
  ------------------
 4334|     46|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4334:17): [True: 0, False: 46]
  ------------------
 4335|      0|            {
 4336|      0|                ctx->add_weak++;
 4337|      0|            }
 4338|     52|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4338:17): [True: 52, False: 0]
  |  Branch (4338:38): [True: 52, False: 0]
  ------------------
 4339|     52|                continue;
 4340|     52|            }
 4341|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4341:17): [True: 0, False: 0]
  |  Branch (4341:38): [True: 0, False: 0]
  ------------------
 4342|      0|                continue;
 4343|      0|            }
 4344|       |            /* Nothing more to check */
 4345|      0|            break;
 4346|      0|        }
 4347|     50|    }
 4348|    386|}
typeobject.c:type_new_alloc:
 4402|  2.46k|{
 4403|  2.46k|    PyTypeObject *metatype = ctx->metatype;
 4404|  2.46k|    PyTypeObject *type;
 4405|       |
 4406|       |    // Allocate the type object
 4407|  2.46k|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4408|  2.46k|    if (type == NULL) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 2.46k]
  ------------------
 4409|      0|        return NULL;
 4410|      0|    }
 4411|  2.46k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4412|       |
 4413|       |    // Initialize tp_flags.
 4414|       |    // All heap types need GC, since we can create a reference cycle by storing
 4415|       |    // an instance on one of its parents.
 4416|  2.46k|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|  2.46k|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|  2.46k|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|  2.46k|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|  2.46k|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|  2.46k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4417|  2.46k|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|  2.46k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|  2.46k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4418|       |
 4419|       |    // Initialize essential fields
 4420|  2.46k|    type->tp_as_async = &et->as_async;
 4421|  2.46k|    type->tp_as_number = &et->as_number;
 4422|  2.46k|    type->tp_as_sequence = &et->as_sequence;
 4423|  2.46k|    type->tp_as_mapping = &et->as_mapping;
 4424|  2.46k|    type->tp_as_buffer = &et->as_buffer;
 4425|       |
 4426|  2.46k|    set_tp_bases(type, Py_NewRef(ctx->bases), 1);
  ------------------
  |  |  550|  2.46k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|  2.46k|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  550|  2.46k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4428|       |
 4429|  2.46k|    type->tp_dealloc = subtype_dealloc;
 4430|       |    /* Always override allocation strategy to use regular heap */
 4431|  2.46k|    type->tp_alloc = PyType_GenericAlloc;
 4432|  2.46k|    type->tp_free = PyObject_GC_Del;
 4433|       |
 4434|  2.46k|    type->tp_traverse = subtype_traverse;
 4435|  2.46k|    type->tp_clear = subtype_clear;
 4436|       |
 4437|  2.46k|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  550|  2.46k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4438|  2.46k|    et->ht_module = NULL;
 4439|  2.46k|    et->_ht_tpname = NULL;
 4440|  2.46k|    et->ht_token = NULL;
 4441|       |
 4442|       |#ifdef Py_GIL_DISABLED
 4443|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4444|       |#endif
 4445|       |
 4446|  2.46k|    return type;
 4447|  2.46k|}
typeobject.c:subtype_traverse:
 2603|   883k|{
 2604|   883k|    PyTypeObject *type, *base;
 2605|   883k|    traverseproc basetraverse;
 2606|       |
 2607|       |    /* Find the nearest base with a different tp_traverse,
 2608|       |       and traverse slots while we're at it */
 2609|   883k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   883k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   883k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   883k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|   883k|    base = type;
 2611|  2.11M|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2611:12): [True: 1.23M, False: 883k]
  ------------------
 2612|  1.23M|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|  1.23M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 591k, False: 641k]
  |  |  ------------------
  ------------------
 2613|   591k|            int err = traverse_slots(base, self, visit, arg);
 2614|   591k|            if (err)
  ------------------
  |  Branch (2614:17): [True: 0, False: 591k]
  ------------------
 2615|      0|                return err;
 2616|   591k|        }
 2617|  1.23M|        base = base->tp_base;
 2618|  1.23M|        assert(base);
 2619|  1.23M|    }
 2620|       |
 2621|   883k|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2621:9): [True: 288k, False: 595k]
  ------------------
 2622|   288k|        assert(base->tp_dictoffset == 0);
 2623|   288k|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   288k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2623:13): [True: 288k, False: 0]
  ------------------
 2624|   288k|            assert(type->tp_dictoffset == -1);
 2625|   288k|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2626|   288k|            if (err) {
  ------------------
  |  Branch (2626:17): [True: 0, False: 288k]
  ------------------
 2627|      0|                return err;
 2628|      0|            }
 2629|   288k|        }
 2630|      0|        else {
 2631|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2632|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2632:17): [True: 0, False: 0]
  |  Branch (2632:28): [True: 0, False: 0]
  ------------------
 2633|      0|                Py_VISIT(*dictptr);
  ------------------
  |  |  194|      0|    do {                                                                \
  |  |  195|      0|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2634|      0|            }
 2635|      0|        }
 2636|   288k|    }
 2637|       |
 2638|   883k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  1.76M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2638:9): [True: 883k, False: 0]
  ------------------
 2639|   883k|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|   202k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2639:13): [True: 681k, False: 202k]
  |  Branch (2639:30): [True: 4.33k, False: 198k]
  ------------------
 2640|       |        /* For a heaptype, the instances count as references
 2641|       |           to the type.          Traverse the type so the collector
 2642|       |           can find cycles involving this link.
 2643|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2644|       |           case, basetraverse will visit the type when we call it later.
 2645|       |           */
 2646|   685k|        Py_VISIT(type);
  ------------------
  |  |  194|   685k|    do {                                                                \
  |  |  195|   685k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 685k, False: 0]
  |  |  ------------------
  |  |  196|   685k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   685k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   685k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   685k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 685k]
  |  |  ------------------
  |  |  198|   685k|                return vret;                                            \
  |  |  199|   685k|        }                                                               \
  |  |  200|   685k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 685k]
  |  |  ------------------
  ------------------
 2647|   685k|    }
 2648|       |
 2649|   883k|    if (basetraverse)
  ------------------
  |  Branch (2649:9): [True: 202k, False: 681k]
  ------------------
 2650|   202k|        return basetraverse(self, visit, arg);
 2651|   681k|    return 0;
 2652|   883k|}
typeobject.c:traverse_slots:
 2581|   591k|{
 2582|   591k|    Py_ssize_t i, n;
 2583|   591k|    PyMemberDef *mp;
 2584|       |
 2585|   591k|    n = Py_SIZE(type);
  ------------------
  |  |  214|   591k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   591k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   591k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2586|   591k|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2587|  3.63M|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2587:17): [True: 3.04M, False: 591k]
  ------------------
 2588|  3.04M|        if (mp->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|  3.04M|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (2588:13): [True: 3.04M, False: 0]
  ------------------
 2589|  3.04M|            void *addr = _PyMember_GetOffset(self, mp);
 2590|  3.04M|            PyObject *obj = *(PyObject **)addr;
 2591|  3.04M|            if (obj != NULL) {
  ------------------
  |  Branch (2591:17): [True: 3.02M, False: 19.0k]
  ------------------
 2592|  3.02M|                int err = visit(obj, arg);
 2593|  3.02M|                if (err)
  ------------------
  |  Branch (2593:21): [True: 0, False: 3.02M]
  ------------------
 2594|      0|                    return err;
 2595|  3.02M|            }
 2596|  3.04M|        }
 2597|  3.04M|    }
 2598|   591k|    return 0;
 2599|   591k|}
typeobject.c:subtype_clear:
 2676|  97.0k|{
 2677|  97.0k|    PyTypeObject *type, *base;
 2678|  97.0k|    inquiry baseclear;
 2679|       |
 2680|       |    /* Find the nearest base with a different tp_clear
 2681|       |       and clear slots while we're at it */
 2682|  97.0k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  97.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  97.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2683|  97.0k|    base = type;
 2684|   313k|    while ((baseclear = base->tp_clear) == subtype_clear) {
  ------------------
  |  Branch (2684:12): [True: 216k, False: 97.0k]
  ------------------
 2685|   216k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   216k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 5, False: 216k]
  |  |  ------------------
  ------------------
 2686|      5|            clear_slots(base, self);
 2687|   216k|        base = base->tp_base;
 2688|   216k|        assert(base);
 2689|   216k|    }
 2690|       |
 2691|       |    /* Clear the instance dict (if any), to break cycles involving only
 2692|       |       __dict__ slots (as in the case 'self.__dict__ is self'). */
 2693|  97.0k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  97.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2693:9): [True: 97.0k, False: 5]
  ------------------
 2694|  97.0k|        if ((base->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  97.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2694:13): [True: 97.0k, False: 0]
  ------------------
 2695|  97.0k|            PyObject_ClearManagedDict(self);
 2696|  97.0k|        }
 2697|      0|        else {
 2698|      0|            assert((base->tp_flags & Py_TPFLAGS_INLINE_VALUES) ==
 2699|      0|                   (type->tp_flags & Py_TPFLAGS_INLINE_VALUES));
 2700|      0|        }
 2701|  97.0k|    }
 2702|      5|    else if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2702:14): [True: 0, False: 5]
  ------------------
 2703|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2704|      0|        if (dictptr && *dictptr)
  ------------------
  |  Branch (2704:13): [True: 0, False: 0]
  |  Branch (2704:24): [True: 0, False: 0]
  ------------------
 2705|      0|            Py_CLEAR(*dictptr);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2706|      0|    }
 2707|       |
 2708|  97.0k|    if (baseclear)
  ------------------
  |  Branch (2708:9): [True: 0, False: 97.0k]
  ------------------
 2709|      0|        return baseclear(self);
 2710|  97.0k|    return 0;
 2711|  97.0k|}
typeobject.c:set_tp_dict:
  554|  3.11k|{
  555|  3.11k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (555:9): [True: 414, False: 2.70k]
  ------------------
  556|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  557|    414|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  558|    414|        assert(state != NULL);
  559|    414|        state->tp_dict = dict;
  560|    414|        return;
  561|    414|    }
  562|  2.70k|    self->tp_dict = dict;
  563|  2.70k|}
typeobject.c:type_new_set_attrs:
 4797|  2.46k|{
 4798|  2.46k|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4798:9): [True: 0, False: 2.46k]
  ------------------
 4799|      0|        return -1;
 4800|      0|    }
 4801|       |
 4802|  2.46k|    PyObject *dict = lookup_tp_dict(type);
 4803|  2.46k|    assert(dict);
 4804|       |
 4805|  2.46k|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4805:9): [True: 0, False: 2.46k]
  ------------------
 4806|      0|        return -1;
 4807|      0|    }
 4808|       |
 4809|  2.46k|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4809:9): [True: 0, False: 2.46k]
  ------------------
 4810|      0|        return -1;
 4811|      0|    }
 4812|       |
 4813|  2.46k|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4813:9): [True: 0, False: 2.46k]
  ------------------
 4814|      0|        return -1;
 4815|      0|    }
 4816|       |
 4817|       |    /* Special-case __new__: if it's a plain function,
 4818|       |       make it a static function */
 4819|  2.46k|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4819:9): [True: 0, False: 2.46k]
  ------------------
 4820|      0|        return -1;
 4821|      0|    }
 4822|       |
 4823|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4824|       |       if they are plain functions, make them classmethods */
 4825|  2.46k|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4825:9): [True: 0, False: 2.46k]
  ------------------
 4826|      0|        return -1;
 4827|      0|    }
 4828|  2.46k|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4828:9): [True: 0, False: 2.46k]
  ------------------
 4829|      0|        return -1;
 4830|      0|    }
 4831|       |
 4832|  2.46k|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4832:9): [True: 0, False: 2.46k]
  ------------------
 4833|      0|        return -1;
 4834|      0|    }
 4835|       |
 4836|  2.46k|    type_new_set_slots(ctx, type);
 4837|       |
 4838|  2.46k|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4838:9): [True: 0, False: 2.46k]
  ------------------
 4839|      0|        return -1;
 4840|      0|    }
 4841|  2.46k|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4841:9): [True: 0, False: 2.46k]
  ------------------
 4842|      0|        return -1;
 4843|      0|    }
 4844|       |
 4845|       |#ifdef Py_GIL_DISABLED
 4846|       |    // enable deferred reference counting on functions and descriptors
 4847|       |    Py_ssize_t pos = 0;
 4848|       |    PyObject *key, *value;
 4849|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4850|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4851|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4852|       |        }
 4853|       |    }
 4854|       |#endif
 4855|       |
 4856|  2.46k|    return 0;
 4857|  2.46k|}
typeobject.c:type_new_set_name:
 4452|  2.46k|{
 4453|  2.46k|    Py_ssize_t name_size;
 4454|  2.46k|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4455|  2.46k|    if (!type->tp_name) {
  ------------------
  |  Branch (4455:9): [True: 0, False: 2.46k]
  ------------------
 4456|      0|        return -1;
 4457|      0|    }
 4458|  2.46k|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 2.46k]
  ------------------
 4459|      0|        PyErr_SetString(PyExc_ValueError,
 4460|      0|                        "type name must not contain null characters");
 4461|      0|        return -1;
 4462|      0|    }
 4463|  2.46k|    return 0;
 4464|  2.46k|}
typeobject.c:type_new_set_module:
 4470|  2.46k|{
 4471|  2.46k|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|  2.46k|    if (r < 0) {
  ------------------
  |  Branch (4472:9): [True: 0, False: 2.46k]
  ------------------
 4473|      0|        return -1;
 4474|      0|    }
 4475|  2.46k|    if (r > 0) {
  ------------------
  |  Branch (4475:9): [True: 2.39k, False: 68]
  ------------------
 4476|  2.39k|        return 0;
 4477|  2.39k|    }
 4478|       |
 4479|     68|    PyObject *globals = PyEval_GetGlobals();
 4480|     68|    if (globals == NULL) {
  ------------------
  |  Branch (4480:9): [True: 0, False: 68]
  ------------------
 4481|      0|        return 0;
 4482|      0|    }
 4483|       |
 4484|     68|    PyObject *module;
 4485|     68|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  919|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4486|     68|    if (module) {
  ------------------
  |  Branch (4486:9): [True: 68, False: 0]
  ------------------
 4487|     68|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  919|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4488|     68|        Py_DECREF(module);
  ------------------
  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4489|     68|    }
 4490|     68|    return r;
 4491|     68|}
typeobject.c:type_new_set_ht_name:
 4498|  2.46k|{
 4499|  2.46k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4500|  2.46k|    PyObject *qualname;
 4501|  2.46k|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4501:9): [True: 0, False: 2.46k]
  ------------------
 4502|      0|        return -1;
 4503|      0|    }
 4504|  2.46k|    if (qualname != NULL) {
  ------------------
  |  Branch (4504:9): [True: 1.98k, False: 474]
  ------------------
 4505|  1.98k|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|  1.98k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.98k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4505:13): [True: 0, False: 1.98k]
  ------------------
 4506|      0|            PyErr_Format(PyExc_TypeError,
 4507|      0|                    "type __qualname__ must be a str, not %s",
 4508|      0|                    Py_TYPE(qualname)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4509|      0|            Py_DECREF(qualname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4510|      0|            return -1;
 4511|      0|        }
 4512|  1.98k|        et->ht_qualname = qualname;
 4513|  1.98k|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  919|  1.98k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.98k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.98k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4513:13): [True: 0, False: 1.98k]
  ------------------
 4514|      0|            return -1;
 4515|      0|        }
 4516|  1.98k|    }
 4517|    474|    else {
 4518|    474|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  550|    474|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    474|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    474|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4519|    474|    }
 4520|  2.46k|    return 0;
 4521|  2.46k|}
typeobject.c:type_new_set_doc:
 4529|  2.46k|{
 4530|  2.46k|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|  2.46k|    if (doc == NULL) {
  ------------------
  |  Branch (4531:9): [True: 848, False: 1.61k]
  ------------------
 4532|    848|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 848]
  ------------------
 4533|      0|            return -1;
 4534|      0|        }
 4535|       |        // no __doc__ key
 4536|    848|        return 0;
 4537|    848|    }
 4538|  1.61k|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  1.61k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.61k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4538:9): [True: 34, False: 1.57k]
  ------------------
 4539|       |        // ignore non-string __doc__
 4540|     34|        return 0;
 4541|     34|    }
 4542|       |
 4543|  1.57k|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4544|  1.57k|    if (doc_str == NULL) {
  ------------------
  |  Branch (4544:9): [True: 0, False: 1.57k]
  ------------------
 4545|      0|        return -1;
 4546|      0|    }
 4547|       |
 4548|       |    // Silently truncate the docstring if it contains a null byte
 4549|  1.57k|    Py_ssize_t size = strlen(doc_str) + 1;
 4550|  1.57k|    char *tp_doc = (char *)PyMem_Malloc(size);
 4551|  1.57k|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4551:9): [True: 0, False: 1.57k]
  ------------------
 4552|      0|        PyErr_NoMemory();
 4553|      0|        return -1;
 4554|      0|    }
 4555|       |
 4556|  1.57k|    memcpy(tp_doc, doc_str, size);
 4557|  1.57k|    type->tp_doc = tp_doc;
 4558|  1.57k|    return 0;
 4559|  1.57k|}
typeobject.c:type_new_staticmethod:
 4564|  2.46k|{
 4565|  2.46k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4566|  2.46k|    if (func == NULL) {
  ------------------
  |  Branch (4566:9): [True: 2.31k, False: 148]
  ------------------
 4567|  2.31k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4567:13): [True: 0, False: 2.31k]
  ------------------
 4568|      0|            return -1;
 4569|      0|        }
 4570|  2.31k|        return 0;
 4571|  2.31k|    }
 4572|    148|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    148|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    148|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4572:9): [True: 6, False: 142]
  ------------------
 4573|      6|        return 0;
 4574|      6|    }
 4575|       |
 4576|    142|    PyObject *static_func = PyStaticMethod_New(func);
 4577|    142|    if (static_func == NULL) {
  ------------------
  |  Branch (4577:9): [True: 0, False: 142]
  ------------------
 4578|      0|        return -1;
 4579|      0|    }
 4580|    142|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4580:9): [True: 0, False: 142]
  ------------------
 4581|      0|        Py_DECREF(static_func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4582|      0|        return -1;
 4583|      0|    }
 4584|    142|    Py_DECREF(static_func);
  ------------------
  |  |  430|    142|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4585|    142|    return 0;
 4586|    142|}
typeobject.c:type_new_classmethod:
 4591|  4.92k|{
 4592|  4.92k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4593|  4.92k|    if (func == NULL) {
  ------------------
  |  Branch (4593:9): [True: 4.84k, False: 78]
  ------------------
 4594|  4.84k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4594:13): [True: 0, False: 4.84k]
  ------------------
 4595|      0|            return -1;
 4596|      0|        }
 4597|  4.84k|        return 0;
 4598|  4.84k|    }
 4599|     78|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     78|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     78|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4599:9): [True: 62, False: 16]
  ------------------
 4600|     62|        return 0;
 4601|     62|    }
 4602|       |
 4603|     16|    PyObject *method = PyClassMethod_New(func);
 4604|     16|    if (method == NULL) {
  ------------------
  |  Branch (4604:9): [True: 0, False: 16]
  ------------------
 4605|      0|        return -1;
 4606|      0|    }
 4607|       |
 4608|     16|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4608:9): [True: 0, False: 16]
  ------------------
 4609|      0|        Py_DECREF(method);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4610|      0|        return -1;
 4611|      0|    }
 4612|     16|    Py_DECREF(method);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4613|     16|    return 0;
 4614|     16|}
typeobject.c:type_new_descriptors:
 4646|  2.46k|{
 4647|  2.46k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4648|  2.46k|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4649|  2.46k|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4649:9): [True: 148, False: 2.31k]
  ------------------
 4650|    148|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4651|    148|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   27|    148|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4652|    148|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4652:28): [True: 6, False: 142]
  ------------------
 4653|      6|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      6|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4653:28): [True: 6, False: 0]
  ------------------
 4654|    148|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4654:13): [True: 6, False: 142]
  ------------------
 4655|      6|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      6|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4655:13): [True: 0, False: 6]
  ------------------
 4656|      0|        {
 4657|      0|            PyErr_Format(PyExc_TypeError,
 4658|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4659|      0|                         ctx->base->tp_name);
 4660|      0|            return -1;
 4661|      0|        }
 4662|    772|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4662:32): [True: 624, False: 148]
  ------------------
 4663|    624|            mp->name = PyUnicode_AsUTF8(
 4664|    624|                PyTuple_GET_ITEM(et->ht_slots, i));
  ------------------
  |  |   29|    624|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    624|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|    624|            if (mp->name == NULL) {
  ------------------
  |  Branch (4665:17): [True: 0, False: 624]
  ------------------
 4666|      0|                return -1;
 4667|      0|            }
 4668|    624|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|    624|#define Py_T_OBJECT_EX 16
  ------------------
 4669|    624|            mp->offset = slotoffset;
 4670|    624|            if (after_items) {
  ------------------
  |  Branch (4670:17): [True: 6, False: 618]
  ------------------
 4671|      6|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      6|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4672|      6|            }
 4673|       |
 4674|       |            /* __dict__ and __weakref__ are already filtered out */
 4675|    624|            assert(strcmp(mp->name, "__dict__") != 0);
 4676|    624|            assert(strcmp(mp->name, "__weakref__") != 0);
 4677|       |
 4678|    624|            slotoffset += sizeof(PyObject *);
 4679|    624|        }
 4680|    148|    }
 4681|       |
 4682|  2.46k|    if (ctx->add_weak) {
  ------------------
  |  Branch (4682:9): [True: 1.00k, False: 1.45k]
  ------------------
 4683|  1.00k|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
 4684|  1.00k|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|  1.00k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4685|  1.00k|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  926|  1.00k|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4686|  1.00k|    }
 4687|  2.46k|    if (ctx->add_dict) {
  ------------------
  |  Branch (4687:9): [True: 806, False: 1.65k]
  ------------------
 4688|    806|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
 4689|    806|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    806|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4690|    806|        type->tp_dictoffset = -1;
 4691|    806|    }
 4692|       |
 4693|  2.46k|    type->tp_basicsize = slotoffset;
 4694|  2.46k|    type->tp_itemsize = ctx->base->tp_itemsize;
 4695|  2.46k|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4696|       |
 4697|  2.46k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4698|       |
 4699|  2.46k|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4699:9): [True: 806, False: 1.65k]
  ------------------
 4700|    806|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4700:13): [True: 0, False: 806]
  ------------------
 4701|    806|            interp,
 4702|    806|            &interp->cached_objects.dict_descriptor,
 4703|    806|            &subtype_getset_dict,
 4704|    806|            dict) < 0)
 4705|      0|        {
 4706|      0|            return -1;
 4707|      0|        }
 4708|    806|    }
 4709|  2.46k|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4709:9): [True: 1.00k, False: 1.45k]
  ------------------
 4710|  1.00k|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4710:13): [True: 0, False: 1.00k]
  ------------------
 4711|  1.00k|            interp,
 4712|  1.00k|            &interp->cached_objects.weakref_descriptor,
 4713|  1.00k|            &subtype_getset_weakref,
 4714|  1.00k|            dict) < 0)
 4715|      0|        {
 4716|      0|            return -1;
 4717|      0|        }
 4718|  1.00k|    }
 4719|       |
 4720|  2.46k|    return 0;
 4721|  2.46k|}
typeobject.c:type_add_common_descriptor:
 4622|  1.81k|{
 4623|       |#ifdef Py_GIL_DISABLED
 4624|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4625|       |#endif
 4626|  1.81k|    PyObject *descr = *cache;
 4627|  1.81k|    if (!descr) {
  ------------------
  |  Branch (4627:9): [True: 4, False: 1.80k]
  ------------------
 4628|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4629|      4|        *cache = descr;
 4630|      4|    }
 4631|       |#ifdef Py_GIL_DISABLED
 4632|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4633|       |#endif
 4634|  1.81k|    if (!descr) {
  ------------------
  |  Branch (4634:9): [True: 0, False: 1.81k]
  ------------------
 4635|      0|        return -1;
 4636|      0|    }
 4637|  1.81k|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|  1.81k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4637:9): [True: 0, False: 1.81k]
  ------------------
 4638|      0|        return -1;
 4639|      0|    }
 4640|  1.81k|    return 0;
 4641|  1.81k|}
typeobject.c:subtype_dict:
 3985|   425k|{
 3986|   425k|    PyTypeObject *base;
 3987|       |
 3988|   425k|    base = get_builtin_base_with_dict(Py_TYPE(obj));
  ------------------
  |  |  213|   425k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   425k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   425k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3989|   425k|    if (base != NULL) {
  ------------------
  |  Branch (3989:9): [True: 0, False: 425k]
  ------------------
 3990|      0|        descrgetfunc func;
 3991|      0|        PyObject *descr = get_dict_descriptor(base);
 3992|      0|        if (descr == NULL) {
  ------------------
  |  Branch (3992:13): [True: 0, False: 0]
  ------------------
 3993|      0|            raise_dict_descr_error(obj);
 3994|      0|            return NULL;
 3995|      0|        }
 3996|      0|        func = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3997|      0|        if (func == NULL) {
  ------------------
  |  Branch (3997:13): [True: 0, False: 0]
  ------------------
 3998|      0|            raise_dict_descr_error(obj);
 3999|      0|            return NULL;
 4000|      0|        }
 4001|      0|        return func(descr, obj, (PyObject *)(Py_TYPE(obj)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|      0|    }
 4003|   425k|    return PyObject_GenericGetDict(obj, context);
 4004|   425k|}
typeobject.c:get_builtin_base_with_dict:
 3953|   425k|{
 3954|   852k|    while (type->tp_base != NULL) {
  ------------------
  |  Branch (3954:12): [True: 426k, False: 425k]
  ------------------
 3955|   426k|        if (type->tp_dictoffset != 0 &&
  ------------------
  |  Branch (3955:13): [True: 426k, False: 145]
  ------------------
 3956|   426k|            !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|   426k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (3956:13): [True: 0, False: 426k]
  ------------------
 3957|      0|            return type;
 3958|   426k|        type = type->tp_base;
 3959|   426k|    }
 3960|   425k|    return NULL;
 3961|   425k|}
typeobject.c:type_new_set_slots:
 4726|  2.46k|{
 4727|  2.46k|    type->tp_getset = NULL;
 4728|       |
 4729|       |    /* Special case some slots */
 4730|  2.46k|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4730:9): [True: 806, False: 1.65k]
  |  Branch (4730:37): [True: 146, False: 1.50k]
  ------------------
 4731|    952|        PyTypeObject *base = ctx->base;
 4732|    952|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4732:13): [True: 952, False: 0]
  |  Branch (4732:41): [True: 0, False: 952]
  ------------------
 4733|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4734|      0|        }
 4735|    952|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4735:13): [True: 952, False: 0]
  |  Branch (4735:41): [True: 0, False: 952]
  ------------------
 4736|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4737|      0|        }
 4738|    952|    }
 4739|  2.46k|}
typeobject.c:type_new_set_classcell:
 4745|  2.46k|{
 4746|  2.46k|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4747|  2.46k|    if (cell == NULL) {
  ------------------
  |  Branch (4747:9): [True: 2.08k, False: 378]
  ------------------
 4748|  2.08k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4748:13): [True: 0, False: 2.08k]
  ------------------
 4749|      0|            return -1;
 4750|      0|        }
 4751|  2.08k|        return 0;
 4752|  2.08k|    }
 4753|       |
 4754|       |    /* At least one method requires a reference to its defining class */
 4755|    378|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    378|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    378|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4755:9): [True: 0, False: 378]
  ------------------
 4756|      0|        PyErr_Format(PyExc_TypeError,
 4757|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4758|      0|                     Py_TYPE(cell));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4759|      0|        return -1;
 4760|      0|    }
 4761|       |
 4762|    378|    (void)PyCell_Set(cell, (PyObject *) type);
 4763|    378|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  919|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4763:9): [True: 0, False: 378]
  ------------------
 4764|      0|        return -1;
 4765|      0|    }
 4766|    378|    return 0;
 4767|    378|}
typeobject.c:type_new_set_classdictcell:
 4771|  2.46k|{
 4772|  2.46k|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4773|  2.46k|    if (cell == NULL) {
  ------------------
  |  Branch (4773:9): [True: 912, False: 1.54k]
  ------------------
 4774|    912|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4774:13): [True: 0, False: 912]
  ------------------
 4775|      0|            return -1;
 4776|      0|        }
 4777|    912|        return 0;
 4778|    912|    }
 4779|       |
 4780|       |    /* At least one method requires a reference to the dict of its defining class */
 4781|  1.54k|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|  1.54k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|  1.54k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4781:9): [True: 0, False: 1.54k]
  ------------------
 4782|      0|        PyErr_Format(PyExc_TypeError,
 4783|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4784|      0|                     Py_TYPE(cell));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4785|      0|        return -1;
 4786|      0|    }
 4787|       |
 4788|  1.54k|    (void)PyCell_Set(cell, (PyObject *)dict);
 4789|  1.54k|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  919|  1.54k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.54k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.54k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4789:9): [True: 0, False: 1.54k]
  ------------------
 4790|      0|        return -1;
 4791|      0|    }
 4792|  1.54k|    return 0;
 4793|  1.54k|}
typeobject.c:fixup_slot_dispatchers:
12117|  2.46k|{
12118|  2.46k|    assert(!PyErr_Occurred());
12119|   167k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12119:40): [True: 164k, False: 2.46k]
  ------------------
12120|       |        update_one_slot(type, p, &p, NULL);
12121|   164k|    }
12122|  2.46k|}
typeobject.c:type_new_set_names:
12261|  2.46k|{
12262|  2.46k|    PyObject *dict = lookup_tp_dict(type);
12263|  2.46k|    PyObject *names_to_set = PyDict_Copy(dict);
12264|  2.46k|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12264:9): [True: 0, False: 2.46k]
  ------------------
12265|      0|        return -1;
12266|      0|    }
12267|       |
12268|  2.46k|    Py_ssize_t i = 0;
12269|  2.46k|    PyObject *key, *value;
12270|  30.9k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12270:12): [True: 28.4k, False: 2.46k]
  ------------------
12271|  28.4k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12272|  28.4k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  919|  28.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  28.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  28.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12273|  28.4k|        if (set_name == NULL) {
  ------------------
  |  Branch (12273:13): [True: 27.4k, False: 1.03k]
  ------------------
12274|  27.4k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12274:17): [True: 0, False: 27.4k]
  ------------------
12275|      0|                goto error;
12276|      0|            }
12277|  27.4k|            continue;
12278|  27.4k|        }
12279|       |
12280|  1.03k|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12281|  1.03k|        Py_DECREF(set_name);
  ------------------
  |  |  430|  1.03k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12282|       |
12283|  1.03k|        if (res == NULL) {
  ------------------
  |  Branch (12283:13): [True: 0, False: 1.03k]
  ------------------
12284|      0|            _PyErr_FormatNote(
12285|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12286|      0|                "in '%.100s'",
12287|      0|                Py_TYPE(value)->tp_name, key, type->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12288|      0|            goto error;
12289|      0|        }
12290|  1.03k|        else {
12291|  1.03k|            Py_DECREF(res);
  ------------------
  |  |  430|  1.03k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12292|  1.03k|        }
12293|  1.03k|    }
12294|       |
12295|  2.46k|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12296|  2.46k|    return 0;
12297|       |
12298|      0|error:
12299|      0|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12300|      0|    return -1;
12301|  2.46k|}
typeobject.c:type_new_init_subclass:
12307|  2.46k|{
12308|  2.46k|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12309|  2.46k|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12310|  2.46k|                                          args, 2, NULL);
12311|  2.46k|    if (super == NULL) {
  ------------------
  |  Branch (12311:9): [True: 0, False: 2.46k]
  ------------------
12312|      0|        return -1;
12313|      0|    }
12314|       |
12315|  2.46k|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  919|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12316|  2.46k|    Py_DECREF(super);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12317|  2.46k|    if (func == NULL) {
  ------------------
  |  Branch (12317:9): [True: 0, False: 2.46k]
  ------------------
12318|      0|        return -1;
12319|      0|    }
12320|       |
12321|  2.46k|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12322|  2.46k|    Py_DECREF(func);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12323|  2.46k|    if (result == NULL) {
  ------------------
  |  Branch (12323:9): [True: 0, False: 2.46k]
  ------------------
12324|      0|        return -1;
12325|      0|    }
12326|       |
12327|  2.46k|    Py_DECREF(result);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12328|  2.46k|    return 0;
12329|  2.46k|}
typeobject.c:type_is_gc:
 7265|  1.23M|{
 7266|  1.23M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  1.23M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7267|  1.23M|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|  1.23M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7268|  1.23M|}
typeobject.c:type_vectorcall:
 5109|  2.25k|{
 5110|  2.25k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.25k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5111|  2.25k|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5111:9): [True: 151, False: 2.10k]
  |  Branch (5111:23): [True: 151, False: 0]
  ------------------
 5112|    151|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   15|    151|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 151, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5113|      0|            return NULL;
 5114|      0|        }
 5115|    151|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  550|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5116|    151|    }
 5117|       |    /* In other (much less common) cases, fall back to
 5118|       |       more flexible calling conventions. */
 5119|  2.10k|    PyThreadState *tstate = _PyThreadState_GET();
 5120|  2.10k|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5121|  2.25k|}
typeobject.c:object_richcompare:
 7507|  5.15M|{
 7508|  5.15M|    PyObject *res;
 7509|       |
 7510|  5.15M|    switch (op) {
 7511|       |
 7512|  5.15M|    case Py_EQ:
  ------------------
  |  |  654|  5.15M|#define Py_EQ 2
  ------------------
  |  Branch (7512:5): [True: 5.15M, False: 7]
  ------------------
 7513|       |        /* Return NotImplemented instead of False, so if two
 7514|       |           objects are compared, both get a chance at the
 7515|       |           comparison.  See issue #1393. */
 7516|  5.15M|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  550|  5.15M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 276k, False: 4.87M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7517|  5.15M|        break;
 7518|       |
 7519|      7|    case Py_NE:
  ------------------
  |  |  655|      7|#define Py_NE 3
  ------------------
  |  Branch (7519:5): [True: 7, False: 5.15M]
  ------------------
 7520|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7521|       |           unless the latter returns NotImplemented. */
 7522|      7|        if (Py_TYPE(self)->tp_richcompare == NULL) {
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7522:13): [True: 0, False: 7]
  ------------------
 7523|      0|            res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7524|      0|            break;
 7525|      0|        }
 7526|      7|        res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  654|      7|#define Py_EQ 2
  ------------------
 7527|      7|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      7|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7527:13): [True: 7, False: 0]
  |  Branch (7527:28): [True: 4, False: 3]
  ------------------
 7528|      4|            int ok = PyObject_IsTrue(res);
 7529|      4|            Py_DECREF(res);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7530|      4|            if (ok < 0)
  ------------------
  |  Branch (7530:17): [True: 0, False: 4]
  ------------------
 7531|      0|                res = NULL;
 7532|      4|            else {
 7533|      4|                if (ok)
  ------------------
  |  Branch (7533:21): [True: 4, False: 0]
  ------------------
 7534|      4|                    res = Py_NewRef(Py_False);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7535|      0|                else
 7536|      0|                    res = Py_NewRef(Py_True);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7537|      4|            }
 7538|      4|        }
 7539|      7|        break;
 7540|       |
 7541|      0|    default:
  ------------------
  |  Branch (7541:5): [True: 0, False: 5.15M]
  ------------------
 7542|      0|        res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7543|      0|        break;
 7544|  5.15M|    }
 7545|       |
 7546|  5.15M|    return res;
 7547|  5.15M|}
typeobject.c:object_getstate:
 8034|  8.52k|{
 8035|  8.52k|    PyObject *getstate, *state;
 8036|       |
 8037|  8.52k|    getstate = PyObject_GetAttr(obj, &_Py_ID(__getstate__));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8038|  8.52k|    if (getstate == NULL) {
  ------------------
  |  Branch (8038:9): [True: 0, False: 8.52k]
  ------------------
 8039|      0|        return NULL;
 8040|      0|    }
 8041|  8.52k|    if (PyCFunction_Check(getstate) &&
  ------------------
  |  |   17|  8.52k|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|  17.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 8.52k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8042|  8.52k|        PyCFunction_GET_SELF(getstate) == obj &&
  ------------------
  |  |   52|  8.52k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8042:9): [True: 8.52k, False: 0]
  ------------------
 8043|  8.52k|        PyCFunction_GET_FUNCTION(getstate) == object___getstate__)
  ------------------
  |  |   43|  8.52k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8043:9): [True: 8.52k, False: 0]
  ------------------
 8044|  8.52k|    {
 8045|       |        /* If __getstate__ is not overridden pass the required argument. */
 8046|  8.52k|        state = object_getstate_default(obj, required);
 8047|  8.52k|    }
 8048|      0|    else {
 8049|      0|        state = _PyObject_CallNoArgs(getstate);
 8050|      0|    }
 8051|  8.52k|    Py_DECREF(getstate);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8052|  8.52k|    return state;
 8053|  8.52k|}
typeobject.c:object_getstate_default:
 7909|  8.52k|{
 7910|  8.52k|    PyObject *state;
 7911|  8.52k|    PyObject *slotnames;
 7912|       |
 7913|  8.52k|    if (required && Py_TYPE(obj)->tp_itemsize) {
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7913:9): [True: 8.52k, False: 0]
  |  Branch (7913:21): [True: 0, False: 8.52k]
  ------------------
 7914|      0|        PyErr_Format(PyExc_TypeError,
 7915|      0|                     "cannot pickle %.200s objects",
 7916|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7917|      0|        return NULL;
 7918|      0|    }
 7919|       |
 7920|  8.52k|    if (_PyObject_IsInstanceDictEmpty(obj)) {
  ------------------
  |  Branch (7920:9): [True: 8.52k, False: 0]
  ------------------
 7921|  8.52k|        state = Py_NewRef(Py_None);
  ------------------
  |  |  550|  8.52k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7922|  8.52k|    }
 7923|      0|    else {
 7924|      0|        state = PyObject_GenericGetDict(obj, NULL);
 7925|      0|        if (state == NULL) {
  ------------------
  |  Branch (7925:13): [True: 0, False: 0]
  ------------------
 7926|      0|            return NULL;
 7927|      0|        }
 7928|      0|    }
 7929|       |
 7930|  8.52k|    slotnames = _PyType_GetSlotNames(Py_TYPE(obj));
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7931|  8.52k|    if (slotnames == NULL) {
  ------------------
  |  Branch (7931:9): [True: 0, False: 8.52k]
  ------------------
 7932|      0|        Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7933|      0|        return NULL;
 7934|      0|    }
 7935|       |
 7936|  8.52k|    assert(slotnames == Py_None || PyList_Check(slotnames));
 7937|  8.52k|    if (required) {
  ------------------
  |  Branch (7937:9): [True: 8.52k, False: 0]
  ------------------
 7938|  8.52k|        Py_ssize_t basicsize = PyBaseObject_Type.tp_basicsize;
 7939|  8.52k|        if (Py_TYPE(obj)->tp_dictoffset &&
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7939:13): [True: 0, False: 8.52k]
  ------------------
 7940|      0|            (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0)
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0)
  ------------------
  |  |  482|      0|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7940:13): [True: 0, False: 0]
  ------------------
 7941|      0|        {
 7942|      0|            basicsize += sizeof(PyObject *);
 7943|      0|        }
 7944|  8.52k|        if (Py_TYPE(obj)->tp_weaklistoffset > 0) {
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7944:13): [True: 0, False: 8.52k]
  ------------------
 7945|      0|            basicsize += sizeof(PyObject *);
 7946|      0|        }
 7947|  8.52k|        if (slotnames != Py_None) {
  ------------------
  |  |  616|  8.52k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (7947:13): [True: 8.52k, False: 0]
  ------------------
 7948|  8.52k|            basicsize += sizeof(PyObject *) * PyList_GET_SIZE(slotnames);
  ------------------
  |  |   38|  8.52k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7949|  8.52k|        }
 7950|  8.52k|        if (Py_TYPE(obj)->tp_basicsize > basicsize) {
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7950:13): [True: 0, False: 8.52k]
  ------------------
 7951|      0|            Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7952|      0|            Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7953|      0|            PyErr_Format(PyExc_TypeError,
 7954|      0|                         "cannot pickle '%.200s' object",
 7955|      0|                         Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7956|      0|            return NULL;
 7957|      0|        }
 7958|  8.52k|    }
 7959|       |
 7960|  8.52k|    if (slotnames != Py_None && PyList_GET_SIZE(slotnames) > 0) {
  ------------------
  |  |  616|  17.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (slotnames != Py_None && PyList_GET_SIZE(slotnames) > 0) {
  ------------------
  |  |   38|  8.52k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7960:9): [True: 8.52k, False: 0]
  |  Branch (7960:33): [True: 8.52k, False: 0]
  ------------------
 7961|  8.52k|        PyObject *slots;
 7962|  8.52k|        Py_ssize_t slotnames_size, i;
 7963|       |
 7964|  8.52k|        slots = PyDict_New();
 7965|  8.52k|        if (slots == NULL) {
  ------------------
  |  Branch (7965:13): [True: 0, False: 8.52k]
  ------------------
 7966|      0|            Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7967|      0|            Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7968|      0|            return NULL;
 7969|      0|        }
 7970|       |
 7971|  8.52k|        slotnames_size = PyList_GET_SIZE(slotnames);
  ------------------
  |  |   38|  8.52k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7972|   170k|        for (i = 0; i < slotnames_size; i++) {
  ------------------
  |  Branch (7972:21): [True: 161k, False: 8.52k]
  ------------------
 7973|   161k|            PyObject *name, *value;
 7974|       |
 7975|   161k|            name = Py_NewRef(PyList_GET_ITEM(slotnames, i));
  ------------------
  |  |  550|   161k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7976|   161k|            if (PyObject_GetOptionalAttr(obj, name, &value) < 0) {
  ------------------
  |  Branch (7976:17): [True: 0, False: 161k]
  ------------------
 7977|      0|                Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7978|      0|                goto error;
 7979|      0|            }
 7980|   161k|            if (value == NULL) {
  ------------------
  |  Branch (7980:17): [True: 17.0k, False: 144k]
  ------------------
 7981|  17.0k|                Py_DECREF(name);
  ------------------
  |  |  430|  17.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7982|       |                /* It is not an error if the attribute is not present. */
 7983|  17.0k|            }
 7984|   144k|            else {
 7985|   144k|                int err = PyDict_SetItem(slots, name, value);
 7986|   144k|                Py_DECREF(name);
  ------------------
  |  |  430|   144k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7987|   144k|                Py_DECREF(value);
  ------------------
  |  |  430|   144k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7988|   144k|                if (err) {
  ------------------
  |  Branch (7988:21): [True: 0, False: 144k]
  ------------------
 7989|      0|                    goto error;
 7990|      0|                }
 7991|   144k|            }
 7992|       |
 7993|       |            /* The list is stored on the class so it may mutate while we
 7994|       |               iterate over it */
 7995|   161k|            if (slotnames_size != PyList_GET_SIZE(slotnames)) {
  ------------------
  |  |   38|   161k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7995:17): [True: 0, False: 161k]
  ------------------
 7996|      0|                PyErr_Format(PyExc_RuntimeError,
 7997|      0|                             "__slotnames__ changed size during iteration");
 7998|      0|                goto error;
 7999|      0|            }
 8000|       |
 8001|       |            /* We handle errors within the loop here. */
 8002|   161k|            if (0) {
  ------------------
  |  Branch (8002:17): [Folded, False: 161k]
  ------------------
 8003|      0|              error:
 8004|      0|                Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8005|      0|                Py_DECREF(slots);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8006|      0|                Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8007|      0|                return NULL;
 8008|      0|            }
 8009|   161k|        }
 8010|       |
 8011|       |        /* If we found some slot attributes, pack them in a tuple along
 8012|       |           the original attribute dictionary. */
 8013|  8.52k|        if (PyDict_GET_SIZE(slots) > 0) {
  ------------------
  |  |   63|  8.52k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8013:13): [True: 8.52k, False: 0]
  ------------------
 8014|  8.52k|            PyObject *state2;
 8015|       |
 8016|  8.52k|            state2 = _PyTuple_FromPair(state, slots);
 8017|  8.52k|            Py_DECREF(state);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8018|  8.52k|            if (state2 == NULL) {
  ------------------
  |  Branch (8018:17): [True: 0, False: 8.52k]
  ------------------
 8019|      0|                Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8020|      0|                Py_DECREF(slots);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8021|      0|                return NULL;
 8022|      0|            }
 8023|  8.52k|            state = state2;
 8024|  8.52k|        }
 8025|  8.52k|        Py_DECREF(slots);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8026|  8.52k|    }
 8027|  8.52k|    Py_DECREF(slotnames);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8028|       |
 8029|  8.52k|    return state;
 8030|  8.52k|}
typeobject.c:_PyType_GetSlotNames:
 7860|  8.52k|{
 7861|  8.52k|    PyObject *copyreg;
 7862|  8.52k|    PyObject *slotnames;
 7863|       |
 7864|  8.52k|    assert(PyType_Check(cls));
 7865|       |
 7866|       |    /* Get the slot names from the cache in the class if possible. */
 7867|  8.52k|    PyObject *dict = lookup_tp_dict(cls);
 7868|  8.52k|    if (PyDict_GetItemRef(dict, &_Py_ID(__slotnames__), &slotnames) < 0) {
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7868:9): [True: 0, False: 8.52k]
  ------------------
 7869|      0|        return NULL;
 7870|      0|    }
 7871|  8.52k|    if (slotnames != NULL) {
  ------------------
  |  Branch (7871:9): [True: 8.52k, False: 1]
  ------------------
 7872|  8.52k|        if (slotnames != Py_None && !PyList_Check(slotnames)) {
  ------------------
  |  |  616|  17.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (slotnames != Py_None && !PyList_Check(slotnames)) {
  ------------------
  |  |   25|  8.52k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7872:13): [True: 8.52k, False: 0]
  |  Branch (7872:37): [True: 0, False: 8.52k]
  ------------------
 7873|      0|            PyErr_Format(PyExc_TypeError,
 7874|      0|                         "%.200s.__slotnames__ should be a list or None, "
 7875|      0|                         "not %.200s",
 7876|      0|                         cls->tp_name, Py_TYPE(slotnames)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7877|      0|            Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7878|      0|            return NULL;
 7879|      0|        }
 7880|  8.52k|        return slotnames;
 7881|  8.52k|    }
 7882|       |
 7883|       |    /* The class does not have the slot names cached yet. */
 7884|      1|    copyreg = import_copyreg();
 7885|      1|    if (copyreg == NULL)
  ------------------
  |  Branch (7885:9): [True: 0, False: 1]
  ------------------
 7886|      0|        return NULL;
 7887|       |
 7888|       |    /* Use _slotnames function from the copyreg module to find the slots
 7889|       |       by this class and its bases. This function will cache the result
 7890|       |       in __slotnames__. */
 7891|      1|    slotnames = PyObject_CallMethodOneArg(
 7892|      1|            copyreg, &_Py_ID(_slotnames), (PyObject *)cls);
  ------------------
  |  |  919|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7893|      1|    Py_DECREF(copyreg);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7894|      1|    if (slotnames == NULL)
  ------------------
  |  Branch (7894:9): [True: 0, False: 1]
  ------------------
 7895|      0|        return NULL;
 7896|       |
 7897|      1|    if (slotnames != Py_None && !PyList_Check(slotnames)) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (slotnames != Py_None && !PyList_Check(slotnames)) {
  ------------------
  |  |   25|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7897:9): [True: 1, False: 0]
  |  Branch (7897:33): [True: 0, False: 1]
  ------------------
 7898|      0|        PyErr_SetString(PyExc_TypeError,
 7899|      0|                        "copyreg._slotnames didn't return a list or None");
 7900|      0|        Py_DECREF(slotnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7901|      0|        return NULL;
 7902|      0|    }
 7903|       |
 7904|      1|    return slotnames;
 7905|      1|}
typeobject.c:import_copyreg:
 7842|  8.52k|{
 7843|       |    /* Try to fetch cached copy of copyreg from sys.modules first in an
 7844|       |       attempt to avoid the import overhead. Previously this was implemented
 7845|       |       by storing a reference to the cached module in a static variable, but
 7846|       |       this broke when multiple embedded interpreters were in use (see issue
 7847|       |       #17408 and #19088). */
 7848|  8.52k|    PyObject *copyreg_module = PyImport_GetModule(&_Py_ID(copyreg));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7849|  8.52k|    if (copyreg_module != NULL) {
  ------------------
  |  Branch (7849:9): [True: 8.52k, False: 0]
  ------------------
 7850|  8.52k|        return copyreg_module;
 7851|  8.52k|    }
 7852|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (7852:9): [True: 0, False: 0]
  ------------------
 7853|      0|        return NULL;
 7854|      0|    }
 7855|      0|    return PyImport_Import(&_Py_ID(copyreg));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7856|      0|}
typeobject.c:object_dealloc:
 7462|  15.1M|{
 7463|  15.1M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  15.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7464|  15.1M|}
typeobject.c:object_str:
 7496|  62.1k|{
 7497|  62.1k|    unaryfunc f;
 7498|       |
 7499|  62.1k|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|  62.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7500|  62.1k|    if (f == NULL)
  ------------------
  |  Branch (7500:9): [True: 0, False: 62.1k]
  ------------------
 7501|      0|        f = object_repr;
 7502|  62.1k|    return f(self);
 7503|  62.1k|}
typeobject.c:object___reduce_ex___impl:
 8361|  8.52k|{
 8362|  8.52k|    PyObject *reduce;
 8363|  8.52k|    if (PyObject_GetOptionalAttr(self, &_Py_ID(__reduce__), &reduce) < 0) {
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8363:9): [True: 0, False: 8.52k]
  ------------------
 8364|      0|        return NULL;
 8365|      0|    }
 8366|  8.52k|    if (reduce != NULL) {
  ------------------
  |  Branch (8366:9): [True: 8.52k, False: 0]
  ------------------
 8367|  8.52k|        PyObject *cls, *clsreduce;
 8368|  8.52k|        int override;
 8369|       |
 8370|  8.52k|        cls = (PyObject *) Py_TYPE(self);
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8371|  8.52k|        clsreduce = PyObject_GetAttr(cls, &_Py_ID(__reduce__));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8372|  8.52k|        if (clsreduce == NULL) {
  ------------------
  |  Branch (8372:13): [True: 0, False: 8.52k]
  ------------------
 8373|      0|            Py_DECREF(reduce);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8374|      0|            return NULL;
 8375|      0|        }
 8376|       |
 8377|  8.52k|        PyInterpreterState *interp = _PyInterpreterState_GET();
 8378|  8.52k|        override = (clsreduce != _Py_INTERP_CACHED_OBJECT(interp, objreduce));
  ------------------
  |  |   22|  8.52k|    (interp)->cached_objects.NAME
  ------------------
 8379|  8.52k|        Py_DECREF(clsreduce);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8380|  8.52k|        if (override) {
  ------------------
  |  Branch (8380:13): [True: 0, False: 8.52k]
  ------------------
 8381|      0|            PyObject *res = _PyObject_CallNoArgs(reduce);
 8382|      0|            Py_DECREF(reduce);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8383|      0|            return res;
 8384|      0|        }
 8385|  8.52k|        else
 8386|  8.52k|            Py_DECREF(reduce);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8387|  8.52k|    }
 8388|       |
 8389|  8.52k|    return _common_reduce(self, protocol);
 8390|  8.52k|}
typeobject.c:_common_reduce:
 8320|  8.52k|{
 8321|  8.52k|    PyObject *copyreg, *res;
 8322|       |
 8323|  8.52k|    if (proto >= 2)
  ------------------
  |  Branch (8323:9): [True: 8.52k, False: 0]
  ------------------
 8324|  8.52k|        return reduce_newobj(self);
 8325|       |
 8326|      0|    copyreg = import_copyreg();
 8327|      0|    if (!copyreg)
  ------------------
  |  Branch (8327:9): [True: 0, False: 0]
  ------------------
 8328|      0|        return NULL;
 8329|       |
 8330|      0|    res = PyObject_CallMethod(copyreg, "_reduce_ex", "Oi", self, proto);
 8331|      0|    Py_DECREF(copyreg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8332|       |
 8333|      0|    return res;
 8334|      0|}
typeobject.c:reduce_newobj:
 8208|  8.52k|{
 8209|  8.52k|    PyObject *args = NULL, *kwargs = NULL;
 8210|  8.52k|    PyObject *copyreg;
 8211|  8.52k|    PyObject *newobj, *newargs, *state, *listitems, *dictitems;
 8212|  8.52k|    PyObject *result;
 8213|  8.52k|    int hasargs;
 8214|       |
 8215|  8.52k|    if (Py_TYPE(obj)->tp_new == NULL) {
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8215:9): [True: 0, False: 8.52k]
  ------------------
 8216|      0|        PyErr_Format(PyExc_TypeError,
 8217|      0|                     "cannot pickle '%.200s' object",
 8218|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8219|      0|        return NULL;
 8220|      0|    }
 8221|  8.52k|    if (_PyObject_GetNewArguments(obj, &args, &kwargs) < 0)
  ------------------
  |  Branch (8221:9): [True: 0, False: 8.52k]
  ------------------
 8222|      0|        return NULL;
 8223|       |
 8224|  8.52k|    copyreg = import_copyreg();
 8225|  8.52k|    if (copyreg == NULL) {
  ------------------
  |  Branch (8225:9): [True: 0, False: 8.52k]
  ------------------
 8226|      0|        Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8227|      0|        Py_XDECREF(kwargs);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8228|      0|        return NULL;
 8229|      0|    }
 8230|  8.52k|    hasargs = (args != NULL);
 8231|  8.52k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8231:9): [True: 8.52k, False: 0]
  |  Branch (8231:27): [True: 0, False: 0]
  ------------------
 8232|  8.52k|        PyObject *cls;
 8233|  8.52k|        Py_ssize_t i, n;
 8234|       |
 8235|  8.52k|        Py_XDECREF(kwargs);
  ------------------
  |  |  524|  8.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8236|  8.52k|        newobj = PyObject_GetAttr(copyreg, &_Py_ID(__newobj__));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8237|  8.52k|        Py_DECREF(copyreg);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8238|  8.52k|        if (newobj == NULL) {
  ------------------
  |  Branch (8238:13): [True: 0, False: 8.52k]
  ------------------
 8239|      0|            Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8240|      0|            return NULL;
 8241|      0|        }
 8242|  8.52k|        n = args ? PyTuple_GET_SIZE(args) : 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8242:13): [True: 0, False: 8.52k]
  ------------------
 8243|  8.52k|        newargs = PyTuple_New(n+1);
 8244|  8.52k|        if (newargs == NULL) {
  ------------------
  |  Branch (8244:13): [True: 0, False: 8.52k]
  ------------------
 8245|      0|            Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8246|      0|            Py_DECREF(newobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8247|      0|            return NULL;
 8248|      0|        }
 8249|  8.52k|        cls = (PyObject *) Py_TYPE(obj);
  ------------------
  |  |  213|  8.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8250|  8.52k|        PyTuple_SET_ITEM(newargs, 0, Py_NewRef(cls));
  ------------------
  |  |   40|  8.52k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8251|  8.52k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (8251:21): [True: 0, False: 8.52k]
  ------------------
 8252|      0|            PyObject *v = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8253|      0|            PyTuple_SET_ITEM(newargs, i+1, Py_NewRef(v));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8254|      0|        }
 8255|  8.52k|        Py_XDECREF(args);
  ------------------
  |  |  524|  8.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8256|  8.52k|    }
 8257|      0|    else if (args != NULL) {
  ------------------
  |  Branch (8257:14): [True: 0, False: 0]
  ------------------
 8258|      0|        newobj = PyObject_GetAttr(copyreg, &_Py_ID(__newobj_ex__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8259|      0|        Py_DECREF(copyreg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8260|      0|        if (newobj == NULL) {
  ------------------
  |  Branch (8260:13): [True: 0, False: 0]
  ------------------
 8261|      0|            Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8262|      0|            Py_DECREF(kwargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8263|      0|            return NULL;
 8264|      0|        }
 8265|      0|        newargs = PyTuple_Pack(3, Py_TYPE(obj), args, kwargs);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8266|      0|        Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8267|      0|        Py_DECREF(kwargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8268|      0|        if (newargs == NULL) {
  ------------------
  |  Branch (8268:13): [True: 0, False: 0]
  ------------------
 8269|      0|            Py_DECREF(newobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8270|      0|            return NULL;
 8271|      0|        }
 8272|      0|    }
 8273|      0|    else {
 8274|       |        /* args == NULL */
 8275|      0|        Py_DECREF(copyreg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8276|      0|        Py_DECREF(kwargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8277|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8278|      0|        return NULL;
 8279|      0|    }
 8280|       |
 8281|  8.52k|    state = object_getstate(obj, !(hasargs || PyList_Check(obj) || PyDict_Check(obj)));
  ------------------
  |  |   25|  8.52k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 8.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  state = object_getstate(obj, !(hasargs || PyList_Check(obj) || PyDict_Check(obj)));
  ------------------
  |  |   18|  8.52k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 8.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8281:36): [True: 0, False: 8.52k]
  ------------------
 8282|  8.52k|    if (state == NULL) {
  ------------------
  |  Branch (8282:9): [True: 0, False: 8.52k]
  ------------------
 8283|      0|        Py_DECREF(newobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8284|      0|        Py_DECREF(newargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8285|      0|        return NULL;
 8286|      0|    }
 8287|  8.52k|    if (_PyObject_GetItemsIter(obj, &listitems, &dictitems) < 0) {
  ------------------
  |  Branch (8287:9): [True: 0, False: 8.52k]
  ------------------
 8288|      0|        Py_DECREF(newobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8289|      0|        Py_DECREF(newargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8290|      0|        Py_DECREF(state);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8291|      0|        return NULL;
 8292|      0|    }
 8293|       |
 8294|  8.52k|    result = PyTuple_Pack(5, newobj, newargs, state, listitems, dictitems);
 8295|  8.52k|    Py_DECREF(newobj);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8296|  8.52k|    Py_DECREF(newargs);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8297|  8.52k|    Py_DECREF(state);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8298|  8.52k|    Py_DECREF(listitems);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8299|  8.52k|    Py_DECREF(dictitems);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8300|  8.52k|    return result;
 8301|  8.52k|}
typeobject.c:_PyObject_GetNewArguments:
 8076|  8.52k|{
 8077|  8.52k|    PyObject *getnewargs, *getnewargs_ex;
 8078|       |
 8079|  8.52k|    if (args == NULL || kwargs == NULL) {
  ------------------
  |  Branch (8079:9): [True: 0, False: 8.52k]
  |  Branch (8079:25): [True: 0, False: 8.52k]
  ------------------
 8080|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8081|      0|        return -1;
 8082|      0|    }
 8083|       |
 8084|       |    /* We first attempt to fetch the arguments for __new__ by calling
 8085|       |       __getnewargs_ex__ on the object. */
 8086|  8.52k|    getnewargs_ex = _PyObject_LookupSpecial(obj, &_Py_ID(__getnewargs_ex__));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8087|  8.52k|    if (getnewargs_ex != NULL) {
  ------------------
  |  Branch (8087:9): [True: 0, False: 8.52k]
  ------------------
 8088|      0|        PyObject *newargs = _PyObject_CallNoArgs(getnewargs_ex);
 8089|      0|        Py_DECREF(getnewargs_ex);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8090|      0|        if (newargs == NULL) {
  ------------------
  |  Branch (8090:13): [True: 0, False: 0]
  ------------------
 8091|      0|            return -1;
 8092|      0|        }
 8093|      0|        if (!PyTuple_Check(newargs)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8093:13): [True: 0, False: 0]
  ------------------
 8094|      0|            PyErr_Format(PyExc_TypeError,
 8095|      0|                         "__getnewargs_ex__ should return a tuple, "
 8096|      0|                         "not '%.200s'", Py_TYPE(newargs)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8097|      0|            Py_DECREF(newargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8098|      0|            return -1;
 8099|      0|        }
 8100|      0|        if (PyTuple_GET_SIZE(newargs) != 2) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8100:13): [True: 0, False: 0]
  ------------------
 8101|      0|            PyErr_Format(PyExc_ValueError,
 8102|      0|                         "__getnewargs_ex__ should return a tuple of "
 8103|      0|                         "length 2, not %zd", PyTuple_GET_SIZE(newargs));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8104|      0|            Py_DECREF(newargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8105|      0|            return -1;
 8106|      0|        }
 8107|      0|        *args = Py_NewRef(PyTuple_GET_ITEM(newargs, 0));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8108|      0|        *kwargs = Py_NewRef(PyTuple_GET_ITEM(newargs, 1));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8109|      0|        Py_DECREF(newargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8110|       |
 8111|       |        /* XXX We should perhaps allow None to be passed here. */
 8112|      0|        if (!PyTuple_Check(*args)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8112:13): [True: 0, False: 0]
  ------------------
 8113|      0|            PyErr_Format(PyExc_TypeError,
 8114|      0|                         "first item of the tuple returned by "
 8115|      0|                         "__getnewargs_ex__ must be a tuple, not '%.200s'",
 8116|      0|                         Py_TYPE(*args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8117|      0|            Py_CLEAR(*args);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8118|      0|            Py_CLEAR(*kwargs);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8119|      0|            return -1;
 8120|      0|        }
 8121|      0|        if (!PyDict_Check(*kwargs)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8121:13): [True: 0, False: 0]
  ------------------
 8122|      0|            PyErr_Format(PyExc_TypeError,
 8123|      0|                         "second item of the tuple returned by "
 8124|      0|                         "__getnewargs_ex__ must be a dict, not '%.200s'",
 8125|      0|                         Py_TYPE(*kwargs)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8126|      0|            Py_CLEAR(*args);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8127|      0|            Py_CLEAR(*kwargs);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8128|      0|            return -1;
 8129|      0|        }
 8130|      0|        return 0;
 8131|  8.52k|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (8131:16): [True: 0, False: 8.52k]
  ------------------
 8132|      0|        return -1;
 8133|      0|    }
 8134|       |
 8135|       |    /* The object does not have __getnewargs_ex__ so we fallback on using
 8136|       |       __getnewargs__ instead. */
 8137|  8.52k|    getnewargs = _PyObject_LookupSpecial(obj, &_Py_ID(__getnewargs__));
  ------------------
  |  |  919|  8.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8138|  8.52k|    if (getnewargs != NULL) {
  ------------------
  |  Branch (8138:9): [True: 0, False: 8.52k]
  ------------------
 8139|      0|        *args = _PyObject_CallNoArgs(getnewargs);
 8140|      0|        Py_DECREF(getnewargs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8141|      0|        if (*args == NULL) {
  ------------------
  |  Branch (8141:13): [True: 0, False: 0]
  ------------------
 8142|      0|            return -1;
 8143|      0|        }
 8144|      0|        if (!PyTuple_Check(*args)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8144:13): [True: 0, False: 0]
  ------------------
 8145|      0|            PyErr_Format(PyExc_TypeError,
 8146|      0|                         "__getnewargs__ should return a tuple, "
 8147|      0|                         "not '%.200s'", Py_TYPE(*args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8148|      0|            Py_CLEAR(*args);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8149|      0|            return -1;
 8150|      0|        }
 8151|      0|        *kwargs = NULL;
 8152|      0|        return 0;
 8153|  8.52k|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (8153:16): [True: 0, False: 8.52k]
  ------------------
 8154|      0|        return -1;
 8155|      0|    }
 8156|       |
 8157|       |    /* The object does not have __getnewargs_ex__ and __getnewargs__. This may
 8158|       |       mean __new__ does not takes any arguments on this object, or that the
 8159|       |       object does not implement the reduce protocol for pickling or
 8160|       |       copying. */
 8161|  8.52k|    *args = NULL;
 8162|       |    *kwargs = NULL;
 8163|  8.52k|    return 0;
 8164|  8.52k|}
typeobject.c:_PyObject_GetItemsIter:
 8169|  8.52k|{
 8170|  8.52k|    if (listitems == NULL || dictitems == NULL) {
  ------------------
  |  Branch (8170:9): [True: 0, False: 8.52k]
  |  Branch (8170:30): [True: 0, False: 8.52k]
  ------------------
 8171|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8172|      0|        return -1;
 8173|      0|    }
 8174|       |
 8175|  8.52k|    if (!PyList_Check(obj)) {
  ------------------
  |  |   25|  8.52k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8175:9): [True: 8.52k, False: 0]
  ------------------
 8176|  8.52k|        *listitems = Py_NewRef(Py_None);
  ------------------
  |  |  550|  8.52k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8177|  8.52k|    }
 8178|      0|    else {
 8179|      0|        *listitems = PyObject_GetIter(obj);
 8180|      0|        if (*listitems == NULL)
  ------------------
  |  Branch (8180:13): [True: 0, False: 0]
  ------------------
 8181|      0|            return -1;
 8182|      0|    }
 8183|       |
 8184|  8.52k|    if (!PyDict_Check(obj)) {
  ------------------
  |  |   18|  8.52k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8184:9): [True: 8.52k, False: 0]
  ------------------
 8185|  8.52k|        *dictitems = Py_NewRef(Py_None);
  ------------------
  |  |  550|  8.52k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8186|  8.52k|    }
 8187|      0|    else {
 8188|      0|        PyObject *items = PyObject_CallMethodNoArgs(obj, &_Py_ID(items));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8189|      0|        if (items == NULL) {
  ------------------
  |  Branch (8189:13): [True: 0, False: 0]
  ------------------
 8190|      0|            Py_CLEAR(*listitems);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8191|      0|            return -1;
 8192|      0|        }
 8193|      0|        *dictitems = PyObject_GetIter(items);
 8194|      0|        Py_DECREF(items);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8195|      0|        if (*dictitems == NULL) {
  ------------------
  |  Branch (8195:13): [True: 0, False: 0]
  ------------------
 8196|      0|            Py_CLEAR(*listitems);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8197|      0|            return -1;
 8198|      0|        }
 8199|      0|    }
 8200|       |
 8201|  8.52k|    assert(*listitems != NULL && *dictitems != NULL);
 8202|       |
 8203|  8.52k|    return 0;
 8204|  8.52k|}
typeobject.c:object_subclasshook:
 8394|    101|{
 8395|    101|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    101|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    101|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8396|    101|}
typeobject.c:object_init_subclass:
 8408|  2.43k|{
 8409|  2.43k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.43k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.43k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8410|  2.43k|}
typeobject.c:object___format___impl:
 8432|     12|{
 8433|       |    /* Issue 7994: If we're converting to a string, we
 8434|       |       should reject format specifications */
 8435|     12|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  299|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8435:9): [True: 0, False: 12]
  ------------------
 8436|      0|        PyErr_Format(PyExc_TypeError,
 8437|      0|                     "unsupported format string passed to %.200s.__format__",
 8438|      0|                     Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8439|      0|        return NULL;
 8440|      0|    }
 8441|     12|    return PyObject_Str(self);
 8442|     12|}
typeobject.c:object___dir___impl:
 8480|      4|{
 8481|      4|    PyObject *result = NULL;
 8482|      4|    PyObject *dict = NULL;
 8483|      4|    PyObject *itsclass = NULL;
 8484|       |
 8485|       |    /* Get __dict__ (which may or may not be a real dict...) */
 8486|      4|    if (PyObject_GetOptionalAttr(self, &_Py_ID(__dict__), &dict) < 0) {
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8486:9): [True: 0, False: 4]
  ------------------
 8487|      0|        return NULL;
 8488|      0|    }
 8489|      4|    if (dict == NULL) {
  ------------------
  |  Branch (8489:9): [True: 0, False: 4]
  ------------------
 8490|      0|        dict = PyDict_New();
 8491|      0|    }
 8492|      4|    else if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8492:14): [True: 0, False: 4]
  ------------------
 8493|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8494|      0|        dict = PyDict_New();
 8495|      0|    }
 8496|      4|    else {
 8497|       |        /* Copy __dict__ to avoid mutating it. */
 8498|      4|        PyObject *temp = PyDict_Copy(dict);
 8499|      4|        Py_SETREF(dict, temp);
  ------------------
  |  |  352|      4|    do { \
  |  |  353|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      4|        *_tmp_dst_ptr = (src); \
  |  |  356|      4|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8500|      4|    }
 8501|       |
 8502|      4|    if (dict == NULL)
  ------------------
  |  Branch (8502:9): [True: 0, False: 4]
  ------------------
 8503|      0|        goto error;
 8504|       |
 8505|       |    /* Merge in attrs reachable from its class. */
 8506|      4|    if (PyObject_GetOptionalAttr(self, &_Py_ID(__class__), &itsclass) < 0) {
  ------------------
  |  |  919|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8506:9): [True: 0, False: 4]
  ------------------
 8507|      0|        goto error;
 8508|      0|    }
 8509|       |    /* XXX(tomer): Perhaps fall back to Py_TYPE(obj) if no
 8510|       |                   __class__ exists? */
 8511|      4|    if (itsclass != NULL && merge_class_dict(dict, itsclass) < 0)
  ------------------
  |  Branch (8511:9): [True: 4, False: 0]
  |  Branch (8511:29): [True: 0, False: 4]
  ------------------
 8512|      0|        goto error;
 8513|       |
 8514|      4|    result = PyDict_Keys(dict);
 8515|       |    /* fall through */
 8516|      4|error:
 8517|      4|    Py_XDECREF(itsclass);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8518|      4|    Py_XDECREF(dict);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8519|      4|    return result;
 8520|      4|}
typeobject.c:object_get_class:
 7557|  2.45M|{
 7558|  2.45M|    return Py_NewRef(Py_TYPE(self));
  ------------------
  |  |  550|  2.45M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7559|  2.45M|}
typeobject.c:object_init:
 7372|  8.47M|{
 7373|  8.47M|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  8.47M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7374|  8.47M|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7374:9): [True: 8.27M, False: 198k]
  ------------------
 7375|  8.27M|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7375:13): [True: 0, False: 8.27M]
  ------------------
 7376|      0|            PyErr_SetString(PyExc_TypeError,
 7377|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7378|      0|            return -1;
 7379|      0|        }
 7380|  8.27M|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7380:13): [True: 0, False: 8.27M]
  ------------------
 7381|      0|            PyErr_Format(PyExc_TypeError,
 7382|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7383|      0|                         type->tp_name);
 7384|      0|            return -1;
 7385|      0|        }
 7386|  8.27M|    }
 7387|  8.47M|    return 0;
 7388|  8.47M|}
typeobject.c:excess_args:
 7365|  9.13M|{
 7366|  9.13M|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  18.2M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 8.53M, False: 600k]
  |  |  ------------------
  ------------------
 7367|   600k|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|   184k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   784k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 184k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|   184k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   184k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   184k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 184k, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7367:10): [True: 184k, False: 415k]
  ------------------
 7368|  9.13M|}
typeobject.c:object_new:
 7392|   658k|{
 7393|   658k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7393:9): [True: 441k, False: 217k]
  ------------------
 7394|   441k|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7394:13): [True: 0, False: 441k]
  ------------------
 7395|      0|            PyErr_SetString(PyExc_TypeError,
 7396|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7397|      0|            return NULL;
 7398|      0|        }
 7399|   441k|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7399:13): [True: 0, False: 441k]
  ------------------
 7400|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7401|      0|                         type->tp_name);
 7402|      0|            return NULL;
 7403|      0|        }
 7404|   441k|    }
 7405|       |
 7406|   658k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|   658k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7406:9): [True: 0, False: 658k]
  ------------------
 7407|      0|        PyObject *abstract_methods;
 7408|      0|        PyObject *sorted_methods;
 7409|      0|        PyObject *joined;
 7410|      0|        PyObject* comma_w_quotes_sep;
 7411|      0|        Py_ssize_t method_count;
 7412|       |
 7413|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7414|       |           into joined. */
 7415|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7416|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7416:13): [True: 0, False: 0]
  ------------------
 7417|      0|            return NULL;
 7418|      0|        sorted_methods = PySequence_List(abstract_methods);
 7419|      0|        Py_DECREF(abstract_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7420|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7420:13): [True: 0, False: 0]
  ------------------
 7421|      0|            return NULL;
 7422|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7422:13): [True: 0, False: 0]
  ------------------
 7423|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7424|      0|            return NULL;
 7425|      0|        }
 7426|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7427|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7427:13): [True: 0, False: 0]
  ------------------
 7428|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7429|      0|            return NULL;
 7430|      0|        }
 7431|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7432|      0|        Py_DECREF(comma_w_quotes_sep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7433|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7433:13): [True: 0, False: 0]
  ------------------
 7434|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7435|      0|            return NULL;
 7436|      0|        }
 7437|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7438|      0|        Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7439|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7439:13): [True: 0, False: 0]
  ------------------
 7440|      0|            Py_DECREF(joined);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7441|      0|            return NULL;
 7442|      0|        }
 7443|       |
 7444|      0|        PyErr_Format(PyExc_TypeError,
 7445|      0|                     "Can't instantiate abstract class %s "
 7446|      0|                     "without an implementation for abstract method%s '%U'",
 7447|      0|                     type->tp_name,
 7448|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7448:22): [True: 0, False: 0]
  ------------------
 7449|      0|                     joined);
 7450|      0|        Py_DECREF(joined);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7451|      0|        return NULL;
 7452|      0|    }
 7453|   658k|    PyObject *obj = type->tp_alloc(type, 0);
 7454|   658k|    if (obj == NULL) {
  ------------------
  |  Branch (7454:9): [True: 0, False: 658k]
  ------------------
 7455|      0|        return NULL;
 7456|      0|    }
 7457|   658k|    return obj;
 7458|   658k|}
typeobject.c:type_add_method:
 8587|  2.28k|{
 8588|  2.28k|    PyObject *descr;
 8589|  2.28k|    int isdescr = 1;
 8590|  2.28k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  2.28k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8590:9): [True: 142, False: 2.13k]
  ------------------
 8591|    142|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    142|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8591:13): [True: 0, False: 142]
  ------------------
 8592|      0|            PyErr_SetString(PyExc_ValueError,
 8593|      0|                    "method cannot be both class and static");
 8594|      0|            return -1;
 8595|      0|        }
 8596|    142|        descr = PyDescr_NewClassMethod(type, meth);
 8597|    142|    }
 8598|  2.13k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  2.13k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8598:14): [True: 6, False: 2.13k]
  ------------------
 8599|      6|        PyObject *mod = type_module(type);
 8600|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8600:13): [True: 0, False: 6]
  ------------------
 8601|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8601:17): [True: 0, False: 0]
  ------------------
 8602|      0|                return -1;
 8603|      0|            }
 8604|      0|            PyErr_Clear();
 8605|      0|        }
 8606|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8607|      6|        Py_XDECREF(mod);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8608|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8608:13): [True: 0, False: 6]
  ------------------
 8609|      0|            return -1;
 8610|      0|        }
 8611|      6|        descr = PyStaticMethod_New(cfunc);
 8612|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8613|      6|        Py_DECREF(cfunc);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8614|      6|    }
 8615|  2.13k|    else {
 8616|  2.13k|        descr = PyDescr_NewMethod(type, meth);
 8617|  2.13k|    }
 8618|  2.28k|    if (descr == NULL) {
  ------------------
  |  Branch (8618:9): [True: 0, False: 2.28k]
  ------------------
 8619|      0|        return -1;
 8620|      0|    }
 8621|       |
 8622|  2.28k|    PyObject *name;
 8623|  2.28k|    if (isdescr) {
  ------------------
  |  Branch (8623:9): [True: 2.27k, False: 6]
  ------------------
 8624|  2.27k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  2.27k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8625|  2.27k|    }
 8626|      6|    else {
 8627|      6|        name = PyUnicode_FromString(meth->ml_name);
 8628|      6|        if (name == NULL) {
  ------------------
  |  Branch (8628:13): [True: 0, False: 6]
  ------------------
 8629|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8630|      0|            return -1;
 8631|      0|        }
 8632|      6|    }
 8633|       |
 8634|  2.28k|    int err;
 8635|  2.28k|    PyObject *dict = lookup_tp_dict(type);
 8636|  2.28k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  2.28k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8636:9): [True: 2.26k, False: 20]
  ------------------
 8637|  2.26k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8638|  2.26k|    }
 8639|     20|    else {
 8640|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8641|     20|    }
 8642|  2.28k|    if (!isdescr) {
  ------------------
  |  Branch (8642:9): [True: 6, False: 2.27k]
  ------------------
 8643|      6|        Py_DECREF(name);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8644|      6|    }
 8645|  2.28k|    Py_DECREF(descr);
  ------------------
  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8646|  2.28k|    if (err) {
  ------------------
  |  Branch (8646:9): [True: 0, False: 2.28k]
  ------------------
 8647|      0|        return -1;
 8648|      0|    }
 8649|  2.28k|    return 0;
 8650|  2.28k|}
typeobject.c:type_add_flags:
  471|  23.4k|{
  472|  23.4k|    type_set_flags(tp, tp->tp_flags | flag);
  473|  23.4k|}
typeobject.c:type_ready:
 9514|  3.11k|{
 9515|  3.11k|    ASSERT_TYPE_LOCK_HELD();
 9516|       |
 9517|  3.11k|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  423|  3.11k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.11k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.11k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9518|  3.11k|    start_readying(type);
 9519|       |
 9520|  3.11k|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9520:9): [True: 0, False: 3.11k]
  ------------------
 9521|      0|        goto error;
 9522|      0|    }
 9523|       |
 9524|       |#ifdef Py_TRACE_REFS
 9525|       |    /* PyType_Ready is the closest thing we have to a choke point
 9526|       |     * for type objects, so is the best place I can think of to try
 9527|       |     * to get type objects into the doubly-linked list of all objects.
 9528|       |     * Still, not all type objects go through PyType_Ready.
 9529|       |     */
 9530|       |    _Py_AddToAllObjects((PyObject *)type);
 9531|       |#endif
 9532|       |
 9533|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9534|  3.11k|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9534:9): [True: 0, False: 3.11k]
  ------------------
 9535|      0|        goto error;
 9536|      0|    }
 9537|  3.11k|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9537:9): [True: 0, False: 3.11k]
  ------------------
 9538|      0|        goto error;
 9539|      0|    }
 9540|  3.11k|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9540:9): [True: 0, False: 3.11k]
  ------------------
 9541|      0|        goto error;
 9542|      0|    }
 9543|  3.11k|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9543:9): [True: 0, False: 3.11k]
  ------------------
 9544|      0|        goto error;
 9545|      0|    }
 9546|  3.11k|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9546:9): [True: 0, False: 3.11k]
  ------------------
 9547|      0|        goto error;
 9548|      0|    }
 9549|  3.11k|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9549:9): [True: 0, False: 3.11k]
  ------------------
 9550|      0|        goto error;
 9551|      0|    }
 9552|  3.11k|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9552:9): [True: 0, False: 3.11k]
  ------------------
 9553|      0|        goto error;
 9554|      0|    }
 9555|  3.11k|    if (initial) {
  ------------------
  |  Branch (9555:9): [True: 3.11k, False: 0]
  ------------------
 9556|  3.11k|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9556:13): [True: 0, False: 3.11k]
  ------------------
 9557|      0|            goto error;
 9558|      0|        }
 9559|  3.11k|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9559:13): [True: 0, False: 3.11k]
  ------------------
 9560|      0|            goto error;
 9561|      0|        }
 9562|  3.11k|    }
 9563|  3.11k|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9563:9): [True: 0, False: 3.11k]
  ------------------
 9564|      0|        goto error;
 9565|      0|    }
 9566|  3.11k|    if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 3.11k]
  ------------------
 9567|      0|        goto error;
 9568|      0|    }
 9569|  3.11k|    if (initial) {
  ------------------
  |  Branch (9569:9): [True: 3.11k, False: 0]
  ------------------
 9570|  3.11k|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9570:13): [True: 0, False: 3.11k]
  ------------------
 9571|      0|            goto error;
 9572|      0|        }
 9573|  3.11k|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9573:13): [True: 0, False: 3.11k]
  ------------------
 9574|      0|            goto error;
 9575|      0|        }
 9576|  3.11k|    }
 9577|       |
 9578|       |    /* All done -- set the ready flag */
 9579|  3.11k|    if (initial) {
  ------------------
  |  Branch (9579:9): [True: 3.11k, False: 0]
  ------------------
 9580|  3.11k|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|  3.11k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9581|  3.11k|    } else {
 9582|      0|        assert(type->tp_flags & Py_TPFLAGS_READY);
 9583|      0|    }
 9584|       |
 9585|  3.11k|    stop_readying(type);
 9586|       |
 9587|  3.11k|    assert(_PyType_CheckConsistency(type));
 9588|  3.11k|    return 0;
 9589|       |
 9590|      0|error:
 9591|      0|    stop_readying(type);
 9592|      0|    return -1;
 9593|  3.11k|}
typeobject.c:start_readying:
  483|  3.11k|{
  484|  3.11k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (484:9): [True: 414, False: 2.70k]
  ------------------
  485|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  486|    414|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  487|    414|        assert(state != NULL);
  488|    414|        assert(!state->readying);
  489|    414|        state->readying = 1;
  490|    414|        return;
  491|    414|    }
  492|  3.11k|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  493|  2.70k|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|  2.70k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  494|  2.70k|}
typeobject.c:type_ready_pre_checks:
 9009|  3.11k|{
 9010|       |    /* Consistency checks for PEP 590:
 9011|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 9012|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 9013|       |     *   tp_vectorcall_offset > 0
 9014|       |     * To avoid mistakes, we require this before inheriting.
 9015|       |     */
 9016|  3.11k|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  3.11k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (9016:9): [True: 8, False: 3.10k]
  ------------------
 9017|      8|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  423|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      8|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9018|      8|    }
 9019|  3.11k|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|  3.11k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (9019:9): [True: 24, False: 3.09k]
  ------------------
 9020|     24|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  423|     24|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|     24|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|     24|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9021|     24|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  423|     24|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|     24|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|     24|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9022|     24|    }
 9023|       |
 9024|       |    /* Consistency checks for pattern matching
 9025|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 9026|  3.11k|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  423|  3.11k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.11k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.11k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9027|       |
 9028|  3.11k|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9028:9): [True: 0, False: 3.11k]
  ------------------
 9029|      0|        PyErr_Format(PyExc_SystemError,
 9030|      0|                     "Type does not define the tp_name field.");
 9031|      0|        return -1;
 9032|      0|    }
 9033|  3.11k|    return 0;
 9034|  3.11k|}
typeobject.c:type_ready_set_dict:
 9115|  3.11k|{
 9116|  3.11k|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9116:9): [True: 2.46k, False: 656]
  ------------------
 9117|  2.46k|        return 0;
 9118|  2.46k|    }
 9119|       |
 9120|    656|    PyObject *dict = PyDict_New();
 9121|    656|    if (dict == NULL) {
  ------------------
  |  Branch (9121:9): [True: 0, False: 656]
  ------------------
 9122|      0|        return -1;
 9123|      0|    }
 9124|    656|    set_tp_dict(type, dict);
 9125|    656|    return 0;
 9126|    656|}
typeobject.c:type_ready_set_base:
 9039|  3.11k|{
 9040|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9041|  3.11k|    PyTypeObject *base = type->tp_base;
 9042|  3.11k|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9042:9): [True: 242, False: 2.87k]
  |  Branch (9042:25): [True: 240, False: 2]
  ------------------
 9043|    240|        base = &PyBaseObject_Type;
 9044|    240|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    240|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9044:13): [True: 0, False: 240]
  ------------------
 9045|      0|            type->tp_base = (PyTypeObject*)Py_NewRef((PyObject*)base);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9046|      0|        }
 9047|    240|        else {
 9048|    240|            type->tp_base = base;
 9049|    240|        }
 9050|    240|    }
 9051|  3.11k|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
 9052|       |
 9053|       |    /* Now the only way base can still be NULL is if type is
 9054|       |     * &PyBaseObject_Type. */
 9055|       |
 9056|       |    /* Initialize the base class */
 9057|  3.11k|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9057:9): [True: 3.11k, False: 2]
  |  Branch (9057:25): [True: 0, False: 3.11k]
  ------------------
 9058|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (9058:13): [True: 0, False: 0]
  ------------------
 9059|      0|            return -1;
 9060|      0|        }
 9061|      0|    }
 9062|       |
 9063|  3.11k|    return 0;
 9064|  3.11k|}
typeobject.c:type_ready_set_type:
 9068|  3.11k|{
 9069|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 9070|       |       compilable separately on Windows can call PyType_Ready() instead of
 9071|       |       initializing the ob_type field of their type objects. */
 9072|       |    /* The test for base != NULL is really unnecessary, since base is only
 9073|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 9074|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 9075|       |       know that. */
 9076|  3.11k|    PyTypeObject *base = type->tp_base;
 9077|  3.11k|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  6.23k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 2.94k]
  |  |  ------------------
  ------------------
  |  Branch (9077:35): [True: 170, False: 0]
  ------------------
 9078|    170|        Py_SET_TYPE(type, Py_TYPE(base));
  ------------------
  |  |  217|    170|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9079|    170|    }
 9080|       |
 9081|  3.11k|    return 0;
 9082|  3.11k|}
typeobject.c:type_ready_set_bases:
 9086|  3.11k|{
 9087|  3.11k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9087:9): [True: 414, False: 2.70k]
  ------------------
 9088|    414|        if (!initial) {
  ------------------
  |  Branch (9088:13): [True: 0, False: 414]
  ------------------
 9089|      0|            assert(lookup_tp_bases(type) != NULL);
 9090|      0|            return 0;
 9091|      0|        }
 9092|    414|        assert(lookup_tp_bases(type) == NULL);
 9093|    414|    }
 9094|       |
 9095|  3.11k|    PyObject *bases = lookup_tp_bases(type);
 9096|  3.11k|    if (bases == NULL) {
  ------------------
  |  Branch (9096:9): [True: 414, False: 2.70k]
  ------------------
 9097|    414|        PyTypeObject *base = type->tp_base;
 9098|    414|        if (base == NULL) {
  ------------------
  |  Branch (9098:13): [True: 2, False: 412]
  ------------------
 9099|      2|            bases = PyTuple_New(0);
 9100|      2|        }
 9101|    412|        else {
 9102|    412|            bases = PyTuple_Pack(1, base);
 9103|    412|        }
 9104|    414|        if (bases == NULL) {
  ------------------
  |  Branch (9104:13): [True: 0, False: 414]
  ------------------
 9105|      0|            return -1;
 9106|      0|        }
 9107|    414|        set_tp_bases(type, bases, 1);
 9108|    414|    }
 9109|  3.11k|    return 0;
 9110|  3.11k|}
typeobject.c:type_ready_mro:
 9232|  3.11k|{
 9233|  3.11k|    ASSERT_TYPE_LOCK_HELD();
 9234|       |
 9235|  3.11k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9235:9): [True: 414, False: 2.70k]
  ------------------
 9236|    414|        if (!initial) {
  ------------------
  |  Branch (9236:13): [True: 0, False: 414]
  ------------------
 9237|      0|            assert(lookup_tp_mro(type) != NULL);
 9238|      0|            return 0;
 9239|      0|        }
 9240|    414|        assert(lookup_tp_mro(type) == NULL);
 9241|    414|    }
 9242|       |
 9243|       |    /* Calculate method resolution order */
 9244|  3.11k|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9244:9): [True: 0, False: 3.11k]
  ------------------
 9245|      0|        return -1;
 9246|      0|    }
 9247|  3.11k|    PyObject *mro = lookup_tp_mro(type);
 9248|  3.11k|    assert(mro != NULL);
 9249|  3.11k|    assert(PyTuple_Check(mro));
 9250|       |
 9251|       |    /* All bases of statically allocated type should be statically allocated,
 9252|       |       and static builtin types must have static builtin bases. */
 9253|  3.11k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  3.11k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9253:9): [True: 414, False: 2.70k]
  ------------------
 9254|    414|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
 9255|    414|        Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    414|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    414|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    414|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9256|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9256:32): [True: 1.23k, False: 414]
  ------------------
 9257|  1.23k|            PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  1.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9258|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9258:17): [True: 0, False: 1.23k]
  ------------------
 9259|      0|                PyErr_Format(PyExc_TypeError,
 9260|      0|                             "type '%.100s' is not dynamically allocated but "
 9261|      0|                             "its base type '%.100s' is dynamically allocated",
 9262|      0|                             type->tp_name, base->tp_name);
 9263|      0|                return -1;
 9264|      0|            }
 9265|  1.23k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
 9266|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9267|  1.23k|        }
 9268|    414|    }
 9269|  3.11k|    return 0;
 9270|  3.11k|}
typeobject.c:type_ready_set_new:
 9401|  3.11k|{
 9402|  3.11k|    PyTypeObject *base = type->tp_base;
 9403|       |    /* The condition below could use some explanation.
 9404|       |
 9405|       |       It appears that tp_new is not inherited for static types whose base
 9406|       |       class is 'object'; this seems to be a precaution so that old extension
 9407|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9408|       |       invariants that the extension type's own factory function ensures).
 9409|       |
 9410|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9411|       |       static extension types that specify some other built-in type as the
 9412|       |       default also inherit object.__new__. */
 9413|  3.11k|    if (type->tp_new == NULL
  ------------------
  |  Branch (9413:9): [True: 2.74k, False: 376]
  ------------------
 9414|  2.74k|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9414:12): [True: 948, False: 1.79k]
  ------------------
 9415|    948|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    948|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9415:12): [True: 128, False: 820]
  ------------------
 9416|    128|    {
 9417|    128|        if (initial) {
  ------------------
  |  Branch (9417:13): [True: 128, False: 0]
  ------------------
 9418|    128|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    128|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9419|    128|        } else {
 9420|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
 9421|      0|        }
 9422|    128|    }
 9423|       |
 9424|  3.11k|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|  3.11k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9424:9): [True: 2.93k, False: 184]
  ------------------
 9425|  2.93k|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9425:13): [True: 372, False: 2.56k]
  ------------------
 9426|    372|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9426:17): [True: 372, False: 0]
  |  Branch (9426:28): [True: 0, False: 0]
  |  Branch (9426:44): [True: 0, False: 0]
  ------------------
 9427|       |                // If "__new__" key does not exists in the type dictionary,
 9428|       |                // set it to tp_new_wrapper().
 9429|    372|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9429:21): [True: 0, False: 372]
  ------------------
 9430|      0|                    return -1;
 9431|      0|                }
 9432|    372|            }
 9433|    372|        }
 9434|  2.56k|        else {
 9435|  2.56k|            if (initial) {
  ------------------
  |  Branch (9435:17): [True: 2.56k, False: 0]
  ------------------
 9436|       |                // tp_new is NULL: inherit tp_new from base
 9437|  2.56k|                type->tp_new = base->tp_new;
 9438|  2.56k|            }
 9439|  2.56k|        }
 9440|  2.93k|    }
 9441|    184|    else {
 9442|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9443|    184|        if (initial) {
  ------------------
  |  Branch (9443:13): [True: 184, False: 0]
  ------------------
 9444|    184|            type->tp_new = NULL;
 9445|    184|        }
 9446|    184|    }
 9447|  3.11k|    return 0;
 9448|  3.11k|}
typeobject.c:add_tp_new_wrapper:
10486|    372|{
10487|    372|    PyObject *dict = lookup_tp_dict(type);
10488|    372|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  919|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10489|    372|    if (r > 0) {
  ------------------
  |  Branch (10489:9): [True: 0, False: 372]
  ------------------
10490|      0|        return 0;
10491|      0|    }
10492|    372|    if (r < 0) {
  ------------------
  |  Branch (10492:9): [True: 0, False: 372]
  ------------------
10493|      0|        return -1;
10494|      0|    }
10495|       |
10496|    372|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    372|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10497|    372|    if (func == NULL) {
  ------------------
  |  Branch (10497:9): [True: 0, False: 372]
  ------------------
10498|      0|        return -1;
10499|      0|    }
10500|    372|    _PyObject_SetDeferredRefcount(func);
10501|    372|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  919|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10502|    372|    Py_DECREF(func);
  ------------------
  |  |  430|    372|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10503|    372|    return r;
10504|    372|}
typeobject.c:type_ready_fill_dict:
 9168|  3.11k|{
 9169|       |    /* Add type-specific descriptors to tp_dict */
 9170|  3.11k|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9170:9): [True: 0, False: 3.11k]
  ------------------
 9171|      0|        return -1;
 9172|      0|    }
 9173|  3.11k|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9173:9): [True: 0, False: 3.11k]
  ------------------
 9174|      0|        return -1;
 9175|      0|    }
 9176|  3.11k|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9176:9): [True: 0, False: 3.11k]
  ------------------
 9177|      0|        return -1;
 9178|      0|    }
 9179|  3.11k|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9179:9): [True: 0, False: 3.11k]
  ------------------
 9180|      0|        return -1;
 9181|      0|    }
 9182|  3.11k|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9182:9): [True: 0, False: 3.11k]
  ------------------
 9183|      0|        return -1;
 9184|      0|    }
 9185|  3.11k|    return 0;
 9186|  3.11k|}
typeobject.c:add_operators:
12442|  3.11k|{
12443|  3.11k|    PyObject *dict = lookup_tp_dict(type);
12444|  3.11k|    pytype_slotdef *p;
12445|  3.11k|    PyObject *descr;
12446|  3.11k|    void **ptr;
12447|       |
12448|   296k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12448:24): [True: 292k, False: 3.11k]
  ------------------
12449|   292k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12449:13): [True: 18.6k, False: 274k]
  ------------------
12450|  18.6k|            continue;
12451|   274k|        ptr = slotptr(type, p->offset);
12452|   274k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12452:13): [True: 24.6k, False: 249k]
  |  Branch (12452:21): [True: 246k, False: 2.88k]
  ------------------
12453|   271k|            continue;
12454|       |        /* Also ignore when the type slot has been inherited. */
12455|  2.88k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.76k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12455:13): [True: 2.27k, False: 602]
  ------------------
12456|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12456:16): [True: 2.25k, False: 26]
  ------------------
12457|  2.25k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12457:16): [True: 322, False: 1.93k]
  ------------------
12458|    322|        {
12459|    322|            continue;
12460|    322|        }
12461|  2.55k|        int r = PyDict_Contains(dict, p->name_strobj);
12462|  2.55k|        if (r > 0)
  ------------------
  |  Branch (12462:13): [True: 48, False: 2.51k]
  ------------------
12463|     48|            continue;
12464|  2.51k|        if (r < 0) {
  ------------------
  |  Branch (12464:13): [True: 0, False: 2.51k]
  ------------------
12465|      0|            return -1;
12466|      0|        }
12467|  2.51k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12467:13): [True: 20, False: 2.49k]
  ------------------
12468|       |            /* Classes may prevent the inheritance of the tp_hash
12469|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12470|       |               visible as a None value for the __hash__ attribute. */
12471|     20|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12471:17): [True: 0, False: 20]
  ------------------
12472|      0|                return -1;
12473|     20|        }
12474|  2.49k|        else {
12475|  2.49k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12476|  2.49k|            if (descr == NULL)
  ------------------
  |  Branch (12476:17): [True: 0, False: 2.49k]
  ------------------
12477|      0|                return -1;
12478|  2.49k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12478:17): [True: 0, False: 2.49k]
  ------------------
12479|      0|                Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12480|      0|                return -1;
12481|      0|            }
12482|  2.49k|            Py_DECREF(descr);
  ------------------
  |  |  430|  2.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12483|  2.49k|        }
12484|  2.51k|    }
12485|  3.11k|    return 0;
12486|  3.11k|}
typeobject.c:slot_inherited:
12392|  2.25k|{
12393|  2.25k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12394|  2.25k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12394:9): [True: 766, False: 1.48k]
  |  Branch (12394:30): [True: 1.16k, False: 324]
  ------------------
12395|  1.92k|        return 0;
12396|  1.92k|    }
12397|       |
12398|       |    /* Some slots are inherited in pairs. */
12399|    324|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12399:9): [True: 2, False: 322]
  ------------------
12400|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12401|      2|    }
12402|    322|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12402:14): [True: 0, False: 322]
  ------------------
12403|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12404|      0|    }
12405|       |
12406|       |    /* It must be inherited (see type_ready_inherit()). */
12407|    322|    return 1;
12408|    324|}
typeobject.c:type_add_methods:
 8662|  3.11k|{
 8663|  3.11k|    PyMethodDef *meth = type->tp_methods;
 8664|  3.11k|    if (meth == NULL) {
  ------------------
  |  Branch (8664:9): [True: 2.71k, False: 406]
  ------------------
 8665|  2.71k|        return 0;
 8666|  2.71k|    }
 8667|       |
 8668|  2.68k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8668:12): [True: 2.27k, False: 406]
  ------------------
 8669|  2.27k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8669:13): [True: 0, False: 2.27k]
  ------------------
 8670|      0|            return -1;
 8671|      0|        }
 8672|  2.27k|    }
 8673|    406|    return 0;
 8674|    406|}
typeobject.c:type_add_members:
 8679|  3.11k|{
 8680|  3.11k|    PyMemberDef *memb = type->tp_members;
 8681|  3.11k|    if (memb == NULL) {
  ------------------
  |  Branch (8681:9): [True: 428, False: 2.68k]
  ------------------
 8682|    428|        return 0;
 8683|    428|    }
 8684|       |
 8685|  2.68k|    PyObject *dict = lookup_tp_dict(type);
 8686|  4.10k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8686:12): [True: 1.41k, False: 2.68k]
  ------------------
 8687|  1.41k|        PyObject *descr = PyDescr_NewMember(type, memb);
 8688|  1.41k|        if (descr == NULL)
  ------------------
  |  Branch (8688:13): [True: 0, False: 1.41k]
  ------------------
 8689|      0|            return -1;
 8690|       |
 8691|  1.41k|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|  1.41k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8691:13): [True: 0, False: 1.41k]
  ------------------
 8692|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8693|      0|            return -1;
 8694|      0|        }
 8695|  1.41k|        Py_DECREF(descr);
  ------------------
  |  |  430|  1.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8696|  1.41k|    }
 8697|  2.68k|    return 0;
 8698|  2.68k|}
typeobject.c:type_add_getset:
 8703|  3.11k|{
 8704|  3.11k|    PyGetSetDef *gsp = type->tp_getset;
 8705|  3.11k|    if (gsp == NULL) {
  ------------------
  |  Branch (8705:9): [True: 2.94k, False: 176]
  ------------------
 8706|  2.94k|        return 0;
 8707|  2.94k|    }
 8708|       |
 8709|    176|    PyObject *dict = lookup_tp_dict(type);
 8710|    768|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8710:12): [True: 592, False: 176]
  ------------------
 8711|    592|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8712|    592|        if (descr == NULL) {
  ------------------
  |  Branch (8712:13): [True: 0, False: 592]
  ------------------
 8713|      0|            return -1;
 8714|      0|        }
 8715|       |
 8716|    592|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    592|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8716:13): [True: 0, False: 592]
  ------------------
 8717|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8718|      0|            return -1;
 8719|      0|        }
 8720|    592|        Py_DECREF(descr);
  ------------------
  |  |  430|    592|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    592|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8721|    592|    }
 8722|    176|    return 0;
 8723|    176|}
typeobject.c:type_dict_set_doc:
 9133|  3.11k|{
 9134|  3.11k|    PyObject *dict = lookup_tp_dict(type);
 9135|  3.11k|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  919|  3.11k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.11k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.11k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9136|  3.11k|    if (r < 0) {
  ------------------
  |  Branch (9136:9): [True: 0, False: 3.11k]
  ------------------
 9137|      0|        return -1;
 9138|      0|    }
 9139|  3.11k|    if (r > 0) {
  ------------------
  |  Branch (9139:9): [True: 1.64k, False: 1.47k]
  ------------------
 9140|  1.64k|        return 0;
 9141|  1.64k|    }
 9142|       |
 9143|  1.47k|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9143:9): [True: 446, False: 1.03k]
  ------------------
 9144|    446|        const char *doc_str;
 9145|    446|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9146|    446|        PyObject *doc = PyUnicode_FromString(doc_str);
 9147|    446|        if (doc == NULL) {
  ------------------
  |  Branch (9147:13): [True: 0, False: 446]
  ------------------
 9148|      0|            return -1;
 9149|      0|        }
 9150|       |
 9151|    446|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  919|    446|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    446|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    446|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9151:13): [True: 0, False: 446]
  ------------------
 9152|      0|            Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9153|      0|            return -1;
 9154|      0|        }
 9155|    446|        Py_DECREF(doc);
  ------------------
  |  |  430|    446|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9156|    446|    }
 9157|  1.03k|    else {
 9158|  1.03k|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  919|  1.03k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.03k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.03k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|  1.03k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9158:13): [True: 0, False: 1.03k]
  ------------------
 9159|      0|            return -1;
 9160|      0|        }
 9161|  1.03k|    }
 9162|  1.47k|    return 0;
 9163|  1.47k|}
typeobject.c:type_ready_inherit:
 9307|  3.11k|{
 9308|  3.11k|    ASSERT_TYPE_LOCK_HELD();
 9309|       |
 9310|       |    /* Inherit special flags from dominant base */
 9311|  3.11k|    PyTypeObject *base = type->tp_base;
 9312|  3.11k|    if (base != NULL) {
  ------------------
  |  Branch (9312:9): [True: 3.11k, False: 2]
  ------------------
 9313|  3.11k|        inherit_special(type, base);
 9314|  3.11k|    }
 9315|       |
 9316|       |    // Inherit slots
 9317|  3.11k|    PyObject *mro = lookup_tp_mro(type);
 9318|  3.11k|    assert(mro != NULL);
 9319|  3.11k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  3.11k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9320|  10.8k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9320:28): [True: 7.74k, False: 3.11k]
  ------------------
 9321|  7.74k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  7.74k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  7.74k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9322|  7.74k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  7.74k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 7.74k, False: 0]
  |  |  ------------------
  ------------------
 9323|  7.74k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9323:17): [True: 0, False: 7.74k]
  ------------------
 9324|      0|                return -1;
 9325|      0|            }
 9326|  7.74k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9327|  7.74k|        }
 9328|  7.74k|    }
 9329|       |
 9330|  3.11k|    if (base != NULL) {
  ------------------
  |  Branch (9330:9): [True: 3.11k, False: 2]
  ------------------
 9331|  3.11k|        type_ready_inherit_as_structs(type, base);
 9332|  3.11k|    }
 9333|       |
 9334|       |    /* Sanity check for tp_free. */
 9335|  3.11k|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  828|  6.23k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  3.11k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 3.01k, False: 98]
  |  |  ------------------
  ------------------
                  if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|  3.01k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9335:32): [True: 2.74k, False: 278]
  ------------------
 9336|  2.74k|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9336:10): [True: 0, False: 2.74k]
  |  Branch (9336:35): [True: 0, False: 2.74k]
  ------------------
 9337|      0|    {
 9338|       |        /* This base class needs to call tp_free, but doesn't have
 9339|       |         * one, or its tp_free is for non-gc'ed objects.
 9340|       |         */
 9341|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9342|      0|                     "gc and is a base type but has inappropriate "
 9343|      0|                     "tp_free slot",
 9344|      0|                     type->tp_name);
 9345|      0|        return -1;
 9346|      0|    }
 9347|       |
 9348|  3.11k|    return 0;
 9349|  3.11k|}
typeobject.c:inherit_special:
 8728|  3.11k|{
 8729|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8730|  3.11k|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  3.11k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8730:9): [True: 112, False: 3.00k]
  ------------------
 8731|    112|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    112|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8731:9): [True: 16, False: 96]
  ------------------
 8732|     16|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8732:10): [True: 16, False: 0]
  |  Branch (8732:32): [True: 16, False: 0]
  ------------------
 8733|     16|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     16|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8734|     16|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8734:13): [True: 16, False: 0]
  ------------------
 8735|     16|            type->tp_traverse = base->tp_traverse;
 8736|     16|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8736:13): [True: 16, False: 0]
  ------------------
 8737|     16|            type->tp_clear = base->tp_clear;
 8738|     16|    }
 8739|  3.11k|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|  3.11k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  3.11k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  3.11k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8740|       |
 8741|  3.11k|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8741:9): [True: 18, False: 3.09k]
  ------------------
 8742|     18|        type->tp_basicsize = base->tp_basicsize;
 8743|       |
 8744|       |    /* Copy other non-function slots */
 8745|       |
 8746|  3.11k|#define COPYVAL(SLOT) \
 8747|  3.11k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8748|       |
 8749|  3.11k|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8747|  3.11k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8747:9): [True: 2.85k, False: 256]
  |  |  ------------------
  ------------------
 8750|  3.11k|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8747|  3.11k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8747:9): [True: 2.03k, False: 1.08k]
  |  |  ------------------
  ------------------
 8751|  3.11k|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8747|  3.11k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8747:9): [True: 2.13k, False: 982]
  |  |  ------------------
  ------------------
 8752|       |
 8753|  3.11k|#undef COPYVAL
 8754|       |
 8755|       |    /* Setup fast subclass flags */
 8756|  3.11k|    PyObject *mro = lookup_tp_mro(base);
 8757|  3.11k|    unsigned long flags = 0;
 8758|  3.11k|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8758:9): [True: 516, False: 2.59k]
  ------------------
 8759|    516|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    516|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8760|    516|    }
 8761|  2.59k|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8761:14): [True: 22, False: 2.57k]
  ------------------
 8762|     22|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|     22|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8763|     22|    }
 8764|  2.57k|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8764:14): [True: 60, False: 2.51k]
  ------------------
 8765|     60|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|     60|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8766|     60|    }
 8767|  2.51k|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8767:14): [True: 2, False: 2.51k]
  ------------------
 8768|      2|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      2|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8769|      2|    }
 8770|  2.51k|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8770:14): [True: 8, False: 2.50k]
  ------------------
 8771|      8|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      8|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8772|      8|    }
 8773|  2.50k|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8773:14): [True: 144, False: 2.36k]
  ------------------
 8774|    144|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|    144|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8775|    144|    }
 8776|  2.36k|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8776:14): [True: 10, False: 2.35k]
  ------------------
 8777|     10|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|     10|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8778|     10|    }
 8779|  2.35k|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8779:14): [True: 38, False: 2.31k]
  ------------------
 8780|     38|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|     38|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8781|     38|    }
 8782|       |
 8783|       |    /* Setup some inheritable flags */
 8784|  3.11k|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|  3.11k|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8784:9): [True: 262, False: 2.85k]
  ------------------
 8785|    262|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|    262|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8786|    262|    }
 8787|  3.11k|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  3.11k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8787:9): [True: 22, False: 3.09k]
  ------------------
 8788|     22|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|     22|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8789|     22|    }
 8790|  3.11k|    type_add_flags(type, flags);
 8791|  3.11k|}
typeobject.c:inherit_slots:
 8808|  7.74k|{
 8809|  7.74k|    PyTypeObject *basebase;
 8810|       |
 8811|  7.74k|#undef SLOTDEFINED
 8812|  7.74k|#undef COPYSLOT
 8813|  7.74k|#undef COPYNUM
 8814|  7.74k|#undef COPYSEQ
 8815|  7.74k|#undef COPYMAP
 8816|  7.74k|#undef COPYBUF
 8817|       |
 8818|  7.74k|#define SLOTDEFINED(SLOT) \
 8819|  7.74k|    (base->SLOT != 0 && \
 8820|  7.74k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8821|       |
 8822|  7.74k|#define COPYSLOT(SLOT) \
 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8824|       |
 8825|  7.74k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8826|  7.74k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8827|  7.74k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8828|  7.74k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8829|  7.74k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8830|       |
 8831|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8832|       |       if type doesn't provide the space. */
 8833|       |
 8834|  7.74k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8834:9): [True: 6.98k, False: 756]
  |  Branch (8834:39): [True: 3.12k, False: 3.86k]
  ------------------
 8835|  3.12k|        basebase = base->tp_base;
 8836|  3.12k|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8836:13): [True: 1.79k, False: 1.33k]
  ------------------
 8837|  1.79k|            basebase = NULL;
 8838|  3.12k|        COPYNUM(nb_add);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.96k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 146, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.96k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 66, False: 80]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 18, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.96k, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8839|  3.12k|        COPYNUM(nb_subtract);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.88k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 156, False: 2.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.88k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 94]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 32, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.88k, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8840|  3.12k|        COPYNUM(nb_multiply);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.98k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 132, False: 2.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.98k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 70]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 10, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.98k, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8841|  3.12k|        COPYNUM(nb_remainder);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.97k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 138, False: 2.83k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.97k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 72, False: 66]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 6, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.97k, False: 150]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8842|  3.12k|        COPYNUM(nb_divmod);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 122, False: 2.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 60]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 6, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8843|  3.12k|        COPYNUM(nb_power);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 128, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8844|  3.12k|        COPYNUM(nb_negative);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 130, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8845|  3.12k|        COPYNUM(nb_positive);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 130, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8846|  3.12k|        COPYNUM(nb_absolute);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 130, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 60]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8847|  3.12k|        COPYNUM(nb_bool);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.91k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 212, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.91k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 150]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 80, False: 70]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.91k, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8848|  3.12k|        COPYNUM(nb_invert);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 96, False: 2.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 46, False: 50]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 12, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8849|  3.12k|        COPYNUM(nb_lshift);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.00k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 110, False: 2.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.00k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 50]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.00k, False: 122]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8850|  3.12k|        COPYNUM(nb_rshift);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.00k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 110, False: 2.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.00k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 50]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.00k, False: 122]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8851|  3.12k|        COPYNUM(nb_and);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.89k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 114, False: 2.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.89k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 46, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 28, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.89k, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8852|  3.12k|        COPYNUM(nb_xor);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.89k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 114, False: 2.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.89k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 46, False: 68]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 28, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.89k, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8853|  3.12k|        COPYNUM(nb_or);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.77k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 278, False: 2.49k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.77k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 102, False: 176]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 118, False: 58]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.77k, False: 354]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|  3.12k|        COPYNUM(nb_int);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.98k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 118, False: 2.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.98k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 58]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.98k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|  3.12k|        COPYNUM(nb_float);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 120, False: 2.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 60]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 6, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8856|  3.12k|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.09k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 8, False: 3.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.09k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 8]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 6, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.09k, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8857|  3.12k|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.11k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.11k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8858|  3.12k|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.11k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.11k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8859|  3.12k|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8860|  3.12k|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8861|  3.12k|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|  3.12k|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|  3.12k|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.11k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.11k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|  3.12k|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.11k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.11k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|  3.12k|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.09k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 42, False: 3.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.09k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 36, False: 6]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 4, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.09k, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|  3.12k|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 152, False: 2.84k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 74, False: 78]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 8, False: 70]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|  3.12k|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 122, False: 2.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 62, False: 60]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 6, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|  3.12k|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|  3.12k|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8870|  3.12k|        COPYNUM(nb_index);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.00k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 110, False: 2.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.00k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 60, False: 50]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.00k, False: 122]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8871|  3.12k|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8872|  3.12k|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8826|  3.12k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.12k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8873|  3.12k|    }
 8874|       |
 8875|  7.74k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8875:9): [True: 6.93k, False: 808]
  |  Branch (8875:38): [True: 2.99k, False: 3.94k]
  ------------------
 8876|  2.99k|        basebase = base->tp_base;
 8877|  2.99k|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8877:13): [True: 1.72k, False: 1.27k]
  ------------------
 8878|  1.72k|            basebase = NULL;
 8879|  2.99k|        COPYASYNC(am_await);
  ------------------
  |  | 8825|  2.99k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  2.99k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.98k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 6, False: 2.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.98k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 6, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.98k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|  2.99k|        COPYASYNC(am_aiter);
  ------------------
  |  | 8825|  2.99k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  2.99k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 6, False: 2.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8881|  2.99k|        COPYASYNC(am_anext);
  ------------------
  |  | 8825|  2.99k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  2.99k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.98k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 2.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.98k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.98k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8882|  2.99k|    }
 8883|       |
 8884|  7.74k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8884:9): [True: 6.96k, False: 778]
  |  Branch (8884:41): [True: 3.17k, False: 3.79k]
  ------------------
 8885|  3.17k|        basebase = base->tp_base;
 8886|  3.17k|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8886:13): [True: 1.86k, False: 1.31k]
  ------------------
 8887|  1.86k|            basebase = NULL;
 8888|  3.17k|        COPYSEQ(sq_length);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.89k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 414, False: 2.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.89k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 208, False: 206]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 28, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.89k, False: 282]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8889|  3.17k|        COPYSEQ(sq_concat);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 202, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 148, False: 54]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8890|  3.17k|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 202, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 148, False: 54]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.12k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8891|  3.17k|        COPYSEQ(sq_item);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.85k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 258, False: 2.60k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.85k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 116, False: 142]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 104, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.85k, False: 316]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8892|  3.17k|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.07k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 42, False: 3.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.07k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 16, False: 26]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 20, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.07k, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8893|  3.17k|        COPYSEQ(sq_contains);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.82k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 380, False: 2.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.82k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 206, False: 174]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 68, False: 106]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.82k, False: 350]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8894|  3.17k|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.17k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 10, False: 3.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.17k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 10, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.17k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|  3.17k|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8827|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.17k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 10, False: 3.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.17k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 10, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.17k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|  3.17k|    }
 8897|       |
 8898|  7.74k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8898:9): [True: 6.97k, False: 774]
  |  Branch (8898:40): [True: 3.17k, False: 3.79k]
  ------------------
 8899|  3.17k|        basebase = base->tp_base;
 8900|  3.17k|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8900:13): [True: 1.86k, False: 1.31k]
  ------------------
 8901|  1.86k|            basebase = NULL;
 8902|  3.17k|        COPYMAP(mp_length);
  ------------------
  |  | 8828|  3.17k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.89k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 454, False: 2.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.89k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 246, False: 208]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 28, False: 180]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.89k, False: 282]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8903|  3.17k|        COPYMAP(mp_subscript);
  ------------------
  |  | 8828|  3.17k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.90k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 340, False: 2.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.90k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 196, False: 144]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 64, False: 80]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.90k, False: 276]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|  3.17k|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8828|  3.17k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  3.07k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 80, False: 2.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  3.07k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 52, False: 28]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 20, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 3.07k, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|  3.17k|    }
 8906|       |
 8907|  7.74k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8907:9): [True: 6.93k, False: 810]
  |  Branch (8907:39): [True: 2.99k, False: 3.94k]
  ------------------
 8908|  2.99k|        basebase = base->tp_base;
 8909|  2.99k|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8909:13): [True: 1.72k, False: 1.27k]
  ------------------
 8910|  1.72k|            basebase = NULL;
 8911|  2.99k|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8829|  2.99k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  2.99k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 2, False: 2.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8912|  2.99k|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8829|  2.99k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8823|  2.99k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8819|  2.99k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8819:6): [True: 0, False: 2.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8820|  2.99k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8823:9): [True: 2.99k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8913|  2.99k|    }
 8914|       |
 8915|  7.74k|    basebase = base->tp_base;
 8916|       |
 8917|  7.74k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8820:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 34, False: 7.71k]
  |  |  ------------------
  ------------------
 8918|  7.74k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8918:9): [True: 7.74k, False: 0]
  |  Branch (8918:37): [True: 2.83k, False: 4.90k]
  ------------------
 8919|  2.83k|        type->tp_getattr = base->tp_getattr;
 8920|  2.83k|        type->tp_getattro = base->tp_getattro;
 8921|  2.83k|    }
 8922|  7.74k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8922:9): [True: 7.74k, False: 0]
  |  Branch (8922:37): [True: 3.08k, False: 4.65k]
  ------------------
 8923|  3.08k|        type->tp_setattr = base->tp_setattr;
 8924|  3.08k|        type->tp_setattro = base->tp_setattro;
 8925|  3.08k|    }
 8926|  7.74k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  5.50k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 5.50k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|  5.50k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 1.56k, False: 3.94k]
  |  |  |  |  |  Branch (8820:27): [True: 1.28k, False: 2.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 5.50k, False: 2.23k]
  |  |  ------------------
  ------------------
 8927|       |    /* tp_hash see tp_richcompare */
 8928|  7.74k|    {
 8929|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8930|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8931|       |         * won't be used automatically. */
 8932|  7.74k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.68k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 40, False: 7.64k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.68k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 40]
  |  |  |  |  |  Branch (8820:27): [True: 32, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.68k, False: 56]
  |  |  ------------------
  ------------------
 8933|       |
 8934|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8935|  7.74k|        if (!type->tp_call &&
  ------------------
  |  Branch (8935:13): [True: 7.51k, False: 234]
  ------------------
 8936|  7.51k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  7.51k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8936:13): [True: 36, False: 7.47k]
  ------------------
 8937|     36|        {
 8938|     36|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     36|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8939|     36|        }
 8940|  7.74k|        COPYSLOT(tp_call);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.51k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 134, False: 7.37k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.51k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 134]
  |  |  |  |  |  Branch (8820:27): [True: 104, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.51k, False: 234]
  |  |  ------------------
  ------------------
 8941|  7.74k|    }
 8942|  7.74k|    COPYSLOT(tp_str);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  6.56k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 6.56k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|  6.56k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 2.43k, False: 4.13k]
  |  |  |  |  |  Branch (8820:27): [True: 630, False: 3.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 6.56k, False: 1.17k]
  |  |  ------------------
  ------------------
 8943|  7.74k|    {
 8944|       |        /* Copy comparison-related slots only when
 8945|       |           not overriding them anywhere */
 8946|  7.74k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8946:13): [True: 3.19k, False: 4.55k]
  ------------------
 8947|  3.19k|            type->tp_hash == NULL)
  ------------------
  |  Branch (8947:13): [True: 3.18k, False: 10]
  ------------------
 8948|  3.18k|        {
 8949|  3.18k|            int r = overrides_hash(type);
 8950|  3.18k|            if (r < 0) {
  ------------------
  |  Branch (8950:17): [True: 0, False: 3.18k]
  ------------------
 8951|      0|                return -1;
 8952|      0|            }
 8953|  3.18k|            if (!r) {
  ------------------
  |  Branch (8953:17): [True: 2.83k, False: 348]
  ------------------
 8954|  2.83k|                type->tp_richcompare = base->tp_richcompare;
 8955|  2.83k|                type->tp_hash = base->tp_hash;
 8956|  2.83k|            }
 8957|  3.18k|        }
 8958|  7.74k|    }
 8959|  7.74k|    {
 8960|  7.74k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  6.74k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 666, False: 6.07k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  6.74k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 666]
  |  |  |  |  |  Branch (8820:27): [True: 396, False: 270]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 6.74k, False: 1.00k]
  |  |  ------------------
  ------------------
 8961|  7.74k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  4.86k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 2.09k, False: 2.77k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  4.86k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 2.09k]
  |  |  |  |  |  Branch (8820:27): [True: 1.31k, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 4.86k, False: 2.88k]
  |  |  ------------------
  ------------------
 8962|  7.74k|    }
 8963|  7.74k|    {
 8964|  7.74k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.70k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 8, False: 7.69k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.70k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 8]
  |  |  |  |  |  Branch (8820:27): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.70k, False: 38]
  |  |  ------------------
  ------------------
 8965|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8966|       |         * but only for extension types */
 8967|  7.74k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8967:13): [True: 8, False: 7.73k]
  ------------------
 8968|      8|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8968:13): [True: 8, False: 0]
  ------------------
 8969|      8|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      8|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8969:13): [True: 0, False: 8]
  ------------------
 8970|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8970:13): [True: 0, False: 0]
  ------------------
 8971|      0|        {
 8972|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8973|      0|        }
 8974|  7.74k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.73k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 4, False: 7.72k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.73k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 4]
  |  |  |  |  |  Branch (8820:27): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.73k, False: 12]
  |  |  ------------------
  ------------------
 8975|  7.74k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  1.45k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 0, False: 1.45k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  1.45k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8820:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 1.45k, False: 6.29k]
  |  |  ------------------
  ------------------
 8976|  7.74k|        COPYSLOT(tp_init);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  5.28k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 5.28k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|  5.28k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 1.71k, False: 3.57k]
  |  |  |  |  |  Branch (8820:27): [True: 1.20k, False: 2.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 5.28k, False: 2.46k]
  |  |  ------------------
  ------------------
 8977|  7.74k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  1.04k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 1.04k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|  1.04k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 562, False: 480]
  |  |  |  |  |  Branch (8820:27): [True: 0, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 1.04k, False: 6.70k]
  |  |  ------------------
  ------------------
 8978|  7.74k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.72k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 30, False: 7.69k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.72k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 30]
  |  |  |  |  |  Branch (8820:27): [True: 22, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.72k, False: 24]
  |  |  ------------------
  ------------------
 8979|  7.74k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8823|  7.74k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|  7.60k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 192, False: 7.41k]
  |  |  |  |  ------------------
  |  |  |  | 8820|  7.60k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 0, False: 192]
  |  |  |  |  |  Branch (8820:27): [True: 80, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 7.60k, False: 136]
  |  |  ------------------
  ------------------
 8980|  7.74k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  7.74k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8980:13): [True: 4.64k, False: 3.09k]
  ------------------
 8981|  7.74k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  7.74k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8982|       |            /* They agree about gc. */
 8983|  4.64k|            COPYSLOT(tp_free);
  ------------------
  |  | 8823|  4.64k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8819|    560|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8819:6): [True: 560, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8820|    560|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8820:7): [True: 78, False: 482]
  |  |  |  |  |  Branch (8820:27): [True: 218, False: 264]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8823:9): [True: 560, False: 4.08k]
  |  |  ------------------
  ------------------
 8984|  4.64k|        }
 8985|  3.09k|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  3.09k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8985:18): [True: 3.09k, False: 0]
  ------------------
 8986|  3.09k|                 type->tp_free == NULL &&
  ------------------
  |  Branch (8986:18): [True: 206, False: 2.89k]
  ------------------
 8987|    206|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (8987:18): [True: 206, False: 0]
  ------------------
 8988|       |            /* A bit of magic to plug in the correct default
 8989|       |             * tp_free function when a derived class adds gc,
 8990|       |             * didn't define tp_free, and the base uses the
 8991|       |             * default non-gc tp_free.
 8992|       |             */
 8993|    206|            type->tp_free = PyObject_GC_Del;
 8994|    206|        }
 8995|       |        /* else they didn't agree about gc, and there isn't something
 8996|       |         * obvious to be done -- the type is on its own.
 8997|       |         */
 8998|  7.74k|    }
 8999|  7.74k|    return 0;
 9000|  7.74k|}
typeobject.c:overrides_hash:
 8795|  3.18k|{
 8796|  3.18k|    PyObject *dict = lookup_tp_dict(type);
 8797|       |
 8798|  3.18k|    assert(dict != NULL);
 8799|  3.18k|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  919|  3.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8800|  3.18k|    if (r == 0) {
  ------------------
  |  Branch (8800:9): [True: 2.84k, False: 338]
  ------------------
 8801|  2.84k|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  919|  2.84k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.84k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.84k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8802|  2.84k|    }
 8803|  3.18k|    return r;
 8804|  3.18k|}
typeobject.c:inherit_patma_flags:
 9299|  7.74k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9300|  7.74k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 9005|  7.74k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  7.74k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  7.74k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9300:9): [True: 7.19k, False: 550]
  ------------------
 9301|  7.19k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 9005|  7.19k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  7.19k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  7.19k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9302|  7.19k|    }
 9303|  7.74k|}
typeobject.c:type_ready_inherit_as_structs:
 9280|  3.11k|{
 9281|  3.11k|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9281:9): [True: 400, False: 2.71k]
  ------------------
 9282|    400|        type->tp_as_async = base->tp_as_async;
 9283|    400|    }
 9284|  3.11k|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9284:9): [True: 354, False: 2.76k]
  ------------------
 9285|    354|        type->tp_as_number = base->tp_as_number;
 9286|    354|    }
 9287|  3.11k|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9287:9): [True: 370, False: 2.74k]
  ------------------
 9288|    370|        type->tp_as_sequence = base->tp_as_sequence;
 9289|    370|    }
 9290|  3.11k|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9290:9): [True: 368, False: 2.74k]
  ------------------
 9291|    368|        type->tp_as_mapping = base->tp_as_mapping;
 9292|    368|    }
 9293|  3.11k|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9293:9): [True: 402, False: 2.71k]
  ------------------
 9294|    402|        type->tp_as_buffer = base->tp_as_buffer;
 9295|    402|    }
 9296|  3.11k|}
typeobject.c:type_ready_preheader:
 9190|  3.11k|{
 9191|  3.11k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  3.11k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9191:9): [True: 1.38k, False: 1.73k]
  ------------------
 9192|  1.38k|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9192:13): [True: 0, False: 1.38k]
  |  Branch (9192:40): [True: 0, False: 1.38k]
  ------------------
 9193|      0|            PyErr_Format(PyExc_TypeError,
 9194|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9195|      0|                        "but tp_dictoffset is set",
 9196|      0|                        type->tp_name);
 9197|      0|            return -1;
 9198|      0|        }
 9199|  1.38k|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.38k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9199:13): [True: 0, False: 1.38k]
  ------------------
 9200|      0|            PyErr_Format(PyExc_SystemError,
 9201|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9202|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9203|      0|                        type->tp_name);
 9204|      0|            return -1;
 9205|      0|        }
 9206|  1.38k|        type->tp_dictoffset = -1;
 9207|  1.38k|    }
 9208|  3.11k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|  3.11k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9208:9): [True: 1.98k, False: 1.13k]
  ------------------
 9209|  1.98k|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9209:13): [True: 1.96k, False: 16]
  ------------------
 9210|  1.96k|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  926|  1.96k|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9210:13): [True: 0, False: 1.96k]
  ------------------
 9211|      0|        {
 9212|      0|            PyErr_Format(PyExc_TypeError,
 9213|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9214|      0|                        "but tp_weaklistoffset is set",
 9215|      0|                        type->tp_name);
 9216|      0|            return -1;
 9217|      0|        }
 9218|  1.98k|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.98k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9218:13): [True: 0, False: 1.98k]
  ------------------
 9219|      0|            PyErr_Format(PyExc_SystemError,
 9220|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9221|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9222|      0|                        type->tp_name);
 9223|      0|            return -1;
 9224|      0|        }
 9225|  1.98k|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  926|  1.98k|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9226|  1.98k|    }
 9227|  3.11k|    return 0;
 9228|  3.11k|}
typeobject.c:type_ready_set_hash:
 9359|  3.11k|{
 9360|  3.11k|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9360:9): [True: 2.91k, False: 200]
  ------------------
 9361|  2.91k|        return 0;
 9362|  2.91k|    }
 9363|       |
 9364|    200|    PyObject *dict = lookup_tp_dict(type);
 9365|    200|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  919|    200|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    200|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    200|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9366|    200|    if (r < 0) {
  ------------------
  |  Branch (9366:9): [True: 0, False: 200]
  ------------------
 9367|      0|        return -1;
 9368|      0|    }
 9369|    200|    if (r > 0) {
  ------------------
  |  Branch (9369:9): [True: 112, False: 88]
  ------------------
 9370|    112|        return 0;
 9371|    112|    }
 9372|       |
 9373|     88|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  919|     88|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     88|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     88|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  616|     88|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9373:9): [True: 0, False: 88]
  ------------------
 9374|      0|        return -1;
 9375|      0|    }
 9376|     88|    type->tp_hash = PyObject_HashNotImplemented;
 9377|     88|    return 0;
 9378|     88|}
typeobject.c:type_ready_add_subclasses:
 9384|  3.11k|{
 9385|  3.11k|    PyObject *bases = lookup_tp_bases(type);
 9386|  3.11k|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.11k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9387|  6.42k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9387:28): [True: 3.31k, False: 3.11k]
  ------------------
 9388|  3.31k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.31k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.31k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9389|  3.31k|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  6.62k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 3.31k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9389:32): [True: 0, False: 3.31k]
  ------------------
 9390|      0|            return -1;
 9391|      0|        }
 9392|  3.31k|    }
 9393|  3.11k|    return 0;
 9394|  3.11k|}
typeobject.c:type_ready_managed_dict:
 9452|  3.11k|{
 9453|  3.11k|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  3.11k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9453:9): [True: 1.73k, False: 1.38k]
  ------------------
 9454|  1.73k|        return 0;
 9455|  1.73k|    }
 9456|  1.38k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.38k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9456:9): [True: 0, False: 1.38k]
  ------------------
 9457|      0|        PyErr_Format(PyExc_SystemError,
 9458|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9459|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9460|      0|                     type->tp_name);
 9461|      0|        return -1;
 9462|      0|    }
 9463|  1.38k|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9464|  1.38k|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9464:9): [True: 1.38k, False: 0]
  ------------------
 9465|  1.38k|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9466|  1.38k|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9466:13): [True: 0, False: 1.38k]
  ------------------
 9467|      0|            PyErr_NoMemory();
 9468|      0|            return -1;
 9469|      0|        }
 9470|  1.38k|    }
 9471|  1.38k|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9471:9): [True: 1.30k, False: 78]
  ------------------
 9472|  1.30k|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|  1.30k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9473|  1.30k|    }
 9474|  1.38k|    return 0;
 9475|  1.38k|}
typeobject.c:type_ready_post_checks:
 9479|  3.11k|{
 9480|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9481|       |    // Note: tp_clear is optional.
 9482|  3.11k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  6.23k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9482:9): [True: 3.01k, False: 98]
  ------------------
 9483|  3.01k|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9483:12): [True: 0, False: 3.01k]
  ------------------
 9484|      0|    {
 9485|      0|        PyErr_Format(PyExc_SystemError,
 9486|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9487|      0|                     "but has no traverse function",
 9488|      0|                     type->tp_name);
 9489|      0|        return -1;
 9490|      0|    }
 9491|  3.11k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  3.11k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9491:9): [True: 1.38k, False: 1.73k]
  ------------------
 9492|  1.38k|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9492:13): [True: 0, False: 1.38k]
  ------------------
 9493|      0|            PyErr_Format(PyExc_SystemError,
 9494|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9495|      0|                        "but tp_dictoffset is set to incompatible value",
 9496|      0|                        type->tp_name);
 9497|      0|            return -1;
 9498|      0|        }
 9499|  1.38k|    }
 9500|  1.73k|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9500:14): [True: 842, False: 890]
  ------------------
 9501|    842|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9501:13): [True: 0, False: 842]
  ------------------
 9502|      0|            PyErr_Format(PyExc_SystemError,
 9503|      0|                         "type %s has a tp_dictoffset that is too small",
 9504|      0|                         type->tp_name);
 9505|      0|            return -1;
 9506|      0|        }
 9507|    842|    }
 9508|  3.11k|    return 0;
 9509|  3.11k|}
typeobject.c:stop_readying:
  498|  3.11k|{
  499|  3.11k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.11k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (499:9): [True: 414, False: 2.70k]
  ------------------
  500|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  501|    414|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  502|    414|        assert(state != NULL);
  503|    414|        assert(state->readying);
  504|    414|        state->readying = 0;
  505|    414|        return;
  506|    414|    }
  507|  3.11k|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  508|  2.70k|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|  2.70k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  509|  2.70k|}
typeobject.c:init_static_type:
 9627|    414|{
 9628|    414|    assert(_Py_IsImmortal((PyObject *)self));
 9629|    414|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
 9630|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
 9631|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
 9632|       |
 9633|    414|    if (initial) {
  ------------------
  |  Branch (9633:9): [True: 414, False: 0]
  ------------------
 9634|    414|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
 9635|       |
 9636|    414|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    414|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9637|    414|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    414|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9638|       |
 9639|    414|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9639:13): [True: 392, False: 22]
  ------------------
 9640|    392|            unsigned int next_version_tag = next_global_version_tag();
 9641|    392|            assert(next_version_tag != 0);
 9642|    392|            _PyType_SetVersion(self, next_version_tag);
 9643|    392|        }
 9644|    414|    }
 9645|      0|    else {
 9646|      0|        assert(!initial);
 9647|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
 9648|      0|        assert(self->tp_version_tag != 0);
 9649|      0|    }
 9650|       |
 9651|    414|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9652|       |
 9653|    414|    int res;
 9654|    414|    BEGIN_TYPE_LOCK();
 9655|    414|    res = type_ready(self, initial);
 9656|    414|    END_TYPE_LOCK();
 9657|    414|    if (res < 0) {
  ------------------
  |  Branch (9657:9): [True: 0, False: 414]
  ------------------
 9658|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9659|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9660|      0|    }
 9661|    414|    return res;
 9662|    414|}
typeobject.c:managed_static_type_state_init:
  312|    414|{
  313|    414|    assert(interp->runtime == &_PyRuntime);
  314|       |
  315|    414|    size_t index;
  316|    414|    if (initial) {
  ------------------
  |  Branch (316:9): [True: 414, False: 0]
  ------------------
  317|    414|        assert(!managed_static_type_index_is_set(self));
  318|    414|        if (isbuiltin) {
  ------------------
  |  Branch (318:13): [True: 402, False: 12]
  ------------------
  319|    402|            index = interp->types.builtins.num_initialized;
  320|    402|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  321|    402|        }
  322|     12|        else {
  323|     12|            PyMutex_Lock(&interp->types.mutex);
  ------------------
  |  |   59|     12|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  324|     12|            index = interp->types.for_extensions.next_index;
  325|     12|            interp->types.for_extensions.next_index++;
  326|     12|            PyMutex_Unlock(&interp->types.mutex);
  ------------------
  |  |   70|     12|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  327|     12|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  328|     12|        }
  329|    414|        managed_static_type_index_set(self, index);
  330|    414|    }
  331|      0|    else {
  332|      0|        index = managed_static_type_index_get(self);
  333|      0|        if (isbuiltin) {
  ------------------
  |  Branch (333:13): [True: 0, False: 0]
  ------------------
  334|      0|            assert(index == interp->types.builtins.num_initialized);
  335|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  336|      0|        }
  337|      0|        else {
  338|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  339|      0|        }
  340|      0|    }
  341|    414|    size_t full_index = isbuiltin
  ------------------
  |  Branch (341:25): [True: 402, False: 12]
  ------------------
  342|    414|        ? index
  343|    414|        : index + _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES;
  ------------------
  |  |  539|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  537|     12|#define _Py_NUM_MANAGED_PREINITIALIZED_TYPES 120
  |  |  ------------------
  ------------------
  344|       |
  345|    414|    assert((initial == 1) ==
  346|    414|            (_Py_atomic_load_int64(&_PyRuntime.types.managed_static.types[full_index].interp_count) == 0));
  347|    414|    (void)_Py_atomic_add_int64(
  348|    414|            &_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
  349|       |
  350|    414|    if (initial) {
  ------------------
  |  Branch (350:9): [True: 414, False: 0]
  ------------------
  351|    414|        assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);
  352|    414|        _PyRuntime.types.managed_static.types[full_index].type = self;
  353|    414|    }
  354|      0|    else {
  355|      0|        assert(_PyRuntime.types.managed_static.types[full_index].type == self);
  356|      0|    }
  357|       |
  358|    414|    managed_static_type_state *state = isbuiltin
  ------------------
  |  Branch (358:40): [True: 402, False: 12]
  ------------------
  359|    414|        ? &(interp->types.builtins.initialized[index])
  360|    414|        : &(interp->types.for_extensions.initialized[index]);
  361|       |
  362|       |    /* It should only be called once for each builtin type per interpreter. */
  363|    414|    assert(state->type == NULL);
  364|    414|    state->type = self;
  365|    414|    state->isbuiltin = isbuiltin;
  366|       |
  367|       |    /* state->tp_subclasses is left NULL until init_subclasses() sets it. */
  368|       |    /* state->tp_weaklist is left NULL until insert_head() or insert_after()
  369|       |       (in weakrefobject.c) sets it. */
  370|       |
  371|    414|    if (isbuiltin) {
  ------------------
  |  Branch (371:9): [True: 402, False: 12]
  ------------------
  372|    402|        interp->types.builtins.num_initialized++;
  373|    402|    }
  374|     12|    else {
  375|     12|        interp->types.for_extensions.num_initialized++;
  376|     12|    }
  377|    414|}
typeobject.c:managed_static_type_index_set:
  248|    414|{
  249|    414|    assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  250|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  251|    414|    self->tp_subclasses = (PyObject *)(index + 1);
  252|    414|}
typeobject.c:vectorcall_method:
 3112|   977k|{
 3113|   977k|    assert(nargs >= 1);
 3114|       |
 3115|   977k|    PyThreadState *tstate = _PyThreadState_GET();
 3116|   977k|    PyObject *retval = NULL;
 3117|   977k|    PyObject *self = args[0];
 3118|   977k|    _PyCStackRef cref;
 3119|   977k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3120|   977k|    int unbound = lookup_method(self, name, &cref.ref);
 3121|   977k|    if (unbound >= 0) {
  ------------------
  |  Branch (3121:9): [True: 977k, False: 0]
  ------------------
 3122|   977k|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3123|   977k|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3124|   977k|    }
 3125|   977k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3126|   977k|    return retval;
 3127|   977k|}
typeobject.c:call_attribute:
10952|  1.69M|{
10953|  1.69M|    PyObject *res, *descr = NULL;
10954|       |
10955|  1.69M|    if (_PyType_HasFeature(Py_TYPE(attr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.69M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(attr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.69M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (10955:9): [True: 1.69M, False: 0]
  ------------------
10956|  1.69M|        PyObject *args[] = { self, name };
10957|  1.69M|        res = PyObject_Vectorcall(attr, args, 2, NULL);
10958|  1.69M|        return res;
10959|  1.69M|    }
10960|       |
10961|      0|    descrgetfunc f = Py_TYPE(attr)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10962|       |
10963|      0|    if (f != NULL) {
  ------------------
  |  Branch (10963:9): [True: 0, False: 0]
  ------------------
10964|      0|        descr = f(attr, self, (PyObject *)(Py_TYPE(self)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10965|      0|        if (descr == NULL)
  ------------------
  |  Branch (10965:13): [True: 0, False: 0]
  ------------------
10966|      0|            return NULL;
10967|      0|        else
10968|      0|            attr = descr;
10969|      0|    }
10970|      0|    res = PyObject_CallOneArg(attr, name);
10971|      0|    Py_XDECREF(descr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10972|      0|    return res;
10973|      0|}
typeobject.c:slot_tp_iternext:
11104|      2|{
11105|      2|    PyObject *stack[1] = {self};
11106|      2|    return vectorcall_method(&_Py_ID(__next__), stack, 1);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11107|      2|}
typeobject.c:slot_tp_repr:
10874|  5.08k|{
10875|  5.08k|    PyObject *res = _PyObject_MaybeCallSpecialNoArgs(self, &_Py_ID(__repr__));
  ------------------
  |  |  919|  5.08k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.08k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.08k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10876|  5.08k|    if (res != NULL) {
  ------------------
  |  Branch (10876:9): [True: 5.08k, False: 0]
  ------------------
10877|  5.08k|        return res;
10878|  5.08k|    }
10879|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (10879:14): [True: 0, False: 0]
  ------------------
10880|      0|        return NULL;
10881|      0|    }
10882|      0|    return PyUnicode_FromFormat("<%s object at %p>",
10883|      0|                                Py_TYPE(self)->tp_name, self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10884|  5.08k|}
typeobject.c:check_num_args:
 9798|    762|{
 9799|    762|    if (!PyTuple_CheckExact(ob)) {
  ------------------
  |  |   28|    762|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    762|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    762|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    762|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9799:9): [True: 0, False: 762]
  ------------------
 9800|      0|        PyErr_SetString(PyExc_SystemError,
 9801|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9802|      0|        return 0;
 9803|      0|    }
 9804|    762|    if (n == PyTuple_GET_SIZE(ob))
  ------------------
  |  |   27|    762|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    762|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    762|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9804:9): [True: 762, False: 0]
  ------------------
 9805|    762|        return 1;
 9806|      0|    PyErr_Format(
 9807|      0|        PyExc_TypeError,
 9808|      0|        "expected %d argument%s, got %zd", n, n == 1 ? "" : "s", PyTuple_GET_SIZE(ob));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9808:47): [True: 0, False: 0]
  ------------------
 9809|      0|    return 0;
 9810|    762|}
typeobject.c:slot_tp_hash:
10890|  76.5k|{
10891|  76.5k|    PyObject *res;
10892|  76.5k|    int attr_is_none = 0;
10893|  76.5k|    res  = maybe_call_special_no_args(self, &_Py_ID(__hash__), &attr_is_none);
  ------------------
  |  |  919|  76.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  76.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  76.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10894|  76.5k|    if (attr_is_none || res == NULL) {
  ------------------
  |  Branch (10894:9): [True: 0, False: 76.5k]
  |  Branch (10894:25): [True: 0, False: 76.5k]
  ------------------
10895|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (10895:13): [True: 0, False: 0]
  ------------------
10896|      0|            return -1;
10897|      0|        }
10898|      0|        return PyObject_HashNotImplemented(self);
10899|      0|    }
10900|  76.5k|    if (!PyLong_Check(res)) {
  ------------------
  |  |   13|  76.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  76.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10900:9): [True: 0, False: 76.5k]
  ------------------
10901|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10902|      0|        PyErr_SetString(PyExc_TypeError,
10903|      0|                        "__hash__ method should return an integer");
10904|      0|        return -1;
10905|      0|    }
10906|       |    /* Transform the PyLong `res` to a Py_hash_t `h`.  For an existing
10907|       |       hashable Python object x, hash(x) will always lie within the range of
10908|       |       Py_hash_t.  Therefore our transformation must preserve values that
10909|       |       already lie within this range, to ensure that if x.__hash__() returns
10910|       |       hash(y) then hash(x) == hash(y). */
10911|  76.5k|    Py_ssize_t h = PyLong_AsSsize_t(res);
10912|  76.5k|    if (h == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (10912:9): [True: 0, False: 76.5k]
  |  Branch (10912:20): [True: 0, False: 0]
  ------------------
10913|       |        /* res was not within the range of a Py_hash_t, so we're free to
10914|       |           use any sufficiently bit-mixing transformation;
10915|       |           long.__hash__ will do nicely. */
10916|      0|        PyErr_Clear();
10917|      0|        h = PyLong_Type.tp_hash(res);
10918|      0|    }
10919|       |    /* -1 is reserved for errors. */
10920|  76.5k|    if (h == -1)
  ------------------
  |  Branch (10920:9): [True: 0, False: 76.5k]
  ------------------
10921|      0|        h = -2;
10922|  76.5k|    Py_DECREF(res);
  ------------------
  |  |  430|  76.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10923|  76.5k|    return h;
10924|  76.5k|}
typeobject.c:slot_tp_str:
10511|  6.27k|FUNCNAME(PyObject *self) \
10512|  6.27k|{ \
10513|  6.27k|    PyObject* stack[1] = {self}; \
10514|  6.27k|    return vectorcall_method(&_Py_ID(DUNDER), stack, 1); \
  ------------------
  |  |  919|  6.27k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.27k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.27k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10515|  6.27k|}
typeobject.c:slot_tp_setattro:
11028|   429k|{
11029|   429k|    PyObject *stack[3];
11030|   429k|    PyObject *res;
11031|       |
11032|   429k|    stack[0] = self;
11033|   429k|    stack[1] = name;
11034|   429k|    if (value == NULL) {
  ------------------
  |  Branch (11034:9): [True: 464, False: 428k]
  ------------------
11035|    464|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  919|    464|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    464|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    464|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11036|    464|    }
11037|   428k|    else {
11038|   428k|        stack[2] = value;
11039|   428k|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  919|   428k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   428k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   428k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11040|   428k|    }
11041|   429k|    if (res == NULL)
  ------------------
  |  Branch (11041:9): [True: 0, False: 429k]
  ------------------
11042|      0|        return -1;
11043|   429k|    Py_DECREF(res);
  ------------------
  |  |  430|   429k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   429k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   429k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11044|   429k|    return 0;
11045|   429k|}
typeobject.c:wrap_setattr:
10170|  3.47k|{
10171|  3.47k|    setattrofunc func = (setattrofunc)wrapped;
10172|  3.47k|    int res;
10173|  3.47k|    PyObject *name, *value;
10174|       |
10175|  3.47k|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10175:9): [True: 0, False: 3.47k]
  ------------------
10176|      0|        return NULL;
10177|  3.47k|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10177:9): [True: 0, False: 3.47k]
  ------------------
10178|      0|        return NULL;
10179|  3.47k|    res = (*func)(self, name, value);
10180|  3.47k|    if (res < 0)
  ------------------
  |  Branch (10180:9): [True: 0, False: 3.47k]
  ------------------
10181|      0|        return NULL;
10182|  3.47k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.47k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.47k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10183|  3.47k|}
typeobject.c:hackcheck:
10156|  3.94k|{
10157|  3.94k|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|  3.94k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10157:9): [True: 2.27k, False: 1.66k]
  ------------------
10158|  2.27k|        return 1;
10159|  2.27k|    }
10160|       |
10161|  1.66k|    int res;
10162|  1.66k|    BEGIN_TYPE_LOCK();
10163|  1.66k|    res = hackcheck_unlocked(self, func, what);
10164|  1.66k|    END_TYPE_LOCK();
10165|  1.66k|    return res;
10166|  3.94k|}
typeobject.c:hackcheck_unlocked:
10108|  1.66k|{
10109|  1.66k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  1.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10110|       |
10111|  1.66k|    ASSERT_TYPE_LOCK_HELD();
10112|       |
10113|  1.66k|    PyObject *mro = lookup_tp_mro(type);
10114|  1.66k|    if (!mro) {
  ------------------
  |  Branch (10114:9): [True: 0, False: 1.66k]
  ------------------
10115|       |        /* Probably ok not to check the call in this case. */
10116|      0|        return 1;
10117|      0|    }
10118|  1.66k|    assert(PyTuple_Check(mro));
10119|       |
10120|       |    /* Find the (base) type that defined the type's slot function. */
10121|  1.66k|    PyTypeObject *defining_type = type;
10122|  1.66k|    Py_ssize_t i;
10123|  6.72k|    for (i = PyTuple_GET_SIZE(mro) - 1; i >= 0; i--) {
  ------------------
  |  |   27|  1.66k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10123:41): [True: 5.05k, False: 1.66k]
  ------------------
10124|  5.05k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  5.05k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10125|  5.05k|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10125:13): [True: 1.71k, False: 3.33k]
  ------------------
10126|       |            /* Ignore Python classes:
10127|       |               they never define their own C-level setattro. */
10128|  1.71k|        }
10129|  3.33k|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10129:18): [True: 0, False: 3.33k]
  ------------------
10130|      0|            defining_type = base;
10131|      0|            break;
10132|      0|        }
10133|  5.05k|    }
10134|       |
10135|       |    /* Reject calls that jump over intermediate C-level overrides. */
10136|  3.38k|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10136:46): [True: 3.38k, False: 0]
  ------------------
10137|  3.38k|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10137:13): [True: 1.66k, False: 1.71k]
  ------------------
10138|       |            /* 'func' is the right slot function to call. */
10139|  1.66k|            break;
10140|  1.66k|        }
10141|  1.71k|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10141:18): [True: 0, False: 1.71k]
  ------------------
10142|       |            /* 'base' is not a Python class and overrides 'func'.
10143|       |               Its tp_setattro should be called instead. */
10144|      0|            PyErr_Format(PyExc_TypeError,
10145|      0|                         "can't apply this %s to %s object",
10146|      0|                         what,
10147|      0|                         type->tp_name);
10148|      0|            return 0;
10149|      0|        }
10150|  3.38k|    }
10151|  1.66k|    return 1;
10152|  1.66k|}
typeobject.c:wrap_delattr:
10187|    464|{
10188|    464|    setattrofunc func = (setattrofunc)wrapped;
10189|    464|    int res;
10190|    464|    PyObject *name;
10191|       |
10192|    464|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10192:9): [True: 0, False: 464]
  ------------------
10193|      0|        return NULL;
10194|    464|    name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    464|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    464|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    464|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10195|    464|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10195:9): [True: 0, False: 464]
  ------------------
10196|      0|        return NULL;
10197|    464|    res = (*func)(self, name, NULL);
10198|    464|    if (res < 0)
  ------------------
  |  Branch (10198:9): [True: 0, False: 464]
  ------------------
10199|      0|        return NULL;
10200|    464|    Py_RETURN_NONE;
  ------------------
  |  |  628|    464|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    464|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10201|    464|}
typeobject.c:slot_tp_richcompare:
11058|  3.26k|{
11059|  3.26k|    PyObject *res = _PyObject_MaybeCallSpecialOneArg(self, name_op[op], other);
11060|  3.26k|    if (res == NULL) {
  ------------------
  |  Branch (11060:9): [True: 0, False: 3.26k]
  ------------------
11061|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (11061:13): [True: 0, False: 0]
  ------------------
11062|      0|            return NULL;
11063|      0|        }
11064|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11065|      0|    }
11066|  3.26k|    return res;
11067|  3.26k|}
typeobject.c:wrap_richcmpfunc:
10239|    146|{
10240|    146|    richcmpfunc func = (richcmpfunc)wrapped;
10241|    146|    PyObject *other;
10242|       |
10243|    146|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10243:9): [True: 0, False: 146]
  ------------------
10244|      0|        return NULL;
10245|    146|    other = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    146|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    146|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10246|    146|    return (*func)(self, other, op);
10247|    146|}
typeobject.c:richcmp_eq:
10252|    144|richcmp_##NAME(PyObject *self, PyObject *args, void *wrapped) \
10253|    144|{ \
10254|    144|    return wrap_richcmpfunc(self, args, wrapped, OP); \
10255|    144|}
typeobject.c:richcmp_ne:
10252|      2|richcmp_##NAME(PyObject *self, PyObject *args, void *wrapped) \
10253|      2|{ \
10254|      2|    return wrap_richcmpfunc(self, args, wrapped, OP); \
10255|      2|}
typeobject.c:slot_tp_iter:
11083|    610|{
11084|    610|    int attr_is_none = 0;
11085|    610|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  919|    610|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    610|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    610|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11086|    610|                                               &attr_is_none);
11087|    610|    if (res != NULL) {
  ------------------
  |  Branch (11087:9): [True: 610, False: 0]
  ------------------
11088|    610|        return res;
11089|    610|    }
11090|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11090:14): [True: 0, False: 0]
  ------------------
11091|      0|        return NULL;
11092|      0|    }
11093|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11093:14): [True: 0, False: 0]
  |  Branch (11093:30): [True: 0, False: 0]
  ------------------
11094|      0|        PyErr_Format(PyExc_TypeError,
11095|      0|            "'%.200s' object is not iterable",
11096|      0|            Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11097|      0|        return NULL;
11098|      0|    }
11099|      0|    return PySeqIter_New(self);
11100|    610|}
typeobject.c:wrap_next:
10266|    146|{
10267|    146|    unaryfunc func = (unaryfunc)wrapped;
10268|    146|    PyObject *res;
10269|       |
10270|    146|    if (!check_num_args(args, 0))
  ------------------
  |  Branch (10270:9): [True: 0, False: 146]
  ------------------
10271|      0|        return NULL;
10272|    146|    res = (*func)(self);
10273|    146|    if (res == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (10273:9): [True: 6, False: 140]
  |  Branch (10273:24): [True: 6, False: 0]
  ------------------
10274|      6|        PyErr_SetNone(PyExc_StopIteration);
10275|    146|    return res;
10276|    146|}
typeobject.c:slot_tp_descr_get:
11117|  5.93k|{
11118|  5.93k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  5.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11119|  5.93k|    PyThreadState *tstate = _PyThreadState_GET();
11120|  5.93k|    _PyCStackRef cref;
11121|  5.93k|    _PyThreadState_PushCStackRef(tstate, &cref);
11122|  5.93k|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  919|  5.93k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.93k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.93k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11123|  5.93k|    if (PyStackRef_IsNull(cref.ref)) {
  ------------------
  |  |  482|  5.93k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.93k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.93k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 5.93k]
  |  |  ------------------
  ------------------
11124|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
11125|      0|#ifndef Py_GIL_DISABLED
11126|       |        /* Avoid further slowdowns */
11127|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11127:13): [True: 0, False: 0]
  ------------------
11128|      0|            tp->tp_descr_get = NULL;
11129|      0|#endif
11130|      0|        return Py_NewRef(self);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11131|      0|    }
11132|  5.93k|    if (obj == NULL)
  ------------------
  |  Branch (11132:9): [True: 0, False: 5.93k]
  ------------------
11133|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11134|  5.93k|    if (type == NULL)
  ------------------
  |  Branch (11134:9): [True: 0, False: 5.93k]
  ------------------
11135|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11136|  5.93k|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
11137|  5.93k|    PyObject *stack[3] = {self, obj, type};
11138|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11139|  5.93k|    _PyThreadState_PopCStackRef(tstate, &cref);
11140|  5.93k|    return res;
11141|  5.93k|}
typeobject.c:wrap_descr_get:
10280|     90|{
10281|     90|    descrgetfunc func = (descrgetfunc)wrapped;
10282|     90|    PyObject *obj;
10283|     90|    PyObject *type = NULL;
10284|       |
10285|     90|    if (!PyArg_UnpackTuple(args, "__get__", 1, 2, &obj, &type))
  ------------------
  |  Branch (10285:9): [True: 0, False: 90]
  ------------------
10286|      0|        return NULL;
10287|     90|    if (obj == Py_None)
  ------------------
  |  |  616|     90|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (10287:9): [True: 0, False: 90]
  ------------------
10288|      0|        obj = NULL;
10289|     90|    if (type == Py_None)
  ------------------
  |  |  616|     90|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (10289:9): [True: 0, False: 90]
  ------------------
10290|      0|        type = NULL;
10291|     90|    if (type == NULL && obj == NULL) {
  ------------------
  |  Branch (10291:9): [True: 90, False: 0]
  |  Branch (10291:25): [True: 0, False: 90]
  ------------------
10292|      0|        PyErr_SetString(PyExc_TypeError,
10293|      0|                        "__get__(None, None) is invalid");
10294|      0|        return NULL;
10295|      0|    }
10296|     90|    return (*func)(self, obj, type);
10297|     90|}
typeobject.c:slot_tp_init:
11166|   460k|{
11167|   460k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  919|   460k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   460k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   460k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11168|   460k|    if (res == NULL)
  ------------------
  |  Branch (11168:9): [True: 70, False: 460k]
  ------------------
11169|     70|        return -1;
11170|   460k|    if (res != Py_None) {
  ------------------
  |  |  616|   460k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11170:9): [True: 0, False: 460k]
  ------------------
11171|      0|        PyErr_Format(PyExc_TypeError,
11172|      0|                     "__init__() should return None, not '%.200s'",
11173|      0|                     Py_TYPE(res)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11174|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11175|      0|        return -1;
11176|      0|    }
11177|   460k|    Py_DECREF(res);
  ------------------
  |  |  430|   460k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   460k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   460k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11178|   460k|    return 0;
11179|   460k|}
typeobject.c:wrap_init:
10389|  6.47k|{
10390|  6.47k|    initproc func = (initproc)wrapped;
10391|       |
10392|  6.47k|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10392:9): [True: 0, False: 6.47k]
  ------------------
10393|      0|        return NULL;
10394|  6.47k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  6.47k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  6.47k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10395|  6.47k|}
typeobject.c:slot_tp_finalize:
11203|      8|{
11204|       |    /* Save the current exception, if any. */
11205|      8|    PyThreadState *tstate = _PyThreadState_GET();
11206|      8|    PyObject *exc = _PyErr_GetRaisedException(tstate);
11207|       |
11208|      8|    _PyCStackRef cref;
11209|      8|    _PyThreadState_PushCStackRef(tstate, &cref);
11210|       |
11211|       |    /* Execute __del__ method, if any. */
11212|      8|    int unbound = lookup_maybe_method(self, &_Py_ID(__del__), &cref.ref);
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11213|      8|    if (unbound >= 0) {
  ------------------
  |  Branch (11213:9): [True: 8, False: 0]
  ------------------
11214|      8|        PyObject *del = PyStackRef_AsPyObjectBorrow(cref.ref);
11215|      8|        PyObject *res = call_unbound_noarg(unbound, del, self);
11216|      8|        if (res == NULL) {
  ------------------
  |  Branch (11216:13): [True: 0, False: 8]
  ------------------
11217|      0|            PyErr_FormatUnraisable("Exception ignored while "
11218|      0|                                   "calling deallocator %R", del);
11219|      0|        }
11220|      8|        else {
11221|      8|            Py_DECREF(res);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11222|      8|        }
11223|      8|    }
11224|       |
11225|      8|    _PyThreadState_PopCStackRef(tstate, &cref);
11226|       |
11227|       |    /* Restore the saved exception. */
11228|      8|    _PyErr_SetRaisedException(tstate, exc);
11229|      8|}
typeobject.c:wrap_del:
10227|      6|{
10228|      6|    destructor func = (destructor)wrapped;
10229|       |
10230|      6|    if (!check_num_args(args, 0))
  ------------------
  |  Branch (10230:9): [True: 0, False: 6]
  ------------------
10231|      0|        return NULL;
10232|       |
10233|      6|    (*func)(self);
10234|      6|    Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10235|      6|}
typeobject.c:vectorcall_maybe:
 3134|    155|{
 3135|    155|    assert(nargs >= 1);
 3136|       |
 3137|    155|    PyObject *self = args[0];
 3138|    155|    _PyCStackRef cref;
 3139|    155|    _PyThreadState_PushCStackRef(tstate, &cref);
 3140|    155|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3141|    155|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3142|    155|    if (func == NULL) {
  ------------------
  |  Branch (3142:9): [True: 0, False: 155]
  ------------------
 3143|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3144|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3144:13): [True: 0, False: 0]
  ------------------
 3145|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3146|      0|        }
 3147|      0|        return NULL;
 3148|      0|    }
 3149|    155|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3150|    155|    _PyThreadState_PopCStackRef(tstate, &cref);
 3151|    155|    return retval;
 3152|    155|}
typeobject.c:slot_nb_bool:
10790|     20|{
10791|     20|    int using_len = 0;
10792|     20|    int attr_is_none = 0;
10793|     20|    PyObject *value = maybe_call_special_no_args(self, &_Py_ID(__bool__),
  ------------------
  |  |  919|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10794|     20|                                                 &attr_is_none);
10795|     20|    if (attr_is_none) {
  ------------------
  |  Branch (10795:9): [True: 0, False: 20]
  ------------------
10796|      0|        PyErr_Format(PyExc_TypeError,
10797|      0|                     "'%.200s' cannot be interpreted as a boolean",
10798|      0|                     Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10799|      0|        return -1;
10800|      0|    }
10801|     20|    else if (value == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (10801:14): [True: 0, False: 20]
  |  Branch (10801:31): [True: 0, False: 0]
  ------------------
10802|      0|        value = _PyObject_MaybeCallSpecialNoArgs(self, &_Py_ID(__len__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10803|      0|        if (value == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (10803:13): [True: 0, False: 0]
  |  Branch (10803:30): [True: 0, False: 0]
  ------------------
10804|      0|            return 1;
10805|      0|        }
10806|      0|        using_len = 1;
10807|      0|    }
10808|       |
10809|     20|    if (value == NULL) {
  ------------------
  |  Branch (10809:9): [True: 0, False: 20]
  ------------------
10810|      0|        return -1;
10811|      0|    }
10812|       |
10813|     20|    int result;
10814|     20|    if (using_len) {
  ------------------
  |  Branch (10814:9): [True: 0, False: 20]
  ------------------
10815|       |        /* bool type enforced by slot_nb_len */
10816|      0|        result = PyObject_IsTrue(value);
10817|      0|    }
10818|     20|    else if (PyBool_Check(value)) {
  ------------------
  |  |   12|     20|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10819|     20|        result = PyObject_IsTrue(value);
10820|     20|    }
10821|      0|    else {
10822|      0|        PyErr_Format(PyExc_TypeError,
10823|      0|                     "%T.__bool__() must return a bool, not %T",
10824|      0|                     self, value);
10825|      0|        result = -1;
10826|      0|    }
10827|     20|    Py_DECREF(value);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10828|     20|    return result;
10829|     20|}
typeobject.c:slot_nb_int:
10511|    224|FUNCNAME(PyObject *self) \
10512|    224|{ \
10513|    224|    PyObject* stack[1] = {self}; \
10514|    224|    return vectorcall_method(&_Py_ID(DUNDER), stack, 1); \
  ------------------
  |  |  919|    224|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    224|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    224|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10515|    224|}
typeobject.c:slot_sq_length:
10606|  89.4k|{
10607|  89.4k|    PyObject* stack[1] = {self};
10608|  89.4k|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  919|  89.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  89.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  89.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10609|  89.4k|    Py_ssize_t len;
10610|       |
10611|  89.4k|    if (res == NULL)
  ------------------
  |  Branch (10611:9): [True: 0, False: 89.4k]
  ------------------
10612|      0|        return -1;
10613|       |
10614|  89.4k|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  352|  89.4k|    do { \
  |  |  353|  89.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  89.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  89.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  89.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  89.4k|        *_tmp_dst_ptr = (src); \
  |  |  356|  89.4k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  89.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  89.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  89.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  89.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 89.4k]
  |  |  ------------------
  ------------------
10615|  89.4k|    if (res == NULL)
  ------------------
  |  Branch (10615:9): [True: 0, False: 89.4k]
  ------------------
10616|      0|        return -1;
10617|       |
10618|  89.4k|    assert(PyLong_Check(res));
10619|  89.4k|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10619:9): [True: 0, False: 89.4k]
  ------------------
10620|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10621|      0|        PyErr_SetString(PyExc_ValueError,
10622|      0|                        "__len__() should return >= 0");
10623|      0|        return -1;
10624|      0|    }
10625|       |
10626|  89.4k|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10627|  89.4k|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
10628|  89.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  89.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10629|  89.4k|    return len;
10630|  89.4k|}
typeobject.c:slot_mp_subscript:
10519|    543|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10520|    543|{ \
10521|    543|    PyObject* stack[2] = {self, arg1}; \
10522|    543|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  919|    543|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    543|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    543|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10523|    543|}
typeobject.c:slot_mp_ass_subscript:
10704|   449k|{
10705|   449k|    PyObject *stack[3];
10706|   449k|    PyObject *res;
10707|       |
10708|   449k|    stack[0] = self;
10709|   449k|    stack[1] = key;
10710|   449k|    if (value == NULL) {
  ------------------
  |  Branch (10710:9): [True: 0, False: 449k]
  ------------------
10711|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10712|      0|    }
10713|   449k|    else {
10714|   449k|        stack[2] = value;
10715|   449k|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  919|   449k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   449k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   449k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10716|   449k|    }
10717|       |
10718|   449k|    if (res == NULL)
  ------------------
  |  Branch (10718:9): [True: 0, False: 449k]
  ------------------
10719|      0|        return -1;
10720|   449k|    Py_DECREF(res);
  ------------------
  |  |  430|   449k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   449k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   449k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10721|   449k|    return 0;
10722|   449k|}
typeobject.c:wrap_objobjargproc:
10073|    590|{
10074|    590|    objobjargproc func = (objobjargproc)wrapped;
10075|    590|    int res;
10076|    590|    PyObject *key, *value;
10077|       |
10078|    590|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10078:9): [True: 0, False: 590]
  ------------------
10079|      0|        return NULL;
10080|    590|    res = (*func)(self, key, value);
10081|    590|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10081:9): [True: 0, False: 590]
  |  Branch (10081:22): [True: 0, False: 0]
  ------------------
10082|      0|        return NULL;
10083|    590|    Py_RETURN_NONE;
  ------------------
  |  |  628|    590|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    590|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10084|    590|}
typeobject.c:slot_sq_item:
10634|  1.63k|{
10635|  1.63k|    PyObject *ival = PyLong_FromSsize_t(i);
10636|  1.63k|    if (ival == NULL) {
  ------------------
  |  Branch (10636:9): [True: 0, False: 1.63k]
  ------------------
10637|      0|        return NULL;
10638|      0|    }
10639|  1.63k|    PyObject *stack[2] = {self, ival};
10640|  1.63k|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  919|  1.63k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.63k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.63k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10641|  1.63k|    Py_DECREF(ival);
  ------------------
  |  |  430|  1.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10642|  1.63k|    return retval;
10643|  1.63k|}
typeobject.c:slot_sq_contains:
10677|  1.72k|{
10678|  1.72k|    int attr_is_none = 0;
10679|  1.72k|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  919|  1.72k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.72k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.72k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10680|  1.72k|                                               &attr_is_none);
10681|  1.72k|    if (attr_is_none) {
  ------------------
  |  Branch (10681:9): [True: 0, False: 1.72k]
  ------------------
10682|      0|        PyErr_Format(PyExc_TypeError,
10683|      0|            "'%.200s' object is not a container",
10684|      0|            Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10685|      0|        return -1;
10686|      0|    }
10687|  1.72k|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10687:14): [True: 0, False: 1.72k]
  |  Branch (10687:29): [True: 0, False: 0]
  ------------------
10688|      0|        return -1;
10689|      0|    }
10690|  1.72k|    else if (res == NULL) {
  ------------------
  |  Branch (10690:14): [True: 0, False: 1.72k]
  ------------------
10691|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10692|      0|    }
10693|  1.72k|    int result = PyObject_IsTrue(res);
10694|  1.72k|    Py_DECREF(res);
  ------------------
  |  |  430|  1.72k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10695|  1.72k|    return result;
10696|  1.72k|}
typeobject.c:type_get_mro:
 1765|    609|{
 1766|    609|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    609|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1767|    609|    PyObject *mro = lookup_tp_mro(type);
 1768|    609|    if (mro == NULL) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 609]
  ------------------
 1769|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1770|      0|    }
 1771|    609|    return Py_NewRef(mro);
  ------------------
  |  |  550|    609|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    609|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    609|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|    609|}
typeobject.c:check_immutable_bases:
 5174|    208|{
 5175|    208|    Py_ssize_t i = 0;
 5176|    208|    if (skip_first) {
  ------------------
  |  Branch (5176:9): [True: 0, False: 208]
  ------------------
 5177|       |        // When testing the MRO, skip the type itself
 5178|      0|        i = 1;
 5179|      0|    }
 5180|    416|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    416|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5180:12): [True: 208, False: 208]
  ------------------
 5181|    208|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    208|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    208|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    208|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|    208|        if (!b) {
  ------------------
  |  Branch (5182:13): [True: 0, False: 208]
  ------------------
 5183|      0|            return -1;
 5184|      0|        }
 5185|    208|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    208|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5185:13): [True: 0, False: 208]
  ------------------
 5186|      0|            PyErr_Format(
 5187|      0|                PyExc_TypeError,
 5188|      0|                "Creating immutable type %s from mutable base %N",
 5189|      0|                type_name, b
 5190|      0|            );
 5191|      0|            return -1;
 5192|      0|        }
 5193|    208|    }
 5194|    208|    return 0;
 5195|    208|}
typeobject.c:supercheck:
12688|   277k|{
12689|       |    /* Check that a super() call makes sense.  Return a type object.
12690|       |
12691|       |       obj can be a class, or an instance of one:
12692|       |
12693|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12694|       |         used for class methods; the return value is obj.
12695|       |
12696|       |       - If it is an instance, it must be an instance of 'type'.  This is
12697|       |         the normal case; the return value is obj.__class__.
12698|       |
12699|       |       But... when obj is an instance, we want to allow for the case where
12700|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12701|       |       This will allow using super() with a proxy for obj.
12702|       |    */
12703|       |
12704|       |    /* Check for first bullet above (special case) */
12705|   277k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|   555k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 6.48k, False: 271k]
  |  |  ------------------
  ------------------
  |  Branch (12705:30): [True: 4.78k, False: 1.69k]
  ------------------
12706|  4.78k|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  550|  4.78k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12707|  4.78k|    }
12708|       |
12709|       |    /* Normal case */
12710|   272k|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|   272k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   272k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   272k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12710:9): [True: 272k, False: 0]
  ------------------
12711|   272k|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|   272k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   272k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   272k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12712|   272k|    }
12713|      0|    else {
12714|       |        /* Try the slow way */
12715|      0|        PyObject *class_attr;
12716|       |
12717|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12717:13): [True: 0, False: 0]
  ------------------
12718|      0|            return NULL;
12719|      0|        }
12720|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12720:13): [True: 0, False: 0]
  ------------------
12721|      0|            PyType_Check(class_attr) &&
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12722|      0|            (PyTypeObject *)class_attr != Py_TYPE(obj))
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12722:13): [True: 0, False: 0]
  ------------------
12723|      0|        {
12724|      0|            int ok = PyType_IsSubtype(
12725|      0|                (PyTypeObject *)class_attr, type);
12726|      0|            if (ok) {
  ------------------
  |  Branch (12726:17): [True: 0, False: 0]
  ------------------
12727|      0|                return (PyTypeObject *)class_attr;
12728|      0|            }
12729|      0|        }
12730|      0|        Py_XDECREF(class_attr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12731|      0|    }
12732|       |
12733|      0|    const char *type_or_instance, *obj_str;
12734|       |
12735|      0|    if (PyType_Check(obj)) {
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12736|      0|        type_or_instance = "type";
12737|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12738|      0|    }
12739|      0|    else {
12740|      0|        type_or_instance = "instance of";
12741|      0|        obj_str = Py_TYPE(obj)->tp_name;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12742|      0|    }
12743|       |
12744|      0|    PyErr_Format(PyExc_TypeError,
12745|      0|                "super(type, obj): obj (%s %.200s) is not "
12746|      0|                "an instance or subtype of type (%.200s).",
12747|      0|                type_or_instance, obj_str, type->tp_name);
12748|       |
12749|       |    return NULL;
12750|   272k|}
typeobject.c:do_super_lookup:
12623|   277k|{
12624|   277k|    PyObject *res;
12625|   277k|    int temp_su = 0;
12626|       |
12627|   277k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12627:9): [True: 0, False: 277k]
  ------------------
12628|      0|        goto skip;
12629|      0|    }
12630|       |
12631|   277k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12632|   277k|    if (res != NULL) {
  ------------------
  |  Branch (12632:9): [True: 277k, False: 0]
  ------------------
12633|   277k|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   269k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   269k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   269k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   269k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12633:13): [True: 269k, False: 8.42k]
  |  Branch (12633:23): [True: 269k, False: 0]
  ------------------
12634|   269k|            *method = 1;
12635|   269k|        }
12636|  8.42k|        else {
12637|  8.42k|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|  8.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12638|  8.42k|            if (f != NULL) {
  ------------------
  |  Branch (12638:17): [True: 6.28k, False: 2.14k]
  ------------------
12639|  6.28k|                PyObject *res2;
12640|  6.28k|                res2 = f(res,
12641|       |                    /* Only pass 'obj' param if this is instance-mode super
12642|       |                    (See SF ID #743627)  */
12643|  6.28k|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12643:21): [True: 2.64k, False: 3.64k]
  ------------------
12644|  6.28k|                    (PyObject *)su_obj_type);
12645|  6.28k|                Py_SETREF(res, res2);
  ------------------
  |  |  352|  6.28k|    do { \
  |  |  353|  6.28k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  6.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  6.28k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  6.28k|        *_tmp_dst_ptr = (src); \
  |  |  356|  6.28k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  6.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  6.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6.28k]
  |  |  ------------------
  ------------------
12646|  6.28k|            }
12647|  8.42k|        }
12648|       |
12649|   277k|        return res;
12650|   277k|    }
12651|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12651:14): [True: 0, False: 0]
  ------------------
12652|      0|        return NULL;
12653|      0|    }
12654|       |
12655|      0|  skip:
12656|      0|    if (su == NULL) {
  ------------------
  |  Branch (12656:9): [True: 0, False: 0]
  ------------------
12657|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12658|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12659|      0|        if (su == NULL) {
  ------------------
  |  Branch (12659:13): [True: 0, False: 0]
  ------------------
12660|      0|            return NULL;
12661|      0|        }
12662|      0|        temp_su = 1;
12663|      0|    }
12664|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12665|      0|    if (temp_su) {
  ------------------
  |  Branch (12665:9): [True: 0, False: 0]
  ------------------
12666|      0|        Py_DECREF(su);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12667|      0|    }
12668|      0|    return res;
12669|      0|}
typeobject.c:super_dealloc:
12541|  2.55k|{
12542|  2.55k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12527|  2.55k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12543|       |
12544|  2.55k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  2.55k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12545|  2.55k|    Py_XDECREF(su->obj);
  ------------------
  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12546|  2.55k|    Py_XDECREF(su->type);
  ------------------
  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12547|  2.55k|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12548|  2.55k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  2.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12549|  2.55k|}
typeobject.c:super_getattro:
12673|  2.55k|{
12674|  2.55k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12527|  2.55k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12675|       |
12676|       |    /* We want __class__ to return the class of the super object
12677|       |       (i.e. super, or a subclass), not the class of su->obj. */
12678|  2.55k|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|  2.55k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.11k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.55k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12679|  2.55k|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  299|  2.55k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12679:9): [True: 0, False: 2.55k]
  ------------------
12680|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12680:9): [True: 0, False: 0]
  ------------------
12681|      0|        return PyObject_GenericGetAttr(self, name);
12682|       |
12683|  2.55k|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12684|  2.55k|}
typeobject.c:super_init_impl:
12898|  2.55k|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
12899|  2.55k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12527|  2.55k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12900|  2.55k|    PyTypeObject *obj_type = NULL;
12901|  2.55k|    if (type == NULL) {
  ------------------
  |  Branch (12901:9): [True: 92, False: 2.46k]
  ------------------
12902|       |        /* Call super(), without args -- fill in from __class__
12903|       |           and first local variable on the stack. */
12904|     92|        PyThreadState *tstate = _PyThreadState_GET();
12905|     92|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
12906|     92|        if (frame == NULL) {
  ------------------
  |  Branch (12906:13): [True: 0, False: 92]
  ------------------
12907|      0|            PyErr_SetString(PyExc_RuntimeError,
12908|      0|                            "super(): no current frame");
12909|      0|            return -1;
12910|      0|        }
12911|     92|        int res = super_init_without_args(frame, &type, &obj);
12912|       |
12913|     92|        if (res < 0) {
  ------------------
  |  Branch (12913:13): [True: 0, False: 92]
  ------------------
12914|      0|            return -1;
12915|      0|        }
12916|     92|    }
12917|  2.46k|    else {
12918|  2.46k|        Py_INCREF(type);
  ------------------
  |  |  310|  2.46k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12919|  2.46k|        Py_XINCREF(obj);
  ------------------
  |  |  514|  2.46k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12920|  2.46k|    }
12921|       |
12922|  2.55k|    if (obj == Py_None) {
  ------------------
  |  |  616|  2.55k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12922:9): [True: 0, False: 2.55k]
  ------------------
12923|      0|        Py_DECREF(obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12924|      0|        obj = NULL;
12925|      0|    }
12926|  2.55k|    if (obj != NULL) {
  ------------------
  |  Branch (12926:9): [True: 2.55k, False: 0]
  ------------------
12927|  2.55k|        obj_type = supercheck(type, obj);
12928|  2.55k|        if (obj_type == NULL) {
  ------------------
  |  Branch (12928:13): [True: 0, False: 2.55k]
  ------------------
12929|      0|            Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12930|      0|            Py_DECREF(obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12931|      0|            return -1;
12932|      0|        }
12933|  2.55k|    }
12934|  2.55k|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  374|  2.55k|    do { \
  |  |  375|  2.55k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.55k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.55k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.55k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.55k]
  |  |  ------------------
  ------------------
12935|  2.55k|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  374|  2.55k|    do { \
  |  |  375|  2.55k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.55k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.55k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.55k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.55k]
  |  |  ------------------
  ------------------
12936|  2.55k|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  374|  2.55k|    do { \
  |  |  375|  2.55k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.55k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.55k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.55k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.55k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.55k]
  |  |  ------------------
  ------------------
12937|  2.55k|    return 0;
12938|  2.55k|}
typeobject.c:super_init_without_args:
12800|     92|{
12801|     92|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12802|     92|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12802:9): [True: 0, False: 92]
  ------------------
12803|      0|        PyErr_SetString(PyExc_RuntimeError,
12804|      0|                        "super(): no arguments");
12805|      0|        return -1;
12806|      0|    }
12807|       |
12808|     92|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
12809|     92|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12810|     92|    if (firstarg == NULL) {
  ------------------
  |  Branch (12810:9): [True: 0, False: 92]
  ------------------
12811|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12812|      0|        return -1;
12813|      0|    }
12814|       |    // The first argument might be a cell.
12815|       |    // "firstarg" is a cell here unless (very unlikely) super()
12816|       |    // was called from the C-API before the first MAKE_CELL op.
12817|     92|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     92|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12817:9): [True: 0, False: 92]
  ------------------
12818|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   18|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12818:13): [True: 0, False: 0]
  ------------------
12819|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12820|       |        // to use _PyOpcode_Deopt here:
12821|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
12822|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12823|      0|        assert(PyCell_Check(firstarg));
12824|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12825|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12825:13): [True: 0, False: 0]
  ------------------
12826|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12827|      0|            return -1;
12828|      0|        }
12829|      0|    }
12830|     92|    else {
12831|     92|        Py_INCREF(firstarg);
  ------------------
  |  |  310|     92|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12832|     92|    }
12833|       |
12834|       |    // Look for __class__ in the free vars.
12835|     92|    PyTypeObject *type = NULL;
12836|     92|    int i = PyUnstable_Code_GetFirstFree(co);
12837|     92|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12837:12): [True: 92, False: 0]
  ------------------
12838|     92|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
12839|     92|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|     92|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     92|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12840|     92|        assert(PyUnicode_Check(name));
12841|     92|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  919|     92|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     92|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     92|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12841:13): [True: 92, False: 0]
  ------------------
12842|     92|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12843|     92|            if (cell == NULL || !PyCell_Check(cell)) {
  ------------------
  |  |   18|     92|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|     92|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12843:17): [True: 0, False: 92]
  |  Branch (12843:33): [True: 0, False: 92]
  ------------------
12844|      0|                PyErr_SetString(PyExc_RuntimeError,
12845|      0|                  "super(): bad __class__ cell");
12846|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12847|      0|                return -1;
12848|      0|            }
12849|     92|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
12850|     92|            if (type == NULL) {
  ------------------
  |  Branch (12850:17): [True: 0, False: 92]
  ------------------
12851|      0|                PyErr_SetString(PyExc_RuntimeError,
12852|      0|                  "super(): empty __class__ cell");
12853|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12854|      0|                return -1;
12855|      0|            }
12856|     92|            if (!PyType_Check(type)) {
  ------------------
  |  |  766|     92|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12856:17): [True: 0, False: 92]
  ------------------
12857|      0|                PyErr_Format(PyExc_RuntimeError,
12858|      0|                  "super(): __class__ is not a type (%s)",
12859|      0|                  Py_TYPE(type)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12860|      0|                Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12861|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12862|      0|                return -1;
12863|      0|            }
12864|     92|            break;
12865|     92|        }
12866|     92|    }
12867|     92|    if (type == NULL) {
  ------------------
  |  Branch (12867:9): [True: 0, False: 92]
  ------------------
12868|      0|        PyErr_SetString(PyExc_RuntimeError,
12869|      0|                        "super(): __class__ cell not found");
12870|      0|        Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12871|      0|        return -1;
12872|      0|    }
12873|       |
12874|     92|    *type_p = type;
12875|     92|    *obj_p = firstarg;
12876|     92|    return 0;
12877|     92|}
typeobject.c:super_vectorcall:
12971|  2.55k|{
12972|  2.55k|    assert(PyType_Check(self));
12973|  2.55k|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   15|  2.55k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 2.55k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12974|      0|        return NULL;
12975|      0|    }
12976|  2.55k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.55k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
12977|  2.55k|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   31|  2.55k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.55k, False: 0]
  |  |  |  Branch (31:27): [True: 2.55k, False: 0]
  |  |  ------------------
  |  |   32|  2.55k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12978|      0|        return NULL;
12979|      0|    }
12980|  2.55k|    PyTypeObject *type = NULL;
12981|  2.55k|    PyObject *obj = NULL;
12982|  2.55k|    PyTypeObject *self_type = (PyTypeObject *)self;
12983|  2.55k|    PyObject *su = self_type->tp_alloc(self_type, 0);
12984|  2.55k|    if (su == NULL) {
  ------------------
  |  Branch (12984:9): [True: 0, False: 2.55k]
  ------------------
12985|      0|        return NULL;
12986|      0|    }
12987|       |    // 1 or 2 argument form super().
12988|  2.55k|    if (nargs != 0) {
  ------------------
  |  Branch (12988:9): [True: 2.46k, False: 92]
  ------------------
12989|  2.46k|        PyObject *arg0 = args[0];
12990|  2.46k|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|  2.46k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12990:13): [True: 0, False: 2.46k]
  ------------------
12991|      0|            PyErr_Format(PyExc_TypeError,
12992|      0|                "super() argument 1 must be a type, not %.200s", Py_TYPE(arg0)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12993|      0|            goto fail;
12994|      0|        }
12995|  2.46k|        type = (PyTypeObject *)arg0;
12996|  2.46k|    }
12997|  2.55k|    if (nargs == 2) {
  ------------------
  |  Branch (12997:9): [True: 2.46k, False: 92]
  ------------------
12998|  2.46k|        obj = args[1];
12999|  2.46k|    }
13000|  2.55k|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (13000:9): [True: 0, False: 2.55k]
  ------------------
13001|      0|        goto fail;
13002|      0|    }
13003|  2.55k|    return su;
13004|      0|fail:
13005|      0|    Py_DECREF(su);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13006|       |    return NULL;
13007|  2.55k|}

_Py_typing_type_repr:
  269|      6|{
  270|      6|    PyObject *qualname = NULL;
  271|      6|    PyObject *module = NULL;
  272|      6|    PyObject *r = NULL;
  273|      6|    int rc;
  274|       |
  275|      6|    if (p == Py_Ellipsis) {
  ------------------
  |  |   14|      6|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (275:9): [True: 0, False: 6]
  ------------------
  276|       |        // The Ellipsis object
  277|      0|        r = PyUnicode_FromString("...");
  278|      0|        goto exit;
  279|      0|    }
  280|       |
  281|      6|    if (p == (PyObject *)&_PyNone_Type) {
  ------------------
  |  Branch (281:9): [True: 0, False: 6]
  ------------------
  282|      0|        return PyUnicodeWriter_WriteASCII(writer, "None", 4);
  283|      0|    }
  284|       |
  285|      6|    if ((rc = PyObject_HasAttrWithError(p, &_Py_ID(__origin__))) > 0 &&
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (285:9): [True: 0, False: 6]
  ------------------
  286|      0|        (rc = PyObject_HasAttrWithError(p, &_Py_ID(__args__))) > 0)
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (286:9): [True: 0, False: 0]
  ------------------
  287|      0|    {
  288|       |        // It looks like a GenericAlias
  289|      0|        goto use_repr;
  290|      0|    }
  291|      6|    if (rc < 0) {
  ------------------
  |  Branch (291:9): [True: 0, False: 6]
  ------------------
  292|      0|        goto exit;
  293|      0|    }
  294|       |
  295|      6|    if (PyObject_GetOptionalAttr(p, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (295:9): [True: 0, False: 6]
  ------------------
  296|      0|        goto exit;
  297|      0|    }
  298|      6|    if (qualname == NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 6]
  ------------------
  299|      0|        goto use_repr;
  300|      0|    }
  301|      6|    if (PyObject_GetOptionalAttr(p, &_Py_ID(__module__), &module) < 0) {
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (301:9): [True: 0, False: 6]
  ------------------
  302|      0|        goto exit;
  303|      0|    }
  304|      6|    if (module == NULL || module == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (304:9): [True: 0, False: 6]
  |  Branch (304:27): [True: 0, False: 6]
  ------------------
  305|      0|        goto use_repr;
  306|      0|    }
  307|       |
  308|       |    // Looks like a class
  309|      6|    if (PyUnicode_Check(module) &&
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|      6|        _PyUnicode_EqualToASCIIString(module, "builtins"))
  ------------------
  |  Branch (310:9): [True: 2, False: 4]
  ------------------
  311|      2|    {
  312|       |        // builtins don't need a module name
  313|      2|        r = PyObject_Str(qualname);
  314|      2|        goto exit;
  315|      2|    }
  316|      4|    else {
  317|      4|        r = PyUnicode_FromFormat("%S.%S", module, qualname);
  318|      4|        goto exit;
  319|      4|    }
  320|       |
  321|      0|use_repr:
  322|      0|    r = PyObject_Repr(p);
  323|      6|exit:
  324|      6|    Py_XDECREF(qualname);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|      6|    Py_XDECREF(module);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  326|      6|    if (r == NULL) {
  ------------------
  |  Branch (326:9): [True: 0, False: 6]
  ------------------
  327|      0|        return -1;
  328|      0|    }
  329|      6|    rc = PyUnicodeWriter_WriteStr(writer, r);
  330|      6|    Py_DECREF(r);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      6|    return rc;
  332|      6|}
_Py_make_typevar:
 1864|     10|{
 1865|     10|    return (PyObject *)typevar_alloc(name, NULL, evaluate_bound, NULL, evaluate_constraints,
 1866|     10|                                     NULL, false, false, true, NULL);
 1867|     10|}
_Py_make_typealias:
 2268|      2|{
 2269|      2|    assert(PyTuple_Check(args));
 2270|      2|    assert(PyTuple_GET_SIZE(args) == 3);
 2271|      2|    PyObject *name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      2|    assert(PyUnicode_Check(name));
 2273|      2|    PyObject *type_params = typealias_convert_type_params(PyTuple_GET_ITEM(args, 1));
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|      2|    PyObject *compute_value = PyTuple_GET_ITEM(args, 2);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2275|      2|    assert(PyFunction_Check(compute_value));
 2276|       |
 2277|      2|    PyFunctionObject *compute_func = (PyFunctionObject *)compute_value;
 2278|      2|    PyCodeObject *code_obj = (PyCodeObject *)compute_func->func_code;
 2279|      2|    PyObject *qualname = code_obj->co_qualname;
 2280|      2|    assert(qualname != NULL);
 2281|       |
 2282|      2|    return (PyObject *)typealias_alloc(
 2283|      2|        name, qualname, type_params, compute_value, NULL, NULL);
 2284|      2|}
_Py_subscript_generic:
 2372|      4|{
 2373|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2374|      4|    if (interp->cached_objects.generic_type == NULL) {
  ------------------
  |  Branch (2374:9): [True: 0, False: 4]
  ------------------
 2375|      0|        PyErr_SetString(PyExc_SystemError, "Cannot find Generic type");
 2376|      0|        return NULL;
 2377|      0|    }
 2378|      4|    params = unpack_typevartuples(params);
 2379|      4|    PyObject *args[2] = {(PyObject *)interp->cached_objects.generic_type, params};
 2380|      4|    PyObject *result = call_typing_func_object("_GenericAlias", args, 2);
 2381|      4|    Py_DECREF(params);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2382|      4|    return result;
 2383|      4|}
_Py_initialize_generic:
 2422|      2|{
 2423|      2|#define MAKE_TYPE(name) \
 2424|      2|    do { \
 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
 2426|      2|        if (name ## _type == NULL) { \
 2427|      2|            return -1; \
 2428|      2|        } \
 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
 2430|      2|    } while(0)
 2431|       |
 2432|      2|    MAKE_TYPE(generic);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2433|      2|    MAKE_TYPE(typevar);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2434|      2|    MAKE_TYPE(typevartuple);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2435|      2|    MAKE_TYPE(paramspec);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2436|      2|    MAKE_TYPE(paramspecargs);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2437|      2|    MAKE_TYPE(paramspeckwargs);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2438|      2|    MAKE_TYPE(constevaluator);
  ------------------
  |  | 2424|      2|    do { \
  |  | 2425|      2|        PyTypeObject *name ## _type = (PyTypeObject *)PyType_FromSpec(&name ## _spec); \
  |  | 2426|      2|        if (name ## _type == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2426:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 2427|      0|            return -1; \
  |  | 2428|      0|        } \
  |  | 2429|      2|        interp->cached_objects.name ## _type = name ## _type; \
  |  | 2430|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2430:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2439|      2|#undef MAKE_TYPE
 2440|      2|    return 0;
 2441|      2|}
typevarobject.c:typevar_alloc:
  646|     88|{
  647|     88|    PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevar_type;
  648|     88|    assert(tp != NULL);
  649|     88|    typevarobject *tv = PyObject_GC_New(typevarobject, tp);
  ------------------
  |  |  181|     88|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|     88|    if (tv == NULL) {
  ------------------
  |  Branch (650:9): [True: 0, False: 88]
  ------------------
  651|      0|        return NULL;
  652|      0|    }
  653|       |
  654|     88|    tv->name = Py_NewRef(name);
  ------------------
  |  |  550|     88|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|       |
  656|     88|    tv->bound = Py_XNewRef(bound);
  ------------------
  |  |  551|     88|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  657|     88|    tv->evaluate_bound = Py_XNewRef(evaluate_bound);
  ------------------
  |  |  551|     88|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     88|    tv->constraints = Py_XNewRef(constraints);
  ------------------
  |  |  551|     88|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|     88|    tv->evaluate_constraints = Py_XNewRef(evaluate_constraints);
  ------------------
  |  |  551|     88|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|     88|    tv->default_value = Py_XNewRef(default_value);
  ------------------
  |  |  551|     88|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|     88|    tv->evaluate_default = NULL;
  662|       |
  663|     88|    tv->covariant = covariant;
  664|     88|    tv->contravariant = contravariant;
  665|     88|    tv->infer_variance = infer_variance;
  666|     88|    _PyObject_GC_TRACK(tv);
  ------------------
  |  |  508|     88|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|       |
  668|     88|    if (module != NULL) {
  ------------------
  |  Branch (668:9): [True: 78, False: 10]
  ------------------
  669|     78|        if (PyObject_SetAttrString((PyObject *)tv, "__module__", module) < 0) {
  ------------------
  |  Branch (669:13): [True: 0, False: 78]
  ------------------
  670|      0|            Py_DECREF(tv);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|      0|            return NULL;
  672|      0|        }
  673|     78|    }
  674|       |
  675|     88|    return tv;
  676|     88|}
typevarobject.c:paramspec_alloc:
 1291|      2|{
 1292|      2|    PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.paramspec_type;
 1293|      2|    paramspecobject *ps = PyObject_GC_New(paramspecobject, tp);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1294|      2|    if (ps == NULL) {
  ------------------
  |  Branch (1294:9): [True: 0, False: 2]
  ------------------
 1295|      0|        return NULL;
 1296|      0|    }
 1297|      2|    ps->name = Py_NewRef(name);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|      2|    ps->bound = Py_XNewRef(bound);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1299|      2|    ps->covariant = covariant;
 1300|      2|    ps->contravariant = contravariant;
 1301|      2|    ps->infer_variance = infer_variance;
 1302|      2|    ps->default_value = Py_XNewRef(default_value);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|      2|    ps->evaluate_default = NULL;
 1304|      2|    _PyObject_GC_TRACK(ps);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|      2|    if (module != NULL) {
  ------------------
  |  Branch (1305:9): [True: 2, False: 0]
  ------------------
 1306|      2|        if (PyObject_SetAttrString((PyObject *)ps, "__module__", module) < 0) {
  ------------------
  |  Branch (1306:13): [True: 0, False: 2]
  ------------------
 1307|      0|            Py_DECREF(ps);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|      0|            return NULL;
 1309|      0|        }
 1310|      2|    }
 1311|      2|    return ps;
 1312|      2|}
typevarobject.c:typealias_traverse:
 2106|     16|{
 2107|     16|    typealiasobject *self = typealiasobject_CAST(op);
  ------------------
  |  |   71|     16|#define typealiasobject_CAST(op)    ((typealiasobject *)(op))
  ------------------
 2108|     16|    Py_VISIT(self->name);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2109|     16|    Py_VISIT(self->qualname);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2110|     16|    Py_VISIT(self->type_params);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2111|     16|    Py_VISIT(self->compute_value);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2112|     16|    Py_VISIT(self->value);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2113|     16|    Py_VISIT(self->module);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2114|     16|    return 0;
 2115|     16|}
typevarobject.c:caller:
  392|     80|{
  393|     80|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
  394|     80|    if (f == NULL) {
  ------------------
  |  Branch (394:9): [True: 0, False: 80]
  ------------------
  395|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  396|      0|    }
  397|     80|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|     80|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     80|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     80|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 80]
  |  |  ------------------
  ------------------
  |  Branch (397:9): [True: 0, False: 80]
  ------------------
  398|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  399|      0|    }
  400|     80|    PyObject *r = PyFunction_GetModule(PyStackRef_AsPyObjectBorrow(f->f_funcobj));
  401|     80|    if (!r) {
  ------------------
  |  Branch (401:9): [True: 0, False: 80]
  ------------------
  402|      0|        PyErr_Clear();
  403|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  404|      0|    }
  405|     80|    return Py_NewRef(r);
  ------------------
  |  |  550|     80|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|     80|}
typevarobject.c:typealias_convert_type_params:
 2073|      2|{
 2074|      2|    if (
 2075|      2|        type_params == NULL
  ------------------
  |  Branch (2075:9): [True: 0, False: 2]
  ------------------
 2076|      2|        || Py_IsNone(type_params)
  ------------------
  |  |  621|      2|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      4|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|      0|        || (PyTuple_Check(type_params) && PyTuple_GET_SIZE(type_params) == 0)
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      || (PyTuple_Check(type_params) && PyTuple_GET_SIZE(type_params) == 0)
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2077:43): [True: 0, False: 0]
  ------------------
 2078|      2|    ) {
 2079|      2|        return NULL;
 2080|      2|    }
 2081|      0|    else {
 2082|      0|        return type_params;
 2083|      0|    }
 2084|      2|}
typevarobject.c:typealias_alloc:
 2089|      2|{
 2090|      2|    typealiasobject *ta = PyObject_GC_New(typealiasobject, &_PyTypeAlias_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2091|      2|    if (ta == NULL) {
  ------------------
  |  Branch (2091:9): [True: 0, False: 2]
  ------------------
 2092|      0|        return NULL;
 2093|      0|    }
 2094|      2|    ta->name = Py_NewRef(name);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2095|      2|    ta->qualname = Py_NewRef(qualname);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      2|    ta->type_params = Py_XNewRef(type_params);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|      2|    ta->compute_value = Py_XNewRef(compute_value);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      2|    ta->value = Py_XNewRef(value);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2099|      2|    ta->module = Py_XNewRef(module);
  ------------------
  |  |  551|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|      2|    _PyObject_GC_TRACK(ta);
  ------------------
  |  |  508|      2|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|      2|    return ta;
 2102|      2|}
typevarobject.c:unpack_typevartuples:
  442|      4|{
  443|      4|    assert(PyTuple_Check(params));
  444|       |    // TypeVarTuple must be unpacked when passed to Generic, so we do that here.
  445|      4|    if (contains_typevartuple((PyTupleObject *)params)) {
  ------------------
  |  Branch (445:9): [True: 0, False: 4]
  ------------------
  446|      0|        Py_ssize_t n = PyTuple_GET_SIZE(params);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|        PyObject *new_params = PyTuple_New(n);
  448|      0|        if (new_params == NULL) {
  ------------------
  |  Branch (448:13): [True: 0, False: 0]
  ------------------
  449|      0|            return NULL;
  450|      0|        }
  451|      0|        PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevartuple_type;
  452|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (452:32): [True: 0, False: 0]
  ------------------
  453|      0|            PyObject *param = PyTuple_GET_ITEM(params, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|      0|            if (Py_IS_TYPE(param, tp)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  455|      0|                PyObject *unpacked = unpack(param);
  456|      0|                if (unpacked == NULL) {
  ------------------
  |  Branch (456:21): [True: 0, False: 0]
  ------------------
  457|      0|                    Py_DECREF(new_params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|      0|                    return NULL;
  459|      0|                }
  460|      0|                PyTuple_SET_ITEM(new_params, i, unpacked);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|      0|            }
  462|      0|            else {
  463|      0|                PyTuple_SET_ITEM(new_params, i, Py_NewRef(param));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|      0|            }
  465|      0|        }
  466|      0|        return new_params;
  467|      0|    }
  468|      4|    else {
  469|      4|        return Py_NewRef(params);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      4|    }
  471|      4|}
typevarobject.c:contains_typevartuple:
  428|      4|{
  429|      4|    Py_ssize_t n = PyTuple_GET_SIZE(params);
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|      4|    PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevartuple_type;
  431|      8|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (431:28): [True: 4, False: 4]
  ------------------
  432|      4|        PyObject *param = PyTuple_GET_ITEM(params, i);
  ------------------
  |  |   29|      4|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|      4|        if (Py_IS_TYPE(param, tp)) {
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  434|      0|            return 1;
  435|      0|        }
  436|      4|    }
  437|      4|    return 0;
  438|      4|}
typevarobject.c:call_typing_func_object:
  337|     12|{
  338|     12|    PyObject *typing = PyImport_ImportModule("typing");
  339|     12|    if (typing == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 12]
  ------------------
  340|      0|        return NULL;
  341|      0|    }
  342|     12|    PyObject *func = PyObject_GetAttrString(typing, name);
  343|     12|    if (func == NULL) {
  ------------------
  |  Branch (343:9): [True: 0, False: 12]
  ------------------
  344|      0|        Py_DECREF(typing);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  345|      0|        return NULL;
  346|      0|    }
  347|     12|    PyObject *result = PyObject_Vectorcall(func, args, nargs, NULL);
  348|     12|    Py_DECREF(func);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|     12|    Py_DECREF(typing);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     12|    return result;
  351|     12|}
typevarobject.c:generic_class_getitem:
 2365|    242|{
 2366|    242|    return call_typing_args_kwargs("_generic_class_getitem",
 2367|    242|                                   (PyTypeObject*)cls, args, kwargs);
 2368|    242|}
typevarobject.c:call_typing_args_kwargs:
 2323|    358|{
 2324|    358|    PyObject *typing = NULL, *func = NULL, *new_args = NULL;
 2325|    358|    typing = PyImport_ImportModule("typing");
 2326|    358|    if (typing == NULL) {
  ------------------
  |  Branch (2326:9): [True: 0, False: 358]
  ------------------
 2327|      0|        goto error;
 2328|      0|    }
 2329|    358|    func = PyObject_GetAttrString(typing, name);
 2330|    358|    if (func == NULL) {
  ------------------
  |  Branch (2330:9): [True: 0, False: 358]
  ------------------
 2331|      0|        goto error;
 2332|      0|    }
 2333|    358|    assert(PyTuple_Check(args));
 2334|    358|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    358|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|    358|    new_args = PyTuple_New(nargs + 1);
 2336|    358|    if (new_args == NULL) {
  ------------------
  |  Branch (2336:9): [True: 0, False: 358]
  ------------------
 2337|      0|        goto error;
 2338|      0|    }
 2339|    358|    PyTuple_SET_ITEM(new_args, 0, Py_NewRef((PyObject *)cls));
  ------------------
  |  |   40|    358|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|    600|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2340:28): [True: 242, False: 358]
  ------------------
 2341|    242|        PyObject *arg = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|    242|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    242|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|    242|        PyTuple_SET_ITEM(new_args, i + 1, Py_NewRef(arg));
  ------------------
  |  |   40|    242|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2343|    242|    }
 2344|    358|    PyObject *result = PyObject_Call(func, new_args, kwargs);
 2345|    358|    Py_DECREF(typing);
  ------------------
  |  |  430|    358|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|    358|    Py_DECREF(func);
  ------------------
  |  |  430|    358|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2347|    358|    Py_DECREF(new_args);
  ------------------
  |  |  430|    358|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|    358|    return result;
 2349|      0|error:
 2350|      0|    Py_XDECREF(typing);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2351|      0|    Py_XDECREF(func);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2352|      0|    Py_XDECREF(new_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|       |    return NULL;
 2354|    358|}
typevarobject.c:generic_init_subclass:
 2358|    116|{
 2359|    116|    return call_typing_args_kwargs("_generic_init_subclass",
 2360|    116|                                   (PyTypeObject*)cls, args, kwargs);
 2361|    116|}
typevarobject.c:generic_dealloc:
 2397|   150k|{
 2398|   150k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|   150k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2399|   150k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|   150k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2400|   150k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   150k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2401|   150k|    Py_DECREF(tp);
  ------------------
  |  |  430|   150k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2402|   150k|}
typevarobject.c:typevar_typing_prepare_subst_impl:
  782|    104|{
  783|    104|    PyObject *params = PyObject_GetAttrString(alias, "__parameters__");
  784|    104|    if (params == NULL) {
  ------------------
  |  Branch (784:9): [True: 0, False: 104]
  ------------------
  785|      0|        return NULL;
  786|      0|    }
  787|    104|    Py_ssize_t i = PySequence_Index(params, (PyObject *)self);
  788|    104|    if (i == -1) {
  ------------------
  |  Branch (788:9): [True: 0, False: 104]
  ------------------
  789|      0|        Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|      0|        return NULL;
  791|      0|    }
  792|    104|    Py_ssize_t args_len = PySequence_Length(args);
  ------------------
  |  |  682|    104|#define PySequence_Length PySequence_Size
  ------------------
  793|    104|    if (args_len == -1) {
  ------------------
  |  Branch (793:9): [True: 0, False: 104]
  ------------------
  794|      0|        Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|      0|        return NULL;
  796|      0|    }
  797|    104|    if (i < args_len) {
  ------------------
  |  Branch (797:9): [True: 104, False: 0]
  ------------------
  798|       |        // We already have a value for our TypeVar
  799|    104|        Py_DECREF(params);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|    104|        return Py_NewRef(args);
  ------------------
  |  |  550|    104|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|    104|    }
  802|      0|    else if (i == args_len) {
  ------------------
  |  Branch (802:14): [True: 0, False: 0]
  ------------------
  803|       |        // If the TypeVar has a default, use it.
  804|      0|        PyObject *dflt = typevar_default((PyObject *)self, NULL);
  805|      0|        if (dflt == NULL) {
  ------------------
  |  Branch (805:13): [True: 0, False: 0]
  ------------------
  806|      0|            Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  807|      0|            return NULL;
  808|      0|        }
  809|      0|        if (dflt != &_Py_NoDefaultStruct) {
  ------------------
  |  Branch (809:13): [True: 0, False: 0]
  ------------------
  810|      0|            PyObject *new_args = PyTuple_Pack(1, dflt);
  811|      0|            Py_DECREF(dflt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  812|      0|            if (new_args == NULL) {
  ------------------
  |  Branch (812:17): [True: 0, False: 0]
  ------------------
  813|      0|                Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  814|      0|                return NULL;
  815|      0|            }
  816|      0|            PyObject *result = PySequence_Concat(args, new_args);
  817|      0|            Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|      0|            Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|      0|            return result;
  820|      0|        }
  821|      0|    }
  822|      0|    Py_DECREF(params);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|      0|    PyErr_Format(PyExc_TypeError,
  824|      0|                 "Too few arguments for %S; actual %zd, expected at least %zd",
  825|      0|                 alias, args_len, i + 1);
  826|       |    return NULL;
  827|    104|}
typevarobject.c:typevar_has_default_impl:
  850|     20|{
  851|     20|    if (self->evaluate_default != NULL ||
  ------------------
  |  Branch (851:9): [True: 0, False: 20]
  ------------------
  852|     20|        (self->default_value != &_Py_NoDefaultStruct && self->default_value != NULL)) {
  ------------------
  |  Branch (852:10): [True: 4, False: 16]
  |  Branch (852:57): [True: 0, False: 4]
  ------------------
  853|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  854|      0|    }
  855|     20|    Py_RETURN_FALSE;
  ------------------
  |  |   45|     20|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     20|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|     20|}
typevarobject.c:make_union:
  380|      4|{
  381|      4|    PyObject *args = _PyTuple_FromPair(self, other);
  382|      4|    if (args == NULL) {
  ------------------
  |  Branch (382:9): [True: 0, False: 4]
  ------------------
  383|      0|        return NULL;
  384|      0|    }
  385|      4|    PyObject *u = _Py_union_from_tuple(args);
  386|      4|    Py_DECREF(args);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|      4|    return u;
  388|      4|}
typevarobject.c:typevar_new_impl:
  698|     78|{
  699|     78|    if (covariant && contravariant) {
  ------------------
  |  Branch (699:9): [True: 10, False: 68]
  |  Branch (699:22): [True: 0, False: 10]
  ------------------
  700|      0|        PyErr_SetString(PyExc_ValueError,
  701|      0|                        "Bivariant types are not supported.");
  702|      0|        return NULL;
  703|      0|    }
  704|       |
  705|     78|    if (infer_variance && (covariant || contravariant)) {
  ------------------
  |  Branch (705:9): [True: 0, False: 78]
  |  Branch (705:28): [True: 0, False: 0]
  |  Branch (705:41): [True: 0, False: 0]
  ------------------
  706|      0|        PyErr_SetString(PyExc_ValueError,
  707|      0|                        "Variance cannot be specified with infer_variance.");
  708|      0|        return NULL;
  709|      0|    }
  710|       |
  711|     78|    if (Py_IsNone(bound)) {
  ------------------
  |  |  621|     78|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     78|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 70, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|     70|        bound = NULL;
  713|     70|    }
  714|     78|    if (bound != NULL) {
  ------------------
  |  Branch (714:9): [True: 8, False: 70]
  ------------------
  715|      8|        bound = type_check(bound, "Bound must be a type.");
  716|      8|        if (bound == NULL) {
  ------------------
  |  Branch (716:13): [True: 0, False: 8]
  ------------------
  717|      0|            return NULL;
  718|      0|        }
  719|      8|    }
  720|       |
  721|     78|    assert(PyTuple_CheckExact(constraints));
  722|     78|    Py_ssize_t n_constraints = PyTuple_GET_SIZE(constraints);
  ------------------
  |  |   27|     78|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|     78|    if (n_constraints == 1) {
  ------------------
  |  Branch (723:9): [True: 0, False: 78]
  ------------------
  724|      0|        PyErr_SetString(PyExc_TypeError,
  725|      0|                        "A single constraint is not allowed");
  726|      0|        Py_XDECREF(bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|      0|        return NULL;
  728|     78|    } else if (n_constraints == 0) {
  ------------------
  |  Branch (728:16): [True: 76, False: 2]
  ------------------
  729|     76|        constraints = NULL;
  730|     76|    } else if (bound != NULL) {
  ------------------
  |  Branch (730:16): [True: 0, False: 2]
  ------------------
  731|      0|        PyErr_SetString(PyExc_TypeError,
  732|      0|                        "Constraints cannot be combined with bound=...");
  733|      0|        Py_XDECREF(bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      0|        return NULL;
  735|      0|    }
  736|     78|    PyObject *module = caller();
  737|     78|    if (module == NULL) {
  ------------------
  |  Branch (737:9): [True: 0, False: 78]
  ------------------
  738|      0|        Py_XDECREF(bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|      0|        return NULL;
  740|      0|    }
  741|       |
  742|     78|    PyObject *tv = (PyObject *)typevar_alloc(name, bound, NULL,
  743|     78|                                             constraints, NULL,
  744|     78|                                             default_value,
  745|     78|                                             covariant, contravariant,
  746|     78|                                             infer_variance, module);
  747|     78|    Py_XDECREF(bound);
  ------------------
  |  |  524|     78|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|     78|    Py_XDECREF(module);
  ------------------
  |  |  524|     78|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|     78|    return tv;
  750|     78|}
typevarobject.c:type_check:
  355|     10|{
  356|       |    // Calling typing.py here leads to bootstrapping problems
  357|     10|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|     10|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     10|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 2, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      2|        return Py_NewRef(Py_TYPE(arg));
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      2|    }
  360|      8|    PyObject *message_str = PyUnicode_FromString(msg);
  361|      8|    if (message_str == NULL) {
  ------------------
  |  Branch (361:9): [True: 0, False: 8]
  ------------------
  362|      0|        return NULL;
  363|      0|    }
  364|      8|    PyObject *args[2] = {arg, message_str};
  365|      8|    PyObject *result = call_typing_func_object("_type_check", args, 2);
  366|      8|    Py_DECREF(message_str);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  367|      8|    return result;
  368|      8|}
typevarobject.c:typevar_traverse:
  497|    692|{
  498|    692|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 692, False: 0]
  |  |  ------------------
  |  |  196|    692|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    692|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    692|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    692|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 692]
  |  |  ------------------
  |  |  198|    692|                return vret;                                            \
  |  |  199|    692|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  499|    692|    typevarobject *tv = typevarobject_CAST(self);
  ------------------
  |  |   68|    692|#define typevarobject_CAST(op)      ((typevarobject *)(op))
  ------------------
  500|    692|    Py_VISIT(tv->name);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 692, False: 0]
  |  |  ------------------
  |  |  196|    692|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    692|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    692|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    692|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 692]
  |  |  ------------------
  |  |  198|    692|                return vret;                                            \
  |  |  199|    692|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  501|    692|    Py_VISIT(tv->bound);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 64, False: 628]
  |  |  ------------------
  |  |  196|     64|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     64|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 64]
  |  |  ------------------
  |  |  198|     64|                return vret;                                            \
  |  |  199|     64|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  502|    692|    Py_VISIT(tv->evaluate_bound);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 676]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  503|    692|    Py_VISIT(tv->constraints);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 676]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  504|    692|    Py_VISIT(tv->evaluate_constraints);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 692]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  505|    692|    Py_VISIT(tv->default_value);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 612, False: 80]
  |  |  ------------------
  |  |  196|    612|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    612|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    612|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    612|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 612]
  |  |  ------------------
  |  |  198|    612|                return vret;                                            \
  |  |  199|    612|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  506|    692|    Py_VISIT(tv->evaluate_default);
  ------------------
  |  |  194|    692|    do {                                                                \
  |  |  195|    692|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 692]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|    692|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 692]
  |  |  ------------------
  ------------------
  507|    692|    return PyObject_VisitManagedDict(self, visit, arg);
  508|    692|}
typevarobject.c:typevar_repr:
  527|      2|{
  528|      2|    typevarobject *tv = typevarobject_CAST(self);
  ------------------
  |  |   68|      2|#define typevarobject_CAST(op)      ((typevarobject *)(op))
  ------------------
  529|       |
  530|      2|    if (tv->infer_variance) {
  ------------------
  |  Branch (530:9): [True: 0, False: 2]
  ------------------
  531|      0|        return Py_NewRef(tv->name);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      0|    }
  533|       |
  534|      2|    char variance = tv->covariant ? '+' : tv->contravariant ? '-' : '~';
  ------------------
  |  Branch (534:21): [True: 2, False: 0]
  |  Branch (534:43): [True: 0, False: 0]
  ------------------
  535|      2|    return PyUnicode_FromFormat("%c%U", variance, tv->name);
  536|      2|}
typevarobject.c:paramspec_new_impl:
 1334|      2|{
 1335|      2|    if (covariant && contravariant) {
  ------------------
  |  Branch (1335:9): [True: 0, False: 2]
  |  Branch (1335:22): [True: 0, False: 0]
  ------------------
 1336|      0|        PyErr_SetString(PyExc_ValueError, "Bivariant types are not supported.");
 1337|      0|        return NULL;
 1338|      0|    }
 1339|      2|    if (infer_variance && (covariant || contravariant)) {
  ------------------
  |  Branch (1339:9): [True: 0, False: 2]
  |  Branch (1339:28): [True: 0, False: 0]
  |  Branch (1339:41): [True: 0, False: 0]
  ------------------
 1340|      0|        PyErr_SetString(PyExc_ValueError, "Variance cannot be specified with infer_variance.");
 1341|      0|        return NULL;
 1342|      0|    }
 1343|      2|    if (bound != NULL) {
  ------------------
  |  Branch (1343:9): [True: 2, False: 0]
  ------------------
 1344|      2|        bound = type_check(bound, "Bound must be a type.");
 1345|      2|        if (bound == NULL) {
  ------------------
  |  Branch (1345:13): [True: 0, False: 2]
  ------------------
 1346|      0|            return NULL;
 1347|      0|        }
 1348|      2|    }
 1349|      2|    PyObject *module = caller();
 1350|      2|    if (module == NULL) {
  ------------------
  |  Branch (1350:9): [True: 0, False: 2]
  ------------------
 1351|      0|        Py_XDECREF(bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      0|        return NULL;
 1353|      0|    }
 1354|      2|    PyObject *ps = (PyObject *)paramspec_alloc(
 1355|      2|        name, bound, default_value, covariant, contravariant, infer_variance, module);
 1356|      2|    Py_XDECREF(bound);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|      2|    Py_DECREF(module);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|      2|    return ps;
 1359|      2|}
typevarobject.c:paramspec_traverse:
 1194|     16|{
 1195|     16|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1196|     16|    paramspecobject *ps = paramspecobject_CAST(self);
  ------------------
  |  |   70|     16|#define paramspecobject_CAST(op)    ((paramspecobject *)(op))
  ------------------
 1197|     16|    Py_VISIT(ps->name);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1198|     16|    Py_VISIT(ps->bound);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1199|     16|    Py_VISIT(ps->default_value);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1200|     16|    Py_VISIT(ps->evaluate_default);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1201|     16|    return PyObject_VisitManagedDict(self, visit, arg);
 1202|     16|}

_PyUnicode_FormatLong:
  189|  80.1k|{
  190|  80.1k|    PyObject *result = NULL;
  191|  80.1k|    char *buf;
  192|  80.1k|    Py_ssize_t i;
  193|  80.1k|    int sign;           /* 1 if '-', else 0 */
  194|  80.1k|    int len;            /* number of characters */
  195|  80.1k|    Py_ssize_t llen;
  196|  80.1k|    int numdigits;      /* len == numnondigits + numdigits */
  197|  80.1k|    int numnondigits = 0;
  198|       |
  199|       |    /* Avoid exceeding SSIZE_T_MAX */
  200|  80.1k|    if (prec > INT_MAX-3) {
  ------------------
  |  Branch (200:9): [True: 0, False: 80.1k]
  ------------------
  201|      0|        PyErr_SetString(PyExc_OverflowError,
  202|      0|                        "precision too large");
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|  80.1k|    assert(PyLong_Check(val));
  207|       |
  208|  80.1k|    switch (type) {
  209|      0|    default:
  ------------------
  |  Branch (209:5): [True: 0, False: 80.1k]
  ------------------
  210|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  211|      0|    case 'd':
  ------------------
  |  Branch (211:5): [True: 0, False: 80.1k]
  ------------------
  212|      0|    case 'i':
  ------------------
  |  Branch (212:5): [True: 0, False: 80.1k]
  ------------------
  213|      0|    case 'u':
  ------------------
  |  Branch (213:5): [True: 0, False: 80.1k]
  ------------------
  214|       |        /* int and int subclasses should print numerically when a numeric */
  215|       |        /* format code is used (see issue18780) */
  216|      0|        result = PyNumber_ToBase(val, 10);
  217|      0|        break;
  218|  79.6k|    case 'o':
  ------------------
  |  Branch (218:5): [True: 79.6k, False: 512]
  ------------------
  219|  79.6k|        numnondigits = 2;
  220|  79.6k|        result = PyNumber_ToBase(val, 8);
  221|  79.6k|        break;
  222|      0|    case 'x':
  ------------------
  |  Branch (222:5): [True: 0, False: 80.1k]
  ------------------
  223|    512|    case 'X':
  ------------------
  |  Branch (223:5): [True: 512, False: 79.6k]
  ------------------
  224|    512|        numnondigits = 2;
  225|    512|        result = PyNumber_ToBase(val, 16);
  226|    512|        break;
  227|  80.1k|    }
  228|  80.1k|    if (!result)
  ------------------
  |  Branch (228:9): [True: 0, False: 80.1k]
  ------------------
  229|      0|        return NULL;
  230|       |
  231|  80.1k|    assert(_PyUnicode_IsModifiable(result));
  232|  80.1k|    assert(PyUnicode_IS_ASCII(result));
  233|       |
  234|       |    /* To modify the string in-place, there can only be one reference. */
  235|  80.1k|    if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (235:9): [True: 0, False: 80.1k]
  ------------------
  236|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  238|      0|        return NULL;
  239|      0|    }
  240|  80.1k|    buf = PyUnicode_DATA(result);
  ------------------
  |  |  284|  80.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  80.1k|    llen = PyUnicode_GET_LENGTH(result);
  ------------------
  |  |  299|  80.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|  80.1k|    if (llen > INT_MAX) {
  ------------------
  |  Branch (242:9): [True: 0, False: 80.1k]
  ------------------
  243|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|      0|        PyErr_SetString(PyExc_ValueError,
  245|      0|                        "string too large in _PyUnicode_FormatLong");
  246|      0|        return NULL;
  247|      0|    }
  248|  80.1k|    len = (int)llen;
  249|  80.1k|    sign = buf[0] == '-';
  250|  80.1k|    numnondigits += sign;
  251|  80.1k|    numdigits = len - numnondigits;
  252|  80.1k|    assert(numdigits > 0);
  253|       |
  254|       |    /* Get rid of base marker unless F_ALT */
  255|  80.1k|    if (((alt) == 0 &&
  ------------------
  |  Branch (255:10): [True: 80.1k, False: 0]
  ------------------
  256|  80.1k|        (type == 'o' || type == 'x' || type == 'X'))) {
  ------------------
  |  Branch (256:10): [True: 79.6k, False: 512]
  |  Branch (256:25): [True: 0, False: 512]
  |  Branch (256:40): [True: 512, False: 0]
  ------------------
  257|  80.1k|        assert(buf[sign] == '0');
  258|  80.1k|        assert(buf[sign+1] == 'x' || buf[sign+1] == 'X' ||
  259|  80.1k|               buf[sign+1] == 'o');
  260|  80.1k|        numnondigits -= 2;
  261|  80.1k|        buf += 2;
  262|  80.1k|        len -= 2;
  263|  80.1k|        if (sign)
  ------------------
  |  Branch (263:13): [True: 0, False: 80.1k]
  ------------------
  264|      0|            buf[0] = '-';
  265|  80.1k|        assert(len == numnondigits + numdigits);
  266|  80.1k|        assert(numdigits > 0);
  267|  80.1k|    }
  268|       |
  269|       |    /* Fill with leading zeroes to meet minimum width. */
  270|  80.1k|    if (prec > numdigits) {
  ------------------
  |  Branch (270:9): [True: 0, False: 80.1k]
  ------------------
  271|      0|        PyObject *r1 = PyBytes_FromStringAndSize(NULL,
  272|      0|                                numnondigits + prec);
  273|      0|        char *b1;
  274|      0|        if (!r1) {
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|      0|            return NULL;
  277|      0|        }
  278|      0|        b1 = PyBytes_AS_STRING(r1);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|      0|        for (i = 0; i < numnondigits; ++i)
  ------------------
  |  Branch (279:21): [True: 0, False: 0]
  ------------------
  280|      0|            *b1++ = *buf++;
  281|      0|        for (i = 0; i < prec - numdigits; i++)
  ------------------
  |  Branch (281:21): [True: 0, False: 0]
  ------------------
  282|      0|            *b1++ = '0';
  283|      0|        for (i = 0; i < numdigits; i++)
  ------------------
  |  Branch (283:21): [True: 0, False: 0]
  ------------------
  284|      0|            *b1++ = *buf++;
  285|      0|        *b1 = '\0';
  286|      0|        Py_SETREF(result, r1);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  287|      0|        buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      0|        len = numnondigits + prec;
  289|      0|    }
  290|       |
  291|       |    /* Fix up case for hex conversions. */
  292|  80.1k|    if (type == 'X') {
  ------------------
  |  Branch (292:9): [True: 512, False: 79.6k]
  ------------------
  293|       |        /* Need to convert all lower case letters to upper case.
  294|       |           and need to convert 0x to 0X (and -0x to -0X). */
  295|  1.50k|        for (i = 0; i < len; i++)
  ------------------
  |  Branch (295:21): [True: 992, False: 512]
  ------------------
  296|    992|            if (buf[i] >= 'a' && buf[i] <= 'x')
  ------------------
  |  Branch (296:17): [True: 384, False: 608]
  |  Branch (296:34): [True: 384, False: 0]
  ------------------
  297|    384|                buf[i] -= 'a'-'A';
  298|    512|    }
  299|  80.1k|    if (!PyUnicode_Check(result)
  ------------------
  |  |  103|  80.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   160k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (299:9): [True: 0, False: 80.1k]
  ------------------
  300|  80.1k|        || buf != PyUnicode_DATA(result)) {
  ------------------
  |  |  284|  80.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (300:12): [True: 80.1k, False: 0]
  ------------------
  301|  80.1k|        PyObject *unicode;
  302|  80.1k|        unicode = _PyUnicode_FromASCII(buf, len);
  303|  80.1k|        Py_SETREF(result, unicode);
  ------------------
  |  |  352|  80.1k|    do { \
  |  |  353|  80.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  80.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  80.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  80.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  80.1k|        *_tmp_dst_ptr = (src); \
  |  |  356|  80.1k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  80.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  80.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 80.1k]
  |  |  ------------------
  ------------------
  304|  80.1k|    }
  305|      0|    else if (len != PyUnicode_GET_LENGTH(result)) {
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (305:14): [True: 0, False: 0]
  ------------------
  306|      0|        if (PyUnicode_Resize(&result, len) < 0)
  ------------------
  |  Branch (306:13): [True: 0, False: 0]
  ------------------
  307|       |            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  308|      0|    }
  309|  80.1k|    return result;
  310|  80.1k|}
PyUnicode_Format:
 1023|  94.1k|{
 1024|  94.1k|    struct unicode_formatter_t ctx;
 1025|       |
 1026|  94.1k|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1026:9): [True: 0, False: 94.1k]
  |  Branch (1026:27): [True: 0, False: 94.1k]
  ------------------
 1027|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1028|      0|        return NULL;
 1029|      0|    }
 1030|       |
 1031|  94.1k|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|  94.1k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1031:9): [True: 0, False: 94.1k]
  ------------------
 1032|      0|        return NULL;
 1033|       |
 1034|  94.1k|    ctx.fmtstr = format;
 1035|  94.1k|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  284|  94.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|  94.1k|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  258|  94.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  94.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1037|  94.1k|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  299|  94.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|  94.1k|    ctx.fmtpos = 0;
 1039|       |
 1040|  94.1k|    _PyUnicodeWriter_Init(&ctx.writer);
 1041|  94.1k|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1042|  94.1k|    ctx.writer.overallocate = 1;
 1043|       |
 1044|  94.1k|    if (PyTuple_Check(args)) {
  ------------------
  |  |   27|  94.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 66.0k, False: 28.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  66.0k|        ctx.arglen = PyTuple_Size(args);
 1046|  66.0k|        ctx.argidx = 0;
 1047|  66.0k|    }
 1048|  28.0k|    else {
 1049|  28.0k|        ctx.arglen = -1;
 1050|  28.0k|        ctx.argidx = -2;
 1051|  28.0k|    }
 1052|  94.1k|    ctx.args_owned = 0;
 1053|  94.1k|    if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |   27|  66.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   160k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |  103|    356|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    356|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1053:9): [True: 66.4k, False: 27.7k]
  |  Branch (1053:34): [True: 356, False: 66.0k]
  |  Branch (1053:58): [True: 2, False: 354]
  ------------------
 1054|      2|        ctx.dict = args;
 1055|  94.1k|    else
 1056|  94.1k|        ctx.dict = NULL;
 1057|  94.1k|    ctx.args = args;
 1058|       |
 1059|   216k|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1059:12): [True: 122k, False: 94.1k]
  ------------------
 1060|   122k|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|   122k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   122k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   122k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   122k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   122k|                   (index))
  ------------------
  |  Branch (1060:13): [True: 28.4k, False: 94.1k]
  ------------------
 1061|  28.4k|            Py_ssize_t nonfmtpos;
 1062|       |
 1063|  28.4k|            nonfmtpos = ctx.fmtpos++;
 1064|  58.7k|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1064:20): [True: 31.2k, False: 27.5k]
  ------------------
 1065|  31.2k|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|  31.2k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  31.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  31.2k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  31.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  31.2k|                   (index))
  ------------------
  |  Branch (1065:20): [True: 30.3k, False: 888]
  ------------------
 1066|  30.3k|                ctx.fmtpos++;
 1067|  30.3k|                ctx.fmtcnt--;
 1068|  30.3k|            }
 1069|  28.4k|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1069:17): [True: 27.5k, False: 888]
  ------------------
 1070|  27.5k|                ctx.fmtpos--;
 1071|  27.5k|                ctx.writer.overallocate = 0;
 1072|  27.5k|            }
 1073|       |
 1074|  28.4k|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1074:17): [True: 0, False: 28.4k]
  ------------------
 1075|  28.4k|                                                nonfmtpos, ctx.fmtpos) < 0)
 1076|      0|                goto onError;
 1077|  28.4k|        }
 1078|  94.1k|        else {
 1079|  94.1k|            ctx.fmtpos++;
 1080|  94.1k|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1080:17): [True: 0, False: 94.1k]
  ------------------
 1081|      0|                goto onError;
 1082|  94.1k|        }
 1083|   122k|    }
 1084|       |
 1085|  94.1k|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 94.1k]
  |  Branch (1085:36): [True: 0, False: 0]
  ------------------
 1086|      0|        PyErr_Format(PyExc_TypeError,
 1087|      0|                     "not all arguments converted during string formatting "
 1088|      0|                     "(required %zd, got %zd)",
 1089|      0|                     ctx.arglen < 0 ? 0 : ctx.argidx,
  ------------------
  |  Branch (1089:22): [True: 0, False: 0]
  ------------------
 1090|      0|                     ctx.arglen < 0 ? 1 : ctx.arglen);
  ------------------
  |  Branch (1090:22): [True: 0, False: 0]
  ------------------
 1091|      0|        goto onError;
 1092|      0|    }
 1093|       |
 1094|  94.1k|    if (ctx.args_owned) {
  ------------------
  |  Branch (1094:9): [True: 2, False: 94.1k]
  ------------------
 1095|      2|        Py_DECREF(ctx.args);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      2|    }
 1097|  94.1k|    return _PyUnicodeWriter_Finish(&ctx.writer);
 1098|       |
 1099|      0|  onError:
 1100|      0|    _PyUnicodeWriter_Dealloc(&ctx.writer);
 1101|      0|    if (ctx.args_owned) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 0]
  ------------------
 1102|      0|        Py_DECREF(ctx.args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      0|    }
 1104|       |    return NULL;
 1105|  94.1k|}
unicode_format.c:unicode_format_arg:
  967|  94.1k|{
  968|  94.1k|    struct unicode_format_arg_t arg;
  969|  94.1k|    PyObject *str;
  970|  94.1k|    int ret;
  971|       |
  972|  94.1k|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  354|  94.1k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  94.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  94.1k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  94.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  94.1k|                   (index))
  ------------------
  973|  94.1k|    if (arg.ch == '%') {
  ------------------
  |  Branch (973:9): [True: 0, False: 94.1k]
  ------------------
  974|      0|        ctx->fmtpos++;
  975|      0|        ctx->fmtcnt--;
  976|      0|        if (_PyUnicodeWriter_WriteCharInline(&ctx->writer, '%') < 0)
  ------------------
  |  Branch (976:13): [True: 0, False: 0]
  ------------------
  977|      0|            return -1;
  978|      0|        return 0;
  979|      0|    }
  980|  94.1k|    arg.flags = 0;
  981|  94.1k|    arg.width = -1;
  982|  94.1k|    arg.prec = -1;
  983|  94.1k|    arg.sign = 0;
  984|  94.1k|    arg.fmtstart = ctx->fmtpos - 1;
  985|  94.1k|    arg.key = NULL;
  986|  94.1k|    str = NULL;
  987|       |
  988|  94.1k|    ret = unicode_format_arg_parse(ctx, &arg);
  989|  94.1k|    if (ret == -1) {
  ------------------
  |  Branch (989:9): [True: 0, False: 94.1k]
  ------------------
  990|      0|        goto onError;
  991|      0|    }
  992|       |
  993|  94.1k|    ret = unicode_format_arg_format(ctx, &arg, &str);
  994|  94.1k|    if (ret == -1) {
  ------------------
  |  Branch (994:9): [True: 0, False: 94.1k]
  ------------------
  995|      0|        goto onError;
  996|      0|    }
  997|       |
  998|  94.1k|    if (ret != 1) {
  ------------------
  |  Branch (998:9): [True: 80.5k, False: 13.6k]
  ------------------
  999|  80.5k|        ret = unicode_format_arg_output(ctx, &arg, str);
 1000|  80.5k|        Py_DECREF(str);
  ------------------
  |  |  430|  80.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|  80.5k|        if (ret == -1) {
  ------------------
  |  Branch (1001:13): [True: 0, False: 80.5k]
  ------------------
 1002|      0|            goto onError;
 1003|      0|        }
 1004|  80.5k|    }
 1005|       |
 1006|  94.1k|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1006:9): [True: 20, False: 94.1k]
  |  Branch (1006:22): [True: 0, False: 20]
  ------------------
 1007|       |        // XXX: Never happens?
 1008|      0|        PyErr_SetString(PyExc_TypeError,
 1009|      0|                        "not all arguments converted during string formatting");
 1010|      0|        goto onError;
 1011|      0|    }
 1012|  94.1k|    Py_XDECREF(arg.key);
  ------------------
  |  |  524|  94.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|  94.1k|    return 0;
 1014|       |
 1015|      0|  onError:
 1016|      0|    Py_XDECREF(arg.key);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|      0|    return -1;
 1018|  94.1k|}
unicode_format.c:unicode_format_arg_parse:
  461|  94.1k|{
  462|  94.1k|#define FORMAT_READ(ctx) \
  463|  94.1k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  464|       |
  465|  94.1k|    PyObject *v;
  466|       |
  467|  94.1k|    if (arg->ch == '(') {
  ------------------
  |  Branch (467:9): [True: 20, False: 94.1k]
  ------------------
  468|       |        /* Get argument value from a dictionary. Example: "%(name)s". */
  469|     20|        Py_ssize_t keystart;
  470|     20|        Py_ssize_t keylen;
  471|     20|        int pcount = 1;
  472|       |
  473|     20|        if (ctx->dict == NULL) {
  ------------------
  |  Branch (473:13): [True: 0, False: 20]
  ------------------
  474|      0|            PyErr_Format(PyExc_TypeError,
  475|      0|                         "format requires a mapping, not %T",
  476|      0|                         ctx->args);
  477|      0|            return -1;
  478|      0|        }
  479|     20|        ++ctx->fmtpos;
  480|     20|        --ctx->fmtcnt;
  481|     20|        keystart = ctx->fmtpos;
  482|       |        /* Skip over balanced parentheses */
  483|     82|        while (pcount > 0 && --ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (483:16): [True: 62, False: 20]
  |  Branch (483:30): [True: 62, False: 0]
  ------------------
  484|     62|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|     62|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|     62|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     62|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     62|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     62|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     62|                   (index))
  |  |  ------------------
  ------------------
  485|     62|            if (arg->ch == ')')
  ------------------
  |  Branch (485:17): [True: 20, False: 42]
  ------------------
  486|     20|                --pcount;
  487|     42|            else if (arg->ch == '(')
  ------------------
  |  Branch (487:22): [True: 0, False: 42]
  ------------------
  488|      0|                ++pcount;
  489|     62|            ctx->fmtpos++;
  490|     62|        }
  491|     20|        keylen = ctx->fmtpos - keystart - 1;
  492|     20|        if (ctx->fmtcnt < 0 || pcount > 0) {
  ------------------
  |  Branch (492:13): [True: 0, False: 20]
  |  Branch (492:32): [True: 0, False: 20]
  ------------------
  493|      0|            PyErr_Format(PyExc_ValueError,
  494|      0|                         "stray %% or incomplete format key at position %zd",
  495|      0|                         arg->fmtstart);
  496|      0|            return -1;
  497|      0|        }
  498|     20|        arg->key = PyUnicode_Substring(ctx->fmtstr,
  499|     20|                                       keystart, keystart + keylen);
  500|     20|        if (arg->key == NULL)
  ------------------
  |  Branch (500:13): [True: 0, False: 20]
  ------------------
  501|      0|            return -1;
  502|     20|        if (ctx->args_owned) {
  ------------------
  |  Branch (502:13): [True: 18, False: 2]
  ------------------
  503|     18|            ctx->args_owned = 0;
  504|     18|            Py_DECREF(ctx->args);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|     18|        }
  506|     20|        ctx->args = PyObject_GetItem(ctx->dict, arg->key);
  507|     20|        if (ctx->args == NULL)
  ------------------
  |  Branch (507:13): [True: 0, False: 20]
  ------------------
  508|      0|            return -1;
  509|     20|        ctx->args_owned = 1;
  510|     20|        ctx->arglen = -3;
  511|     20|        ctx->argidx = -4;
  512|     20|    }
  513|  94.1k|    else {
  514|  94.1k|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (514:13): [True: 0, False: 94.1k]
  ------------------
  515|      0|            PyErr_Format(PyExc_ValueError,
  516|      0|                         "format requires a parenthesised mapping key "
  517|      0|                         "at position %zd",
  518|      0|                         arg->fmtstart);
  519|      0|            return -1;
  520|      0|        }
  521|  94.1k|    }
  522|       |
  523|       |    /* Parse flags. Example: "%+i" => flags=F_SIGN. */
  524|   174k|    while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (524:12): [True: 174k, False: 0]
  ------------------
  525|   174k|        arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|   174k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|   174k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   174k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|   174k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   174k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|   174k|                   (index))
  |  |  ------------------
  ------------------
  526|   174k|        ctx->fmtpos++;
  527|   174k|        switch (arg->ch) {
  ------------------
  |  Branch (527:17): [True: 80.1k, False: 94.1k]
  ------------------
  528|      0|        case '-': arg->flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (528:9): [True: 0, False: 174k]
  ------------------
  529|      0|        case '+': arg->flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (529:9): [True: 0, False: 174k]
  ------------------
  530|      0|        case ' ': arg->flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (530:9): [True: 0, False: 174k]
  ------------------
  531|      0|        case '#': arg->flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (531:9): [True: 0, False: 174k]
  ------------------
  532|  80.1k|        case '0': arg->flags |= F_ZERO; continue;
  ------------------
  |  |   22|  80.1k|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (532:9): [True: 80.1k, False: 94.1k]
  ------------------
  533|   174k|        }
  534|  94.1k|        break;
  535|   174k|    }
  536|       |
  537|       |    /* Parse width. Example: "%10s" => width=10 */
  538|  94.1k|    if (arg->ch == '*') {
  ------------------
  |  Branch (538:9): [True: 66.0k, False: 28.1k]
  ------------------
  539|  66.0k|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (539:13): [True: 0, False: 66.0k]
  ------------------
  540|      0|            PyErr_Format(PyExc_ValueError,
  541|      0|                    "* cannot be used with a parenthesised mapping key "
  542|      0|                    "at position %zd",
  543|      0|                    arg->fmtstart);
  544|      0|            return -1;
  545|      0|        }
  546|  66.0k|        v = unicode_format_getnextarg(ctx, 0);
  547|  66.0k|        if (v == NULL)
  ------------------
  |  Branch (547:13): [True: 0, False: 66.0k]
  ------------------
  548|      0|            return -1;
  549|  66.0k|        if (!PyLong_Check(v)) {
  ------------------
  |  |   13|  66.0k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  66.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (549:13): [True: 0, False: 66.0k]
  ------------------
  550|      0|            FORMAT_ERROR(PyExc_TypeError, "* requires int, not %T", v);
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  551|      0|            return -1;
  552|      0|        }
  553|  66.0k|        arg->width = PyLong_AsSsize_t(v);
  554|  66.0k|        if (arg->width == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (554:13): [True: 0, False: 66.0k]
  |  Branch (554:33): [True: 0, False: 0]
  ------------------
  555|      0|            if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (555:17): [True: 0, False: 0]
  ------------------
  556|      0|                FORMAT_ERROR(PyExc_OverflowError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  557|      0|                             "too big for width%s", "");
  558|      0|            }
  559|      0|            return -1;
  560|      0|        }
  561|  66.0k|        if (arg->width < 0) {
  ------------------
  |  Branch (561:13): [True: 0, False: 66.0k]
  ------------------
  562|      0|            arg->flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  563|      0|            arg->width = -arg->width;
  564|      0|        }
  565|  66.0k|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (565:13): [True: 66.0k, False: 0]
  ------------------
  566|  66.0k|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|  66.0k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|  66.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  66.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|  66.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  66.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|  66.0k|                   (index))
  |  |  ------------------
  ------------------
  567|  66.0k|            ctx->fmtpos++;
  568|  66.0k|        }
  569|  66.0k|    }
  570|  28.1k|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (570:14): [True: 28.1k, False: 0]
  |  Branch (570:32): [True: 14.1k, False: 13.9k]
  ------------------
  571|  14.1k|        arg->width = arg->ch - '0';
  572|  14.1k|        while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (572:16): [True: 14.1k, False: 0]
  ------------------
  573|  14.1k|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|  14.1k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|  14.1k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  14.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|  14.1k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  14.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|  14.1k|                   (index))
  |  |  ------------------
  ------------------
  574|  14.1k|            ctx->fmtpos++;
  575|  14.1k|            if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (575:17): [True: 0, False: 14.1k]
  |  Branch (575:34): [True: 14.1k, False: 0]
  ------------------
  576|  14.1k|                break;
  577|       |            /* Since arg->ch is unsigned, the RHS would end up as unsigned,
  578|       |               mixing signed and unsigned comparison. Since arg->ch is between
  579|       |               '0' and '9', casting to int is safe. */
  580|      0|            if (arg->width > (PY_SSIZE_T_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (580:17): [True: 0, False: 0]
  ------------------
  581|      0|                PyErr_Format(PyExc_ValueError,
  582|      0|                             "width too big at position %zd",
  583|      0|                             arg->fmtstart);
  584|      0|                return -1;
  585|      0|            }
  586|      0|            arg->width = arg->width*10 + (arg->ch - '0');
  587|      0|        }
  588|  14.1k|    }
  589|       |
  590|       |    /* Parse precision. Example: "%.3f" => prec=3 */
  591|  94.1k|    if (arg->ch == '.') {
  ------------------
  |  Branch (591:9): [True: 0, False: 94.1k]
  ------------------
  592|      0|        arg->prec = 0;
  593|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (593:13): [True: 0, False: 0]
  ------------------
  594|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  595|      0|            ctx->fmtpos++;
  596|      0|        }
  597|      0|        if (arg->ch == '*') {
  ------------------
  |  Branch (597:13): [True: 0, False: 0]
  ------------------
  598|      0|            if (ctx->arglen < -1) {
  ------------------
  |  Branch (598:17): [True: 0, False: 0]
  ------------------
  599|      0|                PyErr_Format(PyExc_ValueError,
  600|      0|                        "* cannot be used with a parenthesised mapping key "
  601|      0|                        "at position %zd",
  602|      0|                        arg->fmtstart);
  603|      0|                return -1;
  604|      0|            }
  605|      0|            v = unicode_format_getnextarg(ctx, 0);
  606|      0|            if (v == NULL)
  ------------------
  |  Branch (606:17): [True: 0, False: 0]
  ------------------
  607|      0|                return -1;
  608|      0|            if (!PyLong_Check(v)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (608:17): [True: 0, False: 0]
  ------------------
  609|      0|                FORMAT_ERROR(PyExc_TypeError, "* requires int, not %T", v);
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  610|      0|                return -1;
  611|      0|            }
  612|      0|            arg->prec = PyLong_AsInt(v);
  613|      0|            if (arg->prec == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (613:17): [True: 0, False: 0]
  |  Branch (613:36): [True: 0, False: 0]
  ------------------
  614|      0|                if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (614:21): [True: 0, False: 0]
  ------------------
  615|      0|                    FORMAT_ERROR(PyExc_OverflowError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  616|      0|                                 "too big for precision%s", "");
  617|      0|                }
  618|      0|                return -1;
  619|      0|            }
  620|      0|            if (arg->prec < 0)
  ------------------
  |  Branch (620:17): [True: 0, False: 0]
  ------------------
  621|      0|                arg->prec = 0;
  622|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (622:17): [True: 0, False: 0]
  ------------------
  623|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  624|      0|                ctx->fmtpos++;
  625|      0|            }
  626|      0|        }
  627|      0|        else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (627:18): [True: 0, False: 0]
  |  Branch (627:36): [True: 0, False: 0]
  ------------------
  628|      0|            arg->prec = arg->ch - '0';
  629|      0|            while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (629:20): [True: 0, False: 0]
  ------------------
  630|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  631|      0|                ctx->fmtpos++;
  632|      0|                if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (632:21): [True: 0, False: 0]
  |  Branch (632:38): [True: 0, False: 0]
  ------------------
  633|      0|                    break;
  634|      0|                if (arg->prec > (INT_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  Branch (634:21): [True: 0, False: 0]
  ------------------
  635|      0|                    PyErr_Format(PyExc_ValueError,
  636|      0|                                 "precision too big at position %zd",
  637|      0|                                 arg->fmtstart);
  638|      0|                    return -1;
  639|      0|                }
  640|      0|                arg->prec = arg->prec*10 + (arg->ch - '0');
  641|      0|            }
  642|      0|        }
  643|      0|    }
  644|       |
  645|       |    /* Ignore "h", "l" and "L" format prefix (ex: "%hi" or "%ls") */
  646|  94.1k|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (646:9): [True: 94.1k, False: 0]
  ------------------
  647|  94.1k|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (647:13): [True: 0, False: 94.1k]
  |  Branch (647:31): [True: 0, False: 94.1k]
  |  Branch (647:49): [True: 0, False: 94.1k]
  ------------------
  648|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (648:17): [True: 0, False: 0]
  ------------------
  649|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  650|      0|                ctx->fmtpos++;
  651|      0|            }
  652|      0|        }
  653|  94.1k|    }
  654|  94.1k|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (654:9): [True: 0, False: 94.1k]
  ------------------
  655|      0|        PyErr_Format(PyExc_ValueError,
  656|      0|                     "stray %% at position %zd", arg->fmtstart);
  657|      0|        return -1;
  658|      0|    }
  659|  94.1k|    return 0;
  660|       |
  661|  94.1k|#undef FORMAT_READ
  662|  94.1k|}
unicode_format.c:unicode_format_getnextarg:
   98|   160k|{
   99|   160k|    Py_ssize_t argidx = ctx->argidx;
  100|       |
  101|   160k|    if (argidx < ctx->arglen && (allowone || ctx->arglen >= 0)) {
  ------------------
  |  Branch (101:9): [True: 160k, False: 0]
  |  Branch (101:34): [True: 94.1k, False: 66.0k]
  |  Branch (101:46): [True: 66.0k, False: 0]
  ------------------
  102|   160k|        ctx->argidx++;
  103|   160k|        if (ctx->arglen >= 0) {
  ------------------
  |  Branch (103:13): [True: 132k, False: 28.0k]
  ------------------
  104|   132k|            return PyTuple_GetItem(ctx->args, argidx);
  105|   132k|        }
  106|  28.0k|        else if (allowone) {
  ------------------
  |  Branch (106:18): [True: 28.0k, False: 0]
  ------------------
  107|  28.0k|            return ctx->args;
  108|  28.0k|        }
  109|   160k|    }
  110|      0|    PyErr_Format(PyExc_TypeError,
  111|      0|                 "not enough arguments for format string (got %zd)",
  112|      0|                 ctx->arglen < 0 ? 1 : ctx->arglen);
  ------------------
  |  Branch (112:18): [True: 0, False: 0]
  ------------------
  113|       |    return NULL;
  114|   160k|}
unicode_format.c:unicode_format_arg_format:
  683|  94.1k|{
  684|  94.1k|    PyObject *v;
  685|  94.1k|    _PyUnicodeWriter *writer = &ctx->writer;
  686|       |
  687|  94.1k|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (687:9): [True: 66.6k, False: 27.5k]
  ------------------
  688|  66.6k|        ctx->writer.overallocate = 0;
  689|       |
  690|  94.1k|    v = unicode_format_getnextarg(ctx, 1);
  691|  94.1k|    if (v == NULL)
  ------------------
  |  Branch (691:9): [True: 0, False: 94.1k]
  ------------------
  692|      0|        return -1;
  693|       |
  694|       |
  695|  94.1k|    switch (arg->ch) {
  696|    374|    case 's':
  ------------------
  |  Branch (696:5): [True: 374, False: 93.7k]
  ------------------
  697|    374|    case 'r':
  ------------------
  |  Branch (697:5): [True: 0, False: 94.1k]
  ------------------
  698|    374|    case 'a':
  ------------------
  |  Branch (698:5): [True: 0, False: 94.1k]
  ------------------
  699|    374|        if (PyLong_CheckExact(v) && arg->width == -1 && arg->prec == -1) {
  ------------------
  |  |   14|    374|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    748|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    374|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    374|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 374]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:37): [True: 0, False: 0]
  |  Branch (699:57): [True: 0, False: 0]
  ------------------
  700|       |            /* Fast path */
  701|      0|            if (_PyLong_FormatWriter(writer, v, 10, arg->flags & F_ALT) == -1)
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (701:17): [True: 0, False: 0]
  ------------------
  702|      0|                return -1;
  703|      0|            return 1;
  704|      0|        }
  705|       |
  706|    374|        if (PyUnicode_CheckExact(v) && arg->ch == 's') {
  ------------------
  |  |  104|    374|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    748|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    374|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    374|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 374, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (706:40): [True: 374, False: 0]
  ------------------
  707|    374|            *p_str = Py_NewRef(v);
  ------------------
  |  |  550|    374|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    374|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    374|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|    374|        }
  709|      0|        else {
  710|      0|            if (arg->ch == 's')
  ------------------
  |  Branch (710:17): [True: 0, False: 0]
  ------------------
  711|      0|                *p_str = PyObject_Str(v);
  712|      0|            else if (arg->ch == 'r')
  ------------------
  |  Branch (712:22): [True: 0, False: 0]
  ------------------
  713|      0|                *p_str = PyObject_Repr(v);
  714|      0|            else
  715|      0|                *p_str = PyObject_ASCII(v);
  716|      0|        }
  717|    374|        break;
  718|       |
  719|      0|    case 'i':
  ------------------
  |  Branch (719:5): [True: 0, False: 94.1k]
  ------------------
  720|  13.6k|    case 'd':
  ------------------
  |  Branch (720:5): [True: 13.6k, False: 80.5k]
  ------------------
  721|  13.6k|    case 'u':
  ------------------
  |  Branch (721:5): [True: 0, False: 94.1k]
  ------------------
  722|  93.2k|    case 'o':
  ------------------
  |  Branch (722:5): [True: 79.6k, False: 14.4k]
  ------------------
  723|  93.2k|    case 'x':
  ------------------
  |  Branch (723:5): [True: 0, False: 94.1k]
  ------------------
  724|  93.7k|    case 'X':
  ------------------
  |  Branch (724:5): [True: 512, False: 93.6k]
  ------------------
  725|  93.7k|    {
  726|  93.7k|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  727|  93.7k|        if (ret != 0)
  ------------------
  |  Branch (727:13): [True: 13.6k, False: 80.1k]
  ------------------
  728|  13.6k|            return ret;
  729|  80.1k|        arg->sign = 1;
  730|  80.1k|        break;
  731|  93.7k|    }
  732|       |
  733|      0|    case 'e':
  ------------------
  |  Branch (733:5): [True: 0, False: 94.1k]
  ------------------
  734|      0|    case 'E':
  ------------------
  |  Branch (734:5): [True: 0, False: 94.1k]
  ------------------
  735|      0|    case 'f':
  ------------------
  |  Branch (735:5): [True: 0, False: 94.1k]
  ------------------
  736|      0|    case 'F':
  ------------------
  |  Branch (736:5): [True: 0, False: 94.1k]
  ------------------
  737|      0|    case 'g':
  ------------------
  |  Branch (737:5): [True: 0, False: 94.1k]
  ------------------
  738|      0|    case 'G':
  ------------------
  |  Branch (738:5): [True: 0, False: 94.1k]
  ------------------
  739|      0|        if (arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (739:13): [True: 0, False: 0]
  |  Branch (739:33): [True: 0, False: 0]
  ------------------
  740|      0|            && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
                          && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (740:16): [True: 0, False: 0]
  ------------------
  741|      0|        {
  742|       |            /* Fast path */
  743|      0|            if (formatfloat(v, ctx, arg, NULL, writer) == -1)
  ------------------
  |  Branch (743:17): [True: 0, False: 0]
  ------------------
  744|      0|                return -1;
  745|      0|            return 1;
  746|      0|        }
  747|       |
  748|      0|        arg->sign = 1;
  749|      0|        if (formatfloat(v, ctx, arg, p_str, NULL) == -1)
  ------------------
  |  Branch (749:13): [True: 0, False: 0]
  ------------------
  750|      0|            return -1;
  751|      0|        break;
  752|       |
  753|      0|    case 'c':
  ------------------
  |  Branch (753:5): [True: 0, False: 94.1k]
  ------------------
  754|      0|    {
  755|      0|        Py_UCS4 ch = formatchar(v, ctx, arg);
  756|      0|        if (ch == (Py_UCS4) -1)
  ------------------
  |  Branch (756:13): [True: 0, False: 0]
  ------------------
  757|      0|            return -1;
  758|      0|        if (arg->width == -1 && arg->prec == -1) {
  ------------------
  |  Branch (758:13): [True: 0, False: 0]
  |  Branch (758:33): [True: 0, False: 0]
  ------------------
  759|       |            /* Fast path */
  760|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (760:17): [True: 0, False: 0]
  ------------------
  761|      0|                return -1;
  762|      0|            return 1;
  763|      0|        }
  764|      0|        *p_str = PyUnicode_FromOrdinal(ch);
  765|      0|        break;
  766|      0|    }
  767|       |
  768|      0|    default:
  ------------------
  |  Branch (768:5): [True: 0, False: 94.1k]
  ------------------
  769|      0|        if (arg->ch < 128 && Py_ISALPHA(arg->ch)) {
  ------------------
  |  |   23|      0|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (769:13): [True: 0, False: 0]
  ------------------
  770|      0|            PyErr_Format(PyExc_ValueError,
  771|      0|                         "unsupported format %%%c at position %zd",
  772|      0|                         (int)arg->ch, arg->fmtstart);
  773|      0|        }
  774|      0|        else if (arg->ch == '\'') {
  ------------------
  |  Branch (774:18): [True: 0, False: 0]
  ------------------
  775|      0|            PyErr_Format(PyExc_ValueError,
  776|      0|                         "stray %% at position %zd or unexpected "
  777|      0|                         "format character \"'\" at position %zd",
  778|      0|                         arg->fmtstart,
  779|      0|                         ctx->fmtpos - 1);
  780|      0|        }
  781|      0|        else if (arg->ch >= 32 && arg->ch < 127) {
  ------------------
  |  Branch (781:18): [True: 0, False: 0]
  |  Branch (781:35): [True: 0, False: 0]
  ------------------
  782|      0|            PyErr_Format(PyExc_ValueError,
  783|      0|                         "stray %% at position %zd or unexpected "
  784|      0|                         "format character '%c' at position %zd",
  785|      0|                         arg->fmtstart,
  786|      0|                         (int)arg->ch, ctx->fmtpos - 1);
  787|      0|        }
  788|      0|        else if (Py_UNICODE_ISPRINTABLE(arg->ch)) {
  ------------------
  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  789|      0|            PyErr_Format(PyExc_ValueError,
  790|      0|                         "stray %% at position %zd or unexpected "
  791|      0|                         "format character '%c' (U+%04X) at position %zd",
  792|      0|                         arg->fmtstart,
  793|      0|                         (int)arg->ch, (int)arg->ch, ctx->fmtpos - 1);
  794|      0|        }
  795|      0|        else {
  796|      0|            PyErr_Format(PyExc_ValueError,
  797|      0|                         "stray %% at position %zd or unexpected "
  798|      0|                         "format character U+%04X at position %zd",
  799|      0|                         arg->fmtstart, (int)arg->ch, ctx->fmtpos - 1);
  800|      0|        }
  801|      0|        return -1;
  802|  94.1k|    }
  803|  80.5k|    if (*p_str == NULL)
  ------------------
  |  Branch (803:9): [True: 0, False: 80.5k]
  ------------------
  804|      0|        return -1;
  805|  80.5k|    assert (PyUnicode_Check(*p_str));
  806|  80.5k|    return 0;
  807|  80.5k|}
unicode_format.c:mainformatlong:
  323|  93.7k|{
  324|  93.7k|    PyObject *iobj, *res;
  325|  93.7k|    char type = (char)arg->ch;
  326|       |
  327|  93.7k|    if (!PyNumber_Check(v))
  ------------------
  |  Branch (327:9): [True: 0, False: 93.7k]
  ------------------
  328|      0|        goto wrongtype;
  329|       |
  330|       |    /* make sure number is a type of integer for o, x, and X */
  331|  93.7k|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|  93.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  93.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (331:9): [True: 0, False: 93.7k]
  ------------------
  332|      0|        if (type == 'o' || type == 'x' || type == 'X') {
  ------------------
  |  Branch (332:13): [True: 0, False: 0]
  |  Branch (332:28): [True: 0, False: 0]
  |  Branch (332:43): [True: 0, False: 0]
  ------------------
  333|      0|            iobj = _PyNumber_Index(v);
  334|      0|        }
  335|      0|        else {
  336|      0|            iobj = PyNumber_Long(v);
  337|      0|        }
  338|      0|        if (iobj == NULL ) {
  ------------------
  |  Branch (338:13): [True: 0, False: 0]
  ------------------
  339|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (339:17): [True: 0, False: 0]
  ------------------
  340|      0|                goto wrongtype;
  341|      0|            return -1;
  342|      0|        }
  343|      0|        assert(PyLong_Check(iobj));
  344|      0|    }
  345|  93.7k|    else {
  346|  93.7k|        iobj = Py_NewRef(v);
  ------------------
  |  |  550|  93.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  93.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  93.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|  93.7k|    }
  348|       |
  349|  93.7k|    if (PyLong_CheckExact(v)
  ------------------
  |  |   14|  93.7k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   187k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  93.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  93.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 93.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|  93.7k|        && arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (350:12): [True: 13.6k, False: 80.1k]
  |  Branch (350:32): [True: 13.6k, False: 0]
  ------------------
  351|  13.6k|        && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   19|  13.6k|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   20|  13.6k|#define F_BLANK (1<<2)
  ------------------
  |  Branch (351:12): [True: 13.6k, False: 0]
  ------------------
  352|  13.6k|        && type != 'X')
  ------------------
  |  Branch (352:12): [True: 13.6k, False: 0]
  ------------------
  353|  13.6k|    {
  354|       |        /* Fast path */
  355|  13.6k|        int alternate = arg->flags & F_ALT;
  ------------------
  |  |   21|  13.6k|#define F_ALT   (1<<3)
  ------------------
  356|  13.6k|        int base;
  357|       |
  358|  13.6k|        switch(type)
  359|  13.6k|        {
  360|      0|            default:
  ------------------
  |  Branch (360:13): [True: 0, False: 13.6k]
  ------------------
  361|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  362|  13.6k|            case 'd':
  ------------------
  |  Branch (362:13): [True: 13.6k, False: 0]
  ------------------
  363|  13.6k|            case 'i':
  ------------------
  |  Branch (363:13): [True: 0, False: 13.6k]
  ------------------
  364|  13.6k|            case 'u':
  ------------------
  |  Branch (364:13): [True: 0, False: 13.6k]
  ------------------
  365|  13.6k|                base = 10;
  366|  13.6k|                break;
  367|      0|            case 'o':
  ------------------
  |  Branch (367:13): [True: 0, False: 13.6k]
  ------------------
  368|      0|                base = 8;
  369|      0|                break;
  370|      0|            case 'x':
  ------------------
  |  Branch (370:13): [True: 0, False: 13.6k]
  ------------------
  371|      0|            case 'X':
  ------------------
  |  Branch (371:13): [True: 0, False: 13.6k]
  ------------------
  372|      0|                base = 16;
  373|      0|                break;
  374|  13.6k|        }
  375|       |
  376|  13.6k|        if (_PyLong_FormatWriter(writer, v, base, alternate) == -1) {
  ------------------
  |  Branch (376:13): [True: 0, False: 13.6k]
  ------------------
  377|      0|            Py_DECREF(iobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  378|      0|            return -1;
  379|      0|        }
  380|  13.6k|        Py_DECREF(iobj);
  ------------------
  |  |  430|  13.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|  13.6k|        return 1;
  382|  13.6k|    }
  383|       |
  384|  80.1k|    res = _PyUnicode_FormatLong(iobj, arg->flags & F_ALT, arg->prec, type);
  ------------------
  |  |   21|  80.1k|#define F_ALT   (1<<3)
  ------------------
  385|  80.1k|    Py_DECREF(iobj);
  ------------------
  |  |  430|  80.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|  80.1k|    if (res == NULL)
  ------------------
  |  Branch (386:9): [True: 0, False: 80.1k]
  ------------------
  387|      0|        return -1;
  388|  80.1k|    *p_output = res;
  389|  80.1k|    return 0;
  390|       |
  391|      0|wrongtype:
  392|      0|    switch(type)
  393|      0|    {
  394|      0|        case 'o':
  ------------------
  |  Branch (394:9): [True: 0, False: 0]
  ------------------
  395|      0|        case 'x':
  ------------------
  |  Branch (395:9): [True: 0, False: 0]
  ------------------
  396|      0|        case 'X':
  ------------------
  |  Branch (396:9): [True: 0, False: 0]
  ------------------
  397|      0|            FORMAT_ERROR(PyExc_TypeError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  398|      0|                         "%%%c requires an integer, not %T",
  399|      0|                         arg->ch, v);
  400|      0|            break;
  401|      0|        default:
  ------------------
  |  Branch (401:9): [True: 0, False: 0]
  ------------------
  402|      0|            FORMAT_ERROR(PyExc_TypeError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  403|      0|                         "%%%c requires a real number, not %T",
  404|      0|                         arg->ch, v);
  405|      0|            break;
  406|      0|    }
  407|      0|    return -1;
  408|      0|}
unicode_format.c:unicode_format_arg_output:
  814|  80.5k|{
  815|  80.5k|    Py_ssize_t len;
  816|  80.5k|    int kind;
  817|  80.5k|    const void *pbuf;
  818|  80.5k|    Py_ssize_t pindex;
  819|  80.5k|    Py_UCS4 signchar;
  820|  80.5k|    Py_ssize_t buflen;
  821|  80.5k|    Py_UCS4 maxchar;
  822|  80.5k|    Py_ssize_t sublen;
  823|  80.5k|    _PyUnicodeWriter *writer = &ctx->writer;
  824|  80.5k|    Py_UCS4 fill;
  825|       |
  826|  80.5k|    fill = ' ';
  827|  80.5k|    if (arg->sign && arg->flags & F_ZERO)
  ------------------
  |  |   22|  80.1k|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (827:9): [True: 80.1k, False: 374]
  |  Branch (827:22): [True: 80.1k, False: 0]
  ------------------
  828|  80.1k|        fill = '0';
  829|       |
  830|  80.5k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  80.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|  80.5k|    if ((arg->width == -1 || arg->width <= len)
  ------------------
  |  Branch (831:10): [True: 374, False: 80.1k]
  |  Branch (831:30): [True: 496, False: 79.6k]
  ------------------
  832|    870|        && (arg->prec == -1 || arg->prec >= len)
  ------------------
  |  Branch (832:13): [True: 870, False: 0]
  |  Branch (832:32): [True: 0, False: 0]
  ------------------
  833|    870|        && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|    870|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|    870|#define F_BLANK (1<<2)
  ------------------
  |  Branch (833:12): [True: 870, False: 0]
  ------------------
  834|    870|    {
  835|       |        /* Fast path */
  836|    870|        if (_PyUnicodeWriter_WriteStr(writer, str) == -1)
  ------------------
  |  Branch (836:13): [True: 0, False: 870]
  ------------------
  837|      0|            return -1;
  838|    870|        return 0;
  839|    870|    }
  840|       |
  841|       |    /* Truncate the string for "s", "r" and "a" formats
  842|       |       if the precision is set */
  843|  79.6k|    if (arg->ch == 's' || arg->ch == 'r' || arg->ch == 'a') {
  ------------------
  |  Branch (843:9): [True: 0, False: 79.6k]
  |  Branch (843:27): [True: 0, False: 79.6k]
  |  Branch (843:45): [True: 0, False: 79.6k]
  ------------------
  844|      0|        if (arg->prec >= 0 && len > arg->prec)
  ------------------
  |  Branch (844:13): [True: 0, False: 0]
  |  Branch (844:31): [True: 0, False: 0]
  ------------------
  845|      0|            len = arg->prec;
  846|      0|    }
  847|       |
  848|       |    /* Adjust sign and width */
  849|  79.6k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|  79.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  79.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  850|  79.6k|    pbuf = PyUnicode_DATA(str);
  ------------------
  |  |  284|  79.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|  79.6k|    pindex = 0;
  852|  79.6k|    signchar = '\0';
  853|  79.6k|    if (arg->sign) {
  ------------------
  |  Branch (853:9): [True: 79.6k, False: 0]
  ------------------
  854|  79.6k|        Py_UCS4 ch = PyUnicode_READ(kind, pbuf, pindex);
  ------------------
  |  |  354|  79.6k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  79.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  79.6k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  79.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  79.6k|                   (index))
  ------------------
  855|  79.6k|        if (ch == '-' || ch == '+') {
  ------------------
  |  Branch (855:13): [True: 0, False: 79.6k]
  |  Branch (855:26): [True: 0, False: 79.6k]
  ------------------
  856|      0|            signchar = ch;
  857|      0|            len--;
  858|      0|            pindex++;
  859|      0|        }
  860|  79.6k|        else if (arg->flags & F_SIGN)
  ------------------
  |  |   19|  79.6k|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (860:18): [True: 0, False: 79.6k]
  ------------------
  861|      0|            signchar = '+';
  862|  79.6k|        else if (arg->flags & F_BLANK)
  ------------------
  |  |   20|  79.6k|#define F_BLANK (1<<2)
  ------------------
  |  Branch (862:18): [True: 0, False: 79.6k]
  ------------------
  863|      0|            signchar = ' ';
  864|  79.6k|        else
  865|  79.6k|            arg->sign = 0;
  866|  79.6k|    }
  867|  79.6k|    if (arg->width < len)
  ------------------
  |  Branch (867:9): [True: 0, False: 79.6k]
  ------------------
  868|      0|        arg->width = len;
  869|       |
  870|       |    /* Prepare the writer */
  871|  79.6k|    maxchar = writer->maxchar;
  872|  79.6k|    if (!(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|  79.6k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (872:9): [True: 79.6k, False: 0]
  ------------------
  873|  79.6k|        if (arg->sign) {
  ------------------
  |  Branch (873:13): [True: 0, False: 79.6k]
  ------------------
  874|      0|            if ((arg->width-1) > len)
  ------------------
  |  Branch (874:17): [True: 0, False: 0]
  ------------------
  875|      0|                maxchar = Py_MAX(maxchar, fill);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  876|      0|        }
  877|  79.6k|        else {
  878|  79.6k|            if (arg->width > len)
  ------------------
  |  Branch (878:17): [True: 79.6k, False: 0]
  ------------------
  879|  79.6k|                maxchar = Py_MAX(maxchar, fill);
  ------------------
  |  |  115|  79.6k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 32, False: 79.6k]
  |  |  ------------------
  ------------------
  880|  79.6k|        }
  881|  79.6k|    }
  882|  79.6k|    if (PyUnicode_MAX_CHAR_VALUE(str) > maxchar) {
  ------------------
  |  |  405|  79.6k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (882:9): [True: 79.6k, False: 32]
  ------------------
  883|  79.6k|        Py_UCS4 strmaxchar = _PyUnicode_FindMaxChar(str, 0, pindex+len);
  884|  79.6k|        maxchar = Py_MAX(maxchar, strmaxchar);
  ------------------
  |  |  115|  79.6k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 79.6k]
  |  |  ------------------
  ------------------
  885|  79.6k|    }
  886|       |
  887|  79.6k|    buflen = arg->width;
  888|  79.6k|    if (arg->sign && len == arg->width)
  ------------------
  |  Branch (888:9): [True: 0, False: 79.6k]
  |  Branch (888:22): [True: 0, False: 0]
  ------------------
  889|      0|        buflen++;
  890|  79.6k|    if (_PyUnicodeWriter_Prepare(writer, buflen, maxchar) == -1)
  ------------------
  |  |  562|  79.6k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 32, False: 79.6k]
  |  |  ------------------
  |  |  563|  79.6k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 32, False: 0]
  |  |  ------------------
  |  |  564|  79.6k|     ? 0                                                              \
  |  |  565|  79.6k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 79.6k]
  |  |  ------------------
  |  |  566|  79.6k|        ? 0                                                           \
  |  |  567|  79.6k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (890:9): [True: 0, False: 79.6k]
  ------------------
  891|      0|        return -1;
  892|       |
  893|       |    /* Write the sign if needed */
  894|  79.6k|    if (arg->sign) {
  ------------------
  |  Branch (894:9): [True: 0, False: 79.6k]
  ------------------
  895|      0|        if (fill != ' ') {
  ------------------
  |  Branch (895:13): [True: 0, False: 0]
  ------------------
  896|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos, signchar);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  897|      0|            writer->pos += 1;
  898|      0|        }
  899|      0|        if (arg->width > len)
  ------------------
  |  Branch (899:13): [True: 0, False: 0]
  ------------------
  900|      0|            arg->width--;
  901|      0|    }
  902|       |
  903|       |    /* Write the numeric prefix for "x", "X" and "o" formats
  904|       |       if the alternate form is used.
  905|       |       For example, write "0x" for the "%#x" format. */
  906|  79.6k|    if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) {
  ------------------
  |  |   21|  79.6k|#define F_ALT   (1<<3)
  ------------------
  |  Branch (906:9): [True: 0, False: 79.6k]
  |  Branch (906:34): [True: 0, False: 0]
  |  Branch (906:52): [True: 0, False: 0]
  |  Branch (906:70): [True: 0, False: 0]
  ------------------
  907|      0|        assert(PyUnicode_READ(kind, pbuf, pindex) == '0');
  908|      0|        assert(PyUnicode_READ(kind, pbuf, pindex + 1) == arg->ch);
  909|      0|        if (fill != ' ') {
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos, '0');
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  911|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos+1, arg->ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  912|      0|            writer->pos += 2;
  913|      0|            pindex += 2;
  914|      0|        }
  915|      0|        arg->width -= 2;
  916|      0|        if (arg->width < 0)
  ------------------
  |  Branch (916:13): [True: 0, False: 0]
  ------------------
  917|      0|            arg->width = 0;
  918|      0|        len -= 2;
  919|      0|    }
  920|       |
  921|       |    /* Pad left with the fill character if needed */
  922|  79.6k|    if (arg->width > len && !(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|  79.6k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (922:9): [True: 79.6k, False: 0]
  |  Branch (922:29): [True: 79.6k, False: 0]
  ------------------
  923|  79.6k|        sublen = arg->width - len;
  924|  79.6k|        _PyUnicode_Fill(writer->kind, writer->data, fill, writer->pos, sublen);
  925|  79.6k|        writer->pos += sublen;
  926|  79.6k|        arg->width = len;
  927|  79.6k|    }
  928|       |
  929|       |    /* If padding with spaces: write sign if needed and/or numeric prefix if
  930|       |       the alternate form is used */
  931|  79.6k|    if (fill == ' ') {
  ------------------
  |  Branch (931:9): [True: 0, False: 79.6k]
  ------------------
  932|      0|        if (arg->sign) {
  ------------------
  |  Branch (932:13): [True: 0, False: 0]
  ------------------
  933|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos, signchar);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  934|      0|            writer->pos += 1;
  935|      0|        }
  936|      0|        if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (936:13): [True: 0, False: 0]
  |  Branch (936:38): [True: 0, False: 0]
  |  Branch (936:56): [True: 0, False: 0]
  |  Branch (936:74): [True: 0, False: 0]
  ------------------
  937|      0|            assert(PyUnicode_READ(kind, pbuf, pindex) == '0');
  938|      0|            assert(PyUnicode_READ(kind, pbuf, pindex+1) == arg->ch);
  939|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos, '0');
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  940|      0|            PyUnicode_WRITE(writer->kind, writer->data, writer->pos+1, arg->ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  941|      0|            writer->pos += 2;
  942|      0|            pindex += 2;
  943|      0|        }
  944|      0|    }
  945|       |
  946|       |    /* Write characters */
  947|  79.6k|    if (len) {
  ------------------
  |  Branch (947:9): [True: 79.6k, False: 0]
  ------------------
  948|  79.6k|        _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  949|  79.6k|                                      str, pindex, len);
  950|  79.6k|        writer->pos += len;
  951|  79.6k|    }
  952|       |
  953|       |    /* Pad right with the fill character if needed */
  954|  79.6k|    if (arg->width > len) {
  ------------------
  |  Branch (954:9): [True: 0, False: 79.6k]
  ------------------
  955|      0|        sublen = arg->width - len;
  956|      0|        _PyUnicode_Fill(writer->kind, writer->data, ' ', writer->pos, sublen);
  957|      0|        writer->pos += sublen;
  958|      0|    }
  959|  79.6k|    return 0;
  960|  79.6k|}

_PyUnicode_FormatAdvancedWriter:
 1793|  31.6k|{
 1794|  31.6k|    InternalFormatSpec format;
 1795|       |
 1796|  31.6k|    assert(PyUnicode_Check(obj));
 1797|       |
 1798|       |    /* check for the special case of zero length format spec, make
 1799|       |       it equivalent to str(obj) */
 1800|  31.6k|    if (start == end) {
  ------------------
  |  Branch (1800:9): [True: 31.6k, False: 0]
  ------------------
 1801|  31.6k|        if (PyUnicode_CheckExact(obj))
  ------------------
  |  |  104|  31.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  31.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 31.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|  31.6k|            return _PyUnicodeWriter_WriteStr(writer, obj);
 1803|      0|        else
 1804|      0|            return format_obj(obj, writer);
 1805|  31.6k|    }
 1806|       |
 1807|       |    /* parse the format_spec */
 1808|      0|    if (!parse_internal_render_format_spec(obj, format_spec, start, end,
  ------------------
  |  Branch (1808:9): [True: 0, False: 0]
  ------------------
 1809|      0|                                           &format, 's', '<'))
 1810|      0|        return -1;
 1811|       |
 1812|       |    /* type conversion? */
 1813|      0|    switch (format.type) {
 1814|      0|    case 's':
  ------------------
  |  Branch (1814:5): [True: 0, False: 0]
  ------------------
 1815|       |        /* no type conversion needed, already a string.  do the formatting */
 1816|      0|        return format_string_internal(obj, &format, writer);
 1817|      0|    default:
  ------------------
  |  Branch (1817:5): [True: 0, False: 0]
  ------------------
 1818|       |        /* unknown */
 1819|      0|        unknown_presentation_type(format.type, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1820|      0|        return -1;
 1821|      0|    }
 1822|      0|}
_PyLong_FormatAdvancedWriter:
 1829|     66|{
 1830|     66|    PyObject *tmp = NULL;
 1831|     66|    InternalFormatSpec format;
 1832|     66|    int result = -1;
 1833|       |
 1834|       |    /* check for the special case of zero length format spec, make
 1835|       |       it equivalent to str(obj) */
 1836|     66|    if (start == end) {
  ------------------
  |  Branch (1836:9): [True: 2, False: 64]
  ------------------
 1837|      2|        if (PyLong_CheckExact(obj))
  ------------------
  |  |   14|      2|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      2|            return _PyLong_FormatWriter(writer, obj, 10, 0);
 1839|      0|        else
 1840|      0|            return format_obj(obj, writer);
 1841|      2|    }
 1842|       |
 1843|       |    /* parse the format_spec */
 1844|     64|    if (!parse_internal_render_format_spec(obj, format_spec, start, end,
  ------------------
  |  Branch (1844:9): [True: 0, False: 64]
  ------------------
 1845|     64|                                           &format, 'd', '>'))
 1846|      0|        goto done;
 1847|       |
 1848|       |    /* type conversion? */
 1849|     64|    switch (format.type) {
 1850|      0|    case 'b':
  ------------------
  |  Branch (1850:5): [True: 0, False: 64]
  ------------------
 1851|      0|    case 'c':
  ------------------
  |  Branch (1851:5): [True: 0, False: 64]
  ------------------
 1852|      0|    case 'd':
  ------------------
  |  Branch (1852:5): [True: 0, False: 64]
  ------------------
 1853|      0|    case 'o':
  ------------------
  |  Branch (1853:5): [True: 0, False: 64]
  ------------------
 1854|     64|    case 'x':
  ------------------
  |  Branch (1854:5): [True: 64, False: 0]
  ------------------
 1855|     64|    case 'X':
  ------------------
  |  Branch (1855:5): [True: 0, False: 64]
  ------------------
 1856|     64|    case 'n':
  ------------------
  |  Branch (1856:5): [True: 0, False: 64]
  ------------------
 1857|       |        /* no type conversion needed, already an int.  do the formatting */
 1858|     64|        result = format_long_internal(obj, &format, writer);
 1859|     64|        break;
 1860|       |
 1861|      0|    case 'e':
  ------------------
  |  Branch (1861:5): [True: 0, False: 64]
  ------------------
 1862|      0|    case 'E':
  ------------------
  |  Branch (1862:5): [True: 0, False: 64]
  ------------------
 1863|      0|    case 'f':
  ------------------
  |  Branch (1863:5): [True: 0, False: 64]
  ------------------
 1864|      0|    case 'F':
  ------------------
  |  Branch (1864:5): [True: 0, False: 64]
  ------------------
 1865|      0|    case 'g':
  ------------------
  |  Branch (1865:5): [True: 0, False: 64]
  ------------------
 1866|      0|    case 'G':
  ------------------
  |  Branch (1866:5): [True: 0, False: 64]
  ------------------
 1867|      0|    case '%':
  ------------------
  |  Branch (1867:5): [True: 0, False: 64]
  ------------------
 1868|       |        /* convert to float */
 1869|      0|        tmp = PyNumber_Float(obj);
 1870|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1870:13): [True: 0, False: 0]
  ------------------
 1871|      0|            goto done;
 1872|      0|        result = format_float_internal(tmp, &format, writer);
 1873|      0|        break;
 1874|       |
 1875|      0|    default:
  ------------------
  |  Branch (1875:5): [True: 0, False: 64]
  ------------------
 1876|       |        /* unknown */
 1877|      0|        unknown_presentation_type(format.type, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|        goto done;
 1879|     64|    }
 1880|       |
 1881|     64|done:
 1882|     64|    Py_XDECREF(tmp);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|     64|    return result;
 1884|     64|}
unicode_formatter.c:parse_internal_render_format_spec:
  392|     64|{
  393|     64|    Py_ssize_t pos = start;
  394|     64|    int kind = PyUnicode_KIND(format_spec);
  ------------------
  |  |  258|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|     64|    const void *data = PyUnicode_DATA(format_spec);
  ------------------
  |  |  284|     64|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|       |    /* end-pos is used throughout this code to specify the length of
  397|       |       the input string */
  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  399|       |
  400|     64|    Py_ssize_t consumed;
  401|     64|    int align_specified = 0;
  402|     64|    int fill_char_specified = 0;
  403|       |
  404|     64|    format->fill_char = ' ';
  405|     64|    format->align = default_align;
  406|     64|    format->alternate = 0;
  407|     64|    format->no_neg_0 = 0;
  408|     64|    format->sign = '\0';
  409|     64|    format->width = -1;
  410|     64|    format->thousands_separators = LT_NO_LOCALE;
  411|     64|    format->frac_thousands_separator = LT_NO_LOCALE;
  412|     64|    format->precision = -1;
  413|     64|    format->type = default_type;
  414|       |
  415|       |    /* If the second char is an alignment token,
  416|       |       then parse the fill char */
  417|     64|    if (end-pos >= 2 && is_alignment_token(READ_spec(pos+1))) {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (417:9): [True: 64, False: 0]
  |  Branch (417:25): [True: 0, False: 64]
  ------------------
  418|      0|        format->align = READ_spec(pos+1);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  419|      0|        format->fill_char = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  420|      0|        fill_char_specified = 1;
  421|      0|        align_specified = 1;
  422|      0|        pos += 2;
  423|      0|    }
  424|     64|    else if (end-pos >= 1 && is_alignment_token(READ_spec(pos))) {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (424:14): [True: 64, False: 0]
  |  Branch (424:30): [True: 0, False: 64]
  ------------------
  425|      0|        format->align = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  426|      0|        align_specified = 1;
  427|      0|        ++pos;
  428|      0|    }
  429|       |
  430|       |    /* Parse the various sign options */
  431|     64|    if (end-pos >= 1 && is_sign_element(READ_spec(pos))) {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (431:9): [True: 64, False: 0]
  |  Branch (431:25): [True: 0, False: 64]
  ------------------
  432|      0|        format->sign = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  433|      0|        ++pos;
  434|      0|    }
  435|       |
  436|       |    /* If the next character is z, request coercion of negative 0.
  437|       |       Applies only to floats. */
  438|     64|    if (end-pos >= 1 && READ_spec(pos) == 'z') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (438:9): [True: 64, False: 0]
  |  Branch (438:25): [True: 0, False: 64]
  ------------------
  439|      0|        format->no_neg_0 = 1;
  440|      0|        ++pos;
  441|      0|    }
  442|       |
  443|       |    /* If the next character is #, we're in alternate mode.  This only
  444|       |       applies to integers. */
  445|     64|    if (end-pos >= 1 && READ_spec(pos) == '#') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (445:9): [True: 64, False: 0]
  |  Branch (445:25): [True: 0, False: 64]
  ------------------
  446|      0|        format->alternate = 1;
  447|      0|        ++pos;
  448|      0|    }
  449|       |
  450|       |    /* The special case for 0-padding (backwards compat) */
  451|     64|    if (!fill_char_specified && end-pos >= 1 && READ_spec(pos) == '0') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (451:9): [True: 64, False: 0]
  |  Branch (451:33): [True: 64, False: 0]
  |  Branch (451:49): [True: 64, False: 0]
  ------------------
  452|     64|        format->fill_char = '0';
  453|     64|        if (!align_specified && default_align == '>') {
  ------------------
  |  Branch (453:13): [True: 64, False: 0]
  |  Branch (453:33): [True: 64, False: 0]
  ------------------
  454|     64|            format->align = '=';
  455|     64|        }
  456|     64|        ++pos;
  457|     64|    }
  458|       |
  459|     64|    consumed = get_integer(format_spec, &pos, end, &format->width);
  460|     64|    if (consumed == -1)
  ------------------
  |  Branch (460:9): [True: 0, False: 64]
  ------------------
  461|       |        /* Overflow error. Exception already set. */
  462|      0|        return 0;
  463|       |
  464|       |    /* If consumed is 0, we didn't consume any characters for the
  465|       |       width. In that case, reset the width to -1, because
  466|       |       get_integer() will have set it to zero. -1 is how we record
  467|       |       that the width wasn't specified. */
  468|     64|    if (consumed == 0)
  ------------------
  |  Branch (468:9): [True: 0, False: 64]
  ------------------
  469|      0|        format->width = -1;
  470|       |
  471|       |    /* Comma signifies add thousands separators */
  472|     64|    if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 64, False: 0]
  |  Branch (472:20): [True: 0, False: 64]
  ------------------
  473|      0|        format->thousands_separators = LT_DEFAULT_LOCALE;
  474|      0|        ++pos;
  475|      0|    }
  476|       |    /* Underscore signifies add thousands separators */
  477|     64|    if (end-pos && READ_spec(pos) == '_') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 64, False: 0]
  |  Branch (477:20): [True: 0, False: 64]
  ------------------
  478|      0|        if (format->thousands_separators != LT_NO_LOCALE) {
  ------------------
  |  Branch (478:13): [True: 0, False: 0]
  ------------------
  479|      0|            invalid_comma_and_underscore();
  480|      0|            return 0;
  481|      0|        }
  482|      0|        format->thousands_separators = LT_UNDERSCORE_LOCALE;
  483|      0|        ++pos;
  484|      0|    }
  485|     64|    if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 64, False: 0]
  |  Branch (485:20): [True: 0, False: 64]
  ------------------
  486|      0|        if (format->thousands_separators == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (486:13): [True: 0, False: 0]
  ------------------
  487|      0|            invalid_comma_and_underscore();
  488|      0|            return 0;
  489|      0|        }
  490|      0|    }
  491|       |
  492|       |    /* Parse field precision */
  493|     64|    if (end-pos && READ_spec(pos) == '.') {
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (493:9): [True: 64, False: 0]
  |  Branch (493:20): [True: 0, False: 64]
  ------------------
  494|      0|        ++pos;
  495|       |
  496|      0|        consumed = get_integer(format_spec, &pos, end, &format->precision);
  497|      0|        if (consumed == -1)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|       |            /* Overflow error. Exception already set. */
  499|      0|            return 0;
  500|       |
  501|      0|        if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (501:13): [True: 0, False: 0]
  |  Branch (501:24): [True: 0, False: 0]
  ------------------
  502|      0|            if (consumed == 0) {
  ------------------
  |  Branch (502:17): [True: 0, False: 0]
  ------------------
  503|      0|                format->precision = -1;
  504|      0|            }
  505|      0|            format->frac_thousands_separator = LT_DEFAULT_LOCALE;
  506|      0|            ++pos;
  507|      0|            ++consumed;
  508|      0|        }
  509|      0|        if (end-pos && READ_spec(pos) == '_') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  |  Branch (509:24): [True: 0, False: 0]
  ------------------
  510|      0|            if (format->frac_thousands_separator != LT_NO_LOCALE) {
  ------------------
  |  Branch (510:17): [True: 0, False: 0]
  ------------------
  511|      0|                invalid_comma_and_underscore();
  512|      0|                return 0;
  513|      0|            }
  514|      0|            if (consumed == 0) {
  ------------------
  |  Branch (514:17): [True: 0, False: 0]
  ------------------
  515|      0|                format->precision = -1;
  516|      0|            }
  517|      0|            format->frac_thousands_separator = LT_UNDERSCORE_LOCALE;
  518|      0|            ++pos;
  519|      0|            ++consumed;
  520|      0|        }
  521|      0|        if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (521:13): [True: 0, False: 0]
  |  Branch (521:24): [True: 0, False: 0]
  ------------------
  522|      0|            if (format->frac_thousands_separator == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (522:17): [True: 0, False: 0]
  ------------------
  523|      0|                invalid_comma_and_underscore();
  524|      0|                return 0;
  525|      0|            }
  526|      0|        }
  527|       |
  528|       |        /* Not having a precision or underscore/comma after a dot
  529|       |           is an error. */
  530|      0|        if (consumed == 0) {
  ------------------
  |  Branch (530:13): [True: 0, False: 0]
  ------------------
  531|      0|            PyErr_Format(PyExc_ValueError,
  532|      0|                         "Format specifier missing precision");
  533|      0|            return 0;
  534|      0|        }
  535|       |
  536|      0|    }
  537|       |
  538|       |    /* Finally, parse the type field. */
  539|       |
  540|     64|    if (end-pos > 1) {
  ------------------
  |  Branch (540:9): [True: 0, False: 64]
  ------------------
  541|       |        /* More than one char remains, so this is an invalid format
  542|       |           specifier. */
  543|       |        /* Create a temporary object that contains the format spec we're
  544|       |           operating on.  It's format_spec[start:end] (in Python syntax). */
  545|      0|        PyObject* actual_format_spec = PyUnicode_FromKindAndData(kind,
  546|      0|                                         (char*)data + kind*start,
  547|      0|                                         end-start);
  548|      0|        if (actual_format_spec != NULL) {
  ------------------
  |  Branch (548:13): [True: 0, False: 0]
  ------------------
  549|      0|            PyErr_Format(PyExc_ValueError,
  550|      0|                "Invalid format specifier '%U' for object of type '%.200s'",
  551|      0|                actual_format_spec, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|      0|            Py_DECREF(actual_format_spec);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|      0|        }
  554|      0|        return 0;
  555|      0|    }
  556|       |
  557|     64|    if (end-pos == 1) {
  ------------------
  |  Branch (557:9): [True: 64, False: 0]
  ------------------
  558|     64|        format->type = READ_spec(pos);
  ------------------
  |  |  398|     64|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     64|                   (index))
  |  |  ------------------
  ------------------
  559|     64|        ++pos;
  560|     64|    }
  561|       |
  562|       |    /* Do as much validating as we can, just by looking at the format
  563|       |       specifier.  Do not take into account what type of formatting
  564|       |       we're doing (int, float, string). */
  565|       |
  566|     64|    if (format->thousands_separators) {
  ------------------
  |  Branch (566:9): [True: 0, False: 64]
  ------------------
  567|      0|        switch (format->type) {
  568|      0|        case 'd':
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|        case 'e':
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        case 'f':
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        case 'g':
  ------------------
  |  Branch (571:9): [True: 0, False: 0]
  ------------------
  572|      0|        case 'E':
  ------------------
  |  Branch (572:9): [True: 0, False: 0]
  ------------------
  573|      0|        case 'G':
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|        case '%':
  ------------------
  |  Branch (574:9): [True: 0, False: 0]
  ------------------
  575|      0|        case 'F':
  ------------------
  |  Branch (575:9): [True: 0, False: 0]
  ------------------
  576|      0|        case '\0':
  ------------------
  |  Branch (576:9): [True: 0, False: 0]
  ------------------
  577|       |            /* These are allowed. See PEP 378.*/
  578|      0|            break;
  579|      0|        case 'b':
  ------------------
  |  Branch (579:9): [True: 0, False: 0]
  ------------------
  580|      0|        case 'o':
  ------------------
  |  Branch (580:9): [True: 0, False: 0]
  ------------------
  581|      0|        case 'x':
  ------------------
  |  Branch (581:9): [True: 0, False: 0]
  ------------------
  582|      0|        case 'X':
  ------------------
  |  Branch (582:9): [True: 0, False: 0]
  ------------------
  583|       |            /* Underscores are allowed in bin/oct/hex. See PEP 515. */
  584|      0|            if (format->thousands_separators == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (584:17): [True: 0, False: 0]
  ------------------
  585|       |                /* Every four digits, not every three, in bin/oct/hex. */
  586|      0|                format->thousands_separators = LT_UNDER_FOUR_LOCALE;
  587|      0|                break;
  588|      0|            }
  589|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  590|      0|        default:
  ------------------
  |  Branch (590:9): [True: 0, False: 0]
  ------------------
  591|      0|            invalid_thousands_separator_type(format->thousands_separators, format->type);
  592|      0|            return 0;
  593|      0|        }
  594|      0|    }
  595|       |
  596|     64|    if (format->type == 'n'
  ------------------
  |  Branch (596:9): [True: 0, False: 64]
  ------------------
  597|      0|        && format->frac_thousands_separator != LT_NO_LOCALE)
  ------------------
  |  Branch (597:12): [True: 0, False: 0]
  ------------------
  598|      0|    {
  599|      0|        invalid_thousands_separator_type(format->frac_thousands_separator,
  600|      0|                                         format->type);
  601|      0|        return 0;
  602|      0|    }
  603|       |
  604|     64|    assert (format->align <= 127);
  605|       |    assert (format->sign <= 127);
  606|     64|    return 1;
  607|     64|}
unicode_formatter.c:is_alignment_token:
  335|    128|{
  336|    128|    switch (c) {
  337|      0|    case '<': case '>': case '=': case '^':
  ------------------
  |  Branch (337:5): [True: 0, False: 128]
  |  Branch (337:15): [True: 0, False: 128]
  |  Branch (337:25): [True: 0, False: 128]
  |  Branch (337:35): [True: 0, False: 128]
  ------------------
  338|      0|        return 1;
  339|    128|    default:
  ------------------
  |  Branch (339:5): [True: 128, False: 0]
  ------------------
  340|    128|        return 0;
  341|    128|    }
  342|    128|}
unicode_formatter.c:is_sign_element:
  347|     64|{
  348|     64|    switch (c) {
  349|      0|    case ' ': case '+': case '-':
  ------------------
  |  Branch (349:5): [True: 0, False: 64]
  |  Branch (349:15): [True: 0, False: 64]
  |  Branch (349:25): [True: 0, False: 64]
  ------------------
  350|      0|        return 1;
  351|     64|    default:
  ------------------
  |  Branch (351:5): [True: 64, False: 0]
  ------------------
  352|     64|        return 0;
  353|     64|    }
  354|     64|}
unicode_formatter.c:get_integer:
  298|     64|{
  299|     64|    Py_ssize_t accumulator, digitval, pos = *ppos;
  300|     64|    int numdigits;
  301|     64|    int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  302|     64|    const void *data = PyUnicode_DATA(str);
  ------------------
  |  |  284|     64|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|       |
  304|     64|    accumulator = numdigits = 0;
  305|    128|    for (; pos < end; pos++, numdigits++) {
  ------------------
  |  Branch (305:12): [True: 128, False: 0]
  ------------------
  306|    128|        digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ(kind, data, pos));
  ------------------
  |  |  763|    128|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
  307|    128|        if (digitval < 0)
  ------------------
  |  Branch (307:13): [True: 64, False: 64]
  ------------------
  308|     64|            break;
  309|       |        /*
  310|       |           Detect possible overflow before it happens:
  311|       |
  312|       |              accumulator * 10 + digitval > PY_SSIZE_T_MAX if and only if
  313|       |              accumulator > (PY_SSIZE_T_MAX - digitval) / 10.
  314|       |        */
  315|     64|        if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) {
  ------------------
  |  |  137|     64|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (315:13): [True: 0, False: 64]
  ------------------
  316|      0|            PyErr_Format(PyExc_ValueError,
  317|      0|                         "Too many decimal digits in format string");
  318|      0|            *ppos = pos;
  319|      0|            return -1;
  320|      0|        }
  321|     64|        accumulator = accumulator * 10 + digitval;
  322|     64|    }
  323|     64|    *ppos = pos;
  324|     64|    *result = accumulator;
  325|     64|    return numdigits;
  326|     64|}
unicode_formatter.c:format_long_internal:
 1197|     64|{
 1198|     64|    int result = -1;
 1199|     64|    Py_UCS4 maxchar = 127;
 1200|     64|    PyObject *tmp = NULL;
 1201|     64|    Py_ssize_t inumeric_chars;
 1202|     64|    Py_UCS4 sign_char = '\0';
 1203|     64|    Py_ssize_t n_digits;       /* count of digits need from the computed
 1204|       |                                  string */
 1205|     64|    Py_ssize_t n_remainder = 0; /* Used only for 'c' formatting, which
 1206|       |                                   produces non-digits */
 1207|     64|    Py_ssize_t n_prefix = 0;   /* Count of prefix chars, (e.g., '0x') */
 1208|     64|    Py_ssize_t n_total;
 1209|     64|    Py_ssize_t prefix = 0;
 1210|     64|    NumberFieldWidths spec;
 1211|     64|    long x;
 1212|       |
 1213|       |    /* Locale settings, either from the actual locale or
 1214|       |       from a hard-code pseudo-locale */
 1215|     64|    LocaleInfo locale = LocaleInfo_STATIC_INIT;
  ------------------
  |  |  684|     64|#define LocaleInfo_STATIC_INIT {0, 0, 0, 0}
  ------------------
 1216|       |
 1217|       |    /* no precision allowed on integers */
 1218|     64|    if (format->precision != -1) {
  ------------------
  |  Branch (1218:9): [True: 0, False: 64]
  ------------------
 1219|      0|        PyErr_SetString(PyExc_ValueError,
 1220|      0|                        "Precision not allowed in integer format specifier");
 1221|      0|        goto done;
 1222|      0|    }
 1223|       |    /* no negative zero coercion on integers */
 1224|     64|    if (format->no_neg_0) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 64]
  ------------------
 1225|      0|        PyErr_SetString(PyExc_ValueError,
 1226|      0|                        "Negative zero coercion (z) not allowed in integer"
 1227|      0|                        " format specifier");
 1228|      0|        goto done;
 1229|      0|    }
 1230|       |
 1231|       |    /* special case for character formatting */
 1232|     64|    if (format->type == 'c') {
  ------------------
  |  Branch (1232:9): [True: 0, False: 64]
  ------------------
 1233|       |        /* error to specify a sign */
 1234|      0|        if (format->sign != '\0') {
  ------------------
  |  Branch (1234:13): [True: 0, False: 0]
  ------------------
 1235|      0|            PyErr_SetString(PyExc_ValueError,
 1236|      0|                            "Sign not allowed with integer"
 1237|      0|                            " format specifier 'c'");
 1238|      0|            goto done;
 1239|      0|        }
 1240|       |        /* error to request alternate format */
 1241|      0|        if (format->alternate) {
  ------------------
  |  Branch (1241:13): [True: 0, False: 0]
  ------------------
 1242|      0|            PyErr_SetString(PyExc_ValueError,
 1243|      0|                            "Alternate form (#) not allowed with integer"
 1244|      0|                            " format specifier 'c'");
 1245|      0|            goto done;
 1246|      0|        }
 1247|       |
 1248|       |        /* taken from unicodeobject.c formatchar() */
 1249|       |        /* Integer input truncated to a character */
 1250|      0|        x = PyLong_AsLong(value);
 1251|      0|        if (x == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1251:13): [True: 0, False: 0]
  |  Branch (1251:24): [True: 0, False: 0]
  ------------------
 1252|      0|            goto done;
 1253|      0|        if (x < 0 || x > 0x10ffff) {
  ------------------
  |  Branch (1253:13): [True: 0, False: 0]
  |  Branch (1253:22): [True: 0, False: 0]
  ------------------
 1254|      0|            PyErr_SetString(PyExc_OverflowError,
 1255|      0|                            "%c arg not in range(0x110000)");
 1256|      0|            goto done;
 1257|      0|        }
 1258|      0|        tmp = PyUnicode_FromOrdinal(x);
 1259|      0|        inumeric_chars = 0;
 1260|      0|        n_digits = 1;
 1261|      0|        maxchar = Py_MAX(maxchar, (Py_UCS4)x);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1262|       |
 1263|       |        /* As a sort-of hack, we tell calc_number_widths that we only
 1264|       |           have "remainder" characters. calc_number_widths thinks
 1265|       |           these are characters that don't get formatted, only copied
 1266|       |           into the output string. We do this for 'c' formatting,
 1267|       |           because the characters are likely to be non-digits. */
 1268|      0|        n_remainder = 1;
 1269|      0|    }
 1270|     64|    else {
 1271|     64|        int base;
 1272|     64|        int leading_chars_to_skip = 0;  /* Number of characters added by
 1273|       |                                           PyNumber_ToBase that we want to
 1274|       |                                           skip over. */
 1275|       |
 1276|       |        /* Compute the base and how many characters will be added by
 1277|       |           PyNumber_ToBase */
 1278|     64|        switch (format->type) {
 1279|      0|        case 'b':
  ------------------
  |  Branch (1279:9): [True: 0, False: 64]
  ------------------
 1280|      0|            base = 2;
 1281|      0|            leading_chars_to_skip = 2; /* 0b */
 1282|      0|            break;
 1283|      0|        case 'o':
  ------------------
  |  Branch (1283:9): [True: 0, False: 64]
  ------------------
 1284|      0|            base = 8;
 1285|      0|            leading_chars_to_skip = 2; /* 0o */
 1286|      0|            break;
 1287|     64|        case 'x':
  ------------------
  |  Branch (1287:9): [True: 64, False: 0]
  ------------------
 1288|     64|        case 'X':
  ------------------
  |  Branch (1288:9): [True: 0, False: 64]
  ------------------
 1289|     64|            base = 16;
 1290|     64|            leading_chars_to_skip = 2; /* 0x */
 1291|     64|            break;
 1292|      0|        default:  /* shouldn't be needed, but stops a compiler warning */
  ------------------
  |  Branch (1292:9): [True: 0, False: 64]
  ------------------
 1293|      0|        case 'd':
  ------------------
  |  Branch (1293:9): [True: 0, False: 64]
  ------------------
 1294|      0|        case 'n':
  ------------------
  |  Branch (1294:9): [True: 0, False: 64]
  ------------------
 1295|      0|            base = 10;
 1296|      0|            break;
 1297|     64|        }
 1298|       |
 1299|     64|        if (format->sign != '+' && format->sign != ' '
  ------------------
  |  Branch (1299:13): [True: 64, False: 0]
  |  Branch (1299:36): [True: 64, False: 0]
  ------------------
 1300|     64|            && format->width == -1
  ------------------
  |  Branch (1300:16): [True: 0, False: 64]
  ------------------
 1301|      0|            && format->type != 'X' && format->type != 'n'
  ------------------
  |  Branch (1301:16): [True: 0, False: 0]
  |  Branch (1301:39): [True: 0, False: 0]
  ------------------
 1302|      0|            && !format->thousands_separators
  ------------------
  |  Branch (1302:16): [True: 0, False: 0]
  ------------------
 1303|      0|            && PyLong_CheckExact(value))
  ------------------
  |  |   14|      0|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      0|        {
 1305|       |            /* Fast path */
 1306|      0|            return _PyLong_FormatWriter(writer, value, base, format->alternate);
 1307|      0|        }
 1308|       |
 1309|       |        /* The number of prefix chars is the same as the leading
 1310|       |           chars to skip */
 1311|     64|        if (format->alternate)
  ------------------
  |  Branch (1311:13): [True: 0, False: 64]
  ------------------
 1312|      0|            n_prefix = leading_chars_to_skip;
 1313|       |
 1314|       |        /* Do the hard part, converting to a string in a given base */
 1315|     64|        tmp = _PyLong_Format(value, base);
 1316|     64|        if (tmp == NULL)
  ------------------
  |  Branch (1316:13): [True: 0, False: 64]
  ------------------
 1317|      0|            goto done;
 1318|       |
 1319|     64|        inumeric_chars = 0;
 1320|     64|        n_digits = PyUnicode_GET_LENGTH(tmp);
  ------------------
  |  |  299|     64|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|       |
 1322|     64|        prefix = inumeric_chars;
 1323|       |
 1324|       |        /* Is a sign character present in the output?  If so, remember it
 1325|       |           and skip it */
 1326|     64|        if (PyUnicode_READ_CHAR(tmp, inumeric_chars) == '-') {
  ------------------
  |  |  381|     64|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1326:13): [True: 0, False: 64]
  ------------------
 1327|      0|            sign_char = '-';
 1328|      0|            ++prefix;
 1329|      0|            ++leading_chars_to_skip;
 1330|      0|        }
 1331|       |
 1332|       |        /* Skip over the leading chars (0x, 0b, etc.) */
 1333|     64|        n_digits -= leading_chars_to_skip;
 1334|     64|        inumeric_chars += leading_chars_to_skip;
 1335|     64|    }
 1336|       |
 1337|       |    /* Determine the grouping, separator, and decimal point, if any. */
 1338|     64|    if (get_locale_info(format->type == 'n' ? LT_CURRENT_LOCALE :
  ------------------
  |  Branch (1338:9): [True: 0, False: 64]
  |  Branch (1338:25): [True: 0, False: 64]
  ------------------
 1339|     64|                        format->thousands_separators, 0,
 1340|     64|                        &locale) == -1)
 1341|      0|        goto done;
 1342|       |
 1343|       |    /* Calculate how much memory we'll need. */
 1344|     64|    n_total = calc_number_widths(&spec, n_prefix, sign_char, inumeric_chars,
 1345|     64|                                 inumeric_chars + n_digits, n_remainder, 0, 0,
 1346|     64|                                 &locale, format, &maxchar);
 1347|     64|    if (n_total == -1) {
  ------------------
  |  Branch (1347:9): [True: 0, False: 64]
  ------------------
 1348|      0|        goto done;
 1349|      0|    }
 1350|       |
 1351|       |    /* Allocate the memory. */
 1352|     64|    if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1)
  ------------------
  |  |  562|     64|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 64, False: 0]
  |  |  ------------------
  |  |  563|     64|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 64, False: 0]
  |  |  ------------------
  |  |  564|     64|     ? 0                                                              \
  |  |  565|     64|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (1352:9): [True: 0, False: 64]
  ------------------
 1353|      0|        goto done;
 1354|       |
 1355|       |    /* Populate the memory. */
 1356|     64|    result = fill_number(writer, &spec,
 1357|     64|                         tmp, inumeric_chars,
 1358|     64|                         tmp, prefix, format->fill_char,
 1359|     64|                         &locale, format->type == 'X');
 1360|       |
 1361|     64|done:
 1362|     64|    Py_XDECREF(tmp);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|     64|    free_locale_info(&locale);
 1364|     64|    return result;
 1365|     64|}
unicode_formatter.c:get_locale_info:
 1023|     64|{
 1024|     64|    switch (type) {
  ------------------
  |  Branch (1024:13): [True: 64, False: 0]
  ------------------
 1025|      0|    case LT_CURRENT_LOCALE: {
  ------------------
  |  Branch (1025:5): [True: 0, False: 64]
  ------------------
 1026|      0|        struct lconv *lc = localeconv();
 1027|      0|        if (_Py_GetLocaleconvNumeric(lc,
  ------------------
  |  Branch (1027:13): [True: 0, False: 0]
  ------------------
 1028|      0|                                     &locale_info->decimal_point,
 1029|      0|                                     &locale_info->thousands_sep) < 0) {
 1030|      0|            return -1;
 1031|      0|        }
 1032|       |
 1033|       |        /* localeconv() grouping can become a dangling pointer or point
 1034|       |           to a different string if another thread calls localeconv() during
 1035|       |           the string formatting. Copy the string to avoid this risk. */
 1036|      0|        locale_info->grouping_buffer = _PyMem_Strdup(lc->grouping);
 1037|      0|        if (locale_info->grouping_buffer == NULL) {
  ------------------
  |  Branch (1037:13): [True: 0, False: 0]
  ------------------
 1038|      0|            PyErr_NoMemory();
 1039|      0|            return -1;
 1040|      0|        }
 1041|      0|        locale_info->grouping = locale_info->grouping_buffer;
 1042|      0|        break;
 1043|      0|    }
 1044|      0|    case LT_DEFAULT_LOCALE:
  ------------------
  |  Branch (1044:5): [True: 0, False: 64]
  ------------------
 1045|      0|    case LT_UNDERSCORE_LOCALE:
  ------------------
  |  Branch (1045:5): [True: 0, False: 64]
  ------------------
 1046|      0|    case LT_UNDER_FOUR_LOCALE:
  ------------------
  |  Branch (1046:5): [True: 0, False: 64]
  ------------------
 1047|      0|        locale_info->decimal_point = PyUnicode_FromOrdinal('.');
 1048|      0|        locale_info->thousands_sep = PyUnicode_FromOrdinal(
 1049|      0|            type == LT_DEFAULT_LOCALE ? ',' : '_');
  ------------------
  |  Branch (1049:13): [True: 0, False: 0]
  ------------------
 1050|      0|        if (!locale_info->decimal_point || !locale_info->thousands_sep)
  ------------------
  |  Branch (1050:13): [True: 0, False: 0]
  |  Branch (1050:44): [True: 0, False: 0]
  ------------------
 1051|      0|            return -1;
 1052|      0|        if (type != LT_UNDER_FOUR_LOCALE)
  ------------------
  |  Branch (1052:13): [True: 0, False: 0]
  ------------------
 1053|      0|            locale_info->grouping = "\3"; /* Group every 3 characters.  The
 1054|       |                                         (implicit) trailing 0 means repeat
 1055|       |                                         infinitely. */
 1056|      0|        else
 1057|      0|            locale_info->grouping = "\4"; /* Bin/oct/hex group every four. */
 1058|      0|        break;
 1059|     64|    case LT_NO_LOCALE:
  ------------------
  |  Branch (1059:5): [True: 64, False: 0]
  ------------------
 1060|     64|        locale_info->decimal_point = PyUnicode_FromOrdinal('.');
 1061|     64|        locale_info->thousands_sep = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|     64|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1062|     64|        if (!locale_info->decimal_point || !locale_info->thousands_sep)
  ------------------
  |  Branch (1062:13): [True: 0, False: 64]
  |  Branch (1062:44): [True: 0, False: 64]
  ------------------
 1063|      0|            return -1;
 1064|     64|        locale_info->grouping = no_grouping;
 1065|     64|        break;
 1066|     64|    }
 1067|     64|    if (frac_type != LT_NO_LOCALE) {
  ------------------
  |  Branch (1067:9): [True: 0, False: 64]
  ------------------
 1068|      0|        locale_info->frac_thousands_sep = PyUnicode_FromOrdinal(
 1069|      0|            frac_type == LT_DEFAULT_LOCALE ? ',' : '_');
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  ------------------
 1070|      0|        if (!locale_info->frac_thousands_sep) {
  ------------------
  |  Branch (1070:13): [True: 0, False: 0]
  ------------------
 1071|      0|            return -1;
 1072|      0|        }
 1073|      0|        if (locale_info->grouping == no_grouping) {
  ------------------
  |  Branch (1073:13): [True: 0, False: 0]
  ------------------
 1074|      0|            locale_info->grouping = "\3";
 1075|      0|        }
 1076|      0|    }
 1077|     64|    else {
 1078|     64|        locale_info->frac_thousands_sep = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|     64|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1079|     64|    }
 1080|     64|    return 0;
 1081|     64|}
unicode_formatter.c:calc_number_widths:
  764|     64|{
  765|     64|    Py_ssize_t n_non_digit_non_padding;
  766|     64|    Py_ssize_t n_padding;
  767|       |
  768|     64|    spec->n_digits = n_end - n_start - n_frac - n_remainder - (has_decimal?1:0);
  ------------------
  |  Branch (768:64): [True: 0, False: 64]
  ------------------
  769|     64|    spec->n_lpadding = 0;
  770|     64|    spec->n_prefix = n_prefix;
  771|     64|    spec->n_decimal = has_decimal ? PyUnicode_GET_LENGTH(locale->decimal_point) : 0;
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (771:23): [True: 0, False: 64]
  ------------------
  772|     64|    spec->n_remainder = n_remainder;
  773|     64|    spec->n_frac = n_frac;
  774|     64|    spec->n_spadding = 0;
  775|     64|    spec->n_rpadding = 0;
  776|     64|    spec->sign = '\0';
  777|     64|    spec->n_sign = 0;
  778|       |
  779|       |    /* the output will look like:
  780|       |       |                                                                                         |
  781|       |       | <lpadding> <sign> <prefix> <spadding> <grouped_digits> <decimal> <remainder> <rpadding> |
  782|       |       |                                                                                         |
  783|       |
  784|       |       sign is computed from format->sign and the actual
  785|       |       sign of the number
  786|       |
  787|       |       prefix is given (it's for the '0x' prefix)
  788|       |
  789|       |       digits is already known
  790|       |
  791|       |       the total width is either given, or computed from the
  792|       |       actual digits
  793|       |
  794|       |       only one of lpadding, spadding, and rpadding can be non-zero,
  795|       |       and it's calculated from the width and other fields
  796|       |    */
  797|       |
  798|       |    /* compute the various parts we're going to write */
  799|     64|    switch (format->sign) {
  800|      0|    case '+':
  ------------------
  |  Branch (800:5): [True: 0, False: 64]
  ------------------
  801|       |        /* always put a + or - */
  802|      0|        spec->n_sign = 1;
  803|      0|        spec->sign = (sign_char == '-' ? '-' : '+');
  ------------------
  |  Branch (803:23): [True: 0, False: 0]
  ------------------
  804|      0|        break;
  805|      0|    case ' ':
  ------------------
  |  Branch (805:5): [True: 0, False: 64]
  ------------------
  806|      0|        spec->n_sign = 1;
  807|      0|        spec->sign = (sign_char == '-' ? '-' : ' ');
  ------------------
  |  Branch (807:23): [True: 0, False: 0]
  ------------------
  808|      0|        break;
  809|     64|    default:
  ------------------
  |  Branch (809:5): [True: 64, False: 0]
  ------------------
  810|       |        /* Not specified, or the default (-) */
  811|     64|        if (sign_char == '-') {
  ------------------
  |  Branch (811:13): [True: 0, False: 64]
  ------------------
  812|      0|            spec->n_sign = 1;
  813|      0|            spec->sign = '-';
  814|      0|        }
  815|     64|    }
  816|       |
  817|     64|    if (spec->n_frac == 0) {
  ------------------
  |  Branch (817:9): [True: 64, False: 0]
  ------------------
  818|     64|        spec->n_grouped_frac_digits = 0;
  819|     64|    }
  820|      0|    else {
  821|      0|        Py_UCS4 grouping_maxchar;
  822|      0|        spec->n_grouped_frac_digits = _PyUnicode_InsertThousandsGrouping(
  823|      0|            NULL, 0,
  824|      0|            NULL, 0, spec->n_frac,
  825|      0|            spec->n_frac,
  826|      0|            locale->grouping, locale->frac_thousands_sep, &grouping_maxchar, 1);
  827|      0|        if (spec->n_grouped_frac_digits == -1) {
  ------------------
  |  Branch (827:13): [True: 0, False: 0]
  ------------------
  828|      0|            return -1;
  829|      0|        }
  830|      0|        *maxchar = Py_MAX(*maxchar, grouping_maxchar);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  831|      0|    }
  832|       |
  833|       |    /* The number of chars used for non-digits and non-padding. */
  834|     64|    n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal +
  835|     64|        + spec->n_frac + spec->n_remainder;
  836|       |
  837|       |    /* min_width can go negative, that's okay. format->width == -1 means
  838|       |       we don't care. */
  839|     64|    if (format->fill_char == '0' && format->align == '=')
  ------------------
  |  Branch (839:9): [True: 64, False: 0]
  |  Branch (839:37): [True: 64, False: 0]
  ------------------
  840|     64|        spec->n_min_width = (format->width - n_non_digit_non_padding
  841|     64|                             + spec->n_frac - spec->n_grouped_frac_digits);
  842|      0|    else
  843|      0|        spec->n_min_width = 0;
  844|       |
  845|     64|    if (spec->n_digits == 0)
  ------------------
  |  Branch (845:9): [True: 0, False: 64]
  ------------------
  846|       |        /* This case only occurs when using 'c' formatting, we need
  847|       |           to special case it because the grouping code always wants
  848|       |           to have at least one character. */
  849|      0|        spec->n_grouped_digits = 0;
  850|     64|    else {
  851|     64|        Py_UCS4 grouping_maxchar;
  852|     64|        spec->n_grouped_digits = _PyUnicode_InsertThousandsGrouping(
  853|     64|            NULL, 0,
  854|     64|            NULL, 0, spec->n_digits,
  855|     64|            spec->n_min_width,
  856|     64|            locale->grouping, locale->thousands_sep, &grouping_maxchar, 0);
  857|     64|        if (spec->n_grouped_digits == -1) {
  ------------------
  |  Branch (857:13): [True: 0, False: 64]
  ------------------
  858|      0|            return -1;
  859|      0|        }
  860|     64|        *maxchar = Py_MAX(*maxchar, grouping_maxchar);
  ------------------
  |  |  115|     64|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 64]
  |  |  ------------------
  ------------------
  861|     64|    }
  862|       |
  863|       |    /* Given the desired width and the total of digit and non-digit
  864|       |       space we consume, see if we need any padding. format->width can
  865|       |       be negative (meaning no padding), but this code still works in
  866|       |       that case. */
  867|     64|    n_padding = format->width -
  868|     64|                        (n_non_digit_non_padding + spec->n_grouped_digits
  869|     64|                         + spec->n_grouped_frac_digits - spec->n_frac);
  870|     64|    if (n_padding > 0) {
  ------------------
  |  Branch (870:9): [True: 0, False: 64]
  ------------------
  871|       |        /* Some padding is needed. Determine if it's left, space, or right. */
  872|      0|        switch (format->align) {
  873|      0|        case '<':
  ------------------
  |  Branch (873:9): [True: 0, False: 0]
  ------------------
  874|      0|            spec->n_rpadding = n_padding;
  875|      0|            break;
  876|      0|        case '^':
  ------------------
  |  Branch (876:9): [True: 0, False: 0]
  ------------------
  877|      0|            spec->n_lpadding = n_padding / 2;
  878|      0|            spec->n_rpadding = n_padding - spec->n_lpadding;
  879|      0|            break;
  880|      0|        case '=':
  ------------------
  |  Branch (880:9): [True: 0, False: 0]
  ------------------
  881|      0|            spec->n_spadding = n_padding;
  882|      0|            break;
  883|      0|        case '>':
  ------------------
  |  Branch (883:9): [True: 0, False: 0]
  ------------------
  884|      0|            spec->n_lpadding = n_padding;
  885|      0|            break;
  886|      0|        default:
  ------------------
  |  Branch (886:9): [True: 0, False: 0]
  ------------------
  887|       |            /* Shouldn't get here */
  888|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  889|      0|        }
  890|      0|    }
  891|       |
  892|     64|    if (spec->n_lpadding || spec->n_spadding || spec->n_rpadding)
  ------------------
  |  Branch (892:9): [True: 0, False: 64]
  |  Branch (892:29): [True: 0, False: 64]
  |  Branch (892:49): [True: 0, False: 64]
  ------------------
  893|      0|        *maxchar = Py_MAX(*maxchar, format->fill_char);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  894|       |
  895|     64|    if (spec->n_decimal)
  ------------------
  |  Branch (895:9): [True: 0, False: 64]
  ------------------
  896|      0|        *maxchar = Py_MAX(*maxchar, PyUnicode_MAX_CHAR_VALUE(locale->decimal_point));
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  897|       |
  898|     64|    return spec->n_lpadding + spec->n_sign + spec->n_prefix +
  899|     64|        spec->n_spadding + spec->n_grouped_digits + spec->n_decimal +
  900|     64|        spec->n_grouped_frac_digits + spec->n_remainder + spec->n_rpadding;
  901|     64|}
unicode_formatter.c:_PyUnicode_InsertThousandsGrouping:
  146|    128|{
  147|    128|    min_width = Py_MAX(0, min_width);
  ------------------
  |  |  115|    128|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 128]
  |  |  ------------------
  ------------------
  148|    128|    if (writer) {
  ------------------
  |  Branch (148:9): [True: 64, False: 64]
  ------------------
  149|     64|        assert(digits != NULL);
  150|     64|        assert(maxchar == NULL);
  151|     64|    }
  152|     64|    else {
  153|     64|        assert(digits == NULL);
  154|     64|        assert(maxchar != NULL);
  155|     64|    }
  156|    128|    assert(0 <= d_pos);
  157|    128|    assert(0 <= n_digits);
  158|    128|    assert(grouping != NULL);
  159|       |
  160|    128|    Py_ssize_t count = 0;
  161|    128|    Py_ssize_t n_zeros;
  162|    128|    int loop_broken = 0;
  163|    128|    int use_separator = 0; /* First time through, don't append the
  164|       |                              separator. They only go between
  165|       |                              groups. */
  166|    128|    Py_ssize_t buffer_pos;
  167|    128|    Py_ssize_t digits_pos;
  168|    128|    Py_ssize_t len;
  169|    128|    Py_ssize_t n_chars;
  170|    128|    Py_ssize_t remaining = n_digits; /* Number of chars remaining to
  171|       |                                        be looked at */
  172|       |    /* A generator that returns all of the grouping widths, until it
  173|       |       returns 0. */
  174|    128|    GroupGenerator groupgen;
  175|    128|    GroupGenerator_init(&groupgen, grouping);
  176|    128|    const Py_ssize_t thousands_sep_len = PyUnicode_GET_LENGTH(thousands_sep);
  ------------------
  |  |  299|    128|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|       |
  178|       |    /* if digits are not grouped, thousands separator
  179|       |       should be an empty string */
  180|    128|    assert(!(grouping[0] == CHAR_MAX && thousands_sep_len != 0));
  181|       |
  182|    128|    digits_pos = d_pos + (forward ? 0 : n_digits);
  ------------------
  |  Branch (182:27): [True: 0, False: 128]
  ------------------
  183|    128|    if (writer) {
  ------------------
  |  Branch (183:9): [True: 64, False: 64]
  ------------------
  184|     64|        buffer_pos = writer->pos + (forward ? 0 : n_buffer);
  ------------------
  |  Branch (184:37): [True: 0, False: 64]
  ------------------
  185|     64|        assert(buffer_pos <= PyUnicode_GET_LENGTH(writer->buffer));
  186|     64|        assert(digits_pos <= PyUnicode_GET_LENGTH(digits));
  187|     64|    }
  188|     64|    else {
  189|     64|        buffer_pos = forward ? 0 : n_buffer;
  ------------------
  |  Branch (189:22): [True: 0, False: 64]
  ------------------
  190|     64|    }
  191|       |
  192|    128|    if (!writer) {
  ------------------
  |  Branch (192:9): [True: 64, False: 64]
  ------------------
  193|     64|        *maxchar = 127;
  194|     64|    }
  195|       |
  196|    128|    while ((len = GroupGenerator_next(&groupgen)) > 0) {
  ------------------
  |  Branch (196:12): [True: 0, False: 128]
  ------------------
  197|      0|        len = Py_MIN(len, Py_MAX(Py_MAX(remaining, min_width), 1));
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  |  Branch (112:31): [True: 0, False: 0]
  |  |  |  Branch (112:31): [True: 0, False: 0]
  |  |  |  Branch (112:31): [True: 0, False: 0]
  |  |  |  Branch (112:38): [True: 0, False: 0]
  |  |  |  Branch (112:38): [True: 0, False: 0]
  |  |  |  Branch (112:38): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  198|      0|        n_zeros = Py_MAX(0, len - remaining);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  199|      0|        n_chars = Py_MAX(0, Py_MIN(remaining, len));
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  |  Branch (115:31): [True: 0, False: 0]
  |  |  |  Branch (115:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  200|       |
  201|       |        /* Use n_zero zero's and n_chars chars */
  202|       |
  203|       |        /* Count only, don't do anything. */
  204|      0|        count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars;
  ------------------
  |  Branch (204:19): [True: 0, False: 0]
  ------------------
  205|       |
  206|       |        /* Copy into the writer. */
  207|      0|        InsertThousandsGrouping_fill(writer, &buffer_pos,
  208|      0|                                     digits, &digits_pos,
  209|      0|                                     n_chars, n_zeros,
  210|      0|                                     use_separator ? thousands_sep : NULL,
  ------------------
  |  Branch (210:38): [True: 0, False: 0]
  ------------------
  211|      0|                                     thousands_sep_len, maxchar, forward);
  212|       |
  213|       |        /* Use a separator next time. */
  214|      0|        use_separator = 1;
  215|       |
  216|      0|        remaining -= n_chars;
  217|      0|        min_width -= len;
  218|       |
  219|      0|        if (remaining <= 0 && min_width <= 0) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  |  Branch (219:31): [True: 0, False: 0]
  ------------------
  220|      0|            loop_broken = 1;
  221|      0|            break;
  222|      0|        }
  223|      0|        min_width -= thousands_sep_len;
  224|      0|    }
  225|    128|    if (!loop_broken) {
  ------------------
  |  Branch (225:9): [True: 128, False: 0]
  ------------------
  226|       |        /* We left the loop without using a break statement. */
  227|       |
  228|    128|        len = Py_MAX(Py_MAX(remaining, min_width), 1);
  ------------------
  |  |  115|    256|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 128, False: 0]
  |  |  |  Branch (115:25): [True: 0, False: 128]
  |  |  |  Branch (115:38): [True: 0, False: 128]
  |  |  ------------------
  ------------------
  229|    128|        n_zeros = Py_MAX(0, len - remaining);
  ------------------
  |  |  115|    128|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 128]
  |  |  ------------------
  ------------------
  230|    128|        n_chars = Py_MAX(0, Py_MIN(remaining, len));
  ------------------
  |  |  115|    256|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 128]
  |  |  |  Branch (115:31): [True: 0, False: 128]
  |  |  |  Branch (115:44): [True: 0, False: 128]
  |  |  ------------------
  ------------------
  231|       |
  232|       |        /* Use n_zero zero's and n_chars chars */
  233|    128|        count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars;
  ------------------
  |  Branch (233:19): [True: 0, False: 128]
  ------------------
  234|       |
  235|       |        /* Copy into the writer. */
  236|    128|        InsertThousandsGrouping_fill(writer, &buffer_pos,
  237|    128|                                     digits, &digits_pos,
  238|    128|                                     n_chars, n_zeros,
  239|    128|                                     use_separator ? thousands_sep : NULL,
  ------------------
  |  Branch (239:38): [True: 0, False: 128]
  ------------------
  240|    128|                                     thousands_sep_len, maxchar, forward);
  241|    128|    }
  242|    128|    return count;
  243|    128|}
unicode_formatter.c:GroupGenerator_init:
   23|    128|{
   24|    128|    self->grouping = grouping;
   25|    128|    self->i = 0;
   26|    128|    self->previous = 0;
   27|    128|}
unicode_formatter.c:GroupGenerator_next:
   33|    128|{
   34|       |    /* Note that we don't really do much error checking here. If a
   35|       |       grouping string contains just CHAR_MAX, for example, then just
   36|       |       terminate the generator. That shouldn't happen, but at least we
   37|       |       fail gracefully. */
   38|    128|    switch (self->grouping[self->i]) {
   39|      0|    case 0:
  ------------------
  |  Branch (39:5): [True: 0, False: 128]
  ------------------
   40|      0|        return self->previous;
   41|    128|    case CHAR_MAX:
  ------------------
  |  Branch (41:5): [True: 128, False: 0]
  ------------------
   42|       |        /* Stop the generator. */
   43|    128|        return 0;
   44|      0|    default: {
  ------------------
  |  Branch (44:5): [True: 0, False: 128]
  ------------------
   45|      0|        char ch = self->grouping[self->i];
   46|      0|        self->previous = ch;
   47|      0|        self->i++;
   48|      0|        return (Py_ssize_t)ch;
   49|      0|    }
   50|    128|    }
   51|    128|}
unicode_formatter.c:InsertThousandsGrouping_fill:
   62|    128|{
   63|    128|    if (!writer) {
  ------------------
  |  Branch (63:9): [True: 64, False: 64]
  ------------------
   64|       |        /* if maxchar > 127, maxchar is already set */
   65|     64|        if (*maxchar == 127 && thousands_sep) {
  ------------------
  |  Branch (65:13): [True: 64, False: 0]
  |  Branch (65:32): [True: 0, False: 64]
  ------------------
   66|      0|            Py_UCS4 maxchar2 = PyUnicode_MAX_CHAR_VALUE(thousands_sep);
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|      0|            *maxchar = Py_MAX(*maxchar, maxchar2);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   68|      0|        }
   69|     64|        return;
   70|     64|    }
   71|       |
   72|     64|    if (thousands_sep) {
  ------------------
  |  Branch (72:9): [True: 0, False: 64]
  ------------------
   73|      0|        if (!forward) {
  ------------------
  |  Branch (73:13): [True: 0, False: 0]
  ------------------
   74|      0|            *buffer_pos -= thousands_sep_len;
   75|      0|        }
   76|       |        /* Copy the thousands_sep chars into the buffer. */
   77|      0|        _PyUnicode_FastCopyCharacters(writer->buffer, *buffer_pos,
   78|      0|                                      thousands_sep, 0,
   79|      0|                                      thousands_sep_len);
   80|      0|        if (forward) {
  ------------------
  |  Branch (80:13): [True: 0, False: 0]
  ------------------
   81|      0|            *buffer_pos += thousands_sep_len;
   82|      0|        }
   83|      0|    }
   84|       |
   85|     64|    if (!forward) {
  ------------------
  |  Branch (85:9): [True: 64, False: 0]
  ------------------
   86|     64|        *buffer_pos -= n_chars;
   87|     64|        *digits_pos -= n_chars;
   88|     64|    }
   89|     64|    _PyUnicode_FastCopyCharacters(writer->buffer, *buffer_pos,
   90|     64|                                  digits, *digits_pos,
   91|     64|                                  n_chars);
   92|     64|    if (forward) {
  ------------------
  |  Branch (92:9): [True: 0, False: 64]
  ------------------
   93|      0|        *buffer_pos += n_chars;
   94|      0|        *digits_pos += n_chars;
   95|      0|    }
   96|       |
   97|     64|    if (n_zeros) {
  ------------------
  |  Branch (97:9): [True: 64, False: 0]
  ------------------
   98|     64|        if (!forward) {
  ------------------
  |  Branch (98:13): [True: 64, False: 0]
  ------------------
   99|     64|            *buffer_pos -= n_zeros;
  100|     64|        }
  101|     64|        int kind = PyUnicode_KIND(writer->buffer);
  ------------------
  |  |  258|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     64|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  102|     64|        void *data = PyUnicode_DATA(writer->buffer);
  ------------------
  |  |  284|     64|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|     64|        _PyUnicode_Fill(kind, data, '0', *buffer_pos, n_zeros);
  104|     64|        if (forward) {
  ------------------
  |  Branch (104:13): [True: 0, False: 64]
  ------------------
  105|      0|            *buffer_pos += n_zeros;
  106|      0|        }
  107|     64|    }
  108|     64|}
unicode_formatter.c:fill_number:
  912|     64|{
  913|       |    /* Used to keep track of digits, decimal, and remainder. */
  914|     64|    Py_ssize_t d_pos = d_start;
  915|     64|    const int kind = writer->kind;
  916|     64|    const void *data = writer->data;
  917|     64|    Py_ssize_t r;
  918|       |
  919|     64|    if (spec->n_lpadding) {
  ------------------
  |  Branch (919:9): [True: 0, False: 64]
  ------------------
  920|      0|        _PyUnicode_FastFill(writer->buffer,
  921|      0|                            writer->pos, spec->n_lpadding, fill_char);
  922|      0|        writer->pos += spec->n_lpadding;
  923|      0|    }
  924|     64|    if (spec->n_sign == 1) {
  ------------------
  |  Branch (924:9): [True: 0, False: 64]
  ------------------
  925|      0|        PyUnicode_WRITE(kind, data, writer->pos, spec->sign);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  926|      0|        writer->pos++;
  927|      0|    }
  928|     64|    if (spec->n_prefix) {
  ------------------
  |  Branch (928:9): [True: 0, False: 64]
  ------------------
  929|      0|        _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  930|      0|                                      prefix, p_start,
  931|      0|                                      spec->n_prefix);
  932|      0|        if (toupper) {
  ------------------
  |  Branch (932:13): [True: 0, False: 0]
  ------------------
  933|      0|            Py_ssize_t t;
  934|      0|            for (t = 0; t < spec->n_prefix; t++) {
  ------------------
  |  Branch (934:25): [True: 0, False: 0]
  ------------------
  935|      0|                Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  936|      0|                c = Py_TOUPPER(c);
  ------------------
  |  |   33|      0|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  937|      0|                assert (c <= 127);
  938|      0|                PyUnicode_WRITE(kind, data, writer->pos + t, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  939|      0|            }
  940|      0|        }
  941|      0|        writer->pos += spec->n_prefix;
  942|      0|    }
  943|     64|    if (spec->n_spadding) {
  ------------------
  |  Branch (943:9): [True: 0, False: 64]
  ------------------
  944|      0|        _PyUnicode_FastFill(writer->buffer,
  945|      0|                            writer->pos, spec->n_spadding, fill_char);
  946|      0|        writer->pos += spec->n_spadding;
  947|      0|    }
  948|       |
  949|       |    /* Only for type 'c' special case, it has no digits. */
  950|     64|    if (spec->n_digits != 0) {
  ------------------
  |  Branch (950:9): [True: 64, False: 0]
  ------------------
  951|       |        /* Fill the digits with InsertThousandsGrouping. */
  952|     64|        r = _PyUnicode_InsertThousandsGrouping(
  953|     64|                writer, spec->n_grouped_digits,
  954|     64|                digits, d_pos, spec->n_digits,
  955|     64|                spec->n_min_width,
  956|     64|                locale->grouping, locale->thousands_sep, NULL, 0);
  957|     64|        if (r == -1)
  ------------------
  |  Branch (957:13): [True: 0, False: 64]
  ------------------
  958|      0|            return -1;
  959|     64|        assert(r == spec->n_grouped_digits);
  960|     64|        d_pos += spec->n_digits;
  961|     64|    }
  962|     64|    if (toupper) {
  ------------------
  |  Branch (962:9): [True: 0, False: 64]
  ------------------
  963|      0|        Py_ssize_t t;
  964|      0|        for (t = 0; t < spec->n_grouped_digits; t++) {
  ------------------
  |  Branch (964:21): [True: 0, False: 0]
  ------------------
  965|      0|            Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  966|      0|            c = Py_TOUPPER(c);
  ------------------
  |  |   33|      0|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  967|      0|            if (c > 127) {
  ------------------
  |  Branch (967:17): [True: 0, False: 0]
  ------------------
  968|      0|                PyErr_SetString(PyExc_SystemError, "non-ascii grouped digit");
  969|      0|                return -1;
  970|      0|            }
  971|      0|            PyUnicode_WRITE(kind, data, writer->pos + t, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  972|      0|        }
  973|      0|    }
  974|     64|    writer->pos += spec->n_grouped_digits;
  975|       |
  976|     64|    if (spec->n_decimal) {
  ------------------
  |  Branch (976:9): [True: 0, False: 64]
  ------------------
  977|      0|        _PyUnicode_FastCopyCharacters(
  978|      0|            writer->buffer, writer->pos,
  979|      0|            locale->decimal_point, 0, spec->n_decimal);
  980|      0|        writer->pos += spec->n_decimal;
  981|      0|        d_pos += 1;
  982|      0|    }
  983|       |
  984|     64|    if (spec->n_frac) {
  ------------------
  |  Branch (984:9): [True: 0, False: 64]
  ------------------
  985|      0|        r = _PyUnicode_InsertThousandsGrouping(
  986|      0|                writer, spec->n_grouped_frac_digits,
  987|      0|                digits, d_pos, spec->n_frac, spec->n_frac,
  988|      0|                locale->grouping, locale->frac_thousands_sep, NULL, 1);
  989|      0|        if (r == -1) {
  ------------------
  |  Branch (989:13): [True: 0, False: 0]
  ------------------
  990|      0|            return -1;
  991|      0|        }
  992|      0|        assert(r == spec->n_grouped_frac_digits);
  993|      0|        d_pos += spec->n_frac;
  994|      0|        writer->pos += spec->n_grouped_frac_digits;
  995|      0|    }
  996|       |
  997|     64|    if (spec->n_remainder) {
  ------------------
  |  Branch (997:9): [True: 0, False: 64]
  ------------------
  998|      0|        _PyUnicode_FastCopyCharacters(
  999|      0|            writer->buffer, writer->pos,
 1000|      0|            digits, d_pos, spec->n_remainder);
 1001|      0|        writer->pos += spec->n_remainder;
 1002|       |        /* d_pos += spec->n_remainder; */
 1003|      0|    }
 1004|       |
 1005|     64|    if (spec->n_rpadding) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 64]
  ------------------
 1006|      0|        _PyUnicode_FastFill(writer->buffer,
 1007|      0|                            writer->pos, spec->n_rpadding,
 1008|      0|                            fill_char);
 1009|      0|        writer->pos += spec->n_rpadding;
 1010|      0|    }
 1011|     64|    return 0;
 1012|     64|}
unicode_formatter.c:free_locale_info:
 1085|     64|{
 1086|     64|    Py_XDECREF(locale_info->decimal_point);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|     64|    Py_XDECREF(locale_info->thousands_sep);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|     64|    Py_XDECREF(locale_info->frac_thousands_sep);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|     64|    PyMem_Free(locale_info->grouping_buffer);
 1090|     64|}

_PyUnicodeWriter_Init:
  144|  1.51M|{
  145|  1.51M|    memset(writer, 0, sizeof(*writer));
  146|       |
  147|       |    /* ASCII is the bare minimum */
  148|  1.51M|    writer->min_char = 127;
  149|       |
  150|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
  151|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  152|  1.51M|    assert(writer->kind == 0);
  153|       |    assert(writer->kind < PyUnicode_1BYTE_KIND);
  154|  1.51M|}
PyUnicodeWriter_Create:
  159|  54.2k|{
  160|  54.2k|    if (length < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 54.2k]
  ------------------
  161|      0|        PyErr_SetString(PyExc_ValueError,
  162|      0|                        "length must be positive");
  163|      0|        return NULL;
  164|      0|    }
  165|       |
  166|  54.2k|    const size_t size = sizeof(_PyUnicodeWriter);
  167|  54.2k|    PyUnicodeWriter *pub_writer;
  168|  54.2k|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|  54.2k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  169|  54.2k|    if (pub_writer == NULL) {
  ------------------
  |  Branch (169:9): [True: 7, False: 54.1k]
  ------------------
  170|      7|        pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
  171|      7|        if (pub_writer == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 7]
  ------------------
  172|      0|            return (PyUnicodeWriter *)PyErr_NoMemory();
  173|      0|        }
  174|      7|    }
  175|  54.2k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
  176|       |
  177|  54.2k|    _PyUnicodeWriter_Init(writer);
  178|  54.2k|    if (_PyUnicodeWriter_Prepare(writer, length, 127) < 0) {
  ------------------
  |  |  562|  54.2k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 54.2k]
  |  |  ------------------
  |  |  563|  54.2k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|  54.2k|     ? 0                                                              \
  |  |  565|  54.2k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 2, False: 54.1k]
  |  |  ------------------
  |  |  566|  54.2k|        ? 0                                                           \
  |  |  567|  54.2k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (178:9): [True: 0, False: 54.2k]
  ------------------
  179|      0|        PyUnicodeWriter_Discard(pub_writer);
  180|      0|        return NULL;
  181|      0|    }
  182|  54.2k|    writer->overallocate = 1;
  183|       |
  184|  54.2k|    return pub_writer;
  185|  54.2k|}
PyUnicodeWriter_Discard:
  189|      4|{
  190|      4|    if (writer == NULL) {
  ------------------
  |  Branch (190:9): [True: 4, False: 0]
  ------------------
  191|      4|        return;
  192|      4|    }
  193|      0|    _PyUnicodeWriter_Dealloc((_PyUnicodeWriter*)writer);
  194|      0|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|      0|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|      0|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|      0|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  195|      0|}
_PyUnicodeWriter_InitWithBuffer:
  201|     90|{
  202|     90|    memset(writer, 0, sizeof(*writer));
  203|     90|    writer->buffer = buffer;
  204|     90|    _PyUnicodeWriter_Update(writer);
  205|     90|    writer->min_length = writer->size;
  206|     90|}
_PyUnicodeWriter_PrepareInternal:
  212|  1.54M|{
  213|  1.54M|    Py_ssize_t newlen;
  214|  1.54M|    PyObject *newbuffer;
  215|       |
  216|  1.54M|    assert(length >= 0);
  217|  1.54M|    assert(maxchar <= _Py_MAX_UNICODE);
  218|       |
  219|       |    /* ensure that the _PyUnicodeWriter_Prepare macro was used */
  220|  1.54M|    assert((maxchar > writer->maxchar && length >= 0)
  221|  1.54M|           || length > 0);
  222|       |
  223|  1.54M|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|  1.54M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (223:9): [True: 0, False: 1.54M]
  ------------------
  224|      0|        PyErr_NoMemory();
  225|      0|        return -1;
  226|      0|    }
  227|  1.54M|    newlen = writer->pos + length;
  228|       |
  229|  1.54M|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  115|  1.54M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 98, False: 1.54M]
  |  |  ------------------
  ------------------
  230|       |
  231|  1.54M|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (231:9): [True: 1.46M, False: 81.5k]
  ------------------
  232|  1.46M|        assert(!writer->readonly);
  233|  1.46M|        if (writer->overallocate
  ------------------
  |  Branch (233:13): [True: 1.34M, False: 120k]
  ------------------
  234|  1.34M|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  1.34M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  1.34M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (234:16): [True: 1.34M, False: 0]
  ------------------
  235|       |            /* overallocate to limit the number of realloc() */
  236|  1.34M|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  1.34M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  237|  1.34M|        }
  238|  1.46M|        if (newlen < writer->min_length)
  ------------------
  |  Branch (238:13): [True: 1.40M, False: 54.2k]
  ------------------
  239|  1.40M|            newlen = writer->min_length;
  240|       |
  241|  1.46M|        writer->buffer = PyUnicode_New(newlen, maxchar);
  242|  1.46M|        if (writer->buffer == NULL)
  ------------------
  |  Branch (242:13): [True: 0, False: 1.46M]
  ------------------
  243|      0|            return -1;
  244|  1.46M|    }
  245|  81.5k|    else if (newlen > writer->size) {
  ------------------
  |  Branch (245:14): [True: 81.4k, False: 98]
  ------------------
  246|  81.4k|        if (writer->overallocate
  ------------------
  |  Branch (246:13): [True: 81.3k, False: 58]
  ------------------
  247|  81.3k|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  81.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  81.3k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (247:16): [True: 81.3k, False: 0]
  ------------------
  248|       |            /* overallocate to limit the number of realloc() */
  249|  81.3k|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  81.3k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  250|  81.3k|        }
  251|  81.4k|        if (newlen < writer->min_length)
  ------------------
  |  Branch (251:13): [True: 0, False: 81.4k]
  ------------------
  252|      0|            newlen = writer->min_length;
  253|       |
  254|  81.4k|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (254:13): [True: 0, False: 81.4k]
  |  Branch (254:42): [True: 0, False: 81.4k]
  ------------------
  255|       |            /* resize + widen */
  256|      0|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  257|      0|            newbuffer = PyUnicode_New(newlen, maxchar);
  258|      0|            if (newbuffer == NULL)
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  ------------------
  259|      0|                return -1;
  260|      0|            _PyUnicode_FastCopyCharacters(newbuffer, 0,
  261|      0|                                          writer->buffer, 0, writer->pos);
  262|      0|            Py_DECREF(writer->buffer);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      0|            writer->readonly = 0;
  264|      0|        }
  265|  81.4k|        else {
  266|  81.4k|            newbuffer = _PyUnicode_ResizeCompact(writer->buffer, newlen);
  267|  81.4k|            if (newbuffer == NULL)
  ------------------
  |  Branch (267:17): [True: 0, False: 81.4k]
  ------------------
  268|      0|                return -1;
  269|  81.4k|        }
  270|  81.4k|        writer->buffer = newbuffer;
  271|  81.4k|    }
  272|     98|    else if (maxchar > writer->maxchar) {
  ------------------
  |  Branch (272:14): [True: 98, False: 0]
  ------------------
  273|     98|        assert(!writer->readonly);
  274|     98|        newbuffer = PyUnicode_New(writer->size, maxchar);
  275|     98|        if (newbuffer == NULL)
  ------------------
  |  Branch (275:13): [True: 0, False: 98]
  ------------------
  276|      0|            return -1;
  277|     98|        _PyUnicode_FastCopyCharacters(newbuffer, 0,
  278|     98|                                      writer->buffer, 0, writer->pos);
  279|     98|        Py_SETREF(writer->buffer, newbuffer);
  ------------------
  |  |  352|     98|    do { \
  |  |  353|     98|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     98|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     98|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     98|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     98|        *_tmp_dst_ptr = (src); \
  |  |  356|     98|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     98|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     98|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 98]
  |  |  ------------------
  ------------------
  280|     98|    }
  281|  1.54M|    _PyUnicodeWriter_Update(writer);
  282|  1.54M|    return 0;
  283|       |
  284|  1.54M|#undef OVERALLOCATE_FACTOR
  285|  1.54M|}
_PyUnicodeWriter_WriteChar:
  311|   189k|{
  312|   189k|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  313|   189k|}
PyUnicodeWriter_WriteChar:
  318|   189k|{
  319|   189k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|   189k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (319:9): [True: 0, False: 189k]
  ------------------
  320|      0|        PyErr_SetString(PyExc_ValueError,
  321|      0|                        "character must be in range(0x110000)");
  322|      0|        return -1;
  323|      0|    }
  324|       |
  325|   189k|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  326|   189k|}
_PyUnicodeWriter_WriteStr:
  331|  1.43M|{
  332|  1.43M|    assert(PyUnicode_Check(str));
  333|       |
  334|  1.43M|    Py_UCS4 maxchar;
  335|  1.43M|    Py_ssize_t len;
  336|       |
  337|  1.43M|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  1.43M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  1.43M|    if (len == 0)
  ------------------
  |  Branch (338:9): [True: 106, False: 1.43M]
  ------------------
  339|    106|        return 0;
  340|  1.43M|    maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  405|  1.43M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|  1.43M|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (341:9): [True: 22.1k, False: 1.41M]
  |  Branch (341:38): [True: 54.2k, False: 1.36M]
  ------------------
  342|  76.4k|        if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (342:13): [True: 22.1k, False: 54.2k]
  |  Branch (342:39): [True: 24, False: 22.1k]
  ------------------
  343|     24|            assert(_PyUnicode_CheckConsistency(str, 1));
  344|     24|            writer->readonly = 1;
  345|     24|            writer->buffer = Py_NewRef(str);
  ------------------
  |  |  550|     24|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|     24|            _PyUnicodeWriter_Update(writer);
  347|     24|            writer->pos += len;
  348|     24|            return 0;
  349|     24|        }
  350|  76.4k|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (350:13): [True: 0, False: 76.4k]
  ------------------
  351|      0|            return -1;
  352|  76.4k|    }
  353|  1.43M|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  354|  1.43M|                                  str, 0, len);
  355|  1.43M|    writer->pos += len;
  356|  1.43M|    return 0;
  357|  1.43M|}
PyUnicodeWriter_WriteStr:
  362|     16|{
  363|     16|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|     16|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (364:9): [True: 16, False: 0]
  ------------------
  365|     16|        return _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, obj);
  366|     16|    }
  367|       |
  368|      0|    if (type == &PyLong_Type) {
  ------------------
  |  Branch (368:9): [True: 0, False: 0]
  ------------------
  369|      0|        return _PyLong_FormatWriter((_PyUnicodeWriter*)writer, obj, 10, 0);
  370|      0|    }
  371|       |
  372|      0|    PyObject *str = PyObject_Str(obj);
  373|      0|    if (str == NULL) {
  ------------------
  |  Branch (373:9): [True: 0, False: 0]
  ------------------
  374|      0|        return -1;
  375|      0|    }
  376|       |
  377|      0|    int res = _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, str);
  378|      0|    Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|    return res;
  380|      0|}
PyUnicodeWriter_WriteRepr:
  385|  81.3k|{
  386|  81.3k|    if (obj == NULL) {
  ------------------
  |  Branch (386:9): [True: 0, False: 81.3k]
  ------------------
  387|      0|        return _PyUnicodeWriter_WriteASCIIString((_PyUnicodeWriter*)writer, "<NULL>", 6);
  388|      0|    }
  389|       |
  390|  81.3k|    if (Py_TYPE(obj) == &PyLong_Type) {
  ------------------
  |  |  213|  81.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  81.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (390:9): [True: 9, False: 81.3k]
  ------------------
  391|      9|        return _PyLong_FormatWriter((_PyUnicodeWriter*)writer, obj, 10, 0);
  392|      9|    }
  393|       |
  394|  81.3k|    PyObject *repr = PyObject_Repr(obj);
  395|  81.3k|    if (repr == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 81.3k]
  ------------------
  396|      0|        return -1;
  397|      0|    }
  398|       |
  399|  81.3k|    int res = _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, repr);
  400|  81.3k|    Py_DECREF(repr);
  ------------------
  |  |  430|  81.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  81.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|  81.3k|    return res;
  402|  81.3k|}
_PyUnicodeWriter_WriteSubstring:
  408|  61.3k|{
  409|  61.3k|    assert(0 <= start);
  410|  61.3k|    assert(end <= PyUnicode_GET_LENGTH(str));
  411|  61.3k|    assert(start <= end);
  412|       |
  413|  61.3k|    if (start == 0 && end == PyUnicode_GET_LENGTH(str))
  ------------------
  |  |  299|  9.07k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 9.07k, False: 52.2k]
  |  Branch (413:23): [True: 4, False: 9.06k]
  ------------------
  414|      4|        return _PyUnicodeWriter_WriteStr(writer, str);
  415|       |
  416|  61.3k|    Py_ssize_t len = end - start;
  417|  61.3k|    if (len == 0) {
  ------------------
  |  Branch (417:9): [True: 0, False: 61.3k]
  ------------------
  418|      0|        return 0;
  419|      0|    }
  420|       |
  421|  61.3k|    Py_UCS4 maxchar;
  422|  61.3k|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  405|  61.3k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 9.06k, False: 52.2k]
  ------------------
  423|  9.06k|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  424|  9.06k|    }
  425|  52.2k|    else {
  426|  52.2k|        maxchar = writer->maxchar;
  427|  52.2k|    }
  428|  61.3k|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  |  562|  61.3k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 52.2k, False: 9.06k]
  |  |  ------------------
  |  |  563|  61.3k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 52.2k, False: 8]
  |  |  ------------------
  |  |  564|  61.3k|     ? 0                                                              \
  |  |  565|  61.3k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 9.07k]
  |  |  ------------------
  |  |  566|  9.07k|        ? 0                                                           \
  |  |  567|  9.07k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (428:9): [True: 0, False: 61.3k]
  ------------------
  429|      0|        return -1;
  430|      0|    }
  431|       |
  432|  61.3k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  433|  61.3k|                                  str, start, len);
  434|  61.3k|    writer->pos += len;
  435|  61.3k|    return 0;
  436|  61.3k|}
PyUnicodeWriter_WriteSubstring:
  442|      4|{
  443|      4|    if (!PyUnicode_Check(str)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (443:9): [True: 0, False: 4]
  ------------------
  444|      0|        PyErr_Format(PyExc_TypeError, "expect str, not %T", str);
  445|      0|        return -1;
  446|      0|    }
  447|      4|    if (start < 0 || start > end) {
  ------------------
  |  Branch (447:9): [True: 0, False: 4]
  |  Branch (447:22): [True: 0, False: 4]
  ------------------
  448|      0|        PyErr_Format(PyExc_ValueError, "invalid start argument");
  449|      0|        return -1;
  450|      0|    }
  451|      4|    if (end > PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:9): [True: 0, False: 4]
  ------------------
  452|      0|        PyErr_Format(PyExc_ValueError, "invalid end argument");
  453|      0|        return -1;
  454|      0|    }
  455|       |
  456|      4|    return _PyUnicodeWriter_WriteSubstring((_PyUnicodeWriter*)writer, str,
  457|      4|                                           start, end);
  458|      4|}
_PyUnicodeWriter_WriteASCIIString:
  464|  3.90M|{
  465|  3.90M|    if (len == -1)
  ------------------
  |  Branch (465:9): [True: 0, False: 3.90M]
  ------------------
  466|      0|        len = strlen(ascii);
  467|       |
  468|  3.90M|    if (len == 0) {
  ------------------
  |  Branch (468:9): [True: 0, False: 3.90M]
  ------------------
  469|      0|        return 0;
  470|      0|    }
  471|       |
  472|  3.90M|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) < 128);
  473|       |
  474|  3.90M|    if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (474:9): [True: 1.33M, False: 2.56M]
  |  Branch (474:35): [True: 54.1k, False: 1.28M]
  ------------------
  475|  54.1k|        PyObject *str;
  476|       |
  477|  54.1k|        str = _PyUnicode_FromASCII(ascii, len);
  478|  54.1k|        if (str == NULL)
  ------------------
  |  Branch (478:13): [True: 0, False: 54.1k]
  ------------------
  479|      0|            return -1;
  480|       |
  481|  54.1k|        writer->readonly = 1;
  482|  54.1k|        writer->buffer = str;
  483|  54.1k|        _PyUnicodeWriter_Update(writer);
  484|  54.1k|        writer->pos += len;
  485|  54.1k|        return 0;
  486|  54.1k|    }
  487|       |
  488|  3.85M|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
  ------------------
  |  |  562|  3.85M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 2.56M, False: 1.28M]
  |  |  ------------------
  |  |  563|  3.85M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 2.56M, False: 0]
  |  |  ------------------
  |  |  564|  3.85M|     ? 0                                                              \
  |  |  565|  3.85M|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 1.28M]
  |  |  ------------------
  |  |  566|  1.28M|        ? 0                                                           \
  |  |  567|  1.28M|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (488:9): [True: 0, False: 3.85M]
  ------------------
  489|      0|        return -1;
  490|       |
  491|  3.85M|    switch (writer->kind)
  492|  3.85M|    {
  493|  3.85M|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (493:5): [True: 3.85M, False: 0]
  ------------------
  494|  3.85M|    {
  495|  3.85M|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  496|  3.85M|        Py_UCS1 *data = writer->data;
  497|       |
  498|  3.85M|        memcpy(data + writer->pos, str, len);
  499|  3.85M|        break;
  500|      0|    }
  501|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (501:5): [True: 0, False: 3.85M]
  ------------------
  502|      0|    {
  503|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  504|      0|            Py_UCS1, Py_UCS2,
  505|      0|            ascii, ascii + len,
  506|      0|            (Py_UCS2 *)writer->data + writer->pos);
  507|      0|        break;
  508|      0|    }
  509|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (509:5): [True: 0, False: 3.85M]
  ------------------
  510|      0|    {
  511|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  512|      0|            Py_UCS1, Py_UCS4,
  513|      0|            ascii, ascii + len,
  514|      0|            (Py_UCS4 *)writer->data + writer->pos);
  515|      0|        break;
  516|      0|    }
  517|      0|    default:
  ------------------
  |  Branch (517:5): [True: 0, False: 3.85M]
  ------------------
  518|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  519|  3.85M|    }
  520|       |
  521|  3.85M|    writer->pos += len;
  522|  3.85M|    return 0;
  523|  3.85M|}
PyUnicodeWriter_WriteASCII:
  530|      2|{
  531|      2|    assert(writer != NULL);
  532|      2|    _Py_AssertHoldsTstate();
  533|       |
  534|      2|    _PyUnicodeWriter *priv_writer = (_PyUnicodeWriter*)writer;
  535|      2|    return _PyUnicodeWriter_WriteASCIIString(priv_writer, str, size);
  536|      2|}
_PyUnicodeWriter_Finish:
  602|  1.51M|{
  603|  1.51M|    PyObject *str;
  604|       |
  605|  1.51M|    if (writer->pos == 0) {
  ------------------
  |  Branch (605:9): [True: 0, False: 1.51M]
  ------------------
  606|      0|        Py_CLEAR(writer->buffer);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  607|      0|        return _PyUnicode_GetEmpty();
  608|      0|    }
  609|       |
  610|  1.51M|    str = writer->buffer;
  611|  1.51M|    writer->buffer = NULL;
  612|       |
  613|  1.51M|    if (writer->readonly) {
  ------------------
  |  Branch (613:9): [True: 54.2k, False: 1.46M]
  ------------------
  614|  54.2k|        assert(PyUnicode_GET_LENGTH(str) == writer->pos);
  615|  54.2k|        return str;
  616|  54.2k|    }
  617|       |
  618|  1.46M|    if (PyUnicode_GET_LENGTH(str) != writer->pos) {
  ------------------
  |  |  299|  1.46M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (618:9): [True: 1.43M, False: 27.1k]
  ------------------
  619|  1.43M|        PyObject *str2;
  620|  1.43M|        str2 = _PyUnicode_ResizeCompact(str, writer->pos);
  621|  1.43M|        if (str2 == NULL) {
  ------------------
  |  Branch (621:13): [True: 0, False: 1.43M]
  ------------------
  622|      0|            Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|      0|            return NULL;
  624|      0|        }
  625|  1.43M|        str = str2;
  626|  1.43M|    }
  627|       |
  628|  1.46M|    assert(_PyUnicode_CheckConsistency(str, 1));
  629|  1.46M|    return _PyUnicode_Result(str);
  630|  1.46M|}
PyUnicodeWriter_Finish:
  635|  54.2k|{
  636|  54.2k|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  637|  54.2k|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  638|  54.2k|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  54.2k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  54.2k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|  54.2k|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  639|  54.2k|    return str;
  640|  54.2k|}
unicode_writer.c:_PyUnicodeWriter_Update:
  120|  1.59M|{
  121|  1.59M|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(writer->buffer);
  ------------------
  |  |  405|  1.59M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|  1.59M|    writer->data = PyUnicode_DATA(writer->buffer);
  ------------------
  |  |  284|  1.59M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|  1.59M|    if (!writer->readonly) {
  ------------------
  |  Branch (124:9): [True: 1.54M, False: 54.2k]
  ------------------
  125|  1.54M|        writer->kind = PyUnicode_KIND(writer->buffer);
  ------------------
  |  |  258|  1.54M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.54M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  126|  1.54M|        writer->size = PyUnicode_GET_LENGTH(writer->buffer);
  ------------------
  |  |  299|  1.54M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|  1.54M|    }
  128|  54.2k|    else {
  129|       |        /* use a value smaller than PyUnicode_1BYTE_KIND() so
  130|       |           _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  131|  54.2k|        writer->kind = 0;
  132|  54.2k|        assert(writer->kind <= PyUnicode_1BYTE_KIND);
  133|       |
  134|       |        /* Copy-on-write mode: set buffer size to 0 so
  135|       |         * _PyUnicodeWriter_Prepare() will copy (and enlarge) the buffer on
  136|       |         * next write. */
  137|  54.2k|        writer->size = 0;
  138|  54.2k|    }
  139|  1.59M|}

_PyUnicode_IsTitlecase:
   76|  41.8k|{
   77|  41.8k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   78|       |
   79|  41.8k|    return (ctype->flags & TITLE_MASK) != 0;
  ------------------
  |  |   18|  41.8k|#define TITLE_MASK 0x40
  ------------------
   80|  41.8k|}
_PyUnicode_IsXidStart:
   86|  26.2k|{
   87|  26.2k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  26.2k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  26.2k|#define XID_START_MASK 0x100
  ------------------
   90|  26.2k|}
_PyUnicode_IsXidContinue:
   96|   209k|{
   97|   209k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|   209k|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|   209k|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|   209k|}
_PyUnicode_ToDecimalDigit:
  106|  24.8k|{
  107|  24.8k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  108|       |
  109|  24.8k|    return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1;
  ------------------
  |  |   15|  24.8k|#define DECIMAL_MASK 0x02
  ------------------
  |  Branch (109:12): [True: 248, False: 24.6k]
  ------------------
  110|  24.8k|}
_PyUnicode_IsDecimalDigit:
  113|     48|{
  114|     48|    if (_PyUnicode_ToDecimalDigit(ch) < 0)
  ------------------
  |  Branch (114:9): [True: 48, False: 0]
  ------------------
  115|     48|        return 0;
  116|      0|    return 1;
  117|     48|}
_PyUnicode_ToDigit:
  123|    428|{
  124|    428|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  125|       |
  126|    428|    return (ctype->flags & DIGIT_MASK) ? ctype->digit : -1;
  ------------------
  |  |   16|    428|#define DIGIT_MASK 0x04
  ------------------
  |  Branch (126:12): [True: 388, False: 40]
  ------------------
  127|    428|}
_PyUnicode_IsDigit:
  130|    428|{
  131|    428|    if (_PyUnicode_ToDigit(ch) < 0)
  ------------------
  |  Branch (131:9): [True: 40, False: 388]
  ------------------
  132|     40|        return 0;
  133|    388|    return 1;
  134|    428|}
_PyUnicode_IsNumeric:
  140|     40|{
  141|     40|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  142|       |
  143|     40|    return (ctype->flags & NUMERIC_MASK) != 0;
  ------------------
  |  |   23|     40|#define NUMERIC_MASK 0x800
  ------------------
  144|     40|}
_PyUnicode_IsPrintable:
  152|   170k|{
  153|   170k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|   170k|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|   170k|#define PRINTABLE_MASK 0x400
  ------------------
  156|   170k|}
_PyUnicode_IsLowercase:
  162|  42.3k|{
  163|  42.3k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  164|       |
  165|  42.3k|    return (ctype->flags & LOWER_MASK) != 0;
  ------------------
  |  |   17|  42.3k|#define LOWER_MASK 0x08
  ------------------
  166|  42.3k|}
_PyUnicode_IsUppercase:
  172|  3.38k|{
  173|  3.38k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  174|       |
  175|  3.38k|    return (ctype->flags & UPPER_MASK) != 0;
  ------------------
  |  |   19|  3.38k|#define UPPER_MASK 0x80
  ------------------
  176|  3.38k|}
_PyUnicode_ToUppercase:
  182|    164|{
  183|    164|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  184|       |
  185|    164|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|    164|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (185:9): [True: 0, False: 164]
  ------------------
  186|      0|        return _PyUnicode_ExtendedCase[ctype->upper & 0xFFFF];
  187|    164|    return ch + ctype->upper;
  188|    164|}
_PyUnicode_ToLowercase:
  194|    430|{
  195|    430|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  196|       |
  197|    430|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|    430|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (197:9): [True: 0, False: 430]
  ------------------
  198|      0|        return _PyUnicode_ExtendedCase[ctype->lower & 0xFFFF];
  199|    430|    return ch + ctype->lower;
  200|    430|}
_PyUnicode_IsAlpha:
  283|    374|{
  284|    374|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  285|       |
  286|    374|    return (ctype->flags & ALPHA_MASK) != 0;
  ------------------
  |  |   14|    374|#define ALPHA_MASK 0x01
  ------------------
  287|    374|}
unicodectype.c:gettyperecord:
   46|   519k|{
   47|   519k|    int index;
   48|       |
   49|   519k|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 519k]
  ------------------
   50|      0|        index = 0;
   51|   519k|    else
   52|   519k|    {
   53|   519k|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1760|   519k|#define SHIFT 7
  ------------------
   54|   519k|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|   519k|#define SHIFT 7
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|   519k|#define SHIFT 7
  ------------------
   55|   519k|    }
   56|       |
   57|   519k|    return &_PyUnicode_TypeRecords[index];
   58|   519k|}

_PyUnicode_GetEmpty:
  203|  1.53M|{
  204|  1.53M|    _Py_DECLARE_STR(empty, "");
  205|  1.53M|    return &_Py_STR(empty);
  ------------------
  |  |  921|  1.53M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.53M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.53M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|  1.53M|}
_Py_GetErrorHandler:
  470|  65.3k|{
  471|  65.3k|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (471:9): [True: 0, False: 65.3k]
  |  Branch (471:27): [True: 4.91k, False: 60.4k]
  ------------------
  472|  4.91k|        return _Py_ERROR_STRICT;
  473|  4.91k|    }
  474|  60.4k|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (474:9): [True: 54.4k, False: 5.92k]
  ------------------
  475|  54.4k|        return _Py_ERROR_SURROGATEESCAPE;
  476|  54.4k|    }
  477|  5.92k|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (477:9): [True: 5.92k, False: 0]
  ------------------
  478|  5.92k|        return _Py_ERROR_REPLACE;
  479|  5.92k|    }
  480|      0|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (480:9): [True: 0, False: 0]
  ------------------
  481|      0|        return _Py_ERROR_IGNORE;
  482|      0|    }
  483|      0|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (483:9): [True: 0, False: 0]
  ------------------
  484|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  485|      0|    }
  486|      0|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (486:9): [True: 0, False: 0]
  ------------------
  487|      0|        return _Py_ERROR_SURROGATEPASS;
  488|      0|    }
  489|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 0]
  ------------------
  490|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  491|      0|    }
  492|      0|    return _Py_ERROR_OTHER;
  493|      0|}
_PyUnicode_Result:
  719|  1.51M|{
  720|  1.51M|    assert(_PyUnicode_CHECK(unicode));
  721|       |
  722|  1.51M|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  1.51M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|  1.51M|    if (length == 0) {
  ------------------
  |  Branch (723:9): [True: 0, False: 1.51M]
  ------------------
  724|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  725|      0|        if (unicode != empty) {
  ------------------
  |  Branch (725:13): [True: 0, False: 0]
  ------------------
  726|      0|            Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|      0|        }
  728|      0|        return empty;
  729|      0|    }
  730|       |
  731|  1.51M|    if (length == 1) {
  ------------------
  |  Branch (731:9): [True: 32, False: 1.51M]
  ------------------
  732|     32|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     32|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  733|     32|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (733:13): [True: 22, False: 10]
  ------------------
  734|     22|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|     22|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  735|     22|            Py_UCS1 ch = data[0];
  736|     22|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  184|     22|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  923|     22|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (923:6): [True: 20, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  924|     22|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  925|     22|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|     22|            if (unicode != latin1_char) {
  ------------------
  |  Branch (737:17): [True: 22, False: 0]
  ------------------
  738|     22|                Py_DECREF(unicode);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|     22|            }
  740|     22|            return latin1_char;
  741|     22|        }
  742|     32|    }
  743|       |
  744|  1.51M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  745|  1.51M|    return unicode;
  746|  1.51M|}
_PyUnicode_ResizeCompact:
 1069|  1.51M|{
 1070|  1.51M|    Py_ssize_t char_size;
 1071|  1.51M|    Py_ssize_t struct_size;
 1072|  1.51M|    Py_ssize_t new_size;
 1073|  1.51M|    PyObject *new_unicode;
 1074|       |#ifdef Py_DEBUG
 1075|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1076|       |#endif
 1077|       |
 1078|  1.51M|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 1.51M]
  ------------------
 1079|      0|        PyObject *copy = resize_copy(unicode, length);
 1080|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1080:13): [True: 0, False: 0]
  ------------------
 1081|      0|            return NULL;
 1082|      0|        }
 1083|      0|        Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|      0|        return copy;
 1085|      0|    }
 1086|  1.51M|    assert(PyUnicode_IS_COMPACT(unicode));
 1087|       |
 1088|  1.51M|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.51M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.51M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1089|  1.51M|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  1.51M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.51M, False: 88]
  |  |  ------------------
  ------------------
 1090|  1.51M|        struct_size = sizeof(PyASCIIObject);
 1091|     88|    else
 1092|     88|        struct_size = sizeof(PyCompactUnicodeObject);
 1093|       |
 1094|  1.51M|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|  1.51M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1094:9): [True: 0, False: 1.51M]
  ------------------
 1095|      0|        PyErr_NoMemory();
 1096|      0|        return NULL;
 1097|      0|    }
 1098|  1.51M|    new_size = (struct_size + (length + 1) * char_size);
 1099|       |
 1100|  1.51M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 1.51M]
  ------------------
 1101|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1102|      0|        PyUnicode_SET_UTF8_LENGTH(unicode, 0);
 1103|      0|        PyUnicode_SET_UTF8(unicode, NULL);
 1104|      0|    }
 1105|       |#ifdef Py_TRACE_REFS
 1106|       |    _Py_ForgetReference(unicode);
 1107|       |#endif
 1108|  1.51M|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  1.51M|    do { \
  |  |  113|  1.51M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  1.51M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 1.51M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  1.51M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 1.51M]
  |  |  ------------------
  ------------------
 1109|       |
 1110|  1.51M|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1111|  1.51M|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 1.51M]
  ------------------
 1112|      0|        _Py_NewReferenceNoTotal(unicode);
 1113|      0|        PyErr_NoMemory();
 1114|      0|        return NULL;
 1115|      0|    }
 1116|  1.51M|    unicode = new_unicode;
 1117|  1.51M|    _Py_NewReferenceNoTotal(unicode);
 1118|       |
 1119|  1.51M|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  151|  1.51M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  1.51M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  1.51M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1120|       |#ifdef Py_DEBUG
 1121|       |    unicode_fill_invalid(unicode, old_length);
 1122|       |#endif
 1123|  1.51M|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  335|  1.51M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.51M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  1.51M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  1.51M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1124|  1.51M|                    length, 0);
 1125|       |    assert(_PyUnicode_CheckConsistency(unicode, 0));
 1126|  1.51M|    return unicode;
 1127|  1.51M|}
PyUnicode_New:
 1273|  5.67M|{
 1274|       |    /* Optimization for empty strings */
 1275|  5.67M|    if (size == 0) {
  ------------------
  |  Branch (1275:9): [True: 535, False: 5.67M]
  ------------------
 1276|    535|        return _PyUnicode_GetEmpty();
 1277|    535|    }
 1278|       |
 1279|  5.67M|    PyObject *obj;
 1280|  5.67M|    PyCompactUnicodeObject *unicode;
 1281|  5.67M|    void *data;
 1282|  5.67M|    int kind;
 1283|  5.67M|    int is_ascii;
 1284|  5.67M|    Py_ssize_t char_size;
 1285|  5.67M|    Py_ssize_t struct_size;
 1286|       |
 1287|  5.67M|    is_ascii = 0;
 1288|  5.67M|    struct_size = sizeof(PyCompactUnicodeObject);
 1289|  5.67M|    if (maxchar < 128) {
  ------------------
  |  Branch (1289:9): [True: 5.51M, False: 162k]
  ------------------
 1290|  5.51M|        kind = PyUnicode_1BYTE_KIND;
 1291|  5.51M|        char_size = 1;
 1292|  5.51M|        is_ascii = 1;
 1293|  5.51M|        struct_size = sizeof(PyASCIIObject);
 1294|  5.51M|    }
 1295|   162k|    else if (maxchar < 256) {
  ------------------
  |  Branch (1295:14): [True: 170, False: 162k]
  ------------------
 1296|    170|        kind = PyUnicode_1BYTE_KIND;
 1297|    170|        char_size = 1;
 1298|    170|    }
 1299|   162k|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1299:14): [True: 94.8k, False: 67.8k]
  ------------------
 1300|  94.8k|        kind = PyUnicode_2BYTE_KIND;
 1301|  94.8k|        char_size = 2;
 1302|  94.8k|    }
 1303|  67.8k|    else {
 1304|  67.8k|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  104|  67.8k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  67.8k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1304:13): [True: 0, False: 67.8k]
  ------------------
 1305|      0|            PyErr_SetString(PyExc_SystemError,
 1306|      0|                            "invalid maximum character passed to PyUnicode_New");
 1307|      0|            return NULL;
 1308|      0|        }
 1309|  67.8k|        kind = PyUnicode_4BYTE_KIND;
 1310|  67.8k|        char_size = 4;
 1311|  67.8k|    }
 1312|       |
 1313|       |    /* Ensure we won't overflow the size. */
 1314|  5.67M|    if (size < 0) {
  ------------------
  |  Branch (1314:9): [True: 0, False: 5.67M]
  ------------------
 1315|      0|        PyErr_SetString(PyExc_SystemError,
 1316|      0|                        "Negative size passed to PyUnicode_New");
 1317|      0|        return NULL;
 1318|      0|    }
 1319|  5.67M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  5.67M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1319:9): [True: 0, False: 5.67M]
  ------------------
 1320|      0|        return PyErr_NoMemory();
 1321|       |
 1322|       |    /* Duplicated allocation code from _PyObject_New() instead of a call to
 1323|       |     * PyObject_New() so we are able to allocate space for the object and
 1324|       |     * it's data buffer.
 1325|       |     */
 1326|  5.67M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1327|  5.67M|    if (obj == NULL) {
  ------------------
  |  Branch (1327:9): [True: 0, False: 5.67M]
  ------------------
 1328|      0|        return PyErr_NoMemory();
 1329|      0|    }
 1330|  5.67M|    _PyObject_Init(obj, &PyUnicode_Type);
 1331|       |
 1332|  5.67M|    unicode = (PyCompactUnicodeObject *)obj;
 1333|  5.67M|    if (is_ascii)
  ------------------
  |  Branch (1333:9): [True: 5.51M, False: 162k]
  ------------------
 1334|  5.51M|        data = ((PyASCIIObject*)obj) + 1;
 1335|   162k|    else
 1336|   162k|        data = unicode + 1;
 1337|  5.67M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  151|  5.67M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|  5.67M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  155|  5.67M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|  5.67M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  153|  5.67M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|  5.67M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  153|  5.67M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|  5.67M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  153|  5.67M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|  5.67M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  153|  5.67M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|  5.67M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  153|  5.67M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.67M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|  5.67M|    if (is_ascii) {
  ------------------
  |  Branch (1344:9): [True: 5.51M, False: 162k]
  ------------------
 1345|  5.51M|        ((char*)data)[size] = 0;
 1346|  5.51M|    }
 1347|   162k|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1347:14): [True: 170, False: 162k]
  ------------------
 1348|    170|        ((char*)data)[size] = 0;
 1349|    170|        unicode->utf8 = NULL;
 1350|    170|        unicode->utf8_length = 0;
 1351|    170|    }
 1352|   162k|    else {
 1353|   162k|        unicode->utf8 = NULL;
 1354|   162k|        unicode->utf8_length = 0;
 1355|   162k|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1355:13): [True: 94.8k, False: 67.8k]
  ------------------
 1356|  94.8k|            ((Py_UCS2*)data)[size] = 0;
 1357|  67.8k|        else /* kind == PyUnicode_4BYTE_KIND */
 1358|  67.8k|            ((Py_UCS4*)data)[size] = 0;
 1359|   162k|    }
 1360|       |#ifdef Py_DEBUG
 1361|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1362|       |#endif
 1363|       |    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
 1364|  5.67M|    return obj;
 1365|  5.67M|}
_PyUnicode_FastCopyCharacters:
 1525|  4.78M|{
 1526|  4.78M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1527|  4.78M|}
_PyUnicode_IsModifiable:
 1734|  1.52M|{
 1735|  1.52M|    assert(_PyUnicode_CHECK(unicode));
 1736|  1.52M|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1736:9): [True: 650, False: 1.51M]
  ------------------
 1737|    650|        return 0;
 1738|  1.51M|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  157|  1.51M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1738:9): [True: 0, False: 1.51M]
  ------------------
 1739|      0|        return 0;
 1740|  1.51M|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  214|  1.51M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 1.51M]
  |  |  ------------------
  ------------------
 1741|      0|        return 0;
 1742|  1.51M|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|  1.51M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.51M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1742:9): [True: 0, False: 1.51M]
  ------------------
 1743|      0|        return 0;
 1744|       |#ifdef Py_DEBUG
 1745|       |    /* singleton refcount is greater than 1 */
 1746|       |    assert(!unicode_is_singleton(unicode));
 1747|       |#endif
 1748|  1.51M|    return 1;
 1749|  1.51M|}
PyUnicode_FromWideChar:
 1900|  56.0k|{
 1901|  56.0k|    PyObject *unicode;
 1902|  56.0k|    Py_UCS4 maxchar = 0;
 1903|  56.0k|    Py_ssize_t num_surrogates;
 1904|       |
 1905|  56.0k|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1905:9): [True: 0, False: 56.0k]
  |  Branch (1905:22): [True: 0, False: 0]
  ------------------
 1906|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1907|      0|        return NULL;
 1908|      0|    }
 1909|       |
 1910|  56.0k|    if (size == -1) {
  ------------------
  |  Branch (1910:9): [True: 72, False: 56.0k]
  ------------------
 1911|     72|        size = wcslen(u);
 1912|     72|    }
 1913|       |
 1914|       |    /* If the Unicode data is known at construction time, we can apply
 1915|       |       some optimizations which share commonly used objects. */
 1916|       |
 1917|       |    /* Optimization for empty strings */
 1918|  56.0k|    if (size == 0)
  ------------------
  |  Branch (1918:9): [True: 470, False: 55.6k]
  ------------------
 1919|    470|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|    470|    do {                             \
  |  |  376|    470|        return _PyUnicode_GetEmpty();\
  |  |  377|    470|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1920|       |
 1921|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 1922|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 1923|       |       non-Unicode locales and hence needs conversion to UCS-4 first. */
 1924|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 1925|       |        wchar_t* converted = _Py_DecodeNonUnicodeWchar(u, size);
 1926|       |        if (!converted) {
 1927|       |            return NULL;
 1928|       |        }
 1929|       |        PyObject *unicode = _PyUnicode_FromUCS4(converted, size);
 1930|       |        PyMem_Free(converted);
 1931|       |        return unicode;
 1932|       |    }
 1933|       |#endif
 1934|       |
 1935|       |    /* Single character Unicode objects in the Latin-1 range are
 1936|       |       shared when using this constructor */
 1937|  55.6k|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1937:9): [True: 466, False: 55.1k]
  |  Branch (1937:22): [True: 466, False: 0]
  ------------------
 1938|    466|        return get_latin1_char((unsigned char)*u);
 1939|       |
 1940|       |    /* If not empty and not single character, copy the Unicode data
 1941|       |       into the new object */
 1942|  55.1k|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1942:9): [True: 0, False: 55.1k]
  ------------------
 1943|  55.1k|                                &maxchar, &num_surrogates) == -1)
 1944|      0|        return NULL;
 1945|       |
 1946|  55.1k|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1947|  55.1k|    if (!unicode)
  ------------------
  |  Branch (1947:9): [True: 0, False: 55.1k]
  ------------------
 1948|      0|        return NULL;
 1949|       |
 1950|  55.1k|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  258|  55.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  55.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  284|  55.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|  55.1k|                           u, size, num_surrogates);
 1952|       |
 1953|  55.1k|    return unicode_result(unicode);
  ------------------
  |  |  747|  55.1k|#define unicode_result _PyUnicode_Result
  ------------------
 1954|  55.1k|}
PyUnicode_FromStringAndSize:
 2009|  28.5k|{
 2010|  28.5k|    if (size < 0) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 28.5k]
  ------------------
 2011|      0|        PyErr_SetString(PyExc_SystemError,
 2012|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2013|      0|        return NULL;
 2014|      0|    }
 2015|  28.5k|    if (u != NULL) {
  ------------------
  |  Branch (2015:9): [True: 28.5k, False: 0]
  ------------------
 2016|  28.5k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2017|  28.5k|    }
 2018|      0|    if (size > 0) {
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        PyErr_SetString(PyExc_SystemError,
 2020|      0|            "NULL string with positive size with NULL passed to PyUnicode_FromStringAndSize");
 2021|      0|        return NULL;
 2022|      0|    }
 2023|      0|    return _PyUnicode_GetEmpty();
 2024|      0|}
PyUnicode_FromString:
 2028|   293k|{
 2029|   293k|    size_t size = strlen(u);
 2030|   293k|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|   293k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2030:9): [True: 0, False: 293k]
  ------------------
 2031|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2032|      0|        return NULL;
 2033|      0|    }
 2034|   293k|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2035|   293k|}
_PyUnicode_FromASCII:
 2123|   183k|{
 2124|   183k|    const unsigned char *s = (const unsigned char *)buffer;
 2125|   183k|    PyObject *unicode;
 2126|   183k|    if (size == 1) {
  ------------------
  |  Branch (2126:9): [True: 37.8k, False: 145k]
  ------------------
 2127|       |#ifdef Py_DEBUG
 2128|       |        assert((unsigned char)s[0] < 128);
 2129|       |#endif
 2130|  37.8k|        return get_latin1_char(s[0]);
 2131|  37.8k|    }
 2132|   145k|    unicode = PyUnicode_New(size, 127);
 2133|   145k|    if (!unicode)
  ------------------
  |  Branch (2133:9): [True: 0, False: 145k]
  ------------------
 2134|      0|        return NULL;
 2135|   145k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  291|   145k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   145k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2136|       |    assert(_PyUnicode_CheckConsistency(unicode, 1));
 2137|   145k|    return unicode;
 2138|   145k|}
PyUnicode_FromKindAndData:
 2279|   130k|{
 2280|   130k|    if (size < 0) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 130k]
  ------------------
 2281|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2282|      0|        return NULL;
 2283|      0|    }
 2284|   130k|    switch (kind) {
 2285|   130k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2285:5): [True: 130k, False: 388]
  ------------------
 2286|   130k|        return _PyUnicode_FromUCS1(buffer, size);
 2287|    356|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2287:5): [True: 356, False: 130k]
  ------------------
 2288|    356|        return _PyUnicode_FromUCS2(buffer, size);
 2289|     32|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2289:5): [True: 32, False: 130k]
  ------------------
 2290|     32|        return _PyUnicode_FromUCS4(buffer, size);
 2291|      0|    default:
  ------------------
  |  Branch (2291:5): [True: 0, False: 130k]
  ------------------
 2292|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2293|       |        return NULL;
 2294|   130k|    }
 2295|   130k|}
_PyUnicode_FindMaxChar:
 2299|  88.7k|{
 2300|  88.7k|    int kind;
 2301|  88.7k|    const void *startptr, *endptr;
 2302|       |
 2303|  88.7k|    assert(0 <= start);
 2304|  88.7k|    assert(end <= PyUnicode_GET_LENGTH(unicode));
 2305|  88.7k|    assert(start <= end);
 2306|       |
 2307|  88.7k|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  299|  88.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2307:9): [True: 88.7k, False: 0]
  |  Branch (2307:23): [True: 79.6k, False: 9.06k]
  ------------------
 2308|  79.6k|        return PyUnicode_MAX_CHAR_VALUE(unicode);
  ------------------
  |  |  405|  79.6k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2309|       |
 2310|  9.06k|    if (start == end)
  ------------------
  |  Branch (2310:9): [True: 0, False: 9.06k]
  ------------------
 2311|      0|        return 127;
 2312|       |
 2313|  9.06k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  9.06k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 9.06k, False: 0]
  |  |  ------------------
  ------------------
 2314|  9.06k|        return 127;
 2315|       |
 2316|      0|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2317|      0|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      0|    endptr = (char *)startptr + end * kind;
 2319|      0|    startptr = (char *)startptr + start * kind;
 2320|      0|    switch(kind) {
 2321|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2321:5): [True: 0, False: 0]
  ------------------
 2322|      0|        return ucs1lib_find_max_char(startptr, endptr);
 2323|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2323:5): [True: 0, False: 0]
  ------------------
 2324|      0|        return ucs2lib_find_max_char(startptr, endptr);
 2325|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2325:5): [True: 0, False: 0]
  ------------------
 2326|      0|        return ucs4lib_find_max_char(startptr, endptr);
 2327|      0|    default:
  ------------------
  |  Branch (2327:5): [True: 0, False: 0]
  ------------------
 2328|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2329|      0|    }
 2330|      0|}
PyUnicode_AsUCS4:
 2500|      2|{
 2501|      2|    if (target == NULL || targetsize < 0) {
  ------------------
  |  Branch (2501:9): [True: 0, False: 2]
  |  Branch (2501:27): [True: 0, False: 2]
  ------------------
 2502|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2503|      0|        return NULL;
 2504|      0|    }
 2505|      2|    return as_ucs4(string, target, targetsize, copy_null);
 2506|      2|}
PyUnicode_FromFormatV:
 3111|  1.35M|{
 3112|  1.35M|    _PyUnicodeWriter writer;
 3113|  1.35M|    _PyUnicodeWriter_Init(&writer);
 3114|       |
 3115|  1.35M|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3115:9): [True: 0, False: 1.35M]
  ------------------
 3116|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3117|      0|        return NULL;
 3118|      0|    }
 3119|  1.35M|    return _PyUnicodeWriter_Finish(&writer);
 3120|  1.35M|}
PyUnicode_FromFormat:
 3124|  20.6k|{
 3125|  20.6k|    PyObject* ret;
 3126|  20.6k|    va_list vargs;
 3127|       |
 3128|  20.6k|    va_start(vargs, format);
 3129|  20.6k|    ret = PyUnicode_FromFormatV(format, vargs);
 3130|       |    va_end(vargs);
 3131|  20.6k|    return ret;
 3132|  20.6k|}
PyUnicode_AsWideChar:
 3241|      4|{
 3242|      4|    Py_ssize_t res;
 3243|       |
 3244|      4|    if (unicode == NULL) {
  ------------------
  |  Branch (3244:9): [True: 0, False: 4]
  ------------------
 3245|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3246|      0|        return -1;
 3247|      0|    }
 3248|      4|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3248:9): [True: 0, False: 4]
  ------------------
 3249|      0|        PyErr_BadArgument();
 3250|      0|        return -1;
 3251|      0|    }
 3252|       |
 3253|      4|    res = unicode_get_widechar_size(unicode);
 3254|      4|    if (w == NULL) {
  ------------------
  |  Branch (3254:9): [True: 0, False: 4]
  ------------------
 3255|      0|        return res + 1;
 3256|      0|    }
 3257|       |
 3258|      4|    if (size > res) {
  ------------------
  |  Branch (3258:9): [True: 4, False: 0]
  ------------------
 3259|      4|        size = res + 1;
 3260|      4|    }
 3261|      0|    else {
 3262|      0|        res = size;
 3263|      0|    }
 3264|      4|    unicode_copy_as_widechar(unicode, w, size);
 3265|       |
 3266|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3267|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3268|       |       non-Unicode locales and hence needs conversion first. */
 3269|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3270|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(w, size) < 0) {
 3271|       |            return -1;
 3272|       |        }
 3273|       |    }
 3274|       |#endif
 3275|       |
 3276|      4|    return res;
 3277|      4|}
PyUnicode_AsWideCharString:
 3282|    690|{
 3283|    690|    wchar_t *buffer;
 3284|    690|    Py_ssize_t buflen;
 3285|       |
 3286|    690|    if (unicode == NULL) {
  ------------------
  |  Branch (3286:9): [True: 0, False: 690]
  ------------------
 3287|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3288|      0|        return NULL;
 3289|      0|    }
 3290|    690|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    690|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    690|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3290:9): [True: 0, False: 690]
  ------------------
 3291|      0|        PyErr_BadArgument();
 3292|      0|        return NULL;
 3293|      0|    }
 3294|       |
 3295|    690|    buflen = unicode_get_widechar_size(unicode);
 3296|    690|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    690|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    690|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 690]
  |  |  ------------------
  |  |   65|    690|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3297|    690|    if (buffer == NULL) {
  ------------------
  |  Branch (3297:9): [True: 0, False: 690]
  ------------------
 3298|      0|        PyErr_NoMemory();
 3299|      0|        return NULL;
 3300|      0|    }
 3301|    690|    unicode_copy_as_widechar(unicode, buffer, buflen + 1);
 3302|       |
 3303|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3304|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3305|       |       non-Unicode locales and hence needs conversion first. */
 3306|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3307|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(buffer, (buflen + 1)) < 0) {
 3308|       |            return NULL;
 3309|       |        }
 3310|       |    }
 3311|       |#endif
 3312|       |
 3313|    690|    if (size != NULL) {
  ------------------
  |  Branch (3313:9): [True: 628, False: 62]
  ------------------
 3314|    628|        *size = buflen;
 3315|    628|    }
 3316|     62|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3316:14): [True: 0, False: 62]
  ------------------
 3317|      0|        PyMem_Free(buffer);
 3318|      0|        PyErr_SetString(PyExc_ValueError,
 3319|      0|                        "embedded null character");
 3320|      0|        return NULL;
 3321|      0|    }
 3322|    690|    return buffer;
 3323|    690|}
PyUnicode_FromOrdinal:
 3377|   170k|{
 3378|   170k|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  104|   170k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|   170k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3378:9): [True: 0, False: 170k]
  |  Branch (3378:24): [True: 0, False: 170k]
  ------------------
 3379|      0|        PyErr_SetString(PyExc_ValueError,
 3380|      0|                        "chr() arg not in range(0x110000)");
 3381|      0|        return NULL;
 3382|      0|    }
 3383|       |
 3384|   170k|    return unicode_char((Py_UCS4)ordinal);
 3385|   170k|}
PyUnicode_FromObject:
 3389|  2.74k|{
 3390|       |    /* XXX Perhaps we should make this API an alias of
 3391|       |       PyObject_Str() instead ?! */
 3392|  2.74k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  2.74k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.74k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|  2.74k|        return Py_NewRef(obj);
  ------------------
  |  |  550|  2.74k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|  2.74k|    }
 3395|      0|    if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3396|       |        /* For a Unicode subtype that's not a Unicode object,
 3397|       |           return a true Unicode object with the same data. */
 3398|      0|        return _PyUnicode_Copy(obj);
 3399|      0|    }
 3400|      0|    PyErr_Format(PyExc_TypeError,
 3401|      0|                 "Can't convert '%.100s' object to str implicitly",
 3402|      0|                 Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3403|       |    return NULL;
 3404|      0|}
PyUnicode_FromEncodedObject:
 3410|     36|{
 3411|     36|    Py_buffer buffer;
 3412|     36|    PyObject *v;
 3413|       |
 3414|     36|    if (obj == NULL) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 36]
  ------------------
 3415|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3416|      0|        return NULL;
 3417|      0|    }
 3418|       |
 3419|       |    /* Decoding bytes objects is the most common case and should be fast */
 3420|     36|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|     36|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 36, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|     36|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|     36|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3421:13): [True: 0, False: 36]
  ------------------
 3422|      0|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3422:17): [True: 0, False: 0]
  ------------------
 3423|      0|                return NULL;
 3424|      0|            }
 3425|      0|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3426|      0|        }
 3427|     36|        return PyUnicode_Decode(
 3428|     36|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|     36|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|     36|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3429|     36|                encoding, errors);
 3430|     36|    }
 3431|       |
 3432|      0|    if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|      0|        PyErr_SetString(PyExc_TypeError,
 3434|      0|                        "decoding str is not supported");
 3435|      0|        return NULL;
 3436|      0|    }
 3437|       |
 3438|       |    /* Retrieve a bytes buffer view through the PEP 3118 buffer interface */
 3439|      0|    if (PyObject_GetBuffer(obj, &buffer, PyBUF_SIMPLE) < 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3439:9): [True: 0, False: 0]
  ------------------
 3440|      0|        PyErr_Format(PyExc_TypeError,
 3441|      0|                     "decoding to str: need a bytes-like object, %.80s found",
 3442|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|      0|        return NULL;
 3444|      0|    }
 3445|       |
 3446|      0|    if (buffer.len == 0) {
  ------------------
  |  Branch (3446:9): [True: 0, False: 0]
  ------------------
 3447|      0|        PyBuffer_Release(&buffer);
 3448|      0|        if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3448:13): [True: 0, False: 0]
  ------------------
 3449|      0|            return NULL;
 3450|      0|        }
 3451|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3452|      0|    }
 3453|       |
 3454|      0|    v = PyUnicode_Decode((char*) buffer.buf, buffer.len, encoding, errors);
 3455|      0|    PyBuffer_Release(&buffer);
 3456|      0|    return v;
 3457|      0|}
_Py_normalize_encoding:
 3467|   315k|{
 3468|   315k|    const char *e;
 3469|   315k|    char *l;
 3470|   315k|    char *l_end;
 3471|   315k|    int punct;
 3472|       |
 3473|   315k|    assert(encoding != NULL);
 3474|       |
 3475|   315k|    e = encoding;
 3476|   315k|    l = lower;
 3477|   315k|    l_end = &lower[lower_len - 1];
 3478|   315k|    punct = 0;
 3479|  1.89M|    while (1) {
  ------------------
  |  Branch (3479:12): [True: 1.89M, Folded]
  ------------------
 3480|  1.89M|        char c = *e;
 3481|  1.89M|        if (c == 0) {
  ------------------
  |  Branch (3481:13): [True: 315k, False: 1.57M]
  ------------------
 3482|   315k|            break;
 3483|   315k|        }
 3484|       |
 3485|  1.57M|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  3.15M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  1.57M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  1.57M|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  1.57M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  1.57M|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  1.57M|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  1.57M|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 1.44M, False: 130k]
  |  |  ------------------
  ------------------
  |  Branch (3485:30): [True: 0, False: 130k]
  ------------------
 3486|  1.44M|            if (punct && l != lower) {
  ------------------
  |  Branch (3486:17): [True: 130k, False: 1.31M]
  |  Branch (3486:26): [True: 130k, False: 0]
  ------------------
 3487|   130k|                if (l == l_end) {
  ------------------
  |  Branch (3487:21): [True: 0, False: 130k]
  ------------------
 3488|      0|                    return 0;
 3489|      0|                }
 3490|   130k|                *l++ = '_';
 3491|   130k|            }
 3492|  1.44M|            punct = 0;
 3493|       |
 3494|  1.44M|            if (l == l_end) {
  ------------------
  |  Branch (3494:17): [True: 0, False: 1.44M]
  ------------------
 3495|      0|                return 0;
 3496|      0|            }
 3497|  1.44M|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|  1.44M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  1.44M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3497:20): [True: 1.44M, False: 22]
  ------------------
 3498|  1.44M|        }
 3499|   130k|        else {
 3500|   130k|            punct = 1;
 3501|   130k|        }
 3502|       |
 3503|  1.57M|        e++;
 3504|  1.57M|    }
 3505|   315k|    *l = '\0';
 3506|   315k|    return 1;
 3507|   315k|}
PyUnicode_Decode:
 3514|  54.2k|{
 3515|  54.2k|    PyObject *buffer = NULL, *unicode;
 3516|  54.2k|    Py_buffer info;
 3517|  54.2k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3518|       |
 3519|  54.2k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3519:9): [True: 0, False: 54.2k]
  ------------------
 3520|      0|        return NULL;
 3521|      0|    }
 3522|       |
 3523|  54.2k|    if (size == 0) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 54.2k]
  ------------------
 3524|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3525|      0|    }
 3526|       |
 3527|  54.2k|    if (encoding == NULL) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 54.2k]
  ------------------
 3528|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3529|      0|    }
 3530|       |
 3531|       |    /* Shortcuts for common default encodings */
 3532|  54.2k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3532:9): [True: 54.2k, False: 0]
  ------------------
 3533|  54.2k|        char *lower = buflower;
 3534|       |
 3535|       |        /* Fast paths */
 3536|  54.2k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3536:13): [True: 54.2k, False: 14]
  |  Branch (3536:32): [True: 54.2k, False: 0]
  |  Branch (3536:51): [True: 54.2k, False: 0]
  ------------------
 3537|  54.2k|            lower += 3;
 3538|  54.2k|            if (*lower == '_') {
  ------------------
  |  Branch (3538:17): [True: 54.2k, False: 0]
  ------------------
 3539|       |                /* Match "utf8" and "utf_8" */
 3540|  54.2k|                lower++;
 3541|  54.2k|            }
 3542|       |
 3543|  54.2k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3543:17): [True: 54.2k, False: 0]
  |  Branch (3543:36): [True: 54.2k, False: 0]
  ------------------
 3544|  54.2k|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3545|  54.2k|            }
 3546|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3546:22): [True: 0, False: 0]
  |  Branch (3546:41): [True: 0, False: 0]
  |  Branch (3546:60): [True: 0, False: 0]
  ------------------
 3547|      0|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3548|      0|            }
 3549|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3549:22): [True: 0, False: 0]
  |  Branch (3549:41): [True: 0, False: 0]
  |  Branch (3549:60): [True: 0, False: 0]
  ------------------
 3550|      0|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3551|      0|            }
 3552|  54.2k|        }
 3553|     14|        else {
 3554|     14|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3554:17): [True: 0, False: 14]
  ------------------
 3555|     14|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3555:20): [True: 0, False: 14]
  ------------------
 3556|      0|                return PyUnicode_DecodeASCII(s, size, errors);
 3557|      0|            }
 3558|       |    #ifdef MS_WINDOWS
 3559|       |            else if (strcmp(lower, "mbcs") == 0) {
 3560|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3561|       |            }
 3562|       |    #endif
 3563|     14|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3563:22): [True: 14, False: 0]
  ------------------
 3564|      0|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3564:25): [True: 0, False: 0]
  ------------------
 3565|      0|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3565:25): [True: 0, False: 0]
  ------------------
 3566|     14|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3566:25): [True: 0, False: 0]
  ------------------
 3567|     14|                return PyUnicode_DecodeLatin1(s, size, errors);
 3568|     14|            }
 3569|     14|        }
 3570|  54.2k|    }
 3571|       |
 3572|       |    /* Decode via the codec registry */
 3573|      0|    buffer = NULL;
 3574|      0|    if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|      0|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|      0|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|      0|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|      0|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3574:9): [True: 0, False: 0]
  ------------------
 3575|      0|        goto onError;
 3576|      0|    buffer = PyMemoryView_FromBuffer(&info);
 3577|      0|    if (buffer == NULL)
  ------------------
  |  Branch (3577:9): [True: 0, False: 0]
  ------------------
 3578|      0|        goto onError;
 3579|      0|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3580|      0|    if (unicode == NULL)
  ------------------
  |  Branch (3580:9): [True: 0, False: 0]
  ------------------
 3581|      0|        goto onError;
 3582|      0|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3582:9): [True: 0, False: 0]
  ------------------
 3583|      0|        PyErr_Format(PyExc_TypeError,
 3584|      0|                     "'%.400s' decoder returned '%.400s' instead of 'str'; "
 3585|      0|                     "use codecs.decode() to decode to arbitrary types",
 3586|      0|                     encoding,
 3587|      0|                     Py_TYPE(unicode)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3588|      0|        Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      0|        goto onError;
 3590|      0|    }
 3591|      0|    Py_DECREF(buffer);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3592|      0|    return unicode_result(unicode);
  ------------------
  |  |  747|      0|#define unicode_result _PyUnicode_Result
  ------------------
 3593|       |
 3594|      0|  onError:
 3595|      0|    Py_XDECREF(buffer);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|       |    return NULL;
 3597|      0|}
PyUnicode_EncodeFSDefault:
 3735|  58.8k|{
 3736|  58.8k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3737|  58.8k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3738|  58.8k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3738:9): [True: 58.8k, False: 0]
  ------------------
 3739|  58.8k|        return unicode_encode_utf8(unicode,
 3740|  58.8k|                                   fs_codec->error_handler,
 3741|  58.8k|                                   fs_codec->errors);
 3742|  58.8k|    }
 3743|      0|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3744|      0|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3744:14): [True: 0, False: 0]
  ------------------
 3745|      0|        return PyUnicode_AsEncodedString(unicode,
 3746|      0|                                         fs_codec->encoding,
 3747|      0|                                         fs_codec->errors);
 3748|      0|    }
 3749|      0|#endif
 3750|      0|    else {
 3751|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3752|       |           machinery is not ready and so cannot be used:
 3753|       |           use wcstombs() in this case. */
 3754|      0|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3755|      0|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3756|      0|        assert(filesystem_errors != NULL);
 3757|      0|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3758|      0|        assert(errors != _Py_ERROR_UNKNOWN);
 3759|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3760|       |        return unicode_encode_utf8(unicode, errors, NULL);
 3761|       |#else
 3762|      0|        return unicode_encode_locale(unicode, errors, 0);
 3763|      0|#endif
 3764|      0|    }
 3765|  58.8k|}
PyUnicode_AsEncodedString:
 3771|   315k|{
 3772|   315k|    PyObject *v;
 3773|   315k|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3774|       |
 3775|   315k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   315k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   315k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3775:9): [True: 0, False: 315k]
  ------------------
 3776|      0|        PyErr_BadArgument();
 3777|      0|        return NULL;
 3778|      0|    }
 3779|       |
 3780|   315k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3780:9): [True: 0, False: 315k]
  ------------------
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|   315k|    if (encoding == NULL) {
  ------------------
  |  Branch (3784:9): [True: 54.8k, False: 261k]
  ------------------
 3785|  54.8k|        return _PyUnicode_AsUTF8String(unicode, errors);
 3786|  54.8k|    }
 3787|       |
 3788|       |    /* Shortcuts for common default encodings */
 3789|   261k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3789:9): [True: 261k, False: 0]
  ------------------
 3790|   261k|        char *lower = buflower;
 3791|       |
 3792|       |        /* Fast paths */
 3793|   261k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3793:13): [True: 76.3k, False: 184k]
  |  Branch (3793:32): [True: 76.3k, False: 0]
  |  Branch (3793:51): [True: 76.3k, False: 0]
  ------------------
 3794|  76.3k|            lower += 3;
 3795|  76.3k|            if (*lower == '_') {
  ------------------
  |  Branch (3795:17): [True: 76.3k, False: 0]
  ------------------
 3796|       |                /* Match "utf8" and "utf_8" */
 3797|  76.3k|                lower++;
 3798|  76.3k|            }
 3799|       |
 3800|  76.3k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3800:17): [True: 76.3k, False: 0]
  |  Branch (3800:36): [True: 76.3k, False: 0]
  ------------------
 3801|  76.3k|                return _PyUnicode_AsUTF8String(unicode, errors);
 3802|  76.3k|            }
 3803|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3803:22): [True: 0, False: 0]
  |  Branch (3803:41): [True: 0, False: 0]
  |  Branch (3803:60): [True: 0, False: 0]
  ------------------
 3804|      0|                return _PyUnicode_EncodeUTF16(unicode, errors, 0);
 3805|      0|            }
 3806|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3806:22): [True: 0, False: 0]
  |  Branch (3806:41): [True: 0, False: 0]
  |  Branch (3806:60): [True: 0, False: 0]
  ------------------
 3807|      0|                return _PyUnicode_EncodeUTF32(unicode, errors, 0);
 3808|      0|            }
 3809|  76.3k|        }
 3810|   184k|        else {
 3811|   184k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3811:17): [True: 184k, False: 4]
  ------------------
 3812|   184k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3812:20): [True: 0, False: 4]
  ------------------
 3813|   184k|                return _PyUnicode_AsASCIIString(unicode, errors);
 3814|   184k|            }
 3815|       |#ifdef MS_WINDOWS
 3816|       |            else if (strcmp(lower, "mbcs") == 0) {
 3817|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3818|       |            }
 3819|       |#endif
 3820|      4|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3820:22): [True: 0, False: 4]
  ------------------
 3821|      4|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3821:22): [True: 4, False: 0]
  ------------------
 3822|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3822:22): [True: 0, False: 0]
  ------------------
 3823|      4|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3823:22): [True: 0, False: 0]
  ------------------
 3824|      4|                return _PyUnicode_AsLatin1String(unicode, errors);
 3825|      4|            }
 3826|   184k|        }
 3827|   261k|    }
 3828|       |
 3829|       |    /* Encode via the codec registry */
 3830|      0|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3831|      0|    if (v == NULL)
  ------------------
  |  Branch (3831:9): [True: 0, False: 0]
  ------------------
 3832|      0|        return NULL;
 3833|       |
 3834|       |    /* The normal path */
 3835|      0|    if (PyBytes_Check(v))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3836|      0|        return v;
 3837|       |
 3838|       |    /* If the codec returns a buffer, raise a warning and convert to bytes */
 3839|      0|    if (PyByteArray_Check(v)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|      0|        int error;
 3841|      0|        PyObject *b;
 3842|       |
 3843|      0|        error = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
 3844|      0|            "encoder %s returned bytearray instead of bytes; "
 3845|      0|            "use codecs.encode() to encode to arbitrary types",
 3846|      0|            encoding);
 3847|      0|        if (error) {
  ------------------
  |  Branch (3847:13): [True: 0, False: 0]
  ------------------
 3848|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3849|      0|            return NULL;
 3850|      0|        }
 3851|       |
 3852|      0|        b = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(v),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3853|      0|                                      PyByteArray_GET_SIZE(v));
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3854|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|      0|        return b;
 3856|      0|    }
 3857|       |
 3858|      0|    PyErr_Format(PyExc_TypeError,
 3859|      0|                 "'%.400s' encoder returned '%.400s' instead of 'bytes'; "
 3860|      0|                 "use codecs.encode() to encode to arbitrary types",
 3861|      0|                 encoding,
 3862|      0|                 Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3863|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3864|       |    return NULL;
 3865|      0|}
PyUnicode_DecodeLocale:
 3952|  54.4k|{
 3953|  54.4k|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 3954|  54.4k|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 3955|  54.4k|    return unicode_decode_locale(str, size, error_handler, 1);
 3956|  54.4k|}
PyUnicode_DecodeFSDefault:
 3960|     14|PyUnicode_DecodeFSDefault(const char *s) {
 3961|     14|    Py_ssize_t size = (Py_ssize_t)strlen(s);
 3962|     14|    return PyUnicode_DecodeFSDefaultAndSize(s, size);
 3963|     14|}
PyUnicode_DecodeFSDefaultAndSize:
 3967|  2.29k|{
 3968|  2.29k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3969|  2.29k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3970|  2.29k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3970:9): [True: 2.28k, False: 2]
  ------------------
 3971|  2.28k|        return unicode_decode_utf8(s, size,
 3972|  2.28k|                                   fs_codec->error_handler,
 3973|  2.28k|                                   fs_codec->errors,
 3974|  2.28k|                                   NULL);
 3975|  2.28k|    }
 3976|      2|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3977|      2|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3977:14): [True: 0, False: 2]
  ------------------
 3978|      0|        return PyUnicode_Decode(s, size,
 3979|      0|                                fs_codec->encoding,
 3980|      0|                                fs_codec->errors);
 3981|      0|    }
 3982|      2|#endif
 3983|      2|    else {
 3984|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3985|       |           machinery is not ready and so cannot be used:
 3986|       |           use mbstowcs() in this case. */
 3987|      2|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3988|      2|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3989|      2|        assert(filesystem_errors != NULL);
 3990|      2|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3991|      2|        assert(errors != _Py_ERROR_UNKNOWN);
 3992|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3993|       |        return unicode_decode_utf8(s, size, errors, NULL, NULL);
 3994|       |#else
 3995|      2|        return unicode_decode_locale(s, size, errors, 0);
 3996|      2|#endif
 3997|      2|    }
 3998|  2.29k|}
PyUnicode_FSConverter:
 4003|  54.7k|{
 4004|  54.7k|    PyObject *path = NULL;
 4005|  54.7k|    PyObject *output = NULL;
 4006|  54.7k|    Py_ssize_t size;
 4007|  54.7k|    const char *data;
 4008|  54.7k|    if (arg == NULL) {
  ------------------
  |  Branch (4008:9): [True: 0, False: 54.7k]
  ------------------
 4009|      0|        Py_DECREF(*(PyObject**)addr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|      0|        *(PyObject**)addr = NULL;
 4011|      0|        return 1;
 4012|      0|    }
 4013|  54.7k|    path = PyOS_FSPath(arg);
 4014|  54.7k|    if (path == NULL) {
  ------------------
  |  Branch (4014:9): [True: 0, False: 54.7k]
  ------------------
 4015|      0|        return 0;
 4016|      0|    }
 4017|  54.7k|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|  54.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  54.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 54.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|      0|        output = path;
 4019|      0|    }
 4020|  54.7k|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4021|  54.7k|        output = PyUnicode_EncodeFSDefault(path);
 4022|  54.7k|        Py_DECREF(path);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|  54.7k|        if (!output) {
  ------------------
  |  Branch (4023:13): [True: 0, False: 54.7k]
  ------------------
 4024|      0|            return 0;
 4025|      0|        }
 4026|  54.7k|        assert(PyBytes_Check(output));
 4027|  54.7k|    }
 4028|       |
 4029|  54.7k|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|  54.7k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4030|  54.7k|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|  54.7k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|  54.7k|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4031:9): [True: 0, False: 54.7k]
  ------------------
 4032|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 4033|      0|        Py_DECREF(output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        return 0;
 4035|      0|    }
 4036|  54.7k|    *(PyObject**)addr = output;
 4037|  54.7k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  54.7k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4038|  54.7k|}
PyUnicode_FSDecoder:
 4043|  54.2k|{
 4044|  54.2k|    if (arg == NULL) {
  ------------------
  |  Branch (4044:9): [True: 0, False: 54.2k]
  ------------------
 4045|      0|        Py_DECREF(*(PyObject**)addr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|      0|        *(PyObject**)addr = NULL;
 4047|      0|        return 1;
 4048|      0|    }
 4049|       |
 4050|  54.2k|    PyObject *path = PyOS_FSPath(arg);
 4051|  54.2k|    if (path == NULL) {
  ------------------
  |  Branch (4051:9): [True: 0, False: 54.2k]
  ------------------
 4052|      0|        return 0;
 4053|      0|    }
 4054|       |
 4055|  54.2k|    PyObject *output = NULL;
 4056|  54.2k|    if (PyUnicode_Check(path)) {
  ------------------
  |  |  103|  54.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  54.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 54.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|  54.2k|        output = path;
 4058|  54.2k|    }
 4059|      0|    else if (PyBytes_Check(path)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4060|      0|        output = PyUnicode_DecodeFSDefaultAndSize(PyBytes_AS_STRING(path),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4061|      0|                                                  PyBytes_GET_SIZE(path));
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|      0|        Py_DECREF(path);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4063|      0|        if (!output) {
  ------------------
  |  Branch (4063:13): [True: 0, False: 0]
  ------------------
 4064|      0|            return 0;
 4065|      0|        }
 4066|      0|    }
 4067|      0|    else {
 4068|      0|        PyErr_Format(PyExc_TypeError,
 4069|      0|                     "path should be string, bytes, or os.PathLike, not %.200s",
 4070|      0|                     Py_TYPE(arg)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4071|      0|        Py_DECREF(path);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4072|      0|        return 0;
 4073|      0|    }
 4074|       |
 4075|  54.2k|    if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  284|  54.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  258|  54.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  54.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4075:9): [True: 0, False: 54.2k]
  ------------------
 4076|  54.2k|                 PyUnicode_GET_LENGTH(output), 0, 1) >= 0) {
  ------------------
  |  |  299|  54.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4077|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4078|      0|        Py_DECREF(output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4079|      0|        return 0;
 4080|      0|    }
 4081|  54.2k|    *(PyObject**)addr = output;
 4082|  54.2k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  54.2k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4083|  54.2k|}
PyUnicode_AsUTF8AndSize:
 4105|   703k|{
 4106|   703k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   703k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   703k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4106:9): [True: 0, False: 703k]
  ------------------
 4107|      0|        PyErr_BadArgument();
 4108|      0|        if (psize) {
  ------------------
  |  Branch (4108:13): [True: 0, False: 0]
  ------------------
 4109|      0|            *psize = -1;
 4110|      0|        }
 4111|      0|        return NULL;
 4112|      0|    }
 4113|       |
 4114|   703k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 703k]
  ------------------
 4115|      0|        if (psize) {
  ------------------
  |  Branch (4115:13): [True: 0, False: 0]
  ------------------
 4116|      0|            *psize = -1;
 4117|      0|        }
 4118|      0|        return NULL;
 4119|      0|    }
 4120|       |
 4121|   703k|    if (psize) {
  ------------------
  |  Branch (4121:9): [True: 591k, False: 112k]
  ------------------
 4122|   591k|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4123|   591k|    }
 4124|   703k|    return PyUnicode_UTF8(unicode);
 4125|   703k|}
PyUnicode_AsUTF8:
 4129|   112k|{
 4130|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4131|   112k|}
_PyUnicode_AsUTF8NoNUL:
 4135|    930|{
 4136|    930|    Py_ssize_t size;
 4137|    930|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4138|    930|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4138:9): [True: 930, False: 0]
  |  Branch (4138:14): [True: 0, False: 930]
  ------------------
 4139|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4140|      0|        return NULL;
 4141|      0|    }
 4142|    930|    return s;
 4143|    930|}
PyUnicode_GetLength:
 4163|    112|{
 4164|    112|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    112|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    112|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4164:9): [True: 0, False: 112]
  ------------------
 4165|      0|        PyErr_BadArgument();
 4166|      0|        return -1;
 4167|      0|    }
 4168|    112|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    112|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4169|    112|}
PyUnicode_DecodeUTF8:
 4864|  6.90M|{
 4865|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4866|  6.90M|}
_PyUnicode_DecodeUTF8Writer:
 5348|  1.28M|{
 5349|  1.28M|    if (size == 0) {
  ------------------
  |  Branch (5349:9): [True: 0, False: 1.28M]
  ------------------
 5350|      0|        if (consumed) {
  ------------------
  |  Branch (5350:13): [True: 0, False: 0]
  ------------------
 5351|      0|            *consumed = 0;
 5352|      0|        }
 5353|      0|        return 0;
 5354|      0|    }
 5355|       |
 5356|       |    // fast path: try ASCII string.
 5357|  1.28M|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  |  562|  1.28M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 1.28M, False: 0]
  |  |  ------------------
  |  |  563|  1.28M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 1.28M, False: 0]
  |  |  ------------------
  |  |  564|  1.28M|     ? 0                                                              \
  |  |  565|  1.28M|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5357:9): [True: 0, False: 1.28M]
  ------------------
 5358|      0|        return -1;
 5359|      0|    }
 5360|       |
 5361|  1.28M|    const char *starts = s;
 5362|  1.28M|    const char *end = s + size;
 5363|  1.28M|    Py_ssize_t decoded = 0;
 5364|  1.28M|    Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5365|  1.28M|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5365:9): [True: 1.28M, False: 0]
  ------------------
 5366|  1.28M|        decoded = ascii_decode(s, end, dest);
 5367|  1.28M|        writer->pos += decoded;
 5368|       |
 5369|  1.28M|        if (decoded == size) {
  ------------------
  |  Branch (5369:13): [True: 1.28M, False: 0]
  ------------------
 5370|  1.28M|            if (consumed) {
  ------------------
  |  Branch (5370:17): [True: 0, False: 1.28M]
  ------------------
 5371|      0|                *consumed = size;
 5372|      0|            }
 5373|  1.28M|            return 0;
 5374|  1.28M|        }
 5375|      0|        s += decoded;
 5376|      0|    }
 5377|       |
 5378|      0|    return unicode_decode_utf8_impl(writer, starts, s, end,
 5379|      0|                                    error_handler, errors, consumed);
 5380|  1.28M|}
PyUnicode_DecodeUTF8Stateful:
 5388|  7.28M|{
 5389|  7.28M|    return unicode_decode_utf8(s, size,
 5390|  7.28M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5390:32): [True: 162k, False: 7.12M]
  ------------------
 5391|  7.28M|                               errors, consumed);
 5392|  7.28M|}
_Py_DecodeUTF8Ex:
 5410|     16|{
 5411|     16|    const char *orig_s = s;
 5412|     16|    const char *e;
 5413|     16|    wchar_t *unicode;
 5414|     16|    Py_ssize_t outpos;
 5415|       |
 5416|     16|    int surrogateescape = 0;
 5417|     16|    int surrogatepass = 0;
 5418|     16|    switch (errors)
 5419|     16|    {
 5420|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5420:5): [True: 0, False: 16]
  ------------------
 5421|      0|        break;
 5422|     16|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5422:5): [True: 16, False: 0]
  ------------------
 5423|     16|        surrogateescape = 1;
 5424|     16|        break;
 5425|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5425:5): [True: 0, False: 16]
  ------------------
 5426|      0|        surrogatepass = 1;
 5427|      0|        break;
 5428|      0|    default:
  ------------------
  |  Branch (5428:5): [True: 0, False: 16]
  ------------------
 5429|      0|        return -3;
 5430|     16|    }
 5431|       |
 5432|       |    /* Note: size will always be longer than the resulting Unicode
 5433|       |       character count */
 5434|     16|    if (PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(wchar_t) - 1 < size) {
  ------------------
  |  |  137|     16|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5434:9): [True: 0, False: 16]
  ------------------
 5435|      0|        return -1;
 5436|      0|    }
 5437|       |
 5438|     16|    unicode = PyMem_RawMalloc((size + 1) * sizeof(wchar_t));
 5439|     16|    if (!unicode) {
  ------------------
  |  Branch (5439:9): [True: 0, False: 16]
  ------------------
 5440|      0|        return -1;
 5441|      0|    }
 5442|       |
 5443|       |    /* Unpack UTF-8 encoded data */
 5444|     16|    e = s + size;
 5445|     16|    outpos = 0;
 5446|     16|    while (s < e) {
  ------------------
  |  Branch (5446:12): [True: 16, False: 0]
  ------------------
 5447|     16|        Py_UCS4 ch;
 5448|     16|#if SIZEOF_WCHAR_T == 4
 5449|     16|        ch = ucs4lib_utf8_decode(&s, e, (Py_UCS4 *)unicode, &outpos);
 5450|       |#else
 5451|       |        ch = ucs2lib_utf8_decode(&s, e, (Py_UCS2 *)unicode, &outpos);
 5452|       |#endif
 5453|     16|        if (ch > 0xFF) {
  ------------------
  |  Branch (5453:13): [True: 0, False: 16]
  ------------------
 5454|      0|#if SIZEOF_WCHAR_T == 4
 5455|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5456|       |#else
 5457|       |            assert(ch > 0xFFFF && ch <= MAX_UNICODE);
 5458|       |            /* write a surrogate pair */
 5459|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch);
 5460|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_LOW_SURROGATE(ch);
 5461|       |#endif
 5462|      0|        }
 5463|     16|        else {
 5464|     16|            if (!ch && s == e) {
  ------------------
  |  Branch (5464:17): [True: 16, False: 0]
  |  Branch (5464:24): [True: 16, False: 0]
  ------------------
 5465|     16|                break;
 5466|     16|            }
 5467|       |
 5468|      0|            if (surrogateescape) {
  ------------------
  |  Branch (5468:17): [True: 0, False: 0]
  ------------------
 5469|      0|                unicode[outpos++] = 0xDC00 + (unsigned char)*s++;
 5470|      0|            }
 5471|      0|            else {
 5472|       |                /* Is it a valid three-byte code? */
 5473|      0|                if (surrogatepass
  ------------------
  |  Branch (5473:21): [True: 0, False: 0]
  ------------------
 5474|      0|                    && (e - s) >= 3
  ------------------
  |  Branch (5474:24): [True: 0, False: 0]
  ------------------
 5475|      0|                    && (s[0] & 0xf0) == 0xe0
  ------------------
  |  Branch (5475:24): [True: 0, False: 0]
  ------------------
 5476|      0|                    && (s[1] & 0xc0) == 0x80
  ------------------
  |  Branch (5476:24): [True: 0, False: 0]
  ------------------
 5477|      0|                    && (s[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (5477:24): [True: 0, False: 0]
  ------------------
 5478|      0|                {
 5479|      0|                    ch = ((s[0] & 0x0f) << 12) + ((s[1] & 0x3f) << 6) + (s[2] & 0x3f);
 5480|      0|                    s += 3;
 5481|      0|                    unicode[outpos++] = ch;
 5482|      0|                }
 5483|      0|                else {
 5484|      0|                    PyMem_RawFree(unicode );
 5485|      0|                    if (reason != NULL) {
  ------------------
  |  Branch (5485:25): [True: 0, False: 0]
  ------------------
 5486|      0|                        switch (ch) {
 5487|      0|                        case 0:
  ------------------
  |  Branch (5487:25): [True: 0, False: 0]
  ------------------
 5488|      0|                            *reason = "unexpected end of data";
 5489|      0|                            break;
 5490|      0|                        case 1:
  ------------------
  |  Branch (5490:25): [True: 0, False: 0]
  ------------------
 5491|      0|                            *reason = "invalid start byte";
 5492|      0|                            break;
 5493|       |                        /* 2, 3, 4 */
 5494|      0|                        default:
  ------------------
  |  Branch (5494:25): [True: 0, False: 0]
  ------------------
 5495|      0|                            *reason = "invalid continuation byte";
 5496|      0|                            break;
 5497|      0|                        }
 5498|      0|                    }
 5499|      0|                    if (wlen != NULL) {
  ------------------
  |  Branch (5499:25): [True: 0, False: 0]
  ------------------
 5500|      0|                        *wlen = s - orig_s;
 5501|      0|                    }
 5502|      0|                    return -2;
 5503|      0|                }
 5504|      0|            }
 5505|      0|        }
 5506|     16|    }
 5507|     16|    unicode[outpos] = L'\0';
 5508|     16|    if (wlen) {
  ------------------
  |  Branch (5508:9): [True: 16, False: 0]
  ------------------
 5509|     16|        *wlen = outpos;
 5510|     16|    }
 5511|     16|    *wstr = unicode;
 5512|     16|    return 0;
 5513|     16|}
_Py_EncodeUTF8Ex:
 5549|     34|{
 5550|     34|    const Py_ssize_t max_char_size = 4;
 5551|     34|    Py_ssize_t len = wcslen(text);
 5552|       |
 5553|     34|    assert(len >= 0);
 5554|       |
 5555|     34|    int surrogateescape = 0;
 5556|     34|    int surrogatepass = 0;
 5557|     34|    switch (errors)
 5558|     34|    {
 5559|      8|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5559:5): [True: 8, False: 26]
  ------------------
 5560|      8|        break;
 5561|     26|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5561:5): [True: 26, False: 8]
  ------------------
 5562|     26|        surrogateescape = 1;
 5563|     26|        break;
 5564|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5564:5): [True: 0, False: 34]
  ------------------
 5565|      0|        surrogatepass = 1;
 5566|      0|        break;
 5567|      0|    default:
  ------------------
  |  Branch (5567:5): [True: 0, False: 34]
  ------------------
 5568|      0|        return -3;
 5569|     34|    }
 5570|       |
 5571|     34|    if (len > PY_SSIZE_T_MAX / max_char_size - 1) {
  ------------------
  |  |  137|     34|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5571:9): [True: 0, False: 34]
  ------------------
 5572|      0|        return -1;
 5573|      0|    }
 5574|     34|    char *bytes;
 5575|     34|    if (raw_malloc) {
  ------------------
  |  Branch (5575:9): [True: 34, False: 0]
  ------------------
 5576|     34|        bytes = PyMem_RawMalloc((len + 1) * max_char_size);
 5577|     34|    }
 5578|      0|    else {
 5579|      0|        bytes = PyMem_Malloc((len + 1) * max_char_size);
 5580|      0|    }
 5581|     34|    if (bytes == NULL) {
  ------------------
  |  Branch (5581:9): [True: 0, False: 34]
  ------------------
 5582|      0|        return -1;
 5583|      0|    }
 5584|       |
 5585|     34|    char *p = bytes;
 5586|     34|    Py_ssize_t i;
 5587|  1.06k|    for (i = 0; i < len; ) {
  ------------------
  |  Branch (5587:17): [True: 1.03k, False: 34]
  ------------------
 5588|  1.03k|        Py_ssize_t ch_pos = i;
 5589|  1.03k|        Py_UCS4 ch = text[i];
 5590|  1.03k|        i++;
 5591|  1.03k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5591:13): [Folded, False: 1.03k]
  ------------------
 5592|      0|            && Py_UNICODE_IS_HIGH_SURROGATE(ch)
  ------------------
  |  Branch (5592:16): [True: 0, False: 0]
  ------------------
 5593|      0|            && i < len
  ------------------
  |  Branch (5593:16): [True: 0, False: 0]
  ------------------
 5594|      0|            && Py_UNICODE_IS_LOW_SURROGATE(text[i]))
  ------------------
  |  Branch (5594:16): [True: 0, False: 0]
  ------------------
 5595|      0|        {
 5596|      0|            ch = Py_UNICODE_JOIN_SURROGATES(ch, text[i]);
 5597|      0|            i++;
 5598|      0|        }
 5599|       |
 5600|  1.03k|        if (ch < 0x80) {
  ------------------
  |  Branch (5600:13): [True: 1.03k, False: 0]
  ------------------
 5601|       |            /* Encode ASCII */
 5602|  1.03k|            *p++ = (char) ch;
 5603|       |
 5604|  1.03k|        }
 5605|      0|        else if (ch < 0x0800) {
  ------------------
  |  Branch (5605:18): [True: 0, False: 0]
  ------------------
 5606|       |            /* Encode Latin-1 */
 5607|      0|            *p++ = (char)(0xc0 | (ch >> 6));
 5608|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5609|      0|        }
 5610|      0|        else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) {
  ------------------
  |  Branch (5610:18): [True: 0, False: 0]
  |  Branch (5610:49): [True: 0, False: 0]
  ------------------
 5611|       |            /* surrogateescape error handler */
 5612|      0|            if (!surrogateescape || !(0xDC80 <= ch && ch <= 0xDCFF)) {
  ------------------
  |  Branch (5612:17): [True: 0, False: 0]
  |  Branch (5612:39): [True: 0, False: 0]
  |  Branch (5612:55): [True: 0, False: 0]
  ------------------
 5613|      0|                if (error_pos != NULL) {
  ------------------
  |  Branch (5613:21): [True: 0, False: 0]
  ------------------
 5614|      0|                    *error_pos = (size_t)ch_pos;
 5615|      0|                }
 5616|      0|                if (reason != NULL) {
  ------------------
  |  Branch (5616:21): [True: 0, False: 0]
  ------------------
 5617|      0|                    *reason = "encoding error";
 5618|      0|                }
 5619|      0|                if (raw_malloc) {
  ------------------
  |  Branch (5619:21): [True: 0, False: 0]
  ------------------
 5620|      0|                    PyMem_RawFree(bytes);
 5621|      0|                }
 5622|      0|                else {
 5623|      0|                    PyMem_Free(bytes);
 5624|      0|                }
 5625|      0|                return -2;
 5626|      0|            }
 5627|      0|            *p++ = (char)(ch & 0xff);
 5628|      0|        }
 5629|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (5629:18): [True: 0, False: 0]
  ------------------
 5630|      0|            *p++ = (char)(0xe0 | (ch >> 12));
 5631|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5632|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5633|      0|        }
 5634|      0|        else {  /* ch >= 0x10000 */
 5635|      0|            assert(ch <= MAX_UNICODE);
 5636|       |            /* Encode UCS4 Unicode ordinals */
 5637|      0|            *p++ = (char)(0xf0 | (ch >> 18));
 5638|      0|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
 5639|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5640|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5641|      0|        }
 5642|  1.03k|    }
 5643|     34|    *p++ = '\0';
 5644|       |
 5645|     34|    size_t final_size = (p - bytes);
 5646|     34|    char *bytes2;
 5647|     34|    if (raw_malloc) {
  ------------------
  |  Branch (5647:9): [True: 34, False: 0]
  ------------------
 5648|     34|        bytes2 = PyMem_RawRealloc(bytes, final_size);
 5649|     34|    }
 5650|      0|    else {
 5651|      0|        bytes2 = PyMem_Realloc(bytes, final_size);
 5652|      0|    }
 5653|     34|    if (bytes2 == NULL) {
  ------------------
  |  Branch (5653:9): [True: 0, False: 34]
  ------------------
 5654|      0|        if (error_pos != NULL) {
  ------------------
  |  Branch (5654:13): [True: 0, False: 0]
  ------------------
 5655|      0|            *error_pos = (size_t)-1;
 5656|      0|        }
 5657|      0|        if (raw_malloc) {
  ------------------
  |  Branch (5657:13): [True: 0, False: 0]
  ------------------
 5658|      0|            PyMem_RawFree(bytes);
 5659|      0|        }
 5660|      0|        else {
 5661|      0|            PyMem_Free(bytes);
 5662|      0|        }
 5663|      0|        return -1;
 5664|      0|    }
 5665|     34|    *str = bytes2;
 5666|     34|    return 0;
 5667|     34|}
_PyUnicode_AsUTF8String:
 5776|   131k|{
 5777|   131k|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5778|   131k|}
PyUnicode_DecodeLatin1:
 7078|     14|{
 7079|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7080|     14|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7081|     14|}
_PyUnicode_AsLatin1String:
 7368|      4|{
 7369|      4|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7369:9): [True: 0, False: 4]
  ------------------
 7370|      0|        PyErr_BadArgument();
 7371|      0|        return NULL;
 7372|      0|    }
 7373|       |    /* Fast path: if it is a one-byte string, construct
 7374|       |       bytes object directly. */
 7375|      4|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND)
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (7375:9): [True: 4, False: 0]
  ------------------
 7376|      4|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7377|      4|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7378|       |    /* Non-Latin-1 characters present. Defer to above function to
 7379|       |       raise the exception. */
 7380|      0|    return unicode_encode_ucs1(unicode, errors, 256);
 7381|      4|}
PyUnicode_DecodeASCII:
 7395|     98|{
 7396|     98|    const char *starts = s;
 7397|     98|    const char *e = s + size;
 7398|     98|    PyObject *error_handler_obj = NULL;
 7399|     98|    PyObject *exc = NULL;
 7400|     98|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7401|       |
 7402|     98|    if (size == 0)
  ------------------
  |  Branch (7402:9): [True: 0, False: 98]
  ------------------
 7403|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7404|       |
 7405|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 7406|     98|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7406:9): [True: 28, False: 70]
  |  Branch (7406:22): [True: 28, False: 0]
  ------------------
 7407|     28|        return get_latin1_char((unsigned char)s[0]);
 7408|     28|    }
 7409|       |
 7410|       |    // Shortcut for simple case
 7411|     70|    PyObject *u = PyUnicode_New(size, 127);
 7412|     70|    if (u == NULL) {
  ------------------
  |  Branch (7412:9): [True: 0, False: 70]
  ------------------
 7413|      0|        return NULL;
 7414|      0|    }
 7415|     70|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  291|     70|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     70|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7416|     70|    if (outpos == size) {
  ------------------
  |  Branch (7416:9): [True: 70, False: 0]
  ------------------
 7417|     70|        return u;
 7418|     70|    }
 7419|       |
 7420|      0|    _PyUnicodeWriter writer;
 7421|      0|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7422|      0|    writer.pos = outpos;
 7423|       |
 7424|      0|    s += outpos;
 7425|      0|    int kind = writer.kind;
 7426|      0|    void *data = writer.data;
 7427|      0|    Py_ssize_t startinpos, endinpos;
 7428|       |
 7429|      0|    while (s < e) {
  ------------------
  |  Branch (7429:12): [True: 0, False: 0]
  ------------------
 7430|      0|        unsigned char c = (unsigned char)*s;
 7431|      0|        if (c < 128) {
  ------------------
  |  Branch (7431:13): [True: 0, False: 0]
  ------------------
 7432|      0|            PyUnicode_WRITE(kind, data, writer.pos, c);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7433|      0|            writer.pos++;
 7434|      0|            ++s;
 7435|      0|            continue;
 7436|      0|        }
 7437|       |
 7438|       |        /* byte outsize range 0x00..0x7f: call the error handler */
 7439|       |
 7440|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7440:13): [True: 0, False: 0]
  ------------------
 7441|      0|            error_handler = _Py_GetErrorHandler(errors);
 7442|       |
 7443|      0|        switch (error_handler)
 7444|      0|        {
 7445|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7445:9): [True: 0, False: 0]
  ------------------
 7446|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7446:9): [True: 0, False: 0]
  ------------------
 7447|       |            /* Fast-path: the error handler only writes one character,
 7448|       |               but we may switch to UCS2 at the first write */
 7449|      0|            if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  582|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (582:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  583|      0|     ? 0                                                              \
  |  |  584|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (7449:17): [True: 0, False: 0]
  ------------------
 7450|      0|                goto onError;
 7451|      0|            kind = writer.kind;
 7452|      0|            data = writer.data;
 7453|       |
 7454|      0|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7454:17): [True: 0, False: 0]
  ------------------
 7455|      0|                PyUnicode_WRITE(kind, data, writer.pos, 0xfffd);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7456|      0|            else
 7457|      0|                PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7458|      0|            writer.pos++;
 7459|      0|            ++s;
 7460|      0|            break;
 7461|       |
 7462|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7462:9): [True: 0, False: 0]
  ------------------
 7463|      0|            ++s;
 7464|      0|            break;
 7465|       |
 7466|      0|        default:
  ------------------
  |  Branch (7466:9): [True: 0, False: 0]
  ------------------
 7467|      0|            startinpos = s-starts;
 7468|      0|            endinpos = startinpos + 1;
 7469|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7469:17): [True: 0, False: 0]
  ------------------
 7470|      0|                    errors, &error_handler_obj,
 7471|      0|                    "ascii", "ordinal not in range(128)",
 7472|      0|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7473|      0|                    &writer))
 7474|      0|                goto onError;
 7475|      0|            kind = writer.kind;
 7476|      0|            data = writer.data;
 7477|      0|        }
 7478|      0|    }
 7479|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7480|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7481|      0|    return _PyUnicodeWriter_Finish(&writer);
 7482|       |
 7483|      0|  onError:
 7484|      0|    _PyUnicodeWriter_Dealloc(&writer);
 7485|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7486|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7487|       |    return NULL;
 7488|      0|}
_PyUnicode_AsASCIIString:
 7492|   184k|{
 7493|   184k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   184k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   184k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7493:9): [True: 0, False: 184k]
  ------------------
 7494|      0|        PyErr_BadArgument();
 7495|      0|        return NULL;
 7496|      0|    }
 7497|       |    /* Fast path: if it is an ASCII-only string, construct bytes object
 7498|       |       directly. Else defer to above function to raise the exception. */
 7499|   184k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|   184k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   184k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   184k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 174k, False: 10.8k]
  |  |  ------------------
  ------------------
 7500|   174k|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|   174k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   174k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   174k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7501|   174k|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|   174k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   174k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   174k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7502|  10.8k|    return unicode_encode_ucs1(unicode, errors, 128);
 7503|   184k|}
PyUnicode_AsASCIIString:
 7507|      6|{
 7508|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7509|      6|}
_PyUnicode_TransformDecimalAndSpaceToASCII:
 9455|  43.1k|{
 9456|  43.1k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  43.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  43.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9456:9): [True: 0, False: 43.1k]
  ------------------
 9457|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 9458|      0|        return NULL;
 9459|      0|    }
 9460|  43.1k|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  227|  43.1k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 43.1k, False: 0]
  |  |  ------------------
  ------------------
 9461|       |        /* If the string is already ASCII, just return the same string */
 9462|  43.1k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|  43.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9463|  43.1k|    }
 9464|       |
 9465|      0|    Py_ssize_t len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9466|      0|    PyObject *result = PyUnicode_New(len, 127);
 9467|      0|    if (result == NULL) {
  ------------------
  |  Branch (9467:9): [True: 0, False: 0]
  ------------------
 9468|      0|        return NULL;
 9469|      0|    }
 9470|       |
 9471|      0|    Py_UCS1 *out = PyUnicode_1BYTE_DATA(result);
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9472|      0|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9473|      0|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9474|      0|    Py_ssize_t i;
 9475|      0|    for (i = 0; i < len; ++i) {
  ------------------
  |  Branch (9475:17): [True: 0, False: 0]
  ------------------
 9476|      0|        Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 9477|      0|        if (ch < 127) {
  ------------------
  |  Branch (9477:13): [True: 0, False: 0]
  ------------------
 9478|      0|            out[i] = ch;
 9479|      0|        }
 9480|      0|        else if (Py_UNICODE_ISSPACE(ch)) {
  ------------------
  |  Branch (9480:18): [True: 0, False: 0]
  ------------------
 9481|      0|            out[i] = ' ';
 9482|      0|        }
 9483|      0|        else {
 9484|      0|            int decimal = Py_UNICODE_TODECIMAL(ch);
  ------------------
  |  |  763|      0|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
 9485|      0|            if (decimal < 0) {
  ------------------
  |  Branch (9485:17): [True: 0, False: 0]
  ------------------
 9486|      0|                out[i] = '?';
 9487|      0|                out[i+1] = '\0';
 9488|      0|                _PyUnicode_LENGTH(result) = i + 1;
  ------------------
  |  |  151|      0|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      0|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9489|      0|                break;
 9490|      0|            }
 9491|      0|            out[i] = '0' + decimal;
 9492|      0|        }
 9493|      0|    }
 9494|       |
 9495|       |    assert(_PyUnicode_CheckConsistency(result, 1));
 9496|      0|    return result;
 9497|      0|}
PyUnicode_FindChar:
 9634|  6.63k|{
 9635|  6.63k|    int kind;
 9636|  6.63k|    Py_ssize_t len, result;
 9637|  6.63k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  6.63k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9638|  6.63k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9503|  6.63k|    do {                                \
  |  | 9504|  6.63k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 0, False: 6.63k]
  |  |  ------------------
  |  | 9505|      0|            end = len;                  \
  |  | 9506|      0|        }                               \
  |  | 9507|  6.63k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9507:18): [True: 0, False: 6.63k]
  |  |  ------------------
  |  | 9508|      0|            end += len;                 \
  |  | 9509|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9509:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9510|      0|                end = 0;                \
  |  | 9511|      0|            }                           \
  |  | 9512|      0|        }                               \
  |  | 9513|  6.63k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 6.63k]
  |  |  ------------------
  |  | 9514|      0|            start += len;               \
  |  | 9515|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9515:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9516|      0|                start = 0;              \
  |  | 9517|      0|            }                           \
  |  | 9518|      0|        }                               \
  |  | 9519|  6.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 6.63k]
  |  |  ------------------
  ------------------
 9639|  6.63k|    if (end - start < 1)
  ------------------
  |  Branch (9639:9): [True: 0, False: 6.63k]
  ------------------
 9640|      0|        return -1;
 9641|  6.63k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|  6.63k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  6.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9642|  6.63k|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  291|  6.63k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  6.63k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9643|  6.63k|                      kind, end-start, ch, direction);
 9644|  6.63k|    if (result == -1)
  ------------------
  |  Branch (9644:9): [True: 6.38k, False: 248]
  ------------------
 9645|  6.38k|        return -1;
 9646|    248|    else
 9647|    248|        return start + result;
 9648|  6.63k|}
PyUnicode_Join:
 9960|  59.7k|{
 9961|  59.7k|    PyObject *res;
 9962|  59.7k|    PyObject *fseq;
 9963|  59.7k|    Py_ssize_t seqlen;
 9964|  59.7k|    PyObject **items;
 9965|       |
 9966|  59.7k|    fseq = PySequence_Fast(seq, "can only join an iterable");
 9967|  59.7k|    if (fseq == NULL) {
  ------------------
  |  Branch (9967:9): [True: 0, False: 59.7k]
  ------------------
 9968|      0|        return NULL;
 9969|      0|    }
 9970|       |
 9971|  59.7k|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|  59.7k|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 9972|       |
 9973|  59.7k|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|  59.7k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  59.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  59.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 59.1k, False: 524]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  59.7k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 9974|  59.7k|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|  59.7k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  59.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  59.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 59.1k, False: 524]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  59.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  59.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  59.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    524|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9975|  59.7k|    res = _PyUnicode_JoinArray(separator, items, seqlen);
 9976|       |
 9977|  59.7k|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|  59.7k|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 9978|       |
 9979|  59.7k|    Py_DECREF(fseq);
  ------------------
  |  |  430|  59.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  59.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9980|  59.7k|    return res;
 9981|  59.7k|}
_PyUnicode_JoinArray:
 9985|  1.51M|{
 9986|  1.51M|    PyObject *res = NULL; /* the result */
 9987|  1.51M|    PyObject *sep = NULL;
 9988|  1.51M|    Py_ssize_t seplen;
 9989|  1.51M|    PyObject *item;
 9990|  1.51M|    Py_ssize_t sz, i, res_offset;
 9991|  1.51M|    Py_UCS4 maxchar;
 9992|  1.51M|    Py_UCS4 item_maxchar;
 9993|  1.51M|    int use_memcpy;
 9994|  1.51M|    unsigned char *res_data = NULL, *sep_data = NULL;
 9995|  1.51M|    PyObject *last_obj;
 9996|  1.51M|    int kind = 0;
 9997|       |
 9998|       |    /* If empty sequence, return u"". */
 9999|  1.51M|    if (seqlen == 0) {
  ------------------
  |  Branch (9999:9): [True: 11.5k, False: 1.50M]
  ------------------
10000|  11.5k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|  11.5k|    do {                             \
  |  |  376|  11.5k|        return _PyUnicode_GetEmpty();\
  |  |  377|  11.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10001|  11.5k|    }
10002|       |
10003|       |    /* If singleton sequence with an exact Unicode, return that. */
10004|  1.50M|    last_obj = NULL;
10005|  1.50M|    if (seqlen == 1) {
  ------------------
  |  Branch (10005:9): [True: 32.5k, False: 1.47M]
  ------------------
10006|  32.5k|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|  32.5k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  32.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10007|  32.5k|            res = items[0];
10008|  32.5k|            return Py_NewRef(res);
  ------------------
  |  |  550|  32.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10009|  32.5k|        }
10010|      0|        seplen = 0;
10011|      0|        maxchar = 0;
10012|      0|    }
10013|  1.47M|    else {
10014|       |        /* Set up sep and seplen */
10015|  1.47M|        if (separator == NULL) {
  ------------------
  |  Branch (10015:13): [True: 0, False: 1.47M]
  ------------------
10016|       |            /* fall back to a blank space separator */
10017|      0|            sep = PyUnicode_FromOrdinal(' ');
10018|      0|            if (!sep)
  ------------------
  |  Branch (10018:17): [True: 0, False: 0]
  ------------------
10019|      0|                goto onError;
10020|      0|            seplen = 1;
10021|      0|            maxchar = 32;
10022|      0|        }
10023|  1.47M|        else {
10024|  1.47M|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|  1.47M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.47M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10024:17): [True: 0, False: 1.47M]
  ------------------
10025|      0|                PyErr_Format(PyExc_TypeError,
10026|      0|                             "separator: expected str instance,"
10027|      0|                             " %.80s found",
10028|      0|                             Py_TYPE(separator)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10029|      0|                goto onError;
10030|      0|            }
10031|  1.47M|            sep = separator;
10032|  1.47M|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  299|  1.47M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10033|  1.47M|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  405|  1.47M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10034|       |            /* inc refcount to keep this code path symmetric with the
10035|       |               above case of a blank separator */
10036|  1.47M|            Py_INCREF(sep);
  ------------------
  |  |  310|  1.47M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10037|  1.47M|        }
10038|  1.47M|        last_obj = sep;
10039|  1.47M|    }
10040|       |
10041|       |    /* There are at least two things to join, or else we have a subclass
10042|       |     * of str in the sequence.
10043|       |     * Do a pre-pass to figure out the total amount of space we'll
10044|       |     * need (sz), and see whether all argument are strings.
10045|       |     */
10046|  1.47M|    sz = 0;
10047|       |#ifdef Py_DEBUG
10048|       |    use_memcpy = 0;
10049|       |#else
10050|  1.47M|    use_memcpy = 1;
10051|  1.47M|#endif
10052|  4.57M|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10052:17): [True: 3.10M, False: 1.47M]
  ------------------
10053|  3.10M|        size_t add_sz;
10054|  3.10M|        item = items[i];
10055|  3.10M|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  3.10M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.10M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10055:13): [True: 0, False: 3.10M]
  ------------------
10056|      0|            PyErr_Format(PyExc_TypeError,
10057|      0|                         "sequence item %zd: expected str instance,"
10058|      0|                         " %.80s found",
10059|      0|                         i, Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10060|      0|            goto onError;
10061|      0|        }
10062|  3.10M|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  3.10M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10063|  3.10M|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  405|  3.10M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10064|  3.10M|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  115|  3.10M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 10.5k, False: 3.09M]
  |  |  ------------------
  ------------------
10065|  3.10M|        if (i != 0) {
  ------------------
  |  Branch (10065:13): [True: 1.63M, False: 1.47M]
  ------------------
10066|  1.63M|            add_sz += seplen;
10067|  1.63M|        }
10068|  3.10M|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  3.10M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10068:13): [True: 0, False: 3.10M]
  ------------------
10069|      0|            PyErr_SetString(PyExc_OverflowError,
10070|      0|                            "join() result is too long for a Python string");
10071|      0|            goto onError;
10072|      0|        }
10073|  3.10M|        sz += add_sz;
10074|  3.10M|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10074:13): [True: 2.96M, False: 135k]
  |  Branch (10074:27): [True: 2.96M, False: 0]
  ------------------
10075|  2.96M|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  2.96M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.96M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  2.96M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.96M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10075:17): [True: 5.80k, False: 2.96M]
  ------------------
10076|  5.80k|                use_memcpy = 0;
10077|  2.96M|        }
10078|  3.10M|        last_obj = item;
10079|  3.10M|    }
10080|       |
10081|  1.47M|    res = PyUnicode_New(sz, maxchar);
10082|  1.47M|    if (res == NULL)
  ------------------
  |  Branch (10082:9): [True: 0, False: 1.47M]
  ------------------
10083|      0|        goto onError;
10084|       |
10085|       |    /* Catenate everything. */
10086|       |#ifdef Py_DEBUG
10087|       |    use_memcpy = 0;
10088|       |#else
10089|  1.47M|    if (use_memcpy) {
  ------------------
  |  Branch (10089:9): [True: 1.46M, False: 5.80k]
  ------------------
10090|  1.46M|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  291|  1.46M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.46M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10091|  1.46M|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  258|  1.46M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.46M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10092|  1.46M|        if (seplen != 0)
  ------------------
  |  Branch (10092:13): [True: 8.95k, False: 1.45M]
  ------------------
10093|  8.95k|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  291|  8.95k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  8.95k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10094|  1.46M|    }
10095|  1.47M|#endif
10096|  1.47M|    if (use_memcpy) {
  ------------------
  |  Branch (10096:9): [True: 1.46M, False: 5.80k]
  ------------------
10097|  4.42M|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10097:21): [True: 2.95M, False: 1.46M]
  ------------------
10098|  2.95M|            Py_ssize_t itemlen;
10099|  2.95M|            item = items[i];
10100|       |
10101|       |            /* Copy item, and maybe the separator. */
10102|  2.95M|            if (i && seplen != 0) {
  ------------------
  |  Branch (10102:17): [True: 1.49M, False: 1.46M]
  |  Branch (10102:22): [True: 20.6k, False: 1.47M]
  ------------------
10103|  20.6k|                memcpy(res_data,
10104|  20.6k|                          sep_data,
10105|  20.6k|                          kind * seplen);
10106|  20.6k|                res_data += kind * seplen;
10107|  20.6k|            }
10108|       |
10109|  2.95M|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  2.95M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10110|  2.95M|            if (itemlen != 0) {
  ------------------
  |  Branch (10110:17): [True: 2.95M, False: 524]
  ------------------
10111|  2.95M|                memcpy(res_data,
10112|  2.95M|                          PyUnicode_DATA(item),
  ------------------
  |  |  284|  2.95M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10113|  2.95M|                          kind * itemlen);
10114|  2.95M|                res_data += kind * itemlen;
10115|  2.95M|            }
10116|  2.95M|        }
10117|  1.46M|        assert(res_data == PyUnicode_1BYTE_DATA(res)
10118|  1.46M|                           + kind * PyUnicode_GET_LENGTH(res));
10119|  1.46M|    }
10120|  5.80k|    else {
10121|   149k|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10121:37): [True: 143k, False: 5.80k]
  ------------------
10122|   143k|            Py_ssize_t itemlen;
10123|   143k|            item = items[i];
10124|       |
10125|       |            /* Copy item, and maybe the separator. */
10126|   143k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10126:17): [True: 138k, False: 5.80k]
  |  Branch (10126:22): [True: 0, False: 138k]
  ------------------
10127|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10128|      0|                res_offset += seplen;
10129|      0|            }
10130|       |
10131|   143k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|   143k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   143k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   143k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10132|   143k|            if (itemlen != 0) {
  ------------------
  |  Branch (10132:17): [True: 143k, False: 0]
  ------------------
10133|   143k|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10134|   143k|                res_offset += itemlen;
10135|   143k|            }
10136|   143k|        }
10137|  5.80k|        assert(res_offset == PyUnicode_GET_LENGTH(res));
10138|  5.80k|    }
10139|       |
10140|  1.47M|    Py_XDECREF(sep);
  ------------------
  |  |  524|  1.47M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|  1.47M|    assert(_PyUnicode_CheckConsistency(res, 1));
10142|  1.47M|    return res;
10143|       |
10144|      0|  onError:
10145|      0|    Py_XDECREF(sep);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10146|      0|    Py_XDECREF(res);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10147|       |    return NULL;
10148|  1.47M|}
PyUnicode_Splitlines:
10240|      8|{
10241|      8|    PyObject *list;
10242|       |
10243|      8|    if (ensure_unicode(string) < 0)
  ------------------
  |  |  105|      8|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (10243:9): [True: 0, False: 8]
  ------------------
10244|      0|        return NULL;
10245|       |
10246|      8|    switch (PyUnicode_KIND(string)) {
  ------------------
  |  |  258|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10247|      8|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10247:5): [True: 8, False: 0]
  ------------------
10248|      8|        if (PyUnicode_IS_ASCII(string))
  ------------------
  |  |  227|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
10249|      8|            list = asciilib_splitlines(
10250|      8|                string, PyUnicode_1BYTE_DATA(string),
  ------------------
  |  |  291|      8|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10251|      8|                PyUnicode_GET_LENGTH(string), keepends);
  ------------------
  |  |  299|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10252|      0|        else
10253|      0|            list = ucs1lib_splitlines(
10254|      0|                string, PyUnicode_1BYTE_DATA(string),
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10255|      0|                PyUnicode_GET_LENGTH(string), keepends);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10256|      8|        break;
10257|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10257:5): [True: 0, False: 8]
  ------------------
10258|      0|        list = ucs2lib_splitlines(
10259|      0|            string, PyUnicode_2BYTE_DATA(string),
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10260|      0|            PyUnicode_GET_LENGTH(string), keepends);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10261|      0|        break;
10262|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10262:5): [True: 0, False: 8]
  ------------------
10263|      0|        list = ucs4lib_splitlines(
10264|      0|            string, PyUnicode_4BYTE_DATA(string),
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10265|      0|            PyUnicode_GET_LENGTH(string), keepends);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10266|      0|        break;
10267|      0|    default:
  ------------------
  |  Branch (10267:5): [True: 0, False: 8]
  ------------------
10268|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10269|      8|    }
10270|      8|    return list;
10271|      8|}
_PyUnicode_Equal:
11017|  20.8M|{
11018|  20.8M|    assert(PyUnicode_Check(str1));
11019|  20.8M|    assert(PyUnicode_Check(str2));
11020|  20.8M|    if (str1 == str2) {
  ------------------
  |  Branch (11020:9): [True: 8.35M, False: 12.5M]
  ------------------
11021|  8.35M|        return 1;
11022|  8.35M|    }
11023|  12.5M|    return unicode_eq(str1, str2);
11024|  20.8M|}
PyUnicode_Compare:
11047|  1.03k|{
11048|  1.03k|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.03k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.06k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.03k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11049|       |        /* a string is equal to itself */
11050|  1.03k|        if (left == right)
  ------------------
  |  Branch (11050:13): [True: 0, False: 1.03k]
  ------------------
11051|      0|            return 0;
11052|       |
11053|  1.03k|        return unicode_compare(left, right);
11054|  1.03k|    }
11055|      0|    PyErr_Format(PyExc_TypeError,
11056|      0|                 "Can't compare %.100s and %.100s",
11057|      0|                 Py_TYPE(left)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11058|      0|                 Py_TYPE(right)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11059|      0|    return -1;
11060|  1.03k|}
PyUnicode_CompareWithASCIIString:
11064|   308k|{
11065|   308k|    Py_ssize_t i;
11066|   308k|    int kind;
11067|   308k|    Py_UCS4 chr;
11068|       |
11069|   308k|    assert(_PyUnicode_CHECK(uni));
11070|   308k|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  258|   308k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   308k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11071|   308k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11071:9): [True: 308k, False: 0]
  ------------------
11072|   308k|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  291|   308k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   308k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11073|   308k|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  299|   308k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   308k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   308k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11074|   308k|        size_t len, len2 = strlen(str);
11075|   308k|        int cmp;
11076|       |
11077|   308k|        len = Py_MIN(len1, len2);
  ------------------
  |  |  112|   308k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 159k, False: 149k]
  |  |  ------------------
  ------------------
11078|   308k|        cmp = memcmp(data, str, len);
11079|   308k|        if (cmp != 0) {
  ------------------
  |  Branch (11079:13): [True: 307k, False: 853]
  ------------------
11080|   307k|            if (cmp < 0)
  ------------------
  |  Branch (11080:17): [True: 24.5k, False: 283k]
  ------------------
11081|  24.5k|                return -1;
11082|   283k|            else
11083|   283k|                return 1;
11084|   307k|        }
11085|    853|        if (len1 > len2)
  ------------------
  |  Branch (11085:13): [True: 0, False: 853]
  ------------------
11086|      0|            return 1; /* uni is longer */
11087|    853|        if (len1 < len2)
  ------------------
  |  Branch (11087:13): [True: 0, False: 853]
  ------------------
11088|      0|            return -1; /* str is longer */
11089|    853|        return 0;
11090|    853|    }
11091|      0|    else {
11092|      0|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11093|       |        /* Compare Unicode string and source character set string */
11094|      0|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (11094:21): [True: 0, False: 0]
  |  Branch (11094:62): [True: 0, False: 0]
  ------------------
11095|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11095:17): [True: 0, False: 0]
  ------------------
11096|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11096:24): [True: 0, False: 0]
  ------------------
11097|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11098|       |         to C strings identical up to that point. */
11099|      0|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11099:13): [True: 0, False: 0]
  |  Branch (11099:47): [True: 0, False: 0]
  ------------------
11100|      0|            return 1; /* uni is longer */
11101|      0|        if (str[i])
  ------------------
  |  Branch (11101:13): [True: 0, False: 0]
  ------------------
11102|      0|            return -1; /* str is longer */
11103|      0|        return 0;
11104|      0|    }
11105|   308k|}
PyUnicode_EqualToUTF8:
11109|      4|{
11110|      4|    return PyUnicode_EqualToUTF8AndSize(unicode, str, strlen(str));
11111|      4|}
PyUnicode_EqualToUTF8AndSize:
11115|      4|{
11116|      4|    assert(_PyUnicode_CHECK(unicode));
11117|      4|    assert(str);
11118|       |
11119|      4|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  227|      4|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
11120|      4|        Py_ssize_t len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11121|      4|        return size == len &&
  ------------------
  |  Branch (11121:16): [True: 0, False: 4]
  ------------------
11122|      0|            memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11122:13): [True: 0, False: 0]
  ------------------
11123|      4|    }
11124|      0|    if (PyUnicode_UTF8(unicode) != NULL) {
  ------------------
  |  Branch (11124:9): [True: 0, False: 0]
  ------------------
11125|      0|        Py_ssize_t len = PyUnicode_UTF8_LENGTH(unicode);
11126|      0|        return size == len &&
  ------------------
  |  Branch (11126:16): [True: 0, False: 0]
  ------------------
11127|      0|            memcmp(PyUnicode_UTF8(unicode), str, len) == 0;
  ------------------
  |  Branch (11127:13): [True: 0, False: 0]
  ------------------
11128|      0|    }
11129|       |
11130|      0|    Py_ssize_t len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11131|      0|    if ((size_t)len >= (size_t)size || (size_t)len < (size_t)size / 4) {
  ------------------
  |  Branch (11131:9): [True: 0, False: 0]
  |  Branch (11131:40): [True: 0, False: 0]
  ------------------
11132|      0|        return 0;
11133|      0|    }
11134|      0|    const unsigned char *s = (const unsigned char *)str;
11135|      0|    const unsigned char *ends = s + (size_t)size;
11136|      0|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11137|      0|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11138|       |    /* Compare Unicode string and UTF-8 string */
11139|      0|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (11139:28): [True: 0, False: 0]
  ------------------
11140|      0|        Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
11141|      0|        if (ch < 0x80) {
  ------------------
  |  Branch (11141:13): [True: 0, False: 0]
  ------------------
11142|      0|            if (ends == s || s[0] != ch) {
  ------------------
  |  Branch (11142:17): [True: 0, False: 0]
  |  Branch (11142:30): [True: 0, False: 0]
  ------------------
11143|      0|                return 0;
11144|      0|            }
11145|      0|            s += 1;
11146|      0|        }
11147|      0|        else if (ch < 0x800) {
  ------------------
  |  Branch (11147:18): [True: 0, False: 0]
  ------------------
11148|      0|            if ((ends - s) < 2 ||
  ------------------
  |  Branch (11148:17): [True: 0, False: 0]
  ------------------
11149|      0|                s[0] != (0xc0 | (ch >> 6)) ||
  ------------------
  |  Branch (11149:17): [True: 0, False: 0]
  ------------------
11150|      0|                s[1] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11150:17): [True: 0, False: 0]
  ------------------
11151|      0|            {
11152|      0|                return 0;
11153|      0|            }
11154|      0|            s += 2;
11155|      0|        }
11156|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (11156:18): [True: 0, False: 0]
  ------------------
11157|      0|            if (Py_UNICODE_IS_SURROGATE(ch) ||
  ------------------
  |  Branch (11157:17): [True: 0, False: 0]
  ------------------
11158|      0|                (ends - s) < 3 ||
  ------------------
  |  Branch (11158:17): [True: 0, False: 0]
  ------------------
11159|      0|                s[0] != (0xe0 | (ch >> 12)) ||
  ------------------
  |  Branch (11159:17): [True: 0, False: 0]
  ------------------
11160|      0|                s[1] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11160:17): [True: 0, False: 0]
  ------------------
11161|      0|                s[2] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11161:17): [True: 0, False: 0]
  ------------------
11162|      0|            {
11163|      0|                return 0;
11164|      0|            }
11165|      0|            s += 3;
11166|      0|        }
11167|      0|        else {
11168|      0|            assert(ch <= MAX_UNICODE);
11169|      0|            if ((ends - s) < 4 ||
  ------------------
  |  Branch (11169:17): [True: 0, False: 0]
  ------------------
11170|      0|                s[0] != (0xf0 | (ch >> 18)) ||
  ------------------
  |  Branch (11170:17): [True: 0, False: 0]
  ------------------
11171|      0|                s[1] != (0x80 | ((ch >> 12) & 0x3f)) ||
  ------------------
  |  Branch (11171:17): [True: 0, False: 0]
  ------------------
11172|      0|                s[2] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11172:17): [True: 0, False: 0]
  ------------------
11173|      0|                s[3] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11173:17): [True: 0, False: 0]
  ------------------
11174|      0|            {
11175|      0|                return 0;
11176|      0|            }
11177|      0|            s += 4;
11178|      0|        }
11179|      0|    }
11180|      0|    return s == ends;
11181|      0|}
_PyUnicode_EqualToASCIIString:
11185|  20.2M|{
11186|  20.2M|    size_t len;
11187|  20.2M|    assert(_PyUnicode_CHECK(unicode));
11188|  20.2M|    assert(str);
11189|       |#ifndef NDEBUG
11190|       |    for (const char *p = str; *p; p++) {
11191|       |        assert((unsigned char)*p < 128);
11192|       |    }
11193|       |#endif
11194|  20.2M|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  20.2M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11194:9): [True: 0, False: 20.2M]
  ------------------
11195|      0|        return 0;
11196|  20.2M|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  20.2M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11197|  20.2M|    return strlen(str) == len &&
  ------------------
  |  Branch (11197:12): [True: 21.4k, False: 20.2M]
  ------------------
11198|  21.4k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|  21.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  21.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11198:12): [True: 842, False: 20.6k]
  ------------------
11199|  20.2M|}
PyUnicode_RichCompare:
11203|  7.92M|{
11204|  7.92M|    int result;
11205|       |
11206|  7.92M|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  7.92M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.8M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  7.92M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.92M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11206:9): [True: 0, False: 7.92M]
  |  Branch (11206:35): [True: 219, False: 7.92M]
  ------------------
11207|    219|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    219|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    219|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11208|       |
11209|  7.92M|    if (left == right) {
  ------------------
  |  Branch (11209:9): [True: 126, False: 7.92M]
  ------------------
11210|    126|        switch (op) {
11211|     96|        case Py_EQ:
  ------------------
  |  |  654|     96|#define Py_EQ 2
  ------------------
  |  Branch (11211:9): [True: 96, False: 30]
  ------------------
11212|     96|        case Py_LE:
  ------------------
  |  |  653|     96|#define Py_LE 1
  ------------------
  |  Branch (11212:9): [True: 0, False: 126]
  ------------------
11213|     96|        case Py_GE:
  ------------------
  |  |  657|     96|#define Py_GE 5
  ------------------
  |  Branch (11213:9): [True: 0, False: 126]
  ------------------
11214|       |            /* a string is equal to itself */
11215|     96|            Py_RETURN_TRUE;
  ------------------
  |  |   44|     96|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     96|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11216|     30|        case Py_NE:
  ------------------
  |  |  655|     30|#define Py_NE 3
  ------------------
  |  Branch (11216:9): [True: 30, False: 96]
  ------------------
11217|     30|        case Py_LT:
  ------------------
  |  |  652|     30|#define Py_LT 0
  ------------------
  |  Branch (11217:9): [True: 0, False: 126]
  ------------------
11218|     30|        case Py_GT:
  ------------------
  |  |  656|     30|#define Py_GT 4
  ------------------
  |  Branch (11218:9): [True: 0, False: 126]
  ------------------
11219|     30|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     30|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     30|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11220|      0|        default:
  ------------------
  |  Branch (11220:9): [True: 0, False: 126]
  ------------------
11221|      0|            PyErr_BadArgument();
11222|      0|            return NULL;
11223|    126|        }
11224|    126|    }
11225|  7.92M|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  15.8M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  1.02k|#define Py_NE 3
  ------------------
  |  Branch (11225:14): [True: 7.92M, False: 1.02k]
  |  Branch (11225:29): [True: 53, False: 972]
  ------------------
11226|  7.92M|        result = unicode_eq(left, right);
11227|  7.92M|        result ^= (op == Py_NE);
  ------------------
  |  |  655|  7.92M|#define Py_NE 3
  ------------------
11228|  7.92M|        return PyBool_FromLong(result);
11229|  7.92M|    }
11230|    972|    else {
11231|    972|        result = unicode_compare(left, right);
11232|    972|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|    972|    do {                                                                    \
  |  |  675|    972|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 972]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 972]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|    766|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|    766|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|    407|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    407|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    407|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    407|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    359|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    359|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    359|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    359|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 766, False: 206]
  |  |  |  Branch (678:25): [True: 407, False: 359]
  |  |  ------------------
  |  |  679|    766|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|    206|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      8|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    198|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    198|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 206, False: 766]
  |  |  |  Branch (679:25): [True: 8, False: 198]
  |  |  ------------------
  |  |  680|    206|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 972]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 972]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 972]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    972|        }                                                                   \
  |  |  685|    972|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11233|    972|    }
11234|  7.92M|}
PyUnicode_Contains:
11238|  43.0k|{
11239|  43.0k|    int kind1, kind2;
11240|  43.0k|    const void *buf1, *buf2;
11241|  43.0k|    Py_ssize_t len1, len2;
11242|  43.0k|    int result;
11243|       |
11244|  43.0k|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|  43.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  43.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11244:9): [True: 0, False: 43.0k]
  ------------------
11245|      0|        PyErr_Format(PyExc_TypeError,
11246|      0|                     "'in <string>' requires string as left operand, not %.100s",
11247|      0|                     Py_TYPE(substr)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11248|      0|        return -1;
11249|      0|    }
11250|  43.0k|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  105|  43.0k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11250:9): [True: 0, False: 43.0k]
  ------------------
11251|      0|        return -1;
11252|       |
11253|  43.0k|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  258|  43.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  43.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11254|  43.0k|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  258|  43.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  43.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11255|  43.0k|    if (kind1 < kind2)
  ------------------
  |  Branch (11255:9): [True: 0, False: 43.0k]
  ------------------
11256|      0|        return 0;
11257|  43.0k|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  43.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11258|  43.0k|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  299|  43.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11259|  43.0k|    if (len1 < len2)
  ------------------
  |  Branch (11259:9): [True: 66, False: 42.9k]
  ------------------
11260|     66|        return 0;
11261|  42.9k|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  284|  42.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11262|  42.9k|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  284|  42.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11263|  42.9k|    if (len2 == 1) {
  ------------------
  |  Branch (11263:9): [True: 14.9k, False: 27.9k]
  ------------------
11264|  14.9k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  14.9k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  14.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  14.9k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  14.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  14.9k|                   (index))
  ------------------
11265|  14.9k|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11266|  14.9k|        return result;
11267|  14.9k|    }
11268|  27.9k|    if (kind2 != kind1) {
  ------------------
  |  Branch (11268:9): [True: 0, False: 27.9k]
  ------------------
11269|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11270|      0|        if (!buf2)
  ------------------
  |  Branch (11270:13): [True: 0, False: 0]
  ------------------
11271|      0|            return -1;
11272|      0|    }
11273|       |
11274|  27.9k|    switch (kind1) {
11275|  27.9k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11275:5): [True: 27.9k, False: 0]
  ------------------
11276|  27.9k|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11277|  27.9k|        break;
11278|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11278:5): [True: 0, False: 27.9k]
  ------------------
11279|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11280|      0|        break;
11281|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11281:5): [True: 0, False: 27.9k]
  ------------------
11282|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11283|      0|        break;
11284|      0|    default:
  ------------------
  |  Branch (11284:5): [True: 0, False: 27.9k]
  ------------------
11285|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11286|  27.9k|    }
11287|       |
11288|  27.9k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
11289|  27.9k|    if (kind2 != kind1)
  ------------------
  |  Branch (11289:9): [True: 0, False: 27.9k]
  ------------------
11290|      0|        PyMem_Free((void *)buf2);
11291|       |
11292|  27.9k|    return result;
11293|  27.9k|}
PyUnicode_Concat:
11299|  1.51M|{
11300|  1.51M|    PyObject *result;
11301|  1.51M|    Py_UCS4 maxchar, maxchar2;
11302|  1.51M|    Py_ssize_t left_len, right_len, new_len;
11303|       |
11304|  1.51M|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  105|  1.51M|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11304:9): [True: 0, False: 1.51M]
  ------------------
11305|      0|        return NULL;
11306|       |
11307|  1.51M|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.51M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.51M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11307:9): [True: 0, False: 1.51M]
  ------------------
11308|      0|        PyErr_Format(PyExc_TypeError,
11309|      0|            "can only concatenate str (not \"%.200s\") to str",
11310|      0|            Py_TYPE(right)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11311|      0|        return NULL;
11312|      0|    }
11313|       |
11314|       |    /* Shortcuts */
11315|  1.51M|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11316|  1.51M|    if (left == empty) {
  ------------------
  |  Branch (11316:9): [True: 2.50k, False: 1.51M]
  ------------------
11317|  2.50k|        return PyUnicode_FromObject(right);
11318|  2.50k|    }
11319|  1.51M|    if (right == empty) {
  ------------------
  |  Branch (11319:9): [True: 217, False: 1.51M]
  ------------------
11320|    217|        return PyUnicode_FromObject(left);
11321|    217|    }
11322|       |
11323|  1.51M|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  1.51M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11324|  1.51M|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  1.51M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11325|  1.51M|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  1.51M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11325:9): [True: 0, False: 1.51M]
  ------------------
11326|      0|        PyErr_SetString(PyExc_OverflowError,
11327|      0|                        "strings are too large to concat");
11328|      0|        return NULL;
11329|      0|    }
11330|  1.51M|    new_len = left_len + right_len;
11331|       |
11332|  1.51M|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|  1.51M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11333|  1.51M|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|  1.51M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11334|  1.51M|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|  1.51M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1.51M]
  |  |  ------------------
  ------------------
11335|       |
11336|       |    /* Concat the two Unicode strings */
11337|  1.51M|    result = PyUnicode_New(new_len, maxchar);
11338|  1.51M|    if (result == NULL)
  ------------------
  |  Branch (11338:9): [True: 0, False: 1.51M]
  ------------------
11339|      0|        return NULL;
11340|  1.51M|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11341|  1.51M|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11342|       |    assert(_PyUnicode_CheckConsistency(result, 1));
11343|  1.51M|    return result;
11344|  1.51M|}
PyUnicode_Append:
11348|  1.58k|{
11349|  1.58k|    PyObject *left, *res;
11350|  1.58k|    Py_UCS4 maxchar, maxchar2;
11351|  1.58k|    Py_ssize_t left_len, right_len, new_len;
11352|       |
11353|  1.58k|    if (p_left == NULL) {
  ------------------
  |  Branch (11353:9): [True: 0, False: 1.58k]
  ------------------
11354|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11354:13): [True: 0, False: 0]
  ------------------
11355|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11356|      0|        return;
11357|      0|    }
11358|  1.58k|    left = *p_left;
11359|  1.58k|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11359:9): [True: 0, False: 1.58k]
  |  Branch (11359:26): [True: 0, False: 1.58k]
  ------------------
11360|  1.58k|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.58k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.16k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.58k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11360:12): [True: 0, False: 1.58k]
  |  Branch (11360:38): [True: 0, False: 1.58k]
  ------------------
11361|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11361:13): [True: 0, False: 0]
  ------------------
11362|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11363|      0|        goto error;
11364|      0|    }
11365|       |
11366|       |    /* Shortcuts */
11367|  1.58k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11368|  1.58k|    if (left == empty) {
  ------------------
  |  Branch (11368:9): [True: 132, False: 1.44k]
  ------------------
11369|    132|        Py_DECREF(left);
  ------------------
  |  |  430|    132|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11370|    132|        *p_left = Py_NewRef(right);
  ------------------
  |  |  550|    132|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11371|    132|        return;
11372|    132|    }
11373|  1.44k|    if (right == empty) {
  ------------------
  |  Branch (11373:9): [True: 0, False: 1.44k]
  ------------------
11374|      0|        return;
11375|      0|    }
11376|       |
11377|  1.44k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  1.44k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11378|  1.44k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  1.44k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11379|  1.44k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  1.44k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11379:9): [True: 0, False: 1.44k]
  ------------------
11380|      0|        PyErr_SetString(PyExc_OverflowError,
11381|      0|                        "strings are too large to concat");
11382|      0|        goto error;
11383|      0|    }
11384|  1.44k|    new_len = left_len + right_len;
11385|       |
11386|  1.44k|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11386:9): [True: 799, False: 650]
  ------------------
11387|  1.44k|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|    799|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.24k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 799, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11388|  1.44k|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|    799|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    799|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|    799|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11388:12): [True: 799, False: 0]
  ------------------
11389|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11390|       |           to change the structure size, but characters are stored just after
11391|       |           the structure, and so it requires to move all characters which is
11392|       |           not so different than duplicating the string. */
11393|    799|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  1.59k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 799, False: 0]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|    799|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11393:42): [True: 0, False: 799]
  ------------------
11394|    799|    {
11395|       |        /* append inplace */
11396|    799|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11396:13): [True: 0, False: 799]
  ------------------
11397|      0|            goto error;
11398|       |
11399|       |        /* copy 'right' into the newly allocated area of 'left' */
11400|    799|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11401|    799|    }
11402|    650|    else {
11403|    650|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|    650|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    650|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    650|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11404|    650|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|    650|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    650|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    650|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11405|    650|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|    650|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 650]
  |  |  ------------------
  ------------------
11406|       |
11407|       |        /* Concat the two Unicode strings */
11408|    650|        res = PyUnicode_New(new_len, maxchar);
11409|    650|        if (res == NULL)
  ------------------
  |  Branch (11409:13): [True: 0, False: 650]
  ------------------
11410|      0|            goto error;
11411|    650|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11412|    650|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11413|    650|        Py_DECREF(left);
  ------------------
  |  |  430|    650|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    650|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    650|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11414|    650|        *p_left = res;
11415|    650|    }
11416|  1.44k|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
11417|  1.44k|    return;
11418|       |
11419|      0|error:
11420|       |    Py_CLEAR(*p_left);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11421|      0|}
PyUnicode_AppendAndDel:
11425|      4|{
11426|      4|    PyUnicode_Append(pleft, right);
11427|      4|    Py_XDECREF(right);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11428|      4|}
_PyUnicode_ScanIdentifier:
12100|  26.2k|{
12101|  26.2k|    Py_ssize_t i;
12102|  26.2k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  26.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12103|  26.2k|    if (len == 0) {
  ------------------
  |  Branch (12103:9): [True: 0, False: 26.2k]
  ------------------
12104|       |        /* an empty string is not a valid identifier */
12105|      0|        return 0;
12106|      0|    }
12107|       |
12108|  26.2k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  26.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  26.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12109|  26.2k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  26.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12110|  26.2k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|  26.2k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  26.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  26.2k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  26.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  26.2k|                   (index))
  ------------------
12111|       |    /* PEP 3131 says that the first character must be in
12112|       |       XID_Start and subsequent characters in XID_Continue,
12113|       |       and for the ASCII range, the 2.x rules apply (i.e
12114|       |       start with letters and underscore, continue with
12115|       |       letters, digits, underscore). However, given the current
12116|       |       definition of XID_Start and XID_Continue, it is sufficient
12117|       |       to check just for these, except that _ must be allowed
12118|       |       as starting an identifier.  */
12119|  26.2k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12119:9): [True: 284, False: 25.9k]
  |  Branch (12119:39): [True: 0, False: 284]
  ------------------
12120|      0|        return 0;
12121|      0|    }
12122|       |
12123|   235k|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12123:17): [True: 209k, False: 26.2k]
  ------------------
12124|   209k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   209k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   209k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   209k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   209k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   209k|                   (index))
  ------------------
12125|   209k|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12125:13): [True: 0, False: 209k]
  ------------------
12126|      0|            return i;
12127|      0|        }
12128|   209k|    }
12129|  26.2k|    return i;
12130|  26.2k|}
PyUnicode_IsIdentifier:
12134|  26.2k|{
12135|  26.2k|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12136|  26.2k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  26.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12137|       |    /* an empty string is not a valid identifier */
12138|  26.2k|    return len && i == len;
  ------------------
  |  Branch (12138:12): [True: 26.2k, False: 0]
  |  Branch (12138:19): [True: 26.2k, False: 0]
  ------------------
12139|  26.2k|}
_PyUnicode_XStrip:
12269|  9.25k|{
12270|  9.25k|    const void *data;
12271|  9.25k|    int kind;
12272|  9.25k|    Py_ssize_t i, j, len;
12273|  9.25k|    BLOOM_MASK sepmask;
  ------------------
  |  |  905|  9.25k|#define BLOOM_MASK unsigned long
  ------------------
12274|  9.25k|    Py_ssize_t seplen;
12275|       |
12276|  9.25k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  9.25k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12277|  9.25k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  9.25k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12278|  9.25k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  9.25k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12279|  9.25k|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  299|  9.25k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12280|  9.25k|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  258|  9.25k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12281|  9.25k|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  284|  9.25k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12282|  9.25k|                              seplen);
12283|       |
12284|  9.25k|    i = 0;
12285|  9.25k|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12258|  9.25k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12285:9): [True: 20, False: 9.23k]
  ------------------
12286|     28|        while (i < len) {
  ------------------
  |  Branch (12286:16): [True: 26, False: 2]
  ------------------
12287|     26|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|     26|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     26|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     26|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     26|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     26|                   (index))
  ------------------
12288|     26|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  909|     26|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  898|     26|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12288:17): [True: 18, False: 8]
  ------------------
12289|     18|                break;
12290|      8|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12290:17): [True: 0, False: 8]
  ------------------
12291|      0|                break;
12292|      8|            i++;
12293|      8|        }
12294|     20|    }
12295|       |
12296|  9.25k|    j = len;
12297|  9.25k|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12257|  9.25k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12297:9): [True: 9.25k, False: 2]
  ------------------
12298|  9.25k|        j--;
12299|  9.27k|        while (j >= i) {
  ------------------
  |  Branch (12299:16): [True: 9.27k, False: 0]
  ------------------
12300|  9.27k|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|  9.27k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.27k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.27k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.27k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.27k|                   (index))
  ------------------
12301|  9.27k|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  909|  9.27k|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  898|  9.27k|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12301:17): [True: 6.02k, False: 3.24k]
  ------------------
12302|  6.02k|                break;
12303|  3.24k|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12303:17): [True: 3.22k, False: 20]
  ------------------
12304|  3.22k|                break;
12305|     20|            j--;
12306|     20|        }
12307|       |
12308|  9.25k|        j++;
12309|  9.25k|    }
12310|       |
12311|  9.25k|    return PyUnicode_Substring(self, i, j);
12312|  9.25k|}
_PyUnicode_BinarySlice:
12316|  2.74k|{
12317|  2.74k|    assert(PyUnicode_CheckExact(container));
12318|  2.74k|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  299|  2.74k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12319|  2.74k|    Py_ssize_t istart, istop;
12320|  2.74k|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12320:9): [True: 0, False: 2.74k]
  ------------------
12321|      0|        return NULL;
12322|      0|    }
12323|  2.74k|    return PyUnicode_Substring(container, istart, istop);
12324|  2.74k|}
PyUnicode_Substring:
12328|  47.0k|{
12329|  47.0k|    const unsigned char *data;
12330|  47.0k|    int kind;
12331|  47.0k|    Py_ssize_t length;
12332|       |
12333|  47.0k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  47.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12334|  47.0k|    end = Py_MIN(end, length);
  ------------------
  |  |  112|  47.0k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 47.0k]
  |  |  ------------------
  ------------------
12335|       |
12336|  47.0k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12336:9): [True: 12.2k, False: 34.8k]
  |  Branch (12336:23): [True: 10.1k, False: 2.13k]
  ------------------
12337|  10.1k|        return unicode_result_unchanged(self);
12338|       |
12339|  36.9k|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12339:9): [True: 0, False: 36.9k]
  |  Branch (12339:22): [True: 0, False: 36.9k]
  ------------------
12340|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12341|      0|        return NULL;
12342|      0|    }
12343|  36.9k|    if (start >= length || end < start)
  ------------------
  |  Branch (12343:9): [True: 4, False: 36.9k]
  |  Branch (12343:28): [True: 0, False: 36.9k]
  ------------------
12344|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      4|    do {                             \
  |  |  376|      4|        return _PyUnicode_GetEmpty();\
  |  |  377|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12345|       |
12346|  36.9k|    length = end - start;
12347|  36.9k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|  36.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 36.5k, False: 356]
  |  |  ------------------
  ------------------
12348|  36.5k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|  36.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  36.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12349|  36.5k|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12350|  36.5k|    }
12351|    356|    else {
12352|    356|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    356|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    356|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12353|    356|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|    356|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    356|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12354|    356|        return PyUnicode_FromKindAndData(kind,
12355|    356|                                         data + kind * start,
12356|    356|                                         length);
12357|    356|    }
12358|  36.9k|}
_PyUnicode_Repeat:
12501|     48|{
12502|     48|    PyObject *u;
12503|     48|    Py_ssize_t nchars, n;
12504|       |
12505|     48|    if (len < 1)
  ------------------
  |  Branch (12505:9): [True: 2, False: 46]
  ------------------
12506|      2|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      2|    do {                             \
  |  |  376|      2|        return _PyUnicode_GetEmpty();\
  |  |  377|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12507|       |
12508|       |    /* no repeat, return original string */
12509|     46|    if (len == 1)
  ------------------
  |  Branch (12509:9): [True: 8, False: 38]
  ------------------
12510|      8|        return unicode_result_unchanged(str);
12511|       |
12512|     38|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  299|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|     38|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12512:9): [True: 0, False: 38]
  ------------------
12513|      0|        PyErr_SetString(PyExc_OverflowError,
12514|      0|                        "repeated string is too long");
12515|      0|        return NULL;
12516|      0|    }
12517|     38|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12518|       |
12519|     38|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  405|     38|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12520|     38|    if (!u)
  ------------------
  |  Branch (12520:9): [True: 0, False: 38]
  ------------------
12521|      0|        return NULL;
12522|     38|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
12523|       |
12524|     38|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  299|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12524:9): [True: 38, False: 0]
  ------------------
12525|     38|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|     38|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     38|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12526|     38|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  354|     38|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     38|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     38|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     38|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     38|                   (index))
  ------------------
12527|     38|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12527:13): [True: 38, False: 0]
  ------------------
12528|     38|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  284|     38|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12529|     38|            memset(to, (unsigned char)fill_char, len);
12530|     38|        }
12531|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12531:18): [True: 0, False: 0]
  ------------------
12532|      0|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12533|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12533:25): [True: 0, False: 0]
  ------------------
12534|      0|                ucs2[n] = fill_char;
12535|      0|        } else {
12536|      0|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12537|      0|            assert(kind == PyUnicode_4BYTE_KIND);
12538|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12538:25): [True: 0, False: 0]
  ------------------
12539|      0|                ucs4[n] = fill_char;
12540|      0|        }
12541|     38|    }
12542|      0|    else {
12543|      0|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12544|      0|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12545|      0|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12546|      0|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12547|      0|    }
12548|       |
12549|       |    assert(_PyUnicode_CheckConsistency(u, 1));
12550|     38|    return u;
12551|     38|}
PyUnicode_Partition:
12856|     84|{
12857|     84|    PyObject* out;
12858|     84|    int kind1, kind2;
12859|     84|    const void *buf1, *buf2;
12860|     84|    Py_ssize_t len1, len2;
12861|       |
12862|     84|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|     84|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|     84|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (12862:9): [True: 0, False: 84]
  |  Branch (12862:40): [True: 0, False: 84]
  ------------------
12863|      0|        return NULL;
12864|       |
12865|     84|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|     84|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12866|     84|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|     84|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12867|     84|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|     84|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12868|     84|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|     84|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12869|     84|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (12869:9): [True: 0, False: 84]
  |  Branch (12869:26): [True: 0, False: 84]
  ------------------
12870|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
12871|      0|        return PyTuple_Pack(3, str_obj, empty, empty);
12872|      0|    }
12873|     84|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|     84|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12874|     84|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|     84|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12875|     84|    if (kind2 != kind1) {
  ------------------
  |  Branch (12875:9): [True: 0, False: 84]
  ------------------
12876|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
12877|      0|        if (!buf2)
  ------------------
  |  Branch (12877:13): [True: 0, False: 0]
  ------------------
12878|      0|            return NULL;
12879|      0|    }
12880|       |
12881|     84|    switch (kind1) {
12882|     84|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12882:5): [True: 84, False: 0]
  ------------------
12883|     84|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|    168|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 84, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|     84|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 84, False: 0]
  |  |  ------------------
  ------------------
12884|     84|            out = asciilib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12885|      0|        else
12886|      0|            out = ucs1lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12887|     84|        break;
12888|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12888:5): [True: 0, False: 84]
  ------------------
12889|      0|        out = ucs2lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12890|      0|        break;
12891|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (12891:5): [True: 0, False: 84]
  ------------------
12892|      0|        out = ucs4lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12893|      0|        break;
12894|      0|    default:
  ------------------
  |  Branch (12894:5): [True: 0, False: 84]
  ------------------
12895|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
12896|     84|    }
12897|       |
12898|     84|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
12899|     84|    if (kind2 != kind1)
  ------------------
  |  Branch (12899:9): [True: 0, False: 84]
  ------------------
12900|      0|        PyMem_Free((void *)buf2);
12901|       |
12902|     84|    return out;
12903|     84|}
PyUnicode_RPartition:
12908|  3.13k|{
12909|  3.13k|    PyObject* out;
12910|  3.13k|    int kind1, kind2;
12911|  3.13k|    const void *buf1, *buf2;
12912|  3.13k|    Py_ssize_t len1, len2;
12913|       |
12914|  3.13k|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|  3.13k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|  3.13k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (12914:9): [True: 0, False: 3.13k]
  |  Branch (12914:40): [True: 0, False: 3.13k]
  ------------------
12915|      0|        return NULL;
12916|       |
12917|  3.13k|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|  3.13k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12918|  3.13k|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|  3.13k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12919|  3.13k|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|  3.13k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12920|  3.13k|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|  3.13k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12921|  3.13k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (12921:9): [True: 0, False: 3.13k]
  |  Branch (12921:26): [True: 0, False: 3.13k]
  ------------------
12922|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
12923|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
12924|      0|    }
12925|  3.13k|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|  3.13k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12926|  3.13k|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|  3.13k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12927|  3.13k|    if (kind2 != kind1) {
  ------------------
  |  Branch (12927:9): [True: 0, False: 3.13k]
  ------------------
12928|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
12929|      0|        if (!buf2)
  ------------------
  |  Branch (12929:13): [True: 0, False: 0]
  ------------------
12930|      0|            return NULL;
12931|      0|    }
12932|       |
12933|  3.13k|    switch (kind1) {
12934|  3.13k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12934:5): [True: 3.13k, False: 0]
  ------------------
12935|  3.13k|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  6.27k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.13k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  3.13k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.13k, False: 0]
  |  |  ------------------
  ------------------
12936|  3.13k|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12937|      0|        else
12938|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12939|  3.13k|        break;
12940|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12940:5): [True: 0, False: 3.13k]
  ------------------
12941|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12942|      0|        break;
12943|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (12943:5): [True: 0, False: 3.13k]
  ------------------
12944|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12945|      0|        break;
12946|      0|    default:
  ------------------
  |  Branch (12946:5): [True: 0, False: 3.13k]
  ------------------
12947|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
12948|  3.13k|    }
12949|       |
12950|  3.13k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
12951|  3.13k|    if (kind2 != kind1)
  ------------------
  |  Branch (12951:9): [True: 0, False: 3.13k]
  ------------------
12952|      0|        PyMem_Free((void *)buf2);
12953|       |
12954|  3.13k|    return out;
12955|  3.13k|}
_PyUnicode_ExactDealloc:
14006|  5.81k|{
14007|       |    assert(PyUnicode_CheckExact(op));
14008|  5.81k|    unicode_dealloc(op);
14009|  5.81k|}
_PyUnicode_InitState:
14101|      2|{
14102|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14102:9): [True: 0, False: 2]
  ------------------
14103|      0|        return;
14104|      0|    }
14105|      2|    _init_global_state();
14106|      2|}
_PyUnicode_InitGlobalObjects:
14111|      2|{
14112|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14112:9): [True: 2, False: 0]
  ------------------
14113|      2|        PyStatus status = init_global_interned_strings(interp);
14114|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14115|      0|            return status;
14116|      0|        }
14117|      2|    }
14118|      2|    assert(INTERNED_STRINGS);
14119|       |
14120|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14120:9): [True: 0, False: 2]
  ------------------
14121|      0|        PyErr_Clear();
14122|      0|        return _PyStatus_ERR("failed to create interned dict");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14123|      0|    }
14124|       |
14125|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14126|      2|}
_PyUnicode_InitTypes:
14131|      2|{
14132|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14132:9): [True: 0, False: 2]
  ------------------
14133|      0|        goto error;
14134|      0|    }
14135|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14135:9): [True: 0, False: 2]
  ------------------
14136|      0|        goto error;
14137|      0|    }
14138|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14138:9): [True: 0, False: 2]
  ------------------
14139|      0|        goto error;
14140|      0|    }
14141|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14142|       |
14143|      0|error:
14144|      0|    return _PyStatus_ERR("Can't initialize unicode types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14145|      2|}
_PyUnicode_InternStatic:
14188|  2.24k|{
14189|       |    // This should only be called as part of runtime initialization
14190|  2.24k|    assert(!Py_IsInitialized());
14191|       |
14192|  2.24k|    *p = intern_static(interp, *p);
14193|       |    assert(*p);
14194|  2.24k|}
_PyUnicode_InternImmortal:
14402|  7.09M|{
14403|  7.09M|    *p = intern_common(interp, *p, 1);
14404|       |    assert(*p);
14405|  7.09M|}
_PyUnicode_InternMortal:
14409|  4.64M|{
14410|  4.64M|    *p = intern_common(interp, *p, 0);
14411|       |    assert(*p);
14412|  4.64M|}
PyUnicode_InternFromString:
14440|  9.68k|{
14441|  9.68k|    PyObject *s = PyUnicode_FromString(cp);
14442|  9.68k|    if (s == NULL) {
  ------------------
  |  Branch (14442:9): [True: 0, False: 9.68k]
  ------------------
14443|      0|        return NULL;
14444|      0|    }
14445|  9.68k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14446|  9.68k|    _PyUnicode_InternMortal(interp, &s);
14447|  9.68k|    return s;
14448|  9.68k|}
_PyUnicode_InitEncodings:
14902|      2|{
14903|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
14904|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14905|      0|        return status;
14906|      0|    }
14907|      2|    status = init_fs_encoding(tstate);
14908|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14909|      0|        return status;
14910|      0|    }
14911|       |
14912|      2|    return init_stdio_encoding(tstate->interp);
14913|      2|}
PyInit__string:
14994|      2|{
14995|      2|    return PyModuleDef_Init(&_string_module);
14996|      2|}
unicodeobject.c:get_interned_dict:
  212|   296k|{
  213|   296k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|   296k|    (interp)->cached_objects.NAME
  ------------------
  214|   296k|}
unicodeobject.c:_PyUnicode_UTF8:
  114|   226k|{
  115|   226k|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  150|   226k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  116|   226k|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  177|  7.09M|{
  178|  7.09M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  241|  14.1M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (178:13): [True: 162k, False: 6.93M]
  ------------------
  179|   162k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (179:16): [True: 0, False: 162k]
  ------------------
  180|      0|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (180:16): [True: 0, False: 0]
  ------------------
  181|  7.09M|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  146|     72|{
  147|       |    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     72|    (assert(PyUnicode_Check(op)), \
  |  |  190|     72|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|     72|}
unicodeobject.c:PyUnicode_SET_UTF8:
  130|     72|{
  131|     72|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  164|     72|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  132|     72|}
unicodeobject.c:_copy_characters:
 1382|  4.78M|{
 1383|  4.78M|    int from_kind, to_kind;
 1384|  4.78M|    const void *from_data;
 1385|  4.78M|    void *to_data;
 1386|       |
 1387|  4.78M|    assert(0 <= how_many);
 1388|  4.78M|    assert(0 <= from_start);
 1389|  4.78M|    assert(0 <= to_start);
 1390|  4.78M|    assert(PyUnicode_Check(from));
 1391|  4.78M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
 1392|       |
 1393|  4.78M|    assert(to == NULL || PyUnicode_Check(to));
 1394|       |
 1395|  4.78M|    if (how_many == 0) {
  ------------------
  |  Branch (1395:9): [True: 48, False: 4.78M]
  ------------------
 1396|     48|        return 0;
 1397|     48|    }
 1398|       |
 1399|  4.78M|    assert(to != NULL);
 1400|  4.78M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
 1401|       |
 1402|  4.78M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  258|  4.78M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.78M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1403|  4.78M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  284|  4.78M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|  4.78M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  258|  4.78M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.78M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1405|  4.78M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  284|  4.78M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|       |
 1407|       |#ifdef Py_DEBUG
 1408|       |    if (!check_maxchar
 1409|       |        && PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to))
 1410|       |    {
 1411|       |        Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
 1412|       |        Py_UCS4 ch;
 1413|       |        Py_ssize_t i;
 1414|       |        for (i=0; i < how_many; i++) {
 1415|       |            ch = PyUnicode_READ(from_kind, from_data, from_start + i);
 1416|       |            assert(ch <= to_maxchar);
 1417|       |        }
 1418|       |    }
 1419|       |#endif
 1420|       |
 1421|  4.78M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1421:9): [True: 4.76M, False: 18.1k]
  ------------------
 1422|  4.76M|        if (check_maxchar
  ------------------
  |  Branch (1422:13): [True: 0, False: 4.76M]
  ------------------
 1423|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|  4.76M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1423:16): [True: 0, False: 0]
  ------------------
 1424|      0|        {
 1425|       |            /* Writing Latin-1 characters into an ASCII string requires to
 1426|       |               check that all written characters are pure ASCII */
 1427|      0|            Py_UCS4 max_char;
 1428|      0|            max_char = ucs1lib_find_max_char(from_data,
 1429|      0|                                             (const Py_UCS1*)from_data + how_many);
 1430|      0|            if (max_char >= 128)
  ------------------
  |  Branch (1430:17): [True: 0, False: 0]
  ------------------
 1431|      0|                return -1;
 1432|      0|        }
 1433|  4.76M|        memcpy((char*)to_data + to_kind * to_start,
 1434|  4.76M|                  (const char*)from_data + from_kind * from_start,
 1435|  4.76M|                  to_kind * how_many);
 1436|  4.76M|    }
 1437|  18.1k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1437:14): [True: 4.60k, False: 13.5k]
  ------------------
 1438|  4.60k|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1438:17): [True: 1.33k, False: 3.27k]
  ------------------
 1439|  1.33k|    {
 1440|  1.33k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  1.33k|    do {                                                \
  |  |   46|  1.33k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  1.33k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  1.33k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  1.33k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  1.33k|        const from_type *_unrolled_end =                \
  |  |   51|  1.33k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  1.33k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  6.77k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 5.44k, False: 1.33k]
  |  |  ------------------
  |  |   53|  5.44k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  5.44k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  5.44k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  5.44k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  5.44k|            _iter += 4; _to += 4;                       \
  |  |   58|  5.44k|        }                                               \
  |  |   59|  2.67k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 1.34k, False: 1.33k]
  |  |  ------------------
  |  |   60|  1.34k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  1.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
 1441|  1.33k|            Py_UCS1, Py_UCS2,
 1442|  1.33k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1443|  1.33k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1444|  1.33k|            PyUnicode_2BYTE_DATA(to) + to_start
 1445|  1.33k|            );
 1446|  1.33k|    }
 1447|  16.8k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1447:14): [True: 3.27k, False: 13.5k]
  ------------------
 1448|  3.27k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1448:17): [True: 3.27k, False: 0]
  ------------------
 1449|  3.27k|    {
 1450|  3.27k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  3.27k|    do {                                                \
  |  |   46|  3.27k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  3.27k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  3.27k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  3.27k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  3.27k|        const from_type *_unrolled_end =                \
  |  |   51|  3.27k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  3.27k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  3.27k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 3.27k]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|  6.54k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 3.27k, False: 3.27k]
  |  |  ------------------
  |  |   60|  3.27k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  3.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 3.27k]
  |  |  ------------------
  ------------------
 1451|  3.27k|            Py_UCS1, Py_UCS4,
 1452|  3.27k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1453|  3.27k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1454|  3.27k|            PyUnicode_4BYTE_DATA(to) + to_start
 1455|  3.27k|            );
 1456|  3.27k|    }
 1457|  13.5k|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1457:14): [True: 13.5k, False: 0]
  ------------------
 1458|  13.5k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1458:17): [True: 13.5k, False: 0]
  ------------------
 1459|  13.5k|    {
 1460|  13.5k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  13.5k|    do {                                                \
  |  |   46|  13.5k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  13.5k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  13.5k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  13.5k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  13.5k|        const from_type *_unrolled_end =                \
  |  |   51|  13.5k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  13.5k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  13.5k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 13.5k]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|  27.0k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 13.5k, False: 13.5k]
  |  |  ------------------
  |  |   60|  13.5k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  13.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 13.5k]
  |  |  ------------------
  ------------------
 1461|  13.5k|            Py_UCS2, Py_UCS4,
 1462|  13.5k|            PyUnicode_2BYTE_DATA(from) + from_start,
 1463|  13.5k|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1464|  13.5k|            PyUnicode_4BYTE_DATA(to) + to_start
 1465|  13.5k|            );
 1466|  13.5k|    }
 1467|      0|    else {
 1468|      0|        assert (PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to));
 1469|       |
 1470|      0|        if (!check_maxchar) {
  ------------------
  |  Branch (1470:13): [True: 0, False: 0]
  ------------------
 1471|      0|            if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1471:17): [True: 0, False: 0]
  ------------------
 1472|      0|                && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1472:20): [True: 0, False: 0]
  ------------------
 1473|      0|            {
 1474|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1475|      0|                    Py_UCS2, Py_UCS1,
 1476|      0|                    PyUnicode_2BYTE_DATA(from) + from_start,
 1477|      0|                    PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1478|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1479|      0|                    );
 1480|      0|            }
 1481|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1481:22): [True: 0, False: 0]
  ------------------
 1482|      0|                     && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1482:25): [True: 0, False: 0]
  ------------------
 1483|      0|            {
 1484|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1485|      0|                    Py_UCS4, Py_UCS1,
 1486|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1487|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1488|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1489|      0|                    );
 1490|      0|            }
 1491|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1491:22): [True: 0, False: 0]
  ------------------
 1492|      0|                     && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1492:25): [True: 0, False: 0]
  ------------------
 1493|      0|            {
 1494|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1495|      0|                    Py_UCS4, Py_UCS2,
 1496|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1497|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1498|      0|                    PyUnicode_2BYTE_DATA(to) + to_start
 1499|      0|                    );
 1500|      0|            }
 1501|      0|            else {
 1502|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1503|      0|            }
 1504|      0|        }
 1505|      0|        else {
 1506|      0|            const Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      0|            Py_UCS4 ch;
 1508|      0|            Py_ssize_t i;
 1509|       |
 1510|      0|            for (i=0; i < how_many; i++) {
  ------------------
  |  Branch (1510:23): [True: 0, False: 0]
  ------------------
 1511|      0|                ch = PyUnicode_READ(from_kind, from_data, from_start + i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 1512|      0|                if (ch > to_maxchar)
  ------------------
  |  Branch (1512:21): [True: 0, False: 0]
  ------------------
 1513|      0|                    return -1;
 1514|      0|                PyUnicode_WRITE(to_kind, to_data, to_start + i, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1515|      0|            }
 1516|      0|        }
 1517|      0|    }
 1518|  4.78M|    return 0;
 1519|  4.78M|}
unicodeobject.c:unicode_resize:
 1753|    799|{
 1754|    799|    PyObject *unicode;
 1755|    799|    Py_ssize_t old_length;
 1756|       |
 1757|    799|    assert(p_unicode != NULL);
 1758|    799|    unicode = *p_unicode;
 1759|       |
 1760|    799|    assert(unicode != NULL);
 1761|    799|    assert(PyUnicode_Check(unicode));
 1762|    799|    assert(0 <= length);
 1763|       |
 1764|    799|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    799|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|    799|    if (old_length == length)
  ------------------
  |  Branch (1765:9): [True: 0, False: 799]
  ------------------
 1766|      0|        return 0;
 1767|       |
 1768|    799|    if (length == 0) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 799]
  ------------------
 1769|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1770|      0|        Py_SETREF(*p_unicode, empty);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1771|      0|        return 0;
 1772|      0|    }
 1773|       |
 1774|    799|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1774:9): [True: 0, False: 799]
  ------------------
 1775|      0|        PyObject *copy = resize_copy(unicode, length);
 1776|      0|        if (copy == NULL)
  ------------------
  |  Branch (1776:13): [True: 0, False: 0]
  ------------------
 1777|      0|            return -1;
 1778|      0|        Py_SETREF(*p_unicode, copy);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1779|      0|        return 0;
 1780|      0|    }
 1781|       |
 1782|    799|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  234|    799|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 799, False: 0]
  |  |  ------------------
  ------------------
 1783|    799|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1784|    799|        if (new_unicode == NULL)
  ------------------
  |  Branch (1784:13): [True: 0, False: 799]
  ------------------
 1785|      0|            return -1;
 1786|    799|        *p_unicode = new_unicode;
 1787|    799|        return 0;
 1788|    799|    }
 1789|      0|    return resize_inplace(unicode, length);
 1790|    799|}
unicodeobject.c:get_latin1_char:
 1811|  6.78M|{
 1812|  6.78M|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  184|  6.78M|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  923|  6.78M|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (923:6): [True: 6.77M, False: 4.36k]
  |  |  |  |  ------------------
  |  |  |  |  924|  6.78M|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  6.77M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  6.77M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  925|  6.78M|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.36k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.36k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1813|  6.78M|    return o;
 1814|  6.78M|}
unicodeobject.c:find_maxchar_surrogates:
 1588|  55.1k|{
 1589|  55.1k|    const wchar_t *iter;
 1590|  55.1k|    Py_UCS4 ch;
 1591|       |
 1592|  55.1k|    assert(num_surrogates != NULL && maxchar != NULL);
 1593|  55.1k|    *num_surrogates = 0;
 1594|  55.1k|    *maxchar = 0;
 1595|       |
 1596|  1.47M|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1596:24): [True: 1.41M, False: 55.1k]
  ------------------
 1597|       |#if SIZEOF_WCHAR_T == 2
 1598|       |        if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1599|       |            && (iter+1) < end
 1600|       |            && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1601|       |        {
 1602|       |            ch = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1603|       |            ++(*num_surrogates);
 1604|       |            iter += 2;
 1605|       |        }
 1606|       |        else
 1607|       |#endif
 1608|  1.41M|        {
 1609|  1.41M|            ch = *iter;
 1610|  1.41M|            iter++;
 1611|  1.41M|        }
 1612|  1.41M|        if (ch > *maxchar) {
  ------------------
  |  Branch (1612:13): [True: 273k, False: 1.14M]
  ------------------
 1613|   273k|            *maxchar = ch;
 1614|   273k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  104|   273k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|   273k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1614:17): [True: 0, False: 273k]
  ------------------
 1615|      0|                PyErr_Format(PyExc_ValueError,
 1616|      0|                             "character U+%x is not in range [U+0000; U+%x]",
 1617|      0|                             ch, MAX_UNICODE);
  ------------------
  |  |  104|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 1618|      0|                return -1;
 1619|      0|            }
 1620|   273k|        }
 1621|  1.41M|    }
 1622|  55.1k|    return 0;
 1623|  55.1k|}
unicodeobject.c:unicode_write_widechar:
 1847|  55.1k|{
 1848|  55.1k|    switch (kind) {
 1849|  55.1k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1849:5): [True: 55.1k, False: 0]
  ------------------
 1850|  55.1k|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   45|  55.1k|    do {                                                \
  |  |   46|  55.1k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  55.1k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  55.1k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  55.1k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  55.1k|        const from_type *_unrolled_end =                \
  |  |   51|  55.1k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  55.1k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   395k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 340k, False: 55.1k]
  |  |  ------------------
  |  |   53|   340k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|   340k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|   340k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|   340k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|   340k|            _iter += 4; _to += 4;                       \
  |  |   58|   340k|        }                                               \
  |  |   59|   110k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 55.4k, False: 55.1k]
  |  |  ------------------
  |  |   60|  55.4k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  55.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 55.1k]
  |  |  ------------------
  ------------------
 1851|  55.1k|        break;
 1852|       |
 1853|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1853:5): [True: 0, False: 55.1k]
  ------------------
 1854|       |#if SIZEOF_WCHAR_T == 2
 1855|       |        memcpy(data, u, size * 2);
 1856|       |#else
 1857|      0|        _PyUnicode_CONVERT_BYTES(wchar_t, Py_UCS2, u, u + size, data);
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1858|      0|#endif
 1859|      0|        break;
 1860|       |
 1861|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1861:5): [True: 0, False: 55.1k]
  ------------------
 1862|      0|    {
 1863|       |#if SIZEOF_WCHAR_T == 2
 1864|       |        // Convert a 16-bits wchar_t representation to UCS4, this will decode
 1865|       |        // surrogate pairs.
 1866|       |        const wchar_t *end = u + size;
 1867|       |        Py_UCS4 *ucs4_out = (Py_UCS4*)data;
 1868|       |#  ifndef NDEBUG
 1869|       |        Py_UCS4 *ucs4_end = (Py_UCS4*)data + (size - num_surrogates);
 1870|       |#  endif
 1871|       |        for (const wchar_t *iter = u; iter < end; ) {
 1872|       |            assert(ucs4_out < ucs4_end);
 1873|       |            if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1874|       |                && (iter+1) < end
 1875|       |                && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1876|       |            {
 1877|       |                *ucs4_out++ = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1878|       |                iter += 2;
 1879|       |            }
 1880|       |            else {
 1881|       |                *ucs4_out++ = *iter;
 1882|       |                iter++;
 1883|       |            }
 1884|       |        }
 1885|       |        assert(ucs4_out == ucs4_end);
 1886|       |#else
 1887|      0|        assert(num_surrogates == 0);
 1888|      0|        memcpy(data, u, size * 4);
 1889|      0|#endif
 1890|      0|        break;
 1891|      0|    }
 1892|      0|    default:
  ------------------
  |  Branch (1892:5): [True: 0, False: 55.1k]
  ------------------
 1893|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1894|  55.1k|    }
 1895|  55.1k|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2157|   130k|{
 2158|   130k|    PyObject *res;
 2159|   130k|    unsigned char max_char;
 2160|       |
 2161|   130k|    if (size == 0) {
  ------------------
  |  Branch (2161:9): [True: 178, False: 130k]
  ------------------
 2162|    178|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|    178|    do {                             \
  |  |  376|    178|        return _PyUnicode_GetEmpty();\
  |  |  377|    178|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2163|    178|    }
 2164|   130k|    assert(size > 0);
 2165|   130k|    if (size == 1) {
  ------------------
  |  Branch (2165:9): [True: 4.16k, False: 125k]
  ------------------
 2166|  4.16k|        return get_latin1_char(u[0]);
 2167|  4.16k|    }
 2168|       |
 2169|   125k|    max_char = ucs1lib_find_max_char(u, u + size);
 2170|   125k|    res = PyUnicode_New(size, max_char);
 2171|   125k|    if (!res)
  ------------------
  |  Branch (2171:9): [True: 0, False: 125k]
  ------------------
 2172|      0|        return NULL;
 2173|   125k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  291|   125k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2174|       |    assert(_PyUnicode_CheckConsistency(res, 1));
 2175|   125k|    return res;
 2176|   125k|}
unicodeobject.c:_PyUnicode_FromUCS2:
 2180|    356|{
 2181|    356|    PyObject *res;
 2182|    356|    Py_UCS2 max_char;
 2183|       |
 2184|    356|    if (size == 0)
  ------------------
  |  Branch (2184:9): [True: 0, False: 356]
  ------------------
 2185|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2186|    356|    assert(size > 0);
 2187|    356|    if (size == 1)
  ------------------
  |  Branch (2187:9): [True: 32, False: 324]
  ------------------
 2188|     32|        return unicode_char(u[0]);
 2189|       |
 2190|    324|    max_char = ucs2lib_find_max_char(u, u + size);
 2191|    324|    res = PyUnicode_New(size, max_char);
 2192|    324|    if (!res)
  ------------------
  |  Branch (2192:9): [True: 0, False: 324]
  ------------------
 2193|      0|        return NULL;
 2194|    324|    if (max_char >= 256)
  ------------------
  |  Branch (2194:9): [True: 2, False: 322]
  ------------------
 2195|      2|        memcpy(PyUnicode_2BYTE_DATA(res), u, sizeof(Py_UCS2)*size);
  ------------------
  |  |  292|      2|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2196|    322|    else {
 2197|    322|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|    322|    do {                                                \
  |  |   46|    322|        to_type *_to = (to_type *)(to);                 \
  |  |   47|    322|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|    322|        const from_type *_end = (const from_type *)(end);\
  |  |   49|    322|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|    322|        const from_type *_unrolled_end =                \
  |  |   51|    322|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    322|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  4.22k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 3.90k, False: 322]
  |  |  ------------------
  |  |   53|  3.90k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  3.90k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  3.90k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  3.90k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  3.90k|            _iter += 4; _to += 4;                       \
  |  |   58|  3.90k|        }                                               \
  |  |   59|    894|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 572, False: 322]
  |  |  ------------------
  |  |   60|    572|            *_to++ = (to_type) *_iter++;                \
  |  |   61|    322|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 322]
  |  |  ------------------
  ------------------
 2198|    322|            Py_UCS2, Py_UCS1, u, u + size, PyUnicode_1BYTE_DATA(res));
 2199|    322|    }
 2200|       |    assert(_PyUnicode_CheckConsistency(res, 1));
 2201|    324|    return res;
 2202|    324|}
unicodeobject.c:_PyUnicode_FromUCS4:
 2206|     32|{
 2207|     32|    PyObject *res;
 2208|     32|    Py_UCS4 max_char;
 2209|       |
 2210|     32|    if (size == 0)
  ------------------
  |  Branch (2210:9): [True: 0, False: 32]
  ------------------
 2211|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2212|     32|    assert(size > 0);
 2213|     32|    if (size == 1)
  ------------------
  |  Branch (2213:9): [True: 0, False: 32]
  ------------------
 2214|      0|        return unicode_char(u[0]);
 2215|       |
 2216|     32|    max_char = ucs4lib_find_max_char(u, u + size);
 2217|     32|    res = PyUnicode_New(size, max_char);
 2218|     32|    if (!res)
  ------------------
  |  Branch (2218:9): [True: 0, False: 32]
  ------------------
 2219|      0|        return NULL;
 2220|     32|    if (max_char < 256)
  ------------------
  |  Branch (2220:9): [True: 32, False: 0]
  ------------------
 2221|     32|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, u, u + size,
  ------------------
  |  |   45|     32|    do {                                                \
  |  |   46|     32|        to_type *_to = (to_type *)(to);                 \
  |  |   47|     32|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|     32|        const from_type *_end = (const from_type *)(end);\
  |  |   49|     32|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|     32|        const from_type *_unrolled_end =                \
  |  |   51|     32|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|     32|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|    356|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 324, False: 32]
  |  |  ------------------
  |  |   53|    324|            _to[0] = (to_type) _iter[0];                \
  |  |   54|    324|            _to[1] = (to_type) _iter[1];                \
  |  |   55|    324|            _to[2] = (to_type) _iter[2];                \
  |  |   56|    324|            _to[3] = (to_type) _iter[3];                \
  |  |   57|    324|            _iter += 4; _to += 4;                       \
  |  |   58|    324|        }                                               \
  |  |   59|     96|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 64, False: 32]
  |  |  ------------------
  |  |   60|     64|            *_to++ = (to_type) *_iter++;                \
  |  |   61|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2222|     32|                                 PyUnicode_1BYTE_DATA(res));
 2223|      0|    else if (max_char < 0x10000)
  ------------------
  |  Branch (2223:14): [True: 0, False: 0]
  ------------------
 2224|      0|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, u, u + size,
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2225|      0|                                 PyUnicode_2BYTE_DATA(res));
 2226|      0|    else
 2227|      0|        memcpy(PyUnicode_4BYTE_DATA(res), u, sizeof(Py_UCS4)*size);
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2228|       |    assert(_PyUnicode_CheckConsistency(res, 1));
 2229|     32|    return res;
 2230|     32|}
unicodeobject.c:as_ucs4:
 2452|      2|{
 2453|      2|    int kind;
 2454|      2|    const void *data;
 2455|      2|    Py_ssize_t len, targetlen;
 2456|      2|    kind = PyUnicode_KIND(string);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2457|      2|    data = PyUnicode_DATA(string);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2458|      2|    len = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2459|      2|    targetlen = len;
 2460|      2|    if (copy_null)
  ------------------
  |  Branch (2460:9): [True: 0, False: 2]
  ------------------
 2461|      0|        targetlen++;
 2462|      2|    if (!target) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 2]
  ------------------
 2463|      0|        target = PyMem_New(Py_UCS4, targetlen);
  ------------------
  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2464|      0|        if (!target) {
  ------------------
  |  Branch (2464:13): [True: 0, False: 0]
  ------------------
 2465|      0|            PyErr_NoMemory();
 2466|      0|            return NULL;
 2467|      0|        }
 2468|      0|    }
 2469|      2|    else {
 2470|      2|        if (targetsize < targetlen) {
  ------------------
  |  Branch (2470:13): [True: 0, False: 2]
  ------------------
 2471|      0|            PyErr_Format(PyExc_SystemError,
 2472|      0|                         "string is longer than the buffer");
 2473|      0|            if (copy_null && 0 < targetsize)
  ------------------
  |  Branch (2473:17): [True: 0, False: 0]
  |  Branch (2473:30): [True: 0, False: 0]
  ------------------
 2474|      0|                target[0] = 0;
 2475|      0|            return NULL;
 2476|      0|        }
 2477|      2|    }
 2478|      2|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2478:9): [True: 2, False: 0]
  ------------------
 2479|      2|        const Py_UCS1 *start = (const Py_UCS1 *) data;
 2480|      2|        _PyUnicode_CONVERT_BYTES(Py_UCS1, Py_UCS4, start, start + len, target);
  ------------------
  |  |   45|      2|    do {                                                \
  |  |   46|      2|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      2|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      2|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      2|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      2|        const from_type *_unrolled_end =                \
  |  |   51|      2|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      2|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|    342|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 340, False: 2]
  |  |  ------------------
  |  |   53|    340|            _to[0] = (to_type) _iter[0];                \
  |  |   54|    340|            _to[1] = (to_type) _iter[1];                \
  |  |   55|    340|            _to[2] = (to_type) _iter[2];                \
  |  |   56|    340|            _to[3] = (to_type) _iter[3];                \
  |  |   57|    340|            _iter += 4; _to += 4;                       \
  |  |   58|    340|        }                                               \
  |  |   59|      2|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 2]
  |  |  ------------------
  |  |   60|      2|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2481|      2|    }
 2482|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2482:14): [True: 0, False: 0]
  ------------------
 2483|      0|        const Py_UCS2 *start = (const Py_UCS2 *) data;
 2484|      0|        _PyUnicode_CONVERT_BYTES(Py_UCS2, Py_UCS4, start, start + len, target);
  ------------------
  |  |   45|      0|    do {                                                \
  |  |   46|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   47|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   49|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|      0|        const from_type *_unrolled_end =                \
  |  |   51|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   54|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   55|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   56|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   57|      0|            _iter += 4; _to += 4;                       \
  |  |   58|      0|        }                                               \
  |  |   59|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2485|      0|    }
 2486|      0|    else if (kind == PyUnicode_4BYTE_KIND) {
  ------------------
  |  Branch (2486:14): [True: 0, False: 0]
  ------------------
 2487|      0|        memcpy(target, data, len * sizeof(Py_UCS4));
 2488|      0|    }
 2489|      0|    else {
 2490|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2491|      0|    }
 2492|      2|    if (copy_null)
  ------------------
  |  Branch (2492:9): [True: 0, False: 2]
  ------------------
 2493|      0|        target[len] = 0;
 2494|      2|    return target;
 2495|      2|}
unicodeobject.c:unicode_from_format:
 3057|  1.35M|{
 3058|  1.35M|    Py_ssize_t len = strlen(format);
 3059|  1.35M|    writer->min_length += len + 100;
 3060|  1.35M|    writer->overallocate = 1;
 3061|       |
 3062|       |    // Copy varags to be able to pass a reference to a subfunction.
 3063|  1.35M|    va_list vargs2;
 3064|  1.35M|    va_copy(vargs2, vargs);
 3065|       |
 3066|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3067|       |    // to be encoded to ASCII.
 3068|  1.35M|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3069|  1.35M|    if (!is_ascii) {
  ------------------
  |  Branch (3069:9): [True: 0, False: 1.35M]
  ------------------
 3070|      0|        Py_ssize_t i;
 3071|      0|        for (i=0; i < len && (unsigned char)format[i] <= 127; i++);
  ------------------
  |  Branch (3071:19): [True: 0, False: 0]
  |  Branch (3071:30): [True: 0, False: 0]
  ------------------
 3072|      0|        PyErr_Format(PyExc_ValueError,
 3073|      0|            "PyUnicode_FromFormatV() expects an ASCII-encoded format "
 3074|      0|            "string, got a non-ASCII byte: 0x%02x",
 3075|      0|            (unsigned char)format[i]);
 3076|      0|        goto fail;
 3077|      0|    }
 3078|       |
 3079|  7.89M|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3079:34): [True: 6.53M, False: 1.35M]
  ------------------
 3080|  6.53M|        if (*f == '%') {
  ------------------
  |  Branch (3080:13): [True: 2.62M, False: 3.90M]
  ------------------
 3081|  2.62M|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3082|  2.62M|            if (f == NULL)
  ------------------
  |  Branch (3082:17): [True: 0, False: 2.62M]
  ------------------
 3083|      0|                goto fail;
 3084|  2.62M|        }
 3085|  3.90M|        else {
 3086|  3.90M|            const char *p = strchr(f, '%');
 3087|  3.90M|            if (p != NULL) {
  ------------------
  |  Branch (3087:17): [True: 2.56M, False: 1.33M]
  ------------------
 3088|  2.56M|                len = p - f;
 3089|  2.56M|            }
 3090|  1.33M|            else {
 3091|  1.33M|                len = strlen(f);
 3092|  1.33M|                writer->overallocate = 0;
 3093|  1.33M|            }
 3094|       |
 3095|  3.90M|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3095:17): [True: 0, False: 3.90M]
  ------------------
 3096|      0|                goto fail;
 3097|      0|            }
 3098|  3.90M|            f += len;
 3099|  3.90M|        }
 3100|  6.53M|    }
 3101|  1.35M|    va_end(vargs2);
 3102|  1.35M|    return 0;
 3103|       |
 3104|      0|  fail:
 3105|       |    va_end(vargs2);
 3106|      0|    return -1;
 3107|  1.35M|}
unicodeobject.c:unicode_fromformat_arg:
 2643|  2.62M|{
 2644|  2.62M|    const char *p;
 2645|  2.62M|    Py_ssize_t len;
 2646|  2.62M|    int flags = 0;
 2647|  2.62M|    Py_ssize_t width;
 2648|  2.62M|    Py_ssize_t precision;
 2649|       |
 2650|  2.62M|    p = f;
 2651|  2.62M|    f++;
 2652|  2.62M|    if (*f == '%') {
  ------------------
  |  Branch (2652:9): [True: 0, False: 2.62M]
  ------------------
 2653|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, '%') < 0)
  ------------------
  |  Branch (2653:13): [True: 0, False: 0]
  ------------------
 2654|      0|            return NULL;
 2655|      0|        f++;
 2656|      0|        return f;
 2657|      0|    }
 2658|       |
 2659|       |    /* Parse flags. Example: "%-i" => flags=F_LJUST. */
 2660|       |    /* Flags '+', ' ' and '#' are not particularly useful.
 2661|       |     * They are not worth the implementation and maintenance costs.
 2662|       |     * In addition, '#' should add "0" for "o" conversions for compatibility
 2663|       |     * with printf, but it would confuse Python users. */
 2664|  2.62M|    while (1) {
  ------------------
  |  Branch (2664:12): [True: 2.62M, Folded]
  ------------------
 2665|  2.62M|        switch (*f++) {
  ------------------
  |  Branch (2665:17): [True: 0, False: 2.62M]
  ------------------
 2666|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2666:9): [True: 0, False: 2.62M]
  ------------------
 2667|      0|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2667:9): [True: 0, False: 2.62M]
  ------------------
 2668|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2668:9): [True: 0, False: 2.62M]
  ------------------
 2669|  2.62M|        }
 2670|  2.62M|        f--;
 2671|  2.62M|        break;
 2672|  2.62M|    }
 2673|       |
 2674|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2675|  2.62M|    width = -1;
 2676|  2.62M|    if (*f == '*') {
  ------------------
  |  Branch (2676:9): [True: 0, False: 2.62M]
  ------------------
 2677|      0|        width = va_arg(*vargs, int);
 2678|      0|        if (width < 0) {
  ------------------
  |  Branch (2678:13): [True: 0, False: 0]
  ------------------
 2679|      0|            flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
 2680|      0|            width = -width;
 2681|      0|        }
 2682|      0|        f++;
 2683|      0|    }
 2684|  2.62M|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  2.62M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  2.62M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  2.62M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 2.62M]
  |  |  ------------------
  ------------------
 2685|      0|        width = *f - '0';
 2686|      0|        f++;
 2687|      0|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2688|      0|            if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2688:17): [True: 0, False: 0]
  ------------------
 2689|      0|                PyErr_SetString(PyExc_ValueError,
 2690|      0|                                "width too big");
 2691|      0|                return NULL;
 2692|      0|            }
 2693|      0|            width = (width * 10) + (*f - '0');
 2694|      0|            f++;
 2695|      0|        }
 2696|      0|    }
 2697|  2.62M|    precision = -1;
 2698|  2.62M|    if (*f == '.') {
  ------------------
  |  Branch (2698:9): [True: 1.26M, False: 1.36M]
  ------------------
 2699|  1.26M|        f++;
 2700|  1.26M|        if (*f == '*') {
  ------------------
  |  Branch (2700:13): [True: 0, False: 1.26M]
  ------------------
 2701|      0|            precision = va_arg(*vargs, int);
 2702|      0|            if (precision < 0) {
  ------------------
  |  Branch (2702:17): [True: 0, False: 0]
  ------------------
 2703|      0|                precision = -2;
 2704|      0|            }
 2705|      0|            f++;
 2706|      0|        }
 2707|  1.26M|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  1.26M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  1.26M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.26M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1.26M, False: 0]
  |  |  ------------------
  ------------------
 2708|  1.26M|            precision = (*f - '0');
 2709|  1.26M|            f++;
 2710|  3.79M|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  3.79M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  3.79M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  3.79M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.52M, False: 1.26M]
  |  |  ------------------
  ------------------
 2711|  2.52M|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|  2.52M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2711:21): [True: 0, False: 2.52M]
  ------------------
 2712|      0|                    PyErr_SetString(PyExc_ValueError,
 2713|      0|                                    "precision too big");
 2714|      0|                    return NULL;
 2715|      0|                }
 2716|  2.52M|                precision = (precision * 10) + (*f - '0');
 2717|  2.52M|                f++;
 2718|  2.52M|            }
 2719|  1.26M|        }
 2720|  1.26M|    }
 2721|       |
 2722|  2.62M|    int sizemod = 0;
 2723|  2.62M|    if (*f == 'l') {
  ------------------
  |  Branch (2723:9): [True: 0, False: 2.62M]
  ------------------
 2724|      0|        if (f[1] == 'l') {
  ------------------
  |  Branch (2724:13): [True: 0, False: 0]
  ------------------
 2725|      0|            sizemod = F_LONGLONG;
  ------------------
  |  | 2635|      0|#define F_LONGLONG 2
  ------------------
 2726|      0|            f += 2;
 2727|      0|        }
 2728|      0|        else {
 2729|      0|            sizemod = F_LONG;
  ------------------
  |  | 2634|      0|#define F_LONG 1
  ------------------
 2730|      0|            ++f;
 2731|      0|        }
 2732|      0|    }
 2733|  2.62M|    else if (*f == 'z') {
  ------------------
  |  Branch (2733:14): [True: 0, False: 2.62M]
  ------------------
 2734|      0|        sizemod = F_SIZE;
  ------------------
  |  | 2636|      0|#define F_SIZE 3
  ------------------
 2735|      0|        ++f;
 2736|      0|    }
 2737|  2.62M|    else if (*f == 't') {
  ------------------
  |  Branch (2737:14): [True: 0, False: 2.62M]
  ------------------
 2738|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2637|      0|#define F_PTRDIFF 4
  ------------------
 2739|      0|        ++f;
 2740|      0|    }
 2741|  2.62M|    else if (*f == 'j') {
  ------------------
  |  Branch (2741:14): [True: 0, False: 2.62M]
  ------------------
 2742|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2638|      0|#define F_INTMAX 5
  ------------------
 2743|      0|        ++f;
 2744|      0|    }
 2745|  2.62M|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2745:9): [True: 2.62M, False: 0]
  |  Branch (2745:25): [True: 20.6k, False: 2.60M]
  ------------------
 2746|  20.6k|        writer->overallocate = 0;
 2747|       |
 2748|  2.62M|    switch (*f) {
 2749|      1|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2749:5): [True: 1, False: 2.62M]
  |  Branch (2749:15): [True: 0, False: 2.62M]
  |  Branch (2749:25): [True: 0, False: 2.62M]
  |  Branch (2749:35): [True: 0, False: 2.62M]
  |  Branch (2749:45): [True: 0, False: 2.62M]
  |  Branch (2749:55): [True: 0, False: 2.62M]
  ------------------
 2750|      1|        break;
 2751|  20.2k|    case 'c': case 'p':
  ------------------
  |  Branch (2751:5): [True: 20.2k, False: 2.60M]
  |  Branch (2751:15): [True: 1, False: 2.62M]
  ------------------
 2752|  20.2k|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2752:13): [True: 0, False: 20.2k]
  |  Branch (2752:24): [True: 0, False: 20.2k]
  |  Branch (2752:38): [True: 0, False: 20.2k]
  ------------------
 2753|  20.2k|        break;
 2754|  1.28M|    case 's':
  ------------------
  |  Branch (2754:5): [True: 1.28M, False: 1.34M]
  ------------------
 2755|  1.28M|    case 'V':
  ------------------
  |  Branch (2755:5): [True: 0, False: 2.62M]
  ------------------
 2756|  1.28M|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2634|      0|#define F_LONG 1
  ------------------
  |  Branch (2756:13): [True: 0, False: 1.28M]
  |  Branch (2756:24): [True: 0, False: 0]
  ------------------
 2757|  1.28M|        break;
 2758|  1.32M|    default:
  ------------------
  |  Branch (2758:5): [True: 1.32M, False: 1.30M]
  ------------------
 2759|  1.32M|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2759:13): [True: 0, False: 1.32M]
  ------------------
 2760|  1.32M|        break;
 2761|  2.62M|    }
 2762|       |
 2763|  2.62M|    switch (*f) {
 2764|  20.2k|    case 'c':
  ------------------
  |  Branch (2764:5): [True: 20.2k, False: 2.60M]
  ------------------
 2765|  20.2k|    {
 2766|  20.2k|        int ordinal = va_arg(*vargs, int);
 2767|  20.2k|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  104|  20.2k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  20.2k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2767:13): [True: 0, False: 20.2k]
  |  Branch (2767:28): [True: 0, False: 20.2k]
  ------------------
 2768|      0|            PyErr_SetString(PyExc_OverflowError,
 2769|      0|                            "character argument not in range(0x110000)");
 2770|      0|            return NULL;
 2771|      0|        }
 2772|  20.2k|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2772:13): [True: 0, False: 20.2k]
  ------------------
 2773|      0|            return NULL;
 2774|  20.2k|        break;
 2775|  20.2k|    }
 2776|       |
 2777|  20.2k|    case 'd': case 'i':
  ------------------
  |  Branch (2777:5): [True: 1, False: 2.62M]
  |  Branch (2777:15): [True: 0, False: 2.62M]
  ------------------
 2778|      1|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2778:5): [True: 0, False: 2.62M]
  |  Branch (2778:15): [True: 0, False: 2.62M]
  |  Branch (2778:25): [True: 0, False: 2.62M]
  |  Branch (2778:35): [True: 0, False: 2.62M]
  ------------------
 2779|      1|    {
 2780|      1|        char buffer[MAX_INTMAX_CHARS];
 2781|       |
 2782|       |        // Fill buffer using sprinf, with one of many possible format
 2783|       |        // strings, like "%llX" for `long long` in hexadecimal.
 2784|       |        // The type/size is in `sizemod`; the format is in `*f`.
 2785|       |
 2786|       |        // Use macros with nested switches to keep the sprintf format strings
 2787|       |        // as compile-time literals, avoiding warnings and maybe allowing
 2788|       |        // optimizations.
 2789|       |
 2790|       |        // `SPRINT` macro does one sprintf
 2791|       |        // Example usage: SPRINT("l", "X", unsigned long) expands to
 2792|       |        // sprintf(buffer, "%" "l" "X", va_arg(*vargs, unsigned long))
 2793|      1|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2794|      1|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2795|       |
 2796|       |        // One inner switch to handle all format variants
 2797|      1|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2798|      1|            switch (*f) {                                                     \
 2799|      1|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2800|      1|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2801|      1|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2802|      1|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2803|      1|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2804|      1|            }
 2805|       |
 2806|       |        // Outer switch to handle all the sizes/types
 2807|      1|        switch (sizemod) {
 2808|      0|            case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2634|      0|#define F_LONG 1
  ------------------
                          case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2798|      0|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2803|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|            }
  ------------------
  |  Branch (2808:13): [True: 0, False: 1]
  ------------------
 2809|      0|            case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2635|      0|#define F_LONGLONG 2
  ------------------
                          case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2798|      0|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2803|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|            }
  ------------------
  |  Branch (2809:13): [True: 0, False: 1]
  ------------------
 2810|      0|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2636|      0|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2798|      0|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2803|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|            }
  ------------------
  |  Branch (2810:13): [True: 0, False: 1]
  ------------------
 2811|      0|            case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2637|      0|#define F_PTRDIFF 4
  ------------------
                          case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2798|      0|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2803|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|            }
  ------------------
  |  Branch (2811:13): [True: 0, False: 1]
  ------------------
 2812|      0|            case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2638|      0|#define F_INTMAX 5
  ------------------
                          case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2798|      0|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2803|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|            }
  ------------------
  |  Branch (2812:13): [True: 0, False: 1]
  ------------------
 2813|      1|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2798|      1|            switch (*f) {                                                     \
  |  | 2799|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2799:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2800|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2800:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2801|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2801:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2802|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2794|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2802:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 2803|      1|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|      1|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 1, False: 0]
  |  |  ------------------
  |  | 2804|      1|            }
  ------------------
  |  Branch (2813:13): [True: 1, False: 0]
  ------------------
 2814|      1|        }
 2815|      1|        #undef SPRINT
 2816|      1|        #undef DO_SPRINTS
 2817|       |
 2818|      1|        assert(len >= 0);
 2819|       |
 2820|      1|        int sign = (buffer[0] == '-');
 2821|      1|        len -= sign;
 2822|       |
 2823|      1|        precision = Py_MAX(precision, len);
  ------------------
  |  |  115|      1|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 2824|      1|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  115|      1|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 2825|      1|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|      1|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2825:13): [True: 0, False: 1]
  |  Branch (2825:33): [True: 0, False: 0]
  ------------------
 2826|      0|            precision = width - sign;
 2827|      0|        }
 2828|       |
 2829|      1|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  115|      1|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 2830|      1|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  115|      1|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 2831|       |
 2832|      1|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1)
  ------------------
  |  |  562|      1|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 1, False: 0]
  |  |  ------------------
  |  |  563|      1|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 1, False: 0]
  |  |  ------------------
  |  |  564|      1|     ? 0                                                              \
  |  |  565|      1|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2832:13): [True: 0, False: 1]
  ------------------
 2833|      0|            return NULL;
 2834|       |
 2835|      1|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2835:13): [True: 0, False: 1]
  |  Branch (2835:25): [True: 0, False: 0]
  ------------------
 2836|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2836:17): [True: 0, False: 0]
  ------------------
 2837|      0|                return NULL;
 2838|      0|            writer->pos += spacepad;
 2839|      0|        }
 2840|       |
 2841|      1|        if (sign) {
  ------------------
  |  Branch (2841:13): [True: 0, False: 1]
  ------------------
 2842|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2842:17): [True: 0, False: 0]
  ------------------
 2843|      0|                return NULL;
 2844|      0|        }
 2845|       |
 2846|      1|        if (zeropad) {
  ------------------
  |  Branch (2846:13): [True: 0, False: 1]
  ------------------
 2847|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2847:17): [True: 0, False: 0]
  ------------------
 2848|      0|                return NULL;
 2849|      0|            writer->pos += zeropad;
 2850|      0|        }
 2851|       |
 2852|      1|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2852:13): [True: 0, False: 1]
  ------------------
 2853|      0|            return NULL;
 2854|       |
 2855|      1|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2855:13): [True: 0, False: 1]
  |  Branch (2855:25): [True: 0, False: 0]
  ------------------
 2856|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2856:17): [True: 0, False: 0]
  ------------------
 2857|      0|                return NULL;
 2858|      0|            writer->pos += spacepad;
 2859|      0|        }
 2860|      1|        break;
 2861|      1|    }
 2862|       |
 2863|      1|    case 'p':
  ------------------
  |  Branch (2863:5): [True: 1, False: 2.62M]
  ------------------
 2864|      1|    {
 2865|      1|        char number[MAX_INTMAX_CHARS];
 2866|       |
 2867|      1|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2868|      1|        assert(len >= 0);
 2869|       |
 2870|       |        /* %p is ill-defined:  ensure leading 0x. */
 2871|      1|        if (number[1] == 'X')
  ------------------
  |  Branch (2871:13): [True: 0, False: 1]
  ------------------
 2872|      0|            number[1] = 'x';
 2873|      1|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2873:18): [True: 0, False: 1]
  ------------------
 2874|      0|            memmove(number + 2, number,
 2875|      0|                    strlen(number) + 1);
 2876|      0|            number[0] = '0';
 2877|      0|            number[1] = 'x';
 2878|      0|            len += 2;
 2879|      0|        }
 2880|       |
 2881|      1|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2881:13): [True: 0, False: 1]
  ------------------
 2882|      0|            return NULL;
 2883|      1|        break;
 2884|      1|    }
 2885|       |
 2886|  1.28M|    case 's':
  ------------------
  |  Branch (2886:5): [True: 1.28M, False: 1.34M]
  ------------------
 2887|  1.28M|    {
 2888|  1.28M|        if (sizemod) {
  ------------------
  |  Branch (2888:13): [True: 0, False: 1.28M]
  ------------------
 2889|      0|            const wchar_t *s = va_arg(*vargs, const wchar_t*);
 2890|      0|            if (unicode_fromformat_write_wcstr(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2890:17): [True: 0, False: 0]
  ------------------
 2891|      0|                return NULL;
 2892|      0|        }
 2893|  1.28M|        else {
 2894|       |            /* UTF-8 */
 2895|  1.28M|            const char *s = va_arg(*vargs, const char*);
 2896|  1.28M|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2896:17): [True: 0, False: 1.28M]
  ------------------
 2897|      0|                return NULL;
 2898|  1.28M|        }
 2899|  1.28M|        break;
 2900|  1.28M|    }
 2901|       |
 2902|  1.30M|    case 'U':
  ------------------
  |  Branch (2902:5): [True: 1.30M, False: 1.32M]
  ------------------
 2903|  1.30M|    {
 2904|  1.30M|        PyObject *obj = va_arg(*vargs, PyObject *);
 2905|  1.30M|        assert(obj && _PyUnicode_CHECK(obj));
 2906|       |
 2907|  1.30M|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2907:13): [True: 0, False: 1.30M]
  ------------------
 2908|      0|            return NULL;
 2909|  1.30M|        break;
 2910|  1.30M|    }
 2911|       |
 2912|  1.30M|    case 'V':
  ------------------
  |  Branch (2912:5): [True: 0, False: 2.62M]
  ------------------
 2913|      0|    {
 2914|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2915|      0|        const char *str;
 2916|      0|        const wchar_t *wstr;
 2917|      0|        if (sizemod) {
  ------------------
  |  Branch (2917:13): [True: 0, False: 0]
  ------------------
 2918|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2919|      0|        }
 2920|      0|        else {
 2921|      0|            str = va_arg(*vargs, const char *);
 2922|      0|        }
 2923|      0|        if (obj) {
  ------------------
  |  Branch (2923:13): [True: 0, False: 0]
  ------------------
 2924|      0|            assert(_PyUnicode_CHECK(obj));
 2925|      0|            if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2925:17): [True: 0, False: 0]
  ------------------
 2926|      0|                return NULL;
 2927|      0|        }
 2928|      0|        else if (sizemod) {
  ------------------
  |  Branch (2928:18): [True: 0, False: 0]
  ------------------
 2929|      0|            assert(wstr != NULL);
 2930|      0|            if (unicode_fromformat_write_wcstr(writer, wstr, width, precision, flags) < 0)
  ------------------
  |  Branch (2930:17): [True: 0, False: 0]
  ------------------
 2931|      0|                return NULL;
 2932|      0|        }
 2933|      0|        else {
 2934|      0|            assert(str != NULL);
 2935|      0|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2935:17): [True: 0, False: 0]
  ------------------
 2936|      0|                return NULL;
 2937|      0|        }
 2938|      0|        break;
 2939|      0|    }
 2940|       |
 2941|     14|    case 'S':
  ------------------
  |  Branch (2941:5): [True: 14, False: 2.62M]
  ------------------
 2942|     14|    {
 2943|     14|        PyObject *obj = va_arg(*vargs, PyObject *);
 2944|     14|        PyObject *str;
 2945|     14|        assert(obj);
 2946|     14|        str = PyObject_Str(obj);
 2947|     14|        if (!str)
  ------------------
  |  Branch (2947:13): [True: 0, False: 14]
  ------------------
 2948|      0|            return NULL;
 2949|     14|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (2949:13): [True: 0, False: 14]
  ------------------
 2950|      0|            Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|      0|            return NULL;
 2952|      0|        }
 2953|     14|        Py_DECREF(str);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|     14|        break;
 2955|     14|    }
 2956|       |
 2957|      8|    case 'R':
  ------------------
  |  Branch (2957:5): [True: 8, False: 2.62M]
  ------------------
 2958|      8|    {
 2959|      8|        PyObject *obj = va_arg(*vargs, PyObject *);
 2960|      8|        PyObject *repr;
 2961|      8|        assert(obj);
 2962|      8|        repr = PyObject_Repr(obj);
 2963|      8|        if (!repr)
  ------------------
  |  Branch (2963:13): [True: 0, False: 8]
  ------------------
 2964|      0|            return NULL;
 2965|      8|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (2965:13): [True: 0, False: 8]
  ------------------
 2966|      0|            Py_DECREF(repr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2967|      0|            return NULL;
 2968|      0|        }
 2969|      8|        Py_DECREF(repr);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|      8|        break;
 2971|      8|    }
 2972|       |
 2973|      0|    case 'A':
  ------------------
  |  Branch (2973:5): [True: 0, False: 2.62M]
  ------------------
 2974|      0|    {
 2975|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2976|      0|        PyObject *ascii;
 2977|      0|        assert(obj);
 2978|      0|        ascii = PyObject_ASCII(obj);
 2979|      0|        if (!ascii)
  ------------------
  |  Branch (2979:13): [True: 0, False: 0]
  ------------------
 2980|      0|            return NULL;
 2981|      0|        if (unicode_fromformat_write_str(writer, ascii, width, precision, flags) == -1) {
  ------------------
  |  Branch (2981:13): [True: 0, False: 0]
  ------------------
 2982|      0|            Py_DECREF(ascii);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|      0|            return NULL;
 2984|      0|        }
 2985|      0|        Py_DECREF(ascii);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      0|        break;
 2987|      0|    }
 2988|       |
 2989|  20.2k|    case 'T':
  ------------------
  |  Branch (2989:5): [True: 20.2k, False: 2.60M]
  ------------------
 2990|  20.2k|    {
 2991|  20.2k|        PyObject *obj = va_arg(*vargs, PyObject *);
 2992|  20.2k|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|  20.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|       |
 2994|  20.2k|        PyObject *type_name;
 2995|  20.2k|        if (flags & F_ALT) {
  ------------------
  |  |   21|  20.2k|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2995:13): [True: 0, False: 20.2k]
  ------------------
 2996|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 2997|      0|        }
 2998|  20.2k|        else {
 2999|  20.2k|            type_name = PyType_GetFullyQualifiedName(type);
 3000|  20.2k|        }
 3001|  20.2k|        Py_DECREF(type);
  ------------------
  |  |  430|  20.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|  20.2k|        if (!type_name) {
  ------------------
  |  Branch (3002:13): [True: 0, False: 20.2k]
  ------------------
 3003|      0|            return NULL;
 3004|      0|        }
 3005|       |
 3006|  20.2k|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3006:13): [True: 0, False: 20.2k]
  ------------------
 3007|  20.2k|                                         width, precision, flags) == -1) {
 3008|      0|            Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|      0|            return NULL;
 3010|      0|        }
 3011|  20.2k|        Py_DECREF(type_name);
  ------------------
  |  |  430|  20.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|  20.2k|        break;
 3013|  20.2k|    }
 3014|       |
 3015|      0|    case 'N':
  ------------------
  |  Branch (3015:5): [True: 0, False: 2.62M]
  ------------------
 3016|      0|    {
 3017|      0|        PyObject *type_raw = va_arg(*vargs, PyObject *);
 3018|      0|        assert(type_raw != NULL);
 3019|       |
 3020|      0|        if (!PyType_Check(type_raw)) {
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3020:13): [True: 0, False: 0]
  ------------------
 3021|      0|            PyErr_SetString(PyExc_TypeError, "%N argument must be a type");
 3022|      0|            return NULL;
 3023|      0|        }
 3024|      0|        PyTypeObject *type = (PyTypeObject*)type_raw;
 3025|       |
 3026|      0|        PyObject *type_name;
 3027|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3027:13): [True: 0, False: 0]
  ------------------
 3028|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3029|      0|        }
 3030|      0|        else {
 3031|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3032|      0|        }
 3033|      0|        if (!type_name) {
  ------------------
  |  Branch (3033:13): [True: 0, False: 0]
  ------------------
 3034|      0|            return NULL;
 3035|      0|        }
 3036|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3036:13): [True: 0, False: 0]
  ------------------
 3037|      0|                                         width, precision, flags) == -1) {
 3038|      0|            Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3039|      0|            return NULL;
 3040|      0|        }
 3041|      0|        Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      0|        break;
 3043|      0|    }
 3044|       |
 3045|      0|    default:
  ------------------
  |  Branch (3045:5): [True: 0, False: 2.62M]
  ------------------
 3046|      0|    invalid_format:
 3047|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3048|      0|        return NULL;
 3049|  2.62M|    }
 3050|       |
 3051|  2.62M|    f++;
 3052|  2.62M|    return f;
 3053|  2.62M|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2567|  1.28M|{
 2568|       |    /* UTF-8 */
 2569|  1.28M|    Py_ssize_t *pconsumed = NULL;
 2570|  1.28M|    Py_ssize_t length;
 2571|  1.28M|    if (precision == -1) {
  ------------------
  |  Branch (2571:9): [True: 20.2k, False: 1.26M]
  ------------------
 2572|  20.2k|        length = strlen(str);
 2573|  20.2k|    }
 2574|  1.26M|    else {
 2575|  1.26M|        length = 0;
 2576|  19.4M|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2576:16): [True: 19.4M, False: 0]
  |  Branch (2576:38): [True: 18.2M, False: 1.26M]
  ------------------
 2577|  18.2M|            length++;
 2578|  18.2M|        }
 2579|  1.26M|        if (length == precision) {
  ------------------
  |  Branch (2579:13): [True: 0, False: 1.26M]
  ------------------
 2580|       |            /* The input string is not NUL-terminated.  If it ends with an
 2581|       |             * incomplete UTF-8 sequence, truncate the string just before it.
 2582|       |             * Incomplete sequences in the middle and sequences which cannot
 2583|       |             * be valid prefixes are still treated as errors and replaced
 2584|       |             * with \xfffd. */
 2585|      0|            pconsumed = &length;
 2586|      0|        }
 2587|  1.26M|    }
 2588|       |
 2589|  1.28M|    if (width < 0) {
  ------------------
  |  Branch (2589:9): [True: 1.28M, False: 0]
  ------------------
 2590|  1.28M|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2591|  1.28M|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2592|  1.28M|    }
 2593|       |
 2594|      0|    PyObject *unicode = PyUnicode_DecodeUTF8Stateful(str, length,
 2595|      0|                                                     "replace", pconsumed);
 2596|      0|    if (unicode == NULL)
  ------------------
  |  Branch (2596:9): [True: 0, False: 0]
  ------------------
 2597|      0|        return -1;
 2598|       |
 2599|      0|    int res = unicode_fromformat_write_str(writer, unicode,
 2600|      0|                                           width, -1, flags);
 2601|      0|    Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2602|      0|    return res;
 2603|      0|}
unicodeobject.c:unicode_fromformat_write_str:
 2523|  1.32M|{
 2524|  1.32M|    Py_ssize_t length, fill, arglen;
 2525|  1.32M|    Py_UCS4 maxchar;
 2526|       |
 2527|  1.32M|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  1.32M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|  1.32M|    if ((precision == -1 || precision >= length)
  ------------------
  |  Branch (2528:10): [True: 1.32M, False: 0]
  |  Branch (2528:29): [True: 0, False: 0]
  ------------------
 2529|  1.32M|        && width <= length)
  ------------------
  |  Branch (2529:12): [True: 1.32M, False: 0]
  ------------------
 2530|  1.32M|        return _PyUnicodeWriter_WriteStr(writer, str);
 2531|       |
 2532|      0|    if (precision != -1)
  ------------------
  |  Branch (2532:9): [True: 0, False: 0]
  ------------------
 2533|      0|        length = Py_MIN(precision, length);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2534|       |
 2535|      0|    arglen = Py_MAX(length, width);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2536|      0|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar)
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2536:9): [True: 0, False: 0]
  ------------------
 2537|      0|        maxchar = _PyUnicode_FindMaxChar(str, 0, length);
 2538|      0|    else
 2539|      0|        maxchar = writer->maxchar;
 2540|       |
 2541|      0|    if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1)
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2541:9): [True: 0, False: 0]
  ------------------
 2542|      0|        return -1;
 2543|       |
 2544|      0|    fill = Py_MAX(width - length, 0);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2545|      0|    if (fill && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2545:9): [True: 0, False: 0]
  |  Branch (2545:17): [True: 0, False: 0]
  ------------------
 2546|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2546:13): [True: 0, False: 0]
  ------------------
 2547|      0|            return -1;
 2548|      0|        writer->pos += fill;
 2549|      0|    }
 2550|       |
 2551|      0|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
 2552|      0|                                  str, 0, length);
 2553|      0|    writer->pos += length;
 2554|       |
 2555|      0|    if (fill && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2555:9): [True: 0, False: 0]
  |  Branch (2555:17): [True: 0, False: 0]
  ------------------
 2556|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2556:13): [True: 0, False: 0]
  ------------------
 2557|      0|            return -1;
 2558|      0|        writer->pos += fill;
 2559|      0|    }
 2560|       |
 2561|      0|    return 0;
 2562|      0|}
unicodeobject.c:unicode_get_widechar_size:
 3161|    694|{
 3162|    694|    Py_ssize_t res;
 3163|       |
 3164|    694|    assert(unicode != NULL);
 3165|    694|    assert(_PyUnicode_CHECK(unicode));
 3166|       |
 3167|    694|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  151|    694|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    694|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    694|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|       |#if SIZEOF_WCHAR_T == 2
 3169|       |    if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) {
 3170|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3171|       |        const Py_UCS4 *end = s + res;
 3172|       |        for (; s < end; ++s) {
 3173|       |            if (*s > 0xFFFF) {
 3174|       |                ++res;
 3175|       |            }
 3176|       |        }
 3177|       |    }
 3178|       |#endif
 3179|    694|    return res;
 3180|    694|}
unicodeobject.c:unicode_copy_as_widechar:
 3184|    694|{
 3185|    694|    assert(unicode != NULL);
 3186|    694|    assert(_PyUnicode_CHECK(unicode));
 3187|       |
 3188|    694|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  258|    694|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    694|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3188:9): [True: 0, False: 694]
  ------------------
 3189|      0|        memcpy(w, PyUnicode_DATA(unicode), size * sizeof(wchar_t));
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3190|      0|        return;
 3191|      0|    }
 3192|       |
 3193|    694|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    694|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    694|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3193:9): [True: 694, False: 0]
  ------------------
 3194|    694|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    694|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    694|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3195|  55.9k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3195:16): [True: 55.2k, False: 694]
  ------------------
 3196|  55.2k|            *w = *s;
 3197|  55.2k|        }
 3198|    694|    }
 3199|      0|    else {
 3200|      0|#if SIZEOF_WCHAR_T == 4
 3201|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND);
 3202|      0|        const Py_UCS2 *s = PyUnicode_2BYTE_DATA(unicode);
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3203|      0|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3203:16): [True: 0, False: 0]
  ------------------
 3204|      0|            *w = *s;
 3205|      0|        }
 3206|       |#else
 3207|       |        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 3208|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3209|       |        for (; size--; ++s, ++w) {
 3210|       |            Py_UCS4 ch = *s;
 3211|       |            if (ch > 0xFFFF) {
 3212|       |                assert(ch <= MAX_UNICODE);
 3213|       |                /* encode surrogate pair in this case */
 3214|       |                *w++ = Py_UNICODE_HIGH_SURROGATE(ch);
 3215|       |                if (!size--)
 3216|       |                    break;
 3217|       |                *w = Py_UNICODE_LOW_SURROGATE(ch);
 3218|       |            }
 3219|       |            else {
 3220|       |                *w = ch;
 3221|       |            }
 3222|       |        }
 3223|       |#endif
 3224|      0|    }
 3225|    694|}
unicodeobject.c:unicode_char:
 1818|   173k|{
 1819|   173k|    PyObject *unicode;
 1820|       |
 1821|   173k|    assert(ch <= MAX_UNICODE);
 1822|       |
 1823|   173k|    if (ch < 256) {
  ------------------
  |  Branch (1823:9): [True: 16.6k, False: 156k]
  ------------------
 1824|  16.6k|        return get_latin1_char(ch);
 1825|  16.6k|    }
 1826|       |
 1827|   156k|    unicode = PyUnicode_New(1, ch);
 1828|   156k|    if (unicode == NULL)
  ------------------
  |  Branch (1828:9): [True: 0, False: 156k]
  ------------------
 1829|      0|        return NULL;
 1830|       |
 1831|   156k|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
 1832|   156k|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  258|   156k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   156k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1832:9): [True: 93.1k, False: 63.6k]
  ------------------
 1833|  93.1k|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  292|  93.1k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  93.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1834|  93.1k|    } else {
 1835|  63.6k|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 1836|  63.6k|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  293|  63.6k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  63.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1837|  63.6k|    }
 1838|       |    assert(_PyUnicode_CheckConsistency(unicode, 1));
 1839|   156k|    return unicode;
 1840|   156k|}
unicodeobject.c:unicode_check_encoding_errors:
  526|   370k|{
  527|   370k|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (527:9): [True: 54.8k, False: 315k]
  |  Branch (527:29): [True: 14.8k, False: 39.9k]
  ------------------
  528|  14.8k|        return 0;
  529|  14.8k|    }
  530|       |
  531|   355k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  532|   355k|#ifndef Py_DEBUG
  533|       |    /* In release mode, only check in development mode (-X dev) */
  534|   355k|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (534:9): [True: 355k, False: 0]
  ------------------
  535|   355k|        return 0;
  536|   355k|    }
  537|       |#else
  538|       |    /* Always check in debug mode */
  539|       |#endif
  540|       |
  541|       |    /* Avoid calling _PyCodec_Lookup() and PyCodec_LookupError() before the
  542|       |       codec registry is ready: before_PyUnicode_InitEncodings() is called. */
  543|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (543:9): [True: 0, False: 0]
  ------------------
  544|      0|        return 0;
  545|      0|    }
  546|       |
  547|       |    /* Disable checks during Python finalization. For example, it allows to
  548|       |     * call PyObject_Dump() during finalization for debugging purpose.
  549|       |     */
  550|      0|    if (_PyInterpreterState_GetFinalizing(interp) != NULL) {
  ------------------
  |  Branch (550:9): [True: 0, False: 0]
  ------------------
  551|      0|        return 0;
  552|      0|    }
  553|       |
  554|      0|    if (encoding != NULL
  ------------------
  |  Branch (554:9): [True: 0, False: 0]
  ------------------
  555|       |        // Fast path for the most common built-in encodings. Even if the codec
  556|       |        // is cached, _PyCodec_Lookup() decodes the bytes string from UTF-8 to
  557|       |        // create a temporary Unicode string (the key in the cache).
  558|      0|        && strcmp(encoding, "utf-8") != 0
  ------------------
  |  Branch (558:12): [True: 0, False: 0]
  ------------------
  559|      0|        && strcmp(encoding, "utf8") != 0
  ------------------
  |  Branch (559:12): [True: 0, False: 0]
  ------------------
  560|      0|        && strcmp(encoding, "ascii") != 0)
  ------------------
  |  Branch (560:12): [True: 0, False: 0]
  ------------------
  561|      0|    {
  562|      0|        PyObject *handler = _PyCodec_Lookup(encoding);
  563|      0|        if (handler == NULL) {
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  ------------------
  564|      0|            return -1;
  565|      0|        }
  566|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  567|      0|    }
  568|       |
  569|      0|    if (errors != NULL
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|       |        // Fast path for the most common built-in error handlers.
  571|      0|        && strcmp(errors, "strict") != 0
  ------------------
  |  Branch (571:12): [True: 0, False: 0]
  ------------------
  572|      0|        && strcmp(errors, "ignore") != 0
  ------------------
  |  Branch (572:12): [True: 0, False: 0]
  ------------------
  573|      0|        && strcmp(errors, "replace") != 0
  ------------------
  |  Branch (573:12): [True: 0, False: 0]
  ------------------
  574|      0|        && strcmp(errors, "surrogateescape") != 0
  ------------------
  |  Branch (574:12): [True: 0, False: 0]
  ------------------
  575|      0|        && strcmp(errors, "surrogatepass") != 0)
  ------------------
  |  Branch (575:12): [True: 0, False: 0]
  ------------------
  576|      0|    {
  577|      0|        PyObject *handler = PyCodec_LookupError(errors);
  578|      0|        if (handler == NULL) {
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  ------------------
  579|      0|            return -1;
  580|      0|        }
  581|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|    }
  583|      0|    return 0;
  584|      0|}
unicodeobject.c:get_error_handler_wide:
  498|      4|{
  499|      4|    if (errors == NULL || wcscmp(errors, L"strict") == 0) {
  ------------------
  |  Branch (499:9): [True: 0, False: 4]
  |  Branch (499:27): [True: 0, False: 4]
  ------------------
  500|      0|        return _Py_ERROR_STRICT;
  501|      0|    }
  502|      4|    if (wcscmp(errors, L"surrogateescape") == 0) {
  ------------------
  |  Branch (502:9): [True: 4, False: 0]
  ------------------
  503|      4|        return _Py_ERROR_SURROGATEESCAPE;
  504|      4|    }
  505|      0|    if (wcscmp(errors, L"replace") == 0) {
  ------------------
  |  Branch (505:9): [True: 0, False: 0]
  ------------------
  506|      0|        return _Py_ERROR_REPLACE;
  507|      0|    }
  508|      0|    if (wcscmp(errors, L"ignore") == 0) {
  ------------------
  |  Branch (508:9): [True: 0, False: 0]
  ------------------
  509|      0|        return _Py_ERROR_IGNORE;
  510|      0|    }
  511|      0|    if (wcscmp(errors, L"backslashreplace") == 0) {
  ------------------
  |  Branch (511:9): [True: 0, False: 0]
  ------------------
  512|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  513|      0|    }
  514|      0|    if (wcscmp(errors, L"surrogatepass") == 0) {
  ------------------
  |  Branch (514:9): [True: 0, False: 0]
  ------------------
  515|      0|        return _Py_ERROR_SURROGATEPASS;
  516|      0|    }
  517|      0|    if (wcscmp(errors, L"xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 0]
  ------------------
  518|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  519|      0|    }
  520|      0|    return _Py_ERROR_OTHER;
  521|      0|}
unicodeobject.c:unicode_decode_locale:
 3904|  54.4k|{
 3905|  54.4k|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3905:9): [True: 0, False: 54.4k]
  |  Branch (3905:29): [True: 0, False: 54.4k]
  ------------------
 3906|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3907|      0|        return NULL;
 3908|      0|    }
 3909|       |
 3910|  54.4k|    wchar_t *wstr;
 3911|  54.4k|    size_t wlen;
 3912|  54.4k|    const char *reason;
 3913|  54.4k|    int res = _Py_DecodeLocaleEx(str, &wstr, &wlen, &reason,
 3914|  54.4k|                                 current_locale, errors);
 3915|  54.4k|    if (res != 0) {
  ------------------
  |  Branch (3915:9): [True: 0, False: 54.4k]
  ------------------
 3916|      0|        if (res == -2) {
  ------------------
  |  Branch (3916:13): [True: 0, False: 0]
  ------------------
 3917|      0|            PyObject *exc;
 3918|      0|            exc = PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3919|      0|                                        "locale", str, len,
 3920|      0|                                        (Py_ssize_t)wlen,
 3921|      0|                                        (Py_ssize_t)(wlen + 1),
 3922|      0|                                        reason);
 3923|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3923:17): [True: 0, False: 0]
  ------------------
 3924|      0|                PyCodec_StrictErrors(exc);
 3925|      0|                Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3926|      0|            }
 3927|      0|        }
 3928|      0|        else if (res == -3) {
  ------------------
  |  Branch (3928:18): [True: 0, False: 0]
  ------------------
 3929|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3930|      0|        }
 3931|      0|        else {
 3932|      0|            PyErr_NoMemory();
 3933|      0|        }
 3934|      0|        return NULL;
 3935|      0|    }
 3936|       |
 3937|  54.4k|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 3938|  54.4k|    PyMem_RawFree(wstr);
 3939|  54.4k|    return unicode;
 3940|  54.4k|}
unicodeobject.c:findchar:
 1007|  76.4k|{
 1008|  76.4k|    switch (kind) {
 1009|  76.4k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1009:5): [True: 76.4k, False: 0]
  ------------------
 1010|  76.4k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1010:13): [True: 0, False: 76.4k]
  ------------------
 1011|      0|            return -1;
 1012|  76.4k|        if (direction > 0)
  ------------------
  |  Branch (1012:13): [True: 75.7k, False: 680]
  ------------------
 1013|  75.7k|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1014|    680|        else
 1015|    680|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1016|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1016:5): [True: 0, False: 76.4k]
  ------------------
 1017|      0|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1017:13): [True: 0, False: 0]
  ------------------
 1018|      0|            return -1;
 1019|      0|        if (direction > 0)
  ------------------
  |  Branch (1019:13): [True: 0, False: 0]
  ------------------
 1020|      0|            return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1021|      0|        else
 1022|      0|            return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1023|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1023:5): [True: 0, False: 76.4k]
  ------------------
 1024|      0|        if (direction > 0)
  ------------------
  |  Branch (1024:13): [True: 0, False: 0]
  ------------------
 1025|      0|            return ucs4lib_find_char((const Py_UCS4 *) s, size, ch);
 1026|      0|        else
 1027|      0|            return ucs4lib_rfind_char((const Py_UCS4 *) s, size, ch);
 1028|      0|    default:
  ------------------
  |  Branch (1028:5): [True: 0, False: 76.4k]
  ------------------
 1029|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1030|  76.4k|    }
 1031|  76.4k|}
unicodeobject.c:unicode_ensure_utf8:
 4091|   703k|{
 4092|   703k|    int err = 0;
 4093|   703k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4093:9): [True: 8, False: 703k]
  ------------------
 4094|      8|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|      8|    {
  ------------------
 4095|      8|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4095:13): [True: 8, False: 0]
  ------------------
 4096|      8|            err = unicode_fill_utf8(unicode);
 4097|      8|        }
 4098|      8|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4099|      8|    }
 4100|   703k|    return err;
 4101|   703k|}
unicodeobject.c:unicode_fill_utf8:
 5725|      8|{
 5726|      8|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5727|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5728|      8|    assert(!PyUnicode_IS_ASCII(unicode));
 5729|       |
 5730|      8|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      8|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5731|      8|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5732|      8|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|       |
 5734|      8|    PyBytesWriter *writer;
 5735|      8|    char *end;
 5736|       |
 5737|      8|    switch (kind) {
 5738|      0|    default:
  ------------------
  |  Branch (5738:5): [True: 0, False: 8]
  ------------------
 5739|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5740|      2|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5740:5): [True: 2, False: 6]
  ------------------
 5741|      2|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5742|      2|                                      _Py_ERROR_STRICT, NULL, &end);
 5743|      2|        break;
 5744|      6|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5744:5): [True: 6, False: 2]
  ------------------
 5745|      6|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5746|      6|                                      _Py_ERROR_STRICT, NULL, &end);
 5747|      6|        break;
 5748|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5748:5): [True: 0, False: 8]
  ------------------
 5749|      0|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5750|      0|                                      _Py_ERROR_STRICT, NULL, &end);
 5751|      0|        break;
 5752|      8|    }
 5753|      8|    if (writer == NULL) {
  ------------------
  |  Branch (5753:9): [True: 0, False: 8]
  ------------------
 5754|      0|        return -1;
 5755|      0|    }
 5756|       |
 5757|      8|    const char *start = PyBytesWriter_GetData(writer);
 5758|      8|    Py_ssize_t len = end - start;
 5759|       |
 5760|      8|    char *cache = PyMem_Malloc(len + 1);
 5761|      8|    if (cache == NULL) {
  ------------------
  |  Branch (5761:9): [True: 0, False: 8]
  ------------------
 5762|      0|        PyBytesWriter_Discard(writer);
 5763|      0|        PyErr_NoMemory();
 5764|      0|        return -1;
 5765|      0|    }
 5766|      8|    memcpy(cache, start, len);
 5767|      8|    cache[len] = '\0';
 5768|      8|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5769|      8|    PyUnicode_SET_UTF8(unicode, cache);
 5770|      8|    PyBytesWriter_Discard(writer);
 5771|      8|    return 0;
 5772|      8|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  135|   718k|{
  136|   718k|    assert(_PyUnicode_CHECK(op));
  137|   718k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|   718k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   718k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   718k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 717k, False: 969]
  |  |  ------------------
  ------------------
  138|   717k|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   717k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   717k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   717k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  139|   717k|    }
  140|    969|    else {
  141|       |         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|    969|    (assert(PyUnicode_Check(op)), \
  |  |  190|    969|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    969|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  142|    969|    }
  143|   718k|}
unicodeobject.c:PyUnicode_UTF8:
  119|  1.72M|{
  120|  1.72M|    assert(_PyUnicode_CHECK(op));
  121|  1.72M|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|  1.72M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 1.66M, False: 64.2k]
  |  |  ------------------
  ------------------
  122|  1.66M|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|  1.66M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  123|  1.66M|    }
  124|  64.2k|    else {
  125|  64.2k|         return _PyUnicode_UTF8(op);
  126|  64.2k|    }
  127|  1.72M|}
unicodeobject.c:unicode_decode_utf8:
 5253|  7.28M|{
 5254|  7.28M|    if (size == 0) {
  ------------------
  |  Branch (5254:9): [True: 122, False: 7.28M]
  ------------------
 5255|    122|        if (consumed) {
  ------------------
  |  Branch (5255:13): [True: 0, False: 122]
  ------------------
 5256|      0|            *consumed = 0;
 5257|      0|        }
 5258|    122|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|    122|    do {                             \
  |  |  376|    122|        return _PyUnicode_GetEmpty();\
  |  |  377|    122|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5259|    122|    }
 5260|       |
 5261|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5262|  7.28M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5262:9): [True: 6.72M, False: 564k]
  |  Branch (5262:22): [True: 6.72M, False: 0]
  ------------------
 5263|  6.72M|        if (consumed) {
  ------------------
  |  Branch (5263:13): [True: 0, False: 6.72M]
  ------------------
 5264|      0|            *consumed = 1;
 5265|      0|        }
 5266|  6.72M|        return get_latin1_char((unsigned char)s[0]);
 5267|  6.72M|    }
 5268|       |
 5269|       |    // I don't know this check is necessary or not. But there is a test
 5270|       |    // case that requires size=PY_SSIZE_T_MAX cause MemoryError.
 5271|   564k|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|   564k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5271:9): [True: 0, False: 564k]
  ------------------
 5272|      0|        PyErr_NoMemory();
 5273|      0|        return NULL;
 5274|      0|    }
 5275|       |
 5276|   564k|    const char *starts = s;
 5277|   564k|    const char *end = s + size;
 5278|       |
 5279|   564k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5280|   564k|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5280:9): [True: 564k, False: 90]
  ------------------
 5281|   564k|        PyObject *u = PyUnicode_New(size, 127);
 5282|   564k|        if (u == NULL) {
  ------------------
  |  Branch (5282:13): [True: 0, False: 564k]
  ------------------
 5283|      0|            return NULL;
 5284|      0|        }
 5285|   564k|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  291|   564k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   564k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5286|   564k|        if (consumed) {
  ------------------
  |  Branch (5286:13): [True: 40, False: 564k]
  ------------------
 5287|     40|            *consumed = size;
 5288|     40|        }
 5289|   564k|        return u;
 5290|   564k|    }
 5291|       |
 5292|     90|    int maxchr = 127;
 5293|     90|    Py_ssize_t maxsize = size;
 5294|       |
 5295|     90|    unsigned char ch = (unsigned char)(s[pos]);
 5296|       |    // error handler other than strict may remove/replace the invalid byte.
 5297|       |    // consumed != NULL allows 1~3 bytes remainings.
 5298|       |    // 0x80 <= ch < 0xc2 is invalid start byte that cause UnicodeDecodeError.
 5299|       |    // otherwise: check the input and decide the maxchr and maxsize to reduce
 5300|       |    // reallocation and copy.
 5301|     90|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5301:9): [True: 2, False: 88]
  |  Branch (5301:46): [True: 2, False: 0]
  |  Branch (5301:59): [True: 2, False: 0]
  ------------------
 5302|       |        // we only calculate the number of codepoints and don't determine the exact maxchr.
 5303|       |        // This is because writing fast and portable SIMD code to find maxchr is difficult.
 5304|       |        // If reallocation occurs for a larger maxchar, knowing the exact number of codepoints
 5305|       |        // means that it is no longer necessary to allocate several times the required amount
 5306|       |        // of memory.
 5307|      2|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5308|      2|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5308:13): [True: 2, False: 0]
  ------------------
 5309|      2|            maxchr = 0xff;
 5310|      2|        }
 5311|      0|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5311:18): [True: 0, False: 0]
  ------------------
 5312|      0|            maxchr = 0xffff;
 5313|      0|        }
 5314|      0|        else { // ucs4
 5315|      0|            maxchr = 0x10ffff;
 5316|      0|        }
 5317|      2|    }
 5318|     90|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5319|     90|    if (!u) {
  ------------------
  |  Branch (5319:9): [True: 0, False: 90]
  ------------------
 5320|      0|        return NULL;
 5321|      0|    }
 5322|       |
 5323|       |    // Use _PyUnicodeWriter after fast path is failed.
 5324|     90|    _PyUnicodeWriter writer;
 5325|     90|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5326|     90|    if (maxchr <= 255) {
  ------------------
  |  Branch (5326:9): [True: 90, False: 0]
  ------------------
 5327|     90|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  291|     90|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     90|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5328|     90|        s += pos;
 5329|     90|        writer.pos = pos;
 5330|     90|    }
 5331|       |
 5332|     90|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5332:9): [True: 0, False: 90]
  ------------------
 5333|     90|                                 error_handler, errors,
 5334|     90|                                 consumed) < 0) {
 5335|      0|        _PyUnicodeWriter_Dealloc(&writer);
 5336|      0|        return NULL;
 5337|      0|    }
 5338|     90|    return _PyUnicodeWriter_Finish(&writer);
 5339|     90|}
unicodeobject.c:find_first_nonascii:
 4981|  1.84M|{
 4982|       |    // The search is done in `size_t` chunks.
 4983|       |    // The start and end might not be aligned at `size_t` boundaries,
 4984|       |    // so they're handled specially.
 4985|       |
 4986|  1.84M|    const unsigned char *p = start;
 4987|       |
 4988|  1.84M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1859|  1.84M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (4988:9): [True: 1.75M, False: 88.7k]
  ------------------
 4989|       |        // Avoid unaligned read.
 4990|  1.75M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 4991|  1.75M|        size_t u;
 4992|  1.75M|        memcpy(&u, p, sizeof(size_t));
 4993|  1.75M|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  1.75M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 4994|  1.75M|        if (u) {
  ------------------
  |  Branch (4994:13): [True: 42, False: 1.75M]
  ------------------
 4995|     42|            return (ctz(u) - 7) / 8;
 4996|     42|        }
 4997|  1.75M|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  216|  1.75M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
 4998|       |#else /* PY_LITTLE_ENDIAN && HAVE_CTZ */
 4999|       |        const unsigned char *p2 = _Py_ALIGN_UP(p, SIZEOF_SIZE_T);
 5000|       |        while (p < p2) {
 5001|       |            if (*p & 0x80) {
 5002|       |                return p - start;
 5003|       |            }
 5004|       |            p++;
 5005|       |        }
 5006|       |#endif
 5007|       |
 5008|  1.75M|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  1.75M|#define SIZEOF_SIZE_T 8
  ------------------
 5009|  3.16M|        while (p <= e) {
  ------------------
  |  Branch (5009:16): [True: 1.41M, False: 1.75M]
  ------------------
 5010|  1.41M|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  1.41M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5011|  1.41M|            if (u) {
  ------------------
  |  Branch (5011:17): [True: 32, False: 1.41M]
  ------------------
 5012|     32|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5013|     32|                return p - start + (ctz(u) - 7) / 8;
 5014|       |#else
 5015|       |                // big endian and minor compilers are difficult to test.
 5016|       |                // fallback to per byte check.
 5017|       |                break;
 5018|       |#endif
 5019|     32|            }
 5020|  1.41M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  1.41M|#define SIZEOF_SIZE_T 8
  ------------------
 5021|  1.41M|        }
 5022|  1.75M|    }
 5023|  1.84M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5024|  1.84M|    assert((end - p) < SIZEOF_SIZE_T);
 5025|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5026|  1.84M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  1.84M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5027|  1.84M|    if (u) {
  ------------------
  |  Branch (5027:9): [True: 16, False: 1.84M]
  ------------------
 5028|     16|        return p - start + (ctz(u) - 7) / 8;
 5029|     16|    }
 5030|  1.84M|    return end - start;
 5031|       |#else
 5032|       |    while (p < end) {
 5033|       |        if (*p & 0x80) {
 5034|       |            break;
 5035|       |        }
 5036|       |        p++;
 5037|       |    }
 5038|       |    return p - start;
 5039|       |#endif
 5040|  1.84M|}
unicodeobject.c:ctz:
 4903|     90|{
 4904|     90|    return __builtin_ctzll((unsigned long long)v);
 4905|     90|}
unicodeobject.c:load_unaligned:
 4927|  1.84M|{
 4928|  1.84M|    union {
 4929|  1.84M|        size_t s;
 4930|  1.84M|        unsigned char b[SIZEOF_SIZE_T];
 4931|  1.84M|    } u;
 4932|  1.84M|    u.s = 0;
 4933|       |    // This switch statement assumes little endian because:
 4934|       |    // * union is faster than bitwise or and shift.
 4935|       |    // * big endian machine is rare and hard to maintain.
 4936|  1.84M|    switch (size) {
 4937|      0|    default:
  ------------------
  |  Branch (4937:5): [True: 0, False: 1.84M]
  ------------------
 4938|      0|#if SIZEOF_SIZE_T == 8
 4939|      0|    case 8:
  ------------------
  |  Branch (4939:5): [True: 0, False: 1.84M]
  ------------------
 4940|      0|        u.b[7] = p[7];
 4941|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4942|  13.7k|    case 7:
  ------------------
  |  Branch (4942:5): [True: 13.7k, False: 1.83M]
  ------------------
 4943|  13.7k|        u.b[6] = p[6];
 4944|  13.7k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  13.7k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4945|  24.1k|    case 6:
  ------------------
  |  Branch (4945:5): [True: 10.3k, False: 1.83M]
  ------------------
 4946|  24.1k|        u.b[5] = p[5];
 4947|  24.1k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  24.1k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4948|   150k|    case 5:
  ------------------
  |  Branch (4948:5): [True: 125k, False: 1.72M]
  ------------------
 4949|   150k|        u.b[4] = p[4];
 4950|   150k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   150k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4951|   150k|#endif
 4952|  1.10M|    case 4:
  ------------------
  |  Branch (4952:5): [True: 950k, False: 897k]
  ------------------
 4953|  1.10M|        u.b[3] = p[3];
 4954|  1.10M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.10M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4955|  1.50M|    case 3:
  ------------------
  |  Branch (4955:5): [True: 406k, False: 1.44M]
  ------------------
 4956|  1.50M|        u.b[2] = p[2];
 4957|  1.50M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.50M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4958|  1.52M|    case 2:
  ------------------
  |  Branch (4958:5): [True: 21.7k, False: 1.82M]
  ------------------
 4959|  1.52M|        u.b[1] = p[1];
 4960|  1.52M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.52M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4961|  1.54M|    case 1:
  ------------------
  |  Branch (4961:5): [True: 11.5k, False: 1.83M]
  ------------------
 4962|  1.54M|        u.b[0] = p[0];
 4963|  1.54M|        break;
 4964|   307k|    case 0:
  ------------------
  |  Branch (4964:5): [True: 307k, False: 1.54M]
  ------------------
 4965|   307k|        break;
 4966|  1.84M|    }
 4967|  1.84M|    return u.s;
 4968|  1.84M|}
unicodeobject.c:utf8_count_codepoints:
 5059|      2|{
 5060|      2|    Py_ssize_t len = 0;
 5061|       |
 5062|      2|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1859|      2|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5062:9): [True: 2, False: 0]
  ------------------
 5063|      2|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|      2|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5063:16): [True: 0, False: 2]
  ------------------
 5064|      0|            len += scalar_utf8_start_char(*s++);
 5065|      0|        }
 5066|       |
 5067|      8|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|      8|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5067:16): [True: 6, False: 2]
  ------------------
 5068|      6|            const unsigned char *e = end;
 5069|      6|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1859|      6|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5069:17): [True: 4, False: 2]
  ------------------
 5070|      4|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1859|      4|#define SIZEOF_SIZE_T 8
  ------------------
 5071|      4|            }
 5072|      6|            Py_ssize_t vstart = 0;
 5073|  1.18k|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1859|  1.18k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5073:20): [True: 1.17k, False: 6]
  ------------------
 5074|  1.17k|                size_t v = *(size_t*)s;
 5075|  1.17k|                size_t vs = vector_utf8_start_chars(v);
 5076|  1.17k|                vstart += vs;
 5077|  1.17k|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|  1.17k|#define SIZEOF_SIZE_T 8
  ------------------
 5078|  1.17k|            }
 5079|      6|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4890|      6|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4890|      6|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5080|      6|            vstart += vstart >> 16;
 5081|      6|#if SIZEOF_SIZE_T == 8
 5082|      6|            vstart += vstart >> 32;
 5083|      6|#endif
 5084|      6|            len += vstart & 0x7ff;
 5085|      6|        }
 5086|      2|    }
 5087|     16|    while (s < end) {
  ------------------
  |  Branch (5087:12): [True: 14, False: 2]
  ------------------
 5088|     14|        len += scalar_utf8_start_char(*s++);
 5089|     14|    }
 5090|      2|    return len;
 5091|      2|}
unicodeobject.c:scalar_utf8_start_char:
 5044|     14|{
 5045|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5046|     14|    return (~ch >> 7 | ch >> 6) & 1;
 5047|     14|}
unicodeobject.c:vector_utf8_start_chars:
 5051|  1.17k|{
 5052|  1.17k|    return ((~v >> 7) | (v >> 6)) & VECTOR_0101;
  ------------------
  |  | 4889|  1.17k|# define VECTOR_0101     0x0101010101010101ULL
  ------------------
 5053|  1.17k|}
unicodeobject.c:ascii_decode:
 5095|  1.28M|{
 5096|  1.28M|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5097|  1.28M|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  221|  2.56M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 1.26M, False: 16.8k]
  |  |  ------------------
  ------------------
 5098|  1.26M|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  221|  1.26M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 14, False: 1.26M]
  |  |  ------------------
  ------------------
 5099|     14|    {
 5100|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5101|       |           an explanation. */
 5102|     14|        const char *p = start;
 5103|     14|        Py_UCS1 *q = dest;
 5104|     24|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1859|     24|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5104:16): [True: 10, False: 14]
  ------------------
 5105|     10|            size_t value = *(const size_t *) p;
 5106|     10|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4887|     10|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5106:17): [True: 0, False: 10]
  ------------------
 5107|      0|                break;
 5108|     10|            *((size_t *)q) = value;
 5109|     10|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|     10|#define SIZEOF_SIZE_T 8
  ------------------
 5110|     10|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1859|     10|#define SIZEOF_SIZE_T 8
  ------------------
 5111|     10|        }
 5112|     56|        while (p < end) {
  ------------------
  |  Branch (5112:16): [True: 42, False: 14]
  ------------------
 5113|     42|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5113:17): [True: 0, False: 42]
  ------------------
 5114|      0|                break;
 5115|     42|            *q++ = *p++;
 5116|     42|        }
 5117|     14|        return p - start;
 5118|     14|    }
 5119|  1.28M|#endif
 5120|  1.28M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5121|  1.28M|                                         (const unsigned char*)end);
 5122|  1.28M|    memcpy(dest, start, pos);
 5123|  1.28M|    return pos;
 5124|  1.28M|}
unicodeobject.c:unicode_decode_utf8_impl:
 5132|     90|{
 5133|     90|    Py_ssize_t startinpos, endinpos;
 5134|     90|    const char *errmsg = "";
 5135|     90|    PyObject *error_handler_obj = NULL;
 5136|     90|    PyObject *exc = NULL;
 5137|       |
 5138|    188|    while (s < end) {
  ------------------
  |  Branch (5138:12): [True: 176, False: 12]
  ------------------
 5139|    176|        Py_UCS4 ch;
 5140|    176|        int kind = writer->kind;
 5141|       |
 5142|    176|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5142:13): [True: 118, False: 58]
  ------------------
 5143|    118|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  227|    118|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 88, False: 30]
  |  |  ------------------
  ------------------
 5144|     88|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5145|     30|            else
 5146|     30|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5147|    118|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5147:20): [True: 44, False: 14]
  ------------------
 5148|     44|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5149|     44|        } else {
 5150|     14|            assert(kind == PyUnicode_4BYTE_KIND);
 5151|     14|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5152|     14|        }
 5153|       |
 5154|    176|        switch (ch) {
 5155|     78|        case 0:
  ------------------
  |  Branch (5155:9): [True: 78, False: 98]
  ------------------
 5156|     78|            if (s == end || consumed)
  ------------------
  |  Branch (5156:17): [True: 78, False: 0]
  |  Branch (5156:29): [True: 0, False: 0]
  ------------------
 5157|     78|                goto End;
 5158|      0|            errmsg = "unexpected end of data";
 5159|      0|            startinpos = s - starts;
 5160|      0|            endinpos = end - starts;
 5161|      0|            break;
 5162|      0|        case 1:
  ------------------
  |  Branch (5162:9): [True: 0, False: 176]
  ------------------
 5163|      0|            errmsg = "invalid start byte";
 5164|      0|            startinpos = s - starts;
 5165|      0|            endinpos = startinpos + 1;
 5166|      0|            break;
 5167|      0|        case 2:
  ------------------
  |  Branch (5167:9): [True: 0, False: 176]
  ------------------
 5168|      0|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5168:17): [True: 0, False: 0]
  |  Branch (5168:29): [True: 0, False: 0]
  |  Branch (5168:60): [True: 0, False: 0]
  ------------------
 5169|      0|                && (unsigned char)s[1] >= 0xA0 && (unsigned char)s[1] <= 0xBF)
  ------------------
  |  Branch (5169:20): [True: 0, False: 0]
  |  Branch (5169:51): [True: 0, False: 0]
  ------------------
 5170|      0|            {
 5171|       |                /* Truncated surrogate code in range D800-DFFF */
 5172|      0|                goto End;
 5173|      0|            }
 5174|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5175|      0|        case 3:
  ------------------
  |  Branch (5175:9): [True: 0, False: 176]
  ------------------
 5176|      0|        case 4:
  ------------------
  |  Branch (5176:9): [True: 0, False: 176]
  ------------------
 5177|      0|            errmsg = "invalid continuation byte";
 5178|      0|            startinpos = s - starts;
 5179|      0|            endinpos = startinpos + ch - 1;
 5180|      0|            break;
 5181|     98|        default:
  ------------------
  |  Branch (5181:9): [True: 98, False: 78]
  ------------------
 5182|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5183|       |            // the character
 5184|     98|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5184:17): [True: 0, False: 98]
  ------------------
 5185|      0|                goto onError;
 5186|     98|            continue;
 5187|    176|        }
 5188|       |
 5189|      0|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5189:13): [True: 0, False: 0]
  ------------------
 5190|      0|            error_handler = _Py_GetErrorHandler(errors);
 5191|       |
 5192|      0|        switch (error_handler) {
 5193|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5193:9): [True: 0, False: 0]
  ------------------
 5194|      0|            s += (endinpos - startinpos);
 5195|      0|            break;
 5196|       |
 5197|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5197:9): [True: 0, False: 0]
  ------------------
 5198|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5198:17): [True: 0, False: 0]
  ------------------
 5199|      0|                goto onError;
 5200|      0|            s += (endinpos - startinpos);
 5201|      0|            break;
 5202|       |
 5203|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5203:9): [True: 0, False: 0]
  ------------------
 5204|      0|        {
 5205|      0|            Py_ssize_t i;
 5206|       |
 5207|      0|            if (_PyUnicodeWriter_PrepareKind(writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  582|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (582:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  583|      0|     ? 0                                                              \
  |  |  584|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (5207:17): [True: 0, False: 0]
  ------------------
 5208|      0|                goto onError;
 5209|      0|            for (i=startinpos; i<endinpos; i++) {
  ------------------
  |  Branch (5209:32): [True: 0, False: 0]
  ------------------
 5210|      0|                ch = (Py_UCS4)(unsigned char)(starts[i]);
 5211|      0|                PyUnicode_WRITE(writer->kind, writer->data, writer->pos,
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5212|      0|                                ch + 0xdc00);
 5213|      0|                writer->pos++;
 5214|      0|            }
 5215|      0|            s += (endinpos - startinpos);
 5216|      0|            break;
 5217|      0|        }
 5218|       |
 5219|      0|        default:
  ------------------
  |  Branch (5219:9): [True: 0, False: 0]
  ------------------
 5220|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5220:17): [True: 0, False: 0]
  ------------------
 5221|      0|                    errors, &error_handler_obj,
 5222|      0|                    "utf-8", errmsg,
 5223|      0|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5224|      0|                    writer)) {
 5225|      0|                goto onError;
 5226|      0|            }
 5227|       |
 5228|      0|            if (_PyUnicodeWriter_Prepare(writer, end - s, 127) < 0) {
  ------------------
  |  |  562|      0|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|      0|     ? 0                                                              \
  |  |  565|      0|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5228:17): [True: 0, False: 0]
  ------------------
 5229|      0|                goto onError;
 5230|      0|            }
 5231|      0|        }
 5232|      0|    }
 5233|       |
 5234|     90|End:
 5235|     90|    if (consumed)
  ------------------
  |  Branch (5235:9): [True: 2, False: 88]
  ------------------
 5236|      2|        *consumed = s - starts;
 5237|       |
 5238|     90|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|     90|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|     90|    Py_XDECREF(exc);
  ------------------
  |  |  524|     90|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|     90|    return 0;
 5241|       |
 5242|      0|onError:
 5243|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5245|      0|    return -1;
 5246|     90|}
unicodeobject.c:unicode_encode_utf8:
 5680|   189k|{
 5681|   189k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   189k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   189k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5681:9): [True: 0, False: 189k]
  ------------------
 5682|      0|        PyErr_BadArgument();
 5683|      0|        return NULL;
 5684|      0|    }
 5685|       |
 5686|   189k|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5686:9): [True: 127k, False: 62.3k]
  ------------------
 5687|   127k|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5688|   127k|                                         PyUnicode_UTF8_LENGTH(unicode));
 5689|       |
 5690|  62.3k|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  62.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  62.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5691|  62.3k|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  62.3k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5692|  62.3k|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  62.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5693|       |
 5694|  62.3k|    PyBytesWriter *writer;
 5695|  62.3k|    char *end;
 5696|       |
 5697|  62.3k|    switch (kind) {
 5698|      0|    default:
  ------------------
  |  Branch (5698:5): [True: 0, False: 62.3k]
  ------------------
 5699|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5700|    298|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5700:5): [True: 298, False: 62.0k]
  ------------------
 5701|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5702|    298|        assert(!PyUnicode_IS_ASCII(unicode));
 5703|    298|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5704|    298|                                      error_handler, errors, &end);
 5705|    298|        break;
 5706|  16.1k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5706:5): [True: 16.1k, False: 46.1k]
  ------------------
 5707|  16.1k|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5708|  16.1k|                                      error_handler, errors, &end);
 5709|  16.1k|        break;
 5710|  45.8k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5710:5): [True: 45.8k, False: 16.4k]
  ------------------
 5711|  45.8k|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5712|  45.8k|                                      error_handler, errors, &end);
 5713|  45.8k|        break;
 5714|  62.3k|    }
 5715|       |
 5716|  62.3k|    if (writer == NULL) {
  ------------------
  |  Branch (5716:9): [True: 0, False: 62.3k]
  ------------------
 5717|      0|        PyBytesWriter_Discard(writer);
 5718|      0|        return NULL;
 5719|      0|    }
 5720|  62.3k|    return PyBytesWriter_FinishWithPointer(writer, end);
 5721|  62.3k|}
unicodeobject.c:raise_encode_exception:
 7116|  4.91k|{
 7117|  4.91k|    make_encode_exception(exceptionObject,
 7118|  4.91k|                          encoding, unicode, startpos, endpos, reason);
 7119|  4.91k|    if (*exceptionObject != NULL)
  ------------------
  |  Branch (7119:9): [True: 4.91k, False: 0]
  ------------------
 7120|  4.91k|        PyCodec_StrictErrors(*exceptionObject);
 7121|  4.91k|}
unicodeobject.c:make_encode_exception:
 7090|  4.91k|{
 7091|  4.91k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (7091:9): [True: 4.91k, False: 0]
  ------------------
 7092|  4.91k|        *exceptionObject = PyObject_CallFunction(
 7093|  4.91k|            PyExc_UnicodeEncodeError, "sOnns",
 7094|  4.91k|            encoding, unicode, startpos, endpos, reason);
 7095|  4.91k|    }
 7096|      0|    else {
 7097|      0|        if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (7097:13): [True: 0, False: 0]
  ------------------
 7098|      0|            goto onError;
 7099|      0|        if (PyUnicodeEncodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (7099:13): [True: 0, False: 0]
  ------------------
 7100|      0|            goto onError;
 7101|      0|        if (PyUnicodeEncodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (7101:13): [True: 0, False: 0]
  ------------------
 7102|      0|            goto onError;
 7103|      0|        return;
 7104|      0|      onError:
 7105|       |        Py_CLEAR(*exceptionObject);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7106|      0|    }
 7107|  4.91k|}
unicodeobject.c:unicode_encode_ucs1:
 7187|  10.8k|{
 7188|       |    /* input state */
 7189|  10.8k|    Py_ssize_t pos=0, size;
 7190|  10.8k|    int kind;
 7191|  10.8k|    const void *data;
 7192|  10.8k|    const char *encoding = (limit == 256) ? "latin-1" : "ascii";
  ------------------
  |  Branch (7192:28): [True: 0, False: 10.8k]
  ------------------
 7193|  10.8k|    const char *reason = (limit == 256) ? "ordinal not in range(256)" : "ordinal not in range(128)";
  ------------------
  |  Branch (7193:26): [True: 0, False: 10.8k]
  ------------------
 7194|  10.8k|    PyObject *error_handler_obj = NULL;
 7195|  10.8k|    PyObject *exc = NULL;
 7196|  10.8k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7197|  10.8k|    PyObject *rep = NULL;
 7198|       |
 7199|  10.8k|    size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  10.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7200|  10.8k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  10.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 7201|  10.8k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  10.8k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7202|       |    /* allocate enough for a simple encoding without
 7203|       |       replacements, if we need more, we'll resize */
 7204|  10.8k|    if (size == 0)
  ------------------
  |  Branch (7204:9): [True: 0, False: 10.8k]
  ------------------
 7205|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 7206|       |
 7207|       |    /* output object */
 7208|  10.8k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 7209|  10.8k|    if (writer == NULL) {
  ------------------
  |  Branch (7209:9): [True: 0, False: 10.8k]
  ------------------
 7210|      0|        return NULL;
 7211|      0|    }
 7212|       |    /* pointer into the output */
 7213|  10.8k|    char *str = PyBytesWriter_GetData(writer);
 7214|       |
 7215|  18.0k|    while (pos < size) {
  ------------------
  |  Branch (7215:12): [True: 12.0k, False: 5.92k]
  ------------------
 7216|  12.0k|        Py_UCS4 ch = PyUnicode_READ(kind, data, pos);
  ------------------
  |  |  354|  12.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  12.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  12.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  12.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  12.0k|                   (index))
  ------------------
 7217|       |
 7218|       |        /* can we encode this? */
 7219|  12.0k|        if (ch < limit) {
  ------------------
  |  Branch (7219:13): [True: 1.13k, False: 10.9k]
  ------------------
 7220|       |            /* no overflow check, because we know that the space is enough */
 7221|  1.13k|            *str++ = (char)ch;
 7222|  1.13k|            ++pos;
 7223|  1.13k|        }
 7224|  10.9k|        else {
 7225|  10.9k|            Py_ssize_t newpos, i;
 7226|       |            /* startpos for collecting unencodable chars */
 7227|  10.9k|            Py_ssize_t collstart = pos;
 7228|  10.9k|            Py_ssize_t collend = collstart + 1;
 7229|       |            /* find all unecodable characters */
 7230|       |
 7231|  19.1k|            while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit))
  ------------------
  |  |  354|  8.47k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  8.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  8.47k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  8.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  8.47k|                   (index))
  ------------------
  |  Branch (7231:20): [True: 8.47k, False: 10.6k]
  |  Branch (7231:40): [True: 8.21k, False: 257]
  ------------------
 7232|  8.21k|                ++collend;
 7233|       |
 7234|       |            /* Only overallocate the buffer if it's not the last write */
 7235|  10.9k|            writer->overallocate = (collend < size);
 7236|       |
 7237|       |            /* cache callback name lookup (if not done yet, i.e. it's the first error) */
 7238|  10.9k|            if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7238:17): [True: 10.8k, False: 117]
  ------------------
 7239|  10.8k|                error_handler = _Py_GetErrorHandler(errors);
 7240|       |
 7241|  10.9k|            switch (error_handler) {
 7242|  4.91k|            case _Py_ERROR_STRICT:
  ------------------
  |  Branch (7242:13): [True: 4.91k, False: 6.03k]
  ------------------
 7243|  4.91k|                raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason);
 7244|  4.91k|                goto onError;
 7245|       |
 7246|  6.03k|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7246:13): [True: 6.03k, False: 4.91k]
  ------------------
 7247|  6.03k|                memset(str, '?', collend - collstart);
 7248|  6.03k|                str += (collend - collstart);
 7249|  6.03k|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|  6.03k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7250|  6.03k|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7250:13): [True: 0, False: 10.9k]
  ------------------
 7251|  6.03k|                pos = collend;
 7252|  6.03k|                break;
 7253|       |
 7254|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (7254:13): [True: 0, False: 10.9k]
  ------------------
 7255|       |                /* subtract preallocated bytes */
 7256|      0|                writer->size -= (collend - collstart);
 7257|      0|                str = backslashreplace(writer, str,
 7258|      0|                                       unicode, collstart, collend);
 7259|      0|                if (str == NULL)
  ------------------
  |  Branch (7259:21): [True: 0, False: 0]
  ------------------
 7260|      0|                    goto onError;
 7261|      0|                pos = collend;
 7262|      0|                break;
 7263|       |
 7264|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (7264:13): [True: 0, False: 10.9k]
  ------------------
 7265|       |                /* subtract preallocated bytes */
 7266|      0|                writer->size -= (collend - collstart);
 7267|      0|                str = xmlcharrefreplace(writer, str,
 7268|      0|                                        unicode, collstart, collend);
 7269|      0|                if (str == NULL)
  ------------------
  |  Branch (7269:21): [True: 0, False: 0]
  ------------------
 7270|      0|                    goto onError;
 7271|      0|                pos = collend;
 7272|      0|                break;
 7273|       |
 7274|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7274:13): [True: 0, False: 10.9k]
  ------------------
 7275|      0|                for (i = collstart; i < collend; ++i) {
  ------------------
  |  Branch (7275:37): [True: 0, False: 0]
  ------------------
 7276|      0|                    ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 7277|      0|                    if (ch < 0xdc80 || 0xdcff < ch) {
  ------------------
  |  Branch (7277:25): [True: 0, False: 0]
  |  Branch (7277:40): [True: 0, False: 0]
  ------------------
 7278|       |                        /* Not a UTF-8b surrogate */
 7279|      0|                        break;
 7280|      0|                    }
 7281|      0|                    *str++ = (char)(ch - 0xdc00);
 7282|      0|                    ++pos;
 7283|      0|                }
 7284|      0|                if (i >= collend)
  ------------------
  |  Branch (7284:21): [True: 0, False: 0]
  ------------------
 7285|      0|                    break;
 7286|      0|                collstart = pos;
 7287|      0|                assert(collstart != collend);
 7288|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7289|       |
 7290|      0|            default:
  ------------------
  |  Branch (7290:13): [True: 0, False: 10.9k]
  ------------------
 7291|      0|                rep = unicode_encode_call_errorhandler(errors, &error_handler_obj,
 7292|      0|                                                       encoding, reason, unicode, &exc,
 7293|      0|                                                       collstart, collend, &newpos);
 7294|      0|                if (rep == NULL)
  ------------------
  |  Branch (7294:21): [True: 0, False: 0]
  ------------------
 7295|      0|                    goto onError;
 7296|       |
 7297|      0|                if (newpos < collstart) {
  ------------------
  |  Branch (7297:21): [True: 0, False: 0]
  ------------------
 7298|      0|                    writer->overallocate = 1;
 7299|      0|                    str = PyBytesWriter_GrowAndUpdatePointer(writer,
 7300|      0|                                                             collstart - newpos,
 7301|      0|                                                             str);
 7302|      0|                    if (str == NULL) {
  ------------------
  |  Branch (7302:25): [True: 0, False: 0]
  ------------------
 7303|      0|                        goto onError;
 7304|      0|                    }
 7305|      0|                }
 7306|      0|                else {
 7307|       |                    /* subtract preallocated bytes */
 7308|      0|                    writer->size -= newpos - collstart;
 7309|       |                    /* Only overallocate the buffer if it's not the last write */
 7310|      0|                    writer->overallocate = (newpos < size);
 7311|      0|                }
 7312|       |
 7313|      0|                char *rep_str;
 7314|      0|                Py_ssize_t rep_len;
 7315|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7316|       |                    /* Directly copy bytes result to output. */
 7317|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7318|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7319|      0|                }
 7320|      0|                else {
 7321|      0|                    assert(PyUnicode_Check(rep));
 7322|       |
 7323|      0|                    if (limit == 256 ?
  ------------------
  |  Branch (7323:25): [True: 0, False: 0]
  |  Branch (7323:25): [True: 0, False: 0]
  ------------------
 7324|      0|                        PyUnicode_KIND(rep) != PyUnicode_1BYTE_KIND :
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 7325|      0|                        !PyUnicode_IS_ASCII(rep))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7326|      0|                    {
 7327|       |                        /* Not all characters are smaller than limit */
 7328|      0|                        raise_encode_exception(&exc, encoding, unicode,
 7329|      0|                                               collstart, collend, reason);
 7330|      0|                        goto onError;
 7331|      0|                    }
 7332|      0|                    assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND);
 7333|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7334|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7335|      0|                }
 7336|       |
 7337|      0|                str = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, str);
 7338|      0|                if (str == NULL) {
  ------------------
  |  Branch (7338:21): [True: 0, False: 0]
  ------------------
 7339|      0|                    goto onError;
 7340|      0|                }
 7341|      0|                memcpy(str, rep_str, rep_len);
 7342|      0|                str += rep_len;
 7343|       |
 7344|      0|                pos = newpos;
 7345|      0|                Py_CLEAR(rep);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7346|  10.9k|            }
 7347|       |
 7348|       |            /* If overallocation was disabled, ensure that it was the last
 7349|       |               write. Otherwise, we missed an optimization */
 7350|  10.9k|            assert(writer->overallocate || pos == size);
 7351|  6.03k|        }
 7352|  12.0k|    }
 7353|       |
 7354|  5.92k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  5.92k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7355|  5.92k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  5.92k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7356|  5.92k|    return PyBytesWriter_FinishWithPointer(writer, str);
 7357|       |
 7358|  4.91k|  onError:
 7359|  4.91k|    Py_XDECREF(rep);
  ------------------
  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7360|  4.91k|    PyBytesWriter_Discard(writer);
 7361|  4.91k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7362|  4.91k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7363|       |    return NULL;
 7364|  10.8k|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9330|     98|{
 9331|       |    /* input object */
 9332|     98|    const void *data;
 9333|     98|    Py_ssize_t size, i;
 9334|     98|    int kind;
 9335|       |    /* output buffer */
 9336|     98|    _PyUnicodeWriter writer;
 9337|       |    /* error handler */
 9338|     98|    const char *reason = "character maps to <undefined>";
 9339|     98|    PyObject *errorHandler = NULL;
 9340|     98|    PyObject *exc = NULL;
 9341|     98|    int ignore;
 9342|     98|    int res;
 9343|       |
 9344|     98|    if (mapping == NULL) {
  ------------------
  |  Branch (9344:9): [True: 0, False: 98]
  ------------------
 9345|      0|        PyErr_BadArgument();
 9346|      0|        return NULL;
 9347|      0|    }
 9348|       |
 9349|     98|    data = PyUnicode_DATA(input);
  ------------------
  |  |  284|     98|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9350|     98|    kind = PyUnicode_KIND(input);
  ------------------
  |  |  258|     98|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     98|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9351|     98|    size = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     98|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9352|       |
 9353|     98|    if (size == 0)
  ------------------
  |  Branch (9353:9): [True: 0, False: 98]
  ------------------
 9354|      0|        return PyUnicode_FromObject(input);
 9355|       |
 9356|       |    /* allocate enough for a simple 1:1 translation without
 9357|       |       replacements, if we need more, we'll resize */
 9358|     98|    _PyUnicodeWriter_Init(&writer);
 9359|     98|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1)
  ------------------
  |  |  562|     98|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 98]
  |  |  ------------------
  |  |  563|     98|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     98|     ? 0                                                              \
  |  |  565|     98|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 98]
  |  |  ------------------
  |  |  566|     98|        ? 0                                                           \
  |  |  567|     98|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (9359:9): [True: 0, False: 98]
  ------------------
 9360|      0|        goto onError;
 9361|       |
 9362|     98|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9362:15): [True: 98, False: 0]
  |  Branch (9362:33): [True: 98, False: 0]
  ------------------
 9363|       |
 9364|     98|    if (PyUnicode_IS_ASCII(input)) {
  ------------------
  |  |  227|     98|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 98, False: 0]
  |  |  ------------------
  ------------------
 9365|     98|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9366|     98|        if (res < 0) {
  ------------------
  |  Branch (9366:13): [True: 0, False: 98]
  ------------------
 9367|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9368|      0|            return NULL;
 9369|      0|        }
 9370|     98|        if (res == 1)
  ------------------
  |  Branch (9370:13): [True: 48, False: 50]
  ------------------
 9371|     48|            return _PyUnicodeWriter_Finish(&writer);
 9372|     98|    }
 9373|      0|    else {
 9374|      0|        i = 0;
 9375|      0|    }
 9376|       |
 9377|    134|    while (i<size) {
  ------------------
  |  Branch (9377:12): [True: 84, False: 50]
  ------------------
 9378|       |        /* try to encode it */
 9379|     84|        int translate;
 9380|     84|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9381|     84|        Py_ssize_t newpos;
 9382|       |        /* startpos for collecting untranslatable chars */
 9383|     84|        Py_ssize_t collstart;
 9384|     84|        Py_ssize_t collend;
 9385|     84|        Py_UCS4 ch;
 9386|       |
 9387|     84|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|     84|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     84|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     84|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     84|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     84|                   (index))
  ------------------
 9388|     84|        translate = charmaptranslate_output(ch, mapping, &writer);
 9389|     84|        if (translate < 0)
  ------------------
  |  Branch (9389:13): [True: 0, False: 84]
  ------------------
 9390|      0|            goto onError;
 9391|       |
 9392|     84|        if (translate != 0) {
  ------------------
  |  Branch (9392:13): [True: 84, False: 0]
  ------------------
 9393|       |            /* it worked => adjust input pointer */
 9394|     84|            ++i;
 9395|     84|            continue;
 9396|     84|        }
 9397|       |
 9398|       |        /* untranslatable character */
 9399|      0|        collstart = i;
 9400|      0|        collend = i+1;
 9401|       |
 9402|       |        /* find all untranslatable characters */
 9403|      0|        while (collend < size) {
  ------------------
  |  Branch (9403:16): [True: 0, False: 0]
  ------------------
 9404|      0|            PyObject *x;
 9405|      0|            Py_UCS4 replace;
 9406|      0|            ch = PyUnicode_READ(kind, data, collend);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 9407|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9407:17): [True: 0, False: 0]
  ------------------
 9408|      0|                goto onError;
 9409|      0|            Py_XDECREF(x);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9410|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9410:17): [True: 0, False: 0]
  ------------------
 9411|      0|                break;
 9412|      0|            ++collend;
 9413|      0|        }
 9414|       |
 9415|      0|        if (ignore) {
  ------------------
  |  Branch (9415:13): [True: 0, False: 0]
  ------------------
 9416|      0|            i = collend;
 9417|      0|        }
 9418|      0|        else {
 9419|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9420|      0|                                                             reason, input, &exc,
 9421|      0|                                                             collstart, collend, &newpos);
 9422|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9422:17): [True: 0, False: 0]
  ------------------
 9423|      0|                goto onError;
 9424|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9424:17): [True: 0, False: 0]
  ------------------
 9425|      0|                Py_DECREF(repunicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9426|      0|                goto onError;
 9427|      0|            }
 9428|      0|            Py_DECREF(repunicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9429|      0|            i = newpos;
 9430|      0|        }
 9431|      0|    }
 9432|     50|    Py_XDECREF(exc);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9433|     50|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9434|     50|    return _PyUnicodeWriter_Finish(&writer);
 9435|       |
 9436|      0|  onError:
 9437|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9438|      0|    Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9439|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9440|       |    return NULL;
 9441|     50|}
unicodeobject.c:unicode_fast_translate:
 9279|     98|{
 9280|     98|    Py_UCS1 ascii_table[128], ch, ch2;
 9281|     98|    Py_ssize_t len;
 9282|     98|    const Py_UCS1 *in, *end;
 9283|     98|    Py_UCS1 *out;
 9284|     98|    int res = 0;
 9285|       |
 9286|     98|    len = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  299|     98|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9287|       |
 9288|     98|    memset(ascii_table, 0xff, 128);
 9289|       |
 9290|     98|    in = PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     98|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     98|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9291|     98|    end = in + len;
 9292|       |
 9293|     98|    assert(PyUnicode_IS_ASCII(writer->buffer));
 9294|     98|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
 9295|     98|    out = PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     98|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     98|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9296|       |
 9297|    180|    for (; in < end; in++) {
  ------------------
  |  Branch (9297:12): [True: 132, False: 48]
  ------------------
 9298|    132|        ch = *in;
 9299|    132|        ch2 = ascii_table[ch];
 9300|    132|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9300:13): [True: 118, False: 14]
  ------------------
 9301|    118|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9302|    118|                                                          ascii_table);
 9303|    118|            if (translate < 0)
  ------------------
  |  Branch (9303:17): [True: 0, False: 118]
  ------------------
 9304|      0|                return -1;
 9305|    118|            if (translate == 0)
  ------------------
  |  Branch (9305:17): [True: 50, False: 68]
  ------------------
 9306|     50|                goto exit;
 9307|     68|            ch2 = ascii_table[ch];
 9308|     68|        }
 9309|     82|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9309:13): [True: 0, False: 82]
  ------------------
 9310|      0|            if (ignore)
  ------------------
  |  Branch (9310:17): [True: 0, False: 0]
  ------------------
 9311|      0|                continue;
 9312|      0|            goto exit;
 9313|      0|        }
 9314|     82|        assert(ch2 < 128);
 9315|     82|        *out = ch2;
 9316|     82|        out++;
 9317|     82|    }
 9318|     48|    res = 1;
 9319|       |
 9320|     98|exit:
 9321|     98|    writer->pos = out - PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  291|     98|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     98|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9322|     98|    *input_pos = in - PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  291|     98|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     98|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9323|     98|    return res;
 9324|     48|}
unicodeobject.c:unicode_fast_translate_lookup:
 9226|    118|{
 9227|    118|    PyObject *item = NULL;
 9228|    118|    Py_UCS4 replace;
 9229|    118|    int ret = 0;
 9230|       |
 9231|    118|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9231:9): [True: 0, False: 118]
  ------------------
 9232|      0|        return -1;
 9233|      0|    }
 9234|       |
 9235|    118|    if (item == Py_None) {
  ------------------
  |  |  616|    118|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9235:9): [True: 0, False: 118]
  ------------------
 9236|       |        /* deletion */
 9237|      0|        translate[ch] = 0xfe;
 9238|      0|    }
 9239|    118|    else if (item == NULL) {
  ------------------
  |  Branch (9239:14): [True: 68, False: 50]
  ------------------
 9240|       |        /* not found => default to 1:1 mapping */
 9241|     68|        translate[ch] = ch;
 9242|     68|        return 1;
 9243|     68|    }
 9244|     50|    else if (PyLong_Check(item)) {
  ------------------
  |  |   13|     50|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9245|      0|        if (replace > 127) {
  ------------------
  |  Branch (9245:13): [True: 0, False: 0]
  ------------------
 9246|       |            /* invalid character or character outside ASCII:
 9247|       |               skip the fast translate */
 9248|      0|            goto exit;
 9249|      0|        }
 9250|      0|        translate[ch] = (Py_UCS1)replace;
 9251|      0|    }
 9252|     50|    else if (PyUnicode_Check(item)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9253|     50|        if (PyUnicode_GET_LENGTH(item) != 1)
  ------------------
  |  |  299|     50|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9253:13): [True: 50, False: 0]
  ------------------
 9254|     50|            goto exit;
 9255|       |
 9256|      0|        replace = PyUnicode_READ_CHAR(item, 0);
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9257|      0|        if (replace > 127)
  ------------------
  |  Branch (9257:13): [True: 0, False: 0]
  ------------------
 9258|      0|            goto exit;
 9259|      0|        translate[ch] = (Py_UCS1)replace;
 9260|      0|    }
 9261|      0|    else {
 9262|       |        /* not None, NULL, long or unicode */
 9263|      0|        goto exit;
 9264|      0|    }
 9265|      0|    ret = 1;
 9266|       |
 9267|     50|  exit:
 9268|     50|    Py_DECREF(item);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9269|     50|    return ret;
 9270|      0|}
unicodeobject.c:charmaptranslate_output:
 9180|     84|{
 9181|     84|    PyObject *item;
 9182|     84|    Py_UCS4 replace;
 9183|       |
 9184|     84|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9184:9): [True: 0, False: 84]
  ------------------
 9185|      0|        return -1;
 9186|       |
 9187|     84|    if (item == NULL) {
  ------------------
  |  Branch (9187:9): [True: 16, False: 68]
  ------------------
 9188|       |        /* not found => default to 1:1 mapping */
 9189|     16|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9189:13): [True: 0, False: 16]
  ------------------
 9190|      0|            return -1;
 9191|      0|        }
 9192|     16|        return 1;
 9193|     16|    }
 9194|       |
 9195|     68|    if (item == Py_None) {
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9195:9): [True: 0, False: 68]
  ------------------
 9196|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9197|      0|        return 0;
 9198|      0|    }
 9199|       |
 9200|     68|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|     68|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9201|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9201:13): [True: 0, False: 0]
  ------------------
 9202|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9203|      0|            return -1;
 9204|      0|        }
 9205|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9206|      0|        return 1;
 9207|      0|    }
 9208|       |
 9209|     68|    if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|     68|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9209:9): [True: 0, False: 68]
  ------------------
 9210|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9211|      0|        return -1;
 9212|      0|    }
 9213|       |
 9214|     68|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9214:9): [True: 0, False: 68]
  ------------------
 9215|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9216|      0|        return -1;
 9217|      0|    }
 9218|       |
 9219|     68|    Py_DECREF(item);
  ------------------
  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9220|     68|    return 1;
 9221|     68|}
unicodeobject.c:charmaptranslate_lookup:
 9122|    202|{
 9123|    202|    PyObject *w = PyLong_FromLong((long)c);
 9124|    202|    PyObject *x;
 9125|       |
 9126|    202|    if (w == NULL)
  ------------------
  |  Branch (9126:9): [True: 0, False: 202]
  ------------------
 9127|      0|        return -1;
 9128|    202|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9129|    202|    Py_DECREF(w);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9130|    202|    if (rc == 0) {
  ------------------
  |  Branch (9130:9): [True: 84, False: 118]
  ------------------
 9131|       |        /* No mapping found means: use 1:1 mapping. */
 9132|     84|        *result = NULL;
 9133|     84|        return 0;
 9134|     84|    }
 9135|    118|    if (x == NULL) {
  ------------------
  |  Branch (9135:9): [True: 0, False: 118]
  ------------------
 9136|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9136:13): [True: 0, False: 0]
  ------------------
 9137|       |            /* No mapping found means: use 1:1 mapping. */
 9138|      0|            PyErr_Clear();
 9139|      0|            *result = NULL;
 9140|      0|            return 0;
 9141|      0|        } else
 9142|      0|            return -1;
 9143|      0|    }
 9144|    118|    else if (x == Py_None) {
  ------------------
  |  |  616|    118|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9144:14): [True: 0, False: 118]
  ------------------
 9145|      0|        *result = x;
 9146|      0|        return 0;
 9147|      0|    }
 9148|    118|    else if (PyLong_Check(x)) {
  ------------------
  |  |   13|    118|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    118|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 118]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9149|      0|        long value = PyLong_AsLong(x);
 9150|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  104|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9150:13): [True: 0, False: 0]
  |  Branch (9150:26): [True: 0, False: 0]
  ------------------
 9151|      0|            PyErr_Format(PyExc_ValueError,
 9152|      0|                         "character mapping must be in range(0x%lx)",
 9153|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  104|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9154|      0|            Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9155|      0|            return -1;
 9156|      0|        }
 9157|      0|        *result = x;
 9158|      0|        *replace = (Py_UCS4)value;
 9159|      0|        return 0;
 9160|      0|    }
 9161|    118|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|    118|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    118|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 118, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9162|    118|        *result = x;
 9163|    118|        return 0;
 9164|    118|    }
 9165|      0|    else {
 9166|       |        /* wrong return value */
 9167|      0|        PyErr_SetString(PyExc_TypeError,
 9168|      0|                        "character mapping must return integer, None or str");
 9169|      0|        Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9170|      0|        return -1;
 9171|      0|    }
 9172|    118|}
unicodeobject.c:any_find_slice:
 9526|    560|{
 9527|    560|    int kind1, kind2;
 9528|    560|    const void *buf1, *buf2;
 9529|    560|    Py_ssize_t len1, len2, result;
 9530|       |
 9531|    560|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  258|    560|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    560|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9532|    560|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  258|    560|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    560|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9533|    560|    if (kind1 < kind2)
  ------------------
  |  Branch (9533:9): [True: 0, False: 560]
  ------------------
 9534|      0|        return -1;
 9535|       |
 9536|    560|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  299|    560|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9537|    560|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  299|    560|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9538|    560|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9503|    560|    do {                                \
  |  | 9504|    560|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 558, False: 2]
  |  |  ------------------
  |  | 9505|    558|            end = len;                  \
  |  | 9506|    558|        }                               \
  |  | 9507|    560|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9507:18): [True: 0, False: 2]
  |  |  ------------------
  |  | 9508|      0|            end += len;                 \
  |  | 9509|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9509:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9510|      0|                end = 0;                \
  |  | 9511|      0|            }                           \
  |  | 9512|      0|        }                               \
  |  | 9513|    560|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 560]
  |  |  ------------------
  |  | 9514|      0|            start += len;               \
  |  | 9515|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9515:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9516|      0|                start = 0;              \
  |  | 9517|      0|            }                           \
  |  | 9518|      0|        }                               \
  |  | 9519|    560|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 560]
  |  |  ------------------
  ------------------
 9539|    560|    if (end - start < len2)
  ------------------
  |  Branch (9539:9): [True: 0, False: 560]
  ------------------
 9540|      0|        return -1;
 9541|       |
 9542|    560|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  284|    560|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9543|    560|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  284|    560|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9544|    560|    if (len2 == 1) {
  ------------------
  |  Branch (9544:9): [True: 560, False: 0]
  ------------------
 9545|    560|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|    560|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    560|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    560|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    560|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    560|                   (index))
  ------------------
 9546|    560|        result = findchar((const char *)buf1 + kind1*start,
 9547|    560|                          kind1, end - start, ch, direction);
 9548|    560|        if (result == -1)
  ------------------
  |  Branch (9548:13): [True: 10, False: 550]
  ------------------
 9549|     10|            return -1;
 9550|    550|        else
 9551|    550|            return start + result;
 9552|    560|    }
 9553|       |
 9554|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (9554:9): [True: 0, False: 0]
  ------------------
 9555|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
 9556|      0|        if (!buf2)
  ------------------
  |  Branch (9556:13): [True: 0, False: 0]
  ------------------
 9557|      0|            return -2;
 9558|      0|    }
 9559|       |
 9560|      0|    if (direction > 0) {
  ------------------
  |  Branch (9560:9): [True: 0, False: 0]
  ------------------
 9561|      0|        switch (kind1) {
 9562|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9562:9): [True: 0, False: 0]
  ------------------
 9563|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 9564|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
 9565|      0|            else
 9566|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
 9567|      0|            break;
 9568|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9568:9): [True: 0, False: 0]
  ------------------
 9569|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
 9570|      0|            break;
 9571|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9571:9): [True: 0, False: 0]
  ------------------
 9572|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
 9573|      0|            break;
 9574|      0|        default:
  ------------------
  |  Branch (9574:9): [True: 0, False: 0]
  ------------------
 9575|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9576|      0|        }
 9577|      0|    }
 9578|      0|    else {
 9579|      0|        switch (kind1) {
 9580|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9580:9): [True: 0, False: 0]
  ------------------
 9581|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 9582|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9583|      0|            else
 9584|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9585|      0|            break;
 9586|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9586:9): [True: 0, False: 0]
  ------------------
 9587|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9588|      0|            break;
 9589|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9589:9): [True: 0, False: 0]
  ------------------
 9590|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9591|      0|            break;
 9592|      0|        default:
  ------------------
  |  Branch (9592:9): [True: 0, False: 0]
  ------------------
 9593|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9594|      0|        }
 9595|      0|    }
 9596|       |
 9597|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
 9598|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (9598:9): [True: 0, False: 0]
  ------------------
 9599|      0|        PyMem_Free((void *)buf2);
 9600|       |
 9601|      0|    return result;
 9602|      0|}
unicodeobject.c:tailmatch:
 9656|  17.8k|{
 9657|  17.8k|    int kind_self;
 9658|  17.8k|    int kind_sub;
 9659|  17.8k|    const void *data_self;
 9660|  17.8k|    const void *data_sub;
 9661|  17.8k|    Py_ssize_t offset;
 9662|  17.8k|    Py_ssize_t i;
 9663|  17.8k|    Py_ssize_t end_sub;
 9664|       |
 9665|  17.8k|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9503|  17.8k|    do {                                \
  |  | 9504|  17.8k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 17.8k, False: 0]
  |  |  ------------------
  |  | 9505|  17.8k|            end = len;                  \
  |  | 9506|  17.8k|        }                               \
  |  | 9507|  17.8k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9507:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9508|      0|            end += len;                 \
  |  | 9509|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9509:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9510|      0|                end = 0;                \
  |  | 9511|      0|            }                           \
  |  | 9512|      0|        }                               \
  |  | 9513|  17.8k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 17.8k]
  |  |  ------------------
  |  | 9514|      0|            start += len;               \
  |  | 9515|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9515:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9516|      0|                start = 0;              \
  |  | 9517|      0|            }                           \
  |  | 9518|      0|        }                               \
  |  | 9519|  17.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 17.8k]
  |  |  ------------------
  ------------------
 9666|  17.8k|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|  17.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9667|  17.8k|    if (end < start)
  ------------------
  |  Branch (9667:9): [True: 820, False: 17.0k]
  ------------------
 9668|    820|        return 0;
 9669|       |
 9670|  17.0k|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  299|  17.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9670:9): [True: 0, False: 17.0k]
  ------------------
 9671|      0|        return 1;
 9672|       |
 9673|  17.0k|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  258|  17.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  17.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9674|  17.0k|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  284|  17.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9675|  17.0k|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  258|  17.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  17.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9676|  17.0k|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  284|  17.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9677|  17.0k|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  299|  17.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9678|       |
 9679|  17.0k|    if (direction > 0)
  ------------------
  |  Branch (9679:9): [True: 2.67k, False: 14.3k]
  ------------------
 9680|  2.67k|        offset = end;
 9681|  14.3k|    else
 9682|  14.3k|        offset = start;
 9683|       |
 9684|  17.0k|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  354|  17.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  17.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  17.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  17.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  17.0k|                   (index))
  ------------------
  |  Branch (9684:9): [True: 9.58k, False: 7.42k]
  ------------------
 9685|  17.0k|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  354|  34.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  17.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  34.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  17.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  34.0k|                   (index))
  ------------------
 9686|  9.58k|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  354|  9.58k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.58k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.58k|                   (index))
  ------------------
  |  Branch (9686:9): [True: 8.18k, False: 1.39k]
  ------------------
 9687|  9.58k|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  354|  9.58k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.58k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.58k|                   (index))
  ------------------
 9688|       |        /* If both are of the same kind, memcmp is sufficient */
 9689|  8.18k|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (9689:13): [True: 8.18k, False: 0]
  ------------------
 9690|  8.18k|            return ! memcmp((char *)data_self +
 9691|  8.18k|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  258|  8.18k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  8.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9692|  8.18k|                            data_sub,
 9693|  8.18k|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  299|  8.18k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9694|  8.18k|                                PyUnicode_KIND(substring));
  ------------------
  |  |  258|  8.18k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  8.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9695|  8.18k|        }
 9696|       |        /* otherwise we have to compare each character by first accessing it */
 9697|      0|        else {
 9698|       |            /* We do not need to compare 0 and len(substring)-1 because
 9699|       |               the if statement above ensured already that they are equal
 9700|       |               when we end up here. */
 9701|      0|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (9701:25): [True: 0, False: 0]
  ------------------
 9702|      0|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  |  Branch (9702:21): [True: 0, False: 0]
  ------------------
 9703|      0|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
 9704|      0|                    return 0;
 9705|      0|            }
 9706|      0|            return 1;
 9707|      0|        }
 9708|  8.18k|    }
 9709|       |
 9710|  8.82k|    return 0;
 9711|  17.0k|}
unicodeobject.c:unicode_compare:
10900|  2.00k|{
10901|  2.00k|#define COMPARE(TYPE1, TYPE2) \
10902|  2.00k|    do { \
10903|  2.00k|        TYPE1* p1 = (TYPE1 *)data1; \
10904|  2.00k|        TYPE2* p2 = (TYPE2 *)data2; \
10905|  2.00k|        TYPE1* end = p1 + len; \
10906|  2.00k|        Py_UCS4 c1, c2; \
10907|  2.00k|        for (; p1 != end; p1++, p2++) { \
10908|  2.00k|            c1 = *p1; \
10909|  2.00k|            c2 = *p2; \
10910|  2.00k|            if (c1 != c2) \
10911|  2.00k|                return (c1 < c2) ? -1 : 1; \
10912|  2.00k|        } \
10913|  2.00k|    } \
10914|  2.00k|    while (0)
10915|       |
10916|  2.00k|    int kind1, kind2;
10917|  2.00k|    const void *data1, *data2;
10918|  2.00k|    Py_ssize_t len1, len2, len;
10919|       |
10920|  2.00k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  2.00k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10921|  2.00k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  2.00k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10922|  2.00k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  2.00k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10923|  2.00k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  2.00k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10924|  2.00k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  2.00k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10925|  2.00k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  2.00k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10926|  2.00k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  112|  2.00k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 532, False: 1.47k]
  |  |  ------------------
  ------------------
10927|       |
10928|  2.00k|    switch(kind1) {
10929|  1.79k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10929:5): [True: 1.79k, False: 207]
  ------------------
10930|  1.79k|    {
10931|  1.79k|        switch(kind2) {
10932|  1.73k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10932:9): [True: 1.73k, False: 62]
  ------------------
10933|  1.73k|        {
10934|  1.73k|            int cmp = memcmp(data1, data2, len);
10935|       |            /* normalize result of memcmp() into the range [-1; 1] */
10936|  1.73k|            if (cmp < 0)
  ------------------
  |  Branch (10936:17): [True: 731, False: 1.00k]
  ------------------
10937|    731|                return -1;
10938|  1.00k|            if (cmp > 0)
  ------------------
  |  Branch (10938:17): [True: 483, False: 519]
  ------------------
10939|    483|                return 1;
10940|    519|            break;
10941|  1.00k|        }
10942|    519|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10942:9): [True: 60, False: 1.73k]
  ------------------
10943|     60|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |10902|     60|    do { \
  |  |10903|     60|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     60|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     60|        TYPE1* end = p1 + len; \
  |  |10906|     60|        Py_UCS4 c1, c2; \
  |  |10907|     60|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 60, False: 0]
  |  |  ------------------
  |  |10908|     60|            c1 = *p1; \
  |  |10909|     60|            c2 = *p2; \
  |  |10910|     60|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 60, False: 0]
  |  |  ------------------
  |  |10911|     60|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 46, False: 14]
  |  |  ------------------
  |  |10912|     60|        } \
  |  |10913|     60|    } \
  |  |10914|     60|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10944|      0|            break;
10945|      2|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10945:9): [True: 2, False: 1.79k]
  ------------------
10946|      2|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |10902|      2|    do { \
  |  |10903|      2|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|      2|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|      2|        TYPE1* end = p1 + len; \
  |  |10906|      2|        Py_UCS4 c1, c2; \
  |  |10907|      2|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 2, False: 0]
  |  |  ------------------
  |  |10908|      2|            c1 = *p1; \
  |  |10909|      2|            c2 = *p2; \
  |  |10910|      2|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 2, False: 0]
  |  |  ------------------
  |  |10911|      2|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 2, False: 0]
  |  |  ------------------
  |  |10912|      2|        } \
  |  |10913|      2|    } \
  |  |10914|      2|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10947|      0|            break;
10948|      0|        default:
  ------------------
  |  Branch (10948:9): [True: 0, False: 1.79k]
  ------------------
10949|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10950|  1.79k|        }
10951|    519|        break;
10952|  1.79k|    }
10953|    519|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10953:5): [True: 130, False: 1.87k]
  ------------------
10954|    130|    {
10955|    130|        switch(kind2) {
10956|     36|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10956:9): [True: 36, False: 94]
  ------------------
10957|     36|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |10902|     36|    do { \
  |  |10903|     36|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     36|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     36|        TYPE1* end = p1 + len; \
  |  |10906|     36|        Py_UCS4 c1, c2; \
  |  |10907|     36|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 36, False: 0]
  |  |  ------------------
  |  |10908|     36|            c1 = *p1; \
  |  |10909|     36|            c2 = *p2; \
  |  |10910|     36|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 36, False: 0]
  |  |  ------------------
  |  |10911|     36|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 11, False: 25]
  |  |  ------------------
  |  |10912|     36|        } \
  |  |10913|     36|    } \
  |  |10914|     36|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10958|      0|            break;
10959|     77|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10959:9): [True: 77, False: 53]
  ------------------
10960|     77|        {
10961|     77|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |10902|     77|    do { \
  |  |10903|     77|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     77|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     77|        TYPE1* end = p1 + len; \
  |  |10906|     77|        Py_UCS4 c1, c2; \
  |  |10907|     79|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 79, False: 0]
  |  |  ------------------
  |  |10908|     79|            c1 = *p1; \
  |  |10909|     79|            c2 = *p2; \
  |  |10910|     79|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 77, False: 2]
  |  |  ------------------
  |  |10911|     79|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 42, False: 35]
  |  |  ------------------
  |  |10912|     79|        } \
  |  |10913|     77|    } \
  |  |10914|     77|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10962|      0|            break;
10963|     77|        }
10964|     17|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10964:9): [True: 17, False: 113]
  ------------------
10965|     17|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |10902|     17|    do { \
  |  |10903|     17|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     17|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     17|        TYPE1* end = p1 + len; \
  |  |10906|     17|        Py_UCS4 c1, c2; \
  |  |10907|     17|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 17, False: 0]
  |  |  ------------------
  |  |10908|     17|            c1 = *p1; \
  |  |10909|     17|            c2 = *p2; \
  |  |10910|     17|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 17, False: 0]
  |  |  ------------------
  |  |10911|     17|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 17, False: 0]
  |  |  ------------------
  |  |10912|     17|        } \
  |  |10913|     17|    } \
  |  |10914|     17|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10966|      0|            break;
10967|      0|        default:
  ------------------
  |  Branch (10967:9): [True: 0, False: 130]
  ------------------
10968|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10969|    130|        }
10970|      0|        break;
10971|    130|    }
10972|     77|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10972:5): [True: 77, False: 1.92k]
  ------------------
10973|     77|    {
10974|     77|        switch(kind2) {
10975|     13|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10975:9): [True: 13, False: 64]
  ------------------
10976|     13|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |10902|     13|    do { \
  |  |10903|     13|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     13|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     13|        TYPE1* end = p1 + len; \
  |  |10906|     13|        Py_UCS4 c1, c2; \
  |  |10907|     13|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 13, False: 0]
  |  |  ------------------
  |  |10908|     13|            c1 = *p1; \
  |  |10909|     13|            c2 = *p2; \
  |  |10910|     13|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 13, False: 0]
  |  |  ------------------
  |  |10911|     13|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 0, False: 13]
  |  |  ------------------
  |  |10912|     13|        } \
  |  |10913|     13|    } \
  |  |10914|     13|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10977|      0|            break;
10978|     26|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10978:9): [True: 26, False: 51]
  ------------------
10979|     26|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |10902|     26|    do { \
  |  |10903|     26|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10904|     26|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10905|     26|        TYPE1* end = p1 + len; \
  |  |10906|     26|        Py_UCS4 c1, c2; \
  |  |10907|     26|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10907:16): [True: 26, False: 0]
  |  |  ------------------
  |  |10908|     26|            c1 = *p1; \
  |  |10909|     26|            c2 = *p2; \
  |  |10910|     26|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10910:17): [True: 26, False: 0]
  |  |  ------------------
  |  |10911|     26|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10911:24): [True: 0, False: 26]
  |  |  ------------------
  |  |10912|     26|        } \
  |  |10913|     26|    } \
  |  |10914|     26|    while (0)
  |  |  ------------------
  |  |  |  Branch (10914:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10980|      0|            break;
10981|     38|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10981:9): [True: 38, False: 39]
  ------------------
10982|     38|        {
10983|     38|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
10984|     38|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
10985|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
10986|     38|            if (cmp < 0)
  ------------------
  |  Branch (10986:17): [True: 19, False: 19]
  ------------------
10987|     19|                return -1;
10988|     19|            if (cmp > 0)
  ------------------
  |  Branch (10988:17): [True: 19, False: 0]
  ------------------
10989|     19|                return 1;
10990|       |#else
10991|       |            COMPARE(Py_UCS4, Py_UCS4);
10992|       |#endif
10993|      0|            break;
10994|     19|        }
10995|      0|        default:
  ------------------
  |  Branch (10995:9): [True: 0, False: 77]
  ------------------
10996|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10997|     77|        }
10998|      0|        break;
10999|     77|    }
11000|      0|    default:
  ------------------
  |  Branch (11000:5): [True: 0, False: 2.00k]
  ------------------
11001|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11002|  2.00k|    }
11003|       |
11004|    519|    if (len1 == len2)
  ------------------
  |  Branch (11004:9): [True: 502, False: 17]
  ------------------
11005|    502|        return 0;
11006|     17|    if (len1 < len2)
  ------------------
  |  Branch (11006:9): [True: 5, False: 12]
  ------------------
11007|      5|        return -1;
11008|     12|    else
11009|     12|        return 1;
11010|       |
11011|     17|#undef COMPARE
11012|     17|}
unicodeobject.c:make_bloom_mask:
  917|  9.25k|{
  918|  9.25k|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  919|  9.25k|    do {                                               \
  920|  9.25k|        TYPE *data = (TYPE *)PTR;                      \
  921|  9.25k|        TYPE *end = data + LEN;                        \
  922|  9.25k|        Py_UCS4 ch;                                    \
  923|  9.25k|        for (; data != end; data++) {                  \
  924|  9.25k|            ch = *data;                                \
  925|  9.25k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  926|  9.25k|        }                                              \
  927|  9.25k|        break;                                         \
  928|  9.25k|    } while (0)
  929|       |
  930|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  931|       |
  932|  9.25k|    BLOOM_MASK mask;
  ------------------
  |  |  905|  9.25k|#define BLOOM_MASK unsigned long
  ------------------
  933|       |
  934|  9.25k|    mask = 0;
  935|  9.25k|    switch (kind) {
  936|  9.25k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (936:5): [True: 9.25k, False: 2]
  ------------------
  937|  9.25k|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  919|  9.25k|    do {                                               \
  |  |  920|  9.25k|        TYPE *data = (TYPE *)PTR;                      \
  |  |  921|  9.25k|        TYPE *end = data + LEN;                        \
  |  |  922|  9.25k|        Py_UCS4 ch;                                    \
  |  |  923|  18.5k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (923:16): [True: 9.27k, False: 9.25k]
  |  |  ------------------
  |  |  924|  9.27k|            ch = *data;                                \
  |  |  925|  9.27k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  898|  9.27k|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  926|  9.27k|        }                                              \
  |  |  927|  9.25k|        break;                                         \
  |  |  928|  9.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (928:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  938|  9.25k|        break;
  939|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (939:5): [True: 2, False: 9.25k]
  ------------------
  940|      2|        BLOOM_UPDATE(Py_UCS2, mask, ptr, len);
  ------------------
  |  |  919|      2|    do {                                               \
  |  |  920|      2|        TYPE *data = (TYPE *)PTR;                      \
  |  |  921|      2|        TYPE *end = data + LEN;                        \
  |  |  922|      2|        Py_UCS4 ch;                                    \
  |  |  923|     18|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (923:16): [True: 16, False: 2]
  |  |  ------------------
  |  |  924|     16|            ch = *data;                                \
  |  |  925|     16|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  898|     16|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  926|     16|        }                                              \
  |  |  927|      2|        break;                                         \
  |  |  928|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (928:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  941|      2|        break;
  942|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (942:5): [True: 0, False: 9.25k]
  ------------------
  943|      0|        BLOOM_UPDATE(Py_UCS4, mask, ptr, len);
  ------------------
  |  |  919|      0|    do {                                               \
  |  |  920|      0|        TYPE *data = (TYPE *)PTR;                      \
  |  |  921|      0|        TYPE *end = data + LEN;                        \
  |  |  922|      0|        Py_UCS4 ch;                                    \
  |  |  923|      0|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (923:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|            ch = *data;                                \
  |  |  925|      0|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  898|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  926|      0|        }                                              \
  |  |  927|      0|        break;                                         \
  |  |  928|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (928:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  944|      0|        break;
  945|      0|    default:
  ------------------
  |  Branch (945:5): [True: 0, False: 9.25k]
  ------------------
  946|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  947|  9.25k|    }
  948|  9.25k|    return mask;
  949|       |
  950|  9.25k|#undef BLOOM_UPDATE
  951|  9.25k|}
unicodeobject.c:unicode_result_unchanged:
  751|  14.3k|{
  752|  14.3k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|  14.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  14.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  14.3k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|  14.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|  14.3k|    }
  755|      0|    else
  756|       |        /* Subtype -- return genuine unicode string with the same value. */
  757|      0|        return _PyUnicode_Copy(unicode);
  758|  14.3k|}
unicodeobject.c:replace:
10518|  4.26k|{
10519|  4.26k|    PyObject *u;
10520|  4.26k|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  284|  4.26k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10521|  4.26k|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  4.26k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10522|  4.26k|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  4.26k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10523|  4.26k|    int srelease = 0, release1 = 0, release2 = 0;
10524|  4.26k|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  4.26k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10525|  4.26k|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  4.26k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10526|  4.26k|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  4.26k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10527|  4.26k|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.26k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|  4.26k|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  4.26k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|  4.26k|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  4.26k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10530|  4.26k|    int mayshrink;
10531|  4.26k|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10532|       |
10533|  4.26k|    if (slen < len1)
  ------------------
  |  Branch (10533:9): [True: 52, False: 4.21k]
  ------------------
10534|     52|        goto nothing;
10535|       |
10536|  4.21k|    if (maxcount < 0)
  ------------------
  |  Branch (10536:9): [True: 4.21k, False: 0]
  ------------------
10537|  4.21k|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  4.21k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
10538|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (10538:14): [True: 0, False: 0]
  ------------------
10539|      0|        goto nothing;
10540|       |
10541|  4.21k|    if (str1 == str2)
  ------------------
  |  Branch (10541:9): [True: 0, False: 4.21k]
  ------------------
10542|      0|        goto nothing;
10543|       |
10544|  4.21k|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  405|  4.21k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10545|  4.21k|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  405|  4.21k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10546|  4.21k|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (10546:9): [True: 0, False: 4.21k]
  ------------------
10547|       |        /* substring too wide to be present */
10548|      0|        goto nothing;
10549|  4.21k|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  405|  4.21k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10550|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
10551|       |       result string. */
10552|  4.21k|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (10552:17): [True: 0, False: 4.21k]
  |  Branch (10552:50): [True: 0, False: 0]
  ------------------
10553|  4.21k|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  115|  4.21k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 4.21k]
  |  |  ------------------
  ------------------
10554|       |
10555|  4.21k|    if (len1 == len2) {
  ------------------
  |  Branch (10555:9): [True: 4.07k, False: 136]
  ------------------
10556|       |        /* same length */
10557|  4.07k|        if (len1 == 0)
  ------------------
  |  Branch (10557:13): [True: 0, False: 4.07k]
  ------------------
10558|      0|            goto nothing;
10559|  4.07k|        if (len1 == 1) {
  ------------------
  |  Branch (10559:13): [True: 108, False: 3.97k]
  ------------------
10560|       |            /* replace characters */
10561|    108|            Py_UCS4 u1, u2;
10562|    108|            Py_ssize_t pos;
10563|       |
10564|    108|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  354|    108|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    108|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    108|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    108|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    108|                   (index))
  ------------------
10565|    108|            pos = findchar(sbuf, skind, slen, u1, 1);
10566|    108|            if (pos < 0)
  ------------------
  |  Branch (10566:17): [True: 94, False: 14]
  ------------------
10567|     94|                goto nothing;
10568|     14|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|     14|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     14|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     14|                   (index))
  ------------------
10569|     14|            u = PyUnicode_New(slen, maxchar);
10570|     14|            if (!u)
  ------------------
  |  Branch (10570:17): [True: 0, False: 14]
  ------------------
10571|      0|                goto error;
10572|       |
10573|     14|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
10574|     14|            replace_1char_inplace(u, pos, u1, u2, maxcount);
10575|     14|        }
10576|  3.97k|        else {
10577|  3.97k|            int rkind = skind;
10578|  3.97k|            char *res;
10579|  3.97k|            Py_ssize_t i;
10580|       |
10581|  3.97k|            if (kind1 < rkind) {
  ------------------
  |  Branch (10581:17): [True: 0, False: 3.97k]
  ------------------
10582|       |                /* widen substring */
10583|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10584|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10584:21): [True: 0, False: 0]
  ------------------
10585|      0|                release1 = 1;
10586|      0|            }
10587|  3.97k|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
10588|  3.97k|            if (i < 0)
  ------------------
  |  Branch (10588:17): [True: 3.97k, False: 0]
  ------------------
10589|  3.97k|                goto nothing;
10590|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (10590:17): [True: 0, False: 0]
  ------------------
10591|       |                /* widen replacement */
10592|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
10593|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (10593:21): [True: 0, False: 0]
  ------------------
10594|      0|                release2 = 1;
10595|      0|            }
10596|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (10596:22): [True: 0, False: 0]
  ------------------
10597|       |                /* widen self and buf1 */
10598|      0|                rkind = kind2;
10599|      0|                if (release1) {
  ------------------
  |  Branch (10599:21): [True: 0, False: 0]
  ------------------
10600|      0|                    assert(buf1 != PyUnicode_DATA(str1));
10601|      0|                    PyMem_Free((void *)buf1);
10602|      0|                    buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10603|      0|                    release1 = 0;
10604|      0|                }
10605|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
10606|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (10606:21): [True: 0, False: 0]
  ------------------
10607|      0|                srelease = 1;
10608|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10609|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10609:21): [True: 0, False: 0]
  ------------------
10610|      0|                release1 = 1;
10611|      0|            }
10612|      0|            u = PyUnicode_New(slen, maxchar);
10613|      0|            if (!u)
  ------------------
  |  Branch (10613:17): [True: 0, False: 0]
  ------------------
10614|      0|                goto error;
10615|      0|            assert(PyUnicode_KIND(u) == rkind);
10616|      0|            res = PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10617|       |
10618|      0|            memcpy(res, sbuf, rkind * slen);
10619|       |            /* change everything in-place, starting with this one */
10620|      0|            memcpy(res + rkind * i,
10621|      0|                   buf2,
10622|      0|                   rkind * len2);
10623|      0|            i += len1;
10624|       |
10625|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (10625:21): [True: 0, False: 0]
  ------------------
10626|      0|                i = anylib_find(rkind, self,
10627|      0|                                sbuf+rkind*i, slen-i,
10628|      0|                                str1, buf1, len1, i);
10629|      0|                if (i == -1)
  ------------------
  |  Branch (10629:21): [True: 0, False: 0]
  ------------------
10630|      0|                    break;
10631|      0|                memcpy(res + rkind * i,
10632|      0|                       buf2,
10633|      0|                       rkind * len2);
10634|      0|                i += len1;
10635|      0|            }
10636|      0|        }
10637|  4.07k|    }
10638|    136|    else {
10639|    136|        Py_ssize_t n, i, j, ires;
10640|    136|        Py_ssize_t new_size;
10641|    136|        int rkind = skind;
10642|    136|        char *res;
10643|       |
10644|    136|        if (kind1 < rkind) {
  ------------------
  |  Branch (10644:13): [True: 0, False: 136]
  ------------------
10645|       |            /* widen substring */
10646|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
10647|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (10647:17): [True: 0, False: 0]
  ------------------
10648|      0|            release1 = 1;
10649|      0|        }
10650|    136|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
10651|    136|        if (n == 0)
  ------------------
  |  Branch (10651:13): [True: 72, False: 64]
  ------------------
10652|     72|            goto nothing;
10653|     64|        if (kind2 < rkind) {
  ------------------
  |  Branch (10653:13): [True: 0, False: 64]
  ------------------
10654|       |            /* widen replacement */
10655|      0|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
10656|      0|            if (!buf2) goto error;
  ------------------
  |  Branch (10656:17): [True: 0, False: 0]
  ------------------
10657|      0|            release2 = 1;
10658|      0|        }
10659|     64|        else if (kind2 > rkind) {
  ------------------
  |  Branch (10659:18): [True: 0, False: 64]
  ------------------
10660|       |            /* widen self and buf1 */
10661|      0|            rkind = kind2;
10662|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
10663|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (10663:17): [True: 0, False: 0]
  ------------------
10664|      0|            srelease = 1;
10665|      0|            if (release1) {
  ------------------
  |  Branch (10665:17): [True: 0, False: 0]
  ------------------
10666|      0|                assert(buf1 != PyUnicode_DATA(str1));
10667|      0|                PyMem_Free((void *)buf1);
10668|      0|                buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10669|      0|                release1 = 0;
10670|      0|            }
10671|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
10672|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (10672:17): [True: 0, False: 0]
  ------------------
10673|      0|            release1 = 1;
10674|      0|        }
10675|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
10676|       |           PyUnicode_GET_LENGTH(str1)); */
10677|     64|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10677:13): [True: 4, False: 60]
  |  Branch (10677:28): [True: 0, False: 4]
  ------------------
10678|      0|                PyErr_SetString(PyExc_OverflowError,
10679|      0|                                "replace string is too long");
10680|      0|                goto error;
10681|      0|        }
10682|     64|        new_size = slen + n * (len2 - len1);
10683|     64|        if (new_size == 0) {
  ------------------
  |  Branch (10683:13): [True: 0, False: 64]
  ------------------
10684|      0|            u = _PyUnicode_GetEmpty();
10685|      0|            goto done;
10686|      0|        }
10687|     64|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|     64|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10687:13): [True: 0, False: 64]
  ------------------
10688|      0|            PyErr_SetString(PyExc_OverflowError,
10689|      0|                            "replace string is too long");
10690|      0|            goto error;
10691|      0|        }
10692|     64|        u = PyUnicode_New(new_size, maxchar);
10693|     64|        if (!u)
  ------------------
  |  Branch (10693:13): [True: 0, False: 64]
  ------------------
10694|      0|            goto error;
10695|     64|        assert(PyUnicode_KIND(u) == rkind);
10696|     64|        res = PyUnicode_DATA(u);
  ------------------
  |  |  284|     64|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10697|     64|        ires = i = 0;
10698|     64|        if (len1 > 0) {
  ------------------
  |  Branch (10698:13): [True: 64, False: 0]
  ------------------
10699|    164|            while (n-- > 0) {
  ------------------
  |  Branch (10699:20): [True: 100, False: 64]
  ------------------
10700|       |                /* look for next match */
10701|    100|                j = anylib_find(rkind, self,
10702|    100|                                sbuf + rkind * i, slen-i,
10703|    100|                                str1, buf1, len1, i);
10704|    100|                if (j == -1)
  ------------------
  |  Branch (10704:21): [True: 0, False: 100]
  ------------------
10705|      0|                    break;
10706|    100|                else if (j > i) {
  ------------------
  |  Branch (10706:26): [True: 100, False: 0]
  ------------------
10707|       |                    /* copy unchanged part [i:j] */
10708|    100|                    memcpy(res + rkind * ires,
10709|    100|                           sbuf + rkind * i,
10710|    100|                           rkind * (j-i));
10711|    100|                    ires += j - i;
10712|    100|                }
10713|       |                /* copy substitution string */
10714|    100|                if (len2 > 0) {
  ------------------
  |  Branch (10714:21): [True: 4, False: 96]
  ------------------
10715|      4|                    memcpy(res + rkind * ires,
10716|      4|                           buf2,
10717|      4|                           rkind * len2);
10718|      4|                    ires += len2;
10719|      4|                }
10720|    100|                i = j + len1;
10721|    100|            }
10722|     64|            if (i < slen)
  ------------------
  |  Branch (10722:17): [True: 60, False: 4]
  ------------------
10723|       |                /* copy tail [i:] */
10724|     60|                memcpy(res + rkind * ires,
10725|     60|                       sbuf + rkind * i,
10726|     60|                       rkind * (slen-i));
10727|     64|        }
10728|      0|        else {
10729|       |            /* interleave */
10730|      0|            while (n > 0) {
  ------------------
  |  Branch (10730:20): [True: 0, False: 0]
  ------------------
10731|      0|                memcpy(res + rkind * ires,
10732|      0|                       buf2,
10733|      0|                       rkind * len2);
10734|      0|                ires += len2;
10735|      0|                if (--n <= 0)
  ------------------
  |  Branch (10735:21): [True: 0, False: 0]
  ------------------
10736|      0|                    break;
10737|      0|                memcpy(res + rkind * ires,
10738|      0|                       sbuf + rkind * i,
10739|      0|                       rkind);
10740|      0|                ires++;
10741|      0|                i++;
10742|      0|            }
10743|      0|            memcpy(res + rkind * ires,
10744|      0|                   sbuf + rkind * i,
10745|      0|                   rkind * (slen-i));
10746|      0|        }
10747|     64|    }
10748|       |
10749|     78|    if (mayshrink) {
  ------------------
  |  Branch (10749:9): [True: 0, False: 78]
  ------------------
10750|      0|        unicode_adjust_maxchar(&u);
10751|      0|        if (u == NULL)
  ------------------
  |  Branch (10751:13): [True: 0, False: 0]
  ------------------
10752|      0|            goto error;
10753|      0|    }
10754|       |
10755|     78|  done:
10756|     78|    assert(srelease == (sbuf != PyUnicode_DATA(self)));
10757|     78|    assert(release1 == (buf1 != PyUnicode_DATA(str1)));
10758|     78|    assert(release2 == (buf2 != PyUnicode_DATA(str2)));
10759|     78|    if (srelease)
  ------------------
  |  Branch (10759:9): [True: 0, False: 78]
  ------------------
10760|      0|        PyMem_Free((void *)sbuf);
10761|     78|    if (release1)
  ------------------
  |  Branch (10761:9): [True: 0, False: 78]
  ------------------
10762|      0|        PyMem_Free((void *)buf1);
10763|     78|    if (release2)
  ------------------
  |  Branch (10763:9): [True: 0, False: 78]
  ------------------
10764|      0|        PyMem_Free((void *)buf2);
10765|     78|    assert(_PyUnicode_CheckConsistency(u, 1));
10766|     78|    return u;
10767|       |
10768|  4.18k|  nothing:
10769|       |    /* nothing to replace; return original string (when possible) */
10770|  4.18k|    assert(srelease == (sbuf != PyUnicode_DATA(self)));
10771|  4.18k|    assert(release1 == (buf1 != PyUnicode_DATA(str1)));
10772|  4.18k|    assert(release2 == (buf2 != PyUnicode_DATA(str2)));
10773|  4.18k|    if (srelease)
  ------------------
  |  Branch (10773:9): [True: 0, False: 4.18k]
  ------------------
10774|      0|        PyMem_Free((void *)sbuf);
10775|  4.18k|    if (release1)
  ------------------
  |  Branch (10775:9): [True: 0, False: 4.18k]
  ------------------
10776|      0|        PyMem_Free((void *)buf1);
10777|  4.18k|    if (release2)
  ------------------
  |  Branch (10777:9): [True: 0, False: 4.18k]
  ------------------
10778|      0|        PyMem_Free((void *)buf2);
10779|  4.18k|    return unicode_result_unchanged(self);
10780|       |
10781|      0|  error:
10782|      0|    assert(srelease == (sbuf != PyUnicode_DATA(self)));
10783|      0|    assert(release1 == (buf1 != PyUnicode_DATA(str1)));
10784|      0|    assert(release2 == (buf2 != PyUnicode_DATA(str2)));
10785|      0|    if (srelease)
  ------------------
  |  Branch (10785:9): [True: 0, False: 0]
  ------------------
10786|      0|        PyMem_Free((void *)sbuf);
10787|      0|    if (release1)
  ------------------
  |  Branch (10787:9): [True: 0, False: 0]
  ------------------
10788|      0|        PyMem_Free((void *)buf1);
10789|      0|    if (release2)
  ------------------
  |  Branch (10789:9): [True: 0, False: 0]
  ------------------
10790|      0|        PyMem_Free((void *)buf2);
10791|       |    return NULL;
10792|     78|}
unicodeobject.c:replace_1char_inplace:
10493|     14|{
10494|     14|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  258|     14|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10495|     14|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  284|     14|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10496|     14|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10497|     14|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10497:9): [True: 14, False: 0]
  ------------------
10498|     14|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10499|     14|                                      (Py_UCS1 *)data + len,
10500|     14|                                      u1, u2, maxcount);
10501|     14|    }
10502|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10502:14): [True: 0, False: 0]
  ------------------
10503|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10504|      0|                                      (Py_UCS2 *)data + len,
10505|      0|                                      u1, u2, maxcount);
10506|      0|    }
10507|      0|    else {
10508|       |        assert(kind == PyUnicode_4BYTE_KIND);
10509|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10510|      0|                                      (Py_UCS4 *)data + len,
10511|      0|                                      u1, u2, maxcount);
10512|      0|    }
10513|     14|}
unicodeobject.c:anylib_find:
10460|  4.07k|{
10461|  4.07k|    switch (kind) {
  ------------------
  |  Branch (10461:13): [True: 4.07k, False: 0]
  ------------------
10462|  4.07k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10462:5): [True: 4.07k, False: 0]
  ------------------
10463|  4.07k|        if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  8.14k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4.07k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  4.07k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4.07k, False: 0]
  |  |  ------------------
  ------------------
10464|  4.07k|            return asciilib_find(buf1, len1, buf2, len2, offset);
10465|      0|        else
10466|      0|            return ucs1lib_find(buf1, len1, buf2, len2, offset);
10467|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10467:5): [True: 0, False: 4.07k]
  ------------------
10468|      0|        return ucs2lib_find(buf1, len1, buf2, len2, offset);
10469|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10469:5): [True: 0, False: 4.07k]
  ------------------
10470|      0|        return ucs4lib_find(buf1, len1, buf2, len2, offset);
10471|  4.07k|    }
10472|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10473|  4.07k|}
unicodeobject.c:anylib_count:
10478|    136|{
10479|    136|    switch (kind) {
  ------------------
  |  Branch (10479:13): [True: 136, False: 0]
  ------------------
10480|    136|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10480:5): [True: 136, False: 0]
  ------------------
10481|    136|        return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
10482|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10482:5): [True: 0, False: 136]
  ------------------
10483|      0|        return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
10484|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10484:5): [True: 0, False: 136]
  ------------------
10485|      0|        return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
10486|    136|    }
10487|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10488|    136|}
unicodeobject.c:split:
10277|  1.39k|{
10278|  1.39k|    int kind1, kind2;
10279|  1.39k|    const void *buf1, *buf2;
10280|  1.39k|    Py_ssize_t len1, len2;
10281|  1.39k|    PyObject* out;
10282|  1.39k|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.39k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10283|  1.39k|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|  1.39k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10284|       |
10285|  1.39k|    if (substring == NULL) {
  ------------------
  |  Branch (10285:9): [True: 54, False: 1.34k]
  ------------------
10286|     54|        if (maxcount < 0) {
  ------------------
  |  Branch (10286:13): [True: 52, False: 2]
  ------------------
10287|     52|            maxcount = (len1 - 1) / 2 + 1;
10288|     52|        }
10289|     54|        switch (kind1) {
10290|     54|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10290:9): [True: 54, False: 0]
  ------------------
10291|     54|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|     54|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 54, False: 0]
  |  |  ------------------
  ------------------
10292|     54|                return asciilib_split_whitespace(
10293|     54|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|     54|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     54|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10294|     54|                    len1, maxcount
10295|     54|                    );
10296|      0|            else
10297|      0|                return ucs1lib_split_whitespace(
10298|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10299|      0|                    len1, maxcount
10300|      0|                    );
10301|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10301:9): [True: 0, False: 54]
  ------------------
10302|      0|            return ucs2lib_split_whitespace(
10303|      0|                self,  PyUnicode_2BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10304|      0|                len1, maxcount
10305|      0|                );
10306|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10306:9): [True: 0, False: 54]
  ------------------
10307|      0|            return ucs4lib_split_whitespace(
10308|      0|                self,  PyUnicode_4BYTE_DATA(self),
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10309|      0|                len1, maxcount
10310|      0|                );
10311|      0|        default:
  ------------------
  |  Branch (10311:9): [True: 0, False: 54]
  ------------------
10312|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10313|     54|        }
10314|     54|    }
10315|       |
10316|  1.34k|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|  1.34k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10317|  1.34k|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|  1.34k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10318|  1.34k|    if (maxcount < 0) {
  ------------------
  |  Branch (10318:9): [True: 1.25k, False: 90]
  ------------------
10319|       |        // if len2 == 0, it will raise ValueError.
10320|  1.25k|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10320:20): [True: 0, False: 1.25k]
  ------------------
10321|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10322|  1.25k|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10322:20): [True: 0, False: 1.25k]
  ------------------
10323|  1.25k|    }
10324|  1.34k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10324:9): [True: 0, False: 1.34k]
  |  Branch (10324:26): [True: 0, False: 1.34k]
  ------------------
10325|      0|        out = PyList_New(1);
10326|      0|        if (out == NULL)
  ------------------
  |  Branch (10326:13): [True: 0, False: 0]
  ------------------
10327|      0|            return NULL;
10328|      0|        PyList_SET_ITEM(out, 0, Py_NewRef(self));
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10329|      0|        return out;
10330|      0|    }
10331|  1.34k|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|  1.34k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10332|  1.34k|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|  1.34k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10333|  1.34k|    if (kind2 != kind1) {
  ------------------
  |  Branch (10333:9): [True: 0, False: 1.34k]
  ------------------
10334|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10335|      0|        if (!buf2)
  ------------------
  |  Branch (10335:13): [True: 0, False: 0]
  ------------------
10336|      0|            return NULL;
10337|      0|    }
10338|       |
10339|  1.34k|    switch (kind1) {
10340|  1.34k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10340:5): [True: 1.34k, False: 0]
  ------------------
10341|  1.34k|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|  2.68k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.34k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|  1.34k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.34k, False: 0]
  |  |  ------------------
  ------------------
10342|  1.34k|            out = asciilib_split(
10343|  1.34k|                self,  buf1, len1, buf2, len2, maxcount);
10344|      0|        else
10345|      0|            out = ucs1lib_split(
10346|      0|                self,  buf1, len1, buf2, len2, maxcount);
10347|  1.34k|        break;
10348|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10348:5): [True: 0, False: 1.34k]
  ------------------
10349|      0|        out = ucs2lib_split(
10350|      0|            self,  buf1, len1, buf2, len2, maxcount);
10351|      0|        break;
10352|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10352:5): [True: 0, False: 1.34k]
  ------------------
10353|      0|        out = ucs4lib_split(
10354|      0|            self,  buf1, len1, buf2, len2, maxcount);
10355|      0|        break;
10356|      0|    default:
  ------------------
  |  Branch (10356:5): [True: 0, False: 1.34k]
  ------------------
10357|      0|        out = NULL;
10358|  1.34k|    }
10359|  1.34k|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
10360|  1.34k|    if (kind2 != kind1)
  ------------------
  |  Branch (10360:9): [True: 0, False: 1.34k]
  ------------------
10361|      0|        PyMem_Free((void *)buf2);
10362|  1.34k|    return out;
10363|  1.34k|}
unicodeobject.c:rsplit:
10369|     14|{
10370|     14|    int kind1, kind2;
10371|     14|    const void *buf1, *buf2;
10372|     14|    Py_ssize_t len1, len2;
10373|     14|    PyObject* out;
10374|       |
10375|     14|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10376|     14|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|     14|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10377|       |
10378|     14|    if (substring == NULL) {
  ------------------
  |  Branch (10378:9): [True: 0, False: 14]
  ------------------
10379|      0|        if (maxcount < 0) {
  ------------------
  |  Branch (10379:13): [True: 0, False: 0]
  ------------------
10380|      0|            maxcount = (len1 - 1) / 2 + 1;
10381|      0|        }
10382|      0|        switch (kind1) {
10383|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10383:9): [True: 0, False: 0]
  ------------------
10384|      0|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10385|      0|                return asciilib_rsplit_whitespace(
10386|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10387|      0|                    len1, maxcount
10388|      0|                    );
10389|      0|            else
10390|      0|                return ucs1lib_rsplit_whitespace(
10391|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10392|      0|                    len1, maxcount
10393|      0|                    );
10394|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10394:9): [True: 0, False: 0]
  ------------------
10395|      0|            return ucs2lib_rsplit_whitespace(
10396|      0|                self,  PyUnicode_2BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10397|      0|                len1, maxcount
10398|      0|                );
10399|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10399:9): [True: 0, False: 0]
  ------------------
10400|      0|            return ucs4lib_rsplit_whitespace(
10401|      0|                self,  PyUnicode_4BYTE_DATA(self),
  ------------------
  |  |  293|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10402|      0|                len1, maxcount
10403|      0|                );
10404|      0|        default:
  ------------------
  |  Branch (10404:9): [True: 0, False: 0]
  ------------------
10405|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10406|      0|        }
10407|      0|    }
10408|     14|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|     14|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10409|     14|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10410|     14|    if (maxcount < 0) {
  ------------------
  |  Branch (10410:9): [True: 0, False: 14]
  ------------------
10411|       |        // if len2 == 0, it will raise ValueError.
10412|      0|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10412:20): [True: 0, False: 0]
  ------------------
10413|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10414|      0|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10414:20): [True: 0, False: 0]
  ------------------
10415|      0|    }
10416|     14|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10416:9): [True: 0, False: 14]
  |  Branch (10416:26): [True: 0, False: 14]
  ------------------
10417|      0|        out = PyList_New(1);
10418|      0|        if (out == NULL)
  ------------------
  |  Branch (10418:13): [True: 0, False: 0]
  ------------------
10419|      0|            return NULL;
10420|      0|        PyList_SET_ITEM(out, 0, Py_NewRef(self));
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10421|      0|        return out;
10422|      0|    }
10423|     14|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|     14|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10424|     14|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|     14|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10425|     14|    if (kind2 != kind1) {
  ------------------
  |  Branch (10425:9): [True: 0, False: 14]
  ------------------
10426|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10427|      0|        if (!buf2)
  ------------------
  |  Branch (10427:13): [True: 0, False: 0]
  ------------------
10428|      0|            return NULL;
10429|      0|    }
10430|       |
10431|     14|    switch (kind1) {
10432|     14|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10432:5): [True: 14, False: 0]
  ------------------
10433|     14|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     28|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 14, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|     14|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 14, False: 0]
  |  |  ------------------
  ------------------
10434|     14|            out = asciilib_rsplit(
10435|     14|                self,  buf1, len1, buf2, len2, maxcount);
10436|      0|        else
10437|      0|            out = ucs1lib_rsplit(
10438|      0|                self,  buf1, len1, buf2, len2, maxcount);
10439|     14|        break;
10440|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10440:5): [True: 0, False: 14]
  ------------------
10441|      0|        out = ucs2lib_rsplit(
10442|      0|            self,  buf1, len1, buf2, len2, maxcount);
10443|      0|        break;
10444|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10444:5): [True: 0, False: 14]
  ------------------
10445|      0|        out = ucs4lib_rsplit(
10446|      0|            self,  buf1, len1, buf2, len2, maxcount);
10447|      0|        break;
10448|      0|    default:
  ------------------
  |  Branch (10448:5): [True: 0, False: 14]
  ------------------
10449|      0|        out = NULL;
10450|     14|    }
10451|     14|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
10452|     14|    if (kind2 != kind1)
  ------------------
  |  Branch (10452:9): [True: 0, False: 14]
  ------------------
10453|      0|        PyMem_Free((void *)buf2);
10454|     14|    return out;
10455|     14|}
unicodeobject.c:unicode_dealloc:
 1627|  5.57M|{
 1628|       |#ifdef Py_DEBUG
 1629|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1630|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1631|       |    }
 1632|       |#endif
 1633|  5.57M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  153|  5.57M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.57M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.57M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1633:9): [True: 0, False: 5.57M]
  ------------------
 1634|       |        /* This should never get called, but we also don't want to SEGV if
 1635|       |        * we accidentally decref an immortal string out of existence. Since
 1636|       |        * the string is an immortal object, just re-set the reference count.
 1637|       |        */
 1638|       |#ifdef Py_DEBUG
 1639|       |        Py_UNREACHABLE();
 1640|       |#endif
 1641|      0|        _Py_SetImmortal(unicode);
 1642|      0|        return;
 1643|      0|    }
 1644|  5.57M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  153|  5.57M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  5.57M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  5.57M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|  5.57M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  5.57M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1645:9): [True: 5.57M, False: 58]
  ------------------
 1646|  5.57M|            break;
 1647|     58|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|     58|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1647:9): [True: 58, False: 5.57M]
  ------------------
 1648|       |            /* Remove the object from the intern dict.
 1649|       |             * Before doing so, we set the refcount to 2: the key and value
 1650|       |             * in the interned_dict.
 1651|       |             */
 1652|     58|            assert(Py_REFCNT(unicode) == 0);
 1653|     58|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|     58|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|       |#ifdef Py_REF_DEBUG
 1655|       |            /* let's be pedantic with the ref total */
 1656|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1657|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1658|       |#endif
 1659|     58|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1660|     58|            PyObject *interned = get_interned_dict(interp);
 1661|     58|            assert(interned != NULL);
 1662|     58|            PyObject *popped;
 1663|     58|            int r = PyDict_Pop(interned, unicode, &popped);
 1664|     58|            if (r == -1) {
  ------------------
  |  Branch (1664:17): [True: 0, False: 58]
  ------------------
 1665|      0|                PyErr_FormatUnraisable("Exception ignored while "
 1666|      0|                                       "removing an interned string %R",
 1667|      0|                                       unicode);
 1668|       |                // We don't know what happened to the string. It's probably
 1669|       |                // best to leak it:
 1670|       |                // - if it was popped, there are no more references to it
 1671|       |                //   so it can't cause trouble (except wasted memory)
 1672|       |                // - if it wasn't popped, it'll remain interned
 1673|      0|                _Py_SetImmortal(unicode);
 1674|      0|                _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  153|      0|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      0|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  203|      0|#define SSTATE_INTERNED_IMMORTAL 2
  ------------------
 1675|      0|                return;
 1676|      0|            }
 1677|     58|            if (r == 0) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 58]
  ------------------
 1678|       |                // The interned string was not found in the interned_dict.
 1679|       |#ifdef Py_DEBUG
 1680|       |                Py_UNREACHABLE();
 1681|       |#endif
 1682|      0|                _Py_SetImmortal(unicode);
 1683|      0|                return;
 1684|      0|            }
 1685|       |            // Successfully popped.
 1686|     58|            assert(popped == unicode);
 1687|       |            // Only our `popped` reference should be left; remove it too.
 1688|     58|            assert(Py_REFCNT(unicode) == 1);
 1689|     58|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|     58|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|       |#ifdef Py_REF_DEBUG
 1691|       |            /* let's be pedantic with the ref total */
 1692|       |            _Py_DecRefTotal(_PyThreadState_GET());
 1693|       |#endif
 1694|     58|            break;
 1695|      0|        default:
  ------------------
  |  Branch (1695:9): [True: 0, False: 5.57M]
  ------------------
 1696|       |            // As with `statically_allocated` above.
 1697|       |#ifdef Py_REF_DEBUG
 1698|       |            Py_UNREACHABLE();
 1699|       |#endif
 1700|      0|            _Py_SetImmortal(unicode);
 1701|      0|            return;
 1702|  5.57M|    }
 1703|  5.57M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 5.57M]
  ------------------
 1704|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1705|      0|    }
 1706|  5.57M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  234|  11.1M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  165|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (165:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1706:9): [True: 0, False: 5.57M]
  ------------------
 1707|      0|        PyMem_Free(_PyUnicode_DATA_ANY(unicode));
  ------------------
  |  |  165|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      0|    }
 1709|       |
 1710|  5.57M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|  5.57M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|  5.57M|}
unicodeobject.c:unicode_repr:
12647|  27.7k|{
12648|  27.7k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  27.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12649|  27.7k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  27.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12650|       |
12651|       |    /* Compute length of output, quote characters, and
12652|       |       maximum character */
12653|  27.7k|    Py_ssize_t osize = 0;
12654|  27.7k|    Py_UCS4 maxch = 127;
12655|  27.7k|    Py_ssize_t squote = 0;
12656|  27.7k|    Py_ssize_t dquote = 0;
12657|  27.7k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  27.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12658|   168k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (12658:28): [True: 140k, False: 27.7k]
  ------------------
12659|   140k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   140k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   140k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   140k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   140k|                   (index))
  ------------------
12660|   140k|        Py_ssize_t incr = 1;
12661|   140k|        switch (ch) {
12662|      0|        case '\'': squote++; break;
  ------------------
  |  Branch (12662:9): [True: 0, False: 140k]
  ------------------
12663|      0|        case '"':  dquote++; break;
  ------------------
  |  Branch (12663:9): [True: 0, False: 140k]
  ------------------
12664|      0|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (12664:9): [True: 0, False: 140k]
  |  Branch (12664:20): [True: 0, False: 140k]
  |  Branch (12664:31): [True: 0, False: 140k]
  |  Branch (12664:42): [True: 0, False: 140k]
  ------------------
12665|      0|            incr = 2;
12666|      0|            break;
12667|   140k|        default:
  ------------------
  |  Branch (12667:9): [True: 140k, False: 0]
  ------------------
12668|       |            /* Fast-path ASCII */
12669|   140k|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (12669:17): [True: 0, False: 140k]
  |  Branch (12669:29): [True: 0, False: 140k]
  ------------------
12670|      0|                incr = 4; /* \xHH */
12671|   140k|            else if (ch < 0x7f)
  ------------------
  |  Branch (12671:22): [True: 140k, False: 0]
  ------------------
12672|   140k|                ;
12673|      0|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  761|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12674|      0|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (12674:25): [True: 0, False: 0]
  ------------------
12675|      0|            else if (ch < 0x100)
  ------------------
  |  Branch (12675:22): [True: 0, False: 0]
  ------------------
12676|      0|                incr = 4; /* \xHH */
12677|      0|            else if (ch < 0x10000)
  ------------------
  |  Branch (12677:22): [True: 0, False: 0]
  ------------------
12678|      0|                incr = 6; /* \uHHHH */
12679|      0|            else
12680|      0|                incr = 10; /* \uHHHHHHHH */
12681|   140k|        }
12682|   140k|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|   140k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12682:13): [True: 0, False: 140k]
  ------------------
12683|      0|            PyErr_SetString(PyExc_OverflowError,
12684|      0|                            "string is too long to generate repr");
12685|      0|            return NULL;
12686|      0|        }
12687|   140k|        osize += incr;
12688|   140k|    }
12689|       |
12690|  27.7k|    Py_UCS4 quote = '\'';
12691|  27.7k|    int changed = (osize != isize);
12692|  27.7k|    if (squote) {
  ------------------
  |  Branch (12692:9): [True: 0, False: 27.7k]
  ------------------
12693|      0|        changed = 1;
12694|      0|        if (dquote)
  ------------------
  |  Branch (12694:13): [True: 0, False: 0]
  ------------------
12695|       |            /* Both squote and dquote present. Use squote,
12696|       |               and escape them */
12697|      0|            osize += squote;
12698|      0|        else
12699|      0|            quote = '"';
12700|      0|    }
12701|  27.7k|    osize += 2;   /* quotes */
12702|       |
12703|  27.7k|    PyObject *repr = PyUnicode_New(osize, maxch);
12704|  27.7k|    if (repr == NULL)
  ------------------
  |  Branch (12704:9): [True: 0, False: 27.7k]
  ------------------
12705|      0|        return NULL;
12706|  27.7k|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  258|  27.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12707|  27.7k|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  284|  27.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12708|       |
12709|  27.7k|    if (!changed) {
  ------------------
  |  Branch (12709:9): [True: 27.7k, False: 0]
  ------------------
12710|  27.7k|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  335|  27.7k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  27.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  27.7k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  27.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12711|       |
12712|  27.7k|        _PyUnicode_FastCopyCharacters(repr, 1,
12713|  27.7k|                                      unicode, 0,
12714|  27.7k|                                      isize);
12715|       |
12716|  27.7k|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  335|  27.7k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  27.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  27.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  27.7k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  27.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12717|  27.7k|    }
12718|      0|    else {
12719|      0|        switch (okind) {
12720|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12720:9): [True: 0, False: 0]
  ------------------
12721|      0|            ucs1lib_repr(unicode, quote, odata);
12722|      0|            break;
12723|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12723:9): [True: 0, False: 0]
  ------------------
12724|      0|            ucs2lib_repr(unicode, quote, odata);
12725|      0|            break;
12726|      0|        default:
  ------------------
  |  Branch (12726:9): [True: 0, False: 0]
  ------------------
12727|      0|            assert(okind == PyUnicode_4BYTE_KIND);
12728|      0|            ucs4lib_repr(unicode, quote, odata);
12729|      0|        }
12730|      0|    }
12731|       |
12732|  27.7k|    assert(_PyUnicode_CheckConsistency(repr, 1));
12733|  27.7k|    return repr;
12734|  27.7k|}
unicodeobject.c:unicode_mod:
13718|  94.1k|{
13719|  94.1k|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|  94.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13719:9): [True: 0, False: 94.1k]
  ------------------
13720|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
13721|  94.1k|    return PyUnicode_Format(v, w);
13722|  94.1k|}
unicodeobject.c:unicode_length:
12215|   100k|{
12216|   100k|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   100k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12217|   100k|}
unicodeobject.c:unicode_getitem:
11647|  1.91k|{
11648|  1.91k|    const void *data;
11649|  1.91k|    int kind;
11650|  1.91k|    Py_UCS4 ch;
11651|       |
11652|  1.91k|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|  1.91k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.91k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11652:9): [True: 0, False: 1.91k]
  ------------------
11653|      0|        PyErr_BadArgument();
11654|      0|        return NULL;
11655|      0|    }
11656|  1.91k|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  1.91k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11656:9): [True: 0, False: 1.91k]
  |  Branch (11656:22): [True: 104, False: 1.81k]
  ------------------
11657|    104|        PyErr_SetString(PyExc_IndexError, "string index out of range");
11658|    104|        return NULL;
11659|    104|    }
11660|  1.81k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  1.81k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11661|  1.81k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  1.81k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11662|  1.81k|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  1.81k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.81k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.81k|                   (index))
  ------------------
11663|  1.81k|    return unicode_char(ch);
11664|  1.91k|}
unicodeobject.c:unicode_subscript:
13744|  3.40k|{
13745|  3.40k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (13745:9): [True: 1.91k, False: 1.48k]
  ------------------
13746|  1.91k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
13747|  1.91k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (13747:13): [True: 1.25k, False: 664]
  |  Branch (13747:24): [True: 0, False: 1.25k]
  ------------------
13748|      0|            return NULL;
13749|  1.91k|        if (i < 0)
  ------------------
  |  Branch (13749:13): [True: 1.76k, False: 148]
  ------------------
13750|  1.76k|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.76k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13751|  1.91k|        return unicode_getitem(self, i);
13752|  1.91k|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  1.48k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  1.48k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.48k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13753|  1.48k|        Py_ssize_t start, stop, step, slicelength, i;
13754|  1.48k|        size_t cur;
13755|  1.48k|        PyObject *result;
13756|  1.48k|        const void *src_data;
13757|  1.48k|        void *dest_data;
13758|  1.48k|        int src_kind, dest_kind;
13759|  1.48k|        Py_UCS4 ch, max_char, kind_limit;
13760|       |
13761|  1.48k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (13761:13): [True: 0, False: 1.48k]
  ------------------
13762|      0|            return NULL;
13763|      0|        }
13764|  1.48k|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  299|  1.48k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13765|  1.48k|                                            &start, &stop, step);
13766|       |
13767|  1.48k|        if (slicelength <= 0) {
  ------------------
  |  Branch (13767:13): [True: 2, False: 1.48k]
  ------------------
13768|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      2|    do {                             \
  |  |  376|      2|        return _PyUnicode_GetEmpty();\
  |  |  377|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
13769|  1.48k|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (13769:20): [True: 1.28k, False: 194]
  |  Branch (13769:34): [True: 1.28k, False: 0]
  ------------------
13770|  1.28k|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  1.28k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13770:20): [True: 0, False: 1.28k]
  ------------------
13771|      0|            return unicode_result_unchanged(self);
13772|  1.48k|        } else if (step == 1) {
  ------------------
  |  Branch (13772:20): [True: 1.48k, False: 0]
  ------------------
13773|  1.48k|            return PyUnicode_Substring(self,
13774|  1.48k|                                       start, start + slicelength);
13775|  1.48k|        }
13776|       |        /* General case */
13777|      0|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13778|      0|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13779|      0|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13779:13): [True: 0, False: 0]
  ------------------
13780|      0|            kind_limit = kind_maxchar_limit(src_kind);
13781|      0|            max_char = 0;
13782|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (13782:38): [True: 0, False: 0]
  ------------------
13783|      0|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
13784|      0|                if (ch > max_char) {
  ------------------
  |  Branch (13784:21): [True: 0, False: 0]
  ------------------
13785|      0|                    max_char = ch;
13786|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (13786:25): [True: 0, False: 0]
  ------------------
13787|      0|                        break;
13788|      0|                }
13789|      0|            }
13790|      0|        }
13791|      0|        else
13792|      0|            max_char = 127;
13793|      0|        result = PyUnicode_New(slicelength, max_char);
13794|      0|        if (result == NULL)
  ------------------
  |  Branch (13794:13): [True: 0, False: 0]
  ------------------
13795|      0|            return NULL;
13796|      0|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13797|      0|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13798|       |
13799|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (13799:34): [True: 0, False: 0]
  ------------------
13800|      0|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
13801|      0|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13802|      0|        }
13803|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
13804|      0|        return result;
13805|      0|    } else {
13806|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
13807|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13808|       |        return NULL;
13809|      0|    }
13810|  3.40k|}
unicodeobject.c:unicode_hash:
11670|  4.61M|{
11671|  4.61M|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
11672|       |
11673|       |#ifdef Py_DEBUG
11674|       |    assert(_Py_HashSecret_Initialized);
11675|       |#endif
11676|  4.61M|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  157|  4.61M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
11677|  4.61M|    if (hash != -1) {
  ------------------
  |  Branch (11677:9): [True: 1.71M, False: 2.90M]
  ------------------
11678|  1.71M|        return hash;
11679|  1.71M|    }
11680|  2.90M|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  284|  2.90M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11681|  2.90M|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  299|  2.90M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  258|  2.90M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.90M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11682|       |
11683|  2.90M|    PyUnicode_SET_HASH(self, x);
11684|  2.90M|    return x;
11685|  4.61M|}
unicodeobject.c:PyUnicode_SET_HASH:
  160|  2.90M|{
  161|  2.90M|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  194|  2.90M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  162|  2.90M|}
unicodeobject.c:unicode_encode_impl:
11533|   227k|{
11534|   227k|    return PyUnicode_AsEncodedString(self, encoding, errors);
11535|   227k|}
unicodeobject.c:unicode_replace_impl:
12585|  4.26k|{
12586|  4.26k|    return replace(self, old, new, count);
12587|  4.26k|}
unicodeobject.c:unicode_split_impl:
12842|  1.39k|{
12843|  1.39k|    if (sep == Py_None)
  ------------------
  |  |  616|  1.39k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12843:9): [True: 54, False: 1.34k]
  ------------------
12844|     54|        return split(self, NULL, maxsplit);
12845|  1.34k|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  1.34k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.34k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.34k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12846|  1.34k|        return split(self, sep, maxsplit);
12847|       |
12848|      0|    PyErr_Format(PyExc_TypeError,
12849|      0|                 "must be str or None, not %.100s",
12850|      0|                 Py_TYPE(sep)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12851|       |    return NULL;
12852|  1.34k|}
unicodeobject.c:unicode_rsplit_impl:
13022|     14|{
13023|     14|    if (sep == Py_None)
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13023:9): [True: 0, False: 14]
  ------------------
13024|      0|        return rsplit(self, NULL, maxsplit);
13025|     14|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13026|     14|        return rsplit(self, sep, maxsplit);
13027|       |
13028|      0|    PyErr_Format(PyExc_TypeError,
13029|      0|                 "must be str or None, not %.100s",
13030|      0|                 Py_TYPE(sep)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13031|       |    return NULL;
13032|     14|}
unicodeobject.c:unicode_join:
12209|  59.6k|{
12210|  59.6k|    return PyUnicode_Join(self, iterable);
12211|  59.6k|}
unicodeobject.c:ascii_upper_or_lower:
 9728|    886|{
 9729|    886|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    886|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    886|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    886|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9730|    886|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    886|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    886|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    886|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9731|    886|    char *resdata;
 9732|    886|    PyObject *res;
 9733|       |
 9734|    886|    res = PyUnicode_New(len, 127);
 9735|    886|    if (res == NULL)
  ------------------
  |  Branch (9735:9): [True: 0, False: 886]
  ------------------
 9736|      0|        return NULL;
 9737|    886|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|    886|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    886|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    886|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9738|    886|    if (lower)
  ------------------
  |  Branch (9738:9): [True: 784, False: 102]
  ------------------
 9739|    784|        _Py_bytes_lower(resdata, data, len);
 9740|    102|    else
 9741|    102|        _Py_bytes_upper(resdata, data, len);
 9742|    886|    return res;
 9743|    886|}
unicodeobject.c:unicode_expandtabs_impl:
11550|      4|{
11551|      4|    Py_ssize_t i, j, line_pos, src_len, incr;
11552|      4|    Py_UCS4 ch;
11553|      4|    PyObject *u;
11554|      4|    const void *src_data;
11555|      4|    void *dest_data;
11556|      4|    int kind;
11557|      4|    int found;
11558|       |
11559|       |    /* First pass: determine size of output string */
11560|      4|    src_len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11561|      4|    i = j = line_pos = 0;
11562|      4|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11563|      4|    src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11564|      4|    found = 0;
11565|    446|    for (; i < src_len; i++) {
  ------------------
  |  Branch (11565:12): [True: 442, False: 4]
  ------------------
11566|    442|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  354|    442|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    442|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    442|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    442|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    442|                   (index))
  ------------------
11567|    442|        if (ch == '\t') {
  ------------------
  |  Branch (11567:13): [True: 0, False: 442]
  ------------------
11568|      0|            found = 1;
11569|      0|            if (tabsize > 0) {
  ------------------
  |  Branch (11569:17): [True: 0, False: 0]
  ------------------
11570|      0|                incr = tabsize - (line_pos % tabsize); /* cannot overflow */
11571|      0|                if (j > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11571:21): [True: 0, False: 0]
  ------------------
11572|      0|                    goto overflow;
11573|      0|                line_pos += incr;
11574|      0|                j += incr;
11575|      0|            }
11576|      0|        }
11577|    442|        else {
11578|    442|            if (j > PY_SSIZE_T_MAX - 1)
  ------------------
  |  |  137|    442|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11578:17): [True: 0, False: 442]
  ------------------
11579|      0|                goto overflow;
11580|    442|            line_pos++;
11581|    442|            j++;
11582|    442|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (11582:17): [True: 8, False: 434]
  |  Branch (11582:31): [True: 0, False: 434]
  ------------------
11583|      8|                line_pos = 0;
11584|    442|        }
11585|    442|    }
11586|      4|    if (!found)
  ------------------
  |  Branch (11586:9): [True: 4, False: 0]
  ------------------
11587|      4|        return unicode_result_unchanged(self);
11588|       |
11589|       |    /* Second pass: create output string and fill it */
11590|      0|    u = PyUnicode_New(j, PyUnicode_MAX_CHAR_VALUE(self));
  ------------------
  |  |  405|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11591|      0|    if (!u)
  ------------------
  |  Branch (11591:9): [True: 0, False: 0]
  ------------------
11592|      0|        return NULL;
11593|      0|    dest_data = PyUnicode_DATA(u);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11594|       |
11595|      0|    i = j = line_pos = 0;
11596|       |
11597|      0|    for (; i < src_len; i++) {
  ------------------
  |  Branch (11597:12): [True: 0, False: 0]
  ------------------
11598|      0|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
11599|      0|        if (ch == '\t') {
  ------------------
  |  Branch (11599:13): [True: 0, False: 0]
  ------------------
11600|      0|            if (tabsize > 0) {
  ------------------
  |  Branch (11600:17): [True: 0, False: 0]
  ------------------
11601|      0|                incr = tabsize - (line_pos % tabsize);
11602|      0|                line_pos += incr;
11603|      0|                _PyUnicode_Fill(kind, dest_data, ' ', j, incr);
11604|      0|                j += incr;
11605|      0|            }
11606|      0|        }
11607|      0|        else {
11608|      0|            line_pos++;
11609|      0|            PyUnicode_WRITE(kind, dest_data, j, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11610|      0|            j++;
11611|      0|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (11611:17): [True: 0, False: 0]
  |  Branch (11611:31): [True: 0, False: 0]
  ------------------
11612|      0|                line_pos = 0;
11613|      0|        }
11614|      0|    }
11615|      0|    assert (j == PyUnicode_GET_LENGTH(u));
11616|      0|    return unicode_result(u);
  ------------------
  |  |  747|      0|#define unicode_result _PyUnicode_Result
  ------------------
11617|       |
11618|      0|  overflow:
11619|      0|    PyErr_SetString(PyExc_OverflowError, "new string is too long");
11620|       |    return NULL;
11621|      0|}
unicodeobject.c:unicode_find_impl:
11637|      6|{
11638|      6|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
11639|      6|    if (result < 0) {
  ------------------
  |  Branch (11639:9): [True: 0, False: 6]
  ------------------
11640|      0|        return -1;
11641|      0|    }
11642|      6|    return result;
11643|      6|}
unicodeobject.c:unicode_partition:
12976|     84|{
12977|     84|    return PyUnicode_Partition(self, sep);
12978|     84|}
unicodeobject.c:unicode_lower_impl:
12251|    784|{
12252|    784|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|    784|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    784|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    784|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 784, False: 0]
  |  |  ------------------
  ------------------
12253|    784|        return ascii_upper_or_lower(self, 1);
12254|      0|    return case_operation(self, do_lower);
12255|    784|}
unicodeobject.c:unicode_lstrip_impl:
12475|     22|{
12476|     22|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12257|     22|#define LEFTSTRIP 0
  ------------------
12477|     22|}
unicodeobject.c:do_argstrip:
12425|  9.39k|{
12426|  9.39k|    if (sep != Py_None) {
  ------------------
  |  |  616|  9.39k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12426:9): [True: 9.25k, False: 136]
  ------------------
12427|  9.25k|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  9.25k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.25k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.25k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12428|  9.25k|            return _PyUnicode_XStrip(self, striptype, sep);
12429|      0|        else {
12430|      0|            PyErr_Format(PyExc_TypeError,
12431|      0|                         "%s arg must be None or str",
12432|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12264|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12433|      0|            return NULL;
12434|      0|        }
12435|  9.25k|    }
12436|       |
12437|    136|    return do_strip(self, striptype);
12438|  9.39k|}
unicodeobject.c:do_strip:
12362|    136|{
12363|    136|    Py_ssize_t len, i, j;
12364|       |
12365|    136|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    136|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12366|       |
12367|    136|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|    136|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 136, False: 0]
  |  |  ------------------
  ------------------
12368|    136|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|    136|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    136|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12369|       |
12370|    136|        i = 0;
12371|    136|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12258|    136|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12371:13): [True: 78, False: 58]
  ------------------
12372|     86|            while (i < len) {
  ------------------
  |  Branch (12372:20): [True: 82, False: 4]
  ------------------
12373|     82|                Py_UCS1 ch = data[i];
12374|     82|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12374:21): [True: 74, False: 8]
  ------------------
12375|     74|                    break;
12376|      8|                i++;
12377|      8|            }
12378|     78|        }
12379|       |
12380|    136|        j = len;
12381|    136|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12257|    136|#define LEFTSTRIP 0
  ------------------
  |  Branch (12381:13): [True: 116, False: 20]
  ------------------
12382|    116|            j--;
12383|    836|            while (j >= i) {
  ------------------
  |  Branch (12383:20): [True: 826, False: 10]
  ------------------
12384|    826|                Py_UCS1 ch = data[j];
12385|    826|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12385:21): [True: 106, False: 720]
  ------------------
12386|    106|                    break;
12387|    720|                j--;
12388|    720|            }
12389|    116|            j++;
12390|    116|        }
12391|    136|    }
12392|      0|    else {
12393|      0|        int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12394|      0|        const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12395|       |
12396|      0|        i = 0;
12397|      0|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12258|      0|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12397:13): [True: 0, False: 0]
  ------------------
12398|      0|            while (i < len) {
  ------------------
  |  Branch (12398:20): [True: 0, False: 0]
  ------------------
12399|      0|                Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
12400|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12400:21): [True: 0, False: 0]
  ------------------
12401|      0|                    break;
12402|      0|                i++;
12403|      0|            }
12404|      0|        }
12405|       |
12406|      0|        j = len;
12407|      0|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12257|      0|#define LEFTSTRIP 0
  ------------------
  |  Branch (12407:13): [True: 0, False: 0]
  ------------------
12408|      0|            j--;
12409|      0|            while (j >= i) {
  ------------------
  |  Branch (12409:20): [True: 0, False: 0]
  ------------------
12410|      0|                Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
12411|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12411:21): [True: 0, False: 0]
  ------------------
12412|      0|                    break;
12413|      0|                j--;
12414|      0|            }
12415|      0|            j++;
12416|      0|        }
12417|      0|    }
12418|       |
12419|    136|    return PyUnicode_Substring(self, i, j);
12420|    136|}
unicodeobject.c:unicode_rfind_impl:
12750|    554|{
12751|    554|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
12752|    554|    if (result < 0) {
  ------------------
  |  Branch (12752:9): [True: 10, False: 544]
  ------------------
12753|     10|        return -1;
12754|     10|    }
12755|    544|    return result;
12756|    554|}
unicodeobject.c:unicode_rstrip_impl:
12494|  9.29k|{
12495|  9.29k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12258|  9.29k|#define RIGHTSTRIP 1
  ------------------
12496|  9.29k|}
unicodeobject.c:unicode_rpartition:
12997|  3.13k|{
12998|  3.13k|    return PyUnicode_RPartition(self, sep);
12999|  3.13k|}
unicodeobject.c:unicode_splitlines_impl:
13049|      8|{
13050|      8|    return PyUnicode_Splitlines(self, keepends);
13051|      8|}
unicodeobject.c:unicode_strip_impl:
12456|     76|{
12457|     76|    return do_argstrip(self, BOTHSTRIP, chars);
  ------------------
  |  |12259|     76|#define BOTHSTRIP 2
  ------------------
12458|     76|}
unicodeobject.c:unicode_translate:
13238|     98|{
13239|     98|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13240|     98|}
unicodeobject.c:unicode_upper_impl:
13251|    102|{
13252|    102|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|    102|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 102, False: 0]
  |  |  ------------------
  ------------------
13253|    102|        return ascii_upper_or_lower(self, 0);
13254|      0|    return case_operation(self, do_upper);
13255|    102|}
unicodeobject.c:unicode_startswith_impl:
13323|  14.4k|{
13324|  14.4k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  14.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 70, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13325|     70|        Py_ssize_t i;
13326|    466|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|    466|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13326:21): [True: 400, False: 66]
  ------------------
13327|    400|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|    400|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    400|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13328|    400|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|    400|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    400|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13328:17): [True: 0, False: 400]
  ------------------
13329|      0|                PyErr_Format(PyExc_TypeError,
13330|      0|                             "tuple for startswith must only contain str, "
13331|      0|                             "not %.100s",
13332|      0|                             Py_TYPE(substring)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13333|      0|                return NULL;
13334|      0|            }
13335|    400|            int result = tailmatch(self, substring, start, end, -1);
13336|    400|            if (result < 0) {
  ------------------
  |  Branch (13336:17): [True: 0, False: 400]
  ------------------
13337|      0|                return NULL;
13338|      0|            }
13339|    400|            if (result) {
  ------------------
  |  Branch (13339:17): [True: 4, False: 396]
  ------------------
13340|      4|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      4|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13341|      4|            }
13342|    400|        }
13343|       |        /* nothing matched */
13344|     70|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     66|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     66|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13345|     70|    }
13346|  14.3k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  14.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13346:9): [True: 0, False: 14.3k]
  ------------------
13347|      0|        PyErr_Format(PyExc_TypeError,
13348|      0|                     "startswith first arg must be str or "
13349|      0|                     "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13350|      0|        return NULL;
13351|      0|    }
13352|  14.3k|    int result = tailmatch(self, subobj, start, end, -1);
13353|  14.3k|    if (result < 0) {
  ------------------
  |  Branch (13353:9): [True: 0, False: 14.3k]
  ------------------
13354|      0|        return NULL;
13355|      0|    }
13356|  14.3k|    return PyBool_FromLong(result);
13357|  14.3k|}
unicodeobject.c:unicode_endswith_impl:
13380|  2.34k|{
13381|  2.34k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  2.34k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.34k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 722, False: 1.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13382|    722|        Py_ssize_t i;
13383|  2.15k|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|  2.15k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13383:21): [True: 1.43k, False: 716]
  ------------------
13384|  1.43k|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|  1.43k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.43k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13385|  1.43k|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|  1.43k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.43k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13385:17): [True: 0, False: 1.43k]
  ------------------
13386|      0|                PyErr_Format(PyExc_TypeError,
13387|      0|                             "tuple for endswith must only contain str, "
13388|      0|                             "not %.100s",
13389|      0|                             Py_TYPE(substring)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13390|      0|                return NULL;
13391|      0|            }
13392|  1.43k|            int result = tailmatch(self, substring, start, end, +1);
13393|  1.43k|            if (result < 0) {
  ------------------
  |  Branch (13393:17): [True: 0, False: 1.43k]
  ------------------
13394|      0|                return NULL;
13395|      0|            }
13396|  1.43k|            if (result) {
  ------------------
  |  Branch (13396:17): [True: 6, False: 1.43k]
  ------------------
13397|      6|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      6|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      6|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13398|      6|            }
13399|  1.43k|        }
13400|    722|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    716|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    716|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13401|    722|    }
13402|  1.62k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  1.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13402:9): [True: 0, False: 1.62k]
  ------------------
13403|      0|        PyErr_Format(PyExc_TypeError,
13404|      0|                     "endswith first arg must be str or "
13405|      0|                     "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13406|      0|        return NULL;
13407|      0|    }
13408|  1.62k|    int result = tailmatch(self, subobj, start, end, +1);
13409|  1.62k|    if (result < 0) {
  ------------------
  |  Branch (13409:9): [True: 0, False: 1.62k]
  ------------------
13410|      0|        return NULL;
13411|      0|    }
13412|  1.62k|    return PyBool_FromLong(result);
13413|  1.62k|}
unicodeobject.c:unicode_removeprefix_impl:
12605|     14|{
12606|     14|    int match = tailmatch(self, prefix, 0, PY_SSIZE_T_MAX, -1);
  ------------------
  |  |  137|     14|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
12607|     14|    if (match == -1) {
  ------------------
  |  Branch (12607:9): [True: 0, False: 14]
  ------------------
12608|      0|        return NULL;
12609|      0|    }
12610|     14|    if (match) {
  ------------------
  |  Branch (12610:9): [True: 14, False: 0]
  ------------------
12611|     14|        return PyUnicode_Substring(self, PyUnicode_GET_LENGTH(prefix),
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12612|     14|                                   PyUnicode_GET_LENGTH(self));
  ------------------
  |  |  299|     14|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12613|     14|    }
12614|      0|    return unicode_result_unchanged(self);
12615|     14|}
unicodeobject.c:unicode_isascii_impl:
11725|    232|{
11726|    232|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  227|    232|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11727|    232|}
unicodeobject.c:unicode_isupper_impl:
11784|  3.64k|{
11785|  3.64k|    Py_ssize_t i, length;
11786|  3.64k|    int kind;
11787|  3.64k|    const void *data;
11788|  3.64k|    int cased;
11789|       |
11790|  3.64k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  3.64k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11791|  3.64k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  3.64k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11792|  3.64k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  3.64k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11793|       |
11794|       |    /* Shortcut for single character strings */
11795|  3.64k|    if (length == 1)
  ------------------
  |  Branch (11795:9): [True: 0, False: 3.64k]
  ------------------
11796|      0|        return PyBool_FromLong(
11797|      0|            Py_UNICODE_ISUPPER(PyUnicode_READ(kind, data, 0)) != 0);
  ------------------
  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  ------------------
11798|       |
11799|       |    /* Special case for empty strings */
11800|  3.64k|    if (length == 0)
  ------------------
  |  Branch (11800:9): [True: 0, False: 3.64k]
  ------------------
11801|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11802|       |
11803|  3.64k|    cased = 0;
11804|  45.5k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (11804:17): [True: 42.3k, False: 3.17k]
  ------------------
11805|  42.3k|        const Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  42.3k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  42.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  42.3k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  42.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  42.3k|                   (index))
  ------------------
11806|       |
11807|  42.3k|        if (Py_UNICODE_ISLOWER(ch) || Py_UNICODE_ISTITLE(ch))
  ------------------
  |  |  749|  84.6k|#define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch)
  |  |  ------------------
  |  |  |  Branch (749:32): [True: 474, False: 41.8k]
  |  |  ------------------
  ------------------
                      if (Py_UNICODE_ISLOWER(ch) || Py_UNICODE_ISTITLE(ch))
  ------------------
  |  |  751|  41.8k|#define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch)
  |  |  ------------------
  |  |  |  Branch (751:32): [True: 0, False: 41.8k]
  |  |  ------------------
  ------------------
11808|    474|            Py_RETURN_FALSE;
  ------------------
  |  |   45|    474|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    474|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    474|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    474|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11809|  41.8k|        else if (!cased && Py_UNICODE_ISUPPER(ch))
  ------------------
  |  |  750|  3.38k|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  ------------------
  |  |  |  Branch (750:32): [True: 3.21k, False: 170]
  |  |  ------------------
  ------------------
  |  Branch (11809:18): [True: 3.38k, False: 38.4k]
  ------------------
11810|  3.21k|            cased = 1;
11811|  42.3k|    }
11812|  3.17k|    return PyBool_FromLong(cased);
11813|  3.64k|}
unicodeobject.c:unicode_isspace_impl:
11883|    666|{
11884|    666|    Py_ssize_t i, length;
11885|    666|    int kind;
11886|    666|    const void *data;
11887|       |
11888|    666|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    666|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    666|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    666|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11889|    666|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    666|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    666|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11890|    666|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    666|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    666|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    666|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11891|       |
11892|       |    /* Shortcut for single character strings */
11893|    666|    if (length == 1)
  ------------------
  |  Branch (11893:9): [True: 0, False: 666]
  ------------------
11894|      0|        return PyBool_FromLong(
11895|      0|            Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, 0)));
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
11896|       |
11897|       |    /* Special case for empty strings */
11898|    666|    if (length == 0)
  ------------------
  |  Branch (11898:9): [True: 142, False: 524]
  ------------------
11899|    142|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    142|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    142|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11900|       |
11901|  3.80k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (11901:17): [True: 3.75k, False: 52]
  ------------------
11902|  3.75k|        const Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  3.75k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  3.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  3.75k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  3.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  3.75k|                   (index))
  ------------------
11903|  3.75k|        if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (11903:13): [True: 472, False: 3.28k]
  ------------------
11904|    472|            Py_RETURN_FALSE;
  ------------------
  |  |   45|    472|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    472|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11905|  3.75k|    }
11906|     52|    Py_RETURN_TRUE;
  ------------------
  |  |   44|     52|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     52|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11907|    524|}
unicodeobject.c:unicode_isdigit_impl:
12035|    228|{
12036|    228|    Py_ssize_t i, length;
12037|    228|    int kind;
12038|    228|    const void *data;
12039|       |
12040|    228|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    228|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12041|    228|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    228|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    228|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12042|    228|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    228|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12043|       |
12044|       |    /* Shortcut for single character strings */
12045|    228|    if (length == 1) {
  ------------------
  |  Branch (12045:9): [True: 126, False: 102]
  ------------------
12046|    126|        const Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|    126|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    126|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    126|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    126|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    126|                   (index))
  ------------------
12047|    126|        return PyBool_FromLong(Py_UNICODE_ISDIGIT(ch));
  ------------------
  |  |  759|    126|#define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)
  ------------------
12048|    126|    }
12049|       |
12050|       |    /* Special case for empty strings */
12051|    102|    if (length == 0)
  ------------------
  |  Branch (12051:9): [True: 0, False: 102]
  ------------------
12052|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12053|       |
12054|    364|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (12054:17): [True: 262, False: 102]
  ------------------
12055|    262|        if (!Py_UNICODE_ISDIGIT(PyUnicode_READ(kind, data, i)))
  ------------------
  |  |  759|    262|#define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)
  ------------------
  |  Branch (12055:13): [True: 0, False: 262]
  ------------------
12056|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12057|    262|    }
12058|    102|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    102|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    102|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12059|    102|}
unicodeobject.c:unicode_isidentifier_impl:
12154|  25.6k|{
12155|  25.6k|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12156|  25.6k|}
unicodeobject.c:unicode_maketrans_impl:
13140|      2|{
13141|      2|    PyObject *new = NULL, *key, *value;
13142|      2|    Py_ssize_t i = 0;
13143|      2|    int res;
13144|       |
13145|      2|    new = PyDict_New();
13146|      2|    if (!new)
  ------------------
  |  Branch (13146:9): [True: 0, False: 2]
  ------------------
13147|      0|        return NULL;
13148|      2|    if (y != NULL) {
  ------------------
  |  Branch (13148:9): [True: 2, False: 0]
  ------------------
13149|      2|        int x_kind, y_kind, z_kind;
13150|      2|        const void *x_data, *y_data, *z_data;
13151|       |
13152|       |        /* x must be a string too, of equal length */
13153|      2|        if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13153:13): [True: 0, False: 2]
  ------------------
13154|      0|            PyErr_SetString(PyExc_TypeError, "first maketrans argument must "
13155|      0|                            "be a string if there is a second argument");
13156|      0|            goto err;
13157|      0|        }
13158|      2|        if (PyUnicode_GET_LENGTH(x) != PyUnicode_GET_LENGTH(y)) {
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyUnicode_GET_LENGTH(x) != PyUnicode_GET_LENGTH(y)) {
  ------------------
  |  |  299|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13158:13): [True: 0, False: 2]
  ------------------
13159|      0|            PyErr_SetString(PyExc_ValueError, "the first two maketrans "
13160|      0|                            "arguments must have equal length");
13161|      0|            goto err;
13162|      0|        }
13163|       |        /* create entries for translating chars in x to those in y */
13164|      2|        x_kind = PyUnicode_KIND(x);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13165|      2|        y_kind = PyUnicode_KIND(y);
  ------------------
  |  |  258|      2|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13166|      2|        x_data = PyUnicode_DATA(x);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13167|      2|        y_data = PyUnicode_DATA(y);
  ------------------
  |  |  284|      2|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13168|     18|        for (i = 0; i < PyUnicode_GET_LENGTH(x); i++) {
  ------------------
  |  |  299|     18|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13168:21): [True: 16, False: 2]
  ------------------
13169|     16|            key = PyLong_FromLong(PyUnicode_READ(x_kind, x_data, i));
  ------------------
  |  |  354|     16|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     16|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     16|                   (index))
  ------------------
13170|     16|            if (!key)
  ------------------
  |  Branch (13170:17): [True: 0, False: 16]
  ------------------
13171|      0|                goto err;
13172|     16|            value = PyLong_FromLong(PyUnicode_READ(y_kind, y_data, i));
  ------------------
  |  |  354|     16|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     16|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     16|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     16|                   (index))
  ------------------
13173|     16|            if (!value) {
  ------------------
  |  Branch (13173:17): [True: 0, False: 16]
  ------------------
13174|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13175|      0|                goto err;
13176|      0|            }
13177|     16|            res = PyDict_SetItem(new, key, value);
13178|     16|            Py_DECREF(key);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13179|     16|            Py_DECREF(value);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13180|     16|            if (res < 0)
  ------------------
  |  Branch (13180:17): [True: 0, False: 16]
  ------------------
13181|      0|                goto err;
13182|     16|        }
13183|       |        /* create entries for deleting chars in z */
13184|      2|        if (z != NULL) {
  ------------------
  |  Branch (13184:13): [True: 0, False: 2]
  ------------------
13185|      0|            z_kind = PyUnicode_KIND(z);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13186|      0|            z_data = PyUnicode_DATA(z);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13187|      0|            for (i = 0; i < PyUnicode_GET_LENGTH(z); i++) {
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13187:25): [True: 0, False: 0]
  ------------------
13188|      0|                key = PyLong_FromLong(PyUnicode_READ(z_kind, z_data, i));
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
13189|      0|                if (!key)
  ------------------
  |  Branch (13189:21): [True: 0, False: 0]
  ------------------
13190|      0|                    goto err;
13191|      0|                res = PyDict_SetItem(new, key, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
13192|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13193|      0|                if (res < 0)
  ------------------
  |  Branch (13193:21): [True: 0, False: 0]
  ------------------
13194|      0|                    goto err;
13195|      0|            }
13196|      0|        }
13197|      2|    } else {
13198|       |        /* x must be a dict */
13199|      0|        if (!PyAnyDict_CheckExact(x)) {
  ------------------
  |  |   41|      0|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13200|      0|            PyErr_SetString(PyExc_TypeError, "if you give only one argument "
13201|      0|                            "to maketrans it must be a dict");
13202|      0|            goto err;
13203|      0|        }
13204|       |        /* copy entries into the new dict, converting string keys to int keys */
13205|      0|        int errcode;
13206|      0|        Py_BEGIN_CRITICAL_SECTION(x);
  ------------------
  |  |   51|      0|    {
  ------------------
13207|      0|        errcode = unicode_maketrans_from_dict(x, new);
13208|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
13209|      0|        if (errcode < 0)
  ------------------
  |  Branch (13209:13): [True: 0, False: 0]
  ------------------
13210|      0|            goto err;
13211|      0|    }
13212|      2|    return new;
13213|      0|  err:
13214|      0|    Py_DECREF(new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13215|       |    return NULL;
13216|      2|}
unicodeobject.c:unicode_new_impl:
13836|     32|{
13837|     32|    PyObject *unicode;
13838|     32|    if (x == NULL) {
  ------------------
  |  Branch (13838:9): [True: 0, False: 32]
  ------------------
13839|      0|        unicode = _PyUnicode_GetEmpty();
13840|      0|    }
13841|     32|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (13841:14): [True: 32, False: 0]
  |  Branch (13841:34): [True: 32, False: 0]
  ------------------
13842|     32|        unicode = PyObject_Str(x);
13843|     32|    }
13844|      0|    else {
13845|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
13846|      0|    }
13847|       |
13848|     32|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (13848:9): [True: 32, False: 0]
  |  Branch (13848:28): [True: 32, False: 0]
  ------------------
13849|     32|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  352|     32|    do { \
  |  |  353|     32|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     32|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     32|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     32|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     32|        *_tmp_dst_ptr = (src); \
  |  |  356|     32|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     32|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
13850|     32|    }
13851|     32|    return unicode;
13852|     32|}
unicodeobject.c:unicode_subtype_new:
13915|     32|{
13916|     32|    PyObject *self;
13917|     32|    Py_ssize_t length, char_size;
13918|     32|    int share_utf8;
13919|     32|    int kind;
13920|     32|    void *data;
13921|       |
13922|     32|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
13923|     32|    assert(_PyUnicode_CHECK(unicode));
13924|       |
13925|     32|    self = type->tp_alloc(type, 0);
13926|     32|    if (self == NULL) {
  ------------------
  |  Branch (13926:9): [True: 0, False: 32]
  ------------------
13927|      0|        return NULL;
13928|      0|    }
13929|     32|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     32|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13930|     32|    length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     32|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13931|       |
13932|     32|    _PyUnicode_LENGTH(self) = length;
  ------------------
  |  |  151|     32|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13933|       |#ifdef Py_DEBUG
13934|       |    _PyUnicode_HASH(self) = -1;
13935|       |#else
13936|     32|    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  155|     32|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  155|     32|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13937|     32|#endif
13938|     32|    _PyUnicode_STATE(self).interned = 0;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13939|     32|    _PyUnicode_STATE(self).kind = kind;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13940|     32|    _PyUnicode_STATE(self).compact = 0;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13941|     32|    _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13942|     32|    _PyUnicode_STATE(self).statically_allocated = 0;
  ------------------
  |  |  153|     32|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|     32|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13943|     32|    PyUnicode_SET_UTF8_LENGTH(self, 0);
13944|     32|    PyUnicode_SET_UTF8(self, NULL);
13945|     32|    _PyUnicode_DATA_ANY(self) = NULL;
  ------------------
  |  |  165|     32|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|     32|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13946|       |
13947|     32|    share_utf8 = 0;
13948|     32|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (13948:9): [True: 32, False: 0]
  ------------------
13949|     32|        char_size = 1;
13950|     32|        if (PyUnicode_MAX_CHAR_VALUE(unicode) < 128)
  ------------------
  |  |  405|     32|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13950:13): [True: 32, False: 0]
  ------------------
13951|     32|            share_utf8 = 1;
13952|     32|    }
13953|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (13953:14): [True: 0, False: 0]
  ------------------
13954|      0|        char_size = 2;
13955|      0|    }
13956|      0|    else {
13957|      0|        assert(kind == PyUnicode_4BYTE_KIND);
13958|      0|        char_size = 4;
13959|      0|    }
13960|       |
13961|       |    /* Ensure we won't overflow the length. */
13962|     32|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|     32|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13962:9): [True: 0, False: 32]
  ------------------
13963|      0|        PyErr_NoMemory();
13964|      0|        goto onError;
13965|      0|    }
13966|     32|    data = PyMem_Malloc((length + 1) * char_size);
13967|     32|    if (data == NULL) {
  ------------------
  |  Branch (13967:9): [True: 0, False: 32]
  ------------------
13968|      0|        PyErr_NoMemory();
13969|      0|        goto onError;
13970|      0|    }
13971|       |
13972|     32|    _PyUnicode_DATA_ANY(self) = data;
  ------------------
  |  |  165|     32|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  192|     32|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  193|     32|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13973|     32|    if (share_utf8) {
  ------------------
  |  Branch (13973:9): [True: 32, False: 0]
  ------------------
13974|     32|        PyUnicode_SET_UTF8_LENGTH(self, length);
13975|     32|        PyUnicode_SET_UTF8(self, data);
13976|     32|    }
13977|       |
13978|     32|    memcpy(data, PyUnicode_DATA(unicode), kind * (length + 1));
  ------------------
  |  |  284|     32|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13979|     32|    assert(_PyUnicode_CheckConsistency(self, 1));
13980|       |#ifdef Py_DEBUG
13981|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
13982|       |#endif
13983|     32|    return self;
13984|       |
13985|      0|onError:
13986|      0|    Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13987|       |    return NULL;
13988|     32|}
unicodeobject.c:unicode_vectorcall:
13869|    331|{
13870|    331|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
13871|       |
13872|    331|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    331|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
13873|    331|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) != 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13873:9): [True: 0, False: 331]
  |  Branch (13873:28): [True: 0, False: 0]
  ------------------
13874|       |        // Fallback to unicode_new()
13875|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
13876|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (13876:13): [True: 0, False: 0]
  ------------------
13877|      0|            return NULL;
13878|      0|        }
13879|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
13880|      0|        if (dict == NULL) {
  ------------------
  |  Branch (13880:13): [True: 0, False: 0]
  ------------------
13881|      0|            Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13882|      0|            return NULL;
13883|      0|        }
13884|      0|        PyObject *ret = unicode_new(_PyType_CAST(type), tuple, dict);
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13885|      0|        Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13886|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13887|      0|        return ret;
13888|      0|    }
13889|    331|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   31|    331|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 331, False: 0]
  |  |  |  Branch (31:27): [True: 331, False: 0]
  |  |  ------------------
  |  |   32|    331|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13890|      0|        return NULL;
13891|      0|    }
13892|    331|    if (nargs == 0) {
  ------------------
  |  Branch (13892:9): [True: 2, False: 329]
  ------------------
13893|      2|        return _PyUnicode_GetEmpty();
13894|      2|    }
13895|    329|    PyObject *object = args[0];
13896|    329|    if (nargs == 1) {
  ------------------
  |  Branch (13896:9): [True: 315, False: 14]
  ------------------
13897|    315|        return PyObject_Str(object);
13898|    315|    }
13899|     14|    const char *encoding = arg_as_utf8(args[1], "encoding");
13900|     14|    if (encoding == NULL) {
  ------------------
  |  Branch (13900:9): [True: 0, False: 14]
  ------------------
13901|      0|        return NULL;
13902|      0|    }
13903|     14|    const char *errors = NULL;
13904|     14|    if (nargs == 3) {
  ------------------
  |  Branch (13904:9): [True: 0, False: 14]
  ------------------
13905|      0|        errors = arg_as_utf8(args[2], "errors");
13906|      0|        if (errors == NULL) {
  ------------------
  |  Branch (13906:13): [True: 0, False: 0]
  ------------------
13907|      0|            return NULL;
13908|      0|        }
13909|      0|    }
13910|     14|    return PyUnicode_FromEncodedObject(object, encoding, errors);
13911|     14|}
unicodeobject.c:arg_as_utf8:
13856|     14|{
13857|     14|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|     14|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13857:9): [True: 0, False: 14]
  ------------------
13858|      0|        PyErr_Format(PyExc_TypeError,
13859|      0|                     "str() argument '%s' must be str, not %T",
13860|      0|                     name, obj);
13861|      0|        return NULL;
13862|      0|    }
13863|     14|    return _PyUnicode_AsUTF8NoNUL(obj);
13864|     14|}
unicodeobject.c:unicode_iteritem:
13992|  2.21k|{
13993|  2.21k|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  299|  2.21k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13993:9): [True: 597, False: 1.62k]
  ------------------
13994|    597|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
13995|    597|    }
13996|  1.62k|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  284|  1.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13997|  1.62k|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  258|  1.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
13998|  1.62k|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  1.62k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.62k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.62k|                   (index))
  ------------------
13999|  1.62k|    PyObject *result = unicode_char(ch);
14000|  1.62k|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14000:13): [True: 0, False: 1.62k]
  ------------------
14001|  1.62k|    return (_PyObjectIndexPair) { .object = result, .index = index };
14002|  2.21k|}
unicodeobject.c:_init_global_state:
14076|      2|{
14077|      2|    static int initialized = 0;
14078|      2|    if (initialized) {
  ------------------
  |  Branch (14078:9): [True: 0, False: 2]
  ------------------
14079|      0|        return;
14080|      0|    }
14081|      2|    initialized = 1;
14082|       |
14083|       |    /* initialize the linebreak bloom filter */
14084|      2|    const Py_UCS2 linebreak[] = {
14085|      2|        0x000A, /* LINE FEED */
14086|      2|        0x000D, /* CARRIAGE RETURN */
14087|      2|        0x001C, /* FILE SEPARATOR */
14088|      2|        0x001D, /* GROUP SEPARATOR */
14089|      2|        0x001E, /* RECORD SEPARATOR */
14090|      2|        0x0085, /* NEXT LINE */
14091|      2|        0x2028, /* LINE SEPARATOR */
14092|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14093|      2|    };
14094|      2|    bloom_linebreak = make_bloom_mask(
14095|      2|        PyUnicode_2BYTE_KIND, linebreak,
14096|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14097|      2|}
unicodeobject.c:init_global_interned_strings:
  324|      2|{
  325|      2|    assert(INTERNED_STRINGS == NULL);
  326|      2|    _Py_hashtable_allocator_t hashtable_alloc = {PyMem_RawMalloc, PyMem_RawFree};
  327|       |
  328|      2|    INTERNED_STRINGS = _Py_hashtable_new_full(
  ------------------
  |  |  219|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  329|      2|        hashtable_unicode_hash,
  330|      2|        hashtable_unicode_compare,
  331|       |        // Objects stored here are immortal and statically allocated,
  332|       |        // so we don't need key_destroy_func & value_destroy_func:
  333|      2|        NULL,
  334|      2|        NULL,
  335|      2|        &hashtable_alloc
  336|      2|    );
  337|      2|    if (INTERNED_STRINGS == NULL) {
  ------------------
  |  |  219|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (337:9): [True: 0, False: 2]
  ------------------
  338|      0|        PyErr_Clear();
  339|      0|        return _PyStatus_ERR("failed to create global interned dict");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  340|      0|    }
  341|       |
  342|       |    /* Intern statically allocated string identifiers, deepfreeze strings,
  343|       |        * and one-byte latin-1 strings.
  344|       |        * This must be done before any module initialization so that statically
  345|       |        * allocated string identifiers are used instead of heap allocated strings.
  346|       |        * Deepfreeze uses the interned identifiers if present to save space
  347|       |        * else generates them and they are interned to speed up dict lookups.
  348|       |    */
  349|      2|    _PyUnicode_InitStaticStrings(interp);
  350|       |
  351|    514|    for (int i = 0; i < 256; i++) {
  ------------------
  |  Branch (351:21): [True: 512, False: 2]
  ------------------
  352|    512|        PyObject *s = LATIN1(i);
  ------------------
  |  |  184|    512|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  923|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (923:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  924|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  925|    512|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|    512|        _PyUnicode_InternStatic(interp, &s);
  354|    512|        assert(s == LATIN1(i));
  355|    512|    }
  356|       |#ifdef Py_DEBUG
  357|       |    assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
  358|       |
  359|       |    for (int i = 0; i < 256; i++) {
  360|       |        assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
  361|       |    }
  362|       |#endif
  363|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  364|      2|}
unicodeobject.c:hashtable_unicode_hash:
  255|   340k|{
  256|   340k|    return unicode_hash((PyObject *)key);
  257|   340k|}
unicodeobject.c:hashtable_unicode_compare:
  261|  39.6k|{
  262|  39.6k|    PyObject *obj1 = (PyObject *)key1;
  263|  39.6k|    PyObject *obj2 = (PyObject *)key2;
  264|  39.6k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (264:9): [True: 39.6k, False: 0]
  |  Branch (264:25): [True: 39.6k, False: 0]
  ------------------
  265|  39.6k|        return unicode_eq(obj1, obj2);
  266|  39.6k|    }
  267|      0|    else {
  268|      0|        return obj1 == obj2;
  269|      0|    }
  270|  39.6k|}
unicodeobject.c:init_interned_dict:
  291|      2|{
  292|      2|    assert(get_interned_dict(interp) == NULL);
  293|      2|    PyObject *interned;
  294|      2|    if (has_shared_intern_dict(interp)) {
  ------------------
  |  Branch (294:9): [True: 0, False: 2]
  ------------------
  295|      0|        interned = get_interned_dict(_PyInterpreterState_Main());
  296|      0|        Py_INCREF(interned);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|    }
  298|      2|    else {
  299|      2|        interned = PyDict_New();
  300|      2|        if (interned == NULL) {
  ------------------
  |  Branch (300:13): [True: 0, False: 2]
  ------------------
  301|      0|            return -1;
  302|      0|        }
  303|      2|    }
  304|      2|    _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
  305|      2|    return 0;
  306|      2|}
unicodeobject.c:intern_static:
14149|  2.24k|{
14150|       |    // Note that this steals a reference to `s`, but in many cases that
14151|       |    // stolen ref is returned, requiring no decref/incref.
14152|       |
14153|  2.24k|    assert(s != NULL);
14154|  2.24k|    assert(_PyUnicode_CHECK(s));
14155|  2.24k|    assert(_PyUnicode_STATE(s).statically_allocated);
14156|  2.24k|    assert(!PyUnicode_CHECK_INTERNED(s));
14157|       |
14158|       |#ifdef Py_DEBUG
14159|       |    /* We must not add process-global interned string if there's already a
14160|       |     * per-interpreter interned_dict, which might contain duplicates.
14161|       |     */
14162|       |    PyObject *interned = get_interned_dict(interp);
14163|       |    assert(interned == NULL);
14164|       |#endif
14165|       |
14166|       |    /* Look in the global cache first. */
14167|  2.24k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  219|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14168|       |    /* We should only init each string once */
14169|  2.24k|    assert(r == NULL);
14170|       |    /* but just in case (for the non-debug build), handle this */
14171|  2.24k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14171:9): [True: 0, False: 2.24k]
  |  Branch (14171:22): [True: 0, False: 0]
  ------------------
14172|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
14173|      0|        assert(_PyUnicode_CHECK(r));
14174|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14175|      0|        return Py_NewRef(r);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14176|      0|    }
14177|       |
14178|  2.24k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < -1) {
  ------------------
  |  |  219|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14178:9): [True: 0, False: 2.24k]
  ------------------
14179|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14180|      0|    }
14181|       |
14182|  2.24k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  153|  2.24k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.24k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.24k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  204|  2.24k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
14183|  2.24k|    return s;
14184|  2.24k|}
unicodeobject.c:intern_common:
14231|  11.7M|{
14232|       |    // Note that this steals a reference to `s`, but in many cases that
14233|       |    // stolen ref is returned, requiring no decref/incref.
14234|       |
14235|       |#ifdef Py_DEBUG
14236|       |    assert(s != NULL);
14237|       |    assert(_PyUnicode_CHECK(s));
14238|       |#else
14239|  11.7M|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  11.7M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.7M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14239:9): [True: 0, False: 11.7M]
  |  Branch (14239:22): [True: 0, False: 11.7M]
  ------------------
14240|      0|        return s;
14241|      0|    }
14242|  11.7M|#endif
14243|       |
14244|       |    /* If it's a subclass, we don't really know what putting
14245|       |       it in the interned dict might do. */
14246|  11.7M|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  11.7M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  11.7M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14246:9): [True: 0, False: 11.7M]
  ------------------
14247|      0|        return s;
14248|      0|    }
14249|       |
14250|       |    /* Is it already interned? */
14251|  11.7M|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  214|  11.7M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14252|   336k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|   336k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14252:9): [True: 336k, False: 11.3M]
  ------------------
14253|       |            // no, go on
14254|   336k|            break;
14255|  5.16k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|  5.16k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14255:9): [True: 5.16k, False: 11.7M]
  ------------------
14256|  5.16k|#ifndef Py_GIL_DISABLED
14257|       |            // yes but we might need to make it immortal
14258|  5.16k|            if (immortalize) {
  ------------------
  |  Branch (14258:17): [True: 2, False: 5.15k]
  ------------------
14259|      2|                immortalize_interned(s);
14260|      2|            }
14261|  5.16k|            return s;
14262|       |#else
14263|       |            // not fully interned yet; fall through to the locking path
14264|       |            break;
14265|       |#endif
14266|  11.3M|        default:
  ------------------
  |  Branch (14266:9): [True: 11.3M, False: 341k]
  ------------------
14267|       |            // all done
14268|  11.3M|            return s;
14269|  11.7M|    }
14270|       |
14271|       |    /* Statically allocated strings must be already interned. */
14272|  11.7M|    assert(!_PyUnicode_STATE(s).statically_allocated);
14273|       |
14274|       |#if Py_GIL_DISABLED
14275|       |    /* In the free-threaded build, all interned strings are immortal */
14276|       |    immortalize = 1;
14277|       |#endif
14278|       |
14279|       |    /* If it's already immortal, intern it as such */
14280|   336k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|   336k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   336k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   336k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 336k]
  |  |  ------------------
  ------------------
14281|      0|        immortalize = 1;
14282|      0|    }
14283|       |
14284|       |    /* if it's a short string, get the singleton */
14285|   336k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  299|   336k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   336k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   336k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14285:9): [True: 0, False: 336k]
  ------------------
14286|      0|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (14286:17): [True: 0, False: 0]
  ------------------
14287|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  184|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  923|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (923:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  924|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  925|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14288|      0|        assert(PyUnicode_CHECK_INTERNED(r));
14289|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14290|      0|        return r;
14291|      0|    }
14292|       |#ifdef Py_DEBUG
14293|       |    assert(!unicode_is_singleton(s));
14294|       |#endif
14295|       |
14296|       |    /* Look in the global cache now. */
14297|   336k|    {
14298|   336k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  219|   336k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14299|   336k|        if (r != NULL) {
  ------------------
  |  Branch (14299:13): [True: 39.6k, False: 296k]
  ------------------
14300|  39.6k|            assert(_PyUnicode_STATE(r).statically_allocated);
14301|  39.6k|            assert(r != s);  // r must be statically_allocated; s is not
14302|  39.6k|            Py_DECREF(s);
  ------------------
  |  |  430|  39.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14303|  39.6k|            return Py_NewRef(r);
  ------------------
  |  |  550|  39.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14304|  39.6k|        }
14305|   336k|    }
14306|       |
14307|       |    /* Do a setdefault on the per-interpreter cache. */
14308|   296k|    PyObject *interned = get_interned_dict(interp);
14309|   296k|    assert(interned != NULL);
14310|       |#ifdef Py_GIL_DISABLED
14311|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14312|       |    // Lock-free fast path: check if there's already an interned copy that
14313|       |    // is in its final immortal state.
14314|       |    PyObject *r;
14315|       |    int res = PyDict_GetItemRef(interned, s, &r);
14316|       |    if (res < 0) {
14317|       |        PyErr_Clear();
14318|       |        return s;
14319|       |    }
14320|       |    if (res > 0) {
14321|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14322|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14323|       |            Py_DECREF(s);
14324|       |            return r;
14325|       |        }
14326|       |        // Not yet fully interned; fall through to the locking path.
14327|       |        Py_DECREF(r);
14328|       |    }
14329|       |#endif
14330|       |
14331|       |#ifdef Py_GIL_DISABLED
14332|       |    // Immortalization writes to the refcount fields non-atomically. That
14333|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14334|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14335|       |    // we own instead.
14336|       |    if (!can_immortalize_safely(s)) {
14337|       |        PyObject *copy = _PyUnicode_Copy(s);
14338|       |        if (copy == NULL) {
14339|       |            PyErr_Clear();
14340|       |            return s;
14341|       |        }
14342|       |        Py_DECREF(s);
14343|       |        s = copy;
14344|       |    }
14345|       |#endif
14346|       |
14347|   296k|    FT_MUTEX_LOCK(INTERN_MUTEX);
  ------------------
  |  |  204|   296k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 296k]
  |  |  ------------------
  ------------------
14348|   296k|    PyObject *t;
14349|   296k|    {
14350|   296k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14351|   296k|        if (res < 0) {
  ------------------
  |  Branch (14351:13): [True: 0, False: 296k]
  ------------------
14352|      0|            PyErr_Clear();
14353|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14354|      0|            return s;
14355|      0|        }
14356|   296k|        else if (res == 1) {
  ------------------
  |  Branch (14356:18): [True: 242k, False: 54.7k]
  ------------------
14357|       |            // value was already present (not inserted)
14358|   242k|            Py_DECREF(s);
  ------------------
  |  |  430|   242k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14359|   242k|            if (immortalize &&
  ------------------
  |  Branch (14359:17): [True: 46.7k, False: 195k]
  ------------------
14360|  46.7k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  214|  46.7k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  202|  46.7k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14360:21): [True: 1.06k, False: 45.7k]
  ------------------
14361|  1.06k|                immortalize_interned(t);
14362|  1.06k|            }
14363|   242k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|   242k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 242k]
  |  |  ------------------
  ------------------
14364|   242k|            return t;
14365|   242k|        }
14366|  54.7k|        else {
14367|       |            // value was newly inserted
14368|  54.7k|            assert (s == t);
14369|  54.7k|            Py_DECREF(t);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14370|  54.7k|        }
14371|   296k|    }
14372|       |
14373|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14374|       |
14375|   296k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
14376|       |
14377|  54.7k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  54.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14377:9): [True: 54.7k, False: 0]
  ------------------
14378|       |        /* The two references in interned dict (key and value) are not counted.
14379|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14380|  54.7k|        Py_DECREF(s);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14381|  54.7k|        Py_DECREF(s);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14382|  54.7k|    }
14383|  54.7k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  155|  54.7k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
14384|       |
14385|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14386|       |
14387|       |#ifdef Py_DEBUG
14388|       |    if (_Py_IsImmortal(s)) {
14389|       |        assert(immortalize);
14390|       |    }
14391|       |#endif
14392|  54.7k|    if (immortalize) {
  ------------------
  |  Branch (14392:9): [True: 52.4k, False: 2.29k]
  ------------------
14393|  52.4k|        immortalize_interned(s);
14394|  52.4k|    }
14395|       |
14396|  54.7k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  54.7k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 54.7k]
  |  |  ------------------
  ------------------
14397|  54.7k|    return s;
14398|   296k|}
unicodeobject.c:immortalize_interned:
14198|  53.4k|{
14199|  53.4k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
14200|  53.4k|    assert(!_Py_IsImmortal(s));
14201|       |#ifdef Py_REF_DEBUG
14202|       |    /* The reference count value should be excluded from the RefTotal.
14203|       |       The decrements to these objects will not be registered so they
14204|       |       need to be accounted for in here. */
14205|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14206|       |        _Py_DecRefTotal(_PyThreadState_GET());
14207|       |    }
14208|       |#endif
14209|  53.4k|    _Py_SetImmortal(s);
14210|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14211|       |    // to synchronize with the check in intern_common() that avoids locking if
14212|       |    // the string is already immortal.
14213|  53.4k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  155|  53.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
14214|  53.4k|}
unicodeobject.c:has_shared_intern_dict:
  284|      2|{
  285|      2|    PyInterpreterState *main_interp = _PyInterpreterState_Main();
  286|      2|    return interp != main_interp  && interp->feature_flags & Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  |  Branch (286:12): [True: 0, False: 2]
  |  Branch (286:38): [True: 0, False: 0]
  ------------------
  287|      2|}
unicodeobject.c:unicodeiter_dealloc:
14550|    200|{
14551|    200|    unicodeiterobject *it = (unicodeiterobject *)op;
14552|    200|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|    200|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14553|    200|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|    200|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14554|    200|    PyObject_GC_Del(it);
14555|    200|}
unicodeobject.c:unicodeiter_len:
14615|      4|{
14616|      4|    unicodeiterobject *it = (unicodeiterobject *)op;
14617|      4|    Py_ssize_t len = 0;
14618|      4|    if (it->it_seq)
  ------------------
  |  Branch (14618:9): [True: 4, False: 0]
  ------------------
14619|      4|        len = PyUnicode_GET_LENGTH(it->it_seq) - it->it_index;
  ------------------
  |  |  299|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14620|      4|    return PyLong_FromSsize_t(len);
14621|      4|}
unicodeobject.c:unicode_ascii_iter_next:
14592|    822|{
14593|    822|    unicodeiterobject *it = (unicodeiterobject *)op;
14594|    822|    assert(it != NULL);
14595|    822|    PyObject *seq = it->it_seq;
14596|    822|    if (seq == NULL) {
  ------------------
  |  Branch (14596:9): [True: 0, False: 822]
  ------------------
14597|      0|        return NULL;
14598|      0|    }
14599|    822|    assert(_PyUnicode_CHECK(seq));
14600|    822|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
14601|    822|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  299|    822|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14601:9): [True: 654, False: 168]
  ------------------
14602|    654|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|    654|    (assert(PyUnicode_Check(op)), \
  |  |  187|    654|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    654|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14603|    654|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  354|    654|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    654|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    654|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    654|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    654|                   (index))
  ------------------
14604|    654|                                              data, it->it_index);
14605|    654|        it->it_index++;
14606|    654|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    654|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    654|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
14607|    654|    }
14608|    168|    it->it_seq = NULL;
14609|    168|    Py_DECREF(seq);
  ------------------
  |  |  430|    168|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14610|       |    return NULL;
14611|    822|}
unicodeobject.c:unicode_iter:
14723|    200|{
14724|    200|    unicodeiterobject *it;
14725|       |
14726|    200|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|    200|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    200|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14726:9): [True: 0, False: 200]
  ------------------
14727|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
14728|      0|        return NULL;
14729|      0|    }
14730|    200|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  241|    200|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 200, False: 0]
  |  |  ------------------
  ------------------
14731|    200|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|    200|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14732|    200|    }
14733|      0|    else {
14734|      0|        it = PyObject_GC_New(unicodeiterobject, &PyUnicodeIter_Type);
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14735|      0|    }
14736|    200|    if (it == NULL)
  ------------------
  |  Branch (14736:9): [True: 0, False: 200]
  ------------------
14737|      0|        return NULL;
14738|    200|    it->it_index = 0;
14739|    200|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|    200|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14740|    200|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|    200|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14741|    200|    return (PyObject *)it;
14742|    200|}
unicodeobject.c:init_fs_encoding:
14880|      2|{
14881|      2|    PyInterpreterState *interp = tstate->interp;
14882|       |
14883|       |    /* Update the filesystem encoding to the normalized Python codec name.
14884|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
14885|       |       (Python codec name). */
14886|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
14887|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (14887:9): [True: 0, False: 2]
  ------------------
14888|      0|        _Py_DumpPathConfig(tstate);
14889|      0|        return _PyStatus_ERR("failed to get the Python codec "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14890|      0|                             "of the filesystem encoding");
14891|      0|    }
14892|       |
14893|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (14893:9): [True: 0, False: 2]
  ------------------
14894|      0|        return _PyStatus_ERR("cannot initialize filesystem codec");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14895|      0|    }
14896|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14897|      2|}
unicodeobject.c:config_get_codec_name:
14763|      4|{
14764|      4|    char *encoding;
14765|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (14765:9): [True: 0, False: 4]
  ------------------
14766|      0|        return -1;
14767|      0|    }
14768|       |
14769|      4|    PyObject *name_obj = NULL;
14770|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
14771|      4|    PyMem_RawFree(encoding);
14772|       |
14773|      4|    if (!codec)
  ------------------
  |  Branch (14773:9): [True: 0, False: 4]
  ------------------
14774|      0|        goto error;
14775|       |
14776|      4|    name_obj = PyObject_GetAttrString(codec, "name");
14777|      4|    Py_CLEAR(codec);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
14778|      4|    if (!name_obj) {
  ------------------
  |  Branch (14778:9): [True: 0, False: 4]
  ------------------
14779|      0|        goto error;
14780|      0|    }
14781|       |
14782|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
14783|      4|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14784|      4|    if (wname == NULL) {
  ------------------
  |  Branch (14784:9): [True: 0, False: 4]
  ------------------
14785|      0|        goto error;
14786|      0|    }
14787|       |
14788|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
14789|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (14789:9): [True: 0, False: 4]
  ------------------
14790|      0|        PyMem_Free(wname);
14791|      0|        PyErr_NoMemory();
14792|      0|        goto error;
14793|      0|    }
14794|       |
14795|      4|    PyMem_RawFree(*config_encoding);
14796|      4|    *config_encoding = raw_wname;
14797|       |
14798|      4|    PyMem_Free(wname);
14799|      4|    return 0;
14800|       |
14801|      0|error:
14802|      0|    Py_XDECREF(codec);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14803|      0|    Py_XDECREF(name_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14804|      0|    return -1;
14805|      4|}
unicodeobject.c:encode_wstr_utf8:
14746|      8|{
14747|      8|    int res;
14748|      8|    res = _Py_EncodeUTF8Ex(wstr, str, NULL, NULL, 1, _Py_ERROR_STRICT);
14749|      8|    if (res == -2) {
  ------------------
  |  Branch (14749:9): [True: 0, False: 8]
  ------------------
14750|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
14751|      0|        return -1;
14752|      0|    }
14753|      8|    if (res < 0) {
  ------------------
  |  Branch (14753:9): [True: 0, False: 8]
  ------------------
14754|      0|        PyErr_NoMemory();
14755|      0|        return -1;
14756|      0|    }
14757|      8|    return 0;
14758|      8|}
unicodeobject.c:init_fs_codec:
14823|      2|{
14824|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
14825|       |
14826|      2|    _Py_error_handler error_handler;
14827|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
14828|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (14828:9): [True: 0, False: 2]
  ------------------
14829|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
14830|      0|        return -1;
14831|      0|    }
14832|       |
14833|      2|    char *encoding, *errors;
14834|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (14834:9): [True: 0, False: 2]
  ------------------
14835|      2|                         &encoding,
14836|      2|                         "filesystem_encoding") < 0) {
14837|      0|        return -1;
14838|      0|    }
14839|       |
14840|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (14840:9): [True: 0, False: 2]
  ------------------
14841|      2|                         &errors,
14842|      2|                         "filesystem_errors") < 0) {
14843|      0|        PyMem_RawFree(encoding);
14844|      0|        return -1;
14845|      0|    }
14846|       |
14847|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
14848|      2|    PyMem_RawFree(fs_codec->encoding);
14849|      2|    fs_codec->encoding = encoding;
14850|       |    /* encoding has been normalized by init_fs_encoding() */
14851|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
14852|      2|    PyMem_RawFree(fs_codec->errors);
14853|      2|    fs_codec->errors = errors;
14854|      2|    fs_codec->error_handler = error_handler;
14855|       |
14856|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
14857|       |    assert(fs_codec->utf8 == 1);
14858|       |#endif
14859|       |
14860|       |    /* At this point, PyUnicode_EncodeFSDefault() and
14861|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
14862|       |       the C implementation of the filesystem encoding. */
14863|       |
14864|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
14865|       |       global configuration variables. */
14866|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14866:9): [True: 2, False: 0]
  ------------------
14867|       |
14868|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (14868:13): [True: 0, False: 2]
  ------------------
14869|      2|                                      fs_codec->errors) < 0) {
14870|      0|            PyErr_NoMemory();
14871|      0|            return -1;
14872|      0|        }
14873|      2|    }
14874|      2|    return 0;
14875|      2|}
unicodeobject.c:init_stdio_encoding:
14810|      2|{
14811|       |    /* Update the stdio encoding to the normalized Python codec name. */
14812|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
14813|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (14813:9): [True: 0, False: 2]
  ------------------
14814|      0|        return _PyStatus_ERR("failed to get the Python codec name "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14815|      0|                             "of the stdio encoding");
14816|      0|    }
14817|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14818|      2|}

_Py_union_type_or:
  259|    312|{
  260|    312|    if (!is_unionable(self) || !is_unionable(other)) {
  ------------------
  |  Branch (260:9): [True: 0, False: 312]
  |  Branch (260:32): [True: 8, False: 304]
  ------------------
  261|      8|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      8|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      8|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  262|      8|    }
  263|       |
  264|    304|    unionbuilder ub;
  265|       |    // unchecked because we already checked is_unionable()
  266|    304|    if (!unionbuilder_init(&ub, false)) {
  ------------------
  |  Branch (266:9): [True: 0, False: 304]
  ------------------
  267|      0|        return NULL;
  268|      0|    }
  269|    304|    if (!unionbuilder_add_single(&ub, self) ||
  ------------------
  |  Branch (269:9): [True: 0, False: 304]
  ------------------
  270|    304|        !unionbuilder_add_single(&ub, other)) {
  ------------------
  |  Branch (270:9): [True: 0, False: 304]
  ------------------
  271|      0|        unionbuilder_finalize(&ub);
  272|      0|        return NULL;
  273|      0|    }
  274|       |
  275|    304|    PyObject *new_union = make_union(&ub);
  276|    304|    return new_union;
  277|    304|}
_Py_union_from_tuple:
  486|     36|{
  487|     36|    unionbuilder ub;
  488|     36|    if (!unionbuilder_init(&ub, true)) {
  ------------------
  |  Branch (488:9): [True: 0, False: 36]
  ------------------
  489|      0|        return NULL;
  490|      0|    }
  491|     36|    if (PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|     36|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|     36|        if (!unionbuilder_add_tuple(&ub, args)) {
  ------------------
  |  Branch (492:13): [True: 0, False: 36]
  ------------------
  493|      0|            unionbuilder_finalize(&ub);
  494|      0|            return NULL;
  495|      0|        }
  496|     36|    }
  497|      0|    else {
  498|      0|        if (!unionbuilder_add_single(&ub, args)) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  ------------------
  499|      0|            unionbuilder_finalize(&ub);
  500|      0|            return NULL;
  501|      0|        }
  502|      0|    }
  503|     36|    return make_union(&ub);
  504|     36|}
unionobject.c:is_unionable:
  245|  1.11k|{
  246|  1.11k|    if (obj == Py_None ||
  ------------------
  |  |  616|  2.23k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 262, False: 854]
  ------------------
  247|    854|        PyType_Check(obj) ||
  ------------------
  |  |  766|  1.97k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 696, False: 158]
  |  |  ------------------
  ------------------
  248|  1.11k|        PySentinel_Check(obj) ||
  ------------------
  |  |   15|  1.11k|#define PySentinel_Check(op) PySentinel_CheckExact(op)
  |  |  ------------------
  |  |  |  |   12|    158|#define PySentinel_CheckExact(op) Py_IS_TYPE((op), &PySentinel_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.27k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 158]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|  1.11k|        _PyGenericAlias_Check(obj) ||
  ------------------
  |  |   17|    158|#define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
  |  |  ------------------
  |  |  |  |  378|  1.27k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 106, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.11k|        _PyUnion_Check(obj) ||
  ------------------
  |  |   15|     52|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|  1.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  1.06k|        Py_IS_TYPE(obj, &_PyTypeAlias_Type)) {
  ------------------
  |  |  215|     52|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 52]
  |  |  ------------------
  ------------------
  252|  1.06k|        return 1;
  253|  1.06k|    }
  254|     52|    return 0;
  255|  1.11k|}
unionobject.c:unionbuilder_init:
  144|    434|{
  145|    434|    ub->args = PyList_New(0);
  146|    434|    if (ub->args == NULL) {
  ------------------
  |  Branch (146:9): [True: 0, False: 434]
  ------------------
  147|      0|        return false;
  148|      0|    }
  149|    434|    ub->hashable_args = PySet_New(NULL);
  150|    434|    if (ub->hashable_args == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 434]
  ------------------
  151|      0|        Py_DECREF(ub->args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|      0|        return false;
  153|      0|    }
  154|    434|    ub->unhashable_args = NULL;
  155|    434|    ub->is_checked = is_checked;
  156|       |    return true;
  157|    434|}
unionobject.c:unionbuilder_add_single:
  209|  1.19k|{
  210|  1.19k|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|  1.19k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  1.19k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 308, False: 886]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|    308|        arg = (PyObject *)&_PyNone_Type;  // immortal, so no refcounting needed
  212|    308|    }
  213|    886|    else if (_PyUnion_Check(arg)) {
  ------------------
  |  |   15|    886|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    886|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    886|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    886|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 94, False: 792]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|     94|        PyObject *args = ((unionobject *)arg)->args;
  215|     94|        return unionbuilder_add_tuple(ub, args);
  216|     94|    }
  217|  1.10k|    if (ub->is_checked) {
  ------------------
  |  Branch (217:9): [True: 492, False: 608]
  ------------------
  218|    492|        PyObject *type = type_check(arg, "Union[arg, ...]: each arg must be a type.");
  219|    492|        if (type == NULL) {
  ------------------
  |  Branch (219:13): [True: 0, False: 492]
  ------------------
  220|      0|            return false;
  221|      0|        }
  222|    492|        bool result = unionbuilder_add_single_unchecked(ub, type);
  223|    492|        Py_DECREF(type);
  ------------------
  |  |  430|    492|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|    492|        return result;
  225|    492|    }
  226|    608|    else {
  227|    608|        return unionbuilder_add_single_unchecked(ub, arg);
  228|    608|    }
  229|  1.10k|}
unionobject.c:type_check:
  465|    492|{
  466|    492|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|    492|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    492|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 492]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|       |        // NoneType is immortal, so don't need an INCREF
  468|      0|        return (PyObject *)Py_TYPE(arg);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|      0|    }
  470|       |    // Fast path to avoid calling into typing.py
  471|    492|    if (is_unionable(arg)) {
  ------------------
  |  Branch (471:9): [True: 448, False: 44]
  ------------------
  472|    448|        return Py_NewRef(arg);
  ------------------
  |  |  550|    448|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    448|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    448|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|    448|    }
  474|     44|    PyObject *message_str = PyUnicode_FromString(msg);
  475|     44|    if (message_str == NULL) {
  ------------------
  |  Branch (475:9): [True: 0, False: 44]
  ------------------
  476|      0|        return NULL;
  477|      0|    }
  478|     44|    PyObject *args[2] = {arg, message_str};
  479|     44|    PyObject *result = call_typing_func_object("_type_check", args, 2);
  480|     44|    Py_DECREF(message_str);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|     44|    return result;
  482|     44|}
unionobject.c:call_typing_func_object:
  447|     44|{
  448|     44|    PyObject *typing = PyImport_ImportModule("typing");
  449|     44|    if (typing == NULL) {
  ------------------
  |  Branch (449:9): [True: 0, False: 44]
  ------------------
  450|      0|        return NULL;
  451|      0|    }
  452|     44|    PyObject *func = PyObject_GetAttrString(typing, name);
  453|     44|    if (func == NULL) {
  ------------------
  |  Branch (453:9): [True: 0, False: 44]
  ------------------
  454|      0|        Py_DECREF(typing);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  455|      0|        return NULL;
  456|      0|    }
  457|     44|    PyObject *result = PyObject_Vectorcall(func, args, nargs, NULL);
  458|     44|    Py_DECREF(func);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|     44|    Py_DECREF(typing);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|     44|    return result;
  461|     44|}
unionobject.c:unionbuilder_add_single_unchecked:
  169|  1.10k|{
  170|  1.10k|    Py_hash_t hash = PyObject_Hash(arg);
  171|  1.10k|    if (hash == -1) {
  ------------------
  |  Branch (171:9): [True: 0, False: 1.10k]
  ------------------
  172|      0|        PyErr_Clear();
  173|      0|        if (ub->unhashable_args == NULL) {
  ------------------
  |  Branch (173:13): [True: 0, False: 0]
  ------------------
  174|      0|            ub->unhashable_args = PyList_New(0);
  175|      0|            if (ub->unhashable_args == NULL) {
  ------------------
  |  Branch (175:17): [True: 0, False: 0]
  ------------------
  176|      0|                return false;
  177|      0|            }
  178|      0|        }
  179|      0|        else {
  180|      0|            int contains = PySequence_Contains(ub->unhashable_args, arg);
  181|      0|            if (contains < 0) {
  ------------------
  |  Branch (181:17): [True: 0, False: 0]
  ------------------
  182|      0|                return false;
  183|      0|            }
  184|      0|            if (contains == 1) {
  ------------------
  |  Branch (184:17): [True: 0, False: 0]
  ------------------
  185|      0|                return true;
  186|      0|            }
  187|      0|        }
  188|      0|        if (PyList_Append(ub->unhashable_args, arg) < 0) {
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|            return false;
  190|      0|        }
  191|      0|    }
  192|  1.10k|    else {
  193|  1.10k|        int contains = PySet_Contains(ub->hashable_args, arg);
  194|  1.10k|        if (contains < 0) {
  ------------------
  |  Branch (194:13): [True: 0, False: 1.10k]
  ------------------
  195|      0|            return false;
  196|      0|        }
  197|  1.10k|        if (contains == 1) {
  ------------------
  |  Branch (197:13): [True: 0, False: 1.10k]
  ------------------
  198|      0|            return true;
  199|      0|        }
  200|  1.10k|        if (PySet_Add(ub->hashable_args, arg) < 0) {
  ------------------
  |  Branch (200:13): [True: 0, False: 1.10k]
  ------------------
  201|      0|            return false;
  202|      0|        }
  203|  1.10k|    }
  204|  1.10k|    return PyList_Append(ub->args, arg) == 0;
  205|  1.10k|}
unionobject.c:unionbuilder_finalize:
  161|    434|{
  162|    434|    Py_DECREF(ub->args);
  ------------------
  |  |  430|    434|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|    434|    Py_DECREF(ub->hashable_args);
  ------------------
  |  |  430|    434|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|    434|    Py_XDECREF(ub->unhashable_args);
  ------------------
  |  |  524|    434|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    434|}
unionobject.c:unionbuilder_add_tuple:
  233|    130|{
  234|    130|    Py_ssize_t n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    130|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|    528|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (235:28): [True: 398, False: 130]
  ------------------
  236|    398|        if (!unionbuilder_add_single(ub, PyTuple_GET_ITEM(tuple, i))) {
  ------------------
  |  |   29|    398|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    398|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    398|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (236:13): [True: 0, False: 398]
  ------------------
  237|      0|            return false;
  238|      0|        }
  239|    398|    }
  240|    130|    return true;
  241|    130|}
unionobject.c:unionobject_dealloc:
   21|     72|{
   22|     72|    unionobject *alias = (unionobject *)self;
   23|       |
   24|     72|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     72|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   25|     72|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|     72|    do {                                            \
  |  |   48|     72|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     72|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 72]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     72|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 72]
  |  |  ------------------
  ------------------
   26|       |
   27|     72|    Py_XDECREF(alias->args);
  ------------------
  |  |  524|     72|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|     72|    Py_XDECREF(alias->hashable_args);
  ------------------
  |  |  524|     72|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     72|    Py_XDECREF(alias->unhashable_args);
  ------------------
  |  |  524|     72|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     72|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  524|     72|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|     72|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     72|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     72|}
unionobject.c:union_nb_or:
  399|     94|{
  400|     94|    unionbuilder ub;
  401|     94|    if (!unionbuilder_init(&ub, true)) {
  ------------------
  |  Branch (401:9): [True: 0, False: 94]
  ------------------
  402|      0|        return NULL;
  403|      0|    }
  404|     94|    if (!unionbuilder_add_single(&ub, a) ||
  ------------------
  |  Branch (404:9): [True: 0, False: 94]
  ------------------
  405|     94|        !unionbuilder_add_single(&ub, b)) {
  ------------------
  |  Branch (405:9): [True: 0, False: 94]
  ------------------
  406|      0|        unionbuilder_finalize(&ub);
  407|      0|        return NULL;
  408|      0|    }
  409|     94|    return make_union(&ub);
  410|     94|}
unionobject.c:union_init_parameters:
  328|     12|{
  329|     12|    int result = 0;
  330|     12|    Py_BEGIN_CRITICAL_SECTION(alias);
  ------------------
  |  |   51|     12|    {
  ------------------
  331|     12|    if (alias->parameters == NULL) {
  ------------------
  |  Branch (331:9): [True: 12, False: 0]
  ------------------
  332|     12|        alias->parameters = _Py_make_parameters(alias->args);
  333|     12|        if (alias->parameters == NULL) {
  ------------------
  |  Branch (333:13): [True: 0, False: 12]
  ------------------
  334|      0|            result = -1;
  335|      0|        }
  336|     12|    }
  337|     12|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     12|    }
  ------------------
  338|     12|    return result;
  339|     12|}
unionobject.c:union_hash:
   47|     24|{
   48|     24|    unionobject *alias = (unionobject *)self;
   49|       |    // If there are any unhashable args, treat this union as unhashable.
   50|       |    // Otherwise, two unions might compare equal but have different hashes.
   51|     24|    if (alias->unhashable_args) {
  ------------------
  |  Branch (51:9): [True: 0, False: 24]
  ------------------
   52|       |        // Attempt to get an error from one of the values.
   53|      0|        assert(PyTuple_CheckExact(alias->unhashable_args));
   54|      0|        Py_ssize_t n = PyTuple_GET_SIZE(alias->unhashable_args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (55:32): [True: 0, False: 0]
  ------------------
   56|      0|            PyObject *arg = PyTuple_GET_ITEM(alias->unhashable_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|            Py_hash_t hash = PyObject_Hash(arg);
   58|      0|            if (hash == -1) {
  ------------------
  |  Branch (58:17): [True: 0, False: 0]
  ------------------
   59|      0|                return -1;
   60|      0|            }
   61|      0|        }
   62|       |        // The unhashable values somehow became hashable again. Still raise
   63|       |        // an error.
   64|      0|        PyErr_Format(PyExc_TypeError, "union contains %zd unhashable elements", n);
   65|      0|        return -1;
   66|      0|    }
   67|     24|    return PyObject_Hash(alias->hashable_args);
   68|     24|}
unionobject.c:union_getattro:
  423|    484|{
  424|    484|    unionobject *alias = (unionobject *)self;
  425|    484|    if (PyUnicode_Check(name)) {
  ------------------
  |  |  103|    484|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    484|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 484, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|    968|        for (const char * const *p = cls_attrs; ; p++) {
  427|    968|            if (*p == NULL) {
  ------------------
  |  Branch (427:17): [True: 484, False: 484]
  ------------------
  428|    484|                break;
  429|    484|            }
  430|    484|            if (_PyUnicode_EqualToASCIIString(name, *p)) {
  ------------------
  |  Branch (430:17): [True: 0, False: 484]
  ------------------
  431|      0|                return PyObject_GetAttr((PyObject *) Py_TYPE(alias), name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      0|            }
  433|    484|        }
  434|    484|    }
  435|    484|    return PyObject_GenericGetAttr(self, name);
  436|    484|}
unionobject.c:union_traverse:
   36|  2.84k|{
   37|  2.84k|    unionobject *alias = (unionobject *)self;
   38|  2.84k|    Py_VISIT(alias->args);
  ------------------
  |  |  194|  2.84k|    do {                                                                \
  |  |  195|  2.84k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.84k, False: 0]
  |  |  ------------------
  |  |  196|  2.84k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.84k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |  198|  2.84k|                return vret;                                            \
  |  |  199|  2.84k|        }                                                               \
  |  |  200|  2.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
   39|  2.84k|    Py_VISIT(alias->hashable_args);
  ------------------
  |  |  194|  2.84k|    do {                                                                \
  |  |  195|  2.84k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.84k, False: 0]
  |  |  ------------------
  |  |  196|  2.84k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.84k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |  198|  2.84k|                return vret;                                            \
  |  |  199|  2.84k|        }                                                               \
  |  |  200|  2.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
   40|  2.84k|    Py_VISIT(alias->unhashable_args);
  ------------------
  |  |  194|  2.84k|    do {                                                                \
  |  |  195|  2.84k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  2.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
   41|  2.84k|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|  2.84k|    do {                                                                \
  |  |  195|  2.84k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 2.76k]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|  2.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
   42|  2.84k|    return 0;
   43|  2.84k|}
unionobject.c:union_richcompare:
  114|     82|{
  115|     82|    if (!_PyUnion_Check(b) || (op != Py_EQ && op != Py_NE)) {
  ------------------
  |  |   15|     82|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    164|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyUnion_Check(b) || (op != Py_EQ && op != Py_NE)) {
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
                  if (!_PyUnion_Check(b) || (op != Py_EQ && op != Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (115:9): [True: 80, False: 2]
  |  Branch (115:32): [True: 0, False: 2]
  |  Branch (115:47): [True: 0, False: 0]
  ------------------
  116|     80|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     80|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     80|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  117|     80|    }
  118|       |
  119|      2|    int equal = unions_equal((unionobject*)a, (unionobject*)b);
  120|      2|    if (equal == -1) {
  ------------------
  |  Branch (120:9): [True: 0, False: 2]
  ------------------
  121|      0|        return NULL;
  122|      0|    }
  123|      2|    if (op == Py_EQ) {
  ------------------
  |  |  654|      2|#define Py_EQ 2
  ------------------
  |  Branch (123:9): [True: 2, False: 0]
  ------------------
  124|      2|        return PyBool_FromLong(equal);
  125|      2|    }
  126|      0|    else {
  127|      0|        return PyBool_FromLong(!equal);
  128|      0|    }
  129|      2|}
unionobject.c:unions_equal:
   72|      2|{
   73|      2|    int result = PyObject_RichCompareBool(a->hashable_args, b->hashable_args, Py_EQ);
  ------------------
  |  |  654|      2|#define Py_EQ 2
  ------------------
   74|      2|    if (result == -1) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2]
  ------------------
   75|      0|        return -1;
   76|      0|    }
   77|      2|    if (result == 0) {
  ------------------
  |  Branch (77:9): [True: 0, False: 2]
  ------------------
   78|      0|        return 0;
   79|      0|    }
   80|      2|    if (a->unhashable_args && b->unhashable_args) {
  ------------------
  |  Branch (80:9): [True: 0, False: 2]
  |  Branch (80:31): [True: 0, False: 0]
  ------------------
   81|      0|        Py_ssize_t n = PyTuple_GET_SIZE(a->unhashable_args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|      0|        if (n != PyTuple_GET_SIZE(b->unhashable_args)) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:13): [True: 0, False: 0]
  ------------------
   83|      0|            return 0;
   84|      0|        }
   85|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (85:32): [True: 0, False: 0]
  ------------------
   86|      0|            PyObject *arg_a = PyTuple_GET_ITEM(a->unhashable_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      0|            int result = PySequence_Contains(b->unhashable_args, arg_a);
   88|      0|            if (result == -1) {
  ------------------
  |  Branch (88:17): [True: 0, False: 0]
  ------------------
   89|      0|                return -1;
   90|      0|            }
   91|      0|            if (!result) {
  ------------------
  |  Branch (91:17): [True: 0, False: 0]
  ------------------
   92|      0|                return 0;
   93|      0|            }
   94|      0|        }
   95|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|            PyObject *arg_b = PyTuple_GET_ITEM(b->unhashable_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|      0|            int result = PySequence_Contains(a->unhashable_args, arg_b);
   98|      0|            if (result == -1) {
  ------------------
  |  Branch (98:17): [True: 0, False: 0]
  ------------------
   99|      0|                return -1;
  100|      0|            }
  101|      0|            if (!result) {
  ------------------
  |  Branch (101:17): [True: 0, False: 0]
  ------------------
  102|      0|                return 0;
  103|      0|            }
  104|      0|        }
  105|      0|    }
  106|      2|    else if (a->unhashable_args || b->unhashable_args) {
  ------------------
  |  Branch (106:14): [True: 0, False: 2]
  |  Branch (106:36): [True: 0, False: 2]
  ------------------
  107|      0|        return 0;
  108|      0|    }
  109|      2|    return 1;
  110|      2|}
unionobject.c:union_class_getitem:
  508|     32|{
  509|     32|    return _Py_union_from_tuple(args);
  510|     32|}
unionobject.c:union_parameters:
  365|     12|{
  366|     12|    unionobject *alias = (unionobject *)self;
  367|     12|    if (union_init_parameters(alias) < 0) {
  ------------------
  |  Branch (367:9): [True: 0, False: 12]
  ------------------
  368|      0|        return NULL;
  369|      0|    }
  370|     12|    return Py_NewRef(alias->parameters);
  ------------------
  |  |  550|     12|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     12|}
unionobject.c:make_union:
  552|    434|{
  553|    434|    Py_ssize_t n = PyList_GET_SIZE(ub->args);
  ------------------
  |  |   38|    434|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|    434|    if (n == 0) {
  ------------------
  |  Branch (554:9): [True: 0, False: 434]
  ------------------
  555|      0|        PyErr_SetString(PyExc_TypeError, "Cannot take a Union of no types.");
  556|      0|        unionbuilder_finalize(ub);
  557|      0|        return NULL;
  558|      0|    }
  559|    434|    if (n == 1) {
  ------------------
  |  Branch (559:9): [True: 0, False: 434]
  ------------------
  560|      0|        PyObject *result = PyList_GET_ITEM(ub->args, 0);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|      0|        Py_INCREF(result);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|      0|        unionbuilder_finalize(ub);
  563|      0|        return result;
  564|      0|    }
  565|       |
  566|    434|    PyObject *args = NULL, *hashable_args = NULL, *unhashable_args = NULL;
  567|    434|    args = PyList_AsTuple(ub->args);
  568|    434|    if (args == NULL) {
  ------------------
  |  Branch (568:9): [True: 0, False: 434]
  ------------------
  569|      0|        goto error;
  570|      0|    }
  571|    434|    hashable_args = PyFrozenSet_New(ub->hashable_args);
  572|    434|    if (hashable_args == NULL) {
  ------------------
  |  Branch (572:9): [True: 0, False: 434]
  ------------------
  573|      0|        goto error;
  574|      0|    }
  575|    434|    if (ub->unhashable_args != NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 434]
  ------------------
  576|      0|        unhashable_args = PyList_AsTuple(ub->unhashable_args);
  577|      0|        if (unhashable_args == NULL) {
  ------------------
  |  Branch (577:13): [True: 0, False: 0]
  ------------------
  578|      0|            goto error;
  579|      0|        }
  580|      0|    }
  581|       |
  582|    434|    unionobject *result = PyObject_GC_New(unionobject, &_PyUnion_Type);
  ------------------
  |  |  181|    434|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  583|    434|    if (result == NULL) {
  ------------------
  |  Branch (583:9): [True: 0, False: 434]
  ------------------
  584|      0|        goto error;
  585|      0|    }
  586|    434|    unionbuilder_finalize(ub);
  587|       |
  588|    434|    result->parameters = NULL;
  589|    434|    result->args = args;
  590|    434|    result->hashable_args = hashable_args;
  591|    434|    result->unhashable_args = unhashable_args;
  592|    434|    result->weakreflist = NULL;
  593|    434|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  508|    434|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    434|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|    434|    return (PyObject*)result;
  595|      0|error:
  596|      0|    Py_XDECREF(args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|    Py_XDECREF(hashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    Py_XDECREF(unhashable_args);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|    unionbuilder_finalize(ub);
  600|       |    return NULL;
  601|    434|}

_PyWeakref_GetWeakrefCount:
   43|  2.79k|{
   44|  2.79k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|  2.79k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:9): [True: 0, False: 2.79k]
  ------------------
   45|      0|        return 0;
   46|      0|    }
   47|       |
   48|  2.79k|    LOCK_WEAKREFS(obj);
   49|  2.79k|    Py_ssize_t count = 0;
   50|  2.79k|    PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|  2.79k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   51|  5.57k|    while (head != NULL) {
  ------------------
  |  Branch (51:12): [True: 2.78k, False: 2.79k]
  ------------------
   52|  2.78k|        ++count;
   53|  2.78k|        head = head->wr_next;
   54|  2.78k|    }
   55|  2.79k|    UNLOCK_WEAKREFS(obj);
   56|  2.79k|    return count;
   57|  2.79k|}
_PyWeakref_ClearRef:
  134|  26.6k|{
  135|  26.6k|    assert(self != NULL);
  136|  26.6k|    assert(PyWeakref_Check(self));
  137|       |    clear_weakref_lock_held(self, NULL);
  138|  26.6k|}
PyWeakref_NewRef:
  921|  77.4k|{
  922|  77.4k|    return (PyObject *)get_or_create_weakref(&_PyWeakref_RefType, ob,
  923|  77.4k|                                             callback);
  924|  77.4k|}
PyWeakref_GetRef:
  952|    235|{
  953|    235|    if (ref == NULL) {
  ------------------
  |  Branch (953:9): [True: 0, False: 235]
  ------------------
  954|      0|        *pobj = NULL;
  955|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  956|      0|        return -1;
  957|      0|    }
  958|    235|    if (!PyWeakref_Check(ref)) {
  ------------------
  |  |   23|    235|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    235|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    470|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    235|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    235|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 235, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|        *pobj = NULL;
  960|      0|        PyErr_SetString(PyExc_TypeError, "expected a weakref");
  961|      0|        return -1;
  962|      0|    }
  963|    235|    *pobj = _PyWeakref_GET_REF(ref);
  964|       |    return (*pobj != NULL);
  965|    235|}
PyObject_ClearWeakRefs:
 1009|   263k|{
 1010|   263k|    PyWeakReference **list;
 1011|       |
 1012|   263k|    if (object == NULL
  ------------------
  |  Branch (1012:9): [True: 0, False: 263k]
  ------------------
 1013|   263k|        || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
  ------------------
  |  |  213|   263k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   263k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   263k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1013:12): [True: 0, False: 263k]
  ------------------
 1014|   263k|        || Py_REFCNT(object) != 0)
  ------------------
  |  |  119|   263k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   263k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   263k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1014:12): [True: 0, False: 263k]
  ------------------
 1015|      0|    {
 1016|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1017|      0|        return;
 1018|      0|    }
 1019|       |
 1020|   263k|    list = GET_WEAKREFS_LISTPTR(object);
  ------------------
  |  |   38|   263k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
 1021|   263k|    if (FT_ATOMIC_LOAD_PTR(*list) == NULL) {
  ------------------
  |  |  145|   263k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1021:9): [True: 260k, False: 2.79k]
  ------------------
 1022|       |        // Fast path for the common case
 1023|   260k|        return;
 1024|   260k|    }
 1025|       |
 1026|       |    /* Remove the callback-less basic and proxy references, which always appear
 1027|       |       at the head of the list.
 1028|       |    */
 1029|  5.58k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1029:24): [True: 2.79k, False: 2.79k]
  ------------------
 1030|  2.79k|        LOCK_WEAKREFS(object);
 1031|  2.79k|        if (*list != NULL && is_basic_ref_or_proxy(*list)) {
  ------------------
  |  Branch (1031:13): [True: 2.79k, False: 0]
  |  Branch (1031:30): [True: 2, False: 2.78k]
  ------------------
 1032|      2|            PyObject *callback;
 1033|      2|            clear_weakref_lock_held(*list, &callback);
 1034|      2|            assert(callback == NULL);
 1035|      2|        }
 1036|  2.79k|        done = (*list == NULL) || !is_basic_ref_or_proxy(*list);
  ------------------
  |  Branch (1036:16): [True: 2, False: 2.78k]
  |  Branch (1036:35): [True: 2.78k, False: 0]
  ------------------
 1037|  2.79k|        UNLOCK_WEAKREFS(object);
 1038|  2.79k|    }
 1039|       |
 1040|       |    /* Deal with non-canonical (subtypes or refs with callbacks) references. */
 1041|  2.79k|    Py_ssize_t num_weakrefs = _PyWeakref_GetWeakrefCount(object);
 1042|  2.79k|    if (num_weakrefs == 0) {
  ------------------
  |  Branch (1042:9): [True: 2, False: 2.78k]
  ------------------
 1043|      2|        return;
 1044|      2|    }
 1045|       |
 1046|  2.78k|    PyObject *exc = PyErr_GetRaisedException();
 1047|  2.78k|    PyObject *tuple = PyTuple_New(num_weakrefs * 2);
 1048|  2.78k|    if (tuple == NULL) {
  ------------------
  |  Branch (1048:9): [True: 0, False: 2.78k]
  ------------------
 1049|      0|        _PyWeakref_ClearWeakRefsNoCallbacks(object);
 1050|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1051|      0|                               "clearing object weakrefs");
 1052|      0|        PyErr_SetRaisedException(exc);
 1053|      0|        return;
 1054|      0|    }
 1055|       |
 1056|  2.78k|    Py_ssize_t num_items = 0;
 1057|  5.57k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1057:24): [True: 2.78k, False: 2.78k]
  ------------------
 1058|  2.78k|        PyObject *callback = NULL;
 1059|  2.78k|        LOCK_WEAKREFS(object);
 1060|  2.78k|        PyWeakReference *cur = *list;
 1061|  2.78k|        if (cur != NULL) {
  ------------------
  |  Branch (1061:13): [True: 2.78k, False: 0]
  ------------------
 1062|  2.78k|            clear_weakref_lock_held(cur, &callback);
 1063|  2.78k|            if (_Py_TryIncref((PyObject *) cur)) {
  ------------------
  |  Branch (1063:17): [True: 2.78k, False: 0]
  ------------------
 1064|  2.78k|                assert(num_items / 2 < num_weakrefs);
 1065|  2.78k|                PyTuple_SET_ITEM(tuple, num_items, (PyObject *) cur);
  ------------------
  |  |   40|  2.78k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|  2.78k|                PyTuple_SET_ITEM(tuple, num_items + 1, callback);
  ------------------
  |  |   40|  2.78k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  2.78k|                num_items += 2;
 1068|  2.78k|                callback = NULL;
 1069|  2.78k|            }
 1070|  2.78k|        }
 1071|  2.78k|        done = (*list == NULL);
 1072|  2.78k|        UNLOCK_WEAKREFS(object);
 1073|       |
 1074|  2.78k|        Py_XDECREF(callback);
  ------------------
  |  |  524|  2.78k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|  2.78k|    }
 1076|       |
 1077|  5.57k|    for (Py_ssize_t i = 0; i < num_items; i += 2) {
  ------------------
  |  Branch (1077:28): [True: 2.78k, False: 2.78k]
  ------------------
 1078|  2.78k|        PyObject *callback = PyTuple_GET_ITEM(tuple, i + 1);
  ------------------
  |  |   29|  2.78k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.78k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|  2.78k|        if (callback != NULL) {
  ------------------
  |  Branch (1079:13): [True: 2.78k, False: 0]
  ------------------
 1080|  2.78k|            PyObject *weakref = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  2.78k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.78k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1081|  2.78k|            handle_callback((PyWeakReference *)weakref, callback);
 1082|  2.78k|        }
 1083|  2.78k|    }
 1084|       |
 1085|  2.78k|    Py_DECREF(tuple);
  ------------------
  |  |  430|  2.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|       |
 1087|       |    assert(!PyErr_Occurred());
 1088|  2.78k|    PyErr_SetRaisedException(exc);
 1089|  2.78k|}
_PyWeakref_ClearWeakRefsNoCallbacks:
 1119|      2|{
 1120|       |    /* Modeled after GET_WEAKREFS_LISTPTR().
 1121|       |
 1122|       |       This is never triggered for static types so we can avoid the
 1123|       |       (slightly) more costly _PyObject_GET_WEAKREFS_LISTPTR(). */
 1124|      2|    PyWeakReference **list = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(obj);
 1125|      2|    LOCK_WEAKREFS(obj);
 1126|      2|    while (*list) {
  ------------------
  |  Branch (1126:12): [True: 0, False: 2]
  ------------------
 1127|      0|        _PyWeakref_ClearRef(*list);
 1128|      0|    }
 1129|      2|    UNLOCK_WEAKREFS(obj);
 1130|      2|}
weakrefobject.c:clear_weakref_lock_held:
   80|   746k|{
   81|   746k|    if (self->wr_object != Py_None) {
  ------------------
  |  |  616|   746k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (81:9): [True: 717k, False: 29.4k]
  ------------------
   82|   717k|        PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object);
  ------------------
  |  |   38|   717k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   83|   717k|        if (*list == self) {
  ------------------
  |  Branch (83:13): [True: 717k, False: 72]
  ------------------
   84|       |            /* If 'self' is the end of the list (and thus self->wr_next ==
   85|       |               NULL) then the weakref list itself (and thus the value of *list)
   86|       |               will end up being set to NULL. */
   87|   717k|            FT_ATOMIC_STORE_PTR(*list, self->wr_next);
  ------------------
  |  |  146|   717k|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   88|   717k|        }
   89|   717k|        FT_ATOMIC_STORE_PTR(self->wr_object, Py_None);
  ------------------
  |  |  146|   717k|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   90|   717k|        if (self->wr_prev != NULL) {
  ------------------
  |  Branch (90:13): [True: 72, False: 717k]
  ------------------
   91|     72|            self->wr_prev->wr_next = self->wr_next;
   92|     72|        }
   93|   717k|        if (self->wr_next != NULL) {
  ------------------
  |  Branch (93:13): [True: 239k, False: 478k]
  ------------------
   94|   239k|            self->wr_next->wr_prev = self->wr_prev;
   95|   239k|        }
   96|   717k|        self->wr_prev = NULL;
   97|   717k|        self->wr_next = NULL;
   98|   717k|    }
   99|   746k|    if (callback != NULL) {
  ------------------
  |  Branch (99:9): [True: 720k, False: 26.6k]
  ------------------
  100|   720k|        *callback = self->wr_callback;
  101|       |        self->wr_callback = NULL;
  102|   720k|    }
  103|   746k|}
weakrefobject.c:weakref_dealloc:
  142|   717k|{
  143|   717k|    PyObject_GC_UnTrack(self);
  144|   717k|    clear_weakref(self);
  145|   717k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   717k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   717k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   717k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  146|   717k|}
weakrefobject.c:clear_weakref:
  108|   717k|{
  109|   717k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|   717k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|   717k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  110|   717k|    PyObject *callback = NULL;
  111|       |
  112|       |    // self->wr_object may be Py_None if the GC cleared the weakref, so lock
  113|       |    // using the pointer in the weakref.
  114|   717k|    LOCK_WEAKREFS_FOR_WR(self);
  115|   717k|    clear_weakref_lock_held(self, &callback);
  116|   717k|    UNLOCK_WEAKREFS_FOR_WR(self);
  117|   717k|    Py_XDECREF(callback);
  ------------------
  |  |  524|   717k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   717k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   717k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|   717k|}
weakrefobject.c:weakref_hash:
  206|   815k|{
  207|   815k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|   815k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|   815k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  208|   815k|    Py_hash_t hash;
  209|   815k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   815k|    {
  ------------------
  210|   815k|    hash = weakref_hash_lock_held(self);
  211|   815k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   815k|    }
  ------------------
  212|   815k|    return hash;
  213|   815k|}
weakrefobject.c:weakref_hash_lock_held:
  191|   815k|{
  192|   815k|    if (self->hash != -1)
  ------------------
  |  Branch (192:9): [True: 100k, False: 715k]
  ------------------
  193|   100k|        return self->hash;
  194|   715k|    PyObject* obj = _PyWeakref_GET_REF((PyObject*)self);
  195|   715k|    if (obj == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 715k]
  ------------------
  196|      0|        PyErr_SetString(PyExc_TypeError, "weak object has gone away");
  197|      0|        return -1;
  198|      0|    }
  199|   715k|    self->hash = PyObject_Hash(obj);
  200|   715k|    Py_DECREF(obj);
  ------------------
  |  |  430|   715k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   715k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   715k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|   715k|    return self->hash;
  202|   715k|}
weakrefobject.c:gc_traverse:
  151|  84.4k|{
  152|  84.4k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|  84.4k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|  84.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  153|  84.4k|    Py_VISIT(self->wr_callback);
  ------------------
  |  |  194|  84.4k|    do {                                                                \
  |  |  195|  84.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.6k, False: 25.7k]
  |  |  ------------------
  |  |  196|  58.6k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.6k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |  198|  58.6k|                return vret;                                            \
  |  |  199|  58.6k|        }                                                               \
  |  |  200|  84.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 84.4k]
  |  |  ------------------
  ------------------
  154|  84.4k|    return 0;
  155|  84.4k|}
weakrefobject.c:weakref_richcompare:
  246|   276k|{
  247|   276k|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|   552k|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (247:10): [True: 0, False: 276k]
  |  Branch (247:25): [True: 0, False: 0]
  ------------------
  248|   276k|        !PyWeakref_Check(self) ||
  ------------------
  |  |   23|   552k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|   276k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|   552k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 276k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|   276k|        !PyWeakref_Check(other)) {
  ------------------
  |  |   23|   276k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|   276k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|   552k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 276k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  251|      0|    }
  252|   276k|    PyObject* obj = _PyWeakref_GET_REF(self);
  253|   276k|    PyObject* other_obj = _PyWeakref_GET_REF(other);
  254|   276k|    if (obj == NULL || other_obj == NULL) {
  ------------------
  |  Branch (254:9): [True: 0, False: 276k]
  |  Branch (254:24): [True: 0, False: 276k]
  ------------------
  255|      0|        Py_XDECREF(obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      0|        Py_XDECREF(other_obj);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|        int res = (self == other);
  258|      0|        if (op == Py_NE)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (258:13): [True: 0, False: 0]
  ------------------
  259|      0|            res = !res;
  260|      0|        if (res)
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  262|      0|        else
  263|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|      0|    }
  265|   276k|    PyObject* res = PyObject_RichCompare(obj, other_obj, op);
  266|   276k|    Py_DECREF(obj);
  ------------------
  |  |  430|   276k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  267|   276k|    Py_DECREF(other_obj);
  ------------------
  |  |  430|   276k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|   276k|    return res;
  269|   276k|}
weakrefobject.c:weakref___init__:
  474|   717k|{
  475|   717k|    PyObject *tmp;
  476|       |
  477|   717k|    if (!_PyArg_NoKeywords("ref", kwargs))
  ------------------
  |  |   25|   717k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 717k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  478|      0|        return -1;
  479|       |
  480|   717k|    if (parse_weakref_init_args("__init__", args, kwargs, &tmp, &tmp))
  ------------------
  |  Branch (480:9): [True: 717k, False: 0]
  ------------------
  481|   717k|        return 0;
  482|      0|    else
  483|      0|        return -1;
  484|   717k|}
weakrefobject.c:parse_weakref_init_args:
  458|  1.43M|{
  459|  1.43M|    return PyArg_UnpackTuple(args, funcname, 1, 2, obp, callbackp);
  460|  1.43M|}
weakrefobject.c:weakref___new__:
  464|   717k|{
  465|   717k|    PyObject *ob, *callback = NULL;
  466|   717k|    if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) {
  ------------------
  |  Branch (466:9): [True: 717k, False: 0]
  ------------------
  467|   717k|        return (PyObject *)get_or_create_weakref(type, ob, callback);
  468|   717k|    }
  469|      0|    return NULL;
  470|   717k|}
weakrefobject.c:get_or_create_weakref:
  412|   794k|{
  413|   794k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|   794k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   794k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   794k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 0, False: 794k]
  ------------------
  414|      0|        PyErr_Format(PyExc_TypeError,
  415|      0|                     "cannot create weak reference to '%s' object",
  416|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        return NULL;
  418|      0|    }
  419|   794k|    if (callback == Py_None)
  ------------------
  |  |  616|   794k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (419:9): [True: 0, False: 794k]
  ------------------
  420|      0|        callback = NULL;
  421|       |
  422|   794k|    PyWeakReference **list = GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|   794k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
  423|   794k|    if ((type == &_PyWeakref_RefType) ||
  ------------------
  |  Branch (423:9): [True: 793k, False: 1.66k]
  ------------------
  424|  1.66k|        (type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (424:9): [True: 0, False: 1.66k]
  ------------------
  425|  1.66k|        (type == &_PyWeakref_CallableProxyType))
  ------------------
  |  Branch (425:9): [True: 0, False: 1.66k]
  ------------------
  426|   793k|    {
  427|   793k|        LOCK_WEAKREFS(obj);
  428|   793k|        PyWeakReference *basic_ref = try_reuse_basic_ref(*list, type, callback);
  429|   793k|        if (basic_ref != NULL) {
  ------------------
  |  Branch (429:13): [True: 73.7k, False: 719k]
  ------------------
  430|  73.7k|            UNLOCK_WEAKREFS(obj);
  431|  73.7k|            return basic_ref;
  432|  73.7k|        }
  433|   719k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  434|   719k|        if (newref == NULL) {
  ------------------
  |  Branch (434:13): [True: 0, False: 719k]
  ------------------
  435|      0|            UNLOCK_WEAKREFS(obj);
  436|      0|            return NULL;
  437|      0|        }
  438|   719k|        insert_weakref(newref, list);
  439|   719k|        UNLOCK_WEAKREFS(obj);
  440|   719k|        return newref;
  441|   719k|    }
  442|  1.66k|    else {
  443|       |        // We may not be able to safely allocate inside the lock
  444|  1.66k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  445|  1.66k|        if (newref == NULL) {
  ------------------
  |  Branch (445:13): [True: 0, False: 1.66k]
  ------------------
  446|      0|            return NULL;
  447|      0|        }
  448|  1.66k|        LOCK_WEAKREFS(obj);
  449|  1.66k|        insert_weakref(newref, list);
  450|  1.66k|        UNLOCK_WEAKREFS(obj);
  451|  1.66k|        return newref;
  452|  1.66k|    }
  453|   794k|}
weakrefobject.c:try_reuse_basic_ref:
  332|   793k|{
  333|   793k|    if (callback != NULL) {
  ------------------
  |  Branch (333:9): [True: 449k, False: 343k]
  ------------------
  334|   449k|        return NULL;
  335|   449k|    }
  336|       |
  337|   343k|    PyWeakReference *ref, *proxy;
  338|   343k|    get_basic_refs(list, &ref, &proxy);
  339|       |
  340|   343k|    PyWeakReference *cand = NULL;
  341|   343k|    if (type == &_PyWeakref_RefType) {
  ------------------
  |  Branch (341:9): [True: 343k, False: 0]
  ------------------
  342|   343k|        cand = ref;
  343|   343k|    }
  344|   343k|    if ((type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (344:9): [True: 0, False: 343k]
  ------------------
  345|   343k|        (type == &_PyWeakref_CallableProxyType)) {
  ------------------
  |  Branch (345:9): [True: 0, False: 343k]
  ------------------
  346|      0|        cand = proxy;
  347|      0|    }
  348|       |
  349|   343k|    if (cand != NULL && _Py_TryIncref((PyObject *) cand)) {
  ------------------
  |  Branch (349:9): [True: 73.7k, False: 269k]
  |  Branch (349:25): [True: 73.7k, False: 0]
  ------------------
  350|  73.7k|        return cand;
  351|  73.7k|    }
  352|   269k|    return NULL;
  353|   343k|}
weakrefobject.c:get_basic_refs:
  279|  1.06M|{
  280|  1.06M|    *refp = NULL;
  281|  1.06M|    *proxyp = NULL;
  282|       |
  283|  1.06M|    if (head != NULL && head->wr_callback == NULL) {
  ------------------
  |  Branch (283:9): [True: 341k, False: 723k]
  |  Branch (283:25): [True: 74.0k, False: 267k]
  ------------------
  284|       |        /* We need to be careful that the "basic refs" aren't
  285|       |           subclasses of the main types.  That complicates this a
  286|       |           little. */
  287|  74.0k|        if (PyWeakref_CheckRefExact(head)) {
  ------------------
  |  |   17|  74.0k|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|  74.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  74.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 74.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|  74.0k|            *refp = head;
  289|  74.0k|            head = head->wr_next;
  290|  74.0k|        }
  291|  74.0k|        if (head != NULL
  ------------------
  |  Branch (291:13): [True: 73.5k, False: 480]
  ------------------
  292|  73.5k|            && head->wr_callback == NULL
  ------------------
  |  Branch (292:16): [True: 0, False: 73.5k]
  ------------------
  293|      0|            && PyWeakref_CheckProxy(head)) {
  ------------------
  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            *proxyp = head;
  295|       |            /* head = head->wr_next; */
  296|      0|        }
  297|  74.0k|    }
  298|  1.06M|}
weakrefobject.c:allocate_weakref:
  401|   721k|{
  402|   721k|    PyWeakReference *newref = (PyWeakReference *) type->tp_alloc(type, 0);
  403|   721k|    if (newref == NULL) {
  ------------------
  |  Branch (403:9): [True: 0, False: 721k]
  ------------------
  404|      0|        return NULL;
  405|      0|    }
  406|   721k|    init_weakref(newref, obj, callback);
  407|   721k|    return newref;
  408|   721k|}
weakrefobject.c:init_weakref:
   63|   721k|{
   64|   721k|    self->hash = -1;
   65|   721k|    self->wr_object = ob;
   66|   721k|    self->wr_prev = NULL;
   67|   721k|    self->wr_next = NULL;
   68|   721k|    self->wr_callback = Py_XNewRef(callback);
  ------------------
  |  |  551|   721k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   721k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   721k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|   721k|    self->vectorcall = weakref_vectorcall;
   70|       |#ifdef Py_GIL_DISABLED
   71|       |    self->weakrefs_lock = &WEAKREF_LIST_LOCK(ob);
   72|       |    _PyObject_SetMaybeWeakref(ob);
   73|       |    _PyObject_SetMaybeWeakref((PyObject *)self);
   74|       |#endif
   75|   721k|}
weakrefobject.c:weakref_vectorcall:
  174|   248k|{
  175|   248k|    if (!_PyArg_NoKwnames("weakref", kwnames)) {
  ------------------
  |  |   15|   248k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 248k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  176|      0|        return NULL;
  177|      0|    }
  178|   248k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   248k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  179|   248k|    if (!_PyArg_CheckPositional("weakref", nargs, 0, 0)) {
  ------------------
  |  |   31|   248k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 248k, False: 0]
  |  |  |  Branch (31:27): [True: 248k, False: 0]
  |  |  ------------------
  |  |   32|   248k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|   248k|    PyObject *obj = _PyWeakref_GET_REF(self);
  183|   248k|    if (obj == NULL) {
  ------------------
  |  Branch (183:9): [True: 0, False: 248k]
  ------------------
  184|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  185|      0|    }
  186|   248k|    return obj;
  187|   248k|}
weakrefobject.c:insert_weakref:
  376|   721k|{
  377|   721k|    PyWeakReference *ref, *proxy;
  378|   721k|    get_basic_refs(*list, &ref, &proxy);
  379|       |
  380|   721k|    PyWeakReference *prev;
  381|   721k|    if (is_basic_ref(newref)) {
  ------------------
  |  Branch (381:9): [True: 269k, False: 451k]
  ------------------
  382|   269k|        prev = NULL;
  383|   269k|    }
  384|   451k|    else if (is_basic_proxy(newref)) {
  ------------------
  |  Branch (384:14): [True: 0, False: 451k]
  ------------------
  385|      0|        prev = ref;
  386|      0|    }
  387|   451k|    else {
  388|   451k|        prev = (proxy == NULL) ? ref : proxy;
  ------------------
  |  Branch (388:16): [True: 451k, False: 0]
  ------------------
  389|   451k|    }
  390|       |
  391|   721k|    if (prev == NULL) {
  ------------------
  |  Branch (391:9): [True: 720k, False: 273]
  ------------------
  392|   720k|        insert_head(newref, list);
  393|   720k|    }
  394|    273|    else {
  395|    273|        insert_after(newref, prev);
  396|    273|    }
  397|   721k|}
weakrefobject.c:is_basic_ref:
  357|   726k|{
  358|   726k|    return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
  ------------------
  |  |   17|   269k|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|   269k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   269k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   269k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 269k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (358:12): [True: 269k, False: 457k]
  ------------------
  359|   726k|}
weakrefobject.c:is_basic_proxy:
  363|   457k|{
  364|   457k|    return (proxy->wr_callback == NULL) && PyWeakref_CheckProxy(proxy);
  ------------------
  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (364:12): [True: 0, False: 457k]
  ------------------
  365|   457k|}
weakrefobject.c:insert_head:
  316|   720k|{
  317|   720k|    PyWeakReference *next = *list;
  318|       |
  319|   720k|    newref->wr_prev = NULL;
  320|   720k|    newref->wr_next = next;
  321|   720k|    if (next != NULL)
  ------------------
  |  Branch (321:9): [True: 239k, False: 481k]
  ------------------
  322|   239k|        next->wr_prev = newref;
  323|   720k|    *list = newref;
  324|   720k|}
weakrefobject.c:insert_after:
  303|    273|{
  304|    273|    newref->wr_prev = prev;
  305|    273|    newref->wr_next = prev->wr_next;
  306|    273|    if (prev->wr_next != NULL)
  ------------------
  |  Branch (306:9): [True: 150, False: 123]
  ------------------
  307|    150|        prev->wr_next->wr_prev = newref;
  308|    273|    prev->wr_next = newref;
  309|    273|}
weakrefobject.c:is_basic_ref_or_proxy:
  369|  5.57k|{
  370|  5.57k|    return is_basic_ref(wr) || is_basic_proxy(wr);
  ------------------
  |  Branch (370:12): [True: 2, False: 5.57k]
  |  Branch (370:32): [True: 0, False: 5.57k]
  ------------------
  371|  5.57k|}
weakrefobject.c:handle_callback:
  989|  2.78k|{
  990|  2.78k|    PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref);
  991|       |
  992|  2.78k|    if (cbresult == NULL) {
  ------------------
  |  Branch (992:9): [True: 0, False: 2.78k]
  ------------------
  993|      0|        PyErr_FormatUnraisable("Exception ignored while "
  994|      0|                               "calling weakref callback %R", callback);
  995|      0|    }
  996|  2.78k|    else {
  997|  2.78k|        Py_DECREF(cbresult);
  ------------------
  |  |  430|  2.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  998|  2.78k|    }
  999|  2.78k|}

_PyPegen_dummy_name:
   12|    631|{
   13|    631|    return &_PyRuntime.parser.dummy_name;
   14|    631|}
_PyPegen_singleton_seq:
   19|  1.59k|{
   20|  1.59k|    assert(a != NULL);
   21|  1.59k|    asdl_seq *seq = (asdl_seq*)_Py_asdl_generic_seq_new(1, p->arena);
   22|  1.59k|    if (!seq) {
  ------------------
  |  Branch (22:9): [True: 0, False: 1.59k]
  ------------------
   23|      0|        return NULL;
   24|      0|    }
   25|  1.59k|    asdl_seq_SET_UNTYPED(seq, 0, a);
  ------------------
  |  |  106|  1.59k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   26|  1.59k|    return seq;
   27|  1.59k|}
_PyPegen_seq_insert_in_front:
   32|  1.58k|{
   33|  1.58k|    assert(a != NULL);
   34|  1.58k|    if (!seq) {
  ------------------
  |  Branch (34:9): [True: 12, False: 1.57k]
  ------------------
   35|     12|        return _PyPegen_singleton_seq(p, a);
   36|     12|    }
   37|       |
   38|  1.57k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|  1.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|  1.57k|    if (!new_seq) {
  ------------------
  |  Branch (39:9): [True: 0, False: 1.57k]
  ------------------
   40|      0|        return NULL;
   41|      0|    }
   42|       |
   43|  1.57k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|  1.57k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   44|  4.50k|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|  1.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:55): [True: 2.92k, False: 1.57k]
  ------------------
   45|  2.92k|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|  2.92k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|  2.92k|    }
   47|  1.57k|    return new_seq;
   48|  1.57k|}
_PyPegen_seq_flatten:
   85|    773|{
   86|    773|    Py_ssize_t flattened_seq_size = _get_flattened_seq_size(seqs);
   87|    773|    assert(flattened_seq_size > 0);
   88|       |
   89|    773|    asdl_seq *flattened_seq = (asdl_seq*)_Py_asdl_generic_seq_new(flattened_seq_size, p->arena);
   90|    773|    if (!flattened_seq) {
  ------------------
  |  Branch (90:9): [True: 0, False: 773]
  ------------------
   91|      0|        return NULL;
   92|      0|    }
   93|       |
   94|    773|    int flattened_seq_idx = 0;
   95|  2.34k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|    773|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 773]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (95:52): [True: 1.57k, False: 773]
  ------------------
   96|  1.57k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|  1.57k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   97|  3.15k|        for (Py_ssize_t j = 0, li = asdl_seq_LEN(inner_seq); j < li; j++) {
  ------------------
  |  |   83|  1.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (97:62): [True: 1.57k, False: 1.57k]
  ------------------
   98|  1.57k|            asdl_seq_SET_UNTYPED(flattened_seq, flattened_seq_idx++, asdl_seq_GET_UNTYPED(inner_seq, j));
  ------------------
  |  |  106|  1.57k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   99|  1.57k|        }
  100|  1.57k|    }
  101|    773|    assert(flattened_seq_idx == flattened_seq_size);
  102|       |
  103|    773|    return flattened_seq;
  104|    773|}
_PyPegen_join_names_with_dot:
  122|    178|{
  123|    178|    assert(first_name != NULL && second_name != NULL);
  124|    178|    PyObject *uni = PyUnicode_FromFormat("%U.%U",
  125|    178|            first_name->v.Name.id, second_name->v.Name.id);
  126|    178|    if (!uni) {
  ------------------
  |  Branch (126:9): [True: 0, False: 178]
  ------------------
  127|      0|        return NULL;
  128|      0|    }
  129|    178|    PyInterpreterState *interp = _PyInterpreterState_GET();
  130|    178|    _PyUnicode_InternImmortal(interp, &uni);
  131|    178|    if (_PyArena_AddPyObject(p->arena, uni) < 0) {
  ------------------
  |  Branch (131:9): [True: 0, False: 178]
  ------------------
  132|      0|        Py_DECREF(uni);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|      0|        return NULL;
  134|      0|    }
  135|       |
  136|    178|    return _PyAST_Name(uni, Load, EXTRA_EXPR(first_name, second_name));
  ------------------
  |  |  268|    178|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  137|    178|}
_PyPegen_seq_count_dots:
  142|     93|{
  143|     93|    int number_of_dots = 0;
  144|     93|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|     93|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    186|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (144:51): [True: 0, False: 93]
  ------------------
  145|      0|        Token *current_expr = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  146|      0|        switch (current_expr->type) {
  147|      0|            case ELLIPSIS:
  ------------------
  |  |   68|      0|#define ELLIPSIS        52
  ------------------
  |  Branch (147:13): [True: 0, False: 0]
  ------------------
  148|      0|                number_of_dots += 3;
  149|      0|                break;
  150|      0|            case DOT:
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (150:13): [True: 0, False: 0]
  ------------------
  151|      0|                number_of_dots += 1;
  152|      0|                break;
  153|      0|            default:
  ------------------
  |  Branch (153:13): [True: 0, False: 0]
  ------------------
  154|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  155|      0|        }
  156|      0|    }
  157|       |
  158|     93|    return number_of_dots;
  159|     93|}
_PyPegen_cmpop_expr_pair:
  197|    436|{
  198|    436|    assert(expr != NULL);
  199|    436|    CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair));
  200|    436|    if (!a) {
  ------------------
  |  Branch (200:9): [True: 0, False: 436]
  ------------------
  201|      0|        return NULL;
  202|      0|    }
  203|    436|    a->cmpop = cmpop;
  204|    436|    a->expr = expr;
  205|    436|    return a;
  206|    436|}
_PyPegen_get_cmpops:
  210|    434|{
  211|    434|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    434|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    868|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 434]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|    434|    assert(len > 0);
  213|       |
  214|    434|    asdl_int_seq *new_seq = _Py_asdl_int_seq_new(len, p->arena);
  215|    434|    if (!new_seq) {
  ------------------
  |  Branch (215:9): [True: 0, False: 434]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|    870|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (218:28): [True: 436, False: 434]
  ------------------
  219|    436|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    436|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  220|    436|        asdl_seq_SET(new_seq, i, pair->cmpop);
  ------------------
  |  |   94|    436|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  221|    436|    }
  222|    434|    return new_seq;
  223|    434|}
_PyPegen_get_exprs:
  227|    434|{
  228|    434|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    434|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    868|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 434]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|    434|    assert(len > 0);
  230|       |
  231|    434|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  232|    434|    if (!new_seq) {
  ------------------
  |  Branch (232:9): [True: 0, False: 434]
  ------------------
  233|      0|        return NULL;
  234|      0|    }
  235|    870|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (235:28): [True: 436, False: 434]
  ------------------
  236|    436|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    436|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  237|    436|        asdl_seq_SET(new_seq, i, pair->expr);
  ------------------
  |  |   94|    436|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  238|    436|    }
  239|    434|    return new_seq;
  240|    434|}
_PyPegen_set_expr_context:
  310|    584|{
  311|    584|    assert(expr != NULL);
  312|       |
  313|    584|    expr_ty new = NULL;
  314|    584|    switch (expr->kind) {
  315|    584|        case Name_kind:
  ------------------
  |  Branch (315:9): [True: 584, False: 0]
  ------------------
  316|    584|            new = _set_name_context(p, expr, ctx);
  317|    584|            break;
  318|      0|        case Tuple_kind:
  ------------------
  |  Branch (318:9): [True: 0, False: 584]
  ------------------
  319|      0|            new = _set_tuple_context(p, expr, ctx);
  320|      0|            break;
  321|      0|        case List_kind:
  ------------------
  |  Branch (321:9): [True: 0, False: 584]
  ------------------
  322|      0|            new = _set_list_context(p, expr, ctx);
  323|      0|            break;
  324|      0|        case Subscript_kind:
  ------------------
  |  Branch (324:9): [True: 0, False: 584]
  ------------------
  325|      0|            new = _set_subscript_context(p, expr, ctx);
  326|      0|            break;
  327|      0|        case Attribute_kind:
  ------------------
  |  Branch (327:9): [True: 0, False: 584]
  ------------------
  328|      0|            new = _set_attribute_context(p, expr, ctx);
  329|      0|            break;
  330|      0|        case Starred_kind:
  ------------------
  |  Branch (330:9): [True: 0, False: 584]
  ------------------
  331|      0|            new = _set_starred_context(p, expr, ctx);
  332|      0|            break;
  333|      0|        default:
  ------------------
  |  Branch (333:9): [True: 0, False: 584]
  ------------------
  334|      0|            new = expr;
  335|    584|    }
  336|    584|    return new;
  337|    584|}
_PyPegen_name_default_pair:
  432|   325k|{
  433|   325k|    NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair));
  434|   325k|    if (!a) {
  ------------------
  |  Branch (434:9): [True: 0, False: 325k]
  ------------------
  435|      0|        return NULL;
  436|      0|    }
  437|   325k|    a->arg = _PyPegen_add_type_comment_to_arg(p, arg, tc);
  438|   325k|    if (!a->arg) {
  ------------------
  |  Branch (438:9): [True: 0, False: 325k]
  ------------------
  439|      0|        return NULL;
  440|      0|    }
  441|   325k|    a->value = value;
  442|   325k|    return a;
  443|   325k|}
_PyPegen_star_etc:
  461|     58|{
  462|     58|    StarEtc *a = _PyArena_Malloc(p->arena, sizeof(StarEtc));
  463|     58|    if (!a) {
  ------------------
  |  Branch (463:9): [True: 0, False: 58]
  ------------------
  464|      0|        return NULL;
  465|      0|    }
  466|     58|    a->vararg = vararg;
  467|     58|    a->kwonlyargs = kwonlyargs;
  468|     58|    a->kwarg = kwarg;
  469|     58|    return a;
  470|     58|}
_PyPegen_join_sequences:
  474|   217k|{
  475|   217k|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|   217k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   434k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 217k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|   217k|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|   217k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   434k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 217k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|   217k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  478|   217k|    if (!new_seq) {
  ------------------
  |  Branch (478:9): [True: 0, False: 217k]
  ------------------
  479|      0|        return NULL;
  480|      0|    }
  481|       |
  482|   217k|    int k = 0;
  483|   435k|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (483:28): [True: 217k, False: 217k]
  ------------------
  484|   217k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|   217k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   217k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  485|   217k|    }
  486|   217k|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (486:28): [True: 40, False: 217k]
  ------------------
  487|     40|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|     40|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     40|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  488|     40|    }
  489|       |
  490|   217k|    return new_seq;
  491|   217k|}
_PyPegen_make_arguments:
  647|   217k|{
  648|   217k|    asdl_arg_seq *posonlyargs;
  649|   217k|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (649:9): [True: 0, False: 217k]
  ------------------
  650|      0|        return NULL;
  651|      0|    }
  652|       |
  653|   217k|    asdl_arg_seq *posargs;
  654|   217k|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (654:9): [True: 0, False: 217k]
  ------------------
  655|      0|        return NULL;
  656|      0|    }
  657|       |
  658|   217k|    asdl_expr_seq *posdefaults;
  659|   217k|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (659:9): [True: 0, False: 217k]
  ------------------
  660|      0|        return NULL;
  661|      0|    }
  662|       |
  663|   217k|    arg_ty vararg = NULL;
  664|   217k|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (664:9): [True: 58, False: 217k]
  |  Branch (664:29): [True: 6, False: 52]
  ------------------
  665|      6|        vararg = star_etc->vararg;
  666|      6|    }
  667|       |
  668|   217k|    asdl_arg_seq *kwonlyargs;
  669|   217k|    asdl_expr_seq *kwdefaults;
  670|   217k|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (670:9): [True: 0, False: 217k]
  ------------------
  671|      0|        return NULL;
  672|      0|    }
  673|       |
  674|   217k|    arg_ty kwarg = NULL;
  675|   217k|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (675:9): [True: 58, False: 217k]
  |  Branch (675:29): [True: 4, False: 54]
  ------------------
  676|      4|        kwarg = star_etc->kwarg;
  677|      4|    }
  678|       |
  679|   217k|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  680|   217k|                            kwdefaults, kwarg, posdefaults, p->arena);
  681|   217k|}
_PyPegen_empty_arguments:
  688|     16|{
  689|     16|    asdl_arg_seq *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  690|     16|    if (!posonlyargs) {
  ------------------
  |  Branch (690:9): [True: 0, False: 16]
  ------------------
  691|      0|        return NULL;
  692|      0|    }
  693|     16|    asdl_arg_seq *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  694|     16|    if (!posargs) {
  ------------------
  |  Branch (694:9): [True: 0, False: 16]
  ------------------
  695|      0|        return NULL;
  696|      0|    }
  697|     16|    asdl_expr_seq *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  698|     16|    if (!posdefaults) {
  ------------------
  |  Branch (698:9): [True: 0, False: 16]
  ------------------
  699|      0|        return NULL;
  700|      0|    }
  701|     16|    asdl_arg_seq *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  702|     16|    if (!kwonlyargs) {
  ------------------
  |  Branch (702:9): [True: 0, False: 16]
  ------------------
  703|      0|        return NULL;
  704|      0|    }
  705|     16|    asdl_expr_seq *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  706|     16|    if (!kwdefaults) {
  ------------------
  |  Branch (706:9): [True: 0, False: 16]
  ------------------
  707|      0|        return NULL;
  708|      0|    }
  709|       |
  710|     16|    return _PyAST_arguments(posonlyargs, posargs, NULL, kwonlyargs,
  711|       |                            kwdefaults, NULL, posdefaults, p->arena);
  712|     16|}
_PyPegen_augoperator:
  717|      6|{
  718|      6|    AugOperator *a = _PyArena_Malloc(p->arena, sizeof(AugOperator));
  719|      6|    if (!a) {
  ------------------
  |  Branch (719:9): [True: 0, False: 6]
  ------------------
  720|      0|        return NULL;
  721|      0|    }
  722|      6|    a->kind = kind;
  723|      6|    return a;
  724|      6|}
_PyPegen_function_def_decorators:
  729|     54|{
  730|     54|    assert(function_def != NULL);
  731|     54|    if (function_def->kind == AsyncFunctionDef_kind) {
  ------------------
  |  Branch (731:9): [True: 0, False: 54]
  ------------------
  732|      0|        return _PyAST_AsyncFunctionDef(
  733|      0|            function_def->v.AsyncFunctionDef.name,
  734|      0|            function_def->v.AsyncFunctionDef.args,
  735|      0|            function_def->v.AsyncFunctionDef.body, decorators,
  736|      0|            function_def->v.AsyncFunctionDef.returns,
  737|      0|            function_def->v.AsyncFunctionDef.type_comment,
  738|      0|            function_def->v.AsyncFunctionDef.type_params,
  739|      0|            function_def->lineno, function_def->col_offset,
  740|      0|            function_def->end_lineno, function_def->end_col_offset, p->arena);
  741|      0|    }
  742|       |
  743|     54|    return _PyAST_FunctionDef(
  744|     54|        function_def->v.FunctionDef.name,
  745|     54|        function_def->v.FunctionDef.args,
  746|     54|        function_def->v.FunctionDef.body, decorators,
  747|     54|        function_def->v.FunctionDef.returns,
  748|     54|        function_def->v.FunctionDef.type_comment,
  749|     54|        function_def->v.FunctionDef.type_params,
  750|     54|        function_def->lineno, function_def->col_offset,
  751|     54|        function_def->end_lineno, function_def->end_col_offset, p->arena);
  752|     54|}
_PyPegen_keyword_or_starred:
  771|    414|{
  772|    414|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  773|    414|    if (!a) {
  ------------------
  |  Branch (773:9): [True: 0, False: 414]
  ------------------
  774|      0|        return NULL;
  775|      0|    }
  776|    414|    a->element = element;
  777|    414|    a->is_keyword = is_keyword;
  778|    414|    return a;
  779|    414|}
_PyPegen_seq_extract_starred_exprs:
  798|     94|{
  799|     94|    int new_len = _seq_number_of_starred_exprs(kwargs);
  800|     94|    if (new_len == 0) {
  ------------------
  |  Branch (800:9): [True: 94, False: 0]
  ------------------
  801|     94|        return NULL;
  802|     94|    }
  803|      0|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(new_len, p->arena);
  804|      0|    if (!new_seq) {
  ------------------
  |  Branch (804:9): [True: 0, False: 0]
  ------------------
  805|      0|        return NULL;
  806|      0|    }
  807|       |
  808|      0|    int idx = 0;
  809|      0|    for (Py_ssize_t i = 0, len = asdl_seq_LEN(kwargs); i < len; i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (809:56): [True: 0, False: 0]
  ------------------
  810|      0|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  811|      0|        if (!k->is_keyword) {
  ------------------
  |  Branch (811:13): [True: 0, False: 0]
  ------------------
  812|      0|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  813|      0|        }
  814|      0|    }
  815|      0|    return new_seq;
  816|      0|}
_PyPegen_seq_delete_starred_exprs:
  821|     94|{
  822|     94|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|     94|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  824|     94|    if (new_len == 0) {
  ------------------
  |  Branch (824:9): [True: 0, False: 94]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|     94|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  828|     94|    if (!new_seq) {
  ------------------
  |  Branch (828:9): [True: 0, False: 94]
  ------------------
  829|      0|        return NULL;
  830|      0|    }
  831|       |
  832|     94|    int idx = 0;
  833|    302|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (833:28): [True: 208, False: 94]
  ------------------
  834|    208|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|    208|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  835|    208|        if (k->is_keyword) {
  ------------------
  |  Branch (835:13): [True: 208, False: 0]
  ------------------
  836|    208|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|    208|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  837|    208|        }
  838|    208|    }
  839|     94|    return new_seq;
  840|     94|}
_PyPegen_make_module:
  863|    147|_PyPegen_make_module(Parser *p, asdl_stmt_seq *a) {
  864|    147|    asdl_type_ignore_seq *type_ignores = NULL;
  865|    147|    Py_ssize_t num = p->type_ignore_comments.num_items;
  866|    147|    if (num > 0) {
  ------------------
  |  Branch (866:9): [True: 0, False: 147]
  ------------------
  867|       |        // Turn the raw (comment, lineno) pairs into TypeIgnore objects in the arena
  868|      0|        type_ignores = _Py_asdl_type_ignore_seq_new(num, p->arena);
  869|      0|        if (type_ignores == NULL) {
  ------------------
  |  Branch (869:13): [True: 0, False: 0]
  ------------------
  870|      0|            return NULL;
  871|      0|        }
  872|      0|        for (Py_ssize_t i = 0; i < num; i++) {
  ------------------
  |  Branch (872:32): [True: 0, False: 0]
  ------------------
  873|      0|            PyObject *tag = _PyPegen_new_type_comment(p, p->type_ignore_comments.items[i].comment);
  874|      0|            if (tag == NULL) {
  ------------------
  |  Branch (874:17): [True: 0, False: 0]
  ------------------
  875|      0|                return NULL;
  876|      0|            }
  877|      0|            type_ignore_ty ti = _PyAST_TypeIgnore(p->type_ignore_comments.items[i].lineno,
  878|      0|                                                  tag, p->arena);
  879|      0|            if (ti == NULL) {
  ------------------
  |  Branch (879:17): [True: 0, False: 0]
  ------------------
  880|      0|                return NULL;
  881|      0|            }
  882|      0|            asdl_seq_SET(type_ignores, i, ti);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  883|      0|        }
  884|      0|    }
  885|    147|    return _PyAST_Module(a, type_ignores, p->arena);
  886|    147|}
_PyPegen_add_type_comment_to_arg:
  904|   329k|{
  905|   329k|    if (tc == NULL) {
  ------------------
  |  Branch (905:9): [True: 329k, False: 0]
  ------------------
  906|   329k|        return a;
  907|   329k|    }
  908|      0|    const char *bytes = PyBytes_AsString(tc->bytes);
  909|      0|    if (bytes == NULL) {
  ------------------
  |  Branch (909:9): [True: 0, False: 0]
  ------------------
  910|      0|        return NULL;
  911|      0|    }
  912|      0|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  913|      0|    if (tco == NULL) {
  ------------------
  |  Branch (913:9): [True: 0, False: 0]
  ------------------
  914|      0|        return NULL;
  915|      0|    }
  916|      0|    return _PyAST_arg(a->arg, a->annotation, tco,
  917|      0|                      a->lineno, a->col_offset, a->end_lineno, a->end_col_offset,
  918|      0|                      p->arena);
  919|      0|}
_PyPegen_check_fstring_conversion:
  996|    246|{
  997|    246|    if (conv_token->lineno != conv->lineno || conv_token->end_col_offset != conv->col_offset) {
  ------------------
  |  Branch (997:9): [True: 0, False: 246]
  |  Branch (997:47): [True: 0, False: 246]
  ------------------
  998|      0|        return RAISE_SYNTAX_ERROR_KNOWN_RANGE(
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  | 1001|      0|            TOK_GET_STRING_PREFIX(p->tok)
  |  |  |  |  ------------------
  |  |  |  |  |  |   30|      0|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   29|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (30:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|      0|            conv_token, conv,
 1000|      0|            "%c-string: conversion type must come right after the exclamation mark",
 1001|      0|            TOK_GET_STRING_PREFIX(p->tok)
 1002|      0|        );
 1003|      0|    }
 1004|       |
 1005|    246|    Py_UCS4 first = PyUnicode_READ_CHAR(conv->v.Name.id, 0);
  ------------------
  |  |  381|    246|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|    246|    if (PyUnicode_GET_LENGTH(conv->v.Name.id) > 1 ||
  ------------------
  |  |  299|    246|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1006:9): [True: 0, False: 246]
  ------------------
 1007|    246|            !(first == 's' || first == 'r' || first == 'a')) {
  ------------------
  |  Branch (1007:15): [True: 0, False: 246]
  |  Branch (1007:31): [True: 246, False: 0]
  |  Branch (1007:47): [True: 0, False: 0]
  ------------------
 1008|      0|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(conv,
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  | 1010|      0|                                            TOK_GET_STRING_PREFIX(p->tok),
  |  |  |  |  ------------------
  |  |  |  |  |  |   30|      0|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   29|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (30:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1011|      0|                                            conv->v.Name.id);
  |  |  ------------------
  ------------------
 1009|      0|                                            "%c-string: invalid conversion character %R: expected 's', 'r', or 'a'",
 1010|      0|                                            TOK_GET_STRING_PREFIX(p->tok),
 1011|      0|                                            conv->v.Name.id);
 1012|      0|        return NULL;
 1013|      0|    }
 1014|       |
 1015|    246|    return result_token_with_metadata(p, conv, conv_token->metadata);
 1016|    246|}
_PyPegen_collect_call_seqs:
 1160|    567|                     int end_col_offset, PyArena *arena) {
 1161|    567|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|    567|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 567]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1162|    567|    Py_ssize_t total_len = args_len;
 1163|       |
 1164|    567|    if (b == NULL) {
  ------------------
  |  Branch (1164:9): [True: 537, False: 30]
  ------------------
 1165|    537|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1166|    537|                        end_lineno, end_col_offset, arena);
 1167|       |
 1168|    537|    }
 1169|       |
 1170|     30|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1171|     30|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1172|       |
 1173|     30|    if (starreds) {
  ------------------
  |  Branch (1173:9): [True: 0, False: 30]
  ------------------
 1174|      0|        total_len += asdl_seq_LEN(starreds);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1175|      0|    }
 1176|       |
 1177|     30|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1178|     30|    if (args == NULL) {
  ------------------
  |  Branch (1178:9): [True: 0, False: 30]
  ------------------
 1179|      0|        return NULL;
 1180|      0|    }
 1181|       |
 1182|     30|    Py_ssize_t i = 0;
 1183|     74|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1183:17): [True: 44, False: 30]
  ------------------
 1184|     44|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|     44|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     44|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1185|     44|    }
 1186|     30|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1186:12): [True: 0, False: 30]
  ------------------
 1187|      0|        asdl_seq_SET(args, i, asdl_seq_GET(starreds, i - args_len));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1188|      0|    }
 1189|       |
 1190|     30|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1191|     30|                       col_offset, end_lineno, end_col_offset, arena);
 1192|     30|}
_PyPegen_joined_str:
 1425|     94|_PyPegen_joined_str(Parser *p, Token* a, asdl_expr_seq* raw_expressions, Token*b) {
 1426|       |
 1427|     94|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, FSTRING);
 1428|     94|    return _PyAST_JoinedStr(resized_exprs, a->lineno, a->col_offset,
 1429|     94|                            b->end_lineno, b->end_col_offset,
 1430|     94|                            p->arena);
 1431|     94|}
_PyPegen_constant_from_token:
 1460|    292|expr_ty _PyPegen_constant_from_token(Parser* p, Token* tok) {
 1461|    292|    char* bstr = PyBytes_AsString(tok->bytes);
 1462|    292|    if (bstr == NULL) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 292]
  ------------------
 1463|      0|        return NULL;
 1464|      0|    }
 1465|    292|    PyObject* str = PyUnicode_FromString(bstr);
 1466|    292|    if (str == NULL) {
  ------------------
  |  Branch (1466:9): [True: 0, False: 292]
  ------------------
 1467|      0|        return NULL;
 1468|      0|    }
 1469|    292|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 292]
  ------------------
 1470|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1471|      0|        return NULL;
 1472|      0|    }
 1473|    292|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1474|    292|                           tok->end_lineno, tok->end_col_offset,
 1475|    292|                           p->arena);
 1476|    292|}
_PyPegen_constant_from_string:
 1478|    400|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1479|    400|    char* the_str = PyBytes_AsString(tok->bytes);
 1480|    400|    if (the_str == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 400]
  ------------------
 1481|      0|        return NULL;
 1482|      0|    }
 1483|    400|    PyObject *s = _PyPegen_parse_string(p, tok);
 1484|    400|    if (s == NULL) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 400]
  ------------------
 1485|      0|        _Pypegen_raise_decode_error(p);
 1486|      0|        return NULL;
 1487|      0|    }
 1488|    400|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 400]
  ------------------
 1489|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|      0|        return NULL;
 1491|      0|    }
 1492|    400|    PyObject *kind = NULL;
 1493|    400|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1493:9): [True: 400, False: 0]
  |  Branch (1493:20): [True: 0, False: 400]
  ------------------
 1494|      0|        kind = _PyPegen_new_identifier(p, "u");
 1495|      0|        if (kind == NULL) {
  ------------------
  |  Branch (1495:13): [True: 0, False: 0]
  ------------------
 1496|      0|            return NULL;
 1497|      0|        }
 1498|      0|    }
 1499|    400|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1500|    400|}
_PyPegen_formatted_value:
 1595|    292|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1596|    292|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1597|       |
 1598|    292|    expr_ty formatted_value = _PyAST_FormattedValue(
 1599|    292|        expression, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1599:37): [True: 0, False: 292]
  ------------------
 1600|    292|        lineno, col_offset, end_lineno,
 1601|    292|        end_col_offset, arena
 1602|    292|    );
 1603|       |
 1604|    292|    if (!debug) {
  ------------------
  |  Branch (1604:9): [True: 292, False: 0]
  ------------------
 1605|    292|        return formatted_value;
 1606|    292|    }
 1607|       |
 1608|       |    /* Find the non whitespace token after the "=" */
 1609|      0|    int debug_end_line, debug_end_offset;
 1610|      0|    PyObject *debug_metadata;
 1611|       |
 1612|      0|    if (conversion) {
  ------------------
  |  Branch (1612:9): [True: 0, False: 0]
  ------------------
 1613|      0|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1614|      0|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1615|      0|        debug_metadata = conversion->metadata;
 1616|      0|    }
 1617|      0|    else if (format) {
  ------------------
  |  Branch (1617:14): [True: 0, False: 0]
  ------------------
 1618|      0|        debug_end_line = ((expr_ty) format->result)->lineno;
 1619|      0|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1620|      0|        debug_metadata = format->metadata;
 1621|      0|    }
 1622|      0|    else {
 1623|      0|        debug_end_line = end_lineno;
 1624|      0|        debug_end_offset = end_col_offset;
 1625|      0|        debug_metadata = closing_brace->metadata;
 1626|      0|    }
 1627|      0|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1628|      0|                                            debug_end_offset - 1, p->arena);
 1629|      0|    if (!debug_text) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 0]
  ------------------
 1630|      0|        return NULL;
 1631|      0|    }
 1632|       |
 1633|      0|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1634|      0|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1635|      0|    asdl_seq_SET(values, 1, formatted_value);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1636|      0|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1637|      0|}
_PyPegen_concatenate_strings:
 1919|    494|{
 1920|    494|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    494|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    988|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 494]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|    494|    assert(len > 0);
 1922|       |
 1923|    494|    int f_string_found = 0;
 1924|    494|    int unicode_string_found = 0;
 1925|    494|    int bytes_found = 0;
 1926|       |
 1927|    494|    Py_ssize_t i = 0;
 1928|    988|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1928:17): [True: 494, False: 494]
  ------------------
 1929|    494|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    494|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    494|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1930|    494|        switch(elem->kind) {
 1931|    400|            case Constant_kind:
  ------------------
  |  Branch (1931:13): [True: 400, False: 94]
  ------------------
 1932|    400|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|    400|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    400|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 400]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1933|      0|                    bytes_found = 1;
 1934|    400|                } else {
 1935|    400|                    unicode_string_found = 1;
 1936|    400|                }
 1937|    400|                break;
 1938|     94|            case JoinedStr_kind:
  ------------------
  |  Branch (1938:13): [True: 94, False: 400]
  ------------------
 1939|     94|                f_string_found = 1;
 1940|     94|                break;
 1941|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (1941:13): [True: 0, False: 494]
  ------------------
 1942|       |                // python.gram handles this; we should never get here
 1943|      0|                assert(0);
 1944|      0|                break;
 1945|      0|            default:
  ------------------
  |  Branch (1945:13): [True: 0, False: 494]
  ------------------
 1946|      0|                f_string_found = 1;
 1947|      0|                break;
 1948|    494|        }
 1949|    494|    }
 1950|       |
 1951|       |    // Cannot mix unicode and bytes
 1952|    494|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (1952:10): [True: 400, False: 94]
  |  Branch (1952:34): [True: 94, False: 0]
  |  Branch (1952:53): [True: 0, False: 494]
  ------------------
 1953|      0|        RAISE_SYNTAX_ERROR("cannot mix bytes and nonbytes literals");
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1954|      0|        return NULL;
 1955|      0|    }
 1956|       |
 1957|       |    // If it's only bytes or only unicode string, do a simple concat
 1958|    494|    if (!f_string_found) {
  ------------------
  |  Branch (1958:9): [True: 400, False: 94]
  ------------------
 1959|    400|        if (len == 1) {
  ------------------
  |  Branch (1959:13): [True: 400, False: 0]
  ------------------
 1960|    400|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|    400|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    400|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1961|    400|        }
 1962|      0|        else if (bytes_found) {
  ------------------
  |  Branch (1962:18): [True: 0, False: 0]
  ------------------
 1963|      0|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 1964|      0|                end_lineno, end_col_offset, arena);
 1965|      0|        }
 1966|      0|        else {
 1967|      0|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 1968|      0|                end_lineno, end_col_offset, arena);
 1969|      0|        }
 1970|    400|    }
 1971|       |
 1972|     94|    return _build_concatenated_joined_str(p, strings, lineno,
 1973|     94|        col_offset, end_lineno, end_col_offset, arena);
 1974|    494|}
_PyPegen_checked_future_import:
 1980|     93|                               PyArena *arena) {
 1981|     93|    if (level == 0 && PyUnicode_CompareWithASCIIString(module, "__future__") == 0) {
  ------------------
  |  Branch (1981:9): [True: 93, False: 0]
  |  Branch (1981:23): [True: 0, False: 93]
  ------------------
 1982|      0|        if (lazy_token) {
  ------------------
  |  Branch (1982:13): [True: 0, False: 0]
  ------------------
 1983|      0|            RAISE_SYNTAX_ERROR_KNOWN_LOCATION(lazy_token,
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1984|      0|                "lazy from __future__ import is not allowed");
 1985|      0|            return NULL;
 1986|      0|        }
 1987|      0|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(names); i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1987:32): [True: 0, False: 0]
  ------------------
 1988|      0|            alias_ty alias = asdl_seq_GET(names, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1989|      0|            if (PyUnicode_CompareWithASCIIString(alias->name, "barry_as_FLUFL") == 0) {
  ------------------
  |  Branch (1989:17): [True: 0, False: 0]
  ------------------
 1990|      0|                p->flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 1991|      0|            }
 1992|      0|        }
 1993|      0|    }
 1994|     93|    return _PyAST_ImportFrom(module, names, level, lazy_token ? 1 : 0, lineno,
  ------------------
  |  Branch (1994:52): [True: 0, False: 93]
  ------------------
 1995|     93|                             col_offset, end_lineno, end_col_offset, arena);
 1996|     93|}
_PyPegen_register_stmts:
 1999|    618|_PyPegen_register_stmts(Parser *p, asdl_stmt_seq* stmts) {
 2000|    618|    if (!p->call_invalid_rules) {
  ------------------
  |  Branch (2000:9): [True: 618, False: 0]
  ------------------
 2001|    618|        return stmts;
 2002|    618|    }
 2003|      0|    Py_ssize_t len = asdl_seq_LEN(stmts);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|      0|    if (len == 0) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        return stmts;
 2006|      0|    }
 2007|      0|    stmt_ty last_stmt = asdl_seq_GET(stmts, len - 1);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2008|      0|    if (p->last_stmt_location.lineno > last_stmt->lineno) {
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        return stmts;
 2010|      0|    }
 2011|      0|    p->last_stmt_location.lineno = last_stmt->lineno;
 2012|      0|    p->last_stmt_location.col_offset = last_stmt->col_offset;
 2013|      0|    p->last_stmt_location.end_lineno = last_stmt->end_lineno;
 2014|      0|    p->last_stmt_location.end_col_offset = last_stmt->end_col_offset;
 2015|      0|    return stmts;
 2016|      0|}
action_helpers.c:_get_flattened_seq_size:
   73|    773|{
   74|    773|    Py_ssize_t size = 0;
   75|  2.34k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|    773|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 773]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (75:52): [True: 1.57k, False: 773]
  ------------------
   76|  1.57k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|  1.57k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   77|  1.57k|        size += asdl_seq_LEN(inner_seq);
  ------------------
  |  |   83|  1.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|  1.57k|    }
   79|    773|    return size;
   80|    773|}
action_helpers.c:_set_name_context:
  264|    584|{
  265|    584|    return _PyAST_Name(e->v.Name.id, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  268|    584|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  266|    584|}
action_helpers.c:_make_posonlyargs:
  527|   217k|                  asdl_arg_seq **posonlyargs) {
  528|   217k|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (528:9): [True: 4, False: 217k]
  ------------------
  529|      4|        *posonlyargs = slash_without_default;
  530|      4|    }
  531|   217k|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (531:14): [True: 0, False: 217k]
  ------------------
  532|      0|        asdl_arg_seq *slash_with_default_names =
  533|      0|                _get_names(p, slash_with_default->names_with_defaults);
  534|      0|        if (!slash_with_default_names) {
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  ------------------
  535|      0|            return -1;
  536|      0|        }
  537|      0|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  538|      0|                p,
  539|      0|                (asdl_seq*)slash_with_default->plain_names,
  540|      0|                (asdl_seq*)slash_with_default_names);
  541|      0|    }
  542|   217k|    else {
  543|   217k|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  544|   217k|    }
  545|   217k|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (545:12): [True: 0, False: 217k]
  ------------------
  546|   217k|}
action_helpers.c:_get_names:
  495|   217k|{
  496|   217k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|   217k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   434k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 217k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|   217k|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  498|   217k|    if (!seq) {
  ------------------
  |  Branch (498:9): [True: 0, False: 217k]
  ------------------
  499|      0|        return NULL;
  500|      0|    }
  501|   217k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (501:28): [True: 214, False: 217k]
  ------------------
  502|    214|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|    214|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    214|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  503|    214|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|    214|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    214|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  504|    214|    }
  505|   217k|    return seq;
  506|   217k|}
action_helpers.c:_make_posargs:
  552|   217k|              asdl_arg_seq **posargs) {
  553|       |
  554|   217k|    if (names_with_default != NULL) {
  ------------------
  |  Branch (554:9): [True: 217k, False: 28]
  ------------------
  555|   217k|        if (plain_names != NULL) {
  ------------------
  |  Branch (555:13): [True: 217k, False: 18]
  ------------------
  556|   217k|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  557|   217k|            if (!names_with_default_names) {
  ------------------
  |  Branch (557:17): [True: 0, False: 217k]
  ------------------
  558|      0|                return -1;
  559|      0|            }
  560|   217k|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  561|   217k|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  562|   217k|        }
  563|     18|        else {
  564|     18|            *posargs = _get_names(p, names_with_default);
  565|     18|        }
  566|   217k|    }
  567|     28|    else {
  568|     28|        if (plain_names != NULL) {
  ------------------
  |  Branch (568:13): [True: 0, False: 28]
  ------------------
  569|       |            // With the current grammar, we never get here.
  570|       |            // If that has changed, remove the assert, and test thoroughly.
  571|      0|            assert(0);
  572|      0|            *posargs = plain_names;
  573|      0|        }
  574|     28|        else {
  575|     28|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  576|     28|        }
  577|     28|    }
  578|   217k|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (578:12): [True: 0, False: 217k]
  ------------------
  579|   217k|}
action_helpers.c:_make_posdefaults:
  585|   217k|                  asdl_expr_seq **posdefaults) {
  586|   217k|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (586:9): [True: 0, False: 217k]
  |  Branch (586:39): [True: 0, False: 0]
  ------------------
  587|      0|        asdl_expr_seq *slash_with_default_values =
  588|      0|                _get_defaults(p, slash_with_default->names_with_defaults);
  589|      0|        if (!slash_with_default_values) {
  ------------------
  |  Branch (589:13): [True: 0, False: 0]
  ------------------
  590|      0|            return -1;
  591|      0|        }
  592|      0|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  593|      0|        if (!names_with_default_values) {
  ------------------
  |  Branch (593:13): [True: 0, False: 0]
  ------------------
  594|      0|            return -1;
  595|      0|        }
  596|      0|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  597|      0|                p,
  598|      0|                (asdl_seq*)slash_with_default_values,
  599|      0|                (asdl_seq*)names_with_default_values);
  600|      0|    }
  601|   217k|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (601:14): [True: 217k, False: 0]
  |  Branch (601:44): [True: 217k, False: 28]
  ------------------
  602|   217k|        *posdefaults = _get_defaults(p, names_with_default);
  603|   217k|    }
  604|     28|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (604:14): [True: 0, False: 28]
  |  Branch (604:44): [True: 0, False: 0]
  ------------------
  605|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  606|      0|    }
  607|     28|    else {
  608|     28|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  609|     28|    }
  610|   217k|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (610:12): [True: 0, False: 217k]
  ------------------
  611|   217k|}
action_helpers.c:_get_defaults:
  510|   217k|{
  511|   217k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|   217k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   434k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 217k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|   217k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  513|   217k|    if (!seq) {
  ------------------
  |  Branch (513:9): [True: 0, False: 217k]
  ------------------
  514|      0|        return NULL;
  515|      0|    }
  516|   217k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (516:28): [True: 214, False: 217k]
  ------------------
  517|    214|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|    214|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    214|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  518|    214|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|    214|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    214|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  519|    214|    }
  520|   217k|    return seq;
  521|   217k|}
action_helpers.c:_make_kwargs:
  616|   217k|             asdl_expr_seq **kwdefaults) {
  617|   217k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (617:9): [True: 58, False: 217k]
  |  Branch (617:29): [True: 58, False: 0]
  ------------------
  618|     58|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  619|     58|    }
  620|   217k|    else {
  621|   217k|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  622|   217k|    }
  623|       |
  624|   217k|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (624:9): [True: 0, False: 217k]
  ------------------
  625|      0|        return -1;
  626|      0|    }
  627|       |
  628|   217k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (628:9): [True: 58, False: 217k]
  |  Branch (628:29): [True: 58, False: 0]
  ------------------
  629|     58|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  630|     58|    }
  631|   217k|    else {
  632|   217k|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  633|   217k|    }
  634|       |
  635|   217k|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (635:9): [True: 0, False: 217k]
  ------------------
  636|      0|        return -1;
  637|      0|    }
  638|       |
  639|   217k|    return 0;
  640|   217k|}
action_helpers.c:_seq_number_of_starred_exprs:
  784|    188|{
  785|    188|    int n = 0;
  786|    604|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|    188|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    376|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 188]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (786:51): [True: 416, False: 188]
  ------------------
  787|    416|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    416|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    416|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  788|    416|        if (!k->is_keyword) {
  ------------------
  |  Branch (788:13): [True: 0, False: 416]
  ------------------
  789|      0|            n++;
  790|      0|        }
  791|    416|    }
  792|    188|    return n;
  793|    188|}
action_helpers.c:result_token_with_metadata:
  984|    246|{
  985|    246|    ResultTokenWithMetadata *res = _PyArena_Malloc(p->arena, sizeof(ResultTokenWithMetadata));
  986|    246|    if (res == NULL) {
  ------------------
  |  Branch (986:9): [True: 0, False: 246]
  ------------------
  987|      0|        return NULL;
  988|      0|    }
  989|    246|    res->metadata = metadata;
  990|    246|    res->result = result;
  991|    246|    return res;
  992|    246|}
action_helpers.c:_get_resized_exprs:
 1331|     94|{
 1332|     94|    Py_ssize_t n_items = asdl_seq_LEN(raw_expressions);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|     94|    Py_ssize_t total_items = n_items;
 1334|    678|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1334:28): [True: 584, False: 94]
  ------------------
 1335|    584|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1336|    584|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1336:13): [True: 0, False: 584]
  ------------------
 1337|      0|            total_items += asdl_seq_LEN(item->v.JoinedStr.values) - 1;
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      0|        }
 1339|    584|    }
 1340|       |
 1341|     94|    const char* quote_str = PyBytes_AsString(a->bytes);
 1342|     94|    if (quote_str == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 94]
  ------------------
 1343|      0|        return NULL;
 1344|      0|    }
 1345|     94|    int is_raw = strpbrk(quote_str, "rR") != NULL;
 1346|       |
 1347|     94|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(total_items, p->arena);
 1348|     94|    if (seq == NULL) {
  ------------------
  |  Branch (1348:9): [True: 0, False: 94]
  ------------------
 1349|      0|        return NULL;
 1350|      0|    }
 1351|       |
 1352|     94|    Py_ssize_t index = 0;
 1353|    678|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1353:28): [True: 584, False: 94]
  ------------------
 1354|    584|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1355|       |
 1356|       |        // This should correspond to a JoinedStr node of two elements
 1357|       |        // created _PyPegen_formatted_value. This situation can only be the result of
 1358|       |        // a (f|t)-string debug expression where the first element is a constant with the text and the second
 1359|       |        // a formatted value with the expression.
 1360|    584|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1360:13): [True: 0, False: 584]
  ------------------
 1361|      0|            asdl_expr_seq *values = item->v.JoinedStr.values;
 1362|      0|            if (asdl_seq_LEN(values) != 2) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1362:17): [True: 0, False: 0]
  ------------------
 1363|      0|                PyErr_Format(PyExc_SystemError,
 1364|      0|                             string_kind == TSTRING
  ------------------
  |  Branch (1364:30): [True: 0, False: 0]
  ------------------
 1365|      0|                             ? "unexpected TemplateStr node without debug data in t-string at line %d"
 1366|      0|                             : "unexpected JoinedStr node without debug data in f-string at line %d",
 1367|      0|                             item->lineno);
 1368|      0|                return NULL;
 1369|      0|            }
 1370|       |
 1371|      0|            expr_ty first = asdl_seq_GET(values, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1372|      0|            assert(first->kind == Constant_kind);
 1373|      0|            asdl_seq_SET(seq, index++, first);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1374|       |
 1375|      0|            expr_ty second = asdl_seq_GET(values, 1);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1376|      0|            assert((string_kind == TSTRING && second->kind == Interpolation_kind) || second->kind == FormattedValue_kind);
 1377|      0|            asdl_seq_SET(seq, index++, second);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1378|       |
 1379|      0|            continue;
 1380|      0|        }
 1381|       |
 1382|    584|        if (item->kind == Constant_kind) {
  ------------------
  |  Branch (1382:13): [True: 292, False: 292]
  ------------------
 1383|    292|            item = _PyPegen_decode_fstring_part(p, is_raw, item, b);
 1384|    292|            if (item == NULL) {
  ------------------
  |  Branch (1384:17): [True: 0, False: 292]
  ------------------
 1385|      0|                return NULL;
 1386|      0|            }
 1387|       |
 1388|       |            /* Tokenizer emits string parts even when the underlying string
 1389|       |            might become an empty value (e.g. FSTRING_MIDDLE with the value \\n)
 1390|       |            so we need to check for them and simplify it here. */
 1391|    292|            if (PyUnicode_CheckExact(item->v.Constant.value)
  ------------------
  |  |  104|    292|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    584|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 292, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1392|    292|                && PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  299|    292|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1392:20): [True: 0, False: 292]
  ------------------
 1393|      0|                continue;
 1394|      0|            }
 1395|    292|        }
 1396|    584|        asdl_seq_SET(seq, index++, item);
  ------------------
  |  |   94|    584|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1397|    584|    }
 1398|       |
 1399|     94|    asdl_expr_seq *resized_exprs;
 1400|     94|    if (index != total_items) {
  ------------------
  |  Branch (1400:9): [True: 0, False: 94]
  ------------------
 1401|      0|        resized_exprs = _Py_asdl_expr_seq_new(index, p->arena);
 1402|      0|        if (resized_exprs == NULL) {
  ------------------
  |  Branch (1402:13): [True: 0, False: 0]
  ------------------
 1403|      0|            return NULL;
 1404|      0|        }
 1405|      0|        for (Py_ssize_t i = 0; i < index; i++) {
  ------------------
  |  Branch (1405:32): [True: 0, False: 0]
  ------------------
 1406|      0|            asdl_seq_SET(resized_exprs, i, asdl_seq_GET(seq, i));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1407|      0|        }
 1408|      0|    }
 1409|     94|    else {
 1410|     94|        resized_exprs = seq;
 1411|     94|    }
 1412|     94|    return resized_exprs;
 1413|     94|}
action_helpers.c:_PyPegen_decode_fstring_part:
 1299|    292|_PyPegen_decode_fstring_part(Parser* p, int is_raw, expr_ty constant, Token* token) {
 1300|    292|    assert(PyUnicode_CheckExact(constant->v.Constant.value));
 1301|       |
 1302|    292|    const char* bstr = PyUnicode_AsUTF8(constant->v.Constant.value);
 1303|    292|    if (bstr == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 292]
  ------------------
 1304|      0|        return NULL;
 1305|      0|    }
 1306|       |
 1307|    292|    size_t len;
 1308|    292|    if (strcmp(bstr, "{{") == 0 || strcmp(bstr, "}}") == 0) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 292]
  |  Branch (1308:36): [True: 0, False: 292]
  ------------------
 1309|      0|        len = 1;
 1310|    292|    } else {
 1311|    292|        len = strlen(bstr);
 1312|    292|    }
 1313|       |
 1314|    292|    is_raw = is_raw || strchr(bstr, '\\') == NULL;
  ------------------
  |  Branch (1314:14): [True: 0, False: 292]
  |  Branch (1314:24): [True: 292, False: 0]
  ------------------
 1315|    292|    PyObject *str = _PyPegen_decode_string(p, is_raw, bstr, len, token);
 1316|    292|    if (str == NULL) {
  ------------------
  |  Branch (1316:9): [True: 0, False: 292]
  ------------------
 1317|      0|        _Pypegen_raise_decode_error(p);
 1318|      0|        return NULL;
 1319|      0|    }
 1320|    292|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 292]
  ------------------
 1321|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|      0|        return NULL;
 1323|      0|    }
 1324|    292|    return _PyAST_Constant(str, NULL, constant->lineno, constant->col_offset,
 1325|    292|                           constant->end_lineno, constant->end_col_offset,
 1326|    292|                           p->arena);
 1327|    292|}
action_helpers.c:_get_interpolation_conversion:
 1505|    292|{
 1506|    292|    if (conversion != NULL) {
  ------------------
  |  Branch (1506:9): [True: 246, False: 46]
  ------------------
 1507|    246|        expr_ty conversion_expr = (expr_ty) conversion->result;
 1508|    246|        assert(conversion_expr->kind == Name_kind);
 1509|    246|        Py_UCS4 first = PyUnicode_READ_CHAR(conversion_expr->v.Name.id, 0);
  ------------------
  |  |  381|    246|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|    246|        return Py_SAFE_DOWNCAST(first, Py_UCS4, int);
  ------------------
  |  |  247|    246|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    246|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1511|    246|    }
 1512|     46|    else if (debug && !format) {
  ------------------
  |  Branch (1512:14): [True: 0, False: 46]
  |  Branch (1512:23): [True: 0, False: 0]
  ------------------
 1513|       |        /* If no conversion is specified, use !r for debug expressions */
 1514|      0|        return (int)'r';
 1515|      0|    }
 1516|     46|    return -1;
 1517|    292|}
action_helpers.c:_build_concatenated_str:
 1742|     94|{
 1743|     94|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|     94|    assert(len > 0);
 1745|       |
 1746|     94|    Py_ssize_t n_flattened_elements = 0;
 1747|    188|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1747:28): [True: 94, False: 94]
  ------------------
 1748|     94|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     94|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1749|     94|        switch(elem->kind) {
 1750|     94|            case JoinedStr_kind:
  ------------------
  |  Branch (1750:13): [True: 94, False: 0]
  ------------------
 1751|     94|                n_flattened_elements += asdl_seq_LEN(elem->v.JoinedStr.values);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|     94|                break;
 1753|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (1753:13): [True: 0, False: 94]
  ------------------
 1754|      0|                n_flattened_elements += asdl_seq_LEN(elem->v.TemplateStr.values);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      0|                break;
 1756|      0|            default:
  ------------------
  |  Branch (1756:13): [True: 0, False: 94]
  ------------------
 1757|      0|                n_flattened_elements++;
 1758|      0|                break;
 1759|     94|        }
 1760|     94|    }
 1761|       |
 1762|       |
 1763|     94|    asdl_expr_seq* flattened = _Py_asdl_expr_seq_new(n_flattened_elements, p->arena);
 1764|     94|    if (flattened == NULL) {
  ------------------
  |  Branch (1764:9): [True: 0, False: 94]
  ------------------
 1765|      0|        return NULL;
 1766|      0|    }
 1767|       |
 1768|       |    /* build flattened list */
 1769|     94|    Py_ssize_t current_pos = 0;
 1770|    188|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1770:28): [True: 94, False: 94]
  ------------------
 1771|     94|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|     94|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1772|     94|        switch(elem->kind) {
 1773|     94|            case JoinedStr_kind:
  ------------------
  |  Branch (1773:13): [True: 94, False: 0]
  ------------------
 1774|    678|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.JoinedStr.values); j++) {
  ------------------
  |  |   83|    678|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 678]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:40): [True: 584, False: 94]
  ------------------
 1775|    584|                    expr_ty subvalue = asdl_seq_GET(elem->v.JoinedStr.values, j);
  ------------------
  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1776|    584|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1776:25): [True: 0, False: 584]
  ------------------
 1777|      0|                        return NULL;
 1778|      0|                    }
 1779|    584|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|    584|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1780|    584|                }
 1781|     94|                break;
 1782|     94|            case TemplateStr_kind:
  ------------------
  |  Branch (1782:13): [True: 0, False: 94]
  ------------------
 1783|      0|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.TemplateStr.values); j++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1783:40): [True: 0, False: 0]
  ------------------
 1784|      0|                    expr_ty subvalue = asdl_seq_GET(elem->v.TemplateStr.values, j);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1785|      0|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1785:25): [True: 0, False: 0]
  ------------------
 1786|      0|                        return NULL;
 1787|      0|                    }
 1788|      0|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1789|      0|                }
 1790|      0|                break;
 1791|      0|            default:
  ------------------
  |  Branch (1791:13): [True: 0, False: 94]
  ------------------
 1792|      0|                asdl_seq_SET(flattened, current_pos++, elem);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1793|      0|                break;
 1794|     94|        }
 1795|     94|    }
 1796|       |
 1797|       |    /* calculate folded element count */
 1798|     94|    Py_ssize_t n_elements = 0;
 1799|     94|    int prev_is_constant = 0;
 1800|    678|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1800:28): [True: 584, False: 94]
  ------------------
 1801|    584|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1802|       |
 1803|       |        /* The concatenation of a FormattedValue and an empty Constant should
 1804|       |           lead to the FormattedValue itself. Thus, we will not take any empty
 1805|       |           constants into account, just as in `_PyPegen_joined_str` */
 1806|    584|        if (elem->kind == Constant_kind &&
  ------------------
  |  Branch (1806:13): [True: 292, False: 292]
  ------------------
 1807|    584|            PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|    292|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    876|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 292, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|    292|            PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0)
  ------------------
  |  |  299|    292|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1808:13): [True: 0, False: 292]
  ------------------
 1809|      0|            continue;
 1810|       |
 1811|    584|        if (!prev_is_constant || elem->kind != Constant_kind) {
  ------------------
  |  Branch (1811:13): [True: 338, False: 246]
  |  Branch (1811:34): [True: 246, False: 0]
  ------------------
 1812|    584|            n_elements++;
 1813|    584|        }
 1814|    584|        prev_is_constant = elem->kind == Constant_kind;
 1815|    584|    }
 1816|       |
 1817|     94|    asdl_expr_seq* values = _Py_asdl_expr_seq_new(n_elements, p->arena);
 1818|     94|    if (values == NULL) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 94]
  ------------------
 1819|      0|        return NULL;
 1820|      0|    }
 1821|       |
 1822|       |    /* build folded list */
 1823|     94|    current_pos = 0;
 1824|    678|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1824:28): [True: 584, False: 94]
  ------------------
 1825|    584|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1826|       |
 1827|       |        /* if the current elem and the following are constants,
 1828|       |           fold them and all consequent constants */
 1829|    584|        if (elem->kind == Constant_kind) {
  ------------------
  |  Branch (1829:13): [True: 292, False: 292]
  ------------------
 1830|    292|            if (i + 1 < n_flattened_elements &&
  ------------------
  |  Branch (1830:17): [True: 246, False: 46]
  ------------------
 1831|    246|                asdl_seq_GET(flattened, i + 1)->kind == Constant_kind) {
  ------------------
  |  |   82|    246|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1831:17): [True: 0, False: 246]
  ------------------
 1832|      0|                expr_ty first_elem = elem;
 1833|       |
 1834|       |                /* When a string is getting concatenated, the kind of the string
 1835|       |                   is determined by the first string in the concatenation
 1836|       |                   sequence.
 1837|       |
 1838|       |                   u"abc" "def" -> u"abcdef"
 1839|       |                   "abc" u"abc" ->  "abcabc" */
 1840|      0|                PyObject *kind = elem->v.Constant.kind;
 1841|       |
 1842|      0|                PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1843|      0|                if (writer == NULL) {
  ------------------
  |  Branch (1843:21): [True: 0, False: 0]
  ------------------
 1844|      0|                    return NULL;
 1845|      0|                }
 1846|      0|                expr_ty last_elem = elem;
 1847|      0|                Py_ssize_t j;
 1848|      0|                for (j = i; j < n_flattened_elements; j++) {
  ------------------
  |  Branch (1848:29): [True: 0, False: 0]
  ------------------
 1849|      0|                    expr_ty current_elem = asdl_seq_GET(flattened, j);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1850|      0|                    if (current_elem->kind == Constant_kind) {
  ------------------
  |  Branch (1850:25): [True: 0, False: 0]
  ------------------
 1851|      0|                        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1851:29): [True: 0, False: 0]
  ------------------
 1852|      0|                                                     current_elem->v.Constant.value)) {
 1853|      0|                            PyUnicodeWriter_Discard(writer);
 1854|      0|                            return NULL;
 1855|      0|                        }
 1856|      0|                        last_elem = current_elem;
 1857|      0|                    } else {
 1858|      0|                        break;
 1859|      0|                    }
 1860|      0|                }
 1861|      0|                i = j - 1;
 1862|       |
 1863|      0|                PyObject *concat_str = PyUnicodeWriter_Finish(writer);
 1864|      0|                if (concat_str == NULL) {
  ------------------
  |  Branch (1864:21): [True: 0, False: 0]
  ------------------
 1865|      0|                    return NULL;
 1866|      0|                }
 1867|      0|                if (_PyArena_AddPyObject(p->arena, concat_str) < 0) {
  ------------------
  |  Branch (1867:21): [True: 0, False: 0]
  ------------------
 1868|      0|                    Py_DECREF(concat_str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|      0|                    return NULL;
 1870|      0|                }
 1871|      0|                elem = _PyAST_Constant(concat_str, kind, first_elem->lineno,
 1872|      0|                                       first_elem->col_offset,
 1873|      0|                                       last_elem->end_lineno,
 1874|      0|                                       last_elem->end_col_offset, p->arena);
 1875|      0|                if (elem == NULL) {
  ------------------
  |  Branch (1875:21): [True: 0, False: 0]
  ------------------
 1876|      0|                    return NULL;
 1877|      0|                }
 1878|      0|            }
 1879|       |
 1880|       |            /* Drop all empty contanst strings */
 1881|    292|            if (PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|    292|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    584|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 292, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|    292|                PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0) {
  ------------------
  |  |  299|    292|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    292|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    292|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:17): [True: 0, False: 292]
  ------------------
 1883|      0|                continue;
 1884|      0|            }
 1885|    292|        }
 1886|       |
 1887|    584|        asdl_seq_SET(values, current_pos++, elem);
  ------------------
  |  |   94|    584|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1888|    584|    }
 1889|       |
 1890|     94|    assert(current_pos == n_elements);
 1891|     94|    return values;
 1892|     94|}
action_helpers.c:_build_concatenated_joined_str:
 1898|     94|{
 1899|     94|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 1900|     94|        col_offset, end_lineno, end_col_offset, arena);
 1901|     94|    return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1902|     94|}

_PyLexer_tok_reserve_buf:
   51|    172|{
   52|    172|    Py_ssize_t cur = tok->cur - tok->buf;
   53|    172|    Py_ssize_t oldsize = tok->inp - tok->buf;
   54|    172|    Py_ssize_t newsize = oldsize + Py_MAX(size, oldsize >> 1);
  ------------------
  |  |  115|    172|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 162, False: 10]
  |  |  ------------------
  ------------------
   55|    172|    if (newsize > tok->end - tok->buf) {
  ------------------
  |  Branch (55:9): [True: 0, False: 172]
  ------------------
   56|      0|        char *newbuf = tok->buf;
   57|      0|        Py_ssize_t start = tok->start == NULL ? -1 : tok->start - tok->buf;
  ------------------
  |  Branch (57:28): [True: 0, False: 0]
  ------------------
   58|      0|        Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf;
  ------------------
  |  Branch (58:33): [True: 0, False: 0]
  ------------------
   59|      0|        Py_ssize_t multi_line_start = tok->multi_line_start - tok->buf;
   60|      0|        _PyLexer_remember_fstring_buffers(tok);
   61|      0|        newbuf = (char *)PyMem_Realloc(newbuf, newsize);
   62|      0|        if (newbuf == NULL) {
  ------------------
  |  Branch (62:13): [True: 0, False: 0]
  ------------------
   63|      0|            tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
   64|      0|            return 0;
   65|      0|        }
   66|      0|        tok->buf = newbuf;
   67|      0|        tok->cur = tok->buf + cur;
   68|      0|        tok->inp = tok->buf + oldsize;
   69|      0|        tok->end = tok->buf + newsize;
   70|      0|        tok->start = start < 0 ? NULL : tok->buf + start;
  ------------------
  |  Branch (70:22): [True: 0, False: 0]
  ------------------
   71|      0|        tok->line_start = line_start < 0 ? NULL : tok->buf + line_start;
  ------------------
  |  Branch (71:27): [True: 0, False: 0]
  ------------------
   72|      0|        tok->multi_line_start = multi_line_start < 0 ? NULL : tok->buf + multi_line_start;
  ------------------
  |  Branch (72:33): [True: 0, False: 0]
  ------------------
   73|      0|        _PyLexer_restore_fstring_buffers(tok);
   74|      0|    }
   75|    172|    return 1;
   76|    172|}

_PyLexer_update_ftstring_expr:
  228|  1.07k|{
  229|  1.07k|    assert(tok->cur != NULL);
  230|       |
  231|  1.07k|    Py_ssize_t size = strlen(tok->cur);
  232|  1.07k|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   37|  1.07k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
  233|       |
  234|  1.07k|    switch (cur) {
  235|      0|       case 0:
  ------------------
  |  Branch (235:8): [True: 0, False: 1.07k]
  ------------------
  236|      0|            if (!tok_mode->last_expr_buffer || tok_mode->last_expr_end >= 0) {
  ------------------
  |  Branch (236:17): [True: 0, False: 0]
  |  Branch (236:48): [True: 0, False: 0]
  ------------------
  237|      0|                return 1;
  238|      0|            }
  239|      0|            char *new_buffer = PyMem_Realloc(
  240|      0|                tok_mode->last_expr_buffer,
  241|      0|                tok_mode->last_expr_size + size
  242|      0|            );
  243|      0|            if (new_buffer == NULL) {
  ------------------
  |  Branch (243:17): [True: 0, False: 0]
  ------------------
  244|      0|                PyMem_Free(tok_mode->last_expr_buffer);
  245|      0|                goto error;
  246|      0|            }
  247|      0|            tok_mode->last_expr_buffer = new_buffer;
  248|      0|            strncpy(tok_mode->last_expr_buffer + tok_mode->last_expr_size, tok->cur, size);
  249|      0|            tok_mode->last_expr_size += size;
  250|      0|            break;
  251|    538|        case '{':
  ------------------
  |  Branch (251:9): [True: 538, False: 538]
  ------------------
  252|    538|            if (tok_mode->last_expr_buffer != NULL) {
  ------------------
  |  Branch (252:17): [True: 444, False: 94]
  ------------------
  253|    444|                PyMem_Free(tok_mode->last_expr_buffer);
  254|    444|            }
  255|    538|            tok_mode->last_expr_buffer = PyMem_Malloc(size);
  256|    538|            if (tok_mode->last_expr_buffer == NULL) {
  ------------------
  |  Branch (256:17): [True: 0, False: 538]
  ------------------
  257|      0|                goto error;
  258|      0|            }
  259|    538|            tok_mode->last_expr_size = size;
  260|    538|            tok_mode->last_expr_end = -1;
  261|    538|            strncpy(tok_mode->last_expr_buffer, tok->cur, size);
  262|    538|            break;
  263|    292|        case '}':
  ------------------
  |  Branch (263:9): [True: 292, False: 784]
  ------------------
  264|    538|        case '!':
  ------------------
  |  Branch (264:9): [True: 246, False: 830]
  ------------------
  265|    538|            tok_mode->last_expr_end = strlen(tok->start);
  266|    538|            break;
  267|      0|        case ':':
  ------------------
  |  Branch (267:9): [True: 0, False: 1.07k]
  ------------------
  268|      0|            if (tok_mode->last_expr_end == -1) {
  ------------------
  |  Branch (268:17): [True: 0, False: 0]
  ------------------
  269|      0|               tok_mode->last_expr_end = strlen(tok->start);
  270|      0|            }
  271|      0|            break;
  272|      0|        default:
  ------------------
  |  Branch (272:9): [True: 0, False: 1.07k]
  ------------------
  273|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  274|  1.07k|    }
  275|  1.07k|    return 1;
  276|      0|error:
  277|      0|    tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  278|      0|    return 0;
  279|  1.07k|}
_PyTokenizer_Get:
 1628|   457k|{
 1629|   457k|    int result = tok_get(tok, token);
 1630|   457k|    if (tok->decoding_erred) {
  ------------------
  |  Branch (1630:9): [True: 0, False: 457k]
  ------------------
 1631|      0|        result = ERRORTOKEN;
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
 1632|      0|        tok->done = E_DECODE;
  ------------------
  |  |   34|      0|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
 1633|      0|    }
 1634|   457k|    return result;
 1635|   457k|}
lexer.c:tok_get:
 1617|   457k|{
 1618|   457k|    tokenizer_mode *current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   37|   457k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1619|   457k|    if (current_tok->kind == TOK_REGULAR_MODE) {
  ------------------
  |  Branch (1619:9): [True: 457k, False: 432]
  ------------------
 1620|   457k|        return tok_get_normal_mode(tok, current_tok, token);
 1621|   457k|    } else {
 1622|    432|        return tok_get_fstring_mode(tok, current_tok, token);
 1623|    432|    }
 1624|   457k|}
lexer.c:tok_get_normal_mode:
  502|   457k|{
  503|   457k|    int c;
  504|   457k|    int blankline, nonascii;
  505|       |
  506|   457k|    const char *p_start = NULL;
  507|   457k|    const char *p_end = NULL;
  508|   457k|  nextline:
  509|   457k|    tok->start = NULL;
  510|   457k|    tok->starting_col_offset = -1;
  511|   457k|    blankline = 0;
  512|       |
  513|       |
  514|       |    /* Get indentation level */
  515|   457k|    if (tok->atbol) {
  ------------------
  |  Branch (515:9): [True: 110k, False: 346k]
  ------------------
  516|   110k|        int col = 0;
  517|   110k|        int altcol = 0;
  518|   110k|        tok->atbol = 0;
  519|   110k|        int cont_line_col = 0;
  520|   116k|        for (;;) {
  521|   116k|            c = tok_nextc(tok);
  522|   116k|            if (c == ' ') {
  ------------------
  |  Branch (522:17): [True: 5.57k, False: 110k]
  ------------------
  523|  5.57k|                col++, altcol++;
  524|  5.57k|            }
  525|   110k|            else if (c == '\t') {
  ------------------
  |  Branch (525:22): [True: 0, False: 110k]
  ------------------
  526|      0|                col = (col / tok->tabsize + 1) * tok->tabsize;
  527|      0|                altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
                              altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|      0|#define ALTTABSIZE 1
  ------------------
  528|      0|            }
  529|   110k|            else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (529:22): [True: 0, False: 110k]
  ------------------
  530|      0|                col = altcol = 0; /* For Emacs users */
  531|      0|            }
  532|   110k|            else if (c == '\\') {
  ------------------
  |  Branch (532:22): [True: 0, False: 110k]
  ------------------
  533|       |                // Indentation cannot be split over multiple physical lines
  534|       |                // using backslashes. This means that if we found a backslash
  535|       |                // preceded by whitespace, **the first one we find** determines
  536|       |                // the level of indentation of whatever comes next.
  537|      0|                cont_line_col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (537:33): [True: 0, False: 0]
  ------------------
  538|      0|                if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (538:21): [True: 0, False: 0]
  ------------------
  539|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  540|      0|                }
  541|      0|            }
  542|   110k|            else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (542:22): [True: 54.3k, False: 56.2k]
  |  Branch (542:34): [True: 0, False: 54.3k]
  ------------------
  543|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  544|      0|            }
  545|   110k|            else {
  546|   110k|                break;
  547|   110k|            }
  548|   116k|        }
  549|   110k|        tok_backup(tok, c);
  550|   110k|        if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (550:13): [True: 34, False: 110k]
  |  Branch (550:25): [True: 155, False: 110k]
  |  Branch (550:38): [True: 0, False: 110k]
  ------------------
  551|       |            /* Lines with only whitespace and/or comments
  552|       |               shouldn't affect the indentation and are
  553|       |               not passed to the parser as NEWLINE tokens,
  554|       |               except *totally* empty lines in interactive
  555|       |               mode, which signal the end of a command group. */
  556|    189|            if (col == 0 && c == '\n' && tok->prompt != NULL) {
  ------------------
  |  Branch (556:17): [True: 163, False: 26]
  |  Branch (556:29): [True: 155, False: 8]
  |  Branch (556:42): [True: 0, False: 155]
  ------------------
  557|      0|                blankline = 0; /* Let it through */
  558|      0|            }
  559|    189|            else if (tok->prompt != NULL && tok->lineno == 1) {
  ------------------
  |  Branch (559:22): [True: 0, False: 189]
  |  Branch (559:45): [True: 0, False: 0]
  ------------------
  560|       |                /* In interactive mode, if the first line contains
  561|       |                   only spaces and/or a comment, let it through. */
  562|      0|                blankline = 0;
  563|      0|                col = altcol = 0;
  564|      0|            }
  565|    189|            else {
  566|    189|                blankline = 1; /* Ignore completely */
  567|    189|            }
  568|       |            /* We can't jump back right here since we still
  569|       |               may need to skip to the end of a comment */
  570|    189|        }
  571|   110k|        if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (571:13): [True: 110k, False: 189]
  |  Branch (571:27): [True: 110k, False: 68]
  ------------------
  572|   110k|            col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (572:19): [True: 0, False: 110k]
  ------------------
  573|   110k|            altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (573:22): [True: 0, False: 110k]
  ------------------
  574|   110k|            if (col == tok->indstack[tok->indent]) {
  ------------------
  |  Branch (574:17): [True: 109k, False: 1.31k]
  ------------------
  575|       |                /* No change */
  576|   109k|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (576:21): [True: 0, False: 109k]
  ------------------
  577|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  578|      0|                }
  579|   109k|            }
  580|  1.31k|            else if (col > tok->indstack[tok->indent]) {
  ------------------
  |  Branch (580:22): [True: 660, False: 652]
  ------------------
  581|       |                /* Indent -- always one */
  582|    660|                if (tok->indent+1 >= MAXINDENT) {
  ------------------
  |  |    6|    660|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (582:21): [True: 0, False: 660]
  ------------------
  583|      0|                    tok->done = E_TOODEEP;
  ------------------
  |  |   32|      0|#define E_TOODEEP        20      /* Too many indentation levels */
  ------------------
  584|      0|                    tok->cur = tok->inp;
  585|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  586|      0|                }
  587|    660|                if (altcol <= tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (587:21): [True: 0, False: 660]
  ------------------
  588|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  589|      0|                }
  590|    660|                tok->pendin++;
  591|    660|                tok->indstack[++tok->indent] = col;
  592|    660|                tok->altindstack[tok->indent] = altcol;
  593|    660|            }
  594|    652|            else /* col < tok->indstack[tok->indent] */ {
  595|       |                /* Dedent -- any number, must be consistent */
  596|  1.30k|                while (tok->indent > 0 &&
  ------------------
  |  Branch (596:24): [True: 1.15k, False: 153]
  ------------------
  597|  1.15k|                    col < tok->indstack[tok->indent]) {
  ------------------
  |  Branch (597:21): [True: 656, False: 499]
  ------------------
  598|    656|                    tok->pendin--;
  599|    656|                    tok->indent--;
  600|    656|                }
  601|    652|                if (col != tok->indstack[tok->indent]) {
  ------------------
  |  Branch (601:21): [True: 0, False: 652]
  ------------------
  602|      0|                    tok->done = E_DEDENT;
  ------------------
  |  |   33|      0|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
  603|      0|                    tok->cur = tok->inp;
  604|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  605|      0|                }
  606|    652|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (606:21): [True: 0, False: 652]
  ------------------
  607|      0|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  608|      0|                }
  609|    652|            }
  610|   110k|        }
  611|   110k|    }
  612|       |
  613|   457k|    tok->start = tok->cur;
  614|   457k|    tok->starting_col_offset = tok->col_offset;
  615|       |
  616|       |    /* Return pending indents/dedents */
  617|   457k|    if (tok->pendin != 0) {
  ------------------
  |  Branch (617:9): [True: 1.31k, False: 455k]
  ------------------
  618|  1.31k|        if (tok->pendin < 0) {
  ------------------
  |  Branch (618:13): [True: 656, False: 660]
  ------------------
  619|    656|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (619:17): [True: 30, False: 626]
  ------------------
  620|     30|                p_start = tok->cur;
  621|     30|                p_end = tok->cur;
  622|     30|            }
  623|    656|            tok->pendin++;
  624|    656|            return MAKE_TOKEN(DEDENT);
  ------------------
  |  |   44|    656|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  625|    656|        }
  626|    660|        else {
  627|    660|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (627:17): [True: 32, False: 628]
  ------------------
  628|     32|                p_start = tok->buf;
  629|     32|                p_end = tok->cur;
  630|     32|            }
  631|    660|            tok->pendin--;
  632|    660|            return MAKE_TOKEN(INDENT);
  ------------------
  |  |   44|    660|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  633|    660|        }
  634|  1.31k|    }
  635|       |
  636|       |    /* Peek ahead at the next character */
  637|   455k|    c = tok_nextc(tok);
  638|   455k|    tok_backup(tok, c);
  639|       |
  640|   455k| again:
  641|   455k|    tok->start = NULL;
  642|       |    /* Skip spaces */
  643|   568k|    do {
  644|   568k|        c = tok_nextc(tok);
  645|   568k|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (645:14): [True: 112k, False: 455k]
  |  Branch (645:26): [True: 0, False: 455k]
  |  Branch (645:39): [True: 0, False: 455k]
  ------------------
  646|       |
  647|       |    /* Set start of current token */
  648|   455k|    tok->start = tok->cur == NULL ? NULL : tok->cur - 1;
  ------------------
  |  Branch (648:18): [True: 0, False: 455k]
  ------------------
  649|   455k|    tok->starting_col_offset = tok->col_offset - 1;
  650|       |
  651|       |    /* Skip comment, unless it's a type comment */
  652|   455k|    if (c == '#') {
  ------------------
  |  Branch (652:9): [True: 38, False: 455k]
  ------------------
  653|       |
  654|     38|        const char* p = NULL;
  655|     38|        const char *prefix, *type_start;
  656|     38|        int current_starting_col_offset;
  657|       |
  658|  2.20k|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (658:16): [True: 2.20k, False: 0]
  |  Branch (658:28): [True: 2.16k, False: 38]
  |  Branch (658:41): [True: 2.16k, False: 0]
  ------------------
  659|  2.16k|            c = tok_nextc(tok);
  660|  2.16k|        }
  661|       |
  662|     38|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (662:13): [True: 22, False: 16]
  ------------------
  663|     22|            p = tok->start;
  664|     22|        }
  665|       |
  666|     38|        if (tok->type_comments) {
  ------------------
  |  Branch (666:13): [True: 0, False: 38]
  ------------------
  667|      0|            p = tok->start;
  668|      0|            current_starting_col_offset = tok->starting_col_offset;
  669|      0|            prefix = type_comment_prefix;
  670|      0|            while (*prefix && p < tok->cur) {
  ------------------
  |  Branch (670:20): [True: 0, False: 0]
  |  Branch (670:31): [True: 0, False: 0]
  ------------------
  671|      0|                if (*prefix == ' ') {
  ------------------
  |  Branch (671:21): [True: 0, False: 0]
  ------------------
  672|      0|                    while (*p == ' ' || *p == '\t') {
  ------------------
  |  Branch (672:28): [True: 0, False: 0]
  |  Branch (672:41): [True: 0, False: 0]
  ------------------
  673|      0|                        p++;
  674|      0|                        current_starting_col_offset++;
  675|      0|                    }
  676|      0|                } else if (*prefix == *p) {
  ------------------
  |  Branch (676:28): [True: 0, False: 0]
  ------------------
  677|      0|                    p++;
  678|      0|                    current_starting_col_offset++;
  679|      0|                } else {
  680|      0|                    break;
  681|      0|                }
  682|       |
  683|      0|                prefix++;
  684|      0|            }
  685|       |
  686|       |            /* This is a type comment if we matched all of type_comment_prefix. */
  687|      0|            if (!*prefix) {
  ------------------
  |  Branch (687:17): [True: 0, False: 0]
  ------------------
  688|      0|                int is_type_ignore = 1;
  689|       |                // +6 in order to skip the word 'ignore'
  690|      0|                const char *ignore_end = p + 6;
  691|      0|                const int ignore_end_col_offset = current_starting_col_offset + 6;
  692|      0|                tok_backup(tok, c);  /* don't eat the newline or EOF */
  693|       |
  694|      0|                type_start = p;
  695|       |
  696|       |                /* A TYPE_IGNORE is "type: ignore" followed by the end of the token
  697|       |                 * or anything ASCII and non-alphanumeric. */
  698|      0|                is_type_ignore = (
  699|      0|                    tok->cur >= ignore_end && memcmp(p, "ignore", 6) == 0
  ------------------
  |  Branch (699:21): [True: 0, False: 0]
  |  Branch (699:47): [True: 0, False: 0]
  ------------------
  700|      0|                    && !(tok->cur > ignore_end
  ------------------
  |  Branch (700:26): [True: 0, False: 0]
  ------------------
  701|      0|                         && ((unsigned char)ignore_end[0] >= 128 || Py_ISALNUM(ignore_end[0]))));
  ------------------
  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (701:30): [True: 0, False: 0]
  ------------------
  702|       |
  703|      0|                if (is_type_ignore) {
  ------------------
  |  Branch (703:21): [True: 0, False: 0]
  ------------------
  704|      0|                    p_start = ignore_end;
  705|      0|                    p_end = tok->cur;
  706|       |
  707|       |                    /* If this type ignore is the only thing on the line, consume the newline also. */
  708|      0|                    if (blankline) {
  ------------------
  |  Branch (708:25): [True: 0, False: 0]
  ------------------
  709|      0|                        tok_nextc(tok);
  710|      0|                        tok->atbol = 1;
  711|      0|                    }
  712|      0|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_IGNORE, ignore_end_col_offset, tok->col_offset);
  ------------------
  |  |   45|      0|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   46|      0|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  713|      0|                } else {
  714|      0|                    p_start = type_start;
  715|      0|                    p_end = tok->cur;
  716|      0|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_COMMENT, current_starting_col_offset, tok->col_offset);
  ------------------
  |  |   45|      0|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   46|      0|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  717|      0|                }
  718|      0|            }
  719|      0|        }
  720|     38|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (720:13): [True: 22, False: 16]
  ------------------
  721|     22|            tok_backup(tok, c);  /* don't eat the newline or EOF */
  722|     22|            p_start = p;
  723|     22|            p_end = tok->cur;
  724|     22|            tok->comment_newline = blankline;
  725|     22|            return MAKE_TOKEN(COMMENT);
  ------------------
  |  |   44|     22|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  726|     22|        }
  727|     38|    }
  728|       |
  729|   455k|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|   455k|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (729:9): [True: 0, False: 455k]
  ------------------
  730|      0|        return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  731|      0|    }
  732|       |
  733|       |    /* Check for EOF and errors now */
  734|   455k|    if (c == EOF) {
  ------------------
  |  Branch (734:9): [True: 54.4k, False: 401k]
  ------------------
  735|  54.4k|        if (tok->level) {
  ------------------
  |  Branch (735:13): [True: 0, False: 54.4k]
  ------------------
  736|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  737|      0|        }
  738|  54.4k|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   44|   108k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 54.4k, False: 0]
  |  |  ------------------
  ------------------
  739|  54.4k|    }
  740|       |
  741|       |    /* Identifier (most frequent token!) */
  742|   401k|    nonascii = 0;
  743|   401k|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |   12|   401k|#define is_potential_identifier_start(c) (\
  |  |   13|   401k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 171k, False: 229k]
  |  |  |  Branch (13:28): [True: 170k, False: 692]
  |  |  ------------------
  |  |   14|   401k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 2.61k, False: 228k]
  |  |  |  Branch (14:32): [True: 306, False: 2.30k]
  |  |  ------------------
  |  |   15|   401k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (15:19): [True: 1.59k, False: 228k]
  |  |  ------------------
  |  |   16|   401k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 0, False: 228k]
  |  |  ------------------
  ------------------
  744|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  745|   172k|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  746|   229k|        while (1) {
  ------------------
  |  Branch (746:16): [True: 229k, Folded]
  ------------------
  747|   229k|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (747:17): [True: 229k, False: 148]
  |  Branch (747:28): [True: 92, False: 229k]
  |  Branch (747:40): [True: 10, False: 229k]
  ------------------
  748|    102|                saw_b = 1;
  749|    102|            }
  750|       |            /* Since this is a backwards compatibility support literal we don't
  751|       |               want to support it in arbitrary order like byte literals. */
  752|   229k|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (752:22): [True: 174k, False: 54.6k]
  |  Branch (752:33): [True: 54.5k, False: 120k]
  |  Branch (752:44): [True: 6, False: 120k]
  ------------------
  753|  54.5k|                saw_u = 1;
  754|  54.5k|            }
  755|       |            /* ur"" and ru"" are not supported */
  756|   175k|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (756:22): [True: 173k, False: 1.18k]
  |  Branch (756:33): [True: 1.18k, False: 172k]
  |  Branch (756:45): [True: 2, False: 172k]
  ------------------
  757|  1.18k|                saw_r = 1;
  758|  1.18k|            }
  759|   173k|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (759:22): [True: 173k, False: 597]
  |  Branch (759:33): [True: 603, False: 172k]
  |  Branch (759:45): [True: 76, False: 172k]
  ------------------
  760|    679|                saw_f = 1;
  761|    679|            }
  762|   173k|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (762:22): [True: 172k, False: 505]
  |  Branch (762:33): [True: 443, False: 172k]
  |  Branch (762:45): [True: 62, False: 172k]
  ------------------
  763|    505|                saw_t = 1;
  764|    505|            }
  765|   172k|            else {
  766|   172k|                break;
  767|   172k|            }
  768|  57.0k|            c = tok_nextc(tok);
  769|  57.0k|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (769:17): [True: 94, False: 56.9k]
  |  Branch (769:29): [True: 0, False: 56.9k]
  ------------------
  770|       |                // Raise error on incompatible string prefixes:
  771|     94|                int status = maybe_raise_syntax_error_for_string_prefixes(
  772|     94|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  773|     94|                if (status < 0) {
  ------------------
  |  Branch (773:21): [True: 0, False: 94]
  ------------------
  774|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  775|      0|                }
  776|       |
  777|       |                // Handle valid f or t string creation:
  778|     94|                if (saw_f || saw_t) {
  ------------------
  |  Branch (778:21): [True: 94, False: 0]
  |  Branch (778:30): [True: 0, False: 0]
  ------------------
  779|     94|                    goto f_string_quote;
  780|     94|                }
  781|      0|                goto letter_quote;
  782|     94|            }
  783|  57.0k|        }
  784|   947k|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   18|   947k|#define is_potential_identifier_char(c) (\
  |  |   19|   947k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (19:16): [True: 765k, False: 182k]
  |  |  |  Branch (19:28): [True: 765k, False: 292]
  |  |  ------------------
  |  |   20|   947k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (20:20): [True: 10.0k, False: 172k]
  |  |  |  Branch (20:32): [True: 1.66k, False: 8.41k]
  |  |  ------------------
  |  |   21|   947k|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (21:20): [True: 117k, False: 63.0k]
  |  |  |  Branch (21:32): [True: 18, False: 117k]
  |  |  ------------------
  |  |   22|   947k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (22:19): [True: 8.09k, False: 172k]
  |  |  ------------------
  |  |   23|   947k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (23:19): [True: 0, False: 172k]
  |  |  ------------------
  ------------------
  785|   775k|            if (c >= 128) {
  ------------------
  |  Branch (785:17): [True: 0, False: 775k]
  ------------------
  786|      0|                nonascii = 1;
  787|      0|            }
  788|   775k|            c = tok_nextc(tok);
  789|   775k|        }
  790|   172k|        tok_backup(tok, c);
  791|   172k|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (791:13): [True: 0, False: 172k]
  |  Branch (791:25): [True: 0, False: 0]
  ------------------
  792|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  793|      0|        }
  794|       |
  795|   172k|        p_start = tok->start;
  796|   172k|        p_end = tok->cur;
  797|       |
  798|   172k|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   44|   172k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  799|   172k|    }
  800|       |
  801|   228k|    if (c == '\r') {
  ------------------
  |  Branch (801:9): [True: 0, False: 228k]
  ------------------
  802|      0|        c = tok_nextc(tok);
  803|      0|    }
  804|       |
  805|       |    /* Newline */
  806|   228k|    if (c == '\n') {
  ------------------
  |  Branch (806:9): [True: 56.1k, False: 172k]
  ------------------
  807|  56.1k|        tok->atbol = 1;
  808|  56.1k|        if (blankline || tok->level > 0) {
  ------------------
  |  Branch (808:13): [True: 171, False: 55.9k]
  |  Branch (808:26): [True: 80, False: 55.9k]
  ------------------
  809|    251|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (809:17): [True: 64, False: 187]
  ------------------
  810|     64|                if (tok->comment_newline) {
  ------------------
  |  Branch (810:21): [True: 12, False: 52]
  ------------------
  811|     12|                    tok->comment_newline = 0;
  812|     12|                }
  813|     64|                p_start = tok->start;
  814|     64|                p_end = tok->cur;
  815|     64|                return MAKE_TOKEN(NL);
  ------------------
  |  |   44|     64|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  816|     64|            }
  817|    187|            goto nextline;
  818|    251|        }
  819|  55.9k|        if (tok->comment_newline && tok->tok_extra_tokens) {
  ------------------
  |  Branch (819:13): [True: 6, False: 55.9k]
  |  Branch (819:37): [True: 6, False: 0]
  ------------------
  820|      6|            tok->comment_newline = 0;
  821|      6|            p_start = tok->start;
  822|      6|            p_end = tok->cur;
  823|      6|            return MAKE_TOKEN(NL);
  ------------------
  |  |   44|      6|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  824|      6|        }
  825|  55.9k|        p_start = tok->start;
  826|  55.9k|        p_end = tok->cur - 1; /* Leave '\n' out of the string */
  827|  55.9k|        tok->cont_line = 0;
  828|  55.9k|        return MAKE_TOKEN(NEWLINE);
  ------------------
  |  |   44|  55.9k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  829|  55.9k|    }
  830|       |
  831|       |    /* Period or number starting with period? */
  832|   172k|    if (c == '.') {
  ------------------
  |  Branch (832:9): [True: 1.50k, False: 171k]
  ------------------
  833|  1.50k|        c = tok_nextc(tok);
  834|  1.50k|        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.50k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  1.50k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.50k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 1.50k]
  |  |  ------------------
  ------------------
  835|      0|            goto fraction;
  836|  1.50k|        } else if (c == '.') {
  ------------------
  |  Branch (836:20): [True: 0, False: 1.50k]
  ------------------
  837|      0|            c = tok_nextc(tok);
  838|      0|            if (c == '.') {
  ------------------
  |  Branch (838:17): [True: 0, False: 0]
  ------------------
  839|      0|                p_start = tok->start;
  840|      0|                p_end = tok->cur;
  841|      0|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  842|      0|            }
  843|      0|            else {
  844|      0|                tok_backup(tok, c);
  845|      0|            }
  846|      0|            tok_backup(tok, '.');
  847|      0|        }
  848|  1.50k|        else {
  849|  1.50k|            tok_backup(tok, c);
  850|  1.50k|        }
  851|  1.50k|        p_start = tok->start;
  852|  1.50k|        p_end = tok->cur;
  853|  1.50k|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   44|  1.50k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  854|  1.50k|    }
  855|       |
  856|       |    /* Number */
  857|   171k|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|   171k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|   171k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   171k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 110, False: 170k]
  |  |  ------------------
  ------------------
  858|    110|        if (c == '0') {
  ------------------
  |  Branch (858:13): [True: 34, False: 76]
  ------------------
  859|       |            /* Hex, octal or binary -- maybe. */
  860|     34|            c = tok_nextc(tok);
  861|     34|            if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (861:17): [True: 2, False: 32]
  |  Branch (861:29): [True: 0, False: 32]
  ------------------
  862|       |                /* Hex */
  863|      2|                c = tok_nextc(tok);
  864|      2|                do {
  865|      2|                    if (c == '_') {
  ------------------
  |  Branch (865:25): [True: 0, False: 2]
  ------------------
  866|      0|                        c = tok_nextc(tok);
  867|      0|                    }
  868|      2|                    if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|      2|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      2|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  ------------------
  |  Branch (868:25): [True: 0, False: 2]
  ------------------
  869|      0|                        tok_backup(tok, c);
  870|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid hexadecimal literal"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  871|      0|                    }
  872|      8|                    do {
  873|      8|                        c = tok_nextc(tok);
  874|      8|                    } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|      8|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|      8|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      8|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 6, False: 2]
  |  |  ------------------
  ------------------
  875|      2|                } while (c == '_');
  ------------------
  |  Branch (875:26): [True: 0, False: 2]
  ------------------
  876|      2|                if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (876:21): [True: 0, False: 2]
  ------------------
  877|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  878|      0|                }
  879|      2|            }
  880|     32|            else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (880:22): [True: 0, False: 32]
  |  Branch (880:34): [True: 0, False: 32]
  ------------------
  881|       |                /* Octal */
  882|      0|                c = tok_nextc(tok);
  883|      0|                do {
  884|      0|                    if (c == '_') {
  ------------------
  |  Branch (884:25): [True: 0, False: 0]
  ------------------
  885|      0|                        c = tok_nextc(tok);
  886|      0|                    }
  887|      0|                    if (c < '0' || c >= '8') {
  ------------------
  |  Branch (887:25): [True: 0, False: 0]
  |  Branch (887:36): [True: 0, False: 0]
  ------------------
  888|      0|                        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  889|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  890|      0|                                    "invalid digit '%c' in octal literal", c));
  891|      0|                        }
  892|      0|                        else {
  893|      0|                            tok_backup(tok, c);
  894|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid octal literal"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  895|      0|                        }
  896|      0|                    }
  897|      0|                    do {
  898|      0|                        c = tok_nextc(tok);
  899|      0|                    } while ('0' <= c && c < '8');
  ------------------
  |  Branch (899:30): [True: 0, False: 0]
  |  Branch (899:42): [True: 0, False: 0]
  ------------------
  900|      0|                } while (c == '_');
  ------------------
  |  Branch (900:26): [True: 0, False: 0]
  ------------------
  901|      0|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  902|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  903|      0|                            "invalid digit '%c' in octal literal", c));
  904|      0|                }
  905|      0|                if (!verify_end_of_number(tok, c, "octal")) {
  ------------------
  |  Branch (905:21): [True: 0, False: 0]
  ------------------
  906|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  907|      0|                }
  908|      0|            }
  909|     32|            else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (909:22): [True: 0, False: 32]
  |  Branch (909:34): [True: 0, False: 32]
  ------------------
  910|       |                /* Binary */
  911|      0|                c = tok_nextc(tok);
  912|      0|                do {
  913|      0|                    if (c == '_') {
  ------------------
  |  Branch (913:25): [True: 0, False: 0]
  ------------------
  914|      0|                        c = tok_nextc(tok);
  915|      0|                    }
  916|      0|                    if (c != '0' && c != '1') {
  ------------------
  |  Branch (916:25): [True: 0, False: 0]
  |  Branch (916:37): [True: 0, False: 0]
  ------------------
  917|      0|                        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  918|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  919|      0|                        }
  920|      0|                        else {
  921|      0|                            tok_backup(tok, c);
  922|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid binary literal"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  923|      0|                        }
  924|      0|                    }
  925|      0|                    do {
  926|      0|                        c = tok_nextc(tok);
  927|      0|                    } while (c == '0' || c == '1');
  ------------------
  |  Branch (927:30): [True: 0, False: 0]
  |  Branch (927:42): [True: 0, False: 0]
  ------------------
  928|      0|                } while (c == '_');
  ------------------
  |  Branch (928:26): [True: 0, False: 0]
  ------------------
  929|      0|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  930|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  931|      0|                }
  932|      0|                if (!verify_end_of_number(tok, c, "binary")) {
  ------------------
  |  Branch (932:21): [True: 0, False: 0]
  ------------------
  933|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  934|      0|                }
  935|      0|            }
  936|     32|            else {
  937|     32|                int nonzero = 0;
  938|       |                /* maybe old-style octal; c is first char of it */
  939|       |                /* in any case, allow '0' as a literal */
  940|     32|                while (1) {
  ------------------
  |  Branch (940:24): [True: 32, Folded]
  ------------------
  941|     32|                    if (c == '_') {
  ------------------
  |  Branch (941:25): [True: 0, False: 32]
  ------------------
  942|      0|                        c = tok_nextc(tok);
  943|      0|                        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (943:29): [True: 0, False: 0]
  ------------------
  944|      0|                            tok_backup(tok, c);
  945|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  946|      0|                        }
  947|      0|                    }
  948|     32|                    if (c != '0') {
  ------------------
  |  Branch (948:25): [True: 32, False: 0]
  ------------------
  949|     32|                        break;
  950|     32|                    }
  951|      0|                    c = tok_nextc(tok);
  952|      0|                }
  953|     32|                char* zeros_end = tok->cur;
  954|     32|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     32|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|     32|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     32|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 32]
  |  |  ------------------
  ------------------
  955|      0|                    nonzero = 1;
  956|      0|                    c = tok_decimal_tail(tok);
  957|      0|                    if (c == 0) {
  ------------------
  |  Branch (957:25): [True: 0, False: 0]
  ------------------
  958|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  959|      0|                    }
  960|      0|                }
  961|     32|                if (c == '.') {
  ------------------
  |  Branch (961:21): [True: 0, False: 32]
  ------------------
  962|      0|                    c = tok_nextc(tok);
  963|      0|                    goto fraction;
  964|      0|                }
  965|     32|                else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (965:26): [True: 0, False: 32]
  |  Branch (965:38): [True: 0, False: 32]
  ------------------
  966|      0|                    goto exponent;
  967|      0|                }
  968|     32|                else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (968:26): [True: 0, False: 32]
  |  Branch (968:38): [True: 0, False: 32]
  ------------------
  969|      0|                    goto imaginary;
  970|      0|                }
  971|     32|                else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (971:26): [True: 0, False: 32]
  |  Branch (971:37): [True: 0, False: 0]
  ------------------
  972|       |                    /* Old-style octal: now disallowed. */
  973|      0|                    tok_backup(tok, c);
  974|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror_known_range(
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  975|      0|                            tok, (int)(tok->start + 1 - tok->line_start),
  976|      0|                            (int)(zeros_end - tok->line_start),
  977|      0|                            "leading zeros in decimal integer "
  978|      0|                            "literals are not permitted; "
  979|      0|                            "use an 0o prefix for octal integers"));
  980|      0|                }
  981|     32|                if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (981:21): [True: 0, False: 32]
  ------------------
  982|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  983|      0|                }
  984|     32|            }
  985|     34|        }
  986|     76|        else {
  987|       |            /* Decimal */
  988|     76|            c = tok_decimal_tail(tok);
  989|     76|            if (c == 0) {
  ------------------
  |  Branch (989:17): [True: 0, False: 76]
  ------------------
  990|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  991|      0|            }
  992|     76|            {
  993|       |                /* Accept floating-point numbers. */
  994|     76|                if (c == '.') {
  ------------------
  |  Branch (994:21): [True: 0, False: 76]
  ------------------
  995|      0|                    c = tok_nextc(tok);
  996|      0|        fraction:
  997|       |                    /* Fraction */
  998|      0|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  999|      0|                        c = tok_decimal_tail(tok);
 1000|      0|                        if (c == 0) {
  ------------------
  |  Branch (1000:29): [True: 0, False: 0]
  ------------------
 1001|      0|                            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1002|      0|                        }
 1003|      0|                    }
 1004|      0|                }
 1005|     76|                if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1005:21): [True: 0, False: 76]
  |  Branch (1005:33): [True: 0, False: 76]
  ------------------
 1006|      0|                    int e;
 1007|      0|                  exponent:
 1008|      0|                    e = c;
 1009|       |                    /* Exponent part */
 1010|      0|                    c = tok_nextc(tok);
 1011|      0|                    if (c == '+' || c == '-') {
  ------------------
  |  Branch (1011:25): [True: 0, False: 0]
  |  Branch (1011:37): [True: 0, False: 0]
  ------------------
 1012|      0|                        c = tok_nextc(tok);
 1013|      0|                        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (1013:29): [True: 0, False: 0]
  ------------------
 1014|      0|                            tok_backup(tok, c);
 1015|      0|                            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1016|      0|                        }
 1017|      0|                    } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (1017:32): [True: 0, False: 0]
  ------------------
 1018|      0|                        tok_backup(tok, c);
 1019|      0|                        if (!verify_end_of_number(tok, e, "decimal")) {
  ------------------
  |  Branch (1019:29): [True: 0, False: 0]
  ------------------
 1020|      0|                            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1021|      0|                        }
 1022|      0|                        tok_backup(tok, e);
 1023|      0|                        p_start = tok->start;
 1024|      0|                        p_end = tok->cur;
 1025|      0|                        return MAKE_TOKEN(NUMBER);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1026|      0|                    }
 1027|      0|                    c = tok_decimal_tail(tok);
 1028|      0|                    if (c == 0) {
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1030|      0|                    }
 1031|      0|                }
 1032|     76|                if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (1032:21): [True: 0, False: 76]
  |  Branch (1032:33): [True: 0, False: 76]
  ------------------
 1033|       |                    /* Imaginary part */
 1034|      0|        imaginary:
 1035|      0|                    c = tok_nextc(tok);
 1036|      0|                    if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (1036:25): [True: 0, False: 0]
  ------------------
 1037|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1038|      0|                    }
 1039|      0|                }
 1040|     76|                else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (1040:26): [True: 0, False: 76]
  ------------------
 1041|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1042|      0|                }
 1043|     76|            }
 1044|     76|        }
 1045|    110|        tok_backup(tok, c);
 1046|    110|        p_start = tok->start;
 1047|    110|        p_end = tok->cur;
 1048|    110|        return MAKE_TOKEN(NUMBER);
  ------------------
  |  |   44|    110|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1049|    110|    }
 1050|       |
 1051|   171k|  f_string_quote:
 1052|   171k|    if (((Py_TOLOWER(*tok->start) == 'f' || Py_TOLOWER(*tok->start) == 'r' || Py_TOLOWER(*tok->start) == 't')
  ------------------
  |  |   32|   171k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   171k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  if (((Py_TOLOWER(*tok->start) == 'f' || Py_TOLOWER(*tok->start) == 'r' || Py_TOLOWER(*tok->start) == 't')
  ------------------
  |  |   32|   170k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   170k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  if (((Py_TOLOWER(*tok->start) == 'f' || Py_TOLOWER(*tok->start) == 'r' || Py_TOLOWER(*tok->start) == 't')
  ------------------
  |  |   32|   170k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   170k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1052:11): [True: 94, False: 170k]
  |  Branch (1052:45): [True: 0, False: 170k]
  |  Branch (1052:79): [True: 0, False: 170k]
  ------------------
 1053|     94|        && (c == '\'' || c == '"'))) {
  ------------------
  |  Branch (1053:13): [True: 0, False: 94]
  |  Branch (1053:26): [True: 94, False: 0]
  ------------------
 1054|       |
 1055|     94|        int quote = c;
 1056|     94|        int quote_size = 1;             /* 1 or 3 */
 1057|       |
 1058|       |        /* Nodes of type STRING, especially multi line strings
 1059|       |           must be handled differently in order to get both
 1060|       |           the starting line number and the column offset right.
 1061|       |           (cf. issue 16806) */
 1062|     94|        tok->first_lineno = tok->lineno;
 1063|     94|        tok->multi_line_start = tok->line_start;
 1064|       |
 1065|       |        /* Find the quote size and start of string */
 1066|     94|        int after_quote = tok_nextc(tok);
 1067|     94|        if (after_quote == quote) {
  ------------------
  |  Branch (1067:13): [True: 0, False: 94]
  ------------------
 1068|      0|            int after_after_quote = tok_nextc(tok);
 1069|      0|            if (after_after_quote == quote) {
  ------------------
  |  Branch (1069:17): [True: 0, False: 0]
  ------------------
 1070|      0|                quote_size = 3;
 1071|      0|            }
 1072|      0|            else {
 1073|       |                // TODO: Check this
 1074|      0|                tok_backup(tok, after_after_quote);
 1075|      0|                tok_backup(tok, after_quote);
 1076|      0|            }
 1077|      0|        }
 1078|     94|        if (after_quote != quote) {
  ------------------
  |  Branch (1078:13): [True: 94, False: 0]
  ------------------
 1079|     94|            tok_backup(tok, after_quote);
 1080|     94|        }
 1081|       |
 1082|       |
 1083|     94|        p_start = tok->start;
 1084|     94|        p_end = tok->cur;
 1085|     94|        if (tok->tok_mode_stack_index + 1 >= MAXFSTRINGLEVEL) {
  ------------------
  |  |    8|     94|#define MAXFSTRINGLEVEL 150 /* Max f-string nesting level */
  ------------------
  |  Branch (1085:13): [True: 0, False: 94]
  ------------------
 1086|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested f-strings or t-strings"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1087|      0|        }
 1088|     94|        tokenizer_mode *the_current_tok = TOK_NEXT_MODE(tok);
  ------------------
  |  |   38|     94|#define TOK_NEXT_MODE(tok) (&(tok->tok_mode_stack[++tok->tok_mode_stack_index]))
  ------------------
 1089|     94|        the_current_tok->kind = TOK_FSTRING_MODE;
 1090|     94|        the_current_tok->quote = quote;
 1091|     94|        the_current_tok->quote_size = quote_size;
 1092|     94|        the_current_tok->start = tok->start;
 1093|     94|        the_current_tok->multi_line_start = tok->line_start;
 1094|     94|        the_current_tok->first_line = tok->lineno;
 1095|     94|        the_current_tok->start_offset = -1;
 1096|     94|        the_current_tok->multi_line_start_offset = -1;
 1097|     94|        the_current_tok->last_expr_buffer = NULL;
 1098|     94|        the_current_tok->last_expr_size = 0;
 1099|     94|        the_current_tok->last_expr_end = -1;
 1100|     94|        the_current_tok->in_format_spec = 0;
 1101|     94|        the_current_tok->in_debug = 0;
 1102|       |
 1103|     94|        enum string_kind_t string_kind = FSTRING;
 1104|     94|        switch (*tok->start) {
 1105|      0|            case 'T':
  ------------------
  |  Branch (1105:13): [True: 0, False: 94]
  ------------------
 1106|      0|            case 't':
  ------------------
  |  Branch (1106:13): [True: 0, False: 94]
  ------------------
 1107|      0|                the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
 1108|      0|                string_kind = TSTRING;
 1109|      0|                break;
 1110|      0|            case 'F':
  ------------------
  |  Branch (1110:13): [True: 0, False: 94]
  ------------------
 1111|     94|            case 'f':
  ------------------
  |  Branch (1111:13): [True: 94, False: 0]
  ------------------
 1112|     94|                the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|     94|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|     94|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
 1113|     94|                break;
 1114|      0|            case 'R':
  ------------------
  |  Branch (1114:13): [True: 0, False: 94]
  ------------------
 1115|      0|            case 'r':
  ------------------
  |  Branch (1115:13): [True: 0, False: 94]
  ------------------
 1116|      0|                the_current_tok->raw = 1;
 1117|      0|                if (Py_TOLOWER(*(tok->start + 1)) == 't') {
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1117:21): [True: 0, False: 0]
  ------------------
 1118|      0|                    string_kind = TSTRING;
 1119|      0|                }
 1120|      0|                break;
 1121|      0|            default:
  ------------------
  |  Branch (1121:13): [True: 0, False: 94]
  ------------------
 1122|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1123|     94|        }
 1124|       |
 1125|     94|        the_current_tok->string_kind = string_kind;
 1126|     94|        the_current_tok->curly_bracket_depth = 0;
 1127|     94|        the_current_tok->curly_bracket_expr_start_depth = -1;
 1128|     94|        return string_kind == TSTRING ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
                      return string_kind == TSTRING ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |   44|     94|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  |  Branch (1128:16): [True: 0, False: 94]
  ------------------
 1129|     94|    }
 1130|       |
 1131|   170k|  letter_quote:
 1132|       |    /* String */
 1133|   170k|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (1133:9): [True: 376, False: 170k]
  |  Branch (1133:22): [True: 30, False: 170k]
  ------------------
 1134|    406|        int quote = c;
 1135|    406|        int quote_size = 1;             /* 1 or 3 */
 1136|    406|        int end_quote_size = 0;
 1137|    406|        int has_escaped_quote = 0;
 1138|       |
 1139|       |        /* Nodes of type STRING, especially multi line strings
 1140|       |           must be handled differently in order to get both
 1141|       |           the starting line number and the column offset right.
 1142|       |           (cf. issue 16806) */
 1143|    406|        tok->first_lineno = tok->lineno;
 1144|    406|        tok->multi_line_start = tok->line_start;
 1145|       |
 1146|       |        /* Find the quote size and start of string */
 1147|    406|        c = tok_nextc(tok);
 1148|    406|        if (c == quote) {
  ------------------
  |  Branch (1148:13): [True: 8, False: 398]
  ------------------
 1149|      8|            c = tok_nextc(tok);
 1150|      8|            if (c == quote) {
  ------------------
  |  Branch (1150:17): [True: 8, False: 0]
  ------------------
 1151|      8|                quote_size = 3;
 1152|      8|            }
 1153|      0|            else {
 1154|      0|                end_quote_size = 1;     /* empty string found */
 1155|      0|            }
 1156|      8|        }
 1157|    406|        if (c != quote) {
  ------------------
  |  Branch (1157:13): [True: 398, False: 8]
  ------------------
 1158|    398|            tok_backup(tok, c);
 1159|    398|        }
 1160|       |
 1161|       |        /* Get rest of string */
 1162|  6.76k|        while (end_quote_size != quote_size) {
  ------------------
  |  Branch (1162:16): [True: 6.35k, False: 406]
  ------------------
 1163|  6.35k|            c = tok_nextc(tok);
 1164|  6.35k|            if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  6.35k|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (1164:17): [True: 0, False: 6.35k]
  ------------------
 1165|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1166|      0|            }
 1167|  6.35k|            if (tok->done == E_DECODE) {
  ------------------
  |  |   34|  6.35k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (1167:17): [True: 0, False: 6.35k]
  ------------------
 1168|      0|                break;
 1169|      0|            }
 1170|  6.35k|            if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (1170:17): [True: 0, False: 6.35k]
  |  Branch (1170:30): [True: 4.45k, False: 1.90k]
  |  Branch (1170:49): [True: 0, False: 4.45k]
  ------------------
 1171|      0|                assert(tok->multi_line_start != NULL);
 1172|       |                // shift the tok_state's location into
 1173|       |                // the start of string, and report the error
 1174|       |                // from the initial quote character
 1175|      0|                tok->cur = (char *)tok->start;
 1176|      0|                tok->cur++;
 1177|      0|                tok->line_start = tok->multi_line_start;
 1178|      0|                int start = tok->lineno;
 1179|      0|                tok->lineno = tok->first_lineno;
 1180|       |
 1181|      0|                if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|      0|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1182|       |                    /* When we are in an f-string, before raising the
 1183|       |                     * unterminated string literal error, check whether
 1184|       |                     * does the initial quote matches with f-strings quotes
 1185|       |                     * and if it is, then this must be a missing '}' token
 1186|       |                     * so raise the proper error */
 1187|      0|                    tokenizer_mode *the_current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   37|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1188|      0|                    if (the_current_tok->quote == quote &&
  ------------------
  |  Branch (1188:25): [True: 0, False: 0]
  ------------------
 1189|      0|                        the_current_tok->quote_size == quote_size) {
  ------------------
  |  Branch (1189:25): [True: 0, False: 0]
  ------------------
 1190|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1191|      0|                            "%c-string: expecting '}'", TOK_GET_STRING_PREFIX(tok)));
 1192|      0|                    }
 1193|      0|                }
 1194|       |
 1195|      0|                if (quote_size == 3) {
  ------------------
  |  Branch (1195:21): [True: 0, False: 0]
  ------------------
 1196|      0|                    _PyTokenizer_syntaxerror(tok, "unterminated triple-quoted string literal"
 1197|      0|                                     " (detected at line %d)", start);
 1198|      0|                    if (c != '\n') {
  ------------------
  |  Branch (1198:25): [True: 0, False: 0]
  ------------------
 1199|      0|                        tok->done = E_EOFS;
  ------------------
  |  |   35|      0|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
 1200|      0|                    }
 1201|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1202|      0|                }
 1203|      0|                else {
 1204|      0|                    if (has_escaped_quote) {
  ------------------
  |  Branch (1204:25): [True: 0, False: 0]
  ------------------
 1205|      0|                        _PyTokenizer_syntaxerror(
 1206|      0|                            tok,
 1207|      0|                            "unterminated string literal (detected at line %d); "
 1208|      0|                            "perhaps you escaped the end quote?",
 1209|      0|                            start
 1210|      0|                        );
 1211|      0|                    } else {
 1212|      0|                        _PyTokenizer_syntaxerror(
 1213|      0|                            tok, "unterminated string literal (detected at line %d)", start
 1214|      0|                        );
 1215|      0|                    }
 1216|      0|                    if (c != '\n') {
  ------------------
  |  Branch (1216:25): [True: 0, False: 0]
  ------------------
 1217|      0|                        tok->done = E_EOLS;
  ------------------
  |  |   36|      0|#define E_EOLS           24      /* EOL in single-quoted string */
  ------------------
 1218|      0|                    }
 1219|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1220|      0|                }
 1221|      0|            }
 1222|  6.35k|            if (c == quote) {
  ------------------
  |  Branch (1222:17): [True: 426, False: 5.93k]
  ------------------
 1223|    426|                end_quote_size += 1;
 1224|    426|            }
 1225|  5.93k|            else {
 1226|  5.93k|                end_quote_size = 0;
 1227|  5.93k|                if (c == '\\') {
  ------------------
  |  Branch (1227:21): [True: 0, False: 5.93k]
  ------------------
 1228|      0|                    c = tok_nextc(tok);  /* skip escaped char */
 1229|      0|                    if (c == quote) {  /* but record whether the escaped char was a quote */
  ------------------
  |  Branch (1229:25): [True: 0, False: 0]
  ------------------
 1230|      0|                        has_escaped_quote = 1;
 1231|      0|                    }
 1232|      0|                    if (c == '\r') {
  ------------------
  |  Branch (1232:25): [True: 0, False: 0]
  ------------------
 1233|      0|                        c = tok_nextc(tok);
 1234|      0|                    }
 1235|      0|                }
 1236|  5.93k|            }
 1237|  6.35k|        }
 1238|       |
 1239|    406|        p_start = tok->start;
 1240|    406|        p_end = tok->cur;
 1241|    406|        return MAKE_TOKEN(STRING);
  ------------------
  |  |   44|    406|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1242|    406|    }
 1243|       |
 1244|       |    /* Line continuation */
 1245|   170k|    if (c == '\\') {
  ------------------
  |  Branch (1245:9): [True: 0, False: 170k]
  ------------------
 1246|      0|        if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (1246:13): [True: 0, False: 0]
  ------------------
 1247|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1248|      0|        }
 1249|      0|        tok->cont_line = 1;
 1250|      0|        goto again; /* Read next line */
 1251|      0|    }
 1252|       |
 1253|       |    /* Punctuation character */
 1254|   170k|    int is_punctuation = (c == ':' || c == '}' || c == '!' || c == '{');
  ------------------
  |  Branch (1254:27): [True: 54.9k, False: 115k]
  |  Branch (1254:39): [True: 340, False: 115k]
  |  Branch (1254:51): [True: 246, False: 115k]
  |  Branch (1254:63): [True: 340, False: 114k]
  ------------------
 1255|   170k|    if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   10|   226k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 830, False: 55.0k]
  |  |  ------------------
  ------------------
                  if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   11|    830|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 830, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1255:9): [True: 55.8k, False: 114k]
  ------------------
 1256|       |        /* This code block gets executed before the curly_bracket_depth is incremented
 1257|       |         * by the `{` case, so for ensuring that we are on the 0th level, we need
 1258|       |         * to adjust it manually */
 1259|    830|        int cursor = current_tok->curly_bracket_depth - (c != '{');
 1260|    830|        int in_format_spec = current_tok->in_format_spec;
 1261|    830|         int cursor_in_format_with_debug =
 1262|    830|             cursor == 1 && (current_tok->in_debug || in_format_spec);
  ------------------
  |  Branch (1262:14): [True: 0, False: 830]
  |  Branch (1262:30): [True: 0, False: 0]
  |  Branch (1262:55): [True: 0, False: 0]
  ------------------
 1263|    830|         int cursor_valid = cursor == 0 || cursor_in_format_with_debug;
  ------------------
  |  Branch (1263:29): [True: 830, False: 0]
  |  Branch (1263:44): [True: 0, False: 0]
  ------------------
 1264|    830|        if ((cursor_valid) && !_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (1264:13): [True: 830, False: 0]
  |  Branch (1264:31): [True: 0, False: 830]
  ------------------
 1265|      0|            return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1266|      0|        }
 1267|    830|        if ((cursor_valid) && c != '{' && set_ftstring_expr(tok, token, c)) {
  ------------------
  |  Branch (1267:13): [True: 830, False: 0]
  |  Branch (1267:31): [True: 538, False: 292]
  |  Branch (1267:43): [True: 0, False: 538]
  ------------------
 1268|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1269|      0|        }
 1270|       |
 1271|    830|        if (c == ':' && cursor == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (1271:13): [True: 0, False: 830]
  |  Branch (1271:25): [True: 0, False: 0]
  ------------------
 1272|      0|            current_tok->kind = TOK_FSTRING_MODE;
 1273|      0|            current_tok->in_format_spec = 1;
 1274|      0|            p_start = tok->start;
 1275|      0|            p_end = tok->cur;
 1276|      0|            return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1277|      0|        }
 1278|    830|    }
 1279|       |
 1280|       |    /* Check for two-character token */
 1281|   170k|    {
 1282|   170k|        int c2 = tok_nextc(tok);
 1283|   170k|        int current_token = _PyToken_TwoChars(c, c2);
 1284|   170k|        if (current_token != OP) {
  ------------------
  |  |   71|   170k|#define OP              55
  ------------------
  |  Branch (1284:13): [True: 272, False: 170k]
  ------------------
 1285|    272|            int c3 = tok_nextc(tok);
 1286|    272|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
 1287|    272|            if (current_token3 != OP) {
  ------------------
  |  |   71|    272|#define OP              55
  ------------------
  |  Branch (1287:17): [True: 0, False: 272]
  ------------------
 1288|      0|                current_token = current_token3;
 1289|      0|            }
 1290|    272|            else {
 1291|    272|                tok_backup(tok, c3);
 1292|    272|            }
 1293|    272|            p_start = tok->start;
 1294|    272|            p_end = tok->cur;
 1295|    272|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   44|    272|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1296|    272|        }
 1297|   170k|        tok_backup(tok, c2);
 1298|   170k|    }
 1299|       |
 1300|       |    /* Keep track of parentheses nesting level */
 1301|      0|    switch (c) {
 1302|  1.43k|    case '(':
  ------------------
  |  Branch (1302:5): [True: 1.43k, False: 168k]
  ------------------
 1303|  1.45k|    case '[':
  ------------------
  |  Branch (1303:5): [True: 12, False: 170k]
  ------------------
 1304|  1.79k|    case '{':
  ------------------
  |  Branch (1304:5): [True: 340, False: 169k]
  ------------------
 1305|  1.79k|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    7|  1.79k|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (1305:13): [True: 0, False: 1.79k]
  ------------------
 1306|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested parentheses"));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1307|      0|        }
 1308|  1.79k|        tok->parenstack[tok->level] = c;
 1309|  1.79k|        tok->parenlinenostack[tok->level] = tok->lineno;
 1310|  1.79k|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
 1311|  1.79k|        tok->level++;
 1312|  1.79k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|  1.79k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 292, False: 1.49k]
  |  |  ------------------
  ------------------
 1313|    292|            current_tok->curly_bracket_depth++;
 1314|    292|        }
 1315|  1.79k|        break;
 1316|  1.43k|    case ')':
  ------------------
  |  Branch (1316:5): [True: 1.43k, False: 168k]
  ------------------
 1317|  1.45k|    case ']':
  ------------------
  |  Branch (1317:5): [True: 12, False: 170k]
  ------------------
 1318|  1.79k|    case '}':
  ------------------
  |  Branch (1318:5): [True: 340, False: 169k]
  ------------------
 1319|  1.79k|        if (INSIDE_FSTRING(tok) && !current_tok->curly_bracket_depth && c == '}') {
  ------------------
  |  |   10|  3.58k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 292, False: 1.49k]
  |  |  ------------------
  ------------------
  |  Branch (1319:36): [True: 0, False: 292]
  |  Branch (1319:73): [True: 0, False: 0]
  ------------------
 1320|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1321|      0|                "%c-string: single '}' is not allowed", TOK_GET_STRING_PREFIX(tok)));
 1322|      0|        }
 1323|  1.79k|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (1323:13): [True: 1.69k, False: 94]
  |  Branch (1323:39): [True: 0, False: 1.69k]
  ------------------
 1324|      0|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "unmatched '%c'", c));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1325|      0|        }
 1326|  1.79k|        if (tok->level > 0) {
  ------------------
  |  Branch (1326:13): [True: 1.79k, False: 0]
  ------------------
 1327|  1.79k|            tok->level--;
 1328|  1.79k|            int opening = tok->parenstack[tok->level];
 1329|  1.79k|            if (!tok->tok_extra_tokens && !((opening == '(' && c == ')') ||
  ------------------
  |  Branch (1329:17): [True: 1.69k, False: 94]
  |  Branch (1329:46): [True: 1.34k, False: 352]
  |  Branch (1329:64): [True: 1.34k, False: 0]
  ------------------
 1330|    352|                                            (opening == '[' && c == ']') ||
  ------------------
  |  Branch (1330:46): [True: 12, False: 340]
  |  Branch (1330:64): [True: 12, False: 0]
  ------------------
 1331|    340|                                            (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (1331:46): [True: 340, False: 0]
  |  Branch (1331:64): [True: 340, False: 0]
  ------------------
 1332|       |                /* If the opening bracket belongs to an f-string's expression
 1333|       |                part (e.g. f"{)}") and the closing bracket is an arbitrary
 1334|       |                nested expression, then instead of matching a different
 1335|       |                syntactical construct with it; we'll throw an unmatched
 1336|       |                parentheses error. */
 1337|      0|                if (INSIDE_FSTRING(tok) && opening == '{') {
  ------------------
  |  |   10|      0|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1337:44): [True: 0, False: 0]
  ------------------
 1338|      0|                    assert(current_tok->curly_bracket_depth >= 0);
 1339|      0|                    int previous_bracket = current_tok->curly_bracket_depth - 1;
 1340|      0|                    if (previous_bracket == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (1340:25): [True: 0, False: 0]
  ------------------
 1341|      0|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1342|      0|                            "%c-string: unmatched '%c'", TOK_GET_STRING_PREFIX(tok), c));
 1343|      0|                    }
 1344|      0|                }
 1345|      0|                if (tok->parenlinenostack[tok->level] != tok->lineno) {
  ------------------
  |  Branch (1345:21): [True: 0, False: 0]
  ------------------
 1346|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1347|      0|                            "closing parenthesis '%c' does not match "
 1348|      0|                            "opening parenthesis '%c' on line %d",
 1349|      0|                            c, opening, tok->parenlinenostack[tok->level]));
 1350|      0|                }
 1351|      0|                else {
 1352|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1353|      0|                            "closing parenthesis '%c' does not match "
 1354|      0|                            "opening parenthesis '%c'",
 1355|      0|                            c, opening));
 1356|      0|                }
 1357|      0|            }
 1358|  1.79k|        }
 1359|       |
 1360|  1.79k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|  1.79k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 292, False: 1.49k]
  |  |  ------------------
  ------------------
 1361|    292|            current_tok->curly_bracket_depth--;
 1362|    292|            if (current_tok->curly_bracket_depth < 0) {
  ------------------
  |  Branch (1362:17): [True: 0, False: 292]
  ------------------
 1363|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "%c-string: unmatched '%c'",
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1364|      0|                    TOK_GET_STRING_PREFIX(tok), c));
 1365|      0|            }
 1366|    292|            if (c == '}' && current_tok->curly_bracket_depth == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (1366:17): [True: 292, False: 0]
  |  Branch (1366:29): [True: 292, False: 0]
  ------------------
 1367|    292|                current_tok->curly_bracket_expr_start_depth--;
 1368|    292|                current_tok->kind = TOK_FSTRING_MODE;
 1369|    292|                current_tok->in_format_spec = 0;
 1370|    292|                current_tok->in_debug = 0;
 1371|    292|            }
 1372|    292|        }
 1373|  1.79k|        break;
 1374|   166k|    default:
  ------------------
  |  Branch (1374:5): [True: 166k, False: 3.58k]
  ------------------
 1375|   166k|        break;
 1376|   170k|    }
 1377|       |
 1378|   170k|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  761|   170k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (1378:9): [True: 0, False: 170k]
  ------------------
 1379|      0|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", c));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1380|      0|    }
 1381|       |
 1382|   170k|    if( c == '=' && INSIDE_FSTRING_EXPR_AT_TOP(current_tok)) {
  ------------------
  |  |   13|    612|    (tok->curly_bracket_depth - tok->curly_bracket_expr_start_depth == 1)
  |  |  ------------------
  |  |  |  Branch (13:5): [True: 0, False: 612]
  |  |  ------------------
  ------------------
  |  Branch (1382:9): [True: 612, False: 169k]
  ------------------
 1383|      0|        current_tok->in_debug = 1;
 1384|      0|    }
 1385|       |
 1386|       |    /* Punctuation character */
 1387|   170k|    p_start = tok->start;
 1388|   170k|    p_end = tok->cur;
 1389|   170k|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   44|   170k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1390|   170k|}
lexer.c:tok_nextc:
   61|  2.15M|{
   62|  2.15M|    int rc;
   63|  2.21M|    for (;;) {
   64|  2.21M|        if (tok->cur != tok->inp) {
  ------------------
  |  Branch (64:13): [True: 1.99M, False: 219k]
  ------------------
   65|  1.99M|            if ((unsigned int) tok->col_offset >= (unsigned int) INT_MAX) {
  ------------------
  |  Branch (65:17): [True: 0, False: 1.99M]
  ------------------
   66|      0|                tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   67|      0|                return EOF;
   68|      0|            }
   69|  1.99M|            tok->col_offset++;
   70|  1.99M|            return Py_CHARMASK(*tok->cur++); /* Fast path */
  ------------------
  |  |  138|  1.99M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   71|  1.99M|        }
   72|   219k|        if (tok->done != E_OK) {
  ------------------
  |  |   22|   219k|#define E_OK             10      /* No error */
  ------------------
  |  Branch (72:13): [True: 108k, False: 110k]
  ------------------
   73|   108k|            return EOF;
   74|   108k|        }
   75|   110k|        rc = tok->underflow(tok);
   76|       |#if defined(Py_DEBUG)
   77|       |        if (tok->debug) {
   78|       |            fprintf(stderr, "line[%d] = ", tok->lineno);
   79|       |            _PyTokenizer_print_escape(stderr, tok->cur, tok->inp - tok->cur);
   80|       |            fprintf(stderr, "  tok->done = %d\n", tok->done);
   81|       |        }
   82|       |#endif
   83|   110k|        if (!rc) {
  ------------------
  |  Branch (83:13): [True: 54.4k, False: 56.2k]
  ------------------
   84|  54.4k|            tok->cur = tok->inp;
   85|  54.4k|            return EOF;
   86|  54.4k|        }
   87|  56.2k|        tok->line_start = tok->cur;
   88|       |
   89|  56.2k|        if (contains_null_bytes(tok->line_start, tok->inp - tok->line_start)) {
  ------------------
  |  Branch (89:13): [True: 0, False: 56.2k]
  ------------------
   90|      0|            _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   91|      0|            tok->cur = tok->inp;
   92|      0|            return EOF;
   93|      0|        }
   94|  56.2k|    }
   95|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
   96|  2.15M|}
lexer.c:contains_null_bytes:
   54|  56.2k|{
   55|       |    return memchr(str, 0, size) != NULL;
   56|  56.2k|}
lexer.c:tok_backup:
  101|   913k|{
  102|   913k|    if (c != EOF) {
  ------------------
  |  Branch (102:9): [True: 804k, False: 108k]
  ------------------
  103|   804k|        if (--tok->cur < tok->buf) {
  ------------------
  |  Branch (103:13): [True: 0, False: 804k]
  ------------------
  104|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  105|      0|        }
  106|   804k|        if ((int)(unsigned char)*tok->cur != Py_CHARMASK(c)) {
  ------------------
  |  |  138|   804k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (106:13): [True: 0, False: 804k]
  ------------------
  107|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  108|      0|        }
  109|   804k|        tok->col_offset--;
  110|   804k|    }
  111|   913k|}
lexer.c:maybe_raise_syntax_error_for_string_prefixes:
  458|     94|                                             int saw_f, int saw_t) {
  459|       |    // Supported: rb, rf, rt (in any order)
  460|       |    // Unsupported: ub, ur, uf, ut, bf, bt, ft (in any order)
  461|       |
  462|     94|#define RETURN_SYNTAX_ERROR(PREFIX1, PREFIX2)                             \
  463|     94|    do {                                                                  \
  464|     94|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  465|     94|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  466|     94|            (int)(tok->cur - tok->line_start),                            \
  467|     94|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  468|     94|        return -1;                                                        \
  469|     94|    } while (0)
  470|       |
  471|     94|    if (saw_u && saw_b) {
  ------------------
  |  Branch (471:9): [True: 0, False: 94]
  |  Branch (471:18): [True: 0, False: 0]
  ------------------
  472|      0|        RETURN_SYNTAX_ERROR("u", "b");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  473|      0|    }
  474|     94|    if (saw_u && saw_r) {
  ------------------
  |  Branch (474:9): [True: 0, False: 94]
  |  Branch (474:18): [True: 0, False: 0]
  ------------------
  475|      0|        RETURN_SYNTAX_ERROR("u", "r");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  476|      0|    }
  477|     94|    if (saw_u && saw_f) {
  ------------------
  |  Branch (477:9): [True: 0, False: 94]
  |  Branch (477:18): [True: 0, False: 0]
  ------------------
  478|      0|        RETURN_SYNTAX_ERROR("u", "f");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  479|      0|    }
  480|     94|    if (saw_u && saw_t) {
  ------------------
  |  Branch (480:9): [True: 0, False: 94]
  |  Branch (480:18): [True: 0, False: 0]
  ------------------
  481|      0|        RETURN_SYNTAX_ERROR("u", "t");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  482|      0|    }
  483|       |
  484|     94|    if (saw_b && saw_f) {
  ------------------
  |  Branch (484:9): [True: 0, False: 94]
  |  Branch (484:18): [True: 0, False: 0]
  ------------------
  485|      0|        RETURN_SYNTAX_ERROR("b", "f");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  486|      0|    }
  487|     94|    if (saw_b && saw_t) {
  ------------------
  |  Branch (487:9): [True: 0, False: 94]
  |  Branch (487:18): [True: 0, False: 0]
  ------------------
  488|      0|        RETURN_SYNTAX_ERROR("b", "t");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  489|      0|    }
  490|       |
  491|     94|    if (saw_f && saw_t) {
  ------------------
  |  Branch (491:9): [True: 94, False: 0]
  |  Branch (491:18): [True: 0, False: 94]
  ------------------
  492|      0|        RETURN_SYNTAX_ERROR("f", "t");
  ------------------
  |  |  463|      0|    do {                                                                  \
  |  |  464|      0|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  465|      0|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  466|      0|            (int)(tok->cur - tok->line_start),                            \
  |  |  467|      0|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  468|      0|        return -1;                                                        \
  |  |  469|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (469:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  493|      0|    }
  494|       |
  495|     94|#undef RETURN_SYNTAX_ERROR
  496|       |
  497|     94|    return 0;
  498|     94|}
lexer.c:verify_end_of_number:
  305|    110|verify_end_of_number(struct tok_state *tok, int c, const char *kind) {
  306|    110|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (306:9): [True: 28, False: 82]
  ------------------
  307|       |        // When we are parsing extra tokens, we don't want to emit warnings
  308|       |        // about invalid literals, because we want to be a bit more liberal.
  309|     28|        return 1;
  310|     28|    }
  311|       |    /* Emit a deprecation warning only if the numeric literal is immediately
  312|       |     * followed by one of keywords which can occur after a numeric literal
  313|       |     * in valid code: "and", "else", "for", "if", "in", "is" and "or".
  314|       |     * It allows to gradually deprecate existing valid code without adding
  315|       |     * warning before error in most cases of invalid numeric literal (which
  316|       |     * would be confusing and break existing tests).
  317|       |     * Raise a syntax error with slightly better message than plain
  318|       |     * "invalid syntax" if the numeric literal is immediately followed by
  319|       |     * other keyword or identifier.
  320|       |     */
  321|     82|    int r = 0;
  322|     82|    if (c == 'a') {
  ------------------
  |  Branch (322:9): [True: 0, False: 82]
  ------------------
  323|      0|        r = lookahead(tok, "nd");
  324|      0|    }
  325|     82|    else if (c == 'e') {
  ------------------
  |  Branch (325:14): [True: 0, False: 82]
  ------------------
  326|      0|        r = lookahead(tok, "lse");
  327|      0|    }
  328|     82|    else if (c == 'f') {
  ------------------
  |  Branch (328:14): [True: 0, False: 82]
  ------------------
  329|      0|        r = lookahead(tok, "or");
  330|      0|    }
  331|     82|    else if (c == 'i') {
  ------------------
  |  Branch (331:14): [True: 0, False: 82]
  ------------------
  332|      0|        int c2 = tok_nextc(tok);
  333|      0|        if (c2 == 'f' || c2 == 'n' || c2 == 's') {
  ------------------
  |  Branch (333:13): [True: 0, False: 0]
  |  Branch (333:26): [True: 0, False: 0]
  |  Branch (333:39): [True: 0, False: 0]
  ------------------
  334|      0|            r = 1;
  335|      0|        }
  336|      0|        tok_backup(tok, c2);
  337|      0|    }
  338|     82|    else if (c == 'o') {
  ------------------
  |  Branch (338:14): [True: 0, False: 82]
  ------------------
  339|      0|        r = lookahead(tok, "r");
  340|      0|    }
  341|     82|    else if (c == 'n') {
  ------------------
  |  Branch (341:14): [True: 0, False: 82]
  ------------------
  342|      0|        r = lookahead(tok, "ot");
  343|      0|    }
  344|     82|    if (r) {
  ------------------
  |  Branch (344:9): [True: 0, False: 82]
  ------------------
  345|      0|        tok_backup(tok, c);
  346|      0|        if (_PyTokenizer_parser_warn(tok, PyExc_SyntaxWarning,
  ------------------
  |  Branch (346:13): [True: 0, False: 0]
  ------------------
  347|      0|                "invalid %s literal", kind))
  348|      0|        {
  349|      0|            return 0;
  350|      0|        }
  351|      0|        tok_nextc(tok);
  352|      0|    }
  353|     82|    else /* In future releases, only error will remain. */
  354|     82|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   18|     82|#define is_potential_identifier_char(c) (\
  |  |   19|     82|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (19:16): [True: 0, False: 82]
  |  |  |  Branch (19:28): [True: 0, False: 0]
  |  |  ------------------
  |  |   20|     82|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (20:20): [True: 2, False: 80]
  |  |  |  Branch (20:32): [True: 0, False: 2]
  |  |  ------------------
  |  |   21|     82|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (21:20): [True: 8, False: 74]
  |  |  |  Branch (21:32): [True: 0, False: 8]
  |  |  ------------------
  |  |   22|     82|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (22:19): [True: 0, False: 82]
  |  |  ------------------
  |  |   23|     82|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (23:19): [True: 0, False: 82]
  |  |  ------------------
  ------------------
  |  Branch (354:9): [True: 82, False: 0]
  ------------------
  355|      0|        tok_backup(tok, c);
  356|      0|        _PyTokenizer_syntaxerror(tok, "invalid %s literal", kind);
  357|      0|        return 0;
  358|      0|    }
  359|     82|    return 1;
  360|     82|}
lexer.c:tok_decimal_tail:
  414|     76|{
  415|     76|    int c;
  416|       |
  417|     76|    while (1) {
  ------------------
  |  Branch (417:12): [True: 76, Folded]
  ------------------
  418|    100|        do {
  419|    100|            c = tok_nextc(tok);
  420|    100|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|    100|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|    100|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    100|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 24, False: 76]
  |  |  ------------------
  ------------------
  421|     76|        if (c != '_') {
  ------------------
  |  Branch (421:13): [True: 76, False: 0]
  ------------------
  422|     76|            break;
  423|     76|        }
  424|      0|        c = tok_nextc(tok);
  425|      0|        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (425:13): [True: 0, False: 0]
  ------------------
  426|      0|            tok_backup(tok, c);
  427|      0|            _PyTokenizer_syntaxerror(tok, "invalid decimal literal");
  428|      0|            return 0;
  429|      0|        }
  430|      0|    }
  431|     76|    return c;
  432|     76|}
lexer.c:set_ftstring_expr:
  114|    538|set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
  115|    538|    assert(token != NULL);
  116|    538|    assert(c == '}' || c == ':' || c == '!');
  117|    538|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   37|    538|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
  118|       |
  119|    538|    if (!(tok_mode->in_debug || tok_mode->string_kind == TSTRING) || token->metadata) {
  ------------------
  |  Branch (119:11): [True: 0, False: 538]
  |  Branch (119:33): [True: 0, False: 538]
  |  Branch (119:70): [True: 0, False: 0]
  ------------------
  120|    538|        return 0;
  121|    538|    }
  122|      0|    PyObject *res = NULL;
  123|       |
  124|       |    // Look for a # character outside of string literals
  125|      0|    int hash_detected = 0;
  126|      0|    int in_string = 0;
  127|      0|    char quote_char = 0;
  128|       |
  129|      0|    for (Py_ssize_t i = 0; i < tok_mode->last_expr_size - tok_mode->last_expr_end; i++) {
  ------------------
  |  Branch (129:28): [True: 0, False: 0]
  ------------------
  130|      0|        char ch = tok_mode->last_expr_buffer[i];
  131|       |
  132|       |        // Skip escaped characters
  133|      0|        if (ch == '\\') {
  ------------------
  |  Branch (133:13): [True: 0, False: 0]
  ------------------
  134|      0|            i++;
  135|      0|            continue;
  136|      0|        }
  137|       |
  138|       |        // Handle quotes
  139|      0|        if (ch == '"' || ch == '\'') {
  ------------------
  |  Branch (139:13): [True: 0, False: 0]
  |  Branch (139:26): [True: 0, False: 0]
  ------------------
  140|       |            // The following if/else block works becase there is an off number
  141|       |            // of quotes in STRING tokens and the lexer only ever reaches this
  142|       |            // function with valid STRING tokens.
  143|       |            // For example: """hello"""
  144|       |            // First quote: in_string = 1
  145|       |            // Second quote: in_string = 0
  146|       |            // Third quote: in_string = 1
  147|      0|            if (!in_string) {
  ------------------
  |  Branch (147:17): [True: 0, False: 0]
  ------------------
  148|      0|                in_string = 1;
  149|      0|                quote_char = ch;
  150|      0|            }
  151|      0|            else if (ch == quote_char) {
  ------------------
  |  Branch (151:22): [True: 0, False: 0]
  ------------------
  152|      0|                in_string = 0;
  153|      0|            }
  154|      0|            continue;
  155|      0|        }
  156|       |
  157|       |        // Check for # outside strings
  158|      0|        if (ch == '#' && !in_string) {
  ------------------
  |  Branch (158:13): [True: 0, False: 0]
  |  Branch (158:26): [True: 0, False: 0]
  ------------------
  159|      0|            hash_detected = 1;
  160|      0|            break;
  161|      0|        }
  162|      0|    }
  163|       |    // If we found a # character in the expression, we need to handle comments
  164|      0|    if (hash_detected) {
  ------------------
  |  Branch (164:9): [True: 0, False: 0]
  ------------------
  165|       |        // Allocate buffer for processed result
  166|      0|        char *result = (char *)PyMem_Malloc((tok_mode->last_expr_size - tok_mode->last_expr_end + 1) * sizeof(char));
  167|      0|        if (!result) {
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|            return -1;
  169|      0|        }
  170|       |
  171|      0|        Py_ssize_t i = 0;  // Input position
  172|      0|        Py_ssize_t j = 0;  // Output position
  173|      0|        in_string = 0;     // Whether we're in a string
  174|      0|        quote_char = 0;    // Current string quote char
  175|       |
  176|       |        // Process each character
  177|      0|        while (i < tok_mode->last_expr_size - tok_mode->last_expr_end) {
  ------------------
  |  Branch (177:16): [True: 0, False: 0]
  ------------------
  178|      0|            char ch = tok_mode->last_expr_buffer[i];
  179|       |
  180|       |            // Handle string quotes
  181|      0|            if (ch == '"' || ch == '\'') {
  ------------------
  |  Branch (181:17): [True: 0, False: 0]
  |  Branch (181:30): [True: 0, False: 0]
  ------------------
  182|       |                // See comment above to understand this part
  183|      0|                if (!in_string) {
  ------------------
  |  Branch (183:21): [True: 0, False: 0]
  ------------------
  184|      0|                    in_string = 1;
  185|      0|                    quote_char = ch;
  186|      0|                } else if (ch == quote_char) {
  ------------------
  |  Branch (186:28): [True: 0, False: 0]
  ------------------
  187|      0|                    in_string = 0;
  188|      0|                }
  189|      0|                result[j++] = ch;
  190|      0|            }
  191|       |            // Skip comments
  192|      0|            else if (ch == '#' && !in_string) {
  ------------------
  |  Branch (192:22): [True: 0, False: 0]
  |  Branch (192:35): [True: 0, False: 0]
  ------------------
  193|      0|                while (i < tok_mode->last_expr_size - tok_mode->last_expr_end &&
  ------------------
  |  Branch (193:24): [True: 0, False: 0]
  ------------------
  194|      0|                       tok_mode->last_expr_buffer[i] != '\n') {
  ------------------
  |  Branch (194:24): [True: 0, False: 0]
  ------------------
  195|      0|                    i++;
  196|      0|                }
  197|      0|                if (i < tok_mode->last_expr_size - tok_mode->last_expr_end) {
  ------------------
  |  Branch (197:21): [True: 0, False: 0]
  ------------------
  198|      0|                    result[j++] = '\n';
  199|      0|                }
  200|      0|            }
  201|       |            // Copy other chars
  202|      0|            else {
  203|      0|                result[j++] = ch;
  204|      0|            }
  205|      0|            i++;
  206|      0|        }
  207|       |
  208|      0|        result[j] = '\0';  // Null-terminate the result string
  209|      0|        res = PyUnicode_DecodeUTF8(result, j, NULL);
  210|      0|        PyMem_Free(result);
  211|      0|    } else {
  212|      0|        res = PyUnicode_DecodeUTF8(
  213|      0|            tok_mode->last_expr_buffer,
  214|      0|            tok_mode->last_expr_size - tok_mode->last_expr_end,
  215|      0|            NULL
  216|      0|        );
  217|      0|    }
  218|       |
  219|      0|    if (!res) {
  ------------------
  |  Branch (219:9): [True: 0, False: 0]
  ------------------
  220|      0|        return -1;
  221|      0|    }
  222|      0|    token->metadata = res;
  223|      0|    return 0;
  224|      0|}
lexer.c:tok_get_fstring_mode:
 1394|    432|{
 1395|    432|    const char *p_start = NULL;
 1396|    432|    const char *p_end = NULL;
 1397|    432|    int end_quote_size = 0;
 1398|    432|    int unicode_escape = 0;
 1399|       |
 1400|    432|    tok->start = tok->cur;
 1401|    432|    tok->first_lineno = tok->lineno;
 1402|    432|    tok->starting_col_offset = tok->col_offset;
 1403|       |
 1404|       |    // If we start with a bracket, we defer to the normal mode as there is nothing for us to tokenize
 1405|       |    // before it.
 1406|    432|    int start_char = tok_nextc(tok);
 1407|    432|    if (start_char == '{') {
  ------------------
  |  Branch (1407:9): [True: 46, False: 386]
  ------------------
 1408|     46|        int peek1 = tok_nextc(tok);
 1409|     46|        tok_backup(tok, peek1);
 1410|     46|        tok_backup(tok, start_char);
 1411|     46|        if (peek1 != '{') {
  ------------------
  |  Branch (1411:13): [True: 46, False: 0]
  ------------------
 1412|     46|            current_tok->curly_bracket_expr_start_depth++;
 1413|     46|            if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|     46|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (1413:17): [True: 0, False: 46]
  ------------------
 1414|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1415|      0|                    "%c-string: expressions nested too deeply", TOK_GET_STRING_PREFIX(tok)));
 1416|      0|            }
 1417|     46|            TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|     46|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1418|     46|            return tok_get_normal_mode(tok, current_tok, token);
 1419|     46|        }
 1420|     46|    }
 1421|    386|    else {
 1422|    386|        tok_backup(tok, start_char);
 1423|    386|    }
 1424|       |
 1425|       |    // Check if we are at the end of the string
 1426|    480|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (1426:21): [True: 386, False: 94]
  ------------------
 1427|    386|        int quote = tok_nextc(tok);
 1428|    386|        if (quote != current_tok->quote) {
  ------------------
  |  Branch (1428:13): [True: 292, False: 94]
  ------------------
 1429|    292|            tok_backup(tok, quote);
 1430|    292|            goto f_string_middle;
 1431|    292|        }
 1432|    386|    }
 1433|       |
 1434|     94|    if (current_tok->last_expr_buffer != NULL) {
  ------------------
  |  Branch (1434:9): [True: 94, False: 0]
  ------------------
 1435|     94|        PyMem_Free(current_tok->last_expr_buffer);
 1436|     94|        current_tok->last_expr_buffer = NULL;
 1437|     94|        current_tok->last_expr_size = 0;
 1438|     94|        current_tok->last_expr_end = -1;
 1439|     94|    }
 1440|       |
 1441|     94|    p_start = tok->start;
 1442|     94|    p_end = tok->cur;
 1443|     94|    tok->tok_mode_stack_index--;
 1444|     94|    return MAKE_TOKEN(FTSTRING_END(current_tok));
  ------------------
  |  |   44|    188|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 94]
  |  |  ------------------
  ------------------
 1445|       |
 1446|    292|f_string_middle:
 1447|       |
 1448|       |    // TODO: This is a bit of a hack, but it works for now. We need to find a better way to handle
 1449|       |    // this.
 1450|    292|    tok->multi_line_start = tok->line_start;
 1451|  3.75k|    while (end_quote_size != current_tok->quote_size) {
  ------------------
  |  Branch (1451:12): [True: 3.71k, False: 46]
  ------------------
 1452|  3.71k|        int c = tok_nextc(tok);
 1453|  3.71k|        if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   29|  7.42k|#define E_ERROR          17      /* Execution error */
  ------------------
                      if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   34|  3.71k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (1453:13): [True: 0, False: 3.71k]
  |  Branch (1453:37): [True: 0, False: 3.71k]
  ------------------
 1454|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1455|      0|        }
 1456|  3.71k|        int in_format_spec = (
 1457|  3.71k|                current_tok->in_format_spec
  ------------------
  |  Branch (1457:17): [True: 0, False: 3.71k]
  ------------------
 1458|      0|                &&
 1459|      0|                INSIDE_FSTRING_EXPR(current_tok)
  ------------------
  |  |   11|      0|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1460|  3.71k|        );
 1461|       |
 1462|  3.71k|       if (c == EOF || (current_tok->quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (1462:12): [True: 0, False: 3.71k]
  |  Branch (1462:25): [True: 3.71k, False: 0]
  |  Branch (1462:57): [True: 0, False: 3.71k]
  ------------------
 1463|      0|            if (tok->decoding_erred) {
  ------------------
  |  Branch (1463:17): [True: 0, False: 0]
  ------------------
 1464|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1465|      0|            }
 1466|       |
 1467|       |            // If we are in a format spec and we found a newline,
 1468|       |            // it means that the format spec ends here and we should
 1469|       |            // return to the regular mode.
 1470|      0|            if (in_format_spec && c == '\n') {
  ------------------
  |  Branch (1470:17): [True: 0, False: 0]
  |  Branch (1470:35): [True: 0, False: 0]
  ------------------
 1471|      0|                if (current_tok->quote_size == 1) {
  ------------------
  |  Branch (1471:21): [True: 0, False: 0]
  ------------------
 1472|      0|                    return MAKE_TOKEN(
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1473|      0|                        _PyTokenizer_syntaxerror(
 1474|      0|                            tok,
 1475|      0|                            "%c-string: newlines are not allowed in format specifiers for single quoted %c-strings",
 1476|      0|                            TOK_GET_STRING_PREFIX(tok), TOK_GET_STRING_PREFIX(tok)
 1477|      0|                        )
 1478|      0|                    );
 1479|      0|                }
 1480|      0|                tok_backup(tok, c);
 1481|      0|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1482|      0|                current_tok->in_format_spec = 0;
 1483|      0|                p_start = tok->start;
 1484|      0|                p_end = tok->cur;
 1485|      0|                return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1486|      0|            }
 1487|       |
 1488|      0|            assert(tok->multi_line_start != NULL);
 1489|       |            // shift the tok_state's location into
 1490|       |            // the start of string, and report the error
 1491|       |            // from the initial quote character
 1492|      0|            tok->cur = (char *)current_tok->start;
 1493|      0|            tok->cur++;
 1494|      0|            tok->line_start = current_tok->multi_line_start;
 1495|      0|            int start = tok->lineno;
 1496|       |
 1497|      0|            tokenizer_mode *the_current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   37|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1498|      0|            tok->lineno = the_current_tok->first_line;
 1499|       |
 1500|      0|            if (current_tok->quote_size == 3) {
  ------------------
  |  Branch (1500:17): [True: 0, False: 0]
  ------------------
 1501|      0|                _PyTokenizer_syntaxerror(tok,
 1502|      0|                                    "unterminated triple-quoted %c-string literal"
 1503|      0|                                    " (detected at line %d)",
 1504|      0|                                    TOK_GET_STRING_PREFIX(tok), start);
  ------------------
  |  |   43|      0|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  ------------------
  |  |  |  |   37|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  |  |  ------------------
  |  |  |  Branch (43:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1505|      0|                if (c != '\n') {
  ------------------
  |  Branch (1505:21): [True: 0, False: 0]
  ------------------
 1506|      0|                    tok->done = E_EOFS;
  ------------------
  |  |   35|      0|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
 1507|      0|                }
 1508|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1509|      0|            }
 1510|      0|            else {
 1511|      0|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1512|      0|                                    "unterminated %c-string literal (detected at"
 1513|      0|                                    " line %d)", TOK_GET_STRING_PREFIX(tok), start));
 1514|      0|            }
 1515|      0|        }
 1516|       |
 1517|  3.71k|        if (c == current_tok->quote) {
  ------------------
  |  Branch (1517:13): [True: 46, False: 3.66k]
  ------------------
 1518|     46|            end_quote_size += 1;
 1519|     46|            continue;
 1520|  3.66k|        } else {
 1521|  3.66k|            end_quote_size = 0;
 1522|  3.66k|        }
 1523|       |
 1524|  3.66k|        if (c == '{') {
  ------------------
  |  Branch (1524:13): [True: 246, False: 3.42k]
  ------------------
 1525|    246|            if (!_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (1525:17): [True: 0, False: 246]
  ------------------
 1526|      0|                return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1527|      0|            }
 1528|    246|            int peek = tok_nextc(tok);
 1529|    246|            if (peek != '{' || in_format_spec) {
  ------------------
  |  Branch (1529:17): [True: 246, False: 0]
  |  Branch (1529:32): [True: 0, False: 0]
  ------------------
 1530|    246|                tok_backup(tok, peek);
 1531|    246|                tok_backup(tok, c);
 1532|    246|                current_tok->curly_bracket_expr_start_depth++;
 1533|    246|                if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|    246|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (1533:21): [True: 0, False: 246]
  ------------------
 1534|      0|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1535|      0|                        "%c-string: expressions nested too deeply", TOK_GET_STRING_PREFIX(tok)));
 1536|      0|                }
 1537|    246|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|    246|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1538|    246|                current_tok->in_format_spec = 0;
 1539|    246|                p_start = tok->start;
 1540|    246|                p_end = tok->cur;
 1541|    246|            } else {
 1542|      0|                p_start = tok->start;
 1543|      0|                p_end = tok->cur - 1;
 1544|      0|            }
 1545|    246|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|    492|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 246]
  |  |  ------------------
  ------------------
 1546|  3.42k|        } else if (c == '}') {
  ------------------
  |  Branch (1546:20): [True: 0, False: 3.42k]
  ------------------
 1547|      0|            if (unicode_escape) {
  ------------------
  |  Branch (1547:17): [True: 0, False: 0]
  ------------------
 1548|      0|                p_start = tok->start;
 1549|      0|                p_end = tok->cur;
 1550|      0|                return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1551|      0|            }
 1552|      0|            int peek = tok_nextc(tok);
 1553|       |
 1554|       |            // The tokenizer can only be in the format spec if we have already completed the expression
 1555|       |            // scanning (indicated by the end of the expression being set) and we are not at the top level
 1556|       |            // of the bracket stack (-1 is the top level). Since format specifiers can't legally use double
 1557|       |            // brackets, we can bypass it here.
 1558|      0|            int cursor = current_tok->curly_bracket_depth;
 1559|      0|            if (peek == '}' && !in_format_spec && cursor == 0) {
  ------------------
  |  Branch (1559:17): [True: 0, False: 0]
  |  Branch (1559:32): [True: 0, False: 0]
  |  Branch (1559:51): [True: 0, False: 0]
  ------------------
 1560|      0|                p_start = tok->start;
 1561|      0|                p_end = tok->cur - 1;
 1562|      0|            } else {
 1563|      0|                tok_backup(tok, peek);
 1564|      0|                tok_backup(tok, c);
 1565|      0|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|      0|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1566|      0|                current_tok->in_format_spec = 0;
 1567|      0|                p_start = tok->start;
 1568|      0|                p_end = tok->cur;
 1569|      0|            }
 1570|      0|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1571|  3.42k|        } else if (c == '\\') {
  ------------------
  |  Branch (1571:20): [True: 0, False: 3.42k]
  ------------------
 1572|      0|            int peek = tok_nextc(tok);
 1573|      0|            if (peek == '\r') {
  ------------------
  |  Branch (1573:17): [True: 0, False: 0]
  ------------------
 1574|      0|                peek = tok_nextc(tok);
 1575|      0|            }
 1576|       |            // Special case when the backslash is right before a curly
 1577|       |            // brace. We have to restore and return the control back
 1578|       |            // to the loop for the next iteration.
 1579|      0|            if (peek == '{' || peek == '}') {
  ------------------
  |  Branch (1579:17): [True: 0, False: 0]
  |  Branch (1579:32): [True: 0, False: 0]
  ------------------
 1580|      0|                if (!current_tok->raw) {
  ------------------
  |  Branch (1580:21): [True: 0, False: 0]
  ------------------
 1581|      0|                    if (_PyTokenizer_warn_invalid_escape_sequence(tok, peek)) {
  ------------------
  |  Branch (1581:25): [True: 0, False: 0]
  ------------------
 1582|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   44|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1583|      0|                    }
 1584|      0|                }
 1585|      0|                tok_backup(tok, peek);
 1586|      0|                continue;
 1587|      0|            }
 1588|       |
 1589|      0|            if (!current_tok->raw) {
  ------------------
  |  Branch (1589:17): [True: 0, False: 0]
  ------------------
 1590|      0|                if (peek == 'N') {
  ------------------
  |  Branch (1590:21): [True: 0, False: 0]
  ------------------
 1591|       |                    /* Handle named unicode escapes (\N{BULLET}) */
 1592|      0|                    peek = tok_nextc(tok);
 1593|      0|                    if (peek == '{') {
  ------------------
  |  Branch (1593:25): [True: 0, False: 0]
  ------------------
 1594|      0|                        unicode_escape = 1;
 1595|      0|                    } else {
 1596|      0|                        tok_backup(tok, peek);
 1597|      0|                    }
 1598|      0|                }
 1599|      0|            } /* else {
 1600|       |                skip the escaped character
 1601|       |            }*/
 1602|      0|        }
 1603|  3.66k|    }
 1604|       |
 1605|       |    // Backup the f-string quotes to emit a final FSTRING_MIDDLE and
 1606|       |    // add the quotes to the FSTRING_END in the next tokenizer iteration.
 1607|     92|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (1607:21): [True: 46, False: 46]
  ------------------
 1608|     46|        tok_backup(tok, current_tok->quote);
 1609|     46|    }
 1610|     46|    p_start = tok->start;
 1611|     46|    p_end = tok->cur;
 1612|     46|    return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|     92|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 46]
  |  |  ------------------
  ------------------
 1613|    292|}

_PyTokenizer_tok_new:
   14|  54.4k|{
   15|  54.4k|    struct tok_state *tok = (struct tok_state *)PyMem_Calloc(
   16|  54.4k|                                            1,
   17|  54.4k|                                            sizeof(struct tok_state));
   18|  54.4k|    if (tok == NULL) {
  ------------------
  |  Branch (18:9): [True: 0, False: 54.4k]
  ------------------
   19|      0|        PyErr_NoMemory();
   20|      0|        return NULL;
   21|      0|    }
   22|       |
   23|  54.4k|    tok->buf = tok->cur = tok->inp = NULL;
   24|  54.4k|    tok->fp_interactive = 0;
   25|  54.4k|    tok->interactive_src_start = NULL;
   26|  54.4k|    tok->interactive_src_end = NULL;
   27|  54.4k|    tok->start = NULL;
   28|  54.4k|    tok->end = NULL;
   29|  54.4k|    tok->done = E_OK;
  ------------------
  |  |   22|  54.4k|#define E_OK             10      /* No error */
  ------------------
   30|  54.4k|    tok->fp = NULL;
   31|  54.4k|    tok->input = NULL;
   32|  54.4k|    tok->tabsize = TABSIZE;
  ------------------
  |  |    9|  54.4k|#define TABSIZE 8
  ------------------
   33|  54.4k|    tok->indent = 0;
   34|  54.4k|    tok->indstack[0] = 0;
   35|  54.4k|    tok->atbol = 1;
   36|  54.4k|    tok->pendin = 0;
   37|  54.4k|    tok->prompt = tok->nextprompt = NULL;
   38|  54.4k|    tok->lineno = 0;
   39|  54.4k|    tok->starting_col_offset = -1;
   40|  54.4k|    tok->col_offset = -1;
   41|  54.4k|    tok->level = 0;
   42|  54.4k|    tok->altindstack[0] = 0;
   43|  54.4k|    tok->decoding_state = STATE_INIT;
   44|  54.4k|    tok->decoding_erred = 0;
   45|  54.4k|    tok->enc = NULL;
   46|  54.4k|    tok->encoding = NULL;
   47|  54.4k|    tok->cont_line = 0;
   48|  54.4k|    tok->filename = NULL;
   49|  54.4k|    tok->module = NULL;
   50|  54.4k|    tok->decoding_readline = NULL;
   51|  54.4k|    tok->decoding_buffer = NULL;
   52|  54.4k|    tok->readline = NULL;
   53|  54.4k|    tok->type_comments = 0;
   54|  54.4k|    tok->interactive_underflow = IUNDERFLOW_NORMAL;
   55|  54.4k|    tok->underflow = NULL;
   56|  54.4k|    tok->str = NULL;
   57|  54.4k|    tok->report_warnings = 1;
   58|  54.4k|    tok->tok_extra_tokens = 0;
   59|  54.4k|    tok->comment_newline = 0;
   60|  54.4k|    tok->implicit_newline = 0;
   61|  54.4k|    tok->tok_mode_stack[0] = (tokenizer_mode){.kind =TOK_REGULAR_MODE, .quote='\0', .quote_size = 0, .in_debug=0};
   62|  54.4k|    tok->tok_mode_stack_index = 0;
   63|       |#ifdef Py_DEBUG
   64|       |    tok->debug = _Py_GetConfig()->parser_debug;
   65|       |#endif
   66|  54.4k|    return tok;
   67|  54.4k|}
_PyTokenizer_Free:
   90|  54.4k|{
   91|  54.4k|    if (tok->encoding != NULL) {
  ------------------
  |  Branch (91:9): [True: 54.4k, False: 14]
  ------------------
   92|  54.4k|        PyMem_Free(tok->encoding);
   93|  54.4k|    }
   94|  54.4k|    Py_XDECREF(tok->decoding_readline);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  54.4k|    Py_XDECREF(tok->decoding_buffer);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  54.4k|    Py_XDECREF(tok->readline);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|  54.4k|    Py_XDECREF(tok->filename);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  54.4k|    Py_XDECREF(tok->module);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|  54.4k|    if ((tok->readline != NULL || tok->fp != NULL ) && tok->buf != NULL) {
  ------------------
  |  Branch (99:10): [True: 10, False: 54.4k]
  |  Branch (99:35): [True: 0, False: 54.4k]
  |  Branch (99:56): [True: 10, False: 0]
  ------------------
  100|     10|        PyMem_Free(tok->buf);
  101|     10|    }
  102|  54.4k|    if (tok->input) {
  ------------------
  |  Branch (102:9): [True: 54.4k, False: 10]
  ------------------
  103|  54.4k|        PyMem_Free(tok->input);
  104|  54.4k|    }
  105|  54.4k|    if (tok->interactive_src_start != NULL) {
  ------------------
  |  Branch (105:9): [True: 0, False: 54.4k]
  ------------------
  106|      0|        PyMem_Free(tok->interactive_src_start);
  107|      0|    }
  108|  54.4k|    free_fstring_expressions(tok);
  109|  54.4k|    PyMem_Free(tok);
  110|  54.4k|}
_PyToken_Free:
  113|  55.2k|_PyToken_Free(struct token *token) {
  114|  55.2k|    Py_XDECREF(token->metadata);
  ------------------
  |  |  524|  55.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|  55.2k|}
_PyToken_Init:
  118|   294k|_PyToken_Init(struct token *token) {
  119|       |    token->metadata = NULL;
  120|   294k|}
_PyLexer_token_setup:
  137|   457k|{
  138|   457k|    assert((start == NULL && end == NULL) || (start != NULL && end != NULL));
  139|   457k|    token->level = tok->level;
  140|   457k|    if (ISSTRINGLIT(type)) {
  ------------------
  |  |   96|   457k|#define ISSTRINGLIT(x)          ((x) == STRING           || \
  |  |  ------------------
  |  |  |  |   19|   914k|#define STRING          3
  |  |  ------------------
  |  |  |  Branch (96:34): [True: 406, False: 457k]
  |  |  ------------------
  |  |   97|   457k|                                 (x) == FSTRING_MIDDLE   || \
  |  |  ------------------
  |  |  |  |   76|   914k|#define FSTRING_MIDDLE  60
  |  |  ------------------
  |  |  |  Branch (97:34): [True: 292, False: 456k]
  |  |  ------------------
  |  |   98|   457k|                                 (x) == TSTRING_MIDDLE)
  |  |  ------------------
  |  |  |  |   79|   456k|#define TSTRING_MIDDLE  63
  |  |  ------------------
  |  |  |  Branch (98:34): [True: 0, False: 456k]
  |  |  ------------------
  ------------------
  141|    698|        token->lineno = tok->first_lineno;
  142|    698|    }
  143|   456k|    else {
  144|   456k|        token->lineno = tok->lineno;
  145|   456k|    }
  146|   457k|    token->end_lineno = tok->lineno;
  147|   457k|    token->col_offset = token->end_col_offset = -1;
  148|   457k|    token->start = start;
  149|   457k|    token->end = end;
  150|       |
  151|   457k|    if (start != NULL && end != NULL) {
  ------------------
  |  Branch (151:9): [True: 401k, False: 55.6k]
  |  Branch (151:26): [True: 401k, False: 0]
  ------------------
  152|   401k|        token->col_offset = tok->starting_col_offset;
  153|   401k|        token->end_col_offset = tok->col_offset;
  154|   401k|    }
  155|   457k|    return type;
  156|   457k|}
state.c:free_fstring_expressions:
   71|  54.4k|{
   72|  54.4k|    int index;
   73|  54.4k|    tokenizer_mode *mode;
   74|       |
   75|   108k|    for (index = tok->tok_mode_stack_index; index >= 0; --index) {
  ------------------
  |  Branch (75:45): [True: 54.4k, False: 54.4k]
  ------------------
   76|  54.4k|        mode = &(tok->tok_mode_stack[index]);
   77|  54.4k|        if (mode->last_expr_buffer != NULL) {
  ------------------
  |  Branch (77:13): [True: 0, False: 54.4k]
  ------------------
   78|      0|            PyMem_Free(mode->last_expr_buffer);
   79|       |            mode->last_expr_buffer = NULL;
   80|      0|            mode->last_expr_size = 0;
   81|      0|            mode->last_expr_end = -1;
   82|      0|            mode->in_format_spec = 0;
   83|      0|        }
   84|  54.4k|    }
   85|  54.4k|}

_PyPegen_parse:
39413|   108k|{
39414|       |    // Initialize keywords
39415|   108k|    p->keywords = reserved_keywords;
39416|   108k|    p->n_keyword_lists = n_keyword_lists;
39417|   108k|    p->soft_keywords = soft_keywords;
39418|       |
39419|       |    // Run parser
39420|   108k|    void *result = NULL;
39421|   108k|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|   108k|#define Py_file_input 257
  ------------------
  |  Branch (39421:9): [True: 108k, False: 78]
  ------------------
39422|   108k|        result = file_rule(p);
39423|   108k|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|     78|#define Py_single_input 256
  ------------------
  |  Branch (39423:16): [True: 0, False: 78]
  ------------------
39424|      0|        result = interactive_rule(p);
39425|     78|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|     78|#define Py_eval_input 258
  ------------------
  |  Branch (39425:16): [True: 78, False: 0]
  ------------------
39426|     78|        result = eval_rule(p);
39427|     78|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (39427:16): [True: 0, False: 0]
  ------------------
39428|      0|        result = func_type_rule(p);
39429|      0|    }
39430|       |
39431|   108k|    return result;
39432|   108k|}
parser.c:file_rule:
 1007|   108k|{
 1008|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1008:9): [True: 0, False: 108k]
  |  Branch (1008:35): [True: 0, False: 108k]
  ------------------
 1009|      0|        _Pypegen_stack_overflow(p);
 1010|      0|    }
 1011|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 108k]
  ------------------
 1012|      0|        p->level--;
 1013|      0|        return NULL;
 1014|      0|    }
 1015|   108k|    mod_ty _res = NULL;
 1016|   108k|    int _mark = p->mark;
 1017|   108k|    { // statements? $
 1018|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (1018:13): [True: 0, False: 108k]
  ------------------
 1019|      0|            p->level--;
 1020|      0|            return NULL;
 1021|      0|        }
 1022|   108k|        D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1023|   108k|        void *a;
 1024|   108k|        Token * endmarker_var;
 1025|   108k|        if (
 1026|   108k|            (a = statements_rule(p), !p->error_indicator)  // statements?
  ------------------
  |  Branch (1026:13): [True: 108k, False: 0]
  ------------------
 1027|   108k|            &&
 1028|   108k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|   108k|#define ENDMARKER       0
  ------------------
  |  Branch (1028:13): [True: 147, False: 108k]
  ------------------
 1029|   108k|        )
 1030|    147|        {
 1031|    147|            D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1032|    147|            _res = _PyPegen_make_module ( p , a );
 1033|    147|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1033:18): [True: 0, False: 147]
  |  Branch (1033:34): [True: 0, False: 147]
  |  Branch (1033:57): [True: 0, False: 0]
  ------------------
 1034|      0|                p->error_indicator = 1;
 1035|      0|                p->level--;
 1036|      0|                return NULL;
 1037|      0|            }
 1038|    147|            goto done;
 1039|    147|        }
 1040|   108k|        p->mark = _mark;
 1041|   108k|        D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ',
 1042|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statements? $"));
 1043|   108k|    }
 1044|   108k|    _res = NULL;
 1045|   108k|  done:
 1046|   108k|    p->level--;
 1047|   108k|    return _res;
 1048|   108k|}
parser.c:statements_rule:
 1206|   109k|{
 1207|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   218k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1207:9): [True: 0, False: 109k]
  |  Branch (1207:35): [True: 0, False: 109k]
  ------------------
 1208|      0|        _Pypegen_stack_overflow(p);
 1209|      0|    }
 1210|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 109k]
  ------------------
 1211|      0|        p->level--;
 1212|      0|        return NULL;
 1213|      0|    }
 1214|   109k|    asdl_stmt_seq* _res = NULL;
 1215|   109k|    int _mark = p->mark;
 1216|   109k|    { // statement+
 1217|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1217:13): [True: 0, False: 109k]
  ------------------
 1218|      0|            p->level--;
 1219|      0|            return NULL;
 1220|      0|        }
 1221|   109k|        D(fprintf(stderr, "%*c> statements[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement+"));
 1222|   109k|        asdl_seq * a;
 1223|   109k|        if (
 1224|   109k|            (a = _loop1_2_rule(p))  // statement+
  ------------------
  |  Branch (1224:13): [True: 773, False: 108k]
  ------------------
 1225|   109k|        )
 1226|    773|        {
 1227|    773|            D(fprintf(stderr, "%*c+ statements[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement+"));
 1228|    773|            _res = ( asdl_stmt_seq* ) _PyPegen_seq_flatten ( p , a );
 1229|    773|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1229:18): [True: 0, False: 773]
  |  Branch (1229:34): [True: 0, False: 773]
  |  Branch (1229:57): [True: 0, False: 0]
  ------------------
 1230|      0|                p->error_indicator = 1;
 1231|      0|                p->level--;
 1232|      0|                return NULL;
 1233|      0|            }
 1234|    773|            goto done;
 1235|    773|        }
 1236|   108k|        p->mark = _mark;
 1237|   108k|        D(fprintf(stderr, "%*c%s statements[%d-%d]: %s failed!\n", p->level, ' ',
 1238|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement+"));
 1239|   108k|    }
 1240|   108k|    _res = NULL;
 1241|   109k|  done:
 1242|   109k|    p->level--;
 1243|   109k|    return _res;
 1244|   108k|}
parser.c:_loop1_2_rule:
28507|   109k|{
28508|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   218k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28508:9): [True: 0, False: 109k]
  |  Branch (28508:35): [True: 0, False: 109k]
  ------------------
28509|      0|        _Pypegen_stack_overflow(p);
28510|      0|    }
28511|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (28511:9): [True: 0, False: 109k]
  ------------------
28512|      0|        p->level--;
28513|      0|        return NULL;
28514|      0|    }
28515|   109k|    void *_res = NULL;
28516|   109k|    int _mark = p->mark;
28517|   109k|    void **_children = PyMem_Malloc(sizeof(void *));
28518|   109k|    if (!_children) {
  ------------------
  |  Branch (28518:9): [True: 0, False: 109k]
  ------------------
28519|      0|        p->error_indicator = 1;
28520|      0|        PyErr_NoMemory();
28521|      0|        p->level--;
28522|      0|        return NULL;
28523|      0|    }
28524|   109k|    Py_ssize_t _children_capacity = 1;
28525|   109k|    Py_ssize_t _n = 0;
28526|   109k|    { // statement
28527|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (28527:13): [True: 0, False: 109k]
  ------------------
28528|      0|            p->level--;
28529|      0|            return NULL;
28530|      0|        }
28531|   109k|        D(fprintf(stderr, "%*c> _loop1_2[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement"));
28532|   109k|        asdl_stmt_seq* statement_var;
28533|   109k|        while (
28534|   110k|            (statement_var = statement_rule(p))  // statement
  ------------------
  |  Branch (28534:13): [True: 1.57k, False: 109k]
  ------------------
28535|   109k|        )
28536|  1.57k|        {
28537|  1.57k|            _res = statement_var;
28538|  1.57k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28538:17): [True: 586, False: 989]
  ------------------
28539|    586|                _children_capacity *= 2;
28540|    586|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28541|    586|                if (!_new_children) {
  ------------------
  |  Branch (28541:21): [True: 0, False: 586]
  ------------------
28542|      0|                    PyMem_Free(_children);
28543|      0|                    p->error_indicator = 1;
28544|      0|                    PyErr_NoMemory();
28545|      0|                    p->level--;
28546|      0|                    return NULL;
28547|      0|                }
28548|    586|                _children = _new_children;
28549|    586|            }
28550|  1.57k|            _children[_n++] = _res;
28551|  1.57k|            _mark = p->mark;
28552|  1.57k|        }
28553|   109k|        p->mark = _mark;
28554|   109k|        D(fprintf(stderr, "%*c%s _loop1_2[%d-%d]: %s failed!\n", p->level, ' ',
28555|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement"));
28556|   109k|    }
28557|   109k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (28557:9): [True: 108k, False: 773]
  |  Branch (28557:20): [True: 0, False: 773]
  ------------------
28558|   108k|        PyMem_Free(_children);
28559|   108k|        p->level--;
28560|   108k|        return NULL;
28561|   108k|    }
28562|    773|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28563|    773|    if (!_seq) {
  ------------------
  |  Branch (28563:9): [True: 0, False: 773]
  ------------------
28564|      0|        PyMem_Free(_children);
28565|      0|        p->error_indicator = 1;
28566|      0|        PyErr_NoMemory();
28567|      0|        p->level--;
28568|      0|        return NULL;
28569|      0|    }
28570|  2.34k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.57k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28570:28): [True: 1.57k, False: 773]
  ------------------
28571|    773|    PyMem_Free(_children);
28572|    773|    p->level--;
28573|    773|    return _seq;
28574|    773|}
parser.c:statement_rule:
 1249|   110k|{
 1250|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   221k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1250:9): [True: 0, False: 110k]
  |  Branch (1250:35): [True: 0, False: 110k]
  ------------------
 1251|      0|        _Pypegen_stack_overflow(p);
 1252|      0|    }
 1253|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (1253:9): [True: 0, False: 110k]
  ------------------
 1254|      0|        p->level--;
 1255|      0|        return NULL;
 1256|      0|    }
 1257|   110k|    asdl_stmt_seq* _res = NULL;
 1258|   110k|    int _mark = p->mark;
 1259|   110k|    { // compound_stmt
 1260|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1260:13): [True: 0, False: 110k]
  ------------------
 1261|      0|            p->level--;
 1262|      0|            return NULL;
 1263|      0|        }
 1264|   110k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1265|   110k|        stmt_ty a;
 1266|   110k|        if (
 1267|   110k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1267:13): [True: 618, False: 110k]
  ------------------
 1268|   110k|        )
 1269|    618|        {
 1270|    618|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1271|    618|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1272|    618|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1272:18): [True: 0, False: 618]
  |  Branch (1272:34): [True: 0, False: 618]
  |  Branch (1272:57): [True: 0, False: 0]
  ------------------
 1273|      0|                p->error_indicator = 1;
 1274|      0|                p->level--;
 1275|      0|                return NULL;
 1276|      0|            }
 1277|    618|            goto done;
 1278|    618|        }
 1279|   110k|        p->mark = _mark;
 1280|   110k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1281|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1282|   110k|    }
 1283|      0|    { // simple_stmts
 1284|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 110k]
  ------------------
 1285|      0|            p->level--;
 1286|      0|            return NULL;
 1287|      0|        }
 1288|   110k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1289|   110k|        asdl_stmt_seq* a;
 1290|   110k|        if (
 1291|   110k|            (a = (asdl_stmt_seq*)simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1291:13): [True: 957, False: 109k]
  ------------------
 1292|   110k|        )
 1293|    957|        {
 1294|    957|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1295|    957|            _res = a;
 1296|    957|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1296:18): [True: 0, False: 957]
  |  Branch (1296:34): [True: 0, False: 957]
  |  Branch (1296:57): [True: 0, False: 0]
  ------------------
 1297|      0|                p->error_indicator = 1;
 1298|      0|                p->level--;
 1299|      0|                return NULL;
 1300|      0|            }
 1301|    957|            goto done;
 1302|    957|        }
 1303|   109k|        p->mark = _mark;
 1304|   109k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1305|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1306|   109k|    }
 1307|   109k|    _res = NULL;
 1308|   110k|  done:
 1309|   110k|    p->level--;
 1310|   110k|    return _res;
 1311|   109k|}
parser.c:compound_stmt_rule:
 1928|   110k|{
 1929|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   221k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1929:9): [True: 0, False: 110k]
  |  Branch (1929:35): [True: 0, False: 110k]
  ------------------
 1930|      0|        _Pypegen_stack_overflow(p);
 1931|      0|    }
 1932|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 110k]
  ------------------
 1933|      0|        p->level--;
 1934|      0|        return NULL;
 1935|      0|    }
 1936|   110k|    stmt_ty _res = NULL;
 1937|   110k|    int _mark = p->mark;
 1938|   110k|    { // &('def' | '@' | 'async') function_def
 1939|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1939:13): [True: 0, False: 110k]
  ------------------
 1940|      0|            p->level--;
 1941|      0|            return NULL;
 1942|      0|        }
 1943|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1944|   110k|        stmt_ty function_def_var;
 1945|   110k|        if (
 1946|   110k|            _PyPegen_lookahead(1, _tmp_6_rule, p)
  ------------------
  |  Branch (1946:13): [True: 450, False: 110k]
  ------------------
 1947|    450|            &&
 1948|    450|            (function_def_var = function_def_rule(p))  // function_def
  ------------------
  |  Branch (1948:13): [True: 450, False: 0]
  ------------------
 1949|   110k|        )
 1950|    450|        {
 1951|    450|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1952|    450|            _res = function_def_var;
 1953|    450|            goto done;
 1954|    450|        }
 1955|   110k|        p->mark = _mark;
 1956|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1957|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1958|   110k|    }
 1959|      0|    { // &'if' if_stmt
 1960|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1960:13): [True: 0, False: 110k]
  ------------------
 1961|      0|            p->level--;
 1962|      0|            return NULL;
 1963|      0|        }
 1964|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1965|   110k|        stmt_ty if_stmt_var;
 1966|   110k|        if (
 1967|   110k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 698)  // token='if'
  ------------------
  |  Branch (1967:13): [True: 166, False: 110k]
  ------------------
 1968|    166|            &&
 1969|    166|            (if_stmt_var = if_stmt_rule(p))  // if_stmt
  ------------------
  |  Branch (1969:13): [True: 166, False: 0]
  ------------------
 1970|   110k|        )
 1971|    166|        {
 1972|    166|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1973|    166|            _res = if_stmt_var;
 1974|    166|            goto done;
 1975|    166|        }
 1976|   110k|        p->mark = _mark;
 1977|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1978|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'if' if_stmt"));
 1979|   110k|    }
 1980|      0|    { // &('class' | '@') class_def
 1981|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1981:13): [True: 0, False: 110k]
  ------------------
 1982|      0|            p->level--;
 1983|      0|            return NULL;
 1984|      0|        }
 1985|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1986|   110k|        stmt_ty class_def_var;
 1987|   110k|        if (
 1988|   110k|            _PyPegen_lookahead(1, _tmp_7_rule, p)
  ------------------
  |  Branch (1988:13): [True: 0, False: 110k]
  ------------------
 1989|      0|            &&
 1990|      0|            (class_def_var = class_def_rule(p))  // class_def
  ------------------
  |  Branch (1990:13): [True: 0, False: 0]
  ------------------
 1991|   110k|        )
 1992|      0|        {
 1993|      0|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1994|      0|            _res = class_def_var;
 1995|      0|            goto done;
 1996|      0|        }
 1997|   110k|        p->mark = _mark;
 1998|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1999|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('class' | '@') class_def"));
 2000|   110k|    }
 2001|      0|    { // &('with' | 'async') with_stmt
 2002|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2002:13): [True: 0, False: 110k]
  ------------------
 2003|      0|            p->level--;
 2004|      0|            return NULL;
 2005|      0|        }
 2006|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2007|   110k|        stmt_ty with_stmt_var;
 2008|   110k|        if (
 2009|   110k|            _PyPegen_lookahead(1, _tmp_8_rule, p)
  ------------------
  |  Branch (2009:13): [True: 0, False: 110k]
  ------------------
 2010|      0|            &&
 2011|      0|            (with_stmt_var = with_stmt_rule(p))  // with_stmt
  ------------------
  |  Branch (2011:13): [True: 0, False: 0]
  ------------------
 2012|   110k|        )
 2013|      0|        {
 2014|      0|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2015|      0|            _res = with_stmt_var;
 2016|      0|            goto done;
 2017|      0|        }
 2018|   110k|        p->mark = _mark;
 2019|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2020|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('with' | 'async') with_stmt"));
 2021|   110k|    }
 2022|      0|    { // &('for' | 'async') for_stmt
 2023|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2023:13): [True: 0, False: 110k]
  ------------------
 2024|      0|            p->level--;
 2025|      0|            return NULL;
 2026|      0|        }
 2027|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2028|   110k|        stmt_ty for_stmt_var;
 2029|   110k|        if (
 2030|   110k|            _PyPegen_lookahead(1, _tmp_9_rule, p)
  ------------------
  |  Branch (2030:13): [True: 2, False: 110k]
  ------------------
 2031|      2|            &&
 2032|      2|            (for_stmt_var = for_stmt_rule(p))  // for_stmt
  ------------------
  |  Branch (2032:13): [True: 2, False: 0]
  ------------------
 2033|   110k|        )
 2034|      2|        {
 2035|      2|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2036|      2|            _res = for_stmt_var;
 2037|      2|            goto done;
 2038|      2|        }
 2039|   110k|        p->mark = _mark;
 2040|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2041|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('for' | 'async') for_stmt"));
 2042|   110k|    }
 2043|      0|    { // &'try' try_stmt
 2044|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 110k]
  ------------------
 2045|      0|            p->level--;
 2046|      0|            return NULL;
 2047|      0|        }
 2048|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2049|   110k|        stmt_ty try_stmt_var;
 2050|   110k|        if (
 2051|   110k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 672)  // token='try'
  ------------------
  |  Branch (2051:13): [True: 0, False: 110k]
  ------------------
 2052|      0|            &&
 2053|      0|            (try_stmt_var = try_stmt_rule(p))  // try_stmt
  ------------------
  |  Branch (2053:13): [True: 0, False: 0]
  ------------------
 2054|   110k|        )
 2055|      0|        {
 2056|      0|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2057|      0|            _res = try_stmt_var;
 2058|      0|            goto done;
 2059|      0|        }
 2060|   110k|        p->mark = _mark;
 2061|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2062|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'try' try_stmt"));
 2063|   110k|    }
 2064|      0|    { // &'while' while_stmt
 2065|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2065:13): [True: 0, False: 110k]
  ------------------
 2066|      0|            p->level--;
 2067|      0|            return NULL;
 2068|      0|        }
 2069|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2070|   110k|        stmt_ty while_stmt_var;
 2071|   110k|        if (
 2072|   110k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 705)  // token='while'
  ------------------
  |  Branch (2072:13): [True: 0, False: 110k]
  ------------------
 2073|      0|            &&
 2074|      0|            (while_stmt_var = while_stmt_rule(p))  // while_stmt
  ------------------
  |  Branch (2074:13): [True: 0, False: 0]
  ------------------
 2075|   110k|        )
 2076|      0|        {
 2077|      0|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2078|      0|            _res = while_stmt_var;
 2079|      0|            goto done;
 2080|      0|        }
 2081|   110k|        p->mark = _mark;
 2082|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2083|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'while' while_stmt"));
 2084|   110k|    }
 2085|      0|    { // match_stmt
 2086|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2086:13): [True: 0, False: 110k]
  ------------------
 2087|      0|            p->level--;
 2088|      0|            return NULL;
 2089|      0|        }
 2090|   110k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2091|   110k|        stmt_ty match_stmt_var;
 2092|   110k|        if (
 2093|   110k|            (match_stmt_var = match_stmt_rule(p))  // match_stmt
  ------------------
  |  Branch (2093:13): [True: 0, False: 110k]
  ------------------
 2094|   110k|        )
 2095|      0|        {
 2096|      0|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2097|      0|            _res = match_stmt_var;
 2098|      0|            goto done;
 2099|      0|        }
 2100|   110k|        p->mark = _mark;
 2101|   110k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2102|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "match_stmt"));
 2103|   110k|    }
 2104|   110k|    _res = NULL;
 2105|   110k|  done:
 2106|   110k|    p->level--;
 2107|   110k|    return _res;
 2108|   110k|}
parser.c:_tmp_6_rule:
28772|   110k|{
28773|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   221k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28773:9): [True: 0, False: 110k]
  |  Branch (28773:35): [True: 0, False: 110k]
  ------------------
28774|      0|        _Pypegen_stack_overflow(p);
28775|      0|    }
28776|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (28776:9): [True: 0, False: 110k]
  ------------------
28777|      0|        p->level--;
28778|      0|        return NULL;
28779|      0|    }
28780|   110k|    void * _res = NULL;
28781|   110k|    int _mark = p->mark;
28782|   110k|    { // 'def'
28783|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28783:13): [True: 0, False: 110k]
  ------------------
28784|      0|            p->level--;
28785|      0|            return NULL;
28786|      0|        }
28787|   110k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def'"));
28788|   110k|        Token * _keyword;
28789|   110k|        if (
28790|   110k|            (_keyword = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (28790:13): [True: 396, False: 110k]
  ------------------
28791|   110k|        )
28792|    396|        {
28793|    396|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def'"));
28794|    396|            _res = _keyword;
28795|    396|            goto done;
28796|    396|        }
28797|   110k|        p->mark = _mark;
28798|   110k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28799|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def'"));
28800|   110k|    }
28801|      0|    { // '@'
28802|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28802:13): [True: 0, False: 110k]
  ------------------
28803|      0|            p->level--;
28804|      0|            return NULL;
28805|      0|        }
28806|   110k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
28807|   110k|        Token * _literal;
28808|   110k|        if (
28809|   110k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (28809:13): [True: 54, False: 110k]
  ------------------
28810|   110k|        )
28811|     54|        {
28812|     54|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
28813|     54|            _res = _literal;
28814|     54|            goto done;
28815|     54|        }
28816|   110k|        p->mark = _mark;
28817|   110k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28818|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
28819|   110k|    }
28820|      0|    { // 'async'
28821|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28821:13): [True: 0, False: 110k]
  ------------------
28822|      0|            p->level--;
28823|      0|            return NULL;
28824|      0|        }
28825|   110k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28826|   110k|        Token * _keyword;
28827|   110k|        if (
28828|   110k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28828:13): [True: 0, False: 110k]
  ------------------
28829|   110k|        )
28830|      0|        {
28831|      0|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
28832|      0|            _res = _keyword;
28833|      0|            goto done;
28834|      0|        }
28835|   110k|        p->mark = _mark;
28836|   110k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28837|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
28838|   110k|    }
28839|   110k|    _res = NULL;
28840|   110k|  done:
28841|   110k|    p->level--;
28842|   110k|    return _res;
28843|   110k|}
parser.c:function_def_rule:
 4572|    450|{
 4573|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (4573:9): [True: 0, False: 450]
  |  Branch (4573:35): [True: 0, False: 450]
  ------------------
 4574|      0|        _Pypegen_stack_overflow(p);
 4575|      0|    }
 4576|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (4576:9): [True: 0, False: 450]
  ------------------
 4577|      0|        p->level--;
 4578|      0|        return NULL;
 4579|      0|    }
 4580|    450|    stmt_ty _res = NULL;
 4581|    450|    int _mark = p->mark;
 4582|    450|    { // decorators function_def_raw
 4583|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (4583:13): [True: 0, False: 450]
  ------------------
 4584|      0|            p->level--;
 4585|      0|            return NULL;
 4586|      0|        }
 4587|    450|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4588|    450|        asdl_expr_seq* d;
 4589|    450|        stmt_ty f;
 4590|    450|        if (
 4591|    450|            (d = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4591:13): [True: 54, False: 396]
  ------------------
 4592|     54|            &&
 4593|     54|            (f = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4593:13): [True: 54, False: 0]
  ------------------
 4594|    450|        )
 4595|     54|        {
 4596|     54|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4597|     54|            _res = _PyPegen_function_def_decorators ( p , d , f );
 4598|     54|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4598:18): [True: 0, False: 54]
  |  Branch (4598:34): [True: 0, False: 54]
  |  Branch (4598:57): [True: 0, False: 0]
  ------------------
 4599|      0|                p->error_indicator = 1;
 4600|      0|                p->level--;
 4601|      0|                return NULL;
 4602|      0|            }
 4603|     54|            goto done;
 4604|     54|        }
 4605|    396|        p->mark = _mark;
 4606|    396|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4607|    396|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators function_def_raw"));
 4608|    396|    }
 4609|      0|    { // function_def_raw
 4610|    396|        if (p->error_indicator) {
  ------------------
  |  Branch (4610:13): [True: 0, False: 396]
  ------------------
 4611|      0|            p->level--;
 4612|      0|            return NULL;
 4613|      0|        }
 4614|    396|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4615|    396|        stmt_ty function_def_raw_var;
 4616|    396|        if (
 4617|    396|            (function_def_raw_var = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4617:13): [True: 396, False: 0]
  ------------------
 4618|    396|        )
 4619|    396|        {
 4620|    396|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4621|    396|            _res = function_def_raw_var;
 4622|    396|            goto done;
 4623|    396|        }
 4624|      0|        p->mark = _mark;
 4625|      0|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4626|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "function_def_raw"));
 4627|      0|    }
 4628|      0|    _res = NULL;
 4629|    450|  done:
 4630|    450|    p->level--;
 4631|    450|    return _res;
 4632|      0|}
parser.c:decorators_rule:
 4367|    450|{
 4368|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (4368:9): [True: 0, False: 450]
  |  Branch (4368:35): [True: 0, False: 450]
  ------------------
 4369|      0|        _Pypegen_stack_overflow(p);
 4370|      0|    }
 4371|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (4371:9): [True: 0, False: 450]
  ------------------
 4372|      0|        p->level--;
 4373|      0|        return NULL;
 4374|      0|    }
 4375|    450|    asdl_expr_seq* _res = NULL;
 4376|    450|    int _mark = p->mark;
 4377|    450|    { // (('@' named_expression NEWLINE))+
 4378|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (4378:13): [True: 0, False: 450]
  ------------------
 4379|      0|            p->level--;
 4380|      0|            return NULL;
 4381|      0|        }
 4382|    450|        D(fprintf(stderr, "%*c> decorators[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4383|    450|        asdl_expr_seq* a;
 4384|    450|        if (
 4385|    450|            (a = (asdl_expr_seq*)_loop1_24_rule(p))  // (('@' named_expression NEWLINE))+
  ------------------
  |  Branch (4385:13): [True: 54, False: 396]
  ------------------
 4386|    450|        )
 4387|     54|        {
 4388|     54|            D(fprintf(stderr, "%*c+ decorators[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4389|     54|            _res = a;
 4390|     54|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4390:18): [True: 0, False: 54]
  |  Branch (4390:34): [True: 0, False: 54]
  |  Branch (4390:57): [True: 0, False: 0]
  ------------------
 4391|      0|                p->error_indicator = 1;
 4392|      0|                p->level--;
 4393|      0|                return NULL;
 4394|      0|            }
 4395|     54|            goto done;
 4396|     54|        }
 4397|    396|        p->mark = _mark;
 4398|    396|        D(fprintf(stderr, "%*c%s decorators[%d-%d]: %s failed!\n", p->level, ' ',
 4399|    396|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4400|    396|    }
 4401|    396|    _res = NULL;
 4402|    450|  done:
 4403|    450|    p->level--;
 4404|    450|    return _res;
 4405|    396|}
parser.c:_loop1_24_rule:
29844|    450|{
29845|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (29845:9): [True: 0, False: 450]
  |  Branch (29845:35): [True: 0, False: 450]
  ------------------
29846|      0|        _Pypegen_stack_overflow(p);
29847|      0|    }
29848|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (29848:9): [True: 0, False: 450]
  ------------------
29849|      0|        p->level--;
29850|      0|        return NULL;
29851|      0|    }
29852|    450|    void *_res = NULL;
29853|    450|    int _mark = p->mark;
29854|    450|    void **_children = PyMem_Malloc(sizeof(void *));
29855|    450|    if (!_children) {
  ------------------
  |  Branch (29855:9): [True: 0, False: 450]
  ------------------
29856|      0|        p->error_indicator = 1;
29857|      0|        PyErr_NoMemory();
29858|      0|        p->level--;
29859|      0|        return NULL;
29860|      0|    }
29861|    450|    Py_ssize_t _children_capacity = 1;
29862|    450|    Py_ssize_t _n = 0;
29863|    450|    { // ('@' named_expression NEWLINE)
29864|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (29864:13): [True: 0, False: 450]
  ------------------
29865|      0|            p->level--;
29866|      0|            return NULL;
29867|      0|        }
29868|    450|        D(fprintf(stderr, "%*c> _loop1_24[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('@' named_expression NEWLINE)"));
29869|    450|        void *_tmp_161_var;
29870|    450|        while (
29871|    508|            (_tmp_161_var = _tmp_161_rule(p))  // '@' named_expression NEWLINE
  ------------------
  |  Branch (29871:13): [True: 58, False: 450]
  ------------------
29872|    450|        )
29873|     58|        {
29874|     58|            _res = _tmp_161_var;
29875|     58|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29875:17): [True: 4, False: 54]
  ------------------
29876|      4|                _children_capacity *= 2;
29877|      4|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29878|      4|                if (!_new_children) {
  ------------------
  |  Branch (29878:21): [True: 0, False: 4]
  ------------------
29879|      0|                    PyMem_Free(_children);
29880|      0|                    p->error_indicator = 1;
29881|      0|                    PyErr_NoMemory();
29882|      0|                    p->level--;
29883|      0|                    return NULL;
29884|      0|                }
29885|      4|                _children = _new_children;
29886|      4|            }
29887|     58|            _children[_n++] = _res;
29888|     58|            _mark = p->mark;
29889|     58|        }
29890|    450|        p->mark = _mark;
29891|    450|        D(fprintf(stderr, "%*c%s _loop1_24[%d-%d]: %s failed!\n", p->level, ' ',
29892|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('@' named_expression NEWLINE)"));
29893|    450|    }
29894|    450|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29894:9): [True: 396, False: 54]
  |  Branch (29894:20): [True: 0, False: 54]
  ------------------
29895|    396|        PyMem_Free(_children);
29896|    396|        p->level--;
29897|    396|        return NULL;
29898|    396|    }
29899|     54|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29900|     54|    if (!_seq) {
  ------------------
  |  Branch (29900:9): [True: 0, False: 54]
  ------------------
29901|      0|        PyMem_Free(_children);
29902|      0|        p->error_indicator = 1;
29903|      0|        PyErr_NoMemory();
29904|      0|        p->level--;
29905|      0|        return NULL;
29906|      0|    }
29907|    112|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     58|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    112|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29907:28): [True: 58, False: 54]
  ------------------
29908|     54|    PyMem_Free(_children);
29909|     54|    p->level--;
29910|     54|    return _seq;
29911|     54|}
parser.c:_tmp_161_rule:
38393|    508|{
38394|    508|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38394:9): [True: 0, False: 508]
  |  Branch (38394:35): [True: 0, False: 508]
  ------------------
38395|      0|        _Pypegen_stack_overflow(p);
38396|      0|    }
38397|    508|    if (p->error_indicator) {
  ------------------
  |  Branch (38397:9): [True: 0, False: 508]
  ------------------
38398|      0|        p->level--;
38399|      0|        return NULL;
38400|      0|    }
38401|    508|    void * _res = NULL;
38402|    508|    int _mark = p->mark;
38403|    508|    { // '@' named_expression NEWLINE
38404|    508|        if (p->error_indicator) {
  ------------------
  |  Branch (38404:13): [True: 0, False: 508]
  ------------------
38405|      0|            p->level--;
38406|      0|            return NULL;
38407|      0|        }
38408|    508|        D(fprintf(stderr, "%*c> _tmp_161[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38409|    508|        Token * _literal;
38410|    508|        expr_ty f;
38411|    508|        Token * newline_var;
38412|    508|        if (
38413|    508|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (38413:13): [True: 58, False: 450]
  ------------------
38414|     58|            &&
38415|     58|            (f = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (38415:13): [True: 58, False: 0]
  ------------------
38416|     58|            &&
38417|     58|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     58|#define NEWLINE         4
  ------------------
  |  Branch (38417:13): [True: 58, False: 0]
  ------------------
38418|    508|        )
38419|     58|        {
38420|     58|            D(fprintf(stderr, "%*c+ _tmp_161[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38421|     58|            _res = f;
38422|     58|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38422:18): [True: 0, False: 58]
  |  Branch (38422:34): [True: 0, False: 58]
  |  Branch (38422:57): [True: 0, False: 0]
  ------------------
38423|      0|                p->error_indicator = 1;
38424|      0|                p->level--;
38425|      0|                return NULL;
38426|      0|            }
38427|     58|            goto done;
38428|     58|        }
38429|    450|        p->mark = _mark;
38430|    450|        D(fprintf(stderr, "%*c%s _tmp_161[%d-%d]: %s failed!\n", p->level, ' ',
38431|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@' named_expression NEWLINE"));
38432|    450|    }
38433|    450|    _res = NULL;
38434|    508|  done:
38435|    508|    p->level--;
38436|    508|    return _res;
38437|    450|}
parser.c:named_expression_rule:
12398|  56.6k|{
12399|  56.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   113k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12399:9): [True: 0, False: 56.6k]
  |  Branch (12399:35): [True: 0, False: 56.6k]
  ------------------
12400|      0|        _Pypegen_stack_overflow(p);
12401|      0|    }
12402|  56.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (12402:9): [True: 0, False: 56.6k]
  ------------------
12403|      0|        p->level--;
12404|      0|        return NULL;
12405|      0|    }
12406|  56.6k|    expr_ty _res = NULL;
12407|  56.6k|    int _mark = p->mark;
12408|  56.6k|    { // assignment_expression
12409|  56.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12409:13): [True: 0, False: 56.6k]
  ------------------
12410|      0|            p->level--;
12411|      0|            return NULL;
12412|      0|        }
12413|  56.6k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12414|  56.6k|        expr_ty assignment_expression_var;
12415|  56.6k|        if (
12416|  56.6k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (12416:13): [True: 0, False: 56.6k]
  ------------------
12417|  56.6k|        )
12418|      0|        {
12419|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12420|      0|            _res = assignment_expression_var;
12421|      0|            goto done;
12422|      0|        }
12423|  56.6k|        p->mark = _mark;
12424|  56.6k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12425|  56.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12426|  56.6k|    }
12427|  56.6k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12427:9): [True: 54.1k, False: 2.44k]
  ------------------
12428|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12428:13): [True: 0, False: 54.1k]
  ------------------
12429|      0|            p->level--;
12430|      0|            return NULL;
12431|      0|        }
12432|  54.1k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12433|  54.1k|        void *invalid_named_expression_var;
12434|  54.1k|        if (
12435|  54.1k|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  Branch (12435:13): [True: 0, False: 54.1k]
  ------------------
12436|  54.1k|        )
12437|      0|        {
12438|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12439|      0|            _res = invalid_named_expression_var;
12440|      0|            goto done;
12441|      0|        }
12442|  54.1k|        p->mark = _mark;
12443|  54.1k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12444|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12445|  54.1k|    }
12446|  56.6k|    { // expression !':='
12447|  56.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12447:13): [True: 0, False: 56.6k]
  ------------------
12448|      0|            p->level--;
12449|      0|            return NULL;
12450|      0|        }
12451|  56.6k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12452|  56.6k|        expr_ty expression_var;
12453|  56.6k|        if (
12454|  56.6k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12454:13): [True: 2.30k, False: 54.3k]
  ------------------
12455|  2.30k|            &&
12456|  2.30k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12456:13): [True: 2.30k, False: 0]
  ------------------
12457|  56.6k|        )
12458|  2.30k|        {
12459|  2.30k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12460|  2.30k|            _res = expression_var;
12461|  2.30k|            goto done;
12462|  2.30k|        }
12463|  54.3k|        p->mark = _mark;
12464|  54.3k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12465|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12466|  54.3k|    }
12467|  54.3k|    _res = NULL;
12468|  56.6k|  done:
12469|  56.6k|    p->level--;
12470|  56.6k|    return _res;
12471|  54.3k|}
parser.c:assignment_expression_rule:
12324|  59.1k|{
12325|  59.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   118k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12325:9): [True: 0, False: 59.1k]
  |  Branch (12325:35): [True: 0, False: 59.1k]
  ------------------
12326|      0|        _Pypegen_stack_overflow(p);
12327|      0|    }
12328|  59.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (12328:9): [True: 0, False: 59.1k]
  ------------------
12329|      0|        p->level--;
12330|      0|        return NULL;
12331|      0|    }
12332|  59.1k|    expr_ty _res = NULL;
12333|  59.1k|    int _mark = p->mark;
12334|  59.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12334:9): [True: 1.12k, False: 58.0k]
  |  Branch (12334:31): [True: 0, False: 1.12k]
  ------------------
12335|      0|        p->error_indicator = 1;
12336|      0|        p->level--;
12337|      0|        return NULL;
12338|      0|    }
12339|  59.1k|    int _start_lineno = p->tokens[_mark]->lineno;
12340|  59.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  59.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 59.1k]
  |  |  ------------------
  ------------------
12341|  59.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12342|  59.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  59.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 59.1k]
  |  |  ------------------
  ------------------
12343|  59.1k|    { // NAME ':=' ~ expression
12344|  59.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12344:13): [True: 0, False: 59.1k]
  ------------------
12345|      0|            p->level--;
12346|      0|            return NULL;
12347|      0|        }
12348|  59.1k|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12349|  59.1k|        int _cut_var = 0;
12350|  59.1k|        Token * _literal;
12351|  59.1k|        expr_ty a;
12352|  59.1k|        expr_ty b;
12353|  59.1k|        if (
12354|  59.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12354:13): [True: 3.54k, False: 55.6k]
  ------------------
12355|  3.54k|            &&
12356|  3.54k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12356:13): [True: 0, False: 3.54k]
  ------------------
12357|      0|            &&
12358|      0|            (_cut_var = 1)
  ------------------
  |  Branch (12358:13): [True: 0, False: 0]
  ------------------
12359|      0|            &&
12360|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (12360:13): [True: 0, False: 0]
  ------------------
12361|  59.1k|        )
12362|      0|        {
12363|      0|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12364|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12365|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12365:17): [True: 0, False: 0]
  ------------------
12366|      0|                p->level--;
12367|      0|                return NULL;
12368|      0|            }
12369|      0|            int _end_lineno = _token->end_lineno;
12370|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12371|      0|            int _end_col_offset = _token->end_col_offset;
12372|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12373|      0|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12374|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12374:18): [True: 0, False: 0]
  |  Branch (12374:34): [True: 0, False: 0]
  |  Branch (12374:57): [True: 0, False: 0]
  ------------------
12375|      0|                p->error_indicator = 1;
12376|      0|                p->level--;
12377|      0|                return NULL;
12378|      0|            }
12379|      0|            goto done;
12380|      0|        }
12381|  59.1k|        p->mark = _mark;
12382|  59.1k|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12383|  59.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12384|  59.1k|        if (_cut_var) {
  ------------------
  |  Branch (12384:13): [True: 0, False: 59.1k]
  ------------------
12385|      0|            p->level--;
12386|      0|            return NULL;
12387|      0|        }
12388|  59.1k|    }
12389|  59.1k|    _res = NULL;
12390|  59.1k|  done:
12391|  59.1k|    p->level--;
12392|  59.1k|    return _res;
12393|  59.1k|}
parser.c:invalid_named_expression_rule:
22036|  54.1k|{
22037|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22037:9): [True: 0, False: 54.1k]
  |  Branch (22037:35): [True: 0, False: 54.1k]
  ------------------
22038|      0|        _Pypegen_stack_overflow(p);
22039|      0|    }
22040|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22040:9): [True: 0, False: 54.1k]
  ------------------
22041|      0|        p->level--;
22042|      0|        return NULL;
22043|      0|    }
22044|  54.1k|    void * _res = NULL;
22045|  54.1k|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |  304|  54.1k|#define invalid_named_expression_type 1215
  ------------------
  |  Branch (22045:9): [True: 0, False: 54.1k]
  ------------------
22046|      0|        p->level--;
22047|      0|        return _res;
22048|      0|    }
22049|  54.1k|    int _mark = p->mark;
22050|  54.1k|    { // expression ':=' expression
22051|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22051:13): [True: 0, False: 54.1k]
  ------------------
22052|      0|            p->level--;
22053|      0|            return NULL;
22054|      0|        }
22055|  54.1k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
22056|  54.1k|        Token * _literal;
22057|  54.1k|        expr_ty a;
22058|  54.1k|        expr_ty expression_var;
22059|  54.1k|        if (
22060|  54.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22060:13): [True: 0, False: 54.1k]
  ------------------
22061|      0|            &&
22062|      0|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (22062:13): [True: 0, False: 0]
  ------------------
22063|      0|            &&
22064|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22064:13): [True: 0, False: 0]
  ------------------
22065|  54.1k|        )
22066|      0|        {
22067|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
22068|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use assignment expressions with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22069|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22069:18): [True: 0, False: 0]
  |  Branch (22069:34): [True: 0, False: 0]
  |  Branch (22069:57): [True: 0, False: 0]
  ------------------
22070|      0|                p->error_indicator = 1;
22071|      0|                p->level--;
22072|      0|                return NULL;
22073|      0|            }
22074|      0|            goto done;
22075|      0|        }
22076|  54.1k|        p->mark = _mark;
22077|  54.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22078|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
22079|  54.1k|    }
22080|      0|    { // NAME '=' bitwise_or !('=' | ':=')
22081|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22081:13): [True: 0, False: 54.1k]
  ------------------
22082|      0|            p->level--;
22083|      0|            return NULL;
22084|      0|        }
22085|  54.1k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22086|  54.1k|        Token * _literal;
22087|  54.1k|        expr_ty a;
22088|  54.1k|        expr_ty b;
22089|  54.1k|        if (
22090|  54.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (22090:13): [True: 0, False: 54.1k]
  ------------------
22091|      0|            &&
22092|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22092:13): [True: 0, False: 0]
  ------------------
22093|      0|            &&
22094|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22094:13): [True: 0, False: 0]
  ------------------
22095|      0|            &&
22096|      0|            _PyPegen_lookahead(0, _tmp_119_rule, p)
  ------------------
  |  Branch (22096:13): [True: 0, False: 0]
  ------------------
22097|  54.1k|        )
22098|      0|        {
22099|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22100|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22101|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22101:18): [True: 0, False: 0]
  |  Branch (22101:34): [True: 0, False: 0]
  |  Branch (22101:57): [True: 0, False: 0]
  ------------------
22102|      0|                p->error_indicator = 1;
22103|      0|                p->level--;
22104|      0|                return NULL;
22105|      0|            }
22106|      0|            goto done;
22107|      0|        }
22108|  54.1k|        p->mark = _mark;
22109|  54.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22110|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22111|  54.1k|    }
22112|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
22113|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22113:13): [True: 0, False: 54.1k]
  ------------------
22114|      0|            p->level--;
22115|      0|            return NULL;
22116|      0|        }
22117|  54.1k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22118|  54.1k|        expr_ty a;
22119|  54.1k|        Token * b;
22120|  54.1k|        expr_ty bitwise_or_var;
22121|  54.1k|        if (
22122|  54.1k|            _PyPegen_lookahead(0, _tmp_120_rule, p)
  ------------------
  |  Branch (22122:13): [True: 54.1k, False: 0]
  ------------------
22123|  54.1k|            &&
22124|  54.1k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22124:13): [True: 0, False: 54.1k]
  ------------------
22125|      0|            &&
22126|      0|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22126:13): [True: 0, False: 0]
  ------------------
22127|      0|            &&
22128|      0|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22128:13): [True: 0, False: 0]
  ------------------
22129|      0|            &&
22130|      0|            _PyPegen_lookahead(0, _tmp_119_rule, p)
  ------------------
  |  Branch (22130:13): [True: 0, False: 0]
  ------------------
22131|  54.1k|        )
22132|      0|        {
22133|      0|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22134|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22135|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22135:18): [True: 0, False: 0]
  |  Branch (22135:34): [True: 0, False: 0]
  |  Branch (22135:57): [True: 0, False: 0]
  ------------------
22136|      0|                p->error_indicator = 1;
22137|      0|                p->level--;
22138|      0|                return NULL;
22139|      0|            }
22140|      0|            goto done;
22141|      0|        }
22142|  54.1k|        p->mark = _mark;
22143|  54.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22144|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22145|  54.1k|    }
22146|  54.1k|    _res = NULL;
22147|  54.1k|  done:
22148|  54.1k|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |  304|  54.1k|#define invalid_named_expression_type 1215
  ------------------
22149|  54.1k|    p->level--;
22150|  54.1k|    return _res;
22151|  54.1k|}
parser.c:bitwise_or_rule:
13510|   726k|{
13511|   726k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.45M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13511:9): [True: 0, False: 726k]
  |  Branch (13511:35): [True: 0, False: 726k]
  ------------------
13512|      0|        _Pypegen_stack_overflow(p);
13513|      0|    }
13514|   726k|    expr_ty _res = NULL;
13515|   726k|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  224|   726k|#define bitwise_or_type 1135  // Left-recursive
  ------------------
  |  Branch (13515:9): [True: 503k, False: 222k]
  ------------------
13516|   503k|        p->level--;
13517|   503k|        return _res;
13518|   503k|    }
13519|   222k|    int _mark = p->mark;
13520|   222k|    int _resmark = p->mark;
13521|   227k|    while (1) {
  ------------------
  |  Branch (13521:12): [True: 227k, Folded]
  ------------------
13522|   227k|        int tmpvar_2 = _PyPegen_update_memo(p, _mark, bitwise_or_type, _res);
  ------------------
  |  |  224|   227k|#define bitwise_or_type 1135  // Left-recursive
  ------------------
13523|   227k|        if (tmpvar_2) {
  ------------------
  |  Branch (13523:13): [True: 0, False: 227k]
  ------------------
13524|      0|            p->level--;
13525|      0|            return _res;
13526|      0|        }
13527|   227k|        p->mark = _mark;
13528|   227k|        void *_raw = bitwise_or_raw(p);
13529|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13529:13): [True: 0, False: 227k]
  ------------------
13530|      0|            p->level--;
13531|      0|            return NULL;
13532|      0|        }
13533|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13533:13): [True: 218k, False: 9.13k]
  |  Branch (13533:29): [True: 4.56k, False: 4.57k]
  ------------------
13534|   222k|            break;
13535|  4.57k|        _resmark = p->mark;
13536|  4.57k|        _res = _raw;
13537|  4.57k|    }
13538|   222k|    p->mark = _resmark;
13539|   222k|    p->level--;
13540|   222k|    return _res;
13541|   222k|}
parser.c:bitwise_or_raw:
13544|   227k|{
13545|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13545:9): [True: 0, False: 227k]
  |  Branch (13545:35): [True: 0, False: 227k]
  ------------------
13546|      0|        _Pypegen_stack_overflow(p);
13547|      0|    }
13548|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (13548:9): [True: 0, False: 227k]
  ------------------
13549|      0|        p->level--;
13550|      0|        return NULL;
13551|      0|    }
13552|   227k|    expr_ty _res = NULL;
13553|   227k|    int _mark = p->mark;
13554|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13554:9): [True: 0, False: 227k]
  |  Branch (13554:31): [True: 0, False: 0]
  ------------------
13555|      0|        p->error_indicator = 1;
13556|      0|        p->level--;
13557|      0|        return NULL;
13558|      0|    }
13559|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
13560|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13561|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13562|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13563|   227k|    { // bitwise_or '|' bitwise_xor
13564|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13564:13): [True: 0, False: 227k]
  ------------------
13565|      0|            p->level--;
13566|      0|            return NULL;
13567|      0|        }
13568|   227k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13569|   227k|        Token * _literal;
13570|   227k|        expr_ty a;
13571|   227k|        expr_ty b;
13572|   227k|        if (
13573|   227k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13573:13): [True: 4.57k, False: 222k]
  ------------------
13574|  4.57k|            &&
13575|  4.57k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13575:13): [True: 6, False: 4.56k]
  ------------------
13576|      6|            &&
13577|      6|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13577:13): [True: 6, False: 0]
  ------------------
13578|   227k|        )
13579|      6|        {
13580|      6|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13581|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13582|      6|            if (_token == NULL) {
  ------------------
  |  Branch (13582:17): [True: 0, False: 6]
  ------------------
13583|      0|                p->level--;
13584|      0|                return NULL;
13585|      0|            }
13586|      6|            int _end_lineno = _token->end_lineno;
13587|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
13588|      6|            int _end_col_offset = _token->end_col_offset;
13589|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
13590|      6|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13591|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13591:18): [True: 0, False: 6]
  |  Branch (13591:34): [True: 0, False: 6]
  |  Branch (13591:57): [True: 0, False: 0]
  ------------------
13592|      0|                p->error_indicator = 1;
13593|      0|                p->level--;
13594|      0|                return NULL;
13595|      0|            }
13596|      6|            goto done;
13597|      6|        }
13598|   227k|        p->mark = _mark;
13599|   227k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13600|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13601|   227k|    }
13602|      0|    { // bitwise_xor
13603|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13603:13): [True: 0, False: 227k]
  ------------------
13604|      0|            p->level--;
13605|      0|            return NULL;
13606|      0|        }
13607|   227k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13608|   227k|        expr_ty bitwise_xor_var;
13609|   227k|        if (
13610|   227k|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13610:13): [True: 9.13k, False: 218k]
  ------------------
13611|   227k|        )
13612|  9.13k|        {
13613|  9.13k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13614|  9.13k|            _res = bitwise_xor_var;
13615|  9.13k|            goto done;
13616|  9.13k|        }
13617|   218k|        p->mark = _mark;
13618|   218k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13619|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13620|   218k|    }
13621|   218k|    _res = NULL;
13622|   227k|  done:
13623|   227k|    p->level--;
13624|   227k|    return _res;
13625|   218k|}
parser.c:bitwise_xor_rule:
13632|   454k|{
13633|   454k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   909k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13633:9): [True: 0, False: 454k]
  |  Branch (13633:35): [True: 0, False: 454k]
  ------------------
13634|      0|        _Pypegen_stack_overflow(p);
13635|      0|    }
13636|   454k|    expr_ty _res = NULL;
13637|   454k|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  225|   454k|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
  |  Branch (13637:9): [True: 231k, False: 222k]
  ------------------
13638|   231k|        p->level--;
13639|   231k|        return _res;
13640|   231k|    }
13641|   222k|    int _mark = p->mark;
13642|   222k|    int _resmark = p->mark;
13643|   227k|    while (1) {
  ------------------
  |  Branch (13643:12): [True: 227k, Folded]
  ------------------
13644|   227k|        int tmpvar_3 = _PyPegen_update_memo(p, _mark, bitwise_xor_type, _res);
  ------------------
  |  |  225|   227k|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
13645|   227k|        if (tmpvar_3) {
  ------------------
  |  Branch (13645:13): [True: 0, False: 227k]
  ------------------
13646|      0|            p->level--;
13647|      0|            return _res;
13648|      0|        }
13649|   227k|        p->mark = _mark;
13650|   227k|        void *_raw = bitwise_xor_raw(p);
13651|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13651:13): [True: 0, False: 227k]
  ------------------
13652|      0|            p->level--;
13653|      0|            return NULL;
13654|      0|        }
13655|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13655:13): [True: 218k, False: 9.14k]
  |  Branch (13655:29): [True: 4.57k, False: 4.57k]
  ------------------
13656|   222k|            break;
13657|  4.57k|        _resmark = p->mark;
13658|  4.57k|        _res = _raw;
13659|  4.57k|    }
13660|   222k|    p->mark = _resmark;
13661|   222k|    p->level--;
13662|   222k|    return _res;
13663|   222k|}
parser.c:bitwise_xor_raw:
13666|   227k|{
13667|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13667:9): [True: 0, False: 227k]
  |  Branch (13667:35): [True: 0, False: 227k]
  ------------------
13668|      0|        _Pypegen_stack_overflow(p);
13669|      0|    }
13670|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (13670:9): [True: 0, False: 227k]
  ------------------
13671|      0|        p->level--;
13672|      0|        return NULL;
13673|      0|    }
13674|   227k|    expr_ty _res = NULL;
13675|   227k|    int _mark = p->mark;
13676|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13676:9): [True: 0, False: 227k]
  |  Branch (13676:31): [True: 0, False: 0]
  ------------------
13677|      0|        p->error_indicator = 1;
13678|      0|        p->level--;
13679|      0|        return NULL;
13680|      0|    }
13681|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
13682|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13683|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13684|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13685|   227k|    { // bitwise_xor '^' bitwise_and
13686|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13686:13): [True: 0, False: 227k]
  ------------------
13687|      0|            p->level--;
13688|      0|            return NULL;
13689|      0|        }
13690|   227k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13691|   227k|        Token * _literal;
13692|   227k|        expr_ty a;
13693|   227k|        expr_ty b;
13694|   227k|        if (
13695|   227k|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13695:13): [True: 4.57k, False: 222k]
  ------------------
13696|  4.57k|            &&
13697|  4.57k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13697:13): [True: 0, False: 4.57k]
  ------------------
13698|      0|            &&
13699|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13699:13): [True: 0, False: 0]
  ------------------
13700|   227k|        )
13701|      0|        {
13702|      0|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13703|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13704|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13704:17): [True: 0, False: 0]
  ------------------
13705|      0|                p->level--;
13706|      0|                return NULL;
13707|      0|            }
13708|      0|            int _end_lineno = _token->end_lineno;
13709|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13710|      0|            int _end_col_offset = _token->end_col_offset;
13711|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13712|      0|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13713|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13713:18): [True: 0, False: 0]
  |  Branch (13713:34): [True: 0, False: 0]
  |  Branch (13713:57): [True: 0, False: 0]
  ------------------
13714|      0|                p->error_indicator = 1;
13715|      0|                p->level--;
13716|      0|                return NULL;
13717|      0|            }
13718|      0|            goto done;
13719|      0|        }
13720|   227k|        p->mark = _mark;
13721|   227k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13722|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13723|   227k|    }
13724|      0|    { // bitwise_and
13725|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13725:13): [True: 0, False: 227k]
  ------------------
13726|      0|            p->level--;
13727|      0|            return NULL;
13728|      0|        }
13729|   227k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13730|   227k|        expr_ty bitwise_and_var;
13731|   227k|        if (
13732|   227k|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13732:13): [True: 9.14k, False: 218k]
  ------------------
13733|   227k|        )
13734|  9.14k|        {
13735|  9.14k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13736|  9.14k|            _res = bitwise_and_var;
13737|  9.14k|            goto done;
13738|  9.14k|        }
13739|   218k|        p->mark = _mark;
13740|   218k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13741|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13742|   218k|    }
13743|   218k|    _res = NULL;
13744|   227k|  done:
13745|   227k|    p->level--;
13746|   227k|    return _res;
13747|   218k|}
parser.c:bitwise_and_rule:
13754|   454k|{
13755|   454k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   909k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13755:9): [True: 0, False: 454k]
  |  Branch (13755:35): [True: 0, False: 454k]
  ------------------
13756|      0|        _Pypegen_stack_overflow(p);
13757|      0|    }
13758|   454k|    expr_ty _res = NULL;
13759|   454k|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  226|   454k|#define bitwise_and_type 1137  // Left-recursive
  ------------------
  |  Branch (13759:9): [True: 231k, False: 222k]
  ------------------
13760|   231k|        p->level--;
13761|   231k|        return _res;
13762|   231k|    }
13763|   222k|    int _mark = p->mark;
13764|   222k|    int _resmark = p->mark;
13765|   227k|    while (1) {
  ------------------
  |  Branch (13765:12): [True: 227k, Folded]
  ------------------
13766|   227k|        int tmpvar_4 = _PyPegen_update_memo(p, _mark, bitwise_and_type, _res);
  ------------------
  |  |  226|   227k|#define bitwise_and_type 1137  // Left-recursive
  ------------------
13767|   227k|        if (tmpvar_4) {
  ------------------
  |  Branch (13767:13): [True: 0, False: 227k]
  ------------------
13768|      0|            p->level--;
13769|      0|            return _res;
13770|      0|        }
13771|   227k|        p->mark = _mark;
13772|   227k|        void *_raw = bitwise_and_raw(p);
13773|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13773:13): [True: 0, False: 227k]
  ------------------
13774|      0|            p->level--;
13775|      0|            return NULL;
13776|      0|        }
13777|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13777:13): [True: 218k, False: 9.14k]
  |  Branch (13777:29): [True: 4.57k, False: 4.57k]
  ------------------
13778|   222k|            break;
13779|  4.57k|        _resmark = p->mark;
13780|  4.57k|        _res = _raw;
13781|  4.57k|    }
13782|   222k|    p->mark = _resmark;
13783|   222k|    p->level--;
13784|   222k|    return _res;
13785|   222k|}
parser.c:bitwise_and_raw:
13788|   227k|{
13789|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13789:9): [True: 0, False: 227k]
  |  Branch (13789:35): [True: 0, False: 227k]
  ------------------
13790|      0|        _Pypegen_stack_overflow(p);
13791|      0|    }
13792|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (13792:9): [True: 0, False: 227k]
  ------------------
13793|      0|        p->level--;
13794|      0|        return NULL;
13795|      0|    }
13796|   227k|    expr_ty _res = NULL;
13797|   227k|    int _mark = p->mark;
13798|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13798:9): [True: 0, False: 227k]
  |  Branch (13798:31): [True: 0, False: 0]
  ------------------
13799|      0|        p->error_indicator = 1;
13800|      0|        p->level--;
13801|      0|        return NULL;
13802|      0|    }
13803|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
13804|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13805|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13806|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13807|   227k|    { // bitwise_and '&' shift_expr
13808|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13808:13): [True: 0, False: 227k]
  ------------------
13809|      0|            p->level--;
13810|      0|            return NULL;
13811|      0|        }
13812|   227k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13813|   227k|        Token * _literal;
13814|   227k|        expr_ty a;
13815|   227k|        expr_ty b;
13816|   227k|        if (
13817|   227k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13817:13): [True: 4.57k, False: 222k]
  ------------------
13818|  4.57k|            &&
13819|  4.57k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13819:13): [True: 0, False: 4.57k]
  ------------------
13820|      0|            &&
13821|      0|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13821:13): [True: 0, False: 0]
  ------------------
13822|   227k|        )
13823|      0|        {
13824|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13825|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13826|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13826:17): [True: 0, False: 0]
  ------------------
13827|      0|                p->level--;
13828|      0|                return NULL;
13829|      0|            }
13830|      0|            int _end_lineno = _token->end_lineno;
13831|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13832|      0|            int _end_col_offset = _token->end_col_offset;
13833|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13834|      0|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13835|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13835:18): [True: 0, False: 0]
  |  Branch (13835:34): [True: 0, False: 0]
  |  Branch (13835:57): [True: 0, False: 0]
  ------------------
13836|      0|                p->error_indicator = 1;
13837|      0|                p->level--;
13838|      0|                return NULL;
13839|      0|            }
13840|      0|            goto done;
13841|      0|        }
13842|   227k|        p->mark = _mark;
13843|   227k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13844|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13845|   227k|    }
13846|      0|    { // shift_expr
13847|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13847:13): [True: 0, False: 227k]
  ------------------
13848|      0|            p->level--;
13849|      0|            return NULL;
13850|      0|        }
13851|   227k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13852|   227k|        expr_ty shift_expr_var;
13853|   227k|        if (
13854|   227k|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13854:13): [True: 9.14k, False: 218k]
  ------------------
13855|   227k|        )
13856|  9.14k|        {
13857|  9.14k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13858|  9.14k|            _res = shift_expr_var;
13859|  9.14k|            goto done;
13860|  9.14k|        }
13861|   218k|        p->mark = _mark;
13862|   218k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13863|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13864|   218k|    }
13865|   218k|    _res = NULL;
13866|   227k|  done:
13867|   227k|    p->level--;
13868|   227k|    return _res;
13869|   218k|}
parser.c:shift_expr_rule:
13876|   682k|{
13877|   682k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.36M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13877:9): [True: 0, False: 682k]
  |  Branch (13877:35): [True: 0, False: 682k]
  ------------------
13878|      0|        _Pypegen_stack_overflow(p);
13879|      0|    }
13880|   682k|    expr_ty _res = NULL;
13881|   682k|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  227|   682k|#define shift_expr_type 1138  // Left-recursive
  ------------------
  |  Branch (13881:9): [True: 459k, False: 222k]
  ------------------
13882|   459k|        p->level--;
13883|   459k|        return _res;
13884|   459k|    }
13885|   222k|    int _mark = p->mark;
13886|   222k|    int _resmark = p->mark;
13887|   227k|    while (1) {
  ------------------
  |  Branch (13887:12): [True: 227k, Folded]
  ------------------
13888|   227k|        int tmpvar_5 = _PyPegen_update_memo(p, _mark, shift_expr_type, _res);
  ------------------
  |  |  227|   227k|#define shift_expr_type 1138  // Left-recursive
  ------------------
13889|   227k|        if (tmpvar_5) {
  ------------------
  |  Branch (13889:13): [True: 0, False: 227k]
  ------------------
13890|      0|            p->level--;
13891|      0|            return _res;
13892|      0|        }
13893|   227k|        p->mark = _mark;
13894|   227k|        void *_raw = shift_expr_raw(p);
13895|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13895:13): [True: 0, False: 227k]
  ------------------
13896|      0|            p->level--;
13897|      0|            return NULL;
13898|      0|        }
13899|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13899:13): [True: 218k, False: 9.14k]
  |  Branch (13899:29): [True: 4.57k, False: 4.57k]
  ------------------
13900|   222k|            break;
13901|  4.57k|        _resmark = p->mark;
13902|  4.57k|        _res = _raw;
13903|  4.57k|    }
13904|   222k|    p->mark = _resmark;
13905|   222k|    p->level--;
13906|   222k|    return _res;
13907|   222k|}
parser.c:shift_expr_raw:
13910|   227k|{
13911|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13911:9): [True: 0, False: 227k]
  |  Branch (13911:35): [True: 0, False: 227k]
  ------------------
13912|      0|        _Pypegen_stack_overflow(p);
13913|      0|    }
13914|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (13914:9): [True: 0, False: 227k]
  ------------------
13915|      0|        p->level--;
13916|      0|        return NULL;
13917|      0|    }
13918|   227k|    expr_ty _res = NULL;
13919|   227k|    int _mark = p->mark;
13920|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13920:9): [True: 0, False: 227k]
  |  Branch (13920:31): [True: 0, False: 0]
  ------------------
13921|      0|        p->error_indicator = 1;
13922|      0|        p->level--;
13923|      0|        return NULL;
13924|      0|    }
13925|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
13926|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13927|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13928|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
13929|   227k|    { // shift_expr '<<' sum
13930|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13930:13): [True: 0, False: 227k]
  ------------------
13931|      0|            p->level--;
13932|      0|            return NULL;
13933|      0|        }
13934|   227k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13935|   227k|        Token * _literal;
13936|   227k|        expr_ty a;
13937|   227k|        expr_ty b;
13938|   227k|        if (
13939|   227k|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13939:13): [True: 4.57k, False: 222k]
  ------------------
13940|  4.57k|            &&
13941|  4.57k|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13941:13): [True: 0, False: 4.57k]
  ------------------
13942|      0|            &&
13943|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13943:13): [True: 0, False: 0]
  ------------------
13944|   227k|        )
13945|      0|        {
13946|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13947|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13948|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13948:17): [True: 0, False: 0]
  ------------------
13949|      0|                p->level--;
13950|      0|                return NULL;
13951|      0|            }
13952|      0|            int _end_lineno = _token->end_lineno;
13953|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13954|      0|            int _end_col_offset = _token->end_col_offset;
13955|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13956|      0|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13957|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13957:18): [True: 0, False: 0]
  |  Branch (13957:34): [True: 0, False: 0]
  |  Branch (13957:57): [True: 0, False: 0]
  ------------------
13958|      0|                p->error_indicator = 1;
13959|      0|                p->level--;
13960|      0|                return NULL;
13961|      0|            }
13962|      0|            goto done;
13963|      0|        }
13964|   227k|        p->mark = _mark;
13965|   227k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13966|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13967|   227k|    }
13968|      0|    { // shift_expr '>>' sum
13969|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (13969:13): [True: 0, False: 227k]
  ------------------
13970|      0|            p->level--;
13971|      0|            return NULL;
13972|      0|        }
13973|   227k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13974|   227k|        Token * _literal;
13975|   227k|        expr_ty a;
13976|   227k|        expr_ty b;
13977|   227k|        if (
13978|   227k|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13978:13): [True: 4.57k, False: 222k]
  ------------------
13979|  4.57k|            &&
13980|  4.57k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13980:13): [True: 0, False: 4.57k]
  ------------------
13981|      0|            &&
13982|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13982:13): [True: 0, False: 0]
  ------------------
13983|   227k|        )
13984|      0|        {
13985|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13986|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13987|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13987:17): [True: 0, False: 0]
  ------------------
13988|      0|                p->level--;
13989|      0|                return NULL;
13990|      0|            }
13991|      0|            int _end_lineno = _token->end_lineno;
13992|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13993|      0|            int _end_col_offset = _token->end_col_offset;
13994|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13995|      0|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13996|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13996:18): [True: 0, False: 0]
  |  Branch (13996:34): [True: 0, False: 0]
  |  Branch (13996:57): [True: 0, False: 0]
  ------------------
13997|      0|                p->error_indicator = 1;
13998|      0|                p->level--;
13999|      0|                return NULL;
14000|      0|            }
14001|      0|            goto done;
14002|      0|        }
14003|   227k|        p->mark = _mark;
14004|   227k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14005|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
14006|   227k|    }
14007|   227k|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (14007:9): [True: 108k, False: 119k]
  ------------------
14008|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (14008:13): [True: 0, False: 108k]
  ------------------
14009|      0|            p->level--;
14010|      0|            return NULL;
14011|      0|        }
14012|   108k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14013|   108k|        void *invalid_arithmetic_var;
14014|   108k|        if (
14015|   108k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  Branch (14015:13): [True: 0, False: 108k]
  ------------------
14016|   108k|        )
14017|      0|        {
14018|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14019|      0|            _res = invalid_arithmetic_var;
14020|      0|            goto done;
14021|      0|        }
14022|   108k|        p->mark = _mark;
14023|   108k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14024|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
14025|   108k|    }
14026|   227k|    { // sum
14027|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14027:13): [True: 0, False: 227k]
  ------------------
14028|      0|            p->level--;
14029|      0|            return NULL;
14030|      0|        }
14031|   227k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
14032|   227k|        expr_ty sum_var;
14033|   227k|        if (
14034|   227k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (14034:13): [True: 9.14k, False: 218k]
  ------------------
14035|   227k|        )
14036|  9.14k|        {
14037|  9.14k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
14038|  9.14k|            _res = sum_var;
14039|  9.14k|            goto done;
14040|  9.14k|        }
14041|   218k|        p->mark = _mark;
14042|   218k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14043|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
14044|   218k|    }
14045|   218k|    _res = NULL;
14046|   227k|  done:
14047|   227k|    p->level--;
14048|   227k|    return _res;
14049|   218k|}
parser.c:sum_rule:
14056|   790k|{
14057|   790k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.58M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14057:9): [True: 0, False: 790k]
  |  Branch (14057:35): [True: 0, False: 790k]
  ------------------
14058|      0|        _Pypegen_stack_overflow(p);
14059|      0|    }
14060|   790k|    expr_ty _res = NULL;
14061|   790k|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  228|   790k|#define sum_type 1139  // Left-recursive
  ------------------
  |  Branch (14061:9): [True: 567k, False: 222k]
  ------------------
14062|   567k|        p->level--;
14063|   567k|        return _res;
14064|   567k|    }
14065|   222k|    int _mark = p->mark;
14066|   222k|    int _resmark = p->mark;
14067|   227k|    while (1) {
  ------------------
  |  Branch (14067:12): [True: 227k, Folded]
  ------------------
14068|   227k|        int tmpvar_6 = _PyPegen_update_memo(p, _mark, sum_type, _res);
  ------------------
  |  |  228|   227k|#define sum_type 1139  // Left-recursive
  ------------------
14069|   227k|        if (tmpvar_6) {
  ------------------
  |  Branch (14069:13): [True: 0, False: 227k]
  ------------------
14070|      0|            p->level--;
14071|      0|            return _res;
14072|      0|        }
14073|   227k|        p->mark = _mark;
14074|   227k|        void *_raw = sum_raw(p);
14075|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14075:13): [True: 0, False: 227k]
  ------------------
14076|      0|            p->level--;
14077|      0|            return NULL;
14078|      0|        }
14079|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14079:13): [True: 218k, False: 9.15k]
  |  Branch (14079:29): [True: 4.57k, False: 4.58k]
  ------------------
14080|   222k|            break;
14081|  4.58k|        _resmark = p->mark;
14082|  4.58k|        _res = _raw;
14083|  4.58k|    }
14084|   222k|    p->mark = _resmark;
14085|   222k|    p->level--;
14086|   222k|    return _res;
14087|   222k|}
parser.c:sum_raw:
14090|   227k|{
14091|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14091:9): [True: 0, False: 227k]
  |  Branch (14091:35): [True: 0, False: 227k]
  ------------------
14092|      0|        _Pypegen_stack_overflow(p);
14093|      0|    }
14094|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (14094:9): [True: 0, False: 227k]
  ------------------
14095|      0|        p->level--;
14096|      0|        return NULL;
14097|      0|    }
14098|   227k|    expr_ty _res = NULL;
14099|   227k|    int _mark = p->mark;
14100|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14100:9): [True: 0, False: 227k]
  |  Branch (14100:31): [True: 0, False: 0]
  ------------------
14101|      0|        p->error_indicator = 1;
14102|      0|        p->level--;
14103|      0|        return NULL;
14104|      0|    }
14105|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
14106|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
14107|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14108|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
14109|   227k|    { // sum '+' term
14110|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14110:13): [True: 0, False: 227k]
  ------------------
14111|      0|            p->level--;
14112|      0|            return NULL;
14113|      0|        }
14114|   227k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14115|   227k|        Token * _literal;
14116|   227k|        expr_ty a;
14117|   227k|        expr_ty b;
14118|   227k|        if (
14119|   227k|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14119:13): [True: 4.58k, False: 222k]
  ------------------
14120|  4.58k|            &&
14121|  4.58k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14121:13): [True: 0, False: 4.58k]
  ------------------
14122|      0|            &&
14123|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14123:13): [True: 0, False: 0]
  ------------------
14124|   227k|        )
14125|      0|        {
14126|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14127|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14128|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14128:17): [True: 0, False: 0]
  ------------------
14129|      0|                p->level--;
14130|      0|                return NULL;
14131|      0|            }
14132|      0|            int _end_lineno = _token->end_lineno;
14133|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14134|      0|            int _end_col_offset = _token->end_col_offset;
14135|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14136|      0|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14137|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14137:18): [True: 0, False: 0]
  |  Branch (14137:34): [True: 0, False: 0]
  |  Branch (14137:57): [True: 0, False: 0]
  ------------------
14138|      0|                p->error_indicator = 1;
14139|      0|                p->level--;
14140|      0|                return NULL;
14141|      0|            }
14142|      0|            goto done;
14143|      0|        }
14144|   227k|        p->mark = _mark;
14145|   227k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14146|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
14147|   227k|    }
14148|      0|    { // sum '-' term
14149|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14149:13): [True: 0, False: 227k]
  ------------------
14150|      0|            p->level--;
14151|      0|            return NULL;
14152|      0|        }
14153|   227k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14154|   227k|        Token * _literal;
14155|   227k|        expr_ty a;
14156|   227k|        expr_ty b;
14157|   227k|        if (
14158|   227k|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14158:13): [True: 4.58k, False: 222k]
  ------------------
14159|  4.58k|            &&
14160|  4.58k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14160:13): [True: 12, False: 4.57k]
  ------------------
14161|     12|            &&
14162|     12|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14162:13): [True: 12, False: 0]
  ------------------
14163|   227k|        )
14164|     12|        {
14165|     12|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14166|     12|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14167|     12|            if (_token == NULL) {
  ------------------
  |  Branch (14167:17): [True: 0, False: 12]
  ------------------
14168|      0|                p->level--;
14169|      0|                return NULL;
14170|      0|            }
14171|     12|            int _end_lineno = _token->end_lineno;
14172|     12|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     12|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 12]
  |  |  ------------------
  ------------------
14173|     12|            int _end_col_offset = _token->end_col_offset;
14174|     12|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     12|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 12]
  |  |  ------------------
  ------------------
14175|     12|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  269|     12|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14176|     12|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14176:18): [True: 0, False: 12]
  |  Branch (14176:34): [True: 0, False: 12]
  |  Branch (14176:57): [True: 0, False: 0]
  ------------------
14177|      0|                p->error_indicator = 1;
14178|      0|                p->level--;
14179|      0|                return NULL;
14180|      0|            }
14181|     12|            goto done;
14182|     12|        }
14183|   227k|        p->mark = _mark;
14184|   227k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14185|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
14186|   227k|    }
14187|      0|    { // term
14188|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14188:13): [True: 0, False: 227k]
  ------------------
14189|      0|            p->level--;
14190|      0|            return NULL;
14191|      0|        }
14192|   227k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
14193|   227k|        expr_ty term_var;
14194|   227k|        if (
14195|   227k|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (14195:13): [True: 9.14k, False: 218k]
  ------------------
14196|   227k|        )
14197|  9.14k|        {
14198|  9.14k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
14199|  9.14k|            _res = term_var;
14200|  9.14k|            goto done;
14201|  9.14k|        }
14202|   218k|        p->mark = _mark;
14203|   218k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14204|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
14205|   218k|    }
14206|   218k|    _res = NULL;
14207|   227k|  done:
14208|   227k|    p->level--;
14209|   227k|    return _res;
14210|   218k|}
parser.c:term_rule:
14224|  1.36M|{
14225|  1.36M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.72M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14225:9): [True: 0, False: 1.36M]
  |  Branch (14225:35): [True: 0, False: 1.36M]
  ------------------
14226|      0|        _Pypegen_stack_overflow(p);
14227|      0|    }
14228|  1.36M|    expr_ty _res = NULL;
14229|  1.36M|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  229|  1.36M|#define term_type 1140  // Left-recursive
  ------------------
  |  Branch (14229:9): [True: 1.14M, False: 222k]
  ------------------
14230|  1.14M|        p->level--;
14231|  1.14M|        return _res;
14232|  1.14M|    }
14233|   222k|    int _mark = p->mark;
14234|   222k|    int _resmark = p->mark;
14235|   227k|    while (1) {
  ------------------
  |  Branch (14235:12): [True: 227k, Folded]
  ------------------
14236|   227k|        int tmpvar_7 = _PyPegen_update_memo(p, _mark, term_type, _res);
  ------------------
  |  |  229|   227k|#define term_type 1140  // Left-recursive
  ------------------
14237|   227k|        if (tmpvar_7) {
  ------------------
  |  Branch (14237:13): [True: 0, False: 227k]
  ------------------
14238|      0|            p->level--;
14239|      0|            return _res;
14240|      0|        }
14241|   227k|        p->mark = _mark;
14242|   227k|        void *_raw = term_raw(p);
14243|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14243:13): [True: 0, False: 227k]
  ------------------
14244|      0|            p->level--;
14245|      0|            return NULL;
14246|      0|        }
14247|   227k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14247:13): [True: 218k, False: 9.16k]
  |  Branch (14247:29): [True: 4.58k, False: 4.58k]
  ------------------
14248|   222k|            break;
14249|  4.58k|        _resmark = p->mark;
14250|  4.58k|        _res = _raw;
14251|  4.58k|    }
14252|   222k|    p->mark = _resmark;
14253|   222k|    p->level--;
14254|   222k|    return _res;
14255|   222k|}
parser.c:term_raw:
14258|   227k|{
14259|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14259:9): [True: 0, False: 227k]
  |  Branch (14259:35): [True: 0, False: 227k]
  ------------------
14260|      0|        _Pypegen_stack_overflow(p);
14261|      0|    }
14262|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (14262:9): [True: 0, False: 227k]
  ------------------
14263|      0|        p->level--;
14264|      0|        return NULL;
14265|      0|    }
14266|   227k|    expr_ty _res = NULL;
14267|   227k|    int _mark = p->mark;
14268|   227k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14268:9): [True: 0, False: 227k]
  |  Branch (14268:31): [True: 0, False: 0]
  ------------------
14269|      0|        p->error_indicator = 1;
14270|      0|        p->level--;
14271|      0|        return NULL;
14272|      0|    }
14273|   227k|    int _start_lineno = p->tokens[_mark]->lineno;
14274|   227k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
14275|   227k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14276|   227k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   227k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 227k]
  |  |  ------------------
  ------------------
14277|   227k|    { // term '*' factor
14278|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14278:13): [True: 0, False: 227k]
  ------------------
14279|      0|            p->level--;
14280|      0|            return NULL;
14281|      0|        }
14282|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14283|   227k|        Token * _literal;
14284|   227k|        expr_ty a;
14285|   227k|        expr_ty b;
14286|   227k|        if (
14287|   227k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14287:13): [True: 4.58k, False: 222k]
  ------------------
14288|  4.58k|            &&
14289|  4.58k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (14289:13): [True: 0, False: 4.58k]
  ------------------
14290|      0|            &&
14291|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14291:13): [True: 0, False: 0]
  ------------------
14292|   227k|        )
14293|      0|        {
14294|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14295|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14296|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14296:17): [True: 0, False: 0]
  ------------------
14297|      0|                p->level--;
14298|      0|                return NULL;
14299|      0|            }
14300|      0|            int _end_lineno = _token->end_lineno;
14301|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14302|      0|            int _end_col_offset = _token->end_col_offset;
14303|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14304|      0|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14305|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14305:18): [True: 0, False: 0]
  |  Branch (14305:34): [True: 0, False: 0]
  |  Branch (14305:57): [True: 0, False: 0]
  ------------------
14306|      0|                p->error_indicator = 1;
14307|      0|                p->level--;
14308|      0|                return NULL;
14309|      0|            }
14310|      0|            goto done;
14311|      0|        }
14312|   227k|        p->mark = _mark;
14313|   227k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14314|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
14315|   227k|    }
14316|      0|    { // term '/' factor
14317|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14317:13): [True: 0, False: 227k]
  ------------------
14318|      0|            p->level--;
14319|      0|            return NULL;
14320|      0|        }
14321|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14322|   227k|        Token * _literal;
14323|   227k|        expr_ty a;
14324|   227k|        expr_ty b;
14325|   227k|        if (
14326|   227k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14326:13): [True: 4.58k, False: 222k]
  ------------------
14327|  4.58k|            &&
14328|  4.58k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (14328:13): [True: 2, False: 4.58k]
  ------------------
14329|      2|            &&
14330|      2|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14330:13): [True: 2, False: 0]
  ------------------
14331|   227k|        )
14332|      2|        {
14333|      2|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14334|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14335|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14335:17): [True: 0, False: 2]
  ------------------
14336|      0|                p->level--;
14337|      0|                return NULL;
14338|      0|            }
14339|      2|            int _end_lineno = _token->end_lineno;
14340|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14341|      2|            int _end_col_offset = _token->end_col_offset;
14342|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
14343|      2|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14344|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14344:18): [True: 0, False: 2]
  |  Branch (14344:34): [True: 0, False: 2]
  |  Branch (14344:57): [True: 0, False: 0]
  ------------------
14345|      0|                p->error_indicator = 1;
14346|      0|                p->level--;
14347|      0|                return NULL;
14348|      0|            }
14349|      2|            goto done;
14350|      2|        }
14351|   227k|        p->mark = _mark;
14352|   227k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14353|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14354|   227k|    }
14355|      0|    { // term '//' factor
14356|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14356:13): [True: 0, False: 227k]
  ------------------
14357|      0|            p->level--;
14358|      0|            return NULL;
14359|      0|        }
14360|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14361|   227k|        Token * _literal;
14362|   227k|        expr_ty a;
14363|   227k|        expr_ty b;
14364|   227k|        if (
14365|   227k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14365:13): [True: 4.58k, False: 222k]
  ------------------
14366|  4.58k|            &&
14367|  4.58k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14367:13): [True: 0, False: 4.58k]
  ------------------
14368|      0|            &&
14369|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14369:13): [True: 0, False: 0]
  ------------------
14370|   227k|        )
14371|      0|        {
14372|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14373|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14374|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14374:17): [True: 0, False: 0]
  ------------------
14375|      0|                p->level--;
14376|      0|                return NULL;
14377|      0|            }
14378|      0|            int _end_lineno = _token->end_lineno;
14379|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14380|      0|            int _end_col_offset = _token->end_col_offset;
14381|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14382|      0|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14383|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14383:18): [True: 0, False: 0]
  |  Branch (14383:34): [True: 0, False: 0]
  |  Branch (14383:57): [True: 0, False: 0]
  ------------------
14384|      0|                p->error_indicator = 1;
14385|      0|                p->level--;
14386|      0|                return NULL;
14387|      0|            }
14388|      0|            goto done;
14389|      0|        }
14390|   227k|        p->mark = _mark;
14391|   227k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14392|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14393|   227k|    }
14394|      0|    { // term '%' factor
14395|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14395:13): [True: 0, False: 227k]
  ------------------
14396|      0|            p->level--;
14397|      0|            return NULL;
14398|      0|        }
14399|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14400|   227k|        Token * _literal;
14401|   227k|        expr_ty a;
14402|   227k|        expr_ty b;
14403|   227k|        if (
14404|   227k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14404:13): [True: 4.58k, False: 222k]
  ------------------
14405|  4.58k|            &&
14406|  4.58k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14406:13): [True: 0, False: 4.58k]
  ------------------
14407|      0|            &&
14408|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14408:13): [True: 0, False: 0]
  ------------------
14409|   227k|        )
14410|      0|        {
14411|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14412|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14413|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14413:17): [True: 0, False: 0]
  ------------------
14414|      0|                p->level--;
14415|      0|                return NULL;
14416|      0|            }
14417|      0|            int _end_lineno = _token->end_lineno;
14418|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14419|      0|            int _end_col_offset = _token->end_col_offset;
14420|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14421|      0|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14422|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14422:18): [True: 0, False: 0]
  |  Branch (14422:34): [True: 0, False: 0]
  |  Branch (14422:57): [True: 0, False: 0]
  ------------------
14423|      0|                p->error_indicator = 1;
14424|      0|                p->level--;
14425|      0|                return NULL;
14426|      0|            }
14427|      0|            goto done;
14428|      0|        }
14429|   227k|        p->mark = _mark;
14430|   227k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14431|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14432|   227k|    }
14433|      0|    { // term '@' factor
14434|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14434:13): [True: 0, False: 227k]
  ------------------
14435|      0|            p->level--;
14436|      0|            return NULL;
14437|      0|        }
14438|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14439|   227k|        Token * _literal;
14440|   227k|        expr_ty a;
14441|   227k|        expr_ty b;
14442|   227k|        if (
14443|   227k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14443:13): [True: 4.58k, False: 222k]
  ------------------
14444|  4.58k|            &&
14445|  4.58k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14445:13): [True: 0, False: 4.58k]
  ------------------
14446|      0|            &&
14447|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14447:13): [True: 0, False: 0]
  ------------------
14448|   227k|        )
14449|      0|        {
14450|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14451|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14452|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14452:17): [True: 0, False: 0]
  ------------------
14453|      0|                p->level--;
14454|      0|                return NULL;
14455|      0|            }
14456|      0|            int _end_lineno = _token->end_lineno;
14457|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14458|      0|            int _end_col_offset = _token->end_col_offset;
14459|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14460|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14461|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14461:18): [True: 0, False: 0]
  |  Branch (14461:34): [True: 0, False: 0]
  |  Branch (14461:57): [True: 0, False: 0]
  ------------------
14462|      0|                p->error_indicator = 1;
14463|      0|                p->level--;
14464|      0|                return NULL;
14465|      0|            }
14466|      0|            goto done;
14467|      0|        }
14468|   227k|        p->mark = _mark;
14469|   227k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14470|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14471|   227k|    }
14472|   227k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14472:9): [True: 108k, False: 119k]
  ------------------
14473|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (14473:13): [True: 0, False: 108k]
  ------------------
14474|      0|            p->level--;
14475|      0|            return NULL;
14476|      0|        }
14477|   108k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14478|   108k|        void *invalid_factor_var;
14479|   108k|        if (
14480|   108k|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  Branch (14480:13): [True: 0, False: 108k]
  ------------------
14481|   108k|        )
14482|      0|        {
14483|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14484|      0|            _res = invalid_factor_var;
14485|      0|            goto done;
14486|      0|        }
14487|   108k|        p->mark = _mark;
14488|   108k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14489|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14490|   108k|    }
14491|   227k|    { // factor
14492|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (14492:13): [True: 0, False: 227k]
  ------------------
14493|      0|            p->level--;
14494|      0|            return NULL;
14495|      0|        }
14496|   227k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14497|   227k|        expr_ty factor_var;
14498|   227k|        if (
14499|   227k|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  Branch (14499:13): [True: 9.16k, False: 218k]
  ------------------
14500|   227k|        )
14501|  9.16k|        {
14502|  9.16k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14503|  9.16k|            _res = factor_var;
14504|  9.16k|            goto done;
14505|  9.16k|        }
14506|   218k|        p->mark = _mark;
14507|   218k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14508|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14509|   218k|    }
14510|   218k|    _res = NULL;
14511|   227k|  done:
14512|   227k|    p->level--;
14513|   227k|    return _res;
14514|   218k|}
parser.c:factor_rule:
14519|   227k|{
14520|   227k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   454k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14520:9): [True: 0, False: 227k]
  |  Branch (14520:35): [True: 0, False: 227k]
  ------------------
14521|      0|        _Pypegen_stack_overflow(p);
14522|      0|    }
14523|   227k|    if (p->error_indicator) {
  ------------------
  |  Branch (14523:9): [True: 0, False: 227k]
  ------------------
14524|      0|        p->level--;
14525|      0|        return NULL;
14526|      0|    }
14527|   227k|    expr_ty _res = NULL;
14528|   227k|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  230|   227k|#define factor_type 1141
  ------------------
  |  Branch (14528:9): [True: 4.58k, False: 222k]
  ------------------
14529|  4.58k|        p->level--;
14530|  4.58k|        return _res;
14531|  4.58k|    }
14532|   222k|    int _mark = p->mark;
14533|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14533:9): [True: 0, False: 222k]
  |  Branch (14533:31): [True: 0, False: 0]
  ------------------
14534|      0|        p->error_indicator = 1;
14535|      0|        p->level--;
14536|      0|        return NULL;
14537|      0|    }
14538|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
14539|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14540|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14541|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14542|   222k|    { // '+' factor
14543|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14543:13): [True: 0, False: 222k]
  ------------------
14544|      0|            p->level--;
14545|      0|            return NULL;
14546|      0|        }
14547|   222k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14548|   222k|        Token * _literal;
14549|   222k|        expr_ty a;
14550|   222k|        if (
14551|   222k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14551:13): [True: 0, False: 222k]
  ------------------
14552|      0|            &&
14553|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14553:13): [True: 0, False: 0]
  ------------------
14554|   222k|        )
14555|      0|        {
14556|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14557|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14558|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14558:17): [True: 0, False: 0]
  ------------------
14559|      0|                p->level--;
14560|      0|                return NULL;
14561|      0|            }
14562|      0|            int _end_lineno = _token->end_lineno;
14563|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14564|      0|            int _end_col_offset = _token->end_col_offset;
14565|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14566|      0|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14567|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14567:18): [True: 0, False: 0]
  |  Branch (14567:34): [True: 0, False: 0]
  |  Branch (14567:57): [True: 0, False: 0]
  ------------------
14568|      0|                p->error_indicator = 1;
14569|      0|                p->level--;
14570|      0|                return NULL;
14571|      0|            }
14572|      0|            goto done;
14573|      0|        }
14574|   222k|        p->mark = _mark;
14575|   222k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14576|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14577|   222k|    }
14578|      0|    { // '-' factor
14579|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14579:13): [True: 0, False: 222k]
  ------------------
14580|      0|            p->level--;
14581|      0|            return NULL;
14582|      0|        }
14583|   222k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14584|   222k|        Token * _literal;
14585|   222k|        expr_ty a;
14586|   222k|        if (
14587|   222k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14587:13): [True: 4, False: 222k]
  ------------------
14588|      4|            &&
14589|      4|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14589:13): [True: 4, False: 0]
  ------------------
14590|   222k|        )
14591|      4|        {
14592|      4|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14593|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14594|      4|            if (_token == NULL) {
  ------------------
  |  Branch (14594:17): [True: 0, False: 4]
  ------------------
14595|      0|                p->level--;
14596|      0|                return NULL;
14597|      0|            }
14598|      4|            int _end_lineno = _token->end_lineno;
14599|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
14600|      4|            int _end_col_offset = _token->end_col_offset;
14601|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
14602|      4|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14603|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14603:18): [True: 0, False: 4]
  |  Branch (14603:34): [True: 0, False: 4]
  |  Branch (14603:57): [True: 0, False: 0]
  ------------------
14604|      0|                p->error_indicator = 1;
14605|      0|                p->level--;
14606|      0|                return NULL;
14607|      0|            }
14608|      4|            goto done;
14609|      4|        }
14610|   222k|        p->mark = _mark;
14611|   222k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14612|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14613|   222k|    }
14614|      0|    { // '~' factor
14615|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14615:13): [True: 0, False: 222k]
  ------------------
14616|      0|            p->level--;
14617|      0|            return NULL;
14618|      0|        }
14619|   222k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14620|   222k|        Token * _literal;
14621|   222k|        expr_ty a;
14622|   222k|        if (
14623|   222k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14623:13): [True: 0, False: 222k]
  ------------------
14624|      0|            &&
14625|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14625:13): [True: 0, False: 0]
  ------------------
14626|   222k|        )
14627|      0|        {
14628|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14629|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14630|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14630:17): [True: 0, False: 0]
  ------------------
14631|      0|                p->level--;
14632|      0|                return NULL;
14633|      0|            }
14634|      0|            int _end_lineno = _token->end_lineno;
14635|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14636|      0|            int _end_col_offset = _token->end_col_offset;
14637|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14638|      0|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14639|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14639:18): [True: 0, False: 0]
  |  Branch (14639:34): [True: 0, False: 0]
  |  Branch (14639:57): [True: 0, False: 0]
  ------------------
14640|      0|                p->error_indicator = 1;
14641|      0|                p->level--;
14642|      0|                return NULL;
14643|      0|            }
14644|      0|            goto done;
14645|      0|        }
14646|   222k|        p->mark = _mark;
14647|   222k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14648|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14649|   222k|    }
14650|      0|    { // power
14651|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14651:13): [True: 0, False: 222k]
  ------------------
14652|      0|            p->level--;
14653|      0|            return NULL;
14654|      0|        }
14655|   222k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14656|   222k|        expr_ty power_var;
14657|   222k|        if (
14658|   222k|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14658:13): [True: 4.59k, False: 218k]
  ------------------
14659|   222k|        )
14660|  4.59k|        {
14661|  4.59k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14662|  4.59k|            _res = power_var;
14663|  4.59k|            goto done;
14664|  4.59k|        }
14665|   218k|        p->mark = _mark;
14666|   218k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14667|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14668|   218k|    }
14669|   218k|    _res = NULL;
14670|   222k|  done:
14671|   222k|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  230|   222k|#define factor_type 1141
  ------------------
14672|   222k|    p->level--;
14673|   222k|    return _res;
14674|   218k|}
parser.c:power_rule:
14679|   222k|{
14680|   222k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   445k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14680:9): [True: 0, False: 222k]
  |  Branch (14680:35): [True: 0, False: 222k]
  ------------------
14681|      0|        _Pypegen_stack_overflow(p);
14682|      0|    }
14683|   222k|    if (p->error_indicator) {
  ------------------
  |  Branch (14683:9): [True: 0, False: 222k]
  ------------------
14684|      0|        p->level--;
14685|      0|        return NULL;
14686|      0|    }
14687|   222k|    expr_ty _res = NULL;
14688|   222k|    int _mark = p->mark;
14689|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14689:9): [True: 0, False: 222k]
  |  Branch (14689:31): [True: 0, False: 0]
  ------------------
14690|      0|        p->error_indicator = 1;
14691|      0|        p->level--;
14692|      0|        return NULL;
14693|      0|    }
14694|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
14695|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14696|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14697|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14698|   222k|    { // await_primary '**' factor
14699|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14699:13): [True: 0, False: 222k]
  ------------------
14700|      0|            p->level--;
14701|      0|            return NULL;
14702|      0|        }
14703|   222k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14704|   222k|        Token * _literal;
14705|   222k|        expr_ty a;
14706|   222k|        expr_ty b;
14707|   222k|        if (
14708|   222k|            (a = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14708:13): [True: 4.59k, False: 218k]
  ------------------
14709|  4.59k|            &&
14710|  4.59k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14710:13): [True: 6, False: 4.58k]
  ------------------
14711|      6|            &&
14712|      6|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14712:13): [True: 6, False: 0]
  ------------------
14713|   222k|        )
14714|      6|        {
14715|      6|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14716|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14717|      6|            if (_token == NULL) {
  ------------------
  |  Branch (14717:17): [True: 0, False: 6]
  ------------------
14718|      0|                p->level--;
14719|      0|                return NULL;
14720|      0|            }
14721|      6|            int _end_lineno = _token->end_lineno;
14722|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
14723|      6|            int _end_col_offset = _token->end_col_offset;
14724|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
14725|      6|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14726|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14726:18): [True: 0, False: 6]
  |  Branch (14726:34): [True: 0, False: 6]
  |  Branch (14726:57): [True: 0, False: 0]
  ------------------
14727|      0|                p->error_indicator = 1;
14728|      0|                p->level--;
14729|      0|                return NULL;
14730|      0|            }
14731|      6|            goto done;
14732|      6|        }
14733|   222k|        p->mark = _mark;
14734|   222k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14735|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14736|   222k|    }
14737|      0|    { // await_primary
14738|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14738:13): [True: 0, False: 222k]
  ------------------
14739|      0|            p->level--;
14740|      0|            return NULL;
14741|      0|        }
14742|   222k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14743|   222k|        expr_ty await_primary_var;
14744|   222k|        if (
14745|   222k|            (await_primary_var = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14745:13): [True: 4.58k, False: 218k]
  ------------------
14746|   222k|        )
14747|  4.58k|        {
14748|  4.58k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14749|  4.58k|            _res = await_primary_var;
14750|  4.58k|            goto done;
14751|  4.58k|        }
14752|   218k|        p->mark = _mark;
14753|   218k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14754|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14755|   218k|    }
14756|   218k|    _res = NULL;
14757|   222k|  done:
14758|   222k|    p->level--;
14759|   222k|    return _res;
14760|   218k|}
parser.c:await_primary_rule:
14765|   445k|{
14766|   445k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   891k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14766:9): [True: 0, False: 445k]
  |  Branch (14766:35): [True: 0, False: 445k]
  ------------------
14767|      0|        _Pypegen_stack_overflow(p);
14768|      0|    }
14769|   445k|    if (p->error_indicator) {
  ------------------
  |  Branch (14769:9): [True: 0, False: 445k]
  ------------------
14770|      0|        p->level--;
14771|      0|        return NULL;
14772|      0|    }
14773|   445k|    expr_ty _res = NULL;
14774|   445k|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  232|   445k|#define await_primary_type 1143
  ------------------
  |  Branch (14774:9): [True: 222k, False: 222k]
  ------------------
14775|   222k|        p->level--;
14776|   222k|        return _res;
14777|   222k|    }
14778|   222k|    int _mark = p->mark;
14779|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14779:9): [True: 0, False: 222k]
  |  Branch (14779:31): [True: 0, False: 0]
  ------------------
14780|      0|        p->error_indicator = 1;
14781|      0|        p->level--;
14782|      0|        return NULL;
14783|      0|    }
14784|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
14785|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14786|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14787|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
14788|   222k|    { // 'await' primary
14789|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14789:13): [True: 0, False: 222k]
  ------------------
14790|      0|            p->level--;
14791|      0|            return NULL;
14792|      0|        }
14793|   222k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14794|   222k|        Token * _keyword;
14795|   222k|        expr_ty a;
14796|   222k|        if (
14797|   222k|            (_keyword = _PyPegen_expect_token(p, 598))  // token='await'
  ------------------
  |  Branch (14797:13): [True: 0, False: 222k]
  ------------------
14798|      0|            &&
14799|      0|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14799:13): [True: 0, False: 0]
  ------------------
14800|   222k|        )
14801|      0|        {
14802|      0|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14803|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14804|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14804:17): [True: 0, False: 0]
  ------------------
14805|      0|                p->level--;
14806|      0|                return NULL;
14807|      0|            }
14808|      0|            int _end_lineno = _token->end_lineno;
14809|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14810|      0|            int _end_col_offset = _token->end_col_offset;
14811|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14812|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14813|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14813:18): [True: 0, False: 0]
  |  Branch (14813:34): [True: 0, False: 0]
  |  Branch (14813:57): [True: 0, False: 0]
  ------------------
14814|      0|                p->error_indicator = 1;
14815|      0|                p->level--;
14816|      0|                return NULL;
14817|      0|            }
14818|      0|            goto done;
14819|      0|        }
14820|   222k|        p->mark = _mark;
14821|   222k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14822|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14823|   222k|    }
14824|      0|    { // primary
14825|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (14825:13): [True: 0, False: 222k]
  ------------------
14826|      0|            p->level--;
14827|      0|            return NULL;
14828|      0|        }
14829|   222k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14830|   222k|        expr_ty primary_var;
14831|   222k|        if (
14832|   222k|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14832:13): [True: 4.59k, False: 218k]
  ------------------
14833|   222k|        )
14834|  4.59k|        {
14835|  4.59k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14836|  4.59k|            _res = primary_var;
14837|  4.59k|            goto done;
14838|  4.59k|        }
14839|   218k|        p->mark = _mark;
14840|   218k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14841|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14842|   218k|    }
14843|   218k|    _res = NULL;
14844|   222k|  done:
14845|   222k|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  232|   222k|#define await_primary_type 1143
  ------------------
14846|   222k|    p->level--;
14847|   222k|    return _res;
14848|   218k|}
parser.c:primary_rule:
14860|  1.13M|{
14861|  1.13M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.27M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14861:9): [True: 0, False: 1.13M]
  |  Branch (14861:35): [True: 0, False: 1.13M]
  ------------------
14862|      0|        _Pypegen_stack_overflow(p);
14863|      0|    }
14864|  1.13M|    expr_ty _res = NULL;
14865|  1.13M|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  233|  1.13M|#define primary_type 1144  // Left-recursive
  ------------------
  |  Branch (14865:9): [True: 913k, False: 222k]
  ------------------
14866|   913k|        p->level--;
14867|   913k|        return _res;
14868|   913k|    }
14869|   222k|    int _mark = p->mark;
14870|   222k|    int _resmark = p->mark;
14871|   229k|    while (1) {
  ------------------
  |  Branch (14871:12): [True: 229k, Folded]
  ------------------
14872|   229k|        int tmpvar_8 = _PyPegen_update_memo(p, _mark, primary_type, _res);
  ------------------
  |  |  233|   229k|#define primary_type 1144  // Left-recursive
  ------------------
14873|   229k|        if (tmpvar_8) {
  ------------------
  |  Branch (14873:13): [True: 0, False: 229k]
  ------------------
14874|      0|            p->level--;
14875|      0|            return _res;
14876|      0|        }
14877|   229k|        p->mark = _mark;
14878|   229k|        void *_raw = primary_raw(p);
14879|   229k|        if (p->error_indicator) {
  ------------------
  |  Branch (14879:13): [True: 0, False: 229k]
  ------------------
14880|      0|            p->level--;
14881|      0|            return NULL;
14882|      0|        }
14883|   229k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14883:13): [True: 218k, False: 11.1k]
  |  Branch (14883:29): [True: 4.59k, False: 6.53k]
  ------------------
14884|   222k|            break;
14885|  6.53k|        _resmark = p->mark;
14886|  6.53k|        _res = _raw;
14887|  6.53k|    }
14888|   222k|    p->mark = _resmark;
14889|   222k|    p->level--;
14890|   222k|    return _res;
14891|   222k|}
parser.c:primary_raw:
14894|   229k|{
14895|   229k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   458k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14895:9): [True: 0, False: 229k]
  |  Branch (14895:35): [True: 0, False: 229k]
  ------------------
14896|      0|        _Pypegen_stack_overflow(p);
14897|      0|    }
14898|   229k|    if (p->error_indicator) {
  ------------------
  |  Branch (14898:9): [True: 0, False: 229k]
  ------------------
14899|      0|        p->level--;
14900|      0|        return NULL;
14901|      0|    }
14902|   229k|    expr_ty _res = NULL;
14903|   229k|    int _mark = p->mark;
14904|   229k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14904:9): [True: 0, False: 229k]
  |  Branch (14904:31): [True: 0, False: 0]
  ------------------
14905|      0|        p->error_indicator = 1;
14906|      0|        p->level--;
14907|      0|        return NULL;
14908|      0|    }
14909|   229k|    int _start_lineno = p->tokens[_mark]->lineno;
14910|   229k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   229k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 229k]
  |  |  ------------------
  ------------------
14911|   229k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14912|   229k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   229k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 229k]
  |  |  ------------------
  ------------------
14913|   229k|    { // primary '.' NAME
14914|   229k|        if (p->error_indicator) {
  ------------------
  |  Branch (14914:13): [True: 0, False: 229k]
  ------------------
14915|      0|            p->level--;
14916|      0|            return NULL;
14917|      0|        }
14918|   229k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14919|   229k|        Token * _literal;
14920|   229k|        expr_ty a;
14921|   229k|        expr_ty b;
14922|   229k|        if (
14923|   229k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14923:13): [True: 6.53k, False: 222k]
  ------------------
14924|  6.53k|            &&
14925|  6.53k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14925:13): [True: 1.19k, False: 5.34k]
  ------------------
14926|  1.19k|            &&
14927|  1.19k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14927:13): [True: 1.19k, False: 0]
  ------------------
14928|   229k|        )
14929|  1.19k|        {
14930|  1.19k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14931|  1.19k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14932|  1.19k|            if (_token == NULL) {
  ------------------
  |  Branch (14932:17): [True: 0, False: 1.19k]
  ------------------
14933|      0|                p->level--;
14934|      0|                return NULL;
14935|      0|            }
14936|  1.19k|            int _end_lineno = _token->end_lineno;
14937|  1.19k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.19k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
14938|  1.19k|            int _end_col_offset = _token->end_col_offset;
14939|  1.19k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.19k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
14940|  1.19k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  269|  1.19k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14941|  1.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14941:18): [True: 0, False: 1.19k]
  |  Branch (14941:34): [True: 0, False: 1.19k]
  |  Branch (14941:57): [True: 0, False: 0]
  ------------------
14942|      0|                p->error_indicator = 1;
14943|      0|                p->level--;
14944|      0|                return NULL;
14945|      0|            }
14946|  1.19k|            goto done;
14947|  1.19k|        }
14948|   228k|        p->mark = _mark;
14949|   228k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14950|   228k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14951|   228k|    }
14952|      0|    { // primary genexp
14953|   228k|        if (p->error_indicator) {
  ------------------
  |  Branch (14953:13): [True: 0, False: 228k]
  ------------------
14954|      0|            p->level--;
14955|      0|            return NULL;
14956|      0|        }
14957|   228k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14958|   228k|        expr_ty a;
14959|   228k|        expr_ty b;
14960|   228k|        if (
14961|   228k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14961:13): [True: 5.34k, False: 222k]
  ------------------
14962|  5.34k|            &&
14963|  5.34k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (14963:13): [True: 0, False: 5.34k]
  ------------------
14964|   228k|        )
14965|      0|        {
14966|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14967|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14968|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14968:17): [True: 0, False: 0]
  ------------------
14969|      0|                p->level--;
14970|      0|                return NULL;
14971|      0|            }
14972|      0|            int _end_lineno = _token->end_lineno;
14973|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14974|      0|            int _end_col_offset = _token->end_col_offset;
14975|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14976|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14977|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14977:18): [True: 0, False: 0]
  |  Branch (14977:34): [True: 0, False: 0]
  |  Branch (14977:57): [True: 0, False: 0]
  ------------------
14978|      0|                p->error_indicator = 1;
14979|      0|                p->level--;
14980|      0|                return NULL;
14981|      0|            }
14982|      0|            goto done;
14983|      0|        }
14984|   228k|        p->mark = _mark;
14985|   228k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14986|   228k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14987|   228k|    }
14988|      0|    { // primary '(' arguments? ')'
14989|   228k|        if (p->error_indicator) {
  ------------------
  |  Branch (14989:13): [True: 0, False: 228k]
  ------------------
14990|      0|            p->level--;
14991|      0|            return NULL;
14992|      0|        }
14993|   228k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14994|   228k|        Token * _literal;
14995|   228k|        Token * _literal_1;
14996|   228k|        expr_ty a;
14997|   228k|        void *b;
14998|   228k|        if (
14999|   228k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14999:13): [True: 5.34k, False: 222k]
  ------------------
15000|  5.34k|            &&
15001|  5.34k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15001:13): [True: 743, False: 4.59k]
  ------------------
15002|    743|            &&
15003|    743|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (15003:13): [True: 743, False: 0]
  ------------------
15004|    743|            &&
15005|    743|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15005:13): [True: 743, False: 0]
  ------------------
15006|   228k|        )
15007|    743|        {
15008|    743|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15009|    743|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15010|    743|            if (_token == NULL) {
  ------------------
  |  Branch (15010:17): [True: 0, False: 743]
  ------------------
15011|      0|                p->level--;
15012|      0|                return NULL;
15013|      0|            }
15014|    743|            int _end_lineno = _token->end_lineno;
15015|    743|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    743|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 743]
  |  |  ------------------
  ------------------
15016|    743|            int _end_col_offset = _token->end_col_offset;
15017|    743|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    743|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 743]
  |  |  ------------------
  ------------------
15018|    743|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  269|    743|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15018:38): [True: 631, False: 112]
  |  Branch (15018:92): [True: 631, False: 112]
  ------------------
15019|    743|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15019:18): [True: 0, False: 743]
  |  Branch (15019:34): [True: 0, False: 743]
  |  Branch (15019:57): [True: 0, False: 0]
  ------------------
15020|      0|                p->error_indicator = 1;
15021|      0|                p->level--;
15022|      0|                return NULL;
15023|      0|            }
15024|    743|            goto done;
15025|    743|        }
15026|   227k|        p->mark = _mark;
15027|   227k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15028|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
15029|   227k|    }
15030|      0|    { // primary '[' slices ']'
15031|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (15031:13): [True: 0, False: 227k]
  ------------------
15032|      0|            p->level--;
15033|      0|            return NULL;
15034|      0|        }
15035|   227k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15036|   227k|        Token * _literal;
15037|   227k|        Token * _literal_1;
15038|   227k|        expr_ty a;
15039|   227k|        expr_ty b;
15040|   227k|        if (
15041|   227k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15041:13): [True: 4.59k, False: 222k]
  ------------------
15042|  4.59k|            &&
15043|  4.59k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (15043:13): [True: 8, False: 4.59k]
  ------------------
15044|      8|            &&
15045|      8|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (15045:13): [True: 8, False: 0]
  ------------------
15046|      8|            &&
15047|      8|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (15047:13): [True: 8, False: 0]
  ------------------
15048|   227k|        )
15049|      8|        {
15050|      8|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15051|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15052|      8|            if (_token == NULL) {
  ------------------
  |  Branch (15052:17): [True: 0, False: 8]
  ------------------
15053|      0|                p->level--;
15054|      0|                return NULL;
15055|      0|            }
15056|      8|            int _end_lineno = _token->end_lineno;
15057|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
15058|      8|            int _end_col_offset = _token->end_col_offset;
15059|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
15060|      8|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  269|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15061|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15061:18): [True: 0, False: 8]
  |  Branch (15061:34): [True: 0, False: 8]
  |  Branch (15061:57): [True: 0, False: 0]
  ------------------
15062|      0|                p->error_indicator = 1;
15063|      0|                p->level--;
15064|      0|                return NULL;
15065|      0|            }
15066|      8|            goto done;
15067|      8|        }
15068|   227k|        p->mark = _mark;
15069|   227k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15070|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
15071|   227k|    }
15072|      0|    { // atom
15073|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (15073:13): [True: 0, False: 227k]
  ------------------
15074|      0|            p->level--;
15075|      0|            return NULL;
15076|      0|        }
15077|   227k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
15078|   227k|        expr_ty atom_var;
15079|   227k|        if (
15080|   227k|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (15080:13): [True: 9.18k, False: 218k]
  ------------------
15081|   227k|        )
15082|  9.18k|        {
15083|  9.18k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
15084|  9.18k|            _res = atom_var;
15085|  9.18k|            goto done;
15086|  9.18k|        }
15087|   218k|        p->mark = _mark;
15088|   218k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15089|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
15090|   218k|    }
15091|   218k|    _res = NULL;
15092|   229k|  done:
15093|   229k|    p->level--;
15094|   229k|    return _res;
15095|   218k|}
parser.c:genexp_rule:
18396|  60.2k|{
18397|  60.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   120k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18397:9): [True: 0, False: 60.2k]
  |  Branch (18397:35): [True: 0, False: 60.2k]
  ------------------
18398|      0|        _Pypegen_stack_overflow(p);
18399|      0|    }
18400|  60.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (18400:9): [True: 0, False: 60.2k]
  ------------------
18401|      0|        p->level--;
18402|      0|        return NULL;
18403|      0|    }
18404|  60.2k|    expr_ty _res = NULL;
18405|  60.2k|    int _mark = p->mark;
18406|  60.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18406:9): [True: 0, False: 60.2k]
  |  Branch (18406:31): [True: 0, False: 0]
  ------------------
18407|      0|        p->error_indicator = 1;
18408|      0|        p->level--;
18409|      0|        return NULL;
18410|      0|    }
18411|  60.2k|    int _start_lineno = p->tokens[_mark]->lineno;
18412|  60.2k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  60.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 60.2k]
  |  |  ------------------
  ------------------
18413|  60.2k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18414|  60.2k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  60.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 60.2k]
  |  |  ------------------
  ------------------
18415|  60.2k|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18416|  60.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18416:13): [True: 0, False: 60.2k]
  ------------------
18417|      0|            p->level--;
18418|      0|            return NULL;
18419|      0|        }
18420|  60.2k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18421|  60.2k|        Token * _literal;
18422|  60.2k|        Token * _literal_1;
18423|  60.2k|        void *a;
18424|  60.2k|        asdl_comprehension_seq* b;
18425|  60.2k|        if (
18426|  60.2k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18426:13): [True: 1.34k, False: 58.8k]
  ------------------
18427|  1.34k|            &&
18428|  1.34k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18428:13): [True: 1.21k, False: 130]
  ------------------
18429|  1.21k|            &&
18430|  1.21k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18430:13): [True: 0, False: 1.21k]
  ------------------
18431|      0|            &&
18432|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18432:13): [True: 0, False: 0]
  ------------------
18433|  60.2k|        )
18434|      0|        {
18435|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18436|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18437|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18437:17): [True: 0, False: 0]
  ------------------
18438|      0|                p->level--;
18439|      0|                return NULL;
18440|      0|            }
18441|      0|            int _end_lineno = _token->end_lineno;
18442|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18443|      0|            int _end_col_offset = _token->end_col_offset;
18444|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18445|      0|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18446|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18446:18): [True: 0, False: 0]
  |  Branch (18446:34): [True: 0, False: 0]
  |  Branch (18446:57): [True: 0, False: 0]
  ------------------
18447|      0|                p->error_indicator = 1;
18448|      0|                p->level--;
18449|      0|                return NULL;
18450|      0|            }
18451|      0|            goto done;
18452|      0|        }
18453|  60.2k|        p->mark = _mark;
18454|  60.2k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18455|  60.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18456|  60.2k|    }
18457|  60.2k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18457:9): [True: 54.1k, False: 6.05k]
  ------------------
18458|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18458:13): [True: 0, False: 54.1k]
  ------------------
18459|      0|            p->level--;
18460|      0|            return NULL;
18461|      0|        }
18462|  54.1k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18463|  54.1k|        void *invalid_comprehension_var;
18464|  54.1k|        if (
18465|  54.1k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18465:13): [True: 0, False: 54.1k]
  ------------------
18466|  54.1k|        )
18467|      0|        {
18468|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18469|      0|            _res = invalid_comprehension_var;
18470|      0|            goto done;
18471|      0|        }
18472|  54.1k|        p->mark = _mark;
18473|  54.1k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18474|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18475|  54.1k|    }
18476|  60.2k|    _res = NULL;
18477|  60.2k|  done:
18478|  60.2k|    p->level--;
18479|  60.2k|    return _res;
18480|  60.2k|}
parser.c:_tmp_89_rule:
34024|  1.34k|{
34025|  1.34k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.68k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34025:9): [True: 0, False: 1.34k]
  |  Branch (34025:35): [True: 0, False: 1.34k]
  ------------------
34026|      0|        _Pypegen_stack_overflow(p);
34027|      0|    }
34028|  1.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (34028:9): [True: 0, False: 1.34k]
  ------------------
34029|      0|        p->level--;
34030|      0|        return NULL;
34031|      0|    }
34032|  1.34k|    void * _res = NULL;
34033|  1.34k|    int _mark = p->mark;
34034|  1.34k|    { // assignment_expression
34035|  1.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (34035:13): [True: 0, False: 1.34k]
  ------------------
34036|      0|            p->level--;
34037|      0|            return NULL;
34038|      0|        }
34039|  1.34k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34040|  1.34k|        expr_ty assignment_expression_var;
34041|  1.34k|        if (
34042|  1.34k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (34042:13): [True: 0, False: 1.34k]
  ------------------
34043|  1.34k|        )
34044|      0|        {
34045|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34046|      0|            _res = assignment_expression_var;
34047|      0|            goto done;
34048|      0|        }
34049|  1.34k|        p->mark = _mark;
34050|  1.34k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34051|  1.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
34052|  1.34k|    }
34053|      0|    { // expression !':='
34054|  1.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (34054:13): [True: 0, False: 1.34k]
  ------------------
34055|      0|            p->level--;
34056|      0|            return NULL;
34057|      0|        }
34058|  1.34k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34059|  1.34k|        expr_ty expression_var;
34060|  1.34k|        if (
34061|  1.34k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (34061:13): [True: 1.20k, False: 132]
  ------------------
34062|  1.20k|            &&
34063|  1.20k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (34063:13): [True: 1.20k, False: 0]
  ------------------
34064|  1.34k|        )
34065|  1.20k|        {
34066|  1.20k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34067|  1.20k|            _res = expression_var;
34068|  1.20k|            goto done;
34069|  1.20k|        }
34070|    132|        p->mark = _mark;
34071|    132|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34072|    132|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
34073|    132|    }
34074|      0|    { // starred_expression
34075|    132|        if (p->error_indicator) {
  ------------------
  |  Branch (34075:13): [True: 0, False: 132]
  ------------------
34076|      0|            p->level--;
34077|      0|            return NULL;
34078|      0|        }
34079|    132|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34080|    132|        expr_ty starred_expression_var;
34081|    132|        if (
34082|    132|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (34082:13): [True: 2, False: 130]
  ------------------
34083|    132|        )
34084|      2|        {
34085|      2|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34086|      2|            _res = starred_expression_var;
34087|      2|            goto done;
34088|      2|        }
34089|    130|        p->mark = _mark;
34090|    130|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34091|    130|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
34092|    130|    }
34093|    130|    _res = NULL;
34094|  1.34k|  done:
34095|  1.34k|    p->level--;
34096|  1.34k|    return _res;
34097|    130|}
parser.c:starred_expression_rule:
18865|  1.57k|{
18866|  1.57k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18866:9): [True: 0, False: 1.57k]
  |  Branch (18866:35): [True: 0, False: 1.57k]
  ------------------
18867|      0|        _Pypegen_stack_overflow(p);
18868|      0|    }
18869|  1.57k|    if (p->error_indicator) {
  ------------------
  |  Branch (18869:9): [True: 0, False: 1.57k]
  ------------------
18870|      0|        p->level--;
18871|      0|        return NULL;
18872|      0|    }
18873|  1.57k|    expr_ty _res = NULL;
18874|  1.57k|    int _mark = p->mark;
18875|  1.57k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18875:9): [True: 468, False: 1.11k]
  |  Branch (18875:31): [True: 0, False: 468]
  ------------------
18876|      0|        p->error_indicator = 1;
18877|      0|        p->level--;
18878|      0|        return NULL;
18879|      0|    }
18880|  1.57k|    int _start_lineno = p->tokens[_mark]->lineno;
18881|  1.57k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
18882|  1.57k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18883|  1.57k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
18884|  1.57k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18884:9): [True: 0, False: 1.57k]
  ------------------
18885|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18885:13): [True: 0, False: 0]
  ------------------
18886|      0|            p->level--;
18887|      0|            return NULL;
18888|      0|        }
18889|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18890|      0|        void *invalid_starred_expression_unpacking_var;
18891|      0|        if (
18892|      0|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18892:13): [True: 0, False: 0]
  ------------------
18893|      0|        )
18894|      0|        {
18895|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18896|      0|            _res = invalid_starred_expression_unpacking_var;
18897|      0|            goto done;
18898|      0|        }
18899|      0|        p->mark = _mark;
18900|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18901|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18902|      0|    }
18903|  1.57k|    { // '*' expression
18904|  1.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (18904:13): [True: 0, False: 1.57k]
  ------------------
18905|      0|            p->level--;
18906|      0|            return NULL;
18907|      0|        }
18908|  1.57k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18909|  1.57k|        Token * _literal;
18910|  1.57k|        expr_ty a;
18911|  1.57k|        if (
18912|  1.57k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18912:13): [True: 6, False: 1.57k]
  ------------------
18913|      6|            &&
18914|      6|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18914:13): [True: 6, False: 0]
  ------------------
18915|  1.57k|        )
18916|      6|        {
18917|      6|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18918|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18919|      6|            if (_token == NULL) {
  ------------------
  |  Branch (18919:17): [True: 0, False: 6]
  ------------------
18920|      0|                p->level--;
18921|      0|                return NULL;
18922|      0|            }
18923|      6|            int _end_lineno = _token->end_lineno;
18924|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
18925|      6|            int _end_col_offset = _token->end_col_offset;
18926|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
18927|      6|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18928|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18928:18): [True: 0, False: 6]
  |  Branch (18928:34): [True: 0, False: 6]
  |  Branch (18928:57): [True: 0, False: 0]
  ------------------
18929|      0|                p->error_indicator = 1;
18930|      0|                p->level--;
18931|      0|                return NULL;
18932|      0|            }
18933|      6|            goto done;
18934|      6|        }
18935|  1.57k|        p->mark = _mark;
18936|  1.57k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18937|  1.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18938|  1.57k|    }
18939|  1.57k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18939:9): [True: 0, False: 1.57k]
  ------------------
18940|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18940:13): [True: 0, False: 0]
  ------------------
18941|      0|            p->level--;
18942|      0|            return NULL;
18943|      0|        }
18944|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18945|      0|        void *invalid_starred_expression_var;
18946|      0|        if (
18947|      0|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  Branch (18947:13): [True: 0, False: 0]
  ------------------
18948|      0|        )
18949|      0|        {
18950|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18951|      0|            _res = invalid_starred_expression_var;
18952|      0|            goto done;
18953|      0|        }
18954|      0|        p->mark = _mark;
18955|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18956|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18957|      0|    }
18958|  1.57k|    _res = NULL;
18959|  1.57k|  done:
18960|  1.57k|    p->level--;
18961|  1.57k|    return _res;
18962|  1.57k|}
parser.c:if_expression_rule:
11698|   222k|{
11699|   222k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   444k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11699:9): [True: 0, False: 222k]
  |  Branch (11699:35): [True: 0, False: 222k]
  ------------------
11700|      0|        _Pypegen_stack_overflow(p);
11701|      0|    }
11702|   222k|    if (p->error_indicator) {
  ------------------
  |  Branch (11702:9): [True: 0, False: 222k]
  ------------------
11703|      0|        p->level--;
11704|      0|        return NULL;
11705|      0|    }
11706|   222k|    expr_ty _res = NULL;
11707|   222k|    int _mark = p->mark;
11708|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11708:9): [True: 0, False: 222k]
  |  Branch (11708:31): [True: 0, False: 0]
  ------------------
11709|      0|        p->error_indicator = 1;
11710|      0|        p->level--;
11711|      0|        return NULL;
11712|      0|    }
11713|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
11714|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
11715|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11716|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
11717|   222k|    { // disjunction 'if' disjunction 'else' expression
11718|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (11718:13): [True: 0, False: 222k]
  ------------------
11719|      0|            p->level--;
11720|      0|            return NULL;
11721|      0|        }
11722|   222k|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11723|   222k|        Token * _keyword;
11724|   222k|        Token * _keyword_1;
11725|   222k|        expr_ty a;
11726|   222k|        expr_ty b;
11727|   222k|        expr_ty c;
11728|   222k|        if (
11729|   222k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11729:13): [True: 3.89k, False: 218k]
  ------------------
11730|  3.89k|            &&
11731|  3.89k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (11731:13): [True: 10, False: 3.88k]
  ------------------
11732|     10|            &&
11733|     10|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11733:13): [True: 10, False: 0]
  ------------------
11734|     10|            &&
11735|     10|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (11735:13): [True: 10, False: 0]
  ------------------
11736|     10|            &&
11737|     10|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (11737:13): [True: 10, False: 0]
  ------------------
11738|   222k|        )
11739|     10|        {
11740|     10|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11741|     10|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11742|     10|            if (_token == NULL) {
  ------------------
  |  Branch (11742:17): [True: 0, False: 10]
  ------------------
11743|      0|                p->level--;
11744|      0|                return NULL;
11745|      0|            }
11746|     10|            int _end_lineno = _token->end_lineno;
11747|     10|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     10|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 10]
  |  |  ------------------
  ------------------
11748|     10|            int _end_col_offset = _token->end_col_offset;
11749|     10|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     10|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 10]
  |  |  ------------------
  ------------------
11750|     10|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  269|     10|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11751|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11751:18): [True: 0, False: 10]
  |  Branch (11751:34): [True: 0, False: 10]
  |  Branch (11751:57): [True: 0, False: 0]
  ------------------
11752|      0|                p->error_indicator = 1;
11753|      0|                p->level--;
11754|      0|                return NULL;
11755|      0|            }
11756|     10|            goto done;
11757|     10|        }
11758|   222k|        p->mark = _mark;
11759|   222k|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11760|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11761|   222k|    }
11762|   222k|    _res = NULL;
11763|   222k|  done:
11764|   222k|    p->level--;
11765|   222k|    return _res;
11766|   222k|}
parser.c:disjunction_rule:
12476|   986k|{
12477|   986k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.97M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12477:9): [True: 0, False: 986k]
  |  Branch (12477:35): [True: 0, False: 986k]
  ------------------
12478|      0|        _Pypegen_stack_overflow(p);
12479|      0|    }
12480|   986k|    if (p->error_indicator) {
  ------------------
  |  Branch (12480:9): [True: 0, False: 986k]
  ------------------
12481|      0|        p->level--;
12482|      0|        return NULL;
12483|      0|    }
12484|   986k|    expr_ty _res = NULL;
12485|   986k|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  209|   986k|#define disjunction_type 1120
  ------------------
  |  Branch (12485:9): [True: 763k, False: 222k]
  ------------------
12486|   763k|        p->level--;
12487|   763k|        return _res;
12488|   763k|    }
12489|   222k|    int _mark = p->mark;
12490|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12490:9): [True: 0, False: 222k]
  |  Branch (12490:31): [True: 0, False: 0]
  ------------------
12491|      0|        p->error_indicator = 1;
12492|      0|        p->level--;
12493|      0|        return NULL;
12494|      0|    }
12495|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
12496|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12497|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12498|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12499|   222k|    { // conjunction (('or' conjunction))+
12500|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12500:13): [True: 0, False: 222k]
  ------------------
12501|      0|            p->level--;
12502|      0|            return NULL;
12503|      0|        }
12504|   222k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12505|   222k|        expr_ty a;
12506|   222k|        asdl_seq * b;
12507|   222k|        if (
12508|   222k|            (a = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12508:13): [True: 3.90k, False: 218k]
  ------------------
12509|  3.90k|            &&
12510|  3.90k|            (b = _loop1_61_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12510:13): [True: 56, False: 3.84k]
  ------------------
12511|   222k|        )
12512|     56|        {
12513|     56|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12514|     56|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12515|     56|            if (_token == NULL) {
  ------------------
  |  Branch (12515:17): [True: 0, False: 56]
  ------------------
12516|      0|                p->level--;
12517|      0|                return NULL;
12518|      0|            }
12519|     56|            int _end_lineno = _token->end_lineno;
12520|     56|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     56|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56]
  |  |  ------------------
  ------------------
12521|     56|            int _end_col_offset = _token->end_col_offset;
12522|     56|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     56|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56]
  |  |  ------------------
  ------------------
12523|     56|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  233|     56|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  269|     56|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12524|     56|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12524:18): [True: 0, False: 56]
  |  Branch (12524:34): [True: 0, False: 56]
  |  Branch (12524:57): [True: 0, False: 0]
  ------------------
12525|      0|                p->error_indicator = 1;
12526|      0|                p->level--;
12527|      0|                return NULL;
12528|      0|            }
12529|     56|            goto done;
12530|     56|        }
12531|   222k|        p->mark = _mark;
12532|   222k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12533|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12534|   222k|    }
12535|      0|    { // conjunction
12536|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12536:13): [True: 0, False: 222k]
  ------------------
12537|      0|            p->level--;
12538|      0|            return NULL;
12539|      0|        }
12540|   222k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12541|   222k|        expr_ty conjunction_var;
12542|   222k|        if (
12543|   222k|            (conjunction_var = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12543:13): [True: 3.84k, False: 218k]
  ------------------
12544|   222k|        )
12545|  3.84k|        {
12546|  3.84k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12547|  3.84k|            _res = conjunction_var;
12548|  3.84k|            goto done;
12549|  3.84k|        }
12550|   218k|        p->mark = _mark;
12551|   218k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12552|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12553|   218k|    }
12554|   218k|    _res = NULL;
12555|   222k|  done:
12556|   222k|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  209|   222k|#define disjunction_type 1120
  ------------------
12557|   222k|    p->level--;
12558|   222k|    return _res;
12559|   218k|}
parser.c:conjunction_rule:
12564|   444k|{
12565|   444k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   888k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12565:9): [True: 0, False: 444k]
  |  Branch (12565:35): [True: 0, False: 444k]
  ------------------
12566|      0|        _Pypegen_stack_overflow(p);
12567|      0|    }
12568|   444k|    if (p->error_indicator) {
  ------------------
  |  Branch (12568:9): [True: 0, False: 444k]
  ------------------
12569|      0|        p->level--;
12570|      0|        return NULL;
12571|      0|    }
12572|   444k|    expr_ty _res = NULL;
12573|   444k|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  210|   444k|#define conjunction_type 1121
  ------------------
  |  Branch (12573:9): [True: 222k, False: 222k]
  ------------------
12574|   222k|        p->level--;
12575|   222k|        return _res;
12576|   222k|    }
12577|   222k|    int _mark = p->mark;
12578|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12578:9): [True: 0, False: 222k]
  |  Branch (12578:31): [True: 0, False: 0]
  ------------------
12579|      0|        p->error_indicator = 1;
12580|      0|        p->level--;
12581|      0|        return NULL;
12582|      0|    }
12583|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
12584|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12585|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12586|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12587|   222k|    { // inversion (('and' inversion))+
12588|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12588:13): [True: 0, False: 222k]
  ------------------
12589|      0|            p->level--;
12590|      0|            return NULL;
12591|      0|        }
12592|   222k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12593|   222k|        expr_ty a;
12594|   222k|        asdl_seq * b;
12595|   222k|        if (
12596|   222k|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12596:13): [True: 3.95k, False: 218k]
  ------------------
12597|  3.95k|            &&
12598|  3.95k|            (b = _loop1_62_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12598:13): [True: 50, False: 3.90k]
  ------------------
12599|   222k|        )
12600|     50|        {
12601|     50|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12602|     50|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12603|     50|            if (_token == NULL) {
  ------------------
  |  Branch (12603:17): [True: 0, False: 50]
  ------------------
12604|      0|                p->level--;
12605|      0|                return NULL;
12606|      0|            }
12607|     50|            int _end_lineno = _token->end_lineno;
12608|     50|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
12609|     50|            int _end_col_offset = _token->end_col_offset;
12610|     50|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
12611|     50|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  233|     50|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  269|     50|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12612|     50|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12612:18): [True: 0, False: 50]
  |  Branch (12612:34): [True: 0, False: 50]
  |  Branch (12612:57): [True: 0, False: 0]
  ------------------
12613|      0|                p->error_indicator = 1;
12614|      0|                p->level--;
12615|      0|                return NULL;
12616|      0|            }
12617|     50|            goto done;
12618|     50|        }
12619|   222k|        p->mark = _mark;
12620|   222k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12621|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12622|   222k|    }
12623|      0|    { // inversion
12624|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12624:13): [True: 0, False: 222k]
  ------------------
12625|      0|            p->level--;
12626|      0|            return NULL;
12627|      0|        }
12628|   222k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12629|   222k|        expr_ty inversion_var;
12630|   222k|        if (
12631|   222k|            (inversion_var = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12631:13): [True: 3.90k, False: 218k]
  ------------------
12632|   222k|        )
12633|  3.90k|        {
12634|  3.90k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12635|  3.90k|            _res = inversion_var;
12636|  3.90k|            goto done;
12637|  3.90k|        }
12638|   218k|        p->mark = _mark;
12639|   218k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12640|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12641|   218k|    }
12642|   218k|    _res = NULL;
12643|   222k|  done:
12644|   222k|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  210|   222k|#define conjunction_type 1121
  ------------------
12645|   222k|    p->level--;
12646|   222k|    return _res;
12647|   218k|}
parser.c:inversion_rule:
12652|   444k|{
12653|   444k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   889k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12653:9): [True: 0, False: 444k]
  |  Branch (12653:35): [True: 0, False: 444k]
  ------------------
12654|      0|        _Pypegen_stack_overflow(p);
12655|      0|    }
12656|   444k|    if (p->error_indicator) {
  ------------------
  |  Branch (12656:9): [True: 0, False: 444k]
  ------------------
12657|      0|        p->level--;
12658|      0|        return NULL;
12659|      0|    }
12660|   444k|    expr_ty _res = NULL;
12661|   444k|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  211|   444k|#define inversion_type 1122
  ------------------
  |  Branch (12661:9): [True: 222k, False: 222k]
  ------------------
12662|   222k|        p->level--;
12663|   222k|        return _res;
12664|   222k|    }
12665|   222k|    int _mark = p->mark;
12666|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12666:9): [True: 0, False: 222k]
  |  Branch (12666:31): [True: 0, False: 0]
  ------------------
12667|      0|        p->error_indicator = 1;
12668|      0|        p->level--;
12669|      0|        return NULL;
12670|      0|    }
12671|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
12672|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12673|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12674|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12675|   222k|    { // 'not' inversion
12676|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12676:13): [True: 0, False: 222k]
  ------------------
12677|      0|            p->level--;
12678|      0|            return NULL;
12679|      0|        }
12680|   222k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12681|   222k|        Token * _keyword;
12682|   222k|        expr_ty a;
12683|   222k|        if (
12684|   222k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (12684:13): [True: 2, False: 222k]
  ------------------
12685|      2|            &&
12686|      2|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12686:13): [True: 2, False: 0]
  ------------------
12687|   222k|        )
12688|      2|        {
12689|      2|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12690|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12691|      2|            if (_token == NULL) {
  ------------------
  |  Branch (12691:17): [True: 0, False: 2]
  ------------------
12692|      0|                p->level--;
12693|      0|                return NULL;
12694|      0|            }
12695|      2|            int _end_lineno = _token->end_lineno;
12696|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
12697|      2|            int _end_col_offset = _token->end_col_offset;
12698|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
12699|      2|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12700|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12700:18): [True: 0, False: 2]
  |  Branch (12700:34): [True: 0, False: 2]
  |  Branch (12700:57): [True: 0, False: 0]
  ------------------
12701|      0|                p->error_indicator = 1;
12702|      0|                p->level--;
12703|      0|                return NULL;
12704|      0|            }
12705|      2|            goto done;
12706|      2|        }
12707|   222k|        p->mark = _mark;
12708|   222k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12709|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12710|   222k|    }
12711|      0|    { // comparison
12712|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12712:13): [True: 0, False: 222k]
  ------------------
12713|      0|            p->level--;
12714|      0|            return NULL;
12715|      0|        }
12716|   222k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12717|   222k|        expr_ty comparison_var;
12718|   222k|        if (
12719|   222k|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12719:13): [True: 4.12k, False: 218k]
  ------------------
12720|   222k|        )
12721|  4.12k|        {
12722|  4.12k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12723|  4.12k|            _res = comparison_var;
12724|  4.12k|            goto done;
12725|  4.12k|        }
12726|   218k|        p->mark = _mark;
12727|   218k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12728|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12729|   218k|    }
12730|   218k|    _res = NULL;
12731|   222k|  done:
12732|   222k|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  211|   222k|#define inversion_type 1122
  ------------------
12733|   222k|    p->level--;
12734|   222k|    return _res;
12735|   218k|}
parser.c:comparison_rule:
12740|   222k|{
12741|   222k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   444k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12741:9): [True: 0, False: 222k]
  |  Branch (12741:35): [True: 0, False: 222k]
  ------------------
12742|      0|        _Pypegen_stack_overflow(p);
12743|      0|    }
12744|   222k|    if (p->error_indicator) {
  ------------------
  |  Branch (12744:9): [True: 0, False: 222k]
  ------------------
12745|      0|        p->level--;
12746|      0|        return NULL;
12747|      0|    }
12748|   222k|    expr_ty _res = NULL;
12749|   222k|    int _mark = p->mark;
12750|   222k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12750:9): [True: 0, False: 222k]
  |  Branch (12750:31): [True: 0, False: 0]
  ------------------
12751|      0|        p->error_indicator = 1;
12752|      0|        p->level--;
12753|      0|        return NULL;
12754|      0|    }
12755|   222k|    int _start_lineno = p->tokens[_mark]->lineno;
12756|   222k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12757|   222k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12758|   222k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   222k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 222k]
  |  |  ------------------
  ------------------
12759|   222k|    { // bitwise_or compare_op_bitwise_or_pair+
12760|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (12760:13): [True: 0, False: 222k]
  ------------------
12761|      0|            p->level--;
12762|      0|            return NULL;
12763|      0|        }
12764|   222k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12765|   222k|        expr_ty a;
12766|   222k|        asdl_seq * b;
12767|   222k|        if (
12768|   222k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12768:13): [True: 4.12k, False: 218k]
  ------------------
12769|  4.12k|            &&
12770|  4.12k|            (b = _loop1_63_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12770:13): [True: 434, False: 3.69k]
  ------------------
12771|   222k|        )
12772|    434|        {
12773|    434|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12774|    434|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12775|    434|            if (_token == NULL) {
  ------------------
  |  Branch (12775:17): [True: 0, False: 434]
  ------------------
12776|      0|                p->level--;
12777|      0|                return NULL;
12778|      0|            }
12779|    434|            int _end_lineno = _token->end_lineno;
12780|    434|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    434|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 434]
  |  |  ------------------
  ------------------
12781|    434|            int _end_col_offset = _token->end_col_offset;
12782|    434|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    434|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 434]
  |  |  ------------------
  ------------------
12783|    434|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  233|    434|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  233|    434|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  269|    434|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12784|    434|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12784:18): [True: 0, False: 434]
  |  Branch (12784:34): [True: 0, False: 434]
  |  Branch (12784:57): [True: 0, False: 0]
  ------------------
12785|      0|                p->error_indicator = 1;
12786|      0|                p->level--;
12787|      0|                return NULL;
12788|      0|            }
12789|    434|            goto done;
12790|    434|        }
12791|   221k|        p->mark = _mark;
12792|   221k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12793|   221k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12794|   221k|    }
12795|      0|    { // bitwise_or
12796|   221k|        if (p->error_indicator) {
  ------------------
  |  Branch (12796:13): [True: 0, False: 221k]
  ------------------
12797|      0|            p->level--;
12798|      0|            return NULL;
12799|      0|        }
12800|   221k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12801|   221k|        expr_ty bitwise_or_var;
12802|   221k|        if (
12803|   221k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12803:13): [True: 3.69k, False: 218k]
  ------------------
12804|   221k|        )
12805|  3.69k|        {
12806|  3.69k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12807|  3.69k|            _res = bitwise_or_var;
12808|  3.69k|            goto done;
12809|  3.69k|        }
12810|   218k|        p->mark = _mark;
12811|   218k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12812|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12813|   218k|    }
12814|   218k|    _res = NULL;
12815|   222k|  done:
12816|   222k|    p->level--;
12817|   222k|    return _res;
12818|   218k|}
parser.c:_loop1_63_rule:
32327|  4.12k|{
32328|  4.12k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.25k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32328:9): [True: 0, False: 4.12k]
  |  Branch (32328:35): [True: 0, False: 4.12k]
  ------------------
32329|      0|        _Pypegen_stack_overflow(p);
32330|      0|    }
32331|  4.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (32331:9): [True: 0, False: 4.12k]
  ------------------
32332|      0|        p->level--;
32333|      0|        return NULL;
32334|      0|    }
32335|  4.12k|    void *_res = NULL;
32336|  4.12k|    int _mark = p->mark;
32337|  4.12k|    void **_children = PyMem_Malloc(sizeof(void *));
32338|  4.12k|    if (!_children) {
  ------------------
  |  Branch (32338:9): [True: 0, False: 4.12k]
  ------------------
32339|      0|        p->error_indicator = 1;
32340|      0|        PyErr_NoMemory();
32341|      0|        p->level--;
32342|      0|        return NULL;
32343|      0|    }
32344|  4.12k|    Py_ssize_t _children_capacity = 1;
32345|  4.12k|    Py_ssize_t _n = 0;
32346|  4.12k|    { // compare_op_bitwise_or_pair
32347|  4.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (32347:13): [True: 0, False: 4.12k]
  ------------------
32348|      0|            p->level--;
32349|      0|            return NULL;
32350|      0|        }
32351|  4.12k|        D(fprintf(stderr, "%*c> _loop1_63[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
32352|  4.12k|        CmpopExprPair* compare_op_bitwise_or_pair_var;
32353|  4.12k|        while (
32354|  4.56k|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (32354:13): [True: 436, False: 4.12k]
  ------------------
32355|  4.12k|        )
32356|    436|        {
32357|    436|            _res = compare_op_bitwise_or_pair_var;
32358|    436|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32358:17): [True: 2, False: 434]
  ------------------
32359|      2|                _children_capacity *= 2;
32360|      2|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32361|      2|                if (!_new_children) {
  ------------------
  |  Branch (32361:21): [True: 0, False: 2]
  ------------------
32362|      0|                    PyMem_Free(_children);
32363|      0|                    p->error_indicator = 1;
32364|      0|                    PyErr_NoMemory();
32365|      0|                    p->level--;
32366|      0|                    return NULL;
32367|      0|                }
32368|      2|                _children = _new_children;
32369|      2|            }
32370|    436|            _children[_n++] = _res;
32371|    436|            _mark = p->mark;
32372|    436|        }
32373|  4.12k|        p->mark = _mark;
32374|  4.12k|        D(fprintf(stderr, "%*c%s _loop1_63[%d-%d]: %s failed!\n", p->level, ' ',
32375|  4.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
32376|  4.12k|    }
32377|  4.12k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32377:9): [True: 3.69k, False: 434]
  |  Branch (32377:20): [True: 0, False: 434]
  ------------------
32378|  3.69k|        PyMem_Free(_children);
32379|  3.69k|        p->level--;
32380|  3.69k|        return NULL;
32381|  3.69k|    }
32382|    434|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32383|    434|    if (!_seq) {
  ------------------
  |  Branch (32383:9): [True: 0, False: 434]
  ------------------
32384|      0|        PyMem_Free(_children);
32385|      0|        p->error_indicator = 1;
32386|      0|        PyErr_NoMemory();
32387|      0|        p->level--;
32388|      0|        return NULL;
32389|      0|    }
32390|    870|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    436|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    870|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32390:28): [True: 436, False: 434]
  ------------------
32391|    434|    PyMem_Free(_children);
32392|    434|    p->level--;
32393|    434|    return _seq;
32394|    434|}
parser.c:compare_op_bitwise_or_pair_rule:
12833|  4.56k|{
12834|  4.56k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12834:9): [True: 0, False: 4.56k]
  |  Branch (12834:35): [True: 0, False: 4.56k]
  ------------------
12835|      0|        _Pypegen_stack_overflow(p);
12836|      0|    }
12837|  4.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (12837:9): [True: 0, False: 4.56k]
  ------------------
12838|      0|        p->level--;
12839|      0|        return NULL;
12840|      0|    }
12841|  4.56k|    CmpopExprPair* _res = NULL;
12842|  4.56k|    int _mark = p->mark;
12843|  4.56k|    { // eq_bitwise_or
12844|  4.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (12844:13): [True: 0, False: 4.56k]
  ------------------
12845|      0|            p->level--;
12846|      0|            return NULL;
12847|      0|        }
12848|  4.56k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12849|  4.56k|        CmpopExprPair* eq_bitwise_or_var;
12850|  4.56k|        if (
12851|  4.56k|            (eq_bitwise_or_var = eq_bitwise_or_rule(p))  // eq_bitwise_or
  ------------------
  |  Branch (12851:13): [True: 220, False: 4.34k]
  ------------------
12852|  4.56k|        )
12853|    220|        {
12854|    220|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12855|    220|            _res = eq_bitwise_or_var;
12856|    220|            goto done;
12857|    220|        }
12858|  4.34k|        p->mark = _mark;
12859|  4.34k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12860|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "eq_bitwise_or"));
12861|  4.34k|    }
12862|      0|    { // noteq_bitwise_or
12863|  4.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (12863:13): [True: 0, False: 4.34k]
  ------------------
12864|      0|            p->level--;
12865|      0|            return NULL;
12866|      0|        }
12867|  4.34k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12868|  4.34k|        CmpopExprPair* noteq_bitwise_or_var;
12869|  4.34k|        if (
12870|  4.34k|            (noteq_bitwise_or_var = noteq_bitwise_or_rule(p))  // noteq_bitwise_or
  ------------------
  |  Branch (12870:13): [True: 0, False: 4.34k]
  ------------------
12871|  4.34k|        )
12872|      0|        {
12873|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12874|      0|            _res = noteq_bitwise_or_var;
12875|      0|            goto done;
12876|      0|        }
12877|  4.34k|        p->mark = _mark;
12878|  4.34k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12879|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "noteq_bitwise_or"));
12880|  4.34k|    }
12881|      0|    { // lte_bitwise_or
12882|  4.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (12882:13): [True: 0, False: 4.34k]
  ------------------
12883|      0|            p->level--;
12884|      0|            return NULL;
12885|      0|        }
12886|  4.34k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12887|  4.34k|        CmpopExprPair* lte_bitwise_or_var;
12888|  4.34k|        if (
12889|  4.34k|            (lte_bitwise_or_var = lte_bitwise_or_rule(p))  // lte_bitwise_or
  ------------------
  |  Branch (12889:13): [True: 6, False: 4.33k]
  ------------------
12890|  4.34k|        )
12891|      6|        {
12892|      6|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12893|      6|            _res = lte_bitwise_or_var;
12894|      6|            goto done;
12895|      6|        }
12896|  4.33k|        p->mark = _mark;
12897|  4.33k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12898|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lte_bitwise_or"));
12899|  4.33k|    }
12900|      0|    { // lt_bitwise_or
12901|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (12901:13): [True: 0, False: 4.33k]
  ------------------
12902|      0|            p->level--;
12903|      0|            return NULL;
12904|      0|        }
12905|  4.33k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12906|  4.33k|        CmpopExprPair* lt_bitwise_or_var;
12907|  4.33k|        if (
12908|  4.33k|            (lt_bitwise_or_var = lt_bitwise_or_rule(p))  // lt_bitwise_or
  ------------------
  |  Branch (12908:13): [True: 2, False: 4.33k]
  ------------------
12909|  4.33k|        )
12910|      2|        {
12911|      2|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12912|      2|            _res = lt_bitwise_or_var;
12913|      2|            goto done;
12914|      2|        }
12915|  4.33k|        p->mark = _mark;
12916|  4.33k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12917|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lt_bitwise_or"));
12918|  4.33k|    }
12919|      0|    { // gte_bitwise_or
12920|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (12920:13): [True: 0, False: 4.33k]
  ------------------
12921|      0|            p->level--;
12922|      0|            return NULL;
12923|      0|        }
12924|  4.33k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12925|  4.33k|        CmpopExprPair* gte_bitwise_or_var;
12926|  4.33k|        if (
12927|  4.33k|            (gte_bitwise_or_var = gte_bitwise_or_rule(p))  // gte_bitwise_or
  ------------------
  |  Branch (12927:13): [True: 0, False: 4.33k]
  ------------------
12928|  4.33k|        )
12929|      0|        {
12930|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12931|      0|            _res = gte_bitwise_or_var;
12932|      0|            goto done;
12933|      0|        }
12934|  4.33k|        p->mark = _mark;
12935|  4.33k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12936|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gte_bitwise_or"));
12937|  4.33k|    }
12938|      0|    { // gt_bitwise_or
12939|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (12939:13): [True: 0, False: 4.33k]
  ------------------
12940|      0|            p->level--;
12941|      0|            return NULL;
12942|      0|        }
12943|  4.33k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12944|  4.33k|        CmpopExprPair* gt_bitwise_or_var;
12945|  4.33k|        if (
12946|  4.33k|            (gt_bitwise_or_var = gt_bitwise_or_rule(p))  // gt_bitwise_or
  ------------------
  |  Branch (12946:13): [True: 0, False: 4.33k]
  ------------------
12947|  4.33k|        )
12948|      0|        {
12949|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12950|      0|            _res = gt_bitwise_or_var;
12951|      0|            goto done;
12952|      0|        }
12953|  4.33k|        p->mark = _mark;
12954|  4.33k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12955|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gt_bitwise_or"));
12956|  4.33k|    }
12957|      0|    { // notin_bitwise_or
12958|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (12958:13): [True: 0, False: 4.33k]
  ------------------
12959|      0|            p->level--;
12960|      0|            return NULL;
12961|      0|        }
12962|  4.33k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12963|  4.33k|        CmpopExprPair* notin_bitwise_or_var;
12964|  4.33k|        if (
12965|  4.33k|            (notin_bitwise_or_var = notin_bitwise_or_rule(p))  // notin_bitwise_or
  ------------------
  |  Branch (12965:13): [True: 0, False: 4.33k]
  ------------------
12966|  4.33k|        )
12967|      0|        {
12968|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12969|      0|            _res = notin_bitwise_or_var;
12970|      0|            goto done;
12971|      0|        }
12972|  4.33k|        p->mark = _mark;
12973|  4.33k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12974|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "notin_bitwise_or"));
12975|  4.33k|    }
12976|      0|    { // in_bitwise_or
12977|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (12977:13): [True: 0, False: 4.33k]
  ------------------
12978|      0|            p->level--;
12979|      0|            return NULL;
12980|      0|        }
12981|  4.33k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12982|  4.33k|        CmpopExprPair* in_bitwise_or_var;
12983|  4.33k|        if (
12984|  4.33k|            (in_bitwise_or_var = in_bitwise_or_rule(p))  // in_bitwise_or
  ------------------
  |  Branch (12984:13): [True: 48, False: 4.28k]
  ------------------
12985|  4.33k|        )
12986|     48|        {
12987|     48|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12988|     48|            _res = in_bitwise_or_var;
12989|     48|            goto done;
12990|     48|        }
12991|  4.28k|        p->mark = _mark;
12992|  4.28k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12993|  4.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "in_bitwise_or"));
12994|  4.28k|    }
12995|      0|    { // isnot_bitwise_or
12996|  4.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (12996:13): [True: 0, False: 4.28k]
  ------------------
12997|      0|            p->level--;
12998|      0|            return NULL;
12999|      0|        }
13000|  4.28k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13001|  4.28k|        CmpopExprPair* isnot_bitwise_or_var;
13002|  4.28k|        if (
13003|  4.28k|            (isnot_bitwise_or_var = isnot_bitwise_or_rule(p))  // isnot_bitwise_or
  ------------------
  |  Branch (13003:13): [True: 4, False: 4.28k]
  ------------------
13004|  4.28k|        )
13005|      4|        {
13006|      4|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13007|      4|            _res = isnot_bitwise_or_var;
13008|      4|            goto done;
13009|      4|        }
13010|  4.28k|        p->mark = _mark;
13011|  4.28k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13012|  4.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "isnot_bitwise_or"));
13013|  4.28k|    }
13014|      0|    { // is_bitwise_or
13015|  4.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (13015:13): [True: 0, False: 4.28k]
  ------------------
13016|      0|            p->level--;
13017|      0|            return NULL;
13018|      0|        }
13019|  4.28k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13020|  4.28k|        CmpopExprPair* is_bitwise_or_var;
13021|  4.28k|        if (
13022|  4.28k|            (is_bitwise_or_var = is_bitwise_or_rule(p))  // is_bitwise_or
  ------------------
  |  Branch (13022:13): [True: 156, False: 4.12k]
  ------------------
13023|  4.28k|        )
13024|    156|        {
13025|    156|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13026|    156|            _res = is_bitwise_or_var;
13027|    156|            goto done;
13028|    156|        }
13029|  4.12k|        p->mark = _mark;
13030|  4.12k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13031|  4.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "is_bitwise_or"));
13032|  4.12k|    }
13033|  4.12k|    _res = NULL;
13034|  4.56k|  done:
13035|  4.56k|    p->level--;
13036|  4.56k|    return _res;
13037|  4.12k|}
parser.c:eq_bitwise_or_rule:
13042|  4.56k|{
13043|  4.56k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13043:9): [True: 0, False: 4.56k]
  |  Branch (13043:35): [True: 0, False: 4.56k]
  ------------------
13044|      0|        _Pypegen_stack_overflow(p);
13045|      0|    }
13046|  4.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (13046:9): [True: 0, False: 4.56k]
  ------------------
13047|      0|        p->level--;
13048|      0|        return NULL;
13049|      0|    }
13050|  4.56k|    CmpopExprPair* _res = NULL;
13051|  4.56k|    int _mark = p->mark;
13052|  4.56k|    { // '==' bitwise_or
13053|  4.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (13053:13): [True: 0, False: 4.56k]
  ------------------
13054|      0|            p->level--;
13055|      0|            return NULL;
13056|      0|        }
13057|  4.56k|        D(fprintf(stderr, "%*c> eq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13058|  4.56k|        Token * _literal;
13059|  4.56k|        expr_ty a;
13060|  4.56k|        if (
13061|  4.56k|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (13061:13): [True: 220, False: 4.34k]
  ------------------
13062|    220|            &&
13063|    220|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13063:13): [True: 220, False: 0]
  ------------------
13064|  4.56k|        )
13065|    220|        {
13066|    220|            D(fprintf(stderr, "%*c+ eq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13067|    220|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
13068|    220|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13068:18): [True: 0, False: 220]
  |  Branch (13068:34): [True: 0, False: 220]
  |  Branch (13068:57): [True: 0, False: 0]
  ------------------
13069|      0|                p->error_indicator = 1;
13070|      0|                p->level--;
13071|      0|                return NULL;
13072|      0|            }
13073|    220|            goto done;
13074|    220|        }
13075|  4.34k|        p->mark = _mark;
13076|  4.34k|        D(fprintf(stderr, "%*c%s eq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13077|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
13078|  4.34k|    }
13079|  4.34k|    _res = NULL;
13080|  4.56k|  done:
13081|  4.56k|    p->level--;
13082|  4.56k|    return _res;
13083|  4.34k|}
parser.c:noteq_bitwise_or_rule:
13088|  4.34k|{
13089|  4.34k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.69k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13089:9): [True: 0, False: 4.34k]
  |  Branch (13089:35): [True: 0, False: 4.34k]
  ------------------
13090|      0|        _Pypegen_stack_overflow(p);
13091|      0|    }
13092|  4.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (13092:9): [True: 0, False: 4.34k]
  ------------------
13093|      0|        p->level--;
13094|      0|        return NULL;
13095|      0|    }
13096|  4.34k|    CmpopExprPair* _res = NULL;
13097|  4.34k|    int _mark = p->mark;
13098|  4.34k|    { // ('!=') bitwise_or
13099|  4.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (13099:13): [True: 0, False: 4.34k]
  ------------------
13100|      0|            p->level--;
13101|      0|            return NULL;
13102|      0|        }
13103|  4.34k|        D(fprintf(stderr, "%*c> noteq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13104|  4.34k|        void *_tmp_64_var;
13105|  4.34k|        expr_ty a;
13106|  4.34k|        if (
13107|  4.34k|            (_tmp_64_var = _tmp_64_rule(p))  // '!='
  ------------------
  |  Branch (13107:13): [True: 0, False: 4.34k]
  ------------------
13108|      0|            &&
13109|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13109:13): [True: 0, False: 0]
  ------------------
13110|  4.34k|        )
13111|      0|        {
13112|      0|            D(fprintf(stderr, "%*c+ noteq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13113|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
13114|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13114:18): [True: 0, False: 0]
  |  Branch (13114:34): [True: 0, False: 0]
  |  Branch (13114:57): [True: 0, False: 0]
  ------------------
13115|      0|                p->error_indicator = 1;
13116|      0|                p->level--;
13117|      0|                return NULL;
13118|      0|            }
13119|      0|            goto done;
13120|      0|        }
13121|  4.34k|        p->mark = _mark;
13122|  4.34k|        D(fprintf(stderr, "%*c%s noteq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13123|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
13124|  4.34k|    }
13125|  4.34k|    _res = NULL;
13126|  4.34k|  done:
13127|  4.34k|    p->level--;
13128|  4.34k|    return _res;
13129|  4.34k|}
parser.c:_tmp_64_rule:
32399|  4.34k|{
32400|  4.34k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.69k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32400:9): [True: 0, False: 4.34k]
  |  Branch (32400:35): [True: 0, False: 4.34k]
  ------------------
32401|      0|        _Pypegen_stack_overflow(p);
32402|      0|    }
32403|  4.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (32403:9): [True: 0, False: 4.34k]
  ------------------
32404|      0|        p->level--;
32405|      0|        return NULL;
32406|      0|    }
32407|  4.34k|    void * _res = NULL;
32408|  4.34k|    int _mark = p->mark;
32409|  4.34k|    { // '!='
32410|  4.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (32410:13): [True: 0, False: 4.34k]
  ------------------
32411|      0|            p->level--;
32412|      0|            return NULL;
32413|      0|        }
32414|  4.34k|        D(fprintf(stderr, "%*c> _tmp_64[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
32415|  4.34k|        Token * tok;
32416|  4.34k|        if (
32417|  4.34k|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (32417:13): [True: 0, False: 4.34k]
  ------------------
32418|  4.34k|        )
32419|      0|        {
32420|      0|            D(fprintf(stderr, "%*c+ _tmp_64[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
32421|      0|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (32421:20): [True: 0, False: 0]
  ------------------
32422|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32422:18): [True: 0, False: 0]
  |  Branch (32422:34): [True: 0, False: 0]
  |  Branch (32422:57): [True: 0, False: 0]
  ------------------
32423|      0|                p->error_indicator = 1;
32424|      0|                p->level--;
32425|      0|                return NULL;
32426|      0|            }
32427|      0|            goto done;
32428|      0|        }
32429|  4.34k|        p->mark = _mark;
32430|  4.34k|        D(fprintf(stderr, "%*c%s _tmp_64[%d-%d]: %s failed!\n", p->level, ' ',
32431|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
32432|  4.34k|    }
32433|  4.34k|    _res = NULL;
32434|  4.34k|  done:
32435|  4.34k|    p->level--;
32436|  4.34k|    return _res;
32437|  4.34k|}
parser.c:lte_bitwise_or_rule:
13134|  4.34k|{
13135|  4.34k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.69k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13135:9): [True: 0, False: 4.34k]
  |  Branch (13135:35): [True: 0, False: 4.34k]
  ------------------
13136|      0|        _Pypegen_stack_overflow(p);
13137|      0|    }
13138|  4.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (13138:9): [True: 0, False: 4.34k]
  ------------------
13139|      0|        p->level--;
13140|      0|        return NULL;
13141|      0|    }
13142|  4.34k|    CmpopExprPair* _res = NULL;
13143|  4.34k|    int _mark = p->mark;
13144|  4.34k|    { // '<=' bitwise_or
13145|  4.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (13145:13): [True: 0, False: 4.34k]
  ------------------
13146|      0|            p->level--;
13147|      0|            return NULL;
13148|      0|        }
13149|  4.34k|        D(fprintf(stderr, "%*c> lte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13150|  4.34k|        Token * _literal;
13151|  4.34k|        expr_ty a;
13152|  4.34k|        if (
13153|  4.34k|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (13153:13): [True: 6, False: 4.33k]
  ------------------
13154|      6|            &&
13155|      6|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13155:13): [True: 6, False: 0]
  ------------------
13156|  4.34k|        )
13157|      6|        {
13158|      6|            D(fprintf(stderr, "%*c+ lte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13159|      6|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
13160|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13160:18): [True: 0, False: 6]
  |  Branch (13160:34): [True: 0, False: 6]
  |  Branch (13160:57): [True: 0, False: 0]
  ------------------
13161|      0|                p->error_indicator = 1;
13162|      0|                p->level--;
13163|      0|                return NULL;
13164|      0|            }
13165|      6|            goto done;
13166|      6|        }
13167|  4.33k|        p->mark = _mark;
13168|  4.33k|        D(fprintf(stderr, "%*c%s lte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13169|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
13170|  4.33k|    }
13171|  4.33k|    _res = NULL;
13172|  4.34k|  done:
13173|  4.34k|    p->level--;
13174|  4.34k|    return _res;
13175|  4.33k|}
parser.c:lt_bitwise_or_rule:
13180|  4.33k|{
13181|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13181:9): [True: 0, False: 4.33k]
  |  Branch (13181:35): [True: 0, False: 4.33k]
  ------------------
13182|      0|        _Pypegen_stack_overflow(p);
13183|      0|    }
13184|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (13184:9): [True: 0, False: 4.33k]
  ------------------
13185|      0|        p->level--;
13186|      0|        return NULL;
13187|      0|    }
13188|  4.33k|    CmpopExprPair* _res = NULL;
13189|  4.33k|    int _mark = p->mark;
13190|  4.33k|    { // '<' bitwise_or
13191|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (13191:13): [True: 0, False: 4.33k]
  ------------------
13192|      0|            p->level--;
13193|      0|            return NULL;
13194|      0|        }
13195|  4.33k|        D(fprintf(stderr, "%*c> lt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13196|  4.33k|        Token * _literal;
13197|  4.33k|        expr_ty a;
13198|  4.33k|        if (
13199|  4.33k|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (13199:13): [True: 2, False: 4.33k]
  ------------------
13200|      2|            &&
13201|      2|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13201:13): [True: 2, False: 0]
  ------------------
13202|  4.33k|        )
13203|      2|        {
13204|      2|            D(fprintf(stderr, "%*c+ lt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13205|      2|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
13206|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13206:18): [True: 0, False: 2]
  |  Branch (13206:34): [True: 0, False: 2]
  |  Branch (13206:57): [True: 0, False: 0]
  ------------------
13207|      0|                p->error_indicator = 1;
13208|      0|                p->level--;
13209|      0|                return NULL;
13210|      0|            }
13211|      2|            goto done;
13212|      2|        }
13213|  4.33k|        p->mark = _mark;
13214|  4.33k|        D(fprintf(stderr, "%*c%s lt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13215|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
13216|  4.33k|    }
13217|  4.33k|    _res = NULL;
13218|  4.33k|  done:
13219|  4.33k|    p->level--;
13220|  4.33k|    return _res;
13221|  4.33k|}
parser.c:gte_bitwise_or_rule:
13226|  4.33k|{
13227|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13227:9): [True: 0, False: 4.33k]
  |  Branch (13227:35): [True: 0, False: 4.33k]
  ------------------
13228|      0|        _Pypegen_stack_overflow(p);
13229|      0|    }
13230|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (13230:9): [True: 0, False: 4.33k]
  ------------------
13231|      0|        p->level--;
13232|      0|        return NULL;
13233|      0|    }
13234|  4.33k|    CmpopExprPair* _res = NULL;
13235|  4.33k|    int _mark = p->mark;
13236|  4.33k|    { // '>=' bitwise_or
13237|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (13237:13): [True: 0, False: 4.33k]
  ------------------
13238|      0|            p->level--;
13239|      0|            return NULL;
13240|      0|        }
13241|  4.33k|        D(fprintf(stderr, "%*c> gte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13242|  4.33k|        Token * _literal;
13243|  4.33k|        expr_ty a;
13244|  4.33k|        if (
13245|  4.33k|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (13245:13): [True: 0, False: 4.33k]
  ------------------
13246|      0|            &&
13247|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13247:13): [True: 0, False: 0]
  ------------------
13248|  4.33k|        )
13249|      0|        {
13250|      0|            D(fprintf(stderr, "%*c+ gte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13251|      0|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
13252|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13252:18): [True: 0, False: 0]
  |  Branch (13252:34): [True: 0, False: 0]
  |  Branch (13252:57): [True: 0, False: 0]
  ------------------
13253|      0|                p->error_indicator = 1;
13254|      0|                p->level--;
13255|      0|                return NULL;
13256|      0|            }
13257|      0|            goto done;
13258|      0|        }
13259|  4.33k|        p->mark = _mark;
13260|  4.33k|        D(fprintf(stderr, "%*c%s gte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13261|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
13262|  4.33k|    }
13263|  4.33k|    _res = NULL;
13264|  4.33k|  done:
13265|  4.33k|    p->level--;
13266|  4.33k|    return _res;
13267|  4.33k|}
parser.c:gt_bitwise_or_rule:
13272|  4.33k|{
13273|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13273:9): [True: 0, False: 4.33k]
  |  Branch (13273:35): [True: 0, False: 4.33k]
  ------------------
13274|      0|        _Pypegen_stack_overflow(p);
13275|      0|    }
13276|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (13276:9): [True: 0, False: 4.33k]
  ------------------
13277|      0|        p->level--;
13278|      0|        return NULL;
13279|      0|    }
13280|  4.33k|    CmpopExprPair* _res = NULL;
13281|  4.33k|    int _mark = p->mark;
13282|  4.33k|    { // '>' bitwise_or
13283|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (13283:13): [True: 0, False: 4.33k]
  ------------------
13284|      0|            p->level--;
13285|      0|            return NULL;
13286|      0|        }
13287|  4.33k|        D(fprintf(stderr, "%*c> gt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13288|  4.33k|        Token * _literal;
13289|  4.33k|        expr_ty a;
13290|  4.33k|        if (
13291|  4.33k|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (13291:13): [True: 0, False: 4.33k]
  ------------------
13292|      0|            &&
13293|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13293:13): [True: 0, False: 0]
  ------------------
13294|  4.33k|        )
13295|      0|        {
13296|      0|            D(fprintf(stderr, "%*c+ gt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13297|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
13298|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13298:18): [True: 0, False: 0]
  |  Branch (13298:34): [True: 0, False: 0]
  |  Branch (13298:57): [True: 0, False: 0]
  ------------------
13299|      0|                p->error_indicator = 1;
13300|      0|                p->level--;
13301|      0|                return NULL;
13302|      0|            }
13303|      0|            goto done;
13304|      0|        }
13305|  4.33k|        p->mark = _mark;
13306|  4.33k|        D(fprintf(stderr, "%*c%s gt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13307|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
13308|  4.33k|    }
13309|  4.33k|    _res = NULL;
13310|  4.33k|  done:
13311|  4.33k|    p->level--;
13312|  4.33k|    return _res;
13313|  4.33k|}
parser.c:notin_bitwise_or_rule:
13318|  4.33k|{
13319|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13319:9): [True: 0, False: 4.33k]
  |  Branch (13319:35): [True: 0, False: 4.33k]
  ------------------
13320|      0|        _Pypegen_stack_overflow(p);
13321|      0|    }
13322|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (13322:9): [True: 0, False: 4.33k]
  ------------------
13323|      0|        p->level--;
13324|      0|        return NULL;
13325|      0|    }
13326|  4.33k|    CmpopExprPair* _res = NULL;
13327|  4.33k|    int _mark = p->mark;
13328|  4.33k|    { // 'not' 'in' bitwise_or
13329|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (13329:13): [True: 0, False: 4.33k]
  ------------------
13330|      0|            p->level--;
13331|      0|            return NULL;
13332|      0|        }
13333|  4.33k|        D(fprintf(stderr, "%*c> notin_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13334|  4.33k|        Token * _keyword;
13335|  4.33k|        Token * _keyword_1;
13336|  4.33k|        expr_ty a;
13337|  4.33k|        if (
13338|  4.33k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (13338:13): [True: 0, False: 4.33k]
  ------------------
13339|      0|            &&
13340|      0|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (13340:13): [True: 0, False: 0]
  ------------------
13341|      0|            &&
13342|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13342:13): [True: 0, False: 0]
  ------------------
13343|  4.33k|        )
13344|      0|        {
13345|      0|            D(fprintf(stderr, "%*c+ notin_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13346|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13347|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13347:18): [True: 0, False: 0]
  |  Branch (13347:34): [True: 0, False: 0]
  |  Branch (13347:57): [True: 0, False: 0]
  ------------------
13348|      0|                p->error_indicator = 1;
13349|      0|                p->level--;
13350|      0|                return NULL;
13351|      0|            }
13352|      0|            goto done;
13353|      0|        }
13354|  4.33k|        p->mark = _mark;
13355|  4.33k|        D(fprintf(stderr, "%*c%s notin_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13356|  4.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13357|  4.33k|    }
13358|  4.33k|    _res = NULL;
13359|  4.33k|  done:
13360|  4.33k|    p->level--;
13361|  4.33k|    return _res;
13362|  4.33k|}
parser.c:in_bitwise_or_rule:
13367|  4.33k|{
13368|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13368:9): [True: 0, False: 4.33k]
  |  Branch (13368:35): [True: 0, False: 4.33k]
  ------------------
13369|      0|        _Pypegen_stack_overflow(p);
13370|      0|    }
13371|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (13371:9): [True: 0, False: 4.33k]
  ------------------
13372|      0|        p->level--;
13373|      0|        return NULL;
13374|      0|    }
13375|  4.33k|    CmpopExprPair* _res = NULL;
13376|  4.33k|    int _mark = p->mark;
13377|  4.33k|    { // 'in' bitwise_or
13378|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (13378:13): [True: 0, False: 4.33k]
  ------------------
13379|      0|            p->level--;
13380|      0|            return NULL;
13381|      0|        }
13382|  4.33k|        D(fprintf(stderr, "%*c> in_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13383|  4.33k|        Token * _keyword;
13384|  4.33k|        expr_ty a;
13385|  4.33k|        if (
13386|  4.33k|            (_keyword = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (13386:13): [True: 48, False: 4.28k]
  ------------------
13387|     48|            &&
13388|     48|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13388:13): [True: 48, False: 0]
  ------------------
13389|  4.33k|        )
13390|     48|        {
13391|     48|            D(fprintf(stderr, "%*c+ in_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13392|     48|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13393|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13393:18): [True: 0, False: 48]
  |  Branch (13393:34): [True: 0, False: 48]
  |  Branch (13393:57): [True: 0, False: 0]
  ------------------
13394|      0|                p->error_indicator = 1;
13395|      0|                p->level--;
13396|      0|                return NULL;
13397|      0|            }
13398|     48|            goto done;
13399|     48|        }
13400|  4.28k|        p->mark = _mark;
13401|  4.28k|        D(fprintf(stderr, "%*c%s in_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13402|  4.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13403|  4.28k|    }
13404|  4.28k|    _res = NULL;
13405|  4.33k|  done:
13406|  4.33k|    p->level--;
13407|  4.33k|    return _res;
13408|  4.28k|}
parser.c:isnot_bitwise_or_rule:
13413|  4.28k|{
13414|  4.28k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13414:9): [True: 0, False: 4.28k]
  |  Branch (13414:35): [True: 0, False: 4.28k]
  ------------------
13415|      0|        _Pypegen_stack_overflow(p);
13416|      0|    }
13417|  4.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (13417:9): [True: 0, False: 4.28k]
  ------------------
13418|      0|        p->level--;
13419|      0|        return NULL;
13420|      0|    }
13421|  4.28k|    CmpopExprPair* _res = NULL;
13422|  4.28k|    int _mark = p->mark;
13423|  4.28k|    { // 'is' 'not' bitwise_or
13424|  4.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (13424:13): [True: 0, False: 4.28k]
  ------------------
13425|      0|            p->level--;
13426|      0|            return NULL;
13427|      0|        }
13428|  4.28k|        D(fprintf(stderr, "%*c> isnot_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13429|  4.28k|        Token * _keyword;
13430|  4.28k|        Token * _keyword_1;
13431|  4.28k|        expr_ty a;
13432|  4.28k|        if (
13433|  4.28k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13433:13): [True: 160, False: 4.12k]
  ------------------
13434|    160|            &&
13435|    160|            (_keyword_1 = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (13435:13): [True: 4, False: 156]
  ------------------
13436|      4|            &&
13437|      4|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13437:13): [True: 4, False: 0]
  ------------------
13438|  4.28k|        )
13439|      4|        {
13440|      4|            D(fprintf(stderr, "%*c+ isnot_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13441|      4|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13442|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13442:18): [True: 0, False: 4]
  |  Branch (13442:34): [True: 0, False: 4]
  |  Branch (13442:57): [True: 0, False: 0]
  ------------------
13443|      0|                p->error_indicator = 1;
13444|      0|                p->level--;
13445|      0|                return NULL;
13446|      0|            }
13447|      4|            goto done;
13448|      4|        }
13449|  4.28k|        p->mark = _mark;
13450|  4.28k|        D(fprintf(stderr, "%*c%s isnot_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13451|  4.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13452|  4.28k|    }
13453|  4.28k|    _res = NULL;
13454|  4.28k|  done:
13455|  4.28k|    p->level--;
13456|  4.28k|    return _res;
13457|  4.28k|}
parser.c:is_bitwise_or_rule:
13462|  4.28k|{
13463|  4.28k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13463:9): [True: 0, False: 4.28k]
  |  Branch (13463:35): [True: 0, False: 4.28k]
  ------------------
13464|      0|        _Pypegen_stack_overflow(p);
13465|      0|    }
13466|  4.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (13466:9): [True: 0, False: 4.28k]
  ------------------
13467|      0|        p->level--;
13468|      0|        return NULL;
13469|      0|    }
13470|  4.28k|    CmpopExprPair* _res = NULL;
13471|  4.28k|    int _mark = p->mark;
13472|  4.28k|    { // 'is' bitwise_or
13473|  4.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (13473:13): [True: 0, False: 4.28k]
  ------------------
13474|      0|            p->level--;
13475|      0|            return NULL;
13476|      0|        }
13477|  4.28k|        D(fprintf(stderr, "%*c> is_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13478|  4.28k|        Token * _keyword;
13479|  4.28k|        expr_ty a;
13480|  4.28k|        if (
13481|  4.28k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13481:13): [True: 156, False: 4.12k]
  ------------------
13482|    156|            &&
13483|    156|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13483:13): [True: 156, False: 0]
  ------------------
13484|  4.28k|        )
13485|    156|        {
13486|    156|            D(fprintf(stderr, "%*c+ is_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13487|    156|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13488|    156|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13488:18): [True: 0, False: 156]
  |  Branch (13488:34): [True: 0, False: 156]
  |  Branch (13488:57): [True: 0, False: 0]
  ------------------
13489|      0|                p->error_indicator = 1;
13490|      0|                p->level--;
13491|      0|                return NULL;
13492|      0|            }
13493|    156|            goto done;
13494|    156|        }
13495|  4.12k|        p->mark = _mark;
13496|  4.12k|        D(fprintf(stderr, "%*c%s is_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13497|  4.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13498|  4.12k|    }
13499|  4.12k|    _res = NULL;
13500|  4.28k|  done:
13501|  4.28k|    p->level--;
13502|  4.28k|    return _res;
13503|  4.12k|}
parser.c:_loop1_62_rule:
32255|  3.95k|{
32256|  3.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32256:9): [True: 0, False: 3.95k]
  |  Branch (32256:35): [True: 0, False: 3.95k]
  ------------------
32257|      0|        _Pypegen_stack_overflow(p);
32258|      0|    }
32259|  3.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (32259:9): [True: 0, False: 3.95k]
  ------------------
32260|      0|        p->level--;
32261|      0|        return NULL;
32262|      0|    }
32263|  3.95k|    void *_res = NULL;
32264|  3.95k|    int _mark = p->mark;
32265|  3.95k|    void **_children = PyMem_Malloc(sizeof(void *));
32266|  3.95k|    if (!_children) {
  ------------------
  |  Branch (32266:9): [True: 0, False: 3.95k]
  ------------------
32267|      0|        p->error_indicator = 1;
32268|      0|        PyErr_NoMemory();
32269|      0|        p->level--;
32270|      0|        return NULL;
32271|      0|    }
32272|  3.95k|    Py_ssize_t _children_capacity = 1;
32273|  3.95k|    Py_ssize_t _n = 0;
32274|  3.95k|    { // ('and' inversion)
32275|  3.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (32275:13): [True: 0, False: 3.95k]
  ------------------
32276|      0|            p->level--;
32277|      0|            return NULL;
32278|      0|        }
32279|  3.95k|        D(fprintf(stderr, "%*c> _loop1_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
32280|  3.95k|        void *_tmp_164_var;
32281|  3.95k|        while (
32282|  4.12k|            (_tmp_164_var = _tmp_164_rule(p))  // 'and' inversion
  ------------------
  |  Branch (32282:13): [True: 172, False: 3.95k]
  ------------------
32283|  3.95k|        )
32284|    172|        {
32285|    172|            _res = _tmp_164_var;
32286|    172|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32286:17): [True: 72, False: 100]
  ------------------
32287|     72|                _children_capacity *= 2;
32288|     72|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32289|     72|                if (!_new_children) {
  ------------------
  |  Branch (32289:21): [True: 0, False: 72]
  ------------------
32290|      0|                    PyMem_Free(_children);
32291|      0|                    p->error_indicator = 1;
32292|      0|                    PyErr_NoMemory();
32293|      0|                    p->level--;
32294|      0|                    return NULL;
32295|      0|                }
32296|     72|                _children = _new_children;
32297|     72|            }
32298|    172|            _children[_n++] = _res;
32299|    172|            _mark = p->mark;
32300|    172|        }
32301|  3.95k|        p->mark = _mark;
32302|  3.95k|        D(fprintf(stderr, "%*c%s _loop1_62[%d-%d]: %s failed!\n", p->level, ' ',
32303|  3.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
32304|  3.95k|    }
32305|  3.95k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32305:9): [True: 3.90k, False: 50]
  |  Branch (32305:20): [True: 0, False: 50]
  ------------------
32306|  3.90k|        PyMem_Free(_children);
32307|  3.90k|        p->level--;
32308|  3.90k|        return NULL;
32309|  3.90k|    }
32310|     50|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32311|     50|    if (!_seq) {
  ------------------
  |  Branch (32311:9): [True: 0, False: 50]
  ------------------
32312|      0|        PyMem_Free(_children);
32313|      0|        p->error_indicator = 1;
32314|      0|        PyErr_NoMemory();
32315|      0|        p->level--;
32316|      0|        return NULL;
32317|      0|    }
32318|    222|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    172|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    222|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32318:28): [True: 172, False: 50]
  ------------------
32319|     50|    PyMem_Free(_children);
32320|     50|    p->level--;
32321|     50|    return _seq;
32322|     50|}
parser.c:_tmp_164_rule:
38534|  4.12k|{
38535|  4.12k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.25k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38535:9): [True: 0, False: 4.12k]
  |  Branch (38535:35): [True: 0, False: 4.12k]
  ------------------
38536|      0|        _Pypegen_stack_overflow(p);
38537|      0|    }
38538|  4.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (38538:9): [True: 0, False: 4.12k]
  ------------------
38539|      0|        p->level--;
38540|      0|        return NULL;
38541|      0|    }
38542|  4.12k|    void * _res = NULL;
38543|  4.12k|    int _mark = p->mark;
38544|  4.12k|    { // 'and' inversion
38545|  4.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (38545:13): [True: 0, False: 4.12k]
  ------------------
38546|      0|            p->level--;
38547|      0|            return NULL;
38548|      0|        }
38549|  4.12k|        D(fprintf(stderr, "%*c> _tmp_164[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38550|  4.12k|        Token * _keyword;
38551|  4.12k|        expr_ty c;
38552|  4.12k|        if (
38553|  4.12k|            (_keyword = _PyPegen_expect_token(p, 590))  // token='and'
  ------------------
  |  Branch (38553:13): [True: 172, False: 3.95k]
  ------------------
38554|    172|            &&
38555|    172|            (c = inversion_rule(p))  // inversion
  ------------------
  |  Branch (38555:13): [True: 172, False: 0]
  ------------------
38556|  4.12k|        )
38557|    172|        {
38558|    172|            D(fprintf(stderr, "%*c+ _tmp_164[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38559|    172|            _res = c;
38560|    172|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38560:18): [True: 0, False: 172]
  |  Branch (38560:34): [True: 0, False: 172]
  |  Branch (38560:57): [True: 0, False: 0]
  ------------------
38561|      0|                p->error_indicator = 1;
38562|      0|                p->level--;
38563|      0|                return NULL;
38564|      0|            }
38565|    172|            goto done;
38566|    172|        }
38567|  3.95k|        p->mark = _mark;
38568|  3.95k|        D(fprintf(stderr, "%*c%s _tmp_164[%d-%d]: %s failed!\n", p->level, ' ',
38569|  3.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
38570|  3.95k|    }
38571|  3.95k|    _res = NULL;
38572|  4.12k|  done:
38573|  4.12k|    p->level--;
38574|  4.12k|    return _res;
38575|  3.95k|}
parser.c:_loop1_61_rule:
32183|  3.90k|{
32184|  3.90k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32184:9): [True: 0, False: 3.90k]
  |  Branch (32184:35): [True: 0, False: 3.90k]
  ------------------
32185|      0|        _Pypegen_stack_overflow(p);
32186|      0|    }
32187|  3.90k|    if (p->error_indicator) {
  ------------------
  |  Branch (32187:9): [True: 0, False: 3.90k]
  ------------------
32188|      0|        p->level--;
32189|      0|        return NULL;
32190|      0|    }
32191|  3.90k|    void *_res = NULL;
32192|  3.90k|    int _mark = p->mark;
32193|  3.90k|    void **_children = PyMem_Malloc(sizeof(void *));
32194|  3.90k|    if (!_children) {
  ------------------
  |  Branch (32194:9): [True: 0, False: 3.90k]
  ------------------
32195|      0|        p->error_indicator = 1;
32196|      0|        PyErr_NoMemory();
32197|      0|        p->level--;
32198|      0|        return NULL;
32199|      0|    }
32200|  3.90k|    Py_ssize_t _children_capacity = 1;
32201|  3.90k|    Py_ssize_t _n = 0;
32202|  3.90k|    { // ('or' conjunction)
32203|  3.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (32203:13): [True: 0, False: 3.90k]
  ------------------
32204|      0|            p->level--;
32205|      0|            return NULL;
32206|      0|        }
32207|  3.90k|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
32208|  3.90k|        void *_tmp_163_var;
32209|  3.90k|        while (
32210|  3.95k|            (_tmp_163_var = _tmp_163_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (32210:13): [True: 56, False: 3.90k]
  ------------------
32211|  3.90k|        )
32212|     56|        {
32213|     56|            _res = _tmp_163_var;
32214|     56|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32214:17): [True: 0, False: 56]
  ------------------
32215|      0|                _children_capacity *= 2;
32216|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32217|      0|                if (!_new_children) {
  ------------------
  |  Branch (32217:21): [True: 0, False: 0]
  ------------------
32218|      0|                    PyMem_Free(_children);
32219|      0|                    p->error_indicator = 1;
32220|      0|                    PyErr_NoMemory();
32221|      0|                    p->level--;
32222|      0|                    return NULL;
32223|      0|                }
32224|      0|                _children = _new_children;
32225|      0|            }
32226|     56|            _children[_n++] = _res;
32227|     56|            _mark = p->mark;
32228|     56|        }
32229|  3.90k|        p->mark = _mark;
32230|  3.90k|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
32231|  3.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
32232|  3.90k|    }
32233|  3.90k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32233:9): [True: 3.84k, False: 56]
  |  Branch (32233:20): [True: 0, False: 56]
  ------------------
32234|  3.84k|        PyMem_Free(_children);
32235|  3.84k|        p->level--;
32236|  3.84k|        return NULL;
32237|  3.84k|    }
32238|     56|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32239|     56|    if (!_seq) {
  ------------------
  |  Branch (32239:9): [True: 0, False: 56]
  ------------------
32240|      0|        PyMem_Free(_children);
32241|      0|        p->error_indicator = 1;
32242|      0|        PyErr_NoMemory();
32243|      0|        p->level--;
32244|      0|        return NULL;
32245|      0|    }
32246|    112|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     56|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    112|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32246:28): [True: 56, False: 56]
  ------------------
32247|     56|    PyMem_Free(_children);
32248|     56|    p->level--;
32249|     56|    return _seq;
32250|     56|}
parser.c:_tmp_163_rule:
38488|  3.95k|{
38489|  3.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38489:9): [True: 0, False: 3.95k]
  |  Branch (38489:35): [True: 0, False: 3.95k]
  ------------------
38490|      0|        _Pypegen_stack_overflow(p);
38491|      0|    }
38492|  3.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (38492:9): [True: 0, False: 3.95k]
  ------------------
38493|      0|        p->level--;
38494|      0|        return NULL;
38495|      0|    }
38496|  3.95k|    void * _res = NULL;
38497|  3.95k|    int _mark = p->mark;
38498|  3.95k|    { // 'or' conjunction
38499|  3.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (38499:13): [True: 0, False: 3.95k]
  ------------------
38500|      0|            p->level--;
38501|      0|            return NULL;
38502|      0|        }
38503|  3.95k|        D(fprintf(stderr, "%*c> _tmp_163[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38504|  3.95k|        Token * _keyword;
38505|  3.95k|        expr_ty c;
38506|  3.95k|        if (
38507|  3.95k|            (_keyword = _PyPegen_expect_token(p, 589))  // token='or'
  ------------------
  |  Branch (38507:13): [True: 56, False: 3.90k]
  ------------------
38508|     56|            &&
38509|     56|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (38509:13): [True: 56, False: 0]
  ------------------
38510|  3.95k|        )
38511|     56|        {
38512|     56|            D(fprintf(stderr, "%*c+ _tmp_163[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38513|     56|            _res = c;
38514|     56|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38514:18): [True: 0, False: 56]
  |  Branch (38514:34): [True: 0, False: 56]
  |  Branch (38514:57): [True: 0, False: 0]
  ------------------
38515|      0|                p->error_indicator = 1;
38516|      0|                p->level--;
38517|      0|                return NULL;
38518|      0|            }
38519|     56|            goto done;
38520|     56|        }
38521|  3.90k|        p->mark = _mark;
38522|  3.90k|        D(fprintf(stderr, "%*c%s _tmp_163[%d-%d]: %s failed!\n", p->level, ' ',
38523|  3.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
38524|  3.90k|    }
38525|  3.90k|    _res = NULL;
38526|  3.95k|  done:
38527|  3.95k|    p->level--;
38528|  3.95k|    return _res;
38529|  3.90k|}
parser.c:for_if_clauses_rule:
18023|  1.30k|{
18024|  1.30k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18024:9): [True: 0, False: 1.30k]
  |  Branch (18024:35): [True: 0, False: 1.30k]
  ------------------
18025|      0|        _Pypegen_stack_overflow(p);
18026|      0|    }
18027|  1.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (18027:9): [True: 0, False: 1.30k]
  ------------------
18028|      0|        p->level--;
18029|      0|        return NULL;
18030|      0|    }
18031|  1.30k|    asdl_comprehension_seq* _res = NULL;
18032|  1.30k|    int _mark = p->mark;
18033|  1.30k|    { // for_if_clause+
18034|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (18034:13): [True: 0, False: 1.30k]
  ------------------
18035|      0|            p->level--;
18036|      0|            return NULL;
18037|      0|        }
18038|  1.30k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18039|  1.30k|        asdl_comprehension_seq* a;
18040|  1.30k|        if (
18041|  1.30k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (18041:13): [True: 0, False: 1.30k]
  ------------------
18042|  1.30k|        )
18043|      0|        {
18044|      0|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18045|      0|            _res = a;
18046|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18046:18): [True: 0, False: 0]
  |  Branch (18046:34): [True: 0, False: 0]
  |  Branch (18046:57): [True: 0, False: 0]
  ------------------
18047|      0|                p->error_indicator = 1;
18048|      0|                p->level--;
18049|      0|                return NULL;
18050|      0|            }
18051|      0|            goto done;
18052|      0|        }
18053|  1.30k|        p->mark = _mark;
18054|  1.30k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
18055|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
18056|  1.30k|    }
18057|  1.30k|    _res = NULL;
18058|  1.30k|  done:
18059|  1.30k|    p->level--;
18060|  1.30k|    return _res;
18061|  1.30k|}
parser.c:_loop1_87_rule:
33885|  1.30k|{
33886|  1.30k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33886:9): [True: 0, False: 1.30k]
  |  Branch (33886:35): [True: 0, False: 1.30k]
  ------------------
33887|      0|        _Pypegen_stack_overflow(p);
33888|      0|    }
33889|  1.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (33889:9): [True: 0, False: 1.30k]
  ------------------
33890|      0|        p->level--;
33891|      0|        return NULL;
33892|      0|    }
33893|  1.30k|    void *_res = NULL;
33894|  1.30k|    int _mark = p->mark;
33895|  1.30k|    void **_children = PyMem_Malloc(sizeof(void *));
33896|  1.30k|    if (!_children) {
  ------------------
  |  Branch (33896:9): [True: 0, False: 1.30k]
  ------------------
33897|      0|        p->error_indicator = 1;
33898|      0|        PyErr_NoMemory();
33899|      0|        p->level--;
33900|      0|        return NULL;
33901|      0|    }
33902|  1.30k|    Py_ssize_t _children_capacity = 1;
33903|  1.30k|    Py_ssize_t _n = 0;
33904|  1.30k|    { // for_if_clause
33905|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (33905:13): [True: 0, False: 1.30k]
  ------------------
33906|      0|            p->level--;
33907|      0|            return NULL;
33908|      0|        }
33909|  1.30k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
33910|  1.30k|        comprehension_ty for_if_clause_var;
33911|  1.30k|        while (
33912|  1.30k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (33912:13): [True: 0, False: 1.30k]
  ------------------
33913|  1.30k|        )
33914|      0|        {
33915|      0|            _res = for_if_clause_var;
33916|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33916:17): [True: 0, False: 0]
  ------------------
33917|      0|                _children_capacity *= 2;
33918|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33919|      0|                if (!_new_children) {
  ------------------
  |  Branch (33919:21): [True: 0, False: 0]
  ------------------
33920|      0|                    PyMem_Free(_children);
33921|      0|                    p->error_indicator = 1;
33922|      0|                    PyErr_NoMemory();
33923|      0|                    p->level--;
33924|      0|                    return NULL;
33925|      0|                }
33926|      0|                _children = _new_children;
33927|      0|            }
33928|      0|            _children[_n++] = _res;
33929|      0|            _mark = p->mark;
33930|      0|        }
33931|  1.30k|        p->mark = _mark;
33932|  1.30k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
33933|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
33934|  1.30k|    }
33935|  1.30k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33935:9): [True: 1.30k, False: 0]
  |  Branch (33935:20): [True: 0, False: 0]
  ------------------
33936|  1.30k|        PyMem_Free(_children);
33937|  1.30k|        p->level--;
33938|  1.30k|        return NULL;
33939|  1.30k|    }
33940|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33941|      0|    if (!_seq) {
  ------------------
  |  Branch (33941:9): [True: 0, False: 0]
  ------------------
33942|      0|        PyMem_Free(_children);
33943|      0|        p->error_indicator = 1;
33944|      0|        PyErr_NoMemory();
33945|      0|        p->level--;
33946|      0|        return NULL;
33947|      0|    }
33948|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33948:28): [True: 0, False: 0]
  ------------------
33949|      0|    PyMem_Free(_children);
33950|      0|    p->level--;
33951|      0|    return _seq;
33952|      0|}
parser.c:for_if_clause_rule:
18070|  1.30k|{
18071|  1.30k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18071:9): [True: 0, False: 1.30k]
  |  Branch (18071:35): [True: 0, False: 1.30k]
  ------------------
18072|      0|        _Pypegen_stack_overflow(p);
18073|      0|    }
18074|  1.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (18074:9): [True: 0, False: 1.30k]
  ------------------
18075|      0|        p->level--;
18076|      0|        return NULL;
18077|      0|    }
18078|  1.30k|    comprehension_ty _res = NULL;
18079|  1.30k|    int _mark = p->mark;
18080|  1.30k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18081|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (18081:13): [True: 0, False: 1.30k]
  ------------------
18082|      0|            p->level--;
18083|      0|            return NULL;
18084|      0|        }
18085|  1.30k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18086|  1.30k|        int _cut_var = 0;
18087|  1.30k|        Token * _keyword;
18088|  1.30k|        Token * _keyword_1;
18089|  1.30k|        Token * _keyword_2;
18090|  1.30k|        expr_ty a;
18091|  1.30k|        expr_ty b;
18092|  1.30k|        asdl_expr_seq* c;
18093|  1.30k|        if (
18094|  1.30k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (18094:13): [True: 0, False: 1.30k]
  ------------------
18095|      0|            &&
18096|      0|            (_keyword_1 = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (18096:13): [True: 0, False: 0]
  ------------------
18097|      0|            &&
18098|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18098:13): [True: 0, False: 0]
  ------------------
18099|      0|            &&
18100|      0|            (_keyword_2 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (18100:13): [True: 0, False: 0]
  ------------------
18101|      0|            &&
18102|      0|            (_cut_var = 1)
  ------------------
  |  Branch (18102:13): [True: 0, False: 0]
  ------------------
18103|      0|            &&
18104|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18104:13): [True: 0, False: 0]
  ------------------
18105|      0|            &&
18106|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18106:13): [True: 0, False: 0]
  ------------------
18107|  1.30k|        )
18108|      0|        {
18109|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18110|      0|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
18111|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18111:18): [True: 0, False: 0]
  |  Branch (18111:34): [True: 0, False: 0]
  |  Branch (18111:57): [True: 0, False: 0]
  ------------------
18112|      0|                p->error_indicator = 1;
18113|      0|                p->level--;
18114|      0|                return NULL;
18115|      0|            }
18116|      0|            goto done;
18117|      0|        }
18118|  1.30k|        p->mark = _mark;
18119|  1.30k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18120|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18121|  1.30k|        if (_cut_var) {
  ------------------
  |  Branch (18121:13): [True: 0, False: 1.30k]
  ------------------
18122|      0|            p->level--;
18123|      0|            return NULL;
18124|      0|        }
18125|  1.30k|    }
18126|  1.30k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18127|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (18127:13): [True: 0, False: 1.30k]
  ------------------
18128|      0|            p->level--;
18129|      0|            return NULL;
18130|      0|        }
18131|  1.30k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18132|  1.30k|        int _cut_var = 0;
18133|  1.30k|        Token * _keyword;
18134|  1.30k|        Token * _keyword_1;
18135|  1.30k|        expr_ty a;
18136|  1.30k|        expr_ty b;
18137|  1.30k|        asdl_expr_seq* c;
18138|  1.30k|        if (
18139|  1.30k|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (18139:13): [True: 0, False: 1.30k]
  ------------------
18140|      0|            &&
18141|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18141:13): [True: 0, False: 0]
  ------------------
18142|      0|            &&
18143|      0|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (18143:13): [True: 0, False: 0]
  ------------------
18144|      0|            &&
18145|      0|            (_cut_var = 1)
  ------------------
  |  Branch (18145:13): [True: 0, False: 0]
  ------------------
18146|      0|            &&
18147|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18147:13): [True: 0, False: 0]
  ------------------
18148|      0|            &&
18149|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18149:13): [True: 0, False: 0]
  ------------------
18150|  1.30k|        )
18151|      0|        {
18152|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18153|      0|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
18154|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18154:18): [True: 0, False: 0]
  |  Branch (18154:34): [True: 0, False: 0]
  |  Branch (18154:57): [True: 0, False: 0]
  ------------------
18155|      0|                p->error_indicator = 1;
18156|      0|                p->level--;
18157|      0|                return NULL;
18158|      0|            }
18159|      0|            goto done;
18160|      0|        }
18161|  1.30k|        p->mark = _mark;
18162|  1.30k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18163|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18164|  1.30k|        if (_cut_var) {
  ------------------
  |  Branch (18164:13): [True: 0, False: 1.30k]
  ------------------
18165|      0|            p->level--;
18166|      0|            return NULL;
18167|      0|        }
18168|  1.30k|    }
18169|  1.30k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (18169:9): [True: 0, False: 1.30k]
  ------------------
18170|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18170:13): [True: 0, False: 0]
  ------------------
18171|      0|            p->level--;
18172|      0|            return NULL;
18173|      0|        }
18174|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18175|      0|        void *invalid_for_if_clause_var;
18176|      0|        if (
18177|      0|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  Branch (18177:13): [True: 0, False: 0]
  ------------------
18178|      0|        )
18179|      0|        {
18180|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18181|      0|            _res = invalid_for_if_clause_var;
18182|      0|            goto done;
18183|      0|        }
18184|      0|        p->mark = _mark;
18185|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18186|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
18187|      0|    }
18188|  1.30k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (18188:9): [True: 0, False: 1.30k]
  ------------------
18189|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18189:13): [True: 0, False: 0]
  ------------------
18190|      0|            p->level--;
18191|      0|            return NULL;
18192|      0|        }
18193|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18194|      0|        void *invalid_for_target_var;
18195|      0|        if (
18196|      0|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (18196:13): [True: 0, False: 0]
  ------------------
18197|      0|        )
18198|      0|        {
18199|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18200|      0|            _res = invalid_for_target_var;
18201|      0|            goto done;
18202|      0|        }
18203|      0|        p->mark = _mark;
18204|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18205|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
18206|      0|    }
18207|  1.30k|    _res = NULL;
18208|  1.30k|  done:
18209|  1.30k|    p->level--;
18210|  1.30k|    return _res;
18211|  1.30k|}
parser.c:star_targets_rule:
19199|   218k|{
19200|   218k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   437k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19200:9): [True: 0, False: 218k]
  |  Branch (19200:35): [True: 0, False: 218k]
  ------------------
19201|      0|        _Pypegen_stack_overflow(p);
19202|      0|    }
19203|   218k|    if (p->error_indicator) {
  ------------------
  |  Branch (19203:9): [True: 0, False: 218k]
  ------------------
19204|      0|        p->level--;
19205|      0|        return NULL;
19206|      0|    }
19207|   218k|    expr_ty _res = NULL;
19208|   218k|    int _mark = p->mark;
19209|   218k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19209:9): [True: 156, False: 218k]
  |  Branch (19209:31): [True: 0, False: 156]
  ------------------
19210|      0|        p->error_indicator = 1;
19211|      0|        p->level--;
19212|      0|        return NULL;
19213|      0|    }
19214|   218k|    int _start_lineno = p->tokens[_mark]->lineno;
19215|   218k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
19216|   218k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19217|   218k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
19218|   218k|    { // star_target !','
19219|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (19219:13): [True: 0, False: 218k]
  ------------------
19220|      0|            p->level--;
19221|      0|            return NULL;
19222|      0|        }
19223|   218k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19224|   218k|        expr_ty a;
19225|   218k|        if (
19226|   218k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19226:13): [True: 494, False: 218k]
  ------------------
19227|    494|            &&
19228|    494|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (19228:13): [True: 492, False: 2]
  ------------------
19229|   218k|        )
19230|    492|        {
19231|    492|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19232|    492|            _res = a;
19233|    492|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19233:18): [True: 0, False: 492]
  |  Branch (19233:34): [True: 0, False: 492]
  |  Branch (19233:57): [True: 0, False: 0]
  ------------------
19234|      0|                p->error_indicator = 1;
19235|      0|                p->level--;
19236|      0|                return NULL;
19237|      0|            }
19238|    492|            goto done;
19239|    492|        }
19240|   218k|        p->mark = _mark;
19241|   218k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19242|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target !','"));
19243|   218k|    }
19244|      0|    { // star_target ((',' star_target))* ','?
19245|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (19245:13): [True: 0, False: 218k]
  ------------------
19246|      0|            p->level--;
19247|      0|            return NULL;
19248|      0|        }
19249|   218k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19250|   218k|        void *_opt_var;
19251|   218k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
19252|   218k|        expr_ty a;
19253|   218k|        asdl_seq * b;
19254|   218k|        if (
19255|   218k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19255:13): [True: 2, False: 218k]
  ------------------
19256|      2|            &&
19257|      2|            (b = _loop0_97_rule(p))  // ((',' star_target))*
  ------------------
  |  Branch (19257:13): [True: 2, False: 0]
  ------------------
19258|      2|            &&
19259|      2|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19259:13): [True: 2, False: 0]
  ------------------
19260|   218k|        )
19261|      2|        {
19262|      2|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19263|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19264|      2|            if (_token == NULL) {
  ------------------
  |  Branch (19264:17): [True: 0, False: 2]
  ------------------
19265|      0|                p->level--;
19266|      0|                return NULL;
19267|      0|            }
19268|      2|            int _end_lineno = _token->end_lineno;
19269|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
19270|      2|            int _end_col_offset = _token->end_col_offset;
19271|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
19272|      2|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  233|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19273|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19273:18): [True: 0, False: 2]
  |  Branch (19273:34): [True: 0, False: 2]
  |  Branch (19273:57): [True: 0, False: 0]
  ------------------
19274|      0|                p->error_indicator = 1;
19275|      0|                p->level--;
19276|      0|                return NULL;
19277|      0|            }
19278|      2|            goto done;
19279|      2|        }
19280|   218k|        p->mark = _mark;
19281|   218k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19282|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))* ','?"));
19283|   218k|    }
19284|   218k|    _res = NULL;
19285|   218k|  done:
19286|   218k|    p->level--;
19287|   218k|    return _res;
19288|   218k|}
parser.c:star_target_rule:
19417|   436k|{
19418|   436k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   873k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19418:9): [True: 0, False: 436k]
  |  Branch (19418:35): [True: 0, False: 436k]
  ------------------
19419|      0|        _Pypegen_stack_overflow(p);
19420|      0|    }
19421|   436k|    if (p->error_indicator) {
  ------------------
  |  Branch (19421:9): [True: 0, False: 436k]
  ------------------
19422|      0|        p->level--;
19423|      0|        return NULL;
19424|      0|    }
19425|   436k|    expr_ty _res = NULL;
19426|   436k|    if (_PyPegen_is_memoized(p, star_target_type, &_res)) {
  ------------------
  |  |  285|   436k|#define star_target_type 1196
  ------------------
  |  Branch (19426:9): [True: 326k, False: 110k]
  ------------------
19427|   326k|        p->level--;
19428|   326k|        return _res;
19429|   326k|    }
19430|   110k|    int _mark = p->mark;
19431|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19431:9): [True: 0, False: 110k]
  |  Branch (19431:31): [True: 0, False: 0]
  ------------------
19432|      0|        p->error_indicator = 1;
19433|      0|        p->level--;
19434|      0|        return NULL;
19435|      0|    }
19436|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
19437|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19438|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19439|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19440|   110k|    { // '*' (!'*' star_target)
19441|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19441:13): [True: 0, False: 110k]
  ------------------
19442|      0|            p->level--;
19443|      0|            return NULL;
19444|      0|        }
19445|   110k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19446|   110k|        Token * _literal;
19447|   110k|        void *a;
19448|   110k|        if (
19449|   110k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (19449:13): [True: 0, False: 110k]
  ------------------
19450|      0|            &&
19451|      0|            (a = _tmp_101_rule(p))  // !'*' star_target
  ------------------
  |  Branch (19451:13): [True: 0, False: 0]
  ------------------
19452|   110k|        )
19453|      0|        {
19454|      0|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19455|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19456|      0|            if (_token == NULL) {
  ------------------
  |  Branch (19456:17): [True: 0, False: 0]
  ------------------
19457|      0|                p->level--;
19458|      0|                return NULL;
19459|      0|            }
19460|      0|            int _end_lineno = _token->end_lineno;
19461|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19462|      0|            int _end_col_offset = _token->end_col_offset;
19463|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19464|      0|            _res = _PyAST_Starred ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , Store , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Starred ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , Store , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19465|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19465:18): [True: 0, False: 0]
  |  Branch (19465:34): [True: 0, False: 0]
  |  Branch (19465:57): [True: 0, False: 0]
  ------------------
19466|      0|                p->error_indicator = 1;
19467|      0|                p->level--;
19468|      0|                return NULL;
19469|      0|            }
19470|      0|            goto done;
19471|      0|        }
19472|   110k|        p->mark = _mark;
19473|   110k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19474|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (!'*' star_target)"));
19475|   110k|    }
19476|      0|    { // target_with_star_atom
19477|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19477:13): [True: 0, False: 110k]
  ------------------
19478|      0|            p->level--;
19479|      0|            return NULL;
19480|      0|        }
19481|   110k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19482|   110k|        expr_ty target_with_star_atom_var;
19483|   110k|        if (
19484|   110k|            (target_with_star_atom_var = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19484:13): [True: 496, False: 109k]
  ------------------
19485|   110k|        )
19486|    496|        {
19487|    496|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19488|    496|            _res = target_with_star_atom_var;
19489|    496|            goto done;
19490|    496|        }
19491|   109k|        p->mark = _mark;
19492|   109k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19493|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_with_star_atom"));
19494|   109k|    }
19495|   109k|    _res = NULL;
19496|   110k|  done:
19497|   110k|    _PyPegen_insert_memo(p, _mark, star_target_type, _res);
  ------------------
  |  |  285|   110k|#define star_target_type 1196
  ------------------
19498|   110k|    p->level--;
19499|   110k|    return _res;
19500|   109k|}
parser.c:target_with_star_atom_rule:
19508|   110k|{
19509|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19509:9): [True: 0, False: 110k]
  |  Branch (19509:35): [True: 0, False: 110k]
  ------------------
19510|      0|        _Pypegen_stack_overflow(p);
19511|      0|    }
19512|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (19512:9): [True: 0, False: 110k]
  ------------------
19513|      0|        p->level--;
19514|      0|        return NULL;
19515|      0|    }
19516|   110k|    expr_ty _res = NULL;
19517|   110k|    if (_PyPegen_is_memoized(p, target_with_star_atom_type, &_res)) {
  ------------------
  |  |  286|   110k|#define target_with_star_atom_type 1197
  ------------------
  |  Branch (19517:9): [True: 4, False: 110k]
  ------------------
19518|      4|        p->level--;
19519|      4|        return _res;
19520|      4|    }
19521|   110k|    int _mark = p->mark;
19522|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19522:9): [True: 0, False: 110k]
  |  Branch (19522:31): [True: 0, False: 0]
  ------------------
19523|      0|        p->error_indicator = 1;
19524|      0|        p->level--;
19525|      0|        return NULL;
19526|      0|    }
19527|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
19528|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19529|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19530|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19531|   110k|    { // t_primary '.' NAME !t_lookahead
19532|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19532:13): [True: 0, False: 110k]
  ------------------
19533|      0|            p->level--;
19534|      0|            return NULL;
19535|      0|        }
19536|   110k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19537|   110k|        Token * _literal;
19538|   110k|        expr_ty a;
19539|   110k|        expr_ty b;
19540|   110k|        if (
19541|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19541:13): [True: 350, False: 109k]
  ------------------
19542|    350|            &&
19543|    350|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19543:13): [True: 106, False: 244]
  ------------------
19544|    106|            &&
19545|    106|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19545:13): [True: 106, False: 0]
  ------------------
19546|    106|            &&
19547|    106|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19547:13): [True: 106, False: 0]
  ------------------
19548|   110k|        )
19549|    106|        {
19550|    106|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19551|    106|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19552|    106|            if (_token == NULL) {
  ------------------
  |  Branch (19552:17): [True: 0, False: 106]
  ------------------
19553|      0|                p->level--;
19554|      0|                return NULL;
19555|      0|            }
19556|    106|            int _end_lineno = _token->end_lineno;
19557|    106|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    106|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 106]
  |  |  ------------------
  ------------------
19558|    106|            int _end_col_offset = _token->end_col_offset;
19559|    106|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    106|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 106]
  |  |  ------------------
  ------------------
19560|    106|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  269|    106|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19561|    106|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19561:18): [True: 0, False: 106]
  |  Branch (19561:34): [True: 0, False: 106]
  |  Branch (19561:57): [True: 0, False: 0]
  ------------------
19562|      0|                p->error_indicator = 1;
19563|      0|                p->level--;
19564|      0|                return NULL;
19565|      0|            }
19566|    106|            goto done;
19567|    106|        }
19568|   110k|        p->mark = _mark;
19569|   110k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19570|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19571|   110k|    }
19572|      0|    { // t_primary '[' slices ']' !t_lookahead
19573|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19573:13): [True: 0, False: 110k]
  ------------------
19574|      0|            p->level--;
19575|      0|            return NULL;
19576|      0|        }
19577|   110k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19578|   110k|        Token * _literal;
19579|   110k|        Token * _literal_1;
19580|   110k|        expr_ty a;
19581|   110k|        expr_ty b;
19582|   110k|        if (
19583|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19583:13): [True: 244, False: 109k]
  ------------------
19584|    244|            &&
19585|    244|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19585:13): [True: 4, False: 240]
  ------------------
19586|      4|            &&
19587|      4|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (19587:13): [True: 4, False: 0]
  ------------------
19588|      4|            &&
19589|      4|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19589:13): [True: 4, False: 0]
  ------------------
19590|      4|            &&
19591|      4|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19591:13): [True: 4, False: 0]
  ------------------
19592|   110k|        )
19593|      4|        {
19594|      4|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19595|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19596|      4|            if (_token == NULL) {
  ------------------
  |  Branch (19596:17): [True: 0, False: 4]
  ------------------
19597|      0|                p->level--;
19598|      0|                return NULL;
19599|      0|            }
19600|      4|            int _end_lineno = _token->end_lineno;
19601|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
19602|      4|            int _end_col_offset = _token->end_col_offset;
19603|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
19604|      4|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19605|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19605:18): [True: 0, False: 4]
  |  Branch (19605:34): [True: 0, False: 4]
  |  Branch (19605:57): [True: 0, False: 0]
  ------------------
19606|      0|                p->error_indicator = 1;
19607|      0|                p->level--;
19608|      0|                return NULL;
19609|      0|            }
19610|      4|            goto done;
19611|      4|        }
19612|   110k|        p->mark = _mark;
19613|   110k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19614|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19615|   110k|    }
19616|      0|    { // star_atom
19617|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19617:13): [True: 0, False: 110k]
  ------------------
19618|      0|            p->level--;
19619|      0|            return NULL;
19620|      0|        }
19621|   110k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_atom"));
19622|   110k|        expr_ty star_atom_var;
19623|   110k|        if (
19624|   110k|            (star_atom_var = star_atom_rule(p))  // star_atom
  ------------------
  |  Branch (19624:13): [True: 386, False: 109k]
  ------------------
19625|   110k|        )
19626|    386|        {
19627|    386|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_atom"));
19628|    386|            _res = star_atom_var;
19629|    386|            goto done;
19630|    386|        }
19631|   109k|        p->mark = _mark;
19632|   109k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19633|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_atom"));
19634|   109k|    }
19635|   109k|    _res = NULL;
19636|   110k|  done:
19637|   110k|    _PyPegen_insert_memo(p, _mark, target_with_star_atom_type, _res);
  ------------------
  |  |  286|   110k|#define target_with_star_atom_type 1197
  ------------------
19638|   110k|    p->level--;
19639|   110k|    return _res;
19640|   109k|}
parser.c:t_primary_rule:
20023|  1.10M|{
20024|  1.10M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.20M|#  define MAXSTACK 6000
  ------------------
  |  Branch (20024:9): [True: 0, False: 1.10M]
  |  Branch (20024:35): [True: 0, False: 1.10M]
  ------------------
20025|      0|        _Pypegen_stack_overflow(p);
20026|      0|    }
20027|  1.10M|    expr_ty _res = NULL;
20028|  1.10M|    if (_PyPegen_is_memoized(p, t_primary_type, &_res)) {
  ------------------
  |  |  290|  1.10M|#define t_primary_type 1201  // Left-recursive
  ------------------
  |  Branch (20028:9): [True: 993k, False: 110k]
  ------------------
20029|   993k|        p->level--;
20030|   993k|        return _res;
20031|   993k|    }
20032|   110k|    int _mark = p->mark;
20033|   110k|    int _resmark = p->mark;
20034|   110k|    while (1) {
  ------------------
  |  Branch (20034:12): [True: 110k, Folded]
  ------------------
20035|   110k|        int tmpvar_9 = _PyPegen_update_memo(p, _mark, t_primary_type, _res);
  ------------------
  |  |  290|   110k|#define t_primary_type 1201  // Left-recursive
  ------------------
20036|   110k|        if (tmpvar_9) {
  ------------------
  |  Branch (20036:13): [True: 0, False: 110k]
  ------------------
20037|      0|            p->level--;
20038|      0|            return _res;
20039|      0|        }
20040|   110k|        p->mark = _mark;
20041|   110k|        void *_raw = t_primary_raw(p);
20042|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20042:13): [True: 0, False: 110k]
  ------------------
20043|      0|            p->level--;
20044|      0|            return NULL;
20045|      0|        }
20046|   110k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (20046:13): [True: 109k, False: 952]
  |  Branch (20046:29): [True: 350, False: 602]
  ------------------
20047|   110k|            break;
20048|    602|        _resmark = p->mark;
20049|    602|        _res = _raw;
20050|    602|    }
20051|   110k|    p->mark = _resmark;
20052|   110k|    p->level--;
20053|   110k|    return _res;
20054|   110k|}
parser.c:t_primary_raw:
20057|   110k|{
20058|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   221k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20058:9): [True: 0, False: 110k]
  |  Branch (20058:35): [True: 0, False: 110k]
  ------------------
20059|      0|        _Pypegen_stack_overflow(p);
20060|      0|    }
20061|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (20061:9): [True: 0, False: 110k]
  ------------------
20062|      0|        p->level--;
20063|      0|        return NULL;
20064|      0|    }
20065|   110k|    expr_ty _res = NULL;
20066|   110k|    int _mark = p->mark;
20067|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20067:9): [True: 0, False: 110k]
  |  Branch (20067:31): [True: 0, False: 0]
  ------------------
20068|      0|        p->error_indicator = 1;
20069|      0|        p->level--;
20070|      0|        return NULL;
20071|      0|    }
20072|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
20073|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
20074|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
20075|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
20076|   110k|    { // t_primary '.' NAME &t_lookahead
20077|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20077:13): [True: 0, False: 110k]
  ------------------
20078|      0|            p->level--;
20079|      0|            return NULL;
20080|      0|        }
20081|   110k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20082|   110k|        Token * _literal;
20083|   110k|        expr_ty a;
20084|   110k|        expr_ty b;
20085|   110k|        if (
20086|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20086:13): [True: 602, False: 110k]
  ------------------
20087|    602|            &&
20088|    602|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20088:13): [True: 308, False: 294]
  ------------------
20089|    308|            &&
20090|    308|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20090:13): [True: 308, False: 0]
  ------------------
20091|    308|            &&
20092|    308|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20092:13): [True: 202, False: 106]
  ------------------
20093|   110k|        )
20094|    202|        {
20095|    202|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20096|    202|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20097|    202|            if (_token == NULL) {
  ------------------
  |  Branch (20097:17): [True: 0, False: 202]
  ------------------
20098|      0|                p->level--;
20099|      0|                return NULL;
20100|      0|            }
20101|    202|            int _end_lineno = _token->end_lineno;
20102|    202|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    202|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 202]
  |  |  ------------------
  ------------------
20103|    202|            int _end_col_offset = _token->end_col_offset;
20104|    202|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    202|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 202]
  |  |  ------------------
  ------------------
20105|    202|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  269|    202|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20106|    202|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20106:18): [True: 0, False: 202]
  |  Branch (20106:34): [True: 0, False: 202]
  |  Branch (20106:57): [True: 0, False: 0]
  ------------------
20107|      0|                p->error_indicator = 1;
20108|      0|                p->level--;
20109|      0|                return NULL;
20110|      0|            }
20111|    202|            goto done;
20112|    202|        }
20113|   110k|        p->mark = _mark;
20114|   110k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20115|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20116|   110k|    }
20117|      0|    { // t_primary '[' slices ']' &t_lookahead
20118|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20118:13): [True: 0, False: 110k]
  ------------------
20119|      0|            p->level--;
20120|      0|            return NULL;
20121|      0|        }
20122|   110k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20123|   110k|        Token * _literal;
20124|   110k|        Token * _literal_1;
20125|   110k|        expr_ty a;
20126|   110k|        expr_ty b;
20127|   110k|        if (
20128|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20128:13): [True: 400, False: 110k]
  ------------------
20129|    400|            &&
20130|    400|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20130:13): [True: 4, False: 396]
  ------------------
20131|      4|            &&
20132|      4|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20132:13): [True: 4, False: 0]
  ------------------
20133|      4|            &&
20134|      4|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20134:13): [True: 4, False: 0]
  ------------------
20135|      4|            &&
20136|      4|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20136:13): [True: 0, False: 4]
  ------------------
20137|   110k|        )
20138|      0|        {
20139|      0|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20140|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20141|      0|            if (_token == NULL) {
  ------------------
  |  Branch (20141:17): [True: 0, False: 0]
  ------------------
20142|      0|                p->level--;
20143|      0|                return NULL;
20144|      0|            }
20145|      0|            int _end_lineno = _token->end_lineno;
20146|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20147|      0|            int _end_col_offset = _token->end_col_offset;
20148|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20149|      0|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20150|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20150:18): [True: 0, False: 0]
  |  Branch (20150:34): [True: 0, False: 0]
  |  Branch (20150:57): [True: 0, False: 0]
  ------------------
20151|      0|                p->error_indicator = 1;
20152|      0|                p->level--;
20153|      0|                return NULL;
20154|      0|            }
20155|      0|            goto done;
20156|      0|        }
20157|   110k|        p->mark = _mark;
20158|   110k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20159|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20160|   110k|    }
20161|      0|    { // t_primary genexp &t_lookahead
20162|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20162:13): [True: 0, False: 110k]
  ------------------
20163|      0|            p->level--;
20164|      0|            return NULL;
20165|      0|        }
20166|   110k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary genexp &t_lookahead"));
20167|   110k|        expr_ty a;
20168|   110k|        expr_ty b;
20169|   110k|        if (
20170|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20170:13): [True: 400, False: 110k]
  ------------------
20171|    400|            &&
20172|    400|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (20172:13): [True: 0, False: 400]
  ------------------
20173|      0|            &&
20174|      0|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20174:13): [True: 0, False: 0]
  ------------------
20175|   110k|        )
20176|      0|        {
20177|      0|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary genexp &t_lookahead"));
20178|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20179|      0|            if (_token == NULL) {
  ------------------
  |  Branch (20179:17): [True: 0, False: 0]
  ------------------
20180|      0|                p->level--;
20181|      0|                return NULL;
20182|      0|            }
20183|      0|            int _end_lineno = _token->end_lineno;
20184|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20185|      0|            int _end_col_offset = _token->end_col_offset;
20186|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
20187|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20188|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20188:18): [True: 0, False: 0]
  |  Branch (20188:34): [True: 0, False: 0]
  |  Branch (20188:57): [True: 0, False: 0]
  ------------------
20189|      0|                p->error_indicator = 1;
20190|      0|                p->level--;
20191|      0|                return NULL;
20192|      0|            }
20193|      0|            goto done;
20194|      0|        }
20195|   110k|        p->mark = _mark;
20196|   110k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20197|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary genexp &t_lookahead"));
20198|   110k|    }
20199|      0|    { // t_primary '(' arguments? ')' &t_lookahead
20200|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20200:13): [True: 0, False: 110k]
  ------------------
20201|      0|            p->level--;
20202|      0|            return NULL;
20203|      0|        }
20204|   110k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20205|   110k|        Token * _literal;
20206|   110k|        Token * _literal_1;
20207|   110k|        expr_ty a;
20208|   110k|        void *b;
20209|   110k|        if (
20210|   110k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20210:13): [True: 400, False: 110k]
  ------------------
20211|    400|            &&
20212|    400|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20212:13): [True: 290, False: 110]
  ------------------
20213|    290|            &&
20214|    290|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (20214:13): [True: 290, False: 0]
  ------------------
20215|    290|            &&
20216|    290|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20216:13): [True: 290, False: 0]
  ------------------
20217|    290|            &&
20218|    290|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20218:13): [True: 50, False: 240]
  ------------------
20219|   110k|        )
20220|     50|        {
20221|     50|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20222|     50|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20223|     50|            if (_token == NULL) {
  ------------------
  |  Branch (20223:17): [True: 0, False: 50]
  ------------------
20224|      0|                p->level--;
20225|      0|                return NULL;
20226|      0|            }
20227|     50|            int _end_lineno = _token->end_lineno;
20228|     50|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
20229|     50|            int _end_col_offset = _token->end_col_offset;
20230|     50|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
20231|     50|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  269|     50|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (20231:38): [True: 48, False: 2]
  |  Branch (20231:92): [True: 48, False: 2]
  ------------------
20232|     50|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20232:18): [True: 0, False: 50]
  |  Branch (20232:34): [True: 0, False: 50]
  |  Branch (20232:57): [True: 0, False: 0]
  ------------------
20233|      0|                p->error_indicator = 1;
20234|      0|                p->level--;
20235|      0|                return NULL;
20236|      0|            }
20237|     50|            goto done;
20238|     50|        }
20239|   110k|        p->mark = _mark;
20240|   110k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20241|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20242|   110k|    }
20243|      0|    { // atom &t_lookahead
20244|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (20244:13): [True: 0, False: 110k]
  ------------------
20245|      0|            p->level--;
20246|      0|            return NULL;
20247|      0|        }
20248|   110k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20249|   110k|        expr_ty a;
20250|   110k|        if (
20251|   110k|            (a = atom_rule(p))  // atom
  ------------------
  |  Branch (20251:13): [True: 868, False: 109k]
  ------------------
20252|    868|            &&
20253|    868|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20253:13): [True: 700, False: 168]
  ------------------
20254|   110k|        )
20255|    700|        {
20256|    700|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20257|    700|            _res = a;
20258|    700|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20258:18): [True: 0, False: 700]
  |  Branch (20258:34): [True: 0, False: 700]
  |  Branch (20258:57): [True: 0, False: 0]
  ------------------
20259|      0|                p->error_indicator = 1;
20260|      0|                p->level--;
20261|      0|                return NULL;
20262|      0|            }
20263|    700|            goto done;
20264|    700|        }
20265|   109k|        p->mark = _mark;
20266|   109k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20267|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom &t_lookahead"));
20268|   109k|    }
20269|   109k|    _res = NULL;
20270|   110k|  done:
20271|   110k|    p->level--;
20272|   110k|    return _res;
20273|   109k|}
parser.c:t_lookahead_rule:
20278|  1.68k|{
20279|  1.68k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.37k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20279:9): [True: 0, False: 1.68k]
  |  Branch (20279:35): [True: 0, False: 1.68k]
  ------------------
20280|      0|        _Pypegen_stack_overflow(p);
20281|      0|    }
20282|  1.68k|    if (p->error_indicator) {
  ------------------
  |  Branch (20282:9): [True: 0, False: 1.68k]
  ------------------
20283|      0|        p->level--;
20284|      0|        return NULL;
20285|      0|    }
20286|  1.68k|    void * _res = NULL;
20287|  1.68k|    int _mark = p->mark;
20288|  1.68k|    { // '('
20289|  1.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (20289:13): [True: 0, False: 1.68k]
  ------------------
20290|      0|            p->level--;
20291|      0|            return NULL;
20292|      0|        }
20293|  1.68k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
20294|  1.68k|        Token * _literal;
20295|  1.68k|        if (
20296|  1.68k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20296:13): [True: 386, False: 1.30k]
  ------------------
20297|  1.68k|        )
20298|    386|        {
20299|    386|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
20300|    386|            _res = _literal;
20301|    386|            goto done;
20302|    386|        }
20303|  1.30k|        p->mark = _mark;
20304|  1.30k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20305|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
20306|  1.30k|    }
20307|      0|    { // '['
20308|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (20308:13): [True: 0, False: 1.30k]
  ------------------
20309|      0|            p->level--;
20310|      0|            return NULL;
20311|      0|        }
20312|  1.30k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
20313|  1.30k|        Token * _literal;
20314|  1.30k|        if (
20315|  1.30k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20315:13): [True: 4, False: 1.29k]
  ------------------
20316|  1.30k|        )
20317|      4|        {
20318|      4|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
20319|      4|            _res = _literal;
20320|      4|            goto done;
20321|      4|        }
20322|  1.29k|        p->mark = _mark;
20323|  1.29k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20324|  1.29k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
20325|  1.29k|    }
20326|      0|    { // '.'
20327|  1.29k|        if (p->error_indicator) {
  ------------------
  |  Branch (20327:13): [True: 0, False: 1.29k]
  ------------------
20328|      0|            p->level--;
20329|      0|            return NULL;
20330|      0|        }
20331|  1.29k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
20332|  1.29k|        Token * _literal;
20333|  1.29k|        if (
20334|  1.29k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20334:13): [True: 562, False: 736]
  ------------------
20335|  1.29k|        )
20336|    562|        {
20337|    562|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
20338|    562|            _res = _literal;
20339|    562|            goto done;
20340|    562|        }
20341|    736|        p->mark = _mark;
20342|    736|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20343|    736|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
20344|    736|    }
20345|    736|    _res = NULL;
20346|  1.68k|  done:
20347|  1.68k|    p->level--;
20348|  1.68k|    return _res;
20349|    736|}
parser.c:star_atom_rule:
19649|   110k|{
19650|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19650:9): [True: 0, False: 110k]
  |  Branch (19650:35): [True: 0, False: 110k]
  ------------------
19651|      0|        _Pypegen_stack_overflow(p);
19652|      0|    }
19653|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (19653:9): [True: 0, False: 110k]
  ------------------
19654|      0|        p->level--;
19655|      0|        return NULL;
19656|      0|    }
19657|   110k|    expr_ty _res = NULL;
19658|   110k|    int _mark = p->mark;
19659|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19659:9): [True: 0, False: 110k]
  |  Branch (19659:31): [True: 0, False: 0]
  ------------------
19660|      0|        p->error_indicator = 1;
19661|      0|        p->level--;
19662|      0|        return NULL;
19663|      0|    }
19664|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
19665|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19666|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19667|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
19668|   110k|    { // NAME
19669|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (19669:13): [True: 0, False: 110k]
  ------------------
19670|      0|            p->level--;
19671|      0|            return NULL;
19672|      0|        }
19673|   110k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19674|   110k|        expr_ty a;
19675|   110k|        if (
19676|   110k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19676:13): [True: 386, False: 109k]
  ------------------
19677|   110k|        )
19678|    386|        {
19679|    386|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19680|    386|            _res = _PyPegen_set_expr_context ( p , a , Store );
19681|    386|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19681:18): [True: 0, False: 386]
  |  Branch (19681:34): [True: 0, False: 386]
  |  Branch (19681:57): [True: 0, False: 0]
  ------------------
19682|      0|                p->error_indicator = 1;
19683|      0|                p->level--;
19684|      0|                return NULL;
19685|      0|            }
19686|    386|            goto done;
19687|    386|        }
19688|   109k|        p->mark = _mark;
19689|   109k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19690|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19691|   109k|    }
19692|      0|    { // '(' target_with_star_atom ')'
19693|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19693:13): [True: 0, False: 109k]
  ------------------
19694|      0|            p->level--;
19695|      0|            return NULL;
19696|      0|        }
19697|   109k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19698|   109k|        Token * _literal;
19699|   109k|        Token * _literal_1;
19700|   109k|        expr_ty a;
19701|   109k|        if (
19702|   109k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19702:13): [True: 4, False: 109k]
  ------------------
19703|      4|            &&
19704|      4|            (a = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19704:13): [True: 0, False: 4]
  ------------------
19705|      0|            &&
19706|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19706:13): [True: 0, False: 0]
  ------------------
19707|   109k|        )
19708|      0|        {
19709|      0|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19710|      0|            _res = _PyPegen_set_expr_context ( p , a , Store );
19711|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19711:18): [True: 0, False: 0]
  |  Branch (19711:34): [True: 0, False: 0]
  |  Branch (19711:57): [True: 0, False: 0]
  ------------------
19712|      0|                p->error_indicator = 1;
19713|      0|                p->level--;
19714|      0|                return NULL;
19715|      0|            }
19716|      0|            goto done;
19717|      0|        }
19718|   109k|        p->mark = _mark;
19719|   109k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19720|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' target_with_star_atom ')'"));
19721|   109k|    }
19722|      0|    { // '(' star_targets_tuple_seq? ')'
19723|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19723:13): [True: 0, False: 109k]
  ------------------
19724|      0|            p->level--;
19725|      0|            return NULL;
19726|      0|        }
19727|   109k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19728|   109k|        Token * _literal;
19729|   109k|        Token * _literal_1;
19730|   109k|        void *a;
19731|   109k|        if (
19732|   109k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19732:13): [True: 4, False: 109k]
  ------------------
19733|      4|            &&
19734|      4|            (a = star_targets_tuple_seq_rule(p), !p->error_indicator)  // star_targets_tuple_seq?
  ------------------
  |  Branch (19734:13): [True: 4, False: 0]
  ------------------
19735|      4|            &&
19736|      4|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19736:13): [True: 0, False: 4]
  ------------------
19737|   109k|        )
19738|      0|        {
19739|      0|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19740|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19741|      0|            if (_token == NULL) {
  ------------------
  |  Branch (19741:17): [True: 0, False: 0]
  ------------------
19742|      0|                p->level--;
19743|      0|                return NULL;
19744|      0|            }
19745|      0|            int _end_lineno = _token->end_lineno;
19746|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19747|      0|            int _end_col_offset = _token->end_col_offset;
19748|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19749|      0|            _res = _PyAST_Tuple ( a , Store , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19750|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19750:18): [True: 0, False: 0]
  |  Branch (19750:34): [True: 0, False: 0]
  |  Branch (19750:57): [True: 0, False: 0]
  ------------------
19751|      0|                p->error_indicator = 1;
19752|      0|                p->level--;
19753|      0|                return NULL;
19754|      0|            }
19755|      0|            goto done;
19756|      0|        }
19757|   109k|        p->mark = _mark;
19758|   109k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19759|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19760|   109k|    }
19761|      0|    { // '[' star_targets_list_seq? ']'
19762|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19762:13): [True: 0, False: 109k]
  ------------------
19763|      0|            p->level--;
19764|      0|            return NULL;
19765|      0|        }
19766|   109k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19767|   109k|        Token * _literal;
19768|   109k|        Token * _literal_1;
19769|   109k|        void *a;
19770|   109k|        if (
19771|   109k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19771:13): [True: 0, False: 109k]
  ------------------
19772|      0|            &&
19773|      0|            (a = star_targets_list_seq_rule(p), !p->error_indicator)  // star_targets_list_seq?
  ------------------
  |  Branch (19773:13): [True: 0, False: 0]
  ------------------
19774|      0|            &&
19775|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19775:13): [True: 0, False: 0]
  ------------------
19776|   109k|        )
19777|      0|        {
19778|      0|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19779|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19780|      0|            if (_token == NULL) {
  ------------------
  |  Branch (19780:17): [True: 0, False: 0]
  ------------------
19781|      0|                p->level--;
19782|      0|                return NULL;
19783|      0|            }
19784|      0|            int _end_lineno = _token->end_lineno;
19785|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19786|      0|            int _end_col_offset = _token->end_col_offset;
19787|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19788|      0|            _res = _PyAST_List ( a , Store , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19789|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19789:18): [True: 0, False: 0]
  |  Branch (19789:34): [True: 0, False: 0]
  |  Branch (19789:57): [True: 0, False: 0]
  ------------------
19790|      0|                p->error_indicator = 1;
19791|      0|                p->level--;
19792|      0|                return NULL;
19793|      0|            }
19794|      0|            goto done;
19795|      0|        }
19796|   109k|        p->mark = _mark;
19797|   109k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19798|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19799|   109k|    }
19800|   109k|    _res = NULL;
19801|   110k|  done:
19802|   110k|    p->level--;
19803|   110k|    return _res;
19804|   109k|}
parser.c:star_targets_tuple_seq_rule:
19340|      4|{
19341|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (19341:9): [True: 0, False: 4]
  |  Branch (19341:35): [True: 0, False: 4]
  ------------------
19342|      0|        _Pypegen_stack_overflow(p);
19343|      0|    }
19344|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (19344:9): [True: 0, False: 4]
  ------------------
19345|      0|        p->level--;
19346|      0|        return NULL;
19347|      0|    }
19348|      4|    asdl_expr_seq* _res = NULL;
19349|      4|    int _mark = p->mark;
19350|      4|    { // star_target ((',' star_target))+ ','?
19351|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (19351:13): [True: 0, False: 4]
  ------------------
19352|      0|            p->level--;
19353|      0|            return NULL;
19354|      0|        }
19355|      4|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19356|      4|        void *_opt_var;
19357|      4|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
19358|      4|        expr_ty a;
19359|      4|        asdl_seq * b;
19360|      4|        if (
19361|      4|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19361:13): [True: 0, False: 4]
  ------------------
19362|      0|            &&
19363|      0|            (b = _loop1_100_rule(p))  // ((',' star_target))+
  ------------------
  |  Branch (19363:13): [True: 0, False: 0]
  ------------------
19364|      0|            &&
19365|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19365:13): [True: 0, False: 0]
  ------------------
19366|      4|        )
19367|      0|        {
19368|      0|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19369|      0|            _res = ( asdl_expr_seq* ) _PyPegen_seq_insert_in_front ( p , a , b );
19370|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19370:18): [True: 0, False: 0]
  |  Branch (19370:34): [True: 0, False: 0]
  |  Branch (19370:57): [True: 0, False: 0]
  ------------------
19371|      0|                p->error_indicator = 1;
19372|      0|                p->level--;
19373|      0|                return NULL;
19374|      0|            }
19375|      0|            goto done;
19376|      0|        }
19377|      4|        p->mark = _mark;
19378|      4|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19379|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19380|      4|    }
19381|      0|    { // star_target ','
19382|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (19382:13): [True: 0, False: 4]
  ------------------
19383|      0|            p->level--;
19384|      0|            return NULL;
19385|      0|        }
19386|      4|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19387|      4|        Token * _literal;
19388|      4|        expr_ty a;
19389|      4|        if (
19390|      4|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19390:13): [True: 0, False: 4]
  ------------------
19391|      0|            &&
19392|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19392:13): [True: 0, False: 0]
  ------------------
19393|      4|        )
19394|      0|        {
19395|      0|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19396|      0|            _res = ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , a );
19397|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19397:18): [True: 0, False: 0]
  |  Branch (19397:34): [True: 0, False: 0]
  |  Branch (19397:57): [True: 0, False: 0]
  ------------------
19398|      0|                p->error_indicator = 1;
19399|      0|                p->level--;
19400|      0|                return NULL;
19401|      0|            }
19402|      0|            goto done;
19403|      0|        }
19404|      4|        p->mark = _mark;
19405|      4|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19406|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ','"));
19407|      4|    }
19408|      4|    _res = NULL;
19409|      4|  done:
19410|      4|    p->level--;
19411|      4|    return _res;
19412|      4|}
parser.c:_tmp_168_rule:
38742|      4|{
38743|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (38743:9): [True: 0, False: 4]
  |  Branch (38743:35): [True: 0, False: 4]
  ------------------
38744|      0|        _Pypegen_stack_overflow(p);
38745|      0|    }
38746|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (38746:9): [True: 0, False: 4]
  ------------------
38747|      0|        p->level--;
38748|      0|        return NULL;
38749|      0|    }
38750|      4|    void * _res = NULL;
38751|      4|    int _mark = p->mark;
38752|      4|    { // ',' star_target
38753|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (38753:13): [True: 0, False: 4]
  ------------------
38754|      0|            p->level--;
38755|      0|            return NULL;
38756|      0|        }
38757|      4|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38758|      4|        Token * _literal;
38759|      4|        expr_ty c;
38760|      4|        if (
38761|      4|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38761:13): [True: 2, False: 2]
  ------------------
38762|      2|            &&
38763|      2|            (c = star_target_rule(p))  // star_target
  ------------------
  |  Branch (38763:13): [True: 2, False: 0]
  ------------------
38764|      4|        )
38765|      2|        {
38766|      2|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38767|      2|            _res = c;
38768|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38768:18): [True: 0, False: 2]
  |  Branch (38768:34): [True: 0, False: 2]
  |  Branch (38768:57): [True: 0, False: 0]
  ------------------
38769|      0|                p->error_indicator = 1;
38770|      0|                p->level--;
38771|      0|                return NULL;
38772|      0|            }
38773|      2|            goto done;
38774|      2|        }
38775|      2|        p->mark = _mark;
38776|      2|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
38777|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
38778|      2|    }
38779|      2|    _res = NULL;
38780|      4|  done:
38781|      4|    p->level--;
38782|      4|    return _res;
38783|      2|}
parser.c:_loop0_97_rule:
34500|      2|{
34501|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (34501:9): [True: 0, False: 2]
  |  Branch (34501:35): [True: 0, False: 2]
  ------------------
34502|      0|        _Pypegen_stack_overflow(p);
34503|      0|    }
34504|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (34504:9): [True: 0, False: 2]
  ------------------
34505|      0|        p->level--;
34506|      0|        return NULL;
34507|      0|    }
34508|      2|    void *_res = NULL;
34509|      2|    int _mark = p->mark;
34510|      2|    void **_children = PyMem_Malloc(sizeof(void *));
34511|      2|    if (!_children) {
  ------------------
  |  Branch (34511:9): [True: 0, False: 2]
  ------------------
34512|      0|        p->error_indicator = 1;
34513|      0|        PyErr_NoMemory();
34514|      0|        p->level--;
34515|      0|        return NULL;
34516|      0|    }
34517|      2|    Py_ssize_t _children_capacity = 1;
34518|      2|    Py_ssize_t _n = 0;
34519|      2|    { // (',' star_target)
34520|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (34520:13): [True: 0, False: 2]
  ------------------
34521|      0|            p->level--;
34522|      0|            return NULL;
34523|      0|        }
34524|      2|        D(fprintf(stderr, "%*c> _loop0_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
34525|      2|        void *_tmp_168_var;
34526|      2|        while (
34527|      4|            (_tmp_168_var = _tmp_168_rule(p))  // ',' star_target
  ------------------
  |  Branch (34527:13): [True: 2, False: 2]
  ------------------
34528|      2|        )
34529|      2|        {
34530|      2|            _res = _tmp_168_var;
34531|      2|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34531:17): [True: 0, False: 2]
  ------------------
34532|      0|                _children_capacity *= 2;
34533|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34534|      0|                if (!_new_children) {
  ------------------
  |  Branch (34534:21): [True: 0, False: 0]
  ------------------
34535|      0|                    PyMem_Free(_children);
34536|      0|                    p->error_indicator = 1;
34537|      0|                    PyErr_NoMemory();
34538|      0|                    p->level--;
34539|      0|                    return NULL;
34540|      0|                }
34541|      0|                _children = _new_children;
34542|      0|            }
34543|      2|            _children[_n++] = _res;
34544|      2|            _mark = p->mark;
34545|      2|        }
34546|      2|        p->mark = _mark;
34547|      2|        D(fprintf(stderr, "%*c%s _loop0_97[%d-%d]: %s failed!\n", p->level, ' ',
34548|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
34549|      2|    }
34550|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34551|      2|    if (!_seq) {
  ------------------
  |  Branch (34551:9): [True: 0, False: 2]
  ------------------
34552|      0|        PyMem_Free(_children);
34553|      0|        p->error_indicator = 1;
34554|      0|        PyErr_NoMemory();
34555|      0|        p->level--;
34556|      0|        return NULL;
34557|      0|    }
34558|      4|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      2|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34558:28): [True: 2, False: 2]
  ------------------
34559|      2|    PyMem_Free(_children);
34560|      2|    p->level--;
34561|      2|    return _seq;
34562|      2|}
parser.c:star_expressions_rule:
11877|   219k|{
11878|   219k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   438k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11878:9): [True: 0, False: 219k]
  |  Branch (11878:35): [True: 0, False: 219k]
  ------------------
11879|      0|        _Pypegen_stack_overflow(p);
11880|      0|    }
11881|   219k|    if (p->error_indicator) {
  ------------------
  |  Branch (11881:9): [True: 0, False: 219k]
  ------------------
11882|      0|        p->level--;
11883|      0|        return NULL;
11884|      0|    }
11885|   219k|    expr_ty _res = NULL;
11886|   219k|    int _mark = p->mark;
11887|   219k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11887:9): [True: 448, False: 218k]
  |  Branch (11887:31): [True: 0, False: 448]
  ------------------
11888|      0|        p->error_indicator = 1;
11889|      0|        p->level--;
11890|      0|        return NULL;
11891|      0|    }
11892|   219k|    int _start_lineno = p->tokens[_mark]->lineno;
11893|   219k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   219k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 219k]
  |  |  ------------------
  ------------------
11894|   219k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11895|   219k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   219k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 219k]
  |  |  ------------------
  ------------------
11896|   219k|    { // star_expression ((',' star_expression))+ ','?
11897|   219k|        if (p->error_indicator) {
  ------------------
  |  Branch (11897:13): [True: 0, False: 219k]
  ------------------
11898|      0|            p->level--;
11899|      0|            return NULL;
11900|      0|        }
11901|   219k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11902|   219k|        void *_opt_var;
11903|   219k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   219k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 219k]
  |  |  ------------------
  ------------------
11904|   219k|        expr_ty a;
11905|   219k|        asdl_seq * b;
11906|   219k|        if (
11907|   219k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11907:13): [True: 1.09k, False: 218k]
  ------------------
11908|  1.09k|            &&
11909|  1.09k|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11909:13): [True: 2, False: 1.09k]
  ------------------
11910|      2|            &&
11911|      2|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11911:13): [True: 2, False: 0]
  ------------------
11912|   219k|        )
11913|      2|        {
11914|      2|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11915|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11916|      2|            if (_token == NULL) {
  ------------------
  |  Branch (11916:17): [True: 0, False: 2]
  ------------------
11917|      0|                p->level--;
11918|      0|                return NULL;
11919|      0|            }
11920|      2|            int _end_lineno = _token->end_lineno;
11921|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
11922|      2|            int _end_col_offset = _token->end_col_offset;
11923|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
11924|      2|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  233|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11925|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11925:18): [True: 0, False: 2]
  |  Branch (11925:34): [True: 0, False: 2]
  |  Branch (11925:57): [True: 0, False: 0]
  ------------------
11926|      0|                p->error_indicator = 1;
11927|      0|                p->level--;
11928|      0|                return NULL;
11929|      0|            }
11930|      2|            goto done;
11931|      2|        }
11932|   219k|        p->mark = _mark;
11933|   219k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11934|   219k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11935|   219k|    }
11936|      0|    { // star_expression ','
11937|   219k|        if (p->error_indicator) {
  ------------------
  |  Branch (11937:13): [True: 0, False: 219k]
  ------------------
11938|      0|            p->level--;
11939|      0|            return NULL;
11940|      0|        }
11941|   219k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11942|   219k|        Token * _literal;
11943|   219k|        expr_ty a;
11944|   219k|        if (
11945|   219k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11945:13): [True: 1.09k, False: 218k]
  ------------------
11946|  1.09k|            &&
11947|  1.09k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11947:13): [True: 0, False: 1.09k]
  ------------------
11948|   219k|        )
11949|      0|        {
11950|      0|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11951|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11952|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11952:17): [True: 0, False: 0]
  ------------------
11953|      0|                p->level--;
11954|      0|                return NULL;
11955|      0|            }
11956|      0|            int _end_lineno = _token->end_lineno;
11957|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11958|      0|            int _end_col_offset = _token->end_col_offset;
11959|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11960|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11961|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11961:18): [True: 0, False: 0]
  |  Branch (11961:34): [True: 0, False: 0]
  |  Branch (11961:57): [True: 0, False: 0]
  ------------------
11962|      0|                p->error_indicator = 1;
11963|      0|                p->level--;
11964|      0|                return NULL;
11965|      0|            }
11966|      0|            goto done;
11967|      0|        }
11968|   219k|        p->mark = _mark;
11969|   219k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11970|   219k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
11971|   219k|    }
11972|      0|    { // star_expression
11973|   219k|        if (p->error_indicator) {
  ------------------
  |  Branch (11973:13): [True: 0, False: 219k]
  ------------------
11974|      0|            p->level--;
11975|      0|            return NULL;
11976|      0|        }
11977|   219k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
11978|   219k|        expr_ty star_expression_var;
11979|   219k|        if (
11980|   219k|            (star_expression_var = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11980:13): [True: 1.09k, False: 218k]
  ------------------
11981|   219k|        )
11982|  1.09k|        {
11983|  1.09k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
11984|  1.09k|            _res = star_expression_var;
11985|  1.09k|            goto done;
11986|  1.09k|        }
11987|   218k|        p->mark = _mark;
11988|   218k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11989|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
11990|   218k|    }
11991|   218k|    _res = NULL;
11992|   219k|  done:
11993|   219k|    p->level--;
11994|   219k|    return _res;
11995|   218k|}
parser.c:star_expression_rule:
12000|   657k|{
12001|   657k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.31M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12001:9): [True: 0, False: 657k]
  |  Branch (12001:35): [True: 0, False: 657k]
  ------------------
12002|      0|        _Pypegen_stack_overflow(p);
12003|      0|    }
12004|   657k|    if (p->error_indicator) {
  ------------------
  |  Branch (12004:9): [True: 0, False: 657k]
  ------------------
12005|      0|        p->level--;
12006|      0|        return NULL;
12007|      0|    }
12008|   657k|    expr_ty _res = NULL;
12009|   657k|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|   657k|#define star_expression_type 1113
  ------------------
  |  Branch (12009:9): [True: 546k, False: 110k]
  ------------------
12010|   546k|        p->level--;
12011|   546k|        return _res;
12012|   546k|    }
12013|   110k|    int _mark = p->mark;
12014|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12014:9): [True: 0, False: 110k]
  |  Branch (12014:31): [True: 0, False: 0]
  ------------------
12015|      0|        p->error_indicator = 1;
12016|      0|        p->level--;
12017|      0|        return NULL;
12018|      0|    }
12019|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
12020|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
12021|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12022|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
12023|   110k|    { // '*' bitwise_or
12024|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (12024:13): [True: 0, False: 110k]
  ------------------
12025|      0|            p->level--;
12026|      0|            return NULL;
12027|      0|        }
12028|   110k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12029|   110k|        Token * _literal;
12030|   110k|        expr_ty a;
12031|   110k|        if (
12032|   110k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12032:13): [True: 0, False: 110k]
  ------------------
12033|      0|            &&
12034|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12034:13): [True: 0, False: 0]
  ------------------
12035|   110k|        )
12036|      0|        {
12037|      0|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12038|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12039|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12039:17): [True: 0, False: 0]
  ------------------
12040|      0|                p->level--;
12041|      0|                return NULL;
12042|      0|            }
12043|      0|            int _end_lineno = _token->end_lineno;
12044|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12045|      0|            int _end_col_offset = _token->end_col_offset;
12046|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12047|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12048|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12048:18): [True: 0, False: 0]
  |  Branch (12048:34): [True: 0, False: 0]
  |  Branch (12048:57): [True: 0, False: 0]
  ------------------
12049|      0|                p->error_indicator = 1;
12050|      0|                p->level--;
12051|      0|                return NULL;
12052|      0|            }
12053|      0|            goto done;
12054|      0|        }
12055|   110k|        p->mark = _mark;
12056|   110k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12057|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12058|   110k|    }
12059|      0|    { // expression
12060|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (12060:13): [True: 0, False: 110k]
  ------------------
12061|      0|            p->level--;
12062|      0|            return NULL;
12063|      0|        }
12064|   110k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12065|   110k|        expr_ty expression_var;
12066|   110k|        if (
12067|   110k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12067:13): [True: 1.10k, False: 109k]
  ------------------
12068|   110k|        )
12069|  1.10k|        {
12070|  1.10k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12071|  1.10k|            _res = expression_var;
12072|  1.10k|            goto done;
12073|  1.10k|        }
12074|   109k|        p->mark = _mark;
12075|   109k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12076|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12077|   109k|    }
12078|   109k|    _res = NULL;
12079|   110k|  done:
12080|   110k|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|   110k|#define star_expression_type 1113
  ------------------
12081|   110k|    p->level--;
12082|   110k|    return _res;
12083|   109k|}
parser.c:_loop1_56_rule:
31877|  1.09k|{
31878|  1.09k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.19k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31878:9): [True: 0, False: 1.09k]
  |  Branch (31878:35): [True: 0, False: 1.09k]
  ------------------
31879|      0|        _Pypegen_stack_overflow(p);
31880|      0|    }
31881|  1.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (31881:9): [True: 0, False: 1.09k]
  ------------------
31882|      0|        p->level--;
31883|      0|        return NULL;
31884|      0|    }
31885|  1.09k|    void *_res = NULL;
31886|  1.09k|    int _mark = p->mark;
31887|  1.09k|    void **_children = PyMem_Malloc(sizeof(void *));
31888|  1.09k|    if (!_children) {
  ------------------
  |  Branch (31888:9): [True: 0, False: 1.09k]
  ------------------
31889|      0|        p->error_indicator = 1;
31890|      0|        PyErr_NoMemory();
31891|      0|        p->level--;
31892|      0|        return NULL;
31893|      0|    }
31894|  1.09k|    Py_ssize_t _children_capacity = 1;
31895|  1.09k|    Py_ssize_t _n = 0;
31896|  1.09k|    { // (',' star_expression)
31897|  1.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (31897:13): [True: 0, False: 1.09k]
  ------------------
31898|      0|            p->level--;
31899|      0|            return NULL;
31900|      0|        }
31901|  1.09k|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
31902|  1.09k|        void *_tmp_162_var;
31903|  1.09k|        while (
31904|  1.10k|            (_tmp_162_var = _tmp_162_rule(p))  // ',' star_expression
  ------------------
  |  Branch (31904:13): [True: 2, False: 1.09k]
  ------------------
31905|  1.09k|        )
31906|      2|        {
31907|      2|            _res = _tmp_162_var;
31908|      2|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31908:17): [True: 0, False: 2]
  ------------------
31909|      0|                _children_capacity *= 2;
31910|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31911|      0|                if (!_new_children) {
  ------------------
  |  Branch (31911:21): [True: 0, False: 0]
  ------------------
31912|      0|                    PyMem_Free(_children);
31913|      0|                    p->error_indicator = 1;
31914|      0|                    PyErr_NoMemory();
31915|      0|                    p->level--;
31916|      0|                    return NULL;
31917|      0|                }
31918|      0|                _children = _new_children;
31919|      0|            }
31920|      2|            _children[_n++] = _res;
31921|      2|            _mark = p->mark;
31922|      2|        }
31923|  1.09k|        p->mark = _mark;
31924|  1.09k|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
31925|  1.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
31926|  1.09k|    }
31927|  1.09k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31927:9): [True: 1.09k, False: 2]
  |  Branch (31927:20): [True: 0, False: 2]
  ------------------
31928|  1.09k|        PyMem_Free(_children);
31929|  1.09k|        p->level--;
31930|  1.09k|        return NULL;
31931|  1.09k|    }
31932|      2|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31933|      2|    if (!_seq) {
  ------------------
  |  Branch (31933:9): [True: 0, False: 2]
  ------------------
31934|      0|        PyMem_Free(_children);
31935|      0|        p->error_indicator = 1;
31936|      0|        PyErr_NoMemory();
31937|      0|        p->level--;
31938|      0|        return NULL;
31939|      0|    }
31940|      4|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      2|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31940:28): [True: 2, False: 2]
  ------------------
31941|      2|    PyMem_Free(_children);
31942|      2|    p->level--;
31943|      2|    return _seq;
31944|      2|}
parser.c:_tmp_162_rule:
38442|  1.10k|{
38443|  1.10k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38443:9): [True: 0, False: 1.10k]
  |  Branch (38443:35): [True: 0, False: 1.10k]
  ------------------
38444|      0|        _Pypegen_stack_overflow(p);
38445|      0|    }
38446|  1.10k|    if (p->error_indicator) {
  ------------------
  |  Branch (38446:9): [True: 0, False: 1.10k]
  ------------------
38447|      0|        p->level--;
38448|      0|        return NULL;
38449|      0|    }
38450|  1.10k|    void * _res = NULL;
38451|  1.10k|    int _mark = p->mark;
38452|  1.10k|    { // ',' star_expression
38453|  1.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (38453:13): [True: 0, False: 1.10k]
  ------------------
38454|      0|            p->level--;
38455|      0|            return NULL;
38456|      0|        }
38457|  1.10k|        D(fprintf(stderr, "%*c> _tmp_162[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38458|  1.10k|        Token * _literal;
38459|  1.10k|        expr_ty c;
38460|  1.10k|        if (
38461|  1.10k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38461:13): [True: 2, False: 1.09k]
  ------------------
38462|      2|            &&
38463|      2|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (38463:13): [True: 2, False: 0]
  ------------------
38464|  1.10k|        )
38465|      2|        {
38466|      2|            D(fprintf(stderr, "%*c+ _tmp_162[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38467|      2|            _res = c;
38468|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38468:18): [True: 0, False: 2]
  |  Branch (38468:34): [True: 0, False: 2]
  |  Branch (38468:57): [True: 0, False: 0]
  ------------------
38469|      0|                p->error_indicator = 1;
38470|      0|                p->level--;
38471|      0|                return NULL;
38472|      0|            }
38473|      2|            goto done;
38474|      2|        }
38475|  1.09k|        p->mark = _mark;
38476|  1.09k|        D(fprintf(stderr, "%*c%s _tmp_162[%d-%d]: %s failed!\n", p->level, ' ',
38477|  1.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
38478|  1.09k|    }
38479|  1.09k|    _res = NULL;
38480|  1.10k|  done:
38481|  1.10k|    p->level--;
38482|  1.10k|    return _res;
38483|  1.09k|}
parser.c:invalid_comprehension_rule:
22792|  54.1k|{
22793|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22793:9): [True: 0, False: 54.1k]
  |  Branch (22793:35): [True: 0, False: 54.1k]
  ------------------
22794|      0|        _Pypegen_stack_overflow(p);
22795|      0|    }
22796|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22796:9): [True: 0, False: 54.1k]
  ------------------
22797|      0|        p->level--;
22798|      0|        return NULL;
22799|      0|    }
22800|  54.1k|    void * _res = NULL;
22801|  54.1k|    int _mark = p->mark;
22802|  54.1k|    { // '[' '**' expression for_if_clauses
22803|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22803:13): [True: 0, False: 54.1k]
  ------------------
22804|      0|            p->level--;
22805|      0|            return NULL;
22806|      0|        }
22807|  54.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
22808|  54.1k|        Token * _literal;
22809|  54.1k|        Token * a;
22810|  54.1k|        expr_ty b;
22811|  54.1k|        asdl_comprehension_seq* for_if_clauses_var;
22812|  54.1k|        if (
22813|  54.1k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (22813:13): [True: 0, False: 54.1k]
  ------------------
22814|      0|            &&
22815|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22815:13): [True: 0, False: 0]
  ------------------
22816|      0|            &&
22817|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22817:13): [True: 0, False: 0]
  ------------------
22818|      0|            &&
22819|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22819:13): [True: 0, False: 0]
  ------------------
22820|  54.1k|        )
22821|      0|        {
22822|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
22823|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in list comprehension" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22824|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22824:18): [True: 0, False: 0]
  |  Branch (22824:34): [True: 0, False: 0]
  |  Branch (22824:57): [True: 0, False: 0]
  ------------------
22825|      0|                p->error_indicator = 1;
22826|      0|                p->level--;
22827|      0|                return NULL;
22828|      0|            }
22829|      0|            goto done;
22830|      0|        }
22831|  54.1k|        p->mark = _mark;
22832|  54.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22833|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
22834|  54.1k|    }
22835|      0|    { // '(' '**' expression for_if_clauses
22836|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22836:13): [True: 0, False: 54.1k]
  ------------------
22837|      0|            p->level--;
22838|      0|            return NULL;
22839|      0|        }
22840|  54.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
22841|  54.1k|        Token * _literal;
22842|  54.1k|        Token * a;
22843|  54.1k|        expr_ty b;
22844|  54.1k|        asdl_comprehension_seq* for_if_clauses_var;
22845|  54.1k|        if (
22846|  54.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22846:13): [True: 0, False: 54.1k]
  ------------------
22847|      0|            &&
22848|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22848:13): [True: 0, False: 0]
  ------------------
22849|      0|            &&
22850|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22850:13): [True: 0, False: 0]
  ------------------
22851|      0|            &&
22852|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22852:13): [True: 0, False: 0]
  ------------------
22853|  54.1k|        )
22854|      0|        {
22855|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
22856|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in generator expression" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22857|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22857:18): [True: 0, False: 0]
  |  Branch (22857:34): [True: 0, False: 0]
  |  Branch (22857:57): [True: 0, False: 0]
  ------------------
22858|      0|                p->error_indicator = 1;
22859|      0|                p->level--;
22860|      0|                return NULL;
22861|      0|            }
22862|      0|            goto done;
22863|      0|        }
22864|  54.1k|        p->mark = _mark;
22865|  54.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22866|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
22867|  54.1k|    }
22868|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
22869|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22869:13): [True: 0, False: 54.1k]
  ------------------
22870|      0|            p->level--;
22871|      0|            return NULL;
22872|      0|        }
22873|  54.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22874|  54.1k|        Token * _literal;
22875|  54.1k|        void *_tmp_123_var;
22876|  54.1k|        expr_ty a;
22877|  54.1k|        asdl_expr_seq* b;
22878|  54.1k|        asdl_comprehension_seq* for_if_clauses_var;
22879|  54.1k|        if (
22880|  54.1k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22880:13): [True: 0, False: 54.1k]
  ------------------
22881|      0|            &&
22882|      0|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22882:13): [True: 0, False: 0]
  ------------------
22883|      0|            &&
22884|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22884:13): [True: 0, False: 0]
  ------------------
22885|      0|            &&
22886|      0|            (b = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  Branch (22886:13): [True: 0, False: 0]
  ------------------
22887|      0|            &&
22888|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22888:13): [True: 0, False: 0]
  ------------------
22889|  54.1k|        )
22890|      0|        {
22891|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22892|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22893|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22893:18): [True: 0, False: 0]
  |  Branch (22893:34): [True: 0, False: 0]
  |  Branch (22893:57): [True: 0, False: 0]
  ------------------
22894|      0|                p->error_indicator = 1;
22895|      0|                p->level--;
22896|      0|                return NULL;
22897|      0|            }
22898|      0|            goto done;
22899|      0|        }
22900|  54.1k|        p->mark = _mark;
22901|  54.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22902|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22903|  54.1k|    }
22904|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
22905|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22905:13): [True: 0, False: 54.1k]
  ------------------
22906|      0|            p->level--;
22907|      0|            return NULL;
22908|      0|        }
22909|  54.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22910|  54.1k|        void *_tmp_123_var;
22911|  54.1k|        expr_ty a;
22912|  54.1k|        Token * b;
22913|  54.1k|        asdl_comprehension_seq* for_if_clauses_var;
22914|  54.1k|        if (
22915|  54.1k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22915:13): [True: 0, False: 54.1k]
  ------------------
22916|      0|            &&
22917|      0|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22917:13): [True: 0, False: 0]
  ------------------
22918|      0|            &&
22919|      0|            (b = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22919:13): [True: 0, False: 0]
  ------------------
22920|      0|            &&
22921|      0|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22921:13): [True: 0, False: 0]
  ------------------
22922|  54.1k|        )
22923|      0|        {
22924|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22925|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22926|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22926:18): [True: 0, False: 0]
  |  Branch (22926:34): [True: 0, False: 0]
  |  Branch (22926:57): [True: 0, False: 0]
  ------------------
22927|      0|                p->error_indicator = 1;
22928|      0|                p->level--;
22929|      0|                return NULL;
22930|      0|            }
22931|      0|            goto done;
22932|      0|        }
22933|  54.1k|        p->mark = _mark;
22934|  54.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22935|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22936|  54.1k|    }
22937|  54.1k|    _res = NULL;
22938|  54.1k|  done:
22939|  54.1k|    p->level--;
22940|  54.1k|    return _res;
22941|  54.1k|}
parser.c:_tmp_123_rule:
36111|   108k|{
36112|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36112:9): [True: 0, False: 108k]
  |  Branch (36112:35): [True: 0, False: 108k]
  ------------------
36113|      0|        _Pypegen_stack_overflow(p);
36114|      0|    }
36115|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (36115:9): [True: 0, False: 108k]
  ------------------
36116|      0|        p->level--;
36117|      0|        return NULL;
36118|      0|    }
36119|   108k|    void * _res = NULL;
36120|   108k|    int _mark = p->mark;
36121|   108k|    { // '['
36122|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (36122:13): [True: 0, False: 108k]
  ------------------
36123|      0|            p->level--;
36124|      0|            return NULL;
36125|      0|        }
36126|   108k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
36127|   108k|        Token * _literal;
36128|   108k|        if (
36129|   108k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (36129:13): [True: 0, False: 108k]
  ------------------
36130|   108k|        )
36131|      0|        {
36132|      0|            D(fprintf(stderr, "%*c+ _tmp_123[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
36133|      0|            _res = _literal;
36134|      0|            goto done;
36135|      0|        }
36136|   108k|        p->mark = _mark;
36137|   108k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36138|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
36139|   108k|    }
36140|      0|    { // '{'
36141|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (36141:13): [True: 0, False: 108k]
  ------------------
36142|      0|            p->level--;
36143|      0|            return NULL;
36144|      0|        }
36145|   108k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
36146|   108k|        Token * _literal;
36147|   108k|        if (
36148|   108k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (36148:13): [True: 0, False: 108k]
  ------------------
36149|   108k|        )
36150|      0|        {
36151|      0|            D(fprintf(stderr, "%*c+ _tmp_123[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{'"));
36152|      0|            _res = _literal;
36153|      0|            goto done;
36154|      0|        }
36155|   108k|        p->mark = _mark;
36156|   108k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36157|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
36158|   108k|    }
36159|   108k|    _res = NULL;
36160|   108k|  done:
36161|   108k|    p->level--;
36162|   108k|    return _res;
36163|   108k|}
parser.c:star_named_expression_rule:
12182|  56.1k|{
12183|  56.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   112k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12183:9): [True: 0, False: 56.1k]
  |  Branch (12183:35): [True: 0, False: 56.1k]
  ------------------
12184|      0|        _Pypegen_stack_overflow(p);
12185|      0|    }
12186|  56.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (12186:9): [True: 0, False: 56.1k]
  ------------------
12187|      0|        p->level--;
12188|      0|        return NULL;
12189|      0|    }
12190|  56.1k|    expr_ty _res = NULL;
12191|  56.1k|    int _mark = p->mark;
12192|  56.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12192:9): [True: 740, False: 55.4k]
  |  Branch (12192:31): [True: 0, False: 740]
  ------------------
12193|      0|        p->error_indicator = 1;
12194|      0|        p->level--;
12195|      0|        return NULL;
12196|      0|    }
12197|  56.1k|    int _start_lineno = p->tokens[_mark]->lineno;
12198|  56.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  56.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56.1k]
  |  |  ------------------
  ------------------
12199|  56.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12200|  56.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  56.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56.1k]
  |  |  ------------------
  ------------------
12201|  56.1k|    { // '*' bitwise_or
12202|  56.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12202:13): [True: 0, False: 56.1k]
  ------------------
12203|      0|            p->level--;
12204|      0|            return NULL;
12205|      0|        }
12206|  56.1k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12207|  56.1k|        Token * _literal;
12208|  56.1k|        expr_ty a;
12209|  56.1k|        if (
12210|  56.1k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12210:13): [True: 0, False: 56.1k]
  ------------------
12211|      0|            &&
12212|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12212:13): [True: 0, False: 0]
  ------------------
12213|  56.1k|        )
12214|      0|        {
12215|      0|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12216|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12217|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12217:17): [True: 0, False: 0]
  ------------------
12218|      0|                p->level--;
12219|      0|                return NULL;
12220|      0|            }
12221|      0|            int _end_lineno = _token->end_lineno;
12222|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12223|      0|            int _end_col_offset = _token->end_col_offset;
12224|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12225|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12226|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12226:18): [True: 0, False: 0]
  |  Branch (12226:34): [True: 0, False: 0]
  |  Branch (12226:57): [True: 0, False: 0]
  ------------------
12227|      0|                p->error_indicator = 1;
12228|      0|                p->level--;
12229|      0|                return NULL;
12230|      0|            }
12231|      0|            goto done;
12232|      0|        }
12233|  56.1k|        p->mark = _mark;
12234|  56.1k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12235|  56.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12236|  56.1k|    }
12237|      0|    { // named_expression
12238|  56.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12238:13): [True: 0, False: 56.1k]
  ------------------
12239|      0|            p->level--;
12240|      0|            return NULL;
12241|      0|        }
12242|  56.1k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12243|  56.1k|        expr_ty named_expression_var;
12244|  56.1k|        if (
12245|  56.1k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (12245:13): [True: 1.84k, False: 54.3k]
  ------------------
12246|  56.1k|        )
12247|  1.84k|        {
12248|  1.84k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12249|  1.84k|            _res = named_expression_var;
12250|  1.84k|            goto done;
12251|  1.84k|        }
12252|  54.3k|        p->mark = _mark;
12253|  54.3k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12254|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12255|  54.3k|    }
12256|  54.3k|    _res = NULL;
12257|  56.1k|  done:
12258|  56.1k|    p->level--;
12259|  56.1k|    return _res;
12260|  54.3k|}
parser.c:arguments_rule:
18600|  1.03k|{
18601|  1.03k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.06k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18601:9): [True: 0, False: 1.03k]
  |  Branch (18601:35): [True: 0, False: 1.03k]
  ------------------
18602|      0|        _Pypegen_stack_overflow(p);
18603|      0|    }
18604|  1.03k|    if (p->error_indicator) {
  ------------------
  |  Branch (18604:9): [True: 0, False: 1.03k]
  ------------------
18605|      0|        p->level--;
18606|      0|        return NULL;
18607|      0|    }
18608|  1.03k|    expr_ty _res = NULL;
18609|  1.03k|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  276|  1.03k|#define arguments_type 1187
  ------------------
  |  Branch (18609:9): [True: 290, False: 743]
  ------------------
18610|    290|        p->level--;
18611|    290|        return _res;
18612|    290|    }
18613|    743|    int _mark = p->mark;
18614|    743|    { // args ','? &')'
18615|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (18615:13): [True: 0, False: 743]
  ------------------
18616|      0|            p->level--;
18617|      0|            return NULL;
18618|      0|        }
18619|    743|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18620|    743|        void *_opt_var;
18621|    743|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    743|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 743]
  |  |  ------------------
  ------------------
18622|    743|        expr_ty a;
18623|    743|        if (
18624|    743|            (a = args_rule(p))  // args
  ------------------
  |  Branch (18624:13): [True: 631, False: 112]
  ------------------
18625|    631|            &&
18626|    631|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18626:13): [True: 631, False: 0]
  ------------------
18627|    631|            &&
18628|    631|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18628:13): [True: 631, False: 0]
  ------------------
18629|    743|        )
18630|    631|        {
18631|    631|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18632|    631|            _res = a;
18633|    631|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18633:18): [True: 0, False: 631]
  |  Branch (18633:34): [True: 0, False: 631]
  |  Branch (18633:57): [True: 0, False: 0]
  ------------------
18634|      0|                p->error_indicator = 1;
18635|      0|                p->level--;
18636|      0|                return NULL;
18637|      0|            }
18638|    631|            goto done;
18639|    631|        }
18640|    112|        p->mark = _mark;
18641|    112|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18642|    112|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18643|    112|    }
18644|    112|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18644:9): [True: 0, False: 112]
  ------------------
18645|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18645:13): [True: 0, False: 0]
  ------------------
18646|      0|            p->level--;
18647|      0|            return NULL;
18648|      0|        }
18649|      0|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18650|      0|        void *invalid_arguments_var;
18651|      0|        if (
18652|      0|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  Branch (18652:13): [True: 0, False: 0]
  ------------------
18653|      0|        )
18654|      0|        {
18655|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18656|      0|            _res = invalid_arguments_var;
18657|      0|            goto done;
18658|      0|        }
18659|      0|        p->mark = _mark;
18660|      0|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18661|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18662|      0|    }
18663|    112|    _res = NULL;
18664|    743|  done:
18665|    743|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  276|    743|#define arguments_type 1187
  ------------------
18666|    743|    p->level--;
18667|    743|    return _res;
18668|    112|}
parser.c:args_rule:
18675|    743|{
18676|    743|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18676:9): [True: 0, False: 743]
  |  Branch (18676:35): [True: 0, False: 743]
  ------------------
18677|      0|        _Pypegen_stack_overflow(p);
18678|      0|    }
18679|    743|    if (p->error_indicator) {
  ------------------
  |  Branch (18679:9): [True: 0, False: 743]
  ------------------
18680|      0|        p->level--;
18681|      0|        return NULL;
18682|      0|    }
18683|    743|    expr_ty _res = NULL;
18684|    743|    int _mark = p->mark;
18685|    743|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18685:9): [True: 0, False: 743]
  |  Branch (18685:31): [True: 0, False: 0]
  ------------------
18686|      0|        p->error_indicator = 1;
18687|      0|        p->level--;
18688|      0|        return NULL;
18689|      0|    }
18690|    743|    int _start_lineno = p->tokens[_mark]->lineno;
18691|    743|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    743|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 743]
  |  |  ------------------
  ------------------
18692|    743|    int _start_col_offset = p->tokens[_mark]->col_offset;
18693|    743|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    743|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 743]
  |  |  ------------------
  ------------------
18694|    743|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18695|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (18695:13): [True: 0, False: 743]
  ------------------
18696|      0|            p->level--;
18697|      0|            return NULL;
18698|      0|        }
18699|    743|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18700|    743|        asdl_expr_seq* a;
18701|    743|        void *b;
18702|    743|        if (
18703|    743|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18703:13): [True: 567, False: 176]
  ------------------
18704|    567|            &&
18705|    567|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18705:13): [True: 567, False: 0]
  ------------------
18706|    743|        )
18707|    567|        {
18708|    567|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18709|    567|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18710|    567|            if (_token == NULL) {
  ------------------
  |  Branch (18710:17): [True: 0, False: 567]
  ------------------
18711|      0|                p->level--;
18712|      0|                return NULL;
18713|      0|            }
18714|    567|            int _end_lineno = _token->end_lineno;
18715|    567|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    567|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 567]
  |  |  ------------------
  ------------------
18716|    567|            int _end_col_offset = _token->end_col_offset;
18717|    567|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    567|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 567]
  |  |  ------------------
  ------------------
18718|    567|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  269|    567|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18719|    567|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18719:18): [True: 0, False: 567]
  |  Branch (18719:34): [True: 0, False: 567]
  |  Branch (18719:57): [True: 0, False: 0]
  ------------------
18720|      0|                p->error_indicator = 1;
18721|      0|                p->level--;
18722|      0|                return NULL;
18723|      0|            }
18724|    567|            goto done;
18725|    567|        }
18726|    176|        p->mark = _mark;
18727|    176|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18728|    176|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18729|    176|    }
18730|      0|    { // kwargs
18731|    176|        if (p->error_indicator) {
  ------------------
  |  Branch (18731:13): [True: 0, False: 176]
  ------------------
18732|      0|            p->level--;
18733|      0|            return NULL;
18734|      0|        }
18735|    176|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18736|    176|        asdl_seq* a;
18737|    176|        if (
18738|    176|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (18738:13): [True: 64, False: 112]
  ------------------
18739|    176|        )
18740|     64|        {
18741|     64|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18742|     64|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18743|     64|            if (_token == NULL) {
  ------------------
  |  Branch (18743:17): [True: 0, False: 64]
  ------------------
18744|      0|                p->level--;
18745|      0|                return NULL;
18746|      0|            }
18747|     64|            int _end_lineno = _token->end_lineno;
18748|     64|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     64|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 64]
  |  |  ------------------
  ------------------
18749|     64|            int _end_col_offset = _token->end_col_offset;
18750|     64|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     64|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 64]
  |  |  ------------------
  ------------------
18751|     64|            _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  234|     64|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
                          _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  234|     64|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
                          _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  269|     64|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18752|     64|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18752:18): [True: 0, False: 64]
  |  Branch (18752:34): [True: 0, False: 64]
  |  Branch (18752:57): [True: 0, False: 0]
  ------------------
18753|      0|                p->error_indicator = 1;
18754|      0|                p->level--;
18755|      0|                return NULL;
18756|      0|            }
18757|     64|            goto done;
18758|     64|        }
18759|    112|        p->mark = _mark;
18760|    112|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18761|    112|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18762|    112|    }
18763|    112|    _res = NULL;
18764|    743|  done:
18765|    743|    p->level--;
18766|    743|    return _res;
18767|    112|}
parser.c:_gather_91_rule:
34179|    743|{
34180|    743|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34180:9): [True: 0, False: 743]
  |  Branch (34180:35): [True: 0, False: 743]
  ------------------
34181|      0|        _Pypegen_stack_overflow(p);
34182|      0|    }
34183|    743|    if (p->error_indicator) {
  ------------------
  |  Branch (34183:9): [True: 0, False: 743]
  ------------------
34184|      0|        p->level--;
34185|      0|        return NULL;
34186|      0|    }
34187|    743|    asdl_seq * _res = NULL;
34188|    743|    int _mark = p->mark;
34189|    743|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
34190|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (34190:13): [True: 0, False: 743]
  ------------------
34191|      0|            p->level--;
34192|      0|            return NULL;
34193|      0|        }
34194|    743|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34195|    743|        void *elem;
34196|    743|        asdl_seq * seq;
34197|    743|        if (
34198|    743|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34198:13): [True: 567, False: 176]
  ------------------
34199|    567|            &&
34200|    567|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (34200:13): [True: 567, False: 0]
  ------------------
34201|    743|        )
34202|    567|        {
34203|    567|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34204|    567|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34205|    567|            goto done;
34206|    567|        }
34207|    176|        p->mark = _mark;
34208|    176|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
34209|    176|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34210|    176|    }
34211|    176|    _res = NULL;
34212|    743|  done:
34213|    743|    p->level--;
34214|    743|    return _res;
34215|    176|}
parser.c:_tmp_167_rule:
38683|  1.21k|{
38684|  1.21k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38684:9): [True: 0, False: 1.21k]
  |  Branch (38684:35): [True: 0, False: 1.21k]
  ------------------
38685|      0|        _Pypegen_stack_overflow(p);
38686|      0|    }
38687|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (38687:9): [True: 0, False: 1.21k]
  ------------------
38688|      0|        p->level--;
38689|      0|        return NULL;
38690|      0|    }
38691|  1.21k|    void * _res = NULL;
38692|  1.21k|    int _mark = p->mark;
38693|  1.21k|    { // starred_expression
38694|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (38694:13): [True: 0, False: 1.21k]
  ------------------
38695|      0|            p->level--;
38696|      0|            return NULL;
38697|      0|        }
38698|  1.21k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38699|  1.21k|        expr_ty starred_expression_var;
38700|  1.21k|        if (
38701|  1.21k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38701:13): [True: 4, False: 1.20k]
  ------------------
38702|  1.21k|        )
38703|      4|        {
38704|      4|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38705|      4|            _res = starred_expression_var;
38706|      4|            goto done;
38707|      4|        }
38708|  1.20k|        p->mark = _mark;
38709|  1.20k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38710|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38711|  1.20k|    }
38712|      0|    { // (assignment_expression | expression !':=') !'='
38713|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (38713:13): [True: 0, False: 1.20k]
  ------------------
38714|      0|            p->level--;
38715|      0|            return NULL;
38716|      0|        }
38717|  1.20k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38718|  1.20k|        void *_tmp_178_var;
38719|  1.20k|        if (
38720|  1.20k|            (_tmp_178_var = _tmp_178_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (38720:13): [True: 1.08k, False: 118]
  ------------------
38721|  1.08k|            &&
38722|  1.08k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (38722:13): [True: 997, False: 92]
  ------------------
38723|  1.20k|        )
38724|    997|        {
38725|    997|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38726|    997|            _res = _tmp_178_var;
38727|    997|            goto done;
38728|    997|        }
38729|    210|        p->mark = _mark;
38730|    210|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38731|    210|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38732|    210|    }
38733|    210|    _res = NULL;
38734|  1.21k|  done:
38735|  1.21k|    p->level--;
38736|  1.21k|    return _res;
38737|    210|}
parser.c:_tmp_178_rule:
39273|  1.20k|{
39274|  1.20k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.41k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39274:9): [True: 0, False: 1.20k]
  |  Branch (39274:35): [True: 0, False: 1.20k]
  ------------------
39275|      0|        _Pypegen_stack_overflow(p);
39276|      0|    }
39277|  1.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (39277:9): [True: 0, False: 1.20k]
  ------------------
39278|      0|        p->level--;
39279|      0|        return NULL;
39280|      0|    }
39281|  1.20k|    void * _res = NULL;
39282|  1.20k|    int _mark = p->mark;
39283|  1.20k|    { // assignment_expression
39284|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (39284:13): [True: 0, False: 1.20k]
  ------------------
39285|      0|            p->level--;
39286|      0|            return NULL;
39287|      0|        }
39288|  1.20k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39289|  1.20k|        expr_ty assignment_expression_var;
39290|  1.20k|        if (
39291|  1.20k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (39291:13): [True: 0, False: 1.20k]
  ------------------
39292|  1.20k|        )
39293|      0|        {
39294|      0|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39295|      0|            _res = assignment_expression_var;
39296|      0|            goto done;
39297|      0|        }
39298|  1.20k|        p->mark = _mark;
39299|  1.20k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39300|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
39301|  1.20k|    }
39302|      0|    { // expression !':='
39303|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (39303:13): [True: 0, False: 1.20k]
  ------------------
39304|      0|            p->level--;
39305|      0|            return NULL;
39306|      0|        }
39307|  1.20k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39308|  1.20k|        expr_ty expression_var;
39309|  1.20k|        if (
39310|  1.20k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (39310:13): [True: 1.08k, False: 118]
  ------------------
39311|  1.08k|            &&
39312|  1.08k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (39312:13): [True: 1.08k, False: 0]
  ------------------
39313|  1.20k|        )
39314|  1.08k|        {
39315|  1.08k|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39316|  1.08k|            _res = expression_var;
39317|  1.08k|            goto done;
39318|  1.08k|        }
39319|    118|        p->mark = _mark;
39320|    118|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39321|    118|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
39322|    118|    }
39323|    118|    _res = NULL;
39324|  1.20k|  done:
39325|  1.20k|    p->level--;
39326|  1.20k|    return _res;
39327|    118|}
parser.c:_loop0_90_rule:
34102|    567|{
34103|    567|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34103:9): [True: 0, False: 567]
  |  Branch (34103:35): [True: 0, False: 567]
  ------------------
34104|      0|        _Pypegen_stack_overflow(p);
34105|      0|    }
34106|    567|    if (p->error_indicator) {
  ------------------
  |  Branch (34106:9): [True: 0, False: 567]
  ------------------
34107|      0|        p->level--;
34108|      0|        return NULL;
34109|      0|    }
34110|    567|    void *_res = NULL;
34111|    567|    int _mark = p->mark;
34112|    567|    void **_children = PyMem_Malloc(sizeof(void *));
34113|    567|    if (!_children) {
  ------------------
  |  Branch (34113:9): [True: 0, False: 567]
  ------------------
34114|      0|        p->error_indicator = 1;
34115|      0|        PyErr_NoMemory();
34116|      0|        p->level--;
34117|      0|        return NULL;
34118|      0|    }
34119|    567|    Py_ssize_t _children_capacity = 1;
34120|    567|    Py_ssize_t _n = 0;
34121|    567|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
34122|    567|        if (p->error_indicator) {
  ------------------
  |  Branch (34122:13): [True: 0, False: 567]
  ------------------
34123|      0|            p->level--;
34124|      0|            return NULL;
34125|      0|        }
34126|    567|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34127|    567|        Token * _literal;
34128|    567|        void *elem;
34129|    567|        while (
34130|  1.00k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34130:13): [True: 468, False: 533]
  ------------------
34131|    468|            &&
34132|    468|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34132:13): [True: 434, False: 34]
  ------------------
34133|    567|        )
34134|    434|        {
34135|    434|            _res = elem;
34136|    434|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34136:18): [True: 0, False: 434]
  |  Branch (34136:34): [True: 0, False: 434]
  |  Branch (34136:57): [True: 0, False: 0]
  ------------------
34137|      0|                p->error_indicator = 1;
34138|      0|                PyMem_Free(_children);
34139|      0|                p->level--;
34140|      0|                return NULL;
34141|      0|            }
34142|    434|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34142:17): [True: 136, False: 298]
  ------------------
34143|    136|                _children_capacity *= 2;
34144|    136|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34145|    136|                if (!_new_children) {
  ------------------
  |  Branch (34145:21): [True: 0, False: 136]
  ------------------
34146|      0|                    PyMem_Free(_children);
34147|      0|                    p->error_indicator = 1;
34148|      0|                    PyErr_NoMemory();
34149|      0|                    p->level--;
34150|      0|                    return NULL;
34151|      0|                }
34152|    136|                _children = _new_children;
34153|    136|            }
34154|    434|            _children[_n++] = _res;
34155|    434|            _mark = p->mark;
34156|    434|        }
34157|    567|        p->mark = _mark;
34158|    567|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
34159|    567|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34160|    567|    }
34161|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34162|    567|    if (!_seq) {
  ------------------
  |  Branch (34162:9): [True: 0, False: 567]
  ------------------
34163|      0|        PyMem_Free(_children);
34164|      0|        p->error_indicator = 1;
34165|      0|        PyErr_NoMemory();
34166|      0|        p->level--;
34167|      0|        return NULL;
34168|      0|    }
34169|  1.00k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    434|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34169:28): [True: 434, False: 567]
  ------------------
34170|    567|    PyMem_Free(_children);
34171|    567|    p->level--;
34172|    567|    return _seq;
34173|    567|}
parser.c:_tmp_92_rule:
34220|    567|{
34221|    567|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34221:9): [True: 0, False: 567]
  |  Branch (34221:35): [True: 0, False: 567]
  ------------------
34222|      0|        _Pypegen_stack_overflow(p);
34223|      0|    }
34224|    567|    if (p->error_indicator) {
  ------------------
  |  Branch (34224:9): [True: 0, False: 567]
  ------------------
34225|      0|        p->level--;
34226|      0|        return NULL;
34227|      0|    }
34228|    567|    void * _res = NULL;
34229|    567|    int _mark = p->mark;
34230|    567|    { // ',' kwargs
34231|    567|        if (p->error_indicator) {
  ------------------
  |  Branch (34231:13): [True: 0, False: 567]
  ------------------
34232|      0|            p->level--;
34233|      0|            return NULL;
34234|      0|        }
34235|    567|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34236|    567|        Token * _literal;
34237|    567|        asdl_seq* k;
34238|    567|        if (
34239|    567|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34239:13): [True: 34, False: 533]
  ------------------
34240|     34|            &&
34241|     34|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (34241:13): [True: 30, False: 4]
  ------------------
34242|    567|        )
34243|     30|        {
34244|     30|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34245|     30|            _res = k;
34246|     30|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34246:18): [True: 0, False: 30]
  |  Branch (34246:34): [True: 0, False: 30]
  |  Branch (34246:57): [True: 0, False: 0]
  ------------------
34247|      0|                p->error_indicator = 1;
34248|      0|                p->level--;
34249|      0|                return NULL;
34250|      0|            }
34251|     30|            goto done;
34252|     30|        }
34253|    537|        p->mark = _mark;
34254|    537|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
34255|    537|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
34256|    537|    }
34257|    537|    _res = NULL;
34258|    567|  done:
34259|    567|    p->level--;
34260|    567|    return _res;
34261|    537|}
parser.c:kwargs_rule:
18775|    210|{
18776|    210|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    420|#  define MAXSTACK 6000
  ------------------
  |  Branch (18776:9): [True: 0, False: 210]
  |  Branch (18776:35): [True: 0, False: 210]
  ------------------
18777|      0|        _Pypegen_stack_overflow(p);
18778|      0|    }
18779|    210|    if (p->error_indicator) {
  ------------------
  |  Branch (18779:9): [True: 0, False: 210]
  ------------------
18780|      0|        p->level--;
18781|      0|        return NULL;
18782|      0|    }
18783|    210|    asdl_seq* _res = NULL;
18784|    210|    int _mark = p->mark;
18785|    210|    { // ','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+
18786|    210|        if (p->error_indicator) {
  ------------------
  |  Branch (18786:13): [True: 0, False: 210]
  ------------------
18787|      0|            p->level--;
18788|      0|            return NULL;
18789|      0|        }
18790|    210|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18791|    210|        Token * _literal;
18792|    210|        asdl_seq * a;
18793|    210|        asdl_seq * b;
18794|    210|        if (
18795|    210|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18795:13): [True: 92, False: 118]
  ------------------
18796|     92|            &&
18797|     92|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (18797:13): [True: 0, False: 92]
  ------------------
18798|      0|            &&
18799|      0|            (b = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18799:13): [True: 0, False: 0]
  ------------------
18800|    210|        )
18801|      0|        {
18802|      0|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18803|      0|            _res = _PyPegen_join_sequences ( p , a , b );
18804|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18804:18): [True: 0, False: 0]
  |  Branch (18804:34): [True: 0, False: 0]
  |  Branch (18804:57): [True: 0, False: 0]
  ------------------
18805|      0|                p->error_indicator = 1;
18806|      0|                p->level--;
18807|      0|                return NULL;
18808|      0|            }
18809|      0|            goto done;
18810|      0|        }
18811|    210|        p->mark = _mark;
18812|    210|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18813|    210|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18814|    210|    }
18815|      0|    { // ','.kwarg_or_starred+
18816|    210|        if (p->error_indicator) {
  ------------------
  |  Branch (18816:13): [True: 0, False: 210]
  ------------------
18817|      0|            p->level--;
18818|      0|            return NULL;
18819|      0|        }
18820|    210|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18821|    210|        asdl_seq * _gather_94_var;
18822|    210|        if (
18823|    210|            (_gather_94_var = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18823:13): [True: 92, False: 118]
  ------------------
18824|    210|        )
18825|     92|        {
18826|     92|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18827|     92|            _res = _gather_94_var;
18828|     92|            goto done;
18829|     92|        }
18830|    118|        p->mark = _mark;
18831|    118|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18832|    118|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+"));
18833|    118|    }
18834|      0|    { // ','.kwarg_or_double_starred+
18835|    118|        if (p->error_indicator) {
  ------------------
  |  Branch (18835:13): [True: 0, False: 118]
  ------------------
18836|      0|            p->level--;
18837|      0|            return NULL;
18838|      0|        }
18839|    118|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18840|    118|        asdl_seq * _gather_96_var;
18841|    118|        if (
18842|    118|            (_gather_96_var = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18842:13): [True: 2, False: 116]
  ------------------
18843|    118|        )
18844|      2|        {
18845|      2|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18846|      2|            _res = _gather_96_var;
18847|      2|            goto done;
18848|      2|        }
18849|    116|        p->mark = _mark;
18850|    116|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18851|    116|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18852|    116|    }
18853|    116|    _res = NULL;
18854|    210|  done:
18855|    210|    p->level--;
18856|    210|    return _res;
18857|    116|}
parser.c:_gather_94_rule:
34342|    420|{
34343|    420|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    840|#  define MAXSTACK 6000
  ------------------
  |  Branch (34343:9): [True: 0, False: 420]
  |  Branch (34343:35): [True: 0, False: 420]
  ------------------
34344|      0|        _Pypegen_stack_overflow(p);
34345|      0|    }
34346|    420|    if (p->error_indicator) {
  ------------------
  |  Branch (34346:9): [True: 0, False: 420]
  ------------------
34347|      0|        p->level--;
34348|      0|        return NULL;
34349|      0|    }
34350|    420|    asdl_seq * _res = NULL;
34351|    420|    int _mark = p->mark;
34352|    420|    { // kwarg_or_starred _loop0_93
34353|    420|        if (p->error_indicator) {
  ------------------
  |  Branch (34353:13): [True: 0, False: 420]
  ------------------
34354|      0|            p->level--;
34355|      0|            return NULL;
34356|      0|        }
34357|    420|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34358|    420|        KeywordOrStarred* elem;
34359|    420|        asdl_seq * seq;
34360|    420|        if (
34361|    420|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34361:13): [True: 184, False: 236]
  ------------------
34362|    184|            &&
34363|    184|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (34363:13): [True: 184, False: 0]
  ------------------
34364|    420|        )
34365|    184|        {
34366|    184|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34367|    184|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34368|    184|            goto done;
34369|    184|        }
34370|    236|        p->mark = _mark;
34371|    236|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
34372|    236|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
34373|    236|    }
34374|    236|    _res = NULL;
34375|    420|  done:
34376|    420|    p->level--;
34377|    420|    return _res;
34378|    236|}
parser.c:kwarg_or_starred_rule:
18967|    648|{
18968|    648|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18968:9): [True: 0, False: 648]
  |  Branch (18968:35): [True: 0, False: 648]
  ------------------
18969|      0|        _Pypegen_stack_overflow(p);
18970|      0|    }
18971|    648|    if (p->error_indicator) {
  ------------------
  |  Branch (18971:9): [True: 0, False: 648]
  ------------------
18972|      0|        p->level--;
18973|      0|        return NULL;
18974|      0|    }
18975|    648|    KeywordOrStarred* _res = NULL;
18976|    648|    int _mark = p->mark;
18977|    648|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18977:9): [True: 114, False: 534]
  |  Branch (18977:31): [True: 0, False: 114]
  ------------------
18978|      0|        p->error_indicator = 1;
18979|      0|        p->level--;
18980|      0|        return NULL;
18981|      0|    }
18982|    648|    int _start_lineno = p->tokens[_mark]->lineno;
18983|    648|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    648|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 648]
  |  |  ------------------
  ------------------
18984|    648|    int _start_col_offset = p->tokens[_mark]->col_offset;
18985|    648|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    648|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 648]
  |  |  ------------------
  ------------------
18986|    648|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18986:9): [True: 0, False: 648]
  ------------------
18987|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18987:13): [True: 0, False: 0]
  ------------------
18988|      0|            p->level--;
18989|      0|            return NULL;
18990|      0|        }
18991|      0|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18992|      0|        void *invalid_kwarg_var;
18993|      0|        if (
18994|      0|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (18994:13): [True: 0, False: 0]
  ------------------
18995|      0|        )
18996|      0|        {
18997|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18998|      0|            _res = invalid_kwarg_var;
18999|      0|            goto done;
19000|      0|        }
19001|      0|        p->mark = _mark;
19002|      0|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19003|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
19004|      0|    }
19005|    648|    { // NAME '=' expression
19006|    648|        if (p->error_indicator) {
  ------------------
  |  Branch (19006:13): [True: 0, False: 648]
  ------------------
19007|      0|            p->level--;
19008|      0|            return NULL;
19009|      0|        }
19010|    648|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19011|    648|        Token * _literal;
19012|    648|        expr_ty a;
19013|    648|        expr_ty b;
19014|    648|        if (
19015|    648|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19015:13): [True: 412, False: 236]
  ------------------
19016|    412|            &&
19017|    412|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19017:13): [True: 412, False: 0]
  ------------------
19018|    412|            &&
19019|    412|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (19019:13): [True: 412, False: 0]
  ------------------
19020|    648|        )
19021|    412|        {
19022|    412|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19023|    412|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19024|    412|            if (_token == NULL) {
  ------------------
  |  Branch (19024:17): [True: 0, False: 412]
  ------------------
19025|      0|                p->level--;
19026|      0|                return NULL;
19027|      0|            }
19028|    412|            int _end_lineno = _token->end_lineno;
19029|    412|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    412|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 412]
  |  |  ------------------
  ------------------
19030|    412|            int _end_col_offset = _token->end_col_offset;
19031|    412|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    412|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 412]
  |  |  ------------------
  ------------------
19032|    412|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  233|    412|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19033|    412|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19033:18): [True: 0, False: 412]
  |  Branch (19033:34): [True: 0, False: 412]
  |  Branch (19033:57): [True: 0, False: 0]
  ------------------
19034|      0|                p->error_indicator = 1;
19035|      0|                p->level--;
19036|      0|                return NULL;
19037|      0|            }
19038|    412|            goto done;
19039|    412|        }
19040|    236|        p->mark = _mark;
19041|    236|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19042|    236|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19043|    236|    }
19044|      0|    { // starred_expression
19045|    236|        if (p->error_indicator) {
  ------------------
  |  Branch (19045:13): [True: 0, False: 236]
  ------------------
19046|      0|            p->level--;
19047|      0|            return NULL;
19048|      0|        }
19049|    236|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
19050|    236|        expr_ty a;
19051|    236|        if (
19052|    236|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (19052:13): [True: 0, False: 236]
  ------------------
19053|    236|        )
19054|      0|        {
19055|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
19056|      0|            _res = _PyPegen_keyword_or_starred ( p , a , 0 );
19057|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19057:18): [True: 0, False: 0]
  |  Branch (19057:34): [True: 0, False: 0]
  |  Branch (19057:57): [True: 0, False: 0]
  ------------------
19058|      0|                p->error_indicator = 1;
19059|      0|                p->level--;
19060|      0|                return NULL;
19061|      0|            }
19062|      0|            goto done;
19063|      0|        }
19064|    236|        p->mark = _mark;
19065|    236|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19066|    236|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
19067|    236|    }
19068|    236|    _res = NULL;
19069|    648|  done:
19070|    648|    p->level--;
19071|    648|    return _res;
19072|    236|}
parser.c:_loop0_93_rule:
34266|    184|{
34267|    184|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    368|#  define MAXSTACK 6000
  ------------------
  |  Branch (34267:9): [True: 0, False: 184]
  |  Branch (34267:35): [True: 0, False: 184]
  ------------------
34268|      0|        _Pypegen_stack_overflow(p);
34269|      0|    }
34270|    184|    if (p->error_indicator) {
  ------------------
  |  Branch (34270:9): [True: 0, False: 184]
  ------------------
34271|      0|        p->level--;
34272|      0|        return NULL;
34273|      0|    }
34274|    184|    void *_res = NULL;
34275|    184|    int _mark = p->mark;
34276|    184|    void **_children = PyMem_Malloc(sizeof(void *));
34277|    184|    if (!_children) {
  ------------------
  |  Branch (34277:9): [True: 0, False: 184]
  ------------------
34278|      0|        p->error_indicator = 1;
34279|      0|        PyErr_NoMemory();
34280|      0|        p->level--;
34281|      0|        return NULL;
34282|      0|    }
34283|    184|    Py_ssize_t _children_capacity = 1;
34284|    184|    Py_ssize_t _n = 0;
34285|    184|    { // ',' kwarg_or_starred
34286|    184|        if (p->error_indicator) {
  ------------------
  |  Branch (34286:13): [True: 0, False: 184]
  ------------------
34287|      0|            p->level--;
34288|      0|            return NULL;
34289|      0|        }
34290|    184|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
34291|    184|        Token * _literal;
34292|    184|        KeywordOrStarred* elem;
34293|    184|        while (
34294|    412|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34294:13): [True: 228, False: 184]
  ------------------
34295|    228|            &&
34296|    228|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34296:13): [True: 228, False: 0]
  ------------------
34297|    184|        )
34298|    228|        {
34299|    228|            _res = elem;
34300|    228|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34300:18): [True: 0, False: 228]
  |  Branch (34300:34): [True: 0, False: 228]
  |  Branch (34300:57): [True: 0, False: 0]
  ------------------
34301|      0|                p->error_indicator = 1;
34302|      0|                PyMem_Free(_children);
34303|      0|                p->level--;
34304|      0|                return NULL;
34305|      0|            }
34306|    228|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34306:17): [True: 72, False: 156]
  ------------------
34307|     72|                _children_capacity *= 2;
34308|     72|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34309|     72|                if (!_new_children) {
  ------------------
  |  Branch (34309:21): [True: 0, False: 72]
  ------------------
34310|      0|                    PyMem_Free(_children);
34311|      0|                    p->error_indicator = 1;
34312|      0|                    PyErr_NoMemory();
34313|      0|                    p->level--;
34314|      0|                    return NULL;
34315|      0|                }
34316|     72|                _children = _new_children;
34317|     72|            }
34318|    228|            _children[_n++] = _res;
34319|    228|            _mark = p->mark;
34320|    228|        }
34321|    184|        p->mark = _mark;
34322|    184|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
34323|    184|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
34324|    184|    }
34325|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34326|    184|    if (!_seq) {
  ------------------
  |  Branch (34326:9): [True: 0, False: 184]
  ------------------
34327|      0|        PyMem_Free(_children);
34328|      0|        p->error_indicator = 1;
34329|      0|        PyErr_NoMemory();
34330|      0|        p->level--;
34331|      0|        return NULL;
34332|      0|    }
34333|    412|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    228|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    412|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34333:28): [True: 228, False: 184]
  ------------------
34334|    184|    PyMem_Free(_children);
34335|    184|    p->level--;
34336|    184|    return _seq;
34337|    184|}
parser.c:_gather_96_rule:
34459|    118|{
34460|    118|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    236|#  define MAXSTACK 6000
  ------------------
  |  Branch (34460:9): [True: 0, False: 118]
  |  Branch (34460:35): [True: 0, False: 118]
  ------------------
34461|      0|        _Pypegen_stack_overflow(p);
34462|      0|    }
34463|    118|    if (p->error_indicator) {
  ------------------
  |  Branch (34463:9): [True: 0, False: 118]
  ------------------
34464|      0|        p->level--;
34465|      0|        return NULL;
34466|      0|    }
34467|    118|    asdl_seq * _res = NULL;
34468|    118|    int _mark = p->mark;
34469|    118|    { // kwarg_or_double_starred _loop0_95
34470|    118|        if (p->error_indicator) {
  ------------------
  |  Branch (34470:13): [True: 0, False: 118]
  ------------------
34471|      0|            p->level--;
34472|      0|            return NULL;
34473|      0|        }
34474|    118|        D(fprintf(stderr, "%*c> _gather_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34475|    118|        KeywordOrStarred* elem;
34476|    118|        asdl_seq * seq;
34477|    118|        if (
34478|    118|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34478:13): [True: 2, False: 116]
  ------------------
34479|      2|            &&
34480|      2|            (seq = _loop0_95_rule(p))  // _loop0_95
  ------------------
  |  Branch (34480:13): [True: 2, False: 0]
  ------------------
34481|    118|        )
34482|      2|        {
34483|      2|            D(fprintf(stderr, "%*c+ _gather_96[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34484|      2|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34485|      2|            goto done;
34486|      2|        }
34487|    116|        p->mark = _mark;
34488|    116|        D(fprintf(stderr, "%*c%s _gather_96[%d-%d]: %s failed!\n", p->level, ' ',
34489|    116|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34490|    116|    }
34491|    116|    _res = NULL;
34492|    118|  done:
34493|    118|    p->level--;
34494|    118|    return _res;
34495|    116|}
parser.c:kwarg_or_double_starred_rule:
19077|    118|{
19078|    118|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    236|#  define MAXSTACK 6000
  ------------------
  |  Branch (19078:9): [True: 0, False: 118]
  |  Branch (19078:35): [True: 0, False: 118]
  ------------------
19079|      0|        _Pypegen_stack_overflow(p);
19080|      0|    }
19081|    118|    if (p->error_indicator) {
  ------------------
  |  Branch (19081:9): [True: 0, False: 118]
  ------------------
19082|      0|        p->level--;
19083|      0|        return NULL;
19084|      0|    }
19085|    118|    KeywordOrStarred* _res = NULL;
19086|    118|    int _mark = p->mark;
19087|    118|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19087:9): [True: 0, False: 118]
  |  Branch (19087:31): [True: 0, False: 0]
  ------------------
19088|      0|        p->error_indicator = 1;
19089|      0|        p->level--;
19090|      0|        return NULL;
19091|      0|    }
19092|    118|    int _start_lineno = p->tokens[_mark]->lineno;
19093|    118|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    118|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 118]
  |  |  ------------------
  ------------------
19094|    118|    int _start_col_offset = p->tokens[_mark]->col_offset;
19095|    118|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    118|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 118]
  |  |  ------------------
  ------------------
19096|    118|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (19096:9): [True: 0, False: 118]
  ------------------
19097|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (19097:13): [True: 0, False: 0]
  ------------------
19098|      0|            p->level--;
19099|      0|            return NULL;
19100|      0|        }
19101|      0|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19102|      0|        void *invalid_kwarg_var;
19103|      0|        if (
19104|      0|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (19104:13): [True: 0, False: 0]
  ------------------
19105|      0|        )
19106|      0|        {
19107|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19108|      0|            _res = invalid_kwarg_var;
19109|      0|            goto done;
19110|      0|        }
19111|      0|        p->mark = _mark;
19112|      0|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19113|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
19114|      0|    }
19115|    118|    { // NAME '=' expression
19116|    118|        if (p->error_indicator) {
  ------------------
  |  Branch (19116:13): [True: 0, False: 118]
  ------------------
19117|      0|            p->level--;
19118|      0|            return NULL;
19119|      0|        }
19120|    118|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19121|    118|        Token * _literal;
19122|    118|        expr_ty a;
19123|    118|        expr_ty b;
19124|    118|        if (
19125|    118|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19125:13): [True: 0, False: 118]
  ------------------
19126|      0|            &&
19127|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19127:13): [True: 0, False: 0]
  ------------------
19128|      0|            &&
19129|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (19129:13): [True: 0, False: 0]
  ------------------
19130|    118|        )
19131|      0|        {
19132|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19133|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19134|      0|            if (_token == NULL) {
  ------------------
  |  Branch (19134:17): [True: 0, False: 0]
  ------------------
19135|      0|                p->level--;
19136|      0|                return NULL;
19137|      0|            }
19138|      0|            int _end_lineno = _token->end_lineno;
19139|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19140|      0|            int _end_col_offset = _token->end_col_offset;
19141|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
19142|      0|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19143|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19143:18): [True: 0, False: 0]
  |  Branch (19143:34): [True: 0, False: 0]
  |  Branch (19143:57): [True: 0, False: 0]
  ------------------
19144|      0|                p->error_indicator = 1;
19145|      0|                p->level--;
19146|      0|                return NULL;
19147|      0|            }
19148|      0|            goto done;
19149|      0|        }
19150|    118|        p->mark = _mark;
19151|    118|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19152|    118|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19153|    118|    }
19154|      0|    { // '**' expression
19155|    118|        if (p->error_indicator) {
  ------------------
  |  Branch (19155:13): [True: 0, False: 118]
  ------------------
19156|      0|            p->level--;
19157|      0|            return NULL;
19158|      0|        }
19159|    118|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19160|    118|        Token * _literal;
19161|    118|        expr_ty a;
19162|    118|        if (
19163|    118|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (19163:13): [True: 2, False: 116]
  ------------------
19164|      2|            &&
19165|      2|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (19165:13): [True: 2, False: 0]
  ------------------
19166|    118|        )
19167|      2|        {
19168|      2|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19169|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19170|      2|            if (_token == NULL) {
  ------------------
  |  Branch (19170:17): [True: 0, False: 2]
  ------------------
19171|      0|                p->level--;
19172|      0|                return NULL;
19173|      0|            }
19174|      2|            int _end_lineno = _token->end_lineno;
19175|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
19176|      2|            int _end_col_offset = _token->end_col_offset;
19177|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
19178|      2|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  233|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19179|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19179:18): [True: 0, False: 2]
  |  Branch (19179:34): [True: 0, False: 2]
  |  Branch (19179:57): [True: 0, False: 0]
  ------------------
19180|      0|                p->error_indicator = 1;
19181|      0|                p->level--;
19182|      0|                return NULL;
19183|      0|            }
19184|      2|            goto done;
19185|      2|        }
19186|    116|        p->mark = _mark;
19187|    116|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19188|    116|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
19189|    116|    }
19190|    116|    _res = NULL;
19191|    118|  done:
19192|    118|    p->level--;
19193|    118|    return _res;
19194|    116|}
parser.c:_loop0_95_rule:
34383|      2|{
34384|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (34384:9): [True: 0, False: 2]
  |  Branch (34384:35): [True: 0, False: 2]
  ------------------
34385|      0|        _Pypegen_stack_overflow(p);
34386|      0|    }
34387|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (34387:9): [True: 0, False: 2]
  ------------------
34388|      0|        p->level--;
34389|      0|        return NULL;
34390|      0|    }
34391|      2|    void *_res = NULL;
34392|      2|    int _mark = p->mark;
34393|      2|    void **_children = PyMem_Malloc(sizeof(void *));
34394|      2|    if (!_children) {
  ------------------
  |  Branch (34394:9): [True: 0, False: 2]
  ------------------
34395|      0|        p->error_indicator = 1;
34396|      0|        PyErr_NoMemory();
34397|      0|        p->level--;
34398|      0|        return NULL;
34399|      0|    }
34400|      2|    Py_ssize_t _children_capacity = 1;
34401|      2|    Py_ssize_t _n = 0;
34402|      2|    { // ',' kwarg_or_double_starred
34403|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (34403:13): [True: 0, False: 2]
  ------------------
34404|      0|            p->level--;
34405|      0|            return NULL;
34406|      0|        }
34407|      2|        D(fprintf(stderr, "%*c> _loop0_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
34408|      2|        Token * _literal;
34409|      2|        KeywordOrStarred* elem;
34410|      2|        while (
34411|      2|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34411:13): [True: 0, False: 2]
  ------------------
34412|      0|            &&
34413|      0|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34413:13): [True: 0, False: 0]
  ------------------
34414|      2|        )
34415|      0|        {
34416|      0|            _res = elem;
34417|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34417:18): [True: 0, False: 0]
  |  Branch (34417:34): [True: 0, False: 0]
  |  Branch (34417:57): [True: 0, False: 0]
  ------------------
34418|      0|                p->error_indicator = 1;
34419|      0|                PyMem_Free(_children);
34420|      0|                p->level--;
34421|      0|                return NULL;
34422|      0|            }
34423|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34423:17): [True: 0, False: 0]
  ------------------
34424|      0|                _children_capacity *= 2;
34425|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34426|      0|                if (!_new_children) {
  ------------------
  |  Branch (34426:21): [True: 0, False: 0]
  ------------------
34427|      0|                    PyMem_Free(_children);
34428|      0|                    p->error_indicator = 1;
34429|      0|                    PyErr_NoMemory();
34430|      0|                    p->level--;
34431|      0|                    return NULL;
34432|      0|                }
34433|      0|                _children = _new_children;
34434|      0|            }
34435|      0|            _children[_n++] = _res;
34436|      0|            _mark = p->mark;
34437|      0|        }
34438|      2|        p->mark = _mark;
34439|      2|        D(fprintf(stderr, "%*c%s _loop0_95[%d-%d]: %s failed!\n", p->level, ' ',
34440|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
34441|      2|    }
34442|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34443|      2|    if (!_seq) {
  ------------------
  |  Branch (34443:9): [True: 0, False: 2]
  ------------------
34444|      0|        PyMem_Free(_children);
34445|      0|        p->error_indicator = 1;
34446|      0|        PyErr_NoMemory();
34447|      0|        p->level--;
34448|      0|        return NULL;
34449|      0|    }
34450|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34450:28): [True: 0, False: 2]
  ------------------
34451|      2|    PyMem_Free(_children);
34452|      2|    p->level--;
34453|      2|    return _seq;
34454|      2|}
parser.c:slices_rule:
15100|     20|{
15101|     20|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     40|#  define MAXSTACK 6000
  ------------------
  |  Branch (15101:9): [True: 0, False: 20]
  |  Branch (15101:35): [True: 0, False: 20]
  ------------------
15102|      0|        _Pypegen_stack_overflow(p);
15103|      0|    }
15104|     20|    if (p->error_indicator) {
  ------------------
  |  Branch (15104:9): [True: 0, False: 20]
  ------------------
15105|      0|        p->level--;
15106|      0|        return NULL;
15107|      0|    }
15108|     20|    expr_ty _res = NULL;
15109|     20|    int _mark = p->mark;
15110|     20|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15110:9): [True: 12, False: 8]
  |  Branch (15110:31): [True: 0, False: 12]
  ------------------
15111|      0|        p->error_indicator = 1;
15112|      0|        p->level--;
15113|      0|        return NULL;
15114|      0|    }
15115|     20|    int _start_lineno = p->tokens[_mark]->lineno;
15116|     20|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
15117|     20|    int _start_col_offset = p->tokens[_mark]->col_offset;
15118|     20|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
15119|     20|    { // slice !','
15120|     20|        if (p->error_indicator) {
  ------------------
  |  Branch (15120:13): [True: 0, False: 20]
  ------------------
15121|      0|            p->level--;
15122|      0|            return NULL;
15123|      0|        }
15124|     20|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice !','"));
15125|     20|        expr_ty a;
15126|     20|        if (
15127|     20|            (a = slice_rule(p))  // slice
  ------------------
  |  Branch (15127:13): [True: 20, False: 0]
  ------------------
15128|     20|            &&
15129|     20|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (15129:13): [True: 16, False: 4]
  ------------------
15130|     20|        )
15131|     16|        {
15132|     16|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice !','"));
15133|     16|            _res = a;
15134|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15134:18): [True: 0, False: 16]
  |  Branch (15134:34): [True: 0, False: 16]
  |  Branch (15134:57): [True: 0, False: 0]
  ------------------
15135|      0|                p->error_indicator = 1;
15136|      0|                p->level--;
15137|      0|                return NULL;
15138|      0|            }
15139|     16|            goto done;
15140|     16|        }
15141|      4|        p->mark = _mark;
15142|      4|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
15143|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice !','"));
15144|      4|    }
15145|      0|    { // ','.(slice | starred_expression)+ ','?
15146|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (15146:13): [True: 0, False: 4]
  ------------------
15147|      0|            p->level--;
15148|      0|            return NULL;
15149|      0|        }
15150|      4|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15151|      4|        void *_opt_var;
15152|      4|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
15153|      4|        asdl_expr_seq* a;
15154|      4|        if (
15155|      4|            (a = (asdl_expr_seq*)_gather_66_rule(p))  // ','.(slice | starred_expression)+
  ------------------
  |  Branch (15155:13): [True: 4, False: 0]
  ------------------
15156|      4|            &&
15157|      4|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (15157:13): [True: 4, False: 0]
  ------------------
15158|      4|        )
15159|      4|        {
15160|      4|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15161|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15162|      4|            if (_token == NULL) {
  ------------------
  |  Branch (15162:17): [True: 0, False: 4]
  ------------------
15163|      0|                p->level--;
15164|      0|                return NULL;
15165|      0|            }
15166|      4|            int _end_lineno = _token->end_lineno;
15167|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
15168|      4|            int _end_col_offset = _token->end_col_offset;
15169|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
15170|      4|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15171|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15171:18): [True: 0, False: 4]
  |  Branch (15171:34): [True: 0, False: 4]
  |  Branch (15171:57): [True: 0, False: 0]
  ------------------
15172|      0|                p->error_indicator = 1;
15173|      0|                p->level--;
15174|      0|                return NULL;
15175|      0|            }
15176|      4|            goto done;
15177|      4|        }
15178|      0|        p->mark = _mark;
15179|      0|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
15180|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15181|      0|    }
15182|      0|    _res = NULL;
15183|     20|  done:
15184|     20|    p->level--;
15185|     20|    return _res;
15186|      0|}
parser.c:slice_rule:
15191|     28|{
15192|     28|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     56|#  define MAXSTACK 6000
  ------------------
  |  Branch (15192:9): [True: 0, False: 28]
  |  Branch (15192:35): [True: 0, False: 28]
  ------------------
15193|      0|        _Pypegen_stack_overflow(p);
15194|      0|    }
15195|     28|    if (p->error_indicator) {
  ------------------
  |  Branch (15195:9): [True: 0, False: 28]
  ------------------
15196|      0|        p->level--;
15197|      0|        return NULL;
15198|      0|    }
15199|     28|    expr_ty _res = NULL;
15200|     28|    int _mark = p->mark;
15201|     28|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15201:9): [True: 4, False: 24]
  |  Branch (15201:31): [True: 0, False: 4]
  ------------------
15202|      0|        p->error_indicator = 1;
15203|      0|        p->level--;
15204|      0|        return NULL;
15205|      0|    }
15206|     28|    int _start_lineno = p->tokens[_mark]->lineno;
15207|     28|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     28|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 28]
  |  |  ------------------
  ------------------
15208|     28|    int _start_col_offset = p->tokens[_mark]->col_offset;
15209|     28|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     28|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 28]
  |  |  ------------------
  ------------------
15210|     28|    { // expression? ':' expression? [':' expression?]
15211|     28|        if (p->error_indicator) {
  ------------------
  |  Branch (15211:13): [True: 0, False: 28]
  ------------------
15212|      0|            p->level--;
15213|      0|            return NULL;
15214|      0|        }
15215|     28|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15216|     28|        Token * _literal;
15217|     28|        void *a;
15218|     28|        void *b;
15219|     28|        void *c;
15220|     28|        if (
15221|     28|            (a = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15221:13): [True: 28, False: 0]
  ------------------
15222|     28|            &&
15223|     28|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15223:13): [True: 0, False: 28]
  ------------------
15224|      0|            &&
15225|      0|            (b = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15225:13): [True: 0, False: 0]
  ------------------
15226|      0|            &&
15227|      0|            (c = _tmp_67_rule(p), !p->error_indicator)  // [':' expression?]
  ------------------
  |  Branch (15227:13): [True: 0, False: 0]
  ------------------
15228|     28|        )
15229|      0|        {
15230|      0|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15231|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15232|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15232:17): [True: 0, False: 0]
  ------------------
15233|      0|                p->level--;
15234|      0|                return NULL;
15235|      0|            }
15236|      0|            int _end_lineno = _token->end_lineno;
15237|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15238|      0|            int _end_col_offset = _token->end_col_offset;
15239|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15240|      0|            _res = _PyAST_Slice ( a , b , c , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15241|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15241:18): [True: 0, False: 0]
  |  Branch (15241:34): [True: 0, False: 0]
  |  Branch (15241:57): [True: 0, False: 0]
  ------------------
15242|      0|                p->error_indicator = 1;
15243|      0|                p->level--;
15244|      0|                return NULL;
15245|      0|            }
15246|      0|            goto done;
15247|      0|        }
15248|     28|        p->mark = _mark;
15249|     28|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
15250|     28|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15251|     28|    }
15252|      0|    { // named_expression
15253|     28|        if (p->error_indicator) {
  ------------------
  |  Branch (15253:13): [True: 0, False: 28]
  ------------------
15254|      0|            p->level--;
15255|      0|            return NULL;
15256|      0|        }
15257|     28|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
15258|     28|        expr_ty a;
15259|     28|        if (
15260|     28|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (15260:13): [True: 28, False: 0]
  ------------------
15261|     28|        )
15262|     28|        {
15263|     28|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
15264|     28|            _res = a;
15265|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15265:18): [True: 0, False: 28]
  |  Branch (15265:34): [True: 0, False: 28]
  |  Branch (15265:57): [True: 0, False: 0]
  ------------------
15266|      0|                p->error_indicator = 1;
15267|      0|                p->level--;
15268|      0|                return NULL;
15269|      0|            }
15270|     28|            goto done;
15271|     28|        }
15272|      0|        p->mark = _mark;
15273|      0|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
15274|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
15275|      0|    }
15276|      0|    _res = NULL;
15277|     28|  done:
15278|     28|    p->level--;
15279|     28|    return _res;
15280|      0|}
parser.c:_gather_66_rule:
32518|      4|{
32519|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (32519:9): [True: 0, False: 4]
  |  Branch (32519:35): [True: 0, False: 4]
  ------------------
32520|      0|        _Pypegen_stack_overflow(p);
32521|      0|    }
32522|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (32522:9): [True: 0, False: 4]
  ------------------
32523|      0|        p->level--;
32524|      0|        return NULL;
32525|      0|    }
32526|      4|    asdl_seq * _res = NULL;
32527|      4|    int _mark = p->mark;
32528|      4|    { // (slice | starred_expression) _loop0_65
32529|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (32529:13): [True: 0, False: 4]
  ------------------
32530|      0|            p->level--;
32531|      0|            return NULL;
32532|      0|        }
32533|      4|        D(fprintf(stderr, "%*c> _gather_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32534|      4|        void *elem;
32535|      4|        asdl_seq * seq;
32536|      4|        if (
32537|      4|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32537:13): [True: 4, False: 0]
  ------------------
32538|      4|            &&
32539|      4|            (seq = _loop0_65_rule(p))  // _loop0_65
  ------------------
  |  Branch (32539:13): [True: 4, False: 0]
  ------------------
32540|      4|        )
32541|      4|        {
32542|      4|            D(fprintf(stderr, "%*c+ _gather_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32543|      4|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32544|      4|            goto done;
32545|      4|        }
32546|      0|        p->mark = _mark;
32547|      0|        D(fprintf(stderr, "%*c%s _gather_66[%d-%d]: %s failed!\n", p->level, ' ',
32548|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32549|      0|    }
32550|      0|    _res = NULL;
32551|      4|  done:
32552|      4|    p->level--;
32553|      4|    return _res;
32554|      0|}
parser.c:_tmp_165_rule:
38580|      8|{
38581|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (38581:9): [True: 0, False: 8]
  |  Branch (38581:35): [True: 0, False: 8]
  ------------------
38582|      0|        _Pypegen_stack_overflow(p);
38583|      0|    }
38584|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (38584:9): [True: 0, False: 8]
  ------------------
38585|      0|        p->level--;
38586|      0|        return NULL;
38587|      0|    }
38588|      8|    void * _res = NULL;
38589|      8|    int _mark = p->mark;
38590|      8|    { // slice
38591|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (38591:13): [True: 0, False: 8]
  ------------------
38592|      0|            p->level--;
38593|      0|            return NULL;
38594|      0|        }
38595|      8|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice"));
38596|      8|        expr_ty slice_var;
38597|      8|        if (
38598|      8|            (slice_var = slice_rule(p))  // slice
  ------------------
  |  Branch (38598:13): [True: 8, False: 0]
  ------------------
38599|      8|        )
38600|      8|        {
38601|      8|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice"));
38602|      8|            _res = slice_var;
38603|      8|            goto done;
38604|      8|        }
38605|      0|        p->mark = _mark;
38606|      0|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
38607|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice"));
38608|      0|    }
38609|      0|    { // starred_expression
38610|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (38610:13): [True: 0, False: 0]
  ------------------
38611|      0|            p->level--;
38612|      0|            return NULL;
38613|      0|        }
38614|      0|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38615|      0|        expr_ty starred_expression_var;
38616|      0|        if (
38617|      0|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38617:13): [True: 0, False: 0]
  ------------------
38618|      0|        )
38619|      0|        {
38620|      0|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38621|      0|            _res = starred_expression_var;
38622|      0|            goto done;
38623|      0|        }
38624|      0|        p->mark = _mark;
38625|      0|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
38626|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38627|      0|    }
38628|      0|    _res = NULL;
38629|      8|  done:
38630|      8|    p->level--;
38631|      8|    return _res;
38632|      0|}
parser.c:_loop0_65_rule:
32442|      4|{
32443|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (32443:9): [True: 0, False: 4]
  |  Branch (32443:35): [True: 0, False: 4]
  ------------------
32444|      0|        _Pypegen_stack_overflow(p);
32445|      0|    }
32446|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (32446:9): [True: 0, False: 4]
  ------------------
32447|      0|        p->level--;
32448|      0|        return NULL;
32449|      0|    }
32450|      4|    void *_res = NULL;
32451|      4|    int _mark = p->mark;
32452|      4|    void **_children = PyMem_Malloc(sizeof(void *));
32453|      4|    if (!_children) {
  ------------------
  |  Branch (32453:9): [True: 0, False: 4]
  ------------------
32454|      0|        p->error_indicator = 1;
32455|      0|        PyErr_NoMemory();
32456|      0|        p->level--;
32457|      0|        return NULL;
32458|      0|    }
32459|      4|    Py_ssize_t _children_capacity = 1;
32460|      4|    Py_ssize_t _n = 0;
32461|      4|    { // ',' (slice | starred_expression)
32462|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (32462:13): [True: 0, False: 4]
  ------------------
32463|      0|            p->level--;
32464|      0|            return NULL;
32465|      0|        }
32466|      4|        D(fprintf(stderr, "%*c> _loop0_65[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (slice | starred_expression)"));
32467|      4|        Token * _literal;
32468|      4|        void *elem;
32469|      4|        while (
32470|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32470:13): [True: 4, False: 4]
  ------------------
32471|      4|            &&
32472|      4|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32472:13): [True: 4, False: 0]
  ------------------
32473|      4|        )
32474|      4|        {
32475|      4|            _res = elem;
32476|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32476:18): [True: 0, False: 4]
  |  Branch (32476:34): [True: 0, False: 4]
  |  Branch (32476:57): [True: 0, False: 0]
  ------------------
32477|      0|                p->error_indicator = 1;
32478|      0|                PyMem_Free(_children);
32479|      0|                p->level--;
32480|      0|                return NULL;
32481|      0|            }
32482|      4|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32482:17): [True: 0, False: 4]
  ------------------
32483|      0|                _children_capacity *= 2;
32484|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32485|      0|                if (!_new_children) {
  ------------------
  |  Branch (32485:21): [True: 0, False: 0]
  ------------------
32486|      0|                    PyMem_Free(_children);
32487|      0|                    p->error_indicator = 1;
32488|      0|                    PyErr_NoMemory();
32489|      0|                    p->level--;
32490|      0|                    return NULL;
32491|      0|                }
32492|      0|                _children = _new_children;
32493|      0|            }
32494|      4|            _children[_n++] = _res;
32495|      4|            _mark = p->mark;
32496|      4|        }
32497|      4|        p->mark = _mark;
32498|      4|        D(fprintf(stderr, "%*c%s _loop0_65[%d-%d]: %s failed!\n", p->level, ' ',
32499|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (slice | starred_expression)"));
32500|      4|    }
32501|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32502|      4|    if (!_seq) {
  ------------------
  |  Branch (32502:9): [True: 0, False: 4]
  ------------------
32503|      0|        PyMem_Free(_children);
32504|      0|        p->error_indicator = 1;
32505|      0|        PyErr_NoMemory();
32506|      0|        p->level--;
32507|      0|        return NULL;
32508|      0|    }
32509|      8|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      4|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32509:28): [True: 4, False: 4]
  ------------------
32510|      4|    PyMem_Free(_children);
32511|      4|    p->level--;
32512|      4|    return _seq;
32513|      4|}
parser.c:atom_rule:
15295|   338k|{
15296|   338k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   676k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15296:9): [True: 0, False: 338k]
  |  Branch (15296:35): [True: 0, False: 338k]
  ------------------
15297|      0|        _Pypegen_stack_overflow(p);
15298|      0|    }
15299|   338k|    if (p->error_indicator) {
  ------------------
  |  Branch (15299:9): [True: 0, False: 338k]
  ------------------
15300|      0|        p->level--;
15301|      0|        return NULL;
15302|      0|    }
15303|   338k|    expr_ty _res = NULL;
15304|   338k|    int _mark = p->mark;
15305|   338k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15305:9): [True: 0, False: 338k]
  |  Branch (15305:31): [True: 0, False: 0]
  ------------------
15306|      0|        p->error_indicator = 1;
15307|      0|        p->level--;
15308|      0|        return NULL;
15309|      0|    }
15310|   338k|    int _start_lineno = p->tokens[_mark]->lineno;
15311|   338k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   338k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 338k]
  |  |  ------------------
  ------------------
15312|   338k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15313|   338k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   338k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 338k]
  |  |  ------------------
  ------------------
15314|   338k|    { // NAME
15315|   338k|        if (p->error_indicator) {
  ------------------
  |  Branch (15315:13): [True: 0, False: 338k]
  ------------------
15316|      0|            p->level--;
15317|      0|            return NULL;
15318|      0|        }
15319|   338k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
15320|   338k|        expr_ty name_var;
15321|   338k|        if (
15322|   338k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (15322:13): [True: 8.32k, False: 329k]
  ------------------
15323|   338k|        )
15324|  8.32k|        {
15325|  8.32k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
15326|  8.32k|            _res = name_var;
15327|  8.32k|            goto done;
15328|  8.32k|        }
15329|   329k|        p->mark = _mark;
15330|   329k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15331|   329k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
15332|   329k|    }
15333|      0|    { // 'True'
15334|   329k|        if (p->error_indicator) {
  ------------------
  |  Branch (15334:13): [True: 0, False: 329k]
  ------------------
15335|      0|            p->level--;
15336|      0|            return NULL;
15337|      0|        }
15338|   329k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
15339|   329k|        Token * _keyword;
15340|   329k|        if (
15341|   329k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (15341:13): [True: 100, False: 329k]
  ------------------
15342|   329k|        )
15343|    100|        {
15344|    100|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15345|    100|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15346|    100|            if (_token == NULL) {
  ------------------
  |  Branch (15346:17): [True: 0, False: 100]
  ------------------
15347|      0|                p->level--;
15348|      0|                return NULL;
15349|      0|            }
15350|    100|            int _end_lineno = _token->end_lineno;
15351|    100|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    100|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 100]
  |  |  ------------------
  ------------------
15352|    100|            int _end_col_offset = _token->end_col_offset;
15353|    100|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    100|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 100]
  |  |  ------------------
  ------------------
15354|    100|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|    100|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  269|    100|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15355|    100|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15355:18): [True: 0, False: 100]
  |  Branch (15355:34): [True: 0, False: 100]
  |  Branch (15355:57): [True: 0, False: 0]
  ------------------
15356|      0|                p->error_indicator = 1;
15357|      0|                p->level--;
15358|      0|                return NULL;
15359|      0|            }
15360|    100|            goto done;
15361|    100|        }
15362|   329k|        p->mark = _mark;
15363|   329k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15364|   329k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15365|   329k|    }
15366|      0|    { // 'False'
15367|   329k|        if (p->error_indicator) {
  ------------------
  |  Branch (15367:13): [True: 0, False: 329k]
  ------------------
15368|      0|            p->level--;
15369|      0|            return NULL;
15370|      0|        }
15371|   329k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15372|   329k|        Token * _keyword;
15373|   329k|        if (
15374|   329k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (15374:13): [True: 4, False: 329k]
  ------------------
15375|   329k|        )
15376|      4|        {
15377|      4|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15378|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15379|      4|            if (_token == NULL) {
  ------------------
  |  Branch (15379:17): [True: 0, False: 4]
  ------------------
15380|      0|                p->level--;
15381|      0|                return NULL;
15382|      0|            }
15383|      4|            int _end_lineno = _token->end_lineno;
15384|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
15385|      4|            int _end_col_offset = _token->end_col_offset;
15386|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
15387|      4|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15388|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15388:18): [True: 0, False: 4]
  |  Branch (15388:34): [True: 0, False: 4]
  |  Branch (15388:57): [True: 0, False: 0]
  ------------------
15389|      0|                p->error_indicator = 1;
15390|      0|                p->level--;
15391|      0|                return NULL;
15392|      0|            }
15393|      4|            goto done;
15394|      4|        }
15395|   329k|        p->mark = _mark;
15396|   329k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15397|   329k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15398|   329k|    }
15399|      0|    { // 'None'
15400|   329k|        if (p->error_indicator) {
  ------------------
  |  Branch (15400:13): [True: 0, False: 329k]
  ------------------
15401|      0|            p->level--;
15402|      0|            return NULL;
15403|      0|        }
15404|   329k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15405|   329k|        Token * _keyword;
15406|   329k|        if (
15407|   329k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (15407:13): [True: 48, False: 329k]
  ------------------
15408|   329k|        )
15409|     48|        {
15410|     48|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15411|     48|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15412|     48|            if (_token == NULL) {
  ------------------
  |  Branch (15412:17): [True: 0, False: 48]
  ------------------
15413|      0|                p->level--;
15414|      0|                return NULL;
15415|      0|            }
15416|     48|            int _end_lineno = _token->end_lineno;
15417|     48|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     48|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 48]
  |  |  ------------------
  ------------------
15418|     48|            int _end_col_offset = _token->end_col_offset;
15419|     48|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     48|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 48]
  |  |  ------------------
  ------------------
15420|     48|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  269|     48|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15421|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15421:18): [True: 0, False: 48]
  |  Branch (15421:34): [True: 0, False: 48]
  |  Branch (15421:57): [True: 0, False: 0]
  ------------------
15422|      0|                p->error_indicator = 1;
15423|      0|                p->level--;
15424|      0|                return NULL;
15425|      0|            }
15426|     48|            goto done;
15427|     48|        }
15428|   329k|        p->mark = _mark;
15429|   329k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15430|   329k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15431|   329k|    }
15432|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15433|   329k|        if (p->error_indicator) {
  ------------------
  |  Branch (15433:13): [True: 0, False: 329k]
  ------------------
15434|      0|            p->level--;
15435|      0|            return NULL;
15436|      0|        }
15437|   329k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15438|   329k|        expr_ty strings_var;
15439|   329k|        if (
15440|   329k|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15440:13): [True: 996, False: 328k]
  ------------------
15441|    996|            &&
15442|    996|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15442:13): [True: 996, False: 0]
  ------------------
15443|   329k|        )
15444|    996|        {
15445|    996|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15446|    996|            _res = strings_var;
15447|    996|            goto done;
15448|    996|        }
15449|   328k|        p->mark = _mark;
15450|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15451|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15452|   328k|    }
15453|      0|    { // NUMBER
15454|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (15454:13): [True: 0, False: 328k]
  ------------------
15455|      0|            p->level--;
15456|      0|            return NULL;
15457|      0|        }
15458|   328k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15459|   328k|        expr_ty number_var;
15460|   328k|        if (
15461|   328k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15461:13): [True: 170, False: 328k]
  ------------------
15462|   328k|        )
15463|    170|        {
15464|    170|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15465|    170|            _res = number_var;
15466|    170|            goto done;
15467|    170|        }
15468|   328k|        p->mark = _mark;
15469|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15470|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15471|   328k|    }
15472|      0|    { // &'(' (genexp | tuple | group)
15473|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (15473:13): [True: 0, False: 328k]
  ------------------
15474|      0|            p->level--;
15475|      0|            return NULL;
15476|      0|        }
15477|   328k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15478|   328k|        void *_tmp_68_var;
15479|   328k|        if (
15480|   328k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15480:13): [True: 308, False: 328k]
  ------------------
15481|    308|            &&
15482|    308|            (_tmp_68_var = _tmp_68_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15482:13): [True: 308, False: 0]
  ------------------
15483|   328k|        )
15484|    308|        {
15485|    308|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15486|    308|            _res = _tmp_68_var;
15487|    308|            goto done;
15488|    308|        }
15489|   328k|        p->mark = _mark;
15490|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15491|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15492|   328k|    }
15493|      0|    { // &'[' (listcomp | list)
15494|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (15494:13): [True: 0, False: 328k]
  ------------------
15495|      0|            p->level--;
15496|      0|            return NULL;
15497|      0|        }
15498|   328k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15499|   328k|        void *_tmp_69_var;
15500|   328k|        if (
15501|   328k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15501:13): [True: 0, False: 328k]
  ------------------
15502|      0|            &&
15503|      0|            (_tmp_69_var = _tmp_69_rule(p))  // listcomp | list
  ------------------
  |  Branch (15503:13): [True: 0, False: 0]
  ------------------
15504|   328k|        )
15505|      0|        {
15506|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15507|      0|            _res = _tmp_69_var;
15508|      0|            goto done;
15509|      0|        }
15510|   328k|        p->mark = _mark;
15511|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15512|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15513|   328k|    }
15514|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15515|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (15515:13): [True: 0, False: 328k]
  ------------------
15516|      0|            p->level--;
15517|      0|            return NULL;
15518|      0|        }
15519|   328k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15520|   328k|        void *_tmp_70_var;
15521|   328k|        if (
15522|   328k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15522:13): [True: 96, False: 328k]
  ------------------
15523|     96|            &&
15524|     96|            (_tmp_70_var = _tmp_70_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15524:13): [True: 96, False: 0]
  ------------------
15525|   328k|        )
15526|     96|        {
15527|     96|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15528|     96|            _res = _tmp_70_var;
15529|     96|            goto done;
15530|     96|        }
15531|   328k|        p->mark = _mark;
15532|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15533|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15534|   328k|    }
15535|      0|    { // '...'
15536|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (15536:13): [True: 0, False: 328k]
  ------------------
15537|      0|            p->level--;
15538|      0|            return NULL;
15539|      0|        }
15540|   328k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15541|   328k|        Token * _literal;
15542|   328k|        if (
15543|   328k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15543:13): [True: 0, False: 328k]
  ------------------
15544|   328k|        )
15545|      0|        {
15546|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15547|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15548|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15548:17): [True: 0, False: 0]
  ------------------
15549|      0|                p->level--;
15550|      0|                return NULL;
15551|      0|            }
15552|      0|            int _end_lineno = _token->end_lineno;
15553|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15554|      0|            int _end_col_offset = _token->end_col_offset;
15555|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15556|      0|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15557|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15557:18): [True: 0, False: 0]
  |  Branch (15557:34): [True: 0, False: 0]
  |  Branch (15557:57): [True: 0, False: 0]
  ------------------
15558|      0|                p->error_indicator = 1;
15559|      0|                p->level--;
15560|      0|                return NULL;
15561|      0|            }
15562|      0|            goto done;
15563|      0|        }
15564|   328k|        p->mark = _mark;
15565|   328k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15566|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15567|   328k|    }
15568|   328k|    _res = NULL;
15569|   338k|  done:
15570|   338k|    p->level--;
15571|   338k|    return _res;
15572|   328k|}
parser.c:_tmp_42_rule:
31011|   329k|{
31012|   329k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   659k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31012:9): [True: 0, False: 329k]
  |  Branch (31012:35): [True: 0, False: 329k]
  ------------------
31013|      0|        _Pypegen_stack_overflow(p);
31014|      0|    }
31015|   329k|    if (p->error_indicator) {
  ------------------
  |  Branch (31015:9): [True: 0, False: 329k]
  ------------------
31016|      0|        p->level--;
31017|      0|        return NULL;
31018|      0|    }
31019|   329k|    void * _res = NULL;
31020|   329k|    int _mark = p->mark;
31021|   329k|    { // STRING
31022|   329k|        if (p->error_indicator) {
  ------------------
  |  Branch (31022:13): [True: 0, False: 329k]
  ------------------
31023|      0|            p->level--;
31024|      0|            return NULL;
31025|      0|        }
31026|   329k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
31027|   329k|        expr_ty string_var;
31028|   329k|        if (
31029|   329k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (31029:13): [True: 808, False: 328k]
  ------------------
31030|   329k|        )
31031|    808|        {
31032|    808|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
31033|    808|            _res = string_var;
31034|    808|            goto done;
31035|    808|        }
31036|   328k|        p->mark = _mark;
31037|   328k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31038|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
31039|   328k|    }
31040|      0|    { // FSTRING_START
31041|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (31041:13): [True: 0, False: 328k]
  ------------------
31042|      0|            p->level--;
31043|      0|            return NULL;
31044|      0|        }
31045|   328k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31046|   328k|        Token * fstring_start_var;
31047|   328k|        if (
31048|   328k|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|   328k|#define FSTRING_START   59
  ------------------
  |  Branch (31048:13): [True: 188, False: 328k]
  ------------------
31049|   328k|        )
31050|    188|        {
31051|    188|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31052|    188|            _res = fstring_start_var;
31053|    188|            goto done;
31054|    188|        }
31055|   328k|        p->mark = _mark;
31056|   328k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31057|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
31058|   328k|    }
31059|      0|    { // TSTRING_START
31060|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (31060:13): [True: 0, False: 328k]
  ------------------
31061|      0|            p->level--;
31062|      0|            return NULL;
31063|      0|        }
31064|   328k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31065|   328k|        Token * tstring_start_var;
31066|   328k|        if (
31067|   328k|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|   328k|#define TSTRING_START   62
  ------------------
  |  Branch (31067:13): [True: 0, False: 328k]
  ------------------
31068|   328k|        )
31069|      0|        {
31070|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31071|      0|            _res = tstring_start_var;
31072|      0|            goto done;
31073|      0|        }
31074|   328k|        p->mark = _mark;
31075|   328k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31076|   328k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
31077|   328k|    }
31078|   328k|    _res = NULL;
31079|   329k|  done:
31080|   329k|    p->level--;
31081|   329k|    return _res;
31082|   328k|}
parser.c:strings_rule:
17451|    996|{
17452|    996|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.99k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17452:9): [True: 0, False: 996]
  |  Branch (17452:35): [True: 0, False: 996]
  ------------------
17453|      0|        _Pypegen_stack_overflow(p);
17454|      0|    }
17455|    996|    if (p->error_indicator) {
  ------------------
  |  Branch (17455:9): [True: 0, False: 996]
  ------------------
17456|      0|        p->level--;
17457|      0|        return NULL;
17458|      0|    }
17459|    996|    expr_ty _res = NULL;
17460|    996|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  262|    996|#define strings_type 1173
  ------------------
  |  Branch (17460:9): [True: 502, False: 494]
  ------------------
17461|    502|        p->level--;
17462|    502|        return _res;
17463|    502|    }
17464|    494|    int _mark = p->mark;
17465|    494|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17465:9): [True: 0, False: 494]
  |  Branch (17465:31): [True: 0, False: 0]
  ------------------
17466|      0|        p->error_indicator = 1;
17467|      0|        p->level--;
17468|      0|        return NULL;
17469|      0|    }
17470|    494|    int _start_lineno = p->tokens[_mark]->lineno;
17471|    494|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    494|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 494]
  |  |  ------------------
  ------------------
17472|    494|    int _start_col_offset = p->tokens[_mark]->col_offset;
17473|    494|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    494|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 494]
  |  |  ------------------
  ------------------
17474|    494|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17474:9): [True: 0, False: 494]
  ------------------
17475|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17475:13): [True: 0, False: 0]
  ------------------
17476|      0|            p->level--;
17477|      0|            return NULL;
17478|      0|        }
17479|      0|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17480|      0|        void *invalid_string_tstring_concat_var;
17481|      0|        if (
17482|      0|            (invalid_string_tstring_concat_var = invalid_string_tstring_concat_rule(p))  // invalid_string_tstring_concat
  ------------------
  |  Branch (17482:13): [True: 0, False: 0]
  ------------------
17483|      0|        )
17484|      0|        {
17485|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17486|      0|            _res = invalid_string_tstring_concat_var;
17487|      0|            goto done;
17488|      0|        }
17489|      0|        p->mark = _mark;
17490|      0|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17491|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_string_tstring_concat"));
17492|      0|    }
17493|    494|    { // ((fstring | string))+
17494|    494|        if (p->error_indicator) {
  ------------------
  |  Branch (17494:13): [True: 0, False: 494]
  ------------------
17495|      0|            p->level--;
17496|      0|            return NULL;
17497|      0|        }
17498|    494|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17499|    494|        asdl_expr_seq* a;
17500|    494|        if (
17501|    494|            (a = (asdl_expr_seq*)_loop1_82_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17501:13): [True: 494, False: 0]
  ------------------
17502|    494|        )
17503|    494|        {
17504|    494|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17505|    494|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17506|    494|            if (_token == NULL) {
  ------------------
  |  Branch (17506:17): [True: 0, False: 494]
  ------------------
17507|      0|                p->level--;
17508|      0|                return NULL;
17509|      0|            }
17510|    494|            int _end_lineno = _token->end_lineno;
17511|    494|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    494|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 494]
  |  |  ------------------
  ------------------
17512|    494|            int _end_col_offset = _token->end_col_offset;
17513|    494|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    494|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 494]
  |  |  ------------------
  ------------------
17514|    494|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  269|    494|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17515|    494|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17515:18): [True: 0, False: 494]
  |  Branch (17515:34): [True: 0, False: 494]
  |  Branch (17515:57): [True: 0, False: 0]
  ------------------
17516|      0|                p->error_indicator = 1;
17517|      0|                p->level--;
17518|      0|                return NULL;
17519|      0|            }
17520|    494|            goto done;
17521|    494|        }
17522|      0|        p->mark = _mark;
17523|      0|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17524|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17525|      0|    }
17526|      0|    { // tstring+
17527|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17527:13): [True: 0, False: 0]
  ------------------
17528|      0|            p->level--;
17529|      0|            return NULL;
17530|      0|        }
17531|      0|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17532|      0|        asdl_expr_seq* a;
17533|      0|        if (
17534|      0|            (a = (asdl_expr_seq*)_loop1_83_rule(p))  // tstring+
  ------------------
  |  Branch (17534:13): [True: 0, False: 0]
  ------------------
17535|      0|        )
17536|      0|        {
17537|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17538|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17539|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17539:17): [True: 0, False: 0]
  ------------------
17540|      0|                p->level--;
17541|      0|                return NULL;
17542|      0|            }
17543|      0|            int _end_lineno = _token->end_lineno;
17544|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17545|      0|            int _end_col_offset = _token->end_col_offset;
17546|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17547|      0|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17548|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17548:18): [True: 0, False: 0]
  |  Branch (17548:34): [True: 0, False: 0]
  |  Branch (17548:57): [True: 0, False: 0]
  ------------------
17549|      0|                p->error_indicator = 1;
17550|      0|                p->level--;
17551|      0|                return NULL;
17552|      0|            }
17553|      0|            goto done;
17554|      0|        }
17555|      0|        p->mark = _mark;
17556|      0|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17557|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+"));
17558|      0|    }
17559|      0|    _res = NULL;
17560|    494|  done:
17561|    494|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  262|    494|#define strings_type 1173
  ------------------
17562|    494|    p->level--;
17563|    494|    return _res;
17564|      0|}
parser.c:annotated_rhs_rule:
 2336|    452|{
 2337|    452|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    904|#  define MAXSTACK 6000
  ------------------
  |  Branch (2337:9): [True: 0, False: 452]
  |  Branch (2337:35): [True: 0, False: 452]
  ------------------
 2338|      0|        _Pypegen_stack_overflow(p);
 2339|      0|    }
 2340|    452|    if (p->error_indicator) {
  ------------------
  |  Branch (2340:9): [True: 0, False: 452]
  ------------------
 2341|      0|        p->level--;
 2342|      0|        return NULL;
 2343|      0|    }
 2344|    452|    expr_ty _res = NULL;
 2345|    452|    int _mark = p->mark;
 2346|    452|    { // yield_expr
 2347|    452|        if (p->error_indicator) {
  ------------------
  |  Branch (2347:13): [True: 0, False: 452]
  ------------------
 2348|      0|            p->level--;
 2349|      0|            return NULL;
 2350|      0|        }
 2351|    452|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2352|    452|        expr_ty yield_expr_var;
 2353|    452|        if (
 2354|    452|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (2354:13): [True: 0, False: 452]
  ------------------
 2355|    452|        )
 2356|      0|        {
 2357|      0|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2358|      0|            _res = yield_expr_var;
 2359|      0|            goto done;
 2360|      0|        }
 2361|    452|        p->mark = _mark;
 2362|    452|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2363|    452|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 2364|    452|    }
 2365|      0|    { // star_expressions
 2366|    452|        if (p->error_indicator) {
  ------------------
  |  Branch (2366:13): [True: 0, False: 452]
  ------------------
 2367|      0|            p->level--;
 2368|      0|            return NULL;
 2369|      0|        }
 2370|    452|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2371|    452|        expr_ty star_expressions_var;
 2372|    452|        if (
 2373|    452|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (2373:13): [True: 452, False: 0]
  ------------------
 2374|    452|        )
 2375|    452|        {
 2376|    452|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2377|    452|            _res = star_expressions_var;
 2378|    452|            goto done;
 2379|    452|        }
 2380|      0|        p->mark = _mark;
 2381|      0|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2382|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 2383|      0|    }
 2384|      0|    _res = NULL;
 2385|    452|  done:
 2386|    452|    p->level--;
 2387|    452|    return _res;
 2388|      0|}
parser.c:yield_expr_rule:
11771|  54.6k|{
11772|  54.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   109k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11772:9): [True: 0, False: 54.6k]
  |  Branch (11772:35): [True: 0, False: 54.6k]
  ------------------
11773|      0|        _Pypegen_stack_overflow(p);
11774|      0|    }
11775|  54.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (11775:9): [True: 0, False: 54.6k]
  ------------------
11776|      0|        p->level--;
11777|      0|        return NULL;
11778|      0|    }
11779|  54.6k|    expr_ty _res = NULL;
11780|  54.6k|    int _mark = p->mark;
11781|  54.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11781:9): [True: 298, False: 54.3k]
  |  Branch (11781:31): [True: 0, False: 298]
  ------------------
11782|      0|        p->error_indicator = 1;
11783|      0|        p->level--;
11784|      0|        return NULL;
11785|      0|    }
11786|  54.6k|    int _start_lineno = p->tokens[_mark]->lineno;
11787|  54.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.6k]
  |  |  ------------------
  ------------------
11788|  54.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11789|  54.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.6k]
  |  |  ------------------
  ------------------
11790|  54.6k|    { // 'yield' 'from' expression
11791|  54.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (11791:13): [True: 0, False: 54.6k]
  ------------------
11792|      0|            p->level--;
11793|      0|            return NULL;
11794|      0|        }
11795|  54.6k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11796|  54.6k|        Token * _keyword;
11797|  54.6k|        Token * _keyword_1;
11798|  54.6k|        expr_ty a;
11799|  54.6k|        if (
11800|  54.6k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11800:13): [True: 0, False: 54.6k]
  ------------------
11801|      0|            &&
11802|      0|            (_keyword_1 = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (11802:13): [True: 0, False: 0]
  ------------------
11803|      0|            &&
11804|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11804:13): [True: 0, False: 0]
  ------------------
11805|  54.6k|        )
11806|      0|        {
11807|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11808|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11809|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11809:17): [True: 0, False: 0]
  ------------------
11810|      0|                p->level--;
11811|      0|                return NULL;
11812|      0|            }
11813|      0|            int _end_lineno = _token->end_lineno;
11814|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11815|      0|            int _end_col_offset = _token->end_col_offset;
11816|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11817|      0|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11818:18): [True: 0, False: 0]
  |  Branch (11818:34): [True: 0, False: 0]
  |  Branch (11818:57): [True: 0, False: 0]
  ------------------
11819|      0|                p->error_indicator = 1;
11820|      0|                p->level--;
11821|      0|                return NULL;
11822|      0|            }
11823|      0|            goto done;
11824|      0|        }
11825|  54.6k|        p->mark = _mark;
11826|  54.6k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11827|  54.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11828|  54.6k|    }
11829|      0|    { // 'yield' star_expressions?
11830|  54.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (11830:13): [True: 0, False: 54.6k]
  ------------------
11831|      0|            p->level--;
11832|      0|            return NULL;
11833|      0|        }
11834|  54.6k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11835|  54.6k|        Token * _keyword;
11836|  54.6k|        void *a;
11837|  54.6k|        if (
11838|  54.6k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11838:13): [True: 0, False: 54.6k]
  ------------------
11839|      0|            &&
11840|      0|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (11840:13): [True: 0, False: 0]
  ------------------
11841|  54.6k|        )
11842|      0|        {
11843|      0|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11844|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11845|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11845:17): [True: 0, False: 0]
  ------------------
11846|      0|                p->level--;
11847|      0|                return NULL;
11848|      0|            }
11849|      0|            int _end_lineno = _token->end_lineno;
11850|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11851|      0|            int _end_col_offset = _token->end_col_offset;
11852|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11853|      0|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11854|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11854:18): [True: 0, False: 0]
  |  Branch (11854:34): [True: 0, False: 0]
  |  Branch (11854:57): [True: 0, False: 0]
  ------------------
11855|      0|                p->error_indicator = 1;
11856|      0|                p->level--;
11857|      0|                return NULL;
11858|      0|            }
11859|      0|            goto done;
11860|      0|        }
11861|  54.6k|        p->mark = _mark;
11862|  54.6k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11863|  54.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11864|  54.6k|    }
11865|  54.6k|    _res = NULL;
11866|  54.6k|  done:
11867|  54.6k|    p->level--;
11868|  54.6k|    return _res;
11869|  54.6k|}
parser.c:fstring_conversion_rule:
16751|    292|{
16752|    292|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    584|#  define MAXSTACK 6000
  ------------------
  |  Branch (16752:9): [True: 0, False: 292]
  |  Branch (16752:35): [True: 0, False: 292]
  ------------------
16753|      0|        _Pypegen_stack_overflow(p);
16754|      0|    }
16755|    292|    if (p->error_indicator) {
  ------------------
  |  Branch (16755:9): [True: 0, False: 292]
  ------------------
16756|      0|        p->level--;
16757|      0|        return NULL;
16758|      0|    }
16759|    292|    ResultTokenWithMetadata* _res = NULL;
16760|    292|    int _mark = p->mark;
16761|    292|    { // "!" NAME
16762|    292|        if (p->error_indicator) {
  ------------------
  |  Branch (16762:13): [True: 0, False: 292]
  ------------------
16763|      0|            p->level--;
16764|      0|            return NULL;
16765|      0|        }
16766|    292|        D(fprintf(stderr, "%*c> fstring_conversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16767|    292|        expr_ty conv;
16768|    292|        Token * conv_token;
16769|    292|        if (
16770|    292|            (conv_token = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (16770:13): [True: 246, False: 46]
  ------------------
16771|    246|            &&
16772|    246|            (conv = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16772:13): [True: 246, False: 0]
  ------------------
16773|    292|        )
16774|    246|        {
16775|    246|            D(fprintf(stderr, "%*c+ fstring_conversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16776|    246|            _res = _PyPegen_check_fstring_conversion ( p , conv_token , conv );
16777|    246|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16777:18): [True: 0, False: 246]
  |  Branch (16777:34): [True: 0, False: 246]
  |  Branch (16777:57): [True: 0, False: 0]
  ------------------
16778|      0|                p->error_indicator = 1;
16779|      0|                p->level--;
16780|      0|                return NULL;
16781|      0|            }
16782|    246|            goto done;
16783|    246|        }
16784|     46|        p->mark = _mark;
16785|     46|        D(fprintf(stderr, "%*c%s fstring_conversion[%d-%d]: %s failed!\n", p->level, ' ',
16786|     46|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"!\" NAME"));
16787|     46|    }
16788|     46|    _res = NULL;
16789|    292|  done:
16790|    292|    p->level--;
16791|    292|    return _res;
16792|     46|}
parser.c:fstring_replacement_field_rule:
16656|    678|{
16657|    678|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16657:9): [True: 0, False: 678]
  |  Branch (16657:35): [True: 0, False: 678]
  ------------------
16658|      0|        _Pypegen_stack_overflow(p);
16659|      0|    }
16660|    678|    if (p->error_indicator) {
  ------------------
  |  Branch (16660:9): [True: 0, False: 678]
  ------------------
16661|      0|        p->level--;
16662|      0|        return NULL;
16663|      0|    }
16664|    678|    expr_ty _res = NULL;
16665|    678|    int _mark = p->mark;
16666|    678|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16666:9): [True: 678, False: 0]
  |  Branch (16666:31): [True: 0, False: 678]
  ------------------
16667|      0|        p->error_indicator = 1;
16668|      0|        p->level--;
16669|      0|        return NULL;
16670|      0|    }
16671|    678|    int _start_lineno = p->tokens[_mark]->lineno;
16672|    678|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    678|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 678]
  |  |  ------------------
  ------------------
16673|    678|    int _start_col_offset = p->tokens[_mark]->col_offset;
16674|    678|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    678|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 678]
  |  |  ------------------
  ------------------
16675|    678|    { // '{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'
16676|    678|        if (p->error_indicator) {
  ------------------
  |  Branch (16676:13): [True: 0, False: 678]
  ------------------
16677|      0|            p->level--;
16678|      0|            return NULL;
16679|      0|        }
16680|    678|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16681|    678|        Token * _literal;
16682|    678|        expr_ty a;
16683|    678|        void *conversion;
16684|    678|        void *debug_expr;
16685|    678|        void *format;
16686|    678|        Token * rbrace;
16687|    678|        if (
16688|    678|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16688:13): [True: 292, False: 386]
  ------------------
16689|    292|            &&
16690|    292|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (16690:13): [True: 292, False: 0]
  ------------------
16691|    292|            &&
16692|    292|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16692:13): [True: 292, False: 0]
  ------------------
16693|    292|            &&
16694|    292|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16694:13): [True: 292, False: 0]
  ------------------
16695|    292|            &&
16696|    292|            (format = fstring_full_format_spec_rule(p), !p->error_indicator)  // fstring_full_format_spec?
  ------------------
  |  Branch (16696:13): [True: 292, False: 0]
  ------------------
16697|    292|            &&
16698|    292|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16698:13): [True: 292, False: 0]
  ------------------
16699|    678|        )
16700|    292|        {
16701|    292|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16702|    292|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16703|    292|            if (_token == NULL) {
  ------------------
  |  Branch (16703:17): [True: 0, False: 292]
  ------------------
16704|      0|                p->level--;
16705|      0|                return NULL;
16706|      0|            }
16707|    292|            int _end_lineno = _token->end_lineno;
16708|    292|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    292|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 292]
  |  |  ------------------
  ------------------
16709|    292|            int _end_col_offset = _token->end_col_offset;
16710|    292|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    292|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 292]
  |  |  ------------------
  ------------------
16711|    292|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  269|    292|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16712|    292|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16712:18): [True: 0, False: 292]
  |  Branch (16712:34): [True: 0, False: 292]
  |  Branch (16712:57): [True: 0, False: 0]
  ------------------
16713|      0|                p->error_indicator = 1;
16714|      0|                p->level--;
16715|      0|                return NULL;
16716|      0|            }
16717|    292|            goto done;
16718|    292|        }
16719|    386|        p->mark = _mark;
16720|    386|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16721|    386|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16722|    386|    }
16723|    386|    if (p->call_invalid_rules) { // invalid_fstring_replacement_field
  ------------------
  |  Branch (16723:9): [True: 0, False: 386]
  ------------------
16724|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (16724:13): [True: 0, False: 0]
  ------------------
16725|      0|            p->level--;
16726|      0|            return NULL;
16727|      0|        }
16728|      0|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16729|      0|        void *invalid_fstring_replacement_field_var;
16730|      0|        if (
16731|      0|            (invalid_fstring_replacement_field_var = invalid_fstring_replacement_field_rule(p))  // invalid_fstring_replacement_field
  ------------------
  |  Branch (16731:13): [True: 0, False: 0]
  ------------------
16732|      0|        )
16733|      0|        {
16734|      0|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16735|      0|            _res = invalid_fstring_replacement_field_var;
16736|      0|            goto done;
16737|      0|        }
16738|      0|        p->mark = _mark;
16739|      0|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16740|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_fstring_replacement_field"));
16741|      0|    }
16742|    386|    _res = NULL;
16743|    678|  done:
16744|    678|    p->level--;
16745|    678|    return _res;
16746|    386|}
parser.c:fstring_full_format_spec_rule:
16797|    292|{
16798|    292|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    584|#  define MAXSTACK 6000
  ------------------
  |  Branch (16798:9): [True: 0, False: 292]
  |  Branch (16798:35): [True: 0, False: 292]
  ------------------
16799|      0|        _Pypegen_stack_overflow(p);
16800|      0|    }
16801|    292|    if (p->error_indicator) {
  ------------------
  |  Branch (16801:9): [True: 0, False: 292]
  ------------------
16802|      0|        p->level--;
16803|      0|        return NULL;
16804|      0|    }
16805|    292|    ResultTokenWithMetadata* _res = NULL;
16806|    292|    int _mark = p->mark;
16807|    292|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16807:9): [True: 246, False: 46]
  |  Branch (16807:31): [True: 0, False: 246]
  ------------------
16808|      0|        p->error_indicator = 1;
16809|      0|        p->level--;
16810|      0|        return NULL;
16811|      0|    }
16812|    292|    int _start_lineno = p->tokens[_mark]->lineno;
16813|    292|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    292|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 292]
  |  |  ------------------
  ------------------
16814|    292|    int _start_col_offset = p->tokens[_mark]->col_offset;
16815|    292|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    292|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 292]
  |  |  ------------------
  ------------------
16816|    292|    { // ':' fstring_format_spec*
16817|    292|        if (p->error_indicator) {
  ------------------
  |  Branch (16817:13): [True: 0, False: 292]
  ------------------
16818|      0|            p->level--;
16819|      0|            return NULL;
16820|      0|        }
16821|    292|        D(fprintf(stderr, "%*c> fstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16822|    292|        Token * colon;
16823|    292|        asdl_seq * spec;
16824|    292|        if (
16825|    292|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16825:13): [True: 0, False: 292]
  ------------------
16826|      0|            &&
16827|      0|            (spec = _loop0_78_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (16827:13): [True: 0, False: 0]
  ------------------
16828|    292|        )
16829|      0|        {
16830|      0|            D(fprintf(stderr, "%*c+ fstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16831|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16832|      0|            if (_token == NULL) {
  ------------------
  |  Branch (16832:17): [True: 0, False: 0]
  ------------------
16833|      0|                p->level--;
16834|      0|                return NULL;
16835|      0|            }
16836|      0|            int _end_lineno = _token->end_lineno;
16837|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
16838|      0|            int _end_col_offset = _token->end_col_offset;
16839|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
16840|      0|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16841|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16841:18): [True: 0, False: 0]
  |  Branch (16841:34): [True: 0, False: 0]
  |  Branch (16841:57): [True: 0, False: 0]
  ------------------
16842|      0|                p->error_indicator = 1;
16843|      0|                p->level--;
16844|      0|                return NULL;
16845|      0|            }
16846|      0|            goto done;
16847|      0|        }
16848|    292|        p->mark = _mark;
16849|    292|        D(fprintf(stderr, "%*c%s fstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16850|    292|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' fstring_format_spec*"));
16851|    292|    }
16852|    292|    _res = NULL;
16853|    292|  done:
16854|    292|    p->level--;
16855|    292|    return _res;
16856|    292|}
parser.c:_tmp_156_rule:
38005|    988|{
38006|    988|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.97k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38006:9): [True: 0, False: 988]
  |  Branch (38006:35): [True: 0, False: 988]
  ------------------
38007|      0|        _Pypegen_stack_overflow(p);
38008|      0|    }
38009|    988|    if (p->error_indicator) {
  ------------------
  |  Branch (38009:9): [True: 0, False: 988]
  ------------------
38010|      0|        p->level--;
38011|      0|        return NULL;
38012|      0|    }
38013|    988|    void * _res = NULL;
38014|    988|    int _mark = p->mark;
38015|    988|    { // fstring
38016|    988|        if (p->error_indicator) {
  ------------------
  |  Branch (38016:13): [True: 0, False: 988]
  ------------------
38017|      0|            p->level--;
38018|      0|            return NULL;
38019|      0|        }
38020|    988|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
38021|    988|        expr_ty fstring_var;
38022|    988|        if (
38023|    988|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  Branch (38023:13): [True: 94, False: 894]
  ------------------
38024|    988|        )
38025|     94|        {
38026|     94|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
38027|     94|            _res = fstring_var;
38028|     94|            goto done;
38029|     94|        }
38030|    894|        p->mark = _mark;
38031|    894|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38032|    894|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
38033|    894|    }
38034|      0|    { // string
38035|    894|        if (p->error_indicator) {
  ------------------
  |  Branch (38035:13): [True: 0, False: 894]
  ------------------
38036|      0|            p->level--;
38037|      0|            return NULL;
38038|      0|        }
38039|    894|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
38040|    894|        expr_ty string_var;
38041|    894|        if (
38042|    894|            (string_var = string_rule(p))  // string
  ------------------
  |  Branch (38042:13): [True: 400, False: 494]
  ------------------
38043|    894|        )
38044|    400|        {
38045|    400|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
38046|    400|            _res = string_var;
38047|    400|            goto done;
38048|    400|        }
38049|    494|        p->mark = _mark;
38050|    494|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38051|    494|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
38052|    494|    }
38053|    494|    _res = NULL;
38054|    988|  done:
38055|    988|    p->level--;
38056|    988|    return _res;
38057|    494|}
parser.c:fstring_rule:
16923|    988|{
16924|    988|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.97k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16924:9): [True: 0, False: 988]
  |  Branch (16924:35): [True: 0, False: 988]
  ------------------
16925|      0|        _Pypegen_stack_overflow(p);
16926|      0|    }
16927|    988|    if (p->error_indicator) {
  ------------------
  |  Branch (16927:9): [True: 0, False: 988]
  ------------------
16928|      0|        p->level--;
16929|      0|        return NULL;
16930|      0|    }
16931|    988|    expr_ty _res = NULL;
16932|    988|    int _mark = p->mark;
16933|    988|    { // FSTRING_START fstring_middle* FSTRING_END
16934|    988|        if (p->error_indicator) {
  ------------------
  |  Branch (16934:13): [True: 0, False: 988]
  ------------------
16935|      0|            p->level--;
16936|      0|            return NULL;
16937|      0|        }
16938|    988|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16939|    988|        Token * a;
16940|    988|        asdl_seq * b;
16941|    988|        Token * c;
16942|    988|        if (
16943|    988|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|    988|#define FSTRING_START   59
  ------------------
  |  Branch (16943:13): [True: 94, False: 894]
  ------------------
16944|     94|            &&
16945|     94|            (b = _loop0_79_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16945:13): [True: 94, False: 0]
  ------------------
16946|     94|            &&
16947|     94|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|     94|#define FSTRING_END     61
  ------------------
  |  Branch (16947:13): [True: 94, False: 0]
  ------------------
16948|    988|        )
16949|     94|        {
16950|     94|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16951|     94|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16952|     94|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16952:18): [True: 0, False: 94]
  |  Branch (16952:34): [True: 0, False: 94]
  |  Branch (16952:57): [True: 0, False: 0]
  ------------------
16953|      0|                p->error_indicator = 1;
16954|      0|                p->level--;
16955|      0|                return NULL;
16956|      0|            }
16957|     94|            goto done;
16958|     94|        }
16959|    894|        p->mark = _mark;
16960|    894|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16961|    894|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16962|    894|    }
16963|    894|    _res = NULL;
16964|    988|  done:
16965|    988|    p->level--;
16966|    988|    return _res;
16967|    894|}
parser.c:_loop0_79_rule:
33374|     94|{
33375|     94|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    188|#  define MAXSTACK 6000
  ------------------
  |  Branch (33375:9): [True: 0, False: 94]
  |  Branch (33375:35): [True: 0, False: 94]
  ------------------
33376|      0|        _Pypegen_stack_overflow(p);
33377|      0|    }
33378|     94|    if (p->error_indicator) {
  ------------------
  |  Branch (33378:9): [True: 0, False: 94]
  ------------------
33379|      0|        p->level--;
33380|      0|        return NULL;
33381|      0|    }
33382|     94|    void *_res = NULL;
33383|     94|    int _mark = p->mark;
33384|     94|    void **_children = PyMem_Malloc(sizeof(void *));
33385|     94|    if (!_children) {
  ------------------
  |  Branch (33385:9): [True: 0, False: 94]
  ------------------
33386|      0|        p->error_indicator = 1;
33387|      0|        PyErr_NoMemory();
33388|      0|        p->level--;
33389|      0|        return NULL;
33390|      0|    }
33391|     94|    Py_ssize_t _children_capacity = 1;
33392|     94|    Py_ssize_t _n = 0;
33393|     94|    { // fstring_middle
33394|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (33394:13): [True: 0, False: 94]
  ------------------
33395|      0|            p->level--;
33396|      0|            return NULL;
33397|      0|        }
33398|     94|        D(fprintf(stderr, "%*c> _loop0_79[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_middle"));
33399|     94|        expr_ty fstring_middle_var;
33400|     94|        while (
33401|    678|            (fstring_middle_var = fstring_middle_rule(p))  // fstring_middle
  ------------------
  |  Branch (33401:13): [True: 584, False: 94]
  ------------------
33402|     94|        )
33403|    584|        {
33404|    584|            _res = fstring_middle_var;
33405|    584|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33405:17): [True: 210, False: 374]
  ------------------
33406|    210|                _children_capacity *= 2;
33407|    210|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33408|    210|                if (!_new_children) {
  ------------------
  |  Branch (33408:21): [True: 0, False: 210]
  ------------------
33409|      0|                    PyMem_Free(_children);
33410|      0|                    p->error_indicator = 1;
33411|      0|                    PyErr_NoMemory();
33412|      0|                    p->level--;
33413|      0|                    return NULL;
33414|      0|                }
33415|    210|                _children = _new_children;
33416|    210|            }
33417|    584|            _children[_n++] = _res;
33418|    584|            _mark = p->mark;
33419|    584|        }
33420|     94|        p->mark = _mark;
33421|     94|        D(fprintf(stderr, "%*c%s _loop0_79[%d-%d]: %s failed!\n", p->level, ' ',
33422|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_middle"));
33423|     94|    }
33424|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33425|     94|    if (!_seq) {
  ------------------
  |  Branch (33425:9): [True: 0, False: 94]
  ------------------
33426|      0|        PyMem_Free(_children);
33427|      0|        p->error_indicator = 1;
33428|      0|        PyErr_NoMemory();
33429|      0|        p->level--;
33430|      0|        return NULL;
33431|      0|    }
33432|    678|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    584|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    678|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33432:28): [True: 584, False: 94]
  ------------------
33433|     94|    PyMem_Free(_children);
33434|     94|    p->level--;
33435|     94|    return _seq;
33436|     94|}
parser.c:fstring_middle_rule:
16592|    678|{
16593|    678|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16593:9): [True: 0, False: 678]
  |  Branch (16593:35): [True: 0, False: 678]
  ------------------
16594|      0|        _Pypegen_stack_overflow(p);
16595|      0|    }
16596|    678|    if (p->error_indicator) {
  ------------------
  |  Branch (16596:9): [True: 0, False: 678]
  ------------------
16597|      0|        p->level--;
16598|      0|        return NULL;
16599|      0|    }
16600|    678|    expr_ty _res = NULL;
16601|    678|    int _mark = p->mark;
16602|    678|    { // fstring_replacement_field
16603|    678|        if (p->error_indicator) {
  ------------------
  |  Branch (16603:13): [True: 0, False: 678]
  ------------------
16604|      0|            p->level--;
16605|      0|            return NULL;
16606|      0|        }
16607|    678|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16608|    678|        expr_ty fstring_replacement_field_var;
16609|    678|        if (
16610|    678|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16610:13): [True: 292, False: 386]
  ------------------
16611|    678|        )
16612|    292|        {
16613|    292|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16614|    292|            _res = fstring_replacement_field_var;
16615|    292|            goto done;
16616|    292|        }
16617|    386|        p->mark = _mark;
16618|    386|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16619|    386|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16620|    386|    }
16621|      0|    { // FSTRING_MIDDLE
16622|    386|        if (p->error_indicator) {
  ------------------
  |  Branch (16622:13): [True: 0, False: 386]
  ------------------
16623|      0|            p->level--;
16624|      0|            return NULL;
16625|      0|        }
16626|    386|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16627|    386|        Token * t;
16628|    386|        if (
16629|    386|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|    386|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16629:13): [True: 292, False: 94]
  ------------------
16630|    386|        )
16631|    292|        {
16632|    292|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16633|    292|            _res = _PyPegen_constant_from_token ( p , t );
16634|    292|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16634:18): [True: 0, False: 292]
  |  Branch (16634:34): [True: 0, False: 292]
  |  Branch (16634:57): [True: 0, False: 0]
  ------------------
16635|      0|                p->error_indicator = 1;
16636|      0|                p->level--;
16637|      0|                return NULL;
16638|      0|            }
16639|    292|            goto done;
16640|    292|        }
16641|     94|        p->mark = _mark;
16642|     94|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16643|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16644|     94|    }
16645|     94|    _res = NULL;
16646|    678|  done:
16647|    678|    p->level--;
16648|    678|    return _res;
16649|     94|}
parser.c:string_rule:
17408|    894|{
17409|    894|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.78k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17409:9): [True: 0, False: 894]
  |  Branch (17409:35): [True: 0, False: 894]
  ------------------
17410|      0|        _Pypegen_stack_overflow(p);
17411|      0|    }
17412|    894|    if (p->error_indicator) {
  ------------------
  |  Branch (17412:9): [True: 0, False: 894]
  ------------------
17413|      0|        p->level--;
17414|      0|        return NULL;
17415|      0|    }
17416|    894|    expr_ty _res = NULL;
17417|    894|    int _mark = p->mark;
17418|    894|    { // STRING
17419|    894|        if (p->error_indicator) {
  ------------------
  |  Branch (17419:13): [True: 0, False: 894]
  ------------------
17420|      0|            p->level--;
17421|      0|            return NULL;
17422|      0|        }
17423|    894|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17424|    894|        Token* s;
17425|    894|        if (
17426|    894|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17426:13): [True: 400, False: 494]
  ------------------
17427|    894|        )
17428|    400|        {
17429|    400|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17430|    400|            _res = _PyPegen_constant_from_string ( p , s );
17431|    400|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17431:18): [True: 0, False: 400]
  |  Branch (17431:34): [True: 0, False: 400]
  |  Branch (17431:57): [True: 0, False: 0]
  ------------------
17432|      0|                p->error_indicator = 1;
17433|      0|                p->level--;
17434|      0|                return NULL;
17435|      0|            }
17436|    400|            goto done;
17437|    400|        }
17438|    494|        p->mark = _mark;
17439|    494|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17440|    494|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17441|    494|    }
17442|    494|    _res = NULL;
17443|    894|  done:
17444|    894|    p->level--;
17445|    894|    return _res;
17446|    494|}
parser.c:_loop1_82_rule:
33575|    494|{
33576|    494|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    988|#  define MAXSTACK 6000
  ------------------
  |  Branch (33576:9): [True: 0, False: 494]
  |  Branch (33576:35): [True: 0, False: 494]
  ------------------
33577|      0|        _Pypegen_stack_overflow(p);
33578|      0|    }
33579|    494|    if (p->error_indicator) {
  ------------------
  |  Branch (33579:9): [True: 0, False: 494]
  ------------------
33580|      0|        p->level--;
33581|      0|        return NULL;
33582|      0|    }
33583|    494|    void *_res = NULL;
33584|    494|    int _mark = p->mark;
33585|    494|    void **_children = PyMem_Malloc(sizeof(void *));
33586|    494|    if (!_children) {
  ------------------
  |  Branch (33586:9): [True: 0, False: 494]
  ------------------
33587|      0|        p->error_indicator = 1;
33588|      0|        PyErr_NoMemory();
33589|      0|        p->level--;
33590|      0|        return NULL;
33591|      0|    }
33592|    494|    Py_ssize_t _children_capacity = 1;
33593|    494|    Py_ssize_t _n = 0;
33594|    494|    { // (fstring | string)
33595|    494|        if (p->error_indicator) {
  ------------------
  |  Branch (33595:13): [True: 0, False: 494]
  ------------------
33596|      0|            p->level--;
33597|      0|            return NULL;
33598|      0|        }
33599|    494|        D(fprintf(stderr, "%*c> _loop1_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
33600|    494|        void *_tmp_156_var;
33601|    494|        while (
33602|    988|            (_tmp_156_var = _tmp_156_rule(p))  // fstring | string
  ------------------
  |  Branch (33602:13): [True: 494, False: 494]
  ------------------
33603|    494|        )
33604|    494|        {
33605|    494|            _res = _tmp_156_var;
33606|    494|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33606:17): [True: 0, False: 494]
  ------------------
33607|      0|                _children_capacity *= 2;
33608|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33609|      0|                if (!_new_children) {
  ------------------
  |  Branch (33609:21): [True: 0, False: 0]
  ------------------
33610|      0|                    PyMem_Free(_children);
33611|      0|                    p->error_indicator = 1;
33612|      0|                    PyErr_NoMemory();
33613|      0|                    p->level--;
33614|      0|                    return NULL;
33615|      0|                }
33616|      0|                _children = _new_children;
33617|      0|            }
33618|    494|            _children[_n++] = _res;
33619|    494|            _mark = p->mark;
33620|    494|        }
33621|    494|        p->mark = _mark;
33622|    494|        D(fprintf(stderr, "%*c%s _loop1_82[%d-%d]: %s failed!\n", p->level, ' ',
33623|    494|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
33624|    494|    }
33625|    494|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33625:9): [True: 0, False: 494]
  |  Branch (33625:20): [True: 0, False: 494]
  ------------------
33626|      0|        PyMem_Free(_children);
33627|      0|        p->level--;
33628|      0|        return NULL;
33629|      0|    }
33630|    494|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33631|    494|    if (!_seq) {
  ------------------
  |  Branch (33631:9): [True: 0, False: 494]
  ------------------
33632|      0|        PyMem_Free(_children);
33633|      0|        p->error_indicator = 1;
33634|      0|        PyErr_NoMemory();
33635|      0|        p->level--;
33636|      0|        return NULL;
33637|      0|    }
33638|    988|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    494|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    988|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33638:28): [True: 494, False: 494]
  ------------------
33639|    494|    PyMem_Free(_children);
33640|    494|    p->level--;
33641|    494|    return _seq;
33642|    494|}
parser.c:_tmp_68_rule:
32605|    308|{
32606|    308|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    616|#  define MAXSTACK 6000
  ------------------
  |  Branch (32606:9): [True: 0, False: 308]
  |  Branch (32606:35): [True: 0, False: 308]
  ------------------
32607|      0|        _Pypegen_stack_overflow(p);
32608|      0|    }
32609|    308|    if (p->error_indicator) {
  ------------------
  |  Branch (32609:9): [True: 0, False: 308]
  ------------------
32610|      0|        p->level--;
32611|      0|        return NULL;
32612|      0|    }
32613|    308|    void * _res = NULL;
32614|    308|    int _mark = p->mark;
32615|    308|    { // genexp
32616|    308|        if (p->error_indicator) {
  ------------------
  |  Branch (32616:13): [True: 0, False: 308]
  ------------------
32617|      0|            p->level--;
32618|      0|            return NULL;
32619|      0|        }
32620|    308|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
32621|    308|        expr_ty genexp_var;
32622|    308|        if (
32623|    308|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (32623:13): [True: 0, False: 308]
  ------------------
32624|    308|        )
32625|      0|        {
32626|      0|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
32627|      0|            _res = genexp_var;
32628|      0|            goto done;
32629|      0|        }
32630|    308|        p->mark = _mark;
32631|    308|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32632|    308|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
32633|    308|    }
32634|      0|    { // tuple
32635|    308|        if (p->error_indicator) {
  ------------------
  |  Branch (32635:13): [True: 0, False: 308]
  ------------------
32636|      0|            p->level--;
32637|      0|            return NULL;
32638|      0|        }
32639|    308|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
32640|    308|        expr_ty tuple_var;
32641|    308|        if (
32642|    308|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (32642:13): [True: 268, False: 40]
  ------------------
32643|    308|        )
32644|    268|        {
32645|    268|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
32646|    268|            _res = tuple_var;
32647|    268|            goto done;
32648|    268|        }
32649|     40|        p->mark = _mark;
32650|     40|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32651|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
32652|     40|    }
32653|      0|    { // group
32654|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (32654:13): [True: 0, False: 40]
  ------------------
32655|      0|            p->level--;
32656|      0|            return NULL;
32657|      0|        }
32658|     40|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
32659|     40|        expr_ty group_var;
32660|     40|        if (
32661|     40|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (32661:13): [True: 40, False: 0]
  ------------------
32662|     40|        )
32663|     40|        {
32664|     40|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
32665|     40|            _res = group_var;
32666|     40|            goto done;
32667|     40|        }
32668|      0|        p->mark = _mark;
32669|      0|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32670|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
32671|      0|    }
32672|      0|    _res = NULL;
32673|    308|  done:
32674|    308|    p->level--;
32675|    308|    return _res;
32676|      0|}
parser.c:tuple_rule:
17636|   108k|{
17637|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17637:9): [True: 0, False: 108k]
  |  Branch (17637:35): [True: 0, False: 108k]
  ------------------
17638|      0|        _Pypegen_stack_overflow(p);
17639|      0|    }
17640|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (17640:9): [True: 0, False: 108k]
  ------------------
17641|      0|        p->level--;
17642|      0|        return NULL;
17643|      0|    }
17644|   108k|    expr_ty _res = NULL;
17645|   108k|    int _mark = p->mark;
17646|   108k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17646:9): [True: 0, False: 108k]
  |  Branch (17646:31): [True: 0, False: 0]
  ------------------
17647|      0|        p->error_indicator = 1;
17648|      0|        p->level--;
17649|      0|        return NULL;
17650|      0|    }
17651|   108k|    int _start_lineno = p->tokens[_mark]->lineno;
17652|   108k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
17653|   108k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17654|   108k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
17655|   108k|    { // '(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'
17656|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (17656:13): [True: 0, False: 108k]
  ------------------
17657|      0|            p->level--;
17658|      0|            return NULL;
17659|      0|        }
17660|   108k|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17661|   108k|        Token * _literal;
17662|   108k|        Token * _literal_1;
17663|   108k|        void *a;
17664|   108k|        if (
17665|   108k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17665:13): [True: 308, False: 108k]
  ------------------
17666|    308|            &&
17667|    308|            (a = _tmp_84_rule(p), !p->error_indicator)  // [star_named_expression_sequence ',' star_named_expressions_sequence?]
  ------------------
  |  Branch (17667:13): [True: 308, False: 0]
  ------------------
17668|    308|            &&
17669|    308|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17669:13): [True: 268, False: 40]
  ------------------
17670|   108k|        )
17671|    268|        {
17672|    268|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17673|    268|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17674|    268|            if (_token == NULL) {
  ------------------
  |  Branch (17674:17): [True: 0, False: 268]
  ------------------
17675|      0|                p->level--;
17676|      0|                return NULL;
17677|      0|            }
17678|    268|            int _end_lineno = _token->end_lineno;
17679|    268|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    268|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 268]
  |  |  ------------------
  ------------------
17680|    268|            int _end_col_offset = _token->end_col_offset;
17681|    268|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    268|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 268]
  |  |  ------------------
  ------------------
17682|    268|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  269|    268|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17683|    268|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17683:18): [True: 0, False: 268]
  |  Branch (17683:34): [True: 0, False: 268]
  |  Branch (17683:57): [True: 0, False: 0]
  ------------------
17684|      0|                p->error_indicator = 1;
17685|      0|                p->level--;
17686|      0|                return NULL;
17687|      0|            }
17688|    268|            goto done;
17689|    268|        }
17690|   108k|        p->mark = _mark;
17691|   108k|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17692|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17693|   108k|    }
17694|   108k|    _res = NULL;
17695|   108k|  done:
17696|   108k|    p->level--;
17697|   108k|    return _res;
17698|   108k|}
parser.c:_tmp_84_rule:
33719|    308|{
33720|    308|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    616|#  define MAXSTACK 6000
  ------------------
  |  Branch (33720:9): [True: 0, False: 308]
  |  Branch (33720:35): [True: 0, False: 308]
  ------------------
33721|      0|        _Pypegen_stack_overflow(p);
33722|      0|    }
33723|    308|    if (p->error_indicator) {
  ------------------
  |  Branch (33723:9): [True: 0, False: 308]
  ------------------
33724|      0|        p->level--;
33725|      0|        return NULL;
33726|      0|    }
33727|    308|    void * _res = NULL;
33728|    308|    int _mark = p->mark;
33729|    308|    { // star_named_expression_sequence ',' star_named_expressions_sequence?
33730|    308|        if (p->error_indicator) {
  ------------------
  |  Branch (33730:13): [True: 0, False: 308]
  ------------------
33731|      0|            p->level--;
33732|      0|            return NULL;
33733|      0|        }
33734|    308|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33735|    308|        Token * _literal;
33736|    308|        expr_ty y;
33737|    308|        void *z;
33738|    308|        if (
33739|    308|            (y = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (33739:13): [True: 308, False: 0]
  ------------------
33740|    308|            &&
33741|    308|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33741:13): [True: 268, False: 40]
  ------------------
33742|    268|            &&
33743|    268|            (z = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (33743:13): [True: 268, False: 0]
  ------------------
33744|    308|        )
33745|    268|        {
33746|    268|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33747|    268|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
33748|    268|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33748:18): [True: 0, False: 268]
  |  Branch (33748:34): [True: 0, False: 268]
  |  Branch (33748:57): [True: 0, False: 0]
  ------------------
33749|      0|                p->error_indicator = 1;
33750|      0|                p->level--;
33751|      0|                return NULL;
33752|      0|            }
33753|    268|            goto done;
33754|    268|        }
33755|     40|        p->mark = _mark;
33756|     40|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
33757|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33758|     40|    }
33759|     40|    _res = NULL;
33760|    308|  done:
33761|    308|    p->level--;
33762|    308|    return _res;
33763|     40|}
parser.c:star_named_expression_sequence_rule:
12267|  1.88k|{
12268|  1.88k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.76k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12268:9): [True: 0, False: 1.88k]
  |  Branch (12268:35): [True: 0, False: 1.88k]
  ------------------
12269|      0|        _Pypegen_stack_overflow(p);
12270|      0|    }
12271|  1.88k|    if (p->error_indicator) {
  ------------------
  |  Branch (12271:9): [True: 0, False: 1.88k]
  ------------------
12272|      0|        p->level--;
12273|      0|        return NULL;
12274|      0|    }
12275|  1.88k|    expr_ty _res = NULL;
12276|  1.88k|    int _mark = p->mark;
12277|  1.88k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12277:9): [True: 0, False: 1.88k]
  ------------------
12278|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (12278:13): [True: 0, False: 0]
  ------------------
12279|      0|            p->level--;
12280|      0|            return NULL;
12281|      0|        }
12282|      0|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12283|      0|        void *invalid_starred_expression_unpacking_sequence_var;
12284|      0|        if (
12285|      0|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12285:13): [True: 0, False: 0]
  ------------------
12286|      0|        )
12287|      0|        {
12288|      0|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12289|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
12290|      0|            goto done;
12291|      0|        }
12292|      0|        p->mark = _mark;
12293|      0|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12294|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12295|      0|    }
12296|  1.88k|    { // star_named_expression
12297|  1.88k|        if (p->error_indicator) {
  ------------------
  |  Branch (12297:13): [True: 0, False: 1.88k]
  ------------------
12298|      0|            p->level--;
12299|      0|            return NULL;
12300|      0|        }
12301|  1.88k|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12302|  1.88k|        expr_ty star_named_expression_var;
12303|  1.88k|        if (
12304|  1.88k|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (12304:13): [True: 1.74k, False: 140]
  ------------------
12305|  1.88k|        )
12306|  1.74k|        {
12307|  1.74k|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12308|  1.74k|            _res = star_named_expression_var;
12309|  1.74k|            goto done;
12310|  1.74k|        }
12311|    140|        p->mark = _mark;
12312|    140|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12313|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
12314|    140|    }
12315|    140|    _res = NULL;
12316|  1.88k|  done:
12317|  1.88k|    p->level--;
12318|  1.88k|    return _res;
12319|    140|}
parser.c:star_named_expressions_sequence_rule:
12135|    364|{
12136|    364|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    728|#  define MAXSTACK 6000
  ------------------
  |  Branch (12136:9): [True: 0, False: 364]
  |  Branch (12136:35): [True: 0, False: 364]
  ------------------
12137|      0|        _Pypegen_stack_overflow(p);
12138|      0|    }
12139|    364|    if (p->error_indicator) {
  ------------------
  |  Branch (12139:9): [True: 0, False: 364]
  ------------------
12140|      0|        p->level--;
12141|      0|        return NULL;
12142|      0|    }
12143|    364|    asdl_expr_seq* _res = NULL;
12144|    364|    int _mark = p->mark;
12145|    364|    { // ','.star_named_expression_sequence+ ','?
12146|    364|        if (p->error_indicator) {
  ------------------
  |  Branch (12146:13): [True: 0, False: 364]
  ------------------
12147|      0|            p->level--;
12148|      0|            return NULL;
12149|      0|        }
12150|    364|        D(fprintf(stderr, "%*c> star_named_expressions_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12151|    364|        void *_opt_var;
12152|    364|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    364|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 364]
  |  |  ------------------
  ------------------
12153|    364|        asdl_expr_seq* a;
12154|    364|        if (
12155|    364|            (a = (asdl_expr_seq*)_gather_60_rule(p))  // ','.star_named_expression_sequence+
  ------------------
  |  Branch (12155:13): [True: 352, False: 12]
  ------------------
12156|    352|            &&
12157|    352|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12157:13): [True: 352, False: 0]
  ------------------
12158|    364|        )
12159|    352|        {
12160|    352|            D(fprintf(stderr, "%*c+ star_named_expressions_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12161|    352|            _res = a;
12162|    352|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12162:18): [True: 0, False: 352]
  |  Branch (12162:34): [True: 0, False: 352]
  |  Branch (12162:57): [True: 0, False: 0]
  ------------------
12163|      0|                p->error_indicator = 1;
12164|      0|                p->level--;
12165|      0|                return NULL;
12166|      0|            }
12167|    352|            goto done;
12168|    352|        }
12169|     12|        p->mark = _mark;
12170|     12|        D(fprintf(stderr, "%*c%s star_named_expressions_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12171|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12172|     12|    }
12173|     12|    _res = NULL;
12174|    364|  done:
12175|    364|    p->level--;
12176|    364|    return _res;
12177|     12|}
parser.c:_gather_60_rule:
32142|    364|{
32143|    364|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    728|#  define MAXSTACK 6000
  ------------------
  |  Branch (32143:9): [True: 0, False: 364]
  |  Branch (32143:35): [True: 0, False: 364]
  ------------------
32144|      0|        _Pypegen_stack_overflow(p);
32145|      0|    }
32146|    364|    if (p->error_indicator) {
  ------------------
  |  Branch (32146:9): [True: 0, False: 364]
  ------------------
32147|      0|        p->level--;
32148|      0|        return NULL;
32149|      0|    }
32150|    364|    asdl_seq * _res = NULL;
32151|    364|    int _mark = p->mark;
32152|    364|    { // star_named_expression_sequence _loop0_59
32153|    364|        if (p->error_indicator) {
  ------------------
  |  Branch (32153:13): [True: 0, False: 364]
  ------------------
32154|      0|            p->level--;
32155|      0|            return NULL;
32156|      0|        }
32157|    364|        D(fprintf(stderr, "%*c> _gather_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32158|    364|        expr_ty elem;
32159|    364|        asdl_seq * seq;
32160|    364|        if (
32161|    364|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32161:13): [True: 352, False: 12]
  ------------------
32162|    352|            &&
32163|    352|            (seq = _loop0_59_rule(p))  // _loop0_59
  ------------------
  |  Branch (32163:13): [True: 352, False: 0]
  ------------------
32164|    364|        )
32165|    352|        {
32166|    352|            D(fprintf(stderr, "%*c+ _gather_60[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32167|    352|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32168|    352|            goto done;
32169|    352|        }
32170|     12|        p->mark = _mark;
32171|     12|        D(fprintf(stderr, "%*c%s _gather_60[%d-%d]: %s failed!\n", p->level, ' ',
32172|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32173|     12|    }
32174|     12|    _res = NULL;
32175|    364|  done:
32176|    364|    p->level--;
32177|    364|    return _res;
32178|     12|}
parser.c:_loop0_59_rule:
32066|    352|{
32067|    352|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    704|#  define MAXSTACK 6000
  ------------------
  |  Branch (32067:9): [True: 0, False: 352]
  |  Branch (32067:35): [True: 0, False: 352]
  ------------------
32068|      0|        _Pypegen_stack_overflow(p);
32069|      0|    }
32070|    352|    if (p->error_indicator) {
  ------------------
  |  Branch (32070:9): [True: 0, False: 352]
  ------------------
32071|      0|        p->level--;
32072|      0|        return NULL;
32073|      0|    }
32074|    352|    void *_res = NULL;
32075|    352|    int _mark = p->mark;
32076|    352|    void **_children = PyMem_Malloc(sizeof(void *));
32077|    352|    if (!_children) {
  ------------------
  |  Branch (32077:9): [True: 0, False: 352]
  ------------------
32078|      0|        p->error_indicator = 1;
32079|      0|        PyErr_NoMemory();
32080|      0|        p->level--;
32081|      0|        return NULL;
32082|      0|    }
32083|    352|    Py_ssize_t _children_capacity = 1;
32084|    352|    Py_ssize_t _n = 0;
32085|    352|    { // ',' star_named_expression_sequence
32086|    352|        if (p->error_indicator) {
  ------------------
  |  Branch (32086:13): [True: 0, False: 352]
  ------------------
32087|      0|            p->level--;
32088|      0|            return NULL;
32089|      0|        }
32090|    352|        D(fprintf(stderr, "%*c> _loop0_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression_sequence"));
32091|    352|        Token * _literal;
32092|    352|        expr_ty elem;
32093|    352|        while (
32094|  1.43k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32094:13): [True: 1.21k, False: 224]
  ------------------
32095|  1.21k|            &&
32096|  1.21k|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32096:13): [True: 1.08k, False: 128]
  ------------------
32097|    352|        )
32098|  1.08k|        {
32099|  1.08k|            _res = elem;
32100|  1.08k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32100:18): [True: 0, False: 1.08k]
  |  Branch (32100:34): [True: 0, False: 1.08k]
  |  Branch (32100:57): [True: 0, False: 0]
  ------------------
32101|      0|                p->error_indicator = 1;
32102|      0|                PyMem_Free(_children);
32103|      0|                p->level--;
32104|      0|                return NULL;
32105|      0|            }
32106|  1.08k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32106:17): [True: 444, False: 640]
  ------------------
32107|    444|                _children_capacity *= 2;
32108|    444|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32109|    444|                if (!_new_children) {
  ------------------
  |  Branch (32109:21): [True: 0, False: 444]
  ------------------
32110|      0|                    PyMem_Free(_children);
32111|      0|                    p->error_indicator = 1;
32112|      0|                    PyErr_NoMemory();
32113|      0|                    p->level--;
32114|      0|                    return NULL;
32115|      0|                }
32116|    444|                _children = _new_children;
32117|    444|            }
32118|  1.08k|            _children[_n++] = _res;
32119|  1.08k|            _mark = p->mark;
32120|  1.08k|        }
32121|    352|        p->mark = _mark;
32122|    352|        D(fprintf(stderr, "%*c%s _loop0_59[%d-%d]: %s failed!\n", p->level, ' ',
32123|    352|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression_sequence"));
32124|    352|    }
32125|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32126|    352|    if (!_seq) {
  ------------------
  |  Branch (32126:9): [True: 0, False: 352]
  ------------------
32127|      0|        PyMem_Free(_children);
32128|      0|        p->error_indicator = 1;
32129|      0|        PyErr_NoMemory();
32130|      0|        p->level--;
32131|      0|        return NULL;
32132|      0|    }
32133|  1.43k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.08k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32133:28): [True: 1.08k, False: 352]
  ------------------
32134|    352|    PyMem_Free(_children);
32135|    352|    p->level--;
32136|    352|    return _seq;
32137|    352|}
parser.c:group_rule:
15577|     40|{
15578|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (15578:9): [True: 0, False: 40]
  |  Branch (15578:35): [True: 0, False: 40]
  ------------------
15579|      0|        _Pypegen_stack_overflow(p);
15580|      0|    }
15581|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (15581:9): [True: 0, False: 40]
  ------------------
15582|      0|        p->level--;
15583|      0|        return NULL;
15584|      0|    }
15585|     40|    expr_ty _res = NULL;
15586|     40|    int _mark = p->mark;
15587|     40|    { // '(' (yield_expr | named_expression) ')'
15588|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (15588:13): [True: 0, False: 40]
  ------------------
15589|      0|            p->level--;
15590|      0|            return NULL;
15591|      0|        }
15592|     40|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15593|     40|        Token * _literal;
15594|     40|        Token * _literal_1;
15595|     40|        void *a;
15596|     40|        if (
15597|     40|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15597:13): [True: 40, False: 0]
  ------------------
15598|     40|            &&
15599|     40|            (a = _tmp_71_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15599:13): [True: 40, False: 0]
  ------------------
15600|     40|            &&
15601|     40|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15601:13): [True: 40, False: 0]
  ------------------
15602|     40|        )
15603|     40|        {
15604|     40|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15605|     40|            _res = a;
15606|     40|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15606:18): [True: 0, False: 40]
  |  Branch (15606:34): [True: 0, False: 40]
  |  Branch (15606:57): [True: 0, False: 0]
  ------------------
15607|      0|                p->error_indicator = 1;
15608|      0|                p->level--;
15609|      0|                return NULL;
15610|      0|            }
15611|     40|            goto done;
15612|     40|        }
15613|      0|        p->mark = _mark;
15614|      0|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15615|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15616|      0|    }
15617|      0|    if (p->call_invalid_rules) { // invalid_group
  ------------------
  |  Branch (15617:9): [True: 0, False: 0]
  ------------------
15618|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15618:13): [True: 0, False: 0]
  ------------------
15619|      0|            p->level--;
15620|      0|            return NULL;
15621|      0|        }
15622|      0|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15623|      0|        void *invalid_group_var;
15624|      0|        if (
15625|      0|            (invalid_group_var = invalid_group_rule(p))  // invalid_group
  ------------------
  |  Branch (15625:13): [True: 0, False: 0]
  ------------------
15626|      0|        )
15627|      0|        {
15628|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15629|      0|            _res = invalid_group_var;
15630|      0|            goto done;
15631|      0|        }
15632|      0|        p->mark = _mark;
15633|      0|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15634|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_group"));
15635|      0|    }
15636|      0|    _res = NULL;
15637|     40|  done:
15638|     40|    p->level--;
15639|     40|    return _res;
15640|      0|}
parser.c:_tmp_71_rule:
32833|     40|{
32834|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (32834:9): [True: 0, False: 40]
  |  Branch (32834:35): [True: 0, False: 40]
  ------------------
32835|      0|        _Pypegen_stack_overflow(p);
32836|      0|    }
32837|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (32837:9): [True: 0, False: 40]
  ------------------
32838|      0|        p->level--;
32839|      0|        return NULL;
32840|      0|    }
32841|     40|    void * _res = NULL;
32842|     40|    int _mark = p->mark;
32843|     40|    { // yield_expr
32844|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (32844:13): [True: 0, False: 40]
  ------------------
32845|      0|            p->level--;
32846|      0|            return NULL;
32847|      0|        }
32848|     40|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
32849|     40|        expr_ty yield_expr_var;
32850|     40|        if (
32851|     40|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (32851:13): [True: 0, False: 40]
  ------------------
32852|     40|        )
32853|      0|        {
32854|      0|            D(fprintf(stderr, "%*c+ _tmp_71[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
32855|      0|            _res = yield_expr_var;
32856|      0|            goto done;
32857|      0|        }
32858|     40|        p->mark = _mark;
32859|     40|        D(fprintf(stderr, "%*c%s _tmp_71[%d-%d]: %s failed!\n", p->level, ' ',
32860|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
32861|     40|    }
32862|      0|    { // named_expression
32863|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (32863:13): [True: 0, False: 40]
  ------------------
32864|      0|            p->level--;
32865|      0|            return NULL;
32866|      0|        }
32867|     40|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
32868|     40|        expr_ty named_expression_var;
32869|     40|        if (
32870|     40|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (32870:13): [True: 40, False: 0]
  ------------------
32871|     40|        )
32872|     40|        {
32873|     40|            D(fprintf(stderr, "%*c+ _tmp_71[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
32874|     40|            _res = named_expression_var;
32875|     40|            goto done;
32876|     40|        }
32877|      0|        p->mark = _mark;
32878|      0|        D(fprintf(stderr, "%*c%s _tmp_71[%d-%d]: %s failed!\n", p->level, ' ',
32879|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
32880|      0|    }
32881|      0|    _res = NULL;
32882|     40|  done:
32883|     40|    p->level--;
32884|     40|    return _res;
32885|      0|}
parser.c:list_rule:
17569|   108k|{
17570|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17570:9): [True: 0, False: 108k]
  |  Branch (17570:35): [True: 0, False: 108k]
  ------------------
17571|      0|        _Pypegen_stack_overflow(p);
17572|      0|    }
17573|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (17573:9): [True: 0, False: 108k]
  ------------------
17574|      0|        p->level--;
17575|      0|        return NULL;
17576|      0|    }
17577|   108k|    expr_ty _res = NULL;
17578|   108k|    int _mark = p->mark;
17579|   108k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17579:9): [True: 0, False: 108k]
  |  Branch (17579:31): [True: 0, False: 0]
  ------------------
17580|      0|        p->error_indicator = 1;
17581|      0|        p->level--;
17582|      0|        return NULL;
17583|      0|    }
17584|   108k|    int _start_lineno = p->tokens[_mark]->lineno;
17585|   108k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
17586|   108k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17587|   108k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
17588|   108k|    { // '[' star_named_expressions_sequence? ']'
17589|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (17589:13): [True: 0, False: 108k]
  ------------------
17590|      0|            p->level--;
17591|      0|            return NULL;
17592|      0|        }
17593|   108k|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17594|   108k|        Token * _literal;
17595|   108k|        Token * _literal_1;
17596|   108k|        void *a;
17597|   108k|        if (
17598|   108k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17598:13): [True: 0, False: 108k]
  ------------------
17599|      0|            &&
17600|      0|            (a = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (17600:13): [True: 0, False: 0]
  ------------------
17601|      0|            &&
17602|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17602:13): [True: 0, False: 0]
  ------------------
17603|   108k|        )
17604|      0|        {
17605|      0|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17606|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17607|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17607:17): [True: 0, False: 0]
  ------------------
17608|      0|                p->level--;
17609|      0|                return NULL;
17610|      0|            }
17611|      0|            int _end_lineno = _token->end_lineno;
17612|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17613|      0|            int _end_col_offset = _token->end_col_offset;
17614|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17615|      0|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17616|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17616:18): [True: 0, False: 0]
  |  Branch (17616:34): [True: 0, False: 0]
  |  Branch (17616:57): [True: 0, False: 0]
  ------------------
17617|      0|                p->error_indicator = 1;
17618|      0|                p->level--;
17619|      0|                return NULL;
17620|      0|            }
17621|      0|            goto done;
17622|      0|        }
17623|   108k|        p->mark = _mark;
17624|   108k|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17625|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17626|   108k|    }
17627|   108k|    _res = NULL;
17628|   108k|  done:
17629|   108k|    p->level--;
17630|   108k|    return _res;
17631|   108k|}
parser.c:_tmp_70_rule:
32738|     96|{
32739|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (32739:9): [True: 0, False: 96]
  |  Branch (32739:35): [True: 0, False: 96]
  ------------------
32740|      0|        _Pypegen_stack_overflow(p);
32741|      0|    }
32742|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (32742:9): [True: 0, False: 96]
  ------------------
32743|      0|        p->level--;
32744|      0|        return NULL;
32745|      0|    }
32746|     96|    void * _res = NULL;
32747|     96|    int _mark = p->mark;
32748|     96|    { // dictcomp
32749|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (32749:13): [True: 0, False: 96]
  ------------------
32750|      0|            p->level--;
32751|      0|            return NULL;
32752|      0|        }
32753|     96|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32754|     96|        expr_ty dictcomp_var;
32755|     96|        if (
32756|     96|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (32756:13): [True: 0, False: 96]
  ------------------
32757|     96|        )
32758|      0|        {
32759|      0|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32760|      0|            _res = dictcomp_var;
32761|      0|            goto done;
32762|      0|        }
32763|     96|        p->mark = _mark;
32764|     96|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32765|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
32766|     96|    }
32767|      0|    { // setcomp
32768|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (32768:13): [True: 0, False: 96]
  ------------------
32769|      0|            p->level--;
32770|      0|            return NULL;
32771|      0|        }
32772|     96|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
32773|     96|        expr_ty setcomp_var;
32774|     96|        if (
32775|     96|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (32775:13): [True: 0, False: 96]
  ------------------
32776|     96|        )
32777|      0|        {
32778|      0|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
32779|      0|            _res = setcomp_var;
32780|      0|            goto done;
32781|      0|        }
32782|     96|        p->mark = _mark;
32783|     96|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32784|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
32785|     96|    }
32786|      0|    { // dict
32787|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (32787:13): [True: 0, False: 96]
  ------------------
32788|      0|            p->level--;
32789|      0|            return NULL;
32790|      0|        }
32791|     96|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
32792|     96|        expr_ty dict_var;
32793|     96|        if (
32794|     96|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (32794:13): [True: 0, False: 96]
  ------------------
32795|     96|        )
32796|      0|        {
32797|      0|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
32798|      0|            _res = dict_var;
32799|      0|            goto done;
32800|      0|        }
32801|     96|        p->mark = _mark;
32802|     96|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32803|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
32804|     96|    }
32805|      0|    { // set
32806|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (32806:13): [True: 0, False: 96]
  ------------------
32807|      0|            p->level--;
32808|      0|            return NULL;
32809|      0|        }
32810|     96|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
32811|     96|        expr_ty set_var;
32812|     96|        if (
32813|     96|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (32813:13): [True: 96, False: 0]
  ------------------
32814|     96|        )
32815|     96|        {
32816|     96|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
32817|     96|            _res = set_var;
32818|     96|            goto done;
32819|     96|        }
32820|      0|        p->mark = _mark;
32821|      0|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32822|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "set"));
32823|      0|    }
32824|      0|    _res = NULL;
32825|     96|  done:
32826|     96|    p->level--;
32827|     96|    return _res;
32828|      0|}
parser.c:dictcomp_rule:
18485|     96|{
18486|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (18486:9): [True: 0, False: 96]
  |  Branch (18486:35): [True: 0, False: 96]
  ------------------
18487|      0|        _Pypegen_stack_overflow(p);
18488|      0|    }
18489|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (18489:9): [True: 0, False: 96]
  ------------------
18490|      0|        p->level--;
18491|      0|        return NULL;
18492|      0|    }
18493|     96|    expr_ty _res = NULL;
18494|     96|    int _mark = p->mark;
18495|     96|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18495:9): [True: 0, False: 96]
  |  Branch (18495:31): [True: 0, False: 0]
  ------------------
18496|      0|        p->error_indicator = 1;
18497|      0|        p->level--;
18498|      0|        return NULL;
18499|      0|    }
18500|     96|    int _start_lineno = p->tokens[_mark]->lineno;
18501|     96|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
18502|     96|    int _start_col_offset = p->tokens[_mark]->col_offset;
18503|     96|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
18504|     96|    { // '{' kvpair for_if_clauses '}'
18505|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (18505:13): [True: 0, False: 96]
  ------------------
18506|      0|            p->level--;
18507|      0|            return NULL;
18508|      0|        }
18509|     96|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18510|     96|        Token * _literal;
18511|     96|        Token * _literal_1;
18512|     96|        KeyValuePair* a;
18513|     96|        asdl_comprehension_seq* b;
18514|     96|        if (
18515|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18515:13): [True: 96, False: 0]
  ------------------
18516|     96|            &&
18517|     96|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18517:13): [True: 0, False: 96]
  ------------------
18518|      0|            &&
18519|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18519:13): [True: 0, False: 0]
  ------------------
18520|      0|            &&
18521|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18521:13): [True: 0, False: 0]
  ------------------
18522|     96|        )
18523|      0|        {
18524|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18525|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18526|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18526:17): [True: 0, False: 0]
  ------------------
18527|      0|                p->level--;
18528|      0|                return NULL;
18529|      0|            }
18530|      0|            int _end_lineno = _token->end_lineno;
18531|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18532|      0|            int _end_col_offset = _token->end_col_offset;
18533|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18534|      0|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18535|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18535:18): [True: 0, False: 0]
  |  Branch (18535:34): [True: 0, False: 0]
  |  Branch (18535:57): [True: 0, False: 0]
  ------------------
18536|      0|                p->error_indicator = 1;
18537|      0|                p->level--;
18538|      0|                return NULL;
18539|      0|            }
18540|      0|            goto done;
18541|      0|        }
18542|     96|        p->mark = _mark;
18543|     96|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18544|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18545|     96|    }
18546|      0|    { // '{' '**' expression for_if_clauses '}'
18547|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (18547:13): [True: 0, False: 96]
  ------------------
18548|      0|            p->level--;
18549|      0|            return NULL;
18550|      0|        }
18551|     96|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18552|     96|        Token * _literal;
18553|     96|        Token * _literal_1;
18554|     96|        Token * _literal_2;
18555|     96|        expr_ty a;
18556|     96|        asdl_comprehension_seq* b;
18557|     96|        if (
18558|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18558:13): [True: 96, False: 0]
  ------------------
18559|     96|            &&
18560|     96|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18560:13): [True: 0, False: 96]
  ------------------
18561|      0|            &&
18562|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18562:13): [True: 0, False: 0]
  ------------------
18563|      0|            &&
18564|      0|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18564:13): [True: 0, False: 0]
  ------------------
18565|      0|            &&
18566|      0|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18566:13): [True: 0, False: 0]
  ------------------
18567|     96|        )
18568|      0|        {
18569|      0|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18570|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18571|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18571:17): [True: 0, False: 0]
  ------------------
18572|      0|                p->level--;
18573|      0|                return NULL;
18574|      0|            }
18575|      0|            int _end_lineno = _token->end_lineno;
18576|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18577|      0|            int _end_col_offset = _token->end_col_offset;
18578|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18579|      0|            _res = _PyAST_DictComp ( a , NULL , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18580|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18580:18): [True: 0, False: 0]
  |  Branch (18580:34): [True: 0, False: 0]
  |  Branch (18580:57): [True: 0, False: 0]
  ------------------
18581|      0|                p->error_indicator = 1;
18582|      0|                p->level--;
18583|      0|                return NULL;
18584|      0|            }
18585|      0|            goto done;
18586|      0|        }
18587|     96|        p->mark = _mark;
18588|     96|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18589|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18590|     96|    }
18591|     96|    _res = NULL;
18592|     96|  done:
18593|     96|    p->level--;
18594|     96|    return _res;
18595|     96|}
parser.c:kvpair_rule:
17974|    288|{
17975|    288|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    576|#  define MAXSTACK 6000
  ------------------
  |  Branch (17975:9): [True: 0, False: 288]
  |  Branch (17975:35): [True: 0, False: 288]
  ------------------
17976|      0|        _Pypegen_stack_overflow(p);
17977|      0|    }
17978|    288|    if (p->error_indicator) {
  ------------------
  |  Branch (17978:9): [True: 0, False: 288]
  ------------------
17979|      0|        p->level--;
17980|      0|        return NULL;
17981|      0|    }
17982|    288|    KeyValuePair* _res = NULL;
17983|    288|    int _mark = p->mark;
17984|    288|    { // expression ':' expression
17985|    288|        if (p->error_indicator) {
  ------------------
  |  Branch (17985:13): [True: 0, False: 288]
  ------------------
17986|      0|            p->level--;
17987|      0|            return NULL;
17988|      0|        }
17989|    288|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17990|    288|        Token * _literal;
17991|    288|        expr_ty a;
17992|    288|        expr_ty b;
17993|    288|        if (
17994|    288|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (17994:13): [True: 288, False: 0]
  ------------------
17995|    288|            &&
17996|    288|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17996:13): [True: 0, False: 288]
  ------------------
17997|      0|            &&
17998|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (17998:13): [True: 0, False: 0]
  ------------------
17999|    288|        )
18000|      0|        {
18001|      0|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
18002|      0|            _res = _PyPegen_key_value_pair ( p , a , b );
18003|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18003:18): [True: 0, False: 0]
  |  Branch (18003:34): [True: 0, False: 0]
  |  Branch (18003:57): [True: 0, False: 0]
  ------------------
18004|      0|                p->error_indicator = 1;
18005|      0|                p->level--;
18006|      0|                return NULL;
18007|      0|            }
18008|      0|            goto done;
18009|      0|        }
18010|    288|        p->mark = _mark;
18011|    288|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
18012|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
18013|    288|    }
18014|    288|    _res = NULL;
18015|    288|  done:
18016|    288|    p->level--;
18017|    288|    return _res;
18018|    288|}
parser.c:setcomp_rule:
18305|     96|{
18306|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (18306:9): [True: 0, False: 96]
  |  Branch (18306:35): [True: 0, False: 96]
  ------------------
18307|      0|        _Pypegen_stack_overflow(p);
18308|      0|    }
18309|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (18309:9): [True: 0, False: 96]
  ------------------
18310|      0|        p->level--;
18311|      0|        return NULL;
18312|      0|    }
18313|     96|    expr_ty _res = NULL;
18314|     96|    int _mark = p->mark;
18315|     96|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18315:9): [True: 0, False: 96]
  |  Branch (18315:31): [True: 0, False: 0]
  ------------------
18316|      0|        p->error_indicator = 1;
18317|      0|        p->level--;
18318|      0|        return NULL;
18319|      0|    }
18320|     96|    int _start_lineno = p->tokens[_mark]->lineno;
18321|     96|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
18322|     96|    int _start_col_offset = p->tokens[_mark]->col_offset;
18323|     96|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
18324|     96|    { // '{' star_named_expression for_if_clauses '}'
18325|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (18325:13): [True: 0, False: 96]
  ------------------
18326|      0|            p->level--;
18327|      0|            return NULL;
18328|      0|        }
18329|     96|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18330|     96|        Token * _literal;
18331|     96|        Token * _literal_1;
18332|     96|        expr_ty a;
18333|     96|        asdl_comprehension_seq* b;
18334|     96|        if (
18335|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18335:13): [True: 96, False: 0]
  ------------------
18336|     96|            &&
18337|     96|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18337:13): [True: 96, False: 0]
  ------------------
18338|     96|            &&
18339|     96|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18339:13): [True: 0, False: 96]
  ------------------
18340|      0|            &&
18341|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18341:13): [True: 0, False: 0]
  ------------------
18342|     96|        )
18343|      0|        {
18344|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18345|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18346|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18346:17): [True: 0, False: 0]
  ------------------
18347|      0|                p->level--;
18348|      0|                return NULL;
18349|      0|            }
18350|      0|            int _end_lineno = _token->end_lineno;
18351|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18352|      0|            int _end_col_offset = _token->end_col_offset;
18353|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18354|      0|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18355|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18355:18): [True: 0, False: 0]
  |  Branch (18355:34): [True: 0, False: 0]
  |  Branch (18355:57): [True: 0, False: 0]
  ------------------
18356|      0|                p->error_indicator = 1;
18357|      0|                p->level--;
18358|      0|                return NULL;
18359|      0|            }
18360|      0|            goto done;
18361|      0|        }
18362|     96|        p->mark = _mark;
18363|     96|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18364|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18365|     96|    }
18366|     96|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18366:9): [True: 0, False: 96]
  ------------------
18367|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18367:13): [True: 0, False: 0]
  ------------------
18368|      0|            p->level--;
18369|      0|            return NULL;
18370|      0|        }
18371|      0|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18372|      0|        void *invalid_comprehension_var;
18373|      0|        if (
18374|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18374:13): [True: 0, False: 0]
  ------------------
18375|      0|        )
18376|      0|        {
18377|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18378|      0|            _res = invalid_comprehension_var;
18379|      0|            goto done;
18380|      0|        }
18381|      0|        p->mark = _mark;
18382|      0|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18383|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18384|      0|    }
18385|     96|    _res = NULL;
18386|     96|  done:
18387|     96|    p->level--;
18388|     96|    return _res;
18389|     96|}
parser.c:dict_rule:
17770|     96|{
17771|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (17771:9): [True: 0, False: 96]
  |  Branch (17771:35): [True: 0, False: 96]
  ------------------
17772|      0|        _Pypegen_stack_overflow(p);
17773|      0|    }
17774|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (17774:9): [True: 0, False: 96]
  ------------------
17775|      0|        p->level--;
17776|      0|        return NULL;
17777|      0|    }
17778|     96|    expr_ty _res = NULL;
17779|     96|    int _mark = p->mark;
17780|     96|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17780:9): [True: 0, False: 96]
  |  Branch (17780:31): [True: 0, False: 0]
  ------------------
17781|      0|        p->error_indicator = 1;
17782|      0|        p->level--;
17783|      0|        return NULL;
17784|      0|    }
17785|     96|    int _start_lineno = p->tokens[_mark]->lineno;
17786|     96|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17787|     96|    int _start_col_offset = p->tokens[_mark]->col_offset;
17788|     96|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17789|     96|    { // '{' double_starred_kvpairs? '}'
17790|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (17790:13): [True: 0, False: 96]
  ------------------
17791|      0|            p->level--;
17792|      0|            return NULL;
17793|      0|        }
17794|     96|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17795|     96|        Token * _literal;
17796|     96|        Token * _literal_1;
17797|     96|        void *a;
17798|     96|        if (
17799|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17799:13): [True: 96, False: 0]
  ------------------
17800|     96|            &&
17801|     96|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17801:13): [True: 96, False: 0]
  ------------------
17802|     96|            &&
17803|     96|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17803:13): [True: 0, False: 96]
  ------------------
17804|     96|        )
17805|      0|        {
17806|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17807|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17808|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17808:17): [True: 0, False: 0]
  ------------------
17809|      0|                p->level--;
17810|      0|                return NULL;
17811|      0|            }
17812|      0|            int _end_lineno = _token->end_lineno;
17813|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17814|      0|            int _end_col_offset = _token->end_col_offset;
17815|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
17816|      0|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17817|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17817:18): [True: 0, False: 0]
  |  Branch (17817:34): [True: 0, False: 0]
  |  Branch (17817:57): [True: 0, False: 0]
  ------------------
17818|      0|                p->error_indicator = 1;
17819|      0|                p->level--;
17820|      0|                return NULL;
17821|      0|            }
17822|      0|            goto done;
17823|      0|        }
17824|     96|        p->mark = _mark;
17825|     96|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17826|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17827|     96|    }
17828|      0|    { // '{' invalid_double_starred_kvpairs '}'
17829|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (17829:13): [True: 0, False: 96]
  ------------------
17830|      0|            p->level--;
17831|      0|            return NULL;
17832|      0|        }
17833|     96|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17834|     96|        Token * _literal;
17835|     96|        Token * _literal_1;
17836|     96|        void *invalid_double_starred_kvpairs_var;
17837|     96|        if (
17838|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17838:13): [True: 96, False: 0]
  ------------------
17839|     96|            &&
17840|     96|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  Branch (17840:13): [True: 0, False: 96]
  ------------------
17841|      0|            &&
17842|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17842:13): [True: 0, False: 0]
  ------------------
17843|     96|        )
17844|      0|        {
17845|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17846|      0|            _res = _PyPegen_dummy_name(p, _literal, invalid_double_starred_kvpairs_var, _literal_1);
17847|      0|            goto done;
17848|      0|        }
17849|     96|        p->mark = _mark;
17850|     96|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17851|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17852|     96|    }
17853|     96|    _res = NULL;
17854|     96|  done:
17855|     96|    p->level--;
17856|     96|    return _res;
17857|     96|}
parser.c:double_starred_kvpairs_rule:
17862|     96|{
17863|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (17863:9): [True: 0, False: 96]
  |  Branch (17863:35): [True: 0, False: 96]
  ------------------
17864|      0|        _Pypegen_stack_overflow(p);
17865|      0|    }
17866|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (17866:9): [True: 0, False: 96]
  ------------------
17867|      0|        p->level--;
17868|      0|        return NULL;
17869|      0|    }
17870|     96|    asdl_seq* _res = NULL;
17871|     96|    int _mark = p->mark;
17872|     96|    { // ','.double_starred_kvpair+ ','?
17873|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (17873:13): [True: 0, False: 96]
  ------------------
17874|      0|            p->level--;
17875|      0|            return NULL;
17876|      0|        }
17877|     96|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17878|     96|        void *_opt_var;
17879|     96|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17880|     96|        asdl_seq * a;
17881|     96|        if (
17882|     96|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17882:13): [True: 0, False: 96]
  ------------------
17883|      0|            &&
17884|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17884:13): [True: 0, False: 0]
  ------------------
17885|     96|        )
17886|      0|        {
17887|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17888|      0|            _res = a;
17889|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17889:18): [True: 0, False: 0]
  |  Branch (17889:34): [True: 0, False: 0]
  |  Branch (17889:57): [True: 0, False: 0]
  ------------------
17890|      0|                p->error_indicator = 1;
17891|      0|                p->level--;
17892|      0|                return NULL;
17893|      0|            }
17894|      0|            goto done;
17895|      0|        }
17896|     96|        p->mark = _mark;
17897|     96|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17898|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17899|     96|    }
17900|     96|    _res = NULL;
17901|     96|  done:
17902|     96|    p->level--;
17903|     96|    return _res;
17904|     96|}
parser.c:_gather_86_rule:
33844|    192|{
33845|    192|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    384|#  define MAXSTACK 6000
  ------------------
  |  Branch (33845:9): [True: 0, False: 192]
  |  Branch (33845:35): [True: 0, False: 192]
  ------------------
33846|      0|        _Pypegen_stack_overflow(p);
33847|      0|    }
33848|    192|    if (p->error_indicator) {
  ------------------
  |  Branch (33848:9): [True: 0, False: 192]
  ------------------
33849|      0|        p->level--;
33850|      0|        return NULL;
33851|      0|    }
33852|    192|    asdl_seq * _res = NULL;
33853|    192|    int _mark = p->mark;
33854|    192|    { // double_starred_kvpair _loop0_85
33855|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (33855:13): [True: 0, False: 192]
  ------------------
33856|      0|            p->level--;
33857|      0|            return NULL;
33858|      0|        }
33859|    192|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
33860|    192|        KeyValuePair* elem;
33861|    192|        asdl_seq * seq;
33862|    192|        if (
33863|    192|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (33863:13): [True: 0, False: 192]
  ------------------
33864|      0|            &&
33865|      0|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (33865:13): [True: 0, False: 0]
  ------------------
33866|    192|        )
33867|      0|        {
33868|      0|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
33869|      0|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
33870|      0|            goto done;
33871|      0|        }
33872|    192|        p->mark = _mark;
33873|    192|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
33874|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
33875|    192|    }
33876|    192|    _res = NULL;
33877|    192|  done:
33878|    192|    p->level--;
33879|    192|    return _res;
33880|    192|}
parser.c:double_starred_kvpair_rule:
17909|    192|{
17910|    192|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    384|#  define MAXSTACK 6000
  ------------------
  |  Branch (17910:9): [True: 0, False: 192]
  |  Branch (17910:35): [True: 0, False: 192]
  ------------------
17911|      0|        _Pypegen_stack_overflow(p);
17912|      0|    }
17913|    192|    if (p->error_indicator) {
  ------------------
  |  Branch (17913:9): [True: 0, False: 192]
  ------------------
17914|      0|        p->level--;
17915|      0|        return NULL;
17916|      0|    }
17917|    192|    KeyValuePair* _res = NULL;
17918|    192|    int _mark = p->mark;
17919|    192|    { // '**' bitwise_or
17920|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (17920:13): [True: 0, False: 192]
  ------------------
17921|      0|            p->level--;
17922|      0|            return NULL;
17923|      0|        }
17924|    192|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17925|    192|        Token * _literal;
17926|    192|        expr_ty a;
17927|    192|        if (
17928|    192|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17928:13): [True: 0, False: 192]
  ------------------
17929|      0|            &&
17930|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (17930:13): [True: 0, False: 0]
  ------------------
17931|    192|        )
17932|      0|        {
17933|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17934|      0|            _res = _PyPegen_key_value_pair ( p , NULL , a );
17935|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17935:18): [True: 0, False: 0]
  |  Branch (17935:34): [True: 0, False: 0]
  |  Branch (17935:57): [True: 0, False: 0]
  ------------------
17936|      0|                p->error_indicator = 1;
17937|      0|                p->level--;
17938|      0|                return NULL;
17939|      0|            }
17940|      0|            goto done;
17941|      0|        }
17942|    192|        p->mark = _mark;
17943|    192|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17944|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17945|    192|    }
17946|      0|    { // kvpair
17947|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (17947:13): [True: 0, False: 192]
  ------------------
17948|      0|            p->level--;
17949|      0|            return NULL;
17950|      0|        }
17951|    192|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17952|    192|        KeyValuePair* kvpair_var;
17953|    192|        if (
17954|    192|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17954:13): [True: 0, False: 192]
  ------------------
17955|    192|        )
17956|      0|        {
17957|      0|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17958|      0|            _res = kvpair_var;
17959|      0|            goto done;
17960|      0|        }
17961|    192|        p->mark = _mark;
17962|    192|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17963|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
17964|    192|    }
17965|    192|    _res = NULL;
17966|    192|  done:
17967|    192|    p->level--;
17968|    192|    return _res;
17969|    192|}
parser.c:invalid_double_starred_kvpairs_rule:
26722|     96|{
26723|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (26723:9): [True: 0, False: 96]
  |  Branch (26723:35): [True: 0, False: 96]
  ------------------
26724|      0|        _Pypegen_stack_overflow(p);
26725|      0|    }
26726|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (26726:9): [True: 0, False: 96]
  ------------------
26727|      0|        p->level--;
26728|      0|        return NULL;
26729|      0|    }
26730|     96|    void * _res = NULL;
26731|     96|    int _mark = p->mark;
26732|     96|    { // invalid_kvpair_unpacking ','?
26733|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26733:13): [True: 0, False: 96]
  ------------------
26734|      0|            p->level--;
26735|      0|            return NULL;
26736|      0|        }
26737|     96|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26738|     96|        void *_opt_var;
26739|     96|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
26740|     96|        void *invalid_kvpair_unpacking_var;
26741|     96|        if (
26742|     96|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (26742:13): [True: 0, False: 96]
  ------------------
26743|      0|            &&
26744|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (26744:13): [True: 0, False: 0]
  ------------------
26745|     96|        )
26746|      0|        {
26747|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26748|      0|            _res = _PyPegen_dummy_name(p, invalid_kvpair_unpacking_var, _opt_var);
26749|      0|            goto done;
26750|      0|        }
26751|     96|        p->mark = _mark;
26752|     96|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26753|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26754|     96|    }
26755|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
26756|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26756:13): [True: 0, False: 96]
  ------------------
26757|      0|            p->level--;
26758|      0|            return NULL;
26759|      0|        }
26760|     96|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26761|     96|        asdl_seq * _gather_86_var;
26762|     96|        Token * _literal;
26763|     96|        void *_tmp_150_var;
26764|     96|        if (
26765|     96|            (_gather_86_var = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (26765:13): [True: 0, False: 96]
  ------------------
26766|      0|            &&
26767|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (26767:13): [True: 0, False: 0]
  ------------------
26768|      0|            &&
26769|      0|            (_tmp_150_var = _tmp_150_rule(p))  // invalid_kvpair | invalid_kvpair_unpacking
  ------------------
  |  Branch (26769:13): [True: 0, False: 0]
  ------------------
26770|     96|        )
26771|      0|        {
26772|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26773|      0|            _res = _PyPegen_dummy_name(p, _gather_86_var, _literal, _tmp_150_var);
26774|      0|            goto done;
26775|      0|        }
26776|     96|        p->mark = _mark;
26777|     96|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26778|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26779|     96|    }
26780|      0|    { // expression ':' &('}' | ',')
26781|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26781:13): [True: 0, False: 96]
  ------------------
26782|      0|            p->level--;
26783|      0|            return NULL;
26784|      0|        }
26785|     96|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
26786|     96|        Token * a;
26787|     96|        expr_ty expression_var;
26788|     96|        if (
26789|     96|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26789:13): [True: 96, False: 0]
  ------------------
26790|     96|            &&
26791|     96|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26791:13): [True: 0, False: 96]
  ------------------
26792|      0|            &&
26793|      0|            _PyPegen_lookahead(1, _tmp_151_rule, p)
  ------------------
  |  Branch (26793:13): [True: 0, False: 0]
  ------------------
26794|     96|        )
26795|      0|        {
26796|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
26797|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26798|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26798:18): [True: 0, False: 0]
  |  Branch (26798:34): [True: 0, False: 0]
  |  Branch (26798:57): [True: 0, False: 0]
  ------------------
26799|      0|                p->error_indicator = 1;
26800|      0|                p->level--;
26801|      0|                return NULL;
26802|      0|            }
26803|      0|            goto done;
26804|      0|        }
26805|     96|        p->mark = _mark;
26806|     96|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26807|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
26808|     96|    }
26809|     96|    _res = NULL;
26810|     96|  done:
26811|     96|    p->level--;
26812|     96|    return _res;
26813|     96|}
parser.c:invalid_kvpair_unpacking_rule:
26823|     96|{
26824|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (26824:9): [True: 0, False: 96]
  |  Branch (26824:35): [True: 0, False: 96]
  ------------------
26825|      0|        _Pypegen_stack_overflow(p);
26826|      0|    }
26827|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (26827:9): [True: 0, False: 96]
  ------------------
26828|      0|        p->level--;
26829|      0|        return NULL;
26830|      0|    }
26831|     96|    void * _res = NULL;
26832|     96|    int _mark = p->mark;
26833|     96|    { // '**' if_expression
26834|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26834:13): [True: 0, False: 96]
  ------------------
26835|      0|            p->level--;
26836|      0|            return NULL;
26837|      0|        }
26838|     96|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
26839|     96|        Token * a;
26840|     96|        expr_ty b;
26841|     96|        if (
26842|     96|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26842:13): [True: 0, False: 96]
  ------------------
26843|      0|            &&
26844|      0|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (26844:13): [True: 0, False: 0]
  ------------------
26845|     96|        )
26846|      0|        {
26847|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
26848|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26849|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26849:18): [True: 0, False: 0]
  |  Branch (26849:34): [True: 0, False: 0]
  |  Branch (26849:57): [True: 0, False: 0]
  ------------------
26850|      0|                p->error_indicator = 1;
26851|      0|                p->level--;
26852|      0|                return NULL;
26853|      0|            }
26854|      0|            goto done;
26855|      0|        }
26856|     96|        p->mark = _mark;
26857|     96|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26858|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
26859|     96|    }
26860|      0|    { // '*' bitwise_or ':' expression
26861|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26861:13): [True: 0, False: 96]
  ------------------
26862|      0|            p->level--;
26863|      0|            return NULL;
26864|      0|        }
26865|     96|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
26866|     96|        Token * _literal;
26867|     96|        Token * a;
26868|     96|        expr_ty b;
26869|     96|        expr_ty expression_var;
26870|     96|        if (
26871|     96|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (26871:13): [True: 0, False: 96]
  ------------------
26872|      0|            &&
26873|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26873:13): [True: 0, False: 0]
  ------------------
26874|      0|            &&
26875|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26875:13): [True: 0, False: 0]
  ------------------
26876|      0|            &&
26877|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26877:13): [True: 0, False: 0]
  ------------------
26878|     96|        )
26879|      0|        {
26880|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
26881|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary key" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26882|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26882:18): [True: 0, False: 0]
  |  Branch (26882:34): [True: 0, False: 0]
  |  Branch (26882:57): [True: 0, False: 0]
  ------------------
26883|      0|                p->error_indicator = 1;
26884|      0|                p->level--;
26885|      0|                return NULL;
26886|      0|            }
26887|      0|            goto done;
26888|      0|        }
26889|     96|        p->mark = _mark;
26890|     96|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26891|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
26892|     96|    }
26893|      0|    { // '**' bitwise_or ':' expression
26894|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26894:13): [True: 0, False: 96]
  ------------------
26895|      0|            p->level--;
26896|      0|            return NULL;
26897|      0|        }
26898|     96|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
26899|     96|        Token * _literal;
26900|     96|        Token * a;
26901|     96|        expr_ty b;
26902|     96|        expr_ty expression_var;
26903|     96|        if (
26904|     96|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26904:13): [True: 0, False: 96]
  ------------------
26905|      0|            &&
26906|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26906:13): [True: 0, False: 0]
  ------------------
26907|      0|            &&
26908|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26908:13): [True: 0, False: 0]
  ------------------
26909|      0|            &&
26910|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26910:13): [True: 0, False: 0]
  ------------------
26911|     96|        )
26912|      0|        {
26913|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
26914|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary key" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26915|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26915:18): [True: 0, False: 0]
  |  Branch (26915:34): [True: 0, False: 0]
  |  Branch (26915:57): [True: 0, False: 0]
  ------------------
26916|      0|                p->error_indicator = 1;
26917|      0|                p->level--;
26918|      0|                return NULL;
26919|      0|            }
26920|      0|            goto done;
26921|      0|        }
26922|     96|        p->mark = _mark;
26923|     96|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26924|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
26925|     96|    }
26926|      0|    { // expression ':' '*' bitwise_or
26927|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26927:13): [True: 0, False: 96]
  ------------------
26928|      0|            p->level--;
26929|      0|            return NULL;
26930|      0|        }
26931|     96|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
26932|     96|        Token * _literal;
26933|     96|        Token * a;
26934|     96|        expr_ty b;
26935|     96|        expr_ty expression_var;
26936|     96|        if (
26937|     96|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26937:13): [True: 96, False: 0]
  ------------------
26938|     96|            &&
26939|     96|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26939:13): [True: 0, False: 96]
  ------------------
26940|      0|            &&
26941|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (26941:13): [True: 0, False: 0]
  ------------------
26942|      0|            &&
26943|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26943:13): [True: 0, False: 0]
  ------------------
26944|     96|        )
26945|      0|        {
26946|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
26947|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26948|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26948:18): [True: 0, False: 0]
  |  Branch (26948:34): [True: 0, False: 0]
  |  Branch (26948:57): [True: 0, False: 0]
  ------------------
26949|      0|                p->error_indicator = 1;
26950|      0|                p->level--;
26951|      0|                return NULL;
26952|      0|            }
26953|      0|            goto done;
26954|      0|        }
26955|     96|        p->mark = _mark;
26956|     96|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26957|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
26958|     96|    }
26959|      0|    { // expression ':' '**' bitwise_or
26960|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (26960:13): [True: 0, False: 96]
  ------------------
26961|      0|            p->level--;
26962|      0|            return NULL;
26963|      0|        }
26964|     96|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
26965|     96|        Token * _literal;
26966|     96|        Token * a;
26967|     96|        expr_ty b;
26968|     96|        expr_ty expression_var;
26969|     96|        if (
26970|     96|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26970:13): [True: 96, False: 0]
  ------------------
26971|     96|            &&
26972|     96|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26972:13): [True: 0, False: 96]
  ------------------
26973|      0|            &&
26974|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26974:13): [True: 0, False: 0]
  ------------------
26975|      0|            &&
26976|      0|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26976:13): [True: 0, False: 0]
  ------------------
26977|     96|        )
26978|      0|        {
26979|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
26980|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26981|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26981:18): [True: 0, False: 0]
  |  Branch (26981:34): [True: 0, False: 0]
  |  Branch (26981:57): [True: 0, False: 0]
  ------------------
26982|      0|                p->error_indicator = 1;
26983|      0|                p->level--;
26984|      0|                return NULL;
26985|      0|            }
26986|      0|            goto done;
26987|      0|        }
26988|     96|        p->mark = _mark;
26989|     96|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26990|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
26991|     96|    }
26992|     96|    _res = NULL;
26993|     96|  done:
26994|     96|    p->level--;
26995|     96|    return _res;
26996|     96|}
parser.c:set_rule:
17703|     96|{
17704|     96|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    192|#  define MAXSTACK 6000
  ------------------
  |  Branch (17704:9): [True: 0, False: 96]
  |  Branch (17704:35): [True: 0, False: 96]
  ------------------
17705|      0|        _Pypegen_stack_overflow(p);
17706|      0|    }
17707|     96|    if (p->error_indicator) {
  ------------------
  |  Branch (17707:9): [True: 0, False: 96]
  ------------------
17708|      0|        p->level--;
17709|      0|        return NULL;
17710|      0|    }
17711|     96|    expr_ty _res = NULL;
17712|     96|    int _mark = p->mark;
17713|     96|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17713:9): [True: 0, False: 96]
  |  Branch (17713:31): [True: 0, False: 0]
  ------------------
17714|      0|        p->error_indicator = 1;
17715|      0|        p->level--;
17716|      0|        return NULL;
17717|      0|    }
17718|     96|    int _start_lineno = p->tokens[_mark]->lineno;
17719|     96|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17720|     96|    int _start_col_offset = p->tokens[_mark]->col_offset;
17721|     96|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17722|     96|    { // '{' star_named_expressions_sequence '}'
17723|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (17723:13): [True: 0, False: 96]
  ------------------
17724|      0|            p->level--;
17725|      0|            return NULL;
17726|      0|        }
17727|     96|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17728|     96|        Token * _literal;
17729|     96|        Token * _literal_1;
17730|     96|        asdl_expr_seq* a;
17731|     96|        if (
17732|     96|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17732:13): [True: 96, False: 0]
  ------------------
17733|     96|            &&
17734|     96|            (a = star_named_expressions_sequence_rule(p))  // star_named_expressions_sequence
  ------------------
  |  Branch (17734:13): [True: 96, False: 0]
  ------------------
17735|     96|            &&
17736|     96|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17736:13): [True: 96, False: 0]
  ------------------
17737|     96|        )
17738|     96|        {
17739|     96|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17740|     96|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17741|     96|            if (_token == NULL) {
  ------------------
  |  Branch (17741:17): [True: 0, False: 96]
  ------------------
17742|      0|                p->level--;
17743|      0|                return NULL;
17744|      0|            }
17745|     96|            int _end_lineno = _token->end_lineno;
17746|     96|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17747|     96|            int _end_col_offset = _token->end_col_offset;
17748|     96|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     96|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 96]
  |  |  ------------------
  ------------------
17749|     96|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  269|     96|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17750|     96|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17750:18): [True: 0, False: 96]
  |  Branch (17750:34): [True: 0, False: 96]
  |  Branch (17750:57): [True: 0, False: 0]
  ------------------
17751|      0|                p->error_indicator = 1;
17752|      0|                p->level--;
17753|      0|                return NULL;
17754|      0|            }
17755|     96|            goto done;
17756|     96|        }
17757|      0|        p->mark = _mark;
17758|      0|        D(fprintf(stderr, "%*c%s set[%d-%d]: %s failed!\n", p->level, ' ',
17759|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17760|      0|    }
17761|      0|    _res = NULL;
17762|     96|  done:
17763|     96|    p->level--;
17764|     96|    return _res;
17765|      0|}
parser.c:invalid_factor_rule:
28345|   108k|{
28346|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28346:9): [True: 0, False: 108k]
  |  Branch (28346:35): [True: 0, False: 108k]
  ------------------
28347|      0|        _Pypegen_stack_overflow(p);
28348|      0|    }
28349|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (28349:9): [True: 0, False: 108k]
  ------------------
28350|      0|        p->level--;
28351|      0|        return NULL;
28352|      0|    }
28353|   108k|    void * _res = NULL;
28354|   108k|    int _mark = p->mark;
28355|   108k|    { // ('+' | '-' | '~') 'not' factor
28356|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (28356:13): [True: 0, False: 108k]
  ------------------
28357|      0|            p->level--;
28358|      0|            return NULL;
28359|      0|        }
28360|   108k|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28361|   108k|        void *_tmp_158_var;
28362|   108k|        Token * a;
28363|   108k|        expr_ty b;
28364|   108k|        if (
28365|   108k|            (_tmp_158_var = _tmp_158_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (28365:13): [True: 0, False: 108k]
  ------------------
28366|      0|            &&
28367|      0|            (a = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (28367:13): [True: 0, False: 0]
  ------------------
28368|      0|            &&
28369|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (28369:13): [True: 0, False: 0]
  ------------------
28370|   108k|        )
28371|      0|        {
28372|      0|            D(fprintf(stderr, "%*c+ invalid_factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28373|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28374|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28374:18): [True: 0, False: 0]
  |  Branch (28374:34): [True: 0, False: 0]
  |  Branch (28374:57): [True: 0, False: 0]
  ------------------
28375|      0|                p->error_indicator = 1;
28376|      0|                p->level--;
28377|      0|                return NULL;
28378|      0|            }
28379|      0|            goto done;
28380|      0|        }
28381|   108k|        p->mark = _mark;
28382|   108k|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
28383|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28384|   108k|    }
28385|   108k|    _res = NULL;
28386|   108k|  done:
28387|   108k|    p->level--;
28388|   108k|    return _res;
28389|   108k|}
parser.c:_tmp_158_rule:
38214|   108k|{
38215|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38215:9): [True: 0, False: 108k]
  |  Branch (38215:35): [True: 0, False: 108k]
  ------------------
38216|      0|        _Pypegen_stack_overflow(p);
38217|      0|    }
38218|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (38218:9): [True: 0, False: 108k]
  ------------------
38219|      0|        p->level--;
38220|      0|        return NULL;
38221|      0|    }
38222|   108k|    void * _res = NULL;
38223|   108k|    int _mark = p->mark;
38224|   108k|    { // '+'
38225|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (38225:13): [True: 0, False: 108k]
  ------------------
38226|      0|            p->level--;
38227|      0|            return NULL;
38228|      0|        }
38229|   108k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
38230|   108k|        Token * _literal;
38231|   108k|        if (
38232|   108k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (38232:13): [True: 0, False: 108k]
  ------------------
38233|   108k|        )
38234|      0|        {
38235|      0|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
38236|      0|            _res = _literal;
38237|      0|            goto done;
38238|      0|        }
38239|   108k|        p->mark = _mark;
38240|   108k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38241|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
38242|   108k|    }
38243|      0|    { // '-'
38244|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (38244:13): [True: 0, False: 108k]
  ------------------
38245|      0|            p->level--;
38246|      0|            return NULL;
38247|      0|        }
38248|   108k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
38249|   108k|        Token * _literal;
38250|   108k|        if (
38251|   108k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (38251:13): [True: 0, False: 108k]
  ------------------
38252|   108k|        )
38253|      0|        {
38254|      0|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
38255|      0|            _res = _literal;
38256|      0|            goto done;
38257|      0|        }
38258|   108k|        p->mark = _mark;
38259|   108k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38260|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
38261|   108k|    }
38262|      0|    { // '~'
38263|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (38263:13): [True: 0, False: 108k]
  ------------------
38264|      0|            p->level--;
38265|      0|            return NULL;
38266|      0|        }
38267|   108k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
38268|   108k|        Token * _literal;
38269|   108k|        if (
38270|   108k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (38270:13): [True: 0, False: 108k]
  ------------------
38271|   108k|        )
38272|      0|        {
38273|      0|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~'"));
38274|      0|            _res = _literal;
38275|      0|            goto done;
38276|      0|        }
38277|   108k|        p->mark = _mark;
38278|   108k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38279|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
38280|   108k|    }
38281|   108k|    _res = NULL;
38282|   108k|  done:
38283|   108k|    p->level--;
38284|   108k|    return _res;
38285|   108k|}
parser.c:invalid_arithmetic_rule:
28293|   108k|{
28294|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28294:9): [True: 0, False: 108k]
  |  Branch (28294:35): [True: 0, False: 108k]
  ------------------
28295|      0|        _Pypegen_stack_overflow(p);
28296|      0|    }
28297|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (28297:9): [True: 0, False: 108k]
  ------------------
28298|      0|        p->level--;
28299|      0|        return NULL;
28300|      0|    }
28301|   108k|    void * _res = NULL;
28302|   108k|    int _mark = p->mark;
28303|   108k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
28304|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (28304:13): [True: 0, False: 108k]
  ------------------
28305|      0|            p->level--;
28306|      0|            return NULL;
28307|      0|        }
28308|   108k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28309|   108k|        void *_tmp_157_var;
28310|   108k|        Token * a;
28311|   108k|        expr_ty b;
28312|   108k|        expr_ty sum_var;
28313|   108k|        if (
28314|   108k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (28314:13): [True: 0, False: 108k]
  ------------------
28315|      0|            &&
28316|      0|            (_tmp_157_var = _tmp_157_rule(p))  // '+' | '-' | '*' | '/' | '%' | '//' | '@'
  ------------------
  |  Branch (28316:13): [True: 0, False: 0]
  ------------------
28317|      0|            &&
28318|      0|            (a = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (28318:13): [True: 0, False: 0]
  ------------------
28319|      0|            &&
28320|      0|            (b = inversion_rule(p))  // inversion
  ------------------
  |  Branch (28320:13): [True: 0, False: 0]
  ------------------
28321|   108k|        )
28322|      0|        {
28323|      0|            D(fprintf(stderr, "%*c+ invalid_arithmetic[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28324|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28325|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28325:18): [True: 0, False: 0]
  |  Branch (28325:34): [True: 0, False: 0]
  |  Branch (28325:57): [True: 0, False: 0]
  ------------------
28326|      0|                p->error_indicator = 1;
28327|      0|                p->level--;
28328|      0|                return NULL;
28329|      0|            }
28330|      0|            goto done;
28331|      0|        }
28332|   108k|        p->mark = _mark;
28333|   108k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
28334|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28335|   108k|    }
28336|   108k|    _res = NULL;
28337|   108k|  done:
28338|   108k|    p->level--;
28339|   108k|    return _res;
28340|   108k|}
parser.c:_tmp_120_rule:
35844|  54.1k|{
35845|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35845:9): [True: 0, False: 54.1k]
  |  Branch (35845:35): [True: 0, False: 54.1k]
  ------------------
35846|      0|        _Pypegen_stack_overflow(p);
35847|      0|    }
35848|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (35848:9): [True: 0, False: 54.1k]
  ------------------
35849|      0|        p->level--;
35850|      0|        return NULL;
35851|      0|    }
35852|  54.1k|    void * _res = NULL;
35853|  54.1k|    int _mark = p->mark;
35854|  54.1k|    { // list
35855|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35855:13): [True: 0, False: 54.1k]
  ------------------
35856|      0|            p->level--;
35857|      0|            return NULL;
35858|      0|        }
35859|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
35860|  54.1k|        expr_ty list_var;
35861|  54.1k|        if (
35862|  54.1k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (35862:13): [True: 0, False: 54.1k]
  ------------------
35863|  54.1k|        )
35864|      0|        {
35865|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
35866|      0|            _res = list_var;
35867|      0|            goto done;
35868|      0|        }
35869|  54.1k|        p->mark = _mark;
35870|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35871|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
35872|  54.1k|    }
35873|      0|    { // tuple
35874|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35874:13): [True: 0, False: 54.1k]
  ------------------
35875|      0|            p->level--;
35876|      0|            return NULL;
35877|      0|        }
35878|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
35879|  54.1k|        expr_ty tuple_var;
35880|  54.1k|        if (
35881|  54.1k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (35881:13): [True: 0, False: 54.1k]
  ------------------
35882|  54.1k|        )
35883|      0|        {
35884|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
35885|      0|            _res = tuple_var;
35886|      0|            goto done;
35887|      0|        }
35888|  54.1k|        p->mark = _mark;
35889|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35890|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
35891|  54.1k|    }
35892|      0|    { // genexp
35893|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35893:13): [True: 0, False: 54.1k]
  ------------------
35894|      0|            p->level--;
35895|      0|            return NULL;
35896|      0|        }
35897|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
35898|  54.1k|        expr_ty genexp_var;
35899|  54.1k|        if (
35900|  54.1k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (35900:13): [True: 0, False: 54.1k]
  ------------------
35901|  54.1k|        )
35902|      0|        {
35903|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
35904|      0|            _res = genexp_var;
35905|      0|            goto done;
35906|      0|        }
35907|  54.1k|        p->mark = _mark;
35908|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35909|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
35910|  54.1k|    }
35911|      0|    { // 'True'
35912|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35912:13): [True: 0, False: 54.1k]
  ------------------
35913|      0|            p->level--;
35914|      0|            return NULL;
35915|      0|        }
35916|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
35917|  54.1k|        Token * _keyword;
35918|  54.1k|        if (
35919|  54.1k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (35919:13): [True: 0, False: 54.1k]
  ------------------
35920|  54.1k|        )
35921|      0|        {
35922|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
35923|      0|            _res = _keyword;
35924|      0|            goto done;
35925|      0|        }
35926|  54.1k|        p->mark = _mark;
35927|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35928|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
35929|  54.1k|    }
35930|      0|    { // 'None'
35931|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35931:13): [True: 0, False: 54.1k]
  ------------------
35932|      0|            p->level--;
35933|      0|            return NULL;
35934|      0|        }
35935|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
35936|  54.1k|        Token * _keyword;
35937|  54.1k|        if (
35938|  54.1k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (35938:13): [True: 0, False: 54.1k]
  ------------------
35939|  54.1k|        )
35940|      0|        {
35941|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
35942|      0|            _res = _keyword;
35943|      0|            goto done;
35944|      0|        }
35945|  54.1k|        p->mark = _mark;
35946|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35947|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
35948|  54.1k|    }
35949|      0|    { // 'False'
35950|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35950:13): [True: 0, False: 54.1k]
  ------------------
35951|      0|            p->level--;
35952|      0|            return NULL;
35953|      0|        }
35954|  54.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
35955|  54.1k|        Token * _keyword;
35956|  54.1k|        if (
35957|  54.1k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (35957:13): [True: 0, False: 54.1k]
  ------------------
35958|  54.1k|        )
35959|      0|        {
35960|      0|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
35961|      0|            _res = _keyword;
35962|      0|            goto done;
35963|      0|        }
35964|  54.1k|        p->mark = _mark;
35965|  54.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35966|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
35967|  54.1k|    }
35968|  54.1k|    _res = NULL;
35969|  54.1k|  done:
35970|  54.1k|    p->level--;
35971|  54.1k|    return _res;
35972|  54.1k|}
parser.c:expression_rule:
11560|   388k|{
11561|   388k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   777k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11561:9): [True: 0, False: 388k]
  |  Branch (11561:35): [True: 0, False: 388k]
  ------------------
11562|      0|        _Pypegen_stack_overflow(p);
11563|      0|    }
11564|   388k|    if (p->error_indicator) {
  ------------------
  |  Branch (11564:9): [True: 0, False: 388k]
  ------------------
11565|      0|        p->level--;
11566|      0|        return NULL;
11567|      0|    }
11568|   388k|    expr_ty _res = NULL;
11569|   388k|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|   388k|#define expression_type 1109
  ------------------
  |  Branch (11569:9): [True: 166k, False: 222k]
  ------------------
11570|   166k|        p->level--;
11571|   166k|        return _res;
11572|   166k|    }
11573|   222k|    int _mark = p->mark;
11574|   222k|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11574:9): [True: 108k, False: 113k]
  ------------------
11575|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (11575:13): [True: 0, False: 108k]
  ------------------
11576|      0|            p->level--;
11577|      0|            return NULL;
11578|      0|        }
11579|   108k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11580|   108k|        void *invalid_if_expression_var;
11581|   108k|        if (
11582|   108k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  Branch (11582:13): [True: 0, False: 108k]
  ------------------
11583|   108k|        )
11584|      0|        {
11585|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11586|      0|            _res = invalid_if_expression_var;
11587|      0|            goto done;
11588|      0|        }
11589|   108k|        p->mark = _mark;
11590|   108k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11591|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11592|   108k|    }
11593|   222k|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11593:9): [True: 108k, False: 113k]
  ------------------
11594|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (11594:13): [True: 0, False: 108k]
  ------------------
11595|      0|            p->level--;
11596|      0|            return NULL;
11597|      0|        }
11598|   108k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11599|   108k|        void *invalid_expression_var;
11600|   108k|        if (
11601|   108k|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  Branch (11601:13): [True: 0, False: 108k]
  ------------------
11602|   108k|        )
11603|      0|        {
11604|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11605|      0|            _res = invalid_expression_var;
11606|      0|            goto done;
11607|      0|        }
11608|   108k|        p->mark = _mark;
11609|   108k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11610|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11611|   108k|    }
11612|   222k|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11612:9): [True: 108k, False: 113k]
  ------------------
11613|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (11613:13): [True: 0, False: 108k]
  ------------------
11614|      0|            p->level--;
11615|      0|            return NULL;
11616|      0|        }
11617|   108k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11618|   108k|        void *invalid_legacy_expression_var;
11619|   108k|        if (
11620|   108k|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  Branch (11620:13): [True: 0, False: 108k]
  ------------------
11621|   108k|        )
11622|      0|        {
11623|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11624|      0|            _res = invalid_legacy_expression_var;
11625|      0|            goto done;
11626|      0|        }
11627|   108k|        p->mark = _mark;
11628|   108k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11629|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11630|   108k|    }
11631|   222k|    { // if_expression
11632|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (11632:13): [True: 0, False: 222k]
  ------------------
11633|      0|            p->level--;
11634|      0|            return NULL;
11635|      0|        }
11636|   222k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11637|   222k|        expr_ty if_expression_var;
11638|   222k|        if (
11639|   222k|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (11639:13): [True: 10, False: 222k]
  ------------------
11640|   222k|        )
11641|     10|        {
11642|     10|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11643|     10|            _res = if_expression_var;
11644|     10|            goto done;
11645|     10|        }
11646|   222k|        p->mark = _mark;
11647|   222k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11648|   222k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11649|   222k|    }
11650|      0|    { // disjunction
11651|   222k|        if (p->error_indicator) {
  ------------------
  |  Branch (11651:13): [True: 0, False: 222k]
  ------------------
11652|      0|            p->level--;
11653|      0|            return NULL;
11654|      0|        }
11655|   222k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11656|   222k|        expr_ty disjunction_var;
11657|   222k|        if (
11658|   222k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11658:13): [True: 3.88k, False: 218k]
  ------------------
11659|   222k|        )
11660|  3.88k|        {
11661|  3.88k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11662|  3.88k|            _res = disjunction_var;
11663|  3.88k|            goto done;
11664|  3.88k|        }
11665|   218k|        p->mark = _mark;
11666|   218k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11667|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11668|   218k|    }
11669|      0|    { // lambdef
11670|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (11670:13): [True: 0, False: 218k]
  ------------------
11671|      0|            p->level--;
11672|      0|            return NULL;
11673|      0|        }
11674|   218k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11675|   218k|        expr_ty lambdef_var;
11676|   218k|        if (
11677|   218k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (11677:13): [True: 64, False: 218k]
  ------------------
11678|   218k|        )
11679|     64|        {
11680|     64|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11681|     64|            _res = lambdef_var;
11682|     64|            goto done;
11683|     64|        }
11684|   218k|        p->mark = _mark;
11685|   218k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11686|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11687|   218k|    }
11688|   218k|    _res = NULL;
11689|   222k|  done:
11690|   222k|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|   222k|#define expression_type 1109
  ------------------
11691|   222k|    p->level--;
11692|   222k|    return _res;
11693|   218k|}
parser.c:invalid_if_expression_rule:
21942|   108k|{
21943|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21943:9): [True: 0, False: 108k]
  |  Branch (21943:35): [True: 0, False: 108k]
  ------------------
21944|      0|        _Pypegen_stack_overflow(p);
21945|      0|    }
21946|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (21946:9): [True: 0, False: 108k]
  ------------------
21947|      0|        p->level--;
21948|      0|        return NULL;
21949|      0|    }
21950|   108k|    void * _res = NULL;
21951|   108k|    int _mark = p->mark;
21952|   108k|    { // disjunction 'if' disjunction 'else' '*'
21953|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21953:13): [True: 0, False: 108k]
  ------------------
21954|      0|            p->level--;
21955|      0|            return NULL;
21956|      0|        }
21957|   108k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21958|   108k|        Token * _keyword;
21959|   108k|        Token * _keyword_1;
21960|   108k|        Token * a;
21961|   108k|        expr_ty b;
21962|   108k|        expr_ty disjunction_var;
21963|   108k|        if (
21964|   108k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21964:13): [True: 0, False: 108k]
  ------------------
21965|      0|            &&
21966|      0|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (21966:13): [True: 0, False: 0]
  ------------------
21967|      0|            &&
21968|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21968:13): [True: 0, False: 0]
  ------------------
21969|      0|            &&
21970|      0|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (21970:13): [True: 0, False: 0]
  ------------------
21971|      0|            &&
21972|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (21972:13): [True: 0, False: 0]
  ------------------
21973|   108k|        )
21974|      0|        {
21975|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21976|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot unpack only part of a conditional expression" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21977|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21977:18): [True: 0, False: 0]
  |  Branch (21977:34): [True: 0, False: 0]
  |  Branch (21977:57): [True: 0, False: 0]
  ------------------
21978|      0|                p->error_indicator = 1;
21979|      0|                p->level--;
21980|      0|                return NULL;
21981|      0|            }
21982|      0|            goto done;
21983|      0|        }
21984|   108k|        p->mark = _mark;
21985|   108k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
21986|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21987|   108k|    }
21988|      0|    { // disjunction 'if' disjunction 'else' '**'
21989|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21989:13): [True: 0, False: 108k]
  ------------------
21990|      0|            p->level--;
21991|      0|            return NULL;
21992|      0|        }
21993|   108k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
21994|   108k|        Token * _keyword;
21995|   108k|        Token * _keyword_1;
21996|   108k|        Token * a;
21997|   108k|        expr_ty b;
21998|   108k|        expr_ty disjunction_var;
21999|   108k|        if (
22000|   108k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22000:13): [True: 0, False: 108k]
  ------------------
22001|      0|            &&
22002|      0|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (22002:13): [True: 0, False: 0]
  ------------------
22003|      0|            &&
22004|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22004:13): [True: 0, False: 0]
  ------------------
22005|      0|            &&
22006|      0|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (22006:13): [True: 0, False: 0]
  ------------------
22007|      0|            &&
22008|      0|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22008:13): [True: 0, False: 0]
  ------------------
22009|   108k|        )
22010|      0|        {
22011|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22012|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking on only part of a conditional expression" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22013|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22013:18): [True: 0, False: 0]
  |  Branch (22013:34): [True: 0, False: 0]
  |  Branch (22013:57): [True: 0, False: 0]
  ------------------
22014|      0|                p->error_indicator = 1;
22015|      0|                p->level--;
22016|      0|                return NULL;
22017|      0|            }
22018|      0|            goto done;
22019|      0|        }
22020|   108k|        p->mark = _mark;
22021|   108k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
22022|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22023|   108k|    }
22024|   108k|    _res = NULL;
22025|   108k|  done:
22026|   108k|    p->level--;
22027|   108k|    return _res;
22028|   108k|}
parser.c:invalid_expression_rule:
21693|   108k|{
21694|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21694:9): [True: 0, False: 108k]
  |  Branch (21694:35): [True: 0, False: 108k]
  ------------------
21695|      0|        _Pypegen_stack_overflow(p);
21696|      0|    }
21697|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (21697:9): [True: 0, False: 108k]
  ------------------
21698|      0|        p->level--;
21699|      0|        return NULL;
21700|      0|    }
21701|   108k|    void * _res = NULL;
21702|   108k|    int _mark = p->mark;
21703|   108k|    { // STRING ((!STRING expression_without_invalid))+ STRING
21704|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21704:13): [True: 0, False: 108k]
  ------------------
21705|      0|            p->level--;
21706|      0|            return NULL;
21707|      0|        }
21708|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21709|   108k|        asdl_seq * a;
21710|   108k|        expr_ty string_var;
21711|   108k|        expr_ty string_var_1;
21712|   108k|        if (
21713|   108k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (21713:13): [True: 0, False: 108k]
  ------------------
21714|      0|            &&
21715|      0|            (a = _loop1_115_rule(p))  // ((!STRING expression_without_invalid))+
  ------------------
  |  Branch (21715:13): [True: 0, False: 0]
  ------------------
21716|      0|            &&
21717|      0|            (string_var_1 = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (21717:13): [True: 0, False: 0]
  ------------------
21718|   108k|        )
21719|      0|        {
21720|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21721|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , expr_ty ) , PyPegen_last_item ( a , expr_ty ) , "invalid syntax. Is this intended to be part of the string?" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21722|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21722:18): [True: 0, False: 0]
  |  Branch (21722:34): [True: 0, False: 0]
  |  Branch (21722:57): [True: 0, False: 0]
  ------------------
21723|      0|                p->error_indicator = 1;
21724|      0|                p->level--;
21725|      0|                return NULL;
21726|      0|            }
21727|      0|            goto done;
21728|      0|        }
21729|   108k|        p->mark = _mark;
21730|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21731|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21732|   108k|    }
21733|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
21734|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21734:13): [True: 0, False: 108k]
  ------------------
21735|      0|            p->level--;
21736|      0|            return NULL;
21737|      0|        }
21738|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21739|   108k|        expr_ty a;
21740|   108k|        expr_ty b;
21741|   108k|        if (
21742|   108k|            _PyPegen_lookahead(0, _tmp_116_rule, p)
  ------------------
  |  Branch (21742:13): [True: 108k, False: 0]
  ------------------
21743|   108k|            &&
21744|   108k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21744:13): [True: 0, False: 108k]
  ------------------
21745|      0|            &&
21746|      0|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (21746:13): [True: 0, False: 0]
  ------------------
21747|   108k|        )
21748|      0|        {
21749|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21750|      0|            _res = _PyPegen_raise_error_for_missing_comma ( p , a , b );
21751|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21751:18): [True: 0, False: 0]
  |  Branch (21751:34): [True: 0, False: 0]
  |  Branch (21751:57): [True: 0, False: 0]
  ------------------
21752|      0|                p->error_indicator = 1;
21753|      0|                p->level--;
21754|      0|                return NULL;
21755|      0|            }
21756|      0|            goto done;
21757|      0|        }
21758|   108k|        p->mark = _mark;
21759|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21760|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21761|   108k|    }
21762|      0|    { // disjunction 'if' disjunction !('else' | ':')
21763|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21763:13): [True: 0, False: 108k]
  ------------------
21764|      0|            p->level--;
21765|      0|            return NULL;
21766|      0|        }
21767|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21768|   108k|        Token * _keyword;
21769|   108k|        expr_ty a;
21770|   108k|        expr_ty b;
21771|   108k|        if (
21772|   108k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21772:13): [True: 0, False: 108k]
  ------------------
21773|      0|            &&
21774|      0|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (21774:13): [True: 0, False: 0]
  ------------------
21775|      0|            &&
21776|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21776:13): [True: 0, False: 0]
  ------------------
21777|      0|            &&
21778|      0|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (21778:13): [True: 0, False: 0]
  ------------------
21779|   108k|        )
21780|      0|        {
21781|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21782|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected 'else' after 'if' expression" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21783|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21783:18): [True: 0, False: 0]
  |  Branch (21783:34): [True: 0, False: 0]
  |  Branch (21783:57): [True: 0, False: 0]
  ------------------
21784|      0|                p->error_indicator = 1;
21785|      0|                p->level--;
21786|      0|                return NULL;
21787|      0|            }
21788|      0|            goto done;
21789|      0|        }
21790|   108k|        p->mark = _mark;
21791|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21792|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21793|   108k|    }
21794|      0|    { // disjunction 'if' disjunction 'else' !expression
21795|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21795:13): [True: 0, False: 108k]
  ------------------
21796|      0|            p->level--;
21797|      0|            return NULL;
21798|      0|        }
21799|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21800|   108k|        Token * _keyword;
21801|   108k|        Token * _keyword_1;
21802|   108k|        expr_ty a;
21803|   108k|        expr_ty b;
21804|   108k|        if (
21805|   108k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21805:13): [True: 0, False: 108k]
  ------------------
21806|      0|            &&
21807|      0|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (21807:13): [True: 0, False: 0]
  ------------------
21808|      0|            &&
21809|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21809:13): [True: 0, False: 0]
  ------------------
21810|      0|            &&
21811|      0|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (21811:13): [True: 0, False: 0]
  ------------------
21812|      0|            &&
21813|      0|            _PyPegen_lookahead_for_expr(0, expression_rule, p)
  ------------------
  |  Branch (21813:13): [True: 0, False: 0]
  ------------------
21814|   108k|        )
21815|      0|        {
21816|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21817|      0|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "expected expression after 'else', but statement is given" );
  ------------------
  |  |  203|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
21818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21818:18): [True: 0, False: 0]
  |  Branch (21818:34): [True: 0, False: 0]
  |  Branch (21818:57): [True: 0, False: 0]
  ------------------
21819|      0|                p->error_indicator = 1;
21820|      0|                p->level--;
21821|      0|                return NULL;
21822|      0|            }
21823|      0|            goto done;
21824|      0|        }
21825|   108k|        p->mark = _mark;
21826|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21827|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21828|   108k|    }
21829|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
21830|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21830:13): [True: 0, False: 108k]
  ------------------
21831|      0|            p->level--;
21832|      0|            return NULL;
21833|      0|        }
21834|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21835|   108k|        Token * _keyword;
21836|   108k|        Token * _keyword_1;
21837|   108k|        stmt_ty a;
21838|   108k|        expr_ty b;
21839|   108k|        stmt_ty c;
21840|   108k|        if (
21841|   108k|            (a = (stmt_ty)_tmp_118_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (21841:13): [True: 0, False: 108k]
  ------------------
21842|      0|            &&
21843|      0|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (21843:13): [True: 0, False: 0]
  ------------------
21844|      0|            &&
21845|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21845:13): [True: 0, False: 0]
  ------------------
21846|      0|            &&
21847|      0|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (21847:13): [True: 0, False: 0]
  ------------------
21848|      0|            &&
21849|      0|            (c = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (21849:13): [True: 0, False: 0]
  ------------------
21850|   108k|        )
21851|      0|        {
21852|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21853|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected expression before 'if', but statement is given" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21854|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21854:18): [True: 0, False: 0]
  |  Branch (21854:34): [True: 0, False: 0]
  |  Branch (21854:57): [True: 0, False: 0]
  ------------------
21855|      0|                p->error_indicator = 1;
21856|      0|                p->level--;
21857|      0|                return NULL;
21858|      0|            }
21859|      0|            goto done;
21860|      0|        }
21861|   108k|        p->mark = _mark;
21862|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21863|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21864|   108k|    }
21865|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
21866|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21866:13): [True: 0, False: 108k]
  ------------------
21867|      0|            p->level--;
21868|      0|            return NULL;
21869|      0|        }
21870|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21871|   108k|        void *_opt_var;
21872|   108k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
21873|   108k|        Token * a;
21874|   108k|        Token * b;
21875|   108k|        if (
21876|   108k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21876:13): [True: 54.1k, False: 54.1k]
  ------------------
21877|  54.1k|            &&
21878|  54.1k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21878:13): [True: 54.1k, False: 0]
  ------------------
21879|  54.1k|            &&
21880|  54.1k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21880:13): [True: 54.1k, False: 0]
  ------------------
21881|  54.1k|            &&
21882|  54.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|  54.1k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (21882:13): [True: 0, False: 54.1k]
  ------------------
21883|   108k|        )
21884|      0|        {
21885|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21886|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "f-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21887|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21887:18): [True: 0, False: 0]
  |  Branch (21887:34): [True: 0, False: 0]
  |  Branch (21887:57): [True: 0, False: 0]
  ------------------
21888|      0|                p->error_indicator = 1;
21889|      0|                p->level--;
21890|      0|                return NULL;
21891|      0|            }
21892|      0|            goto done;
21893|      0|        }
21894|   108k|        p->mark = _mark;
21895|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21896|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21897|   108k|    }
21898|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
21899|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21899:13): [True: 0, False: 108k]
  ------------------
21900|      0|            p->level--;
21901|      0|            return NULL;
21902|      0|        }
21903|   108k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21904|   108k|        void *_opt_var;
21905|   108k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
21906|   108k|        Token * a;
21907|   108k|        Token * b;
21908|   108k|        if (
21909|   108k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21909:13): [True: 54.1k, False: 54.1k]
  ------------------
21910|  54.1k|            &&
21911|  54.1k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21911:13): [True: 54.1k, False: 0]
  ------------------
21912|  54.1k|            &&
21913|  54.1k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21913:13): [True: 54.1k, False: 0]
  ------------------
21914|  54.1k|            &&
21915|  54.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|  54.1k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (21915:13): [True: 0, False: 54.1k]
  ------------------
21916|   108k|        )
21917|      0|        {
21918|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21919|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "t-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21920|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21920:18): [True: 0, False: 0]
  |  Branch (21920:34): [True: 0, False: 0]
  |  Branch (21920:57): [True: 0, False: 0]
  ------------------
21921|      0|                p->error_indicator = 1;
21922|      0|                p->level--;
21923|      0|                return NULL;
21924|      0|            }
21925|      0|            goto done;
21926|      0|        }
21927|   108k|        p->mark = _mark;
21928|   108k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21929|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21930|   108k|    }
21931|   108k|    _res = NULL;
21932|   108k|  done:
21933|   108k|    p->level--;
21934|   108k|    return _res;
21935|   108k|}
parser.c:_tmp_116_rule:
35594|   108k|{
35595|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35595:9): [True: 0, False: 108k]
  |  Branch (35595:35): [True: 0, False: 108k]
  ------------------
35596|      0|        _Pypegen_stack_overflow(p);
35597|      0|    }
35598|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (35598:9): [True: 0, False: 108k]
  ------------------
35599|      0|        p->level--;
35600|      0|        return NULL;
35601|      0|    }
35602|   108k|    void * _res = NULL;
35603|   108k|    int _mark = p->mark;
35604|   108k|    { // NAME STRING
35605|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (35605:13): [True: 0, False: 108k]
  ------------------
35606|      0|            p->level--;
35607|      0|            return NULL;
35608|      0|        }
35609|   108k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
35610|   108k|        expr_ty name_var;
35611|   108k|        expr_ty string_var;
35612|   108k|        if (
35613|   108k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (35613:13): [True: 0, False: 108k]
  ------------------
35614|      0|            &&
35615|      0|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (35615:13): [True: 0, False: 0]
  ------------------
35616|   108k|        )
35617|      0|        {
35618|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
35619|      0|            _res = _PyPegen_dummy_name(p, name_var, string_var);
35620|      0|            goto done;
35621|      0|        }
35622|   108k|        p->mark = _mark;
35623|   108k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35624|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
35625|   108k|    }
35626|      0|    { // SOFT_KEYWORD
35627|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (35627:13): [True: 0, False: 108k]
  ------------------
35628|      0|            p->level--;
35629|      0|            return NULL;
35630|      0|        }
35631|   108k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
35632|   108k|        expr_ty soft_keyword_var;
35633|   108k|        if (
35634|   108k|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (35634:13): [True: 0, False: 108k]
  ------------------
35635|   108k|        )
35636|      0|        {
35637|      0|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
35638|      0|            _res = soft_keyword_var;
35639|      0|            goto done;
35640|      0|        }
35641|   108k|        p->mark = _mark;
35642|   108k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35643|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
35644|   108k|    }
35645|   108k|    _res = NULL;
35646|   108k|  done:
35647|   108k|    p->level--;
35648|   108k|    return _res;
35649|   108k|}
parser.c:_tmp_118_rule:
35711|   108k|{
35712|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35712:9): [True: 0, False: 108k]
  |  Branch (35712:35): [True: 0, False: 108k]
  ------------------
35713|      0|        _Pypegen_stack_overflow(p);
35714|      0|    }
35715|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (35715:9): [True: 0, False: 108k]
  ------------------
35716|      0|        p->level--;
35717|      0|        return NULL;
35718|      0|    }
35719|   108k|    void * _res = NULL;
35720|   108k|    int _mark = p->mark;
35721|   108k|    { // pass_stmt
35722|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (35722:13): [True: 0, False: 108k]
  ------------------
35723|      0|            p->level--;
35724|      0|            return NULL;
35725|      0|        }
35726|   108k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
35727|   108k|        stmt_ty pass_stmt_var;
35728|   108k|        if (
35729|   108k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (35729:13): [True: 0, False: 108k]
  ------------------
35730|   108k|        )
35731|      0|        {
35732|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
35733|      0|            _res = pass_stmt_var;
35734|      0|            goto done;
35735|      0|        }
35736|   108k|        p->mark = _mark;
35737|   108k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35738|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
35739|   108k|    }
35740|      0|    { // break_stmt
35741|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (35741:13): [True: 0, False: 108k]
  ------------------
35742|      0|            p->level--;
35743|      0|            return NULL;
35744|      0|        }
35745|   108k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
35746|   108k|        stmt_ty break_stmt_var;
35747|   108k|        if (
35748|   108k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (35748:13): [True: 0, False: 108k]
  ------------------
35749|   108k|        )
35750|      0|        {
35751|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "break_stmt"));
35752|      0|            _res = break_stmt_var;
35753|      0|            goto done;
35754|      0|        }
35755|   108k|        p->mark = _mark;
35756|   108k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35757|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
35758|   108k|    }
35759|      0|    { // continue_stmt
35760|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (35760:13): [True: 0, False: 108k]
  ------------------
35761|      0|            p->level--;
35762|      0|            return NULL;
35763|      0|        }
35764|   108k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
35765|   108k|        stmt_ty continue_stmt_var;
35766|   108k|        if (
35767|   108k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (35767:13): [True: 0, False: 108k]
  ------------------
35768|   108k|        )
35769|      0|        {
35770|      0|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
35771|      0|            _res = continue_stmt_var;
35772|      0|            goto done;
35773|      0|        }
35774|   108k|        p->mark = _mark;
35775|   108k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35776|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
35777|   108k|    }
35778|   108k|    _res = NULL;
35779|   108k|  done:
35780|   108k|    p->level--;
35781|   108k|    return _res;
35782|   108k|}
parser.c:pass_stmt_rule:
 2963|   108k|{
 2964|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2964:9): [True: 0, False: 108k]
  |  Branch (2964:35): [True: 0, False: 108k]
  ------------------
 2965|      0|        _Pypegen_stack_overflow(p);
 2966|      0|    }
 2967|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (2967:9): [True: 0, False: 108k]
  ------------------
 2968|      0|        p->level--;
 2969|      0|        return NULL;
 2970|      0|    }
 2971|   108k|    stmt_ty _res = NULL;
 2972|   108k|    int _mark = p->mark;
 2973|   108k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2973:9): [True: 0, False: 108k]
  |  Branch (2973:31): [True: 0, False: 0]
  ------------------
 2974|      0|        p->error_indicator = 1;
 2975|      0|        p->level--;
 2976|      0|        return NULL;
 2977|      0|    }
 2978|   108k|    int _start_lineno = p->tokens[_mark]->lineno;
 2979|   108k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 2980|   108k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2981|   108k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 2982|   108k|    { // 'pass'
 2983|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (2983:13): [True: 0, False: 108k]
  ------------------
 2984|      0|            p->level--;
 2985|      0|            return NULL;
 2986|      0|        }
 2987|   108k|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2988|   108k|        Token * _keyword;
 2989|   108k|        if (
 2990|   108k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='pass'
  ------------------
  |  Branch (2990:13): [True: 2, False: 108k]
  ------------------
 2991|   108k|        )
 2992|      2|        {
 2993|      2|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2994|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2995|      2|            if (_token == NULL) {
  ------------------
  |  Branch (2995:17): [True: 0, False: 2]
  ------------------
 2996|      0|                p->level--;
 2997|      0|                return NULL;
 2998|      0|            }
 2999|      2|            int _end_lineno = _token->end_lineno;
 3000|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3001|      2|            int _end_col_offset = _token->end_col_offset;
 3002|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3003|      2|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3004|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3004:18): [True: 0, False: 2]
  |  Branch (3004:34): [True: 0, False: 2]
  |  Branch (3004:57): [True: 0, False: 0]
  ------------------
 3005|      0|                p->error_indicator = 1;
 3006|      0|                p->level--;
 3007|      0|                return NULL;
 3008|      0|            }
 3009|      2|            goto done;
 3010|      2|        }
 3011|   108k|        p->mark = _mark;
 3012|   108k|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3013|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 3014|   108k|    }
 3015|   108k|    _res = NULL;
 3016|   108k|  done:
 3017|   108k|    p->level--;
 3018|   108k|    return _res;
 3019|   108k|}
parser.c:break_stmt_rule:
 3024|   108k|{
 3025|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3025:9): [True: 0, False: 108k]
  |  Branch (3025:35): [True: 0, False: 108k]
  ------------------
 3026|      0|        _Pypegen_stack_overflow(p);
 3027|      0|    }
 3028|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (3028:9): [True: 0, False: 108k]
  ------------------
 3029|      0|        p->level--;
 3030|      0|        return NULL;
 3031|      0|    }
 3032|   108k|    stmt_ty _res = NULL;
 3033|   108k|    int _mark = p->mark;
 3034|   108k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3034:9): [True: 0, False: 108k]
  |  Branch (3034:31): [True: 0, False: 0]
  ------------------
 3035|      0|        p->error_indicator = 1;
 3036|      0|        p->level--;
 3037|      0|        return NULL;
 3038|      0|    }
 3039|   108k|    int _start_lineno = p->tokens[_mark]->lineno;
 3040|   108k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 3041|   108k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3042|   108k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 3043|   108k|    { // 'break'
 3044|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (3044:13): [True: 0, False: 108k]
  ------------------
 3045|      0|            p->level--;
 3046|      0|            return NULL;
 3047|      0|        }
 3048|   108k|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 3049|   108k|        Token * _keyword;
 3050|   108k|        if (
 3051|   108k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='break'
  ------------------
  |  Branch (3051:13): [True: 0, False: 108k]
  ------------------
 3052|   108k|        )
 3053|      0|        {
 3054|      0|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 3055|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3056|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3056:17): [True: 0, False: 0]
  ------------------
 3057|      0|                p->level--;
 3058|      0|                return NULL;
 3059|      0|            }
 3060|      0|            int _end_lineno = _token->end_lineno;
 3061|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3062|      0|            int _end_col_offset = _token->end_col_offset;
 3063|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3064|      0|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3065|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3065:18): [True: 0, False: 0]
  |  Branch (3065:34): [True: 0, False: 0]
  |  Branch (3065:57): [True: 0, False: 0]
  ------------------
 3066|      0|                p->error_indicator = 1;
 3067|      0|                p->level--;
 3068|      0|                return NULL;
 3069|      0|            }
 3070|      0|            goto done;
 3071|      0|        }
 3072|   108k|        p->mark = _mark;
 3073|   108k|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3074|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 3075|   108k|    }
 3076|   108k|    _res = NULL;
 3077|   108k|  done:
 3078|   108k|    p->level--;
 3079|   108k|    return _res;
 3080|   108k|}
parser.c:continue_stmt_rule:
 3085|   108k|{
 3086|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3086:9): [True: 0, False: 108k]
  |  Branch (3086:35): [True: 0, False: 108k]
  ------------------
 3087|      0|        _Pypegen_stack_overflow(p);
 3088|      0|    }
 3089|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (3089:9): [True: 0, False: 108k]
  ------------------
 3090|      0|        p->level--;
 3091|      0|        return NULL;
 3092|      0|    }
 3093|   108k|    stmt_ty _res = NULL;
 3094|   108k|    int _mark = p->mark;
 3095|   108k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3095:9): [True: 0, False: 108k]
  |  Branch (3095:31): [True: 0, False: 0]
  ------------------
 3096|      0|        p->error_indicator = 1;
 3097|      0|        p->level--;
 3098|      0|        return NULL;
 3099|      0|    }
 3100|   108k|    int _start_lineno = p->tokens[_mark]->lineno;
 3101|   108k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 3102|   108k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3103|   108k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   108k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 3104|   108k|    { // 'continue'
 3105|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (3105:13): [True: 0, False: 108k]
  ------------------
 3106|      0|            p->level--;
 3107|      0|            return NULL;
 3108|      0|        }
 3109|   108k|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3110|   108k|        Token * _keyword;
 3111|   108k|        if (
 3112|   108k|            (_keyword = _PyPegen_expect_token(p, 529))  // token='continue'
  ------------------
  |  Branch (3112:13): [True: 0, False: 108k]
  ------------------
 3113|   108k|        )
 3114|      0|        {
 3115|      0|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3116|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3117|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3117:17): [True: 0, False: 0]
  ------------------
 3118|      0|                p->level--;
 3119|      0|                return NULL;
 3120|      0|            }
 3121|      0|            int _end_lineno = _token->end_lineno;
 3122|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3123|      0|            int _end_col_offset = _token->end_col_offset;
 3124|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3125|      0|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3126|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3126:18): [True: 0, False: 0]
  |  Branch (3126:34): [True: 0, False: 0]
  |  Branch (3126:57): [True: 0, False: 0]
  ------------------
 3127|      0|                p->error_indicator = 1;
 3128|      0|                p->level--;
 3129|      0|                return NULL;
 3130|      0|            }
 3131|      0|            goto done;
 3132|      0|        }
 3133|   108k|        p->mark = _mark;
 3134|   108k|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3135|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3136|   108k|    }
 3137|   108k|    _res = NULL;
 3138|   108k|  done:
 3139|   108k|    p->level--;
 3140|   108k|    return _res;
 3141|   108k|}
parser.c:simple_stmt_rule:
 1583|   219k|{
 1584|   219k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   438k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1584:9): [True: 0, False: 219k]
  |  Branch (1584:35): [True: 0, False: 219k]
  ------------------
 1585|      0|        _Pypegen_stack_overflow(p);
 1586|      0|    }
 1587|   219k|    if (p->error_indicator) {
  ------------------
  |  Branch (1587:9): [True: 0, False: 219k]
  ------------------
 1588|      0|        p->level--;
 1589|      0|        return NULL;
 1590|      0|    }
 1591|   219k|    stmt_ty _res = NULL;
 1592|   219k|    if (_PyPegen_is_memoized(p, simple_stmt_type, &_res)) {
  ------------------
  |  |   98|   219k|#define simple_stmt_type 1009
  ------------------
  |  Branch (1592:9): [True: 109k, False: 110k]
  ------------------
 1593|   109k|        p->level--;
 1594|   109k|        return _res;
 1595|   109k|    }
 1596|   110k|    int _mark = p->mark;
 1597|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1597:9): [True: 0, False: 110k]
  |  Branch (1597:31): [True: 0, False: 0]
  ------------------
 1598|      0|        p->error_indicator = 1;
 1599|      0|        p->level--;
 1600|      0|        return NULL;
 1601|      0|    }
 1602|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
 1603|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 1604|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1605|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 1606|   110k|    { // assignment
 1607|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1607:13): [True: 0, False: 110k]
  ------------------
 1608|      0|            p->level--;
 1609|      0|            return NULL;
 1610|      0|        }
 1611|   110k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment"));
 1612|   110k|        stmt_ty assignment_var;
 1613|   110k|        if (
 1614|   110k|            (assignment_var = assignment_rule(p))  // assignment
  ------------------
  |  Branch (1614:13): [True: 160, False: 109k]
  ------------------
 1615|   110k|        )
 1616|    160|        {
 1617|    160|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment"));
 1618|    160|            _res = assignment_var;
 1619|    160|            goto done;
 1620|    160|        }
 1621|   109k|        p->mark = _mark;
 1622|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1623|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment"));
 1624|   109k|    }
 1625|      0|    { // &"type" type_alias
 1626|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1626:13): [True: 0, False: 109k]
  ------------------
 1627|      0|            p->level--;
 1628|      0|            return NULL;
 1629|      0|        }
 1630|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1631|   109k|        stmt_ty type_alias_var;
 1632|   109k|        if (
 1633|   109k|            _PyPegen_lookahead_with_string(1, _PyPegen_expect_soft_keyword, p, "type")
  ------------------
  |  Branch (1633:13): [True: 0, False: 109k]
  ------------------
 1634|      0|            &&
 1635|      0|            (type_alias_var = type_alias_rule(p))  // type_alias
  ------------------
  |  Branch (1635:13): [True: 0, False: 0]
  ------------------
 1636|   109k|        )
 1637|      0|        {
 1638|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1639|      0|            _res = type_alias_var;
 1640|      0|            goto done;
 1641|      0|        }
 1642|   109k|        p->mark = _mark;
 1643|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1644|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&\"type\" type_alias"));
 1645|   109k|    }
 1646|      0|    { // &('import' | 'from' | "lazy") import_stmt
 1647|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1647:13): [True: 0, False: 109k]
  ------------------
 1648|      0|            p->level--;
 1649|      0|            return NULL;
 1650|      0|        }
 1651|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1652|   109k|        stmt_ty import_stmt_var;
 1653|   109k|        if (
 1654|   109k|            _PyPegen_lookahead(1, _tmp_5_rule, p)
  ------------------
  |  Branch (1654:13): [True: 101, False: 109k]
  ------------------
 1655|    101|            &&
 1656|    101|            (import_stmt_var = import_stmt_rule(p))  // import_stmt
  ------------------
  |  Branch (1656:13): [True: 101, False: 0]
  ------------------
 1657|   109k|        )
 1658|    101|        {
 1659|    101|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1660|    101|            _res = import_stmt_var;
 1661|    101|            goto done;
 1662|    101|        }
 1663|   109k|        p->mark = _mark;
 1664|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1665|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1666|   109k|    }
 1667|      0|    { // star_expressions
 1668|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1668:13): [True: 0, False: 109k]
  ------------------
 1669|      0|            p->level--;
 1670|      0|            return NULL;
 1671|      0|        }
 1672|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1673|   109k|        expr_ty e;
 1674|   109k|        if (
 1675|   109k|            (e = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (1675:13): [True: 198, False: 109k]
  ------------------
 1676|   109k|        )
 1677|    198|        {
 1678|    198|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1679|    198|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1680|    198|            if (_token == NULL) {
  ------------------
  |  Branch (1680:17): [True: 0, False: 198]
  ------------------
 1681|      0|                p->level--;
 1682|      0|                return NULL;
 1683|      0|            }
 1684|    198|            int _end_lineno = _token->end_lineno;
 1685|    198|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    198|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 198]
  |  |  ------------------
  ------------------
 1686|    198|            int _end_col_offset = _token->end_col_offset;
 1687|    198|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    198|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 198]
  |  |  ------------------
  ------------------
 1688|    198|            _res = _PyAST_Expr ( e , EXTRA );
  ------------------
  |  |  269|    198|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1689|    198|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1689:18): [True: 0, False: 198]
  |  Branch (1689:34): [True: 0, False: 198]
  |  Branch (1689:57): [True: 0, False: 0]
  ------------------
 1690|      0|                p->error_indicator = 1;
 1691|      0|                p->level--;
 1692|      0|                return NULL;
 1693|      0|            }
 1694|    198|            goto done;
 1695|    198|        }
 1696|   109k|        p->mark = _mark;
 1697|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1698|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 1699|   109k|    }
 1700|      0|    { // &'return' return_stmt
 1701|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1701:13): [True: 0, False: 109k]
  ------------------
 1702|      0|            p->level--;
 1703|      0|            return NULL;
 1704|      0|        }
 1705|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1706|   109k|        stmt_ty return_stmt_var;
 1707|   109k|        if (
 1708|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 522)  // token='return'
  ------------------
  |  Branch (1708:13): [True: 446, False: 109k]
  ------------------
 1709|    446|            &&
 1710|    446|            (return_stmt_var = return_stmt_rule(p))  // return_stmt
  ------------------
  |  Branch (1710:13): [True: 446, False: 0]
  ------------------
 1711|   109k|        )
 1712|    446|        {
 1713|    446|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1714|    446|            _res = return_stmt_var;
 1715|    446|            goto done;
 1716|    446|        }
 1717|   109k|        p->mark = _mark;
 1718|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1719|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'return' return_stmt"));
 1720|   109k|    }
 1721|      0|    { // &'raise' raise_stmt
 1722|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 109k]
  ------------------
 1723|      0|            p->level--;
 1724|      0|            return NULL;
 1725|      0|        }
 1726|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1727|   109k|        stmt_ty raise_stmt_var;
 1728|   109k|        if (
 1729|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 632)  // token='raise'
  ------------------
  |  Branch (1729:13): [True: 50, False: 109k]
  ------------------
 1730|     50|            &&
 1731|     50|            (raise_stmt_var = raise_stmt_rule(p))  // raise_stmt
  ------------------
  |  Branch (1731:13): [True: 50, False: 0]
  ------------------
 1732|   109k|        )
 1733|     50|        {
 1734|     50|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1735|     50|            _res = raise_stmt_var;
 1736|     50|            goto done;
 1737|     50|        }
 1738|   109k|        p->mark = _mark;
 1739|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1740|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'raise' raise_stmt"));
 1741|   109k|    }
 1742|      0|    { // &'pass' pass_stmt
 1743|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1743:13): [True: 0, False: 109k]
  ------------------
 1744|      0|            p->level--;
 1745|      0|            return NULL;
 1746|      0|        }
 1747|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1748|   109k|        stmt_ty pass_stmt_var;
 1749|   109k|        if (
 1750|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 527)  // token='pass'
  ------------------
  |  Branch (1750:13): [True: 2, False: 109k]
  ------------------
 1751|      2|            &&
 1752|      2|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (1752:13): [True: 2, False: 0]
  ------------------
 1753|   109k|        )
 1754|      2|        {
 1755|      2|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1756|      2|            _res = pass_stmt_var;
 1757|      2|            goto done;
 1758|      2|        }
 1759|   109k|        p->mark = _mark;
 1760|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1761|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'pass' pass_stmt"));
 1762|   109k|    }
 1763|      0|    { // &'del' del_stmt
 1764|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1764:13): [True: 0, False: 109k]
  ------------------
 1765|      0|            p->level--;
 1766|      0|            return NULL;
 1767|      0|        }
 1768|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1769|   109k|        stmt_ty del_stmt_var;
 1770|   109k|        if (
 1771|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 634)  // token='del'
  ------------------
  |  Branch (1771:13): [True: 0, False: 109k]
  ------------------
 1772|      0|            &&
 1773|      0|            (del_stmt_var = del_stmt_rule(p))  // del_stmt
  ------------------
  |  Branch (1773:13): [True: 0, False: 0]
  ------------------
 1774|   109k|        )
 1775|      0|        {
 1776|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1777|      0|            _res = del_stmt_var;
 1778|      0|            goto done;
 1779|      0|        }
 1780|   109k|        p->mark = _mark;
 1781|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1782|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'del' del_stmt"));
 1783|   109k|    }
 1784|      0|    { // &'yield' yield_stmt
 1785|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1785:13): [True: 0, False: 109k]
  ------------------
 1786|      0|            p->level--;
 1787|      0|            return NULL;
 1788|      0|        }
 1789|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1790|   109k|        stmt_ty yield_stmt_var;
 1791|   109k|        if (
 1792|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 588)  // token='yield'
  ------------------
  |  Branch (1792:13): [True: 0, False: 109k]
  ------------------
 1793|      0|            &&
 1794|      0|            (yield_stmt_var = yield_stmt_rule(p))  // yield_stmt
  ------------------
  |  Branch (1794:13): [True: 0, False: 0]
  ------------------
 1795|   109k|        )
 1796|      0|        {
 1797|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1798|      0|            _res = yield_stmt_var;
 1799|      0|            goto done;
 1800|      0|        }
 1801|   109k|        p->mark = _mark;
 1802|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1803|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'yield' yield_stmt"));
 1804|   109k|    }
 1805|      0|    { // &'assert' assert_stmt
 1806|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 109k]
  ------------------
 1807|      0|            p->level--;
 1808|      0|            return NULL;
 1809|      0|        }
 1810|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1811|   109k|        stmt_ty assert_stmt_var;
 1812|   109k|        if (
 1813|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 638)  // token='assert'
  ------------------
  |  Branch (1813:13): [True: 2, False: 109k]
  ------------------
 1814|      2|            &&
 1815|      2|            (assert_stmt_var = assert_stmt_rule(p))  // assert_stmt
  ------------------
  |  Branch (1815:13): [True: 2, False: 0]
  ------------------
 1816|   109k|        )
 1817|      2|        {
 1818|      2|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1819|      2|            _res = assert_stmt_var;
 1820|      2|            goto done;
 1821|      2|        }
 1822|   109k|        p->mark = _mark;
 1823|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1824|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'assert' assert_stmt"));
 1825|   109k|    }
 1826|      0|    { // &'break' break_stmt
 1827|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1827:13): [True: 0, False: 109k]
  ------------------
 1828|      0|            p->level--;
 1829|      0|            return NULL;
 1830|      0|        }
 1831|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1832|   109k|        stmt_ty break_stmt_var;
 1833|   109k|        if (
 1834|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 528)  // token='break'
  ------------------
  |  Branch (1834:13): [True: 0, False: 109k]
  ------------------
 1835|      0|            &&
 1836|      0|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (1836:13): [True: 0, False: 0]
  ------------------
 1837|   109k|        )
 1838|      0|        {
 1839|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1840|      0|            _res = break_stmt_var;
 1841|      0|            goto done;
 1842|      0|        }
 1843|   109k|        p->mark = _mark;
 1844|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1845|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'break' break_stmt"));
 1846|   109k|    }
 1847|      0|    { // &'continue' continue_stmt
 1848|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1848:13): [True: 0, False: 109k]
  ------------------
 1849|      0|            p->level--;
 1850|      0|            return NULL;
 1851|      0|        }
 1852|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1853|   109k|        stmt_ty continue_stmt_var;
 1854|   109k|        if (
 1855|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 529)  // token='continue'
  ------------------
  |  Branch (1855:13): [True: 0, False: 109k]
  ------------------
 1856|      0|            &&
 1857|      0|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (1857:13): [True: 0, False: 0]
  ------------------
 1858|   109k|        )
 1859|      0|        {
 1860|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1861|      0|            _res = continue_stmt_var;
 1862|      0|            goto done;
 1863|      0|        }
 1864|   109k|        p->mark = _mark;
 1865|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1866|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'continue' continue_stmt"));
 1867|   109k|    }
 1868|      0|    { // &'global' global_stmt
 1869|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1869:13): [True: 0, False: 109k]
  ------------------
 1870|      0|            p->level--;
 1871|      0|            return NULL;
 1872|      0|        }
 1873|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1874|   109k|        stmt_ty global_stmt_var;
 1875|   109k|        if (
 1876|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 530)  // token='global'
  ------------------
  |  Branch (1876:13): [True: 0, False: 109k]
  ------------------
 1877|      0|            &&
 1878|      0|            (global_stmt_var = global_stmt_rule(p))  // global_stmt
  ------------------
  |  Branch (1878:13): [True: 0, False: 0]
  ------------------
 1879|   109k|        )
 1880|      0|        {
 1881|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1882|      0|            _res = global_stmt_var;
 1883|      0|            goto done;
 1884|      0|        }
 1885|   109k|        p->mark = _mark;
 1886|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1887|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'global' global_stmt"));
 1888|   109k|    }
 1889|      0|    { // &'nonlocal' nonlocal_stmt
 1890|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 109k]
  ------------------
 1891|      0|            p->level--;
 1892|      0|            return NULL;
 1893|      0|        }
 1894|   109k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1895|   109k|        stmt_ty nonlocal_stmt_var;
 1896|   109k|        if (
 1897|   109k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 531)  // token='nonlocal'
  ------------------
  |  Branch (1897:13): [True: 0, False: 109k]
  ------------------
 1898|      0|            &&
 1899|      0|            (nonlocal_stmt_var = nonlocal_stmt_rule(p))  // nonlocal_stmt
  ------------------
  |  Branch (1899:13): [True: 0, False: 0]
  ------------------
 1900|   109k|        )
 1901|      0|        {
 1902|      0|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1903|      0|            _res = nonlocal_stmt_var;
 1904|      0|            goto done;
 1905|      0|        }
 1906|   109k|        p->mark = _mark;
 1907|   109k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1908|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1909|   109k|    }
 1910|   109k|    _res = NULL;
 1911|   110k|  done:
 1912|   110k|    _PyPegen_insert_memo(p, _mark, simple_stmt_type, _res);
  ------------------
  |  |   98|   110k|#define simple_stmt_type 1009
  ------------------
 1913|   110k|    p->level--;
 1914|   110k|    return _res;
 1915|   109k|}
parser.c:assignment_rule:
 2118|   110k|{
 2119|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2119:9): [True: 0, False: 110k]
  |  Branch (2119:35): [True: 0, False: 110k]
  ------------------
 2120|      0|        _Pypegen_stack_overflow(p);
 2121|      0|    }
 2122|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (2122:9): [True: 0, False: 110k]
  ------------------
 2123|      0|        p->level--;
 2124|      0|        return NULL;
 2125|      0|    }
 2126|   110k|    stmt_ty _res = NULL;
 2127|   110k|    int _mark = p->mark;
 2128|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2128:9): [True: 0, False: 110k]
  |  Branch (2128:31): [True: 0, False: 0]
  ------------------
 2129|      0|        p->error_indicator = 1;
 2130|      0|        p->level--;
 2131|      0|        return NULL;
 2132|      0|    }
 2133|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
 2134|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 2135|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2136|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 2137|   110k|    { // NAME ':' expression ['=' annotated_rhs]
 2138|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2138:13): [True: 0, False: 110k]
  ------------------
 2139|      0|            p->level--;
 2140|      0|            return NULL;
 2141|      0|        }
 2142|   110k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2143|   110k|        Token * _literal;
 2144|   110k|        expr_ty a;
 2145|   110k|        expr_ty b;
 2146|   110k|        void *c;
 2147|   110k|        if (
 2148|   110k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (2148:13): [True: 352, False: 109k]
  ------------------
 2149|    352|            &&
 2150|    352|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2150:13): [True: 0, False: 352]
  ------------------
 2151|      0|            &&
 2152|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2152:13): [True: 0, False: 0]
  ------------------
 2153|      0|            &&
 2154|      0|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2154:13): [True: 0, False: 0]
  ------------------
 2155|   110k|        )
 2156|      0|        {
 2157|      0|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2158|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2159|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2159:17): [True: 0, False: 0]
  ------------------
 2160|      0|                p->level--;
 2161|      0|                return NULL;
 2162|      0|            }
 2163|      0|            int _end_lineno = _token->end_lineno;
 2164|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2165|      0|            int _end_col_offset = _token->end_col_offset;
 2166|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2167|      0|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotation syntax is" , _PyAST_AnnAssign ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , c , 1 , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2168|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2168:18): [True: 0, False: 0]
  |  Branch (2168:34): [True: 0, False: 0]
  |  Branch (2168:57): [True: 0, False: 0]
  ------------------
 2169|      0|                p->error_indicator = 1;
 2170|      0|                p->level--;
 2171|      0|                return NULL;
 2172|      0|            }
 2173|      0|            goto done;
 2174|      0|        }
 2175|   110k|        p->mark = _mark;
 2176|   110k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2177|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2178|   110k|    }
 2179|      0|    { // ('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]
 2180|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 110k]
  ------------------
 2181|      0|            p->level--;
 2182|      0|            return NULL;
 2183|      0|        }
 2184|   110k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2185|   110k|        Token * _literal;
 2186|   110k|        void *a;
 2187|   110k|        expr_ty b;
 2188|   110k|        void *c;
 2189|   110k|        if (
 2190|   110k|            (a = _tmp_11_rule(p))  // '(' single_target ')' | single_subscript_attribute_target
  ------------------
  |  Branch (2190:13): [True: 108, False: 109k]
  ------------------
 2191|    108|            &&
 2192|    108|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2192:13): [True: 0, False: 108]
  ------------------
 2193|      0|            &&
 2194|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2194:13): [True: 0, False: 0]
  ------------------
 2195|      0|            &&
 2196|      0|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2196:13): [True: 0, False: 0]
  ------------------
 2197|   110k|        )
 2198|      0|        {
 2199|      0|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2200|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2201|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2201:17): [True: 0, False: 0]
  ------------------
 2202|      0|                p->level--;
 2203|      0|                return NULL;
 2204|      0|            }
 2205|      0|            int _end_lineno = _token->end_lineno;
 2206|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2207|      0|            int _end_col_offset = _token->end_col_offset;
 2208|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2209|      0|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotations syntax is" , _PyAST_AnnAssign ( a , b , c , 0 , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2210|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2210:18): [True: 0, False: 0]
  |  Branch (2210:34): [True: 0, False: 0]
  |  Branch (2210:57): [True: 0, False: 0]
  ------------------
 2211|      0|                p->error_indicator = 1;
 2212|      0|                p->level--;
 2213|      0|                return NULL;
 2214|      0|            }
 2215|      0|            goto done;
 2216|      0|        }
 2217|   110k|        p->mark = _mark;
 2218|   110k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2219|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2220|   110k|    }
 2221|      0|    { // ((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?
 2222|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (2222:13): [True: 0, False: 110k]
  ------------------
 2223|      0|            p->level--;
 2224|      0|            return NULL;
 2225|      0|        }
 2226|   110k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2227|   110k|        asdl_expr_seq* a;
 2228|   110k|        expr_ty b;
 2229|   110k|        void *tc;
 2230|   110k|        if (
 2231|   110k|            (a = (asdl_expr_seq*)_loop1_12_rule(p))  // ((star_targets '='))+
  ------------------
  |  Branch (2231:13): [True: 154, False: 109k]
  ------------------
 2232|    154|            &&
 2233|    154|            (b = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2233:13): [True: 154, False: 0]
  ------------------
 2234|    154|            &&
 2235|    154|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (2235:13): [True: 154, False: 0]
  ------------------
 2236|    154|            &&
 2237|    154|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    154|#define TYPE_COMMENT    57
  ------------------
  |  Branch (2237:13): [True: 154, False: 0]
  ------------------
 2238|   110k|        )
 2239|    154|        {
 2240|    154|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2241|    154|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2242|    154|            if (_token == NULL) {
  ------------------
  |  Branch (2242:17): [True: 0, False: 154]
  ------------------
 2243|      0|                p->level--;
 2244|      0|                return NULL;
 2245|      0|            }
 2246|    154|            int _end_lineno = _token->end_lineno;
 2247|    154|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    154|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 154]
  |  |  ------------------
  ------------------
 2248|    154|            int _end_col_offset = _token->end_col_offset;
 2249|    154|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    154|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 154]
  |  |  ------------------
  ------------------
 2250|    154|            _res = _PyAST_Assign ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|    154|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2251|    154|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2251:18): [True: 0, False: 154]
  |  Branch (2251:34): [True: 0, False: 154]
  |  Branch (2251:57): [True: 0, False: 0]
  ------------------
 2252|      0|                p->error_indicator = 1;
 2253|      0|                p->level--;
 2254|      0|                return NULL;
 2255|      0|            }
 2256|    154|            goto done;
 2257|    154|        }
 2258|   109k|        p->mark = _mark;
 2259|   109k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2260|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2261|   109k|    }
 2262|      0|    { // single_target augassign ~ annotated_rhs
 2263|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (2263:13): [True: 0, False: 109k]
  ------------------
 2264|      0|            p->level--;
 2265|      0|            return NULL;
 2266|      0|        }
 2267|   109k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2268|   109k|        int _cut_var = 0;
 2269|   109k|        expr_ty a;
 2270|   109k|        AugOperator* b;
 2271|   109k|        expr_ty c;
 2272|   109k|        if (
 2273|   109k|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (2273:13): [True: 198, False: 109k]
  ------------------
 2274|    198|            &&
 2275|    198|            (b = augassign_rule(p))  // augassign
  ------------------
  |  Branch (2275:13): [True: 6, False: 192]
  ------------------
 2276|      6|            &&
 2277|      6|            (_cut_var = 1)
  ------------------
  |  Branch (2277:13): [True: 6, False: 0]
  ------------------
 2278|      6|            &&
 2279|      6|            (c = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2279:13): [True: 6, False: 0]
  ------------------
 2280|   109k|        )
 2281|      6|        {
 2282|      6|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2283|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2284|      6|            if (_token == NULL) {
  ------------------
  |  Branch (2284:17): [True: 0, False: 6]
  ------------------
 2285|      0|                p->level--;
 2286|      0|                return NULL;
 2287|      0|            }
 2288|      6|            int _end_lineno = _token->end_lineno;
 2289|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
 2290|      6|            int _end_col_offset = _token->end_col_offset;
 2291|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
 2292|      6|            _res = _PyAST_AugAssign ( a , b -> kind , c , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2293|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2293:18): [True: 0, False: 6]
  |  Branch (2293:34): [True: 0, False: 6]
  |  Branch (2293:57): [True: 0, False: 0]
  ------------------
 2294|      0|                p->error_indicator = 1;
 2295|      0|                p->level--;
 2296|      0|                return NULL;
 2297|      0|            }
 2298|      6|            goto done;
 2299|      6|        }
 2300|   109k|        p->mark = _mark;
 2301|   109k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2302|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2303|   109k|        if (_cut_var) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 109k]
  ------------------
 2304|      0|            p->level--;
 2305|      0|            return NULL;
 2306|      0|        }
 2307|   109k|    }
 2308|   109k|    if (p->call_invalid_rules) { // invalid_assignment
  ------------------
  |  Branch (2308:9): [True: 54.1k, False: 55.7k]
  ------------------
 2309|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (2309:13): [True: 0, False: 54.1k]
  ------------------
 2310|      0|            p->level--;
 2311|      0|            return NULL;
 2312|      0|        }
 2313|  54.1k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2314|  54.1k|        void *invalid_assignment_var;
 2315|  54.1k|        if (
 2316|  54.1k|            (invalid_assignment_var = invalid_assignment_rule(p))  // invalid_assignment
  ------------------
  |  Branch (2316:13): [True: 0, False: 54.1k]
  ------------------
 2317|  54.1k|        )
 2318|      0|        {
 2319|      0|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2320|      0|            _res = invalid_assignment_var;
 2321|      0|            goto done;
 2322|      0|        }
 2323|  54.1k|        p->mark = _mark;
 2324|  54.1k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2325|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assignment"));
 2326|  54.1k|    }
 2327|   109k|    _res = NULL;
 2328|   110k|  done:
 2329|   110k|    p->level--;
 2330|   110k|    return _res;
 2331|   109k|}
parser.c:_tmp_11_rule:
29065|   110k|{
29066|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29066:9): [True: 0, False: 110k]
  |  Branch (29066:35): [True: 0, False: 110k]
  ------------------
29067|      0|        _Pypegen_stack_overflow(p);
29068|      0|    }
29069|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (29069:9): [True: 0, False: 110k]
  ------------------
29070|      0|        p->level--;
29071|      0|        return NULL;
29072|      0|    }
29073|   110k|    void * _res = NULL;
29074|   110k|    int _mark = p->mark;
29075|   110k|    { // '(' single_target ')'
29076|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (29076:13): [True: 0, False: 110k]
  ------------------
29077|      0|            p->level--;
29078|      0|            return NULL;
29079|      0|        }
29080|   110k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
29081|   110k|        Token * _literal;
29082|   110k|        Token * _literal_1;
29083|   110k|        expr_ty b;
29084|   110k|        if (
29085|   110k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (29085:13): [True: 0, False: 110k]
  ------------------
29086|      0|            &&
29087|      0|            (b = single_target_rule(p))  // single_target
  ------------------
  |  Branch (29087:13): [True: 0, False: 0]
  ------------------
29088|      0|            &&
29089|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (29089:13): [True: 0, False: 0]
  ------------------
29090|   110k|        )
29091|      0|        {
29092|      0|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
29093|      0|            _res = b;
29094|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29094:18): [True: 0, False: 0]
  |  Branch (29094:34): [True: 0, False: 0]
  |  Branch (29094:57): [True: 0, False: 0]
  ------------------
29095|      0|                p->error_indicator = 1;
29096|      0|                p->level--;
29097|      0|                return NULL;
29098|      0|            }
29099|      0|            goto done;
29100|      0|        }
29101|   110k|        p->mark = _mark;
29102|   110k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29103|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
29104|   110k|    }
29105|      0|    { // single_subscript_attribute_target
29106|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (29106:13): [True: 0, False: 110k]
  ------------------
29107|      0|            p->level--;
29108|      0|            return NULL;
29109|      0|        }
29110|   110k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29111|   110k|        expr_ty single_subscript_attribute_target_var;
29112|   110k|        if (
29113|   110k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (29113:13): [True: 108, False: 109k]
  ------------------
29114|   110k|        )
29115|    108|        {
29116|    108|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29117|    108|            _res = single_subscript_attribute_target_var;
29118|    108|            goto done;
29119|    108|        }
29120|   109k|        p->mark = _mark;
29121|   109k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29122|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
29123|   109k|    }
29124|   109k|    _res = NULL;
29125|   110k|  done:
29126|   110k|    p->level--;
29127|   110k|    return _res;
29128|   109k|}
parser.c:single_subscript_attribute_target_rule:
19903|   220k|{
19904|   220k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   440k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19904:9): [True: 0, False: 220k]
  |  Branch (19904:35): [True: 0, False: 220k]
  ------------------
19905|      0|        _Pypegen_stack_overflow(p);
19906|      0|    }
19907|   220k|    if (p->error_indicator) {
  ------------------
  |  Branch (19907:9): [True: 0, False: 220k]
  ------------------
19908|      0|        p->level--;
19909|      0|        return NULL;
19910|      0|    }
19911|   220k|    expr_ty _res = NULL;
19912|   220k|    int _mark = p->mark;
19913|   220k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19913:9): [True: 0, False: 220k]
  |  Branch (19913:31): [True: 0, False: 0]
  ------------------
19914|      0|        p->error_indicator = 1;
19915|      0|        p->level--;
19916|      0|        return NULL;
19917|      0|    }
19918|   220k|    int _start_lineno = p->tokens[_mark]->lineno;
19919|   220k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   220k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 220k]
  |  |  ------------------
  ------------------
19920|   220k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19921|   220k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   220k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 220k]
  |  |  ------------------
  ------------------
19922|   220k|    { // t_primary '.' NAME !t_lookahead
19923|   220k|        if (p->error_indicator) {
  ------------------
  |  Branch (19923:13): [True: 0, False: 220k]
  ------------------
19924|      0|            p->level--;
19925|      0|            return NULL;
19926|      0|        }
19927|   220k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19928|   220k|        Token * _literal;
19929|   220k|        expr_ty a;
19930|   220k|        expr_ty b;
19931|   220k|        if (
19932|   220k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19932:13): [True: 492, False: 219k]
  ------------------
19933|    492|            &&
19934|    492|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19934:13): [True: 104, False: 388]
  ------------------
19935|    104|            &&
19936|    104|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19936:13): [True: 104, False: 0]
  ------------------
19937|    104|            &&
19938|    104|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19938:13): [True: 104, False: 0]
  ------------------
19939|   220k|        )
19940|    104|        {
19941|    104|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19942|    104|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19943|    104|            if (_token == NULL) {
  ------------------
  |  Branch (19943:17): [True: 0, False: 104]
  ------------------
19944|      0|                p->level--;
19945|      0|                return NULL;
19946|      0|            }
19947|    104|            int _end_lineno = _token->end_lineno;
19948|    104|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    104|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 104]
  |  |  ------------------
  ------------------
19949|    104|            int _end_col_offset = _token->end_col_offset;
19950|    104|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    104|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 104]
  |  |  ------------------
  ------------------
19951|    104|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  269|    104|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19952|    104|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19952:18): [True: 0, False: 104]
  |  Branch (19952:34): [True: 0, False: 104]
  |  Branch (19952:57): [True: 0, False: 0]
  ------------------
19953|      0|                p->error_indicator = 1;
19954|      0|                p->level--;
19955|      0|                return NULL;
19956|      0|            }
19957|    104|            goto done;
19958|    104|        }
19959|   219k|        p->mark = _mark;
19960|   219k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
19961|   219k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19962|   219k|    }
19963|      0|    { // t_primary '[' slices ']' !t_lookahead
19964|   219k|        if (p->error_indicator) {
  ------------------
  |  Branch (19964:13): [True: 0, False: 219k]
  ------------------
19965|      0|            p->level--;
19966|      0|            return NULL;
19967|      0|        }
19968|   219k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19969|   219k|        Token * _literal;
19970|   219k|        Token * _literal_1;
19971|   219k|        expr_ty a;
19972|   219k|        expr_ty b;
19973|   219k|        if (
19974|   219k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19974:13): [True: 388, False: 219k]
  ------------------
19975|    388|            &&
19976|    388|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19976:13): [True: 4, False: 384]
  ------------------
19977|      4|            &&
19978|      4|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (19978:13): [True: 4, False: 0]
  ------------------
19979|      4|            &&
19980|      4|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19980:13): [True: 4, False: 0]
  ------------------
19981|      4|            &&
19982|      4|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19982:13): [True: 4, False: 0]
  ------------------
19983|   219k|        )
19984|      4|        {
19985|      4|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19986|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19987|      4|            if (_token == NULL) {
  ------------------
  |  Branch (19987:17): [True: 0, False: 4]
  ------------------
19988|      0|                p->level--;
19989|      0|                return NULL;
19990|      0|            }
19991|      4|            int _end_lineno = _token->end_lineno;
19992|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
19993|      4|            int _end_col_offset = _token->end_col_offset;
19994|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
19995|      4|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19996|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19996:18): [True: 0, False: 4]
  |  Branch (19996:34): [True: 0, False: 4]
  |  Branch (19996:57): [True: 0, False: 0]
  ------------------
19997|      0|                p->error_indicator = 1;
19998|      0|                p->level--;
19999|      0|                return NULL;
20000|      0|            }
20001|      4|            goto done;
20002|      4|        }
20003|   219k|        p->mark = _mark;
20004|   219k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
20005|   219k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20006|   219k|    }
20007|   219k|    _res = NULL;
20008|   220k|  done:
20009|   220k|    p->level--;
20010|   220k|    return _res;
20011|   219k|}
parser.c:_loop1_12_rule:
29133|   110k|{
29134|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29134:9): [True: 0, False: 110k]
  |  Branch (29134:35): [True: 0, False: 110k]
  ------------------
29135|      0|        _Pypegen_stack_overflow(p);
29136|      0|    }
29137|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (29137:9): [True: 0, False: 110k]
  ------------------
29138|      0|        p->level--;
29139|      0|        return NULL;
29140|      0|    }
29141|   110k|    void *_res = NULL;
29142|   110k|    int _mark = p->mark;
29143|   110k|    void **_children = PyMem_Malloc(sizeof(void *));
29144|   110k|    if (!_children) {
  ------------------
  |  Branch (29144:9): [True: 0, False: 110k]
  ------------------
29145|      0|        p->error_indicator = 1;
29146|      0|        PyErr_NoMemory();
29147|      0|        p->level--;
29148|      0|        return NULL;
29149|      0|    }
29150|   110k|    Py_ssize_t _children_capacity = 1;
29151|   110k|    Py_ssize_t _n = 0;
29152|   110k|    { // (star_targets '=')
29153|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (29153:13): [True: 0, False: 110k]
  ------------------
29154|      0|            p->level--;
29155|      0|            return NULL;
29156|      0|        }
29157|   110k|        D(fprintf(stderr, "%*c> _loop1_12[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
29158|   110k|        void *_tmp_159_var;
29159|   110k|        while (
29160|   110k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (29160:13): [True: 154, False: 110k]
  ------------------
29161|   110k|        )
29162|    154|        {
29163|    154|            _res = _tmp_159_var;
29164|    154|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29164:17): [True: 0, False: 154]
  ------------------
29165|      0|                _children_capacity *= 2;
29166|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29167|      0|                if (!_new_children) {
  ------------------
  |  Branch (29167:21): [True: 0, False: 0]
  ------------------
29168|      0|                    PyMem_Free(_children);
29169|      0|                    p->error_indicator = 1;
29170|      0|                    PyErr_NoMemory();
29171|      0|                    p->level--;
29172|      0|                    return NULL;
29173|      0|                }
29174|      0|                _children = _new_children;
29175|      0|            }
29176|    154|            _children[_n++] = _res;
29177|    154|            _mark = p->mark;
29178|    154|        }
29179|   110k|        p->mark = _mark;
29180|   110k|        D(fprintf(stderr, "%*c%s _loop1_12[%d-%d]: %s failed!\n", p->level, ' ',
29181|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
29182|   110k|    }
29183|   110k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29183:9): [True: 109k, False: 154]
  |  Branch (29183:20): [True: 0, False: 154]
  ------------------
29184|   109k|        PyMem_Free(_children);
29185|   109k|        p->level--;
29186|   109k|        return NULL;
29187|   109k|    }
29188|    154|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29189|    154|    if (!_seq) {
  ------------------
  |  Branch (29189:9): [True: 0, False: 154]
  ------------------
29190|      0|        PyMem_Free(_children);
29191|      0|        p->error_indicator = 1;
29192|      0|        PyErr_NoMemory();
29193|      0|        p->level--;
29194|      0|        return NULL;
29195|      0|    }
29196|    308|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    154|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    308|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29196:28): [True: 154, False: 154]
  ------------------
29197|    154|    PyMem_Free(_children);
29198|    154|    p->level--;
29199|    154|    return _seq;
29200|    154|}
parser.c:_tmp_159_rule:
38290|   218k|{
38291|   218k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   437k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38291:9): [True: 0, False: 218k]
  |  Branch (38291:35): [True: 0, False: 218k]
  ------------------
38292|      0|        _Pypegen_stack_overflow(p);
38293|      0|    }
38294|   218k|    if (p->error_indicator) {
  ------------------
  |  Branch (38294:9): [True: 0, False: 218k]
  ------------------
38295|      0|        p->level--;
38296|      0|        return NULL;
38297|      0|    }
38298|   218k|    void * _res = NULL;
38299|   218k|    int _mark = p->mark;
38300|   218k|    { // star_targets '='
38301|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (38301:13): [True: 0, False: 218k]
  ------------------
38302|      0|            p->level--;
38303|      0|            return NULL;
38304|      0|        }
38305|   218k|        D(fprintf(stderr, "%*c> _tmp_159[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38306|   218k|        Token * _literal;
38307|   218k|        expr_ty z;
38308|   218k|        if (
38309|   218k|            (z = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (38309:13): [True: 492, False: 218k]
  ------------------
38310|    492|            &&
38311|    492|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (38311:13): [True: 154, False: 338]
  ------------------
38312|   218k|        )
38313|    154|        {
38314|    154|            D(fprintf(stderr, "%*c+ _tmp_159[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38315|    154|            _res = z;
38316|    154|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38316:18): [True: 0, False: 154]
  |  Branch (38316:34): [True: 0, False: 154]
  |  Branch (38316:57): [True: 0, False: 0]
  ------------------
38317|      0|                p->error_indicator = 1;
38318|      0|                p->level--;
38319|      0|                return NULL;
38320|      0|            }
38321|    154|            goto done;
38322|    154|        }
38323|   218k|        p->mark = _mark;
38324|   218k|        D(fprintf(stderr, "%*c%s _tmp_159[%d-%d]: %s failed!\n", p->level, ' ',
38325|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_targets '='"));
38326|   218k|    }
38327|   218k|    _res = NULL;
38328|   218k|  done:
38329|   218k|    p->level--;
38330|   218k|    return _res;
38331|   218k|}
parser.c:single_target_rule:
19809|   109k|{
19810|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   219k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19810:9): [True: 0, False: 109k]
  |  Branch (19810:35): [True: 0, False: 109k]
  ------------------
19811|      0|        _Pypegen_stack_overflow(p);
19812|      0|    }
19813|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (19813:9): [True: 0, False: 109k]
  ------------------
19814|      0|        p->level--;
19815|      0|        return NULL;
19816|      0|    }
19817|   109k|    expr_ty _res = NULL;
19818|   109k|    int _mark = p->mark;
19819|   109k|    { // single_subscript_attribute_target
19820|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19820:13): [True: 0, False: 109k]
  ------------------
19821|      0|            p->level--;
19822|      0|            return NULL;
19823|      0|        }
19824|   109k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19825|   109k|        expr_ty single_subscript_attribute_target_var;
19826|   109k|        if (
19827|   109k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (19827:13): [True: 0, False: 109k]
  ------------------
19828|   109k|        )
19829|      0|        {
19830|      0|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19831|      0|            _res = single_subscript_attribute_target_var;
19832|      0|            goto done;
19833|      0|        }
19834|   109k|        p->mark = _mark;
19835|   109k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19836|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
19837|   109k|    }
19838|      0|    { // NAME
19839|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19839:13): [True: 0, False: 109k]
  ------------------
19840|      0|            p->level--;
19841|      0|            return NULL;
19842|      0|        }
19843|   109k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19844|   109k|        expr_ty a;
19845|   109k|        if (
19846|   109k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19846:13): [True: 198, False: 109k]
  ------------------
19847|   109k|        )
19848|    198|        {
19849|    198|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19850|    198|            _res = _PyPegen_set_expr_context ( p , a , Store );
19851|    198|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19851:18): [True: 0, False: 198]
  |  Branch (19851:34): [True: 0, False: 198]
  |  Branch (19851:57): [True: 0, False: 0]
  ------------------
19852|      0|                p->error_indicator = 1;
19853|      0|                p->level--;
19854|      0|                return NULL;
19855|      0|            }
19856|    198|            goto done;
19857|    198|        }
19858|   109k|        p->mark = _mark;
19859|   109k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19860|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19861|   109k|    }
19862|      0|    { // '(' single_target ')'
19863|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (19863:13): [True: 0, False: 109k]
  ------------------
19864|      0|            p->level--;
19865|      0|            return NULL;
19866|      0|        }
19867|   109k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
19868|   109k|        Token * _literal;
19869|   109k|        Token * _literal_1;
19870|   109k|        expr_ty a;
19871|   109k|        if (
19872|   109k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19872:13): [True: 0, False: 109k]
  ------------------
19873|      0|            &&
19874|      0|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (19874:13): [True: 0, False: 0]
  ------------------
19875|      0|            &&
19876|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19876:13): [True: 0, False: 0]
  ------------------
19877|   109k|        )
19878|      0|        {
19879|      0|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
19880|      0|            _res = a;
19881|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19881:18): [True: 0, False: 0]
  |  Branch (19881:34): [True: 0, False: 0]
  |  Branch (19881:57): [True: 0, False: 0]
  ------------------
19882|      0|                p->error_indicator = 1;
19883|      0|                p->level--;
19884|      0|                return NULL;
19885|      0|            }
19886|      0|            goto done;
19887|      0|        }
19888|   109k|        p->mark = _mark;
19889|   109k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19890|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
19891|   109k|    }
19892|   109k|    _res = NULL;
19893|   109k|  done:
19894|   109k|    p->level--;
19895|   109k|    return _res;
19896|   109k|}
parser.c:augassign_rule:
 2406|    198|{
 2407|    198|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    396|#  define MAXSTACK 6000
  ------------------
  |  Branch (2407:9): [True: 0, False: 198]
  |  Branch (2407:35): [True: 0, False: 198]
  ------------------
 2408|      0|        _Pypegen_stack_overflow(p);
 2409|      0|    }
 2410|    198|    if (p->error_indicator) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 198]
  ------------------
 2411|      0|        p->level--;
 2412|      0|        return NULL;
 2413|      0|    }
 2414|    198|    AugOperator* _res = NULL;
 2415|    198|    int _mark = p->mark;
 2416|    198|    { // '+='
 2417|    198|        if (p->error_indicator) {
  ------------------
  |  Branch (2417:13): [True: 0, False: 198]
  ------------------
 2418|      0|            p->level--;
 2419|      0|            return NULL;
 2420|      0|        }
 2421|    198|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+='"));
 2422|    198|        Token * _literal;
 2423|    198|        if (
 2424|    198|            (_literal = _PyPegen_expect_token(p, 36))  // token='+='
  ------------------
  |  Branch (2424:13): [True: 0, False: 198]
  ------------------
 2425|    198|        )
 2426|      0|        {
 2427|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+='"));
 2428|      0|            _res = _PyPegen_augoperator ( p , Add );
 2429|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2429:18): [True: 0, False: 0]
  |  Branch (2429:34): [True: 0, False: 0]
  |  Branch (2429:57): [True: 0, False: 0]
  ------------------
 2430|      0|                p->error_indicator = 1;
 2431|      0|                p->level--;
 2432|      0|                return NULL;
 2433|      0|            }
 2434|      0|            goto done;
 2435|      0|        }
 2436|    198|        p->mark = _mark;
 2437|    198|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2438|    198|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+='"));
 2439|    198|    }
 2440|      0|    { // '-='
 2441|    198|        if (p->error_indicator) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 198]
  ------------------
 2442|      0|            p->level--;
 2443|      0|            return NULL;
 2444|      0|        }
 2445|    198|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-='"));
 2446|    198|        Token * _literal;
 2447|    198|        if (
 2448|    198|            (_literal = _PyPegen_expect_token(p, 37))  // token='-='
  ------------------
  |  Branch (2448:13): [True: 4, False: 194]
  ------------------
 2449|    198|        )
 2450|      4|        {
 2451|      4|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-='"));
 2452|      4|            _res = _PyPegen_augoperator ( p , Sub );
 2453|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2453:18): [True: 0, False: 4]
  |  Branch (2453:34): [True: 0, False: 4]
  |  Branch (2453:57): [True: 0, False: 0]
  ------------------
 2454|      0|                p->error_indicator = 1;
 2455|      0|                p->level--;
 2456|      0|                return NULL;
 2457|      0|            }
 2458|      4|            goto done;
 2459|      4|        }
 2460|    194|        p->mark = _mark;
 2461|    194|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2462|    194|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-='"));
 2463|    194|    }
 2464|      0|    { // '*='
 2465|    194|        if (p->error_indicator) {
  ------------------
  |  Branch (2465:13): [True: 0, False: 194]
  ------------------
 2466|      0|            p->level--;
 2467|      0|            return NULL;
 2468|      0|        }
 2469|    194|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*='"));
 2470|    194|        Token * _literal;
 2471|    194|        if (
 2472|    194|            (_literal = _PyPegen_expect_token(p, 38))  // token='*='
  ------------------
  |  Branch (2472:13): [True: 2, False: 192]
  ------------------
 2473|    194|        )
 2474|      2|        {
 2475|      2|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*='"));
 2476|      2|            _res = _PyPegen_augoperator ( p , Mult );
 2477|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2477:18): [True: 0, False: 2]
  |  Branch (2477:34): [True: 0, False: 2]
  |  Branch (2477:57): [True: 0, False: 0]
  ------------------
 2478|      0|                p->error_indicator = 1;
 2479|      0|                p->level--;
 2480|      0|                return NULL;
 2481|      0|            }
 2482|      2|            goto done;
 2483|      2|        }
 2484|    192|        p->mark = _mark;
 2485|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2486|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*='"));
 2487|    192|    }
 2488|      0|    { // '@='
 2489|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2489:13): [True: 0, False: 192]
  ------------------
 2490|      0|            p->level--;
 2491|      0|            return NULL;
 2492|      0|        }
 2493|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@='"));
 2494|    192|        Token * _literal;
 2495|    192|        if (
 2496|    192|            (_literal = _PyPegen_expect_token(p, 50))  // token='@='
  ------------------
  |  Branch (2496:13): [True: 0, False: 192]
  ------------------
 2497|    192|        )
 2498|      0|        {
 2499|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@='"));
 2500|      0|            _res = CHECK_VERSION ( AugOperator* , 5 , "The '@' operator is" , _PyPegen_augoperator ( p , MatMult ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2501|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2501:18): [True: 0, False: 0]
  |  Branch (2501:34): [True: 0, False: 0]
  |  Branch (2501:57): [True: 0, False: 0]
  ------------------
 2502|      0|                p->error_indicator = 1;
 2503|      0|                p->level--;
 2504|      0|                return NULL;
 2505|      0|            }
 2506|      0|            goto done;
 2507|      0|        }
 2508|    192|        p->mark = _mark;
 2509|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2510|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@='"));
 2511|    192|    }
 2512|      0|    { // '/='
 2513|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 192]
  ------------------
 2514|      0|            p->level--;
 2515|      0|            return NULL;
 2516|      0|        }
 2517|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/='"));
 2518|    192|        Token * _literal;
 2519|    192|        if (
 2520|    192|            (_literal = _PyPegen_expect_token(p, 39))  // token='/='
  ------------------
  |  Branch (2520:13): [True: 0, False: 192]
  ------------------
 2521|    192|        )
 2522|      0|        {
 2523|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/='"));
 2524|      0|            _res = _PyPegen_augoperator ( p , Div );
 2525|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2525:18): [True: 0, False: 0]
  |  Branch (2525:34): [True: 0, False: 0]
  |  Branch (2525:57): [True: 0, False: 0]
  ------------------
 2526|      0|                p->error_indicator = 1;
 2527|      0|                p->level--;
 2528|      0|                return NULL;
 2529|      0|            }
 2530|      0|            goto done;
 2531|      0|        }
 2532|    192|        p->mark = _mark;
 2533|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2534|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/='"));
 2535|    192|    }
 2536|      0|    { // '%='
 2537|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2537:13): [True: 0, False: 192]
  ------------------
 2538|      0|            p->level--;
 2539|      0|            return NULL;
 2540|      0|        }
 2541|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%='"));
 2542|    192|        Token * _literal;
 2543|    192|        if (
 2544|    192|            (_literal = _PyPegen_expect_token(p, 40))  // token='%='
  ------------------
  |  Branch (2544:13): [True: 0, False: 192]
  ------------------
 2545|    192|        )
 2546|      0|        {
 2547|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%='"));
 2548|      0|            _res = _PyPegen_augoperator ( p , Mod );
 2549|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2549:18): [True: 0, False: 0]
  |  Branch (2549:34): [True: 0, False: 0]
  |  Branch (2549:57): [True: 0, False: 0]
  ------------------
 2550|      0|                p->error_indicator = 1;
 2551|      0|                p->level--;
 2552|      0|                return NULL;
 2553|      0|            }
 2554|      0|            goto done;
 2555|      0|        }
 2556|    192|        p->mark = _mark;
 2557|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2558|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%='"));
 2559|    192|    }
 2560|      0|    { // '&='
 2561|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 192]
  ------------------
 2562|      0|            p->level--;
 2563|      0|            return NULL;
 2564|      0|        }
 2565|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'&='"));
 2566|    192|        Token * _literal;
 2567|    192|        if (
 2568|    192|            (_literal = _PyPegen_expect_token(p, 41))  // token='&='
  ------------------
  |  Branch (2568:13): [True: 0, False: 192]
  ------------------
 2569|    192|        )
 2570|      0|        {
 2571|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'&='"));
 2572|      0|            _res = _PyPegen_augoperator ( p , BitAnd );
 2573|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2573:18): [True: 0, False: 0]
  |  Branch (2573:34): [True: 0, False: 0]
  |  Branch (2573:57): [True: 0, False: 0]
  ------------------
 2574|      0|                p->error_indicator = 1;
 2575|      0|                p->level--;
 2576|      0|                return NULL;
 2577|      0|            }
 2578|      0|            goto done;
 2579|      0|        }
 2580|    192|        p->mark = _mark;
 2581|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2582|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'&='"));
 2583|    192|    }
 2584|      0|    { // '|='
 2585|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2585:13): [True: 0, False: 192]
  ------------------
 2586|      0|            p->level--;
 2587|      0|            return NULL;
 2588|      0|        }
 2589|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|='"));
 2590|    192|        Token * _literal;
 2591|    192|        if (
 2592|    192|            (_literal = _PyPegen_expect_token(p, 42))  // token='|='
  ------------------
  |  Branch (2592:13): [True: 0, False: 192]
  ------------------
 2593|    192|        )
 2594|      0|        {
 2595|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|='"));
 2596|      0|            _res = _PyPegen_augoperator ( p , BitOr );
 2597|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2597:18): [True: 0, False: 0]
  |  Branch (2597:34): [True: 0, False: 0]
  |  Branch (2597:57): [True: 0, False: 0]
  ------------------
 2598|      0|                p->error_indicator = 1;
 2599|      0|                p->level--;
 2600|      0|                return NULL;
 2601|      0|            }
 2602|      0|            goto done;
 2603|      0|        }
 2604|    192|        p->mark = _mark;
 2605|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2606|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|='"));
 2607|    192|    }
 2608|      0|    { // '^='
 2609|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2609:13): [True: 0, False: 192]
  ------------------
 2610|      0|            p->level--;
 2611|      0|            return NULL;
 2612|      0|        }
 2613|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'^='"));
 2614|    192|        Token * _literal;
 2615|    192|        if (
 2616|    192|            (_literal = _PyPegen_expect_token(p, 43))  // token='^='
  ------------------
  |  Branch (2616:13): [True: 0, False: 192]
  ------------------
 2617|    192|        )
 2618|      0|        {
 2619|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'^='"));
 2620|      0|            _res = _PyPegen_augoperator ( p , BitXor );
 2621|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2621:18): [True: 0, False: 0]
  |  Branch (2621:34): [True: 0, False: 0]
  |  Branch (2621:57): [True: 0, False: 0]
  ------------------
 2622|      0|                p->error_indicator = 1;
 2623|      0|                p->level--;
 2624|      0|                return NULL;
 2625|      0|            }
 2626|      0|            goto done;
 2627|      0|        }
 2628|    192|        p->mark = _mark;
 2629|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2630|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'^='"));
 2631|    192|    }
 2632|      0|    { // '<<='
 2633|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2633:13): [True: 0, False: 192]
  ------------------
 2634|      0|            p->level--;
 2635|      0|            return NULL;
 2636|      0|        }
 2637|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2638|    192|        Token * _literal;
 2639|    192|        if (
 2640|    192|            (_literal = _PyPegen_expect_token(p, 44))  // token='<<='
  ------------------
  |  Branch (2640:13): [True: 0, False: 192]
  ------------------
 2641|    192|        )
 2642|      0|        {
 2643|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2644|      0|            _res = _PyPegen_augoperator ( p , LShift );
 2645|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2645:18): [True: 0, False: 0]
  |  Branch (2645:34): [True: 0, False: 0]
  |  Branch (2645:57): [True: 0, False: 0]
  ------------------
 2646|      0|                p->error_indicator = 1;
 2647|      0|                p->level--;
 2648|      0|                return NULL;
 2649|      0|            }
 2650|      0|            goto done;
 2651|      0|        }
 2652|    192|        p->mark = _mark;
 2653|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2654|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<<='"));
 2655|    192|    }
 2656|      0|    { // '>>='
 2657|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2657:13): [True: 0, False: 192]
  ------------------
 2658|      0|            p->level--;
 2659|      0|            return NULL;
 2660|      0|        }
 2661|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2662|    192|        Token * _literal;
 2663|    192|        if (
 2664|    192|            (_literal = _PyPegen_expect_token(p, 45))  // token='>>='
  ------------------
  |  Branch (2664:13): [True: 0, False: 192]
  ------------------
 2665|    192|        )
 2666|      0|        {
 2667|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2668|      0|            _res = _PyPegen_augoperator ( p , RShift );
 2669|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2669:18): [True: 0, False: 0]
  |  Branch (2669:34): [True: 0, False: 0]
  |  Branch (2669:57): [True: 0, False: 0]
  ------------------
 2670|      0|                p->error_indicator = 1;
 2671|      0|                p->level--;
 2672|      0|                return NULL;
 2673|      0|            }
 2674|      0|            goto done;
 2675|      0|        }
 2676|    192|        p->mark = _mark;
 2677|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2678|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>>='"));
 2679|    192|    }
 2680|      0|    { // '**='
 2681|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 192]
  ------------------
 2682|      0|            p->level--;
 2683|      0|            return NULL;
 2684|      0|        }
 2685|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**='"));
 2686|    192|        Token * _literal;
 2687|    192|        if (
 2688|    192|            (_literal = _PyPegen_expect_token(p, 46))  // token='**='
  ------------------
  |  Branch (2688:13): [True: 0, False: 192]
  ------------------
 2689|    192|        )
 2690|      0|        {
 2691|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**='"));
 2692|      0|            _res = _PyPegen_augoperator ( p , Pow );
 2693|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2693:18): [True: 0, False: 0]
  |  Branch (2693:34): [True: 0, False: 0]
  |  Branch (2693:57): [True: 0, False: 0]
  ------------------
 2694|      0|                p->error_indicator = 1;
 2695|      0|                p->level--;
 2696|      0|                return NULL;
 2697|      0|            }
 2698|      0|            goto done;
 2699|      0|        }
 2700|    192|        p->mark = _mark;
 2701|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2702|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**='"));
 2703|    192|    }
 2704|      0|    { // '//='
 2705|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 192]
  ------------------
 2706|      0|            p->level--;
 2707|      0|            return NULL;
 2708|      0|        }
 2709|    192|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//='"));
 2710|    192|        Token * _literal;
 2711|    192|        if (
 2712|    192|            (_literal = _PyPegen_expect_token(p, 48))  // token='//='
  ------------------
  |  Branch (2712:13): [True: 0, False: 192]
  ------------------
 2713|    192|        )
 2714|      0|        {
 2715|      0|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//='"));
 2716|      0|            _res = _PyPegen_augoperator ( p , FloorDiv );
 2717|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2717:18): [True: 0, False: 0]
  |  Branch (2717:34): [True: 0, False: 0]
  |  Branch (2717:57): [True: 0, False: 0]
  ------------------
 2718|      0|                p->error_indicator = 1;
 2719|      0|                p->level--;
 2720|      0|                return NULL;
 2721|      0|            }
 2722|      0|            goto done;
 2723|      0|        }
 2724|    192|        p->mark = _mark;
 2725|    192|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2726|    192|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//='"));
 2727|    192|    }
 2728|    192|    _res = NULL;
 2729|    198|  done:
 2730|    198|    p->level--;
 2731|    198|    return _res;
 2732|    192|}
parser.c:invalid_assignment_rule:
22162|  54.1k|{
22163|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22163:9): [True: 0, False: 54.1k]
  |  Branch (22163:35): [True: 0, False: 54.1k]
  ------------------
22164|      0|        _Pypegen_stack_overflow(p);
22165|      0|    }
22166|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22166:9): [True: 0, False: 54.1k]
  ------------------
22167|      0|        p->level--;
22168|      0|        return NULL;
22169|      0|    }
22170|  54.1k|    void * _res = NULL;
22171|  54.1k|    int _mark = p->mark;
22172|  54.1k|    { // invalid_ann_assign_target ':' expression
22173|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22173:13): [True: 0, False: 54.1k]
  ------------------
22174|      0|            p->level--;
22175|      0|            return NULL;
22176|      0|        }
22177|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22178|  54.1k|        Token * _literal;
22179|  54.1k|        expr_ty a;
22180|  54.1k|        expr_ty expression_var;
22181|  54.1k|        if (
22182|  54.1k|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (22182:13): [True: 0, False: 54.1k]
  ------------------
22183|      0|            &&
22184|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22184:13): [True: 0, False: 0]
  ------------------
22185|      0|            &&
22186|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22186:13): [True: 0, False: 0]
  ------------------
22187|  54.1k|        )
22188|      0|        {
22189|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22190|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not %s) can be annotated" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22191|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22191:18): [True: 0, False: 0]
  |  Branch (22191:34): [True: 0, False: 0]
  |  Branch (22191:57): [True: 0, False: 0]
  ------------------
22192|      0|                p->error_indicator = 1;
22193|      0|                p->level--;
22194|      0|                return NULL;
22195|      0|            }
22196|      0|            goto done;
22197|      0|        }
22198|  54.1k|        p->mark = _mark;
22199|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22200|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22201|  54.1k|    }
22202|      0|    { // star_named_expression ',' star_named_expressions* ':' expression
22203|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22203:13): [True: 0, False: 54.1k]
  ------------------
22204|      0|            p->level--;
22205|      0|            return NULL;
22206|      0|        }
22207|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22208|  54.1k|        Token * _literal;
22209|  54.1k|        Token * _literal_1;
22210|  54.1k|        asdl_seq * _loop0_121_var;
22211|  54.1k|        expr_ty a;
22212|  54.1k|        expr_ty expression_var;
22213|  54.1k|        if (
22214|  54.1k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22214:13): [True: 0, False: 54.1k]
  ------------------
22215|      0|            &&
22216|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22216:13): [True: 0, False: 0]
  ------------------
22217|      0|            &&
22218|      0|            (_loop0_121_var = _loop0_121_rule(p))  // star_named_expressions*
  ------------------
  |  Branch (22218:13): [True: 0, False: 0]
  ------------------
22219|      0|            &&
22220|      0|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22220:13): [True: 0, False: 0]
  ------------------
22221|      0|            &&
22222|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22222:13): [True: 0, False: 0]
  ------------------
22223|  54.1k|        )
22224|      0|        {
22225|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22226|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not tuple) can be annotated" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22227|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22227:18): [True: 0, False: 0]
  |  Branch (22227:34): [True: 0, False: 0]
  |  Branch (22227:57): [True: 0, False: 0]
  ------------------
22228|      0|                p->error_indicator = 1;
22229|      0|                p->level--;
22230|      0|                return NULL;
22231|      0|            }
22232|      0|            goto done;
22233|      0|        }
22234|  54.1k|        p->mark = _mark;
22235|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22236|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22237|  54.1k|    }
22238|      0|    { // expression ':' expression
22239|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22239:13): [True: 0, False: 54.1k]
  ------------------
22240|      0|            p->level--;
22241|      0|            return NULL;
22242|      0|        }
22243|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
22244|  54.1k|        Token * _literal;
22245|  54.1k|        expr_ty a;
22246|  54.1k|        expr_ty expression_var;
22247|  54.1k|        if (
22248|  54.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22248:13): [True: 0, False: 54.1k]
  ------------------
22249|      0|            &&
22250|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22250:13): [True: 0, False: 0]
  ------------------
22251|      0|            &&
22252|      0|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22252:13): [True: 0, False: 0]
  ------------------
22253|  54.1k|        )
22254|      0|        {
22255|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
22256|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "illegal target for annotation" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22257|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22257:18): [True: 0, False: 0]
  |  Branch (22257:34): [True: 0, False: 0]
  |  Branch (22257:57): [True: 0, False: 0]
  ------------------
22258|      0|                p->error_indicator = 1;
22259|      0|                p->level--;
22260|      0|                return NULL;
22261|      0|            }
22262|      0|            goto done;
22263|      0|        }
22264|  54.1k|        p->mark = _mark;
22265|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22266|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
22267|  54.1k|    }
22268|      0|    { // ((star_targets '='))* star_expressions '='
22269|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22269:13): [True: 0, False: 54.1k]
  ------------------
22270|      0|            p->level--;
22271|      0|            return NULL;
22272|      0|        }
22273|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22274|  54.1k|        Token * _literal;
22275|  54.1k|        asdl_seq * _loop0_122_var;
22276|  54.1k|        expr_ty a;
22277|  54.1k|        if (
22278|  54.1k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22278:13): [True: 54.1k, False: 0]
  ------------------
22279|  54.1k|            &&
22280|  54.1k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22280:13): [True: 0, False: 54.1k]
  ------------------
22281|      0|            &&
22282|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22282:13): [True: 0, False: 0]
  ------------------
22283|  54.1k|        )
22284|      0|        {
22285|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22286|      0|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( STAR_TARGETS , a );
  ------------------
  |  |  210|      0|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
22287|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22287:18): [True: 0, False: 0]
  |  Branch (22287:34): [True: 0, False: 0]
  |  Branch (22287:57): [True: 0, False: 0]
  ------------------
22288|      0|                p->error_indicator = 1;
22289|      0|                p->level--;
22290|      0|                return NULL;
22291|      0|            }
22292|      0|            goto done;
22293|      0|        }
22294|  54.1k|        p->mark = _mark;
22295|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22296|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22297|  54.1k|    }
22298|      0|    { // ((star_targets '='))* yield_expr '='
22299|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22299:13): [True: 0, False: 54.1k]
  ------------------
22300|      0|            p->level--;
22301|      0|            return NULL;
22302|      0|        }
22303|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22304|  54.1k|        Token * _literal;
22305|  54.1k|        asdl_seq * _loop0_122_var;
22306|  54.1k|        expr_ty a;
22307|  54.1k|        if (
22308|  54.1k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22308:13): [True: 54.1k, False: 0]
  ------------------
22309|  54.1k|            &&
22310|  54.1k|            (a = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (22310:13): [True: 0, False: 54.1k]
  ------------------
22311|      0|            &&
22312|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22312:13): [True: 0, False: 0]
  ------------------
22313|  54.1k|        )
22314|      0|        {
22315|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22316|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "assignment to yield expression not possible" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22317|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22317:18): [True: 0, False: 0]
  |  Branch (22317:34): [True: 0, False: 0]
  |  Branch (22317:57): [True: 0, False: 0]
  ------------------
22318|      0|                p->error_indicator = 1;
22319|      0|                p->level--;
22320|      0|                return NULL;
22321|      0|            }
22322|      0|            goto done;
22323|      0|        }
22324|  54.1k|        p->mark = _mark;
22325|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22326|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22327|  54.1k|    }
22328|      0|    { // star_expressions augassign annotated_rhs
22329|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22329:13): [True: 0, False: 54.1k]
  ------------------
22330|      0|            p->level--;
22331|      0|            return NULL;
22332|      0|        }
22333|  54.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
22334|  54.1k|        expr_ty a;
22335|  54.1k|        expr_ty annotated_rhs_var;
22336|  54.1k|        AugOperator* augassign_var;
22337|  54.1k|        if (
22338|  54.1k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22338:13): [True: 0, False: 54.1k]
  ------------------
22339|      0|            &&
22340|      0|            (augassign_var = augassign_rule(p))  // augassign
  ------------------
  |  Branch (22340:13): [True: 0, False: 0]
  ------------------
22341|      0|            &&
22342|      0|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (22342:13): [True: 0, False: 0]
  ------------------
22343|  54.1k|        )
22344|      0|        {
22345|      0|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
22346|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "'%s' is an illegal expression for augmented assignment" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22347|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22347:18): [True: 0, False: 0]
  |  Branch (22347:34): [True: 0, False: 0]
  |  Branch (22347:57): [True: 0, False: 0]
  ------------------
22348|      0|                p->error_indicator = 1;
22349|      0|                p->level--;
22350|      0|                return NULL;
22351|      0|            }
22352|      0|            goto done;
22353|      0|        }
22354|  54.1k|        p->mark = _mark;
22355|  54.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22356|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions augassign annotated_rhs"));
22357|  54.1k|    }
22358|  54.1k|    _res = NULL;
22359|  54.1k|  done:
22360|  54.1k|    p->level--;
22361|  54.1k|    return _res;
22362|  54.1k|}
parser.c:invalid_ann_assign_target_rule:
22367|  54.1k|{
22368|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22368:9): [True: 0, False: 54.1k]
  |  Branch (22368:35): [True: 0, False: 54.1k]
  ------------------
22369|      0|        _Pypegen_stack_overflow(p);
22370|      0|    }
22371|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22371:9): [True: 0, False: 54.1k]
  ------------------
22372|      0|        p->level--;
22373|      0|        return NULL;
22374|      0|    }
22375|  54.1k|    expr_ty _res = NULL;
22376|  54.1k|    int _mark = p->mark;
22377|  54.1k|    { // list
22378|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22378:13): [True: 0, False: 54.1k]
  ------------------
22379|      0|            p->level--;
22380|      0|            return NULL;
22381|      0|        }
22382|  54.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
22383|  54.1k|        expr_ty list_var;
22384|  54.1k|        if (
22385|  54.1k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (22385:13): [True: 0, False: 54.1k]
  ------------------
22386|  54.1k|        )
22387|      0|        {
22388|      0|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
22389|      0|            _res = list_var;
22390|      0|            goto done;
22391|      0|        }
22392|  54.1k|        p->mark = _mark;
22393|  54.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22394|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
22395|  54.1k|    }
22396|      0|    { // tuple
22397|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22397:13): [True: 0, False: 54.1k]
  ------------------
22398|      0|            p->level--;
22399|      0|            return NULL;
22400|      0|        }
22401|  54.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
22402|  54.1k|        expr_ty tuple_var;
22403|  54.1k|        if (
22404|  54.1k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (22404:13): [True: 0, False: 54.1k]
  ------------------
22405|  54.1k|        )
22406|      0|        {
22407|      0|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
22408|      0|            _res = tuple_var;
22409|      0|            goto done;
22410|      0|        }
22411|  54.1k|        p->mark = _mark;
22412|  54.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22413|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
22414|  54.1k|    }
22415|      0|    { // '(' invalid_ann_assign_target ')'
22416|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22416:13): [True: 0, False: 54.1k]
  ------------------
22417|      0|            p->level--;
22418|      0|            return NULL;
22419|      0|        }
22420|  54.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22421|  54.1k|        Token * _literal;
22422|  54.1k|        Token * _literal_1;
22423|  54.1k|        expr_ty a;
22424|  54.1k|        if (
22425|  54.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22425:13): [True: 0, False: 54.1k]
  ------------------
22426|      0|            &&
22427|      0|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (22427:13): [True: 0, False: 0]
  ------------------
22428|      0|            &&
22429|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (22429:13): [True: 0, False: 0]
  ------------------
22430|  54.1k|        )
22431|      0|        {
22432|      0|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22433|      0|            _res = a;
22434|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22434:18): [True: 0, False: 0]
  |  Branch (22434:34): [True: 0, False: 0]
  |  Branch (22434:57): [True: 0, False: 0]
  ------------------
22435|      0|                p->error_indicator = 1;
22436|      0|                p->level--;
22437|      0|                return NULL;
22438|      0|            }
22439|      0|            goto done;
22440|      0|        }
22441|  54.1k|        p->mark = _mark;
22442|  54.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22443|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22444|  54.1k|    }
22445|  54.1k|    _res = NULL;
22446|  54.1k|  done:
22447|  54.1k|    p->level--;
22448|  54.1k|    return _res;
22449|  54.1k|}
parser.c:_loop0_122_rule:
36044|   108k|{
36045|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36045:9): [True: 0, False: 108k]
  |  Branch (36045:35): [True: 0, False: 108k]
  ------------------
36046|      0|        _Pypegen_stack_overflow(p);
36047|      0|    }
36048|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (36048:9): [True: 0, False: 108k]
  ------------------
36049|      0|        p->level--;
36050|      0|        return NULL;
36051|      0|    }
36052|   108k|    void *_res = NULL;
36053|   108k|    int _mark = p->mark;
36054|   108k|    void **_children = PyMem_Malloc(sizeof(void *));
36055|   108k|    if (!_children) {
  ------------------
  |  Branch (36055:9): [True: 0, False: 108k]
  ------------------
36056|      0|        p->error_indicator = 1;
36057|      0|        PyErr_NoMemory();
36058|      0|        p->level--;
36059|      0|        return NULL;
36060|      0|    }
36061|   108k|    Py_ssize_t _children_capacity = 1;
36062|   108k|    Py_ssize_t _n = 0;
36063|   108k|    { // (star_targets '=')
36064|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (36064:13): [True: 0, False: 108k]
  ------------------
36065|      0|            p->level--;
36066|      0|            return NULL;
36067|      0|        }
36068|   108k|        D(fprintf(stderr, "%*c> _loop0_122[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
36069|   108k|        void *_tmp_159_var;
36070|   108k|        while (
36071|   108k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (36071:13): [True: 0, False: 108k]
  ------------------
36072|   108k|        )
36073|      0|        {
36074|      0|            _res = _tmp_159_var;
36075|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (36075:17): [True: 0, False: 0]
  ------------------
36076|      0|                _children_capacity *= 2;
36077|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
36078|      0|                if (!_new_children) {
  ------------------
  |  Branch (36078:21): [True: 0, False: 0]
  ------------------
36079|      0|                    PyMem_Free(_children);
36080|      0|                    p->error_indicator = 1;
36081|      0|                    PyErr_NoMemory();
36082|      0|                    p->level--;
36083|      0|                    return NULL;
36084|      0|                }
36085|      0|                _children = _new_children;
36086|      0|            }
36087|      0|            _children[_n++] = _res;
36088|      0|            _mark = p->mark;
36089|      0|        }
36090|   108k|        p->mark = _mark;
36091|   108k|        D(fprintf(stderr, "%*c%s _loop0_122[%d-%d]: %s failed!\n", p->level, ' ',
36092|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
36093|   108k|    }
36094|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
36095|   108k|    if (!_seq) {
  ------------------
  |  Branch (36095:9): [True: 0, False: 108k]
  ------------------
36096|      0|        PyMem_Free(_children);
36097|      0|        p->error_indicator = 1;
36098|      0|        PyErr_NoMemory();
36099|      0|        p->level--;
36100|      0|        return NULL;
36101|      0|    }
36102|   108k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   108k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (36102:28): [True: 0, False: 108k]
  ------------------
36103|   108k|    PyMem_Free(_children);
36104|   108k|    p->level--;
36105|   108k|    return _seq;
36106|   108k|}
parser.c:type_params_rule:
11005|    450|{
11006|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (11006:9): [True: 0, False: 450]
  |  Branch (11006:35): [True: 0, False: 450]
  ------------------
11007|      0|        _Pypegen_stack_overflow(p);
11008|      0|    }
11009|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (11009:9): [True: 0, False: 450]
  ------------------
11010|      0|        p->level--;
11011|      0|        return NULL;
11012|      0|    }
11013|    450|    asdl_type_param_seq* _res = NULL;
11014|    450|    int _mark = p->mark;
11015|    450|    if (p->call_invalid_rules) { // invalid_type_params
  ------------------
  |  Branch (11015:9): [True: 0, False: 450]
  ------------------
11016|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11016:13): [True: 0, False: 0]
  ------------------
11017|      0|            p->level--;
11018|      0|            return NULL;
11019|      0|        }
11020|      0|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11021|      0|        void *invalid_type_params_var;
11022|      0|        if (
11023|      0|            (invalid_type_params_var = invalid_type_params_rule(p))  // invalid_type_params
  ------------------
  |  Branch (11023:13): [True: 0, False: 0]
  ------------------
11024|      0|        )
11025|      0|        {
11026|      0|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11027|      0|            _res = invalid_type_params_var;
11028|      0|            goto done;
11029|      0|        }
11030|      0|        p->mark = _mark;
11031|      0|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11032|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_type_params"));
11033|      0|    }
11034|    450|    { // '[' type_param_seq ']'
11035|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (11035:13): [True: 0, False: 450]
  ------------------
11036|      0|            p->level--;
11037|      0|            return NULL;
11038|      0|        }
11039|    450|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11040|    450|        Token * _literal;
11041|    450|        Token * _literal_1;
11042|    450|        asdl_type_param_seq* t;
11043|    450|        if (
11044|    450|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (11044:13): [True: 0, False: 450]
  ------------------
11045|      0|            &&
11046|      0|            (t = type_param_seq_rule(p))  // type_param_seq
  ------------------
  |  Branch (11046:13): [True: 0, False: 0]
  ------------------
11047|      0|            &&
11048|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (11048:13): [True: 0, False: 0]
  ------------------
11049|    450|        )
11050|      0|        {
11051|      0|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11052|      0|            _res = CHECK_VERSION ( asdl_type_param_seq* , 12 , "Type parameter lists are" , t );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11053|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11053:18): [True: 0, False: 0]
  |  Branch (11053:34): [True: 0, False: 0]
  |  Branch (11053:57): [True: 0, False: 0]
  ------------------
11054|      0|                p->error_indicator = 1;
11055|      0|                p->level--;
11056|      0|                return NULL;
11057|      0|            }
11058|      0|            goto done;
11059|      0|        }
11060|    450|        p->mark = _mark;
11061|    450|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11062|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' type_param_seq ']'"));
11063|    450|    }
11064|    450|    _res = NULL;
11065|    450|  done:
11066|    450|    p->level--;
11067|    450|    return _res;
11068|    450|}
parser.c:_tmp_5_rule:
28696|   109k|{
28697|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   219k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28697:9): [True: 0, False: 109k]
  |  Branch (28697:35): [True: 0, False: 109k]
  ------------------
28698|      0|        _Pypegen_stack_overflow(p);
28699|      0|    }
28700|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (28700:9): [True: 0, False: 109k]
  ------------------
28701|      0|        p->level--;
28702|      0|        return NULL;
28703|      0|    }
28704|   109k|    void * _res = NULL;
28705|   109k|    int _mark = p->mark;
28706|   109k|    { // 'import'
28707|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (28707:13): [True: 0, False: 109k]
  ------------------
28708|      0|            p->level--;
28709|      0|            return NULL;
28710|      0|        }
28711|   109k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import'"));
28712|   109k|        Token * _keyword;
28713|   109k|        if (
28714|   109k|            (_keyword = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (28714:13): [True: 8, False: 109k]
  ------------------
28715|   109k|        )
28716|      8|        {
28717|      8|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import'"));
28718|      8|            _res = _keyword;
28719|      8|            goto done;
28720|      8|        }
28721|   109k|        p->mark = _mark;
28722|   109k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28723|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import'"));
28724|   109k|    }
28725|      0|    { // 'from'
28726|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (28726:13): [True: 0, False: 109k]
  ------------------
28727|      0|            p->level--;
28728|      0|            return NULL;
28729|      0|        }
28730|   109k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from'"));
28731|   109k|        Token * _keyword;
28732|   109k|        if (
28733|   109k|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (28733:13): [True: 93, False: 109k]
  ------------------
28734|   109k|        )
28735|     93|        {
28736|     93|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from'"));
28737|     93|            _res = _keyword;
28738|     93|            goto done;
28739|     93|        }
28740|   109k|        p->mark = _mark;
28741|   109k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28742|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from'"));
28743|   109k|    }
28744|      0|    { // "lazy"
28745|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (28745:13): [True: 0, False: 109k]
  ------------------
28746|      0|            p->level--;
28747|      0|            return NULL;
28748|      0|        }
28749|   109k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28750|   109k|        expr_ty _keyword;
28751|   109k|        if (
28752|   109k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (28752:13): [True: 0, False: 109k]
  ------------------
28753|   109k|        )
28754|      0|        {
28755|      0|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28756|      0|            _res = _keyword;
28757|      0|            goto done;
28758|      0|        }
28759|   109k|        p->mark = _mark;
28760|   109k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28761|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\""));
28762|   109k|    }
28763|   109k|    _res = NULL;
28764|   109k|  done:
28765|   109k|    p->level--;
28766|   109k|    return _res;
28767|   109k|}
parser.c:import_stmt_rule:
 3506|    101|{
 3507|    101|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    202|#  define MAXSTACK 6000
  ------------------
  |  Branch (3507:9): [True: 0, False: 101]
  |  Branch (3507:35): [True: 0, False: 101]
  ------------------
 3508|      0|        _Pypegen_stack_overflow(p);
 3509|      0|    }
 3510|    101|    if (p->error_indicator) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 101]
  ------------------
 3511|      0|        p->level--;
 3512|      0|        return NULL;
 3513|      0|    }
 3514|    101|    stmt_ty _res = NULL;
 3515|    101|    if (_PyPegen_is_memoized(p, import_stmt_type, &_res)) {
  ------------------
  |  |  113|    101|#define import_stmt_type 1024
  ------------------
  |  Branch (3515:9): [True: 0, False: 101]
  ------------------
 3516|      0|        p->level--;
 3517|      0|        return _res;
 3518|      0|    }
 3519|    101|    int _mark = p->mark;
 3520|    101|    if (p->call_invalid_rules) { // invalid_import
  ------------------
  |  Branch (3520:9): [True: 0, False: 101]
  ------------------
 3521|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3521:13): [True: 0, False: 0]
  ------------------
 3522|      0|            p->level--;
 3523|      0|            return NULL;
 3524|      0|        }
 3525|      0|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3526|      0|        void *invalid_import_var;
 3527|      0|        if (
 3528|      0|            (invalid_import_var = invalid_import_rule(p))  // invalid_import
  ------------------
  |  Branch (3528:13): [True: 0, False: 0]
  ------------------
 3529|      0|        )
 3530|      0|        {
 3531|      0|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3532|      0|            _res = invalid_import_var;
 3533|      0|            goto done;
 3534|      0|        }
 3535|      0|        p->mark = _mark;
 3536|      0|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3537|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import"));
 3538|      0|    }
 3539|    101|    { // import_name
 3540|    101|        if (p->error_indicator) {
  ------------------
  |  Branch (3540:13): [True: 0, False: 101]
  ------------------
 3541|      0|            p->level--;
 3542|      0|            return NULL;
 3543|      0|        }
 3544|    101|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_name"));
 3545|    101|        stmt_ty import_name_var;
 3546|    101|        if (
 3547|    101|            (import_name_var = import_name_rule(p))  // import_name
  ------------------
  |  Branch (3547:13): [True: 8, False: 93]
  ------------------
 3548|    101|        )
 3549|      8|        {
 3550|      8|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_name"));
 3551|      8|            _res = import_name_var;
 3552|      8|            goto done;
 3553|      8|        }
 3554|     93|        p->mark = _mark;
 3555|     93|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3556|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_name"));
 3557|     93|    }
 3558|      0|    { // import_from
 3559|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (3559:13): [True: 0, False: 93]
  ------------------
 3560|      0|            p->level--;
 3561|      0|            return NULL;
 3562|      0|        }
 3563|     93|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from"));
 3564|     93|        stmt_ty import_from_var;
 3565|     93|        if (
 3566|     93|            (import_from_var = import_from_rule(p))  // import_from
  ------------------
  |  Branch (3566:13): [True: 93, False: 0]
  ------------------
 3567|     93|        )
 3568|     93|        {
 3569|     93|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from"));
 3570|     93|            _res = import_from_var;
 3571|     93|            goto done;
 3572|     93|        }
 3573|      0|        p->mark = _mark;
 3574|      0|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3575|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from"));
 3576|      0|    }
 3577|      0|    _res = NULL;
 3578|    101|  done:
 3579|    101|    _PyPegen_insert_memo(p, _mark, import_stmt_type, _res);
  ------------------
  |  |  113|    101|#define import_stmt_type 1024
  ------------------
 3580|    101|    p->level--;
 3581|    101|    return _res;
 3582|      0|}
parser.c:dotted_name_rule:
 4170|    481|{
 4171|    481|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    962|#  define MAXSTACK 6000
  ------------------
  |  Branch (4171:9): [True: 0, False: 481]
  |  Branch (4171:35): [True: 0, False: 481]
  ------------------
 4172|      0|        _Pypegen_stack_overflow(p);
 4173|      0|    }
 4174|    481|    expr_ty _res = NULL;
 4175|    481|    if (_PyPegen_is_memoized(p, dotted_name_type, &_res)) {
  ------------------
  |  |  121|    481|#define dotted_name_type 1032  // Left-recursive
  ------------------
  |  Branch (4175:9): [True: 380, False: 101]
  ------------------
 4176|    380|        p->level--;
 4177|    380|        return _res;
 4178|    380|    }
 4179|    101|    int _mark = p->mark;
 4180|    101|    int _resmark = p->mark;
 4181|    380|    while (1) {
  ------------------
  |  Branch (4181:12): [True: 380, Folded]
  ------------------
 4182|    380|        int tmpvar_0 = _PyPegen_update_memo(p, _mark, dotted_name_type, _res);
  ------------------
  |  |  121|    380|#define dotted_name_type 1032  // Left-recursive
  ------------------
 4183|    380|        if (tmpvar_0) {
  ------------------
  |  Branch (4183:13): [True: 0, False: 380]
  ------------------
 4184|      0|            p->level--;
 4185|      0|            return _res;
 4186|      0|        }
 4187|    380|        p->mark = _mark;
 4188|    380|        void *_raw = dotted_name_raw(p);
 4189|    380|        if (p->error_indicator) {
  ------------------
  |  Branch (4189:13): [True: 0, False: 380]
  ------------------
 4190|      0|            p->level--;
 4191|      0|            return NULL;
 4192|      0|        }
 4193|    380|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (4193:13): [True: 0, False: 380]
  |  Branch (4193:29): [True: 101, False: 279]
  ------------------
 4194|    101|            break;
 4195|    279|        _resmark = p->mark;
 4196|    279|        _res = _raw;
 4197|    279|    }
 4198|    101|    p->mark = _resmark;
 4199|    101|    p->level--;
 4200|    101|    return _res;
 4201|    101|}
parser.c:dotted_name_raw:
 4204|    380|{
 4205|    380|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    760|#  define MAXSTACK 6000
  ------------------
  |  Branch (4205:9): [True: 0, False: 380]
  |  Branch (4205:35): [True: 0, False: 380]
  ------------------
 4206|      0|        _Pypegen_stack_overflow(p);
 4207|      0|    }
 4208|    380|    if (p->error_indicator) {
  ------------------
  |  Branch (4208:9): [True: 0, False: 380]
  ------------------
 4209|      0|        p->level--;
 4210|      0|        return NULL;
 4211|      0|    }
 4212|    380|    expr_ty _res = NULL;
 4213|    380|    int _mark = p->mark;
 4214|    380|    { // dotted_name '.' NAME
 4215|    380|        if (p->error_indicator) {
  ------------------
  |  Branch (4215:13): [True: 0, False: 380]
  ------------------
 4216|      0|            p->level--;
 4217|      0|            return NULL;
 4218|      0|        }
 4219|    380|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4220|    380|        Token * _literal;
 4221|    380|        expr_ty a;
 4222|    380|        expr_ty b;
 4223|    380|        if (
 4224|    380|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4224:13): [True: 279, False: 101]
  ------------------
 4225|    279|            &&
 4226|    279|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (4226:13): [True: 178, False: 101]
  ------------------
 4227|    178|            &&
 4228|    178|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4228:13): [True: 178, False: 0]
  ------------------
 4229|    380|        )
 4230|    178|        {
 4231|    178|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4232|    178|            _res = _PyPegen_join_names_with_dot ( p , a , b );
 4233|    178|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4233:18): [True: 0, False: 178]
  |  Branch (4233:34): [True: 0, False: 178]
  |  Branch (4233:57): [True: 0, False: 0]
  ------------------
 4234|      0|                p->error_indicator = 1;
 4235|      0|                p->level--;
 4236|      0|                return NULL;
 4237|      0|            }
 4238|    178|            goto done;
 4239|    178|        }
 4240|    202|        p->mark = _mark;
 4241|    202|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4242|    202|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name '.' NAME"));
 4243|    202|    }
 4244|      0|    { // NAME
 4245|    202|        if (p->error_indicator) {
  ------------------
  |  Branch (4245:13): [True: 0, False: 202]
  ------------------
 4246|      0|            p->level--;
 4247|      0|            return NULL;
 4248|      0|        }
 4249|    202|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 4250|    202|        expr_ty name_var;
 4251|    202|        if (
 4252|    202|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4252:13): [True: 202, False: 0]
  ------------------
 4253|    202|        )
 4254|    202|        {
 4255|    202|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 4256|    202|            _res = name_var;
 4257|    202|            goto done;
 4258|    202|        }
 4259|      0|        p->mark = _mark;
 4260|      0|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4261|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 4262|      0|    }
 4263|      0|    _res = NULL;
 4264|    380|  done:
 4265|    380|    p->level--;
 4266|    380|    return _res;
 4267|      0|}
parser.c:import_name_rule:
 3587|    101|{
 3588|    101|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    202|#  define MAXSTACK 6000
  ------------------
  |  Branch (3588:9): [True: 0, False: 101]
  |  Branch (3588:35): [True: 0, False: 101]
  ------------------
 3589|      0|        _Pypegen_stack_overflow(p);
 3590|      0|    }
 3591|    101|    if (p->error_indicator) {
  ------------------
  |  Branch (3591:9): [True: 0, False: 101]
  ------------------
 3592|      0|        p->level--;
 3593|      0|        return NULL;
 3594|      0|    }
 3595|    101|    stmt_ty _res = NULL;
 3596|    101|    int _mark = p->mark;
 3597|    101|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3597:9): [True: 0, False: 101]
  |  Branch (3597:31): [True: 0, False: 0]
  ------------------
 3598|      0|        p->error_indicator = 1;
 3599|      0|        p->level--;
 3600|      0|        return NULL;
 3601|      0|    }
 3602|    101|    int _start_lineno = p->tokens[_mark]->lineno;
 3603|    101|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    101|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 101]
  |  |  ------------------
  ------------------
 3604|    101|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3605|    101|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    101|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 101]
  |  |  ------------------
  ------------------
 3606|    101|    { // "lazy"? 'import' dotted_as_names
 3607|    101|        if (p->error_indicator) {
  ------------------
  |  Branch (3607:13): [True: 0, False: 101]
  ------------------
 3608|      0|            p->level--;
 3609|      0|            return NULL;
 3610|      0|        }
 3611|    101|        D(fprintf(stderr, "%*c> import_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3612|    101|        Token * _keyword;
 3613|    101|        asdl_alias_seq* a;
 3614|    101|        void *lazy;
 3615|    101|        if (
 3616|    101|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3616:13): [True: 101, False: 0]
  ------------------
 3617|    101|            &&
 3618|    101|            (_keyword = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3618:13): [True: 8, False: 93]
  ------------------
 3619|      8|            &&
 3620|      8|            (a = dotted_as_names_rule(p))  // dotted_as_names
  ------------------
  |  Branch (3620:13): [True: 8, False: 0]
  ------------------
 3621|    101|        )
 3622|      8|        {
 3623|      8|            D(fprintf(stderr, "%*c+ import_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3624|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3625|      8|            if (_token == NULL) {
  ------------------
  |  Branch (3625:17): [True: 0, False: 8]
  ------------------
 3626|      0|                p->level--;
 3627|      0|                return NULL;
 3628|      0|            }
 3629|      8|            int _end_lineno = _token->end_lineno;
 3630|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3631|      8|            int _end_col_offset = _token->end_col_offset;
 3632|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3633|      8|            _res = _PyAST_Import ( a , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  269|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3633:40): [True: 0, False: 8]
  ------------------
 3634|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3634:18): [True: 0, False: 8]
  |  Branch (3634:34): [True: 0, False: 8]
  |  Branch (3634:57): [True: 0, False: 0]
  ------------------
 3635|      0|                p->error_indicator = 1;
 3636|      0|                p->level--;
 3637|      0|                return NULL;
 3638|      0|            }
 3639|      8|            goto done;
 3640|      8|        }
 3641|     93|        p->mark = _mark;
 3642|     93|        D(fprintf(stderr, "%*c%s import_name[%d-%d]: %s failed!\n", p->level, ' ',
 3643|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3644|     93|    }
 3645|     93|    _res = NULL;
 3646|    101|  done:
 3647|    101|    p->level--;
 3648|    101|    return _res;
 3649|     93|}
parser.c:dotted_as_names_rule:
 4042|      8|{
 4043|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (4043:9): [True: 0, False: 8]
  |  Branch (4043:35): [True: 0, False: 8]
  ------------------
 4044|      0|        _Pypegen_stack_overflow(p);
 4045|      0|    }
 4046|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (4046:9): [True: 0, False: 8]
  ------------------
 4047|      0|        p->level--;
 4048|      0|        return NULL;
 4049|      0|    }
 4050|      8|    asdl_alias_seq* _res = NULL;
 4051|      8|    int _mark = p->mark;
 4052|      8|    { // ','.dotted_as_name+
 4053|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (4053:13): [True: 0, False: 8]
  ------------------
 4054|      0|            p->level--;
 4055|      0|            return NULL;
 4056|      0|        }
 4057|      8|        D(fprintf(stderr, "%*c> dotted_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4058|      8|        asdl_alias_seq* a;
 4059|      8|        if (
 4060|      8|            (a = (asdl_alias_seq*)_gather_23_rule(p))  // ','.dotted_as_name+
  ------------------
  |  Branch (4060:13): [True: 8, False: 0]
  ------------------
 4061|      8|        )
 4062|      8|        {
 4063|      8|            D(fprintf(stderr, "%*c+ dotted_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4064|      8|            _res = a;
 4065|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4065:18): [True: 0, False: 8]
  |  Branch (4065:34): [True: 0, False: 8]
  |  Branch (4065:57): [True: 0, False: 0]
  ------------------
 4066|      0|                p->error_indicator = 1;
 4067|      0|                p->level--;
 4068|      0|                return NULL;
 4069|      0|            }
 4070|      8|            goto done;
 4071|      8|        }
 4072|      0|        p->mark = _mark;
 4073|      0|        D(fprintf(stderr, "%*c%s dotted_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 4074|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.dotted_as_name+"));
 4075|      0|    }
 4076|      0|    _res = NULL;
 4077|      8|  done:
 4078|      8|    p->level--;
 4079|      8|    return _res;
 4080|      0|}
parser.c:_gather_23_rule:
29803|      8|{
29804|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (29804:9): [True: 0, False: 8]
  |  Branch (29804:35): [True: 0, False: 8]
  ------------------
29805|      0|        _Pypegen_stack_overflow(p);
29806|      0|    }
29807|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (29807:9): [True: 0, False: 8]
  ------------------
29808|      0|        p->level--;
29809|      0|        return NULL;
29810|      0|    }
29811|      8|    asdl_seq * _res = NULL;
29812|      8|    int _mark = p->mark;
29813|      8|    { // dotted_as_name _loop0_22
29814|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (29814:13): [True: 0, False: 8]
  ------------------
29815|      0|            p->level--;
29816|      0|            return NULL;
29817|      0|        }
29818|      8|        D(fprintf(stderr, "%*c> _gather_23[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
29819|      8|        alias_ty elem;
29820|      8|        asdl_seq * seq;
29821|      8|        if (
29822|      8|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (29822:13): [True: 8, False: 0]
  ------------------
29823|      8|            &&
29824|      8|            (seq = _loop0_22_rule(p))  // _loop0_22
  ------------------
  |  Branch (29824:13): [True: 8, False: 0]
  ------------------
29825|      8|        )
29826|      8|        {
29827|      8|            D(fprintf(stderr, "%*c+ _gather_23[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
29828|      8|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29829|      8|            goto done;
29830|      8|        }
29831|      0|        p->mark = _mark;
29832|      0|        D(fprintf(stderr, "%*c%s _gather_23[%d-%d]: %s failed!\n", p->level, ' ',
29833|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_as_name _loop0_22"));
29834|      0|    }
29835|      0|    _res = NULL;
29836|      8|  done:
29837|      8|    p->level--;
29838|      8|    return _res;
29839|      0|}
parser.c:dotted_as_name_rule:
 4085|      8|{
 4086|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (4086:9): [True: 0, False: 8]
  |  Branch (4086:35): [True: 0, False: 8]
  ------------------
 4087|      0|        _Pypegen_stack_overflow(p);
 4088|      0|    }
 4089|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (4089:9): [True: 0, False: 8]
  ------------------
 4090|      0|        p->level--;
 4091|      0|        return NULL;
 4092|      0|    }
 4093|      8|    alias_ty _res = NULL;
 4094|      8|    int _mark = p->mark;
 4095|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4095:9): [True: 8, False: 0]
  |  Branch (4095:31): [True: 0, False: 8]
  ------------------
 4096|      0|        p->error_indicator = 1;
 4097|      0|        p->level--;
 4098|      0|        return NULL;
 4099|      0|    }
 4100|      8|    int _start_lineno = p->tokens[_mark]->lineno;
 4101|      8|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 4102|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4103|      8|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 4104|      8|    if (p->call_invalid_rules) { // invalid_dotted_as_name
  ------------------
  |  Branch (4104:9): [True: 0, False: 8]
  ------------------
 4105|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4105:13): [True: 0, False: 0]
  ------------------
 4106|      0|            p->level--;
 4107|      0|            return NULL;
 4108|      0|        }
 4109|      0|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4110|      0|        void *invalid_dotted_as_name_var;
 4111|      0|        if (
 4112|      0|            (invalid_dotted_as_name_var = invalid_dotted_as_name_rule(p))  // invalid_dotted_as_name
  ------------------
  |  Branch (4112:13): [True: 0, False: 0]
  ------------------
 4113|      0|        )
 4114|      0|        {
 4115|      0|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4116|      0|            _res = invalid_dotted_as_name_var;
 4117|      0|            goto done;
 4118|      0|        }
 4119|      0|        p->mark = _mark;
 4120|      0|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4121|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_dotted_as_name"));
 4122|      0|    }
 4123|      8|    { // dotted_name ['as' NAME]
 4124|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (4124:13): [True: 0, False: 8]
  ------------------
 4125|      0|            p->level--;
 4126|      0|            return NULL;
 4127|      0|        }
 4128|      8|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4129|      8|        expr_ty a;
 4130|      8|        void *b;
 4131|      8|        if (
 4132|      8|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4132:13): [True: 8, False: 0]
  ------------------
 4133|      8|            &&
 4134|      8|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4134:13): [True: 8, False: 0]
  ------------------
 4135|      8|        )
 4136|      8|        {
 4137|      8|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4138|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4139|      8|            if (_token == NULL) {
  ------------------
  |  Branch (4139:17): [True: 0, False: 8]
  ------------------
 4140|      0|                p->level--;
 4141|      0|                return NULL;
 4142|      0|            }
 4143|      8|            int _end_lineno = _token->end_lineno;
 4144|      8|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 4145|      8|            int _end_col_offset = _token->end_col_offset;
 4146|      8|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
 4147|      8|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  269|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4147:56): [True: 0, False: 8]
  ------------------
 4148|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4148:18): [True: 0, False: 8]
  |  Branch (4148:34): [True: 0, False: 8]
  |  Branch (4148:57): [True: 0, False: 0]
  ------------------
 4149|      0|                p->error_indicator = 1;
 4150|      0|                p->level--;
 4151|      0|                return NULL;
 4152|      0|            }
 4153|      8|            goto done;
 4154|      8|        }
 4155|      0|        p->mark = _mark;
 4156|      0|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4157|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name ['as' NAME]"));
 4158|      0|    }
 4159|      0|    _res = NULL;
 4160|      8|  done:
 4161|      8|    p->level--;
 4162|      8|    return _res;
 4163|      0|}
parser.c:_tmp_21_rule:
29681|    103|{
29682|    103|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    206|#  define MAXSTACK 6000
  ------------------
  |  Branch (29682:9): [True: 0, False: 103]
  |  Branch (29682:35): [True: 0, False: 103]
  ------------------
29683|      0|        _Pypegen_stack_overflow(p);
29684|      0|    }
29685|    103|    if (p->error_indicator) {
  ------------------
  |  Branch (29685:9): [True: 0, False: 103]
  ------------------
29686|      0|        p->level--;
29687|      0|        return NULL;
29688|      0|    }
29689|    103|    void * _res = NULL;
29690|    103|    int _mark = p->mark;
29691|    103|    { // 'as' NAME
29692|    103|        if (p->error_indicator) {
  ------------------
  |  Branch (29692:13): [True: 0, False: 103]
  ------------------
29693|      0|            p->level--;
29694|      0|            return NULL;
29695|      0|        }
29696|    103|        D(fprintf(stderr, "%*c> _tmp_21[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29697|    103|        Token * _keyword;
29698|    103|        expr_ty z;
29699|    103|        if (
29700|    103|            (_keyword = _PyPegen_expect_token(p, 696))  // token='as'
  ------------------
  |  Branch (29700:13): [True: 2, False: 101]
  ------------------
29701|      2|            &&
29702|      2|            (z = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29702:13): [True: 2, False: 0]
  ------------------
29703|    103|        )
29704|      2|        {
29705|      2|            D(fprintf(stderr, "%*c+ _tmp_21[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29706|      2|            _res = z;
29707|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29707:18): [True: 0, False: 2]
  |  Branch (29707:34): [True: 0, False: 2]
  |  Branch (29707:57): [True: 0, False: 0]
  ------------------
29708|      0|                p->error_indicator = 1;
29709|      0|                p->level--;
29710|      0|                return NULL;
29711|      0|            }
29712|      2|            goto done;
29713|      2|        }
29714|    101|        p->mark = _mark;
29715|    101|        D(fprintf(stderr, "%*c%s _tmp_21[%d-%d]: %s failed!\n", p->level, ' ',
29716|    101|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' NAME"));
29717|    101|    }
29718|    101|    _res = NULL;
29719|    103|  done:
29720|    103|    p->level--;
29721|    103|    return _res;
29722|    101|}
parser.c:_loop0_22_rule:
29727|      8|{
29728|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (29728:9): [True: 0, False: 8]
  |  Branch (29728:35): [True: 0, False: 8]
  ------------------
29729|      0|        _Pypegen_stack_overflow(p);
29730|      0|    }
29731|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (29731:9): [True: 0, False: 8]
  ------------------
29732|      0|        p->level--;
29733|      0|        return NULL;
29734|      0|    }
29735|      8|    void *_res = NULL;
29736|      8|    int _mark = p->mark;
29737|      8|    void **_children = PyMem_Malloc(sizeof(void *));
29738|      8|    if (!_children) {
  ------------------
  |  Branch (29738:9): [True: 0, False: 8]
  ------------------
29739|      0|        p->error_indicator = 1;
29740|      0|        PyErr_NoMemory();
29741|      0|        p->level--;
29742|      0|        return NULL;
29743|      0|    }
29744|      8|    Py_ssize_t _children_capacity = 1;
29745|      8|    Py_ssize_t _n = 0;
29746|      8|    { // ',' dotted_as_name
29747|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (29747:13): [True: 0, False: 8]
  ------------------
29748|      0|            p->level--;
29749|      0|            return NULL;
29750|      0|        }
29751|      8|        D(fprintf(stderr, "%*c> _loop0_22[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_as_name"));
29752|      8|        Token * _literal;
29753|      8|        alias_ty elem;
29754|      8|        while (
29755|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29755:13): [True: 0, False: 8]
  ------------------
29756|      0|            &&
29757|      0|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (29757:13): [True: 0, False: 0]
  ------------------
29758|      8|        )
29759|      0|        {
29760|      0|            _res = elem;
29761|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29761:18): [True: 0, False: 0]
  |  Branch (29761:34): [True: 0, False: 0]
  |  Branch (29761:57): [True: 0, False: 0]
  ------------------
29762|      0|                p->error_indicator = 1;
29763|      0|                PyMem_Free(_children);
29764|      0|                p->level--;
29765|      0|                return NULL;
29766|      0|            }
29767|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29767:17): [True: 0, False: 0]
  ------------------
29768|      0|                _children_capacity *= 2;
29769|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29770|      0|                if (!_new_children) {
  ------------------
  |  Branch (29770:21): [True: 0, False: 0]
  ------------------
29771|      0|                    PyMem_Free(_children);
29772|      0|                    p->error_indicator = 1;
29773|      0|                    PyErr_NoMemory();
29774|      0|                    p->level--;
29775|      0|                    return NULL;
29776|      0|                }
29777|      0|                _children = _new_children;
29778|      0|            }
29779|      0|            _children[_n++] = _res;
29780|      0|            _mark = p->mark;
29781|      0|        }
29782|      8|        p->mark = _mark;
29783|      8|        D(fprintf(stderr, "%*c%s _loop0_22[%d-%d]: %s failed!\n", p->level, ' ',
29784|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_as_name"));
29785|      8|    }
29786|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29787|      8|    if (!_seq) {
  ------------------
  |  Branch (29787:9): [True: 0, False: 8]
  ------------------
29788|      0|        PyMem_Free(_children);
29789|      0|        p->error_indicator = 1;
29790|      0|        PyErr_NoMemory();
29791|      0|        p->level--;
29792|      0|        return NULL;
29793|      0|    }
29794|      8|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29794:28): [True: 0, False: 8]
  ------------------
29795|      8|    PyMem_Free(_children);
29796|      8|    p->level--;
29797|      8|    return _seq;
29798|      8|}
parser.c:import_from_rule:
 3656|     93|{
 3657|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (3657:9): [True: 0, False: 93]
  |  Branch (3657:35): [True: 0, False: 93]
  ------------------
 3658|      0|        _Pypegen_stack_overflow(p);
 3659|      0|    }
 3660|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (3660:9): [True: 0, False: 93]
  ------------------
 3661|      0|        p->level--;
 3662|      0|        return NULL;
 3663|      0|    }
 3664|     93|    stmt_ty _res = NULL;
 3665|     93|    int _mark = p->mark;
 3666|     93|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3666:9): [True: 0, False: 93]
  |  Branch (3666:31): [True: 0, False: 0]
  ------------------
 3667|      0|        p->error_indicator = 1;
 3668|      0|        p->level--;
 3669|      0|        return NULL;
 3670|      0|    }
 3671|     93|    int _start_lineno = p->tokens[_mark]->lineno;
 3672|     93|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3673|     93|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3674|     93|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3675|     93|    { // "lazy"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets
 3676|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (3676:13): [True: 0, False: 93]
  ------------------
 3677|      0|            p->level--;
 3678|      0|            return NULL;
 3679|      0|        }
 3680|     93|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3681|     93|        Token * _keyword;
 3682|     93|        Token * _keyword_1;
 3683|     93|        asdl_seq * a;
 3684|     93|        expr_ty b;
 3685|     93|        asdl_alias_seq* c;
 3686|     93|        void *lazy;
 3687|     93|        if (
 3688|     93|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3688:13): [True: 93, False: 0]
  ------------------
 3689|     93|            &&
 3690|     93|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (3690:13): [True: 93, False: 0]
  ------------------
 3691|     93|            &&
 3692|     93|            (a = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (3692:13): [True: 93, False: 0]
  ------------------
 3693|     93|            &&
 3694|     93|            (b = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (3694:13): [True: 93, False: 0]
  ------------------
 3695|     93|            &&
 3696|     93|            (_keyword_1 = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3696:13): [True: 93, False: 0]
  ------------------
 3697|     93|            &&
 3698|     93|            (c = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3698:13): [True: 93, False: 0]
  ------------------
 3699|     93|        )
 3700|     93|        {
 3701|     93|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3702|     93|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3703|     93|            if (_token == NULL) {
  ------------------
  |  Branch (3703:17): [True: 0, False: 93]
  ------------------
 3704|      0|                p->level--;
 3705|      0|                return NULL;
 3706|      0|            }
 3707|     93|            int _end_lineno = _token->end_lineno;
 3708|     93|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3709|     93|            int _end_col_offset = _token->end_col_offset;
 3710|     93|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3711|     93|            _res = _PyPegen_checked_future_import ( p , b -> v . Name . id , c , _PyPegen_seq_count_dots ( a ) , lazy , EXTRA );
  ------------------
  |  |  269|     93|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3712|     93|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3712:18): [True: 0, False: 93]
  |  Branch (3712:34): [True: 0, False: 93]
  |  Branch (3712:57): [True: 0, False: 0]
  ------------------
 3713|      0|                p->error_indicator = 1;
 3714|      0|                p->level--;
 3715|      0|                return NULL;
 3716|      0|            }
 3717|     93|            goto done;
 3718|     93|        }
 3719|      0|        p->mark = _mark;
 3720|      0|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3721|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3722|      0|    }
 3723|      0|    { // "lazy"? 'from' (('.' | '...'))+ 'import' import_from_targets
 3724|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3724:13): [True: 0, False: 0]
  ------------------
 3725|      0|            p->level--;
 3726|      0|            return NULL;
 3727|      0|        }
 3728|      0|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3729|      0|        Token * _keyword;
 3730|      0|        Token * _keyword_1;
 3731|      0|        asdl_seq * a;
 3732|      0|        asdl_alias_seq* b;
 3733|      0|        void *lazy;
 3734|      0|        if (
 3735|      0|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3735:13): [True: 0, False: 0]
  ------------------
 3736|      0|            &&
 3737|      0|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (3737:13): [True: 0, False: 0]
  ------------------
 3738|      0|            &&
 3739|      0|            (a = _loop1_18_rule(p))  // (('.' | '...'))+
  ------------------
  |  Branch (3739:13): [True: 0, False: 0]
  ------------------
 3740|      0|            &&
 3741|      0|            (_keyword_1 = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3741:13): [True: 0, False: 0]
  ------------------
 3742|      0|            &&
 3743|      0|            (b = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3743:13): [True: 0, False: 0]
  ------------------
 3744|      0|        )
 3745|      0|        {
 3746|      0|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3747|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3748|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3748:17): [True: 0, False: 0]
  ------------------
 3749|      0|                p->level--;
 3750|      0|                return NULL;
 3751|      0|            }
 3752|      0|            int _end_lineno = _token->end_lineno;
 3753|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3754|      0|            int _end_col_offset = _token->end_col_offset;
 3755|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3756|      0|            _res = _PyAST_ImportFrom ( NULL , b , _PyPegen_seq_count_dots ( a ) , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3756:83): [True: 0, False: 0]
  ------------------
 3757|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3757:18): [True: 0, False: 0]
  |  Branch (3757:34): [True: 0, False: 0]
  |  Branch (3757:57): [True: 0, False: 0]
  ------------------
 3758|      0|                p->error_indicator = 1;
 3759|      0|                p->level--;
 3760|      0|                return NULL;
 3761|      0|            }
 3762|      0|            goto done;
 3763|      0|        }
 3764|      0|        p->mark = _mark;
 3765|      0|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3766|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3767|      0|    }
 3768|      0|    _res = NULL;
 3769|     93|  done:
 3770|     93|    p->level--;
 3771|     93|    return _res;
 3772|      0|}
parser.c:_loop0_17_rule:
29425|     93|{
29426|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (29426:9): [True: 0, False: 93]
  |  Branch (29426:35): [True: 0, False: 93]
  ------------------
29427|      0|        _Pypegen_stack_overflow(p);
29428|      0|    }
29429|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (29429:9): [True: 0, False: 93]
  ------------------
29430|      0|        p->level--;
29431|      0|        return NULL;
29432|      0|    }
29433|     93|    void *_res = NULL;
29434|     93|    int _mark = p->mark;
29435|     93|    void **_children = PyMem_Malloc(sizeof(void *));
29436|     93|    if (!_children) {
  ------------------
  |  Branch (29436:9): [True: 0, False: 93]
  ------------------
29437|      0|        p->error_indicator = 1;
29438|      0|        PyErr_NoMemory();
29439|      0|        p->level--;
29440|      0|        return NULL;
29441|      0|    }
29442|     93|    Py_ssize_t _children_capacity = 1;
29443|     93|    Py_ssize_t _n = 0;
29444|     93|    { // ('.' | '...')
29445|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (29445:13): [True: 0, False: 93]
  ------------------
29446|      0|            p->level--;
29447|      0|            return NULL;
29448|      0|        }
29449|     93|        D(fprintf(stderr, "%*c> _loop0_17[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
29450|     93|        void *_tmp_160_var;
29451|     93|        while (
29452|     93|            (_tmp_160_var = _tmp_160_rule(p))  // '.' | '...'
  ------------------
  |  Branch (29452:13): [True: 0, False: 93]
  ------------------
29453|     93|        )
29454|      0|        {
29455|      0|            _res = _tmp_160_var;
29456|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29456:17): [True: 0, False: 0]
  ------------------
29457|      0|                _children_capacity *= 2;
29458|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29459|      0|                if (!_new_children) {
  ------------------
  |  Branch (29459:21): [True: 0, False: 0]
  ------------------
29460|      0|                    PyMem_Free(_children);
29461|      0|                    p->error_indicator = 1;
29462|      0|                    PyErr_NoMemory();
29463|      0|                    p->level--;
29464|      0|                    return NULL;
29465|      0|                }
29466|      0|                _children = _new_children;
29467|      0|            }
29468|      0|            _children[_n++] = _res;
29469|      0|            _mark = p->mark;
29470|      0|        }
29471|     93|        p->mark = _mark;
29472|     93|        D(fprintf(stderr, "%*c%s _loop0_17[%d-%d]: %s failed!\n", p->level, ' ',
29473|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
29474|     93|    }
29475|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29476|     93|    if (!_seq) {
  ------------------
  |  Branch (29476:9): [True: 0, False: 93]
  ------------------
29477|      0|        PyMem_Free(_children);
29478|      0|        p->error_indicator = 1;
29479|      0|        PyErr_NoMemory();
29480|      0|        p->level--;
29481|      0|        return NULL;
29482|      0|    }
29483|     93|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     93|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29483:28): [True: 0, False: 93]
  ------------------
29484|     93|    PyMem_Free(_children);
29485|     93|    p->level--;
29486|     93|    return _seq;
29487|     93|}
parser.c:_tmp_160_rule:
38336|     93|{
38337|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (38337:9): [True: 0, False: 93]
  |  Branch (38337:35): [True: 0, False: 93]
  ------------------
38338|      0|        _Pypegen_stack_overflow(p);
38339|      0|    }
38340|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (38340:9): [True: 0, False: 93]
  ------------------
38341|      0|        p->level--;
38342|      0|        return NULL;
38343|      0|    }
38344|     93|    void * _res = NULL;
38345|     93|    int _mark = p->mark;
38346|     93|    { // '.'
38347|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (38347:13): [True: 0, False: 93]
  ------------------
38348|      0|            p->level--;
38349|      0|            return NULL;
38350|      0|        }
38351|     93|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
38352|     93|        Token * _literal;
38353|     93|        if (
38354|     93|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (38354:13): [True: 0, False: 93]
  ------------------
38355|     93|        )
38356|      0|        {
38357|      0|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
38358|      0|            _res = _literal;
38359|      0|            goto done;
38360|      0|        }
38361|     93|        p->mark = _mark;
38362|     93|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38363|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
38364|     93|    }
38365|      0|    { // '...'
38366|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (38366:13): [True: 0, False: 93]
  ------------------
38367|      0|            p->level--;
38368|      0|            return NULL;
38369|      0|        }
38370|     93|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
38371|     93|        Token * _literal;
38372|     93|        if (
38373|     93|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (38373:13): [True: 0, False: 93]
  ------------------
38374|     93|        )
38375|      0|        {
38376|      0|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
38377|      0|            _res = _literal;
38378|      0|            goto done;
38379|      0|        }
38380|     93|        p->mark = _mark;
38381|     93|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38382|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
38383|     93|    }
38384|     93|    _res = NULL;
38385|     93|  done:
38386|     93|    p->level--;
38387|     93|    return _res;
38388|     93|}
parser.c:import_from_targets_rule:
 3781|     93|{
 3782|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (3782:9): [True: 0, False: 93]
  |  Branch (3782:35): [True: 0, False: 93]
  ------------------
 3783|      0|        _Pypegen_stack_overflow(p);
 3784|      0|    }
 3785|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (3785:9): [True: 0, False: 93]
  ------------------
 3786|      0|        p->level--;
 3787|      0|        return NULL;
 3788|      0|    }
 3789|     93|    asdl_alias_seq* _res = NULL;
 3790|     93|    int _mark = p->mark;
 3791|     93|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3791:9): [True: 93, False: 0]
  |  Branch (3791:31): [True: 0, False: 93]
  ------------------
 3792|      0|        p->error_indicator = 1;
 3793|      0|        p->level--;
 3794|      0|        return NULL;
 3795|      0|    }
 3796|     93|    int _start_lineno = p->tokens[_mark]->lineno;
 3797|     93|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3798|     93|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3799|     93|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3800|     93|    { // '(' import_from_as_names ','? ')'
 3801|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (3801:13): [True: 0, False: 93]
  ------------------
 3802|      0|            p->level--;
 3803|      0|            return NULL;
 3804|      0|        }
 3805|     93|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3806|     93|        Token * _literal;
 3807|     93|        Token * _literal_1;
 3808|     93|        void *_opt_var;
 3809|     93|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     93|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 93]
  |  |  ------------------
  ------------------
 3810|     93|        asdl_alias_seq* a;
 3811|     93|        if (
 3812|     93|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3812:13): [True: 0, False: 93]
  ------------------
 3813|      0|            &&
 3814|      0|            (a = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3814:13): [True: 0, False: 0]
  ------------------
 3815|      0|            &&
 3816|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            &&
 3818|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3818:13): [True: 0, False: 0]
  ------------------
 3819|     93|        )
 3820|      0|        {
 3821|      0|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3822|      0|            _res = a;
 3823|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3823:18): [True: 0, False: 0]
  |  Branch (3823:34): [True: 0, False: 0]
  |  Branch (3823:57): [True: 0, False: 0]
  ------------------
 3824|      0|                p->error_indicator = 1;
 3825|      0|                p->level--;
 3826|      0|                return NULL;
 3827|      0|            }
 3828|      0|            goto done;
 3829|      0|        }
 3830|     93|        p->mark = _mark;
 3831|     93|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3832|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3833|     93|    }
 3834|      0|    { // import_from_as_names !','
 3835|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (3835:13): [True: 0, False: 93]
  ------------------
 3836|      0|            p->level--;
 3837|      0|            return NULL;
 3838|      0|        }
 3839|     93|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3840|     93|        asdl_alias_seq* import_from_as_names_var;
 3841|     93|        if (
 3842|     93|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3842:13): [True: 93, False: 0]
  ------------------
 3843|     93|            &&
 3844|     93|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (3844:13): [True: 93, False: 0]
  ------------------
 3845|     93|        )
 3846|     93|        {
 3847|     93|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3848|     93|            _res = import_from_as_names_var;
 3849|     93|            goto done;
 3850|     93|        }
 3851|      0|        p->mark = _mark;
 3852|      0|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3853|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names !','"));
 3854|      0|    }
 3855|      0|    { // '*'
 3856|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3856:13): [True: 0, False: 0]
  ------------------
 3857|      0|            p->level--;
 3858|      0|            return NULL;
 3859|      0|        }
 3860|      0|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 3861|      0|        Token * _literal;
 3862|      0|        if (
 3863|      0|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3863:13): [True: 0, False: 0]
  ------------------
 3864|      0|        )
 3865|      0|        {
 3866|      0|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 3867|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3868|      0|            if (_token == NULL) {
  ------------------
  |  Branch (3868:17): [True: 0, False: 0]
  ------------------
 3869|      0|                p->level--;
 3870|      0|                return NULL;
 3871|      0|            }
 3872|      0|            int _end_lineno = _token->end_lineno;
 3873|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3874|      0|            int _end_col_offset = _token->end_col_offset;
 3875|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3876|      0|            _res = ( asdl_alias_seq* ) _PyPegen_singleton_seq ( p , CHECK ( alias_ty , _PyPegen_alias_for_star ( p , EXTRA ) ) );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 3877|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3877:18): [True: 0, False: 0]
  |  Branch (3877:34): [True: 0, False: 0]
  |  Branch (3877:57): [True: 0, False: 0]
  ------------------
 3878|      0|                p->error_indicator = 1;
 3879|      0|                p->level--;
 3880|      0|                return NULL;
 3881|      0|            }
 3882|      0|            goto done;
 3883|      0|        }
 3884|      0|        p->mark = _mark;
 3885|      0|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3886|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 3887|      0|    }
 3888|      0|    if (p->call_invalid_rules) { // invalid_import_from_targets
  ------------------
  |  Branch (3888:9): [True: 0, False: 0]
  ------------------
 3889|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3889:13): [True: 0, False: 0]
  ------------------
 3890|      0|            p->level--;
 3891|      0|            return NULL;
 3892|      0|        }
 3893|      0|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3894|      0|        void *invalid_import_from_targets_var;
 3895|      0|        if (
 3896|      0|            (invalid_import_from_targets_var = invalid_import_from_targets_rule(p))  // invalid_import_from_targets
  ------------------
  |  Branch (3896:13): [True: 0, False: 0]
  ------------------
 3897|      0|        )
 3898|      0|        {
 3899|      0|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3900|      0|            _res = invalid_import_from_targets_var;
 3901|      0|            goto done;
 3902|      0|        }
 3903|      0|        p->mark = _mark;
 3904|      0|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3905|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_targets"));
 3906|      0|    }
 3907|      0|    _res = NULL;
 3908|     93|  done:
 3909|     93|    p->level--;
 3910|     93|    return _res;
 3911|      0|}
parser.c:import_from_as_names_rule:
 3916|     93|{
 3917|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (3917:9): [True: 0, False: 93]
  |  Branch (3917:35): [True: 0, False: 93]
  ------------------
 3918|      0|        _Pypegen_stack_overflow(p);
 3919|      0|    }
 3920|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (3920:9): [True: 0, False: 93]
  ------------------
 3921|      0|        p->level--;
 3922|      0|        return NULL;
 3923|      0|    }
 3924|     93|    asdl_alias_seq* _res = NULL;
 3925|     93|    int _mark = p->mark;
 3926|     93|    { // ','.import_from_as_name+
 3927|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (3927:13): [True: 0, False: 93]
  ------------------
 3928|      0|            p->level--;
 3929|      0|            return NULL;
 3930|      0|        }
 3931|     93|        D(fprintf(stderr, "%*c> import_from_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3932|     93|        asdl_alias_seq* a;
 3933|     93|        if (
 3934|     93|            (a = (asdl_alias_seq*)_gather_20_rule(p))  // ','.import_from_as_name+
  ------------------
  |  Branch (3934:13): [True: 93, False: 0]
  ------------------
 3935|     93|        )
 3936|     93|        {
 3937|     93|            D(fprintf(stderr, "%*c+ import_from_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3938|     93|            _res = a;
 3939|     93|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3939:18): [True: 0, False: 93]
  |  Branch (3939:34): [True: 0, False: 93]
  |  Branch (3939:57): [True: 0, False: 0]
  ------------------
 3940|      0|                p->error_indicator = 1;
 3941|      0|                p->level--;
 3942|      0|                return NULL;
 3943|      0|            }
 3944|     93|            goto done;
 3945|     93|        }
 3946|      0|        p->mark = _mark;
 3947|      0|        D(fprintf(stderr, "%*c%s import_from_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 3948|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.import_from_as_name+"));
 3949|      0|    }
 3950|      0|    _res = NULL;
 3951|     93|  done:
 3952|     93|    p->level--;
 3953|     93|    return _res;
 3954|      0|}
parser.c:_gather_20_rule:
29640|     93|{
29641|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (29641:9): [True: 0, False: 93]
  |  Branch (29641:35): [True: 0, False: 93]
  ------------------
29642|      0|        _Pypegen_stack_overflow(p);
29643|      0|    }
29644|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (29644:9): [True: 0, False: 93]
  ------------------
29645|      0|        p->level--;
29646|      0|        return NULL;
29647|      0|    }
29648|     93|    asdl_seq * _res = NULL;
29649|     93|    int _mark = p->mark;
29650|     93|    { // import_from_as_name _loop0_19
29651|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (29651:13): [True: 0, False: 93]
  ------------------
29652|      0|            p->level--;
29653|      0|            return NULL;
29654|      0|        }
29655|     93|        D(fprintf(stderr, "%*c> _gather_20[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29656|     93|        alias_ty elem;
29657|     93|        asdl_seq * seq;
29658|     93|        if (
29659|     93|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29659:13): [True: 93, False: 0]
  ------------------
29660|     93|            &&
29661|     93|            (seq = _loop0_19_rule(p))  // _loop0_19
  ------------------
  |  Branch (29661:13): [True: 93, False: 0]
  ------------------
29662|     93|        )
29663|     93|        {
29664|     93|            D(fprintf(stderr, "%*c+ _gather_20[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29665|     93|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29666|     93|            goto done;
29667|     93|        }
29668|      0|        p->mark = _mark;
29669|      0|        D(fprintf(stderr, "%*c%s _gather_20[%d-%d]: %s failed!\n", p->level, ' ',
29670|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_name _loop0_19"));
29671|      0|    }
29672|      0|    _res = NULL;
29673|     93|  done:
29674|     93|    p->level--;
29675|     93|    return _res;
29676|      0|}
parser.c:import_from_as_name_rule:
 3959|     95|{
 3960|     95|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    190|#  define MAXSTACK 6000
  ------------------
  |  Branch (3960:9): [True: 0, False: 95]
  |  Branch (3960:35): [True: 0, False: 95]
  ------------------
 3961|      0|        _Pypegen_stack_overflow(p);
 3962|      0|    }
 3963|     95|    if (p->error_indicator) {
  ------------------
  |  Branch (3963:9): [True: 0, False: 95]
  ------------------
 3964|      0|        p->level--;
 3965|      0|        return NULL;
 3966|      0|    }
 3967|     95|    alias_ty _res = NULL;
 3968|     95|    int _mark = p->mark;
 3969|     95|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3969:9): [True: 2, False: 93]
  |  Branch (3969:31): [True: 0, False: 2]
  ------------------
 3970|      0|        p->error_indicator = 1;
 3971|      0|        p->level--;
 3972|      0|        return NULL;
 3973|      0|    }
 3974|     95|    int _start_lineno = p->tokens[_mark]->lineno;
 3975|     95|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 3976|     95|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3977|     95|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 3978|     95|    if (p->call_invalid_rules) { // invalid_import_from_as_name
  ------------------
  |  Branch (3978:9): [True: 0, False: 95]
  ------------------
 3979|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3979:13): [True: 0, False: 0]
  ------------------
 3980|      0|            p->level--;
 3981|      0|            return NULL;
 3982|      0|        }
 3983|      0|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 3984|      0|        void *invalid_import_from_as_name_var;
 3985|      0|        if (
 3986|      0|            (invalid_import_from_as_name_var = invalid_import_from_as_name_rule(p))  // invalid_import_from_as_name
  ------------------
  |  Branch (3986:13): [True: 0, False: 0]
  ------------------
 3987|      0|        )
 3988|      0|        {
 3989|      0|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 3990|      0|            _res = invalid_import_from_as_name_var;
 3991|      0|            goto done;
 3992|      0|        }
 3993|      0|        p->mark = _mark;
 3994|      0|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 3995|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_as_name"));
 3996|      0|    }
 3997|     95|    { // NAME ['as' NAME]
 3998|     95|        if (p->error_indicator) {
  ------------------
  |  Branch (3998:13): [True: 0, False: 95]
  ------------------
 3999|      0|            p->level--;
 4000|      0|            return NULL;
 4001|      0|        }
 4002|     95|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4003|     95|        expr_ty a;
 4004|     95|        void *b;
 4005|     95|        if (
 4006|     95|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4006:13): [True: 95, False: 0]
  ------------------
 4007|     95|            &&
 4008|     95|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4008:13): [True: 95, False: 0]
  ------------------
 4009|     95|        )
 4010|     95|        {
 4011|     95|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4012|     95|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4013|     95|            if (_token == NULL) {
  ------------------
  |  Branch (4013:17): [True: 0, False: 95]
  ------------------
 4014|      0|                p->level--;
 4015|      0|                return NULL;
 4016|      0|            }
 4017|     95|            int _end_lineno = _token->end_lineno;
 4018|     95|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 4019|     95|            int _end_col_offset = _token->end_col_offset;
 4020|     95|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 4021|     95|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  269|     95|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4021:56): [True: 2, False: 93]
  ------------------
 4022|     95|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4022:18): [True: 0, False: 95]
  |  Branch (4022:34): [True: 0, False: 95]
  |  Branch (4022:57): [True: 0, False: 0]
  ------------------
 4023|      0|                p->error_indicator = 1;
 4024|      0|                p->level--;
 4025|      0|                return NULL;
 4026|      0|            }
 4027|     95|            goto done;
 4028|     95|        }
 4029|      0|        p->mark = _mark;
 4030|      0|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4031|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ['as' NAME]"));
 4032|      0|    }
 4033|      0|    _res = NULL;
 4034|     95|  done:
 4035|     95|    p->level--;
 4036|     95|    return _res;
 4037|      0|}
parser.c:_loop0_19_rule:
29564|     93|{
29565|     93|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    186|#  define MAXSTACK 6000
  ------------------
  |  Branch (29565:9): [True: 0, False: 93]
  |  Branch (29565:35): [True: 0, False: 93]
  ------------------
29566|      0|        _Pypegen_stack_overflow(p);
29567|      0|    }
29568|     93|    if (p->error_indicator) {
  ------------------
  |  Branch (29568:9): [True: 0, False: 93]
  ------------------
29569|      0|        p->level--;
29570|      0|        return NULL;
29571|      0|    }
29572|     93|    void *_res = NULL;
29573|     93|    int _mark = p->mark;
29574|     93|    void **_children = PyMem_Malloc(sizeof(void *));
29575|     93|    if (!_children) {
  ------------------
  |  Branch (29575:9): [True: 0, False: 93]
  ------------------
29576|      0|        p->error_indicator = 1;
29577|      0|        PyErr_NoMemory();
29578|      0|        p->level--;
29579|      0|        return NULL;
29580|      0|    }
29581|     93|    Py_ssize_t _children_capacity = 1;
29582|     93|    Py_ssize_t _n = 0;
29583|     93|    { // ',' import_from_as_name
29584|     93|        if (p->error_indicator) {
  ------------------
  |  Branch (29584:13): [True: 0, False: 93]
  ------------------
29585|      0|            p->level--;
29586|      0|            return NULL;
29587|      0|        }
29588|     93|        D(fprintf(stderr, "%*c> _loop0_19[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' import_from_as_name"));
29589|     93|        Token * _literal;
29590|     93|        alias_ty elem;
29591|     93|        while (
29592|     95|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29592:13): [True: 2, False: 93]
  ------------------
29593|      2|            &&
29594|      2|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29594:13): [True: 2, False: 0]
  ------------------
29595|     93|        )
29596|      2|        {
29597|      2|            _res = elem;
29598|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29598:18): [True: 0, False: 2]
  |  Branch (29598:34): [True: 0, False: 2]
  |  Branch (29598:57): [True: 0, False: 0]
  ------------------
29599|      0|                p->error_indicator = 1;
29600|      0|                PyMem_Free(_children);
29601|      0|                p->level--;
29602|      0|                return NULL;
29603|      0|            }
29604|      2|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29604:17): [True: 0, False: 2]
  ------------------
29605|      0|                _children_capacity *= 2;
29606|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29607|      0|                if (!_new_children) {
  ------------------
  |  Branch (29607:21): [True: 0, False: 0]
  ------------------
29608|      0|                    PyMem_Free(_children);
29609|      0|                    p->error_indicator = 1;
29610|      0|                    PyErr_NoMemory();
29611|      0|                    p->level--;
29612|      0|                    return NULL;
29613|      0|                }
29614|      0|                _children = _new_children;
29615|      0|            }
29616|      2|            _children[_n++] = _res;
29617|      2|            _mark = p->mark;
29618|      2|        }
29619|     93|        p->mark = _mark;
29620|     93|        D(fprintf(stderr, "%*c%s _loop0_19[%d-%d]: %s failed!\n", p->level, ' ',
29621|     93|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' import_from_as_name"));
29622|     93|    }
29623|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29624|     93|    if (!_seq) {
  ------------------
  |  Branch (29624:9): [True: 0, False: 93]
  ------------------
29625|      0|        PyMem_Free(_children);
29626|      0|        p->error_indicator = 1;
29627|      0|        PyErr_NoMemory();
29628|      0|        p->level--;
29629|      0|        return NULL;
29630|      0|    }
29631|     95|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      2|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     95|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29631:28): [True: 2, False: 93]
  ------------------
29632|     93|    PyMem_Free(_children);
29633|     93|    p->level--;
29634|     93|    return _seq;
29635|     93|}
parser.c:return_stmt_rule:
 2737|    446|{
 2738|    446|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    892|#  define MAXSTACK 6000
  ------------------
  |  Branch (2738:9): [True: 0, False: 446]
  |  Branch (2738:35): [True: 0, False: 446]
  ------------------
 2739|      0|        _Pypegen_stack_overflow(p);
 2740|      0|    }
 2741|    446|    if (p->error_indicator) {
  ------------------
  |  Branch (2741:9): [True: 0, False: 446]
  ------------------
 2742|      0|        p->level--;
 2743|      0|        return NULL;
 2744|      0|    }
 2745|    446|    stmt_ty _res = NULL;
 2746|    446|    int _mark = p->mark;
 2747|    446|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 446]
  |  Branch (2747:31): [True: 0, False: 0]
  ------------------
 2748|      0|        p->error_indicator = 1;
 2749|      0|        p->level--;
 2750|      0|        return NULL;
 2751|      0|    }
 2752|    446|    int _start_lineno = p->tokens[_mark]->lineno;
 2753|    446|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    446|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 446]
  |  |  ------------------
  ------------------
 2754|    446|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2755|    446|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    446|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 446]
  |  |  ------------------
  ------------------
 2756|    446|    { // 'return' star_expressions?
 2757|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (2757:13): [True: 0, False: 446]
  ------------------
 2758|      0|            p->level--;
 2759|      0|            return NULL;
 2760|      0|        }
 2761|    446|        D(fprintf(stderr, "%*c> return_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2762|    446|        Token * _keyword;
 2763|    446|        void *a;
 2764|    446|        if (
 2765|    446|            (_keyword = _PyPegen_expect_token(p, 522))  // token='return'
  ------------------
  |  Branch (2765:13): [True: 446, False: 0]
  ------------------
 2766|    446|            &&
 2767|    446|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (2767:13): [True: 446, False: 0]
  ------------------
 2768|    446|        )
 2769|    446|        {
 2770|    446|            D(fprintf(stderr, "%*c+ return_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2771|    446|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2772|    446|            if (_token == NULL) {
  ------------------
  |  Branch (2772:17): [True: 0, False: 446]
  ------------------
 2773|      0|                p->level--;
 2774|      0|                return NULL;
 2775|      0|            }
 2776|    446|            int _end_lineno = _token->end_lineno;
 2777|    446|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    446|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 446]
  |  |  ------------------
  ------------------
 2778|    446|            int _end_col_offset = _token->end_col_offset;
 2779|    446|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    446|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 446]
  |  |  ------------------
  ------------------
 2780|    446|            _res = _PyAST_Return ( a , EXTRA );
  ------------------
  |  |  269|    446|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2781|    446|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2781:18): [True: 0, False: 446]
  |  Branch (2781:34): [True: 0, False: 446]
  |  Branch (2781:57): [True: 0, False: 0]
  ------------------
 2782|      0|                p->error_indicator = 1;
 2783|      0|                p->level--;
 2784|      0|                return NULL;
 2785|      0|            }
 2786|    446|            goto done;
 2787|    446|        }
 2788|      0|        p->mark = _mark;
 2789|      0|        D(fprintf(stderr, "%*c%s return_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2790|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'return' star_expressions?"));
 2791|      0|    }
 2792|      0|    _res = NULL;
 2793|    446|  done:
 2794|    446|    p->level--;
 2795|    446|    return _res;
 2796|      0|}
parser.c:raise_stmt_rule:
 2805|     50|{
 2806|     50|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    100|#  define MAXSTACK 6000
  ------------------
  |  Branch (2806:9): [True: 0, False: 50]
  |  Branch (2806:35): [True: 0, False: 50]
  ------------------
 2807|      0|        _Pypegen_stack_overflow(p);
 2808|      0|    }
 2809|     50|    if (p->error_indicator) {
  ------------------
  |  Branch (2809:9): [True: 0, False: 50]
  ------------------
 2810|      0|        p->level--;
 2811|      0|        return NULL;
 2812|      0|    }
 2813|     50|    stmt_ty _res = NULL;
 2814|     50|    int _mark = p->mark;
 2815|     50|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2815:9): [True: 0, False: 50]
  |  Branch (2815:31): [True: 0, False: 0]
  ------------------
 2816|      0|        p->error_indicator = 1;
 2817|      0|        p->level--;
 2818|      0|        return NULL;
 2819|      0|    }
 2820|     50|    int _start_lineno = p->tokens[_mark]->lineno;
 2821|     50|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2822|     50|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2823|     50|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2824|     50|    { // 'raise' expression 'from' expression
 2825|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (2825:13): [True: 0, False: 50]
  ------------------
 2826|      0|            p->level--;
 2827|      0|            return NULL;
 2828|      0|        }
 2829|     50|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2830|     50|        Token * _keyword;
 2831|     50|        Token * _keyword_1;
 2832|     50|        expr_ty a;
 2833|     50|        expr_ty b;
 2834|     50|        if (
 2835|     50|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2835:13): [True: 50, False: 0]
  ------------------
 2836|     50|            &&
 2837|     50|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2837:13): [True: 50, False: 0]
  ------------------
 2838|     50|            &&
 2839|     50|            (_keyword_1 = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (2839:13): [True: 0, False: 50]
  ------------------
 2840|      0|            &&
 2841|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2841:13): [True: 0, False: 0]
  ------------------
 2842|     50|        )
 2843|      0|        {
 2844|      0|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2845|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2846|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2846:17): [True: 0, False: 0]
  ------------------
 2847|      0|                p->level--;
 2848|      0|                return NULL;
 2849|      0|            }
 2850|      0|            int _end_lineno = _token->end_lineno;
 2851|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2852|      0|            int _end_col_offset = _token->end_col_offset;
 2853|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2854|      0|            _res = _PyAST_Raise ( a , b , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2855|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2855:18): [True: 0, False: 0]
  |  Branch (2855:34): [True: 0, False: 0]
  |  Branch (2855:57): [True: 0, False: 0]
  ------------------
 2856|      0|                p->error_indicator = 1;
 2857|      0|                p->level--;
 2858|      0|                return NULL;
 2859|      0|            }
 2860|      0|            goto done;
 2861|      0|        }
 2862|     50|        p->mark = _mark;
 2863|     50|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2864|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from' expression"));
 2865|     50|    }
 2866|     50|    if (p->call_invalid_rules) { // invalid_raise_stmt
  ------------------
  |  Branch (2866:9): [True: 0, False: 50]
  ------------------
 2867|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (2867:13): [True: 0, False: 0]
  ------------------
 2868|      0|            p->level--;
 2869|      0|            return NULL;
 2870|      0|        }
 2871|      0|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2872|      0|        void *invalid_raise_stmt_var;
 2873|      0|        if (
 2874|      0|            (invalid_raise_stmt_var = invalid_raise_stmt_rule(p))  // invalid_raise_stmt
  ------------------
  |  Branch (2874:13): [True: 0, False: 0]
  ------------------
 2875|      0|        )
 2876|      0|        {
 2877|      0|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2878|      0|            _res = invalid_raise_stmt_var;
 2879|      0|            goto done;
 2880|      0|        }
 2881|      0|        p->mark = _mark;
 2882|      0|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2883|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_raise_stmt"));
 2884|      0|    }
 2885|     50|    { // 'raise' expression
 2886|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 50]
  ------------------
 2887|      0|            p->level--;
 2888|      0|            return NULL;
 2889|      0|        }
 2890|     50|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2891|     50|        Token * _keyword;
 2892|     50|        expr_ty a;
 2893|     50|        if (
 2894|     50|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2894:13): [True: 50, False: 0]
  ------------------
 2895|     50|            &&
 2896|     50|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2896:13): [True: 50, False: 0]
  ------------------
 2897|     50|        )
 2898|     50|        {
 2899|     50|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2900|     50|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2901|     50|            if (_token == NULL) {
  ------------------
  |  Branch (2901:17): [True: 0, False: 50]
  ------------------
 2902|      0|                p->level--;
 2903|      0|                return NULL;
 2904|      0|            }
 2905|     50|            int _end_lineno = _token->end_lineno;
 2906|     50|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2907|     50|            int _end_col_offset = _token->end_col_offset;
 2908|     50|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     50|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2909|     50|            _res = _PyAST_Raise ( a , NULL , EXTRA );
  ------------------
  |  |  269|     50|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2910|     50|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2910:18): [True: 0, False: 50]
  |  Branch (2910:34): [True: 0, False: 50]
  |  Branch (2910:57): [True: 0, False: 0]
  ------------------
 2911|      0|                p->error_indicator = 1;
 2912|      0|                p->level--;
 2913|      0|                return NULL;
 2914|      0|            }
 2915|     50|            goto done;
 2916|     50|        }
 2917|      0|        p->mark = _mark;
 2918|      0|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2919|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression"));
 2920|      0|    }
 2921|      0|    { // 'raise'
 2922|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (2922:13): [True: 0, False: 0]
  ------------------
 2923|      0|            p->level--;
 2924|      0|            return NULL;
 2925|      0|        }
 2926|      0|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2927|      0|        Token * _keyword;
 2928|      0|        if (
 2929|      0|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2929:13): [True: 0, False: 0]
  ------------------
 2930|      0|        )
 2931|      0|        {
 2932|      0|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2933|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2934|      0|            if (_token == NULL) {
  ------------------
  |  Branch (2934:17): [True: 0, False: 0]
  ------------------
 2935|      0|                p->level--;
 2936|      0|                return NULL;
 2937|      0|            }
 2938|      0|            int _end_lineno = _token->end_lineno;
 2939|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2940|      0|            int _end_col_offset = _token->end_col_offset;
 2941|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2942|      0|            _res = _PyAST_Raise ( NULL , NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2943|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2943:18): [True: 0, False: 0]
  |  Branch (2943:34): [True: 0, False: 0]
  |  Branch (2943:57): [True: 0, False: 0]
  ------------------
 2944|      0|                p->error_indicator = 1;
 2945|      0|                p->level--;
 2946|      0|                return NULL;
 2947|      0|            }
 2948|      0|            goto done;
 2949|      0|        }
 2950|      0|        p->mark = _mark;
 2951|      0|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2952|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise'"));
 2953|      0|    }
 2954|      0|    _res = NULL;
 2955|     50|  done:
 2956|     50|    p->level--;
 2957|     50|    return _res;
 2958|      0|}
parser.c:assert_stmt_rule:
 3420|      2|{
 3421|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (3421:9): [True: 0, False: 2]
  |  Branch (3421:35): [True: 0, False: 2]
  ------------------
 3422|      0|        _Pypegen_stack_overflow(p);
 3423|      0|    }
 3424|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (3424:9): [True: 0, False: 2]
  ------------------
 3425|      0|        p->level--;
 3426|      0|        return NULL;
 3427|      0|    }
 3428|      2|    stmt_ty _res = NULL;
 3429|      2|    int _mark = p->mark;
 3430|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 2]
  |  Branch (3430:31): [True: 0, False: 0]
  ------------------
 3431|      0|        p->error_indicator = 1;
 3432|      0|        p->level--;
 3433|      0|        return NULL;
 3434|      0|    }
 3435|      2|    int _start_lineno = p->tokens[_mark]->lineno;
 3436|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3437|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3438|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3439|      2|    if (p->call_invalid_rules) { // invalid_assert_stmt
  ------------------
  |  Branch (3439:9): [True: 0, False: 2]
  ------------------
 3440|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3440:13): [True: 0, False: 0]
  ------------------
 3441|      0|            p->level--;
 3442|      0|            return NULL;
 3443|      0|        }
 3444|      0|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3445|      0|        void *invalid_assert_stmt_var;
 3446|      0|        if (
 3447|      0|            (invalid_assert_stmt_var = invalid_assert_stmt_rule(p))  // invalid_assert_stmt
  ------------------
  |  Branch (3447:13): [True: 0, False: 0]
  ------------------
 3448|      0|        )
 3449|      0|        {
 3450|      0|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3451|      0|            _res = invalid_assert_stmt_var;
 3452|      0|            goto done;
 3453|      0|        }
 3454|      0|        p->mark = _mark;
 3455|      0|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3456|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assert_stmt"));
 3457|      0|    }
 3458|      2|    { // 'assert' expression [',' expression]
 3459|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (3459:13): [True: 0, False: 2]
  ------------------
 3460|      0|            p->level--;
 3461|      0|            return NULL;
 3462|      0|        }
 3463|      2|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3464|      2|        Token * _keyword;
 3465|      2|        expr_ty a;
 3466|      2|        void *b;
 3467|      2|        if (
 3468|      2|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (3468:13): [True: 2, False: 0]
  ------------------
 3469|      2|            &&
 3470|      2|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (3470:13): [True: 2, False: 0]
  ------------------
 3471|      2|            &&
 3472|      2|            (b = _tmp_16_rule(p), !p->error_indicator)  // [',' expression]
  ------------------
  |  Branch (3472:13): [True: 2, False: 0]
  ------------------
 3473|      2|        )
 3474|      2|        {
 3475|      2|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3476|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3477|      2|            if (_token == NULL) {
  ------------------
  |  Branch (3477:17): [True: 0, False: 2]
  ------------------
 3478|      0|                p->level--;
 3479|      0|                return NULL;
 3480|      0|            }
 3481|      2|            int _end_lineno = _token->end_lineno;
 3482|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3483|      2|            int _end_col_offset = _token->end_col_offset;
 3484|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3485|      2|            _res = _PyAST_Assert ( a , b , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3486|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3486:18): [True: 0, False: 2]
  |  Branch (3486:34): [True: 0, False: 2]
  |  Branch (3486:57): [True: 0, False: 0]
  ------------------
 3487|      0|                p->error_indicator = 1;
 3488|      0|                p->level--;
 3489|      0|                return NULL;
 3490|      0|            }
 3491|      2|            goto done;
 3492|      2|        }
 3493|      0|        p->mark = _mark;
 3494|      0|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3495|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression [',' expression]"));
 3496|      0|    }
 3497|      0|    _res = NULL;
 3498|      2|  done:
 3499|      2|    p->level--;
 3500|      2|    return _res;
 3501|      0|}
parser.c:_tmp_16_rule:
29379|     80|{
29380|     80|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    160|#  define MAXSTACK 6000
  ------------------
  |  Branch (29380:9): [True: 0, False: 80]
  |  Branch (29380:35): [True: 0, False: 80]
  ------------------
29381|      0|        _Pypegen_stack_overflow(p);
29382|      0|    }
29383|     80|    if (p->error_indicator) {
  ------------------
  |  Branch (29383:9): [True: 0, False: 80]
  ------------------
29384|      0|        p->level--;
29385|      0|        return NULL;
29386|      0|    }
29387|     80|    void * _res = NULL;
29388|     80|    int _mark = p->mark;
29389|     80|    { // ',' expression
29390|     80|        if (p->error_indicator) {
  ------------------
  |  Branch (29390:13): [True: 0, False: 80]
  ------------------
29391|      0|            p->level--;
29392|      0|            return NULL;
29393|      0|        }
29394|     80|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
29395|     80|        Token * _literal;
29396|     80|        expr_ty z;
29397|     80|        if (
29398|     80|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29398:13): [True: 2, False: 78]
  ------------------
29399|      2|            &&
29400|      2|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29400:13): [True: 2, False: 0]
  ------------------
29401|     80|        )
29402|      2|        {
29403|      2|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
29404|      2|            _res = z;
29405|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29405:18): [True: 0, False: 2]
  |  Branch (29405:34): [True: 0, False: 2]
  |  Branch (29405:57): [True: 0, False: 0]
  ------------------
29406|      0|                p->error_indicator = 1;
29407|      0|                p->level--;
29408|      0|                return NULL;
29409|      0|            }
29410|      2|            goto done;
29411|      2|        }
29412|     78|        p->mark = _mark;
29413|     78|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
29414|     78|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
29415|     78|    }
29416|     78|    _res = NULL;
29417|     80|  done:
29418|     80|    p->level--;
29419|     80|    return _res;
29420|     78|}
parser.c:lambda_params_rule:
15715|   216k|{
15716|   216k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   433k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15716:9): [True: 0, False: 216k]
  |  Branch (15716:35): [True: 0, False: 216k]
  ------------------
15717|      0|        _Pypegen_stack_overflow(p);
15718|      0|    }
15719|   216k|    if (p->error_indicator) {
  ------------------
  |  Branch (15719:9): [True: 0, False: 216k]
  ------------------
15720|      0|        p->level--;
15721|      0|        return NULL;
15722|      0|    }
15723|   216k|    arguments_ty _res = NULL;
15724|   216k|    int _mark = p->mark;
15725|   216k|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15725:9): [True: 162k, False: 54.2k]
  ------------------
15726|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (15726:13): [True: 0, False: 162k]
  ------------------
15727|      0|            p->level--;
15728|      0|            return NULL;
15729|      0|        }
15730|   162k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15731|   162k|        void *invalid_lambda_parameters_var;
15732|   162k|        if (
15733|   162k|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  Branch (15733:13): [True: 0, False: 162k]
  ------------------
15734|   162k|        )
15735|      0|        {
15736|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15737|      0|            _res = invalid_lambda_parameters_var;
15738|      0|            goto done;
15739|      0|        }
15740|   162k|        p->mark = _mark;
15741|   162k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15742|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15743|   162k|    }
15744|   216k|    { // lambda_parameters
15745|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (15745:13): [True: 0, False: 216k]
  ------------------
15746|      0|            p->level--;
15747|      0|            return NULL;
15748|      0|        }
15749|   216k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15750|   216k|        arguments_ty lambda_parameters_var;
15751|   216k|        if (
15752|   216k|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15752:13): [True: 216k, False: 0]
  ------------------
15753|   216k|        )
15754|   216k|        {
15755|   216k|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15756|   216k|            _res = lambda_parameters_var;
15757|   216k|            goto done;
15758|   216k|        }
15759|      0|        p->mark = _mark;
15760|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15761|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15762|      0|    }
15763|      0|    _res = NULL;
15764|   216k|  done:
15765|   216k|    p->level--;
15766|   216k|    return _res;
15767|      0|}
parser.c:invalid_lambda_parameters_rule:
23543|   162k|{
23544|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23544:9): [True: 0, False: 162k]
  |  Branch (23544:35): [True: 0, False: 162k]
  ------------------
23545|      0|        _Pypegen_stack_overflow(p);
23546|      0|    }
23547|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (23547:9): [True: 0, False: 162k]
  ------------------
23548|      0|        p->level--;
23549|      0|        return NULL;
23550|      0|    }
23551|   162k|    void * _res = NULL;
23552|   162k|    int _mark = p->mark;
23553|   162k|    { // "/" ','
23554|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23554:13): [True: 0, False: 162k]
  ------------------
23555|      0|            p->level--;
23556|      0|            return NULL;
23557|      0|        }
23558|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23559|   162k|        Token * _literal;
23560|   162k|        Token * a;
23561|   162k|        if (
23562|   162k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23562:13): [True: 0, False: 162k]
  ------------------
23563|      0|            &&
23564|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23564:13): [True: 0, False: 0]
  ------------------
23565|   162k|        )
23566|      0|        {
23567|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23568|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23569|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23569:18): [True: 0, False: 0]
  |  Branch (23569:34): [True: 0, False: 0]
  |  Branch (23569:57): [True: 0, False: 0]
  ------------------
23570|      0|                p->error_indicator = 1;
23571|      0|                p->level--;
23572|      0|                return NULL;
23573|      0|            }
23574|      0|            goto done;
23575|      0|        }
23576|   162k|        p->mark = _mark;
23577|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23578|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
23579|   162k|    }
23580|      0|    { // (lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'
23581|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23581:13): [True: 0, False: 162k]
  ------------------
23582|      0|            p->level--;
23583|      0|            return NULL;
23584|      0|        }
23585|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23586|   162k|        asdl_seq * _loop0_76_var;
23587|   162k|        void *_tmp_130_var;
23588|   162k|        Token * a;
23589|   162k|        if (
23590|   162k|            (_tmp_130_var = _tmp_130_rule(p))  // lambda_slash_no_default | lambda_slash_with_default
  ------------------
  |  Branch (23590:13): [True: 0, False: 162k]
  ------------------
23591|      0|            &&
23592|      0|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23592:13): [True: 0, False: 0]
  ------------------
23593|      0|            &&
23594|      0|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23594:13): [True: 0, False: 0]
  ------------------
23595|   162k|        )
23596|      0|        {
23597|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23598|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23599|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23599:18): [True: 0, False: 0]
  |  Branch (23599:34): [True: 0, False: 0]
  |  Branch (23599:57): [True: 0, False: 0]
  ------------------
23600|      0|                p->error_indicator = 1;
23601|      0|                p->level--;
23602|      0|                return NULL;
23603|      0|            }
23604|      0|            goto done;
23605|      0|        }
23606|   162k|        p->mark = _mark;
23607|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23608|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23609|   162k|    }
23610|      0|    { // lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default
23611|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23611:13): [True: 0, False: 162k]
  ------------------
23612|      0|            p->level--;
23613|      0|            return NULL;
23614|      0|        }
23615|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23616|   162k|        asdl_seq * _loop0_72_var;
23617|   162k|        void *_opt_var;
23618|   162k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   162k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 162k]
  |  |  ------------------
  ------------------
23619|   162k|        arg_ty a;
23620|   162k|        void *invalid_lambda_parameters_helper_var;
23621|   162k|        if (
23622|   162k|            (_opt_var = lambda_slash_no_default_rule(p), !p->error_indicator)  // lambda_slash_no_default?
  ------------------
  |  Branch (23622:13): [True: 162k, False: 0]
  ------------------
23623|   162k|            &&
23624|   162k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23624:13): [True: 162k, False: 0]
  ------------------
23625|   162k|            &&
23626|   162k|            (invalid_lambda_parameters_helper_var = invalid_lambda_parameters_helper_rule(p))  // invalid_lambda_parameters_helper
  ------------------
  |  Branch (23626:13): [True: 0, False: 162k]
  ------------------
23627|      0|            &&
23628|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (23628:13): [True: 0, False: 0]
  ------------------
23629|   162k|        )
23630|      0|        {
23631|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23632|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23633|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23633:18): [True: 0, False: 0]
  |  Branch (23633:34): [True: 0, False: 0]
  |  Branch (23633:57): [True: 0, False: 0]
  ------------------
23634|      0|                p->error_indicator = 1;
23635|      0|                p->level--;
23636|      0|                return NULL;
23637|      0|            }
23638|      0|            goto done;
23639|      0|        }
23640|   162k|        p->mark = _mark;
23641|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23642|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23643|   162k|    }
23644|      0|    { // lambda_param_no_default* '(' ','.lambda_param+ ','? ')'
23645|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23645:13): [True: 0, False: 162k]
  ------------------
23646|      0|            p->level--;
23647|      0|            return NULL;
23648|      0|        }
23649|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23650|   162k|        asdl_seq * _gather_132_var;
23651|   162k|        asdl_seq * _loop0_72_var;
23652|   162k|        void *_opt_var;
23653|   162k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   162k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 162k]
  |  |  ------------------
  ------------------
23654|   162k|        Token * a;
23655|   162k|        Token * b;
23656|   162k|        if (
23657|   162k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23657:13): [True: 162k, False: 0]
  ------------------
23658|   162k|            &&
23659|   162k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (23659:13): [True: 0, False: 162k]
  ------------------
23660|      0|            &&
23661|      0|            (_gather_132_var = _gather_132_rule(p))  // ','.lambda_param+
  ------------------
  |  Branch (23661:13): [True: 0, False: 0]
  ------------------
23662|      0|            &&
23663|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (23663:13): [True: 0, False: 0]
  ------------------
23664|      0|            &&
23665|      0|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (23665:13): [True: 0, False: 0]
  ------------------
23666|   162k|        )
23667|      0|        {
23668|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23669|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Lambda expression parameters cannot be parenthesized" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23670|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23670:18): [True: 0, False: 0]
  |  Branch (23670:34): [True: 0, False: 0]
  |  Branch (23670:57): [True: 0, False: 0]
  ------------------
23671|      0|                p->error_indicator = 1;
23672|      0|                p->level--;
23673|      0|                return NULL;
23674|      0|            }
23675|      0|            goto done;
23676|      0|        }
23677|   162k|        p->mark = _mark;
23678|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23679|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23680|   162k|    }
23681|      0|    { // [(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'
23682|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23682:13): [True: 0, False: 162k]
  ------------------
23683|      0|            p->level--;
23684|      0|            return NULL;
23685|      0|        }
23686|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23687|   162k|        Token * _literal;
23688|   162k|        asdl_seq * _loop0_76_var;
23689|   162k|        asdl_seq * _loop0_76_var_1;
23690|   162k|        void *_opt_var;
23691|   162k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   162k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 162k]
  |  |  ------------------
  ------------------
23692|   162k|        void *_tmp_133_var;
23693|   162k|        Token * a;
23694|   162k|        if (
23695|   162k|            (_opt_var = _tmp_130_rule(p), !p->error_indicator)  // [(lambda_slash_no_default | lambda_slash_with_default)]
  ------------------
  |  Branch (23695:13): [True: 162k, False: 0]
  ------------------
23696|   162k|            &&
23697|   162k|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23697:13): [True: 162k, False: 0]
  ------------------
23698|   162k|            &&
23699|   162k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23699:13): [True: 0, False: 162k]
  ------------------
23700|      0|            &&
23701|      0|            (_tmp_133_var = _tmp_133_rule(p))  // ',' | lambda_param_no_default
  ------------------
  |  Branch (23701:13): [True: 0, False: 0]
  ------------------
23702|      0|            &&
23703|      0|            (_loop0_76_var_1 = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23703:13): [True: 0, False: 0]
  ------------------
23704|      0|            &&
23705|      0|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23705:13): [True: 0, False: 0]
  ------------------
23706|   162k|        )
23707|      0|        {
23708|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23709|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23710|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23710:18): [True: 0, False: 0]
  |  Branch (23710:34): [True: 0, False: 0]
  |  Branch (23710:57): [True: 0, False: 0]
  ------------------
23711|      0|                p->error_indicator = 1;
23712|      0|                p->level--;
23713|      0|                return NULL;
23714|      0|            }
23715|      0|            goto done;
23716|      0|        }
23717|   162k|        p->mark = _mark;
23718|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23719|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23720|   162k|    }
23721|      0|    { // lambda_param_maybe_default+ '/' '*'
23722|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23722:13): [True: 0, False: 162k]
  ------------------
23723|      0|            p->level--;
23724|      0|            return NULL;
23725|      0|        }
23726|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23727|   162k|        Token * _literal;
23728|   162k|        asdl_seq * _loop1_77_var;
23729|   162k|        Token * a;
23730|   162k|        if (
23731|   162k|            (_loop1_77_var = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (23731:13): [True: 162k, False: 0]
  ------------------
23732|   162k|            &&
23733|   162k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23733:13): [True: 0, False: 162k]
  ------------------
23734|      0|            &&
23735|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23735:13): [True: 0, False: 0]
  ------------------
23736|   162k|        )
23737|      0|        {
23738|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23739|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23740|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23740:18): [True: 0, False: 0]
  |  Branch (23740:34): [True: 0, False: 0]
  |  Branch (23740:57): [True: 0, False: 0]
  ------------------
23741|      0|                p->error_indicator = 1;
23742|      0|                p->level--;
23743|      0|                return NULL;
23744|      0|            }
23745|      0|            goto done;
23746|      0|        }
23747|   162k|        p->mark = _mark;
23748|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23749|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23750|   162k|    }
23751|   162k|    _res = NULL;
23752|   162k|  done:
23753|   162k|    p->level--;
23754|   162k|    return _res;
23755|   162k|}
parser.c:_tmp_130_rule:
36532|   325k|{
36533|   325k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   650k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36533:9): [True: 0, False: 325k]
  |  Branch (36533:35): [True: 0, False: 325k]
  ------------------
36534|      0|        _Pypegen_stack_overflow(p);
36535|      0|    }
36536|   325k|    if (p->error_indicator) {
  ------------------
  |  Branch (36536:9): [True: 0, False: 325k]
  ------------------
36537|      0|        p->level--;
36538|      0|        return NULL;
36539|      0|    }
36540|   325k|    void * _res = NULL;
36541|   325k|    int _mark = p->mark;
36542|   325k|    { // lambda_slash_no_default
36543|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (36543:13): [True: 0, False: 325k]
  ------------------
36544|      0|            p->level--;
36545|      0|            return NULL;
36546|      0|        }
36547|   325k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
36548|   325k|        asdl_arg_seq* lambda_slash_no_default_var;
36549|   325k|        if (
36550|   325k|            (lambda_slash_no_default_var = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (36550:13): [True: 0, False: 325k]
  ------------------
36551|   325k|        )
36552|      0|        {
36553|      0|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
36554|      0|            _res = lambda_slash_no_default_var;
36555|      0|            goto done;
36556|      0|        }
36557|   325k|        p->mark = _mark;
36558|   325k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36559|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default"));
36560|   325k|    }
36561|      0|    { // lambda_slash_with_default
36562|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (36562:13): [True: 0, False: 325k]
  ------------------
36563|      0|            p->level--;
36564|      0|            return NULL;
36565|      0|        }
36566|   325k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
36567|   325k|        SlashWithDefault* lambda_slash_with_default_var;
36568|   325k|        if (
36569|   325k|            (lambda_slash_with_default_var = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (36569:13): [True: 0, False: 325k]
  ------------------
36570|   325k|        )
36571|      0|        {
36572|      0|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
36573|      0|            _res = lambda_slash_with_default_var;
36574|      0|            goto done;
36575|      0|        }
36576|   325k|        p->mark = _mark;
36577|   325k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36578|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
36579|   325k|    }
36580|   325k|    _res = NULL;
36581|   325k|  done:
36582|   325k|    p->level--;
36583|   325k|    return _res;
36584|   325k|}
parser.c:lambda_slash_with_default_rule:
16022|   704k|{
16023|   704k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.40M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16023:9): [True: 0, False: 704k]
  |  Branch (16023:35): [True: 0, False: 704k]
  ------------------
16024|      0|        _Pypegen_stack_overflow(p);
16025|      0|    }
16026|   704k|    if (p->error_indicator) {
  ------------------
  |  Branch (16026:9): [True: 0, False: 704k]
  ------------------
16027|      0|        p->level--;
16028|      0|        return NULL;
16029|      0|    }
16030|   704k|    SlashWithDefault* _res = NULL;
16031|   704k|    int _mark = p->mark;
16032|   704k|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
16033|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (16033:13): [True: 0, False: 704k]
  ------------------
16034|      0|            p->level--;
16035|      0|            return NULL;
16036|      0|        }
16037|   704k|        D(fprintf(stderr, "%*c> lambda_slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16038|   704k|        Token * _literal;
16039|   704k|        Token * _literal_1;
16040|   704k|        asdl_seq * a;
16041|   704k|        asdl_seq * b;
16042|   704k|        if (
16043|   704k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16043:13): [True: 704k, False: 0]
  ------------------
16044|   704k|            &&
16045|   704k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16045:13): [True: 0, False: 704k]
  ------------------
16046|      0|            &&
16047|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16047:13): [True: 0, False: 0]
  ------------------
16048|      0|            &&
16049|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16049:13): [True: 0, False: 0]
  ------------------
16050|   704k|        )
16051|      0|        {
16052|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16053|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16054|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16054:18): [True: 0, False: 0]
  |  Branch (16054:34): [True: 0, False: 0]
  |  Branch (16054:57): [True: 0, False: 0]
  ------------------
16055|      0|                p->error_indicator = 1;
16056|      0|                p->level--;
16057|      0|                return NULL;
16058|      0|            }
16059|      0|            goto done;
16060|      0|        }
16061|   704k|        p->mark = _mark;
16062|   704k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16063|   704k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16064|   704k|    }
16065|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
16066|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (16066:13): [True: 0, False: 704k]
  ------------------
16067|      0|            p->level--;
16068|      0|            return NULL;
16069|      0|        }
16070|   704k|        D(fprintf(stderr, "%*c> lambda_slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16071|   704k|        Token * _literal;
16072|   704k|        asdl_seq * a;
16073|   704k|        asdl_seq * b;
16074|   704k|        if (
16075|   704k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16075:13): [True: 704k, False: 0]
  ------------------
16076|   704k|            &&
16077|   704k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16077:13): [True: 0, False: 704k]
  ------------------
16078|      0|            &&
16079|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16079:13): [True: 0, False: 0]
  ------------------
16080|      0|            &&
16081|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16081:13): [True: 0, False: 0]
  ------------------
16082|   704k|        )
16083|      0|        {
16084|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16085|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16086|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16086:18): [True: 0, False: 0]
  |  Branch (16086:34): [True: 0, False: 0]
  |  Branch (16086:57): [True: 0, False: 0]
  ------------------
16087|      0|                p->error_indicator = 1;
16088|      0|                p->level--;
16089|      0|                return NULL;
16090|      0|            }
16091|      0|            goto done;
16092|      0|        }
16093|   704k|        p->mark = _mark;
16094|   704k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16095|   704k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16096|   704k|    }
16097|   704k|    _res = NULL;
16098|   704k|  done:
16099|   704k|    p->level--;
16100|   704k|    return _res;
16101|   704k|}
parser.c:_loop1_75_rule:
33096|  1.57M|{
33097|  1.57M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.14M|#  define MAXSTACK 6000
  ------------------
  |  Branch (33097:9): [True: 0, False: 1.57M]
  |  Branch (33097:35): [True: 0, False: 1.57M]
  ------------------
33098|      0|        _Pypegen_stack_overflow(p);
33099|      0|    }
33100|  1.57M|    if (p->error_indicator) {
  ------------------
  |  Branch (33100:9): [True: 0, False: 1.57M]
  ------------------
33101|      0|        p->level--;
33102|      0|        return NULL;
33103|      0|    }
33104|  1.57M|    void *_res = NULL;
33105|  1.57M|    int _mark = p->mark;
33106|  1.57M|    void **_children = PyMem_Malloc(sizeof(void *));
33107|  1.57M|    if (!_children) {
  ------------------
  |  Branch (33107:9): [True: 0, False: 1.57M]
  ------------------
33108|      0|        p->error_indicator = 1;
33109|      0|        PyErr_NoMemory();
33110|      0|        p->level--;
33111|      0|        return NULL;
33112|      0|    }
33113|  1.57M|    Py_ssize_t _children_capacity = 1;
33114|  1.57M|    Py_ssize_t _n = 0;
33115|  1.57M|    { // lambda_param_with_default
33116|  1.57M|        if (p->error_indicator) {
  ------------------
  |  Branch (33116:13): [True: 0, False: 1.57M]
  ------------------
33117|      0|            p->level--;
33118|      0|            return NULL;
33119|      0|        }
33120|  1.57M|        D(fprintf(stderr, "%*c> _loop1_75[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33121|  1.57M|        NameDefaultPair* lambda_param_with_default_var;
33122|  1.57M|        while (
33123|  1.57M|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33123:13): [True: 0, False: 1.57M]
  ------------------
33124|  1.57M|        )
33125|      0|        {
33126|      0|            _res = lambda_param_with_default_var;
33127|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33127:17): [True: 0, False: 0]
  ------------------
33128|      0|                _children_capacity *= 2;
33129|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33130|      0|                if (!_new_children) {
  ------------------
  |  Branch (33130:21): [True: 0, False: 0]
  ------------------
33131|      0|                    PyMem_Free(_children);
33132|      0|                    p->error_indicator = 1;
33133|      0|                    PyErr_NoMemory();
33134|      0|                    p->level--;
33135|      0|                    return NULL;
33136|      0|                }
33137|      0|                _children = _new_children;
33138|      0|            }
33139|      0|            _children[_n++] = _res;
33140|      0|            _mark = p->mark;
33141|      0|        }
33142|  1.57M|        p->mark = _mark;
33143|  1.57M|        D(fprintf(stderr, "%*c%s _loop1_75[%d-%d]: %s failed!\n", p->level, ' ',
33144|  1.57M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33145|  1.57M|    }
33146|  1.57M|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33146:9): [True: 1.57M, False: 0]
  |  Branch (33146:20): [True: 0, False: 0]
  ------------------
33147|  1.57M|        PyMem_Free(_children);
33148|  1.57M|        p->level--;
33149|  1.57M|        return NULL;
33150|  1.57M|    }
33151|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33152|      0|    if (!_seq) {
  ------------------
  |  Branch (33152:9): [True: 0, False: 0]
  ------------------
33153|      0|        PyMem_Free(_children);
33154|      0|        p->error_indicator = 1;
33155|      0|        PyErr_NoMemory();
33156|      0|        p->level--;
33157|      0|        return NULL;
33158|      0|    }
33159|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33159:28): [True: 0, False: 0]
  ------------------
33160|      0|    PyMem_Free(_children);
33161|      0|    p->level--;
33162|      0|    return _seq;
33163|      0|}
parser.c:lambda_param_with_default_rule:
16375|  1.78M|{
16376|  1.78M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.57M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16376:9): [True: 0, False: 1.78M]
  |  Branch (16376:35): [True: 0, False: 1.78M]
  ------------------
16377|      0|        _Pypegen_stack_overflow(p);
16378|      0|    }
16379|  1.78M|    if (p->error_indicator) {
  ------------------
  |  Branch (16379:9): [True: 0, False: 1.78M]
  ------------------
16380|      0|        p->level--;
16381|      0|        return NULL;
16382|      0|    }
16383|  1.78M|    NameDefaultPair* _res = NULL;
16384|  1.78M|    int _mark = p->mark;
16385|  1.78M|    { // lambda_param default ','
16386|  1.78M|        if (p->error_indicator) {
  ------------------
  |  Branch (16386:13): [True: 0, False: 1.78M]
  ------------------
16387|      0|            p->level--;
16388|      0|            return NULL;
16389|      0|        }
16390|  1.78M|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16391|  1.78M|        Token * _literal;
16392|  1.78M|        arg_ty a;
16393|  1.78M|        expr_ty c;
16394|  1.78M|        if (
16395|  1.78M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16395:13): [True: 0, False: 1.78M]
  ------------------
16396|      0|            &&
16397|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16397:13): [True: 0, False: 0]
  ------------------
16398|      0|            &&
16399|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16399:13): [True: 0, False: 0]
  ------------------
16400|  1.78M|        )
16401|      0|        {
16402|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16403|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16404|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16404:18): [True: 0, False: 0]
  |  Branch (16404:34): [True: 0, False: 0]
  |  Branch (16404:57): [True: 0, False: 0]
  ------------------
16405|      0|                p->error_indicator = 1;
16406|      0|                p->level--;
16407|      0|                return NULL;
16408|      0|            }
16409|      0|            goto done;
16410|      0|        }
16411|  1.78M|        p->mark = _mark;
16412|  1.78M|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16413|  1.78M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16414|  1.78M|    }
16415|      0|    { // lambda_param default &':'
16416|  1.78M|        if (p->error_indicator) {
  ------------------
  |  Branch (16416:13): [True: 0, False: 1.78M]
  ------------------
16417|      0|            p->level--;
16418|      0|            return NULL;
16419|      0|        }
16420|  1.78M|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16421|  1.78M|        arg_ty a;
16422|  1.78M|        expr_ty c;
16423|  1.78M|        if (
16424|  1.78M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16424:13): [True: 0, False: 1.78M]
  ------------------
16425|      0|            &&
16426|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16426:13): [True: 0, False: 0]
  ------------------
16427|      0|            &&
16428|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16428:13): [True: 0, False: 0]
  ------------------
16429|  1.78M|        )
16430|      0|        {
16431|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16432|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16433|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16433:18): [True: 0, False: 0]
  |  Branch (16433:34): [True: 0, False: 0]
  |  Branch (16433:57): [True: 0, False: 0]
  ------------------
16434|      0|                p->error_indicator = 1;
16435|      0|                p->level--;
16436|      0|                return NULL;
16437|      0|            }
16438|      0|            goto done;
16439|      0|        }
16440|  1.78M|        p->mark = _mark;
16441|  1.78M|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16442|  1.78M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16443|  1.78M|    }
16444|  1.78M|    _res = NULL;
16445|  1.78M|  done:
16446|  1.78M|    p->level--;
16447|  1.78M|    return _res;
16448|  1.78M|}
parser.c:lambda_param_rule:
16531|  17.6M|{
16532|  17.6M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.3M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16532:9): [True: 0, False: 17.6M]
  |  Branch (16532:35): [True: 0, False: 17.6M]
  ------------------
16533|      0|        _Pypegen_stack_overflow(p);
16534|      0|    }
16535|  17.6M|    if (p->error_indicator) {
  ------------------
  |  Branch (16535:9): [True: 0, False: 17.6M]
  ------------------
16536|      0|        p->level--;
16537|      0|        return NULL;
16538|      0|    }
16539|  17.6M|    arg_ty _res = NULL;
16540|  17.6M|    int _mark = p->mark;
16541|  17.6M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16541:9): [True: 54.5k, False: 17.6M]
  |  Branch (16541:31): [True: 0, False: 54.5k]
  ------------------
16542|      0|        p->error_indicator = 1;
16543|      0|        p->level--;
16544|      0|        return NULL;
16545|      0|    }
16546|  17.6M|    int _start_lineno = p->tokens[_mark]->lineno;
16547|  17.6M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  17.6M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 17.6M]
  |  |  ------------------
  ------------------
16548|  17.6M|    int _start_col_offset = p->tokens[_mark]->col_offset;
16549|  17.6M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  17.6M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 17.6M]
  |  |  ------------------
  ------------------
16550|  17.6M|    { // NAME
16551|  17.6M|        if (p->error_indicator) {
  ------------------
  |  Branch (16551:13): [True: 0, False: 17.6M]
  ------------------
16552|      0|            p->level--;
16553|      0|            return NULL;
16554|      0|        }
16555|  17.6M|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16556|  17.6M|        expr_ty a;
16557|  17.6M|        if (
16558|  17.6M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16558:13): [True: 6.72M, False: 10.9M]
  ------------------
16559|  17.6M|        )
16560|  6.72M|        {
16561|  6.72M|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16562|  6.72M|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16563|  6.72M|            if (_token == NULL) {
  ------------------
  |  Branch (16563:17): [True: 0, False: 6.72M]
  ------------------
16564|      0|                p->level--;
16565|      0|                return NULL;
16566|      0|            }
16567|  6.72M|            int _end_lineno = _token->end_lineno;
16568|  6.72M|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.72M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.72M]
  |  |  ------------------
  ------------------
16569|  6.72M|            int _end_col_offset = _token->end_col_offset;
16570|  6.72M|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.72M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.72M]
  |  |  ------------------
  ------------------
16571|  6.72M|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  269|  6.72M|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16572|  6.72M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16572:18): [True: 0, False: 6.72M]
  |  Branch (16572:34): [True: 0, False: 6.72M]
  |  Branch (16572:57): [True: 0, False: 0]
  ------------------
16573|      0|                p->error_indicator = 1;
16574|      0|                p->level--;
16575|      0|                return NULL;
16576|      0|            }
16577|  6.72M|            goto done;
16578|  6.72M|        }
16579|  10.9M|        p->mark = _mark;
16580|  10.9M|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16581|  10.9M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16582|  10.9M|    }
16583|  10.9M|    _res = NULL;
16584|  17.6M|  done:
16585|  17.6M|    p->level--;
16586|  17.6M|    return _res;
16587|  10.9M|}
parser.c:default_rule:
 5978|   650k|{
 5979|   650k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.30M|#  define MAXSTACK 6000
  ------------------
  |  Branch (5979:9): [True: 0, False: 650k]
  |  Branch (5979:35): [True: 0, False: 650k]
  ------------------
 5980|      0|        _Pypegen_stack_overflow(p);
 5981|      0|    }
 5982|   650k|    if (p->error_indicator) {
  ------------------
  |  Branch (5982:9): [True: 0, False: 650k]
  ------------------
 5983|      0|        p->level--;
 5984|      0|        return NULL;
 5985|      0|    }
 5986|   650k|    expr_ty _res = NULL;
 5987|   650k|    int _mark = p->mark;
 5988|   650k|    { // '=' expression
 5989|   650k|        if (p->error_indicator) {
  ------------------
  |  Branch (5989:13): [True: 0, False: 650k]
  ------------------
 5990|      0|            p->level--;
 5991|      0|            return NULL;
 5992|      0|        }
 5993|   650k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 5994|   650k|        Token * _literal;
 5995|   650k|        expr_ty a;
 5996|   650k|        if (
 5997|   650k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (5997:13): [True: 470, False: 650k]
  ------------------
 5998|    470|            &&
 5999|    470|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (5999:13): [True: 470, False: 0]
  ------------------
 6000|   650k|        )
 6001|    470|        {
 6002|    470|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6003|    470|            _res = a;
 6004|    470|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6004:18): [True: 0, False: 470]
  |  Branch (6004:34): [True: 0, False: 470]
  |  Branch (6004:57): [True: 0, False: 0]
  ------------------
 6005|      0|                p->error_indicator = 1;
 6006|      0|                p->level--;
 6007|      0|                return NULL;
 6008|      0|            }
 6009|    470|            goto done;
 6010|    470|        }
 6011|   650k|        p->mark = _mark;
 6012|   650k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6013|   650k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
 6014|   650k|    }
 6015|   650k|    if (p->call_invalid_rules) { // invalid_default
  ------------------
  |  Branch (6015:9): [True: 650k, False: 4]
  ------------------
 6016|   650k|        if (p->error_indicator) {
  ------------------
  |  Branch (6016:13): [True: 0, False: 650k]
  ------------------
 6017|      0|            p->level--;
 6018|      0|            return NULL;
 6019|      0|        }
 6020|   650k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6021|   650k|        void *invalid_default_var;
 6022|   650k|        if (
 6023|   650k|            (invalid_default_var = invalid_default_rule(p))  // invalid_default
  ------------------
  |  Branch (6023:13): [True: 0, False: 650k]
  ------------------
 6024|   650k|        )
 6025|      0|        {
 6026|      0|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6027|      0|            _res = invalid_default_var;
 6028|      0|            goto done;
 6029|      0|        }
 6030|   650k|        p->mark = _mark;
 6031|   650k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6032|   650k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_default"));
 6033|   650k|    }
 6034|   650k|    _res = NULL;
 6035|   650k|  done:
 6036|   650k|    p->level--;
 6037|   650k|    return _res;
 6038|   650k|}
parser.c:invalid_default_rule:
23169|   650k|{
23170|   650k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.30M|#  define MAXSTACK 6000
  ------------------
  |  Branch (23170:9): [True: 0, False: 650k]
  |  Branch (23170:35): [True: 0, False: 650k]
  ------------------
23171|      0|        _Pypegen_stack_overflow(p);
23172|      0|    }
23173|   650k|    if (p->error_indicator) {
  ------------------
  |  Branch (23173:9): [True: 0, False: 650k]
  ------------------
23174|      0|        p->level--;
23175|      0|        return NULL;
23176|      0|    }
23177|   650k|    void * _res = NULL;
23178|   650k|    int _mark = p->mark;
23179|   650k|    { // '=' &(')' | ',')
23180|   650k|        if (p->error_indicator) {
  ------------------
  |  Branch (23180:13): [True: 0, False: 650k]
  ------------------
23181|      0|            p->level--;
23182|      0|            return NULL;
23183|      0|        }
23184|   650k|        D(fprintf(stderr, "%*c> invalid_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
23185|   650k|        Token * a;
23186|   650k|        if (
23187|   650k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23187:13): [True: 0, False: 650k]
  ------------------
23188|      0|            &&
23189|      0|            _PyPegen_lookahead(1, _tmp_126_rule, p)
  ------------------
  |  Branch (23189:13): [True: 0, False: 0]
  ------------------
23190|   650k|        )
23191|      0|        {
23192|      0|            D(fprintf(stderr, "%*c+ invalid_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
23193|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected default value expression" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23194|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23194:18): [True: 0, False: 0]
  |  Branch (23194:34): [True: 0, False: 0]
  |  Branch (23194:57): [True: 0, False: 0]
  ------------------
23195|      0|                p->error_indicator = 1;
23196|      0|                p->level--;
23197|      0|                return NULL;
23198|      0|            }
23199|      0|            goto done;
23200|      0|        }
23201|   650k|        p->mark = _mark;
23202|   650k|        D(fprintf(stderr, "%*c%s invalid_default[%d-%d]: %s failed!\n", p->level, ' ',
23203|   650k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' &(')' | ',')"));
23204|   650k|    }
23205|   650k|    _res = NULL;
23206|   650k|  done:
23207|   650k|    p->level--;
23208|   650k|    return _res;
23209|   650k|}
parser.c:_loop0_76_rule:
33168|   162k|{
33169|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33169:9): [True: 0, False: 162k]
  |  Branch (33169:35): [True: 0, False: 162k]
  ------------------
33170|      0|        _Pypegen_stack_overflow(p);
33171|      0|    }
33172|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (33172:9): [True: 0, False: 162k]
  ------------------
33173|      0|        p->level--;
33174|      0|        return NULL;
33175|      0|    }
33176|   162k|    void *_res = NULL;
33177|   162k|    int _mark = p->mark;
33178|   162k|    void **_children = PyMem_Malloc(sizeof(void *));
33179|   162k|    if (!_children) {
  ------------------
  |  Branch (33179:9): [True: 0, False: 162k]
  ------------------
33180|      0|        p->error_indicator = 1;
33181|      0|        PyErr_NoMemory();
33182|      0|        p->level--;
33183|      0|        return NULL;
33184|      0|    }
33185|   162k|    Py_ssize_t _children_capacity = 1;
33186|   162k|    Py_ssize_t _n = 0;
33187|   162k|    { // lambda_param_maybe_default
33188|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (33188:13): [True: 0, False: 162k]
  ------------------
33189|      0|            p->level--;
33190|      0|            return NULL;
33191|      0|        }
33192|   162k|        D(fprintf(stderr, "%*c> _loop0_76[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33193|   162k|        NameDefaultPair* lambda_param_maybe_default_var;
33194|   162k|        while (
33195|   325k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33195:13): [True: 162k, False: 162k]
  ------------------
33196|   162k|        )
33197|   162k|        {
33198|   162k|            _res = lambda_param_maybe_default_var;
33199|   162k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33199:17): [True: 0, False: 162k]
  ------------------
33200|      0|                _children_capacity *= 2;
33201|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33202|      0|                if (!_new_children) {
  ------------------
  |  Branch (33202:21): [True: 0, False: 0]
  ------------------
33203|      0|                    PyMem_Free(_children);
33204|      0|                    p->error_indicator = 1;
33205|      0|                    PyErr_NoMemory();
33206|      0|                    p->level--;
33207|      0|                    return NULL;
33208|      0|                }
33209|      0|                _children = _new_children;
33210|      0|            }
33211|   162k|            _children[_n++] = _res;
33212|   162k|            _mark = p->mark;
33213|   162k|        }
33214|   162k|        p->mark = _mark;
33215|   162k|        D(fprintf(stderr, "%*c%s _loop0_76[%d-%d]: %s failed!\n", p->level, ' ',
33216|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33217|   162k|    }
33218|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33219|   162k|    if (!_seq) {
  ------------------
  |  Branch (33219:9): [True: 0, False: 162k]
  ------------------
33220|      0|        PyMem_Free(_children);
33221|      0|        p->error_indicator = 1;
33222|      0|        PyErr_NoMemory();
33223|      0|        p->level--;
33224|      0|        return NULL;
33225|      0|    }
33226|   325k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   162k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   325k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33226:28): [True: 162k, False: 162k]
  ------------------
33227|   162k|    PyMem_Free(_children);
33228|   162k|    p->level--;
33229|   162k|    return _seq;
33230|   162k|}
parser.c:lambda_param_maybe_default_rule:
16453|   650k|{
16454|   650k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.30M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16454:9): [True: 0, False: 650k]
  |  Branch (16454:35): [True: 0, False: 650k]
  ------------------
16455|      0|        _Pypegen_stack_overflow(p);
16456|      0|    }
16457|   650k|    if (p->error_indicator) {
  ------------------
  |  Branch (16457:9): [True: 0, False: 650k]
  ------------------
16458|      0|        p->level--;
16459|      0|        return NULL;
16460|      0|    }
16461|   650k|    NameDefaultPair* _res = NULL;
16462|   650k|    int _mark = p->mark;
16463|   650k|    { // lambda_param default? ','
16464|   650k|        if (p->error_indicator) {
  ------------------
  |  Branch (16464:13): [True: 0, False: 650k]
  ------------------
16465|      0|            p->level--;
16466|      0|            return NULL;
16467|      0|        }
16468|   650k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16469|   650k|        Token * _literal;
16470|   650k|        arg_ty a;
16471|   650k|        void *c;
16472|   650k|        if (
16473|   650k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16473:13): [True: 325k, False: 325k]
  ------------------
16474|   325k|            &&
16475|   325k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16475:13): [True: 325k, False: 0]
  ------------------
16476|   325k|            &&
16477|   325k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16477:13): [True: 0, False: 325k]
  ------------------
16478|   650k|        )
16479|      0|        {
16480|      0|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16481|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16482|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16482:18): [True: 0, False: 0]
  |  Branch (16482:34): [True: 0, False: 0]
  |  Branch (16482:57): [True: 0, False: 0]
  ------------------
16483|      0|                p->error_indicator = 1;
16484|      0|                p->level--;
16485|      0|                return NULL;
16486|      0|            }
16487|      0|            goto done;
16488|      0|        }
16489|   650k|        p->mark = _mark;
16490|   650k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16491|   650k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? ','"));
16492|   650k|    }
16493|      0|    { // lambda_param default? &':'
16494|   650k|        if (p->error_indicator) {
  ------------------
  |  Branch (16494:13): [True: 0, False: 650k]
  ------------------
16495|      0|            p->level--;
16496|      0|            return NULL;
16497|      0|        }
16498|   650k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16499|   650k|        arg_ty a;
16500|   650k|        void *c;
16501|   650k|        if (
16502|   650k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16502:13): [True: 325k, False: 325k]
  ------------------
16503|   325k|            &&
16504|   325k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16504:13): [True: 325k, False: 0]
  ------------------
16505|   325k|            &&
16506|   325k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16506:13): [True: 325k, False: 0]
  ------------------
16507|   650k|        )
16508|   325k|        {
16509|   325k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16510|   325k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16511|   325k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16511:18): [True: 0, False: 325k]
  |  Branch (16511:34): [True: 0, False: 325k]
  |  Branch (16511:57): [True: 0, False: 0]
  ------------------
16512|      0|                p->error_indicator = 1;
16513|      0|                p->level--;
16514|      0|                return NULL;
16515|      0|            }
16516|   325k|            goto done;
16517|   325k|        }
16518|   325k|        p->mark = _mark;
16519|   325k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16520|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? &':'"));
16521|   325k|    }
16522|   325k|    _res = NULL;
16523|   650k|  done:
16524|   650k|    p->level--;
16525|   650k|    return _res;
16526|   325k|}
parser.c:lambda_slash_no_default_rule:
15942|   704k|{
15943|   704k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.40M|#  define MAXSTACK 6000
  ------------------
  |  Branch (15943:9): [True: 0, False: 704k]
  |  Branch (15943:35): [True: 0, False: 704k]
  ------------------
15944|      0|        _Pypegen_stack_overflow(p);
15945|      0|    }
15946|   704k|    if (p->error_indicator) {
  ------------------
  |  Branch (15946:9): [True: 0, False: 704k]
  ------------------
15947|      0|        p->level--;
15948|      0|        return NULL;
15949|      0|    }
15950|   704k|    asdl_arg_seq* _res = NULL;
15951|   704k|    int _mark = p->mark;
15952|   704k|    { // lambda_param_no_default+ '/' ','
15953|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (15953:13): [True: 0, False: 704k]
  ------------------
15954|      0|            p->level--;
15955|      0|            return NULL;
15956|      0|        }
15957|   704k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15958|   704k|        Token * _literal;
15959|   704k|        Token * _literal_1;
15960|   704k|        asdl_arg_seq* a;
15961|   704k|        if (
15962|   704k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15962:13): [True: 704k, False: 0]
  ------------------
15963|   704k|            &&
15964|   704k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15964:13): [True: 0, False: 704k]
  ------------------
15965|      0|            &&
15966|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15966:13): [True: 0, False: 0]
  ------------------
15967|   704k|        )
15968|      0|        {
15969|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15970|      0|            _res = a;
15971|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15971:18): [True: 0, False: 0]
  |  Branch (15971:34): [True: 0, False: 0]
  |  Branch (15971:57): [True: 0, False: 0]
  ------------------
15972|      0|                p->error_indicator = 1;
15973|      0|                p->level--;
15974|      0|                return NULL;
15975|      0|            }
15976|      0|            goto done;
15977|      0|        }
15978|   704k|        p->mark = _mark;
15979|   704k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15980|   704k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15981|   704k|    }
15982|      0|    { // lambda_param_no_default+ '/' &':'
15983|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (15983:13): [True: 0, False: 704k]
  ------------------
15984|      0|            p->level--;
15985|      0|            return NULL;
15986|      0|        }
15987|   704k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15988|   704k|        Token * _literal;
15989|   704k|        asdl_arg_seq* a;
15990|   704k|        if (
15991|   704k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15991:13): [True: 704k, False: 0]
  ------------------
15992|   704k|            &&
15993|   704k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15993:13): [True: 0, False: 704k]
  ------------------
15994|      0|            &&
15995|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15995:13): [True: 0, False: 0]
  ------------------
15996|   704k|        )
15997|      0|        {
15998|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15999|      0|            _res = a;
16000|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16000:18): [True: 0, False: 0]
  |  Branch (16000:34): [True: 0, False: 0]
  |  Branch (16000:57): [True: 0, False: 0]
  ------------------
16001|      0|                p->error_indicator = 1;
16002|      0|                p->level--;
16003|      0|                return NULL;
16004|      0|            }
16005|      0|            goto done;
16006|      0|        }
16007|   704k|        p->mark = _mark;
16008|   704k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16009|   704k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16010|   704k|    }
16011|   704k|    _res = NULL;
16012|   704k|  done:
16013|   704k|    p->level--;
16014|   704k|    return _res;
16015|   704k|}
parser.c:_loop1_74_rule:
33024|  1.62M|{
33025|  1.62M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.25M|#  define MAXSTACK 6000
  ------------------
  |  Branch (33025:9): [True: 0, False: 1.62M]
  |  Branch (33025:35): [True: 0, False: 1.62M]
  ------------------
33026|      0|        _Pypegen_stack_overflow(p);
33027|      0|    }
33028|  1.62M|    if (p->error_indicator) {
  ------------------
  |  Branch (33028:9): [True: 0, False: 1.62M]
  ------------------
33029|      0|        p->level--;
33030|      0|        return NULL;
33031|      0|    }
33032|  1.62M|    void *_res = NULL;
33033|  1.62M|    int _mark = p->mark;
33034|  1.62M|    void **_children = PyMem_Malloc(sizeof(void *));
33035|  1.62M|    if (!_children) {
  ------------------
  |  Branch (33035:9): [True: 0, False: 1.62M]
  ------------------
33036|      0|        p->error_indicator = 1;
33037|      0|        PyErr_NoMemory();
33038|      0|        p->level--;
33039|      0|        return NULL;
33040|      0|    }
33041|  1.62M|    Py_ssize_t _children_capacity = 1;
33042|  1.62M|    Py_ssize_t _n = 0;
33043|  1.62M|    { // lambda_param_no_default
33044|  1.62M|        if (p->error_indicator) {
  ------------------
  |  Branch (33044:13): [True: 0, False: 1.62M]
  ------------------
33045|      0|            p->level--;
33046|      0|            return NULL;
33047|      0|        }
33048|  1.62M|        D(fprintf(stderr, "%*c> _loop1_74[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33049|  1.62M|        arg_ty lambda_param_no_default_var;
33050|  1.62M|        while (
33051|  3.25M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33051:13): [True: 1.62M, False: 1.62M]
  ------------------
33052|  1.62M|        )
33053|  1.62M|        {
33054|  1.62M|            _res = lambda_param_no_default_var;
33055|  1.62M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33055:17): [True: 498, False: 1.62M]
  ------------------
33056|    498|                _children_capacity *= 2;
33057|    498|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33058|    498|                if (!_new_children) {
  ------------------
  |  Branch (33058:21): [True: 0, False: 498]
  ------------------
33059|      0|                    PyMem_Free(_children);
33060|      0|                    p->error_indicator = 1;
33061|      0|                    PyErr_NoMemory();
33062|      0|                    p->level--;
33063|      0|                    return NULL;
33064|      0|                }
33065|    498|                _children = _new_children;
33066|    498|            }
33067|  1.62M|            _children[_n++] = _res;
33068|  1.62M|            _mark = p->mark;
33069|  1.62M|        }
33070|  1.62M|        p->mark = _mark;
33071|  1.62M|        D(fprintf(stderr, "%*c%s _loop1_74[%d-%d]: %s failed!\n", p->level, ' ',
33072|  1.62M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33073|  1.62M|    }
33074|  1.62M|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33074:9): [True: 0, False: 1.62M]
  |  Branch (33074:20): [True: 0, False: 1.62M]
  ------------------
33075|      0|        PyMem_Free(_children);
33076|      0|        p->level--;
33077|      0|        return NULL;
33078|      0|    }
33079|  1.62M|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33080|  1.62M|    if (!_seq) {
  ------------------
  |  Branch (33080:9): [True: 0, False: 1.62M]
  ------------------
33081|      0|        PyMem_Free(_children);
33082|      0|        p->error_indicator = 1;
33083|      0|        PyErr_NoMemory();
33084|      0|        p->level--;
33085|      0|        return NULL;
33086|      0|    }
33087|  3.25M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.62M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.25M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33087:28): [True: 1.62M, False: 1.62M]
  ------------------
33088|  1.62M|    PyMem_Free(_children);
33089|  1.62M|    p->level--;
33090|  1.62M|    return _seq;
33091|  1.62M|}
parser.c:_loop0_72_rule:
32890|  1.73M|{
32891|  1.73M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.46M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32891:9): [True: 0, False: 1.73M]
  |  Branch (32891:35): [True: 0, False: 1.73M]
  ------------------
32892|      0|        _Pypegen_stack_overflow(p);
32893|      0|    }
32894|  1.73M|    if (p->error_indicator) {
  ------------------
  |  Branch (32894:9): [True: 0, False: 1.73M]
  ------------------
32895|      0|        p->level--;
32896|      0|        return NULL;
32897|      0|    }
32898|  1.73M|    void *_res = NULL;
32899|  1.73M|    int _mark = p->mark;
32900|  1.73M|    void **_children = PyMem_Malloc(sizeof(void *));
32901|  1.73M|    if (!_children) {
  ------------------
  |  Branch (32901:9): [True: 0, False: 1.73M]
  ------------------
32902|      0|        p->error_indicator = 1;
32903|      0|        PyErr_NoMemory();
32904|      0|        p->level--;
32905|      0|        return NULL;
32906|      0|    }
32907|  1.73M|    Py_ssize_t _children_capacity = 1;
32908|  1.73M|    Py_ssize_t _n = 0;
32909|  1.73M|    { // lambda_param_no_default
32910|  1.73M|        if (p->error_indicator) {
  ------------------
  |  Branch (32910:13): [True: 0, False: 1.73M]
  ------------------
32911|      0|            p->level--;
32912|      0|            return NULL;
32913|      0|        }
32914|  1.73M|        D(fprintf(stderr, "%*c> _loop0_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
32915|  1.73M|        arg_ty lambda_param_no_default_var;
32916|  1.73M|        while (
32917|  3.14M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (32917:13): [True: 1.40M, False: 1.73M]
  ------------------
32918|  1.73M|        )
32919|  1.40M|        {
32920|  1.40M|            _res = lambda_param_no_default_var;
32921|  1.40M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32921:17): [True: 332, False: 1.40M]
  ------------------
32922|    332|                _children_capacity *= 2;
32923|    332|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32924|    332|                if (!_new_children) {
  ------------------
  |  Branch (32924:21): [True: 0, False: 332]
  ------------------
32925|      0|                    PyMem_Free(_children);
32926|      0|                    p->error_indicator = 1;
32927|      0|                    PyErr_NoMemory();
32928|      0|                    p->level--;
32929|      0|                    return NULL;
32930|      0|                }
32931|    332|                _children = _new_children;
32932|    332|            }
32933|  1.40M|            _children[_n++] = _res;
32934|  1.40M|            _mark = p->mark;
32935|  1.40M|        }
32936|  1.73M|        p->mark = _mark;
32937|  1.73M|        D(fprintf(stderr, "%*c%s _loop0_72[%d-%d]: %s failed!\n", p->level, ' ',
32938|  1.73M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
32939|  1.73M|    }
32940|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32941|  1.73M|    if (!_seq) {
  ------------------
  |  Branch (32941:9): [True: 0, False: 1.73M]
  ------------------
32942|      0|        PyMem_Free(_children);
32943|      0|        p->error_indicator = 1;
32944|      0|        PyErr_NoMemory();
32945|      0|        p->level--;
32946|      0|        return NULL;
32947|      0|    }
32948|  3.14M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.40M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.14M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32948:28): [True: 1.40M, False: 1.73M]
  ------------------
32949|  1.73M|    PyMem_Free(_children);
32950|  1.73M|    p->level--;
32951|  1.73M|    return _seq;
32952|  1.73M|}
parser.c:invalid_lambda_parameters_helper_rule:
23762|   162k|{
23763|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23763:9): [True: 0, False: 162k]
  |  Branch (23763:35): [True: 0, False: 162k]
  ------------------
23764|      0|        _Pypegen_stack_overflow(p);
23765|      0|    }
23766|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (23766:9): [True: 0, False: 162k]
  ------------------
23767|      0|        p->level--;
23768|      0|        return NULL;
23769|      0|    }
23770|   162k|    void * _res = NULL;
23771|   162k|    int _mark = p->mark;
23772|   162k|    { // lambda_slash_with_default
23773|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23773:13): [True: 0, False: 162k]
  ------------------
23774|      0|            p->level--;
23775|      0|            return NULL;
23776|      0|        }
23777|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
23778|   162k|        SlashWithDefault* a;
23779|   162k|        if (
23780|   162k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (23780:13): [True: 0, False: 162k]
  ------------------
23781|   162k|        )
23782|      0|        {
23783|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
23784|      0|            _res = _PyPegen_singleton_seq ( p , a );
23785|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23785:18): [True: 0, False: 0]
  |  Branch (23785:34): [True: 0, False: 0]
  |  Branch (23785:57): [True: 0, False: 0]
  ------------------
23786|      0|                p->error_indicator = 1;
23787|      0|                p->level--;
23788|      0|                return NULL;
23789|      0|            }
23790|      0|            goto done;
23791|      0|        }
23792|   162k|        p->mark = _mark;
23793|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23794|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
23795|   162k|    }
23796|      0|    { // lambda_param_with_default+
23797|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23797:13): [True: 0, False: 162k]
  ------------------
23798|      0|            p->level--;
23799|      0|            return NULL;
23800|      0|        }
23801|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
23802|   162k|        asdl_seq * _loop1_75_var;
23803|   162k|        if (
23804|   162k|            (_loop1_75_var = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (23804:13): [True: 0, False: 162k]
  ------------------
23805|   162k|        )
23806|      0|        {
23807|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
23808|      0|            _res = _loop1_75_var;
23809|      0|            goto done;
23810|      0|        }
23811|   162k|        p->mark = _mark;
23812|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23813|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+"));
23814|   162k|    }
23815|   162k|    _res = NULL;
23816|   162k|  done:
23817|   162k|    p->level--;
23818|   162k|    return _res;
23819|   162k|}
parser.c:lambda_param_no_default_rule:
16303|  6.39M|{
16304|  6.39M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.7M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16304:9): [True: 0, False: 6.39M]
  |  Branch (16304:35): [True: 0, False: 6.39M]
  ------------------
16305|      0|        _Pypegen_stack_overflow(p);
16306|      0|    }
16307|  6.39M|    if (p->error_indicator) {
  ------------------
  |  Branch (16307:9): [True: 0, False: 6.39M]
  ------------------
16308|      0|        p->level--;
16309|      0|        return NULL;
16310|      0|    }
16311|  6.39M|    arg_ty _res = NULL;
16312|  6.39M|    int _mark = p->mark;
16313|  6.39M|    { // lambda_param ','
16314|  6.39M|        if (p->error_indicator) {
  ------------------
  |  Branch (16314:13): [True: 0, False: 6.39M]
  ------------------
16315|      0|            p->level--;
16316|      0|            return NULL;
16317|      0|        }
16318|  6.39M|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16319|  6.39M|        Token * _literal;
16320|  6.39M|        arg_ty a;
16321|  6.39M|        if (
16322|  6.39M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16322:13): [True: 3.03M, False: 3.35M]
  ------------------
16323|  3.03M|            &&
16324|  3.03M|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16324:13): [True: 1.34k, False: 3.03M]
  ------------------
16325|  6.39M|        )
16326|  1.34k|        {
16327|  1.34k|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16328|  1.34k|            _res = a;
16329|  1.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16329:18): [True: 0, False: 1.34k]
  |  Branch (16329:34): [True: 0, False: 1.34k]
  |  Branch (16329:57): [True: 0, False: 0]
  ------------------
16330|      0|                p->error_indicator = 1;
16331|      0|                p->level--;
16332|      0|                return NULL;
16333|      0|            }
16334|  1.34k|            goto done;
16335|  1.34k|        }
16336|  6.39M|        p->mark = _mark;
16337|  6.39M|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16338|  6.39M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
16339|  6.39M|    }
16340|      0|    { // lambda_param &':'
16341|  6.39M|        if (p->error_indicator) {
  ------------------
  |  Branch (16341:13): [True: 0, False: 6.39M]
  ------------------
16342|      0|            p->level--;
16343|      0|            return NULL;
16344|      0|        }
16345|  6.39M|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16346|  6.39M|        arg_ty a;
16347|  6.39M|        if (
16348|  6.39M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16348:13): [True: 3.03M, False: 3.35M]
  ------------------
16349|  3.03M|            &&
16350|  3.03M|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16350:13): [True: 3.03M, False: 0]
  ------------------
16351|  6.39M|        )
16352|  3.03M|        {
16353|  3.03M|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16354|  3.03M|            _res = a;
16355|  3.03M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16355:18): [True: 0, False: 3.03M]
  |  Branch (16355:34): [True: 0, False: 3.03M]
  |  Branch (16355:57): [True: 0, False: 0]
  ------------------
16356|      0|                p->error_indicator = 1;
16357|      0|                p->level--;
16358|      0|                return NULL;
16359|      0|            }
16360|  3.03M|            goto done;
16361|  3.03M|        }
16362|  3.35M|        p->mark = _mark;
16363|  3.35M|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16364|  3.35M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16365|  3.35M|    }
16366|  3.35M|    _res = NULL;
16367|  6.39M|  done:
16368|  6.39M|    p->level--;
16369|  6.39M|    return _res;
16370|  3.35M|}
parser.c:_loop1_77_rule:
33235|   162k|{
33236|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33236:9): [True: 0, False: 162k]
  |  Branch (33236:35): [True: 0, False: 162k]
  ------------------
33237|      0|        _Pypegen_stack_overflow(p);
33238|      0|    }
33239|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (33239:9): [True: 0, False: 162k]
  ------------------
33240|      0|        p->level--;
33241|      0|        return NULL;
33242|      0|    }
33243|   162k|    void *_res = NULL;
33244|   162k|    int _mark = p->mark;
33245|   162k|    void **_children = PyMem_Malloc(sizeof(void *));
33246|   162k|    if (!_children) {
  ------------------
  |  Branch (33246:9): [True: 0, False: 162k]
  ------------------
33247|      0|        p->error_indicator = 1;
33248|      0|        PyErr_NoMemory();
33249|      0|        p->level--;
33250|      0|        return NULL;
33251|      0|    }
33252|   162k|    Py_ssize_t _children_capacity = 1;
33253|   162k|    Py_ssize_t _n = 0;
33254|   162k|    { // lambda_param_maybe_default
33255|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (33255:13): [True: 0, False: 162k]
  ------------------
33256|      0|            p->level--;
33257|      0|            return NULL;
33258|      0|        }
33259|   162k|        D(fprintf(stderr, "%*c> _loop1_77[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33260|   162k|        NameDefaultPair* lambda_param_maybe_default_var;
33261|   162k|        while (
33262|   325k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33262:13): [True: 162k, False: 162k]
  ------------------
33263|   162k|        )
33264|   162k|        {
33265|   162k|            _res = lambda_param_maybe_default_var;
33266|   162k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33266:17): [True: 0, False: 162k]
  ------------------
33267|      0|                _children_capacity *= 2;
33268|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33269|      0|                if (!_new_children) {
  ------------------
  |  Branch (33269:21): [True: 0, False: 0]
  ------------------
33270|      0|                    PyMem_Free(_children);
33271|      0|                    p->error_indicator = 1;
33272|      0|                    PyErr_NoMemory();
33273|      0|                    p->level--;
33274|      0|                    return NULL;
33275|      0|                }
33276|      0|                _children = _new_children;
33277|      0|            }
33278|   162k|            _children[_n++] = _res;
33279|   162k|            _mark = p->mark;
33280|   162k|        }
33281|   162k|        p->mark = _mark;
33282|   162k|        D(fprintf(stderr, "%*c%s _loop1_77[%d-%d]: %s failed!\n", p->level, ' ',
33283|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33284|   162k|    }
33285|   162k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33285:9): [True: 0, False: 162k]
  |  Branch (33285:20): [True: 0, False: 162k]
  ------------------
33286|      0|        PyMem_Free(_children);
33287|      0|        p->level--;
33288|      0|        return NULL;
33289|      0|    }
33290|   162k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33291|   162k|    if (!_seq) {
  ------------------
  |  Branch (33291:9): [True: 0, False: 162k]
  ------------------
33292|      0|        PyMem_Free(_children);
33293|      0|        p->error_indicator = 1;
33294|      0|        PyErr_NoMemory();
33295|      0|        p->level--;
33296|      0|        return NULL;
33297|      0|    }
33298|   325k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   162k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   325k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33298:28): [True: 162k, False: 162k]
  ------------------
33299|   162k|    PyMem_Free(_children);
33300|   162k|    p->level--;
33301|   162k|    return _seq;
33302|   162k|}
parser.c:lambda_parameters_rule:
15777|   216k|{
15778|   216k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   433k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15778:9): [True: 0, False: 216k]
  |  Branch (15778:35): [True: 0, False: 216k]
  ------------------
15779|      0|        _Pypegen_stack_overflow(p);
15780|      0|    }
15781|   216k|    if (p->error_indicator) {
  ------------------
  |  Branch (15781:9): [True: 0, False: 216k]
  ------------------
15782|      0|        p->level--;
15783|      0|        return NULL;
15784|      0|    }
15785|   216k|    arguments_ty _res = NULL;
15786|   216k|    int _mark = p->mark;
15787|   216k|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15788|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (15788:13): [True: 0, False: 216k]
  ------------------
15789|      0|            p->level--;
15790|      0|            return NULL;
15791|      0|        }
15792|   216k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15793|   216k|        asdl_arg_seq* a;
15794|   216k|        asdl_arg_seq* b;
15795|   216k|        asdl_seq * c;
15796|   216k|        void *d;
15797|   216k|        if (
15798|   216k|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (15798:13): [True: 0, False: 216k]
  ------------------
15799|      0|            &&
15800|      0|            (b = (asdl_arg_seq*)_loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15800:13): [True: 0, False: 0]
  ------------------
15801|      0|            &&
15802|      0|            (c = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15802:13): [True: 0, False: 0]
  ------------------
15803|      0|            &&
15804|      0|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15804:13): [True: 0, False: 0]
  ------------------
15805|   216k|        )
15806|      0|        {
15807|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15808|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15809|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15809:18): [True: 0, False: 0]
  |  Branch (15809:34): [True: 0, False: 0]
  |  Branch (15809:57): [True: 0, False: 0]
  ------------------
15810|      0|                p->error_indicator = 1;
15811|      0|                p->level--;
15812|      0|                return NULL;
15813|      0|            }
15814|      0|            goto done;
15815|      0|        }
15816|   216k|        p->mark = _mark;
15817|   216k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15818|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15819|   216k|    }
15820|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15821|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (15821:13): [True: 0, False: 216k]
  ------------------
15822|      0|            p->level--;
15823|      0|            return NULL;
15824|      0|        }
15825|   216k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15826|   216k|        SlashWithDefault* a;
15827|   216k|        asdl_seq * b;
15828|   216k|        void *c;
15829|   216k|        if (
15830|   216k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (15830:13): [True: 0, False: 216k]
  ------------------
15831|      0|            &&
15832|      0|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15832:13): [True: 0, False: 0]
  ------------------
15833|      0|            &&
15834|      0|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15834:13): [True: 0, False: 0]
  ------------------
15835|   216k|        )
15836|      0|        {
15837|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15838|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15839|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15839:18): [True: 0, False: 0]
  |  Branch (15839:34): [True: 0, False: 0]
  |  Branch (15839:57): [True: 0, False: 0]
  ------------------
15840|      0|                p->error_indicator = 1;
15841|      0|                p->level--;
15842|      0|                return NULL;
15843|      0|            }
15844|      0|            goto done;
15845|      0|        }
15846|   216k|        p->mark = _mark;
15847|   216k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15848|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15849|   216k|    }
15850|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15851|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (15851:13): [True: 0, False: 216k]
  ------------------
15852|      0|            p->level--;
15853|      0|            return NULL;
15854|      0|        }
15855|   216k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15856|   216k|        asdl_arg_seq* a;
15857|   216k|        asdl_seq * b;
15858|   216k|        void *c;
15859|   216k|        if (
15860|   216k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15860:13): [True: 216k, False: 0]
  ------------------
15861|   216k|            &&
15862|   216k|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15862:13): [True: 216k, False: 0]
  ------------------
15863|   216k|            &&
15864|   216k|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15864:13): [True: 216k, False: 0]
  ------------------
15865|   216k|        )
15866|   216k|        {
15867|   216k|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15868|   216k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15869|   216k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15869:18): [True: 0, False: 216k]
  |  Branch (15869:34): [True: 0, False: 216k]
  |  Branch (15869:57): [True: 0, False: 0]
  ------------------
15870|      0|                p->error_indicator = 1;
15871|      0|                p->level--;
15872|      0|                return NULL;
15873|      0|            }
15874|   216k|            goto done;
15875|   216k|        }
15876|      0|        p->mark = _mark;
15877|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15878|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15879|      0|    }
15880|      0|    { // lambda_param_with_default+ lambda_star_etc?
15881|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15881:13): [True: 0, False: 0]
  ------------------
15882|      0|            p->level--;
15883|      0|            return NULL;
15884|      0|        }
15885|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15886|      0|        asdl_seq * a;
15887|      0|        void *b;
15888|      0|        if (
15889|      0|            (a = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15889:13): [True: 0, False: 0]
  ------------------
15890|      0|            &&
15891|      0|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15891:13): [True: 0, False: 0]
  ------------------
15892|      0|        )
15893|      0|        {
15894|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15895|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15896|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15896:18): [True: 0, False: 0]
  |  Branch (15896:34): [True: 0, False: 0]
  |  Branch (15896:57): [True: 0, False: 0]
  ------------------
15897|      0|                p->error_indicator = 1;
15898|      0|                p->level--;
15899|      0|                return NULL;
15900|      0|            }
15901|      0|            goto done;
15902|      0|        }
15903|      0|        p->mark = _mark;
15904|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15905|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15906|      0|    }
15907|      0|    { // lambda_star_etc
15908|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15908:13): [True: 0, False: 0]
  ------------------
15909|      0|            p->level--;
15910|      0|            return NULL;
15911|      0|        }
15912|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15913|      0|        StarEtc* a;
15914|      0|        if (
15915|      0|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15915:13): [True: 0, False: 0]
  ------------------
15916|      0|        )
15917|      0|        {
15918|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15919|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15920|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15920:18): [True: 0, False: 0]
  |  Branch (15920:34): [True: 0, False: 0]
  |  Branch (15920:57): [True: 0, False: 0]
  ------------------
15921|      0|                p->error_indicator = 1;
15922|      0|                p->level--;
15923|      0|                return NULL;
15924|      0|            }
15925|      0|            goto done;
15926|      0|        }
15927|      0|        p->mark = _mark;
15928|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15929|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15930|      0|    }
15931|      0|    _res = NULL;
15932|   216k|  done:
15933|   216k|    p->level--;
15934|   216k|    return _res;
15935|      0|}
parser.c:_loop0_73_rule:
32957|   216k|{
32958|   216k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   433k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32958:9): [True: 0, False: 216k]
  |  Branch (32958:35): [True: 0, False: 216k]
  ------------------
32959|      0|        _Pypegen_stack_overflow(p);
32960|      0|    }
32961|   216k|    if (p->error_indicator) {
  ------------------
  |  Branch (32961:9): [True: 0, False: 216k]
  ------------------
32962|      0|        p->level--;
32963|      0|        return NULL;
32964|      0|    }
32965|   216k|    void *_res = NULL;
32966|   216k|    int _mark = p->mark;
32967|   216k|    void **_children = PyMem_Malloc(sizeof(void *));
32968|   216k|    if (!_children) {
  ------------------
  |  Branch (32968:9): [True: 0, False: 216k]
  ------------------
32969|      0|        p->error_indicator = 1;
32970|      0|        PyErr_NoMemory();
32971|      0|        p->level--;
32972|      0|        return NULL;
32973|      0|    }
32974|   216k|    Py_ssize_t _children_capacity = 1;
32975|   216k|    Py_ssize_t _n = 0;
32976|   216k|    { // lambda_param_with_default
32977|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (32977:13): [True: 0, False: 216k]
  ------------------
32978|      0|            p->level--;
32979|      0|            return NULL;
32980|      0|        }
32981|   216k|        D(fprintf(stderr, "%*c> _loop0_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
32982|   216k|        NameDefaultPair* lambda_param_with_default_var;
32983|   216k|        while (
32984|   216k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (32984:13): [True: 0, False: 216k]
  ------------------
32985|   216k|        )
32986|      0|        {
32987|      0|            _res = lambda_param_with_default_var;
32988|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32988:17): [True: 0, False: 0]
  ------------------
32989|      0|                _children_capacity *= 2;
32990|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32991|      0|                if (!_new_children) {
  ------------------
  |  Branch (32991:21): [True: 0, False: 0]
  ------------------
32992|      0|                    PyMem_Free(_children);
32993|      0|                    p->error_indicator = 1;
32994|      0|                    PyErr_NoMemory();
32995|      0|                    p->level--;
32996|      0|                    return NULL;
32997|      0|                }
32998|      0|                _children = _new_children;
32999|      0|            }
33000|      0|            _children[_n++] = _res;
33001|      0|            _mark = p->mark;
33002|      0|        }
33003|   216k|        p->mark = _mark;
33004|   216k|        D(fprintf(stderr, "%*c%s _loop0_73[%d-%d]: %s failed!\n", p->level, ' ',
33005|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33006|   216k|    }
33007|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33008|   216k|    if (!_seq) {
  ------------------
  |  Branch (33008:9): [True: 0, False: 216k]
  ------------------
33009|      0|        PyMem_Free(_children);
33010|      0|        p->error_indicator = 1;
33011|      0|        PyErr_NoMemory();
33012|      0|        p->level--;
33013|      0|        return NULL;
33014|      0|    }
33015|   216k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   216k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33015:28): [True: 0, False: 216k]
  ------------------
33016|   216k|    PyMem_Free(_children);
33017|   216k|    p->level--;
33018|   216k|    return _seq;
33019|   216k|}
parser.c:lambda_star_etc_rule:
16110|   216k|{
16111|   216k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   433k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16111:9): [True: 0, False: 216k]
  |  Branch (16111:35): [True: 0, False: 216k]
  ------------------
16112|      0|        _Pypegen_stack_overflow(p);
16113|      0|    }
16114|   216k|    if (p->error_indicator) {
  ------------------
  |  Branch (16114:9): [True: 0, False: 216k]
  ------------------
16115|      0|        p->level--;
16116|      0|        return NULL;
16117|      0|    }
16118|   216k|    StarEtc* _res = NULL;
16119|   216k|    int _mark = p->mark;
16120|   216k|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (16120:9): [True: 162k, False: 54.2k]
  ------------------
16121|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (16121:13): [True: 0, False: 162k]
  ------------------
16122|      0|            p->level--;
16123|      0|            return NULL;
16124|      0|        }
16125|   162k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16126|   162k|        void *invalid_lambda_star_etc_var;
16127|   162k|        if (
16128|   162k|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  Branch (16128:13): [True: 0, False: 162k]
  ------------------
16129|   162k|        )
16130|      0|        {
16131|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16132|      0|            _res = invalid_lambda_star_etc_var;
16133|      0|            goto done;
16134|      0|        }
16135|   162k|        p->mark = _mark;
16136|   162k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16137|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
16138|   162k|    }
16139|   216k|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
16140|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (16140:13): [True: 0, False: 216k]
  ------------------
16141|      0|            p->level--;
16142|      0|            return NULL;
16143|      0|        }
16144|   216k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16145|   216k|        Token * _literal;
16146|   216k|        arg_ty a;
16147|   216k|        asdl_seq * b;
16148|   216k|        void *c;
16149|   216k|        if (
16150|   216k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16150:13): [True: 0, False: 216k]
  ------------------
16151|      0|            &&
16152|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16152:13): [True: 0, False: 0]
  ------------------
16153|      0|            &&
16154|      0|            (b = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (16154:13): [True: 0, False: 0]
  ------------------
16155|      0|            &&
16156|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16156:13): [True: 0, False: 0]
  ------------------
16157|   216k|        )
16158|      0|        {
16159|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16160|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
16161|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16161:18): [True: 0, False: 0]
  |  Branch (16161:34): [True: 0, False: 0]
  |  Branch (16161:57): [True: 0, False: 0]
  ------------------
16162|      0|                p->error_indicator = 1;
16163|      0|                p->level--;
16164|      0|                return NULL;
16165|      0|            }
16166|      0|            goto done;
16167|      0|        }
16168|   216k|        p->mark = _mark;
16169|   216k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16170|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16171|   216k|    }
16172|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
16173|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (16173:13): [True: 0, False: 216k]
  ------------------
16174|      0|            p->level--;
16175|      0|            return NULL;
16176|      0|        }
16177|   216k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16178|   216k|        Token * _literal;
16179|   216k|        Token * _literal_1;
16180|   216k|        asdl_seq * b;
16181|   216k|        void *c;
16182|   216k|        if (
16183|   216k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16183:13): [True: 0, False: 216k]
  ------------------
16184|      0|            &&
16185|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16185:13): [True: 0, False: 0]
  ------------------
16186|      0|            &&
16187|      0|            (b = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (16187:13): [True: 0, False: 0]
  ------------------
16188|      0|            &&
16189|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16189:13): [True: 0, False: 0]
  ------------------
16190|   216k|        )
16191|      0|        {
16192|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16193|      0|            _res = _PyPegen_star_etc ( p , NULL , b , c );
16194|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16194:18): [True: 0, False: 0]
  |  Branch (16194:34): [True: 0, False: 0]
  |  Branch (16194:57): [True: 0, False: 0]
  ------------------
16195|      0|                p->error_indicator = 1;
16196|      0|                p->level--;
16197|      0|                return NULL;
16198|      0|            }
16199|      0|            goto done;
16200|      0|        }
16201|   216k|        p->mark = _mark;
16202|   216k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16203|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16204|   216k|    }
16205|      0|    { // lambda_kwds
16206|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (16206:13): [True: 0, False: 216k]
  ------------------
16207|      0|            p->level--;
16208|      0|            return NULL;
16209|      0|        }
16210|   216k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16211|   216k|        arg_ty a;
16212|   216k|        if (
16213|   216k|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (16213:13): [True: 0, False: 216k]
  ------------------
16214|   216k|        )
16215|      0|        {
16216|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16217|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
16218|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16218:18): [True: 0, False: 0]
  |  Branch (16218:34): [True: 0, False: 0]
  |  Branch (16218:57): [True: 0, False: 0]
  ------------------
16219|      0|                p->error_indicator = 1;
16220|      0|                p->level--;
16221|      0|                return NULL;
16222|      0|            }
16223|      0|            goto done;
16224|      0|        }
16225|   216k|        p->mark = _mark;
16226|   216k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16227|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
16228|   216k|    }
16229|   216k|    _res = NULL;
16230|   216k|  done:
16231|   216k|    p->level--;
16232|   216k|    return _res;
16233|   216k|}
parser.c:invalid_lambda_star_etc_rule:
23827|   162k|{
23828|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23828:9): [True: 0, False: 162k]
  |  Branch (23828:35): [True: 0, False: 162k]
  ------------------
23829|      0|        _Pypegen_stack_overflow(p);
23830|      0|    }
23831|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (23831:9): [True: 0, False: 162k]
  ------------------
23832|      0|        p->level--;
23833|      0|        return NULL;
23834|      0|    }
23835|   162k|    void * _res = NULL;
23836|   162k|    int _mark = p->mark;
23837|   162k|    { // '*' (':' | ',' (':' | '**'))
23838|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23838:13): [True: 0, False: 162k]
  ------------------
23839|      0|            p->level--;
23840|      0|            return NULL;
23841|      0|        }
23842|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23843|   162k|        Token * _literal;
23844|   162k|        void *_tmp_134_var;
23845|   162k|        if (
23846|   162k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23846:13): [True: 0, False: 162k]
  ------------------
23847|      0|            &&
23848|      0|            (_tmp_134_var = _tmp_134_rule(p))  // ':' | ',' (':' | '**')
  ------------------
  |  Branch (23848:13): [True: 0, False: 0]
  ------------------
23849|   162k|        )
23850|      0|        {
23851|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23852|      0|            _res = RAISE_SYNTAX_ERROR ( "named parameters must follow bare *" );
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
23853|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23853:18): [True: 0, False: 0]
  |  Branch (23853:34): [True: 0, False: 0]
  |  Branch (23853:57): [True: 0, False: 0]
  ------------------
23854|      0|                p->error_indicator = 1;
23855|      0|                p->level--;
23856|      0|                return NULL;
23857|      0|            }
23858|      0|            goto done;
23859|      0|        }
23860|   162k|        p->mark = _mark;
23861|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23862|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23863|   162k|    }
23864|      0|    { // '*' lambda_param '='
23865|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23865:13): [True: 0, False: 162k]
  ------------------
23866|      0|            p->level--;
23867|      0|            return NULL;
23868|      0|        }
23869|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
23870|   162k|        Token * _literal;
23871|   162k|        Token * a;
23872|   162k|        arg_ty lambda_param_var;
23873|   162k|        if (
23874|   162k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23874:13): [True: 0, False: 162k]
  ------------------
23875|      0|            &&
23876|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (23876:13): [True: 0, False: 0]
  ------------------
23877|      0|            &&
23878|      0|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23878:13): [True: 0, False: 0]
  ------------------
23879|   162k|        )
23880|      0|        {
23881|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
23882|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23883|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23883:18): [True: 0, False: 0]
  |  Branch (23883:34): [True: 0, False: 0]
  |  Branch (23883:57): [True: 0, False: 0]
  ------------------
23884|      0|                p->error_indicator = 1;
23885|      0|                p->level--;
23886|      0|                return NULL;
23887|      0|            }
23888|      0|            goto done;
23889|      0|        }
23890|   162k|        p->mark = _mark;
23891|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23892|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param '='"));
23893|   162k|    }
23894|      0|    { // '*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')
23895|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23895:13): [True: 0, False: 162k]
  ------------------
23896|      0|            p->level--;
23897|      0|            return NULL;
23898|      0|        }
23899|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23900|   162k|        Token * _literal;
23901|   162k|        asdl_seq * _loop0_76_var;
23902|   162k|        void *_tmp_135_var;
23903|   162k|        void *_tmp_135_var_1;
23904|   162k|        Token * a;
23905|   162k|        if (
23906|   162k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23906:13): [True: 0, False: 162k]
  ------------------
23907|      0|            &&
23908|      0|            (_tmp_135_var = _tmp_135_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (23908:13): [True: 0, False: 0]
  ------------------
23909|      0|            &&
23910|      0|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23910:13): [True: 0, False: 0]
  ------------------
23911|      0|            &&
23912|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23912:13): [True: 0, False: 0]
  ------------------
23913|      0|            &&
23914|      0|            (_tmp_135_var_1 = _tmp_135_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (23914:13): [True: 0, False: 0]
  ------------------
23915|   162k|        )
23916|      0|        {
23917|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23918|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23919|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23919:18): [True: 0, False: 0]
  |  Branch (23919:34): [True: 0, False: 0]
  |  Branch (23919:57): [True: 0, False: 0]
  ------------------
23920|      0|                p->error_indicator = 1;
23921|      0|                p->level--;
23922|      0|                return NULL;
23923|      0|            }
23924|      0|            goto done;
23925|      0|        }
23926|   162k|        p->mark = _mark;
23927|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23928|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23929|   162k|    }
23930|   162k|    _res = NULL;
23931|   162k|  done:
23932|   162k|    p->level--;
23933|   162k|    return _res;
23934|   162k|}
parser.c:lambda_kwds_rule:
16238|   216k|{
16239|   216k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   433k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16239:9): [True: 0, False: 216k]
  |  Branch (16239:35): [True: 0, False: 216k]
  ------------------
16240|      0|        _Pypegen_stack_overflow(p);
16241|      0|    }
16242|   216k|    if (p->error_indicator) {
  ------------------
  |  Branch (16242:9): [True: 0, False: 216k]
  ------------------
16243|      0|        p->level--;
16244|      0|        return NULL;
16245|      0|    }
16246|   216k|    arg_ty _res = NULL;
16247|   216k|    int _mark = p->mark;
16248|   216k|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (16248:9): [True: 162k, False: 54.2k]
  ------------------
16249|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (16249:13): [True: 0, False: 162k]
  ------------------
16250|      0|            p->level--;
16251|      0|            return NULL;
16252|      0|        }
16253|   162k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16254|   162k|        void *invalid_lambda_kwds_var;
16255|   162k|        if (
16256|   162k|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  Branch (16256:13): [True: 0, False: 162k]
  ------------------
16257|   162k|        )
16258|      0|        {
16259|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16260|      0|            _res = invalid_lambda_kwds_var;
16261|      0|            goto done;
16262|      0|        }
16263|   162k|        p->mark = _mark;
16264|   162k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16265|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
16266|   162k|    }
16267|   216k|    { // '**' lambda_param_no_default
16268|   216k|        if (p->error_indicator) {
  ------------------
  |  Branch (16268:13): [True: 0, False: 216k]
  ------------------
16269|      0|            p->level--;
16270|      0|            return NULL;
16271|      0|        }
16272|   216k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16273|   216k|        Token * _literal;
16274|   216k|        arg_ty a;
16275|   216k|        if (
16276|   216k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (16276:13): [True: 0, False: 216k]
  ------------------
16277|      0|            &&
16278|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16278:13): [True: 0, False: 0]
  ------------------
16279|   216k|        )
16280|      0|        {
16281|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16282|      0|            _res = a;
16283|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16283:18): [True: 0, False: 0]
  |  Branch (16283:34): [True: 0, False: 0]
  |  Branch (16283:57): [True: 0, False: 0]
  ------------------
16284|      0|                p->error_indicator = 1;
16285|      0|                p->level--;
16286|      0|                return NULL;
16287|      0|            }
16288|      0|            goto done;
16289|      0|        }
16290|   216k|        p->mark = _mark;
16291|   216k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16292|   216k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
16293|   216k|    }
16294|   216k|    _res = NULL;
16295|   216k|  done:
16296|   216k|    p->level--;
16297|   216k|    return _res;
16298|   216k|}
parser.c:invalid_lambda_kwds_rule:
23942|   162k|{
23943|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23943:9): [True: 0, False: 162k]
  |  Branch (23943:35): [True: 0, False: 162k]
  ------------------
23944|      0|        _Pypegen_stack_overflow(p);
23945|      0|    }
23946|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (23946:9): [True: 0, False: 162k]
  ------------------
23947|      0|        p->level--;
23948|      0|        return NULL;
23949|      0|    }
23950|   162k|    void * _res = NULL;
23951|   162k|    int _mark = p->mark;
23952|   162k|    { // '**' lambda_param '='
23953|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23953:13): [True: 0, False: 162k]
  ------------------
23954|      0|            p->level--;
23955|      0|            return NULL;
23956|      0|        }
23957|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
23958|   162k|        Token * _literal;
23959|   162k|        Token * a;
23960|   162k|        arg_ty lambda_param_var;
23961|   162k|        if (
23962|   162k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23962:13): [True: 0, False: 162k]
  ------------------
23963|      0|            &&
23964|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (23964:13): [True: 0, False: 0]
  ------------------
23965|      0|            &&
23966|      0|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23966:13): [True: 0, False: 0]
  ------------------
23967|   162k|        )
23968|      0|        {
23969|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
23970|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23971|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23971:18): [True: 0, False: 0]
  |  Branch (23971:34): [True: 0, False: 0]
  |  Branch (23971:57): [True: 0, False: 0]
  ------------------
23972|      0|                p->error_indicator = 1;
23973|      0|                p->level--;
23974|      0|                return NULL;
23975|      0|            }
23976|      0|            goto done;
23977|      0|        }
23978|   162k|        p->mark = _mark;
23979|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
23980|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param '='"));
23981|   162k|    }
23982|      0|    { // '**' lambda_param ',' lambda_param
23983|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (23983:13): [True: 0, False: 162k]
  ------------------
23984|      0|            p->level--;
23985|      0|            return NULL;
23986|      0|        }
23987|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
23988|   162k|        Token * _literal;
23989|   162k|        Token * _literal_1;
23990|   162k|        arg_ty a;
23991|   162k|        arg_ty lambda_param_var;
23992|   162k|        if (
23993|   162k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23993:13): [True: 0, False: 162k]
  ------------------
23994|      0|            &&
23995|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (23995:13): [True: 0, False: 0]
  ------------------
23996|      0|            &&
23997|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23997:13): [True: 0, False: 0]
  ------------------
23998|      0|            &&
23999|      0|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (23999:13): [True: 0, False: 0]
  ------------------
24000|   162k|        )
24001|      0|        {
24002|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24003|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24004|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24004:18): [True: 0, False: 0]
  |  Branch (24004:34): [True: 0, False: 0]
  |  Branch (24004:57): [True: 0, False: 0]
  ------------------
24005|      0|                p->error_indicator = 1;
24006|      0|                p->level--;
24007|      0|                return NULL;
24008|      0|            }
24009|      0|            goto done;
24010|      0|        }
24011|   162k|        p->mark = _mark;
24012|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24013|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24014|   162k|    }
24015|      0|    { // '**' lambda_param ',' ('*' | '**' | '/')
24016|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (24016:13): [True: 0, False: 162k]
  ------------------
24017|      0|            p->level--;
24018|      0|            return NULL;
24019|      0|        }
24020|   162k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24021|   162k|        Token * _literal;
24022|   162k|        Token * _literal_1;
24023|   162k|        Token* a;
24024|   162k|        arg_ty lambda_param_var;
24025|   162k|        if (
24026|   162k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (24026:13): [True: 0, False: 162k]
  ------------------
24027|      0|            &&
24028|      0|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (24028:13): [True: 0, False: 0]
  ------------------
24029|      0|            &&
24030|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24030:13): [True: 0, False: 0]
  ------------------
24031|      0|            &&
24032|      0|            (a = (Token*)_tmp_129_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (24032:13): [True: 0, False: 0]
  ------------------
24033|   162k|        )
24034|      0|        {
24035|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24036|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24037|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24037:18): [True: 0, False: 0]
  |  Branch (24037:34): [True: 0, False: 0]
  |  Branch (24037:57): [True: 0, False: 0]
  ------------------
24038|      0|                p->error_indicator = 1;
24039|      0|                p->level--;
24040|      0|                return NULL;
24041|      0|            }
24042|      0|            goto done;
24043|      0|        }
24044|   162k|        p->mark = _mark;
24045|   162k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24046|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24047|   162k|    }
24048|   162k|    _res = NULL;
24049|   162k|  done:
24050|   162k|    p->level--;
24051|   162k|    return _res;
24052|   162k|}
parser.c:invalid_legacy_expression_rule:
21553|   108k|{
21554|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21554:9): [True: 0, False: 108k]
  |  Branch (21554:35): [True: 0, False: 108k]
  ------------------
21555|      0|        _Pypegen_stack_overflow(p);
21556|      0|    }
21557|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (21557:9): [True: 0, False: 108k]
  ------------------
21558|      0|        p->level--;
21559|      0|        return NULL;
21560|      0|    }
21561|   108k|    void * _res = NULL;
21562|   108k|    int _mark = p->mark;
21563|   108k|    { // NAME !'(' star_expressions
21564|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (21564:13): [True: 0, False: 108k]
  ------------------
21565|      0|            p->level--;
21566|      0|            return NULL;
21567|      0|        }
21568|   108k|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
21569|   108k|        expr_ty a;
21570|   108k|        expr_ty b;
21571|   108k|        if (
21572|   108k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21572:13): [True: 0, False: 108k]
  ------------------
21573|      0|            &&
21574|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (21574:13): [True: 0, False: 0]
  ------------------
21575|      0|            &&
21576|      0|            (b = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (21576:13): [True: 0, False: 0]
  ------------------
21577|   108k|        )
21578|      0|        {
21579|      0|            D(fprintf(stderr, "%*c+ invalid_legacy_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
21580|      0|            _res = _PyPegen_check_legacy_stmt ( p , a ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Missing parentheses in call to '%U'. Did you mean %U(...)?" , a -> v . Name . id , a -> v . Name . id ) : NULL;
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (21580:20): [True: 0, False: 0]
  ------------------
21581|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21581:18): [True: 0, False: 0]
  |  Branch (21581:34): [True: 0, False: 0]
  |  Branch (21581:57): [True: 0, False: 0]
  ------------------
21582|      0|                p->error_indicator = 1;
21583|      0|                p->level--;
21584|      0|                return NULL;
21585|      0|            }
21586|      0|            goto done;
21587|      0|        }
21588|   108k|        p->mark = _mark;
21589|   108k|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
21590|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
21591|   108k|    }
21592|   108k|    _res = NULL;
21593|   108k|  done:
21594|   108k|    p->level--;
21595|   108k|    return _res;
21596|   108k|}
parser.c:lambdef_rule:
15645|   218k|{
15646|   218k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   436k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15646:9): [True: 0, False: 218k]
  |  Branch (15646:35): [True: 0, False: 218k]
  ------------------
15647|      0|        _Pypegen_stack_overflow(p);
15648|      0|    }
15649|   218k|    if (p->error_indicator) {
  ------------------
  |  Branch (15649:9): [True: 0, False: 218k]
  ------------------
15650|      0|        p->level--;
15651|      0|        return NULL;
15652|      0|    }
15653|   218k|    expr_ty _res = NULL;
15654|   218k|    int _mark = p->mark;
15655|   218k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15655:9): [True: 0, False: 218k]
  |  Branch (15655:31): [True: 0, False: 0]
  ------------------
15656|      0|        p->error_indicator = 1;
15657|      0|        p->level--;
15658|      0|        return NULL;
15659|      0|    }
15660|   218k|    int _start_lineno = p->tokens[_mark]->lineno;
15661|   218k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
15662|   218k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15663|   218k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
15664|   218k|    { // 'lambda' lambda_params? ':' expression
15665|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (15665:13): [True: 0, False: 218k]
  ------------------
15666|      0|            p->level--;
15667|      0|            return NULL;
15668|      0|        }
15669|   218k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15670|   218k|        Token * _keyword;
15671|   218k|        Token * _literal;
15672|   218k|        void *a;
15673|   218k|        expr_ty b;
15674|   218k|        if (
15675|   218k|            (_keyword = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (15675:13): [True: 108k, False: 109k]
  ------------------
15676|   108k|            &&
15677|   108k|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (15677:13): [True: 108k, False: 0]
  ------------------
15678|   108k|            &&
15679|   108k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15679:13): [True: 108k, False: 0]
  ------------------
15680|   108k|            &&
15681|   108k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (15681:13): [True: 64, False: 108k]
  ------------------
15682|   218k|        )
15683|     64|        {
15684|     64|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15685|     64|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15686|     64|            if (_token == NULL) {
  ------------------
  |  Branch (15686:17): [True: 0, False: 64]
  ------------------
15687|      0|                p->level--;
15688|      0|                return NULL;
15689|      0|            }
15690|     64|            int _end_lineno = _token->end_lineno;
15691|     64|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     64|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 64]
  |  |  ------------------
  ------------------
15692|     64|            int _end_col_offset = _token->end_col_offset;
15693|     64|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     64|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 64]
  |  |  ------------------
  ------------------
15694|     64|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  233|     64|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  269|     64|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15694:36): [True: 64, False: 0]
  ------------------
15695|     64|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15695:18): [True: 0, False: 64]
  |  Branch (15695:34): [True: 0, False: 64]
  |  Branch (15695:57): [True: 0, False: 0]
  ------------------
15696|      0|                p->error_indicator = 1;
15697|      0|                p->level--;
15698|      0|                return NULL;
15699|      0|            }
15700|     64|            goto done;
15701|     64|        }
15702|   218k|        p->mark = _mark;
15703|   218k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15704|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15705|   218k|    }
15706|   218k|    _res = NULL;
15707|   218k|  done:
15708|   218k|    p->level--;
15709|   218k|    return _res;
15710|   218k|}
parser.c:function_def_raw_rule:
 4640|    450|{
 4641|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (4641:9): [True: 0, False: 450]
  |  Branch (4641:35): [True: 0, False: 450]
  ------------------
 4642|      0|        _Pypegen_stack_overflow(p);
 4643|      0|    }
 4644|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (4644:9): [True: 0, False: 450]
  ------------------
 4645|      0|        p->level--;
 4646|      0|        return NULL;
 4647|      0|    }
 4648|    450|    stmt_ty _res = NULL;
 4649|    450|    int _mark = p->mark;
 4650|    450|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4650:9): [True: 0, False: 450]
  |  Branch (4650:31): [True: 0, False: 0]
  ------------------
 4651|      0|        p->error_indicator = 1;
 4652|      0|        p->level--;
 4653|      0|        return NULL;
 4654|      0|    }
 4655|    450|    int _start_lineno = p->tokens[_mark]->lineno;
 4656|    450|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
 4657|    450|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4658|    450|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
 4659|    450|    if (p->call_invalid_rules) { // invalid_def_raw
  ------------------
  |  Branch (4659:9): [True: 0, False: 450]
  ------------------
 4660|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4660:13): [True: 0, False: 0]
  ------------------
 4661|      0|            p->level--;
 4662|      0|            return NULL;
 4663|      0|        }
 4664|      0|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4665|      0|        void *invalid_def_raw_var;
 4666|      0|        if (
 4667|      0|            (invalid_def_raw_var = invalid_def_raw_rule(p))  // invalid_def_raw
  ------------------
  |  Branch (4667:13): [True: 0, False: 0]
  ------------------
 4668|      0|        )
 4669|      0|        {
 4670|      0|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4671|      0|            _res = invalid_def_raw_var;
 4672|      0|            goto done;
 4673|      0|        }
 4674|      0|        p->mark = _mark;
 4675|      0|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4676|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_def_raw"));
 4677|      0|    }
 4678|    450|    { // 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4679|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (4679:13): [True: 0, False: 450]
  ------------------
 4680|      0|            p->level--;
 4681|      0|            return NULL;
 4682|      0|        }
 4683|    450|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4684|    450|        Token * _keyword;
 4685|    450|        Token * _literal;
 4686|    450|        Token * _literal_1;
 4687|    450|        Token * _literal_2;
 4688|    450|        void *a;
 4689|    450|        asdl_stmt_seq* b;
 4690|    450|        expr_ty n;
 4691|    450|        void *params;
 4692|    450|        void *t;
 4693|    450|        void *tc;
 4694|    450|        if (
 4695|    450|            (_keyword = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (4695:13): [True: 450, False: 0]
  ------------------
 4696|    450|            &&
 4697|    450|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4697:13): [True: 450, False: 0]
  ------------------
 4698|    450|            &&
 4699|    450|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4699:13): [True: 450, False: 0]
  ------------------
 4700|    450|            &&
 4701|    450|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4701:13): [True: 450, False: 0]
  ------------------
 4702|    450|            &&
 4703|    450|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4703:13): [True: 450, False: 0]
  ------------------
 4704|    450|            &&
 4705|    450|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4705:13): [True: 450, False: 0]
  ------------------
 4706|    450|            &&
 4707|    450|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4707:13): [True: 450, False: 0]
  ------------------
 4708|    450|            &&
 4709|    450|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4709:13): [True: 450, False: 0]
  ------------------
 4710|    450|            &&
 4711|    450|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4711:13): [True: 450, False: 0]
  ------------------
 4712|    450|            &&
 4713|    450|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4713:13): [True: 450, False: 0]
  ------------------
 4714|    450|        )
 4715|    450|        {
 4716|    450|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4717|    450|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4718|    450|            if (_token == NULL) {
  ------------------
  |  Branch (4718:17): [True: 0, False: 450]
  ------------------
 4719|      0|                p->level--;
 4720|      0|                return NULL;
 4721|      0|            }
 4722|    450|            int _end_lineno = _token->end_lineno;
 4723|    450|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
 4724|    450|            int _end_col_offset = _token->end_col_offset;
 4725|    450|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    450|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 450]
  |  |  ------------------
  ------------------
 4726|    450|            _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  233|    466|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  269|    450|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4726:62): [True: 434, False: 16]
  ------------------
 4727|    450|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4727:18): [True: 0, False: 450]
  |  Branch (4727:34): [True: 0, False: 450]
  |  Branch (4727:57): [True: 0, False: 0]
  ------------------
 4728|      0|                p->error_indicator = 1;
 4729|      0|                p->level--;
 4730|      0|                return NULL;
 4731|      0|            }
 4732|    450|            goto done;
 4733|    450|        }
 4734|      0|        p->mark = _mark;
 4735|      0|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4736|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4737|      0|    }
 4738|      0|    { // 'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4739|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4739:13): [True: 0, False: 0]
  ------------------
 4740|      0|            p->level--;
 4741|      0|            return NULL;
 4742|      0|        }
 4743|      0|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4744|      0|        Token * _keyword;
 4745|      0|        Token * _keyword_1;
 4746|      0|        Token * _literal;
 4747|      0|        Token * _literal_1;
 4748|      0|        Token * _literal_2;
 4749|      0|        void *a;
 4750|      0|        asdl_stmt_seq* b;
 4751|      0|        expr_ty n;
 4752|      0|        void *params;
 4753|      0|        void *t;
 4754|      0|        void *tc;
 4755|      0|        if (
 4756|      0|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (4756:13): [True: 0, False: 0]
  ------------------
 4757|      0|            &&
 4758|      0|            (_keyword_1 = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (4758:13): [True: 0, False: 0]
  ------------------
 4759|      0|            &&
 4760|      0|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4760:13): [True: 0, False: 0]
  ------------------
 4761|      0|            &&
 4762|      0|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4762:13): [True: 0, False: 0]
  ------------------
 4763|      0|            &&
 4764|      0|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4764:13): [True: 0, False: 0]
  ------------------
 4765|      0|            &&
 4766|      0|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4766:13): [True: 0, False: 0]
  ------------------
 4767|      0|            &&
 4768|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4768:13): [True: 0, False: 0]
  ------------------
 4769|      0|            &&
 4770|      0|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4770:13): [True: 0, False: 0]
  ------------------
 4771|      0|            &&
 4772|      0|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4772:13): [True: 0, False: 0]
  ------------------
 4773|      0|            &&
 4774|      0|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4774:13): [True: 0, False: 0]
  ------------------
 4775|      0|            &&
 4776|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4776:13): [True: 0, False: 0]
  ------------------
 4777|      0|        )
 4778|      0|        {
 4779|      0|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4780|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4781|      0|            if (_token == NULL) {
  ------------------
  |  Branch (4781:17): [True: 0, False: 0]
  ------------------
 4782|      0|                p->level--;
 4783|      0|                return NULL;
 4784|      0|            }
 4785|      0|            int _end_lineno = _token->end_lineno;
 4786|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4787|      0|            int _end_col_offset = _token->end_col_offset;
 4788|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4789|      0|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async functions are" , _PyAST_AsyncFunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  |  |  ------------------
  |  |  |  Branch (307:96): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4790|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4790:18): [True: 0, False: 0]
  |  Branch (4790:34): [True: 0, False: 0]
  |  Branch (4790:57): [True: 0, False: 0]
  ------------------
 4791|      0|                p->error_indicator = 1;
 4792|      0|                p->level--;
 4793|      0|                return NULL;
 4794|      0|            }
 4795|      0|            goto done;
 4796|      0|        }
 4797|      0|        p->mark = _mark;
 4798|      0|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4799|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4800|      0|    }
 4801|      0|    _res = NULL;
 4802|    450|  done:
 4803|    450|    p->level--;
 4804|    450|    return _res;
 4805|      0|}
parser.c:params_rule:
 4810|    450|{
 4811|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (4811:9): [True: 0, False: 450]
  |  Branch (4811:35): [True: 0, False: 450]
  ------------------
 4812|      0|        _Pypegen_stack_overflow(p);
 4813|      0|    }
 4814|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (4814:9): [True: 0, False: 450]
  ------------------
 4815|      0|        p->level--;
 4816|      0|        return NULL;
 4817|      0|    }
 4818|    450|    arguments_ty _res = NULL;
 4819|    450|    int _mark = p->mark;
 4820|    450|    if (p->call_invalid_rules) { // invalid_parameters
  ------------------
  |  Branch (4820:9): [True: 0, False: 450]
  ------------------
 4821|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4821:13): [True: 0, False: 0]
  ------------------
 4822|      0|            p->level--;
 4823|      0|            return NULL;
 4824|      0|        }
 4825|      0|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4826|      0|        void *invalid_parameters_var;
 4827|      0|        if (
 4828|      0|            (invalid_parameters_var = invalid_parameters_rule(p))  // invalid_parameters
  ------------------
  |  Branch (4828:13): [True: 0, False: 0]
  ------------------
 4829|      0|        )
 4830|      0|        {
 4831|      0|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4832|      0|            _res = invalid_parameters_var;
 4833|      0|            goto done;
 4834|      0|        }
 4835|      0|        p->mark = _mark;
 4836|      0|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4837|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_parameters"));
 4838|      0|    }
 4839|    450|    { // parameters
 4840|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (4840:13): [True: 0, False: 450]
  ------------------
 4841|      0|            p->level--;
 4842|      0|            return NULL;
 4843|      0|        }
 4844|    450|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "parameters"));
 4845|    450|        arguments_ty parameters_var;
 4846|    450|        if (
 4847|    450|            (parameters_var = parameters_rule(p))  // parameters
  ------------------
  |  Branch (4847:13): [True: 434, False: 16]
  ------------------
 4848|    450|        )
 4849|    434|        {
 4850|    434|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "parameters"));
 4851|    434|            _res = parameters_var;
 4852|    434|            goto done;
 4853|    434|        }
 4854|     16|        p->mark = _mark;
 4855|     16|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4856|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "parameters"));
 4857|     16|    }
 4858|     16|    _res = NULL;
 4859|    450|  done:
 4860|    450|    p->level--;
 4861|    450|    return _res;
 4862|     16|}
parser.c:slash_with_default_rule:
 5115|    446|{
 5116|    446|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    892|#  define MAXSTACK 6000
  ------------------
  |  Branch (5116:9): [True: 0, False: 446]
  |  Branch (5116:35): [True: 0, False: 446]
  ------------------
 5117|      0|        _Pypegen_stack_overflow(p);
 5118|      0|    }
 5119|    446|    if (p->error_indicator) {
  ------------------
  |  Branch (5119:9): [True: 0, False: 446]
  ------------------
 5120|      0|        p->level--;
 5121|      0|        return NULL;
 5122|      0|    }
 5123|    446|    SlashWithDefault* _res = NULL;
 5124|    446|    int _mark = p->mark;
 5125|    446|    { // param_no_default* param_with_default+ '/' ','
 5126|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (5126:13): [True: 0, False: 446]
  ------------------
 5127|      0|            p->level--;
 5128|      0|            return NULL;
 5129|      0|        }
 5130|    446|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5131|    446|        Token * _literal;
 5132|    446|        Token * _literal_1;
 5133|    446|        asdl_seq * a;
 5134|    446|        asdl_seq * b;
 5135|    446|        if (
 5136|    446|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5136:13): [True: 446, False: 0]
  ------------------
 5137|    446|            &&
 5138|    446|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5138:13): [True: 32, False: 414]
  ------------------
 5139|     32|            &&
 5140|     32|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5140:13): [True: 0, False: 32]
  ------------------
 5141|      0|            &&
 5142|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  ------------------
 5143|    446|        )
 5144|      0|        {
 5145|      0|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5146|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5147|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5147:18): [True: 0, False: 0]
  |  Branch (5147:34): [True: 0, False: 0]
  |  Branch (5147:57): [True: 0, False: 0]
  ------------------
 5148|      0|                p->error_indicator = 1;
 5149|      0|                p->level--;
 5150|      0|                return NULL;
 5151|      0|            }
 5152|      0|            goto done;
 5153|      0|        }
 5154|    446|        p->mark = _mark;
 5155|    446|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5156|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5157|    446|    }
 5158|      0|    { // param_no_default* param_with_default+ '/' &')'
 5159|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (5159:13): [True: 0, False: 446]
  ------------------
 5160|      0|            p->level--;
 5161|      0|            return NULL;
 5162|      0|        }
 5163|    446|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5164|    446|        Token * _literal;
 5165|    446|        asdl_seq * a;
 5166|    446|        asdl_seq * b;
 5167|    446|        if (
 5168|    446|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5168:13): [True: 446, False: 0]
  ------------------
 5169|    446|            &&
 5170|    446|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5170:13): [True: 32, False: 414]
  ------------------
 5171|     32|            &&
 5172|     32|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5172:13): [True: 0, False: 32]
  ------------------
 5173|      0|            &&
 5174|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5174:13): [True: 0, False: 0]
  ------------------
 5175|    446|        )
 5176|      0|        {
 5177|      0|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5178|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5179|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5179:18): [True: 0, False: 0]
  |  Branch (5179:34): [True: 0, False: 0]
  |  Branch (5179:57): [True: 0, False: 0]
  ------------------
 5180|      0|                p->error_indicator = 1;
 5181|      0|                p->level--;
 5182|      0|                return NULL;
 5183|      0|            }
 5184|      0|            goto done;
 5185|      0|        }
 5186|    446|        p->mark = _mark;
 5187|    446|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5188|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5189|    446|    }
 5190|    446|    _res = NULL;
 5191|    446|  done:
 5192|    446|    p->level--;
 5193|    446|    return _res;
 5194|    446|}
parser.c:_loop1_30_rule:
30217|    954|{
30218|    954|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30218:9): [True: 0, False: 954]
  |  Branch (30218:35): [True: 0, False: 954]
  ------------------
30219|      0|        _Pypegen_stack_overflow(p);
30220|      0|    }
30221|    954|    if (p->error_indicator) {
  ------------------
  |  Branch (30221:9): [True: 0, False: 954]
  ------------------
30222|      0|        p->level--;
30223|      0|        return NULL;
30224|      0|    }
30225|    954|    void *_res = NULL;
30226|    954|    int _mark = p->mark;
30227|    954|    void **_children = PyMem_Malloc(sizeof(void *));
30228|    954|    if (!_children) {
  ------------------
  |  Branch (30228:9): [True: 0, False: 954]
  ------------------
30229|      0|        p->error_indicator = 1;
30230|      0|        PyErr_NoMemory();
30231|      0|        p->level--;
30232|      0|        return NULL;
30233|      0|    }
30234|    954|    Py_ssize_t _children_capacity = 1;
30235|    954|    Py_ssize_t _n = 0;
30236|    954|    { // param_with_default
30237|    954|        if (p->error_indicator) {
  ------------------
  |  Branch (30237:13): [True: 0, False: 954]
  ------------------
30238|      0|            p->level--;
30239|      0|            return NULL;
30240|      0|        }
30241|    954|        D(fprintf(stderr, "%*c> _loop1_30[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30242|    954|        NameDefaultPair* param_with_default_var;
30243|    954|        while (
30244|  1.13k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30244:13): [True: 182, False: 954]
  ------------------
30245|    954|        )
30246|    182|        {
30247|    182|            _res = param_with_default_var;
30248|    182|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30248:17): [True: 84, False: 98]
  ------------------
30249|     84|                _children_capacity *= 2;
30250|     84|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30251|     84|                if (!_new_children) {
  ------------------
  |  Branch (30251:21): [True: 0, False: 84]
  ------------------
30252|      0|                    PyMem_Free(_children);
30253|      0|                    p->error_indicator = 1;
30254|      0|                    PyErr_NoMemory();
30255|      0|                    p->level--;
30256|      0|                    return NULL;
30257|      0|                }
30258|     84|                _children = _new_children;
30259|     84|            }
30260|    182|            _children[_n++] = _res;
30261|    182|            _mark = p->mark;
30262|    182|        }
30263|    954|        p->mark = _mark;
30264|    954|        D(fprintf(stderr, "%*c%s _loop1_30[%d-%d]: %s failed!\n", p->level, ' ',
30265|    954|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30266|    954|    }
30267|    954|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30267:9): [True: 872, False: 82]
  |  Branch (30267:20): [True: 0, False: 82]
  ------------------
30268|    872|        PyMem_Free(_children);
30269|    872|        p->level--;
30270|    872|        return NULL;
30271|    872|    }
30272|     82|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30273|     82|    if (!_seq) {
  ------------------
  |  Branch (30273:9): [True: 0, False: 82]
  ------------------
30274|      0|        PyMem_Free(_children);
30275|      0|        p->error_indicator = 1;
30276|      0|        PyErr_NoMemory();
30277|      0|        p->level--;
30278|      0|        return NULL;
30279|      0|    }
30280|    264|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    182|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30280:28): [True: 182, False: 82]
  ------------------
30281|     82|    PyMem_Free(_children);
30282|     82|    p->level--;
30283|     82|    return _seq;
30284|     82|}
parser.c:param_with_default_rule:
 5588|  1.56k|{
 5589|  1.56k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.12k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5589:9): [True: 0, False: 1.56k]
  |  Branch (5589:35): [True: 0, False: 1.56k]
  ------------------
 5590|      0|        _Pypegen_stack_overflow(p);
 5591|      0|    }
 5592|  1.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (5592:9): [True: 0, False: 1.56k]
  ------------------
 5593|      0|        p->level--;
 5594|      0|        return NULL;
 5595|      0|    }
 5596|  1.56k|    NameDefaultPair* _res = NULL;
 5597|  1.56k|    int _mark = p->mark;
 5598|  1.56k|    { // param default ',' TYPE_COMMENT?
 5599|  1.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (5599:13): [True: 0, False: 1.56k]
  ------------------
 5600|      0|            p->level--;
 5601|      0|            return NULL;
 5602|      0|        }
 5603|  1.56k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5604|  1.56k|        Token * _literal;
 5605|  1.56k|        arg_ty a;
 5606|  1.56k|        expr_ty c;
 5607|  1.56k|        void *tc;
 5608|  1.56k|        if (
 5609|  1.56k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5609:13): [True: 222, False: 1.34k]
  ------------------
 5610|    222|            &&
 5611|    222|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5611:13): [True: 222, False: 0]
  ------------------
 5612|    222|            &&
 5613|    222|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5613:13): [True: 162, False: 60]
  ------------------
 5614|    162|            &&
 5615|    162|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    162|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5615:13): [True: 162, False: 0]
  ------------------
 5616|  1.56k|        )
 5617|    162|        {
 5618|    162|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5619|    162|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5620|    162|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5620:18): [True: 0, False: 162]
  |  Branch (5620:34): [True: 0, False: 162]
  |  Branch (5620:57): [True: 0, False: 0]
  ------------------
 5621|      0|                p->error_indicator = 1;
 5622|      0|                p->level--;
 5623|      0|                return NULL;
 5624|      0|            }
 5625|    162|            goto done;
 5626|    162|        }
 5627|  1.40k|        p->mark = _mark;
 5628|  1.40k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5629|  1.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5630|  1.40k|    }
 5631|      0|    { // param default TYPE_COMMENT? &')'
 5632|  1.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (5632:13): [True: 0, False: 1.40k]
  ------------------
 5633|      0|            p->level--;
 5634|      0|            return NULL;
 5635|      0|        }
 5636|  1.40k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5637|  1.40k|        arg_ty a;
 5638|  1.40k|        expr_ty c;
 5639|  1.40k|        void *tc;
 5640|  1.40k|        if (
 5641|  1.40k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5641:13): [True: 60, False: 1.34k]
  ------------------
 5642|     60|            &&
 5643|     60|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5643:13): [True: 60, False: 0]
  ------------------
 5644|     60|            &&
 5645|     60|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     60|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5645:13): [True: 60, False: 0]
  ------------------
 5646|     60|            &&
 5647|     60|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5647:13): [True: 60, False: 0]
  ------------------
 5648|  1.40k|        )
 5649|     60|        {
 5650|     60|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5651|     60|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5652|     60|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5652:18): [True: 0, False: 60]
  |  Branch (5652:34): [True: 0, False: 60]
  |  Branch (5652:57): [True: 0, False: 0]
  ------------------
 5653|      0|                p->error_indicator = 1;
 5654|      0|                p->level--;
 5655|      0|                return NULL;
 5656|      0|            }
 5657|     60|            goto done;
 5658|     60|        }
 5659|  1.34k|        p->mark = _mark;
 5660|  1.34k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5661|  1.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5662|  1.34k|    }
 5663|  1.34k|    _res = NULL;
 5664|  1.56k|  done:
 5665|  1.56k|    p->level--;
 5666|  1.56k|    return _res;
 5667|  1.34k|}
parser.c:param_rule:
 5758|  13.9k|{
 5759|  13.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  27.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5759:9): [True: 0, False: 13.9k]
  |  Branch (5759:35): [True: 0, False: 13.9k]
  ------------------
 5760|      0|        _Pypegen_stack_overflow(p);
 5761|      0|    }
 5762|  13.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5762:9): [True: 0, False: 13.9k]
  ------------------
 5763|      0|        p->level--;
 5764|      0|        return NULL;
 5765|      0|    }
 5766|  13.9k|    arg_ty _res = NULL;
 5767|  13.9k|    int _mark = p->mark;
 5768|  13.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5768:9): [True: 568, False: 13.4k]
  |  Branch (5768:31): [True: 0, False: 568]
  ------------------
 5769|      0|        p->error_indicator = 1;
 5770|      0|        p->level--;
 5771|      0|        return NULL;
 5772|      0|    }
 5773|  13.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 5774|  13.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 5775|  13.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5776|  13.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 5777|  13.9k|    { // NAME annotation?
 5778|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5778:13): [True: 0, False: 13.9k]
  ------------------
 5779|      0|            p->level--;
 5780|      0|            return NULL;
 5781|      0|        }
 5782|  13.9k|        D(fprintf(stderr, "%*c> param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5783|  13.9k|        expr_ty a;
 5784|  13.9k|        void *b;
 5785|  13.9k|        if (
 5786|  13.9k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5786:13): [True: 6.91k, False: 7.06k]
  ------------------
 5787|  6.91k|            &&
 5788|  6.91k|            (b = annotation_rule(p), !p->error_indicator)  // annotation?
  ------------------
  |  Branch (5788:13): [True: 6.91k, False: 0]
  ------------------
 5789|  13.9k|        )
 5790|  6.91k|        {
 5791|  6.91k|            D(fprintf(stderr, "%*c+ param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5792|  6.91k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5793|  6.91k|            if (_token == NULL) {
  ------------------
  |  Branch (5793:17): [True: 0, False: 6.91k]
  ------------------
 5794|      0|                p->level--;
 5795|      0|                return NULL;
 5796|      0|            }
 5797|  6.91k|            int _end_lineno = _token->end_lineno;
 5798|  6.91k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 5799|  6.91k|            int _end_col_offset = _token->end_col_offset;
 5800|  6.91k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 5801|  6.91k|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  269|  6.91k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5802|  6.91k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5802:18): [True: 0, False: 6.91k]
  |  Branch (5802:34): [True: 0, False: 6.91k]
  |  Branch (5802:57): [True: 0, False: 0]
  ------------------
 5803|      0|                p->error_indicator = 1;
 5804|      0|                p->level--;
 5805|      0|                return NULL;
 5806|      0|            }
 5807|  6.91k|            goto done;
 5808|  6.91k|        }
 5809|  7.06k|        p->mark = _mark;
 5810|  7.06k|        D(fprintf(stderr, "%*c%s param[%d-%d]: %s failed!\n", p->level, ' ',
 5811|  7.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME annotation?"));
 5812|  7.06k|    }
 5813|  7.06k|    _res = NULL;
 5814|  13.9k|  done:
 5815|  13.9k|    p->level--;
 5816|  13.9k|    return _res;
 5817|  7.06k|}
parser.c:annotation_rule:
 5886|  6.91k|{
 5887|  6.91k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  13.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5887:9): [True: 0, False: 6.91k]
  |  Branch (5887:35): [True: 0, False: 6.91k]
  ------------------
 5888|      0|        _Pypegen_stack_overflow(p);
 5889|      0|    }
 5890|  6.91k|    if (p->error_indicator) {
  ------------------
  |  Branch (5890:9): [True: 0, False: 6.91k]
  ------------------
 5891|      0|        p->level--;
 5892|      0|        return NULL;
 5893|      0|    }
 5894|  6.91k|    expr_ty _res = NULL;
 5895|  6.91k|    int _mark = p->mark;
 5896|  6.91k|    { // ':' expression
 5897|  6.91k|        if (p->error_indicator) {
  ------------------
  |  Branch (5897:13): [True: 0, False: 6.91k]
  ------------------
 5898|      0|            p->level--;
 5899|      0|            return NULL;
 5900|      0|        }
 5901|  6.91k|        D(fprintf(stderr, "%*c> annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5902|  6.91k|        Token * _literal;
 5903|  6.91k|        expr_ty a;
 5904|  6.91k|        if (
 5905|  6.91k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5905:13): [True: 64, False: 6.85k]
  ------------------
 5906|     64|            &&
 5907|     64|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (5907:13): [True: 64, False: 0]
  ------------------
 5908|  6.91k|        )
 5909|     64|        {
 5910|     64|            D(fprintf(stderr, "%*c+ annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5911|     64|            _res = a;
 5912|     64|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5912:18): [True: 0, False: 64]
  |  Branch (5912:34): [True: 0, False: 64]
  |  Branch (5912:57): [True: 0, False: 0]
  ------------------
 5913|      0|                p->error_indicator = 1;
 5914|      0|                p->level--;
 5915|      0|                return NULL;
 5916|      0|            }
 5917|     64|            goto done;
 5918|     64|        }
 5919|  6.85k|        p->mark = _mark;
 5920|  6.85k|        D(fprintf(stderr, "%*c%s annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5921|  6.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
 5922|  6.85k|    }
 5923|  6.85k|    _res = NULL;
 5924|  6.91k|  done:
 5925|  6.91k|    p->level--;
 5926|  6.91k|    return _res;
 5927|  6.85k|}
parser.c:_loop0_31_rule:
30289|      6|{
30290|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (30290:9): [True: 0, False: 6]
  |  Branch (30290:35): [True: 0, False: 6]
  ------------------
30291|      0|        _Pypegen_stack_overflow(p);
30292|      0|    }
30293|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (30293:9): [True: 0, False: 6]
  ------------------
30294|      0|        p->level--;
30295|      0|        return NULL;
30296|      0|    }
30297|      6|    void *_res = NULL;
30298|      6|    int _mark = p->mark;
30299|      6|    void **_children = PyMem_Malloc(sizeof(void *));
30300|      6|    if (!_children) {
  ------------------
  |  Branch (30300:9): [True: 0, False: 6]
  ------------------
30301|      0|        p->error_indicator = 1;
30302|      0|        PyErr_NoMemory();
30303|      0|        p->level--;
30304|      0|        return NULL;
30305|      0|    }
30306|      6|    Py_ssize_t _children_capacity = 1;
30307|      6|    Py_ssize_t _n = 0;
30308|      6|    { // param_maybe_default
30309|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (30309:13): [True: 0, False: 6]
  ------------------
30310|      0|            p->level--;
30311|      0|            return NULL;
30312|      0|        }
30313|      6|        D(fprintf(stderr, "%*c> _loop0_31[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30314|      6|        NameDefaultPair* param_maybe_default_var;
30315|      6|        while (
30316|      6|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30316:13): [True: 0, False: 6]
  ------------------
30317|      6|        )
30318|      0|        {
30319|      0|            _res = param_maybe_default_var;
30320|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30320:17): [True: 0, False: 0]
  ------------------
30321|      0|                _children_capacity *= 2;
30322|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30323|      0|                if (!_new_children) {
  ------------------
  |  Branch (30323:21): [True: 0, False: 0]
  ------------------
30324|      0|                    PyMem_Free(_children);
30325|      0|                    p->error_indicator = 1;
30326|      0|                    PyErr_NoMemory();
30327|      0|                    p->level--;
30328|      0|                    return NULL;
30329|      0|                }
30330|      0|                _children = _new_children;
30331|      0|            }
30332|      0|            _children[_n++] = _res;
30333|      0|            _mark = p->mark;
30334|      0|        }
30335|      6|        p->mark = _mark;
30336|      6|        D(fprintf(stderr, "%*c%s _loop0_31[%d-%d]: %s failed!\n", p->level, ' ',
30337|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30338|      6|    }
30339|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30340|      6|    if (!_seq) {
  ------------------
  |  Branch (30340:9): [True: 0, False: 6]
  ------------------
30341|      0|        PyMem_Free(_children);
30342|      0|        p->error_indicator = 1;
30343|      0|        PyErr_NoMemory();
30344|      0|        p->level--;
30345|      0|        return NULL;
30346|      0|    }
30347|      6|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30347:28): [True: 0, False: 6]
  ------------------
30348|      6|    PyMem_Free(_children);
30349|      6|    p->level--;
30350|      6|    return _seq;
30351|      6|}
parser.c:param_maybe_default_rule:
 5674|    198|{
 5675|    198|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    396|#  define MAXSTACK 6000
  ------------------
  |  Branch (5675:9): [True: 0, False: 198]
  |  Branch (5675:35): [True: 0, False: 198]
  ------------------
 5676|      0|        _Pypegen_stack_overflow(p);
 5677|      0|    }
 5678|    198|    if (p->error_indicator) {
  ------------------
  |  Branch (5678:9): [True: 0, False: 198]
  ------------------
 5679|      0|        p->level--;
 5680|      0|        return NULL;
 5681|      0|    }
 5682|    198|    NameDefaultPair* _res = NULL;
 5683|    198|    int _mark = p->mark;
 5684|    198|    { // param default? ',' TYPE_COMMENT?
 5685|    198|        if (p->error_indicator) {
  ------------------
  |  Branch (5685:13): [True: 0, False: 198]
  ------------------
 5686|      0|            p->level--;
 5687|      0|            return NULL;
 5688|      0|        }
 5689|    198|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5690|    198|        Token * _literal;
 5691|    198|        arg_ty a;
 5692|    198|        void *c;
 5693|    198|        void *tc;
 5694|    198|        if (
 5695|    198|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5695:13): [True: 140, False: 58]
  ------------------
 5696|    140|            &&
 5697|    140|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5697:13): [True: 140, False: 0]
  ------------------
 5698|    140|            &&
 5699|    140|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5699:13): [True: 88, False: 52]
  ------------------
 5700|     88|            &&
 5701|     88|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     88|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5701:13): [True: 88, False: 0]
  ------------------
 5702|    198|        )
 5703|     88|        {
 5704|     88|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5705|     88|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5706|     88|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5706:18): [True: 0, False: 88]
  |  Branch (5706:34): [True: 0, False: 88]
  |  Branch (5706:57): [True: 0, False: 0]
  ------------------
 5707|      0|                p->error_indicator = 1;
 5708|      0|                p->level--;
 5709|      0|                return NULL;
 5710|      0|            }
 5711|     88|            goto done;
 5712|     88|        }
 5713|    110|        p->mark = _mark;
 5714|    110|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5715|    110|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5716|    110|    }
 5717|      0|    { // param default? TYPE_COMMENT? &')'
 5718|    110|        if (p->error_indicator) {
  ------------------
  |  Branch (5718:13): [True: 0, False: 110]
  ------------------
 5719|      0|            p->level--;
 5720|      0|            return NULL;
 5721|      0|        }
 5722|    110|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5723|    110|        arg_ty a;
 5724|    110|        void *c;
 5725|    110|        void *tc;
 5726|    110|        if (
 5727|    110|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5727:13): [True: 52, False: 58]
  ------------------
 5728|     52|            &&
 5729|     52|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5729:13): [True: 52, False: 0]
  ------------------
 5730|     52|            &&
 5731|     52|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     52|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5731:13): [True: 52, False: 0]
  ------------------
 5732|     52|            &&
 5733|     52|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5733:13): [True: 52, False: 0]
  ------------------
 5734|    110|        )
 5735|     52|        {
 5736|     52|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5737|     52|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5738|     52|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5738:18): [True: 0, False: 52]
  |  Branch (5738:34): [True: 0, False: 52]
  |  Branch (5738:57): [True: 0, False: 0]
  ------------------
 5739|      0|                p->error_indicator = 1;
 5740|      0|                p->level--;
 5741|      0|                return NULL;
 5742|      0|            }
 5743|     52|            goto done;
 5744|     52|        }
 5745|     58|        p->mark = _mark;
 5746|     58|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5747|     58|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5748|     58|    }
 5749|     58|    _res = NULL;
 5750|    198|  done:
 5751|    198|    p->level--;
 5752|    198|    return _res;
 5753|     58|}
parser.c:slash_no_default_rule:
 5035|    450|{
 5036|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (5036:9): [True: 0, False: 450]
  |  Branch (5036:35): [True: 0, False: 450]
  ------------------
 5037|      0|        _Pypegen_stack_overflow(p);
 5038|      0|    }
 5039|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (5039:9): [True: 0, False: 450]
  ------------------
 5040|      0|        p->level--;
 5041|      0|        return NULL;
 5042|      0|    }
 5043|    450|    asdl_arg_seq* _res = NULL;
 5044|    450|    int _mark = p->mark;
 5045|    450|    { // param_no_default+ '/' ','
 5046|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (5046:13): [True: 0, False: 450]
  ------------------
 5047|      0|            p->level--;
 5048|      0|            return NULL;
 5049|      0|        }
 5050|    450|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5051|    450|        Token * _literal;
 5052|    450|        Token * _literal_1;
 5053|    450|        asdl_arg_seq* a;
 5054|    450|        if (
 5055|    450|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5055:13): [True: 388, False: 62]
  ------------------
 5056|    388|            &&
 5057|    388|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5057:13): [True: 4, False: 384]
  ------------------
 5058|      4|            &&
 5059|      4|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5059:13): [True: 4, False: 0]
  ------------------
 5060|    450|        )
 5061|      4|        {
 5062|      4|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5063|      4|            _res = a;
 5064|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5064:18): [True: 0, False: 4]
  |  Branch (5064:34): [True: 0, False: 4]
  |  Branch (5064:57): [True: 0, False: 0]
  ------------------
 5065|      0|                p->error_indicator = 1;
 5066|      0|                p->level--;
 5067|      0|                return NULL;
 5068|      0|            }
 5069|      4|            goto done;
 5070|      4|        }
 5071|    446|        p->mark = _mark;
 5072|    446|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5073|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' ','"));
 5074|    446|    }
 5075|      0|    { // param_no_default+ '/' &')'
 5076|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (5076:13): [True: 0, False: 446]
  ------------------
 5077|      0|            p->level--;
 5078|      0|            return NULL;
 5079|      0|        }
 5080|    446|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5081|    446|        Token * _literal;
 5082|    446|        asdl_arg_seq* a;
 5083|    446|        if (
 5084|    446|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5084:13): [True: 384, False: 62]
  ------------------
 5085|    384|            &&
 5086|    384|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5086:13): [True: 0, False: 384]
  ------------------
 5087|      0|            &&
 5088|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5088:13): [True: 0, False: 0]
  ------------------
 5089|    446|        )
 5090|      0|        {
 5091|      0|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5092|      0|            _res = a;
 5093|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5093:18): [True: 0, False: 0]
  |  Branch (5093:34): [True: 0, False: 0]
  |  Branch (5093:57): [True: 0, False: 0]
  ------------------
 5094|      0|                p->error_indicator = 1;
 5095|      0|                p->level--;
 5096|      0|                return NULL;
 5097|      0|            }
 5098|      0|            goto done;
 5099|      0|        }
 5100|    446|        p->mark = _mark;
 5101|    446|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5102|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' &')'"));
 5103|    446|    }
 5104|    446|    _res = NULL;
 5105|    450|  done:
 5106|    450|    p->level--;
 5107|    450|    return _res;
 5108|    446|}
parser.c:_loop0_27_rule:
30011|    896|{
30012|    896|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.79k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30012:9): [True: 0, False: 896]
  |  Branch (30012:35): [True: 0, False: 896]
  ------------------
30013|      0|        _Pypegen_stack_overflow(p);
30014|      0|    }
30015|    896|    if (p->error_indicator) {
  ------------------
  |  Branch (30015:9): [True: 0, False: 896]
  ------------------
30016|      0|        p->level--;
30017|      0|        return NULL;
30018|      0|    }
30019|    896|    void *_res = NULL;
30020|    896|    int _mark = p->mark;
30021|    896|    void **_children = PyMem_Malloc(sizeof(void *));
30022|    896|    if (!_children) {
  ------------------
  |  Branch (30022:9): [True: 0, False: 896]
  ------------------
30023|      0|        p->error_indicator = 1;
30024|      0|        PyErr_NoMemory();
30025|      0|        p->level--;
30026|      0|        return NULL;
30027|      0|    }
30028|    896|    Py_ssize_t _children_capacity = 1;
30029|    896|    Py_ssize_t _n = 0;
30030|    896|    { // param_no_default
30031|    896|        if (p->error_indicator) {
  ------------------
  |  Branch (30031:13): [True: 0, False: 896]
  ------------------
30032|      0|            p->level--;
30033|      0|            return NULL;
30034|      0|        }
30035|    896|        D(fprintf(stderr, "%*c> _loop0_27[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30036|    896|        arg_ty param_no_default_var;
30037|    896|        while (
30038|  2.62k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30038:13): [True: 1.72k, False: 896]
  ------------------
30039|    896|        )
30040|  1.72k|        {
30041|  1.72k|            _res = param_no_default_var;
30042|  1.72k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30042:17): [True: 700, False: 1.02k]
  ------------------
30043|    700|                _children_capacity *= 2;
30044|    700|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30045|    700|                if (!_new_children) {
  ------------------
  |  Branch (30045:21): [True: 0, False: 700]
  ------------------
30046|      0|                    PyMem_Free(_children);
30047|      0|                    p->error_indicator = 1;
30048|      0|                    PyErr_NoMemory();
30049|      0|                    p->level--;
30050|      0|                    return NULL;
30051|      0|                }
30052|    700|                _children = _new_children;
30053|    700|            }
30054|  1.72k|            _children[_n++] = _res;
30055|  1.72k|            _mark = p->mark;
30056|  1.72k|        }
30057|    896|        p->mark = _mark;
30058|    896|        D(fprintf(stderr, "%*c%s _loop0_27[%d-%d]: %s failed!\n", p->level, ' ',
30059|    896|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30060|    896|    }
30061|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30062|    896|    if (!_seq) {
  ------------------
  |  Branch (30062:9): [True: 0, False: 896]
  ------------------
30063|      0|        PyMem_Free(_children);
30064|      0|        p->error_indicator = 1;
30065|      0|        PyErr_NoMemory();
30066|      0|        p->level--;
30067|      0|        return NULL;
30068|      0|    }
30069|  2.62k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.72k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30069:28): [True: 1.72k, False: 896]
  ------------------
30070|    896|    PyMem_Free(_children);
30071|    896|    p->level--;
30072|    896|    return _seq;
30073|    896|}
parser.c:param_no_default_rule:
 5430|  6.62k|{
 5431|  6.62k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  13.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5431:9): [True: 0, False: 6.62k]
  |  Branch (5431:35): [True: 0, False: 6.62k]
  ------------------
 5432|      0|        _Pypegen_stack_overflow(p);
 5433|      0|    }
 5434|  6.62k|    if (p->error_indicator) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 6.62k]
  ------------------
 5435|      0|        p->level--;
 5436|      0|        return NULL;
 5437|      0|    }
 5438|  6.62k|    arg_ty _res = NULL;
 5439|  6.62k|    int _mark = p->mark;
 5440|  6.62k|    { // param ',' TYPE_COMMENT?
 5441|  6.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (5441:13): [True: 0, False: 6.62k]
  ------------------
 5442|      0|            p->level--;
 5443|      0|            return NULL;
 5444|      0|        }
 5445|  6.62k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5446|  6.62k|        Token * _literal;
 5447|  6.62k|        arg_ty a;
 5448|  6.62k|        void *tc;
 5449|  6.62k|        if (
 5450|  6.62k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5450:13): [True: 4.49k, False: 2.13k]
  ------------------
 5451|  4.49k|            &&
 5452|  4.49k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5452:13): [True: 2.54k, False: 1.94k]
  ------------------
 5453|  2.54k|            &&
 5454|  2.54k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  2.54k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5454:13): [True: 2.54k, False: 0]
  ------------------
 5455|  6.62k|        )
 5456|  2.54k|        {
 5457|  2.54k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5458|  2.54k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5459|  2.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5459:18): [True: 0, False: 2.54k]
  |  Branch (5459:34): [True: 0, False: 2.54k]
  |  Branch (5459:57): [True: 0, False: 0]
  ------------------
 5460|      0|                p->error_indicator = 1;
 5461|      0|                p->level--;
 5462|      0|                return NULL;
 5463|      0|            }
 5464|  2.54k|            goto done;
 5465|  2.54k|        }
 5466|  4.07k|        p->mark = _mark;
 5467|  4.07k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5468|  4.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5469|  4.07k|    }
 5470|      0|    { // param TYPE_COMMENT? &')'
 5471|  4.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (5471:13): [True: 0, False: 4.07k]
  ------------------
 5472|      0|            p->level--;
 5473|      0|            return NULL;
 5474|      0|        }
 5475|  4.07k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5476|  4.07k|        arg_ty a;
 5477|  4.07k|        void *tc;
 5478|  4.07k|        if (
 5479|  4.07k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5479:13): [True: 1.94k, False: 2.13k]
  ------------------
 5480|  1.94k|            &&
 5481|  1.94k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.94k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5481:13): [True: 1.94k, False: 0]
  ------------------
 5482|  1.94k|            &&
 5483|  1.94k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5483:13): [True: 1.78k, False: 160]
  ------------------
 5484|  4.07k|        )
 5485|  1.78k|        {
 5486|  1.78k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5487|  1.78k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5488|  1.78k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5488:18): [True: 0, False: 1.78k]
  |  Branch (5488:34): [True: 0, False: 1.78k]
  |  Branch (5488:57): [True: 0, False: 0]
  ------------------
 5489|      0|                p->error_indicator = 1;
 5490|      0|                p->level--;
 5491|      0|                return NULL;
 5492|      0|            }
 5493|  1.78k|            goto done;
 5494|  1.78k|        }
 5495|  2.29k|        p->mark = _mark;
 5496|  2.29k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5497|  2.29k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5498|  2.29k|    }
 5499|  2.29k|    _res = NULL;
 5500|  6.62k|  done:
 5501|  6.62k|    p->level--;
 5502|  6.62k|    return _res;
 5503|  2.29k|}
parser.c:_loop1_29_rule:
30145|  1.34k|{
30146|  1.34k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.68k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30146:9): [True: 0, False: 1.34k]
  |  Branch (30146:35): [True: 0, False: 1.34k]
  ------------------
30147|      0|        _Pypegen_stack_overflow(p);
30148|      0|    }
30149|  1.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (30149:9): [True: 0, False: 1.34k]
  ------------------
30150|      0|        p->level--;
30151|      0|        return NULL;
30152|      0|    }
30153|  1.34k|    void *_res = NULL;
30154|  1.34k|    int _mark = p->mark;
30155|  1.34k|    void **_children = PyMem_Malloc(sizeof(void *));
30156|  1.34k|    if (!_children) {
  ------------------
  |  Branch (30156:9): [True: 0, False: 1.34k]
  ------------------
30157|      0|        p->error_indicator = 1;
30158|      0|        PyErr_NoMemory();
30159|      0|        p->level--;
30160|      0|        return NULL;
30161|      0|    }
30162|  1.34k|    Py_ssize_t _children_capacity = 1;
30163|  1.34k|    Py_ssize_t _n = 0;
30164|  1.34k|    { // param_no_default
30165|  1.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (30165:13): [True: 0, False: 1.34k]
  ------------------
30166|      0|            p->level--;
30167|      0|            return NULL;
30168|      0|        }
30169|  1.34k|        D(fprintf(stderr, "%*c> _loop1_29[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30170|  1.34k|        arg_ty param_no_default_var;
30171|  1.34k|        while (
30172|  3.93k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30172:13): [True: 2.59k, False: 1.34k]
  ------------------
30173|  1.34k|        )
30174|  2.59k|        {
30175|  2.59k|            _res = param_no_default_var;
30176|  2.59k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30176:17): [True: 1.05k, False: 1.54k]
  ------------------
30177|  1.05k|                _children_capacity *= 2;
30178|  1.05k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30179|  1.05k|                if (!_new_children) {
  ------------------
  |  Branch (30179:21): [True: 0, False: 1.05k]
  ------------------
30180|      0|                    PyMem_Free(_children);
30181|      0|                    p->error_indicator = 1;
30182|      0|                    PyErr_NoMemory();
30183|      0|                    p->level--;
30184|      0|                    return NULL;
30185|      0|                }
30186|  1.05k|                _children = _new_children;
30187|  1.05k|            }
30188|  2.59k|            _children[_n++] = _res;
30189|  2.59k|            _mark = p->mark;
30190|  2.59k|        }
30191|  1.34k|        p->mark = _mark;
30192|  1.34k|        D(fprintf(stderr, "%*c%s _loop1_29[%d-%d]: %s failed!\n", p->level, ' ',
30193|  1.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30194|  1.34k|    }
30195|  1.34k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30195:9): [True: 186, False: 1.15k]
  |  Branch (30195:20): [True: 0, False: 1.15k]
  ------------------
30196|    186|        PyMem_Free(_children);
30197|    186|        p->level--;
30198|    186|        return NULL;
30199|    186|    }
30200|  1.15k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30201|  1.15k|    if (!_seq) {
  ------------------
  |  Branch (30201:9): [True: 0, False: 1.15k]
  ------------------
30202|      0|        PyMem_Free(_children);
30203|      0|        p->error_indicator = 1;
30204|      0|        PyErr_NoMemory();
30205|      0|        p->level--;
30206|      0|        return NULL;
30207|      0|    }
30208|  3.75k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.59k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30208:28): [True: 2.59k, False: 1.15k]
  ------------------
30209|  1.15k|    PyMem_Free(_children);
30210|  1.15k|    p->level--;
30211|  1.15k|    return _seq;
30212|  1.15k|}
parser.c:_loop1_32_rule:
30356|     52|{
30357|     52|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    104|#  define MAXSTACK 6000
  ------------------
  |  Branch (30357:9): [True: 0, False: 52]
  |  Branch (30357:35): [True: 0, False: 52]
  ------------------
30358|      0|        _Pypegen_stack_overflow(p);
30359|      0|    }
30360|     52|    if (p->error_indicator) {
  ------------------
  |  Branch (30360:9): [True: 0, False: 52]
  ------------------
30361|      0|        p->level--;
30362|      0|        return NULL;
30363|      0|    }
30364|     52|    void *_res = NULL;
30365|     52|    int _mark = p->mark;
30366|     52|    void **_children = PyMem_Malloc(sizeof(void *));
30367|     52|    if (!_children) {
  ------------------
  |  Branch (30367:9): [True: 0, False: 52]
  ------------------
30368|      0|        p->error_indicator = 1;
30369|      0|        PyErr_NoMemory();
30370|      0|        p->level--;
30371|      0|        return NULL;
30372|      0|    }
30373|     52|    Py_ssize_t _children_capacity = 1;
30374|     52|    Py_ssize_t _n = 0;
30375|     52|    { // param_maybe_default
30376|     52|        if (p->error_indicator) {
  ------------------
  |  Branch (30376:13): [True: 0, False: 52]
  ------------------
30377|      0|            p->level--;
30378|      0|            return NULL;
30379|      0|        }
30380|     52|        D(fprintf(stderr, "%*c> _loop1_32[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30381|     52|        NameDefaultPair* param_maybe_default_var;
30382|     52|        while (
30383|    192|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30383:13): [True: 140, False: 52]
  ------------------
30384|     52|        )
30385|    140|        {
30386|    140|            _res = param_maybe_default_var;
30387|    140|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30387:17): [True: 64, False: 76]
  ------------------
30388|     64|                _children_capacity *= 2;
30389|     64|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30390|     64|                if (!_new_children) {
  ------------------
  |  Branch (30390:21): [True: 0, False: 64]
  ------------------
30391|      0|                    PyMem_Free(_children);
30392|      0|                    p->error_indicator = 1;
30393|      0|                    PyErr_NoMemory();
30394|      0|                    p->level--;
30395|      0|                    return NULL;
30396|      0|                }
30397|     64|                _children = _new_children;
30398|     64|            }
30399|    140|            _children[_n++] = _res;
30400|    140|            _mark = p->mark;
30401|    140|        }
30402|     52|        p->mark = _mark;
30403|     52|        D(fprintf(stderr, "%*c%s _loop1_32[%d-%d]: %s failed!\n", p->level, ' ',
30404|     52|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30405|     52|    }
30406|     52|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30406:9): [True: 0, False: 52]
  |  Branch (30406:20): [True: 0, False: 52]
  ------------------
30407|      0|        PyMem_Free(_children);
30408|      0|        p->level--;
30409|      0|        return NULL;
30410|      0|    }
30411|     52|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30412|     52|    if (!_seq) {
  ------------------
  |  Branch (30412:9): [True: 0, False: 52]
  ------------------
30413|      0|        PyMem_Free(_children);
30414|      0|        p->error_indicator = 1;
30415|      0|        PyErr_NoMemory();
30416|      0|        p->level--;
30417|      0|        return NULL;
30418|      0|    }
30419|    192|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    140|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    192|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30419:28): [True: 140, False: 52]
  ------------------
30420|     52|    PyMem_Free(_children);
30421|     52|    p->level--;
30422|     52|    return _seq;
30423|     52|}
parser.c:parameters_rule:
 4872|    450|{
 4873|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (4873:9): [True: 0, False: 450]
  |  Branch (4873:35): [True: 0, False: 450]
  ------------------
 4874|      0|        _Pypegen_stack_overflow(p);
 4875|      0|    }
 4876|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (4876:9): [True: 0, False: 450]
  ------------------
 4877|      0|        p->level--;
 4878|      0|        return NULL;
 4879|      0|    }
 4880|    450|    arguments_ty _res = NULL;
 4881|    450|    int _mark = p->mark;
 4882|    450|    { // slash_no_default param_no_default* param_with_default* star_etc?
 4883|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (4883:13): [True: 0, False: 450]
  ------------------
 4884|      0|            p->level--;
 4885|      0|            return NULL;
 4886|      0|        }
 4887|    450|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4888|    450|        asdl_arg_seq* a;
 4889|    450|        asdl_arg_seq* b;
 4890|    450|        asdl_seq * c;
 4891|    450|        void *d;
 4892|    450|        if (
 4893|    450|            (a = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  Branch (4893:13): [True: 4, False: 446]
  ------------------
 4894|      4|            &&
 4895|      4|            (b = (asdl_arg_seq*)_loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (4895:13): [True: 4, False: 0]
  ------------------
 4896|      4|            &&
 4897|      4|            (c = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4897:13): [True: 4, False: 0]
  ------------------
 4898|      4|            &&
 4899|      4|            (d = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4899:13): [True: 4, False: 0]
  ------------------
 4900|    450|        )
 4901|      4|        {
 4902|      4|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4903|      4|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  307|      4|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4904|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4904:18): [True: 0, False: 4]
  |  Branch (4904:34): [True: 0, False: 4]
  |  Branch (4904:57): [True: 0, False: 0]
  ------------------
 4905|      0|                p->error_indicator = 1;
 4906|      0|                p->level--;
 4907|      0|                return NULL;
 4908|      0|            }
 4909|      4|            goto done;
 4910|      4|        }
 4911|    446|        p->mark = _mark;
 4912|    446|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4913|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4914|    446|    }
 4915|      0|    { // slash_with_default param_with_default* star_etc?
 4916|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (4916:13): [True: 0, False: 446]
  ------------------
 4917|      0|            p->level--;
 4918|      0|            return NULL;
 4919|      0|        }
 4920|    446|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4921|    446|        SlashWithDefault* a;
 4922|    446|        asdl_seq * b;
 4923|    446|        void *c;
 4924|    446|        if (
 4925|    446|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  Branch (4925:13): [True: 0, False: 446]
  ------------------
 4926|      0|            &&
 4927|      0|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4927:13): [True: 0, False: 0]
  ------------------
 4928|      0|            &&
 4929|      0|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4929:13): [True: 0, False: 0]
  ------------------
 4930|    446|        )
 4931|      0|        {
 4932|      0|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4933|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4934|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4934:18): [True: 0, False: 0]
  |  Branch (4934:34): [True: 0, False: 0]
  |  Branch (4934:57): [True: 0, False: 0]
  ------------------
 4935|      0|                p->error_indicator = 1;
 4936|      0|                p->level--;
 4937|      0|                return NULL;
 4938|      0|            }
 4939|      0|            goto done;
 4940|      0|        }
 4941|    446|        p->mark = _mark;
 4942|    446|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4943|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4944|    446|    }
 4945|      0|    { // param_no_default+ param_with_default* star_etc?
 4946|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (4946:13): [True: 0, False: 446]
  ------------------
 4947|      0|            p->level--;
 4948|      0|            return NULL;
 4949|      0|        }
 4950|    446|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4951|    446|        asdl_arg_seq* a;
 4952|    446|        asdl_seq * b;
 4953|    446|        void *c;
 4954|    446|        if (
 4955|    446|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (4955:13): [True: 384, False: 62]
  ------------------
 4956|    384|            &&
 4957|    384|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4957:13): [True: 384, False: 0]
  ------------------
 4958|    384|            &&
 4959|    384|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4959:13): [True: 384, False: 0]
  ------------------
 4960|    446|        )
 4961|    384|        {
 4962|    384|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4963|    384|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
 4964|    384|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4964:18): [True: 0, False: 384]
  |  Branch (4964:34): [True: 0, False: 384]
  |  Branch (4964:57): [True: 0, False: 0]
  ------------------
 4965|      0|                p->error_indicator = 1;
 4966|      0|                p->level--;
 4967|      0|                return NULL;
 4968|      0|            }
 4969|    384|            goto done;
 4970|    384|        }
 4971|     62|        p->mark = _mark;
 4972|     62|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4973|     62|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4974|     62|    }
 4975|      0|    { // param_with_default+ star_etc?
 4976|     62|        if (p->error_indicator) {
  ------------------
  |  Branch (4976:13): [True: 0, False: 62]
  ------------------
 4977|      0|            p->level--;
 4978|      0|            return NULL;
 4979|      0|        }
 4980|     62|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 4981|     62|        asdl_seq * a;
 4982|     62|        void *b;
 4983|     62|        if (
 4984|     62|            (a = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (4984:13): [True: 18, False: 44]
  ------------------
 4985|     18|            &&
 4986|     18|            (b = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4986:13): [True: 18, False: 0]
  ------------------
 4987|     62|        )
 4988|     18|        {
 4989|     18|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 4990|     18|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
 4991|     18|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4991:18): [True: 0, False: 18]
  |  Branch (4991:34): [True: 0, False: 18]
  |  Branch (4991:57): [True: 0, False: 0]
  ------------------
 4992|      0|                p->error_indicator = 1;
 4993|      0|                p->level--;
 4994|      0|                return NULL;
 4995|      0|            }
 4996|     18|            goto done;
 4997|     18|        }
 4998|     44|        p->mark = _mark;
 4999|     44|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5000|     44|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+ star_etc?"));
 5001|     44|    }
 5002|      0|    { // star_etc
 5003|     44|        if (p->error_indicator) {
  ------------------
  |  Branch (5003:13): [True: 0, False: 44]
  ------------------
 5004|      0|            p->level--;
 5005|      0|            return NULL;
 5006|      0|        }
 5007|     44|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5008|     44|        StarEtc* a;
 5009|     44|        if (
 5010|     44|            (a = star_etc_rule(p))  // star_etc
  ------------------
  |  Branch (5010:13): [True: 28, False: 16]
  ------------------
 5011|     44|        )
 5012|     28|        {
 5013|     28|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5014|     28|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
 5015|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5015:18): [True: 0, False: 28]
  |  Branch (5015:34): [True: 0, False: 28]
  |  Branch (5015:57): [True: 0, False: 0]
  ------------------
 5016|      0|                p->error_indicator = 1;
 5017|      0|                p->level--;
 5018|      0|                return NULL;
 5019|      0|            }
 5020|     28|            goto done;
 5021|     28|        }
 5022|     16|        p->mark = _mark;
 5023|     16|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5024|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_etc"));
 5025|     16|    }
 5026|     16|    _res = NULL;
 5027|    450|  done:
 5028|    450|    p->level--;
 5029|    450|    return _res;
 5030|     16|}
parser.c:_loop0_28_rule:
30078|    388|{
30079|    388|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    776|#  define MAXSTACK 6000
  ------------------
  |  Branch (30079:9): [True: 0, False: 388]
  |  Branch (30079:35): [True: 0, False: 388]
  ------------------
30080|      0|        _Pypegen_stack_overflow(p);
30081|      0|    }
30082|    388|    if (p->error_indicator) {
  ------------------
  |  Branch (30082:9): [True: 0, False: 388]
  ------------------
30083|      0|        p->level--;
30084|      0|        return NULL;
30085|      0|    }
30086|    388|    void *_res = NULL;
30087|    388|    int _mark = p->mark;
30088|    388|    void **_children = PyMem_Malloc(sizeof(void *));
30089|    388|    if (!_children) {
  ------------------
  |  Branch (30089:9): [True: 0, False: 388]
  ------------------
30090|      0|        p->error_indicator = 1;
30091|      0|        PyErr_NoMemory();
30092|      0|        p->level--;
30093|      0|        return NULL;
30094|      0|    }
30095|    388|    Py_ssize_t _children_capacity = 1;
30096|    388|    Py_ssize_t _n = 0;
30097|    388|    { // param_with_default
30098|    388|        if (p->error_indicator) {
  ------------------
  |  Branch (30098:13): [True: 0, False: 388]
  ------------------
30099|      0|            p->level--;
30100|      0|            return NULL;
30101|      0|        }
30102|    388|        D(fprintf(stderr, "%*c> _loop0_28[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30103|    388|        NameDefaultPair* param_with_default_var;
30104|    388|        while (
30105|    428|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30105:13): [True: 40, False: 388]
  ------------------
30106|    388|        )
30107|     40|        {
30108|     40|            _res = param_with_default_var;
30109|     40|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30109:17): [True: 18, False: 22]
  ------------------
30110|     18|                _children_capacity *= 2;
30111|     18|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30112|     18|                if (!_new_children) {
  ------------------
  |  Branch (30112:21): [True: 0, False: 18]
  ------------------
30113|      0|                    PyMem_Free(_children);
30114|      0|                    p->error_indicator = 1;
30115|      0|                    PyErr_NoMemory();
30116|      0|                    p->level--;
30117|      0|                    return NULL;
30118|      0|                }
30119|     18|                _children = _new_children;
30120|     18|            }
30121|     40|            _children[_n++] = _res;
30122|     40|            _mark = p->mark;
30123|     40|        }
30124|    388|        p->mark = _mark;
30125|    388|        D(fprintf(stderr, "%*c%s _loop0_28[%d-%d]: %s failed!\n", p->level, ' ',
30126|    388|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30127|    388|    }
30128|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30129|    388|    if (!_seq) {
  ------------------
  |  Branch (30129:9): [True: 0, False: 388]
  ------------------
30130|      0|        PyMem_Free(_children);
30131|      0|        p->error_indicator = 1;
30132|      0|        PyErr_NoMemory();
30133|      0|        p->level--;
30134|      0|        return NULL;
30135|      0|    }
30136|    428|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     40|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    428|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30136:28): [True: 40, False: 388]
  ------------------
30137|    388|    PyMem_Free(_children);
30138|    388|    p->level--;
30139|    388|    return _seq;
30140|    388|}
parser.c:star_etc_rule:
 5204|    450|{
 5205|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (5205:9): [True: 0, False: 450]
  |  Branch (5205:35): [True: 0, False: 450]
  ------------------
 5206|      0|        _Pypegen_stack_overflow(p);
 5207|      0|    }
 5208|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (5208:9): [True: 0, False: 450]
  ------------------
 5209|      0|        p->level--;
 5210|      0|        return NULL;
 5211|      0|    }
 5212|    450|    StarEtc* _res = NULL;
 5213|    450|    int _mark = p->mark;
 5214|    450|    if (p->call_invalid_rules) { // invalid_star_etc
  ------------------
  |  Branch (5214:9): [True: 0, False: 450]
  ------------------
 5215|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (5215:13): [True: 0, False: 0]
  ------------------
 5216|      0|            p->level--;
 5217|      0|            return NULL;
 5218|      0|        }
 5219|      0|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5220|      0|        void *invalid_star_etc_var;
 5221|      0|        if (
 5222|      0|            (invalid_star_etc_var = invalid_star_etc_rule(p))  // invalid_star_etc
  ------------------
  |  Branch (5222:13): [True: 0, False: 0]
  ------------------
 5223|      0|        )
 5224|      0|        {
 5225|      0|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5226|      0|            _res = invalid_star_etc_var;
 5227|      0|            goto done;
 5228|      0|        }
 5229|      0|        p->mark = _mark;
 5230|      0|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5231|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_star_etc"));
 5232|      0|    }
 5233|    450|    { // '*' param_no_default param_maybe_default* kwds?
 5234|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (5234:13): [True: 0, False: 450]
  ------------------
 5235|      0|            p->level--;
 5236|      0|            return NULL;
 5237|      0|        }
 5238|    450|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5239|    450|        Token * _literal;
 5240|    450|        arg_ty a;
 5241|    450|        asdl_seq * b;
 5242|    450|        void *c;
 5243|    450|        if (
 5244|    450|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5244:13): [True: 58, False: 392]
  ------------------
 5245|     58|            &&
 5246|     58|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5246:13): [True: 6, False: 52]
  ------------------
 5247|      6|            &&
 5248|      6|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5248:13): [True: 6, False: 0]
  ------------------
 5249|      6|            &&
 5250|      6|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5250:13): [True: 6, False: 0]
  ------------------
 5251|    450|        )
 5252|      6|        {
 5253|      6|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5254|      6|            _res = _PyPegen_star_etc ( p , a , b , c );
 5255|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5255:18): [True: 0, False: 6]
  |  Branch (5255:34): [True: 0, False: 6]
  |  Branch (5255:57): [True: 0, False: 0]
  ------------------
 5256|      0|                p->error_indicator = 1;
 5257|      0|                p->level--;
 5258|      0|                return NULL;
 5259|      0|            }
 5260|      6|            goto done;
 5261|      6|        }
 5262|    444|        p->mark = _mark;
 5263|    444|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5264|    444|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5265|    444|    }
 5266|      0|    { // '*' param_no_default_star_annotation param_maybe_default* kwds?
 5267|    444|        if (p->error_indicator) {
  ------------------
  |  Branch (5267:13): [True: 0, False: 444]
  ------------------
 5268|      0|            p->level--;
 5269|      0|            return NULL;
 5270|      0|        }
 5271|    444|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5272|    444|        Token * _literal;
 5273|    444|        arg_ty a;
 5274|    444|        asdl_seq * b;
 5275|    444|        void *c;
 5276|    444|        if (
 5277|    444|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5277:13): [True: 52, False: 392]
  ------------------
 5278|     52|            &&
 5279|     52|            (a = param_no_default_star_annotation_rule(p))  // param_no_default_star_annotation
  ------------------
  |  Branch (5279:13): [True: 0, False: 52]
  ------------------
 5280|      0|            &&
 5281|      0|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5281:13): [True: 0, False: 0]
  ------------------
 5282|      0|            &&
 5283|      0|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5283:13): [True: 0, False: 0]
  ------------------
 5284|    444|        )
 5285|      0|        {
 5286|      0|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5287|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
 5288|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5288:18): [True: 0, False: 0]
  |  Branch (5288:34): [True: 0, False: 0]
  |  Branch (5288:57): [True: 0, False: 0]
  ------------------
 5289|      0|                p->error_indicator = 1;
 5290|      0|                p->level--;
 5291|      0|                return NULL;
 5292|      0|            }
 5293|      0|            goto done;
 5294|      0|        }
 5295|    444|        p->mark = _mark;
 5296|    444|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5297|    444|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5298|    444|    }
 5299|      0|    { // '*' ',' param_maybe_default+ kwds?
 5300|    444|        if (p->error_indicator) {
  ------------------
  |  Branch (5300:13): [True: 0, False: 444]
  ------------------
 5301|      0|            p->level--;
 5302|      0|            return NULL;
 5303|      0|        }
 5304|    444|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5305|    444|        Token * _literal;
 5306|    444|        Token * _literal_1;
 5307|    444|        asdl_seq * b;
 5308|    444|        void *c;
 5309|    444|        if (
 5310|    444|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5310:13): [True: 52, False: 392]
  ------------------
 5311|     52|            &&
 5312|     52|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5312:13): [True: 52, False: 0]
  ------------------
 5313|     52|            &&
 5314|     52|            (b = _loop1_32_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (5314:13): [True: 52, False: 0]
  ------------------
 5315|     52|            &&
 5316|     52|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5316:13): [True: 52, False: 0]
  ------------------
 5317|    444|        )
 5318|     52|        {
 5319|     52|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5320|     52|            _res = _PyPegen_star_etc ( p , NULL , b , c );
 5321|     52|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5321:18): [True: 0, False: 52]
  |  Branch (5321:34): [True: 0, False: 52]
  |  Branch (5321:57): [True: 0, False: 0]
  ------------------
 5322|      0|                p->error_indicator = 1;
 5323|      0|                p->level--;
 5324|      0|                return NULL;
 5325|      0|            }
 5326|     52|            goto done;
 5327|     52|        }
 5328|    392|        p->mark = _mark;
 5329|    392|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5330|    392|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5331|    392|    }
 5332|      0|    { // kwds
 5333|    392|        if (p->error_indicator) {
  ------------------
  |  Branch (5333:13): [True: 0, False: 392]
  ------------------
 5334|      0|            p->level--;
 5335|      0|            return NULL;
 5336|      0|        }
 5337|    392|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwds"));
 5338|    392|        arg_ty a;
 5339|    392|        if (
 5340|    392|            (a = kwds_rule(p))  // kwds
  ------------------
  |  Branch (5340:13): [True: 0, False: 392]
  ------------------
 5341|    392|        )
 5342|      0|        {
 5343|      0|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwds"));
 5344|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
 5345|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5345:18): [True: 0, False: 0]
  |  Branch (5345:34): [True: 0, False: 0]
  |  Branch (5345:57): [True: 0, False: 0]
  ------------------
 5346|      0|                p->error_indicator = 1;
 5347|      0|                p->level--;
 5348|      0|                return NULL;
 5349|      0|            }
 5350|      0|            goto done;
 5351|      0|        }
 5352|    392|        p->mark = _mark;
 5353|    392|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5354|    392|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwds"));
 5355|    392|    }
 5356|    392|    _res = NULL;
 5357|    450|  done:
 5358|    450|    p->level--;
 5359|    450|    return _res;
 5360|    392|}
parser.c:kwds_rule:
 5365|    450|{
 5366|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (5366:9): [True: 0, False: 450]
  |  Branch (5366:35): [True: 0, False: 450]
  ------------------
 5367|      0|        _Pypegen_stack_overflow(p);
 5368|      0|    }
 5369|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (5369:9): [True: 0, False: 450]
  ------------------
 5370|      0|        p->level--;
 5371|      0|        return NULL;
 5372|      0|    }
 5373|    450|    arg_ty _res = NULL;
 5374|    450|    int _mark = p->mark;
 5375|    450|    if (p->call_invalid_rules) { // invalid_kwds
  ------------------
  |  Branch (5375:9): [True: 0, False: 450]
  ------------------
 5376|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (5376:13): [True: 0, False: 0]
  ------------------
 5377|      0|            p->level--;
 5378|      0|            return NULL;
 5379|      0|        }
 5380|      0|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5381|      0|        void *invalid_kwds_var;
 5382|      0|        if (
 5383|      0|            (invalid_kwds_var = invalid_kwds_rule(p))  // invalid_kwds
  ------------------
  |  Branch (5383:13): [True: 0, False: 0]
  ------------------
 5384|      0|        )
 5385|      0|        {
 5386|      0|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5387|      0|            _res = invalid_kwds_var;
 5388|      0|            goto done;
 5389|      0|        }
 5390|      0|        p->mark = _mark;
 5391|      0|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5392|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwds"));
 5393|      0|    }
 5394|    450|    { // '**' param_no_default
 5395|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (5395:13): [True: 0, False: 450]
  ------------------
 5396|      0|            p->level--;
 5397|      0|            return NULL;
 5398|      0|        }
 5399|    450|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5400|    450|        Token * _literal;
 5401|    450|        arg_ty a;
 5402|    450|        if (
 5403|    450|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (5403:13): [True: 4, False: 446]
  ------------------
 5404|      4|            &&
 5405|      4|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5405:13): [True: 4, False: 0]
  ------------------
 5406|    450|        )
 5407|      4|        {
 5408|      4|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5409|      4|            _res = a;
 5410|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5410:18): [True: 0, False: 4]
  |  Branch (5410:34): [True: 0, False: 4]
  |  Branch (5410:57): [True: 0, False: 0]
  ------------------
 5411|      0|                p->error_indicator = 1;
 5412|      0|                p->level--;
 5413|      0|                return NULL;
 5414|      0|            }
 5415|      4|            goto done;
 5416|      4|        }
 5417|    446|        p->mark = _mark;
 5418|    446|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5419|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param_no_default"));
 5420|    446|    }
 5421|    446|    _res = NULL;
 5422|    450|  done:
 5423|    450|    p->level--;
 5424|    450|    return _res;
 5425|    446|}
parser.c:param_no_default_star_annotation_rule:
 5510|     52|{
 5511|     52|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    104|#  define MAXSTACK 6000
  ------------------
  |  Branch (5511:9): [True: 0, False: 52]
  |  Branch (5511:35): [True: 0, False: 52]
  ------------------
 5512|      0|        _Pypegen_stack_overflow(p);
 5513|      0|    }
 5514|     52|    if (p->error_indicator) {
  ------------------
  |  Branch (5514:9): [True: 0, False: 52]
  ------------------
 5515|      0|        p->level--;
 5516|      0|        return NULL;
 5517|      0|    }
 5518|     52|    arg_ty _res = NULL;
 5519|     52|    int _mark = p->mark;
 5520|     52|    { // param_star_annotation ',' TYPE_COMMENT?
 5521|     52|        if (p->error_indicator) {
  ------------------
  |  Branch (5521:13): [True: 0, False: 52]
  ------------------
 5522|      0|            p->level--;
 5523|      0|            return NULL;
 5524|      0|        }
 5525|     52|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5526|     52|        Token * _literal;
 5527|     52|        arg_ty a;
 5528|     52|        void *tc;
 5529|     52|        if (
 5530|     52|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5530:13): [True: 0, False: 52]
  ------------------
 5531|      0|            &&
 5532|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5532:13): [True: 0, False: 0]
  ------------------
 5533|      0|            &&
 5534|      0|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      0|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5534:13): [True: 0, False: 0]
  ------------------
 5535|     52|        )
 5536|      0|        {
 5537|      0|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5538|      0|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5539|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5539:18): [True: 0, False: 0]
  |  Branch (5539:34): [True: 0, False: 0]
  |  Branch (5539:57): [True: 0, False: 0]
  ------------------
 5540|      0|                p->error_indicator = 1;
 5541|      0|                p->level--;
 5542|      0|                return NULL;
 5543|      0|            }
 5544|      0|            goto done;
 5545|      0|        }
 5546|     52|        p->mark = _mark;
 5547|     52|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5548|     52|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5549|     52|    }
 5550|      0|    { // param_star_annotation TYPE_COMMENT? &')'
 5551|     52|        if (p->error_indicator) {
  ------------------
  |  Branch (5551:13): [True: 0, False: 52]
  ------------------
 5552|      0|            p->level--;
 5553|      0|            return NULL;
 5554|      0|        }
 5555|     52|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5556|     52|        arg_ty a;
 5557|     52|        void *tc;
 5558|     52|        if (
 5559|     52|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5559:13): [True: 0, False: 52]
  ------------------
 5560|      0|            &&
 5561|      0|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      0|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5561:13): [True: 0, False: 0]
  ------------------
 5562|      0|            &&
 5563|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5563:13): [True: 0, False: 0]
  ------------------
 5564|     52|        )
 5565|      0|        {
 5566|      0|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5567|      0|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5568|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5568:18): [True: 0, False: 0]
  |  Branch (5568:34): [True: 0, False: 0]
  |  Branch (5568:57): [True: 0, False: 0]
  ------------------
 5569|      0|                p->error_indicator = 1;
 5570|      0|                p->level--;
 5571|      0|                return NULL;
 5572|      0|            }
 5573|      0|            goto done;
 5574|      0|        }
 5575|     52|        p->mark = _mark;
 5576|     52|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5577|     52|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5578|     52|    }
 5579|     52|    _res = NULL;
 5580|     52|  done:
 5581|     52|    p->level--;
 5582|     52|    return _res;
 5583|     52|}
parser.c:param_star_annotation_rule:
 5822|    104|{
 5823|    104|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    208|#  define MAXSTACK 6000
  ------------------
  |  Branch (5823:9): [True: 0, False: 104]
  |  Branch (5823:35): [True: 0, False: 104]
  ------------------
 5824|      0|        _Pypegen_stack_overflow(p);
 5825|      0|    }
 5826|    104|    if (p->error_indicator) {
  ------------------
  |  Branch (5826:9): [True: 0, False: 104]
  ------------------
 5827|      0|        p->level--;
 5828|      0|        return NULL;
 5829|      0|    }
 5830|    104|    arg_ty _res = NULL;
 5831|    104|    int _mark = p->mark;
 5832|    104|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5832:9): [True: 0, False: 104]
  |  Branch (5832:31): [True: 0, False: 0]
  ------------------
 5833|      0|        p->error_indicator = 1;
 5834|      0|        p->level--;
 5835|      0|        return NULL;
 5836|      0|    }
 5837|    104|    int _start_lineno = p->tokens[_mark]->lineno;
 5838|    104|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    104|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 104]
  |  |  ------------------
  ------------------
 5839|    104|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5840|    104|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    104|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 104]
  |  |  ------------------
  ------------------
 5841|    104|    { // NAME star_annotation
 5842|    104|        if (p->error_indicator) {
  ------------------
  |  Branch (5842:13): [True: 0, False: 104]
  ------------------
 5843|      0|            p->level--;
 5844|      0|            return NULL;
 5845|      0|        }
 5846|    104|        D(fprintf(stderr, "%*c> param_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5847|    104|        expr_ty a;
 5848|    104|        expr_ty b;
 5849|    104|        if (
 5850|    104|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5850:13): [True: 0, False: 104]
  ------------------
 5851|      0|            &&
 5852|      0|            (b = star_annotation_rule(p))  // star_annotation
  ------------------
  |  Branch (5852:13): [True: 0, False: 0]
  ------------------
 5853|    104|        )
 5854|      0|        {
 5855|      0|            D(fprintf(stderr, "%*c+ param_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5856|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5857|      0|            if (_token == NULL) {
  ------------------
  |  Branch (5857:17): [True: 0, False: 0]
  ------------------
 5858|      0|                p->level--;
 5859|      0|                return NULL;
 5860|      0|            }
 5861|      0|            int _end_lineno = _token->end_lineno;
 5862|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5863|      0|            int _end_col_offset = _token->end_col_offset;
 5864|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5865|      0|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5866|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5866:18): [True: 0, False: 0]
  |  Branch (5866:34): [True: 0, False: 0]
  |  Branch (5866:57): [True: 0, False: 0]
  ------------------
 5867|      0|                p->error_indicator = 1;
 5868|      0|                p->level--;
 5869|      0|                return NULL;
 5870|      0|            }
 5871|      0|            goto done;
 5872|      0|        }
 5873|    104|        p->mark = _mark;
 5874|    104|        D(fprintf(stderr, "%*c%s param_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5875|    104|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME star_annotation"));
 5876|    104|    }
 5877|    104|    _res = NULL;
 5878|    104|  done:
 5879|    104|    p->level--;
 5880|    104|    return _res;
 5881|    104|}
parser.c:_tmp_26_rule:
29965|    450|{
29966|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (29966:9): [True: 0, False: 450]
  |  Branch (29966:35): [True: 0, False: 450]
  ------------------
29967|      0|        _Pypegen_stack_overflow(p);
29968|      0|    }
29969|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (29969:9): [True: 0, False: 450]
  ------------------
29970|      0|        p->level--;
29971|      0|        return NULL;
29972|      0|    }
29973|    450|    void * _res = NULL;
29974|    450|    int _mark = p->mark;
29975|    450|    { // '->' expression
29976|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (29976:13): [True: 0, False: 450]
  ------------------
29977|      0|            p->level--;
29978|      0|            return NULL;
29979|      0|        }
29980|    450|        D(fprintf(stderr, "%*c> _tmp_26[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'->' expression"));
29981|    450|        Token * _literal;
29982|    450|        expr_ty z;
29983|    450|        if (
29984|    450|            (_literal = _PyPegen_expect_token(p, 51))  // token='->'
  ------------------
  |  Branch (29984:13): [True: 8, False: 442]
  ------------------
29985|      8|            &&
29986|      8|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29986:13): [True: 8, False: 0]
  ------------------
29987|    450|        )
29988|      8|        {
29989|      8|            D(fprintf(stderr, "%*c+ _tmp_26[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'->' expression"));
29990|      8|            _res = z;
29991|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29991:18): [True: 0, False: 8]
  |  Branch (29991:34): [True: 0, False: 8]
  |  Branch (29991:57): [True: 0, False: 0]
  ------------------
29992|      0|                p->error_indicator = 1;
29993|      0|                p->level--;
29994|      0|                return NULL;
29995|      0|            }
29996|      8|            goto done;
29997|      8|        }
29998|    442|        p->mark = _mark;
29999|    442|        D(fprintf(stderr, "%*c%s _tmp_26[%d-%d]: %s failed!\n", p->level, ' ',
30000|    442|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'->' expression"));
30001|    442|    }
30002|    442|    _res = NULL;
30003|    450|  done:
30004|    450|    p->level--;
30005|    450|    return _res;
30006|    442|}
parser.c:func_type_comment_rule:
20952|    450|{
20953|    450|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    900|#  define MAXSTACK 6000
  ------------------
  |  Branch (20953:9): [True: 0, False: 450]
  |  Branch (20953:35): [True: 0, False: 450]
  ------------------
20954|      0|        _Pypegen_stack_overflow(p);
20955|      0|    }
20956|    450|    if (p->error_indicator) {
  ------------------
  |  Branch (20956:9): [True: 0, False: 450]
  ------------------
20957|      0|        p->level--;
20958|      0|        return NULL;
20959|      0|    }
20960|    450|    Token* _res = NULL;
20961|    450|    int _mark = p->mark;
20962|    450|    { // NEWLINE TYPE_COMMENT &(NEWLINE INDENT)
20963|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (20963:13): [True: 0, False: 450]
  ------------------
20964|      0|            p->level--;
20965|      0|            return NULL;
20966|      0|        }
20967|    450|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
20968|    450|        Token * newline_var;
20969|    450|        Token * t;
20970|    450|        if (
20971|    450|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    450|#define NEWLINE         4
  ------------------
  |  Branch (20971:13): [True: 448, False: 2]
  ------------------
20972|    448|            &&
20973|    448|            (t = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    448|#define TYPE_COMMENT    57
  ------------------
  |  Branch (20973:13): [True: 0, False: 448]
  ------------------
20974|      0|            &&
20975|      0|            _PyPegen_lookahead(1, _tmp_106_rule, p)
  ------------------
  |  Branch (20975:13): [True: 0, False: 0]
  ------------------
20976|    450|        )
20977|      0|        {
20978|      0|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
20979|      0|            _res = t;
20980|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20980:18): [True: 0, False: 0]
  |  Branch (20980:34): [True: 0, False: 0]
  |  Branch (20980:57): [True: 0, False: 0]
  ------------------
20981|      0|                p->error_indicator = 1;
20982|      0|                p->level--;
20983|      0|                return NULL;
20984|      0|            }
20985|      0|            goto done;
20986|      0|        }
20987|    450|        p->mark = _mark;
20988|    450|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
20989|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
20990|    450|    }
20991|    450|    if (p->call_invalid_rules) { // invalid_double_type_comments
  ------------------
  |  Branch (20991:9): [True: 0, False: 450]
  ------------------
20992|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (20992:13): [True: 0, False: 0]
  ------------------
20993|      0|            p->level--;
20994|      0|            return NULL;
20995|      0|        }
20996|      0|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
20997|      0|        void *invalid_double_type_comments_var;
20998|      0|        if (
20999|      0|            (invalid_double_type_comments_var = invalid_double_type_comments_rule(p))  // invalid_double_type_comments
  ------------------
  |  Branch (20999:13): [True: 0, False: 0]
  ------------------
21000|      0|        )
21001|      0|        {
21002|      0|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
21003|      0|            _res = invalid_double_type_comments_var;
21004|      0|            goto done;
21005|      0|        }
21006|      0|        p->mark = _mark;
21007|      0|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21008|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_double_type_comments"));
21009|      0|    }
21010|    450|    { // TYPE_COMMENT
21011|    450|        if (p->error_indicator) {
  ------------------
  |  Branch (21011:13): [True: 0, False: 450]
  ------------------
21012|      0|            p->level--;
21013|      0|            return NULL;
21014|      0|        }
21015|    450|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
21016|    450|        Token * type_comment_var;
21017|    450|        if (
21018|    450|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    450|#define TYPE_COMMENT    57
  ------------------
  |  Branch (21018:13): [True: 0, False: 450]
  ------------------
21019|    450|        )
21020|      0|        {
21021|      0|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
21022|      0|            _res = type_comment_var;
21023|      0|            goto done;
21024|      0|        }
21025|    450|        p->mark = _mark;
21026|    450|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21027|    450|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT"));
21028|    450|    }
21029|    450|    _res = NULL;
21030|    450|  done:
21031|    450|    p->level--;
21032|    450|    return _res;
21033|    450|}
parser.c:block_rule:
 4272|    794|{
 4273|    794|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4273:9): [True: 0, False: 794]
  |  Branch (4273:35): [True: 0, False: 794]
  ------------------
 4274|      0|        _Pypegen_stack_overflow(p);
 4275|      0|    }
 4276|    794|    if (p->error_indicator) {
  ------------------
  |  Branch (4276:9): [True: 0, False: 794]
  ------------------
 4277|      0|        p->level--;
 4278|      0|        return NULL;
 4279|      0|    }
 4280|    794|    asdl_stmt_seq* _res = NULL;
 4281|    794|    if (_PyPegen_is_memoized(p, block_type, &_res)) {
  ------------------
  |  |  122|    794|#define block_type 1033
  ------------------
  |  Branch (4281:9): [True: 166, False: 628]
  ------------------
 4282|    166|        p->level--;
 4283|    166|        return _res;
 4284|    166|    }
 4285|    628|    int _mark = p->mark;
 4286|    628|    { // NEWLINE INDENT statements DEDENT
 4287|    628|        if (p->error_indicator) {
  ------------------
  |  Branch (4287:13): [True: 0, False: 628]
  ------------------
 4288|      0|            p->level--;
 4289|      0|            return NULL;
 4290|      0|        }
 4291|    628|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4292|    628|        asdl_stmt_seq* a;
 4293|    628|        Token * dedent_var;
 4294|    628|        Token * indent_var;
 4295|    628|        Token * newline_var;
 4296|    628|        if (
 4297|    628|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    628|#define NEWLINE         4
  ------------------
  |  Branch (4297:13): [True: 626, False: 2]
  ------------------
 4298|    626|            &&
 4299|    626|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|    626|#define INDENT          5
  ------------------
  |  Branch (4299:13): [True: 626, False: 0]
  ------------------
 4300|    626|            &&
 4301|    626|            (a = statements_rule(p))  // statements
  ------------------
  |  Branch (4301:13): [True: 626, False: 0]
  ------------------
 4302|    626|            &&
 4303|    626|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|    626|#define DEDENT          6
  ------------------
  |  Branch (4303:13): [True: 626, False: 0]
  ------------------
 4304|    628|        )
 4305|    626|        {
 4306|    626|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4307|    626|            _res = a;
 4308|    626|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4308:18): [True: 0, False: 626]
  |  Branch (4308:34): [True: 0, False: 626]
  |  Branch (4308:57): [True: 0, False: 0]
  ------------------
 4309|      0|                p->error_indicator = 1;
 4310|      0|                p->level--;
 4311|      0|                return NULL;
 4312|      0|            }
 4313|    626|            goto done;
 4314|    626|        }
 4315|      2|        p->mark = _mark;
 4316|      2|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4317|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4318|      2|    }
 4319|      0|    { // simple_stmts
 4320|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (4320:13): [True: 0, False: 2]
  ------------------
 4321|      0|            p->level--;
 4322|      0|            return NULL;
 4323|      0|        }
 4324|      2|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4325|      2|        asdl_stmt_seq* simple_stmts_var;
 4326|      2|        if (
 4327|      2|            (simple_stmts_var = simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (4327:13): [True: 2, False: 0]
  ------------------
 4328|      2|        )
 4329|      2|        {
 4330|      2|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4331|      2|            _res = simple_stmts_var;
 4332|      2|            goto done;
 4333|      2|        }
 4334|      0|        p->mark = _mark;
 4335|      0|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4336|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 4337|      0|    }
 4338|      0|    if (p->call_invalid_rules) { // invalid_block
  ------------------
  |  Branch (4338:9): [True: 0, False: 0]
  ------------------
 4339|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4339:13): [True: 0, False: 0]
  ------------------
 4340|      0|            p->level--;
 4341|      0|            return NULL;
 4342|      0|        }
 4343|      0|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4344|      0|        void *invalid_block_var;
 4345|      0|        if (
 4346|      0|            (invalid_block_var = invalid_block_rule(p))  // invalid_block
  ------------------
  |  Branch (4346:13): [True: 0, False: 0]
  ------------------
 4347|      0|        )
 4348|      0|        {
 4349|      0|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4350|      0|            _res = invalid_block_var;
 4351|      0|            goto done;
 4352|      0|        }
 4353|      0|        p->mark = _mark;
 4354|      0|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4355|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_block"));
 4356|      0|    }
 4357|      0|    _res = NULL;
 4358|    628|  done:
 4359|    628|    _PyPegen_insert_memo(p, _mark, block_type, _res);
  ------------------
  |  |  122|    628|#define block_type 1033
  ------------------
 4360|    628|    p->level--;
 4361|    628|    return _res;
 4362|      0|}
parser.c:if_stmt_rule:
 6046|    166|{
 6047|    166|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    332|#  define MAXSTACK 6000
  ------------------
  |  Branch (6047:9): [True: 0, False: 166]
  |  Branch (6047:35): [True: 0, False: 166]
  ------------------
 6048|      0|        _Pypegen_stack_overflow(p);
 6049|      0|    }
 6050|    166|    if (p->error_indicator) {
  ------------------
  |  Branch (6050:9): [True: 0, False: 166]
  ------------------
 6051|      0|        p->level--;
 6052|      0|        return NULL;
 6053|      0|    }
 6054|    166|    stmt_ty _res = NULL;
 6055|    166|    int _mark = p->mark;
 6056|    166|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6056:9): [True: 0, False: 166]
  |  Branch (6056:31): [True: 0, False: 0]
  ------------------
 6057|      0|        p->error_indicator = 1;
 6058|      0|        p->level--;
 6059|      0|        return NULL;
 6060|      0|    }
 6061|    166|    int _start_lineno = p->tokens[_mark]->lineno;
 6062|    166|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    166|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 166]
  |  |  ------------------
  ------------------
 6063|    166|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6064|    166|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    166|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 166]
  |  |  ------------------
  ------------------
 6065|    166|    if (p->call_invalid_rules) { // invalid_if_stmt
  ------------------
  |  Branch (6065:9): [True: 0, False: 166]
  ------------------
 6066|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6066:13): [True: 0, False: 0]
  ------------------
 6067|      0|            p->level--;
 6068|      0|            return NULL;
 6069|      0|        }
 6070|      0|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6071|      0|        void *invalid_if_stmt_var;
 6072|      0|        if (
 6073|      0|            (invalid_if_stmt_var = invalid_if_stmt_rule(p))  // invalid_if_stmt
  ------------------
  |  Branch (6073:13): [True: 0, False: 0]
  ------------------
 6074|      0|        )
 6075|      0|        {
 6076|      0|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6077|      0|            _res = invalid_if_stmt_var;
 6078|      0|            goto done;
 6079|      0|        }
 6080|      0|        p->mark = _mark;
 6081|      0|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6082|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_stmt"));
 6083|      0|    }
 6084|    166|    { // 'if' named_expression ':' block elif_stmt
 6085|    166|        if (p->error_indicator) {
  ------------------
  |  Branch (6085:13): [True: 0, False: 166]
  ------------------
 6086|      0|            p->level--;
 6087|      0|            return NULL;
 6088|      0|        }
 6089|    166|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6090|    166|        Token * _keyword;
 6091|    166|        Token * _literal;
 6092|    166|        expr_ty a;
 6093|    166|        asdl_stmt_seq* b;
 6094|    166|        stmt_ty c;
 6095|    166|        if (
 6096|    166|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (6096:13): [True: 166, False: 0]
  ------------------
 6097|    166|            &&
 6098|    166|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6098:13): [True: 166, False: 0]
  ------------------
 6099|    166|            &&
 6100|    166|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6100:13): [True: 166, False: 0]
  ------------------
 6101|    166|            &&
 6102|    166|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6102:13): [True: 166, False: 0]
  ------------------
 6103|    166|            &&
 6104|    166|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6104:13): [True: 2, False: 164]
  ------------------
 6105|    166|        )
 6106|      2|        {
 6107|      2|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6108|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6109|      2|            if (_token == NULL) {
  ------------------
  |  Branch (6109:17): [True: 0, False: 2]
  ------------------
 6110|      0|                p->level--;
 6111|      0|                return NULL;
 6112|      0|            }
 6113|      2|            int _end_lineno = _token->end_lineno;
 6114|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6115|      2|            int _end_col_offset = _token->end_col_offset;
 6116|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6117|      2|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  233|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6118|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6118:18): [True: 0, False: 2]
  |  Branch (6118:34): [True: 0, False: 2]
  |  Branch (6118:57): [True: 0, False: 0]
  ------------------
 6119|      0|                p->error_indicator = 1;
 6120|      0|                p->level--;
 6121|      0|                return NULL;
 6122|      0|            }
 6123|      2|            goto done;
 6124|      2|        }
 6125|    164|        p->mark = _mark;
 6126|    164|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6127|    164|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6128|    164|    }
 6129|      0|    { // 'if' named_expression ':' block else_block?
 6130|    164|        if (p->error_indicator) {
  ------------------
  |  Branch (6130:13): [True: 0, False: 164]
  ------------------
 6131|      0|            p->level--;
 6132|      0|            return NULL;
 6133|      0|        }
 6134|    164|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6135|    164|        Token * _keyword;
 6136|    164|        Token * _literal;
 6137|    164|        expr_ty a;
 6138|    164|        asdl_stmt_seq* b;
 6139|    164|        void *c;
 6140|    164|        if (
 6141|    164|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (6141:13): [True: 164, False: 0]
  ------------------
 6142|    164|            &&
 6143|    164|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6143:13): [True: 164, False: 0]
  ------------------
 6144|    164|            &&
 6145|    164|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6145:13): [True: 164, False: 0]
  ------------------
 6146|    164|            &&
 6147|    164|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6147:13): [True: 164, False: 0]
  ------------------
 6148|    164|            &&
 6149|    164|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6149:13): [True: 164, False: 0]
  ------------------
 6150|    164|        )
 6151|    164|        {
 6152|    164|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6153|    164|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6154|    164|            if (_token == NULL) {
  ------------------
  |  Branch (6154:17): [True: 0, False: 164]
  ------------------
 6155|      0|                p->level--;
 6156|      0|                return NULL;
 6157|      0|            }
 6158|    164|            int _end_lineno = _token->end_lineno;
 6159|    164|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    164|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 164]
  |  |  ------------------
  ------------------
 6160|    164|            int _end_col_offset = _token->end_col_offset;
 6161|    164|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    164|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 164]
  |  |  ------------------
  ------------------
 6162|    164|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  269|    164|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6163|    164|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6163:18): [True: 0, False: 164]
  |  Branch (6163:34): [True: 0, False: 164]
  |  Branch (6163:57): [True: 0, False: 0]
  ------------------
 6164|      0|                p->error_indicator = 1;
 6165|      0|                p->level--;
 6166|      0|                return NULL;
 6167|      0|            }
 6168|    164|            goto done;
 6169|    164|        }
 6170|      0|        p->mark = _mark;
 6171|      0|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6172|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6173|      0|    }
 6174|      0|    _res = NULL;
 6175|    166|  done:
 6176|    166|    p->level--;
 6177|    166|    return _res;
 6178|      0|}
parser.c:elif_stmt_rule:
 6186|    170|{
 6187|    170|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    340|#  define MAXSTACK 6000
  ------------------
  |  Branch (6187:9): [True: 0, False: 170]
  |  Branch (6187:35): [True: 0, False: 170]
  ------------------
 6188|      0|        _Pypegen_stack_overflow(p);
 6189|      0|    }
 6190|    170|    if (p->error_indicator) {
  ------------------
  |  Branch (6190:9): [True: 0, False: 170]
  ------------------
 6191|      0|        p->level--;
 6192|      0|        return NULL;
 6193|      0|    }
 6194|    170|    stmt_ty _res = NULL;
 6195|    170|    int _mark = p->mark;
 6196|    170|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6196:9): [True: 170, False: 0]
  |  Branch (6196:31): [True: 0, False: 170]
  ------------------
 6197|      0|        p->error_indicator = 1;
 6198|      0|        p->level--;
 6199|      0|        return NULL;
 6200|      0|    }
 6201|    170|    int _start_lineno = p->tokens[_mark]->lineno;
 6202|    170|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    170|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 170]
  |  |  ------------------
  ------------------
 6203|    170|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6204|    170|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    170|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 170]
  |  |  ------------------
  ------------------
 6205|    170|    if (p->call_invalid_rules) { // invalid_elif_stmt
  ------------------
  |  Branch (6205:9): [True: 0, False: 170]
  ------------------
 6206|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6206:13): [True: 0, False: 0]
  ------------------
 6207|      0|            p->level--;
 6208|      0|            return NULL;
 6209|      0|        }
 6210|      0|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6211|      0|        void *invalid_elif_stmt_var;
 6212|      0|        if (
 6213|      0|            (invalid_elif_stmt_var = invalid_elif_stmt_rule(p))  // invalid_elif_stmt
  ------------------
  |  Branch (6213:13): [True: 0, False: 0]
  ------------------
 6214|      0|        )
 6215|      0|        {
 6216|      0|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6217|      0|            _res = invalid_elif_stmt_var;
 6218|      0|            goto done;
 6219|      0|        }
 6220|      0|        p->mark = _mark;
 6221|      0|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6222|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_elif_stmt"));
 6223|      0|    }
 6224|    170|    { // 'elif' named_expression ':' block elif_stmt
 6225|    170|        if (p->error_indicator) {
  ------------------
  |  Branch (6225:13): [True: 0, False: 170]
  ------------------
 6226|      0|            p->level--;
 6227|      0|            return NULL;
 6228|      0|        }
 6229|    170|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6230|    170|        Token * _keyword;
 6231|    170|        Token * _literal;
 6232|    170|        expr_ty a;
 6233|    170|        asdl_stmt_seq* b;
 6234|    170|        stmt_ty c;
 6235|    170|        if (
 6236|    170|            (_keyword = _PyPegen_expect_token(p, 703))  // token='elif'
  ------------------
  |  Branch (6236:13): [True: 4, False: 166]
  ------------------
 6237|      4|            &&
 6238|      4|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6238:13): [True: 4, False: 0]
  ------------------
 6239|      4|            &&
 6240|      4|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6240:13): [True: 4, False: 0]
  ------------------
 6241|      4|            &&
 6242|      4|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6242:13): [True: 4, False: 0]
  ------------------
 6243|      4|            &&
 6244|      4|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6244:13): [True: 2, False: 2]
  ------------------
 6245|    170|        )
 6246|      2|        {
 6247|      2|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6248|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6249|      2|            if (_token == NULL) {
  ------------------
  |  Branch (6249:17): [True: 0, False: 2]
  ------------------
 6250|      0|                p->level--;
 6251|      0|                return NULL;
 6252|      0|            }
 6253|      2|            int _end_lineno = _token->end_lineno;
 6254|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6255|      2|            int _end_col_offset = _token->end_col_offset;
 6256|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6257|      2|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  233|      2|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6258|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6258:18): [True: 0, False: 2]
  |  Branch (6258:34): [True: 0, False: 2]
  |  Branch (6258:57): [True: 0, False: 0]
  ------------------
 6259|      0|                p->error_indicator = 1;
 6260|      0|                p->level--;
 6261|      0|                return NULL;
 6262|      0|            }
 6263|      2|            goto done;
 6264|      2|        }
 6265|    168|        p->mark = _mark;
 6266|    168|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6267|    168|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6268|    168|    }
 6269|      0|    { // 'elif' named_expression ':' block else_block?
 6270|    168|        if (p->error_indicator) {
  ------------------
  |  Branch (6270:13): [True: 0, False: 168]
  ------------------
 6271|      0|            p->level--;
 6272|      0|            return NULL;
 6273|      0|        }
 6274|    168|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6275|    168|        Token * _keyword;
 6276|    168|        Token * _literal;
 6277|    168|        expr_ty a;
 6278|    168|        asdl_stmt_seq* b;
 6279|    168|        void *c;
 6280|    168|        if (
 6281|    168|            (_keyword = _PyPegen_expect_token(p, 703))  // token='elif'
  ------------------
  |  Branch (6281:13): [True: 2, False: 166]
  ------------------
 6282|      2|            &&
 6283|      2|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6283:13): [True: 2, False: 0]
  ------------------
 6284|      2|            &&
 6285|      2|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6285:13): [True: 2, False: 0]
  ------------------
 6286|      2|            &&
 6287|      2|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6287:13): [True: 2, False: 0]
  ------------------
 6288|      2|            &&
 6289|      2|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6289:13): [True: 2, False: 0]
  ------------------
 6290|    168|        )
 6291|      2|        {
 6292|      2|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6293|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6294|      2|            if (_token == NULL) {
  ------------------
  |  Branch (6294:17): [True: 0, False: 2]
  ------------------
 6295|      0|                p->level--;
 6296|      0|                return NULL;
 6297|      0|            }
 6298|      2|            int _end_lineno = _token->end_lineno;
 6299|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6300|      2|            int _end_col_offset = _token->end_col_offset;
 6301|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6302|      2|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6303|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6303:18): [True: 0, False: 2]
  |  Branch (6303:34): [True: 0, False: 2]
  |  Branch (6303:57): [True: 0, False: 0]
  ------------------
 6304|      0|                p->error_indicator = 1;
 6305|      0|                p->level--;
 6306|      0|                return NULL;
 6307|      0|            }
 6308|      2|            goto done;
 6309|      2|        }
 6310|    166|        p->mark = _mark;
 6311|    166|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6312|    166|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6313|    166|    }
 6314|    166|    _res = NULL;
 6315|    170|  done:
 6316|    170|    p->level--;
 6317|    170|    return _res;
 6318|    166|}
parser.c:else_block_rule:
 6323|    168|{
 6324|    168|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    336|#  define MAXSTACK 6000
  ------------------
  |  Branch (6324:9): [True: 0, False: 168]
  |  Branch (6324:35): [True: 0, False: 168]
  ------------------
 6325|      0|        _Pypegen_stack_overflow(p);
 6326|      0|    }
 6327|    168|    if (p->error_indicator) {
  ------------------
  |  Branch (6327:9): [True: 0, False: 168]
  ------------------
 6328|      0|        p->level--;
 6329|      0|        return NULL;
 6330|      0|    }
 6331|    168|    asdl_stmt_seq* _res = NULL;
 6332|    168|    int _mark = p->mark;
 6333|    168|    if (p->call_invalid_rules) { // invalid_else_stmt
  ------------------
  |  Branch (6333:9): [True: 0, False: 168]
  ------------------
 6334|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6334:13): [True: 0, False: 0]
  ------------------
 6335|      0|            p->level--;
 6336|      0|            return NULL;
 6337|      0|        }
 6338|      0|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6339|      0|        void *invalid_else_stmt_var;
 6340|      0|        if (
 6341|      0|            (invalid_else_stmt_var = invalid_else_stmt_rule(p))  // invalid_else_stmt
  ------------------
  |  Branch (6341:13): [True: 0, False: 0]
  ------------------
 6342|      0|        )
 6343|      0|        {
 6344|      0|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6345|      0|            _res = invalid_else_stmt_var;
 6346|      0|            goto done;
 6347|      0|        }
 6348|      0|        p->mark = _mark;
 6349|      0|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6350|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_else_stmt"));
 6351|      0|    }
 6352|    168|    { // 'else' &&':' block
 6353|    168|        if (p->error_indicator) {
  ------------------
  |  Branch (6353:13): [True: 0, False: 168]
  ------------------
 6354|      0|            p->level--;
 6355|      0|            return NULL;
 6356|      0|        }
 6357|    168|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6358|    168|        Token * _keyword;
 6359|    168|        Token * _literal;
 6360|    168|        asdl_stmt_seq* b;
 6361|    168|        if (
 6362|    168|            (_keyword = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (6362:13): [True: 6, False: 162]
  ------------------
 6363|      6|            &&
 6364|      6|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (6364:13): [True: 6, False: 0]
  ------------------
 6365|      6|            &&
 6366|      6|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6366:13): [True: 6, False: 0]
  ------------------
 6367|    168|        )
 6368|      6|        {
 6369|      6|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6370|      6|            _res = b;
 6371|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6371:18): [True: 0, False: 6]
  |  Branch (6371:34): [True: 0, False: 6]
  |  Branch (6371:57): [True: 0, False: 0]
  ------------------
 6372|      0|                p->error_indicator = 1;
 6373|      0|                p->level--;
 6374|      0|                return NULL;
 6375|      0|            }
 6376|      6|            goto done;
 6377|      6|        }
 6378|    162|        p->mark = _mark;
 6379|    162|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6380|    162|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' &&':' block"));
 6381|    162|    }
 6382|    162|    _res = NULL;
 6383|    168|  done:
 6384|    168|    p->level--;
 6385|    168|    return _res;
 6386|    162|}
parser.c:_tmp_7_rule:
28848|   110k|{
28849|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28849:9): [True: 0, False: 110k]
  |  Branch (28849:35): [True: 0, False: 110k]
  ------------------
28850|      0|        _Pypegen_stack_overflow(p);
28851|      0|    }
28852|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (28852:9): [True: 0, False: 110k]
  ------------------
28853|      0|        p->level--;
28854|      0|        return NULL;
28855|      0|    }
28856|   110k|    void * _res = NULL;
28857|   110k|    int _mark = p->mark;
28858|   110k|    { // 'class'
28859|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28859:13): [True: 0, False: 110k]
  ------------------
28860|      0|            p->level--;
28861|      0|            return NULL;
28862|      0|        }
28863|   110k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class'"));
28864|   110k|        Token * _keyword;
28865|   110k|        if (
28866|   110k|            (_keyword = _PyPegen_expect_token(p, 717))  // token='class'
  ------------------
  |  Branch (28866:13): [True: 0, False: 110k]
  ------------------
28867|   110k|        )
28868|      0|        {
28869|      0|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class'"));
28870|      0|            _res = _keyword;
28871|      0|            goto done;
28872|      0|        }
28873|   110k|        p->mark = _mark;
28874|   110k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
28875|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class'"));
28876|   110k|    }
28877|      0|    { // '@'
28878|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28878:13): [True: 0, False: 110k]
  ------------------
28879|      0|            p->level--;
28880|      0|            return NULL;
28881|      0|        }
28882|   110k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
28883|   110k|        Token * _literal;
28884|   110k|        if (
28885|   110k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (28885:13): [True: 0, False: 110k]
  ------------------
28886|   110k|        )
28887|      0|        {
28888|      0|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
28889|      0|            _res = _literal;
28890|      0|            goto done;
28891|      0|        }
28892|   110k|        p->mark = _mark;
28893|   110k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
28894|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
28895|   110k|    }
28896|   110k|    _res = NULL;
28897|   110k|  done:
28898|   110k|    p->level--;
28899|   110k|    return _res;
28900|   110k|}
parser.c:_tmp_8_rule:
28905|   110k|{
28906|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28906:9): [True: 0, False: 110k]
  |  Branch (28906:35): [True: 0, False: 110k]
  ------------------
28907|      0|        _Pypegen_stack_overflow(p);
28908|      0|    }
28909|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (28909:9): [True: 0, False: 110k]
  ------------------
28910|      0|        p->level--;
28911|      0|        return NULL;
28912|      0|    }
28913|   110k|    void * _res = NULL;
28914|   110k|    int _mark = p->mark;
28915|   110k|    { // 'with'
28916|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28916:13): [True: 0, False: 110k]
  ------------------
28917|      0|            p->level--;
28918|      0|            return NULL;
28919|      0|        }
28920|   110k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with'"));
28921|   110k|        Token * _keyword;
28922|   110k|        if (
28923|   110k|            (_keyword = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (28923:13): [True: 0, False: 110k]
  ------------------
28924|   110k|        )
28925|      0|        {
28926|      0|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with'"));
28927|      0|            _res = _keyword;
28928|      0|            goto done;
28929|      0|        }
28930|   110k|        p->mark = _mark;
28931|   110k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
28932|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with'"));
28933|   110k|    }
28934|      0|    { // 'async'
28935|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28935:13): [True: 0, False: 110k]
  ------------------
28936|      0|            p->level--;
28937|      0|            return NULL;
28938|      0|        }
28939|   110k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28940|   110k|        Token * _keyword;
28941|   110k|        if (
28942|   110k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28942:13): [True: 0, False: 110k]
  ------------------
28943|   110k|        )
28944|      0|        {
28945|      0|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
28946|      0|            _res = _keyword;
28947|      0|            goto done;
28948|      0|        }
28949|   110k|        p->mark = _mark;
28950|   110k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
28951|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
28952|   110k|    }
28953|   110k|    _res = NULL;
28954|   110k|  done:
28955|   110k|    p->level--;
28956|   110k|    return _res;
28957|   110k|}
parser.c:expressions_rule:
11431|     78|{
11432|     78|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    156|#  define MAXSTACK 6000
  ------------------
  |  Branch (11432:9): [True: 0, False: 78]
  |  Branch (11432:35): [True: 0, False: 78]
  ------------------
11433|      0|        _Pypegen_stack_overflow(p);
11434|      0|    }
11435|     78|    if (p->error_indicator) {
  ------------------
  |  Branch (11435:9): [True: 0, False: 78]
  ------------------
11436|      0|        p->level--;
11437|      0|        return NULL;
11438|      0|    }
11439|     78|    expr_ty _res = NULL;
11440|     78|    int _mark = p->mark;
11441|     78|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11441:9): [True: 78, False: 0]
  |  Branch (11441:31): [True: 0, False: 78]
  ------------------
11442|      0|        p->error_indicator = 1;
11443|      0|        p->level--;
11444|      0|        return NULL;
11445|      0|    }
11446|     78|    int _start_lineno = p->tokens[_mark]->lineno;
11447|     78|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     78|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 78]
  |  |  ------------------
  ------------------
11448|     78|    int _start_col_offset = p->tokens[_mark]->col_offset;
11449|     78|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     78|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 78]
  |  |  ------------------
  ------------------
11450|     78|    { // expression ((',' expression))+ ','?
11451|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (11451:13): [True: 0, False: 78]
  ------------------
11452|      0|            p->level--;
11453|      0|            return NULL;
11454|      0|        }
11455|     78|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11456|     78|        void *_opt_var;
11457|     78|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     78|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 78]
  |  |  ------------------
  ------------------
11458|     78|        expr_ty a;
11459|     78|        asdl_seq * b;
11460|     78|        if (
11461|     78|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11461:13): [True: 78, False: 0]
  ------------------
11462|     78|            &&
11463|     78|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11463:13): [True: 0, False: 78]
  ------------------
11464|      0|            &&
11465|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11465:13): [True: 0, False: 0]
  ------------------
11466|     78|        )
11467|      0|        {
11468|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11469|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11470|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11470:17): [True: 0, False: 0]
  ------------------
11471|      0|                p->level--;
11472|      0|                return NULL;
11473|      0|            }
11474|      0|            int _end_lineno = _token->end_lineno;
11475|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11476|      0|            int _end_col_offset = _token->end_col_offset;
11477|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11478|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11479|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11479:18): [True: 0, False: 0]
  |  Branch (11479:34): [True: 0, False: 0]
  |  Branch (11479:57): [True: 0, False: 0]
  ------------------
11480|      0|                p->error_indicator = 1;
11481|      0|                p->level--;
11482|      0|                return NULL;
11483|      0|            }
11484|      0|            goto done;
11485|      0|        }
11486|     78|        p->mark = _mark;
11487|     78|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11488|     78|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11489|     78|    }
11490|      0|    { // expression ','
11491|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (11491:13): [True: 0, False: 78]
  ------------------
11492|      0|            p->level--;
11493|      0|            return NULL;
11494|      0|        }
11495|     78|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11496|     78|        Token * _literal;
11497|     78|        expr_ty a;
11498|     78|        if (
11499|     78|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11499:13): [True: 78, False: 0]
  ------------------
11500|     78|            &&
11501|     78|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11501:13): [True: 0, False: 78]
  ------------------
11502|     78|        )
11503|      0|        {
11504|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11505|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11506|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11506:17): [True: 0, False: 0]
  ------------------
11507|      0|                p->level--;
11508|      0|                return NULL;
11509|      0|            }
11510|      0|            int _end_lineno = _token->end_lineno;
11511|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11512|      0|            int _end_col_offset = _token->end_col_offset;
11513|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11514|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  233|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11515|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11515:18): [True: 0, False: 0]
  |  Branch (11515:34): [True: 0, False: 0]
  |  Branch (11515:57): [True: 0, False: 0]
  ------------------
11516|      0|                p->error_indicator = 1;
11517|      0|                p->level--;
11518|      0|                return NULL;
11519|      0|            }
11520|      0|            goto done;
11521|      0|        }
11522|     78|        p->mark = _mark;
11523|     78|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11524|     78|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11525|     78|    }
11526|      0|    { // expression
11527|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (11527:13): [True: 0, False: 78]
  ------------------
11528|      0|            p->level--;
11529|      0|            return NULL;
11530|      0|        }
11531|     78|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11532|     78|        expr_ty expression_var;
11533|     78|        if (
11534|     78|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (11534:13): [True: 78, False: 0]
  ------------------
11535|     78|        )
11536|     78|        {
11537|     78|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11538|     78|            _res = expression_var;
11539|     78|            goto done;
11540|     78|        }
11541|      0|        p->mark = _mark;
11542|      0|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11543|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11544|      0|    }
11545|      0|    _res = NULL;
11546|     78|  done:
11547|     78|    p->level--;
11548|     78|    return _res;
11549|      0|}
parser.c:_loop1_55_rule:
31805|     78|{
31806|     78|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    156|#  define MAXSTACK 6000
  ------------------
  |  Branch (31806:9): [True: 0, False: 78]
  |  Branch (31806:35): [True: 0, False: 78]
  ------------------
31807|      0|        _Pypegen_stack_overflow(p);
31808|      0|    }
31809|     78|    if (p->error_indicator) {
  ------------------
  |  Branch (31809:9): [True: 0, False: 78]
  ------------------
31810|      0|        p->level--;
31811|      0|        return NULL;
31812|      0|    }
31813|     78|    void *_res = NULL;
31814|     78|    int _mark = p->mark;
31815|     78|    void **_children = PyMem_Malloc(sizeof(void *));
31816|     78|    if (!_children) {
  ------------------
  |  Branch (31816:9): [True: 0, False: 78]
  ------------------
31817|      0|        p->error_indicator = 1;
31818|      0|        PyErr_NoMemory();
31819|      0|        p->level--;
31820|      0|        return NULL;
31821|      0|    }
31822|     78|    Py_ssize_t _children_capacity = 1;
31823|     78|    Py_ssize_t _n = 0;
31824|     78|    { // (',' expression)
31825|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (31825:13): [True: 0, False: 78]
  ------------------
31826|      0|            p->level--;
31827|      0|            return NULL;
31828|      0|        }
31829|     78|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
31830|     78|        void *_tmp_16_var;
31831|     78|        while (
31832|     78|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (31832:13): [True: 0, False: 78]
  ------------------
31833|     78|        )
31834|      0|        {
31835|      0|            _res = _tmp_16_var;
31836|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31836:17): [True: 0, False: 0]
  ------------------
31837|      0|                _children_capacity *= 2;
31838|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31839|      0|                if (!_new_children) {
  ------------------
  |  Branch (31839:21): [True: 0, False: 0]
  ------------------
31840|      0|                    PyMem_Free(_children);
31841|      0|                    p->error_indicator = 1;
31842|      0|                    PyErr_NoMemory();
31843|      0|                    p->level--;
31844|      0|                    return NULL;
31845|      0|                }
31846|      0|                _children = _new_children;
31847|      0|            }
31848|      0|            _children[_n++] = _res;
31849|      0|            _mark = p->mark;
31850|      0|        }
31851|     78|        p->mark = _mark;
31852|     78|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
31853|     78|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
31854|     78|    }
31855|     78|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31855:9): [True: 78, False: 0]
  |  Branch (31855:20): [True: 0, False: 0]
  ------------------
31856|     78|        PyMem_Free(_children);
31857|     78|        p->level--;
31858|     78|        return NULL;
31859|     78|    }
31860|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31861|      0|    if (!_seq) {
  ------------------
  |  Branch (31861:9): [True: 0, False: 0]
  ------------------
31862|      0|        PyMem_Free(_children);
31863|      0|        p->error_indicator = 1;
31864|      0|        PyErr_NoMemory();
31865|      0|        p->level--;
31866|      0|        return NULL;
31867|      0|    }
31868|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31868:28): [True: 0, False: 0]
  ------------------
31869|      0|    PyMem_Free(_children);
31870|      0|    p->level--;
31871|      0|    return _seq;
31872|      0|}
parser.c:_tmp_9_rule:
28962|   110k|{
28963|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28963:9): [True: 0, False: 110k]
  |  Branch (28963:35): [True: 0, False: 110k]
  ------------------
28964|      0|        _Pypegen_stack_overflow(p);
28965|      0|    }
28966|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (28966:9): [True: 0, False: 110k]
  ------------------
28967|      0|        p->level--;
28968|      0|        return NULL;
28969|      0|    }
28970|   110k|    void * _res = NULL;
28971|   110k|    int _mark = p->mark;
28972|   110k|    { // 'for'
28973|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28973:13): [True: 0, False: 110k]
  ------------------
28974|      0|            p->level--;
28975|      0|            return NULL;
28976|      0|        }
28977|   110k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for'"));
28978|   110k|        Token * _keyword;
28979|   110k|        if (
28980|   110k|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (28980:13): [True: 2, False: 110k]
  ------------------
28981|   110k|        )
28982|      2|        {
28983|      2|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for'"));
28984|      2|            _res = _keyword;
28985|      2|            goto done;
28986|      2|        }
28987|   110k|        p->mark = _mark;
28988|   110k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
28989|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for'"));
28990|   110k|    }
28991|      0|    { // 'async'
28992|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (28992:13): [True: 0, False: 110k]
  ------------------
28993|      0|            p->level--;
28994|      0|            return NULL;
28995|      0|        }
28996|   110k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28997|   110k|        Token * _keyword;
28998|   110k|        if (
28999|   110k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28999:13): [True: 0, False: 110k]
  ------------------
29000|   110k|        )
29001|      0|        {
29002|      0|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
29003|      0|            _res = _keyword;
29004|      0|            goto done;
29005|      0|        }
29006|   110k|        p->mark = _mark;
29007|   110k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
29008|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
29009|   110k|    }
29010|   110k|    _res = NULL;
29011|   110k|  done:
29012|   110k|    p->level--;
29013|   110k|    return _res;
29014|   110k|}
parser.c:for_stmt_rule:
 6487|      2|{
 6488|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (6488:9): [True: 0, False: 2]
  |  Branch (6488:35): [True: 0, False: 2]
  ------------------
 6489|      0|        _Pypegen_stack_overflow(p);
 6490|      0|    }
 6491|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (6491:9): [True: 0, False: 2]
  ------------------
 6492|      0|        p->level--;
 6493|      0|        return NULL;
 6494|      0|    }
 6495|      2|    stmt_ty _res = NULL;
 6496|      2|    int _mark = p->mark;
 6497|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6497:9): [True: 0, False: 2]
  |  Branch (6497:31): [True: 0, False: 0]
  ------------------
 6498|      0|        p->error_indicator = 1;
 6499|      0|        p->level--;
 6500|      0|        return NULL;
 6501|      0|    }
 6502|      2|    int _start_lineno = p->tokens[_mark]->lineno;
 6503|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6504|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6505|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6506|      2|    if (p->call_invalid_rules) { // invalid_for_stmt
  ------------------
  |  Branch (6506:9): [True: 0, False: 2]
  ------------------
 6507|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6507:13): [True: 0, False: 0]
  ------------------
 6508|      0|            p->level--;
 6509|      0|            return NULL;
 6510|      0|        }
 6511|      0|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6512|      0|        void *invalid_for_stmt_var;
 6513|      0|        if (
 6514|      0|            (invalid_for_stmt_var = invalid_for_stmt_rule(p))  // invalid_for_stmt
  ------------------
  |  Branch (6514:13): [True: 0, False: 0]
  ------------------
 6515|      0|        )
 6516|      0|        {
 6517|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6518|      0|            _res = invalid_for_stmt_var;
 6519|      0|            goto done;
 6520|      0|        }
 6521|      0|        p->mark = _mark;
 6522|      0|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6523|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_stmt"));
 6524|      0|    }
 6525|      2|    { // 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6526|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (6526:13): [True: 0, False: 2]
  ------------------
 6527|      0|            p->level--;
 6528|      0|            return NULL;
 6529|      0|        }
 6530|      2|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6531|      2|        int _cut_var = 0;
 6532|      2|        Token * _keyword;
 6533|      2|        Token * _keyword_1;
 6534|      2|        Token * _literal;
 6535|      2|        asdl_stmt_seq* b;
 6536|      2|        void *el;
 6537|      2|        expr_ty ex;
 6538|      2|        expr_ty t;
 6539|      2|        void *tc;
 6540|      2|        if (
 6541|      2|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (6541:13): [True: 2, False: 0]
  ------------------
 6542|      2|            &&
 6543|      2|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (6543:13): [True: 2, False: 0]
  ------------------
 6544|      2|            &&
 6545|      2|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (6545:13): [True: 2, False: 0]
  ------------------
 6546|      2|            &&
 6547|      2|            (_cut_var = 1)
  ------------------
  |  Branch (6547:13): [True: 2, False: 0]
  ------------------
 6548|      2|            &&
 6549|      2|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (6549:13): [True: 2, False: 0]
  ------------------
 6550|      2|            &&
 6551|      2|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6551:13): [True: 2, False: 0]
  ------------------
 6552|      2|            &&
 6553|      2|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      2|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6553:13): [True: 2, False: 0]
  ------------------
 6554|      2|            &&
 6555|      2|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6555:13): [True: 2, False: 0]
  ------------------
 6556|      2|            &&
 6557|      2|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6557:13): [True: 2, False: 0]
  ------------------
 6558|      2|        )
 6559|      2|        {
 6560|      2|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6561|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6562|      2|            if (_token == NULL) {
  ------------------
  |  Branch (6562:17): [True: 0, False: 2]
  ------------------
 6563|      0|                p->level--;
 6564|      0|                return NULL;
 6565|      0|            }
 6566|      2|            int _end_lineno = _token->end_lineno;
 6567|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6568|      2|            int _end_col_offset = _token->end_col_offset;
 6569|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
 6570|      2|            _res = _PyAST_For ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6571|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6571:18): [True: 0, False: 2]
  |  Branch (6571:34): [True: 0, False: 2]
  |  Branch (6571:57): [True: 0, False: 0]
  ------------------
 6572|      0|                p->error_indicator = 1;
 6573|      0|                p->level--;
 6574|      0|                return NULL;
 6575|      0|            }
 6576|      2|            goto done;
 6577|      2|        }
 6578|      0|        p->mark = _mark;
 6579|      0|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6580|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6581|      0|        if (_cut_var) {
  ------------------
  |  Branch (6581:13): [True: 0, False: 0]
  ------------------
 6582|      0|            p->level--;
 6583|      0|            return NULL;
 6584|      0|        }
 6585|      0|    }
 6586|      0|    { // 'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6587|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6587:13): [True: 0, False: 0]
  ------------------
 6588|      0|            p->level--;
 6589|      0|            return NULL;
 6590|      0|        }
 6591|      0|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6592|      0|        int _cut_var = 0;
 6593|      0|        Token * _keyword;
 6594|      0|        Token * _keyword_1;
 6595|      0|        Token * _keyword_2;
 6596|      0|        Token * _literal;
 6597|      0|        asdl_stmt_seq* b;
 6598|      0|        void *el;
 6599|      0|        expr_ty ex;
 6600|      0|        expr_ty t;
 6601|      0|        void *tc;
 6602|      0|        if (
 6603|      0|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (6603:13): [True: 0, False: 0]
  ------------------
 6604|      0|            &&
 6605|      0|            (_keyword_1 = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (6605:13): [True: 0, False: 0]
  ------------------
 6606|      0|            &&
 6607|      0|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (6607:13): [True: 0, False: 0]
  ------------------
 6608|      0|            &&
 6609|      0|            (_keyword_2 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (6609:13): [True: 0, False: 0]
  ------------------
 6610|      0|            &&
 6611|      0|            (_cut_var = 1)
  ------------------
  |  Branch (6611:13): [True: 0, False: 0]
  ------------------
 6612|      0|            &&
 6613|      0|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (6613:13): [True: 0, False: 0]
  ------------------
 6614|      0|            &&
 6615|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6615:13): [True: 0, False: 0]
  ------------------
 6616|      0|            &&
 6617|      0|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      0|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6617:13): [True: 0, False: 0]
  ------------------
 6618|      0|            &&
 6619|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6619:13): [True: 0, False: 0]
  ------------------
 6620|      0|            &&
 6621|      0|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6621:13): [True: 0, False: 0]
  ------------------
 6622|      0|        )
 6623|      0|        {
 6624|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6625|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6626|      0|            if (_token == NULL) {
  ------------------
  |  Branch (6626:17): [True: 0, False: 0]
  ------------------
 6627|      0|                p->level--;
 6628|      0|                return NULL;
 6629|      0|            }
 6630|      0|            int _end_lineno = _token->end_lineno;
 6631|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6632|      0|            int _end_col_offset = _token->end_col_offset;
 6633|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6634|      0|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async for loops are" , _PyAST_AsyncFor ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6635|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6635:18): [True: 0, False: 0]
  |  Branch (6635:34): [True: 0, False: 0]
  |  Branch (6635:57): [True: 0, False: 0]
  ------------------
 6636|      0|                p->error_indicator = 1;
 6637|      0|                p->level--;
 6638|      0|                return NULL;
 6639|      0|            }
 6640|      0|            goto done;
 6641|      0|        }
 6642|      0|        p->mark = _mark;
 6643|      0|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6644|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6645|      0|        if (_cut_var) {
  ------------------
  |  Branch (6645:13): [True: 0, False: 0]
  ------------------
 6646|      0|            p->level--;
 6647|      0|            return NULL;
 6648|      0|        }
 6649|      0|    }
 6650|      0|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (6650:9): [True: 0, False: 0]
  ------------------
 6651|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6651:13): [True: 0, False: 0]
  ------------------
 6652|      0|            p->level--;
 6653|      0|            return NULL;
 6654|      0|        }
 6655|      0|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6656|      0|        void *invalid_for_target_var;
 6657|      0|        if (
 6658|      0|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (6658:13): [True: 0, False: 0]
  ------------------
 6659|      0|        )
 6660|      0|        {
 6661|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6662|      0|            _res = invalid_for_target_var;
 6663|      0|            goto done;
 6664|      0|        }
 6665|      0|        p->mark = _mark;
 6666|      0|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6667|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
 6668|      0|    }
 6669|      0|    _res = NULL;
 6670|      2|  done:
 6671|      2|    p->level--;
 6672|      2|    return _res;
 6673|      0|}
parser.c:match_stmt_rule:
 7764|   110k|{
 7765|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7765:9): [True: 0, False: 110k]
  |  Branch (7765:35): [True: 0, False: 110k]
  ------------------
 7766|      0|        _Pypegen_stack_overflow(p);
 7767|      0|    }
 7768|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (7768:9): [True: 0, False: 110k]
  ------------------
 7769|      0|        p->level--;
 7770|      0|        return NULL;
 7771|      0|    }
 7772|   110k|    stmt_ty _res = NULL;
 7773|   110k|    int _mark = p->mark;
 7774|   110k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7774:9): [True: 0, False: 110k]
  |  Branch (7774:31): [True: 0, False: 0]
  ------------------
 7775|      0|        p->error_indicator = 1;
 7776|      0|        p->level--;
 7777|      0|        return NULL;
 7778|      0|    }
 7779|   110k|    int _start_lineno = p->tokens[_mark]->lineno;
 7780|   110k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 7781|   110k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7782|   110k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   110k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 7783|   110k|    { // "match" subject_expr ':' NEWLINE INDENT case_block+ DEDENT
 7784|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (7784:13): [True: 0, False: 110k]
  ------------------
 7785|      0|            p->level--;
 7786|      0|            return NULL;
 7787|      0|        }
 7788|   110k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7789|   110k|        expr_ty _keyword;
 7790|   110k|        Token * _literal;
 7791|   110k|        asdl_match_case_seq* cases;
 7792|   110k|        Token * dedent_var;
 7793|   110k|        Token * indent_var;
 7794|   110k|        Token * newline_var;
 7795|   110k|        expr_ty subject;
 7796|   110k|        if (
 7797|   110k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (7797:13): [True: 0, False: 110k]
  ------------------
 7798|      0|            &&
 7799|      0|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (7799:13): [True: 0, False: 0]
  ------------------
 7800|      0|            &&
 7801|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7801:13): [True: 0, False: 0]
  ------------------
 7802|      0|            &&
 7803|      0|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  |  Branch (7803:13): [True: 0, False: 0]
  ------------------
 7804|      0|            &&
 7805|      0|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|      0|#define INDENT          5
  ------------------
  |  Branch (7805:13): [True: 0, False: 0]
  ------------------
 7806|      0|            &&
 7807|      0|            (cases = (asdl_match_case_seq*)_loop1_38_rule(p))  // case_block+
  ------------------
  |  Branch (7807:13): [True: 0, False: 0]
  ------------------
 7808|      0|            &&
 7809|      0|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|      0|#define DEDENT          6
  ------------------
  |  Branch (7809:13): [True: 0, False: 0]
  ------------------
 7810|   110k|        )
 7811|      0|        {
 7812|      0|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7813|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7814|      0|            if (_token == NULL) {
  ------------------
  |  Branch (7814:17): [True: 0, False: 0]
  ------------------
 7815|      0|                p->level--;
 7816|      0|                return NULL;
 7817|      0|            }
 7818|      0|            int _end_lineno = _token->end_lineno;
 7819|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7820|      0|            int _end_col_offset = _token->end_col_offset;
 7821|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7822|      0|            _res = CHECK_VERSION ( stmt_ty , 10 , "Pattern matching is" , _PyAST_Match ( subject , cases , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7823|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7823:18): [True: 0, False: 0]
  |  Branch (7823:34): [True: 0, False: 0]
  |  Branch (7823:57): [True: 0, False: 0]
  ------------------
 7824|      0|                p->error_indicator = 1;
 7825|      0|                p->level--;
 7826|      0|                return NULL;
 7827|      0|            }
 7828|      0|            goto done;
 7829|      0|        }
 7830|   110k|        p->mark = _mark;
 7831|   110k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7832|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7833|   110k|    }
 7834|   110k|    if (p->call_invalid_rules) { // invalid_match_stmt
  ------------------
  |  Branch (7834:9): [True: 54.1k, False: 55.9k]
  ------------------
 7835|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (7835:13): [True: 0, False: 54.1k]
  ------------------
 7836|      0|            p->level--;
 7837|      0|            return NULL;
 7838|      0|        }
 7839|  54.1k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7840|  54.1k|        void *invalid_match_stmt_var;
 7841|  54.1k|        if (
 7842|  54.1k|            (invalid_match_stmt_var = invalid_match_stmt_rule(p))  // invalid_match_stmt
  ------------------
  |  Branch (7842:13): [True: 0, False: 54.1k]
  ------------------
 7843|  54.1k|        )
 7844|      0|        {
 7845|      0|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7846|      0|            _res = invalid_match_stmt_var;
 7847|      0|            goto done;
 7848|      0|        }
 7849|  54.1k|        p->mark = _mark;
 7850|  54.1k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7851|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_match_stmt"));
 7852|  54.1k|    }
 7853|   110k|    _res = NULL;
 7854|   110k|  done:
 7855|   110k|    p->level--;
 7856|   110k|    return _res;
 7857|   110k|}
parser.c:invalid_match_stmt_rule:
25576|  54.1k|{
25577|  54.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25577:9): [True: 0, False: 54.1k]
  |  Branch (25577:35): [True: 0, False: 54.1k]
  ------------------
25578|      0|        _Pypegen_stack_overflow(p);
25579|      0|    }
25580|  54.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (25580:9): [True: 0, False: 54.1k]
  ------------------
25581|      0|        p->level--;
25582|      0|        return NULL;
25583|      0|    }
25584|  54.1k|    void * _res = NULL;
25585|  54.1k|    int _mark = p->mark;
25586|  54.1k|    { // "match" subject_expr NEWLINE
25587|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25587:13): [True: 0, False: 54.1k]
  ------------------
25588|      0|            p->level--;
25589|      0|            return NULL;
25590|      0|        }
25591|  54.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25592|  54.1k|        expr_ty _keyword;
25593|  54.1k|        Token * newline_var;
25594|  54.1k|        expr_ty subject_expr_var;
25595|  54.1k|        if (
25596|  54.1k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25596:13): [True: 0, False: 54.1k]
  ------------------
25597|      0|            &&
25598|      0|            (subject_expr_var = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (25598:13): [True: 0, False: 0]
  ------------------
25599|      0|            &&
25600|      0|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  |  Branch (25600:13): [True: 0, False: 0]
  ------------------
25601|  54.1k|        )
25602|      0|        {
25603|      0|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25604|      0|            _res = CHECK_VERSION ( void* , 10 , "Pattern matching is" , RAISE_SYNTAX_ERROR ( "expected ':'" ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
25605|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25605:18): [True: 0, False: 0]
  |  Branch (25605:34): [True: 0, False: 0]
  |  Branch (25605:57): [True: 0, False: 0]
  ------------------
25606|      0|                p->error_indicator = 1;
25607|      0|                p->level--;
25608|      0|                return NULL;
25609|      0|            }
25610|      0|            goto done;
25611|      0|        }
25612|  54.1k|        p->mark = _mark;
25613|  54.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25614|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25615|  54.1k|    }
25616|      0|    { // "match" subject_expr ':' NEWLINE !INDENT
25617|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25617:13): [True: 0, False: 54.1k]
  ------------------
25618|      0|            p->level--;
25619|      0|            return NULL;
25620|      0|        }
25621|  54.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25622|  54.1k|        Token * _literal;
25623|  54.1k|        expr_ty a;
25624|  54.1k|        Token * newline_var;
25625|  54.1k|        expr_ty subject;
25626|  54.1k|        if (
25627|  54.1k|            (a = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25627:13): [True: 0, False: 54.1k]
  ------------------
25628|      0|            &&
25629|      0|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (25629:13): [True: 0, False: 0]
  ------------------
25630|      0|            &&
25631|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25631:13): [True: 0, False: 0]
  ------------------
25632|      0|            &&
25633|      0|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  |  Branch (25633:13): [True: 0, False: 0]
  ------------------
25634|      0|            &&
25635|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|      0|#define INDENT          5
  ------------------
  |  Branch (25635:13): [True: 0, False: 0]
  ------------------
25636|  54.1k|        )
25637|      0|        {
25638|      0|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25639|      0|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'match' statement on line %d" , a -> lineno );
  ------------------
  |  |  202|      0|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25640|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25640:18): [True: 0, False: 0]
  |  Branch (25640:34): [True: 0, False: 0]
  |  Branch (25640:57): [True: 0, False: 0]
  ------------------
25641|      0|                p->error_indicator = 1;
25642|      0|                p->level--;
25643|      0|                return NULL;
25644|      0|            }
25645|      0|            goto done;
25646|      0|        }
25647|  54.1k|        p->mark = _mark;
25648|  54.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25649|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25650|  54.1k|    }
25651|      0|    { // "case" patterns guard? ':' block
25652|  54.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25652:13): [True: 0, False: 54.1k]
  ------------------
25653|      0|            p->level--;
25654|      0|            return NULL;
25655|      0|        }
25656|  54.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
25657|  54.1k|        void *_opt_var;
25658|  54.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  54.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.1k]
  |  |  ------------------
  ------------------
25659|  54.1k|        expr_ty a;
25660|  54.1k|        Token * b;
25661|  54.1k|        asdl_stmt_seq* block_var;
25662|  54.1k|        pattern_ty patterns_var;
25663|  54.1k|        if (
25664|  54.1k|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (25664:13): [True: 0, False: 54.1k]
  ------------------
25665|      0|            &&
25666|      0|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  Branch (25666:13): [True: 0, False: 0]
  ------------------
25667|      0|            &&
25668|      0|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (25668:13): [True: 0, False: 0]
  ------------------
25669|      0|            &&
25670|      0|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25670:13): [True: 0, False: 0]
  ------------------
25671|      0|            &&
25672|      0|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (25672:13): [True: 0, False: 0]
  ------------------
25673|  54.1k|        )
25674|      0|        {
25675|      0|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
25676|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "case statement must be inside match statement" );
  ------------------
  |  |  205|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25677|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25677:18): [True: 0, False: 0]
  |  Branch (25677:34): [True: 0, False: 0]
  |  Branch (25677:57): [True: 0, False: 0]
  ------------------
25678|      0|                p->error_indicator = 1;
25679|      0|                p->level--;
25680|      0|                return NULL;
25681|      0|            }
25682|      0|            goto done;
25683|      0|        }
25684|  54.1k|        p->mark = _mark;
25685|  54.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25686|  54.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
25687|  54.1k|    }
25688|  54.1k|    _res = NULL;
25689|  54.1k|  done:
25690|  54.1k|    p->level--;
25691|  54.1k|    return _res;
25692|  54.1k|}
parser.c:simple_stmts_rule:
 1490|   110k|{
 1491|   110k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   220k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1491:9): [True: 0, False: 110k]
  |  Branch (1491:35): [True: 0, False: 110k]
  ------------------
 1492|      0|        _Pypegen_stack_overflow(p);
 1493|      0|    }
 1494|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (1494:9): [True: 0, False: 110k]
  ------------------
 1495|      0|        p->level--;
 1496|      0|        return NULL;
 1497|      0|    }
 1498|   110k|    asdl_stmt_seq* _res = NULL;
 1499|   110k|    int _mark = p->mark;
 1500|   110k|    { // simple_stmt !';' NEWLINE
 1501|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (1501:13): [True: 0, False: 110k]
  ------------------
 1502|      0|            p->level--;
 1503|      0|            return NULL;
 1504|      0|        }
 1505|   110k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1506|   110k|        stmt_ty a;
 1507|   110k|        Token * newline_var;
 1508|   110k|        if (
 1509|   110k|            (a = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (1509:13): [True: 959, False: 109k]
  ------------------
 1510|    959|            &&
 1511|    959|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 13)  // token=';'
  ------------------
  |  Branch (1511:13): [True: 959, False: 0]
  ------------------
 1512|    959|            &&
 1513|    959|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    959|#define NEWLINE         4
  ------------------
  |  Branch (1513:13): [True: 959, False: 0]
  ------------------
 1514|   110k|        )
 1515|    959|        {
 1516|    959|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1517|    959|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a );
 1518|    959|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1518:18): [True: 0, False: 959]
  |  Branch (1518:34): [True: 0, False: 959]
  |  Branch (1518:57): [True: 0, False: 0]
  ------------------
 1519|      0|                p->error_indicator = 1;
 1520|      0|                p->level--;
 1521|      0|                return NULL;
 1522|      0|            }
 1523|    959|            goto done;
 1524|    959|        }
 1525|   109k|        p->mark = _mark;
 1526|   109k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1527|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1528|   109k|    }
 1529|      0|    { // ';'.simple_stmt+ ';'? NEWLINE
 1530|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (1530:13): [True: 0, False: 109k]
  ------------------
 1531|      0|            p->level--;
 1532|      0|            return NULL;
 1533|      0|        }
 1534|   109k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1535|   109k|        void *_opt_var;
 1536|   109k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   109k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 109k]
  |  |  ------------------
  ------------------
 1537|   109k|        asdl_stmt_seq* a;
 1538|   109k|        Token * newline_var;
 1539|   109k|        if (
 1540|   109k|            (a = (asdl_stmt_seq*)_gather_4_rule(p))  // ';'.simple_stmt+
  ------------------
  |  Branch (1540:13): [True: 0, False: 109k]
  ------------------
 1541|      0|            &&
 1542|      0|            (_opt_var = _PyPegen_expect_token(p, 13), !p->error_indicator)  // ';'?
  ------------------
  |  Branch (1542:13): [True: 0, False: 0]
  ------------------
 1543|      0|            &&
 1544|      0|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  |  Branch (1544:13): [True: 0, False: 0]
  ------------------
 1545|   109k|        )
 1546|      0|        {
 1547|      0|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1548|      0|            _res = a;
 1549|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1549:18): [True: 0, False: 0]
  |  Branch (1549:34): [True: 0, False: 0]
  |  Branch (1549:57): [True: 0, False: 0]
  ------------------
 1550|      0|                p->error_indicator = 1;
 1551|      0|                p->level--;
 1552|      0|                return NULL;
 1553|      0|            }
 1554|      0|            goto done;
 1555|      0|        }
 1556|   109k|        p->mark = _mark;
 1557|   109k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1558|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1559|   109k|    }
 1560|   109k|    _res = NULL;
 1561|   110k|  done:
 1562|   110k|    p->level--;
 1563|   110k|    return _res;
 1564|   109k|}
parser.c:_gather_4_rule:
28655|   109k|{
28656|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   218k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28656:9): [True: 0, False: 109k]
  |  Branch (28656:35): [True: 0, False: 109k]
  ------------------
28657|      0|        _Pypegen_stack_overflow(p);
28658|      0|    }
28659|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (28659:9): [True: 0, False: 109k]
  ------------------
28660|      0|        p->level--;
28661|      0|        return NULL;
28662|      0|    }
28663|   109k|    asdl_seq * _res = NULL;
28664|   109k|    int _mark = p->mark;
28665|   109k|    { // simple_stmt _loop0_3
28666|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (28666:13): [True: 0, False: 109k]
  ------------------
28667|      0|            p->level--;
28668|      0|            return NULL;
28669|      0|        }
28670|   109k|        D(fprintf(stderr, "%*c> _gather_4[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
28671|   109k|        stmt_ty elem;
28672|   109k|        asdl_seq * seq;
28673|   109k|        if (
28674|   109k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (28674:13): [True: 0, False: 109k]
  ------------------
28675|      0|            &&
28676|      0|            (seq = _loop0_3_rule(p))  // _loop0_3
  ------------------
  |  Branch (28676:13): [True: 0, False: 0]
  ------------------
28677|   109k|        )
28678|      0|        {
28679|      0|            D(fprintf(stderr, "%*c+ _gather_4[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
28680|      0|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
28681|      0|            goto done;
28682|      0|        }
28683|   109k|        p->mark = _mark;
28684|   109k|        D(fprintf(stderr, "%*c%s _gather_4[%d-%d]: %s failed!\n", p->level, ' ',
28685|   109k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt _loop0_3"));
28686|   109k|    }
28687|   109k|    _res = NULL;
28688|   109k|  done:
28689|   109k|    p->level--;
28690|   109k|    return _res;
28691|   109k|}
parser.c:eval_rule:
 1096|     78|{
 1097|     78|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    156|#  define MAXSTACK 6000
  ------------------
  |  Branch (1097:9): [True: 0, False: 78]
  |  Branch (1097:35): [True: 0, False: 78]
  ------------------
 1098|      0|        _Pypegen_stack_overflow(p);
 1099|      0|    }
 1100|     78|    if (p->error_indicator) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 78]
  ------------------
 1101|      0|        p->level--;
 1102|      0|        return NULL;
 1103|      0|    }
 1104|     78|    mod_ty _res = NULL;
 1105|     78|    int _mark = p->mark;
 1106|     78|    { // expressions NEWLINE* $
 1107|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (1107:13): [True: 0, False: 78]
  ------------------
 1108|      0|            p->level--;
 1109|      0|            return NULL;
 1110|      0|        }
 1111|     78|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1112|     78|        asdl_seq * _loop0_1_var;
 1113|     78|        expr_ty a;
 1114|     78|        Token * endmarker_var;
 1115|     78|        if (
 1116|     78|            (a = expressions_rule(p))  // expressions
  ------------------
  |  Branch (1116:13): [True: 78, False: 0]
  ------------------
 1117|     78|            &&
 1118|     78|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1118:13): [True: 78, False: 0]
  ------------------
 1119|     78|            &&
 1120|     78|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|     78|#define ENDMARKER       0
  ------------------
  |  Branch (1120:13): [True: 78, False: 0]
  ------------------
 1121|     78|        )
 1122|     78|        {
 1123|     78|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1124|     78|            _res = _PyAST_Expression ( a , p -> arena );
 1125|     78|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1125:18): [True: 0, False: 78]
  |  Branch (1125:34): [True: 0, False: 78]
  |  Branch (1125:57): [True: 0, False: 0]
  ------------------
 1126|      0|                p->error_indicator = 1;
 1127|      0|                p->level--;
 1128|      0|                return NULL;
 1129|      0|            }
 1130|     78|            goto done;
 1131|     78|        }
 1132|      0|        p->mark = _mark;
 1133|      0|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1134|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1135|      0|    }
 1136|      0|    _res = NULL;
 1137|     78|  done:
 1138|     78|    p->level--;
 1139|     78|    return _res;
 1140|      0|}
parser.c:_loop0_1_rule:
28440|     78|{
28441|     78|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    156|#  define MAXSTACK 6000
  ------------------
  |  Branch (28441:9): [True: 0, False: 78]
  |  Branch (28441:35): [True: 0, False: 78]
  ------------------
28442|      0|        _Pypegen_stack_overflow(p);
28443|      0|    }
28444|     78|    if (p->error_indicator) {
  ------------------
  |  Branch (28444:9): [True: 0, False: 78]
  ------------------
28445|      0|        p->level--;
28446|      0|        return NULL;
28447|      0|    }
28448|     78|    void *_res = NULL;
28449|     78|    int _mark = p->mark;
28450|     78|    void **_children = PyMem_Malloc(sizeof(void *));
28451|     78|    if (!_children) {
  ------------------
  |  Branch (28451:9): [True: 0, False: 78]
  ------------------
28452|      0|        p->error_indicator = 1;
28453|      0|        PyErr_NoMemory();
28454|      0|        p->level--;
28455|      0|        return NULL;
28456|      0|    }
28457|     78|    Py_ssize_t _children_capacity = 1;
28458|     78|    Py_ssize_t _n = 0;
28459|     78|    { // NEWLINE
28460|     78|        if (p->error_indicator) {
  ------------------
  |  Branch (28460:13): [True: 0, False: 78]
  ------------------
28461|      0|            p->level--;
28462|      0|            return NULL;
28463|      0|        }
28464|     78|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
28465|     78|        Token * newline_var;
28466|     78|        while (
28467|     78|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     78|#define NEWLINE         4
  ------------------
  |  Branch (28467:13): [True: 0, False: 78]
  ------------------
28468|     78|        )
28469|      0|        {
28470|      0|            _res = newline_var;
28471|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28471:17): [True: 0, False: 0]
  ------------------
28472|      0|                _children_capacity *= 2;
28473|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28474|      0|                if (!_new_children) {
  ------------------
  |  Branch (28474:21): [True: 0, False: 0]
  ------------------
28475|      0|                    PyMem_Free(_children);
28476|      0|                    p->error_indicator = 1;
28477|      0|                    PyErr_NoMemory();
28478|      0|                    p->level--;
28479|      0|                    return NULL;
28480|      0|                }
28481|      0|                _children = _new_children;
28482|      0|            }
28483|      0|            _children[_n++] = _res;
28484|      0|            _mark = p->mark;
28485|      0|        }
28486|     78|        p->mark = _mark;
28487|     78|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
28488|     78|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
28489|     78|    }
28490|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28491|     78|    if (!_seq) {
  ------------------
  |  Branch (28491:9): [True: 0, False: 78]
  ------------------
28492|      0|        PyMem_Free(_children);
28493|      0|        p->error_indicator = 1;
28494|      0|        PyErr_NoMemory();
28495|      0|        p->level--;
28496|      0|        return NULL;
28497|      0|    }
28498|     78|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     78|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28498:28): [True: 0, False: 78]
  ------------------
28499|     78|    PyMem_Free(_children);
28500|     78|    p->level--;
28501|     78|    return _seq;
28502|     78|}

_PyParser_ASTFromString:
    9|  54.4k|{
   10|  54.4k|    if (PySys_Audit("compile", "yO", str, filename) < 0) {
  ------------------
  |  Branch (10:9): [True: 0, False: 54.4k]
  ------------------
   11|      0|        return NULL;
   12|      0|    }
   13|       |
   14|  54.4k|    mod_ty result = _PyPegen_run_parser_from_string(str, mode, filename, flags,
   15|  54.4k|                                                    arena, module);
   16|  54.4k|    return result;
   17|  54.4k|}

_PyPegen_byte_offset_to_character_offset_line:
   27|  1.19k|{
   28|  1.19k|    const unsigned char *data = (const unsigned char*)PyUnicode_AsUTF8(line);
   29|       |
   30|  1.19k|    Py_ssize_t len = 0;
   31|  6.17k|    while (col_offset < end_col_offset) {
  ------------------
  |  Branch (31:12): [True: 4.98k, False: 1.19k]
  ------------------
   32|  4.98k|        Py_UCS4 ch = data[col_offset];
   33|  4.98k|        if (ch < 0x80) {
  ------------------
  |  Branch (33:13): [True: 4.98k, False: 0]
  ------------------
   34|  4.98k|            col_offset += 1;
   35|  4.98k|        } else if ((ch & 0xe0) == 0xc0) {
  ------------------
  |  Branch (35:20): [True: 0, False: 0]
  ------------------
   36|      0|            col_offset += 2;
   37|      0|        } else if ((ch & 0xf0) == 0xe0) {
  ------------------
  |  Branch (37:20): [True: 0, False: 0]
  ------------------
   38|      0|            col_offset += 3;
   39|      0|        } else if ((ch & 0xf8) == 0xf0) {
  ------------------
  |  Branch (39:20): [True: 0, False: 0]
  ------------------
   40|      0|            col_offset += 4;
   41|      0|        } else {
   42|      0|            PyErr_SetString(PyExc_ValueError, "Invalid UTF-8 sequence");
   43|      0|            return -1;
   44|      0|        }
   45|  4.98k|        len++;
   46|  4.98k|    }
   47|  1.19k|    return len;
   48|  1.19k|}
_PyPegen_byte_offset_to_character_offset_raw:
   52|   108k|{
   53|   108k|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   54|   108k|    if (col_offset > len + 1) {
  ------------------
  |  Branch (54:9): [True: 0, False: 108k]
  ------------------
   55|      0|        col_offset = len + 1;
   56|      0|    }
   57|   108k|    assert(col_offset >= 0);
   58|   108k|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   59|   108k|    if (!text) {
  ------------------
  |  Branch (59:9): [True: 0, False: 108k]
  ------------------
   60|      0|        return -1;
   61|      0|    }
   62|   108k|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|   108k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|   108k|    Py_DECREF(text);
  ------------------
  |  |  430|   108k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|   108k|    return size;
   65|   108k|}
_PyPegen_byte_offset_to_character_offset:
   69|   108k|{
   70|   108k|    const char *str = PyUnicode_AsUTF8(line);
   71|   108k|    if (!str) {
  ------------------
  |  Branch (71:9): [True: 0, False: 108k]
  ------------------
   72|      0|        return -1;
   73|      0|    }
   74|   108k|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   75|   108k|}
_PyPegen_insert_memo:
   81|  3.50M|{
   82|       |    // Insert in front
   83|  3.50M|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   84|  3.50M|    if (m == NULL) {
  ------------------
  |  Branch (84:9): [True: 0, False: 3.50M]
  ------------------
   85|      0|        return -1;
   86|      0|    }
   87|  3.50M|    m->type = type;
   88|  3.50M|    m->node = node;
   89|  3.50M|    m->mark = p->mark;
   90|  3.50M|    m->next = p->tokens[mark]->memo;
   91|  3.50M|    p->tokens[mark]->memo = m;
   92|  3.50M|    return 0;
   93|  3.50M|}
_PyPegen_update_memo:
   98|  1.70M|{
   99|  8.84M|    for (Memo *m = p->tokens[mark]->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (99:43): [True: 7.17M, False: 1.67M]
  ------------------
  100|  7.17M|        if (m->type == type) {
  ------------------
  |  Branch (100:13): [True: 34.8k, False: 7.14M]
  ------------------
  101|       |            // Update existing node.
  102|  34.8k|            m->node = node;
  103|  34.8k|            m->mark = p->mark;
  104|  34.8k|            return 0;
  105|  34.8k|        }
  106|  7.17M|    }
  107|       |    // Insert new node.
  108|  1.67M|    return _PyPegen_insert_memo(p, mark, type, node);
  109|  1.70M|}
_PyPegen_fill_token:
  245|   239k|{
  246|   239k|    struct token new_token;
  247|   239k|    _PyToken_Init(&new_token);
  248|   239k|    int type = _PyTokenizer_Get(p->tok, &new_token);
  249|       |
  250|       |    // Record and skip '# type: ignore' comments
  251|   239k|    while (type == TYPE_IGNORE) {
  ------------------
  |  |   72|   239k|#define TYPE_IGNORE     56
  ------------------
  |  Branch (251:12): [True: 0, False: 239k]
  ------------------
  252|      0|        Py_ssize_t len = new_token.end_col_offset - new_token.col_offset;
  253|      0|        char *tag = PyMem_Malloc((size_t)len + 1);
  254|      0|        if (tag == NULL) {
  ------------------
  |  Branch (254:13): [True: 0, False: 0]
  ------------------
  255|      0|            PyErr_NoMemory();
  256|      0|            goto error;
  257|      0|        }
  258|      0|        strncpy(tag, new_token.start, (size_t)len);
  259|      0|        tag[len] = '\0';
  260|       |        // Ownership of tag passes to the growable array
  261|      0|        if (!growable_comment_array_add(&p->type_ignore_comments, p->tok->lineno, tag)) {
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|            PyErr_NoMemory();
  263|      0|            goto error;
  264|      0|        }
  265|      0|        type = _PyTokenizer_Get(p->tok, &new_token);
  266|      0|    }
  267|       |
  268|       |    // If we have reached the end and we are in single input mode we need to insert a newline and reset the parsing
  269|   239k|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|   479k|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|   239k|#define ENDMARKER       0
  ------------------
  |  Branch (269:9): [True: 0, False: 239k]
  |  Branch (269:45): [True: 0, False: 0]
  |  Branch (269:66): [True: 0, False: 0]
  ------------------
  270|      0|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|      0|#define NEWLINE         4
  ------------------
  271|      0|        p->parsing_started = 0;
  272|       |
  273|      0|        if (p->tok->indent && !(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   14|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (273:13): [True: 0, False: 0]
  |  Branch (273:31): [True: 0, False: 0]
  ------------------
  274|      0|            p->tok->pendin = -p->tok->indent;
  275|      0|            p->tok->indent = 0;
  276|      0|        }
  277|      0|    }
  278|   239k|    else {
  279|   239k|        p->parsing_started = 1;
  280|   239k|    }
  281|       |
  282|       |    // Check if we are at the limit of the token array capacity and resize if needed
  283|   239k|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (283:9): [True: 109k, False: 129k]
  |  Branch (283:33): [True: 0, False: 109k]
  ------------------
  284|      0|        goto error;
  285|      0|    }
  286|       |
  287|   239k|    Token *t = p->tokens[p->fill];
  288|   239k|    return initialize_token(p, t, &new_token, type);
  289|      0|error:
  290|      0|    _PyToken_Free(&new_token);
  291|      0|    return -1;
  292|   239k|}
_PyPegen_is_memoized:
  342|  11.1M|{
  343|  11.1M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (343:9): [True: 55.5k, False: 11.0M]
  ------------------
  344|  55.5k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (344:13): [True: 0, False: 55.5k]
  ------------------
  345|      0|            p->error_indicator = 1;
  346|      0|            return -1;
  347|      0|        }
  348|  55.5k|    }
  349|       |
  350|  11.1M|    Token *t = p->tokens[p->mark];
  351|       |
  352|  31.2M|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (352:29): [True: 27.7M, False: 3.50M]
  ------------------
  353|  27.7M|        if (m->type == type) {
  ------------------
  |  Branch (353:13): [True: 7.62M, False: 20.1M]
  ------------------
  354|       |#if defined(Py_DEBUG)
  355|       |            if (0 <= type && type < NSTATISTICS) {
  356|       |                long count = m->mark - p->mark;
  357|       |                // A memoized negative result counts for one.
  358|       |                if (count <= 0) {
  359|       |                    count = 1;
  360|       |                }
  361|       |                PyMutex_Lock(&_PyRuntime.parser.mutex);
  362|       |                memo_statistics[type] += count;
  363|       |                PyMutex_Unlock(&_PyRuntime.parser.mutex);
  364|       |            }
  365|       |#endif
  366|  7.62M|            p->mark = m->mark;
  367|  7.62M|            *(void **)(pres) = m->node;
  368|  7.62M|            return 1;
  369|  7.62M|        }
  370|  27.7M|    }
  371|  3.50M|    return 0;
  372|  11.1M|}
_PyPegen_expect_token:
  405|  41.4M|{
  406|  41.4M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (406:9): [True: 124k, False: 41.3M]
  ------------------
  407|   124k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (407:13): [True: 0, False: 124k]
  ------------------
  408|      0|            p->error_indicator = 1;
  409|      0|            return NULL;
  410|      0|        }
  411|   124k|    }
  412|  41.4M|    Token *t = p->tokens[p->mark];
  413|  41.4M|    if (t->type != type) {
  ------------------
  |  Branch (413:9): [True: 30.8M, False: 10.5M]
  ------------------
  414|  30.8M|       return NULL;
  415|  30.8M|    }
  416|  10.5M|    p->mark += 1;
  417|  10.5M|    return t;
  418|  41.4M|}
_PyPegen_expect_forced_token:
  434|      6|_PyPegen_expect_forced_token(Parser *p, int type, const char* expected) {
  435|       |
  436|      6|    if (p->error_indicator == 1) {
  ------------------
  |  Branch (436:9): [True: 0, False: 6]
  ------------------
  437|      0|        return NULL;
  438|      0|    }
  439|       |
  440|      6|    if (p->mark == p->fill) {
  ------------------
  |  Branch (440:9): [True: 6, False: 0]
  ------------------
  441|      6|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (441:13): [True: 0, False: 6]
  ------------------
  442|      0|            p->error_indicator = 1;
  443|      0|            return NULL;
  444|      0|        }
  445|      6|    }
  446|      6|    Token *t = p->tokens[p->mark];
  447|      6|    if (t->type != type) {
  ------------------
  |  Branch (447:9): [True: 0, False: 6]
  ------------------
  448|      0|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(t, "expected '%s'", expected);
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  449|      0|        return NULL;
  450|      0|    }
  451|      6|    p->mark += 1;
  452|      6|    return t;
  453|      6|}
_PyPegen_expect_soft_keyword:
  457|   492k|{
  458|   492k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (458:9): [True: 0, False: 492k]
  ------------------
  459|      0|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (459:13): [True: 0, False: 0]
  ------------------
  460|      0|            p->error_indicator = 1;
  461|      0|            return NULL;
  462|      0|        }
  463|      0|    }
  464|   492k|    Token *t = p->tokens[p->mark];
  465|   492k|    if (t->type != NAME) {
  ------------------
  |  |   17|   492k|#define NAME            1
  ------------------
  |  Branch (465:9): [True: 491k, False: 736]
  ------------------
  466|   491k|        return NULL;
  467|   491k|    }
  468|    736|    const char *s = PyBytes_AsString(t->bytes);
  469|    736|    if (!s) {
  ------------------
  |  Branch (469:9): [True: 0, False: 736]
  ------------------
  470|      0|        p->error_indicator = 1;
  471|      0|        return NULL;
  472|      0|    }
  473|    736|    if (strcmp(s, keyword) != 0) {
  ------------------
  |  Branch (473:9): [True: 736, False: 0]
  ------------------
  474|    736|        return NULL;
  475|    736|    }
  476|      0|    return _PyPegen_name_token(p);
  477|    736|}
_PyPegen_get_last_nonnwhitespace_token:
  481|  6.73M|{
  482|  6.73M|    assert(p->mark >= 0);
  483|  6.73M|    Token *token = NULL;
  484|  6.73M|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (484:31): [True: 6.73M, False: 0]
  ------------------
  485|  6.73M|        token = p->tokens[m];
  486|  6.73M|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|  13.4M|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|  13.4M|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|  4.36k|#define DEDENT          6
  ------------------
  |  Branch (486:13): [True: 6.73M, False: 0]
  |  Branch (486:42): [True: 6.73M, False: 4.36k]
  |  Branch (486:67): [True: 3.11k, False: 1.24k]
  ------------------
  487|  6.73M|            break;
  488|  6.73M|        }
  489|  6.73M|    }
  490|  6.73M|    return token;
  491|  6.73M|}
_PyPegen_new_identifier:
  495|  6.74M|{
  496|  6.74M|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  497|  6.74M|    if (!id) {
  ------------------
  |  Branch (497:9): [True: 0, False: 6.74M]
  ------------------
  498|      0|        goto error;
  499|      0|    }
  500|       |    /* Check whether there are non-ASCII characters in the
  501|       |       identifier; if so, normalize to NFKC. */
  502|  6.74M|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  227|  6.74M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (502:9): [True: 0, False: 6.74M]
  ------------------
  503|      0|    {
  504|      0|        if (!init_normalization(p))
  ------------------
  |  Branch (504:13): [True: 0, False: 0]
  ------------------
  505|      0|        {
  506|      0|            Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      0|            goto error;
  508|      0|        }
  509|      0|        PyObject *form = PyUnicode_InternFromString("NFKC");
  510|      0|        if (form == NULL)
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  ------------------
  511|      0|        {
  512|      0|            Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      0|            goto error;
  514|      0|        }
  515|      0|        PyObject *args[2] = {form, id};
  516|      0|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  517|      0|        Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|      0|        Py_DECREF(form);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      0|        if (!id2) {
  ------------------
  |  Branch (519:13): [True: 0, False: 0]
  ------------------
  520|      0|            goto error;
  521|      0|        }
  522|       |
  523|      0|        if (!PyUnicode_Check(id2))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (523:13): [True: 0, False: 0]
  ------------------
  524|      0|        {
  525|      0|            PyErr_Format(PyExc_TypeError,
  526|      0|                         "unicodedata.normalize() must return a string, not "
  527|      0|                         "%.200s",
  528|      0|                         _PyType_Name(Py_TYPE(id2)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|      0|            Py_DECREF(id2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|      0|            goto error;
  531|      0|        }
  532|      0|        id = id2;
  533|      0|    }
  534|  6.74M|    static const char * const forbidden[] = {
  535|  6.74M|        "None",
  536|  6.74M|        "True",
  537|  6.74M|        "False",
  538|  6.74M|        NULL
  539|  6.74M|    };
  540|  26.9M|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (540:21): [True: 20.2M, False: 6.74M]
  ------------------
  541|  20.2M|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (541:13): [True: 0, False: 20.2M]
  ------------------
  542|      0|            PyErr_Format(PyExc_ValueError,
  543|      0|                         "identifier field can't represent '%s' constant",
  544|      0|                         forbidden[i]);
  545|      0|            Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|      0|            goto error;
  547|      0|        }
  548|  20.2M|    }
  549|  6.74M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  550|  6.74M|    _PyUnicode_InternImmortal(interp, &id);
  551|  6.74M|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (551:9): [True: 0, False: 6.74M]
  ------------------
  552|      0|    {
  553|      0|        Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|      0|        goto error;
  555|      0|    }
  556|  6.74M|    return id;
  557|       |
  558|      0|error:
  559|      0|    p->error_indicator = 1;
  560|       |    return NULL;
  561|  6.74M|}
_PyPegen_name_token:
  585|  18.6M|{
  586|  18.6M|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  18.6M|#define NAME            1
  ------------------
  587|  18.6M|    return _PyPegen_name_from_token(p, t);
  588|  18.6M|}
_PyPegen_string_token:
  592|   438k|{
  593|   438k|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|   438k|#define STRING          3
  ------------------
  594|   438k|}
_PyPegen_soft_keyword_token:
  596|   108k|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  597|   108k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|   108k|#define NAME            1
  ------------------
  598|   108k|    if (t == NULL) {
  ------------------
  |  Branch (598:9): [True: 108k, False: 0]
  ------------------
  599|   108k|        return NULL;
  600|   108k|    }
  601|      0|    char *the_token;
  602|      0|    Py_ssize_t size;
  603|      0|    PyBytes_AsStringAndSize(t->bytes, &the_token, &size);
  604|      0|    for (char **keyword = p->soft_keywords; *keyword != NULL; keyword++) {
  ------------------
  |  Branch (604:45): [True: 0, False: 0]
  ------------------
  605|      0|        if (strlen(*keyword) == (size_t)size &&
  ------------------
  |  Branch (605:13): [True: 0, False: 0]
  ------------------
  606|      0|            strncmp(*keyword, the_token, (size_t)size) == 0) {
  ------------------
  |  Branch (606:13): [True: 0, False: 0]
  ------------------
  607|      0|            return _PyPegen_name_from_token(p, t);
  608|      0|        }
  609|      0|    }
  610|      0|    return NULL;
  611|      0|}
_PyPegen_number_token:
  688|   328k|{
  689|   328k|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|   328k|#define NUMBER          2
  ------------------
  690|   328k|    if (t == NULL) {
  ------------------
  |  Branch (690:9): [True: 328k, False: 170]
  ------------------
  691|   328k|        return NULL;
  692|   328k|    }
  693|       |
  694|    170|    const char *num_raw = PyBytes_AsString(t->bytes);
  695|    170|    if (num_raw == NULL) {
  ------------------
  |  Branch (695:9): [True: 0, False: 170]
  ------------------
  696|      0|        p->error_indicator = 1;
  697|      0|        return NULL;
  698|      0|    }
  699|       |
  700|    170|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (700:9): [True: 0, False: 170]
  |  Branch (700:35): [True: 0, False: 0]
  ------------------
  701|      0|        p->error_indicator = 1;
  702|      0|        return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  703|      0|                                  "in Python 3.6 and greater");
  704|      0|    }
  705|       |
  706|    170|    PyObject *c = parsenumber(num_raw);
  707|       |
  708|    170|    if (c == NULL) {
  ------------------
  |  Branch (708:9): [True: 0, False: 170]
  ------------------
  709|      0|        p->error_indicator = 1;
  710|      0|        PyThreadState *tstate = _PyThreadState_GET();
  711|       |        // The only way a ValueError should happen in _this_ code is via
  712|       |        // PyLong_FromString hitting a length limit.
  713|      0|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (713:13): [True: 0, False: 0]
  ------------------
  714|      0|            Py_TYPE(tstate->current_exception) == (PyTypeObject *)PyExc_ValueError
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (714:13): [True: 0, False: 0]
  ------------------
  715|      0|        ) {
  716|      0|            PyObject *exc = PyErr_GetRaisedException();
  717|       |            /* Intentionally omitting columns to avoid a wall of 1000s of '^'s
  718|       |             * on the error message. Nobody is going to overlook their huge
  719|       |             * numeric literal once given the line. */
  720|      0|            RAISE_ERROR_KNOWN_LOCATION(
  721|      0|                p, PyExc_SyntaxError,
  722|      0|                t->lineno, -1 /* col_offset */,
  723|      0|                t->end_lineno, -1 /* end_col_offset */,
  724|      0|                "%S - Consider hexadecimal for huge integer literals "
  725|      0|                "to avoid decimal conversion limits.",
  726|      0|                exc);
  727|      0|            Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|      0|        }
  729|      0|        return NULL;
  730|      0|    }
  731|       |
  732|    170|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (732:9): [True: 0, False: 170]
  ------------------
  733|      0|        Py_DECREF(c);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      0|        p->error_indicator = 1;
  735|      0|        return NULL;
  736|      0|    }
  737|       |
  738|    170|    return _PyAST_Constant(c, NULL, t->lineno, t->col_offset, t->end_lineno,
  739|    170|                           t->end_col_offset, p->arena);
  740|    170|}
_PyPegen_Parser_New:
  801|  54.4k|{
  802|  54.4k|    Parser *p = PyMem_Malloc(sizeof(Parser));
  803|  54.4k|    if (p == NULL) {
  ------------------
  |  Branch (803:9): [True: 0, False: 54.4k]
  ------------------
  804|      0|        return (Parser *) PyErr_NoMemory();
  805|      0|    }
  806|  54.4k|    assert(tok != NULL);
  807|  54.4k|    tok->type_comments = (flags & PyPARSE_TYPE_COMMENTS) > 0;
  ------------------
  |  |   24|  54.4k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  808|  54.4k|    p->tok = tok;
  809|  54.4k|    p->keywords = NULL;
  810|  54.4k|    p->n_keyword_lists = -1;
  811|  54.4k|    p->soft_keywords = NULL;
  812|  54.4k|    p->tokens = PyMem_Malloc(sizeof(Token *));
  813|  54.4k|    if (!p->tokens) {
  ------------------
  |  Branch (813:9): [True: 0, False: 54.4k]
  ------------------
  814|      0|        PyMem_Free(p);
  815|      0|        return (Parser *) PyErr_NoMemory();
  816|      0|    }
  817|  54.4k|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
  818|  54.4k|    if (!p->tokens[0]) {
  ------------------
  |  Branch (818:9): [True: 0, False: 54.4k]
  ------------------
  819|      0|        PyMem_Free(p->tokens);
  820|      0|        PyMem_Free(p);
  821|      0|        return (Parser *) PyErr_NoMemory();
  822|      0|    }
  823|  54.4k|    if (!growable_comment_array_init(&p->type_ignore_comments, 10)) {
  ------------------
  |  Branch (823:9): [True: 0, False: 54.4k]
  ------------------
  824|      0|        PyMem_Free(p->tokens[0]);
  825|      0|        PyMem_Free(p->tokens);
  826|      0|        PyMem_Free(p);
  827|      0|        return (Parser *) PyErr_NoMemory();
  828|      0|    }
  829|       |
  830|  54.4k|    p->mark = 0;
  831|  54.4k|    p->fill = 0;
  832|  54.4k|    p->size = 1;
  833|       |
  834|  54.4k|    p->errcode = errcode;
  835|  54.4k|    p->arena = arena;
  836|  54.4k|    p->start_rule = start_rule;
  837|  54.4k|    p->parsing_started = 0;
  838|  54.4k|    p->normalize = NULL;
  839|  54.4k|    p->error_indicator = 0;
  840|       |
  841|  54.4k|    p->starting_lineno = 0;
  842|  54.4k|    p->starting_col_offset = 0;
  843|  54.4k|    p->flags = flags;
  844|  54.4k|    p->feature_version = feature_version;
  845|  54.4k|    p->known_err_token = NULL;
  846|  54.4k|    p->level = 0;
  847|  54.4k|    p->call_invalid_rules = 0;
  848|  54.4k|    p->last_stmt_location.lineno = 0;
  849|  54.4k|    p->last_stmt_location.col_offset = 0;
  850|  54.4k|    p->last_stmt_location.end_lineno = 0;
  851|  54.4k|    p->last_stmt_location.end_col_offset = 0;
  852|       |#ifdef Py_DEBUG
  853|       |    p->debug = _Py_GetConfig()->parser_debug;
  854|       |#endif
  855|  54.4k|    return p;
  856|  54.4k|}
_PyPegen_Parser_Free:
  860|  54.4k|{
  861|  54.4k|    Py_XDECREF(p->normalize);
  ------------------
  |  |  524|  54.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|   305k|    for (int i = 0; i < p->size; i++) {
  ------------------
  |  Branch (862:21): [True: 251k, False: 54.4k]
  ------------------
  863|   251k|        PyMem_Free(p->tokens[i]);
  864|   251k|    }
  865|  54.4k|    PyMem_Free(p->tokens);
  866|  54.4k|    growable_comment_array_deallocate(&p->type_ignore_comments);
  867|  54.4k|    PyMem_Free(p);
  868|  54.4k|}
_PyPegen_run_parser:
  939|  54.4k|{
  940|  54.4k|    void *res = _PyPegen_parse(p);
  941|  54.4k|    assert(p->level == 0);
  942|  54.4k|    if (res == NULL) {
  ------------------
  |  Branch (942:9): [True: 54.1k, False: 225]
  ------------------
  943|  54.1k|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&  _is_end_of_source(p)) {
  ------------------
  |  |   25|  54.1k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (943:13): [True: 0, False: 54.1k]
  |  Branch (943:61): [True: 0, False: 0]
  ------------------
  944|      0|            PyErr_Clear();
  945|      0|            return _PyPegen_raise_error(p, PyExc_IncompleteInputError, 0, "incomplete input");
  ------------------
  |  |  203|      0|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  946|      0|        }
  947|  54.1k|        if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (947:13): [True: 0, False: 54.1k]
  |  Branch (947:33): [True: 0, False: 0]
  ------------------
  948|      0|            return NULL;
  949|      0|        }
  950|       |       // Make a second parser pass. In this pass we activate heavier and slower checks
  951|       |        // to produce better error messages and more complete diagnostics. Extra "invalid_*"
  952|       |        // rules will be active during parsing.
  953|  54.1k|        Token *last_token = p->tokens[p->fill - 1];
  954|  54.1k|        reset_parser_state_for_error_pass(p);
  955|  54.1k|        _PyPegen_parse(p);
  956|       |
  957|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
  958|       |        // point.
  959|  54.1k|        _Pypegen_set_syntax_error(p, last_token);
  960|       |
  961|       |        // Set the metadata in the exception from p->last_stmt_location
  962|  54.1k|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (962:13): [True: 54.1k, False: 0]
  ------------------
  963|  54.1k|            _PyPegen_set_syntax_error_metadata(p);
  964|  54.1k|        }
  965|  54.1k|       return NULL;
  966|  54.1k|    }
  967|       |
  968|    225|    if (p->start_rule == Py_single_input && bad_single_statement(p)) {
  ------------------
  |  |    8|    450|#define Py_single_input 256
  ------------------
  |  Branch (968:9): [True: 0, False: 225]
  |  Branch (968:45): [True: 0, False: 0]
  ------------------
  969|      0|        p->tok->done = E_BADSINGLE; // This is not necessary for now, but might be in the future
  ------------------
  |  |   38|      0|#define E_BADSINGLE      27      /* Ill-formed single statement input */
  ------------------
  970|      0|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  971|      0|    }
  972|       |
  973|       |    // test_peg_generator defines _Py_TEST_PEGEN to not call PyAST_Validate()
  974|       |#if defined(Py_DEBUG) && !defined(_Py_TEST_PEGEN)
  975|       |    if (p->start_rule == Py_single_input ||
  976|       |        p->start_rule == Py_file_input ||
  977|       |        p->start_rule == Py_eval_input)
  978|       |    {
  979|       |        if (!_PyAST_Validate(res)) {
  980|       |            return NULL;
  981|       |        }
  982|       |    }
  983|       |#endif
  984|    225|    return res;
  985|    225|}
_PyPegen_run_parser_from_string:
 1043|  54.4k|{
 1044|  54.4k|    int exec_input = start_rule == Py_file_input;
  ------------------
  |  |    9|  54.4k|#define Py_file_input 257
  ------------------
 1045|       |
 1046|  54.4k|    struct tok_state *tok;
 1047|  54.4k|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  54.4k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1047:9): [True: 54.4k, False: 6]
  |  Branch (1047:26): [True: 54.4k, False: 0]
  ------------------
 1048|  54.4k|        tok = _PyTokenizer_FromUTF8(str, exec_input, 0);
 1049|  54.4k|    } else {
 1050|      6|        tok = _PyTokenizer_FromString(str, exec_input, 0);
 1051|      6|    }
 1052|  54.4k|    if (tok == NULL) {
  ------------------
  |  Branch (1052:9): [True: 0, False: 54.4k]
  ------------------
 1053|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1053:13): [True: 0, False: 0]
  ------------------
 1054|      0|            _PyPegen_raise_tokenizer_init_error(filename_ob);
 1055|      0|        }
 1056|      0|        return NULL;
 1057|      0|    }
 1058|       |    // This transfers the ownership to the tokenizer
 1059|  54.4k|    tok->filename = Py_NewRef(filename_ob);
  ------------------
  |  |  550|  54.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|  54.4k|    tok->module = Py_XNewRef(module);
  ------------------
  |  |  551|  54.4k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|       |
 1062|       |    // We need to clear up from here on
 1063|  54.4k|    mod_ty result = NULL;
 1064|       |
 1065|  54.4k|    int parser_flags = compute_parser_flags(flags);
 1066|  54.4k|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|  54.4k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1066:27): [True: 54.4k, False: 6]
  |  Branch (1066:36): [True: 54.1k, False: 213]
  ------------------
 1067|  54.1k|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|    219|#define PY_MINOR_VERSION        16
  ------------------
 1068|  54.4k|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1069|  54.4k|                                    NULL, str, arena);
 1070|  54.4k|    if (p == NULL) {
  ------------------
  |  Branch (1070:9): [True: 0, False: 54.4k]
  ------------------
 1071|      0|        goto error;
 1072|      0|    }
 1073|       |
 1074|  54.4k|    result = _PyPegen_run_parser(p);
 1075|  54.4k|    _PyPegen_Parser_Free(p);
 1076|       |
 1077|  54.4k|error:
 1078|  54.4k|    _PyTokenizer_Free(tok);
 1079|  54.4k|    return result;
 1080|  54.4k|}
pegen.c:_resize_tokens_array:
  222|   109k|_resize_tokens_array(Parser *p) {
  223|   109k|    int newsize = p->size * 2;
  224|   109k|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  225|   109k|    if (new_tokens == NULL) {
  ------------------
  |  Branch (225:9): [True: 0, False: 109k]
  ------------------
  226|      0|        PyErr_NoMemory();
  227|      0|        return -1;
  228|      0|    }
  229|   109k|    p->tokens = new_tokens;
  230|       |
  231|   306k|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (231:27): [True: 196k, False: 109k]
  ------------------
  232|   196k|        p->tokens[i] = PyMem_Calloc(1, sizeof(Token));
  233|   196k|        if (p->tokens[i] == NULL) {
  ------------------
  |  Branch (233:13): [True: 0, False: 196k]
  ------------------
  234|      0|            p->size = i; // Needed, in order to cleanup correctly after parser fails
  235|      0|            PyErr_NoMemory();
  236|      0|            return -1;
  237|      0|        }
  238|   196k|    }
  239|   109k|    p->size = newsize;
  240|   109k|    return 0;
  241|   109k|}
pegen.c:initialize_token:
  181|   239k|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  182|   239k|    assert(parser_token != NULL);
  183|       |
  184|   239k|    parser_token->type = (token_type == NAME) ? _get_keyword_or_name_type(p, new_token) : token_type;
  ------------------
  |  |   17|   239k|#define NAME            1
  ------------------
  |  Branch (184:26): [True: 118k, False: 121k]
  ------------------
  185|   239k|    parser_token->bytes = PyBytes_FromStringAndSize(new_token->start, new_token->end - new_token->start);
  186|   239k|    if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 239k]
  ------------------
  187|      0|        return -1;
  188|      0|    }
  189|   239k|    if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (189:9): [True: 0, False: 239k]
  ------------------
  190|      0|        Py_DECREF(parser_token->bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      0|        return -1;
  192|      0|    }
  193|       |
  194|   239k|    parser_token->metadata = NULL;
  195|   239k|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 239k]
  ------------------
  196|      0|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (196:13): [True: 0, False: 0]
  ------------------
  197|      0|            Py_DECREF(new_token->metadata);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      0|            return -1;
  199|      0|        }
  200|      0|        parser_token->metadata = new_token->metadata;
  201|      0|        new_token->metadata = NULL;
  202|      0|    }
  203|       |
  204|   239k|    parser_token->level = new_token->level;
  205|   239k|    parser_token->lineno = new_token->lineno;
  206|   239k|    parser_token->col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->col_offset
  ------------------
  |  Branch (206:32): [True: 0, False: 239k]
  ------------------
  207|   239k|                                                                    : new_token->col_offset;
  208|   239k|    parser_token->end_lineno = new_token->end_lineno;
  209|   239k|    parser_token->end_col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->end_col_offset
  ------------------
  |  Branch (209:36): [True: 0, False: 239k]
  ------------------
  210|   239k|                                                                 : new_token->end_col_offset;
  211|       |
  212|   239k|    p->fill += 1;
  213|       |
  214|   239k|    if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   83|   479k|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   34|      0|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (214:9): [True: 0, False: 239k]
  |  Branch (214:37): [True: 0, False: 0]
  ------------------
  215|      0|        return _Pypegen_raise_decode_error(p);
  216|      0|    }
  217|       |
  218|   239k|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|   239k|#define ERRORTOKEN      67
  ------------------
  |  Branch (218:13): [True: 0, False: 239k]
  ------------------
  219|   239k|}
pegen.c:_get_keyword_or_name_type:
  163|   118k|{
  164|   118k|    Py_ssize_t name_len = new_token->end_col_offset - new_token->col_offset;
  165|   118k|    assert(name_len > 0);
  166|       |
  167|   118k|    if (name_len >= p->n_keyword_lists ||
  ------------------
  |  Branch (167:9): [True: 2.66k, False: 115k]
  ------------------
  168|   115k|        p->keywords[name_len] == NULL ||
  ------------------
  |  Branch (168:9): [True: 0, False: 115k]
  ------------------
  169|   115k|        p->keywords[name_len]->type == -1) {
  ------------------
  |  Branch (169:9): [True: 54.6k, False: 60.8k]
  ------------------
  170|  57.2k|        return NAME;
  ------------------
  |  |   17|  57.2k|#define NAME            1
  ------------------
  171|  57.2k|    }
  172|   361k|    for (KeywordToken *k = p->keywords[name_len]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (172:51): [True: 361k, False: 0]
  |  Branch (172:64): [True: 357k, False: 4.70k]
  ------------------
  173|   357k|        if (strncmp(k->str, new_token->start, (size_t)name_len) == 0) {
  ------------------
  |  Branch (173:13): [True: 56.1k, False: 301k]
  ------------------
  174|  56.1k|            return k->type;
  175|  56.1k|        }
  176|   357k|    }
  177|  4.70k|    return NAME;
  ------------------
  |  |   17|  4.70k|#define NAME            1
  ------------------
  178|  60.8k|}
pegen.c:_PyPegen_name_from_token:
  565|  18.6M|{
  566|  18.6M|    if (t == NULL) {
  ------------------
  |  Branch (566:9): [True: 11.9M, False: 6.74M]
  ------------------
  567|  11.9M|        return NULL;
  568|  11.9M|    }
  569|  6.74M|    const char *s = PyBytes_AsString(t->bytes);
  570|  6.74M|    if (!s) {
  ------------------
  |  Branch (570:9): [True: 0, False: 6.74M]
  ------------------
  571|      0|        p->error_indicator = 1;
  572|      0|        return NULL;
  573|      0|    }
  574|  6.74M|    PyObject *id = _PyPegen_new_identifier(p, s);
  575|  6.74M|    if (id == NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 6.74M]
  ------------------
  576|      0|        p->error_indicator = 1;
  577|      0|        return NULL;
  578|      0|    }
  579|  6.74M|    return _PyAST_Name(id, Load, t->lineno, t->col_offset, t->end_lineno,
  580|  6.74M|                       t->end_col_offset, p->arena);
  581|  6.74M|}
pegen.c:parsenumber:
  659|    170|{
  660|    170|    char *dup;
  661|    170|    char *end;
  662|    170|    PyObject *res = NULL;
  663|       |
  664|    170|    assert(s != NULL);
  665|       |
  666|    170|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (666:9): [True: 170, False: 0]
  ------------------
  667|    170|        return parsenumber_raw(s);
  668|    170|    }
  669|       |    /* Create a duplicate without underscores. */
  670|      0|    dup = PyMem_Malloc(strlen(s) + 1);
  671|      0|    if (dup == NULL) {
  ------------------
  |  Branch (671:9): [True: 0, False: 0]
  ------------------
  672|      0|        return PyErr_NoMemory();
  673|      0|    }
  674|      0|    end = dup;
  675|      0|    for (; *s; s++) {
  ------------------
  |  Branch (675:12): [True: 0, False: 0]
  ------------------
  676|      0|        if (*s != '_') {
  ------------------
  |  Branch (676:13): [True: 0, False: 0]
  ------------------
  677|      0|            *end++ = *s;
  678|      0|        }
  679|      0|    }
  680|      0|    *end = '\0';
  681|      0|    res = parsenumber_raw(dup);
  682|      0|    PyMem_Free(dup);
  683|      0|    return res;
  684|      0|}
pegen.c:parsenumber_raw:
  615|    170|{
  616|    170|    const char *end;
  617|    170|    long x;
  618|    170|    double dx;
  619|    170|    Py_complex compl;
  620|    170|    int imflag;
  621|       |
  622|    170|    assert(s != NULL);
  623|    170|    errno = 0;
  624|    170|    end = s + strlen(s) - 1;
  625|    170|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (625:14): [True: 0, False: 170]
  |  Branch (625:29): [True: 0, False: 170]
  ------------------
  626|    170|    if (s[0] == '0') {
  ------------------
  |  Branch (626:9): [True: 50, False: 120]
  ------------------
  627|     50|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  628|     50|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (628:13): [True: 0, False: 50]
  |  Branch (628:22): [True: 0, False: 0]
  ------------------
  629|      0|            return PyLong_FromString(s, (char **)0, 0);
  630|      0|        }
  631|     50|    }
  632|    120|    else {
  633|    120|        x = PyOS_strtol(s, (char **)&end, 0);
  634|    120|    }
  635|    170|    if (*end == '\0') {
  ------------------
  |  Branch (635:9): [True: 170, False: 0]
  ------------------
  636|    170|        if (errno != 0) {
  ------------------
  |  Branch (636:13): [True: 0, False: 170]
  ------------------
  637|      0|            return PyLong_FromString(s, (char **)0, 0);
  638|      0|        }
  639|    170|        return PyLong_FromLong(x);
  640|    170|    }
  641|       |    /* XXX Huge floats may silently fail */
  642|      0|    if (imflag) {
  ------------------
  |  Branch (642:9): [True: 0, False: 0]
  ------------------
  643|      0|        compl.real = 0.;
  644|      0|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  645|      0|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (645:13): [True: 0, False: 0]
  |  Branch (645:35): [True: 0, False: 0]
  ------------------
  646|      0|            return NULL;
  647|      0|        }
  648|      0|        return PyComplex_FromCComplex(compl);
  649|      0|    }
  650|      0|    dx = PyOS_string_to_double(s, NULL, NULL);
  651|      0|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (651:9): [True: 0, False: 0]
  |  Branch (651:23): [True: 0, False: 0]
  ------------------
  652|      0|        return NULL;
  653|      0|    }
  654|      0|    return PyFloat_FromDouble(dx);
  655|      0|}
pegen.c:growable_comment_array_init:
  126|  54.4k|growable_comment_array_init(growable_comment_array *arr, size_t initial_size) {
  127|  54.4k|    assert(initial_size > 0);
  128|  54.4k|    arr->items = PyMem_Malloc(initial_size * sizeof(*arr->items));
  129|  54.4k|    arr->size = initial_size;
  130|  54.4k|    arr->num_items = 0;
  131|       |
  132|       |    return arr->items != NULL;
  133|  54.4k|}
pegen.c:growable_comment_array_deallocate:
  154|  54.4k|growable_comment_array_deallocate(growable_comment_array *arr) {
  155|  54.4k|    for (unsigned i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (155:26): [True: 0, False: 54.4k]
  ------------------
  156|      0|        PyMem_Free(arr->items[i].comment);
  157|      0|    }
  158|  54.4k|    PyMem_Free(arr->items);
  159|  54.4k|}
pegen.c:reset_parser_state_for_error_pass:
  872|  54.1k|{
  873|  54.1k|    p->last_stmt_location.lineno = 0;
  874|  54.1k|    p->last_stmt_location.col_offset = 0;
  875|  54.1k|    p->last_stmt_location.end_lineno = 0;
  876|  54.1k|    p->last_stmt_location.end_col_offset = 0;
  877|   270k|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (877:21): [True: 216k, False: 54.1k]
  ------------------
  878|   216k|        p->tokens[i]->memo = NULL;
  879|   216k|    }
  880|  54.1k|    p->mark = 0;
  881|  54.1k|    p->call_invalid_rules = 1;
  882|       |    // Don't try to get extra tokens in interactive mode when trying to
  883|       |    // raise specialized errors in the second pass.
  884|  54.1k|    p->tok->interactive_underflow = IUNDERFLOW_STOP;
  885|  54.1k|}
pegen.c:_PyPegen_set_syntax_error_metadata:
  894|  54.1k|_PyPegen_set_syntax_error_metadata(Parser *p) {
  895|  54.1k|    PyObject *exc = PyErr_GetRaisedException();
  896|  54.1k|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  378|  54.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (896:9): [True: 0, False: 54.1k]
  |  Branch (896:17): [True: 0, False: 54.1k]
  ------------------
  897|      0|        PyErr_SetRaisedException(exc);
  898|      0|        return;
  899|      0|    }
  900|  54.1k|    const char *source = NULL;
  901|  54.1k|    if (p->tok->str != NULL) {
  ------------------
  |  Branch (901:9): [True: 54.1k, False: 0]
  ------------------
  902|  54.1k|        source = p->tok->str;
  903|  54.1k|    }
  904|  54.1k|    if (!source && p->tok->fp_interactive && p->tok->interactive_src_start) {
  ------------------
  |  Branch (904:9): [True: 0, False: 54.1k]
  |  Branch (904:20): [True: 0, False: 0]
  |  Branch (904:46): [True: 0, False: 0]
  ------------------
  905|      0|        source = p->tok->interactive_src_start;
  906|      0|    }
  907|  54.1k|    PyObject* the_source = NULL;
  908|  54.1k|    if (source) {
  ------------------
  |  Branch (908:9): [True: 54.1k, False: 0]
  ------------------
  909|  54.1k|        if (p->tok->encoding == NULL) {
  ------------------
  |  Branch (909:13): [True: 0, False: 54.1k]
  ------------------
  910|      0|            the_source = PyUnicode_FromString(source);
  911|  54.1k|        } else {
  912|  54.1k|            the_source = PyUnicode_Decode(source, strlen(source), p->tok->encoding, NULL);
  913|  54.1k|        }
  914|  54.1k|    }
  915|  54.1k|    if (!the_source) {
  ------------------
  |  Branch (915:9): [True: 0, False: 54.1k]
  ------------------
  916|      0|        PyErr_Clear();
  917|      0|        the_source = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  918|      0|        Py_INCREF(the_source);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|      0|    }
  920|  54.1k|    PyObject* metadata = Py_BuildValue(
  921|  54.1k|        "(iiN)",
  922|  54.1k|        p->last_stmt_location.lineno,
  923|  54.1k|        p->last_stmt_location.col_offset,
  924|  54.1k|        the_source // N gives ownership to metadata
  925|  54.1k|    );
  926|  54.1k|    if (!metadata) {
  ------------------
  |  Branch (926:9): [True: 0, False: 54.1k]
  ------------------
  927|      0|        PyErr_Clear();
  928|      0|        return;
  929|      0|    }
  930|  54.1k|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
  931|       |
  932|  54.1k|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  524|  54.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  933|  54.1k|    syntax_error->metadata = metadata;
  934|  54.1k|    PyErr_SetRaisedException(exc);
  935|  54.1k|}
pegen.c:compute_parser_flags:
  773|  54.4k|{
  774|  54.4k|    int parser_flags = 0;
  775|  54.4k|    if (!flags) {
  ------------------
  |  Branch (775:9): [True: 6, False: 54.4k]
  ------------------
  776|      6|        return 0;
  777|      6|    }
  778|  54.4k|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|  54.4k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (778:9): [True: 0, False: 54.4k]
  ------------------
  779|      0|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   14|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  780|      0|    }
  781|  54.4k|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  54.4k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (781:9): [True: 54.4k, False: 0]
  ------------------
  782|  54.4k|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   22|  54.4k|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  783|  54.4k|    }
  784|  54.4k|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  141|  54.4k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (784:9): [True: 0, False: 54.4k]
  ------------------
  785|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  786|      0|    }
  787|  54.4k|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|  54.4k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (787:9): [True: 0, False: 54.4k]
  ------------------
  788|      0|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   24|      0|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  789|      0|    }
  790|  54.4k|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|  54.4k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (790:9): [True: 0, False: 54.4k]
  ------------------
  791|      0|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   25|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  792|      0|    }
  793|  54.4k|    return parser_flags;
  794|  54.4k|}

pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  192|  54.1k|{
  193|  54.1k|    va_list va;
  194|  54.1k|    va_start(va, errmsg);
  195|  54.1k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|  54.1k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (195:31): [True: 0, False: 54.1k]
  ------------------
  196|  54.1k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|  54.1k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (196:35): [True: 0, False: 54.1k]
  ------------------
  197|  54.1k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  198|  54.1k|    va_end(va);
  199|       |    return NULL;
  200|  54.1k|}
parser.c:INVALID_VERSION_CHECK:
  294|      4|{
  295|      4|    if (node == NULL) {
  ------------------
  |  Branch (295:9): [True: 0, False: 4]
  ------------------
  296|      0|        p->error_indicator = 1;  // Inline CHECK_CALL
  297|      0|        return NULL;
  298|      0|    }
  299|      4|    if (p->feature_version < version) {
  ------------------
  |  Branch (299:9): [True: 0, False: 4]
  ------------------
  300|      0|        p->error_indicator = 1;
  301|      0|        return RAISE_SYNTAX_ERROR("%s only supported in Python 3.%i and greater",
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  302|      0|                                  msg, version);
  303|      0|    }
  304|      4|    return node;
  305|      4|}
parser.c:CHECK_CALL:
  214|  1.41k|{
  215|  1.41k|    if (result == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 1.41k]
  ------------------
  216|       |        assert(PyErr_Occurred());
  217|      0|        p->error_indicator = 1;
  218|      0|    }
  219|  1.41k|    return result;
  220|  1.41k|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  226|    128|{
  227|    128|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (227:9): [True: 64, False: 64]
  |  Branch (227:27): [True: 0, False: 64]
  ------------------
  228|      0|        p->error_indicator = 1;
  229|      0|    }
  230|    128|    return result;
  231|    128|}
parser.c:NEW_TYPE_COMMENT:
  274|    606|{
  275|    606|    if (tc == NULL) {
  ------------------
  |  Branch (275:9): [True: 606, False: 0]
  ------------------
  276|    606|        return NULL;
  277|    606|    }
  278|      0|    const char *bytes = PyBytes_AsString(tc->bytes);
  279|      0|    if (bytes == NULL) {
  ------------------
  |  Branch (279:9): [True: 0, False: 0]
  ------------------
  280|      0|        goto error;
  281|      0|    }
  282|      0|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  283|      0|    if (tco == NULL) {
  ------------------
  |  Branch (283:9): [True: 0, False: 0]
  ------------------
  284|      0|        goto error;
  285|      0|    }
  286|      0|    return tco;
  287|      0| error:
  288|      0|    p->error_indicator = 1;  // Inline CHECK_CALL
  289|       |    return NULL;
  290|      0|}

_PyPegen_raise_error:
  230|      2|{
  231|       |    // Bail out if we already have an error set.
  232|      2|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (232:9): [True: 0, False: 2]
  |  Branch (232:31): [True: 0, False: 0]
  ------------------
  233|      0|        return NULL;
  234|      0|    }
  235|      2|    if (p->fill == 0) {
  ------------------
  |  Branch (235:9): [True: 0, False: 2]
  ------------------
  236|      0|        va_list va;
  237|      0|        va_start(va, errmsg);
  238|      0|        _PyPegen_raise_error_known_location(p, errtype, 0, 0, 0, -1, errmsg, va);
  239|      0|        va_end(va);
  240|      0|        return NULL;
  241|      0|    }
  242|      2|    if (use_mark && p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (242:9): [True: 0, False: 2]
  |  Branch (242:21): [True: 0, False: 0]
  |  Branch (242:43): [True: 0, False: 0]
  ------------------
  243|      0|        p->error_indicator = 1;
  244|      0|        return NULL;
  245|      0|    }
  246|      2|    Token *t = p->known_err_token != NULL
  ------------------
  |  Branch (246:16): [True: 0, False: 2]
  ------------------
  247|      2|                   ? p->known_err_token
  248|      2|                   : p->tokens[use_mark ? p->mark : p->fill - 1];
  ------------------
  |  Branch (248:32): [True: 0, False: 2]
  ------------------
  249|      2|    Py_ssize_t col_offset;
  250|      2|    Py_ssize_t end_col_offset = -1;
  251|      2|    if (t->col_offset == -1) {
  ------------------
  |  Branch (251:9): [True: 2, False: 0]
  ------------------
  252|      2|        if (p->tok->cur == p->tok->buf) {
  ------------------
  |  Branch (252:13): [True: 0, False: 2]
  ------------------
  253|      0|            col_offset = 0;
  254|      2|        } else {
  255|      2|            const char* start = p->tok->buf  ? p->tok->line_start : p->tok->buf;
  ------------------
  |  Branch (255:33): [True: 2, False: 0]
  ------------------
  256|      2|            col_offset = Py_SAFE_DOWNCAST(p->tok->cur - start, intptr_t, int);
  ------------------
  |  |  247|      2|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|      2|        }
  258|      2|    } else {
  259|      0|        col_offset = t->col_offset + 1;
  260|      0|    }
  261|       |
  262|      2|    if (t->end_col_offset != -1) {
  ------------------
  |  Branch (262:9): [True: 0, False: 2]
  ------------------
  263|      0|        end_col_offset = t->end_col_offset + 1;
  264|      0|    }
  265|       |
  266|      2|    va_list va;
  267|      2|    va_start(va, errmsg);
  268|      2|    _PyPegen_raise_error_known_location(p, errtype, t->lineno, col_offset, t->end_lineno, end_col_offset, errmsg, va);
  269|      2|    va_end(va);
  270|       |
  271|       |    return NULL;
  272|      2|}
_PyPegen_raise_error_known_location:
  322|  54.1k|{
  323|       |    // Bail out if we already have an error set.
  324|  54.1k|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (324:9): [True: 0, False: 54.1k]
  |  Branch (324:31): [True: 0, False: 0]
  ------------------
  325|      0|        return NULL;
  326|      0|    }
  327|  54.1k|    PyObject *value = NULL;
  328|  54.1k|    PyObject *errstr = NULL;
  329|  54.1k|    PyObject *error_line = NULL;
  330|  54.1k|    PyObject *tmp = NULL;
  331|  54.1k|    p->error_indicator = 1;
  332|       |
  333|  54.1k|    if (end_lineno == CURRENT_POS) {
  ------------------
  |  |   27|  54.1k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (333:9): [True: 0, False: 54.1k]
  ------------------
  334|      0|        end_lineno = p->tok->lineno;
  335|      0|    }
  336|  54.1k|    if (end_col_offset == CURRENT_POS) {
  ------------------
  |  |   27|  54.1k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (336:9): [True: 0, False: 54.1k]
  ------------------
  337|      0|        end_col_offset = p->tok->cur - p->tok->line_start;
  338|      0|    }
  339|       |
  340|  54.1k|    errstr = PyUnicode_FromFormatV(errmsg, va);
  341|  54.1k|    if (!errstr) {
  ------------------
  |  Branch (341:9): [True: 0, False: 54.1k]
  ------------------
  342|      0|        goto error;
  343|      0|    }
  344|       |
  345|  54.1k|    if (p->tok->fp_interactive && p->tok->interactive_src_start != NULL) {
  ------------------
  |  Branch (345:9): [True: 0, False: 54.1k]
  |  Branch (345:35): [True: 0, False: 0]
  ------------------
  346|      0|        error_line = get_error_line_from_tokenizer_buffers(p, lineno);
  347|      0|    }
  348|  54.1k|    else if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  54.1k|#define Py_file_input 257
  ------------------
  |  Branch (348:14): [True: 54.1k, False: 0]
  ------------------
  349|  54.1k|        error_line = _PyErr_ProgramDecodedTextObject(p->tok->filename,
  350|  54.1k|                                                     (int) lineno, p->tok->encoding);
  351|  54.1k|    }
  352|       |
  353|  54.1k|    if (!error_line) {
  ------------------
  |  Branch (353:9): [True: 54.1k, False: 0]
  ------------------
  354|       |        /* PyErr_ProgramTextObject was not called or returned NULL. If it was not called,
  355|       |           then we need to find the error line from some other source, because
  356|       |           p->start_rule != Py_file_input. If it returned NULL, then it either unexpectedly
  357|       |           failed or we're parsing from a string or the REPL. There's a third edge case where
  358|       |           we're actually parsing from a file, which has an E_EOF SyntaxError and in that case
  359|       |           `PyErr_ProgramTextObject` fails because lineno points to last_file_line + 1, which
  360|       |           does not physically exist */
  361|  54.1k|        assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF);
  362|       |
  363|  54.1k|        if (p->tok->lineno <= lineno && p->tok->inp > p->tok->buf) {
  ------------------
  |  Branch (363:13): [True: 54.1k, False: 0]
  |  Branch (363:41): [True: 54.1k, False: 0]
  ------------------
  364|  54.1k|            Py_ssize_t size = p->tok->inp - p->tok->line_start;
  365|  54.1k|            error_line = PyUnicode_DecodeUTF8(p->tok->line_start, size, "replace");
  366|  54.1k|        }
  367|      0|        else if (p->tok->fp == NULL || p->tok->fp == stdin) {
  ------------------
  |  Branch (367:18): [True: 0, False: 0]
  |  Branch (367:40): [True: 0, False: 0]
  ------------------
  368|      0|            error_line = get_error_line_from_tokenizer_buffers(p, lineno);
  369|      0|        }
  370|      0|        else {
  371|      0|            error_line = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  372|      0|        }
  373|  54.1k|        if (!error_line) {
  ------------------
  |  Branch (373:13): [True: 0, False: 54.1k]
  ------------------
  374|      0|            goto error;
  375|      0|        }
  376|  54.1k|    }
  377|       |
  378|  54.1k|    Py_ssize_t col_number = col_offset;
  379|  54.1k|    Py_ssize_t end_col_number = end_col_offset;
  380|       |
  381|  54.1k|    col_number = _PyPegen_byte_offset_to_character_offset(error_line, col_offset);
  382|  54.1k|    if (col_number < 0) {
  ------------------
  |  Branch (382:9): [True: 0, False: 54.1k]
  ------------------
  383|      0|        goto error;
  384|      0|    }
  385|       |
  386|  54.1k|    if (end_col_offset > 0) {
  ------------------
  |  Branch (386:9): [True: 54.1k, False: 2]
  ------------------
  387|  54.1k|        end_col_number = _PyPegen_byte_offset_to_character_offset(error_line, end_col_offset);
  388|  54.1k|        if (end_col_number < 0) {
  ------------------
  |  Branch (388:13): [True: 0, False: 54.1k]
  ------------------
  389|      0|            goto error;
  390|      0|        }
  391|  54.1k|    }
  392|       |
  393|  54.1k|    tmp = Py_BuildValue("(OnnNnn)", p->tok->filename, lineno, col_number, error_line, end_lineno, end_col_number);
  394|  54.1k|    if (!tmp) {
  ------------------
  |  Branch (394:9): [True: 0, False: 54.1k]
  ------------------
  395|      0|        goto error;
  396|      0|    }
  397|  54.1k|    value = _PyTuple_FromPair(errstr, tmp);
  398|  54.1k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|  54.1k|    if (!value) {
  ------------------
  |  Branch (399:9): [True: 0, False: 54.1k]
  ------------------
  400|      0|        goto error;
  401|      0|    }
  402|  54.1k|    PyErr_SetObject(errtype, value);
  403|       |
  404|  54.1k|    Py_DECREF(errstr);
  ------------------
  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  54.1k|    Py_DECREF(value);
  ------------------
  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|  54.1k|    return NULL;
  407|       |
  408|      0|error:
  409|      0|    Py_XDECREF(errstr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      0|    Py_XDECREF(error_line);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|       |    return NULL;
  412|  54.1k|}
_Pypegen_set_syntax_error:
  415|  54.1k|_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
  416|       |    // Existing syntax error
  417|  54.1k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (417:9): [True: 0, False: 54.1k]
  ------------------
  418|       |        // Prioritize tokenizer errors to custom syntax errors raised
  419|       |        // on the second phase only if the errors come from the parser.
  420|      0|        int is_tok_ok = (p->tok->done == E_DONE || p->tok->done == E_OK);
  ------------------
  |  |   28|      0|#define E_DONE           16      /* Parsing complete */
  ------------------
                      int is_tok_ok = (p->tok->done == E_DONE || p->tok->done == E_OK);
  ------------------
  |  |   22|      0|#define E_OK             10      /* No error */
  ------------------
  |  Branch (420:26): [True: 0, False: 0]
  |  Branch (420:52): [True: 0, False: 0]
  ------------------
  421|      0|        if (is_tok_ok && PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (421:13): [True: 0, False: 0]
  |  Branch (421:26): [True: 0, False: 0]
  ------------------
  422|      0|            _PyPegen_tokenize_full_source_to_check_for_errors(p);
  423|      0|        }
  424|       |        // Propagate the existing syntax error.
  425|      0|        return;
  426|      0|    }
  427|       |    // Initialization error
  428|  54.1k|    if (p->fill == 0) {
  ------------------
  |  Branch (428:9): [True: 0, False: 54.1k]
  ------------------
  429|      0|        RAISE_SYNTAX_ERROR("error at start before reading any input");
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  430|      0|    }
  431|       |    // Parser encountered EOF (End of File) unexpectedtly
  432|  54.1k|    if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) {
  ------------------
  |  |   83|   108k|#define ERRORTOKEN      67
  ------------------
                  if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) {
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (432:9): [True: 0, False: 54.1k]
  |  Branch (432:43): [True: 0, False: 0]
  ------------------
  433|      0|        if (p->tok->level) {
  ------------------
  |  Branch (433:13): [True: 0, False: 0]
  ------------------
  434|      0|            raise_unclosed_parentheses_error(p);
  435|      0|        } else {
  436|      0|            RAISE_SYNTAX_ERROR("unexpected EOF while parsing");
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  437|      0|        }
  438|      0|        return;
  439|      0|    }
  440|       |    // Indentation error in the tokenizer
  441|  54.1k|    if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   21|   108k|#define INDENT          5
  ------------------
                  if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   22|  54.1k|#define DEDENT          6
  ------------------
  |  Branch (441:9): [True: 2, False: 54.1k]
  |  Branch (441:39): [True: 0, False: 54.1k]
  ------------------
  442|      2|        RAISE_INDENTATION_ERROR(last_token->type == INDENT ? "unexpected indent" : "unexpected unindent");
  ------------------
  |  |  202|      4|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  Branch (202:94): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  443|      2|        return;
  444|      2|    }
  445|       |    // Unknown error (generic case)
  446|       |
  447|       |    // Use the last token we found on the first pass to avoid reporting
  448|       |    // incorrect locations for generic syntax errors just because we reached
  449|       |    // further away when trying to find specific syntax errors in the second
  450|       |    // pass.
  451|  54.1k|    RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax");
  ------------------
  |  |  207|  54.1k|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  452|       |    // _PyPegen_tokenize_full_source_to_check_for_errors will override the existing
  453|       |    // generic SyntaxError we just raised if errors are found.
  454|  54.1k|    _PyPegen_tokenize_full_source_to_check_for_errors(p);
  455|  54.1k|}
pegen_errors.c:_PyPegen_tokenize_full_source_to_check_for_errors:
  165|  54.1k|_PyPegen_tokenize_full_source_to_check_for_errors(Parser *p) {
  166|       |    // Tokenize the whole input to see if there are any tokenization
  167|       |    // errors such as mismatching parentheses. These will get priority
  168|       |    // over generic syntax errors only if the line number of the error is
  169|       |    // before the one that we had for the generic error.
  170|       |
  171|       |    // We don't want to tokenize to the end for interactive input
  172|  54.1k|    if (p->tok->prompt != NULL) {
  ------------------
  |  Branch (172:9): [True: 0, False: 54.1k]
  ------------------
  173|      0|        return 0;
  174|      0|    }
  175|       |
  176|  54.1k|    PyObject *type, *value, *traceback;
  177|  54.1k|    PyErr_Fetch(&type, &value, &traceback);
  178|       |
  179|  54.1k|    Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1];
  ------------------
  |  Branch (179:28): [True: 0, False: 54.1k]
  ------------------
  180|  54.1k|    Py_ssize_t current_err_line = current_token->lineno;
  181|       |
  182|  54.1k|    int ret = 0;
  183|  54.1k|    struct token new_token;
  184|  54.1k|    _PyToken_Init(&new_token);
  185|       |
  186|   216k|    for (;;) {
  187|   216k|        switch (_PyTokenizer_Get(p->tok, &new_token)) {
  188|      0|            case ERRORTOKEN:
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
  |  Branch (188:13): [True: 0, False: 216k]
  ------------------
  189|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (189:21): [True: 0, False: 0]
  ------------------
  190|      0|                    ret = -1;
  191|      0|                    goto exit;
  192|      0|                }
  193|      0|                if (p->tok->level != 0) {
  ------------------
  |  Branch (193:21): [True: 0, False: 0]
  ------------------
  194|      0|                    int error_lineno = p->tok->parenlinenostack[p->tok->level-1];
  195|      0|                    if (current_err_line > error_lineno) {
  ------------------
  |  Branch (195:25): [True: 0, False: 0]
  ------------------
  196|      0|                        raise_unclosed_parentheses_error(p);
  197|      0|                        ret = -1;
  198|      0|                        goto exit;
  199|      0|                    }
  200|      0|                }
  201|      0|                break;
  202|  54.1k|            case ENDMARKER:
  ------------------
  |  |   16|  54.1k|#define ENDMARKER       0
  ------------------
  |  Branch (202:13): [True: 54.1k, False: 162k]
  ------------------
  203|  54.1k|                break;
  204|   162k|            default:
  ------------------
  |  Branch (204:13): [True: 162k, False: 54.1k]
  ------------------
  205|   162k|                continue;
  206|   216k|        }
  207|  54.1k|        break;
  208|   216k|    }
  209|       |
  210|       |
  211|  54.1k|exit:
  212|  54.1k|    _PyToken_Free(&new_token);
  213|       |    // If we're in an f-string, we want the syntax error in the expression part
  214|       |    // to propagate, so that tokenizer errors (like expecting '}') that happen afterwards
  215|       |    // do not swallow it.
  216|  54.1k|    if (PyErr_Occurred() && p->tok->tok_mode_stack_index <= 0) {
  ------------------
  |  Branch (216:9): [True: 0, False: 54.1k]
  |  Branch (216:29): [True: 0, False: 0]
  ------------------
  217|      0|        Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  218|      0|        Py_XDECREF(type);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|      0|        Py_XDECREF(traceback);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  54.1k|    } else {
  221|  54.1k|        PyErr_Restore(type, value, traceback);
  222|  54.1k|    }
  223|  54.1k|    return ret;
  224|  54.1k|}

_PyPegen_decode_string:
  243|    692|{
  244|    692|    if (raw) {
  ------------------
  |  Branch (244:9): [True: 692, False: 0]
  ------------------
  245|    692|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  246|    692|    }
  247|      0|    return decode_unicode_with_escapes(p, s, len, t);
  248|    692|}
_PyPegen_parse_string:
  255|    400|{
  256|    400|    const char *s = PyBytes_AsString(t->bytes);
  257|    400|    if (s == NULL) {
  ------------------
  |  Branch (257:9): [True: 0, False: 400]
  ------------------
  258|      0|        return NULL;
  259|      0|    }
  260|       |
  261|    400|    size_t len;
  262|    400|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  138|    400|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  263|    400|    int bytesmode = 0;
  264|    400|    int rawmode = 0;
  265|       |
  266|    400|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|    400|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|    400|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|    400|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    400|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|    400|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 0, False: 400]
  |  |  ------------------
  ------------------
  267|      0|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (267:16): [True: 0, False: 0]
  |  Branch (267:30): [True: 0, False: 0]
  ------------------
  268|      0|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (268:17): [True: 0, False: 0]
  |  Branch (268:33): [True: 0, False: 0]
  ------------------
  269|      0|                quote =(unsigned char)*++s;
  270|      0|                bytesmode = 1;
  271|      0|            }
  272|      0|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (272:22): [True: 0, False: 0]
  |  Branch (272:38): [True: 0, False: 0]
  ------------------
  273|      0|                quote = (unsigned char)*++s;
  274|      0|            }
  275|      0|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (275:22): [True: 0, False: 0]
  |  Branch (275:38): [True: 0, False: 0]
  ------------------
  276|      0|                quote = (unsigned char)*++s;
  277|      0|                rawmode = 1;
  278|      0|            }
  279|      0|            else {
  280|      0|                break;
  281|      0|            }
  282|      0|        }
  283|      0|    }
  284|       |
  285|    400|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (285:9): [True: 24, False: 376]
  |  Branch (285:26): [True: 0, False: 24]
  ------------------
  286|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|       |    /* Skip the leading quote char. */
  291|    400|    s++;
  292|    400|    len = strlen(s);
  293|       |    // gh-120155: 's' contains at least the trailing quote,
  294|       |    // so the code '--len' below is safe.
  295|    400|    assert(len >= 1);
  296|       |
  297|    400|    if (len > INT_MAX) {
  ------------------
  |  Branch (297:9): [True: 0, False: 400]
  ------------------
  298|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  299|      0|        return NULL;
  300|      0|    }
  301|    400|    if (s[--len] != quote) {
  ------------------
  |  Branch (301:9): [True: 0, False: 400]
  ------------------
  302|       |        /* Last quote char must match the first. */
  303|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  304|      0|        return NULL;
  305|      0|    }
  306|    400|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (306:9): [True: 398, False: 2]
  |  Branch (306:21): [True: 6, False: 392]
  |  Branch (306:38): [True: 6, False: 0]
  ------------------
  307|       |        /* A triple quoted string. We've already skipped one quote at
  308|       |           the start and one at the end of the string. Now skip the
  309|       |           two at the start. */
  310|      6|        s += 2;
  311|      6|        len -= 2;
  312|       |        /* And check that the last two match. */
  313|      6|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (313:13): [True: 0, False: 6]
  |  Branch (313:34): [True: 0, False: 6]
  ------------------
  314|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  315|      0|            return NULL;
  316|      0|        }
  317|      6|    }
  318|       |
  319|       |    /* Avoid invoking escape decoding routines if possible. */
  320|    400|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (320:15): [True: 0, False: 400]
  |  Branch (320:26): [True: 400, False: 0]
  ------------------
  321|    400|    if (bytesmode) {
  ------------------
  |  Branch (321:9): [True: 0, False: 400]
  ------------------
  322|       |        /* Disallow non-ASCII characters. */
  323|      0|        const char *ch;
  324|      0|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (324:22): [True: 0, False: 0]
  ------------------
  325|      0|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (325:17): [True: 0, False: 0]
  ------------------
  326|      0|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  207|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  327|      0|                                   t,
  328|      0|                                   "bytes can only contain ASCII "
  329|      0|                                   "literal characters");
  330|      0|                return NULL;
  331|      0|            }
  332|      0|        }
  333|      0|        if (rawmode) {
  ------------------
  |  Branch (333:13): [True: 0, False: 0]
  ------------------
  334|      0|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  335|      0|        }
  336|      0|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  337|      0|    }
  338|    400|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  339|    400|}

_PyToken_OneChar:
   85|   170k|{
   86|   170k|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 170k, False: 2]
  ------------------
   87|    246|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|    246|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 246, False: 170k]
  ------------------
   88|      0|    case '%': return PERCENT;
  ------------------
  |  |   40|      0|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 0, False: 170k]
  ------------------
   89|      0|    case '&': return AMPER;
  ------------------
  |  |   35|      0|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 0, False: 170k]
  ------------------
   90|  1.43k|    case '(': return LPAR;
  ------------------
  |  |   23|  1.43k|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 1.43k, False: 168k]
  ------------------
   91|  1.43k|    case ')': return RPAR;
  ------------------
  |  |   24|  1.43k|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 1.43k, False: 168k]
  ------------------
   92|     64|    case '*': return STAR;
  ------------------
  |  |   32|     64|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 64, False: 170k]
  ------------------
   93|      0|    case '+': return PLUS;
  ------------------
  |  |   30|      0|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 0, False: 170k]
  ------------------
   94|  2.37k|    case ',': return COMMA;
  ------------------
  |  |   28|  2.37k|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 2.37k, False: 167k]
  ------------------
   95|     22|    case '-': return MINUS;
  ------------------
  |  |   31|     22|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 22, False: 170k]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 170k]
  ------------------
   97|     10|    case '/': return SLASH;
  ------------------
  |  |   33|     10|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 10, False: 170k]
  ------------------
   98|  54.9k|    case ':': return COLON;
  ------------------
  |  |   27|  54.9k|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 54.9k, False: 115k]
  ------------------
   99|      0|    case ';': return SEMI;
  ------------------
  |  |   29|      0|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 0, False: 170k]
  ------------------
  100|  54.1k|    case '<': return LESS;
  ------------------
  |  |   36|  54.1k|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 54.1k, False: 116k]
  ------------------
  101|    612|    case '=': return EQUAL;
  ------------------
  |  |   38|    612|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 612, False: 169k]
  ------------------
  102|  54.1k|    case '>': return GREATER;
  ------------------
  |  |   37|  54.1k|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 54.1k, False: 116k]
  ------------------
  103|     70|    case '@': return AT;
  ------------------
  |  |   65|     70|#define AT              49
  ------------------
  |  Branch (103:5): [True: 70, False: 170k]
  ------------------
  104|     12|    case '[': return LSQB;
  ------------------
  |  |   25|     12|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 12, False: 170k]
  ------------------
  105|     12|    case ']': return RSQB;
  ------------------
  |  |   26|     12|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 12, False: 170k]
  ------------------
  106|      0|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|      0|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 0, False: 170k]
  ------------------
  107|    340|    case '{': return LBRACE;
  ------------------
  |  |   41|    340|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 340, False: 169k]
  ------------------
  108|     12|    case '|': return VBAR;
  ------------------
  |  |   34|     12|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 12, False: 170k]
  ------------------
  109|    340|    case '}': return RBRACE;
  ------------------
  |  |   42|    340|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 340, False: 169k]
  ------------------
  110|      0|    case '~': return TILDE;
  ------------------
  |  |   47|      0|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 0, False: 170k]
  ------------------
  111|   170k|    }
  112|      2|    return OP;
  ------------------
  |  |   71|      2|#define OP              55
  ------------------
  113|   170k|}
_PyToken_TwoChars:
  117|   170k|{
  118|   170k|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 164k, False: 5.95k]
  ------------------
  119|    246|    case '!':
  ------------------
  |  Branch (119:5): [True: 246, False: 170k]
  ------------------
  120|    246|        switch (c2) {
  ------------------
  |  Branch (120:17): [True: 0, False: 246]
  ------------------
  121|      0|        case '=': return NOTEQUAL;
  ------------------
  |  |   44|      0|#define NOTEQUAL        28
  ------------------
  |  Branch (121:9): [True: 0, False: 246]
  ------------------
  122|    246|        }
  123|    246|        break;
  124|    246|    case '%':
  ------------------
  |  Branch (124:5): [True: 0, False: 170k]
  ------------------
  125|      0|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|      0|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 0, False: 0]
  ------------------
  127|      0|        }
  128|      0|        break;
  129|      0|    case '&':
  ------------------
  |  Branch (129:5): [True: 0, False: 170k]
  ------------------
  130|      0|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|      0|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 0, False: 0]
  ------------------
  132|      0|        }
  133|      0|        break;
  134|     82|    case '*':
  ------------------
  |  Branch (134:5): [True: 82, False: 170k]
  ------------------
  135|     82|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 18, False: 64]
  ------------------
  136|     14|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|     14|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 14, False: 68]
  ------------------
  137|      4|        case '=': return STAREQUAL;
  ------------------
  |  |   54|      4|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 4, False: 78]
  ------------------
  138|     82|        }
  139|     64|        break;
  140|     64|    case '+':
  ------------------
  |  Branch (140:5): [True: 0, False: 170k]
  ------------------
  141|      0|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  ------------------
  142|      0|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|      0|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 0, False: 0]
  ------------------
  143|      0|        }
  144|      0|        break;
  145|     44|    case '-':
  ------------------
  |  Branch (145:5): [True: 44, False: 170k]
  ------------------
  146|     44|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 22, False: 22]
  ------------------
  147|      8|        case '=': return MINEQUAL;
  ------------------
  |  |   53|      8|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 8, False: 36]
  ------------------
  148|     14|        case '>': return RARROW;
  ------------------
  |  |   67|     14|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 14, False: 30]
  ------------------
  149|     44|        }
  150|     22|        break;
  151|     22|    case '/':
  ------------------
  |  Branch (151:5): [True: 10, False: 170k]
  ------------------
  152|     10|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 0, False: 10]
  ------------------
  153|      0|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|      0|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 0, False: 10]
  ------------------
  154|      0|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|      0|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 0, False: 10]
  ------------------
  155|     10|        }
  156|     10|        break;
  157|  54.9k|    case ':':
  ------------------
  |  Branch (157:5): [True: 54.9k, False: 115k]
  ------------------
  158|  54.9k|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 0, False: 54.9k]
  ------------------
  159|      0|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|      0|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 0, False: 54.9k]
  ------------------
  160|  54.9k|        }
  161|  54.9k|        break;
  162|  54.9k|    case '<':
  ------------------
  |  Branch (162:5): [True: 54.1k, False: 116k]
  ------------------
  163|  54.1k|        switch (c2) {
  ------------------
  |  Branch (163:17): [True: 6, False: 54.1k]
  ------------------
  164|      0|        case '<': return LEFTSHIFT;
  ------------------
  |  |   49|      0|#define LEFTSHIFT       33
  ------------------
  |  Branch (164:9): [True: 0, False: 54.1k]
  ------------------
  165|      6|        case '=': return LESSEQUAL;
  ------------------
  |  |   45|      6|#define LESSEQUAL       29
  ------------------
  |  Branch (165:9): [True: 6, False: 54.1k]
  ------------------
  166|      0|        case '>': return NOTEQUAL;
  ------------------
  |  |   44|      0|#define NOTEQUAL        28
  ------------------
  |  Branch (166:9): [True: 0, False: 54.1k]
  ------------------
  167|  54.1k|        }
  168|  54.1k|        break;
  169|  54.1k|    case '=':
  ------------------
  |  Branch (169:5): [True: 838, False: 169k]
  ------------------
  170|    838|        switch (c2) {
  ------------------
  |  Branch (170:17): [True: 226, False: 612]
  ------------------
  171|    226|        case '=': return EQEQUAL;
  ------------------
  |  |   43|    226|#define EQEQUAL         27
  ------------------
  |  Branch (171:9): [True: 226, False: 612]
  ------------------
  172|    838|        }
  173|    612|        break;
  174|  54.1k|    case '>':
  ------------------
  |  Branch (174:5): [True: 54.1k, False: 116k]
  ------------------
  175|  54.1k|        switch (c2) {
  ------------------
  |  Branch (175:17): [True: 0, False: 54.1k]
  ------------------
  176|      0|        case '=': return GREATEREQUAL;
  ------------------
  |  |   46|      0|#define GREATEREQUAL    30
  ------------------
  |  Branch (176:9): [True: 0, False: 54.1k]
  ------------------
  177|      0|        case '>': return RIGHTSHIFT;
  ------------------
  |  |   50|      0|#define RIGHTSHIFT      34
  ------------------
  |  Branch (177:9): [True: 0, False: 54.1k]
  ------------------
  178|  54.1k|        }
  179|  54.1k|        break;
  180|  54.1k|    case '@':
  ------------------
  |  Branch (180:5): [True: 70, False: 170k]
  ------------------
  181|     70|        switch (c2) {
  ------------------
  |  Branch (181:17): [True: 0, False: 70]
  ------------------
  182|      0|        case '=': return ATEQUAL;
  ------------------
  |  |   66|      0|#define ATEQUAL         50
  ------------------
  |  Branch (182:9): [True: 0, False: 70]
  ------------------
  183|     70|        }
  184|     70|        break;
  185|     70|    case '^':
  ------------------
  |  Branch (185:5): [True: 0, False: 170k]
  ------------------
  186|      0|        switch (c2) {
  ------------------
  |  Branch (186:17): [True: 0, False: 0]
  ------------------
  187|      0|        case '=': return CIRCUMFLEXEQUAL;
  ------------------
  |  |   59|      0|#define CIRCUMFLEXEQUAL 43
  ------------------
  |  Branch (187:9): [True: 0, False: 0]
  ------------------
  188|      0|        }
  189|      0|        break;
  190|     12|    case '|':
  ------------------
  |  Branch (190:5): [True: 12, False: 170k]
  ------------------
  191|     12|        switch (c2) {
  ------------------
  |  Branch (191:17): [True: 0, False: 12]
  ------------------
  192|      0|        case '=': return VBAREQUAL;
  ------------------
  |  |   58|      0|#define VBAREQUAL       42
  ------------------
  |  Branch (192:9): [True: 0, False: 12]
  ------------------
  193|     12|        }
  194|     12|        break;
  195|   170k|    }
  196|   170k|    return OP;
  ------------------
  |  |   71|   170k|#define OP              55
  ------------------
  197|   170k|}
_PyToken_ThreeChars:
  201|    272|{
  202|    272|    switch (c1) {
  ------------------
  |  Branch (202:13): [True: 24, False: 248]
  ------------------
  203|     18|    case '*':
  ------------------
  |  Branch (203:5): [True: 18, False: 254]
  ------------------
  204|     18|        switch (c2) {
  ------------------
  |  Branch (204:17): [True: 14, False: 4]
  ------------------
  205|     14|        case '*':
  ------------------
  |  Branch (205:9): [True: 14, False: 4]
  ------------------
  206|     14|            switch (c3) {
  ------------------
  |  Branch (206:21): [True: 0, False: 14]
  ------------------
  207|      0|            case '=': return DOUBLESTAREQUAL;
  ------------------
  |  |   62|      0|#define DOUBLESTAREQUAL 46
  ------------------
  |  Branch (207:13): [True: 0, False: 14]
  ------------------
  208|     14|            }
  209|     14|            break;
  210|     18|        }
  211|     18|        break;
  212|     18|    case '.':
  ------------------
  |  Branch (212:5): [True: 0, False: 272]
  ------------------
  213|      0|        switch (c2) {
  ------------------
  |  Branch (213:17): [True: 0, False: 0]
  ------------------
  214|      0|        case '.':
  ------------------
  |  Branch (214:9): [True: 0, False: 0]
  ------------------
  215|      0|            switch (c3) {
  ------------------
  |  Branch (215:21): [True: 0, False: 0]
  ------------------
  216|      0|            case '.': return ELLIPSIS;
  ------------------
  |  |   68|      0|#define ELLIPSIS        52
  ------------------
  |  Branch (216:13): [True: 0, False: 0]
  ------------------
  217|      0|            }
  218|      0|            break;
  219|      0|        }
  220|      0|        break;
  221|      0|    case '/':
  ------------------
  |  Branch (221:5): [True: 0, False: 272]
  ------------------
  222|      0|        switch (c2) {
  ------------------
  |  Branch (222:17): [True: 0, False: 0]
  ------------------
  223|      0|        case '/':
  ------------------
  |  Branch (223:9): [True: 0, False: 0]
  ------------------
  224|      0|            switch (c3) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|            case '=': return DOUBLESLASHEQUAL;
  ------------------
  |  |   64|      0|#define DOUBLESLASHEQUAL 48
  ------------------
  |  Branch (225:13): [True: 0, False: 0]
  ------------------
  226|      0|            }
  227|      0|            break;
  228|      0|        }
  229|      0|        break;
  230|      6|    case '<':
  ------------------
  |  Branch (230:5): [True: 6, False: 266]
  ------------------
  231|      6|        switch (c2) {
  ------------------
  |  Branch (231:17): [True: 0, False: 6]
  ------------------
  232|      0|        case '<':
  ------------------
  |  Branch (232:9): [True: 0, False: 6]
  ------------------
  233|      0|            switch (c3) {
  ------------------
  |  Branch (233:21): [True: 0, False: 0]
  ------------------
  234|      0|            case '=': return LEFTSHIFTEQUAL;
  ------------------
  |  |   60|      0|#define LEFTSHIFTEQUAL  44
  ------------------
  |  Branch (234:13): [True: 0, False: 0]
  ------------------
  235|      0|            }
  236|      0|            break;
  237|      6|        }
  238|      6|        break;
  239|      6|    case '>':
  ------------------
  |  Branch (239:5): [True: 0, False: 272]
  ------------------
  240|      0|        switch (c2) {
  ------------------
  |  Branch (240:17): [True: 0, False: 0]
  ------------------
  241|      0|        case '>':
  ------------------
  |  Branch (241:9): [True: 0, False: 0]
  ------------------
  242|      0|            switch (c3) {
  ------------------
  |  Branch (242:21): [True: 0, False: 0]
  ------------------
  243|      0|            case '=': return RIGHTSHIFTEQUAL;
  ------------------
  |  |   61|      0|#define RIGHTSHIFTEQUAL 45
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  ------------------
  244|      0|            }
  245|      0|            break;
  246|      0|        }
  247|      0|        break;
  248|    272|    }
  249|    272|    return OP;
  ------------------
  |  |   71|    272|#define OP              55
  ------------------
  250|    272|}

_PyTokenizer_new_string:
  192|  54.4k|{
  193|  54.4k|    char* result = (char *)PyMem_Malloc(len + 1);
  194|  54.4k|    if (!result) {
  ------------------
  |  Branch (194:9): [True: 0, False: 54.4k]
  ------------------
  195|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  196|      0|        PyErr_NoMemory();
  197|      0|        return NULL;
  198|      0|    }
  199|  54.4k|    memcpy(result, s, len);
  200|  54.4k|    result[len] = '\0';
  201|  54.4k|    return result;
  202|  54.4k|}
_PyTokenizer_translate_newlines:
  217|  54.4k|                   struct tok_state *tok) {
  218|  54.4k|    int skip_next_lf = 0;
  219|  54.4k|    size_t needed_length = strlen(s) + 2, final_length;
  220|  54.4k|    char *buf, *current;
  221|  54.4k|    char c = '\0';
  222|  54.4k|    buf = PyMem_Malloc(needed_length);
  223|  54.4k|    if (buf == NULL) {
  ------------------
  |  Branch (223:9): [True: 0, False: 54.4k]
  ------------------
  224|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  225|      0|        PyErr_NoMemory();
  226|      0|        return NULL;
  227|      0|    }
  228|  1.18M|    for (current = buf; *s; s++, current++) {
  ------------------
  |  Branch (228:25): [True: 1.13M, False: 54.4k]
  ------------------
  229|  1.13M|        c = *s;
  230|  1.13M|        if (skip_next_lf) {
  ------------------
  |  Branch (230:13): [True: 0, False: 1.13M]
  ------------------
  231|      0|            skip_next_lf = 0;
  232|      0|            if (c == '\n') {
  ------------------
  |  Branch (232:17): [True: 0, False: 0]
  ------------------
  233|      0|                c = *++s;
  234|      0|                if (!c)
  ------------------
  |  Branch (234:21): [True: 0, False: 0]
  ------------------
  235|      0|                    break;
  236|      0|            }
  237|      0|        }
  238|  1.13M|        if (!preserve_crlf && c == '\r') {
  ------------------
  |  Branch (238:13): [True: 1.13M, False: 0]
  |  Branch (238:31): [True: 0, False: 1.13M]
  ------------------
  239|      0|            skip_next_lf = 1;
  240|      0|            c = '\n';
  241|      0|        }
  242|  1.13M|        *current = c;
  243|  1.13M|    }
  244|       |    /* If this is exec input, add a newline to the end of the string if
  245|       |       there isn't one already. */
  246|  54.4k|    if (exec_input && c != '\n' && c != '\0') {
  ------------------
  |  Branch (246:9): [True: 54.3k, False: 78]
  |  Branch (246:23): [True: 54.2k, False: 101]
  |  Branch (246:36): [True: 54.2k, False: 0]
  ------------------
  247|  54.2k|        *current = '\n';
  248|  54.2k|        current++;
  249|  54.2k|    }
  250|  54.4k|    *current = '\0';
  251|  54.4k|    final_length = current - buf + 1;
  252|  54.4k|    if (final_length < needed_length && final_length) {
  ------------------
  |  Branch (252:9): [True: 179, False: 54.2k]
  |  Branch (252:41): [True: 179, False: 0]
  ------------------
  253|       |        /* should never fail */
  254|    179|        char* result = PyMem_Realloc(buf, final_length);
  255|    179|        if (result == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 179]
  ------------------
  256|      0|            PyMem_Free(buf);
  257|      0|        }
  258|    179|        buf = result;
  259|    179|    }
  260|  54.4k|    return buf;
  261|  54.4k|}
_PyTokenizer_check_bom:
  274|      6|{
  275|      6|    int ch1, ch2, ch3;
  276|      6|    ch1 = get_char(tok);
  277|      6|    tok->decoding_state = STATE_SEEK_CODING;
  278|      6|    if (ch1 == EOF) {
  ------------------
  |  Branch (278:9): [True: 0, False: 6]
  ------------------
  279|      0|        return 1;
  280|      6|    } else if (ch1 == 0xEF) {
  ------------------
  |  Branch (280:16): [True: 0, False: 6]
  ------------------
  281|      0|        ch2 = get_char(tok);
  282|      0|        if (ch2 != 0xBB) {
  ------------------
  |  Branch (282:13): [True: 0, False: 0]
  ------------------
  283|      0|            unget_char(ch2, tok);
  284|      0|            unget_char(ch1, tok);
  285|      0|            return 1;
  286|      0|        }
  287|      0|        ch3 = get_char(tok);
  288|      0|        if (ch3 != 0xBF) {
  ------------------
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|            unget_char(ch3, tok);
  290|      0|            unget_char(ch2, tok);
  291|      0|            unget_char(ch1, tok);
  292|      0|            return 1;
  293|      0|        }
  294|      6|    } else {
  295|      6|        unget_char(ch1, tok);
  296|      6|        return 1;
  297|      6|    }
  298|      0|    if (tok->encoding != NULL)
  ------------------
  |  Branch (298:9): [True: 0, False: 0]
  ------------------
  299|      0|        PyMem_Free(tok->encoding);
  300|      0|    tok->encoding = _PyTokenizer_new_string("utf-8", 5, tok);
  301|      0|    if (!tok->encoding)
  ------------------
  |  Branch (301:9): [True: 0, False: 0]
  ------------------
  302|      0|        return 0;
  303|       |    /* No need to set_readline: input is already utf-8 */
  304|      0|    return 1;
  305|      0|}
_PyTokenizer_check_coding_spec:
  393|      6|{
  394|      6|    char *cs;
  395|      6|    if (tok->cont_line) {
  ------------------
  |  Branch (395:9): [True: 0, False: 6]
  ------------------
  396|       |        /* It's a continuation line, so it can't be a coding spec. */
  397|      0|        tok->decoding_state = STATE_NORMAL;
  398|      0|        return 1;
  399|      0|    }
  400|      6|    if (!get_coding_spec(line, &cs, size, tok)) {
  ------------------
  |  Branch (400:9): [True: 0, False: 6]
  ------------------
  401|      0|        return 0;
  402|      0|    }
  403|      6|    if (!cs) {
  ------------------
  |  Branch (403:9): [True: 6, False: 0]
  ------------------
  404|      6|        Py_ssize_t i;
  405|      6|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (405:21): [True: 6, False: 0]
  ------------------
  406|      6|            if (line[i] == '#' || line[i] == '\n' || line[i] == '\r')
  ------------------
  |  Branch (406:17): [True: 0, False: 6]
  |  Branch (406:35): [True: 0, False: 6]
  |  Branch (406:54): [True: 0, False: 6]
  ------------------
  407|      0|                break;
  408|      6|            if (line[i] != ' ' && line[i] != '\t' && line[i] != '\014') {
  ------------------
  |  Branch (408:17): [True: 6, False: 0]
  |  Branch (408:35): [True: 6, False: 0]
  |  Branch (408:54): [True: 6, False: 0]
  ------------------
  409|       |                /* Stop checking coding spec after a line containing
  410|       |                 * anything except a comment. */
  411|      6|                tok->decoding_state = STATE_NORMAL;
  412|      6|                break;
  413|      6|            }
  414|      6|        }
  415|      6|        return 1;
  416|      6|    }
  417|      0|    tok->decoding_state = STATE_NORMAL;
  418|      0|    if (tok->encoding == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 0]
  ------------------
  419|      0|        assert(tok->decoding_readline == NULL);
  420|      0|        if (strcmp(cs, "utf-8") != 0 && !set_readline(tok, cs)) {
  ------------------
  |  Branch (420:13): [True: 0, False: 0]
  |  Branch (420:41): [True: 0, False: 0]
  ------------------
  421|      0|            _PyTokenizer_error_ret(tok);
  422|      0|            PyErr_Format(PyExc_SyntaxError, "encoding problem: %s", cs);
  423|      0|            PyMem_Free(cs);
  424|      0|            return 0;
  425|      0|        }
  426|      0|        tok->encoding = cs;
  427|      0|    } else {                /* then, compare cs with BOM */
  428|      0|        if (strcmp(tok->encoding, cs) != 0) {
  ------------------
  |  Branch (428:13): [True: 0, False: 0]
  ------------------
  429|      0|            tok->line_start = line;
  430|      0|            tok->cur = (char *)line;
  431|      0|            assert(size <= INT_MAX);
  432|      0|            _PyTokenizer_syntaxerror_known_range(tok, 0, (int)size,
  433|      0|                        "encoding problem: %s with BOM", cs);
  434|      0|            PyMem_Free(cs);
  435|      0|            _PyTokenizer_error_ret(tok);
  436|      0|            return 0;
  437|      0|        }
  438|      0|        PyMem_Free(cs);
  439|      0|    }
  440|      0|    return 1;
  441|      0|}
_PyTokenizer_ensure_utf8:
  509|    174|{
  510|    174|    const char *badchar = NULL;
  511|    174|    const char *c;
  512|    174|    int length;
  513|    174|    int col_offset = 0;
  514|    174|    const char *line_start = line;
  515|  13.8k|    for (c = line; *c; c += length) {
  ------------------
  |  Branch (515:20): [True: 13.6k, False: 174]
  ------------------
  516|  13.6k|        if (!(length = valid_utf8((const unsigned char *)c))) {
  ------------------
  |  Branch (516:13): [True: 0, False: 13.6k]
  ------------------
  517|      0|            badchar = c;
  518|      0|            break;
  519|      0|        }
  520|  13.6k|        col_offset++;
  521|  13.6k|        if (*c == '\n') {
  ------------------
  |  Branch (521:13): [True: 382, False: 13.2k]
  ------------------
  522|    382|            lineno++;
  523|    382|            col_offset = 0;
  524|    382|            line_start = c + 1;
  525|    382|        }
  526|  13.6k|    }
  527|    174|    if (badchar) {
  ------------------
  |  Branch (527:9): [True: 0, False: 174]
  ------------------
  528|      0|        tok->lineno = lineno;
  529|      0|        tok->line_start = line_start;
  530|      0|        tok->cur = (char *)badchar;
  531|      0|        _PyTokenizer_syntaxerror_known_range(tok,
  532|      0|                col_offset + 1, col_offset + 1,
  533|      0|                "Non-UTF-8 code starting with '\\x%.2x'"
  534|      0|                "%s%V on line %i, "
  535|      0|                "but no encoding declared; "
  536|      0|                "see https://peps.python.org/pep-0263/ for details",
  537|      0|                (unsigned char)*badchar,
  538|      0|                tok->filename ? " in file " : "", tok->filename, "",
  ------------------
  |  Branch (538:17): [True: 0, False: 0]
  ------------------
  539|      0|                lineno);
  540|      0|        return 0;
  541|      0|    }
  542|    174|    return 1;
  543|    174|}
helpers.c:get_coding_spec:
  339|      6|{
  340|      6|    Py_ssize_t i;
  341|      6|    *spec = NULL;
  342|       |    /* Coding spec must be in a comment, and that comment must be
  343|       |     * the only statement on the source code line. */
  344|      6|    for (i = 0; i < size - 6; i++) {
  ------------------
  |  Branch (344:17): [True: 6, False: 0]
  ------------------
  345|      6|        if (s[i] == '#')
  ------------------
  |  Branch (345:13): [True: 0, False: 6]
  ------------------
  346|      0|            break;
  347|      6|        if (s[i] != ' ' && s[i] != '\t' && s[i] != '\014')
  ------------------
  |  Branch (347:13): [True: 6, False: 0]
  |  Branch (347:28): [True: 6, False: 0]
  |  Branch (347:44): [True: 6, False: 0]
  ------------------
  348|      6|            return 1;
  349|      6|    }
  350|      0|    for (; i < size - 6; i++) { /* XXX inefficient search */
  ------------------
  |  Branch (350:12): [True: 0, False: 0]
  ------------------
  351|      0|        const char* t = s + i;
  352|      0|        if (memcmp(t, "coding", 6) == 0) {
  ------------------
  |  Branch (352:13): [True: 0, False: 0]
  ------------------
  353|      0|            const char* begin = NULL;
  354|      0|            t += 6;
  355|      0|            if (t[0] != ':' && t[0] != '=')
  ------------------
  |  Branch (355:17): [True: 0, False: 0]
  |  Branch (355:32): [True: 0, False: 0]
  ------------------
  356|      0|                continue;
  357|      0|            do {
  358|      0|                t++;
  359|      0|            } while (t[0] == ' ' || t[0] == '\t');
  ------------------
  |  Branch (359:22): [True: 0, False: 0]
  |  Branch (359:37): [True: 0, False: 0]
  ------------------
  360|       |
  361|      0|            begin = t;
  362|      0|            while (Py_ISALNUM(t[0]) ||
  ------------------
  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|      0|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  363|      0|                   t[0] == '-' || t[0] == '_' || t[0] == '.')
  ------------------
  |  Branch (363:20): [True: 0, False: 0]
  |  Branch (363:35): [True: 0, False: 0]
  |  Branch (363:50): [True: 0, False: 0]
  ------------------
  364|      0|                t++;
  365|       |
  366|      0|            if (begin < t) {
  ------------------
  |  Branch (366:17): [True: 0, False: 0]
  ------------------
  367|      0|                char* r = _PyTokenizer_new_string(begin, t - begin, tok);
  368|      0|                const char* q;
  369|      0|                if (!r)
  ------------------
  |  Branch (369:21): [True: 0, False: 0]
  ------------------
  370|      0|                    return 0;
  371|      0|                q = get_normal_name(r);
  372|      0|                if (r != q) {
  ------------------
  |  Branch (372:21): [True: 0, False: 0]
  ------------------
  373|      0|                    PyMem_Free(r);
  374|      0|                    r = _PyTokenizer_new_string(q, strlen(q), tok);
  375|      0|                    if (!r)
  ------------------
  |  Branch (375:25): [True: 0, False: 0]
  ------------------
  376|      0|                        return 0;
  377|      0|                }
  378|      0|                *spec = r;
  379|      0|                break;
  380|      0|            }
  381|      0|        }
  382|      0|    }
  383|      0|    return 1;
  384|      0|}
helpers.c:valid_utf8:
  450|  13.6k|{
  451|  13.6k|    int expected = 0;
  452|  13.6k|    int length;
  453|  13.6k|    if (*s < 0x80) {
  ------------------
  |  Branch (453:9): [True: 13.6k, False: 0]
  ------------------
  454|       |        /* single-byte code */
  455|  13.6k|        return 1;
  456|  13.6k|    }
  457|      0|    else if (*s < 0xE0) {
  ------------------
  |  Branch (457:14): [True: 0, False: 0]
  ------------------
  458|       |        /* \xC2\x80-\xDF\xBF -- 0080-07FF */
  459|      0|        if (*s < 0xC2) {
  ------------------
  |  Branch (459:13): [True: 0, False: 0]
  ------------------
  460|       |            /* invalid sequence
  461|       |               \x80-\xBF -- continuation byte
  462|       |               \xC0-\xC1 -- fake 0000-007F */
  463|      0|            return 0;
  464|      0|        }
  465|      0|        expected = 1;
  466|      0|    }
  467|      0|    else if (*s < 0xF0) {
  ------------------
  |  Branch (467:14): [True: 0, False: 0]
  ------------------
  468|       |        /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  469|      0|        if (*s == 0xE0 && *(s + 1) < 0xA0) {
  ------------------
  |  Branch (469:13): [True: 0, False: 0]
  |  Branch (469:27): [True: 0, False: 0]
  ------------------
  470|       |            /* invalid sequence
  471|       |               \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  472|      0|            return 0;
  473|      0|        }
  474|      0|        else if (*s == 0xED && *(s + 1) >= 0xA0) {
  ------------------
  |  Branch (474:18): [True: 0, False: 0]
  |  Branch (474:32): [True: 0, False: 0]
  ------------------
  475|       |            /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  476|       |               will result in surrogates in range D800-DFFF. Surrogates are
  477|       |               not valid UTF-8 so they are rejected.
  478|       |               See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  479|       |               (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  480|      0|            return 0;
  481|      0|        }
  482|      0|        expected = 2;
  483|      0|    }
  484|      0|    else if (*s < 0xF5) {
  ------------------
  |  Branch (484:14): [True: 0, False: 0]
  ------------------
  485|       |        /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  486|      0|        if (*(s + 1) < 0x90 ? *s == 0xF0 : *s == 0xF4) {
  ------------------
  |  Branch (486:13): [True: 0, False: 0]
  |  Branch (486:13): [True: 0, False: 0]
  ------------------
  487|       |            /* invalid sequence -- one of:
  488|       |               \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF
  489|       |               \xF4\x90\x80\x80- -- 110000- overflow */
  490|      0|            return 0;
  491|      0|        }
  492|      0|        expected = 3;
  493|      0|    }
  494|      0|    else {
  495|       |        /* invalid start byte */
  496|      0|        return 0;
  497|      0|    }
  498|      0|    length = expected + 1;
  499|      0|    for (int i = 1; i <= expected; i++) {
  ------------------
  |  Branch (499:21): [True: 0, False: 0]
  ------------------
  500|      0|        if (s[i] < 0x80 || s[i] >= 0xC0) {
  ------------------
  |  Branch (500:13): [True: 0, False: 0]
  |  Branch (500:28): [True: 0, False: 0]
  ------------------
  501|      0|            return 0;
  502|      0|        }
  503|      0|    }
  504|      0|    return length;
  505|      0|}

_PyTokenizer_FromReadline:
  111|     10|{
  112|     10|    struct tok_state *tok = _PyTokenizer_tok_new();
  113|     10|    if (tok == NULL)
  ------------------
  |  Branch (113:9): [True: 0, False: 10]
  ------------------
  114|      0|        return NULL;
  115|     10|    if ((tok->buf = (char *)PyMem_Malloc(BUFSIZ)) == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 10]
  ------------------
  116|      0|        _PyTokenizer_Free(tok);
  117|      0|        PyErr_NoMemory();
  118|      0|        return NULL;
  119|      0|    }
  120|     10|    tok->cur = tok->inp = tok->buf;
  121|     10|    tok->end = tok->buf + BUFSIZ;
  122|     10|    tok->fp = NULL;
  123|     10|    if (enc != NULL) {
  ------------------
  |  Branch (123:9): [True: 2, False: 8]
  ------------------
  124|      2|        tok->encoding = _PyTokenizer_new_string(enc, strlen(enc), tok);
  125|      2|        if (!tok->encoding) {
  ------------------
  |  Branch (125:13): [True: 0, False: 2]
  ------------------
  126|      0|            _PyTokenizer_Free(tok);
  127|      0|            return NULL;
  128|      0|        }
  129|      2|    }
  130|     10|    tok->decoding_state = STATE_NORMAL;
  131|     10|    tok->underflow = &tok_underflow_readline;
  132|     10|    Py_INCREF(readline);
  ------------------
  |  |  310|     10|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|     10|    tok->readline = readline;
  134|     10|    return tok;
  135|     10|}
readline_tokenizer.c:tok_underflow_readline:
   71|    176|tok_underflow_readline(struct tok_state* tok) {
   72|    176|    assert(tok->decoding_state == STATE_NORMAL);
   73|    176|    assert(tok->fp == NULL && tok->input == NULL && tok->decoding_readline == NULL);
   74|    176|    if (tok->start == NULL && !INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|    162|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  ------------------
  |  Branch (74:9): [True: 162, False: 14]
  |  Branch (74:31): [True: 162, False: 0]
  ------------------
   75|    162|        tok->cur = tok->inp = tok->buf;
   76|    162|    }
   77|    176|    if (!tok_readline_string(tok)) {
  ------------------
  |  Branch (77:9): [True: 0, False: 176]
  ------------------
   78|      0|        return 0;
   79|      0|    }
   80|    176|    if (tok->inp == tok->cur) {
  ------------------
  |  Branch (80:9): [True: 6, False: 170]
  ------------------
   81|      6|        tok->done = E_EOF;
  ------------------
  |  |   23|      6|#define E_EOF            11      /* End Of File */
  ------------------
   82|      6|        return 0;
   83|      6|    }
   84|    170|    tok->implicit_newline = 0;
   85|    170|    if (tok->inp[-1] != '\n') {
  ------------------
  |  Branch (85:9): [True: 2, False: 168]
  ------------------
   86|      2|        assert(tok->inp + 1 < tok->end);
   87|       |        /* Last line does not end in \n, fake one */
   88|      2|        *tok->inp++ = '\n';
   89|      2|        *tok->inp = '\0';
   90|      2|        tok->implicit_newline = 1;
   91|      2|    }
   92|       |
   93|    170|    if (tok->tok_mode_stack_index && !_PyLexer_update_ftstring_expr(tok, 0)) {
  ------------------
  |  Branch (93:9): [True: 0, False: 170]
  |  Branch (93:38): [True: 0, False: 0]
  ------------------
   94|      0|        return 0;
   95|      0|    }
   96|       |
   97|    170|    ADVANCE_LINENO();
  ------------------
  |  |    9|    170|            tok->lineno++; \
  |  |   10|    170|            tok->col_offset = 0;
  ------------------
   98|       |    /* The default encoding is UTF-8, so make sure we don't have any
   99|       |       non-UTF-8 sequences in it. */
  100|    170|    if (!tok->encoding && !_PyTokenizer_ensure_utf8(tok->cur, tok, tok->lineno)) {
  ------------------
  |  Branch (100:9): [True: 168, False: 2]
  |  Branch (100:27): [True: 0, False: 168]
  ------------------
  101|      0|        _PyTokenizer_error_ret(tok);
  102|      0|        return 0;
  103|      0|    }
  104|    170|    assert(tok->done == E_OK);
  105|    170|    return tok->done == E_OK;
  ------------------
  |  |   22|    170|#define E_OK             10      /* No error */
  ------------------
  106|    170|}
readline_tokenizer.c:tok_readline_string:
   10|    176|tok_readline_string(struct tok_state* tok) {
   11|    176|    PyObject* line = NULL;
   12|    176|    PyObject* raw_line = PyObject_CallNoArgs(tok->readline);
   13|    176|    if (raw_line == NULL) {
  ------------------
  |  Branch (13:9): [True: 4, False: 172]
  ------------------
   14|      4|        if (PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (14:13): [True: 4, False: 0]
  ------------------
   15|      4|            PyErr_Clear();
   16|      4|            return 1;
   17|      4|        }
   18|      0|        _PyTokenizer_error_ret(tok);
   19|      0|        goto error;
   20|      4|    }
   21|    172|    if(tok->encoding != NULL) {
  ------------------
  |  Branch (21:8): [True: 2, False: 170]
  ------------------
   22|      2|        if (!PyBytes_Check(raw_line)) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (22:13): [True: 0, False: 2]
  ------------------
   23|      0|            PyErr_Format(PyExc_TypeError, "readline() returned a non-bytes object");
   24|      0|            _PyTokenizer_error_ret(tok);
   25|      0|            goto error;
   26|      0|        }
   27|      2|        line = PyUnicode_Decode(PyBytes_AS_STRING(raw_line), PyBytes_GET_SIZE(raw_line),
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      line = PyUnicode_Decode(PyBytes_AS_STRING(raw_line), PyBytes_GET_SIZE(raw_line),
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|      2|                                tok->encoding, "replace");
   29|      2|        Py_CLEAR(raw_line);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   30|      2|        if (line == NULL) {
  ------------------
  |  Branch (30:13): [True: 0, False: 2]
  ------------------
   31|      0|            _PyTokenizer_error_ret(tok);
   32|      0|            goto error;
   33|      0|        }
   34|    170|    } else {
   35|    170|        if(!PyUnicode_Check(raw_line)) {
  ------------------
  |  |  103|    170|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    170|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (35:12): [True: 0, False: 170]
  ------------------
   36|      0|            PyErr_Format(PyExc_TypeError, "readline() returned a non-string object");
   37|      0|            _PyTokenizer_error_ret(tok);
   38|      0|            goto error;
   39|      0|        }
   40|    170|        line = raw_line;
   41|    170|        raw_line = NULL;
   42|    170|    }
   43|    172|    Py_ssize_t buflen;
   44|    172|    const char* buf = PyUnicode_AsUTF8AndSize(line, &buflen);
   45|    172|    if (buf == NULL) {
  ------------------
  |  Branch (45:9): [True: 0, False: 172]
  ------------------
   46|      0|        _PyTokenizer_error_ret(tok);
   47|      0|        goto error;
   48|      0|    }
   49|       |
   50|       |    // Make room for the null terminator *and* potentially
   51|       |    // an extra newline character that we may need to artificially
   52|       |    // add.
   53|    172|    size_t buffer_size = buflen + 2;
   54|    172|    if (!_PyLexer_tok_reserve_buf(tok, buffer_size)) {
  ------------------
  |  Branch (54:9): [True: 0, False: 172]
  ------------------
   55|      0|        goto error;
   56|      0|    }
   57|    172|    memcpy(tok->inp, buf, buflen);
   58|    172|    tok->inp += buflen;
   59|    172|    *tok->inp = '\0';
   60|       |
   61|    172|    tok->line_start = tok->cur;
   62|    172|    Py_DECREF(line);
  ------------------
  |  |  430|    172|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|    172|    return 1;
   64|      0|error:
   65|      0|    Py_XDECREF(raw_line);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|      0|    Py_XDECREF(line);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|      0|    return 0;
   68|    172|}

_PyTokenizer_FromString:
  132|      6|{
  133|      6|    struct tok_state *tok = _PyTokenizer_tok_new();
  134|      6|    char *decoded;
  135|       |
  136|      6|    if (tok == NULL)
  ------------------
  |  Branch (136:9): [True: 0, False: 6]
  ------------------
  137|      0|        return NULL;
  138|      6|    decoded = decode_str(str, exec_input, tok, preserve_crlf);
  139|      6|    if (decoded == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 6]
  ------------------
  140|      0|        _PyTokenizer_Free(tok);
  141|      0|        return NULL;
  142|      0|    }
  143|       |
  144|      6|    tok->buf = tok->cur = tok->inp = decoded;
  145|      6|    tok->end = decoded;
  146|      6|    tok->underflow = &tok_underflow_string;
  147|      6|    return tok;
  148|      6|}
string_tokenizer.c:decode_str:
   55|      6|{
   56|      6|    PyObject* utf8 = NULL;
   57|      6|    char *str;
   58|      6|    const char *s;
   59|      6|    const char *newl[2] = {NULL, NULL};
   60|      6|    int lineno = 0;
   61|      6|    tok->input = str = _PyTokenizer_translate_newlines(input, single, preserve_crlf, tok);
   62|      6|    if (str == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 6]
  ------------------
   63|      0|        return NULL;
   64|      6|    tok->enc = NULL;
   65|      6|    tok->str = str;
   66|      6|    if (!_PyTokenizer_check_bom(buf_getc, buf_ungetc, buf_setreadl, tok))
  ------------------
  |  Branch (66:9): [True: 0, False: 6]
  ------------------
   67|      0|        return _PyTokenizer_error_ret(tok);
   68|      6|    str = tok->str;             /* string after BOM if any */
   69|      6|    assert(str);
   70|      6|    if (tok->enc != NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 6]
  ------------------
   71|      0|        utf8 = _PyTokenizer_translate_into_utf8(str, tok->enc);
   72|      0|        if (utf8 == NULL)
  ------------------
  |  Branch (72:13): [True: 0, False: 0]
  ------------------
   73|      0|            return _PyTokenizer_error_ret(tok);
   74|      0|        str = PyBytes_AsString(utf8);
   75|      0|    }
   76|    372|    for (s = str;; s++) {
   77|    372|        if (*s == '\0') break;
  ------------------
  |  Branch (77:13): [True: 0, False: 372]
  ------------------
   78|    372|        else if (*s == '\n') {
  ------------------
  |  Branch (78:18): [True: 12, False: 360]
  ------------------
   79|     12|            assert(lineno < 2);
   80|     12|            newl[lineno] = s;
   81|     12|            lineno++;
   82|     12|            if (lineno == 2) break;
  ------------------
  |  Branch (82:17): [True: 6, False: 6]
  ------------------
   83|     12|        }
   84|    372|    }
   85|      6|    tok->enc = NULL;
   86|       |    /* need to check line 1 and 2 separately since check_coding_spec
   87|       |       assumes a single line as input */
   88|      6|    if (newl[0]) {
  ------------------
  |  Branch (88:9): [True: 6, False: 0]
  ------------------
   89|      6|        tok->lineno = 1;
   90|      6|        if (!_PyTokenizer_check_coding_spec(str, newl[0] - str, tok, buf_setreadl)) {
  ------------------
  |  Branch (90:13): [True: 0, False: 6]
  ------------------
   91|      0|            return NULL;
   92|      0|        }
   93|      6|        if (tok->enc == NULL && tok->decoding_state != STATE_NORMAL && newl[1]) {
  ------------------
  |  Branch (93:13): [True: 6, False: 0]
  |  Branch (93:33): [True: 0, False: 6]
  |  Branch (93:72): [True: 0, False: 0]
  ------------------
   94|      0|            tok->lineno = 2;
   95|      0|            if (!_PyTokenizer_check_coding_spec(newl[0]+1, newl[1] - newl[0],
  ------------------
  |  Branch (95:17): [True: 0, False: 0]
  ------------------
   96|      0|                                   tok, buf_setreadl))
   97|      0|                return NULL;
   98|      0|        }
   99|      6|    }
  100|      6|    tok->lineno = 0;
  101|      6|    if (tok->enc != NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 6]
  ------------------
  102|      0|        assert(utf8 == NULL);
  103|      0|        utf8 = _PyTokenizer_translate_into_utf8(str, tok->enc);
  104|      0|        if (utf8 == NULL)
  ------------------
  |  Branch (104:13): [True: 0, False: 0]
  ------------------
  105|      0|            return _PyTokenizer_error_ret(tok);
  106|      0|        str = PyBytes_AS_STRING(utf8);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      0|    }
  108|      6|    else if (!_PyTokenizer_ensure_utf8(str, tok, 1)) {
  ------------------
  |  Branch (108:14): [True: 0, False: 6]
  ------------------
  109|      0|        return _PyTokenizer_error_ret(tok);
  110|      0|    }
  111|      6|    if (utf8 != NULL) {
  ------------------
  |  Branch (111:9): [True: 0, False: 6]
  ------------------
  112|      0|        char *translated = _PyTokenizer_translate_newlines(
  113|      0|            str, single, preserve_crlf, tok);
  114|      0|        if (translated == NULL) {
  ------------------
  |  Branch (114:13): [True: 0, False: 0]
  ------------------
  115|      0|            Py_DECREF(utf8);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|      0|            return _PyTokenizer_error_ret(tok);
  117|      0|        }
  118|      0|        PyMem_Free(tok->input);
  119|      0|        tok->input = translated;
  120|      0|        str = translated;
  121|      0|        Py_CLEAR(utf8);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  122|      0|    }
  123|      6|    tok->str = str;
  124|       |    assert(tok->decoding_buffer == NULL);
  125|      6|    tok->decoding_buffer = utf8; /* CAUTION */
  126|      6|    return str;
  127|      6|}
string_tokenizer.c:buf_getc:
   31|      6|buf_getc(struct tok_state *tok) {
   32|      6|    return Py_CHARMASK(*tok->str++);
  ------------------
  |  |  138|      6|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   33|      6|}
string_tokenizer.c:buf_ungetc:
   37|      6|buf_ungetc(int c, struct tok_state *tok) {
   38|      6|    tok->str--;
   39|       |    assert(Py_CHARMASK(*tok->str) == c);        /* tok->cur may point to read-only segment */
   40|      6|}
string_tokenizer.c:tok_underflow_string:
    8|    220|tok_underflow_string(struct tok_state *tok) {
    9|    220|    char *end = strchr(tok->inp, '\n');
   10|    220|    if (end != NULL) {
  ------------------
  |  Branch (10:9): [True: 214, False: 6]
  ------------------
   11|    214|        end++;
   12|    214|    }
   13|      6|    else {
   14|      6|        end = strchr(tok->inp, '\0');
   15|      6|        if (end == tok->inp) {
  ------------------
  |  Branch (15:13): [True: 6, False: 0]
  ------------------
   16|      6|            tok->done = E_EOF;
  ------------------
  |  |   23|      6|#define E_EOF            11      /* End Of File */
  ------------------
   17|      6|            return 0;
   18|      6|        }
   19|      6|    }
   20|    214|    if (tok->start == NULL) {
  ------------------
  |  Branch (20:9): [True: 206, False: 8]
  ------------------
   21|    206|        tok->buf = tok->cur;
   22|    206|    }
   23|    214|    tok->line_start = tok->cur;
   24|    214|    ADVANCE_LINENO();
  ------------------
  |  |    9|    214|            tok->lineno++; \
  |  |   10|    214|            tok->col_offset = 0;
  ------------------
   25|    214|    tok->inp = end;
   26|    214|    return 1;
   27|    220|}

_PyTokenizer_FromUTF8:
   32|  54.4k|{
   33|  54.4k|    struct tok_state *tok = _PyTokenizer_tok_new();
   34|  54.4k|    char *translated;
   35|  54.4k|    if (tok == NULL)
  ------------------
  |  Branch (35:9): [True: 0, False: 54.4k]
  ------------------
   36|      0|        return NULL;
   37|  54.4k|    tok->input = translated = _PyTokenizer_translate_newlines(str, exec_input, preserve_crlf, tok);
   38|  54.4k|    if (translated == NULL) {
  ------------------
  |  Branch (38:9): [True: 0, False: 54.4k]
  ------------------
   39|      0|        _PyTokenizer_Free(tok);
   40|      0|        return NULL;
   41|      0|    }
   42|  54.4k|    tok->decoding_state = STATE_NORMAL;
   43|  54.4k|    tok->enc = NULL;
   44|  54.4k|    tok->str = translated;
   45|  54.4k|    tok->encoding = _PyTokenizer_new_string("utf-8", 5, tok);
   46|  54.4k|    if (!tok->encoding) {
  ------------------
  |  Branch (46:9): [True: 0, False: 54.4k]
  ------------------
   47|      0|        _PyTokenizer_Free(tok);
   48|      0|        return NULL;
   49|      0|    }
   50|       |
   51|  54.4k|    tok->buf = tok->cur = tok->inp = translated;
   52|  54.4k|    tok->end = translated;
   53|  54.4k|    tok->underflow = &tok_underflow_string;
   54|  54.4k|    return tok;
   55|  54.4k|}
utf8_tokenizer.c:tok_underflow_string:
    8|   110k|tok_underflow_string(struct tok_state *tok) {
    9|   110k|    char *end = strchr(tok->inp, '\n');
   10|   110k|    if (end != NULL) {
  ------------------
  |  Branch (10:9): [True: 55.8k, False: 54.4k]
  ------------------
   11|  55.8k|        end++;
   12|  55.8k|    }
   13|  54.4k|    else {
   14|  54.4k|        end = strchr(tok->inp, '\0');
   15|  54.4k|        if (end == tok->inp) {
  ------------------
  |  Branch (15:13): [True: 54.4k, False: 78]
  ------------------
   16|  54.4k|            tok->done = E_EOF;
  ------------------
  |  |   23|  54.4k|#define E_EOF            11      /* End Of File */
  ------------------
   17|  54.4k|            return 0;
   18|  54.4k|        }
   19|  54.4k|    }
   20|  55.9k|    if (tok->start == NULL) {
  ------------------
  |  Branch (20:9): [True: 55.8k, False: 14]
  ------------------
   21|  55.8k|        tok->buf = tok->cur;
   22|  55.8k|    }
   23|  55.9k|    tok->line_start = tok->cur;
   24|  55.9k|    ADVANCE_LINENO();
  ------------------
  |  |    9|  55.9k|            tok->lineno++; \
  |  |   10|  55.9k|            tok->col_offset = 0;
  ------------------
   25|  55.9k|    tok->inp = end;
   26|  55.9k|    return 1;
   27|   110k|}

_PyAST_Module:
 7011|    147|{
 7012|    147|    mod_ty p;
 7013|    147|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7014|    147|    if (!p)
  ------------------
  |  Branch (7014:9): [True: 0, False: 147]
  ------------------
 7015|      0|        return NULL;
 7016|    147|    p->kind = Module_kind;
 7017|    147|    p->v.Module.body = body;
 7018|    147|    p->v.Module.type_ignores = type_ignores;
 7019|    147|    return p;
 7020|    147|}
_PyAST_Expression:
 7036|     78|{
 7037|     78|    mod_ty p;
 7038|     78|    if (!body) {
  ------------------
  |  Branch (7038:9): [True: 0, False: 78]
  ------------------
 7039|      0|        PyErr_SetString(PyExc_ValueError,
 7040|      0|                        "field 'body' is required for Expression");
 7041|      0|        return NULL;
 7042|      0|    }
 7043|     78|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7044|     78|    if (!p)
  ------------------
  |  Branch (7044:9): [True: 0, False: 78]
  ------------------
 7045|      0|        return NULL;
 7046|     78|    p->kind = Expression_kind;
 7047|     78|    p->v.Expression.body = body;
 7048|     78|    return p;
 7049|     78|}
_PyAST_FunctionDef:
 7075|    504|{
 7076|    504|    stmt_ty p;
 7077|    504|    if (!name) {
  ------------------
  |  Branch (7077:9): [True: 0, False: 504]
  ------------------
 7078|      0|        PyErr_SetString(PyExc_ValueError,
 7079|      0|                        "field 'name' is required for FunctionDef");
 7080|      0|        return NULL;
 7081|      0|    }
 7082|    504|    if (!args) {
  ------------------
  |  Branch (7082:9): [True: 0, False: 504]
  ------------------
 7083|      0|        PyErr_SetString(PyExc_ValueError,
 7084|      0|                        "field 'args' is required for FunctionDef");
 7085|      0|        return NULL;
 7086|      0|    }
 7087|    504|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7088|    504|    if (!p)
  ------------------
  |  Branch (7088:9): [True: 0, False: 504]
  ------------------
 7089|      0|        return NULL;
 7090|    504|    p->kind = FunctionDef_kind;
 7091|    504|    p->v.FunctionDef.name = name;
 7092|    504|    p->v.FunctionDef.args = args;
 7093|    504|    p->v.FunctionDef.body = body;
 7094|    504|    p->v.FunctionDef.decorator_list = decorator_list;
 7095|    504|    p->v.FunctionDef.returns = returns;
 7096|    504|    p->v.FunctionDef.type_comment = type_comment;
 7097|    504|    p->v.FunctionDef.type_params = type_params;
 7098|    504|    p->lineno = lineno;
 7099|    504|    p->col_offset = col_offset;
 7100|    504|    p->end_lineno = end_lineno;
 7101|    504|    p->end_col_offset = end_col_offset;
 7102|    504|    return p;
 7103|    504|}
_PyAST_Return:
 7173|    446|{
 7174|    446|    stmt_ty p;
 7175|    446|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7176|    446|    if (!p)
  ------------------
  |  Branch (7176:9): [True: 0, False: 446]
  ------------------
 7177|      0|        return NULL;
 7178|    446|    p->kind = Return_kind;
 7179|    446|    p->v.Return.value = value;
 7180|    446|    p->lineno = lineno;
 7181|    446|    p->col_offset = col_offset;
 7182|    446|    p->end_lineno = end_lineno;
 7183|    446|    p->end_col_offset = end_col_offset;
 7184|    446|    return p;
 7185|    446|}
_PyAST_Assign:
 7208|    154|{
 7209|    154|    stmt_ty p;
 7210|    154|    if (!value) {
  ------------------
  |  Branch (7210:9): [True: 0, False: 154]
  ------------------
 7211|      0|        PyErr_SetString(PyExc_ValueError,
 7212|      0|                        "field 'value' is required for Assign");
 7213|      0|        return NULL;
 7214|      0|    }
 7215|    154|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7216|    154|    if (!p)
  ------------------
  |  Branch (7216:9): [True: 0, False: 154]
  ------------------
 7217|      0|        return NULL;
 7218|    154|    p->kind = Assign_kind;
 7219|    154|    p->v.Assign.targets = targets;
 7220|    154|    p->v.Assign.value = value;
 7221|    154|    p->v.Assign.type_comment = type_comment;
 7222|    154|    p->lineno = lineno;
 7223|    154|    p->col_offset = col_offset;
 7224|    154|    p->end_lineno = end_lineno;
 7225|    154|    p->end_col_offset = end_col_offset;
 7226|    154|    return p;
 7227|    154|}
_PyAST_AugAssign:
 7262|      6|{
 7263|      6|    stmt_ty p;
 7264|      6|    if (!target) {
  ------------------
  |  Branch (7264:9): [True: 0, False: 6]
  ------------------
 7265|      0|        PyErr_SetString(PyExc_ValueError,
 7266|      0|                        "field 'target' is required for AugAssign");
 7267|      0|        return NULL;
 7268|      0|    }
 7269|      6|    if (!op) {
  ------------------
  |  Branch (7269:9): [True: 0, False: 6]
  ------------------
 7270|      0|        PyErr_SetString(PyExc_ValueError,
 7271|      0|                        "field 'op' is required for AugAssign");
 7272|      0|        return NULL;
 7273|      0|    }
 7274|      6|    if (!value) {
  ------------------
  |  Branch (7274:9): [True: 0, False: 6]
  ------------------
 7275|      0|        PyErr_SetString(PyExc_ValueError,
 7276|      0|                        "field 'value' is required for AugAssign");
 7277|      0|        return NULL;
 7278|      0|    }
 7279|      6|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7280|      6|    if (!p)
  ------------------
  |  Branch (7280:9): [True: 0, False: 6]
  ------------------
 7281|      0|        return NULL;
 7282|      6|    p->kind = AugAssign_kind;
 7283|      6|    p->v.AugAssign.target = target;
 7284|      6|    p->v.AugAssign.op = op;
 7285|      6|    p->v.AugAssign.value = value;
 7286|      6|    p->lineno = lineno;
 7287|      6|    p->col_offset = col_offset;
 7288|      6|    p->end_lineno = end_lineno;
 7289|      6|    p->end_col_offset = end_col_offset;
 7290|      6|    return p;
 7291|      6|}
_PyAST_For:
 7328|      2|{
 7329|      2|    stmt_ty p;
 7330|      2|    if (!target) {
  ------------------
  |  Branch (7330:9): [True: 0, False: 2]
  ------------------
 7331|      0|        PyErr_SetString(PyExc_ValueError,
 7332|      0|                        "field 'target' is required for For");
 7333|      0|        return NULL;
 7334|      0|    }
 7335|      2|    if (!iter) {
  ------------------
  |  Branch (7335:9): [True: 0, False: 2]
  ------------------
 7336|      0|        PyErr_SetString(PyExc_ValueError,
 7337|      0|                        "field 'iter' is required for For");
 7338|      0|        return NULL;
 7339|      0|    }
 7340|      2|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7341|      2|    if (!p)
  ------------------
  |  Branch (7341:9): [True: 0, False: 2]
  ------------------
 7342|      0|        return NULL;
 7343|      2|    p->kind = For_kind;
 7344|      2|    p->v.For.target = target;
 7345|      2|    p->v.For.iter = iter;
 7346|      2|    p->v.For.body = body;
 7347|      2|    p->v.For.orelse = orelse;
 7348|      2|    p->v.For.type_comment = type_comment;
 7349|      2|    p->lineno = lineno;
 7350|      2|    p->col_offset = col_offset;
 7351|      2|    p->end_lineno = end_lineno;
 7352|      2|    p->end_col_offset = end_col_offset;
 7353|      2|    return p;
 7354|      2|}
_PyAST_If:
 7417|    170|{
 7418|    170|    stmt_ty p;
 7419|    170|    if (!test) {
  ------------------
  |  Branch (7419:9): [True: 0, False: 170]
  ------------------
 7420|      0|        PyErr_SetString(PyExc_ValueError,
 7421|      0|                        "field 'test' is required for If");
 7422|      0|        return NULL;
 7423|      0|    }
 7424|    170|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7425|    170|    if (!p)
  ------------------
  |  Branch (7425:9): [True: 0, False: 170]
  ------------------
 7426|      0|        return NULL;
 7427|    170|    p->kind = If_kind;
 7428|    170|    p->v.If.test = test;
 7429|    170|    p->v.If.body = body;
 7430|    170|    p->v.If.orelse = orelse;
 7431|    170|    p->lineno = lineno;
 7432|    170|    p->col_offset = col_offset;
 7433|    170|    p->end_lineno = end_lineno;
 7434|    170|    p->end_col_offset = end_col_offset;
 7435|    170|    return p;
 7436|    170|}
_PyAST_Raise:
 7504|     50|{
 7505|     50|    stmt_ty p;
 7506|     50|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7507|     50|    if (!p)
  ------------------
  |  Branch (7507:9): [True: 0, False: 50]
  ------------------
 7508|      0|        return NULL;
 7509|     50|    p->kind = Raise_kind;
 7510|     50|    p->v.Raise.exc = exc;
 7511|     50|    p->v.Raise.cause = cause;
 7512|     50|    p->lineno = lineno;
 7513|     50|    p->col_offset = col_offset;
 7514|     50|    p->end_lineno = end_lineno;
 7515|     50|    p->end_col_offset = end_col_offset;
 7516|     50|    return p;
 7517|     50|}
_PyAST_Assert:
 7565|      2|{
 7566|      2|    stmt_ty p;
 7567|      2|    if (!test) {
  ------------------
  |  Branch (7567:9): [True: 0, False: 2]
  ------------------
 7568|      0|        PyErr_SetString(PyExc_ValueError,
 7569|      0|                        "field 'test' is required for Assert");
 7570|      0|        return NULL;
 7571|      0|    }
 7572|      2|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7573|      2|    if (!p)
  ------------------
  |  Branch (7573:9): [True: 0, False: 2]
  ------------------
 7574|      0|        return NULL;
 7575|      2|    p->kind = Assert_kind;
 7576|      2|    p->v.Assert.test = test;
 7577|      2|    p->v.Assert.msg = msg;
 7578|      2|    p->lineno = lineno;
 7579|      2|    p->col_offset = col_offset;
 7580|      2|    p->end_lineno = end_lineno;
 7581|      2|    p->end_col_offset = end_col_offset;
 7582|      2|    return p;
 7583|      2|}
_PyAST_Import:
 7588|      8|{
 7589|      8|    stmt_ty p;
 7590|      8|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7591|      8|    if (!p)
  ------------------
  |  Branch (7591:9): [True: 0, False: 8]
  ------------------
 7592|      0|        return NULL;
 7593|      8|    p->kind = Import_kind;
 7594|      8|    p->v.Import.names = names;
 7595|      8|    p->v.Import.is_lazy = is_lazy;
 7596|      8|    p->lineno = lineno;
 7597|      8|    p->col_offset = col_offset;
 7598|      8|    p->end_lineno = end_lineno;
 7599|      8|    p->end_col_offset = end_col_offset;
 7600|      8|    return p;
 7601|      8|}
_PyAST_ImportFrom:
 7607|     93|{
 7608|     93|    stmt_ty p;
 7609|     93|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7610|     93|    if (!p)
  ------------------
  |  Branch (7610:9): [True: 0, False: 93]
  ------------------
 7611|      0|        return NULL;
 7612|     93|    p->kind = ImportFrom_kind;
 7613|     93|    p->v.ImportFrom.module = module;
 7614|     93|    p->v.ImportFrom.names = names;
 7615|     93|    p->v.ImportFrom.level = level;
 7616|     93|    p->v.ImportFrom.is_lazy = is_lazy;
 7617|     93|    p->lineno = lineno;
 7618|     93|    p->col_offset = col_offset;
 7619|     93|    p->end_lineno = end_lineno;
 7620|     93|    p->end_col_offset = end_col_offset;
 7621|     93|    return p;
 7622|     93|}
_PyAST_Expr:
 7661|    198|{
 7662|    198|    stmt_ty p;
 7663|    198|    if (!value) {
  ------------------
  |  Branch (7663:9): [True: 0, False: 198]
  ------------------
 7664|      0|        PyErr_SetString(PyExc_ValueError,
 7665|      0|                        "field 'value' is required for Expr");
 7666|      0|        return NULL;
 7667|      0|    }
 7668|    198|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7669|    198|    if (!p)
  ------------------
  |  Branch (7669:9): [True: 0, False: 198]
  ------------------
 7670|      0|        return NULL;
 7671|    198|    p->kind = Expr_kind;
 7672|    198|    p->v.Expr.value = value;
 7673|    198|    p->lineno = lineno;
 7674|    198|    p->col_offset = col_offset;
 7675|    198|    p->end_lineno = end_lineno;
 7676|    198|    p->end_col_offset = end_col_offset;
 7677|    198|    return p;
 7678|    198|}
_PyAST_Pass:
 7683|      2|{
 7684|      2|    stmt_ty p;
 7685|      2|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7686|      2|    if (!p)
  ------------------
  |  Branch (7686:9): [True: 0, False: 2]
  ------------------
 7687|      0|        return NULL;
 7688|      2|    p->kind = Pass_kind;
 7689|      2|    p->lineno = lineno;
 7690|      2|    p->col_offset = col_offset;
 7691|      2|    p->end_lineno = end_lineno;
 7692|      2|    p->end_col_offset = end_col_offset;
 7693|      2|    return p;
 7694|      2|}
_PyAST_BoolOp:
 7731|    106|{
 7732|    106|    expr_ty p;
 7733|    106|    if (!op) {
  ------------------
  |  Branch (7733:9): [True: 0, False: 106]
  ------------------
 7734|      0|        PyErr_SetString(PyExc_ValueError,
 7735|      0|                        "field 'op' is required for BoolOp");
 7736|      0|        return NULL;
 7737|      0|    }
 7738|    106|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7739|    106|    if (!p)
  ------------------
  |  Branch (7739:9): [True: 0, False: 106]
  ------------------
 7740|      0|        return NULL;
 7741|    106|    p->kind = BoolOp_kind;
 7742|    106|    p->v.BoolOp.op = op;
 7743|    106|    p->v.BoolOp.values = values;
 7744|    106|    p->lineno = lineno;
 7745|    106|    p->col_offset = col_offset;
 7746|    106|    p->end_lineno = end_lineno;
 7747|    106|    p->end_col_offset = end_col_offset;
 7748|    106|    return p;
 7749|    106|}
_PyAST_BinOp:
 7782|     26|{
 7783|     26|    expr_ty p;
 7784|     26|    if (!left) {
  ------------------
  |  Branch (7784:9): [True: 0, False: 26]
  ------------------
 7785|      0|        PyErr_SetString(PyExc_ValueError,
 7786|      0|                        "field 'left' is required for BinOp");
 7787|      0|        return NULL;
 7788|      0|    }
 7789|     26|    if (!op) {
  ------------------
  |  Branch (7789:9): [True: 0, False: 26]
  ------------------
 7790|      0|        PyErr_SetString(PyExc_ValueError,
 7791|      0|                        "field 'op' is required for BinOp");
 7792|      0|        return NULL;
 7793|      0|    }
 7794|     26|    if (!right) {
  ------------------
  |  Branch (7794:9): [True: 0, False: 26]
  ------------------
 7795|      0|        PyErr_SetString(PyExc_ValueError,
 7796|      0|                        "field 'right' is required for BinOp");
 7797|      0|        return NULL;
 7798|      0|    }
 7799|     26|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7800|     26|    if (!p)
  ------------------
  |  Branch (7800:9): [True: 0, False: 26]
  ------------------
 7801|      0|        return NULL;
 7802|     26|    p->kind = BinOp_kind;
 7803|     26|    p->v.BinOp.left = left;
 7804|     26|    p->v.BinOp.op = op;
 7805|     26|    p->v.BinOp.right = right;
 7806|     26|    p->lineno = lineno;
 7807|     26|    p->col_offset = col_offset;
 7808|     26|    p->end_lineno = end_lineno;
 7809|     26|    p->end_col_offset = end_col_offset;
 7810|     26|    return p;
 7811|     26|}
_PyAST_UnaryOp:
 7816|      6|{
 7817|      6|    expr_ty p;
 7818|      6|    if (!op) {
  ------------------
  |  Branch (7818:9): [True: 0, False: 6]
  ------------------
 7819|      0|        PyErr_SetString(PyExc_ValueError,
 7820|      0|                        "field 'op' is required for UnaryOp");
 7821|      0|        return NULL;
 7822|      0|    }
 7823|      6|    if (!operand) {
  ------------------
  |  Branch (7823:9): [True: 0, False: 6]
  ------------------
 7824|      0|        PyErr_SetString(PyExc_ValueError,
 7825|      0|                        "field 'operand' is required for UnaryOp");
 7826|      0|        return NULL;
 7827|      0|    }
 7828|      6|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7829|      6|    if (!p)
  ------------------
  |  Branch (7829:9): [True: 0, False: 6]
  ------------------
 7830|      0|        return NULL;
 7831|      6|    p->kind = UnaryOp_kind;
 7832|      6|    p->v.UnaryOp.op = op;
 7833|      6|    p->v.UnaryOp.operand = operand;
 7834|      6|    p->lineno = lineno;
 7835|      6|    p->col_offset = col_offset;
 7836|      6|    p->end_lineno = end_lineno;
 7837|      6|    p->end_col_offset = end_col_offset;
 7838|      6|    return p;
 7839|      6|}
_PyAST_Lambda:
 7844|     64|{
 7845|     64|    expr_ty p;
 7846|     64|    if (!args) {
  ------------------
  |  Branch (7846:9): [True: 0, False: 64]
  ------------------
 7847|      0|        PyErr_SetString(PyExc_ValueError,
 7848|      0|                        "field 'args' is required for Lambda");
 7849|      0|        return NULL;
 7850|      0|    }
 7851|     64|    if (!body) {
  ------------------
  |  Branch (7851:9): [True: 0, False: 64]
  ------------------
 7852|      0|        PyErr_SetString(PyExc_ValueError,
 7853|      0|                        "field 'body' is required for Lambda");
 7854|      0|        return NULL;
 7855|      0|    }
 7856|     64|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7857|     64|    if (!p)
  ------------------
  |  Branch (7857:9): [True: 0, False: 64]
  ------------------
 7858|      0|        return NULL;
 7859|     64|    p->kind = Lambda_kind;
 7860|     64|    p->v.Lambda.args = args;
 7861|     64|    p->v.Lambda.body = body;
 7862|     64|    p->lineno = lineno;
 7863|     64|    p->col_offset = col_offset;
 7864|     64|    p->end_lineno = end_lineno;
 7865|     64|    p->end_col_offset = end_col_offset;
 7866|     64|    return p;
 7867|     64|}
_PyAST_IfExp:
 7872|     10|{
 7873|     10|    expr_ty p;
 7874|     10|    if (!test) {
  ------------------
  |  Branch (7874:9): [True: 0, False: 10]
  ------------------
 7875|      0|        PyErr_SetString(PyExc_ValueError,
 7876|      0|                        "field 'test' is required for IfExp");
 7877|      0|        return NULL;
 7878|      0|    }
 7879|     10|    if (!body) {
  ------------------
  |  Branch (7879:9): [True: 0, False: 10]
  ------------------
 7880|      0|        PyErr_SetString(PyExc_ValueError,
 7881|      0|                        "field 'body' is required for IfExp");
 7882|      0|        return NULL;
 7883|      0|    }
 7884|     10|    if (!orelse) {
  ------------------
  |  Branch (7884:9): [True: 0, False: 10]
  ------------------
 7885|      0|        PyErr_SetString(PyExc_ValueError,
 7886|      0|                        "field 'orelse' is required for IfExp");
 7887|      0|        return NULL;
 7888|      0|    }
 7889|     10|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7890|     10|    if (!p)
  ------------------
  |  Branch (7890:9): [True: 0, False: 10]
  ------------------
 7891|      0|        return NULL;
 7892|     10|    p->kind = IfExp_kind;
 7893|     10|    p->v.IfExp.test = test;
 7894|     10|    p->v.IfExp.body = body;
 7895|     10|    p->v.IfExp.orelse = orelse;
 7896|     10|    p->lineno = lineno;
 7897|     10|    p->col_offset = col_offset;
 7898|     10|    p->end_lineno = end_lineno;
 7899|     10|    p->end_col_offset = end_col_offset;
 7900|     10|    return p;
 7901|     10|}
_PyAST_Set:
 7924|     96|{
 7925|     96|    expr_ty p;
 7926|     96|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7927|     96|    if (!p)
  ------------------
  |  Branch (7927:9): [True: 0, False: 96]
  ------------------
 7928|      0|        return NULL;
 7929|     96|    p->kind = Set_kind;
 7930|     96|    p->v.Set.elts = elts;
 7931|     96|    p->lineno = lineno;
 7932|     96|    p->col_offset = col_offset;
 7933|     96|    p->end_lineno = end_lineno;
 7934|     96|    p->end_col_offset = end_col_offset;
 7935|     96|    return p;
 7936|     96|}
_PyAST_Compare:
 8100|    434|{
 8101|    434|    expr_ty p;
 8102|    434|    if (!left) {
  ------------------
  |  Branch (8102:9): [True: 0, False: 434]
  ------------------
 8103|      0|        PyErr_SetString(PyExc_ValueError,
 8104|      0|                        "field 'left' is required for Compare");
 8105|      0|        return NULL;
 8106|      0|    }
 8107|    434|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8108|    434|    if (!p)
  ------------------
  |  Branch (8108:9): [True: 0, False: 434]
  ------------------
 8109|      0|        return NULL;
 8110|    434|    p->kind = Compare_kind;
 8111|    434|    p->v.Compare.left = left;
 8112|    434|    p->v.Compare.ops = ops;
 8113|    434|    p->v.Compare.comparators = comparators;
 8114|    434|    p->lineno = lineno;
 8115|    434|    p->col_offset = col_offset;
 8116|    434|    p->end_lineno = end_lineno;
 8117|    434|    p->end_col_offset = end_col_offset;
 8118|    434|    return p;
 8119|    434|}
_PyAST_Call:
 8125|  1.42k|{
 8126|  1.42k|    expr_ty p;
 8127|  1.42k|    if (!func) {
  ------------------
  |  Branch (8127:9): [True: 0, False: 1.42k]
  ------------------
 8128|      0|        PyErr_SetString(PyExc_ValueError,
 8129|      0|                        "field 'func' is required for Call");
 8130|      0|        return NULL;
 8131|      0|    }
 8132|  1.42k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8133|  1.42k|    if (!p)
  ------------------
  |  Branch (8133:9): [True: 0, False: 1.42k]
  ------------------
 8134|      0|        return NULL;
 8135|  1.42k|    p->kind = Call_kind;
 8136|  1.42k|    p->v.Call.func = func;
 8137|  1.42k|    p->v.Call.args = args;
 8138|  1.42k|    p->v.Call.keywords = keywords;
 8139|  1.42k|    p->lineno = lineno;
 8140|  1.42k|    p->col_offset = col_offset;
 8141|  1.42k|    p->end_lineno = end_lineno;
 8142|  1.42k|    p->end_col_offset = end_col_offset;
 8143|  1.42k|    return p;
 8144|  1.42k|}
_PyAST_FormattedValue:
 8150|    292|{
 8151|    292|    expr_ty p;
 8152|    292|    if (!value) {
  ------------------
  |  Branch (8152:9): [True: 0, False: 292]
  ------------------
 8153|      0|        PyErr_SetString(PyExc_ValueError,
 8154|      0|                        "field 'value' is required for FormattedValue");
 8155|      0|        return NULL;
 8156|      0|    }
 8157|    292|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8158|    292|    if (!p)
  ------------------
  |  Branch (8158:9): [True: 0, False: 292]
  ------------------
 8159|      0|        return NULL;
 8160|    292|    p->kind = FormattedValue_kind;
 8161|    292|    p->v.FormattedValue.value = value;
 8162|    292|    p->v.FormattedValue.conversion = conversion;
 8163|    292|    p->v.FormattedValue.format_spec = format_spec;
 8164|    292|    p->lineno = lineno;
 8165|    292|    p->col_offset = col_offset;
 8166|    292|    p->end_lineno = end_lineno;
 8167|    292|    p->end_col_offset = end_col_offset;
 8168|    292|    return p;
 8169|    292|}
_PyAST_JoinedStr:
 8205|    188|{
 8206|    188|    expr_ty p;
 8207|    188|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8208|    188|    if (!p)
  ------------------
  |  Branch (8208:9): [True: 0, False: 188]
  ------------------
 8209|      0|        return NULL;
 8210|    188|    p->kind = JoinedStr_kind;
 8211|    188|    p->v.JoinedStr.values = values;
 8212|    188|    p->lineno = lineno;
 8213|    188|    p->col_offset = col_offset;
 8214|    188|    p->end_lineno = end_lineno;
 8215|    188|    p->end_col_offset = end_col_offset;
 8216|    188|    return p;
 8217|    188|}
_PyAST_Constant:
 8239|  1.30k|{
 8240|  1.30k|    expr_ty p;
 8241|  1.30k|    if (!value) {
  ------------------
  |  Branch (8241:9): [True: 0, False: 1.30k]
  ------------------
 8242|      0|        PyErr_SetString(PyExc_ValueError,
 8243|      0|                        "field 'value' is required for Constant");
 8244|      0|        return NULL;
 8245|      0|    }
 8246|  1.30k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8247|  1.30k|    if (!p)
  ------------------
  |  Branch (8247:9): [True: 0, False: 1.30k]
  ------------------
 8248|      0|        return NULL;
 8249|  1.30k|    p->kind = Constant_kind;
 8250|  1.30k|    p->v.Constant.value = value;
 8251|  1.30k|    p->v.Constant.kind = kind;
 8252|  1.30k|    p->lineno = lineno;
 8253|  1.30k|    p->col_offset = col_offset;
 8254|  1.30k|    p->end_lineno = end_lineno;
 8255|  1.30k|    p->end_col_offset = end_col_offset;
 8256|  1.30k|    return p;
 8257|  1.30k|}
_PyAST_Attribute:
 8263|  1.60k|{
 8264|  1.60k|    expr_ty p;
 8265|  1.60k|    if (!value) {
  ------------------
  |  Branch (8265:9): [True: 0, False: 1.60k]
  ------------------
 8266|      0|        PyErr_SetString(PyExc_ValueError,
 8267|      0|                        "field 'value' is required for Attribute");
 8268|      0|        return NULL;
 8269|      0|    }
 8270|  1.60k|    if (!attr) {
  ------------------
  |  Branch (8270:9): [True: 0, False: 1.60k]
  ------------------
 8271|      0|        PyErr_SetString(PyExc_ValueError,
 8272|      0|                        "field 'attr' is required for Attribute");
 8273|      0|        return NULL;
 8274|      0|    }
 8275|  1.60k|    if (!ctx) {
  ------------------
  |  Branch (8275:9): [True: 0, False: 1.60k]
  ------------------
 8276|      0|        PyErr_SetString(PyExc_ValueError,
 8277|      0|                        "field 'ctx' is required for Attribute");
 8278|      0|        return NULL;
 8279|      0|    }
 8280|  1.60k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8281|  1.60k|    if (!p)
  ------------------
  |  Branch (8281:9): [True: 0, False: 1.60k]
  ------------------
 8282|      0|        return NULL;
 8283|  1.60k|    p->kind = Attribute_kind;
 8284|  1.60k|    p->v.Attribute.value = value;
 8285|  1.60k|    p->v.Attribute.attr = attr;
 8286|  1.60k|    p->v.Attribute.ctx = ctx;
 8287|  1.60k|    p->lineno = lineno;
 8288|  1.60k|    p->col_offset = col_offset;
 8289|  1.60k|    p->end_lineno = end_lineno;
 8290|  1.60k|    p->end_col_offset = end_col_offset;
 8291|  1.60k|    return p;
 8292|  1.60k|}
_PyAST_Subscript:
 8298|     16|{
 8299|     16|    expr_ty p;
 8300|     16|    if (!value) {
  ------------------
  |  Branch (8300:9): [True: 0, False: 16]
  ------------------
 8301|      0|        PyErr_SetString(PyExc_ValueError,
 8302|      0|                        "field 'value' is required for Subscript");
 8303|      0|        return NULL;
 8304|      0|    }
 8305|     16|    if (!slice) {
  ------------------
  |  Branch (8305:9): [True: 0, False: 16]
  ------------------
 8306|      0|        PyErr_SetString(PyExc_ValueError,
 8307|      0|                        "field 'slice' is required for Subscript");
 8308|      0|        return NULL;
 8309|      0|    }
 8310|     16|    if (!ctx) {
  ------------------
  |  Branch (8310:9): [True: 0, False: 16]
  ------------------
 8311|      0|        PyErr_SetString(PyExc_ValueError,
 8312|      0|                        "field 'ctx' is required for Subscript");
 8313|      0|        return NULL;
 8314|      0|    }
 8315|     16|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8316|     16|    if (!p)
  ------------------
  |  Branch (8316:9): [True: 0, False: 16]
  ------------------
 8317|      0|        return NULL;
 8318|     16|    p->kind = Subscript_kind;
 8319|     16|    p->v.Subscript.value = value;
 8320|     16|    p->v.Subscript.slice = slice;
 8321|     16|    p->v.Subscript.ctx = ctx;
 8322|     16|    p->lineno = lineno;
 8323|     16|    p->col_offset = col_offset;
 8324|     16|    p->end_lineno = end_lineno;
 8325|     16|    p->end_col_offset = end_col_offset;
 8326|     16|    return p;
 8327|     16|}
_PyAST_Starred:
 8332|      6|{
 8333|      6|    expr_ty p;
 8334|      6|    if (!value) {
  ------------------
  |  Branch (8334:9): [True: 0, False: 6]
  ------------------
 8335|      0|        PyErr_SetString(PyExc_ValueError,
 8336|      0|                        "field 'value' is required for Starred");
 8337|      0|        return NULL;
 8338|      0|    }
 8339|      6|    if (!ctx) {
  ------------------
  |  Branch (8339:9): [True: 0, False: 6]
  ------------------
 8340|      0|        PyErr_SetString(PyExc_ValueError,
 8341|      0|                        "field 'ctx' is required for Starred");
 8342|      0|        return NULL;
 8343|      0|    }
 8344|      6|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8345|      6|    if (!p)
  ------------------
  |  Branch (8345:9): [True: 0, False: 6]
  ------------------
 8346|      0|        return NULL;
 8347|      6|    p->kind = Starred_kind;
 8348|      6|    p->v.Starred.value = value;
 8349|      6|    p->v.Starred.ctx = ctx;
 8350|      6|    p->lineno = lineno;
 8351|      6|    p->col_offset = col_offset;
 8352|      6|    p->end_lineno = end_lineno;
 8353|      6|    p->end_col_offset = end_col_offset;
 8354|      6|    return p;
 8355|      6|}
_PyAST_Name:
 8360|  6.74M|{
 8361|  6.74M|    expr_ty p;
 8362|  6.74M|    if (!id) {
  ------------------
  |  Branch (8362:9): [True: 0, False: 6.74M]
  ------------------
 8363|      0|        PyErr_SetString(PyExc_ValueError,
 8364|      0|                        "field 'id' is required for Name");
 8365|      0|        return NULL;
 8366|      0|    }
 8367|  6.74M|    if (!ctx) {
  ------------------
  |  Branch (8367:9): [True: 0, False: 6.74M]
  ------------------
 8368|      0|        PyErr_SetString(PyExc_ValueError,
 8369|      0|                        "field 'ctx' is required for Name");
 8370|      0|        return NULL;
 8371|      0|    }
 8372|  6.74M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8373|  6.74M|    if (!p)
  ------------------
  |  Branch (8373:9): [True: 0, False: 6.74M]
  ------------------
 8374|      0|        return NULL;
 8375|  6.74M|    p->kind = Name_kind;
 8376|  6.74M|    p->v.Name.id = id;
 8377|  6.74M|    p->v.Name.ctx = ctx;
 8378|  6.74M|    p->lineno = lineno;
 8379|  6.74M|    p->col_offset = col_offset;
 8380|  6.74M|    p->end_lineno = end_lineno;
 8381|  6.74M|    p->end_col_offset = end_col_offset;
 8382|  6.74M|    return p;
 8383|  6.74M|}
_PyAST_Tuple:
 8411|    276|{
 8412|    276|    expr_ty p;
 8413|    276|    if (!ctx) {
  ------------------
  |  Branch (8413:9): [True: 0, False: 276]
  ------------------
 8414|      0|        PyErr_SetString(PyExc_ValueError,
 8415|      0|                        "field 'ctx' is required for Tuple");
 8416|      0|        return NULL;
 8417|      0|    }
 8418|    276|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8419|    276|    if (!p)
  ------------------
  |  Branch (8419:9): [True: 0, False: 276]
  ------------------
 8420|      0|        return NULL;
 8421|    276|    p->kind = Tuple_kind;
 8422|    276|    p->v.Tuple.elts = elts;
 8423|    276|    p->v.Tuple.ctx = ctx;
 8424|    276|    p->lineno = lineno;
 8425|    276|    p->col_offset = col_offset;
 8426|    276|    p->end_lineno = end_lineno;
 8427|    276|    p->end_col_offset = end_col_offset;
 8428|    276|    return p;
 8429|    276|}
_PyAST_arguments:
 8500|   217k|{
 8501|   217k|    arguments_ty p;
 8502|   217k|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 8503|   217k|    if (!p)
  ------------------
  |  Branch (8503:9): [True: 0, False: 217k]
  ------------------
 8504|      0|        return NULL;
 8505|   217k|    p->posonlyargs = posonlyargs;
 8506|   217k|    p->args = args;
 8507|   217k|    p->vararg = vararg;
 8508|   217k|    p->kwonlyargs = kwonlyargs;
 8509|   217k|    p->kw_defaults = kw_defaults;
 8510|   217k|    p->kwarg = kwarg;
 8511|   217k|    p->defaults = defaults;
 8512|   217k|    return p;
 8513|   217k|}
_PyAST_arg:
 8518|  6.72M|{
 8519|  6.72M|    arg_ty p;
 8520|  6.72M|    if (!arg) {
  ------------------
  |  Branch (8520:9): [True: 0, False: 6.72M]
  ------------------
 8521|      0|        PyErr_SetString(PyExc_ValueError,
 8522|      0|                        "field 'arg' is required for arg");
 8523|      0|        return NULL;
 8524|      0|    }
 8525|  6.72M|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 8526|  6.72M|    if (!p)
  ------------------
  |  Branch (8526:9): [True: 0, False: 6.72M]
  ------------------
 8527|      0|        return NULL;
 8528|  6.72M|    p->arg = arg;
 8529|  6.72M|    p->annotation = annotation;
 8530|  6.72M|    p->type_comment = type_comment;
 8531|  6.72M|    p->lineno = lineno;
 8532|  6.72M|    p->col_offset = col_offset;
 8533|  6.72M|    p->end_lineno = end_lineno;
 8534|  6.72M|    p->end_col_offset = end_col_offset;
 8535|  6.72M|    return p;
 8536|  6.72M|}
_PyAST_keyword:
 8541|    414|{
 8542|    414|    keyword_ty p;
 8543|    414|    if (!value) {
  ------------------
  |  Branch (8543:9): [True: 0, False: 414]
  ------------------
 8544|      0|        PyErr_SetString(PyExc_ValueError,
 8545|      0|                        "field 'value' is required for keyword");
 8546|      0|        return NULL;
 8547|      0|    }
 8548|    414|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 8549|    414|    if (!p)
  ------------------
  |  Branch (8549:9): [True: 0, False: 414]
  ------------------
 8550|      0|        return NULL;
 8551|    414|    p->arg = arg;
 8552|    414|    p->value = value;
 8553|    414|    p->lineno = lineno;
 8554|    414|    p->col_offset = col_offset;
 8555|    414|    p->end_lineno = end_lineno;
 8556|    414|    p->end_col_offset = end_col_offset;
 8557|    414|    return p;
 8558|    414|}
_PyAST_alias:
 8563|    103|{
 8564|    103|    alias_ty p;
 8565|    103|    if (!name) {
  ------------------
  |  Branch (8565:9): [True: 0, False: 103]
  ------------------
 8566|      0|        PyErr_SetString(PyExc_ValueError,
 8567|      0|                        "field 'name' is required for alias");
 8568|      0|        return NULL;
 8569|      0|    }
 8570|    103|    p = (alias_ty)_PyArena_Malloc(arena, sizeof(*p));
 8571|    103|    if (!p)
  ------------------
  |  Branch (8571:9): [True: 0, False: 103]
  ------------------
 8572|      0|        return NULL;
 8573|    103|    p->name = name;
 8574|    103|    p->asname = asname;
 8575|    103|    p->lineno = lineno;
 8576|    103|    p->col_offset = col_offset;
 8577|    103|    p->end_lineno = end_lineno;
 8578|    103|    p->end_col_offset = end_col_offset;
 8579|    103|    return p;
 8580|    103|}
PyInit__ast:
18537|      2|{
18538|      2|    return PyModuleDef_Init(&_astmodule);
18539|      2|}
PyAST_mod2obj:
18543|      6|{
18544|      6|    struct ast_state *state = get_ast_state();
18545|      6|    if (state == NULL) {
  ------------------
  |  Branch (18545:9): [True: 0, False: 6]
  ------------------
18546|      0|        return NULL;
18547|      0|    }
18548|      6|    PyObject *result = ast2obj_mod(state, t);
18549|       |
18550|      6|    return result;
18551|      6|}
PyAST_Check:
18604|  54.2k|{
18605|  54.2k|    struct ast_state *state = get_ast_state();
18606|  54.2k|    if (state == NULL) {
  ------------------
  |  Branch (18606:9): [True: 0, False: 54.2k]
  ------------------
18607|      0|        return -1;
18608|      0|    }
18609|  54.2k|    return PyObject_IsInstance(obj, state->AST_type);
18610|  54.2k|}
Python-ast.c:astmodule_exec:
18107|      2|{
18108|      2|    struct ast_state *state = get_ast_state();
18109|      2|    if (state == NULL) {
  ------------------
  |  Branch (18109:9): [True: 0, False: 2]
  ------------------
18110|      0|        return -1;
18111|      0|    }
18112|      2|    if (PyModule_AddObjectRef(m, "AST", state->AST_type) < 0) {
  ------------------
  |  Branch (18112:9): [True: 0, False: 2]
  ------------------
18113|      0|        return -1;
18114|      0|    }
18115|      2|    if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18115:9): [True: 0, False: 2]
  ------------------
18116|      0|        return -1;
18117|      0|    }
18118|      2|    if (PyModule_AddIntMacro(m, PyCF_ONLY_AST) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18118:9): [True: 0, False: 2]
  ------------------
18119|      0|        return -1;
18120|      0|    }
18121|      2|    if (PyModule_AddIntMacro(m, PyCF_TYPE_COMMENTS) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18121:9): [True: 0, False: 2]
  ------------------
18122|      0|        return -1;
18123|      0|    }
18124|      2|    if (PyModule_AddIntMacro(m, PyCF_OPTIMIZED_AST) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18124:9): [True: 0, False: 2]
  ------------------
18125|      0|        return -1;
18126|      0|    }
18127|      2|    if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) {
  ------------------
  |  Branch (18127:9): [True: 0, False: 2]
  ------------------
18128|      0|        return -1;
18129|      0|    }
18130|      2|    if (PyModule_AddObjectRef(m, "Module", state->Module_type) < 0) {
  ------------------
  |  Branch (18130:9): [True: 0, False: 2]
  ------------------
18131|      0|        return -1;
18132|      0|    }
18133|      2|    if (PyModule_AddObjectRef(m, "Interactive", state->Interactive_type) < 0) {
  ------------------
  |  Branch (18133:9): [True: 0, False: 2]
  ------------------
18134|      0|        return -1;
18135|      0|    }
18136|      2|    if (PyModule_AddObjectRef(m, "Expression", state->Expression_type) < 0) {
  ------------------
  |  Branch (18136:9): [True: 0, False: 2]
  ------------------
18137|      0|        return -1;
18138|      0|    }
18139|      2|    if (PyModule_AddObjectRef(m, "FunctionType", state->FunctionType_type) < 0)
  ------------------
  |  Branch (18139:9): [True: 0, False: 2]
  ------------------
18140|      0|        {
18141|      0|        return -1;
18142|      0|    }
18143|      2|    if (PyModule_AddObjectRef(m, "stmt", state->stmt_type) < 0) {
  ------------------
  |  Branch (18143:9): [True: 0, False: 2]
  ------------------
18144|      0|        return -1;
18145|      0|    }
18146|      2|    if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) {
  ------------------
  |  Branch (18146:9): [True: 0, False: 2]
  ------------------
18147|      0|        return -1;
18148|      0|    }
18149|      2|    if (PyModule_AddObjectRef(m, "AsyncFunctionDef",
  ------------------
  |  Branch (18149:9): [True: 0, False: 2]
  ------------------
18150|      2|        state->AsyncFunctionDef_type) < 0) {
18151|      0|        return -1;
18152|      0|    }
18153|      2|    if (PyModule_AddObjectRef(m, "ClassDef", state->ClassDef_type) < 0) {
  ------------------
  |  Branch (18153:9): [True: 0, False: 2]
  ------------------
18154|      0|        return -1;
18155|      0|    }
18156|      2|    if (PyModule_AddObjectRef(m, "Return", state->Return_type) < 0) {
  ------------------
  |  Branch (18156:9): [True: 0, False: 2]
  ------------------
18157|      0|        return -1;
18158|      0|    }
18159|      2|    if (PyModule_AddObjectRef(m, "Delete", state->Delete_type) < 0) {
  ------------------
  |  Branch (18159:9): [True: 0, False: 2]
  ------------------
18160|      0|        return -1;
18161|      0|    }
18162|      2|    if (PyModule_AddObjectRef(m, "Assign", state->Assign_type) < 0) {
  ------------------
  |  Branch (18162:9): [True: 0, False: 2]
  ------------------
18163|      0|        return -1;
18164|      0|    }
18165|      2|    if (PyModule_AddObjectRef(m, "TypeAlias", state->TypeAlias_type) < 0) {
  ------------------
  |  Branch (18165:9): [True: 0, False: 2]
  ------------------
18166|      0|        return -1;
18167|      0|    }
18168|      2|    if (PyModule_AddObjectRef(m, "AugAssign", state->AugAssign_type) < 0) {
  ------------------
  |  Branch (18168:9): [True: 0, False: 2]
  ------------------
18169|      0|        return -1;
18170|      0|    }
18171|      2|    if (PyModule_AddObjectRef(m, "AnnAssign", state->AnnAssign_type) < 0) {
  ------------------
  |  Branch (18171:9): [True: 0, False: 2]
  ------------------
18172|      0|        return -1;
18173|      0|    }
18174|      2|    if (PyModule_AddObjectRef(m, "For", state->For_type) < 0) {
  ------------------
  |  Branch (18174:9): [True: 0, False: 2]
  ------------------
18175|      0|        return -1;
18176|      0|    }
18177|      2|    if (PyModule_AddObjectRef(m, "AsyncFor", state->AsyncFor_type) < 0) {
  ------------------
  |  Branch (18177:9): [True: 0, False: 2]
  ------------------
18178|      0|        return -1;
18179|      0|    }
18180|      2|    if (PyModule_AddObjectRef(m, "While", state->While_type) < 0) {
  ------------------
  |  Branch (18180:9): [True: 0, False: 2]
  ------------------
18181|      0|        return -1;
18182|      0|    }
18183|      2|    if (PyModule_AddObjectRef(m, "If", state->If_type) < 0) {
  ------------------
  |  Branch (18183:9): [True: 0, False: 2]
  ------------------
18184|      0|        return -1;
18185|      0|    }
18186|      2|    if (PyModule_AddObjectRef(m, "With", state->With_type) < 0) {
  ------------------
  |  Branch (18186:9): [True: 0, False: 2]
  ------------------
18187|      0|        return -1;
18188|      0|    }
18189|      2|    if (PyModule_AddObjectRef(m, "AsyncWith", state->AsyncWith_type) < 0) {
  ------------------
  |  Branch (18189:9): [True: 0, False: 2]
  ------------------
18190|      0|        return -1;
18191|      0|    }
18192|      2|    if (PyModule_AddObjectRef(m, "Match", state->Match_type) < 0) {
  ------------------
  |  Branch (18192:9): [True: 0, False: 2]
  ------------------
18193|      0|        return -1;
18194|      0|    }
18195|      2|    if (PyModule_AddObjectRef(m, "Raise", state->Raise_type) < 0) {
  ------------------
  |  Branch (18195:9): [True: 0, False: 2]
  ------------------
18196|      0|        return -1;
18197|      0|    }
18198|      2|    if (PyModule_AddObjectRef(m, "Try", state->Try_type) < 0) {
  ------------------
  |  Branch (18198:9): [True: 0, False: 2]
  ------------------
18199|      0|        return -1;
18200|      0|    }
18201|      2|    if (PyModule_AddObjectRef(m, "TryStar", state->TryStar_type) < 0) {
  ------------------
  |  Branch (18201:9): [True: 0, False: 2]
  ------------------
18202|      0|        return -1;
18203|      0|    }
18204|      2|    if (PyModule_AddObjectRef(m, "Assert", state->Assert_type) < 0) {
  ------------------
  |  Branch (18204:9): [True: 0, False: 2]
  ------------------
18205|      0|        return -1;
18206|      0|    }
18207|      2|    if (PyModule_AddObjectRef(m, "Import", state->Import_type) < 0) {
  ------------------
  |  Branch (18207:9): [True: 0, False: 2]
  ------------------
18208|      0|        return -1;
18209|      0|    }
18210|      2|    if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) {
  ------------------
  |  Branch (18210:9): [True: 0, False: 2]
  ------------------
18211|      0|        return -1;
18212|      0|    }
18213|      2|    if (PyModule_AddObjectRef(m, "Global", state->Global_type) < 0) {
  ------------------
  |  Branch (18213:9): [True: 0, False: 2]
  ------------------
18214|      0|        return -1;
18215|      0|    }
18216|      2|    if (PyModule_AddObjectRef(m, "Nonlocal", state->Nonlocal_type) < 0) {
  ------------------
  |  Branch (18216:9): [True: 0, False: 2]
  ------------------
18217|      0|        return -1;
18218|      0|    }
18219|      2|    if (PyModule_AddObjectRef(m, "Expr", state->Expr_type) < 0) {
  ------------------
  |  Branch (18219:9): [True: 0, False: 2]
  ------------------
18220|      0|        return -1;
18221|      0|    }
18222|      2|    if (PyModule_AddObjectRef(m, "Pass", state->Pass_type) < 0) {
  ------------------
  |  Branch (18222:9): [True: 0, False: 2]
  ------------------
18223|      0|        return -1;
18224|      0|    }
18225|      2|    if (PyModule_AddObjectRef(m, "Break", state->Break_type) < 0) {
  ------------------
  |  Branch (18225:9): [True: 0, False: 2]
  ------------------
18226|      0|        return -1;
18227|      0|    }
18228|      2|    if (PyModule_AddObjectRef(m, "Continue", state->Continue_type) < 0) {
  ------------------
  |  Branch (18228:9): [True: 0, False: 2]
  ------------------
18229|      0|        return -1;
18230|      0|    }
18231|      2|    if (PyModule_AddObjectRef(m, "expr", state->expr_type) < 0) {
  ------------------
  |  Branch (18231:9): [True: 0, False: 2]
  ------------------
18232|      0|        return -1;
18233|      0|    }
18234|      2|    if (PyModule_AddObjectRef(m, "BoolOp", state->BoolOp_type) < 0) {
  ------------------
  |  Branch (18234:9): [True: 0, False: 2]
  ------------------
18235|      0|        return -1;
18236|      0|    }
18237|      2|    if (PyModule_AddObjectRef(m, "NamedExpr", state->NamedExpr_type) < 0) {
  ------------------
  |  Branch (18237:9): [True: 0, False: 2]
  ------------------
18238|      0|        return -1;
18239|      0|    }
18240|      2|    if (PyModule_AddObjectRef(m, "BinOp", state->BinOp_type) < 0) {
  ------------------
  |  Branch (18240:9): [True: 0, False: 2]
  ------------------
18241|      0|        return -1;
18242|      0|    }
18243|      2|    if (PyModule_AddObjectRef(m, "UnaryOp", state->UnaryOp_type) < 0) {
  ------------------
  |  Branch (18243:9): [True: 0, False: 2]
  ------------------
18244|      0|        return -1;
18245|      0|    }
18246|      2|    if (PyModule_AddObjectRef(m, "Lambda", state->Lambda_type) < 0) {
  ------------------
  |  Branch (18246:9): [True: 0, False: 2]
  ------------------
18247|      0|        return -1;
18248|      0|    }
18249|      2|    if (PyModule_AddObjectRef(m, "IfExp", state->IfExp_type) < 0) {
  ------------------
  |  Branch (18249:9): [True: 0, False: 2]
  ------------------
18250|      0|        return -1;
18251|      0|    }
18252|      2|    if (PyModule_AddObjectRef(m, "Dict", state->Dict_type) < 0) {
  ------------------
  |  Branch (18252:9): [True: 0, False: 2]
  ------------------
18253|      0|        return -1;
18254|      0|    }
18255|      2|    if (PyModule_AddObjectRef(m, "Set", state->Set_type) < 0) {
  ------------------
  |  Branch (18255:9): [True: 0, False: 2]
  ------------------
18256|      0|        return -1;
18257|      0|    }
18258|      2|    if (PyModule_AddObjectRef(m, "ListComp", state->ListComp_type) < 0) {
  ------------------
  |  Branch (18258:9): [True: 0, False: 2]
  ------------------
18259|      0|        return -1;
18260|      0|    }
18261|      2|    if (PyModule_AddObjectRef(m, "SetComp", state->SetComp_type) < 0) {
  ------------------
  |  Branch (18261:9): [True: 0, False: 2]
  ------------------
18262|      0|        return -1;
18263|      0|    }
18264|      2|    if (PyModule_AddObjectRef(m, "DictComp", state->DictComp_type) < 0) {
  ------------------
  |  Branch (18264:9): [True: 0, False: 2]
  ------------------
18265|      0|        return -1;
18266|      0|    }
18267|      2|    if (PyModule_AddObjectRef(m, "GeneratorExp", state->GeneratorExp_type) < 0)
  ------------------
  |  Branch (18267:9): [True: 0, False: 2]
  ------------------
18268|      0|        {
18269|      0|        return -1;
18270|      0|    }
18271|      2|    if (PyModule_AddObjectRef(m, "Await", state->Await_type) < 0) {
  ------------------
  |  Branch (18271:9): [True: 0, False: 2]
  ------------------
18272|      0|        return -1;
18273|      0|    }
18274|      2|    if (PyModule_AddObjectRef(m, "Yield", state->Yield_type) < 0) {
  ------------------
  |  Branch (18274:9): [True: 0, False: 2]
  ------------------
18275|      0|        return -1;
18276|      0|    }
18277|      2|    if (PyModule_AddObjectRef(m, "YieldFrom", state->YieldFrom_type) < 0) {
  ------------------
  |  Branch (18277:9): [True: 0, False: 2]
  ------------------
18278|      0|        return -1;
18279|      0|    }
18280|      2|    if (PyModule_AddObjectRef(m, "Compare", state->Compare_type) < 0) {
  ------------------
  |  Branch (18280:9): [True: 0, False: 2]
  ------------------
18281|      0|        return -1;
18282|      0|    }
18283|      2|    if (PyModule_AddObjectRef(m, "Call", state->Call_type) < 0) {
  ------------------
  |  Branch (18283:9): [True: 0, False: 2]
  ------------------
18284|      0|        return -1;
18285|      0|    }
18286|      2|    if (PyModule_AddObjectRef(m, "FormattedValue", state->FormattedValue_type)
  ------------------
  |  Branch (18286:9): [True: 0, False: 2]
  ------------------
18287|      2|        < 0) {
18288|      0|        return -1;
18289|      0|    }
18290|      2|    if (PyModule_AddObjectRef(m, "Interpolation", state->Interpolation_type) <
  ------------------
  |  Branch (18290:9): [True: 0, False: 2]
  ------------------
18291|      2|        0) {
18292|      0|        return -1;
18293|      0|    }
18294|      2|    if (PyModule_AddObjectRef(m, "JoinedStr", state->JoinedStr_type) < 0) {
  ------------------
  |  Branch (18294:9): [True: 0, False: 2]
  ------------------
18295|      0|        return -1;
18296|      0|    }
18297|      2|    if (PyModule_AddObjectRef(m, "TemplateStr", state->TemplateStr_type) < 0) {
  ------------------
  |  Branch (18297:9): [True: 0, False: 2]
  ------------------
18298|      0|        return -1;
18299|      0|    }
18300|      2|    if (PyModule_AddObjectRef(m, "Constant", state->Constant_type) < 0) {
  ------------------
  |  Branch (18300:9): [True: 0, False: 2]
  ------------------
18301|      0|        return -1;
18302|      0|    }
18303|      2|    if (PyModule_AddObjectRef(m, "Attribute", state->Attribute_type) < 0) {
  ------------------
  |  Branch (18303:9): [True: 0, False: 2]
  ------------------
18304|      0|        return -1;
18305|      0|    }
18306|      2|    if (PyModule_AddObjectRef(m, "Subscript", state->Subscript_type) < 0) {
  ------------------
  |  Branch (18306:9): [True: 0, False: 2]
  ------------------
18307|      0|        return -1;
18308|      0|    }
18309|      2|    if (PyModule_AddObjectRef(m, "Starred", state->Starred_type) < 0) {
  ------------------
  |  Branch (18309:9): [True: 0, False: 2]
  ------------------
18310|      0|        return -1;
18311|      0|    }
18312|      2|    if (PyModule_AddObjectRef(m, "Name", state->Name_type) < 0) {
  ------------------
  |  Branch (18312:9): [True: 0, False: 2]
  ------------------
18313|      0|        return -1;
18314|      0|    }
18315|      2|    if (PyModule_AddObjectRef(m, "List", state->List_type) < 0) {
  ------------------
  |  Branch (18315:9): [True: 0, False: 2]
  ------------------
18316|      0|        return -1;
18317|      0|    }
18318|      2|    if (PyModule_AddObjectRef(m, "Tuple", state->Tuple_type) < 0) {
  ------------------
  |  Branch (18318:9): [True: 0, False: 2]
  ------------------
18319|      0|        return -1;
18320|      0|    }
18321|      2|    if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) {
  ------------------
  |  Branch (18321:9): [True: 0, False: 2]
  ------------------
18322|      0|        return -1;
18323|      0|    }
18324|      2|    if (PyModule_AddObjectRef(m, "expr_context", state->expr_context_type) < 0)
  ------------------
  |  Branch (18324:9): [True: 0, False: 2]
  ------------------
18325|      0|        {
18326|      0|        return -1;
18327|      0|    }
18328|      2|    if (PyModule_AddObjectRef(m, "Load", state->Load_type) < 0) {
  ------------------
  |  Branch (18328:9): [True: 0, False: 2]
  ------------------
18329|      0|        return -1;
18330|      0|    }
18331|      2|    if (PyModule_AddObjectRef(m, "Store", state->Store_type) < 0) {
  ------------------
  |  Branch (18331:9): [True: 0, False: 2]
  ------------------
18332|      0|        return -1;
18333|      0|    }
18334|      2|    if (PyModule_AddObjectRef(m, "Del", state->Del_type) < 0) {
  ------------------
  |  Branch (18334:9): [True: 0, False: 2]
  ------------------
18335|      0|        return -1;
18336|      0|    }
18337|      2|    if (PyModule_AddObjectRef(m, "boolop", state->boolop_type) < 0) {
  ------------------
  |  Branch (18337:9): [True: 0, False: 2]
  ------------------
18338|      0|        return -1;
18339|      0|    }
18340|      2|    if (PyModule_AddObjectRef(m, "And", state->And_type) < 0) {
  ------------------
  |  Branch (18340:9): [True: 0, False: 2]
  ------------------
18341|      0|        return -1;
18342|      0|    }
18343|      2|    if (PyModule_AddObjectRef(m, "Or", state->Or_type) < 0) {
  ------------------
  |  Branch (18343:9): [True: 0, False: 2]
  ------------------
18344|      0|        return -1;
18345|      0|    }
18346|      2|    if (PyModule_AddObjectRef(m, "operator", state->operator_type) < 0) {
  ------------------
  |  Branch (18346:9): [True: 0, False: 2]
  ------------------
18347|      0|        return -1;
18348|      0|    }
18349|      2|    if (PyModule_AddObjectRef(m, "Add", state->Add_type) < 0) {
  ------------------
  |  Branch (18349:9): [True: 0, False: 2]
  ------------------
18350|      0|        return -1;
18351|      0|    }
18352|      2|    if (PyModule_AddObjectRef(m, "Sub", state->Sub_type) < 0) {
  ------------------
  |  Branch (18352:9): [True: 0, False: 2]
  ------------------
18353|      0|        return -1;
18354|      0|    }
18355|      2|    if (PyModule_AddObjectRef(m, "Mult", state->Mult_type) < 0) {
  ------------------
  |  Branch (18355:9): [True: 0, False: 2]
  ------------------
18356|      0|        return -1;
18357|      0|    }
18358|      2|    if (PyModule_AddObjectRef(m, "MatMult", state->MatMult_type) < 0) {
  ------------------
  |  Branch (18358:9): [True: 0, False: 2]
  ------------------
18359|      0|        return -1;
18360|      0|    }
18361|      2|    if (PyModule_AddObjectRef(m, "Div", state->Div_type) < 0) {
  ------------------
  |  Branch (18361:9): [True: 0, False: 2]
  ------------------
18362|      0|        return -1;
18363|      0|    }
18364|      2|    if (PyModule_AddObjectRef(m, "Mod", state->Mod_type) < 0) {
  ------------------
  |  Branch (18364:9): [True: 0, False: 2]
  ------------------
18365|      0|        return -1;
18366|      0|    }
18367|      2|    if (PyModule_AddObjectRef(m, "Pow", state->Pow_type) < 0) {
  ------------------
  |  Branch (18367:9): [True: 0, False: 2]
  ------------------
18368|      0|        return -1;
18369|      0|    }
18370|      2|    if (PyModule_AddObjectRef(m, "LShift", state->LShift_type) < 0) {
  ------------------
  |  Branch (18370:9): [True: 0, False: 2]
  ------------------
18371|      0|        return -1;
18372|      0|    }
18373|      2|    if (PyModule_AddObjectRef(m, "RShift", state->RShift_type) < 0) {
  ------------------
  |  Branch (18373:9): [True: 0, False: 2]
  ------------------
18374|      0|        return -1;
18375|      0|    }
18376|      2|    if (PyModule_AddObjectRef(m, "BitOr", state->BitOr_type) < 0) {
  ------------------
  |  Branch (18376:9): [True: 0, False: 2]
  ------------------
18377|      0|        return -1;
18378|      0|    }
18379|      2|    if (PyModule_AddObjectRef(m, "BitXor", state->BitXor_type) < 0) {
  ------------------
  |  Branch (18379:9): [True: 0, False: 2]
  ------------------
18380|      0|        return -1;
18381|      0|    }
18382|      2|    if (PyModule_AddObjectRef(m, "BitAnd", state->BitAnd_type) < 0) {
  ------------------
  |  Branch (18382:9): [True: 0, False: 2]
  ------------------
18383|      0|        return -1;
18384|      0|    }
18385|      2|    if (PyModule_AddObjectRef(m, "FloorDiv", state->FloorDiv_type) < 0) {
  ------------------
  |  Branch (18385:9): [True: 0, False: 2]
  ------------------
18386|      0|        return -1;
18387|      0|    }
18388|      2|    if (PyModule_AddObjectRef(m, "unaryop", state->unaryop_type) < 0) {
  ------------------
  |  Branch (18388:9): [True: 0, False: 2]
  ------------------
18389|      0|        return -1;
18390|      0|    }
18391|      2|    if (PyModule_AddObjectRef(m, "Invert", state->Invert_type) < 0) {
  ------------------
  |  Branch (18391:9): [True: 0, False: 2]
  ------------------
18392|      0|        return -1;
18393|      0|    }
18394|      2|    if (PyModule_AddObjectRef(m, "Not", state->Not_type) < 0) {
  ------------------
  |  Branch (18394:9): [True: 0, False: 2]
  ------------------
18395|      0|        return -1;
18396|      0|    }
18397|      2|    if (PyModule_AddObjectRef(m, "UAdd", state->UAdd_type) < 0) {
  ------------------
  |  Branch (18397:9): [True: 0, False: 2]
  ------------------
18398|      0|        return -1;
18399|      0|    }
18400|      2|    if (PyModule_AddObjectRef(m, "USub", state->USub_type) < 0) {
  ------------------
  |  Branch (18400:9): [True: 0, False: 2]
  ------------------
18401|      0|        return -1;
18402|      0|    }
18403|      2|    if (PyModule_AddObjectRef(m, "cmpop", state->cmpop_type) < 0) {
  ------------------
  |  Branch (18403:9): [True: 0, False: 2]
  ------------------
18404|      0|        return -1;
18405|      0|    }
18406|      2|    if (PyModule_AddObjectRef(m, "Eq", state->Eq_type) < 0) {
  ------------------
  |  Branch (18406:9): [True: 0, False: 2]
  ------------------
18407|      0|        return -1;
18408|      0|    }
18409|      2|    if (PyModule_AddObjectRef(m, "NotEq", state->NotEq_type) < 0) {
  ------------------
  |  Branch (18409:9): [True: 0, False: 2]
  ------------------
18410|      0|        return -1;
18411|      0|    }
18412|      2|    if (PyModule_AddObjectRef(m, "Lt", state->Lt_type) < 0) {
  ------------------
  |  Branch (18412:9): [True: 0, False: 2]
  ------------------
18413|      0|        return -1;
18414|      0|    }
18415|      2|    if (PyModule_AddObjectRef(m, "LtE", state->LtE_type) < 0) {
  ------------------
  |  Branch (18415:9): [True: 0, False: 2]
  ------------------
18416|      0|        return -1;
18417|      0|    }
18418|      2|    if (PyModule_AddObjectRef(m, "Gt", state->Gt_type) < 0) {
  ------------------
  |  Branch (18418:9): [True: 0, False: 2]
  ------------------
18419|      0|        return -1;
18420|      0|    }
18421|      2|    if (PyModule_AddObjectRef(m, "GtE", state->GtE_type) < 0) {
  ------------------
  |  Branch (18421:9): [True: 0, False: 2]
  ------------------
18422|      0|        return -1;
18423|      0|    }
18424|      2|    if (PyModule_AddObjectRef(m, "Is", state->Is_type) < 0) {
  ------------------
  |  Branch (18424:9): [True: 0, False: 2]
  ------------------
18425|      0|        return -1;
18426|      0|    }
18427|      2|    if (PyModule_AddObjectRef(m, "IsNot", state->IsNot_type) < 0) {
  ------------------
  |  Branch (18427:9): [True: 0, False: 2]
  ------------------
18428|      0|        return -1;
18429|      0|    }
18430|      2|    if (PyModule_AddObjectRef(m, "In", state->In_type) < 0) {
  ------------------
  |  Branch (18430:9): [True: 0, False: 2]
  ------------------
18431|      0|        return -1;
18432|      0|    }
18433|      2|    if (PyModule_AddObjectRef(m, "NotIn", state->NotIn_type) < 0) {
  ------------------
  |  Branch (18433:9): [True: 0, False: 2]
  ------------------
18434|      0|        return -1;
18435|      0|    }
18436|      2|    if (PyModule_AddObjectRef(m, "comprehension", state->comprehension_type) <
  ------------------
  |  Branch (18436:9): [True: 0, False: 2]
  ------------------
18437|      2|        0) {
18438|      0|        return -1;
18439|      0|    }
18440|      2|    if (PyModule_AddObjectRef(m, "excepthandler", state->excepthandler_type) <
  ------------------
  |  Branch (18440:9): [True: 0, False: 2]
  ------------------
18441|      2|        0) {
18442|      0|        return -1;
18443|      0|    }
18444|      2|    if (PyModule_AddObjectRef(m, "ExceptHandler", state->ExceptHandler_type) <
  ------------------
  |  Branch (18444:9): [True: 0, False: 2]
  ------------------
18445|      2|        0) {
18446|      0|        return -1;
18447|      0|    }
18448|      2|    if (PyModule_AddObjectRef(m, "arguments", state->arguments_type) < 0) {
  ------------------
  |  Branch (18448:9): [True: 0, False: 2]
  ------------------
18449|      0|        return -1;
18450|      0|    }
18451|      2|    if (PyModule_AddObjectRef(m, "arg", state->arg_type) < 0) {
  ------------------
  |  Branch (18451:9): [True: 0, False: 2]
  ------------------
18452|      0|        return -1;
18453|      0|    }
18454|      2|    if (PyModule_AddObjectRef(m, "keyword", state->keyword_type) < 0) {
  ------------------
  |  Branch (18454:9): [True: 0, False: 2]
  ------------------
18455|      0|        return -1;
18456|      0|    }
18457|      2|    if (PyModule_AddObjectRef(m, "alias", state->alias_type) < 0) {
  ------------------
  |  Branch (18457:9): [True: 0, False: 2]
  ------------------
18458|      0|        return -1;
18459|      0|    }
18460|      2|    if (PyModule_AddObjectRef(m, "withitem", state->withitem_type) < 0) {
  ------------------
  |  Branch (18460:9): [True: 0, False: 2]
  ------------------
18461|      0|        return -1;
18462|      0|    }
18463|      2|    if (PyModule_AddObjectRef(m, "match_case", state->match_case_type) < 0) {
  ------------------
  |  Branch (18463:9): [True: 0, False: 2]
  ------------------
18464|      0|        return -1;
18465|      0|    }
18466|      2|    if (PyModule_AddObjectRef(m, "pattern", state->pattern_type) < 0) {
  ------------------
  |  Branch (18466:9): [True: 0, False: 2]
  ------------------
18467|      0|        return -1;
18468|      0|    }
18469|      2|    if (PyModule_AddObjectRef(m, "MatchValue", state->MatchValue_type) < 0) {
  ------------------
  |  Branch (18469:9): [True: 0, False: 2]
  ------------------
18470|      0|        return -1;
18471|      0|    }
18472|      2|    if (PyModule_AddObjectRef(m, "MatchSingleton", state->MatchSingleton_type)
  ------------------
  |  Branch (18472:9): [True: 0, False: 2]
  ------------------
18473|      2|        < 0) {
18474|      0|        return -1;
18475|      0|    }
18476|      2|    if (PyModule_AddObjectRef(m, "MatchSequence", state->MatchSequence_type) <
  ------------------
  |  Branch (18476:9): [True: 0, False: 2]
  ------------------
18477|      2|        0) {
18478|      0|        return -1;
18479|      0|    }
18480|      2|    if (PyModule_AddObjectRef(m, "MatchMapping", state->MatchMapping_type) < 0)
  ------------------
  |  Branch (18480:9): [True: 0, False: 2]
  ------------------
18481|      0|        {
18482|      0|        return -1;
18483|      0|    }
18484|      2|    if (PyModule_AddObjectRef(m, "MatchClass", state->MatchClass_type) < 0) {
  ------------------
  |  Branch (18484:9): [True: 0, False: 2]
  ------------------
18485|      0|        return -1;
18486|      0|    }
18487|      2|    if (PyModule_AddObjectRef(m, "MatchStar", state->MatchStar_type) < 0) {
  ------------------
  |  Branch (18487:9): [True: 0, False: 2]
  ------------------
18488|      0|        return -1;
18489|      0|    }
18490|      2|    if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) {
  ------------------
  |  Branch (18490:9): [True: 0, False: 2]
  ------------------
18491|      0|        return -1;
18492|      0|    }
18493|      2|    if (PyModule_AddObjectRef(m, "MatchOr", state->MatchOr_type) < 0) {
  ------------------
  |  Branch (18493:9): [True: 0, False: 2]
  ------------------
18494|      0|        return -1;
18495|      0|    }
18496|      2|    if (PyModule_AddObjectRef(m, "type_ignore", state->type_ignore_type) < 0) {
  ------------------
  |  Branch (18496:9): [True: 0, False: 2]
  ------------------
18497|      0|        return -1;
18498|      0|    }
18499|      2|    if (PyModule_AddObjectRef(m, "TypeIgnore", state->TypeIgnore_type) < 0) {
  ------------------
  |  Branch (18499:9): [True: 0, False: 2]
  ------------------
18500|      0|        return -1;
18501|      0|    }
18502|      2|    if (PyModule_AddObjectRef(m, "type_param", state->type_param_type) < 0) {
  ------------------
  |  Branch (18502:9): [True: 0, False: 2]
  ------------------
18503|      0|        return -1;
18504|      0|    }
18505|      2|    if (PyModule_AddObjectRef(m, "TypeVar", state->TypeVar_type) < 0) {
  ------------------
  |  Branch (18505:9): [True: 0, False: 2]
  ------------------
18506|      0|        return -1;
18507|      0|    }
18508|      2|    if (PyModule_AddObjectRef(m, "ParamSpec", state->ParamSpec_type) < 0) {
  ------------------
  |  Branch (18508:9): [True: 0, False: 2]
  ------------------
18509|      0|        return -1;
18510|      0|    }
18511|      2|    if (PyModule_AddObjectRef(m, "TypeVarTuple", state->TypeVarTuple_type) < 0)
  ------------------
  |  Branch (18511:9): [True: 0, False: 2]
  ------------------
18512|      0|        {
18513|      0|        return -1;
18514|      0|    }
18515|      2|    return 0;
18516|      2|}
Python-ast.c:get_ast_state:
   22|  54.2k|{
   23|  54.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|  54.2k|    struct ast_state *state = &interp->ast;
   25|  54.2k|    assert(!state->finalized);
   26|  54.2k|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 54.2k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|  54.2k|    return state;
   30|  54.2k|}
Python-ast.c:init_types:
 6112|      2|{
 6113|      2|    struct ast_state *state = arg;
 6114|      2|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (6114:9): [True: 0, False: 2]
  ------------------
 6115|      0|        return -1;
 6116|      0|    }
 6117|      2|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 6118|      2|    if (!state->AST_type) {
  ------------------
  |  Branch (6118:9): [True: 0, False: 2]
  ------------------
 6119|      0|        return -1;
 6120|      0|    }
 6121|      2|    state->abstract_types = PySet_New(NULL);
 6122|      2|    if (!state->abstract_types) {
  ------------------
  |  Branch (6122:9): [True: 0, False: 2]
  ------------------
 6123|      0|        return -1;
 6124|      0|    }
 6125|      2|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (6125:9): [True: 0, False: 2]
  ------------------
 6126|      0|        return -1;
 6127|      0|    }
 6128|      2|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (6128:9): [True: 0, False: 2]
  ------------------
 6129|      0|        return -1;
 6130|      0|    }
 6131|      2|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 6132|      2|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 6133|      2|        "    | Interactive(stmt* body)\n"
 6134|      2|        "    | Expression(expr body)\n"
 6135|      2|        "    | FunctionType(expr* argtypes, expr returns)");
 6136|      2|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (6136:9): [True: 0, False: 2]
  ------------------
 6137|      2|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6137:9): [True: 0, False: 2]
  ------------------
 6138|      2|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (6138:9): [True: 0, False: 2]
  ------------------
 6139|      2|    state->Module_type = make_type(state, "Module", state->mod_type,
 6140|      2|                                   Module_fields, 2,
 6141|      2|        "Module(stmt* body, type_ignore* type_ignores)");
 6142|      2|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (6142:9): [True: 0, False: 2]
  ------------------
 6143|      2|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 6144|      2|                                        Interactive_fields, 1,
 6145|      2|        "Interactive(stmt* body)");
 6146|      2|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (6146:9): [True: 0, False: 2]
  ------------------
 6147|      2|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 6148|      2|                                       Expression_fields, 1,
 6149|      2|        "Expression(expr body)");
 6150|      2|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (6150:9): [True: 0, False: 2]
  ------------------
 6151|      2|    state->FunctionType_type = make_type(state, "FunctionType",
 6152|      2|                                         state->mod_type, FunctionType_fields,
 6153|      2|                                         2,
 6154|      2|        "FunctionType(expr* argtypes, expr returns)");
 6155|      2|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (6155:9): [True: 0, False: 2]
  ------------------
 6156|      2|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 6157|      2|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6158|      2|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6159|      2|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 6160|      2|        "     | Return(expr? value)\n"
 6161|      2|        "     | Delete(expr* targets)\n"
 6162|      2|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 6163|      2|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 6164|      2|        "     | AugAssign(expr target, operator op, expr value)\n"
 6165|      2|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 6166|      2|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6167|      2|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6168|      2|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 6169|      2|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 6170|      2|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 6171|      2|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 6172|      2|        "     | Match(expr subject, match_case* cases)\n"
 6173|      2|        "     | Raise(expr? exc, expr? cause)\n"
 6174|      2|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6175|      2|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6176|      2|        "     | Assert(expr test, expr? msg)\n"
 6177|      2|        "     | Import(alias* names, int? is_lazy)\n"
 6178|      2|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 6179|      2|        "     | Global(identifier* names)\n"
 6180|      2|        "     | Nonlocal(identifier* names)\n"
 6181|      2|        "     | Expr(expr value)\n"
 6182|      2|        "     | Pass\n"
 6183|      2|        "     | Break\n"
 6184|      2|        "     | Continue");
 6185|      2|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (6185:9): [True: 0, False: 2]
  ------------------
 6186|      2|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (6186:9): [True: 0, False: 2]
  ------------------
 6187|      0|        -1;
 6188|      2|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (6188:9): [True: 0, False: 2]
  ------------------
 6189|      2|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6189:9): [True: 0, False: 2]
  ------------------
 6190|      0|        return -1;
 6191|      2|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6191:9): [True: 0, False: 2]
  ------------------
 6192|      2|        -1)
 6193|      0|        return -1;
 6194|      2|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 6195|      2|                                        FunctionDef_fields, 7,
 6196|      2|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6197|      2|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (6197:9): [True: 0, False: 2]
  ------------------
 6198|      2|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6198:9): [True: 0, False: 2]
  ------------------
 6199|      2|        -1)
 6200|      0|        return -1;
 6201|      2|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6201:9): [True: 0, False: 2]
  ------------------
 6202|      2|        == -1)
 6203|      0|        return -1;
 6204|      2|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 6205|      2|                                             state->stmt_type,
 6206|      2|                                             AsyncFunctionDef_fields, 7,
 6207|      2|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6208|      2|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (6208:9): [True: 0, False: 2]
  ------------------
 6209|      2|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6209:9): [True: 0, False: 2]
  ------------------
 6210|      2|        == -1)
 6211|      0|        return -1;
 6212|      2|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (6212:9): [True: 0, False: 2]
  ------------------
 6213|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6214|      0|        return -1;
 6215|      2|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 6216|      2|                                     ClassDef_fields, 6,
 6217|      2|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 6218|      2|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (6218:9): [True: 0, False: 2]
  ------------------
 6219|      2|    state->Return_type = make_type(state, "Return", state->stmt_type,
 6220|      2|                                   Return_fields, 1,
 6221|      2|        "Return(expr? value)");
 6222|      2|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (6222:9): [True: 0, False: 2]
  ------------------
 6223|      2|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6223:9): [True: 0, False: 2]
  ------------------
 6224|      0|        return -1;
 6225|      2|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 6226|      2|                                   Delete_fields, 1,
 6227|      2|        "Delete(expr* targets)");
 6228|      2|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (6228:9): [True: 0, False: 2]
  ------------------
 6229|      2|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 6230|      2|                                   Assign_fields, 3,
 6231|      2|        "Assign(expr* targets, expr value, string? type_comment)");
 6232|      2|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (6232:9): [True: 0, False: 2]
  ------------------
 6233|      2|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6233:9): [True: 0, False: 2]
  ------------------
 6234|      2|        -1)
 6235|      0|        return -1;
 6236|      2|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 6237|      2|                                      TypeAlias_fields, 3,
 6238|      2|        "TypeAlias(expr name, type_param* type_params, expr value)");
 6239|      2|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (6239:9): [True: 0, False: 2]
  ------------------
 6240|      2|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 6241|      2|                                      AugAssign_fields, 3,
 6242|      2|        "AugAssign(expr target, operator op, expr value)");
 6243|      2|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (6243:9): [True: 0, False: 2]
  ------------------
 6244|      2|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 6245|      2|                                      AnnAssign_fields, 4,
 6246|      2|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 6247|      2|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (6247:9): [True: 0, False: 2]
  ------------------
 6248|      2|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6248:9): [True: 0, False: 2]
  ------------------
 6249|      0|        return -1;
 6250|      2|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 6251|      2|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6252|      2|    if (!state->For_type) return -1;
  ------------------
  |  Branch (6252:9): [True: 0, False: 2]
  ------------------
 6253|      2|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6253:9): [True: 0, False: 2]
  ------------------
 6254|      0|        return -1;
 6255|      2|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 6256|      2|                                     AsyncFor_fields, 5,
 6257|      2|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6258|      2|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (6258:9): [True: 0, False: 2]
  ------------------
 6259|      2|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6259:9): [True: 0, False: 2]
  ------------------
 6260|      2|        -1)
 6261|      0|        return -1;
 6262|      2|    state->While_type = make_type(state, "While", state->stmt_type,
 6263|      2|                                  While_fields, 3,
 6264|      2|        "While(expr test, stmt* body, stmt* orelse)");
 6265|      2|    if (!state->While_type) return -1;
  ------------------
  |  Branch (6265:9): [True: 0, False: 2]
  ------------------
 6266|      2|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 6267|      2|        "If(expr test, stmt* body, stmt* orelse)");
 6268|      2|    if (!state->If_type) return -1;
  ------------------
  |  Branch (6268:9): [True: 0, False: 2]
  ------------------
 6269|      2|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 6270|      2|                                 3,
 6271|      2|        "With(withitem* items, stmt* body, string? type_comment)");
 6272|      2|    if (!state->With_type) return -1;
  ------------------
  |  Branch (6272:9): [True: 0, False: 2]
  ------------------
 6273|      2|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6273:9): [True: 0, False: 2]
  ------------------
 6274|      0|        return -1;
 6275|      2|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 6276|      2|                                      AsyncWith_fields, 3,
 6277|      2|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 6278|      2|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (6278:9): [True: 0, False: 2]
  ------------------
 6279|      2|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6279:9): [True: 0, False: 2]
  ------------------
 6280|      2|        == -1)
 6281|      0|        return -1;
 6282|      2|    state->Match_type = make_type(state, "Match", state->stmt_type,
 6283|      2|                                  Match_fields, 2,
 6284|      2|        "Match(expr subject, match_case* cases)");
 6285|      2|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (6285:9): [True: 0, False: 2]
  ------------------
 6286|      2|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 6287|      2|                                  Raise_fields, 2,
 6288|      2|        "Raise(expr? exc, expr? cause)");
 6289|      2|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (6289:9): [True: 0, False: 2]
  ------------------
 6290|      2|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6290:9): [True: 0, False: 2]
  ------------------
 6291|      0|        return -1;
 6292|      2|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6292:9): [True: 0, False: 2]
  ------------------
 6293|      0|        return -1;
 6294|      2|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 6295|      2|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6296|      2|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (6296:9): [True: 0, False: 2]
  ------------------
 6297|      2|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 6298|      2|                                    TryStar_fields, 4,
 6299|      2|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6300|      2|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (6300:9): [True: 0, False: 2]
  ------------------
 6301|      2|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 6302|      2|                                   Assert_fields, 2,
 6303|      2|        "Assert(expr test, expr? msg)");
 6304|      2|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (6304:9): [True: 0, False: 2]
  ------------------
 6305|      2|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6305:9): [True: 0, False: 2]
  ------------------
 6306|      0|        return -1;
 6307|      2|    state->Import_type = make_type(state, "Import", state->stmt_type,
 6308|      2|                                   Import_fields, 2,
 6309|      2|        "Import(alias* names, int? is_lazy)");
 6310|      2|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (6310:9): [True: 0, False: 2]
  ------------------
 6311|      2|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6311:9): [True: 0, False: 2]
  ------------------
 6312|      0|        return -1;
 6313|      2|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 6314|      2|                                       ImportFrom_fields, 4,
 6315|      2|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 6316|      2|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (6316:9): [True: 0, False: 2]
  ------------------
 6317|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6317:9): [True: 0, False: 2]
  ------------------
 6318|      0|        return -1;
 6319|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6319:9): [True: 0, False: 2]
  ------------------
 6320|      0|        return -1;
 6321|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6321:9): [True: 0, False: 2]
  ------------------
 6322|      0|        return -1;
 6323|      2|    state->Global_type = make_type(state, "Global", state->stmt_type,
 6324|      2|                                   Global_fields, 1,
 6325|      2|        "Global(identifier* names)");
 6326|      2|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (6326:9): [True: 0, False: 2]
  ------------------
 6327|      2|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 6328|      2|                                     Nonlocal_fields, 1,
 6329|      2|        "Nonlocal(identifier* names)");
 6330|      2|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (6330:9): [True: 0, False: 2]
  ------------------
 6331|      2|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 6332|      2|                                 1,
 6333|      2|        "Expr(expr value)");
 6334|      2|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (6334:9): [True: 0, False: 2]
  ------------------
 6335|      2|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 6336|      2|        "Pass");
 6337|      2|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (6337:9): [True: 0, False: 2]
  ------------------
 6338|      2|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 6339|      2|        "Break");
 6340|      2|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (6340:9): [True: 0, False: 2]
  ------------------
 6341|      2|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 6342|      2|                                     0,
 6343|      2|        "Continue");
 6344|      2|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (6344:9): [True: 0, False: 2]
  ------------------
 6345|      2|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 6346|      2|        "expr = BoolOp(boolop op, expr* values)\n"
 6347|      2|        "     | NamedExpr(expr target, expr value)\n"
 6348|      2|        "     | BinOp(expr left, operator op, expr right)\n"
 6349|      2|        "     | UnaryOp(unaryop op, expr operand)\n"
 6350|      2|        "     | Lambda(arguments args, expr body)\n"
 6351|      2|        "     | IfExp(expr test, expr body, expr orelse)\n"
 6352|      2|        "     | Dict(expr?* keys, expr* values)\n"
 6353|      2|        "     | Set(expr* elts)\n"
 6354|      2|        "     | ListComp(expr elt, comprehension* generators)\n"
 6355|      2|        "     | SetComp(expr elt, comprehension* generators)\n"
 6356|      2|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 6357|      2|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 6358|      2|        "     | Await(expr value)\n"
 6359|      2|        "     | Yield(expr? value)\n"
 6360|      2|        "     | YieldFrom(expr value)\n"
 6361|      2|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 6362|      2|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 6363|      2|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 6364|      2|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 6365|      2|        "     | JoinedStr(expr* values)\n"
 6366|      2|        "     | TemplateStr(expr* values)\n"
 6367|      2|        "     | Constant(constant value, string? kind)\n"
 6368|      2|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 6369|      2|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 6370|      2|        "     | Starred(expr value, expr_context ctx)\n"
 6371|      2|        "     | Name(identifier id, expr_context ctx)\n"
 6372|      2|        "     | List(expr* elts, expr_context ctx)\n"
 6373|      2|        "     | Tuple(expr* elts, expr_context ctx)\n"
 6374|      2|        "     | Slice(expr? lower, expr? upper, expr? step)");
 6375|      2|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (6375:9): [True: 0, False: 2]
  ------------------
 6376|      2|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (6376:9): [True: 0, False: 2]
  ------------------
 6377|      0|        -1;
 6378|      2|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (6378:9): [True: 0, False: 2]
  ------------------
 6379|      2|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6379:9): [True: 0, False: 2]
  ------------------
 6380|      0|        return -1;
 6381|      2|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6381:9): [True: 0, False: 2]
  ------------------
 6382|      2|        -1)
 6383|      0|        return -1;
 6384|      2|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 6385|      2|                                   BoolOp_fields, 2,
 6386|      2|        "BoolOp(boolop op, expr* values)");
 6387|      2|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (6387:9): [True: 0, False: 2]
  ------------------
 6388|      2|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 6389|      2|                                      NamedExpr_fields, 2,
 6390|      2|        "NamedExpr(expr target, expr value)");
 6391|      2|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (6391:9): [True: 0, False: 2]
  ------------------
 6392|      2|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 6393|      2|                                  BinOp_fields, 3,
 6394|      2|        "BinOp(expr left, operator op, expr right)");
 6395|      2|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (6395:9): [True: 0, False: 2]
  ------------------
 6396|      2|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 6397|      2|                                    UnaryOp_fields, 2,
 6398|      2|        "UnaryOp(unaryop op, expr operand)");
 6399|      2|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (6399:9): [True: 0, False: 2]
  ------------------
 6400|      2|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 6401|      2|                                   Lambda_fields, 2,
 6402|      2|        "Lambda(arguments args, expr body)");
 6403|      2|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (6403:9): [True: 0, False: 2]
  ------------------
 6404|      2|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 6405|      2|                                  IfExp_fields, 3,
 6406|      2|        "IfExp(expr test, expr body, expr orelse)");
 6407|      2|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (6407:9): [True: 0, False: 2]
  ------------------
 6408|      2|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 6409|      2|                                 2,
 6410|      2|        "Dict(expr?* keys, expr* values)");
 6411|      2|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (6411:9): [True: 0, False: 2]
  ------------------
 6412|      2|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 6413|      2|        "Set(expr* elts)");
 6414|      2|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (6414:9): [True: 0, False: 2]
  ------------------
 6415|      2|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 6416|      2|                                     ListComp_fields, 2,
 6417|      2|        "ListComp(expr elt, comprehension* generators)");
 6418|      2|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (6418:9): [True: 0, False: 2]
  ------------------
 6419|      2|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 6420|      2|                                    SetComp_fields, 2,
 6421|      2|        "SetComp(expr elt, comprehension* generators)");
 6422|      2|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (6422:9): [True: 0, False: 2]
  ------------------
 6423|      2|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 6424|      2|                                     DictComp_fields, 3,
 6425|      2|        "DictComp(expr key, expr? value, comprehension* generators)");
 6426|      2|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (6426:9): [True: 0, False: 2]
  ------------------
 6427|      2|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6427:9): [True: 0, False: 2]
  ------------------
 6428|      0|        return -1;
 6429|      2|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 6430|      2|                                         state->expr_type, GeneratorExp_fields,
 6431|      2|                                         2,
 6432|      2|        "GeneratorExp(expr elt, comprehension* generators)");
 6433|      2|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (6433:9): [True: 0, False: 2]
  ------------------
 6434|      2|    state->Await_type = make_type(state, "Await", state->expr_type,
 6435|      2|                                  Await_fields, 1,
 6436|      2|        "Await(expr value)");
 6437|      2|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (6437:9): [True: 0, False: 2]
  ------------------
 6438|      2|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 6439|      2|                                  Yield_fields, 1,
 6440|      2|        "Yield(expr? value)");
 6441|      2|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (6441:9): [True: 0, False: 2]
  ------------------
 6442|      2|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6442:9): [True: 0, False: 2]
  ------------------
 6443|      0|        return -1;
 6444|      2|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 6445|      2|                                      YieldFrom_fields, 1,
 6446|      2|        "YieldFrom(expr value)");
 6447|      2|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (6447:9): [True: 0, False: 2]
  ------------------
 6448|      2|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 6449|      2|                                    Compare_fields, 3,
 6450|      2|        "Compare(expr left, cmpop* ops, expr* comparators)");
 6451|      2|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (6451:9): [True: 0, False: 2]
  ------------------
 6452|      2|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 6453|      2|                                 3,
 6454|      2|        "Call(expr func, expr* args, keyword* keywords)");
 6455|      2|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (6455:9): [True: 0, False: 2]
  ------------------
 6456|      2|    state->FormattedValue_type = make_type(state, "FormattedValue",
 6457|      2|                                           state->expr_type,
 6458|      2|                                           FormattedValue_fields, 3,
 6459|      2|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 6460|      2|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (6460:9): [True: 0, False: 2]
  ------------------
 6461|      2|    if (PyObject_SetAttr(state->FormattedValue_type, state->format_spec,
  ------------------
  |  Branch (6461:9): [True: 0, False: 2]
  ------------------
 6462|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6463|      0|        return -1;
 6464|      2|    state->Interpolation_type = make_type(state, "Interpolation",
 6465|      2|                                          state->expr_type,
 6466|      2|                                          Interpolation_fields, 4,
 6467|      2|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 6468|      2|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (6468:9): [True: 0, False: 2]
  ------------------
 6469|      2|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (6469:9): [True: 0, False: 2]
  ------------------
 6470|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6471|      0|        return -1;
 6472|      2|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 6473|      2|                                      JoinedStr_fields, 1,
 6474|      2|        "JoinedStr(expr* values)");
 6475|      2|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (6475:9): [True: 0, False: 2]
  ------------------
 6476|      2|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 6477|      2|                                        TemplateStr_fields, 1,
 6478|      2|        "TemplateStr(expr* values)");
 6479|      2|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (6479:9): [True: 0, False: 2]
  ------------------
 6480|      2|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 6481|      2|                                     Constant_fields, 2,
 6482|      2|        "Constant(constant value, string? kind)");
 6483|      2|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (6483:9): [True: 0, False: 2]
  ------------------
 6484|      2|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6484:9): [True: 0, False: 2]
  ------------------
 6485|      0|        return -1;
 6486|      2|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 6487|      2|                                      Attribute_fields, 3,
 6488|      2|        "Attribute(expr value, identifier attr, expr_context ctx)");
 6489|      2|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (6489:9): [True: 0, False: 2]
  ------------------
 6490|      2|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 6491|      2|                                      Subscript_fields, 3,
 6492|      2|        "Subscript(expr value, expr slice, expr_context ctx)");
 6493|      2|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (6493:9): [True: 0, False: 2]
  ------------------
 6494|      2|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 6495|      2|                                    Starred_fields, 2,
 6496|      2|        "Starred(expr value, expr_context ctx)");
 6497|      2|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (6497:9): [True: 0, False: 2]
  ------------------
 6498|      2|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 6499|      2|                                 2,
 6500|      2|        "Name(identifier id, expr_context ctx)");
 6501|      2|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (6501:9): [True: 0, False: 2]
  ------------------
 6502|      2|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 6503|      2|                                 2,
 6504|      2|        "List(expr* elts, expr_context ctx)");
 6505|      2|    if (!state->List_type) return -1;
  ------------------
  |  Branch (6505:9): [True: 0, False: 2]
  ------------------
 6506|      2|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 6507|      2|                                  Tuple_fields, 2,
 6508|      2|        "Tuple(expr* elts, expr_context ctx)");
 6509|      2|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (6509:9): [True: 0, False: 2]
  ------------------
 6510|      2|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 6511|      2|                                  Slice_fields, 3,
 6512|      2|        "Slice(expr? lower, expr? upper, expr? step)");
 6513|      2|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (6513:9): [True: 0, False: 2]
  ------------------
 6514|      2|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6514:9): [True: 0, False: 2]
  ------------------
 6515|      0|        return -1;
 6516|      2|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6516:9): [True: 0, False: 2]
  ------------------
 6517|      0|        return -1;
 6518|      2|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6518:9): [True: 0, False: 2]
  ------------------
 6519|      0|        return -1;
 6520|      2|    state->expr_context_type = make_type(state, "expr_context",
 6521|      2|                                         state->AST_type, NULL, 0,
 6522|      2|        "expr_context = Load | Store | Del");
 6523|      2|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (6523:9): [True: 0, False: 2]
  ------------------
 6524|      2|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6524:9): [True: 0, False: 2]
  ------------------
 6525|      2|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (6525:9): [True: 0, False: 2]
  ------------------
 6526|      0|        -1;
 6527|      2|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 6528|      2|                                 0,
 6529|      2|        "Load");
 6530|      2|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (6530:9): [True: 0, False: 2]
  ------------------
 6531|      2|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 6532|      2|                                              NULL, NULL);
 6533|      2|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (6533:9): [True: 0, False: 2]
  ------------------
 6534|      2|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 6535|      2|                                  NULL, 0,
 6536|      2|        "Store");
 6537|      2|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (6537:9): [True: 0, False: 2]
  ------------------
 6538|      2|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 6539|      2|                                               *)state->Store_type, NULL, NULL);
 6540|      2|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (6540:9): [True: 0, False: 2]
  ------------------
 6541|      2|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 6542|      2|        "Del");
 6543|      2|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (6543:9): [True: 0, False: 2]
  ------------------
 6544|      2|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 6545|      2|                                             NULL, NULL);
 6546|      2|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (6546:9): [True: 0, False: 2]
  ------------------
 6547|      2|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 6548|      2|        "boolop = And | Or");
 6549|      2|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (6549:9): [True: 0, False: 2]
  ------------------
 6550|      2|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6550:9): [True: 0, False: 2]
  ------------------
 6551|      2|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (6551:9): [True: 0, False: 2]
  ------------------
 6552|      2|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 6553|      2|        "And");
 6554|      2|    if (!state->And_type) return -1;
  ------------------
  |  Branch (6554:9): [True: 0, False: 2]
  ------------------
 6555|      2|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 6556|      2|                                             NULL, NULL);
 6557|      2|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (6557:9): [True: 0, False: 2]
  ------------------
 6558|      2|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 6559|      2|        "Or");
 6560|      2|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (6560:9): [True: 0, False: 2]
  ------------------
 6561|      2|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 6562|      2|                                            NULL, NULL);
 6563|      2|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (6563:9): [True: 0, False: 2]
  ------------------
 6564|      2|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 6565|      2|                                     0,
 6566|      2|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 6567|      2|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (6567:9): [True: 0, False: 2]
  ------------------
 6568|      2|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6568:9): [True: 0, False: 2]
  ------------------
 6569|      2|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (6569:9): [True: 0, False: 2]
  ------------------
 6570|      2|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 6571|      2|        "Add");
 6572|      2|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (6572:9): [True: 0, False: 2]
  ------------------
 6573|      2|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 6574|      2|                                             NULL, NULL);
 6575|      2|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (6575:9): [True: 0, False: 2]
  ------------------
 6576|      2|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 6577|      2|        "Sub");
 6578|      2|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (6578:9): [True: 0, False: 2]
  ------------------
 6579|      2|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 6580|      2|                                             NULL, NULL);
 6581|      2|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (6581:9): [True: 0, False: 2]
  ------------------
 6582|      2|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 6583|      2|        "Mult");
 6584|      2|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (6584:9): [True: 0, False: 2]
  ------------------
 6585|      2|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 6586|      2|                                              NULL, NULL);
 6587|      2|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (6587:9): [True: 0, False: 2]
  ------------------
 6588|      2|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 6589|      2|                                    NULL, 0,
 6590|      2|        "MatMult");
 6591|      2|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (6591:9): [True: 0, False: 2]
  ------------------
 6592|      2|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 6593|      2|                                                 *)state->MatMult_type, NULL,
 6594|      2|                                                 NULL);
 6595|      2|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (6595:9): [True: 0, False: 2]
  ------------------
 6596|      2|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 6597|      2|        "Div");
 6598|      2|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (6598:9): [True: 0, False: 2]
  ------------------
 6599|      2|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 6600|      2|                                             NULL, NULL);
 6601|      2|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (6601:9): [True: 0, False: 2]
  ------------------
 6602|      2|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 6603|      2|        "Mod");
 6604|      2|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (6604:9): [True: 0, False: 2]
  ------------------
 6605|      2|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 6606|      2|                                             NULL, NULL);
 6607|      2|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (6607:9): [True: 0, False: 2]
  ------------------
 6608|      2|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 6609|      2|        "Pow");
 6610|      2|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (6610:9): [True: 0, False: 2]
  ------------------
 6611|      2|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 6612|      2|                                             NULL, NULL);
 6613|      2|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (6613:9): [True: 0, False: 2]
  ------------------
 6614|      2|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 6615|      2|                                   0,
 6616|      2|        "LShift");
 6617|      2|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (6617:9): [True: 0, False: 2]
  ------------------
 6618|      2|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 6619|      2|                                                *)state->LShift_type, NULL,
 6620|      2|                                                NULL);
 6621|      2|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (6621:9): [True: 0, False: 2]
  ------------------
 6622|      2|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 6623|      2|                                   0,
 6624|      2|        "RShift");
 6625|      2|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (6625:9): [True: 0, False: 2]
  ------------------
 6626|      2|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 6627|      2|                                                *)state->RShift_type, NULL,
 6628|      2|                                                NULL);
 6629|      2|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (6629:9): [True: 0, False: 2]
  ------------------
 6630|      2|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 6631|      2|        "BitOr");
 6632|      2|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (6632:9): [True: 0, False: 2]
  ------------------
 6633|      2|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 6634|      2|                                               *)state->BitOr_type, NULL, NULL);
 6635|      2|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (6635:9): [True: 0, False: 2]
  ------------------
 6636|      2|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 6637|      2|                                   0,
 6638|      2|        "BitXor");
 6639|      2|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (6639:9): [True: 0, False: 2]
  ------------------
 6640|      2|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 6641|      2|                                                *)state->BitXor_type, NULL,
 6642|      2|                                                NULL);
 6643|      2|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (6643:9): [True: 0, False: 2]
  ------------------
 6644|      2|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 6645|      2|                                   0,
 6646|      2|        "BitAnd");
 6647|      2|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (6647:9): [True: 0, False: 2]
  ------------------
 6648|      2|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 6649|      2|                                                *)state->BitAnd_type, NULL,
 6650|      2|                                                NULL);
 6651|      2|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (6651:9): [True: 0, False: 2]
  ------------------
 6652|      2|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 6653|      2|                                     NULL, 0,
 6654|      2|        "FloorDiv");
 6655|      2|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (6655:9): [True: 0, False: 2]
  ------------------
 6656|      2|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 6657|      2|                                                  *)state->FloorDiv_type, NULL,
 6658|      2|                                                  NULL);
 6659|      2|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (6659:9): [True: 0, False: 2]
  ------------------
 6660|      2|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 6661|      2|        "unaryop = Invert | Not | UAdd | USub");
 6662|      2|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (6662:9): [True: 0, False: 2]
  ------------------
 6663|      2|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6663:9): [True: 0, False: 2]
  ------------------
 6664|      2|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (6664:9): [True: 0, False: 2]
  ------------------
 6665|      2|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 6666|      2|                                   0,
 6667|      2|        "Invert");
 6668|      2|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (6668:9): [True: 0, False: 2]
  ------------------
 6669|      2|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 6670|      2|                                                *)state->Invert_type, NULL,
 6671|      2|                                                NULL);
 6672|      2|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (6672:9): [True: 0, False: 2]
  ------------------
 6673|      2|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 6674|      2|        "Not");
 6675|      2|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (6675:9): [True: 0, False: 2]
  ------------------
 6676|      2|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 6677|      2|                                             NULL, NULL);
 6678|      2|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (6678:9): [True: 0, False: 2]
  ------------------
 6679|      2|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 6680|      2|        "UAdd");
 6681|      2|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (6681:9): [True: 0, False: 2]
  ------------------
 6682|      2|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 6683|      2|                                              NULL, NULL);
 6684|      2|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (6684:9): [True: 0, False: 2]
  ------------------
 6685|      2|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 6686|      2|        "USub");
 6687|      2|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (6687:9): [True: 0, False: 2]
  ------------------
 6688|      2|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 6689|      2|                                              NULL, NULL);
 6690|      2|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (6690:9): [True: 0, False: 2]
  ------------------
 6691|      2|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 6692|      2|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 6693|      2|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (6693:9): [True: 0, False: 2]
  ------------------
 6694|      2|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6694:9): [True: 0, False: 2]
  ------------------
 6695|      2|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (6695:9): [True: 0, False: 2]
  ------------------
 6696|      2|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 6697|      2|        "Eq");
 6698|      2|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (6698:9): [True: 0, False: 2]
  ------------------
 6699|      2|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 6700|      2|                                            NULL, NULL);
 6701|      2|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (6701:9): [True: 0, False: 2]
  ------------------
 6702|      2|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 6703|      2|        "NotEq");
 6704|      2|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (6704:9): [True: 0, False: 2]
  ------------------
 6705|      2|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 6706|      2|                                               *)state->NotEq_type, NULL, NULL);
 6707|      2|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (6707:9): [True: 0, False: 2]
  ------------------
 6708|      2|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 6709|      2|        "Lt");
 6710|      2|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (6710:9): [True: 0, False: 2]
  ------------------
 6711|      2|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 6712|      2|                                            NULL, NULL);
 6713|      2|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (6713:9): [True: 0, False: 2]
  ------------------
 6714|      2|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 6715|      2|        "LtE");
 6716|      2|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (6716:9): [True: 0, False: 2]
  ------------------
 6717|      2|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 6718|      2|                                             NULL, NULL);
 6719|      2|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (6719:9): [True: 0, False: 2]
  ------------------
 6720|      2|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 6721|      2|        "Gt");
 6722|      2|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (6722:9): [True: 0, False: 2]
  ------------------
 6723|      2|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 6724|      2|                                            NULL, NULL);
 6725|      2|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (6725:9): [True: 0, False: 2]
  ------------------
 6726|      2|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 6727|      2|        "GtE");
 6728|      2|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (6728:9): [True: 0, False: 2]
  ------------------
 6729|      2|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 6730|      2|                                             NULL, NULL);
 6731|      2|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (6731:9): [True: 0, False: 2]
  ------------------
 6732|      2|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 6733|      2|        "Is");
 6734|      2|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (6734:9): [True: 0, False: 2]
  ------------------
 6735|      2|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 6736|      2|                                            NULL, NULL);
 6737|      2|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (6737:9): [True: 0, False: 2]
  ------------------
 6738|      2|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 6739|      2|        "IsNot");
 6740|      2|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (6740:9): [True: 0, False: 2]
  ------------------
 6741|      2|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 6742|      2|                                               *)state->IsNot_type, NULL, NULL);
 6743|      2|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (6743:9): [True: 0, False: 2]
  ------------------
 6744|      2|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 6745|      2|        "In");
 6746|      2|    if (!state->In_type) return -1;
  ------------------
  |  Branch (6746:9): [True: 0, False: 2]
  ------------------
 6747|      2|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 6748|      2|                                            NULL, NULL);
 6749|      2|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (6749:9): [True: 0, False: 2]
  ------------------
 6750|      2|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 6751|      2|        "NotIn");
 6752|      2|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (6752:9): [True: 0, False: 2]
  ------------------
 6753|      2|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 6754|      2|                                               *)state->NotIn_type, NULL, NULL);
 6755|      2|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (6755:9): [True: 0, False: 2]
  ------------------
 6756|      2|    state->comprehension_type = make_type(state, "comprehension",
 6757|      2|                                          state->AST_type,
 6758|      2|                                          comprehension_fields, 4,
 6759|      2|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 6760|      2|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (6760:9): [True: 0, False: 2]
  ------------------
 6761|      2|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (6761:9): [True: 0, False: 2]
  ------------------
 6762|      0|        -1;
 6763|      2|    state->excepthandler_type = make_type(state, "excepthandler",
 6764|      2|                                          state->AST_type, NULL, 0,
 6765|      2|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 6766|      2|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (6766:9): [True: 0, False: 2]
  ------------------
 6767|      2|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (6767:9): [True: 0, False: 2]
  ------------------
 6768|      2|        excepthandler_attributes, 4) < 0) return -1;
 6769|      2|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (6769:9): [True: 0, False: 2]
  ------------------
 6770|      0|        -1;
 6771|      2|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6771:9): [True: 0, False: 2]
  ------------------
 6772|      2|        == -1)
 6773|      0|        return -1;
 6774|      2|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (6774:9): [True: 0, False: 2]
  ------------------
 6775|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6776|      0|        return -1;
 6777|      2|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 6778|      2|                                          state->excepthandler_type,
 6779|      2|                                          ExceptHandler_fields, 3,
 6780|      2|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 6781|      2|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (6781:9): [True: 0, False: 2]
  ------------------
 6782|      2|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6782:9): [True: 0, False: 2]
  ------------------
 6783|      0|        return -1;
 6784|      2|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6784:9): [True: 0, False: 2]
  ------------------
 6785|      0|        return -1;
 6786|      2|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 6787|      2|                                      arguments_fields, 7,
 6788|      2|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 6789|      2|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (6789:9): [True: 0, False: 2]
  ------------------
 6790|      2|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6790:9): [True: 0, False: 2]
  ------------------
 6791|      2|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6791:9): [True: 0, False: 2]
  ------------------
 6792|      0|        return -1;
 6793|      2|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6793:9): [True: 0, False: 2]
  ------------------
 6794|      0|        return -1;
 6795|      2|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 6796|      2|        "arg(identifier arg, expr? annotation, string? type_comment)");
 6797|      2|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (6797:9): [True: 0, False: 2]
  ------------------
 6798|      2|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (6798:9): [True: 0, False: 2]
  ------------------
 6799|      0|        -1;
 6800|      2|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6800:9): [True: 0, False: 2]
  ------------------
 6801|      0|        return -1;
 6802|      2|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6802:9): [True: 0, False: 2]
  ------------------
 6803|      0|        return -1;
 6804|      2|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6804:9): [True: 0, False: 2]
  ------------------
 6805|      0|        return -1;
 6806|      2|    if (PyObject_SetAttr(state->arg_type, state->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6806:9): [True: 0, False: 2]
  ------------------
 6807|      0|        return -1;
 6808|      2|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 6809|      2|                                    keyword_fields, 2,
 6810|      2|        "keyword(identifier? arg, expr value)");
 6811|      2|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (6811:9): [True: 0, False: 2]
  ------------------
 6812|      2|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (6812:9): [True: 0, False: 2]
  ------------------
 6813|      0|        return -1;
 6814|      2|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6814:9): [True: 0, False: 2]
  ------------------
 6815|      0|        return -1;
 6816|      2|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6816:9): [True: 0, False: 2]
  ------------------
 6817|      0|        return -1;
 6818|      2|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6818:9): [True: 0, False: 2]
  ------------------
 6819|      2|        == -1)
 6820|      0|        return -1;
 6821|      2|    state->alias_type = make_type(state, "alias", state->AST_type,
 6822|      2|                                  alias_fields, 2,
 6823|      2|        "alias(identifier name, identifier? asname)");
 6824|      2|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (6824:9): [True: 0, False: 2]
  ------------------
 6825|      2|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (6825:9): [True: 0, False: 2]
  ------------------
 6826|      0|        return -1;
 6827|      2|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6827:9): [True: 0, False: 2]
  ------------------
 6828|      0|        return -1;
 6829|      2|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6829:9): [True: 0, False: 2]
  ------------------
 6830|      0|        return -1;
 6831|      2|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6831:9): [True: 0, False: 2]
  ------------------
 6832|      2|        -1)
 6833|      0|        return -1;
 6834|      2|    state->withitem_type = make_type(state, "withitem", state->AST_type,
 6835|      2|                                     withitem_fields, 2,
 6836|      2|        "withitem(expr context_expr, expr? optional_vars)");
 6837|      2|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (6837:9): [True: 0, False: 2]
  ------------------
 6838|      2|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6838:9): [True: 0, False: 2]
  ------------------
 6839|      2|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6839:9): [True: 0, False: 2]
  ------------------
 6840|      2|        == -1)
 6841|      0|        return -1;
 6842|      2|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 6843|      2|                                       match_case_fields, 3,
 6844|      2|        "match_case(pattern pattern, expr? guard, stmt* body)");
 6845|      2|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (6845:9): [True: 0, False: 2]
  ------------------
 6846|      2|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6846:9): [True: 0, False: 2]
  ------------------
 6847|      2|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6847:9): [True: 0, False: 2]
  ------------------
 6848|      0|        return -1;
 6849|      2|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 6850|      2|        "pattern = MatchValue(expr value)\n"
 6851|      2|        "        | MatchSingleton(constant value)\n"
 6852|      2|        "        | MatchSequence(pattern* patterns)\n"
 6853|      2|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 6854|      2|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 6855|      2|        "        | MatchStar(identifier? name)\n"
 6856|      2|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 6857|      2|        "        | MatchOr(pattern* patterns)");
 6858|      2|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (6858:9): [True: 0, False: 2]
  ------------------
 6859|      2|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (6859:9): [True: 0, False: 2]
  ------------------
 6860|      0|        return -1;
 6861|      2|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (6861:9): [True: 0, False: 2]
  ------------------
 6862|      2|    state->MatchValue_type = make_type(state, "MatchValue",
 6863|      2|                                       state->pattern_type, MatchValue_fields,
 6864|      2|                                       1,
 6865|      2|        "MatchValue(expr value)");
 6866|      2|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (6866:9): [True: 0, False: 2]
  ------------------
 6867|      2|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 6868|      2|                                           state->pattern_type,
 6869|      2|                                           MatchSingleton_fields, 1,
 6870|      2|        "MatchSingleton(constant value)");
 6871|      2|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (6871:9): [True: 0, False: 2]
  ------------------
 6872|      2|    state->MatchSequence_type = make_type(state, "MatchSequence",
 6873|      2|                                          state->pattern_type,
 6874|      2|                                          MatchSequence_fields, 1,
 6875|      2|        "MatchSequence(pattern* patterns)");
 6876|      2|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (6876:9): [True: 0, False: 2]
  ------------------
 6877|      2|    state->MatchMapping_type = make_type(state, "MatchMapping",
 6878|      2|                                         state->pattern_type,
 6879|      2|                                         MatchMapping_fields, 3,
 6880|      2|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 6881|      2|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (6881:9): [True: 0, False: 2]
  ------------------
 6882|      2|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6882:9): [True: 0, False: 2]
  ------------------
 6883|      0|        return -1;
 6884|      2|    state->MatchClass_type = make_type(state, "MatchClass",
 6885|      2|                                       state->pattern_type, MatchClass_fields,
 6886|      2|                                       4,
 6887|      2|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 6888|      2|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (6888:9): [True: 0, False: 2]
  ------------------
 6889|      2|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 6890|      2|                                      MatchStar_fields, 1,
 6891|      2|        "MatchStar(identifier? name)");
 6892|      2|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (6892:9): [True: 0, False: 2]
  ------------------
 6893|      2|    if (PyObject_SetAttr(state->MatchStar_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6893:9): [True: 0, False: 2]
  ------------------
 6894|      0|        return -1;
 6895|      2|    state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 6896|      2|                                    MatchAs_fields, 2,
 6897|      2|        "MatchAs(pattern? pattern, identifier? name)");
 6898|      2|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (6898:9): [True: 0, False: 2]
  ------------------
 6899|      2|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6899:9): [True: 0, False: 2]
  ------------------
 6900|      0|        return -1;
 6901|      2|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6901:9): [True: 0, False: 2]
  ------------------
 6902|      0|        return -1;
 6903|      2|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 6904|      2|                                    MatchOr_fields, 1,
 6905|      2|        "MatchOr(pattern* patterns)");
 6906|      2|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (6906:9): [True: 0, False: 2]
  ------------------
 6907|      2|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 6908|      2|                                        NULL, 0,
 6909|      2|        "type_ignore = TypeIgnore(int lineno, string tag)");
 6910|      2|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (6910:9): [True: 0, False: 2]
  ------------------
 6911|      2|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6911:9): [True: 0, False: 2]
  ------------------
 6912|      2|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (6912:9): [True: 0, False: 2]
  ------------------
 6913|      0|        -1;
 6914|      2|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 6915|      2|                                       state->type_ignore_type,
 6916|      2|                                       TypeIgnore_fields, 2,
 6917|      2|        "TypeIgnore(int lineno, string tag)");
 6918|      2|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (6918:9): [True: 0, False: 2]
  ------------------
 6919|      2|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 6920|      2|                                       NULL, 0,
 6921|      2|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 6922|      2|        "           | ParamSpec(identifier name, expr? default_value)\n"
 6923|      2|        "           | TypeVarTuple(identifier name, expr? default_value)");
 6924|      2|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (6924:9): [True: 0, False: 2]
  ------------------
 6925|      2|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (6925:9): [True: 0, False: 2]
  ------------------
 6926|      2|        < 0) return -1;
 6927|      2|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (6927:9): [True: 0, False: 2]
  ------------------
 6928|      2|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 6929|      2|                                    TypeVar_fields, 3,
 6930|      2|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 6931|      2|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (6931:9): [True: 0, False: 2]
  ------------------
 6932|      2|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6932:9): [True: 0, False: 2]
  ------------------
 6933|      0|        return -1;
 6934|      2|    if (PyObject_SetAttr(state->TypeVar_type, state->default_value, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6934:9): [True: 0, False: 2]
  ------------------
 6935|      2|        -1)
 6936|      0|        return -1;
 6937|      2|    state->ParamSpec_type = make_type(state, "ParamSpec",
 6938|      2|                                      state->type_param_type, ParamSpec_fields,
 6939|      2|                                      2,
 6940|      2|        "ParamSpec(identifier name, expr? default_value)");
 6941|      2|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (6941:9): [True: 0, False: 2]
  ------------------
 6942|      2|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6942:9): [True: 0, False: 2]
  ------------------
 6943|      2|        == -1)
 6944|      0|        return -1;
 6945|      2|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 6946|      2|                                         state->type_param_type,
 6947|      2|                                         TypeVarTuple_fields, 2,
 6948|      2|        "TypeVarTuple(identifier name, expr? default_value)");
 6949|      2|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (6949:9): [True: 0, False: 2]
  ------------------
 6950|      2|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (6950:9): [True: 0, False: 2]
  ------------------
 6951|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6952|      0|        return -1;
 6953|       |
 6954|      2|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (6954:9): [True: 0, False: 2]
  ------------------
 6955|      0|        return -1;
 6956|      0|    }
 6957|      2|    return 0;
 6958|      2|}
Python-ast.c:init_identifiers:
  290|      2|{
  291|      2|    if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return -1;
  ------------------
  |  Branch (291:9): [True: 0, False: 2]
  ------------------
  292|      2|    if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return -1;
  ------------------
  |  Branch (292:9): [True: 0, False: 2]
  ------------------
  293|      2|    if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return -1;
  ------------------
  |  Branch (293:9): [True: 0, False: 2]
  ------------------
  294|      2|    if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return -1;
  ------------------
  |  Branch (294:9): [True: 0, False: 2]
  ------------------
  295|      2|    if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return -1;
  ------------------
  |  Branch (295:9): [True: 0, False: 2]
  ------------------
  296|      2|    if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return -1;
  ------------------
  |  Branch (296:9): [True: 0, False: 2]
  ------------------
  297|      2|    if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return -1;
  ------------------
  |  Branch (297:9): [True: 0, False: 2]
  ------------------
  298|      2|    if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return -1;
  ------------------
  |  Branch (298:9): [True: 0, False: 2]
  ------------------
  299|      2|    if ((state->args = PyUnicode_InternFromString("args")) == NULL) return -1;
  ------------------
  |  Branch (299:9): [True: 0, False: 2]
  ------------------
  300|      2|    if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return -1;
  ------------------
  |  Branch (300:9): [True: 0, False: 2]
  ------------------
  301|      2|    if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return -1;
  ------------------
  |  Branch (301:9): [True: 0, False: 2]
  ------------------
  302|      2|    if ((state->ast = PyUnicode_InternFromString("ast")) == NULL) return -1;
  ------------------
  |  Branch (302:9): [True: 0, False: 2]
  ------------------
  303|      2|    if ((state->attr = PyUnicode_InternFromString("attr")) == NULL) return -1;
  ------------------
  |  Branch (303:9): [True: 0, False: 2]
  ------------------
  304|      2|    if ((state->bases = PyUnicode_InternFromString("bases")) == NULL) return -1;
  ------------------
  |  Branch (304:9): [True: 0, False: 2]
  ------------------
  305|      2|    if ((state->body = PyUnicode_InternFromString("body")) == NULL) return -1;
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      2|    if ((state->bound = PyUnicode_InternFromString("bound")) == NULL) return -1;
  ------------------
  |  Branch (306:9): [True: 0, False: 2]
  ------------------
  307|      2|    if ((state->cases = PyUnicode_InternFromString("cases")) == NULL) return -1;
  ------------------
  |  Branch (307:9): [True: 0, False: 2]
  ------------------
  308|      2|    if ((state->cause = PyUnicode_InternFromString("cause")) == NULL) return -1;
  ------------------
  |  Branch (308:9): [True: 0, False: 2]
  ------------------
  309|      2|    if ((state->cls = PyUnicode_InternFromString("cls")) == NULL) return -1;
  ------------------
  |  Branch (309:9): [True: 0, False: 2]
  ------------------
  310|      2|    if ((state->col_offset = PyUnicode_InternFromString("col_offset")) == NULL) return -1;
  ------------------
  |  Branch (310:9): [True: 0, False: 2]
  ------------------
  311|      2|    if ((state->comparators = PyUnicode_InternFromString("comparators")) == NULL) return -1;
  ------------------
  |  Branch (311:9): [True: 0, False: 2]
  ------------------
  312|      2|    if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return -1;
  ------------------
  |  Branch (312:9): [True: 0, False: 2]
  ------------------
  313|      2|    if ((state->conversion = PyUnicode_InternFromString("conversion")) == NULL) return -1;
  ------------------
  |  Branch (313:9): [True: 0, False: 2]
  ------------------
  314|      2|    if ((state->ctx = PyUnicode_InternFromString("ctx")) == NULL) return -1;
  ------------------
  |  Branch (314:9): [True: 0, False: 2]
  ------------------
  315|      2|    if ((state->decorator_list = PyUnicode_InternFromString("decorator_list")) == NULL) return -1;
  ------------------
  |  Branch (315:9): [True: 0, False: 2]
  ------------------
  316|      2|    if ((state->default_value = PyUnicode_InternFromString("default_value")) == NULL) return -1;
  ------------------
  |  Branch (316:9): [True: 0, False: 2]
  ------------------
  317|      2|    if ((state->defaults = PyUnicode_InternFromString("defaults")) == NULL) return -1;
  ------------------
  |  Branch (317:9): [True: 0, False: 2]
  ------------------
  318|      2|    if ((state->elt = PyUnicode_InternFromString("elt")) == NULL) return -1;
  ------------------
  |  Branch (318:9): [True: 0, False: 2]
  ------------------
  319|      2|    if ((state->elts = PyUnicode_InternFromString("elts")) == NULL) return -1;
  ------------------
  |  Branch (319:9): [True: 0, False: 2]
  ------------------
  320|      2|    if ((state->end_col_offset = PyUnicode_InternFromString("end_col_offset")) == NULL) return -1;
  ------------------
  |  Branch (320:9): [True: 0, False: 2]
  ------------------
  321|      2|    if ((state->end_lineno = PyUnicode_InternFromString("end_lineno")) == NULL) return -1;
  ------------------
  |  Branch (321:9): [True: 0, False: 2]
  ------------------
  322|      2|    if ((state->exc = PyUnicode_InternFromString("exc")) == NULL) return -1;
  ------------------
  |  Branch (322:9): [True: 0, False: 2]
  ------------------
  323|      2|    if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return -1;
  ------------------
  |  Branch (323:9): [True: 0, False: 2]
  ------------------
  324|      2|    if ((state->format_spec = PyUnicode_InternFromString("format_spec")) == NULL) return -1;
  ------------------
  |  Branch (324:9): [True: 0, False: 2]
  ------------------
  325|      2|    if ((state->func = PyUnicode_InternFromString("func")) == NULL) return -1;
  ------------------
  |  Branch (325:9): [True: 0, False: 2]
  ------------------
  326|      2|    if ((state->generators = PyUnicode_InternFromString("generators")) == NULL) return -1;
  ------------------
  |  Branch (326:9): [True: 0, False: 2]
  ------------------
  327|      2|    if ((state->guard = PyUnicode_InternFromString("guard")) == NULL) return -1;
  ------------------
  |  Branch (327:9): [True: 0, False: 2]
  ------------------
  328|      2|    if ((state->handlers = PyUnicode_InternFromString("handlers")) == NULL) return -1;
  ------------------
  |  Branch (328:9): [True: 0, False: 2]
  ------------------
  329|      2|    if ((state->id = PyUnicode_InternFromString("id")) == NULL) return -1;
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      2|    if ((state->ifs = PyUnicode_InternFromString("ifs")) == NULL) return -1;
  ------------------
  |  Branch (330:9): [True: 0, False: 2]
  ------------------
  331|      2|    if ((state->is_async = PyUnicode_InternFromString("is_async")) == NULL) return -1;
  ------------------
  |  Branch (331:9): [True: 0, False: 2]
  ------------------
  332|      2|    if ((state->is_lazy = PyUnicode_InternFromString("is_lazy")) == NULL) return -1;
  ------------------
  |  Branch (332:9): [True: 0, False: 2]
  ------------------
  333|      2|    if ((state->items = PyUnicode_InternFromString("items")) == NULL) return -1;
  ------------------
  |  Branch (333:9): [True: 0, False: 2]
  ------------------
  334|      2|    if ((state->iter = PyUnicode_InternFromString("iter")) == NULL) return -1;
  ------------------
  |  Branch (334:9): [True: 0, False: 2]
  ------------------
  335|      2|    if ((state->key = PyUnicode_InternFromString("key")) == NULL) return -1;
  ------------------
  |  Branch (335:9): [True: 0, False: 2]
  ------------------
  336|      2|    if ((state->keys = PyUnicode_InternFromString("keys")) == NULL) return -1;
  ------------------
  |  Branch (336:9): [True: 0, False: 2]
  ------------------
  337|      2|    if ((state->keywords = PyUnicode_InternFromString("keywords")) == NULL) return -1;
  ------------------
  |  Branch (337:9): [True: 0, False: 2]
  ------------------
  338|      2|    if ((state->kind = PyUnicode_InternFromString("kind")) == NULL) return -1;
  ------------------
  |  Branch (338:9): [True: 0, False: 2]
  ------------------
  339|      2|    if ((state->kw_defaults = PyUnicode_InternFromString("kw_defaults")) == NULL) return -1;
  ------------------
  |  Branch (339:9): [True: 0, False: 2]
  ------------------
  340|      2|    if ((state->kwarg = PyUnicode_InternFromString("kwarg")) == NULL) return -1;
  ------------------
  |  Branch (340:9): [True: 0, False: 2]
  ------------------
  341|      2|    if ((state->kwd_attrs = PyUnicode_InternFromString("kwd_attrs")) == NULL) return -1;
  ------------------
  |  Branch (341:9): [True: 0, False: 2]
  ------------------
  342|      2|    if ((state->kwd_patterns = PyUnicode_InternFromString("kwd_patterns")) == NULL) return -1;
  ------------------
  |  Branch (342:9): [True: 0, False: 2]
  ------------------
  343|      2|    if ((state->kwonlyargs = PyUnicode_InternFromString("kwonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (343:9): [True: 0, False: 2]
  ------------------
  344|      2|    if ((state->left = PyUnicode_InternFromString("left")) == NULL) return -1;
  ------------------
  |  Branch (344:9): [True: 0, False: 2]
  ------------------
  345|      2|    if ((state->level = PyUnicode_InternFromString("level")) == NULL) return -1;
  ------------------
  |  Branch (345:9): [True: 0, False: 2]
  ------------------
  346|      2|    if ((state->lineno = PyUnicode_InternFromString("lineno")) == NULL) return -1;
  ------------------
  |  Branch (346:9): [True: 0, False: 2]
  ------------------
  347|      2|    if ((state->lower = PyUnicode_InternFromString("lower")) == NULL) return -1;
  ------------------
  |  Branch (347:9): [True: 0, False: 2]
  ------------------
  348|      2|    if ((state->module = PyUnicode_InternFromString("module")) == NULL) return -1;
  ------------------
  |  Branch (348:9): [True: 0, False: 2]
  ------------------
  349|      2|    if ((state->msg = PyUnicode_InternFromString("msg")) == NULL) return -1;
  ------------------
  |  Branch (349:9): [True: 0, False: 2]
  ------------------
  350|      2|    if ((state->name = PyUnicode_InternFromString("name")) == NULL) return -1;
  ------------------
  |  Branch (350:9): [True: 0, False: 2]
  ------------------
  351|      2|    if ((state->names = PyUnicode_InternFromString("names")) == NULL) return -1;
  ------------------
  |  Branch (351:9): [True: 0, False: 2]
  ------------------
  352|      2|    if ((state->op = PyUnicode_InternFromString("op")) == NULL) return -1;
  ------------------
  |  Branch (352:9): [True: 0, False: 2]
  ------------------
  353|      2|    if ((state->operand = PyUnicode_InternFromString("operand")) == NULL) return -1;
  ------------------
  |  Branch (353:9): [True: 0, False: 2]
  ------------------
  354|      2|    if ((state->ops = PyUnicode_InternFromString("ops")) == NULL) return -1;
  ------------------
  |  Branch (354:9): [True: 0, False: 2]
  ------------------
  355|      2|    if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return -1;
  ------------------
  |  Branch (355:9): [True: 0, False: 2]
  ------------------
  356|      2|    if ((state->orelse = PyUnicode_InternFromString("orelse")) == NULL) return -1;
  ------------------
  |  Branch (356:9): [True: 0, False: 2]
  ------------------
  357|      2|    if ((state->pattern = PyUnicode_InternFromString("pattern")) == NULL) return -1;
  ------------------
  |  Branch (357:9): [True: 0, False: 2]
  ------------------
  358|      2|    if ((state->patterns = PyUnicode_InternFromString("patterns")) == NULL) return -1;
  ------------------
  |  Branch (358:9): [True: 0, False: 2]
  ------------------
  359|      2|    if ((state->posonlyargs = PyUnicode_InternFromString("posonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (359:9): [True: 0, False: 2]
  ------------------
  360|      2|    if ((state->rest = PyUnicode_InternFromString("rest")) == NULL) return -1;
  ------------------
  |  Branch (360:9): [True: 0, False: 2]
  ------------------
  361|      2|    if ((state->returns = PyUnicode_InternFromString("returns")) == NULL) return -1;
  ------------------
  |  Branch (361:9): [True: 0, False: 2]
  ------------------
  362|      2|    if ((state->right = PyUnicode_InternFromString("right")) == NULL) return -1;
  ------------------
  |  Branch (362:9): [True: 0, False: 2]
  ------------------
  363|      2|    if ((state->simple = PyUnicode_InternFromString("simple")) == NULL) return -1;
  ------------------
  |  Branch (363:9): [True: 0, False: 2]
  ------------------
  364|      2|    if ((state->slice = PyUnicode_InternFromString("slice")) == NULL) return -1;
  ------------------
  |  Branch (364:9): [True: 0, False: 2]
  ------------------
  365|      2|    if ((state->step = PyUnicode_InternFromString("step")) == NULL) return -1;
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|      2|    if ((state->str = PyUnicode_InternFromString("str")) == NULL) return -1;
  ------------------
  |  Branch (366:9): [True: 0, False: 2]
  ------------------
  367|      2|    if ((state->subject = PyUnicode_InternFromString("subject")) == NULL) return -1;
  ------------------
  |  Branch (367:9): [True: 0, False: 2]
  ------------------
  368|      2|    if ((state->tag = PyUnicode_InternFromString("tag")) == NULL) return -1;
  ------------------
  |  Branch (368:9): [True: 0, False: 2]
  ------------------
  369|      2|    if ((state->target = PyUnicode_InternFromString("target")) == NULL) return -1;
  ------------------
  |  Branch (369:9): [True: 0, False: 2]
  ------------------
  370|      2|    if ((state->targets = PyUnicode_InternFromString("targets")) == NULL) return -1;
  ------------------
  |  Branch (370:9): [True: 0, False: 2]
  ------------------
  371|      2|    if ((state->test = PyUnicode_InternFromString("test")) == NULL) return -1;
  ------------------
  |  Branch (371:9): [True: 0, False: 2]
  ------------------
  372|      2|    if ((state->type = PyUnicode_InternFromString("type")) == NULL) return -1;
  ------------------
  |  Branch (372:9): [True: 0, False: 2]
  ------------------
  373|      2|    if ((state->type_comment = PyUnicode_InternFromString("type_comment")) == NULL) return -1;
  ------------------
  |  Branch (373:9): [True: 0, False: 2]
  ------------------
  374|      2|    if ((state->type_ignores = PyUnicode_InternFromString("type_ignores")) == NULL) return -1;
  ------------------
  |  Branch (374:9): [True: 0, False: 2]
  ------------------
  375|      2|    if ((state->type_params = PyUnicode_InternFromString("type_params")) == NULL) return -1;
  ------------------
  |  Branch (375:9): [True: 0, False: 2]
  ------------------
  376|      2|    if ((state->upper = PyUnicode_InternFromString("upper")) == NULL) return -1;
  ------------------
  |  Branch (376:9): [True: 0, False: 2]
  ------------------
  377|      2|    if ((state->value = PyUnicode_InternFromString("value")) == NULL) return -1;
  ------------------
  |  Branch (377:9): [True: 0, False: 2]
  ------------------
  378|      2|    if ((state->values = PyUnicode_InternFromString("values")) == NULL) return -1;
  ------------------
  |  Branch (378:9): [True: 0, False: 2]
  ------------------
  379|      2|    if ((state->vararg = PyUnicode_InternFromString("vararg")) == NULL) return -1;
  ------------------
  |  Branch (379:9): [True: 0, False: 2]
  ------------------
  380|      2|    return 0;
  381|      2|};
Python-ast.c:ast_dealloc:
 5172|    396|{
 5173|    396|    AST_object *self = (AST_object*)op;
 5174|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5175|    396|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    396|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5176|    396|    PyObject_GC_UnTrack(self);
 5177|    396|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|    396|    do { \
  |  |  485|    396|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    396|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    396|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    396|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    396|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 396, False: 0]
  |  |  ------------------
  |  |  488|    396|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    396|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    396|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    396|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    396|        } \
  |  |  491|    396|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 396]
  |  |  ------------------
  ------------------
 5178|    396|    freefunc free_func = PyType_GetSlot(tp, Py_tp_free);
  ------------------
  |  |   82|    396|#define Py_tp_free 74
  ------------------
 5179|    396|    assert(free_func != NULL);
 5180|    396|    free_func(self);
 5181|    396|    Py_DECREF(tp);
  ------------------
  |  |  430|    396|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|    396|}
Python-ast.c:ast_traverse:
 5186|  1.07k|{
 5187|  1.07k|    AST_object *self = (AST_object*)op;
 5188|  1.07k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  1.07k|    do {                                                                \
  |  |  195|  1.07k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.07k, False: 0]
  |  |  ------------------
  |  |  196|  1.07k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.07k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.07k]
  |  |  ------------------
  |  |  198|  1.07k|                return vret;                                            \
  |  |  199|  1.07k|        }                                                               \
  |  |  200|  1.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.07k]
  |  |  ------------------
  ------------------
 5189|  1.07k|    Py_VISIT(self->dict);
  ------------------
  |  |  194|  1.07k|    do {                                                                \
  |  |  195|  1.07k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 1.07k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  1.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.07k]
  |  |  ------------------
  ------------------
 5190|  1.07k|    return 0;
 5191|  1.07k|}
Python-ast.c:ast_type_init:
 5267|     70|{
 5268|     70|    struct ast_state *state = get_ast_state();
 5269|     70|    if (state == NULL) {
  ------------------
  |  Branch (5269:9): [True: 0, False: 70]
  ------------------
 5270|      0|        return -1;
 5271|      0|    }
 5272|       |
 5273|     70|    int contains = PySet_Contains(state->abstract_types, (PyObject *)Py_TYPE(self));
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5274|     70|    if (contains == -1) {
  ------------------
  |  Branch (5274:9): [True: 0, False: 70]
  ------------------
 5275|      0|        return -1;
 5276|      0|    }
 5277|     70|    else if (contains == 1) {
  ------------------
  |  Branch (5277:14): [True: 0, False: 70]
  ------------------
 5278|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (5278:13): [True: 0, False: 0]
  ------------------
 5279|      0|                PyExc_DeprecationWarning, 1,
 5280|      0|                "Instantiating abstract AST node class %T is deprecated. "
 5281|      0|                "This will become an error in Python 3.20", self) < 0) {
 5282|      0|            return -1;
 5283|      0|        }
 5284|      0|    }
 5285|       |
 5286|     70|    Py_ssize_t i, numfields = 0;
 5287|     70|    int res = -1;
 5288|     70|    PyObject *key, *value, *fields, *attributes = NULL, *remaining_fields = NULL;
 5289|       |
 5290|     70|    fields = PyObject_GetAttr((PyObject*)Py_TYPE(self), state->_fields);
  ------------------
  |  |  213|     70|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5291|     70|    if (fields == NULL) {
  ------------------
  |  Branch (5291:9): [True: 0, False: 70]
  ------------------
 5292|      0|        goto cleanup;
 5293|      0|    }
 5294|       |
 5295|     70|    numfields = PySequence_Size(fields);
 5296|     70|    if (numfields == -1) {
  ------------------
  |  Branch (5296:9): [True: 0, False: 70]
  ------------------
 5297|      0|        goto cleanup;
 5298|      0|    }
 5299|     70|    remaining_fields = PySet_New(fields);
 5300|     70|    if (remaining_fields == NULL) {
  ------------------
  |  Branch (5300:9): [True: 0, False: 70]
  ------------------
 5301|      0|        goto cleanup;
 5302|      0|    }
 5303|       |
 5304|     70|    res = 0; /* if no error occurs, this stays 0 to the end */
 5305|     70|    if (numfields < PyTuple_GET_SIZE(args)) {
  ------------------
  |  |   27|     70|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5305:9): [True: 0, False: 70]
  ------------------
 5306|      0|        PyErr_Format(PyExc_TypeError, "%.400s constructor takes at most "
 5307|      0|                     "%zd positional argument%s",
 5308|      0|                     _PyType_Name(Py_TYPE(self)),
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5309|      0|                     numfields, numfields == 1 ? "" : "s");
  ------------------
  |  Branch (5309:33): [True: 0, False: 0]
  ------------------
 5310|      0|        res = -1;
 5311|      0|        goto cleanup;
 5312|      0|    }
 5313|     70|    for (i = 0; i < PyTuple_GET_SIZE(args); i++) {
  ------------------
  |  |   27|     70|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5313:17): [True: 0, False: 70]
  ------------------
 5314|       |        /* cannot be reached when fields is NULL */
 5315|      0|        PyObject *name = PySequence_GetItem(fields, i);
 5316|      0|        if (!name) {
  ------------------
  |  Branch (5316:13): [True: 0, False: 0]
  ------------------
 5317|      0|            res = -1;
 5318|      0|            goto cleanup;
 5319|      0|        }
 5320|      0|        res = PyObject_SetAttr(self, name, PyTuple_GET_ITEM(args, i));
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5321|      0|        if (PySet_Discard(remaining_fields, name) < 0) {
  ------------------
  |  Branch (5321:13): [True: 0, False: 0]
  ------------------
 5322|      0|            res = -1;
 5323|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5324|      0|            goto cleanup;
 5325|      0|        }
 5326|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5327|      0|        if (res < 0) {
  ------------------
  |  Branch (5327:13): [True: 0, False: 0]
  ------------------
 5328|      0|            goto cleanup;
 5329|      0|        }
 5330|      0|    }
 5331|     70|    if (kw) {
  ------------------
  |  Branch (5331:9): [True: 0, False: 70]
  ------------------
 5332|      0|        i = 0;  /* needed by PyDict_Next */
 5333|      0|        while (PyDict_Next(kw, &i, &key, &value)) {
  ------------------
  |  Branch (5333:16): [True: 0, False: 0]
  ------------------
 5334|      0|            int contains = PySequence_Contains(fields, key);
 5335|      0|            if (contains == -1) {
  ------------------
  |  Branch (5335:17): [True: 0, False: 0]
  ------------------
 5336|      0|                res = -1;
 5337|      0|                goto cleanup;
 5338|      0|            }
 5339|      0|            else if (contains == 1) {
  ------------------
  |  Branch (5339:22): [True: 0, False: 0]
  ------------------
 5340|      0|                int p = PySet_Discard(remaining_fields, key);
 5341|      0|                if (p == -1) {
  ------------------
  |  Branch (5341:21): [True: 0, False: 0]
  ------------------
 5342|      0|                    res = -1;
 5343|      0|                    goto cleanup;
 5344|      0|                }
 5345|      0|                if (p == 0) {
  ------------------
  |  Branch (5345:21): [True: 0, False: 0]
  ------------------
 5346|      0|                    PyErr_Format(PyExc_TypeError,
 5347|      0|                        "%T got multiple values for argument %R",
 5348|      0|                        self, key);
 5349|      0|                    res = -1;
 5350|      0|                    goto cleanup;
 5351|      0|                }
 5352|      0|            }
 5353|      0|            else {
 5354|       |                // Lazily initialize "attributes"
 5355|      0|                if (attributes == NULL) {
  ------------------
  |  Branch (5355:21): [True: 0, False: 0]
  ------------------
 5356|      0|                    attributes = PyObject_GetAttr((PyObject*)Py_TYPE(self), state->_attributes);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5357|      0|                    if (attributes == NULL) {
  ------------------
  |  Branch (5357:25): [True: 0, False: 0]
  ------------------
 5358|      0|                        res = -1;
 5359|      0|                        goto cleanup;
 5360|      0|                    }
 5361|      0|                }
 5362|      0|                int contains = PySequence_Contains(attributes, key);
 5363|      0|                if (contains == -1) {
  ------------------
  |  Branch (5363:21): [True: 0, False: 0]
  ------------------
 5364|      0|                    res = -1;
 5365|      0|                    goto cleanup;
 5366|      0|                }
 5367|      0|                else if (contains == 0) {
  ------------------
  |  Branch (5367:26): [True: 0, False: 0]
  ------------------
 5368|      0|                    PyErr_Format(PyExc_TypeError,
 5369|      0|                        "%T.__init__ got an unexpected keyword argument %R",
 5370|      0|                        self, key);
 5371|      0|                    res = -1;
 5372|      0|                    goto cleanup;
 5373|      0|                }
 5374|      0|            }
 5375|      0|            res = PyObject_SetAttr(self, key, value);
 5376|      0|            if (res < 0) {
  ------------------
  |  Branch (5376:17): [True: 0, False: 0]
  ------------------
 5377|      0|                goto cleanup;
 5378|      0|            }
 5379|      0|        }
 5380|      0|    }
 5381|     70|    Py_ssize_t size = PySet_Size(remaining_fields);
 5382|     70|    PyObject *field_types = NULL, *remaining_list = NULL, *missing_names = NULL;
 5383|     70|    if (size > 0) {
  ------------------
  |  Branch (5383:9): [True: 0, False: 70]
  ------------------
 5384|      0|        if (PyObject_GetOptionalAttr((PyObject*)Py_TYPE(self), &_Py_ID(_field_types),
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyObject_GetOptionalAttr((PyObject*)Py_TYPE(self), &_Py_ID(_field_types),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5384:13): [True: 0, False: 0]
  ------------------
 5385|      0|                                     &field_types) < 0) {
 5386|      0|            res = -1;
 5387|      0|            goto cleanup;
 5388|      0|        }
 5389|      0|        if (field_types == NULL) {
  ------------------
  |  Branch (5389:13): [True: 0, False: 0]
  ------------------
 5390|       |            // Probably a user-defined subclass of AST that lacks _field_types.
 5391|       |            // This will continue to work as it did before 3.13; i.e., attributes
 5392|       |            // that are not passed in simply do not exist on the instance.
 5393|      0|            goto cleanup;
 5394|      0|        }
 5395|      0|        remaining_list = PySequence_List(remaining_fields);
 5396|      0|        if (!remaining_list) {
  ------------------
  |  Branch (5396:13): [True: 0, False: 0]
  ------------------
 5397|      0|            goto set_remaining_cleanup;
 5398|      0|        }
 5399|      0|        missing_names = PySet_New(NULL);
 5400|      0|        if (!missing_names) {
  ------------------
  |  Branch (5400:13): [True: 0, False: 0]
  ------------------
 5401|      0|            goto set_remaining_cleanup;
 5402|      0|        }
 5403|      0|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (5403:32): [True: 0, False: 0]
  ------------------
 5404|      0|            PyObject *name = PyList_GET_ITEM(remaining_list, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5405|      0|            PyObject *type = PyDict_GetItemWithError(field_types, name);
 5406|      0|            if (!type) {
  ------------------
  |  Branch (5406:17): [True: 0, False: 0]
  ------------------
 5407|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (5407:21): [True: 0, False: 0]
  ------------------
 5408|      0|                    goto set_remaining_cleanup;
 5409|      0|                }
 5410|      0|                else {
 5411|      0|                    PyErr_Format(PyExc_TypeError,
 5412|      0|                        "Field %R is missing from %T._field_types",
 5413|      0|                        name, self);
 5414|      0|                    goto set_remaining_cleanup;
 5415|      0|                }
 5416|      0|            }
 5417|      0|            else if (_PyUnion_Check(type)) {
  ------------------
  |  |   15|      0|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5418|       |                // optional field
 5419|       |                // do nothing, we'll have set a None default on the class
 5420|      0|            }
 5421|      0|            else if (Py_IS_TYPE(type, &Py_GenericAliasType)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5422|       |                // list field
 5423|      0|                PyObject *empty = PyList_New(0);
 5424|      0|                if (!empty) {
  ------------------
  |  Branch (5424:21): [True: 0, False: 0]
  ------------------
 5425|      0|                    goto set_remaining_cleanup;
 5426|      0|                }
 5427|      0|                res = PyObject_SetAttr(self, name, empty);
 5428|      0|                Py_DECREF(empty);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5429|      0|                if (res < 0) {
  ------------------
  |  Branch (5429:21): [True: 0, False: 0]
  ------------------
 5430|      0|                    goto set_remaining_cleanup;
 5431|      0|                }
 5432|      0|            }
 5433|      0|            else if (type == state->expr_context_type) {
  ------------------
  |  Branch (5433:22): [True: 0, False: 0]
  ------------------
 5434|       |                // special case for expr_context: default to Load()
 5435|      0|                res = PyObject_SetAttr(self, name, state->Load_singleton);
 5436|      0|                if (res < 0) {
  ------------------
  |  Branch (5436:21): [True: 0, False: 0]
  ------------------
 5437|      0|                    goto set_remaining_cleanup;
 5438|      0|                }
 5439|      0|            }
 5440|      0|            else {
 5441|       |                // simple field (e.g., identifier)
 5442|      0|                res = PySet_Add(missing_names, name);
 5443|      0|                if (res < 0) {
  ------------------
  |  Branch (5443:21): [True: 0, False: 0]
  ------------------
 5444|      0|                    goto set_remaining_cleanup;
 5445|      0|                }
 5446|      0|            }
 5447|      0|        }
 5448|      0|        Py_ssize_t num_missing = PySet_GET_SIZE(missing_names);
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5449|      0|        if (num_missing > 0) {
  ------------------
  |  Branch (5449:13): [True: 0, False: 0]
  ------------------
 5450|      0|            PyObject *name_str = format_missing(missing_names, fields);
 5451|      0|            if (!name_str) {
  ------------------
  |  Branch (5451:17): [True: 0, False: 0]
  ------------------
 5452|      0|                goto set_remaining_cleanup;
 5453|      0|            }
 5454|      0|            PyErr_Format(PyExc_TypeError,
 5455|      0|                "%T.__init__ missing %d required positional argument%s: %U",
 5456|      0|                self, num_missing, num_missing == 1 ? "" : "s", name_str);
  ------------------
  |  Branch (5456:36): [True: 0, False: 0]
  ------------------
 5457|      0|            Py_DECREF(name_str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5458|      0|            goto set_remaining_cleanup;
 5459|      0|        }
 5460|      0|        Py_DECREF(missing_names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5461|      0|        Py_DECREF(remaining_list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5462|      0|        Py_DECREF(field_types);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5463|      0|    }
 5464|     70|  cleanup:
 5465|     70|    Py_XDECREF(attributes);
  ------------------
  |  |  524|     70|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5466|     70|    Py_XDECREF(fields);
  ------------------
  |  |  524|     70|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5467|     70|    Py_XDECREF(remaining_fields);
  ------------------
  |  |  524|     70|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5468|     70|    return res;
 5469|      0|  set_remaining_cleanup:
 5470|      0|    Py_XDECREF(missing_names);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5471|      0|    Py_XDECREF(remaining_list);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5472|      0|    Py_XDECREF(field_types);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5473|      0|    res = -1;
 5474|      0|    goto cleanup;
 5475|     70|}
Python-ast.c:add_ast_fields:
 6094|      2|{
 6095|      2|    PyObject *empty_tuple;
 6096|      2|    empty_tuple = PyTuple_New(0);
 6097|      2|    if (!empty_tuple ||
  ------------------
  |  Branch (6097:9): [True: 0, False: 2]
  ------------------
 6098|      2|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (6098:9): [True: 0, False: 2]
  ------------------
 6099|      2|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (6099:9): [True: 0, False: 2]
  ------------------
 6100|      2|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (6100:9): [True: 0, False: 2]
  ------------------
 6101|      0|        Py_XDECREF(empty_tuple);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6102|      0|        return -1;
 6103|      0|    }
 6104|      2|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6105|      2|    return 0;
 6106|      2|}
Python-ast.c:make_type:
 5945|    250|{
 5946|    250|    PyObject *fnames, *result;
 5947|    250|    int i;
 5948|    250|    fnames = PyTuple_New(num_fields);
 5949|    250|    if (!fnames) return NULL;
  ------------------
  |  Branch (5949:9): [True: 0, False: 250]
  ------------------
 5950|    646|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (5950:17): [True: 396, False: 250]
  ------------------
 5951|    396|        PyObject *field = PyUnicode_InternFromString(fields[i]);
 5952|    396|        if (!field) {
  ------------------
  |  Branch (5952:13): [True: 0, False: 396]
  ------------------
 5953|      0|            Py_DECREF(fnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5954|      0|            return NULL;
 5955|      0|        }
 5956|    396|        PyTuple_SET_ITEM(fnames, i, field);
  ------------------
  |  |   40|    396|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5957|    396|    }
 5958|    250|    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){OOOOOOOs}",
 5959|    250|                    type, base,
 5960|    250|                    state->_fields, fnames,
 5961|    250|                    state->__match_args__, fnames,
 5962|    250|                    state->__module__,
 5963|    250|                    state->ast,
 5964|    250|                    state->__doc__, doc);
 5965|    250|    Py_DECREF(fnames);
  ------------------
  |  |  430|    250|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5966|    250|    return result;
 5967|    250|}
Python-ast.c:add_attributes:
 5971|     38|{
 5972|     38|    int i, result;
 5973|     38|    PyObject *s, *l = PyTuple_New(num_fields);
 5974|     38|    if (!l)
  ------------------
  |  Branch (5974:9): [True: 0, False: 38]
  ------------------
 5975|      0|        return -1;
 5976|    102|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (5976:17): [True: 64, False: 38]
  ------------------
 5977|     64|        s = PyUnicode_InternFromString(attrs[i]);
 5978|     64|        if (!s) {
  ------------------
  |  Branch (5978:13): [True: 0, False: 64]
  ------------------
 5979|      0|            Py_DECREF(l);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5980|      0|            return -1;
 5981|      0|        }
 5982|     64|        PyTuple_SET_ITEM(l, i, s);
  ------------------
  |  |   40|     64|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5983|     64|    }
 5984|     38|    result = PyObject_SetAttr(type, state->_attributes, l);
 5985|     38|    Py_DECREF(l);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5986|     38|    return result;
 5987|     38|}
Python-ast.c:add_ast_annotations:
  823|      2|{
  824|      2|    bool cond;
  825|      2|    PyObject *Module_annotations = PyDict_New();
  826|      2|    if (!Module_annotations) return 0;
  ------------------
  |  Branch (826:9): [True: 0, False: 2]
  ------------------
  827|      2|    {
  828|      2|        PyObject *type = state->stmt_type;
  829|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  830|      2|        cond = type != NULL;
  831|      2|        if (!cond) {
  ------------------
  |  Branch (831:13): [True: 0, False: 2]
  ------------------
  832|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  833|      0|            return 0;
  834|      0|        }
  835|      2|        cond = PyDict_SetItemString(Module_annotations, "body", type) == 0;
  836|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  837|      2|        if (!cond) {
  ------------------
  |  Branch (837:13): [True: 0, False: 2]
  ------------------
  838|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      0|            return 0;
  840|      0|        }
  841|      2|    }
  842|      2|    {
  843|      2|        PyObject *type = state->type_ignore_type;
  844|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  845|      2|        cond = type != NULL;
  846|      2|        if (!cond) {
  ------------------
  |  Branch (846:13): [True: 0, False: 2]
  ------------------
  847|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|      0|            return 0;
  849|      0|        }
  850|      2|        cond = PyDict_SetItemString(Module_annotations, "type_ignores", type)
  851|      2|                                    == 0;
  852|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|      2|        if (!cond) {
  ------------------
  |  Branch (853:13): [True: 0, False: 2]
  ------------------
  854|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|      0|            return 0;
  856|      0|        }
  857|      2|    }
  858|      2|    cond = PyObject_SetAttrString(state->Module_type, "_field_types",
  859|      2|                                  Module_annotations) == 0;
  860|      2|    if (!cond) {
  ------------------
  |  Branch (860:9): [True: 0, False: 2]
  ------------------
  861|      0|        Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|      0|        return 0;
  863|      0|    }
  864|      2|    cond = PyObject_SetAttrString(state->Module_type, "__annotations__",
  865|      2|                                  Module_annotations) == 0;
  866|      2|    if (!cond) {
  ------------------
  |  Branch (866:9): [True: 0, False: 2]
  ------------------
  867|      0|        Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  868|      0|        return 0;
  869|      0|    }
  870|      2|    Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|      2|    PyObject *Interactive_annotations = PyDict_New();
  872|      2|    if (!Interactive_annotations) return 0;
  ------------------
  |  Branch (872:9): [True: 0, False: 2]
  ------------------
  873|      2|    {
  874|      2|        PyObject *type = state->stmt_type;
  875|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  876|      2|        cond = type != NULL;
  877|      2|        if (!cond) {
  ------------------
  |  Branch (877:13): [True: 0, False: 2]
  ------------------
  878|      0|            Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  879|      0|            return 0;
  880|      0|        }
  881|      2|        cond = PyDict_SetItemString(Interactive_annotations, "body", type) == 0;
  882|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|      2|        if (!cond) {
  ------------------
  |  Branch (883:13): [True: 0, False: 2]
  ------------------
  884|      0|            Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|            return 0;
  886|      0|        }
  887|      2|    }
  888|      2|    cond = PyObject_SetAttrString(state->Interactive_type, "_field_types",
  889|      2|                                  Interactive_annotations) == 0;
  890|      2|    if (!cond) {
  ------------------
  |  Branch (890:9): [True: 0, False: 2]
  ------------------
  891|      0|        Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      0|        return 0;
  893|      0|    }
  894|      2|    cond = PyObject_SetAttrString(state->Interactive_type, "__annotations__",
  895|      2|                                  Interactive_annotations) == 0;
  896|      2|    if (!cond) {
  ------------------
  |  Branch (896:9): [True: 0, False: 2]
  ------------------
  897|      0|        Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|      0|        return 0;
  899|      0|    }
  900|      2|    Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|      2|    PyObject *Expression_annotations = PyDict_New();
  902|      2|    if (!Expression_annotations) return 0;
  ------------------
  |  Branch (902:9): [True: 0, False: 2]
  ------------------
  903|      2|    {
  904|      2|        PyObject *type = state->expr_type;
  905|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|      2|        cond = PyDict_SetItemString(Expression_annotations, "body", type) == 0;
  907|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|      2|        if (!cond) {
  ------------------
  |  Branch (908:13): [True: 0, False: 2]
  ------------------
  909|      0|            Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|      0|            return 0;
  911|      0|        }
  912|      2|    }
  913|      2|    cond = PyObject_SetAttrString(state->Expression_type, "_field_types",
  914|      2|                                  Expression_annotations) == 0;
  915|      2|    if (!cond) {
  ------------------
  |  Branch (915:9): [True: 0, False: 2]
  ------------------
  916|      0|        Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|      0|        return 0;
  918|      0|    }
  919|      2|    cond = PyObject_SetAttrString(state->Expression_type, "__annotations__",
  920|      2|                                  Expression_annotations) == 0;
  921|      2|    if (!cond) {
  ------------------
  |  Branch (921:9): [True: 0, False: 2]
  ------------------
  922|      0|        Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      0|        return 0;
  924|      0|    }
  925|      2|    Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|      2|    PyObject *FunctionType_annotations = PyDict_New();
  927|      2|    if (!FunctionType_annotations) return 0;
  ------------------
  |  Branch (927:9): [True: 0, False: 2]
  ------------------
  928|      2|    {
  929|      2|        PyObject *type = state->expr_type;
  930|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  931|      2|        cond = type != NULL;
  932|      2|        if (!cond) {
  ------------------
  |  Branch (932:13): [True: 0, False: 2]
  ------------------
  933|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  934|      0|            return 0;
  935|      0|        }
  936|      2|        cond = PyDict_SetItemString(FunctionType_annotations, "argtypes", type)
  937|      2|                                    == 0;
  938|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|      2|        if (!cond) {
  ------------------
  |  Branch (939:13): [True: 0, False: 2]
  ------------------
  940|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|            return 0;
  942|      0|        }
  943|      2|    }
  944|      2|    {
  945|      2|        PyObject *type = state->expr_type;
  946|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|      2|        cond = PyDict_SetItemString(FunctionType_annotations, "returns", type)
  948|      2|                                    == 0;
  949|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|      2|        if (!cond) {
  ------------------
  |  Branch (950:13): [True: 0, False: 2]
  ------------------
  951|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  952|      0|            return 0;
  953|      0|        }
  954|      2|    }
  955|      2|    cond = PyObject_SetAttrString(state->FunctionType_type, "_field_types",
  956|      2|                                  FunctionType_annotations) == 0;
  957|      2|    if (!cond) {
  ------------------
  |  Branch (957:9): [True: 0, False: 2]
  ------------------
  958|      0|        Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|        return 0;
  960|      0|    }
  961|      2|    cond = PyObject_SetAttrString(state->FunctionType_type, "__annotations__",
  962|      2|                                  FunctionType_annotations) == 0;
  963|      2|    if (!cond) {
  ------------------
  |  Branch (963:9): [True: 0, False: 2]
  ------------------
  964|      0|        Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      0|        return 0;
  966|      0|    }
  967|      2|    Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  968|      2|    PyObject *FunctionDef_annotations = PyDict_New();
  969|      2|    if (!FunctionDef_annotations) return 0;
  ------------------
  |  Branch (969:9): [True: 0, False: 2]
  ------------------
  970|      2|    {
  971|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
  972|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "name", type) == 0;
  974|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      2|        if (!cond) {
  ------------------
  |  Branch (975:13): [True: 0, False: 2]
  ------------------
  976|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      0|            return 0;
  978|      0|        }
  979|      2|    }
  980|      2|    {
  981|      2|        PyObject *type = state->arguments_type;
  982|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "args", type) == 0;
  984|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  985|      2|        if (!cond) {
  ------------------
  |  Branch (985:13): [True: 0, False: 2]
  ------------------
  986|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  987|      0|            return 0;
  988|      0|        }
  989|      2|    }
  990|      2|    {
  991|      2|        PyObject *type = state->stmt_type;
  992|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  993|      2|        cond = type != NULL;
  994|      2|        if (!cond) {
  ------------------
  |  Branch (994:13): [True: 0, False: 2]
  ------------------
  995|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  996|      0|            return 0;
  997|      0|        }
  998|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "body", type) == 0;
  999|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1000|      2|        if (!cond) {
  ------------------
  |  Branch (1000:13): [True: 0, False: 2]
  ------------------
 1001|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|      0|            return 0;
 1003|      0|        }
 1004|      2|    }
 1005|      2|    {
 1006|      2|        PyObject *type = state->expr_type;
 1007|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1008|      2|        cond = type != NULL;
 1009|      2|        if (!cond) {
  ------------------
  |  Branch (1009:13): [True: 0, False: 2]
  ------------------
 1010|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|      0|            return 0;
 1012|      0|        }
 1013|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "decorator_list",
 1014|      2|                                    type) == 0;
 1015|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      2|        if (!cond) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 2]
  ------------------
 1017|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|      0|            return 0;
 1019|      0|        }
 1020|      2|    }
 1021|      2|    {
 1022|      2|        PyObject *type = state->expr_type;
 1023|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1024|      2|        cond = type != NULL;
 1025|      2|        if (!cond) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 2]
  ------------------
 1026|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1027|      0|            return 0;
 1028|      0|        }
 1029|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "returns", type)
 1030|      2|                                    == 0;
 1031|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      2|        if (!cond) {
  ------------------
  |  Branch (1032:13): [True: 0, False: 2]
  ------------------
 1033|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|      0|            return 0;
 1035|      0|        }
 1036|      2|    }
 1037|      2|    {
 1038|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1039|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1040|      2|        cond = type != NULL;
 1041|      2|        if (!cond) {
  ------------------
  |  Branch (1041:13): [True: 0, False: 2]
  ------------------
 1042|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|      0|            return 0;
 1044|      0|        }
 1045|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "type_comment",
 1046|      2|                                    type) == 0;
 1047|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      2|        if (!cond) {
  ------------------
  |  Branch (1048:13): [True: 0, False: 2]
  ------------------
 1049|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|      0|            return 0;
 1051|      0|        }
 1052|      2|    }
 1053|      2|    {
 1054|      2|        PyObject *type = state->type_param_type;
 1055|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1056|      2|        cond = type != NULL;
 1057|      2|        if (!cond) {
  ------------------
  |  Branch (1057:13): [True: 0, False: 2]
  ------------------
 1058|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|      0|            return 0;
 1060|      0|        }
 1061|      2|        cond = PyDict_SetItemString(FunctionDef_annotations, "type_params",
 1062|      2|                                    type) == 0;
 1063|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      2|        if (!cond) {
  ------------------
  |  Branch (1064:13): [True: 0, False: 2]
  ------------------
 1065|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|      0|            return 0;
 1067|      0|        }
 1068|      2|    }
 1069|      2|    cond = PyObject_SetAttrString(state->FunctionDef_type, "_field_types",
 1070|      2|                                  FunctionDef_annotations) == 0;
 1071|      2|    if (!cond) {
  ------------------
  |  Branch (1071:9): [True: 0, False: 2]
  ------------------
 1072|      0|        Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      0|        return 0;
 1074|      0|    }
 1075|      2|    cond = PyObject_SetAttrString(state->FunctionDef_type, "__annotations__",
 1076|      2|                                  FunctionDef_annotations) == 0;
 1077|      2|    if (!cond) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 2]
  ------------------
 1078|      0|        Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|      0|        return 0;
 1080|      0|    }
 1081|      2|    Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      2|    PyObject *AsyncFunctionDef_annotations = PyDict_New();
 1083|      2|    if (!AsyncFunctionDef_annotations) return 0;
  ------------------
  |  Branch (1083:9): [True: 0, False: 2]
  ------------------
 1084|      2|    {
 1085|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1086|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "name", type)
 1088|      2|                                    == 0;
 1089|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      2|        if (!cond) {
  ------------------
  |  Branch (1090:13): [True: 0, False: 2]
  ------------------
 1091|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      0|            return 0;
 1093|      0|        }
 1094|      2|    }
 1095|      2|    {
 1096|      2|        PyObject *type = state->arguments_type;
 1097|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "args", type)
 1099|      2|                                    == 0;
 1100|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      2|        if (!cond) {
  ------------------
  |  Branch (1101:13): [True: 0, False: 2]
  ------------------
 1102|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      0|            return 0;
 1104|      0|        }
 1105|      2|    }
 1106|      2|    {
 1107|      2|        PyObject *type = state->stmt_type;
 1108|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1109|      2|        cond = type != NULL;
 1110|      2|        if (!cond) {
  ------------------
  |  Branch (1110:13): [True: 0, False: 2]
  ------------------
 1111|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|      0|            return 0;
 1113|      0|        }
 1114|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "body", type)
 1115|      2|                                    == 0;
 1116|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      2|        if (!cond) {
  ------------------
  |  Branch (1117:13): [True: 0, False: 2]
  ------------------
 1118|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1119|      0|            return 0;
 1120|      0|        }
 1121|      2|    }
 1122|      2|    {
 1123|      2|        PyObject *type = state->expr_type;
 1124|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1125|      2|        cond = type != NULL;
 1126|      2|        if (!cond) {
  ------------------
  |  Branch (1126:13): [True: 0, False: 2]
  ------------------
 1127|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      0|            return 0;
 1129|      0|        }
 1130|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1131|      2|                                    "decorator_list", type) == 0;
 1132|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|      2|        if (!cond) {
  ------------------
  |  Branch (1133:13): [True: 0, False: 2]
  ------------------
 1134|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|      0|            return 0;
 1136|      0|        }
 1137|      2|    }
 1138|      2|    {
 1139|      2|        PyObject *type = state->expr_type;
 1140|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1141|      2|        cond = type != NULL;
 1142|      2|        if (!cond) {
  ------------------
  |  Branch (1142:13): [True: 0, False: 2]
  ------------------
 1143|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      0|            return 0;
 1145|      0|        }
 1146|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "returns",
 1147|      2|                                    type) == 0;
 1148|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|      2|        if (!cond) {
  ------------------
  |  Branch (1149:13): [True: 0, False: 2]
  ------------------
 1150|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|      0|            return 0;
 1152|      0|        }
 1153|      2|    }
 1154|      2|    {
 1155|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1156|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1157|      2|        cond = type != NULL;
 1158|      2|        if (!cond) {
  ------------------
  |  Branch (1158:13): [True: 0, False: 2]
  ------------------
 1159|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|      0|            return 0;
 1161|      0|        }
 1162|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1163|      2|                                    "type_comment", type) == 0;
 1164|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      2|        if (!cond) {
  ------------------
  |  Branch (1165:13): [True: 0, False: 2]
  ------------------
 1166|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|      0|            return 0;
 1168|      0|        }
 1169|      2|    }
 1170|      2|    {
 1171|      2|        PyObject *type = state->type_param_type;
 1172|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1173|      2|        cond = type != NULL;
 1174|      2|        if (!cond) {
  ------------------
  |  Branch (1174:13): [True: 0, False: 2]
  ------------------
 1175|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|      0|            return 0;
 1177|      0|        }
 1178|      2|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1179|      2|                                    "type_params", type) == 0;
 1180|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|      2|        if (!cond) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 2]
  ------------------
 1182|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|      0|            return 0;
 1184|      0|        }
 1185|      2|    }
 1186|      2|    cond = PyObject_SetAttrString(state->AsyncFunctionDef_type, "_field_types",
 1187|      2|                                  AsyncFunctionDef_annotations) == 0;
 1188|      2|    if (!cond) {
  ------------------
  |  Branch (1188:9): [True: 0, False: 2]
  ------------------
 1189|      0|        Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|      0|        return 0;
 1191|      0|    }
 1192|      2|    cond = PyObject_SetAttrString(state->AsyncFunctionDef_type,
 1193|      2|                                  "__annotations__",
 1194|      2|                                  AsyncFunctionDef_annotations) == 0;
 1195|      2|    if (!cond) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 2]
  ------------------
 1196|      0|        Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1197|      0|        return 0;
 1198|      0|    }
 1199|      2|    Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|      2|    PyObject *ClassDef_annotations = PyDict_New();
 1201|      2|    if (!ClassDef_annotations) return 0;
  ------------------
  |  Branch (1201:9): [True: 0, False: 2]
  ------------------
 1202|      2|    {
 1203|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1204|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "name", type) == 0;
 1206|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|      2|        if (!cond) {
  ------------------
  |  Branch (1207:13): [True: 0, False: 2]
  ------------------
 1208|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|      0|            return 0;
 1210|      0|        }
 1211|      2|    }
 1212|      2|    {
 1213|      2|        PyObject *type = state->expr_type;
 1214|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1215|      2|        cond = type != NULL;
 1216|      2|        if (!cond) {
  ------------------
  |  Branch (1216:13): [True: 0, False: 2]
  ------------------
 1217|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|      0|            return 0;
 1219|      0|        }
 1220|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "bases", type) == 0;
 1221|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      2|        if (!cond) {
  ------------------
  |  Branch (1222:13): [True: 0, False: 2]
  ------------------
 1223|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      0|            return 0;
 1225|      0|        }
 1226|      2|    }
 1227|      2|    {
 1228|      2|        PyObject *type = state->keyword_type;
 1229|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1230|      2|        cond = type != NULL;
 1231|      2|        if (!cond) {
  ------------------
  |  Branch (1231:13): [True: 0, False: 2]
  ------------------
 1232|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|      0|            return 0;
 1234|      0|        }
 1235|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "keywords", type) ==
 1236|      2|                                    0;
 1237|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|      2|        if (!cond) {
  ------------------
  |  Branch (1238:13): [True: 0, False: 2]
  ------------------
 1239|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|      0|            return 0;
 1241|      0|        }
 1242|      2|    }
 1243|      2|    {
 1244|      2|        PyObject *type = state->stmt_type;
 1245|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1246|      2|        cond = type != NULL;
 1247|      2|        if (!cond) {
  ------------------
  |  Branch (1247:13): [True: 0, False: 2]
  ------------------
 1248|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|      0|            return 0;
 1250|      0|        }
 1251|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "body", type) == 0;
 1252|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1253|      2|        if (!cond) {
  ------------------
  |  Branch (1253:13): [True: 0, False: 2]
  ------------------
 1254|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1255|      0|            return 0;
 1256|      0|        }
 1257|      2|    }
 1258|      2|    {
 1259|      2|        PyObject *type = state->expr_type;
 1260|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1261|      2|        cond = type != NULL;
 1262|      2|        if (!cond) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 2]
  ------------------
 1263|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|      0|            return 0;
 1265|      0|        }
 1266|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "decorator_list",
 1267|      2|                                    type) == 0;
 1268|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|      2|        if (!cond) {
  ------------------
  |  Branch (1269:13): [True: 0, False: 2]
  ------------------
 1270|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|      0|            return 0;
 1272|      0|        }
 1273|      2|    }
 1274|      2|    {
 1275|      2|        PyObject *type = state->type_param_type;
 1276|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1277|      2|        cond = type != NULL;
 1278|      2|        if (!cond) {
  ------------------
  |  Branch (1278:13): [True: 0, False: 2]
  ------------------
 1279|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|            return 0;
 1281|      0|        }
 1282|      2|        cond = PyDict_SetItemString(ClassDef_annotations, "type_params", type)
 1283|      2|                                    == 0;
 1284|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1285|      2|        if (!cond) {
  ------------------
  |  Branch (1285:13): [True: 0, False: 2]
  ------------------
 1286|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|      0|            return 0;
 1288|      0|        }
 1289|      2|    }
 1290|      2|    cond = PyObject_SetAttrString(state->ClassDef_type, "_field_types",
 1291|      2|                                  ClassDef_annotations) == 0;
 1292|      2|    if (!cond) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 2]
  ------------------
 1293|      0|        Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|      0|        return 0;
 1295|      0|    }
 1296|      2|    cond = PyObject_SetAttrString(state->ClassDef_type, "__annotations__",
 1297|      2|                                  ClassDef_annotations) == 0;
 1298|      2|    if (!cond) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 2]
  ------------------
 1299|      0|        Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|      0|        return 0;
 1301|      0|    }
 1302|      2|    Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|      2|    PyObject *Return_annotations = PyDict_New();
 1304|      2|    if (!Return_annotations) return 0;
  ------------------
  |  Branch (1304:9): [True: 0, False: 2]
  ------------------
 1305|      2|    {
 1306|      2|        PyObject *type = state->expr_type;
 1307|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1308|      2|        cond = type != NULL;
 1309|      2|        if (!cond) {
  ------------------
  |  Branch (1309:13): [True: 0, False: 2]
  ------------------
 1310|      0|            Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      0|            return 0;
 1312|      0|        }
 1313|      2|        cond = PyDict_SetItemString(Return_annotations, "value", type) == 0;
 1314|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      2|        if (!cond) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 2]
  ------------------
 1316|      0|            Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|      0|            return 0;
 1318|      0|        }
 1319|      2|    }
 1320|      2|    cond = PyObject_SetAttrString(state->Return_type, "_field_types",
 1321|      2|                                  Return_annotations) == 0;
 1322|      2|    if (!cond) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 2]
  ------------------
 1323|      0|        Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      0|        return 0;
 1325|      0|    }
 1326|      2|    cond = PyObject_SetAttrString(state->Return_type, "__annotations__",
 1327|      2|                                  Return_annotations) == 0;
 1328|      2|    if (!cond) {
  ------------------
  |  Branch (1328:9): [True: 0, False: 2]
  ------------------
 1329|      0|        Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|      0|        return 0;
 1331|      0|    }
 1332|      2|    Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|      2|    PyObject *Delete_annotations = PyDict_New();
 1334|      2|    if (!Delete_annotations) return 0;
  ------------------
  |  Branch (1334:9): [True: 0, False: 2]
  ------------------
 1335|      2|    {
 1336|      2|        PyObject *type = state->expr_type;
 1337|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1338|      2|        cond = type != NULL;
 1339|      2|        if (!cond) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 2]
  ------------------
 1340|      0|            Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|      0|            return 0;
 1342|      0|        }
 1343|      2|        cond = PyDict_SetItemString(Delete_annotations, "targets", type) == 0;
 1344|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1345|      2|        if (!cond) {
  ------------------
  |  Branch (1345:13): [True: 0, False: 2]
  ------------------
 1346|      0|            Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|            return 0;
 1348|      0|        }
 1349|      2|    }
 1350|      2|    cond = PyObject_SetAttrString(state->Delete_type, "_field_types",
 1351|      2|                                  Delete_annotations) == 0;
 1352|      2|    if (!cond) {
  ------------------
  |  Branch (1352:9): [True: 0, False: 2]
  ------------------
 1353|      0|        Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|      0|        return 0;
 1355|      0|    }
 1356|      2|    cond = PyObject_SetAttrString(state->Delete_type, "__annotations__",
 1357|      2|                                  Delete_annotations) == 0;
 1358|      2|    if (!cond) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 2]
  ------------------
 1359|      0|        Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|      0|        return 0;
 1361|      0|    }
 1362|      2|    Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|      2|    PyObject *Assign_annotations = PyDict_New();
 1364|      2|    if (!Assign_annotations) return 0;
  ------------------
  |  Branch (1364:9): [True: 0, False: 2]
  ------------------
 1365|      2|    {
 1366|      2|        PyObject *type = state->expr_type;
 1367|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1368|      2|        cond = type != NULL;
 1369|      2|        if (!cond) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 2]
  ------------------
 1370|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|            return 0;
 1372|      0|        }
 1373|      2|        cond = PyDict_SetItemString(Assign_annotations, "targets", type) == 0;
 1374|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      2|        if (!cond) {
  ------------------
  |  Branch (1375:13): [True: 0, False: 2]
  ------------------
 1376|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1377|      0|            return 0;
 1378|      0|        }
 1379|      2|    }
 1380|      2|    {
 1381|      2|        PyObject *type = state->expr_type;
 1382|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|      2|        cond = PyDict_SetItemString(Assign_annotations, "value", type) == 0;
 1384|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1385|      2|        if (!cond) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 2]
  ------------------
 1386|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1387|      0|            return 0;
 1388|      0|        }
 1389|      2|    }
 1390|      2|    {
 1391|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1392|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1393|      2|        cond = type != NULL;
 1394|      2|        if (!cond) {
  ------------------
  |  Branch (1394:13): [True: 0, False: 2]
  ------------------
 1395|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|      0|            return 0;
 1397|      0|        }
 1398|      2|        cond = PyDict_SetItemString(Assign_annotations, "type_comment", type)
 1399|      2|                                    == 0;
 1400|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|      2|        if (!cond) {
  ------------------
  |  Branch (1401:13): [True: 0, False: 2]
  ------------------
 1402|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      0|            return 0;
 1404|      0|        }
 1405|      2|    }
 1406|      2|    cond = PyObject_SetAttrString(state->Assign_type, "_field_types",
 1407|      2|                                  Assign_annotations) == 0;
 1408|      2|    if (!cond) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 2]
  ------------------
 1409|      0|        Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      0|        return 0;
 1411|      0|    }
 1412|      2|    cond = PyObject_SetAttrString(state->Assign_type, "__annotations__",
 1413|      2|                                  Assign_annotations) == 0;
 1414|      2|    if (!cond) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 2]
  ------------------
 1415|      0|        Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1416|      0|        return 0;
 1417|      0|    }
 1418|      2|    Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      2|    PyObject *TypeAlias_annotations = PyDict_New();
 1420|      2|    if (!TypeAlias_annotations) return 0;
  ------------------
  |  Branch (1420:9): [True: 0, False: 2]
  ------------------
 1421|      2|    {
 1422|      2|        PyObject *type = state->expr_type;
 1423|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      2|        cond = PyDict_SetItemString(TypeAlias_annotations, "name", type) == 0;
 1425|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|      2|        if (!cond) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 2]
  ------------------
 1427|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      0|            return 0;
 1429|      0|        }
 1430|      2|    }
 1431|      2|    {
 1432|      2|        PyObject *type = state->type_param_type;
 1433|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1434|      2|        cond = type != NULL;
 1435|      2|        if (!cond) {
  ------------------
  |  Branch (1435:13): [True: 0, False: 2]
  ------------------
 1436|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|            return 0;
 1438|      0|        }
 1439|      2|        cond = PyDict_SetItemString(TypeAlias_annotations, "type_params", type)
 1440|      2|                                    == 0;
 1441|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|      2|        if (!cond) {
  ------------------
  |  Branch (1442:13): [True: 0, False: 2]
  ------------------
 1443|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1444|      0|            return 0;
 1445|      0|        }
 1446|      2|    }
 1447|      2|    {
 1448|      2|        PyObject *type = state->expr_type;
 1449|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1450|      2|        cond = PyDict_SetItemString(TypeAlias_annotations, "value", type) == 0;
 1451|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      2|        if (!cond) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 2]
  ------------------
 1453|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      0|            return 0;
 1455|      0|        }
 1456|      2|    }
 1457|      2|    cond = PyObject_SetAttrString(state->TypeAlias_type, "_field_types",
 1458|      2|                                  TypeAlias_annotations) == 0;
 1459|      2|    if (!cond) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 2]
  ------------------
 1460|      0|        Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1461|      0|        return 0;
 1462|      0|    }
 1463|      2|    cond = PyObject_SetAttrString(state->TypeAlias_type, "__annotations__",
 1464|      2|                                  TypeAlias_annotations) == 0;
 1465|      2|    if (!cond) {
  ------------------
  |  Branch (1465:9): [True: 0, False: 2]
  ------------------
 1466|      0|        Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1467|      0|        return 0;
 1468|      0|    }
 1469|      2|    Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|      2|    PyObject *AugAssign_annotations = PyDict_New();
 1471|      2|    if (!AugAssign_annotations) return 0;
  ------------------
  |  Branch (1471:9): [True: 0, False: 2]
  ------------------
 1472|      2|    {
 1473|      2|        PyObject *type = state->expr_type;
 1474|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      2|        cond = PyDict_SetItemString(AugAssign_annotations, "target", type) == 0;
 1476|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      2|        if (!cond) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 2]
  ------------------
 1478|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|      0|            return 0;
 1480|      0|        }
 1481|      2|    }
 1482|      2|    {
 1483|      2|        PyObject *type = state->operator_type;
 1484|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1485|      2|        cond = PyDict_SetItemString(AugAssign_annotations, "op", type) == 0;
 1486|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1487|      2|        if (!cond) {
  ------------------
  |  Branch (1487:13): [True: 0, False: 2]
  ------------------
 1488|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|      0|            return 0;
 1490|      0|        }
 1491|      2|    }
 1492|      2|    {
 1493|      2|        PyObject *type = state->expr_type;
 1494|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|      2|        cond = PyDict_SetItemString(AugAssign_annotations, "value", type) == 0;
 1496|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|      2|        if (!cond) {
  ------------------
  |  Branch (1497:13): [True: 0, False: 2]
  ------------------
 1498|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      0|            return 0;
 1500|      0|        }
 1501|      2|    }
 1502|      2|    cond = PyObject_SetAttrString(state->AugAssign_type, "_field_types",
 1503|      2|                                  AugAssign_annotations) == 0;
 1504|      2|    if (!cond) {
  ------------------
  |  Branch (1504:9): [True: 0, False: 2]
  ------------------
 1505|      0|        Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      0|        return 0;
 1507|      0|    }
 1508|      2|    cond = PyObject_SetAttrString(state->AugAssign_type, "__annotations__",
 1509|      2|                                  AugAssign_annotations) == 0;
 1510|      2|    if (!cond) {
  ------------------
  |  Branch (1510:9): [True: 0, False: 2]
  ------------------
 1511|      0|        Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1512|      0|        return 0;
 1513|      0|    }
 1514|      2|    Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|      2|    PyObject *AnnAssign_annotations = PyDict_New();
 1516|      2|    if (!AnnAssign_annotations) return 0;
  ------------------
  |  Branch (1516:9): [True: 0, False: 2]
  ------------------
 1517|      2|    {
 1518|      2|        PyObject *type = state->expr_type;
 1519|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1520|      2|        cond = PyDict_SetItemString(AnnAssign_annotations, "target", type) == 0;
 1521|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      2|        if (!cond) {
  ------------------
  |  Branch (1522:13): [True: 0, False: 2]
  ------------------
 1523|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|      0|            return 0;
 1525|      0|        }
 1526|      2|    }
 1527|      2|    {
 1528|      2|        PyObject *type = state->expr_type;
 1529|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|      2|        cond = PyDict_SetItemString(AnnAssign_annotations, "annotation", type)
 1531|      2|                                    == 0;
 1532|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|      2|        if (!cond) {
  ------------------
  |  Branch (1533:13): [True: 0, False: 2]
  ------------------
 1534|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|      0|            return 0;
 1536|      0|        }
 1537|      2|    }
 1538|      2|    {
 1539|      2|        PyObject *type = state->expr_type;
 1540|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1541|      2|        cond = type != NULL;
 1542|      2|        if (!cond) {
  ------------------
  |  Branch (1542:13): [True: 0, False: 2]
  ------------------
 1543|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      0|            return 0;
 1545|      0|        }
 1546|      2|        cond = PyDict_SetItemString(AnnAssign_annotations, "value", type) == 0;
 1547|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      2|        if (!cond) {
  ------------------
  |  Branch (1548:13): [True: 0, False: 2]
  ------------------
 1549|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      0|            return 0;
 1551|      0|        }
 1552|      2|    }
 1553|      2|    {
 1554|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 1555|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      2|        cond = PyDict_SetItemString(AnnAssign_annotations, "simple", type) == 0;
 1557|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      2|        if (!cond) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 2]
  ------------------
 1559|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|      0|            return 0;
 1561|      0|        }
 1562|      2|    }
 1563|      2|    cond = PyObject_SetAttrString(state->AnnAssign_type, "_field_types",
 1564|      2|                                  AnnAssign_annotations) == 0;
 1565|      2|    if (!cond) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 2]
  ------------------
 1566|      0|        Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|        return 0;
 1568|      0|    }
 1569|      2|    cond = PyObject_SetAttrString(state->AnnAssign_type, "__annotations__",
 1570|      2|                                  AnnAssign_annotations) == 0;
 1571|      2|    if (!cond) {
  ------------------
  |  Branch (1571:9): [True: 0, False: 2]
  ------------------
 1572|      0|        Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        return 0;
 1574|      0|    }
 1575|      2|    Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      2|    PyObject *For_annotations = PyDict_New();
 1577|      2|    if (!For_annotations) return 0;
  ------------------
  |  Branch (1577:9): [True: 0, False: 2]
  ------------------
 1578|      2|    {
 1579|      2|        PyObject *type = state->expr_type;
 1580|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|      2|        cond = PyDict_SetItemString(For_annotations, "target", type) == 0;
 1582|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|      2|        if (!cond) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 2]
  ------------------
 1584|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      0|            return 0;
 1586|      0|        }
 1587|      2|    }
 1588|      2|    {
 1589|      2|        PyObject *type = state->expr_type;
 1590|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      2|        cond = PyDict_SetItemString(For_annotations, "iter", type) == 0;
 1592|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      2|        if (!cond) {
  ------------------
  |  Branch (1593:13): [True: 0, False: 2]
  ------------------
 1594|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|            return 0;
 1596|      0|        }
 1597|      2|    }
 1598|      2|    {
 1599|      2|        PyObject *type = state->stmt_type;
 1600|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1601|      2|        cond = type != NULL;
 1602|      2|        if (!cond) {
  ------------------
  |  Branch (1602:13): [True: 0, False: 2]
  ------------------
 1603|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|      0|            return 0;
 1605|      0|        }
 1606|      2|        cond = PyDict_SetItemString(For_annotations, "body", type) == 0;
 1607|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      2|        if (!cond) {
  ------------------
  |  Branch (1608:13): [True: 0, False: 2]
  ------------------
 1609|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      0|            return 0;
 1611|      0|        }
 1612|      2|    }
 1613|      2|    {
 1614|      2|        PyObject *type = state->stmt_type;
 1615|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1616|      2|        cond = type != NULL;
 1617|      2|        if (!cond) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 2]
  ------------------
 1618|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1619|      0|            return 0;
 1620|      0|        }
 1621|      2|        cond = PyDict_SetItemString(For_annotations, "orelse", type) == 0;
 1622|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|      2|        if (!cond) {
  ------------------
  |  Branch (1623:13): [True: 0, False: 2]
  ------------------
 1624|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|      0|            return 0;
 1626|      0|        }
 1627|      2|    }
 1628|      2|    {
 1629|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1630|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1631|      2|        cond = type != NULL;
 1632|      2|        if (!cond) {
  ------------------
  |  Branch (1632:13): [True: 0, False: 2]
  ------------------
 1633|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|      0|            return 0;
 1635|      0|        }
 1636|      2|        cond = PyDict_SetItemString(For_annotations, "type_comment", type) == 0;
 1637|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1638|      2|        if (!cond) {
  ------------------
  |  Branch (1638:13): [True: 0, False: 2]
  ------------------
 1639|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|      0|            return 0;
 1641|      0|        }
 1642|      2|    }
 1643|      2|    cond = PyObject_SetAttrString(state->For_type, "_field_types",
 1644|      2|                                  For_annotations) == 0;
 1645|      2|    if (!cond) {
  ------------------
  |  Branch (1645:9): [True: 0, False: 2]
  ------------------
 1646|      0|        Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|      0|        return 0;
 1648|      0|    }
 1649|      2|    cond = PyObject_SetAttrString(state->For_type, "__annotations__",
 1650|      2|                                  For_annotations) == 0;
 1651|      2|    if (!cond) {
  ------------------
  |  Branch (1651:9): [True: 0, False: 2]
  ------------------
 1652|      0|        Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|      0|        return 0;
 1654|      0|    }
 1655|      2|    Py_DECREF(For_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      2|    PyObject *AsyncFor_annotations = PyDict_New();
 1657|      2|    if (!AsyncFor_annotations) return 0;
  ------------------
  |  Branch (1657:9): [True: 0, False: 2]
  ------------------
 1658|      2|    {
 1659|      2|        PyObject *type = state->expr_type;
 1660|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      2|        cond = PyDict_SetItemString(AsyncFor_annotations, "target", type) == 0;
 1662|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      2|        if (!cond) {
  ------------------
  |  Branch (1663:13): [True: 0, False: 2]
  ------------------
 1664|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|      0|            return 0;
 1666|      0|        }
 1667|      2|    }
 1668|      2|    {
 1669|      2|        PyObject *type = state->expr_type;
 1670|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1671|      2|        cond = PyDict_SetItemString(AsyncFor_annotations, "iter", type) == 0;
 1672|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1673|      2|        if (!cond) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 2]
  ------------------
 1674|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1675|      0|            return 0;
 1676|      0|        }
 1677|      2|    }
 1678|      2|    {
 1679|      2|        PyObject *type = state->stmt_type;
 1680|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1681|      2|        cond = type != NULL;
 1682|      2|        if (!cond) {
  ------------------
  |  Branch (1682:13): [True: 0, False: 2]
  ------------------
 1683|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|            return 0;
 1685|      0|        }
 1686|      2|        cond = PyDict_SetItemString(AsyncFor_annotations, "body", type) == 0;
 1687|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      2|        if (!cond) {
  ------------------
  |  Branch (1688:13): [True: 0, False: 2]
  ------------------
 1689|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|      0|            return 0;
 1691|      0|        }
 1692|      2|    }
 1693|      2|    {
 1694|      2|        PyObject *type = state->stmt_type;
 1695|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1696|      2|        cond = type != NULL;
 1697|      2|        if (!cond) {
  ------------------
  |  Branch (1697:13): [True: 0, False: 2]
  ------------------
 1698|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|      0|            return 0;
 1700|      0|        }
 1701|      2|        cond = PyDict_SetItemString(AsyncFor_annotations, "orelse", type) == 0;
 1702|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|      2|        if (!cond) {
  ------------------
  |  Branch (1703:13): [True: 0, False: 2]
  ------------------
 1704|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|      0|            return 0;
 1706|      0|        }
 1707|      2|    }
 1708|      2|    {
 1709|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1710|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1711|      2|        cond = type != NULL;
 1712|      2|        if (!cond) {
  ------------------
  |  Branch (1712:13): [True: 0, False: 2]
  ------------------
 1713|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1714|      0|            return 0;
 1715|      0|        }
 1716|      2|        cond = PyDict_SetItemString(AsyncFor_annotations, "type_comment", type)
 1717|      2|                                    == 0;
 1718|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|      2|        if (!cond) {
  ------------------
  |  Branch (1719:13): [True: 0, False: 2]
  ------------------
 1720|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1721|      0|            return 0;
 1722|      0|        }
 1723|      2|    }
 1724|      2|    cond = PyObject_SetAttrString(state->AsyncFor_type, "_field_types",
 1725|      2|                                  AsyncFor_annotations) == 0;
 1726|      2|    if (!cond) {
  ------------------
  |  Branch (1726:9): [True: 0, False: 2]
  ------------------
 1727|      0|        Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|      0|        return 0;
 1729|      0|    }
 1730|      2|    cond = PyObject_SetAttrString(state->AsyncFor_type, "__annotations__",
 1731|      2|                                  AsyncFor_annotations) == 0;
 1732|      2|    if (!cond) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 2]
  ------------------
 1733|      0|        Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|        return 0;
 1735|      0|    }
 1736|      2|    Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1737|      2|    PyObject *While_annotations = PyDict_New();
 1738|      2|    if (!While_annotations) return 0;
  ------------------
  |  Branch (1738:9): [True: 0, False: 2]
  ------------------
 1739|      2|    {
 1740|      2|        PyObject *type = state->expr_type;
 1741|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|      2|        cond = PyDict_SetItemString(While_annotations, "test", type) == 0;
 1743|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|      2|        if (!cond) {
  ------------------
  |  Branch (1744:13): [True: 0, False: 2]
  ------------------
 1745|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|      0|            return 0;
 1747|      0|        }
 1748|      2|    }
 1749|      2|    {
 1750|      2|        PyObject *type = state->stmt_type;
 1751|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1752|      2|        cond = type != NULL;
 1753|      2|        if (!cond) {
  ------------------
  |  Branch (1753:13): [True: 0, False: 2]
  ------------------
 1754|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      0|            return 0;
 1756|      0|        }
 1757|      2|        cond = PyDict_SetItemString(While_annotations, "body", type) == 0;
 1758|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1759|      2|        if (!cond) {
  ------------------
  |  Branch (1759:13): [True: 0, False: 2]
  ------------------
 1760|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      0|            return 0;
 1762|      0|        }
 1763|      2|    }
 1764|      2|    {
 1765|      2|        PyObject *type = state->stmt_type;
 1766|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1767|      2|        cond = type != NULL;
 1768|      2|        if (!cond) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 2]
  ------------------
 1769|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1770|      0|            return 0;
 1771|      0|        }
 1772|      2|        cond = PyDict_SetItemString(While_annotations, "orelse", type) == 0;
 1773|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|      2|        if (!cond) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 2]
  ------------------
 1775|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      0|            return 0;
 1777|      0|        }
 1778|      2|    }
 1779|      2|    cond = PyObject_SetAttrString(state->While_type, "_field_types",
 1780|      2|                                  While_annotations) == 0;
 1781|      2|    if (!cond) {
  ------------------
  |  Branch (1781:9): [True: 0, False: 2]
  ------------------
 1782|      0|        Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|      0|        return 0;
 1784|      0|    }
 1785|      2|    cond = PyObject_SetAttrString(state->While_type, "__annotations__",
 1786|      2|                                  While_annotations) == 0;
 1787|      2|    if (!cond) {
  ------------------
  |  Branch (1787:9): [True: 0, False: 2]
  ------------------
 1788|      0|        Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1789|      0|        return 0;
 1790|      0|    }
 1791|      2|    Py_DECREF(While_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      2|    PyObject *If_annotations = PyDict_New();
 1793|      2|    if (!If_annotations) return 0;
  ------------------
  |  Branch (1793:9): [True: 0, False: 2]
  ------------------
 1794|      2|    {
 1795|      2|        PyObject *type = state->expr_type;
 1796|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1797|      2|        cond = PyDict_SetItemString(If_annotations, "test", type) == 0;
 1798|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|      2|        if (!cond) {
  ------------------
  |  Branch (1799:13): [True: 0, False: 2]
  ------------------
 1800|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1801|      0|            return 0;
 1802|      0|        }
 1803|      2|    }
 1804|      2|    {
 1805|      2|        PyObject *type = state->stmt_type;
 1806|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1807|      2|        cond = type != NULL;
 1808|      2|        if (!cond) {
  ------------------
  |  Branch (1808:13): [True: 0, False: 2]
  ------------------
 1809|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|      0|            return 0;
 1811|      0|        }
 1812|      2|        cond = PyDict_SetItemString(If_annotations, "body", type) == 0;
 1813|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1814|      2|        if (!cond) {
  ------------------
  |  Branch (1814:13): [True: 0, False: 2]
  ------------------
 1815|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|      0|            return 0;
 1817|      0|        }
 1818|      2|    }
 1819|      2|    {
 1820|      2|        PyObject *type = state->stmt_type;
 1821|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1822|      2|        cond = type != NULL;
 1823|      2|        if (!cond) {
  ------------------
  |  Branch (1823:13): [True: 0, False: 2]
  ------------------
 1824|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1825|      0|            return 0;
 1826|      0|        }
 1827|      2|        cond = PyDict_SetItemString(If_annotations, "orelse", type) == 0;
 1828|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|      2|        if (!cond) {
  ------------------
  |  Branch (1829:13): [True: 0, False: 2]
  ------------------
 1830|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|      0|            return 0;
 1832|      0|        }
 1833|      2|    }
 1834|      2|    cond = PyObject_SetAttrString(state->If_type, "_field_types",
 1835|      2|                                  If_annotations) == 0;
 1836|      2|    if (!cond) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 2]
  ------------------
 1837|      0|        Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      0|        return 0;
 1839|      0|    }
 1840|      2|    cond = PyObject_SetAttrString(state->If_type, "__annotations__",
 1841|      2|                                  If_annotations) == 0;
 1842|      2|    if (!cond) {
  ------------------
  |  Branch (1842:9): [True: 0, False: 2]
  ------------------
 1843|      0|        Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|        return 0;
 1845|      0|    }
 1846|      2|    Py_DECREF(If_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      2|    PyObject *With_annotations = PyDict_New();
 1848|      2|    if (!With_annotations) return 0;
  ------------------
  |  Branch (1848:9): [True: 0, False: 2]
  ------------------
 1849|      2|    {
 1850|      2|        PyObject *type = state->withitem_type;
 1851|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1852|      2|        cond = type != NULL;
 1853|      2|        if (!cond) {
  ------------------
  |  Branch (1853:13): [True: 0, False: 2]
  ------------------
 1854|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      0|            return 0;
 1856|      0|        }
 1857|      2|        cond = PyDict_SetItemString(With_annotations, "items", type) == 0;
 1858|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1859|      2|        if (!cond) {
  ------------------
  |  Branch (1859:13): [True: 0, False: 2]
  ------------------
 1860|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|      0|            return 0;
 1862|      0|        }
 1863|      2|    }
 1864|      2|    {
 1865|      2|        PyObject *type = state->stmt_type;
 1866|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1867|      2|        cond = type != NULL;
 1868|      2|        if (!cond) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 2]
  ------------------
 1869|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1870|      0|            return 0;
 1871|      0|        }
 1872|      2|        cond = PyDict_SetItemString(With_annotations, "body", type) == 0;
 1873|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1874|      2|        if (!cond) {
  ------------------
  |  Branch (1874:13): [True: 0, False: 2]
  ------------------
 1875|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1876|      0|            return 0;
 1877|      0|        }
 1878|      2|    }
 1879|      2|    {
 1880|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1881|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1882|      2|        cond = type != NULL;
 1883|      2|        if (!cond) {
  ------------------
  |  Branch (1883:13): [True: 0, False: 2]
  ------------------
 1884|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1885|      0|            return 0;
 1886|      0|        }
 1887|      2|        cond = PyDict_SetItemString(With_annotations, "type_comment", type) ==
 1888|      2|                                    0;
 1889|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1890|      2|        if (!cond) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 2]
  ------------------
 1891|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|      0|            return 0;
 1893|      0|        }
 1894|      2|    }
 1895|      2|    cond = PyObject_SetAttrString(state->With_type, "_field_types",
 1896|      2|                                  With_annotations) == 0;
 1897|      2|    if (!cond) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 2]
  ------------------
 1898|      0|        Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|      0|        return 0;
 1900|      0|    }
 1901|      2|    cond = PyObject_SetAttrString(state->With_type, "__annotations__",
 1902|      2|                                  With_annotations) == 0;
 1903|      2|    if (!cond) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 2]
  ------------------
 1904|      0|        Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|      0|        return 0;
 1906|      0|    }
 1907|      2|    Py_DECREF(With_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|      2|    PyObject *AsyncWith_annotations = PyDict_New();
 1909|      2|    if (!AsyncWith_annotations) return 0;
  ------------------
  |  Branch (1909:9): [True: 0, False: 2]
  ------------------
 1910|      2|    {
 1911|      2|        PyObject *type = state->withitem_type;
 1912|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1913|      2|        cond = type != NULL;
 1914|      2|        if (!cond) {
  ------------------
  |  Branch (1914:13): [True: 0, False: 2]
  ------------------
 1915|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|      0|            return 0;
 1917|      0|        }
 1918|      2|        cond = PyDict_SetItemString(AsyncWith_annotations, "items", type) == 0;
 1919|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1920|      2|        if (!cond) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 2]
  ------------------
 1921|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|      0|            return 0;
 1923|      0|        }
 1924|      2|    }
 1925|      2|    {
 1926|      2|        PyObject *type = state->stmt_type;
 1927|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1928|      2|        cond = type != NULL;
 1929|      2|        if (!cond) {
  ------------------
  |  Branch (1929:13): [True: 0, False: 2]
  ------------------
 1930|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|      0|            return 0;
 1932|      0|        }
 1933|      2|        cond = PyDict_SetItemString(AsyncWith_annotations, "body", type) == 0;
 1934|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      2|        if (!cond) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 2]
  ------------------
 1936|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|      0|            return 0;
 1938|      0|        }
 1939|      2|    }
 1940|      2|    {
 1941|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1942|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1943|      2|        cond = type != NULL;
 1944|      2|        if (!cond) {
  ------------------
  |  Branch (1944:13): [True: 0, False: 2]
  ------------------
 1945|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1946|      0|            return 0;
 1947|      0|        }
 1948|      2|        cond = PyDict_SetItemString(AsyncWith_annotations, "type_comment",
 1949|      2|                                    type) == 0;
 1950|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|      2|        if (!cond) {
  ------------------
  |  Branch (1951:13): [True: 0, False: 2]
  ------------------
 1952|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1953|      0|            return 0;
 1954|      0|        }
 1955|      2|    }
 1956|      2|    cond = PyObject_SetAttrString(state->AsyncWith_type, "_field_types",
 1957|      2|                                  AsyncWith_annotations) == 0;
 1958|      2|    if (!cond) {
  ------------------
  |  Branch (1958:9): [True: 0, False: 2]
  ------------------
 1959|      0|        Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|      0|        return 0;
 1961|      0|    }
 1962|      2|    cond = PyObject_SetAttrString(state->AsyncWith_type, "__annotations__",
 1963|      2|                                  AsyncWith_annotations) == 0;
 1964|      2|    if (!cond) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 2]
  ------------------
 1965|      0|        Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      0|        return 0;
 1967|      0|    }
 1968|      2|    Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      2|    PyObject *Match_annotations = PyDict_New();
 1970|      2|    if (!Match_annotations) return 0;
  ------------------
  |  Branch (1970:9): [True: 0, False: 2]
  ------------------
 1971|      2|    {
 1972|      2|        PyObject *type = state->expr_type;
 1973|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|      2|        cond = PyDict_SetItemString(Match_annotations, "subject", type) == 0;
 1975|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1976|      2|        if (!cond) {
  ------------------
  |  Branch (1976:13): [True: 0, False: 2]
  ------------------
 1977|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1978|      0|            return 0;
 1979|      0|        }
 1980|      2|    }
 1981|      2|    {
 1982|      2|        PyObject *type = state->match_case_type;
 1983|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1984|      2|        cond = type != NULL;
 1985|      2|        if (!cond) {
  ------------------
  |  Branch (1985:13): [True: 0, False: 2]
  ------------------
 1986|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1987|      0|            return 0;
 1988|      0|        }
 1989|      2|        cond = PyDict_SetItemString(Match_annotations, "cases", type) == 0;
 1990|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1991|      2|        if (!cond) {
  ------------------
  |  Branch (1991:13): [True: 0, False: 2]
  ------------------
 1992|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1993|      0|            return 0;
 1994|      0|        }
 1995|      2|    }
 1996|      2|    cond = PyObject_SetAttrString(state->Match_type, "_field_types",
 1997|      2|                                  Match_annotations) == 0;
 1998|      2|    if (!cond) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 2]
  ------------------
 1999|      0|        Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      0|        return 0;
 2001|      0|    }
 2002|      2|    cond = PyObject_SetAttrString(state->Match_type, "__annotations__",
 2003|      2|                                  Match_annotations) == 0;
 2004|      2|    if (!cond) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 2]
  ------------------
 2005|      0|        Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|        return 0;
 2007|      0|    }
 2008|      2|    Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|      2|    PyObject *Raise_annotations = PyDict_New();
 2010|      2|    if (!Raise_annotations) return 0;
  ------------------
  |  Branch (2010:9): [True: 0, False: 2]
  ------------------
 2011|      2|    {
 2012|      2|        PyObject *type = state->expr_type;
 2013|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2014|      2|        cond = type != NULL;
 2015|      2|        if (!cond) {
  ------------------
  |  Branch (2015:13): [True: 0, False: 2]
  ------------------
 2016|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|      0|            return 0;
 2018|      0|        }
 2019|      2|        cond = PyDict_SetItemString(Raise_annotations, "exc", type) == 0;
 2020|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|      2|        if (!cond) {
  ------------------
  |  Branch (2021:13): [True: 0, False: 2]
  ------------------
 2022|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|      0|            return 0;
 2024|      0|        }
 2025|      2|    }
 2026|      2|    {
 2027|      2|        PyObject *type = state->expr_type;
 2028|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2029|      2|        cond = type != NULL;
 2030|      2|        if (!cond) {
  ------------------
  |  Branch (2030:13): [True: 0, False: 2]
  ------------------
 2031|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|      0|            return 0;
 2033|      0|        }
 2034|      2|        cond = PyDict_SetItemString(Raise_annotations, "cause", type) == 0;
 2035|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|      2|        if (!cond) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 2]
  ------------------
 2037|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|      0|            return 0;
 2039|      0|        }
 2040|      2|    }
 2041|      2|    cond = PyObject_SetAttrString(state->Raise_type, "_field_types",
 2042|      2|                                  Raise_annotations) == 0;
 2043|      2|    if (!cond) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 2]
  ------------------
 2044|      0|        Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|      0|        return 0;
 2046|      0|    }
 2047|      2|    cond = PyObject_SetAttrString(state->Raise_type, "__annotations__",
 2048|      2|                                  Raise_annotations) == 0;
 2049|      2|    if (!cond) {
  ------------------
  |  Branch (2049:9): [True: 0, False: 2]
  ------------------
 2050|      0|        Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      0|        return 0;
 2052|      0|    }
 2053|      2|    Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2054|      2|    PyObject *Try_annotations = PyDict_New();
 2055|      2|    if (!Try_annotations) return 0;
  ------------------
  |  Branch (2055:9): [True: 0, False: 2]
  ------------------
 2056|      2|    {
 2057|      2|        PyObject *type = state->stmt_type;
 2058|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2059|      2|        cond = type != NULL;
 2060|      2|        if (!cond) {
  ------------------
  |  Branch (2060:13): [True: 0, False: 2]
  ------------------
 2061|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2062|      0|            return 0;
 2063|      0|        }
 2064|      2|        cond = PyDict_SetItemString(Try_annotations, "body", type) == 0;
 2065|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|      2|        if (!cond) {
  ------------------
  |  Branch (2066:13): [True: 0, False: 2]
  ------------------
 2067|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|      0|            return 0;
 2069|      0|        }
 2070|      2|    }
 2071|      2|    {
 2072|      2|        PyObject *type = state->excepthandler_type;
 2073|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2074|      2|        cond = type != NULL;
 2075|      2|        if (!cond) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 2]
  ------------------
 2076|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|      0|            return 0;
 2078|      0|        }
 2079|      2|        cond = PyDict_SetItemString(Try_annotations, "handlers", type) == 0;
 2080|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      2|        if (!cond) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 2]
  ------------------
 2082|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|      0|            return 0;
 2084|      0|        }
 2085|      2|    }
 2086|      2|    {
 2087|      2|        PyObject *type = state->stmt_type;
 2088|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2089|      2|        cond = type != NULL;
 2090|      2|        if (!cond) {
  ------------------
  |  Branch (2090:13): [True: 0, False: 2]
  ------------------
 2091|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2092|      0|            return 0;
 2093|      0|        }
 2094|      2|        cond = PyDict_SetItemString(Try_annotations, "orelse", type) == 0;
 2095|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      2|        if (!cond) {
  ------------------
  |  Branch (2096:13): [True: 0, False: 2]
  ------------------
 2097|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|            return 0;
 2099|      0|        }
 2100|      2|    }
 2101|      2|    {
 2102|      2|        PyObject *type = state->stmt_type;
 2103|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2104|      2|        cond = type != NULL;
 2105|      2|        if (!cond) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 2]
  ------------------
 2106|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2107|      0|            return 0;
 2108|      0|        }
 2109|      2|        cond = PyDict_SetItemString(Try_annotations, "finalbody", type) == 0;
 2110|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2111|      2|        if (!cond) {
  ------------------
  |  Branch (2111:13): [True: 0, False: 2]
  ------------------
 2112|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      0|            return 0;
 2114|      0|        }
 2115|      2|    }
 2116|      2|    cond = PyObject_SetAttrString(state->Try_type, "_field_types",
 2117|      2|                                  Try_annotations) == 0;
 2118|      2|    if (!cond) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 2]
  ------------------
 2119|      0|        Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|      0|        return 0;
 2121|      0|    }
 2122|      2|    cond = PyObject_SetAttrString(state->Try_type, "__annotations__",
 2123|      2|                                  Try_annotations) == 0;
 2124|      2|    if (!cond) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 2]
  ------------------
 2125|      0|        Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2126|      0|        return 0;
 2127|      0|    }
 2128|      2|    Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|      2|    PyObject *TryStar_annotations = PyDict_New();
 2130|      2|    if (!TryStar_annotations) return 0;
  ------------------
  |  Branch (2130:9): [True: 0, False: 2]
  ------------------
 2131|      2|    {
 2132|      2|        PyObject *type = state->stmt_type;
 2133|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2134|      2|        cond = type != NULL;
 2135|      2|        if (!cond) {
  ------------------
  |  Branch (2135:13): [True: 0, False: 2]
  ------------------
 2136|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2137|      0|            return 0;
 2138|      0|        }
 2139|      2|        cond = PyDict_SetItemString(TryStar_annotations, "body", type) == 0;
 2140|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|      2|        if (!cond) {
  ------------------
  |  Branch (2141:13): [True: 0, False: 2]
  ------------------
 2142|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|      0|            return 0;
 2144|      0|        }
 2145|      2|    }
 2146|      2|    {
 2147|      2|        PyObject *type = state->excepthandler_type;
 2148|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2149|      2|        cond = type != NULL;
 2150|      2|        if (!cond) {
  ------------------
  |  Branch (2150:13): [True: 0, False: 2]
  ------------------
 2151|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|      0|            return 0;
 2153|      0|        }
 2154|      2|        cond = PyDict_SetItemString(TryStar_annotations, "handlers", type) == 0;
 2155|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|      2|        if (!cond) {
  ------------------
  |  Branch (2156:13): [True: 0, False: 2]
  ------------------
 2157|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|      0|            return 0;
 2159|      0|        }
 2160|      2|    }
 2161|      2|    {
 2162|      2|        PyObject *type = state->stmt_type;
 2163|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2164|      2|        cond = type != NULL;
 2165|      2|        if (!cond) {
  ------------------
  |  Branch (2165:13): [True: 0, False: 2]
  ------------------
 2166|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|      0|            return 0;
 2168|      0|        }
 2169|      2|        cond = PyDict_SetItemString(TryStar_annotations, "orelse", type) == 0;
 2170|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|      2|        if (!cond) {
  ------------------
  |  Branch (2171:13): [True: 0, False: 2]
  ------------------
 2172|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|      0|            return 0;
 2174|      0|        }
 2175|      2|    }
 2176|      2|    {
 2177|      2|        PyObject *type = state->stmt_type;
 2178|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2179|      2|        cond = type != NULL;
 2180|      2|        if (!cond) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 2]
  ------------------
 2181|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2182|      0|            return 0;
 2183|      0|        }
 2184|      2|        cond = PyDict_SetItemString(TryStar_annotations, "finalbody", type) ==
 2185|      2|                                    0;
 2186|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|      2|        if (!cond) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 2]
  ------------------
 2188|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|      0|            return 0;
 2190|      0|        }
 2191|      2|    }
 2192|      2|    cond = PyObject_SetAttrString(state->TryStar_type, "_field_types",
 2193|      2|                                  TryStar_annotations) == 0;
 2194|      2|    if (!cond) {
  ------------------
  |  Branch (2194:9): [True: 0, False: 2]
  ------------------
 2195|      0|        Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2196|      0|        return 0;
 2197|      0|    }
 2198|      2|    cond = PyObject_SetAttrString(state->TryStar_type, "__annotations__",
 2199|      2|                                  TryStar_annotations) == 0;
 2200|      2|    if (!cond) {
  ------------------
  |  Branch (2200:9): [True: 0, False: 2]
  ------------------
 2201|      0|        Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|      0|        return 0;
 2203|      0|    }
 2204|      2|    Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|      2|    PyObject *Assert_annotations = PyDict_New();
 2206|      2|    if (!Assert_annotations) return 0;
  ------------------
  |  Branch (2206:9): [True: 0, False: 2]
  ------------------
 2207|      2|    {
 2208|      2|        PyObject *type = state->expr_type;
 2209|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|      2|        cond = PyDict_SetItemString(Assert_annotations, "test", type) == 0;
 2211|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|      2|        if (!cond) {
  ------------------
  |  Branch (2212:13): [True: 0, False: 2]
  ------------------
 2213|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|      0|            return 0;
 2215|      0|        }
 2216|      2|    }
 2217|      2|    {
 2218|      2|        PyObject *type = state->expr_type;
 2219|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2220|      2|        cond = type != NULL;
 2221|      2|        if (!cond) {
  ------------------
  |  Branch (2221:13): [True: 0, False: 2]
  ------------------
 2222|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|            return 0;
 2224|      0|        }
 2225|      2|        cond = PyDict_SetItemString(Assert_annotations, "msg", type) == 0;
 2226|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|      2|        if (!cond) {
  ------------------
  |  Branch (2227:13): [True: 0, False: 2]
  ------------------
 2228|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|      0|            return 0;
 2230|      0|        }
 2231|      2|    }
 2232|      2|    cond = PyObject_SetAttrString(state->Assert_type, "_field_types",
 2233|      2|                                  Assert_annotations) == 0;
 2234|      2|    if (!cond) {
  ------------------
  |  Branch (2234:9): [True: 0, False: 2]
  ------------------
 2235|      0|        Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      0|        return 0;
 2237|      0|    }
 2238|      2|    cond = PyObject_SetAttrString(state->Assert_type, "__annotations__",
 2239|      2|                                  Assert_annotations) == 0;
 2240|      2|    if (!cond) {
  ------------------
  |  Branch (2240:9): [True: 0, False: 2]
  ------------------
 2241|      0|        Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|      0|        return 0;
 2243|      0|    }
 2244|      2|    Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2245|      2|    PyObject *Import_annotations = PyDict_New();
 2246|      2|    if (!Import_annotations) return 0;
  ------------------
  |  Branch (2246:9): [True: 0, False: 2]
  ------------------
 2247|      2|    {
 2248|      2|        PyObject *type = state->alias_type;
 2249|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2250|      2|        cond = type != NULL;
 2251|      2|        if (!cond) {
  ------------------
  |  Branch (2251:13): [True: 0, False: 2]
  ------------------
 2252|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|      0|            return 0;
 2254|      0|        }
 2255|      2|        cond = PyDict_SetItemString(Import_annotations, "names", type) == 0;
 2256|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      2|        if (!cond) {
  ------------------
  |  Branch (2257:13): [True: 0, False: 2]
  ------------------
 2258|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|            return 0;
 2260|      0|        }
 2261|      2|    }
 2262|      2|    {
 2263|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 2264|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2265|      2|        cond = type != NULL;
 2266|      2|        if (!cond) {
  ------------------
  |  Branch (2266:13): [True: 0, False: 2]
  ------------------
 2267|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|      0|            return 0;
 2269|      0|        }
 2270|      2|        cond = PyDict_SetItemString(Import_annotations, "is_lazy", type) == 0;
 2271|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      2|        if (!cond) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 2]
  ------------------
 2273|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|      0|            return 0;
 2275|      0|        }
 2276|      2|    }
 2277|      2|    cond = PyObject_SetAttrString(state->Import_type, "_field_types",
 2278|      2|                                  Import_annotations) == 0;
 2279|      2|    if (!cond) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 2]
  ------------------
 2280|      0|        Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2281|      0|        return 0;
 2282|      0|    }
 2283|      2|    cond = PyObject_SetAttrString(state->Import_type, "__annotations__",
 2284|      2|                                  Import_annotations) == 0;
 2285|      2|    if (!cond) {
  ------------------
  |  Branch (2285:9): [True: 0, False: 2]
  ------------------
 2286|      0|        Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|        return 0;
 2288|      0|    }
 2289|      2|    Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|      2|    PyObject *ImportFrom_annotations = PyDict_New();
 2291|      2|    if (!ImportFrom_annotations) return 0;
  ------------------
  |  Branch (2291:9): [True: 0, False: 2]
  ------------------
 2292|      2|    {
 2293|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2294|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2295|      2|        cond = type != NULL;
 2296|      2|        if (!cond) {
  ------------------
  |  Branch (2296:13): [True: 0, False: 2]
  ------------------
 2297|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2298|      0|            return 0;
 2299|      0|        }
 2300|      2|        cond = PyDict_SetItemString(ImportFrom_annotations, "module", type) ==
 2301|      2|                                    0;
 2302|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      2|        if (!cond) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 2]
  ------------------
 2304|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2305|      0|            return 0;
 2306|      0|        }
 2307|      2|    }
 2308|      2|    {
 2309|      2|        PyObject *type = state->alias_type;
 2310|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2311|      2|        cond = type != NULL;
 2312|      2|        if (!cond) {
  ------------------
  |  Branch (2312:13): [True: 0, False: 2]
  ------------------
 2313|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|      0|            return 0;
 2315|      0|        }
 2316|      2|        cond = PyDict_SetItemString(ImportFrom_annotations, "names", type) == 0;
 2317|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      2|        if (!cond) {
  ------------------
  |  Branch (2318:13): [True: 0, False: 2]
  ------------------
 2319|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      0|            return 0;
 2321|      0|        }
 2322|      2|    }
 2323|      2|    {
 2324|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 2325|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2326|      2|        cond = type != NULL;
 2327|      2|        if (!cond) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 2]
  ------------------
 2328|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2329|      0|            return 0;
 2330|      0|        }
 2331|      2|        cond = PyDict_SetItemString(ImportFrom_annotations, "level", type) == 0;
 2332|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2333|      2|        if (!cond) {
  ------------------
  |  Branch (2333:13): [True: 0, False: 2]
  ------------------
 2334|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|      0|            return 0;
 2336|      0|        }
 2337|      2|    }
 2338|      2|    {
 2339|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 2340|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2341|      2|        cond = type != NULL;
 2342|      2|        if (!cond) {
  ------------------
  |  Branch (2342:13): [True: 0, False: 2]
  ------------------
 2343|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2344|      0|            return 0;
 2345|      0|        }
 2346|      2|        cond = PyDict_SetItemString(ImportFrom_annotations, "is_lazy", type) ==
 2347|      2|                                    0;
 2348|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2349|      2|        if (!cond) {
  ------------------
  |  Branch (2349:13): [True: 0, False: 2]
  ------------------
 2350|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2351|      0|            return 0;
 2352|      0|        }
 2353|      2|    }
 2354|      2|    cond = PyObject_SetAttrString(state->ImportFrom_type, "_field_types",
 2355|      2|                                  ImportFrom_annotations) == 0;
 2356|      2|    if (!cond) {
  ------------------
  |  Branch (2356:9): [True: 0, False: 2]
  ------------------
 2357|      0|        Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      0|        return 0;
 2359|      0|    }
 2360|      2|    cond = PyObject_SetAttrString(state->ImportFrom_type, "__annotations__",
 2361|      2|                                  ImportFrom_annotations) == 0;
 2362|      2|    if (!cond) {
  ------------------
  |  Branch (2362:9): [True: 0, False: 2]
  ------------------
 2363|      0|        Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2364|      0|        return 0;
 2365|      0|    }
 2366|      2|    Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2367|      2|    PyObject *Global_annotations = PyDict_New();
 2368|      2|    if (!Global_annotations) return 0;
  ------------------
  |  Branch (2368:9): [True: 0, False: 2]
  ------------------
 2369|      2|    {
 2370|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2371|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2372|      2|        cond = type != NULL;
 2373|      2|        if (!cond) {
  ------------------
  |  Branch (2373:13): [True: 0, False: 2]
  ------------------
 2374|      0|            Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2375|      0|            return 0;
 2376|      0|        }
 2377|      2|        cond = PyDict_SetItemString(Global_annotations, "names", type) == 0;
 2378|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2379|      2|        if (!cond) {
  ------------------
  |  Branch (2379:13): [True: 0, False: 2]
  ------------------
 2380|      0|            Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2381|      0|            return 0;
 2382|      0|        }
 2383|      2|    }
 2384|      2|    cond = PyObject_SetAttrString(state->Global_type, "_field_types",
 2385|      2|                                  Global_annotations) == 0;
 2386|      2|    if (!cond) {
  ------------------
  |  Branch (2386:9): [True: 0, False: 2]
  ------------------
 2387|      0|        Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2388|      0|        return 0;
 2389|      0|    }
 2390|      2|    cond = PyObject_SetAttrString(state->Global_type, "__annotations__",
 2391|      2|                                  Global_annotations) == 0;
 2392|      2|    if (!cond) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 2]
  ------------------
 2393|      0|        Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|      0|        return 0;
 2395|      0|    }
 2396|      2|    Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|      2|    PyObject *Nonlocal_annotations = PyDict_New();
 2398|      2|    if (!Nonlocal_annotations) return 0;
  ------------------
  |  Branch (2398:9): [True: 0, False: 2]
  ------------------
 2399|      2|    {
 2400|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2401|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2402|      2|        cond = type != NULL;
 2403|      2|        if (!cond) {
  ------------------
  |  Branch (2403:13): [True: 0, False: 2]
  ------------------
 2404|      0|            Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2405|      0|            return 0;
 2406|      0|        }
 2407|      2|        cond = PyDict_SetItemString(Nonlocal_annotations, "names", type) == 0;
 2408|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      2|        if (!cond) {
  ------------------
  |  Branch (2409:13): [True: 0, False: 2]
  ------------------
 2410|      0|            Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|      0|            return 0;
 2412|      0|        }
 2413|      2|    }
 2414|      2|    cond = PyObject_SetAttrString(state->Nonlocal_type, "_field_types",
 2415|      2|                                  Nonlocal_annotations) == 0;
 2416|      2|    if (!cond) {
  ------------------
  |  Branch (2416:9): [True: 0, False: 2]
  ------------------
 2417|      0|        Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|      0|        return 0;
 2419|      0|    }
 2420|      2|    cond = PyObject_SetAttrString(state->Nonlocal_type, "__annotations__",
 2421|      2|                                  Nonlocal_annotations) == 0;
 2422|      2|    if (!cond) {
  ------------------
  |  Branch (2422:9): [True: 0, False: 2]
  ------------------
 2423|      0|        Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2424|      0|        return 0;
 2425|      0|    }
 2426|      2|    Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      2|    PyObject *Expr_annotations = PyDict_New();
 2428|      2|    if (!Expr_annotations) return 0;
  ------------------
  |  Branch (2428:9): [True: 0, False: 2]
  ------------------
 2429|      2|    {
 2430|      2|        PyObject *type = state->expr_type;
 2431|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      2|        cond = PyDict_SetItemString(Expr_annotations, "value", type) == 0;
 2433|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|      2|        if (!cond) {
  ------------------
  |  Branch (2434:13): [True: 0, False: 2]
  ------------------
 2435|      0|            Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      0|            return 0;
 2437|      0|        }
 2438|      2|    }
 2439|      2|    cond = PyObject_SetAttrString(state->Expr_type, "_field_types",
 2440|      2|                                  Expr_annotations) == 0;
 2441|      2|    if (!cond) {
  ------------------
  |  Branch (2441:9): [True: 0, False: 2]
  ------------------
 2442|      0|        Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|      0|        return 0;
 2444|      0|    }
 2445|      2|    cond = PyObject_SetAttrString(state->Expr_type, "__annotations__",
 2446|      2|                                  Expr_annotations) == 0;
 2447|      2|    if (!cond) {
  ------------------
  |  Branch (2447:9): [True: 0, False: 2]
  ------------------
 2448|      0|        Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|      0|        return 0;
 2450|      0|    }
 2451|      2|    Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      2|    PyObject *Pass_annotations = PyDict_New();
 2453|      2|    if (!Pass_annotations) return 0;
  ------------------
  |  Branch (2453:9): [True: 0, False: 2]
  ------------------
 2454|      2|    cond = PyObject_SetAttrString(state->Pass_type, "_field_types",
 2455|      2|                                  Pass_annotations) == 0;
 2456|      2|    if (!cond) {
  ------------------
  |  Branch (2456:9): [True: 0, False: 2]
  ------------------
 2457|      0|        Py_DECREF(Pass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2458|      0|        return 0;
 2459|      0|    }
 2460|      2|    cond = PyObject_SetAttrString(state->Pass_type, "__annotations__",
 2461|      2|                                  Pass_annotations) == 0;
 2462|      2|    if (!cond) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 2]
  ------------------
 2463|      0|        Py_DECREF(Pass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2464|      0|        return 0;
 2465|      0|    }
 2466|      2|    Py_DECREF(Pass_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|      2|    PyObject *Break_annotations = PyDict_New();
 2468|      2|    if (!Break_annotations) return 0;
  ------------------
  |  Branch (2468:9): [True: 0, False: 2]
  ------------------
 2469|      2|    cond = PyObject_SetAttrString(state->Break_type, "_field_types",
 2470|      2|                                  Break_annotations) == 0;
 2471|      2|    if (!cond) {
  ------------------
  |  Branch (2471:9): [True: 0, False: 2]
  ------------------
 2472|      0|        Py_DECREF(Break_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2473|      0|        return 0;
 2474|      0|    }
 2475|      2|    cond = PyObject_SetAttrString(state->Break_type, "__annotations__",
 2476|      2|                                  Break_annotations) == 0;
 2477|      2|    if (!cond) {
  ------------------
  |  Branch (2477:9): [True: 0, False: 2]
  ------------------
 2478|      0|        Py_DECREF(Break_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|        return 0;
 2480|      0|    }
 2481|      2|    Py_DECREF(Break_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|      2|    PyObject *Continue_annotations = PyDict_New();
 2483|      2|    if (!Continue_annotations) return 0;
  ------------------
  |  Branch (2483:9): [True: 0, False: 2]
  ------------------
 2484|      2|    cond = PyObject_SetAttrString(state->Continue_type, "_field_types",
 2485|      2|                                  Continue_annotations) == 0;
 2486|      2|    if (!cond) {
  ------------------
  |  Branch (2486:9): [True: 0, False: 2]
  ------------------
 2487|      0|        Py_DECREF(Continue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2488|      0|        return 0;
 2489|      0|    }
 2490|      2|    cond = PyObject_SetAttrString(state->Continue_type, "__annotations__",
 2491|      2|                                  Continue_annotations) == 0;
 2492|      2|    if (!cond) {
  ------------------
  |  Branch (2492:9): [True: 0, False: 2]
  ------------------
 2493|      0|        Py_DECREF(Continue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2494|      0|        return 0;
 2495|      0|    }
 2496|      2|    Py_DECREF(Continue_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2497|      2|    PyObject *BoolOp_annotations = PyDict_New();
 2498|      2|    if (!BoolOp_annotations) return 0;
  ------------------
  |  Branch (2498:9): [True: 0, False: 2]
  ------------------
 2499|      2|    {
 2500|      2|        PyObject *type = state->boolop_type;
 2501|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2502|      2|        cond = PyDict_SetItemString(BoolOp_annotations, "op", type) == 0;
 2503|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2504|      2|        if (!cond) {
  ------------------
  |  Branch (2504:13): [True: 0, False: 2]
  ------------------
 2505|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2506|      0|            return 0;
 2507|      0|        }
 2508|      2|    }
 2509|      2|    {
 2510|      2|        PyObject *type = state->expr_type;
 2511|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2512|      2|        cond = type != NULL;
 2513|      2|        if (!cond) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 2]
  ------------------
 2514|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2515|      0|            return 0;
 2516|      0|        }
 2517|      2|        cond = PyDict_SetItemString(BoolOp_annotations, "values", type) == 0;
 2518|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2519|      2|        if (!cond) {
  ------------------
  |  Branch (2519:13): [True: 0, False: 2]
  ------------------
 2520|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2521|      0|            return 0;
 2522|      0|        }
 2523|      2|    }
 2524|      2|    cond = PyObject_SetAttrString(state->BoolOp_type, "_field_types",
 2525|      2|                                  BoolOp_annotations) == 0;
 2526|      2|    if (!cond) {
  ------------------
  |  Branch (2526:9): [True: 0, False: 2]
  ------------------
 2527|      0|        Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      0|        return 0;
 2529|      0|    }
 2530|      2|    cond = PyObject_SetAttrString(state->BoolOp_type, "__annotations__",
 2531|      2|                                  BoolOp_annotations) == 0;
 2532|      2|    if (!cond) {
  ------------------
  |  Branch (2532:9): [True: 0, False: 2]
  ------------------
 2533|      0|        Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2534|      0|        return 0;
 2535|      0|    }
 2536|      2|    Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2537|      2|    PyObject *NamedExpr_annotations = PyDict_New();
 2538|      2|    if (!NamedExpr_annotations) return 0;
  ------------------
  |  Branch (2538:9): [True: 0, False: 2]
  ------------------
 2539|      2|    {
 2540|      2|        PyObject *type = state->expr_type;
 2541|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2542|      2|        cond = PyDict_SetItemString(NamedExpr_annotations, "target", type) == 0;
 2543|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2544|      2|        if (!cond) {
  ------------------
  |  Branch (2544:13): [True: 0, False: 2]
  ------------------
 2545|      0|            Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2546|      0|            return 0;
 2547|      0|        }
 2548|      2|    }
 2549|      2|    {
 2550|      2|        PyObject *type = state->expr_type;
 2551|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2552|      2|        cond = PyDict_SetItemString(NamedExpr_annotations, "value", type) == 0;
 2553|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2554|      2|        if (!cond) {
  ------------------
  |  Branch (2554:13): [True: 0, False: 2]
  ------------------
 2555|      0|            Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2556|      0|            return 0;
 2557|      0|        }
 2558|      2|    }
 2559|      2|    cond = PyObject_SetAttrString(state->NamedExpr_type, "_field_types",
 2560|      2|                                  NamedExpr_annotations) == 0;
 2561|      2|    if (!cond) {
  ------------------
  |  Branch (2561:9): [True: 0, False: 2]
  ------------------
 2562|      0|        Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|      0|        return 0;
 2564|      0|    }
 2565|      2|    cond = PyObject_SetAttrString(state->NamedExpr_type, "__annotations__",
 2566|      2|                                  NamedExpr_annotations) == 0;
 2567|      2|    if (!cond) {
  ------------------
  |  Branch (2567:9): [True: 0, False: 2]
  ------------------
 2568|      0|        Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2569|      0|        return 0;
 2570|      0|    }
 2571|      2|    Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2572|      2|    PyObject *BinOp_annotations = PyDict_New();
 2573|      2|    if (!BinOp_annotations) return 0;
  ------------------
  |  Branch (2573:9): [True: 0, False: 2]
  ------------------
 2574|      2|    {
 2575|      2|        PyObject *type = state->expr_type;
 2576|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2577|      2|        cond = PyDict_SetItemString(BinOp_annotations, "left", type) == 0;
 2578|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|      2|        if (!cond) {
  ------------------
  |  Branch (2579:13): [True: 0, False: 2]
  ------------------
 2580|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2581|      0|            return 0;
 2582|      0|        }
 2583|      2|    }
 2584|      2|    {
 2585|      2|        PyObject *type = state->operator_type;
 2586|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|      2|        cond = PyDict_SetItemString(BinOp_annotations, "op", type) == 0;
 2588|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2589|      2|        if (!cond) {
  ------------------
  |  Branch (2589:13): [True: 0, False: 2]
  ------------------
 2590|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2591|      0|            return 0;
 2592|      0|        }
 2593|      2|    }
 2594|      2|    {
 2595|      2|        PyObject *type = state->expr_type;
 2596|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2597|      2|        cond = PyDict_SetItemString(BinOp_annotations, "right", type) == 0;
 2598|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2599|      2|        if (!cond) {
  ------------------
  |  Branch (2599:13): [True: 0, False: 2]
  ------------------
 2600|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2601|      0|            return 0;
 2602|      0|        }
 2603|      2|    }
 2604|      2|    cond = PyObject_SetAttrString(state->BinOp_type, "_field_types",
 2605|      2|                                  BinOp_annotations) == 0;
 2606|      2|    if (!cond) {
  ------------------
  |  Branch (2606:9): [True: 0, False: 2]
  ------------------
 2607|      0|        Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|      0|        return 0;
 2609|      0|    }
 2610|      2|    cond = PyObject_SetAttrString(state->BinOp_type, "__annotations__",
 2611|      2|                                  BinOp_annotations) == 0;
 2612|      2|    if (!cond) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 2]
  ------------------
 2613|      0|        Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2614|      0|        return 0;
 2615|      0|    }
 2616|      2|    Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|      2|    PyObject *UnaryOp_annotations = PyDict_New();
 2618|      2|    if (!UnaryOp_annotations) return 0;
  ------------------
  |  Branch (2618:9): [True: 0, False: 2]
  ------------------
 2619|      2|    {
 2620|      2|        PyObject *type = state->unaryop_type;
 2621|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|      2|        cond = PyDict_SetItemString(UnaryOp_annotations, "op", type) == 0;
 2623|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|      2|        if (!cond) {
  ------------------
  |  Branch (2624:13): [True: 0, False: 2]
  ------------------
 2625|      0|            Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2626|      0|            return 0;
 2627|      0|        }
 2628|      2|    }
 2629|      2|    {
 2630|      2|        PyObject *type = state->expr_type;
 2631|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2632|      2|        cond = PyDict_SetItemString(UnaryOp_annotations, "operand", type) == 0;
 2633|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|      2|        if (!cond) {
  ------------------
  |  Branch (2634:13): [True: 0, False: 2]
  ------------------
 2635|      0|            Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2636|      0|            return 0;
 2637|      0|        }
 2638|      2|    }
 2639|      2|    cond = PyObject_SetAttrString(state->UnaryOp_type, "_field_types",
 2640|      2|                                  UnaryOp_annotations) == 0;
 2641|      2|    if (!cond) {
  ------------------
  |  Branch (2641:9): [True: 0, False: 2]
  ------------------
 2642|      0|        Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2643|      0|        return 0;
 2644|      0|    }
 2645|      2|    cond = PyObject_SetAttrString(state->UnaryOp_type, "__annotations__",
 2646|      2|                                  UnaryOp_annotations) == 0;
 2647|      2|    if (!cond) {
  ------------------
  |  Branch (2647:9): [True: 0, False: 2]
  ------------------
 2648|      0|        Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2649|      0|        return 0;
 2650|      0|    }
 2651|      2|    Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      2|    PyObject *Lambda_annotations = PyDict_New();
 2653|      2|    if (!Lambda_annotations) return 0;
  ------------------
  |  Branch (2653:9): [True: 0, False: 2]
  ------------------
 2654|      2|    {
 2655|      2|        PyObject *type = state->arguments_type;
 2656|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2657|      2|        cond = PyDict_SetItemString(Lambda_annotations, "args", type) == 0;
 2658|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2659|      2|        if (!cond) {
  ------------------
  |  Branch (2659:13): [True: 0, False: 2]
  ------------------
 2660|      0|            Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2661|      0|            return 0;
 2662|      0|        }
 2663|      2|    }
 2664|      2|    {
 2665|      2|        PyObject *type = state->expr_type;
 2666|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|      2|        cond = PyDict_SetItemString(Lambda_annotations, "body", type) == 0;
 2668|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|      2|        if (!cond) {
  ------------------
  |  Branch (2669:13): [True: 0, False: 2]
  ------------------
 2670|      0|            Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2671|      0|            return 0;
 2672|      0|        }
 2673|      2|    }
 2674|      2|    cond = PyObject_SetAttrString(state->Lambda_type, "_field_types",
 2675|      2|                                  Lambda_annotations) == 0;
 2676|      2|    if (!cond) {
  ------------------
  |  Branch (2676:9): [True: 0, False: 2]
  ------------------
 2677|      0|        Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2678|      0|        return 0;
 2679|      0|    }
 2680|      2|    cond = PyObject_SetAttrString(state->Lambda_type, "__annotations__",
 2681|      2|                                  Lambda_annotations) == 0;
 2682|      2|    if (!cond) {
  ------------------
  |  Branch (2682:9): [True: 0, False: 2]
  ------------------
 2683|      0|        Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        return 0;
 2685|      0|    }
 2686|      2|    Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2687|      2|    PyObject *IfExp_annotations = PyDict_New();
 2688|      2|    if (!IfExp_annotations) return 0;
  ------------------
  |  Branch (2688:9): [True: 0, False: 2]
  ------------------
 2689|      2|    {
 2690|      2|        PyObject *type = state->expr_type;
 2691|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|      2|        cond = PyDict_SetItemString(IfExp_annotations, "test", type) == 0;
 2693|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|      2|        if (!cond) {
  ------------------
  |  Branch (2694:13): [True: 0, False: 2]
  ------------------
 2695|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2696|      0|            return 0;
 2697|      0|        }
 2698|      2|    }
 2699|      2|    {
 2700|      2|        PyObject *type = state->expr_type;
 2701|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      2|        cond = PyDict_SetItemString(IfExp_annotations, "body", type) == 0;
 2703|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|      2|        if (!cond) {
  ------------------
  |  Branch (2704:13): [True: 0, False: 2]
  ------------------
 2705|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2706|      0|            return 0;
 2707|      0|        }
 2708|      2|    }
 2709|      2|    {
 2710|      2|        PyObject *type = state->expr_type;
 2711|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2712|      2|        cond = PyDict_SetItemString(IfExp_annotations, "orelse", type) == 0;
 2713|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2714|      2|        if (!cond) {
  ------------------
  |  Branch (2714:13): [True: 0, False: 2]
  ------------------
 2715|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      0|            return 0;
 2717|      0|        }
 2718|      2|    }
 2719|      2|    cond = PyObject_SetAttrString(state->IfExp_type, "_field_types",
 2720|      2|                                  IfExp_annotations) == 0;
 2721|      2|    if (!cond) {
  ------------------
  |  Branch (2721:9): [True: 0, False: 2]
  ------------------
 2722|      0|        Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|      0|        return 0;
 2724|      0|    }
 2725|      2|    cond = PyObject_SetAttrString(state->IfExp_type, "__annotations__",
 2726|      2|                                  IfExp_annotations) == 0;
 2727|      2|    if (!cond) {
  ------------------
  |  Branch (2727:9): [True: 0, False: 2]
  ------------------
 2728|      0|        Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2729|      0|        return 0;
 2730|      0|    }
 2731|      2|    Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2732|      2|    PyObject *Dict_annotations = PyDict_New();
 2733|      2|    if (!Dict_annotations) return 0;
  ------------------
  |  Branch (2733:9): [True: 0, False: 2]
  ------------------
 2734|      2|    {
 2735|      2|        PyObject *type = state->expr_type;
 2736|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2737|      2|        cond = type != NULL;
 2738|      2|        if (!cond) {
  ------------------
  |  Branch (2738:13): [True: 0, False: 2]
  ------------------
 2739|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2740|      0|            return 0;
 2741|      0|        }
 2742|      2|        cond = PyDict_SetItemString(Dict_annotations, "keys", type) == 0;
 2743|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      2|        if (!cond) {
  ------------------
  |  Branch (2744:13): [True: 0, False: 2]
  ------------------
 2745|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2746|      0|            return 0;
 2747|      0|        }
 2748|      2|    }
 2749|      2|    {
 2750|      2|        PyObject *type = state->expr_type;
 2751|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2752|      2|        cond = type != NULL;
 2753|      2|        if (!cond) {
  ------------------
  |  Branch (2753:13): [True: 0, False: 2]
  ------------------
 2754|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|      0|            return 0;
 2756|      0|        }
 2757|      2|        cond = PyDict_SetItemString(Dict_annotations, "values", type) == 0;
 2758|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2759|      2|        if (!cond) {
  ------------------
  |  Branch (2759:13): [True: 0, False: 2]
  ------------------
 2760|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2761|      0|            return 0;
 2762|      0|        }
 2763|      2|    }
 2764|      2|    cond = PyObject_SetAttrString(state->Dict_type, "_field_types",
 2765|      2|                                  Dict_annotations) == 0;
 2766|      2|    if (!cond) {
  ------------------
  |  Branch (2766:9): [True: 0, False: 2]
  ------------------
 2767|      0|        Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2768|      0|        return 0;
 2769|      0|    }
 2770|      2|    cond = PyObject_SetAttrString(state->Dict_type, "__annotations__",
 2771|      2|                                  Dict_annotations) == 0;
 2772|      2|    if (!cond) {
  ------------------
  |  Branch (2772:9): [True: 0, False: 2]
  ------------------
 2773|      0|        Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2774|      0|        return 0;
 2775|      0|    }
 2776|      2|    Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2777|      2|    PyObject *Set_annotations = PyDict_New();
 2778|      2|    if (!Set_annotations) return 0;
  ------------------
  |  Branch (2778:9): [True: 0, False: 2]
  ------------------
 2779|      2|    {
 2780|      2|        PyObject *type = state->expr_type;
 2781|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2782|      2|        cond = type != NULL;
 2783|      2|        if (!cond) {
  ------------------
  |  Branch (2783:13): [True: 0, False: 2]
  ------------------
 2784|      0|            Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2785|      0|            return 0;
 2786|      0|        }
 2787|      2|        cond = PyDict_SetItemString(Set_annotations, "elts", type) == 0;
 2788|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|      2|        if (!cond) {
  ------------------
  |  Branch (2789:13): [True: 0, False: 2]
  ------------------
 2790|      0|            Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|      0|            return 0;
 2792|      0|        }
 2793|      2|    }
 2794|      2|    cond = PyObject_SetAttrString(state->Set_type, "_field_types",
 2795|      2|                                  Set_annotations) == 0;
 2796|      2|    if (!cond) {
  ------------------
  |  Branch (2796:9): [True: 0, False: 2]
  ------------------
 2797|      0|        Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|      0|        return 0;
 2799|      0|    }
 2800|      2|    cond = PyObject_SetAttrString(state->Set_type, "__annotations__",
 2801|      2|                                  Set_annotations) == 0;
 2802|      2|    if (!cond) {
  ------------------
  |  Branch (2802:9): [True: 0, False: 2]
  ------------------
 2803|      0|        Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2804|      0|        return 0;
 2805|      0|    }
 2806|      2|    Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2807|      2|    PyObject *ListComp_annotations = PyDict_New();
 2808|      2|    if (!ListComp_annotations) return 0;
  ------------------
  |  Branch (2808:9): [True: 0, False: 2]
  ------------------
 2809|      2|    {
 2810|      2|        PyObject *type = state->expr_type;
 2811|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2812|      2|        cond = PyDict_SetItemString(ListComp_annotations, "elt", type) == 0;
 2813|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|      2|        if (!cond) {
  ------------------
  |  Branch (2814:13): [True: 0, False: 2]
  ------------------
 2815|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|      0|            return 0;
 2817|      0|        }
 2818|      2|    }
 2819|      2|    {
 2820|      2|        PyObject *type = state->comprehension_type;
 2821|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2822|      2|        cond = type != NULL;
 2823|      2|        if (!cond) {
  ------------------
  |  Branch (2823:13): [True: 0, False: 2]
  ------------------
 2824|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|            return 0;
 2826|      0|        }
 2827|      2|        cond = PyDict_SetItemString(ListComp_annotations, "generators", type)
 2828|      2|                                    == 0;
 2829|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|      2|        if (!cond) {
  ------------------
  |  Branch (2830:13): [True: 0, False: 2]
  ------------------
 2831|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|      0|            return 0;
 2833|      0|        }
 2834|      2|    }
 2835|      2|    cond = PyObject_SetAttrString(state->ListComp_type, "_field_types",
 2836|      2|                                  ListComp_annotations) == 0;
 2837|      2|    if (!cond) {
  ------------------
  |  Branch (2837:9): [True: 0, False: 2]
  ------------------
 2838|      0|        Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2839|      0|        return 0;
 2840|      0|    }
 2841|      2|    cond = PyObject_SetAttrString(state->ListComp_type, "__annotations__",
 2842|      2|                                  ListComp_annotations) == 0;
 2843|      2|    if (!cond) {
  ------------------
  |  Branch (2843:9): [True: 0, False: 2]
  ------------------
 2844|      0|        Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|      0|        return 0;
 2846|      0|    }
 2847|      2|    Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|      2|    PyObject *SetComp_annotations = PyDict_New();
 2849|      2|    if (!SetComp_annotations) return 0;
  ------------------
  |  Branch (2849:9): [True: 0, False: 2]
  ------------------
 2850|      2|    {
 2851|      2|        PyObject *type = state->expr_type;
 2852|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|      2|        cond = PyDict_SetItemString(SetComp_annotations, "elt", type) == 0;
 2854|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|      2|        if (!cond) {
  ------------------
  |  Branch (2855:13): [True: 0, False: 2]
  ------------------
 2856|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|      0|            return 0;
 2858|      0|        }
 2859|      2|    }
 2860|      2|    {
 2861|      2|        PyObject *type = state->comprehension_type;
 2862|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2863|      2|        cond = type != NULL;
 2864|      2|        if (!cond) {
  ------------------
  |  Branch (2864:13): [True: 0, False: 2]
  ------------------
 2865|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2866|      0|            return 0;
 2867|      0|        }
 2868|      2|        cond = PyDict_SetItemString(SetComp_annotations, "generators", type) ==
 2869|      2|                                    0;
 2870|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|      2|        if (!cond) {
  ------------------
  |  Branch (2871:13): [True: 0, False: 2]
  ------------------
 2872|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2873|      0|            return 0;
 2874|      0|        }
 2875|      2|    }
 2876|      2|    cond = PyObject_SetAttrString(state->SetComp_type, "_field_types",
 2877|      2|                                  SetComp_annotations) == 0;
 2878|      2|    if (!cond) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 2]
  ------------------
 2879|      0|        Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2880|      0|        return 0;
 2881|      0|    }
 2882|      2|    cond = PyObject_SetAttrString(state->SetComp_type, "__annotations__",
 2883|      2|                                  SetComp_annotations) == 0;
 2884|      2|    if (!cond) {
  ------------------
  |  Branch (2884:9): [True: 0, False: 2]
  ------------------
 2885|      0|        Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|      0|        return 0;
 2887|      0|    }
 2888|      2|    Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2889|      2|    PyObject *DictComp_annotations = PyDict_New();
 2890|      2|    if (!DictComp_annotations) return 0;
  ------------------
  |  Branch (2890:9): [True: 0, False: 2]
  ------------------
 2891|      2|    {
 2892|      2|        PyObject *type = state->expr_type;
 2893|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2894|      2|        cond = PyDict_SetItemString(DictComp_annotations, "key", type) == 0;
 2895|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2896|      2|        if (!cond) {
  ------------------
  |  Branch (2896:13): [True: 0, False: 2]
  ------------------
 2897|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|      0|            return 0;
 2899|      0|        }
 2900|      2|    }
 2901|      2|    {
 2902|      2|        PyObject *type = state->expr_type;
 2903|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2904|      2|        cond = type != NULL;
 2905|      2|        if (!cond) {
  ------------------
  |  Branch (2905:13): [True: 0, False: 2]
  ------------------
 2906|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|      0|            return 0;
 2908|      0|        }
 2909|      2|        cond = PyDict_SetItemString(DictComp_annotations, "value", type) == 0;
 2910|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2911|      2|        if (!cond) {
  ------------------
  |  Branch (2911:13): [True: 0, False: 2]
  ------------------
 2912|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2913|      0|            return 0;
 2914|      0|        }
 2915|      2|    }
 2916|      2|    {
 2917|      2|        PyObject *type = state->comprehension_type;
 2918|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2919|      2|        cond = type != NULL;
 2920|      2|        if (!cond) {
  ------------------
  |  Branch (2920:13): [True: 0, False: 2]
  ------------------
 2921|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      0|            return 0;
 2923|      0|        }
 2924|      2|        cond = PyDict_SetItemString(DictComp_annotations, "generators", type)
 2925|      2|                                    == 0;
 2926|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2927|      2|        if (!cond) {
  ------------------
  |  Branch (2927:13): [True: 0, False: 2]
  ------------------
 2928|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2929|      0|            return 0;
 2930|      0|        }
 2931|      2|    }
 2932|      2|    cond = PyObject_SetAttrString(state->DictComp_type, "_field_types",
 2933|      2|                                  DictComp_annotations) == 0;
 2934|      2|    if (!cond) {
  ------------------
  |  Branch (2934:9): [True: 0, False: 2]
  ------------------
 2935|      0|        Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2936|      0|        return 0;
 2937|      0|    }
 2938|      2|    cond = PyObject_SetAttrString(state->DictComp_type, "__annotations__",
 2939|      2|                                  DictComp_annotations) == 0;
 2940|      2|    if (!cond) {
  ------------------
  |  Branch (2940:9): [True: 0, False: 2]
  ------------------
 2941|      0|        Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|      0|        return 0;
 2943|      0|    }
 2944|      2|    Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2945|      2|    PyObject *GeneratorExp_annotations = PyDict_New();
 2946|      2|    if (!GeneratorExp_annotations) return 0;
  ------------------
  |  Branch (2946:9): [True: 0, False: 2]
  ------------------
 2947|      2|    {
 2948|      2|        PyObject *type = state->expr_type;
 2949|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|      2|        cond = PyDict_SetItemString(GeneratorExp_annotations, "elt", type) == 0;
 2951|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|      2|        if (!cond) {
  ------------------
  |  Branch (2952:13): [True: 0, False: 2]
  ------------------
 2953|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|      0|            return 0;
 2955|      0|        }
 2956|      2|    }
 2957|      2|    {
 2958|      2|        PyObject *type = state->comprehension_type;
 2959|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2960|      2|        cond = type != NULL;
 2961|      2|        if (!cond) {
  ------------------
  |  Branch (2961:13): [True: 0, False: 2]
  ------------------
 2962|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|      0|            return 0;
 2964|      0|        }
 2965|      2|        cond = PyDict_SetItemString(GeneratorExp_annotations, "generators",
 2966|      2|                                    type) == 0;
 2967|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|      2|        if (!cond) {
  ------------------
  |  Branch (2968:13): [True: 0, False: 2]
  ------------------
 2969|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|      0|            return 0;
 2971|      0|        }
 2972|      2|    }
 2973|      2|    cond = PyObject_SetAttrString(state->GeneratorExp_type, "_field_types",
 2974|      2|                                  GeneratorExp_annotations) == 0;
 2975|      2|    if (!cond) {
  ------------------
  |  Branch (2975:9): [True: 0, False: 2]
  ------------------
 2976|      0|        Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2977|      0|        return 0;
 2978|      0|    }
 2979|      2|    cond = PyObject_SetAttrString(state->GeneratorExp_type, "__annotations__",
 2980|      2|                                  GeneratorExp_annotations) == 0;
 2981|      2|    if (!cond) {
  ------------------
  |  Branch (2981:9): [True: 0, False: 2]
  ------------------
 2982|      0|        Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|      0|        return 0;
 2984|      0|    }
 2985|      2|    Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      2|    PyObject *Await_annotations = PyDict_New();
 2987|      2|    if (!Await_annotations) return 0;
  ------------------
  |  Branch (2987:9): [True: 0, False: 2]
  ------------------
 2988|      2|    {
 2989|      2|        PyObject *type = state->expr_type;
 2990|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      2|        cond = PyDict_SetItemString(Await_annotations, "value", type) == 0;
 2992|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      2|        if (!cond) {
  ------------------
  |  Branch (2993:13): [True: 0, False: 2]
  ------------------
 2994|      0|            Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|      0|            return 0;
 2996|      0|        }
 2997|      2|    }
 2998|      2|    cond = PyObject_SetAttrString(state->Await_type, "_field_types",
 2999|      2|                                  Await_annotations) == 0;
 3000|      2|    if (!cond) {
  ------------------
  |  Branch (3000:9): [True: 0, False: 2]
  ------------------
 3001|      0|        Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|      0|        return 0;
 3003|      0|    }
 3004|      2|    cond = PyObject_SetAttrString(state->Await_type, "__annotations__",
 3005|      2|                                  Await_annotations) == 0;
 3006|      2|    if (!cond) {
  ------------------
  |  Branch (3006:9): [True: 0, False: 2]
  ------------------
 3007|      0|        Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3008|      0|        return 0;
 3009|      0|    }
 3010|      2|    Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      2|    PyObject *Yield_annotations = PyDict_New();
 3012|      2|    if (!Yield_annotations) return 0;
  ------------------
  |  Branch (3012:9): [True: 0, False: 2]
  ------------------
 3013|      2|    {
 3014|      2|        PyObject *type = state->expr_type;
 3015|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3016|      2|        cond = type != NULL;
 3017|      2|        if (!cond) {
  ------------------
  |  Branch (3017:13): [True: 0, False: 2]
  ------------------
 3018|      0|            Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|      0|            return 0;
 3020|      0|        }
 3021|      2|        cond = PyDict_SetItemString(Yield_annotations, "value", type) == 0;
 3022|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      2|        if (!cond) {
  ------------------
  |  Branch (3023:13): [True: 0, False: 2]
  ------------------
 3024|      0|            Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3025|      0|            return 0;
 3026|      0|        }
 3027|      2|    }
 3028|      2|    cond = PyObject_SetAttrString(state->Yield_type, "_field_types",
 3029|      2|                                  Yield_annotations) == 0;
 3030|      2|    if (!cond) {
  ------------------
  |  Branch (3030:9): [True: 0, False: 2]
  ------------------
 3031|      0|        Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|      0|        return 0;
 3033|      0|    }
 3034|      2|    cond = PyObject_SetAttrString(state->Yield_type, "__annotations__",
 3035|      2|                                  Yield_annotations) == 0;
 3036|      2|    if (!cond) {
  ------------------
  |  Branch (3036:9): [True: 0, False: 2]
  ------------------
 3037|      0|        Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3038|      0|        return 0;
 3039|      0|    }
 3040|      2|    Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3041|      2|    PyObject *YieldFrom_annotations = PyDict_New();
 3042|      2|    if (!YieldFrom_annotations) return 0;
  ------------------
  |  Branch (3042:9): [True: 0, False: 2]
  ------------------
 3043|      2|    {
 3044|      2|        PyObject *type = state->expr_type;
 3045|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      2|        cond = PyDict_SetItemString(YieldFrom_annotations, "value", type) == 0;
 3047|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|      2|        if (!cond) {
  ------------------
  |  Branch (3048:13): [True: 0, False: 2]
  ------------------
 3049|      0|            Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3050|      0|            return 0;
 3051|      0|        }
 3052|      2|    }
 3053|      2|    cond = PyObject_SetAttrString(state->YieldFrom_type, "_field_types",
 3054|      2|                                  YieldFrom_annotations) == 0;
 3055|      2|    if (!cond) {
  ------------------
  |  Branch (3055:9): [True: 0, False: 2]
  ------------------
 3056|      0|        Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3057|      0|        return 0;
 3058|      0|    }
 3059|      2|    cond = PyObject_SetAttrString(state->YieldFrom_type, "__annotations__",
 3060|      2|                                  YieldFrom_annotations) == 0;
 3061|      2|    if (!cond) {
  ------------------
  |  Branch (3061:9): [True: 0, False: 2]
  ------------------
 3062|      0|        Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3063|      0|        return 0;
 3064|      0|    }
 3065|      2|    Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3066|      2|    PyObject *Compare_annotations = PyDict_New();
 3067|      2|    if (!Compare_annotations) return 0;
  ------------------
  |  Branch (3067:9): [True: 0, False: 2]
  ------------------
 3068|      2|    {
 3069|      2|        PyObject *type = state->expr_type;
 3070|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|      2|        cond = PyDict_SetItemString(Compare_annotations, "left", type) == 0;
 3072|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|      2|        if (!cond) {
  ------------------
  |  Branch (3073:13): [True: 0, False: 2]
  ------------------
 3074|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3075|      0|            return 0;
 3076|      0|        }
 3077|      2|    }
 3078|      2|    {
 3079|      2|        PyObject *type = state->cmpop_type;
 3080|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3081|      2|        cond = type != NULL;
 3082|      2|        if (!cond) {
  ------------------
  |  Branch (3082:13): [True: 0, False: 2]
  ------------------
 3083|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3084|      0|            return 0;
 3085|      0|        }
 3086|      2|        cond = PyDict_SetItemString(Compare_annotations, "ops", type) == 0;
 3087|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3088|      2|        if (!cond) {
  ------------------
  |  Branch (3088:13): [True: 0, False: 2]
  ------------------
 3089|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3090|      0|            return 0;
 3091|      0|        }
 3092|      2|    }
 3093|      2|    {
 3094|      2|        PyObject *type = state->expr_type;
 3095|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3096|      2|        cond = type != NULL;
 3097|      2|        if (!cond) {
  ------------------
  |  Branch (3097:13): [True: 0, False: 2]
  ------------------
 3098|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3099|      0|            return 0;
 3100|      0|        }
 3101|      2|        cond = PyDict_SetItemString(Compare_annotations, "comparators", type)
 3102|      2|                                    == 0;
 3103|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|      2|        if (!cond) {
  ------------------
  |  Branch (3104:13): [True: 0, False: 2]
  ------------------
 3105|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3106|      0|            return 0;
 3107|      0|        }
 3108|      2|    }
 3109|      2|    cond = PyObject_SetAttrString(state->Compare_type, "_field_types",
 3110|      2|                                  Compare_annotations) == 0;
 3111|      2|    if (!cond) {
  ------------------
  |  Branch (3111:9): [True: 0, False: 2]
  ------------------
 3112|      0|        Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3113|      0|        return 0;
 3114|      0|    }
 3115|      2|    cond = PyObject_SetAttrString(state->Compare_type, "__annotations__",
 3116|      2|                                  Compare_annotations) == 0;
 3117|      2|    if (!cond) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 2]
  ------------------
 3118|      0|        Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3119|      0|        return 0;
 3120|      0|    }
 3121|      2|    Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3122|      2|    PyObject *Call_annotations = PyDict_New();
 3123|      2|    if (!Call_annotations) return 0;
  ------------------
  |  Branch (3123:9): [True: 0, False: 2]
  ------------------
 3124|      2|    {
 3125|      2|        PyObject *type = state->expr_type;
 3126|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|      2|        cond = PyDict_SetItemString(Call_annotations, "func", type) == 0;
 3128|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3129|      2|        if (!cond) {
  ------------------
  |  Branch (3129:13): [True: 0, False: 2]
  ------------------
 3130|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|      0|            return 0;
 3132|      0|        }
 3133|      2|    }
 3134|      2|    {
 3135|      2|        PyObject *type = state->expr_type;
 3136|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3137|      2|        cond = type != NULL;
 3138|      2|        if (!cond) {
  ------------------
  |  Branch (3138:13): [True: 0, False: 2]
  ------------------
 3139|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3140|      0|            return 0;
 3141|      0|        }
 3142|      2|        cond = PyDict_SetItemString(Call_annotations, "args", type) == 0;
 3143|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|      2|        if (!cond) {
  ------------------
  |  Branch (3144:13): [True: 0, False: 2]
  ------------------
 3145|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3146|      0|            return 0;
 3147|      0|        }
 3148|      2|    }
 3149|      2|    {
 3150|      2|        PyObject *type = state->keyword_type;
 3151|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3152|      2|        cond = type != NULL;
 3153|      2|        if (!cond) {
  ------------------
  |  Branch (3153:13): [True: 0, False: 2]
  ------------------
 3154|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3155|      0|            return 0;
 3156|      0|        }
 3157|      2|        cond = PyDict_SetItemString(Call_annotations, "keywords", type) == 0;
 3158|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3159|      2|        if (!cond) {
  ------------------
  |  Branch (3159:13): [True: 0, False: 2]
  ------------------
 3160|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3161|      0|            return 0;
 3162|      0|        }
 3163|      2|    }
 3164|      2|    cond = PyObject_SetAttrString(state->Call_type, "_field_types",
 3165|      2|                                  Call_annotations) == 0;
 3166|      2|    if (!cond) {
  ------------------
  |  Branch (3166:9): [True: 0, False: 2]
  ------------------
 3167|      0|        Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      0|        return 0;
 3169|      0|    }
 3170|      2|    cond = PyObject_SetAttrString(state->Call_type, "__annotations__",
 3171|      2|                                  Call_annotations) == 0;
 3172|      2|    if (!cond) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 2]
  ------------------
 3173|      0|        Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3174|      0|        return 0;
 3175|      0|    }
 3176|      2|    Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3177|      2|    PyObject *FormattedValue_annotations = PyDict_New();
 3178|      2|    if (!FormattedValue_annotations) return 0;
  ------------------
  |  Branch (3178:9): [True: 0, False: 2]
  ------------------
 3179|      2|    {
 3180|      2|        PyObject *type = state->expr_type;
 3181|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3182|      2|        cond = PyDict_SetItemString(FormattedValue_annotations, "value", type)
 3183|      2|                                    == 0;
 3184|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3185|      2|        if (!cond) {
  ------------------
  |  Branch (3185:13): [True: 0, False: 2]
  ------------------
 3186|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3187|      0|            return 0;
 3188|      0|        }
 3189|      2|    }
 3190|      2|    {
 3191|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 3192|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3193|      2|        cond = PyDict_SetItemString(FormattedValue_annotations, "conversion",
 3194|      2|                                    type) == 0;
 3195|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3196|      2|        if (!cond) {
  ------------------
  |  Branch (3196:13): [True: 0, False: 2]
  ------------------
 3197|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3198|      0|            return 0;
 3199|      0|        }
 3200|      2|    }
 3201|      2|    {
 3202|      2|        PyObject *type = state->expr_type;
 3203|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3204|      2|        cond = type != NULL;
 3205|      2|        if (!cond) {
  ------------------
  |  Branch (3205:13): [True: 0, False: 2]
  ------------------
 3206|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|      0|            return 0;
 3208|      0|        }
 3209|      2|        cond = PyDict_SetItemString(FormattedValue_annotations, "format_spec",
 3210|      2|                                    type) == 0;
 3211|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3212|      2|        if (!cond) {
  ------------------
  |  Branch (3212:13): [True: 0, False: 2]
  ------------------
 3213|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3214|      0|            return 0;
 3215|      0|        }
 3216|      2|    }
 3217|      2|    cond = PyObject_SetAttrString(state->FormattedValue_type, "_field_types",
 3218|      2|                                  FormattedValue_annotations) == 0;
 3219|      2|    if (!cond) {
  ------------------
  |  Branch (3219:9): [True: 0, False: 2]
  ------------------
 3220|      0|        Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3221|      0|        return 0;
 3222|      0|    }
 3223|      2|    cond = PyObject_SetAttrString(state->FormattedValue_type,
 3224|      2|                                  "__annotations__",
 3225|      2|                                  FormattedValue_annotations) == 0;
 3226|      2|    if (!cond) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 2]
  ------------------
 3227|      0|        Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3228|      0|        return 0;
 3229|      0|    }
 3230|      2|    Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|      2|    PyObject *Interpolation_annotations = PyDict_New();
 3232|      2|    if (!Interpolation_annotations) return 0;
  ------------------
  |  Branch (3232:9): [True: 0, False: 2]
  ------------------
 3233|      2|    {
 3234|      2|        PyObject *type = state->expr_type;
 3235|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|      2|        cond = PyDict_SetItemString(Interpolation_annotations, "value", type)
 3237|      2|                                    == 0;
 3238|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3239|      2|        if (!cond) {
  ------------------
  |  Branch (3239:13): [True: 0, False: 2]
  ------------------
 3240|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3241|      0|            return 0;
 3242|      0|        }
 3243|      2|    }
 3244|      2|    {
 3245|      2|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 3246|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3247|      2|        cond = PyDict_SetItemString(Interpolation_annotations, "str", type) ==
 3248|      2|                                    0;
 3249|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3250|      2|        if (!cond) {
  ------------------
  |  Branch (3250:13): [True: 0, False: 2]
  ------------------
 3251|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3252|      0|            return 0;
 3253|      0|        }
 3254|      2|    }
 3255|      2|    {
 3256|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 3257|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|      2|        cond = PyDict_SetItemString(Interpolation_annotations, "conversion",
 3259|      2|                                    type) == 0;
 3260|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3261|      2|        if (!cond) {
  ------------------
  |  Branch (3261:13): [True: 0, False: 2]
  ------------------
 3262|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|      0|            return 0;
 3264|      0|        }
 3265|      2|    }
 3266|      2|    {
 3267|      2|        PyObject *type = state->expr_type;
 3268|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3269|      2|        cond = type != NULL;
 3270|      2|        if (!cond) {
  ------------------
  |  Branch (3270:13): [True: 0, False: 2]
  ------------------
 3271|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|      0|            return 0;
 3273|      0|        }
 3274|      2|        cond = PyDict_SetItemString(Interpolation_annotations, "format_spec",
 3275|      2|                                    type) == 0;
 3276|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|      2|        if (!cond) {
  ------------------
  |  Branch (3277:13): [True: 0, False: 2]
  ------------------
 3278|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3279|      0|            return 0;
 3280|      0|        }
 3281|      2|    }
 3282|      2|    cond = PyObject_SetAttrString(state->Interpolation_type, "_field_types",
 3283|      2|                                  Interpolation_annotations) == 0;
 3284|      2|    if (!cond) {
  ------------------
  |  Branch (3284:9): [True: 0, False: 2]
  ------------------
 3285|      0|        Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|      0|        return 0;
 3287|      0|    }
 3288|      2|    cond = PyObject_SetAttrString(state->Interpolation_type, "__annotations__",
 3289|      2|                                  Interpolation_annotations) == 0;
 3290|      2|    if (!cond) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 2]
  ------------------
 3291|      0|        Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3292|      0|        return 0;
 3293|      0|    }
 3294|      2|    Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3295|      2|    PyObject *JoinedStr_annotations = PyDict_New();
 3296|      2|    if (!JoinedStr_annotations) return 0;
  ------------------
  |  Branch (3296:9): [True: 0, False: 2]
  ------------------
 3297|      2|    {
 3298|      2|        PyObject *type = state->expr_type;
 3299|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3300|      2|        cond = type != NULL;
 3301|      2|        if (!cond) {
  ------------------
  |  Branch (3301:13): [True: 0, False: 2]
  ------------------
 3302|      0|            Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|      0|            return 0;
 3304|      0|        }
 3305|      2|        cond = PyDict_SetItemString(JoinedStr_annotations, "values", type) == 0;
 3306|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      2|        if (!cond) {
  ------------------
  |  Branch (3307:13): [True: 0, False: 2]
  ------------------
 3308|      0|            Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|      0|            return 0;
 3310|      0|        }
 3311|      2|    }
 3312|      2|    cond = PyObject_SetAttrString(state->JoinedStr_type, "_field_types",
 3313|      2|                                  JoinedStr_annotations) == 0;
 3314|      2|    if (!cond) {
  ------------------
  |  Branch (3314:9): [True: 0, False: 2]
  ------------------
 3315|      0|        Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|        return 0;
 3317|      0|    }
 3318|      2|    cond = PyObject_SetAttrString(state->JoinedStr_type, "__annotations__",
 3319|      2|                                  JoinedStr_annotations) == 0;
 3320|      2|    if (!cond) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 2]
  ------------------
 3321|      0|        Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3322|      0|        return 0;
 3323|      0|    }
 3324|      2|    Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3325|      2|    PyObject *TemplateStr_annotations = PyDict_New();
 3326|      2|    if (!TemplateStr_annotations) return 0;
  ------------------
  |  Branch (3326:9): [True: 0, False: 2]
  ------------------
 3327|      2|    {
 3328|      2|        PyObject *type = state->expr_type;
 3329|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3330|      2|        cond = type != NULL;
 3331|      2|        if (!cond) {
  ------------------
  |  Branch (3331:13): [True: 0, False: 2]
  ------------------
 3332|      0|            Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3333|      0|            return 0;
 3334|      0|        }
 3335|      2|        cond = PyDict_SetItemString(TemplateStr_annotations, "values", type) ==
 3336|      2|                                    0;
 3337|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3338|      2|        if (!cond) {
  ------------------
  |  Branch (3338:13): [True: 0, False: 2]
  ------------------
 3339|      0|            Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|      0|            return 0;
 3341|      0|        }
 3342|      2|    }
 3343|      2|    cond = PyObject_SetAttrString(state->TemplateStr_type, "_field_types",
 3344|      2|                                  TemplateStr_annotations) == 0;
 3345|      2|    if (!cond) {
  ------------------
  |  Branch (3345:9): [True: 0, False: 2]
  ------------------
 3346|      0|        Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3347|      0|        return 0;
 3348|      0|    }
 3349|      2|    cond = PyObject_SetAttrString(state->TemplateStr_type, "__annotations__",
 3350|      2|                                  TemplateStr_annotations) == 0;
 3351|      2|    if (!cond) {
  ------------------
  |  Branch (3351:9): [True: 0, False: 2]
  ------------------
 3352|      0|        Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3353|      0|        return 0;
 3354|      0|    }
 3355|      2|    Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|      2|    PyObject *Constant_annotations = PyDict_New();
 3357|      2|    if (!Constant_annotations) return 0;
  ------------------
  |  Branch (3357:9): [True: 0, False: 2]
  ------------------
 3358|      2|    {
 3359|      2|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 3360|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|      2|        cond = PyDict_SetItemString(Constant_annotations, "value", type) == 0;
 3362|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|      2|        if (!cond) {
  ------------------
  |  Branch (3363:13): [True: 0, False: 2]
  ------------------
 3364|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3365|      0|            return 0;
 3366|      0|        }
 3367|      2|    }
 3368|      2|    {
 3369|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3370|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3371|      2|        cond = type != NULL;
 3372|      2|        if (!cond) {
  ------------------
  |  Branch (3372:13): [True: 0, False: 2]
  ------------------
 3373|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3374|      0|            return 0;
 3375|      0|        }
 3376|      2|        cond = PyDict_SetItemString(Constant_annotations, "kind", type) == 0;
 3377|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3378|      2|        if (!cond) {
  ------------------
  |  Branch (3378:13): [True: 0, False: 2]
  ------------------
 3379|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|      0|            return 0;
 3381|      0|        }
 3382|      2|    }
 3383|      2|    cond = PyObject_SetAttrString(state->Constant_type, "_field_types",
 3384|      2|                                  Constant_annotations) == 0;
 3385|      2|    if (!cond) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 2]
  ------------------
 3386|      0|        Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3387|      0|        return 0;
 3388|      0|    }
 3389|      2|    cond = PyObject_SetAttrString(state->Constant_type, "__annotations__",
 3390|      2|                                  Constant_annotations) == 0;
 3391|      2|    if (!cond) {
  ------------------
  |  Branch (3391:9): [True: 0, False: 2]
  ------------------
 3392|      0|        Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|      0|        return 0;
 3394|      0|    }
 3395|      2|    Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3396|      2|    PyObject *Attribute_annotations = PyDict_New();
 3397|      2|    if (!Attribute_annotations) return 0;
  ------------------
  |  Branch (3397:9): [True: 0, False: 2]
  ------------------
 3398|      2|    {
 3399|      2|        PyObject *type = state->expr_type;
 3400|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      2|        cond = PyDict_SetItemString(Attribute_annotations, "value", type) == 0;
 3402|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3403|      2|        if (!cond) {
  ------------------
  |  Branch (3403:13): [True: 0, False: 2]
  ------------------
 3404|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3405|      0|            return 0;
 3406|      0|        }
 3407|      2|    }
 3408|      2|    {
 3409|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3410|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3411|      2|        cond = PyDict_SetItemString(Attribute_annotations, "attr", type) == 0;
 3412|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      2|        if (!cond) {
  ------------------
  |  Branch (3413:13): [True: 0, False: 2]
  ------------------
 3414|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3415|      0|            return 0;
 3416|      0|        }
 3417|      2|    }
 3418|      2|    {
 3419|      2|        PyObject *type = state->expr_context_type;
 3420|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|      2|        cond = PyDict_SetItemString(Attribute_annotations, "ctx", type) == 0;
 3422|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3423|      2|        if (!cond) {
  ------------------
  |  Branch (3423:13): [True: 0, False: 2]
  ------------------
 3424|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3425|      0|            return 0;
 3426|      0|        }
 3427|      2|    }
 3428|      2|    cond = PyObject_SetAttrString(state->Attribute_type, "_field_types",
 3429|      2|                                  Attribute_annotations) == 0;
 3430|      2|    if (!cond) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 2]
  ------------------
 3431|      0|        Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3432|      0|        return 0;
 3433|      0|    }
 3434|      2|    cond = PyObject_SetAttrString(state->Attribute_type, "__annotations__",
 3435|      2|                                  Attribute_annotations) == 0;
 3436|      2|    if (!cond) {
  ------------------
  |  Branch (3436:9): [True: 0, False: 2]
  ------------------
 3437|      0|        Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3438|      0|        return 0;
 3439|      0|    }
 3440|      2|    Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3441|      2|    PyObject *Subscript_annotations = PyDict_New();
 3442|      2|    if (!Subscript_annotations) return 0;
  ------------------
  |  Branch (3442:9): [True: 0, False: 2]
  ------------------
 3443|      2|    {
 3444|      2|        PyObject *type = state->expr_type;
 3445|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|      2|        cond = PyDict_SetItemString(Subscript_annotations, "value", type) == 0;
 3447|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|      2|        if (!cond) {
  ------------------
  |  Branch (3448:13): [True: 0, False: 2]
  ------------------
 3449|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3450|      0|            return 0;
 3451|      0|        }
 3452|      2|    }
 3453|      2|    {
 3454|      2|        PyObject *type = state->expr_type;
 3455|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|      2|        cond = PyDict_SetItemString(Subscript_annotations, "slice", type) == 0;
 3457|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3458|      2|        if (!cond) {
  ------------------
  |  Branch (3458:13): [True: 0, False: 2]
  ------------------
 3459|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      0|            return 0;
 3461|      0|        }
 3462|      2|    }
 3463|      2|    {
 3464|      2|        PyObject *type = state->expr_context_type;
 3465|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|      2|        cond = PyDict_SetItemString(Subscript_annotations, "ctx", type) == 0;
 3467|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|      2|        if (!cond) {
  ------------------
  |  Branch (3468:13): [True: 0, False: 2]
  ------------------
 3469|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|      0|            return 0;
 3471|      0|        }
 3472|      2|    }
 3473|      2|    cond = PyObject_SetAttrString(state->Subscript_type, "_field_types",
 3474|      2|                                  Subscript_annotations) == 0;
 3475|      2|    if (!cond) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 2]
  ------------------
 3476|      0|        Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|      0|        return 0;
 3478|      0|    }
 3479|      2|    cond = PyObject_SetAttrString(state->Subscript_type, "__annotations__",
 3480|      2|                                  Subscript_annotations) == 0;
 3481|      2|    if (!cond) {
  ------------------
  |  Branch (3481:9): [True: 0, False: 2]
  ------------------
 3482|      0|        Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|      0|        return 0;
 3484|      0|    }
 3485|      2|    Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3486|      2|    PyObject *Starred_annotations = PyDict_New();
 3487|      2|    if (!Starred_annotations) return 0;
  ------------------
  |  Branch (3487:9): [True: 0, False: 2]
  ------------------
 3488|      2|    {
 3489|      2|        PyObject *type = state->expr_type;
 3490|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3491|      2|        cond = PyDict_SetItemString(Starred_annotations, "value", type) == 0;
 3492|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      2|        if (!cond) {
  ------------------
  |  Branch (3493:13): [True: 0, False: 2]
  ------------------
 3494|      0|            Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3495|      0|            return 0;
 3496|      0|        }
 3497|      2|    }
 3498|      2|    {
 3499|      2|        PyObject *type = state->expr_context_type;
 3500|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3501|      2|        cond = PyDict_SetItemString(Starred_annotations, "ctx", type) == 0;
 3502|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      2|        if (!cond) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 2]
  ------------------
 3504|      0|            Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|      0|            return 0;
 3506|      0|        }
 3507|      2|    }
 3508|      2|    cond = PyObject_SetAttrString(state->Starred_type, "_field_types",
 3509|      2|                                  Starred_annotations) == 0;
 3510|      2|    if (!cond) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 2]
  ------------------
 3511|      0|        Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|      0|        return 0;
 3513|      0|    }
 3514|      2|    cond = PyObject_SetAttrString(state->Starred_type, "__annotations__",
 3515|      2|                                  Starred_annotations) == 0;
 3516|      2|    if (!cond) {
  ------------------
  |  Branch (3516:9): [True: 0, False: 2]
  ------------------
 3517|      0|        Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3518|      0|        return 0;
 3519|      0|    }
 3520|      2|    Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3521|      2|    PyObject *Name_annotations = PyDict_New();
 3522|      2|    if (!Name_annotations) return 0;
  ------------------
  |  Branch (3522:9): [True: 0, False: 2]
  ------------------
 3523|      2|    {
 3524|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3525|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3526|      2|        cond = PyDict_SetItemString(Name_annotations, "id", type) == 0;
 3527|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      2|        if (!cond) {
  ------------------
  |  Branch (3528:13): [True: 0, False: 2]
  ------------------
 3529|      0|            Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|      0|            return 0;
 3531|      0|        }
 3532|      2|    }
 3533|      2|    {
 3534|      2|        PyObject *type = state->expr_context_type;
 3535|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|      2|        cond = PyDict_SetItemString(Name_annotations, "ctx", type) == 0;
 3537|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3538|      2|        if (!cond) {
  ------------------
  |  Branch (3538:13): [True: 0, False: 2]
  ------------------
 3539|      0|            Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3540|      0|            return 0;
 3541|      0|        }
 3542|      2|    }
 3543|      2|    cond = PyObject_SetAttrString(state->Name_type, "_field_types",
 3544|      2|                                  Name_annotations) == 0;
 3545|      2|    if (!cond) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 2]
  ------------------
 3546|      0|        Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3547|      0|        return 0;
 3548|      0|    }
 3549|      2|    cond = PyObject_SetAttrString(state->Name_type, "__annotations__",
 3550|      2|                                  Name_annotations) == 0;
 3551|      2|    if (!cond) {
  ------------------
  |  Branch (3551:9): [True: 0, False: 2]
  ------------------
 3552|      0|        Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3553|      0|        return 0;
 3554|      0|    }
 3555|      2|    Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      2|    PyObject *List_annotations = PyDict_New();
 3557|      2|    if (!List_annotations) return 0;
  ------------------
  |  Branch (3557:9): [True: 0, False: 2]
  ------------------
 3558|      2|    {
 3559|      2|        PyObject *type = state->expr_type;
 3560|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3561|      2|        cond = type != NULL;
 3562|      2|        if (!cond) {
  ------------------
  |  Branch (3562:13): [True: 0, False: 2]
  ------------------
 3563|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3564|      0|            return 0;
 3565|      0|        }
 3566|      2|        cond = PyDict_SetItemString(List_annotations, "elts", type) == 0;
 3567|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3568|      2|        if (!cond) {
  ------------------
  |  Branch (3568:13): [True: 0, False: 2]
  ------------------
 3569|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      0|            return 0;
 3571|      0|        }
 3572|      2|    }
 3573|      2|    {
 3574|      2|        PyObject *type = state->expr_context_type;
 3575|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      2|        cond = PyDict_SetItemString(List_annotations, "ctx", type) == 0;
 3577|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3578|      2|        if (!cond) {
  ------------------
  |  Branch (3578:13): [True: 0, False: 2]
  ------------------
 3579|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      0|            return 0;
 3581|      0|        }
 3582|      2|    }
 3583|      2|    cond = PyObject_SetAttrString(state->List_type, "_field_types",
 3584|      2|                                  List_annotations) == 0;
 3585|      2|    if (!cond) {
  ------------------
  |  Branch (3585:9): [True: 0, False: 2]
  ------------------
 3586|      0|        Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3587|      0|        return 0;
 3588|      0|    }
 3589|      2|    cond = PyObject_SetAttrString(state->List_type, "__annotations__",
 3590|      2|                                  List_annotations) == 0;
 3591|      2|    if (!cond) {
  ------------------
  |  Branch (3591:9): [True: 0, False: 2]
  ------------------
 3592|      0|        Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      0|        return 0;
 3594|      0|    }
 3595|      2|    Py_DECREF(List_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|      2|    PyObject *Tuple_annotations = PyDict_New();
 3597|      2|    if (!Tuple_annotations) return 0;
  ------------------
  |  Branch (3597:9): [True: 0, False: 2]
  ------------------
 3598|      2|    {
 3599|      2|        PyObject *type = state->expr_type;
 3600|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3601|      2|        cond = type != NULL;
 3602|      2|        if (!cond) {
  ------------------
  |  Branch (3602:13): [True: 0, False: 2]
  ------------------
 3603|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3604|      0|            return 0;
 3605|      0|        }
 3606|      2|        cond = PyDict_SetItemString(Tuple_annotations, "elts", type) == 0;
 3607|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3608|      2|        if (!cond) {
  ------------------
  |  Branch (3608:13): [True: 0, False: 2]
  ------------------
 3609|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      0|            return 0;
 3611|      0|        }
 3612|      2|    }
 3613|      2|    {
 3614|      2|        PyObject *type = state->expr_context_type;
 3615|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3616|      2|        cond = PyDict_SetItemString(Tuple_annotations, "ctx", type) == 0;
 3617|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3618|      2|        if (!cond) {
  ------------------
  |  Branch (3618:13): [True: 0, False: 2]
  ------------------
 3619|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|            return 0;
 3621|      0|        }
 3622|      2|    }
 3623|      2|    cond = PyObject_SetAttrString(state->Tuple_type, "_field_types",
 3624|      2|                                  Tuple_annotations) == 0;
 3625|      2|    if (!cond) {
  ------------------
  |  Branch (3625:9): [True: 0, False: 2]
  ------------------
 3626|      0|        Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      0|        return 0;
 3628|      0|    }
 3629|      2|    cond = PyObject_SetAttrString(state->Tuple_type, "__annotations__",
 3630|      2|                                  Tuple_annotations) == 0;
 3631|      2|    if (!cond) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 2]
  ------------------
 3632|      0|        Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3633|      0|        return 0;
 3634|      0|    }
 3635|      2|    Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3636|      2|    PyObject *Slice_annotations = PyDict_New();
 3637|      2|    if (!Slice_annotations) return 0;
  ------------------
  |  Branch (3637:9): [True: 0, False: 2]
  ------------------
 3638|      2|    {
 3639|      2|        PyObject *type = state->expr_type;
 3640|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3641|      2|        cond = type != NULL;
 3642|      2|        if (!cond) {
  ------------------
  |  Branch (3642:13): [True: 0, False: 2]
  ------------------
 3643|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3644|      0|            return 0;
 3645|      0|        }
 3646|      2|        cond = PyDict_SetItemString(Slice_annotations, "lower", type) == 0;
 3647|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|      2|        if (!cond) {
  ------------------
  |  Branch (3648:13): [True: 0, False: 2]
  ------------------
 3649|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|            return 0;
 3651|      0|        }
 3652|      2|    }
 3653|      2|    {
 3654|      2|        PyObject *type = state->expr_type;
 3655|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3656|      2|        cond = type != NULL;
 3657|      2|        if (!cond) {
  ------------------
  |  Branch (3657:13): [True: 0, False: 2]
  ------------------
 3658|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3659|      0|            return 0;
 3660|      0|        }
 3661|      2|        cond = PyDict_SetItemString(Slice_annotations, "upper", type) == 0;
 3662|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3663|      2|        if (!cond) {
  ------------------
  |  Branch (3663:13): [True: 0, False: 2]
  ------------------
 3664|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3665|      0|            return 0;
 3666|      0|        }
 3667|      2|    }
 3668|      2|    {
 3669|      2|        PyObject *type = state->expr_type;
 3670|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3671|      2|        cond = type != NULL;
 3672|      2|        if (!cond) {
  ------------------
  |  Branch (3672:13): [True: 0, False: 2]
  ------------------
 3673|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      0|            return 0;
 3675|      0|        }
 3676|      2|        cond = PyDict_SetItemString(Slice_annotations, "step", type) == 0;
 3677|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      2|        if (!cond) {
  ------------------
  |  Branch (3678:13): [True: 0, False: 2]
  ------------------
 3679|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3680|      0|            return 0;
 3681|      0|        }
 3682|      2|    }
 3683|      2|    cond = PyObject_SetAttrString(state->Slice_type, "_field_types",
 3684|      2|                                  Slice_annotations) == 0;
 3685|      2|    if (!cond) {
  ------------------
  |  Branch (3685:9): [True: 0, False: 2]
  ------------------
 3686|      0|        Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3687|      0|        return 0;
 3688|      0|    }
 3689|      2|    cond = PyObject_SetAttrString(state->Slice_type, "__annotations__",
 3690|      2|                                  Slice_annotations) == 0;
 3691|      2|    if (!cond) {
  ------------------
  |  Branch (3691:9): [True: 0, False: 2]
  ------------------
 3692|      0|        Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3693|      0|        return 0;
 3694|      0|    }
 3695|      2|    Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|      2|    PyObject *Load_annotations = PyDict_New();
 3697|      2|    if (!Load_annotations) return 0;
  ------------------
  |  Branch (3697:9): [True: 0, False: 2]
  ------------------
 3698|      2|    cond = PyObject_SetAttrString(state->Load_type, "_field_types",
 3699|      2|                                  Load_annotations) == 0;
 3700|      2|    if (!cond) {
  ------------------
  |  Branch (3700:9): [True: 0, False: 2]
  ------------------
 3701|      0|        Py_DECREF(Load_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      0|        return 0;
 3703|      0|    }
 3704|      2|    cond = PyObject_SetAttrString(state->Load_type, "__annotations__",
 3705|      2|                                  Load_annotations) == 0;
 3706|      2|    if (!cond) {
  ------------------
  |  Branch (3706:9): [True: 0, False: 2]
  ------------------
 3707|      0|        Py_DECREF(Load_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|      0|        return 0;
 3709|      0|    }
 3710|      2|    Py_DECREF(Load_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|      2|    PyObject *Store_annotations = PyDict_New();
 3712|      2|    if (!Store_annotations) return 0;
  ------------------
  |  Branch (3712:9): [True: 0, False: 2]
  ------------------
 3713|      2|    cond = PyObject_SetAttrString(state->Store_type, "_field_types",
 3714|      2|                                  Store_annotations) == 0;
 3715|      2|    if (!cond) {
  ------------------
  |  Branch (3715:9): [True: 0, False: 2]
  ------------------
 3716|      0|        Py_DECREF(Store_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|      0|        return 0;
 3718|      0|    }
 3719|      2|    cond = PyObject_SetAttrString(state->Store_type, "__annotations__",
 3720|      2|                                  Store_annotations) == 0;
 3721|      2|    if (!cond) {
  ------------------
  |  Branch (3721:9): [True: 0, False: 2]
  ------------------
 3722|      0|        Py_DECREF(Store_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3723|      0|        return 0;
 3724|      0|    }
 3725|      2|    Py_DECREF(Store_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|      2|    PyObject *Del_annotations = PyDict_New();
 3727|      2|    if (!Del_annotations) return 0;
  ------------------
  |  Branch (3727:9): [True: 0, False: 2]
  ------------------
 3728|      2|    cond = PyObject_SetAttrString(state->Del_type, "_field_types",
 3729|      2|                                  Del_annotations) == 0;
 3730|      2|    if (!cond) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 2]
  ------------------
 3731|      0|        Py_DECREF(Del_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3732|      0|        return 0;
 3733|      0|    }
 3734|      2|    cond = PyObject_SetAttrString(state->Del_type, "__annotations__",
 3735|      2|                                  Del_annotations) == 0;
 3736|      2|    if (!cond) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 2]
  ------------------
 3737|      0|        Py_DECREF(Del_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|      0|        return 0;
 3739|      0|    }
 3740|      2|    Py_DECREF(Del_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|      2|    PyObject *And_annotations = PyDict_New();
 3742|      2|    if (!And_annotations) return 0;
  ------------------
  |  Branch (3742:9): [True: 0, False: 2]
  ------------------
 3743|      2|    cond = PyObject_SetAttrString(state->And_type, "_field_types",
 3744|      2|                                  And_annotations) == 0;
 3745|      2|    if (!cond) {
  ------------------
  |  Branch (3745:9): [True: 0, False: 2]
  ------------------
 3746|      0|        Py_DECREF(And_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3747|      0|        return 0;
 3748|      0|    }
 3749|      2|    cond = PyObject_SetAttrString(state->And_type, "__annotations__",
 3750|      2|                                  And_annotations) == 0;
 3751|      2|    if (!cond) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 2]
  ------------------
 3752|      0|        Py_DECREF(And_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3753|      0|        return 0;
 3754|      0|    }
 3755|      2|    Py_DECREF(And_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3756|      2|    PyObject *Or_annotations = PyDict_New();
 3757|      2|    if (!Or_annotations) return 0;
  ------------------
  |  Branch (3757:9): [True: 0, False: 2]
  ------------------
 3758|      2|    cond = PyObject_SetAttrString(state->Or_type, "_field_types",
 3759|      2|                                  Or_annotations) == 0;
 3760|      2|    if (!cond) {
  ------------------
  |  Branch (3760:9): [True: 0, False: 2]
  ------------------
 3761|      0|        Py_DECREF(Or_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3762|      0|        return 0;
 3763|      0|    }
 3764|      2|    cond = PyObject_SetAttrString(state->Or_type, "__annotations__",
 3765|      2|                                  Or_annotations) == 0;
 3766|      2|    if (!cond) {
  ------------------
  |  Branch (3766:9): [True: 0, False: 2]
  ------------------
 3767|      0|        Py_DECREF(Or_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3768|      0|        return 0;
 3769|      0|    }
 3770|      2|    Py_DECREF(Or_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|      2|    PyObject *Add_annotations = PyDict_New();
 3772|      2|    if (!Add_annotations) return 0;
  ------------------
  |  Branch (3772:9): [True: 0, False: 2]
  ------------------
 3773|      2|    cond = PyObject_SetAttrString(state->Add_type, "_field_types",
 3774|      2|                                  Add_annotations) == 0;
 3775|      2|    if (!cond) {
  ------------------
  |  Branch (3775:9): [True: 0, False: 2]
  ------------------
 3776|      0|        Py_DECREF(Add_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3777|      0|        return 0;
 3778|      0|    }
 3779|      2|    cond = PyObject_SetAttrString(state->Add_type, "__annotations__",
 3780|      2|                                  Add_annotations) == 0;
 3781|      2|    if (!cond) {
  ------------------
  |  Branch (3781:9): [True: 0, False: 2]
  ------------------
 3782|      0|        Py_DECREF(Add_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3783|      0|        return 0;
 3784|      0|    }
 3785|      2|    Py_DECREF(Add_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3786|      2|    PyObject *Sub_annotations = PyDict_New();
 3787|      2|    if (!Sub_annotations) return 0;
  ------------------
  |  Branch (3787:9): [True: 0, False: 2]
  ------------------
 3788|      2|    cond = PyObject_SetAttrString(state->Sub_type, "_field_types",
 3789|      2|                                  Sub_annotations) == 0;
 3790|      2|    if (!cond) {
  ------------------
  |  Branch (3790:9): [True: 0, False: 2]
  ------------------
 3791|      0|        Py_DECREF(Sub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3792|      0|        return 0;
 3793|      0|    }
 3794|      2|    cond = PyObject_SetAttrString(state->Sub_type, "__annotations__",
 3795|      2|                                  Sub_annotations) == 0;
 3796|      2|    if (!cond) {
  ------------------
  |  Branch (3796:9): [True: 0, False: 2]
  ------------------
 3797|      0|        Py_DECREF(Sub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3798|      0|        return 0;
 3799|      0|    }
 3800|      2|    Py_DECREF(Sub_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3801|      2|    PyObject *Mult_annotations = PyDict_New();
 3802|      2|    if (!Mult_annotations) return 0;
  ------------------
  |  Branch (3802:9): [True: 0, False: 2]
  ------------------
 3803|      2|    cond = PyObject_SetAttrString(state->Mult_type, "_field_types",
 3804|      2|                                  Mult_annotations) == 0;
 3805|      2|    if (!cond) {
  ------------------
  |  Branch (3805:9): [True: 0, False: 2]
  ------------------
 3806|      0|        Py_DECREF(Mult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3807|      0|        return 0;
 3808|      0|    }
 3809|      2|    cond = PyObject_SetAttrString(state->Mult_type, "__annotations__",
 3810|      2|                                  Mult_annotations) == 0;
 3811|      2|    if (!cond) {
  ------------------
  |  Branch (3811:9): [True: 0, False: 2]
  ------------------
 3812|      0|        Py_DECREF(Mult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3813|      0|        return 0;
 3814|      0|    }
 3815|      2|    Py_DECREF(Mult_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|      2|    PyObject *MatMult_annotations = PyDict_New();
 3817|      2|    if (!MatMult_annotations) return 0;
  ------------------
  |  Branch (3817:9): [True: 0, False: 2]
  ------------------
 3818|      2|    cond = PyObject_SetAttrString(state->MatMult_type, "_field_types",
 3819|      2|                                  MatMult_annotations) == 0;
 3820|      2|    if (!cond) {
  ------------------
  |  Branch (3820:9): [True: 0, False: 2]
  ------------------
 3821|      0|        Py_DECREF(MatMult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3822|      0|        return 0;
 3823|      0|    }
 3824|      2|    cond = PyObject_SetAttrString(state->MatMult_type, "__annotations__",
 3825|      2|                                  MatMult_annotations) == 0;
 3826|      2|    if (!cond) {
  ------------------
  |  Branch (3826:9): [True: 0, False: 2]
  ------------------
 3827|      0|        Py_DECREF(MatMult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3828|      0|        return 0;
 3829|      0|    }
 3830|      2|    Py_DECREF(MatMult_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3831|      2|    PyObject *Div_annotations = PyDict_New();
 3832|      2|    if (!Div_annotations) return 0;
  ------------------
  |  Branch (3832:9): [True: 0, False: 2]
  ------------------
 3833|      2|    cond = PyObject_SetAttrString(state->Div_type, "_field_types",
 3834|      2|                                  Div_annotations) == 0;
 3835|      2|    if (!cond) {
  ------------------
  |  Branch (3835:9): [True: 0, False: 2]
  ------------------
 3836|      0|        Py_DECREF(Div_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3837|      0|        return 0;
 3838|      0|    }
 3839|      2|    cond = PyObject_SetAttrString(state->Div_type, "__annotations__",
 3840|      2|                                  Div_annotations) == 0;
 3841|      2|    if (!cond) {
  ------------------
  |  Branch (3841:9): [True: 0, False: 2]
  ------------------
 3842|      0|        Py_DECREF(Div_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3843|      0|        return 0;
 3844|      0|    }
 3845|      2|    Py_DECREF(Div_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3846|      2|    PyObject *Mod_annotations = PyDict_New();
 3847|      2|    if (!Mod_annotations) return 0;
  ------------------
  |  Branch (3847:9): [True: 0, False: 2]
  ------------------
 3848|      2|    cond = PyObject_SetAttrString(state->Mod_type, "_field_types",
 3849|      2|                                  Mod_annotations) == 0;
 3850|      2|    if (!cond) {
  ------------------
  |  Branch (3850:9): [True: 0, False: 2]
  ------------------
 3851|      0|        Py_DECREF(Mod_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|      0|        return 0;
 3853|      0|    }
 3854|      2|    cond = PyObject_SetAttrString(state->Mod_type, "__annotations__",
 3855|      2|                                  Mod_annotations) == 0;
 3856|      2|    if (!cond) {
  ------------------
  |  Branch (3856:9): [True: 0, False: 2]
  ------------------
 3857|      0|        Py_DECREF(Mod_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3858|      0|        return 0;
 3859|      0|    }
 3860|      2|    Py_DECREF(Mod_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3861|      2|    PyObject *Pow_annotations = PyDict_New();
 3862|      2|    if (!Pow_annotations) return 0;
  ------------------
  |  Branch (3862:9): [True: 0, False: 2]
  ------------------
 3863|      2|    cond = PyObject_SetAttrString(state->Pow_type, "_field_types",
 3864|      2|                                  Pow_annotations) == 0;
 3865|      2|    if (!cond) {
  ------------------
  |  Branch (3865:9): [True: 0, False: 2]
  ------------------
 3866|      0|        Py_DECREF(Pow_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|      0|        return 0;
 3868|      0|    }
 3869|      2|    cond = PyObject_SetAttrString(state->Pow_type, "__annotations__",
 3870|      2|                                  Pow_annotations) == 0;
 3871|      2|    if (!cond) {
  ------------------
  |  Branch (3871:9): [True: 0, False: 2]
  ------------------
 3872|      0|        Py_DECREF(Pow_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3873|      0|        return 0;
 3874|      0|    }
 3875|      2|    Py_DECREF(Pow_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3876|      2|    PyObject *LShift_annotations = PyDict_New();
 3877|      2|    if (!LShift_annotations) return 0;
  ------------------
  |  Branch (3877:9): [True: 0, False: 2]
  ------------------
 3878|      2|    cond = PyObject_SetAttrString(state->LShift_type, "_field_types",
 3879|      2|                                  LShift_annotations) == 0;
 3880|      2|    if (!cond) {
  ------------------
  |  Branch (3880:9): [True: 0, False: 2]
  ------------------
 3881|      0|        Py_DECREF(LShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3882|      0|        return 0;
 3883|      0|    }
 3884|      2|    cond = PyObject_SetAttrString(state->LShift_type, "__annotations__",
 3885|      2|                                  LShift_annotations) == 0;
 3886|      2|    if (!cond) {
  ------------------
  |  Branch (3886:9): [True: 0, False: 2]
  ------------------
 3887|      0|        Py_DECREF(LShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|      0|        return 0;
 3889|      0|    }
 3890|      2|    Py_DECREF(LShift_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3891|      2|    PyObject *RShift_annotations = PyDict_New();
 3892|      2|    if (!RShift_annotations) return 0;
  ------------------
  |  Branch (3892:9): [True: 0, False: 2]
  ------------------
 3893|      2|    cond = PyObject_SetAttrString(state->RShift_type, "_field_types",
 3894|      2|                                  RShift_annotations) == 0;
 3895|      2|    if (!cond) {
  ------------------
  |  Branch (3895:9): [True: 0, False: 2]
  ------------------
 3896|      0|        Py_DECREF(RShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3897|      0|        return 0;
 3898|      0|    }
 3899|      2|    cond = PyObject_SetAttrString(state->RShift_type, "__annotations__",
 3900|      2|                                  RShift_annotations) == 0;
 3901|      2|    if (!cond) {
  ------------------
  |  Branch (3901:9): [True: 0, False: 2]
  ------------------
 3902|      0|        Py_DECREF(RShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3903|      0|        return 0;
 3904|      0|    }
 3905|      2|    Py_DECREF(RShift_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3906|      2|    PyObject *BitOr_annotations = PyDict_New();
 3907|      2|    if (!BitOr_annotations) return 0;
  ------------------
  |  Branch (3907:9): [True: 0, False: 2]
  ------------------
 3908|      2|    cond = PyObject_SetAttrString(state->BitOr_type, "_field_types",
 3909|      2|                                  BitOr_annotations) == 0;
 3910|      2|    if (!cond) {
  ------------------
  |  Branch (3910:9): [True: 0, False: 2]
  ------------------
 3911|      0|        Py_DECREF(BitOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3912|      0|        return 0;
 3913|      0|    }
 3914|      2|    cond = PyObject_SetAttrString(state->BitOr_type, "__annotations__",
 3915|      2|                                  BitOr_annotations) == 0;
 3916|      2|    if (!cond) {
  ------------------
  |  Branch (3916:9): [True: 0, False: 2]
  ------------------
 3917|      0|        Py_DECREF(BitOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3918|      0|        return 0;
 3919|      0|    }
 3920|      2|    Py_DECREF(BitOr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3921|      2|    PyObject *BitXor_annotations = PyDict_New();
 3922|      2|    if (!BitXor_annotations) return 0;
  ------------------
  |  Branch (3922:9): [True: 0, False: 2]
  ------------------
 3923|      2|    cond = PyObject_SetAttrString(state->BitXor_type, "_field_types",
 3924|      2|                                  BitXor_annotations) == 0;
 3925|      2|    if (!cond) {
  ------------------
  |  Branch (3925:9): [True: 0, False: 2]
  ------------------
 3926|      0|        Py_DECREF(BitXor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3927|      0|        return 0;
 3928|      0|    }
 3929|      2|    cond = PyObject_SetAttrString(state->BitXor_type, "__annotations__",
 3930|      2|                                  BitXor_annotations) == 0;
 3931|      2|    if (!cond) {
  ------------------
  |  Branch (3931:9): [True: 0, False: 2]
  ------------------
 3932|      0|        Py_DECREF(BitXor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3933|      0|        return 0;
 3934|      0|    }
 3935|      2|    Py_DECREF(BitXor_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3936|      2|    PyObject *BitAnd_annotations = PyDict_New();
 3937|      2|    if (!BitAnd_annotations) return 0;
  ------------------
  |  Branch (3937:9): [True: 0, False: 2]
  ------------------
 3938|      2|    cond = PyObject_SetAttrString(state->BitAnd_type, "_field_types",
 3939|      2|                                  BitAnd_annotations) == 0;
 3940|      2|    if (!cond) {
  ------------------
  |  Branch (3940:9): [True: 0, False: 2]
  ------------------
 3941|      0|        Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3942|      0|        return 0;
 3943|      0|    }
 3944|      2|    cond = PyObject_SetAttrString(state->BitAnd_type, "__annotations__",
 3945|      2|                                  BitAnd_annotations) == 0;
 3946|      2|    if (!cond) {
  ------------------
  |  Branch (3946:9): [True: 0, False: 2]
  ------------------
 3947|      0|        Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3948|      0|        return 0;
 3949|      0|    }
 3950|      2|    Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3951|      2|    PyObject *FloorDiv_annotations = PyDict_New();
 3952|      2|    if (!FloorDiv_annotations) return 0;
  ------------------
  |  Branch (3952:9): [True: 0, False: 2]
  ------------------
 3953|      2|    cond = PyObject_SetAttrString(state->FloorDiv_type, "_field_types",
 3954|      2|                                  FloorDiv_annotations) == 0;
 3955|      2|    if (!cond) {
  ------------------
  |  Branch (3955:9): [True: 0, False: 2]
  ------------------
 3956|      0|        Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|      0|        return 0;
 3958|      0|    }
 3959|      2|    cond = PyObject_SetAttrString(state->FloorDiv_type, "__annotations__",
 3960|      2|                                  FloorDiv_annotations) == 0;
 3961|      2|    if (!cond) {
  ------------------
  |  Branch (3961:9): [True: 0, False: 2]
  ------------------
 3962|      0|        Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|      0|        return 0;
 3964|      0|    }
 3965|      2|    Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|      2|    PyObject *Invert_annotations = PyDict_New();
 3967|      2|    if (!Invert_annotations) return 0;
  ------------------
  |  Branch (3967:9): [True: 0, False: 2]
  ------------------
 3968|      2|    cond = PyObject_SetAttrString(state->Invert_type, "_field_types",
 3969|      2|                                  Invert_annotations) == 0;
 3970|      2|    if (!cond) {
  ------------------
  |  Branch (3970:9): [True: 0, False: 2]
  ------------------
 3971|      0|        Py_DECREF(Invert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3972|      0|        return 0;
 3973|      0|    }
 3974|      2|    cond = PyObject_SetAttrString(state->Invert_type, "__annotations__",
 3975|      2|                                  Invert_annotations) == 0;
 3976|      2|    if (!cond) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 2]
  ------------------
 3977|      0|        Py_DECREF(Invert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3978|      0|        return 0;
 3979|      0|    }
 3980|      2|    Py_DECREF(Invert_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      2|    PyObject *Not_annotations = PyDict_New();
 3982|      2|    if (!Not_annotations) return 0;
  ------------------
  |  Branch (3982:9): [True: 0, False: 2]
  ------------------
 3983|      2|    cond = PyObject_SetAttrString(state->Not_type, "_field_types",
 3984|      2|                                  Not_annotations) == 0;
 3985|      2|    if (!cond) {
  ------------------
  |  Branch (3985:9): [True: 0, False: 2]
  ------------------
 3986|      0|        Py_DECREF(Not_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3987|      0|        return 0;
 3988|      0|    }
 3989|      2|    cond = PyObject_SetAttrString(state->Not_type, "__annotations__",
 3990|      2|                                  Not_annotations) == 0;
 3991|      2|    if (!cond) {
  ------------------
  |  Branch (3991:9): [True: 0, False: 2]
  ------------------
 3992|      0|        Py_DECREF(Not_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3993|      0|        return 0;
 3994|      0|    }
 3995|      2|    Py_DECREF(Not_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3996|      2|    PyObject *UAdd_annotations = PyDict_New();
 3997|      2|    if (!UAdd_annotations) return 0;
  ------------------
  |  Branch (3997:9): [True: 0, False: 2]
  ------------------
 3998|      2|    cond = PyObject_SetAttrString(state->UAdd_type, "_field_types",
 3999|      2|                                  UAdd_annotations) == 0;
 4000|      2|    if (!cond) {
  ------------------
  |  Branch (4000:9): [True: 0, False: 2]
  ------------------
 4001|      0|        Py_DECREF(UAdd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|      0|        return 0;
 4003|      0|    }
 4004|      2|    cond = PyObject_SetAttrString(state->UAdd_type, "__annotations__",
 4005|      2|                                  UAdd_annotations) == 0;
 4006|      2|    if (!cond) {
  ------------------
  |  Branch (4006:9): [True: 0, False: 2]
  ------------------
 4007|      0|        Py_DECREF(UAdd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4008|      0|        return 0;
 4009|      0|    }
 4010|      2|    Py_DECREF(UAdd_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4011|      2|    PyObject *USub_annotations = PyDict_New();
 4012|      2|    if (!USub_annotations) return 0;
  ------------------
  |  Branch (4012:9): [True: 0, False: 2]
  ------------------
 4013|      2|    cond = PyObject_SetAttrString(state->USub_type, "_field_types",
 4014|      2|                                  USub_annotations) == 0;
 4015|      2|    if (!cond) {
  ------------------
  |  Branch (4015:9): [True: 0, False: 2]
  ------------------
 4016|      0|        Py_DECREF(USub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|      0|        return 0;
 4018|      0|    }
 4019|      2|    cond = PyObject_SetAttrString(state->USub_type, "__annotations__",
 4020|      2|                                  USub_annotations) == 0;
 4021|      2|    if (!cond) {
  ------------------
  |  Branch (4021:9): [True: 0, False: 2]
  ------------------
 4022|      0|        Py_DECREF(USub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|      0|        return 0;
 4024|      0|    }
 4025|      2|    Py_DECREF(USub_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|      2|    PyObject *Eq_annotations = PyDict_New();
 4027|      2|    if (!Eq_annotations) return 0;
  ------------------
  |  Branch (4027:9): [True: 0, False: 2]
  ------------------
 4028|      2|    cond = PyObject_SetAttrString(state->Eq_type, "_field_types",
 4029|      2|                                  Eq_annotations) == 0;
 4030|      2|    if (!cond) {
  ------------------
  |  Branch (4030:9): [True: 0, False: 2]
  ------------------
 4031|      0|        Py_DECREF(Eq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|        return 0;
 4033|      0|    }
 4034|      2|    cond = PyObject_SetAttrString(state->Eq_type, "__annotations__",
 4035|      2|                                  Eq_annotations) == 0;
 4036|      2|    if (!cond) {
  ------------------
  |  Branch (4036:9): [True: 0, False: 2]
  ------------------
 4037|      0|        Py_DECREF(Eq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|      0|        return 0;
 4039|      0|    }
 4040|      2|    Py_DECREF(Eq_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4041|      2|    PyObject *NotEq_annotations = PyDict_New();
 4042|      2|    if (!NotEq_annotations) return 0;
  ------------------
  |  Branch (4042:9): [True: 0, False: 2]
  ------------------
 4043|      2|    cond = PyObject_SetAttrString(state->NotEq_type, "_field_types",
 4044|      2|                                  NotEq_annotations) == 0;
 4045|      2|    if (!cond) {
  ------------------
  |  Branch (4045:9): [True: 0, False: 2]
  ------------------
 4046|      0|        Py_DECREF(NotEq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|      0|        return 0;
 4048|      0|    }
 4049|      2|    cond = PyObject_SetAttrString(state->NotEq_type, "__annotations__",
 4050|      2|                                  NotEq_annotations) == 0;
 4051|      2|    if (!cond) {
  ------------------
  |  Branch (4051:9): [True: 0, False: 2]
  ------------------
 4052|      0|        Py_DECREF(NotEq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|        return 0;
 4054|      0|    }
 4055|      2|    Py_DECREF(NotEq_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|      2|    PyObject *Lt_annotations = PyDict_New();
 4057|      2|    if (!Lt_annotations) return 0;
  ------------------
  |  Branch (4057:9): [True: 0, False: 2]
  ------------------
 4058|      2|    cond = PyObject_SetAttrString(state->Lt_type, "_field_types",
 4059|      2|                                  Lt_annotations) == 0;
 4060|      2|    if (!cond) {
  ------------------
  |  Branch (4060:9): [True: 0, False: 2]
  ------------------
 4061|      0|        Py_DECREF(Lt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|      0|        return 0;
 4063|      0|    }
 4064|      2|    cond = PyObject_SetAttrString(state->Lt_type, "__annotations__",
 4065|      2|                                  Lt_annotations) == 0;
 4066|      2|    if (!cond) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 2]
  ------------------
 4067|      0|        Py_DECREF(Lt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|      0|        return 0;
 4069|      0|    }
 4070|      2|    Py_DECREF(Lt_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4071|      2|    PyObject *LtE_annotations = PyDict_New();
 4072|      2|    if (!LtE_annotations) return 0;
  ------------------
  |  Branch (4072:9): [True: 0, False: 2]
  ------------------
 4073|      2|    cond = PyObject_SetAttrString(state->LtE_type, "_field_types",
 4074|      2|                                  LtE_annotations) == 0;
 4075|      2|    if (!cond) {
  ------------------
  |  Branch (4075:9): [True: 0, False: 2]
  ------------------
 4076|      0|        Py_DECREF(LtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4077|      0|        return 0;
 4078|      0|    }
 4079|      2|    cond = PyObject_SetAttrString(state->LtE_type, "__annotations__",
 4080|      2|                                  LtE_annotations) == 0;
 4081|      2|    if (!cond) {
  ------------------
  |  Branch (4081:9): [True: 0, False: 2]
  ------------------
 4082|      0|        Py_DECREF(LtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4083|      0|        return 0;
 4084|      0|    }
 4085|      2|    Py_DECREF(LtE_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|      2|    PyObject *Gt_annotations = PyDict_New();
 4087|      2|    if (!Gt_annotations) return 0;
  ------------------
  |  Branch (4087:9): [True: 0, False: 2]
  ------------------
 4088|      2|    cond = PyObject_SetAttrString(state->Gt_type, "_field_types",
 4089|      2|                                  Gt_annotations) == 0;
 4090|      2|    if (!cond) {
  ------------------
  |  Branch (4090:9): [True: 0, False: 2]
  ------------------
 4091|      0|        Py_DECREF(Gt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4092|      0|        return 0;
 4093|      0|    }
 4094|      2|    cond = PyObject_SetAttrString(state->Gt_type, "__annotations__",
 4095|      2|                                  Gt_annotations) == 0;
 4096|      2|    if (!cond) {
  ------------------
  |  Branch (4096:9): [True: 0, False: 2]
  ------------------
 4097|      0|        Py_DECREF(Gt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4098|      0|        return 0;
 4099|      0|    }
 4100|      2|    Py_DECREF(Gt_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4101|      2|    PyObject *GtE_annotations = PyDict_New();
 4102|      2|    if (!GtE_annotations) return 0;
  ------------------
  |  Branch (4102:9): [True: 0, False: 2]
  ------------------
 4103|      2|    cond = PyObject_SetAttrString(state->GtE_type, "_field_types",
 4104|      2|                                  GtE_annotations) == 0;
 4105|      2|    if (!cond) {
  ------------------
  |  Branch (4105:9): [True: 0, False: 2]
  ------------------
 4106|      0|        Py_DECREF(GtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4107|      0|        return 0;
 4108|      0|    }
 4109|      2|    cond = PyObject_SetAttrString(state->GtE_type, "__annotations__",
 4110|      2|                                  GtE_annotations) == 0;
 4111|      2|    if (!cond) {
  ------------------
  |  Branch (4111:9): [True: 0, False: 2]
  ------------------
 4112|      0|        Py_DECREF(GtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|      0|        return 0;
 4114|      0|    }
 4115|      2|    Py_DECREF(GtE_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4116|      2|    PyObject *Is_annotations = PyDict_New();
 4117|      2|    if (!Is_annotations) return 0;
  ------------------
  |  Branch (4117:9): [True: 0, False: 2]
  ------------------
 4118|      2|    cond = PyObject_SetAttrString(state->Is_type, "_field_types",
 4119|      2|                                  Is_annotations) == 0;
 4120|      2|    if (!cond) {
  ------------------
  |  Branch (4120:9): [True: 0, False: 2]
  ------------------
 4121|      0|        Py_DECREF(Is_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4122|      0|        return 0;
 4123|      0|    }
 4124|      2|    cond = PyObject_SetAttrString(state->Is_type, "__annotations__",
 4125|      2|                                  Is_annotations) == 0;
 4126|      2|    if (!cond) {
  ------------------
  |  Branch (4126:9): [True: 0, False: 2]
  ------------------
 4127|      0|        Py_DECREF(Is_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|      0|        return 0;
 4129|      0|    }
 4130|      2|    Py_DECREF(Is_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4131|      2|    PyObject *IsNot_annotations = PyDict_New();
 4132|      2|    if (!IsNot_annotations) return 0;
  ------------------
  |  Branch (4132:9): [True: 0, False: 2]
  ------------------
 4133|      2|    cond = PyObject_SetAttrString(state->IsNot_type, "_field_types",
 4134|      2|                                  IsNot_annotations) == 0;
 4135|      2|    if (!cond) {
  ------------------
  |  Branch (4135:9): [True: 0, False: 2]
  ------------------
 4136|      0|        Py_DECREF(IsNot_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|      0|        return 0;
 4138|      0|    }
 4139|      2|    cond = PyObject_SetAttrString(state->IsNot_type, "__annotations__",
 4140|      2|                                  IsNot_annotations) == 0;
 4141|      2|    if (!cond) {
  ------------------
  |  Branch (4141:9): [True: 0, False: 2]
  ------------------
 4142|      0|        Py_DECREF(IsNot_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4143|      0|        return 0;
 4144|      0|    }
 4145|      2|    Py_DECREF(IsNot_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|      2|    PyObject *In_annotations = PyDict_New();
 4147|      2|    if (!In_annotations) return 0;
  ------------------
  |  Branch (4147:9): [True: 0, False: 2]
  ------------------
 4148|      2|    cond = PyObject_SetAttrString(state->In_type, "_field_types",
 4149|      2|                                  In_annotations) == 0;
 4150|      2|    if (!cond) {
  ------------------
  |  Branch (4150:9): [True: 0, False: 2]
  ------------------
 4151|      0|        Py_DECREF(In_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4152|      0|        return 0;
 4153|      0|    }
 4154|      2|    cond = PyObject_SetAttrString(state->In_type, "__annotations__",
 4155|      2|                                  In_annotations) == 0;
 4156|      2|    if (!cond) {
  ------------------
  |  Branch (4156:9): [True: 0, False: 2]
  ------------------
 4157|      0|        Py_DECREF(In_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4158|      0|        return 0;
 4159|      0|    }
 4160|      2|    Py_DECREF(In_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4161|      2|    PyObject *NotIn_annotations = PyDict_New();
 4162|      2|    if (!NotIn_annotations) return 0;
  ------------------
  |  Branch (4162:9): [True: 0, False: 2]
  ------------------
 4163|      2|    cond = PyObject_SetAttrString(state->NotIn_type, "_field_types",
 4164|      2|                                  NotIn_annotations) == 0;
 4165|      2|    if (!cond) {
  ------------------
  |  Branch (4165:9): [True: 0, False: 2]
  ------------------
 4166|      0|        Py_DECREF(NotIn_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      0|        return 0;
 4168|      0|    }
 4169|      2|    cond = PyObject_SetAttrString(state->NotIn_type, "__annotations__",
 4170|      2|                                  NotIn_annotations) == 0;
 4171|      2|    if (!cond) {
  ------------------
  |  Branch (4171:9): [True: 0, False: 2]
  ------------------
 4172|      0|        Py_DECREF(NotIn_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      0|        return 0;
 4174|      0|    }
 4175|      2|    Py_DECREF(NotIn_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4176|      2|    PyObject *comprehension_annotations = PyDict_New();
 4177|      2|    if (!comprehension_annotations) return 0;
  ------------------
  |  Branch (4177:9): [True: 0, False: 2]
  ------------------
 4178|      2|    {
 4179|      2|        PyObject *type = state->expr_type;
 4180|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|      2|        cond = PyDict_SetItemString(comprehension_annotations, "target", type)
 4182|      2|                                    == 0;
 4183|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4184|      2|        if (!cond) {
  ------------------
  |  Branch (4184:13): [True: 0, False: 2]
  ------------------
 4185|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4186|      0|            return 0;
 4187|      0|        }
 4188|      2|    }
 4189|      2|    {
 4190|      2|        PyObject *type = state->expr_type;
 4191|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      2|        cond = PyDict_SetItemString(comprehension_annotations, "iter", type) ==
 4193|      2|                                    0;
 4194|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4195|      2|        if (!cond) {
  ------------------
  |  Branch (4195:13): [True: 0, False: 2]
  ------------------
 4196|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4197|      0|            return 0;
 4198|      0|        }
 4199|      2|    }
 4200|      2|    {
 4201|      2|        PyObject *type = state->expr_type;
 4202|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4203|      2|        cond = type != NULL;
 4204|      2|        if (!cond) {
  ------------------
  |  Branch (4204:13): [True: 0, False: 2]
  ------------------
 4205|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4206|      0|            return 0;
 4207|      0|        }
 4208|      2|        cond = PyDict_SetItemString(comprehension_annotations, "ifs", type) ==
 4209|      2|                                    0;
 4210|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4211|      2|        if (!cond) {
  ------------------
  |  Branch (4211:13): [True: 0, False: 2]
  ------------------
 4212|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4213|      0|            return 0;
 4214|      0|        }
 4215|      2|    }
 4216|      2|    {
 4217|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 4218|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4219|      2|        cond = PyDict_SetItemString(comprehension_annotations, "is_async",
 4220|      2|                                    type) == 0;
 4221|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|      2|        if (!cond) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 2]
  ------------------
 4223|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4224|      0|            return 0;
 4225|      0|        }
 4226|      2|    }
 4227|      2|    cond = PyObject_SetAttrString(state->comprehension_type, "_field_types",
 4228|      2|                                  comprehension_annotations) == 0;
 4229|      2|    if (!cond) {
  ------------------
  |  Branch (4229:9): [True: 0, False: 2]
  ------------------
 4230|      0|        Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4231|      0|        return 0;
 4232|      0|    }
 4233|      2|    cond = PyObject_SetAttrString(state->comprehension_type, "__annotations__",
 4234|      2|                                  comprehension_annotations) == 0;
 4235|      2|    if (!cond) {
  ------------------
  |  Branch (4235:9): [True: 0, False: 2]
  ------------------
 4236|      0|        Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|        return 0;
 4238|      0|    }
 4239|      2|    Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      2|    PyObject *ExceptHandler_annotations = PyDict_New();
 4241|      2|    if (!ExceptHandler_annotations) return 0;
  ------------------
  |  Branch (4241:9): [True: 0, False: 2]
  ------------------
 4242|      2|    {
 4243|      2|        PyObject *type = state->expr_type;
 4244|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4245|      2|        cond = type != NULL;
 4246|      2|        if (!cond) {
  ------------------
  |  Branch (4246:13): [True: 0, False: 2]
  ------------------
 4247|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4248|      0|            return 0;
 4249|      0|        }
 4250|      2|        cond = PyDict_SetItemString(ExceptHandler_annotations, "type", type) ==
 4251|      2|                                    0;
 4252|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|      2|        if (!cond) {
  ------------------
  |  Branch (4253:13): [True: 0, False: 2]
  ------------------
 4254|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|      0|            return 0;
 4256|      0|        }
 4257|      2|    }
 4258|      2|    {
 4259|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4260|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4261|      2|        cond = type != NULL;
 4262|      2|        if (!cond) {
  ------------------
  |  Branch (4262:13): [True: 0, False: 2]
  ------------------
 4263|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      0|            return 0;
 4265|      0|        }
 4266|      2|        cond = PyDict_SetItemString(ExceptHandler_annotations, "name", type) ==
 4267|      2|                                    0;
 4268|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|      2|        if (!cond) {
  ------------------
  |  Branch (4269:13): [True: 0, False: 2]
  ------------------
 4270|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4271|      0|            return 0;
 4272|      0|        }
 4273|      2|    }
 4274|      2|    {
 4275|      2|        PyObject *type = state->stmt_type;
 4276|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4277|      2|        cond = type != NULL;
 4278|      2|        if (!cond) {
  ------------------
  |  Branch (4278:13): [True: 0, False: 2]
  ------------------
 4279|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4280|      0|            return 0;
 4281|      0|        }
 4282|      2|        cond = PyDict_SetItemString(ExceptHandler_annotations, "body", type) ==
 4283|      2|                                    0;
 4284|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|      2|        if (!cond) {
  ------------------
  |  Branch (4285:13): [True: 0, False: 2]
  ------------------
 4286|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4287|      0|            return 0;
 4288|      0|        }
 4289|      2|    }
 4290|      2|    cond = PyObject_SetAttrString(state->ExceptHandler_type, "_field_types",
 4291|      2|                                  ExceptHandler_annotations) == 0;
 4292|      2|    if (!cond) {
  ------------------
  |  Branch (4292:9): [True: 0, False: 2]
  ------------------
 4293|      0|        Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4294|      0|        return 0;
 4295|      0|    }
 4296|      2|    cond = PyObject_SetAttrString(state->ExceptHandler_type, "__annotations__",
 4297|      2|                                  ExceptHandler_annotations) == 0;
 4298|      2|    if (!cond) {
  ------------------
  |  Branch (4298:9): [True: 0, False: 2]
  ------------------
 4299|      0|        Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4300|      0|        return 0;
 4301|      0|    }
 4302|      2|    Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4303|      2|    PyObject *arguments_annotations = PyDict_New();
 4304|      2|    if (!arguments_annotations) return 0;
  ------------------
  |  Branch (4304:9): [True: 0, False: 2]
  ------------------
 4305|      2|    {
 4306|      2|        PyObject *type = state->arg_type;
 4307|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4308|      2|        cond = type != NULL;
 4309|      2|        if (!cond) {
  ------------------
  |  Branch (4309:13): [True: 0, False: 2]
  ------------------
 4310|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4311|      0|            return 0;
 4312|      0|        }
 4313|      2|        cond = PyDict_SetItemString(arguments_annotations, "posonlyargs", type)
 4314|      2|                                    == 0;
 4315|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4316|      2|        if (!cond) {
  ------------------
  |  Branch (4316:13): [True: 0, False: 2]
  ------------------
 4317|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4318|      0|            return 0;
 4319|      0|        }
 4320|      2|    }
 4321|      2|    {
 4322|      2|        PyObject *type = state->arg_type;
 4323|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4324|      2|        cond = type != NULL;
 4325|      2|        if (!cond) {
  ------------------
  |  Branch (4325:13): [True: 0, False: 2]
  ------------------
 4326|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4327|      0|            return 0;
 4328|      0|        }
 4329|      2|        cond = PyDict_SetItemString(arguments_annotations, "args", type) == 0;
 4330|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4331|      2|        if (!cond) {
  ------------------
  |  Branch (4331:13): [True: 0, False: 2]
  ------------------
 4332|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|      0|            return 0;
 4334|      0|        }
 4335|      2|    }
 4336|      2|    {
 4337|      2|        PyObject *type = state->arg_type;
 4338|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4339|      2|        cond = type != NULL;
 4340|      2|        if (!cond) {
  ------------------
  |  Branch (4340:13): [True: 0, False: 2]
  ------------------
 4341|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4342|      0|            return 0;
 4343|      0|        }
 4344|      2|        cond = PyDict_SetItemString(arguments_annotations, "vararg", type) == 0;
 4345|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4346|      2|        if (!cond) {
  ------------------
  |  Branch (4346:13): [True: 0, False: 2]
  ------------------
 4347|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|      0|            return 0;
 4349|      0|        }
 4350|      2|    }
 4351|      2|    {
 4352|      2|        PyObject *type = state->arg_type;
 4353|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4354|      2|        cond = type != NULL;
 4355|      2|        if (!cond) {
  ------------------
  |  Branch (4355:13): [True: 0, False: 2]
  ------------------
 4356|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4357|      0|            return 0;
 4358|      0|        }
 4359|      2|        cond = PyDict_SetItemString(arguments_annotations, "kwonlyargs", type)
 4360|      2|                                    == 0;
 4361|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4362|      2|        if (!cond) {
  ------------------
  |  Branch (4362:13): [True: 0, False: 2]
  ------------------
 4363|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4364|      0|            return 0;
 4365|      0|        }
 4366|      2|    }
 4367|      2|    {
 4368|      2|        PyObject *type = state->expr_type;
 4369|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4370|      2|        cond = type != NULL;
 4371|      2|        if (!cond) {
  ------------------
  |  Branch (4371:13): [True: 0, False: 2]
  ------------------
 4372|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4373|      0|            return 0;
 4374|      0|        }
 4375|      2|        cond = PyDict_SetItemString(arguments_annotations, "kw_defaults", type)
 4376|      2|                                    == 0;
 4377|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|      2|        if (!cond) {
  ------------------
  |  Branch (4378:13): [True: 0, False: 2]
  ------------------
 4379|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|      0|            return 0;
 4381|      0|        }
 4382|      2|    }
 4383|      2|    {
 4384|      2|        PyObject *type = state->arg_type;
 4385|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4386|      2|        cond = type != NULL;
 4387|      2|        if (!cond) {
  ------------------
  |  Branch (4387:13): [True: 0, False: 2]
  ------------------
 4388|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4389|      0|            return 0;
 4390|      0|        }
 4391|      2|        cond = PyDict_SetItemString(arguments_annotations, "kwarg", type) == 0;
 4392|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4393|      2|        if (!cond) {
  ------------------
  |  Branch (4393:13): [True: 0, False: 2]
  ------------------
 4394|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4395|      0|            return 0;
 4396|      0|        }
 4397|      2|    }
 4398|      2|    {
 4399|      2|        PyObject *type = state->expr_type;
 4400|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4401|      2|        cond = type != NULL;
 4402|      2|        if (!cond) {
  ------------------
  |  Branch (4402:13): [True: 0, False: 2]
  ------------------
 4403|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4404|      0|            return 0;
 4405|      0|        }
 4406|      2|        cond = PyDict_SetItemString(arguments_annotations, "defaults", type) ==
 4407|      2|                                    0;
 4408|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4409|      2|        if (!cond) {
  ------------------
  |  Branch (4409:13): [True: 0, False: 2]
  ------------------
 4410|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4411|      0|            return 0;
 4412|      0|        }
 4413|      2|    }
 4414|      2|    cond = PyObject_SetAttrString(state->arguments_type, "_field_types",
 4415|      2|                                  arguments_annotations) == 0;
 4416|      2|    if (!cond) {
  ------------------
  |  Branch (4416:9): [True: 0, False: 2]
  ------------------
 4417|      0|        Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|      0|        return 0;
 4419|      0|    }
 4420|      2|    cond = PyObject_SetAttrString(state->arguments_type, "__annotations__",
 4421|      2|                                  arguments_annotations) == 0;
 4422|      2|    if (!cond) {
  ------------------
  |  Branch (4422:9): [True: 0, False: 2]
  ------------------
 4423|      0|        Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4424|      0|        return 0;
 4425|      0|    }
 4426|      2|    Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|      2|    PyObject *arg_annotations = PyDict_New();
 4428|      2|    if (!arg_annotations) return 0;
  ------------------
  |  Branch (4428:9): [True: 0, False: 2]
  ------------------
 4429|      2|    {
 4430|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4431|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|      2|        cond = PyDict_SetItemString(arg_annotations, "arg", type) == 0;
 4433|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4434|      2|        if (!cond) {
  ------------------
  |  Branch (4434:13): [True: 0, False: 2]
  ------------------
 4435|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|      0|            return 0;
 4437|      0|        }
 4438|      2|    }
 4439|      2|    {
 4440|      2|        PyObject *type = state->expr_type;
 4441|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4442|      2|        cond = type != NULL;
 4443|      2|        if (!cond) {
  ------------------
  |  Branch (4443:13): [True: 0, False: 2]
  ------------------
 4444|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4445|      0|            return 0;
 4446|      0|        }
 4447|      2|        cond = PyDict_SetItemString(arg_annotations, "annotation", type) == 0;
 4448|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4449|      2|        if (!cond) {
  ------------------
  |  Branch (4449:13): [True: 0, False: 2]
  ------------------
 4450|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|            return 0;
 4452|      0|        }
 4453|      2|    }
 4454|      2|    {
 4455|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4456|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4457|      2|        cond = type != NULL;
 4458|      2|        if (!cond) {
  ------------------
  |  Branch (4458:13): [True: 0, False: 2]
  ------------------
 4459|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      0|            return 0;
 4461|      0|        }
 4462|      2|        cond = PyDict_SetItemString(arg_annotations, "type_comment", type) == 0;
 4463|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|      2|        if (!cond) {
  ------------------
  |  Branch (4464:13): [True: 0, False: 2]
  ------------------
 4465|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|      0|            return 0;
 4467|      0|        }
 4468|      2|    }
 4469|      2|    cond = PyObject_SetAttrString(state->arg_type, "_field_types",
 4470|      2|                                  arg_annotations) == 0;
 4471|      2|    if (!cond) {
  ------------------
  |  Branch (4471:9): [True: 0, False: 2]
  ------------------
 4472|      0|        Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4473|      0|        return 0;
 4474|      0|    }
 4475|      2|    cond = PyObject_SetAttrString(state->arg_type, "__annotations__",
 4476|      2|                                  arg_annotations) == 0;
 4477|      2|    if (!cond) {
  ------------------
  |  Branch (4477:9): [True: 0, False: 2]
  ------------------
 4478|      0|        Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4479|      0|        return 0;
 4480|      0|    }
 4481|      2|    Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4482|      2|    PyObject *keyword_annotations = PyDict_New();
 4483|      2|    if (!keyword_annotations) return 0;
  ------------------
  |  Branch (4483:9): [True: 0, False: 2]
  ------------------
 4484|      2|    {
 4485|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4486|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4487|      2|        cond = type != NULL;
 4488|      2|        if (!cond) {
  ------------------
  |  Branch (4488:13): [True: 0, False: 2]
  ------------------
 4489|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      0|            return 0;
 4491|      0|        }
 4492|      2|        cond = PyDict_SetItemString(keyword_annotations, "arg", type) == 0;
 4493|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4494|      2|        if (!cond) {
  ------------------
  |  Branch (4494:13): [True: 0, False: 2]
  ------------------
 4495|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4496|      0|            return 0;
 4497|      0|        }
 4498|      2|    }
 4499|      2|    {
 4500|      2|        PyObject *type = state->expr_type;
 4501|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4502|      2|        cond = PyDict_SetItemString(keyword_annotations, "value", type) == 0;
 4503|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4504|      2|        if (!cond) {
  ------------------
  |  Branch (4504:13): [True: 0, False: 2]
  ------------------
 4505|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4506|      0|            return 0;
 4507|      0|        }
 4508|      2|    }
 4509|      2|    cond = PyObject_SetAttrString(state->keyword_type, "_field_types",
 4510|      2|                                  keyword_annotations) == 0;
 4511|      2|    if (!cond) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 2]
  ------------------
 4512|      0|        Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4513|      0|        return 0;
 4514|      0|    }
 4515|      2|    cond = PyObject_SetAttrString(state->keyword_type, "__annotations__",
 4516|      2|                                  keyword_annotations) == 0;
 4517|      2|    if (!cond) {
  ------------------
  |  Branch (4517:9): [True: 0, False: 2]
  ------------------
 4518|      0|        Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4519|      0|        return 0;
 4520|      0|    }
 4521|      2|    Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4522|      2|    PyObject *alias_annotations = PyDict_New();
 4523|      2|    if (!alias_annotations) return 0;
  ------------------
  |  Branch (4523:9): [True: 0, False: 2]
  ------------------
 4524|      2|    {
 4525|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4526|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      2|        cond = PyDict_SetItemString(alias_annotations, "name", type) == 0;
 4528|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4529|      2|        if (!cond) {
  ------------------
  |  Branch (4529:13): [True: 0, False: 2]
  ------------------
 4530|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|      0|            return 0;
 4532|      0|        }
 4533|      2|    }
 4534|      2|    {
 4535|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4536|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4537|      2|        cond = type != NULL;
 4538|      2|        if (!cond) {
  ------------------
  |  Branch (4538:13): [True: 0, False: 2]
  ------------------
 4539|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4540|      0|            return 0;
 4541|      0|        }
 4542|      2|        cond = PyDict_SetItemString(alias_annotations, "asname", type) == 0;
 4543|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4544|      2|        if (!cond) {
  ------------------
  |  Branch (4544:13): [True: 0, False: 2]
  ------------------
 4545|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|      0|            return 0;
 4547|      0|        }
 4548|      2|    }
 4549|      2|    cond = PyObject_SetAttrString(state->alias_type, "_field_types",
 4550|      2|                                  alias_annotations) == 0;
 4551|      2|    if (!cond) {
  ------------------
  |  Branch (4551:9): [True: 0, False: 2]
  ------------------
 4552|      0|        Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4553|      0|        return 0;
 4554|      0|    }
 4555|      2|    cond = PyObject_SetAttrString(state->alias_type, "__annotations__",
 4556|      2|                                  alias_annotations) == 0;
 4557|      2|    if (!cond) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 2]
  ------------------
 4558|      0|        Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|      0|        return 0;
 4560|      0|    }
 4561|      2|    Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4562|      2|    PyObject *withitem_annotations = PyDict_New();
 4563|      2|    if (!withitem_annotations) return 0;
  ------------------
  |  Branch (4563:9): [True: 0, False: 2]
  ------------------
 4564|      2|    {
 4565|      2|        PyObject *type = state->expr_type;
 4566|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4567|      2|        cond = PyDict_SetItemString(withitem_annotations, "context_expr", type)
 4568|      2|                                    == 0;
 4569|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4570|      2|        if (!cond) {
  ------------------
  |  Branch (4570:13): [True: 0, False: 2]
  ------------------
 4571|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4572|      0|            return 0;
 4573|      0|        }
 4574|      2|    }
 4575|      2|    {
 4576|      2|        PyObject *type = state->expr_type;
 4577|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4578|      2|        cond = type != NULL;
 4579|      2|        if (!cond) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 2]
  ------------------
 4580|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4581|      0|            return 0;
 4582|      0|        }
 4583|      2|        cond = PyDict_SetItemString(withitem_annotations, "optional_vars",
 4584|      2|                                    type) == 0;
 4585|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4586|      2|        if (!cond) {
  ------------------
  |  Branch (4586:13): [True: 0, False: 2]
  ------------------
 4587|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4588|      0|            return 0;
 4589|      0|        }
 4590|      2|    }
 4591|      2|    cond = PyObject_SetAttrString(state->withitem_type, "_field_types",
 4592|      2|                                  withitem_annotations) == 0;
 4593|      2|    if (!cond) {
  ------------------
  |  Branch (4593:9): [True: 0, False: 2]
  ------------------
 4594|      0|        Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4595|      0|        return 0;
 4596|      0|    }
 4597|      2|    cond = PyObject_SetAttrString(state->withitem_type, "__annotations__",
 4598|      2|                                  withitem_annotations) == 0;
 4599|      2|    if (!cond) {
  ------------------
  |  Branch (4599:9): [True: 0, False: 2]
  ------------------
 4600|      0|        Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4601|      0|        return 0;
 4602|      0|    }
 4603|      2|    Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4604|      2|    PyObject *match_case_annotations = PyDict_New();
 4605|      2|    if (!match_case_annotations) return 0;
  ------------------
  |  Branch (4605:9): [True: 0, False: 2]
  ------------------
 4606|      2|    {
 4607|      2|        PyObject *type = state->pattern_type;
 4608|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|      2|        cond = PyDict_SetItemString(match_case_annotations, "pattern", type) ==
 4610|      2|                                    0;
 4611|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4612|      2|        if (!cond) {
  ------------------
  |  Branch (4612:13): [True: 0, False: 2]
  ------------------
 4613|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|      0|            return 0;
 4615|      0|        }
 4616|      2|    }
 4617|      2|    {
 4618|      2|        PyObject *type = state->expr_type;
 4619|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4620|      2|        cond = type != NULL;
 4621|      2|        if (!cond) {
  ------------------
  |  Branch (4621:13): [True: 0, False: 2]
  ------------------
 4622|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4623|      0|            return 0;
 4624|      0|        }
 4625|      2|        cond = PyDict_SetItemString(match_case_annotations, "guard", type) == 0;
 4626|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4627|      2|        if (!cond) {
  ------------------
  |  Branch (4627:13): [True: 0, False: 2]
  ------------------
 4628|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4629|      0|            return 0;
 4630|      0|        }
 4631|      2|    }
 4632|      2|    {
 4633|      2|        PyObject *type = state->stmt_type;
 4634|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4635|      2|        cond = type != NULL;
 4636|      2|        if (!cond) {
  ------------------
  |  Branch (4636:13): [True: 0, False: 2]
  ------------------
 4637|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4638|      0|            return 0;
 4639|      0|        }
 4640|      2|        cond = PyDict_SetItemString(match_case_annotations, "body", type) == 0;
 4641|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|      2|        if (!cond) {
  ------------------
  |  Branch (4642:13): [True: 0, False: 2]
  ------------------
 4643|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4644|      0|            return 0;
 4645|      0|        }
 4646|      2|    }
 4647|      2|    cond = PyObject_SetAttrString(state->match_case_type, "_field_types",
 4648|      2|                                  match_case_annotations) == 0;
 4649|      2|    if (!cond) {
  ------------------
  |  Branch (4649:9): [True: 0, False: 2]
  ------------------
 4650|      0|        Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4651|      0|        return 0;
 4652|      0|    }
 4653|      2|    cond = PyObject_SetAttrString(state->match_case_type, "__annotations__",
 4654|      2|                                  match_case_annotations) == 0;
 4655|      2|    if (!cond) {
  ------------------
  |  Branch (4655:9): [True: 0, False: 2]
  ------------------
 4656|      0|        Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4657|      0|        return 0;
 4658|      0|    }
 4659|      2|    Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4660|      2|    PyObject *MatchValue_annotations = PyDict_New();
 4661|      2|    if (!MatchValue_annotations) return 0;
  ------------------
  |  Branch (4661:9): [True: 0, False: 2]
  ------------------
 4662|      2|    {
 4663|      2|        PyObject *type = state->expr_type;
 4664|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|      2|        cond = PyDict_SetItemString(MatchValue_annotations, "value", type) == 0;
 4666|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4667|      2|        if (!cond) {
  ------------------
  |  Branch (4667:13): [True: 0, False: 2]
  ------------------
 4668|      0|            Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4669|      0|            return 0;
 4670|      0|        }
 4671|      2|    }
 4672|      2|    cond = PyObject_SetAttrString(state->MatchValue_type, "_field_types",
 4673|      2|                                  MatchValue_annotations) == 0;
 4674|      2|    if (!cond) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 2]
  ------------------
 4675|      0|        Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4676|      0|        return 0;
 4677|      0|    }
 4678|      2|    cond = PyObject_SetAttrString(state->MatchValue_type, "__annotations__",
 4679|      2|                                  MatchValue_annotations) == 0;
 4680|      2|    if (!cond) {
  ------------------
  |  Branch (4680:9): [True: 0, False: 2]
  ------------------
 4681|      0|        Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|      0|        return 0;
 4683|      0|    }
 4684|      2|    Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4685|      2|    PyObject *MatchSingleton_annotations = PyDict_New();
 4686|      2|    if (!MatchSingleton_annotations) return 0;
  ------------------
  |  Branch (4686:9): [True: 0, False: 2]
  ------------------
 4687|      2|    {
 4688|      2|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 4689|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4690|      2|        cond = PyDict_SetItemString(MatchSingleton_annotations, "value", type)
 4691|      2|                                    == 0;
 4692|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4693|      2|        if (!cond) {
  ------------------
  |  Branch (4693:13): [True: 0, False: 2]
  ------------------
 4694|      0|            Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4695|      0|            return 0;
 4696|      0|        }
 4697|      2|    }
 4698|      2|    cond = PyObject_SetAttrString(state->MatchSingleton_type, "_field_types",
 4699|      2|                                  MatchSingleton_annotations) == 0;
 4700|      2|    if (!cond) {
  ------------------
  |  Branch (4700:9): [True: 0, False: 2]
  ------------------
 4701|      0|        Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4702|      0|        return 0;
 4703|      0|    }
 4704|      2|    cond = PyObject_SetAttrString(state->MatchSingleton_type,
 4705|      2|                                  "__annotations__",
 4706|      2|                                  MatchSingleton_annotations) == 0;
 4707|      2|    if (!cond) {
  ------------------
  |  Branch (4707:9): [True: 0, False: 2]
  ------------------
 4708|      0|        Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4709|      0|        return 0;
 4710|      0|    }
 4711|      2|    Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4712|      2|    PyObject *MatchSequence_annotations = PyDict_New();
 4713|      2|    if (!MatchSequence_annotations) return 0;
  ------------------
  |  Branch (4713:9): [True: 0, False: 2]
  ------------------
 4714|      2|    {
 4715|      2|        PyObject *type = state->pattern_type;
 4716|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4717|      2|        cond = type != NULL;
 4718|      2|        if (!cond) {
  ------------------
  |  Branch (4718:13): [True: 0, False: 2]
  ------------------
 4719|      0|            Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4720|      0|            return 0;
 4721|      0|        }
 4722|      2|        cond = PyDict_SetItemString(MatchSequence_annotations, "patterns",
 4723|      2|                                    type) == 0;
 4724|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4725|      2|        if (!cond) {
  ------------------
  |  Branch (4725:13): [True: 0, False: 2]
  ------------------
 4726|      0|            Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4727|      0|            return 0;
 4728|      0|        }
 4729|      2|    }
 4730|      2|    cond = PyObject_SetAttrString(state->MatchSequence_type, "_field_types",
 4731|      2|                                  MatchSequence_annotations) == 0;
 4732|      2|    if (!cond) {
  ------------------
  |  Branch (4732:9): [True: 0, False: 2]
  ------------------
 4733|      0|        Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4734|      0|        return 0;
 4735|      0|    }
 4736|      2|    cond = PyObject_SetAttrString(state->MatchSequence_type, "__annotations__",
 4737|      2|                                  MatchSequence_annotations) == 0;
 4738|      2|    if (!cond) {
  ------------------
  |  Branch (4738:9): [True: 0, False: 2]
  ------------------
 4739|      0|        Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4740|      0|        return 0;
 4741|      0|    }
 4742|      2|    Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4743|      2|    PyObject *MatchMapping_annotations = PyDict_New();
 4744|      2|    if (!MatchMapping_annotations) return 0;
  ------------------
  |  Branch (4744:9): [True: 0, False: 2]
  ------------------
 4745|      2|    {
 4746|      2|        PyObject *type = state->expr_type;
 4747|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4748|      2|        cond = type != NULL;
 4749|      2|        if (!cond) {
  ------------------
  |  Branch (4749:13): [True: 0, False: 2]
  ------------------
 4750|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4751|      0|            return 0;
 4752|      0|        }
 4753|      2|        cond = PyDict_SetItemString(MatchMapping_annotations, "keys", type) ==
 4754|      2|                                    0;
 4755|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4756|      2|        if (!cond) {
  ------------------
  |  Branch (4756:13): [True: 0, False: 2]
  ------------------
 4757|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4758|      0|            return 0;
 4759|      0|        }
 4760|      2|    }
 4761|      2|    {
 4762|      2|        PyObject *type = state->pattern_type;
 4763|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4764|      2|        cond = type != NULL;
 4765|      2|        if (!cond) {
  ------------------
  |  Branch (4765:13): [True: 0, False: 2]
  ------------------
 4766|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4767|      0|            return 0;
 4768|      0|        }
 4769|      2|        cond = PyDict_SetItemString(MatchMapping_annotations, "patterns", type)
 4770|      2|                                    == 0;
 4771|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4772|      2|        if (!cond) {
  ------------------
  |  Branch (4772:13): [True: 0, False: 2]
  ------------------
 4773|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4774|      0|            return 0;
 4775|      0|        }
 4776|      2|    }
 4777|      2|    {
 4778|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4779|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4780|      2|        cond = type != NULL;
 4781|      2|        if (!cond) {
  ------------------
  |  Branch (4781:13): [True: 0, False: 2]
  ------------------
 4782|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4783|      0|            return 0;
 4784|      0|        }
 4785|      2|        cond = PyDict_SetItemString(MatchMapping_annotations, "rest", type) ==
 4786|      2|                                    0;
 4787|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4788|      2|        if (!cond) {
  ------------------
  |  Branch (4788:13): [True: 0, False: 2]
  ------------------
 4789|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4790|      0|            return 0;
 4791|      0|        }
 4792|      2|    }
 4793|      2|    cond = PyObject_SetAttrString(state->MatchMapping_type, "_field_types",
 4794|      2|                                  MatchMapping_annotations) == 0;
 4795|      2|    if (!cond) {
  ------------------
  |  Branch (4795:9): [True: 0, False: 2]
  ------------------
 4796|      0|        Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4797|      0|        return 0;
 4798|      0|    }
 4799|      2|    cond = PyObject_SetAttrString(state->MatchMapping_type, "__annotations__",
 4800|      2|                                  MatchMapping_annotations) == 0;
 4801|      2|    if (!cond) {
  ------------------
  |  Branch (4801:9): [True: 0, False: 2]
  ------------------
 4802|      0|        Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4803|      0|        return 0;
 4804|      0|    }
 4805|      2|    Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4806|      2|    PyObject *MatchClass_annotations = PyDict_New();
 4807|      2|    if (!MatchClass_annotations) return 0;
  ------------------
  |  Branch (4807:9): [True: 0, False: 2]
  ------------------
 4808|      2|    {
 4809|      2|        PyObject *type = state->expr_type;
 4810|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4811|      2|        cond = PyDict_SetItemString(MatchClass_annotations, "cls", type) == 0;
 4812|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4813|      2|        if (!cond) {
  ------------------
  |  Branch (4813:13): [True: 0, False: 2]
  ------------------
 4814|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4815|      0|            return 0;
 4816|      0|        }
 4817|      2|    }
 4818|      2|    {
 4819|      2|        PyObject *type = state->pattern_type;
 4820|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4821|      2|        cond = type != NULL;
 4822|      2|        if (!cond) {
  ------------------
  |  Branch (4822:13): [True: 0, False: 2]
  ------------------
 4823|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      0|            return 0;
 4825|      0|        }
 4826|      2|        cond = PyDict_SetItemString(MatchClass_annotations, "patterns", type)
 4827|      2|                                    == 0;
 4828|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4829|      2|        if (!cond) {
  ------------------
  |  Branch (4829:13): [True: 0, False: 2]
  ------------------
 4830|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4831|      0|            return 0;
 4832|      0|        }
 4833|      2|    }
 4834|      2|    {
 4835|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4836|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4837|      2|        cond = type != NULL;
 4838|      2|        if (!cond) {
  ------------------
  |  Branch (4838:13): [True: 0, False: 2]
  ------------------
 4839|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|      0|            return 0;
 4841|      0|        }
 4842|      2|        cond = PyDict_SetItemString(MatchClass_annotations, "kwd_attrs", type)
 4843|      2|                                    == 0;
 4844|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4845|      2|        if (!cond) {
  ------------------
  |  Branch (4845:13): [True: 0, False: 2]
  ------------------
 4846|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4847|      0|            return 0;
 4848|      0|        }
 4849|      2|    }
 4850|      2|    {
 4851|      2|        PyObject *type = state->pattern_type;
 4852|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4853|      2|        cond = type != NULL;
 4854|      2|        if (!cond) {
  ------------------
  |  Branch (4854:13): [True: 0, False: 2]
  ------------------
 4855|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4856|      0|            return 0;
 4857|      0|        }
 4858|      2|        cond = PyDict_SetItemString(MatchClass_annotations, "kwd_patterns",
 4859|      2|                                    type) == 0;
 4860|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4861|      2|        if (!cond) {
  ------------------
  |  Branch (4861:13): [True: 0, False: 2]
  ------------------
 4862|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4863|      0|            return 0;
 4864|      0|        }
 4865|      2|    }
 4866|      2|    cond = PyObject_SetAttrString(state->MatchClass_type, "_field_types",
 4867|      2|                                  MatchClass_annotations) == 0;
 4868|      2|    if (!cond) {
  ------------------
  |  Branch (4868:9): [True: 0, False: 2]
  ------------------
 4869|      0|        Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4870|      0|        return 0;
 4871|      0|    }
 4872|      2|    cond = PyObject_SetAttrString(state->MatchClass_type, "__annotations__",
 4873|      2|                                  MatchClass_annotations) == 0;
 4874|      2|    if (!cond) {
  ------------------
  |  Branch (4874:9): [True: 0, False: 2]
  ------------------
 4875|      0|        Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      0|        return 0;
 4877|      0|    }
 4878|      2|    Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4879|      2|    PyObject *MatchStar_annotations = PyDict_New();
 4880|      2|    if (!MatchStar_annotations) return 0;
  ------------------
  |  Branch (4880:9): [True: 0, False: 2]
  ------------------
 4881|      2|    {
 4882|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4883|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4884|      2|        cond = type != NULL;
 4885|      2|        if (!cond) {
  ------------------
  |  Branch (4885:13): [True: 0, False: 2]
  ------------------
 4886|      0|            Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4887|      0|            return 0;
 4888|      0|        }
 4889|      2|        cond = PyDict_SetItemString(MatchStar_annotations, "name", type) == 0;
 4890|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4891|      2|        if (!cond) {
  ------------------
  |  Branch (4891:13): [True: 0, False: 2]
  ------------------
 4892|      0|            Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4893|      0|            return 0;
 4894|      0|        }
 4895|      2|    }
 4896|      2|    cond = PyObject_SetAttrString(state->MatchStar_type, "_field_types",
 4897|      2|                                  MatchStar_annotations) == 0;
 4898|      2|    if (!cond) {
  ------------------
  |  Branch (4898:9): [True: 0, False: 2]
  ------------------
 4899|      0|        Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4900|      0|        return 0;
 4901|      0|    }
 4902|      2|    cond = PyObject_SetAttrString(state->MatchStar_type, "__annotations__",
 4903|      2|                                  MatchStar_annotations) == 0;
 4904|      2|    if (!cond) {
  ------------------
  |  Branch (4904:9): [True: 0, False: 2]
  ------------------
 4905|      0|        Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|      0|        return 0;
 4907|      0|    }
 4908|      2|    Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4909|      2|    PyObject *MatchAs_annotations = PyDict_New();
 4910|      2|    if (!MatchAs_annotations) return 0;
  ------------------
  |  Branch (4910:9): [True: 0, False: 2]
  ------------------
 4911|      2|    {
 4912|      2|        PyObject *type = state->pattern_type;
 4913|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4914|      2|        cond = type != NULL;
 4915|      2|        if (!cond) {
  ------------------
  |  Branch (4915:13): [True: 0, False: 2]
  ------------------
 4916|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4917|      0|            return 0;
 4918|      0|        }
 4919|      2|        cond = PyDict_SetItemString(MatchAs_annotations, "pattern", type) == 0;
 4920|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4921|      2|        if (!cond) {
  ------------------
  |  Branch (4921:13): [True: 0, False: 2]
  ------------------
 4922|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4923|      0|            return 0;
 4924|      0|        }
 4925|      2|    }
 4926|      2|    {
 4927|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4928|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4929|      2|        cond = type != NULL;
 4930|      2|        if (!cond) {
  ------------------
  |  Branch (4930:13): [True: 0, False: 2]
  ------------------
 4931|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4932|      0|            return 0;
 4933|      0|        }
 4934|      2|        cond = PyDict_SetItemString(MatchAs_annotations, "name", type) == 0;
 4935|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4936|      2|        if (!cond) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 2]
  ------------------
 4937|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4938|      0|            return 0;
 4939|      0|        }
 4940|      2|    }
 4941|      2|    cond = PyObject_SetAttrString(state->MatchAs_type, "_field_types",
 4942|      2|                                  MatchAs_annotations) == 0;
 4943|      2|    if (!cond) {
  ------------------
  |  Branch (4943:9): [True: 0, False: 2]
  ------------------
 4944|      0|        Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|      0|        return 0;
 4946|      0|    }
 4947|      2|    cond = PyObject_SetAttrString(state->MatchAs_type, "__annotations__",
 4948|      2|                                  MatchAs_annotations) == 0;
 4949|      2|    if (!cond) {
  ------------------
  |  Branch (4949:9): [True: 0, False: 2]
  ------------------
 4950|      0|        Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4951|      0|        return 0;
 4952|      0|    }
 4953|      2|    Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4954|      2|    PyObject *MatchOr_annotations = PyDict_New();
 4955|      2|    if (!MatchOr_annotations) return 0;
  ------------------
  |  Branch (4955:9): [True: 0, False: 2]
  ------------------
 4956|      2|    {
 4957|      2|        PyObject *type = state->pattern_type;
 4958|      2|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4959|      2|        cond = type != NULL;
 4960|      2|        if (!cond) {
  ------------------
  |  Branch (4960:13): [True: 0, False: 2]
  ------------------
 4961|      0|            Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4962|      0|            return 0;
 4963|      0|        }
 4964|      2|        cond = PyDict_SetItemString(MatchOr_annotations, "patterns", type) == 0;
 4965|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4966|      2|        if (!cond) {
  ------------------
  |  Branch (4966:13): [True: 0, False: 2]
  ------------------
 4967|      0|            Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4968|      0|            return 0;
 4969|      0|        }
 4970|      2|    }
 4971|      2|    cond = PyObject_SetAttrString(state->MatchOr_type, "_field_types",
 4972|      2|                                  MatchOr_annotations) == 0;
 4973|      2|    if (!cond) {
  ------------------
  |  Branch (4973:9): [True: 0, False: 2]
  ------------------
 4974|      0|        Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4975|      0|        return 0;
 4976|      0|    }
 4977|      2|    cond = PyObject_SetAttrString(state->MatchOr_type, "__annotations__",
 4978|      2|                                  MatchOr_annotations) == 0;
 4979|      2|    if (!cond) {
  ------------------
  |  Branch (4979:9): [True: 0, False: 2]
  ------------------
 4980|      0|        Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4981|      0|        return 0;
 4982|      0|    }
 4983|      2|    Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4984|      2|    PyObject *TypeIgnore_annotations = PyDict_New();
 4985|      2|    if (!TypeIgnore_annotations) return 0;
  ------------------
  |  Branch (4985:9): [True: 0, False: 2]
  ------------------
 4986|      2|    {
 4987|      2|        PyObject *type = (PyObject *)&PyLong_Type;
 4988|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|      2|        cond = PyDict_SetItemString(TypeIgnore_annotations, "lineno", type) ==
 4990|      2|                                    0;
 4991|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|      2|        if (!cond) {
  ------------------
  |  Branch (4992:13): [True: 0, False: 2]
  ------------------
 4993|      0|            Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|      0|            return 0;
 4995|      0|        }
 4996|      2|    }
 4997|      2|    {
 4998|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4999|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5000|      2|        cond = PyDict_SetItemString(TypeIgnore_annotations, "tag", type) == 0;
 5001|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5002|      2|        if (!cond) {
  ------------------
  |  Branch (5002:13): [True: 0, False: 2]
  ------------------
 5003|      0|            Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5004|      0|            return 0;
 5005|      0|        }
 5006|      2|    }
 5007|      2|    cond = PyObject_SetAttrString(state->TypeIgnore_type, "_field_types",
 5008|      2|                                  TypeIgnore_annotations) == 0;
 5009|      2|    if (!cond) {
  ------------------
  |  Branch (5009:9): [True: 0, False: 2]
  ------------------
 5010|      0|        Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|      0|        return 0;
 5012|      0|    }
 5013|      2|    cond = PyObject_SetAttrString(state->TypeIgnore_type, "__annotations__",
 5014|      2|                                  TypeIgnore_annotations) == 0;
 5015|      2|    if (!cond) {
  ------------------
  |  Branch (5015:9): [True: 0, False: 2]
  ------------------
 5016|      0|        Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5017|      0|        return 0;
 5018|      0|    }
 5019|      2|    Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5020|      2|    PyObject *TypeVar_annotations = PyDict_New();
 5021|      2|    if (!TypeVar_annotations) return 0;
  ------------------
  |  Branch (5021:9): [True: 0, False: 2]
  ------------------
 5022|      2|    {
 5023|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5024|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5025|      2|        cond = PyDict_SetItemString(TypeVar_annotations, "name", type) == 0;
 5026|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5027|      2|        if (!cond) {
  ------------------
  |  Branch (5027:13): [True: 0, False: 2]
  ------------------
 5028|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5029|      0|            return 0;
 5030|      0|        }
 5031|      2|    }
 5032|      2|    {
 5033|      2|        PyObject *type = state->expr_type;
 5034|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5035|      2|        cond = type != NULL;
 5036|      2|        if (!cond) {
  ------------------
  |  Branch (5036:13): [True: 0, False: 2]
  ------------------
 5037|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5038|      0|            return 0;
 5039|      0|        }
 5040|      2|        cond = PyDict_SetItemString(TypeVar_annotations, "bound", type) == 0;
 5041|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5042|      2|        if (!cond) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 2]
  ------------------
 5043|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5044|      0|            return 0;
 5045|      0|        }
 5046|      2|    }
 5047|      2|    {
 5048|      2|        PyObject *type = state->expr_type;
 5049|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5050|      2|        cond = type != NULL;
 5051|      2|        if (!cond) {
  ------------------
  |  Branch (5051:13): [True: 0, False: 2]
  ------------------
 5052|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5053|      0|            return 0;
 5054|      0|        }
 5055|      2|        cond = PyDict_SetItemString(TypeVar_annotations, "default_value", type)
 5056|      2|                                    == 0;
 5057|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5058|      2|        if (!cond) {
  ------------------
  |  Branch (5058:13): [True: 0, False: 2]
  ------------------
 5059|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5060|      0|            return 0;
 5061|      0|        }
 5062|      2|    }
 5063|      2|    cond = PyObject_SetAttrString(state->TypeVar_type, "_field_types",
 5064|      2|                                  TypeVar_annotations) == 0;
 5065|      2|    if (!cond) {
  ------------------
  |  Branch (5065:9): [True: 0, False: 2]
  ------------------
 5066|      0|        Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5067|      0|        return 0;
 5068|      0|    }
 5069|      2|    cond = PyObject_SetAttrString(state->TypeVar_type, "__annotations__",
 5070|      2|                                  TypeVar_annotations) == 0;
 5071|      2|    if (!cond) {
  ------------------
  |  Branch (5071:9): [True: 0, False: 2]
  ------------------
 5072|      0|        Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5073|      0|        return 0;
 5074|      0|    }
 5075|      2|    Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5076|      2|    PyObject *ParamSpec_annotations = PyDict_New();
 5077|      2|    if (!ParamSpec_annotations) return 0;
  ------------------
  |  Branch (5077:9): [True: 0, False: 2]
  ------------------
 5078|      2|    {
 5079|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5080|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5081|      2|        cond = PyDict_SetItemString(ParamSpec_annotations, "name", type) == 0;
 5082|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5083|      2|        if (!cond) {
  ------------------
  |  Branch (5083:13): [True: 0, False: 2]
  ------------------
 5084|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5085|      0|            return 0;
 5086|      0|        }
 5087|      2|    }
 5088|      2|    {
 5089|      2|        PyObject *type = state->expr_type;
 5090|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5091|      2|        cond = type != NULL;
 5092|      2|        if (!cond) {
  ------------------
  |  Branch (5092:13): [True: 0, False: 2]
  ------------------
 5093|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5094|      0|            return 0;
 5095|      0|        }
 5096|      2|        cond = PyDict_SetItemString(ParamSpec_annotations, "default_value",
 5097|      2|                                    type) == 0;
 5098|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|      2|        if (!cond) {
  ------------------
  |  Branch (5099:13): [True: 0, False: 2]
  ------------------
 5100|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5101|      0|            return 0;
 5102|      0|        }
 5103|      2|    }
 5104|      2|    cond = PyObject_SetAttrString(state->ParamSpec_type, "_field_types",
 5105|      2|                                  ParamSpec_annotations) == 0;
 5106|      2|    if (!cond) {
  ------------------
  |  Branch (5106:9): [True: 0, False: 2]
  ------------------
 5107|      0|        Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5108|      0|        return 0;
 5109|      0|    }
 5110|      2|    cond = PyObject_SetAttrString(state->ParamSpec_type, "__annotations__",
 5111|      2|                                  ParamSpec_annotations) == 0;
 5112|      2|    if (!cond) {
  ------------------
  |  Branch (5112:9): [True: 0, False: 2]
  ------------------
 5113|      0|        Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5114|      0|        return 0;
 5115|      0|    }
 5116|      2|    Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|      2|    PyObject *TypeVarTuple_annotations = PyDict_New();
 5118|      2|    if (!TypeVarTuple_annotations) return 0;
  ------------------
  |  Branch (5118:9): [True: 0, False: 2]
  ------------------
 5119|      2|    {
 5120|      2|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5121|      2|        Py_INCREF(type);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5122|      2|        cond = PyDict_SetItemString(TypeVarTuple_annotations, "name", type) ==
 5123|      2|                                    0;
 5124|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5125|      2|        if (!cond) {
  ------------------
  |  Branch (5125:13): [True: 0, False: 2]
  ------------------
 5126|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5127|      0|            return 0;
 5128|      0|        }
 5129|      2|    }
 5130|      2|    {
 5131|      2|        PyObject *type = state->expr_type;
 5132|      2|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5133|      2|        cond = type != NULL;
 5134|      2|        if (!cond) {
  ------------------
  |  Branch (5134:13): [True: 0, False: 2]
  ------------------
 5135|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5136|      0|            return 0;
 5137|      0|        }
 5138|      2|        cond = PyDict_SetItemString(TypeVarTuple_annotations, "default_value",
 5139|      2|                                    type) == 0;
 5140|      2|        Py_DECREF(type);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5141|      2|        if (!cond) {
  ------------------
  |  Branch (5141:13): [True: 0, False: 2]
  ------------------
 5142|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5143|      0|            return 0;
 5144|      0|        }
 5145|      2|    }
 5146|      2|    cond = PyObject_SetAttrString(state->TypeVarTuple_type, "_field_types",
 5147|      2|                                  TypeVarTuple_annotations) == 0;
 5148|      2|    if (!cond) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 2]
  ------------------
 5149|      0|        Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5150|      0|        return 0;
 5151|      0|    }
 5152|      2|    cond = PyObject_SetAttrString(state->TypeVarTuple_type, "__annotations__",
 5153|      2|                                  TypeVarTuple_annotations) == 0;
 5154|      2|    if (!cond) {
  ------------------
  |  Branch (5154:9): [True: 0, False: 2]
  ------------------
 5155|      0|        Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5156|      0|        return 0;
 5157|      0|    }
 5158|      2|    Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5159|       |
 5160|      2|    return 1;
 5161|      2|}
Python-ast.c:ast2obj_mod:
 8871|      6|{
 8872|      6|    mod_ty o = (mod_ty)_o;
 8873|      6|    PyObject *result = NULL, *value = NULL;
 8874|      6|    PyTypeObject *tp;
 8875|      6|    if (!o) {
  ------------------
  |  Branch (8875:9): [True: 0, False: 6]
  ------------------
 8876|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8877|      0|    }
 8878|      6|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8878:9): [True: 0, False: 6]
  ------------------
 8879|      0|        return NULL;
 8880|      0|    }
 8881|      6|    switch (o->kind) {
  ------------------
  |  Branch (8881:13): [True: 6, False: 0]
  ------------------
 8882|      6|    case Module_kind:
  ------------------
  |  Branch (8882:5): [True: 6, False: 0]
  ------------------
 8883|      6|        tp = (PyTypeObject *)state->Module_type;
 8884|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 8885|      6|        if (!result) goto failed;
  ------------------
  |  Branch (8885:13): [True: 0, False: 6]
  ------------------
 8886|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 8887|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8887:13): [True: 0, False: 6]
  ------------------
 8888|      6|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8888:13): [True: 0, False: 6]
  ------------------
 8889|      0|            goto failed;
 8890|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8891|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 8892|      6|                             ast2obj_type_ignore);
 8893|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8893:13): [True: 0, False: 6]
  ------------------
 8894|      6|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (8894:13): [True: 0, False: 6]
  ------------------
 8895|      0|            goto failed;
 8896|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8897|      6|        break;
 8898|      0|    case Interactive_kind:
  ------------------
  |  Branch (8898:5): [True: 0, False: 6]
  ------------------
 8899|      0|        tp = (PyTypeObject *)state->Interactive_type;
 8900|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8901|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8901:13): [True: 0, False: 0]
  ------------------
 8902|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 8903|      0|                             ast2obj_stmt);
 8904|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8904:13): [True: 0, False: 0]
  ------------------
 8905|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8905:13): [True: 0, False: 0]
  ------------------
 8906|      0|            goto failed;
 8907|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8908|      0|        break;
 8909|      0|    case Expression_kind:
  ------------------
  |  Branch (8909:5): [True: 0, False: 6]
  ------------------
 8910|      0|        tp = (PyTypeObject *)state->Expression_type;
 8911|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8912|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8912:13): [True: 0, False: 0]
  ------------------
 8913|      0|        value = ast2obj_expr(state, o->v.Expression.body);
 8914|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8914:13): [True: 0, False: 0]
  ------------------
 8915|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8915:13): [True: 0, False: 0]
  ------------------
 8916|      0|            goto failed;
 8917|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8918|      0|        break;
 8919|      0|    case FunctionType_kind:
  ------------------
  |  Branch (8919:5): [True: 0, False: 6]
  ------------------
 8920|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 8921|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8922|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8922:13): [True: 0, False: 0]
  ------------------
 8923|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 8924|      0|                             ast2obj_expr);
 8925|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8925:13): [True: 0, False: 0]
  ------------------
 8926|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (8926:13): [True: 0, False: 0]
  ------------------
 8927|      0|            goto failed;
 8928|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8929|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 8930|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8930:13): [True: 0, False: 0]
  ------------------
 8931|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8931:13): [True: 0, False: 0]
  ------------------
 8932|      0|            goto failed;
 8933|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8934|      0|        break;
 8935|      6|    }
 8936|      6|    Py_LeaveRecursiveCall();
 8937|      6|    return result;
 8938|      0|failed:
 8939|      0|    Py_LeaveRecursiveCall();
 8940|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8941|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8942|       |    return NULL;
 8943|      6|}
Python-ast.c:ast2obj_list:
 5993|    264|{
 5994|    264|    Py_ssize_t i, n = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    264|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    528|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 100, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5995|    264|    PyObject *result = PyList_New(n);
 5996|    264|    PyObject *value;
 5997|    264|    if (!result)
  ------------------
  |  Branch (5997:9): [True: 0, False: 264]
  ------------------
 5998|      0|        return NULL;
 5999|    468|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5999:17): [True: 204, False: 264]
  ------------------
 6000|    204|        value = func(state, asdl_seq_GET_UNTYPED(seq, i));
  ------------------
  |  |   81|    204|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6001|    204|        if (!value) {
  ------------------
  |  Branch (6001:13): [True: 0, False: 204]
  ------------------
 6002|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6003|      0|            return NULL;
 6004|      0|        }
 6005|    204|        PyList_SET_ITEM(result, i, value);
  ------------------
  |  |   50|    204|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6006|    204|    }
 6007|    264|    return result;
 6008|    264|}
Python-ast.c:ast2obj_stmt:
 8947|     62|{
 8948|     62|    stmt_ty o = (stmt_ty)_o;
 8949|     62|    PyObject *result = NULL, *value = NULL;
 8950|     62|    PyTypeObject *tp;
 8951|     62|    if (!o) {
  ------------------
  |  Branch (8951:9): [True: 0, False: 62]
  ------------------
 8952|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8953|      0|    }
 8954|     62|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8954:9): [True: 0, False: 62]
  ------------------
 8955|      0|        return NULL;
 8956|      0|    }
 8957|     62|    switch (o->kind) {
  ------------------
  |  Branch (8957:13): [True: 62, False: 0]
  ------------------
 8958|      6|    case FunctionDef_kind:
  ------------------
  |  Branch (8958:5): [True: 6, False: 56]
  ------------------
 8959|      6|        tp = (PyTypeObject *)state->FunctionDef_type;
 8960|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 8961|      6|        if (!result) goto failed;
  ------------------
  |  Branch (8961:13): [True: 0, False: 6]
  ------------------
 8962|      6|        value = ast2obj_identifier(state, o->v.FunctionDef.name);
  ------------------
  |  | 6019|      6|#define ast2obj_identifier ast2obj_object
  ------------------
 8963|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8963:13): [True: 0, False: 6]
  ------------------
 8964|      6|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (8964:13): [True: 0, False: 6]
  ------------------
 8965|      0|            goto failed;
 8966|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8967|      6|        value = ast2obj_arguments(state, o->v.FunctionDef.args);
 8968|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8968:13): [True: 0, False: 6]
  ------------------
 8969|      6|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (8969:13): [True: 0, False: 6]
  ------------------
 8970|      0|            goto failed;
 8971|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8972|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.body,
 8973|      6|                             ast2obj_stmt);
 8974|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8974:13): [True: 0, False: 6]
  ------------------
 8975|      6|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8975:13): [True: 0, False: 6]
  ------------------
 8976|      0|            goto failed;
 8977|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8978|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.decorator_list,
 8979|      6|                             ast2obj_expr);
 8980|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8980:13): [True: 0, False: 6]
  ------------------
 8981|      6|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (8981:13): [True: 0, False: 6]
  ------------------
 8982|      0|            goto failed;
 8983|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8984|      6|        value = ast2obj_expr(state, o->v.FunctionDef.returns);
 8985|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8985:13): [True: 0, False: 6]
  ------------------
 8986|      6|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8986:13): [True: 0, False: 6]
  ------------------
 8987|      0|            goto failed;
 8988|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8989|      6|        value = ast2obj_string(state, o->v.FunctionDef.type_comment);
  ------------------
  |  | 6020|      6|#define ast2obj_string ast2obj_object
  ------------------
 8990|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8990:13): [True: 0, False: 6]
  ------------------
 8991|      6|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (8991:13): [True: 0, False: 6]
  ------------------
 8992|      0|            goto failed;
 8993|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8994|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.type_params,
 8995|      6|                             ast2obj_type_param);
 8996|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8996:13): [True: 0, False: 6]
  ------------------
 8997|      6|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (8997:13): [True: 0, False: 6]
  ------------------
 8998|      0|            goto failed;
 8999|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9000|      6|        break;
 9001|      0|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (9001:5): [True: 0, False: 62]
  ------------------
 9002|      0|        tp = (PyTypeObject *)state->AsyncFunctionDef_type;
 9003|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9004|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9004:13): [True: 0, False: 0]
  ------------------
 9005|      0|        value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9006|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9006:13): [True: 0, False: 0]
  ------------------
 9007|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9007:13): [True: 0, False: 0]
  ------------------
 9008|      0|            goto failed;
 9009|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9010|      0|        value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args);
 9011|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9011:13): [True: 0, False: 0]
  ------------------
 9012|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9012:13): [True: 0, False: 0]
  ------------------
 9013|      0|            goto failed;
 9014|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9015|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body,
 9016|      0|                             ast2obj_stmt);
 9017|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9017:13): [True: 0, False: 0]
  ------------------
 9018|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9018:13): [True: 0, False: 0]
  ------------------
 9019|      0|            goto failed;
 9020|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9021|      0|        value = ast2obj_list(state,
 9022|      0|                             (asdl_seq*)o->v.AsyncFunctionDef.decorator_list,
 9023|      0|                             ast2obj_expr);
 9024|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9024:13): [True: 0, False: 0]
  ------------------
 9025|      0|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (9025:13): [True: 0, False: 0]
  ------------------
 9026|      0|            goto failed;
 9027|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9028|      0|        value = ast2obj_expr(state, o->v.AsyncFunctionDef.returns);
 9029|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9029:13): [True: 0, False: 0]
  ------------------
 9030|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (9030:13): [True: 0, False: 0]
  ------------------
 9031|      0|            goto failed;
 9032|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9033|      0|        value = ast2obj_string(state, o->v.AsyncFunctionDef.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9034|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9034:13): [True: 0, False: 0]
  ------------------
 9035|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9035:13): [True: 0, False: 0]
  ------------------
 9036|      0|            goto failed;
 9037|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9038|      0|        value = ast2obj_list(state,
 9039|      0|                             (asdl_seq*)o->v.AsyncFunctionDef.type_params,
 9040|      0|                             ast2obj_type_param);
 9041|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9041:13): [True: 0, False: 0]
  ------------------
 9042|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9042:13): [True: 0, False: 0]
  ------------------
 9043|      0|            goto failed;
 9044|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9045|      0|        break;
 9046|      0|    case ClassDef_kind:
  ------------------
  |  Branch (9046:5): [True: 0, False: 62]
  ------------------
 9047|      0|        tp = (PyTypeObject *)state->ClassDef_type;
 9048|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9049|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9049:13): [True: 0, False: 0]
  ------------------
 9050|      0|        value = ast2obj_identifier(state, o->v.ClassDef.name);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9051|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9051:13): [True: 0, False: 0]
  ------------------
 9052|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9052:13): [True: 0, False: 0]
  ------------------
 9053|      0|            goto failed;
 9054|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9055|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.bases,
 9056|      0|                             ast2obj_expr);
 9057|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9057:13): [True: 0, False: 0]
  ------------------
 9058|      0|        if (PyObject_SetAttr(result, state->bases, value) == -1)
  ------------------
  |  Branch (9058:13): [True: 0, False: 0]
  ------------------
 9059|      0|            goto failed;
 9060|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9061|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.keywords,
 9062|      0|                             ast2obj_keyword);
 9063|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9063:13): [True: 0, False: 0]
  ------------------
 9064|      0|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9064:13): [True: 0, False: 0]
  ------------------
 9065|      0|            goto failed;
 9066|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9067|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.body,
 9068|      0|                             ast2obj_stmt);
 9069|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9069:13): [True: 0, False: 0]
  ------------------
 9070|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9070:13): [True: 0, False: 0]
  ------------------
 9071|      0|            goto failed;
 9072|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9073|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.decorator_list,
 9074|      0|                             ast2obj_expr);
 9075|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9075:13): [True: 0, False: 0]
  ------------------
 9076|      0|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (9076:13): [True: 0, False: 0]
  ------------------
 9077|      0|            goto failed;
 9078|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9079|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.type_params,
 9080|      0|                             ast2obj_type_param);
 9081|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9081:13): [True: 0, False: 0]
  ------------------
 9082|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9082:13): [True: 0, False: 0]
  ------------------
 9083|      0|            goto failed;
 9084|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9085|      0|        break;
 9086|      8|    case Return_kind:
  ------------------
  |  Branch (9086:5): [True: 8, False: 54]
  ------------------
 9087|      8|        tp = (PyTypeObject *)state->Return_type;
 9088|      8|        result = PyType_GenericNew(tp, NULL, NULL);
 9089|      8|        if (!result) goto failed;
  ------------------
  |  Branch (9089:13): [True: 0, False: 8]
  ------------------
 9090|      8|        value = ast2obj_expr(state, o->v.Return.value);
 9091|      8|        if (!value) goto failed;
  ------------------
  |  Branch (9091:13): [True: 0, False: 8]
  ------------------
 9092|      8|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9092:13): [True: 0, False: 8]
  ------------------
 9093|      0|            goto failed;
 9094|      8|        Py_DECREF(value);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9095|      8|        break;
 9096|      0|    case Delete_kind:
  ------------------
  |  Branch (9096:5): [True: 0, False: 62]
  ------------------
 9097|      0|        tp = (PyTypeObject *)state->Delete_type;
 9098|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9099|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9099:13): [True: 0, False: 0]
  ------------------
 9100|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Delete.targets,
 9101|      0|                             ast2obj_expr);
 9102|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9102:13): [True: 0, False: 0]
  ------------------
 9103|      0|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9103:13): [True: 0, False: 0]
  ------------------
 9104|      0|            goto failed;
 9105|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9106|      0|        break;
 9107|     18|    case Assign_kind:
  ------------------
  |  Branch (9107:5): [True: 18, False: 44]
  ------------------
 9108|     18|        tp = (PyTypeObject *)state->Assign_type;
 9109|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9110|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9110:13): [True: 0, False: 18]
  ------------------
 9111|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.Assign.targets,
 9112|     18|                             ast2obj_expr);
 9113|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9113:13): [True: 0, False: 18]
  ------------------
 9114|     18|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9114:13): [True: 0, False: 18]
  ------------------
 9115|      0|            goto failed;
 9116|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9117|     18|        value = ast2obj_expr(state, o->v.Assign.value);
 9118|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9118:13): [True: 0, False: 18]
  ------------------
 9119|     18|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9119:13): [True: 0, False: 18]
  ------------------
 9120|      0|            goto failed;
 9121|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9122|     18|        value = ast2obj_string(state, o->v.Assign.type_comment);
  ------------------
  |  | 6020|     18|#define ast2obj_string ast2obj_object
  ------------------
 9123|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9123:13): [True: 0, False: 18]
  ------------------
 9124|     18|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9124:13): [True: 0, False: 18]
  ------------------
 9125|      0|            goto failed;
 9126|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9127|     18|        break;
 9128|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (9128:5): [True: 0, False: 62]
  ------------------
 9129|      0|        tp = (PyTypeObject *)state->TypeAlias_type;
 9130|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9131|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9131:13): [True: 0, False: 0]
  ------------------
 9132|      0|        value = ast2obj_expr(state, o->v.TypeAlias.name);
 9133|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9133:13): [True: 0, False: 0]
  ------------------
 9134|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9134:13): [True: 0, False: 0]
  ------------------
 9135|      0|            goto failed;
 9136|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9137|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TypeAlias.type_params,
 9138|      0|                             ast2obj_type_param);
 9139|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9139:13): [True: 0, False: 0]
  ------------------
 9140|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9140:13): [True: 0, False: 0]
  ------------------
 9141|      0|            goto failed;
 9142|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9143|      0|        value = ast2obj_expr(state, o->v.TypeAlias.value);
 9144|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9144:13): [True: 0, False: 0]
  ------------------
 9145|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9145:13): [True: 0, False: 0]
  ------------------
 9146|      0|            goto failed;
 9147|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9148|      0|        break;
 9149|      6|    case AugAssign_kind:
  ------------------
  |  Branch (9149:5): [True: 6, False: 56]
  ------------------
 9150|      6|        tp = (PyTypeObject *)state->AugAssign_type;
 9151|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 9152|      6|        if (!result) goto failed;
  ------------------
  |  Branch (9152:13): [True: 0, False: 6]
  ------------------
 9153|      6|        value = ast2obj_expr(state, o->v.AugAssign.target);
 9154|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9154:13): [True: 0, False: 6]
  ------------------
 9155|      6|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9155:13): [True: 0, False: 6]
  ------------------
 9156|      0|            goto failed;
 9157|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9158|      6|        value = ast2obj_operator(state, o->v.AugAssign.op);
 9159|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9159:13): [True: 0, False: 6]
  ------------------
 9160|      6|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9160:13): [True: 0, False: 6]
  ------------------
 9161|      0|            goto failed;
 9162|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9163|      6|        value = ast2obj_expr(state, o->v.AugAssign.value);
 9164|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9164:13): [True: 0, False: 6]
  ------------------
 9165|      6|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9165:13): [True: 0, False: 6]
  ------------------
 9166|      0|            goto failed;
 9167|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9168|      6|        break;
 9169|      0|    case AnnAssign_kind:
  ------------------
  |  Branch (9169:5): [True: 0, False: 62]
  ------------------
 9170|      0|        tp = (PyTypeObject *)state->AnnAssign_type;
 9171|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9172|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9172:13): [True: 0, False: 0]
  ------------------
 9173|      0|        value = ast2obj_expr(state, o->v.AnnAssign.target);
 9174|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9174:13): [True: 0, False: 0]
  ------------------
 9175|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9175:13): [True: 0, False: 0]
  ------------------
 9176|      0|            goto failed;
 9177|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9178|      0|        value = ast2obj_expr(state, o->v.AnnAssign.annotation);
 9179|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9179:13): [True: 0, False: 0]
  ------------------
 9180|      0|        if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (9180:13): [True: 0, False: 0]
  ------------------
 9181|      0|            goto failed;
 9182|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9183|      0|        value = ast2obj_expr(state, o->v.AnnAssign.value);
 9184|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9184:13): [True: 0, False: 0]
  ------------------
 9185|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9185:13): [True: 0, False: 0]
  ------------------
 9186|      0|            goto failed;
 9187|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9188|      0|        value = ast2obj_int(state, o->v.AnnAssign.simple);
 9189|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9189:13): [True: 0, False: 0]
  ------------------
 9190|      0|        if (PyObject_SetAttr(result, state->simple, value) == -1)
  ------------------
  |  Branch (9190:13): [True: 0, False: 0]
  ------------------
 9191|      0|            goto failed;
 9192|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9193|      0|        break;
 9194|      0|    case For_kind:
  ------------------
  |  Branch (9194:5): [True: 0, False: 62]
  ------------------
 9195|      0|        tp = (PyTypeObject *)state->For_type;
 9196|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9197|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9197:13): [True: 0, False: 0]
  ------------------
 9198|      0|        value = ast2obj_expr(state, o->v.For.target);
 9199|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9199:13): [True: 0, False: 0]
  ------------------
 9200|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9200:13): [True: 0, False: 0]
  ------------------
 9201|      0|            goto failed;
 9202|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9203|      0|        value = ast2obj_expr(state, o->v.For.iter);
 9204|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9204:13): [True: 0, False: 0]
  ------------------
 9205|      0|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9205:13): [True: 0, False: 0]
  ------------------
 9206|      0|            goto failed;
 9207|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9208|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.For.body, ast2obj_stmt);
 9209|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9209:13): [True: 0, False: 0]
  ------------------
 9210|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9210:13): [True: 0, False: 0]
  ------------------
 9211|      0|            goto failed;
 9212|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9213|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.For.orelse, ast2obj_stmt);
 9214|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9214:13): [True: 0, False: 0]
  ------------------
 9215|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9215:13): [True: 0, False: 0]
  ------------------
 9216|      0|            goto failed;
 9217|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9218|      0|        value = ast2obj_string(state, o->v.For.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9219|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9219:13): [True: 0, False: 0]
  ------------------
 9220|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9220:13): [True: 0, False: 0]
  ------------------
 9221|      0|            goto failed;
 9222|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9223|      0|        break;
 9224|      0|    case AsyncFor_kind:
  ------------------
  |  Branch (9224:5): [True: 0, False: 62]
  ------------------
 9225|      0|        tp = (PyTypeObject *)state->AsyncFor_type;
 9226|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9227|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9227:13): [True: 0, False: 0]
  ------------------
 9228|      0|        value = ast2obj_expr(state, o->v.AsyncFor.target);
 9229|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9229:13): [True: 0, False: 0]
  ------------------
 9230|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9230:13): [True: 0, False: 0]
  ------------------
 9231|      0|            goto failed;
 9232|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9233|      0|        value = ast2obj_expr(state, o->v.AsyncFor.iter);
 9234|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9234:13): [True: 0, False: 0]
  ------------------
 9235|      0|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9235:13): [True: 0, False: 0]
  ------------------
 9236|      0|            goto failed;
 9237|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9238|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.body,
 9239|      0|                             ast2obj_stmt);
 9240|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9240:13): [True: 0, False: 0]
  ------------------
 9241|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9241:13): [True: 0, False: 0]
  ------------------
 9242|      0|            goto failed;
 9243|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9244|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.orelse,
 9245|      0|                             ast2obj_stmt);
 9246|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9246:13): [True: 0, False: 0]
  ------------------
 9247|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9247:13): [True: 0, False: 0]
  ------------------
 9248|      0|            goto failed;
 9249|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9250|      0|        value = ast2obj_string(state, o->v.AsyncFor.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9251|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9251:13): [True: 0, False: 0]
  ------------------
 9252|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9252:13): [True: 0, False: 0]
  ------------------
 9253|      0|            goto failed;
 9254|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9255|      0|        break;
 9256|      0|    case While_kind:
  ------------------
  |  Branch (9256:5): [True: 0, False: 62]
  ------------------
 9257|      0|        tp = (PyTypeObject *)state->While_type;
 9258|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9259|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9259:13): [True: 0, False: 0]
  ------------------
 9260|      0|        value = ast2obj_expr(state, o->v.While.test);
 9261|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9261:13): [True: 0, False: 0]
  ------------------
 9262|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9262:13): [True: 0, False: 0]
  ------------------
 9263|      0|            goto failed;
 9264|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9265|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.While.body, ast2obj_stmt);
 9266|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9266:13): [True: 0, False: 0]
  ------------------
 9267|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9267:13): [True: 0, False: 0]
  ------------------
 9268|      0|            goto failed;
 9269|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9270|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.While.orelse, ast2obj_stmt);
 9271|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9271:13): [True: 0, False: 0]
  ------------------
 9272|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9272:13): [True: 0, False: 0]
  ------------------
 9273|      0|            goto failed;
 9274|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9275|      0|        break;
 9276|     18|    case If_kind:
  ------------------
  |  Branch (9276:5): [True: 18, False: 44]
  ------------------
 9277|     18|        tp = (PyTypeObject *)state->If_type;
 9278|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9279|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9279:13): [True: 0, False: 18]
  ------------------
 9280|     18|        value = ast2obj_expr(state, o->v.If.test);
 9281|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9281:13): [True: 0, False: 18]
  ------------------
 9282|     18|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9282:13): [True: 0, False: 18]
  ------------------
 9283|      0|            goto failed;
 9284|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9285|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.If.body, ast2obj_stmt);
 9286|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9286:13): [True: 0, False: 18]
  ------------------
 9287|     18|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9287:13): [True: 0, False: 18]
  ------------------
 9288|      0|            goto failed;
 9289|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9290|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.If.orelse, ast2obj_stmt);
 9291|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9291:13): [True: 0, False: 18]
  ------------------
 9292|     18|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9292:13): [True: 0, False: 18]
  ------------------
 9293|      0|            goto failed;
 9294|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9295|     18|        break;
 9296|      0|    case With_kind:
  ------------------
  |  Branch (9296:5): [True: 0, False: 62]
  ------------------
 9297|      0|        tp = (PyTypeObject *)state->With_type;
 9298|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9299|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9299:13): [True: 0, False: 0]
  ------------------
 9300|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.With.items,
 9301|      0|                             ast2obj_withitem);
 9302|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9302:13): [True: 0, False: 0]
  ------------------
 9303|      0|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9303:13): [True: 0, False: 0]
  ------------------
 9304|      0|            goto failed;
 9305|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9306|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.With.body, ast2obj_stmt);
 9307|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9307:13): [True: 0, False: 0]
  ------------------
 9308|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9308:13): [True: 0, False: 0]
  ------------------
 9309|      0|            goto failed;
 9310|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9311|      0|        value = ast2obj_string(state, o->v.With.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9312|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9312:13): [True: 0, False: 0]
  ------------------
 9313|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9313:13): [True: 0, False: 0]
  ------------------
 9314|      0|            goto failed;
 9315|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9316|      0|        break;
 9317|      0|    case AsyncWith_kind:
  ------------------
  |  Branch (9317:5): [True: 0, False: 62]
  ------------------
 9318|      0|        tp = (PyTypeObject *)state->AsyncWith_type;
 9319|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9320|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9320:13): [True: 0, False: 0]
  ------------------
 9321|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.items,
 9322|      0|                             ast2obj_withitem);
 9323|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9323:13): [True: 0, False: 0]
  ------------------
 9324|      0|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9324:13): [True: 0, False: 0]
  ------------------
 9325|      0|            goto failed;
 9326|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9327|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.body,
 9328|      0|                             ast2obj_stmt);
 9329|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9329:13): [True: 0, False: 0]
  ------------------
 9330|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9330:13): [True: 0, False: 0]
  ------------------
 9331|      0|            goto failed;
 9332|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9333|      0|        value = ast2obj_string(state, o->v.AsyncWith.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9334|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9334:13): [True: 0, False: 0]
  ------------------
 9335|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9335:13): [True: 0, False: 0]
  ------------------
 9336|      0|            goto failed;
 9337|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9338|      0|        break;
 9339|      0|    case Match_kind:
  ------------------
  |  Branch (9339:5): [True: 0, False: 62]
  ------------------
 9340|      0|        tp = (PyTypeObject *)state->Match_type;
 9341|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9342|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9342:13): [True: 0, False: 0]
  ------------------
 9343|      0|        value = ast2obj_expr(state, o->v.Match.subject);
 9344|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9344:13): [True: 0, False: 0]
  ------------------
 9345|      0|        if (PyObject_SetAttr(result, state->subject, value) == -1)
  ------------------
  |  Branch (9345:13): [True: 0, False: 0]
  ------------------
 9346|      0|            goto failed;
 9347|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9348|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Match.cases,
 9349|      0|                             ast2obj_match_case);
 9350|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9350:13): [True: 0, False: 0]
  ------------------
 9351|      0|        if (PyObject_SetAttr(result, state->cases, value) == -1)
  ------------------
  |  Branch (9351:13): [True: 0, False: 0]
  ------------------
 9352|      0|            goto failed;
 9353|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9354|      0|        break;
 9355|      0|    case Raise_kind:
  ------------------
  |  Branch (9355:5): [True: 0, False: 62]
  ------------------
 9356|      0|        tp = (PyTypeObject *)state->Raise_type;
 9357|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9358|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9358:13): [True: 0, False: 0]
  ------------------
 9359|      0|        value = ast2obj_expr(state, o->v.Raise.exc);
 9360|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9360:13): [True: 0, False: 0]
  ------------------
 9361|      0|        if (PyObject_SetAttr(result, state->exc, value) == -1)
  ------------------
  |  Branch (9361:13): [True: 0, False: 0]
  ------------------
 9362|      0|            goto failed;
 9363|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9364|      0|        value = ast2obj_expr(state, o->v.Raise.cause);
 9365|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9365:13): [True: 0, False: 0]
  ------------------
 9366|      0|        if (PyObject_SetAttr(result, state->cause, value) == -1)
  ------------------
  |  Branch (9366:13): [True: 0, False: 0]
  ------------------
 9367|      0|            goto failed;
 9368|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9369|      0|        break;
 9370|      0|    case Try_kind:
  ------------------
  |  Branch (9370:5): [True: 0, False: 62]
  ------------------
 9371|      0|        tp = (PyTypeObject *)state->Try_type;
 9372|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9373|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9373:13): [True: 0, False: 0]
  ------------------
 9374|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.body, ast2obj_stmt);
 9375|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9375:13): [True: 0, False: 0]
  ------------------
 9376|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9376:13): [True: 0, False: 0]
  ------------------
 9377|      0|            goto failed;
 9378|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9379|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.handlers,
 9380|      0|                             ast2obj_excepthandler);
 9381|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9381:13): [True: 0, False: 0]
  ------------------
 9382|      0|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9382:13): [True: 0, False: 0]
  ------------------
 9383|      0|            goto failed;
 9384|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9385|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.orelse, ast2obj_stmt);
 9386|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9386:13): [True: 0, False: 0]
  ------------------
 9387|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9387:13): [True: 0, False: 0]
  ------------------
 9388|      0|            goto failed;
 9389|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9390|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.finalbody,
 9391|      0|                             ast2obj_stmt);
 9392|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9392:13): [True: 0, False: 0]
  ------------------
 9393|      0|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9393:13): [True: 0, False: 0]
  ------------------
 9394|      0|            goto failed;
 9395|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9396|      0|        break;
 9397|      0|    case TryStar_kind:
  ------------------
  |  Branch (9397:5): [True: 0, False: 62]
  ------------------
 9398|      0|        tp = (PyTypeObject *)state->TryStar_type;
 9399|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9400|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9400:13): [True: 0, False: 0]
  ------------------
 9401|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.body, ast2obj_stmt);
 9402|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9402:13): [True: 0, False: 0]
  ------------------
 9403|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9403:13): [True: 0, False: 0]
  ------------------
 9404|      0|            goto failed;
 9405|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9406|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.handlers,
 9407|      0|                             ast2obj_excepthandler);
 9408|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9408:13): [True: 0, False: 0]
  ------------------
 9409|      0|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9409:13): [True: 0, False: 0]
  ------------------
 9410|      0|            goto failed;
 9411|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9412|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.orelse,
 9413|      0|                             ast2obj_stmt);
 9414|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9414:13): [True: 0, False: 0]
  ------------------
 9415|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9415:13): [True: 0, False: 0]
  ------------------
 9416|      0|            goto failed;
 9417|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9418|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.finalbody,
 9419|      0|                             ast2obj_stmt);
 9420|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9420:13): [True: 0, False: 0]
  ------------------
 9421|      0|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9421:13): [True: 0, False: 0]
  ------------------
 9422|      0|            goto failed;
 9423|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9424|      0|        break;
 9425|      0|    case Assert_kind:
  ------------------
  |  Branch (9425:5): [True: 0, False: 62]
  ------------------
 9426|      0|        tp = (PyTypeObject *)state->Assert_type;
 9427|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9428|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9428:13): [True: 0, False: 0]
  ------------------
 9429|      0|        value = ast2obj_expr(state, o->v.Assert.test);
 9430|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9430:13): [True: 0, False: 0]
  ------------------
 9431|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9431:13): [True: 0, False: 0]
  ------------------
 9432|      0|            goto failed;
 9433|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9434|      0|        value = ast2obj_expr(state, o->v.Assert.msg);
 9435|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9435:13): [True: 0, False: 0]
  ------------------
 9436|      0|        if (PyObject_SetAttr(result, state->msg, value) == -1)
  ------------------
  |  Branch (9436:13): [True: 0, False: 0]
  ------------------
 9437|      0|            goto failed;
 9438|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9439|      0|        break;
 9440|      0|    case Import_kind:
  ------------------
  |  Branch (9440:5): [True: 0, False: 62]
  ------------------
 9441|      0|        tp = (PyTypeObject *)state->Import_type;
 9442|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9443|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9443:13): [True: 0, False: 0]
  ------------------
 9444|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Import.names,
 9445|      0|                             ast2obj_alias);
 9446|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9446:13): [True: 0, False: 0]
  ------------------
 9447|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9447:13): [True: 0, False: 0]
  ------------------
 9448|      0|            goto failed;
 9449|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9450|      0|        value = ast2obj_int(state, o->v.Import.is_lazy);
 9451|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9451:13): [True: 0, False: 0]
  ------------------
 9452|      0|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9452:13): [True: 0, False: 0]
  ------------------
 9453|      0|            goto failed;
 9454|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9455|      0|        break;
 9456|      0|    case ImportFrom_kind:
  ------------------
  |  Branch (9456:5): [True: 0, False: 62]
  ------------------
 9457|      0|        tp = (PyTypeObject *)state->ImportFrom_type;
 9458|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9459|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9459:13): [True: 0, False: 0]
  ------------------
 9460|      0|        value = ast2obj_identifier(state, o->v.ImportFrom.module);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9461|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9461:13): [True: 0, False: 0]
  ------------------
 9462|      0|        if (PyObject_SetAttr(result, state->module, value) == -1)
  ------------------
  |  Branch (9462:13): [True: 0, False: 0]
  ------------------
 9463|      0|            goto failed;
 9464|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9465|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ImportFrom.names,
 9466|      0|                             ast2obj_alias);
 9467|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9467:13): [True: 0, False: 0]
  ------------------
 9468|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9468:13): [True: 0, False: 0]
  ------------------
 9469|      0|            goto failed;
 9470|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9471|      0|        value = ast2obj_int(state, o->v.ImportFrom.level);
 9472|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9472:13): [True: 0, False: 0]
  ------------------
 9473|      0|        if (PyObject_SetAttr(result, state->level, value) == -1)
  ------------------
  |  Branch (9473:13): [True: 0, False: 0]
  ------------------
 9474|      0|            goto failed;
 9475|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9476|      0|        value = ast2obj_int(state, o->v.ImportFrom.is_lazy);
 9477|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9477:13): [True: 0, False: 0]
  ------------------
 9478|      0|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9478:13): [True: 0, False: 0]
  ------------------
 9479|      0|            goto failed;
 9480|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9481|      0|        break;
 9482|      0|    case Global_kind:
  ------------------
  |  Branch (9482:5): [True: 0, False: 62]
  ------------------
 9483|      0|        tp = (PyTypeObject *)state->Global_type;
 9484|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9485|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9485:13): [True: 0, False: 0]
  ------------------
 9486|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Global.names,
 9487|      0|                             ast2obj_identifier);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9488|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9488:13): [True: 0, False: 0]
  ------------------
 9489|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9489:13): [True: 0, False: 0]
  ------------------
 9490|      0|            goto failed;
 9491|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9492|      0|        break;
 9493|      0|    case Nonlocal_kind:
  ------------------
  |  Branch (9493:5): [True: 0, False: 62]
  ------------------
 9494|      0|        tp = (PyTypeObject *)state->Nonlocal_type;
 9495|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9496|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9496:13): [True: 0, False: 0]
  ------------------
 9497|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Nonlocal.names,
 9498|      0|                             ast2obj_identifier);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9499|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9499:13): [True: 0, False: 0]
  ------------------
 9500|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9500:13): [True: 0, False: 0]
  ------------------
 9501|      0|            goto failed;
 9502|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9503|      0|        break;
 9504|      4|    case Expr_kind:
  ------------------
  |  Branch (9504:5): [True: 4, False: 58]
  ------------------
 9505|      4|        tp = (PyTypeObject *)state->Expr_type;
 9506|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 9507|      4|        if (!result) goto failed;
  ------------------
  |  Branch (9507:13): [True: 0, False: 4]
  ------------------
 9508|      4|        value = ast2obj_expr(state, o->v.Expr.value);
 9509|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9509:13): [True: 0, False: 4]
  ------------------
 9510|      4|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9510:13): [True: 0, False: 4]
  ------------------
 9511|      0|            goto failed;
 9512|      4|        Py_DECREF(value);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9513|      4|        break;
 9514|      2|    case Pass_kind:
  ------------------
  |  Branch (9514:5): [True: 2, False: 60]
  ------------------
 9515|      2|        tp = (PyTypeObject *)state->Pass_type;
 9516|      2|        result = PyType_GenericNew(tp, NULL, NULL);
 9517|      2|        if (!result) goto failed;
  ------------------
  |  Branch (9517:13): [True: 0, False: 2]
  ------------------
 9518|      2|        break;
 9519|      2|    case Break_kind:
  ------------------
  |  Branch (9519:5): [True: 0, False: 62]
  ------------------
 9520|      0|        tp = (PyTypeObject *)state->Break_type;
 9521|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9522|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9522:13): [True: 0, False: 0]
  ------------------
 9523|      0|        break;
 9524|      0|    case Continue_kind:
  ------------------
  |  Branch (9524:5): [True: 0, False: 62]
  ------------------
 9525|      0|        tp = (PyTypeObject *)state->Continue_type;
 9526|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9527|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9527:13): [True: 0, False: 0]
  ------------------
 9528|      0|        break;
 9529|     62|    }
 9530|     62|    value = ast2obj_int(state, o->lineno);
 9531|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9531:9): [True: 0, False: 62]
  ------------------
 9532|     62|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (9532:9): [True: 0, False: 62]
  ------------------
 9533|      0|        goto failed;
 9534|     62|    Py_DECREF(value);
  ------------------
  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9535|     62|    value = ast2obj_int(state, o->col_offset);
 9536|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9536:9): [True: 0, False: 62]
  ------------------
 9537|     62|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (9537:9): [True: 0, False: 62]
  ------------------
 9538|      0|        goto failed;
 9539|     62|    Py_DECREF(value);
  ------------------
  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9540|     62|    value = ast2obj_int(state, o->end_lineno);
 9541|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9541:9): [True: 0, False: 62]
  ------------------
 9542|     62|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (9542:9): [True: 0, False: 62]
  ------------------
 9543|      0|        goto failed;
 9544|     62|    Py_DECREF(value);
  ------------------
  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9545|     62|    value = ast2obj_int(state, o->end_col_offset);
 9546|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9546:9): [True: 0, False: 62]
  ------------------
 9547|     62|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (9547:9): [True: 0, False: 62]
  ------------------
 9548|      0|        goto failed;
 9549|     62|    Py_DECREF(value);
  ------------------
  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9550|     62|    Py_LeaveRecursiveCall();
 9551|     62|    return result;
 9552|      0|failed:
 9553|      0|    Py_LeaveRecursiveCall();
 9554|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9555|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9556|       |    return NULL;
 9557|     62|}
Python-ast.c:ast2obj_object:
 6011|    304|{
 6012|    304|    PyObject *op = (PyObject*)o;
 6013|    304|    if (!op) {
  ------------------
  |  Branch (6013:9): [True: 86, False: 218]
  ------------------
 6014|     86|        op = Py_None;
  ------------------
  |  |  616|     86|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6015|     86|    }
 6016|    304|    return Py_NewRef(op);
  ------------------
  |  |  550|    304|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6017|    304|}
Python-ast.c:ast2obj_arguments:
10281|      6|{
10282|      6|    arguments_ty o = (arguments_ty)_o;
10283|      6|    PyObject *result = NULL, *value = NULL;
10284|      6|    PyTypeObject *tp;
10285|      6|    if (!o) {
  ------------------
  |  Branch (10285:9): [True: 0, False: 6]
  ------------------
10286|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10287|      0|    }
10288|      6|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10288:9): [True: 0, False: 6]
  ------------------
10289|      0|        return NULL;
10290|      0|    }
10291|      6|    tp = (PyTypeObject *)state->arguments_type;
10292|      6|    result = PyType_GenericNew(tp, NULL, NULL);
10293|      6|    if (!result) return NULL;
  ------------------
  |  Branch (10293:9): [True: 0, False: 6]
  ------------------
10294|      6|    value = ast2obj_list(state, (asdl_seq*)o->posonlyargs, ast2obj_arg);
10295|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10295:9): [True: 0, False: 6]
  ------------------
10296|      6|    if (PyObject_SetAttr(result, state->posonlyargs, value) == -1)
  ------------------
  |  Branch (10296:9): [True: 0, False: 6]
  ------------------
10297|      0|        goto failed;
10298|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10299|      6|    value = ast2obj_list(state, (asdl_seq*)o->args, ast2obj_arg);
10300|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10300:9): [True: 0, False: 6]
  ------------------
10301|      6|    if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (10301:9): [True: 0, False: 6]
  ------------------
10302|      0|        goto failed;
10303|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10304|      6|    value = ast2obj_arg(state, o->vararg);
10305|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10305:9): [True: 0, False: 6]
  ------------------
10306|      6|    if (PyObject_SetAttr(result, state->vararg, value) == -1)
  ------------------
  |  Branch (10306:9): [True: 0, False: 6]
  ------------------
10307|      0|        goto failed;
10308|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10309|      6|    value = ast2obj_list(state, (asdl_seq*)o->kwonlyargs, ast2obj_arg);
10310|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10310:9): [True: 0, False: 6]
  ------------------
10311|      6|    if (PyObject_SetAttr(result, state->kwonlyargs, value) == -1)
  ------------------
  |  Branch (10311:9): [True: 0, False: 6]
  ------------------
10312|      0|        goto failed;
10313|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10314|      6|    value = ast2obj_list(state, (asdl_seq*)o->kw_defaults, ast2obj_expr);
10315|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10315:9): [True: 0, False: 6]
  ------------------
10316|      6|    if (PyObject_SetAttr(result, state->kw_defaults, value) == -1)
  ------------------
  |  Branch (10316:9): [True: 0, False: 6]
  ------------------
10317|      0|        goto failed;
10318|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10319|      6|    value = ast2obj_arg(state, o->kwarg);
10320|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10320:9): [True: 0, False: 6]
  ------------------
10321|      6|    if (PyObject_SetAttr(result, state->kwarg, value) == -1)
  ------------------
  |  Branch (10321:9): [True: 0, False: 6]
  ------------------
10322|      0|        goto failed;
10323|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10324|      6|    value = ast2obj_list(state, (asdl_seq*)o->defaults, ast2obj_expr);
10325|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10325:9): [True: 0, False: 6]
  ------------------
10326|      6|    if (PyObject_SetAttr(result, state->defaults, value) == -1)
  ------------------
  |  Branch (10326:9): [True: 0, False: 6]
  ------------------
10327|      0|        goto failed;
10328|      6|    Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10329|      6|    Py_LeaveRecursiveCall();
10330|      6|    return result;
10331|      0|failed:
10332|      0|    Py_LeaveRecursiveCall();
10333|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10334|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10335|       |    return NULL;
10336|      6|}
Python-ast.c:ast2obj_arg:
10340|     22|{
10341|     22|    arg_ty o = (arg_ty)_o;
10342|     22|    PyObject *result = NULL, *value = NULL;
10343|     22|    PyTypeObject *tp;
10344|     22|    if (!o) {
  ------------------
  |  Branch (10344:9): [True: 8, False: 14]
  ------------------
10345|      8|        Py_RETURN_NONE;
  ------------------
  |  |  628|      8|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10346|      8|    }
10347|     14|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10347:9): [True: 0, False: 14]
  ------------------
10348|      0|        return NULL;
10349|      0|    }
10350|     14|    tp = (PyTypeObject *)state->arg_type;
10351|     14|    result = PyType_GenericNew(tp, NULL, NULL);
10352|     14|    if (!result) return NULL;
  ------------------
  |  Branch (10352:9): [True: 0, False: 14]
  ------------------
10353|     14|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 6019|     14|#define ast2obj_identifier ast2obj_object
  ------------------
10354|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10354:9): [True: 0, False: 14]
  ------------------
10355|     14|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (10355:9): [True: 0, False: 14]
  ------------------
10356|      0|        goto failed;
10357|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10358|     14|    value = ast2obj_expr(state, o->annotation);
10359|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10359:9): [True: 0, False: 14]
  ------------------
10360|     14|    if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (10360:9): [True: 0, False: 14]
  ------------------
10361|      0|        goto failed;
10362|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10363|     14|    value = ast2obj_string(state, o->type_comment);
  ------------------
  |  | 6020|     14|#define ast2obj_string ast2obj_object
  ------------------
10364|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10364:9): [True: 0, False: 14]
  ------------------
10365|     14|    if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (10365:9): [True: 0, False: 14]
  ------------------
10366|      0|        goto failed;
10367|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10368|     14|    value = ast2obj_int(state, o->lineno);
10369|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10369:9): [True: 0, False: 14]
  ------------------
10370|     14|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10370:9): [True: 0, False: 14]
  ------------------
10371|      0|        goto failed;
10372|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10373|     14|    value = ast2obj_int(state, o->col_offset);
10374|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10374:9): [True: 0, False: 14]
  ------------------
10375|     14|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10375:9): [True: 0, False: 14]
  ------------------
10376|      0|        goto failed;
10377|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10378|     14|    value = ast2obj_int(state, o->end_lineno);
10379|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10379:9): [True: 0, False: 14]
  ------------------
10380|     14|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10380:9): [True: 0, False: 14]
  ------------------
10381|      0|        goto failed;
10382|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10383|     14|    value = ast2obj_int(state, o->end_col_offset);
10384|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10384:9): [True: 0, False: 14]
  ------------------
10385|     14|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10385:9): [True: 0, False: 14]
  ------------------
10386|      0|        goto failed;
10387|     14|    Py_DECREF(value);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10388|     14|    Py_LeaveRecursiveCall();
10389|     14|    return result;
10390|      0|failed:
10391|      0|    Py_LeaveRecursiveCall();
10392|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10393|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10394|       |    return NULL;
10395|     14|}
Python-ast.c:ast2obj_operator:
10100|     18|{
10101|     18|    switch(o) {
  ------------------
  |  Branch (10101:12): [True: 18, False: 0]
  ------------------
10102|      0|        case Add:
  ------------------
  |  Branch (10102:9): [True: 0, False: 18]
  ------------------
10103|      0|            return Py_NewRef(state->Add_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10104|      8|        case Sub:
  ------------------
  |  Branch (10104:9): [True: 8, False: 10]
  ------------------
10105|      8|            return Py_NewRef(state->Sub_singleton);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10106|      2|        case Mult:
  ------------------
  |  Branch (10106:9): [True: 2, False: 16]
  ------------------
10107|      2|            return Py_NewRef(state->Mult_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10108|      0|        case MatMult:
  ------------------
  |  Branch (10108:9): [True: 0, False: 18]
  ------------------
10109|      0|            return Py_NewRef(state->MatMult_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10110|      2|        case Div:
  ------------------
  |  Branch (10110:9): [True: 2, False: 16]
  ------------------
10111|      2|            return Py_NewRef(state->Div_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10112|      0|        case Mod:
  ------------------
  |  Branch (10112:9): [True: 0, False: 18]
  ------------------
10113|      0|            return Py_NewRef(state->Mod_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10114|      0|        case Pow:
  ------------------
  |  Branch (10114:9): [True: 0, False: 18]
  ------------------
10115|      0|            return Py_NewRef(state->Pow_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10116|      0|        case LShift:
  ------------------
  |  Branch (10116:9): [True: 0, False: 18]
  ------------------
10117|      0|            return Py_NewRef(state->LShift_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10118|      0|        case RShift:
  ------------------
  |  Branch (10118:9): [True: 0, False: 18]
  ------------------
10119|      0|            return Py_NewRef(state->RShift_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10120|      6|        case BitOr:
  ------------------
  |  Branch (10120:9): [True: 6, False: 12]
  ------------------
10121|      6|            return Py_NewRef(state->BitOr_singleton);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10122|      0|        case BitXor:
  ------------------
  |  Branch (10122:9): [True: 0, False: 18]
  ------------------
10123|      0|            return Py_NewRef(state->BitXor_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10124|      0|        case BitAnd:
  ------------------
  |  Branch (10124:9): [True: 0, False: 18]
  ------------------
10125|      0|            return Py_NewRef(state->BitAnd_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10126|      0|        case FloorDiv:
  ------------------
  |  Branch (10126:9): [True: 0, False: 18]
  ------------------
10127|      0|            return Py_NewRef(state->FloorDiv_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10128|     18|    }
10129|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10130|     18|}
Python-ast.c:ast2obj_int:
 6023|  1.53k|{
 6024|  1.53k|    return PyLong_FromLong(b);
 6025|  1.53k|}
Python-ast.c:ast2obj_expr:
 9561|    322|{
 9562|    322|    expr_ty o = (expr_ty)_o;
 9563|    322|    PyObject *result = NULL, *value = NULL;
 9564|    322|    PyTypeObject *tp;
 9565|    322|    if (!o) {
  ------------------
  |  Branch (9565:9): [True: 14, False: 308]
  ------------------
 9566|     14|        Py_RETURN_NONE;
  ------------------
  |  |  628|     14|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 9567|     14|    }
 9568|    308|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (9568:9): [True: 0, False: 308]
  ------------------
 9569|      0|        return NULL;
 9570|      0|    }
 9571|    308|    switch (o->kind) {
  ------------------
  |  Branch (9571:13): [True: 308, False: 0]
  ------------------
 9572|     18|    case BoolOp_kind:
  ------------------
  |  Branch (9572:5): [True: 18, False: 290]
  ------------------
 9573|     18|        tp = (PyTypeObject *)state->BoolOp_type;
 9574|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9575|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9575:13): [True: 0, False: 18]
  ------------------
 9576|     18|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 9577|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9577:13): [True: 0, False: 18]
  ------------------
 9578|     18|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9578:13): [True: 0, False: 18]
  ------------------
 9579|      0|            goto failed;
 9580|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9581|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 9582|     18|                             ast2obj_expr);
 9583|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9583:13): [True: 0, False: 18]
  ------------------
 9584|     18|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9584:13): [True: 0, False: 18]
  ------------------
 9585|      0|            goto failed;
 9586|     18|        Py_DECREF(value);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9587|     18|        break;
 9588|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (9588:5): [True: 0, False: 308]
  ------------------
 9589|      0|        tp = (PyTypeObject *)state->NamedExpr_type;
 9590|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9591|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9591:13): [True: 0, False: 0]
  ------------------
 9592|      0|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 9593|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9593:13): [True: 0, False: 0]
  ------------------
 9594|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9594:13): [True: 0, False: 0]
  ------------------
 9595|      0|            goto failed;
 9596|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9597|      0|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 9598|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9598:13): [True: 0, False: 0]
  ------------------
 9599|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9599:13): [True: 0, False: 0]
  ------------------
 9600|      0|            goto failed;
 9601|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9602|      0|        break;
 9603|     12|    case BinOp_kind:
  ------------------
  |  Branch (9603:5): [True: 12, False: 296]
  ------------------
 9604|     12|        tp = (PyTypeObject *)state->BinOp_type;
 9605|     12|        result = PyType_GenericNew(tp, NULL, NULL);
 9606|     12|        if (!result) goto failed;
  ------------------
  |  Branch (9606:13): [True: 0, False: 12]
  ------------------
 9607|     12|        value = ast2obj_expr(state, o->v.BinOp.left);
 9608|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9608:13): [True: 0, False: 12]
  ------------------
 9609|     12|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9609:13): [True: 0, False: 12]
  ------------------
 9610|      0|            goto failed;
 9611|     12|        Py_DECREF(value);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9612|     12|        value = ast2obj_operator(state, o->v.BinOp.op);
 9613|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9613:13): [True: 0, False: 12]
  ------------------
 9614|     12|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9614:13): [True: 0, False: 12]
  ------------------
 9615|      0|            goto failed;
 9616|     12|        Py_DECREF(value);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9617|     12|        value = ast2obj_expr(state, o->v.BinOp.right);
 9618|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9618:13): [True: 0, False: 12]
  ------------------
 9619|     12|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (9619:13): [True: 0, False: 12]
  ------------------
 9620|      0|            goto failed;
 9621|     12|        Py_DECREF(value);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9622|     12|        break;
 9623|      4|    case UnaryOp_kind:
  ------------------
  |  Branch (9623:5): [True: 4, False: 304]
  ------------------
 9624|      4|        tp = (PyTypeObject *)state->UnaryOp_type;
 9625|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 9626|      4|        if (!result) goto failed;
  ------------------
  |  Branch (9626:13): [True: 0, False: 4]
  ------------------
 9627|      4|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 9628|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9628:13): [True: 0, False: 4]
  ------------------
 9629|      4|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9629:13): [True: 0, False: 4]
  ------------------
 9630|      0|            goto failed;
 9631|      4|        Py_DECREF(value);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9632|      4|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 9633|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9633:13): [True: 0, False: 4]
  ------------------
 9634|      4|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (9634:13): [True: 0, False: 4]
  ------------------
 9635|      0|            goto failed;
 9636|      4|        Py_DECREF(value);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9637|      4|        break;
 9638|      0|    case Lambda_kind:
  ------------------
  |  Branch (9638:5): [True: 0, False: 308]
  ------------------
 9639|      0|        tp = (PyTypeObject *)state->Lambda_type;
 9640|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9641|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9641:13): [True: 0, False: 0]
  ------------------
 9642|      0|        value = ast2obj_arguments(state, o->v.Lambda.args);
 9643|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9643:13): [True: 0, False: 0]
  ------------------
 9644|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9644:13): [True: 0, False: 0]
  ------------------
 9645|      0|            goto failed;
 9646|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9647|      0|        value = ast2obj_expr(state, o->v.Lambda.body);
 9648|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9648:13): [True: 0, False: 0]
  ------------------
 9649|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9649:13): [True: 0, False: 0]
  ------------------
 9650|      0|            goto failed;
 9651|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9652|      0|        break;
 9653|      0|    case IfExp_kind:
  ------------------
  |  Branch (9653:5): [True: 0, False: 308]
  ------------------
 9654|      0|        tp = (PyTypeObject *)state->IfExp_type;
 9655|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9656|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9656:13): [True: 0, False: 0]
  ------------------
 9657|      0|        value = ast2obj_expr(state, o->v.IfExp.test);
 9658|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9658:13): [True: 0, False: 0]
  ------------------
 9659|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9659:13): [True: 0, False: 0]
  ------------------
 9660|      0|            goto failed;
 9661|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9662|      0|        value = ast2obj_expr(state, o->v.IfExp.body);
 9663|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9663:13): [True: 0, False: 0]
  ------------------
 9664|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9664:13): [True: 0, False: 0]
  ------------------
 9665|      0|            goto failed;
 9666|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9667|      0|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 9668|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9668:13): [True: 0, False: 0]
  ------------------
 9669|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9669:13): [True: 0, False: 0]
  ------------------
 9670|      0|            goto failed;
 9671|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9672|      0|        break;
 9673|      0|    case Dict_kind:
  ------------------
  |  Branch (9673:5): [True: 0, False: 308]
  ------------------
 9674|      0|        tp = (PyTypeObject *)state->Dict_type;
 9675|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9676|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9676:13): [True: 0, False: 0]
  ------------------
 9677|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 9678|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9678:13): [True: 0, False: 0]
  ------------------
 9679|      0|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (9679:13): [True: 0, False: 0]
  ------------------
 9680|      0|            goto failed;
 9681|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9682|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 9683|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9683:13): [True: 0, False: 0]
  ------------------
 9684|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9684:13): [True: 0, False: 0]
  ------------------
 9685|      0|            goto failed;
 9686|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9687|      0|        break;
 9688|      0|    case Set_kind:
  ------------------
  |  Branch (9688:5): [True: 0, False: 308]
  ------------------
 9689|      0|        tp = (PyTypeObject *)state->Set_type;
 9690|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9691|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9691:13): [True: 0, False: 0]
  ------------------
 9692|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 9693|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9693:13): [True: 0, False: 0]
  ------------------
 9694|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (9694:13): [True: 0, False: 0]
  ------------------
 9695|      0|            goto failed;
 9696|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9697|      0|        break;
 9698|      0|    case ListComp_kind:
  ------------------
  |  Branch (9698:5): [True: 0, False: 308]
  ------------------
 9699|      0|        tp = (PyTypeObject *)state->ListComp_type;
 9700|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9701|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9701:13): [True: 0, False: 0]
  ------------------
 9702|      0|        value = ast2obj_expr(state, o->v.ListComp.elt);
 9703|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9703:13): [True: 0, False: 0]
  ------------------
 9704|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9704:13): [True: 0, False: 0]
  ------------------
 9705|      0|            goto failed;
 9706|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9707|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 9708|      0|                             ast2obj_comprehension);
 9709|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9709:13): [True: 0, False: 0]
  ------------------
 9710|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9710:13): [True: 0, False: 0]
  ------------------
 9711|      0|            goto failed;
 9712|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9713|      0|        break;
 9714|      0|    case SetComp_kind:
  ------------------
  |  Branch (9714:5): [True: 0, False: 308]
  ------------------
 9715|      0|        tp = (PyTypeObject *)state->SetComp_type;
 9716|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9717|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9717:13): [True: 0, False: 0]
  ------------------
 9718|      0|        value = ast2obj_expr(state, o->v.SetComp.elt);
 9719|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9719:13): [True: 0, False: 0]
  ------------------
 9720|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9720:13): [True: 0, False: 0]
  ------------------
 9721|      0|            goto failed;
 9722|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9723|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 9724|      0|                             ast2obj_comprehension);
 9725|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9725:13): [True: 0, False: 0]
  ------------------
 9726|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9726:13): [True: 0, False: 0]
  ------------------
 9727|      0|            goto failed;
 9728|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9729|      0|        break;
 9730|      0|    case DictComp_kind:
  ------------------
  |  Branch (9730:5): [True: 0, False: 308]
  ------------------
 9731|      0|        tp = (PyTypeObject *)state->DictComp_type;
 9732|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9733|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9733:13): [True: 0, False: 0]
  ------------------
 9734|      0|        value = ast2obj_expr(state, o->v.DictComp.key);
 9735|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9735:13): [True: 0, False: 0]
  ------------------
 9736|      0|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (9736:13): [True: 0, False: 0]
  ------------------
 9737|      0|            goto failed;
 9738|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9739|      0|        value = ast2obj_expr(state, o->v.DictComp.value);
 9740|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9740:13): [True: 0, False: 0]
  ------------------
 9741|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9741:13): [True: 0, False: 0]
  ------------------
 9742|      0|            goto failed;
 9743|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9744|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 9745|      0|                             ast2obj_comprehension);
 9746|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9746:13): [True: 0, False: 0]
  ------------------
 9747|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9747:13): [True: 0, False: 0]
  ------------------
 9748|      0|            goto failed;
 9749|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9750|      0|        break;
 9751|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (9751:5): [True: 0, False: 308]
  ------------------
 9752|      0|        tp = (PyTypeObject *)state->GeneratorExp_type;
 9753|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9754|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9754:13): [True: 0, False: 0]
  ------------------
 9755|      0|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 9756|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9756:13): [True: 0, False: 0]
  ------------------
 9757|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9757:13): [True: 0, False: 0]
  ------------------
 9758|      0|            goto failed;
 9759|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9760|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 9761|      0|                             ast2obj_comprehension);
 9762|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9762:13): [True: 0, False: 0]
  ------------------
 9763|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9763:13): [True: 0, False: 0]
  ------------------
 9764|      0|            goto failed;
 9765|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9766|      0|        break;
 9767|      0|    case Await_kind:
  ------------------
  |  Branch (9767:5): [True: 0, False: 308]
  ------------------
 9768|      0|        tp = (PyTypeObject *)state->Await_type;
 9769|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9770|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9770:13): [True: 0, False: 0]
  ------------------
 9771|      0|        value = ast2obj_expr(state, o->v.Await.value);
 9772|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9772:13): [True: 0, False: 0]
  ------------------
 9773|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9773:13): [True: 0, False: 0]
  ------------------
 9774|      0|            goto failed;
 9775|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9776|      0|        break;
 9777|      0|    case Yield_kind:
  ------------------
  |  Branch (9777:5): [True: 0, False: 308]
  ------------------
 9778|      0|        tp = (PyTypeObject *)state->Yield_type;
 9779|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9780|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9780:13): [True: 0, False: 0]
  ------------------
 9781|      0|        value = ast2obj_expr(state, o->v.Yield.value);
 9782|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9782:13): [True: 0, False: 0]
  ------------------
 9783|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9783:13): [True: 0, False: 0]
  ------------------
 9784|      0|            goto failed;
 9785|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9786|      0|        break;
 9787|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (9787:5): [True: 0, False: 308]
  ------------------
 9788|      0|        tp = (PyTypeObject *)state->YieldFrom_type;
 9789|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9790|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9790:13): [True: 0, False: 0]
  ------------------
 9791|      0|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 9792|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9792:13): [True: 0, False: 0]
  ------------------
 9793|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9793:13): [True: 0, False: 0]
  ------------------
 9794|      0|            goto failed;
 9795|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9796|      0|        break;
 9797|     20|    case Compare_kind:
  ------------------
  |  Branch (9797:5): [True: 20, False: 288]
  ------------------
 9798|     20|        tp = (PyTypeObject *)state->Compare_type;
 9799|     20|        result = PyType_GenericNew(tp, NULL, NULL);
 9800|     20|        if (!result) goto failed;
  ------------------
  |  Branch (9800:13): [True: 0, False: 20]
  ------------------
 9801|     20|        value = ast2obj_expr(state, o->v.Compare.left);
 9802|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9802:13): [True: 0, False: 20]
  ------------------
 9803|     20|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9803:13): [True: 0, False: 20]
  ------------------
 9804|      0|            goto failed;
 9805|     20|        Py_DECREF(value);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9806|     20|        {
 9807|     20|            Py_ssize_t i, n = asdl_seq_LEN(o->v.Compare.ops);
  ------------------
  |  |   83|     20|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     40|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9808|     20|            value = PyList_New(n);
 9809|     20|            if (!value) goto failed;
  ------------------
  |  Branch (9809:17): [True: 0, False: 20]
  ------------------
 9810|     40|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (9810:24): [True: 20, False: 20]
  ------------------
 9811|     20|                PyList_SET_ITEM(value, i, ast2obj_cmpop(state, (cmpop_ty)asdl_seq_GET(o->v.Compare.ops, i)));
  ------------------
  |  |   50|     40|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9812|     20|        }
 9813|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9813:13): [True: 0, False: 20]
  ------------------
 9814|     20|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (9814:13): [True: 0, False: 20]
  ------------------
 9815|      0|            goto failed;
 9816|     20|        Py_DECREF(value);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9817|     20|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 9818|     20|                             ast2obj_expr);
 9819|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9819:13): [True: 0, False: 20]
  ------------------
 9820|     20|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (9820:13): [True: 0, False: 20]
  ------------------
 9821|      0|            goto failed;
 9822|     20|        Py_DECREF(value);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9823|     20|        break;
 9824|     56|    case Call_kind:
  ------------------
  |  Branch (9824:5): [True: 56, False: 252]
  ------------------
 9825|     56|        tp = (PyTypeObject *)state->Call_type;
 9826|     56|        result = PyType_GenericNew(tp, NULL, NULL);
 9827|     56|        if (!result) goto failed;
  ------------------
  |  Branch (9827:13): [True: 0, False: 56]
  ------------------
 9828|     56|        value = ast2obj_expr(state, o->v.Call.func);
 9829|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9829:13): [True: 0, False: 56]
  ------------------
 9830|     56|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (9830:13): [True: 0, False: 56]
  ------------------
 9831|      0|            goto failed;
 9832|     56|        Py_DECREF(value);
  ------------------
  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9833|     56|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 9834|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9834:13): [True: 0, False: 56]
  ------------------
 9835|     56|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9835:13): [True: 0, False: 56]
  ------------------
 9836|      0|            goto failed;
 9837|     56|        Py_DECREF(value);
  ------------------
  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9838|     56|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 9839|     56|                             ast2obj_keyword);
 9840|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9840:13): [True: 0, False: 56]
  ------------------
 9841|     56|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9841:13): [True: 0, False: 56]
  ------------------
 9842|      0|            goto failed;
 9843|     56|        Py_DECREF(value);
  ------------------
  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9844|     56|        break;
 9845|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (9845:5): [True: 0, False: 308]
  ------------------
 9846|      0|        tp = (PyTypeObject *)state->FormattedValue_type;
 9847|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9848|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9848:13): [True: 0, False: 0]
  ------------------
 9849|      0|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 9850|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9850:13): [True: 0, False: 0]
  ------------------
 9851|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9851:13): [True: 0, False: 0]
  ------------------
 9852|      0|            goto failed;
 9853|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9854|      0|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 9855|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9856:13): [True: 0, False: 0]
  ------------------
 9857|      0|            goto failed;
 9858|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9859|      0|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 9860|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9860:13): [True: 0, False: 0]
  ------------------
 9861|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9861:13): [True: 0, False: 0]
  ------------------
 9862|      0|            goto failed;
 9863|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9864|      0|        break;
 9865|      0|    case Interpolation_kind:
  ------------------
  |  Branch (9865:5): [True: 0, False: 308]
  ------------------
 9866|      0|        tp = (PyTypeObject *)state->Interpolation_type;
 9867|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9868|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9868:13): [True: 0, False: 0]
  ------------------
 9869|      0|        value = ast2obj_expr(state, o->v.Interpolation.value);
 9870|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9870:13): [True: 0, False: 0]
  ------------------
 9871|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9871:13): [True: 0, False: 0]
  ------------------
 9872|      0|            goto failed;
 9873|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9874|      0|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 6018|      0|#define ast2obj_constant ast2obj_object
  ------------------
 9875|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9875:13): [True: 0, False: 0]
  ------------------
 9876|      0|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (9876:13): [True: 0, False: 0]
  ------------------
 9877|      0|            goto failed;
 9878|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9879|      0|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 9880|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9880:13): [True: 0, False: 0]
  ------------------
 9881|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9881:13): [True: 0, False: 0]
  ------------------
 9882|      0|            goto failed;
 9883|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9884|      0|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 9885|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9885:13): [True: 0, False: 0]
  ------------------
 9886|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9886:13): [True: 0, False: 0]
  ------------------
 9887|      0|            goto failed;
 9888|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9889|      0|        break;
 9890|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (9890:5): [True: 0, False: 308]
  ------------------
 9891|      0|        tp = (PyTypeObject *)state->JoinedStr_type;
 9892|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9893|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9893:13): [True: 0, False: 0]
  ------------------
 9894|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 9895|      0|                             ast2obj_expr);
 9896|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9896:13): [True: 0, False: 0]
  ------------------
 9897|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9897:13): [True: 0, False: 0]
  ------------------
 9898|      0|            goto failed;
 9899|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9900|      0|        break;
 9901|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (9901:5): [True: 0, False: 308]
  ------------------
 9902|      0|        tp = (PyTypeObject *)state->TemplateStr_type;
 9903|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9904|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9904:13): [True: 0, False: 0]
  ------------------
 9905|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 9906|      0|                             ast2obj_expr);
 9907|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9907:13): [True: 0, False: 0]
  ------------------
 9908|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9908:13): [True: 0, False: 0]
  ------------------
 9909|      0|            goto failed;
 9910|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9911|      0|        break;
 9912|     48|    case Constant_kind:
  ------------------
  |  Branch (9912:5): [True: 48, False: 260]
  ------------------
 9913|     48|        tp = (PyTypeObject *)state->Constant_type;
 9914|     48|        result = PyType_GenericNew(tp, NULL, NULL);
 9915|     48|        if (!result) goto failed;
  ------------------
  |  Branch (9915:13): [True: 0, False: 48]
  ------------------
 9916|     48|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 6018|     48|#define ast2obj_constant ast2obj_object
  ------------------
 9917|     48|        if (!value) goto failed;
  ------------------
  |  Branch (9917:13): [True: 0, False: 48]
  ------------------
 9918|     48|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9918:13): [True: 0, False: 48]
  ------------------
 9919|      0|            goto failed;
 9920|     48|        Py_DECREF(value);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9921|     48|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 6020|     48|#define ast2obj_string ast2obj_object
  ------------------
 9922|     48|        if (!value) goto failed;
  ------------------
  |  Branch (9922:13): [True: 0, False: 48]
  ------------------
 9923|     48|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (9923:13): [True: 0, False: 48]
  ------------------
 9924|      0|            goto failed;
 9925|     48|        Py_DECREF(value);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9926|     48|        break;
 9927|      6|    case Attribute_kind:
  ------------------
  |  Branch (9927:5): [True: 6, False: 302]
  ------------------
 9928|      6|        tp = (PyTypeObject *)state->Attribute_type;
 9929|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 9930|      6|        if (!result) goto failed;
  ------------------
  |  Branch (9930:13): [True: 0, False: 6]
  ------------------
 9931|      6|        value = ast2obj_expr(state, o->v.Attribute.value);
 9932|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9932:13): [True: 0, False: 6]
  ------------------
 9933|      6|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9933:13): [True: 0, False: 6]
  ------------------
 9934|      0|            goto failed;
 9935|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9936|      6|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 6019|      6|#define ast2obj_identifier ast2obj_object
  ------------------
 9937|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9937:13): [True: 0, False: 6]
  ------------------
 9938|      6|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (9938:13): [True: 0, False: 6]
  ------------------
 9939|      0|            goto failed;
 9940|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9941|      6|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 9942|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9942:13): [True: 0, False: 6]
  ------------------
 9943|      6|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9943:13): [True: 0, False: 6]
  ------------------
 9944|      0|            goto failed;
 9945|      6|        Py_DECREF(value);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9946|      6|        break;
 9947|      0|    case Subscript_kind:
  ------------------
  |  Branch (9947:5): [True: 0, False: 308]
  ------------------
 9948|      0|        tp = (PyTypeObject *)state->Subscript_type;
 9949|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9950|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9950:13): [True: 0, False: 0]
  ------------------
 9951|      0|        value = ast2obj_expr(state, o->v.Subscript.value);
 9952|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9952:13): [True: 0, False: 0]
  ------------------
 9953|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9953:13): [True: 0, False: 0]
  ------------------
 9954|      0|            goto failed;
 9955|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9956|      0|        value = ast2obj_expr(state, o->v.Subscript.slice);
 9957|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9957:13): [True: 0, False: 0]
  ------------------
 9958|      0|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (9958:13): [True: 0, False: 0]
  ------------------
 9959|      0|            goto failed;
 9960|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9961|      0|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 9962|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9962:13): [True: 0, False: 0]
  ------------------
 9963|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9963:13): [True: 0, False: 0]
  ------------------
 9964|      0|            goto failed;
 9965|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9966|      0|        break;
 9967|      0|    case Starred_kind:
  ------------------
  |  Branch (9967:5): [True: 0, False: 308]
  ------------------
 9968|      0|        tp = (PyTypeObject *)state->Starred_type;
 9969|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9970|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9970:13): [True: 0, False: 0]
  ------------------
 9971|      0|        value = ast2obj_expr(state, o->v.Starred.value);
 9972|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9972:13): [True: 0, False: 0]
  ------------------
 9973|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9973:13): [True: 0, False: 0]
  ------------------
 9974|      0|            goto failed;
 9975|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9976|      0|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 9977|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9977:13): [True: 0, False: 0]
  ------------------
 9978|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9978:13): [True: 0, False: 0]
  ------------------
 9979|      0|            goto failed;
 9980|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9981|      0|        break;
 9982|    144|    case Name_kind:
  ------------------
  |  Branch (9982:5): [True: 144, False: 164]
  ------------------
 9983|    144|        tp = (PyTypeObject *)state->Name_type;
 9984|    144|        result = PyType_GenericNew(tp, NULL, NULL);
 9985|    144|        if (!result) goto failed;
  ------------------
  |  Branch (9985:13): [True: 0, False: 144]
  ------------------
 9986|    144|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 6019|    144|#define ast2obj_identifier ast2obj_object
  ------------------
 9987|    144|        if (!value) goto failed;
  ------------------
  |  Branch (9987:13): [True: 0, False: 144]
  ------------------
 9988|    144|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (9988:13): [True: 0, False: 144]
  ------------------
 9989|      0|            goto failed;
 9990|    144|        Py_DECREF(value);
  ------------------
  |  |  430|    144|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9991|    144|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 9992|    144|        if (!value) goto failed;
  ------------------
  |  Branch (9992:13): [True: 0, False: 144]
  ------------------
 9993|    144|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9993:13): [True: 0, False: 144]
  ------------------
 9994|      0|            goto failed;
 9995|    144|        Py_DECREF(value);
  ------------------
  |  |  430|    144|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9996|    144|        break;
 9997|      0|    case List_kind:
  ------------------
  |  Branch (9997:5): [True: 0, False: 308]
  ------------------
 9998|      0|        tp = (PyTypeObject *)state->List_type;
 9999|      0|        result = PyType_GenericNew(tp, NULL, NULL);
10000|      0|        if (!result) goto failed;
  ------------------
  |  Branch (10000:13): [True: 0, False: 0]
  ------------------
10001|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
10002|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10002:13): [True: 0, False: 0]
  ------------------
10003|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (10003:13): [True: 0, False: 0]
  ------------------
10004|      0|            goto failed;
10005|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10006|      0|        value = ast2obj_expr_context(state, o->v.List.ctx);
10007|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10007:13): [True: 0, False: 0]
  ------------------
10008|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (10008:13): [True: 0, False: 0]
  ------------------
10009|      0|            goto failed;
10010|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10011|      0|        break;
10012|      0|    case Tuple_kind:
  ------------------
  |  Branch (10012:5): [True: 0, False: 308]
  ------------------
10013|      0|        tp = (PyTypeObject *)state->Tuple_type;
10014|      0|        result = PyType_GenericNew(tp, NULL, NULL);
10015|      0|        if (!result) goto failed;
  ------------------
  |  Branch (10015:13): [True: 0, False: 0]
  ------------------
10016|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
10017|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10017:13): [True: 0, False: 0]
  ------------------
10018|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (10018:13): [True: 0, False: 0]
  ------------------
10019|      0|            goto failed;
10020|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10021|      0|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
10022|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10022:13): [True: 0, False: 0]
  ------------------
10023|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (10023:13): [True: 0, False: 0]
  ------------------
10024|      0|            goto failed;
10025|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10026|      0|        break;
10027|      0|    case Slice_kind:
  ------------------
  |  Branch (10027:5): [True: 0, False: 308]
  ------------------
10028|      0|        tp = (PyTypeObject *)state->Slice_type;
10029|      0|        result = PyType_GenericNew(tp, NULL, NULL);
10030|      0|        if (!result) goto failed;
  ------------------
  |  Branch (10030:13): [True: 0, False: 0]
  ------------------
10031|      0|        value = ast2obj_expr(state, o->v.Slice.lower);
10032|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10032:13): [True: 0, False: 0]
  ------------------
10033|      0|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (10033:13): [True: 0, False: 0]
  ------------------
10034|      0|            goto failed;
10035|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10036|      0|        value = ast2obj_expr(state, o->v.Slice.upper);
10037|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10037:13): [True: 0, False: 0]
  ------------------
10038|      0|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (10038:13): [True: 0, False: 0]
  ------------------
10039|      0|            goto failed;
10040|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10041|      0|        value = ast2obj_expr(state, o->v.Slice.step);
10042|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10042:13): [True: 0, False: 0]
  ------------------
10043|      0|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (10043:13): [True: 0, False: 0]
  ------------------
10044|      0|            goto failed;
10045|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10046|      0|        break;
10047|    308|    }
10048|    308|    value = ast2obj_int(state, o->lineno);
10049|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10049:9): [True: 0, False: 308]
  ------------------
10050|    308|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10050:9): [True: 0, False: 308]
  ------------------
10051|      0|        goto failed;
10052|    308|    Py_DECREF(value);
  ------------------
  |  |  430|    308|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    308|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    308|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10053|    308|    value = ast2obj_int(state, o->col_offset);
10054|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10054:9): [True: 0, False: 308]
  ------------------
10055|    308|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10055:9): [True: 0, False: 308]
  ------------------
10056|      0|        goto failed;
10057|    308|    Py_DECREF(value);
  ------------------
  |  |  430|    308|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    308|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    308|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10058|    308|    value = ast2obj_int(state, o->end_lineno);
10059|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10059:9): [True: 0, False: 308]
  ------------------
10060|    308|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10060:9): [True: 0, False: 308]
  ------------------
10061|      0|        goto failed;
10062|    308|    Py_DECREF(value);
  ------------------
  |  |  430|    308|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    308|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    308|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10063|    308|    value = ast2obj_int(state, o->end_col_offset);
10064|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10064:9): [True: 0, False: 308]
  ------------------
10065|    308|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10065:9): [True: 0, False: 308]
  ------------------
10066|      0|        goto failed;
10067|    308|    Py_DECREF(value);
  ------------------
  |  |  430|    308|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    308|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    308|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10068|    308|    Py_LeaveRecursiveCall();
10069|    308|    return result;
10070|      0|failed:
10071|      0|    Py_LeaveRecursiveCall();
10072|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10073|      0|    Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10074|       |    return NULL;
10075|    308|}
Python-ast.c:ast2obj_boolop:
10090|     18|{
10091|     18|    switch(o) {
  ------------------
  |  Branch (10091:12): [True: 18, False: 0]
  ------------------
10092|     10|        case And:
  ------------------
  |  Branch (10092:9): [True: 10, False: 8]
  ------------------
10093|     10|            return Py_NewRef(state->And_singleton);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10094|      8|        case Or:
  ------------------
  |  Branch (10094:9): [True: 8, False: 10]
  ------------------
10095|      8|            return Py_NewRef(state->Or_singleton);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10096|     18|    }
10097|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10098|     18|}
Python-ast.c:ast2obj_unaryop:
10132|      4|{
10133|      4|    switch(o) {
  ------------------
  |  Branch (10133:12): [True: 4, False: 0]
  ------------------
10134|      0|        case Invert:
  ------------------
  |  Branch (10134:9): [True: 0, False: 4]
  ------------------
10135|      0|            return Py_NewRef(state->Invert_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10136|      2|        case Not:
  ------------------
  |  Branch (10136:9): [True: 2, False: 2]
  ------------------
10137|      2|            return Py_NewRef(state->Not_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10138|      0|        case UAdd:
  ------------------
  |  Branch (10138:9): [True: 0, False: 4]
  ------------------
10139|      0|            return Py_NewRef(state->UAdd_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10140|      2|        case USub:
  ------------------
  |  Branch (10140:9): [True: 2, False: 2]
  ------------------
10141|      2|            return Py_NewRef(state->USub_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10142|      4|    }
10143|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10144|      4|}
Python-ast.c:ast2obj_cmpop:
10146|     20|{
10147|     20|    switch(o) {
  ------------------
  |  Branch (10147:12): [True: 20, False: 0]
  ------------------
10148|      6|        case Eq:
  ------------------
  |  Branch (10148:9): [True: 6, False: 14]
  ------------------
10149|      6|            return Py_NewRef(state->Eq_singleton);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10150|      0|        case NotEq:
  ------------------
  |  Branch (10150:9): [True: 0, False: 20]
  ------------------
10151|      0|            return Py_NewRef(state->NotEq_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10152|      2|        case Lt:
  ------------------
  |  Branch (10152:9): [True: 2, False: 18]
  ------------------
10153|      2|            return Py_NewRef(state->Lt_singleton);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10154|      0|        case LtE:
  ------------------
  |  Branch (10154:9): [True: 0, False: 20]
  ------------------
10155|      0|            return Py_NewRef(state->LtE_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10156|      0|        case Gt:
  ------------------
  |  Branch (10156:9): [True: 0, False: 20]
  ------------------
10157|      0|            return Py_NewRef(state->Gt_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10158|      0|        case GtE:
  ------------------
  |  Branch (10158:9): [True: 0, False: 20]
  ------------------
10159|      0|            return Py_NewRef(state->GtE_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10160|      8|        case Is:
  ------------------
  |  Branch (10160:9): [True: 8, False: 12]
  ------------------
10161|      8|            return Py_NewRef(state->Is_singleton);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10162|      4|        case IsNot:
  ------------------
  |  Branch (10162:9): [True: 4, False: 16]
  ------------------
10163|      4|            return Py_NewRef(state->IsNot_singleton);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10164|      0|        case In:
  ------------------
  |  Branch (10164:9): [True: 0, False: 20]
  ------------------
10165|      0|            return Py_NewRef(state->In_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10166|      0|        case NotIn:
  ------------------
  |  Branch (10166:9): [True: 0, False: 20]
  ------------------
10167|      0|            return Py_NewRef(state->NotIn_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10168|     20|    }
10169|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10170|     20|}
Python-ast.c:ast2obj_expr_context:
10078|    150|{
10079|    150|    switch(o) {
  ------------------
  |  Branch (10079:12): [True: 150, False: 0]
  ------------------
10080|    126|        case Load:
  ------------------
  |  Branch (10080:9): [True: 126, False: 24]
  ------------------
10081|    126|            return Py_NewRef(state->Load_singleton);
  ------------------
  |  |  550|    126|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10082|     24|        case Store:
  ------------------
  |  Branch (10082:9): [True: 24, False: 126]
  ------------------
10083|     24|            return Py_NewRef(state->Store_singleton);
  ------------------
  |  |  550|     24|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10084|      0|        case Del:
  ------------------
  |  Branch (10084:9): [True: 0, False: 150]
  ------------------
10085|      0|            return Py_NewRef(state->Del_singleton);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10086|    150|    }
10087|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10088|    150|}

PyInit__tokenize:
  445|      2|{
  446|      2|    return PyModuleDef_Init(&_tokenizemodule);
  447|      2|}
Python-tokenize.c:tokenizemodule_exec:
  381|      2|{
  382|      2|    tokenize_state *state = get_tokenize_state(m);
  383|      2|    if (state == NULL) {
  ------------------
  |  Branch (383:9): [True: 0, False: 2]
  ------------------
  384|      0|        return -1;
  385|      0|    }
  386|       |
  387|      2|    state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL);
  388|      2|    if (state->TokenizerIter == NULL) {
  ------------------
  |  Branch (388:9): [True: 0, False: 2]
  ------------------
  389|      0|        return -1;
  390|      0|    }
  391|      2|    if (PyModule_AddType(m, state->TokenizerIter) < 0) {
  ------------------
  |  Branch (391:9): [True: 0, False: 2]
  ------------------
  392|      0|        return -1;
  393|      0|    }
  394|       |
  395|      2|    return 0;
  396|      2|}
Python-tokenize.c:get_tokenize_state:
   17|     18|get_tokenize_state(PyObject *module) {
   18|     18|    return (tokenize_state *)PyModule_GetState(module);
   19|     18|}
Python-tokenize.c:tokenizeriter_new_impl:
   60|     10|{
   61|     10|    tokenizeriterobject *self = (tokenizeriterobject *)type->tp_alloc(type, 0);
   62|     10|    if (self == NULL) {
  ------------------
  |  Branch (62:9): [True: 0, False: 10]
  ------------------
   63|      0|        return NULL;
   64|      0|    }
   65|     10|    PyObject *filename = PyUnicode_FromString("<string>");
   66|     10|    if (filename == NULL) {
  ------------------
  |  Branch (66:9): [True: 0, False: 10]
  ------------------
   67|      0|        return NULL;
   68|      0|    }
   69|     10|    self->tok = _PyTokenizer_FromReadline(readline, encoding, 1, 1);
   70|     10|    if (self->tok == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 10]
  ------------------
   71|      0|        Py_DECREF(filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      0|        return NULL;
   73|      0|    }
   74|     10|    self->tok->filename = filename;
   75|     10|    if (extra_tokens) {
  ------------------
  |  Branch (75:9): [True: 10, False: 0]
  ------------------
   76|     10|        self->tok->tok_extra_tokens = 1;
   77|     10|    }
   78|     10|    self->done = 0;
   79|       |
   80|     10|    self->last_line = NULL;
   81|     10|    self->byte_col_offset_diff = 0;
   82|     10|    self->last_lineno = 0;
   83|     10|    self->last_end_lineno = 0;
   84|       |
   85|     10|    return (PyObject *)self;
   86|     10|}
Python-tokenize.c:tokenizeriter_dealloc:
  354|     10|{
  355|     10|    tokenizeriterobject *it = (tokenizeriterobject*)op;
  356|     10|    PyTypeObject *tp = Py_TYPE(it);
  ------------------
  |  |  213|     10|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|     10|    Py_XDECREF(it->last_line);
  ------------------
  |  |  524|     10|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|     10|    _PyTokenizer_Free(it->tok);
  359|     10|    tp->tp_free(it);
  360|     10|    Py_DECREF(tp);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|     10|}
Python-tokenize.c:tokenizeriter_next:
  244|  1.03k|{
  245|  1.03k|    tokenizeriterobject *it = (tokenizeriterobject*)op;
  246|  1.03k|    PyObject* result = NULL;
  247|       |
  248|  1.03k|    Py_BEGIN_CRITICAL_SECTION(it);
  ------------------
  |  |   51|  1.03k|    {
  ------------------
  249|       |
  250|  1.03k|    struct token token;
  251|  1.03k|    _PyToken_Init(&token);
  252|       |
  253|  1.03k|    int type = _PyTokenizer_Get(it->tok, &token);
  254|  1.03k|    if (type == ERRORTOKEN) {
  ------------------
  |  |   83|  1.03k|#define ERRORTOKEN      67
  ------------------
  |  Branch (254:9): [True: 0, False: 1.03k]
  ------------------
  255|      0|        if(!PyErr_Occurred()) {
  ------------------
  |  Branch (255:12): [True: 0, False: 0]
  ------------------
  256|      0|            _tokenizer_error(it);
  257|      0|            assert(PyErr_Occurred());
  258|      0|        }
  259|      0|        goto exit;
  260|      0|    }
  261|  1.03k|    if (it->done || type == ERRORTOKEN) {
  ------------------
  |  |   83|  1.03k|#define ERRORTOKEN      67
  ------------------
  |  Branch (261:9): [True: 2, False: 1.03k]
  |  Branch (261:21): [True: 0, False: 1.03k]
  ------------------
  262|      2|        PyErr_SetString(PyExc_StopIteration, "EOF");
  263|      2|        it->done = 1;
  264|      2|        goto exit;
  265|      2|    }
  266|  1.03k|    PyObject *str = NULL;
  267|  1.03k|    if (token.start == NULL || token.end == NULL) {
  ------------------
  |  Branch (267:9): [True: 4, False: 1.02k]
  |  Branch (267:32): [True: 0, False: 1.02k]
  ------------------
  268|      4|        str = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      4|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  269|      4|    }
  270|  1.02k|    else {
  271|  1.02k|        str = PyUnicode_FromStringAndSize(token.start, token.end - token.start);
  272|  1.02k|    }
  273|  1.03k|    if (str == NULL) {
  ------------------
  |  Branch (273:9): [True: 0, False: 1.03k]
  ------------------
  274|      0|        goto exit;
  275|      0|    }
  276|       |
  277|  1.03k|    int is_trailing_token = 0;
  278|  1.03k|    if (type == ENDMARKER || (type == DEDENT && it->tok->done == E_EOF)) {
  ------------------
  |  |   16|  2.06k|#define ENDMARKER       0
  ------------------
                  if (type == ENDMARKER || (type == DEDENT && it->tok->done == E_EOF)) {
  ------------------
  |  |   22|  2.05k|#define DEDENT          6
  ------------------
                  if (type == ENDMARKER || (type == DEDENT && it->tok->done == E_EOF)) {
  ------------------
  |  |   23|     30|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (278:9): [True: 4, False: 1.02k]
  |  Branch (278:31): [True: 30, False: 998]
  |  Branch (278:49): [True: 6, False: 24]
  ------------------
  279|     10|        is_trailing_token = 1;
  280|     10|    }
  281|       |
  282|  1.03k|    const char *line_start = ISSTRINGLIT(type) ? it->tok->multi_line_start : it->tok->line_start;
  ------------------
  |  |   96|  1.03k|#define ISSTRINGLIT(x)          ((x) == STRING           || \
  |  |  ------------------
  |  |  |  |   19|  2.06k|#define STRING          3
  |  |  ------------------
  |  |  |  Branch (96:34): [True: 6, False: 1.02k]
  |  |  ------------------
  |  |   97|  1.03k|                                 (x) == FSTRING_MIDDLE   || \
  |  |  ------------------
  |  |  |  |   76|  2.05k|#define FSTRING_MIDDLE  60
  |  |  ------------------
  |  |  |  Branch (97:34): [True: 0, False: 1.02k]
  |  |  ------------------
  |  |   98|  1.03k|                                 (x) == TSTRING_MIDDLE)
  |  |  ------------------
  |  |  |  |   79|  1.02k|#define TSTRING_MIDDLE  63
  |  |  ------------------
  |  |  |  Branch (98:34): [True: 0, False: 1.02k]
  |  |  ------------------
  ------------------
  283|  1.03k|    PyObject* line = NULL;
  284|  1.03k|    int line_changed = 1;
  285|  1.03k|    if (it->tok->tok_extra_tokens && is_trailing_token) {
  ------------------
  |  Branch (285:9): [True: 1.03k, False: 0]
  |  Branch (285:38): [True: 10, False: 1.02k]
  ------------------
  286|     10|        line = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|     10|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  287|  1.02k|    } else {
  288|  1.02k|        Py_ssize_t size = it->tok->inp - line_start;
  289|  1.02k|        if (size >= 1 && it->tok->implicit_newline) {
  ------------------
  |  Branch (289:13): [True: 1.02k, False: 0]
  |  Branch (289:26): [True: 26, False: 996]
  ------------------
  290|     26|            size -= 1;
  291|     26|        }
  292|       |
  293|  1.02k|        line = _get_current_line(it, line_start, size, &line_changed);
  294|  1.02k|    }
  295|  1.03k|    if (line == NULL) {
  ------------------
  |  Branch (295:9): [True: 0, False: 1.03k]
  ------------------
  296|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|        goto exit;
  298|      0|    }
  299|       |
  300|  1.03k|    Py_ssize_t lineno = ISSTRINGLIT(type) ? it->tok->first_lineno : it->tok->lineno;
  ------------------
  |  |   96|  1.03k|#define ISSTRINGLIT(x)          ((x) == STRING           || \
  |  |  ------------------
  |  |  |  |   19|  2.06k|#define STRING          3
  |  |  ------------------
  |  |  |  Branch (96:34): [True: 6, False: 1.02k]
  |  |  ------------------
  |  |   97|  1.03k|                                 (x) == FSTRING_MIDDLE   || \
  |  |  ------------------
  |  |  |  |   76|  2.05k|#define FSTRING_MIDDLE  60
  |  |  ------------------
  |  |  |  Branch (97:34): [True: 0, False: 1.02k]
  |  |  ------------------
  |  |   98|  1.03k|                                 (x) == TSTRING_MIDDLE)
  |  |  ------------------
  |  |  |  |   79|  1.02k|#define TSTRING_MIDDLE  63
  |  |  ------------------
  |  |  |  Branch (98:34): [True: 0, False: 1.02k]
  |  |  ------------------
  ------------------
  301|  1.03k|    Py_ssize_t end_lineno = it->tok->lineno;
  302|  1.03k|    Py_ssize_t col_offset = -1;
  303|  1.03k|    Py_ssize_t end_col_offset = -1;
  304|  1.03k|    _get_col_offsets(it, token, line_start, line, line_changed,
  305|  1.03k|                     lineno, end_lineno, &col_offset, &end_col_offset);
  306|       |
  307|  1.03k|    if (it->tok->tok_extra_tokens) {
  ------------------
  |  Branch (307:9): [True: 1.03k, False: 0]
  ------------------
  308|  1.03k|        if (is_trailing_token) {
  ------------------
  |  Branch (308:13): [True: 10, False: 1.02k]
  ------------------
  309|     10|            lineno = end_lineno = lineno + 1;
  310|     10|            col_offset = end_col_offset = 0;
  311|     10|        }
  312|       |        // Necessary adjustments to match the original Python tokenize
  313|       |        // implementation
  314|  1.03k|        if (type > DEDENT && type < OP) {
  ------------------
  |  |   22|  2.06k|#define DEDENT          6
  ------------------
                      if (type > DEDENT && type < OP) {
  ------------------
  |  |   71|    492|#define OP              55
  ------------------
  |  Branch (314:13): [True: 492, False: 540]
  |  Branch (314:30): [True: 398, False: 94]
  ------------------
  315|    398|            type = OP;
  ------------------
  |  |   71|    398|#define OP              55
  ------------------
  316|    398|        }
  317|    634|        else if (type == NEWLINE) {
  ------------------
  |  |   20|    634|#define NEWLINE         4
  ------------------
  |  Branch (317:18): [True: 82, False: 552]
  ------------------
  318|     82|            Py_DECREF(str);
  ------------------
  |  |  430|     82|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|     82|            if (!it->tok->implicit_newline) {
  ------------------
  |  Branch (319:17): [True: 80, False: 2]
  ------------------
  320|     80|                if (it->tok->start[0] == '\r') {
  ------------------
  |  Branch (320:21): [True: 0, False: 80]
  ------------------
  321|      0|                    str = PyUnicode_FromString("\r\n");
  322|     80|                } else {
  323|     80|                    str = PyUnicode_FromString("\n");
  324|     80|                }
  325|     80|            }
  326|     82|            end_col_offset++;
  327|     82|        }
  328|    552|        else if (type == NL) {
  ------------------
  |  |   82|    552|#define NL              66
  ------------------
  |  Branch (328:18): [True: 70, False: 482]
  ------------------
  329|     70|            if (it->tok->implicit_newline) {
  ------------------
  |  Branch (329:17): [True: 0, False: 70]
  ------------------
  330|      0|                Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|                str = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  332|      0|            }
  333|     70|        }
  334|       |
  335|  1.03k|        if (str == NULL) {
  ------------------
  |  Branch (335:13): [True: 0, False: 1.03k]
  ------------------
  336|      0|            Py_DECREF(line);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|      0|            goto exit;
  338|      0|        }
  339|  1.03k|    }
  340|       |
  341|  1.03k|    result = Py_BuildValue("(iN(nn)(nn)O)", type, str, lineno, col_offset, end_lineno, end_col_offset, line);
  342|  1.03k|exit:
  343|  1.03k|    _PyToken_Free(&token);
  344|  1.03k|    if (type == ENDMARKER) {
  ------------------
  |  |   16|  1.03k|#define ENDMARKER       0
  ------------------
  |  Branch (344:9): [True: 6, False: 1.02k]
  ------------------
  345|      6|        it->done = 1;
  346|      6|    }
  347|       |
  348|  1.03k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.03k|    }
  ------------------
  349|  1.03k|    return result;
  350|  1.03k|}
Python-tokenize.c:_get_current_line:
  187|  1.02k|{
  188|  1.02k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(it);
  189|  1.02k|    PyObject *line;
  190|  1.02k|    if (it->tok->lineno != it->last_lineno) {
  ------------------
  |  Branch (190:9): [True: 160, False: 862]
  ------------------
  191|       |        // Line has changed since last token, so we fetch the new line and cache it
  192|       |        // in the iter object.
  193|    160|        Py_XDECREF(it->last_line);
  ------------------
  |  |  524|    160|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|    160|        line = PyUnicode_DecodeUTF8(line_start, size, "replace");
  195|    160|        it->last_line = line;
  196|    160|        it->byte_col_offset_diff = 0;
  197|    160|    }
  198|    862|    else {
  199|    862|        line = it->last_line;
  200|    862|        *line_changed = 0;
  201|    862|    }
  202|  1.02k|    return line;
  203|  1.02k|}
Python-tokenize.c:_get_col_offsets:
  209|  1.03k|{
  210|  1.03k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(it);
  211|  1.03k|    Py_ssize_t byte_offset = -1;
  212|  1.03k|    if (token.start != NULL && token.start >= line_start) {
  ------------------
  |  Branch (212:9): [True: 1.02k, False: 4]
  |  Branch (212:32): [True: 1.02k, False: 0]
  ------------------
  213|  1.02k|        byte_offset = token.start - line_start;
  214|  1.02k|        if (line_changed) {
  ------------------
  |  Branch (214:13): [True: 166, False: 862]
  ------------------
  215|    166|            *col_offset = _PyPegen_byte_offset_to_character_offset_line(line, 0, byte_offset);
  216|    166|            it->byte_col_offset_diff = byte_offset - *col_offset;
  217|    166|        }
  218|    862|        else {
  219|    862|            *col_offset = byte_offset - it->byte_col_offset_diff;
  220|    862|        }
  221|  1.02k|    }
  222|       |
  223|  1.03k|    if (token.end != NULL && token.end >= it->tok->line_start) {
  ------------------
  |  Branch (223:9): [True: 1.02k, False: 4]
  |  Branch (223:30): [True: 1.02k, False: 0]
  ------------------
  224|  1.02k|        Py_ssize_t end_byte_offset = token.end - it->tok->line_start;
  225|  1.02k|        if (lineno == end_lineno) {
  ------------------
  |  Branch (225:13): [True: 1.02k, False: 2]
  ------------------
  226|       |            // If the whole token is at the same line, we can just use the token.start
  227|       |            // buffer for figuring out the new column offset, since using line is not
  228|       |            // performant for very long lines.
  229|  1.02k|            Py_ssize_t token_col_offset = _PyPegen_byte_offset_to_character_offset_line(line, byte_offset, end_byte_offset);
  230|  1.02k|            *end_col_offset = *col_offset + token_col_offset;
  231|  1.02k|            it->byte_col_offset_diff += token.end - token.start - token_col_offset;
  232|  1.02k|        }
  233|      2|        else {
  234|      2|            *end_col_offset = _PyPegen_byte_offset_to_character_offset_raw(it->tok->line_start, end_byte_offset);
  235|      2|            it->byte_col_offset_diff += end_byte_offset - *end_col_offset;
  236|      2|        }
  237|  1.02k|    }
  238|  1.03k|    it->last_lineno = lineno;
  239|  1.03k|    it->last_end_lineno = end_lineno;
  240|  1.03k|}
Python-tokenize.c:tokenizemodule_traverse:
  412|     16|{
  413|     16|    tokenize_state *state = get_tokenize_state(m);
  414|     16|    Py_VISIT(state->TokenizerIter);
  ------------------
  |  |  194|     16|    do {                                                                \
  |  |  195|     16|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  196|     16|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     16|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16]
  |  |  ------------------
  |  |  198|     16|                return vret;                                            \
  |  |  199|     16|        }                                                               \
  |  |  200|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
  415|     16|    return 0;
  416|     16|}

PyInit__contextvars:
   67|      2|{
   68|      2|    return PyModuleDef_Init(&_contextvarsmodule);
   69|      2|}
_contextvars.c:_contextvars_exec:
   32|      2|{
   33|      2|    if (PyModule_AddType(m, &PyContext_Type) < 0) {
  ------------------
  |  Branch (33:9): [True: 0, False: 2]
  ------------------
   34|      0|        return -1;
   35|      0|    }
   36|      2|    if (PyModule_AddType(m, &PyContextVar_Type) < 0) {
  ------------------
  |  Branch (36:9): [True: 0, False: 2]
  ------------------
   37|      0|        return -1;
   38|      0|    }
   39|      2|    if (PyModule_AddType(m, &PyContextToken_Type) < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 2]
  ------------------
   40|      0|        return -1;
   41|      0|    }
   42|      2|    return 0;
   43|      2|}

_PyWarnings_InitState:
  136|      2|{
  137|      2|    WarningsState *st = &interp->warnings;
  138|       |
  139|      2|    if (st->filters == NULL) {
  ------------------
  |  Branch (139:9): [True: 2, False: 0]
  ------------------
  140|      2|        st->filters = init_filters(interp);
  141|      2|        if (st->filters == NULL) {
  ------------------
  |  Branch (141:13): [True: 0, False: 2]
  ------------------
  142|      0|            return -1;
  143|      0|        }
  144|      2|    }
  145|       |
  146|      2|    if (st->once_registry == NULL) {
  ------------------
  |  Branch (146:9): [True: 2, False: 0]
  ------------------
  147|      2|        st->once_registry = PyDict_New();
  148|      2|        if (st->once_registry == NULL) {
  ------------------
  |  Branch (148:13): [True: 0, False: 2]
  ------------------
  149|      0|            return -1;
  150|      0|        }
  151|      2|    }
  152|       |
  153|      2|    if (st->default_action == NULL) {
  ------------------
  |  Branch (153:9): [True: 2, False: 0]
  ------------------
  154|      2|        st->default_action = PyUnicode_FromString("default");
  155|      2|        if (st->default_action == NULL) {
  ------------------
  |  Branch (155:13): [True: 0, False: 2]
  ------------------
  156|      0|            return -1;
  157|      0|        }
  158|      2|    }
  159|       |
  160|      2|    if (st->context == NULL) {
  ------------------
  |  Branch (160:9): [True: 2, False: 0]
  ------------------
  161|      2|        st->context = PyContextVar_New("_warnings_context", NULL);
  162|      2|        if (st->context == NULL) {
  ------------------
  |  Branch (162:13): [True: 0, False: 2]
  ------------------
  163|      0|            return -1;
  164|      0|        }
  165|      2|    }
  166|       |
  167|      2|    st->filters_version = 0;
  168|      2|    return 0;
  169|      2|}
_PyWarnings_Init:
 1649|      2|{
 1650|      2|    return PyModuleDef_Init(&warnings_module);
 1651|      2|}
_warnings.c:init_filters:
  101|      2|{
  102|       |#ifdef Py_DEBUG
  103|       |    /* Py_DEBUG builds show all warnings by default */
  104|       |    return PyList_New(0);
  105|       |#else
  106|       |    /* Other builds ignore a number of warning categories by default */
  107|      2|    PyObject *filters = PyList_New(5);
  108|      2|    if (filters == NULL) {
  ------------------
  |  Branch (108:9): [True: 0, False: 2]
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|       |
  112|      2|    size_t pos = 0;  /* Post-incremented in each use. */
  113|      2|#define ADD(TYPE, ACTION, MODNAME) \
  114|      2|    PyList_SET_ITEM(filters, pos++, \
  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  116|      2|    ADD(PyExc_DeprecationWarning, default, "__main__");
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  117|      2|    ADD(PyExc_DeprecationWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  118|      2|    ADD(PyExc_PendingDeprecationWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  119|      2|    ADD(PyExc_ImportWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  120|      2|    ADD(PyExc_ResourceWarning, ignore, NULL);
  ------------------
  |  |  114|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  115|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  121|      2|#undef ADD
  122|       |
  123|     12|    for (size_t x = 0; x < pos; x++) {
  ------------------
  |  Branch (123:24): [True: 10, False: 2]
  ------------------
  124|     10|        if (PyList_GET_ITEM(filters, x) == NULL) {
  ------------------
  |  |   40|     10|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (124:13): [True: 0, False: 10]
  ------------------
  125|      0|            Py_DECREF(filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|      0|            return NULL;
  127|      0|        }
  128|     10|    }
  129|      2|    return filters;
  130|      2|#endif
  131|      2|}
_warnings.c:create_filter:
   78|     10|{
   79|     10|    PyObject *modname_obj = NULL;
   80|       |
   81|       |    /* Default to "no module name" for initial filter set */
   82|     10|    if (modname != NULL) {
  ------------------
  |  Branch (82:9): [True: 2, False: 8]
  ------------------
   83|      2|        modname_obj = PyUnicode_InternFromString(modname);
   84|      2|        if (modname_obj == NULL) {
  ------------------
  |  Branch (84:13): [True: 0, False: 2]
  ------------------
   85|      0|            return NULL;
   86|      0|        }
   87|      8|    } else {
   88|      8|        modname_obj = Py_NewRef(Py_None);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      8|    }
   90|       |
   91|       |    /* This assumes the line number is zero for now. */
   92|     10|    PyObject *filter = PyTuple_Pack(5, action_str, Py_None,
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
   93|     10|                                    category, modname_obj, _PyLong_GetZero());
   94|     10|    Py_DECREF(modname_obj);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|     10|    return filter;
   96|     10|}
_warnings.c:check_interp:
   30|      2|{
   31|      2|    if (interp == NULL) {
  ------------------
  |  Branch (31:9): [True: 0, False: 2]
  ------------------
   32|      0|        PyErr_SetString(PyExc_RuntimeError,
   33|      0|                        "warnings_get_state: could not identify "
   34|      0|                        "current interpreter");
   35|      0|        return 0;
   36|      0|    }
   37|      2|    return 1;
   38|      2|}
_warnings.c:warnings_get_state:
   61|      2|{
   62|      2|    return &interp->warnings;
   63|      2|}
_warnings.c:get_current_interp:
   42|      2|{
   43|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   44|      2|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (44:12): [True: 2, False: 0]
  ------------------
   45|      2|}
_warnings.c:warnings_module_exec:
 1604|      2|{
 1605|      2|    PyInterpreterState *interp = get_current_interp();
 1606|      2|    if (interp == NULL) {
  ------------------
  |  Branch (1606:9): [True: 0, False: 2]
  ------------------
 1607|      0|        return -1;
 1608|      0|    }
 1609|      2|    WarningsState *st = warnings_get_state(interp);
 1610|      2|    if (st == NULL) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 2]
  ------------------
 1611|      0|        return -1;
 1612|      0|    }
 1613|      2|    if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 2]
  ------------------
 1614|      0|        return -1;
 1615|      0|    }
 1616|      2|    if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) {
  ------------------
  |  Branch (1616:9): [True: 0, False: 2]
  ------------------
 1617|      0|        return -1;
 1618|      0|    }
 1619|      2|    if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) {
  ------------------
  |  Branch (1619:9): [True: 0, False: 2]
  ------------------
 1620|      0|        return -1;
 1621|      0|    }
 1622|      2|    if (PyModule_AddObjectRef(module, "_warnings_context", st->context) < 0) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 2]
  ------------------
 1623|      0|        return -1;
 1624|      0|    }
 1625|      2|    return 0;
 1626|      2|}

_PyAssemble_MakeCodeObject:
  783|    733|{
  784|    733|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (784:9): [True: 0, False: 733]
  ------------------
  785|      0|        return NULL;
  786|      0|    }
  787|    733|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (787:9): [True: 0, False: 733]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|    733|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 733]
  ------------------
  791|      0|        return NULL;
  792|      0|    }
  793|    733|    PyCodeObject *co = NULL;
  794|       |
  795|    733|    struct assembler a;
  796|    733|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  797|    733|    if (res == SUCCESS) {
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  |  Branch (797:9): [True: 733, False: 0]
  ------------------
  798|    733|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  799|    733|                      code_flags, filename);
  800|    733|    }
  801|    733|    assemble_free(&a);
  802|    733|    return co;
  803|    733|}
assemble.c:resolve_unconditional_jumps:
  751|    733|{
  752|       |    /* Resolve directions of unconditional jumps */
  753|       |
  754|  14.8k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (754:21): [True: 14.0k, False: 733]
  ------------------
  755|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  756|  14.0k|        bool is_forward = (instr->i_oparg > i);
  757|  14.0k|        switch(instr->i_opcode) {
  758|      2|            case JUMP:
  ------------------
  |  |  248|      2|#define JUMP                                   257
  ------------------
  |  Branch (758:13): [True: 2, False: 14.0k]
  ------------------
  759|      2|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  760|      2|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  761|      2|                instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   89|      0|#define JUMP_FORWARD                            76
  ------------------
                              instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   87|      4|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (761:35): [True: 0, False: 2]
  ------------------
  762|      2|                break;
  763|     12|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|     12|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (763:13): [True: 12, False: 14.0k]
  ------------------
  764|     12|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  765|     12|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  766|     12|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (766:35): [True: 12, False: 0]
  ------------------
  767|     12|                    JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   89|     12|#define JUMP_FORWARD                            76
  ------------------
                                  JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   88|     12|#define JUMP_BACKWARD_NO_INTERRUPT              75
  ------------------
  768|     12|                break;
  769|  14.0k|            default:
  ------------------
  |  Branch (769:13): [True: 14.0k, False: 14]
  ------------------
  770|  14.0k|                if (OPCODE_HAS_JUMP(instr->i_opcode) &&
  ------------------
  |  | 1077|  28.1k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  14.0k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 384, False: 13.6k]
  |  |  ------------------
  ------------------
  771|    384|                    IS_PSEUDO_INSTR(instr->i_opcode)) {
  ------------------
  |  |   20|    384|#define IS_PSEUDO_INSTR(OP)  ( \
  |  |   21|    384|    ((OP) == LOAD_CLOSURE) || \
  |  |  ------------------
  |  |  |  |  252|    384|#define LOAD_CLOSURE                           261
  |  |  ------------------
  |  |  |  Branch (21:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   22|    384|    ((OP) == STORE_FAST_MAYBE_NULL) || \
  |  |  ------------------
  |  |  |  |  257|    384|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (22:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   23|    384|    ((OP) == ANNOTATIONS_PLACEHOLDER) || \
  |  |  ------------------
  |  |  |  |  247|    384|#define ANNOTATIONS_PLACEHOLDER                256
  |  |  ------------------
  |  |  |  Branch (23:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   24|    384|    ((OP) == JUMP) || \
  |  |  ------------------
  |  |  |  |  248|    384|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (24:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   25|    384|    ((OP) == JUMP_NO_INTERRUPT) || \
  |  |  ------------------
  |  |  |  |  251|    384|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (25:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   26|    384|    ((OP) == JUMP_IF_FALSE) || \
  |  |  ------------------
  |  |  |  |  249|    384|#define JUMP_IF_FALSE                          258
  |  |  ------------------
  |  |  |  Branch (26:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   27|    384|    ((OP) == JUMP_IF_TRUE) || \
  |  |  ------------------
  |  |  |  |  250|    384|#define JUMP_IF_TRUE                           259
  |  |  ------------------
  |  |  |  Branch (27:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   28|    384|    ((OP) == SETUP_FINALLY) || \
  |  |  ------------------
  |  |  |  |  255|    384|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (28:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   29|    384|    ((OP) == SETUP_CLEANUP) || \
  |  |  ------------------
  |  |  |  |  254|    384|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (29:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   30|    384|    ((OP) == SETUP_WITH) || \
  |  |  ------------------
  |  |  |  |  256|    384|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   31|    384|    ((OP) == POP_BLOCK) || \
  |  |  ------------------
  |  |  |  |  253|    384|#define POP_BLOCK                              262
  |  |  ------------------
  |  |  |  Branch (31:5): [True: 0, False: 384]
  |  |  ------------------
  |  |   32|    384|    0)
  |  |  ------------------
  |  |  |  Branch (32:5): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  773|      0|                }
  774|  14.0k|        }
  775|  14.0k|    }
  776|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  777|    733|}
assemble.c:resolve_jump_offsets:
  677|    733|{
  678|       |    /* Compute the size of each instruction and fixup jump args.
  679|       |     * Replace instruction index with position in bytecode.
  680|       |     */
  681|       |
  682|  14.8k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (682:21): [True: 14.0k, False: 733]
  ------------------
  683|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  684|  14.0k|        if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1077|  14.0k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  14.0k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 398, False: 13.6k]
  |  |  ------------------
  ------------------
  685|    398|            instr->i_target = instr->i_oparg;
  686|    398|        }
  687|  14.0k|    }
  688|       |
  689|    733|    int extended_arg_recompile;
  690|       |
  691|    741|    do {
  692|    741|        int totsize = 0;
  693|  16.1k|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (693:25): [True: 15.4k, False: 741]
  ------------------
  694|  15.4k|            instruction *instr = &instrs->s_instrs[i];
  695|  15.4k|            instr->i_offset = totsize;
  696|  15.4k|            int isize = instr_size(instr);
  697|  15.4k|            totsize += isize;
  698|  15.4k|        }
  699|    741|        extended_arg_recompile = 0;
  700|       |
  701|    741|        int offset = 0;
  702|  16.1k|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (702:25): [True: 15.4k, False: 741]
  ------------------
  703|  15.4k|            instruction *instr = &instrs->s_instrs[i];
  704|  15.4k|            int isize = instr_size(instr);
  705|       |            /* jump offsets are computed relative to
  706|       |             * the instruction pointer after fetching
  707|       |             * the jump instruction.
  708|       |             */
  709|  15.4k|            offset += isize;
  710|  15.4k|            if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1077|  15.4k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  15.4k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 490, False: 14.9k]
  |  |  ------------------
  ------------------
  711|    490|                instruction *target = &instrs->s_instrs[instr->i_target];
  712|    490|                instr->i_oparg = target->i_offset;
  713|    490|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   79|    490|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (713:21): [True: 0, False: 490]
  ------------------
  714|       |                    // sys.monitoring needs to be able to find the matching END_SEND
  715|       |                    // but the target is the SEND, so we adjust it here.
  716|      0|                    instr->i_oparg = offset - instr->i_oparg - END_SEND_OFFSET;
  ------------------
  |  |  673|      0|#define END_SEND_OFFSET 6
  ------------------
  717|      0|                }
  718|    490|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (718:26): [True: 4, False: 486]
  ------------------
  719|      4|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  720|      4|                    instr->i_oparg = offset - instr->i_oparg;
  721|      4|                }
  722|    486|                else {
  723|    486|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  724|    486|                    instr->i_oparg = instr->i_oparg - offset;
  725|    486|                }
  726|    490|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (726:21): [True: 36, False: 454]
  ------------------
  727|     36|                    extended_arg_recompile = 1;
  728|     36|                }
  729|    490|            }
  730|  15.4k|        }
  731|       |    /* XXX: This is an awful hack that could hurt performance, but
  732|       |        on the bright side it should work until we come up
  733|       |        with a better solution.
  734|       |
  735|       |        The issue is that in the first loop instr_size() is
  736|       |        called, and it requires i_oparg be set appropriately.
  737|       |        There is a bootstrap problem because i_oparg is
  738|       |        calculated in the second loop above.
  739|       |
  740|       |        So we loop until we stop seeing new EXTENDED_ARGs.
  741|       |        The only EXTENDED_ARGs that could be popping up are
  742|       |        ones in jump instructions.  So this should converge
  743|       |        fairly quickly.
  744|       |    */
  745|    741|    } while (extended_arg_recompile);
  ------------------
  |  Branch (745:14): [True: 8, False: 733]
  ------------------
  746|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  747|    733|}
assemble.c:instr_size:
   40|  73.5k|{
   41|  73.5k|    int opcode = instr->i_opcode;
   42|  73.5k|    int oparg = instr->i_oparg;
   43|  73.5k|    assert(!IS_PSEUDO_INSTR(opcode));
   44|       |    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
   45|  73.5k|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   46|  73.5k|    int caches = _PyOpcode_Caches[opcode];
   47|  73.5k|    return extended_args + 1 + caches;
   48|  73.5k|}
assemble.c:assemble_emit:
  435|    733|{
  436|    733|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  437|       |
  438|  14.8k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (438:21): [True: 14.0k, False: 733]
  ------------------
  439|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  440|  14.0k|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   21|  14.0k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 14.0k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  441|  14.0k|    }
  442|       |
  443|    733|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  444|       |
  445|    733|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  446|       |
  447|    733|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_except_table, a->a_except_table_off));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  448|    733|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  449|       |
  450|    733|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, a->a_location_off));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  451|    733|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  452|       |
  453|    733|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, a->a_offset * sizeof(_Py_CODEUNIT)));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  454|    733|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  455|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  456|    733|}
assemble.c:assemble_init:
   63|    733|{
   64|    733|    memset(a, 0, sizeof(struct assembler));
   65|    733|    a->a_lineno = firstlineno;
   66|    733|    a->a_linetable = NULL;
   67|    733|    a->a_location_off = 0;
   68|    733|    a->a_except_table = NULL;
   69|    733|    a->a_bytecode = PyBytes_FromStringAndSize(NULL, DEFAULT_CODE_SIZE);
  ------------------
  |  |   11|    733|#define DEFAULT_CODE_SIZE 128
  ------------------
   70|    733|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 733]
  ------------------
   71|      0|        goto error;
   72|      0|    }
   73|    733|    a->a_linetable = PyBytes_FromStringAndSize(NULL, DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   13|    733|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   74|    733|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 733]
  ------------------
   75|      0|        goto error;
   76|      0|    }
   77|    733|    a->a_except_table = PyBytes_FromStringAndSize(NULL, DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   12|    733|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   78|    733|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 733]
  ------------------
   79|      0|        goto error;
   80|      0|    }
   81|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
   82|      0|error:
   83|      0|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|      0|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   86|      0|    return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
   87|    733|}
assemble.c:assemble_emit_instr:
  414|  14.0k|{
  415|  14.0k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode);
  ------------------
  |  |   33|  14.0k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  14.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|  14.0k|    _Py_CODEUNIT *code;
  417|       |
  418|  14.0k|    int size = instr_size(instr);
  419|  14.0k|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (419:9): [True: 180, False: 13.8k]
  ------------------
  420|    180|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|    180|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (420:13): [True: 0, False: 180]
  ------------------
  421|      0|            PyErr_NoMemory();
  422|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  423|      0|        }
  424|    180|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, len * 2));
  ------------------
  |  |   21|    180|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 180]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  425|    180|    }
  426|  14.0k|    code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset;
  ------------------
  |  |   27|  14.0k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|  14.0k|    a->a_offset += size;
  428|  14.0k|    write_instr(code, instr, size);
  429|  14.0k|    return SUCCESS;
  ------------------
  |  |   17|  14.0k|#define SUCCESS 0
  ------------------
  430|  14.0k|}
assemble.c:write_instr:
  370|  14.0k|{
  371|  14.0k|    int opcode = instr->i_opcode;
  372|  14.0k|    assert(!IS_PSEUDO_INSTR(opcode));
  373|  14.0k|    int oparg = instr->i_oparg;
  374|  14.0k|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  375|  14.0k|    int caches = _PyOpcode_Caches[opcode];
  376|  14.0k|    switch (ilen - caches) {
  377|      0|        case 4:
  ------------------
  |  Branch (377:9): [True: 0, False: 14.0k]
  ------------------
  378|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  379|      0|            codestr->op.arg = (oparg >> 24) & 0xFF;
  380|      0|            codestr++;
  381|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  382|      0|        case 3:
  ------------------
  |  Branch (382:9): [True: 0, False: 14.0k]
  ------------------
  383|      0|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  384|      0|            codestr->op.arg = (oparg >> 16) & 0xFF;
  385|      0|            codestr++;
  386|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  387|     36|        case 2:
  ------------------
  |  Branch (387:9): [True: 36, False: 14.0k]
  ------------------
  388|     36|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   80|     36|#define EXTENDED_ARG                            67
  ------------------
  389|     36|            codestr->op.arg = (oparg >> 8) & 0xFF;
  390|     36|            codestr++;
  391|     36|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     36|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  392|  14.0k|        case 1:
  ------------------
  |  Branch (392:9): [True: 14.0k, False: 36]
  ------------------
  393|  14.0k|            codestr->op.code = opcode;
  394|  14.0k|            codestr->op.arg = oparg & 0xFF;
  395|  14.0k|            codestr++;
  396|  14.0k|            break;
  397|      0|        default:
  ------------------
  |  Branch (397:9): [True: 0, False: 14.0k]
  ------------------
  398|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  399|  14.0k|    }
  400|  30.9k|    while (caches--) {
  ------------------
  |  Branch (400:12): [True: 16.8k, False: 14.0k]
  ------------------
  401|  16.8k|        codestr->op.code = CACHE;
  ------------------
  |  |   13|  16.8k|#define CACHE                                    0
  ------------------
  402|  16.8k|        codestr->op.arg = 0;
  403|  16.8k|        codestr++;
  404|  16.8k|    }
  405|  14.0k|}
assemble.c:assemble_location_info:
  339|    733|{
  340|    733|    a->a_lineno = firstlineno;
  341|    733|    location loc = NO_LOCATION;
  342|  14.8k|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (342:36): [True: 14.0k, False: 733]
  ------------------
  343|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  344|  14.0k|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (344:13): [True: 0, False: 14.0k]
  ------------------
  345|      0|            if (IS_TERMINATOR_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   27|      0|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|      0|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|      0|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|      0|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      0|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   54|      0|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|      0|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   55|      0|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|      0|                instr->i_loc = NO_LOCATION;
  347|      0|            }
  348|      0|            else {
  349|      0|                assert(i < instrs->s_used-1);
  350|      0|                instr->i_loc = instr[1].i_loc;
  351|      0|            }
  352|      0|        }
  353|  14.0k|    }
  354|    733|    int size = 0;
  355|  14.8k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (355:21): [True: 14.0k, False: 733]
  ------------------
  356|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  357|  14.0k|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (357:13): [True: 8.91k, False: 5.15k]
  ------------------
  358|  8.91k|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|  8.91k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 8.91k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  359|  8.91k|                loc = instr->i_loc;
  360|  8.91k|                size = 0;
  361|  8.91k|        }
  362|  14.0k|        size += instr_size(instr);
  363|  14.0k|    }
  364|    733|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|    733|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  365|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  366|    733|}
assemble.c:same_location:
   31|  28.1k|{
   32|  28.1k|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (32:12): [True: 11.5k, False: 16.6k]
  ------------------
   33|  11.5k|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (33:12): [True: 11.2k, False: 326]
  ------------------
   34|  11.2k|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (34:12): [True: 6.51k, False: 4.69k]
  ------------------
   35|  6.51k|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (35:12): [True: 5.15k, False: 1.35k]
  ------------------
   36|  28.1k|}
assemble.c:assemble_emit_location:
  325|  9.64k|{
  326|  9.64k|    if (isize == 0) {
  ------------------
  |  Branch (326:9): [True: 443, False: 9.20k]
  ------------------
  327|    443|        return SUCCESS;
  ------------------
  |  |   17|    443|#define SUCCESS 0
  ------------------
  328|    443|    }
  329|  10.5k|    while (isize > 8) {
  ------------------
  |  Branch (329:12): [True: 1.33k, False: 9.20k]
  ------------------
  330|  1.33k|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   21|  1.33k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  331|  1.33k|        isize -= 8;
  332|  1.33k|    }
  333|  9.20k|    return write_location_info_entry(a, loc, isize);
  334|  9.20k|}
assemble.c:write_location_info_entry:
  287|  10.5k|{
  288|  10.5k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_linetable);
  ------------------
  |  |   33|  10.5k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|  10.5k|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  282|  10.5k|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (289:9): [True: 949, False: 9.59k]
  ------------------
  290|    949|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  291|    949|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, len*2));
  ------------------
  |  |   21|    949|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 949]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  292|    949|    }
  293|  10.5k|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (293:9): [True: 290, False: 10.2k]
  ------------------
  294|    290|        write_location_info_none(a, isize);
  295|    290|        return SUCCESS;
  ------------------
  |  |   17|    290|#define SUCCESS 0
  ------------------
  296|    290|    }
  297|  10.2k|    int line_delta = loc.lineno - a->a_lineno;
  298|  10.2k|    int column = loc.col_offset;
  299|  10.2k|    int end_column = loc.end_col_offset;
  300|  10.2k|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (300:9): [True: 0, False: 10.2k]
  |  Branch (300:23): [True: 0, False: 10.2k]
  ------------------
  301|      0|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (301:13): [True: 0, False: 0]
  |  Branch (301:45): [True: 0, False: 0]
  ------------------
  302|      0|            write_location_info_no_column(a, isize, line_delta);
  303|      0|            a->a_lineno = loc.lineno;
  304|      0|            return SUCCESS;
  ------------------
  |  |   17|      0|#define SUCCESS 0
  ------------------
  305|      0|        }
  306|      0|    }
  307|  10.2k|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (307:14): [True: 9.34k, False: 907]
  ------------------
  308|  9.34k|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (308:13): [True: 8.02k, False: 1.32k]
  |  Branch (308:32): [True: 6.24k, False: 1.77k]
  |  Branch (308:47): [True: 3.65k, False: 2.59k]
  |  Branch (308:75): [True: 3.65k, False: 0]
  ------------------
  309|  3.65k|            write_location_info_short_form(a, isize, column, end_column);
  310|  3.65k|            return SUCCESS;
  ------------------
  |  |   17|  3.65k|#define SUCCESS 0
  ------------------
  311|  3.65k|        }
  312|  5.68k|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (312:13): [True: 5.62k, False: 58]
  |  Branch (312:32): [True: 5.53k, False: 90]
  |  Branch (312:50): [True: 4.45k, False: 1.08k]
  |  Branch (312:66): [True: 3.88k, False: 568]
  ------------------
  313|  3.88k|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  314|  3.88k|            a->a_lineno = loc.lineno;
  315|  3.88k|            return SUCCESS;
  ------------------
  |  |   17|  3.88k|#define SUCCESS 0
  ------------------
  316|  3.88k|        }
  317|  5.68k|    }
  318|  2.70k|    write_location_info_long_form(a, loc, isize);
  319|  2.70k|    a->a_lineno = loc.lineno;
  320|  2.70k|    return SUCCESS;
  ------------------
  |  |   17|  2.70k|#define SUCCESS 0
  ------------------
  321|  10.2k|}
assemble.c:write_location_info_none:
  271|    290|{
  272|    290|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NONE, length);
  273|    290|}
assemble.c:write_location_first_byte:
  212|  10.5k|{
  213|  10.5k|    a->a_location_off += write_location_entry_start(
  214|  10.5k|        location_pointer(a), code, length);
  215|  10.5k|}
assemble.c:location_pointer:
  205|  21.3k|{
  206|  21.3k|    return (uint8_t *)PyBytes_AS_STRING(a->a_linetable) +
  ------------------
  |  |   27|  21.3k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|  21.3k|        a->a_location_off;
  208|  21.3k|}
assemble.c:write_location_signed_varint:
  227|  2.70k|{
  228|  2.70k|    uint8_t *ptr = location_pointer(a);
  229|  2.70k|    a->a_location_off += write_signed_varint(ptr, val);
  230|  2.70k|}
assemble.c:write_location_info_short_form:
  234|  3.65k|{
  235|  3.65k|    assert(length > 0 &&  length <= 8);
  236|  3.65k|    int column_low_bits = column & 7;
  237|  3.65k|    int column_group = column >> 3;
  238|  3.65k|    assert(column < 80);
  239|  3.65k|    assert(end_column >= column);
  240|       |    assert(end_column - column < 16);
  241|  3.65k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  242|  3.65k|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  243|  3.65k|}
assemble.c:write_location_byte:
  197|  11.4k|{
  198|  11.4k|    PyBytes_AS_STRING(a->a_linetable)[a->a_location_off] = val&255;
  ------------------
  |  |   27|  11.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|  11.4k|    a->a_location_off++;
  200|  11.4k|}
assemble.c:write_location_info_oneline_form:
  247|  3.88k|{
  248|  3.88k|    assert(length > 0 &&  length <= 8);
  249|  3.88k|    assert(line_delta >= 0 && line_delta < 3);
  250|  3.88k|    assert(column < 128);
  251|       |    assert(end_column < 128);
  252|  3.88k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  253|  3.88k|    write_location_byte(a, column);
  254|  3.88k|    write_location_byte(a, end_column);
  255|  3.88k|}
assemble.c:write_location_info_long_form:
  259|  2.70k|{
  260|  2.70k|    assert(length > 0 &&  length <= 8);
  261|  2.70k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  262|  2.70k|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  263|       |    assert(loc.end_lineno >= loc.lineno);
  264|  2.70k|    write_location_varint(a, loc.end_lineno - loc.lineno);
  265|  2.70k|    write_location_varint(a, loc.col_offset + 1);
  266|  2.70k|    write_location_varint(a, loc.end_col_offset + 1);
  267|  2.70k|}
assemble.c:write_location_varint:
  219|  8.11k|{
  220|  8.11k|    uint8_t *ptr = location_pointer(a);
  221|  8.11k|    a->a_location_off += write_varint(ptr, val);
  222|  8.11k|}
assemble.c:assemble_exception_table:
  159|    733|{
  160|    733|    int ioffset = 0;
  161|    733|    _PyExceptHandlerInfo handler;
  162|    733|    handler.h_label = -1;
  163|    733|    handler.h_startdepth = -1;
  164|    733|    handler.h_preserve_lasti = -1;
  165|    733|    int start = -1;
  166|  14.8k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (166:21): [True: 14.0k, False: 733]
  ------------------
  167|  14.0k|        instruction *instr = &instrs->s_instrs[i];
  168|  14.0k|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (168:13): [True: 0, False: 14.0k]
  ------------------
  169|      0|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (169:17): [True: 0, False: 0]
  ------------------
  170|      0|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  171|      0|                RETURN_IF_ERROR(
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  172|      0|                    assemble_emit_exception_table_entry(a, start, ioffset,
  173|      0|                                                        handler_offset,
  174|      0|                                                        &handler));
  175|      0|            }
  176|      0|            start = ioffset;
  177|      0|            handler = instr->i_except_handler_info;
  178|      0|        }
  179|  14.0k|        ioffset += instr_size(instr);
  180|  14.0k|    }
  181|    733|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 733]
  ------------------
  182|      0|        int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  183|      0|        RETURN_IF_ERROR(assemble_emit_exception_table_entry(a, start, ioffset,
  ------------------
  |  |   21|      0|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  184|      0|                                                            handler_offset,
  185|      0|                                                            &handler));
  186|      0|    }
  187|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  188|    733|}
assemble.c:makecode:
  579|    733|{
  580|    733|    PyCodeObject *co = NULL;
  581|    733|    PyObject *names = NULL;
  582|    733|    PyObject *consts = NULL;
  583|    733|    PyObject *localsplusnames = NULL;
  584|    733|    PyObject *localspluskinds = NULL;
  585|    733|    names = dict_keys_inorder(umd->u_names, 0);
  586|    733|    if (!names) {
  ------------------
  |  Branch (586:9): [True: 0, False: 733]
  ------------------
  587|      0|        goto error;
  588|      0|    }
  589|    733|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 733]
  ------------------
  590|      0|        goto error;
  591|      0|    }
  592|       |
  593|    733|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  594|    733|    if (consts == NULL) {
  ------------------
  |  Branch (594:9): [True: 0, False: 733]
  ------------------
  595|      0|        goto error;
  596|      0|    }
  597|    733|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (597:9): [True: 0, False: 733]
  ------------------
  598|      0|        goto error;
  599|      0|    }
  600|       |
  601|    733|    assert(umd->u_posonlyargcount < INT_MAX);
  602|    733|    assert(umd->u_argcount < INT_MAX);
  603|    733|    assert(umd->u_kwonlyargcount < INT_MAX);
  604|    733|    int posonlyargcount = (int)umd->u_posonlyargcount;
  605|    733|    int posorkwargcount = (int)umd->u_argcount;
  606|    733|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  607|    733|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  608|       |
  609|    733|    localsplusnames = PyTuple_New(nlocalsplus);
  610|    733|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (610:9): [True: 0, False: 733]
  ------------------
  611|      0|        goto error;
  612|      0|    }
  613|    733|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  614|    733|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (614:9): [True: 0, False: 733]
  ------------------
  615|      0|        goto error;
  616|      0|    }
  617|    733|    if (compute_localsplus_info(
  ------------------
  |  Branch (617:9): [True: 0, False: 733]
  ------------------
  618|    733|            umd, nlocalsplus, code_flags,
  619|    733|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   18|    733|#define ERROR -1
  ------------------
  620|      0|    {
  621|      0|        goto error;
  622|      0|    }
  623|       |
  624|    733|    struct _PyCodeConstructor con = {
  625|    733|        .filename = filename,
  626|    733|        .name = umd->u_name,
  627|    733|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (627:21): [True: 514, False: 219]
  ------------------
  628|    733|        .flags = code_flags,
  629|       |
  630|    733|        .code = a->a_bytecode,
  631|    733|        .firstlineno = umd->u_firstlineno,
  632|    733|        .linetable = a->a_linetable,
  633|       |
  634|    733|        .consts = consts,
  635|    733|        .names = names,
  636|       |
  637|    733|        .localsplusnames = localsplusnames,
  638|    733|        .localspluskinds = localspluskinds,
  639|       |
  640|    733|        .argcount = posonlyargcount + posorkwargcount,
  641|    733|        .posonlyargcount = posonlyargcount,
  642|    733|        .kwonlyargcount = kwonlyargcount,
  643|       |
  644|    733|        .stacksize = maxdepth,
  645|       |
  646|    733|        .exceptiontable = a->a_except_table,
  647|    733|    };
  648|       |
  649|    733|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (649:8): [True: 0, False: 733]
  ------------------
  650|      0|        goto error;
  651|      0|    }
  652|       |
  653|    733|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 733]
  ------------------
  654|      0|        goto error;
  655|      0|    }
  656|    733|    con.localsplusnames = localsplusnames;
  657|       |
  658|    733|    co = _PyCode_New(&con);
  659|    733|    if (co == NULL) {
  ------------------
  |  Branch (659:9): [True: 0, False: 733]
  ------------------
  660|      0|        goto error;
  661|      0|    }
  662|       |
  663|    733|error:
  664|    733|    Py_XDECREF(names);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|    733|    Py_XDECREF(consts);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|    733|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|    733|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|    733|    return co;
  669|    733|}
assemble.c:dict_keys_inorder:
  460|    733|{
  461|    733|    PyObject *tuple, *k, *v;
  462|    733|    Py_ssize_t pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|       |
  464|    733|    tuple = PyTuple_New(size);
  465|    733|    if (tuple == NULL)
  ------------------
  |  Branch (465:9): [True: 0, False: 733]
  ------------------
  466|      0|        return NULL;
  467|  2.35k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (467:12): [True: 1.61k, False: 733]
  ------------------
  468|  1.61k|        Py_ssize_t i = PyLong_AsSsize_t(v);
  469|  1.61k|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (469:13): [True: 0, False: 1.61k]
  |  Branch (469:24): [True: 0, False: 0]
  ------------------
  470|      0|            Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|      0|            return NULL;
  472|      0|        }
  473|  1.61k|        assert((i - offset) < size);
  474|  1.61k|        assert((i - offset) >= 0);
  475|  1.61k|        PyTuple_SET_ITEM(tuple, i - offset, Py_NewRef(k));
  ------------------
  |  |   40|  1.61k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|  1.61k|    }
  477|    733|    return tuple;
  478|    733|}
assemble.c:compute_localsplus_info:
  487|    733|{
  488|    733|    PyObject *k, *v;
  489|    733|    Py_ssize_t pos = 0;
  490|       |
  491|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  492|    733|    struct {
  493|    733|        int count;
  494|    733|        _PyLocals_Kind kind;
  495|    733|    }  argvarkinds[6] = {
  496|    733|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|    733|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  497|    733|        {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  192|    733|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
                      {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  193|    733|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  498|    733|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|    733|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  499|    733|        {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  120|    733|#define CO_VARARGS      0x0004
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  194|    733|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  192|    733|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  500|    733|        {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  121|    733|#define CO_VARKEYWORDS  0x0008
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  194|    733|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  193|    733|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  501|    733|        {-1, 0},  // the remaining local vars
  502|    733|    };
  503|    733|    int max = 0;
  504|  5.13k|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (504:21): [True: 4.39k, False: 733]
  ------------------
  505|  4.39k|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (505:15): [True: 733, False: 3.66k]
  ------------------
  506|  4.39k|            ? INT_MAX
  507|  4.39k|            : max + argvarkinds[i].count;
  508|  6.13k|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (508:16): [True: 2.47k, False: 3.66k]
  |  Branch (508:29): [True: 1.74k, False: 733]
  ------------------
  509|  1.74k|            int offset = PyLong_AsInt(v);
  510|  1.74k|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (510:17): [True: 0, False: 1.74k]
  |  Branch (510:33): [True: 0, False: 0]
  ------------------
  511|      0|                return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  512|      0|            }
  513|  1.74k|            assert(offset >= 0);
  514|  1.74k|            assert(offset < nlocalsplus);
  515|       |
  516|  1.74k|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|  1.74k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  517|       |
  518|  1.74k|            int has_key = PyDict_Contains(umd->u_fasthidden, k);
  519|  1.74k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  1.74k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 1.74k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  520|  1.74k|            if (has_key) {
  ------------------
  |  Branch (520:17): [True: 0, False: 1.74k]
  ------------------
  521|      0|                kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|      0|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  522|      0|            }
  523|       |
  524|  1.74k|            has_key = PyDict_Contains(umd->u_cellvars, k);
  525|  1.74k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  1.74k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 1.74k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  526|  1.74k|            if (has_key) {
  ------------------
  |  Branch (526:17): [True: 183, False: 1.55k]
  ------------------
  527|    183|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|    183|#define CO_FAST_CELL    (0x40)
  ------------------
  528|    183|            }
  529|       |
  530|  1.74k|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  531|  1.74k|        }
  532|  4.39k|    }
  533|    733|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|       |
  535|       |    // This counter mirrors the fix done in fix_cell_offsets().
  536|    733|    int numdropped = 0, cellvar_offset = -1;
  537|    733|    pos = 0;
  538|    916|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (538:12): [True: 183, False: 733]
  ------------------
  539|    183|        int has_name = PyDict_Contains(umd->u_varnames, k);
  540|    183|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   21|    183|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 183]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  541|    183|        if (has_name) {
  ------------------
  |  Branch (541:13): [True: 183, False: 0]
  ------------------
  542|       |            // Skip cells that are already covered by locals.
  543|    183|            numdropped += 1;
  544|    183|            continue;
  545|    183|        }
  546|       |
  547|      0|        cellvar_offset = PyLong_AsInt(v);
  548|      0|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 0]
  |  Branch (548:37): [True: 0, False: 0]
  ------------------
  549|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  550|      0|        }
  551|      0|        assert(cellvar_offset >= 0);
  552|      0|        cellvar_offset += nlocals - numdropped;
  553|      0|        assert(cellvar_offset < nlocalsplus);
  554|      0|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  555|      0|    }
  556|       |
  557|    733|    pos = 0;
  558|    964|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (558:12): [True: 231, False: 733]
  ------------------
  559|    231|        int offset = PyLong_AsInt(v);
  560|    231|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (560:13): [True: 0, False: 231]
  |  Branch (560:29): [True: 0, False: 0]
  ------------------
  561|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  562|      0|        }
  563|    231|        assert(offset >= 0);
  564|    231|        offset += nlocals - numdropped;
  565|    231|        assert(offset < nlocalsplus);
  566|       |        /* XXX If the assertion below fails it is most likely because a freevar
  567|       |           was added to u_freevars with the wrong index due to not taking into
  568|       |           account cellvars already present, see gh-128632. */
  569|    231|        assert(offset > cellvar_offset);
  570|    231|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|    231|#define CO_FAST_FREE    (0x80)
  ------------------
  571|    231|    }
  572|    733|    return SUCCESS;
  ------------------
  |  |   17|    733|#define SUCCESS 0
  ------------------
  573|    733|}
assemble.c:assemble_free:
   91|    733|{
   92|    733|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|    733|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|    733|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    733|}

_PyAST_GetDocString:
 1080|  1.92k|{
 1081|  1.92k|    if (!asdl_seq_LEN(body)) {
  ------------------
  |  |   83|  1.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1081:9): [True: 0, False: 1.92k]
  ------------------
 1082|      0|        return NULL;
 1083|      0|    }
 1084|  1.92k|    stmt_ty st = asdl_seq_GET(body, 0);
  ------------------
  |  |   82|  1.92k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1085|  1.92k|    if (st->kind != Expr_kind) {
  ------------------
  |  Branch (1085:9): [True: 1.83k, False: 86]
  ------------------
 1086|  1.83k|        return NULL;
 1087|  1.83k|    }
 1088|     86|    expr_ty e = st->v.Expr.value;
 1089|     86|    if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) {
  ------------------
  |  |  104|     14|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1089:9): [True: 14, False: 72]
  ------------------
 1090|     14|        return e->v.Constant.value;
 1091|     14|    }
 1092|     72|    return NULL;
 1093|     86|}

_PyAST_Preprocess:
  978|    225|{
  979|    225|    _PyASTPreprocessState state;
  980|    225|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|    225|    state.filename = filename;
  982|    225|    state.module = module;
  983|    225|    state.optimize = optimize;
  984|    225|    state.ff_features = ff_features;
  985|    225|    state.syntax_check_only = syntax_check_only;
  986|    225|    state.enable_warnings = enable_warnings;
  987|    225|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 225]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|    225|    int ret = astfold_mod(mod, arena, &state);
  992|    225|    assert(ret || PyErr_Occurred());
  993|       |
  994|    225|    _Py_CArray_Fini(&state.cf_finally);
  995|    225|    return ret;
  996|    225|}
ast_preprocess.c:astfold_mod:
  498|    225|{
  499|    225|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 225, False: 0]
  ------------------
  500|    147|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 147, False: 78]
  ------------------
  501|    147|        CALL(astfold_body, asdl_seq, node_->v.Module.body);
  ------------------
  |  |  409|    147|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 147]
  |  |  ------------------
  |  |  410|    147|        return 0;
  ------------------
  502|    147|        break;
  503|      0|    case Interactive_kind:
  ------------------
  |  Branch (503:5): [True: 0, False: 225]
  ------------------
  504|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.Interactive.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  505|      0|        break;
  506|     78|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 78, False: 147]
  ------------------
  507|     78|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|     78|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 78]
  |  |  ------------------
  |  |  410|     78|        return 0;
  ------------------
  508|     78|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 225]
  ------------------
  511|      0|        break;
  512|       |    // No default case, so the compiler will emit a warning if new top level
  513|       |    // compilation nodes are added without being handled here
  514|    225|    }
  515|    225|    return 1;
  516|    225|}
ast_preprocess.c:astfold_body:
  468|    597|{
  469|    597|    int docstring = _PyAST_GetDocString(stmts) != NULL;
  470|    597|    if (docstring && (state->optimize >= 2)) {
  ------------------
  |  Branch (470:9): [True: 6, False: 591]
  |  Branch (470:22): [True: 0, False: 6]
  ------------------
  471|       |        /* remove the docstring */
  472|      0|        if (!remove_docstring(stmts, 0, ctx_)) {
  ------------------
  |  Branch (472:13): [True: 0, False: 0]
  ------------------
  473|      0|            return 0;
  474|      0|        }
  475|      0|        docstring = 0;
  476|      0|    }
  477|    597|    CALL_SEQ(astfold_stmt, stmt, stmts);
  ------------------
  |  |  416|    597|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    597|    Py_ssize_t i; \
  |  |  418|    597|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.96k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.96k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.96k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.36k, False: 597]
  |  |  ------------------
  |  |  420|  1.36k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.36k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.36k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.36k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.36k]
  |  |  ------------------
  |  |  422|  1.36k|            return 0; \
  |  |  423|  1.36k|    } \
  |  |  424|    597|}
  ------------------
  478|    597|    if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
  ------------------
  |  Branch (478:9): [True: 591, False: 6]
  |  Branch (478:23): [True: 0, False: 591]
  ------------------
  479|      0|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  480|      0|        asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
  481|      0|        if (!values) {
  ------------------
  |  Branch (481:13): [True: 0, False: 0]
  ------------------
  482|      0|            return 0;
  483|      0|        }
  484|      0|        asdl_seq_SET(values, 0, st->v.Expr.value);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  485|      0|        expr_ty expr = _PyAST_JoinedStr(values, st->lineno, st->col_offset,
  486|      0|                                        st->end_lineno, st->end_col_offset,
  487|      0|                                        ctx_);
  488|      0|        if (!expr) {
  ------------------
  |  Branch (488:13): [True: 0, False: 0]
  ------------------
  489|      0|            return 0;
  490|      0|        }
  491|      0|        st->v.Expr.value = expr;
  492|      0|    }
  493|    597|    return 1;
  494|    597|}
ast_preprocess.c:astfold_stmt:
  685|  1.58k|{
  686|  1.58k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  1.58k|#define ENTER_RECURSIVE() \
  |  |   30|  1.58k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 1.58k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  687|  1.58k|    switch (node_->kind) {
  ------------------
  |  Branch (687:13): [True: 1.58k, False: 0]
  ------------------
  688|    450|    case FunctionDef_kind: {
  ------------------
  |  Branch (688:5): [True: 450, False: 1.13k]
  ------------------
  689|    450|        CALL_SEQ(astfold_type_param, type_param, node_->v.FunctionDef.type_params);
  ------------------
  |  |  416|    450|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    450|    Py_ssize_t i; \
  |  |  418|    450|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    450|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    450|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    900|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 450, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 450]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|    450|}
  ------------------
  690|    450|        CALL(astfold_arguments, arguments_ty, node_->v.FunctionDef.args);
  ------------------
  |  |  409|    450|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 450]
  |  |  ------------------
  |  |  410|    450|        return 0;
  ------------------
  691|    450|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|    450|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|    450|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 450]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  692|    450|        CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body);
  ------------------
  |  |  409|    450|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 450]
  |  |  ------------------
  |  |  410|    450|        return 0;
  ------------------
  693|    450|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|    450|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    450|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  694|    450|        CALL_SEQ(astfold_expr, expr, node_->v.FunctionDef.decorator_list);
  ------------------
  |  |  416|    450|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    450|    Py_ssize_t i; \
  |  |  418|    450|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    508|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    508|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 396, False: 112]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 58, False: 450]
  |  |  ------------------
  |  |  420|     58|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     58|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     58|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     58|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 58, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 58]
  |  |  ------------------
  |  |  422|     58|            return 0; \
  |  |  423|     58|    } \
  |  |  424|    450|}
  ------------------
  695|    450|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|    450|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (695:13): [True: 450, False: 0]
  ------------------
  696|    450|            CALL_OPT(astfold_expr, expr_ty, node_->v.FunctionDef.returns);
  ------------------
  |  |  413|    450|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 8, False: 442]
  |  |  |  Branch (413:26): [True: 0, False: 8]
  |  |  ------------------
  |  |  414|    450|        return 0;
  ------------------
  697|    450|        }
  698|    450|        break;
  699|    450|    }
  700|    450|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (700:5): [True: 0, False: 1.58k]
  ------------------
  701|      0|        CALL_SEQ(astfold_type_param, type_param, node_->v.AsyncFunctionDef.type_params);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  702|      0|        CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  703|      0|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|      0|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|      0|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  704|      0|        CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  705|      0|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|      0|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      0|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  706|      0|        CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  707|      0|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|      0|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (707:13): [True: 0, False: 0]
  ------------------
  708|      0|            CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  709|      0|        }
  710|      0|        break;
  711|      0|    }
  712|      0|    case ClassDef_kind:
  ------------------
  |  Branch (712:5): [True: 0, False: 1.58k]
  ------------------
  713|      0|        CALL_SEQ(astfold_type_param, type_param, node_->v.ClassDef.type_params);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  714|      0|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.bases);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  715|      0|        CALL_SEQ(astfold_keyword, keyword, node_->v.ClassDef.keywords);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  716|      0|        CALL(astfold_body, asdl_seq, node_->v.ClassDef.body);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  717|      0|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.decorator_list);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  718|      0|        break;
  719|    446|    case Return_kind:
  ------------------
  |  Branch (719:5): [True: 446, False: 1.13k]
  ------------------
  720|    446|        BEFORE_RETURN(state, node_);
  ------------------
  |  |  124|    446|    if (!before_return((S), (N))) { \
  |  |  ------------------
  |  |  |  Branch (124:9): [True: 0, False: 446]
  |  |  ------------------
  |  |  125|      0|        return 0; \
  |  |  126|      0|    }
  ------------------
  721|    446|        CALL_OPT(astfold_expr, expr_ty, node_->v.Return.value);
  ------------------
  |  |  413|    446|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 446, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 446]
  |  |  ------------------
  |  |  414|    446|        return 0;
  ------------------
  722|    446|        break;
  723|      0|    case Delete_kind:
  ------------------
  |  Branch (723:5): [True: 0, False: 1.58k]
  ------------------
  724|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Delete.targets);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  725|      0|        break;
  726|    154|    case Assign_kind:
  ------------------
  |  Branch (726:5): [True: 154, False: 1.42k]
  ------------------
  727|    154|        CALL_SEQ(astfold_expr, expr, node_->v.Assign.targets);
  ------------------
  |  |  416|    154|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    154|    Py_ssize_t i; \
  |  |  418|    154|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    308|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    308|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    616|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 308]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 154, False: 154]
  |  |  ------------------
  |  |  420|    154|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    154|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    154|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    154|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 154, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 154]
  |  |  ------------------
  |  |  422|    154|            return 0; \
  |  |  423|    154|    } \
  |  |  424|    154|}
  ------------------
  728|    154|        CALL(astfold_expr, expr_ty, node_->v.Assign.value);
  ------------------
  |  |  409|    154|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 154]
  |  |  ------------------
  |  |  410|    154|        return 0;
  ------------------
  729|    154|        break;
  730|      6|    case AugAssign_kind:
  ------------------
  |  Branch (730:5): [True: 6, False: 1.57k]
  ------------------
  731|      6|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.target);
  ------------------
  |  |  409|      6|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  410|      6|        return 0;
  ------------------
  732|      6|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.value);
  ------------------
  |  |  409|      6|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  410|      6|        return 0;
  ------------------
  733|      6|        break;
  734|      0|    case AnnAssign_kind:
  ------------------
  |  Branch (734:5): [True: 0, False: 1.58k]
  ------------------
  735|      0|        CALL(astfold_expr, expr_ty, node_->v.AnnAssign.target);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  736|      0|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|      0|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (736:13): [True: 0, False: 0]
  ------------------
  737|      0|            CALL(astfold_expr, expr_ty, node_->v.AnnAssign.annotation);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  738|      0|        }
  739|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.AnnAssign.value);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  740|      0|        break;
  741|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (741:5): [True: 0, False: 1.58k]
  ------------------
  742|      0|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.name);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  743|      0|        CALL_SEQ(astfold_type_param, type_param, node_->v.TypeAlias.type_params);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  744|      0|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  745|      0|        break;
  746|      2|    case For_kind: {
  ------------------
  |  Branch (746:5): [True: 2, False: 1.57k]
  ------------------
  747|      2|        CALL(astfold_expr, expr_ty, node_->v.For.target);
  ------------------
  |  |  409|      2|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  410|      2|        return 0;
  ------------------
  748|      2|        CALL(astfold_expr, expr_ty, node_->v.For.iter);
  ------------------
  |  |  409|      2|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  410|      2|        return 0;
  ------------------
  749|      2|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|      2|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|      2|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  750|      2|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.body);
  ------------------
  |  |  416|      2|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      2|    Py_ssize_t i; \
  |  |  418|      2|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     28|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     28|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 26, False: 2]
  |  |  ------------------
  |  |  420|     26|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     26|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     26|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 26, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 26]
  |  |  ------------------
  |  |  422|     26|            return 0; \
  |  |  423|     26|    } \
  |  |  424|      2|}
  ------------------
  751|      2|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|      2|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      2|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  752|      2|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.orelse);
  ------------------
  |  |  416|      2|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      2|    Py_ssize_t i; \
  |  |  418|      2|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      2|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      2|}
  ------------------
  753|      2|        break;
  754|      2|    }
  755|      0|    case AsyncFor_kind: {
  ------------------
  |  Branch (755:5): [True: 0, False: 1.58k]
  ------------------
  756|      0|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.target);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  757|      0|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.iter);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  758|      0|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|      0|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|      0|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  759|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  760|      0|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|      0|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      0|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  761|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.orelse);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  762|      0|        break;
  763|      0|    }
  764|      0|    case While_kind: {
  ------------------
  |  Branch (764:5): [True: 0, False: 1.58k]
  ------------------
  765|      0|        CALL(astfold_expr, expr_ty, node_->v.While.test);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  766|      0|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|      0|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|      0|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  767|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  768|      0|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|      0|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      0|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  769|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.orelse);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  770|      0|        break;
  771|      0|    }
  772|    170|    case If_kind:
  ------------------
  |  Branch (772:5): [True: 170, False: 1.41k]
  ------------------
  773|    170|        CALL(astfold_expr, expr_ty, node_->v.If.test);
  ------------------
  |  |  409|    170|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 170]
  |  |  ------------------
  |  |  410|    170|        return 0;
  ------------------
  774|    170|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.body);
  ------------------
  |  |  416|    170|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    170|    Py_ssize_t i; \
  |  |  418|    170|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    350|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    350|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    700|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 350]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 180, False: 170]
  |  |  ------------------
  |  |  420|    180|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    180|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    180|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    180|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 180, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 180]
  |  |  ------------------
  |  |  422|    180|            return 0; \
  |  |  423|    180|    } \
  |  |  424|    170|}
  ------------------
  775|    170|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.orelse);
  ------------------
  |  |  416|    170|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    170|    Py_ssize_t i; \
  |  |  418|    170|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    182|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    182|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    364|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 160, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12, False: 170]
  |  |  ------------------
  |  |  420|     12|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     12|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12]
  |  |  ------------------
  |  |  422|     12|            return 0; \
  |  |  423|     12|    } \
  |  |  424|    170|}
  ------------------
  776|    170|        break;
  777|      0|    case With_kind:
  ------------------
  |  Branch (777:5): [True: 0, False: 1.58k]
  ------------------
  778|      0|        CALL_SEQ(astfold_withitem, withitem, node_->v.With.items);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  779|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.With.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  780|      0|        break;
  781|      0|    case AsyncWith_kind:
  ------------------
  |  Branch (781:5): [True: 0, False: 1.58k]
  ------------------
  782|      0|        CALL_SEQ(astfold_withitem, withitem, node_->v.AsyncWith.items);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  783|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncWith.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  784|      0|        break;
  785|     50|    case Raise_kind:
  ------------------
  |  Branch (785:5): [True: 50, False: 1.53k]
  ------------------
  786|     50|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc);
  ------------------
  |  |  413|     50|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 50, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 50]
  |  |  ------------------
  |  |  414|     50|        return 0;
  ------------------
  787|     50|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause);
  ------------------
  |  |  413|     50|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 50]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|     50|        return 0;
  ------------------
  788|     50|        break;
  789|      0|    case Try_kind: {
  ------------------
  |  Branch (789:5): [True: 0, False: 1.58k]
  ------------------
  790|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  791|      0|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.Try.handlers);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  792|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.orelse);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  793|      0|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|      0|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|      0|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  794|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  795|      0|        AFTER_FINALLY(state);
  ------------------
  |  |  117|      0|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      0|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  796|      0|        break;
  797|      0|    }
  798|      0|    case TryStar_kind: {
  ------------------
  |  Branch (798:5): [True: 0, False: 1.58k]
  ------------------
  799|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  800|      0|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.TryStar.handlers);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  801|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.orelse);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  802|      0|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|      0|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|      0|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  803|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.finalbody);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  804|      0|        AFTER_FINALLY(state);
  ------------------
  |  |  117|      0|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|      0|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  805|      0|        break;
  806|      0|    }
  807|      2|    case Assert_kind:
  ------------------
  |  Branch (807:5): [True: 2, False: 1.57k]
  ------------------
  808|      2|        CALL(astfold_expr, expr_ty, node_->v.Assert.test);
  ------------------
  |  |  409|      2|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  410|      2|        return 0;
  ------------------
  809|      2|        CALL_OPT(astfold_expr, expr_ty, node_->v.Assert.msg);
  ------------------
  |  |  413|      2|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 2, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 2]
  |  |  ------------------
  |  |  414|      2|        return 0;
  ------------------
  810|      2|        break;
  811|    198|    case Expr_kind:
  ------------------
  |  Branch (811:5): [True: 198, False: 1.38k]
  ------------------
  812|    198|        CALL(astfold_expr, expr_ty, node_->v.Expr.value);
  ------------------
  |  |  409|    198|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 198]
  |  |  ------------------
  |  |  410|    198|        return 0;
  ------------------
  813|    198|        break;
  814|      0|    case Match_kind:
  ------------------
  |  Branch (814:5): [True: 0, False: 1.58k]
  ------------------
  815|      0|        CALL(astfold_expr, expr_ty, node_->v.Match.subject);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  816|      0|        CALL_SEQ(astfold_match_case, match_case, node_->v.Match.cases);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  817|      0|        break;
  818|      0|    case Break_kind:
  ------------------
  |  Branch (818:5): [True: 0, False: 1.58k]
  ------------------
  819|      0|        BEFORE_LOOP_EXIT(state, node_, "break");
  ------------------
  |  |  129|      0|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  820|      0|        break;
  821|      0|    case Continue_kind:
  ------------------
  |  Branch (821:5): [True: 0, False: 1.58k]
  ------------------
  822|      0|        BEFORE_LOOP_EXIT(state, node_, "continue");
  ------------------
  |  |  129|      0|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  823|      0|        break;
  824|       |    // The following statements don't contain any subexpressions to be folded
  825|      8|    case Import_kind:
  ------------------
  |  Branch (825:5): [True: 8, False: 1.57k]
  ------------------
  826|    101|    case ImportFrom_kind:
  ------------------
  |  Branch (826:5): [True: 93, False: 1.48k]
  ------------------
  827|    101|    case Global_kind:
  ------------------
  |  Branch (827:5): [True: 0, False: 1.58k]
  ------------------
  828|    101|    case Nonlocal_kind:
  ------------------
  |  Branch (828:5): [True: 0, False: 1.58k]
  ------------------
  829|    103|    case Pass_kind:
  ------------------
  |  Branch (829:5): [True: 2, False: 1.57k]
  ------------------
  830|    103|        break;
  831|       |    // No default case, so the compiler will emit a warning if new statement
  832|       |    // kinds are added without being handled here
  833|  1.58k|    }
  834|  1.58k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  1.58k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  835|  1.58k|    return 1;
  836|  1.58k|}
ast_preprocess.c:astfold_arguments:
  663|    514|{
  664|    514|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|    514|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    514|    Py_ssize_t i; \
  |  |  418|    514|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    518|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    518|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 518]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4, False: 514]
  |  |  ------------------
  |  |  420|      4|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      4|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4]
  |  |  ------------------
  |  |  422|      4|            return 0; \
  |  |  423|      4|    } \
  |  |  424|    514|}
  ------------------
  665|    514|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|    514|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    514|    Py_ssize_t i; \
  |  |  418|    514|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.78k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.78k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.27k, False: 514]
  |  |  ------------------
  |  |  420|  1.27k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.27k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.27k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.27k]
  |  |  ------------------
  |  |  422|  1.27k|            return 0; \
  |  |  423|  1.27k|    } \
  |  |  424|    514|}
  ------------------
  666|    514|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|    514|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 6, False: 508]
  |  |  |  Branch (413:26): [True: 0, False: 6]
  |  |  ------------------
  |  |  414|    514|        return 0;
  ------------------
  667|    514|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|    514|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    514|    Py_ssize_t i; \
  |  |  418|    514|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    654|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    654|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 654]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 140, False: 514]
  |  |  ------------------
  |  |  420|    140|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    140|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    140|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 140, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 140]
  |  |  ------------------
  |  |  422|    140|            return 0; \
  |  |  423|    140|    } \
  |  |  424|    514|}
  ------------------
  668|    514|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|    514|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    514|    Py_ssize_t i; \
  |  |  418|    514|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    654|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    654|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 654]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 140, False: 514]
  |  |  ------------------
  |  |  420|    140|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    140|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    140|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 136, False: 4]
  |  |  |  Branch (421:28): [True: 0, False: 136]
  |  |  ------------------
  |  |  422|    140|            return 0; \
  |  |  423|    140|    } \
  |  |  424|    514|}
  ------------------
  669|    514|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|    514|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 4, False: 510]
  |  |  |  Branch (413:26): [True: 0, False: 4]
  |  |  ------------------
  |  |  414|    514|        return 0;
  ------------------
  670|    514|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|    514|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    514|    Py_ssize_t i; \
  |  |  418|    514|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    588|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    588|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 588]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 74, False: 514]
  |  |  ------------------
  |  |  420|     74|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     74|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     74|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     74|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 74, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 74]
  |  |  ------------------
  |  |  422|     74|            return 0; \
  |  |  423|     74|    } \
  |  |  424|    514|}
  ------------------
  671|    514|    return 1;
  672|    514|}
ast_preprocess.c:astfold_arg:
  676|  1.42k|{
  677|  1.42k|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|  1.42k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 1.42k, False: 0]
  ------------------
  678|  1.42k|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|  1.42k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 16, False: 1.40k]
  |  |  |  Branch (413:26): [True: 0, False: 16]
  |  |  ------------------
  |  |  414|  1.42k|        return 0;
  ------------------
  679|  1.42k|    }
  680|  1.42k|    return 1;
  681|  1.42k|}
ast_preprocess.c:push_cf_context:
   45|    452|{
   46|    452|    if (_Py_CArray_EnsureCapacity(&state->cf_finally, state->cf_finally_used+1) < 0) {
  ------------------
  |  Branch (46:9): [True: 0, False: 452]
  ------------------
   47|      0|        return 0;
   48|      0|    }
   49|       |
   50|    452|    state->cf_finally_used++;
   51|    452|    ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   52|       |
   53|    452|    ctx->in_finally = finally;
   54|    452|    ctx->in_funcdef = funcdef;
   55|    452|    ctx->in_loop = loop;
   56|    452|    return 1;
   57|    452|}
ast_preprocess.c:get_cf_finally_top:
   38|    890|{
   39|    890|    int idx = state->cf_finally_used;
   40|    890|    return ((ControlFlowInFinallyContext*)state->cf_finally.array) + idx;
   41|    890|}
ast_preprocess.c:pop_cf_context:
   61|    452|{
   62|       |    assert(state->cf_finally_used > 0);
   63|    452|    state->cf_finally_used--;
   64|    452|}
ast_preprocess.c:astfold_keyword:
  647|    208|{
  648|    208|    CALL(astfold_expr, expr_ty, node_->value);
  ------------------
  |  |  409|    208|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 208]
  |  |  ------------------
  |  |  410|    208|        return 0;
  ------------------
  649|    208|    return 1;
  650|    208|}
ast_preprocess.c:before_return:
   83|    446|{
   84|    446|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (84:9): [True: 438, False: 8]
  |  Branch (84:35): [True: 438, False: 0]
  ------------------
   85|    438|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   86|    438|        if (ctx->in_finally && ! ctx->in_funcdef) {
  ------------------
  |  Branch (86:13): [True: 0, False: 438]
  |  Branch (86:32): [True: 0, False: 0]
  ------------------
   87|      0|            if (!control_flow_in_finally_warning("return", node_, state)) {
  ------------------
  |  Branch (87:17): [True: 0, False: 0]
  ------------------
   88|      0|                return 0;
   89|      0|            }
   90|      0|        }
   91|    438|    }
   92|    446|    return 1;
   93|    446|}
ast_preprocess.c:astfold_expr:
  520|  7.94k|{
  521|  7.94k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  7.94k|#define ENTER_RECURSIVE() \
  |  |   30|  7.94k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 7.94k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|  7.94k|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 7.94k, False: 0]
  ------------------
  523|    106|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 106, False: 7.83k]
  ------------------
  524|    106|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|    106|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    106|    Py_ssize_t i; \
  |  |  418|    106|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    440|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    440|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    880|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 440]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 334, False: 106]
  |  |  ------------------
  |  |  420|    334|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    334|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    334|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    334|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 334, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 334]
  |  |  ------------------
  |  |  422|    334|            return 0; \
  |  |  423|    334|    } \
  |  |  424|    106|}
  ------------------
  525|    106|        break;
  526|     26|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 26, False: 7.91k]
  ------------------
  527|     26|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|     26|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 26]
  |  |  ------------------
  |  |  410|     26|        return 0;
  ------------------
  528|     26|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|     26|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 26]
  |  |  ------------------
  |  |  410|     26|        return 0;
  ------------------
  529|     26|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|     26|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 26]
  |  |  ------------------
  |  |  410|     26|        return 0;
  ------------------
  530|     26|        break;
  531|      6|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 6, False: 7.93k]
  ------------------
  532|      6|        CALL(astfold_expr, expr_ty, node_->v.UnaryOp.operand);
  ------------------
  |  |  409|      6|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  410|      6|        return 0;
  ------------------
  533|      6|        break;
  534|     64|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 64, False: 7.87k]
  ------------------
  535|     64|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|     64|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 64]
  |  |  ------------------
  |  |  410|     64|        return 0;
  ------------------
  536|     64|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|     64|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 64]
  |  |  ------------------
  |  |  410|     64|        return 0;
  ------------------
  537|     64|        break;
  538|     10|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 10, False: 7.93k]
  ------------------
  539|     10|        CALL(astfold_expr, expr_ty, node_->v.IfExp.test);
  ------------------
  |  |  409|     10|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  410|     10|        return 0;
  ------------------
  540|     10|        CALL(astfold_expr, expr_ty, node_->v.IfExp.body);
  ------------------
  |  |  409|     10|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  410|     10|        return 0;
  ------------------
  541|     10|        CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse);
  ------------------
  |  |  409|     10|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  410|     10|        return 0;
  ------------------
  542|     10|        break;
  543|      0|    case Dict_kind:
  ------------------
  |  Branch (543:5): [True: 0, False: 7.94k]
  ------------------
  544|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  545|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  546|      0|        break;
  547|     48|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 48, False: 7.89k]
  ------------------
  548|     48|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|     48|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     48|    Py_ssize_t i; \
  |  |  418|     48|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    296|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    296|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    592|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 296]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 248, False: 48]
  |  |  ------------------
  |  |  420|    248|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    248|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    248|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    248|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 248, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 248]
  |  |  ------------------
  |  |  422|    248|            return 0; \
  |  |  423|    248|    } \
  |  |  424|     48|}
  ------------------
  549|     48|        break;
  550|      0|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 0, False: 7.94k]
  ------------------
  551|      0|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  552|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  553|      0|        break;
  554|      0|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 0, False: 7.94k]
  ------------------
  555|      0|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  556|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  557|      0|        break;
  558|      0|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 0, False: 7.94k]
  ------------------
  559|      0|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  560|      0|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  562|      0|        }
  563|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  564|      0|        break;
  565|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 0, False: 7.94k]
  ------------------
  566|      0|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  567|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  568|      0|        break;
  569|      0|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 0, False: 7.94k]
  ------------------
  570|      0|        CALL(astfold_expr, expr_ty, node_->v.Await.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  571|      0|        break;
  572|      0|    case Yield_kind:
  ------------------
  |  Branch (572:5): [True: 0, False: 7.94k]
  ------------------
  573|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  574|      0|        break;
  575|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (575:5): [True: 0, False: 7.94k]
  ------------------
  576|      0|        CALL(astfold_expr, expr_ty, node_->v.YieldFrom.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  577|      0|        break;
  578|    434|    case Compare_kind:
  ------------------
  |  Branch (578:5): [True: 434, False: 7.50k]
  ------------------
  579|    434|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|    434|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 434]
  |  |  ------------------
  |  |  410|    434|        return 0;
  ------------------
  580|    434|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  416|    434|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    434|    Py_ssize_t i; \
  |  |  418|    434|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    870|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    870|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 870]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 436, False: 434]
  |  |  ------------------
  |  |  420|    436|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    436|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    436|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 436, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 436]
  |  |  ------------------
  |  |  422|    436|            return 0; \
  |  |  423|    436|    } \
  |  |  424|    434|}
  ------------------
  581|    434|        break;
  582|    743|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 743, False: 7.19k]
  ------------------
  583|    743|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|    743|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 743]
  |  |  ------------------
  |  |  410|    743|        return 0;
  ------------------
  584|    743|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|    743|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    743|    Py_ssize_t i; \
  |  |  418|    743|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.74k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.74k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 176, False: 1.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.00k, False: 743]
  |  |  ------------------
  |  |  420|  1.00k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.00k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.00k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.00k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.00k]
  |  |  ------------------
  |  |  422|  1.00k|            return 0; \
  |  |  423|  1.00k|    } \
  |  |  424|    743|}
  ------------------
  585|    743|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|    743|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    743|    Py_ssize_t i; \
  |  |  418|    743|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    951|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    951|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 649, False: 302]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 208, False: 743]
  |  |  ------------------
  |  |  420|    208|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    208|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    208|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 208, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 208]
  |  |  ------------------
  |  |  422|    208|            return 0; \
  |  |  423|    208|    } \
  |  |  424|    743|}
  ------------------
  586|    743|        break;
  587|    292|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 292, False: 7.65k]
  ------------------
  588|    292|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|    292|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 292]
  |  |  ------------------
  |  |  410|    292|        return 0;
  ------------------
  589|    292|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|    292|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 292]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|    292|        return 0;
  ------------------
  590|    292|        break;
  591|      0|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 0, False: 7.94k]
  ------------------
  592|      0|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  593|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  594|      0|        break;
  595|     94|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 94, False: 7.84k]
  ------------------
  596|     94|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|     94|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     94|    Py_ssize_t i; \
  |  |  418|     94|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    678|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    678|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 678]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 584, False: 94]
  |  |  ------------------
  |  |  420|    584|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    584|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 584, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 584]
  |  |  ------------------
  |  |  422|    584|            return 0; \
  |  |  423|    584|    } \
  |  |  424|     94|}
  ------------------
  597|     94|        break;
  598|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 0, False: 7.94k]
  ------------------
  599|      0|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  600|      0|        break;
  601|  1.30k|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 1.30k, False: 6.64k]
  ------------------
  602|  1.30k|        CALL(astfold_expr, expr_ty, node_->v.Attribute.value);
  ------------------
  |  |  409|  1.30k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.30k]
  |  |  ------------------
  |  |  410|  1.30k|        return 0;
  ------------------
  603|  1.30k|        break;
  604|     12|    case Subscript_kind:
  ------------------
  |  Branch (604:5): [True: 12, False: 7.93k]
  ------------------
  605|     12|        CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
  ------------------
  |  |  409|     12|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 12]
  |  |  ------------------
  |  |  410|     12|        return 0;
  ------------------
  606|     12|        CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
  ------------------
  |  |  409|     12|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 12]
  |  |  ------------------
  |  |  410|     12|        return 0;
  ------------------
  607|     12|        break;
  608|      4|    case Starred_kind:
  ------------------
  |  Branch (608:5): [True: 4, False: 7.93k]
  ------------------
  609|      4|        CALL(astfold_expr, expr_ty, node_->v.Starred.value);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  610|      4|        break;
  611|      0|    case Slice_kind:
  ------------------
  |  Branch (611:5): [True: 0, False: 7.94k]
  ------------------
  612|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.lower);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  613|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.upper);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  614|      0|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.step);
  ------------------
  |  |  413|      0|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      0|        return 0;
  ------------------
  615|      0|        break;
  616|      0|    case List_kind:
  ------------------
  |  Branch (616:5): [True: 0, False: 7.94k]
  ------------------
  617|      0|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  618|      0|        break;
  619|    142|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 142, False: 7.80k]
  ------------------
  620|    142|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|    142|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    142|    Py_ssize_t i; \
  |  |  418|    142|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    762|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    762|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 762]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 620, False: 142]
  |  |  ------------------
  |  |  420|    620|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    620|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    620|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    620|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 620, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 620]
  |  |  ------------------
  |  |  422|    620|            return 0; \
  |  |  423|    620|    } \
  |  |  424|    142|}
  ------------------
  621|    142|        break;
  622|  3.81k|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 3.81k, False: 4.12k]
  ------------------
  623|  3.81k|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 144, False: 3.66k]
  ------------------
  624|    144|            break;
  625|    144|        }
  626|  3.66k|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 3.63k, False: 32]
  ------------------
  627|  3.63k|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 0, False: 3.63k]
  ------------------
  628|      0|            LEAVE_RECURSIVE();
  ------------------
  |  |   34|      0|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  629|      0|            return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
  630|      0|        }
  631|  3.66k|        break;
  632|  3.66k|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 0, False: 7.94k]
  ------------------
  633|      0|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  634|      0|        break;
  635|    848|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 848, False: 7.09k]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|    848|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|  7.94k|    }
  641|  7.94k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  7.94k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|  7.94k|    return 1;
  643|  7.94k|}
ast_preprocess.c:fold_binop:
  372|     26|{
  373|     26|    if (state->syntax_check_only) {
  ------------------
  |  Branch (373:9): [True: 12, False: 14]
  ------------------
  374|     12|        return 1;
  375|     12|    }
  376|     14|    expr_ty lhs, rhs;
  377|     14|    lhs = node->v.BinOp.left;
  378|     14|    rhs = node->v.BinOp.right;
  379|     14|    if (lhs->kind != Constant_kind) {
  ------------------
  |  Branch (379:9): [True: 8, False: 6]
  ------------------
  380|      8|        return 1;
  381|      8|    }
  382|      6|    PyObject *lv = lhs->v.Constant.value;
  383|       |
  384|      6|    if (node->v.BinOp.op == Mod &&
  ------------------
  |  Branch (384:9): [True: 0, False: 6]
  ------------------
  385|      0|        rhs->kind == Tuple_kind &&
  ------------------
  |  Branch (385:9): [True: 0, False: 0]
  ------------------
  386|      6|        PyUnicode_Check(lv) &&
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|      0|        !has_starred(rhs->v.Tuple.elts))
  ------------------
  |  Branch (387:9): [True: 0, False: 0]
  ------------------
  388|      0|    {
  389|      0|        return optimize_format(node, lv, rhs->v.Tuple.elts, arena);
  390|      0|    }
  391|       |
  392|      6|    return 1;
  393|      6|}

_PyBuiltin_Init:
 3517|      2|{
 3518|      2|    PyObject *mod, *dict, *debug;
 3519|       |
 3520|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3521|       |
 3522|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3523|      2|    if (mod == NULL)
  ------------------
  |  Branch (3523:9): [True: 0, False: 2]
  ------------------
 3524|      0|        return NULL;
 3525|       |#ifdef Py_GIL_DISABLED
 3526|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3527|       |#endif
 3528|      2|    dict = PyModule_GetDict(mod);
 3529|       |
 3530|       |#ifdef Py_TRACE_REFS
 3531|       |    /* "builtins" exposes a number of statically allocated objects
 3532|       |     * that, before this code was added in 2.3, never showed up in
 3533|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3534|       |     * result, programs leaking references to None and False (etc)
 3535|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3536|       |     */
 3537|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3538|       |#else
 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3540|      2|#endif
 3541|       |
 3542|      2|#define SETBUILTIN(NAME, OBJECT) \
 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3544|      2|        return NULL;                                                    \
 3545|      2|    ADD_TO_ALL(OBJECT)
 3546|       |
 3547|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3548|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3549|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3550|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3551|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3552|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3553|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3554|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3555|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3556|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3557|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3558|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3559|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3560|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3561|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3562|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3563|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3564|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3565|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3566|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3567|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3568|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3569|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3570|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3571|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3572|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3573|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3574|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3575|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3576|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3577|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3578|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3579|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3543|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3543:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3544|      2|        return NULL;                                                    \
  |  | 3545|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3539|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3580|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3581|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3581:9): [True: 0, False: 2]
  ------------------
 3582|      0|        Py_DECREF(debug);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3583|      0|        return NULL;
 3584|      0|    }
 3585|      2|    Py_DECREF(debug);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3586|       |
 3587|      2|    return mod;
 3588|      2|#undef ADD_TO_ALL
 3589|      2|#undef SETBUILTIN
 3590|      2|}
bltinmodule.c:filter_dealloc:
  628|     10|{
  629|     10|    filterobject *lz = _filterobject_CAST(self);
  ------------------
  |  |  560|     10|#define _filterobject_CAST(op)      ((filterobject *)(op))
  ------------------
  630|     10|    PyObject_GC_UnTrack(lz);
  631|     10|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|     10|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  632|     10|    Py_XDECREF(lz->it);
  ------------------
  |  |  524|     10|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|     10|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|     10|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     10|}
bltinmodule.c:filter_next:
  647|     34|{
  648|     34|    filterobject *lz = _filterobject_CAST(self);
  ------------------
  |  |  560|     34|#define _filterobject_CAST(op)      ((filterobject *)(op))
  ------------------
  649|     34|    PyObject *item;
  650|     34|    PyObject *it = lz->it;
  651|     34|    long ok;
  652|     34|    PyObject *(*iternext)(PyObject *);
  653|     34|    int checktrue = lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type;
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (653:21): [True: 4, False: 30]
  |  Branch (653:44): [True: 0, False: 30]
  ------------------
  654|       |
  655|     34|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|     34|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  656|     42|    for (;;) {
  657|     42|        item = iternext(it);
  658|     42|        if (item == NULL)
  ------------------
  |  Branch (658:13): [True: 10, False: 32]
  ------------------
  659|     10|            return NULL;
  660|       |
  661|     32|        if (checktrue) {
  ------------------
  |  Branch (661:13): [True: 6, False: 26]
  ------------------
  662|      6|            ok = PyObject_IsTrue(item);
  663|     26|        } else {
  664|     26|            PyObject *good;
  665|     26|            good = PyObject_CallOneArg(lz->func, item);
  666|     26|            if (good == NULL) {
  ------------------
  |  Branch (666:17): [True: 0, False: 26]
  ------------------
  667|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|                return NULL;
  669|      0|            }
  670|     26|            ok = PyObject_IsTrue(good);
  671|     26|            Py_DECREF(good);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|     26|        }
  673|     32|        if (ok > 0)
  ------------------
  |  Branch (673:13): [True: 24, False: 8]
  ------------------
  674|     24|            return item;
  675|      8|        Py_DECREF(item);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      8|        if (ok < 0)
  ------------------
  |  Branch (676:13): [True: 0, False: 8]
  ------------------
  677|      0|            return NULL;
  678|      8|    }
  679|     34|}
bltinmodule.c:filter_vectorcall:
  597|     10|{
  598|     10|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|     10|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  599|     10|    if (tp == &PyFilter_Type && !_PyArg_NoKwnames("filter", kwnames)) {
  ------------------
  |  |   15|     10|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 10, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (599:9): [True: 10, False: 0]
  ------------------
  600|      0|        return NULL;
  601|      0|    }
  602|       |
  603|     10|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     10|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  604|     10|    if (!_PyArg_CheckPositional("filter", nargs, 2, 2)) {
  ------------------
  |  |   31|     10|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 10, False: 0]
  |  |  |  Branch (31:27): [True: 10, False: 0]
  |  |  ------------------
  |  |   32|     10|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  605|      0|        return NULL;
  606|      0|    }
  607|       |
  608|     10|    PyObject *it = PyObject_GetIter(args[1]);
  609|     10|    if (it == NULL) {
  ------------------
  |  Branch (609:9): [True: 0, False: 10]
  ------------------
  610|      0|        return NULL;
  611|      0|    }
  612|       |
  613|     10|    filterobject *lz = (filterobject *)tp->tp_alloc(tp, 0);
  614|       |
  615|     10|    if (lz == NULL) {
  ------------------
  |  Branch (615:9): [True: 0, False: 10]
  ------------------
  616|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  617|      0|        return NULL;
  618|      0|    }
  619|       |
  620|     10|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     10|    lz->it = it;
  622|       |
  623|     10|    return (PyObject *)lz;
  624|     10|}
bltinmodule.c:map_dealloc:
 1547|    270|{
 1548|    270|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1441|    270|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1549|    270|    PyObject_GC_UnTrack(lz);
 1550|    270|    Py_XDECREF(lz->iters);
  ------------------
  |  |  524|    270|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|    270|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|    270|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|    270|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|    270|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|    270|}
bltinmodule.c:map_next:
 1566|  1.87k|{
 1567|  1.87k|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1441|  1.87k|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1568|  1.87k|    Py_ssize_t i;
 1569|  1.87k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1570|  1.87k|    PyObject **stack;
 1571|  1.87k|    PyObject *result = NULL;
 1572|  1.87k|    PyThreadState *tstate = _PyThreadState_GET();
 1573|       |
 1574|  1.87k|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|  1.87k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|  1.87k|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  1.87k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1575:9): [True: 1.87k, False: 0]
  ------------------
 1576|  1.87k|        stack = small_stack;
 1577|  1.87k|    }
 1578|      0|    else {
 1579|      0|        stack = PyMem_Malloc(niters * sizeof(stack[0]));
 1580|      0|        if (stack == NULL) {
  ------------------
  |  Branch (1580:13): [True: 0, False: 0]
  ------------------
 1581|      0|            _PyErr_NoMemory(tstate);
 1582|      0|            return NULL;
 1583|      0|        }
 1584|      0|    }
 1585|       |
 1586|  1.87k|    Py_ssize_t nargs = 0;
 1587|  3.51k|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1587:17): [True: 1.89k, False: 1.61k]
  ------------------
 1588|  1.89k|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|  1.89k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.89k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|  1.89k|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  213|  1.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|  1.89k|        if (val == NULL) {
  ------------------
  |  Branch (1590:13): [True: 256, False: 1.64k]
  ------------------
 1591|    256|            if (lz->strict) {
  ------------------
  |  Branch (1591:17): [True: 0, False: 256]
  ------------------
 1592|      0|                goto check;
 1593|      0|            }
 1594|    256|            goto exit_no_result;
 1595|    256|        }
 1596|  1.64k|        stack[i] = val;
 1597|  1.64k|        nargs++;
 1598|  1.64k|    }
 1599|       |
 1600|  1.61k|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1601|  1.61k|    goto exit;
 1602|       |
 1603|      0|check:
 1604|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1604:9): [True: 0, False: 0]
  ------------------
 1605|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1605:13): [True: 0, False: 0]
  ------------------
 1606|       |            // next() on argument i raised an exception (not StopIteration)
 1607|      0|            goto exit_no_result;
 1608|      0|        }
 1609|      0|        PyErr_Clear();
 1610|      0|    }
 1611|      0|    if (i) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 0]
  ------------------
 1612|       |        // ValueError: map() argument 2 is shorter than argument 1
 1613|       |        // ValueError: map() argument 3 is shorter than arguments 1-2
 1614|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1614:30): [True: 0, False: 0]
  ------------------
 1615|      0|        PyErr_Format(PyExc_ValueError,
 1616|      0|                     "map() argument %zd is shorter than argument%s%zd",
 1617|      0|                     i + 1, plural, i);
 1618|      0|        goto exit_no_result;
 1619|      0|    }
 1620|      0|    for (i = 1; i < niters; i++) {
  ------------------
  |  Branch (1620:17): [True: 0, False: 0]
  ------------------
 1621|      0|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1622|      0|        PyObject *val = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|      0|        if (val) {
  ------------------
  |  Branch (1623:13): [True: 0, False: 0]
  ------------------
 1624|      0|            Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1625:34): [True: 0, False: 0]
  ------------------
 1626|      0|            PyErr_Format(PyExc_ValueError,
 1627|      0|                         "map() argument %zd is longer than argument%s%zd",
 1628|      0|                         i + 1, plural, i);
 1629|      0|            goto exit_no_result;
 1630|      0|        }
 1631|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1631:13): [True: 0, False: 0]
  ------------------
 1632|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1632:17): [True: 0, False: 0]
  ------------------
 1633|       |                // next() on argument i raised an exception (not StopIteration)
 1634|      0|                goto exit_no_result;
 1635|      0|            }
 1636|      0|            PyErr_Clear();
 1637|      0|        }
 1638|       |        // Argument i is exhausted. So far so good...
 1639|      0|    }
 1640|       |    // All arguments are exhausted. Success!
 1641|       |
 1642|    256|exit_no_result:
 1643|    256|    assert(result == NULL);
 1644|       |
 1645|  1.87k|exit:
 1646|  3.51k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1646:17): [True: 1.64k, False: 1.87k]
  ------------------
 1647|  1.64k|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|  1.64k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|  1.64k|    }
 1649|  1.87k|    if (stack != small_stack) {
  ------------------
  |  Branch (1649:9): [True: 0, False: 1.87k]
  ------------------
 1650|      0|        PyMem_Free(stack);
 1651|      0|    }
 1652|  1.87k|    return result;
 1653|    256|}
bltinmodule.c:map_vectorcall:
 1503|    270|{
 1504|    270|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|    270|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1505|       |
 1506|    270|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    270|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1507|    270|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) != 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1507:9): [True: 0, False: 270]
  |  Branch (1507:28): [True: 0, False: 0]
  ------------------
 1508|       |        // Fallback to map_new()
 1509|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1510|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1511|      0|    }
 1512|       |
 1513|    270|    if (nargs < 2) {
  ------------------
  |  Branch (1513:9): [True: 0, False: 270]
  ------------------
 1514|      0|        PyErr_SetString(PyExc_TypeError,
 1515|      0|           "map() must have at least two arguments.");
 1516|      0|        return NULL;
 1517|      0|    }
 1518|       |
 1519|    270|    PyObject *iters = PyTuple_New(nargs-1);
 1520|    270|    if (iters == NULL) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 270]
  ------------------
 1521|      0|        return NULL;
 1522|      0|    }
 1523|       |
 1524|    556|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1524:19): [True: 286, False: 270]
  ------------------
 1525|    286|        PyObject *it = PyObject_GetIter(args[i]);
 1526|    286|        if (it == NULL) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 286]
  ------------------
 1527|      0|            Py_DECREF(iters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|      0|            return NULL;
 1529|      0|        }
 1530|    286|        PyTuple_SET_ITEM(iters, i-1, it);
  ------------------
  |  |   40|    286|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|    286|    }
 1532|       |
 1533|    270|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1534|    270|    if (lz == NULL) {
  ------------------
  |  Branch (1534:9): [True: 0, False: 270]
  ------------------
 1535|      0|        Py_DECREF(iters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|      0|        return NULL;
 1537|      0|    }
 1538|    270|    lz->iters = iters;
 1539|    270|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  550|    270|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|    270|    lz->strict = 0;
 1541|       |
 1542|    270|    return (PyObject *)lz;
 1543|    270|}
bltinmodule.c:zip_dealloc:
 3243|    600|{
 3244|    600|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3172|    600|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3245|    600|    PyObject_GC_UnTrack(lz);
 3246|    600|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  524|    600|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3247|    600|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|    600|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3248|    600|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|    600|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3249|    600|}
bltinmodule.c:zip_next:
 3262|  1.53k|{
 3263|  1.53k|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3172|  1.53k|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3264|       |
 3265|  1.53k|    Py_ssize_t i;
 3266|  1.53k|    Py_ssize_t tuplesize = lz->tuplesize;
 3267|  1.53k|    PyObject *result = lz->result;
 3268|  1.53k|    PyObject *it;
 3269|  1.53k|    PyObject *item;
 3270|  1.53k|    PyObject *olditem;
 3271|       |
 3272|  1.53k|    if (tuplesize == 0)
  ------------------
  |  Branch (3272:9): [True: 0, False: 1.53k]
  ------------------
 3273|      0|        return NULL;
 3274|       |
 3275|  1.53k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3275:9): [True: 1.51k, False: 22]
  ------------------
 3276|  1.51k|        Py_INCREF(result);
  ------------------
  |  |  310|  1.51k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|  4.11k|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3277:20): [True: 2.81k, False: 1.29k]
  ------------------
 3278|  2.81k|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|  2.81k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.81k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3279|  2.81k|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  2.81k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3280|  2.81k|            if (item == NULL) {
  ------------------
  |  Branch (3280:17): [True: 216, False: 2.60k]
  ------------------
 3281|    216|                Py_DECREF(result);
  ------------------
  |  |  430|    216|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3282|    216|                if (lz->strict) {
  ------------------
  |  Branch (3282:21): [True: 60, False: 156]
  ------------------
 3283|     60|                    goto check;
 3284|     60|                }
 3285|    156|                return NULL;
 3286|    216|            }
 3287|  2.60k|            olditem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|  2.60k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.60k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|  2.60k|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|  2.60k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3289|  2.60k|            Py_DECREF(olditem);
  ------------------
  |  |  430|  2.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|  2.60k|        }
 3291|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3292|       |        // recycling it, make sure it's tracked again:
 3293|  1.29k|        _PyTuple_Recycle(result);
 3294|  1.29k|    } else {
 3295|     22|        result = PyTuple_New(tuplesize);
 3296|     22|        if (result == NULL)
  ------------------
  |  Branch (3296:13): [True: 0, False: 22]
  ------------------
 3297|      0|            return NULL;
 3298|     50|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3298:20): [True: 38, False: 12]
  ------------------
 3299|     38|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|     38|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     38|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3300|     38|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|     38|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3301|     38|            if (item == NULL) {
  ------------------
  |  Branch (3301:17): [True: 10, False: 28]
  ------------------
 3302|     10|                Py_DECREF(result);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|     10|                if (lz->strict) {
  ------------------
  |  Branch (3303:21): [True: 0, False: 10]
  ------------------
 3304|      0|                    goto check;
 3305|      0|                }
 3306|     10|                return NULL;
 3307|     10|            }
 3308|     28|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|     28|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|     28|        }
 3310|     22|    }
 3311|  1.30k|    return result;
 3312|     60|check:
 3313|     60|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3313:9): [True: 0, False: 60]
  ------------------
 3314|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3314:13): [True: 0, False: 0]
  ------------------
 3315|       |            // next() on argument i raised an exception (not StopIteration)
 3316|      0|            return NULL;
 3317|      0|        }
 3318|      0|        PyErr_Clear();
 3319|      0|    }
 3320|     60|    if (i) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 60]
  ------------------
 3321|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3322|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3323|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3323:30): [True: 0, False: 0]
  ------------------
 3324|      0|        return PyErr_Format(PyExc_ValueError,
 3325|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3326|      0|                            i + 1, plural, i);
 3327|      0|    }
 3328|    142|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3328:17): [True: 82, False: 60]
  ------------------
 3329|     82|        it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|     82|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     82|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3330|     82|        item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|     82|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3331|     82|        if (item) {
  ------------------
  |  Branch (3331:13): [True: 0, False: 82]
  ------------------
 3332|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3333|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3333:34): [True: 0, False: 0]
  ------------------
 3334|      0|            return PyErr_Format(PyExc_ValueError,
 3335|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3336|      0|                                i + 1, plural, i);
 3337|      0|        }
 3338|     82|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3338:13): [True: 0, False: 82]
  ------------------
 3339|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3339:17): [True: 0, False: 0]
  ------------------
 3340|       |                // next() on argument i raised an exception (not StopIteration)
 3341|      0|                return NULL;
 3342|      0|            }
 3343|      0|            PyErr_Clear();
 3344|      0|        }
 3345|       |        // Argument i is exhausted. So far so good...
 3346|     82|    }
 3347|       |    // All arguments are exhausted. Success!
 3348|     60|    return NULL;
 3349|     60|}
bltinmodule.c:zip_new:
 3176|    600|{
 3177|    600|    zipobject *lz;
 3178|    600|    Py_ssize_t i;
 3179|    600|    PyObject *ittuple;  /* tuple of iterators */
 3180|    600|    PyObject *result;
 3181|    600|    Py_ssize_t tuplesize;
 3182|    600|    int strict = 0;
 3183|       |
 3184|    600|    if (kwds) {
  ------------------
  |  Branch (3184:9): [True: 436, False: 164]
  ------------------
 3185|    436|        PyObject *empty = PyTuple_New(0);
 3186|    436|        if (empty == NULL) {
  ------------------
  |  Branch (3186:13): [True: 0, False: 436]
  ------------------
 3187|      0|            return NULL;
 3188|      0|        }
 3189|    436|        static char *kwlist[] = {"strict", NULL};
 3190|    436|        int parsed = PyArg_ParseTupleAndKeywords(
 3191|    436|                empty, kwds, "|$p:zip", kwlist, &strict);
 3192|    436|        Py_DECREF(empty);
  ------------------
  |  |  430|    436|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3193|    436|        if (!parsed) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 436]
  ------------------
 3194|      0|            return NULL;
 3195|      0|        }
 3196|    436|    }
 3197|       |
 3198|       |    /* args must be a tuple */
 3199|    600|    assert(PyTuple_Check(args));
 3200|    600|    tuplesize = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    600|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|       |
 3202|       |    /* obtain iterators */
 3203|    600|    ittuple = PyTuple_New(tuplesize);
 3204|    600|    if (ittuple == NULL)
  ------------------
  |  Branch (3204:9): [True: 0, False: 600]
  ------------------
 3205|      0|        return NULL;
 3206|  1.82k|    for (i=0; i < tuplesize; ++i) {
  ------------------
  |  Branch (3206:15): [True: 1.22k, False: 600]
  ------------------
 3207|  1.22k|        PyObject *item = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|  1.22k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.22k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3208|  1.22k|        PyObject *it = PyObject_GetIter(item);
 3209|  1.22k|        if (it == NULL) {
  ------------------
  |  Branch (3209:13): [True: 0, False: 1.22k]
  ------------------
 3210|      0|            Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3211|      0|            return NULL;
 3212|      0|        }
 3213|  1.22k|        PyTuple_SET_ITEM(ittuple, i, it);
  ------------------
  |  |   40|  1.22k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3214|  1.22k|    }
 3215|       |
 3216|       |    /* create a result holder */
 3217|    600|    result = PyTuple_New(tuplesize);
 3218|    600|    if (result == NULL) {
  ------------------
  |  Branch (3218:9): [True: 0, False: 600]
  ------------------
 3219|      0|        Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      0|        return NULL;
 3221|      0|    }
 3222|  1.82k|    for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3222:16): [True: 1.22k, False: 600]
  ------------------
 3223|  1.22k|        PyTuple_SET_ITEM(result, i, Py_NewRef(Py_None));
  ------------------
  |  |   40|  1.22k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3224|  1.22k|    }
 3225|       |
 3226|       |    /* create zipobject structure */
 3227|    600|    lz = (zipobject *)type->tp_alloc(type, 0);
 3228|    600|    if (lz == NULL) {
  ------------------
  |  Branch (3228:9): [True: 0, False: 600]
  ------------------
 3229|      0|        Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3230|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|      0|        return NULL;
 3232|      0|    }
 3233|    600|    lz->ittuple = ittuple;
 3234|    600|    lz->tuplesize = tuplesize;
 3235|    600|    lz->result = result;
 3236|    600|    lz->strict = strict;
 3237|       |
 3238|    600|    return (PyObject *)lz;
 3239|    600|}
bltinmodule.c:builtin___build_class__:
  104|  1.99k|{
  105|  1.99k|    PyObject *func, *name, *winner, *prep;
  106|  1.99k|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  107|  1.99k|    PyObject *mkw = NULL, *bases = NULL;
  108|  1.99k|    int isclass = 0;   /* initialize to prevent gcc warning */
  109|       |
  110|  1.99k|    if (nargs < 2) {
  ------------------
  |  Branch (110:9): [True: 0, False: 1.99k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_TypeError,
  112|      0|                        "__build_class__: not enough arguments");
  113|      0|        return NULL;
  114|      0|    }
  115|  1.99k|    func = args[0];   /* Better be callable */
  116|  1.99k|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|  1.99k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.99k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 1.99k]
  ------------------
  117|      0|        PyErr_SetString(PyExc_TypeError,
  118|      0|                        "__build_class__: func must be a function");
  119|      0|        return NULL;
  120|      0|    }
  121|  1.99k|    name = args[1];
  122|  1.99k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.99k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.99k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (122:9): [True: 0, False: 1.99k]
  ------------------
  123|      0|        PyErr_SetString(PyExc_TypeError,
  124|      0|                        "__build_class__: name is not a string");
  125|      0|        return NULL;
  126|      0|    }
  127|  1.99k|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  128|  1.99k|    if (orig_bases == NULL)
  ------------------
  |  Branch (128:9): [True: 0, False: 1.99k]
  ------------------
  129|      0|        return NULL;
  130|       |
  131|  1.99k|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  132|  1.99k|    if (bases == NULL) {
  ------------------
  |  Branch (132:9): [True: 0, False: 1.99k]
  ------------------
  133|      0|        Py_DECREF(orig_bases);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|      0|        return NULL;
  135|      0|    }
  136|       |
  137|  1.99k|    if (kwnames == NULL) {
  ------------------
  |  Branch (137:9): [True: 1.90k, False: 86]
  ------------------
  138|  1.90k|        meta = NULL;
  139|  1.90k|        mkw = NULL;
  140|  1.90k|    }
  141|     86|    else {
  142|     86|        mkw = _PyStack_AsDict(args + nargs, kwnames);
  143|     86|        if (mkw == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 86]
  ------------------
  144|      0|            goto error;
  145|      0|        }
  146|       |
  147|     86|        if (PyDict_Pop(mkw, &_Py_ID(metaclass), &meta) < 0) {
  ------------------
  |  |  919|     86|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     86|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     86|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (147:13): [True: 0, False: 86]
  ------------------
  148|      0|            goto error;
  149|      0|        }
  150|     86|        if (meta != NULL) {
  ------------------
  |  Branch (150:13): [True: 56, False: 30]
  ------------------
  151|       |            /* metaclass is explicitly given, check if it's indeed a class */
  152|     56|            isclass = PyType_Check(meta);
  ------------------
  |  |  766|     56|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|     56|        }
  154|     86|    }
  155|  1.99k|    if (meta == NULL) {
  ------------------
  |  Branch (155:9): [True: 1.93k, False: 56]
  ------------------
  156|       |        /* if there are no bases, use type: */
  157|  1.93k|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|  1.93k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (157:13): [True: 510, False: 1.42k]
  ------------------
  158|    510|            meta = (PyObject *) (&PyType_Type);
  159|    510|        }
  160|       |        /* else get the type of the first base */
  161|  1.42k|        else {
  162|  1.42k|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|  1.42k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.42k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  1.42k|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  213|  1.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  1.42k|        }
  165|  1.93k|        Py_INCREF(meta);
  ------------------
  |  |  310|  1.93k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  1.93k|        isclass = 1;  /* meta is really a class */
  167|  1.93k|    }
  168|       |
  169|  1.99k|    if (isclass) {
  ------------------
  |  Branch (169:9): [True: 1.99k, False: 0]
  ------------------
  170|       |        /* meta is really a class, so check for a more derived
  171|       |           metaclass, or possible metaclass conflicts: */
  172|  1.99k|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  173|  1.99k|                                                        bases);
  174|  1.99k|        if (winner == NULL) {
  ------------------
  |  Branch (174:13): [True: 0, False: 1.99k]
  ------------------
  175|      0|            goto error;
  176|      0|        }
  177|  1.99k|        if (winner != meta) {
  ------------------
  |  Branch (177:13): [True: 26, False: 1.96k]
  ------------------
  178|     26|            Py_SETREF(meta, Py_NewRef(winner));
  ------------------
  |  |  352|     26|    do { \
  |  |  353|     26|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     26|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     26|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     26|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     26|        *_tmp_dst_ptr = (src); \
  |  |  356|     26|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 26]
  |  |  ------------------
  ------------------
  179|     26|        }
  180|  1.99k|    }
  181|       |    /* else: meta is not a class, so we cannot do the metaclass
  182|       |       calculation, so we will use the explicitly given object as it is */
  183|  1.99k|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  919|  1.99k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.99k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.99k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (183:9): [True: 0, False: 1.99k]
  ------------------
  184|      0|        ns = NULL;
  185|      0|    }
  186|  1.99k|    else if (prep == NULL) {
  ------------------
  |  Branch (186:14): [True: 0, False: 1.99k]
  ------------------
  187|      0|        ns = PyDict_New();
  188|      0|    }
  189|  1.99k|    else {
  190|  1.99k|        PyObject *pargs[2] = {name, bases};
  191|  1.99k|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  192|  1.99k|        Py_DECREF(prep);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  1.99k|    }
  194|  1.99k|    if (ns == NULL) {
  ------------------
  |  Branch (194:9): [True: 0, False: 1.99k]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|  1.99k|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (197:9): [True: 0, False: 1.99k]
  ------------------
  198|      0|        PyErr_Format(PyExc_TypeError,
  199|      0|                     "%.200s.__prepare__() must return a mapping, not %.200s",
  200|      0|                     isclass ? ((PyTypeObject *)meta)->tp_name : "<metaclass>",
  ------------------
  |  Branch (200:22): [True: 0, False: 0]
  ------------------
  201|      0|                     Py_TYPE(ns)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      0|        goto error;
  203|      0|    }
  204|  1.99k|    PyThreadState *tstate = _PyThreadState_GET();
  205|  1.99k|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|  1.99k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  206|  1.99k|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  207|  1.99k|    if (cell != NULL) {
  ------------------
  |  Branch (207:9): [True: 1.99k, False: 0]
  ------------------
  208|  1.99k|        if (bases != orig_bases) {
  ------------------
  |  Branch (208:13): [True: 86, False: 1.90k]
  ------------------
  209|     86|            if (PyMapping_SetItemString(ns, "__orig_bases__", orig_bases) < 0) {
  ------------------
  |  Branch (209:17): [True: 0, False: 86]
  ------------------
  210|      0|                goto error;
  211|      0|            }
  212|     86|        }
  213|  1.99k|        PyObject *margs[3] = {name, bases, ns};
  214|  1.99k|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  215|  1.99k|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|  3.98k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.99k, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|  1.99k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|  1.99k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 378, False: 1.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:13): [True: 1.99k, False: 0]
  ------------------
  216|    378|            PyObject *cell_cls = PyCell_GetRef((PyCellObject *)cell);
  217|    378|            if (cell_cls != cls) {
  ------------------
  |  Branch (217:17): [True: 0, False: 378]
  ------------------
  218|      0|                if (cell_cls == NULL) {
  ------------------
  |  Branch (218:21): [True: 0, False: 0]
  ------------------
  219|      0|                    const char *msg =
  220|      0|                        "__class__ not set defining %.200R as %.200R. "
  221|      0|                        "Was __classcell__ propagated to type.__new__?";
  222|      0|                    PyErr_Format(PyExc_RuntimeError, msg, name, cls);
  223|      0|                } else {
  224|      0|                    const char *msg =
  225|      0|                        "__class__ set to %.200R defining %.200R as %.200R";
  226|      0|                    PyErr_Format(PyExc_TypeError, msg, cell_cls, name, cls);
  227|      0|                }
  228|      0|                Py_XDECREF(cell_cls);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|      0|                Py_SETREF(cls, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  230|      0|                goto error;
  231|      0|            }
  232|    378|            else {
  233|    378|                Py_DECREF(cell_cls);
  ------------------
  |  |  430|    378|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|    378|            }
  235|    378|        }
  236|  1.99k|    }
  237|  1.99k|error:
  238|  1.99k|    Py_XDECREF(cell);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|  1.99k|    Py_XDECREF(ns);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|  1.99k|    Py_XDECREF(meta);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  1.99k|    Py_XDECREF(mkw);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|  1.99k|    if (bases != orig_bases) {
  ------------------
  |  Branch (242:9): [True: 86, False: 1.90k]
  ------------------
  243|     86|        Py_DECREF(orig_bases);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|     86|    }
  245|  1.99k|    Py_DECREF(bases);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|  1.99k|    return cls;
  247|  1.99k|}
bltinmodule.c:update_bases:
   30|  1.99k|{
   31|  1.99k|    Py_ssize_t i, j;
   32|  1.99k|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   33|  1.99k|    assert(PyTuple_Check(bases));
   34|       |
   35|  3.62k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (35:17): [True: 1.63k, False: 1.99k]
  ------------------
   36|  1.63k|        base  = args[i];
   37|  1.63k|        if (PyType_Check(base)) {
  ------------------
  |  |  766|  1.63k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.54k, False: 88]
  |  |  ------------------
  ------------------
   38|  1.54k|            if (new_bases) {
  ------------------
  |  Branch (38:17): [True: 0, False: 1.54k]
  ------------------
   39|       |                /* If we already have made a replacement, then we append every normal base,
   40|       |                   otherwise just skip it. */
   41|      0|                if (PyList_Append(new_bases, base) < 0) {
  ------------------
  |  Branch (41:21): [True: 0, False: 0]
  ------------------
   42|      0|                    goto error;
   43|      0|                }
   44|      0|            }
   45|  1.54k|            continue;
   46|  1.54k|        }
   47|     88|        if (PyObject_GetOptionalAttr(base, &_Py_ID(__mro_entries__), &meth) < 0) {
  ------------------
  |  |  919|     88|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     88|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     88|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (47:13): [True: 0, False: 88]
  ------------------
   48|      0|            goto error;
   49|      0|        }
   50|     88|        if (!meth) {
  ------------------
  |  Branch (50:13): [True: 0, False: 88]
  ------------------
   51|      0|            if (new_bases) {
  ------------------
  |  Branch (51:17): [True: 0, False: 0]
  ------------------
   52|      0|                if (PyList_Append(new_bases, base) < 0) {
  ------------------
  |  Branch (52:21): [True: 0, False: 0]
  ------------------
   53|      0|                    goto error;
   54|      0|                }
   55|      0|            }
   56|      0|            continue;
   57|      0|        }
   58|     88|        new_base = PyObject_CallOneArg(meth, bases);
   59|     88|        Py_DECREF(meth);
  ------------------
  |  |  430|     88|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|     88|        if (!new_base) {
  ------------------
  |  Branch (60:13): [True: 0, False: 88]
  ------------------
   61|      0|            goto error;
   62|      0|        }
   63|     88|        if (!PyTuple_Check(new_base)) {
  ------------------
  |  |   27|     88|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     88|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (63:13): [True: 0, False: 88]
  ------------------
   64|      0|            PyErr_SetString(PyExc_TypeError,
   65|      0|                            "__mro_entries__ must return a tuple");
   66|      0|            Py_DECREF(new_base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|      0|            goto error;
   68|      0|        }
   69|     88|        if (!new_bases) {
  ------------------
  |  Branch (69:13): [True: 86, False: 2]
  ------------------
   70|       |            /* If this is a first successful replacement, create new_bases list and
   71|       |               copy previously encountered bases. */
   72|     86|            if (!(new_bases = PyList_New(i))) {
  ------------------
  |  Branch (72:17): [True: 0, False: 86]
  ------------------
   73|      0|                Py_DECREF(new_base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|      0|                goto error;
   75|      0|            }
   76|     90|            for (j = 0; j < i; j++) {
  ------------------
  |  Branch (76:25): [True: 4, False: 86]
  ------------------
   77|      4|                base = args[j];
   78|      4|                PyList_SET_ITEM(new_bases, j, Py_NewRef(base));
  ------------------
  |  |   50|      4|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      4|            }
   80|     86|        }
   81|     88|        j = PyList_GET_SIZE(new_bases);
  ------------------
  |  |   38|     88|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|     88|        if (PyList_SetSlice(new_bases, j, j, new_base) < 0) {
  ------------------
  |  Branch (82:13): [True: 0, False: 88]
  ------------------
   83|      0|            Py_DECREF(new_base);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|            goto error;
   85|      0|        }
   86|     88|        Py_DECREF(new_base);
  ------------------
  |  |  430|     88|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|     88|    }
   88|  1.99k|    if (!new_bases) {
  ------------------
  |  Branch (88:9): [True: 1.90k, False: 86]
  ------------------
   89|  1.90k|        return bases;
   90|  1.90k|    }
   91|     86|    result = PyList_AsTuple(new_bases);
   92|     86|    Py_DECREF(new_bases);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|     86|    return result;
   94|       |
   95|      0|error:
   96|      0|    Py_XDECREF(new_bases);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|       |    return NULL;
   98|  1.99k|}
bltinmodule.c:builtin___import___impl:
  285|  1.23k|{
  286|  1.23k|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  287|  1.23k|                                            fromlist, level);
  288|  1.23k|}
bltinmodule.c:builtin_abs:
  364|    990|{
  365|    990|    return PyNumber_Absolute(number);
  366|    990|}
bltinmodule.c:builtin_all:
  382|      8|{
  383|      8|    PyObject *it, *item;
  384|      8|    PyObject *(*iternext)(PyObject *);
  385|      8|    int cmp;
  386|       |
  387|      8|    it = PyObject_GetIter(iterable);
  388|      8|    if (it == NULL)
  ------------------
  |  Branch (388:9): [True: 0, False: 8]
  ------------------
  389|      0|        return NULL;
  390|      8|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|       |
  392|      8|    for (;;) {
  393|      8|        item = iternext(it);
  394|      8|        if (item == NULL)
  ------------------
  |  Branch (394:13): [True: 0, False: 8]
  ------------------
  395|      0|            break;
  396|      8|        cmp = PyObject_IsTrue(item);
  397|      8|        Py_DECREF(item);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|      8|        if (cmp < 0) {
  ------------------
  |  Branch (398:13): [True: 0, False: 8]
  ------------------
  399|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|      0|            return NULL;
  401|      0|        }
  402|      8|        if (cmp == 0) {
  ------------------
  |  Branch (402:13): [True: 8, False: 0]
  ------------------
  403|      8|            Py_DECREF(it);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      8|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      8|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      8|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|      8|        }
  406|      8|    }
  407|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (408:9): [True: 0, False: 0]
  ------------------
  409|      0|        if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (409:13): [True: 0, False: 0]
  ------------------
  410|      0|            PyErr_Clear();
  411|      0|        else
  412|      0|            return NULL;
  413|      0|    }
  414|      0|    Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|}
bltinmodule.c:builtin_any:
  431|      6|{
  432|      6|    PyObject *it, *item;
  433|      6|    PyObject *(*iternext)(PyObject *);
  434|      6|    int cmp;
  435|       |
  436|      6|    it = PyObject_GetIter(iterable);
  437|      6|    if (it == NULL)
  ------------------
  |  Branch (437:9): [True: 0, False: 6]
  ------------------
  438|      0|        return NULL;
  439|      6|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  440|       |
  441|      6|    for (;;) {
  442|      6|        item = iternext(it);
  443|      6|        if (item == NULL)
  ------------------
  |  Branch (443:13): [True: 0, False: 6]
  ------------------
  444|      0|            break;
  445|      6|        cmp = PyObject_IsTrue(item);
  446|      6|        Py_DECREF(item);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      6|        if (cmp < 0) {
  ------------------
  |  Branch (447:13): [True: 0, False: 6]
  ------------------
  448|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|      0|            return NULL;
  450|      0|        }
  451|      6|        if (cmp > 0) {
  ------------------
  |  Branch (451:13): [True: 6, False: 0]
  ------------------
  452|      6|            Py_DECREF(it);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      6|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      6|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      6|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|      6|        }
  455|      6|    }
  456|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (457:9): [True: 0, False: 0]
  ------------------
  458|      0|        if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (458:13): [True: 0, False: 0]
  ------------------
  459|      0|            PyErr_Clear();
  460|      0|        else
  461|      0|            return NULL;
  462|      0|    }
  463|      0|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|      0|}
bltinmodule.c:builtin_callable:
  523|  8.18k|{
  524|  8.18k|    return PyBool_FromLong((long)PyCallable_Check(obj));
  525|  8.18k|}
bltinmodule.c:builtin_chr:
  786|   169k|{
  787|   169k|    int overflow;
  788|   169k|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  789|   169k|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (789:9): [True: 0, False: 169k]
  |  Branch (789:20): [True: 0, False: 0]
  ------------------
  790|      0|        return NULL;
  791|      0|    }
  792|   169k|    if (overflow) {
  ------------------
  |  Branch (792:9): [True: 0, False: 169k]
  ------------------
  793|      0|        v = overflow < 0 ? INT_MIN : INT_MAX;
  ------------------
  |  Branch (793:13): [True: 0, False: 0]
  ------------------
  794|       |        /* Allow PyUnicode_FromOrdinal() to raise an exception */
  795|      0|    }
  796|   169k|#if SIZEOF_INT < SIZEOF_LONG
  797|   169k|    else if (v < INT_MIN) {
  ------------------
  |  Branch (797:14): [True: 0, False: 169k]
  ------------------
  798|      0|        v = INT_MIN;
  799|      0|    }
  800|   169k|    else if (v > INT_MAX) {
  ------------------
  |  Branch (800:14): [True: 0, False: 169k]
  ------------------
  801|       |        v = INT_MAX;
  802|      0|    }
  803|   169k|#endif
  804|   169k|    return PyUnicode_FromOrdinal(v);
  805|   169k|}
bltinmodule.c:builtin_compile_impl:
  842|  54.2k|{
  843|  54.2k|    PyObject *source_copy;
  844|  54.2k|    const char *str;
  845|  54.2k|    int compile_mode = -1;
  846|  54.2k|    int is_ast;
  847|  54.2k|    int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    9|  54.2k|#define Py_file_input 257
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   10|  54.2k|#define Py_eval_input 258
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    8|  54.2k|#define Py_single_input 256
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   11|  54.2k|#define Py_func_type_input 345
  ------------------
  848|  54.2k|    PyObject *result;
  849|       |
  850|  54.2k|    PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  54.2k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  54.2k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  851|  54.2k|    cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|  54.2k|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
  852|  54.2k|    if (feature_version >= 0 && (flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (852:9): [True: 0, False: 54.2k]
  |  Branch (852:33): [True: 0, False: 0]
  ------------------
  853|      0|        cf.cf_feature_version = feature_version;
  854|      0|    }
  855|       |
  856|  54.2k|    if (flags &
  ------------------
  |  Branch (856:9): [True: 0, False: 54.2k]
  ------------------
  857|  54.2k|        ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |    6|  54.2k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|  54.2k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|  54.2k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  54.2k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|  54.2k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|  54.2k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  54.2k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|  54.2k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|  54.2k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  54.2k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|  54.2k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|  54.2k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   10|  54.2k|#define PyCF_MASK_OBSOLETE (CO_NESTED)
  |  |  ------------------
  |  |  |  |  122|  54.2k|#define CO_NESTED       0x0010
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   23|  54.2k|#define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   17|  54.2k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  |  |               #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   20|  54.2k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  |  |  ------------------
  |  |   24|  54.2k|                           PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   19|  54.2k|#define PyCF_TYPE_COMMENTS 0x1000
  |  |  ------------------
  |  |                                          PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   16|  54.2k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  |  |  ------------------
  |  |   25|  54.2k|                           PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   21|  54.2k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  |  |  ------------------
  |  |                                          PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   22|  54.2k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|  54.2k|#define PyCF_ONLY_AST 0x0400
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|      0|    {
  859|      0|        PyErr_SetString(PyExc_ValueError,
  860|      0|                        "compile(): unrecognised flags");
  861|      0|        goto error;
  862|      0|    }
  863|       |    /* XXX Warn if (supplied_flags & PyCF_MASK_OBSOLETE) != 0? */
  864|       |
  865|  54.2k|    if (optimize < -1 || optimize > 2) {
  ------------------
  |  Branch (865:9): [True: 0, False: 54.2k]
  |  Branch (865:26): [True: 0, False: 54.2k]
  ------------------
  866|      0|        PyErr_SetString(PyExc_ValueError,
  867|      0|                        "compile(): invalid optimize value");
  868|      0|        goto error;
  869|      0|    }
  870|  54.2k|    if (modname == Py_None) {
  ------------------
  |  |  616|  54.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (870:9): [True: 54.2k, False: 0]
  ------------------
  871|  54.2k|        modname = NULL;
  872|  54.2k|    }
  873|      0|    else if (!PyUnicode_Check(modname)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (873:14): [True: 0, False: 0]
  ------------------
  874|      0|        PyErr_Format(PyExc_TypeError,
  875|      0|                     "compile() argument 'module' must be str or None, not %T",
  876|      0|                     modname);
  877|      0|        goto error;
  878|      0|    }
  879|       |
  880|  54.2k|    if (!dont_inherit) {
  ------------------
  |  Branch (880:9): [True: 54.2k, False: 0]
  ------------------
  881|  54.2k|        PyEval_MergeCompilerFlags(&cf);
  882|  54.2k|    }
  883|       |
  884|  54.2k|    if (strcmp(mode, "exec") == 0)
  ------------------
  |  Branch (884:9): [True: 54.1k, False: 16]
  ------------------
  885|  54.1k|        compile_mode = 0;
  886|     16|    else if (strcmp(mode, "eval") == 0)
  ------------------
  |  Branch (886:14): [True: 16, False: 0]
  ------------------
  887|     16|        compile_mode = 1;
  888|      0|    else if (strcmp(mode, "single") == 0)
  ------------------
  |  Branch (888:14): [True: 0, False: 0]
  ------------------
  889|      0|        compile_mode = 2;
  890|      0|    else if (strcmp(mode, "func_type") == 0) {
  ------------------
  |  Branch (890:14): [True: 0, False: 0]
  ------------------
  891|      0|        if (!(flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (891:13): [True: 0, False: 0]
  ------------------
  892|      0|            PyErr_SetString(PyExc_ValueError,
  893|      0|                            "compile() mode 'func_type' requires flag PyCF_ONLY_AST");
  894|      0|            goto error;
  895|      0|        }
  896|      0|        compile_mode = 3;
  897|      0|    }
  898|      0|    else {
  899|      0|        const char *msg;
  900|      0|        if (flags & PyCF_ONLY_AST)
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (900:13): [True: 0, False: 0]
  ------------------
  901|      0|            msg = "compile() mode must be 'exec', 'eval', 'single' or 'func_type'";
  902|      0|        else
  903|      0|            msg = "compile() mode must be 'exec', 'eval' or 'single'";
  904|      0|        PyErr_SetString(PyExc_ValueError, msg);
  905|      0|        goto error;
  906|      0|    }
  907|       |
  908|  54.2k|    is_ast = PyAST_Check(source);
  909|  54.2k|    if (is_ast == -1)
  ------------------
  |  Branch (909:9): [True: 0, False: 54.2k]
  ------------------
  910|      0|        goto error;
  911|  54.2k|    if (is_ast) {
  ------------------
  |  Branch (911:9): [True: 0, False: 54.2k]
  ------------------
  912|      0|        PyArena *arena = _PyArena_New();
  913|      0|        if (arena == NULL) {
  ------------------
  |  Branch (913:13): [True: 0, False: 0]
  ------------------
  914|      0|            goto error;
  915|      0|        }
  916|       |
  917|      0|        if (flags & PyCF_ONLY_AST) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (917:13): [True: 0, False: 0]
  ------------------
  918|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  919|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (919:17): [True: 0, False: 0]
  |  Branch (919:32): [True: 0, False: 0]
  ------------------
  920|      0|                _PyArena_Free(arena);
  921|      0|                goto error;
  922|      0|            }
  923|      0|            int syntax_check_only = ((flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|      0|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                          int syntax_check_only = ((flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  924|      0|            if (_PyCompile_AstPreprocess(mod, filename, &cf, optimize, arena,
  ------------------
  |  Branch (924:17): [True: 0, False: 0]
  ------------------
  925|      0|                                         syntax_check_only, modname) < 0)
  926|      0|            {
  927|      0|                _PyArena_Free(arena);
  928|      0|                goto error;
  929|      0|            }
  930|      0|            result = PyAST_mod2obj(mod);
  931|      0|        }
  932|      0|        else {
  933|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  934|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (934:17): [True: 0, False: 0]
  |  Branch (934:32): [True: 0, False: 0]
  ------------------
  935|      0|                _PyArena_Free(arena);
  936|      0|                goto error;
  937|      0|            }
  938|      0|            result = (PyObject*)_PyAST_Compile(mod, filename,
  939|      0|                                               &cf, optimize, arena, modname);
  940|      0|        }
  941|      0|        _PyArena_Free(arena);
  942|      0|        goto finally;
  943|      0|    }
  944|       |
  945|  54.2k|    str = _Py_SourceAsString(source, "compile", "string, bytes or AST", &cf, &source_copy);
  946|  54.2k|    if (str == NULL)
  ------------------
  |  Branch (946:9): [True: 0, False: 54.2k]
  ------------------
  947|      0|        goto error;
  948|       |
  949|       |#ifdef Py_GIL_DISABLED
  950|       |    // Disable immortalization of code constants for explicit
  951|       |    // compile() calls to get consistent frozen outputs between the default
  952|       |    // and free-threaded builds.
  953|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  954|       |    tstate->suppress_co_const_immortalization++;
  955|       |#endif
  956|       |
  957|  54.2k|    result = _Py_CompileStringObjectWithModule(str, filename,
  958|  54.2k|                                               start[compile_mode], &cf,
  959|  54.2k|                                               optimize, modname);
  960|       |
  961|       |#ifdef Py_GIL_DISABLED
  962|       |    tstate->suppress_co_const_immortalization--;
  963|       |#endif
  964|       |
  965|  54.2k|    Py_XDECREF(source_copy);
  ------------------
  |  |  524|  54.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|  54.2k|    goto finally;
  967|       |
  968|      0|error:
  969|      0|    result = NULL;
  970|  54.2k|finally:
  971|  54.2k|    return result;
  972|      0|}
bltinmodule.c:builtin_delattr_impl:
 1835|    486|{
 1836|    486|    if (PyObject_DelAttr(obj, name) < 0) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 486]
  ------------------
 1837|      0|        return NULL;
 1838|      0|    }
 1839|    486|    Py_RETURN_NONE;
  ------------------
  |  |  628|    486|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    486|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1840|    486|}
bltinmodule.c:builtin_dir:
  977|     16|{
  978|     16|    PyObject *arg = NULL;
  979|       |
  980|     16|    if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg))
  ------------------
  |  Branch (980:9): [True: 0, False: 16]
  ------------------
  981|      0|        return NULL;
  982|     16|    return PyObject_Dir(arg);
  983|     16|}
bltinmodule.c:builtin_divmod_impl:
 1012|  6.81k|{
 1013|  6.81k|    return PyNumber_Divmod(x, y);
 1014|  6.81k|}
bltinmodule.c:builtin_eval_impl:
 1038|     62|{
 1039|     62|    PyThreadState *tstate = _PyThreadState_GET();
 1040|     62|    PyObject *result = NULL, *source_copy;
 1041|     62|    const char *str;
 1042|       |
 1043|     62|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1043:9): [True: 0, False: 62]
  |  Branch (1043:30): [True: 0, False: 0]
  ------------------
 1044|      0|        PyErr_SetString(PyExc_TypeError, "locals must be a mapping");
 1045|      0|        return NULL;
 1046|      0|    }
 1047|     62|    if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     62|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     62|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    124|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 62, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1047:9): [True: 62, False: 0]
  ------------------
 1048|      0|        PyErr_SetString(PyExc_TypeError, PyMapping_Check(globals) ?
  ------------------
  |  Branch (1048:42): [True: 0, False: 0]
  ------------------
 1049|      0|            "globals must be a real dict or a frozendict; "
 1050|      0|            "try eval(expr, {}, mapping)"
 1051|      0|            : "globals must be a dict or a frozendict");
 1052|      0|        return NULL;
 1053|      0|    }
 1054|       |
 1055|     62|    int fromframe = 0;
 1056|     62|    if (globals != Py_None) {
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1056:9): [True: 62, False: 0]
  ------------------
 1057|     62|        Py_INCREF(globals);
  ------------------
  |  |  310|     62|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|     62|    }
 1059|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1059:14): [True: 0, False: 0]
  ------------------
 1060|      0|        fromframe = 1;
 1061|      0|        globals = PyEval_GetGlobals();
 1062|      0|        assert(globals != NULL);
 1063|      0|        Py_INCREF(globals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      0|    }
 1065|      0|    else {
 1066|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1067|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1067:13): [True: 0, False: 0]
  ------------------
 1068|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1068:17): [True: 0, False: 0]
  ------------------
 1069|      0|                PyErr_SetString(PyExc_TypeError,
 1070|      0|                    "eval must be given globals and locals "
 1071|      0|                    "when called without a frame");
 1072|      0|            }
 1073|      0|            return NULL;
 1074|      0|        }
 1075|      0|        Py_INCREF(globals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      0|    }
 1077|       |
 1078|     62|    if (locals != Py_None) {
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1078:9): [True: 0, False: 62]
  ------------------
 1079|      0|        Py_INCREF(locals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1080|      0|    }
 1081|     62|    else if (fromframe) {
  ------------------
  |  Branch (1081:14): [True: 0, False: 62]
  ------------------
 1082|      0|        locals = _PyEval_GetFrameLocals();
 1083|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1083:13): [True: 0, False: 0]
  ------------------
 1084|      0|            assert(PyErr_Occurred());
 1085|      0|            Py_DECREF(globals);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      0|            return NULL;
 1087|      0|        }
 1088|      0|    }
 1089|     62|    else {
 1090|     62|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|     62|    }
 1092|       |
 1093|     62|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1093:9): [True: 0, False: 62]
  ------------------
 1094|      0|        goto error;
 1095|      0|    }
 1096|       |
 1097|     62|    if (PyCode_Check(source)) {
  ------------------
  |  |  164|     62|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     62|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 62]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      0|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1098:13): [True: 0, False: 0]
  ------------------
 1099|      0|            goto error;
 1100|      0|        }
 1101|       |
 1102|      0|        if (PyCode_GetNumFree((PyCodeObject *)source) > 0) {
  ------------------
  |  Branch (1102:13): [True: 0, False: 0]
  ------------------
 1103|      0|            PyErr_SetString(PyExc_TypeError,
 1104|      0|                "code object passed to eval() may not contain free variables");
 1105|      0|            goto error;
 1106|      0|        }
 1107|      0|        result = PyEval_EvalCode(source, globals, locals);
 1108|      0|    }
 1109|     62|    else {
 1110|     62|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|     62|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|     62|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1111|     62|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|     62|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1112|     62|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1113|     62|        if (str == NULL)
  ------------------
  |  Branch (1113:13): [True: 0, False: 62]
  ------------------
 1114|      0|            goto error;
 1115|       |
 1116|     62|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1116:16): [True: 0, False: 62]
  |  Branch (1116:31): [True: 0, False: 62]
  ------------------
 1117|      0|            str++;
 1118|       |
 1119|     62|        (void)PyEval_MergeCompilerFlags(&cf);
 1120|       |#ifdef Py_GIL_DISABLED
 1121|       |        // Don't immortalize code constants for explicit eval() calls
 1122|       |        // to avoid memory leaks.
 1123|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1124|       |        tstate->suppress_co_const_immortalization++;
 1125|       |#endif
 1126|     62|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|     62|#define Py_eval_input 258
  ------------------
 1127|       |#ifdef Py_GIL_DISABLED
 1128|       |        tstate->suppress_co_const_immortalization--;
 1129|       |#endif
 1130|     62|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|     62|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|     62|    }
 1132|       |
 1133|     62|  error:
 1134|     62|    Py_XDECREF(globals);
  ------------------
  |  |  524|     62|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|     62|    Py_XDECREF(locals);
  ------------------
  |  |  524|     62|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|     62|    return result;
 1137|     62|}
bltinmodule.c:builtin_exec_impl:
 1164|    675|{
 1165|    675|    PyThreadState *tstate = _PyThreadState_GET();
 1166|    675|    PyObject *v;
 1167|       |
 1168|    675|    int fromframe = 0;
 1169|    675|    if (globals != Py_None) {
  ------------------
  |  |  616|    675|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1169:9): [True: 675, False: 0]
  ------------------
 1170|    675|        Py_INCREF(globals);
  ------------------
  |  |  310|    675|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    675|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    675|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1171|    675|    }
 1172|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1172:14): [True: 0, False: 0]
  ------------------
 1173|      0|        fromframe = 1;
 1174|      0|        globals = PyEval_GetGlobals();
 1175|      0|        assert(globals != NULL);
 1176|      0|        Py_INCREF(globals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      0|    }
 1178|      0|    else {
 1179|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1180|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1180:13): [True: 0, False: 0]
  ------------------
 1181|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1181:17): [True: 0, False: 0]
  ------------------
 1182|      0|                PyErr_SetString(PyExc_SystemError,
 1183|      0|                                "globals and locals cannot be NULL");
 1184|      0|            }
 1185|      0|            goto error;
 1186|      0|        }
 1187|      0|        Py_INCREF(globals);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|      0|    }
 1189|       |
 1190|    675|    if (locals != Py_None) {
  ------------------
  |  |  616|    675|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1190:9): [True: 46, False: 629]
  ------------------
 1191|     46|        Py_INCREF(locals);
  ------------------
  |  |  310|     46|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|     46|    }
 1193|    629|    else if (fromframe) {
  ------------------
  |  Branch (1193:14): [True: 0, False: 629]
  ------------------
 1194|      0|        locals = _PyEval_GetFrameLocals();
 1195|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1195:13): [True: 0, False: 0]
  ------------------
 1196|      0|            assert(PyErr_Occurred());
 1197|      0|            Py_DECREF(globals);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|      0|            return NULL;
 1199|      0|        }
 1200|      0|    }
 1201|    629|    else {
 1202|    629|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|    629|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    629|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|    629|    }
 1204|       |
 1205|    675|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    675|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    675|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.35k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 675, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|      0|        PyErr_Format(PyExc_TypeError,
 1207|      0|                     "exec() globals must be a dict or a frozendict, not %T",
 1208|      0|                     globals);
 1209|      0|        goto error;
 1210|      0|    }
 1211|    675|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1211:9): [True: 0, False: 675]
  ------------------
 1212|      0|        PyErr_Format(PyExc_TypeError,
 1213|      0|            "locals must be a mapping or None, not %.100s",
 1214|      0|            Py_TYPE(locals)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1215|      0|        goto error;
 1216|      0|    }
 1217|       |
 1218|    675|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1218:9): [True: 0, False: 675]
  ------------------
 1219|      0|        goto error;
 1220|      0|    }
 1221|       |
 1222|    675|    if (closure == Py_None) {
  ------------------
  |  |  616|    675|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1222:9): [True: 0, False: 675]
  ------------------
 1223|      0|        closure = NULL;
 1224|      0|    }
 1225|       |
 1226|    675|    if (PyCode_Check(source)) {
  ------------------
  |  |  164|    675|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|    675|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    675|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    675|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 540, False: 135]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|    540|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1228|    540|        if (num_free == 0) {
  ------------------
  |  Branch (1228:13): [True: 540, False: 0]
  ------------------
 1229|    540|            if (closure) {
  ------------------
  |  Branch (1229:17): [True: 0, False: 540]
  ------------------
 1230|      0|                PyErr_SetString(PyExc_TypeError,
 1231|      0|                    "cannot use a closure with this code object");
 1232|      0|                goto error;
 1233|      0|            }
 1234|    540|        } else {
 1235|      0|            int closure_is_ok =
 1236|      0|                closure
  ------------------
  |  Branch (1236:17): [True: 0, False: 0]
  ------------------
 1237|      0|                && PyTuple_CheckExact(closure)
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|      0|                && (PyTuple_GET_SIZE(closure) == num_free);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:20): [True: 0, False: 0]
  ------------------
 1239|      0|            if (closure_is_ok) {
  ------------------
  |  Branch (1239:17): [True: 0, False: 0]
  ------------------
 1240|      0|                for (Py_ssize_t i = 0; i < num_free; i++) {
  ------------------
  |  Branch (1240:40): [True: 0, False: 0]
  ------------------
 1241|      0|                    PyObject *cell = PyTuple_GET_ITEM(closure, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1242|      0|                    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|      0|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1242:25): [True: 0, False: 0]
  ------------------
 1243|      0|                        closure_is_ok = 0;
 1244|      0|                        break;
 1245|      0|                    }
 1246|      0|                }
 1247|      0|            }
 1248|      0|            if (!closure_is_ok) {
  ------------------
  |  Branch (1248:17): [True: 0, False: 0]
  ------------------
 1249|      0|                PyErr_Format(PyExc_TypeError,
 1250|      0|                    "code object requires a closure of exactly length %zd",
 1251|      0|                    num_free);
 1252|      0|                goto error;
 1253|      0|            }
 1254|      0|        }
 1255|       |
 1256|    540|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1256:13): [True: 0, False: 540]
  ------------------
 1257|      0|            goto error;
 1258|      0|        }
 1259|       |
 1260|    540|        if (!closure) {
  ------------------
  |  Branch (1260:13): [True: 540, False: 0]
  ------------------
 1261|    540|            v = PyEval_EvalCode(source, globals, locals);
 1262|    540|        } else {
 1263|      0|            v = PyEval_EvalCodeEx(source, globals, locals,
 1264|      0|                NULL, 0,
 1265|      0|                NULL, 0,
 1266|      0|                NULL, 0,
 1267|      0|                NULL,
 1268|      0|                closure);
 1269|      0|        }
 1270|    540|    }
 1271|    135|    else {
 1272|    135|        if (closure != NULL) {
  ------------------
  |  Branch (1272:13): [True: 0, False: 135]
  ------------------
 1273|      0|            PyErr_SetString(PyExc_TypeError,
 1274|      0|                "closure can only be used when source is a code object");
 1275|      0|            goto error;
 1276|      0|        }
 1277|    135|        PyObject *source_copy;
 1278|    135|        const char *str;
 1279|    135|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|    135|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|    135|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1280|    135|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|    135|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1281|    135|        str = _Py_SourceAsString(source, "exec",
 1282|    135|                                       "string, bytes or code", &cf,
 1283|    135|                                       &source_copy);
 1284|    135|        if (str == NULL)
  ------------------
  |  Branch (1284:13): [True: 0, False: 135]
  ------------------
 1285|      0|            goto error;
 1286|    135|        if (PyEval_MergeCompilerFlags(&cf))
  ------------------
  |  Branch (1286:13): [True: 135, False: 0]
  ------------------
 1287|    135|            v = PyRun_StringFlags(str, Py_file_input, globals,
  ------------------
  |  |    9|    135|#define Py_file_input 257
  ------------------
 1288|    135|                                  locals, &cf);
 1289|      0|        else
 1290|      0|            v = PyRun_String(str, Py_file_input, globals, locals);
  ------------------
  |  |   76|      0|#define PyRun_String(str, s, g, l) PyRun_StringFlags((str), (s), (g), (l), NULL)
  ------------------
 1291|    135|        Py_XDECREF(source_copy);
  ------------------
  |  |  524|    135|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|    135|    }
 1293|    675|    if (v == NULL)
  ------------------
  |  Branch (1293:9): [True: 4, False: 671]
  ------------------
 1294|      4|        goto error;
 1295|    671|    Py_DECREF(globals);
  ------------------
  |  |  430|    671|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    671|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    671|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|    671|    Py_DECREF(locals);
  ------------------
  |  |  430|    671|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    671|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    671|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|    671|    Py_DECREF(v);
  ------------------
  |  |  430|    671|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    671|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    671|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|    671|    Py_RETURN_NONE;
  ------------------
  |  |  628|    671|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    671|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1299|       |
 1300|      4|  error:
 1301|      4|    Py_XDECREF(globals);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|      4|    Py_XDECREF(locals);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|       |    return NULL;
 1304|    675|}
bltinmodule.c:builtin_getattr:
 1310|  5.46M|{
 1311|  5.46M|    PyObject *v, *name, *result;
 1312|       |
 1313|  5.46M|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   31|  5.46M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 5.46M, False: 0]
  |  |  |  Branch (31:27): [True: 5.46M, False: 0]
  |  |  ------------------
  |  |   32|  5.46M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1314|      0|        return NULL;
 1315|       |
 1316|  5.46M|    v = args[0];
 1317|  5.46M|    name = args[1];
 1318|  5.46M|    if (nargs > 2) {
  ------------------
  |  Branch (1318:9): [True: 293k, False: 5.17M]
  ------------------
 1319|   293k|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1319:13): [True: 81.3k, False: 211k]
  ------------------
 1320|  81.3k|            PyObject *dflt = args[2];
 1321|  81.3k|            return Py_NewRef(dflt);
  ------------------
  |  |  550|  81.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  81.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|  81.3k|        }
 1323|   293k|    }
 1324|  5.17M|    else {
 1325|  5.17M|        result = PyObject_GetAttr(v, name);
 1326|  5.17M|    }
 1327|  5.38M|    return result;
 1328|  5.46M|}
bltinmodule.c:builtin_globals_impl:
 1352|    100|{
 1353|    100|    PyObject *globals;
 1354|    100|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1354:9): [True: 100, False: 0]
  ------------------
 1355|    100|        globals = PyEval_GetGlobals();
 1356|    100|        assert(globals != NULL);
 1357|    100|        return Py_NewRef(globals);
  ------------------
  |  |  550|    100|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|    100|    }
 1359|      0|    PyThreadState *tstate = _PyThreadState_GET();
 1360|      0|    globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1361|      0|    if (globals == NULL) {
  ------------------
  |  Branch (1361:9): [True: 0, False: 0]
  ------------------
 1362|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1362:13): [True: 0, False: 0]
  ------------------
 1363|      0|            return NULL;
 1364|      0|        }
 1365|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1366|      0|    }
 1367|      0|    return Py_NewRef(globals);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      0|}
bltinmodule.c:builtin_hasattr_impl:
 1386|  1.72M|{
 1387|  1.72M|    PyObject *v;
 1388|       |
 1389|  1.72M|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1389:9): [True: 0, False: 1.72M]
  ------------------
 1390|      0|        return NULL;
 1391|      0|    }
 1392|  1.72M|    if (v == NULL) {
  ------------------
  |  Branch (1392:9): [True: 21.5k, False: 1.70M]
  ------------------
 1393|  21.5k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|  21.5k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  21.5k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|  21.5k|    }
 1395|  1.70M|    Py_DECREF(v);
  ------------------
  |  |  430|  1.70M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|  1.70M|    Py_RETURN_TRUE;
  ------------------
  |  |   44|  1.70M|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  1.70M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|  1.72M|}
bltinmodule.c:builtin_hash:
 1860|  99.0k|{
 1861|  99.0k|    Py_hash_t x;
 1862|       |
 1863|  99.0k|    x = PyObject_Hash(obj);
 1864|  99.0k|    if (x == -1)
  ------------------
  |  Branch (1864:9): [True: 0, False: 99.0k]
  ------------------
 1865|      0|        return NULL;
 1866|  99.0k|    return PyLong_FromSsize_t(x);
 1867|  99.0k|}
bltinmodule.c:builtin_id_impl:
 1420|    882|{
 1421|    882|    PyObject *id = PyLong_FromVoidPtr(v);
 1422|       |
 1423|    882|    if (id && PySys_Audit("builtins.id", "O", id) < 0) {
  ------------------
  |  Branch (1423:9): [True: 882, False: 0]
  |  Branch (1423:15): [True: 0, False: 882]
  ------------------
 1424|      0|        Py_DECREF(id);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|      0|        return NULL;
 1426|      0|    }
 1427|       |
 1428|    882|    return id;
 1429|    882|}
bltinmodule.c:builtin_isinstance_impl:
 3127|    507|{
 3128|    507|    int retval;
 3129|       |
 3130|    507|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3131|    507|    if (retval < 0)
  ------------------
  |  Branch (3131:9): [True: 0, False: 507]
  ------------------
 3132|      0|        return NULL;
 3133|    507|    return PyBool_FromLong(retval);
 3134|    507|}
bltinmodule.c:builtin_issubclass_impl:
 3155|  9.19k|{
 3156|  9.19k|    int retval;
 3157|       |
 3158|  9.19k|    retval = PyObject_IsSubclass(cls, class_or_tuple);
 3159|  9.19k|    if (retval < 0)
  ------------------
  |  Branch (3159:9): [True: 0, False: 9.19k]
  ------------------
 3160|      0|        return NULL;
 3161|  9.19k|    return PyBool_FromLong(retval);
 3162|  9.19k|}
bltinmodule.c:builtin_iter:
 1893|     70|{
 1894|     70|    PyObject *v;
 1895|       |
 1896|     70|    if (!_PyArg_CheckPositional("iter", nargs, 1, 2))
  ------------------
  |  |   31|     70|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 70, False: 0]
  |  |  |  Branch (31:27): [True: 70, False: 0]
  |  |  ------------------
  |  |   32|     70|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1897|      0|        return NULL;
 1898|     70|    v = args[0];
 1899|     70|    if (nargs == 1)
  ------------------
  |  Branch (1899:9): [True: 68, False: 2]
  ------------------
 1900|     68|        return PyObject_GetIter(v);
 1901|      2|    if (!PyCallable_Check(v)) {
  ------------------
  |  Branch (1901:9): [True: 0, False: 2]
  ------------------
 1902|      0|        PyErr_SetString(PyExc_TypeError,
 1903|      0|                        "iter(v, w): v must be callable");
 1904|      0|        return NULL;
 1905|      0|    }
 1906|      2|    PyObject *sentinel = args[1];
 1907|      2|    return PyCallIter_New(v, sentinel);
 1908|      2|}
bltinmodule.c:builtin_len:
 1994|    392|{
 1995|    392|    Py_ssize_t res;
 1996|       |
 1997|    392|    res = PyObject_Size(obj);
 1998|    392|    if (res < 0) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 392]
  ------------------
 1999|      0|        assert(PyErr_Occurred());
 2000|      0|        return NULL;
 2001|      0|    }
 2002|    392|    return PyLong_FromSsize_t(res);
 2003|    392|}
bltinmodule.c:builtin_locals_impl:
 2020|      4|{
 2021|      4|    PyObject *locals;
 2022|      4|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2022:9): [True: 4, False: 0]
  ------------------
 2023|      4|        locals = _PyEval_GetFrameLocals();
 2024|      4|        assert(locals != NULL || PyErr_Occurred());
 2025|      4|        return locals;
 2026|      4|    }
 2027|      0|    PyThreadState *tstate = _PyThreadState_GET();
 2028|      0|    locals = _PyEval_GetGlobalsFromRunningMain(tstate);
 2029|      0|    if (locals == NULL) {
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2030:13): [True: 0, False: 0]
  ------------------
 2031|      0|            return NULL;
 2032|      0|        }
 2033|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2034|      0|    }
 2035|      0|    return Py_NewRef(locals);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|      0|}
bltinmodule.c:builtin_max:
 2177|  1.24M|{
 2178|  1.24M|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|  1.24M|#define Py_GT 4
  ------------------
 2179|  1.24M|}
bltinmodule.c:min_max:
 2041|  1.35M|{
 2042|  1.35M|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 2043|  1.35M|    PyObject *defaultval = NULL;
 2044|  1.35M|    static const char * const keywords[] = {"key", "default", NULL};
 2045|  1.35M|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 2046|  1.35M|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 2047|  1.35M|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|  1.35M|#define Py_LT 0
  ------------------
  |  Branch (2047:24): [True: 105k, False: 1.24M]
  ------------------
 2048|  1.35M|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|  1.35M|#define Py_LT 0
  ------------------
  |  Branch (2048:30): [True: 105k, False: 1.24M]
  ------------------
 2049|       |
 2050|  1.35M|    if (nargs == 0) {
  ------------------
  |  Branch (2050:9): [True: 0, False: 1.35M]
  ------------------
 2051|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 2052|      0|        return NULL;
 2053|      0|    }
 2054|       |
 2055|  1.35M|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (2055:9): [True: 4.91k, False: 1.34M]
  |  Branch (2055:28): [True: 0, False: 4.91k]
  ------------------
 2056|  4.91k|                                                         &keyfunc, &defaultval)) {
 2057|      0|        return NULL;
 2058|      0|    }
 2059|       |
 2060|  1.35M|    const int positional = nargs > 1; // False iff nargs == 1
 2061|  1.35M|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (2061:9): [True: 1.34M, False: 5.43k]
  |  Branch (2061:23): [True: 0, False: 1.34M]
  ------------------
 2062|      0|        PyErr_Format(PyExc_TypeError,
 2063|      0|                        "Cannot specify a default for %s() with multiple "
 2064|      0|                        "positional arguments", name);
 2065|      0|        return NULL;
 2066|      0|    }
 2067|       |
 2068|  1.35M|    if (!positional) {
  ------------------
  |  Branch (2068:9): [True: 5.43k, False: 1.34M]
  ------------------
 2069|  5.43k|        it = PyObject_GetIter(args[0]);
 2070|  5.43k|        if (it == NULL) {
  ------------------
  |  Branch (2070:13): [True: 0, False: 5.43k]
  ------------------
 2071|      0|            return NULL;
 2072|      0|        }
 2073|  5.43k|    }
 2074|       |
 2075|  1.35M|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|  1.35M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2075:9): [True: 0, False: 1.35M]
  ------------------
 2076|      0|        keyfunc = NULL;
 2077|      0|    }
 2078|       |
 2079|  1.35M|    maxitem = NULL; /* the result */
 2080|  1.35M|    maxval = NULL;  /* the value associated with the result */
 2081|  4.05M|    while (1) {
  ------------------
  |  Branch (2081:12): [True: 4.05M, Folded]
  ------------------
 2082|  4.05M|        if (it == NULL) {
  ------------------
  |  Branch (2082:13): [True: 4.04M, False: 16.1k]
  ------------------
 2083|  4.04M|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2083:17): [True: 1.34M, False: 2.69M]
  ------------------
 2084|  1.34M|                break;
 2085|  1.34M|            }
 2086|  2.69M|            item = *args++;
 2087|  2.69M|            Py_INCREF(item);
  ------------------
  |  |  310|  2.69M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|  2.69M|        }
 2089|  16.1k|        else {
 2090|  16.1k|            item = PyIter_Next(it);
 2091|  16.1k|            if (item == NULL) {
  ------------------
  |  Branch (2091:17): [True: 5.43k, False: 10.7k]
  ------------------
 2092|  5.43k|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2092:21): [True: 0, False: 5.43k]
  ------------------
 2093|      0|                    goto Fail_it;
 2094|      0|                }
 2095|  5.43k|                break;
 2096|  5.43k|            }
 2097|  16.1k|        }
 2098|       |
 2099|       |        /* get the value from the key function */
 2100|  2.70M|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2100:13): [True: 9.46k, False: 2.69M]
  ------------------
 2101|  9.46k|            val = PyObject_CallOneArg(keyfunc, item);
 2102|  9.46k|            if (val == NULL)
  ------------------
  |  Branch (2102:17): [True: 0, False: 9.46k]
  ------------------
 2103|      0|                goto Fail_it_item;
 2104|  9.46k|        }
 2105|       |        /* no key function; the value is the item */
 2106|  2.69M|        else {
 2107|  2.69M|            val = Py_NewRef(item);
  ------------------
  |  |  550|  2.69M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|  2.69M|        }
 2109|       |
 2110|       |        /* maximum value and item are unset; set them */
 2111|  2.70M|        if (maxval == NULL) {
  ------------------
  |  Branch (2111:13): [True: 1.35M, False: 1.35M]
  ------------------
 2112|  1.35M|            maxitem = item;
 2113|  1.35M|            maxval = val;
 2114|  1.35M|        }
 2115|       |        /* maximum value and item are set; update them as necessary */
 2116|  1.35M|        else {
 2117|  1.35M|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2118|  1.35M|            if (cmp < 0)
  ------------------
  |  Branch (2118:17): [True: 0, False: 1.35M]
  ------------------
 2119|      0|                goto Fail_it_item_and_val;
 2120|  1.35M|            else if (cmp > 0) {
  ------------------
  |  Branch (2120:22): [True: 1.24M, False: 110k]
  ------------------
 2121|  1.24M|                Py_DECREF(maxval);
  ------------------
  |  |  430|  1.24M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|  1.24M|                Py_DECREF(maxitem);
  ------------------
  |  |  430|  1.24M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|  1.24M|                maxval = val;
 2124|  1.24M|                maxitem = item;
 2125|  1.24M|            }
 2126|   110k|            else {
 2127|   110k|                Py_DECREF(item);
  ------------------
  |  |  430|   110k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|   110k|                Py_DECREF(val);
  ------------------
  |  |  430|   110k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|   110k|            }
 2130|  1.35M|        }
 2131|  2.70M|    }
 2132|  1.35M|    if (maxval == NULL) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 1.35M]
  ------------------
 2133|      0|        assert(maxitem == NULL);
 2134|      0|        if (defaultval != NULL) {
  ------------------
  |  Branch (2134:13): [True: 0, False: 0]
  ------------------
 2135|      0|            maxitem = Py_NewRef(defaultval);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2136|      0|        } else {
 2137|      0|            PyErr_Format(PyExc_ValueError,
 2138|      0|                         "%s() iterable argument is empty", name);
 2139|      0|        }
 2140|      0|    }
 2141|  1.35M|    else
 2142|  1.35M|        Py_DECREF(maxval);
  ------------------
  |  |  430|  1.35M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|  1.35M|    Py_XDECREF(it);
  ------------------
  |  |  524|  1.35M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|  1.35M|    return maxitem;
 2145|       |
 2146|      0|Fail_it_item_and_val:
 2147|      0|    Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|      0|Fail_it_item:
 2149|      0|    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|      0|Fail_it:
 2151|      0|    Py_XDECREF(maxval);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|      0|    Py_XDECREF(maxitem);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|      0|    Py_XDECREF(it);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2154|       |    return NULL;
 2155|      0|}
bltinmodule.c:builtin_min:
 2160|   105k|{
 2161|   105k|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|   105k|#define Py_LT 0
  ------------------
 2162|   105k|}
bltinmodule.c:builtin_next:
 1756|  23.6k|{
 1757|  23.6k|    PyObject *it, *res;
 1758|       |
 1759|  23.6k|    if (!_PyArg_CheckPositional("next", nargs, 1, 2))
  ------------------
  |  |   31|  23.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 23.6k, False: 0]
  |  |  |  Branch (31:27): [True: 23.6k, False: 0]
  |  |  ------------------
  |  |   32|  23.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1760|      0|        return NULL;
 1761|       |
 1762|  23.6k|    it = args[0];
 1763|  23.6k|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 23.6k]
  ------------------
 1764|      0|        PyErr_Format(PyExc_TypeError,
 1765|      0|            "'%.200s' object is not an iterator",
 1766|      0|            Py_TYPE(it)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      0|        return NULL;
 1768|      0|    }
 1769|       |
 1770|  23.6k|    res = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  23.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1771|  23.6k|    if (res != NULL) {
  ------------------
  |  Branch (1771:9): [True: 23.4k, False: 158]
  ------------------
 1772|  23.4k|        return res;
 1773|  23.4k|    } else if (nargs > 1) {
  ------------------
  |  Branch (1773:16): [True: 2, False: 156]
  ------------------
 1774|      2|        PyObject *def = args[1];
 1775|      2|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1775:13): [True: 0, False: 2]
  ------------------
 1776|      0|            if(!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1776:16): [True: 0, False: 0]
  ------------------
 1777|      0|                return NULL;
 1778|      0|            PyErr_Clear();
 1779|      0|        }
 1780|      2|        return Py_NewRef(def);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1781|    156|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1781:16): [True: 0, False: 156]
  ------------------
 1782|      0|        return NULL;
 1783|    156|    } else {
 1784|    156|        PyErr_SetNone(PyExc_StopIteration);
 1785|       |        return NULL;
 1786|    156|    }
 1787|  23.6k|}
bltinmodule.c:builtin_ord:
 2229|  2.31k|{
 2230|  2.31k|    long ord;
 2231|  2.31k|    Py_ssize_t size;
 2232|       |
 2233|  2.31k|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|  2.31k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.31k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 2.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2234|      0|        size = PyBytes_GET_SIZE(c);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|      0|        if (size == 1) {
  ------------------
  |  Branch (2235:13): [True: 0, False: 0]
  ------------------
 2236|      0|            ord = (long)((unsigned char)*PyBytes_AS_STRING(c));
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|      0|            return PyLong_FromLong(ord);
 2238|      0|        }
 2239|      0|    }
 2240|  2.31k|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|  2.31k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.31k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.31k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2241|  2.31k|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  299|  2.31k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|  2.31k|        if (size == 1) {
  ------------------
  |  Branch (2242:13): [True: 2.31k, False: 0]
  ------------------
 2243|  2.31k|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  381|  2.31k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|  2.31k|            return PyLong_FromLong(ord);
 2245|  2.31k|        }
 2246|  2.31k|    }
 2247|      0|    else if (PyByteArray_Check(c)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|       |        /* XXX Hopefully this is temporary */
 2249|      0|        size = PyByteArray_GET_SIZE(c);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2250|      0|        if (size == 1) {
  ------------------
  |  Branch (2250:13): [True: 0, False: 0]
  ------------------
 2251|      0|            ord = (long)((unsigned char)*PyByteArray_AS_STRING(c));
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|      0|            return PyLong_FromLong(ord);
 2253|      0|        }
 2254|      0|    }
 2255|      0|    else {
 2256|      0|        PyErr_Format(PyExc_TypeError,
 2257|      0|                     "ord() expected string of length 1, but " \
 2258|      0|                     "%.200s found", Py_TYPE(c)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|        return NULL;
 2260|      0|    }
 2261|       |
 2262|      0|    PyErr_Format(PyExc_TypeError,
 2263|      0|                 "ord() expected a character, "
 2264|      0|                 "but string of length %zd found",
 2265|      0|                 size);
 2266|       |    return NULL;
 2267|  2.31k|}
bltinmodule.c:builtin_pow_impl:
 2288|      2|{
 2289|      2|    return PyNumber_Power(base, exp, mod);
 2290|      2|}
bltinmodule.c:builtin_repr:
 2670|  60.8k|{
 2671|  60.8k|    return PyObject_Repr(obj);
 2672|  60.8k|}
bltinmodule.c:builtin_setattr_impl:
 1813|   789k|{
 1814|   789k|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1814:9): [True: 0, False: 789k]
  ------------------
 1815|      0|        return NULL;
 1816|   789k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   789k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   789k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1817|   789k|}
bltinmodule.c:builtin_sorted:
 2740|  1.21M|{
 2741|  1.21M|    PyObject *newlist, *v, *seq, *callable;
 2742|       |
 2743|       |    /* Keyword arguments are passed through list.sort() which will check
 2744|       |       them. */
 2745|  1.21M|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2745:9): [True: 0, False: 1.21M]
  ------------------
 2746|      0|        return NULL;
 2747|       |
 2748|  1.21M|    newlist = PySequence_List(seq);
 2749|  1.21M|    if (newlist == NULL)
  ------------------
  |  Branch (2749:9): [True: 0, False: 1.21M]
  ------------------
 2750|      0|        return NULL;
 2751|       |
 2752|  1.21M|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  919|  1.21M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.21M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.21M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2753|  1.21M|    if (callable == NULL) {
  ------------------
  |  Branch (2753:9): [True: 0, False: 1.21M]
  ------------------
 2754|      0|        Py_DECREF(newlist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|      0|        return NULL;
 2756|      0|    }
 2757|       |
 2758|  1.21M|    assert(nargs >= 1);
 2759|  1.21M|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2760|  1.21M|    Py_DECREF(callable);
  ------------------
  |  |  430|  1.21M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2761|  1.21M|    if (v == NULL) {
  ------------------
  |  Branch (2761:9): [True: 0, False: 1.21M]
  ------------------
 2762|      0|        Py_DECREF(newlist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2763|      0|        return NULL;
 2764|      0|    }
 2765|  1.21M|    Py_DECREF(v);
  ------------------
  |  |  430|  1.21M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2766|  1.21M|    return newlist;
 2767|  1.21M|}
bltinmodule.c:builtin_sum_impl:
 2874|  87.5k|{
 2875|  87.5k|    PyObject *result = start;
 2876|  87.5k|    PyObject *temp, *item, *iter;
 2877|       |
 2878|  87.5k|    iter = PyObject_GetIter(iterable);
 2879|  87.5k|    if (iter == NULL)
  ------------------
  |  Branch (2879:9): [True: 0, False: 87.5k]
  ------------------
 2880|      0|        return NULL;
 2881|       |
 2882|  87.5k|    if (result == NULL) {
  ------------------
  |  Branch (2882:9): [True: 87.4k, False: 76]
  ------------------
 2883|  87.4k|        result = PyLong_FromLong(0);
 2884|  87.4k|        if (result == NULL) {
  ------------------
  |  Branch (2884:13): [True: 0, False: 87.4k]
  ------------------
 2885|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|      0|            return NULL;
 2887|      0|        }
 2888|  87.4k|    } else {
 2889|       |        /* reject string values for 'start' parameter */
 2890|     76|        if (PyUnicode_Check(result)) {
  ------------------
  |  |  103|     76|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2891|      0|            PyErr_SetString(PyExc_TypeError,
 2892|      0|                "sum() can't sum strings [use ''.join(seq) instead]");
 2893|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2894|      0|            return NULL;
 2895|      0|        }
 2896|     76|        if (PyBytes_Check(result)) {
  ------------------
  |  |   28|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|      0|            PyErr_SetString(PyExc_TypeError,
 2898|      0|                "sum() can't sum bytes [use b''.join(seq) instead]");
 2899|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|      0|            return NULL;
 2901|      0|        }
 2902|     76|        if (PyByteArray_Check(result)) {
  ------------------
  |  |   24|     76|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     76|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|      0|            PyErr_SetString(PyExc_TypeError,
 2904|      0|                "sum() can't sum bytearray [use b''.join(seq) instead]");
 2905|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|      0|            return NULL;
 2907|      0|        }
 2908|     76|        Py_INCREF(result);
  ------------------
  |  |  310|     76|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2909|     76|    }
 2910|       |
 2911|  87.5k|#ifndef SLOW_SUM
 2912|       |    /* Fast addition by keeping temporary sums in C instead of new Python objects.
 2913|       |       Assumes all inputs are the same type.  If the assumption fails, default
 2914|       |       to the more general routine.
 2915|       |    */
 2916|  87.5k|    if (PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  87.5k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  87.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  87.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  87.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 87.4k, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|  87.4k|        int overflow;
 2918|  87.4k|        Py_ssize_t i_result = PyLong_AsLongAndOverflow(result, &overflow);
 2919|       |        /* If this already overflowed, don't even enter the loop. */
 2920|  87.4k|        if (overflow == 0) {
  ------------------
  |  Branch (2920:13): [True: 87.4k, False: 0]
  ------------------
 2921|  87.4k|            Py_SETREF(result, NULL);
  ------------------
  |  |  352|  87.4k|    do { \
  |  |  353|  87.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  87.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  87.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  87.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  87.4k|        *_tmp_dst_ptr = (src); \
  |  |  356|  87.4k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  87.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  87.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  87.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  87.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 87.4k]
  |  |  ------------------
  ------------------
 2922|  87.4k|        }
 2923|  13.8M|        while(result == NULL) {
  ------------------
  |  Branch (2923:15): [True: 13.8M, False: 60.2k]
  ------------------
 2924|  13.8M|            item = PyIter_Next(iter);
 2925|  13.8M|            if (item == NULL) {
  ------------------
  |  Branch (2925:17): [True: 27.2k, False: 13.7M]
  ------------------
 2926|  27.2k|                Py_DECREF(iter);
  ------------------
  |  |  430|  27.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2927|  27.2k|                if (PyErr_Occurred())
  ------------------
  |  Branch (2927:21): [True: 0, False: 27.2k]
  ------------------
 2928|      0|                    return NULL;
 2929|  27.2k|                return PyLong_FromSsize_t(i_result);
 2930|  27.2k|            }
 2931|  13.7M|            if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   14|  13.7M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  27.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13.7M, False: 60.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   12|  60.2k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  60.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 60.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|  13.7M|                Py_ssize_t b;
 2933|  13.7M|                overflow = 0;
 2934|       |                /* Single digits are common, fast, and cannot overflow on unpacking. */
 2935|  13.7M|                if (_PyLong_IsCompact((PyLongObject *)item)) {
  ------------------
  |  Branch (2935:21): [True: 13.7M, False: 0]
  ------------------
 2936|  13.7M|                    b = _PyLong_CompactValue((PyLongObject *)item);
 2937|  13.7M|                }
 2938|      0|                else {
 2939|      0|                    b = PyLong_AsLongAndOverflow(item, &overflow);
 2940|      0|                }
 2941|  13.7M|                if (overflow == 0 &&
  ------------------
  |  Branch (2941:21): [True: 13.7M, False: 0]
  ------------------
 2942|  13.7M|                    (i_result >= 0 ? (b <= PY_SSIZE_T_MAX - i_result)
  ------------------
  |  |  137|  13.3M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2942:21): [True: 13.7M, False: 0]
  |  Branch (2942:22): [True: 13.3M, False: 320k]
  ------------------
 2943|  13.7M|                                   : (b >= PY_SSIZE_T_MIN - i_result)))
  ------------------
  |  |  146|   320k|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|   320k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2944|  13.7M|                {
 2945|  13.7M|                    i_result += b;
 2946|  13.7M|                    Py_DECREF(item);
  ------------------
  |  |  430|  13.7M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|  13.7M|                    continue;
 2948|  13.7M|                }
 2949|  13.7M|            }
 2950|       |            /* Either overflowed or is not an int. Restore real objects and process normally */
 2951|  60.2k|            result = PyLong_FromSsize_t(i_result);
 2952|  60.2k|            if (result == NULL) {
  ------------------
  |  Branch (2952:17): [True: 0, False: 60.2k]
  ------------------
 2953|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|      0|                return NULL;
 2956|      0|            }
 2957|  60.2k|            temp = PyNumber_Add(result, item);
 2958|  60.2k|            Py_DECREF(result);
  ------------------
  |  |  430|  60.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2959|  60.2k|            Py_DECREF(item);
  ------------------
  |  |  430|  60.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|  60.2k|            result = temp;
 2961|  60.2k|            if (result == NULL) {
  ------------------
  |  Branch (2961:17): [True: 0, False: 60.2k]
  ------------------
 2962|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|      0|                return NULL;
 2964|      0|            }
 2965|  60.2k|        }
 2966|  87.4k|    }
 2967|       |
 2968|  60.3k|    if (PyFloat_CheckExact(result)) {
  ------------------
  |  |   17|  60.3k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  60.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 60.2k, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|  60.2k|        CompensatedSum re_sum = cs_from_double(PyFloat_AS_DOUBLE(result));
  ------------------
  |  |   18|  60.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|  60.2k|        Py_SETREF(result, NULL);
  ------------------
  |  |  352|  60.2k|    do { \
  |  |  353|  60.2k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  60.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  60.2k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  60.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  60.2k|        *_tmp_dst_ptr = (src); \
  |  |  356|  60.2k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  60.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  60.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 60.2k]
  |  |  ------------------
  ------------------
 2971|   240k|        while(result == NULL) {
  ------------------
  |  Branch (2971:15): [True: 240k, False: 0]
  ------------------
 2972|   240k|            item = PyIter_Next(iter);
 2973|   240k|            if (item == NULL) {
  ------------------
  |  Branch (2973:17): [True: 60.2k, False: 180k]
  ------------------
 2974|  60.2k|                Py_DECREF(iter);
  ------------------
  |  |  430|  60.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|  60.2k|                if (PyErr_Occurred())
  ------------------
  |  Branch (2975:21): [True: 0, False: 60.2k]
  ------------------
 2976|      0|                    return NULL;
 2977|  60.2k|                return PyFloat_FromDouble(cs_to_double(re_sum));
 2978|  60.2k|            }
 2979|   180k|            if (PyFloat_CheckExact(item)) {
  ------------------
  |  |   17|   180k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   180k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 180k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|   180k|                re_sum = cs_add(re_sum, PyFloat_AS_DOUBLE(item));
  ------------------
  |  |   18|   180k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|   180k|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 2982|   180k|                continue;
 2983|   180k|            }
 2984|      0|            if (PyLong_Check(item)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|      0|                double value = PyLong_AsDouble(item);
 2986|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (2986:21): [True: 0, False: 0]
  |  Branch (2986:38): [True: 0, False: 0]
  ------------------
 2987|      0|                    re_sum = cs_add(re_sum, value);
 2988|      0|                    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2989|      0|                    continue;
 2990|      0|                }
 2991|      0|                else {
 2992|      0|                    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      0|                    Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|      0|                    return NULL;
 2995|      0|                }
 2996|      0|            }
 2997|      0|            result = PyFloat_FromDouble(cs_to_double(re_sum));
 2998|      0|            if (result == NULL) {
  ------------------
  |  Branch (2998:17): [True: 0, False: 0]
  ------------------
 2999|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3000|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3001|      0|                return NULL;
 3002|      0|            }
 3003|      0|            temp = PyNumber_Add(result, item);
 3004|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3005|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|      0|            result = temp;
 3007|      0|            if (result == NULL) {
  ------------------
  |  Branch (3007:17): [True: 0, False: 0]
  ------------------
 3008|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|      0|                return NULL;
 3010|      0|            }
 3011|      0|        }
 3012|  60.2k|    }
 3013|       |
 3014|     76|    if (PyComplex_CheckExact(result)) {
  ------------------
  |  |   14|     76|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|     76|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|        Py_complex z = PyComplex_AsCComplex(result);
 3016|      0|        CompensatedSum re_sum = cs_from_double(z.real);
 3017|      0|        CompensatedSum im_sum = cs_from_double(z.imag);
 3018|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3019|      0|        while (result == NULL) {
  ------------------
  |  Branch (3019:16): [True: 0, False: 0]
  ------------------
 3020|      0|            item = PyIter_Next(iter);
 3021|      0|            if (item == NULL) {
  ------------------
  |  Branch (3021:17): [True: 0, False: 0]
  ------------------
 3022|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (3023:21): [True: 0, False: 0]
  ------------------
 3024|      0|                    return NULL;
 3025|      0|                }
 3026|      0|                return PyComplex_FromDoubles(cs_to_double(re_sum),
 3027|      0|                                             cs_to_double(im_sum));
 3028|      0|            }
 3029|      0|            if (PyComplex_CheckExact(item)) {
  ------------------
  |  |   14|      0|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3030|      0|                z = PyComplex_AsCComplex(item);
 3031|      0|                re_sum = cs_add(re_sum, z.real);
 3032|      0|                im_sum = cs_add(im_sum, z.imag);
 3033|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3034|      0|                continue;
 3035|      0|            }
 3036|      0|            if (PyLong_Check(item)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3037|      0|                double value = PyLong_AsDouble(item);
 3038|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (3038:21): [True: 0, False: 0]
  |  Branch (3038:38): [True: 0, False: 0]
  ------------------
 3039|      0|                    re_sum = cs_add(re_sum, value);
 3040|      0|                    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3041|      0|                    continue;
 3042|      0|                }
 3043|      0|                else {
 3044|      0|                    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3045|      0|                    Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      0|                    return NULL;
 3047|      0|                }
 3048|      0|            }
 3049|      0|            if (PyFloat_Check(item)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3050|      0|                double value = PyFloat_AS_DOUBLE(item);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      0|                re_sum = cs_add(re_sum, value);
 3052|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 3053|      0|                continue;
 3054|      0|            }
 3055|      0|            result = PyComplex_FromDoubles(cs_to_double(re_sum),
 3056|      0|                                           cs_to_double(im_sum));
 3057|      0|            if (result == NULL) {
  ------------------
  |  Branch (3057:17): [True: 0, False: 0]
  ------------------
 3058|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3059|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3060|      0|                return NULL;
 3061|      0|            }
 3062|      0|            temp = PyNumber_Add(result, item);
 3063|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3064|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3065|      0|            result = temp;
 3066|      0|            if (result == NULL) {
  ------------------
  |  Branch (3066:17): [True: 0, False: 0]
  ------------------
 3067|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|      0|                return NULL;
 3069|      0|            }
 3070|      0|        }
 3071|      0|    }
 3072|     76|#endif
 3073|       |
 3074|  8.38k|    for(;;) {
 3075|  8.38k|        item = PyIter_Next(iter);
 3076|  8.38k|        if (item == NULL) {
  ------------------
  |  Branch (3076:13): [True: 76, False: 8.30k]
  ------------------
 3077|       |            /* error, or end-of-sequence */
 3078|     76|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (3078:17): [True: 0, False: 76]
  ------------------
 3079|      0|                Py_SETREF(result, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3080|      0|            }
 3081|     76|            break;
 3082|     76|        }
 3083|       |        /* It's tempting to use PyNumber_InPlaceAdd instead of
 3084|       |           PyNumber_Add here, to avoid quadratic running time
 3085|       |           when doing 'sum(list_of_lists, [])'.  However, this
 3086|       |           would produce a change in behaviour: a snippet like
 3087|       |
 3088|       |             empty = []
 3089|       |             sum([[x] for x in range(10)], empty)
 3090|       |
 3091|       |           would change the value of empty. In fact, using
 3092|       |           in-place addition rather that binary addition for
 3093|       |           any of the steps introduces subtle behavior changes:
 3094|       |
 3095|       |           https://bugs.python.org/issue18305 */
 3096|  8.30k|        temp = PyNumber_Add(result, item);
 3097|  8.30k|        Py_DECREF(result);
  ------------------
  |  |  430|  8.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3098|  8.30k|        Py_DECREF(item);
  ------------------
  |  |  430|  8.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3099|  8.30k|        result = temp;
 3100|  8.30k|        if (result == NULL)
  ------------------
  |  Branch (3100:13): [True: 0, False: 8.30k]
  ------------------
 3101|      0|            break;
 3102|  8.30k|    }
 3103|     76|    Py_DECREF(iter);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|     76|    return result;
 3105|     76|}
bltinmodule.c:cs_from_double:
 2827|  60.2k|{
 2828|  60.2k|    return (CompensatedSum) {x};
 2829|  60.2k|}
bltinmodule.c:cs_to_double:
 2846|  60.2k|{
 2847|       |    /* Avoid losing the sign on a negative result,
 2848|       |       and don't let adding the compensation convert
 2849|       |       an infinite or overflowed sum to a NaN. */
 2850|  60.2k|    if (total.lo && isfinite(total.lo)) {
  ------------------
  |  Branch (2850:9): [True: 0, False: 60.2k]
  |  Branch (2850:21): [True: 0, False: 0]
  ------------------
 2851|      0|        return total.hi + total.lo;
 2852|      0|    }
 2853|  60.2k|    return total.hi;
 2854|  60.2k|}
bltinmodule.c:cs_add:
 2833|   180k|{
 2834|   180k|    double t = total.hi + x;
 2835|   180k|    if (fabs(total.hi) >= fabs(x)) {
  ------------------
  |  Branch (2835:9): [True: 180k, False: 0]
  ------------------
 2836|   180k|        total.lo += (total.hi - t) + x;
 2837|   180k|    }
 2838|      0|    else {
 2839|      0|        total.lo += (x - t) + total.hi;
 2840|      0|    }
 2841|   180k|    return (CompensatedSum) {t, total.lo};
 2842|   180k|}
bltinmodule.c:builtin_vars:
 2773|     28|{
 2774|     28|    PyObject *v = NULL;
 2775|     28|    PyObject *d;
 2776|       |
 2777|     28|    if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v))
  ------------------
  |  Branch (2777:9): [True: 0, False: 28]
  ------------------
 2778|      0|        return NULL;
 2779|     28|    if (v == NULL) {
  ------------------
  |  Branch (2779:9): [True: 2, False: 26]
  ------------------
 2780|      2|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2780:13): [True: 2, False: 0]
  ------------------
 2781|      2|            d = _PyEval_GetFrameLocals();
 2782|      2|        }
 2783|      0|        else {
 2784|      0|            PyThreadState *tstate = _PyThreadState_GET();
 2785|      0|            d = _PyEval_GetGlobalsFromRunningMain(tstate);
 2786|      0|            if (d == NULL) {
  ------------------
  |  Branch (2786:17): [True: 0, False: 0]
  ------------------
 2787|      0|                if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2787:21): [True: 0, False: 0]
  ------------------
 2788|      0|                    d = _PyEval_GetFrameLocals();
 2789|      0|                    assert(_PyErr_Occurred(tstate));
 2790|      0|                }
 2791|      0|            }
 2792|      0|            else {
 2793|      0|                Py_INCREF(d);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2794|      0|            }
 2795|      0|        }
 2796|      2|    }
 2797|     26|    else {
 2798|     26|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &d) == 0) {
  ------------------
  |  |  919|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2798:13): [True: 0, False: 26]
  ------------------
 2799|      0|            PyErr_SetString(PyExc_TypeError,
 2800|      0|                "vars() argument must have __dict__ attribute");
 2801|      0|        }
 2802|     26|    }
 2803|     28|    return d;
 2804|     28|}

_PyOS_URandomNonblock:
  547|  3.91k|{
  548|  3.91k|    return pyurandom(buffer, size, 0, 1);
  549|  3.91k|}
_Py_HashRandomization_Init:
  554|      2|{
  555|      2|    void *secret = &_Py_HashSecret;
  556|      2|    Py_ssize_t secret_size = sizeof(_Py_HashSecret_t);
  557|       |
  558|      2|    if (_Py_HashSecret_Initialized) {
  ------------------
  |  Branch (558:9): [True: 0, False: 2]
  ------------------
  559|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  560|      0|    }
  561|      2|    _Py_HashSecret_Initialized = 1;
  562|       |
  563|      2|    if (config->use_hash_seed) {
  ------------------
  |  Branch (563:9): [True: 0, False: 2]
  ------------------
  564|      0|        if (config->hash_seed == 0) {
  ------------------
  |  Branch (564:13): [True: 0, False: 0]
  ------------------
  565|       |            /* disable the randomized hash */
  566|      0|            memset(secret, 0, secret_size);
  567|      0|        }
  568|      0|        else {
  569|       |            /* use the specified hash seed */
  570|      0|            lcg_urandom(config->hash_seed, secret, secret_size);
  571|      0|        }
  572|      0|    }
  573|      2|    else {
  574|       |        /* use a random hash seed */
  575|      2|        int res;
  576|       |
  577|       |        /* _PyRandom_Init() is called very early in the Python initialization
  578|       |           and so exceptions cannot be used (use raise=0).
  579|       |
  580|       |           _PyRandom_Init() must not block Python initialization: call
  581|       |           pyurandom() is non-blocking mode (blocking=0): see the PEP 524. */
  582|      2|        res = pyurandom(secret, secret_size, 0, 0);
  583|      2|        if (res < 0) {
  ------------------
  |  Branch (583:13): [True: 0, False: 2]
  ------------------
  584|      0|            return _PyStatus_ERR("failed to get random numbers "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  585|      0|                                 "to initialize Python");
  586|      0|        }
  587|      2|    }
  588|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  589|      2|}
bootstrap_hash.c:pyurandom:
  479|  3.91k|{
  480|  3.91k|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  481|  3.91k|    int res;
  482|  3.91k|#endif
  483|       |
  484|  3.91k|    if (size < 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 3.91k]
  ------------------
  485|      0|        if (raise) {
  ------------------
  |  Branch (485:13): [True: 0, False: 0]
  ------------------
  486|      0|            PyErr_Format(PyExc_ValueError,
  487|      0|                         "negative argument not allowed");
  488|      0|        }
  489|      0|        return -1;
  490|      0|    }
  491|       |
  492|  3.91k|    if (size == 0) {
  ------------------
  |  Branch (492:9): [True: 0, False: 3.91k]
  ------------------
  493|      0|        return 0;
  494|      0|    }
  495|       |
  496|       |#ifdef MS_WINDOWS
  497|       |    return win32_urandom((unsigned char *)buffer, size, raise);
  498|       |#else
  499|       |
  500|  3.91k|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  501|  3.91k|    if (HAVE_GETENTRYPY_GETRANDOM_RUNTIME) {
  ------------------
  |  |   40|  3.91k|#  define HAVE_GETENTRYPY_GETRANDOM_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (40:45): [True: 3.91k, Folded]
  |  |  ------------------
  ------------------
  502|  3.91k|#ifdef PY_GETRANDOM
  503|  3.91k|        res = py_getrandom(buffer, size, blocking, raise);
  504|       |#else
  505|       |        res = py_getentropy(buffer, size, raise);
  506|       |#endif
  507|  3.91k|        if (res < 0) {
  ------------------
  |  Branch (507:13): [True: 0, False: 3.91k]
  ------------------
  508|      0|            return -1;
  509|      0|        }
  510|  3.91k|        if (res == 1) {
  ------------------
  |  Branch (510:13): [True: 3.91k, False: 0]
  ------------------
  511|  3.91k|            return 0;
  512|  3.91k|        }
  513|       |        /* getrandom() or getentropy() function is not available: failed with
  514|       |           ENOSYS or EPERM. Fall back on reading from /dev/urandom. */
  515|  3.91k|        } /* end of availability block */
  516|      0|#endif
  517|       |
  518|      0|    return dev_urandom(buffer, size, raise);
  519|  3.91k|#endif
  520|  3.91k|}
bootstrap_hash.c:py_getrandom:
   93|  3.91k|{
   94|       |    /* Is getrandom() supported by the running kernel? Set to 0 if getrandom()
   95|       |       failed with ENOSYS or EPERM. Need Linux kernel 3.17 or newer, or Solaris
   96|       |       11.3 or newer */
   97|  3.91k|    static int getrandom_works = 1;
   98|  3.91k|    int flags;
   99|  3.91k|    char *dest;
  100|  3.91k|    long n;
  101|       |
  102|  3.91k|    if (!getrandom_works) {
  ------------------
  |  Branch (102:9): [True: 0, False: 3.91k]
  ------------------
  103|      0|        return 0;
  104|      0|    }
  105|       |
  106|  3.91k|    flags = blocking ? 0 : GRND_NONBLOCK;
  ------------------
  |  Branch (106:13): [True: 0, False: 3.91k]
  ------------------
  107|  3.91k|    dest = buffer;
  108|  7.82k|    while (0 < size) {
  ------------------
  |  Branch (108:12): [True: 3.91k, False: 3.91k]
  ------------------
  109|       |#if defined(__sun) && defined(__SVR4)
  110|       |        /* Issue #26735: On Solaris, getrandom() is limited to returning up
  111|       |           to 1024 bytes. Call it multiple times if more bytes are
  112|       |           requested. */
  113|       |        n = Py_MIN(size, 1024);
  114|       |#else
  115|  3.91k|        n = Py_MIN(size, LONG_MAX);
  ------------------
  |  |  112|  3.91k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 3.91k]
  |  |  ------------------
  ------------------
  116|  3.91k|#endif
  117|       |
  118|  3.91k|        errno = 0;
  119|  3.91k|#ifdef HAVE_GETRANDOM
  120|  3.91k|        if (raise) {
  ------------------
  |  Branch (120:13): [True: 3.91k, False: 2]
  ------------------
  121|  3.91k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  3.91k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  3.91k|                        PyThreadState *_save; \
  |  |  121|  3.91k|                        _save = PyEval_SaveThread();
  ------------------
  122|  3.91k|            n = getrandom(dest, n, flags);
  123|  3.91k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  3.91k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  3.91k|                 }
  ------------------
  124|  3.91k|        }
  125|      2|        else {
  126|      2|            n = getrandom(dest, n, flags);
  127|      2|        }
  128|       |#else
  129|       |        /* On Linux, use the syscall() function because the GNU libc doesn't
  130|       |           expose the Linux getrandom() syscall yet. See:
  131|       |           https://sourceware.org/bugzilla/show_bug.cgi?id=17252 */
  132|       |        if (raise) {
  133|       |            Py_BEGIN_ALLOW_THREADS
  134|       |            n = syscall(SYS_getrandom, dest, n, flags);
  135|       |            Py_END_ALLOW_THREADS
  136|       |        }
  137|       |        else {
  138|       |            n = syscall(SYS_getrandom, dest, n, flags);
  139|       |        }
  140|       |#  ifdef _Py_MEMORY_SANITIZER
  141|       |        if (n > 0) {
  142|       |             __msan_unpoison(dest, n);
  143|       |        }
  144|       |#  endif
  145|       |#endif
  146|       |
  147|  3.91k|        if (n < 0) {
  ------------------
  |  Branch (147:13): [True: 0, False: 3.91k]
  ------------------
  148|       |            /* ENOSYS: the syscall is not supported by the kernel.
  149|       |               EPERM: the syscall is blocked by a security policy (ex: SECCOMP)
  150|       |               or something else. */
  151|      0|            if (errno == ENOSYS || errno == EPERM) {
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  |  Branch (151:36): [True: 0, False: 0]
  ------------------
  152|      0|                getrandom_works = 0;
  153|      0|                return 0;
  154|      0|            }
  155|       |
  156|       |            /* getrandom(GRND_NONBLOCK) fails with EAGAIN if the system urandom
  157|       |               is not initialized yet. For _PyRandom_Init(), we ignore the
  158|       |               error and fall back on reading /dev/urandom which never blocks,
  159|       |               even if the system urandom is not initialized yet:
  160|       |               see the PEP 524. */
  161|      0|            if (errno == EAGAIN && !raise && !blocking) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  |  Branch (161:36): [True: 0, False: 0]
  |  Branch (161:46): [True: 0, False: 0]
  ------------------
  162|      0|                return 0;
  163|      0|            }
  164|       |
  165|      0|            if (errno == EINTR) {
  ------------------
  |  Branch (165:17): [True: 0, False: 0]
  ------------------
  166|      0|                if (raise) {
  ------------------
  |  Branch (166:21): [True: 0, False: 0]
  ------------------
  167|      0|                    if (PyErr_CheckSignals()) {
  ------------------
  |  Branch (167:25): [True: 0, False: 0]
  ------------------
  168|      0|                        return -1;
  169|      0|                    }
  170|      0|                }
  171|       |
  172|       |                /* retry getrandom() if it was interrupted by a signal */
  173|      0|                continue;
  174|      0|            }
  175|       |
  176|      0|            if (raise) {
  ------------------
  |  Branch (176:17): [True: 0, False: 0]
  ------------------
  177|      0|                PyErr_SetFromErrno(PyExc_OSError);
  178|      0|            }
  179|      0|            return -1;
  180|      0|        }
  181|       |
  182|  3.91k|        dest += n;
  183|  3.91k|        size -= n;
  184|  3.91k|    }
  185|  3.91k|    return 1;
  186|  3.91k|}

Py_GetRecursionLimit:
    8|    213|{
    9|    213|    PyInterpreterState *interp = _PyInterpreterState_GET();
   10|    213|    return interp->ceval.recursion_limit;
   11|    213|}
Py_SetRecursionLimit:
   15|     88|{
   16|     88|    PyInterpreterState *interp = _PyInterpreterState_GET();
   17|     88|    _PyEval_StopTheWorld(interp);
   18|     88|    interp->ceval.recursion_limit = new_limit;
   19|     88|    _Py_FOR_EACH_TSTATE_BEGIN(interp, p) {
  ------------------
  |  |  275|     88|    HEAD_LOCK(interp->runtime); \
  |  |  ------------------
  |  |  |  |  266|     88|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  |  |  ------------------
  |  |  276|     88|    _Py_FOR_EACH_TSTATE_UNLOCKED(interp, t)
  |  |  ------------------
  |  |  |  |  273|    176|    for (PyThreadState *t = interp->threads.head; t; t = t->next)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (273:51): [True: 88, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     88|        int depth = p->py_recursion_limit - p->py_recursion_remaining;
   21|     88|        p->py_recursion_limit = new_limit;
   22|     88|        p->py_recursion_remaining = new_limit - depth;
   23|     88|    }
   24|     88|    _Py_FOR_EACH_TSTATE_END(interp);
  ------------------
  |  |  278|     88|    HEAD_UNLOCK(interp->runtime)
  |  |  ------------------
  |  |  |  |  268|     88|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  |  |  ------------------
  |  |  |  |  |  |   70|     88|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   25|     88|    _PyEval_StartTheWorld(interp);
   26|     88|}
_Py_ReachedRecursionLimitWithMargin:
   30|  56.0M|{
   31|  56.0M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   32|  56.0M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   33|  56.0M|#if _Py_STACK_GROWS_DOWN
   34|  56.0M|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   56|  56.0M|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   55|  56.0M|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|  56.0M|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 56.0M, False: 0]
  ------------------
   35|       |#else
   36|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   37|       |#endif
   38|  56.0M|        return 0;
   39|  56.0M|    }
   40|      0|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (40:9): [True: 0, False: 0]
  ------------------
   41|      0|        _Py_InitializeRecursionLimits(tstate);
   42|      0|    }
   43|      0|#if _Py_STACK_GROWS_DOWN
   44|      0|    return here_addr <= _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES &&
  ------------------
  |  |   56|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   55|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:12): [True: 0, False: 0]
  ------------------
   45|      0|        here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   56|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   55|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   46|       |#else
   47|       |    return here_addr > _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES &&
   48|       |        here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
   49|       |#endif
   50|  56.0M|}
_Py_InitializeRecursionLimits:
  220|      2|{
  221|      2|    uintptr_t base, top;
  222|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  223|      2|    hardware_stack_limits(&base, &top, here_addr);
  224|      2|    assert(top != 0);
  225|       |
  226|      2|    tstate_set_stack(tstate, base, top);
  227|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  228|      2|    ts->c_stack_init_base = base;
  229|      2|    ts->c_stack_init_top = top;
  230|      2|}
_PyEval_MatchClass:
  532|      4|{
  533|      4|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|      4|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (533:9): [True: 0, False: 4]
  ------------------
  534|      0|        const char *e = "class pattern must refer to a class";
  535|      0|        _PyErr_Format(tstate, PyExc_TypeError, e);
  536|      0|        return NULL;
  537|      0|    }
  538|      4|    assert(PyTuple_CheckExact(kwargs));
  539|       |    // First, an isinstance check:
  540|      4|    if (PyObject_IsInstance(subject, type) <= 0) {
  ------------------
  |  Branch (540:9): [True: 4, False: 0]
  ------------------
  541|      4|        return NULL;
  542|      4|    }
  543|       |    // Short circuit if there aren't any arguments:
  544|      0|    Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwargs);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|      0|    Py_ssize_t nattrs = nargs + nkwargs;
  546|      0|    if (!nattrs) {
  ------------------
  |  Branch (546:9): [True: 0, False: 0]
  ------------------
  547|      0|        return PyTuple_New(0);
  548|      0|    }
  549|       |    // So far so good:
  550|      0|    PyObject *seen = NULL;
  551|       |    // Only check for duplicates if there is at least one positional attribute
  552|       |    // and two or more attributes in total. Duplicate keyword attributes are
  553|       |    // detected during the compile stage and raise a SyntaxError.
  554|      0|    if (nargs > 0 && nattrs > 1) {
  ------------------
  |  Branch (554:9): [True: 0, False: 0]
  |  Branch (554:22): [True: 0, False: 0]
  ------------------
  555|      0|        seen = PySet_New(NULL);
  556|      0|        if (seen == NULL) {
  ------------------
  |  Branch (556:13): [True: 0, False: 0]
  ------------------
  557|      0|            return NULL;
  558|      0|        }
  559|      0|    }
  560|      0|    PyObject *attrs = PyTuple_New(nattrs);
  561|      0|    if (attrs == NULL) {
  ------------------
  |  Branch (561:9): [True: 0, False: 0]
  ------------------
  562|      0|        Py_XDECREF(seen);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  563|      0|        return NULL;
  564|      0|    }
  565|       |    // NOTE: From this point on, goto fail on failure:
  566|      0|    PyObject *match_args = NULL;
  567|       |    // First, the positional subpatterns:
  568|      0|    if (nargs) {
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|        int match_self = 0;
  570|      0|        if (PyObject_GetOptionalAttr(type, &_Py_ID(__match_args__), &match_args) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (570:13): [True: 0, False: 0]
  ------------------
  571|      0|            goto fail;
  572|      0|        }
  573|      0|        if (match_args) {
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  ------------------
  574|      0|            if (!PyTuple_CheckExact(match_args)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (574:17): [True: 0, False: 0]
  ------------------
  575|      0|                const char *e = "%s.__match_args__ must be a tuple (got %s)";
  576|      0|                _PyErr_Format(tstate, PyExc_TypeError, e,
  577|      0|                              ((PyTypeObject *)type)->tp_name,
  578|      0|                              Py_TYPE(match_args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|      0|                goto fail;
  580|      0|            }
  581|      0|        }
  582|      0|        else {
  583|       |            // _Py_TPFLAGS_MATCH_SELF is only acknowledged if the type does not
  584|       |            // define __match_args__. This is natural behavior for subclasses:
  585|       |            // it's as if __match_args__ is some "magic" value that is lost as
  586|       |            // soon as they redefine it.
  587|      0|            match_args = PyTuple_New(0);
  588|      0|            match_self = PyType_HasFeature((PyTypeObject*)type,
  589|      0|                                            _Py_TPFLAGS_MATCH_SELF);
  ------------------
  |  |  545|      0|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  590|      0|        }
  591|      0|        assert(PyTuple_CheckExact(match_args));
  592|      0|        Py_ssize_t allowed = match_self ? 1 : PyTuple_GET_SIZE(match_args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (592:30): [True: 0, False: 0]
  ------------------
  593|      0|        if (allowed < nargs) {
  ------------------
  |  Branch (593:13): [True: 0, False: 0]
  ------------------
  594|      0|            const char *plural = (allowed == 1) ? "" : "s";
  ------------------
  |  Branch (594:34): [True: 0, False: 0]
  ------------------
  595|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  596|      0|                          "%s() accepts %zd positional sub-pattern%s (%zd given)",
  597|      0|                          ((PyTypeObject*)type)->tp_name,
  598|      0|                          allowed, plural, nargs);
  599|      0|            goto fail;
  600|      0|        }
  601|      0|        if (match_self) {
  ------------------
  |  Branch (601:13): [True: 0, False: 0]
  ------------------
  602|       |            // Easy. Copy the subject itself, and move on to kwargs.
  603|      0|            assert(PyTuple_GET_ITEM(attrs, 0) == NULL);
  604|      0|            PyTuple_SET_ITEM(attrs, 0, Py_NewRef(subject));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|      0|        }
  606|      0|        else {
  607|      0|            for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (607:36): [True: 0, False: 0]
  ------------------
  608|      0|                PyObject *name = PyTuple_GET_ITEM(match_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|      0|                if (!PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (609:21): [True: 0, False: 0]
  ------------------
  610|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
  611|      0|                                  "__match_args__ elements must be strings "
  612|      0|                                  "(got %s)", Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|      0|                    goto fail;
  614|      0|                }
  615|      0|                PyObject *attr = match_class_attr(tstate, subject, type, name,
  616|      0|                                                  seen);
  617|      0|                if (attr == NULL) {
  ------------------
  |  Branch (617:21): [True: 0, False: 0]
  ------------------
  618|      0|                    goto fail;
  619|      0|                }
  620|      0|                assert(PyTuple_GET_ITEM(attrs, i) == NULL);
  621|      0|                PyTuple_SET_ITEM(attrs, i, attr);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      0|            }
  623|      0|        }
  624|      0|        Py_CLEAR(match_args);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  625|      0|    }
  626|       |    // Finally, the keyword subpatterns:
  627|      0|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (627:28): [True: 0, False: 0]
  ------------------
  628|      0|        PyObject *name = PyTuple_GET_ITEM(kwargs, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|      0|        PyObject *attr = match_class_attr(tstate, subject, type, name, seen);
  630|      0|        if (attr == NULL) {
  ------------------
  |  Branch (630:13): [True: 0, False: 0]
  ------------------
  631|      0|            goto fail;
  632|      0|        }
  633|      0|        assert(PyTuple_GET_ITEM(attrs, nargs + i) == NULL);
  634|      0|        PyTuple_SET_ITEM(attrs, nargs + i, attr);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      0|    }
  636|      0|    Py_XDECREF(seen);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  637|      0|    return attrs;
  638|      0|fail:
  639|       |    // We really don't care whether an error was raised or not... that's our
  640|       |    // caller's problem. All we know is that the match failed.
  641|      0|    Py_XDECREF(match_args);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  642|      0|    Py_XDECREF(seen);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  643|      0|    Py_DECREF(attrs);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  644|       |    return NULL;
  645|      0|}
PyEval_EvalCode:
  652|    747|{
  653|    747|    PyThreadState *tstate = _PyThreadState_GET();
  654|    747|    if (locals == NULL) {
  ------------------
  |  Branch (654:9): [True: 0, False: 747]
  ------------------
  655|      0|        locals = globals;
  656|      0|    }
  657|    747|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  658|    747|    if (builtins == NULL) {
  ------------------
  |  Branch (658:9): [True: 0, False: 747]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|    747|    PyFrameConstructor desc = {
  662|    747|        .fc_globals = globals,
  663|    747|        .fc_builtins = builtins,
  664|    747|        .fc_name = ((PyCodeObject *)co)->co_name,
  665|    747|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  666|    747|        .fc_code = co,
  667|    747|        .fc_defaults = NULL,
  668|    747|        .fc_kwdefaults = NULL,
  669|    747|        .fc_closure = NULL
  670|    747|    };
  671|    747|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  672|    747|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  387|    747|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|    747|    do { \
  |  |  |  |   81|    747|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    747|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    747|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 747]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    747|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    747|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    747|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 747]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|    747|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 747]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  673|    747|    if (func == NULL) {
  ------------------
  |  Branch (673:9): [True: 0, False: 747]
  ------------------
  674|      0|        return NULL;
  675|      0|    }
  676|    747|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|    747|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  677|    747|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  678|       |    Py_DECREF(func);
  ------------------
  |  |   80|    747|    do { \
  |  |   81|    747|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    747|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    747|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    747|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    747|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 747]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    747|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    747|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    747|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 743, False: 4]
  |  |  ------------------
  |  |   88|    743|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|    743|    do { \
  |  |  |  |  113|    743|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|    743|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 743]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|    743|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 743]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    743|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    743|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    743|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    743|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    743|            (*dealloc)(op); \
  |  |   91|    743|        } \
  |  |   92|    747|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 747]
  |  |  ------------------
  ------------------
  679|    747|    return res;
  680|    747|}
_Py_VectorCall_StackRefSteal:
  711|  18.5M|{
  712|  18.5M|    PyObject *res;
  713|  18.5M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  18.5M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  18.5M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  714|  18.5M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  18.5M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 18.5M]
  |  |  ------------------
  ------------------
  715|      0|        res = NULL;
  716|      0|        goto cleanup;
  717|      0|    }
  718|  18.5M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  719|  18.5M|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  720|  18.5M|    int positional_args = total_args;
  721|  18.5M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (721:9): [True: 609k, False: 17.9M]
  ------------------
  722|   609k|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|   609k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|   609k|    }
  724|  18.5M|    res = PyObject_Vectorcall(
  725|  18.5M|        callable_o, args_o,
  726|  18.5M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  18.5M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  18.5M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  727|  18.5M|        kwnames_o);
  728|  18.5M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  18.5M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  729|  18.5M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  730|  18.5M|cleanup:
  731|  18.5M|    PyStackRef_XCLOSE(kwnames);
  732|       |    // arguments is a pointer into the GC visible stack,
  733|       |    // so we must NULL out values as we clear them.
  734|  39.0M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (734:32): [True: 20.4M, False: 18.5M]
  ------------------
  735|  20.4M|        _PyStackRef tmp = arguments[i];
  736|  20.4M|        arguments[i] = PyStackRef_NULL;
  737|  20.4M|        PyStackRef_CLOSE(tmp);
  738|  20.4M|    }
  739|  18.5M|    PyStackRef_CLOSE(callable);
  740|  18.5M|    return res;
  741|  18.5M|}
_Py_VectorCallInstrumentation_StackRefSteal:
  753|  8.12M|{
  754|  8.12M|    PyObject* res;
  755|  8.12M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  8.12M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  8.12M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  756|  8.12M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  8.12M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 8.12M]
  |  |  ------------------
  ------------------
  757|      0|        res = NULL;
  758|      0|        goto cleanup;
  759|      0|    }
  760|  8.12M|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  761|  8.12M|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  762|  8.12M|    int positional_args = total_args;
  763|  8.12M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (763:9): [True: 428, False: 8.12M]
  ------------------
  764|    428|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    428|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    428|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    428|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|    428|    }
  766|  8.12M|    res = PyObject_Vectorcall(
  767|  8.12M|        callable_o, args_o,
  768|  8.12M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  8.12M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  8.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  769|  8.12M|        kwnames_o);
  770|  8.12M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  8.12M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  771|  8.12M|    if (call_instrumentation) {
  ------------------
  |  Branch (771:9): [True: 0, False: 8.12M]
  ------------------
  772|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (772:25): [True: 0, False: 0]
  ------------------
  773|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  774|      0|        if (res == NULL) {
  ------------------
  |  Branch (774:13): [True: 0, False: 0]
  ------------------
  775|      0|            _Py_call_instrumentation_exc2(
  776|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  777|      0|                frame, this_instr, callable_o, arg);
  778|      0|        }
  779|      0|        else {
  780|      0|            int err = _Py_call_instrumentation_2args(
  781|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  782|      0|                frame, this_instr, callable_o, arg);
  783|      0|            if (err < 0) {
  ------------------
  |  Branch (783:17): [True: 0, False: 0]
  ------------------
  784|      0|                Py_CLEAR(res);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|      0|            }
  786|      0|        }
  787|      0|    }
  788|  8.12M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  789|  8.12M|cleanup:
  790|  8.12M|    PyStackRef_XCLOSE(kwnames);
  791|       |    // arguments is a pointer into the GC visible stack,
  792|       |    // so we must NULL out values as we clear them.
  793|  24.3M|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (793:34): [True: 16.2M, False: 8.12M]
  ------------------
  794|  16.2M|        _PyStackRef tmp = arguments[i];
  795|  16.2M|        arguments[i] = PyStackRef_NULL;
  796|  16.2M|        PyStackRef_CLOSE(tmp);
  797|  16.2M|    }
  798|  8.12M|    PyStackRef_CLOSE(callable);
  799|  8.12M|    return res;
  800|  8.12M|}
_Py_BuiltinCallFast_StackRef:
  807|  8.10M|{
  808|  8.10M|    PyObject *res;
  809|  8.10M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  8.10M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  8.10M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  810|  8.10M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  8.10M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 8.10M]
  |  |  ------------------
  ------------------
  811|      0|        return NULL;
  812|      0|    }
  813|  8.10M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  814|  8.10M|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|  8.10M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  815|  8.10M|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|  8.10M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|  8.10M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|  8.10M|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|  8.10M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  817|  8.10M|        args_o,
  818|  8.10M|        total_args
  819|  8.10M|    );
  820|  8.10M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  8.10M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  821|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  822|  8.10M|    return res;
  823|  8.10M|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  830|  2.81M|{
  831|  2.81M|    PyObject *res;
  832|  2.81M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  2.81M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  2.81M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  833|  2.81M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  2.81M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 2.81M]
  |  |  ------------------
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|  2.81M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  837|  2.81M|    PyCFunctionFastWithKeywords cfunc =
  838|  2.81M|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  2.81M|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  2.81M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|  2.81M|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  2.81M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  2.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|  2.81M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  2.81M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  841|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  842|  2.81M|    return res;
  843|  2.81M|}
_PyCallMethodDescriptorFast_StackRef:
  852|  1.40M|{
  853|  1.40M|    PyObject *res;
  854|  1.40M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  1.40M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  1.40M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  855|  1.40M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  1.40M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 1.40M]
  |  |  ------------------
  ------------------
  856|      0|        return NULL;
  857|      0|    }
  858|  1.40M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  859|       |
  860|  1.40M|    res = cfunc(self, (args_o + 1), total_args - 1);
  861|  1.40M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  1.40M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  862|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  863|  1.40M|    return res;
  864|  1.40M|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  873|  1.63M|{
  874|  1.63M|    PyObject *res;
  875|  1.63M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  1.63M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  1.63M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  876|  1.63M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  1.63M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 1.63M]
  |  |  ------------------
  ------------------
  877|      0|        return NULL;
  878|      0|    }
  879|  1.63M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  880|       |
  881|  1.63M|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  882|  1.63M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  1.63M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  883|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  884|  1.63M|    return res;
  885|  1.63M|}
_Py_CallBuiltinClass_StackRef:
  892|   631k|{
  893|   631k|    PyObject *res;
  894|   631k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|   631k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|   631k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  895|   631k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|   631k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 631k]
  |  |  ------------------
  ------------------
  896|      0|        return NULL;
  897|      0|    }
  898|   631k|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  899|   631k|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|   631k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   631k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  900|   631k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|   631k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  901|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  902|   631k|    return res;
  903|   631k|}
_Py_BuildString_StackRefSteal:
  909|  1.45M|{
  910|  1.45M|    PyObject *res;
  911|  1.45M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  1.45M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  1.45M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  912|  1.45M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  1.45M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 1.45M]
  |  |  ------------------
  ------------------
  913|      0|        res = NULL;
  914|      0|        goto cleanup;
  915|      0|    }
  916|  1.45M|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  921|  1.45M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.45M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.45M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|  1.45M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  1.45M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  918|  1.45M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  919|  1.45M|cleanup:
  920|       |    // arguments is a pointer into the GC visible stack,
  921|       |    // so we must NULL out values as we clear them.
  922|  4.38M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (922:32): [True: 2.92M, False: 1.45M]
  ------------------
  923|  2.92M|        _PyStackRef tmp = arguments[i];
  924|  2.92M|        arguments[i] = PyStackRef_NULL;
  925|  2.92M|        PyStackRef_CLOSE(tmp);
  926|  2.92M|    }
  927|  1.45M|    return res;
  928|  1.45M|}
_Py_BuildMap_StackRefSteal:
  934|  3.33M|{
  935|  3.33M|    PyObject *res;
  936|  3.33M|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  500|  3.33M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  3.33M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  937|  3.33M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  3.33M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 3.33M]
  |  |  ------------------
  ------------------
  938|      0|        res = NULL;
  939|      0|        goto cleanup;
  940|      0|    }
  941|  3.33M|    res = _PyDict_FromItems(
  942|  3.33M|        args_o, 2,
  943|  3.33M|        args_o+1, 2,
  944|  3.33M|        half_args
  945|  3.33M|    );
  946|  3.33M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  3.33M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  947|  3.33M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  948|  3.33M|cleanup:
  949|       |    // arguments is a pointer into the GC visible stack,
  950|       |    // so we must NULL out values as we clear them.
  951|  7.32M|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (951:33): [True: 3.98M, False: 3.33M]
  ------------------
  952|  3.98M|        _PyStackRef tmp = arguments[i];
  953|  3.98M|        arguments[i] = PyStackRef_NULL;
  954|  3.98M|        PyStackRef_CLOSE(tmp);
  955|  3.98M|    }
  956|  3.33M|    return res;
  957|  3.33M|}
_Py_LoadAttr_StackRefSteal:
  963|  13.1M|{
  964|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  965|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  966|       |    // after the stackpointer and therefore not visible to the GC.
  967|  13.1M|    _PyCStackRef method, self;
  968|  13.1M|    _PyThreadState_PushCStackRef(tstate, &method);
  969|  13.1M|    _PyThreadState_PushCStackRef(tstate, &self);
  970|  13.1M|    self.ref = owner;  // steal reference to owner
  971|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  972|       |    // error, so we don't need to explicitly use the return code from the call.
  973|  13.1M|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  974|  13.1M|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  975|  13.1M|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  976|  13.1M|}
_PyObjectArray_FromStackRefArray:
 1051|  46.0M|{
 1052|  46.0M|    PyObject **result;
 1053|  46.0M|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  496|  46.0M|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1053:9): [True: 8.80k, False: 46.0M]
  ------------------
 1054|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1055|  8.80k|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1056|  8.80k|        if (result == NULL) {
  ------------------
  |  Branch (1056:13): [True: 0, False: 8.80k]
  ------------------
 1057|      0|            return NULL;
 1058|      0|        }
 1059|  8.80k|    }
 1060|  46.0M|    else {
 1061|  46.0M|        result = scratch;
 1062|  46.0M|    }
 1063|  46.0M|    result++;
 1064|  46.0M|    result[0] = NULL; /* Keep GCC happy */
 1065|   118M|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1065:21): [True: 72.4M, False: 46.0M]
  ------------------
 1066|  72.4M|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1067|  72.4M|    }
 1068|  46.0M|    return result;
 1069|  46.0M|}
_PyObjectArray_Free:
 1073|  46.0M|{
 1074|  46.0M|    if (array != scratch) {
  ------------------
  |  Branch (1074:9): [True: 8.80k, False: 46.0M]
  ------------------
 1075|  8.80k|        PyMem_Free(array);
 1076|  8.80k|    }
 1077|  46.0M|}
_PyEval_GetIter:
 1115|   634k|{
 1116|   634k|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1117|   634k|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1117:9): [True: 549, False: 633k]
  ------------------
 1118|       |        /* Leave iterable on stack and pushed tagged 0 */
 1119|    549|        *index_or_null = PyStackRef_TagInt(0);
 1120|    549|        return iterable;
 1121|    549|    }
 1122|   633k|    *index_or_null = PyStackRef_NULL;
 1123|   633k|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1123:9): [True: 98, False: 633k]
  ------------------
 1124|     98|        return iterable;
 1125|     98|    }
 1126|   633k|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 633k]
  |  Branch (1126:23): [True: 0, False: 0]
  ------------------
 1127|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
 1128|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   99|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1128:13): [True: 0, False: 0]
  ------------------
 1129|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1130|       |            * expression of a regular generator. */
 1131|      0|            PyErr_SetString(PyExc_TypeError,
 1132|      0|                            "cannot 'yield from' a coroutine object "
 1133|      0|                            "in a non-coroutine generator");
 1134|      0|            PyStackRef_CLOSE(iterable);
 1135|      0|            return PyStackRef_ERROR;
 1136|      0|        }
 1137|      0|        return iterable;
 1138|      0|    }
 1139|       |    /* Pop iterable, and push iterator then NULL */
 1140|   633k|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1141|   633k|    PyStackRef_CLOSE(iterable);
 1142|   633k|    if (iter_o == NULL) {
  ------------------
  |  Branch (1142:9): [True: 0, False: 633k]
  ------------------
 1143|      0|        return PyStackRef_ERROR;
 1144|      0|    }
 1145|   633k|    return PyStackRef_FromPyObjectSteal(iter_o);
 1146|   633k|}
_PyEval_EvalFrameDefault:
 1197|  5.46M|{
 1198|  5.46M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  5.46M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1199|  5.46M|    check_invalid_reentrancy();
 1200|  5.46M|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|  5.46M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1201|       |
 1202|  5.46M|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1203|       |/* Import the static jump table */
 1204|  5.46M|#include "opcode_targets.h"
  ------------------
  |  |    1|  5.46M|#if !_Py_TAIL_CALL_INTERP
  |  |    2|  5.46M|static void *opcode_targets_table[256] = {
  |  |    3|  5.46M|    &&TARGET_CACHE,
  |  |    4|  5.46M|    &&TARGET_BINARY_SLICE,
  |  |    5|  5.46M|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|  5.46M|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|  5.46M|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|  5.46M|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|  5.46M|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|  5.46M|    &&TARGET_CLEANUP_THROW,
  |  |   11|  5.46M|    &&TARGET_DELETE_SUBSCR,
  |  |   12|  5.46M|    &&TARGET_END_FOR,
  |  |   13|  5.46M|    &&TARGET_END_SEND,
  |  |   14|  5.46M|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|  5.46M|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|  5.46M|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|  5.46M|    &&TARGET_GET_AITER,
  |  |   18|  5.46M|    &&TARGET_GET_ANEXT,
  |  |   19|  5.46M|    &&TARGET_GET_LEN,
  |  |   20|  5.46M|    &&TARGET_RESERVED,
  |  |   21|  5.46M|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|  5.46M|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|  5.46M|    &&TARGET_LOAD_LOCALS,
  |  |   24|  5.46M|    &&TARGET_MAKE_FUNCTION,
  |  |   25|  5.46M|    &&TARGET_MATCH_KEYS,
  |  |   26|  5.46M|    &&TARGET_MATCH_MAPPING,
  |  |   27|  5.46M|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|  5.46M|    &&TARGET_NOP,
  |  |   29|  5.46M|    &&TARGET_NOT_TAKEN,
  |  |   30|  5.46M|    &&TARGET_POP_EXCEPT,
  |  |   31|  5.46M|    &&TARGET_POP_ITER,
  |  |   32|  5.46M|    &&TARGET_POP_TOP,
  |  |   33|  5.46M|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|  5.46M|    &&TARGET_PUSH_NULL,
  |  |   35|  5.46M|    &&TARGET_RETURN_GENERATOR,
  |  |   36|  5.46M|    &&TARGET_RETURN_VALUE,
  |  |   37|  5.46M|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|  5.46M|    &&TARGET_STORE_SLICE,
  |  |   39|  5.46M|    &&TARGET_STORE_SUBSCR,
  |  |   40|  5.46M|    &&TARGET_TO_BOOL,
  |  |   41|  5.46M|    &&TARGET_UNARY_INVERT,
  |  |   42|  5.46M|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|  5.46M|    &&TARGET_UNARY_NOT,
  |  |   44|  5.46M|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|  5.46M|    &&TARGET_BINARY_OP,
  |  |   46|  5.46M|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|  5.46M|    &&TARGET_BUILD_LIST,
  |  |   48|  5.46M|    &&TARGET_BUILD_MAP,
  |  |   49|  5.46M|    &&TARGET_BUILD_SET,
  |  |   50|  5.46M|    &&TARGET_BUILD_SLICE,
  |  |   51|  5.46M|    &&TARGET_BUILD_STRING,
  |  |   52|  5.46M|    &&TARGET_BUILD_TUPLE,
  |  |   53|  5.46M|    &&TARGET_CALL,
  |  |   54|  5.46M|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|  5.46M|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|  5.46M|    &&TARGET_CALL_KW,
  |  |   57|  5.46M|    &&TARGET_COMPARE_OP,
  |  |   58|  5.46M|    &&TARGET_CONTAINS_OP,
  |  |   59|  5.46M|    &&TARGET_CONVERT_VALUE,
  |  |   60|  5.46M|    &&TARGET_COPY,
  |  |   61|  5.46M|    &&TARGET_COPY_FREE_VARS,
  |  |   62|  5.46M|    &&TARGET_DELETE_ATTR,
  |  |   63|  5.46M|    &&TARGET_DELETE_DEREF,
  |  |   64|  5.46M|    &&TARGET_DELETE_FAST,
  |  |   65|  5.46M|    &&TARGET_DELETE_GLOBAL,
  |  |   66|  5.46M|    &&TARGET_DELETE_NAME,
  |  |   67|  5.46M|    &&TARGET_DICT_MERGE,
  |  |   68|  5.46M|    &&TARGET_DICT_UPDATE,
  |  |   69|  5.46M|    &&TARGET_END_ASYNC_FOR,
  |  |   70|  5.46M|    &&TARGET_EXTENDED_ARG,
  |  |   71|  5.46M|    &&TARGET_FOR_ITER,
  |  |   72|  5.46M|    &&TARGET_GET_AWAITABLE,
  |  |   73|  5.46M|    &&TARGET_GET_ITER,
  |  |   74|  5.46M|    &&TARGET_IMPORT_FROM,
  |  |   75|  5.46M|    &&TARGET_IMPORT_NAME,
  |  |   76|  5.46M|    &&TARGET_IS_OP,
  |  |   77|  5.46M|    &&TARGET_JUMP_BACKWARD,
  |  |   78|  5.46M|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   79|  5.46M|    &&TARGET_JUMP_FORWARD,
  |  |   80|  5.46M|    &&TARGET_LIST_APPEND,
  |  |   81|  5.46M|    &&TARGET_LIST_EXTEND,
  |  |   82|  5.46M|    &&TARGET_LOAD_ATTR,
  |  |   83|  5.46M|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   84|  5.46M|    &&TARGET_LOAD_CONST,
  |  |   85|  5.46M|    &&TARGET_LOAD_DEREF,
  |  |   86|  5.46M|    &&TARGET_LOAD_FAST,
  |  |   87|  5.46M|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   88|  5.46M|    &&TARGET_LOAD_FAST_BORROW,
  |  |   89|  5.46M|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   90|  5.46M|    &&TARGET_LOAD_FAST_CHECK,
  |  |   91|  5.46M|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   92|  5.46M|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   93|  5.46M|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   94|  5.46M|    &&TARGET_LOAD_GLOBAL,
  |  |   95|  5.46M|    &&TARGET_LOAD_NAME,
  |  |   96|  5.46M|    &&TARGET_LOAD_SMALL_INT,
  |  |   97|  5.46M|    &&TARGET_LOAD_SPECIAL,
  |  |   98|  5.46M|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   99|  5.46M|    &&TARGET_MAKE_CELL,
  |  |  100|  5.46M|    &&TARGET_MAP_ADD,
  |  |  101|  5.46M|    &&TARGET_MATCH_CLASS,
  |  |  102|  5.46M|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  103|  5.46M|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  104|  5.46M|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  105|  5.46M|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  106|  5.46M|    &&TARGET_RAISE_VARARGS,
  |  |  107|  5.46M|    &&TARGET_RERAISE,
  |  |  108|  5.46M|    &&TARGET_SEND,
  |  |  109|  5.46M|    &&TARGET_SET_ADD,
  |  |  110|  5.46M|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  111|  5.46M|    &&TARGET_SET_UPDATE,
  |  |  112|  5.46M|    &&TARGET_STORE_ATTR,
  |  |  113|  5.46M|    &&TARGET_STORE_DEREF,
  |  |  114|  5.46M|    &&TARGET_STORE_FAST,
  |  |  115|  5.46M|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  116|  5.46M|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  117|  5.46M|    &&TARGET_STORE_GLOBAL,
  |  |  118|  5.46M|    &&TARGET_STORE_NAME,
  |  |  119|  5.46M|    &&TARGET_SWAP,
  |  |  120|  5.46M|    &&TARGET_UNPACK_EX,
  |  |  121|  5.46M|    &&TARGET_UNPACK_SEQUENCE,
  |  |  122|  5.46M|    &&TARGET_YIELD_VALUE,
  |  |  123|  5.46M|    &&_unknown_opcode,
  |  |  124|  5.46M|    &&_unknown_opcode,
  |  |  125|  5.46M|    &&_unknown_opcode,
  |  |  126|  5.46M|    &&_unknown_opcode,
  |  |  127|  5.46M|    &&_unknown_opcode,
  |  |  128|  5.46M|    &&_unknown_opcode,
  |  |  129|  5.46M|    &&_unknown_opcode,
  |  |  130|  5.46M|    &&_unknown_opcode,
  |  |  131|  5.46M|    &&TARGET_RESUME,
  |  |  132|  5.46M|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|  5.46M|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|  5.46M|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|  5.46M|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|  5.46M|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|  5.46M|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|  5.46M|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|  5.46M|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|  5.46M|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|  5.46M|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|  5.46M|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|  5.46M|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|  5.46M|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|  5.46M|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|  5.46M|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|  5.46M|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|  5.46M|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|  5.46M|    &&TARGET_CALL_EX_PY,
  |  |  156|  5.46M|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|  5.46M|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|  5.46M|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|  5.46M|    &&TARGET_CALL_KW_PY,
  |  |  160|  5.46M|    &&TARGET_CALL_LEN,
  |  |  161|  5.46M|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|  5.46M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|  5.46M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|  5.46M|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|  5.46M|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|  5.46M|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|  5.46M|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|  5.46M|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|  5.46M|    &&TARGET_CALL_STR_1,
  |  |  170|  5.46M|    &&TARGET_CALL_TUPLE_1,
  |  |  171|  5.46M|    &&TARGET_CALL_TYPE_1,
  |  |  172|  5.46M|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|  5.46M|    &&TARGET_COMPARE_OP_INT,
  |  |  174|  5.46M|    &&TARGET_COMPARE_OP_STR,
  |  |  175|  5.46M|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|  5.46M|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|  5.46M|    &&TARGET_FOR_ITER_GEN,
  |  |  178|  5.46M|    &&TARGET_FOR_ITER_LIST,
  |  |  179|  5.46M|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|  5.46M|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|  5.46M|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|  5.46M|    &&TARGET_GET_ITER_SELF,
  |  |  183|  5.46M|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|  5.46M|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|  5.46M|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|  5.46M|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|  5.46M|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|  5.46M|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|  5.46M|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|  5.46M|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|  5.46M|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|  5.46M|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|  5.46M|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|  5.46M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|  5.46M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|  5.46M|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|  5.46M|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|  5.46M|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|  5.46M|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|  5.46M|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|  5.46M|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|  5.46M|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|  5.46M|    &&TARGET_RESUME_CHECK,
  |  |  204|  5.46M|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|  5.46M|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|  5.46M|    &&TARGET_SEND_GEN,
  |  |  207|  5.46M|    &&TARGET_SEND_VIRTUAL,
  |  |  208|  5.46M|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|  5.46M|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|  5.46M|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|  5.46M|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|  5.46M|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|  5.46M|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|  5.46M|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|  5.46M|    &&TARGET_TO_BOOL_INT,
  |  |  216|  5.46M|    &&TARGET_TO_BOOL_LIST,
  |  |  217|  5.46M|    &&TARGET_TO_BOOL_NONE,
  |  |  218|  5.46M|    &&TARGET_TO_BOOL_STR,
  |  |  219|  5.46M|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|  5.46M|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|  5.46M|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|  5.46M|    &&_unknown_opcode,
  |  |  223|  5.46M|    &&_unknown_opcode,
  |  |  224|  5.46M|    &&_unknown_opcode,
  |  |  225|  5.46M|    &&_unknown_opcode,
  |  |  226|  5.46M|    &&_unknown_opcode,
  |  |  227|  5.46M|    &&_unknown_opcode,
  |  |  228|  5.46M|    &&_unknown_opcode,
  |  |  229|  5.46M|    &&_unknown_opcode,
  |  |  230|  5.46M|    &&_unknown_opcode,
  |  |  231|  5.46M|    &&_unknown_opcode,
  |  |  232|  5.46M|    &&_unknown_opcode,
  |  |  233|  5.46M|    &&_unknown_opcode,
  |  |  234|  5.46M|    &&_unknown_opcode,
  |  |  235|  5.46M|    &&_unknown_opcode,
  |  |  236|  5.46M|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|  5.46M|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|  5.46M|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|  5.46M|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|  5.46M|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|  5.46M|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|  5.46M|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|  5.46M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|  5.46M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|  5.46M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|  5.46M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|  5.46M|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|  5.46M|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|  5.46M|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|  5.46M|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|  5.46M|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|  5.46M|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|  5.46M|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|  5.46M|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|  5.46M|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|  5.46M|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|  5.46M|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|  5.46M|    &&TARGET_TRACE_RECORD,
  |  |  259|  5.46M|};
  |  |  260|       |#if _Py_TIER2
  |  |  261|       |static void *opcode_tracing_targets_table[256] = {
  |  |  262|       |    &&TARGET_TRACE_RECORD,
  |  |  263|       |    &&TARGET_TRACE_RECORD,
  |  |  264|       |    &&TARGET_TRACE_RECORD,
  |  |  265|       |    &&TARGET_TRACE_RECORD,
  |  |  266|       |    &&TARGET_TRACE_RECORD,
  |  |  267|       |    &&TARGET_TRACE_RECORD,
  |  |  268|       |    &&TARGET_TRACE_RECORD,
  |  |  269|       |    &&TARGET_TRACE_RECORD,
  |  |  270|       |    &&TARGET_TRACE_RECORD,
  |  |  271|       |    &&TARGET_TRACE_RECORD,
  |  |  272|       |    &&TARGET_TRACE_RECORD,
  |  |  273|       |    &&TARGET_TRACE_RECORD,
  |  |  274|       |    &&TARGET_TRACE_RECORD,
  |  |  275|       |    &&TARGET_TRACE_RECORD,
  |  |  276|       |    &&TARGET_TRACE_RECORD,
  |  |  277|       |    &&TARGET_TRACE_RECORD,
  |  |  278|       |    &&TARGET_TRACE_RECORD,
  |  |  279|       |    &&TARGET_TRACE_RECORD,
  |  |  280|       |    &&TARGET_TRACE_RECORD,
  |  |  281|       |    &&TARGET_TRACE_RECORD,
  |  |  282|       |    &&TARGET_TRACE_RECORD,
  |  |  283|       |    &&TARGET_TRACE_RECORD,
  |  |  284|       |    &&TARGET_TRACE_RECORD,
  |  |  285|       |    &&TARGET_TRACE_RECORD,
  |  |  286|       |    &&TARGET_TRACE_RECORD,
  |  |  287|       |    &&TARGET_TRACE_RECORD,
  |  |  288|       |    &&TARGET_TRACE_RECORD,
  |  |  289|       |    &&TARGET_TRACE_RECORD,
  |  |  290|       |    &&TARGET_TRACE_RECORD,
  |  |  291|       |    &&TARGET_TRACE_RECORD,
  |  |  292|       |    &&TARGET_TRACE_RECORD,
  |  |  293|       |    &&TARGET_TRACE_RECORD,
  |  |  294|       |    &&TARGET_TRACE_RECORD,
  |  |  295|       |    &&TARGET_TRACE_RECORD,
  |  |  296|       |    &&TARGET_TRACE_RECORD,
  |  |  297|       |    &&TARGET_TRACE_RECORD,
  |  |  298|       |    &&TARGET_TRACE_RECORD,
  |  |  299|       |    &&TARGET_TRACE_RECORD,
  |  |  300|       |    &&TARGET_TRACE_RECORD,
  |  |  301|       |    &&TARGET_TRACE_RECORD,
  |  |  302|       |    &&TARGET_TRACE_RECORD,
  |  |  303|       |    &&TARGET_TRACE_RECORD,
  |  |  304|       |    &&TARGET_TRACE_RECORD,
  |  |  305|       |    &&TARGET_TRACE_RECORD,
  |  |  306|       |    &&TARGET_TRACE_RECORD,
  |  |  307|       |    &&TARGET_TRACE_RECORD,
  |  |  308|       |    &&TARGET_TRACE_RECORD,
  |  |  309|       |    &&TARGET_TRACE_RECORD,
  |  |  310|       |    &&TARGET_TRACE_RECORD,
  |  |  311|       |    &&TARGET_TRACE_RECORD,
  |  |  312|       |    &&TARGET_TRACE_RECORD,
  |  |  313|       |    &&TARGET_TRACE_RECORD,
  |  |  314|       |    &&TARGET_TRACE_RECORD,
  |  |  315|       |    &&TARGET_TRACE_RECORD,
  |  |  316|       |    &&TARGET_TRACE_RECORD,
  |  |  317|       |    &&TARGET_TRACE_RECORD,
  |  |  318|       |    &&TARGET_TRACE_RECORD,
  |  |  319|       |    &&TARGET_TRACE_RECORD,
  |  |  320|       |    &&TARGET_TRACE_RECORD,
  |  |  321|       |    &&TARGET_TRACE_RECORD,
  |  |  322|       |    &&TARGET_TRACE_RECORD,
  |  |  323|       |    &&TARGET_TRACE_RECORD,
  |  |  324|       |    &&TARGET_TRACE_RECORD,
  |  |  325|       |    &&TARGET_TRACE_RECORD,
  |  |  326|       |    &&TARGET_TRACE_RECORD,
  |  |  327|       |    &&TARGET_TRACE_RECORD,
  |  |  328|       |    &&TARGET_TRACE_RECORD,
  |  |  329|       |    &&TARGET_TRACE_RECORD,
  |  |  330|       |    &&TARGET_TRACE_RECORD,
  |  |  331|       |    &&TARGET_TRACE_RECORD,
  |  |  332|       |    &&TARGET_TRACE_RECORD,
  |  |  333|       |    &&TARGET_TRACE_RECORD,
  |  |  334|       |    &&TARGET_TRACE_RECORD,
  |  |  335|       |    &&TARGET_TRACE_RECORD,
  |  |  336|       |    &&TARGET_TRACE_RECORD,
  |  |  337|       |    &&TARGET_TRACE_RECORD,
  |  |  338|       |    &&TARGET_TRACE_RECORD,
  |  |  339|       |    &&TARGET_TRACE_RECORD,
  |  |  340|       |    &&TARGET_TRACE_RECORD,
  |  |  341|       |    &&TARGET_TRACE_RECORD,
  |  |  342|       |    &&TARGET_TRACE_RECORD,
  |  |  343|       |    &&TARGET_TRACE_RECORD,
  |  |  344|       |    &&TARGET_TRACE_RECORD,
  |  |  345|       |    &&TARGET_TRACE_RECORD,
  |  |  346|       |    &&TARGET_TRACE_RECORD,
  |  |  347|       |    &&TARGET_TRACE_RECORD,
  |  |  348|       |    &&TARGET_TRACE_RECORD,
  |  |  349|       |    &&TARGET_TRACE_RECORD,
  |  |  350|       |    &&TARGET_TRACE_RECORD,
  |  |  351|       |    &&TARGET_TRACE_RECORD,
  |  |  352|       |    &&TARGET_TRACE_RECORD,
  |  |  353|       |    &&TARGET_TRACE_RECORD,
  |  |  354|       |    &&TARGET_TRACE_RECORD,
  |  |  355|       |    &&TARGET_TRACE_RECORD,
  |  |  356|       |    &&TARGET_TRACE_RECORD,
  |  |  357|       |    &&TARGET_TRACE_RECORD,
  |  |  358|       |    &&TARGET_TRACE_RECORD,
  |  |  359|       |    &&TARGET_TRACE_RECORD,
  |  |  360|       |    &&TARGET_TRACE_RECORD,
  |  |  361|       |    &&TARGET_TRACE_RECORD,
  |  |  362|       |    &&TARGET_TRACE_RECORD,
  |  |  363|       |    &&TARGET_TRACE_RECORD,
  |  |  364|       |    &&TARGET_TRACE_RECORD,
  |  |  365|       |    &&TARGET_TRACE_RECORD,
  |  |  366|       |    &&TARGET_TRACE_RECORD,
  |  |  367|       |    &&TARGET_TRACE_RECORD,
  |  |  368|       |    &&TARGET_TRACE_RECORD,
  |  |  369|       |    &&TARGET_TRACE_RECORD,
  |  |  370|       |    &&TARGET_TRACE_RECORD,
  |  |  371|       |    &&TARGET_TRACE_RECORD,
  |  |  372|       |    &&TARGET_TRACE_RECORD,
  |  |  373|       |    &&TARGET_TRACE_RECORD,
  |  |  374|       |    &&TARGET_TRACE_RECORD,
  |  |  375|       |    &&TARGET_TRACE_RECORD,
  |  |  376|       |    &&TARGET_TRACE_RECORD,
  |  |  377|       |    &&TARGET_TRACE_RECORD,
  |  |  378|       |    &&TARGET_TRACE_RECORD,
  |  |  379|       |    &&TARGET_TRACE_RECORD,
  |  |  380|       |    &&TARGET_TRACE_RECORD,
  |  |  381|       |    &&TARGET_TRACE_RECORD,
  |  |  382|       |    &&_unknown_opcode,
  |  |  383|       |    &&_unknown_opcode,
  |  |  384|       |    &&_unknown_opcode,
  |  |  385|       |    &&_unknown_opcode,
  |  |  386|       |    &&_unknown_opcode,
  |  |  387|       |    &&_unknown_opcode,
  |  |  388|       |    &&_unknown_opcode,
  |  |  389|       |    &&_unknown_opcode,
  |  |  390|       |    &&TARGET_TRACE_RECORD,
  |  |  391|       |    &&TARGET_TRACE_RECORD,
  |  |  392|       |    &&TARGET_TRACE_RECORD,
  |  |  393|       |    &&TARGET_TRACE_RECORD,
  |  |  394|       |    &&TARGET_TRACE_RECORD,
  |  |  395|       |    &&TARGET_TRACE_RECORD,
  |  |  396|       |    &&TARGET_TRACE_RECORD,
  |  |  397|       |    &&TARGET_TRACE_RECORD,
  |  |  398|       |    &&TARGET_TRACE_RECORD,
  |  |  399|       |    &&TARGET_TRACE_RECORD,
  |  |  400|       |    &&TARGET_TRACE_RECORD,
  |  |  401|       |    &&TARGET_TRACE_RECORD,
  |  |  402|       |    &&TARGET_TRACE_RECORD,
  |  |  403|       |    &&TARGET_TRACE_RECORD,
  |  |  404|       |    &&TARGET_TRACE_RECORD,
  |  |  405|       |    &&TARGET_TRACE_RECORD,
  |  |  406|       |    &&TARGET_TRACE_RECORD,
  |  |  407|       |    &&TARGET_TRACE_RECORD,
  |  |  408|       |    &&TARGET_TRACE_RECORD,
  |  |  409|       |    &&TARGET_TRACE_RECORD,
  |  |  410|       |    &&TARGET_TRACE_RECORD,
  |  |  411|       |    &&TARGET_TRACE_RECORD,
  |  |  412|       |    &&TARGET_TRACE_RECORD,
  |  |  413|       |    &&TARGET_TRACE_RECORD,
  |  |  414|       |    &&TARGET_TRACE_RECORD,
  |  |  415|       |    &&TARGET_TRACE_RECORD,
  |  |  416|       |    &&TARGET_TRACE_RECORD,
  |  |  417|       |    &&TARGET_TRACE_RECORD,
  |  |  418|       |    &&TARGET_TRACE_RECORD,
  |  |  419|       |    &&TARGET_TRACE_RECORD,
  |  |  420|       |    &&TARGET_TRACE_RECORD,
  |  |  421|       |    &&TARGET_TRACE_RECORD,
  |  |  422|       |    &&TARGET_TRACE_RECORD,
  |  |  423|       |    &&TARGET_TRACE_RECORD,
  |  |  424|       |    &&TARGET_TRACE_RECORD,
  |  |  425|       |    &&TARGET_TRACE_RECORD,
  |  |  426|       |    &&TARGET_TRACE_RECORD,
  |  |  427|       |    &&TARGET_TRACE_RECORD,
  |  |  428|       |    &&TARGET_TRACE_RECORD,
  |  |  429|       |    &&TARGET_TRACE_RECORD,
  |  |  430|       |    &&TARGET_TRACE_RECORD,
  |  |  431|       |    &&TARGET_TRACE_RECORD,
  |  |  432|       |    &&TARGET_TRACE_RECORD,
  |  |  433|       |    &&TARGET_TRACE_RECORD,
  |  |  434|       |    &&TARGET_TRACE_RECORD,
  |  |  435|       |    &&TARGET_TRACE_RECORD,
  |  |  436|       |    &&TARGET_TRACE_RECORD,
  |  |  437|       |    &&TARGET_TRACE_RECORD,
  |  |  438|       |    &&TARGET_TRACE_RECORD,
  |  |  439|       |    &&TARGET_TRACE_RECORD,
  |  |  440|       |    &&TARGET_TRACE_RECORD,
  |  |  441|       |    &&TARGET_TRACE_RECORD,
  |  |  442|       |    &&TARGET_TRACE_RECORD,
  |  |  443|       |    &&TARGET_TRACE_RECORD,
  |  |  444|       |    &&TARGET_TRACE_RECORD,
  |  |  445|       |    &&TARGET_TRACE_RECORD,
  |  |  446|       |    &&TARGET_TRACE_RECORD,
  |  |  447|       |    &&TARGET_TRACE_RECORD,
  |  |  448|       |    &&TARGET_TRACE_RECORD,
  |  |  449|       |    &&TARGET_TRACE_RECORD,
  |  |  450|       |    &&TARGET_TRACE_RECORD,
  |  |  451|       |    &&TARGET_TRACE_RECORD,
  |  |  452|       |    &&TARGET_TRACE_RECORD,
  |  |  453|       |    &&TARGET_TRACE_RECORD,
  |  |  454|       |    &&TARGET_TRACE_RECORD,
  |  |  455|       |    &&TARGET_TRACE_RECORD,
  |  |  456|       |    &&TARGET_TRACE_RECORD,
  |  |  457|       |    &&TARGET_TRACE_RECORD,
  |  |  458|       |    &&TARGET_TRACE_RECORD,
  |  |  459|       |    &&TARGET_TRACE_RECORD,
  |  |  460|       |    &&TARGET_TRACE_RECORD,
  |  |  461|       |    &&TARGET_TRACE_RECORD,
  |  |  462|       |    &&TARGET_TRACE_RECORD,
  |  |  463|       |    &&TARGET_TRACE_RECORD,
  |  |  464|       |    &&TARGET_TRACE_RECORD,
  |  |  465|       |    &&TARGET_TRACE_RECORD,
  |  |  466|       |    &&TARGET_TRACE_RECORD,
  |  |  467|       |    &&TARGET_TRACE_RECORD,
  |  |  468|       |    &&TARGET_TRACE_RECORD,
  |  |  469|       |    &&TARGET_TRACE_RECORD,
  |  |  470|       |    &&TARGET_TRACE_RECORD,
  |  |  471|       |    &&TARGET_TRACE_RECORD,
  |  |  472|       |    &&TARGET_TRACE_RECORD,
  |  |  473|       |    &&TARGET_TRACE_RECORD,
  |  |  474|       |    &&TARGET_TRACE_RECORD,
  |  |  475|       |    &&TARGET_TRACE_RECORD,
  |  |  476|       |    &&TARGET_TRACE_RECORD,
  |  |  477|       |    &&TARGET_TRACE_RECORD,
  |  |  478|       |    &&TARGET_TRACE_RECORD,
  |  |  479|       |    &&TARGET_TRACE_RECORD,
  |  |  480|       |    &&TARGET_TRACE_RECORD,
  |  |  481|       |    &&_unknown_opcode,
  |  |  482|       |    &&_unknown_opcode,
  |  |  483|       |    &&_unknown_opcode,
  |  |  484|       |    &&_unknown_opcode,
  |  |  485|       |    &&_unknown_opcode,
  |  |  486|       |    &&_unknown_opcode,
  |  |  487|       |    &&_unknown_opcode,
  |  |  488|       |    &&_unknown_opcode,
  |  |  489|       |    &&_unknown_opcode,
  |  |  490|       |    &&_unknown_opcode,
  |  |  491|       |    &&_unknown_opcode,
  |  |  492|       |    &&_unknown_opcode,
  |  |  493|       |    &&_unknown_opcode,
  |  |  494|       |    &&_unknown_opcode,
  |  |  495|       |    &&TARGET_TRACE_RECORD,
  |  |  496|       |    &&TARGET_TRACE_RECORD,
  |  |  497|       |    &&TARGET_TRACE_RECORD,
  |  |  498|       |    &&TARGET_TRACE_RECORD,
  |  |  499|       |    &&TARGET_TRACE_RECORD,
  |  |  500|       |    &&TARGET_TRACE_RECORD,
  |  |  501|       |    &&TARGET_TRACE_RECORD,
  |  |  502|       |    &&TARGET_TRACE_RECORD,
  |  |  503|       |    &&TARGET_TRACE_RECORD,
  |  |  504|       |    &&TARGET_TRACE_RECORD,
  |  |  505|       |    &&TARGET_TRACE_RECORD,
  |  |  506|       |    &&TARGET_TRACE_RECORD,
  |  |  507|       |    &&TARGET_TRACE_RECORD,
  |  |  508|       |    &&TARGET_TRACE_RECORD,
  |  |  509|       |    &&TARGET_TRACE_RECORD,
  |  |  510|       |    &&TARGET_TRACE_RECORD,
  |  |  511|       |    &&TARGET_TRACE_RECORD,
  |  |  512|       |    &&TARGET_TRACE_RECORD,
  |  |  513|       |    &&TARGET_TRACE_RECORD,
  |  |  514|       |    &&TARGET_TRACE_RECORD,
  |  |  515|       |    &&TARGET_TRACE_RECORD,
  |  |  516|       |    &&TARGET_TRACE_RECORD,
  |  |  517|       |    &&TARGET_TRACE_RECORD,
  |  |  518|       |};
  |  |  519|       |#endif
  |  |  520|       |#else /* _Py_TAIL_CALL_INTERP */
  |  |  521|       |static py_tail_call_funcptr instruction_funcptr_handler_table[256];
  |  |  522|       |
  |  |  523|       |static py_tail_call_funcptr instruction_funcptr_tracing_table[256];
  |  |  524|       |
  |  |  525|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_pop_2_error(TAIL_CALL_PARAMS);
  |  |  526|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_pop_1_error(TAIL_CALL_PARAMS);
  |  |  527|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_error(TAIL_CALL_PARAMS);
  |  |  528|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exception_unwind(TAIL_CALL_PARAMS);
  |  |  529|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exit_unwind(TAIL_CALL_PARAMS);
  |  |  530|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exit_unwind_notrace(TAIL_CALL_PARAMS);
  |  |  531|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_start_frame(TAIL_CALL_PARAMS);
  |  |  532|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_stop_tracing(TAIL_CALL_PARAMS);
  |  |  533|       |
  |  |  534|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP(TAIL_CALL_PARAMS);
  |  |  535|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_FLOAT(TAIL_CALL_PARAMS);
  |  |  536|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_INT(TAIL_CALL_PARAMS);
  |  |  537|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_UNICODE(TAIL_CALL_PARAMS);
  |  |  538|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_EXTEND(TAIL_CALL_PARAMS);
  |  |  539|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_INPLACE_ADD_UNICODE(TAIL_CALL_PARAMS);
  |  |  540|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_MULTIPLY_FLOAT(TAIL_CALL_PARAMS);
  |  |  541|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_MULTIPLY_INT(TAIL_CALL_PARAMS);
  |  |  542|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_DICT(TAIL_CALL_PARAMS);
  |  |  543|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_GETITEM(TAIL_CALL_PARAMS);
  |  |  544|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_LIST_INT(TAIL_CALL_PARAMS);
  |  |  545|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_LIST_SLICE(TAIL_CALL_PARAMS);
  |  |  546|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_STR_INT(TAIL_CALL_PARAMS);
  |  |  547|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_TUPLE_INT(TAIL_CALL_PARAMS);
  |  |  548|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_USTR_INT(TAIL_CALL_PARAMS);
  |  |  549|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBTRACT_FLOAT(TAIL_CALL_PARAMS);
  |  |  550|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBTRACT_INT(TAIL_CALL_PARAMS);
  |  |  551|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_SLICE(TAIL_CALL_PARAMS);
  |  |  552|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_INTERPOLATION(TAIL_CALL_PARAMS);
  |  |  553|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_LIST(TAIL_CALL_PARAMS);
  |  |  554|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_MAP(TAIL_CALL_PARAMS);
  |  |  555|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_SET(TAIL_CALL_PARAMS);
  |  |  556|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_SLICE(TAIL_CALL_PARAMS);
  |  |  557|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_STRING(TAIL_CALL_PARAMS);
  |  |  558|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_TEMPLATE(TAIL_CALL_PARAMS);
  |  |  559|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_TUPLE(TAIL_CALL_PARAMS);
  |  |  560|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CACHE(TAIL_CALL_PARAMS);
  |  |  561|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL(TAIL_CALL_PARAMS);
  |  |  562|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_ALLOC_AND_ENTER_INIT(TAIL_CALL_PARAMS);
  |  |  563|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BOUND_METHOD_EXACT_ARGS(TAIL_CALL_PARAMS);
  |  |  564|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BOUND_METHOD_GENERAL(TAIL_CALL_PARAMS);
  |  |  565|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_CLASS(TAIL_CALL_PARAMS);
  |  |  566|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_FAST(TAIL_CALL_PARAMS);
  |  |  567|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_FAST_WITH_KEYWORDS(TAIL_CALL_PARAMS);
  |  |  568|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_O(TAIL_CALL_PARAMS);
  |  |  569|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_EX_NON_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  570|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_EX_PY(TAIL_CALL_PARAMS);
  |  |  571|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_FUNCTION_EX(TAIL_CALL_PARAMS);
  |  |  572|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_INTRINSIC_1(TAIL_CALL_PARAMS);
  |  |  573|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_INTRINSIC_2(TAIL_CALL_PARAMS);
  |  |  574|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_ISINSTANCE(TAIL_CALL_PARAMS);
  |  |  575|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW(TAIL_CALL_PARAMS);
  |  |  576|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_BOUND_METHOD(TAIL_CALL_PARAMS);
  |  |  577|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_NON_PY(TAIL_CALL_PARAMS);
  |  |  578|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_PY(TAIL_CALL_PARAMS);
  |  |  579|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_LEN(TAIL_CALL_PARAMS);
  |  |  580|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_LIST_APPEND(TAIL_CALL_PARAMS);
  |  |  581|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST(TAIL_CALL_PARAMS);
  |  |  582|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS(TAIL_CALL_PARAMS);
  |  |  583|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_NOARGS(TAIL_CALL_PARAMS);
  |  |  584|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_O(TAIL_CALL_PARAMS);
  |  |  585|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_NON_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  586|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_PY_EXACT_ARGS(TAIL_CALL_PARAMS);
  |  |  587|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  588|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_STR_1(TAIL_CALL_PARAMS);
  |  |  589|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_TUPLE_1(TAIL_CALL_PARAMS);
  |  |  590|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_TYPE_1(TAIL_CALL_PARAMS);
  |  |  591|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CHECK_EG_MATCH(TAIL_CALL_PARAMS);
  |  |  592|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CHECK_EXC_MATCH(TAIL_CALL_PARAMS);
  |  |  593|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CLEANUP_THROW(TAIL_CALL_PARAMS);
  |  |  594|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP(TAIL_CALL_PARAMS);
  |  |  595|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_FLOAT(TAIL_CALL_PARAMS);
  |  |  596|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_INT(TAIL_CALL_PARAMS);
  |  |  597|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_STR(TAIL_CALL_PARAMS);
  |  |  598|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP(TAIL_CALL_PARAMS);
  |  |  599|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP_DICT(TAIL_CALL_PARAMS);
  |  |  600|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP_SET(TAIL_CALL_PARAMS);
  |  |  601|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONVERT_VALUE(TAIL_CALL_PARAMS);
  |  |  602|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COPY(TAIL_CALL_PARAMS);
  |  |  603|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COPY_FREE_VARS(TAIL_CALL_PARAMS);
  |  |  604|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_ATTR(TAIL_CALL_PARAMS);
  |  |  605|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_DEREF(TAIL_CALL_PARAMS);
  |  |  606|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_FAST(TAIL_CALL_PARAMS);
  |  |  607|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_GLOBAL(TAIL_CALL_PARAMS);
  |  |  608|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_NAME(TAIL_CALL_PARAMS);
  |  |  609|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  610|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_MERGE(TAIL_CALL_PARAMS);
  |  |  611|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_UPDATE(TAIL_CALL_PARAMS);
  |  |  612|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  613|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_FOR(TAIL_CALL_PARAMS);
  |  |  614|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_SEND(TAIL_CALL_PARAMS);
  |  |  615|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_ENTER_EXECUTOR(TAIL_CALL_PARAMS);
  |  |  616|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXIT_INIT_CHECK(TAIL_CALL_PARAMS);
  |  |  617|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXTENDED_ARG(TAIL_CALL_PARAMS);
  |  |  618|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_SIMPLE(TAIL_CALL_PARAMS);
  |  |  619|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_WITH_SPEC(TAIL_CALL_PARAMS);
  |  |  620|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  621|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_GEN(TAIL_CALL_PARAMS);
  |  |  622|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_LIST(TAIL_CALL_PARAMS);
  |  |  623|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_RANGE(TAIL_CALL_PARAMS);
  |  |  624|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_TUPLE(TAIL_CALL_PARAMS);
  |  |  625|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  626|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AITER(TAIL_CALL_PARAMS);
  |  |  627|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ANEXT(TAIL_CALL_PARAMS);
  |  |  628|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AWAITABLE(TAIL_CALL_PARAMS);
  |  |  629|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER(TAIL_CALL_PARAMS);
  |  |  630|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_SELF(TAIL_CALL_PARAMS);
  |  |  631|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  632|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_LEN(TAIL_CALL_PARAMS);
  |  |  633|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_FROM(TAIL_CALL_PARAMS);
  |  |  634|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_NAME(TAIL_CALL_PARAMS);
  |  |  635|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL(TAIL_CALL_PARAMS);
  |  |  636|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX(TAIL_CALL_PARAMS);
  |  |  637|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_KW(TAIL_CALL_PARAMS);
  |  |  638|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  639|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_FOR(TAIL_CALL_PARAMS);
  |  |  640|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_SEND(TAIL_CALL_PARAMS);
  |  |  641|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  642|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_INSTRUCTION(TAIL_CALL_PARAMS);
  |  |  643|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  644|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  645|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LINE(TAIL_CALL_PARAMS);
  |  |  646|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  647|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  648|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_ITER(TAIL_CALL_PARAMS);
  |  |  649|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  650|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  651|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  652|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  653|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RESUME(TAIL_CALL_PARAMS);
  |  |  654|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  655|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  656|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INTERPRETER_EXIT(TAIL_CALL_PARAMS);
  |  |  657|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IS_OP(TAIL_CALL_PARAMS);
  |  |  658|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  659|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_JIT(TAIL_CALL_PARAMS);
  |  |  660|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT(TAIL_CALL_PARAMS);
  |  |  661|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_JIT(TAIL_CALL_PARAMS);
  |  |  662|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  663|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_APPEND(TAIL_CALL_PARAMS);
  |  |  664|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_EXTEND(TAIL_CALL_PARAMS);
  |  |  665|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR(TAIL_CALL_PARAMS);
  |  |  666|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS(TAIL_CALL_PARAMS);
  |  |  667|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK(TAIL_CALL_PARAMS);
  |  |  668|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN(TAIL_CALL_PARAMS);
  |  |  669|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  670|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT(TAIL_CALL_PARAMS);
  |  |  671|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT(TAIL_CALL_PARAMS);
  |  |  672|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  673|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_MODULE(TAIL_CALL_PARAMS);
  |  |  674|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT(TAIL_CALL_PARAMS);
  |  |  675|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  676|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_PROPERTY(TAIL_CALL_PARAMS);
  |  |  677|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  678|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  679|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_BUILD_CLASS(TAIL_CALL_PARAMS);
  |  |  680|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_COMMON_CONSTANT(TAIL_CALL_PARAMS);
  |  |  681|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_CONST(TAIL_CALL_PARAMS);
  |  |  682|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_DEREF(TAIL_CALL_PARAMS);
  |  |  683|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  684|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_AND_CLEAR(TAIL_CALL_PARAMS);
  |  |  685|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  686|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  687|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_CHECK(TAIL_CALL_PARAMS);
  |  |  688|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  689|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF(TAIL_CALL_PARAMS);
  |  |  690|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS(TAIL_CALL_PARAMS);
  |  |  691|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL(TAIL_CALL_PARAMS);
  |  |  692|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_BUILTIN(TAIL_CALL_PARAMS);
  |  |  693|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_MODULE(TAIL_CALL_PARAMS);
  |  |  694|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_LOCALS(TAIL_CALL_PARAMS);
  |  |  695|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_NAME(TAIL_CALL_PARAMS);
  |  |  696|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SMALL_INT(TAIL_CALL_PARAMS);
  |  |  697|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SPECIAL(TAIL_CALL_PARAMS);
  |  |  698|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  699|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_ATTR(TAIL_CALL_PARAMS);
  |  |  700|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_METHOD(TAIL_CALL_PARAMS);
  |  |  701|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_CELL(TAIL_CALL_PARAMS);
  |  |  702|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_FUNCTION(TAIL_CALL_PARAMS);
  |  |  703|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAP_ADD(TAIL_CALL_PARAMS);
  |  |  704|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_CLASS(TAIL_CALL_PARAMS);
  |  |  705|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_KEYS(TAIL_CALL_PARAMS);
  |  |  706|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_MAPPING(TAIL_CALL_PARAMS);
  |  |  707|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  708|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOP(TAIL_CALL_PARAMS);
  |  |  709|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  710|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_EXCEPT(TAIL_CALL_PARAMS);
  |  |  711|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_ITER(TAIL_CALL_PARAMS);
  |  |  712|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  713|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  714|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  715|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  716|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_TOP(TAIL_CALL_PARAMS);
  |  |  717|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_EXC_INFO(TAIL_CALL_PARAMS);
  |  |  718|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_NULL(TAIL_CALL_PARAMS);
  |  |  719|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RAISE_VARARGS(TAIL_CALL_PARAMS);
  |  |  720|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RERAISE(TAIL_CALL_PARAMS);
  |  |  721|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESERVED(TAIL_CALL_PARAMS);
  |  |  722|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME(TAIL_CALL_PARAMS);
  |  |  723|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK(TAIL_CALL_PARAMS);
  |  |  724|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK_JIT(TAIL_CALL_PARAMS);
  |  |  725|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_GENERATOR(TAIL_CALL_PARAMS);
  |  |  726|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  727|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND(TAIL_CALL_PARAMS);
  |  |  728|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_ASYNC_GEN(TAIL_CALL_PARAMS);
  |  |  729|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_GEN(TAIL_CALL_PARAMS);
  |  |  730|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  731|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SETUP_ANNOTATIONS(TAIL_CALL_PARAMS);
  |  |  732|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_ADD(TAIL_CALL_PARAMS);
  |  |  733|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_FUNCTION_ATTRIBUTE(TAIL_CALL_PARAMS);
  |  |  734|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_UPDATE(TAIL_CALL_PARAMS);
  |  |  735|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR(TAIL_CALL_PARAMS);
  |  |  736|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  737|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  738|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  739|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_DEREF(TAIL_CALL_PARAMS);
  |  |  740|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  741|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  742|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  743|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_GLOBAL(TAIL_CALL_PARAMS);
  |  |  744|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_NAME(TAIL_CALL_PARAMS);
  |  |  745|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SLICE(TAIL_CALL_PARAMS);
  |  |  746|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  747|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_DICT(TAIL_CALL_PARAMS);
  |  |  748|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_LIST_INT(TAIL_CALL_PARAMS);
  |  |  749|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SWAP(TAIL_CALL_PARAMS);
  |  |  750|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL(TAIL_CALL_PARAMS);
  |  |  751|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_ALWAYS_TRUE(TAIL_CALL_PARAMS);
  |  |  752|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_BOOL(TAIL_CALL_PARAMS);
  |  |  753|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_INT(TAIL_CALL_PARAMS);
  |  |  754|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_LIST(TAIL_CALL_PARAMS);
  |  |  755|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_NONE(TAIL_CALL_PARAMS);
  |  |  756|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_STR(TAIL_CALL_PARAMS);
  |  |  757|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TRACE_RECORD(TAIL_CALL_PARAMS);
  |  |  758|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_INVERT(TAIL_CALL_PARAMS);
  |  |  759|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NEGATIVE(TAIL_CALL_PARAMS);
  |  |  760|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NOT(TAIL_CALL_PARAMS);
  |  |  761|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_EX(TAIL_CALL_PARAMS);
  |  |  762|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  763|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_LIST(TAIL_CALL_PARAMS);
  |  |  764|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TUPLE(TAIL_CALL_PARAMS);
  |  |  765|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE(TAIL_CALL_PARAMS);
  |  |  766|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_WITH_EXCEPT_START(TAIL_CALL_PARAMS);
  |  |  767|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  768|       |
  |  |  769|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNKNOWN_OPCODE(TAIL_CALL_PARAMS) {
  |  |  770|       |    int opcode = next_instr->op.code;
  |  |  771|       |    _PyErr_Format(tstate, PyExc_SystemError,
  |  |  772|       |              "%U:%d: unknown opcode %d",
  |  |  773|       |              _PyFrame_GetCode(frame)->co_filename,
  |  |  774|       |              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |  775|       |              opcode);
  |  |  776|       |JUMP_TO_LABEL(error);
  |  |  777|       |}
  |  |  778|       |
  |  |  779|       |static py_tail_call_funcptr instruction_funcptr_handler_table[256] = {
  |  |  780|       |    [BINARY_OP] = _TAIL_CALL_BINARY_OP,
  |  |  781|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_BINARY_OP_ADD_FLOAT,
  |  |  782|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_BINARY_OP_ADD_INT,
  |  |  783|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_ADD_UNICODE,
  |  |  784|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_BINARY_OP_EXTEND,
  |  |  785|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |  786|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_BINARY_OP_MULTIPLY_FLOAT,
  |  |  787|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_BINARY_OP_MULTIPLY_INT,
  |  |  788|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_BINARY_OP_SUBSCR_DICT,
  |  |  789|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_BINARY_OP_SUBSCR_GETITEM,
  |  |  790|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_INT,
  |  |  791|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  792|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_STR_INT,
  |  |  793|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  794|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_USTR_INT,
  |  |  795|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_BINARY_OP_SUBTRACT_FLOAT,
  |  |  796|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_BINARY_OP_SUBTRACT_INT,
  |  |  797|       |    [BINARY_SLICE] = _TAIL_CALL_BINARY_SLICE,
  |  |  798|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_BUILD_INTERPOLATION,
  |  |  799|       |    [BUILD_LIST] = _TAIL_CALL_BUILD_LIST,
  |  |  800|       |    [BUILD_MAP] = _TAIL_CALL_BUILD_MAP,
  |  |  801|       |    [BUILD_SET] = _TAIL_CALL_BUILD_SET,
  |  |  802|       |    [BUILD_SLICE] = _TAIL_CALL_BUILD_SLICE,
  |  |  803|       |    [BUILD_STRING] = _TAIL_CALL_BUILD_STRING,
  |  |  804|       |    [BUILD_TEMPLATE] = _TAIL_CALL_BUILD_TEMPLATE,
  |  |  805|       |    [BUILD_TUPLE] = _TAIL_CALL_BUILD_TUPLE,
  |  |  806|       |    [CACHE] = _TAIL_CALL_CACHE,
  |  |  807|       |    [CALL] = _TAIL_CALL_CALL,
  |  |  808|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_CALL_ALLOC_AND_ENTER_INIT,
  |  |  809|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  810|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_CALL_BOUND_METHOD_GENERAL,
  |  |  811|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_CALL_BUILTIN_CLASS,
  |  |  812|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_CALL_BUILTIN_FAST,
  |  |  813|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  814|       |    [CALL_BUILTIN_O] = _TAIL_CALL_CALL_BUILTIN_O,
  |  |  815|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_CALL_EX_NON_PY_GENERAL,
  |  |  816|       |    [CALL_EX_PY] = _TAIL_CALL_CALL_EX_PY,
  |  |  817|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_CALL_FUNCTION_EX,
  |  |  818|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_CALL_INTRINSIC_1,
  |  |  819|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_CALL_INTRINSIC_2,
  |  |  820|       |    [CALL_ISINSTANCE] = _TAIL_CALL_CALL_ISINSTANCE,
  |  |  821|       |    [CALL_KW] = _TAIL_CALL_CALL_KW,
  |  |  822|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_CALL_KW_BOUND_METHOD,
  |  |  823|       |    [CALL_KW_NON_PY] = _TAIL_CALL_CALL_KW_NON_PY,
  |  |  824|       |    [CALL_KW_PY] = _TAIL_CALL_CALL_KW_PY,
  |  |  825|       |    [CALL_LEN] = _TAIL_CALL_CALL_LEN,
  |  |  826|       |    [CALL_LIST_APPEND] = _TAIL_CALL_CALL_LIST_APPEND,
  |  |  827|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  828|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  829|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  830|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_O,
  |  |  831|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_CALL_NON_PY_GENERAL,
  |  |  832|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_CALL_PY_EXACT_ARGS,
  |  |  833|       |    [CALL_PY_GENERAL] = _TAIL_CALL_CALL_PY_GENERAL,
  |  |  834|       |    [CALL_STR_1] = _TAIL_CALL_CALL_STR_1,
  |  |  835|       |    [CALL_TUPLE_1] = _TAIL_CALL_CALL_TUPLE_1,
  |  |  836|       |    [CALL_TYPE_1] = _TAIL_CALL_CALL_TYPE_1,
  |  |  837|       |    [CHECK_EG_MATCH] = _TAIL_CALL_CHECK_EG_MATCH,
  |  |  838|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_CHECK_EXC_MATCH,
  |  |  839|       |    [CLEANUP_THROW] = _TAIL_CALL_CLEANUP_THROW,
  |  |  840|       |    [COMPARE_OP] = _TAIL_CALL_COMPARE_OP,
  |  |  841|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_COMPARE_OP_FLOAT,
  |  |  842|       |    [COMPARE_OP_INT] = _TAIL_CALL_COMPARE_OP_INT,
  |  |  843|       |    [COMPARE_OP_STR] = _TAIL_CALL_COMPARE_OP_STR,
  |  |  844|       |    [CONTAINS_OP] = _TAIL_CALL_CONTAINS_OP,
  |  |  845|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_CONTAINS_OP_DICT,
  |  |  846|       |    [CONTAINS_OP_SET] = _TAIL_CALL_CONTAINS_OP_SET,
  |  |  847|       |    [CONVERT_VALUE] = _TAIL_CALL_CONVERT_VALUE,
  |  |  848|       |    [COPY] = _TAIL_CALL_COPY,
  |  |  849|       |    [COPY_FREE_VARS] = _TAIL_CALL_COPY_FREE_VARS,
  |  |  850|       |    [DELETE_ATTR] = _TAIL_CALL_DELETE_ATTR,
  |  |  851|       |    [DELETE_DEREF] = _TAIL_CALL_DELETE_DEREF,
  |  |  852|       |    [DELETE_FAST] = _TAIL_CALL_DELETE_FAST,
  |  |  853|       |    [DELETE_GLOBAL] = _TAIL_CALL_DELETE_GLOBAL,
  |  |  854|       |    [DELETE_NAME] = _TAIL_CALL_DELETE_NAME,
  |  |  855|       |    [DELETE_SUBSCR] = _TAIL_CALL_DELETE_SUBSCR,
  |  |  856|       |    [DICT_MERGE] = _TAIL_CALL_DICT_MERGE,
  |  |  857|       |    [DICT_UPDATE] = _TAIL_CALL_DICT_UPDATE,
  |  |  858|       |    [END_ASYNC_FOR] = _TAIL_CALL_END_ASYNC_FOR,
  |  |  859|       |    [END_FOR] = _TAIL_CALL_END_FOR,
  |  |  860|       |    [END_SEND] = _TAIL_CALL_END_SEND,
  |  |  861|       |    [ENTER_EXECUTOR] = _TAIL_CALL_ENTER_EXECUTOR,
  |  |  862|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_EXIT_INIT_CHECK,
  |  |  863|       |    [EXTENDED_ARG] = _TAIL_CALL_EXTENDED_ARG,
  |  |  864|       |    [FORMAT_SIMPLE] = _TAIL_CALL_FORMAT_SIMPLE,
  |  |  865|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_FORMAT_WITH_SPEC,
  |  |  866|       |    [FOR_ITER] = _TAIL_CALL_FOR_ITER,
  |  |  867|       |    [FOR_ITER_GEN] = _TAIL_CALL_FOR_ITER_GEN,
  |  |  868|       |    [FOR_ITER_LIST] = _TAIL_CALL_FOR_ITER_LIST,
  |  |  869|       |    [FOR_ITER_RANGE] = _TAIL_CALL_FOR_ITER_RANGE,
  |  |  870|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_FOR_ITER_TUPLE,
  |  |  871|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_FOR_ITER_VIRTUAL,
  |  |  872|       |    [GET_AITER] = _TAIL_CALL_GET_AITER,
  |  |  873|       |    [GET_ANEXT] = _TAIL_CALL_GET_ANEXT,
  |  |  874|       |    [GET_AWAITABLE] = _TAIL_CALL_GET_AWAITABLE,
  |  |  875|       |    [GET_ITER] = _TAIL_CALL_GET_ITER,
  |  |  876|       |    [GET_ITER_SELF] = _TAIL_CALL_GET_ITER_SELF,
  |  |  877|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_GET_ITER_VIRTUAL,
  |  |  878|       |    [GET_LEN] = _TAIL_CALL_GET_LEN,
  |  |  879|       |    [IMPORT_FROM] = _TAIL_CALL_IMPORT_FROM,
  |  |  880|       |    [IMPORT_NAME] = _TAIL_CALL_IMPORT_NAME,
  |  |  881|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_INSTRUMENTED_CALL,
  |  |  882|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  883|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_INSTRUMENTED_CALL_KW,
  |  |  884|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR,
  |  |  885|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_INSTRUMENTED_END_FOR,
  |  |  886|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_INSTRUMENTED_END_SEND,
  |  |  887|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_INSTRUMENTED_FOR_ITER,
  |  |  888|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_INSTRUMENTED_INSTRUCTION,
  |  |  889|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD,
  |  |  890|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD,
  |  |  891|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_INSTRUMENTED_LINE,
  |  |  892|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  893|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_INSTRUMENTED_NOT_TAKEN,
  |  |  894|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_INSTRUMENTED_POP_ITER,
  |  |  895|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  896|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  897|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  898|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  899|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_INSTRUMENTED_RESUME,
  |  |  900|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_INSTRUMENTED_RETURN_VALUE,
  |  |  901|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_INSTRUMENTED_YIELD_VALUE,
  |  |  902|       |    [INTERPRETER_EXIT] = _TAIL_CALL_INTERPRETER_EXIT,
  |  |  903|       |    [IS_OP] = _TAIL_CALL_IS_OP,
  |  |  904|       |    [JUMP_BACKWARD] = _TAIL_CALL_JUMP_BACKWARD,
  |  |  905|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_JUMP_BACKWARD_JIT,
  |  |  906|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT,
  |  |  907|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_JUMP_BACKWARD_NO_JIT,
  |  |  908|       |    [JUMP_FORWARD] = _TAIL_CALL_JUMP_FORWARD,
  |  |  909|       |    [LIST_APPEND] = _TAIL_CALL_LIST_APPEND,
  |  |  910|       |    [LIST_EXTEND] = _TAIL_CALL_LIST_EXTEND,
  |  |  911|       |    [LOAD_ATTR] = _TAIL_CALL_LOAD_ATTR,
  |  |  912|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_LOAD_ATTR_CLASS,
  |  |  913|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  914|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  915|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE,
  |  |  916|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  917|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT,
  |  |  918|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  919|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_LOAD_ATTR_MODULE,
  |  |  920|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  921|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  922|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_LOAD_ATTR_PROPERTY,
  |  |  923|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_LOAD_ATTR_SLOT,
  |  |  924|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_LOAD_ATTR_WITH_HINT,
  |  |  925|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_LOAD_BUILD_CLASS,
  |  |  926|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_LOAD_COMMON_CONSTANT,
  |  |  927|       |    [LOAD_CONST] = _TAIL_CALL_LOAD_CONST,
  |  |  928|       |    [LOAD_DEREF] = _TAIL_CALL_LOAD_DEREF,
  |  |  929|       |    [LOAD_FAST] = _TAIL_CALL_LOAD_FAST,
  |  |  930|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_LOAD_FAST_AND_CLEAR,
  |  |  931|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW,
  |  |  932|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |  933|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_LOAD_FAST_CHECK,
  |  |  934|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_LOAD_FAST_LOAD_FAST,
  |  |  935|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF,
  |  |  936|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS,
  |  |  937|       |    [LOAD_GLOBAL] = _TAIL_CALL_LOAD_GLOBAL,
  |  |  938|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_LOAD_GLOBAL_BUILTIN,
  |  |  939|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_LOAD_GLOBAL_MODULE,
  |  |  940|       |    [LOAD_LOCALS] = _TAIL_CALL_LOAD_LOCALS,
  |  |  941|       |    [LOAD_NAME] = _TAIL_CALL_LOAD_NAME,
  |  |  942|       |    [LOAD_SMALL_INT] = _TAIL_CALL_LOAD_SMALL_INT,
  |  |  943|       |    [LOAD_SPECIAL] = _TAIL_CALL_LOAD_SPECIAL,
  |  |  944|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR,
  |  |  945|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR_ATTR,
  |  |  946|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_LOAD_SUPER_ATTR_METHOD,
  |  |  947|       |    [MAKE_CELL] = _TAIL_CALL_MAKE_CELL,
  |  |  948|       |    [MAKE_FUNCTION] = _TAIL_CALL_MAKE_FUNCTION,
  |  |  949|       |    [MAP_ADD] = _TAIL_CALL_MAP_ADD,
  |  |  950|       |    [MATCH_CLASS] = _TAIL_CALL_MATCH_CLASS,
  |  |  951|       |    [MATCH_KEYS] = _TAIL_CALL_MATCH_KEYS,
  |  |  952|       |    [MATCH_MAPPING] = _TAIL_CALL_MATCH_MAPPING,
  |  |  953|       |    [MATCH_SEQUENCE] = _TAIL_CALL_MATCH_SEQUENCE,
  |  |  954|       |    [NOP] = _TAIL_CALL_NOP,
  |  |  955|       |    [NOT_TAKEN] = _TAIL_CALL_NOT_TAKEN,
  |  |  956|       |    [POP_EXCEPT] = _TAIL_CALL_POP_EXCEPT,
  |  |  957|       |    [POP_ITER] = _TAIL_CALL_POP_ITER,
  |  |  958|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_POP_JUMP_IF_FALSE,
  |  |  959|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_POP_JUMP_IF_NONE,
  |  |  960|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_POP_JUMP_IF_NOT_NONE,
  |  |  961|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_POP_JUMP_IF_TRUE,
  |  |  962|       |    [POP_TOP] = _TAIL_CALL_POP_TOP,
  |  |  963|       |    [PUSH_EXC_INFO] = _TAIL_CALL_PUSH_EXC_INFO,
  |  |  964|       |    [PUSH_NULL] = _TAIL_CALL_PUSH_NULL,
  |  |  965|       |    [RAISE_VARARGS] = _TAIL_CALL_RAISE_VARARGS,
  |  |  966|       |    [RERAISE] = _TAIL_CALL_RERAISE,
  |  |  967|       |    [RESERVED] = _TAIL_CALL_RESERVED,
  |  |  968|       |    [RESUME] = _TAIL_CALL_RESUME,
  |  |  969|       |    [RESUME_CHECK] = _TAIL_CALL_RESUME_CHECK,
  |  |  970|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_RESUME_CHECK_JIT,
  |  |  971|       |    [RETURN_GENERATOR] = _TAIL_CALL_RETURN_GENERATOR,
  |  |  972|       |    [RETURN_VALUE] = _TAIL_CALL_RETURN_VALUE,
  |  |  973|       |    [SEND] = _TAIL_CALL_SEND,
  |  |  974|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_SEND_ASYNC_GEN,
  |  |  975|       |    [SEND_GEN] = _TAIL_CALL_SEND_GEN,
  |  |  976|       |    [SEND_VIRTUAL] = _TAIL_CALL_SEND_VIRTUAL,
  |  |  977|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_SETUP_ANNOTATIONS,
  |  |  978|       |    [SET_ADD] = _TAIL_CALL_SET_ADD,
  |  |  979|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_SET_FUNCTION_ATTRIBUTE,
  |  |  980|       |    [SET_UPDATE] = _TAIL_CALL_SET_UPDATE,
  |  |  981|       |    [STORE_ATTR] = _TAIL_CALL_STORE_ATTR,
  |  |  982|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE,
  |  |  983|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_STORE_ATTR_SLOT,
  |  |  984|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_STORE_ATTR_WITH_HINT,
  |  |  985|       |    [STORE_DEREF] = _TAIL_CALL_STORE_DEREF,
  |  |  986|       |    [STORE_FAST] = _TAIL_CALL_STORE_FAST,
  |  |  987|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_STORE_FAST_LOAD_FAST,
  |  |  988|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_STORE_FAST_STORE_FAST,
  |  |  989|       |    [STORE_GLOBAL] = _TAIL_CALL_STORE_GLOBAL,
  |  |  990|       |    [STORE_NAME] = _TAIL_CALL_STORE_NAME,
  |  |  991|       |    [STORE_SLICE] = _TAIL_CALL_STORE_SLICE,
  |  |  992|       |    [STORE_SUBSCR] = _TAIL_CALL_STORE_SUBSCR,
  |  |  993|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_STORE_SUBSCR_DICT,
  |  |  994|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_STORE_SUBSCR_LIST_INT,
  |  |  995|       |    [SWAP] = _TAIL_CALL_SWAP,
  |  |  996|       |    [TO_BOOL] = _TAIL_CALL_TO_BOOL,
  |  |  997|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TO_BOOL_ALWAYS_TRUE,
  |  |  998|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TO_BOOL_BOOL,
  |  |  999|       |    [TO_BOOL_INT] = _TAIL_CALL_TO_BOOL_INT,
  |  | 1000|       |    [TO_BOOL_LIST] = _TAIL_CALL_TO_BOOL_LIST,
  |  | 1001|       |    [TO_BOOL_NONE] = _TAIL_CALL_TO_BOOL_NONE,
  |  | 1002|       |    [TO_BOOL_STR] = _TAIL_CALL_TO_BOOL_STR,
  |  | 1003|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1004|       |    [UNARY_INVERT] = _TAIL_CALL_UNARY_INVERT,
  |  | 1005|       |    [UNARY_NEGATIVE] = _TAIL_CALL_UNARY_NEGATIVE,
  |  | 1006|       |    [UNARY_NOT] = _TAIL_CALL_UNARY_NOT,
  |  | 1007|       |    [UNPACK_EX] = _TAIL_CALL_UNPACK_EX,
  |  | 1008|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_UNPACK_SEQUENCE,
  |  | 1009|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_UNPACK_SEQUENCE_LIST,
  |  | 1010|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TUPLE,
  |  | 1011|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE,
  |  | 1012|       |    [WITH_EXCEPT_START] = _TAIL_CALL_WITH_EXCEPT_START,
  |  | 1013|       |    [YIELD_VALUE] = _TAIL_CALL_YIELD_VALUE,
  |  | 1014|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1015|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1016|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1017|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1018|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1019|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1020|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1021|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1022|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1023|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1024|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1025|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1026|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1027|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1028|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1029|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1030|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1031|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1032|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1033|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1034|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1035|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1036|       |};
  |  | 1037|       |static py_tail_call_funcptr instruction_funcptr_tracing_table[256] = {
  |  | 1038|       |    [BINARY_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1039|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1040|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1041|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1042|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1043|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1044|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1045|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1046|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1047|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1048|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1049|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1050|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1051|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1052|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1053|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1054|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1055|       |    [BINARY_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1056|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1057|       |    [BUILD_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1058|       |    [BUILD_MAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1059|       |    [BUILD_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1060|       |    [BUILD_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1061|       |    [BUILD_STRING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1062|       |    [BUILD_TEMPLATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1063|       |    [BUILD_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1064|       |    [CACHE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1065|       |    [CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1066|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1067|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1068|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1069|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1070|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1071|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1072|       |    [CALL_BUILTIN_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1073|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1074|       |    [CALL_EX_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1075|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1076|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1077|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_TRACE_RECORD,
  |  | 1078|       |    [CALL_ISINSTANCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1079|       |    [CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1080|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1081|       |    [CALL_KW_NON_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1082|       |    [CALL_KW_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1083|       |    [CALL_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1084|       |    [CALL_LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1085|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1086|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1087|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1088|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1089|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1090|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1091|       |    [CALL_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1092|       |    [CALL_STR_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1093|       |    [CALL_TUPLE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1094|       |    [CALL_TYPE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1095|       |    [CHECK_EG_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1096|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1097|       |    [CLEANUP_THROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1098|       |    [COMPARE_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1099|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1100|       |    [COMPARE_OP_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1101|       |    [COMPARE_OP_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1102|       |    [CONTAINS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1103|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1104|       |    [CONTAINS_OP_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1105|       |    [CONVERT_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1106|       |    [COPY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1107|       |    [COPY_FREE_VARS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1108|       |    [DELETE_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1109|       |    [DELETE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1110|       |    [DELETE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1111|       |    [DELETE_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1112|       |    [DELETE_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1113|       |    [DELETE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1114|       |    [DICT_MERGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1115|       |    [DICT_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1116|       |    [END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1117|       |    [END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1118|       |    [END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1119|       |    [ENTER_EXECUTOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1120|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1121|       |    [EXTENDED_ARG] = _TAIL_CALL_TRACE_RECORD,
  |  | 1122|       |    [FORMAT_SIMPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1123|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_TRACE_RECORD,
  |  | 1124|       |    [FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1125|       |    [FOR_ITER_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1126|       |    [FOR_ITER_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1127|       |    [FOR_ITER_RANGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1128|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1129|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1130|       |    [GET_AITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1131|       |    [GET_ANEXT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1132|       |    [GET_AWAITABLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1133|       |    [GET_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1134|       |    [GET_ITER_SELF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1135|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1136|       |    [GET_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1137|       |    [IMPORT_FROM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1138|       |    [IMPORT_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1139|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1140|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1141|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1142|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1143|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1144|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1145|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1146|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1147|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1148|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1149|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1150|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1151|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1152|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1153|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1154|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1155|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1156|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1157|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1158|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1159|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1160|       |    [INTERPRETER_EXIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1161|       |    [IS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1162|       |    [JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1163|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1164|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1165|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1166|       |    [JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1167|       |    [LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1168|       |    [LIST_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1169|       |    [LOAD_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1170|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1171|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1172|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1173|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1174|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1175|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1176|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1177|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1178|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1179|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1180|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1181|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1182|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1183|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1184|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1185|       |    [LOAD_CONST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1186|       |    [LOAD_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1187|       |    [LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1188|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1189|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1190|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1191|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1192|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1193|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1194|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1195|       |    [LOAD_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1196|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1197|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1198|       |    [LOAD_LOCALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1199|       |    [LOAD_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1200|       |    [LOAD_SMALL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1201|       |    [LOAD_SPECIAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1202|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1203|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1204|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1205|       |    [MAKE_CELL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1206|       |    [MAKE_FUNCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1207|       |    [MAP_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1208|       |    [MATCH_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1209|       |    [MATCH_KEYS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1210|       |    [MATCH_MAPPING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1211|       |    [MATCH_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1212|       |    [NOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1213|       |    [NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1214|       |    [POP_EXCEPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1215|       |    [POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1216|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1217|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1218|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1219|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1220|       |    [POP_TOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1221|       |    [PUSH_EXC_INFO] = _TAIL_CALL_TRACE_RECORD,
  |  | 1222|       |    [PUSH_NULL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1223|       |    [RAISE_VARARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1224|       |    [RERAISE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1225|       |    [RESERVED] = _TAIL_CALL_TRACE_RECORD,
  |  | 1226|       |    [RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1227|       |    [RESUME_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1228|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1229|       |    [RETURN_GENERATOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1230|       |    [RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1231|       |    [SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1232|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1233|       |    [SEND_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1234|       |    [SEND_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1235|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1236|       |    [SET_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1237|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1238|       |    [SET_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1239|       |    [STORE_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1240|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1241|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1242|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1243|       |    [STORE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1244|       |    [STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1245|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1246|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1247|       |    [STORE_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1248|       |    [STORE_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1249|       |    [STORE_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1250|       |    [STORE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1251|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1252|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1253|       |    [SWAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1254|       |    [TO_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1255|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1256|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1257|       |    [TO_BOOL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1258|       |    [TO_BOOL_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1259|       |    [TO_BOOL_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1260|       |    [TO_BOOL_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1261|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1262|       |    [UNARY_INVERT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1263|       |    [UNARY_NEGATIVE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1264|       |    [UNARY_NOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1265|       |    [UNPACK_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1266|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1267|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1268|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1269|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1270|       |    [WITH_EXCEPT_START] = _TAIL_CALL_TRACE_RECORD,
  |  | 1271|       |    [YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1272|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1273|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1274|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1275|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1276|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1277|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1278|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1279|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1280|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1281|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1282|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1283|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1284|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1285|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1286|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1287|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1288|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1289|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1290|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1291|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1292|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1293|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1294|       |};
  |  | 1295|       |#endif /* _Py_TAIL_CALL_INTERP */
  ------------------
 1205|  5.46M|    void **opcode_targets = opcode_targets_table;
 1206|  5.46M|#endif
 1207|       |
 1208|       |#ifdef Py_STATS
 1209|       |    int lastopcode = 0;
 1210|       |#endif
 1211|  5.46M|#if !_Py_TAIL_CALL_INTERP
 1212|  5.46M|    uint8_t opcode;    /* Current opcode */
 1213|  5.46M|    int oparg;         /* Current opcode argument, if any */
 1214|  5.46M|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 1215|       |#if !USE_COMPUTED_GOTOS
 1216|       |    uint8_t tracing_mode = 0;
 1217|       |    uint8_t dispatch_code;
 1218|       |#endif
 1219|  5.46M|#endif
 1220|  5.46M|    _PyEntryFrame entry;
 1221|       |
 1222|  5.46M|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 5.46M]
  ------------------
 1223|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
 1224|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1225|      0|        return NULL;
 1226|      0|    }
 1227|       |
 1228|       |    /* Local "register" variables.
 1229|       |     * These are cached values from the frame and code object.  */
 1230|  5.46M|    _Py_CODEUNIT *next_instr;
 1231|  5.46M|    _PyStackRef *stack_pointer;
 1232|  5.46M|    entry.stack[0] = PyStackRef_NULL;
 1233|       |#ifdef Py_STACKREF_DEBUG
 1234|       |    entry.frame.f_funcobj = PyStackRef_None;
 1235|       |#elif defined(Py_DEBUG)
 1236|       |    /* Set these to invalid but identifiable values for debugging. */
 1237|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1238|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1239|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1240|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1241|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1242|       |#endif
 1243|  5.46M|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  5.46M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  5.46M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1244|  5.46M|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1245|  5.46M|    entry.frame.stackpointer = entry.stack;
 1246|  5.46M|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1247|  5.46M|    entry.frame.visited = 0;
 1248|  5.46M|    entry.frame.return_offset = 0;
 1249|       |#ifdef Py_DEBUG
 1250|       |    entry.frame.lltrace = 0;
 1251|       |#endif
 1252|       |    /* Push frame */
 1253|  5.46M|    entry.frame.previous = tstate->current_frame;
 1254|  5.46M|    frame->previous = &entry.frame;
 1255|  5.46M|    tstate->current_frame = frame;
 1256|  5.46M|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1257|       |#ifdef _Py_TIER2
 1258|       |    if (tstate->current_executor != NULL) {
 1259|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1260|       |        tstate->current_executor = NULL;
 1261|       |    }
 1262|       |#endif
 1263|       |
 1264|       |    /* support for generator.throw() */
 1265|  5.46M|    if (throwflag) {
  ------------------
  |  Branch (1265:9): [True: 23.5k, False: 5.44M]
  ------------------
 1266|  23.5k|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1266:13): [True: 0, False: 23.5k]
  ------------------
 1267|      0|            goto early_exit;
 1268|      0|        }
 1269|       |#ifdef Py_GIL_DISABLED
 1270|       |        /* Load thread-local bytecode */
 1271|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1272|       |            _Py_CODEUNIT *bytecode =
 1273|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1274|       |            if (bytecode == NULL) {
 1275|       |                goto early_exit;
 1276|       |            }
 1277|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1278|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1279|       |            frame->instr_ptr = bytecode + off;
 1280|       |        }
 1281|       |#endif
 1282|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1283|  23.5k|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1284|  23.5k|        next_instr = frame->instr_ptr;
 1285|  23.5k|        monitor_throw(tstate, frame, next_instr);
 1286|  23.5k|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1287|       |#if _Py_TAIL_CALL_INTERP
 1288|       |#   if Py_STATS
 1289|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1290|       |#   else
 1291|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1292|       |#   endif
 1293|       |#else
 1294|  23.5k|        goto error;
 1295|  23.5k|#endif
 1296|  23.5k|    }
 1297|       |
 1298|       |#if _Py_TAIL_CALL_INTERP
 1299|       |#   if Py_STATS
 1300|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1301|       |#   else
 1302|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1303|       |#   endif
 1304|       |#else
 1305|  5.44M|    goto start_frame;
 1306|  5.44M|#   include "generated_cases.c.h"
  ------------------
  |  |    1|       |// This file is generated by Tools/cases_generator/tier1_generator.py
  |  |    2|       |// from:
  |  |    3|       |//   Python/bytecodes.c
  |  |    4|       |// Do not edit!
  |  |    5|       |
  |  |    6|       |#ifdef TIER_TWO
  |  |    7|       |    #error "This file is for Tier 1 only"
  |  |    8|       |#endif
  |  |    9|      0|#define TIER_ONE 1
  |  |   10|       |
  |  |   11|      0|#if !_Py_TAIL_CALL_INTERP
  |  |   12|       |#if !USE_COMPUTED_GOTOS
  |  |   13|       |    dispatch_opcode:
  |  |   14|       |        switch (dispatch_code)
  |  |   15|       |#endif
  |  |   16|      0|        {
  |  |   17|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |   18|       |            /* BEGIN INSTRUCTIONS */
  |  |   19|       |
  |  |   20|       |
  |  |   21|  34.9M|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  34.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  34.9M|            frame->instr_ptr = next_instr;
  |  |   27|  34.9M|            next_instr += 6;
  |  |   28|  34.9M|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  34.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  35.0M|            PREDICTED_BINARY_OP:;
  |  |   30|  35.0M|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  35.0M|            (void)this_instr;
  |  |   32|  35.0M|            _PyStackRef lhs;
  |  |   33|  35.0M|            _PyStackRef rhs;
  |  |   34|  35.0M|            _PyStackRef res;
  |  |   35|  35.0M|            _PyStackRef l;
  |  |   36|  35.0M|            _PyStackRef r;
  |  |   37|  35.0M|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  35.0M|            {
  |  |   40|  35.0M|                rhs = stack_pointer[-1];
  |  |   41|  35.0M|                lhs = stack_pointer[-2];
  |  |   42|  35.0M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  35.0M|                (void)counter;
  |  |   44|  35.0M|                #if ENABLE_SPECIALIZATION
  |  |   45|  35.0M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  35.0M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 7.16k, False: 35.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  7.16k|                    next_instr = this_instr;
  |  |   47|  7.16k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|  7.16k|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  283|  7.16k|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   49|  7.16k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   50|  7.16k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  7.16k|    { \
  |  |  |  |  217|  7.16k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  7.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  7.16k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  7.16k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  7.16k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  7.16k|    }
  |  |  ------------------
  |  |   51|  7.16k|                }
  |  |   52|  35.0M|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  35.0M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   53|  35.0M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  35.0M|    do { \
  |  |  |  |  358|  35.0M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  35.0M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 35.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   54|  35.0M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   55|  35.0M|                assert(NB_ADD <= oparg);
  |  |   56|  35.0M|                assert(oparg <= NB_OPARG_LAST);
  |  |   57|  35.0M|            }
  |  |   58|       |            /* Skip 4 cache entries */
  |  |   59|       |            // _BINARY_OP
  |  |   60|  35.0M|            {
  |  |   61|  35.0M|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   62|  35.0M|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   63|  35.0M|                assert(_PyEval_BinaryOps[oparg]);
  |  |   64|  35.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   65|  35.0M|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   66|  35.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   67|  35.0M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (67:21): [True: 852, False: 35.0M]
  |  |  ------------------
  |  |   68|    852|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    852|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   69|      0|                }
  |  |   70|  35.0M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   71|  35.0M|                l = lhs;
  |  |   72|  35.0M|                r = rhs;
  |  |   73|  35.0M|            }
  |  |   74|       |            // _POP_TOP
  |  |   75|      0|            {
  |  |   76|  35.0M|                value = r;
  |  |   77|  35.0M|                stack_pointer[-2] = res;
  |  |   78|  35.0M|                stack_pointer[-1] = l;
  |  |   79|  35.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   80|  35.0M|                PyStackRef_XCLOSE(value);
  |  |   81|  35.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   82|  35.0M|            }
  |  |   83|       |            // _POP_TOP
  |  |   84|  35.0M|            {
  |  |   85|  35.0M|                value = l;
  |  |   86|  35.0M|                stack_pointer += -1;
  |  |   87|  35.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   88|  35.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   89|  35.0M|                PyStackRef_XCLOSE(value);
  |  |   90|  35.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   91|  35.0M|            }
  |  |   92|  35.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.0M|    { \
  |  |  |  |  201|  35.0M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  35.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  35.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  35.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  35.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  35.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  35.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  35.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 35.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.0M|    }
  |  |  ------------------
  |  |   93|  35.0M|        }
  |  |   94|       |
  |  |   95|  1.56k|        TARGET(BINARY_OP_ADD_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  1.56k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   96|       |            #if _Py_TAIL_CALL_INTERP
  |  |   97|       |            int opcode = BINARY_OP_ADD_FLOAT;
  |  |   98|       |            (void)(opcode);
  |  |   99|       |            #endif
  |  |  100|  1.56k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  101|  1.56k|            (void)this_instr;
  |  |  102|  1.56k|            frame->instr_ptr = next_instr;
  |  |  103|  1.56k|            next_instr += 6;
  |  |  104|  1.56k|            INSTRUCTION_STATS(BINARY_OP_ADD_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  1.56k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  105|  1.56k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  106|  1.56k|            _PyStackRef value;
  |  |  107|  1.56k|            _PyStackRef left;
  |  |  108|  1.56k|            _PyStackRef right;
  |  |  109|  1.56k|            _PyStackRef res;
  |  |  110|  1.56k|            _PyStackRef l;
  |  |  111|  1.56k|            _PyStackRef r;
  |  |  112|       |            // _GUARD_TOS_FLOAT
  |  |  113|  1.56k|            {
  |  |  114|  1.56k|                value = stack_pointer[-1];
  |  |  115|  1.56k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  116|  1.56k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.56k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.56k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (116:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  117|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  118|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  119|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  120|      0|                }
  |  |  121|  1.56k|            }
  |  |  122|       |            // _GUARD_NOS_FLOAT
  |  |  123|  1.56k|            {
  |  |  124|  1.56k|                left = stack_pointer[-2];
  |  |  125|  1.56k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  126|  1.56k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.56k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.56k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (126:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  127|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  128|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  129|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  130|      0|                }
  |  |  131|  1.56k|            }
  |  |  132|       |            /* Skip 5 cache entries */
  |  |  133|       |            // _BINARY_OP_ADD_FLOAT
  |  |  134|  1.56k|            {
  |  |  135|  1.56k|                right = value;
  |  |  136|  1.56k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  137|  1.56k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  138|  1.56k|                assert(PyFloat_CheckExact(left_o));
  |  |  139|  1.56k|                assert(PyFloat_CheckExact(right_o));
  |  |  140|  1.56k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.56k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  141|  1.56k|                double dres =
  |  |  142|  1.56k|                ((PyFloatObject *)left_o)->ob_fval +
  |  |  143|  1.56k|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  144|  1.56k|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  145|  1.56k|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (145:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |  146|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  147|      0|                }
  |  |  148|  1.56k|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  149|  1.56k|                l = left;
  |  |  150|  1.56k|                r = right;
  |  |  151|  1.56k|            }
  |  |  152|       |            // _POP_TOP_FLOAT
  |  |  153|      0|            {
  |  |  154|  1.56k|                value = r;
  |  |  155|  1.56k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  156|  1.56k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  157|  1.56k|            }
  |  |  158|       |            // _POP_TOP_FLOAT
  |  |  159|  1.56k|            {
  |  |  160|  1.56k|                value = l;
  |  |  161|  1.56k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  162|  1.56k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  163|  1.56k|            }
  |  |  164|  1.56k|            stack_pointer[-2] = res;
  |  |  165|  1.56k|            stack_pointer += -1;
  |  |  166|  1.56k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.56k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  167|  1.56k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.56k|    { \
  |  |  |  |  201|  1.56k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.56k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.56k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.56k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.56k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.56k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.56k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.56k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.56k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.56k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.56k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.56k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.56k|    }
  |  |  ------------------
  |  |  168|  1.56k|        }
  |  |  169|       |
  |  |  170|  35.6M|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|  35.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  171|       |            #if _Py_TAIL_CALL_INTERP
  |  |  172|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  173|       |            (void)(opcode);
  |  |  174|       |            #endif
  |  |  175|  35.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  176|  35.6M|            (void)this_instr;
  |  |  177|  35.6M|            frame->instr_ptr = next_instr;
  |  |  178|  35.6M|            next_instr += 6;
  |  |  179|  35.6M|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|  35.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  180|  35.6M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  181|  35.6M|            _PyStackRef value;
  |  |  182|  35.6M|            _PyStackRef left;
  |  |  183|  35.6M|            _PyStackRef right;
  |  |  184|  35.6M|            _PyStackRef res;
  |  |  185|  35.6M|            _PyStackRef l;
  |  |  186|  35.6M|            _PyStackRef r;
  |  |  187|       |            // _GUARD_TOS_INT
  |  |  188|  35.6M|            {
  |  |  189|  35.6M|                value = stack_pointer[-1];
  |  |  190|  35.6M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  191|  35.6M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (191:21): [True: 154, False: 35.6M]
  |  |  ------------------
  |  |  192|    154|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    154|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  193|    154|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  194|    154|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    154|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  195|      0|                }
  |  |  196|  35.6M|            }
  |  |  197|       |            // _GUARD_NOS_INT
  |  |  198|  35.6M|            {
  |  |  199|  35.6M|                left = stack_pointer[-2];
  |  |  200|  35.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  201|  35.6M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (201:21): [True: 210, False: 35.6M]
  |  |  ------------------
  |  |  202|    210|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    210|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  203|    210|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  204|    210|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    210|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  205|      0|                }
  |  |  206|  35.6M|            }
  |  |  207|       |            /* Skip 5 cache entries */
  |  |  208|       |            // _BINARY_OP_ADD_INT
  |  |  209|  35.6M|            {
  |  |  210|  35.6M|                right = value;
  |  |  211|  35.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  212|  35.6M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  213|  35.6M|                assert(PyLong_CheckExact(left_o));
  |  |  214|  35.6M|                assert(PyLong_CheckExact(right_o));
  |  |  215|  35.6M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  216|  35.6M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  35.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  217|  35.6M|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  218|  35.6M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  35.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  35.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  35.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 35.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  219|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  220|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  221|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  222|      0|                }
  |  |  223|  35.6M|                l = left;
  |  |  224|  35.6M|                r = right;
  |  |  225|  35.6M|            }
  |  |  226|       |            // _POP_TOP_INT
  |  |  227|      0|            {
  |  |  228|  35.6M|                value = r;
  |  |  229|  35.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  230|  35.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  231|  35.6M|            }
  |  |  232|       |            // _POP_TOP_INT
  |  |  233|  35.6M|            {
  |  |  234|  35.6M|                value = l;
  |  |  235|  35.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  236|  35.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  237|  35.6M|            }
  |  |  238|  35.6M|            stack_pointer[-2] = res;
  |  |  239|  35.6M|            stack_pointer += -1;
  |  |  240|  35.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  241|  35.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.6M|    { \
  |  |  |  |  201|  35.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  35.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  35.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  35.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  35.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  35.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  35.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  35.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 35.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.6M|    }
  |  |  ------------------
  |  |  242|  35.6M|        }
  |  |  243|       |
  |  |  244|  1.51M|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  1.51M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  245|       |            #if _Py_TAIL_CALL_INTERP
  |  |  246|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  247|       |            (void)(opcode);
  |  |  248|       |            #endif
  |  |  249|  1.51M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  250|  1.51M|            (void)this_instr;
  |  |  251|  1.51M|            frame->instr_ptr = next_instr;
  |  |  252|  1.51M|            next_instr += 6;
  |  |  253|  1.51M|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  1.51M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  254|  1.51M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  255|  1.51M|            _PyStackRef value;
  |  |  256|  1.51M|            _PyStackRef nos;
  |  |  257|  1.51M|            _PyStackRef left;
  |  |  258|  1.51M|            _PyStackRef right;
  |  |  259|  1.51M|            _PyStackRef res;
  |  |  260|  1.51M|            _PyStackRef l;
  |  |  261|  1.51M|            _PyStackRef r;
  |  |  262|       |            // _GUARD_TOS_UNICODE
  |  |  263|  1.51M|            {
  |  |  264|  1.51M|                value = stack_pointer[-1];
  |  |  265|  1.51M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  266|  1.51M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.51M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.51M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (266:21): [True: 0, False: 1.51M]
  |  |  ------------------
  |  |  267|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  268|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  269|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  270|      0|                }
  |  |  271|  1.51M|            }
  |  |  272|       |            // _GUARD_NOS_UNICODE
  |  |  273|  1.51M|            {
  |  |  274|  1.51M|                nos = stack_pointer[-2];
  |  |  275|  1.51M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  276|  1.51M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.51M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.51M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (276:21): [True: 0, False: 1.51M]
  |  |  ------------------
  |  |  277|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  278|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  279|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  280|      0|                }
  |  |  281|  1.51M|            }
  |  |  282|       |            /* Skip 5 cache entries */
  |  |  283|       |            // _BINARY_OP_ADD_UNICODE
  |  |  284|  1.51M|            {
  |  |  285|  1.51M|                right = value;
  |  |  286|  1.51M|                left = nos;
  |  |  287|  1.51M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  288|  1.51M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  289|  1.51M|                assert(PyUnicode_CheckExact(left_o));
  |  |  290|  1.51M|                assert(PyUnicode_CheckExact(right_o));
  |  |  291|  1.51M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.51M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  292|  1.51M|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  293|  1.51M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (293:21): [True: 0, False: 1.51M]
  |  |  ------------------
  |  |  294|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  295|      0|                }
  |  |  296|  1.51M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  297|  1.51M|                l = left;
  |  |  298|  1.51M|                r = right;
  |  |  299|  1.51M|            }
  |  |  300|       |            // _POP_TOP_UNICODE
  |  |  301|      0|            {
  |  |  302|  1.51M|                value = r;
  |  |  303|  1.51M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  304|  1.51M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  305|  1.51M|            }
  |  |  306|       |            // _POP_TOP_UNICODE
  |  |  307|  1.51M|            {
  |  |  308|  1.51M|                value = l;
  |  |  309|  1.51M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  310|  1.51M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  311|  1.51M|            }
  |  |  312|  1.51M|            stack_pointer[-2] = res;
  |  |  313|  1.51M|            stack_pointer += -1;
  |  |  314|  1.51M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.51M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  315|  1.51M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.51M|    { \
  |  |  |  |  201|  1.51M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.51M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.51M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.51M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.51M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.51M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.51M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.51M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.51M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.51M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.51M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.51M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.51M|    }
  |  |  ------------------
  |  |  316|  1.51M|        }
  |  |  317|       |
  |  |  318|  10.9M|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  10.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  319|       |            #if _Py_TAIL_CALL_INTERP
  |  |  320|       |            int opcode = BINARY_OP_EXTEND;
  |  |  321|       |            (void)(opcode);
  |  |  322|       |            #endif
  |  |  323|  10.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  324|  10.9M|            (void)this_instr;
  |  |  325|  10.9M|            frame->instr_ptr = next_instr;
  |  |  326|  10.9M|            next_instr += 6;
  |  |  327|  10.9M|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  10.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  328|  10.9M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  329|  10.9M|            _PyStackRef left;
  |  |  330|  10.9M|            _PyStackRef right;
  |  |  331|  10.9M|            _PyStackRef res;
  |  |  332|  10.9M|            _PyStackRef l;
  |  |  333|  10.9M|            _PyStackRef r;
  |  |  334|  10.9M|            _PyStackRef value;
  |  |  335|       |            /* Skip 1 cache entry */
  |  |  336|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  337|  10.9M|            {
  |  |  338|  10.9M|                right = stack_pointer[-1];
  |  |  339|  10.9M|                left = stack_pointer[-2];
  |  |  340|  10.9M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  341|  10.9M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  342|  10.9M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  343|  10.9M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  344|  10.9M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  345|  10.9M|                assert(d != NULL);
  |  |  346|  10.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  347|  10.9M|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (347:29): [True: 10.6M, False: 360k]
  |  |  ------------------
  |  |  348|  10.9M|                ? d->guard(left_o, right_o)
  |  |  349|  10.9M|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|   360k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   360k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   360k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|   360k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   360k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   360k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (349:16): [True: 360k, False: 0]
  |  |  |  Branch (349:50): [True: 360k, False: 0]
  |  |  ------------------
  |  |  350|  10.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  351|  10.9M|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (351:21): [True: 3.18k, False: 10.9M]
  |  |  ------------------
  |  |  352|  3.18k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|  3.18k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  353|  3.18k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  354|  3.18k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  3.18k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  355|      0|                }
  |  |  356|  10.9M|            }
  |  |  357|       |            /* Skip -4 cache entry */
  |  |  358|       |            // _BINARY_OP_EXTEND
  |  |  359|  10.9M|            {
  |  |  360|  10.9M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  361|  10.9M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  362|  10.9M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  363|  10.9M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  364|  10.9M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  365|  10.9M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  10.9M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  366|  10.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  367|  10.9M|                PyObject *res_o = d->action(left_o, right_o);
  |  |  368|  10.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  369|  10.9M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (369:21): [True: 0, False: 10.9M]
  |  |  ------------------
  |  |  370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  371|      0|                }
  |  |  372|  10.9M|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  373|  10.9M|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  374|  10.9M|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  375|  10.9M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  376|  10.9M|                l = left;
  |  |  377|  10.9M|                r = right;
  |  |  378|  10.9M|            }
  |  |  379|       |            // _POP_TOP
  |  |  380|      0|            {
  |  |  381|  10.9M|                value = r;
  |  |  382|  10.9M|                stack_pointer[-2] = res;
  |  |  383|  10.9M|                stack_pointer[-1] = l;
  |  |  384|  10.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  385|  10.9M|                PyStackRef_XCLOSE(value);
  |  |  386|  10.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  387|  10.9M|            }
  |  |  388|       |            // _POP_TOP
  |  |  389|  10.9M|            {
  |  |  390|  10.9M|                value = l;
  |  |  391|  10.9M|                stack_pointer += -1;
  |  |  392|  10.9M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  393|  10.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  394|  10.9M|                PyStackRef_XCLOSE(value);
  |  |  395|  10.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  396|  10.9M|            }
  |  |  397|  10.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.9M|    { \
  |  |  |  |  201|  10.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  10.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  10.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  10.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  10.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  10.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  10.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 10.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.9M|    }
  |  |  ------------------
  |  |  398|  10.9M|        }
  |  |  399|       |
  |  |  400|  1.26k|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  1.26k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  401|       |            #if _Py_TAIL_CALL_INTERP
  |  |  402|       |            int opcode = BINARY_OP_INPLACE_ADD_UNICODE;
  |  |  403|       |            (void)(opcode);
  |  |  404|       |            #endif
  |  |  405|  1.26k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  406|  1.26k|            (void)this_instr;
  |  |  407|  1.26k|            frame->instr_ptr = next_instr;
  |  |  408|  1.26k|            next_instr += 6;
  |  |  409|  1.26k|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  1.26k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  410|  1.26k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  411|  1.26k|            _PyStackRef value;
  |  |  412|  1.26k|            _PyStackRef nos;
  |  |  413|  1.26k|            _PyStackRef left;
  |  |  414|  1.26k|            _PyStackRef right;
  |  |  415|  1.26k|            _PyStackRef res;
  |  |  416|       |            // _GUARD_TOS_UNICODE
  |  |  417|  1.26k|            {
  |  |  418|  1.26k|                value = stack_pointer[-1];
  |  |  419|  1.26k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  420|  1.26k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.26k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.26k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (420:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  421|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  422|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  423|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  424|      0|                }
  |  |  425|  1.26k|            }
  |  |  426|       |            // _GUARD_NOS_UNICODE
  |  |  427|  1.26k|            {
  |  |  428|  1.26k|                nos = stack_pointer[-2];
  |  |  429|  1.26k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  430|  1.26k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.26k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.26k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (430:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  431|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  432|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  433|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  434|      0|                }
  |  |  435|  1.26k|            }
  |  |  436|       |            /* Skip 5 cache entries */
  |  |  437|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  438|  1.26k|            {
  |  |  439|  1.26k|                right = value;
  |  |  440|  1.26k|                left = nos;
  |  |  441|  1.26k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  442|  1.26k|                assert(PyUnicode_CheckExact(left_o));
  |  |  443|  1.26k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  444|  1.26k|                int next_oparg;
  |  |  445|  1.26k|                #if TIER_ONE
  |  |  446|  1.26k|                assert(next_instr->op.code == STORE_FAST);
  |  |  447|  1.26k|                next_oparg = next_instr->op.arg;
  |  |  448|       |                #else
  |  |  449|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  450|       |                #endif
  |  |  451|  1.26k|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  284|  1.26k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  452|  1.26k|                assert(PyUnicode_CheckExact(left_o));
  |  |  453|  1.26k|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (453:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  454|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  455|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  456|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  457|      0|                }
  |  |  458|  1.26k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.26k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  459|  1.26k|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  460|  1.26k|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  461|  1.26k|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  462|  1.26k|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  463|  1.26k|                stack_pointer += -2;
  |  |  464|  1.26k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  465|  1.26k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  466|  1.26k|                PyUnicode_Append(&temp, right_o);
  |  |  467|  1.26k|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|  1.26k|    do { \
  |  |  |  |   97|  1.26k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|  1.26k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  1.26k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.14k, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|  1.14k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.14k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|  1.14k|            break; \
  |  |  |  |  101|  1.14k|        } \
  |  |  |  |  102|  1.26k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    128|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|    128|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 128, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|    128|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|    128|    do { \
  |  |  |  |  |  |  113|    128|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|    128|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|    128|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|    128|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|    128|            d(op); \
  |  |  |  |  107|    128|        } \
  |  |  |  |  108|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  468|  1.26k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  469|  1.26k|                *target_local = PyStackRef_NULL;
  |  |  470|  1.26k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (470:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  471|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  472|      0|                }
  |  |  473|  1.26k|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  474|  1.26k|            }
  |  |  475|      0|            stack_pointer[0] = res;
  |  |  476|  1.26k|            stack_pointer += 1;
  |  |  477|  1.26k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  478|  1.26k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.26k|    { \
  |  |  |  |  201|  1.26k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.26k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.26k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.26k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.26k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.26k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.26k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.26k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.26k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.26k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.26k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.26k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.26k|    }
  |  |  ------------------
  |  |  479|  1.26k|        }
  |  |  480|       |
  |  |  481|    107|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|    107|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  482|       |            #if _Py_TAIL_CALL_INTERP
  |  |  483|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  484|       |            (void)(opcode);
  |  |  485|       |            #endif
  |  |  486|    107|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  487|    107|            (void)this_instr;
  |  |  488|    107|            frame->instr_ptr = next_instr;
  |  |  489|    107|            next_instr += 6;
  |  |  490|    107|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|    107|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  491|    107|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  492|    107|            _PyStackRef value;
  |  |  493|    107|            _PyStackRef left;
  |  |  494|    107|            _PyStackRef right;
  |  |  495|    107|            _PyStackRef res;
  |  |  496|    107|            _PyStackRef l;
  |  |  497|    107|            _PyStackRef r;
  |  |  498|       |            // _GUARD_TOS_FLOAT
  |  |  499|    107|            {
  |  |  500|    107|                value = stack_pointer[-1];
  |  |  501|    107|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  502|    107|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|    107|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    107|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (502:21): [True: 53, False: 54]
  |  |  ------------------
  |  |  503|     53|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  504|     53|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  505|     53|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  506|      0|                }
  |  |  507|    107|            }
  |  |  508|       |            // _GUARD_NOS_FLOAT
  |  |  509|     54|            {
  |  |  510|     54|                left = stack_pointer[-2];
  |  |  511|     54|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  512|     54|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|     54|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     54|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (512:21): [True: 0, False: 54]
  |  |  ------------------
  |  |  513|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  514|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  515|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  516|      0|                }
  |  |  517|     54|            }
  |  |  518|       |            /* Skip 5 cache entries */
  |  |  519|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  520|     54|            {
  |  |  521|     54|                right = value;
  |  |  522|     54|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  523|     54|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  524|     54|                assert(PyFloat_CheckExact(left_o));
  |  |  525|     54|                assert(PyFloat_CheckExact(right_o));
  |  |  526|     54|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     54|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  527|     54|                double dres =
  |  |  528|     54|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  529|     54|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  530|     54|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  531|     54|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (531:21): [True: 0, False: 54]
  |  |  ------------------
  |  |  532|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  533|      0|                }
  |  |  534|     54|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  535|     54|                l = left;
  |  |  536|     54|                r = right;
  |  |  537|     54|            }
  |  |  538|       |            // _POP_TOP_FLOAT
  |  |  539|      0|            {
  |  |  540|     54|                value = r;
  |  |  541|     54|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  542|     54|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  543|     54|            }
  |  |  544|       |            // _POP_TOP_FLOAT
  |  |  545|     54|            {
  |  |  546|     54|                value = l;
  |  |  547|     54|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  548|     54|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  549|     54|            }
  |  |  550|     54|            stack_pointer[-2] = res;
  |  |  551|     54|            stack_pointer += -1;
  |  |  552|     54|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     54|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  553|     54|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     54|    { \
  |  |  |  |  201|     54|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     54|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     54|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     54|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     54|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     54|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     54|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     54|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     54|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     54|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     54|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     54|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     54|    }
  |  |  ------------------
  |  |  554|     54|        }
  |  |  555|       |
  |  |  556|   416k|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|   416k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  557|       |            #if _Py_TAIL_CALL_INTERP
  |  |  558|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  559|       |            (void)(opcode);
  |  |  560|       |            #endif
  |  |  561|   416k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  562|   416k|            (void)this_instr;
  |  |  563|   416k|            frame->instr_ptr = next_instr;
  |  |  564|   416k|            next_instr += 6;
  |  |  565|   416k|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|   416k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  566|   416k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  567|   416k|            _PyStackRef value;
  |  |  568|   416k|            _PyStackRef left;
  |  |  569|   416k|            _PyStackRef right;
  |  |  570|   416k|            _PyStackRef res;
  |  |  571|   416k|            _PyStackRef l;
  |  |  572|   416k|            _PyStackRef r;
  |  |  573|       |            // _GUARD_TOS_INT
  |  |  574|   416k|            {
  |  |  575|   416k|                value = stack_pointer[-1];
  |  |  576|   416k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  577|   416k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (577:21): [True: 0, False: 416k]
  |  |  ------------------
  |  |  578|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  579|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  580|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  581|      0|                }
  |  |  582|   416k|            }
  |  |  583|       |            // _GUARD_NOS_INT
  |  |  584|   416k|            {
  |  |  585|   416k|                left = stack_pointer[-2];
  |  |  586|   416k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  587|   416k|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (587:21): [True: 42, False: 416k]
  |  |  ------------------
  |  |  588|     42|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     42|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  589|     42|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  590|     42|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     42|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  591|      0|                }
  |  |  592|   416k|            }
  |  |  593|       |            /* Skip 5 cache entries */
  |  |  594|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  595|   416k|            {
  |  |  596|   416k|                right = value;
  |  |  597|   416k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  598|   416k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  599|   416k|                assert(PyLong_CheckExact(left_o));
  |  |  600|   416k|                assert(PyLong_CheckExact(right_o));
  |  |  601|   416k|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  602|   416k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   416k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  603|   416k|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  604|   416k|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|   416k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   416k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   416k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 416k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  605|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  606|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  607|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  608|      0|                }
  |  |  609|   416k|                l = left;
  |  |  610|   416k|                r = right;
  |  |  611|   416k|            }
  |  |  612|       |            // _POP_TOP_INT
  |  |  613|      0|            {
  |  |  614|   416k|                value = r;
  |  |  615|   416k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  616|   416k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  617|   416k|            }
  |  |  618|       |            // _POP_TOP_INT
  |  |  619|   416k|            {
  |  |  620|   416k|                value = l;
  |  |  621|   416k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  622|   416k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  623|   416k|            }
  |  |  624|   416k|            stack_pointer[-2] = res;
  |  |  625|   416k|            stack_pointer += -1;
  |  |  626|   416k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   416k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  627|   416k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   416k|    { \
  |  |  |  |  201|   416k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   416k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   416k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   416k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   416k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   416k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   416k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   416k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 416k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   416k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   416k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   416k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   416k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   416k|    }
  |  |  ------------------
  |  |  628|   416k|        }
  |  |  629|       |
  |  |  630|  4.04M|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  4.04M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  631|       |            #if _Py_TAIL_CALL_INTERP
  |  |  632|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  633|       |            (void)(opcode);
  |  |  634|       |            #endif
  |  |  635|  4.04M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  636|  4.04M|            (void)this_instr;
  |  |  637|  4.04M|            frame->instr_ptr = next_instr;
  |  |  638|  4.04M|            next_instr += 6;
  |  |  639|  4.04M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  4.04M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  640|  4.04M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  641|  4.04M|            _PyStackRef nos;
  |  |  642|  4.04M|            _PyStackRef dict_st;
  |  |  643|  4.04M|            _PyStackRef sub_st;
  |  |  644|  4.04M|            _PyStackRef res;
  |  |  645|  4.04M|            _PyStackRef ds;
  |  |  646|  4.04M|            _PyStackRef ss;
  |  |  647|  4.04M|            _PyStackRef value;
  |  |  648|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  649|  4.04M|            {
  |  |  650|  4.04M|                nos = stack_pointer[-2];
  |  |  651|  4.04M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  652|  4.04M|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  4.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (652:21): [True: 0, False: 4.04M]
  |  |  ------------------
  |  |  653|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  654|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  655|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  656|      0|                }
  |  |  657|  4.04M|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  4.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (657:21): [True: 0, False: 4.04M]
  |  |  ------------------
  |  |  658|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  659|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  660|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  661|      0|                }
  |  |  662|  4.04M|            }
  |  |  663|       |            /* Skip 5 cache entries */
  |  |  664|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  665|  4.04M|            {
  |  |  666|  4.04M|                sub_st = stack_pointer[-1];
  |  |  667|  4.04M|                dict_st = nos;
  |  |  668|  4.04M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  669|  4.04M|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  670|  4.04M|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  671|  4.04M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  4.04M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  672|  4.04M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  673|  4.04M|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  674|  4.04M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  675|  4.04M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (675:21): [True: 275k, False: 3.76M]
  |  |  ------------------
  |  |  676|   275k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   275k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  677|      0|                }
  |  |  678|  3.76M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  679|  3.76M|                ds = dict_st;
  |  |  680|  3.76M|                ss = sub_st;
  |  |  681|  3.76M|            }
  |  |  682|       |            // _POP_TOP
  |  |  683|      0|            {
  |  |  684|  3.76M|                value = ss;
  |  |  685|  3.76M|                stack_pointer[-2] = res;
  |  |  686|  3.76M|                stack_pointer[-1] = ds;
  |  |  687|  3.76M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  688|  3.76M|                PyStackRef_XCLOSE(value);
  |  |  689|  3.76M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  690|  3.76M|            }
  |  |  691|       |            // _POP_TOP
  |  |  692|  3.76M|            {
  |  |  693|  3.76M|                value = ds;
  |  |  694|  3.76M|                stack_pointer += -1;
  |  |  695|  3.76M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.76M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  696|  3.76M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  697|  3.76M|                PyStackRef_XCLOSE(value);
  |  |  698|  3.76M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  699|  3.76M|            }
  |  |  700|  3.76M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.76M|    { \
  |  |  |  |  201|  3.76M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.76M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.76M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.76M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.76M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.76M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.76M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.76M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.76M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.76M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.76M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.76M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.76M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.76M|    }
  |  |  ------------------
  |  |  701|  3.76M|        }
  |  |  702|       |
  |  |  703|  1.91M|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|  1.91M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  704|       |            #if _Py_TAIL_CALL_INTERP
  |  |  705|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  706|       |            (void)(opcode);
  |  |  707|       |            #endif
  |  |  708|  1.91M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  709|  1.91M|            (void)this_instr;
  |  |  710|  1.91M|            frame->instr_ptr = next_instr;
  |  |  711|  1.91M|            next_instr += 6;
  |  |  712|  1.91M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|  1.91M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  713|  1.91M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  714|  1.91M|            _PyStackRef container;
  |  |  715|  1.91M|            _PyStackRef getitem;
  |  |  716|  1.91M|            _PyStackRef sub;
  |  |  717|  1.91M|            _PyStackRef new_frame;
  |  |  718|       |            /* Skip 5 cache entries */
  |  |  719|       |            // _CHECK_PEP_523
  |  |  720|  1.91M|            {
  |  |  721|  1.91M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  1.91M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 1.91M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  722|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  723|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  724|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  725|      0|                }
  |  |  726|  1.91M|            }
  |  |  727|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  728|  1.91M|            {
  |  |  729|  1.91M|                container = stack_pointer[-2];
  |  |  730|  1.91M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|  1.91M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  731|  1.91M|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|  1.91M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (731:21): [True: 0, False: 1.91M]
  |  |  ------------------
  |  |  732|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  733|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  734|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  735|      0|                }
  |  |  736|  1.91M|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  737|  1.91M|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  150|  1.91M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  738|  1.91M|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (738:21): [True: 0, False: 1.91M]
  |  |  ------------------
  |  |  739|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  740|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  741|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  742|      0|                }
  |  |  743|  1.91M|                assert(PyFunction_Check(getitem_o));
  |  |  744|  1.91M|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  159|  1.91M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  745|  1.91M|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (745:21): [True: 0, False: 1.91M]
  |  |  ------------------
  |  |  746|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  747|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  748|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  749|      0|                }
  |  |  750|  1.91M|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|  1.91M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  751|  1.91M|                assert(code->co_argcount == 2);
  |  |  752|  1.91M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (752:21): [True: 96, False: 1.91M]
  |  |  ------------------
  |  |  753|     96|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     96|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  754|     96|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  755|     96|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     96|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  756|      0|                }
  |  |  757|  1.91M|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|  1.91M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  758|  1.91M|            }
  |  |  759|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  760|      0|            {
  |  |  761|  1.91M|                sub = stack_pointer[-1];
  |  |  762|  1.91M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.91M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  763|  1.91M|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  764|  1.91M|                pushed_frame->localsplus[0] = container;
  |  |  765|  1.91M|                pushed_frame->localsplus[1] = sub;
  |  |  766|  1.91M|                frame->return_offset = 6u ;
  |  |  767|  1.91M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  768|  1.91M|            }
  |  |  769|       |            // _PUSH_FRAME
  |  |  770|  1.91M|            {
  |  |  771|  1.91M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  772|  1.91M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  773|  1.91M|                stack_pointer += -2;
  |  |  774|  1.91M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.91M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  775|  1.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  776|  1.91M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  777|  1.91M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.91M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  778|  1.91M|                frame = tstate->current_frame = temp;
  |  |  779|  1.91M|                tstate->py_recursion_remaining--;
  |  |  780|  1.91M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  1.91M|#define LOAD_SP() \
  |  |  |  |  426|  1.91M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  |  781|  1.91M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  1.91M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  1.91M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  1.91M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 1.91M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  782|  1.91M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  1.91M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  783|  1.91M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.91M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  784|  1.91M|            }
  |  |  785|  1.91M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.91M|    { \
  |  |  |  |  201|  1.91M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.91M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.91M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.91M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.91M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.91M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.91M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.91M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.91M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.91M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.91M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.91M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.91M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.91M|    }
  |  |  ------------------
  |  |  786|  1.91M|        }
  |  |  787|       |
  |  |  788|  9.04M|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  9.04M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  789|       |            #if _Py_TAIL_CALL_INTERP
  |  |  790|       |            int opcode = BINARY_OP_SUBSCR_LIST_INT;
  |  |  791|       |            (void)(opcode);
  |  |  792|       |            #endif
  |  |  793|  9.04M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  794|  9.04M|            (void)this_instr;
  |  |  795|  9.04M|            frame->instr_ptr = next_instr;
  |  |  796|  9.04M|            next_instr += 6;
  |  |  797|  9.04M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  9.04M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  798|  9.04M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  799|  9.04M|            _PyStackRef value;
  |  |  800|  9.04M|            _PyStackRef nos;
  |  |  801|  9.04M|            _PyStackRef list_st;
  |  |  802|  9.04M|            _PyStackRef sub_st;
  |  |  803|  9.04M|            _PyStackRef res;
  |  |  804|  9.04M|            _PyStackRef ls;
  |  |  805|  9.04M|            _PyStackRef ss;
  |  |  806|       |            // _GUARD_TOS_INT
  |  |  807|  9.04M|            {
  |  |  808|  9.04M|                value = stack_pointer[-1];
  |  |  809|  9.04M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  810|  9.04M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (810:21): [True: 0, False: 9.04M]
  |  |  ------------------
  |  |  811|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  812|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  813|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  814|      0|                }
  |  |  815|  9.04M|            }
  |  |  816|       |            // _GUARD_NOS_LIST
  |  |  817|  9.04M|            {
  |  |  818|  9.04M|                nos = stack_pointer[-2];
  |  |  819|  9.04M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  820|  9.04M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  9.04M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.04M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (820:21): [True: 0, False: 9.04M]
  |  |  ------------------
  |  |  821|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  822|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  823|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  824|      0|                }
  |  |  825|  9.04M|            }
  |  |  826|       |            /* Skip 5 cache entries */
  |  |  827|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  828|  9.04M|            {
  |  |  829|  9.04M|                sub_st = value;
  |  |  830|  9.04M|                list_st = nos;
  |  |  831|  9.04M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  832|  9.04M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  833|  9.04M|                assert(PyLong_CheckExact(sub));
  |  |  834|  9.04M|                assert(PyList_CheckExact(list));
  |  |  835|  9.04M|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  836|  9.04M|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (836:21): [True: 0, False: 9.04M]
  |  |  ------------------
  |  |  837|      0|                    index += PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  838|      0|                }
  |  |  839|       |                #ifdef Py_GIL_DISABLED
  |  |  840|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  841|       |                PyObject *res_o = _PyList_GetItemRef((PyListObject*)list, index);
  |  |  842|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  843|       |                if (res_o == NULL) {
  |  |  844|       |                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  845|       |                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  846|       |                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  847|       |                }
  |  |  848|       |                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  849|       |                #else
  |  |  850|  9.04M|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|  9.04M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (850:21): [True: 0, False: 9.04M]
  |  |  |  Branch (850:34): [True: 710, False: 9.04M]
  |  |  ------------------
  |  |  851|    710|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    710|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  852|    710|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  853|    710|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    710|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  854|      0|                }
  |  |  855|  9.04M|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  9.04M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  9.04M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  856|  9.04M|                assert(res_o != NULL);
  |  |  857|  9.04M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  9.04M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  858|  9.04M|                #endif
  |  |  859|  9.04M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  9.04M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  860|  9.04M|                ls = list_st;
  |  |  861|  9.04M|                ss = sub_st;
  |  |  862|  9.04M|            }
  |  |  863|       |            // _POP_TOP_INT
  |  |  864|      0|            {
  |  |  865|  9.04M|                value = ss;
  |  |  866|  9.04M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  867|  9.04M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  868|  9.04M|            }
  |  |  869|       |            // _POP_TOP
  |  |  870|  9.04M|            {
  |  |  871|  9.04M|                value = ls;
  |  |  872|  9.04M|                stack_pointer[-2] = res;
  |  |  873|  9.04M|                stack_pointer += -1;
  |  |  874|  9.04M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.04M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  875|  9.04M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  876|  9.04M|                PyStackRef_XCLOSE(value);
  |  |  877|  9.04M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  878|  9.04M|            }
  |  |  879|  9.04M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.04M|    { \
  |  |  |  |  201|  9.04M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  9.04M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  9.04M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  9.04M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.04M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.04M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  9.04M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  9.04M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 9.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.04M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.04M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.04M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.04M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.04M|    }
  |  |  ------------------
  |  |  880|  9.04M|        }
  |  |  881|       |
  |  |  882|    590|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    590|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  883|       |            #if _Py_TAIL_CALL_INTERP
  |  |  884|       |            int opcode = BINARY_OP_SUBSCR_LIST_SLICE;
  |  |  885|       |            (void)(opcode);
  |  |  886|       |            #endif
  |  |  887|    590|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  888|    590|            (void)this_instr;
  |  |  889|    590|            frame->instr_ptr = next_instr;
  |  |  890|    590|            next_instr += 6;
  |  |  891|    590|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|    590|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  892|    590|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  893|    590|            _PyStackRef tos;
  |  |  894|    590|            _PyStackRef nos;
  |  |  895|    590|            _PyStackRef list_st;
  |  |  896|    590|            _PyStackRef sub_st;
  |  |  897|    590|            _PyStackRef res;
  |  |  898|    590|            _PyStackRef ls;
  |  |  899|    590|            _PyStackRef ss;
  |  |  900|    590|            _PyStackRef value;
  |  |  901|       |            // _GUARD_TOS_SLICE
  |  |  902|    590|            {
  |  |  903|    590|                tos = stack_pointer[-1];
  |  |  904|    590|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  905|    590|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|    590|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    590|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    590|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (905:21): [True: 0, False: 590]
  |  |  ------------------
  |  |  906|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  907|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  908|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  909|      0|                }
  |  |  910|    590|            }
  |  |  911|       |            // _GUARD_NOS_LIST
  |  |  912|    590|            {
  |  |  913|    590|                nos = stack_pointer[-2];
  |  |  914|    590|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  915|    590|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    590|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    590|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    590|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (915:21): [True: 0, False: 590]
  |  |  ------------------
  |  |  916|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  917|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  918|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  919|      0|                }
  |  |  920|    590|            }
  |  |  921|       |            /* Skip 5 cache entries */
  |  |  922|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  923|    590|            {
  |  |  924|    590|                sub_st = tos;
  |  |  925|    590|                list_st = nos;
  |  |  926|    590|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  927|    590|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  928|    590|                assert(PySlice_Check(sub));
  |  |  929|    590|                assert(PyList_CheckExact(list));
  |  |  930|    590|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  931|    590|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  932|    590|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  933|    590|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    590|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  934|    590|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (934:21): [True: 0, False: 590]
  |  |  ------------------
  |  |  935|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  936|      0|                }
  |  |  937|    590|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  938|    590|                ls = list_st;
  |  |  939|    590|                ss = sub_st;
  |  |  940|    590|            }
  |  |  941|       |            // _POP_TOP
  |  |  942|      0|            {
  |  |  943|    590|                value = ss;
  |  |  944|    590|                stack_pointer[-2] = res;
  |  |  945|    590|                stack_pointer[-1] = ls;
  |  |  946|    590|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  947|    590|                PyStackRef_XCLOSE(value);
  |  |  948|    590|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  949|    590|            }
  |  |  950|       |            // _POP_TOP
  |  |  951|    590|            {
  |  |  952|    590|                value = ls;
  |  |  953|    590|                stack_pointer += -1;
  |  |  954|    590|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    590|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  955|    590|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  956|    590|                PyStackRef_XCLOSE(value);
  |  |  957|    590|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  958|    590|            }
  |  |  959|    590|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    590|    { \
  |  |  |  |  201|    590|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    590|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    590|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    590|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    590|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    590|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    590|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    590|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 590]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    590|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    590|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    590|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    590|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    590|    }
  |  |  ------------------
  |  |  960|    590|        }
  |  |  961|       |
  |  |  962|  31.8k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  31.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  963|       |            #if _Py_TAIL_CALL_INTERP
  |  |  964|       |            int opcode = BINARY_OP_SUBSCR_STR_INT;
  |  |  965|       |            (void)(opcode);
  |  |  966|       |            #endif
  |  |  967|  31.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  968|  31.8k|            (void)this_instr;
  |  |  969|  31.8k|            frame->instr_ptr = next_instr;
  |  |  970|  31.8k|            next_instr += 6;
  |  |  971|  31.8k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  31.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  972|  31.8k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  973|  31.8k|            _PyStackRef value;
  |  |  974|  31.8k|            _PyStackRef nos;
  |  |  975|  31.8k|            _PyStackRef str_st;
  |  |  976|  31.8k|            _PyStackRef sub_st;
  |  |  977|  31.8k|            _PyStackRef res;
  |  |  978|  31.8k|            _PyStackRef s;
  |  |  979|  31.8k|            _PyStackRef i;
  |  |  980|       |            // _GUARD_TOS_INT
  |  |  981|  31.8k|            {
  |  |  982|  31.8k|                value = stack_pointer[-1];
  |  |  983|  31.8k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  984|  31.8k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (984:21): [True: 0, False: 31.8k]
  |  |  ------------------
  |  |  985|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  986|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  987|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  988|      0|                }
  |  |  989|  31.8k|            }
  |  |  990|       |            // _GUARD_NOS_COMPACT_ASCII
  |  |  991|  31.8k|            {
  |  |  992|  31.8k|                nos = stack_pointer[-2];
  |  |  993|  31.8k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  994|  31.8k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  31.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  31.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (994:21): [True: 0, False: 31.8k]
  |  |  ------------------
  |  |  995|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  996|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  997|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  998|      0|                }
  |  |  999|  31.8k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  241|  31.8k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (999:21): [True: 16, False: 31.8k]
  |  |  ------------------
  |  | 1000|     16|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     16|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1001|     16|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1002|     16|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     16|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1003|      0|                }
  |  | 1004|  31.8k|            }
  |  | 1005|       |            /* Skip 5 cache entries */
  |  | 1006|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1007|  31.8k|            {
  |  | 1008|  31.8k|                sub_st = value;
  |  | 1009|  31.8k|                str_st = nos;
  |  | 1010|  31.8k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1011|  31.8k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1012|  31.8k|                assert(PyLong_CheckExact(sub));
  |  | 1013|  31.8k|                assert(PyUnicode_CheckExact(str));
  |  | 1014|  31.8k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1014:21): [True: 0, False: 31.8k]
  |  |  ------------------
  |  | 1015|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1016|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1017|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1018|      0|                }
  |  | 1019|  31.8k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1020|  31.8k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  31.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1020:21): [True: 102, False: 31.7k]
  |  |  ------------------
  |  | 1021|    102|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    102|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1022|    102|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1023|    102|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    102|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1024|      0|                }
  |  | 1025|  31.7k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  291|  31.7k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  31.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1026|  31.7k|                assert(c < 128);
  |  | 1027|  31.7k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  31.7k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1028|  31.7k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  31.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  31.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1029|  31.7k|                s = str_st;
  |  | 1030|  31.7k|                i = sub_st;
  |  | 1031|  31.7k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1032|  31.7k|            }
  |  | 1033|       |            // _POP_TOP_INT
  |  | 1034|      0|            {
  |  | 1035|  31.7k|                value = i;
  |  | 1036|  31.7k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1037|  31.7k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1038|  31.7k|            }
  |  | 1039|       |            // _POP_TOP_UNICODE
  |  | 1040|  31.7k|            {
  |  | 1041|  31.7k|                value = s;
  |  | 1042|  31.7k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1043|  31.7k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1044|  31.7k|            }
  |  | 1045|  31.7k|            stack_pointer[-2] = res;
  |  | 1046|  31.7k|            stack_pointer += -1;
  |  | 1047|  31.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  31.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1048|  31.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  31.7k|    { \
  |  |  |  |  201|  31.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  31.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  31.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  31.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  31.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  31.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  31.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  31.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 31.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  31.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  31.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  31.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  31.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  31.7k|    }
  |  |  ------------------
  |  | 1049|  31.7k|        }
  |  | 1050|       |
  |  | 1051|   245k|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|   245k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1052|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1053|       |            int opcode = BINARY_OP_SUBSCR_TUPLE_INT;
  |  | 1054|       |            (void)(opcode);
  |  | 1055|       |            #endif
  |  | 1056|   245k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1057|   245k|            (void)this_instr;
  |  | 1058|   245k|            frame->instr_ptr = next_instr;
  |  | 1059|   245k|            next_instr += 6;
  |  | 1060|   245k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|   245k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1061|   245k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1062|   245k|            _PyStackRef value;
  |  | 1063|   245k|            _PyStackRef nos;
  |  | 1064|   245k|            _PyStackRef tuple_st;
  |  | 1065|   245k|            _PyStackRef sub_st;
  |  | 1066|   245k|            _PyStackRef res;
  |  | 1067|   245k|            _PyStackRef ts;
  |  | 1068|   245k|            _PyStackRef ss;
  |  | 1069|       |            // _GUARD_TOS_INT
  |  | 1070|   245k|            {
  |  | 1071|   245k|                value = stack_pointer[-1];
  |  | 1072|   245k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1073|   245k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1073:21): [True: 0, False: 245k]
  |  |  ------------------
  |  | 1074|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1075|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1076|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1077|      0|                }
  |  | 1078|   245k|            }
  |  | 1079|       |            // _GUARD_NOS_TUPLE
  |  | 1080|   245k|            {
  |  | 1081|   245k|                nos = stack_pointer[-2];
  |  | 1082|   245k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1083|   245k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|   245k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   245k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1083:21): [True: 0, False: 245k]
  |  |  ------------------
  |  | 1084|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1085|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1086|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1087|      0|                }
  |  | 1088|   245k|            }
  |  | 1089|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1090|   245k|            {
  |  | 1091|   245k|                sub_st = value;
  |  | 1092|   245k|                tuple_st = nos;
  |  | 1093|   245k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1094|   245k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1095|   245k|                assert(PyLong_CheckExact(sub));
  |  | 1096|   245k|                assert(PyTuple_CheckExact(tuple));
  |  | 1097|   245k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1097:21): [True: 0, False: 245k]
  |  |  ------------------
  |  | 1098|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1099|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1100|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1101|      0|                }
  |  | 1102|   245k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1103|   245k|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|   245k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1103:21): [True: 0, False: 245k]
  |  |  ------------------
  |  | 1104|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1105|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1106|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1107|      0|                }
  |  | 1108|   245k|            }
  |  | 1109|       |            /* Skip 5 cache entries */
  |  | 1110|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1111|   245k|            {
  |  | 1112|   245k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1113|   245k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1114|   245k|                assert(PyLong_CheckExact(sub));
  |  | 1115|   245k|                assert(PyTuple_CheckExact(tuple));
  |  | 1116|   245k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   245k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1117|   245k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1118|   245k|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|   245k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|   245k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1119|   245k|                assert(res_o != NULL);
  |  | 1120|   245k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|   245k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1121|   245k|                ts = tuple_st;
  |  | 1122|   245k|                ss = sub_st;
  |  | 1123|   245k|            }
  |  | 1124|       |            // _POP_TOP_INT
  |  | 1125|   245k|            {
  |  | 1126|   245k|                value = ss;
  |  | 1127|   245k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1128|   245k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1129|   245k|            }
  |  | 1130|       |            // _POP_TOP
  |  | 1131|   245k|            {
  |  | 1132|   245k|                value = ts;
  |  | 1133|   245k|                stack_pointer[-2] = res;
  |  | 1134|   245k|                stack_pointer += -1;
  |  | 1135|   245k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   245k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1136|   245k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1137|   245k|                PyStackRef_XCLOSE(value);
  |  | 1138|   245k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1139|   245k|            }
  |  | 1140|   245k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   245k|    { \
  |  |  |  |  201|   245k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   245k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   245k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   245k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   245k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   245k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   245k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   245k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 245k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   245k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   245k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   245k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   245k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   245k|    }
  |  |  ------------------
  |  | 1141|   245k|        }
  |  | 1142|       |
  |  | 1143|      0|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1144|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1145|       |            int opcode = BINARY_OP_SUBSCR_USTR_INT;
  |  | 1146|       |            (void)(opcode);
  |  | 1147|       |            #endif
  |  | 1148|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1149|      0|            (void)this_instr;
  |  | 1150|      0|            frame->instr_ptr = next_instr;
  |  | 1151|      0|            next_instr += 6;
  |  | 1152|      0|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1153|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1154|      0|            _PyStackRef value;
  |  | 1155|      0|            _PyStackRef nos;
  |  | 1156|      0|            _PyStackRef str_st;
  |  | 1157|      0|            _PyStackRef sub_st;
  |  | 1158|      0|            _PyStackRef res;
  |  | 1159|      0|            _PyStackRef s;
  |  | 1160|      0|            _PyStackRef i;
  |  | 1161|       |            // _GUARD_TOS_INT
  |  | 1162|      0|            {
  |  | 1163|      0|                value = stack_pointer[-1];
  |  | 1164|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1165|      0|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1165:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1166|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1167|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1168|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1169|      0|                }
  |  | 1170|      0|            }
  |  | 1171|       |            // _GUARD_NOS_UNICODE
  |  | 1172|      0|            {
  |  | 1173|      0|                nos = stack_pointer[-2];
  |  | 1174|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1175|      0|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1175:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1176|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1177|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1178|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1179|      0|                }
  |  | 1180|      0|            }
  |  | 1181|       |            /* Skip 5 cache entries */
  |  | 1182|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1183|      0|            {
  |  | 1184|      0|                sub_st = value;
  |  | 1185|      0|                str_st = nos;
  |  | 1186|      0|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1187|      0|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1188|      0|                assert(PyLong_CheckExact(sub));
  |  | 1189|      0|                assert(PyUnicode_CheckExact(str));
  |  | 1190|      0|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1190:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1191|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1192|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1193|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1194|      0|                }
  |  | 1195|      0|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1196|      0|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1196:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1197|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1198|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1199|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1200|      0|                }
  |  | 1201|      0|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1202|      0|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1202:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1203|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1204|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1205|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1206|      0|                }
  |  | 1207|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1208|      0|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1209|      0|                s = str_st;
  |  | 1210|      0|                i = sub_st;
  |  | 1211|      0|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1212|      0|            }
  |  | 1213|       |            // _POP_TOP_INT
  |  | 1214|      0|            {
  |  | 1215|      0|                value = i;
  |  | 1216|      0|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1217|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1218|      0|            }
  |  | 1219|       |            // _POP_TOP_UNICODE
  |  | 1220|      0|            {
  |  | 1221|      0|                value = s;
  |  | 1222|      0|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1223|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1224|      0|            }
  |  | 1225|      0|            stack_pointer[-2] = res;
  |  | 1226|      0|            stack_pointer += -1;
  |  | 1227|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1228|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1229|      0|        }
  |  | 1230|       |
  |  | 1231|  13.1k|        TARGET(BINARY_OP_SUBTRACT_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  13.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1232|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1233|       |            int opcode = BINARY_OP_SUBTRACT_FLOAT;
  |  | 1234|       |            (void)(opcode);
  |  | 1235|       |            #endif
  |  | 1236|  13.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1237|  13.1k|            (void)this_instr;
  |  | 1238|  13.1k|            frame->instr_ptr = next_instr;
  |  | 1239|  13.1k|            next_instr += 6;
  |  | 1240|  13.1k|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  13.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1241|  13.1k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1242|  13.1k|            _PyStackRef value;
  |  | 1243|  13.1k|            _PyStackRef left;
  |  | 1244|  13.1k|            _PyStackRef right;
  |  | 1245|  13.1k|            _PyStackRef res;
  |  | 1246|  13.1k|            _PyStackRef l;
  |  | 1247|  13.1k|            _PyStackRef r;
  |  | 1248|       |            // _GUARD_TOS_FLOAT
  |  | 1249|  13.1k|            {
  |  | 1250|  13.1k|                value = stack_pointer[-1];
  |  | 1251|  13.1k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1252|  13.1k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  13.1k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  13.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1252:21): [True: 0, False: 13.1k]
  |  |  ------------------
  |  | 1253|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1254|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1255|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1256|      0|                }
  |  | 1257|  13.1k|            }
  |  | 1258|       |            // _GUARD_NOS_FLOAT
  |  | 1259|  13.1k|            {
  |  | 1260|  13.1k|                left = stack_pointer[-2];
  |  | 1261|  13.1k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1262|  13.1k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  13.1k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  13.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1262:21): [True: 0, False: 13.1k]
  |  |  ------------------
  |  | 1263|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1264|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1265|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1266|      0|                }
  |  | 1267|  13.1k|            }
  |  | 1268|       |            /* Skip 5 cache entries */
  |  | 1269|       |            // _BINARY_OP_SUBTRACT_FLOAT
  |  | 1270|  13.1k|            {
  |  | 1271|  13.1k|                right = value;
  |  | 1272|  13.1k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1273|  13.1k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1274|  13.1k|                assert(PyFloat_CheckExact(left_o));
  |  | 1275|  13.1k|                assert(PyFloat_CheckExact(right_o));
  |  | 1276|  13.1k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  13.1k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1277|  13.1k|                double dres =
  |  | 1278|  13.1k|                ((PyFloatObject *)left_o)->ob_fval -
  |  | 1279|  13.1k|                ((PyFloatObject *)right_o)->ob_fval;
  |  | 1280|  13.1k|                PyObject *d = PyFloat_FromDouble(dres);
  |  | 1281|  13.1k|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (1281:21): [True: 0, False: 13.1k]
  |  |  ------------------
  |  | 1282|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1283|      0|                }
  |  | 1284|  13.1k|                res = PyStackRef_FromPyObjectSteal(d);
  |  | 1285|  13.1k|                l = left;
  |  | 1286|  13.1k|                r = right;
  |  | 1287|  13.1k|            }
  |  | 1288|       |            // _POP_TOP_FLOAT
  |  | 1289|      0|            {
  |  | 1290|  13.1k|                value = r;
  |  | 1291|  13.1k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1292|  13.1k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1293|  13.1k|            }
  |  | 1294|       |            // _POP_TOP_FLOAT
  |  | 1295|  13.1k|            {
  |  | 1296|  13.1k|                value = l;
  |  | 1297|  13.1k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1298|  13.1k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1299|  13.1k|            }
  |  | 1300|  13.1k|            stack_pointer[-2] = res;
  |  | 1301|  13.1k|            stack_pointer += -1;
  |  | 1302|  13.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1303|  13.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.1k|    { \
  |  |  |  |  201|  13.1k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  13.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  13.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  13.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  13.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  13.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  13.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 13.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.1k|    }
  |  |  ------------------
  |  | 1304|  13.1k|        }
  |  | 1305|       |
  |  | 1306|  3.93M|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|  3.93M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1307|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1308|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1309|       |            (void)(opcode);
  |  | 1310|       |            #endif
  |  | 1311|  3.93M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1312|  3.93M|            (void)this_instr;
  |  | 1313|  3.93M|            frame->instr_ptr = next_instr;
  |  | 1314|  3.93M|            next_instr += 6;
  |  | 1315|  3.93M|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|  3.93M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1316|  3.93M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1317|  3.93M|            _PyStackRef value;
  |  | 1318|  3.93M|            _PyStackRef left;
  |  | 1319|  3.93M|            _PyStackRef right;
  |  | 1320|  3.93M|            _PyStackRef res;
  |  | 1321|  3.93M|            _PyStackRef l;
  |  | 1322|  3.93M|            _PyStackRef r;
  |  | 1323|       |            // _GUARD_TOS_INT
  |  | 1324|  3.93M|            {
  |  | 1325|  3.93M|                value = stack_pointer[-1];
  |  | 1326|  3.93M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1327|  3.93M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1327:21): [True: 52, False: 3.93M]
  |  |  ------------------
  |  | 1328|     52|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     52|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1329|     52|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1330|     52|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     52|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1331|      0|                }
  |  | 1332|  3.93M|            }
  |  | 1333|       |            // _GUARD_NOS_INT
  |  | 1334|  3.93M|            {
  |  | 1335|  3.93M|                left = stack_pointer[-2];
  |  | 1336|  3.93M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1337|  3.93M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1337:21): [True: 9.90k, False: 3.92M]
  |  |  ------------------
  |  | 1338|  9.90k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|  9.90k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1339|  9.90k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1340|  9.90k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  9.90k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1341|      0|                }
  |  | 1342|  3.93M|            }
  |  | 1343|       |            /* Skip 5 cache entries */
  |  | 1344|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1345|  3.92M|            {
  |  | 1346|  3.92M|                right = value;
  |  | 1347|  3.92M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1348|  3.92M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1349|  3.92M|                assert(PyLong_CheckExact(left_o));
  |  | 1350|  3.92M|                assert(PyLong_CheckExact(right_o));
  |  | 1351|  3.92M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  | 1352|  3.92M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.92M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1353|  3.92M|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1354|  3.92M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  3.92M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.92M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.92M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 3.92M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1355|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1356|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1357|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1358|      0|                }
  |  | 1359|  3.92M|                l = left;
  |  | 1360|  3.92M|                r = right;
  |  | 1361|  3.92M|            }
  |  | 1362|       |            // _POP_TOP_INT
  |  | 1363|      0|            {
  |  | 1364|  3.92M|                value = r;
  |  | 1365|  3.92M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1366|  3.92M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1367|  3.92M|            }
  |  | 1368|       |            // _POP_TOP_INT
  |  | 1369|  3.92M|            {
  |  | 1370|  3.92M|                value = l;
  |  | 1371|  3.92M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1372|  3.92M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1373|  3.92M|            }
  |  | 1374|  3.92M|            stack_pointer[-2] = res;
  |  | 1375|  3.92M|            stack_pointer += -1;
  |  | 1376|  3.92M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.92M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1377|  3.92M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.92M|    { \
  |  |  |  |  201|  3.92M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.92M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.92M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.92M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.92M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.92M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.92M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.92M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.92M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.92M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.92M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.92M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.92M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.92M|    }
  |  |  ------------------
  |  | 1378|  3.92M|        }
  |  | 1379|       |
  |  | 1380|  8.22M|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  8.22M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1381|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1382|       |            int opcode = BINARY_SLICE;
  |  | 1383|       |            (void)(opcode);
  |  | 1384|       |            #endif
  |  | 1385|  8.22M|            frame->instr_ptr = next_instr;
  |  | 1386|  8.22M|            next_instr += 1;
  |  | 1387|  8.22M|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|  8.22M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1388|  8.22M|            _PyStackRef container;
  |  | 1389|  8.22M|            _PyStackRef start;
  |  | 1390|  8.22M|            _PyStackRef stop;
  |  | 1391|  8.22M|            _PyStackRef res;
  |  | 1392|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1393|  8.22M|            {
  |  | 1394|  8.22M|                #if ENABLE_SPECIALIZATION
  |  | 1395|  8.22M|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|  8.22M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1396|  8.22M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1397|  8.22M|            }
  |  | 1398|       |            // _BINARY_SLICE
  |  | 1399|  8.22M|            {
  |  | 1400|  8.22M|                stop = stack_pointer[-1];
  |  | 1401|  8.22M|                start = stack_pointer[-2];
  |  | 1402|  8.22M|                container = stack_pointer[-3];
  |  | 1403|  8.22M|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1404|  8.22M|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1405|  8.22M|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1406|  8.22M|                PyObject *res_o;
  |  | 1407|  8.22M|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|  8.22M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.22M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2.94k, False: 8.21M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1408|  2.94k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1409|  2.94k|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1410|  2.94k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1411|  2.94k|                }
  |  | 1412|  8.21M|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|  8.21M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.21M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 32.4k, False: 8.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1413|  32.4k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1414|  32.4k|                    res_o = _PyTuple_BinarySlice(container_o, start_o, stop_o);
  |  | 1415|  32.4k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1416|  32.4k|                }
  |  | 1417|  8.18M|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|  8.18M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.18M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2.74k, False: 8.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1418|  2.74k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1419|  2.74k|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1420|  2.74k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1421|  2.74k|                }
  |  | 1422|  8.18M|                else {
  |  | 1423|  8.18M|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1424|  8.18M|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1424:25): [True: 0, False: 8.18M]
  |  |  ------------------
  |  | 1425|      0|                        res_o = NULL;
  |  | 1426|      0|                    }
  |  | 1427|  8.18M|                    else {
  |  | 1428|  8.18M|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1429|  8.18M|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1430|  8.18M|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  8.18M|    do { \
  |  |  |  |   81|  8.18M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  8.18M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  8.18M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 8.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  8.18M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  8.18M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  8.18M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 8.18M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  8.18M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  8.18M|    do { \
  |  |  |  |  |  |  113|  8.18M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  8.18M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 8.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  8.18M|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 8.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  8.18M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  8.18M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  8.18M|            (*dealloc)(op); \
  |  |  |  |   91|  8.18M|        } \
  |  |  |  |   92|  8.18M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 8.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1431|  8.18M|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1432|  8.18M|                    }
  |  | 1433|  8.18M|                }
  |  | 1434|  8.22M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|  8.22M|                _PyStackRef tmp = stop;
  |  | 1436|  8.22M|                stop = PyStackRef_NULL;
  |  | 1437|  8.22M|                stack_pointer[-1] = stop;
  |  | 1438|  8.22M|                PyStackRef_CLOSE(tmp);
  |  | 1439|  8.22M|                tmp = start;
  |  | 1440|  8.22M|                start = PyStackRef_NULL;
  |  | 1441|  8.22M|                stack_pointer[-2] = start;
  |  | 1442|  8.22M|                PyStackRef_CLOSE(tmp);
  |  | 1443|  8.22M|                tmp = container;
  |  | 1444|  8.22M|                container = PyStackRef_NULL;
  |  | 1445|  8.22M|                stack_pointer[-3] = container;
  |  | 1446|  8.22M|                PyStackRef_CLOSE(tmp);
  |  | 1447|  8.22M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1448|  8.22M|                stack_pointer += -3;
  |  | 1449|  8.22M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.22M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1450|  8.22M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1450:21): [True: 0, False: 8.22M]
  |  |  ------------------
  |  | 1451|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1452|      0|                }
  |  | 1453|  8.22M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1454|  8.22M|            }
  |  | 1455|      0|            stack_pointer[0] = res;
  |  | 1456|  8.22M|            stack_pointer += 1;
  |  | 1457|  8.22M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.22M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1458|  8.22M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.22M|    { \
  |  |  |  |  201|  8.22M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.22M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.22M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.22M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.22M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.22M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.22M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.22M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.22M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.22M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.22M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.22M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.22M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.22M|    }
  |  |  ------------------
  |  | 1459|  8.22M|        }
  |  | 1460|       |
  |  | 1461|      2|        TARGET(BUILD_INTERPOLATION) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1462|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1463|       |            int opcode = BUILD_INTERPOLATION;
  |  | 1464|       |            (void)(opcode);
  |  | 1465|       |            #endif
  |  | 1466|      2|            frame->instr_ptr = next_instr;
  |  | 1467|      2|            next_instr += 1;
  |  | 1468|      2|            INSTRUCTION_STATS(BUILD_INTERPOLATION);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1469|      2|            _PyStackRef value;
  |  | 1470|      2|            _PyStackRef str;
  |  | 1471|      2|            _PyStackRef *format;
  |  | 1472|      2|            _PyStackRef interpolation;
  |  | 1473|      2|            format = &stack_pointer[-(oparg & 1)];
  |  | 1474|      2|            str = stack_pointer[-1 - (oparg & 1)];
  |  | 1475|      2|            value = stack_pointer[-2 - (oparg & 1)];
  |  | 1476|      2|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1477|      2|            PyObject *str_o = PyStackRef_AsPyObjectBorrow(str);
  |  | 1478|      2|            int conversion = oparg >> 2;
  |  | 1479|      2|            PyObject *format_o;
  |  | 1480|      2|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1480:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 1481|      0|                format_o = PyStackRef_AsPyObjectBorrow(format[0]);
  |  | 1482|      0|            }
  |  | 1483|      2|            else {
  |  | 1484|      2|                format_o = &_Py_STR(empty);
  |  |  ------------------
  |  |  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1485|      2|            }
  |  | 1486|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1487|      2|            PyObject *interpolation_o = _PyInterpolation_Build(value_o, str_o, conversion, format_o);
  |  | 1488|      2|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1489|      2|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1489:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 1490|      0|                stack_pointer += -(oparg & 1);
  |  | 1491|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1492|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1493|      0|                PyStackRef_CLOSE(format[0]);
  |  | 1494|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1495|      0|            }
  |  | 1496|      2|            else {
  |  | 1497|      2|                stack_pointer += -(oparg & 1);
  |  | 1498|      2|            }
  |  | 1499|      2|            stack_pointer += -1;
  |  | 1500|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1501|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1502|      2|            PyStackRef_CLOSE(str);
  |  | 1503|      2|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1504|      2|            stack_pointer += -1;
  |  | 1505|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1506|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1507|      2|            PyStackRef_CLOSE(value);
  |  | 1508|      2|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1509|      2|            if (interpolation_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1509:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 1510|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1511|      0|            }
  |  | 1512|      2|            interpolation = PyStackRef_FromPyObjectSteal(interpolation_o);
  |  | 1513|      2|            stack_pointer[0] = interpolation;
  |  | 1514|      2|            stack_pointer += 1;
  |  | 1515|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1516|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  | 1517|      2|        }
  |  | 1518|       |
  |  | 1519|  3.37M|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|  3.37M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1520|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1521|       |            int opcode = BUILD_LIST;
  |  | 1522|       |            (void)(opcode);
  |  | 1523|       |            #endif
  |  | 1524|  3.37M|            frame->instr_ptr = next_instr;
  |  | 1525|  3.37M|            next_instr += 1;
  |  | 1526|  3.37M|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|  3.37M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1527|  3.37M|            _PyStackRef *values;
  |  | 1528|  3.37M|            _PyStackRef list;
  |  | 1529|  3.37M|            values = &stack_pointer[-oparg];
  |  | 1530|  3.37M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1531|  3.37M|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1532|  3.37M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1533|  3.37M|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1533:17): [True: 0, False: 3.37M]
  |  |  ------------------
  |  | 1534|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1535|      0|            }
  |  | 1536|  3.37M|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1537|  3.37M|            stack_pointer[-oparg] = list;
  |  | 1538|  3.37M|            stack_pointer += 1 - oparg;
  |  | 1539|  3.37M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.37M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1540|  3.37M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.37M|    { \
  |  |  |  |  201|  3.37M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.37M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.37M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.37M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.37M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.37M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.37M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.37M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.37M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.37M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.37M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.37M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.37M|    }
  |  |  ------------------
  |  | 1541|  3.37M|        }
  |  | 1542|       |
  |  | 1543|  3.33M|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  3.33M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1544|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1545|       |            int opcode = BUILD_MAP;
  |  | 1546|       |            (void)(opcode);
  |  | 1547|       |            #endif
  |  | 1548|  3.33M|            frame->instr_ptr = next_instr;
  |  | 1549|  3.33M|            next_instr += 1;
  |  | 1550|  3.33M|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  3.33M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1551|  3.33M|            _PyStackRef *values;
  |  | 1552|  3.33M|            _PyStackRef map;
  |  | 1553|  3.33M|            values = &stack_pointer[-oparg*2];
  |  | 1554|  3.33M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1555|  3.33M|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1556|  3.33M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1557|  3.33M|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1557:17): [True: 0, False: 3.33M]
  |  |  ------------------
  |  | 1558|      0|                stack_pointer += -oparg*2;
  |  | 1559|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1560|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1561|      0|            }
  |  | 1562|  3.33M|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1563|  3.33M|            stack_pointer[-oparg*2] = map;
  |  | 1564|  3.33M|            stack_pointer += 1 - oparg*2;
  |  | 1565|  3.33M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.33M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1566|  3.33M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.33M|    { \
  |  |  |  |  201|  3.33M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.33M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.33M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.33M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.33M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.33M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.33M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.33M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.33M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.33M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.33M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.33M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.33M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.33M|    }
  |  |  ------------------
  |  | 1567|  3.33M|        }
  |  | 1568|       |
  |  | 1569|   443k|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|   443k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1570|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1571|       |            int opcode = BUILD_SET;
  |  | 1572|       |            (void)(opcode);
  |  | 1573|       |            #endif
  |  | 1574|   443k|            frame->instr_ptr = next_instr;
  |  | 1575|   443k|            next_instr += 1;
  |  | 1576|   443k|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|   443k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1577|   443k|            _PyStackRef *values;
  |  | 1578|   443k|            _PyStackRef set;
  |  | 1579|   443k|            values = &stack_pointer[-oparg];
  |  | 1580|   443k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1581|   443k|            PyObject *set_o = PySet_New(NULL);
  |  | 1582|   443k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1583|   443k|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1583:17): [True: 0, False: 443k]
  |  |  ------------------
  |  | 1584|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1585|      0|                _PyStackRef tmp;
  |  | 1586|      0|                for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1586:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1587|      0|                    tmp = values[_i];
  |  | 1588|      0|                    values[_i] = PyStackRef_NULL;
  |  | 1589|      0|                    PyStackRef_CLOSE(tmp);
  |  | 1590|      0|                }
  |  | 1591|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1592|      0|                stack_pointer += -oparg;
  |  | 1593|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1594|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1595|      0|            }
  |  | 1596|   443k|            int err = 0;
  |  | 1597|   676k|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1597:36): [True: 233k, False: 443k]
  |  |  ------------------
  |  | 1598|   233k|                _PyStackRef value = values[i];
  |  | 1599|   233k|                values[i] = PyStackRef_NULL;
  |  | 1600|   233k|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1600:21): [True: 233k, False: 0]
  |  |  ------------------
  |  | 1601|   233k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1602|   233k|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1603|   233k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1604|   233k|                }
  |  | 1605|      0|                else {
  |  | 1606|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1607|      0|                    PyStackRef_CLOSE(value);
  |  | 1608|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1609|      0|                }
  |  | 1610|   233k|            }
  |  | 1611|   443k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1611:17): [True: 0, False: 443k]
  |  |  ------------------
  |  | 1612|      0|                stack_pointer += -oparg;
  |  | 1613|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1614|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1615|      0|                Py_DECREF(set_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1616|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1617|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1618|      0|            }
  |  | 1619|   443k|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1620|   443k|            stack_pointer[-oparg] = set;
  |  | 1621|   443k|            stack_pointer += 1 - oparg;
  |  | 1622|   443k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   443k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1623|   443k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   443k|    { \
  |  |  |  |  201|   443k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   443k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   443k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   443k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   443k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   443k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   443k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   443k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 443k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   443k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   443k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   443k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   443k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   443k|    }
  |  |  ------------------
  |  | 1624|   443k|        }
  |  | 1625|       |
  |  | 1626|    789|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    789|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1627|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1628|       |            int opcode = BUILD_SLICE;
  |  | 1629|       |            (void)(opcode);
  |  | 1630|       |            #endif
  |  | 1631|    789|            frame->instr_ptr = next_instr;
  |  | 1632|    789|            next_instr += 1;
  |  | 1633|    789|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|    789|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1634|    789|            _PyStackRef *args;
  |  | 1635|    789|            _PyStackRef slice;
  |  | 1636|    789|            args = &stack_pointer[-oparg];
  |  | 1637|    789|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1638|    789|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1639|    789|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1639:32): [True: 781, False: 8]
  |  |  ------------------
  |  | 1640|    789|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1641|    789|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1642|    789|            _PyStackRef tmp;
  |  | 1643|  3.14k|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1643:34): [True: 2.35k, False: 789]
  |  |  ------------------
  |  | 1644|  2.35k|                tmp = args[_i];
  |  | 1645|  2.35k|                args[_i] = PyStackRef_NULL;
  |  | 1646|  2.35k|                PyStackRef_CLOSE(tmp);
  |  | 1647|  2.35k|            }
  |  | 1648|    789|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1649|    789|            stack_pointer += -oparg;
  |  | 1650|    789|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    789|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1651|    789|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1651:17): [True: 0, False: 789]
  |  |  ------------------
  |  | 1652|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1653|      0|            }
  |  | 1654|    789|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1655|    789|            stack_pointer[0] = slice;
  |  | 1656|    789|            stack_pointer += 1;
  |  | 1657|    789|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    789|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1658|    789|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    789|    { \
  |  |  |  |  201|    789|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    789|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    789|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    789|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    789|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    789|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    789|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    789|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 789]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    789|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    789|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    789|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    789|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    789|    }
  |  |  ------------------
  |  | 1659|    789|        }
  |  | 1660|       |
  |  | 1661|  1.45M|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|  1.45M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1662|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1663|       |            int opcode = BUILD_STRING;
  |  | 1664|       |            (void)(opcode);
  |  | 1665|       |            #endif
  |  | 1666|  1.45M|            frame->instr_ptr = next_instr;
  |  | 1667|  1.45M|            next_instr += 1;
  |  | 1668|  1.45M|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|  1.45M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1669|  1.45M|            _PyStackRef *pieces;
  |  | 1670|  1.45M|            _PyStackRef str;
  |  | 1671|  1.45M|            pieces = &stack_pointer[-oparg];
  |  | 1672|  1.45M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1673|  1.45M|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1674|  1.45M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1675|  1.45M|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1675:17): [True: 0, False: 1.45M]
  |  |  ------------------
  |  | 1676|      0|                stack_pointer += -oparg;
  |  | 1677|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1678|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1679|      0|            }
  |  | 1680|  1.45M|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1681|  1.45M|            stack_pointer[-oparg] = str;
  |  | 1682|  1.45M|            stack_pointer += 1 - oparg;
  |  | 1683|  1.45M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.45M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1684|  1.45M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.45M|    { \
  |  |  |  |  201|  1.45M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.45M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.45M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.45M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.45M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.45M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.45M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.45M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.45M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.45M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.45M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.45M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.45M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.45M|    }
  |  |  ------------------
  |  | 1685|  1.45M|        }
  |  | 1686|       |
  |  | 1687|      4|        TARGET(BUILD_TEMPLATE) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1688|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1689|       |            int opcode = BUILD_TEMPLATE;
  |  | 1690|       |            (void)(opcode);
  |  | 1691|       |            #endif
  |  | 1692|      4|            frame->instr_ptr = next_instr;
  |  | 1693|      4|            next_instr += 1;
  |  | 1694|      4|            INSTRUCTION_STATS(BUILD_TEMPLATE);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1695|      4|            _PyStackRef strings;
  |  | 1696|      4|            _PyStackRef interpolations;
  |  | 1697|      4|            _PyStackRef template;
  |  | 1698|      4|            interpolations = stack_pointer[-1];
  |  | 1699|      4|            strings = stack_pointer[-2];
  |  | 1700|      4|            PyObject *strings_o = PyStackRef_AsPyObjectBorrow(strings);
  |  | 1701|      4|            PyObject *interpolations_o = PyStackRef_AsPyObjectBorrow(interpolations);
  |  | 1702|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1703|      4|            PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
  |  | 1704|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1705|      4|            stack_pointer += -1;
  |  | 1706|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1707|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1708|      4|            PyStackRef_CLOSE(interpolations);
  |  | 1709|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1710|      4|            stack_pointer += -1;
  |  | 1711|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1712|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1713|      4|            PyStackRef_CLOSE(strings);
  |  | 1714|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1715|      4|            if (template_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1715:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 1716|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1717|      0|            }
  |  | 1718|      4|            template = PyStackRef_FromPyObjectSteal(template_o);
  |  | 1719|      4|            stack_pointer[0] = template;
  |  | 1720|      4|            stack_pointer += 1;
  |  | 1721|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1722|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 1723|      4|        }
  |  | 1724|       |
  |  | 1725|  5.15M|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  5.15M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1726|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1727|       |            int opcode = BUILD_TUPLE;
  |  | 1728|       |            (void)(opcode);
  |  | 1729|       |            #endif
  |  | 1730|  5.15M|            frame->instr_ptr = next_instr;
  |  | 1731|  5.15M|            next_instr += 1;
  |  | 1732|  5.15M|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  5.15M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1733|  5.15M|            _PyStackRef *values;
  |  | 1734|  5.15M|            _PyStackRef tup;
  |  | 1735|  5.15M|            values = &stack_pointer[-oparg];
  |  | 1736|  5.15M|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1737|  5.15M|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1737:17): [True: 0, False: 5.15M]
  |  |  ------------------
  |  | 1738|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1739|      0|            }
  |  | 1740|  5.15M|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1741|  5.15M|            stack_pointer[-oparg] = tup;
  |  | 1742|  5.15M|            stack_pointer += 1 - oparg;
  |  | 1743|  5.15M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.15M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1744|  5.15M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.15M|    { \
  |  |  |  |  201|  5.15M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.15M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.15M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.15M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.15M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.15M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.15M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.15M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.15M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.15M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.15M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.15M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.15M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.15M|    }
  |  |  ------------------
  |  | 1745|  5.15M|        }
  |  | 1746|       |
  |  | 1747|      0|        TARGET(CACHE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1748|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1749|       |            int opcode = CACHE;
  |  | 1750|       |            (void)(opcode);
  |  | 1751|       |            #endif
  |  | 1752|      0|            frame->instr_ptr = next_instr;
  |  | 1753|      0|            next_instr += 1;
  |  | 1754|      0|            INSTRUCTION_STATS(CACHE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1755|      0|            assert(0 && "Executing a cache.");
  |  | 1756|      0|            Py_FatalError("Executing a cache.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 1757|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1758|      0|        }
  |  | 1759|       |
  |  | 1760|  80.1k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  80.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1761|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1762|       |            int opcode = CALL;
  |  | 1763|       |            (void)(opcode);
  |  | 1764|       |            #endif
  |  | 1765|  80.1k|            frame->instr_ptr = next_instr;
  |  | 1766|  80.1k|            next_instr += 4;
  |  | 1767|  80.1k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  80.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1768|  8.79M|            PREDICTED_CALL:;
  |  | 1769|  8.79M|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1770|  8.79M|            (void)this_instr;
  |  | 1771|  8.79M|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  8.79M|#define CALL                                    50
  |  |  ------------------
  |  | 1772|  8.79M|            _PyStackRef callable;
  |  | 1773|  8.79M|            _PyStackRef self_or_null;
  |  | 1774|  8.79M|            _PyStackRef *args;
  |  | 1775|  8.79M|            _PyStackRef res;
  |  | 1776|       |            // _SPECIALIZE_CALL
  |  | 1777|  8.79M|            {
  |  | 1778|  8.79M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1779|  8.79M|                callable = stack_pointer[-2 - oparg];
  |  | 1780|  8.79M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1781|  8.79M|                (void)counter;
  |  | 1782|  8.79M|                #if ENABLE_SPECIALIZATION
  |  | 1783|  8.79M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  8.79M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 169k, False: 8.62M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|   169k|                    next_instr = this_instr;
  |  | 1785|   169k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1786|   169k|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|   169k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   169k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   169k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1787|   169k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1788|   169k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   169k|    { \
  |  |  |  |  217|   169k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   169k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   169k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   169k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   169k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   169k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   169k|    }
  |  |  ------------------
  |  | 1789|   169k|                }
  |  | 1790|  8.79M|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  8.79M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1791|  8.79M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  8.79M|    do { \
  |  |  |  |  358|  8.79M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  8.79M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 8.79M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1792|  8.79M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1793|  8.79M|            }
  |  | 1794|       |            /* Skip 2 cache entries */
  |  | 1795|       |            // _MAYBE_EXPAND_METHOD
  |  | 1796|  8.79M|            {
  |  | 1797|  8.79M|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  86.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  86.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  86.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 86.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1797:21): [True: 86.0k, False: 8.70M]
  |  |  ------------------
  |  | 1798|  86.0k|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1799|  86.0k|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1800|  86.0k|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|  86.0k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1801|  86.0k|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1802|  86.0k|                    _PyStackRef temp = callable;
  |  | 1803|  86.0k|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|  86.0k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1804|  86.0k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1805|  86.0k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1806|  86.0k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1807|  86.0k|                    PyStackRef_CLOSE(temp);
  |  | 1808|  86.0k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1809|  86.0k|                }
  |  | 1810|  8.79M|            }
  |  | 1811|       |            // _DO_CALL
  |  | 1812|  8.79M|            {
  |  | 1813|  8.79M|                args = &stack_pointer[-oparg];
  |  | 1814|  8.79M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1815|  8.79M|                int total_args = oparg;
  |  | 1816|  8.79M|                _PyStackRef *arguments = args;
  |  | 1817|  8.79M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  8.79M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.79M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.79M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1817:21): [True: 468k, False: 8.32M]
  |  |  ------------------
  |  | 1818|   468k|                    arguments--;
  |  | 1819|   468k|                    total_args++;
  |  | 1820|   468k|                }
  |  | 1821|  8.79M|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  8.79M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:21): [True: 498k, False: 8.29M]
  |  |  ------------------
  |  | 1822|   498k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|  9.29M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1822:21): [True: 498k, False: 0]
  |  |  ------------------
  |  | 1823|   498k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1823:21): [True: 498k, False: 0]
  |  |  ------------------
  |  | 1824|   498k|                {
  |  | 1825|   498k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   498k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   498k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   498k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1826|   498k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|   498k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1826:40): [True: 498k, False: 0]
  |  |  ------------------
  |  | 1827|   498k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1828|   498k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1829|   498k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1830|   498k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1831|   498k|                        tstate, callable, locals,
  |  | 1832|   498k|                        arguments, total_args, NULL, frame
  |  | 1833|   498k|                    );
  |  | 1834|   498k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1835|   498k|                    stack_pointer += -2 - oparg;
  |  | 1836|   498k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   498k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1837|   498k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1837:25): [True: 0, False: 498k]
  |  |  ------------------
  |  | 1838|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1839|      0|                    }
  |  | 1840|   498k|                    frame->return_offset = 4u ;
  |  | 1841|   498k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|   498k|    do {                                                         \
  |  |  |  |  224|   498k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|   498k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|   498k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|   498k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|   498k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|   498k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|   498k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|   498k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1842|   498k|                }
  |  | 1843|  8.29M|                stack_pointer[-2 - oparg] = callable;
  |  | 1844|  8.29M|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1845|  8.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1846|  8.29M|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1847|  8.29M|                    callable,
  |  | 1848|  8.29M|                    arguments,
  |  | 1849|  8.29M|                    total_args,
  |  | 1850|  8.29M|                    PyStackRef_NULL,
  |  | 1851|  8.29M|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  240|  8.29M|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1852|  8.29M|                    frame,
  |  | 1853|  8.29M|                    this_instr,
  |  | 1854|  8.29M|                    tstate);
  |  | 1855|  8.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1856|  8.29M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1856:21): [True: 102, False: 8.29M]
  |  |  ------------------
  |  | 1857|    102|                    stack_pointer += -2 - oparg;
  |  | 1858|    102|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    102|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1859|    102|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    102|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1860|      0|                }
  |  | 1861|  8.29M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1862|  8.29M|            }
  |  | 1863|       |            // _CHECK_PERIODIC_AT_END
  |  | 1864|      0|            {
  |  | 1865|  8.29M|                stack_pointer[-2 - oparg] = res;
  |  | 1866|  8.29M|                stack_pointer += -1 - oparg;
  |  | 1867|  8.29M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.29M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1868|  8.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1869|  8.29M|                int err = check_periodics(tstate);
  |  | 1870|  8.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1871|  8.29M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1871:21): [True: 0, False: 8.29M]
  |  |  ------------------
  |  | 1872|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1873|      0|                }
  |  | 1874|  8.29M|            }
  |  | 1875|  8.29M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.29M|    { \
  |  |  |  |  201|  8.29M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.29M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.29M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.29M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.29M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.29M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.29M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.29M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.29M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.29M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.29M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.29M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.29M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.29M|    }
  |  |  ------------------
  |  | 1876|  8.29M|        }
  |  | 1877|       |
  |  | 1878|  9.36k|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|  9.36k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1879|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1880|       |            int opcode = CALL_ALLOC_AND_ENTER_INIT;
  |  | 1881|       |            (void)(opcode);
  |  | 1882|       |            #endif
  |  | 1883|  9.36k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1884|  9.36k|            (void)this_instr;
  |  | 1885|  9.36k|            frame->instr_ptr = next_instr;
  |  | 1886|  9.36k|            next_instr += 4;
  |  | 1887|  9.36k|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|  9.36k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1888|  9.36k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1889|  9.36k|            _PyStackRef callable;
  |  | 1890|  9.36k|            _PyStackRef self_or_null;
  |  | 1891|  9.36k|            _PyStackRef init;
  |  | 1892|  9.36k|            _PyStackRef self;
  |  | 1893|  9.36k|            _PyStackRef *args;
  |  | 1894|  9.36k|            _PyStackRef init_frame;
  |  | 1895|  9.36k|            _PyStackRef new_frame;
  |  | 1896|       |            /* Skip 1 cache entry */
  |  | 1897|       |            // _CHECK_PEP_523
  |  | 1898|  9.36k|            {
  |  | 1899|  9.36k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  9.36k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 9.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1900|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1901|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1902|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1903|      0|                }
  |  | 1904|  9.36k|            }
  |  | 1905|       |            // _CHECK_OBJECT
  |  | 1906|  9.36k|            {
  |  | 1907|  9.36k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1908|  9.36k|                callable = stack_pointer[-2 - oparg];
  |  | 1909|  9.36k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1910|  9.36k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1911|  9.36k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  9.36k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  9.36k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  9.36k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1911:21): [True: 0, False: 9.36k]
  |  |  ------------------
  |  | 1912|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1913|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1914|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1915|      0|                }
  |  | 1916|  9.36k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  9.36k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 0, False: 9.36k]
  |  |  ------------------
  |  | 1917|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1918|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1919|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  9.36k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1922|  9.36k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  159|  9.36k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1922:21): [True: 50, False: 9.31k]
  |  |  ------------------
  |  | 1923|     50|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|     50|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1924|     50|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1925|     50|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     50|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1926|      0|                }
  |  | 1927|  9.36k|            }
  |  | 1928|       |            // _CHECK_RECURSION_REMAINING
  |  | 1929|  9.31k|            {
  |  | 1930|  9.31k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1930:21): [True: 0, False: 9.31k]
  |  |  ------------------
  |  | 1931|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1932|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1933|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  9.31k|            }
  |  | 1936|       |            // _ALLOCATE_OBJECT
  |  | 1937|  9.31k|            {
  |  | 1938|  9.31k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1939|  9.31k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 1940|  9.31k|                assert(PyType_Check(callable_o));
  |  | 1941|  9.31k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1942|  9.31k|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  | 1943|  9.31k|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  | 1944|  9.31k|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  | 1945|  9.31k|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 1946|  9.31k|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  150|  9.31k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 1947|  9.31k|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 1948|  9.31k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (1948:21): [True: 22, False: 9.28k]
  |  |  ------------------
  |  | 1949|     22|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|     22|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1950|     22|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 1951|     22|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     22|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1952|      0|                }
  |  | 1953|  9.28k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  9.28k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1954|  9.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1955|  9.28k|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 1956|  9.28k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1957|  9.28k|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1957:21): [True: 0, False: 9.28k]
  |  |  ------------------
  |  | 1958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1959|      0|                }
  |  | 1960|  9.28k|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 1961|  9.28k|                _PyStackRef temp = callable;
  |  | 1962|  9.28k|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|  9.28k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|  9.28k|                stack_pointer[-2 - oparg] = callable;
  |  | 1964|  9.28k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1965|  9.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1966|  9.28k|                PyStackRef_CLOSE(temp);
  |  | 1967|  9.28k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1968|  9.28k|            }
  |  | 1969|       |            // _CREATE_INIT_FRAME
  |  | 1970|      0|            {
  |  | 1971|  9.28k|                args = &stack_pointer[-oparg];
  |  | 1972|  9.28k|                self = self_or_null;
  |  | 1973|  9.28k|                init = callable;
  |  | 1974|  9.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1975|  9.28k|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 1976|  9.28k|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 1977|  9.28k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1978|  9.28k|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  | 1979|  9.28k|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  | 1980|  9.28k|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 1981|  9.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1982|  9.28k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 1983|  9.28k|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 1984|  9.28k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1985|  9.28k|                stack_pointer += -2 - oparg;
  |  | 1986|  9.28k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1987|  9.28k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (1987:21): [True: 0, False: 9.28k]
  |  |  ------------------
  |  | 1988|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1989|      0|                    _PyEval_FrameClearAndPop(tstate, shim);
  |  | 1990|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1991|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1992|      0|                }
  |  | 1993|  9.28k|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|  9.28k|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.28k|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1994|  9.28k|                tstate->py_recursion_remaining--;
  |  | 1995|  9.28k|                init_frame = PyStackRef_Wrap(temp);
  |  | 1996|  9.28k|            }
  |  | 1997|       |            // _PUSH_FRAME
  |  | 1998|      0|            {
  |  | 1999|  9.28k|                new_frame = init_frame;
  |  | 2000|  9.28k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2001|  9.28k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2002|  9.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2003|  9.28k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2004|  9.28k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  9.28k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2005|  9.28k|                frame = tstate->current_frame = temp;
  |  | 2006|  9.28k|                tstate->py_recursion_remaining--;
  |  | 2007|  9.28k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  9.28k|#define LOAD_SP() \
  |  |  |  |  426|  9.28k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2008|  9.28k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  9.28k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  9.28k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  9.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 9.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2009|  9.28k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  9.28k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2010|  9.28k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  9.28k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2011|  9.28k|            }
  |  | 2012|  9.28k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.28k|    { \
  |  |  |  |  201|  9.28k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  9.28k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  9.28k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  9.28k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.28k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.28k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  9.28k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  9.28k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 9.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.28k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.28k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.28k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.28k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.28k|    }
  |  |  ------------------
  |  | 2013|  9.28k|        }
  |  | 2014|       |
  |  | 2015|   215k|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|   215k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2017|       |            int opcode = CALL_BOUND_METHOD_EXACT_ARGS;
  |  | 2018|       |            (void)(opcode);
  |  | 2019|       |            #endif
  |  | 2020|   215k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2021|   215k|            (void)this_instr;
  |  | 2022|   215k|            frame->instr_ptr = next_instr;
  |  | 2023|   215k|            next_instr += 4;
  |  | 2024|   215k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|   215k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2025|   215k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2026|   215k|            _PyStackRef callable;
  |  | 2027|   215k|            _PyStackRef null;
  |  | 2028|   215k|            _PyStackRef self_or_null;
  |  | 2029|   215k|            _PyStackRef *args;
  |  | 2030|   215k|            _PyStackRef new_frame;
  |  | 2031|       |            /* Skip 1 cache entry */
  |  | 2032|       |            // _CHECK_PEP_523
  |  | 2033|   215k|            {
  |  | 2034|   215k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|   215k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 215k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2035|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2036|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2037|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2038|      0|                }
  |  | 2039|   215k|            }
  |  | 2040|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2041|   215k|            {
  |  | 2042|   215k|                null = stack_pointer[-1 - oparg];
  |  | 2043|   215k|                callable = stack_pointer[-2 - oparg];
  |  | 2044|   215k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   215k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   215k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   215k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2044:21): [True: 0, False: 215k]
  |  |  ------------------
  |  | 2045|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2046|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2047|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2048|      0|                }
  |  | 2049|   215k|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   215k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2049:21): [True: 0, False: 215k]
  |  |  ------------------
  |  | 2050|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2051|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2052|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2053|      0|                }
  |  | 2054|   215k|            }
  |  | 2055|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2056|   215k|            {
  |  | 2057|   215k|                self_or_null = null;
  |  | 2058|   215k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 2059|   215k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2060|   215k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   215k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2061|   215k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|   215k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2062|   215k|                _PyStackRef temp = callable;
  |  | 2063|   215k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|   215k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2064|   215k|                stack_pointer[-2 - oparg] = callable;
  |  | 2065|   215k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2066|   215k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2067|   215k|                PyStackRef_CLOSE(temp);
  |  | 2068|   215k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2069|   215k|            }
  |  | 2070|       |            // flush
  |  | 2071|       |            // _CHECK_FUNCTION_VERSION
  |  | 2072|   215k|            {
  |  | 2073|   215k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2074|   215k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2075|   215k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   215k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   215k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2075:21): [True: 0, False: 215k]
  |  |  ------------------
  |  | 2076|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2077|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2078|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2079|      0|                }
  |  | 2080|   215k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2081|   215k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2081:21): [True: 87.2k, False: 127k]
  |  |  ------------------
  |  | 2082|  87.2k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  87.2k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2083|  87.2k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2084|  87.2k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  87.2k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2085|      0|                }
  |  | 2086|   215k|            }
  |  | 2087|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2088|   127k|            {
  |  | 2089|   127k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2090|   127k|                assert(PyFunction_Check(callable_o));
  |  | 2091|   127k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2092|   127k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2093|   127k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|   127k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   127k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   127k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2093:21): [True: 0, False: 127k]
  |  |  ------------------
  |  | 2094|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2095|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2096|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2097|      0|                }
  |  | 2098|   127k|            }
  |  | 2099|       |            // _CHECK_STACK_SPACE
  |  | 2100|   127k|            {
  |  | 2101|   127k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2102|   127k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2103|   127k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2104|   127k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2104:21): [True: 158, False: 127k]
  |  |  ------------------
  |  | 2105|    158|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    158|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2106|    158|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2107|    158|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    158|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2108|      0|                }
  |  | 2109|   127k|            }
  |  | 2110|       |            // _CHECK_RECURSION_REMAINING
  |  | 2111|   127k|            {
  |  | 2112|   127k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2112:21): [True: 0, False: 127k]
  |  |  ------------------
  |  | 2113|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2114|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2115|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2116|      0|                }
  |  | 2117|   127k|            }
  |  | 2118|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2119|   127k|            {
  |  | 2120|   127k|                args = &stack_pointer[-oparg];
  |  | 2121|   127k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|   127k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   127k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   127k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2122|   127k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   127k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2123|   127k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2124|   127k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2125|   127k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2126|   243k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2126:33): [True: 115k, False: 127k]
  |  |  ------------------
  |  | 2127|   115k|                    first_non_self_local[i] = args[i];
  |  | 2128|   115k|                }
  |  | 2129|   127k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2130|   127k|            }
  |  | 2131|       |            // _SAVE_RETURN_OFFSET
  |  | 2132|   127k|            {
  |  | 2133|   127k|                #if TIER_ONE
  |  | 2134|   127k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2135|   127k|                #endif
  |  | 2136|       |                #if TIER_TWO
  |  | 2137|       |                frame->return_offset = oparg;
  |  | 2138|       |                #endif
  |  | 2139|   127k|            }
  |  | 2140|       |            // _PUSH_FRAME
  |  | 2141|   127k|            {
  |  | 2142|   127k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2143|   127k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2144|   127k|                stack_pointer += -2 - oparg;
  |  | 2145|   127k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   127k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2146|   127k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2147|   127k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2148|   127k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|   127k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2149|   127k|                frame = tstate->current_frame = temp;
  |  | 2150|   127k|                tstate->py_recursion_remaining--;
  |  | 2151|   127k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|   127k|#define LOAD_SP() \
  |  |  |  |  426|   127k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2152|   127k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|   127k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|   127k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|   127k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 127k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2153|   127k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|   127k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2154|   127k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   127k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2155|   127k|            }
  |  | 2156|   127k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   127k|    { \
  |  |  |  |  201|   127k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   127k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   127k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   127k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   127k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   127k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   127k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   127k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 127k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   127k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   127k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   127k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   127k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   127k|    }
  |  |  ------------------
  |  | 2157|   127k|        }
  |  | 2158|       |
  |  | 2159|   171k|        TARGET(CALL_BOUND_METHOD_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|   171k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2160|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2161|       |            int opcode = CALL_BOUND_METHOD_GENERAL;
  |  | 2162|       |            (void)(opcode);
  |  | 2163|       |            #endif
  |  | 2164|   171k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2165|   171k|            (void)this_instr;
  |  | 2166|   171k|            frame->instr_ptr = next_instr;
  |  | 2167|   171k|            next_instr += 4;
  |  | 2168|   171k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_GENERAL);
  |  |  ------------------
  |  |  |  |   71|   171k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2169|   171k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2170|   171k|            _PyStackRef callable;
  |  | 2171|   171k|            _PyStackRef null;
  |  | 2172|   171k|            _PyStackRef self_or_null;
  |  | 2173|   171k|            _PyStackRef *args;
  |  | 2174|   171k|            _PyStackRef new_frame;
  |  | 2175|       |            /* Skip 1 cache entry */
  |  | 2176|       |            // _CHECK_PEP_523
  |  | 2177|   171k|            {
  |  | 2178|   171k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|   171k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 171k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2179|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2180|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2181|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2182|      0|                }
  |  | 2183|   171k|            }
  |  | 2184|       |            // _CHECK_METHOD_VERSION
  |  | 2185|   171k|            {
  |  | 2186|   171k|                null = stack_pointer[-1 - oparg];
  |  | 2187|   171k|                callable = stack_pointer[-2 - oparg];
  |  | 2188|   171k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2189|   171k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2190|   171k|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   171k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2190:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2191|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2192|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2193|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2194|      0|                }
  |  | 2195|   171k|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 2196|   171k|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|   171k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   171k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2196:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2197|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2198|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2199|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2200|      0|                }
  |  | 2201|   171k|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2201:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2202|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2203|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2204|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2205|      0|                }
  |  | 2206|   171k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   171k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   171k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   171k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2206:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2207|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2208|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2209|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2210|      0|                }
  |  | 2211|   171k|            }
  |  | 2212|       |            // _EXPAND_METHOD
  |  | 2213|   171k|            {
  |  | 2214|   171k|                self_or_null = null;
  |  | 2215|   171k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2216|   171k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 2217|   171k|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  | 2218|   171k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|   171k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2219|   171k|                _PyStackRef temp = callable;
  |  | 2220|   171k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|   171k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2221|   171k|                assert(PyStackRef_FunctionCheck(callable));
  |  | 2222|   171k|                stack_pointer[-2 - oparg] = callable;
  |  | 2223|   171k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2224|   171k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2225|   171k|                PyStackRef_CLOSE(temp);
  |  | 2226|   171k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2227|   171k|            }
  |  | 2228|       |            // flush
  |  | 2229|       |            // _CHECK_RECURSION_REMAINING
  |  | 2230|   171k|            {
  |  | 2231|   171k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2231:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2232|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2233|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2234|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2235|      0|                }
  |  | 2236|   171k|            }
  |  | 2237|       |            // _PY_FRAME_GENERAL
  |  | 2238|   171k|            {
  |  | 2239|   171k|                args = &stack_pointer[-oparg];
  |  | 2240|   171k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2241|   171k|                int total_args = oparg;
  |  | 2242|   171k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   171k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   171k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   171k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2242:21): [True: 171k, False: 0]
  |  |  ------------------
  |  | 2243|   171k|                    args--;
  |  | 2244|   171k|                    total_args++;
  |  | 2245|   171k|                }
  |  | 2246|   171k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 2247|   171k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   171k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2248|   171k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|   171k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2248:36): [True: 171k, False: 0]
  |  |  ------------------
  |  | 2249|   171k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2250|   171k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2251|   171k|                    tstate, callable, locals,
  |  | 2252|   171k|                    args, total_args, NULL, frame
  |  | 2253|   171k|                );
  |  | 2254|   171k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2255|   171k|                stack_pointer += -2 - oparg;
  |  | 2256|   171k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   171k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2257|   171k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2257:21): [True: 0, False: 171k]
  |  |  ------------------
  |  | 2258|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2259|      0|                }
  |  | 2260|   171k|                new_frame = PyStackRef_Wrap(temp);
  |  | 2261|   171k|            }
  |  | 2262|       |            // _SAVE_RETURN_OFFSET
  |  | 2263|      0|            {
  |  | 2264|   171k|                #if TIER_ONE
  |  | 2265|   171k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2266|   171k|                #endif
  |  | 2267|       |                #if TIER_TWO
  |  | 2268|       |                frame->return_offset = oparg;
  |  | 2269|       |                #endif
  |  | 2270|   171k|            }
  |  | 2271|       |            // _PUSH_FRAME
  |  | 2272|   171k|            {
  |  | 2273|   171k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2274|   171k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2275|   171k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2276|   171k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2277|   171k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|   171k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2278|   171k|                frame = tstate->current_frame = temp;
  |  | 2279|   171k|                tstate->py_recursion_remaining--;
  |  | 2280|   171k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|   171k|#define LOAD_SP() \
  |  |  |  |  426|   171k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2281|   171k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|   171k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|   171k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|   171k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 171k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2282|   171k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|   171k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2283|   171k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   171k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2284|   171k|            }
  |  | 2285|   171k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   171k|    { \
  |  |  |  |  201|   171k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   171k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   171k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   171k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   171k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   171k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   171k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   171k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 171k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   171k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   171k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   171k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   171k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   171k|    }
  |  |  ------------------
  |  | 2286|   171k|        }
  |  | 2287|       |
  |  | 2288|   631k|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   631k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2289|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2290|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2291|       |            (void)(opcode);
  |  | 2292|       |            #endif
  |  | 2293|   631k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2294|   631k|            (void)this_instr;
  |  | 2295|   631k|            frame->instr_ptr = next_instr;
  |  | 2296|   631k|            next_instr += 4;
  |  | 2297|   631k|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|   631k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2298|   631k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2299|   631k|            _PyStackRef callable;
  |  | 2300|   631k|            _PyStackRef self_or_null;
  |  | 2301|   631k|            _PyStackRef *args;
  |  | 2302|   631k|            _PyStackRef value;
  |  | 2303|       |            /* Skip 1 cache entry */
  |  | 2304|       |            /* Skip 2 cache entries */
  |  | 2305|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2306|   631k|            {
  |  | 2307|   631k|                callable = stack_pointer[-2 - oparg];
  |  | 2308|   631k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2309|   631k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|   631k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   631k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   631k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2309:21): [True: 0, False: 631k]
  |  |  ------------------
  |  | 2310|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2311|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2312|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2313|      0|                }
  |  | 2314|   631k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2315|   631k|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2315:21): [True: 0, False: 631k]
  |  |  ------------------
  |  | 2316|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2317|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2318|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2319|      0|                }
  |  | 2320|   631k|            }
  |  | 2321|       |            // _CALL_BUILTIN_CLASS
  |  | 2322|   631k|            {
  |  | 2323|   631k|                args = &stack_pointer[-oparg];
  |  | 2324|   631k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2325|   631k|                int total_args = oparg;
  |  | 2326|   631k|                _PyStackRef *arguments = args;
  |  | 2327|   631k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   631k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   631k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   631k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2327:21): [True: 0, False: 631k]
  |  |  ------------------
  |  | 2328|      0|                    arguments--;
  |  | 2329|      0|                    total_args++;
  |  | 2330|      0|                }
  |  | 2331|   631k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   631k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2332|   631k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2333|   631k|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2334|   631k|                    callable,
  |  | 2335|   631k|                    arguments,
  |  | 2336|   631k|                    total_args);
  |  | 2337|   631k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2338|   631k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2338:21): [True: 0, False: 631k]
  |  |  ------------------
  |  | 2339|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2340|      0|                }
  |  | 2341|   631k|                _PyStackRef temp = callable;
  |  | 2342|   631k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2343|   631k|                stack_pointer[-2 - oparg] = callable;
  |  | 2344|   631k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2345|   631k|                PyStackRef_CLOSE(temp);
  |  | 2346|   631k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2347|   631k|            }
  |  | 2348|       |            // _POP_TOP_OPARG
  |  | 2349|      0|            {
  |  | 2350|   631k|                args = &stack_pointer[-oparg];
  |  | 2351|   631k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2352|   631k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2353|   631k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2354|   631k|            }
  |  | 2355|       |            // _POP_TOP
  |  | 2356|   631k|            {
  |  | 2357|   631k|                value = self_or_null;
  |  | 2358|   631k|                stack_pointer += -1 - oparg;
  |  | 2359|   631k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   631k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2360|   631k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2361|   631k|                PyStackRef_XCLOSE(value);
  |  | 2362|   631k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2363|   631k|            }
  |  | 2364|       |            // _CHECK_PERIODIC_AT_END
  |  | 2365|   631k|            {
  |  | 2366|   631k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2367|   631k|                int err = check_periodics(tstate);
  |  | 2368|   631k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2369|   631k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2369:21): [True: 0, False: 631k]
  |  |  ------------------
  |  | 2370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2371|      0|                }
  |  | 2372|   631k|            }
  |  | 2373|   631k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   631k|    { \
  |  |  |  |  201|   631k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   631k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   631k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   631k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   631k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   631k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   631k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   631k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 631k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   631k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   631k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   631k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   631k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   631k|    }
  |  |  ------------------
  |  | 2374|   631k|        }
  |  | 2375|       |
  |  | 2376|  8.10M|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|  8.10M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2377|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2378|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2379|       |            (void)(opcode);
  |  | 2380|       |            #endif
  |  | 2381|  8.10M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2382|  8.10M|            (void)this_instr;
  |  | 2383|  8.10M|            frame->instr_ptr = next_instr;
  |  | 2384|  8.10M|            next_instr += 4;
  |  | 2385|  8.10M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|  8.10M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2386|  8.10M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2387|  8.10M|            _PyStackRef callable;
  |  | 2388|  8.10M|            _PyStackRef self_or_null;
  |  | 2389|  8.10M|            _PyStackRef *args;
  |  | 2390|  8.10M|            _PyStackRef value;
  |  | 2391|       |            /* Skip 1 cache entry */
  |  | 2392|       |            /* Skip 2 cache entries */
  |  | 2393|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2394|  8.10M|            {
  |  | 2395|  8.10M|                callable = stack_pointer[-2 - oparg];
  |  | 2396|  8.10M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2397|  8.10M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  8.10M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.10M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2397:21): [True: 0, False: 8.10M]
  |  |  ------------------
  |  | 2398|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2399|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2400|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2401|      0|                }
  |  | 2402|  8.10M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   57|  8.10M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  8.10M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (2402:21): [True: 240, False: 8.10M]
  |  |  ------------------
  |  | 2403|    240|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    240|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2404|    240|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2405|    240|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    240|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2406|      0|                }
  |  | 2407|  8.10M|            }
  |  | 2408|       |            // _CALL_BUILTIN_FAST
  |  | 2409|  8.10M|            {
  |  | 2410|  8.10M|                args = &stack_pointer[-oparg];
  |  | 2411|  8.10M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2412|  8.10M|                int total_args = oparg;
  |  | 2413|  8.10M|                _PyStackRef *arguments = args;
  |  | 2414|  8.10M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  8.10M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.10M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.10M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2414:21): [True: 0, False: 8.10M]
  |  |  ------------------
  |  | 2415|      0|                    arguments--;
  |  | 2416|      0|                    total_args++;
  |  | 2417|      0|                }
  |  | 2418|  8.10M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  8.10M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2419|  8.10M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2420|  8.10M|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2421|  8.10M|                    callable,
  |  | 2422|  8.10M|                    arguments,
  |  | 2423|  8.10M|                    total_args
  |  | 2424|  8.10M|                );
  |  | 2425|  8.10M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2426|  8.10M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2426:21): [True: 1.18M, False: 6.91M]
  |  |  ------------------
  |  | 2427|  1.18M|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  1.18M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2428|      0|                }
  |  | 2429|  6.91M|                _PyStackRef temp = callable;
  |  | 2430|  6.91M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2431|  6.91M|                stack_pointer[-2 - oparg] = callable;
  |  | 2432|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2433|  6.91M|                PyStackRef_CLOSE(temp);
  |  | 2434|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2435|  6.91M|            }
  |  | 2436|       |            // _POP_TOP_OPARG
  |  | 2437|      0|            {
  |  | 2438|  6.91M|                args = &stack_pointer[-oparg];
  |  | 2439|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2440|  6.91M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2441|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2442|  6.91M|            }
  |  | 2443|       |            // _POP_TOP
  |  | 2444|  6.91M|            {
  |  | 2445|  6.91M|                value = self_or_null;
  |  | 2446|  6.91M|                stack_pointer += -1 - oparg;
  |  | 2447|  6.91M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.91M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2448|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2449|  6.91M|                PyStackRef_XCLOSE(value);
  |  | 2450|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2451|  6.91M|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|  6.91M|            {
  |  | 2454|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2455|  6.91M|                int err = check_periodics(tstate);
  |  | 2456|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2457|  6.91M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2457:21): [True: 0, False: 6.91M]
  |  |  ------------------
  |  | 2458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2459|      0|                }
  |  | 2460|  6.91M|            }
  |  | 2461|  6.91M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.91M|    { \
  |  |  |  |  201|  6.91M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.91M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.91M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.91M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.91M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.91M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.91M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.91M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.91M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.91M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.91M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.91M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.91M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.91M|    }
  |  |  ------------------
  |  | 2462|  6.91M|        }
  |  | 2463|       |
  |  | 2464|  11.0M|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  11.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2465|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2466|       |            int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
  |  | 2467|       |            (void)(opcode);
  |  | 2468|       |            #endif
  |  | 2469|  11.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2470|  11.0M|            (void)this_instr;
  |  | 2471|  11.0M|            frame->instr_ptr = next_instr;
  |  | 2472|  11.0M|            next_instr += 4;
  |  | 2473|  11.0M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  11.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2474|  11.0M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2475|  11.0M|            _PyStackRef callable;
  |  | 2476|  11.0M|            _PyStackRef self_or_null;
  |  | 2477|  11.0M|            _PyStackRef *args;
  |  | 2478|  11.0M|            _PyStackRef value;
  |  | 2479|       |            /* Skip 1 cache entry */
  |  | 2480|       |            /* Skip 2 cache entries */
  |  | 2481|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2482|  11.0M|            {
  |  | 2483|  11.0M|                callable = stack_pointer[-2 - oparg];
  |  | 2484|  11.0M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2485|  11.0M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  11.0M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.0M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2485:21): [True: 0, False: 11.0M]
  |  |  ------------------
  |  | 2486|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2487|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2488|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2489|      0|                }
  |  | 2490|  11.0M|                if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   57|  11.0M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  11.0M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  11.0M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (2490:21): [True: 8.21M, False: 2.81M]
  |  |  ------------------
  |  | 2491|  8.21M|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  8.21M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2492|  8.21M|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2493|  8.21M|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  8.21M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2494|      0|                }
  |  | 2495|  11.0M|            }
  |  | 2496|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2497|  2.81M|            {
  |  | 2498|  2.81M|                args = &stack_pointer[-oparg];
  |  | 2499|  2.81M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2500|  2.81M|                int total_args = oparg;
  |  | 2501|  2.81M|                _PyStackRef *arguments = args;
  |  | 2502|  2.81M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.81M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.81M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.81M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2502:21): [True: 0, False: 2.81M]
  |  |  ------------------
  |  | 2503|      0|                    arguments--;
  |  | 2504|      0|                    total_args++;
  |  | 2505|      0|                }
  |  | 2506|  2.81M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.81M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2507|  2.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2508|  2.81M|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2509|  2.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2510|  2.81M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2510:21): [True: 279, False: 2.81M]
  |  |  ------------------
  |  | 2511|    279|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    279|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2512|      0|                }
  |  | 2513|  2.81M|                _PyStackRef temp = callable;
  |  | 2514|  2.81M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2515|  2.81M|                stack_pointer[-2 - oparg] = callable;
  |  | 2516|  2.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2517|  2.81M|                PyStackRef_CLOSE(temp);
  |  | 2518|  2.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2519|  2.81M|            }
  |  | 2520|       |            // _POP_TOP_OPARG
  |  | 2521|      0|            {
  |  | 2522|  2.81M|                args = &stack_pointer[-oparg];
  |  | 2523|  2.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2524|  2.81M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2525|  2.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2526|  2.81M|            }
  |  | 2527|       |            // _POP_TOP
  |  | 2528|  2.81M|            {
  |  | 2529|  2.81M|                value = self_or_null;
  |  | 2530|  2.81M|                stack_pointer += -1 - oparg;
  |  | 2531|  2.81M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.81M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2532|  2.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2533|  2.81M|                PyStackRef_XCLOSE(value);
  |  | 2534|  2.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2535|  2.81M|            }
  |  | 2536|       |            // _CHECK_PERIODIC_AT_END
  |  | 2537|  2.81M|            {
  |  | 2538|  2.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2539|  2.81M|                int err = check_periodics(tstate);
  |  | 2540|  2.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2541|  2.81M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2541:21): [True: 0, False: 2.81M]
  |  |  ------------------
  |  | 2542|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2543|      0|                }
  |  | 2544|  2.81M|            }
  |  | 2545|  2.81M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.81M|    { \
  |  |  |  |  201|  2.81M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.81M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.81M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.81M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.81M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.81M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.81M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.81M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.81M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.81M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.81M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.81M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.81M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.81M|    }
  |  |  ------------------
  |  | 2546|  2.81M|        }
  |  | 2547|       |
  |  | 2548|  1.52M|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|  1.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2550|       |            int opcode = CALL_BUILTIN_O;
  |  | 2551|       |            (void)(opcode);
  |  | 2552|       |            #endif
  |  | 2553|  1.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2554|  1.52M|            (void)this_instr;
  |  | 2555|  1.52M|            frame->instr_ptr = next_instr;
  |  | 2556|  1.52M|            next_instr += 4;
  |  | 2557|  1.52M|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|  1.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2558|  1.52M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2559|  1.52M|            _PyStackRef callable;
  |  | 2560|  1.52M|            _PyStackRef self_or_null;
  |  | 2561|  1.52M|            _PyStackRef *args;
  |  | 2562|  1.52M|            _PyStackRef res;
  |  | 2563|  1.52M|            _PyStackRef c;
  |  | 2564|  1.52M|            _PyStackRef s;
  |  | 2565|  1.52M|            _PyStackRef value;
  |  | 2566|       |            /* Skip 1 cache entry */
  |  | 2567|       |            /* Skip 2 cache entries */
  |  | 2568|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2569|  1.52M|            {
  |  | 2570|  1.52M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2571|  1.52M|                callable = stack_pointer[-2 - oparg];
  |  | 2572|  1.52M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2573|  1.52M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  1.52M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.52M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2573:21): [True: 0, False: 1.52M]
  |  |  ------------------
  |  | 2574|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2575|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2576|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2577|      0|                }
  |  | 2578|  1.52M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   57|  1.52M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  1.52M|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (2578:21): [True: 21.9k, False: 1.50M]
  |  |  ------------------
  |  | 2579|  21.9k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  21.9k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2580|  21.9k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2581|  21.9k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  21.9k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2582|      0|                }
  |  | 2583|  1.50M|                int total_args = oparg;
  |  | 2584|  1.50M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.50M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.50M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.50M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2584:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2585|      0|                    total_args++;
  |  | 2586|      0|                }
  |  | 2587|  1.50M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2587:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2588|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2589|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2590|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2591|      0|                }
  |  | 2592|  1.50M|            }
  |  | 2593|       |            // _CHECK_RECURSION_LIMIT
  |  | 2594|  1.50M|            {
  |  | 2595|  1.50M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2595:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2596|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2597|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2598|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2599|      0|                }
  |  | 2600|  1.50M|            }
  |  | 2601|       |            // _CALL_BUILTIN_O
  |  | 2602|  1.50M|            {
  |  | 2603|  1.50M|                args = &stack_pointer[-oparg];
  |  | 2604|  1.50M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2605|  1.50M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.50M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.50M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.50M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2605:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2606|      0|                    args--;
  |  | 2607|      0|                }
  |  | 2608|  1.50M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.50M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2609|  1.50M|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|  1.50M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|  1.50M|                _PyStackRef arg = args[0];
  |  | 2611|  1.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2612|  1.50M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |  997|  1.50M|    (meth)((self), (args))
  |  |  ------------------
  |  | 2613|  1.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2614|  1.50M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2615|  1.50M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 2616|  1.50M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2616:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2617|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2618|      0|                }
  |  | 2619|  1.50M|                c = callable;
  |  | 2620|  1.50M|                s = args[0];
  |  | 2621|  1.50M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2622|  1.50M|            }
  |  | 2623|       |            // _POP_TOP
  |  | 2624|      0|            {
  |  | 2625|  1.50M|                value = s;
  |  | 2626|  1.50M|                stack_pointer[-2 - oparg] = res;
  |  | 2627|  1.50M|                stack_pointer[-1 - oparg] = c;
  |  | 2628|  1.50M|                stack_pointer += -oparg;
  |  | 2629|  1.50M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.50M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2630|  1.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2631|  1.50M|                PyStackRef_XCLOSE(value);
  |  | 2632|  1.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2633|  1.50M|            }
  |  | 2634|       |            // _POP_TOP
  |  | 2635|  1.50M|            {
  |  | 2636|  1.50M|                value = c;
  |  | 2637|  1.50M|                stack_pointer += -1;
  |  | 2638|  1.50M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.50M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2639|  1.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2640|  1.50M|                PyStackRef_XCLOSE(value);
  |  | 2641|  1.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2642|  1.50M|            }
  |  | 2643|       |            // _CHECK_PERIODIC_AT_END
  |  | 2644|  1.50M|            {
  |  | 2645|  1.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2646|  1.50M|                int err = check_periodics(tstate);
  |  | 2647|  1.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2648|  1.50M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2648:21): [True: 0, False: 1.50M]
  |  |  ------------------
  |  | 2649|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2650|      0|                }
  |  | 2651|  1.50M|            }
  |  | 2652|  1.50M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.50M|    { \
  |  |  |  |  201|  1.50M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.50M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.50M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.50M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.50M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.50M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.50M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.50M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.50M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.50M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.50M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.50M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.50M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.50M|    }
  |  |  ------------------
  |  | 2653|  1.50M|        }
  |  | 2654|       |
  |  | 2655|  1.28M|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  1.28M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2656|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2657|       |            int opcode = CALL_EX_NON_PY_GENERAL;
  |  | 2658|       |            (void)(opcode);
  |  | 2659|       |            #endif
  |  | 2660|  1.28M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2661|  1.28M|            (void)this_instr;
  |  | 2662|  1.28M|            frame->instr_ptr = next_instr;
  |  | 2663|  1.28M|            next_instr += 2;
  |  | 2664|  1.28M|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  1.28M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2665|  1.28M|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2666|  1.28M|            _PyStackRef func_st;
  |  | 2667|  1.28M|            _PyStackRef func;
  |  | 2668|  1.28M|            _PyStackRef callargs;
  |  | 2669|  1.28M|            _PyStackRef null;
  |  | 2670|  1.28M|            _PyStackRef callargs_st;
  |  | 2671|  1.28M|            _PyStackRef kwargs_st;
  |  | 2672|  1.28M|            _PyStackRef result;
  |  | 2673|       |            /* Skip 1 cache entry */
  |  | 2674|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2675|  1.28M|            {
  |  | 2676|  1.28M|                func_st = stack_pointer[-4];
  |  | 2677|  1.28M|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2678|  1.28M|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|  1.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2678:21): [True: 106, False: 1.28M]
  |  |  |  Branch (2678:58): [True: 106, False: 0]
  |  |  ------------------
  |  | 2679|    106|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  298|    106|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2680|    106|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  | 2681|    106|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|    106|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2682|      0|                }
  |  | 2683|  1.28M|            }
  |  | 2684|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2685|  1.28M|            {
  |  | 2686|  1.28M|                callargs = stack_pointer[-2];
  |  | 2687|  1.28M|                func = func_st;
  |  | 2688|  1.28M|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2689|  1.28M|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|  1.28M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.28M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2689:21): [True: 898, False: 1.28M]
  |  |  ------------------
  |  | 2690|    898|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2691|    898|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2692|    898|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2693|    898|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2693:25): [True: 0, False: 898]
  |  |  ------------------
  |  | 2694|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2695|      0|                    }
  |  | 2696|    898|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2697|    898|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2698|    898|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2699|    898|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2699:25): [True: 0, False: 898]
  |  |  ------------------
  |  | 2700|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2701|      0|                    }
  |  | 2702|    898|                    _PyStackRef temp = callargs;
  |  | 2703|    898|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2704|    898|                    stack_pointer[-2] = callargs;
  |  | 2705|    898|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2706|    898|                    PyStackRef_CLOSE(temp);
  |  | 2707|    898|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2708|    898|                }
  |  | 2709|  1.28M|            }
  |  | 2710|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2711|  1.28M|            {
  |  | 2712|  1.28M|                kwargs_st = stack_pointer[-1];
  |  | 2713|  1.28M|                callargs_st = callargs;
  |  | 2714|  1.28M|                null = stack_pointer[-3];
  |  | 2715|  1.28M|                func_st = func;
  |  | 2716|  1.28M|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2717|  1.28M|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2718|  1.28M|                (void)null;
  |  | 2719|  1.28M|                assert(PyTuple_CheckExact(callargs));
  |  | 2720|  1.28M|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2721|  1.28M|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 2722|  1.28M|                stack_pointer[-2] = callargs_st;
  |  | 2723|  1.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2724|  1.28M|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2725|  1.28M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2726|  1.28M|                stack_pointer += -1;
  |  | 2727|  1.28M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.28M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2728|  1.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2729|  1.28M|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2730|  1.28M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2731|  1.28M|                stack_pointer += -1;
  |  | 2732|  1.28M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.28M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2733|  1.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2734|  1.28M|                PyStackRef_CLOSE(callargs_st);
  |  | 2735|  1.28M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2736|  1.28M|                stack_pointer += -2;
  |  | 2737|  1.28M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.28M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2738|  1.28M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2739|  1.28M|                PyStackRef_CLOSE(func_st);
  |  | 2740|  1.28M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2741|  1.28M|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2741:21): [True: 4.25k, False: 1.27M]
  |  |  ------------------
  |  | 2742|  4.25k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  4.25k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2743|      0|                }
  |  | 2744|  1.27M|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2745|  1.27M|            }
  |  | 2746|       |            // _CHECK_PERIODIC_AT_END
  |  | 2747|      0|            {
  |  | 2748|  1.27M|                stack_pointer[0] = result;
  |  | 2749|  1.27M|                stack_pointer += 1;
  |  | 2750|  1.27M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.27M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2751|  1.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2752|  1.27M|                int err = check_periodics(tstate);
  |  | 2753|  1.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2754|  1.27M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2754:21): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 2755|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2756|      0|                }
  |  | 2757|  1.27M|            }
  |  | 2758|  1.27M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.27M|    { \
  |  |  |  |  201|  1.27M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.27M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.27M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.27M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.27M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.27M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.27M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.27M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.27M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.27M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.27M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.27M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.27M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.27M|    }
  |  |  ------------------
  |  | 2759|  1.27M|        }
  |  | 2760|       |
  |  | 2761|   114k|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|   114k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2762|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2763|       |            int opcode = CALL_EX_PY;
  |  | 2764|       |            (void)(opcode);
  |  | 2765|       |            #endif
  |  | 2766|   114k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2767|   114k|            (void)this_instr;
  |  | 2768|   114k|            frame->instr_ptr = next_instr;
  |  | 2769|   114k|            next_instr += 2;
  |  | 2770|   114k|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|   114k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2771|   114k|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2772|   114k|            _PyStackRef func;
  |  | 2773|   114k|            _PyStackRef callargs;
  |  | 2774|   114k|            _PyStackRef func_st;
  |  | 2775|   114k|            _PyStackRef callargs_st;
  |  | 2776|   114k|            _PyStackRef kwargs_st;
  |  | 2777|   114k|            _PyStackRef ex_frame;
  |  | 2778|   114k|            _PyStackRef new_frame;
  |  | 2779|       |            /* Skip 1 cache entry */
  |  | 2780|       |            // _CHECK_PEP_523
  |  | 2781|   114k|            {
  |  | 2782|   114k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|   114k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 114k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2783|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2784|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  | 2785|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2786|      0|                }
  |  | 2787|   114k|            }
  |  | 2788|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2789|   114k|            {
  |  | 2790|   114k|                callargs = stack_pointer[-2];
  |  | 2791|   114k|                func = stack_pointer[-4];
  |  | 2792|   114k|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2793|   114k|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|   114k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   114k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2793:21): [True: 18, False: 114k]
  |  |  ------------------
  |  | 2794|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2795|     18|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2796|     18|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2797|     18|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2797:25): [True: 0, False: 18]
  |  |  ------------------
  |  | 2798|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2799|      0|                    }
  |  | 2800|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2801|     18|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2802|     18|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2803|     18|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2803:25): [True: 0, False: 18]
  |  |  ------------------
  |  | 2804|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2805|      0|                    }
  |  | 2806|     18|                    _PyStackRef temp = callargs;
  |  | 2807|     18|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2808|     18|                    stack_pointer[-2] = callargs;
  |  | 2809|     18|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2810|     18|                    PyStackRef_CLOSE(temp);
  |  | 2811|     18|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2812|     18|                }
  |  | 2813|   114k|            }
  |  | 2814|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2815|   114k|            {
  |  | 2816|   114k|                func_st = func;
  |  | 2817|   114k|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2818|   114k|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|   114k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2818:21): [True: 66, False: 114k]
  |  |  ------------------
  |  | 2819|     66|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  298|     66|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2820|     66|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  | 2821|     66|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|     66|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2822|      0|                }
  |  | 2823|   114k|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2823:21): [True: 0, False: 114k]
  |  |  ------------------
  |  | 2824|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2825|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  | 2826|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2827|      0|                }
  |  | 2828|   114k|            }
  |  | 2829|       |            // _PY_FRAME_EX
  |  | 2830|   114k|            {
  |  | 2831|   114k|                kwargs_st = stack_pointer[-1];
  |  | 2832|   114k|                callargs_st = callargs;
  |  | 2833|   114k|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2834|   114k|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2835|   114k|                assert(PyTuple_CheckExact(callargs));
  |  | 2836|   114k|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  | 2837|   114k|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  | 2838|   114k|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|   114k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   114k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   114k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 17.1k, False: 96.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2839|   114k|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 2840|   114k|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|   114k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2841|   114k|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   114k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2842|   114k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  118|   114k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2842:36): [True: 114k, False: 0]
  |  |  ------------------
  |  | 2843|   114k|                stack_pointer += -3;
  |  | 2844|   114k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   114k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2845|   114k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2846|   114k|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2847|   114k|                    tstate, func_st, locals,
  |  | 2848|   114k|                    nargs, callargs, kwargs, frame);
  |  | 2849|   114k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2850|   114k|                stack_pointer += -1;
  |  | 2851|   114k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   114k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2852|   114k|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2852:21): [True: 0, False: 114k]
  |  |  ------------------
  |  | 2853|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2854|      0|                }
  |  | 2855|   114k|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2856|   114k|            }
  |  | 2857|       |            // _SAVE_RETURN_OFFSET
  |  | 2858|      0|            {
  |  | 2859|   114k|                #if TIER_ONE
  |  | 2860|   114k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2861|   114k|                #endif
  |  | 2862|       |                #if TIER_TWO
  |  | 2863|       |                frame->return_offset = oparg;
  |  | 2864|       |                #endif
  |  | 2865|   114k|            }
  |  | 2866|       |            // _PUSH_FRAME
  |  | 2867|   114k|            {
  |  | 2868|   114k|                new_frame = ex_frame;
  |  | 2869|   114k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2870|   114k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2871|   114k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2872|   114k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2873|   114k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|   114k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2874|   114k|                frame = tstate->current_frame = temp;
  |  | 2875|   114k|                tstate->py_recursion_remaining--;
  |  | 2876|   114k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|   114k|#define LOAD_SP() \
  |  |  |  |  426|   114k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2877|   114k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|   114k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|   114k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|   114k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 114k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2878|   114k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|   114k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2879|   114k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   114k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2880|   114k|            }
  |  | 2881|   114k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   114k|    { \
  |  |  |  |  201|   114k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   114k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   114k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   114k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   114k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   114k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   114k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   114k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 114k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   114k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   114k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   114k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   114k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   114k|    }
  |  |  ------------------
  |  | 2882|   114k|        }
  |  | 2883|       |
  |  | 2884|    273|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|    273|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2885|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2886|       |            int opcode = CALL_FUNCTION_EX;
  |  | 2887|       |            (void)(opcode);
  |  | 2888|       |            #endif
  |  | 2889|    273|            frame->instr_ptr = next_instr;
  |  | 2890|    273|            next_instr += 2;
  |  | 2891|    273|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|    273|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2892|    445|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 2893|    445|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 2894|    445|            (void)this_instr;
  |  | 2895|    445|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|    445|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 2896|    445|            _PyStackRef func;
  |  | 2897|    445|            _PyStackRef callargs;
  |  | 2898|    445|            _PyStackRef func_st;
  |  | 2899|    445|            _PyStackRef null;
  |  | 2900|    445|            _PyStackRef callargs_st;
  |  | 2901|    445|            _PyStackRef kwargs_st;
  |  | 2902|    445|            _PyStackRef result;
  |  | 2903|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 2904|    445|            {
  |  | 2905|    445|                func = stack_pointer[-4];
  |  | 2906|    445|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 2907|    445|                (void)counter;
  |  | 2908|    445|                #if ENABLE_SPECIALIZATION
  |  | 2909|    445|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|    445|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 115, False: 330]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2910|    115|                    next_instr = this_instr;
  |  | 2911|    115|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2912|    115|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 2913|    115|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2914|    115|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    115|    { \
  |  |  |  |  217|    115|        opcode = next_instr->op.code; \
  |  |  |  |  218|    115|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    115|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    115|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    115|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    115|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    115|    }
  |  |  ------------------
  |  | 2915|    115|                }
  |  | 2916|    445|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|    445|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 2917|    445|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|    445|    do { \
  |  |  |  |  358|    445|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|    445|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 445]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2918|    445|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 2919|    445|            }
  |  | 2920|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2921|    445|            {
  |  | 2922|    445|                callargs = stack_pointer[-2];
  |  | 2923|    445|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2924|    445|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    445|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    445|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    445|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    445|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2924:21): [True: 16, False: 429]
  |  |  ------------------
  |  | 2925|     16|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2926|     16|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2927|     16|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2928|     16|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2928:25): [True: 0, False: 16]
  |  |  ------------------
  |  | 2929|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2930|      0|                    }
  |  | 2931|     16|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2932|     16|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2933|     16|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2934|     16|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2934:25): [True: 0, False: 16]
  |  |  ------------------
  |  | 2935|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2936|      0|                    }
  |  | 2937|     16|                    _PyStackRef temp = callargs;
  |  | 2938|     16|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2939|     16|                    stack_pointer[-2] = callargs;
  |  | 2940|     16|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2941|     16|                    PyStackRef_CLOSE(temp);
  |  | 2942|     16|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2943|     16|                }
  |  | 2944|    445|            }
  |  | 2945|       |            // _DO_CALL_FUNCTION_EX
  |  | 2946|    445|            {
  |  | 2947|    445|                kwargs_st = stack_pointer[-1];
  |  | 2948|    445|                callargs_st = callargs;
  |  | 2949|    445|                null = stack_pointer[-3];
  |  | 2950|    445|                func_st = func;
  |  | 2951|    445|                (void)null;
  |  | 2952|    445|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2953|    445|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|    445|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 2954|    445|                PyObject *result_o;
  |  | 2955|    445|                assert(!_PyErr_Occurred(tstate));
  |  | 2956|    445|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  242|    445|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (2956:21): [True: 0, False: 445]
  |  |  ------------------
  |  | 2957|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2958|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2959|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 2960|      0|                    assert(PyTuple_CheckExact(callargs));
  |  | 2961|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2961:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 2962|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2963|      0|                    stack_pointer[-2] = callargs_st;
  |  | 2964|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2965|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 2966|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 2967|      0|                        frame, this_instr, func, arg);
  |  | 2968|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2969|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (2969:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2970|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2971|      0|                    }
  |  | 2972|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2973|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2974|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2975|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2975:25): [True: 0, False: 0]
  |  |  |  Branch (2975:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 2976|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2976:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 2977|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2978|      0|                            _Py_call_instrumentation_exc2(
  |  | 2979|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 2980|      0|                                frame, this_instr, func, arg);
  |  | 2981|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2982|      0|                        }
  |  | 2983|      0|                        else {
  |  | 2984|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2985|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 2986|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 2987|      0|                                frame, this_instr, func, arg);
  |  | 2988|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2989|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2989:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2990|      0|                                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2991|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2992|      0|                                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2993|      0|                            }
  |  | 2994|      0|                        }
  |  | 2995|      0|                    }
  |  | 2996|      0|                }
  |  | 2997|    445|                else {
  |  | 2998|    445|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|    445|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    445|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    445|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2998:25): [True: 160, False: 285]
  |  |  ------------------
  |  | 2999|    160|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|    605|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (2999:25): [True: 160, False: 0]
  |  |  ------------------
  |  | 3000|    160|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3000:25): [True: 160, False: 0]
  |  |  ------------------
  |  | 3001|    160|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3002|    160|                        assert(PyTuple_CheckExact(callargs));
  |  | 3003|    160|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|    160|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    160|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    160|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 130, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3004|    160|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 3005|    160|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|    160|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3006|    160|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    160|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3007|    160|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  118|    160|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3007:44): [True: 160, False: 0]
  |  |  ------------------
  |  | 3008|    160|                        stack_pointer += -2;
  |  | 3009|    160|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    160|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3010|    160|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3011|    160|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3012|    160|                            tstate, func_st, locals,
  |  | 3013|    160|                            nargs, callargs, kwargs, frame);
  |  | 3014|    160|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3015|    160|                        stack_pointer += -2;
  |  | 3016|    160|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    160|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3017|    160|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3017:29): [True: 0, False: 160]
  |  |  ------------------
  |  | 3018|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3019|      0|                        }
  |  | 3020|    160|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  | 3021|    160|                        frame->return_offset = 2u ;
  |  | 3022|    160|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|    160|    do {                                                         \
  |  |  |  |  224|    160|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|    160|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|    160|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|    160|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|    160|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|    160|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|    160|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|    160|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3023|    160|                    }
  |  | 3024|    285|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3025|    285|                    assert(PyTuple_CheckExact(callargs));
  |  | 3026|    285|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3027|    285|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 3028|    285|                    stack_pointer[-2] = callargs_st;
  |  | 3029|    285|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3030|    285|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3031|    285|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3032|    285|                }
  |  | 3033|    285|                stack_pointer += -1;
  |  | 3034|    285|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    285|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3035|    285|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3036|    285|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3037|    285|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3038|    285|                stack_pointer += -1;
  |  | 3039|    285|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    285|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3040|    285|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3041|    285|                PyStackRef_CLOSE(callargs_st);
  |  | 3042|    285|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3043|    285|                stack_pointer += -2;
  |  | 3044|    285|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    285|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3045|    285|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3046|    285|                PyStackRef_CLOSE(func_st);
  |  | 3047|    285|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3048|    285|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3048:21): [True: 2, False: 283]
  |  |  ------------------
  |  | 3049|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3050|      0|                }
  |  | 3051|    283|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3052|    283|            }
  |  | 3053|       |            // _CHECK_PERIODIC_AT_END
  |  | 3054|      0|            {
  |  | 3055|    283|                stack_pointer[0] = result;
  |  | 3056|    283|                stack_pointer += 1;
  |  | 3057|    283|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    283|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3058|    283|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3059|    283|                int err = check_periodics(tstate);
  |  | 3060|    283|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3061|    283|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3061:21): [True: 0, False: 283]
  |  |  ------------------
  |  | 3062|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3063|      0|                }
  |  | 3064|    283|            }
  |  | 3065|    283|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    283|    { \
  |  |  |  |  201|    283|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    283|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    283|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    283|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    283|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    283|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    283|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    283|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 283]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    283|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    283|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    283|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    283|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    283|    }
  |  |  ------------------
  |  | 3066|    283|        }
  |  | 3067|       |
  |  | 3068|  2.76M|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|  2.76M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3069|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3070|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3071|       |            (void)(opcode);
  |  | 3072|       |            #endif
  |  | 3073|  2.76M|            frame->instr_ptr = next_instr;
  |  | 3074|  2.76M|            next_instr += 1;
  |  | 3075|  2.76M|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|  2.76M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3076|  2.76M|            _PyStackRef value;
  |  | 3077|  2.76M|            _PyStackRef res;
  |  | 3078|  2.76M|            _PyStackRef v;
  |  | 3079|       |            // _CALL_INTRINSIC_1
  |  | 3080|  2.76M|            {
  |  | 3081|  2.76M|                value = stack_pointer[-1];
  |  | 3082|  2.76M|                assert(oparg <= MAX_INTRINSIC_1);
  |  | 3083|  2.76M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3084|  2.76M|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3085|  2.76M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3086|  2.76M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 2.76M]
  |  |  ------------------
  |  | 3087|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3088|      0|                }
  |  | 3089|  2.76M|                v = value;
  |  | 3090|  2.76M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3091|  2.76M|            }
  |  | 3092|       |            // _POP_TOP
  |  | 3093|      0|            {
  |  | 3094|  2.76M|                value = v;
  |  | 3095|  2.76M|                stack_pointer[-1] = res;
  |  | 3096|  2.76M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3097|  2.76M|                PyStackRef_XCLOSE(value);
  |  | 3098|  2.76M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3099|  2.76M|            }
  |  | 3100|  2.76M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.76M|    { \
  |  |  |  |  201|  2.76M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.76M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.76M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.76M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.76M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.76M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.76M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.76M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.76M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.76M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.76M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.76M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.76M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.76M|    }
  |  |  ------------------
  |  | 3101|  2.76M|        }
  |  | 3102|       |
  |  | 3103|      8|        TARGET(CALL_INTRINSIC_2) {
  |  |  ------------------
  |  |  |  |  132|      8|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3104|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3105|       |            int opcode = CALL_INTRINSIC_2;
  |  | 3106|       |            (void)(opcode);
  |  | 3107|       |            #endif
  |  | 3108|      8|            frame->instr_ptr = next_instr;
  |  | 3109|      8|            next_instr += 1;
  |  | 3110|      8|            INSTRUCTION_STATS(CALL_INTRINSIC_2);
  |  |  ------------------
  |  |  |  |   71|      8|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3111|      8|            _PyStackRef value2_st;
  |  | 3112|      8|            _PyStackRef value1_st;
  |  | 3113|      8|            _PyStackRef res;
  |  | 3114|      8|            _PyStackRef vs1;
  |  | 3115|      8|            _PyStackRef vs2;
  |  | 3116|      8|            _PyStackRef value;
  |  | 3117|       |            // _CALL_INTRINSIC_2
  |  | 3118|      8|            {
  |  | 3119|      8|                value1_st = stack_pointer[-1];
  |  | 3120|      8|                value2_st = stack_pointer[-2];
  |  | 3121|      8|                assert(oparg <= MAX_INTRINSIC_2);
  |  | 3122|      8|                PyObject *value1 = PyStackRef_AsPyObjectBorrow(value1_st);
  |  | 3123|      8|                PyObject *value2 = PyStackRef_AsPyObjectBorrow(value2_st);
  |  | 3124|      8|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3125|      8|                PyObject *res_o = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
  |  | 3126|      8|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3127|      8|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3127:21): [True: 0, False: 8]
  |  |  ------------------
  |  | 3128|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3129|      0|                }
  |  | 3130|      8|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3131|      8|                vs1 = value1_st;
  |  | 3132|      8|                vs2 = value2_st;
  |  | 3133|      8|            }
  |  | 3134|       |            // _POP_TOP
  |  | 3135|      0|            {
  |  | 3136|      8|                value = vs2;
  |  | 3137|      8|                stack_pointer[-2] = res;
  |  | 3138|      8|                stack_pointer[-1] = vs1;
  |  | 3139|      8|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3140|      8|                PyStackRef_XCLOSE(value);
  |  | 3141|      8|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3142|      8|            }
  |  | 3143|       |            // _POP_TOP
  |  | 3144|      8|            {
  |  | 3145|      8|                value = vs1;
  |  | 3146|      8|                stack_pointer += -1;
  |  | 3147|      8|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      8|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3148|      8|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3149|      8|                PyStackRef_XCLOSE(value);
  |  | 3150|      8|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3151|      8|            }
  |  | 3152|      8|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      8|    { \
  |  |  |  |  201|      8|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      8|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      8|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      8|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      8|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      8|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      8|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      8|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      8|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      8|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      8|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      8|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      8|    }
  |  |  ------------------
  |  | 3153|      8|        }
  |  | 3154|       |
  |  | 3155|  3.11M|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|  3.11M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3156|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3157|       |            int opcode = CALL_ISINSTANCE;
  |  | 3158|       |            (void)(opcode);
  |  | 3159|       |            #endif
  |  | 3160|  3.11M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3161|  3.11M|            (void)this_instr;
  |  | 3162|  3.11M|            frame->instr_ptr = next_instr;
  |  | 3163|  3.11M|            next_instr += 4;
  |  | 3164|  3.11M|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|  3.11M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3165|  3.11M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3166|  3.11M|            _PyStackRef null;
  |  | 3167|  3.11M|            _PyStackRef callable;
  |  | 3168|  3.11M|            _PyStackRef instance;
  |  | 3169|  3.11M|            _PyStackRef cls;
  |  | 3170|  3.11M|            _PyStackRef res;
  |  | 3171|       |            /* Skip 1 cache entry */
  |  | 3172|       |            /* Skip 2 cache entries */
  |  | 3173|       |            // _GUARD_THIRD_NULL
  |  | 3174|  3.11M|            {
  |  | 3175|  3.11M|                null = stack_pointer[-3];
  |  | 3176|  3.11M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  3.11M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.11M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.11M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3176:21): [True: 0, False: 3.11M]
  |  |  ------------------
  |  | 3177|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3178|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3179|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3180|      0|                }
  |  | 3181|  3.11M|            }
  |  | 3182|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3183|  3.11M|            {
  |  | 3184|  3.11M|                callable = stack_pointer[-4];
  |  | 3185|  3.11M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3186|  3.11M|                PyInterpreterState *interp = tstate->interp;
  |  | 3187|  3.11M|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3187:21): [True: 0, False: 3.11M]
  |  |  ------------------
  |  | 3188|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3189|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3190|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3191|      0|                }
  |  | 3192|  3.11M|            }
  |  | 3193|       |            // _CALL_ISINSTANCE
  |  | 3194|  3.11M|            {
  |  | 3195|  3.11M|                cls = stack_pointer[-1];
  |  | 3196|  3.11M|                instance = stack_pointer[-2];
  |  | 3197|  3.11M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.11M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3198|  3.11M|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3199|  3.11M|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3200|  3.11M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3201|  3.11M|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3202|  3.11M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3203|  3.11M|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3203:21): [True: 0, False: 3.11M]
  |  |  ------------------
  |  | 3204|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3205|      0|                }
  |  | 3206|  3.11M|                (void)null;
  |  | 3207|  3.11M|                stack_pointer += -1;
  |  | 3208|  3.11M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.11M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3209|  3.11M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3210|  3.11M|                PyStackRef_CLOSE(cls);
  |  | 3211|  3.11M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3212|  3.11M|                stack_pointer += -1;
  |  | 3213|  3.11M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.11M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3214|  3.11M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3215|  3.11M|                PyStackRef_CLOSE(instance);
  |  | 3216|  3.11M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3217|  3.11M|                stack_pointer += -2;
  |  | 3218|  3.11M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.11M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3219|  3.11M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3220|  3.11M|                PyStackRef_CLOSE(callable);
  |  | 3221|  3.11M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3222|  3.11M|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.33M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.33M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  4.89M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.77M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3222:23): [True: 1.33M, False: 1.77M]
  |  |  ------------------
  |  | 3223|  3.11M|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 3224|  3.11M|            }
  |  | 3225|      0|            stack_pointer[0] = res;
  |  | 3226|  3.11M|            stack_pointer += 1;
  |  | 3227|  3.11M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.11M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3228|  3.11M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.11M|    { \
  |  |  |  |  201|  3.11M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.11M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.11M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.11M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.11M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.11M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.11M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.11M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.11M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.11M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.11M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.11M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.11M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.11M|    }
  |  |  ------------------
  |  | 3229|  3.11M|        }
  |  | 3230|       |
  |  | 3231|   108k|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|   108k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3232|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3233|       |            int opcode = CALL_KW;
  |  | 3234|       |            (void)(opcode);
  |  | 3235|       |            #endif
  |  | 3236|   108k|            frame->instr_ptr = next_instr;
  |  | 3237|   108k|            next_instr += 4;
  |  | 3238|   108k|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|   108k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3239|   213k|            PREDICTED_CALL_KW:;
  |  | 3240|   213k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3241|   213k|            (void)this_instr;
  |  | 3242|   213k|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|   213k|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3243|   213k|            _PyStackRef callable;
  |  | 3244|   213k|            _PyStackRef self_or_null;
  |  | 3245|   213k|            _PyStackRef *args;
  |  | 3246|   213k|            _PyStackRef kwnames;
  |  | 3247|   213k|            _PyStackRef res;
  |  | 3248|       |            // _SPECIALIZE_CALL_KW
  |  | 3249|   213k|            {
  |  | 3250|   213k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3251|   213k|                callable = stack_pointer[-3 - oparg];
  |  | 3252|   213k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3253|   213k|                (void)counter;
  |  | 3254|   213k|                #if ENABLE_SPECIALIZATION
  |  | 3255|   213k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   213k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 2.36k, False: 211k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3256|  2.36k|                    next_instr = this_instr;
  |  | 3257|  2.36k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3258|  2.36k|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|  2.36k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.36k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.36k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3259|  2.36k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3260|  2.36k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  2.36k|    { \
  |  |  |  |  217|  2.36k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  2.36k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.36k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  2.36k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  2.36k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  2.36k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  2.36k|    }
  |  |  ------------------
  |  | 3261|  2.36k|                }
  |  | 3262|   213k|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|   213k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3263|   213k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   213k|    do { \
  |  |  |  |  358|   213k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   213k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 213k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3264|   213k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3265|   213k|            }
  |  | 3266|       |            /* Skip 2 cache entries */
  |  | 3267|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3268|   213k|            {
  |  | 3269|   213k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   103k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   103k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   103k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 103k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3269:21): [True: 103k, False: 110k]
  |  |  ------------------
  |  | 3270|   103k|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3271|   103k|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3272|   103k|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|   103k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3273|   103k|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3274|   103k|                    _PyStackRef temp = callable;
  |  | 3275|   103k|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|   103k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3276|   103k|                    stack_pointer[-3 - oparg] = callable;
  |  | 3277|   103k|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3278|   103k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3279|   103k|                    PyStackRef_CLOSE(temp);
  |  | 3280|   103k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3281|   103k|                }
  |  | 3282|   213k|            }
  |  | 3283|       |            // _DO_CALL_KW
  |  | 3284|   213k|            {
  |  | 3285|   213k|                kwnames = stack_pointer[-1];
  |  | 3286|   213k|                args = &stack_pointer[-1 - oparg];
  |  | 3287|   213k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3288|   213k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3289|   213k|                int total_args = oparg;
  |  | 3290|   213k|                _PyStackRef *arguments = args;
  |  | 3291|   213k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   213k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   213k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   213k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3291:21): [True: 103k, False: 110k]
  |  |  ------------------
  |  | 3292|   103k|                    arguments--;
  |  | 3293|   103k|                    total_args++;
  |  | 3294|   103k|                }
  |  | 3295|   213k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|   213k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3296|   213k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|   213k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3296:21): [True: 211k, False: 2.79k]
  |  |  ------------------
  |  | 3297|   211k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|   425k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3297:21): [True: 211k, False: 0]
  |  |  ------------------
  |  | 3298|   211k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3298:21): [True: 211k, False: 0]
  |  |  ------------------
  |  | 3299|   211k|                {
  |  | 3300|   211k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   211k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   211k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   211k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3301|   211k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|   211k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3301:40): [True: 211k, False: 0]
  |  |  ------------------
  |  | 3302|   211k|                    stack_pointer[-3 - oparg] = callable;
  |  | 3303|   211k|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3304|   211k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3305|   211k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3306|   211k|                        tstate, callable, locals,
  |  | 3307|   211k|                        arguments, positional_args, kwnames_o, frame
  |  | 3308|   211k|                    );
  |  | 3309|   211k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3310|   211k|                    stack_pointer += -3 - oparg;
  |  | 3311|   211k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   211k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3312|   211k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3313|   211k|                    PyStackRef_CLOSE(kwnames);
  |  | 3314|   211k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3315|   211k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3315:25): [True: 0, False: 211k]
  |  |  ------------------
  |  | 3316|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3317|      0|                    }
  |  | 3318|   211k|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  | 3319|   211k|                    frame->return_offset = 4u ;
  |  | 3320|   211k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|   211k|    do {                                                         \
  |  |  |  |  224|   211k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|   211k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|   211k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|   211k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|   211k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|   211k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|   211k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|   211k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3321|   211k|                }
  |  | 3322|  2.79k|                stack_pointer[-3 - oparg] = callable;
  |  | 3323|  2.79k|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3324|  2.79k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3325|  2.79k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3326|  2.79k|                    callable,
  |  | 3327|  2.79k|                    arguments,
  |  | 3328|  2.79k|                    total_args,
  |  | 3329|  2.79k|                    kwnames,
  |  | 3330|  2.79k|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  241|  2.79k|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3331|  2.79k|                    frame,
  |  | 3332|  2.79k|                    this_instr,
  |  | 3333|  2.79k|                    tstate);
  |  | 3334|  2.79k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3335|  2.79k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3335:21): [True: 0, False: 2.79k]
  |  |  ------------------
  |  | 3336|      0|                    stack_pointer += -3 - oparg;
  |  | 3337|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3338|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3339|      0|                }
  |  | 3340|  2.79k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3341|  2.79k|            }
  |  | 3342|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3343|  2.79k|            stack_pointer += -2 - oparg;
  |  | 3344|  2.79k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.79k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3345|  2.79k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.79k|    { \
  |  |  |  |  201|  2.79k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.79k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.79k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.79k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.79k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.79k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.79k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.79k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.79k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.79k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.79k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.79k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.79k|    }
  |  |  ------------------
  |  | 3346|  2.79k|        }
  |  | 3347|       |
  |  | 3348|   175k|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|   175k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3349|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3350|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3351|       |            (void)(opcode);
  |  | 3352|       |            #endif
  |  | 3353|   175k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3354|   175k|            (void)this_instr;
  |  | 3355|   175k|            frame->instr_ptr = next_instr;
  |  | 3356|   175k|            next_instr += 4;
  |  | 3357|   175k|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|   175k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3358|   175k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3359|   175k|            _PyStackRef callable;
  |  | 3360|   175k|            _PyStackRef null;
  |  | 3361|   175k|            _PyStackRef self_or_null;
  |  | 3362|   175k|            _PyStackRef *args;
  |  | 3363|   175k|            _PyStackRef kwnames;
  |  | 3364|   175k|            _PyStackRef new_frame;
  |  | 3365|       |            /* Skip 1 cache entry */
  |  | 3366|       |            // _CHECK_PEP_523
  |  | 3367|   175k|            {
  |  | 3368|   175k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|   175k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 175k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3369|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3370|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3371|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3372|      0|                }
  |  | 3373|   175k|            }
  |  | 3374|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3375|   175k|            {
  |  | 3376|   175k|                null = stack_pointer[-2 - oparg];
  |  | 3377|   175k|                callable = stack_pointer[-3 - oparg];
  |  | 3378|   175k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3379|   175k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3380|   175k|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   175k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3380:21): [True: 0, False: 175k]
  |  |  ------------------
  |  | 3381|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3382|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3383|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3384|      0|                }
  |  | 3385|   175k|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3386|   175k|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|   175k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   175k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3386:21): [True: 0, False: 175k]
  |  |  ------------------
  |  | 3387|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3388|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3389|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3390|      0|                }
  |  | 3391|   175k|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3391:21): [True: 105k, False: 69.5k]
  |  |  ------------------
  |  | 3392|   105k|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|   105k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3393|   105k|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3394|   105k|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|   105k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3395|      0|                }
  |  | 3396|  69.5k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  69.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  69.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  69.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3396:21): [True: 0, False: 69.5k]
  |  |  ------------------
  |  | 3397|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3398|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3399|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3400|      0|                }
  |  | 3401|  69.5k|            }
  |  | 3402|       |            // _EXPAND_METHOD_KW
  |  | 3403|  69.5k|            {
  |  | 3404|  69.5k|                self_or_null = null;
  |  | 3405|  69.5k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 3406|  69.5k|                _PyStackRef callable_s = callable;
  |  | 3407|  69.5k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3408|  69.5k|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  | 3409|  69.5k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|  69.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  69.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3410|  69.5k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|  69.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  69.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3411|  69.5k|                assert(PyStackRef_FunctionCheck(callable));
  |  | 3412|  69.5k|                stack_pointer[-3 - oparg] = callable;
  |  | 3413|  69.5k|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3414|  69.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3415|  69.5k|                PyStackRef_CLOSE(callable_s);
  |  | 3416|  69.5k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3417|  69.5k|            }
  |  | 3418|       |            // flush
  |  | 3419|       |            // _PY_FRAME_KW
  |  | 3420|  69.5k|            {
  |  | 3421|  69.5k|                kwnames = stack_pointer[-1];
  |  | 3422|  69.5k|                args = &stack_pointer[-1 - oparg];
  |  | 3423|  69.5k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3424|  69.5k|                int total_args = oparg;
  |  | 3425|  69.5k|                _PyStackRef *arguments = args;
  |  | 3426|  69.5k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  69.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  69.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  69.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3426:21): [True: 69.5k, False: 0]
  |  |  ------------------
  |  | 3427|  69.5k|                    arguments--;
  |  | 3428|  69.5k|                    total_args++;
  |  | 3429|  69.5k|                }
  |  | 3430|  69.5k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3431|  69.5k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  69.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  69.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3432|  69.5k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 3433|  69.5k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  69.5k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  69.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3434|  69.5k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  69.5k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3434:36): [True: 69.5k, False: 0]
  |  |  ------------------
  |  | 3435|  69.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3436|  69.5k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3437|  69.5k|                    tstate, callable, locals,
  |  | 3438|  69.5k|                    arguments, positional_args, kwnames_o, frame
  |  | 3439|  69.5k|                );
  |  | 3440|  69.5k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3441|  69.5k|                stack_pointer += -1;
  |  | 3442|  69.5k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  69.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3443|  69.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3444|  69.5k|                PyStackRef_CLOSE(kwnames);
  |  | 3445|  69.5k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3446|  69.5k|                stack_pointer += -2 - oparg;
  |  | 3447|  69.5k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  69.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3448|  69.5k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3448:21): [True: 0, False: 69.5k]
  |  |  ------------------
  |  | 3449|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3450|      0|                }
  |  | 3451|  69.5k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3452|  69.5k|            }
  |  | 3453|       |            // _SAVE_RETURN_OFFSET
  |  | 3454|      0|            {
  |  | 3455|  69.5k|                #if TIER_ONE
  |  | 3456|  69.5k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3457|  69.5k|                #endif
  |  | 3458|       |                #if TIER_TWO
  |  | 3459|       |                frame->return_offset = oparg;
  |  | 3460|       |                #endif
  |  | 3461|  69.5k|            }
  |  | 3462|       |            // _PUSH_FRAME
  |  | 3463|  69.5k|            {
  |  | 3464|  69.5k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 3465|  69.5k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3466|  69.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3467|  69.5k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 3468|  69.5k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  69.5k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3469|  69.5k|                frame = tstate->current_frame = temp;
  |  | 3470|  69.5k|                tstate->py_recursion_remaining--;
  |  | 3471|  69.5k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  69.5k|#define LOAD_SP() \
  |  |  |  |  426|  69.5k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 3472|  69.5k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  69.5k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  69.5k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  69.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 69.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3473|  69.5k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  69.5k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3474|  69.5k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  69.5k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3475|  69.5k|            }
  |  | 3476|  69.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  69.5k|    { \
  |  |  |  |  201|  69.5k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  69.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  69.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  69.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  69.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  69.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  69.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  69.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 69.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  69.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  69.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  69.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  69.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  69.5k|    }
  |  |  ------------------
  |  | 3477|  69.5k|        }
  |  | 3478|       |
  |  | 3479|   609k|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|   609k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3480|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3481|       |            int opcode = CALL_KW_NON_PY;
  |  | 3482|       |            (void)(opcode);
  |  | 3483|       |            #endif
  |  | 3484|   609k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3485|   609k|            (void)this_instr;
  |  | 3486|   609k|            frame->instr_ptr = next_instr;
  |  | 3487|   609k|            next_instr += 4;
  |  | 3488|   609k|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|   609k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3489|   609k|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  160|   609k|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3490|   609k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3491|   609k|            _PyStackRef callable;
  |  | 3492|   609k|            _PyStackRef self_or_null;
  |  | 3493|   609k|            _PyStackRef *args;
  |  | 3494|   609k|            _PyStackRef kwnames;
  |  | 3495|   609k|            _PyStackRef res;
  |  | 3496|       |            /* Skip 1 cache entry */
  |  | 3497|       |            /* Skip 2 cache entries */
  |  | 3498|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3499|   609k|            {
  |  | 3500|   609k|                callable = stack_pointer[-3 - oparg];
  |  | 3501|   609k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3502|   609k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   609k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   609k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 609k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3503|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3504|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3505|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3506|      0|                }
  |  | 3507|   609k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   609k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3507:21): [True: 0, False: 609k]
  |  |  ------------------
  |  | 3508|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3509|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3510|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3511|      0|                }
  |  | 3512|   609k|            }
  |  | 3513|       |            // _CALL_KW_NON_PY
  |  | 3514|   609k|            {
  |  | 3515|   609k|                kwnames = stack_pointer[-1];
  |  | 3516|   609k|                args = &stack_pointer[-1 - oparg];
  |  | 3517|   609k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3518|   609k|                #if TIER_ONE
  |  | 3519|   609k|                assert(opcode != INSTRUMENTED_CALL);
  |  | 3520|   609k|                #endif
  |  | 3521|   609k|                int total_args = oparg;
  |  | 3522|   609k|                _PyStackRef *arguments = args;
  |  | 3523|   609k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   609k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   609k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   609k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3523:21): [True: 125k, False: 484k]
  |  |  ------------------
  |  | 3524|   125k|                    arguments--;
  |  | 3525|   125k|                    total_args++;
  |  | 3526|   125k|                }
  |  | 3527|   609k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3528|   609k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3529|   609k|                    callable,
  |  | 3530|   609k|                    arguments,
  |  | 3531|   609k|                    total_args,
  |  | 3532|   609k|                    kwnames);
  |  | 3533|   609k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3534|   609k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3534:21): [True: 54.1k, False: 555k]
  |  |  ------------------
  |  | 3535|  54.1k|                    stack_pointer += -3 - oparg;
  |  | 3536|  54.1k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  54.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3537|  54.1k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  54.1k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3538|      0|                }
  |  | 3539|   555k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3540|   555k|            }
  |  | 3541|       |            // _CHECK_PERIODIC_AT_END
  |  | 3542|      0|            {
  |  | 3543|   555k|                stack_pointer[-3 - oparg] = res;
  |  | 3544|   555k|                stack_pointer += -2 - oparg;
  |  | 3545|   555k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   555k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3546|   555k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3547|   555k|                int err = check_periodics(tstate);
  |  | 3548|   555k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3549|   555k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3549:21): [True: 0, False: 555k]
  |  |  ------------------
  |  | 3550|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3551|      0|                }
  |  | 3552|   555k|            }
  |  | 3553|   555k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   555k|    { \
  |  |  |  |  201|   555k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   555k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   555k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   555k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   555k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   555k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   555k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   555k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 555k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   555k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   555k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   555k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   555k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   555k|    }
  |  |  ------------------
  |  | 3554|   555k|        }
  |  | 3555|       |
  |  | 3556|  3.23M|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  3.23M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3558|       |            int opcode = CALL_KW_PY;
  |  | 3559|       |            (void)(opcode);
  |  | 3560|       |            #endif
  |  | 3561|  3.23M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3562|  3.23M|            (void)this_instr;
  |  | 3563|  3.23M|            frame->instr_ptr = next_instr;
  |  | 3564|  3.23M|            next_instr += 4;
  |  | 3565|  3.23M|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  3.23M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3566|  3.23M|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3567|  3.23M|            _PyStackRef callable;
  |  | 3568|  3.23M|            _PyStackRef self_or_null;
  |  | 3569|  3.23M|            _PyStackRef *args;
  |  | 3570|  3.23M|            _PyStackRef kwnames;
  |  | 3571|  3.23M|            _PyStackRef new_frame;
  |  | 3572|       |            /* Skip 1 cache entry */
  |  | 3573|       |            // _CHECK_PEP_523
  |  | 3574|  3.23M|            {
  |  | 3575|  3.23M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  3.23M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 3.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3576|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3577|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3578|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3579|      0|                }
  |  | 3580|  3.23M|            }
  |  | 3581|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3582|  3.23M|            {
  |  | 3583|  3.23M|                callable = stack_pointer[-3 - oparg];
  |  | 3584|  3.23M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3585|  3.23M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3586|  3.23M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  3.23M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.23M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3586:21): [True: 0, False: 3.23M]
  |  |  ------------------
  |  | 3587|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3588|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3589|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3590|      0|                }
  |  | 3591|  3.23M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3592|  3.23M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3592:21): [True: 0, False: 3.23M]
  |  |  ------------------
  |  | 3593|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3594|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3595|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3596|      0|                }
  |  | 3597|  3.23M|            }
  |  | 3598|       |            // _CHECK_RECURSION_REMAINING
  |  | 3599|  3.23M|            {
  |  | 3600|  3.23M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3600:21): [True: 0, False: 3.23M]
  |  |  ------------------
  |  | 3601|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3602|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3603|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3604|      0|                }
  |  | 3605|  3.23M|            }
  |  | 3606|       |            // _PY_FRAME_KW
  |  | 3607|  3.23M|            {
  |  | 3608|  3.23M|                kwnames = stack_pointer[-1];
  |  | 3609|  3.23M|                args = &stack_pointer[-1 - oparg];
  |  | 3610|  3.23M|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3611|  3.23M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3612|  3.23M|                int total_args = oparg;
  |  | 3613|  3.23M|                _PyStackRef *arguments = args;
  |  | 3614|  3.23M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  3.23M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.23M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.23M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3614:21): [True: 3.02M, False: 204k]
  |  |  ------------------
  |  | 3615|  3.02M|                    arguments--;
  |  | 3616|  3.02M|                    total_args++;
  |  | 3617|  3.02M|                }
  |  | 3618|  3.23M|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3619|  3.23M|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  3.23M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3620|  3.23M|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 3621|  3.23M|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  3.23M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3622|  3.23M|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  3.23M|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3622:36): [True: 3.23M, False: 0]
  |  |  ------------------
  |  | 3623|  3.23M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3624|  3.23M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3625|  3.23M|                    tstate, callable, locals,
  |  | 3626|  3.23M|                    arguments, positional_args, kwnames_o, frame
  |  | 3627|  3.23M|                );
  |  | 3628|  3.23M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3629|  3.23M|                stack_pointer += -1;
  |  | 3630|  3.23M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.23M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3631|  3.23M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3632|  3.23M|                PyStackRef_CLOSE(kwnames);
  |  | 3633|  3.23M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3634|  3.23M|                stack_pointer += -2 - oparg;
  |  | 3635|  3.23M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.23M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3636|  3.23M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3636:21): [True: 0, False: 3.23M]
  |  |  ------------------
  |  | 3637|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3638|      0|                }
  |  | 3639|  3.23M|                new_frame = PyStackRef_Wrap(temp);
  |  | 3640|  3.23M|            }
  |  | 3641|       |            // _SAVE_RETURN_OFFSET
  |  | 3642|      0|            {
  |  | 3643|  3.23M|                #if TIER_ONE
  |  | 3644|  3.23M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3645|  3.23M|                #endif
  |  | 3646|       |                #if TIER_TWO
  |  | 3647|       |                frame->return_offset = oparg;
  |  | 3648|       |                #endif
  |  | 3649|  3.23M|            }
  |  | 3650|       |            // _PUSH_FRAME
  |  | 3651|  3.23M|            {
  |  | 3652|  3.23M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 3653|  3.23M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3654|  3.23M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3655|  3.23M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 3656|  3.23M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  3.23M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3657|  3.23M|                frame = tstate->current_frame = temp;
  |  | 3658|  3.23M|                tstate->py_recursion_remaining--;
  |  | 3659|  3.23M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  3.23M|#define LOAD_SP() \
  |  |  |  |  426|  3.23M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 3660|  3.23M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  3.23M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  3.23M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  3.23M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 3.23M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3661|  3.23M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  3.23M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3662|  3.23M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  3.23M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3663|  3.23M|            }
  |  | 3664|  3.23M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.23M|    { \
  |  |  |  |  201|  3.23M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.23M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.23M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.23M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.23M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.23M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.23M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.23M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.23M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.23M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.23M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.23M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.23M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.23M|    }
  |  |  ------------------
  |  | 3665|  3.23M|        }
  |  | 3666|       |
  |  | 3667|  10.8M|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  10.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3668|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3669|       |            int opcode = CALL_LEN;
  |  | 3670|       |            (void)(opcode);
  |  | 3671|       |            #endif
  |  | 3672|  10.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3673|  10.8M|            (void)this_instr;
  |  | 3674|  10.8M|            frame->instr_ptr = next_instr;
  |  | 3675|  10.8M|            next_instr += 4;
  |  | 3676|  10.8M|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  10.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3677|  10.8M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3678|  10.8M|            _PyStackRef null;
  |  | 3679|  10.8M|            _PyStackRef callable;
  |  | 3680|  10.8M|            _PyStackRef arg;
  |  | 3681|  10.8M|            _PyStackRef res;
  |  | 3682|  10.8M|            _PyStackRef a;
  |  | 3683|  10.8M|            _PyStackRef c;
  |  | 3684|  10.8M|            _PyStackRef value;
  |  | 3685|       |            /* Skip 1 cache entry */
  |  | 3686|       |            /* Skip 2 cache entries */
  |  | 3687|       |            // _GUARD_NOS_NULL
  |  | 3688|  10.8M|            {
  |  | 3689|  10.8M|                null = stack_pointer[-2];
  |  | 3690|  10.8M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  10.8M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  10.8M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.8M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3690:21): [True: 0, False: 10.8M]
  |  |  ------------------
  |  | 3691|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3692|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3693|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3694|      0|                }
  |  | 3695|  10.8M|            }
  |  | 3696|       |            // _GUARD_CALLABLE_LEN
  |  | 3697|  10.8M|            {
  |  | 3698|  10.8M|                callable = stack_pointer[-3];
  |  | 3699|  10.8M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3700|  10.8M|                PyInterpreterState *interp = tstate->interp;
  |  | 3701|  10.8M|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3701:21): [True: 0, False: 10.8M]
  |  |  ------------------
  |  | 3702|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3703|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3704|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3705|      0|                }
  |  | 3706|  10.8M|            }
  |  | 3707|       |            // _CALL_LEN
  |  | 3708|  10.8M|            {
  |  | 3709|  10.8M|                arg = stack_pointer[-1];
  |  | 3710|  10.8M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  10.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3711|  10.8M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3712|  10.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3713|  10.8M|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  10.8M|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3714|  10.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3715|  10.8M|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3715:21): [True: 0, False: 10.8M]
  |  |  ------------------
  |  | 3716|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3717|      0|                }
  |  | 3718|  10.8M|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3719|  10.8M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 3720|  10.8M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3720:21): [True: 0, False: 10.8M]
  |  |  ------------------
  |  | 3721|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3722|      0|                }
  |  | 3723|  10.8M|                a = arg;
  |  | 3724|  10.8M|                c = callable;
  |  | 3725|  10.8M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3726|  10.8M|            }
  |  | 3727|       |            // _POP_TOP
  |  | 3728|      0|            {
  |  | 3729|  10.8M|                value = c;
  |  | 3730|  10.8M|                stack_pointer[-3] = res;
  |  | 3731|  10.8M|                stack_pointer[-2] = a;
  |  | 3732|  10.8M|                stack_pointer += -1;
  |  | 3733|  10.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3734|  10.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3735|  10.8M|                PyStackRef_XCLOSE(value);
  |  | 3736|  10.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3737|  10.8M|            }
  |  | 3738|       |            // _POP_TOP
  |  | 3739|  10.8M|            {
  |  | 3740|  10.8M|                value = a;
  |  | 3741|  10.8M|                stack_pointer += -1;
  |  | 3742|  10.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3743|  10.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3744|  10.8M|                PyStackRef_XCLOSE(value);
  |  | 3745|  10.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3746|  10.8M|            }
  |  | 3747|  10.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.8M|    { \
  |  |  |  |  201|  10.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  10.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  10.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  10.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  10.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  10.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  10.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 10.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.8M|    }
  |  |  ------------------
  |  | 3748|  10.8M|        }
  |  | 3749|       |
  |  | 3750|  1.73M|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  1.73M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3751|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3752|       |            int opcode = CALL_LIST_APPEND;
  |  | 3753|       |            (void)(opcode);
  |  | 3754|       |            #endif
  |  | 3755|  1.73M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3756|  1.73M|            (void)this_instr;
  |  | 3757|  1.73M|            frame->instr_ptr = next_instr;
  |  | 3758|  1.73M|            next_instr += 4;
  |  | 3759|  1.73M|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  1.73M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3760|  1.73M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3761|  1.73M|            _PyStackRef callable;
  |  | 3762|  1.73M|            _PyStackRef nos;
  |  | 3763|  1.73M|            _PyStackRef self;
  |  | 3764|  1.73M|            _PyStackRef arg;
  |  | 3765|  1.73M|            _PyStackRef none;
  |  | 3766|  1.73M|            _PyStackRef c;
  |  | 3767|  1.73M|            _PyStackRef s;
  |  | 3768|  1.73M|            _PyStackRef value;
  |  | 3769|       |            /* Skip 1 cache entry */
  |  | 3770|       |            /* Skip 2 cache entries */
  |  | 3771|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3772|  1.73M|            {
  |  | 3773|  1.73M|                callable = stack_pointer[-3];
  |  | 3774|  1.73M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3775|  1.73M|                PyInterpreterState *interp = tstate->interp;
  |  | 3776|  1.73M|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3776:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 3777|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3778|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3779|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3780|      0|                }
  |  | 3781|  1.73M|            }
  |  | 3782|       |            // _GUARD_NOS_NOT_NULL
  |  | 3783|  1.73M|            {
  |  | 3784|  1.73M|                nos = stack_pointer[-2];
  |  | 3785|  1.73M|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|  1.73M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.73M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.73M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3786|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3787|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3788|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3789|      0|                }
  |  | 3790|  1.73M|            }
  |  | 3791|       |            // _GUARD_NOS_LIST
  |  | 3792|  1.73M|            {
  |  | 3793|  1.73M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3794|  1.73M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  1.73M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.73M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3794:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 3795|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3796|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3797|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3798|      0|                }
  |  | 3799|  1.73M|            }
  |  | 3800|       |            // _CALL_LIST_APPEND
  |  | 3801|  1.73M|            {
  |  | 3802|  1.73M|                arg = stack_pointer[-1];
  |  | 3803|  1.73M|                self = nos;
  |  | 3804|  1.73M|                assert(oparg == 1);
  |  | 3805|  1.73M|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3806|  1.73M|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  321|  1.73M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3806:21): [Folded, False: 1.73M]
  |  |  ------------------
  |  | 3807|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3808|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3809|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3810|      0|                }
  |  | 3811|  1.73M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.73M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3812|  1.73M|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3813|  1.73M|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  322|  1.73M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3814|  1.73M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3814:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 3815|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3816|      0|                }
  |  | 3817|  1.73M|                c = callable;
  |  | 3818|  1.73M|                s = self;
  |  | 3819|  1.73M|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  1.73M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.73M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3820|  1.73M|            }
  |  | 3821|       |            // _POP_TOP
  |  | 3822|      0|            {
  |  | 3823|  1.73M|                value = s;
  |  | 3824|  1.73M|                stack_pointer[-3] = none;
  |  | 3825|  1.73M|                stack_pointer[-2] = c;
  |  | 3826|  1.73M|                stack_pointer += -1;
  |  | 3827|  1.73M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3828|  1.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3829|  1.73M|                PyStackRef_XCLOSE(value);
  |  | 3830|  1.73M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3831|  1.73M|            }
  |  | 3832|       |            // _POP_TOP
  |  | 3833|  1.73M|            {
  |  | 3834|  1.73M|                value = c;
  |  | 3835|  1.73M|                stack_pointer += -1;
  |  | 3836|  1.73M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3837|  1.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3838|  1.73M|                PyStackRef_XCLOSE(value);
  |  | 3839|  1.73M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3840|  1.73M|            }
  |  | 3841|  1.73M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.73M|    { \
  |  |  |  |  201|  1.73M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.73M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.73M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.73M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.73M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.73M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.73M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.73M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.73M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.73M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.73M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.73M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.73M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.73M|    }
  |  |  ------------------
  |  | 3842|  1.73M|        }
  |  | 3843|       |
  |  | 3844|  1.41M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.41M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3845|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3846|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 3847|       |            (void)(opcode);
  |  | 3848|       |            #endif
  |  | 3849|  1.41M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3850|  1.41M|            (void)this_instr;
  |  | 3851|  1.41M|            frame->instr_ptr = next_instr;
  |  | 3852|  1.41M|            next_instr += 4;
  |  | 3853|  1.41M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.41M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3854|  1.41M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3855|  1.41M|            _PyStackRef callable;
  |  | 3856|  1.41M|            _PyStackRef self_or_null;
  |  | 3857|  1.41M|            _PyStackRef *args;
  |  | 3858|  1.41M|            _PyStackRef value;
  |  | 3859|       |            /* Skip 1 cache entry */
  |  | 3860|       |            /* Skip 2 cache entries */
  |  | 3861|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 3862|  1.41M|            {
  |  | 3863|  1.41M|                args = &stack_pointer[-oparg];
  |  | 3864|  1.41M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 3865|  1.41M|                callable = stack_pointer[-2 - oparg];
  |  | 3866|  1.41M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3867|  1.41M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3868|  1.41M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.41M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3868:21): [True: 0, False: 1.41M]
  |  |  ------------------
  |  | 3869|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3870|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3871|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3872|      0|                }
  |  | 3873|  1.41M|                if (method->d_method->ml_flags != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.41M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (3873:21): [True: 0, False: 1.41M]
  |  |  ------------------
  |  | 3874|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3875|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3876|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3877|      0|                }
  |  | 3878|  1.41M|                int total_args = oparg;
  |  | 3879|  1.41M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.41M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.41M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.41M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3879:21): [True: 1.41M, False: 0]
  |  |  ------------------
  |  | 3880|  1.41M|                    total_args++;
  |  | 3881|  1.41M|                }
  |  | 3882|  1.41M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (3882:21): [True: 0, False: 1.41M]
  |  |  ------------------
  |  | 3883|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3884|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3885|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3886|      0|                }
  |  | 3887|  1.41M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 3888|  1.41M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.41M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.41M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.41M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.41M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3889|  1.41M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.41M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3889:21): [True: 12.1k, False: 1.40M]
  |  |  ------------------
  |  | 3890|  12.1k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  12.1k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3891|  12.1k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3892|  12.1k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  12.1k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3893|      0|                }
  |  | 3894|  1.41M|            }
  |  | 3895|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 3896|  1.40M|            {
  |  | 3897|  1.40M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3898|  1.40M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3899|  1.40M|                int total_args = oparg;
  |  | 3900|  1.40M|                _PyStackRef *arguments = args;
  |  | 3901|  1.40M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.40M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.40M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.40M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3901:21): [True: 1.40M, False: 0]
  |  |  ------------------
  |  | 3902|  1.40M|                    arguments--;
  |  | 3903|  1.40M|                    total_args++;
  |  | 3904|  1.40M|                }
  |  | 3905|  1.40M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 3906|  1.40M|                assert(self != NULL);
  |  | 3907|  1.40M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.40M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3908|  1.40M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3909|  1.40M|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  1.40M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.40M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3910|  1.40M|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 3911|  1.40M|                    callable,
  |  | 3912|  1.40M|                    cfunc,
  |  | 3913|  1.40M|                    self,
  |  | 3914|  1.40M|                    arguments,
  |  | 3915|  1.40M|                    total_args
  |  | 3916|  1.40M|                );
  |  | 3917|  1.40M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3918|  1.40M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3918:21): [True: 23.5k, False: 1.38M]
  |  |  ------------------
  |  | 3919|  23.5k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  23.5k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3920|      0|                }
  |  | 3921|  1.38M|                _PyStackRef temp = callable;
  |  | 3922|  1.38M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3923|  1.38M|                stack_pointer[-2 - oparg] = callable;
  |  | 3924|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3925|  1.38M|                PyStackRef_CLOSE(temp);
  |  | 3926|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3927|  1.38M|            }
  |  | 3928|       |            // _POP_TOP_OPARG
  |  | 3929|      0|            {
  |  | 3930|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3931|  1.38M|                _PyStackRef_CloseStack(args, oparg);
  |  | 3932|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3933|  1.38M|            }
  |  | 3934|       |            // _POP_TOP
  |  | 3935|  1.38M|            {
  |  | 3936|  1.38M|                value = self_or_null;
  |  | 3937|  1.38M|                stack_pointer += -1 - oparg;
  |  | 3938|  1.38M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.38M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3939|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3940|  1.38M|                PyStackRef_XCLOSE(value);
  |  | 3941|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3942|  1.38M|            }
  |  | 3943|       |            // _CHECK_PERIODIC_AT_END
  |  | 3944|  1.38M|            {
  |  | 3945|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3946|  1.38M|                int err = check_periodics(tstate);
  |  | 3947|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3948|  1.38M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3948:21): [True: 0, False: 1.38M]
  |  |  ------------------
  |  | 3949|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3950|      0|                }
  |  | 3951|  1.38M|            }
  |  | 3952|  1.38M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.38M|    { \
  |  |  |  |  201|  1.38M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.38M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.38M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.38M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.38M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.38M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.38M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.38M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.38M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.38M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.38M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.38M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.38M|    }
  |  |  ------------------
  |  | 3953|  1.38M|        }
  |  | 3954|       |
  |  | 3955|  1.63M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  1.63M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3956|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3957|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
  |  | 3958|       |            (void)(opcode);
  |  | 3959|       |            #endif
  |  | 3960|  1.63M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3961|  1.63M|            (void)this_instr;
  |  | 3962|  1.63M|            frame->instr_ptr = next_instr;
  |  | 3963|  1.63M|            next_instr += 4;
  |  | 3964|  1.63M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  1.63M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3965|  1.63M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3966|  1.63M|            _PyStackRef callable;
  |  | 3967|  1.63M|            _PyStackRef self_or_null;
  |  | 3968|  1.63M|            _PyStackRef *args;
  |  | 3969|  1.63M|            _PyStackRef value;
  |  | 3970|       |            /* Skip 1 cache entry */
  |  | 3971|       |            /* Skip 2 cache entries */
  |  | 3972|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 3973|  1.63M|            {
  |  | 3974|  1.63M|                args = &stack_pointer[-oparg];
  |  | 3975|  1.63M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 3976|  1.63M|                callable = stack_pointer[-2 - oparg];
  |  | 3977|  1.63M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3978|  1.63M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3979|  1.63M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.63M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3979:21): [True: 0, False: 1.63M]
  |  |  ------------------
  |  | 3980|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3981|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3982|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3983|      0|                }
  |  | 3984|  1.63M|                if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  1.63M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  1.63M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (3984:21): [True: 0, False: 1.63M]
  |  |  ------------------
  |  | 3985|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3986|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3987|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3988|      0|                }
  |  | 3989|  1.63M|                int total_args = oparg;
  |  | 3990|  1.63M|                _PyStackRef *arguments = args;
  |  | 3991|  1.63M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.63M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.63M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.63M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3991:21): [True: 1.63M, False: 0]
  |  |  ------------------
  |  | 3992|  1.63M|                    arguments--;
  |  | 3993|  1.63M|                    total_args++;
  |  | 3994|  1.63M|                }
  |  | 3995|  1.63M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (3995:21): [True: 0, False: 1.63M]
  |  |  ------------------
  |  | 3996|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3997|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3998|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3999|      0|                }
  |  | 4000|  1.63M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4001|  1.63M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.63M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4001:21): [True: 0, False: 1.63M]
  |  |  ------------------
  |  | 4002|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4003|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4004|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4005|      0|                }
  |  | 4006|  1.63M|            }
  |  | 4007|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4008|  1.63M|            {
  |  | 4009|  1.63M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4010|  1.63M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4011|  1.63M|                int total_args = oparg;
  |  | 4012|  1.63M|                _PyStackRef *arguments = args;
  |  | 4013|  1.63M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.63M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.63M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.63M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4013:21): [True: 1.63M, False: 0]
  |  |  ------------------
  |  | 4014|  1.63M|                    arguments--;
  |  | 4015|  1.63M|                    total_args++;
  |  | 4016|  1.63M|                }
  |  | 4017|  1.63M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4018|  1.63M|                assert(self != NULL);
  |  | 4019|  1.63M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.63M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4020|  1.63M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4021|  1.63M|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|  1.63M|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.63M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4022|  1.63M|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4023|  1.63M|                    callable,
  |  | 4024|  1.63M|                    cfunc,
  |  | 4025|  1.63M|                    self,
  |  | 4026|  1.63M|                    arguments,
  |  | 4027|  1.63M|                    total_args
  |  | 4028|  1.63M|                );
  |  | 4029|  1.63M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4030|  1.63M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4030:21): [True: 4.91k, False: 1.62M]
  |  |  ------------------
  |  | 4031|  4.91k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  4.91k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4032|      0|                }
  |  | 4033|  1.62M|                _PyStackRef temp = callable;
  |  | 4034|  1.62M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4035|  1.62M|                stack_pointer[-2 - oparg] = callable;
  |  | 4036|  1.62M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4037|  1.62M|                PyStackRef_CLOSE(temp);
  |  | 4038|  1.62M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4039|  1.62M|            }
  |  | 4040|       |            // _POP_TOP_OPARG
  |  | 4041|      0|            {
  |  | 4042|  1.62M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4043|  1.62M|                _PyStackRef_CloseStack(args, oparg);
  |  | 4044|  1.62M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4045|  1.62M|            }
  |  | 4046|       |            // _POP_TOP
  |  | 4047|  1.62M|            {
  |  | 4048|  1.62M|                value = self_or_null;
  |  | 4049|  1.62M|                stack_pointer += -1 - oparg;
  |  | 4050|  1.62M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.62M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4051|  1.62M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4052|  1.62M|                PyStackRef_XCLOSE(value);
  |  | 4053|  1.62M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4054|  1.62M|            }
  |  | 4055|       |            // _CHECK_PERIODIC_AT_END
  |  | 4056|  1.62M|            {
  |  | 4057|  1.62M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4058|  1.62M|                int err = check_periodics(tstate);
  |  | 4059|  1.62M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4060|  1.62M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 0, False: 1.62M]
  |  |  ------------------
  |  | 4061|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4062|      0|                }
  |  | 4063|  1.62M|            }
  |  | 4064|  1.62M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.62M|    { \
  |  |  |  |  201|  1.62M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.62M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.62M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.62M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.62M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.62M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.62M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.62M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.62M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.62M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.62M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.62M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.62M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.62M|    }
  |  |  ------------------
  |  | 4065|  1.62M|        }
  |  | 4066|       |
  |  | 4067|  2.43M|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.43M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4068|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4069|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4070|       |            (void)(opcode);
  |  | 4071|       |            #endif
  |  | 4072|  2.43M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4073|  2.43M|            (void)this_instr;
  |  | 4074|  2.43M|            frame->instr_ptr = next_instr;
  |  | 4075|  2.43M|            next_instr += 4;
  |  | 4076|  2.43M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|  2.43M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4077|  2.43M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4078|  2.43M|            _PyStackRef callable;
  |  | 4079|  2.43M|            _PyStackRef self_or_null;
  |  | 4080|  2.43M|            _PyStackRef *args;
  |  | 4081|  2.43M|            _PyStackRef res;
  |  | 4082|  2.43M|            _PyStackRef c;
  |  | 4083|  2.43M|            _PyStackRef s;
  |  | 4084|  2.43M|            _PyStackRef value;
  |  | 4085|       |            /* Skip 1 cache entry */
  |  | 4086|       |            /* Skip 2 cache entries */
  |  | 4087|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4088|  2.43M|            {
  |  | 4089|  2.43M|                args = &stack_pointer[-oparg];
  |  | 4090|  2.43M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4091|  2.43M|                callable = stack_pointer[-2 - oparg];
  |  | 4092|  2.43M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4093|  2.43M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4094|  2.43M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  2.43M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4094:21): [True: 0, False: 2.43M]
  |  |  ------------------
  |  | 4095|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4096|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4097|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4098|      0|                }
  |  | 4099|  2.43M|                if (method->d_method->ml_flags != METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|  2.43M|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |  |  Branch (4099:21): [True: 0, False: 2.43M]
  |  |  ------------------
  |  | 4100|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4101|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4102|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4103|      0|                }
  |  | 4104|  2.43M|                int total_args = oparg;
  |  | 4105|  2.43M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.43M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.43M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.43M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4105:21): [True: 2.43M, False: 0]
  |  |  ------------------
  |  | 4106|  2.43M|                    total_args++;
  |  | 4107|  2.43M|                }
  |  | 4108|  2.43M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4108:21): [True: 0, False: 2.43M]
  |  |  ------------------
  |  | 4109|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4110|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4111|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4112|      0|                }
  |  | 4113|  2.43M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4114|  2.43M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.43M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.43M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.43M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.43M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4115|  2.43M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  2.43M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4115:21): [True: 12.7k, False: 2.42M]
  |  |  ------------------
  |  | 4116|  12.7k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  12.7k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4117|  12.7k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4118|  12.7k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  12.7k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4119|      0|                }
  |  | 4120|  2.43M|            }
  |  | 4121|       |            // _CHECK_RECURSION_LIMIT
  |  | 4122|  2.42M|            {
  |  | 4123|  2.42M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4123:21): [True: 0, False: 2.42M]
  |  |  ------------------
  |  | 4124|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4125|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4126|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4127|      0|                }
  |  | 4128|  2.42M|            }
  |  | 4129|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4130|  2.42M|            {
  |  | 4131|  2.42M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4132|  2.42M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4133|  2.42M|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  | 4134|  2.42M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.42M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.42M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.42M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4134:21): [True: 2.42M, False: 0]
  |  |  ------------------
  |  | 4135|  2.42M|                    args--;
  |  | 4136|  2.42M|                }
  |  | 4137|  2.42M|                _PyStackRef self_stackref = args[0];
  |  | 4138|  2.42M|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4139|  2.42M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.42M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4140|  2.42M|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4141|  2.42M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4142|  2.42M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |  997|  2.42M|    (meth)((self), (args))
  |  |  ------------------
  |  | 4143|  2.42M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4144|  2.42M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4145|  2.42M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 4146|  2.42M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4146:21): [True: 210k, False: 2.21M]
  |  |  ------------------
  |  | 4147|   210k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   210k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4148|      0|                }
  |  | 4149|  2.21M|                c = callable;
  |  | 4150|  2.21M|                s = args[0];
  |  | 4151|  2.21M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4152|  2.21M|            }
  |  | 4153|       |            // _POP_TOP
  |  | 4154|      0|            {
  |  | 4155|  2.21M|                value = s;
  |  | 4156|  2.21M|                stack_pointer[-2 - oparg] = res;
  |  | 4157|  2.21M|                stack_pointer[-1 - oparg] = c;
  |  | 4158|  2.21M|                stack_pointer += -oparg;
  |  | 4159|  2.21M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.21M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4160|  2.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4161|  2.21M|                PyStackRef_XCLOSE(value);
  |  | 4162|  2.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4163|  2.21M|            }
  |  | 4164|       |            // _POP_TOP
  |  | 4165|  2.21M|            {
  |  | 4166|  2.21M|                value = c;
  |  | 4167|  2.21M|                stack_pointer += -1;
  |  | 4168|  2.21M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.21M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4169|  2.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4170|  2.21M|                PyStackRef_XCLOSE(value);
  |  | 4171|  2.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4172|  2.21M|            }
  |  | 4173|       |            // _CHECK_PERIODIC_AT_END
  |  | 4174|  2.21M|            {
  |  | 4175|  2.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4176|  2.21M|                int err = check_periodics(tstate);
  |  | 4177|  2.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4178|  2.21M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4178:21): [True: 0, False: 2.21M]
  |  |  ------------------
  |  | 4179|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4180|      0|                }
  |  | 4181|  2.21M|            }
  |  | 4182|  2.21M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.21M|    { \
  |  |  |  |  201|  2.21M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.21M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.21M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.21M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.21M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.21M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.21M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.21M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.21M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.21M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.21M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.21M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.21M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.21M|    }
  |  |  ------------------
  |  | 4183|  2.21M|        }
  |  | 4184|       |
  |  | 4185|   904k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|   904k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4186|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4187|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4188|       |            (void)(opcode);
  |  | 4189|       |            #endif
  |  | 4190|   904k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4191|   904k|            (void)this_instr;
  |  | 4192|   904k|            frame->instr_ptr = next_instr;
  |  | 4193|   904k|            next_instr += 4;
  |  | 4194|   904k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|   904k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4195|   904k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4196|   904k|            _PyStackRef callable;
  |  | 4197|   904k|            _PyStackRef self_or_null;
  |  | 4198|   904k|            _PyStackRef *args;
  |  | 4199|   904k|            _PyStackRef res;
  |  | 4200|   904k|            _PyStackRef c;
  |  | 4201|   904k|            _PyStackRef s;
  |  | 4202|   904k|            _PyStackRef a;
  |  | 4203|   904k|            _PyStackRef value;
  |  | 4204|       |            /* Skip 1 cache entry */
  |  | 4205|       |            /* Skip 2 cache entries */
  |  | 4206|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4207|   904k|            {
  |  | 4208|   904k|                args = &stack_pointer[-oparg];
  |  | 4209|   904k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4210|   904k|                callable = stack_pointer[-2 - oparg];
  |  | 4211|   904k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4212|   904k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4213|   904k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|   904k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   904k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   904k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 0, False: 904k]
  |  |  ------------------
  |  | 4214|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4215|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4216|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4217|      0|                }
  |  | 4218|   904k|                if (method->d_method->ml_flags != METH_O) {
  |  |  ------------------
  |  |  |  |   99|   904k|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (4218:21): [True: 0, False: 904k]
  |  |  ------------------
  |  | 4219|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4220|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4221|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4222|      0|                }
  |  | 4223|   904k|                int total_args = oparg;
  |  | 4224|   904k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   904k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   904k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   904k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4224:21): [True: 904k, False: 0]
  |  |  ------------------
  |  | 4225|   904k|                    total_args++;
  |  | 4226|   904k|                }
  |  | 4227|   904k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4227:21): [True: 0, False: 904k]
  |  |  ------------------
  |  | 4228|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4229|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4230|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4231|      0|                }
  |  | 4232|   904k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4233|   904k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|   904k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   904k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   904k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 904k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4234|   904k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|   904k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   904k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   904k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4234:21): [True: 7.39k, False: 897k]
  |  |  ------------------
  |  | 4235|  7.39k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  7.39k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4236|  7.39k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4237|  7.39k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  7.39k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4238|      0|                }
  |  | 4239|   904k|            }
  |  | 4240|       |            // _CHECK_RECURSION_LIMIT
  |  | 4241|   897k|            {
  |  | 4242|   897k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4242:21): [True: 0, False: 897k]
  |  |  ------------------
  |  | 4243|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4244|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4245|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4246|      0|                }
  |  | 4247|   897k|            }
  |  | 4248|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4249|   897k|            {
  |  | 4250|   897k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4251|   897k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4252|   897k|                _PyStackRef *arguments = args;
  |  | 4253|   897k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   897k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   897k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   897k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4253:21): [True: 897k, False: 0]
  |  |  ------------------
  |  | 4254|   897k|                    arguments--;
  |  | 4255|   897k|                }
  |  | 4256|   897k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   897k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4257|   897k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4258|   897k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4259|   897k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4260|   897k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4261|   897k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |  997|   897k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4262|   897k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4263|   897k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4264|   897k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 4265|   897k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4265:21): [True: 0, False: 897k]
  |  |  ------------------
  |  | 4266|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4267|      0|                }
  |  | 4268|   897k|                c = callable;
  |  | 4269|   897k|                s = arguments[0];
  |  | 4270|   897k|                a = arguments[1];
  |  | 4271|   897k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4272|   897k|            }
  |  | 4273|       |            // _POP_TOP
  |  | 4274|      0|            {
  |  | 4275|   897k|                value = a;
  |  | 4276|   897k|                stack_pointer[-2 - oparg] = res;
  |  | 4277|   897k|                stack_pointer[-1 - oparg] = c;
  |  | 4278|   897k|                stack_pointer[-oparg] = s;
  |  | 4279|   897k|                stack_pointer += 1 - oparg;
  |  | 4280|   897k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   897k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4281|   897k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4282|   897k|                PyStackRef_XCLOSE(value);
  |  | 4283|   897k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4284|   897k|            }
  |  | 4285|       |            // _POP_TOP
  |  | 4286|   897k|            {
  |  | 4287|   897k|                value = s;
  |  | 4288|   897k|                stack_pointer += -1;
  |  | 4289|   897k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   897k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4290|   897k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4291|   897k|                PyStackRef_XCLOSE(value);
  |  | 4292|   897k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4293|   897k|            }
  |  | 4294|       |            // _POP_TOP
  |  | 4295|   897k|            {
  |  | 4296|   897k|                value = c;
  |  | 4297|   897k|                stack_pointer += -1;
  |  | 4298|   897k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   897k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4299|   897k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4300|   897k|                PyStackRef_XCLOSE(value);
  |  | 4301|   897k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4302|   897k|            }
  |  | 4303|       |            // _CHECK_PERIODIC_AT_END
  |  | 4304|   897k|            {
  |  | 4305|   897k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4306|   897k|                int err = check_periodics(tstate);
  |  | 4307|   897k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4308|   897k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4308:21): [True: 0, False: 897k]
  |  |  ------------------
  |  | 4309|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4310|      0|                }
  |  | 4311|   897k|            }
  |  | 4312|   897k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   897k|    { \
  |  |  |  |  201|   897k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   897k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   897k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   897k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   897k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   897k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   897k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   897k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 897k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   897k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   897k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   897k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   897k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   897k|    }
  |  |  ------------------
  |  | 4313|   897k|        }
  |  | 4314|       |
  |  | 4315|  17.9M|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  17.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4316|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4317|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4318|       |            (void)(opcode);
  |  | 4319|       |            #endif
  |  | 4320|  17.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4321|  17.9M|            (void)this_instr;
  |  | 4322|  17.9M|            frame->instr_ptr = next_instr;
  |  | 4323|  17.9M|            next_instr += 4;
  |  | 4324|  17.9M|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  17.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4325|  17.9M|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  168|  17.9M|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4326|  17.9M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4327|  17.9M|            _PyStackRef callable;
  |  | 4328|  17.9M|            _PyStackRef self_or_null;
  |  | 4329|  17.9M|            _PyStackRef *args;
  |  | 4330|  17.9M|            _PyStackRef res;
  |  | 4331|       |            /* Skip 1 cache entry */
  |  | 4332|       |            /* Skip 2 cache entries */
  |  | 4333|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4334|  17.9M|            {
  |  | 4335|  17.9M|                callable = stack_pointer[-2 - oparg];
  |  | 4336|  17.9M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4337|  17.9M|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  17.9M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  17.9M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  17.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  17.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 17.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4338|      2|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4339|      2|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4340|      2|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4341|      0|                }
  |  | 4342|  17.9M|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  17.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4342:21): [True: 0, False: 17.9M]
  |  |  ------------------
  |  | 4343|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4344|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4345|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4346|      0|                }
  |  | 4347|  17.9M|            }
  |  | 4348|       |            // _CALL_NON_PY_GENERAL
  |  | 4349|  17.9M|            {
  |  | 4350|  17.9M|                args = &stack_pointer[-oparg];
  |  | 4351|  17.9M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4352|  17.9M|                #if TIER_ONE
  |  | 4353|  17.9M|                assert(opcode != INSTRUMENTED_CALL);
  |  | 4354|  17.9M|                #endif
  |  | 4355|  17.9M|                int total_args = oparg;
  |  | 4356|  17.9M|                _PyStackRef *arguments = args;
  |  | 4357|  17.9M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  17.9M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  17.9M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  17.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4357:21): [True: 17.8k, False: 17.9M]
  |  |  ------------------
  |  | 4358|  17.8k|                    arguments--;
  |  | 4359|  17.8k|                    total_args++;
  |  | 4360|  17.8k|                }
  |  | 4361|  17.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4362|  17.9M|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4363|  17.9M|                    callable,
  |  | 4364|  17.9M|                    arguments,
  |  | 4365|  17.9M|                    total_args,
  |  | 4366|  17.9M|                    PyStackRef_NULL);
  |  | 4367|  17.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4368|  17.9M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4368:21): [True: 2, False: 17.9M]
  |  |  ------------------
  |  | 4369|      2|                    stack_pointer += -2 - oparg;
  |  | 4370|      2|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4371|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4372|      0|                }
  |  | 4373|  17.9M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4374|  17.9M|            }
  |  | 4375|       |            // _CHECK_PERIODIC_AT_END
  |  | 4376|      0|            {
  |  | 4377|  17.9M|                stack_pointer[-2 - oparg] = res;
  |  | 4378|  17.9M|                stack_pointer += -1 - oparg;
  |  | 4379|  17.9M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  17.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4380|  17.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4381|  17.9M|                int err = check_periodics(tstate);
  |  | 4382|  17.9M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4383|  17.9M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4383:21): [True: 0, False: 17.9M]
  |  |  ------------------
  |  | 4384|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4385|      0|                }
  |  | 4386|  17.9M|            }
  |  | 4387|  17.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  17.9M|    { \
  |  |  |  |  201|  17.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  17.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  17.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  17.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  17.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  17.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  17.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  17.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 17.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  17.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  17.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  17.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  17.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  17.9M|    }
  |  |  ------------------
  |  | 4388|  17.9M|        }
  |  | 4389|       |
  |  | 4390|  40.3M|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  40.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4391|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4392|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4393|       |            (void)(opcode);
  |  | 4394|       |            #endif
  |  | 4395|  40.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4396|  40.3M|            (void)this_instr;
  |  | 4397|  40.3M|            frame->instr_ptr = next_instr;
  |  | 4398|  40.3M|            next_instr += 4;
  |  | 4399|  40.3M|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  40.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4400|  40.3M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4401|  40.3M|            _PyStackRef callable;
  |  | 4402|  40.3M|            _PyStackRef self_or_null;
  |  | 4403|  40.3M|            _PyStackRef *args;
  |  | 4404|  40.3M|            _PyStackRef new_frame;
  |  | 4405|       |            /* Skip 1 cache entry */
  |  | 4406|       |            // _CHECK_PEP_523
  |  | 4407|  40.3M|            {
  |  | 4408|  40.3M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  40.3M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 40.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4409|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4410|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4411|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4412|      0|                }
  |  | 4413|  40.3M|            }
  |  | 4414|       |            // _CHECK_FUNCTION_VERSION
  |  | 4415|  40.3M|            {
  |  | 4416|  40.3M|                callable = stack_pointer[-2 - oparg];
  |  | 4417|  40.3M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4418|  40.3M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4419|  40.3M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  40.3M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  40.3M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  40.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  40.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4419:21): [True: 87.2k, False: 40.2M]
  |  |  ------------------
  |  | 4420|  87.2k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  87.2k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4421|  87.2k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4422|  87.2k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  87.2k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4423|      0|                }
  |  | 4424|  40.2M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4425|  40.2M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4425:21): [True: 267k, False: 39.9M]
  |  |  ------------------
  |  | 4426|   267k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|   267k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4427|   267k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4428|   267k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   267k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4429|      0|                }
  |  | 4430|  40.2M|            }
  |  | 4431|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4432|  39.9M|            {
  |  | 4433|  39.9M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4434|  39.9M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4435|  39.9M|                assert(PyFunction_Check(callable_o));
  |  | 4436|  39.9M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4437|  39.9M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4438|  39.9M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  39.9M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  39.9M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  39.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4438:21): [True: 0, False: 39.9M]
  |  |  ------------------
  |  | 4439|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4440|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4441|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4442|      0|                }
  |  | 4443|  39.9M|            }
  |  | 4444|       |            // _CHECK_STACK_SPACE
  |  | 4445|  39.9M|            {
  |  | 4446|  39.9M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4447|  39.9M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4448|  39.9M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4449|  39.9M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4449:21): [True: 96, False: 39.9M]
  |  |  ------------------
  |  | 4450|     96|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|     96|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4451|     96|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4452|     96|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     96|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4453|      0|                }
  |  | 4454|  39.9M|            }
  |  | 4455|       |            // _CHECK_RECURSION_REMAINING
  |  | 4456|  39.9M|            {
  |  | 4457|  39.9M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4457:21): [True: 0, False: 39.9M]
  |  |  ------------------
  |  | 4458|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4459|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4460|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4461|      0|                }
  |  | 4462|  39.9M|            }
  |  | 4463|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4464|  39.9M|            {
  |  | 4465|  39.9M|                args = &stack_pointer[-oparg];
  |  | 4466|  39.9M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  39.9M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  39.9M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  39.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4467|  39.9M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  39.9M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4468|  39.9M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4469|  39.9M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4470|  39.9M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4471|  80.2M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4471:33): [True: 40.2M, False: 39.9M]
  |  |  ------------------
  |  | 4472|  40.2M|                    first_non_self_local[i] = args[i];
  |  | 4473|  40.2M|                }
  |  | 4474|  39.9M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4475|  39.9M|            }
  |  | 4476|       |            // _SAVE_RETURN_OFFSET
  |  | 4477|  39.9M|            {
  |  | 4478|  39.9M|                #if TIER_ONE
  |  | 4479|  39.9M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4480|  39.9M|                #endif
  |  | 4481|       |                #if TIER_TWO
  |  | 4482|       |                frame->return_offset = oparg;
  |  | 4483|       |                #endif
  |  | 4484|  39.9M|            }
  |  | 4485|       |            // _PUSH_FRAME
  |  | 4486|  39.9M|            {
  |  | 4487|  39.9M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 4488|  39.9M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4489|  39.9M|                stack_pointer += -2 - oparg;
  |  | 4490|  39.9M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  39.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4491|  39.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4492|  39.9M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 4493|  39.9M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  39.9M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4494|  39.9M|                frame = tstate->current_frame = temp;
  |  | 4495|  39.9M|                tstate->py_recursion_remaining--;
  |  | 4496|  39.9M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  39.9M|#define LOAD_SP() \
  |  |  |  |  426|  39.9M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 4497|  39.9M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  39.9M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  39.9M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  39.9M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 39.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4498|  39.9M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  39.9M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4499|  39.9M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  39.9M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4500|  39.9M|            }
  |  | 4501|  39.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  39.9M|    { \
  |  |  |  |  201|  39.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  39.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  39.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  39.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  39.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  39.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  39.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  39.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 39.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  39.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  39.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  39.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  39.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  39.9M|    }
  |  |  ------------------
  |  | 4502|  39.9M|        }
  |  | 4503|       |
  |  | 4504|  1.73M|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  1.73M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4505|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4506|       |            int opcode = CALL_PY_GENERAL;
  |  | 4507|       |            (void)(opcode);
  |  | 4508|       |            #endif
  |  | 4509|  1.73M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4510|  1.73M|            (void)this_instr;
  |  | 4511|  1.73M|            frame->instr_ptr = next_instr;
  |  | 4512|  1.73M|            next_instr += 4;
  |  | 4513|  1.73M|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  1.73M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4514|  1.73M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4515|  1.73M|            _PyStackRef callable;
  |  | 4516|  1.73M|            _PyStackRef self_or_null;
  |  | 4517|  1.73M|            _PyStackRef *args;
  |  | 4518|  1.73M|            _PyStackRef new_frame;
  |  | 4519|       |            /* Skip 1 cache entry */
  |  | 4520|       |            // _CHECK_PEP_523
  |  | 4521|  1.73M|            {
  |  | 4522|  1.73M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  1.73M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 1.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4523|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4524|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4525|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4526|      0|                }
  |  | 4527|  1.73M|            }
  |  | 4528|       |            // _CHECK_FUNCTION_VERSION
  |  | 4529|  1.73M|            {
  |  | 4530|  1.73M|                callable = stack_pointer[-2 - oparg];
  |  | 4531|  1.73M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4532|  1.73M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4533|  1.73M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.73M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.73M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4533:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 4534|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4535|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4536|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4537|      0|                }
  |  | 4538|  1.73M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4539|  1.73M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4539:21): [True: 156, False: 1.73M]
  |  |  ------------------
  |  | 4540|    156|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    156|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4541|    156|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4542|    156|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    156|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4543|      0|                }
  |  | 4544|  1.73M|            }
  |  | 4545|       |            // _CHECK_RECURSION_REMAINING
  |  | 4546|  1.73M|            {
  |  | 4547|  1.73M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4547:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 4548|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4549|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4550|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4551|      0|                }
  |  | 4552|  1.73M|            }
  |  | 4553|       |            // _PY_FRAME_GENERAL
  |  | 4554|  1.73M|            {
  |  | 4555|  1.73M|                args = &stack_pointer[-oparg];
  |  | 4556|  1.73M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4557|  1.73M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4558|  1.73M|                int total_args = oparg;
  |  | 4559|  1.73M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.73M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.73M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.73M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4559:21): [True: 1.45M, False: 281k]
  |  |  ------------------
  |  | 4560|  1.45M|                    args--;
  |  | 4561|  1.45M|                    total_args++;
  |  | 4562|  1.45M|                }
  |  | 4563|  1.73M|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 4564|  1.73M|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  1.73M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4565|  1.73M|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  1.73M|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4565:36): [True: 1.73M, False: 0]
  |  |  ------------------
  |  | 4566|  1.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4567|  1.73M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4568|  1.73M|                    tstate, callable, locals,
  |  | 4569|  1.73M|                    args, total_args, NULL, frame
  |  | 4570|  1.73M|                );
  |  | 4571|  1.73M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4572|  1.73M|                stack_pointer += -2 - oparg;
  |  | 4573|  1.73M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4574|  1.73M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4574:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 4575|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4576|      0|                }
  |  | 4577|  1.73M|                new_frame = PyStackRef_Wrap(temp);
  |  | 4578|  1.73M|            }
  |  | 4579|       |            // _SAVE_RETURN_OFFSET
  |  | 4580|      0|            {
  |  | 4581|  1.73M|                #if TIER_ONE
  |  | 4582|  1.73M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4583|  1.73M|                #endif
  |  | 4584|       |                #if TIER_TWO
  |  | 4585|       |                frame->return_offset = oparg;
  |  | 4586|       |                #endif
  |  | 4587|  1.73M|            }
  |  | 4588|       |            // _PUSH_FRAME
  |  | 4589|  1.73M|            {
  |  | 4590|  1.73M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 4591|  1.73M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4592|  1.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4593|  1.73M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 4594|  1.73M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.73M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4595|  1.73M|                frame = tstate->current_frame = temp;
  |  | 4596|  1.73M|                tstate->py_recursion_remaining--;
  |  | 4597|  1.73M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  1.73M|#define LOAD_SP() \
  |  |  |  |  426|  1.73M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 4598|  1.73M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  1.73M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  1.73M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  1.73M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 1.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|  1.73M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  1.73M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4600|  1.73M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.73M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4601|  1.73M|            }
  |  | 4602|  1.73M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.73M|    { \
  |  |  |  |  201|  1.73M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.73M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.73M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.73M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.73M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.73M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.73M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.73M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.73M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.73M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.73M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.73M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.73M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.73M|    }
  |  |  ------------------
  |  | 4603|  1.73M|        }
  |  | 4604|       |
  |  | 4605|  54.6k|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|  54.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4606|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4607|       |            int opcode = CALL_STR_1;
  |  | 4608|       |            (void)(opcode);
  |  | 4609|       |            #endif
  |  | 4610|  54.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4611|  54.6k|            (void)this_instr;
  |  | 4612|  54.6k|            frame->instr_ptr = next_instr;
  |  | 4613|  54.6k|            next_instr += 4;
  |  | 4614|  54.6k|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|  54.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4615|  54.6k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4616|  54.6k|            _PyStackRef null;
  |  | 4617|  54.6k|            _PyStackRef callable;
  |  | 4618|  54.6k|            _PyStackRef arg;
  |  | 4619|  54.6k|            _PyStackRef res;
  |  | 4620|  54.6k|            _PyStackRef a;
  |  | 4621|  54.6k|            _PyStackRef value;
  |  | 4622|       |            /* Skip 1 cache entry */
  |  | 4623|       |            /* Skip 2 cache entries */
  |  | 4624|       |            // _GUARD_NOS_NULL
  |  | 4625|  54.6k|            {
  |  | 4626|  54.6k|                null = stack_pointer[-2];
  |  | 4627|  54.6k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  54.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  54.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  54.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4627:21): [True: 0, False: 54.6k]
  |  |  ------------------
  |  | 4628|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4629|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4630|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4631|      0|                }
  |  | 4632|  54.6k|            }
  |  | 4633|       |            // _GUARD_CALLABLE_STR_1
  |  | 4634|  54.6k|            {
  |  | 4635|  54.6k|                callable = stack_pointer[-3];
  |  | 4636|  54.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4637|  54.6k|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4637:21): [True: 0, False: 54.6k]
  |  |  ------------------
  |  | 4638|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4639|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4640|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4641|      0|                }
  |  | 4642|  54.6k|            }
  |  | 4643|       |            // _CALL_STR_1
  |  | 4644|  54.6k|            {
  |  | 4645|  54.6k|                arg = stack_pointer[-1];
  |  | 4646|  54.6k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4647|  54.6k|                assert(oparg == 1);
  |  | 4648|  54.6k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  54.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4649|  54.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4650|  54.6k|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4651|  54.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4652|  54.6k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4652:21): [True: 0, False: 54.6k]
  |  |  ------------------
  |  | 4653|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4654|      0|                }
  |  | 4655|  54.6k|                a = arg;
  |  | 4656|  54.6k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4657|  54.6k|            }
  |  | 4658|       |            // _POP_TOP
  |  | 4659|      0|            {
  |  | 4660|  54.6k|                value = a;
  |  | 4661|  54.6k|                stack_pointer[-3] = res;
  |  | 4662|  54.6k|                stack_pointer += -2;
  |  | 4663|  54.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  54.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4664|  54.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4665|  54.6k|                PyStackRef_XCLOSE(value);
  |  | 4666|  54.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4667|  54.6k|            }
  |  | 4668|       |            // _CHECK_PERIODIC_AT_END
  |  | 4669|  54.6k|            {
  |  | 4670|  54.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4671|  54.6k|                int err = check_periodics(tstate);
  |  | 4672|  54.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4673|  54.6k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4673:21): [True: 0, False: 54.6k]
  |  |  ------------------
  |  | 4674|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4675|      0|                }
  |  | 4676|  54.6k|            }
  |  | 4677|  54.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  54.6k|    { \
  |  |  |  |  201|  54.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  54.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  54.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  54.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  54.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  54.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  54.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  54.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 54.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  54.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  54.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  54.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  54.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  54.6k|    }
  |  |  ------------------
  |  | 4678|  54.6k|        }
  |  | 4679|       |
  |  | 4680|   138k|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|   138k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4681|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4682|       |            int opcode = CALL_TUPLE_1;
  |  | 4683|       |            (void)(opcode);
  |  | 4684|       |            #endif
  |  | 4685|   138k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4686|   138k|            (void)this_instr;
  |  | 4687|   138k|            frame->instr_ptr = next_instr;
  |  | 4688|   138k|            next_instr += 4;
  |  | 4689|   138k|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|   138k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4690|   138k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4691|   138k|            _PyStackRef null;
  |  | 4692|   138k|            _PyStackRef callable;
  |  | 4693|   138k|            _PyStackRef arg;
  |  | 4694|   138k|            _PyStackRef res;
  |  | 4695|   138k|            _PyStackRef a;
  |  | 4696|   138k|            _PyStackRef value;
  |  | 4697|       |            /* Skip 1 cache entry */
  |  | 4698|       |            /* Skip 2 cache entries */
  |  | 4699|       |            // _GUARD_NOS_NULL
  |  | 4700|   138k|            {
  |  | 4701|   138k|                null = stack_pointer[-2];
  |  | 4702|   138k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   138k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   138k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   138k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4702:21): [True: 0, False: 138k]
  |  |  ------------------
  |  | 4703|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4704|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4705|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4706|      0|                }
  |  | 4707|   138k|            }
  |  | 4708|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4709|   138k|            {
  |  | 4710|   138k|                callable = stack_pointer[-3];
  |  | 4711|   138k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4712|   138k|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4712:21): [True: 0, False: 138k]
  |  |  ------------------
  |  | 4713|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4714|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4715|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4716|      0|                }
  |  | 4717|   138k|            }
  |  | 4718|       |            // _CALL_TUPLE_1
  |  | 4719|   138k|            {
  |  | 4720|   138k|                arg = stack_pointer[-1];
  |  | 4721|   138k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4722|   138k|                assert(oparg == 1);
  |  | 4723|   138k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   138k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4724|   138k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4725|   138k|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4726|   138k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4727|   138k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4727:21): [True: 0, False: 138k]
  |  |  ------------------
  |  | 4728|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4729|      0|                }
  |  | 4730|   138k|                a = arg;
  |  | 4731|   138k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4732|   138k|            }
  |  | 4733|       |            // _POP_TOP
  |  | 4734|      0|            {
  |  | 4735|   138k|                value = a;
  |  | 4736|   138k|                stack_pointer[-3] = res;
  |  | 4737|   138k|                stack_pointer += -2;
  |  | 4738|   138k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   138k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4739|   138k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4740|   138k|                PyStackRef_XCLOSE(value);
  |  | 4741|   138k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4742|   138k|            }
  |  | 4743|       |            // _CHECK_PERIODIC_AT_END
  |  | 4744|   138k|            {
  |  | 4745|   138k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4746|   138k|                int err = check_periodics(tstate);
  |  | 4747|   138k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4748|   138k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4748:21): [True: 0, False: 138k]
  |  |  ------------------
  |  | 4749|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4750|      0|                }
  |  | 4751|   138k|            }
  |  | 4752|   138k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   138k|    { \
  |  |  |  |  201|   138k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   138k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   138k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   138k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   138k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   138k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   138k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   138k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 138k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   138k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   138k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   138k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   138k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   138k|    }
  |  |  ------------------
  |  | 4753|   138k|        }
  |  | 4754|       |
  |  | 4755|   324k|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|   324k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4756|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4757|       |            int opcode = CALL_TYPE_1;
  |  | 4758|       |            (void)(opcode);
  |  | 4759|       |            #endif
  |  | 4760|   324k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4761|   324k|            (void)this_instr;
  |  | 4762|   324k|            frame->instr_ptr = next_instr;
  |  | 4763|   324k|            next_instr += 4;
  |  | 4764|   324k|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|   324k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4765|   324k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4766|   324k|            _PyStackRef null;
  |  | 4767|   324k|            _PyStackRef callable;
  |  | 4768|   324k|            _PyStackRef arg;
  |  | 4769|   324k|            _PyStackRef res;
  |  | 4770|   324k|            _PyStackRef a;
  |  | 4771|   324k|            _PyStackRef value;
  |  | 4772|       |            /* Skip 1 cache entry */
  |  | 4773|       |            /* Skip 2 cache entries */
  |  | 4774|       |            // _GUARD_NOS_NULL
  |  | 4775|   324k|            {
  |  | 4776|   324k|                null = stack_pointer[-2];
  |  | 4777|   324k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   324k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   324k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   324k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4777:21): [True: 0, False: 324k]
  |  |  ------------------
  |  | 4778|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4779|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4780|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4781|      0|                }
  |  | 4782|   324k|            }
  |  | 4783|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 4784|   324k|            {
  |  | 4785|   324k|                callable = stack_pointer[-3];
  |  | 4786|   324k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4787|   324k|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (4787:21): [True: 0, False: 324k]
  |  |  ------------------
  |  | 4788|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4789|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4790|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4791|      0|                }
  |  | 4792|   324k|            }
  |  | 4793|       |            // _CALL_TYPE_1
  |  | 4794|   324k|            {
  |  | 4795|   324k|                arg = stack_pointer[-1];
  |  | 4796|   324k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4797|   324k|                assert(oparg == 1);
  |  | 4798|   324k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   324k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4799|   324k|                a = arg;
  |  | 4800|   324k|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|   324k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   324k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   324k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4801|   324k|            }
  |  | 4802|       |            // _POP_TOP
  |  | 4803|   324k|            {
  |  | 4804|   324k|                value = a;
  |  | 4805|   324k|                stack_pointer[-3] = res;
  |  | 4806|   324k|                stack_pointer += -2;
  |  | 4807|   324k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   324k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4808|   324k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4809|   324k|                PyStackRef_XCLOSE(value);
  |  | 4810|   324k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4811|   324k|            }
  |  | 4812|   324k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   324k|    { \
  |  |  |  |  201|   324k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   324k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   324k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   324k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   324k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   324k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   324k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   324k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 324k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   324k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   324k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   324k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   324k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   324k|    }
  |  |  ------------------
  |  | 4813|   324k|        }
  |  | 4814|       |
  |  | 4815|      0|        TARGET(CHECK_EG_MATCH) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4816|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4817|       |            int opcode = CHECK_EG_MATCH;
  |  | 4818|       |            (void)(opcode);
  |  | 4819|       |            #endif
  |  | 4820|      0|            frame->instr_ptr = next_instr;
  |  | 4821|      0|            next_instr += 1;
  |  | 4822|      0|            INSTRUCTION_STATS(CHECK_EG_MATCH);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4823|      0|            _PyStackRef exc_value_st;
  |  | 4824|      0|            _PyStackRef match_type_st;
  |  | 4825|      0|            _PyStackRef rest;
  |  | 4826|      0|            _PyStackRef match;
  |  | 4827|      0|            match_type_st = stack_pointer[-1];
  |  | 4828|      0|            exc_value_st = stack_pointer[-2];
  |  | 4829|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 4830|      0|            PyObject *match_type = PyStackRef_AsPyObjectBorrow(match_type_st);
  |  | 4831|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4832|      0|            int err = _PyEval_CheckExceptStarTypeValid(tstate, match_type);
  |  | 4833|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4834|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (4834:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4835|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4836|      0|                _PyStackRef tmp = match_type_st;
  |  | 4837|      0|                match_type_st = PyStackRef_NULL;
  |  | 4838|      0|                stack_pointer[-1] = match_type_st;
  |  | 4839|      0|                PyStackRef_CLOSE(tmp);
  |  | 4840|      0|                tmp = exc_value_st;
  |  | 4841|      0|                exc_value_st = PyStackRef_NULL;
  |  | 4842|      0|                stack_pointer[-2] = exc_value_st;
  |  | 4843|      0|                PyStackRef_CLOSE(tmp);
  |  | 4844|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4845|      0|                stack_pointer += -2;
  |  | 4846|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4847|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4848|      0|            }
  |  | 4849|      0|            PyObject *match_o = NULL;
  |  | 4850|      0|            PyObject *rest_o = NULL;
  |  | 4851|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4852|      0|            int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
  |  | 4853|      0|                &match_o, &rest_o);
  |  | 4854|      0|            _PyStackRef tmp = match_type_st;
  |  | 4855|      0|            match_type_st = PyStackRef_NULL;
  |  | 4856|      0|            stack_pointer[-1] = match_type_st;
  |  | 4857|      0|            PyStackRef_CLOSE(tmp);
  |  | 4858|      0|            tmp = exc_value_st;
  |  | 4859|      0|            exc_value_st = PyStackRef_NULL;
  |  | 4860|      0|            stack_pointer[-2] = exc_value_st;
  |  | 4861|      0|            PyStackRef_CLOSE(tmp);
  |  | 4862|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4863|      0|            stack_pointer += -2;
  |  | 4864|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4865|      0|            if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (4865:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4866|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4867|      0|            }
  |  | 4868|      0|            assert((match_o == NULL) == (rest_o == NULL));
  |  | 4869|      0|            if (match_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4869:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4870|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4871|      0|            }
  |  | 4872|      0|            if (!Py_IsNone(match_o)) {
  |  |  ------------------
  |  |  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4872:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4873|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4874|      0|                PyErr_SetHandledException(match_o);
  |  | 4875|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4876|      0|            }
  |  | 4877|      0|            rest = PyStackRef_FromPyObjectSteal(rest_o);
  |  | 4878|      0|            match = PyStackRef_FromPyObjectSteal(match_o);
  |  | 4879|      0|            stack_pointer[0] = rest;
  |  | 4880|      0|            stack_pointer[1] = match;
  |  | 4881|      0|            stack_pointer += 2;
  |  | 4882|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4883|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 4884|      0|        }
  |  | 4885|       |
  |  | 4886|  1.89M|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  1.89M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4887|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4888|       |            int opcode = CHECK_EXC_MATCH;
  |  | 4889|       |            (void)(opcode);
  |  | 4890|       |            #endif
  |  | 4891|  1.89M|            frame->instr_ptr = next_instr;
  |  | 4892|  1.89M|            next_instr += 1;
  |  | 4893|  1.89M|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  1.89M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4894|  1.89M|            _PyStackRef left;
  |  | 4895|  1.89M|            _PyStackRef right;
  |  | 4896|  1.89M|            _PyStackRef b;
  |  | 4897|  1.89M|            right = stack_pointer[-1];
  |  | 4898|  1.89M|            left = stack_pointer[-2];
  |  | 4899|  1.89M|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 4900|  1.89M|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 4901|  1.89M|            assert(PyExceptionInstance_Check(left_o));
  |  | 4902|  1.89M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4903|  1.89M|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 4904|  1.89M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4905|  1.89M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (4905:17): [True: 0, False: 1.89M]
  |  |  ------------------
  |  | 4906|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4907|      0|            }
  |  | 4908|  1.89M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4909|  1.89M|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 4910|  1.89M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4911|  1.89M|            stack_pointer += -1;
  |  | 4912|  1.89M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.89M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4913|  1.89M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4914|  1.89M|            PyStackRef_CLOSE(right);
  |  | 4915|  1.89M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4916|  1.89M|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.84M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.84M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.95M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  56.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4916:17): [True: 1.84M, False: 56.2k]
  |  |  ------------------
  |  | 4917|  1.89M|            stack_pointer[0] = b;
  |  | 4918|  1.89M|            stack_pointer += 1;
  |  | 4919|  1.89M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.89M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4920|  1.89M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.89M|    { \
  |  |  |  |  201|  1.89M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.89M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.89M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.89M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.89M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.89M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.89M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.89M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.89M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.89M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.89M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.89M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.89M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.89M|    }
  |  |  ------------------
  |  | 4921|  1.89M|        }
  |  | 4922|       |
  |  | 4923|      0|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4924|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4925|       |            int opcode = CLEANUP_THROW;
  |  | 4926|       |            (void)(opcode);
  |  | 4927|       |            #endif
  |  | 4928|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4929|      0|            (void)this_instr;
  |  | 4930|      0|            frame->instr_ptr = next_instr;
  |  | 4931|      0|            next_instr += 1;
  |  | 4932|      0|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4933|      0|            _PyStackRef sub_iter;
  |  | 4934|      0|            _PyStackRef null_in;
  |  | 4935|      0|            _PyStackRef last_sent_val;
  |  | 4936|      0|            _PyStackRef exc_value_st;
  |  | 4937|      0|            _PyStackRef none;
  |  | 4938|      0|            _PyStackRef null_out;
  |  | 4939|      0|            _PyStackRef value;
  |  | 4940|      0|            exc_value_st = stack_pointer[-1];
  |  | 4941|      0|            last_sent_val = stack_pointer[-2];
  |  | 4942|      0|            null_in = stack_pointer[-3];
  |  | 4943|      0|            sub_iter = stack_pointer[-4];
  |  | 4944|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 4945|      0|            #if !_Py_TAIL_CALL_INTERP
  |  | 4946|      0|            assert(throwflag);
  |  | 4947|      0|            #endif
  |  | 4948|      0|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  | 4949|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4950|      0|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 4951|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4952|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (4952:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4953|      0|                value = PyStackRef_FromPyObjectNew(((PyStopIterationObject *)exc_value)->value);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4954|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4955|      0|                _PyStackRef tmp = sub_iter;
  |  | 4956|      0|                sub_iter = value;
  |  | 4957|      0|                stack_pointer[-4] = sub_iter;
  |  | 4958|      0|                PyStackRef_CLOSE(tmp);
  |  | 4959|      0|                tmp = exc_value_st;
  |  | 4960|      0|                exc_value_st = PyStackRef_NULL;
  |  | 4961|      0|                stack_pointer[-1] = exc_value_st;
  |  | 4962|      0|                PyStackRef_CLOSE(tmp);
  |  | 4963|      0|                tmp = last_sent_val;
  |  | 4964|      0|                last_sent_val = PyStackRef_NULL;
  |  | 4965|      0|                stack_pointer[-2] = last_sent_val;
  |  | 4966|      0|                PyStackRef_CLOSE(tmp);
  |  | 4967|      0|                tmp = null_in;
  |  | 4968|      0|                null_in = PyStackRef_NULL;
  |  | 4969|      0|                stack_pointer[-3] = null_in;
  |  | 4970|      0|                PyStackRef_XCLOSE(tmp);
  |  | 4971|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4972|      0|                stack_pointer += -4;
  |  | 4973|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4974|      0|                null_out = null_in;
  |  | 4975|      0|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4976|      0|            }
  |  | 4977|      0|            else {
  |  | 4978|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4979|      0|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4980|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 4981|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4982|      0|            }
  |  | 4983|      0|            stack_pointer[0] = none;
  |  | 4984|      0|            stack_pointer[1] = null_out;
  |  | 4985|      0|            stack_pointer[2] = value;
  |  | 4986|      0|            stack_pointer += 3;
  |  | 4987|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4988|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 4989|      0|        }
  |  | 4990|       |
  |  | 4991|  4.63M|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  4.63M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4992|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4993|       |            int opcode = COMPARE_OP;
  |  | 4994|       |            (void)(opcode);
  |  | 4995|       |            #endif
  |  | 4996|  4.63M|            frame->instr_ptr = next_instr;
  |  | 4997|  4.63M|            next_instr += 2;
  |  | 4998|  4.63M|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  4.63M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4999|  4.68M|            PREDICTED_COMPARE_OP:;
  |  | 5000|  4.68M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5001|  4.68M|            (void)this_instr;
  |  | 5002|  4.68M|            _PyStackRef left;
  |  | 5003|  4.68M|            _PyStackRef right;
  |  | 5004|  4.68M|            _PyStackRef res;
  |  | 5005|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5006|  4.68M|            {
  |  | 5007|  4.68M|                right = stack_pointer[-1];
  |  | 5008|  4.68M|                left = stack_pointer[-2];
  |  | 5009|  4.68M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5010|  4.68M|                (void)counter;
  |  | 5011|  4.68M|                #if ENABLE_SPECIALIZATION
  |  | 5012|  4.68M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  4.68M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 4.78k, False: 4.68M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5013|  4.78k|                    next_instr = this_instr;
  |  | 5014|  4.78k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5015|  4.78k|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5016|  4.78k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5017|  4.78k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  4.78k|    { \
  |  |  |  |  217|  4.78k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  4.78k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.78k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  4.78k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  4.78k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  4.78k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  4.78k|    }
  |  |  ------------------
  |  | 5018|  4.78k|                }
  |  | 5019|  4.68M|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  4.68M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5020|  4.68M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  4.68M|    do { \
  |  |  |  |  358|  4.68M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  4.68M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 4.68M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5021|  4.68M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5022|  4.68M|            }
  |  | 5023|       |            // _COMPARE_OP
  |  | 5024|  4.68M|            {
  |  | 5025|  4.68M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5026|  4.68M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5027|  4.68M|                assert((oparg >> 5) <= Py_GE);
  |  | 5028|  4.68M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5029|  4.68M|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5030|  4.68M|                _PyStackRef tmp = right;
  |  | 5031|  4.68M|                right = PyStackRef_NULL;
  |  | 5032|  4.68M|                stack_pointer[-1] = right;
  |  | 5033|  4.68M|                PyStackRef_CLOSE(tmp);
  |  | 5034|  4.68M|                tmp = left;
  |  | 5035|  4.68M|                left = PyStackRef_NULL;
  |  | 5036|  4.68M|                stack_pointer[-2] = left;
  |  | 5037|  4.68M|                PyStackRef_CLOSE(tmp);
  |  | 5038|  4.68M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5039|  4.68M|                stack_pointer += -2;
  |  | 5040|  4.68M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.68M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5041|  4.68M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5041:21): [True: 0, False: 4.68M]
  |  |  ------------------
  |  | 5042|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5043|      0|                }
  |  | 5044|  4.68M|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5044:21): [True: 4.22M, False: 460k]
  |  |  ------------------
  |  | 5045|  4.22M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5046|  4.22M|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5047|  4.22M|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  4.22M|    do { \
  |  |  |  |   81|  4.22M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  4.22M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  4.22M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 4.22M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  4.22M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  4.22M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  4.22M|            break; \
  |  |  |  |   85|  4.22M|        } \
  |  |  |  |   86|  4.22M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5048|  4.22M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5049|  4.22M|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5049:25): [True: 0, False: 4.22M]
  |  |  ------------------
  |  | 5050|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5051|      0|                    }
  |  | 5052|  4.22M|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   529k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   529k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.92M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.69M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5052:27): [True: 529k, False: 3.69M]
  |  |  ------------------
  |  | 5053|  4.22M|                }
  |  | 5054|   460k|                else {
  |  | 5055|   460k|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5056|   460k|                }
  |  | 5057|  4.68M|            }
  |  | 5058|  4.68M|            stack_pointer[0] = res;
  |  | 5059|  4.68M|            stack_pointer += 1;
  |  | 5060|  4.68M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.68M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5061|  4.68M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.68M|    { \
  |  |  |  |  201|  4.68M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.68M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.68M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.68M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.68M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.68M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.68M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.68M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.68M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.68M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.68M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.68M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.68M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.68M|    }
  |  |  ------------------
  |  | 5062|  4.68M|        }
  |  | 5063|       |
  |  | 5064|  1.09k|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5065|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5066|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5067|       |            (void)(opcode);
  |  | 5068|       |            #endif
  |  | 5069|  1.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5070|  1.09k|            (void)this_instr;
  |  | 5071|  1.09k|            frame->instr_ptr = next_instr;
  |  | 5072|  1.09k|            next_instr += 2;
  |  | 5073|  1.09k|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5074|  1.09k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5075|  1.09k|            _PyStackRef value;
  |  | 5076|  1.09k|            _PyStackRef left;
  |  | 5077|  1.09k|            _PyStackRef right;
  |  | 5078|  1.09k|            _PyStackRef res;
  |  | 5079|  1.09k|            _PyStackRef l;
  |  | 5080|  1.09k|            _PyStackRef r;
  |  | 5081|       |            // _GUARD_TOS_FLOAT
  |  | 5082|  1.09k|            {
  |  | 5083|  1.09k|                value = stack_pointer[-1];
  |  | 5084|  1.09k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5085|  1.09k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.09k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.09k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5085:21): [True: 58, False: 1.03k]
  |  |  ------------------
  |  | 5086|     58|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|     58|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5087|     58|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5088|     58|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     58|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5089|      0|                }
  |  | 5090|  1.09k|            }
  |  | 5091|       |            // _GUARD_NOS_FLOAT
  |  | 5092|  1.03k|            {
  |  | 5093|  1.03k|                left = stack_pointer[-2];
  |  | 5094|  1.03k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5095|  1.03k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.03k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.03k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5095:21): [True: 53, False: 986]
  |  |  ------------------
  |  | 5096|     53|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5097|     53|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5098|     53|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5099|      0|                }
  |  | 5100|  1.03k|            }
  |  | 5101|       |            /* Skip 1 cache entry */
  |  | 5102|       |            // _COMPARE_OP_FLOAT
  |  | 5103|    986|            {
  |  | 5104|    986|                right = value;
  |  | 5105|    986|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5106|    986|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5107|    986|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    986|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5108|    986|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|    986|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    986|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    986|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|    986|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|    986|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    986|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    986|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5110|    986|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|    986|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5111|    986|                l = left;
  |  | 5112|    986|                r = right;
  |  | 5113|    986|                res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    195|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    195|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.77k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    791|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5113:23): [True: 195, False: 791]
  |  |  ------------------
  |  | 5114|    986|            }
  |  | 5115|       |            // _POP_TOP_FLOAT
  |  | 5116|    986|            {
  |  | 5117|    986|                value = r;
  |  | 5118|    986|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5119|    986|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5120|    986|            }
  |  | 5121|       |            // _POP_TOP_FLOAT
  |  | 5122|    986|            {
  |  | 5123|    986|                value = l;
  |  | 5124|    986|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5125|    986|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5126|    986|            }
  |  | 5127|    986|            stack_pointer[-2] = res;
  |  | 5128|    986|            stack_pointer += -1;
  |  | 5129|    986|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    986|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5130|    986|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    986|    { \
  |  |  |  |  201|    986|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    986|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    986|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    986|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    986|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    986|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    986|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    986|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 986]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    986|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    986|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    986|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    986|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    986|    }
  |  |  ------------------
  |  | 5131|    986|        }
  |  | 5132|       |
  |  | 5133|  42.0M|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  42.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5134|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5135|       |            int opcode = COMPARE_OP_INT;
  |  | 5136|       |            (void)(opcode);
  |  | 5137|       |            #endif
  |  | 5138|  42.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5139|  42.0M|            (void)this_instr;
  |  | 5140|  42.0M|            frame->instr_ptr = next_instr;
  |  | 5141|  42.0M|            next_instr += 2;
  |  | 5142|  42.0M|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  42.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5143|  42.0M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5144|  42.0M|            _PyStackRef value;
  |  | 5145|  42.0M|            _PyStackRef left;
  |  | 5146|  42.0M|            _PyStackRef right;
  |  | 5147|  42.0M|            _PyStackRef res;
  |  | 5148|  42.0M|            _PyStackRef l;
  |  | 5149|  42.0M|            _PyStackRef r;
  |  | 5150|       |            // _GUARD_TOS_INT
  |  | 5151|  42.0M|            {
  |  | 5152|  42.0M|                value = stack_pointer[-1];
  |  | 5153|  42.0M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5154|  42.0M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5154:21): [True: 44.9k, False: 42.0M]
  |  |  ------------------
  |  | 5155|  44.9k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|  44.9k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5156|  44.9k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5157|  44.9k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  44.9k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5158|      0|                }
  |  | 5159|  42.0M|            }
  |  | 5160|       |            // _GUARD_NOS_INT
  |  | 5161|  42.0M|            {
  |  | 5162|  42.0M|                left = stack_pointer[-2];
  |  | 5163|  42.0M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5164|  42.0M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5164:21): [True: 3.33k, False: 42.0M]
  |  |  ------------------
  |  | 5165|  3.33k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|  3.33k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5166|  3.33k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5167|  3.33k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  3.33k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5168|      0|                }
  |  | 5169|  42.0M|            }
  |  | 5170|       |            /* Skip 1 cache entry */
  |  | 5171|       |            // _COMPARE_OP_INT
  |  | 5172|  42.0M|            {
  |  | 5173|  42.0M|                right = value;
  |  | 5174|  42.0M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5175|  42.0M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5176|  42.0M|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  | 5177|  42.0M|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  | 5178|  42.0M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  42.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5179|  42.0M|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  | 5180|  42.0M|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5181|  42.0M|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5182|  42.0M|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5183|  42.0M|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  42.0M|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5184|  42.0M|                l = left;
  |  | 5185|  42.0M|                r = right;
  |  | 5186|  42.0M|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  11.7M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  72.2M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  30.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5186:24): [True: 11.7M, False: 30.2M]
  |  |  ------------------
  |  | 5187|  42.0M|            }
  |  | 5188|       |            // _POP_TOP_INT
  |  | 5189|  42.0M|            {
  |  | 5190|  42.0M|                value = r;
  |  | 5191|  42.0M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5192|  42.0M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5193|  42.0M|            }
  |  | 5194|       |            // _POP_TOP_INT
  |  | 5195|  42.0M|            {
  |  | 5196|  42.0M|                value = l;
  |  | 5197|  42.0M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5198|  42.0M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5199|  42.0M|            }
  |  | 5200|  42.0M|            stack_pointer[-2] = res;
  |  | 5201|  42.0M|            stack_pointer += -1;
  |  | 5202|  42.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  42.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5203|  42.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  42.0M|    { \
  |  |  |  |  201|  42.0M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  42.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  42.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  42.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  42.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  42.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  42.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  42.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 42.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  42.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  42.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  42.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  42.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  42.0M|    }
  |  |  ------------------
  |  | 5204|  42.0M|        }
  |  | 5205|       |
  |  | 5206|  4.03M|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  4.03M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5208|       |            int opcode = COMPARE_OP_STR;
  |  | 5209|       |            (void)(opcode);
  |  | 5210|       |            #endif
  |  | 5211|  4.03M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5212|  4.03M|            (void)this_instr;
  |  | 5213|  4.03M|            frame->instr_ptr = next_instr;
  |  | 5214|  4.03M|            next_instr += 2;
  |  | 5215|  4.03M|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  4.03M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5216|  4.03M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5217|  4.03M|            _PyStackRef value;
  |  | 5218|  4.03M|            _PyStackRef nos;
  |  | 5219|  4.03M|            _PyStackRef left;
  |  | 5220|  4.03M|            _PyStackRef right;
  |  | 5221|  4.03M|            _PyStackRef res;
  |  | 5222|  4.03M|            _PyStackRef l;
  |  | 5223|  4.03M|            _PyStackRef r;
  |  | 5224|       |            // _GUARD_TOS_UNICODE
  |  | 5225|  4.03M|            {
  |  | 5226|  4.03M|                value = stack_pointer[-1];
  |  | 5227|  4.03M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5228|  4.03M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  4.03M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.03M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5228:21): [True: 120, False: 4.03M]
  |  |  ------------------
  |  | 5229|    120|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|    120|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5230|    120|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5231|    120|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|    120|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5232|      0|                }
  |  | 5233|  4.03M|            }
  |  | 5234|       |            // _GUARD_NOS_UNICODE
  |  | 5235|  4.03M|            {
  |  | 5236|  4.03M|                nos = stack_pointer[-2];
  |  | 5237|  4.03M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5238|  4.03M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  4.03M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.03M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5238:21): [True: 44, False: 4.03M]
  |  |  ------------------
  |  | 5239|     44|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|     44|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5240|     44|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5241|     44|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     44|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5242|      0|                }
  |  | 5243|  4.03M|            }
  |  | 5244|       |            /* Skip 1 cache entry */
  |  | 5245|       |            // _COMPARE_OP_STR
  |  | 5246|  4.03M|            {
  |  | 5247|  4.03M|                right = value;
  |  | 5248|  4.03M|                left = nos;
  |  | 5249|  4.03M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5250|  4.03M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5251|  4.03M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  4.03M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5252|  4.03M|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5253|  4.03M|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  | 5254|  4.03M|                l = left;
  |  | 5255|  4.03M|                r = right;
  |  | 5256|  4.03M|                assert(eq == 0 || eq == 1);
  |  | 5257|  4.03M|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  | 5258|  4.03M|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  | 5259|  4.03M|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  4.03M|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  4.03M|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  4.03M|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  4.03M|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   165k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   165k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.89M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.86M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5259:23): [True: 165k, False: 3.86M]
  |  |  ------------------
  |  | 5260|  4.03M|            }
  |  | 5261|       |            // _POP_TOP_UNICODE
  |  | 5262|  4.03M|            {
  |  | 5263|  4.03M|                value = r;
  |  | 5264|  4.03M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5265|  4.03M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5266|  4.03M|            }
  |  | 5267|       |            // _POP_TOP_UNICODE
  |  | 5268|  4.03M|            {
  |  | 5269|  4.03M|                value = l;
  |  | 5270|  4.03M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5271|  4.03M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5272|  4.03M|            }
  |  | 5273|  4.03M|            stack_pointer[-2] = res;
  |  | 5274|  4.03M|            stack_pointer += -1;
  |  | 5275|  4.03M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.03M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5276|  4.03M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.03M|    { \
  |  |  |  |  201|  4.03M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.03M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.03M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.03M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.03M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.03M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.03M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.03M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.03M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.03M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.03M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.03M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.03M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.03M|    }
  |  |  ------------------
  |  | 5277|  4.03M|        }
  |  | 5278|       |
  |  | 5279|   268k|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|   268k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5280|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5281|       |            int opcode = CONTAINS_OP;
  |  | 5282|       |            (void)(opcode);
  |  | 5283|       |            #endif
  |  | 5284|   268k|            frame->instr_ptr = next_instr;
  |  | 5285|   268k|            next_instr += 2;
  |  | 5286|   268k|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|   268k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5287|   268k|            PREDICTED_CONTAINS_OP:;
  |  | 5288|   268k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5289|   268k|            (void)this_instr;
  |  | 5290|   268k|            _PyStackRef right;
  |  | 5291|   268k|            _PyStackRef left;
  |  | 5292|   268k|            _PyStackRef b;
  |  | 5293|   268k|            _PyStackRef l;
  |  | 5294|   268k|            _PyStackRef r;
  |  | 5295|   268k|            _PyStackRef value;
  |  | 5296|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5297|   268k|            {
  |  | 5298|   268k|                right = stack_pointer[-1];
  |  | 5299|   268k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5300|   268k|                (void)counter;
  |  | 5301|   268k|                #if ENABLE_SPECIALIZATION
  |  | 5302|   268k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   268k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 756, False: 267k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5303|    756|                    next_instr = this_instr;
  |  | 5304|    756|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5305|    756|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5306|    756|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5307|    756|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    756|    { \
  |  |  |  |  217|    756|        opcode = next_instr->op.code; \
  |  |  |  |  218|    756|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    756|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    756|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    756|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    756|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    756|    }
  |  |  ------------------
  |  | 5308|    756|                }
  |  | 5309|   268k|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|   268k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5310|   268k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   268k|    do { \
  |  |  |  |  358|   268k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   268k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 268k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5311|   268k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5312|   268k|            }
  |  | 5313|       |            // _CONTAINS_OP
  |  | 5314|   268k|            {
  |  | 5315|   268k|                left = stack_pointer[-2];
  |  | 5316|   268k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5317|   268k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5318|   268k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5319|   268k|                int res = PySequence_Contains(right_o, left_o);
  |  | 5320|   268k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5321|   268k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5321:21): [True: 0, False: 268k]
  |  |  ------------------
  |  | 5322|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5323|      0|                }
  |  | 5324|   268k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  24.6k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  24.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   511k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   243k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5324:21): [True: 24.6k, False: 243k]
  |  |  ------------------
  |  | 5325|   268k|                l = left;
  |  | 5326|   268k|                r = right;
  |  | 5327|   268k|            }
  |  | 5328|       |            // _POP_TOP
  |  | 5329|      0|            {
  |  | 5330|   268k|                value = r;
  |  | 5331|   268k|                stack_pointer[-2] = b;
  |  | 5332|   268k|                stack_pointer[-1] = l;
  |  | 5333|   268k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5334|   268k|                PyStackRef_XCLOSE(value);
  |  | 5335|   268k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5336|   268k|            }
  |  | 5337|       |            // _POP_TOP
  |  | 5338|   268k|            {
  |  | 5339|   268k|                value = l;
  |  | 5340|   268k|                stack_pointer += -1;
  |  | 5341|   268k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   268k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5342|   268k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5343|   268k|                PyStackRef_XCLOSE(value);
  |  | 5344|   268k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5345|   268k|            }
  |  | 5346|   268k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   268k|    { \
  |  |  |  |  201|   268k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   268k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   268k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   268k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   268k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   268k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   268k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   268k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 268k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   268k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   268k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   268k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   268k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   268k|    }
  |  |  ------------------
  |  | 5347|   268k|        }
  |  | 5348|       |
  |  | 5349|  2.72M|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.72M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5350|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5351|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5352|       |            (void)(opcode);
  |  | 5353|       |            #endif
  |  | 5354|  2.72M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5355|  2.72M|            (void)this_instr;
  |  | 5356|  2.72M|            frame->instr_ptr = next_instr;
  |  | 5357|  2.72M|            next_instr += 2;
  |  | 5358|  2.72M|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.72M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5359|  2.72M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5360|  2.72M|            _PyStackRef tos;
  |  | 5361|  2.72M|            _PyStackRef left;
  |  | 5362|  2.72M|            _PyStackRef right;
  |  | 5363|  2.72M|            _PyStackRef b;
  |  | 5364|  2.72M|            _PyStackRef l;
  |  | 5365|  2.72M|            _PyStackRef r;
  |  | 5366|  2.72M|            _PyStackRef value;
  |  | 5367|       |            // _GUARD_TOS_ANY_DICT
  |  | 5368|  2.72M|            {
  |  | 5369|  2.72M|                tos = stack_pointer[-1];
  |  | 5370|  2.72M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5371|  2.72M|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  2.72M|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.72M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  5.45M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  2.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 2.72M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5372|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5373|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  | 5374|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5375|      0|                }
  |  | 5376|  2.72M|            }
  |  | 5377|       |            /* Skip 1 cache entry */
  |  | 5378|       |            // _CONTAINS_OP_DICT
  |  | 5379|  2.72M|            {
  |  | 5380|  2.72M|                right = tos;
  |  | 5381|  2.72M|                left = stack_pointer[-2];
  |  | 5382|  2.72M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5383|  2.72M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5384|  2.72M|                assert(PyAnyDict_CheckExact(right_o));
  |  | 5385|  2.72M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.72M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5386|  2.72M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5387|  2.72M|                int res = PyDict_Contains(right_o, left_o);
  |  | 5388|  2.72M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5389|  2.72M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5389:21): [True: 0, False: 2.72M]
  |  |  ------------------
  |  | 5390|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5391|      0|                }
  |  | 5392|  2.72M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  6.38k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.38k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  5.44M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.72M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5392:21): [True: 6.38k, False: 2.72M]
  |  |  ------------------
  |  | 5393|  2.72M|                l = left;
  |  | 5394|  2.72M|                r = right;
  |  | 5395|  2.72M|            }
  |  | 5396|       |            // _POP_TOP
  |  | 5397|      0|            {
  |  | 5398|  2.72M|                value = r;
  |  | 5399|  2.72M|                stack_pointer[-2] = b;
  |  | 5400|  2.72M|                stack_pointer[-1] = l;
  |  | 5401|  2.72M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5402|  2.72M|                PyStackRef_XCLOSE(value);
  |  | 5403|  2.72M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5404|  2.72M|            }
  |  | 5405|       |            // _POP_TOP
  |  | 5406|  2.72M|            {
  |  | 5407|  2.72M|                value = l;
  |  | 5408|  2.72M|                stack_pointer += -1;
  |  | 5409|  2.72M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.72M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5410|  2.72M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5411|  2.72M|                PyStackRef_XCLOSE(value);
  |  | 5412|  2.72M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5413|  2.72M|            }
  |  | 5414|  2.72M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.72M|    { \
  |  |  |  |  201|  2.72M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.72M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.72M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.72M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.72M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.72M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.72M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.72M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.72M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.72M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.72M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.72M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.72M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.72M|    }
  |  |  ------------------
  |  | 5415|  2.72M|        }
  |  | 5416|       |
  |  | 5417|   576k|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|   576k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5418|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5419|       |            int opcode = CONTAINS_OP_SET;
  |  | 5420|       |            (void)(opcode);
  |  | 5421|       |            #endif
  |  | 5422|   576k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5423|   576k|            (void)this_instr;
  |  | 5424|   576k|            frame->instr_ptr = next_instr;
  |  | 5425|   576k|            next_instr += 2;
  |  | 5426|   576k|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|   576k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5427|   576k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5428|   576k|            _PyStackRef tos;
  |  | 5429|   576k|            _PyStackRef left;
  |  | 5430|   576k|            _PyStackRef right;
  |  | 5431|   576k|            _PyStackRef b;
  |  | 5432|   576k|            _PyStackRef l;
  |  | 5433|   576k|            _PyStackRef r;
  |  | 5434|   576k|            _PyStackRef value;
  |  | 5435|       |            // _GUARD_TOS_ANY_SET
  |  | 5436|   576k|            {
  |  | 5437|   576k|                tos = stack_pointer[-1];
  |  | 5438|   576k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5439|   576k|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|   576k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.15M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   576k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   576k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 52.7k, False: 524k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   524k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   524k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   524k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 524k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5440|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5441|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  | 5442|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5443|      0|                }
  |  | 5444|   576k|            }
  |  | 5445|       |            /* Skip 1 cache entry */
  |  | 5446|       |            // _CONTAINS_OP_SET
  |  | 5447|   576k|            {
  |  | 5448|   576k|                right = tos;
  |  | 5449|   576k|                left = stack_pointer[-2];
  |  | 5450|   576k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5451|   576k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5452|   576k|                assert(PyAnySet_CheckExact(right_o));
  |  | 5453|   576k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   576k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5454|   576k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5455|   576k|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5456|   576k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5457|   576k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5457:21): [True: 0, False: 576k]
  |  |  ------------------
  |  | 5458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5459|      0|                }
  |  | 5460|   576k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   551k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   551k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   602k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  25.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5460:21): [True: 551k, False: 25.5k]
  |  |  ------------------
  |  | 5461|   576k|                l = left;
  |  | 5462|   576k|                r = right;
  |  | 5463|   576k|            }
  |  | 5464|       |            // _POP_TOP
  |  | 5465|      0|            {
  |  | 5466|   576k|                value = r;
  |  | 5467|   576k|                stack_pointer[-2] = b;
  |  | 5468|   576k|                stack_pointer[-1] = l;
  |  | 5469|   576k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5470|   576k|                PyStackRef_XCLOSE(value);
  |  | 5471|   576k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5472|   576k|            }
  |  | 5473|       |            // _POP_TOP
  |  | 5474|   576k|            {
  |  | 5475|   576k|                value = l;
  |  | 5476|   576k|                stack_pointer += -1;
  |  | 5477|   576k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   576k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5478|   576k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5479|   576k|                PyStackRef_XCLOSE(value);
  |  | 5480|   576k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5481|   576k|            }
  |  | 5482|   576k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   576k|    { \
  |  |  |  |  201|   576k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   576k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   576k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   576k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   576k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   576k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   576k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   576k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 576k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   576k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   576k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   576k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   576k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   576k|    }
  |  |  ------------------
  |  | 5483|   576k|        }
  |  | 5484|       |
  |  | 5485|  3.61k|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  3.61k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5486|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5487|       |            int opcode = CONVERT_VALUE;
  |  | 5488|       |            (void)(opcode);
  |  | 5489|       |            #endif
  |  | 5490|  3.61k|            frame->instr_ptr = next_instr;
  |  | 5491|  3.61k|            next_instr += 1;
  |  | 5492|  3.61k|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|  3.61k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5493|  3.61k|            _PyStackRef value;
  |  | 5494|  3.61k|            _PyStackRef result;
  |  | 5495|  3.61k|            value = stack_pointer[-1];
  |  | 5496|  3.61k|            conversion_func conv_fn;
  |  | 5497|  3.61k|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  | 5498|  3.61k|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5499|  3.61k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5500|  3.61k|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5501|  3.61k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5502|  3.61k|            stack_pointer += -1;
  |  | 5503|  3.61k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.61k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5504|  3.61k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5505|  3.61k|            PyStackRef_CLOSE(value);
  |  | 5506|  3.61k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5507|  3.61k|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5507:17): [True: 0, False: 3.61k]
  |  |  ------------------
  |  | 5508|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5509|      0|            }
  |  | 5510|  3.61k|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5511|  3.61k|            stack_pointer[0] = result;
  |  | 5512|  3.61k|            stack_pointer += 1;
  |  | 5513|  3.61k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.61k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5514|  3.61k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.61k|    { \
  |  |  |  |  201|  3.61k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.61k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.61k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.61k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.61k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.61k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.61k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.61k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.61k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.61k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.61k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.61k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.61k|    }
  |  |  ------------------
  |  | 5515|  3.61k|        }
  |  | 5516|       |
  |  | 5517|  44.7M|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  44.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5518|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5519|       |            int opcode = COPY;
  |  | 5520|       |            (void)(opcode);
  |  | 5521|       |            #endif
  |  | 5522|  44.7M|            frame->instr_ptr = next_instr;
  |  | 5523|  44.7M|            next_instr += 1;
  |  | 5524|  44.7M|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  44.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5525|  44.7M|            _PyStackRef bottom;
  |  | 5526|  44.7M|            _PyStackRef top;
  |  | 5527|  44.7M|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5528|  44.7M|            top = PyStackRef_DUP(bottom);
  |  | 5529|  44.7M|            stack_pointer[0] = top;
  |  | 5530|  44.7M|            stack_pointer += 1;
  |  | 5531|  44.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  44.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5532|  44.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  44.7M|    { \
  |  |  |  |  201|  44.7M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  44.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  44.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  44.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  44.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  44.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  44.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  44.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 44.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  44.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  44.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  44.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  44.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  44.7M|    }
  |  |  ------------------
  |  | 5533|  44.7M|        }
  |  | 5534|       |
  |  | 5535|  44.7M|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  3.56M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5536|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5537|       |            int opcode = COPY_FREE_VARS;
  |  | 5538|       |            (void)(opcode);
  |  | 5539|       |            #endif
  |  | 5540|  3.56M|            frame->instr_ptr = next_instr;
  |  | 5541|  3.56M|            next_instr += 1;
  |  | 5542|  3.56M|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  3.56M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5543|  3.56M|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5544|  3.56M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  | 5545|  3.56M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5546|  3.56M|            PyObject *closure = func->func_closure;
  |  | 5547|  3.56M|            assert(oparg == co->co_nfreevars);
  |  | 5548|  3.56M|            int offset = co->co_nlocalsplus - oparg;
  |  | 5549|  10.1M|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5549:29): [True: 6.59M, False: 3.56M]
  |  |  ------------------
  |  | 5550|  6.59M|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  6.59M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  6.59M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5551|  6.59M|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|  6.59M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5552|  6.59M|            }
  |  | 5553|  3.56M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.56M|    { \
  |  |  |  |  201|  3.56M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.56M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.56M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.56M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.56M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.56M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.56M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.56M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.56M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.56M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.56M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.56M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.56M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.56M|    }
  |  |  ------------------
  |  | 5554|  3.56M|        }
  |  | 5555|       |
  |  | 5556|  3.56M|        TARGET(DELETE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  70.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5558|       |            int opcode = DELETE_ATTR;
  |  | 5559|       |            (void)(opcode);
  |  | 5560|       |            #endif
  |  | 5561|  70.3k|            frame->instr_ptr = next_instr;
  |  | 5562|  70.3k|            next_instr += 1;
  |  | 5563|  70.3k|            INSTRUCTION_STATS(DELETE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  70.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5564|  70.3k|            _PyStackRef owner;
  |  | 5565|  70.3k|            owner = stack_pointer[-1];
  |  | 5566|  70.3k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  70.3k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  70.3k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  70.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  70.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5567|  70.3k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5568|  70.3k|            int err = PyObject_DelAttr(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 5569|  70.3k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5570|  70.3k|            stack_pointer += -1;
  |  | 5571|  70.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5572|  70.3k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5573|  70.3k|            PyStackRef_CLOSE(owner);
  |  | 5574|  70.3k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5575|  70.3k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5575:17): [True: 0, False: 70.3k]
  |  |  ------------------
  |  | 5576|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5577|      0|            }
  |  | 5578|  70.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  70.3k|    { \
  |  |  |  |  201|  70.3k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  70.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  70.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  70.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  70.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  70.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  70.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  70.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 70.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  70.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  70.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  70.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  70.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  70.3k|    }
  |  |  ------------------
  |  | 5579|  70.3k|        }
  |  | 5580|       |
  |  | 5581|      0|        TARGET(DELETE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5582|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5583|       |            int opcode = DELETE_DEREF;
  |  | 5584|       |            (void)(opcode);
  |  | 5585|       |            #endif
  |  | 5586|      0|            frame->instr_ptr = next_instr;
  |  | 5587|      0|            next_instr += 1;
  |  | 5588|      0|            INSTRUCTION_STATS(DELETE_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5589|      0|            PyObject *cell = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5590|      0|            PyObject *oldobj = PyCell_SwapTakeRef((PyCellObject *)cell, NULL);
  |  | 5591|      0|            if (oldobj == NULL) {
  |  |  ------------------
  |  |  |  Branch (5591:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5592|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5593|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 5594|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5595|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5596|      0|            }
  |  | 5597|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5598|      0|            Py_DECREF(oldobj);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5599|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5600|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5601|      0|        }
  |  | 5602|       |
  |  | 5603|  23.3k|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  23.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5605|       |            int opcode = DELETE_FAST;
  |  | 5606|       |            (void)(opcode);
  |  | 5607|       |            #endif
  |  | 5608|  23.3k|            frame->instr_ptr = next_instr;
  |  | 5609|  23.3k|            next_instr += 1;
  |  | 5610|  23.3k|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|  23.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5611|  23.3k|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  23.3k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5612|  23.3k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  23.3k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  23.3k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  23.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 23.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5613|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5614|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5615|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  380|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 5616|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 5617|      0|                );
  |  | 5618|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5619|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5620|      0|            }
  |  | 5621|  23.3k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  23.3k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5622|  23.3k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  284|  23.3k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5623|  23.3k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5624|  23.3k|            PyStackRef_XCLOSE(tmp);
  |  | 5625|  23.3k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5626|  23.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  23.3k|    { \
  |  |  |  |  201|  23.3k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  23.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  23.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  23.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  23.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  23.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  23.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  23.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 23.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  23.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  23.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  23.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  23.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  23.3k|    }
  |  |  ------------------
  |  | 5627|  23.3k|        }
  |  | 5628|       |
  |  | 5629|      0|        TARGET(DELETE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5630|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5631|       |            int opcode = DELETE_GLOBAL;
  |  | 5632|       |            (void)(opcode);
  |  | 5633|       |            #endif
  |  | 5634|      0|            frame->instr_ptr = next_instr;
  |  | 5635|      0|            next_instr += 1;
  |  | 5636|      0|            INSTRUCTION_STATS(DELETE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5637|      0|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5638|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5639|      0|            int err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  325|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 5640|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5641|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5641:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5642|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5643|      0|            }
  |  | 5644|      0|            if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (5644:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5645|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5646|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 5647|      0|                    NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 5648|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5649|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5650|      0|            }
  |  | 5651|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5652|      0|        }
  |  | 5653|       |
  |  | 5654|    132|        TARGET(DELETE_NAME) {
  |  |  ------------------
  |  |  |  |  132|    132|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5655|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5656|       |            int opcode = DELETE_NAME;
  |  | 5657|       |            (void)(opcode);
  |  | 5658|       |            #endif
  |  | 5659|    132|            frame->instr_ptr = next_instr;
  |  | 5660|    132|            next_instr += 1;
  |  | 5661|    132|            INSTRUCTION_STATS(DELETE_NAME);
  |  |  ------------------
  |  |  |  |   71|    132|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5662|    132|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|    132|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    132|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    132|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5663|    132|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  327|    132|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 5664|    132|            int err;
  |  | 5665|    132|            if (ns == NULL) {
  |  |  ------------------
  |  |  |  Branch (5665:17): [True: 0, False: 132]
  |  |  ------------------
  |  | 5666|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5667|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  | 5668|      0|                              "no locals when deleting %R", name);
  |  | 5669|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5670|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5671|      0|            }
  |  | 5672|    132|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5673|    132|            err = PyObject_DelItem(ns, name);
  |  | 5674|    132|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5675|    132|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (5675:17): [True: 0, False: 132]
  |  |  ------------------
  |  | 5676|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5677|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 5678|      0|                    NAME_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 5679|      0|                    name);
  |  | 5680|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5681|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5682|      0|            }
  |  | 5683|    132|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    132|    { \
  |  |  |  |  201|    132|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    132|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    132|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    132|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    132|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    132|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    132|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    132|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 132]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    132|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    132|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    132|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    132|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    132|    }
  |  |  ------------------
  |  | 5684|    132|        }
  |  | 5685|       |
  |  | 5686|  27.8k|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  27.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5688|       |            int opcode = DELETE_SUBSCR;
  |  | 5689|       |            (void)(opcode);
  |  | 5690|       |            #endif
  |  | 5691|  27.8k|            frame->instr_ptr = next_instr;
  |  | 5692|  27.8k|            next_instr += 1;
  |  | 5693|  27.8k|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  27.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5694|  27.8k|            _PyStackRef container;
  |  | 5695|  27.8k|            _PyStackRef sub;
  |  | 5696|  27.8k|            sub = stack_pointer[-1];
  |  | 5697|  27.8k|            container = stack_pointer[-2];
  |  | 5698|  27.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5699|  27.8k|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5700|  27.8k|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5701|  27.8k|            _PyStackRef tmp = sub;
  |  | 5702|  27.8k|            sub = PyStackRef_NULL;
  |  | 5703|  27.8k|            stack_pointer[-1] = sub;
  |  | 5704|  27.8k|            PyStackRef_CLOSE(tmp);
  |  | 5705|  27.8k|            tmp = container;
  |  | 5706|  27.8k|            container = PyStackRef_NULL;
  |  | 5707|  27.8k|            stack_pointer[-2] = container;
  |  | 5708|  27.8k|            PyStackRef_CLOSE(tmp);
  |  | 5709|  27.8k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5710|  27.8k|            stack_pointer += -2;
  |  | 5711|  27.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  27.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5712|  27.8k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5712:17): [True: 0, False: 27.8k]
  |  |  ------------------
  |  | 5713|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5714|      0|            }
  |  | 5715|  27.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  27.8k|    { \
  |  |  |  |  201|  27.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  27.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  27.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  27.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  27.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  27.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  27.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  27.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 27.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  27.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  27.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  27.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  27.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  27.8k|    }
  |  |  ------------------
  |  | 5716|  27.8k|        }
  |  | 5717|       |
  |  | 5718|  1.36M|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|  1.36M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5719|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5720|       |            int opcode = DICT_MERGE;
  |  | 5721|       |            (void)(opcode);
  |  | 5722|       |            #endif
  |  | 5723|  1.36M|            frame->instr_ptr = next_instr;
  |  | 5724|  1.36M|            next_instr += 1;
  |  | 5725|  1.36M|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|  1.36M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5726|  1.36M|            _PyStackRef callable;
  |  | 5727|  1.36M|            _PyStackRef dict;
  |  | 5728|  1.36M|            _PyStackRef update;
  |  | 5729|  1.36M|            _PyStackRef u;
  |  | 5730|  1.36M|            _PyStackRef value;
  |  | 5731|       |            // _DICT_MERGE
  |  | 5732|  1.36M|            {
  |  | 5733|  1.36M|                update = stack_pointer[-1];
  |  | 5734|  1.36M|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5735|  1.36M|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5736|  1.36M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5737|  1.36M|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5738|  1.36M|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5739|  1.36M|                PyObject *dupkey = NULL;
  |  | 5740|  1.36M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5741|  1.36M|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5742|  1.36M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5743|  1.36M|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5743:21): [True: 0, False: 1.36M]
  |  |  ------------------
  |  | 5744|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5745|      0|                    _PyEval_FormatKwargsError(tstate, callable_o, update_o, dupkey);
  |  | 5746|      0|                    Py_XDECREF(dupkey);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5747|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5748|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5749|      0|                }
  |  | 5750|  1.36M|                u = update;
  |  | 5751|  1.36M|            }
  |  | 5752|       |            // _POP_TOP
  |  | 5753|      0|            {
  |  | 5754|  1.36M|                value = u;
  |  | 5755|  1.36M|                stack_pointer += -1;
  |  | 5756|  1.36M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.36M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5757|  1.36M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5758|  1.36M|                PyStackRef_XCLOSE(value);
  |  | 5759|  1.36M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5760|  1.36M|            }
  |  | 5761|  1.36M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.36M|    { \
  |  |  |  |  201|  1.36M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.36M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.36M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.36M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.36M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.36M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.36M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.36M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.36M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.36M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.36M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.36M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.36M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.36M|    }
  |  |  ------------------
  |  | 5762|  1.36M|        }
  |  | 5763|       |
  |  | 5764|    356|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    356|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5765|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5766|       |            int opcode = DICT_UPDATE;
  |  | 5767|       |            (void)(opcode);
  |  | 5768|       |            #endif
  |  | 5769|    356|            frame->instr_ptr = next_instr;
  |  | 5770|    356|            next_instr += 1;
  |  | 5771|    356|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    356|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5772|    356|            _PyStackRef dict;
  |  | 5773|    356|            _PyStackRef update;
  |  | 5774|    356|            _PyStackRef upd;
  |  | 5775|    356|            _PyStackRef value;
  |  | 5776|       |            // _DICT_UPDATE
  |  | 5777|    356|            {
  |  | 5778|    356|                update = stack_pointer[-1];
  |  | 5779|    356|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5780|    356|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5781|    356|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5782|    356|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5783|    356|                int err = PyDict_Update(dict_o, update_o);
  |  | 5784|    356|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5785|    356|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5785:21): [True: 0, False: 356]
  |  |  ------------------
  |  | 5786|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_AttributeError);
  |  | 5787|      0|                    if (matches) {
  |  |  ------------------
  |  |  |  Branch (5787:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 5788|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5789|      0|                        PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  | 5790|      0|                        int has_keys = PyObject_HasAttrWithError(update_o, &_Py_ID(keys));
  |  |  ------------------
  |  |  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5791|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5792|      0|                        if (has_keys == 0) {
  |  |  ------------------
  |  |  |  Branch (5792:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 5793|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5794|      0|                            _PyErr_Format(tstate, PyExc_TypeError,
  |  | 5795|      0|                                      "'%T' object is not a mapping",
  |  | 5796|      0|                                      update_o);
  |  | 5797|      0|                            Py_DECREF(exc);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5798|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5799|      0|                        }
  |  | 5800|      0|                        else {
  |  | 5801|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5802|      0|                            _PyErr_ChainExceptions1(exc);
  |  | 5803|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5804|      0|                        }
  |  | 5805|      0|                    }
  |  | 5806|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5807|      0|                }
  |  | 5808|    356|                upd = update;
  |  | 5809|    356|            }
  |  | 5810|       |            // _POP_TOP
  |  | 5811|      0|            {
  |  | 5812|    356|                value = upd;
  |  | 5813|    356|                stack_pointer += -1;
  |  | 5814|    356|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    356|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5815|    356|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5816|    356|                PyStackRef_XCLOSE(value);
  |  | 5817|    356|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5818|    356|            }
  |  | 5819|    356|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    356|    { \
  |  |  |  |  201|    356|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    356|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    356|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    356|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    356|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    356|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    356|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    356|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 356]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    356|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    356|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    356|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    356|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    356|    }
  |  |  ------------------
  |  | 5820|    356|        }
  |  | 5821|       |
  |  | 5822|      0|        TARGET(END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5823|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5824|       |            int opcode = END_ASYNC_FOR;
  |  | 5825|       |            (void)(opcode);
  |  | 5826|       |            #endif
  |  | 5827|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5828|      0|            (void)this_instr;
  |  | 5829|      0|            frame->instr_ptr = next_instr;
  |  | 5830|      0|            next_instr += 1;
  |  | 5831|      0|            INSTRUCTION_STATS(END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5832|      0|            _PyStackRef awaitable_st;
  |  | 5833|      0|            _PyStackRef exc_st;
  |  | 5834|      0|            exc_st = stack_pointer[-1];
  |  | 5835|      0|            awaitable_st = stack_pointer[-2];
  |  | 5836|      0|            JUMPBY(0);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 5837|      0|            (void)oparg;
  |  | 5838|      0|            PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 5839|      0|            assert(exc && PyExceptionInstance_Check(exc));
  |  | 5840|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5841|      0|            int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 5842|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5843|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5843:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5844|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5845|      0|                _PyStackRef tmp = exc_st;
  |  | 5846|      0|                exc_st = PyStackRef_NULL;
  |  | 5847|      0|                stack_pointer[-1] = exc_st;
  |  | 5848|      0|                PyStackRef_CLOSE(tmp);
  |  | 5849|      0|                tmp = awaitable_st;
  |  | 5850|      0|                awaitable_st = PyStackRef_NULL;
  |  | 5851|      0|                stack_pointer[-2] = awaitable_st;
  |  | 5852|      0|                PyStackRef_CLOSE(tmp);
  |  | 5853|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5854|      0|                stack_pointer += -2;
  |  | 5855|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5856|      0|            }
  |  | 5857|      0|            else {
  |  | 5858|      0|                Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5859|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5860|      0|                _PyErr_SetRaisedException(tstate, exc);
  |  | 5861|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 5862|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5863|      0|            }
  |  | 5864|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5865|      0|        }
  |  | 5866|       |
  |  | 5867|  1.47M|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|  1.47M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5868|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5869|       |            int opcode = END_FOR;
  |  | 5870|       |            (void)(opcode);
  |  | 5871|       |            #endif
  |  | 5872|  1.47M|            next_instr += 1;
  |  | 5873|  1.47M|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|  1.47M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5874|  1.47M|            _PyStackRef value;
  |  | 5875|  1.47M|            value = stack_pointer[-1];
  |  | 5876|  1.47M|            stack_pointer += -1;
  |  | 5877|  1.47M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.47M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5878|  1.47M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5879|  1.47M|            PyStackRef_CLOSE(value);
  |  | 5880|  1.47M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5881|  1.47M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.47M|    { \
  |  |  |  |  201|  1.47M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.47M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.47M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.47M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.47M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.47M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.47M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.47M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.47M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.47M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.47M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.47M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.47M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.47M|    }
  |  |  ------------------
  |  | 5882|  1.47M|        }
  |  | 5883|       |
  |  | 5884|  1.47M|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|     16|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5885|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5886|       |            int opcode = END_SEND;
  |  | 5887|       |            (void)(opcode);
  |  | 5888|       |            #endif
  |  | 5889|     16|            frame->instr_ptr = next_instr;
  |  | 5890|     16|            next_instr += 1;
  |  | 5891|     16|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|     16|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5892|     16|            _PyStackRef receiver;
  |  | 5893|     16|            _PyStackRef index_or_null;
  |  | 5894|     16|            _PyStackRef value;
  |  | 5895|     16|            _PyStackRef val;
  |  | 5896|     16|            value = stack_pointer[-1];
  |  | 5897|     16|            index_or_null = stack_pointer[-2];
  |  | 5898|     16|            receiver = stack_pointer[-3];
  |  | 5899|     16|            val = value;
  |  | 5900|     16|            (void)index_or_null;
  |  | 5901|     16|            stack_pointer[-3] = val;
  |  | 5902|     16|            stack_pointer += -2;
  |  | 5903|     16|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5904|     16|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5905|     16|            PyStackRef_CLOSE(receiver);
  |  | 5906|     16|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5907|     16|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     16|    { \
  |  |  |  |  201|     16|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     16|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     16|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     16|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     16|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     16|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     16|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     16|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     16|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     16|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     16|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     16|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     16|    }
  |  |  ------------------
  |  | 5908|     16|        }
  |  | 5909|       |
  |  | 5910|     16|        TARGET(ENTER_EXECUTOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5912|       |            int opcode = ENTER_EXECUTOR;
  |  | 5913|       |            (void)(opcode);
  |  | 5914|       |            #endif
  |  | 5915|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5916|      0|            (void)this_instr;
  |  | 5917|      0|            frame->instr_ptr = next_instr;
  |  | 5918|      0|            next_instr += 1;
  |  | 5919|      0|            INSTRUCTION_STATS(ENTER_EXECUTOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5920|      0|            opcode = ENTER_EXECUTOR;
  |  |  ------------------
  |  |  |  |  245|      0|#define ENTER_EXECUTOR                         254
  |  |  ------------------
  |  | 5921|       |            #ifdef _Py_TIER2
  |  | 5922|       |            PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 5923|       |            _PyExecutorObject *executor = code->co_executors->executors[oparg & 255];
  |  | 5924|       |            if (IS_JIT_TRACING()) {
  |  | 5925|       |                int og_opcode = executor->vm_data.opcode;
  |  | 5926|       |                int og_oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 5927|       |                next_instr = this_instr;
  |  | 5928|       |                if (_PyJit_EnterExecutorShouldStopTracing(og_opcode)) {
  |  | 5929|       |                    if (_PyOpcode_Caches[_PyOpcode_Deopt[og_opcode]]) {
  |  | 5930|       |                        PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 5931|       |                    }
  |  | 5932|       |                    opcode = og_opcode;
  |  | 5933|       |                    oparg = og_oparg;
  |  | 5934|       |                    DISPATCH_GOTO_NON_TRACING();
  |  | 5935|       |                }
  |  | 5936|       |                JUMP_TO_LABEL(stop_tracing);
  |  | 5937|       |            }
  |  | 5938|       |            assert(executor->vm_data.index == INSTR_OFFSET() - 1);
  |  | 5939|       |            assert(executor->vm_data.code == code);
  |  | 5940|       |            assert(executor->vm_data.valid);
  |  | 5941|       |            assert(tstate->current_executor == NULL);
  |  | 5942|       |            uintptr_t iversion = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(code->_co_instrumentation_version);
  |  | 5943|       |            if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) != iversion) {
  |  | 5944|       |                opcode = executor->vm_data.opcode;
  |  | 5945|       |                oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 5946|       |                next_instr = this_instr;
  |  | 5947|       |                if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]) {
  |  | 5948|       |                    PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 5949|       |                }
  |  | 5950|       |                DISPATCH_GOTO();
  |  | 5951|       |            }
  |  | 5952|       |            assert(executor != tstate->interp->cold_executor);
  |  | 5953|       |            tstate->jit_exit = NULL;
  |  | 5954|       |            TIER1_TO_TIER2(executor);
  |  | 5955|       |            #else
  |  | 5956|      0|            Py_FatalError("ENTER_EXECUTOR is not supported in this build");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 5957|      0|            #endif /* _Py_TIER2 */
  |  | 5958|      0|        }
  |  | 5959|       |
  |  | 5960|  9.28k|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  9.28k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5961|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5962|       |            int opcode = EXIT_INIT_CHECK;
  |  | 5963|       |            (void)(opcode);
  |  | 5964|       |            #endif
  |  | 5965|  9.28k|            frame->instr_ptr = next_instr;
  |  | 5966|  9.28k|            next_instr += 1;
  |  | 5967|  9.28k|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|  9.28k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5968|  9.28k|            _PyStackRef should_be_none;
  |  | 5969|  9.28k|            should_be_none = stack_pointer[-1];
  |  | 5970|  9.28k|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|  9.28k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.28k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5970:17): [True: 0, False: 9.28k]
  |  |  ------------------
  |  | 5971|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5972|      0|                PyErr_Format(PyExc_TypeError,
  |  | 5973|      0|                             "__init__() should return None, not '%.200s'",
  |  | 5974|      0|                             Py_TYPE(PyStackRef_AsPyObjectBorrow(should_be_none))->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5975|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5976|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5977|      0|            }
  |  | 5978|  9.28k|            stack_pointer += -1;
  |  | 5979|  9.28k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5980|  9.28k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.28k|    { \
  |  |  |  |  201|  9.28k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  9.28k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  9.28k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  9.28k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.28k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.28k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  9.28k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  9.28k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 9.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.28k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.28k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.28k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.28k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.28k|    }
  |  |  ------------------
  |  | 5981|  9.28k|        }
  |  | 5982|       |
  |  | 5983|  2.35M|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  2.35M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5984|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5985|       |            int opcode = EXTENDED_ARG;
  |  | 5986|       |            (void)(opcode);
  |  | 5987|       |            #endif
  |  | 5988|  2.35M|            frame->instr_ptr = next_instr;
  |  | 5989|  2.35M|            next_instr += 1;
  |  | 5990|  2.35M|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  2.35M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5991|  2.35M|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   80|  2.35M|#define EXTENDED_ARG                            67
  |  |  ------------------
  |  | 5992|  2.35M|            assert(oparg);
  |  | 5993|  2.35M|            opcode = next_instr->op.code;
  |  | 5994|  2.35M|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 5995|  2.35M|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  2.35M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 5996|  2.35M|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  2.35M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 5997|  2.35M|        }
  |  | 5998|       |
  |  | 5999|  2.35M|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.46M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6000|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6001|       |            int opcode = FORMAT_SIMPLE;
  |  | 6002|       |            (void)(opcode);
  |  | 6003|       |            #endif
  |  | 6004|  1.46M|            frame->instr_ptr = next_instr;
  |  | 6005|  1.46M|            next_instr += 1;
  |  | 6006|  1.46M|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|  1.46M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6007|  1.46M|            _PyStackRef value;
  |  | 6008|  1.46M|            _PyStackRef res;
  |  | 6009|  1.46M|            value = stack_pointer[-1];
  |  | 6010|  1.46M|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6011|  1.46M|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.46M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.46M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6011:17): [True: 14.9k, False: 1.44M]
  |  |  ------------------
  |  | 6012|  14.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6013|  14.9k|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6014|  14.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6015|  14.9k|                stack_pointer += -1;
  |  | 6016|  14.9k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6017|  14.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6018|  14.9k|                PyStackRef_CLOSE(value);
  |  | 6019|  14.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6020|  14.9k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6020:21): [True: 0, False: 14.9k]
  |  |  ------------------
  |  | 6021|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6022|      0|                }
  |  | 6023|  14.9k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6024|  14.9k|            }
  |  | 6025|  1.44M|            else {
  |  | 6026|  1.44M|                res = value;
  |  | 6027|  1.44M|                stack_pointer += -1;
  |  | 6028|  1.44M|            }
  |  | 6029|  1.46M|            stack_pointer[0] = res;
  |  | 6030|  1.46M|            stack_pointer += 1;
  |  | 6031|  1.46M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.46M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6032|  1.46M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.46M|    { \
  |  |  |  |  201|  1.46M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.46M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.46M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.46M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.46M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.46M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.46M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.46M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.46M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.46M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.46M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.46M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.46M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.46M|    }
  |  |  ------------------
  |  | 6033|  1.46M|        }
  |  | 6034|       |
  |  | 6035|      0|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6036|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6037|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6038|       |            (void)(opcode);
  |  | 6039|       |            #endif
  |  | 6040|      0|            frame->instr_ptr = next_instr;
  |  | 6041|      0|            next_instr += 1;
  |  | 6042|      0|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6043|      0|            _PyStackRef value;
  |  | 6044|      0|            _PyStackRef fmt_spec;
  |  | 6045|      0|            _PyStackRef res;
  |  | 6046|      0|            fmt_spec = stack_pointer[-1];
  |  | 6047|      0|            value = stack_pointer[-2];
  |  | 6048|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6049|      0|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6050|      0|            _PyStackRef tmp = fmt_spec;
  |  | 6051|      0|            fmt_spec = PyStackRef_NULL;
  |  | 6052|      0|            stack_pointer[-1] = fmt_spec;
  |  | 6053|      0|            PyStackRef_CLOSE(tmp);
  |  | 6054|      0|            tmp = value;
  |  | 6055|      0|            value = PyStackRef_NULL;
  |  | 6056|      0|            stack_pointer[-2] = value;
  |  | 6057|      0|            PyStackRef_CLOSE(tmp);
  |  | 6058|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6059|      0|            stack_pointer += -2;
  |  | 6060|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6061|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6061:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6062|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6063|      0|            }
  |  | 6064|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6065|      0|            stack_pointer[0] = res;
  |  | 6066|      0|            stack_pointer += 1;
  |  | 6067|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6068|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6069|      0|        }
  |  | 6070|       |
  |  | 6071|  1.56M|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|  1.56M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6072|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6073|       |            int opcode = FOR_ITER;
  |  | 6074|       |            (void)(opcode);
  |  | 6075|       |            #endif
  |  | 6076|  1.56M|            frame->instr_ptr = next_instr;
  |  | 6077|  1.56M|            next_instr += 2;
  |  | 6078|  1.56M|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|  1.56M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6079|  1.56M|            PREDICTED_FOR_ITER:;
  |  | 6080|  1.56M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6081|  1.56M|            (void)this_instr;
  |  | 6082|  1.56M|            _PyStackRef iter;
  |  | 6083|  1.56M|            _PyStackRef null_or_index;
  |  | 6084|  1.56M|            _PyStackRef next;
  |  | 6085|       |            // _SPECIALIZE_FOR_ITER
  |  | 6086|  1.56M|            {
  |  | 6087|  1.56M|                null_or_index = stack_pointer[-1];
  |  | 6088|  1.56M|                iter = stack_pointer[-2];
  |  | 6089|  1.56M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6090|  1.56M|                (void)counter;
  |  | 6091|  1.56M|                #if ENABLE_SPECIALIZATION
  |  | 6092|  1.56M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  1.56M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 1.59k, False: 1.56M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6093|  1.59k|                    next_instr = this_instr;
  |  | 6094|  1.59k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6095|  1.59k|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6096|  1.59k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6097|  1.59k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.59k|    { \
  |  |  |  |  217|  1.59k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.59k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.59k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.59k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.59k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.59k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.59k|    }
  |  |  ------------------
  |  | 6098|  1.59k|                }
  |  | 6099|  1.56M|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|  1.56M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6100|  1.56M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  1.56M|    do { \
  |  |  |  |  358|  1.56M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  1.56M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 1.56M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6101|  1.56M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6102|  1.56M|            }
  |  | 6103|       |            // _FOR_ITER
  |  | 6104|  1.56M|            {
  |  | 6105|  1.56M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6106|  1.56M|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6107|  1.56M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6108|  1.56M|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6108:21): [True: 580k, False: 984k]
  |  |  ------------------
  |  | 6109|   580k|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6109:25): [True: 0, False: 580k]
  |  |  ------------------
  |  | 6110|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6111|      0|                    }
  |  | 6112|   580k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|   580k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6113|   580k|                    stack_pointer[-1] = null_or_index;
  |  | 6114|   580k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   580k|    { \
  |  |  |  |  201|   580k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   580k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   580k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   580k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   580k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   580k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   580k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   580k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 580k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   580k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   580k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   580k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   580k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   580k|    }
  |  |  ------------------
  |  | 6115|   580k|                }
  |  | 6116|  1.56M|                next = item;
  |  | 6117|  1.56M|            }
  |  | 6118|      0|            stack_pointer[-1] = null_or_index;
  |  | 6119|  1.56M|            stack_pointer[0] = next;
  |  | 6120|  1.56M|            stack_pointer += 1;
  |  | 6121|  1.56M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.56M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6122|  1.56M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.56M|    { \
  |  |  |  |  201|  1.56M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.56M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.56M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.56M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.56M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.56M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.56M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.56M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.56M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.56M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.56M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.56M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.56M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.56M|    }
  |  |  ------------------
  |  | 6123|  1.56M|        }
  |  | 6124|       |
  |  | 6125|  3.39M|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|  3.39M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6126|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6127|       |            int opcode = FOR_ITER_GEN;
  |  | 6128|       |            (void)(opcode);
  |  | 6129|       |            #endif
  |  | 6130|  3.39M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6131|  3.39M|            (void)this_instr;
  |  | 6132|  3.39M|            frame->instr_ptr = next_instr;
  |  | 6133|  3.39M|            next_instr += 2;
  |  | 6134|  3.39M|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|  3.39M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6135|  3.39M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6136|  3.39M|            _PyStackRef iter;
  |  | 6137|  3.39M|            _PyStackRef gen_frame;
  |  | 6138|  3.39M|            _PyStackRef new_frame;
  |  | 6139|       |            /* Skip 1 cache entry */
  |  | 6140|       |            // _CHECK_PEP_523
  |  | 6141|  3.39M|            {
  |  | 6142|  3.39M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  3.39M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 3.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6143|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6144|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6145|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6146|      0|                }
  |  | 6147|  3.39M|            }
  |  | 6148|       |            // _FOR_ITER_GEN_FRAME
  |  | 6149|  3.39M|            {
  |  | 6150|  3.39M|                iter = stack_pointer[-2];
  |  | 6151|  3.39M|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6152|  3.39M|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|  3.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6152:21): [True: 0, False: 3.39M]
  |  |  ------------------
  |  | 6153|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6154|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6155|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6156|      0|                }
  |  | 6157|  3.39M|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6157:21): [True: 0, False: 3.39M]
  |  |  ------------------
  |  | 6158|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6159|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6160|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6161|      0|                }
  |  | 6162|  3.39M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  3.39M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6163|  3.39M|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6164|  3.39M|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|  3.39M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.39M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6165|  3.39M|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6166|  3.39M|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6167|  3.39M|                pushed_frame->previous = frame;
  |  | 6168|  3.39M|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6169|  3.39M|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6170|  3.39M|            }
  |  | 6171|       |            // _PUSH_FRAME
  |  | 6172|      0|            {
  |  | 6173|  3.39M|                new_frame = gen_frame;
  |  | 6174|  3.39M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 6175|  3.39M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6176|  3.39M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6177|  3.39M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 6178|  3.39M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  3.39M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6179|  3.39M|                frame = tstate->current_frame = temp;
  |  | 6180|  3.39M|                tstate->py_recursion_remaining--;
  |  | 6181|  3.39M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  3.39M|#define LOAD_SP() \
  |  |  |  |  426|  3.39M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 6182|  3.39M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  3.39M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  3.39M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  3.39M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 3.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6183|  3.39M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  3.39M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6184|  3.39M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  3.39M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6185|  3.39M|            }
  |  | 6186|  3.39M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.39M|    { \
  |  |  |  |  201|  3.39M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.39M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.39M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.39M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.39M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.39M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.39M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.39M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.39M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.39M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.39M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.39M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.39M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.39M|    }
  |  |  ------------------
  |  | 6187|  3.39M|        }
  |  | 6188|       |
  |  | 6189|  3.17M|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  3.17M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6190|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6191|       |            int opcode = FOR_ITER_LIST;
  |  | 6192|       |            (void)(opcode);
  |  | 6193|       |            #endif
  |  | 6194|  3.17M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6195|  3.17M|            (void)this_instr;
  |  | 6196|  3.17M|            frame->instr_ptr = next_instr;
  |  | 6197|  3.17M|            next_instr += 2;
  |  | 6198|  3.17M|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  3.17M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6199|  3.17M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6200|  3.17M|            _PyStackRef iter;
  |  | 6201|  3.17M|            _PyStackRef null_or_index;
  |  | 6202|  3.17M|            _PyStackRef next;
  |  | 6203|       |            /* Skip 1 cache entry */
  |  | 6204|       |            // _ITER_CHECK_LIST
  |  | 6205|  3.17M|            {
  |  | 6206|  3.17M|                null_or_index = stack_pointer[-1];
  |  | 6207|  3.17M|                iter = stack_pointer[-2];
  |  | 6208|  3.17M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6209|  3.17M|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|  3.17M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6209:21): [True: 2.34k, False: 3.17M]
  |  |  ------------------
  |  | 6210|  2.34k|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|  2.34k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6211|  2.34k|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6212|  2.34k|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|  2.34k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6213|      0|                }
  |  | 6214|  3.17M|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  | 6215|       |                #ifdef Py_GIL_DISABLED
  |  | 6216|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
  |  | 6217|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6218|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6219|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6220|       |                }
  |  | 6221|       |                #endif
  |  | 6222|  3.17M|            }
  |  | 6223|       |            // _ITER_JUMP_LIST
  |  | 6224|      0|            {
  |  | 6225|       |                #ifdef Py_GIL_DISABLED
  |  | 6226|       |
  |  | 6227|       |                #else
  |  | 6228|  3.17M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6229|  3.17M|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  | 6230|  3.17M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  3.17M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6231|  3.17M|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  3.17M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6231:21): [True: 1.44M, False: 1.72M]
  |  |  ------------------
  |  | 6232|  1.44M|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6233|  1.44M|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|  1.44M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6234|  1.44M|                    stack_pointer[-1] = null_or_index;
  |  | 6235|  1.44M|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.44M|    { \
  |  |  |  |  201|  1.44M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.44M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.44M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.44M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.44M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.44M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.44M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.44M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.44M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.44M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.44M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.44M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.44M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.44M|    }
  |  |  ------------------
  |  | 6236|  1.44M|                }
  |  | 6237|  3.17M|                #endif
  |  | 6238|  3.17M|            }
  |  | 6239|       |            // _ITER_NEXT_LIST
  |  | 6240|  3.17M|            {
  |  | 6241|  3.17M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6242|  3.17M|                assert(PyList_CheckExact(list_o));
  |  | 6243|       |                #ifdef Py_GIL_DISABLED
  |  | 6244|       |                assert(_Py_IsOwnedByCurrentThread(list_o) ||
  |  | 6245|       |                  _PyObject_GC_IS_SHARED(list_o));
  |  | 6246|       |                STAT_INC(FOR_ITER, hit);
  |  | 6247|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6248|       |                int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
  |  | 6249|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6250|       |                if (result < 0) {
  |  | 6251|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6252|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6253|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6254|       |                }
  |  | 6255|       |                if (result == 0) {
  |  | 6256|       |                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6257|       |                    JUMPBY(oparg + 1);
  |  | 6258|       |                    stack_pointer[-1] = null_or_index;
  |  | 6259|       |                    DISPATCH();
  |  | 6260|       |                }
  |  | 6261|       |                #else
  |  | 6262|  3.17M|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|  3.17M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6263|  3.17M|                #endif
  |  | 6264|  3.17M|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6265|  3.17M|            }
  |  | 6266|  3.17M|            stack_pointer[-1] = null_or_index;
  |  | 6267|  3.17M|            stack_pointer[0] = next;
  |  | 6268|  3.17M|            stack_pointer += 1;
  |  | 6269|  3.17M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.17M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6270|  3.17M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.17M|    { \
  |  |  |  |  201|  3.17M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.17M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.17M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.17M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.17M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.17M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.17M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.17M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.17M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.17M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.17M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.17M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.17M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.17M|    }
  |  |  ------------------
  |  | 6271|  3.17M|        }
  |  | 6272|       |
  |  | 6273|   104k|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|   104k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6274|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6275|       |            int opcode = FOR_ITER_RANGE;
  |  | 6276|       |            (void)(opcode);
  |  | 6277|       |            #endif
  |  | 6278|   104k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6279|   104k|            (void)this_instr;
  |  | 6280|   104k|            frame->instr_ptr = next_instr;
  |  | 6281|   104k|            next_instr += 2;
  |  | 6282|   104k|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|   104k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6283|   104k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6284|   104k|            _PyStackRef iter;
  |  | 6285|   104k|            _PyStackRef next;
  |  | 6286|       |            /* Skip 1 cache entry */
  |  | 6287|       |            // _ITER_CHECK_RANGE
  |  | 6288|   104k|            {
  |  | 6289|   104k|                iter = stack_pointer[-2];
  |  | 6290|   104k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6291|   104k|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|   104k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6291:21): [True: 0, False: 104k]
  |  |  ------------------
  |  | 6292|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6293|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6294|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6295|      0|                }
  |  | 6296|       |                #ifdef Py_GIL_DISABLED
  |  | 6297|       |                if (!_PyObject_IsUniquelyReferenced((PyObject *)r)) {
  |  | 6298|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6299|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6300|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6301|       |                }
  |  | 6302|       |                #endif
  |  | 6303|   104k|            }
  |  | 6304|       |            // _ITER_JUMP_RANGE
  |  | 6305|   104k|            {
  |  | 6306|   104k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6307|   104k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  | 6308|       |                #ifdef Py_GIL_DISABLED
  |  | 6309|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6310|       |                #endif
  |  | 6311|   104k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|   104k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6312|   104k|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6312:21): [True: 7.75k, False: 96.3k]
  |  |  ------------------
  |  | 6313|  7.75k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|  7.75k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6314|  7.75k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.75k|    { \
  |  |  |  |  201|  7.75k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.75k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.75k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.75k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.75k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.75k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.75k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.75k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.75k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.75k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.75k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.75k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.75k|    }
  |  |  ------------------
  |  | 6315|  7.75k|                }
  |  | 6316|   104k|            }
  |  | 6317|       |            // _ITER_NEXT_RANGE
  |  | 6318|   104k|            {
  |  | 6319|   104k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6320|   104k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  | 6321|       |                #ifdef Py_GIL_DISABLED
  |  | 6322|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6323|       |                #endif
  |  | 6324|   104k|                assert(r->len > 0);
  |  | 6325|   104k|                long value = r->start;
  |  | 6326|   104k|                r->start = value + r->step;
  |  | 6327|   104k|                r->len--;
  |  | 6328|   104k|                PyObject *res = PyLong_FromLong(value);
  |  | 6329|   104k|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6329:21): [True: 0, False: 104k]
  |  |  ------------------
  |  | 6330|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6331|      0|                }
  |  | 6332|   104k|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6333|   104k|            }
  |  | 6334|      0|            stack_pointer[0] = next;
  |  | 6335|   104k|            stack_pointer += 1;
  |  | 6336|   104k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   104k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6337|   104k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   104k|    { \
  |  |  |  |  201|   104k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   104k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   104k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   104k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   104k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   104k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   104k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   104k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 104k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   104k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   104k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   104k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   104k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   104k|    }
  |  |  ------------------
  |  | 6338|   104k|        }
  |  | 6339|       |
  |  | 6340|  1.43M|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.43M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6341|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6342|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6343|       |            (void)(opcode);
  |  | 6344|       |            #endif
  |  | 6345|  1.43M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6346|  1.43M|            (void)this_instr;
  |  | 6347|  1.43M|            frame->instr_ptr = next_instr;
  |  | 6348|  1.43M|            next_instr += 2;
  |  | 6349|  1.43M|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.43M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6350|  1.43M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6351|  1.43M|            _PyStackRef iter;
  |  | 6352|  1.43M|            _PyStackRef null_or_index;
  |  | 6353|  1.43M|            _PyStackRef next;
  |  | 6354|       |            /* Skip 1 cache entry */
  |  | 6355|       |            // _ITER_CHECK_TUPLE
  |  | 6356|  1.43M|            {
  |  | 6357|  1.43M|                null_or_index = stack_pointer[-1];
  |  | 6358|  1.43M|                iter = stack_pointer[-2];
  |  | 6359|  1.43M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6360|  1.43M|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  1.43M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6360:21): [True: 2.17k, False: 1.43M]
  |  |  ------------------
  |  | 6361|  2.17k|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|  2.17k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6362|  2.17k|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6363|  2.17k|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|  2.17k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6364|      0|                }
  |  | 6365|  1.43M|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  | 6366|  1.43M|            }
  |  | 6367|       |            // _ITER_JUMP_TUPLE
  |  | 6368|      0|            {
  |  | 6369|  1.43M|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6370|  1.43M|                (void)tuple_o;
  |  | 6371|  1.43M|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  | 6372|  1.43M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  1.43M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6373|  1.43M|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  1.43M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6373:21): [True: 514k, False: 920k]
  |  |  ------------------
  |  | 6374|   514k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6375|   514k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|   514k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6376|   514k|                    stack_pointer[-1] = null_or_index;
  |  | 6377|   514k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   514k|    { \
  |  |  |  |  201|   514k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   514k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   514k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   514k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   514k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   514k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   514k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   514k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 514k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   514k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   514k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   514k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   514k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   514k|    }
  |  |  ------------------
  |  | 6378|   514k|                }
  |  | 6379|  1.43M|            }
  |  | 6380|       |            // _ITER_NEXT_TUPLE
  |  | 6381|  1.43M|            {
  |  | 6382|  1.43M|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6383|  1.43M|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  | 6384|  1.43M|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6385|  1.43M|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  | 6386|  1.43M|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  1.43M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6387|  1.43M|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6388|  1.43M|            }
  |  | 6389|  1.43M|            stack_pointer[-1] = null_or_index;
  |  | 6390|  1.43M|            stack_pointer[0] = next;
  |  | 6391|  1.43M|            stack_pointer += 1;
  |  | 6392|  1.43M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.43M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6393|  1.43M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.43M|    { \
  |  |  |  |  201|  1.43M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.43M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.43M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.43M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.43M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.43M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.43M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.43M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.43M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.43M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.43M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.43M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.43M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.43M|    }
  |  |  ------------------
  |  | 6394|  1.43M|        }
  |  | 6395|       |
  |  | 6396|  2.57k|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  2.57k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6397|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6398|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6399|       |            (void)(opcode);
  |  | 6400|       |            #endif
  |  | 6401|  2.57k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6402|  2.57k|            (void)this_instr;
  |  | 6403|  2.57k|            frame->instr_ptr = next_instr;
  |  | 6404|  2.57k|            next_instr += 2;
  |  | 6405|  2.57k|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  2.57k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6406|  2.57k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6407|  2.57k|            _PyStackRef null_or_index;
  |  | 6408|  2.57k|            _PyStackRef iter;
  |  | 6409|  2.57k|            _PyStackRef next;
  |  | 6410|       |            /* Skip 1 cache entry */
  |  | 6411|       |            // _GUARD_TOS_NOT_NULL
  |  | 6412|  2.57k|            {
  |  | 6413|  2.57k|                null_or_index = stack_pointer[-1];
  |  | 6414|  2.57k|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|  2.57k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.57k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.57k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6415|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6416|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6417|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6418|      0|                }
  |  | 6419|  2.57k|            }
  |  | 6420|       |            // _FOR_ITER_VIRTUAL
  |  | 6421|  2.57k|            {
  |  | 6422|  2.57k|                iter = stack_pointer[-2];
  |  | 6423|  2.57k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6424|  2.57k|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6425|  2.57k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6426|  2.57k|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|  2.57k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6427|  2.57k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6428|  2.57k|                PyObject *next_o = next_index.object;
  |  | 6429|  2.57k|                index = next_index.index;
  |  | 6430|  2.57k|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6430:21): [True: 599, False: 1.97k]
  |  |  ------------------
  |  | 6431|    599|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6431:25): [True: 0, False: 599]
  |  |  ------------------
  |  | 6432|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6433|      0|                    }
  |  | 6434|    599|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|    599|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6435|    599|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    599|    { \
  |  |  |  |  201|    599|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    599|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    599|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    599|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    599|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    599|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    599|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    599|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 599]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    599|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    599|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    599|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    599|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    599|    }
  |  |  ------------------
  |  | 6436|    599|                }
  |  | 6437|  2.57k|                null_or_index = PyStackRef_TagInt(index);
  |  | 6438|  2.57k|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6439|  2.57k|            }
  |  | 6440|      0|            stack_pointer[-1] = null_or_index;
  |  | 6441|  2.57k|            stack_pointer[0] = next;
  |  | 6442|  2.57k|            stack_pointer += 1;
  |  | 6443|  2.57k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.57k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6444|  2.57k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.57k|    { \
  |  |  |  |  201|  2.57k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.57k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.57k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.57k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.57k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.57k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.57k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.57k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.57k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.57k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.57k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.57k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.57k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.57k|    }
  |  |  ------------------
  |  | 6445|  2.57k|        }
  |  | 6446|       |
  |  | 6447|      0|        TARGET(GET_AITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6448|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6449|       |            int opcode = GET_AITER;
  |  | 6450|       |            (void)(opcode);
  |  | 6451|       |            #endif
  |  | 6452|      0|            frame->instr_ptr = next_instr;
  |  | 6453|      0|            next_instr += 1;
  |  | 6454|      0|            INSTRUCTION_STATS(GET_AITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6455|      0|            _PyStackRef obj;
  |  | 6456|      0|            _PyStackRef iter;
  |  | 6457|      0|            obj = stack_pointer[-1];
  |  | 6458|      0|            unaryfunc getter = NULL;
  |  | 6459|      0|            PyObject *obj_o = PyStackRef_AsPyObjectBorrow(obj);
  |  | 6460|      0|            PyObject *iter_o;
  |  | 6461|      0|            PyTypeObject *type = Py_TYPE(obj_o);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6462|      0|            if (type->tp_as_async != NULL) {
  |  |  ------------------
  |  |  |  Branch (6462:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6463|      0|                getter = type->tp_as_async->am_aiter;
  |  | 6464|      0|            }
  |  | 6465|      0|            if (getter == NULL) {
  |  |  ------------------
  |  |  |  Branch (6465:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6466|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6467|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6468|      0|                              "'async for' requires an object with "
  |  | 6469|      0|                              "__aiter__ method, got %.100s",
  |  | 6470|      0|                              type->tp_name);
  |  | 6471|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6472|      0|                stack_pointer += -1;
  |  | 6473|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6474|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6475|      0|                PyStackRef_CLOSE(obj);
  |  | 6476|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6477|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6478|      0|            }
  |  | 6479|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6480|      0|            iter_o = (*getter)(obj_o);
  |  | 6481|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6482|      0|            stack_pointer += -1;
  |  | 6483|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6484|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6485|      0|            PyStackRef_CLOSE(obj);
  |  | 6486|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6487|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6487:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6488|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6489|      0|            }
  |  | 6490|      0|            if (Py_TYPE(iter_o)->tp_as_async == NULL ||
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6490:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6491|      0|                Py_TYPE(iter_o)->tp_as_async->am_anext == NULL) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6491:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6492|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6493|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6494|      0|                              "'async for' received an object from __aiter__ "
  |  | 6495|      0|                              "that does not implement __anext__: %.100s",
  |  | 6496|      0|                              Py_TYPE(iter_o)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6497|      0|                Py_DECREF(iter_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6498|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6499|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6500|      0|            }
  |  | 6501|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6502|      0|            stack_pointer[0] = iter;
  |  | 6503|      0|            stack_pointer += 1;
  |  | 6504|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6505|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6506|      0|        }
  |  | 6507|       |
  |  | 6508|      0|        TARGET(GET_ANEXT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6509|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6510|       |            int opcode = GET_ANEXT;
  |  | 6511|       |            (void)(opcode);
  |  | 6512|       |            #endif
  |  | 6513|      0|            frame->instr_ptr = next_instr;
  |  | 6514|      0|            next_instr += 1;
  |  | 6515|      0|            INSTRUCTION_STATS(GET_ANEXT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6516|      0|            _PyStackRef aiter;
  |  | 6517|      0|            _PyStackRef awaitable;
  |  | 6518|      0|            aiter = stack_pointer[-1];
  |  | 6519|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6520|      0|            PyObject *awaitable_o = _PyEval_GetANext(PyStackRef_AsPyObjectBorrow(aiter));
  |  | 6521|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6522|      0|            if (awaitable_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6522:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6523|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6524|      0|            }
  |  | 6525|      0|            awaitable = PyStackRef_FromPyObjectSteal(awaitable_o);
  |  | 6526|      0|            stack_pointer[0] = awaitable;
  |  | 6527|      0|            stack_pointer += 1;
  |  | 6528|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6529|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6530|      0|        }
  |  | 6531|       |
  |  | 6532|      0|        TARGET(GET_AWAITABLE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6533|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6534|       |            int opcode = GET_AWAITABLE;
  |  | 6535|       |            (void)(opcode);
  |  | 6536|       |            #endif
  |  | 6537|      0|            frame->instr_ptr = next_instr;
  |  | 6538|      0|            next_instr += 1;
  |  | 6539|      0|            INSTRUCTION_STATS(GET_AWAITABLE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6540|      0|            _PyStackRef iterable;
  |  | 6541|      0|            _PyStackRef iter;
  |  | 6542|      0|            iterable = stack_pointer[-1];
  |  | 6543|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6544|      0|            PyObject *iter_o = _PyEval_GetAwaitable(PyStackRef_AsPyObjectBorrow(iterable), oparg);
  |  | 6545|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6546|      0|            stack_pointer += -1;
  |  | 6547|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6548|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6549|      0|            PyStackRef_CLOSE(iterable);
  |  | 6550|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6551|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6551:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6552|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6553|      0|            }
  |  | 6554|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6555|      0|            stack_pointer[0] = iter;
  |  | 6556|      0|            stack_pointer += 1;
  |  | 6557|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6558|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6559|      0|        }
  |  | 6560|       |
  |  | 6561|   634k|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|   634k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6562|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6563|       |            int opcode = GET_ITER;
  |  | 6564|       |            (void)(opcode);
  |  | 6565|       |            #endif
  |  | 6566|   634k|            frame->instr_ptr = next_instr;
  |  | 6567|   634k|            next_instr += 2;
  |  | 6568|   634k|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|   634k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6569|   635k|            PREDICTED_GET_ITER:;
  |  | 6570|   635k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6571|   635k|            (void)this_instr;
  |  | 6572|   635k|            _PyStackRef iterable;
  |  | 6573|   635k|            _PyStackRef iter;
  |  | 6574|   635k|            _PyStackRef index_or_null;
  |  | 6575|       |            // _SPECIALIZE_GET_ITER
  |  | 6576|   635k|            {
  |  | 6577|   635k|                iterable = stack_pointer[-1];
  |  | 6578|   635k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6579|   635k|                (void)counter;
  |  | 6580|   635k|                #if ENABLE_SPECIALIZATION
  |  | 6581|   635k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   635k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 927, False: 634k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6582|    927|                    next_instr = this_instr;
  |  | 6583|    927|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6584|    927|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6585|    927|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6586|    927|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    927|    { \
  |  |  |  |  217|    927|        opcode = next_instr->op.code; \
  |  |  |  |  218|    927|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    927|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    927|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    927|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    927|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    927|    }
  |  |  ------------------
  |  | 6587|    927|                }
  |  | 6588|   635k|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|   635k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6589|   635k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   635k|    do { \
  |  |  |  |  358|   635k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   635k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 635k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6590|   635k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6591|   635k|            }
  |  | 6592|       |            // _GET_ITER
  |  | 6593|   635k|            {
  |  | 6594|   635k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6595|   635k|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6596|   635k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6597|   635k|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6597:21): [True: 0, False: 635k]
  |  |  ------------------
  |  | 6598|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6599|      0|                }
  |  | 6600|   635k|                iter = result;
  |  | 6601|   635k|            }
  |  | 6602|      0|            stack_pointer[-1] = iter;
  |  | 6603|   635k|            stack_pointer[0] = index_or_null;
  |  | 6604|   635k|            stack_pointer += 1;
  |  | 6605|   635k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   635k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6606|   635k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   635k|    { \
  |  |  |  |  201|   635k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   635k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   635k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   635k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   635k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   635k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   635k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   635k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 635k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   635k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   635k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   635k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   635k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   635k|    }
  |  |  ------------------
  |  | 6607|   635k|        }
  |  | 6608|       |
  |  | 6609|  13.5k|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|  13.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6610|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6611|       |            int opcode = GET_ITER_SELF;
  |  | 6612|       |            (void)(opcode);
  |  | 6613|       |            #endif
  |  | 6614|  13.5k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6615|  13.5k|            (void)this_instr;
  |  | 6616|  13.5k|            frame->instr_ptr = next_instr;
  |  | 6617|  13.5k|            next_instr += 2;
  |  | 6618|  13.5k|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|  13.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6619|  13.5k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6620|  13.5k|            _PyStackRef iterable;
  |  | 6621|  13.5k|            _PyStackRef res;
  |  | 6622|       |            /* Skip 1 cache entry */
  |  | 6623|       |            // _GUARD_ITERATOR
  |  | 6624|  13.5k|            {
  |  | 6625|  13.5k|                iterable = stack_pointer[-1];
  |  | 6626|  13.5k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  13.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6627|  13.5k|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6627:21): [True: 0, False: 13.5k]
  |  |  ------------------
  |  | 6628|      0|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6629|      0|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  | 6630|      0|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6631|      0|                }
  |  | 6632|  13.5k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  13.5k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6633|  13.5k|            }
  |  | 6634|       |            // _PUSH_NULL
  |  | 6635|      0|            {
  |  | 6636|  13.5k|                res = PyStackRef_NULL;
  |  | 6637|  13.5k|            }
  |  | 6638|  13.5k|            stack_pointer[0] = res;
  |  | 6639|  13.5k|            stack_pointer += 1;
  |  | 6640|  13.5k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6641|  13.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.5k|    { \
  |  |  |  |  201|  13.5k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  13.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  13.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  13.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  13.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  13.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  13.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 13.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.5k|    }
  |  |  ------------------
  |  | 6642|  13.5k|        }
  |  | 6643|       |
  |  | 6644|  1.97M|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  1.97M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6645|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6646|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6647|       |            (void)(opcode);
  |  | 6648|       |            #endif
  |  | 6649|  1.97M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6650|  1.97M|            (void)this_instr;
  |  | 6651|  1.97M|            frame->instr_ptr = next_instr;
  |  | 6652|  1.97M|            next_instr += 2;
  |  | 6653|  1.97M|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  1.97M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6654|  1.97M|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6655|  1.97M|            _PyStackRef iterable;
  |  | 6656|  1.97M|            _PyStackRef zero;
  |  | 6657|       |            /* Skip 1 cache entry */
  |  | 6658|       |            // _GUARD_ITER_VIRTUAL
  |  | 6659|  1.97M|            {
  |  | 6660|  1.97M|                iterable = stack_pointer[-1];
  |  | 6661|  1.97M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  1.97M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6662|  1.97M|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6662:21): [True: 318, False: 1.97M]
  |  |  ------------------
  |  | 6663|    318|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  298|    318|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6664|    318|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  | 6665|    318|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|    318|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6666|      0|                }
  |  | 6667|  1.97M|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  1.97M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6668|  1.97M|            }
  |  | 6669|       |            // _PUSH_TAGGED_ZERO
  |  | 6670|      0|            {
  |  | 6671|  1.97M|                zero = PyStackRef_TagInt(0);
  |  | 6672|  1.97M|            }
  |  | 6673|  1.97M|            stack_pointer[0] = zero;
  |  | 6674|  1.97M|            stack_pointer += 1;
  |  | 6675|  1.97M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.97M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6676|  1.97M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.97M|    { \
  |  |  |  |  201|  1.97M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.97M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.97M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.97M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.97M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.97M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.97M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.97M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.97M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.97M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.97M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.97M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.97M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.97M|    }
  |  |  ------------------
  |  | 6677|  1.97M|        }
  |  | 6678|       |
  |  | 6679|      0|        TARGET(GET_LEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6680|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6681|       |            int opcode = GET_LEN;
  |  | 6682|       |            (void)(opcode);
  |  | 6683|       |            #endif
  |  | 6684|      0|            frame->instr_ptr = next_instr;
  |  | 6685|      0|            next_instr += 1;
  |  | 6686|      0|            INSTRUCTION_STATS(GET_LEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6687|      0|            _PyStackRef obj;
  |  | 6688|      0|            _PyStackRef len;
  |  | 6689|      0|            obj = stack_pointer[-1];
  |  | 6690|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6691|      0|            Py_ssize_t len_i = PyObject_Length(PyStackRef_AsPyObjectBorrow(obj));
  |  |  ------------------
  |  |  |  |  353|      0|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 6692|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6693|      0|            if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (6693:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6694|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6695|      0|            }
  |  | 6696|      0|            PyObject *len_o = PyLong_FromSsize_t(len_i);
  |  | 6697|      0|            if (len_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6697:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6698|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6699|      0|            }
  |  | 6700|      0|            len = PyStackRef_FromPyObjectSteal(len_o);
  |  | 6701|      0|            stack_pointer[0] = len;
  |  | 6702|      0|            stack_pointer += 1;
  |  | 6703|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6704|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6705|      0|        }
  |  | 6706|       |
  |  | 6707|   791k|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|   791k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6708|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6709|       |            int opcode = IMPORT_FROM;
  |  | 6710|       |            (void)(opcode);
  |  | 6711|       |            #endif
  |  | 6712|   791k|            frame->instr_ptr = next_instr;
  |  | 6713|   791k|            next_instr += 1;
  |  | 6714|   791k|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|   791k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6715|   791k|            _PyStackRef from;
  |  | 6716|   791k|            _PyStackRef res;
  |  | 6717|   791k|            from = stack_pointer[-1];
  |  | 6718|   791k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|   791k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   791k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   791k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6719|   791k|            PyObject *res_o;
  |  | 6720|   791k|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|   791k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   791k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 20, False: 791k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6721|     20|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6722|     20|                res_o = _PyEval_LazyImportFrom(
  |  | 6723|     20|                    tstate, frame, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6724|     20|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6725|     20|            }
  |  | 6726|   791k|            else {
  |  | 6727|   791k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6728|   791k|                res_o = _PyEval_ImportFrom(
  |  | 6729|   791k|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6730|   791k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6731|   791k|            }
  |  | 6732|   791k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6732:17): [True: 2, False: 791k]
  |  |  ------------------
  |  | 6733|      2|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6734|      0|            }
  |  | 6735|   791k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6736|   791k|            stack_pointer[0] = res;
  |  | 6737|   791k|            stack_pointer += 1;
  |  | 6738|   791k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   791k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6739|   791k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   791k|    { \
  |  |  |  |  201|   791k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   791k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   791k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   791k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   791k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   791k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   791k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   791k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 791k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   791k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   791k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   791k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   791k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   791k|    }
  |  |  ------------------
  |  | 6740|   791k|        }
  |  | 6741|       |
  |  | 6742|   791k|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|   791k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6743|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6744|       |            int opcode = IMPORT_NAME;
  |  | 6745|       |            (void)(opcode);
  |  | 6746|       |            #endif
  |  | 6747|   791k|            frame->instr_ptr = next_instr;
  |  | 6748|   791k|            next_instr += 1;
  |  | 6749|   791k|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|   791k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6750|   791k|            _PyStackRef level;
  |  | 6751|   791k|            _PyStackRef fromlist;
  |  | 6752|   791k|            _PyStackRef res;
  |  | 6753|   791k|            fromlist = stack_pointer[-1];
  |  | 6754|   791k|            level = stack_pointer[-2];
  |  | 6755|   791k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|   791k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   791k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   791k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6756|   791k|            PyObject *res_o;
  |  | 6757|   791k|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (6757:17): [True: 3.55k, False: 787k]
  |  |  ------------------
  |  | 6758|  3.55k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6759|  3.55k|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|  3.55k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|  3.55k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 6760|  3.55k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  327|  3.55k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 6761|  3.55k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 6762|  3.55k|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 6763|  3.55k|                    oparg & 0x01);
  |  | 6764|  3.55k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6765|  3.55k|            }
  |  | 6766|   787k|            else {
  |  | 6767|   787k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6768|   787k|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|   787k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|   787k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 6769|   787k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  327|   787k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 6770|   787k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 6771|   787k|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 6772|   787k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6773|   787k|            }
  |  | 6774|   791k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6775|   791k|            _PyStackRef tmp = fromlist;
  |  | 6776|   791k|            fromlist = PyStackRef_NULL;
  |  | 6777|   791k|            stack_pointer[-1] = fromlist;
  |  | 6778|   791k|            PyStackRef_CLOSE(tmp);
  |  | 6779|   791k|            tmp = level;
  |  | 6780|   791k|            level = PyStackRef_NULL;
  |  | 6781|   791k|            stack_pointer[-2] = level;
  |  | 6782|   791k|            PyStackRef_CLOSE(tmp);
  |  | 6783|   791k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6784|   791k|            stack_pointer += -2;
  |  | 6785|   791k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   791k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6786|   791k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6786:17): [True: 38, False: 791k]
  |  |  ------------------
  |  | 6787|     38|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     38|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6788|      0|            }
  |  | 6789|   791k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6790|   791k|            stack_pointer[0] = res;
  |  | 6791|   791k|            stack_pointer += 1;
  |  | 6792|   791k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   791k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6793|   791k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   791k|    { \
  |  |  |  |  201|   791k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   791k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   791k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   791k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   791k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   791k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   791k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   791k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 791k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   791k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   791k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   791k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   791k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   791k|    }
  |  |  ------------------
  |  | 6794|   791k|        }
  |  | 6795|       |
  |  | 6796|      0|        TARGET(INSTRUMENTED_CALL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6797|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6798|       |            int opcode = INSTRUMENTED_CALL;
  |  | 6799|       |            (void)(opcode);
  |  | 6800|       |            #endif
  |  | 6801|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6802|      0|            (void)this_instr;
  |  | 6803|      0|            frame->instr_ptr = next_instr;
  |  | 6804|      0|            next_instr += 4;
  |  | 6805|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6806|      0|            opcode = INSTRUMENTED_CALL;
  |  |  ------------------
  |  |  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 6807|      0|            _PyStackRef callable;
  |  | 6808|      0|            _PyStackRef self_or_null;
  |  | 6809|      0|            _PyStackRef func;
  |  | 6810|      0|            _PyStackRef maybe_self;
  |  | 6811|      0|            _PyStackRef *args;
  |  | 6812|      0|            _PyStackRef res;
  |  | 6813|       |            /* Skip 3 cache entries */
  |  | 6814|       |            // _MAYBE_EXPAND_METHOD
  |  | 6815|      0|            {
  |  | 6816|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 6817|      0|                callable = stack_pointer[-2 - oparg];
  |  | 6818|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6818:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6819|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 6820|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 6821|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6822|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 6823|      0|                    _PyStackRef temp = callable;
  |  | 6824|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6825|      0|                    stack_pointer[-2 - oparg] = callable;
  |  | 6826|      0|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 6827|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6828|      0|                    PyStackRef_CLOSE(temp);
  |  | 6829|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6830|      0|                }
  |  | 6831|      0|            }
  |  | 6832|       |            // _MONITOR_CALL
  |  | 6833|      0|            {
  |  | 6834|      0|                args = &stack_pointer[-oparg];
  |  | 6835|      0|                maybe_self = self_or_null;
  |  | 6836|      0|                func = callable;
  |  | 6837|      0|                int is_meth = !PyStackRef_IsNull(maybe_self);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6838|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(func);
  |  | 6839|      0|                PyObject *arg0;
  |  | 6840|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (6840:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6841|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(maybe_self);
  |  | 6842|      0|                }
  |  | 6843|      0|                else if (oparg) {
  |  |  ------------------
  |  |  |  Branch (6843:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6844|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 6845|      0|                }
  |  | 6846|      0|                else {
  |  | 6847|      0|                    arg0 = &_PyInstrumentation_MISSING;
  |  | 6848|      0|                }
  |  | 6849|      0|                stack_pointer[-2 - oparg] = func;
  |  | 6850|      0|                stack_pointer[-1 - oparg] = maybe_self;
  |  | 6851|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6852|      0|                int err = _Py_call_instrumentation_2args(
  |  | 6853|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 6854|      0|                    frame, this_instr, function, arg0
  |  | 6855|      0|                );
  |  | 6856|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6857|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (6857:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6858|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6859|      0|                }
  |  | 6860|      0|            }
  |  | 6861|       |            // _DO_CALL
  |  | 6862|      0|            {
  |  | 6863|      0|                args = &stack_pointer[-oparg];
  |  | 6864|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 6865|      0|                callable = stack_pointer[-2 - oparg];
  |  | 6866|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 6867|      0|                int total_args = oparg;
  |  | 6868|      0|                _PyStackRef *arguments = args;
  |  | 6869|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6869:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6870|      0|                    arguments--;
  |  | 6871|      0|                    total_args++;
  |  | 6872|      0|                }
  |  | 6873|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6873:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6874|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (6874:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6875|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (6875:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6876|      0|                {
  |  | 6877|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6878|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6878:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 6879|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6880|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 6881|      0|                        tstate, callable, locals,
  |  | 6882|      0|                        arguments, total_args, NULL, frame
  |  | 6883|      0|                    );
  |  | 6884|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6885|      0|                    stack_pointer += -2 - oparg;
  |  | 6886|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6887|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (6887:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6888|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6889|      0|                    }
  |  | 6890|      0|                    frame->return_offset = 4u ;
  |  | 6891|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6892|      0|                }
  |  | 6893|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6894|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 6895|      0|                    callable,
  |  | 6896|      0|                    arguments,
  |  | 6897|      0|                    total_args,
  |  | 6898|      0|                    PyStackRef_NULL,
  |  | 6899|      0|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 6900|      0|                    frame,
  |  | 6901|      0|                    this_instr,
  |  | 6902|      0|                    tstate);
  |  | 6903|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6904|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6904:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6905|      0|                    stack_pointer += -2 - oparg;
  |  | 6906|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6908|      0|                }
  |  | 6909|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6910|      0|            }
  |  | 6911|       |            // _CHECK_PERIODIC_AT_END
  |  | 6912|      0|            {
  |  | 6913|      0|                stack_pointer[-2 - oparg] = res;
  |  | 6914|      0|                stack_pointer += -1 - oparg;
  |  | 6915|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6916|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6917|      0|                int err = check_periodics(tstate);
  |  | 6918|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6919|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (6919:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6920|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6921|      0|                }
  |  | 6922|      0|            }
  |  | 6923|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6924|      0|        }
  |  | 6925|       |
  |  | 6926|      0|        TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6927|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6928|       |            int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  | 6929|       |            (void)(opcode);
  |  | 6930|       |            #endif
  |  | 6931|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6932|      0|            (void)this_instr;
  |  | 6933|      0|            frame->instr_ptr = next_instr;
  |  | 6934|      0|            next_instr += 2;
  |  | 6935|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6936|      0|            opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |  242|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  | 6937|      0|            _PyStackRef func;
  |  | 6938|      0|            _PyStackRef callargs;
  |  | 6939|      0|            _PyStackRef func_st;
  |  | 6940|      0|            _PyStackRef null;
  |  | 6941|      0|            _PyStackRef callargs_st;
  |  | 6942|      0|            _PyStackRef kwargs_st;
  |  | 6943|      0|            _PyStackRef result;
  |  | 6944|       |            /* Skip 1 cache entry */
  |  | 6945|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 6946|      0|            {
  |  | 6947|      0|                callargs = stack_pointer[-2];
  |  | 6948|      0|                func = stack_pointer[-4];
  |  | 6949|      0|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 6950|      0|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6950:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6951|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6952|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 6953|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6954|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (6954:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6955|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6956|      0|                    }
  |  | 6957|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6958|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 6959|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6960|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6960:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6961|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6962|      0|                    }
  |  | 6963|      0|                    _PyStackRef temp = callargs;
  |  | 6964|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 6965|      0|                    stack_pointer[-2] = callargs;
  |  | 6966|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6967|      0|                    PyStackRef_CLOSE(temp);
  |  | 6968|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6969|      0|                }
  |  | 6970|      0|            }
  |  | 6971|       |            // _DO_CALL_FUNCTION_EX
  |  | 6972|      0|            {
  |  | 6973|      0|                kwargs_st = stack_pointer[-1];
  |  | 6974|      0|                callargs_st = callargs;
  |  | 6975|      0|                null = stack_pointer[-3];
  |  | 6976|      0|                func_st = func;
  |  | 6977|      0|                (void)null;
  |  | 6978|      0|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 6979|      0|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|      0|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 6980|      0|                PyObject *result_o;
  |  | 6981|      0|                assert(!_PyErr_Occurred(tstate));
  |  | 6982|      0|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  242|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (6982:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6983|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 6984|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 6985|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 6986|      0|                    assert(PyTuple_CheckExact(callargs));
  |  | 6987|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6987:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 6988|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6989|      0|                    stack_pointer[-2] = callargs_st;
  |  | 6990|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6991|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 6992|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 6993|      0|                        frame, this_instr, func, arg);
  |  | 6994|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6995|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (6995:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6996|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6997|      0|                    }
  |  | 6998|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6999|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7000|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7001|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7001:25): [True: 0, False: 0]
  |  |  |  Branch (7001:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 7002|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7002:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7003|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7004|      0|                            _Py_call_instrumentation_exc2(
  |  | 7005|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7006|      0|                                frame, this_instr, func, arg);
  |  | 7007|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7008|      0|                        }
  |  | 7009|      0|                        else {
  |  | 7010|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7011|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 7012|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7013|      0|                                frame, this_instr, func, arg);
  |  | 7014|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7015|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7015:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7016|      0|                                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7017|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7018|      0|                                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7019|      0|                            }
  |  | 7020|      0|                        }
  |  | 7021|      0|                    }
  |  | 7022|      0|                }
  |  | 7023|      0|                else {
  |  | 7024|      0|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7024:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7025|      0|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7025:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7026|      0|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (7026:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7027|      0|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 7028|      0|                        assert(PyTuple_CheckExact(callargs));
  |  | 7029|      0|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7030|      0|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 7031|      0|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7032|      0|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7033|      0|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  118|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7033:44): [True: 0, False: 0]
  |  |  ------------------
  |  | 7034|      0|                        stack_pointer += -2;
  |  | 7035|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7036|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7037|      0|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 7038|      0|                            tstate, func_st, locals,
  |  | 7039|      0|                            nargs, callargs, kwargs, frame);
  |  | 7040|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7041|      0|                        stack_pointer += -2;
  |  | 7042|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7043|      0|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7043:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7044|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7045|      0|                        }
  |  | 7046|      0|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  | 7047|      0|                        frame->return_offset = 2u ;
  |  | 7048|      0|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7049|      0|                    }
  |  | 7050|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7051|      0|                    assert(PyTuple_CheckExact(callargs));
  |  | 7052|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7053|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 7054|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7055|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7056|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7057|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7058|      0|                }
  |  | 7059|      0|                stack_pointer += -1;
  |  | 7060|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7061|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7062|      0|                PyStackRef_XCLOSE(kwargs_st);
  |  | 7063|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7064|      0|                stack_pointer += -1;
  |  | 7065|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7066|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7067|      0|                PyStackRef_CLOSE(callargs_st);
  |  | 7068|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7069|      0|                stack_pointer += -2;
  |  | 7070|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7071|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7072|      0|                PyStackRef_CLOSE(func_st);
  |  | 7073|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7074|      0|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7074:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7075|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7076|      0|                }
  |  | 7077|      0|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 7078|      0|            }
  |  | 7079|       |            // _CHECK_PERIODIC_AT_END
  |  | 7080|      0|            {
  |  | 7081|      0|                stack_pointer[0] = result;
  |  | 7082|      0|                stack_pointer += 1;
  |  | 7083|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7084|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7085|      0|                int err = check_periodics(tstate);
  |  | 7086|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7087|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7087:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7088|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7089|      0|                }
  |  | 7090|      0|            }
  |  | 7091|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7092|      0|        }
  |  | 7093|       |
  |  | 7094|      0|        TARGET(INSTRUMENTED_CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7095|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7096|       |            int opcode = INSTRUMENTED_CALL_KW;
  |  | 7097|       |            (void)(opcode);
  |  | 7098|       |            #endif
  |  | 7099|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7100|      0|            (void)this_instr;
  |  | 7101|      0|            frame->instr_ptr = next_instr;
  |  | 7102|      0|            next_instr += 4;
  |  | 7103|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_KW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7104|      0|            opcode = INSTRUMENTED_CALL_KW;
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7105|      0|            _PyStackRef callable;
  |  | 7106|      0|            _PyStackRef self_or_null;
  |  | 7107|      0|            _PyStackRef *args;
  |  | 7108|      0|            _PyStackRef kwnames;
  |  | 7109|      0|            _PyStackRef res;
  |  | 7110|       |            /* Skip 1 cache entry */
  |  | 7111|       |            /* Skip 2 cache entries */
  |  | 7112|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 7113|      0|            {
  |  | 7114|      0|                self_or_null = stack_pointer[-2 - oparg];
  |  | 7115|      0|                callable = stack_pointer[-3 - oparg];
  |  | 7116|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7116:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7117|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7118|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7119|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7120|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7121|      0|                    _PyStackRef temp = callable;
  |  | 7122|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7123|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 7124|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 7125|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7126|      0|                    PyStackRef_CLOSE(temp);
  |  | 7127|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7128|      0|                }
  |  | 7129|      0|            }
  |  | 7130|       |            // _MONITOR_CALL_KW
  |  | 7131|      0|            {
  |  | 7132|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7133|      0|                int is_meth = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7134|      0|                PyObject *arg;
  |  | 7135|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7135:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7136|      0|                    arg = PyStackRef_AsPyObjectBorrow(self_or_null);
  |  | 7137|      0|                }
  |  | 7138|      0|                else if (args) {
  |  |  ------------------
  |  |  |  Branch (7138:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7139|      0|                    arg = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7140|      0|                }
  |  | 7141|      0|                else {
  |  | 7142|      0|                    arg = &_PyInstrumentation_MISSING;
  |  | 7143|      0|                }
  |  | 7144|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7145|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 7146|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 7147|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7148|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7149|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7150|      0|                    frame, this_instr, function, arg);
  |  | 7151|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7152|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7152:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7153|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7154|      0|                }
  |  | 7155|      0|            }
  |  | 7156|       |            // _DO_CALL_KW
  |  | 7157|      0|            {
  |  | 7158|      0|                kwnames = stack_pointer[-1];
  |  | 7159|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7160|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7161|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 7162|      0|                int total_args = oparg;
  |  | 7163|      0|                _PyStackRef *arguments = args;
  |  | 7164|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7164:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7165|      0|                    arguments--;
  |  | 7166|      0|                    total_args++;
  |  | 7167|      0|                }
  |  | 7168|      0|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7169|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7170|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7170:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7171|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7171:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7172|      0|                {
  |  | 7173|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7174|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7174:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7175|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7176|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7177|      0|                        tstate, callable, locals,
  |  | 7178|      0|                        arguments, positional_args, kwnames_o, frame
  |  | 7179|      0|                    );
  |  | 7180|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7181|      0|                    stack_pointer += -3 - oparg;
  |  | 7182|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7183|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7184|      0|                    PyStackRef_CLOSE(kwnames);
  |  | 7185|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7186|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7186:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7187|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7188|      0|                    }
  |  | 7189|      0|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  | 7190|      0|                    frame->return_offset = 4u ;
  |  | 7191|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7192|      0|                }
  |  | 7193|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7194|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7195|      0|                    callable,
  |  | 7196|      0|                    arguments,
  |  | 7197|      0|                    total_args,
  |  | 7198|      0|                    kwnames,
  |  | 7199|      0|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7200|      0|                    frame,
  |  | 7201|      0|                    this_instr,
  |  | 7202|      0|                    tstate);
  |  | 7203|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7204|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7204:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7205|      0|                    stack_pointer += -3 - oparg;
  |  | 7206|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7207|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7208|      0|                }
  |  | 7209|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7210|      0|            }
  |  | 7211|      0|            stack_pointer[-3 - oparg] = res;
  |  | 7212|      0|            stack_pointer += -2 - oparg;
  |  | 7213|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7214|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7215|      0|        }
  |  | 7216|       |
  |  | 7217|      0|        TARGET(INSTRUMENTED_END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7218|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7219|       |            int opcode = INSTRUMENTED_END_ASYNC_FOR;
  |  | 7220|       |            (void)(opcode);
  |  | 7221|       |            #endif
  |  | 7222|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7223|      0|            (void)this_instr;
  |  | 7224|      0|            frame->instr_ptr = next_instr;
  |  | 7225|      0|            next_instr += 1;
  |  | 7226|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7227|      0|            _PyStackRef awaitable_st;
  |  | 7228|      0|            _PyStackRef exc_st;
  |  | 7229|       |            // _MONITOR_END_ASYNC_FOR
  |  | 7230|      0|            {
  |  | 7231|      0|                assert((next_instr-oparg)->op.code == END_SEND || (next_instr-oparg)->op.code >= MIN_INSTRUMENTED_OPCODE);
  |  | 7232|      0|                INSTRUMENTED_JUMP(next_instr-oparg, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7233|      0|            }
  |  | 7234|       |            // _END_ASYNC_FOR
  |  | 7235|      0|            {
  |  | 7236|      0|                exc_st = stack_pointer[-1];
  |  | 7237|      0|                awaitable_st = stack_pointer[-2];
  |  | 7238|      0|                JUMPBY(0);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7239|      0|                (void)oparg;
  |  | 7240|      0|                PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 7241|      0|                assert(exc && PyExceptionInstance_Check(exc));
  |  | 7242|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7243|      0|                int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 7244|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7245|      0|                if (matches) {
  |  |  ------------------
  |  |  |  Branch (7245:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7246|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7247|      0|                    _PyStackRef tmp = exc_st;
  |  | 7248|      0|                    exc_st = PyStackRef_NULL;
  |  | 7249|      0|                    stack_pointer[-1] = exc_st;
  |  | 7250|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7251|      0|                    tmp = awaitable_st;
  |  | 7252|      0|                    awaitable_st = PyStackRef_NULL;
  |  | 7253|      0|                    stack_pointer[-2] = awaitable_st;
  |  | 7254|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7255|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7256|      0|                    stack_pointer += -2;
  |  | 7257|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7258|      0|                }
  |  | 7259|      0|                else {
  |  | 7260|      0|                    Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7261|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7262|      0|                    _PyErr_SetRaisedException(tstate, exc);
  |  | 7263|      0|                    monitor_reraise(tstate, frame, this_instr);
  |  | 7264|      0|                    JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7265|      0|                }
  |  | 7266|      0|            }
  |  | 7267|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7268|      0|        }
  |  | 7269|       |
  |  | 7270|      0|        TARGET(INSTRUMENTED_END_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7271|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7272|       |            int opcode = INSTRUMENTED_END_FOR;
  |  | 7273|       |            (void)(opcode);
  |  | 7274|       |            #endif
  |  | 7275|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7276|      0|            (void)this_instr;
  |  | 7277|      0|            next_instr += 1;
  |  | 7278|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7279|      0|            _PyStackRef receiver;
  |  | 7280|      0|            _PyStackRef value;
  |  | 7281|      0|            value = stack_pointer[-1];
  |  | 7282|      0|            receiver = stack_pointer[-3];
  |  | 7283|      0|            if (PyStackRef_GenCheck(receiver)) {
  |  |  ------------------
  |  |  |  Branch (7283:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7284|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7285|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7286|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7287|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7287:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7288|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7289|      0|                }
  |  | 7290|      0|            }
  |  | 7291|      0|            stack_pointer += -1;
  |  | 7292|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7293|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7294|      0|            PyStackRef_CLOSE(value);
  |  | 7295|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7296|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7297|      0|        }
  |  | 7298|       |
  |  | 7299|      0|        TARGET(INSTRUMENTED_END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7300|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7301|       |            int opcode = INSTRUMENTED_END_SEND;
  |  | 7302|       |            (void)(opcode);
  |  | 7303|       |            #endif
  |  | 7304|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7305|      0|            (void)this_instr;
  |  | 7306|      0|            frame->instr_ptr = next_instr;
  |  | 7307|      0|            next_instr += 1;
  |  | 7308|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_SEND);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7309|      0|            _PyStackRef receiver;
  |  | 7310|      0|            _PyStackRef index_or_null;
  |  | 7311|      0|            _PyStackRef value;
  |  | 7312|      0|            _PyStackRef val;
  |  | 7313|      0|            value = stack_pointer[-1];
  |  | 7314|      0|            index_or_null = stack_pointer[-2];
  |  | 7315|      0|            receiver = stack_pointer[-3];
  |  | 7316|      0|            PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  | 7317|      0|            if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   16|      0|#define PyGen_Check(op) PyObject_TypeCheck((op), &PyGen_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7318|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7319|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7320|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7321|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7321:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7322|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7323|      0|                }
  |  | 7324|      0|            }
  |  | 7325|      0|            val = value;
  |  | 7326|      0|            (void)index_or_null;
  |  | 7327|      0|            stack_pointer[-3] = val;
  |  | 7328|      0|            stack_pointer += -2;
  |  | 7329|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7330|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7331|      0|            PyStackRef_CLOSE(receiver);
  |  | 7332|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7333|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7334|      0|        }
  |  | 7335|       |
  |  | 7336|      0|        TARGET(INSTRUMENTED_FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7337|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7338|       |            int opcode = INSTRUMENTED_FOR_ITER;
  |  | 7339|       |            (void)(opcode);
  |  | 7340|       |            #endif
  |  | 7341|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7342|      0|            (void)this_instr;
  |  | 7343|      0|            frame->instr_ptr = next_instr;
  |  | 7344|      0|            next_instr += 2;
  |  | 7345|      0|            INSTRUCTION_STATS(INSTRUMENTED_FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7346|      0|            _PyStackRef iter;
  |  | 7347|      0|            _PyStackRef null_or_index;
  |  | 7348|      0|            _PyStackRef next;
  |  | 7349|       |            /* Skip 1 cache entry */
  |  | 7350|      0|            null_or_index = stack_pointer[-1];
  |  | 7351|      0|            iter = stack_pointer[-2];
  |  | 7352|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7353|      0|            _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 7354|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7355|      0|            if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (7355:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7356|      0|                if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (7356:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7357|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7358|      0|                }
  |  | 7359|      0|                JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7360|      0|                stack_pointer[-1] = null_or_index;
  |  | 7361|      0|                DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7362|      0|            }
  |  | 7363|      0|            next = item;
  |  | 7364|      0|            INSTRUMENTED_JUMP(this_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7365|      0|            stack_pointer[-1] = null_or_index;
  |  | 7366|      0|            stack_pointer[0] = next;
  |  | 7367|      0|            stack_pointer += 1;
  |  | 7368|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7369|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7370|      0|        }
  |  | 7371|       |
  |  | 7372|      0|        TARGET(INSTRUMENTED_INSTRUCTION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7374|       |            int opcode = INSTRUMENTED_INSTRUCTION;
  |  | 7375|       |            (void)(opcode);
  |  | 7376|       |            #endif
  |  | 7377|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7378|      0|            (void)this_instr;
  |  | 7379|      0|            frame->instr_ptr = next_instr;
  |  | 7380|      0|            next_instr += 1;
  |  | 7381|      0|            INSTRUCTION_STATS(INSTRUMENTED_INSTRUCTION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7382|      0|            opcode = INSTRUMENTED_INSTRUCTION;
  |  |  ------------------
  |  |  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  |  |  ------------------
  |  | 7383|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7384|      0|            int next_opcode = _Py_call_instrumentation_instruction(
  |  | 7385|      0|                tstate, frame, this_instr);
  |  | 7386|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7387|      0|            if (next_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7387:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7388|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7389|      0|            }
  |  | 7390|      0|            next_instr = this_instr;
  |  | 7391|      0|            if (_PyOpcode_Caches[next_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7391:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7392|      0|                PAUSE_ADAPTIVE_COUNTER(next_instr[1].counter);
  |  |  ------------------
  |  |  |  |  362|      0|    do { \
  |  |  |  |  363|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  364|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (364:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7393|      0|            }
  |  | 7394|      0|            assert(next_opcode > 0 && next_opcode < 256);
  |  | 7395|      0|            opcode = next_opcode;
  |  | 7396|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7397|      0|        }
  |  | 7398|       |
  |  | 7399|      0|        TARGET(INSTRUMENTED_JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7400|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7401|       |            int opcode = INSTRUMENTED_JUMP_BACKWARD;
  |  | 7402|       |            (void)(opcode);
  |  | 7403|       |            #endif
  |  | 7404|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7405|      0|            (void)this_instr;
  |  | 7406|      0|            frame->instr_ptr = next_instr;
  |  | 7407|      0|            next_instr += 2;
  |  | 7408|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7409|       |            /* Skip 1 cache entry */
  |  | 7410|       |            // _CHECK_PERIODIC
  |  | 7411|      0|            {
  |  | 7412|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7413|      0|                int err = check_periodics(tstate);
  |  | 7414|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7415|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7415:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7416|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7417|      0|                }
  |  | 7418|      0|            }
  |  | 7419|       |            // _MONITOR_JUMP_BACKWARD
  |  | 7420|      0|            {
  |  | 7421|      0|                INSTRUMENTED_JUMP(this_instr, next_instr - oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7422|      0|            }
  |  | 7423|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7424|      0|        }
  |  | 7425|       |
  |  | 7426|      0|        TARGET(INSTRUMENTED_JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7427|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7428|       |            int opcode = INSTRUMENTED_JUMP_FORWARD;
  |  | 7429|       |            (void)(opcode);
  |  | 7430|       |            #endif
  |  | 7431|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7432|      0|            (void)this_instr;
  |  | 7433|      0|            frame->instr_ptr = next_instr;
  |  | 7434|      0|            next_instr += 1;
  |  | 7435|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7436|      0|            INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7437|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7438|      0|        }
  |  | 7439|       |
  |  | 7440|      0|        TARGET(INSTRUMENTED_LINE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7441|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7442|       |            int opcode = INSTRUMENTED_LINE;
  |  | 7443|       |            (void)(opcode);
  |  | 7444|       |            #endif
  |  | 7445|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7446|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7447|      0|            (void)this_instr;
  |  | 7448|      0|            frame->instr_ptr = next_instr;
  |  | 7449|      0|            next_instr += 1;
  |  | 7450|      0|            INSTRUCTION_STATS(INSTRUMENTED_LINE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7451|      0|            opcode = INSTRUMENTED_LINE;
  |  |  ------------------
  |  |  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  |  |  ------------------
  |  | 7452|      0|            int original_opcode = 0;
  |  | 7453|      0|            if (tstate->tracing) {
  |  |  ------------------
  |  |  |  Branch (7453:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7454|      0|                PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 7455|      0|                int index = (int)(this_instr - _PyFrame_GetBytecode(frame));
  |  | 7456|      0|                original_opcode = code->_co_monitoring->lines->data[index*code->_co_monitoring->lines->bytes_per_entry];
  |  | 7457|      0|                next_instr = this_instr;
  |  | 7458|      0|            } else {
  |  | 7459|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7460|      0|                original_opcode = _Py_call_instrumentation_line(
  |  | 7461|      0|                    tstate, frame, this_instr, prev_instr);
  |  | 7462|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7463|      0|                if (original_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7463:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7464|      0|                    next_instr = this_instr+1;
  |  | 7465|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7466|      0|                }
  |  | 7467|      0|                next_instr = frame->instr_ptr;
  |  | 7468|      0|                if (next_instr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7468:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7469|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7470|      0|                }
  |  | 7471|      0|            }
  |  | 7472|      0|            if (_PyOpcode_Caches[original_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7472:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7473|      0|                _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(next_instr+1);
  |  | 7474|      0|                PAUSE_ADAPTIVE_COUNTER(cache->counter);
  |  |  ------------------
  |  |  |  |  362|      0|    do { \
  |  |  |  |  363|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  364|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (364:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7475|      0|            }
  |  | 7476|      0|            opcode = original_opcode;
  |  | 7477|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7478|      0|        }
  |  | 7479|       |
  |  | 7480|      0|        TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7481|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7482|       |            int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  | 7483|       |            (void)(opcode);
  |  | 7484|       |            #endif
  |  | 7485|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7486|      0|            (void)this_instr;
  |  | 7487|      0|            frame->instr_ptr = next_instr;
  |  | 7488|      0|            next_instr += 2;
  |  | 7489|      0|            INSTRUCTION_STATS(INSTRUMENTED_LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7490|      0|            opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  | 7491|      0|            _PyStackRef global_super_st;
  |  | 7492|      0|            _PyStackRef class_st;
  |  | 7493|      0|            _PyStackRef self_st;
  |  | 7494|      0|            _PyStackRef attr;
  |  | 7495|      0|            _PyStackRef *null;
  |  | 7496|       |            /* Skip 1 cache entry */
  |  | 7497|       |            // _LOAD_SUPER_ATTR
  |  | 7498|      0|            {
  |  | 7499|      0|                self_st = stack_pointer[-1];
  |  | 7500|      0|                class_st = stack_pointer[-2];
  |  | 7501|      0|                global_super_st = stack_pointer[-3];
  |  | 7502|      0|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  | 7503|      0|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  | 7504|      0|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  | 7505|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7505:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7506|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7506:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7507|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7508|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7509|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7510|      0|                        frame, this_instr, global_super, arg);
  |  | 7511|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7512|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7512:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7513|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7514|      0|                        _PyStackRef tmp = self_st;
  |  | 7515|      0|                        self_st = PyStackRef_NULL;
  |  | 7516|      0|                        stack_pointer[-1] = self_st;
  |  | 7517|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7518|      0|                        tmp = class_st;
  |  | 7519|      0|                        class_st = PyStackRef_NULL;
  |  | 7520|      0|                        stack_pointer[-2] = class_st;
  |  | 7521|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7522|      0|                        tmp = global_super_st;
  |  | 7523|      0|                        global_super_st = PyStackRef_NULL;
  |  | 7524|      0|                        stack_pointer[-3] = global_super_st;
  |  | 7525|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7526|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7527|      0|                        stack_pointer += -3;
  |  | 7528|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7529|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7530|      0|                    }
  |  | 7531|      0|                }
  |  | 7532|      0|                PyObject *super;
  |  | 7533|      0|                {
  |  | 7534|      0|                    PyObject *stack[] = {class, self};
  |  | 7535|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7536|      0|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  | 7537|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7538|      0|                }
  |  | 7539|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7539:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7540|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7540:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7541|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7541:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7542|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7543|      0|                        _Py_call_instrumentation_exc2(
  |  | 7544|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7545|      0|                            frame, this_instr, global_super, arg);
  |  | 7546|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7547|      0|                    }
  |  | 7548|      0|                    else {
  |  | 7549|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7550|      0|                        int err = _Py_call_instrumentation_2args(
  |  | 7551|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7552|      0|                            frame, this_instr, global_super, arg);
  |  | 7553|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7554|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7554:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7555|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7556|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7557|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7558|      0|                        }
  |  | 7559|      0|                    }
  |  | 7560|      0|                }
  |  | 7561|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7562|      0|                _PyStackRef tmp = self_st;
  |  | 7563|      0|                self_st = PyStackRef_NULL;
  |  | 7564|      0|                stack_pointer[-1] = self_st;
  |  | 7565|      0|                PyStackRef_CLOSE(tmp);
  |  | 7566|      0|                tmp = class_st;
  |  | 7567|      0|                class_st = PyStackRef_NULL;
  |  | 7568|      0|                stack_pointer[-2] = class_st;
  |  | 7569|      0|                PyStackRef_CLOSE(tmp);
  |  | 7570|      0|                tmp = global_super_st;
  |  | 7571|      0|                global_super_st = PyStackRef_NULL;
  |  | 7572|      0|                stack_pointer[-3] = global_super_st;
  |  | 7573|      0|                PyStackRef_CLOSE(tmp);
  |  | 7574|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7575|      0|                stack_pointer += -3;
  |  | 7576|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7577|      0|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7577:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7578|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7579|      0|                }
  |  | 7580|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7581|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7582|      0|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  | 7583|      0|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7584|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7585|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7585:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7586|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7587|      0|                }
  |  | 7588|      0|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  | 7589|      0|            }
  |  | 7590|       |            // _PUSH_NULL_CONDITIONAL
  |  | 7591|      0|            {
  |  | 7592|      0|                null = &stack_pointer[1];
  |  | 7593|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (7593:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7594|      0|                    null[0] = PyStackRef_NULL;
  |  | 7595|      0|                }
  |  | 7596|      0|            }
  |  | 7597|      0|            stack_pointer[0] = attr;
  |  | 7598|      0|            stack_pointer += 1 + (oparg & 1);
  |  | 7599|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7600|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7601|      0|        }
  |  | 7602|       |
  |  | 7603|      0|        TARGET(INSTRUMENTED_NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7605|       |            int opcode = INSTRUMENTED_NOT_TAKEN;
  |  | 7606|       |            (void)(opcode);
  |  | 7607|       |            #endif
  |  | 7608|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7609|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7610|      0|            (void)this_instr;
  |  | 7611|      0|            frame->instr_ptr = next_instr;
  |  | 7612|      0|            next_instr += 1;
  |  | 7613|      0|            INSTRUCTION_STATS(INSTRUMENTED_NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7614|      0|            (void)this_instr;
  |  | 7615|      0|            INSTRUMENTED_JUMP(prev_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7616|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7617|      0|        }
  |  | 7618|       |
  |  | 7619|      0|        TARGET(INSTRUMENTED_POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7620|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7621|       |            int opcode = INSTRUMENTED_POP_ITER;
  |  | 7622|       |            (void)(opcode);
  |  | 7623|       |            #endif
  |  | 7624|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7625|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7626|      0|            (void)this_instr;
  |  | 7627|      0|            frame->instr_ptr = next_instr;
  |  | 7628|      0|            next_instr += 1;
  |  | 7629|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7630|      0|            _PyStackRef iter;
  |  | 7631|      0|            _PyStackRef index_or_null;
  |  | 7632|      0|            index_or_null = stack_pointer[-1];
  |  | 7633|      0|            iter = stack_pointer[-2];
  |  | 7634|      0|            (void)index_or_null;
  |  | 7635|      0|            INSTRUMENTED_JUMP(prev_instr, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7636|      0|            stack_pointer += -2;
  |  | 7637|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7638|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7639|      0|            PyStackRef_CLOSE(iter);
  |  | 7640|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7641|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7642|      0|        }
  |  | 7643|       |
  |  | 7644|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7645|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7646|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
  |  | 7647|       |            (void)(opcode);
  |  | 7648|       |            #endif
  |  | 7649|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7650|      0|            (void)this_instr;
  |  | 7651|      0|            frame->instr_ptr = next_instr;
  |  | 7652|      0|            next_instr += 2;
  |  | 7653|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7654|      0|            _PyStackRef cond;
  |  | 7655|       |            /* Skip 1 cache entry */
  |  | 7656|      0|            cond = stack_pointer[-1];
  |  | 7657|      0|            assert(PyStackRef_BoolCheck(cond));
  |  | 7658|      0|            int jump = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|      0|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7659|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  373|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 7660|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (7660:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7661|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7662|      0|            }
  |  | 7663|      0|            stack_pointer += -1;
  |  | 7664|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7665|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7666|      0|        }
  |  | 7667|       |
  |  | 7668|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7669|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7670|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
  |  | 7671|       |            (void)(opcode);
  |  | 7672|       |            #endif
  |  | 7673|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7674|      0|            (void)this_instr;
  |  | 7675|      0|            frame->instr_ptr = next_instr;
  |  | 7676|      0|            next_instr += 2;
  |  | 7677|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7678|      0|            _PyStackRef value;
  |  | 7679|       |            /* Skip 1 cache entry */
  |  | 7680|      0|            value = stack_pointer[-1];
  |  | 7681|      0|            int jump = PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7682|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  373|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 7683|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (7683:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7684|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7685|      0|            }
  |  | 7686|      0|            else {
  |  | 7687|      0|                stack_pointer += -1;
  |  | 7688|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7689|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7690|      0|                PyStackRef_CLOSE(value);
  |  | 7691|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7692|      0|                stack_pointer += 1;
  |  | 7693|      0|            }
  |  | 7694|      0|            stack_pointer += -1;
  |  | 7695|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7696|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7697|      0|        }
  |  | 7698|       |
  |  | 7699|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7700|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7701|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
  |  | 7702|       |            (void)(opcode);
  |  | 7703|       |            #endif
  |  | 7704|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7705|      0|            (void)this_instr;
  |  | 7706|      0|            frame->instr_ptr = next_instr;
  |  | 7707|      0|            next_instr += 2;
  |  | 7708|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7709|      0|            _PyStackRef value;
  |  | 7710|       |            /* Skip 1 cache entry */
  |  | 7711|      0|            value = stack_pointer[-1];
  |  | 7712|      0|            int jump = !PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7713|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  373|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 7714|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (7714:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7715|      0|                stack_pointer += -1;
  |  | 7716|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7717|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7718|      0|                PyStackRef_CLOSE(value);
  |  | 7719|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7720|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7721|      0|            }
  |  | 7722|      0|            else {
  |  | 7723|      0|                stack_pointer += -1;
  |  | 7724|      0|            }
  |  | 7725|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7726|      0|        }
  |  | 7727|       |
  |  | 7728|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7729|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7730|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
  |  | 7731|       |            (void)(opcode);
  |  | 7732|       |            #endif
  |  | 7733|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7734|      0|            (void)this_instr;
  |  | 7735|      0|            frame->instr_ptr = next_instr;
  |  | 7736|      0|            next_instr += 2;
  |  | 7737|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7738|      0|            _PyStackRef cond;
  |  | 7739|       |            /* Skip 1 cache entry */
  |  | 7740|      0|            cond = stack_pointer[-1];
  |  | 7741|      0|            assert(PyStackRef_BoolCheck(cond));
  |  | 7742|      0|            int jump = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|      0|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7743|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  373|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 7744|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (7744:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7745|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  389|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  390|      0|do { \
  |  |  |  |  391|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (391:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  392|      0|        next_instr = dest; \
  |  |  |  |  393|      0|    } else { \
  |  |  |  |  394|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  395|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, dest); \
  |  |  |  |  396|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  397|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (397:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  398|      0|            next_instr = (dest)+1; \
  |  |  |  |  399|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  400|      0|        } \
  |  |  |  |  401|      0|    } \
  |  |  |  |  402|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7746|      0|            }
  |  | 7747|      0|            stack_pointer += -1;
  |  | 7748|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7749|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7750|      0|        }
  |  | 7751|       |
  |  | 7752|      0|        TARGET(INSTRUMENTED_RESUME) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7753|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7754|       |            int opcode = INSTRUMENTED_RESUME;
  |  | 7755|       |            (void)(opcode);
  |  | 7756|       |            #endif
  |  | 7757|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7758|      0|            (void)this_instr;
  |  | 7759|      0|            frame->instr_ptr = next_instr;
  |  | 7760|      0|            next_instr += 2;
  |  | 7761|      0|            INSTRUCTION_STATS(INSTRUMENTED_RESUME);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7762|       |            /* Skip 1 cache entry */
  |  | 7763|       |            // _LOAD_BYTECODE
  |  | 7764|      0|            {
  |  | 7765|       |                #ifdef Py_GIL_DISABLED
  |  | 7766|       |                if (frame->tlbc_index !=
  |  | 7767|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  | 7768|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7769|       |                    _Py_CODEUNIT *bytecode =
  |  | 7770|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  | 7771|       |                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7772|       |                    if (bytecode == NULL) {
  |  | 7773|       |                        JUMP_TO_LABEL(error);
  |  | 7774|       |                    }
  |  | 7775|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  | 7776|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  | 7777|       |                    frame->instr_ptr = bytecode + off;
  |  | 7778|       |                    next_instr = frame->instr_ptr;
  |  | 7779|       |                    DISPATCH();
  |  | 7780|       |                }
  |  | 7781|       |                #endif
  |  | 7782|      0|            }
  |  | 7783|       |            // _MAYBE_INSTRUMENT
  |  | 7784|      0|            {
  |  | 7785|       |                #ifdef Py_GIL_DISABLED
  |  | 7786|       |
  |  | 7787|       |                int check_instrumentation = 1;
  |  | 7788|       |                #else
  |  | 7789|      0|                int check_instrumentation = (tstate->tracing == 0);
  |  | 7790|      0|                #endif
  |  | 7791|      0|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (7791:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7792|      0|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  355|      0|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7793|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 7794|      0|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (7794:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7795|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7796|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  | 7797|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7798|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (7798:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7799|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7800|      0|                        }
  |  | 7801|      0|                        next_instr = this_instr;
  |  | 7802|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7803|      0|                    }
  |  | 7804|      0|                }
  |  | 7805|      0|            }
  |  | 7806|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  | 7807|      0|            {
  |  | 7808|      0|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|      0|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|      0|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (7808:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7809|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7810|      0|                    int err = check_periodics(tstate);
  |  | 7811|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7812|      0|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7812:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7813|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7814|      0|                    }
  |  | 7815|      0|                }
  |  | 7816|      0|            }
  |  | 7817|       |            // _MONITOR_RESUME
  |  | 7818|      0|            {
  |  | 7819|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7820|      0|                int err = _Py_call_instrumentation(
  |  | 7821|      0|                    tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_MONITORING_EVENT_PY_START 0
  |  |  ------------------
  |  |                                   tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   15|      0|#define PY_MONITORING_EVENT_PY_RESUME 1
  |  |  ------------------
  |  |  |  Branch (7821:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7822|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7823|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7823:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7824|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7825|      0|                }
  |  | 7826|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7826:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7827|      0|                    next_instr = frame->instr_ptr;
  |  | 7828|      0|                }
  |  | 7829|      0|            }
  |  | 7830|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7831|      0|        }
  |  | 7832|       |
  |  | 7833|      0|        TARGET(INSTRUMENTED_RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7834|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7835|       |            int opcode = INSTRUMENTED_RETURN_VALUE;
  |  | 7836|       |            (void)(opcode);
  |  | 7837|       |            #endif
  |  | 7838|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7839|      0|            (void)this_instr;
  |  | 7840|      0|            frame->instr_ptr = next_instr;
  |  | 7841|      0|            next_instr += 1;
  |  | 7842|      0|            INSTRUCTION_STATS(INSTRUMENTED_RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7843|      0|            _PyStackRef val;
  |  | 7844|      0|            _PyStackRef value;
  |  | 7845|      0|            _PyStackRef retval;
  |  | 7846|      0|            _PyStackRef res;
  |  | 7847|       |            // _RETURN_VALUE_EVENT
  |  | 7848|      0|            {
  |  | 7849|      0|                val = stack_pointer[-1];
  |  | 7850|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7851|      0|                int err = _Py_call_instrumentation_arg(
  |  | 7852|      0|                    tstate, PY_MONITORING_EVENT_PY_RETURN,
  |  |  ------------------
  |  |  |  |   16|      0|#define PY_MONITORING_EVENT_PY_RETURN 2
  |  |  ------------------
  |  | 7853|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 7854|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7855|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7855:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7856|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7857|      0|                }
  |  | 7858|      0|            }
  |  | 7859|       |            // _MAKE_HEAP_SAFE
  |  | 7860|      0|            {
  |  | 7861|      0|                value = val;
  |  | 7862|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 7863|      0|            }
  |  | 7864|       |            // _RETURN_VALUE
  |  | 7865|      0|            {
  |  | 7866|      0|                retval = value;
  |  | 7867|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  | 7868|      0|                _PyStackRef temp = retval;
  |  | 7869|      0|                stack_pointer += -1;
  |  | 7870|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7871|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7872|      0|                assert(STACK_LEVEL() == 0);
  |  | 7873|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 7874|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 7875|      0|                _PyInterpreterFrame *dying = frame;
  |  | 7876|      0|                frame = tstate->current_frame = dying->previous;
  |  | 7877|      0|                _PyEval_FrameClearAndPop(tstate, dying);
  |  | 7878|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7879|      0|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  419|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7880|      0|                res = temp;
  |  | 7881|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 7882|      0|            }
  |  | 7883|      0|            stack_pointer[0] = res;
  |  | 7884|      0|            stack_pointer += 1;
  |  | 7885|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7886|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7887|      0|        }
  |  | 7888|       |
  |  | 7889|      0|        TARGET(INSTRUMENTED_YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7890|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7891|       |            int opcode = INSTRUMENTED_YIELD_VALUE;
  |  | 7892|       |            (void)(opcode);
  |  | 7893|       |            #endif
  |  | 7894|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7895|      0|            (void)this_instr;
  |  | 7896|      0|            frame->instr_ptr = next_instr;
  |  | 7897|      0|            next_instr += 1;
  |  | 7898|      0|            INSTRUCTION_STATS(INSTRUMENTED_YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7899|      0|            opcode = INSTRUMENTED_YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_YIELD_VALUE               246
  |  |  ------------------
  |  | 7900|      0|            _PyStackRef val;
  |  | 7901|      0|            _PyStackRef value;
  |  | 7902|      0|            _PyStackRef retval;
  |  | 7903|       |            // _YIELD_VALUE_EVENT
  |  | 7904|      0|            {
  |  | 7905|      0|                val = stack_pointer[-1];
  |  | 7906|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7907|      0|                int err = _Py_call_instrumentation_arg(
  |  | 7908|      0|                    tstate, PY_MONITORING_EVENT_PY_YIELD,
  |  |  ------------------
  |  |  |  |   17|      0|#define PY_MONITORING_EVENT_PY_YIELD 3
  |  |  ------------------
  |  | 7909|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 7910|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7911|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7911:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7912|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7913|      0|                }
  |  | 7914|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7914:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7915|      0|                    next_instr = frame->instr_ptr;
  |  | 7916|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7917|      0|                }
  |  | 7918|      0|            }
  |  | 7919|       |            // _MAKE_HEAP_SAFE
  |  | 7920|      0|            {
  |  | 7921|      0|                value = val;
  |  | 7922|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 7923|      0|            }
  |  | 7924|       |            // _YIELD_VALUE
  |  | 7925|      0|            {
  |  | 7926|      0|                retval = value;
  |  | 7927|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  | 7928|      0|                frame->instr_ptr++;
  |  | 7929|      0|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  | 7930|      0|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  | 7931|      0|                assert(oparg == 0 || oparg == 1);
  |  | 7932|      0|                _PyStackRef temp = retval;
  |  | 7933|      0|                stack_pointer += -1;
  |  | 7934|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7935|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7936|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 7937|      0|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  | 7938|      0|                gen->gi_exc_state.previous_item = NULL;
  |  | 7939|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 7940|      0|                _PyInterpreterFrame *gen_frame = frame;
  |  | 7941|      0|                frame = tstate->current_frame = frame->previous;
  |  | 7942|      0|                gen_frame->previous = NULL;
  |  | 7943|      0|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  | 7944|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  | 7945|      0|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  | 7946|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  | 7947|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  | 7948|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 7949|       |                    assert(i >= 0 && i <= INT_MAX);
  |  | 7950|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  | 7951|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 7952|       |                }
  |  | 7953|       |                #endif
  |  | 7954|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7955|      0|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  419|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7956|      0|                value = temp;
  |  | 7957|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 7958|      0|            }
  |  | 7959|      0|            stack_pointer[0] = value;
  |  | 7960|      0|            stack_pointer += 1;
  |  | 7961|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7962|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7963|      0|        }
  |  | 7964|       |
  |  | 7965|  5.43M|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|  5.43M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7966|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7967|       |            int opcode = INTERPRETER_EXIT;
  |  | 7968|       |            (void)(opcode);
  |  | 7969|       |            #endif
  |  | 7970|  5.43M|            frame->instr_ptr = next_instr;
  |  | 7971|  5.43M|            next_instr += 1;
  |  | 7972|  5.43M|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|  5.43M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7973|  5.43M|            _PyStackRef retval;
  |  | 7974|  5.43M|            retval = stack_pointer[-1];
  |  | 7975|  5.43M|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  | 7976|  5.43M|            assert(_PyFrame_IsIncomplete(frame));
  |  | 7977|  5.43M|            tstate->current_frame = frame->previous;
  |  | 7978|  5.43M|            assert(!_PyErr_Occurred(tstate));
  |  | 7979|  5.43M|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 7980|  5.43M|            #if !_Py_TAIL_CALL_INTERP
  |  | 7981|  5.43M|            assert(frame == &entry.frame);
  |  | 7982|  5.43M|            #endif
  |  | 7983|       |            #ifdef _Py_TIER2
  |  | 7984|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 7985|       |            assert(tstate->current_executor == NULL);
  |  | 7986|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 7987|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 7988|       |                stack_pointer += -1;
  |  | 7989|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 7990|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7991|       |                PyStackRef_CLOSE(executor);
  |  | 7992|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7993|       |                stack_pointer += 1;
  |  | 7994|       |            }
  |  | 7995|       |            #endif
  |  | 7996|  5.43M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.43M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 7997|  5.43M|            return result;
  |  | 7998|  5.43M|        }
  |  | 7999|       |
  |  | 8000|  4.82M|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  4.82M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8001|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8002|       |            int opcode = IS_OP;
  |  | 8003|       |            (void)(opcode);
  |  | 8004|       |            #endif
  |  | 8005|  4.82M|            frame->instr_ptr = next_instr;
  |  | 8006|  4.82M|            next_instr += 1;
  |  | 8007|  4.82M|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  4.82M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8008|  4.82M|            _PyStackRef left;
  |  | 8009|  4.82M|            _PyStackRef right;
  |  | 8010|  4.82M|            _PyStackRef b;
  |  | 8011|  4.82M|            _PyStackRef l;
  |  | 8012|  4.82M|            _PyStackRef r;
  |  | 8013|  4.82M|            _PyStackRef value;
  |  | 8014|       |            // _IS_OP
  |  | 8015|  4.82M|            {
  |  | 8016|  4.82M|                right = stack_pointer[-1];
  |  | 8017|  4.82M|                left = stack_pointer[-2];
  |  | 8018|  4.82M|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  4.82M|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8019|  4.82M|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  4.08M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.08M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  5.57M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   745k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8019:21): [True: 4.08M, False: 745k]
  |  |  ------------------
  |  | 8020|  4.82M|                l = left;
  |  | 8021|  4.82M|                r = right;
  |  | 8022|  4.82M|            }
  |  | 8023|       |            // _POP_TOP
  |  | 8024|  4.82M|            {
  |  | 8025|  4.82M|                value = r;
  |  | 8026|  4.82M|                stack_pointer[-2] = b;
  |  | 8027|  4.82M|                stack_pointer[-1] = l;
  |  | 8028|  4.82M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8029|  4.82M|                PyStackRef_XCLOSE(value);
  |  | 8030|  4.82M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8031|  4.82M|            }
  |  | 8032|       |            // _POP_TOP
  |  | 8033|  4.82M|            {
  |  | 8034|  4.82M|                value = l;
  |  | 8035|  4.82M|                stack_pointer += -1;
  |  | 8036|  4.82M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.82M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8037|  4.82M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8038|  4.82M|                PyStackRef_XCLOSE(value);
  |  | 8039|  4.82M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8040|  4.82M|            }
  |  | 8041|  4.82M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.82M|    { \
  |  |  |  |  201|  4.82M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.82M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.82M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.82M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.82M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.82M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.82M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.82M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.82M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.82M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.82M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.82M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.82M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.82M|    }
  |  |  ------------------
  |  | 8042|  4.82M|        }
  |  | 8043|       |
  |  | 8044|  4.82M|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|  1.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8045|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8046|       |            int opcode = JUMP_BACKWARD;
  |  | 8047|       |            (void)(opcode);
  |  | 8048|       |            #endif
  |  | 8049|  1.20k|            frame->instr_ptr = next_instr;
  |  | 8050|  1.20k|            next_instr += 2;
  |  | 8051|  1.20k|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|  1.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8052|  1.20k|            PREDICTED_JUMP_BACKWARD:;
  |  | 8053|  1.20k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8054|  1.20k|            (void)this_instr;
  |  | 8055|       |            /* Skip 1 cache entry */
  |  | 8056|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8057|  1.20k|            {
  |  | 8058|  1.20k|                #if ENABLE_SPECIALIZATION
  |  | 8059|  1.20k|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   87|  1.20k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (8059:21): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 8060|  1.20k|                    uint8_t desired = tstate->interp->jit ? JUMP_BACKWARD_JIT : JUMP_BACKWARD_NO_JIT;
  |  |  ------------------
  |  |  |  |  186|      0|#define JUMP_BACKWARD_JIT                      181
  |  |  ------------------
  |  |                                   uint8_t desired = tstate->interp->jit ? JUMP_BACKWARD_JIT : JUMP_BACKWARD_NO_JIT;
  |  |  ------------------
  |  |  |  |  187|  2.40k|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8060:39): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 8061|  1.20k|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  170|  1.20k|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8062|  1.20k|                    next_instr = this_instr;
  |  | 8063|  1.20k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.20k|    { \
  |  |  |  |  217|  1.20k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.20k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.20k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.20k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.20k|    }
  |  |  ------------------
  |  | 8064|  1.20k|                }
  |  | 8065|  1.20k|                #endif
  |  | 8066|  1.20k|            }
  |  | 8067|       |            // _CHECK_PERIODIC
  |  | 8068|  1.20k|            {
  |  | 8069|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8070|  1.20k|                int err = check_periodics(tstate);
  |  | 8071|  1.20k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8072|  1.20k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8072:21): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 8073|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8074|      0|                }
  |  | 8075|  1.20k|            }
  |  | 8076|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8077|  1.20k|            {
  |  | 8078|  1.20k|                assert(oparg <= INSTR_OFFSET());
  |  | 8079|  1.20k|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  1.20k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8080|  1.20k|            }
  |  | 8081|  1.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.20k|    { \
  |  |  |  |  201|  1.20k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.20k|    }
  |  |  ------------------
  |  | 8082|  1.20k|        }
  |  | 8083|       |
  |  | 8084|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8085|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8086|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8087|       |            (void)(opcode);
  |  | 8088|       |            #endif
  |  | 8089|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8090|      0|            (void)this_instr;
  |  | 8091|      0|            frame->instr_ptr = next_instr;
  |  | 8092|      0|            next_instr += 2;
  |  | 8093|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8094|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8095|       |            /* Skip 1 cache entry */
  |  | 8096|       |            // _CHECK_PERIODIC
  |  | 8097|      0|            {
  |  | 8098|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8099|      0|                int err = check_periodics(tstate);
  |  | 8100|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8101|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8101:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8102|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8103|      0|                }
  |  | 8104|      0|            }
  |  | 8105|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8106|      0|            {
  |  | 8107|      0|                assert(oparg <= INSTR_OFFSET());
  |  | 8108|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8109|      0|            }
  |  | 8110|       |            // _JIT
  |  | 8111|      0|            {
  |  | 8112|       |                #ifdef _Py_TIER2
  |  | 8113|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8114|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8115|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8116|       |                        !IS_JIT_TRACING() &&
  |  | 8117|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8118|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8119|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8120|       |                    while (oparg > 255) {
  |  | 8121|       |                        oparg >>= 8;
  |  | 8122|       |                        insert_exec_at--;
  |  | 8123|       |                    }
  |  | 8124|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8125|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8126|       |                    if (succ) {
  |  | 8127|       |                        ENTER_TRACING();
  |  | 8128|       |                    }
  |  | 8129|       |                    else {
  |  | 8130|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8131|       |                    }
  |  | 8132|       |                }
  |  | 8133|       |                else {
  |  | 8134|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8135|       |                }
  |  | 8136|       |                #endif
  |  | 8137|      0|            }
  |  | 8138|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8139|      0|        }
  |  | 8140|       |
  |  | 8141|  53.8k|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  53.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8142|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8143|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8144|       |            (void)(opcode);
  |  | 8145|       |            #endif
  |  | 8146|  53.8k|            frame->instr_ptr = next_instr;
  |  | 8147|  53.8k|            next_instr += 1;
  |  | 8148|  53.8k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  53.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8149|  53.8k|            assert(oparg <= INSTR_OFFSET());
  |  | 8150|  53.8k|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  53.8k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8151|  53.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  53.8k|    { \
  |  |  |  |  201|  53.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  53.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  53.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  53.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  53.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  53.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  53.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  53.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 53.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  53.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  53.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  53.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  53.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  53.8k|    }
  |  |  ------------------
  |  | 8152|  53.8k|        }
  |  | 8153|       |
  |  | 8154|  12.6M|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  12.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8155|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8156|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8157|       |            (void)(opcode);
  |  | 8158|       |            #endif
  |  | 8159|  12.6M|            frame->instr_ptr = next_instr;
  |  | 8160|  12.6M|            next_instr += 2;
  |  | 8161|  12.6M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  12.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8162|  12.6M|            static_assert(1 == 1, "incorrect cache size");
  |  | 8163|       |            /* Skip 1 cache entry */
  |  | 8164|       |            // _CHECK_PERIODIC
  |  | 8165|  12.6M|            {
  |  | 8166|  12.6M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8167|  12.6M|                int err = check_periodics(tstate);
  |  | 8168|  12.6M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8169|  12.6M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8169:21): [True: 0, False: 12.6M]
  |  |  ------------------
  |  | 8170|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8171|      0|                }
  |  | 8172|  12.6M|            }
  |  | 8173|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8174|  12.6M|            {
  |  | 8175|  12.6M|                assert(oparg <= INSTR_OFFSET());
  |  | 8176|  12.6M|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  12.6M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8177|  12.6M|            }
  |  | 8178|  12.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.6M|    { \
  |  |  |  |  201|  12.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.6M|    }
  |  |  ------------------
  |  | 8179|  12.6M|        }
  |  | 8180|       |
  |  | 8181|  7.93M|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  7.93M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8182|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8183|       |            int opcode = JUMP_FORWARD;
  |  | 8184|       |            (void)(opcode);
  |  | 8185|       |            #endif
  |  | 8186|  7.93M|            frame->instr_ptr = next_instr;
  |  | 8187|  7.93M|            next_instr += 1;
  |  | 8188|  7.93M|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  7.93M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8189|  7.93M|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|  7.93M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8190|  7.93M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.93M|    { \
  |  |  |  |  201|  7.93M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.93M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.93M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.93M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.93M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.93M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.93M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.93M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.93M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.93M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.93M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.93M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.93M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.93M|    }
  |  |  ------------------
  |  | 8191|  7.93M|        }
  |  | 8192|       |
  |  | 8193|  7.93M|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  1.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8194|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8195|       |            int opcode = LIST_APPEND;
  |  | 8196|       |            (void)(opcode);
  |  | 8197|       |            #endif
  |  | 8198|  1.66M|            frame->instr_ptr = next_instr;
  |  | 8199|  1.66M|            next_instr += 1;
  |  | 8200|  1.66M|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  1.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8201|  1.66M|            _PyStackRef list;
  |  | 8202|  1.66M|            _PyStackRef v;
  |  | 8203|  1.66M|            v = stack_pointer[-1];
  |  | 8204|  1.66M|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8205|  1.66M|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8206|  1.66M|                PyStackRef_AsPyObjectSteal(v));
  |  | 8207|  1.66M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8207:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  | 8208|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8209|      0|            }
  |  | 8210|  1.66M|            stack_pointer += -1;
  |  | 8211|  1.66M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8212|  1.66M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.66M|    { \
  |  |  |  |  201|  1.66M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.66M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.66M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.66M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.66M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.66M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.66M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.66M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.66M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.66M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.66M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.66M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.66M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.66M|    }
  |  |  ------------------
  |  | 8213|  1.66M|        }
  |  | 8214|       |
  |  | 8215|  1.34M|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  1.34M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8216|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8217|       |            int opcode = LIST_EXTEND;
  |  | 8218|       |            (void)(opcode);
  |  | 8219|       |            #endif
  |  | 8220|  1.34M|            frame->instr_ptr = next_instr;
  |  | 8221|  1.34M|            next_instr += 1;
  |  | 8222|  1.34M|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  1.34M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8223|  1.34M|            _PyStackRef list_st;
  |  | 8224|  1.34M|            _PyStackRef iterable_st;
  |  | 8225|  1.34M|            _PyStackRef i;
  |  | 8226|  1.34M|            _PyStackRef value;
  |  | 8227|       |            // _LIST_EXTEND
  |  | 8228|  1.34M|            {
  |  | 8229|  1.34M|                iterable_st = stack_pointer[-1];
  |  | 8230|  1.34M|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8231|  1.34M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8232|  1.34M|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8233|  1.34M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8234|  1.34M|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8235|  1.34M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8236|  1.34M|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8236:21): [True: 0, False: 1.34M]
  |  |  ------------------
  |  | 8237|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8238|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8238:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8239|      0|                        (Py_TYPE(iterable)->tp_iter == NULL && !PySequence_Check(iterable)))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8239:26): [True: 0, False: 0]
  |  |  |  Branch (8239:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8240|      0|                    {
  |  | 8241|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8242|      0|                        _PyErr_Clear(tstate);
  |  | 8243|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8244|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8245|      0|                                  Py_TYPE(iterable)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8246|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8247|      0|                    }
  |  | 8248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8249|      0|                }
  |  | 8250|  1.34M|                assert(Py_IsNone(none_val));
  |  | 8251|  1.34M|                i = iterable_st;
  |  | 8252|  1.34M|            }
  |  | 8253|       |            // _POP_TOP
  |  | 8254|      0|            {
  |  | 8255|  1.34M|                value = i;
  |  | 8256|  1.34M|                stack_pointer += -1;
  |  | 8257|  1.34M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.34M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8258|  1.34M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8259|  1.34M|                PyStackRef_XCLOSE(value);
  |  | 8260|  1.34M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8261|  1.34M|            }
  |  | 8262|  1.34M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.34M|    { \
  |  |  |  |  201|  1.34M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.34M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.34M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.34M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.34M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.34M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.34M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.34M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.34M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.34M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.34M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.34M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.34M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.34M|    }
  |  |  ------------------
  |  | 8263|  1.34M|        }
  |  | 8264|       |
  |  | 8265|  28.9M|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  28.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8266|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8267|       |            int opcode = LOAD_ATTR;
  |  | 8268|       |            (void)(opcode);
  |  | 8269|       |            #endif
  |  | 8270|  28.9M|            frame->instr_ptr = next_instr;
  |  | 8271|  28.9M|            next_instr += 10;
  |  | 8272|  28.9M|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  28.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8273|  35.2M|            PREDICTED_LOAD_ATTR:;
  |  | 8274|  35.2M|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8275|  35.2M|            (void)this_instr;
  |  | 8276|  35.2M|            _PyStackRef owner;
  |  | 8277|  35.2M|            _PyStackRef attr;
  |  | 8278|  35.2M|            _PyStackRef *self_or_null;
  |  | 8279|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8280|  35.2M|            {
  |  | 8281|  35.2M|                owner = stack_pointer[-1];
  |  | 8282|  35.2M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8283|  35.2M|                (void)counter;
  |  | 8284|  35.2M|                #if ENABLE_SPECIALIZATION
  |  | 8285|  35.2M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  35.2M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 303k, False: 34.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8286|   303k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|   303k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   303k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   303k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8287|   303k|                    next_instr = this_instr;
  |  | 8288|   303k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8289|   303k|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8290|   303k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8291|   303k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   303k|    { \
  |  |  |  |  217|   303k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   303k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   303k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   303k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   303k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   303k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   303k|    }
  |  |  ------------------
  |  | 8292|   303k|                }
  |  | 8293|  35.2M|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  35.2M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8294|  35.2M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  35.2M|    do { \
  |  |  |  |  358|  35.2M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  35.2M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 35.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8295|  35.2M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8296|  35.2M|            }
  |  | 8297|       |            /* Skip 8 cache entries */
  |  | 8298|       |            // _LOAD_ATTR
  |  | 8299|  35.2M|            {
  |  | 8300|  35.2M|                self_or_null = &stack_pointer[0];
  |  | 8301|  35.2M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  235|  35.2M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  35.2M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  35.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  35.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8302|  35.2M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8302:21): [True: 13.1M, False: 22.0M]
  |  |  ------------------
  |  | 8303|  13.1M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8304|  13.1M|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8305|  13.1M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8306|  13.1M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  13.1M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  13.1M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  13.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 4, False: 13.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8307|      4|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8308|      0|                    }
  |  | 8309|  13.1M|                }
  |  | 8310|  22.0M|                else {
  |  | 8311|  22.0M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8312|  22.0M|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8313|  22.0M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8314|  22.0M|                    stack_pointer[-1] = attr;
  |  | 8315|  22.0M|                    stack_pointer += (oparg&1);
  |  | 8316|  22.0M|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8317|  22.0M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8318|  22.0M|                    PyStackRef_CLOSE(owner);
  |  | 8319|  22.0M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8320|  22.0M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  22.0M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  22.0M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  22.0M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 81.3k, False: 21.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8321|  81.3k|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  81.3k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8322|      0|                    }
  |  | 8323|  21.9M|                    stack_pointer += -(oparg&1);
  |  | 8324|  21.9M|                }
  |  | 8325|  35.2M|            }
  |  | 8326|  35.1M|            stack_pointer[-1] = attr;
  |  | 8327|  35.1M|            stack_pointer += (oparg&1);
  |  | 8328|  35.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8329|  35.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.1M|    { \
  |  |  |  |  201|  35.1M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  35.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  35.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  35.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  35.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  35.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  35.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  35.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 35.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.1M|    }
  |  |  ------------------
  |  | 8330|  35.1M|        }
  |  | 8331|       |
  |  | 8332|   393k|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   393k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8334|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8335|       |            (void)(opcode);
  |  | 8336|       |            #endif
  |  | 8337|   393k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8338|   393k|            (void)this_instr;
  |  | 8339|   393k|            frame->instr_ptr = next_instr;
  |  | 8340|   393k|            next_instr += 10;
  |  | 8341|   393k|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|   393k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8342|   393k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8343|   393k|            _PyStackRef owner;
  |  | 8344|   393k|            _PyStackRef attr;
  |  | 8345|   393k|            _PyStackRef *null;
  |  | 8346|       |            /* Skip 1 cache entry */
  |  | 8347|       |            // _CHECK_ATTR_CLASS
  |  | 8348|   393k|            {
  |  | 8349|   393k|                owner = stack_pointer[-1];
  |  | 8350|   393k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8351|   393k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8352|   393k|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|   393k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   393k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8352:21): [True: 0, False: 393k]
  |  |  ------------------
  |  | 8353|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8354|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8355|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8356|      0|                }
  |  | 8357|   393k|                assert(type_version != 0);
  |  | 8358|   393k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   393k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8358:21): [True: 44.8k, False: 348k]
  |  |  ------------------
  |  | 8359|  44.8k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  44.8k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8360|  44.8k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8361|  44.8k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  44.8k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8362|      0|                }
  |  | 8363|   393k|            }
  |  | 8364|       |            /* Skip 2 cache entries */
  |  | 8365|       |            // _LOAD_ATTR_CLASS
  |  | 8366|   348k|            {
  |  | 8367|   348k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8368|   348k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   348k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8369|   348k|                assert(descr != NULL);
  |  | 8370|   348k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|   348k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   348k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   348k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8371|   348k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8372|   348k|                _PyStackRef tmp = owner;
  |  | 8373|   348k|                owner = attr;
  |  | 8374|   348k|                stack_pointer[-1] = owner;
  |  | 8375|   348k|                PyStackRef_CLOSE(tmp);
  |  | 8376|   348k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8377|   348k|            }
  |  | 8378|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8379|   348k|            {
  |  | 8380|   348k|                null = &stack_pointer[0];
  |  | 8381|   348k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8381:21): [True: 30.1k, False: 318k]
  |  |  ------------------
  |  | 8382|  30.1k|                    null[0] = PyStackRef_NULL;
  |  | 8383|  30.1k|                }
  |  | 8384|   348k|            }
  |  | 8385|   348k|            stack_pointer += (oparg & 1);
  |  | 8386|   348k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   348k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8387|   348k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   348k|    { \
  |  |  |  |  201|   348k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   348k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   348k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   348k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   348k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   348k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   348k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   348k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 348k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   348k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   348k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   348k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   348k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   348k|    }
  |  |  ------------------
  |  | 8388|   348k|        }
  |  | 8389|       |
  |  | 8390|   706k|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|   706k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8391|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8392|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8393|       |            (void)(opcode);
  |  | 8394|       |            #endif
  |  | 8395|   706k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8396|   706k|            (void)this_instr;
  |  | 8397|   706k|            frame->instr_ptr = next_instr;
  |  | 8398|   706k|            next_instr += 10;
  |  | 8399|   706k|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|   706k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8400|   706k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8401|   706k|            _PyStackRef owner;
  |  | 8402|   706k|            _PyStackRef attr;
  |  | 8403|   706k|            _PyStackRef *null;
  |  | 8404|       |            /* Skip 1 cache entry */
  |  | 8405|       |            // _GUARD_TYPE_VERSION
  |  | 8406|   706k|            {
  |  | 8407|   706k|                owner = stack_pointer[-1];
  |  | 8408|   706k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8409|   706k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   706k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   706k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   706k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8410|   706k|                assert(type_version != 0);
  |  | 8411|   706k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   706k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8411:21): [True: 556, False: 705k]
  |  |  ------------------
  |  | 8412|    556|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|    556|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8413|    556|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8414|    556|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    556|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8415|      0|                }
  |  | 8416|   706k|            }
  |  | 8417|       |            // _CHECK_ATTR_CLASS
  |  | 8418|   705k|            {
  |  | 8419|   705k|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8420|   705k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8421|   705k|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|   705k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   705k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   705k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8421:21): [True: 0, False: 705k]
  |  |  ------------------
  |  | 8422|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8423|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8424|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8425|      0|                }
  |  | 8426|   705k|                assert(type_version != 0);
  |  | 8427|   705k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   705k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8427:21): [True: 4.24k, False: 701k]
  |  |  ------------------
  |  | 8428|  4.24k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  4.24k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8429|  4.24k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8430|  4.24k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  4.24k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8431|      0|                }
  |  | 8432|   705k|            }
  |  | 8433|       |            // _LOAD_ATTR_CLASS
  |  | 8434|   701k|            {
  |  | 8435|   701k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8436|   701k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   701k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8437|   701k|                assert(descr != NULL);
  |  | 8438|   701k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|   701k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   701k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   701k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8439|   701k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8440|   701k|                _PyStackRef tmp = owner;
  |  | 8441|   701k|                owner = attr;
  |  | 8442|   701k|                stack_pointer[-1] = owner;
  |  | 8443|   701k|                PyStackRef_CLOSE(tmp);
  |  | 8444|   701k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8445|   701k|            }
  |  | 8446|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8447|   701k|            {
  |  | 8448|   701k|                null = &stack_pointer[0];
  |  | 8449|   701k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8449:21): [True: 17.0k, False: 684k]
  |  |  ------------------
  |  | 8450|  17.0k|                    null[0] = PyStackRef_NULL;
  |  | 8451|  17.0k|                }
  |  | 8452|   701k|            }
  |  | 8453|   701k|            stack_pointer += (oparg & 1);
  |  | 8454|   701k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   701k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8455|   701k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   701k|    { \
  |  |  |  |  201|   701k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   701k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   701k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   701k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   701k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   701k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   701k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   701k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 701k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   701k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   701k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   701k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   701k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   701k|    }
  |  |  ------------------
  |  | 8456|   701k|        }
  |  | 8457|       |
  |  | 8458|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8459|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8460|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8461|       |            (void)(opcode);
  |  | 8462|       |            #endif
  |  | 8463|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8464|      0|            (void)this_instr;
  |  | 8465|      0|            frame->instr_ptr = next_instr;
  |  | 8466|      0|            next_instr += 10;
  |  | 8467|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8468|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8469|      0|            _PyStackRef owner;
  |  | 8470|      0|            _PyStackRef new_frame;
  |  | 8471|       |            /* Skip 1 cache entry */
  |  | 8472|       |            // _GUARD_TYPE_VERSION
  |  | 8473|      0|            {
  |  | 8474|      0|                owner = stack_pointer[-1];
  |  | 8475|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8476|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8477|      0|                assert(type_version != 0);
  |  | 8478|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8478:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8479|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8480|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8481|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8482|      0|                }
  |  | 8483|      0|            }
  |  | 8484|       |            // _CHECK_PEP_523
  |  | 8485|      0|            {
  |  | 8486|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8487|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8488|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8489|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8490|      0|                }
  |  | 8491|      0|            }
  |  | 8492|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8493|      0|            {
  |  | 8494|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8495|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8496|      0|                assert((oparg & 1) == 0);
  |  | 8497|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  | 8498|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8499|      0|                assert(func_version != 0);
  |  | 8500|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8500:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8501|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8502|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8503|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8504|      0|                }
  |  | 8505|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8506|      0|                assert(code->co_argcount == 2);
  |  | 8507|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8507:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8508|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8509|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8510|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8511|      0|                }
  |  | 8512|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8513|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  235|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8514|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8515|      0|                    tstate, PyStackRef_FromPyObjectNew(f), 2, frame);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8516|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8517|      0|                pushed_frame->localsplus[1] = PyStackRef_FromPyObjectNew(name);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8518|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8519|      0|            }
  |  | 8520|       |            // _SAVE_RETURN_OFFSET
  |  | 8521|      0|            {
  |  | 8522|      0|                #if TIER_ONE
  |  | 8523|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8524|      0|                #endif
  |  | 8525|       |                #if TIER_TWO
  |  | 8526|       |                frame->return_offset = oparg;
  |  | 8527|       |                #endif
  |  | 8528|      0|            }
  |  | 8529|       |            // _PUSH_FRAME
  |  | 8530|      0|            {
  |  | 8531|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 8532|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8533|      0|                stack_pointer += -1;
  |  | 8534|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8535|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8536|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 8537|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8538|      0|                frame = tstate->current_frame = temp;
  |  | 8539|      0|                tstate->py_recursion_remaining--;
  |  | 8540|      0|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|      0|#define LOAD_SP() \
  |  |  |  |  426|      0|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 8541|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8542|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8543|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8544|      0|            }
  |  | 8545|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8546|      0|        }
  |  | 8547|       |
  |  | 8548|  86.1M|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  86.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8550|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8551|       |            (void)(opcode);
  |  | 8552|       |            #endif
  |  | 8553|  86.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8554|  86.1M|            (void)this_instr;
  |  | 8555|  86.1M|            frame->instr_ptr = next_instr;
  |  | 8556|  86.1M|            next_instr += 10;
  |  | 8557|  86.1M|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  86.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8558|  86.1M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8559|  86.1M|            _PyStackRef owner;
  |  | 8560|  86.1M|            _PyStackRef attr;
  |  | 8561|  86.1M|            _PyStackRef o;
  |  | 8562|  86.1M|            _PyStackRef value;
  |  | 8563|  86.1M|            _PyStackRef *null;
  |  | 8564|       |            /* Skip 1 cache entry */
  |  | 8565|       |            // _GUARD_TYPE_VERSION
  |  | 8566|  86.1M|            {
  |  | 8567|  86.1M|                owner = stack_pointer[-1];
  |  | 8568|  86.1M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8569|  86.1M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  86.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8570|  86.1M|                assert(type_version != 0);
  |  | 8571|  86.1M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  86.1M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8571:21): [True: 684k, False: 85.5M]
  |  |  ------------------
  |  | 8572|   684k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   684k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8573|   684k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8574|   684k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   684k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8575|      0|                }
  |  | 8576|  86.1M|            }
  |  | 8577|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 8578|  85.5M|            {
  |  | 8579|  85.5M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8580|  85.5M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  | 8581|  85.5M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8582|  85.5M|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  85.5M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8582:21): [True: 0, False: 85.5M]
  |  |  ------------------
  |  | 8583|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8584|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8585|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8586|      0|                }
  |  | 8587|  85.5M|            }
  |  | 8588|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 8589|  85.5M|            {
  |  | 8590|  85.5M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 8591|  85.5M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8592|  85.5M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 8593|  85.5M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  150|  85.5M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8594|  85.5M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8594:21): [True: 76.5k, False: 85.4M]
  |  |  ------------------
  |  | 8595|  76.5k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  76.5k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8596|  76.5k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8597|  76.5k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  76.5k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8598|      0|                }
  |  | 8599|       |                #ifdef Py_GIL_DISABLED
  |  | 8600|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 8601|       |                if (!increfed) {
  |  | 8602|       |                    if (true) {
  |  | 8603|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8604|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8605|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8606|       |                    }
  |  | 8607|       |                }
  |  | 8608|       |                #else
  |  | 8609|  85.4M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  85.4M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  85.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  85.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8610|  85.4M|                #endif
  |  | 8611|  85.4M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  85.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8612|  85.4M|                o = owner;
  |  | 8613|  85.4M|            }
  |  | 8614|       |            // _POP_TOP
  |  | 8615|      0|            {
  |  | 8616|  85.4M|                value = o;
  |  | 8617|  85.4M|                stack_pointer[-1] = attr;
  |  | 8618|  85.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8619|  85.4M|                PyStackRef_XCLOSE(value);
  |  | 8620|  85.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8621|  85.4M|            }
  |  | 8622|       |            /* Skip 5 cache entries */
  |  | 8623|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8624|  85.4M|            {
  |  | 8625|  85.4M|                null = &stack_pointer[0];
  |  | 8626|  85.4M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8626:21): [True: 11.5k, False: 85.4M]
  |  |  ------------------
  |  | 8627|  11.5k|                    null[0] = PyStackRef_NULL;
  |  | 8628|  11.5k|                }
  |  | 8629|  85.4M|            }
  |  | 8630|  85.4M|            stack_pointer += (oparg & 1);
  |  | 8631|  85.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  85.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8632|  85.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  85.4M|    { \
  |  |  |  |  201|  85.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  85.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  85.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  85.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  85.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  85.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  85.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  85.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 85.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  85.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  85.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  85.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  85.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  85.4M|    }
  |  |  ------------------
  |  | 8633|  85.4M|        }
  |  | 8634|       |
  |  | 8635|  1.33M|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|  1.33M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8636|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8637|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 8638|       |            (void)(opcode);
  |  | 8639|       |            #endif
  |  | 8640|  1.33M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8641|  1.33M|            (void)this_instr;
  |  | 8642|  1.33M|            frame->instr_ptr = next_instr;
  |  | 8643|  1.33M|            next_instr += 10;
  |  | 8644|  1.33M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|  1.33M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8645|  1.33M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8646|  1.33M|            _PyStackRef owner;
  |  | 8647|  1.33M|            _PyStackRef attr;
  |  | 8648|  1.33M|            _PyStackRef self;
  |  | 8649|       |            /* Skip 1 cache entry */
  |  | 8650|       |            // _GUARD_TYPE_VERSION
  |  | 8651|  1.33M|            {
  |  | 8652|  1.33M|                owner = stack_pointer[-1];
  |  | 8653|  1.33M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8654|  1.33M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  1.33M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8655|  1.33M|                assert(type_version != 0);
  |  | 8656|  1.33M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  1.33M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8656:21): [True: 2, False: 1.33M]
  |  |  ------------------
  |  | 8657|      2|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8658|      2|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8659|      2|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8660|      0|                }
  |  | 8661|  1.33M|            }
  |  | 8662|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 8663|  1.33M|            {
  |  | 8664|  1.33M|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 8665|  1.33M|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  925|  1.33M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 8666|  1.33M|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  150|  1.33M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8667|  1.33M|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (8667:21): [True: 0, False: 1.33M]
  |  |  ------------------
  |  | 8668|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8669|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8670|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8671|      0|                }
  |  | 8672|  1.33M|            }
  |  | 8673|       |            /* Skip 1 cache entry */
  |  | 8674|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 8675|  1.33M|            {
  |  | 8676|  1.33M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8677|  1.33M|                assert(oparg & 1);
  |  | 8678|  1.33M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.33M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8679|  1.33M|                assert(descr != NULL);
  |  | 8680|  1.33M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8681|  1.33M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  1.33M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8682|  1.33M|                self = owner;
  |  | 8683|  1.33M|            }
  |  | 8684|  1.33M|            stack_pointer[-1] = attr;
  |  | 8685|  1.33M|            stack_pointer[0] = self;
  |  | 8686|  1.33M|            stack_pointer += 1;
  |  | 8687|  1.33M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.33M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8688|  1.33M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.33M|    { \
  |  |  |  |  201|  1.33M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.33M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.33M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.33M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.33M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.33M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.33M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.33M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.33M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.33M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.33M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.33M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.33M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.33M|    }
  |  |  ------------------
  |  | 8689|  1.33M|        }
  |  | 8690|       |
  |  | 8691|  8.22M|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  8.22M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8692|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8693|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 8694|       |            (void)(opcode);
  |  | 8695|       |            #endif
  |  | 8696|  8.22M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8697|  8.22M|            (void)this_instr;
  |  | 8698|  8.22M|            frame->instr_ptr = next_instr;
  |  | 8699|  8.22M|            next_instr += 10;
  |  | 8700|  8.22M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  8.22M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8701|  8.22M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8702|  8.22M|            _PyStackRef owner;
  |  | 8703|  8.22M|            _PyStackRef attr;
  |  | 8704|  8.22M|            _PyStackRef self;
  |  | 8705|       |            /* Skip 1 cache entry */
  |  | 8706|       |            // _GUARD_TYPE_VERSION
  |  | 8707|  8.22M|            {
  |  | 8708|  8.22M|                owner = stack_pointer[-1];
  |  | 8709|  8.22M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8710|  8.22M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  8.22M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8711|  8.22M|                assert(type_version != 0);
  |  | 8712|  8.22M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  8.22M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8712:21): [True: 0, False: 8.22M]
  |  |  ------------------
  |  | 8713|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8714|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8715|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8716|      0|                }
  |  | 8717|  8.22M|            }
  |  | 8718|       |            /* Skip 2 cache entries */
  |  | 8719|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 8720|  8.22M|            {
  |  | 8721|  8.22M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8722|  8.22M|                assert(oparg & 1);
  |  | 8723|  8.22M|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  | 8724|  8.22M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  8.22M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8725|  8.22M|                assert(descr != NULL);
  |  | 8726|  8.22M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8727|  8.22M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  8.22M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8728|  8.22M|                self = owner;
  |  | 8729|  8.22M|            }
  |  | 8730|  8.22M|            stack_pointer[-1] = attr;
  |  | 8731|  8.22M|            stack_pointer[0] = self;
  |  | 8732|  8.22M|            stack_pointer += 1;
  |  | 8733|  8.22M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.22M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8734|  8.22M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.22M|    { \
  |  |  |  |  201|  8.22M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.22M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.22M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.22M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.22M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.22M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.22M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.22M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.22M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.22M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.22M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.22M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.22M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.22M|    }
  |  |  ------------------
  |  | 8735|  8.22M|        }
  |  | 8736|       |
  |  | 8737|  19.9M|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  19.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8738|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8739|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 8740|       |            (void)(opcode);
  |  | 8741|       |            #endif
  |  | 8742|  19.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8743|  19.9M|            (void)this_instr;
  |  | 8744|  19.9M|            frame->instr_ptr = next_instr;
  |  | 8745|  19.9M|            next_instr += 10;
  |  | 8746|  19.9M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  19.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8747|  19.9M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8748|  19.9M|            _PyStackRef owner;
  |  | 8749|  19.9M|            _PyStackRef attr;
  |  | 8750|  19.9M|            _PyStackRef self;
  |  | 8751|       |            /* Skip 1 cache entry */
  |  | 8752|       |            // _GUARD_TYPE_VERSION
  |  | 8753|  19.9M|            {
  |  | 8754|  19.9M|                owner = stack_pointer[-1];
  |  | 8755|  19.9M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8756|  19.9M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  19.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8757|  19.9M|                assert(type_version != 0);
  |  | 8758|  19.9M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  19.9M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8758:21): [True: 338k, False: 19.5M]
  |  |  ------------------
  |  | 8759|   338k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   338k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8760|   338k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8761|   338k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   338k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8762|      0|                }
  |  | 8763|  19.9M|            }
  |  | 8764|       |            // _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT
  |  | 8765|  19.5M|            {
  |  | 8766|  19.5M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8767|  19.5M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8768|  19.5M|                PyDictValues *ivs = _PyObject_InlineValues(owner_o);
  |  | 8769|  19.5M|                if (!FT_ATOMIC_LOAD_UINT8(ivs->valid)) {
  |  |  ------------------
  |  |  |  |  154|  19.5M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8769:21): [True: 4.72M, False: 14.8M]
  |  |  ------------------
  |  | 8770|  4.72M|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  4.72M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8771|  4.72M|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8772|  4.72M|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  4.72M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8773|      0|                }
  |  | 8774|  19.5M|            }
  |  | 8775|       |            // _GUARD_KEYS_VERSION
  |  | 8776|  14.8M|            {
  |  | 8777|  14.8M|                uint32_t keys_version = read_u32(&this_instr[4].cache);
  |  | 8778|  14.8M|                PyTypeObject *owner_cls = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  14.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8779|  14.8M|                PyHeapTypeObject *owner_heap_type = (PyHeapTypeObject *)owner_cls;
  |  | 8780|  14.8M|                PyDictKeysObject *keys = owner_heap_type->ht_cached_keys;
  |  | 8781|  14.8M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != keys_version) {
  |  |  ------------------
  |  |  |  |  159|  14.8M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8781:21): [True: 63, False: 14.8M]
  |  |  ------------------
  |  | 8782|     63|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|     63|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8783|     63|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8784|     63|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     63|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8785|      0|                }
  |  | 8786|  14.8M|            }
  |  | 8787|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 8788|  14.8M|            {
  |  | 8789|  14.8M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8790|  14.8M|                assert(oparg & 1);
  |  | 8791|  14.8M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  14.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8792|  14.8M|                assert(descr != NULL);
  |  | 8793|  14.8M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8794|  14.8M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  14.8M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8795|  14.8M|                self = owner;
  |  | 8796|  14.8M|            }
  |  | 8797|  14.8M|            stack_pointer[-1] = attr;
  |  | 8798|  14.8M|            stack_pointer[0] = self;
  |  | 8799|  14.8M|            stack_pointer += 1;
  |  | 8800|  14.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8801|  14.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.8M|    { \
  |  |  |  |  201|  14.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  14.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  14.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  14.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  14.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  14.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  14.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 14.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.8M|    }
  |  |  ------------------
  |  | 8802|  14.8M|        }
  |  | 8803|       |
  |  | 8804|  2.29M|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  2.29M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8805|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8806|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 8807|       |            (void)(opcode);
  |  | 8808|       |            #endif
  |  | 8809|  2.29M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8810|  2.29M|            (void)this_instr;
  |  | 8811|  2.29M|            frame->instr_ptr = next_instr;
  |  | 8812|  2.29M|            next_instr += 10;
  |  | 8813|  2.29M|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  2.29M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8814|  2.29M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8815|  2.29M|            _PyStackRef owner;
  |  | 8816|  2.29M|            _PyStackRef attr;
  |  | 8817|  2.29M|            _PyStackRef o;
  |  | 8818|  2.29M|            _PyStackRef value;
  |  | 8819|  2.29M|            _PyStackRef *null;
  |  | 8820|       |            /* Skip 1 cache entry */
  |  | 8821|       |            // _LOAD_ATTR_MODULE
  |  | 8822|  2.29M|            {
  |  | 8823|  2.29M|                owner = stack_pointer[-1];
  |  | 8824|  2.29M|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 8825|  2.29M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 8826|  2.29M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8827|  2.29M|                if (Py_TYPE(owner_o)->tp_getattro != PyModule_Type.tp_getattro) {
  |  |  ------------------
  |  |  |  |  213|  2.29M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8827:21): [True: 0, False: 2.29M]
  |  |  ------------------
  |  | 8828|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8829|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8830|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8831|      0|                }
  |  | 8832|  2.29M|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 8833|  2.29M|                assert(dict != NULL);
  |  | 8834|  2.29M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  2.29M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8835|  2.29M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  159|  2.29M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8835:21): [True: 4.03k, False: 2.29M]
  |  |  ------------------
  |  | 8836|  4.03k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  4.03k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8837|  4.03k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8838|  4.03k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  4.03k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8839|      0|                }
  |  | 8840|  2.29M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 8841|  2.29M|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  | 8842|  2.29M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 8843|  2.29M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_value);
  |  |  ------------------
  |  |  |  |  153|  2.29M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 8844|  2.29M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8844:21): [True: 0, False: 2.29M]
  |  |  ------------------
  |  | 8845|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8846|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8847|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8848|      0|                }
  |  | 8849|       |                #ifdef Py_GIL_DISABLED
  |  | 8850|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 8851|       |                if (!increfed) {
  |  | 8852|       |                    if (true) {
  |  | 8853|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8854|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8855|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8856|       |                    }
  |  | 8857|       |                }
  |  | 8858|       |                #else
  |  | 8859|  2.29M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  2.29M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8860|  2.29M|                #endif
  |  | 8861|  2.29M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.29M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8862|  2.29M|                o = owner;
  |  | 8863|  2.29M|            }
  |  | 8864|       |            // _POP_TOP
  |  | 8865|      0|            {
  |  | 8866|  2.29M|                value = o;
  |  | 8867|  2.29M|                stack_pointer[-1] = attr;
  |  | 8868|  2.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8869|  2.29M|                PyStackRef_XCLOSE(value);
  |  | 8870|  2.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8871|  2.29M|            }
  |  | 8872|       |            /* Skip 5 cache entries */
  |  | 8873|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8874|  2.29M|            {
  |  | 8875|  2.29M|                null = &stack_pointer[0];
  |  | 8876|  2.29M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8876:21): [True: 40.6k, False: 2.25M]
  |  |  ------------------
  |  | 8877|  40.6k|                    null[0] = PyStackRef_NULL;
  |  | 8878|  40.6k|                }
  |  | 8879|  2.29M|            }
  |  | 8880|  2.29M|            stack_pointer += (oparg & 1);
  |  | 8881|  2.29M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.29M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8882|  2.29M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.29M|    { \
  |  |  |  |  201|  2.29M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.29M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.29M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.29M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.29M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.29M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.29M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.29M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.29M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.29M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.29M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.29M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.29M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.29M|    }
  |  |  ------------------
  |  | 8883|  2.29M|        }
  |  | 8884|       |
  |  | 8885|  36.1k|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  36.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8886|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8887|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 8888|       |            (void)(opcode);
  |  | 8889|       |            #endif
  |  | 8890|  36.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8891|  36.1k|            (void)this_instr;
  |  | 8892|  36.1k|            frame->instr_ptr = next_instr;
  |  | 8893|  36.1k|            next_instr += 10;
  |  | 8894|  36.1k|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  36.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8895|  36.1k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8896|  36.1k|            _PyStackRef owner;
  |  | 8897|  36.1k|            _PyStackRef attr;
  |  | 8898|       |            /* Skip 1 cache entry */
  |  | 8899|       |            // _GUARD_TYPE_VERSION
  |  | 8900|  36.1k|            {
  |  | 8901|  36.1k|                owner = stack_pointer[-1];
  |  | 8902|  36.1k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8903|  36.1k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  36.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8904|  36.1k|                assert(type_version != 0);
  |  | 8905|  36.1k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  36.1k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8905:21): [True: 78, False: 36.0k]
  |  |  ------------------
  |  | 8906|     78|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|     78|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8907|     78|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8908|     78|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     78|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8909|      0|                }
  |  | 8910|  36.1k|            }
  |  | 8911|       |            /* Skip 2 cache entries */
  |  | 8912|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 8913|  36.0k|            {
  |  | 8914|  36.0k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8915|  36.0k|                assert((oparg & 1) == 0);
  |  | 8916|  36.0k|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  | 8917|  36.0k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  36.0k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8918|  36.0k|                assert(descr != NULL);
  |  | 8919|  36.0k|                stack_pointer += -1;
  |  | 8920|  36.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8921|  36.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8922|  36.0k|                PyStackRef_CLOSE(owner);
  |  | 8923|  36.0k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8924|  36.0k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  36.0k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8925|  36.0k|            }
  |  | 8926|  36.0k|            stack_pointer[0] = attr;
  |  | 8927|  36.0k|            stack_pointer += 1;
  |  | 8928|  36.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8929|  36.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.0k|    { \
  |  |  |  |  201|  36.0k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  36.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  36.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  36.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  36.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  36.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  36.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  36.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 36.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.0k|    }
  |  |  ------------------
  |  | 8930|  36.0k|        }
  |  | 8931|       |
  |  | 8932|  1.73M|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  1.73M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8933|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8934|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 8935|       |            (void)(opcode);
  |  | 8936|       |            #endif
  |  | 8937|  1.73M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8938|  1.73M|            (void)this_instr;
  |  | 8939|  1.73M|            frame->instr_ptr = next_instr;
  |  | 8940|  1.73M|            next_instr += 10;
  |  | 8941|  1.73M|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  1.73M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8942|  1.73M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8943|  1.73M|            _PyStackRef owner;
  |  | 8944|  1.73M|            _PyStackRef attr;
  |  | 8945|       |            /* Skip 1 cache entry */
  |  | 8946|       |            // _GUARD_TYPE_VERSION
  |  | 8947|  1.73M|            {
  |  | 8948|  1.73M|                owner = stack_pointer[-1];
  |  | 8949|  1.73M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8950|  1.73M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  1.73M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8951|  1.73M|                assert(type_version != 0);
  |  | 8952|  1.73M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  1.73M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8952:21): [True: 221, False: 1.73M]
  |  |  ------------------
  |  | 8953|    221|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|    221|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8954|    221|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8955|    221|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    221|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8956|      0|                }
  |  | 8957|  1.73M|            }
  |  | 8958|       |            // _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT
  |  | 8959|  1.73M|            {
  |  | 8960|  1.73M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8961|  1.73M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8962|  1.73M|                PyDictValues *ivs = _PyObject_InlineValues(owner_o);
  |  | 8963|  1.73M|                if (!FT_ATOMIC_LOAD_UINT8(ivs->valid)) {
  |  |  ------------------
  |  |  |  |  154|  1.73M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8963:21): [True: 0, False: 1.73M]
  |  |  ------------------
  |  | 8964|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8965|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8966|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8967|      0|                }
  |  | 8968|  1.73M|            }
  |  | 8969|       |            // _GUARD_KEYS_VERSION
  |  | 8970|  1.73M|            {
  |  | 8971|  1.73M|                uint32_t keys_version = read_u32(&this_instr[4].cache);
  |  | 8972|  1.73M|                PyTypeObject *owner_cls = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  1.73M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8973|  1.73M|                PyHeapTypeObject *owner_heap_type = (PyHeapTypeObject *)owner_cls;
  |  | 8974|  1.73M|                PyDictKeysObject *keys = owner_heap_type->ht_cached_keys;
  |  | 8975|  1.73M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != keys_version) {
  |  |  ------------------
  |  |  |  |  159|  1.73M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8975:21): [True: 37, False: 1.73M]
  |  |  ------------------
  |  | 8976|     37|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|     37|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8977|     37|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8978|     37|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     37|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8979|      0|                }
  |  | 8980|  1.73M|            }
  |  | 8981|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 8982|  1.73M|            {
  |  | 8983|  1.73M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8984|  1.73M|                assert((oparg & 1) == 0);
  |  | 8985|  1.73M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.73M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8986|  1.73M|                assert(descr != NULL);
  |  | 8987|  1.73M|                stack_pointer += -1;
  |  | 8988|  1.73M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8989|  1.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8990|  1.73M|                PyStackRef_CLOSE(owner);
  |  | 8991|  1.73M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8992|  1.73M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  1.73M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8993|  1.73M|            }
  |  | 8994|  1.73M|            stack_pointer[0] = attr;
  |  | 8995|  1.73M|            stack_pointer += 1;
  |  | 8996|  1.73M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.73M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8997|  1.73M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.73M|    { \
  |  |  |  |  201|  1.73M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.73M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.73M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.73M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.73M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.73M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.73M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.73M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.73M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.73M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.73M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.73M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.73M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.73M|    }
  |  |  ------------------
  |  | 8998|  1.73M|        }
  |  | 8999|       |
  |  | 9000|  5.55M|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|  5.55M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9001|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9002|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9003|       |            (void)(opcode);
  |  | 9004|       |            #endif
  |  | 9005|  5.55M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9006|  5.55M|            (void)this_instr;
  |  | 9007|  5.55M|            frame->instr_ptr = next_instr;
  |  | 9008|  5.55M|            next_instr += 10;
  |  | 9009|  5.55M|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|  5.55M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9010|  5.55M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9011|  5.55M|            _PyStackRef owner;
  |  | 9012|  5.55M|            _PyStackRef new_frame;
  |  | 9013|       |            /* Skip 1 cache entry */
  |  | 9014|       |            // _GUARD_TYPE_VERSION
  |  | 9015|  5.55M|            {
  |  | 9016|  5.55M|                owner = stack_pointer[-1];
  |  | 9017|  5.55M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9018|  5.55M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9019|  5.55M|                assert(type_version != 0);
  |  | 9020|  5.55M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  5.55M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9020:21): [True: 368k, False: 5.18M]
  |  |  ------------------
  |  | 9021|   368k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   368k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9022|   368k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9023|   368k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   368k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9024|      0|                }
  |  | 9025|  5.55M|            }
  |  | 9026|       |            // _CHECK_PEP_523
  |  | 9027|  5.18M|            {
  |  | 9028|  5.18M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  5.18M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 5.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9029|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9030|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9031|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9032|      0|                }
  |  | 9033|  5.18M|            }
  |  | 9034|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9035|  5.18M|            {
  |  | 9036|  5.18M|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9037|  5.18M|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9038|  5.18M|                assert((oparg & 1) == 0);
  |  | 9039|  5.18M|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  | 9040|  5.18M|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9041|  5.18M|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9041:21): [True: 0, False: 5.18M]
  |  |  ------------------
  |  | 9042|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9043|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9044|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9045|      0|                }
  |  | 9046|  5.18M|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9047|  5.18M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9047:21): [True: 0, False: 5.18M]
  |  |  ------------------
  |  | 9048|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9049|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9050|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9051|      0|                }
  |  | 9052|  5.18M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.18M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9053|  5.18M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|  5.18M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9054|  5.18M|                pushed_frame->localsplus[0] = owner;
  |  | 9055|  5.18M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9056|  5.18M|            }
  |  | 9057|       |            // _SAVE_RETURN_OFFSET
  |  | 9058|      0|            {
  |  | 9059|  5.18M|                #if TIER_ONE
  |  | 9060|  5.18M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9061|  5.18M|                #endif
  |  | 9062|       |                #if TIER_TWO
  |  | 9063|       |                frame->return_offset = oparg;
  |  | 9064|       |                #endif
  |  | 9065|  5.18M|            }
  |  | 9066|       |            // _PUSH_FRAME
  |  | 9067|  5.18M|            {
  |  | 9068|  5.18M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 9069|  5.18M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9070|  5.18M|                stack_pointer += -1;
  |  | 9071|  5.18M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.18M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9072|  5.18M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9073|  5.18M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 9074|  5.18M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  5.18M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9075|  5.18M|                frame = tstate->current_frame = temp;
  |  | 9076|  5.18M|                tstate->py_recursion_remaining--;
  |  | 9077|  5.18M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  5.18M|#define LOAD_SP() \
  |  |  |  |  426|  5.18M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 9078|  5.18M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  5.18M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  5.18M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  5.18M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 5.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9079|  5.18M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  5.18M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9080|  5.18M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.18M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9081|  5.18M|            }
  |  | 9082|  5.18M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.18M|    { \
  |  |  |  |  201|  5.18M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.18M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.18M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.18M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.18M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.18M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.18M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.18M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.18M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.18M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.18M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.18M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.18M|    }
  |  |  ------------------
  |  | 9083|  5.18M|        }
  |  | 9084|       |
  |  | 9085|  4.31M|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  4.31M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9086|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9087|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9088|       |            (void)(opcode);
  |  | 9089|       |            #endif
  |  | 9090|  4.31M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9091|  4.31M|            (void)this_instr;
  |  | 9092|  4.31M|            frame->instr_ptr = next_instr;
  |  | 9093|  4.31M|            next_instr += 10;
  |  | 9094|  4.31M|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  4.31M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9095|  4.31M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9096|  4.31M|            _PyStackRef owner;
  |  | 9097|  4.31M|            _PyStackRef attr;
  |  | 9098|  4.31M|            _PyStackRef o;
  |  | 9099|  4.31M|            _PyStackRef value;
  |  | 9100|  4.31M|            _PyStackRef *null;
  |  | 9101|       |            /* Skip 1 cache entry */
  |  | 9102|       |            // _GUARD_TYPE_VERSION
  |  | 9103|  4.31M|            {
  |  | 9104|  4.31M|                owner = stack_pointer[-1];
  |  | 9105|  4.31M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9106|  4.31M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  4.31M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9107|  4.31M|                assert(type_version != 0);
  |  | 9108|  4.31M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  4.31M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9108:21): [True: 44.6k, False: 4.26M]
  |  |  ------------------
  |  | 9109|  44.6k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  44.6k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9110|  44.6k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9111|  44.6k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  44.6k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9112|      0|                }
  |  | 9113|  4.31M|            }
  |  | 9114|       |            // _LOAD_ATTR_SLOT
  |  | 9115|  4.26M|            {
  |  | 9116|  4.26M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9117|  4.26M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9118|  4.26M|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9119|  4.26M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  145|  4.26M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9120|  4.26M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9120:21): [True: 3.24k, False: 4.26M]
  |  |  ------------------
  |  | 9121|  3.24k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  3.24k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9122|  3.24k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9123|  3.24k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  3.24k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9124|      0|                }
  |  | 9125|       |                #ifdef Py_GIL_DISABLED
  |  | 9126|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9127|       |                if (!increfed) {
  |  | 9128|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9129|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9130|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9131|       |                }
  |  | 9132|       |                #else
  |  | 9133|  4.26M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  4.26M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9134|  4.26M|                #endif
  |  | 9135|  4.26M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  4.26M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9136|  4.26M|                o = owner;
  |  | 9137|  4.26M|            }
  |  | 9138|       |            // _POP_TOP
  |  | 9139|      0|            {
  |  | 9140|  4.26M|                value = o;
  |  | 9141|  4.26M|                stack_pointer[-1] = attr;
  |  | 9142|  4.26M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9143|  4.26M|                PyStackRef_XCLOSE(value);
  |  | 9144|  4.26M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9145|  4.26M|            }
  |  | 9146|       |            /* Skip 5 cache entries */
  |  | 9147|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9148|  4.26M|            {
  |  | 9149|  4.26M|                null = &stack_pointer[0];
  |  | 9150|  4.26M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9150:21): [True: 131, False: 4.26M]
  |  |  ------------------
  |  | 9151|    131|                    null[0] = PyStackRef_NULL;
  |  | 9152|    131|                }
  |  | 9153|  4.26M|            }
  |  | 9154|  4.26M|            stack_pointer += (oparg & 1);
  |  | 9155|  4.26M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9156|  4.26M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.26M|    { \
  |  |  |  |  201|  4.26M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.26M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.26M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.26M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.26M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.26M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.26M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.26M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.26M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.26M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.26M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.26M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.26M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.26M|    }
  |  |  ------------------
  |  | 9157|  4.26M|        }
  |  | 9158|       |
  |  | 9159|  5.92M|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|  5.92M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9160|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9161|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9162|       |            (void)(opcode);
  |  | 9163|       |            #endif
  |  | 9164|  5.92M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9165|  5.92M|            (void)this_instr;
  |  | 9166|  5.92M|            frame->instr_ptr = next_instr;
  |  | 9167|  5.92M|            next_instr += 10;
  |  | 9168|  5.92M|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|  5.92M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9169|  5.92M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9170|  5.92M|            _PyStackRef owner;
  |  | 9171|  5.92M|            _PyStackRef attr;
  |  | 9172|  5.92M|            _PyStackRef o;
  |  | 9173|  5.92M|            _PyStackRef value;
  |  | 9174|  5.92M|            _PyStackRef *null;
  |  | 9175|       |            /* Skip 1 cache entry */
  |  | 9176|       |            // _GUARD_TYPE_VERSION
  |  | 9177|  5.92M|            {
  |  | 9178|  5.92M|                owner = stack_pointer[-1];
  |  | 9179|  5.92M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9180|  5.92M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.92M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9181|  5.92M|                assert(type_version != 0);
  |  | 9182|  5.92M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  5.92M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9182:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9183|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9184|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9185|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9186|      0|                }
  |  | 9187|  5.92M|            }
  |  | 9188|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9189|  5.92M|            {
  |  | 9190|  5.92M|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9191|  5.92M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9192|  5.92M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  | 9193|  5.92M|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9194|  5.92M|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9194:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9195|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9196|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9197|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9198|      0|                }
  |  | 9199|  5.92M|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  145|  5.92M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9200|  5.92M|                assert(PyDict_CheckExact((PyObject *)dict));
  |  | 9201|       |                #ifdef Py_GIL_DISABLED
  |  | 9202|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9203|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9204|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9205|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9206|       |                }
  |  | 9207|       |                #endif
  |  | 9208|  5.92M|                PyObject *attr_o;
  |  | 9209|  5.92M|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  149|  5.92M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9209:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9210|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9210:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9211|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9212|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9213|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9214|      0|                    }
  |  | 9215|      0|                }
  |  | 9216|  5.92M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  5.92M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.92M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.92M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9217|  5.92M|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9217:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9218|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9218:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9219|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9220|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9221|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9222|      0|                    }
  |  | 9223|      0|                }
  |  | 9224|  5.92M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9225|  5.92M|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  153|  5.92M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9225:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9226|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9226:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9227|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9228|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9229|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9230|      0|                    }
  |  | 9231|      0|                }
  |  | 9232|  5.92M|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  145|  5.92M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9233|  5.92M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9233:21): [True: 0, False: 5.92M]
  |  |  ------------------
  |  | 9234|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9234:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9235|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9236|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9237|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9238|      0|                    }
  |  | 9239|      0|                }
  |  | 9240|  5.92M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.92M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9241|       |                #ifdef Py_GIL_DISABLED
  |  | 9242|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9243|       |                if (!increfed) {
  |  | 9244|       |                    if (true) {
  |  | 9245|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9246|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9247|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9248|       |                    }
  |  | 9249|       |                }
  |  | 9250|       |                #else
  |  | 9251|  5.92M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  5.92M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9252|  5.92M|                #endif
  |  | 9253|  5.92M|                o = owner;
  |  | 9254|  5.92M|            }
  |  | 9255|       |            // _POP_TOP
  |  | 9256|      0|            {
  |  | 9257|  5.92M|                value = o;
  |  | 9258|  5.92M|                stack_pointer[-1] = attr;
  |  | 9259|  5.92M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9260|  5.92M|                PyStackRef_XCLOSE(value);
  |  | 9261|  5.92M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9262|  5.92M|            }
  |  | 9263|       |            /* Skip 5 cache entries */
  |  | 9264|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9265|  5.92M|            {
  |  | 9266|  5.92M|                null = &stack_pointer[0];
  |  | 9267|  5.92M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9267:21): [True: 18, False: 5.92M]
  |  |  ------------------
  |  | 9268|     18|                    null[0] = PyStackRef_NULL;
  |  | 9269|     18|                }
  |  | 9270|  5.92M|            }
  |  | 9271|  5.92M|            stack_pointer += (oparg & 1);
  |  | 9272|  5.92M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.92M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9273|  5.92M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.92M|    { \
  |  |  |  |  201|  5.92M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.92M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.92M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.92M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.92M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.92M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.92M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.92M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.92M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.92M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.92M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.92M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.92M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.92M|    }
  |  |  ------------------
  |  | 9274|  5.92M|        }
  |  | 9275|       |
  |  | 9276|  1.99k|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|  1.99k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9277|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9278|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9279|       |            (void)(opcode);
  |  | 9280|       |            #endif
  |  | 9281|  1.99k|            frame->instr_ptr = next_instr;
  |  | 9282|  1.99k|            next_instr += 1;
  |  | 9283|  1.99k|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|  1.99k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9284|  1.99k|            _PyStackRef bc;
  |  | 9285|  1.99k|            int err;
  |  | 9286|  1.99k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9287|  1.99k|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  326|  1.99k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  919|  1.99k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  1.99k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  1.99k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9288|  1.99k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9289|  1.99k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9289:17): [True: 0, False: 1.99k]
  |  |  ------------------
  |  | 9290|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9291|      0|            }
  |  | 9292|  1.99k|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9292:17): [True: 0, False: 1.99k]
  |  |  ------------------
  |  | 9293|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9294|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9295|      0|                                 "__build_class__ not found");
  |  | 9296|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9297|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9298|      0|            }
  |  | 9299|  1.99k|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9300|  1.99k|            stack_pointer[0] = bc;
  |  | 9301|  1.99k|            stack_pointer += 1;
  |  | 9302|  1.99k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.99k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9303|  1.99k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.99k|    { \
  |  |  |  |  201|  1.99k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.99k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.99k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.99k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.99k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.99k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.99k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.99k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.99k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.99k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.99k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.99k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.99k|    }
  |  |  ------------------
  |  | 9304|  1.99k|        }
  |  | 9305|       |
  |  | 9306|  22.9M|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  22.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9307|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9308|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9309|       |            (void)(opcode);
  |  | 9310|       |            #endif
  |  | 9311|  22.9M|            frame->instr_ptr = next_instr;
  |  | 9312|  22.9M|            next_instr += 1;
  |  | 9313|  22.9M|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  22.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9314|  22.9M|            _PyStackRef value;
  |  | 9315|  22.9M|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  | 9316|  22.9M|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9317|  22.9M|            stack_pointer[0] = value;
  |  | 9318|  22.9M|            stack_pointer += 1;
  |  | 9319|  22.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9320|  22.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.9M|    { \
  |  |  |  |  201|  22.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  22.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  22.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  22.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  22.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  22.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  22.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  22.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 22.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.9M|    }
  |  |  ------------------
  |  | 9321|  22.9M|        }
  |  | 9322|       |
  |  | 9323|  32.4M|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  32.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9324|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9325|       |            int opcode = LOAD_CONST;
  |  | 9326|       |            (void)(opcode);
  |  | 9327|       |            #endif
  |  | 9328|  32.4M|            frame->instr_ptr = next_instr;
  |  | 9329|  32.4M|            next_instr += 1;
  |  | 9330|  32.4M|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  32.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9331|  32.4M|            _PyStackRef value;
  |  | 9332|  32.4M|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  235|  32.4M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  32.4M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  32.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  32.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9333|  32.4M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9334|  32.4M|            stack_pointer[0] = value;
  |  | 9335|  32.4M|            stack_pointer += 1;
  |  | 9336|  32.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  32.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9337|  32.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.4M|    { \
  |  |  |  |  201|  32.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  32.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  32.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  32.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  32.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  32.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  32.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  32.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 32.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.4M|    }
  |  |  ------------------
  |  | 9338|  32.4M|        }
  |  | 9339|       |
  |  | 9340|  32.4M|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  10.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9341|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9342|       |            int opcode = LOAD_DEREF;
  |  | 9343|       |            (void)(opcode);
  |  | 9344|       |            #endif
  |  | 9345|  10.2M|            frame->instr_ptr = next_instr;
  |  | 9346|  10.2M|            next_instr += 1;
  |  | 9347|  10.2M|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  10.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9348|  10.2M|            _PyStackRef value;
  |  | 9349|  10.2M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  10.2M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9350|  10.2M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9351|  10.2M|            value = _PyCell_GetStackRef(cell);
  |  | 9352|  10.2M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9353|  10.2M|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  10.2M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  10.2M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 10.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9354|      0|                stack_pointer[0] = value;
  |  | 9355|      0|                stack_pointer += 1;
  |  | 9356|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9357|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9358|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9359|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9360|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9361|      0|            }
  |  | 9362|  10.2M|            stack_pointer[0] = value;
  |  | 9363|  10.2M|            stack_pointer += 1;
  |  | 9364|  10.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9365|  10.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.2M|    { \
  |  |  |  |  201|  10.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  10.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  10.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  10.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  10.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  10.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  10.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 10.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.2M|    }
  |  |  ------------------
  |  | 9366|  10.2M|        }
  |  | 9367|       |
  |  | 9368|  10.5M|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  10.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9369|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9370|       |            int opcode = LOAD_FAST;
  |  | 9371|       |            (void)(opcode);
  |  | 9372|       |            #endif
  |  | 9373|  10.5M|            frame->instr_ptr = next_instr;
  |  | 9374|  10.5M|            next_instr += 1;
  |  | 9375|  10.5M|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  10.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9376|  10.5M|            _PyStackRef value;
  |  | 9377|  10.5M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  | 9378|  10.5M|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  10.5M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9379|  10.5M|            stack_pointer[0] = value;
  |  | 9380|  10.5M|            stack_pointer += 1;
  |  | 9381|  10.5M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9382|  10.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.5M|    { \
  |  |  |  |  201|  10.5M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  10.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  10.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  10.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  10.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  10.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  10.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 10.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.5M|    }
  |  |  ------------------
  |  | 9383|  10.5M|        }
  |  | 9384|       |
  |  | 9385|  10.5M|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|   655k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9386|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9387|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9388|       |            (void)(opcode);
  |  | 9389|       |            #endif
  |  | 9390|   655k|            frame->instr_ptr = next_instr;
  |  | 9391|   655k|            next_instr += 1;
  |  | 9392|   655k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|   655k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9393|   655k|            _PyStackRef value;
  |  | 9394|   655k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|   655k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9395|   655k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  284|   655k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9396|   655k|            stack_pointer[0] = value;
  |  | 9397|   655k|            stack_pointer += 1;
  |  | 9398|   655k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   655k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9399|   655k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   655k|    { \
  |  |  |  |  201|   655k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   655k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   655k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   655k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   655k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   655k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   655k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   655k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 655k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   655k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   655k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   655k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   655k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   655k|    }
  |  |  ------------------
  |  | 9400|   655k|        }
  |  | 9401|       |
  |  | 9402|   321M|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   321M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9403|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9404|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9405|       |            (void)(opcode);
  |  | 9406|       |            #endif
  |  | 9407|   321M|            frame->instr_ptr = next_instr;
  |  | 9408|   321M|            next_instr += 1;
  |  | 9409|   321M|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   321M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9410|   321M|            _PyStackRef value;
  |  | 9411|   321M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  | 9412|   321M|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|   321M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9413|   321M|            stack_pointer[0] = value;
  |  | 9414|   321M|            stack_pointer += 1;
  |  | 9415|   321M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   321M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9416|   321M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   321M|    { \
  |  |  |  |  201|   321M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   321M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   321M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   321M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   321M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   321M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   321M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   321M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 321M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   321M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   321M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   321M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   321M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   321M|    }
  |  |  ------------------
  |  | 9417|   321M|        }
  |  | 9418|       |
  |  | 9419|   321M|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  15.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9420|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9421|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9422|       |            (void)(opcode);
  |  | 9423|       |            #endif
  |  | 9424|  15.6M|            frame->instr_ptr = next_instr;
  |  | 9425|  15.6M|            next_instr += 1;
  |  | 9426|  15.6M|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  15.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9427|  15.6M|            _PyStackRef value1;
  |  | 9428|  15.6M|            _PyStackRef value2;
  |  | 9429|  15.6M|            uint32_t oparg1 = oparg >> 4;
  |  | 9430|  15.6M|            uint32_t oparg2 = oparg & 15;
  |  | 9431|  15.6M|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  284|  15.6M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9432|  15.6M|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|  15.6M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9433|  15.6M|            stack_pointer[0] = value1;
  |  | 9434|  15.6M|            stack_pointer[1] = value2;
  |  | 9435|  15.6M|            stack_pointer += 2;
  |  | 9436|  15.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  15.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9437|  15.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.6M|    { \
  |  |  |  |  201|  15.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  15.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  15.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  15.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  15.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  15.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  15.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  15.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 15.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.6M|    }
  |  |  ------------------
  |  | 9438|  15.6M|        }
  |  | 9439|       |
  |  | 9440|  15.6M|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.46M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9441|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9442|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9443|       |            (void)(opcode);
  |  | 9444|       |            #endif
  |  | 9445|  1.46M|            frame->instr_ptr = next_instr;
  |  | 9446|  1.46M|            next_instr += 1;
  |  | 9447|  1.46M|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.46M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9448|  1.46M|            _PyStackRef value;
  |  | 9449|  1.46M|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  1.46M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9450|  1.46M|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|  1.46M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.46M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.46M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9451|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9452|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9453|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  380|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9454|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9455|      0|                );
  |  | 9456|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9457|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9458|      0|            }
  |  | 9459|  1.46M|            value = PyStackRef_DUP(value_s);
  |  | 9460|  1.46M|            stack_pointer[0] = value;
  |  | 9461|  1.46M|            stack_pointer += 1;
  |  | 9462|  1.46M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.46M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9463|  1.46M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.46M|    { \
  |  |  |  |  201|  1.46M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.46M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.46M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.46M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.46M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.46M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.46M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.46M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.46M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.46M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.46M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.46M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.46M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.46M|    }
  |  |  ------------------
  |  | 9464|  1.46M|        }
  |  | 9465|       |
  |  | 9466|  7.01M|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  7.01M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9467|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9468|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9469|       |            (void)(opcode);
  |  | 9470|       |            #endif
  |  | 9471|  7.01M|            frame->instr_ptr = next_instr;
  |  | 9472|  7.01M|            next_instr += 1;
  |  | 9473|  7.01M|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  7.01M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9474|  7.01M|            _PyStackRef value1;
  |  | 9475|  7.01M|            _PyStackRef value2;
  |  | 9476|  7.01M|            uint32_t oparg1 = oparg >> 4;
  |  | 9477|  7.01M|            uint32_t oparg2 = oparg & 15;
  |  | 9478|  7.01M|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  284|  7.01M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9479|  7.01M|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|  7.01M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9480|  7.01M|            stack_pointer[0] = value1;
  |  | 9481|  7.01M|            stack_pointer[1] = value2;
  |  | 9482|  7.01M|            stack_pointer += 2;
  |  | 9483|  7.01M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9484|  7.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.01M|    { \
  |  |  |  |  201|  7.01M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.01M|    }
  |  |  ------------------
  |  | 9485|  7.01M|        }
  |  | 9486|       |
  |  | 9487|  7.01M|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9488|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9489|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9490|       |            (void)(opcode);
  |  | 9491|       |            #endif
  |  | 9492|      4|            frame->instr_ptr = next_instr;
  |  | 9493|      4|            next_instr += 1;
  |  | 9494|      4|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9495|      4|            _PyStackRef class_dict_st;
  |  | 9496|      4|            _PyStackRef value;
  |  | 9497|      4|            class_dict_st = stack_pointer[-1];
  |  | 9498|      4|            PyObject *name;
  |  | 9499|      4|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9500|      4|            assert(class_dict);
  |  | 9501|      4|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  | 9502|      4|            name = PyTuple_GET_ITEM(_PyFrame_GetCode(frame)->co_localsplusnames, oparg);
  |  |  ------------------
  |  |  |  |   29|      4|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      4|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9503|      4|            int err;
  |  | 9504|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9505|      4|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9506|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9507|      4|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9507:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 9508|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9509|      0|            }
  |  | 9510|      4|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9510:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 9511|      4|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9512|      4|                value_o = PyCell_GetRef(cell);
  |  | 9513|      4|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9513:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 9514|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9515|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9516|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9517|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9518|      0|                }
  |  | 9519|      4|            }
  |  | 9520|      4|            stack_pointer += -1;
  |  | 9521|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9522|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9523|      4|            PyStackRef_CLOSE(class_dict_st);
  |  | 9524|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9525|      4|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9526|      4|            stack_pointer[0] = value;
  |  | 9527|      4|            stack_pointer += 1;
  |  | 9528|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9529|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 9530|      4|        }
  |  | 9531|       |
  |  | 9532|    358|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|    358|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9533|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9534|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9535|       |            (void)(opcode);
  |  | 9536|       |            #endif
  |  | 9537|    358|            frame->instr_ptr = next_instr;
  |  | 9538|    358|            next_instr += 1;
  |  | 9539|    358|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|    358|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9540|    358|            _PyStackRef mod_or_class_dict;
  |  | 9541|    358|            _PyStackRef v;
  |  | 9542|    358|            mod_or_class_dict = stack_pointer[-1];
  |  | 9543|    358|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|    358|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    358|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    358|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9544|    358|            int err;
  |  | 9545|    358|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9546|    358|            PyObject *v_o = _PyMapping_GetOptionalItem2(PyStackRef_AsPyObjectBorrow(mod_or_class_dict), name, &err);
  |  | 9547|    358|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9548|    358|            stack_pointer += -1;
  |  | 9549|    358|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    358|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9550|    358|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9551|    358|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9552|    358|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9553|    358|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9553:17): [True: 0, False: 358]
  |  |  ------------------
  |  | 9554|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9555|      0|            }
  |  | 9556|    358|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9556:17): [True: 358, False: 0]
  |  |  ------------------
  |  | 9557|    358|                if (PyDict_CheckExact(GLOBALS())
  |  |  ------------------
  |  |  |  |   19|    358|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    716|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 290, False: 68]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9558|    290|                    && PyDict_CheckExact(BUILTINS()))
  |  |  ------------------
  |  |  |  |   19|    290|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    290|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 290, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9559|    290|                {
  |  | 9560|    290|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9561|    290|                    v_o = _PyDict_LoadGlobal((PyDictObject *)GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|    290|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9562|    290|                        (PyDictObject *)BUILTINS(),
  |  |  ------------------
  |  |  |  |  326|    290|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9563|    290|                        name);
  |  | 9564|    290|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9565|    290|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9565:25): [True: 0, False: 290]
  |  |  ------------------
  |  | 9566|      0|                        if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (9566:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9567|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9568|      0|                            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 9569|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9570|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9571|      0|                        }
  |  | 9572|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9573|      0|                    }
  |  | 9574|    290|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|    290|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    290|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 290]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9575|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9576|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9577|      0|                        Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  352|      0|    do { \
  |  |  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  357|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9578|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9579|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9579:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9580|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9581|      0|                        }
  |  | 9582|      0|                    }
  |  | 9583|    290|                }
  |  | 9584|     68|                else {
  |  | 9585|     68|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9586|     68|                    v_o = _PyMapping_GetOptionalItem2(GLOBALS(), name, &err);
  |  |  ------------------
  |  |  |  |  325|     68|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9587|     68|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9588|     68|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9588:25): [True: 0, False: 68]
  |  |  ------------------
  |  | 9589|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9590|      0|                    }
  |  | 9591|     68|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9591:25): [True: 0, False: 68]
  |  |  ------------------
  |  | 9592|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9593|      0|                        v_o = _PyMapping_GetOptionalItem2(BUILTINS(), name, &err);
  |  |  ------------------
  |  |  |  |  326|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9594|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9595|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9595:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9596|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9597|      0|                        }
  |  | 9598|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9598:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9599|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9600|      0|                            _PyEval_FormatExcCheckArg(
  |  | 9601|      0|                                tstate, PyExc_NameError,
  |  | 9602|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9603|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9604|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9605|      0|                        }
  |  | 9606|      0|                    }
  |  | 9607|     68|                    if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|     68|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     68|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 68]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9608|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9609|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9610|      0|                        Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  352|      0|    do { \
  |  |  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  357|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9611|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9612|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9612:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9613|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9614|      0|                        }
  |  | 9615|      0|                    }
  |  | 9616|     68|                }
  |  | 9617|    358|            }
  |  | 9618|    358|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  | 9619|    358|            stack_pointer[0] = v;
  |  | 9620|    358|            stack_pointer += 1;
  |  | 9621|    358|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    358|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9622|    358|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    358|    { \
  |  |  |  |  201|    358|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    358|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    358|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    358|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    358|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    358|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    358|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    358|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 358]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    358|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    358|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    358|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    358|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    358|    }
  |  |  ------------------
  |  | 9623|    358|        }
  |  | 9624|       |
  |  | 9625|  14.6k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  14.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9626|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9627|       |            int opcode = LOAD_GLOBAL;
  |  | 9628|       |            (void)(opcode);
  |  | 9629|       |            #endif
  |  | 9630|  14.6k|            frame->instr_ptr = next_instr;
  |  | 9631|  14.6k|            next_instr += 5;
  |  | 9632|  14.6k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  14.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9633|  46.9k|            PREDICTED_LOAD_GLOBAL:;
  |  | 9634|  46.9k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  | 9635|  46.9k|            (void)this_instr;
  |  | 9636|  46.9k|            _PyStackRef *res;
  |  | 9637|  46.9k|            _PyStackRef *null;
  |  | 9638|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  | 9639|  46.9k|            {
  |  | 9640|  46.9k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 9641|  46.9k|                (void)counter;
  |  | 9642|  46.9k|                #if ENABLE_SPECIALIZATION
  |  | 9643|  46.9k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  46.9k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 6.69k, False: 40.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9644|  6.69k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  6.69k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  6.69k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  6.69k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9645|  6.69k|                    next_instr = this_instr;
  |  | 9646|  6.69k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9647|  6.69k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  325|  6.69k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  6.69k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9648|  6.69k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9649|  6.69k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  6.69k|    { \
  |  |  |  |  217|  6.69k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  6.69k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.69k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  6.69k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  6.69k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  6.69k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  6.69k|    }
  |  |  ------------------
  |  | 9650|  6.69k|                }
  |  | 9651|  46.9k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  46.9k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 9652|  46.9k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  46.9k|    do { \
  |  |  |  |  358|  46.9k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  46.9k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 46.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9653|  46.9k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 9654|  46.9k|            }
  |  | 9655|       |            /* Skip 1 cache entry */
  |  | 9656|       |            /* Skip 1 cache entry */
  |  | 9657|       |            /* Skip 1 cache entry */
  |  | 9658|       |            // _LOAD_GLOBAL
  |  | 9659|  46.9k|            {
  |  | 9660|  46.9k|                res = &stack_pointer[0];
  |  | 9661|  46.9k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  46.9k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  46.9k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  46.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  46.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9662|  46.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9663|  46.9k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  325|  46.9k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  46.9k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9664|  46.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9665|  46.9k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  46.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  46.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  46.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 2, False: 46.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9666|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9667|      0|                }
  |  | 9668|  46.9k|            }
  |  | 9669|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9670|  46.9k|            {
  |  | 9671|  46.9k|                null = &stack_pointer[1];
  |  | 9672|  46.9k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9672:21): [True: 20.3k, False: 26.5k]
  |  |  ------------------
  |  | 9673|  20.3k|                    null[0] = PyStackRef_NULL;
  |  | 9674|  20.3k|                }
  |  | 9675|  46.9k|            }
  |  | 9676|  46.9k|            stack_pointer += 1 + (oparg & 1);
  |  | 9677|  46.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  46.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9678|  46.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  46.9k|    { \
  |  |  |  |  201|  46.9k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  46.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  46.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  46.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  46.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  46.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  46.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  46.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 46.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  46.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  46.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  46.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  46.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  46.9k|    }
  |  |  ------------------
  |  | 9679|  46.9k|        }
  |  | 9680|       |
  |  | 9681|  56.1M|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  56.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9682|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9683|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  | 9684|       |            (void)(opcode);
  |  | 9685|       |            #endif
  |  | 9686|  56.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9687|  56.1M|            (void)this_instr;
  |  | 9688|  56.1M|            frame->instr_ptr = next_instr;
  |  | 9689|  56.1M|            next_instr += 5;
  |  | 9690|  56.1M|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  56.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9691|  56.1M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  | 9692|  56.1M|            _PyStackRef res;
  |  | 9693|  56.1M|            _PyStackRef *null;
  |  | 9694|       |            /* Skip 1 cache entry */
  |  | 9695|       |            // _GUARD_GLOBALS_VERSION
  |  | 9696|  56.1M|            {
  |  | 9697|  56.1M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  | 9698|  56.1M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  325|  56.1M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9699|  56.1M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  56.1M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  56.1M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  56.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  56.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9699:21): [True: 0, False: 56.1M]
  |  |  ------------------
  |  | 9700|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9701|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9702|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9703|      0|                }
  |  | 9704|  56.1M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  56.1M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9705|  56.1M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  56.1M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9705:21): [True: 16.0k, False: 56.1M]
  |  |  ------------------
  |  | 9706|  16.0k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  16.0k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9707|  16.0k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9708|  16.0k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  16.0k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9709|      0|                }
  |  | 9710|  56.1M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9711|  56.1M|            }
  |  | 9712|       |            // _LOAD_GLOBAL_BUILTINS
  |  | 9713|      0|            {
  |  | 9714|  56.1M|                uint16_t version = read_u16(&this_instr[3].cache);
  |  | 9715|  56.1M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9716|  56.1M|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  326|  56.1M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9717|  56.1M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  56.1M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  56.1M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  56.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  56.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9717:21): [True: 0, False: 56.1M]
  |  |  ------------------
  |  | 9718|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9719|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9720|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9721|      0|                }
  |  | 9722|  56.1M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  56.1M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9723|  56.1M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  56.1M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9723:21): [True: 2.10k, False: 56.1M]
  |  |  ------------------
  |  | 9724|  2.10k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  2.10k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9725|  2.10k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9726|  2.10k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  2.10k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9727|      0|                }
  |  | 9728|  56.1M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9729|  56.1M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  | 9730|  56.1M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_RELAXED(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  56.1M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 9731|  56.1M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9731:21): [True: 0, False: 56.1M]
  |  |  ------------------
  |  | 9732|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9733|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9734|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9735|      0|                }
  |  | 9736|       |                #if Py_GIL_DISABLED
  |  | 9737|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  | 9738|       |                if (!increfed) {
  |  | 9739|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  | 9740|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9741|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  | 9742|       |                }
  |  | 9743|       |                #else
  |  | 9744|  56.1M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  56.1M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9745|  56.1M|                #endif
  |  | 9746|  56.1M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  56.1M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9747|  56.1M|            }
  |  | 9748|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9749|      0|            {
  |  | 9750|  56.1M|                null = &stack_pointer[1];
  |  | 9751|  56.1M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9751:21): [True: 42.5M, False: 13.5M]
  |  |  ------------------
  |  | 9752|  42.5M|                    null[0] = PyStackRef_NULL;
  |  | 9753|  42.5M|                }
  |  | 9754|  56.1M|            }
  |  | 9755|  56.1M|            stack_pointer[0] = res;
  |  | 9756|  56.1M|            stack_pointer += 1 + (oparg & 1);
  |  | 9757|  56.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  56.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9758|  56.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  56.1M|    { \
  |  |  |  |  201|  56.1M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  56.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  56.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  56.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  56.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  56.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  56.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  56.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 56.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  56.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  56.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  56.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  56.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  56.1M|    }
  |  |  ------------------
  |  | 9759|  56.1M|        }
  |  | 9760|       |
  |  | 9761|  41.2M|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  41.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9762|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9763|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  | 9764|       |            (void)(opcode);
  |  | 9765|       |            #endif
  |  | 9766|  41.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9767|  41.2M|            (void)this_instr;
  |  | 9768|  41.2M|            frame->instr_ptr = next_instr;
  |  | 9769|  41.2M|            next_instr += 5;
  |  | 9770|  41.2M|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  41.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9771|  41.2M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  | 9772|  41.2M|            _PyStackRef res;
  |  | 9773|  41.2M|            _PyStackRef *null;
  |  | 9774|       |            /* Skip 1 cache entry */
  |  | 9775|       |            // _NOP
  |  | 9776|  41.2M|            {
  |  | 9777|  41.2M|            }
  |  | 9778|       |            // _LOAD_GLOBAL_MODULE
  |  | 9779|  41.2M|            {
  |  | 9780|  41.2M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  | 9781|  41.2M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9782|  41.2M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  325|  41.2M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9783|  41.2M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  41.2M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  41.2M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  41.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  41.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9783:21): [True: 0, False: 41.2M]
  |  |  ------------------
  |  | 9784|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9785|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9786|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9787|      0|                }
  |  | 9788|  41.2M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  41.2M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9789|  41.2M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  41.2M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9789:21): [True: 14.1k, False: 41.2M]
  |  |  ------------------
  |  | 9790|  14.1k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  14.1k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9791|  14.1k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9792|  14.1k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  14.1k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9793|      0|                }
  |  | 9794|  41.2M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9795|  41.2M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  | 9796|  41.2M|                assert(index < DK_SIZE(keys));
  |  | 9797|  41.2M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_RELAXED(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  41.2M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 9798|  41.2M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9798:21): [True: 0, False: 41.2M]
  |  |  ------------------
  |  | 9799|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9800|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9801|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9802|      0|                }
  |  | 9803|       |                #if Py_GIL_DISABLED
  |  | 9804|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  | 9805|       |                if (!increfed) {
  |  | 9806|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  | 9807|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9808|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  | 9809|       |                }
  |  | 9810|       |                #else
  |  | 9811|  41.2M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  41.2M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9812|  41.2M|                #endif
  |  | 9813|  41.2M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  41.2M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9814|  41.2M|            }
  |  | 9815|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9816|      0|            {
  |  | 9817|  41.2M|                null = &stack_pointer[1];
  |  | 9818|  41.2M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9818:21): [True: 21.6M, False: 19.5M]
  |  |  ------------------
  |  | 9819|  21.6M|                    null[0] = PyStackRef_NULL;
  |  | 9820|  21.6M|                }
  |  | 9821|  41.2M|            }
  |  | 9822|  41.2M|            stack_pointer[0] = res;
  |  | 9823|  41.2M|            stack_pointer += 1 + (oparg & 1);
  |  | 9824|  41.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  41.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9825|  41.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  41.2M|    { \
  |  |  |  |  201|  41.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  41.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  41.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  41.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  41.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  41.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  41.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  41.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 41.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  41.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  41.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  41.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  41.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  41.2M|    }
  |  |  ------------------
  |  | 9826|  41.2M|        }
  |  | 9827|       |
  |  | 9828|  1.55k|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|  1.55k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9829|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9830|       |            int opcode = LOAD_LOCALS;
  |  | 9831|       |            (void)(opcode);
  |  | 9832|       |            #endif
  |  | 9833|  1.55k|            frame->instr_ptr = next_instr;
  |  | 9834|  1.55k|            next_instr += 1;
  |  | 9835|  1.55k|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|  1.55k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9836|  1.55k|            _PyStackRef locals;
  |  | 9837|  1.55k|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  327|  1.55k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 9838|  1.55k|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (9838:17): [True: 0, False: 1.55k]
  |  |  ------------------
  |  | 9839|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9840|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  | 9841|      0|                                 "no locals found");
  |  | 9842|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9843|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9844|      0|            }
  |  | 9845|  1.55k|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|  1.55k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9846|  1.55k|            stack_pointer[0] = locals;
  |  | 9847|  1.55k|            stack_pointer += 1;
  |  | 9848|  1.55k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.55k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9849|  1.55k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.55k|    { \
  |  |  |  |  201|  1.55k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.55k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.55k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.55k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.55k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.55k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.55k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.55k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.55k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.55k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.55k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.55k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.55k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.55k|    }
  |  |  ------------------
  |  | 9850|  1.55k|        }
  |  | 9851|       |
  |  | 9852|  36.0k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  36.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9853|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9854|       |            int opcode = LOAD_NAME;
  |  | 9855|       |            (void)(opcode);
  |  | 9856|       |            #endif
  |  | 9857|  36.0k|            frame->instr_ptr = next_instr;
  |  | 9858|  36.0k|            next_instr += 1;
  |  | 9859|  36.0k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  36.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9860|  36.0k|            _PyStackRef v;
  |  | 9861|  36.0k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  36.0k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  36.0k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  36.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  36.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9862|  36.0k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9863|  36.0k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  | 9864|  36.0k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9865|  36.0k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9865:17): [True: 0, False: 36.0k]
  |  |  ------------------
  |  | 9866|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9867|      0|            }
  |  | 9868|  36.0k|            if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|  36.0k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  36.0k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  36.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  36.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 36.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9869|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9870|      0|                PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9871|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9872|      0|                if (l_v == NULL) {
  |  |  ------------------
  |  |  |  Branch (9872:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9873|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9874|      0|                    Py_DECREF(v_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9875|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9876|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9877|      0|                }
  |  | 9878|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9879|      0|                int err = PyDict_SetItem(GLOBALS(), name, l_v);
  |  |  ------------------
  |  |  |  |  325|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9880|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9881|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9881:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9882|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9883|      0|                    Py_DECREF(v_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9884|      0|                    Py_DECREF(l_v);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9885|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9887|      0|                }
  |  | 9888|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9889|      0|                Py_SETREF(v_o, l_v);
  |  |  ------------------
  |  |  |  |  352|      0|    do { \
  |  |  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  357|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9890|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9891|      0|            }
  |  | 9892|  36.0k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  | 9893|  36.0k|            stack_pointer[0] = v;
  |  | 9894|  36.0k|            stack_pointer += 1;
  |  | 9895|  36.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9896|  36.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.0k|    { \
  |  |  |  |  201|  36.0k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  36.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  36.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  36.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  36.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  36.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  36.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  36.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 36.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.0k|    }
  |  |  ------------------
  |  | 9897|  36.0k|        }
  |  | 9898|       |
  |  | 9899|  59.9M|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  59.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9900|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9901|       |            int opcode = LOAD_SMALL_INT;
  |  | 9902|       |            (void)(opcode);
  |  | 9903|       |            #endif
  |  | 9904|  59.9M|            frame->instr_ptr = next_instr;
  |  | 9905|  59.9M|            next_instr += 1;
  |  | 9906|  59.9M|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  59.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9907|  59.9M|            _PyStackRef value;
  |  | 9908|  59.9M|            assert(oparg < _PY_NSMALLPOSINTS);
  |  | 9909|  59.9M|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  59.9M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  59.9M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  59.9M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  59.9M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  | 9910|  59.9M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9911|  59.9M|            stack_pointer[0] = value;
  |  | 9912|  59.9M|            stack_pointer += 1;
  |  | 9913|  59.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  59.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9914|  59.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  59.9M|    { \
  |  |  |  |  201|  59.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  59.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  59.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  59.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  59.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  59.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  59.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  59.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 59.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  59.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  59.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  59.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  59.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  59.9M|    }
  |  |  ------------------
  |  | 9915|  59.9M|        }
  |  | 9916|       |
  |  | 9917|  59.9M|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|   208k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9918|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9919|       |            int opcode = LOAD_SPECIAL;
  |  | 9920|       |            (void)(opcode);
  |  | 9921|       |            #endif
  |  | 9922|   208k|            frame->instr_ptr = next_instr;
  |  | 9923|   208k|            next_instr += 1;
  |  | 9924|   208k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|   208k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9925|   208k|            _PyStackRef self;
  |  | 9926|   208k|            _PyStackRef *method_and_self;
  |  | 9927|       |            // _INSERT_NULL
  |  | 9928|   208k|            {
  |  | 9929|   208k|                self = stack_pointer[-1];
  |  | 9930|   208k|                method_and_self = &stack_pointer[-1];
  |  | 9931|   208k|                method_and_self[1] = self;
  |  | 9932|   208k|                method_and_self[0] = PyStackRef_NULL;
  |  | 9933|   208k|            }
  |  | 9934|       |            // _LOAD_SPECIAL
  |  | 9935|   208k|            {
  |  | 9936|   208k|                method_and_self = &stack_pointer[-1];
  |  | 9937|   208k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  | 9938|   208k|                stack_pointer += 1;
  |  | 9939|   208k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   208k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9940|   208k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9941|   208k|                int err = _PyObject_LookupSpecialMethod(name, method_and_self);
  |  | 9942|   208k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9943|   208k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (9943:21): [True: 0, False: 208k]
  |  |  ------------------
  |  | 9944|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (9944:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9945|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  | 9946|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9947|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (9947:46): [True: 0, False: 0]
  |  |  ------------------
  |  | 9948|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  | 9949|      0|                    : _Py_SpecialMethods[oparg].error;
  |  | 9950|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9951|      0|                        assert(!_PyErr_Occurred(tstate));
  |  | 9952|      0|                        assert(errfmt != NULL);
  |  | 9953|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9954|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  | 9955|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9956|      0|                    }
  |  | 9957|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9958|      0|                }
  |  | 9959|   208k|            }
  |  | 9960|   208k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   208k|    { \
  |  |  |  |  201|   208k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   208k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   208k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   208k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   208k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   208k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   208k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   208k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 208k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   208k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   208k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   208k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   208k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   208k|    }
  |  |  ------------------
  |  | 9961|   208k|        }
  |  | 9962|       |
  |  | 9963|    178|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|    178|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9964|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9965|       |            int opcode = LOAD_SUPER_ATTR;
  |  | 9966|       |            (void)(opcode);
  |  | 9967|       |            #endif
  |  | 9968|    178|            frame->instr_ptr = next_instr;
  |  | 9969|    178|            next_instr += 2;
  |  | 9970|    178|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|    178|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9971|    178|            PREDICTED_LOAD_SUPER_ATTR:;
  |  | 9972|    178|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 9973|    178|            (void)this_instr;
  |  | 9974|    178|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  108|    178|#define LOAD_SUPER_ATTR                         95
  |  |  ------------------
  |  | 9975|    178|            _PyStackRef global_super_st;
  |  | 9976|    178|            _PyStackRef class_st;
  |  | 9977|    178|            _PyStackRef self_st;
  |  | 9978|    178|            _PyStackRef attr;
  |  | 9979|    178|            _PyStackRef *null;
  |  | 9980|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  | 9981|    178|            {
  |  | 9982|    178|                class_st = stack_pointer[-2];
  |  | 9983|    178|                global_super_st = stack_pointer[-3];
  |  | 9984|    178|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 9985|    178|                (void)counter;
  |  | 9986|    178|                #if ENABLE_SPECIALIZATION
  |  | 9987|    178|                int load_method = oparg & 1;
  |  | 9988|    178|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|    178|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 80, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9989|     80|                    next_instr = this_instr;
  |  | 9990|     80|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9991|     80|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  | 9992|     80|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9993|     80|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     80|    { \
  |  |  |  |  217|     80|        opcode = next_instr->op.code; \
  |  |  |  |  218|     80|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     80|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     80|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     80|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     80|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     80|    }
  |  |  ------------------
  |  | 9994|     80|                }
  |  | 9995|    178|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|    178|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 9996|    178|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|    178|    do { \
  |  |  |  |  358|    178|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|    178|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9997|    178|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 9998|    178|            }
  |  | 9999|       |            // _LOAD_SUPER_ATTR
  |  |10000|    178|            {
  |  |10001|    178|                self_st = stack_pointer[-1];
  |  |10002|    178|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10003|    178|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10004|    178|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10005|    178|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|    178|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10005:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10006|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10006:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10007|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10008|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10009|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10010|      0|                        frame, this_instr, global_super, arg);
  |  |10011|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10012|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10012:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10013|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10014|      0|                        _PyStackRef tmp = self_st;
  |  |10015|      0|                        self_st = PyStackRef_NULL;
  |  |10016|      0|                        stack_pointer[-1] = self_st;
  |  |10017|      0|                        PyStackRef_CLOSE(tmp);
  |  |10018|      0|                        tmp = class_st;
  |  |10019|      0|                        class_st = PyStackRef_NULL;
  |  |10020|      0|                        stack_pointer[-2] = class_st;
  |  |10021|      0|                        PyStackRef_CLOSE(tmp);
  |  |10022|      0|                        tmp = global_super_st;
  |  |10023|      0|                        global_super_st = PyStackRef_NULL;
  |  |10024|      0|                        stack_pointer[-3] = global_super_st;
  |  |10025|      0|                        PyStackRef_CLOSE(tmp);
  |  |10026|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10027|      0|                        stack_pointer += -3;
  |  |10028|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10029|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10030|      0|                    }
  |  |10031|      0|                }
  |  |10032|    178|                PyObject *super;
  |  |10033|    178|                {
  |  |10034|    178|                    PyObject *stack[] = {class, self};
  |  |10035|    178|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10036|    178|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10037|    178|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10038|    178|                }
  |  |10039|    178|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|    178|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10039:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10040|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10040:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10041|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10041:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10042|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10043|      0|                        _Py_call_instrumentation_exc2(
  |  |10044|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10045|      0|                            frame, this_instr, global_super, arg);
  |  |10046|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10047|      0|                    }
  |  |10048|      0|                    else {
  |  |10049|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10050|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10051|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10052|      0|                            frame, this_instr, global_super, arg);
  |  |10053|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10054|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10054:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10055|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10056|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10057|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10058|      0|                        }
  |  |10059|      0|                    }
  |  |10060|      0|                }
  |  |10061|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10062|    178|                _PyStackRef tmp = self_st;
  |  |10063|    178|                self_st = PyStackRef_NULL;
  |  |10064|    178|                stack_pointer[-1] = self_st;
  |  |10065|    178|                PyStackRef_CLOSE(tmp);
  |  |10066|    178|                tmp = class_st;
  |  |10067|    178|                class_st = PyStackRef_NULL;
  |  |10068|    178|                stack_pointer[-2] = class_st;
  |  |10069|    178|                PyStackRef_CLOSE(tmp);
  |  |10070|    178|                tmp = global_super_st;
  |  |10071|    178|                global_super_st = PyStackRef_NULL;
  |  |10072|    178|                stack_pointer[-3] = global_super_st;
  |  |10073|    178|                PyStackRef_CLOSE(tmp);
  |  |10074|    178|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10075|    178|                stack_pointer += -3;
  |  |10076|    178|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10077|    178|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10077:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10078|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10079|      0|                }
  |  |10080|    178|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|    178|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    178|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    178|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10081|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10082|    178|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10083|    178|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|    178|    do { \
  |  |  |  |   81|    178|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    178|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    178|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    178|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    178|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    178|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 98, False: 80]
  |  |  |  |  ------------------
  |  |  |  |   88|     98|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     98|    do { \
  |  |  |  |  |  |  113|     98|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     98|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     98|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     98|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     98|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     98|            (*dealloc)(op); \
  |  |  |  |   91|     98|        } \
  |  |  |  |   92|    178|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10084|    178|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10085|    178|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10085:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10086|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10087|      0|                }
  |  |10088|    178|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10089|    178|            }
  |  |10090|       |            // _PUSH_NULL_CONDITIONAL
  |  |10091|      0|            {
  |  |10092|    178|                null = &stack_pointer[1];
  |  |10093|    178|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10093:21): [True: 72, False: 106]
  |  |  ------------------
  |  |10094|     72|                    null[0] = PyStackRef_NULL;
  |  |10095|     72|                }
  |  |10096|    178|            }
  |  |10097|    178|            stack_pointer[0] = attr;
  |  |10098|    178|            stack_pointer += 1 + (oparg & 1);
  |  |10099|    178|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10100|    178|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    178|    { \
  |  |  |  |  201|    178|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    178|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    178|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    178|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    178|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    178|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    178|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    178|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    178|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    178|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    178|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    178|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    178|    }
  |  |  ------------------
  |  |10101|    178|        }
  |  |10102|       |
  |  |10103|    560|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|    560|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10104|       |            #if _Py_TAIL_CALL_INTERP
  |  |10105|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10106|       |            (void)(opcode);
  |  |10107|       |            #endif
  |  |10108|    560|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10109|    560|            (void)this_instr;
  |  |10110|    560|            frame->instr_ptr = next_instr;
  |  |10111|    560|            next_instr += 2;
  |  |10112|    560|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|    560|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10113|    560|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10114|    560|            _PyStackRef global_super_st;
  |  |10115|    560|            _PyStackRef class_st;
  |  |10116|    560|            _PyStackRef self_st;
  |  |10117|    560|            _PyStackRef attr_st;
  |  |10118|       |            /* Skip 1 cache entry */
  |  |10119|    560|            self_st = stack_pointer[-1];
  |  |10120|    560|            class_st = stack_pointer[-2];
  |  |10121|    560|            global_super_st = stack_pointer[-3];
  |  |10122|    560|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10123|    560|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10124|    560|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10125|    560|            assert(!(oparg & 1));
  |  |10126|    560|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10126:17): [True: 0, False: 560]
  |  |  ------------------
  |  |10127|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10128|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10129|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10130|      0|            }
  |  |10131|    560|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|    560|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10131:17): [True: 0, False: 560]
  |  |  ------------------
  |  |10132|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10133|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10134|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10135|      0|            }
  |  |10136|    560|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    560|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10137|    560|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|    560|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    560|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    560|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10138|    560|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10139|    560|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10140|    560|            _PyStackRef tmp = self_st;
  |  |10141|    560|            self_st = PyStackRef_NULL;
  |  |10142|    560|            stack_pointer[-1] = self_st;
  |  |10143|    560|            PyStackRef_CLOSE(tmp);
  |  |10144|    560|            tmp = class_st;
  |  |10145|    560|            class_st = PyStackRef_NULL;
  |  |10146|    560|            stack_pointer[-2] = class_st;
  |  |10147|    560|            PyStackRef_CLOSE(tmp);
  |  |10148|    560|            tmp = global_super_st;
  |  |10149|    560|            global_super_st = PyStackRef_NULL;
  |  |10150|    560|            stack_pointer[-3] = global_super_st;
  |  |10151|    560|            PyStackRef_CLOSE(tmp);
  |  |10152|    560|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10153|    560|            stack_pointer += -3;
  |  |10154|    560|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    560|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10155|    560|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10155:17): [True: 0, False: 560]
  |  |  ------------------
  |  |10156|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10157|      0|            }
  |  |10158|    560|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10159|    560|            stack_pointer[0] = attr_st;
  |  |10160|    560|            stack_pointer += 1;
  |  |10161|    560|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    560|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10162|    560|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    560|    { \
  |  |  |  |  201|    560|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    560|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    560|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    560|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    560|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    560|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    560|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    560|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 560]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    560|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    560|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    560|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    560|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    560|    }
  |  |  ------------------
  |  |10163|    560|        }
  |  |10164|       |
  |  |10165|   274k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|   274k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10166|       |            #if _Py_TAIL_CALL_INTERP
  |  |10167|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10168|       |            (void)(opcode);
  |  |10169|       |            #endif
  |  |10170|   274k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10171|   274k|            (void)this_instr;
  |  |10172|   274k|            frame->instr_ptr = next_instr;
  |  |10173|   274k|            next_instr += 2;
  |  |10174|   274k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|   274k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10175|   274k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10176|   274k|            _PyStackRef global_super_st;
  |  |10177|   274k|            _PyStackRef class_st;
  |  |10178|   274k|            _PyStackRef self_st;
  |  |10179|   274k|            _PyStackRef attr;
  |  |10180|   274k|            _PyStackRef self_or_null;
  |  |10181|       |            /* Skip 1 cache entry */
  |  |10182|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10183|   274k|            {
  |  |10184|   274k|                class_st = stack_pointer[-2];
  |  |10185|   274k|                global_super_st = stack_pointer[-3];
  |  |10186|   274k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10187|   274k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10188|   274k|                assert(oparg & 1);
  |  |10189|   274k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10189:21): [True: 0, False: 274k]
  |  |  ------------------
  |  |10190|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10191|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10192|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10193|      0|                }
  |  |10194|   274k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|   274k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10194:21): [True: 0, False: 274k]
  |  |  ------------------
  |  |10195|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10196|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10197|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10198|      0|                }
  |  |10199|   274k|            }
  |  |10200|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10201|   274k|            {
  |  |10202|   274k|                self_st = stack_pointer[-1];
  |  |10203|   274k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10204|   274k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10205|   274k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   274k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10206|   274k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|   274k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   274k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   274k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10207|   274k|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10208|   274k|                int method_found = 0;
  |  |10209|   274k|                PyObject *attr_o;
  |  |10210|   274k|                {
  |  |10211|   274k|                    int *method_found_ptr = &method_found;
  |  |10212|   274k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10213|   274k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10214|   274k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  213|   274k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10214:25): [True: 269k, False: 5.30k]
  |  |  ------------------
  |  |10215|   274k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10216|   274k|                }
  |  |10217|   274k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10217:21): [True: 0, False: 274k]
  |  |  ------------------
  |  |10218|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10219|      0|                }
  |  |10220|   274k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10220:21): [True: 269k, False: 5.30k]
  |  |  ------------------
  |  |10221|   269k|                    self_or_null = self_st;
  |  |10222|   269k|                } else {
  |  |10223|  5.30k|                    stack_pointer += -1;
  |  |10224|  5.30k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10225|  5.30k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10226|  5.30k|                    PyStackRef_CLOSE(self_st);
  |  |10227|  5.30k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10228|  5.30k|                    self_or_null = PyStackRef_NULL;
  |  |10229|  5.30k|                    stack_pointer += 1;
  |  |10230|  5.30k|                }
  |  |10231|   274k|                stack_pointer += -1;
  |  |10232|   274k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   274k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10233|   274k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10234|   274k|                _PyStackRef tmp = global_super_st;
  |  |10235|   274k|                global_super_st = self_or_null;
  |  |10236|   274k|                stack_pointer[-2] = global_super_st;
  |  |10237|   274k|                PyStackRef_CLOSE(tmp);
  |  |10238|   274k|                tmp = class_st;
  |  |10239|   274k|                class_st = PyStackRef_NULL;
  |  |10240|   274k|                stack_pointer[-1] = class_st;
  |  |10241|   274k|                PyStackRef_CLOSE(tmp);
  |  |10242|   274k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10243|   274k|                stack_pointer += -2;
  |  |10244|   274k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   274k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10245|   274k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10246|   274k|            }
  |  |10247|      0|            stack_pointer[0] = attr;
  |  |10248|   274k|            stack_pointer[1] = self_or_null;
  |  |10249|   274k|            stack_pointer += 2;
  |  |10250|   274k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   274k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10251|   274k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   274k|    { \
  |  |  |  |  201|   274k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   274k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   274k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   274k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   274k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   274k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   274k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   274k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 274k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   274k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   274k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   274k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   274k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   274k|    }
  |  |  ------------------
  |  |10252|   274k|        }
  |  |10253|       |
  |  |10254|  7.19M|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|  7.19M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10255|       |            #if _Py_TAIL_CALL_INTERP
  |  |10256|       |            int opcode = MAKE_CELL;
  |  |10257|       |            (void)(opcode);
  |  |10258|       |            #endif
  |  |10259|  7.19M|            frame->instr_ptr = next_instr;
  |  |10260|  7.19M|            next_instr += 1;
  |  |10261|  7.19M|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|  7.19M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10262|  7.19M|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  7.19M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10263|  7.19M|            PyObject *cell = PyCell_New(initial);
  |  |10264|  7.19M|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10264:17): [True: 0, False: 7.19M]
  |  |  ------------------
  |  |10265|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10266|      0|            }
  |  |10267|  7.19M|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  7.19M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10268|  7.19M|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  284|  7.19M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10269|  7.19M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10270|  7.19M|            PyStackRef_XCLOSE(tmp);
  |  |10271|  7.19M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10272|  7.19M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.19M|    { \
  |  |  |  |  201|  7.19M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.19M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.19M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.19M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.19M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.19M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.19M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.19M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.19M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.19M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.19M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.19M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.19M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.19M|    }
  |  |  ------------------
  |  |10273|  7.19M|        }
  |  |10274|       |
  |  |10275|  3.46M|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  3.46M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10276|       |            #if _Py_TAIL_CALL_INTERP
  |  |10277|       |            int opcode = MAKE_FUNCTION;
  |  |10278|       |            (void)(opcode);
  |  |10279|       |            #endif
  |  |10280|  3.46M|            frame->instr_ptr = next_instr;
  |  |10281|  3.46M|            next_instr += 1;
  |  |10282|  3.46M|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  3.46M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10283|  3.46M|            _PyStackRef codeobj_st;
  |  |10284|  3.46M|            _PyStackRef func;
  |  |10285|  3.46M|            _PyStackRef co;
  |  |10286|  3.46M|            _PyStackRef value;
  |  |10287|       |            // _MAKE_FUNCTION
  |  |10288|  3.46M|            {
  |  |10289|  3.46M|                codeobj_st = stack_pointer[-1];
  |  |10290|  3.46M|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10291|  3.46M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10292|  3.46M|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10293|  3.46M|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  325|  3.46M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10294|  3.46M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10295|  3.46M|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10295:21): [True: 0, False: 3.46M]
  |  |  ------------------
  |  |10296|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10297|      0|                }
  |  |10298|  3.46M|                co = codeobj_st;
  |  |10299|  3.46M|                _PyFunction_SetVersion(
  |  |10300|  3.46M|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10301|  3.46M|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10302|  3.46M|            }
  |  |10303|       |            // _POP_TOP
  |  |10304|      0|            {
  |  |10305|  3.46M|                value = co;
  |  |10306|  3.46M|                stack_pointer[-1] = func;
  |  |10307|  3.46M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10308|  3.46M|                PyStackRef_XCLOSE(value);
  |  |10309|  3.46M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10310|  3.46M|            }
  |  |10311|  3.46M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.46M|    { \
  |  |  |  |  201|  3.46M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.46M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.46M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.46M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.46M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.46M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.46M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.46M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.46M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.46M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.46M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.46M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.46M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.46M|    }
  |  |  ------------------
  |  |10312|  3.46M|        }
  |  |10313|       |
  |  |10314|  65.9k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  65.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10315|       |            #if _Py_TAIL_CALL_INTERP
  |  |10316|       |            int opcode = MAP_ADD;
  |  |10317|       |            (void)(opcode);
  |  |10318|       |            #endif
  |  |10319|  65.9k|            frame->instr_ptr = next_instr;
  |  |10320|  65.9k|            next_instr += 1;
  |  |10321|  65.9k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  65.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10322|  65.9k|            _PyStackRef dict_st;
  |  |10323|  65.9k|            _PyStackRef key;
  |  |10324|  65.9k|            _PyStackRef value;
  |  |10325|  65.9k|            value = stack_pointer[-1];
  |  |10326|  65.9k|            key = stack_pointer[-2];
  |  |10327|  65.9k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10328|  65.9k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10329|  65.9k|            assert(PyDict_CheckExact(dict));
  |  |10330|  65.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10331|  65.9k|            int err = _PyDict_SetItem_Take2(
  |  |10332|  65.9k|                (PyDictObject *)dict,
  |  |10333|  65.9k|                PyStackRef_AsPyObjectSteal(key),
  |  |10334|  65.9k|                PyStackRef_AsPyObjectSteal(value)
  |  |10335|  65.9k|            );
  |  |10336|  65.9k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10337|  65.9k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10337:17): [True: 0, False: 65.9k]
  |  |  ------------------
  |  |10338|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10339|      0|            }
  |  |10340|  65.9k|            stack_pointer += -2;
  |  |10341|  65.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  65.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10342|  65.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  65.9k|    { \
  |  |  |  |  201|  65.9k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  65.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  65.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  65.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  65.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  65.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  65.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  65.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 65.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  65.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  65.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  65.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  65.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  65.9k|    }
  |  |  ------------------
  |  |10343|  65.9k|        }
  |  |10344|       |
  |  |10345|      4|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10346|       |            #if _Py_TAIL_CALL_INTERP
  |  |10347|       |            int opcode = MATCH_CLASS;
  |  |10348|       |            (void)(opcode);
  |  |10349|       |            #endif
  |  |10350|      4|            frame->instr_ptr = next_instr;
  |  |10351|      4|            next_instr += 1;
  |  |10352|      4|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10353|      4|            _PyStackRef subject;
  |  |10354|      4|            _PyStackRef type;
  |  |10355|      4|            _PyStackRef names;
  |  |10356|      4|            _PyStackRef attrs;
  |  |10357|      4|            _PyStackRef s;
  |  |10358|      4|            _PyStackRef tp;
  |  |10359|      4|            _PyStackRef n;
  |  |10360|      4|            _PyStackRef value;
  |  |10361|       |            // _MATCH_CLASS
  |  |10362|      4|            {
  |  |10363|      4|                names = stack_pointer[-1];
  |  |10364|      4|                type = stack_pointer[-2];
  |  |10365|      4|                subject = stack_pointer[-3];
  |  |10366|      4|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |10367|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10368|      4|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10369|      4|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10370|      4|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10371|      4|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10372|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10373|      4|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10373:21): [True: 0, False: 4]
  |  |  ------------------
  |  |10374|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |10375|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10376|      0|                }
  |  |10377|      4|                else {
  |  |10378|      4|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10378:25): [True: 0, False: 4]
  |  |  ------------------
  |  |10379|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10380|      0|                    }
  |  |10381|      4|                    attrs = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      4|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10382|      4|                }
  |  |10383|      4|                s = subject;
  |  |10384|      4|                tp = type;
  |  |10385|      4|                n = names;
  |  |10386|      4|            }
  |  |10387|       |            // _POP_TOP
  |  |10388|      0|            {
  |  |10389|      4|                value = n;
  |  |10390|      4|                stack_pointer[-3] = attrs;
  |  |10391|      4|                stack_pointer[-2] = s;
  |  |10392|      4|                stack_pointer[-1] = tp;
  |  |10393|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10394|      4|                PyStackRef_XCLOSE(value);
  |  |10395|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10396|      4|            }
  |  |10397|       |            // _POP_TOP
  |  |10398|      4|            {
  |  |10399|      4|                value = tp;
  |  |10400|      4|                stack_pointer += -1;
  |  |10401|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10402|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10403|      4|                PyStackRef_XCLOSE(value);
  |  |10404|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10405|      4|            }
  |  |10406|       |            // _POP_TOP
  |  |10407|      4|            {
  |  |10408|      4|                value = s;
  |  |10409|      4|                stack_pointer += -1;
  |  |10410|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10411|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10412|      4|                PyStackRef_XCLOSE(value);
  |  |10413|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10414|      4|            }
  |  |10415|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  |10416|      4|        }
  |  |10417|       |
  |  |10418|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10419|       |            #if _Py_TAIL_CALL_INTERP
  |  |10420|       |            int opcode = MATCH_KEYS;
  |  |10421|       |            (void)(opcode);
  |  |10422|       |            #endif
  |  |10423|      0|            frame->instr_ptr = next_instr;
  |  |10424|      0|            next_instr += 1;
  |  |10425|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10426|      0|            _PyStackRef subject;
  |  |10427|      0|            _PyStackRef keys;
  |  |10428|      0|            _PyStackRef values_or_none;
  |  |10429|      0|            keys = stack_pointer[-1];
  |  |10430|      0|            subject = stack_pointer[-2];
  |  |10431|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10432|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10433|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10434|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10435|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10435:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10436|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10437|      0|            }
  |  |10438|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10439|      0|            stack_pointer[0] = values_or_none;
  |  |10440|      0|            stack_pointer += 1;
  |  |10441|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10442|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10443|      0|        }
  |  |10444|       |
  |  |10445|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10446|       |            #if _Py_TAIL_CALL_INTERP
  |  |10447|       |            int opcode = MATCH_MAPPING;
  |  |10448|       |            (void)(opcode);
  |  |10449|       |            #endif
  |  |10450|      0|            frame->instr_ptr = next_instr;
  |  |10451|      0|            next_instr += 1;
  |  |10452|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10453|      0|            _PyStackRef subject;
  |  |10454|      0|            _PyStackRef res;
  |  |10455|      0|            subject = stack_pointer[-1];
  |  |10456|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10457|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10457:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10458|      0|            stack_pointer[0] = res;
  |  |10459|      0|            stack_pointer += 1;
  |  |10460|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10461|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10462|      0|        }
  |  |10463|       |
  |  |10464|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10465|       |            #if _Py_TAIL_CALL_INTERP
  |  |10466|       |            int opcode = MATCH_SEQUENCE;
  |  |10467|       |            (void)(opcode);
  |  |10468|       |            #endif
  |  |10469|      0|            frame->instr_ptr = next_instr;
  |  |10470|      0|            next_instr += 1;
  |  |10471|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10472|      0|            _PyStackRef subject;
  |  |10473|      0|            _PyStackRef res;
  |  |10474|      0|            subject = stack_pointer[-1];
  |  |10475|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10476|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10476:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10477|      0|            stack_pointer[0] = res;
  |  |10478|      0|            stack_pointer += 1;
  |  |10479|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10480|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10481|      0|        }
  |  |10482|       |
  |  |10483|  11.1M|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  11.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10484|       |            #if _Py_TAIL_CALL_INTERP
  |  |10485|       |            int opcode = NOP;
  |  |10486|       |            (void)(opcode);
  |  |10487|       |            #endif
  |  |10488|  11.1M|            frame->instr_ptr = next_instr;
  |  |10489|  11.1M|            next_instr += 1;
  |  |10490|  11.1M|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  11.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10491|  11.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.1M|    { \
  |  |  |  |  201|  11.1M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  11.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  11.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  11.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  11.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  11.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  11.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 11.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.1M|    }
  |  |  ------------------
  |  |10492|  11.1M|        }
  |  |10493|       |
  |  |10494|  11.1M|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10495|       |            #if _Py_TAIL_CALL_INTERP
  |  |10496|       |            int opcode = NOT_TAKEN;
  |  |10497|       |            (void)(opcode);
  |  |10498|       |            #endif
  |  |10499|      0|            frame->instr_ptr = next_instr;
  |  |10500|      0|            next_instr += 1;
  |  |10501|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10502|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10503|      0|        }
  |  |10504|       |
  |  |10505|  1.90M|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  1.90M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10506|       |            #if _Py_TAIL_CALL_INTERP
  |  |10507|       |            int opcode = POP_EXCEPT;
  |  |10508|       |            (void)(opcode);
  |  |10509|       |            #endif
  |  |10510|  1.90M|            frame->instr_ptr = next_instr;
  |  |10511|  1.90M|            next_instr += 1;
  |  |10512|  1.90M|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  1.90M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10513|  1.90M|            _PyStackRef exc_value;
  |  |10514|  1.90M|            exc_value = stack_pointer[-1];
  |  |10515|  1.90M|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10516|  1.90M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10517|  1.90M|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  374|  1.90M|    do { \
  |  |  |  |  375|  1.90M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  1.90M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  376|  1.90M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  1.90M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  377|  3.81M|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:26): [True: 1.88M, False: 24.1k]
  |  |  |  |  ------------------
  |  |  |  |  378|  1.90M|        Py_XDECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  1.90M|    do { \
  |  |  |  |  |  |   70|  1.90M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  1.90M|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 1.90M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  1.90M|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  1.90M|    do { \
  |  |  |  |  |  |  |  |   81|  1.90M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  1.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  1.90M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|  1.90M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  1.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1.90M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  1.90M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  1.90M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  1.90M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 1.43M, False: 473k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  1.43M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|  1.43M|    do { \
  |  |  |  |  |  |  |  |  |  |  113|  1.43M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  114|  1.43M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 1.43M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  |  |  118|  1.43M|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 1.43M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  1.43M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  1.43M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  1.43M|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  1.43M|        } \
  |  |  |  |  |  |  |  |   92|  1.90M|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 1.90M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  1.90M|        } \
  |  |  |  |  |  |   74|  1.90M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 1.90M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  379|  1.90M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.90M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10518|  1.90M|                       PyStackRef_IsNone(exc_value)
  |  |10519|  1.90M|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10520|  1.90M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10521|  1.90M|            stack_pointer += -1;
  |  |10522|  1.90M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.90M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10523|  1.90M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.90M|    { \
  |  |  |  |  201|  1.90M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.90M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.90M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.90M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.90M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.90M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.90M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.90M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.90M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.90M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.90M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.90M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.90M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.90M|    }
  |  |  ------------------
  |  |10524|  1.90M|        }
  |  |10525|       |
  |  |10526|  4.03M|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  4.03M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10527|       |            #if _Py_TAIL_CALL_INTERP
  |  |10528|       |            int opcode = POP_ITER;
  |  |10529|       |            (void)(opcode);
  |  |10530|       |            #endif
  |  |10531|  4.03M|            frame->instr_ptr = next_instr;
  |  |10532|  4.03M|            next_instr += 1;
  |  |10533|  4.03M|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  4.03M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10534|  4.03M|            _PyStackRef iter;
  |  |10535|  4.03M|            _PyStackRef index_or_null;
  |  |10536|  4.03M|            index_or_null = stack_pointer[-1];
  |  |10537|  4.03M|            iter = stack_pointer[-2];
  |  |10538|  4.03M|            (void)index_or_null;
  |  |10539|  4.03M|            stack_pointer += -2;
  |  |10540|  4.03M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.03M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10541|  4.03M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10542|  4.03M|            PyStackRef_CLOSE(iter);
  |  |10543|  4.03M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10544|  4.03M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.03M|    { \
  |  |  |  |  201|  4.03M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.03M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.03M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.03M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.03M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.03M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.03M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.03M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.03M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.03M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.03M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.03M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.03M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.03M|    }
  |  |  ------------------
  |  |10545|  4.03M|        }
  |  |10546|       |
  |  |10547|  63.2M|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  63.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10548|       |            #if _Py_TAIL_CALL_INTERP
  |  |10549|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |10550|       |            (void)(opcode);
  |  |10551|       |            #endif
  |  |10552|  63.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10553|  63.2M|            (void)this_instr;
  |  |10554|  63.2M|            frame->instr_ptr = next_instr;
  |  |10555|  63.2M|            next_instr += 2;
  |  |10556|  63.2M|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  63.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10557|  63.2M|            _PyStackRef cond;
  |  |10558|       |            /* Skip 1 cache entry */
  |  |10559|  63.2M|            cond = stack_pointer[-1];
  |  |10560|  63.2M|            assert(PyStackRef_BoolCheck(cond));
  |  |10561|  63.2M|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  63.2M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  63.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10562|  63.2M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  63.2M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  63.2M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  63.2M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10563|  63.2M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|   126M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 45.7M, False: 17.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10564|  63.2M|            stack_pointer += -1;
  |  |10565|  63.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  63.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10566|  63.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  63.2M|    { \
  |  |  |  |  201|  63.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  63.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  63.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  63.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  63.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  63.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  63.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  63.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 63.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  63.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  63.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  63.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  63.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  63.2M|    }
  |  |  ------------------
  |  |10567|  63.2M|        }
  |  |10568|       |
  |  |10569|  63.2M|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|  3.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10570|       |            #if _Py_TAIL_CALL_INTERP
  |  |10571|       |            int opcode = POP_JUMP_IF_NONE;
  |  |10572|       |            (void)(opcode);
  |  |10573|       |            #endif
  |  |10574|  3.66M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10575|  3.66M|            (void)this_instr;
  |  |10576|  3.66M|            frame->instr_ptr = next_instr;
  |  |10577|  3.66M|            next_instr += 2;
  |  |10578|  3.66M|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|  3.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10579|  3.66M|            _PyStackRef value;
  |  |10580|  3.66M|            _PyStackRef b;
  |  |10581|  3.66M|            _PyStackRef cond;
  |  |10582|       |            /* Skip 1 cache entry */
  |  |10583|       |            // _IS_NONE
  |  |10584|  3.66M|            {
  |  |10585|  3.66M|                value = stack_pointer[-1];
  |  |10586|  3.66M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  3.66M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.66M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 2.96M, False: 701k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10587|  2.96M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  2.96M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.96M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10588|  2.96M|                }
  |  |10589|   701k|                else {
  |  |10590|   701k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   701k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   701k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10591|   701k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10592|   701k|                    _PyStackRef tmp = value;
  |  |10593|   701k|                    value = b;
  |  |10594|   701k|                    stack_pointer[-1] = value;
  |  |10595|   701k|                    PyStackRef_CLOSE(tmp);
  |  |10596|   701k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10597|   701k|                }
  |  |10598|  3.66M|            }
  |  |10599|       |            // _POP_JUMP_IF_TRUE
  |  |10600|  3.66M|            {
  |  |10601|  3.66M|                cond = b;
  |  |10602|  3.66M|                assert(PyStackRef_BoolCheck(cond));
  |  |10603|  3.66M|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  3.66M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.66M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10604|  3.66M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  3.66M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.66M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  3.66M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10605|  3.66M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  7.33M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 2.96M, False: 701k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10606|  3.66M|            }
  |  |10607|  3.66M|            stack_pointer += -1;
  |  |10608|  3.66M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10609|  3.66M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.66M|    { \
  |  |  |  |  201|  3.66M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.66M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.66M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.66M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.66M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.66M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.66M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.66M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.66M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.66M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.66M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.66M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.66M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.66M|    }
  |  |  ------------------
  |  |10610|  3.66M|        }
  |  |10611|       |
  |  |10612|  7.89M|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  7.89M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10613|       |            #if _Py_TAIL_CALL_INTERP
  |  |10614|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |10615|       |            (void)(opcode);
  |  |10616|       |            #endif
  |  |10617|  7.89M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10618|  7.89M|            (void)this_instr;
  |  |10619|  7.89M|            frame->instr_ptr = next_instr;
  |  |10620|  7.89M|            next_instr += 2;
  |  |10621|  7.89M|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  7.89M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10622|  7.89M|            _PyStackRef value;
  |  |10623|  7.89M|            _PyStackRef b;
  |  |10624|  7.89M|            _PyStackRef cond;
  |  |10625|       |            /* Skip 1 cache entry */
  |  |10626|       |            // _IS_NONE
  |  |10627|  7.89M|            {
  |  |10628|  7.89M|                value = stack_pointer[-1];
  |  |10629|  7.89M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  7.89M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.89M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1.61M, False: 6.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10630|  1.61M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  1.61M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.61M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10631|  1.61M|                }
  |  |10632|  6.27M|                else {
  |  |10633|  6.27M|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  6.27M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.27M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10634|  6.27M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10635|  6.27M|                    _PyStackRef tmp = value;
  |  |10636|  6.27M|                    value = b;
  |  |10637|  6.27M|                    stack_pointer[-1] = value;
  |  |10638|  6.27M|                    PyStackRef_CLOSE(tmp);
  |  |10639|  6.27M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10640|  6.27M|                }
  |  |10641|  7.89M|            }
  |  |10642|       |            // _POP_JUMP_IF_FALSE
  |  |10643|  7.89M|            {
  |  |10644|  7.89M|                cond = b;
  |  |10645|  7.89M|                assert(PyStackRef_BoolCheck(cond));
  |  |10646|  7.89M|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  7.89M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.89M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10647|  7.89M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  7.89M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.89M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  7.89M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10648|  7.89M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  15.7M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 6.27M, False: 1.61M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10649|  7.89M|            }
  |  |10650|  7.89M|            stack_pointer += -1;
  |  |10651|  7.89M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.89M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10652|  7.89M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.89M|    { \
  |  |  |  |  201|  7.89M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.89M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.89M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.89M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.89M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.89M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.89M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.89M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.89M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.89M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.89M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.89M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.89M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.89M|    }
  |  |  ------------------
  |  |10653|  7.89M|        }
  |  |10654|       |
  |  |10655|  16.6M|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  16.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10656|       |            #if _Py_TAIL_CALL_INTERP
  |  |10657|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |10658|       |            (void)(opcode);
  |  |10659|       |            #endif
  |  |10660|  16.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10661|  16.6M|            (void)this_instr;
  |  |10662|  16.6M|            frame->instr_ptr = next_instr;
  |  |10663|  16.6M|            next_instr += 2;
  |  |10664|  16.6M|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  16.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10665|  16.6M|            _PyStackRef cond;
  |  |10666|       |            /* Skip 1 cache entry */
  |  |10667|  16.6M|            cond = stack_pointer[-1];
  |  |10668|  16.6M|            assert(PyStackRef_BoolCheck(cond));
  |  |10669|  16.6M|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  16.6M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  16.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10670|  16.6M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  16.6M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.6M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  16.6M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10671|  16.6M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  33.2M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 8.51M, False: 8.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10672|  16.6M|            stack_pointer += -1;
  |  |10673|  16.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10674|  16.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.6M|    { \
  |  |  |  |  201|  16.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  16.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  16.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  16.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  16.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  16.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  16.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  16.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 16.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.6M|    }
  |  |  ------------------
  |  |10675|  16.6M|        }
  |  |10676|       |
  |  |10677|  19.9M|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  19.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10678|       |            #if _Py_TAIL_CALL_INTERP
  |  |10679|       |            int opcode = POP_TOP;
  |  |10680|       |            (void)(opcode);
  |  |10681|       |            #endif
  |  |10682|  19.9M|            frame->instr_ptr = next_instr;
  |  |10683|  19.9M|            next_instr += 1;
  |  |10684|  19.9M|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  19.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10685|  19.9M|            _PyStackRef value;
  |  |10686|  19.9M|            value = stack_pointer[-1];
  |  |10687|  19.9M|            stack_pointer += -1;
  |  |10688|  19.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  19.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10689|  19.9M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10690|  19.9M|            PyStackRef_XCLOSE(value);
  |  |10691|  19.9M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10692|  19.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.9M|    { \
  |  |  |  |  201|  19.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  19.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  19.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  19.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  19.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  19.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  19.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  19.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 19.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.9M|    }
  |  |  ------------------
  |  |10693|  19.9M|        }
  |  |10694|       |
  |  |10695|  19.9M|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  1.90M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10696|       |            #if _Py_TAIL_CALL_INTERP
  |  |10697|       |            int opcode = PUSH_EXC_INFO;
  |  |10698|       |            (void)(opcode);
  |  |10699|       |            #endif
  |  |10700|  1.90M|            frame->instr_ptr = next_instr;
  |  |10701|  1.90M|            next_instr += 1;
  |  |10702|  1.90M|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  1.90M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10703|  1.90M|            _PyStackRef exc;
  |  |10704|  1.90M|            _PyStackRef prev_exc;
  |  |10705|  1.90M|            _PyStackRef new_exc;
  |  |10706|  1.90M|            exc = stack_pointer[-1];
  |  |10707|  1.90M|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10708|  1.90M|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (10708:17): [True: 24.1k, False: 1.88M]
  |  |  ------------------
  |  |10709|  24.1k|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |10710|  24.1k|            }
  |  |10711|  1.88M|            else {
  |  |10712|  1.88M|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  1.88M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.88M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10713|  1.88M|            }
  |  |10714|  1.90M|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |10715|  1.90M|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|  1.90M|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  550|  1.90M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10716|  1.90M|            new_exc = exc;
  |  |10717|  1.90M|            stack_pointer[-1] = prev_exc;
  |  |10718|  1.90M|            stack_pointer[0] = new_exc;
  |  |10719|  1.90M|            stack_pointer += 1;
  |  |10720|  1.90M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.90M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10721|  1.90M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.90M|    { \
  |  |  |  |  201|  1.90M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.90M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.90M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.90M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.90M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.90M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.90M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.90M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.90M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.90M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.90M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.90M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.90M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.90M|    }
  |  |  ------------------
  |  |10722|  1.90M|        }
  |  |10723|       |
  |  |10724|  7.44M|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  7.44M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10725|       |            #if _Py_TAIL_CALL_INTERP
  |  |10726|       |            int opcode = PUSH_NULL;
  |  |10727|       |            (void)(opcode);
  |  |10728|       |            #endif
  |  |10729|  7.44M|            frame->instr_ptr = next_instr;
  |  |10730|  7.44M|            next_instr += 1;
  |  |10731|  7.44M|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  7.44M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10732|  7.44M|            _PyStackRef res;
  |  |10733|  7.44M|            res = PyStackRef_NULL;
  |  |10734|  7.44M|            stack_pointer[0] = res;
  |  |10735|  7.44M|            stack_pointer += 1;
  |  |10736|  7.44M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.44M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10737|  7.44M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.44M|    { \
  |  |  |  |  201|  7.44M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.44M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.44M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.44M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.44M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.44M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.44M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.44M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.44M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.44M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.44M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.44M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.44M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.44M|    }
  |  |  ------------------
  |  |10738|  7.44M|        }
  |  |10739|       |
  |  |10740|  7.44M|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|  4.79k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10741|       |            #if _Py_TAIL_CALL_INTERP
  |  |10742|       |            int opcode = RAISE_VARARGS;
  |  |10743|       |            (void)(opcode);
  |  |10744|       |            #endif
  |  |10745|  4.79k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10746|  4.79k|            (void)this_instr;
  |  |10747|  4.79k|            frame->instr_ptr = next_instr;
  |  |10748|  4.79k|            next_instr += 1;
  |  |10749|  4.79k|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|  4.79k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10750|  4.79k|            _PyStackRef *args;
  |  |10751|  4.79k|            args = &stack_pointer[-oparg];
  |  |10752|  4.79k|            assert(oparg < 3);
  |  |10753|  4.79k|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (10753:31): [True: 66, False: 4.73k]
  |  |  ------------------
  |  |10754|  4.79k|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (10754:29): [True: 4.78k, False: 10]
  |  |  ------------------
  |  |10755|  4.79k|            stack_pointer += -oparg;
  |  |10756|  4.79k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.79k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10757|  4.79k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10758|  4.79k|            int err = do_raise(tstate, exc, cause);
  |  |10759|  4.79k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10760|  4.79k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (10760:17): [True: 10, False: 4.78k]
  |  |  ------------------
  |  |10761|     10|                assert(oparg == 0);
  |  |10762|     10|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10763|     10|                monitor_reraise(tstate, frame, this_instr);
  |  |10764|     10|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|     10|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10765|      0|            }
  |  |10766|  4.78k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  4.78k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10767|      0|        }
  |  |10768|       |
  |  |10769|   538k|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|   538k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10770|       |            #if _Py_TAIL_CALL_INTERP
  |  |10771|       |            int opcode = RERAISE;
  |  |10772|       |            (void)(opcode);
  |  |10773|       |            #endif
  |  |10774|   538k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10775|   538k|            (void)this_instr;
  |  |10776|   538k|            frame->instr_ptr = next_instr;
  |  |10777|   538k|            next_instr += 1;
  |  |10778|   538k|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|   538k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10779|   538k|            _PyStackRef *values;
  |  |10780|   538k|            _PyStackRef exc_st;
  |  |10781|   538k|            exc_st = stack_pointer[-1];
  |  |10782|   538k|            values = &stack_pointer[-1 - oparg];
  |  |10783|   538k|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |10784|   538k|            assert(oparg >= 0 && oparg <= 2);
  |  |10785|   538k|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (10785:17): [True: 500k, False: 38.3k]
  |  |  ------------------
  |  |10786|   500k|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |10787|   500k|            }
  |  |10788|   538k|            assert(exc && PyExceptionInstance_Check(exc));
  |  |10789|   538k|            stack_pointer += -1;
  |  |10790|   538k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   538k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10791|   538k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10792|   538k|            _PyErr_SetRaisedException(tstate, exc);
  |  |10793|   538k|            monitor_reraise(tstate, frame, this_instr);
  |  |10794|   538k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|   538k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10795|      0|        }
  |  |10796|       |
  |  |10797|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10798|       |            #if _Py_TAIL_CALL_INTERP
  |  |10799|       |            int opcode = RESERVED;
  |  |10800|       |            (void)(opcode);
  |  |10801|       |            #endif
  |  |10802|      0|            frame->instr_ptr = next_instr;
  |  |10803|      0|            next_instr += 1;
  |  |10804|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10805|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |10806|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |10807|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10808|      0|        }
  |  |10809|       |
  |  |10810|  6.90k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  6.90k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10811|       |            #if _Py_TAIL_CALL_INTERP
  |  |10812|       |            int opcode = RESUME;
  |  |10813|       |            (void)(opcode);
  |  |10814|       |            #endif
  |  |10815|  6.90k|            frame->instr_ptr = next_instr;
  |  |10816|  6.90k|            next_instr += 2;
  |  |10817|  6.90k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  6.90k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10818|  7.69k|            PREDICTED_RESUME:;
  |  |10819|  7.69k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10820|  7.69k|            (void)this_instr;
  |  |10821|       |            // _LOAD_BYTECODE
  |  |10822|  7.69k|            {
  |  |10823|       |                #ifdef Py_GIL_DISABLED
  |  |10824|       |                if (frame->tlbc_index !=
  |  |10825|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10826|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10827|       |                    _Py_CODEUNIT *bytecode =
  |  |10828|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |10829|       |                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10830|       |                    if (bytecode == NULL) {
  |  |10831|       |                        JUMP_TO_LABEL(error);
  |  |10832|       |                    }
  |  |10833|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |10834|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |10835|       |                    frame->instr_ptr = bytecode + off;
  |  |10836|       |                    next_instr = frame->instr_ptr;
  |  |10837|       |                    DISPATCH();
  |  |10838|       |                }
  |  |10839|       |                #endif
  |  |10840|  7.69k|            }
  |  |10841|       |            // _MAYBE_INSTRUMENT
  |  |10842|  7.69k|            {
  |  |10843|       |                #ifdef Py_GIL_DISABLED
  |  |10844|       |
  |  |10845|       |                int check_instrumentation = 1;
  |  |10846|       |                #else
  |  |10847|  7.69k|                int check_instrumentation = (tstate->tracing == 0);
  |  |10848|  7.69k|                #endif
  |  |10849|  7.69k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (10849:21): [True: 7.69k, False: 0]
  |  |  ------------------
  |  |10850|  7.69k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  355|  7.69k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  354|  7.69k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10851|  7.69k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  7.69k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10852|  7.69k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (10852:25): [True: 0, False: 7.69k]
  |  |  ------------------
  |  |10853|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10854|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |10855|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10856|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (10856:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10857|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10858|      0|                        }
  |  |10859|      0|                        next_instr = this_instr;
  |  |10860|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10861|      0|                    }
  |  |10862|  7.69k|                }
  |  |10863|  7.69k|            }
  |  |10864|       |            // _QUICKEN_RESUME
  |  |10865|  7.69k|            {
  |  |10866|  7.69k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10867|  7.69k|                (void)counter;
  |  |10868|  7.69k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10869|  7.69k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |10870|  7.69k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10871|  7.69k|            }
  |  |10872|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |10873|  7.69k|            {
  |  |10874|  7.69k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|  7.69k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|  7.69k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (10874:21): [True: 7.51k, False: 184]
  |  |  ------------------
  |  |10875|  7.51k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10876|  7.51k|                    int err = check_periodics(tstate);
  |  |10877|  7.51k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10878|  7.51k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10878:25): [True: 0, False: 7.51k]
  |  |  ------------------
  |  |10879|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10880|      0|                    }
  |  |10881|  7.51k|                }
  |  |10882|  7.69k|            }
  |  |10883|  7.69k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.69k|    { \
  |  |  |  |  201|  7.69k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.69k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.69k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.69k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  7.69k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.69k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.69k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.69k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.69k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.69k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.69k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.69k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.69k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.69k|    }
  |  |  ------------------
  |  |10884|  7.69k|        }
  |  |10885|       |
  |  |10886|  62.0M|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  62.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10887|       |            #if _Py_TAIL_CALL_INTERP
  |  |10888|       |            int opcode = RESUME_CHECK;
  |  |10889|       |            (void)(opcode);
  |  |10890|       |            #endif
  |  |10891|  62.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10892|  62.0M|            (void)this_instr;
  |  |10893|  62.0M|            frame->instr_ptr = next_instr;
  |  |10894|  62.0M|            next_instr += 2;
  |  |10895|  62.0M|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  62.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10896|  62.0M|            static_assert(1 == 1, "incorrect cache size");
  |  |10897|       |            /* Skip 1 cache entry */
  |  |10898|       |            #if defined(__EMSCRIPTEN__)
  |  |10899|       |            if (_Py_emscripten_signal_clock == 0) {
  |  |10900|       |                UPDATE_MISS_STATS(RESUME);
  |  |10901|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10902|       |                JUMP_TO_PREDICTED(RESUME);
  |  |10903|       |            }
  |  |10904|       |            _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |10905|       |            #endif
  |  |10906|  62.0M|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |10907|  62.0M|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  62.0M|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10908|  62.0M|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |10909|  62.0M|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (10909:17): [True: 793, False: 62.0M]
  |  |  ------------------
  |  |10910|    793|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  298|    793|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10911|    793|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10912|    793|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|    793|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10913|      0|            }
  |  |10914|       |            #ifdef Py_GIL_DISABLED
  |  |10915|       |            if (frame->tlbc_index !=
  |  |10916|       |                ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10917|       |                UPDATE_MISS_STATS(RESUME);
  |  |10918|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10919|       |                JUMP_TO_PREDICTED(RESUME);
  |  |10920|       |            }
  |  |10921|       |            #endif
  |  |10922|  62.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  62.0M|    { \
  |  |  |  |  201|  62.0M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  62.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  62.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  62.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  62.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  62.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  62.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  62.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 62.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  62.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  62.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  62.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  62.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  62.0M|    }
  |  |  ------------------
  |  |10923|  62.0M|        }
  |  |10924|       |
  |  |10925|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10926|       |            #if _Py_TAIL_CALL_INTERP
  |  |10927|       |            int opcode = RESUME_CHECK_JIT;
  |  |10928|       |            (void)(opcode);
  |  |10929|       |            #endif
  |  |10930|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10931|      0|            (void)this_instr;
  |  |10932|      0|            frame->instr_ptr = next_instr;
  |  |10933|      0|            next_instr += 2;
  |  |10934|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10935|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |10936|       |            /* Skip 1 cache entry */
  |  |10937|       |            // _RESUME_CHECK
  |  |10938|      0|            {
  |  |10939|       |                #if defined(__EMSCRIPTEN__)
  |  |10940|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |10941|       |                    UPDATE_MISS_STATS(RESUME);
  |  |10942|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10943|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |10944|       |                }
  |  |10945|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |10946|       |                #endif
  |  |10947|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |10948|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10949|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |10950|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (10950:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10951|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10952|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10953|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10954|      0|                }
  |  |10955|       |                #ifdef Py_GIL_DISABLED
  |  |10956|       |                if (frame->tlbc_index !=
  |  |10957|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10958|       |                    UPDATE_MISS_STATS(RESUME);
  |  |10959|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10960|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |10961|       |                }
  |  |10962|       |                #endif
  |  |10963|      0|            }
  |  |10964|       |            // _JIT
  |  |10965|      0|            {
  |  |10966|       |                #ifdef _Py_TIER2
  |  |10967|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |10968|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |10969|       |                if ((backoff_counter_triggers(counter) &&
  |  |10970|       |                        !IS_JIT_TRACING() &&
  |  |10971|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |10972|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |10973|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |10974|       |                    while (oparg > 255) {
  |  |10975|       |                        oparg >>= 8;
  |  |10976|       |                        insert_exec_at--;
  |  |10977|       |                    }
  |  |10978|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |10979|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |10980|       |                    if (succ) {
  |  |10981|       |                        ENTER_TRACING();
  |  |10982|       |                    }
  |  |10983|       |                    else {
  |  |10984|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |10985|       |                    }
  |  |10986|       |                }
  |  |10987|       |                else {
  |  |10988|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |10989|       |                }
  |  |10990|       |                #endif
  |  |10991|      0|            }
  |  |10992|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10993|      0|        }
  |  |10994|       |
  |  |10995|  1.55M|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|  1.55M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10996|       |            #if _Py_TAIL_CALL_INTERP
  |  |10997|       |            int opcode = RETURN_GENERATOR;
  |  |10998|       |            (void)(opcode);
  |  |10999|       |            #endif
  |  |11000|  1.55M|            frame->instr_ptr = next_instr;
  |  |11001|  1.55M|            next_instr += 1;
  |  |11002|  1.55M|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|  1.55M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11003|  1.55M|            _PyStackRef res;
  |  |11004|  1.55M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |11005|  1.55M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11006|  1.55M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11007|  1.55M|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11008|  1.55M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11009|  1.55M|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11009:17): [True: 0, False: 1.55M]
  |  |  ------------------
  |  |11010|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11011|      0|            }
  |  |11012|  1.55M|            assert(STACK_LEVEL() <= 2);
  |  |11013|  1.55M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11014|  1.55M|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11015|  1.55M|            frame->instr_ptr++;
  |  |11016|  1.55M|            _PyFrame_Copy(frame, gen_frame);
  |  |11017|  1.55M|            assert(frame->frame_obj == NULL);
  |  |11018|  1.55M|            gen->gi_frame_state = FRAME_CREATED;
  |  |11019|  1.55M|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11020|  1.55M|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11021|  1.55M|            _PyInterpreterFrame *prev = frame->previous;
  |  |11022|  1.55M|            _PyThreadState_PopFrame(tstate, frame);
  |  |11023|  1.55M|            frame = tstate->current_frame = prev;
  |  |11024|  1.55M|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  419|  1.55M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  1.55M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  1.55M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 1.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11025|  1.55M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11026|  1.55M|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11027|  1.55M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.55M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11028|  1.55M|            stack_pointer[0] = res;
  |  |11029|  1.55M|            stack_pointer += 1;
  |  |11030|  1.55M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.55M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11031|  1.55M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.55M|    { \
  |  |  |  |  201|  1.55M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.55M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.55M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.55M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.55M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.55M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.55M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.55M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.55M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.55M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.55M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.55M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.55M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.55M|    }
  |  |  ------------------
  |  |11032|  1.55M|        }
  |  |11033|       |
  |  |11034|  57.4M|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  57.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11035|       |            #if _Py_TAIL_CALL_INTERP
  |  |11036|       |            int opcode = RETURN_VALUE;
  |  |11037|       |            (void)(opcode);
  |  |11038|       |            #endif
  |  |11039|  57.4M|            frame->instr_ptr = next_instr;
  |  |11040|  57.4M|            next_instr += 1;
  |  |11041|  57.4M|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  57.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11042|  57.4M|            _PyStackRef value;
  |  |11043|  57.4M|            _PyStackRef retval;
  |  |11044|  57.4M|            _PyStackRef res;
  |  |11045|       |            // _MAKE_HEAP_SAFE
  |  |11046|  57.4M|            {
  |  |11047|  57.4M|                value = stack_pointer[-1];
  |  |11048|  57.4M|                value = PyStackRef_MakeHeapSafe(value);
  |  |11049|  57.4M|            }
  |  |11050|       |            // _RETURN_VALUE
  |  |11051|  57.4M|            {
  |  |11052|  57.4M|                retval = value;
  |  |11053|  57.4M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |11054|  57.4M|                _PyStackRef temp = retval;
  |  |11055|  57.4M|                stack_pointer += -1;
  |  |11056|  57.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  57.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11057|  57.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11058|  57.4M|                assert(STACK_LEVEL() == 0);
  |  |11059|  57.4M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|  57.4M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11060|  57.4M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11061|  57.4M|                _PyInterpreterFrame *dying = frame;
  |  |11062|  57.4M|                frame = tstate->current_frame = dying->previous;
  |  |11063|  57.4M|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11064|  57.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11065|  57.4M|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  419|  57.4M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  57.4M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  57.4M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 57.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11066|  57.4M|                res = temp;
  |  |11067|  57.4M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  57.4M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11068|  57.4M|            }
  |  |11069|  57.4M|            stack_pointer[0] = res;
  |  |11070|  57.4M|            stack_pointer += 1;
  |  |11071|  57.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  57.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11072|  57.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  57.4M|    { \
  |  |  |  |  201|  57.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  57.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  57.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  57.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  57.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  57.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  57.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  57.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 57.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  57.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  57.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  57.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  57.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  57.4M|    }
  |  |  ------------------
  |  |11073|  57.4M|        }
  |  |11074|       |
  |  |11075|  57.4M|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|     14|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11076|       |            #if _Py_TAIL_CALL_INTERP
  |  |11077|       |            int opcode = SEND;
  |  |11078|       |            (void)(opcode);
  |  |11079|       |            #endif
  |  |11080|     14|            frame->instr_ptr = next_instr;
  |  |11081|     14|            next_instr += 2;
  |  |11082|     14|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|     14|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11083|     14|            PREDICTED_SEND:;
  |  |11084|     14|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11085|     14|            (void)this_instr;
  |  |11086|     14|            _PyStackRef receiver;
  |  |11087|     14|            _PyStackRef null_or_index;
  |  |11088|     14|            _PyStackRef v;
  |  |11089|     14|            _PyStackRef retval;
  |  |11090|       |            // _SPECIALIZE_SEND
  |  |11091|     14|            {
  |  |11092|     14|                receiver = stack_pointer[-3];
  |  |11093|     14|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11094|     14|                (void)counter;
  |  |11095|     14|                #if ENABLE_SPECIALIZATION
  |  |11096|     14|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|     14|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 6, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11097|      6|                    next_instr = this_instr;
  |  |11098|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11099|      6|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11100|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11101|      6|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|      6|    { \
  |  |  |  |  217|      6|        opcode = next_instr->op.code; \
  |  |  |  |  218|      6|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      6|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|      6|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      6|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|      6|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|      6|    }
  |  |  ------------------
  |  |11102|      6|                }
  |  |11103|     14|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|     14|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11104|     14|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|     14|    do { \
  |  |  |  |  358|     14|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|     14|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11105|     14|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11106|     14|            }
  |  |11107|       |            // _SEND
  |  |11108|     14|            {
  |  |11109|     14|                v = stack_pointer[-1];
  |  |11110|     14|                null_or_index = stack_pointer[-2];
  |  |11111|     14|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11112|     14|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |11113|     14|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|     28|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11113:21): [True: 8, False: 6]
  |  |  ------------------
  |  |11114|      8|                    (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11114:22): [True: 2, False: 6]
  |  |  |  Branch (11114:60): [True: 0, False: 6]
  |  |  ------------------
  |  |11115|      2|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11115:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11116|      2|                {
  |  |11117|      2|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11118|      2|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11119|      2|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11120|      2|                    stack_pointer += -1;
  |  |11121|      2|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11122|      2|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11123|      2|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11124|      2|                    assert( 2u + oparg <= UINT16_MAX);
  |  |11125|      2|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11126|      2|                    assert(gen_frame->previous == NULL);
  |  |11127|      2|                    gen_frame->previous = frame;
  |  |11128|      2|                    DISPATCH_INLINED(gen_frame);
  |  |  ------------------
  |  |  |  |  223|      2|    do {                                                         \
  |  |  |  |  224|      2|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      2|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      2|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|      2|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|      2|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      2|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|      2|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11129|      2|                }
  |  |11130|     12|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  482|     24|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     12|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     12|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  495|      6|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11130:21): [True: 6, False: 6]
  |  |  ------------------
  |  |11131|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11132|      6|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11133|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11134|      6|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11134:25): [True: 2, False: 4]
  |  |  ------------------
  |  |11135|      2|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11135:29): [True: 0, False: 2]
  |  |  ------------------
  |  |11136|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11137|      0|                        }
  |  |11138|      2|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      2|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11139|      2|                        stack_pointer[-2] = null_or_index;
  |  |11140|      2|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |11141|      2|                    }
  |  |11142|      6|                    retval = item;
  |  |11143|      6|                }
  |  |11144|      6|                else {
  |  |11145|      6|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11146|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11147|      6|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11148|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11149|      6|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11149:25): [True: 0, False: 6]
  |  |  ------------------
  |  |11150|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11151|      0|                    }
  |  |11152|      6|                    stack_pointer += -1;
  |  |11153|      6|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      6|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11154|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11155|      6|                    PyStackRef_CLOSE(v);
  |  |11156|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11157|      6|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11158|      6|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11158:25): [True: 0, False: 6]
  |  |  ------------------
  |  |11159|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11160|      0|                    }
  |  |11161|      6|                    stack_pointer += 1;
  |  |11162|      6|                }
  |  |11163|     12|            }
  |  |11164|     12|            stack_pointer[-2] = null_or_index;
  |  |11165|     12|            stack_pointer[-1] = retval;
  |  |11166|     12|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     12|    { \
  |  |  |  |  201|     12|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     12|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     12|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     12|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     12|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     12|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     12|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     12|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     12|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     12|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     12|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     12|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     12|    }
  |  |  ------------------
  |  |11167|     12|        }
  |  |11168|       |
  |  |11169|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11170|       |            #if _Py_TAIL_CALL_INTERP
  |  |11171|       |            int opcode = SEND_ASYNC_GEN;
  |  |11172|       |            (void)(opcode);
  |  |11173|       |            #endif
  |  |11174|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11175|      0|            (void)this_instr;
  |  |11176|      0|            frame->instr_ptr = next_instr;
  |  |11177|      0|            next_instr += 2;
  |  |11178|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11179|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11180|      0|            _PyStackRef iter;
  |  |11181|      0|            _PyStackRef null_in;
  |  |11182|      0|            _PyStackRef v;
  |  |11183|      0|            _PyStackRef asend;
  |  |11184|      0|            _PyStackRef null_out;
  |  |11185|      0|            _PyStackRef retval;
  |  |11186|       |            /* Skip 1 cache entry */
  |  |11187|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11188|      0|            {
  |  |11189|      0|                iter = stack_pointer[-3];
  |  |11190|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11191|      0|                if (!PyAsyncGenASend_CheckExact(iter_o)) {
  |  |  ------------------
  |  |  |  |   48|      0|#define PyAsyncGenASend_CheckExact(op) Py_IS_TYPE((op), &_PyAsyncGenASend_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11191:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11192|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11193|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11194|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11195|      0|                }
  |  |11196|      0|            }
  |  |11197|       |            // _SEND_ASYNC_GEN
  |  |11198|      0|            {
  |  |11199|      0|                v = stack_pointer[-1];
  |  |11200|      0|                null_in = stack_pointer[-2];
  |  |11201|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11202|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |11203|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11204|      0|                PyObject *retval_o;
  |  |11205|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11206|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11207|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11208|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11208:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11209|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11210|      0|                }
  |  |11211|      0|                stack_pointer += -1;
  |  |11212|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11213|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11214|      0|                PyStackRef_CLOSE(v);
  |  |11215|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11216|      0|                asend = iter;
  |  |11217|      0|                null_out = null_in;
  |  |11218|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11219|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11219:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11220|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11221|      0|                }
  |  |11222|      0|            }
  |  |11223|      0|            stack_pointer[-2] = asend;
  |  |11224|      0|            stack_pointer[-1] = null_out;
  |  |11225|      0|            stack_pointer[0] = retval;
  |  |11226|      0|            stack_pointer += 1;
  |  |11227|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11228|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11229|      0|        }
  |  |11230|       |
  |  |11231|     28|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11232|       |            #if _Py_TAIL_CALL_INTERP
  |  |11233|       |            int opcode = SEND_GEN;
  |  |11234|       |            (void)(opcode);
  |  |11235|       |            #endif
  |  |11236|     28|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11237|     28|            (void)this_instr;
  |  |11238|     28|            frame->instr_ptr = next_instr;
  |  |11239|     28|            next_instr += 2;
  |  |11240|     28|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11241|     28|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11242|     28|            _PyStackRef receiver;
  |  |11243|     28|            _PyStackRef v;
  |  |11244|     28|            _PyStackRef gen_frame;
  |  |11245|     28|            _PyStackRef new_frame;
  |  |11246|       |            /* Skip 1 cache entry */
  |  |11247|       |            // _CHECK_PEP_523
  |  |11248|     28|            {
  |  |11249|     28|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|     28|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11250|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11251|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11252|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11253|      0|                }
  |  |11254|     28|            }
  |  |11255|       |            // _SEND_GEN_FRAME
  |  |11256|     28|            {
  |  |11257|     28|                v = stack_pointer[-1];
  |  |11258|     28|                receiver = stack_pointer[-3];
  |  |11259|     28|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11260|     28|                if (Py_TYPE(gen) != &PyGen_Type && Py_TYPE(gen) != &PyCoro_Type) {
  |  |  ------------------
  |  |  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (Py_TYPE(gen) != &PyGen_Type && Py_TYPE(gen) != &PyCoro_Type) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11260:21): [True: 0, False: 28]
  |  |  |  Branch (11260:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11261|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11262|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11263|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11264|      0|                }
  |  |11265|     28|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11265:21): [True: 0, False: 28]
  |  |  ------------------
  |  |11266|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11267|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11268|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11269|      0|                }
  |  |11270|     28|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|     28|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11271|     28|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11272|     28|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11273|     28|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11274|     28|                tstate->exc_info = &gen->gi_exc_state;
  |  |11275|     28|                assert( 2u + oparg <= UINT16_MAX);
  |  |11276|     28|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11277|     28|                pushed_frame->previous = frame;
  |  |11278|     28|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11279|     28|            }
  |  |11280|       |            // _PUSH_FRAME
  |  |11281|      0|            {
  |  |11282|     28|                new_frame = gen_frame;
  |  |11283|     28|                assert(!IS_PEP523_HOOKED(tstate));
  |  |11284|     28|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11285|     28|                stack_pointer += -1;
  |  |11286|     28|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     28|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11287|     28|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11288|     28|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |11289|     28|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     28|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11290|     28|                frame = tstate->current_frame = temp;
  |  |11291|     28|                tstate->py_recursion_remaining--;
  |  |11292|     28|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|     28|#define LOAD_SP() \
  |  |  |  |  426|     28|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  |11293|     28|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|     28|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|     28|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|     28|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11294|     28|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|     28|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11295|     28|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     28|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11296|     28|            }
  |  |11297|     28|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     28|    { \
  |  |  |  |  201|     28|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     28|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     28|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     28|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     28|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     28|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     28|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     28|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     28|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     28|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     28|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     28|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     28|    }
  |  |  ------------------
  |  |11298|     28|        }
  |  |11299|       |
  |  |11300|     38|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     38|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11301|       |            #if _Py_TAIL_CALL_INTERP
  |  |11302|       |            int opcode = SEND_VIRTUAL;
  |  |11303|       |            (void)(opcode);
  |  |11304|       |            #endif
  |  |11305|     38|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11306|     38|            (void)this_instr;
  |  |11307|     38|            frame->instr_ptr = next_instr;
  |  |11308|     38|            next_instr += 2;
  |  |11309|     38|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     38|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11310|     38|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11311|     38|            _PyStackRef val;
  |  |11312|     38|            _PyStackRef nos;
  |  |11313|     38|            _PyStackRef iter;
  |  |11314|     38|            _PyStackRef null_or_index;
  |  |11315|     38|            _PyStackRef none;
  |  |11316|     38|            _PyStackRef next;
  |  |11317|       |            /* Skip 1 cache entry */
  |  |11318|       |            // _GUARD_TOS_IS_NONE
  |  |11319|     38|            {
  |  |11320|     38|                val = stack_pointer[-1];
  |  |11321|     38|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|     38|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     38|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11321:21): [True: 0, False: 38]
  |  |  ------------------
  |  |11322|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11323|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11324|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11325|      0|                }
  |  |11326|     38|            }
  |  |11327|       |            // _GUARD_NOS_NOT_NULL
  |  |11328|     38|            {
  |  |11329|     38|                nos = stack_pointer[-2];
  |  |11330|     38|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|     38|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     38|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     38|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11331|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11332|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11333|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11334|      0|                }
  |  |11335|     38|            }
  |  |11336|       |            // _SEND_VIRTUAL
  |  |11337|     38|            {
  |  |11338|     38|                none = val;
  |  |11339|     38|                null_or_index = nos;
  |  |11340|     38|                iter = stack_pointer[-3];
  |  |11341|     38|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11342|     38|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11343|     38|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11344|     38|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|     38|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11345|     38|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11346|     38|                PyObject *next_o = next_index.object;
  |  |11347|     38|                index = next_index.index;
  |  |11348|     38|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11348:21): [True: 12, False: 26]
  |  |  ------------------
  |  |11349|     12|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11349:25): [True: 0, False: 12]
  |  |  ------------------
  |  |11350|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11351|      0|                    }
  |  |11352|     12|                    next = none;
  |  |11353|     12|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|     12|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11354|     12|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     12|    { \
  |  |  |  |  201|     12|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     12|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     12|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     12|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     12|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     12|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     12|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     12|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     12|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     12|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     12|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     12|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     12|    }
  |  |  ------------------
  |  |11355|     12|                }
  |  |11356|     38|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11357|     38|                null_or_index = PyStackRef_TagInt(index);
  |  |11358|     38|            }
  |  |11359|      0|            stack_pointer[-2] = null_or_index;
  |  |11360|     38|            stack_pointer[-1] = next;
  |  |11361|     38|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     38|    { \
  |  |  |  |  201|     38|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     38|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     38|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     38|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     38|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     38|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     38|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     38|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     38|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     38|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     38|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     38|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     38|    }
  |  |  ------------------
  |  |11362|     38|        }
  |  |11363|       |
  |  |11364|      6|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      6|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11365|       |            #if _Py_TAIL_CALL_INTERP
  |  |11366|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11367|       |            (void)(opcode);
  |  |11368|       |            #endif
  |  |11369|      6|            frame->instr_ptr = next_instr;
  |  |11370|      6|            next_instr += 1;
  |  |11371|      6|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      6|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11372|      6|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  327|      6|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11372:17): [True: 0, False: 6]
  |  |  ------------------
  |  |11373|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11374|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11375|      0|                              "no locals found when setting up annotations");
  |  |11376|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11377|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11378|      0|            }
  |  |11379|      6|            int err;
  |  |11380|      6|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11381|      6|            PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  327|      6|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                           PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11382|      6|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11383|      6|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11383:17): [True: 0, False: 6]
  |  |  ------------------
  |  |11384|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11385|      0|            }
  |  |11386|      6|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11386:17): [True: 6, False: 0]
  |  |  ------------------
  |  |11387|      6|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11388|      6|                ann_dict = PyDict_New();
  |  |11389|      6|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11390|      6|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11390:21): [True: 0, False: 6]
  |  |  ------------------
  |  |11391|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11392|      0|                }
  |  |11393|      6|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11394|      6|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  327|      6|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11395|      6|                                       ann_dict);
  |  |11396|      6|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      6|    do { \
  |  |  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      6|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11397|      6|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11398|      6|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11398:21): [True: 0, False: 6]
  |  |  ------------------
  |  |11399|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11400|      0|                }
  |  |11401|      6|            }
  |  |11402|      0|            else {
  |  |11403|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11404|      0|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11405|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11406|      0|            }
  |  |11407|      6|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      6|    { \
  |  |  |  |  201|      6|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      6|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      6|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      6|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      6|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      6|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      6|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      6|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      6|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      6|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      6|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      6|    }
  |  |  ------------------
  |  |11408|      6|        }
  |  |11409|       |
  |  |11410|  90.7k|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|  90.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11411|       |            #if _Py_TAIL_CALL_INTERP
  |  |11412|       |            int opcode = SET_ADD;
  |  |11413|       |            (void)(opcode);
  |  |11414|       |            #endif
  |  |11415|  90.7k|            frame->instr_ptr = next_instr;
  |  |11416|  90.7k|            next_instr += 1;
  |  |11417|  90.7k|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|  90.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11418|  90.7k|            _PyStackRef set;
  |  |11419|  90.7k|            _PyStackRef v;
  |  |11420|  90.7k|            v = stack_pointer[-1];
  |  |11421|  90.7k|            set = stack_pointer[-2 - (oparg-1)];
  |  |11422|  90.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11423|  90.7k|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11424|  90.7k|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11425|  90.7k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11426|  90.7k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11426:17): [True: 0, False: 90.7k]
  |  |  ------------------
  |  |11427|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11428|      0|            }
  |  |11429|  90.7k|            stack_pointer += -1;
  |  |11430|  90.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  90.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11431|  90.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  90.7k|    { \
  |  |  |  |  201|  90.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  90.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  90.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  90.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  90.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  90.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  90.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  90.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 90.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  90.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  90.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  90.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  90.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  90.7k|    }
  |  |  ------------------
  |  |11432|  90.7k|        }
  |  |11433|       |
  |  |11434|  3.12M|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|  3.12M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11435|       |            #if _Py_TAIL_CALL_INTERP
  |  |11436|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11437|       |            (void)(opcode);
  |  |11438|       |            #endif
  |  |11439|  3.12M|            frame->instr_ptr = next_instr;
  |  |11440|  3.12M|            next_instr += 1;
  |  |11441|  3.12M|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|  3.12M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11442|  3.12M|            _PyStackRef attr_st;
  |  |11443|  3.12M|            _PyStackRef func_in;
  |  |11444|  3.12M|            _PyStackRef func_out;
  |  |11445|  3.12M|            func_in = stack_pointer[-1];
  |  |11446|  3.12M|            attr_st = stack_pointer[-2];
  |  |11447|  3.12M|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11448|  3.12M|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11449|  3.12M|            func_out = func_in;
  |  |11450|  3.12M|            assert(PyFunction_Check(func));
  |  |11451|  3.12M|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11452|  3.12M|            assert(offset != 0);
  |  |11453|  3.12M|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11454|  3.12M|            assert(*ptr == NULL);
  |  |11455|  3.12M|            *ptr = attr;
  |  |11456|  3.12M|            stack_pointer[-2] = func_out;
  |  |11457|  3.12M|            stack_pointer += -1;
  |  |11458|  3.12M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11459|  3.12M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.12M|    { \
  |  |  |  |  201|  3.12M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.12M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.12M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.12M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.12M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.12M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.12M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.12M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.12M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.12M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.12M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.12M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.12M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.12M|    }
  |  |  ------------------
  |  |11460|  3.12M|        }
  |  |11461|       |
  |  |11462|  3.12M|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|  58.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11463|       |            #if _Py_TAIL_CALL_INTERP
  |  |11464|       |            int opcode = SET_UPDATE;
  |  |11465|       |            (void)(opcode);
  |  |11466|       |            #endif
  |  |11467|  58.2k|            frame->instr_ptr = next_instr;
  |  |11468|  58.2k|            next_instr += 1;
  |  |11469|  58.2k|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|  58.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11470|  58.2k|            _PyStackRef set;
  |  |11471|  58.2k|            _PyStackRef iterable;
  |  |11472|  58.2k|            _PyStackRef i;
  |  |11473|  58.2k|            _PyStackRef value;
  |  |11474|       |            // _SET_UPDATE
  |  |11475|  58.2k|            {
  |  |11476|  58.2k|                iterable = stack_pointer[-1];
  |  |11477|  58.2k|                set = stack_pointer[-2 - (oparg-1)];
  |  |11478|  58.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11479|  58.2k|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11480|  58.2k|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11481|  58.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11482|  58.2k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11482:21): [True: 0, False: 58.2k]
  |  |  ------------------
  |  |11483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11484|      0|                }
  |  |11485|  58.2k|                i = iterable;
  |  |11486|  58.2k|            }
  |  |11487|       |            // _POP_TOP
  |  |11488|      0|            {
  |  |11489|  58.2k|                value = i;
  |  |11490|  58.2k|                stack_pointer += -1;
  |  |11491|  58.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  58.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11492|  58.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11493|  58.2k|                PyStackRef_XCLOSE(value);
  |  |11494|  58.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11495|  58.2k|            }
  |  |11496|  58.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  58.2k|    { \
  |  |  |  |  201|  58.2k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  58.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  58.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  58.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  58.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  58.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  58.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  58.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 58.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  58.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  58.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  58.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  58.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  58.2k|    }
  |  |  ------------------
  |  |11497|  58.2k|        }
  |  |11498|       |
  |  |11499|   856k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|   856k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11500|       |            #if _Py_TAIL_CALL_INTERP
  |  |11501|       |            int opcode = STORE_ATTR;
  |  |11502|       |            (void)(opcode);
  |  |11503|       |            #endif
  |  |11504|   856k|            frame->instr_ptr = next_instr;
  |  |11505|   856k|            next_instr += 5;
  |  |11506|   856k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|   856k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11507|  1.10M|            PREDICTED_STORE_ATTR:;
  |  |11508|  1.10M|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |11509|  1.10M|            (void)this_instr;
  |  |11510|  1.10M|            _PyStackRef owner;
  |  |11511|  1.10M|            _PyStackRef v;
  |  |11512|       |            // _SPECIALIZE_STORE_ATTR
  |  |11513|  1.10M|            {
  |  |11514|  1.10M|                owner = stack_pointer[-1];
  |  |11515|  1.10M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11516|  1.10M|                (void)counter;
  |  |11517|  1.10M|                #if ENABLE_SPECIALIZATION
  |  |11518|  1.10M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  1.10M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 6.91k, False: 1.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11519|  6.91k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  6.91k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  6.91k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  6.91k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11520|  6.91k|                    next_instr = this_instr;
  |  |11521|  6.91k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11522|  6.91k|                    _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |11523|  6.91k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11524|  6.91k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  6.91k|    { \
  |  |  |  |  217|  6.91k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  6.91k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.91k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  6.91k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  6.91k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  6.91k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  6.91k|    }
  |  |  ------------------
  |  |11525|  6.91k|                }
  |  |11526|  1.10M|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  1.10M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11527|  1.10M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  1.10M|    do { \
  |  |  |  |  358|  1.10M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  1.10M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 1.10M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11528|  1.10M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11529|  1.10M|            }
  |  |11530|       |            /* Skip 3 cache entries */
  |  |11531|       |            // _STORE_ATTR
  |  |11532|  1.10M|            {
  |  |11533|  1.10M|                v = stack_pointer[-2];
  |  |11534|  1.10M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  1.10M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.10M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.10M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11535|  1.10M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11536|  1.10M|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |11537|  1.10M|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |11538|  1.10M|                _PyStackRef tmp = owner;
  |  |11539|  1.10M|                owner = PyStackRef_NULL;
  |  |11540|  1.10M|                stack_pointer[-1] = owner;
  |  |11541|  1.10M|                PyStackRef_CLOSE(tmp);
  |  |11542|  1.10M|                tmp = v;
  |  |11543|  1.10M|                v = PyStackRef_NULL;
  |  |11544|  1.10M|                stack_pointer[-2] = v;
  |  |11545|  1.10M|                PyStackRef_CLOSE(tmp);
  |  |11546|  1.10M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11547|  1.10M|                stack_pointer += -2;
  |  |11548|  1.10M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.10M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11549|  1.10M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11549:21): [True: 4, False: 1.10M]
  |  |  ------------------
  |  |11550|      4|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11551|      0|                }
  |  |11552|  1.10M|            }
  |  |11553|  1.10M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.10M|    { \
  |  |  |  |  201|  1.10M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.10M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.10M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.10M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.10M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.10M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.10M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.10M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.10M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.10M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.10M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.10M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.10M|    }
  |  |  ------------------
  |  |11554|  1.10M|        }
  |  |11555|       |
  |  |11556|  21.3M|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  21.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11557|       |            #if _Py_TAIL_CALL_INTERP
  |  |11558|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |11559|       |            (void)(opcode);
  |  |11560|       |            #endif
  |  |11561|  21.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11562|  21.3M|            (void)this_instr;
  |  |11563|  21.3M|            frame->instr_ptr = next_instr;
  |  |11564|  21.3M|            next_instr += 5;
  |  |11565|  21.3M|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  21.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11566|  21.3M|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11567|  21.3M|            _PyStackRef value;
  |  |11568|  21.3M|            _PyStackRef owner;
  |  |11569|  21.3M|            _PyStackRef o;
  |  |11570|       |            /* Skip 1 cache entry */
  |  |11571|       |            // _LOCK_OBJECT
  |  |11572|  21.3M|            {
  |  |11573|  21.3M|                value = stack_pointer[-1];
  |  |11574|  21.3M|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  321|  21.3M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11574:21): [Folded, False: 21.3M]
  |  |  ------------------
  |  |11575|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11576|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11577|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11578|      0|                }
  |  |11579|  21.3M|            }
  |  |11580|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |11581|  21.3M|            {
  |  |11582|  21.3M|                owner = value;
  |  |11583|  21.3M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11584|  21.3M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11585|  21.3M|                assert(type_version != 0);
  |  |11586|  21.3M|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  21.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11587|  21.3M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  21.3M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11587:21): [True: 246k, False: 21.0M]
  |  |  ------------------
  |  |11588|   246k|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|   246k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11589|   246k|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11589:25): [True: 246k, Folded]
  |  |  ------------------
  |  |11590|   246k|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|   246k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11591|   246k|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11592|   246k|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|   246k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11593|      0|                    }
  |  |11594|   246k|                }
  |  |11595|  21.3M|            }
  |  |11596|       |            // _GUARD_DORV_NO_DICT
  |  |11597|  21.0M|            {
  |  |11598|  21.0M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11599|  21.0M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |11600|  21.0M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |11601|  21.0M|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (11601:21): [True: 0, False: 21.0M]
  |  |  ------------------
  |  |11602|  21.0M|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  21.0M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (11602:21): [True: 0, False: 21.0M]
  |  |  ------------------
  |  |11603|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11604|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11604:25): [True: 0, Folded]
  |  |  ------------------
  |  |11605|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11606|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11607|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11608|      0|                    }
  |  |11609|      0|                }
  |  |11610|  21.0M|            }
  |  |11611|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |11612|  21.0M|            {
  |  |11613|  21.0M|                value = stack_pointer[-2];
  |  |11614|  21.0M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |11615|  21.0M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11616|  21.0M|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  21.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11617|  21.0M|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |11618|  21.0M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |11619|  21.0M|                PyObject *old_value = *value_ptr;
  |  |11620|  21.0M|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|  21.0M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11621|  21.0M|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (11621:21): [True: 1.39M, False: 19.6M]
  |  |  ------------------
  |  |11622|  1.39M|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |11623|  1.39M|                    Py_ssize_t index = value_ptr - values->values;
  |  |11624|  1.39M|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |11625|  1.39M|                }
  |  |11626|  21.0M|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|  21.0M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11627|  21.0M|                o = owner;
  |  |11628|  21.0M|                stack_pointer[-2] = o;
  |  |11629|  21.0M|                stack_pointer += -1;
  |  |11630|  21.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  21.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11631|  21.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11632|  21.0M|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  21.0M|    do { \
  |  |  |  |   70|  21.0M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  21.0M|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 19.6M, False: 1.39M]
  |  |  |  |  ------------------
  |  |  |  |   72|  19.6M|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  19.6M|    do { \
  |  |  |  |  |  |   81|  19.6M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  19.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  19.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  19.6M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  19.6M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  19.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  19.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 3.06M, False: 16.6M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  3.06M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  3.06M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  3.06M|            break; \
  |  |  |  |  |  |   85|  3.06M|        } \
  |  |  |  |  |  |   86|  19.6M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  16.6M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  16.6M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 8.54M, False: 8.07M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|  8.54M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|  8.54M|    do { \
  |  |  |  |  |  |  |  |  113|  8.54M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|  8.54M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 8.54M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|  8.54M|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 8.54M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|  8.54M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|  8.54M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  8.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  8.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  8.54M|            (*dealloc)(op); \
  |  |  |  |  |  |   91|  8.54M|        } \
  |  |  |  |  |  |   92|  16.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 16.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  19.6M|        } \
  |  |  |  |   74|  21.0M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 21.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11633|  21.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11634|  21.0M|            }
  |  |11635|       |            // _POP_TOP
  |  |11636|  21.0M|            {
  |  |11637|  21.0M|                value = o;
  |  |11638|  21.0M|                stack_pointer += -1;
  |  |11639|  21.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  21.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11640|  21.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11641|  21.0M|                PyStackRef_XCLOSE(value);
  |  |11642|  21.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11643|  21.0M|            }
  |  |11644|  21.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  21.0M|    { \
  |  |  |  |  201|  21.0M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  21.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  21.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  21.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  21.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  21.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  21.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  21.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 21.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  21.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  21.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  21.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  21.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  21.0M|    }
  |  |  ------------------
  |  |11645|  21.0M|        }
  |  |11646|       |
  |  |11647|  1.52M|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  1.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11648|       |            #if _Py_TAIL_CALL_INTERP
  |  |11649|       |            int opcode = STORE_ATTR_SLOT;
  |  |11650|       |            (void)(opcode);
  |  |11651|       |            #endif
  |  |11652|  1.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11653|  1.52M|            (void)this_instr;
  |  |11654|  1.52M|            frame->instr_ptr = next_instr;
  |  |11655|  1.52M|            next_instr += 5;
  |  |11656|  1.52M|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  1.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11657|  1.52M|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11658|  1.52M|            _PyStackRef owner;
  |  |11659|  1.52M|            _PyStackRef value;
  |  |11660|  1.52M|            _PyStackRef o;
  |  |11661|       |            /* Skip 1 cache entry */
  |  |11662|       |            // _GUARD_TYPE_VERSION
  |  |11663|  1.52M|            {
  |  |11664|  1.52M|                owner = stack_pointer[-1];
  |  |11665|  1.52M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11666|  1.52M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  1.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11667|  1.52M|                assert(type_version != 0);
  |  |11668|  1.52M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  1.52M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11668:21): [True: 1.29k, False: 1.52M]
  |  |  ------------------
  |  |11669|  1.29k|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|  1.29k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11670|  1.29k|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11671|  1.29k|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|  1.29k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11672|      0|                }
  |  |11673|  1.52M|            }
  |  |11674|       |            // _STORE_ATTR_SLOT
  |  |11675|  1.52M|            {
  |  |11676|  1.52M|                value = stack_pointer[-2];
  |  |11677|  1.52M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |11678|  1.52M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11679|  1.52M|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  321|  1.52M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11679:21): [Folded, False: 1.52M]
  |  |  ------------------
  |  |11680|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11681|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11682|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11683|      0|                }
  |  |11684|  1.52M|                char *addr = (char *)owner_o + index;
  |  |11685|  1.52M|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.52M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11686|  1.52M|                PyObject *old_value = *(PyObject **)addr;
  |  |11687|  1.52M|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|  1.52M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11688|  1.52M|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|  1.52M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11689|  1.52M|                o = owner;
  |  |11690|  1.52M|                stack_pointer[-2] = o;
  |  |11691|  1.52M|                stack_pointer += -1;
  |  |11692|  1.52M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.52M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11693|  1.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11694|  1.52M|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  1.52M|    do { \
  |  |  |  |   70|  1.52M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  1.52M|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 390k, False: 1.13M]
  |  |  |  |  ------------------
  |  |  |  |   72|   390k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|   390k|    do { \
  |  |  |  |  |  |   81|   390k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   390k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   390k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|   390k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   390k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   390k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   390k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 71.2k, False: 319k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  71.2k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  71.2k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  71.2k|            break; \
  |  |  |  |  |  |   85|  71.2k|        } \
  |  |  |  |  |  |   86|   390k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|   319k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|   319k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 152k, False: 166k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|   152k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|   152k|    do { \
  |  |  |  |  |  |  |  |  113|   152k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|   152k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 152k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|   152k|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 152k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|   152k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|   152k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|   152k|            (*dealloc)(op); \
  |  |  |  |  |  |   91|   152k|        } \
  |  |  |  |  |  |   92|   319k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 319k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|   390k|        } \
  |  |  |  |   74|  1.52M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 1.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11695|  1.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11696|  1.52M|            }
  |  |11697|       |            // _POP_TOP
  |  |11698|      0|            {
  |  |11699|  1.52M|                value = o;
  |  |11700|  1.52M|                stack_pointer += -1;
  |  |11701|  1.52M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.52M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11702|  1.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11703|  1.52M|                PyStackRef_XCLOSE(value);
  |  |11704|  1.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11705|  1.52M|            }
  |  |11706|  1.52M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.52M|    { \
  |  |  |  |  201|  1.52M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.52M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.52M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.52M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.52M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.52M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.52M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.52M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.52M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.52M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.52M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.52M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.52M|    }
  |  |  ------------------
  |  |11707|  1.52M|        }
  |  |11708|       |
  |  |11709|   822k|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|   822k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11710|       |            #if _Py_TAIL_CALL_INTERP
  |  |11711|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |11712|       |            (void)(opcode);
  |  |11713|       |            #endif
  |  |11714|   822k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11715|   822k|            (void)this_instr;
  |  |11716|   822k|            frame->instr_ptr = next_instr;
  |  |11717|   822k|            next_instr += 5;
  |  |11718|   822k|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|   822k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11719|   822k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11720|   822k|            _PyStackRef owner;
  |  |11721|   822k|            _PyStackRef value;
  |  |11722|   822k|            _PyStackRef o;
  |  |11723|       |            /* Skip 1 cache entry */
  |  |11724|       |            // _GUARD_TYPE_VERSION
  |  |11725|   822k|            {
  |  |11726|   822k|                owner = stack_pointer[-1];
  |  |11727|   822k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11728|   822k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   822k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   822k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   822k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11729|   822k|                assert(type_version != 0);
  |  |11730|   822k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   822k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11730:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11731|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11732|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11733|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11734|      0|                }
  |  |11735|   822k|            }
  |  |11736|       |            // _STORE_ATTR_WITH_HINT
  |  |11737|   822k|            {
  |  |11738|   822k|                value = stack_pointer[-2];
  |  |11739|   822k|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |11740|   822k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11741|   822k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |11742|   822k|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |11743|   822k|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11743:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11744|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11745|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11746|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11747|      0|                }
  |  |11748|   822k|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  321|   822k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11748:21): [Folded, False: 822k]
  |  |  ------------------
  |  |11749|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11750|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11751|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11752|      0|                }
  |  |11753|   822k|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |11754|   822k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|   822k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   822k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   822k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   822k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11755|   822k|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (11755:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11756|   822k|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (11756:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11757|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11758|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11758:25): [True: 0, Folded]
  |  |  ------------------
  |  |11759|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11760|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11761|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11762|      0|                    }
  |  |11763|      0|                }
  |  |11764|   822k|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |11765|   822k|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (11765:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11766|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11767|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11767:25): [True: 0, Folded]
  |  |  ------------------
  |  |11768|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11769|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11770|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11771|      0|                    }
  |  |11772|      0|                }
  |  |11773|   822k|                PyObject *old_value = ep->me_value;
  |  |11774|   822k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (11774:21): [True: 0, False: 822k]
  |  |  ------------------
  |  |11775|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11776|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11776:25): [True: 0, Folded]
  |  |  ------------------
  |  |11777|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11778|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11779|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11780|      0|                    }
  |  |11781|      0|                }
  |  |11782|   822k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11783|   822k|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |11784|   822k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11785|   822k|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|   822k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11786|   822k|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|   822k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11787|   822k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   822k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11788|   822k|                o = owner;
  |  |11789|   822k|                stack_pointer[-2] = o;
  |  |11790|   822k|                stack_pointer += -1;
  |  |11791|   822k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   822k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11792|   822k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11793|   822k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|   822k|    do { \
  |  |  |  |   70|   822k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   822k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   822k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|   822k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 822k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|   822k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|   822k|    do { \
  |  |  |  |  |  |   81|   822k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   822k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   822k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|   822k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   822k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   822k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   822k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 649k, False: 172k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|   649k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|   649k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|   649k|            break; \
  |  |  |  |  |  |   85|   649k|        } \
  |  |  |  |  |  |   86|   822k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|   172k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|   172k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 168k, False: 3.90k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|   168k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|   168k|    do { \
  |  |  |  |  |  |  |  |  113|   168k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|   168k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 168k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|   168k|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 168k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|   168k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|   168k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|   168k|            (*dealloc)(op); \
  |  |  |  |  |  |   91|   168k|        } \
  |  |  |  |  |  |   92|   172k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 172k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|   822k|        } \
  |  |  |  |   74|   822k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 822k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11794|   822k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11795|   822k|            }
  |  |11796|       |            // _POP_TOP
  |  |11797|      0|            {
  |  |11798|   822k|                value = o;
  |  |11799|   822k|                stack_pointer += -1;
  |  |11800|   822k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   822k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11801|   822k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11802|   822k|                PyStackRef_XCLOSE(value);
  |  |11803|   822k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11804|   822k|            }
  |  |11805|   822k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   822k|    { \
  |  |  |  |  201|   822k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   822k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   822k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   822k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   822k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   822k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   822k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   822k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 822k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   822k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   822k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   822k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   822k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   822k|    }
  |  |  ------------------
  |  |11806|   822k|        }
  |  |11807|       |
  |  |11808|  3.07M|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  3.07M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11809|       |            #if _Py_TAIL_CALL_INTERP
  |  |11810|       |            int opcode = STORE_DEREF;
  |  |11811|       |            (void)(opcode);
  |  |11812|       |            #endif
  |  |11813|  3.07M|            frame->instr_ptr = next_instr;
  |  |11814|  3.07M|            next_instr += 1;
  |  |11815|  3.07M|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|  3.07M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11816|  3.07M|            _PyStackRef v;
  |  |11817|  3.07M|            v = stack_pointer[-1];
  |  |11818|  3.07M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  3.07M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11819|  3.07M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11820|  3.07M|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |11821|  3.07M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11822|  3.07M|            stack_pointer += -1;
  |  |11823|  3.07M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.07M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11824|  3.07M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.07M|    { \
  |  |  |  |  201|  3.07M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.07M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.07M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.07M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.07M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.07M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.07M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.07M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.07M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.07M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.07M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.07M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.07M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.07M|    }
  |  |  ------------------
  |  |11825|  3.07M|        }
  |  |11826|       |
  |  |11827|  57.8M|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  57.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11828|       |            #if _Py_TAIL_CALL_INTERP
  |  |11829|       |            int opcode = STORE_FAST;
  |  |11830|       |            (void)(opcode);
  |  |11831|       |            #endif
  |  |11832|  57.8M|            frame->instr_ptr = next_instr;
  |  |11833|  57.8M|            next_instr += 1;
  |  |11834|  57.8M|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  57.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11835|  57.8M|            _PyStackRef value;
  |  |11836|  57.8M|            _PyStackRef trash;
  |  |11837|       |            // _SWAP_FAST
  |  |11838|  57.8M|            {
  |  |11839|  57.8M|                value = stack_pointer[-1];
  |  |11840|  57.8M|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  57.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11841|  57.8M|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  284|  57.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11842|  57.8M|                trash = tmp;
  |  |11843|  57.8M|            }
  |  |11844|       |            // _POP_TOP
  |  |11845|  57.8M|            {
  |  |11846|  57.8M|                value = trash;
  |  |11847|  57.8M|                stack_pointer += -1;
  |  |11848|  57.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  57.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11849|  57.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11850|  57.8M|                PyStackRef_XCLOSE(value);
  |  |11851|  57.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11852|  57.8M|            }
  |  |11853|  57.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  57.8M|    { \
  |  |  |  |  201|  57.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  57.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  57.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  57.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  57.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  57.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  57.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  57.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 57.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  57.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  57.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  57.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  57.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  57.8M|    }
  |  |  ------------------
  |  |11854|  57.8M|        }
  |  |11855|       |
  |  |11856|  57.8M|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|   591k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11857|       |            #if _Py_TAIL_CALL_INTERP
  |  |11858|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |11859|       |            (void)(opcode);
  |  |11860|       |            #endif
  |  |11861|   591k|            frame->instr_ptr = next_instr;
  |  |11862|   591k|            next_instr += 1;
  |  |11863|   591k|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|   591k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11864|   591k|            _PyStackRef value1;
  |  |11865|   591k|            _PyStackRef value2;
  |  |11866|   591k|            value1 = stack_pointer[-1];
  |  |11867|   591k|            uint32_t oparg1 = oparg >> 4;
  |  |11868|   591k|            uint32_t oparg2 = oparg & 15;
  |  |11869|   591k|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  284|   591k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11870|   591k|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  284|   591k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11871|   591k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|   591k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11872|   591k|            stack_pointer[-1] = value2;
  |  |11873|   591k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11874|   591k|            PyStackRef_XCLOSE(tmp);
  |  |11875|   591k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11876|   591k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   591k|    { \
  |  |  |  |  201|   591k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   591k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   591k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   591k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   591k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   591k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   591k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   591k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 591k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   591k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   591k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   591k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   591k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   591k|    }
  |  |  ------------------
  |  |11877|   591k|        }
  |  |11878|       |
  |  |11879|  1.37M|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.37M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11880|       |            #if _Py_TAIL_CALL_INTERP
  |  |11881|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |11882|       |            (void)(opcode);
  |  |11883|       |            #endif
  |  |11884|  1.37M|            frame->instr_ptr = next_instr;
  |  |11885|  1.37M|            next_instr += 1;
  |  |11886|  1.37M|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.37M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11887|  1.37M|            _PyStackRef value2;
  |  |11888|  1.37M|            _PyStackRef value1;
  |  |11889|  1.37M|            value1 = stack_pointer[-1];
  |  |11890|  1.37M|            value2 = stack_pointer[-2];
  |  |11891|  1.37M|            uint32_t oparg1 = oparg >> 4;
  |  |11892|  1.37M|            uint32_t oparg2 = oparg & 15;
  |  |11893|  1.37M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  284|  1.37M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11894|  1.37M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  284|  1.37M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11895|  1.37M|            stack_pointer += -1;
  |  |11896|  1.37M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.37M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11897|  1.37M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11898|  1.37M|            PyStackRef_XCLOSE(tmp);
  |  |11899|  1.37M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11900|  1.37M|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  284|  1.37M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11901|  1.37M|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  284|  1.37M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11902|  1.37M|            stack_pointer += -1;
  |  |11903|  1.37M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.37M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11904|  1.37M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11905|  1.37M|            PyStackRef_XCLOSE(tmp);
  |  |11906|  1.37M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11907|  1.37M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.37M|    { \
  |  |  |  |  201|  1.37M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.37M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.37M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.37M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.37M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.37M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.37M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.37M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.37M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.37M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.37M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.37M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.37M|    }
  |  |  ------------------
  |  |11908|  1.37M|        }
  |  |11909|       |
  |  |11910|  1.37M|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  3.31k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11911|       |            #if _Py_TAIL_CALL_INTERP
  |  |11912|       |            int opcode = STORE_GLOBAL;
  |  |11913|       |            (void)(opcode);
  |  |11914|       |            #endif
  |  |11915|  3.31k|            frame->instr_ptr = next_instr;
  |  |11916|  3.31k|            next_instr += 1;
  |  |11917|  3.31k|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  3.31k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11918|  3.31k|            _PyStackRef v;
  |  |11919|  3.31k|            v = stack_pointer[-1];
  |  |11920|  3.31k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  3.31k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.31k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.31k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11921|  3.31k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11922|  3.31k|            int err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  325|  3.31k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |11923|  3.31k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11924|  3.31k|            stack_pointer += -1;
  |  |11925|  3.31k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.31k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11926|  3.31k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11927|  3.31k|            PyStackRef_CLOSE(v);
  |  |11928|  3.31k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11929|  3.31k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11929:17): [True: 0, False: 3.31k]
  |  |  ------------------
  |  |11930|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11931|      0|            }
  |  |11932|  3.31k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.31k|    { \
  |  |  |  |  201|  3.31k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.31k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.31k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.31k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.31k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.31k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.31k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.31k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.31k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.31k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.31k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.31k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.31k|    }
  |  |  ------------------
  |  |11933|  3.31k|        }
  |  |11934|       |
  |  |11935|  51.4k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  51.4k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11936|       |            #if _Py_TAIL_CALL_INTERP
  |  |11937|       |            int opcode = STORE_NAME;
  |  |11938|       |            (void)(opcode);
  |  |11939|       |            #endif
  |  |11940|  51.4k|            frame->instr_ptr = next_instr;
  |  |11941|  51.4k|            next_instr += 1;
  |  |11942|  51.4k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  51.4k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11943|  51.4k|            _PyStackRef v;
  |  |11944|  51.4k|            v = stack_pointer[-1];
  |  |11945|  51.4k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  51.4k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  51.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  51.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  51.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11946|  51.4k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  327|  51.4k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |11947|  51.4k|            int err;
  |  |11948|  51.4k|            if (ns == NULL) {
  |  |  ------------------
  |  |  |  Branch (11948:17): [True: 0, False: 51.4k]
  |  |  ------------------
  |  |11949|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11950|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11951|      0|                              "no locals found when storing %R", name);
  |  |11952|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11953|      0|                stack_pointer += -1;
  |  |11954|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11955|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11956|      0|                PyStackRef_CLOSE(v);
  |  |11957|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11958|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11959|      0|            }
  |  |11960|  51.4k|            if (PyDict_CheckExact(ns)) {
  |  |  ------------------
  |  |  |  |   19|  51.4k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  51.4k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  51.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  51.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 50.8k, False: 542]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11961|  50.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11962|  50.8k|                err = PyDict_SetItem(ns, name, PyStackRef_AsPyObjectBorrow(v));
  |  |11963|  50.8k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11964|  50.8k|            }
  |  |11965|    542|            else {
  |  |11966|    542|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11967|    542|                err = PyObject_SetItem(ns, name, PyStackRef_AsPyObjectBorrow(v));
  |  |11968|    542|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11969|    542|            }
  |  |11970|  51.4k|            stack_pointer += -1;
  |  |11971|  51.4k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  51.4k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11972|  51.4k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11973|  51.4k|            PyStackRef_CLOSE(v);
  |  |11974|  51.4k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11975|  51.4k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11975:17): [True: 0, False: 51.4k]
  |  |  ------------------
  |  |11976|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11977|      0|            }
  |  |11978|  51.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  51.4k|    { \
  |  |  |  |  201|  51.4k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  51.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  51.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  51.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  51.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  51.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  51.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  51.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 51.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  51.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  51.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  51.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  51.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  51.4k|    }
  |  |  ------------------
  |  |11979|  51.4k|        }
  |  |11980|       |
  |  |11981|     12|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     12|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11982|       |            #if _Py_TAIL_CALL_INTERP
  |  |11983|       |            int opcode = STORE_SLICE;
  |  |11984|       |            (void)(opcode);
  |  |11985|       |            #endif
  |  |11986|     12|            frame->instr_ptr = next_instr;
  |  |11987|     12|            next_instr += 1;
  |  |11988|     12|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|     12|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11989|     12|            _PyStackRef v;
  |  |11990|     12|            _PyStackRef container;
  |  |11991|     12|            _PyStackRef start;
  |  |11992|     12|            _PyStackRef stop;
  |  |11993|       |            // _SPECIALIZE_STORE_SLICE
  |  |11994|     12|            {
  |  |11995|     12|                #if ENABLE_SPECIALIZATION
  |  |11996|     12|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|     12|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11997|     12|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11998|     12|            }
  |  |11999|       |            // _STORE_SLICE
  |  |12000|     12|            {
  |  |12001|     12|                stop = stack_pointer[-1];
  |  |12002|     12|                start = stack_pointer[-2];
  |  |12003|     12|                container = stack_pointer[-3];
  |  |12004|     12|                v = stack_pointer[-4];
  |  |12005|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12006|     12|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12007|     12|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12008|     12|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12009|     12|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12010|     12|                int err;
  |  |12011|     12|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12011:21): [True: 0, False: 12]
  |  |  ------------------
  |  |12012|      0|                    err = 1;
  |  |12013|      0|                }
  |  |12014|     12|                else {
  |  |12015|     12|                    stack_pointer += -2;
  |  |12016|     12|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     12|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12017|     12|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12018|     12|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12019|     12|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|     12|    do { \
  |  |  |  |   81|     12|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     12|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     12|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     12|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     12|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     12|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     12|    do { \
  |  |  |  |  |  |  113|     12|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     12|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     12|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     12|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     12|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     12|            (*dealloc)(op); \
  |  |  |  |   91|     12|        } \
  |  |  |  |   92|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12020|     12|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12021|     12|                    stack_pointer += 2;
  |  |12022|     12|                }
  |  |12023|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12024|     12|                _PyStackRef tmp = container;
  |  |12025|     12|                container = PyStackRef_NULL;
  |  |12026|     12|                stack_pointer[-3] = container;
  |  |12027|     12|                PyStackRef_CLOSE(tmp);
  |  |12028|     12|                tmp = v;
  |  |12029|     12|                v = PyStackRef_NULL;
  |  |12030|     12|                stack_pointer[-4] = v;
  |  |12031|     12|                PyStackRef_CLOSE(tmp);
  |  |12032|     12|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12033|     12|                stack_pointer += -4;
  |  |12034|     12|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     12|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12035|     12|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12035:21): [True: 0, False: 12]
  |  |  ------------------
  |  |12036|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12037|      0|                }
  |  |12038|     12|            }
  |  |12039|     12|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     12|    { \
  |  |  |  |  201|     12|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|     12|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|     12|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|     12|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     12|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     12|        opcode = word.op.code; \
  |  |  |  |  |  |  253|     12|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|     12|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     12|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     12|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     12|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     12|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     12|    }
  |  |  ------------------
  |  |12040|     12|        }
  |  |12041|       |
  |  |12042|  8.51M|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  8.51M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12043|       |            #if _Py_TAIL_CALL_INTERP
  |  |12044|       |            int opcode = STORE_SUBSCR;
  |  |12045|       |            (void)(opcode);
  |  |12046|       |            #endif
  |  |12047|  8.51M|            frame->instr_ptr = next_instr;
  |  |12048|  8.51M|            next_instr += 2;
  |  |12049|  8.51M|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  8.51M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12050|  8.51M|            PREDICTED_STORE_SUBSCR:;
  |  |12051|  8.51M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12052|  8.51M|            (void)this_instr;
  |  |12053|  8.51M|            _PyStackRef container;
  |  |12054|  8.51M|            _PyStackRef sub;
  |  |12055|  8.51M|            _PyStackRef v;
  |  |12056|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12057|  8.51M|            {
  |  |12058|  8.51M|                sub = stack_pointer[-1];
  |  |12059|  8.51M|                container = stack_pointer[-2];
  |  |12060|  8.51M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12061|  8.51M|                (void)counter;
  |  |12062|  8.51M|                #if ENABLE_SPECIALIZATION
  |  |12063|  8.51M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  8.51M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 1.47k, False: 8.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12064|  1.47k|                    next_instr = this_instr;
  |  |12065|  1.47k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12066|  1.47k|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12067|  1.47k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12068|  1.47k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.47k|    { \
  |  |  |  |  217|  1.47k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.47k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.47k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.47k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.47k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.47k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.47k|    }
  |  |  ------------------
  |  |12069|  1.47k|                }
  |  |12070|  8.51M|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|  8.51M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12071|  8.51M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  8.51M|    do { \
  |  |  |  |  358|  8.51M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  8.51M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 8.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12072|  8.51M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12073|  8.51M|            }
  |  |12074|       |            // _STORE_SUBSCR
  |  |12075|  8.51M|            {
  |  |12076|  8.51M|                v = stack_pointer[-3];
  |  |12077|  8.51M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12078|  8.51M|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12079|  8.51M|                _PyStackRef tmp = sub;
  |  |12080|  8.51M|                sub = PyStackRef_NULL;
  |  |12081|  8.51M|                stack_pointer[-1] = sub;
  |  |12082|  8.51M|                PyStackRef_CLOSE(tmp);
  |  |12083|  8.51M|                tmp = container;
  |  |12084|  8.51M|                container = PyStackRef_NULL;
  |  |12085|  8.51M|                stack_pointer[-2] = container;
  |  |12086|  8.51M|                PyStackRef_CLOSE(tmp);
  |  |12087|  8.51M|                tmp = v;
  |  |12088|  8.51M|                v = PyStackRef_NULL;
  |  |12089|  8.51M|                stack_pointer[-3] = v;
  |  |12090|  8.51M|                PyStackRef_CLOSE(tmp);
  |  |12091|  8.51M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12092|  8.51M|                stack_pointer += -3;
  |  |12093|  8.51M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.51M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12094|  8.51M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12094:21): [True: 6, False: 8.51M]
  |  |  ------------------
  |  |12095|      6|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12096|      0|                }
  |  |12097|  8.51M|            }
  |  |12098|  8.51M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.51M|    { \
  |  |  |  |  201|  8.51M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.51M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.51M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.51M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.51M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.51M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.51M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.51M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.51M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.51M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.51M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.51M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.51M|    }
  |  |  ------------------
  |  |12099|  8.51M|        }
  |  |12100|       |
  |  |12101|  1.01M|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  1.01M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12102|       |            #if _Py_TAIL_CALL_INTERP
  |  |12103|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12104|       |            (void)(opcode);
  |  |12105|       |            #endif
  |  |12106|  1.01M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12107|  1.01M|            (void)this_instr;
  |  |12108|  1.01M|            frame->instr_ptr = next_instr;
  |  |12109|  1.01M|            next_instr += 2;
  |  |12110|  1.01M|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  1.01M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12111|  1.01M|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12112|  1.01M|            _PyStackRef nos;
  |  |12113|  1.01M|            _PyStackRef value;
  |  |12114|  1.01M|            _PyStackRef dict_st;
  |  |12115|  1.01M|            _PyStackRef sub;
  |  |12116|  1.01M|            _PyStackRef st;
  |  |12117|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12118|  1.01M|            {
  |  |12119|  1.01M|                nos = stack_pointer[-2];
  |  |12120|  1.01M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12121|  1.01M|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  1.01M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12121:21): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |12122|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12123|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12124|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12125|      0|                }
  |  |12126|  1.01M|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|  1.01M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12126:21): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |12127|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12128|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12129|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12130|      0|                }
  |  |12131|  1.01M|            }
  |  |12132|       |            /* Skip 1 cache entry */
  |  |12133|       |            // _STORE_SUBSCR_DICT
  |  |12134|  1.01M|            {
  |  |12135|  1.01M|                sub = stack_pointer[-1];
  |  |12136|  1.01M|                dict_st = nos;
  |  |12137|  1.01M|                value = stack_pointer[-3];
  |  |12138|  1.01M|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12139|  1.01M|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |12140|  1.01M|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.01M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12141|  1.01M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12142|  1.01M|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12143|  1.01M|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12144|  1.01M|                    PyStackRef_AsPyObjectSteal(value));
  |  |12145|  1.01M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12146|  1.01M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12146:21): [True: 0, False: 1.01M]
  |  |  ------------------
  |  |12147|      0|                    stack_pointer += -3;
  |  |12148|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12149|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12150|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12151|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12152|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12153|      0|                }
  |  |12154|  1.01M|                st = dict_st;
  |  |12155|  1.01M|            }
  |  |12156|       |            // _POP_TOP
  |  |12157|      0|            {
  |  |12158|  1.01M|                value = st;
  |  |12159|  1.01M|                stack_pointer += -3;
  |  |12160|  1.01M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12161|  1.01M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12162|  1.01M|                PyStackRef_XCLOSE(value);
  |  |12163|  1.01M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12164|  1.01M|            }
  |  |12165|  1.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.01M|    { \
  |  |  |  |  201|  1.01M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.01M|    }
  |  |  ------------------
  |  |12166|  1.01M|        }
  |  |12167|       |
  |  |12168|  12.0k|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  12.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12169|       |            #if _Py_TAIL_CALL_INTERP
  |  |12170|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12171|       |            (void)(opcode);
  |  |12172|       |            #endif
  |  |12173|  12.0k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12174|  12.0k|            (void)this_instr;
  |  |12175|  12.0k|            frame->instr_ptr = next_instr;
  |  |12176|  12.0k|            next_instr += 2;
  |  |12177|  12.0k|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  12.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12178|  12.0k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12179|  12.0k|            _PyStackRef value;
  |  |12180|  12.0k|            _PyStackRef nos;
  |  |12181|  12.0k|            _PyStackRef list_st;
  |  |12182|  12.0k|            _PyStackRef sub_st;
  |  |12183|  12.0k|            _PyStackRef ls;
  |  |12184|  12.0k|            _PyStackRef ss;
  |  |12185|       |            // _GUARD_TOS_INT
  |  |12186|  12.0k|            {
  |  |12187|  12.0k|                value = stack_pointer[-1];
  |  |12188|  12.0k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12189|  12.0k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12189:21): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |12190|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12191|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12192|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12193|      0|                }
  |  |12194|  12.0k|            }
  |  |12195|       |            // _GUARD_NOS_LIST
  |  |12196|  12.0k|            {
  |  |12197|  12.0k|                nos = stack_pointer[-2];
  |  |12198|  12.0k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12199|  12.0k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  12.0k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  12.0k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12199:21): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |12200|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12201|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12202|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12203|      0|                }
  |  |12204|  12.0k|            }
  |  |12205|       |            /* Skip 1 cache entry */
  |  |12206|       |            // _STORE_SUBSCR_LIST_INT
  |  |12207|  12.0k|            {
  |  |12208|  12.0k|                sub_st = value;
  |  |12209|  12.0k|                list_st = nos;
  |  |12210|  12.0k|                value = stack_pointer[-3];
  |  |12211|  12.0k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12212|  12.0k|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12213|  12.0k|                assert(PyLong_CheckExact(sub));
  |  |12214|  12.0k|                assert(PyList_CheckExact(list));
  |  |12215|  12.0k|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12216|  12.0k|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  321|  12.0k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12216:21): [Folded, False: 12.0k]
  |  |  ------------------
  |  |12217|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12218|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12219|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12220|      0|                }
  |  |12221|  12.0k|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|  12.0k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12222|  12.0k|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12222:21): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |12223|      0|                    index += len;
  |  |12224|      0|                }
  |  |12225|  12.0k|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12225:21): [True: 0, False: 12.0k]
  |  |  |  Branch (12225:34): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |12226|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12227|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12227:25): [True: 0, Folded]
  |  |  ------------------
  |  |12228|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12229|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12230|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12231|      0|                    }
  |  |12232|      0|                }
  |  |12233|  12.0k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  12.0k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12234|  12.0k|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  12.0k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  12.0k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12235|  12.0k|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  164|  12.0k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12236|  12.0k|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12237|  12.0k|                assert(old_value != NULL);
  |  |12238|  12.0k|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  322|  12.0k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12239|  12.0k|                ls = list_st;
  |  |12240|  12.0k|                ss = sub_st;
  |  |12241|  12.0k|                stack_pointer[-3] = ls;
  |  |12242|  12.0k|                stack_pointer[-2] = ss;
  |  |12243|  12.0k|                stack_pointer += -1;
  |  |12244|  12.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12245|  12.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12246|  12.0k|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|  12.0k|    do { \
  |  |  |  |   81|  12.0k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  12.0k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  12.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.46k, False: 10.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  1.46k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.46k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  1.46k|            break; \
  |  |  |  |   85|  1.46k|        } \
  |  |  |  |   86|  12.0k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  10.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  10.5k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 488, False: 10.0k]
  |  |  |  |  ------------------
  |  |  |  |   88|    488|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|    488|    do { \
  |  |  |  |  |  |  113|    488|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|    488|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 488]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|    488|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 488]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|    488|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|    488|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    488|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    488|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|    488|            (*dealloc)(op); \
  |  |  |  |   91|    488|        } \
  |  |  |  |   92|  10.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12247|  12.0k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12248|  12.0k|            }
  |  |12249|       |            // _POP_TOP_INT
  |  |12250|      0|            {
  |  |12251|  12.0k|                value = ss;
  |  |12252|  12.0k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12253|  12.0k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12254|  12.0k|            }
  |  |12255|       |            // _POP_TOP
  |  |12256|  12.0k|            {
  |  |12257|  12.0k|                value = ls;
  |  |12258|  12.0k|                stack_pointer += -2;
  |  |12259|  12.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12260|  12.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12261|  12.0k|                PyStackRef_XCLOSE(value);
  |  |12262|  12.0k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12263|  12.0k|            }
  |  |12264|  12.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.0k|    { \
  |  |  |  |  201|  12.0k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.0k|    }
  |  |  ------------------
  |  |12265|  12.0k|        }
  |  |12266|       |
  |  |12267|  43.7M|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  43.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12268|       |            #if _Py_TAIL_CALL_INTERP
  |  |12269|       |            int opcode = SWAP;
  |  |12270|       |            (void)(opcode);
  |  |12271|       |            #endif
  |  |12272|  43.7M|            frame->instr_ptr = next_instr;
  |  |12273|  43.7M|            next_instr += 1;
  |  |12274|  43.7M|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  43.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12275|  43.7M|            _PyStackRef bottom;
  |  |12276|  43.7M|            _PyStackRef top;
  |  |12277|  43.7M|            top = stack_pointer[-1];
  |  |12278|  43.7M|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12279|  43.7M|            _PyStackRef temp = bottom;
  |  |12280|  43.7M|            bottom = top;
  |  |12281|  43.7M|            top = temp;
  |  |12282|  43.7M|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12283|  43.7M|            stack_pointer[-1] = top;
  |  |12284|  43.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  43.7M|    { \
  |  |  |  |  201|  43.7M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  43.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  43.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  43.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  43.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  43.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  43.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  43.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 43.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  43.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  43.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  43.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  43.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  43.7M|    }
  |  |  ------------------
  |  |12285|  43.7M|        }
  |  |12286|       |
  |  |12287|  43.7M|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|   100k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12288|       |            #if _Py_TAIL_CALL_INTERP
  |  |12289|       |            int opcode = TO_BOOL;
  |  |12290|       |            (void)(opcode);
  |  |12291|       |            #endif
  |  |12292|   100k|            frame->instr_ptr = next_instr;
  |  |12293|   100k|            next_instr += 4;
  |  |12294|   100k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|   100k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12295|   102k|            PREDICTED_TO_BOOL:;
  |  |12296|   102k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12297|   102k|            (void)this_instr;
  |  |12298|   102k|            _PyStackRef value;
  |  |12299|   102k|            _PyStackRef res;
  |  |12300|       |            // _SPECIALIZE_TO_BOOL
  |  |12301|   102k|            {
  |  |12302|   102k|                value = stack_pointer[-1];
  |  |12303|   102k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12304|   102k|                (void)counter;
  |  |12305|   102k|                #if ENABLE_SPECIALIZATION
  |  |12306|   102k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   102k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 2.16k, False: 100k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12307|  2.16k|                    next_instr = this_instr;
  |  |12308|  2.16k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12309|  2.16k|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12310|  2.16k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12311|  2.16k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  2.16k|    { \
  |  |  |  |  217|  2.16k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  2.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  2.16k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  2.16k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  2.16k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  2.16k|    }
  |  |  ------------------
  |  |12312|  2.16k|                }
  |  |12313|   102k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|   102k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12314|   102k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   102k|    do { \
  |  |  |  |  358|   102k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   102k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 102k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12315|   102k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12316|   102k|            }
  |  |12317|       |            /* Skip 2 cache entries */
  |  |12318|       |            // _TO_BOOL
  |  |12319|   102k|            {
  |  |12320|   102k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12321|   102k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12322|   102k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12323|   102k|                stack_pointer += -1;
  |  |12324|   102k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   102k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12325|   102k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12326|   102k|                PyStackRef_CLOSE(value);
  |  |12327|   102k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12328|   102k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12328:21): [True: 0, False: 102k]
  |  |  ------------------
  |  |12329|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12330|      0|                }
  |  |12331|   102k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  65.0k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  65.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   140k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  37.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12331:23): [True: 65.0k, False: 37.6k]
  |  |  ------------------
  |  |12332|   102k|            }
  |  |12333|      0|            stack_pointer[0] = res;
  |  |12334|   102k|            stack_pointer += 1;
  |  |12335|   102k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   102k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12336|   102k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   102k|    { \
  |  |  |  |  201|   102k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   102k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   102k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   102k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   102k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   102k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   102k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   102k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 102k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   102k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   102k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   102k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   102k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   102k|    }
  |  |  ------------------
  |  |12337|   102k|        }
  |  |12338|       |
  |  |12339|  4.44k|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  4.44k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12340|       |            #if _Py_TAIL_CALL_INTERP
  |  |12341|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12342|       |            (void)(opcode);
  |  |12343|       |            #endif
  |  |12344|  4.44k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12345|  4.44k|            (void)this_instr;
  |  |12346|  4.44k|            frame->instr_ptr = next_instr;
  |  |12347|  4.44k|            next_instr += 4;
  |  |12348|  4.44k|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|  4.44k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12349|  4.44k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12350|  4.44k|            _PyStackRef owner;
  |  |12351|  4.44k|            _PyStackRef value;
  |  |12352|  4.44k|            _PyStackRef res;
  |  |12353|  4.44k|            _PyStackRef v;
  |  |12354|       |            /* Skip 1 cache entry */
  |  |12355|       |            // _GUARD_TYPE_VERSION
  |  |12356|  4.44k|            {
  |  |12357|  4.44k|                owner = stack_pointer[-1];
  |  |12358|  4.44k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12359|  4.44k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  4.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12360|  4.44k|                assert(type_version != 0);
  |  |12361|  4.44k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  4.44k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12361:21): [True: 96, False: 4.34k]
  |  |  ------------------
  |  |12362|     96|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|     96|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12363|     96|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12364|     96|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     96|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12365|      0|                }
  |  |12366|  4.44k|            }
  |  |12367|       |            // _REPLACE_WITH_TRUE
  |  |12368|  4.34k|            {
  |  |12369|  4.34k|                value = owner;
  |  |12370|  4.34k|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  4.34k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.34k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12371|  4.34k|                v = value;
  |  |12372|  4.34k|            }
  |  |12373|       |            // _POP_TOP
  |  |12374|  4.34k|            {
  |  |12375|  4.34k|                value = v;
  |  |12376|  4.34k|                stack_pointer[-1] = res;
  |  |12377|  4.34k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12378|  4.34k|                PyStackRef_XCLOSE(value);
  |  |12379|  4.34k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12380|  4.34k|            }
  |  |12381|  4.34k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.34k|    { \
  |  |  |  |  201|  4.34k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.34k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.34k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.34k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.34k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.34k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.34k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.34k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.34k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.34k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.34k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.34k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.34k|    }
  |  |  ------------------
  |  |12382|  4.34k|        }
  |  |12383|       |
  |  |12384|  19.9M|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  19.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12385|       |            #if _Py_TAIL_CALL_INTERP
  |  |12386|       |            int opcode = TO_BOOL_BOOL;
  |  |12387|       |            (void)(opcode);
  |  |12388|       |            #endif
  |  |12389|  19.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12390|  19.9M|            (void)this_instr;
  |  |12391|  19.9M|            frame->instr_ptr = next_instr;
  |  |12392|  19.9M|            next_instr += 4;
  |  |12393|  19.9M|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  19.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12394|  19.9M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12395|  19.9M|            _PyStackRef value;
  |  |12396|       |            /* Skip 1 cache entry */
  |  |12397|       |            /* Skip 2 cache entries */
  |  |12398|  19.9M|            value = stack_pointer[-1];
  |  |12399|  19.9M|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12399:17): [True: 384, False: 19.9M]
  |  |  ------------------
  |  |12400|    384|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    384|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12401|    384|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12402|    384|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    384|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12403|      0|            }
  |  |12404|  19.9M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  19.9M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12405|  19.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.9M|    { \
  |  |  |  |  201|  19.9M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  19.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  19.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  19.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  19.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  19.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  19.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  19.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 19.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.9M|    }
  |  |  ------------------
  |  |12406|  19.9M|        }
  |  |12407|       |
  |  |12408|   157k|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|   157k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12409|       |            #if _Py_TAIL_CALL_INTERP
  |  |12410|       |            int opcode = TO_BOOL_INT;
  |  |12411|       |            (void)(opcode);
  |  |12412|       |            #endif
  |  |12413|   157k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12414|   157k|            (void)this_instr;
  |  |12415|   157k|            frame->instr_ptr = next_instr;
  |  |12416|   157k|            next_instr += 4;
  |  |12417|   157k|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|   157k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12418|   157k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12419|   157k|            _PyStackRef value;
  |  |12420|   157k|            _PyStackRef res;
  |  |12421|   157k|            _PyStackRef v;
  |  |12422|       |            // _GUARD_TOS_INT
  |  |12423|   157k|            {
  |  |12424|   157k|                value = stack_pointer[-1];
  |  |12425|   157k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12426|   157k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12426:21): [True: 504, False: 157k]
  |  |  ------------------
  |  |12427|    504|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    504|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12428|    504|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12429|    504|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    504|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12430|      0|                }
  |  |12431|   157k|            }
  |  |12432|       |            /* Skip 1 cache entry */
  |  |12433|       |            /* Skip 2 cache entries */
  |  |12434|       |            // _TO_BOOL_INT
  |  |12435|   157k|            {
  |  |12436|   157k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   157k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12437|   157k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12438|   157k|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  81.6k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  81.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   233k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  75.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12438:23): [True: 81.6k, False: 75.6k]
  |  |  ------------------
  |  |12439|   157k|                v = value;
  |  |12440|   157k|            }
  |  |12441|       |            // _POP_TOP_INT
  |  |12442|   157k|            {
  |  |12443|   157k|                value = v;
  |  |12444|   157k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12445|   157k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12446|   157k|            }
  |  |12447|   157k|            stack_pointer[-1] = res;
  |  |12448|   157k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   157k|    { \
  |  |  |  |  201|   157k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   157k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   157k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   157k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   157k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   157k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   157k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   157k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 157k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   157k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   157k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   157k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   157k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   157k|    }
  |  |  ------------------
  |  |12449|   157k|        }
  |  |12450|       |
  |  |12451|   420k|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|   420k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12452|       |            #if _Py_TAIL_CALL_INTERP
  |  |12453|       |            int opcode = TO_BOOL_LIST;
  |  |12454|       |            (void)(opcode);
  |  |12455|       |            #endif
  |  |12456|   420k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12457|   420k|            (void)this_instr;
  |  |12458|   420k|            frame->instr_ptr = next_instr;
  |  |12459|   420k|            next_instr += 4;
  |  |12460|   420k|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|   420k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12461|   420k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12462|   420k|            _PyStackRef tos;
  |  |12463|   420k|            _PyStackRef value;
  |  |12464|   420k|            _PyStackRef res;
  |  |12465|   420k|            _PyStackRef v;
  |  |12466|       |            // _GUARD_TOS_LIST
  |  |12467|   420k|            {
  |  |12468|   420k|                tos = stack_pointer[-1];
  |  |12469|   420k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12470|   420k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|   420k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   420k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12470:21): [True: 0, False: 420k]
  |  |  ------------------
  |  |12471|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12472|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12473|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12474|      0|                }
  |  |12475|   420k|            }
  |  |12476|       |            /* Skip 1 cache entry */
  |  |12477|       |            /* Skip 2 cache entries */
  |  |12478|       |            // _TO_BOOL_LIST
  |  |12479|   420k|            {
  |  |12480|   420k|                value = tos;
  |  |12481|   420k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12482|   420k|                assert(PyList_CheckExact(value_o));
  |  |12483|   420k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   420k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12484|   420k|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|   420k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 257k, False: 162k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   257k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   257k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   583k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   162k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12485|   420k|                v = value;
  |  |12486|   420k|            }
  |  |12487|       |            // _POP_TOP
  |  |12488|   420k|            {
  |  |12489|   420k|                value = v;
  |  |12490|   420k|                stack_pointer[-1] = res;
  |  |12491|   420k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12492|   420k|                PyStackRef_XCLOSE(value);
  |  |12493|   420k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12494|   420k|            }
  |  |12495|   420k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   420k|    { \
  |  |  |  |  201|   420k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   420k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   420k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   420k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   420k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   420k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   420k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   420k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 420k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   420k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   420k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   420k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   420k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   420k|    }
  |  |  ------------------
  |  |12496|   420k|        }
  |  |12497|       |
  |  |12498|   311k|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|   311k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12499|       |            #if _Py_TAIL_CALL_INTERP
  |  |12500|       |            int opcode = TO_BOOL_NONE;
  |  |12501|       |            (void)(opcode);
  |  |12502|       |            #endif
  |  |12503|   311k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12504|   311k|            (void)this_instr;
  |  |12505|   311k|            frame->instr_ptr = next_instr;
  |  |12506|   311k|            next_instr += 4;
  |  |12507|   311k|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|   311k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12508|   311k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12509|   311k|            _PyStackRef value;
  |  |12510|   311k|            _PyStackRef res;
  |  |12511|       |            /* Skip 1 cache entry */
  |  |12512|       |            /* Skip 2 cache entries */
  |  |12513|   311k|            value = stack_pointer[-1];
  |  |12514|   311k|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|   311k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   311k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12514:17): [True: 916, False: 310k]
  |  |  ------------------
  |  |12515|    916|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    916|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12516|    916|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12517|    916|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    916|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12518|      0|            }
  |  |12519|   310k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   310k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12520|   310k|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   310k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   310k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12521|   310k|            stack_pointer[-1] = res;
  |  |12522|   310k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   310k|    { \
  |  |  |  |  201|   310k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   310k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   310k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   310k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   310k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   310k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   310k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   310k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 310k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   310k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   310k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   310k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   310k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   310k|    }
  |  |  ------------------
  |  |12523|   310k|        }
  |  |12524|       |
  |  |12525|  34.8k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  34.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12526|       |            #if _Py_TAIL_CALL_INTERP
  |  |12527|       |            int opcode = TO_BOOL_STR;
  |  |12528|       |            (void)(opcode);
  |  |12529|       |            #endif
  |  |12530|  34.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12531|  34.8k|            (void)this_instr;
  |  |12532|  34.8k|            frame->instr_ptr = next_instr;
  |  |12533|  34.8k|            next_instr += 4;
  |  |12534|  34.8k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  34.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12535|  34.8k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12536|  34.8k|            _PyStackRef value;
  |  |12537|  34.8k|            _PyStackRef res;
  |  |12538|  34.8k|            _PyStackRef v;
  |  |12539|       |            // _GUARD_TOS_UNICODE
  |  |12540|  34.8k|            {
  |  |12541|  34.8k|                value = stack_pointer[-1];
  |  |12542|  34.8k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12543|  34.8k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  34.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  34.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  34.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  34.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12543:21): [True: 125, False: 34.6k]
  |  |  ------------------
  |  |12544|    125|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    125|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12545|    125|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12546|    125|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    125|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12547|      0|                }
  |  |12548|  34.8k|            }
  |  |12549|       |            /* Skip 1 cache entry */
  |  |12550|       |            /* Skip 2 cache entries */
  |  |12551|       |            // _TO_BOOL_STR
  |  |12552|  34.6k|            {
  |  |12553|  34.6k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  34.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12554|  34.6k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12555|  34.6k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  921|  34.6k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  34.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  34.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  3.76k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.76k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  65.6k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  30.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12555:23): [True: 3.76k, False: 30.9k]
  |  |  ------------------
  |  |12556|  34.6k|                v = value;
  |  |12557|  34.6k|            }
  |  |12558|       |            // _POP_TOP_UNICODE
  |  |12559|  34.6k|            {
  |  |12560|  34.6k|                value = v;
  |  |12561|  34.6k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12562|  34.6k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |12563|  34.6k|            }
  |  |12564|  34.6k|            stack_pointer[-1] = res;
  |  |12565|  34.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  34.6k|    { \
  |  |  |  |  201|  34.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  34.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  34.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  34.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  34.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  34.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  34.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  34.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 34.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  34.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  34.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  34.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  34.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  34.6k|    }
  |  |  ------------------
  |  |12566|  34.6k|        }
  |  |12567|       |
  |  |12568|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12569|       |            #if _Py_TAIL_CALL_INTERP
  |  |12570|       |            int opcode = TRACE_RECORD;
  |  |12571|       |            (void)(opcode);
  |  |12572|       |            #endif
  |  |12573|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |12574|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12575|      0|            (void)this_instr;
  |  |12576|      0|            frame->instr_ptr = next_instr;
  |  |12577|      0|            next_instr += 1;
  |  |12578|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12579|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  246|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |12580|       |            #if _Py_TIER2
  |  |12581|       |            assert(IS_JIT_TRACING());
  |  |12582|       |            next_instr = this_instr;
  |  |12583|       |            frame->instr_ptr = prev_instr;
  |  |12584|       |            opcode = next_instr->op.code;
  |  |12585|       |            bool stop_tracing = (
  |  |12586|       |                                 opcode == WITH_EXCEPT_START ||
  |  |12587|       |                                 opcode == RERAISE ||
  |  |12588|       |                                 opcode == CLEANUP_THROW ||
  |  |12589|       |                                 opcode == PUSH_EXC_INFO ||
  |  |12590|       |                                 opcode == INTERPRETER_EXIT ||
  |  |12591|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |12592|       |            );
  |  |12593|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |12594|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |12595|       |            assert(tracer != NULL);
  |  |12596|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12597|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |12598|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12599|       |            if (full) {
  |  |12600|       |                LEAVE_TRACING();
  |  |12601|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12602|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |12603|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12604|       |                if (err < 0) {
  |  |12605|       |                    JUMP_TO_LABEL(error);
  |  |12606|       |                }
  |  |12607|       |                DISPATCH();
  |  |12608|       |            }
  |  |12609|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |12610|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12611|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |12612|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12613|       |            }
  |  |12614|       |            tracer->prev_state.recorded_count = 0;
  |  |12615|       |            tracer->prev_state.instr = next_instr;
  |  |12616|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |12617|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |12618|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12619|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |12620|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12621|       |            }
  |  |12622|       |            tracer->prev_state.instr_frame = frame;
  |  |12623|       |            tracer->prev_state.instr_oparg = oparg;
  |  |12624|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |12625|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |12626|       |                // Branch opcodes use the cache for branch history, not
  |  |12627|       |                // specialization counters.  Don't reset it.
  |  |12628|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |12629|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |12630|       |            }
  |  |12631|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |12632|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |12633|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |12634|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |12635|       |            }
  |  |12636|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |12637|       |            DISPATCH_GOTO_NON_TRACING();
  |  |12638|       |            #else
  |  |12639|      0|            (void)prev_instr;
  |  |12640|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |12641|      0|            #endif
  |  |12642|      0|        }
  |  |12643|       |
  |  |12644|    288|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|    288|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12645|       |            #if _Py_TAIL_CALL_INTERP
  |  |12646|       |            int opcode = UNARY_INVERT;
  |  |12647|       |            (void)(opcode);
  |  |12648|       |            #endif
  |  |12649|    288|            frame->instr_ptr = next_instr;
  |  |12650|    288|            next_instr += 1;
  |  |12651|    288|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|    288|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12652|    288|            _PyStackRef value;
  |  |12653|    288|            _PyStackRef res;
  |  |12654|    288|            _PyStackRef v;
  |  |12655|       |            // _UNARY_INVERT
  |  |12656|    288|            {
  |  |12657|    288|                value = stack_pointer[-1];
  |  |12658|    288|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12659|    288|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |12660|    288|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12661|    288|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (12661:21): [True: 0, False: 288]
  |  |  ------------------
  |  |12662|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12663|      0|                }
  |  |12664|    288|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |12665|    288|                v = value;
  |  |12666|    288|            }
  |  |12667|       |            // _POP_TOP
  |  |12668|      0|            {
  |  |12669|    288|                value = v;
  |  |12670|    288|                stack_pointer[-1] = res;
  |  |12671|    288|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12672|    288|                PyStackRef_XCLOSE(value);
  |  |12673|    288|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12674|    288|            }
  |  |12675|    288|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    288|    { \
  |  |  |  |  201|    288|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    288|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    288|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    288|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    288|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    288|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    288|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    288|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 288]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    288|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    288|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    288|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    288|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    288|    }
  |  |  ------------------
  |  |12676|    288|        }
  |  |12677|       |
  |  |12678|  20.3k|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|  20.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12679|       |            #if _Py_TAIL_CALL_INTERP
  |  |12680|       |            int opcode = UNARY_NEGATIVE;
  |  |12681|       |            (void)(opcode);
  |  |12682|       |            #endif
  |  |12683|  20.3k|            frame->instr_ptr = next_instr;
  |  |12684|  20.3k|            next_instr += 1;
  |  |12685|  20.3k|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|  20.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12686|  20.3k|            _PyStackRef value;
  |  |12687|  20.3k|            _PyStackRef res;
  |  |12688|  20.3k|            _PyStackRef v;
  |  |12689|       |            // _UNARY_NEGATIVE
  |  |12690|  20.3k|            {
  |  |12691|  20.3k|                value = stack_pointer[-1];
  |  |12692|  20.3k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12693|  20.3k|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |12694|  20.3k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12695|  20.3k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (12695:21): [True: 0, False: 20.3k]
  |  |  ------------------
  |  |12696|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12697|      0|                }
  |  |12698|  20.3k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |12699|  20.3k|                v = value;
  |  |12700|  20.3k|            }
  |  |12701|       |            // _POP_TOP
  |  |12702|      0|            {
  |  |12703|  20.3k|                value = v;
  |  |12704|  20.3k|                stack_pointer[-1] = res;
  |  |12705|  20.3k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12706|  20.3k|                PyStackRef_XCLOSE(value);
  |  |12707|  20.3k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12708|  20.3k|            }
  |  |12709|  20.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  20.3k|    { \
  |  |  |  |  201|  20.3k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  20.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  20.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  20.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  20.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  20.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  20.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  20.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 20.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  20.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  20.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  20.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  20.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  20.3k|    }
  |  |  ------------------
  |  |12710|  20.3k|        }
  |  |12711|       |
  |  |12712|  15.8k|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|  15.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12713|       |            #if _Py_TAIL_CALL_INTERP
  |  |12714|       |            int opcode = UNARY_NOT;
  |  |12715|       |            (void)(opcode);
  |  |12716|       |            #endif
  |  |12717|  15.8k|            frame->instr_ptr = next_instr;
  |  |12718|  15.8k|            next_instr += 1;
  |  |12719|  15.8k|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|  15.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12720|  15.8k|            _PyStackRef value;
  |  |12721|  15.8k|            _PyStackRef res;
  |  |12722|  15.8k|            value = stack_pointer[-1];
  |  |12723|  15.8k|            assert(PyStackRef_BoolCheck(value));
  |  |12724|  15.8k|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|  15.8k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  15.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 15.4k, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12725|  15.8k|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  15.4k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  15.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  16.2k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    387|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12726|  15.8k|            stack_pointer[-1] = res;
  |  |12727|  15.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.8k|    { \
  |  |  |  |  201|  15.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  15.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  15.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  15.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  15.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  15.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  15.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  15.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 15.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.8k|    }
  |  |  ------------------
  |  |12728|  15.8k|        }
  |  |12729|       |
  |  |12730|  15.8k|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12731|       |            #if _Py_TAIL_CALL_INTERP
  |  |12732|       |            int opcode = UNPACK_EX;
  |  |12733|       |            (void)(opcode);
  |  |12734|       |            #endif
  |  |12735|      0|            frame->instr_ptr = next_instr;
  |  |12736|      0|            next_instr += 1;
  |  |12737|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12738|      0|            _PyStackRef seq;
  |  |12739|      0|            _PyStackRef *top;
  |  |12740|      0|            seq = stack_pointer[-1];
  |  |12741|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |12742|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |12743|      0|            stack_pointer += -1;
  |  |12744|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12745|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12746|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |12747|      0|            Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12748|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12749|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (12749:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12750|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12751|      0|            }
  |  |12752|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |12753|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12754|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  253|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12755|      0|        }
  |  |12756|       |
  |  |12757|   109k|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|   109k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12758|       |            #if _Py_TAIL_CALL_INTERP
  |  |12759|       |            int opcode = UNPACK_SEQUENCE;
  |  |12760|       |            (void)(opcode);
  |  |12761|       |            #endif
  |  |12762|   109k|            frame->instr_ptr = next_instr;
  |  |12763|   109k|            next_instr += 2;
  |  |12764|   109k|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|   109k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12765|   109k|            PREDICTED_UNPACK_SEQUENCE:;
  |  |12766|   109k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12767|   109k|            (void)this_instr;
  |  |12768|   109k|            _PyStackRef seq;
  |  |12769|   109k|            _PyStackRef *top;
  |  |12770|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |12771|   109k|            {
  |  |12772|   109k|                seq = stack_pointer[-1];
  |  |12773|   109k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12774|   109k|                (void)counter;
  |  |12775|   109k|                #if ENABLE_SPECIALIZATION
  |  |12776|   109k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   109k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 325, False: 108k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12777|    325|                    next_instr = this_instr;
  |  |12778|    325|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12779|    325|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |12780|    325|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12781|    325|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    325|    { \
  |  |  |  |  217|    325|        opcode = next_instr->op.code; \
  |  |  |  |  218|    325|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    325|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    325|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    325|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    325|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    325|    }
  |  |  ------------------
  |  |12782|    325|                }
  |  |12783|   109k|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|   109k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12784|   109k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   109k|    do { \
  |  |  |  |  358|   109k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   109k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 109k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12785|   109k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12786|   109k|                (void)seq;
  |  |12787|   109k|                (void)counter;
  |  |12788|   109k|            }
  |  |12789|       |            // _UNPACK_SEQUENCE
  |  |12790|   109k|            {
  |  |12791|   109k|                top = &stack_pointer[-1 + oparg];
  |  |12792|   109k|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |12793|   109k|                stack_pointer += -1;
  |  |12794|   109k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   109k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12795|   109k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12796|   109k|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |12797|   109k|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|   109k|    do { \
  |  |  |  |   81|   109k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|   109k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|   109k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 109k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|   109k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|   109k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|   109k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 108k, False: 743]
  |  |  |  |  ------------------
  |  |  |  |   88|   108k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|   108k|    do { \
  |  |  |  |  |  |  113|   108k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|   108k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 108k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|   108k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 108k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|   108k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|   108k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|   108k|            (*dealloc)(op); \
  |  |  |  |   91|   108k|        } \
  |  |  |  |   92|   109k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 109k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12798|   109k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12799|   109k|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (12799:21): [True: 0, False: 109k]
  |  |  ------------------
  |  |12800|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12801|      0|                }
  |  |12802|   109k|            }
  |  |12803|   109k|            stack_pointer += oparg;
  |  |12804|   109k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   109k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12805|   109k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   109k|    { \
  |  |  |  |  201|   109k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   109k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   109k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   109k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   109k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   109k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   109k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   109k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 109k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   109k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   109k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   109k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   109k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   109k|    }
  |  |  ------------------
  |  |12806|   109k|        }
  |  |12807|       |
  |  |12808|    108|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|    108|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12809|       |            #if _Py_TAIL_CALL_INTERP
  |  |12810|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |12811|       |            (void)(opcode);
  |  |12812|       |            #endif
  |  |12813|    108|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12814|    108|            (void)this_instr;
  |  |12815|    108|            frame->instr_ptr = next_instr;
  |  |12816|    108|            next_instr += 2;
  |  |12817|    108|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|    108|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12818|    108|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12819|    108|            _PyStackRef tos;
  |  |12820|    108|            _PyStackRef seq;
  |  |12821|    108|            _PyStackRef *values;
  |  |12822|       |            // _GUARD_TOS_LIST
  |  |12823|    108|            {
  |  |12824|    108|                tos = stack_pointer[-1];
  |  |12825|    108|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12826|    108|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    108|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    108|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12826:21): [True: 0, False: 108]
  |  |  ------------------
  |  |12827|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12828|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12829|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12830|      0|                }
  |  |12831|    108|            }
  |  |12832|       |            /* Skip 1 cache entry */
  |  |12833|       |            // _UNPACK_SEQUENCE_LIST
  |  |12834|    108|            {
  |  |12835|    108|                seq = tos;
  |  |12836|    108|                values = &stack_pointer[-1];
  |  |12837|    108|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12838|    108|                assert(PyList_CheckExact(seq_o));
  |  |12839|    108|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  321|    108|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12839:21): [Folded, False: 108]
  |  |  ------------------
  |  |12840|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12841|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12842|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12843|      0|                }
  |  |12844|    108|                if (PyList_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   38|    108|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12844:21): [True: 0, False: 108]
  |  |  ------------------
  |  |12845|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12846|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12846:25): [True: 0, Folded]
  |  |  ------------------
  |  |12847|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12848|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12849|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12850|      0|                    }
  |  |12851|      0|                }
  |  |12852|    108|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    108|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12853|    108|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|    108|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    108|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12854|    324|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (12854:37): [True: 216, False: 108]
  |  |  ------------------
  |  |12855|    216|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|    216|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12856|    216|                }
  |  |12857|    108|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  322|    108|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12858|    108|                stack_pointer += -1 + oparg;
  |  |12859|    108|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    108|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12860|    108|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12861|    108|                PyStackRef_CLOSE(seq);
  |  |12862|    108|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12863|    108|            }
  |  |12864|    108|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    108|    { \
  |  |  |  |  201|    108|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    108|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    108|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    108|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    108|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    108|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    108|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    108|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 108]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    108|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    108|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    108|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    108|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    108|    }
  |  |  ------------------
  |  |12865|    108|        }
  |  |12866|       |
  |  |12867|  29.6k|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  29.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12868|       |            #if _Py_TAIL_CALL_INTERP
  |  |12869|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |12870|       |            (void)(opcode);
  |  |12871|       |            #endif
  |  |12872|  29.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12873|  29.6k|            (void)this_instr;
  |  |12874|  29.6k|            frame->instr_ptr = next_instr;
  |  |12875|  29.6k|            next_instr += 2;
  |  |12876|  29.6k|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  29.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12877|  29.6k|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12878|  29.6k|            _PyStackRef tos;
  |  |12879|  29.6k|            _PyStackRef seq;
  |  |12880|  29.6k|            _PyStackRef *values;
  |  |12881|       |            // _GUARD_TOS_TUPLE
  |  |12882|  29.6k|            {
  |  |12883|  29.6k|                tos = stack_pointer[-1];
  |  |12884|  29.6k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12885|  29.6k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  29.6k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  29.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12885:21): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |12886|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12887|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12888|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12889|      0|                }
  |  |12890|  29.6k|            }
  |  |12891|       |            /* Skip 1 cache entry */
  |  |12892|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |12893|  29.6k|            {
  |  |12894|  29.6k|                seq = tos;
  |  |12895|  29.6k|                values = &stack_pointer[-1];
  |  |12896|  29.6k|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12897|  29.6k|                assert(PyTuple_CheckExact(seq_o));
  |  |12898|  29.6k|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|  29.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12898:21): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |12899|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12900|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12901|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12902|      0|                }
  |  |12903|  29.6k|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  29.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12904|  29.6k|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|  29.6k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  29.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12905|   118k|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (12905:37): [True: 89.3k, False: 29.6k]
  |  |  ------------------
  |  |12906|  89.3k|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|  89.3k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  89.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  89.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12907|  89.3k|                }
  |  |12908|  29.6k|                stack_pointer += -1 + oparg;
  |  |12909|  29.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  29.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12910|  29.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12911|  29.6k|                PyStackRef_CLOSE(seq);
  |  |12912|  29.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12913|  29.6k|            }
  |  |12914|  29.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  29.6k|    { \
  |  |  |  |  201|  29.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  29.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  29.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  29.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  29.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  29.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  29.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  29.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 29.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  29.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  29.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  29.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  29.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  29.6k|    }
  |  |  ------------------
  |  |12915|  29.6k|        }
  |  |12916|       |
  |  |12917|  1.23M|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.23M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12918|       |            #if _Py_TAIL_CALL_INTERP
  |  |12919|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |12920|       |            (void)(opcode);
  |  |12921|       |            #endif
  |  |12922|  1.23M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12923|  1.23M|            (void)this_instr;
  |  |12924|  1.23M|            frame->instr_ptr = next_instr;
  |  |12925|  1.23M|            next_instr += 2;
  |  |12926|  1.23M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.23M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12927|  1.23M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12928|  1.23M|            _PyStackRef tos;
  |  |12929|  1.23M|            _PyStackRef seq;
  |  |12930|  1.23M|            _PyStackRef val1;
  |  |12931|  1.23M|            _PyStackRef val0;
  |  |12932|       |            // _GUARD_TOS_TUPLE
  |  |12933|  1.23M|            {
  |  |12934|  1.23M|                tos = stack_pointer[-1];
  |  |12935|  1.23M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12936|  1.23M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.23M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.23M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12936:21): [True: 0, False: 1.23M]
  |  |  ------------------
  |  |12937|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12938|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12939|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12940|      0|                }
  |  |12941|  1.23M|            }
  |  |12942|       |            /* Skip 1 cache entry */
  |  |12943|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |12944|  1.23M|            {
  |  |12945|  1.23M|                seq = tos;
  |  |12946|  1.23M|                assert(oparg == 2);
  |  |12947|  1.23M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12948|  1.23M|                assert(PyTuple_CheckExact(seq_o));
  |  |12949|  1.23M|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  1.23M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12949:21): [True: 0, False: 1.23M]
  |  |  ------------------
  |  |12950|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12951|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12952|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12953|      0|                }
  |  |12954|  1.23M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  1.23M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12955|  1.23M|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|  1.23M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12956|  1.23M|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|  1.23M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12957|  1.23M|                stack_pointer[-1] = val1;
  |  |12958|  1.23M|                stack_pointer[0] = val0;
  |  |12959|  1.23M|                stack_pointer += 1;
  |  |12960|  1.23M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.23M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12961|  1.23M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12962|  1.23M|                PyStackRef_CLOSE(seq);
  |  |12963|  1.23M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12964|  1.23M|            }
  |  |12965|  1.23M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.23M|    { \
  |  |  |  |  201|  1.23M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.23M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.23M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.23M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.23M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.23M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.23M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.23M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.23M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.23M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.23M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.23M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.23M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.23M|    }
  |  |  ------------------
  |  |12966|  1.23M|        }
  |  |12967|       |
  |  |12968|  27.2k|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|  27.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12969|       |            #if _Py_TAIL_CALL_INTERP
  |  |12970|       |            int opcode = WITH_EXCEPT_START;
  |  |12971|       |            (void)(opcode);
  |  |12972|       |            #endif
  |  |12973|  27.2k|            frame->instr_ptr = next_instr;
  |  |12974|  27.2k|            next_instr += 1;
  |  |12975|  27.2k|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|  27.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12976|  27.2k|            _PyStackRef exit_func;
  |  |12977|  27.2k|            _PyStackRef exit_self;
  |  |12978|  27.2k|            _PyStackRef lasti;
  |  |12979|  27.2k|            _PyStackRef val;
  |  |12980|  27.2k|            _PyStackRef res;
  |  |12981|  27.2k|            val = stack_pointer[-1];
  |  |12982|  27.2k|            lasti = stack_pointer[-3];
  |  |12983|  27.2k|            exit_self = stack_pointer[-4];
  |  |12984|  27.2k|            exit_func = stack_pointer[-5];
  |  |12985|  27.2k|            PyObject *exc, *tb;
  |  |12986|  27.2k|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |12987|  27.2k|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |12988|  27.2k|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |12989|  27.2k|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|  27.2k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12990|  27.2k|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |12991|  27.2k|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (12991:17): [True: 0, False: 27.2k]
  |  |  ------------------
  |  |12992|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12993|      0|            }
  |  |12994|  27.2k|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |12995|  27.2k|            (void)lasti;
  |  |12996|  27.2k|            PyObject* res_o;
  |  |12997|  27.2k|            {
  |  |12998|  27.2k|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |12999|  27.2k|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  482|  27.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  27.2k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  27.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13000|  27.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13001|  27.2k|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13002|  27.2k|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|  27.2k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  27.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13003|  27.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13004|  27.2k|            }
  |  |13005|  27.2k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13006|  27.2k|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|  27.2k|    do { \
  |  |  |  |   70|  27.2k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  27.2k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 27.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|  27.2k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  27.2k|    do { \
  |  |  |  |  |  |   81|  27.2k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  27.2k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  27.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 27.2k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|  27.2k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  27.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  27.2k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 27.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|  27.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 27.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  27.2k|        } \
  |  |  |  |   74|  27.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 27.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13007|  27.2k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13008|  27.2k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13008:17): [True: 0, False: 27.2k]
  |  |  ------------------
  |  |13009|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13010|      0|            }
  |  |13011|  27.2k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13012|  27.2k|            stack_pointer[0] = res;
  |  |13013|  27.2k|            stack_pointer += 1;
  |  |13014|  27.2k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  27.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13015|  27.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  27.2k|    { \
  |  |  |  |  201|  27.2k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  27.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  27.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  27.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  27.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  27.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  27.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  27.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 27.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  27.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  27.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  27.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  27.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  27.2k|    }
  |  |  ------------------
  |  |13016|  27.2k|        }
  |  |13017|       |
  |  |13018|  2.12M|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  2.12M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13019|       |            #if _Py_TAIL_CALL_INTERP
  |  |13020|       |            int opcode = YIELD_VALUE;
  |  |13021|       |            (void)(opcode);
  |  |13022|       |            #endif
  |  |13023|  2.12M|            frame->instr_ptr = next_instr;
  |  |13024|  2.12M|            next_instr += 1;
  |  |13025|  2.12M|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|  2.12M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13026|  2.12M|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  132|  2.12M|#define YIELD_VALUE                            119
  |  |  ------------------
  |  |13027|  2.12M|            _PyStackRef value;
  |  |13028|  2.12M|            _PyStackRef retval;
  |  |13029|       |            // _MAKE_HEAP_SAFE
  |  |13030|  2.12M|            {
  |  |13031|  2.12M|                value = stack_pointer[-1];
  |  |13032|  2.12M|                value = PyStackRef_MakeHeapSafe(value);
  |  |13033|  2.12M|            }
  |  |13034|       |            // _YIELD_VALUE
  |  |13035|  2.12M|            {
  |  |13036|  2.12M|                retval = value;
  |  |13037|  2.12M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13038|  2.12M|                frame->instr_ptr++;
  |  |13039|  2.12M|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13040|  2.12M|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |13041|  2.12M|                assert(oparg == 0 || oparg == 1);
  |  |13042|  2.12M|                _PyStackRef temp = retval;
  |  |13043|  2.12M|                stack_pointer += -1;
  |  |13044|  2.12M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13045|  2.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13046|  2.12M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|  2.12M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13047|  2.12M|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13048|  2.12M|                gen->gi_exc_state.previous_item = NULL;
  |  |13049|  2.12M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13050|  2.12M|                _PyInterpreterFrame *gen_frame = frame;
  |  |13051|  2.12M|                frame = tstate->current_frame = frame->previous;
  |  |13052|  2.12M|                gen_frame->previous = NULL;
  |  |13053|  2.12M|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13054|  2.12M|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|  2.12M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13055|  2.12M|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |13056|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13057|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13058|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13059|       |                    assert(i >= 0 && i <= INT_MAX);
  |  |13060|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  |13061|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13062|       |                }
  |  |13063|       |                #endif
  |  |13064|  2.12M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13065|  2.12M|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  419|  2.12M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  2.12M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  2.12M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 2.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13066|  2.12M|                value = temp;
  |  |13067|  2.12M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.12M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13068|  2.12M|            }
  |  |13069|  2.12M|            stack_pointer[0] = value;
  |  |13070|  2.12M|            stack_pointer += 1;
  |  |13071|  2.12M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13072|  2.12M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.12M|    { \
  |  |  |  |  201|  2.12M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.12M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.12M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.12M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.12M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.12M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.12M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.12M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.12M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.12M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.12M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.12M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.12M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.12M|    }
  |  |  ------------------
  |  |13073|  2.12M|        }
  |  |13074|       |
  |  |13075|       |            /* END INSTRUCTIONS */
  |  |13076|  2.12M|#if !_Py_TAIL_CALL_INTERP
  |  |13077|  2.12M|#if USE_COMPUTED_GOTOS
  |  |13078|  2.12M|        _unknown_opcode:
  |  |13079|       |#else
  |  |13080|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13081|       |#endif
  |  |13082|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13083|       |               next_instr points the current instruction without TARGET(). */
  |  |13084|      0|            opcode = next_instr->op.code;
  |  |13085|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13086|      0|              "%U:%d: unknown opcode %d",
  |  |13087|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13088|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13089|      0|              opcode);
  |  |13090|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13091|       |
  |  |13092|       |
  |  |13093|      0|        }
  |  |13094|       |
  |  |13095|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13096|       |           or goto error. */
  |  |13097|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13098|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13099|       |        /* BEGIN LABELS */
  |  |13100|       |
  |  |13101|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13102|      0|        {
  |  |13103|      0|            stack_pointer -= 2;
  |  |13104|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |13105|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13106|      0|        }
  |  |13107|       |
  |  |13108|      4|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|      4|#  define LABEL(name) name:
  |  |  ------------------
  |  |13109|      4|        {
  |  |13110|      4|            stack_pointer -= 1;
  |  |13111|      4|            assert(WITHIN_STACK_BOUNDS());
  |  |13112|      4|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13113|      0|        }
  |  |13114|       |
  |  |13115|  2.82M|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  2.82M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13116|  2.82M|        {
  |  |13117|  2.82M|            #ifdef NDEBUG
  |  |13118|  2.82M|            if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (13118:17): [True: 0, False: 2.82M]
  |  |  ------------------
  |  |13119|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13120|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13121|      0|                             "error return without exception set");
  |  |13122|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13123|      0|            }
  |  |13124|       |            #else
  |  |13125|       |            assert(_PyErr_Occurred(tstate));
  |  |13126|       |            #endif
  |  |13127|  2.82M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13128|  2.82M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  2.82M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13129|  2.82M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13130|  2.82M|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13131|  2.82M|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13131:17): [True: 2.82M, False: 0]
  |  |  ------------------
  |  |13132|  2.82M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13133|  2.82M|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13134|  2.82M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13135|  2.82M|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13135:21): [True: 2.82M, False: 0]
  |  |  ------------------
  |  |13136|  2.82M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13137|  2.82M|                    PyTraceBack_Here(f);
  |  |13138|  2.82M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13139|  2.82M|                }
  |  |13140|  2.82M|            }
  |  |13141|  2.82M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13142|  2.82M|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13143|  2.82M|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  2.82M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13144|      0|        }
  |  |13145|       |
  |  |13146|  3.36M|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  3.36M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13147|  3.36M|        {
  |  |13148|  3.36M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  3.36M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13149|  3.36M|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  249|  3.36M|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13150|  3.36M|            int level, handler, lasti;
  |  |13151|  3.36M|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13152|  3.36M|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13152:17): [True: 980k, False: 2.37M]
  |  |  ------------------
  |  |13153|   980k|                assert(_PyErr_Occurred(tstate));
  |  |13154|   980k|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13155|  2.75M|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13155:24): [True: 1.77M, False: 980k]
  |  |  ------------------
  |  |13156|  1.77M|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13157|  1.77M|                    PyStackRef_XCLOSE(ref);
  |  |13158|  1.77M|                }
  |  |13159|   980k|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13160|   980k|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|   980k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13161|      0|            }
  |  |13162|  3.36M|            assert(STACK_LEVEL() >= level);
  |  |13163|  2.37M|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13164|  2.37M|            assert(frame->stackpointer >= new_top);
  |  |13165|  7.54M|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13165:20): [True: 5.16M, False: 2.37M]
  |  |  ------------------
  |  |13166|  5.16M|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13167|  5.16M|                PyStackRef_XCLOSE(ref);
  |  |13168|  5.16M|            }
  |  |13169|  2.37M|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13169:17): [True: 500k, False: 1.87M]
  |  |  ------------------
  |  |13170|   500k|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   18|   500k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13171|   500k|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13172|   500k|                _PyFrame_StackPush(frame, lasti);
  |  |13173|   500k|            }
  |  |13174|  2.37M|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13175|  2.37M|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13176|  2.37M|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13177|  2.37M|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13178|  2.37M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13178:17): [True: 0, False: 2.37M]
  |  |  ------------------
  |  |13179|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13180|      0|            }
  |  |13181|       |            #ifdef Py_DEBUG
  |  |13182|       |            if (frame->lltrace >= 5) {
  |  |13183|       |                lltrace_resume_frame(frame);
  |  |13184|       |            }
  |  |13185|       |            #endif
  |  |13186|  2.37M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13187|       |            #if _Py_TAIL_CALL_INTERP
  |  |13188|       |            int opcode;
  |  |13189|       |            #endif
  |  |13190|  2.37M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.37M|    { \
  |  |  |  |  201|  2.37M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.37M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.37M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.37M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.37M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.37M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.37M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.37M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.37M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.37M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.37M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.37M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.37M|    }
  |  |  ------------------
  |  |13191|  2.37M|        }
  |  |13192|       |
  |  |13193|   980k|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|   980k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13194|   980k|        {
  |  |13195|   980k|            assert(_PyErr_Occurred(tstate));
  |  |13196|   980k|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|   980k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13197|   980k|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|   980k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13198|      0|        }
  |  |13199|       |
  |  |13200|   980k|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|   980k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13201|   980k|        {
  |  |13202|   980k|            assert(_PyErr_Occurred(tstate));
  |  |13203|   980k|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13204|   980k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13205|   980k|            _PyInterpreterFrame *dying = frame;
  |  |13206|   980k|            frame = tstate->current_frame = dying->previous;
  |  |13207|   980k|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13208|   980k|            frame->return_offset = 0;
  |  |13209|   980k|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13209:17): [True: 29.0k, False: 951k]
  |  |  ------------------
  |  |13210|  29.0k|                tstate->current_frame = frame->previous;
  |  |13211|  29.0k|                #if !_Py_TAIL_CALL_INTERP
  |  |13212|  29.0k|                assert(frame == &entry.frame);
  |  |13213|  29.0k|                #endif
  |  |13214|       |                #ifdef _Py_TIER2
  |  |13215|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13216|       |                assert(tstate->current_executor == NULL);
  |  |13217|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13218|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13219|       |                    PyStackRef_CLOSE(executor);
  |  |13220|       |                }
  |  |13221|       |                #endif
  |  |13222|  29.0k|                return NULL;
  |  |13223|  29.0k|            }
  |  |13224|   951k|            next_instr = frame->instr_ptr;
  |  |13225|   951k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13226|   951k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   951k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13227|      0|        }
  |  |13228|       |
  |  |13229|  6.15M|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|  6.15M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13230|  6.15M|        {
  |  |13231|  6.15M|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13232|  6.15M|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13232:17): [True: 0, False: 6.15M]
  |  |  ------------------
  |  |13233|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13234|      0|            }
  |  |13235|  6.15M|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  6.15M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13236|  6.15M|            next_instr = frame->instr_ptr;
  |  |13237|       |            #ifdef Py_DEBUG
  |  |13238|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13239|       |            if (lltrace < 0) {
  |  |13240|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13241|       |            }
  |  |13242|       |            frame->lltrace = lltrace;
  |  |13243|       |            assert(!_PyErr_Occurred(tstate));
  |  |13244|       |            #endif
  |  |13245|  6.15M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13246|       |            #if _Py_TAIL_CALL_INTERP
  |  |13247|       |            int opcode;
  |  |13248|       |            #endif
  |  |13249|  6.15M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.15M|    { \
  |  |  |  |  201|  6.15M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.15M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.15M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.15M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.15M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.15M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.15M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.15M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.15M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.15M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.15M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.15M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.15M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.15M|    }
  |  |  ------------------
  |  |13250|  6.15M|        }
  |  |13251|       |
  |  |13252|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13253|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13254|       |        #endif
  |  |13255|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13256|      0|        {
  |  |13257|       |            #if _Py_TIER2
  |  |13258|       |            assert(IS_JIT_TRACING());
  |  |13259|       |            int opcode = next_instr->op.code;
  |  |13260|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13261|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13262|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13263|       |            LEAVE_TRACING();
  |  |13264|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13265|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13266|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13267|       |            if (err < 0) {
  |  |13268|       |                JUMP_TO_LABEL(error);
  |  |13269|       |            }
  |  |13270|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13271|       |            #else
  |  |13272|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13273|      0|            #endif
  |  |13274|      0|        }
  |  |13275|       |
  |  |13276|       |/* END LABELS */
  |  |13277|      0|#undef TIER_ONE
  ------------------
 1307|      0|#endif
 1308|       |
 1309|       |
 1310|      0|early_exit:
 1311|      0|    assert(_PyErr_Occurred(tstate));
 1312|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1313|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
 1314|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1315|      0|    _PyInterpreterFrame *dying = frame;
 1316|      0|    frame = tstate->current_frame = dying->previous;
 1317|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1318|      0|    frame->return_offset = 0;
 1319|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
 1320|       |    /* Restore previous frame and exit */
 1321|      0|    tstate->current_frame = frame->previous;
 1322|       |    return NULL;
 1323|  3.66G|}
_PyEval_FrameClearAndPop:
 1974|  58.4M|{
 1975|       |    // Update last_profiled_frame for remote profiler frame caching.
 1976|       |    // By this point, tstate->current_frame is already set to the parent frame.
 1977|       |    // Only update if we're popping the exact frame that was last profiled.
 1978|       |    // This avoids corrupting the cache when transient frames (called and returned
 1979|       |    // between profiler samples) update last_profiled_frame to addresses the
 1980|       |    // profiler never saw.
 1981|  58.4M|    if (tstate->last_profiled_frame != NULL && tstate->last_profiled_frame == frame) {
  ------------------
  |  Branch (1981:9): [True: 0, False: 58.4M]
  |  Branch (1981:48): [True: 0, False: 0]
  ------------------
 1982|      0|        tstate->last_profiled_frame = tstate->current_frame;
 1983|      0|    }
 1984|       |
 1985|  58.4M|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (1985:9): [True: 56.9M, False: 1.55M]
  ------------------
 1986|  56.9M|        clear_thread_frame(tstate, frame);
 1987|  56.9M|    }
 1988|  1.55M|    else {
 1989|  1.55M|        clear_gen_frame(tstate, frame);
 1990|  1.55M|    }
 1991|  58.4M|}
_PyEvalFramePushAndInit:
 1998|  11.2M|{
 1999|  11.2M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2000|  11.2M|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2001|  11.2M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  11.2M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2002|  11.2M|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2003|  11.2M|    if (frame == NULL) {
  ------------------
  |  Branch (2003:9): [True: 0, False: 11.2M]
  ------------------
 2004|      0|        goto fail;
 2005|      0|    }
 2006|  11.2M|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2007|  11.2M|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2007:9): [True: 0, False: 11.2M]
  ------------------
 2008|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
 2009|      0|        clear_thread_frame(tstate, frame);
 2010|      0|        return NULL;
 2011|      0|    }
 2012|  11.2M|    return frame;
 2013|      0|fail:
 2014|       |    /* Consume the references */
 2015|      0|    PyStackRef_CLOSE(func);
 2016|      0|    Py_XDECREF(locals);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2017|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2017:24): [True: 0, False: 0]
  ------------------
 2018|      0|        PyStackRef_CLOSE(args[i]);
 2019|      0|    }
 2020|      0|    if (kwnames) {
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2022:32): [True: 0, False: 0]
  ------------------
 2023|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2024|      0|        }
 2025|      0|    }
 2026|      0|    PyErr_NoMemory();
 2027|       |    return NULL;
 2028|  11.2M|}
_PyEvalFramePushAndInit_Ex:
 2036|   114k|{
 2037|   114k|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|  96.9k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2037:22): [True: 96.9k, False: 17.3k]
  |  Branch (2037:40): [True: 54.2k, False: 42.6k]
  ------------------
 2038|   114k|    PyObject *kwnames = NULL;
 2039|   114k|    _PyStackRef *newargs;
 2040|   114k|    PyObject *const *object_array = NULL;
 2041|   114k|    _PyStackRef stack_array[8] = {0};
 2042|   114k|    if (has_dict) {
  ------------------
  |  Branch (2042:9): [True: 54.2k, False: 59.9k]
  ------------------
 2043|  54.2k|        object_array = _PyStack_UnpackDict(tstate, _PyTuple_ITEMS(callargs), nargs, kwargs, &kwnames);
  ------------------
  |  |   26|  54.2k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  54.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2044|  54.2k|        if (object_array == NULL) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 54.2k]
  ------------------
 2045|      0|            PyStackRef_CLOSE(func);
 2046|      0|            goto error;
 2047|      0|        }
 2048|  54.2k|        size_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  54.2k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|  54.2k|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
 2050|  54.2k|        newargs = (_PyStackRef *)object_array;
 2051|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2052|   108k|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2052:32): [True: 54.1k, False: 54.2k]
  ------------------
 2053|  54.1k|            newargs[i] = PyStackRef_FromPyObjectNew(object_array[i]);
  ------------------
  |  |  611|  54.1k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2054|  54.1k|        }
 2055|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2056|   162k|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2056:28): [True: 108k, False: 54.2k]
  ------------------
 2057|   108k|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2058|   108k|        }
 2059|  54.2k|    }
 2060|  59.9k|    else {
 2061|  59.9k|        if (nargs <= 8) {
  ------------------
  |  Branch (2061:13): [True: 59.9k, False: 8]
  ------------------
 2062|  59.9k|            newargs = stack_array;
 2063|  59.9k|        }
 2064|      8|        else {
 2065|      8|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2066|      8|            if (newargs == NULL) {
  ------------------
  |  Branch (2066:17): [True: 0, False: 8]
  ------------------
 2067|      0|                PyErr_NoMemory();
 2068|      0|                PyStackRef_CLOSE(func);
 2069|      0|                goto error;
 2070|      0|            }
 2071|      8|        }
 2072|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2073|   188k|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2073:32): [True: 128k, False: 59.9k]
  ------------------
 2074|   128k|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|   128k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   128k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   128k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2075|   128k|        }
 2076|  59.9k|    }
 2077|   114k|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2078|   114k|        tstate, func, locals,
 2079|   114k|        newargs, nargs, kwnames, previous
 2080|   114k|    );
 2081|   114k|    if (has_dict) {
  ------------------
  |  Branch (2081:9): [True: 54.2k, False: 59.9k]
  ------------------
 2082|  54.2k|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2083|  54.2k|    }
 2084|  59.9k|    else if (nargs > 8) {
  ------------------
  |  Branch (2084:14): [True: 8, False: 59.9k]
  ------------------
 2085|      8|       PyMem_Free((void *)newargs);
 2086|      8|    }
 2087|       |    /* No need to decref func here because the reference has been stolen by
 2088|       |       _PyEvalFramePushAndInit.
 2089|       |    */
 2090|   114k|    Py_DECREF(callargs);
  ------------------
  |  |   80|   114k|    do { \
  |  |   81|   114k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   114k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   114k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 3.99k, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  3.99k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|  3.99k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|  3.99k|            break; \
  |  |   85|  3.99k|        } \
  |  |   86|   114k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   110k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   110k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 13.2k, False: 97.0k]
  |  |  ------------------
  |  |   88|  13.2k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|  13.2k|    do { \
  |  |  |  |  113|  13.2k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|  13.2k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 13.2k]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|  13.2k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 13.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|  13.2k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|  13.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  13.2k|            (*dealloc)(op); \
  |  |   91|  13.2k|        } \
  |  |   92|   110k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 110k]
  |  |  ------------------
  ------------------
 2091|   114k|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|   114k|    do { \
  |  |   70|   114k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|   114k|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 96.9k, False: 17.3k]
  |  |  ------------------
  |  |   72|  96.9k|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|  96.9k|    do { \
  |  |  |  |   81|  96.9k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  96.9k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  96.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  96.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  96.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 96.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  96.9k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  96.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  96.9k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 96.9k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  96.9k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  96.9k|    do { \
  |  |  |  |  |  |  113|  96.9k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  96.9k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 96.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  96.9k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 96.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  96.9k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  96.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  96.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  96.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  96.9k|            (*dealloc)(op); \
  |  |  |  |   91|  96.9k|        } \
  |  |  |  |   92|  96.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 96.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|  96.9k|        } \
  |  |   74|   114k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 114k]
  |  |  ------------------
  ------------------
 2092|   114k|    return new_frame;
 2093|      0|error:
 2094|      0|    Py_DECREF(callargs);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2095|      0|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2096|       |    return NULL;
 2097|   114k|}
_PyEval_Vector:
 2104|  5.18M|{
 2105|  5.18M|    size_t total_args = argcount;
 2106|  5.18M|    if (kwnames) {
  ------------------
  |  Branch (2106:9): [True: 1.68M, False: 3.49M]
  ------------------
 2107|  1.68M|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.68M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|  1.68M|    }
 2109|  5.18M|    _PyStackRef stack_array[8] = {0};
 2110|  5.18M|    _PyStackRef *arguments;
 2111|  5.18M|    if (total_args <= 8) {
  ------------------
  |  Branch (2111:9): [True: 5.18M, False: 32]
  ------------------
 2112|  5.18M|        arguments = stack_array;
 2113|  5.18M|    }
 2114|     32|    else {
 2115|     32|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2116|     32|        if (arguments == NULL) {
  ------------------
  |  Branch (2116:13): [True: 0, False: 32]
  ------------------
 2117|      0|            return PyErr_NoMemory();
 2118|      0|        }
 2119|     32|    }
 2120|       |    /* _PyEvalFramePushAndInit consumes the references
 2121|       |     * to func, locals and all its arguments */
 2122|  5.18M|    Py_XINCREF(locals);
  ------------------
  |  |  514|  5.18M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|  14.6M|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2123:24): [True: 9.44M, False: 5.18M]
  ------------------
 2124|  9.44M|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|  9.44M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2125|  9.44M|    }
 2126|  5.18M|    if (kwnames) {
  ------------------
  |  Branch (2126:9): [True: 1.68M, False: 3.49M]
  ------------------
 2127|  1.68M|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.68M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|  4.63M|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2128:32): [True: 2.94M, False: 1.68M]
  ------------------
 2129|  2.94M|            arguments[i+argcount] = PyStackRef_FromPyObjectNew(args[i+argcount]);
  ------------------
  |  |  611|  2.94M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|  2.94M|        }
 2131|  1.68M|    }
 2132|  5.18M|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2133|  5.18M|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|  5.18M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2134|  5.18M|        arguments, argcount, kwnames, NULL);
 2135|  5.18M|    if (total_args > 8) {
  ------------------
  |  Branch (2135:9): [True: 32, False: 5.18M]
  ------------------
 2136|     32|        PyMem_Free(arguments);
 2137|     32|    }
 2138|  5.18M|    if (frame == NULL) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 5.18M]
  ------------------
 2139|      0|        return NULL;
 2140|      0|    }
 2141|  5.18M|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|  5.18M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2142|  5.18M|    return _PyEval_EvalFrame(tstate, frame, 0);
 2143|  5.18M|}
_PyEval_UnpackIterableStackRef:
 2320|   108k|{
 2321|   108k|    int i = 0, j = 0;
 2322|   108k|    Py_ssize_t ll = 0;
 2323|   108k|    PyObject *it;  /* iter(v) */
 2324|   108k|    PyObject *w;
 2325|   108k|    PyObject *l = NULL; /* variable list */
 2326|   108k|    assert(v != NULL);
 2327|       |
 2328|   108k|    it = PyObject_GetIter(v);
 2329|   108k|    if (it == NULL) {
  ------------------
  |  Branch (2329:9): [True: 0, False: 108k]
  ------------------
 2330|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2330:13): [True: 0, False: 0]
  ------------------
 2331|      0|            Py_TYPE(v)->tp_iter == NULL && !PySequence_Check(v))
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2331:13): [True: 0, False: 0]
  |  Branch (2331:44): [True: 0, False: 0]
  ------------------
 2332|      0|        {
 2333|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2334|      0|                          "cannot unpack non-iterable %.200s object",
 2335|      0|                          Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2336|      0|        }
 2337|      0|        return 0;
 2338|      0|    }
 2339|       |
 2340|   327k|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2340:12): [True: 218k, False: 108k]
  ------------------
 2341|   218k|        w = PyIter_Next(it);
 2342|   218k|        if (w == NULL) {
  ------------------
  |  Branch (2342:13): [True: 0, False: 218k]
  ------------------
 2343|       |            /* Iterator done, via error or exhaustion. */
 2344|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2344:17): [True: 0, False: 0]
  ------------------
 2345|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2345:21): [True: 0, False: 0]
  ------------------
 2346|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2347|      0|                                  "not enough values to unpack "
 2348|      0|                                  "(expected %d, got %d)",
 2349|      0|                                  argcnt, i);
 2350|      0|                }
 2351|      0|                else {
 2352|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2353|      0|                                  "not enough values to unpack "
 2354|      0|                                  "(expected at least %d, got %d)",
 2355|      0|                                  argcnt + argcntafter, i);
 2356|      0|                }
 2357|      0|            }
 2358|      0|            goto Error;
 2359|      0|        }
 2360|   218k|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2361|   218k|    }
 2362|       |
 2363|   108k|    if (argcntafter == -1) {
  ------------------
  |  Branch (2363:9): [True: 108k, False: 0]
  ------------------
 2364|       |        /* We better have exhausted the iterator now. */
 2365|   108k|        w = PyIter_Next(it);
 2366|   108k|        if (w == NULL) {
  ------------------
  |  Branch (2366:13): [True: 108k, False: 0]
  ------------------
 2367|   108k|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2367:17): [True: 0, False: 108k]
  ------------------
 2368|      0|                goto Error;
 2369|   108k|            Py_DECREF(it);
  ------------------
  |  |   80|   108k|    do { \
  |  |   81|   108k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   108k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   108k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 108k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|   108k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   108k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   108k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 108k, False: 0]
  |  |  ------------------
  |  |   88|   108k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|   108k|    do { \
  |  |  |  |  113|   108k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|   108k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 108k]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|   108k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 108k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|   108k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|   108k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|   108k|            (*dealloc)(op); \
  |  |   91|   108k|        } \
  |  |   92|   108k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 2370|   108k|            return 1;
 2371|   108k|        }
 2372|      0|        Py_DECREF(w);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2373|       |
 2374|      0|        if (PyList_CheckExact(v) || PyTuple_CheckExact(v)
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyList_CheckExact(v) || PyTuple_CheckExact(v)
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2375|      0|              || PyDict_CheckExact(v)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2376|      0|            ll = PyDict_CheckExact(v) ? PyDict_Size(v) : Py_SIZE(v);
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          ll = PyDict_CheckExact(v) ? PyDict_Size(v) : Py_SIZE(v);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2377|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2377:17): [True: 0, False: 0]
  ------------------
 2378|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2379|      0|                              "too many values to unpack (expected %d, got %zd)",
 2380|      0|                              argcnt, ll);
 2381|      0|                goto Error;
 2382|      0|            }
 2383|      0|        }
 2384|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2385|      0|                      "too many values to unpack (expected %d)",
 2386|      0|                      argcnt);
 2387|      0|        goto Error;
 2388|      0|    }
 2389|       |
 2390|      0|    l = PySequence_List(it);
 2391|      0|    if (l == NULL)
  ------------------
  |  Branch (2391:9): [True: 0, False: 0]
  ------------------
 2392|      0|        goto Error;
 2393|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2394|      0|    i++;
 2395|       |
 2396|      0|    ll = PyList_GET_SIZE(l);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2397:9): [True: 0, False: 0]
  ------------------
 2398|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2399|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2400|      0|            argcnt + argcntafter, argcnt + ll);
 2401|      0|        goto Error;
 2402|      0|    }
 2403|       |
 2404|       |    /* Pop the "after-variable" args off the list. */
 2405|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2405:27): [True: 0, False: 0]
  ------------------
 2406|      0|        *--sp = PyStackRef_FromPyObjectSteal(PyList_GET_ITEM(l, ll - j));
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2407|      0|    }
 2408|       |    /* Resize the list. */
 2409|      0|    Py_SET_SIZE(l, ll - argcntafter);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2410|      0|    Py_DECREF(it);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2411|      0|    return 1;
 2412|       |
 2413|      0|Error:
 2414|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2414:12): [True: 0, False: 0]
  ------------------
 2415|      0|        PyStackRef_CLOSE(*sp);
 2416|      0|    }
 2417|       |    Py_XDECREF(it);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2418|      0|    return 0;
 2419|      0|}
_PyEval_MonitorRaise:
 2426|  2.82M|{
 2427|  2.82M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  2.82M|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2427:9): [True: 2.82M, False: 0]
  ------------------
 2428|  2.82M|        return;
 2429|  2.82M|    }
 2430|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2431|      0|}
_PyEval_NoToolsForUnwind:
 2435|  1.57k|{
 2436|  1.57k|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|  1.57k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2437|  1.57k|}
_PyEval_GetFrame:
 2573|  3.66k|{
 2574|  3.66k|    PyThreadState *tstate = _PyThreadState_GET();
 2575|  3.66k|    return _PyThreadState_GetFrame(tstate);
 2576|  3.66k|}
_PyEval_GetBuiltins:
 2594|    633|{
 2595|    633|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2596|    633|    if (frame != NULL) {
  ------------------
  |  Branch (2596:9): [True: 629, False: 4]
  ------------------
 2597|    629|        return frame->f_builtins;
 2598|    629|    }
 2599|      4|    return tstate->interp->builtins;
 2600|    633|}
PyEval_GetBuiltins:
 2604|    633|{
 2605|    633|    PyThreadState *tstate = _PyThreadState_GET();
 2606|    633|    return _PyEval_GetBuiltins(tstate);
 2607|    633|}
_PyEval_GetFrameLocals:
 2672|      8|{
 2673|      8|    PyThreadState *tstate = _PyThreadState_GET();
 2674|      8|     _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2675|      8|    if (current_frame == NULL) {
  ------------------
  |  Branch (2675:9): [True: 0, False: 8]
  ------------------
 2676|      0|        _PyErr_SetString(tstate, PyExc_SystemError, "frame does not exist");
 2677|      0|        return NULL;
 2678|      0|    }
 2679|       |
 2680|      8|    PyObject *locals = _PyFrame_GetLocals(current_frame);
 2681|      8|    if (locals == NULL) {
  ------------------
  |  Branch (2681:9): [True: 0, False: 8]
  ------------------
 2682|      0|        return NULL;
 2683|      0|    }
 2684|       |
 2685|      8|    if (PyFrameLocalsProxy_Check(locals)) {
  ------------------
  |  |    9|      8|#define PyFrameLocalsProxy_Check(op) Py_IS_TYPE((op), &PyFrameLocalsProxy_Type)
  |  |  ------------------
  |  |  |  |   65|      8|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 4, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2686|      4|        PyObject* ret = PyDict_New();
 2687|      4|        if (ret == NULL) {
  ------------------
  |  Branch (2687:13): [True: 0, False: 4]
  ------------------
 2688|      0|            Py_DECREF(locals);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2689|      0|            return NULL;
 2690|      0|        }
 2691|      4|        if (PyDict_Update(ret, locals) < 0) {
  ------------------
  |  Branch (2691:13): [True: 0, False: 4]
  ------------------
 2692|      0|            Py_DECREF(ret);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2693|      0|            Py_DECREF(locals);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2694|      0|            return NULL;
 2695|      0|        }
 2696|      4|        Py_DECREF(locals);
  ------------------
  |  |   80|      4|    do { \
  |  |   81|      4|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      4|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      4|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      4|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 4, False: 0]
  |  |  ------------------
  |  |   88|      4|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      4|    do { \
  |  |  |  |  113|      4|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      4|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      4|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      4|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      4|            (*dealloc)(op); \
  |  |   91|      4|        } \
  |  |   92|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2697|      4|        return ret;
 2698|      4|    }
 2699|       |
 2700|      8|    assert(PyMapping_Check(locals));
 2701|      4|    return locals;
 2702|      8|}
PyEval_GetGlobals:
 2716|  1.13k|{
 2717|  1.13k|    PyThreadState *tstate = _PyThreadState_GET();
 2718|  1.13k|    return _PyEval_GetGlobals(tstate);
 2719|  1.13k|}
_PyEval_EnsureBuiltins:
 2779|    737|{
 2780|    737|    PyObject *builtins = get_globals_builtins(globals);
 2781|    737|    if (builtins == NULL) {
  ------------------
  |  Branch (2781:9): [True: 629, False: 108]
  ------------------
 2782|    629|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2782:13): [True: 0, False: 629]
  ------------------
 2783|      0|            return -1;
 2784|      0|        }
 2785|    629|        builtins = PyEval_GetBuiltins();  // borrowed
 2786|    629|        if (builtins == NULL) {
  ------------------
  |  Branch (2786:13): [True: 0, False: 629]
  ------------------
 2787|      0|            assert(_PyErr_Occurred(tstate));
 2788|      0|            return -1;
 2789|      0|        }
 2790|    629|        Py_INCREF(builtins);
  ------------------
  |  |  310|    629|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    629|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    629|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|    629|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2791:13): [True: 0, False: 629]
  ------------------
 2792|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2793|      0|            return -1;
 2794|      0|        }
 2795|    629|    }
 2796|    737|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2796:9): [True: 0, False: 737]
  ------------------
 2797|      0|        *p_builtins = builtins;
 2798|      0|    }
 2799|    737|    else {
 2800|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|    737|    do { \
  |  |   81|    737|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    737|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    737|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    737|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    737|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    737|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    737|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 737]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    737|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    737|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    737|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 737]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|    737|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 737]
  |  |  ------------------
  ------------------
 2801|    737|    }
 2802|    737|    return 0;
 2803|    737|}
_PyEval_EnsureBuiltinsWithModule:
 2808|     16|{
 2809|     16|    PyObject *builtins = get_globals_builtins(globals);
 2810|     16|    if (builtins == NULL) {
  ------------------
  |  Branch (2810:9): [True: 16, False: 0]
  ------------------
 2811|     16|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2811:13): [True: 0, False: 16]
  ------------------
 2812|      0|            return -1;
 2813|      0|        }
 2814|     16|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2815|     16|        if (builtins == NULL) {
  ------------------
  |  Branch (2815:13): [True: 0, False: 16]
  ------------------
 2816|      0|            return -1;
 2817|      0|        }
 2818|     16|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2818:13): [True: 0, False: 16]
  ------------------
 2819|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2820|      0|            return -1;
 2821|      0|        }
 2822|     16|    }
 2823|     16|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2823:9): [True: 16, False: 0]
  ------------------
 2824|     16|        *p_builtins = builtins;
 2825|     16|    }
 2826|      0|    else {
 2827|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2828|      0|    }
 2829|     16|    return 0;
 2830|     16|}
PyEval_MergeCompilerFlags:
 2856|  54.4k|{
 2857|  54.4k|    PyThreadState *tstate = _PyThreadState_GET();
 2858|  54.4k|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2859|  54.4k|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2859:9): [True: 0, False: 54.4k]
  ------------------
 2860|      0|        current_frame = NULL;
 2861|      0|    }
 2862|  54.4k|    int result = cf->cf_flags != 0;
 2863|       |
 2864|  54.4k|    if (current_frame != NULL) {
  ------------------
  |  Branch (2864:9): [True: 54.4k, False: 0]
  ------------------
 2865|  54.4k|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2866|  54.4k|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|  54.4k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|  54.4k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|  54.4k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  54.4k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|  54.4k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|  54.4k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  54.4k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|  54.4k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|  54.4k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  54.4k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|  54.4k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|  54.4k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2867|  54.4k|        if (compilerflags) {
  ------------------
  |  Branch (2867:13): [True: 0, False: 54.4k]
  ------------------
 2868|      0|            result = 1;
 2869|      0|            cf->cf_flags |= compilerflags;
 2870|      0|        }
 2871|  54.4k|    }
 2872|  54.4k|    return result;
 2873|  54.4k|}
_PyEval_SliceIndex:
 2910|  16.3M|{
 2911|  16.3M|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|  16.3M|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  16.3M|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 30.0k, False: 16.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|  30.0k|        return 1;
 2913|  30.0k|    }
 2914|  16.3M|    return _PyEval_SliceIndexNotNone(v, pi);
 2915|  16.3M|}
_PyEval_SliceIndexNotNone:
 2919|  16.3M|{
 2920|  16.3M|    PyThreadState *tstate = _PyThreadState_GET();
 2921|  16.3M|    Py_ssize_t x;
 2922|  16.3M|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|  16.3M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  32.6M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 16.3M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2922:33): [True: 16.3M, False: 0]
  ------------------
 2923|  16.3M|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 2924|  16.3M|        return 1;
 2925|  16.3M|    }
 2926|      0|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (2926:9): [True: 0, False: 0]
  ------------------
 2927|      0|        x = PyNumber_AsSsize_t(v, NULL);
 2928|      0|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (2928:13): [True: 0, False: 0]
  |  Branch (2928:24): [True: 0, False: 0]
  ------------------
 2929|      0|            return 0;
 2930|      0|    }
 2931|      0|    else {
 2932|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 2933|      0|                         "slice indices must be integers or "
 2934|      0|                         "have an __index__ method");
 2935|      0|        return 0;
 2936|      0|    }
 2937|      0|    *pi = x;
 2938|      0|    return 1;
 2939|      0|}
_PyEval_UnpackIndices:
 2945|  35.2k|{
 2946|  35.2k|    if (len < 0) {
  ------------------
  |  Branch (2946:9): [True: 0, False: 35.2k]
  ------------------
 2947|      0|        return 0;
 2948|      0|    }
 2949|  35.2k|    *istart = 0;
 2950|  35.2k|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  35.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 2951|  35.2k|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (2951:9): [True: 0, False: 35.2k]
  ------------------
 2952|      0|        return 0;
 2953|      0|    }
 2954|  35.2k|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (2954:9): [True: 0, False: 35.2k]
  ------------------
 2955|      0|        return 0;
 2956|      0|    }
 2957|  35.2k|    PySlice_AdjustIndices(len, istart, istop, 1);
 2958|  35.2k|    return 1;
 2959|  35.2k|}
_PyEval_ImportName:
 2965|   791k|{
 2966|   791k|    PyObject *import_func;
 2967|   791k|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  919|   791k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   791k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   791k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2967:9): [True: 0, False: 791k]
  ------------------
 2968|   791k|                                  &import_func) < 0) {
 2969|      0|        return NULL;
 2970|      0|    }
 2971|   791k|    if (import_func == NULL) {
  ------------------
  |  Branch (2971:9): [True: 0, False: 791k]
  ------------------
 2972|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 2973|      0|        return NULL;
 2974|      0|    }
 2975|       |
 2976|   791k|    PyObject *res = _PyEval_ImportNameWithImport(
 2977|   791k|        tstate, import_func, globals, locals, name, fromlist, level);
 2978|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|   791k|    do { \
  |  |   81|   791k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   791k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   791k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   791k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   791k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 791k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|   791k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   791k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   791k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 791k]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|   791k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 791k]
  |  |  ------------------
  ------------------
 2979|   791k|    return res;
 2980|   791k|}
_PyEval_ImportNameWithImport:
 2986|   791k|{
 2987|   791k|    if (locals == NULL) {
  ------------------
  |  Branch (2987:9): [True: 787k, False: 3.78k]
  ------------------
 2988|   787k|        locals = Py_None;
  ------------------
  |  |  616|   787k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2989|   787k|    }
 2990|       |
 2991|       |    /* Fast path for not overloaded __import__. */
 2992|   791k|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (2992:9): [True: 791k, False: 0]
  ------------------
 2993|   791k|        int ilevel = PyLong_AsInt(level);
 2994|   791k|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2994:13): [True: 0, False: 791k]
  |  Branch (2994:29): [True: 0, False: 0]
  ------------------
 2995|      0|            return NULL;
 2996|      0|        }
 2997|   791k|        return PyImport_ImportModuleLevelObject(
 2998|   791k|                        name,
 2999|   791k|                        globals,
 3000|   791k|                        locals,
 3001|   791k|                        fromlist,
 3002|   791k|                        ilevel);
 3003|   791k|    }
 3004|       |
 3005|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3006|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3007|      0|    return res;
 3008|   791k|}
_PyEval_LazyImportName:
 3059|  3.55k|{
 3060|  3.55k|    PyObject *res = NULL;
 3061|       |    // Check if global policy overrides the local syntax
 3062|  3.55k|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3062:13): [True: 3.55k, False: 0]
  ------------------
 3063|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3063:9): [True: 0, False: 3.55k]
  ------------------
 3064|      0|            if (!lazy) {
  ------------------
  |  Branch (3064:17): [True: 0, False: 0]
  ------------------
 3065|      0|                lazy = is_lazy_import_module_level();
 3066|      0|            }
 3067|      0|            break;
 3068|  3.55k|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3068:9): [True: 3.55k, False: 0]
  ------------------
 3069|  3.55k|            break;
 3070|  3.55k|    }
 3071|       |
 3072|  3.55k|    if (!lazy) {
  ------------------
  |  Branch (3072:9): [True: 3.51k, False: 42]
  ------------------
 3073|       |        // See if __lazy_modules__ forces this to be lazy.
 3074|       |        // __lazy_modules__ only applies at module level; exec() inside
 3075|       |        // functions or classes should remain eager.
 3076|  3.51k|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3076:13): [True: 3.51k, False: 0]
  ------------------
 3077|  3.51k|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3078|  3.51k|            if (lazy < 0) {
  ------------------
  |  Branch (3078:17): [True: 0, False: 3.51k]
  ------------------
 3079|      0|                return NULL;
 3080|      0|            }
 3081|  3.51k|        }
 3082|  3.51k|    }
 3083|       |
 3084|  3.55k|    if (!lazy) {
  ------------------
  |  Branch (3084:9): [True: 3.51k, False: 42]
  ------------------
 3085|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3086|       |        // regular import.
 3087|  3.51k|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3088|  3.51k|                                  name, fromlist, level);
 3089|  3.51k|    }
 3090|       |
 3091|     42|    PyObject *lazy_import_func;
 3092|     42|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  919|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3092:9): [True: 0, False: 42]
  ------------------
 3093|     42|                                  &lazy_import_func) < 0) {
 3094|      0|        goto error;
 3095|      0|    }
 3096|     42|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3096:9): [True: 0, False: 42]
  ------------------
 3097|      0|        assert(!PyErr_Occurred());
 3098|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3099|      0|                         "__lazy_import__ not found");
 3100|      0|        goto error;
 3101|      0|    }
 3102|       |
 3103|     42|    if (locals == NULL) {
  ------------------
  |  Branch (3103:9): [True: 0, False: 42]
  ------------------
 3104|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3105|      0|    }
 3106|       |
 3107|     42|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3107:9): [True: 42, False: 0]
  ------------------
 3108|     42|        int ilevel = PyLong_AsInt(level);
 3109|     42|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3109:13): [True: 0, False: 42]
  |  Branch (3109:29): [True: 0, False: 0]
  ------------------
 3110|      0|            goto error;
 3111|      0|        }
 3112|       |
 3113|     42|        res = _PyImport_LazyImportModuleLevelObject(
 3114|     42|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3115|     42|        );
 3116|     42|        goto error;
 3117|     42|    }
 3118|       |
 3119|      0|    PyObject *args[6] = {name, globals, locals, fromlist, level, builtins};
 3120|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 6, NULL);
 3121|     42|error:
 3122|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     42|    do { \
  |  |   70|     42|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     42|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 42, False: 0]
  |  |  ------------------
  |  |   72|     42|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     42|    do { \
  |  |  |  |   81|     42|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     42|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     42|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     42|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     42|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     42|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|     42|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     42|        } \
  |  |   74|     42|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 42]
  |  |  ------------------
  ------------------
 3123|     42|    return res;
 3124|      0|}
_PyEval_ImportFrom:
 3128|   791k|{
 3129|   791k|    PyObject *x;
 3130|   791k|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3131|       |
 3132|   791k|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3132:9): [True: 791k, False: 8]
  ------------------
 3133|   791k|        return x;
 3134|   791k|    }
 3135|       |    /* Issue #17636: in case this failed because of a circular relative
 3136|       |       import, try to fallback on reading the module directly from
 3137|       |       sys.modules. */
 3138|      8|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  919|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3138:9): [True: 0, False: 8]
  ------------------
 3139|      0|        return NULL;
 3140|      0|    }
 3141|      8|    if (mod_name == NULL || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3141:9): [True: 0, False: 8]
  |  Branch (3141:29): [True: 0, False: 8]
  ------------------
 3142|      0|        Py_CLEAR(mod_name);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3143|      0|        goto error;
 3144|      0|    }
 3145|      8|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3146|      8|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3146:9): [True: 0, False: 8]
  ------------------
 3147|      0|        Py_DECREF(mod_name);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3148|      0|        return NULL;
 3149|      0|    }
 3150|      8|    x = PyImport_GetModule(fullmodname);
 3151|      8|    Py_DECREF(fullmodname);
  ------------------
  |  |   80|      8|    do { \
  |  |   81|      8|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      8|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      8|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      8|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      8|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      8|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 8, False: 0]
  |  |  ------------------
  |  |   88|      8|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      8|    do { \
  |  |  |  |  113|      8|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      8|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      8|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      8|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      8|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      8|            (*dealloc)(op); \
  |  |   91|      8|        } \
  |  |   92|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3152|      8|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3152:9): [True: 2, False: 6]
  |  Branch (3152:22): [True: 2, False: 0]
  ------------------
 3153|      2|        goto error;
 3154|      2|    }
 3155|      6|    Py_DECREF(mod_name);
  ------------------
  |  |   80|      6|    do { \
  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 4, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      4|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      4|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      4|            break; \
  |  |   85|      4|        } \
  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      2|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3156|      6|    return x;
 3157|       |
 3158|      2| error:
 3159|      2|    if (mod_name == NULL) {
  ------------------
  |  Branch (3159:9): [True: 0, False: 2]
  ------------------
 3160|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3161|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3161:13): [True: 0, False: 0]
  ------------------
 3162|      0|            return NULL;
 3163|      0|        }
 3164|      2|    } else {
 3165|      2|        mod_name_or_unknown = mod_name;
 3166|      2|    }
 3167|       |    // mod_name is no longer an owned reference
 3168|      2|    assert(mod_name_or_unknown);
 3169|      2|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
 3170|       |
 3171|      2|    origin = NULL;
 3172|      2|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3172:9): [True: 0, False: 2]
  ------------------
 3173|      0|        Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3174|      0|        return NULL;
 3175|      0|    }
 3176|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3176:9): [True: 0, False: 2]
  ------------------
 3177|      0|        errmsg = PyUnicode_FromFormat(
 3178|      0|            "cannot import name %R from %R (unknown location)",
 3179|      0|            name, mod_name_or_unknown
 3180|      0|        );
 3181|      0|        goto done_with_errmsg;
 3182|      0|    }
 3183|      2|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3183:9): [True: 0, False: 2]
  ------------------
 3184|      0|        goto done;
 3185|      0|    }
 3186|       |
 3187|      2|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3188|      2|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 2]
  ------------------
 3189|      0|        goto done;
 3190|      0|    }
 3191|      2|    int is_possibly_shadowing_stdlib = 0;
 3192|      2|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3192:9): [True: 0, False: 2]
  ------------------
 3193|      0|        PyObject *stdlib_modules;
 3194|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3194:13): [True: 0, False: 0]
  ------------------
 3195|      0|            goto done;
 3196|      0|        }
 3197|      0|        if (stdlib_modules && PyAnySet_Check(stdlib_modules)) {
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3197:13): [True: 0, False: 0]
  ------------------
 3198|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3199|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3199:17): [True: 0, False: 0]
  ------------------
 3200|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3201|      0|                goto done;
 3202|      0|            }
 3203|      0|        }
 3204|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3205|      0|    }
 3206|       |
 3207|      2|    if (origin == NULL && PyModule_Check(v)) {
  ------------------
  |  |   12|      2|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3207:9): [True: 2, False: 0]
  ------------------
 3208|       |        // Fall back to __file__ for diagnostics if we don't have
 3209|       |        // an origin that is a location
 3210|      2|        origin = PyModule_GetFilenameObject(v);
 3211|      2|        if (origin == NULL) {
  ------------------
  |  Branch (3211:13): [True: 2, False: 0]
  ------------------
 3212|      2|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3212:17): [True: 0, False: 2]
  ------------------
 3213|      0|                goto done;
 3214|      0|            }
 3215|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3216|      2|            _PyErr_Clear(tstate);
 3217|      2|        }
 3218|      2|        assert(origin == NULL || PyUnicode_Check(origin));
 3219|      2|    }
 3220|       |
 3221|      2|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3221:9): [True: 0, False: 2]
  ------------------
 3222|      0|        assert(origin);
 3223|      0|        errmsg = PyUnicode_FromFormat(
 3224|      0|            "cannot import name %R from %R "
 3225|      0|            "(consider renaming %R since it has the same "
 3226|      0|            "name as the standard library module named %R "
 3227|      0|            "and prevents importing that standard library module)",
 3228|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3229|      0|        );
 3230|      0|    }
 3231|      2|    else {
 3232|      2|        int rc = _PyModuleSpec_IsInitializing(spec);
 3233|      2|        if (rc < 0) {
  ------------------
  |  Branch (3233:13): [True: 0, False: 2]
  ------------------
 3234|      0|            goto done;
 3235|      0|        }
 3236|      2|        else if (rc > 0) {
  ------------------
  |  Branch (3236:18): [True: 0, False: 2]
  ------------------
 3237|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3237:17): [True: 0, False: 0]
  ------------------
 3238|      0|                assert(origin);
 3239|       |                // For non-stdlib modules, only mention the possibility of
 3240|       |                // shadowing if the module is being initialized.
 3241|      0|                errmsg = PyUnicode_FromFormat(
 3242|      0|                    "cannot import name %R from %R "
 3243|      0|                    "(consider renaming %R if it has the same name "
 3244|      0|                    "as a library you intended to import)",
 3245|      0|                    name, mod_name_or_unknown, origin
 3246|      0|                );
 3247|      0|            }
 3248|      0|            else if (origin) {
  ------------------
  |  Branch (3248:22): [True: 0, False: 0]
  ------------------
 3249|      0|                errmsg = PyUnicode_FromFormat(
 3250|      0|                    "cannot import name %R from partially initialized module %R "
 3251|      0|                    "(most likely due to a circular import) (%S)",
 3252|      0|                    name, mod_name_or_unknown, origin
 3253|      0|                );
 3254|      0|            }
 3255|      0|            else {
 3256|      0|                errmsg = PyUnicode_FromFormat(
 3257|      0|                    "cannot import name %R from partially initialized module %R "
 3258|      0|                    "(most likely due to a circular import)",
 3259|      0|                    name, mod_name_or_unknown
 3260|      0|                );
 3261|      0|            }
 3262|      0|        }
 3263|      2|        else {
 3264|      2|            assert(rc == 0);
 3265|      2|            if (origin) {
  ------------------
  |  Branch (3265:17): [True: 0, False: 2]
  ------------------
 3266|      0|                errmsg = PyUnicode_FromFormat(
 3267|      0|                    "cannot import name %R from %R (%S)",
 3268|      0|                    name, mod_name_or_unknown, origin
 3269|      0|                );
 3270|      0|            }
 3271|      2|            else {
 3272|      2|                errmsg = PyUnicode_FromFormat(
 3273|      2|                    "cannot import name %R from %R (unknown location)",
 3274|      2|                    name, mod_name_or_unknown
 3275|      2|                );
 3276|      2|            }
 3277|      2|        }
 3278|      2|    }
 3279|       |
 3280|      2|done_with_errmsg:
 3281|      2|    if (errmsg != NULL) {
  ------------------
  |  Branch (3281:9): [True: 2, False: 0]
  ------------------
 3282|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3283|      2|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3284|      2|        Py_DECREF(errmsg);
  ------------------
  |  |   80|      2|    do { \
  |  |   81|      2|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      2|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      2|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      2|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3285|      2|    }
 3286|       |
 3287|      2|done:
 3288|      2|    Py_XDECREF(origin);
  ------------------
  |  |   69|      2|    do { \
  |  |   70|      2|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      2|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3289|      2|    Py_XDECREF(spec);
  ------------------
  |  |   69|      2|    do { \
  |  |   70|      2|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      2|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 2, False: 0]
  |  |  ------------------
  |  |   72|      2|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      2|    do { \
  |  |  |  |   81|      2|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      2|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      2|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      2|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      2|        } \
  |  |   74|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3290|      2|    Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      2|    do { \
  |  |   81|      2|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      2|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      2|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      2|            break; \
  |  |   85|      2|        } \
  |  |   86|      2|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3291|       |    return NULL;
 3292|      2|}
_PyEval_LazyImportFrom:
 3296|     20|{
 3297|     20|    assert(PyLazyImport_CheckExact(v));
 3298|     20|    assert(name);
 3299|     20|    assert(PyUnicode_Check(name));
 3300|     20|    PyObject *ret;
 3301|     20|    PyLazyImportObject *d = (PyLazyImportObject *)v;
 3302|     20|    PyObject *mod = PyImport_GetModule(d->lz_from);
 3303|     20|    if (mod != NULL) {
  ------------------
  |  Branch (3303:9): [True: 0, False: 20]
  ------------------
 3304|       |        // Check if the module already has the attribute, if so, resolve it
 3305|       |        // eagerly.
 3306|      0|        if (PyModule_Check(mod)) {
  ------------------
  |  |   12|      0|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      0|            PyObject *mod_dict = PyModule_GetDict(mod);
 3308|      0|            if (mod_dict != NULL) {
  ------------------
  |  Branch (3308:17): [True: 0, False: 0]
  ------------------
 3309|      0|                if (PyDict_GetItemRef(mod_dict, name, &ret) < 0) {
  ------------------
  |  Branch (3309:21): [True: 0, False: 0]
  ------------------
 3310|      0|                    Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3311|      0|                    return NULL;
 3312|      0|                }
 3313|      0|                if (ret != NULL) {
  ------------------
  |  Branch (3313:21): [True: 0, False: 0]
  ------------------
 3314|      0|                    Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3315|      0|                    return ret;
 3316|      0|                }
 3317|      0|            }
 3318|      0|        }
 3319|      0|        Py_DECREF(mod);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3320|      0|    }
 3321|       |
 3322|     20|    if (d->lz_attr != NULL) {
  ------------------
  |  Branch (3322:9): [True: 20, False: 0]
  ------------------
 3323|     20|        if (PyUnicode_Check(d->lz_attr)) {
  ------------------
  |  |  103|     20|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|      0|            PyObject *from = PyUnicode_FromFormat(
 3325|      0|                "%U.%U", d->lz_from, d->lz_attr);
 3326|      0|            if (from == NULL) {
  ------------------
  |  Branch (3326:17): [True: 0, False: 0]
  ------------------
 3327|      0|                return NULL;
 3328|      0|            }
 3329|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3330|      0|            Py_DECREF(from);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3331|      0|            return ret;
 3332|      0|        }
 3333|     20|    }
 3334|      0|    else {
 3335|      0|        Py_ssize_t dot = PyUnicode_FindChar(
 3336|      0|            d->lz_from, '.', 0, PyUnicode_GET_LENGTH(d->lz_from), 1
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3337|      0|        );
 3338|      0|        if (dot >= 0) {
  ------------------
  |  Branch (3338:13): [True: 0, False: 0]
  ------------------
 3339|      0|            PyObject *from = PyUnicode_Substring(d->lz_from, 0, dot);
 3340|      0|            if (from == NULL) {
  ------------------
  |  Branch (3340:17): [True: 0, False: 0]
  ------------------
 3341|      0|                return NULL;
 3342|      0|            }
 3343|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3344|      0|            Py_DECREF(from);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3345|      0|            return ret;
 3346|      0|        }
 3347|      0|    }
 3348|     20|    ret = _PyLazyImport_New(frame, d->lz_builtins, d->lz_from, name);
 3349|     20|    return ret;
 3350|     20|}
_PyEval_CheckExceptTypeValid:
 3360|  1.89M|{
 3361|  1.89M|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  1.89M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33, False: 1.89M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3362|     33|        Py_ssize_t i, length;
 3363|     33|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|     33|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|     99|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3364:21): [True: 66, False: 33]
  ------------------
 3365|     66|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|     66|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     66|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3366|     66|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|     66|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    132|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     66|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3367|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3368|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3352|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3353|      0|                         "BaseException is not allowed"
  ------------------
 3369|      0|                return -1;
 3370|      0|            }
 3371|     66|        }
 3372|     33|    }
 3373|  1.89M|    else {
 3374|  1.89M|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  1.89M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  3.79M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 1.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.89M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3376|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3352|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3353|      0|                         "BaseException is not allowed"
  ------------------
 3377|      0|            return -1;
 3378|      0|        }
 3379|  1.89M|    }
 3380|  1.89M|    return 0;
 3381|  1.89M|}
_Py_Check_ArgsIterable:
 3422|    932|{
 3423|    932|    if (Py_TYPE(args)->tp_iter == NULL && !PySequence_Check(args)) {
  ------------------
  |  |  213|    932|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    932|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    932|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3423:9): [True: 0, False: 932]
  |  Branch (3423:43): [True: 0, False: 0]
  ------------------
 3424|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3425|      0|                      "Value after * must be an iterable, not %.200s",
 3426|      0|                      Py_TYPE(args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3427|      0|        return -1;
 3428|      0|    }
 3429|    932|    return 0;
 3430|    932|}
_PyEval_FormatExcCheckArg:
 3469|      2|{
 3470|      2|    const char *obj_str;
 3471|       |
 3472|      2|    if (!obj)
  ------------------
  |  Branch (3472:9): [True: 0, False: 2]
  ------------------
 3473|      0|        return;
 3474|       |
 3475|      2|    obj_str = PyUnicode_AsUTF8(obj);
 3476|      2|    if (!obj_str)
  ------------------
  |  Branch (3476:9): [True: 0, False: 2]
  ------------------
 3477|      0|        return;
 3478|       |
 3479|      2|    _PyErr_Format(tstate, exc, format_str, obj_str);
 3480|       |
 3481|      2|    if (exc == PyExc_NameError) {
  ------------------
  |  Branch (3481:9): [True: 2, False: 0]
  ------------------
 3482|       |        // Include the name in the NameError exceptions to offer suggestions later.
 3483|      2|        PyObject *exc = PyErr_GetRaisedException();
 3484|      2|        if (PyErr_GivenExceptionMatches(exc, PyExc_NameError)) {
  ------------------
  |  Branch (3484:13): [True: 2, False: 0]
  ------------------
 3485|      2|            if (((PyNameErrorObject*)exc)->name == NULL) {
  ------------------
  |  Branch (3485:17): [True: 2, False: 0]
  ------------------
 3486|       |                // We do not care if this fails because we are going to restore the
 3487|       |                // NameError anyway.
 3488|      2|                (void)PyObject_SetAttr(exc, &_Py_ID(name), obj);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|      2|            }
 3490|      2|        }
 3491|      2|        PyErr_SetRaisedException(exc);
 3492|      2|    }
 3493|      2|}
Py_EnterRecursiveCall:
 3566|  26.3k|{
 3567|  26.3k|    return _Py_EnterRecursiveCall(where);
 3568|  26.3k|}
Py_LeaveRecursiveCall:
 3571|  19.0k|{
 3572|  19.0k|    _Py_LeaveRecursiveCall();
 3573|  19.0k|}
_PyEval_LoadGlobalStackRef:
 3616|  40.2k|{
 3617|  40.2k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  80.5k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  40.2k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  80.5k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  40.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  40.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 40.2k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  40.2k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  40.2k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  80.5k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  40.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  40.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 40.2k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3618|  40.2k|        _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3619|  40.2k|                                    (PyDictObject *)builtins,
 3620|  40.2k|                                    name, writeto);
 3621|  40.2k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  80.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  40.2k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  40.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 40.2k]
  |  |  ------------------
  ------------------
  |  Branch (3621:44): [True: 2, False: 0]
  ------------------
 3622|       |            /* _PyDict_LoadGlobal() returns NULL without raising
 3623|       |                * an exception if the key doesn't exist */
 3624|      2|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      2|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3625|      2|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      2|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3626|      2|        }
 3627|  40.2k|    }
 3628|      0|    else {
 3629|       |        /* Slow-path if globals or builtins is not a dict */
 3630|       |        /* namespace 1: globals */
 3631|      0|        PyObject *res;
 3632|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3632:13): [True: 0, False: 0]
  ------------------
 3633|      0|            *writeto = PyStackRef_NULL;
 3634|      0|            return;
 3635|      0|        }
 3636|      0|        if (res == NULL) {
  ------------------
  |  Branch (3636:13): [True: 0, False: 0]
  ------------------
 3637|       |            /* namespace 2: builtins */
 3638|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3638:17): [True: 0, False: 0]
  ------------------
 3639|      0|                *writeto = PyStackRef_NULL;
 3640|      0|                return;
 3641|      0|            }
 3642|      0|            if (res == NULL) {
  ------------------
  |  Branch (3642:17): [True: 0, False: 0]
  ------------------
 3643|      0|                _PyEval_FormatExcCheckArg(
 3644|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3645|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3646|      0|                *writeto = PyStackRef_NULL;
 3647|      0|                return;
 3648|      0|            }
 3649|      0|        }
 3650|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3651|      0|    }
 3652|       |
 3653|  40.2k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3654|  40.2k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  40.2k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  40.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 6, False: 40.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3654:9): [True: 40.2k, False: 2]
  ------------------
 3655|      6|        PyObject *l_v = _PyImport_LoadLazyImportTstate(PyThreadState_GET(), res_o);
  ------------------
  |  |   63|      6|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3656|      6|        PyStackRef_CLOSE(writeto[0]);
 3657|      6|        if (l_v == NULL) {
  ------------------
  |  Branch (3657:13): [True: 0, False: 6]
  ------------------
 3658|      0|            assert(PyErr_Occurred());
 3659|      0|            *writeto = PyStackRef_NULL;
 3660|      0|            return;
 3661|      0|        }
 3662|      6|        int err = PyDict_SetItem(globals, name, l_v);
 3663|      6|        if (err < 0) {
  ------------------
  |  Branch (3663:13): [True: 0, False: 6]
  ------------------
 3664|      0|            Py_DECREF(l_v);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3665|      0|            *writeto = PyStackRef_NULL;
 3666|      0|            return;
 3667|      0|        }
 3668|      6|        *writeto = PyStackRef_FromPyObjectSteal(l_v);
 3669|      6|    }
 3670|  40.2k|}
_PyEval_LoadName:
 3698|  36.0k|{
 3699|       |
 3700|  36.0k|    PyObject *value;
 3701|  36.0k|    if (frame->f_locals == NULL) {
  ------------------
  |  Branch (3701:9): [True: 0, False: 36.0k]
  ------------------
 3702|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3703|      0|                            "no locals found");
 3704|      0|        return NULL;
 3705|      0|    }
 3706|  36.0k|    if (PyMapping_GetOptionalItem(frame->f_locals, name, &value) < 0) {
  ------------------
  |  Branch (3706:9): [True: 0, False: 36.0k]
  ------------------
 3707|      0|        return NULL;
 3708|      0|    }
 3709|  36.0k|    if (value != NULL) {
  ------------------
  |  Branch (3709:9): [True: 28.5k, False: 7.49k]
  ------------------
 3710|  28.5k|        return value;
 3711|  28.5k|    }
 3712|  7.49k|    if (PyDict_GetItemRef(frame->f_globals, name, &value) < 0) {
  ------------------
  |  Branch (3712:9): [True: 0, False: 7.49k]
  ------------------
 3713|      0|        return NULL;
 3714|      0|    }
 3715|  7.49k|    if (value != NULL) {
  ------------------
  |  Branch (3715:9): [True: 3.52k, False: 3.96k]
  ------------------
 3716|  3.52k|        return value;
 3717|  3.52k|    }
 3718|  3.96k|    if (PyMapping_GetOptionalItem(frame->f_builtins, name, &value) < 0) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 3.96k]
  ------------------
 3719|      0|        return NULL;
 3720|      0|    }
 3721|  3.96k|    if (value == NULL) {
  ------------------
  |  Branch (3721:9): [True: 0, False: 3.96k]
  ------------------
 3722|      0|        _PyEval_FormatExcCheckArg(
 3723|      0|                    tstate, PyExc_NameError,
 3724|      0|                    NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3725|      0|    }
 3726|  3.96k|    return value;
 3727|  3.96k|}
_PyForIter_VirtualIteratorNext:
 3730|  1.56M|{
 3731|  1.56M|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3732|  1.56M|    _PyStackRef index = *index_ptr;
 3733|  1.56M|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3733:9): [True: 5.10k, False: 1.55M]
  ------------------
 3734|  5.10k|        intptr_t i = PyStackRef_UntagInt(index);
 3735|  5.10k|        assert(i >= 0);
 3736|  5.10k|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|  5.10k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3737|  5.10k|        i = next_index.index;
 3738|  5.10k|        PyObject *next = next_index.object;
 3739|  5.10k|        if (next == NULL) {
  ------------------
  |  Branch (3739:13): [True: 202, False: 4.90k]
  ------------------
 3740|    202|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3740:20): [True: 0, False: 202]
  ------------------
 3741|    202|        }
 3742|  4.90k|        *index_ptr = PyStackRef_TagInt(i);
 3743|  4.90k|        return PyStackRef_FromPyObjectSteal(next);
 3744|  5.10k|    }
 3745|  1.55M|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|  1.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3746|  1.55M|    if (next == NULL) {
  ------------------
  |  Branch (3746:9): [True: 580k, False: 978k]
  ------------------
 3747|   580k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3747:13): [True: 2, False: 580k]
  ------------------
 3748|      2|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3748:17): [True: 2, False: 0]
  ------------------
 3749|      2|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3750|      2|                _PyErr_Clear(tstate);
 3751|      2|            }
 3752|      0|            else {
 3753|      0|                return PyStackRef_ERROR;
 3754|      0|            }
 3755|      2|        }
 3756|   580k|        return PyStackRef_NULL;
 3757|   580k|    }
 3758|   978k|    return PyStackRef_FromPyObjectSteal(next);
 3759|  1.55M|}
ceval.c:hardware_stack_limits:
  126|      2|{
  127|       |#ifdef WIN32
  128|       |    ULONG_PTR low, high;
  129|       |    GetCurrentThreadStackLimits(&low, &high);
  130|       |    *top = (uintptr_t)high;
  131|       |    ULONG guarantee = 0;
  132|       |    SetThreadStackGuarantee(&guarantee);
  133|       |    *base = (uintptr_t)low + guarantee;
  134|       |#elif defined(__APPLE__)
  135|       |    pthread_t this_thread = pthread_self();
  136|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
  137|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
  138|       |    *top = (uintptr_t)stack_addr;
  139|       |    *base = ((uintptr_t)stack_addr) - stack_size;
  140|       |#else
  141|       |    /// XXX musl supports HAVE_PTHRED_GETATTR_NP, but the resulting stack size
  142|       |    /// (on alpine at least) is much smaller than expected and imposes undue limits
  143|       |    /// compared to the old stack size estimation.  (We assume musl is not glibc.)
  144|      2|#  if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && \
  145|      2|        !defined(__NetBSD__) && (defined(__GLIBC__) || !defined(__linux__))
  146|      2|    size_t stack_size, guard_size;
  147|      2|    void *stack_addr;
  148|      2|    pthread_attr_t attr;
  149|      2|    int err = pthread_getattr_np(pthread_self(), &attr);
  150|      2|    if (err == 0) {
  ------------------
  |  Branch (150:9): [True: 2, False: 0]
  ------------------
  151|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  152|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  153|      2|        err |= pthread_attr_destroy(&attr);
  154|      2|    }
  155|      2|    if (err == 0) {
  ------------------
  |  Branch (155:9): [True: 2, False: 0]
  ------------------
  156|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  157|      2|        *top = (uintptr_t)stack_addr + stack_size;
  158|      2|        return;
  159|      2|    }
  160|      0|#  endif
  161|       |    // Add some space for caller function then round to minimum page size
  162|       |    // This is a guess at the top of the stack, but should be a reasonably
  163|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  164|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  165|      0|#if _Py_STACK_GROWS_DOWN
  166|      0|    uintptr_t top_addr = _Py_SIZE_ROUND_UP(sp + 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  ------------------
  |  |  213|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  167|      0|    *top = top_addr;
  168|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   63|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  169|       |#  else
  170|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  171|       |    *base = base_addr;
  172|       |    *top = base_addr + Py_C_STACK_SIZE;
  173|       |#endif
  174|      0|#endif
  175|      0|}
ceval.c:tstate_set_stack:
  180|      2|{
  181|      2|    assert(base < top);
  182|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  183|       |
  184|       |#ifdef _Py_THREAD_SANITIZER
  185|       |    // Thread sanitizer crashes if we use more than half the stack.
  186|       |    uintptr_t stacksize = top - base;
  187|       |#  if _Py_STACK_GROWS_DOWN
  188|       |    base += stacksize/2;
  189|       |#  else
  190|       |    top -= stacksize/2;
  191|       |#  endif
  192|       |#endif
  193|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  194|      2|#if _Py_STACK_GROWS_DOWN
  195|      2|    _tstate->c_stack_top = top;
  196|      2|    _tstate->c_stack_hard_limit = base + _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   56|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   55|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      2|    _tstate->c_stack_soft_limit = base + _PyOS_STACK_MARGIN_BYTES * 2;
  ------------------
  |  |   56|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   55|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   53|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|       |#  ifndef NDEBUG
  199|       |    // Sanity checks
  200|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  201|       |    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  202|       |    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  203|       |#  endif
  204|       |#else
  205|       |    _tstate->c_stack_top = base;
  206|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  207|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  208|       |#  ifndef NDEBUG
  209|       |    // Sanity checks
  210|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  211|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  212|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  213|       |#  endif
  214|       |#endif
  215|      2|}
ceval.c:clear_thread_frame:
 1942|  56.9M|{
 1943|  56.9M|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
 1944|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 1945|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 1946|  56.9M|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
 1947|  56.9M|        tstate->datastack_top);
 1948|  56.9M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
 1949|  56.9M|    _PyFrame_ClearExceptCode(frame);
 1950|  56.9M|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  56.9M|    do { \
  |  |  733|  56.9M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  56.9M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  56.9M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  56.9M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  56.9M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 56.9M]
  |  |  ------------------
  ------------------
 1951|  56.9M|    _PyThreadState_PopFrame(tstate, frame);
 1952|  56.9M|}
ceval.c:clear_gen_frame:
 1956|  1.55M|{
 1957|  1.55M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
 1958|  1.55M|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 1959|  1.55M|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|  1.55M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 1960|  1.55M|    assert(tstate->exc_info == &gen->gi_exc_state);
 1961|  1.55M|    tstate->exc_info = gen->gi_exc_state.previous_item;
 1962|  1.55M|    gen->gi_exc_state.previous_item = NULL;
 1963|  1.55M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
 1964|  1.55M|    frame->previous = NULL;
 1965|  1.55M|    _PyFrame_ClearExceptCode(frame);
 1966|  1.55M|    _PyErr_ClearExcState(&gen->gi_exc_state);
 1967|       |    // gh-143939: There must not be any escaping calls between setting
 1968|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 1969|  1.55M|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 1970|  1.55M|}
ceval.c:initialize_locals:
 1695|  11.2M|{
 1696|  11.2M|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1697|  11.2M|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1698|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1699|  11.2M|    PyObject *kwdict;
 1700|  11.2M|    Py_ssize_t i;
 1701|  11.2M|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  121|  11.2M|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1701:9): [True: 199k, False: 11.0M]
  ------------------
 1702|   199k|        kwdict = PyDict_New();
 1703|   199k|        if (kwdict == NULL) {
  ------------------
  |  Branch (1703:13): [True: 0, False: 199k]
  ------------------
 1704|      0|            goto fail_pre_positional;
 1705|      0|        }
 1706|   199k|        i = total_args;
 1707|   199k|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  120|   199k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1707:13): [True: 198k, False: 542]
  ------------------
 1708|   198k|            i++;
 1709|   198k|        }
 1710|   199k|        assert(PyStackRef_IsNull(localsplus[i]));
 1711|   199k|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1712|   199k|    }
 1713|  11.0M|    else {
 1714|  11.0M|        kwdict = NULL;
 1715|  11.0M|    }
 1716|       |
 1717|       |    /* Copy all positional arguments into local variables */
 1718|  11.2M|    Py_ssize_t j, n;
 1719|  11.2M|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1719:9): [True: 236k, False: 10.9M]
  ------------------
 1720|   236k|        n = co->co_argcount;
 1721|   236k|    }
 1722|  10.9M|    else {
 1723|  10.9M|        n = argcount;
 1724|  10.9M|    }
 1725|  33.0M|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1725:17): [True: 21.8M, False: 11.2M]
  ------------------
 1726|  21.8M|        assert(PyStackRef_IsNull(localsplus[j]));
 1727|  21.8M|        localsplus[j] = args[j];
 1728|  21.8M|    }
 1729|       |
 1730|       |    /* Pack other positional arguments into the *args argument */
 1731|  11.2M|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  120|  11.2M|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1731:9): [True: 315k, False: 10.9M]
  ------------------
 1732|   315k|        PyObject *u = NULL;
 1733|   315k|        if (argcount == n) {
  ------------------
  |  Branch (1733:13): [True: 78.6k, False: 236k]
  ------------------
 1734|  78.6k|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  78.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  78.6k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1735|  78.6k|        }
 1736|   236k|        else {
 1737|   236k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1738|   236k|            if (u == NULL) {
  ------------------
  |  Branch (1738:17): [True: 0, False: 236k]
  ------------------
 1739|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1739:40): [True: 0, False: 0]
  ------------------
 1740|      0|                    PyStackRef_CLOSE(args[i]);
 1741|      0|                }
 1742|      0|            }
 1743|   236k|        }
 1744|   315k|        if (u == NULL) {
  ------------------
  |  Branch (1744:13): [True: 0, False: 315k]
  ------------------
 1745|      0|            goto fail_post_positional;
 1746|      0|        }
 1747|   315k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
 1748|   315k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1749|   315k|    }
 1750|  10.9M|    else if (argcount > n) {
  ------------------
  |  Branch (1750:14): [True: 0, False: 10.9M]
  ------------------
 1751|       |        /* Too many positional args. Error is reported later */
 1752|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1752:21): [True: 0, False: 0]
  ------------------
 1753|      0|            PyStackRef_CLOSE(args[j]);
 1754|      0|        }
 1755|      0|    }
 1756|       |
 1757|       |    /* Handle keyword arguments */
 1758|  11.2M|    if (kwnames != NULL) {
  ------------------
  |  Branch (1758:9): [True: 5.24M, False: 5.97M]
  ------------------
 1759|  5.24M|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  5.24M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|  14.9M|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1760:21): [True: 9.68M, False: 5.24M]
  ------------------
 1761|  9.68M|            PyObject **co_varnames;
 1762|  9.68M|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  9.68M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  9.68M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|  9.68M|            _PyStackRef value_stackref = args[i+argcount];
 1764|  9.68M|            Py_ssize_t j;
 1765|       |
 1766|  9.68M|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|  9.68M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.68M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1766:17): [True: 0, False: 9.68M]
  |  Branch (1766:36): [True: 0, False: 9.68M]
  ------------------
 1767|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1768|      0|                            "%U() keywords must be strings",
 1769|      0|                          func->func_qualname);
 1770|      0|                goto kw_fail;
 1771|      0|            }
 1772|       |
 1773|       |            /* Speed hack: do raw pointer compares. As names are
 1774|       |            normally interned this should almost always hit. */
 1775|  9.68M|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1776|  33.8M|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1776:46): [True: 33.7M, False: 85.9k]
  ------------------
 1777|  33.7M|                PyObject *varname = co_varnames[j];
 1778|  33.7M|                if (varname == keyword) {
  ------------------
  |  Branch (1778:21): [True: 9.59M, False: 24.1M]
  ------------------
 1779|  9.59M|                    goto kw_found;
 1780|  9.59M|                }
 1781|  33.7M|            }
 1782|       |
 1783|       |            /* Slow fallback, just in case */
 1784|  86.2k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1784:46): [True: 354, False: 85.9k]
  ------------------
 1785|    354|                PyObject *varname = co_varnames[j];
 1786|    354|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|    354|#define Py_EQ 2
  ------------------
 1787|    354|                if (cmp > 0) {
  ------------------
  |  Branch (1787:21): [True: 44, False: 310]
  ------------------
 1788|     44|                    goto kw_found;
 1789|     44|                }
 1790|    310|                else if (cmp < 0) {
  ------------------
  |  Branch (1790:26): [True: 0, False: 310]
  ------------------
 1791|      0|                    goto kw_fail;
 1792|      0|                }
 1793|    354|            }
 1794|       |
 1795|  85.9k|            assert(j >= total_args);
 1796|  85.9k|            if (kwdict == NULL) {
  ------------------
  |  Branch (1796:17): [True: 0, False: 85.9k]
  ------------------
 1797|       |
 1798|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1798:21): [True: 0, False: 0]
  ------------------
 1799|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1799:24): [True: 0, False: 0]
  ------------------
 1800|      0|                                                        kwcount, kwnames,
 1801|      0|                                                        func->func_qualname))
 1802|      0|                {
 1803|      0|                    goto kw_fail;
 1804|      0|                }
 1805|       |
 1806|      0|                PyObject* suggestion_keyword = NULL;
 1807|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1807:21): [True: 0, False: 0]
  ------------------
 1808|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1809|       |
 1810|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1810:25): [True: 0, False: 0]
  ------------------
 1811|      0|                        PyErr_Clear();
 1812|      0|                    } else {
 1813|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1813:69): [True: 0, False: 0]
  ------------------
 1814|      0|                            PyList_SET_ITEM(possible_keywords, k - co->co_posonlyargcount, co_varnames[k]);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|      0|                        }
 1816|       |
 1817|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1818|      0|                        Py_DECREF(possible_keywords);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1819|      0|                    }
 1820|      0|                }
 1821|       |
 1822|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1822:21): [True: 0, False: 0]
  ------------------
 1823|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1824|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1825|      0|                                func->func_qualname, keyword, suggestion_keyword);
 1826|      0|                    Py_DECREF(suggestion_keyword);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1827|      0|                } else {
 1828|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1829|      0|                                "%U() got an unexpected keyword argument '%S'",
 1830|      0|                                func->func_qualname, keyword);
 1831|      0|                }
 1832|       |
 1833|      0|                goto kw_fail;
 1834|      0|            }
 1835|       |
 1836|  85.9k|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1836:17): [True: 0, False: 85.9k]
  ------------------
 1837|      0|                goto kw_fail;
 1838|      0|            }
 1839|  85.9k|            PyStackRef_CLOSE(value_stackref);
 1840|  85.9k|            continue;
 1841|       |
 1842|      0|        kw_fail:
 1843|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1843:19): [True: 0, False: 0]
  ------------------
 1844|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1845|      0|            }
 1846|      0|            goto fail_post_args;
 1847|       |
 1848|  9.59M|        kw_found:
 1849|  9.59M|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1849:17): [True: 0, False: 9.59M]
  ------------------
 1850|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1851|      0|                            "%U() got multiple values for argument '%S'",
 1852|      0|                          func->func_qualname, keyword);
 1853|      0|                goto kw_fail;
 1854|      0|            }
 1855|  9.59M|            localsplus[j] = value_stackref;
 1856|  9.59M|        }
 1857|  5.24M|    }
 1858|       |
 1859|       |    /* Check the number of positional arguments */
 1860|  11.2M|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  120|   236k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1860:9): [True: 236k, False: 10.9M]
  |  Branch (1860:41): [True: 0, False: 236k]
  ------------------
 1861|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1862|      0|                            func->func_qualname);
 1863|      0|        goto fail_post_args;
 1864|      0|    }
 1865|       |
 1866|       |    /* Add missing positional arguments (copy default values from defs) */
 1867|  11.2M|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1867:9): [True: 2.39M, False: 8.82M]
  ------------------
 1868|  2.39M|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|  2.04M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1868:31): [True: 352k, False: 2.04M]
  ------------------
 1869|  2.39M|        Py_ssize_t m = co->co_argcount - defcount;
 1870|  2.39M|        Py_ssize_t missing = 0;
 1871|  3.50M|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1871:28): [True: 1.10M, False: 2.39M]
  ------------------
 1872|  1.10M|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  482|  1.10M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.10M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.10M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 1.10M]
  |  |  ------------------
  ------------------
 1873|      0|                missing++;
 1874|      0|            }
 1875|  1.10M|        }
 1876|  2.39M|        if (missing) {
  ------------------
  |  Branch (1876:13): [True: 0, False: 2.39M]
  ------------------
 1877|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1878|      0|                              func->func_qualname);
 1879|      0|            goto fail_post_args;
 1880|      0|        }
 1881|  2.39M|        if (n > m)
  ------------------
  |  Branch (1881:13): [True: 13.6k, False: 2.38M]
  ------------------
 1882|  13.6k|            i = n - m;
 1883|  2.38M|        else
 1884|  2.38M|            i = 0;
 1885|  2.39M|        if (defcount) {
  ------------------
  |  Branch (1885:13): [True: 2.04M, False: 352k]
  ------------------
 1886|  2.04M|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|  2.04M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1887|  4.70M|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1887:20): [True: 2.65M, False: 2.04M]
  ------------------
 1888|  2.65M|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1888:21): [True: 738k, False: 1.91M]
  ------------------
 1889|   738k|                    PyObject *def = defs[i];
 1890|   738k|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|   738k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   738k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   738k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1891|   738k|                }
 1892|  2.65M|            }
 1893|  2.04M|        }
 1894|  2.39M|    }
 1895|       |
 1896|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1897|  11.2M|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1897:9): [True: 4.99M, False: 6.22M]
  ------------------
 1898|  4.99M|        Py_ssize_t missing = 0;
 1899|  15.0M|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1899:35): [True: 10.0M, False: 4.99M]
  ------------------
 1900|  10.0M|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1900:17): [True: 6.57M, False: 3.45M]
  ------------------
 1901|  6.57M|                continue;
 1902|  3.45M|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  3.45M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.45M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1903|  3.45M|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1903:17): [True: 3.45M, False: 0]
  ------------------
 1904|  3.45M|                PyObject *def;
 1905|  3.45M|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1905:21): [True: 0, False: 3.45M]
  ------------------
 1906|      0|                    goto fail_post_args;
 1907|      0|                }
 1908|  3.45M|                if (def) {
  ------------------
  |  Branch (1908:21): [True: 3.45M, False: 0]
  ------------------
 1909|  3.45M|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1910|  3.45M|                    continue;
 1911|  3.45M|                }
 1912|  3.45M|            }
 1913|      0|            missing++;
 1914|      0|        }
 1915|  4.99M|        if (missing) {
  ------------------
  |  Branch (1915:13): [True: 0, False: 4.99M]
  ------------------
 1916|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1917|      0|                              func->func_qualname);
 1918|      0|            goto fail_post_args;
 1919|      0|        }
 1920|  4.99M|    }
 1921|  11.2M|    return 0;
 1922|       |
 1923|      0|fail_pre_positional:
 1924|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1924:17): [True: 0, False: 0]
  ------------------
 1925|      0|        PyStackRef_CLOSE(args[j]);
 1926|      0|    }
 1927|       |    /* fall through */
 1928|      0|fail_post_positional:
 1929|      0|    if (kwnames) {
  ------------------
  |  Branch (1929:9): [True: 0, False: 0]
  ------------------
 1930|      0|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1931:28): [True: 0, False: 0]
  ------------------
 1932|      0|            PyStackRef_CLOSE(args[j]);
 1933|      0|        }
 1934|      0|    }
 1935|       |    /* fall through */
 1936|      0|fail_post_args:
 1937|      0|    return -1;
 1938|      0|}
ceval.c:_PyEval_GetGlobals:
 2706|  1.13k|{
 2707|  1.13k|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2708|  1.13k|    if (current_frame == NULL) {
  ------------------
  |  Branch (2708:9): [True: 16, False: 1.12k]
  ------------------
 2709|     16|        return NULL;
 2710|     16|    }
 2711|  1.12k|    return current_frame->f_globals;
 2712|  1.13k|}
ceval.c:get_globals_builtins:
 2739|    753|{
 2740|    753|    PyObject *builtins = NULL;
 2741|    753|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    753|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    753|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.50k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 753, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2742|    753|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  919|    753|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    753|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    753|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2742:13): [True: 0, False: 753]
  ------------------
 2743|      0|            return NULL;
 2744|      0|        }
 2745|    753|    }
 2746|      0|    else {
 2747|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2747:13): [True: 0, False: 0]
  ------------------
 2748|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|      0|        {
 2750|      0|            return NULL;
 2751|      0|        }
 2752|      0|    }
 2753|    753|    return builtins;
 2754|    753|}
ceval.c:set_globals_builtins:
 2758|    645|{
 2759|    645|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|    645|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    645|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 645, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2760|    645|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  919|    645|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    645|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    645|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2760:13): [True: 0, False: 645]
  ------------------
 2761|      0|            return -1;
 2762|      0|        }
 2763|    645|    }
 2764|      0|    else {
 2765|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2765:13): [True: 0, False: 0]
  ------------------
 2766|      0|            if (PyFrozenDict_Check(globals)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|      0|                PyErr_SetString(PyExc_TypeError,
 2768|      0|                                "cannot assign __builtins__ to frozendict globals");
 2769|      0|            }
 2770|      0|            return -1;
 2771|      0|        }
 2772|      0|    }
 2773|    645|    return 0;
 2774|    645|}
ceval.c:is_lazy_import_module_level:
 3050|  3.51k|{
 3051|  3.51k|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3052|  3.51k|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3052:12): [True: 3.51k, False: 0]
  |  Branch (3052:29): [True: 3.51k, False: 0]
  ------------------
 3053|  3.51k|}
ceval.c:check_lazy_import_compatibility:
 3013|  3.51k|{
 3014|       |     // Check if this module should be imported lazily due to
 3015|       |     // the compatibility mode support via __lazy_modules__.
 3016|  3.51k|    PyObject *lazy_modules = NULL;
 3017|  3.51k|    PyObject *abs_name = NULL;
 3018|  3.51k|    int res = -1;
 3019|       |
 3020|  3.51k|    if (globals != NULL &&
  ------------------
  |  Branch (3020:9): [True: 3.51k, False: 0]
  ------------------
 3021|  3.51k|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  919|  3.51k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.51k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.51k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3021:9): [True: 0, False: 3.51k]
  ------------------
 3022|  3.51k|                                  &lazy_modules) < 0)
 3023|      0|    {
 3024|      0|        return -1;
 3025|      0|    }
 3026|  3.51k|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3026:9): [True: 3.51k, False: 0]
  ------------------
 3027|  3.51k|        assert(!PyErr_Occurred());
 3028|  3.51k|        return 0;
 3029|  3.51k|    }
 3030|       |
 3031|      0|    int ilevel = PyLong_AsInt(level);
 3032|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3032:9): [True: 0, False: 0]
  |  Branch (3032:25): [True: 0, False: 0]
  ------------------
 3033|      0|        goto error;
 3034|      0|    }
 3035|       |
 3036|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3037|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3037:9): [True: 0, False: 0]
  ------------------
 3038|      0|        goto error;
 3039|      0|    }
 3040|       |
 3041|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3042|      0|error:
 3043|      0|    Py_XDECREF(abs_name);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3044|       |    Py_XDECREF(lazy_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3045|      0|    return res;
 3046|      0|}

ceval.c:check_invalid_reentrancy:
  142|  5.46M|{
  143|       |#if defined(Py_DEBUG) && defined(Py_GIL_DISABLED)
  144|       |    // In the free-threaded build, the interpreter must not be re-entered if
  145|       |    // the world-is-stopped.  If so, that's a bug somewhere (quite likely in
  146|       |    // the painfully complex typeobject code).
  147|       |    PyInterpreterState *interp = _PyInterpreterState_GET();
  148|       |    assert(!interp->stoptheworld.world_stopped);
  149|       |#endif
  150|  5.46M|}
ceval.c:monitor_throw:
  395|  23.5k|{
  396|  23.5k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_THROW)) {
  ------------------
  |  |   35|  23.5k|#define PY_MONITORING_EVENT_PY_THROW 14
  ------------------
  |  Branch (396:9): [True: 23.5k, False: 0]
  ------------------
  397|  23.5k|        return;
  398|  23.5k|    }
  399|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_THROW);
  ------------------
  |  |   35|      0|#define PY_MONITORING_EVENT_PY_THROW 14
  ------------------
  400|      0|}
ceval.c:monitor_reraise:
  405|   538k|{
  406|   538k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|   538k|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (406:9): [True: 538k, False: 0]
  ------------------
  407|   538k|        return;
  408|   538k|    }
  409|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RERAISE);
  ------------------
  |  |   36|      0|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  410|      0|}
ceval.c:do_raise:
  518|  4.79k|{
  519|  4.79k|    PyObject *type = NULL, *value = NULL;
  520|       |
  521|  4.79k|    if (exc == NULL) {
  ------------------
  |  Branch (521:9): [True: 10, False: 4.78k]
  ------------------
  522|       |        /* Reraise */
  523|     10|        _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate);
  524|     10|        exc = exc_info->exc_value;
  525|     10|        if (Py_IsNone(exc) || exc == NULL) {
  ------------------
  |  |  621|     10|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     20|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (525:31): [True: 0, False: 10]
  ------------------
  526|      0|            _PyErr_SetString(tstate, PyExc_RuntimeError,
  527|      0|                             "No active exception to reraise");
  528|      0|            return 0;
  529|      0|        }
  530|     10|        Py_INCREF(exc);
  ------------------
  |  |  310|     10|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|     10|        assert(PyExceptionInstance_Check(exc));
  532|     10|        _PyErr_SetRaisedException(tstate, exc);
  533|     10|        return 1;
  534|     10|    }
  535|       |
  536|       |    /* We support the following forms of raise:
  537|       |       raise
  538|       |       raise <instance>
  539|       |       raise <type> */
  540|       |
  541|  4.78k|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  4.78k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  9.57k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 30, False: 4.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  4.78k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|     30|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|     30|        type = exc;
  543|     30|        value = _PyObject_CallNoArgs(exc);
  544|     30|        if (value == NULL)
  ------------------
  |  Branch (544:13): [True: 0, False: 30]
  ------------------
  545|      0|            goto raise_error;
  546|     30|        if (!PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|     30|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     30|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:13): [True: 0, False: 30]
  ------------------
  547|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  548|      0|                          "calling %R should have returned an instance of "
  549|      0|                          "BaseException, not %R",
  550|      0|                          type, Py_TYPE(value));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      0|             goto raise_error;
  552|      0|        }
  553|     30|    }
  554|  4.75k|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  4.75k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.75k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|  4.75k|        value = exc;
  556|  4.75k|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|  4.75k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  4.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  4.75k|        Py_INCREF(type);
  ------------------
  |  |  310|  4.75k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  4.75k|    }
  559|      0|    else {
  560|       |        /* Not something you can raise.  You get an exception
  561|       |           anyway, just not what you specified :-) */
  562|      0|        Py_DECREF(exc);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  563|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
  564|      0|                         "exceptions must derive from BaseException");
  565|      0|        goto raise_error;
  566|      0|    }
  567|       |
  568|  4.78k|    assert(type != NULL);
  569|  4.78k|    assert(value != NULL);
  570|       |
  571|  4.78k|    if (cause) {
  ------------------
  |  Branch (571:9): [True: 66, False: 4.72k]
  ------------------
  572|     66|        PyObject *fixed_cause;
  573|     66|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|     66|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    132|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     66|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|      0|            fixed_cause = _PyObject_CallNoArgs(cause);
  575|      0|            if (fixed_cause == NULL)
  ------------------
  |  Branch (575:17): [True: 0, False: 0]
  ------------------
  576|      0|                goto raise_error;
  577|      0|            if (!PyExceptionInstance_Check(fixed_cause)) {
  ------------------
  |  |   65|      0|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (577:17): [True: 0, False: 0]
  ------------------
  578|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  579|      0|                              "calling %R should have returned an instance of "
  580|      0|                              "BaseException, not %R",
  581|      0|                              cause, Py_TYPE(fixed_cause));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|                Py_DECREF(fixed_cause);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  583|      0|                goto raise_error;
  584|      0|            }
  585|      0|            Py_DECREF(cause);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  586|      0|        }
  587|     66|        else if (PyExceptionInstance_Check(cause)) {
  ------------------
  |  |   65|     66|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            fixed_cause = cause;
  589|      0|        }
  590|     66|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  621|     66|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     66|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|     66|            Py_DECREF(cause);
  ------------------
  |  |   80|     66|    do { \
  |  |   81|     66|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     66|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|     66|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|     66|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|     66|            break; \
  |  |   85|     66|        } \
  |  |   86|     66|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  592|     66|            fixed_cause = NULL;
  593|     66|        }
  594|      0|        else {
  595|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
  596|      0|                             "exception causes must derive from "
  597|      0|                             "BaseException");
  598|      0|            goto raise_error;
  599|      0|        }
  600|     66|        PyException_SetCause(value, fixed_cause);
  601|     66|    }
  602|       |
  603|  4.78k|    _PyErr_SetObject(tstate, type, value);
  604|       |    /* _PyErr_SetObject incref's its arguments */
  605|  4.78k|    Py_DECREF(value);
  ------------------
  |  |   80|  4.78k|    do { \
  |  |   81|  4.78k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  4.78k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  4.78k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 4.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  4.78k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  4.78k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  4.78k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 4.78k]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|  4.78k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 4.78k]
  |  |  ------------------
  ------------------
  606|  4.78k|    Py_DECREF(type);
  ------------------
  |  |   80|  4.78k|    do { \
  |  |   81|  4.78k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  4.78k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  4.78k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 825, False: 3.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    825|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|    825|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|    825|            break; \
  |  |   85|    825|        } \
  |  |   86|  4.78k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  3.96k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  3.96k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 3.96k]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|      0|    do { \
  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|  3.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 3.96k]
  |  |  ------------------
  ------------------
  607|  4.78k|    return 0;
  608|       |
  609|      0|raise_error:
  610|      0|    Py_XDECREF(value);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  611|      0|    Py_XDECREF(type);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  612|       |    Py_XDECREF(cause);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|    do { \
  |  |  |  |  |  |  113|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  613|      0|    return 0;
  614|  4.78k|}
ceval.c:get_exception_handler:
  459|  3.36M|{
  460|  3.36M|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|  3.36M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  3.36M|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|  3.36M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|       |    /* Invariants:
  463|       |     * start_table == end_table OR
  464|       |     * start_table points to a legal entry and end_table points
  465|       |     * beyond the table or to a legal entry that is after index.
  466|       |     */
  467|  3.36M|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  455|  3.36M|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (467:9): [True: 446k, False: 2.91M]
  ------------------
  468|   446k|        int offset;
  469|   446k|        parse_varint(start, &offset);
  470|   446k|        if (offset > index) {
  ------------------
  |  Branch (470:13): [True: 3.88k, False: 442k]
  ------------------
  471|  3.88k|            return 0;
  472|  3.88k|        }
  473|   848k|        do {
  474|   848k|            unsigned char * mid = start + ((end-start)>>1);
  475|   848k|            mid = scan_back_to_entry_start(mid);
  476|   848k|            parse_varint(mid, &offset);
  477|   848k|            if (offset > index) {
  ------------------
  |  Branch (477:17): [True: 637k, False: 211k]
  ------------------
  478|   637k|                end = mid;
  479|   637k|            }
  480|   211k|            else {
  481|   211k|                start = mid;
  482|   211k|            }
  483|       |
  484|   848k|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  455|   848k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (484:18): [True: 406k, False: 442k]
  ------------------
  485|   442k|    }
  486|  3.35M|    unsigned char *scan = start;
  487|  6.43M|    while (scan < end) {
  ------------------
  |  Branch (487:12): [True: 5.45M, False: 976k]
  ------------------
  488|  5.45M|        int start_offset, size;
  489|  5.45M|        scan = parse_varint(scan, &start_offset);
  490|  5.45M|        if (start_offset > index) {
  ------------------
  |  Branch (490:13): [True: 227, False: 5.45M]
  ------------------
  491|    227|            break;
  492|    227|        }
  493|  5.45M|        scan = parse_varint(scan, &size);
  494|  5.45M|        if (start_offset + size > index) {
  ------------------
  |  Branch (494:13): [True: 2.37M, False: 3.07M]
  ------------------
  495|  2.37M|            scan = parse_varint(scan, handler);
  496|  2.37M|            int depth_and_lasti;
  497|  2.37M|            parse_varint(scan, &depth_and_lasti);
  498|  2.37M|            *level = depth_and_lasti >> 1;
  499|  2.37M|            *lasti = depth_and_lasti & 1;
  500|  2.37M|            return 1;
  501|  2.37M|        }
  502|  3.07M|        scan = skip_to_next_entry(scan, end);
  503|  3.07M|    }
  504|   976k|    return 0;
  505|  3.35M|}
ceval.c:scan_back_to_entry_start:
  441|   848k|scan_back_to_entry_start(unsigned char *p) {
  442|  3.31M|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (442:12): [True: 2.46M, False: 848k]
  ------------------
  443|   848k|    return p;
  444|   848k|}
ceval.c:skip_to_next_entry:
  447|  3.07M|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  448|  9.97M|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (448:12): [True: 9.54M, False: 424k]
  |  Branch (448:23): [True: 6.89M, False: 2.65M]
  ------------------
  449|  6.89M|        p++;
  450|  6.89M|    }
  451|  3.07M|    return p;
  452|  3.07M|}
ceval.c:monitor_unwind:
  433|   980k|{
  434|   980k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|   980k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (434:9): [True: 980k, False: 0]
  ------------------
  435|   980k|        return;
  436|   980k|    }
  437|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      0|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  438|      0|}
ceval.c:monitor_handled:
  384|  2.37M|{
  385|  2.37M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|  2.37M|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (385:9): [True: 2.37M, False: 0]
  ------------------
  386|  2.37M|        return 0;
  387|  2.37M|    }
  388|      0|    return _Py_call_instrumentation_arg(tstate, PY_MONITORING_EVENT_EXCEPTION_HANDLED, frame, instr, exc);
  ------------------
  |  |   33|      0|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  389|  2.37M|}
ceval.c:no_tools_for_local_event:
  369|  6.74M|{
  370|  6.74M|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  371|  6.74M|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  372|  6.74M|    if (data) {
  ------------------
  |  Branch (372:9): [True: 0, False: 6.74M]
  ------------------
  373|      0|        return data->active_monitors.tools[event] == 0;
  374|      0|    }
  375|  6.74M|    else {
  376|  6.74M|        return no_tools_for_global_event(tstate, event);
  377|  6.74M|    }
  378|  6.74M|}
ceval.c:no_tools_for_global_event:
  363|  6.74M|{
  364|  6.74M|    return tstate->interp->monitors.tools[event] == 0;
  365|  6.74M|}

_PyEval_InitGIL:
  504|      2|{
  505|      2|    assert(tstate->interp->ceval.gil == NULL);
  506|      2|    if (!own_gil) {
  ------------------
  |  Branch (506:9): [True: 0, False: 2]
  ------------------
  507|       |        /* The interpreter will share the main interpreter's instead. */
  508|      0|        PyInterpreterState *main_interp = _PyInterpreterState_Main();
  509|      0|        assert(tstate->interp != main_interp);
  510|      0|        struct _gil_runtime_state *gil = main_interp->ceval.gil;
  511|      0|        init_shared_gil(tstate->interp, gil);
  512|      0|        assert(!current_thread_holds_gil(gil, tstate));
  513|      0|    }
  514|      2|    else {
  515|      2|        PyThread_init_thread();
  516|      2|        init_own_gil(tstate->interp, &tstate->interp->_gil);
  517|      2|    }
  518|       |
  519|       |    // Lock the GIL and mark the current thread as attached.
  520|      2|    _PyThreadState_Attach(tstate);
  521|      2|}
_PyEval_FiniGIL:
  525|      2|{
  526|      2|    struct _gil_runtime_state *gil = interp->ceval.gil;
  527|      2|    if (gil == NULL) {
  ------------------
  |  Branch (527:9): [True: 2, False: 0]
  ------------------
  528|       |        /* It was already finalized (or hasn't been initialized yet). */
  529|      2|        assert(!interp->ceval.own_gil);
  530|      2|        return;
  531|      2|    }
  532|      0|    else if (!interp->ceval.own_gil) {
  ------------------
  |  Branch (532:14): [True: 0, False: 0]
  ------------------
  533|       |#ifdef Py_DEBUG
  534|       |        PyInterpreterState *main_interp = _PyInterpreterState_Main();
  535|       |        assert(main_interp != NULL && interp != main_interp);
  536|       |        assert(interp->ceval.gil == main_interp->ceval.gil);
  537|       |#endif
  538|      0|        interp->ceval.gil = NULL;
  539|      0|        return;
  540|      0|    }
  541|       |
  542|      0|    if (!gil_created(gil)) {
  ------------------
  |  Branch (542:9): [True: 0, False: 0]
  ------------------
  543|       |        /* First Py_InitializeFromConfig() call: the GIL doesn't exist
  544|       |           yet: do nothing. */
  545|      0|        return;
  546|      0|    }
  547|       |
  548|      0|    destroy_gil(gil);
  549|      0|    assert(!gil_created(gil));
  550|       |    interp->ceval.gil = NULL;
  551|      0|}
_PyEval_AcquireLock:
  590|  67.9k|{
  591|  67.9k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  67.9k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  592|  67.9k|    take_gil(tstate);
  593|  67.9k|}
_PyEval_ReleaseLock:
  599|  67.9k|{
  600|  67.9k|    assert(tstate != NULL);
  601|       |    assert(tstate->interp == interp);
  602|  67.9k|    drop_gil(interp, tstate, final_release);
  603|  67.9k|}
PyEval_SaveThread:
  644|  67.9k|{
  645|  67.9k|    PyThreadState *tstate = _PyThreadState_GET();
  646|  67.9k|    _PyThreadState_Detach(tstate);
  647|  67.9k|    return tstate;
  648|  67.9k|}
PyEval_RestoreThread:
  652|  67.9k|{
  653|       |#ifdef MS_WINDOWS
  654|       |    int err = GetLastError();
  655|       |#endif
  656|       |
  657|  67.9k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  67.9k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  658|  67.9k|    _PyThreadState_Attach(tstate);
  659|       |
  660|       |#ifdef MS_WINDOWS
  661|       |    SetLastError(err);
  662|       |#endif
  663|  67.9k|}
_PyEval_InitState:
 1075|      2|{
 1076|      2|    _gil_initialize(&interp->_gil);
 1077|      2|}
_PyRunRemoteDebugger:
 1259|   378k|{
 1260|   378k|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 1261|   378k|    if (config->remote_debug == 1
  ------------------
  |  Branch (1261:9): [True: 378k, False: 0]
  ------------------
 1262|   378k|         && tstate->remote_debugger_support.debugger_pending_call == 1)
  ------------------
  |  Branch (1262:13): [True: 0, False: 378k]
  ------------------
 1263|      0|    {
 1264|      0|        tstate->remote_debugger_support.debugger_pending_call = 0;
 1265|       |
 1266|       |        // Immediately make a copy in case of a race with another debugger
 1267|       |        // process that's trying to write to the buffer. At least this way
 1268|       |        // we'll be internally consistent: what we audit is what we run.
 1269|      0|        const size_t pathsz
 1270|      0|            = sizeof(tstate->remote_debugger_support.debugger_script_path);
 1271|       |
 1272|      0|        char *path = PyMem_Malloc(pathsz);
 1273|      0|        if (path) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 0]
  ------------------
 1274|       |            // And don't assume the debugger correctly null terminated it.
 1275|      0|            memcpy(
 1276|      0|                path,
 1277|      0|                tstate->remote_debugger_support.debugger_script_path,
 1278|      0|                pathsz);
 1279|      0|            path[pathsz - 1] = '\0';
 1280|      0|            if (*path) {
  ------------------
  |  Branch (1280:17): [True: 0, False: 0]
  ------------------
 1281|      0|                PyObject *path_obj = PyUnicode_DecodeFSDefault(path);
 1282|      0|                if (path_obj == NULL) {
  ------------------
  |  Branch (1282:21): [True: 0, False: 0]
  ------------------
 1283|      0|                    PyErr_FormatUnraisable("Can't decode debugger script");
 1284|      0|                }
 1285|      0|                else {
 1286|      0|                    run_remote_debugger_script(path_obj);
 1287|      0|                    Py_DECREF(path_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|      0|                }
 1289|      0|            }
 1290|      0|            PyMem_Free(path);
 1291|      0|        }
 1292|      0|    }
 1293|   378k|    return 0;
 1294|   378k|}
_Py_HandlePending:
 1358|  2.71k|{
 1359|  2.71k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1360|       |
 1361|       |    /* Stop-the-world */
 1362|  2.71k|    if ((breaker & _PY_EVAL_PLEASE_STOP_BIT) != 0) {
  ------------------
  |  |  349|  2.71k|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
  |  Branch (1362:9): [True: 0, False: 2.71k]
  ------------------
 1363|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_PLEASE_STOP_BIT);
  ------------------
  |  |  349|      0|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
 1364|      0|        _PyThreadState_Suspend(tstate);
 1365|       |
 1366|       |        /* The attach blocks until the stop-the-world event is complete. */
 1367|      0|        _PyThreadState_Attach(tstate);
 1368|      0|    }
 1369|       |
 1370|       |    /* Pending signals */
 1371|  2.71k|    if ((breaker & _PY_SIGNALS_PENDING_BIT) != 0) {
  ------------------
  |  |  345|  2.71k|#define _PY_SIGNALS_PENDING_BIT (1U << 1)
  ------------------
  |  Branch (1371:9): [True: 0, False: 2.71k]
  ------------------
 1372|      0|        if (handle_signals(tstate) != 0) {
  ------------------
  |  Branch (1372:13): [True: 0, False: 0]
  ------------------
 1373|      0|            return -1;
 1374|      0|        }
 1375|      0|    }
 1376|       |
 1377|       |    /* Pending calls */
 1378|  2.71k|    if ((breaker & _PY_CALLS_TO_DO_BIT) != 0) {
  ------------------
  |  |  346|  2.71k|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
  |  Branch (1378:9): [True: 0, False: 2.71k]
  ------------------
 1379|      0|        if (make_pending_calls(tstate) != 0) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 0]
  ------------------
 1380|      0|            return -1;
 1381|      0|        }
 1382|      0|    }
 1383|       |
 1384|       |#ifdef Py_GIL_DISABLED
 1385|       |    /* Objects with refcounts to merge */
 1386|       |    if ((breaker & _PY_EVAL_EXPLICIT_MERGE_BIT) != 0) {
 1387|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_EXPLICIT_MERGE_BIT);
 1388|       |        _Py_brc_merge_refcounts(tstate);
 1389|       |    }
 1390|       |    /* Process deferred memory frees held by QSBR */
 1391|       |    if (_Py_qsbr_should_process(((_PyThreadStateImpl *)tstate)->qsbr)) {
 1392|       |        _PyMem_ProcessDelayed(tstate);
 1393|       |    }
 1394|       |#endif
 1395|       |
 1396|       |    /* GC scheduled to run */
 1397|  2.71k|    if ((breaker & _PY_GC_SCHEDULED_BIT) != 0) {
  ------------------
  |  |  348|  2.71k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1397:9): [True: 2.71k, False: 0]
  ------------------
 1398|  2.71k|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  348|  2.71k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1399|  2.71k|        _Py_RunGC(tstate);
 1400|       |#ifdef _Py_TIER2
 1401|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1402|       |#endif
 1403|  2.71k|    }
 1404|       |
 1405|       |#ifdef _Py_TIER2
 1406|       |    if ((breaker & _PY_EVAL_JIT_INVALIDATE_COLD_BIT) != 0) {
 1407|       |        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_JIT_INVALIDATE_COLD_BIT);
 1408|       |        _Py_Executors_InvalidateCold(tstate->interp);
 1409|       |        tstate->interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
 1410|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1411|       |    }
 1412|       |#endif
 1413|       |
 1414|       |    /* GIL drop request */
 1415|  2.71k|    if ((breaker & _PY_GIL_DROP_REQUEST_BIT) != 0) {
  ------------------
  |  |  344|  2.71k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (1415:9): [True: 0, False: 2.71k]
  ------------------
 1416|       |        /* Give another thread a chance */
 1417|      0|        _PyThreadState_Detach(tstate);
 1418|       |
 1419|       |        /* Other threads may run now */
 1420|       |
 1421|      0|        _PyThreadState_Attach(tstate);
 1422|      0|    }
 1423|       |
 1424|       |    /* Check for asynchronous exception. */
 1425|  2.71k|    if ((breaker & _PY_ASYNC_EXCEPTION_BIT) != 0) {
  ------------------
  |  |  347|  2.71k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1425:9): [True: 0, False: 2.71k]
  ------------------
 1426|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            return -1;
 1428|      0|        }
 1429|      0|    }
 1430|       |
 1431|  2.71k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1432|  2.71k|    _PyRunRemoteDebugger(tstate);
 1433|  2.71k|#endif
 1434|       |
 1435|  2.71k|    return 0;
 1436|  2.71k|}
ceval_gil.c:init_own_gil:
  490|      2|{
  491|      2|    assert(!gil_created(gil));
  492|       |#ifdef Py_GIL_DISABLED
  493|       |    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  494|       |    gil->enabled = config->enable_gil == _PyConfig_GIL_ENABLE ? INT_MAX : 0;
  495|       |#endif
  496|      2|    create_gil(gil);
  497|       |    assert(gil_created(gil));
  498|      2|    interp->ceval.gil = gil;
  499|      2|    interp->ceval.own_gil = 1;
  500|      2|}
ceval_gil.c:create_gil:
  164|      2|{
  165|      2|    MUTEX_INIT(gil->mutex);
  ------------------
  |  |  111|      2|    if (PyMUTEX_INIT(&(mut))) { \
  |  |  ------------------
  |  |  |  |   57|      2|#define PyMUTEX_INIT(mut)       pthread_mutex_init((mut), NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (57:33): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|      2|        Py_FatalError("PyMUTEX_INIT(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  166|      2|#ifdef FORCE_SWITCHING
  167|      2|    MUTEX_INIT(gil->switch_mutex);
  ------------------
  |  |  111|      2|    if (PyMUTEX_INIT(&(mut))) { \
  |  |  ------------------
  |  |  |  |   57|      2|#define PyMUTEX_INIT(mut)       pthread_mutex_init((mut), NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (57:33): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|      2|        Py_FatalError("PyMUTEX_INIT(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  168|      2|#endif
  169|      2|    COND_INIT(gil->cond);
  ------------------
  |  |  124|      2|    if (PyCOND_INIT(&(cond))) { \
  |  |  ------------------
  |  |  |  |   62|      2|#define PyCOND_INIT(cond)       _PyThread_cond_init(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (62:33): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  125|      2|        Py_FatalError("PyCOND_INIT(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  170|      2|#ifdef FORCE_SWITCHING
  171|      2|    COND_INIT(gil->switch_cond);
  ------------------
  |  |  124|      2|    if (PyCOND_INIT(&(cond))) { \
  |  |  ------------------
  |  |  |  |   62|      2|#define PyCOND_INIT(cond)       _PyThread_cond_init(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (62:33): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  125|      2|        Py_FatalError("PyCOND_INIT(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  172|      2|#endif
  173|      2|    _Py_atomic_store_ptr_relaxed(&gil->last_holder, 0);
  174|      2|    _Py_ANNOTATE_RWLOCK_CREATE(&gil->locked);
  175|      2|    _Py_atomic_store_int_release(&gil->locked, 0);
  176|      2|}
ceval_gil.c:take_gil:
  287|  67.9k|{
  288|  67.9k|    int err = errno;
  289|       |
  290|  67.9k|    assert(tstate != NULL);
  291|       |    /* We shouldn't be using a thread state that isn't viable any more. */
  292|       |    // XXX It may be more correct to check tstate->_status.finalizing.
  293|       |    // XXX assert(!tstate->_status.cleared);
  294|       |
  295|  67.9k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (295:9): [True: 0, False: 67.9k]
  ------------------
  296|       |        /* bpo-39877: If Py_Finalize() has been called and tstate is not the
  297|       |           thread which called Py_Finalize(), this thread cannot continue.
  298|       |
  299|       |           This code path can be reached by a daemon thread after Py_Finalize()
  300|       |           completes.
  301|       |
  302|       |           This used to call a *thread_exit API, but that was not safe as it
  303|       |           lacks stack unwinding and local variable destruction important to
  304|       |           C++. gh-87135: The best that can be done is to hang the thread as
  305|       |           the public APIs calling this have no error reporting mechanism (!).
  306|       |         */
  307|      0|        _PyThreadState_HangThread(tstate);
  308|      0|    }
  309|       |
  310|  67.9k|    assert(_PyThreadState_CheckConsistency(tstate));
  311|  67.9k|    PyInterpreterState *interp = tstate->interp;
  312|  67.9k|    struct _gil_runtime_state *gil = interp->ceval.gil;
  313|       |#ifdef Py_GIL_DISABLED
  314|       |    if (!_Py_atomic_load_int_relaxed(&gil->enabled)) {
  315|       |        return;
  316|       |    }
  317|       |#endif
  318|       |
  319|       |    /* Check that _PyEval_InitThreads() was called to create the lock */
  320|  67.9k|    assert(gil_created(gil));
  321|       |
  322|  67.9k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  67.9k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  67.9k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  67.9k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  323|       |
  324|  67.9k|    tstate->gil_requested = 1;
  325|       |
  326|  67.9k|    int drop_requested = 0;
  327|  67.9k|    while (_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (327:12): [True: 0, False: 67.9k]
  ------------------
  328|      0|        unsigned long saved_switchnum = gil->switch_number;
  329|       |
  330|      0|        unsigned long interval = _Py_atomic_load_ulong_relaxed(&gil->interval);
  ------------------
  |  |  615|      0|    _Py_atomic_load_uint64_relaxed((uint64_t *)p)
  ------------------
  331|      0|        if (interval < 1) {
  ------------------
  |  Branch (331:13): [True: 0, False: 0]
  ------------------
  332|      0|            interval = 1;
  333|      0|        }
  334|      0|        int timed_out = 0;
  335|      0|        COND_TIMED_WAIT(gil->cond, gil->mutex, interval, timed_out);
  ------------------
  |  |  136|      0|    { \
  |  |  137|      0|        int r = PyCOND_TIMEDWAIT(&(cond), &(mut), (microseconds)); \
  |  |  138|      0|        if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (138:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  139|      0|            Py_FatalError("PyCOND_WAIT(" #cond ") failed"); \
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |  140|      0|        if (r) /* 1 == timeout, 2 == impl. can't say, so assume timeout */ \
  |  |  ------------------
  |  |  |  Branch (140:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  141|      0|            timeout_result = 1; \
  |  |  142|      0|        else \
  |  |  143|      0|            timeout_result = 0; \
  |  |  144|      0|    } \
  ------------------
  336|       |
  337|       |        /* If we timed out and no switch occurred in the meantime, it is time
  338|       |           to ask the GIL-holding thread to drop it. */
  339|      0|        if (timed_out &&
  ------------------
  |  Branch (339:13): [True: 0, False: 0]
  ------------------
  340|      0|            _Py_atomic_load_int_relaxed(&gil->locked) &&
  ------------------
  |  Branch (340:13): [True: 0, False: 0]
  ------------------
  341|      0|            gil->switch_number == saved_switchnum)
  ------------------
  |  Branch (341:13): [True: 0, False: 0]
  ------------------
  342|      0|        {
  343|      0|            PyThreadState *holder_tstate =
  344|      0|                (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder);
  345|      0|            if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (345:17): [True: 0, False: 0]
  ------------------
  346|      0|                MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|      0|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|      0|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  347|       |                // gh-96387: If the loop requested a drop request in a previous
  348|       |                // iteration, reset the request. Otherwise, drop_gil() can
  349|       |                // block forever waiting for the thread which exited. Drop
  350|       |                // requests made by other threads are also reset: these threads
  351|       |                // may have to request again a drop request (iterate one more
  352|       |                // time).
  353|      0|                if (drop_requested) {
  ------------------
  |  Branch (353:21): [True: 0, False: 0]
  ------------------
  354|      0|                    _Py_unset_eval_breaker_bit(holder_tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  344|      0|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  355|      0|                }
  356|       |                // gh-87135: hang the thread as *thread_exit() is not a safe
  357|       |                // API. It lacks stack unwind and local variable destruction.
  358|      0|                _PyThreadState_HangThread(tstate);
  359|      0|            }
  360|      0|            assert(_PyThreadState_CheckConsistency(tstate));
  361|       |
  362|      0|            _Py_set_eval_breaker_bit(holder_tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  344|      0|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  363|      0|            drop_requested = 1;
  364|      0|        }
  365|      0|    }
  366|       |
  367|       |#ifdef Py_GIL_DISABLED
  368|       |    if (!_Py_atomic_load_int_relaxed(&gil->enabled)) {
  369|       |        // Another thread disabled the GIL between our check above and
  370|       |        // now. Don't take the GIL, signal any other waiting threads, and
  371|       |        // return.
  372|       |        COND_SIGNAL(gil->cond);
  373|       |        MUTEX_UNLOCK(gil->mutex);
  374|       |        return;
  375|       |    }
  376|       |#endif
  377|       |
  378|  67.9k|#ifdef FORCE_SWITCHING
  379|       |    /* This mutex must be taken before modifying gil->last_holder:
  380|       |       see drop_gil(). */
  381|   135k|    MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|  67.9k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  67.9k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  67.9k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  382|   135k|#endif
  383|       |    /* We now hold the GIL */
  384|   135k|    _Py_atomic_store_int_relaxed(&gil->locked, 1);
  385|   135k|    _Py_ANNOTATE_RWLOCK_ACQUIRED(&gil->locked, /*is_write=*/1);
  386|       |
  387|   135k|    if (tstate != (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) {
  ------------------
  |  Branch (387:9): [True: 2, False: 67.9k]
  ------------------
  388|      2|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  389|      2|        ++gil->switch_number;
  390|      2|    }
  391|       |
  392|   135k|#ifdef FORCE_SWITCHING
  393|   135k|    COND_SIGNAL(gil->switch_cond);
  ------------------
  |  |  130|  67.9k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  67.9k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  67.9k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  394|  67.9k|    MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|  67.9k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  67.9k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  67.9k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  395|  67.9k|#endif
  396|       |
  397|  67.9k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (397:9): [True: 0, False: 67.9k]
  ------------------
  398|       |        /* bpo-36475: If Py_Finalize() has been called and tstate is not
  399|       |           the thread which called Py_Finalize(), gh-87135: hang the
  400|       |           thread.
  401|       |
  402|       |           This code path can be reached by a daemon thread which was waiting
  403|       |           in take_gil() while the main thread called
  404|       |           wait_for_thread_shutdown() from Py_Finalize(). */
  405|      0|        MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|      0|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|      0|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  406|       |        /* tstate could be a dangling pointer, so don't pass it to
  407|       |           drop_gil(). */
  408|      0|        drop_gil(interp, NULL, 1);
  409|      0|        _PyThreadState_HangThread(tstate);
  410|      0|    }
  411|  67.9k|    assert(_PyThreadState_CheckConsistency(tstate));
  412|       |
  413|  67.9k|    tstate->gil_requested = 0;
  414|  67.9k|    tstate->holds_gil = 1;
  415|  67.9k|    _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  344|  67.9k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  416|  67.9k|    update_eval_breaker_for_thread(interp, tstate);
  417|       |
  418|  67.9k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  67.9k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  67.9k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  67.9k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  419|       |
  420|       |    errno = err;
  421|  67.9k|    return;
  422|  67.9k|}
ceval_gil.c:update_eval_breaker_for_thread:
   74|  67.9k|{
   75|       |#ifdef Py_GIL_DISABLED
   76|       |    // Free-threaded builds eagerly update the eval_breaker on *all* threads as
   77|       |    // needed, so this function doesn't apply.
   78|       |    return;
   79|       |#endif
   80|       |
   81|  67.9k|    int32_t npending = _Py_atomic_load_int32_relaxed(
   82|  67.9k|        &interp->ceval.pending.npending);
   83|  67.9k|    if (npending) {
  ------------------
  |  Branch (83:9): [True: 0, False: 67.9k]
  ------------------
   84|      0|        _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  346|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   85|      0|    }
   86|  67.9k|    else if (_Py_IsMainThread()) {
  ------------------
  |  Branch (86:14): [True: 67.9k, False: 0]
  ------------------
   87|  67.9k|        npending = _Py_atomic_load_int32_relaxed(
   88|  67.9k|            &_PyRuntime.ceval.pending_mainthread.npending);
   89|  67.9k|        if (npending) {
  ------------------
  |  Branch (89:13): [True: 0, False: 67.9k]
  ------------------
   90|      0|            _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  346|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   91|      0|        }
   92|  67.9k|    }
   93|       |
   94|       |    // _PY_CALLS_TO_DO_BIT was derived from other state above, so the only bits
   95|       |    // we copy from our interpreter's state are the instrumentation version.
   96|  67.9k|    copy_eval_breaker_bits(&interp->ceval.instrumentation_version,
   97|  67.9k|                           &tstate->eval_breaker,
   98|  67.9k|                           ~_PY_EVAL_EVENTS_MASK);
  ------------------
  |  |  355|  67.9k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  354|  67.9k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
   99|  67.9k|}
ceval_gil.c:copy_eval_breaker_bits:
   56|  67.9k|{
   57|  67.9k|    uintptr_t from_bits = _Py_atomic_load_uintptr_relaxed(from) & mask;
   58|  67.9k|    uintptr_t old_value = _Py_atomic_load_uintptr_relaxed(to);
   59|  67.9k|    uintptr_t to_bits = old_value & mask;
   60|  67.9k|    if (from_bits == to_bits) {
  ------------------
  |  Branch (60:9): [True: 67.9k, False: 0]
  ------------------
   61|  67.9k|        return;
   62|  67.9k|    }
   63|       |
   64|      0|    uintptr_t new_value;
   65|      0|    do {
   66|      0|        new_value = (old_value & ~mask) | from_bits;
   67|      0|    } while (!_Py_atomic_compare_exchange_uintptr(to, &old_value, new_value));
  ------------------
  |  Branch (67:14): [True: 0, False: 0]
  ------------------
   68|      0|}
ceval_gil.c:drop_gil:
  218|  67.9k|{
  219|  67.9k|    struct _ceval_state *ceval = &interp->ceval;
  220|       |    /* If final_release is true, the caller is indicating that we're releasing
  221|       |       the GIL for the last time in this thread.  This is particularly
  222|       |       relevant when the current thread state is finalizing or its
  223|       |       interpreter is finalizing (either may be in an inconsistent
  224|       |       state).  In that case the current thread will definitely
  225|       |       never try to acquire the GIL again. */
  226|       |    // XXX It may be more correct to check tstate->_status.finalizing.
  227|       |    // XXX assert(final_release || !tstate->_status.cleared);
  228|       |
  229|  67.9k|    assert(final_release || tstate != NULL);
  230|  67.9k|    struct _gil_runtime_state *gil = ceval->gil;
  231|       |#ifdef Py_GIL_DISABLED
  232|       |    // Check if we have the GIL before dropping it. tstate will be NULL if
  233|       |    // take_gil() detected that this thread has been destroyed, in which case
  234|       |    // we know we have the GIL.
  235|       |    if (tstate != NULL && !tstate->holds_gil) {
  236|       |        return;
  237|       |    }
  238|       |#endif
  239|  67.9k|    if (!_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 67.9k]
  ------------------
  240|      0|        Py_FatalError("drop_gil: GIL is not locked");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  241|      0|    }
  242|       |
  243|  67.9k|    if (!final_release) {
  ------------------
  |  Branch (243:9): [True: 67.9k, False: 0]
  ------------------
  244|       |        /* Sub-interpreter support: threads might have been switched
  245|       |           under our feet using PyThreadState_Swap(). Fix the GIL last
  246|       |           holder variable so that our heuristics work. */
  247|  67.9k|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  248|  67.9k|    }
  249|       |
  250|  67.9k|    drop_gil_impl(tstate, gil);
  251|       |
  252|  67.9k|#ifdef FORCE_SWITCHING
  253|       |    /* We might be releasing the GIL for the last time in this thread.  In that
  254|       |       case there's a possible race with tstate->interp getting deleted after
  255|       |       gil->mutex is unlocked and before the following code runs, leading to a
  256|       |       crash.  We can use final_release to indicate the thread is done with the
  257|       |       GIL, and that's the only time we might delete the interpreter.  See
  258|       |       https://github.com/python/cpython/issues/104341. */
  259|  67.9k|    if (!final_release &&
  ------------------
  |  Branch (259:9): [True: 67.9k, False: 0]
  ------------------
  260|  67.9k|        _Py_eval_breaker_bit_is_set(tstate, _PY_GIL_DROP_REQUEST_BIT)) {
  ------------------
  |  |  344|  67.9k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (260:9): [True: 0, False: 67.9k]
  ------------------
  261|      0|        MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|      0|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|      0|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|      0|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  262|       |        /* Not switched yet => wait */
  263|      0|        if (((PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) == tstate)
  ------------------
  |  Branch (263:13): [True: 0, False: 0]
  ------------------
  264|      0|        {
  265|      0|            assert(_PyThreadState_CheckConsistency(tstate));
  266|      0|            _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  344|      0|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  267|       |            /* NOTE: if COND_WAIT does not atomically start waiting when
  268|       |               releasing the mutex, another thread can run through, take
  269|       |               the GIL and drop it again, and reset the condition
  270|       |               before we even had a chance to wait for it. */
  271|      0|            COND_WAIT(gil->switch_cond, gil->switch_mutex);
  ------------------
  |  |  133|      0|    if (PyCOND_WAIT(&(cond), &(mut))) { \
  |  |  ------------------
  |  |  |  |   66|      0|#define PyCOND_WAIT(cond, mut)  pthread_cond_wait((cond), (mut))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (66:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  134|      0|        Py_FatalError("PyCOND_WAIT(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  272|      0|        }
  273|      0|        MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|      0|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|      0|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  274|      0|    }
  275|  67.9k|#endif
  276|  67.9k|}
ceval_gil.c:drop_gil_impl:
  204|  67.9k|{
  205|  67.9k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|  67.9k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|  67.9k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|  67.9k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  206|  67.9k|    _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1);
  207|  67.9k|    _Py_atomic_store_int_relaxed(&gil->locked, 0);
  208|  67.9k|    if (tstate != NULL) {
  ------------------
  |  Branch (208:9): [True: 67.9k, False: 0]
  ------------------
  209|  67.9k|        tstate->holds_gil = 0;
  210|  67.9k|        tstate->gil_requested = 0;
  211|  67.9k|    }
  212|  67.9k|    COND_SIGNAL(gil->cond);
  ------------------
  |  |  130|  67.9k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|  67.9k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|  67.9k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  213|  67.9k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|  67.9k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|  67.9k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 67.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  67.9k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  214|  67.9k|}
ceval_gil.c:_gil_initialize:
  150|      2|{
  151|      2|    gil->locked = -1;
  152|      2|    gil->interval = DEFAULT_INTERVAL;
  ------------------
  |  |  147|      2|#define DEFAULT_INTERVAL 5000
  ------------------
  153|      2|}

ceval.c:_Py_EnterRecursivePy:
  405|  6.17M|static inline int _Py_EnterRecursivePy(PyThreadState *tstate) {
  406|  6.17M|    return (tstate->py_recursion_remaining-- <= 0) &&
  ------------------
  |  Branch (406:12): [True: 0, False: 6.17M]
  ------------------
  407|      0|        _Py_CheckRecursiveCallPy(tstate);
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|  6.17M|}
ceval.c:check_periodics:
  520|  58.7M|check_periodics(PyThreadState *tstate) {
  521|  58.7M|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  522|  58.7M|    QSBR_QUIESCENT_STATE(tstate);
  523|  58.7M|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  355|  58.7M|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  354|  58.7M|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (523:9): [True: 2.71k, False: 58.7M]
  ------------------
  524|  2.71k|        return _Py_HandlePending(tstate);
  525|  2.71k|    }
  526|  58.7M|    return 0;
  527|  58.7M|}
ceval.c:gen_try_set_executing:
  533|  3.39M|{
  534|       |#ifdef Py_GIL_DISABLED
  535|       |    if (!_PyObject_IsUniquelyReferenced((PyObject *)gen)) {
  536|       |        int8_t frame_state = _Py_atomic_load_int8_relaxed(&gen->gi_frame_state);
  537|       |        while (frame_state < FRAME_SUSPENDED_YIELD_FROM_LOCKED) {
  538|       |            if (_Py_atomic_compare_exchange_int8(&gen->gi_frame_state,
  539|       |                                                 &frame_state,
  540|       |                                                 FRAME_EXECUTING)) {
  541|       |                return true;
  542|       |            }
  543|       |        }
  544|       |        // NB: We return false for FRAME_SUSPENDED_YIELD_FROM_LOCKED as well.
  545|       |        // That case is rare enough that we can just handle it in the deopt.
  546|       |        return false;
  547|       |    }
  548|       |#endif
  549|       |    // Use faster non-atomic modifications in the GIL-enabled build and when
  550|       |    // the object is uniquely referenced in the free-threaded build.
  551|  3.39M|    if (gen->gi_frame_state < FRAME_EXECUTING) {
  ------------------
  |  Branch (551:9): [True: 3.39M, False: 0]
  ------------------
  552|  3.39M|        assert(gen->gi_frame_state != FRAME_SUSPENDED_YIELD_FROM_LOCKED);
  553|  3.39M|        gen->gi_frame_state = FRAME_EXECUTING;
  554|  3.39M|        return true;
  555|  3.39M|    }
  556|      0|    return false;
  557|  3.39M|}
ceval.c:_Py_LeaveRecursiveCallPy:
  410|  62.1M|static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate)  {
  411|  62.1M|    tstate->py_recursion_remaining++;
  412|  62.1M|}

Python-tokenize.c:tokenizeriter_new:
   17|     10|{
   18|     10|    PyObject *return_value = NULL;
   19|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   20|       |
   21|     10|    #define NUM_KEYWORDS 2
   22|     10|    static struct {
   23|     10|        PyGC_Head _this_is_not_used;
   24|     10|        PyObject_VAR_HEAD
   25|     10|        Py_hash_t ob_hash;
   26|     10|        PyObject *ob_item[NUM_KEYWORDS];
   27|     10|    } _kwtuple = {
   28|     10|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     10|    {                                     \
  |  |   98|     10|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     10|    {                               \
  |  |  |  |   91|     10|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     10|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     10|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     10|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     10|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     10|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     10|        (type)                      \
  |  |  |  |   93|     10|    },
  |  |  ------------------
  |  |   99|     10|        (size)                            \
  |  |  100|     10|    },
  ------------------
   29|     10|        .ob_hash = -1,
   30|     10|        .ob_item = { &_Py_ID(extra_tokens), &_Py_ID(encoding), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(extra_tokens), &_Py_ID(encoding), },
  ------------------
  |  |  919|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|     10|    };
   32|     10|    #undef NUM_KEYWORDS
   33|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   34|       |
   35|       |    #else  // !Py_BUILD_CORE
   36|       |    #  define KWTUPLE NULL
   37|       |    #endif  // !Py_BUILD_CORE
   38|       |
   39|     10|    static const char * const _keywords[] = {"", "extra_tokens", "encoding", NULL};
   40|     10|    static _PyArg_Parser _parser = {
   41|     10|        .keywords = _keywords,
   42|     10|        .fname = "tokenizeriter",
   43|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  |   33|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   44|     10|    };
   45|     10|    #undef KWTUPLE
   46|     10|    PyObject *argsbuf[3];
   47|     10|    PyObject * const *fastargs;
   48|     10|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     10|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|     10|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 2;
  ------------------
  |  |   63|     10|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (49:36): [True: 10, False: 0]
  ------------------
   50|     10|    PyObject *readline;
   51|     10|    int extra_tokens;
   52|     10|    const char *encoding = NULL;
   53|       |
   54|     10|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     10|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [Folded, False: 10]
  |  |  |  Branch (88:23): [True: 0, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     10|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 0, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 0]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 0]
  |  |  ------------------
  |  |   90|     10|      (args) : \
  |  |   91|     10|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     10|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   55|     10|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 1, /*varpos*/ 0, argsbuf);
   56|     10|    if (!fastargs) {
  ------------------
  |  Branch (56:9): [True: 0, False: 10]
  ------------------
   57|      0|        goto exit;
   58|      0|    }
   59|     10|    readline = fastargs[0];
   60|     10|    extra_tokens = PyObject_IsTrue(fastargs[1]);
   61|     10|    if (extra_tokens < 0) {
  ------------------
  |  Branch (61:9): [True: 0, False: 10]
  ------------------
   62|      0|        goto exit;
   63|      0|    }
   64|     10|    if (!noptargs) {
  ------------------
  |  Branch (64:9): [True: 8, False: 2]
  ------------------
   65|      8|        goto skip_optional_kwonly;
   66|      8|    }
   67|      2|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (67:9): [True: 0, False: 2]
  ------------------
   68|      0|        _PyArg_BadArgument("tokenizeriter", "argument 'encoding'", "str", fastargs[2]);
   69|      0|        goto exit;
   70|      0|    }
   71|      2|    Py_ssize_t encoding_length;
   72|      2|    encoding = PyUnicode_AsUTF8AndSize(fastargs[2], &encoding_length);
   73|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (73:9): [True: 0, False: 2]
  ------------------
   74|      0|        goto exit;
   75|      0|    }
   76|      2|    if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (76:9): [True: 0, False: 2]
  ------------------
   77|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
   78|      0|        goto exit;
   79|      0|    }
   80|     10|skip_optional_kwonly:
   81|     10|    return_value = tokenizeriter_new_impl(type, readline, extra_tokens, encoding);
   82|       |
   83|     10|exit:
   84|     10|    return return_value;
   85|     10|}

bltinmodule.c:builtin___import__:
   42|  1.23k|{
   43|  1.23k|    PyObject *return_value = NULL;
   44|  1.23k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   45|       |
   46|  1.23k|    #define NUM_KEYWORDS 5
   47|  1.23k|    static struct {
   48|  1.23k|        PyGC_Head _this_is_not_used;
   49|  1.23k|        PyObject_VAR_HEAD
   50|  1.23k|        Py_hash_t ob_hash;
   51|  1.23k|        PyObject *ob_item[NUM_KEYWORDS];
   52|  1.23k|    } _kwtuple = {
   53|  1.23k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.23k|    {                                     \
  |  |   98|  1.23k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.23k|    {                               \
  |  |  |  |   91|  1.23k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.23k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.23k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.23k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.23k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.23k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.23k|        (type)                      \
  |  |  |  |   93|  1.23k|    },
  |  |  ------------------
  |  |   99|  1.23k|        (size)                            \
  |  |  100|  1.23k|    },
  ------------------
   54|  1.23k|        .ob_hash = -1,
   55|  1.23k|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  919|  1.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  919|  1.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  919|  1.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  919|  1.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  919|  1.23k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|  1.23k|    };
   57|  1.23k|    #undef NUM_KEYWORDS
   58|  1.23k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   59|       |
   60|       |    #else  // !Py_BUILD_CORE
   61|       |    #  define KWTUPLE NULL
   62|       |    #endif  // !Py_BUILD_CORE
   63|       |
   64|  1.23k|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   65|  1.23k|    static _PyArg_Parser _parser = {
   66|  1.23k|        .keywords = _keywords,
   67|  1.23k|        .fname = "__import__",
   68|  1.23k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   58|  1.23k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   69|  1.23k|    };
   70|  1.23k|    #undef KWTUPLE
   71|  1.23k|    PyObject *argsbuf[5];
   72|  1.23k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (72:36): [True: 4, False: 1.23k]
  ------------------
   73|  1.23k|    PyObject *name;
   74|  1.23k|    PyObject *globals = NULL;
   75|  1.23k|    PyObject *locals = NULL;
   76|  1.23k|    PyObject *fromlist = NULL;
   77|  1.23k|    int level = 0;
   78|       |
   79|  1.23k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.23k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.23k, False: 4]
  |  |  ------------------
  |  |   89|  1.23k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.23k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.23k]
  |  |  |  Branch (89:43): [True: 1.23k, False: 0]
  |  |  |  Branch (89:67): [True: 1.23k, False: 0]
  |  |  ------------------
  |  |   90|  1.23k|      (args) : \
  |  |   91|  1.23k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      4|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   80|  1.23k|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   81|  1.23k|    if (!args) {
  ------------------
  |  Branch (81:9): [True: 0, False: 1.23k]
  ------------------
   82|      0|        goto exit;
   83|      0|    }
   84|  1.23k|    name = args[0];
   85|  1.23k|    if (!noptargs) {
  ------------------
  |  Branch (85:9): [True: 270, False: 968]
  ------------------
   86|    270|        goto skip_optional_pos;
   87|    270|    }
   88|    968|    if (args[1]) {
  ------------------
  |  Branch (88:9): [True: 964, False: 4]
  ------------------
   89|    964|        globals = args[1];
   90|    964|        if (!--noptargs) {
  ------------------
  |  Branch (90:13): [True: 0, False: 964]
  ------------------
   91|      0|            goto skip_optional_pos;
   92|      0|        }
   93|    964|    }
   94|    968|    if (args[2]) {
  ------------------
  |  Branch (94:9): [True: 964, False: 4]
  ------------------
   95|    964|        locals = args[2];
   96|    964|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 0, False: 964]
  ------------------
   97|      0|            goto skip_optional_pos;
   98|      0|        }
   99|    964|    }
  100|    968|    if (args[3]) {
  ------------------
  |  Branch (100:9): [True: 968, False: 0]
  ------------------
  101|    968|        fromlist = args[3];
  102|    968|        if (!--noptargs) {
  ------------------
  |  Branch (102:13): [True: 0, False: 968]
  ------------------
  103|      0|            goto skip_optional_pos;
  104|      0|        }
  105|    968|    }
  106|    968|    level = PyLong_AsInt(args[4]);
  107|    968|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (107:9): [True: 0, False: 968]
  |  Branch (107:24): [True: 0, False: 0]
  ------------------
  108|      0|        goto exit;
  109|      0|    }
  110|  1.23k|skip_optional_pos:
  111|  1.23k|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  112|       |
  113|  1.23k|exit:
  114|  1.23k|    return return_value;
  115|  1.23k|}
bltinmodule.c:builtin_compile:
  365|  54.2k|{
  366|  54.2k|    PyObject *return_value = NULL;
  367|  54.2k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  368|       |
  369|  54.2k|    #define NUM_KEYWORDS 8
  370|  54.2k|    static struct {
  371|  54.2k|        PyGC_Head _this_is_not_used;
  372|  54.2k|        PyObject_VAR_HEAD
  373|  54.2k|        Py_hash_t ob_hash;
  374|  54.2k|        PyObject *ob_item[NUM_KEYWORDS];
  375|  54.2k|    } _kwtuple = {
  376|  54.2k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  54.2k|    {                                     \
  |  |   98|  54.2k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  54.2k|    {                               \
  |  |  |  |   91|  54.2k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  54.2k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  54.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  54.2k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  54.2k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  54.2k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  54.2k|        (type)                      \
  |  |  |  |   93|  54.2k|    },
  |  |  ------------------
  |  |   99|  54.2k|        (size)                            \
  |  |  100|  54.2k|    },
  ------------------
  377|  54.2k|        .ob_hash = -1,
  378|  54.2k|        .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(filename), &_Py_ID(mode), &_Py_ID(flags), &_Py_ID(dont_inherit), &_Py_ID(optimize), &_Py_ID(module), &_Py_ID(_feature_version), },
  ------------------
  |  |  919|  54.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  54.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  54.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|  54.2k|    };
  380|  54.2k|    #undef NUM_KEYWORDS
  381|  54.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  382|       |
  383|       |    #else  // !Py_BUILD_CORE
  384|       |    #  define KWTUPLE NULL
  385|       |    #endif  // !Py_BUILD_CORE
  386|       |
  387|  54.2k|    static const char * const _keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", "module", "_feature_version", NULL};
  388|  54.2k|    static _PyArg_Parser _parser = {
  389|  54.2k|        .keywords = _keywords,
  390|  54.2k|        .fname = "compile",
  391|  54.2k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  381|  54.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  392|  54.2k|    };
  393|  54.2k|    #undef KWTUPLE
  394|  54.2k|    PyObject *argsbuf[8];
  395|  54.2k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3;
  ------------------
  |  |   27|  54.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (395:36): [True: 54.1k, False: 16]
  ------------------
  396|  54.2k|    PyObject *source;
  397|  54.2k|    PyObject *filename = NULL;
  398|  54.2k|    const char *mode;
  399|  54.2k|    int flags = 0;
  400|  54.2k|    int dont_inherit = 0;
  401|  54.2k|    int optimize = -1;
  402|  54.2k|    PyObject *modname = Py_None;
  ------------------
  |  |  616|  54.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  403|  54.2k|    int feature_version = -1;
  404|       |
  405|  54.2k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  54.2k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 16, False: 54.1k]
  |  |  ------------------
  |  |   89|  54.2k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 16, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 16]
  |  |  |  Branch (89:43): [True: 16, False: 0]
  |  |  |  Branch (89:67): [True: 16, False: 0]
  |  |  ------------------
  |  |   90|  54.2k|      (args) : \
  |  |   91|  54.2k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  54.1k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  406|  54.2k|            /*minpos*/ 3, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  407|  54.2k|    if (!args) {
  ------------------
  |  Branch (407:9): [True: 0, False: 54.2k]
  ------------------
  408|      0|        goto exit;
  409|      0|    }
  410|  54.2k|    source = args[0];
  411|  54.2k|    if (!PyUnicode_FSDecoder(args[1], &filename)) {
  ------------------
  |  Branch (411:9): [True: 0, False: 54.2k]
  ------------------
  412|      0|        goto exit;
  413|      0|    }
  414|  54.2k|    if (!PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|  54.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  54.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (414:9): [True: 0, False: 54.2k]
  ------------------
  415|      0|        _PyArg_BadArgument("compile", "argument 'mode'", "str", args[2]);
  416|      0|        goto exit;
  417|      0|    }
  418|  54.2k|    Py_ssize_t mode_length;
  419|  54.2k|    mode = PyUnicode_AsUTF8AndSize(args[2], &mode_length);
  420|  54.2k|    if (mode == NULL) {
  ------------------
  |  Branch (420:9): [True: 0, False: 54.2k]
  ------------------
  421|      0|        goto exit;
  422|      0|    }
  423|  54.2k|    if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (423:9): [True: 0, False: 54.2k]
  ------------------
  424|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  425|      0|        goto exit;
  426|      0|    }
  427|  54.2k|    if (!noptargs) {
  ------------------
  |  Branch (427:9): [True: 16, False: 54.1k]
  ------------------
  428|     16|        goto skip_optional_pos;
  429|     16|    }
  430|  54.1k|    if (args[3]) {
  ------------------
  |  Branch (430:9): [True: 54.1k, False: 0]
  ------------------
  431|  54.1k|        flags = PyLong_AsInt(args[3]);
  432|  54.1k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (432:13): [True: 0, False: 54.1k]
  |  Branch (432:28): [True: 0, False: 0]
  ------------------
  433|      0|            goto exit;
  434|      0|        }
  435|  54.1k|        if (!--noptargs) {
  ------------------
  |  Branch (435:13): [True: 0, False: 54.1k]
  ------------------
  436|      0|            goto skip_optional_pos;
  437|      0|        }
  438|  54.1k|    }
  439|  54.1k|    if (args[4]) {
  ------------------
  |  Branch (439:9): [True: 0, False: 54.1k]
  ------------------
  440|      0|        dont_inherit = PyObject_IsTrue(args[4]);
  441|      0|        if (dont_inherit < 0) {
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|            goto exit;
  443|      0|        }
  444|      0|        if (!--noptargs) {
  ------------------
  |  Branch (444:13): [True: 0, False: 0]
  ------------------
  445|      0|            goto skip_optional_pos;
  446|      0|        }
  447|      0|    }
  448|  54.1k|    if (args[5]) {
  ------------------
  |  Branch (448:9): [True: 54.1k, False: 0]
  ------------------
  449|  54.1k|        optimize = PyLong_AsInt(args[5]);
  450|  54.1k|        if (optimize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (450:13): [True: 54.1k, False: 0]
  |  Branch (450:31): [True: 0, False: 54.1k]
  ------------------
  451|      0|            goto exit;
  452|      0|        }
  453|  54.1k|        if (!--noptargs) {
  ------------------
  |  Branch (453:13): [True: 0, False: 54.1k]
  ------------------
  454|      0|            goto skip_optional_pos;
  455|      0|        }
  456|  54.1k|    }
  457|  54.2k|skip_optional_pos:
  458|  54.2k|    if (!noptargs) {
  ------------------
  |  Branch (458:9): [True: 16, False: 54.1k]
  ------------------
  459|     16|        goto skip_optional_kwonly;
  460|     16|    }
  461|  54.1k|    if (args[6]) {
  ------------------
  |  Branch (461:9): [True: 54.1k, False: 0]
  ------------------
  462|  54.1k|        modname = args[6];
  463|  54.1k|        if (!--noptargs) {
  ------------------
  |  Branch (463:13): [True: 0, False: 54.1k]
  ------------------
  464|      0|            goto skip_optional_kwonly;
  465|      0|        }
  466|  54.1k|    }
  467|  54.1k|    feature_version = PyLong_AsInt(args[7]);
  468|  54.1k|    if (feature_version == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (468:9): [True: 54.1k, False: 0]
  |  Branch (468:34): [True: 0, False: 54.1k]
  ------------------
  469|      0|        goto exit;
  470|      0|    }
  471|  54.2k|skip_optional_kwonly:
  472|  54.2k|    return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize, modname, feature_version);
  473|       |
  474|  54.2k|exit:
  475|       |    /* Cleanup for filename */
  476|  54.2k|    Py_XDECREF(filename);
  ------------------
  |  |  524|  54.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|       |
  478|  54.2k|    return return_value;
  479|  54.2k|}
bltinmodule.c:builtin_delattr:
  811|    486|{
  812|    486|    PyObject *return_value = NULL;
  813|    486|    PyObject *obj;
  814|    486|    PyObject *name;
  815|       |
  816|    486|    if (!_PyArg_CheckPositional("delattr", nargs, 2, 2)) {
  ------------------
  |  |   31|    486|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 486, False: 0]
  |  |  |  Branch (31:27): [True: 486, False: 0]
  |  |  ------------------
  |  |   32|    486|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  817|      0|        goto exit;
  818|      0|    }
  819|    486|    obj = args[0];
  820|    486|    name = args[1];
  821|    486|    return_value = builtin_delattr_impl(module, obj, name);
  822|       |
  823|    486|exit:
  824|    486|    return return_value;
  825|    486|}
bltinmodule.c:builtin_divmod:
  495|  6.81k|{
  496|  6.81k|    PyObject *return_value = NULL;
  497|  6.81k|    PyObject *x;
  498|  6.81k|    PyObject *y;
  499|       |
  500|  6.81k|    if (!_PyArg_CheckPositional("divmod", nargs, 2, 2)) {
  ------------------
  |  |   31|  6.81k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 6.81k, False: 0]
  |  |  |  Branch (31:27): [True: 6.81k, False: 0]
  |  |  ------------------
  |  |   32|  6.81k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  501|      0|        goto exit;
  502|      0|    }
  503|  6.81k|    x = args[0];
  504|  6.81k|    y = args[1];
  505|  6.81k|    return_value = builtin_divmod_impl(module, x, y);
  506|       |
  507|  6.81k|exit:
  508|  6.81k|    return return_value;
  509|  6.81k|}
bltinmodule.c:builtin_eval:
  532|     62|{
  533|     62|    PyObject *return_value = NULL;
  534|     62|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  535|       |
  536|     62|    #define NUM_KEYWORDS 2
  537|     62|    static struct {
  538|     62|        PyGC_Head _this_is_not_used;
  539|     62|        PyObject_VAR_HEAD
  540|     62|        Py_hash_t ob_hash;
  541|     62|        PyObject *ob_item[NUM_KEYWORDS];
  542|     62|    } _kwtuple = {
  543|     62|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     62|    {                                     \
  |  |   98|     62|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     62|    {                               \
  |  |  |  |   91|     62|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     62|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     62|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     62|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     62|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     62|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     62|        (type)                      \
  |  |  |  |   93|     62|    },
  |  |  ------------------
  |  |   99|     62|        (size)                            \
  |  |  100|     62|    },
  ------------------
  544|     62|        .ob_hash = -1,
  545|     62|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  919|     62|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     62|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     62|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  919|     62|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     62|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     62|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|     62|    };
  547|     62|    #undef NUM_KEYWORDS
  548|     62|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  549|       |
  550|       |    #else  // !Py_BUILD_CORE
  551|       |    #  define KWTUPLE NULL
  552|       |    #endif  // !Py_BUILD_CORE
  553|       |
  554|     62|    static const char * const _keywords[] = {"", "globals", "locals", NULL};
  555|     62|    static _PyArg_Parser _parser = {
  556|     62|        .keywords = _keywords,
  557|     62|        .fname = "eval",
  558|     62|        .kwtuple = KWTUPLE,
  ------------------
  |  |  548|     62|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  559|     62|    };
  560|     62|    #undef KWTUPLE
  561|     62|    PyObject *argsbuf[3];
  562|     62|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (562:36): [True: 0, False: 62]
  ------------------
  563|     62|    PyObject *source;
  564|     62|    PyObject *globals = Py_None;
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  565|     62|    PyObject *locals = Py_None;
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  566|       |
  567|     62|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     62|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 62, False: 0]
  |  |  ------------------
  |  |   89|     62|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 62, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 62]
  |  |  |  Branch (89:43): [True: 62, False: 0]
  |  |  |  Branch (89:67): [True: 62, False: 0]
  |  |  ------------------
  |  |   90|     62|      (args) : \
  |  |   91|     62|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  568|     62|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  569|     62|    if (!args) {
  ------------------
  |  Branch (569:9): [True: 0, False: 62]
  ------------------
  570|      0|        goto exit;
  571|      0|    }
  572|     62|    source = args[0];
  573|     62|    if (!noptargs) {
  ------------------
  |  Branch (573:9): [True: 0, False: 62]
  ------------------
  574|      0|        goto skip_optional_pos;
  575|      0|    }
  576|     62|    if (args[1]) {
  ------------------
  |  Branch (576:9): [True: 62, False: 0]
  ------------------
  577|     62|        globals = args[1];
  578|     62|        if (!--noptargs) {
  ------------------
  |  Branch (578:13): [True: 62, False: 0]
  ------------------
  579|     62|            goto skip_optional_pos;
  580|     62|        }
  581|     62|    }
  582|      0|    locals = args[2];
  583|     62|skip_optional_pos:
  584|     62|    return_value = builtin_eval_impl(module, source, globals, locals);
  585|       |
  586|     62|exit:
  587|     62|    return return_value;
  588|     62|}
bltinmodule.c:builtin_exec:
  613|    675|{
  614|    675|    PyObject *return_value = NULL;
  615|    675|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  616|       |
  617|    675|    #define NUM_KEYWORDS 3
  618|    675|    static struct {
  619|    675|        PyGC_Head _this_is_not_used;
  620|    675|        PyObject_VAR_HEAD
  621|    675|        Py_hash_t ob_hash;
  622|    675|        PyObject *ob_item[NUM_KEYWORDS];
  623|    675|    } _kwtuple = {
  624|    675|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    675|    {                                     \
  |  |   98|    675|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    675|    {                               \
  |  |  |  |   91|    675|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    675|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    675|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    675|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    675|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    675|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    675|        (type)                      \
  |  |  |  |   93|    675|    },
  |  |  ------------------
  |  |   99|    675|        (size)                            \
  |  |  100|    675|    },
  ------------------
  625|    675|        .ob_hash = -1,
  626|    675|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  919|    675|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    675|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    675|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  919|    675|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    675|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    675|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  919|    675|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    675|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    675|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|    675|    };
  628|    675|    #undef NUM_KEYWORDS
  629|    675|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  630|       |
  631|       |    #else  // !Py_BUILD_CORE
  632|       |    #  define KWTUPLE NULL
  633|       |    #endif  // !Py_BUILD_CORE
  634|       |
  635|    675|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  636|    675|    static _PyArg_Parser _parser = {
  637|    675|        .keywords = _keywords,
  638|    675|        .fname = "exec",
  639|    675|        .kwtuple = KWTUPLE,
  ------------------
  |  |  629|    675|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  640|    675|    };
  641|    675|    #undef KWTUPLE
  642|    675|    PyObject *argsbuf[4];
  643|    675|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (643:36): [True: 0, False: 675]
  ------------------
  644|    675|    PyObject *source;
  645|    675|    PyObject *globals = Py_None;
  ------------------
  |  |  616|    675|#  define Py_None (&_Py_NoneStruct)
  ------------------
  646|    675|    PyObject *locals = Py_None;
  ------------------
  |  |  616|    675|#  define Py_None (&_Py_NoneStruct)
  ------------------
  647|    675|    PyObject *closure = NULL;
  648|       |
  649|    675|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    675|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 675, False: 0]
  |  |  ------------------
  |  |   89|    675|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 675, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 675]
  |  |  |  Branch (89:43): [True: 675, False: 0]
  |  |  |  Branch (89:67): [True: 675, False: 0]
  |  |  ------------------
  |  |   90|    675|      (args) : \
  |  |   91|    675|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  650|    675|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  651|    675|    if (!args) {
  ------------------
  |  Branch (651:9): [True: 0, False: 675]
  ------------------
  652|      0|        goto exit;
  653|      0|    }
  654|    675|    source = args[0];
  655|    675|    if (!noptargs) {
  ------------------
  |  Branch (655:9): [True: 0, False: 675]
  ------------------
  656|      0|        goto skip_optional_pos;
  657|      0|    }
  658|    675|    if (args[1]) {
  ------------------
  |  Branch (658:9): [True: 675, False: 0]
  ------------------
  659|    675|        globals = args[1];
  660|    675|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 629, False: 46]
  ------------------
  661|    629|            goto skip_optional_pos;
  662|    629|        }
  663|    675|    }
  664|     46|    if (args[2]) {
  ------------------
  |  Branch (664:9): [True: 46, False: 0]
  ------------------
  665|     46|        locals = args[2];
  666|     46|        if (!--noptargs) {
  ------------------
  |  Branch (666:13): [True: 46, False: 0]
  ------------------
  667|     46|            goto skip_optional_pos;
  668|     46|        }
  669|     46|    }
  670|    675|skip_optional_pos:
  671|    675|    if (!noptargs) {
  ------------------
  |  Branch (671:9): [True: 675, False: 0]
  ------------------
  672|    675|        goto skip_optional_kwonly;
  673|    675|    }
  674|      0|    closure = args[3];
  675|    675|skip_optional_kwonly:
  676|    675|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  677|       |
  678|    675|exit:
  679|    675|    return return_value;
  680|    675|}
bltinmodule.c:builtin_globals:
  699|    100|{
  700|    100|    return builtin_globals_impl(module);
  701|    100|}
bltinmodule.c:builtin_hasattr:
  719|  1.72M|{
  720|  1.72M|    PyObject *return_value = NULL;
  721|  1.72M|    PyObject *obj;
  722|  1.72M|    PyObject *name;
  723|       |
  724|  1.72M|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   31|  1.72M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.72M, False: 0]
  |  |  |  Branch (31:27): [True: 1.72M, False: 0]
  |  |  ------------------
  |  |   32|  1.72M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  725|      0|        goto exit;
  726|      0|    }
  727|  1.72M|    obj = args[0];
  728|  1.72M|    name = args[1];
  729|  1.72M|    return_value = builtin_hasattr_impl(module, obj, name);
  730|       |
  731|  1.72M|exit:
  732|  1.72M|    return return_value;
  733|  1.72M|}
bltinmodule.c:builtin_id:
  752|    882|{
  753|    882|    PyObject *return_value = NULL;
  754|       |
  755|    882|    return_value = builtin_id_impl((PyModuleDef *)self, v);
  756|       |
  757|    882|    return return_value;
  758|    882|}
bltinmodule.c:builtin_isinstance:
 1340|    507|{
 1341|    507|    PyObject *return_value = NULL;
 1342|    507|    PyObject *obj;
 1343|    507|    PyObject *class_or_tuple;
 1344|       |
 1345|    507|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   31|    507|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 507, False: 0]
  |  |  |  Branch (31:27): [True: 507, False: 0]
  |  |  ------------------
  |  |   32|    507|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1346|      0|        goto exit;
 1347|      0|    }
 1348|    507|    obj = args[0];
 1349|    507|    class_or_tuple = args[1];
 1350|    507|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1351|       |
 1352|    507|exit:
 1353|    507|    return return_value;
 1354|    507|}
bltinmodule.c:builtin_issubclass:
 1375|  9.19k|{
 1376|  9.19k|    PyObject *return_value = NULL;
 1377|  9.19k|    PyObject *cls;
 1378|  9.19k|    PyObject *class_or_tuple;
 1379|       |
 1380|  9.19k|    if (!_PyArg_CheckPositional("issubclass", nargs, 2, 2)) {
  ------------------
  |  |   31|  9.19k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 9.19k, False: 0]
  |  |  |  Branch (31:27): [True: 9.19k, False: 0]
  |  |  ------------------
  |  |   32|  9.19k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1381|      0|        goto exit;
 1382|      0|    }
 1383|  9.19k|    cls = args[0];
 1384|  9.19k|    class_or_tuple = args[1];
 1385|  9.19k|    return_value = builtin_issubclass_impl(module, cls, class_or_tuple);
 1386|       |
 1387|  9.19k|exit:
 1388|  9.19k|    return return_value;
 1389|  9.19k|}
bltinmodule.c:builtin_locals:
  928|      4|{
  929|      4|    return builtin_locals_impl(module);
  930|      4|}
bltinmodule.c:builtin_pow:
  977|      2|{
  978|      2|    PyObject *return_value = NULL;
  979|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  980|       |
  981|      2|    #define NUM_KEYWORDS 3
  982|      2|    static struct {
  983|      2|        PyGC_Head _this_is_not_used;
  984|      2|        PyObject_VAR_HEAD
  985|      2|        Py_hash_t ob_hash;
  986|      2|        PyObject *ob_item[NUM_KEYWORDS];
  987|      2|    } _kwtuple = {
  988|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
  989|      2|        .ob_hash = -1,
  990|      2|        .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  991|      2|    };
  992|      2|    #undef NUM_KEYWORDS
  993|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  994|       |
  995|       |    #else  // !Py_BUILD_CORE
  996|       |    #  define KWTUPLE NULL
  997|       |    #endif  // !Py_BUILD_CORE
  998|       |
  999|      2|    static const char * const _keywords[] = {"base", "exp", "mod", NULL};
 1000|      2|    static _PyArg_Parser _parser = {
 1001|      2|        .keywords = _keywords,
 1002|      2|        .fname = "pow",
 1003|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  993|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1004|      2|    };
 1005|      2|    #undef KWTUPLE
 1006|      2|    PyObject *argsbuf[3];
 1007|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1007:36): [True: 0, False: 2]
  ------------------
 1008|      2|    PyObject *base;
 1009|      2|    PyObject *exp;
 1010|      2|    PyObject *mod = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1011|       |
 1012|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   89|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2]
  |  |  |  Branch (89:43): [True: 2, False: 0]
  |  |  |  Branch (89:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   90|      2|      (args) : \
  |  |   91|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1013|      2|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1014|      2|    if (!args) {
  ------------------
  |  Branch (1014:9): [True: 0, False: 2]
  ------------------
 1015|      0|        goto exit;
 1016|      0|    }
 1017|      2|    base = args[0];
 1018|      2|    exp = args[1];
 1019|      2|    if (!noptargs) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 2]
  ------------------
 1020|      0|        goto skip_optional_pos;
 1021|      0|    }
 1022|      2|    mod = args[2];
 1023|      2|skip_optional_pos:
 1024|      2|    return_value = builtin_pow_impl(module, base, exp, mod);
 1025|       |
 1026|      2|exit:
 1027|      2|    return return_value;
 1028|      2|}
bltinmodule.c:builtin_setattr:
  777|   789k|{
  778|   789k|    PyObject *return_value = NULL;
  779|   789k|    PyObject *obj;
  780|   789k|    PyObject *name;
  781|   789k|    PyObject *value;
  782|       |
  783|   789k|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   31|   789k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 789k, False: 0]
  |  |  |  Branch (31:27): [True: 789k, False: 0]
  |  |  ------------------
  |  |   32|   789k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  784|      0|        goto exit;
  785|      0|    }
  786|   789k|    obj = args[0];
  787|   789k|    name = args[1];
  788|   789k|    value = args[2];
  789|   789k|    return_value = builtin_setattr_impl(module, obj, name, value);
  790|       |
  791|   789k|exit:
  792|   789k|    return return_value;
  793|   789k|}
bltinmodule.c:builtin_sum:
 1270|  87.5k|{
 1271|  87.5k|    PyObject *return_value = NULL;
 1272|  87.5k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1273|       |
 1274|  87.5k|    #define NUM_KEYWORDS 1
 1275|  87.5k|    static struct {
 1276|  87.5k|        PyGC_Head _this_is_not_used;
 1277|  87.5k|        PyObject_VAR_HEAD
 1278|  87.5k|        Py_hash_t ob_hash;
 1279|  87.5k|        PyObject *ob_item[NUM_KEYWORDS];
 1280|  87.5k|    } _kwtuple = {
 1281|  87.5k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  87.5k|    {                                     \
  |  |   98|  87.5k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  87.5k|    {                               \
  |  |  |  |   91|  87.5k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  87.5k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  87.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  87.5k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  87.5k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  87.5k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  87.5k|        (type)                      \
  |  |  |  |   93|  87.5k|    },
  |  |  ------------------
  |  |   99|  87.5k|        (size)                            \
  |  |  100|  87.5k|    },
  ------------------
 1282|  87.5k|        .ob_hash = -1,
 1283|  87.5k|        .ob_item = { &_Py_ID(start), },
  ------------------
  |  |  919|  87.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  87.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  87.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  87.5k|    };
 1285|  87.5k|    #undef NUM_KEYWORDS
 1286|  87.5k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1287|       |
 1288|       |    #else  // !Py_BUILD_CORE
 1289|       |    #  define KWTUPLE NULL
 1290|       |    #endif  // !Py_BUILD_CORE
 1291|       |
 1292|  87.5k|    static const char * const _keywords[] = {"", "start", NULL};
 1293|  87.5k|    static _PyArg_Parser _parser = {
 1294|  87.5k|        .keywords = _keywords,
 1295|  87.5k|        .fname = "sum",
 1296|  87.5k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1286|  87.5k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1297|  87.5k|    };
 1298|  87.5k|    #undef KWTUPLE
 1299|  87.5k|    PyObject *argsbuf[2];
 1300|  87.5k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|     16|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:36): [True: 16, False: 87.5k]
  ------------------
 1301|  87.5k|    PyObject *iterable;
 1302|  87.5k|    PyObject *start = NULL;
 1303|       |
 1304|  87.5k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  87.5k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 87.5k, False: 16]
  |  |  ------------------
  |  |   89|  87.5k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 87.5k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 87.5k]
  |  |  |  Branch (89:43): [True: 87.5k, False: 0]
  |  |  |  Branch (89:67): [True: 87.5k, False: 0]
  |  |  ------------------
  |  |   90|  87.5k|      (args) : \
  |  |   91|  87.5k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     16|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1305|  87.5k|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1306|  87.5k|    if (!args) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 87.5k]
  ------------------
 1307|      0|        goto exit;
 1308|      0|    }
 1309|  87.5k|    iterable = args[0];
 1310|  87.5k|    if (!noptargs) {
  ------------------
  |  Branch (1310:9): [True: 87.4k, False: 76]
  ------------------
 1311|  87.4k|        goto skip_optional_pos;
 1312|  87.4k|    }
 1313|     76|    start = args[1];
 1314|  87.5k|skip_optional_pos:
 1315|  87.5k|    return_value = builtin_sum_impl(module, iterable, start);
 1316|       |
 1317|  87.5k|exit:
 1318|  87.5k|    return return_value;
 1319|  87.5k|}

import.c:_imp_extension_suffixes:
  140|      4|{
  141|      4|    return _imp_extension_suffixes_impl(module);
  142|      4|}
import.c:_imp_acquire_lock:
   49|  4.13k|{
   50|  4.13k|    return _imp_acquire_lock_impl(module);
   51|  4.13k|}
import.c:_imp_release_lock:
   69|  4.13k|{
   70|  4.13k|    return _imp_release_lock_impl(module);
   71|  4.13k|}
import.c:_imp_find_frozen:
  195|    622|{
  196|    622|    PyObject *return_value = NULL;
  197|    622|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  198|       |
  199|    622|    #define NUM_KEYWORDS 1
  200|    622|    static struct {
  201|    622|        PyGC_Head _this_is_not_used;
  202|    622|        PyObject_VAR_HEAD
  203|    622|        Py_hash_t ob_hash;
  204|    622|        PyObject *ob_item[NUM_KEYWORDS];
  205|    622|    } _kwtuple = {
  206|    622|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    622|    {                                     \
  |  |   98|    622|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    622|    {                               \
  |  |  |  |   91|    622|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    622|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    622|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    622|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    622|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    622|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    622|        (type)                      \
  |  |  |  |   93|    622|    },
  |  |  ------------------
  |  |   99|    622|        (size)                            \
  |  |  100|    622|    },
  ------------------
  207|    622|        .ob_hash = -1,
  208|    622|        .ob_item = { &_Py_ID(withdata), },
  ------------------
  |  |  919|    622|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    622|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    622|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    622|    };
  210|    622|    #undef NUM_KEYWORDS
  211|    622|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  212|       |
  213|       |    #else  // !Py_BUILD_CORE
  214|       |    #  define KWTUPLE NULL
  215|       |    #endif  // !Py_BUILD_CORE
  216|       |
  217|    622|    static const char * const _keywords[] = {"", "withdata", NULL};
  218|    622|    static _PyArg_Parser _parser = {
  219|    622|        .keywords = _keywords,
  220|    622|        .fname = "find_frozen",
  221|    622|        .kwtuple = KWTUPLE,
  ------------------
  |  |  211|    622|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  222|    622|    };
  223|    622|    #undef KWTUPLE
  224|    622|    PyObject *argsbuf[2];
  225|    622|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (225:36): [True: 0, False: 622]
  ------------------
  226|    622|    PyObject *name;
  227|    622|    int withdata = 0;
  228|       |
  229|    622|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    622|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 622, False: 0]
  |  |  ------------------
  |  |   89|    622|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 622, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 622]
  |  |  |  Branch (89:43): [True: 622, False: 0]
  |  |  |  Branch (89:67): [True: 622, False: 0]
  |  |  ------------------
  |  |   90|    622|      (args) : \
  |  |   91|    622|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  230|    622|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  231|    622|    if (!args) {
  ------------------
  |  Branch (231:9): [True: 0, False: 622]
  ------------------
  232|      0|        goto exit;
  233|      0|    }
  234|    622|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    622|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    622|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (234:9): [True: 0, False: 622]
  ------------------
  235|      0|        _PyArg_BadArgument("find_frozen", "argument 1", "str", args[0]);
  236|      0|        goto exit;
  237|      0|    }
  238|    622|    name = args[0];
  239|    622|    if (!noptargs) {
  ------------------
  |  Branch (239:9): [True: 622, False: 0]
  ------------------
  240|    622|        goto skip_optional_kwonly;
  241|    622|    }
  242|      0|    withdata = PyObject_IsTrue(args[1]);
  243|      0|    if (withdata < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 0]
  ------------------
  244|      0|        goto exit;
  245|      0|    }
  246|    622|skip_optional_kwonly:
  247|    622|    return_value = _imp_find_frozen_impl(module, name, withdata);
  248|       |
  249|    622|exit:
  250|    622|    return return_value;
  251|    622|}
import.c:_imp_get_frozen_object:
  268|     38|{
  269|     38|    PyObject *return_value = NULL;
  270|     38|    PyObject *name;
  271|     38|    PyObject *dataobj = Py_None;
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  272|       |
  273|     38|    if (!_PyArg_CheckPositional("get_frozen_object", nargs, 1, 2)) {
  ------------------
  |  |   31|     38|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 38, False: 0]
  |  |  |  Branch (31:27): [True: 38, False: 0]
  |  |  ------------------
  |  |   32|     38|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  274|      0|        goto exit;
  275|      0|    }
  276|     38|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     38|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (276:9): [True: 0, False: 38]
  ------------------
  277|      0|        _PyArg_BadArgument("get_frozen_object", "argument 1", "str", args[0]);
  278|      0|        goto exit;
  279|      0|    }
  280|     38|    name = args[0];
  281|     38|    if (nargs < 2) {
  ------------------
  |  Branch (281:9): [True: 38, False: 0]
  ------------------
  282|     38|        goto skip_optional;
  283|     38|    }
  284|      0|    dataobj = args[1];
  285|     38|skip_optional:
  286|     38|    return_value = _imp_get_frozen_object_impl(module, name, dataobj);
  287|       |
  288|     38|exit:
  289|     38|    return return_value;
  290|     38|}
import.c:_imp_is_frozen_package:
  306|      2|{
  307|      2|    PyObject *return_value = NULL;
  308|      2|    PyObject *name;
  309|       |
  310|      2|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (310:9): [True: 0, False: 2]
  ------------------
  311|      0|        _PyArg_BadArgument("is_frozen_package", "argument", "str", arg);
  312|      0|        goto exit;
  313|      0|    }
  314|      2|    name = arg;
  315|      2|    return_value = _imp_is_frozen_package_impl(module, name);
  316|       |
  317|      2|exit:
  318|      2|    return return_value;
  319|      2|}
import.c:_imp_is_builtin:
  335|    682|{
  336|    682|    PyObject *return_value = NULL;
  337|    682|    PyObject *name;
  338|       |
  339|    682|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    682|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    682|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (339:9): [True: 0, False: 682]
  ------------------
  340|      0|        _PyArg_BadArgument("is_builtin", "argument", "str", arg);
  341|      0|        goto exit;
  342|      0|    }
  343|    682|    name = arg;
  344|    682|    return_value = _imp_is_builtin_impl(module, name);
  345|       |
  346|    682|exit:
  347|    682|    return return_value;
  348|    682|}
import.c:_imp_is_frozen:
  364|      2|{
  365|      2|    PyObject *return_value = NULL;
  366|      2|    PyObject *name;
  367|       |
  368|      2|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (368:9): [True: 0, False: 2]
  ------------------
  369|      0|        _PyArg_BadArgument("is_frozen", "argument", "str", arg);
  370|      0|        goto exit;
  371|      0|    }
  372|      2|    name = arg;
  373|      2|    return_value = _imp_is_frozen_impl(module, name);
  374|       |
  375|      2|exit:
  376|      2|    return return_value;
  377|      2|}
import.c:_imp_create_dynamic:
  475|     50|{
  476|     50|    PyObject *return_value = NULL;
  477|     50|    PyObject *spec;
  478|     50|    PyObject *file = NULL;
  479|       |
  480|     50|    if (!_PyArg_CheckPositional("create_dynamic", nargs, 1, 2)) {
  ------------------
  |  |   31|     50|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 50, False: 0]
  |  |  |  Branch (31:27): [True: 50, False: 0]
  |  |  ------------------
  |  |   32|     50|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  481|      0|        goto exit;
  482|      0|    }
  483|     50|    spec = args[0];
  484|     50|    if (nargs < 2) {
  ------------------
  |  Branch (484:9): [True: 50, False: 0]
  ------------------
  485|     50|        goto skip_optional;
  486|     50|    }
  487|      0|    file = args[1];
  488|     50|skip_optional:
  489|     50|    return_value = _imp_create_dynamic_impl(module, spec, file);
  490|       |
  491|     50|exit:
  492|     50|    return return_value;
  493|     50|}
import.c:_imp_exec_dynamic:
  513|     48|{
  514|     48|    PyObject *return_value = NULL;
  515|     48|    int _return_value;
  516|       |
  517|     48|    _return_value = _imp_exec_dynamic_impl(module, mod);
  518|     48|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (518:9): [True: 0, False: 48]
  |  Branch (518:34): [True: 0, False: 0]
  ------------------
  519|      0|        goto exit;
  520|      0|    }
  521|     48|    return_value = PyLong_FromLong((long)_return_value);
  522|       |
  523|     48|exit:
  524|     48|    return return_value;
  525|     48|}
import.c:_imp_exec_builtin:
  543|     60|{
  544|     60|    PyObject *return_value = NULL;
  545|     60|    int _return_value;
  546|       |
  547|     60|    _return_value = _imp_exec_builtin_impl(module, mod);
  548|     60|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (548:9): [True: 0, False: 60]
  |  Branch (548:34): [True: 0, False: 0]
  ------------------
  549|      0|        goto exit;
  550|      0|    }
  551|     60|    return_value = PyLong_FromLong((long)_return_value);
  552|       |
  553|     60|exit:
  554|     60|    return return_value;
  555|     60|}
import.c:_imp__fix_co_filename:
   93|    502|{
   94|    502|    PyObject *return_value = NULL;
   95|    502|    PyCodeObject *code;
   96|    502|    PyObject *path;
   97|       |
   98|    502|    if (!_PyArg_CheckPositional("_fix_co_filename", nargs, 2, 2)) {
  ------------------
  |  |   31|    502|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 502, False: 0]
  |  |  |  Branch (31:27): [True: 502, False: 0]
  |  |  ------------------
  |  |   32|    502|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   99|      0|        goto exit;
  100|      0|    }
  101|    502|    if (!PyObject_TypeCheck(args[0], &PyCode_Type)) {
  ------------------
  |  |  378|    502|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 502]
  ------------------
  102|      0|        _PyArg_BadArgument("_fix_co_filename", "argument 1", (&PyCode_Type)->tp_name, args[0]);
  103|      0|        goto exit;
  104|      0|    }
  105|    502|    code = (PyCodeObject *)args[0];
  106|    502|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    502|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    502|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 502]
  ------------------
  107|      0|        _PyArg_BadArgument("_fix_co_filename", "argument 2", "str", args[1]);
  108|      0|        goto exit;
  109|      0|    }
  110|    502|    path = args[1];
  111|    502|    return_value = _imp__fix_co_filename_impl(module, code, path);
  112|       |
  113|    502|exit:
  114|    502|    return return_value;
  115|    502|}
import.c:_imp__set_lazy_attributes:
  641|    638|{
  642|    638|    PyObject *return_value = NULL;
  643|    638|    PyObject *modobj;
  644|    638|    PyObject *name;
  645|       |
  646|    638|    if (!_PyArg_CheckPositional("_set_lazy_attributes", nargs, 2, 2)) {
  ------------------
  |  |   31|    638|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 638, False: 0]
  |  |  |  Branch (31:27): [True: 638, False: 0]
  |  |  ------------------
  |  |   32|    638|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  647|      0|        goto exit;
  648|      0|    }
  649|    638|    modobj = args[0];
  650|    638|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    638|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    638|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (650:9): [True: 0, False: 638]
  ------------------
  651|      0|        _PyArg_BadArgument("_set_lazy_attributes", "argument 2", "str", args[1]);
  652|      0|        goto exit;
  653|      0|    }
  654|    638|    name = args[1];
  655|    638|    return_value = _imp__set_lazy_attributes_impl(module, modobj, name);
  656|       |
  657|    638|exit:
  658|    638|    return return_value;
  659|    638|}

marshal.c:marshal_loads:
  294|    502|{
  295|    502|    PyObject *return_value = NULL;
  296|    502|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  297|       |
  298|    502|    #define NUM_KEYWORDS 1
  299|    502|    static struct {
  300|    502|        PyGC_Head _this_is_not_used;
  301|    502|        PyObject_VAR_HEAD
  302|    502|        Py_hash_t ob_hash;
  303|    502|        PyObject *ob_item[NUM_KEYWORDS];
  304|    502|    } _kwtuple = {
  305|    502|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    502|    {                                     \
  |  |   98|    502|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    502|    {                               \
  |  |  |  |   91|    502|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    502|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    502|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    502|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    502|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    502|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    502|        (type)                      \
  |  |  |  |   93|    502|    },
  |  |  ------------------
  |  |   99|    502|        (size)                            \
  |  |  100|    502|    },
  ------------------
  306|    502|        .ob_hash = -1,
  307|    502|        .ob_item = { &_Py_ID(allow_code), },
  ------------------
  |  |  919|    502|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    502|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    502|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|    502|    };
  309|    502|    #undef NUM_KEYWORDS
  310|    502|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  311|       |
  312|       |    #else  // !Py_BUILD_CORE
  313|       |    #  define KWTUPLE NULL
  314|       |    #endif  // !Py_BUILD_CORE
  315|       |
  316|    502|    static const char * const _keywords[] = {"", "allow_code", NULL};
  317|    502|    static _PyArg_Parser _parser = {
  318|    502|        .keywords = _keywords,
  319|    502|        .fname = "loads",
  320|    502|        .kwtuple = KWTUPLE,
  ------------------
  |  |  310|    502|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  321|    502|    };
  322|    502|    #undef KWTUPLE
  323|    502|    PyObject *argsbuf[2];
  324|    502|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (324:36): [True: 0, False: 502]
  ------------------
  325|    502|    Py_buffer bytes = {NULL, NULL};
  326|    502|    int allow_code = 1;
  327|       |
  328|    502|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    502|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 502, False: 0]
  |  |  ------------------
  |  |   89|    502|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 502, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 502]
  |  |  |  Branch (89:43): [True: 502, False: 0]
  |  |  |  Branch (89:67): [True: 502, False: 0]
  |  |  ------------------
  |  |   90|    502|      (args) : \
  |  |   91|    502|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  329|    502|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  330|    502|    if (!args) {
  ------------------
  |  Branch (330:9): [True: 0, False: 502]
  ------------------
  331|      0|        goto exit;
  332|      0|    }
  333|    502|    if (PyObject_GetBuffer(args[0], &bytes, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    502|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (333:9): [True: 0, False: 502]
  ------------------
  334|      0|        goto exit;
  335|      0|    }
  336|    502|    if (!noptargs) {
  ------------------
  |  Branch (336:9): [True: 502, False: 0]
  ------------------
  337|    502|        goto skip_optional_kwonly;
  338|    502|    }
  339|      0|    allow_code = PyObject_IsTrue(args[1]);
  340|      0|    if (allow_code < 0) {
  ------------------
  |  Branch (340:9): [True: 0, False: 0]
  ------------------
  341|      0|        goto exit;
  342|      0|    }
  343|    502|skip_optional_kwonly:
  344|    502|    return_value = marshal_loads_impl(module, &bytes, allow_code);
  345|       |
  346|    502|exit:
  347|       |    /* Cleanup for bytes */
  348|    502|    if (bytes.obj) {
  ------------------
  |  Branch (348:9): [True: 502, False: 0]
  ------------------
  349|    502|       PyBuffer_Release(&bytes);
  350|    502|    }
  351|       |
  352|    502|    return return_value;
  353|    502|}

sysmodule.c:sys_audit:
   83|    678|{
   84|    678|    PyObject *return_value = NULL;
   85|    678|    const char *event;
   86|    678|    PyObject *__clinic_args = NULL;
   87|       |
   88|    678|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   31|    678|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 678, False: 0]
  |  |  |  Branch (31:27): [True: 678, False: 0]
  |  |  ------------------
  |  |   32|    678|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|    678|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    678|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    678|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (91:9): [True: 0, False: 678]
  ------------------
   92|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   93|      0|        goto exit;
   94|      0|    }
   95|    678|    Py_ssize_t event_length;
   96|    678|    event = PyUnicode_AsUTF8AndSize(args[0], &event_length);
   97|    678|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 678]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|    678|    if (strlen(event) != (size_t)event_length) {
  ------------------
  |  Branch (100:9): [True: 0, False: 678]
  ------------------
  101|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  102|      0|        goto exit;
  103|      0|    }
  104|    678|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  105|    678|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (105:9): [True: 0, False: 678]
  ------------------
  106|      0|        goto exit;
  107|      0|    }
  108|    678|    return_value = sys_audit_impl(module, event, __clinic_args);
  109|       |
  110|    678|exit:
  111|       |    /* Cleanup for args */
  112|    678|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  524|    678|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    678|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    678|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|    678|    return return_value;
  115|    678|}
sysmodule.c:sys_getfilesystemencoding:
  288|      6|{
  289|      6|    return sys_getfilesystemencoding_impl(module);
  290|      6|}
sysmodule.c:sys_getfilesystemencodeerrors:
  306|      2|{
  307|      2|    return sys_getfilesystemencodeerrors_impl(module);
  308|      2|}
sysmodule.c:sys_getrefcount:
  956|      2|{
  957|      2|    PyObject *return_value = NULL;
  958|      2|    Py_ssize_t _return_value;
  959|       |
  960|      2|    _return_value = sys_getrefcount_impl(module, object);
  961|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (961:9): [True: 0, False: 2]
  |  Branch (961:34): [True: 0, False: 0]
  ------------------
  962|      0|        goto exit;
  963|      0|    }
  964|      2|    return_value = PyLong_FromSsize_t(_return_value);
  965|       |
  966|      2|exit:
  967|      2|    return return_value;
  968|      2|}
sysmodule.c:sys_getrecursionlimit:
  728|    213|{
  729|    213|    return sys_getrecursionlimit_impl(module);
  730|    213|}
sysmodule.c:sys__getframe:
 1122|     46|{
 1123|     46|    PyObject *return_value = NULL;
 1124|     46|    int depth = 0;
 1125|       |
 1126|     46|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 1)) {
  ------------------
  |  |   31|     46|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 46, False: 0]
  |  |  |  Branch (31:27): [True: 46, False: 0]
  |  |  ------------------
  |  |   32|     46|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1127|      0|        goto exit;
 1128|      0|    }
 1129|     46|    if (nargs < 1) {
  ------------------
  |  Branch (1129:9): [True: 2, False: 44]
  ------------------
 1130|      2|        goto skip_optional;
 1131|      2|    }
 1132|     44|    depth = PyLong_AsInt(args[0]);
 1133|     44|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1133:9): [True: 0, False: 44]
  |  Branch (1133:24): [True: 0, False: 0]
  ------------------
 1134|      0|        goto exit;
 1135|      0|    }
 1136|     46|skip_optional:
 1137|     46|    return_value = sys__getframe_impl(module, depth);
 1138|       |
 1139|     46|exit:
 1140|     46|    return return_value;
 1141|     46|}
sysmodule.c:sys__getframemodulename:
 1670|     60|{
 1671|     60|    PyObject *return_value = NULL;
 1672|     60|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1673|       |
 1674|     60|    #define NUM_KEYWORDS 1
 1675|     60|    static struct {
 1676|     60|        PyGC_Head _this_is_not_used;
 1677|     60|        PyObject_VAR_HEAD
 1678|     60|        Py_hash_t ob_hash;
 1679|     60|        PyObject *ob_item[NUM_KEYWORDS];
 1680|     60|    } _kwtuple = {
 1681|     60|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     60|    {                                     \
  |  |   98|     60|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     60|    {                               \
  |  |  |  |   91|     60|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     60|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     60|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     60|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     60|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     60|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     60|        (type)                      \
  |  |  |  |   93|     60|    },
  |  |  ------------------
  |  |   99|     60|        (size)                            \
  |  |  100|     60|    },
  ------------------
 1682|     60|        .ob_hash = -1,
 1683|     60|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  919|     60|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     60|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     60|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|     60|    };
 1685|     60|    #undef NUM_KEYWORDS
 1686|     60|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1687|       |
 1688|       |    #else  // !Py_BUILD_CORE
 1689|       |    #  define KWTUPLE NULL
 1690|       |    #endif  // !Py_BUILD_CORE
 1691|       |
 1692|     60|    static const char * const _keywords[] = {"depth", NULL};
 1693|     60|    static _PyArg_Parser _parser = {
 1694|     60|        .keywords = _keywords,
 1695|     60|        .fname = "_getframemodulename",
 1696|     60|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1686|     60|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1697|     60|    };
 1698|     60|    #undef KWTUPLE
 1699|     60|    PyObject *argsbuf[1];
 1700|     60|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1700:36): [True: 0, False: 60]
  ------------------
 1701|     60|    int depth = 0;
 1702|       |
 1703|     60|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     60|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 60, False: 0]
  |  |  ------------------
  |  |   89|     60|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 60, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 60]
  |  |  |  Branch (89:43): [True: 60, False: 0]
  |  |  |  Branch (89:67): [True: 60, False: 0]
  |  |  ------------------
  |  |   90|     60|      (args) : \
  |  |   91|     60|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1704|     60|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1705|     60|    if (!args) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 60]
  ------------------
 1706|      0|        goto exit;
 1707|      0|    }
 1708|     60|    if (!noptargs) {
  ------------------
  |  Branch (1708:9): [True: 0, False: 60]
  ------------------
 1709|      0|        goto skip_optional_pos;
 1710|      0|    }
 1711|     60|    depth = PyLong_AsInt(args[0]);
 1712|     60|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 60]
  |  Branch (1712:24): [True: 0, False: 0]
  ------------------
 1713|      0|        goto exit;
 1714|      0|    }
 1715|     60|skip_optional_pos:
 1716|     60|    return_value = sys__getframemodulename_impl(module, depth);
 1717|       |
 1718|     60|exit:
 1719|     60|    return return_value;
 1720|     60|}
sysmodule.c:sys_intern:
  328|    598|{
  329|    598|    PyObject *return_value = NULL;
  330|    598|    PyObject *s;
  331|       |
  332|    598|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    598|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    598|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (332:9): [True: 0, False: 598]
  ------------------
  333|      0|        _PyArg_BadArgument("intern", "argument", "str", arg);
  334|      0|        goto exit;
  335|      0|    }
  336|    598|    s = arg;
  337|    598|    return_value = sys_intern_impl(module, s);
  338|       |
  339|    598|exit:
  340|    598|    return return_value;
  341|    598|}
sysmodule.c:sys_setrecursionlimit:
  582|     88|{
  583|     88|    PyObject *return_value = NULL;
  584|     88|    int new_limit;
  585|       |
  586|     88|    new_limit = PyLong_AsInt(arg);
  587|     88|    if (new_limit == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (587:9): [True: 0, False: 88]
  |  Branch (587:28): [True: 0, False: 0]
  ------------------
  588|      0|        goto exit;
  589|      0|    }
  590|     88|    return_value = sys_setrecursionlimit_impl(module, new_limit);
  591|       |
  592|     88|exit:
  593|     88|    return return_value;
  594|     88|}
sysmodule.c:sys__get_cpu_count_config:
 1736|      2|{
 1737|      2|    PyObject *return_value = NULL;
 1738|      2|    int _return_value;
 1739|       |
 1740|      2|    _return_value = sys__get_cpu_count_config_impl(module);
 1741|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1741:9): [True: 2, False: 0]
  |  Branch (1741:34): [True: 0, False: 2]
  ------------------
 1742|      0|        goto exit;
 1743|      0|    }
 1744|      2|    return_value = PyLong_FromLong((long)_return_value);
 1745|       |
 1746|      2|exit:
 1747|      2|    return return_value;
 1748|      2|}

PyCodec_Register:
   33|      2|{
   34|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   35|      2|    assert(interp->codecs.initialized);
   36|      2|    if (search_function == NULL) {
  ------------------
  |  Branch (36:9): [True: 0, False: 2]
  ------------------
   37|      0|        PyErr_BadArgument();
   38|      0|        goto onError;
   39|      0|    }
   40|      2|    if (!PyCallable_Check(search_function)) {
  ------------------
  |  Branch (40:9): [True: 0, False: 2]
  ------------------
   41|      0|        PyErr_SetString(PyExc_TypeError, "argument must be callable");
   42|      0|        goto onError;
   43|      0|    }
   44|      2|    FT_MUTEX_LOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  204|      2|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 2]
  |  |  ------------------
  ------------------
   45|      2|    int ret = PyList_Append(interp->codecs.search_path, search_function);
   46|      2|    FT_MUTEX_UNLOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  206|      2|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 2]
  |  |  ------------------
  ------------------
   47|       |
   48|      2|    return ret;
   49|       |
   50|      0| onError:
   51|      0|    return -1;
   52|      2|}
_PyCodec_Lookup:
  137|     28|{
  138|     28|    if (encoding == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 28]
  ------------------
  139|      0|        PyErr_BadArgument();
  140|      0|        return NULL;
  141|      0|    }
  142|       |
  143|     28|    PyInterpreterState *interp = _PyInterpreterState_GET();
  144|     28|    assert(interp->codecs.initialized);
  145|       |
  146|       |    /* Convert the encoding to a normalized Python string: all
  147|       |       ASCII letters are converted to lower case, spaces are
  148|       |       replaced with hyphens. */
  149|     28|    PyObject *v = normalizestring(encoding);
  150|     28|    if (v == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 28]
  ------------------
  151|      0|        return NULL;
  152|      0|    }
  153|       |
  154|       |    /* Intern the string. We'll make it immortal later if lookup succeeds. */
  155|     28|    _PyUnicode_InternMortal(interp, &v);
  156|       |
  157|       |    /* First, try to lookup the name in the registry dictionary */
  158|     28|    PyObject *result;
  159|     28|    if (PyDict_GetItemRef(interp->codecs.search_cache, v, &result) < 0) {
  ------------------
  |  Branch (159:9): [True: 0, False: 28]
  ------------------
  160|      0|        goto onError;
  161|      0|    }
  162|     28|    if (result != NULL) {
  ------------------
  |  Branch (162:9): [True: 24, False: 4]
  ------------------
  163|     24|        Py_DECREF(v);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     24|        return result;
  165|     24|    }
  166|       |
  167|       |    /* Next, scan the search functions in order of registration */
  168|      4|    const Py_ssize_t len = PyList_Size(interp->codecs.search_path);
  169|      4|    if (len < 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 4]
  ------------------
  170|      0|        goto onError;
  171|      4|    if (len == 0) {
  ------------------
  |  Branch (171:9): [True: 0, False: 4]
  ------------------
  172|      0|        PyErr_SetString(PyExc_LookupError,
  173|      0|                        "no codec search functions registered: "
  174|      0|                        "can't find encoding");
  175|      0|        goto onError;
  176|      0|    }
  177|       |
  178|      4|    Py_ssize_t i;
  179|      4|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (179:17): [True: 4, False: 0]
  ------------------
  180|      4|        PyObject *func;
  181|       |
  182|      4|        func = PyList_GetItemRef(interp->codecs.search_path, i);
  183|      4|        if (func == NULL)
  ------------------
  |  Branch (183:13): [True: 0, False: 4]
  ------------------
  184|      0|            goto onError;
  185|      4|        result = PyObject_CallOneArg(func, v);
  186|      4|        Py_DECREF(func);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  187|      4|        if (result == NULL)
  ------------------
  |  Branch (187:13): [True: 0, False: 4]
  ------------------
  188|      0|            goto onError;
  189|      4|        if (result == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (189:13): [True: 0, False: 4]
  ------------------
  190|      0|            Py_CLEAR(result);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  191|      0|            continue;
  192|      0|        }
  193|      4|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:13): [True: 0, False: 4]
  |  Branch (193:39): [True: 0, False: 4]
  ------------------
  194|      0|            PyErr_SetString(PyExc_TypeError,
  195|      0|                            "codec search functions must return 4-tuples");
  196|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      0|            goto onError;
  198|      0|        }
  199|      4|        break;
  200|      4|    }
  201|      4|    if (result == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 4]
  ------------------
  202|       |        /* XXX Perhaps we should cache misses too ? */
  203|      0|        PyErr_Format(PyExc_LookupError,
  204|      0|                     "unknown encoding: %s", encoding);
  205|      0|        goto onError;
  206|      0|    }
  207|       |
  208|      4|    _PyUnicode_InternImmortal(interp, &v);
  209|       |
  210|       |    /* Cache and return the result */
  211|      4|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (211:9): [True: 0, False: 4]
  ------------------
  212|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        goto onError;
  214|      0|    }
  215|      4|    Py_DECREF(v);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|      4|    return result;
  217|       |
  218|      0| onError:
  219|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|       |    return NULL;
  221|      4|}
_PyCodecInfo_GetIncrementalDecoder:
  341|     10|{
  342|     10|    return codec_makeincrementalcodec(codec_info, errors,
  343|     10|                                      "incrementaldecoder");
  344|     10|}
_PyCodecInfo_GetIncrementalEncoder:
  348|      4|{
  349|      4|    return codec_makeincrementalcodec(codec_info, errors,
  350|      4|                                      "incrementalencoder");
  351|      4|}
_PyCodec_LookupTextEncoding:
  515|     14|{
  516|     14|    PyObject *codec;
  517|     14|    PyObject *attr;
  518|     14|    int is_text_codec;
  519|       |
  520|     14|    codec = _PyCodec_Lookup(encoding);
  521|     14|    if (codec == NULL)
  ------------------
  |  Branch (521:9): [True: 0, False: 14]
  ------------------
  522|      0|        return NULL;
  523|       |
  524|       |    /* Backwards compatibility: assume any raw tuple describes a text
  525|       |     * encoding, and the same for anything lacking the private
  526|       |     * attribute.
  527|       |     */
  528|     14|    if (!PyTuple_CheckExact(codec)) {
  ------------------
  |  |   28|     14|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (528:9): [True: 14, False: 0]
  ------------------
  529|     14|        if (PyObject_GetOptionalAttr(codec, &_Py_ID(_is_text_encoding), &attr) < 0) {
  ------------------
  |  |  919|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (529:13): [True: 0, False: 14]
  ------------------
  530|      0|            Py_DECREF(codec);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|      0|            return NULL;
  532|      0|        }
  533|     14|        if (attr != NULL) {
  ------------------
  |  Branch (533:13): [True: 14, False: 0]
  ------------------
  534|     14|            is_text_codec = PyObject_IsTrue(attr);
  535|     14|            Py_DECREF(attr);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|     14|            if (is_text_codec <= 0) {
  ------------------
  |  Branch (536:17): [True: 0, False: 14]
  ------------------
  537|      0|                Py_DECREF(codec);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  538|      0|                if (!is_text_codec) {
  ------------------
  |  Branch (538:21): [True: 0, False: 0]
  ------------------
  539|      0|                    if (alternate_command != NULL) {
  ------------------
  |  Branch (539:25): [True: 0, False: 0]
  ------------------
  540|      0|                        PyErr_Format(PyExc_LookupError,
  541|      0|                                     "'%.400s' is not a text encoding; "
  542|      0|                                     "use %s to handle arbitrary codecs",
  543|      0|                                     encoding, alternate_command);
  544|      0|                    }
  545|      0|                    else {
  546|      0|                        PyErr_Format(PyExc_LookupError,
  547|      0|                                     "'%.400s' is not a text encoding",
  548|      0|                                     encoding);
  549|      0|                    }
  550|      0|                }
  551|      0|                return NULL;
  552|      0|            }
  553|     14|        }
  554|     14|    }
  555|       |
  556|       |    /* This appears to be a valid text encoding */
  557|     14|    return codec;
  558|     14|}
PyCodec_LookupError:
  650|     12|{
  651|     12|    PyInterpreterState *interp = _PyInterpreterState_GET();
  652|     12|    assert(interp->codecs.initialized);
  653|       |
  654|     12|    if (name==NULL)
  ------------------
  |  Branch (654:9): [True: 0, False: 12]
  ------------------
  655|      0|        name = "strict";
  656|     12|    PyObject *handler;
  657|     12|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (657:9): [True: 0, False: 12]
  ------------------
  658|      0|        return NULL;
  659|      0|    }
  660|     12|    if (handler == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 12]
  ------------------
  661|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  662|      0|        return NULL;
  663|      0|    }
  664|     12|    return handler;
  665|     12|}
PyCodec_StrictErrors:
  781|  4.91k|{
  782|  4.91k|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  4.91k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.91k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.91k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  783|  4.91k|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|  4.91k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|  4.91k|    }
  785|      0|    else {
  786|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  787|      0|    }
  788|       |    return NULL;
  789|  4.91k|}
_PyCodec_InitRegistry:
 1567|      2|{
 1568|      2|    static struct {
 1569|      2|        const char *name;
 1570|      2|        PyMethodDef def;
 1571|      2|    } methods[] =
 1572|      2|    {
 1573|      2|        {
 1574|      2|            "strict",
 1575|      2|            {
 1576|      2|                "strict_errors",
 1577|      2|                strict_errors,
 1578|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1579|      2|                PyDoc_STR("Implements the 'strict' error handling, which "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1580|      2|                          "raises a UnicodeError on coding errors.")
 1581|      2|            }
 1582|      2|        },
 1583|      2|        {
 1584|      2|            "ignore",
 1585|      2|            {
 1586|      2|                "ignore_errors",
 1587|      2|                ignore_errors,
 1588|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1589|      2|                PyDoc_STR("Implements the 'ignore' error handling, which "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1590|      2|                          "ignores malformed data and continues.")
 1591|      2|            }
 1592|      2|        },
 1593|      2|        {
 1594|      2|            "replace",
 1595|      2|            {
 1596|      2|                "replace_errors",
 1597|      2|                replace_errors,
 1598|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1599|      2|                PyDoc_STR("Implements the 'replace' error handling, which "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1600|      2|                          "replaces malformed data with a replacement marker.")
 1601|      2|            }
 1602|      2|        },
 1603|      2|        {
 1604|      2|            "xmlcharrefreplace",
 1605|      2|            {
 1606|      2|                "xmlcharrefreplace_errors",
 1607|      2|                xmlcharrefreplace_errors,
 1608|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1609|      2|                PyDoc_STR("Implements the 'xmlcharrefreplace' error handling, "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1610|      2|                          "which replaces an unencodable character with the "
 1611|      2|                          "appropriate XML character reference.")
 1612|      2|            }
 1613|      2|        },
 1614|      2|        {
 1615|      2|            "backslashreplace",
 1616|      2|            {
 1617|      2|                "backslashreplace_errors",
 1618|      2|                backslashreplace_errors,
 1619|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1620|      2|                PyDoc_STR("Implements the 'backslashreplace' error handling, "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1621|      2|                          "which replaces malformed data with a backslashed "
 1622|      2|                          "escape sequence.")
 1623|      2|            }
 1624|      2|        },
 1625|      2|        {
 1626|      2|            "namereplace",
 1627|      2|            {
 1628|      2|                "namereplace_errors",
 1629|      2|                namereplace_errors,
 1630|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1631|      2|                PyDoc_STR("Implements the 'namereplace' error handling, "
  ------------------
  |  |  204|      2|#define PyDoc_STR(str) str
  ------------------
 1632|      2|                          "which replaces an unencodable character with a "
 1633|      2|                          "\\N{...} escape sequence.")
 1634|      2|            }
 1635|      2|        },
 1636|      2|        {
 1637|      2|            "surrogatepass",
 1638|      2|            {
 1639|      2|                "surrogatepass",
 1640|      2|                surrogatepass_errors,
 1641|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1642|      2|            }
 1643|      2|        },
 1644|      2|        {
 1645|      2|            "surrogateescape",
 1646|      2|            {
 1647|      2|                "surrogateescape",
 1648|      2|                surrogateescape_errors,
 1649|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1650|      2|            }
 1651|      2|        }
 1652|      2|    };
 1653|       |    // ensure that the built-in error handlers' names are kept in sync
 1654|      2|    assert(Py_ARRAY_LENGTH(methods) == Py_ARRAY_LENGTH(codecs_builtin_error_handlers));
 1655|       |
 1656|      2|    assert(interp->codecs.initialized == 0);
 1657|      2|    interp->codecs.search_path = PyList_New(0);
 1658|      2|    if (interp->codecs.search_path == NULL) {
  ------------------
  |  Branch (1658:9): [True: 0, False: 2]
  ------------------
 1659|      0|        return PyStatus_NoMemory();
 1660|      0|    }
 1661|      2|    interp->codecs.search_cache = PyDict_New();
 1662|      2|    if (interp->codecs.search_cache == NULL) {
  ------------------
  |  Branch (1662:9): [True: 0, False: 2]
  ------------------
 1663|      0|        return PyStatus_NoMemory();
 1664|      0|    }
 1665|      2|    interp->codecs.error_registry = PyDict_New();
 1666|      2|    if (interp->codecs.error_registry == NULL) {
  ------------------
  |  Branch (1666:9): [True: 0, False: 2]
  ------------------
 1667|      0|        return PyStatus_NoMemory();
 1668|      0|    }
 1669|     18|    for (size_t i = 0; i < Py_ARRAY_LENGTH(methods); ++i) {
  ------------------
  |  |  196|     18|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1669:24): [True: 16, False: 2]
  ------------------
 1670|     16|        PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL);
  ------------------
  |  |   87|     16|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 1671|     16|        if (func == NULL) {
  ------------------
  |  Branch (1671:13): [True: 0, False: 16]
  ------------------
 1672|      0|            return PyStatus_NoMemory();
 1673|      0|        }
 1674|       |
 1675|     16|        int res = PyDict_SetItemString(interp->codecs.error_registry,
 1676|     16|                                       methods[i].name, func);
 1677|     16|        Py_DECREF(func);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1678|     16|        if (res < 0) {
  ------------------
  |  Branch (1678:13): [True: 0, False: 16]
  ------------------
 1679|      0|            return PyStatus_Error("Failed to insert into codec error registry");
 1680|      0|        }
 1681|     16|    }
 1682|       |
 1683|      2|    interp->codecs.initialized = 1;
 1684|       |
 1685|       |    // Importing `encodings' will call back into this module to register codec
 1686|       |    // search functions, so this is done after everything else is initialized.
 1687|      2|    PyObject *mod = PyImport_ImportModule("encodings");
 1688|      2|    if (mod == NULL) {
  ------------------
  |  Branch (1688:9): [True: 0, False: 2]
  ------------------
 1689|      0|        return PyStatus_Error("Failed to import encodings module");
 1690|      0|    }
 1691|      2|    Py_DECREF(mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|       |
 1693|      2|    return PyStatus_Ok();
 1694|      2|}
codecs.c:normalizestring:
   92|     28|{
   93|     28|    size_t i;
   94|     28|    size_t len = strlen(string);
   95|     28|    char *p;
   96|     28|    PyObject *v;
   97|       |
   98|     28|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     28|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (98:9): [True: 0, False: 28]
  ------------------
   99|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
  100|      0|        return NULL;
  101|      0|    }
  102|       |
  103|     28|    p = PyMem_Malloc(len + 1);
  104|     28|    if (p == NULL)
  ------------------
  |  Branch (104:9): [True: 0, False: 28]
  ------------------
  105|      0|        return PyErr_NoMemory();
  106|    174|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (106:17): [True: 146, False: 28]
  ------------------
  107|    146|        char ch = string[i];
  108|    146|        if (ch == ' ')
  ------------------
  |  Branch (108:13): [True: 0, False: 146]
  ------------------
  109|      0|            ch = '-';
  110|    146|        else
  111|    146|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|    146|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|    146|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  112|    146|        p[i] = ch;
  113|    146|    }
  114|     28|    p[i] = '\0';
  115|     28|    v = PyUnicode_FromString(p);
  116|     28|    PyMem_Free(p);
  117|     28|    return v;
  118|     28|}
codecs.c:codec_makeincrementalcodec:
  284|     14|{
  285|     14|    PyObject *ret, *inccodec;
  286|       |
  287|     14|    inccodec = PyObject_GetAttrString(codec_info, attrname);
  288|     14|    if (inccodec == NULL)
  ------------------
  |  Branch (288:9): [True: 0, False: 14]
  ------------------
  289|      0|        return NULL;
  290|     14|    if (errors)
  ------------------
  |  Branch (290:9): [True: 14, False: 0]
  ------------------
  291|     14|        ret = PyObject_CallFunction(inccodec, "s", errors);
  292|      0|    else
  293|      0|        ret = _PyObject_CallNoArgs(inccodec);
  294|     14|    Py_DECREF(inccodec);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|     14|    return ret;
  296|     14|}

_Py_CArray_Init:
  110|    225|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  111|    225|    memset(array, 0, sizeof(_Py_c_array_t));
  112|    225|    array->item_size = item_size;
  113|    225|    array->initial_num_entries = initial_num_entries;
  114|    225|    return 0;
  115|    225|}
_Py_CArray_Fini:
  119|    225|{
  120|    225|    if (array->array) {
  ------------------
  |  Branch (120:9): [True: 143, False: 82]
  ------------------
  121|    143|        PyMem_Free(array->array);
  122|    143|        array->allocated_entries = 0;
  123|    143|    }
  124|    225|}
_Py_CArray_EnsureCapacity:
  128|  48.8k|{
  129|  48.8k|    void *arr = c_array->array;
  130|  48.8k|    int alloc = c_array->allocated_entries;
  131|  48.8k|    if (arr == NULL) {
  ------------------
  |  Branch (131:9): [True: 4.62k, False: 44.2k]
  ------------------
  132|  4.62k|        int new_alloc = c_array->initial_num_entries;
  133|  4.62k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (133:13): [True: 0, False: 4.62k]
  ------------------
  134|      0|            new_alloc = idx + c_array->initial_num_entries;
  135|      0|        }
  136|  4.62k|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  137|  4.62k|        if (arr == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 4.62k]
  ------------------
  138|      0|            PyErr_NoMemory();
  139|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  140|      0|        }
  141|  4.62k|        alloc = new_alloc;
  142|  4.62k|    }
  143|  44.2k|    else if (idx >= alloc) {
  ------------------
  |  Branch (143:14): [True: 320, False: 43.8k]
  ------------------
  144|    320|        size_t oldsize = alloc * c_array->item_size;
  145|    320|        int new_alloc = alloc << 1;
  146|    320|        if (idx >= new_alloc) {
  ------------------
  |  Branch (146:13): [True: 0, False: 320]
  ------------------
  147|      0|            new_alloc = idx + c_array->initial_num_entries;
  148|      0|        }
  149|    320|        size_t newsize = new_alloc * c_array->item_size;
  150|       |
  151|    320|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (151:13): [True: 0, False: 320]
  ------------------
  152|      0|            PyErr_NoMemory();
  153|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  154|      0|        }
  155|       |
  156|    320|        assert(newsize > 0);
  157|    320|        void *tmp = PyMem_Realloc(arr, newsize);
  158|    320|        if (tmp == NULL) {
  ------------------
  |  Branch (158:13): [True: 0, False: 320]
  ------------------
  159|      0|            PyErr_NoMemory();
  160|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  161|      0|        }
  162|    320|        alloc = new_alloc;
  163|    320|        arr = tmp;
  164|    320|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  165|    320|    }
  166|       |
  167|  48.8k|    c_array->array = arr;
  168|  48.8k|    c_array->allocated_entries = alloc;
  169|  48.8k|    return SUCCESS;
  ------------------
  |  |   47|  48.8k|#define SUCCESS 0
  ------------------
  170|  48.8k|}
_PyCodegen_Expression:
  896|     78|{
  897|     78|    VISIT(c, expr, e);
  ------------------
  |  |  452|     78|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     78|    do {                    \
  |  |  |  |   52|     78|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 78]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     78|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 78]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|     78|    return SUCCESS;
  ------------------
  |  |   47|     78|#define SUCCESS 0
  ------------------
  899|     78|}
_PyCodegen_Module:
  906|    141|{
  907|    141|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|    141|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (907:9): [True: 0, False: 141]
  ------------------
  908|      0|        ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|      0|        ADDOP_N(c, loc, STORE_NAME, &_Py_ID(__conditional_annotations__), names);
  ------------------
  |  |  337|      0|    do {                                                                \
  |  |  338|      0|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  339|      0|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  340|      0|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  341|      0|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  342|      0|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (343:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  910|      0|    }
  911|    141|    return codegen_body(c, loc, stmts, is_interactive);
  912|    141|}
_PyCodegen_EnterAnonymousScope:
  961|    219|{
  962|    219|    _Py_DECLARE_STR(anon_module, "<module>");
  963|    219|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    219|    do {                    \
  |  |   52|    219|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 219]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    219|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 219]
  |  |  ------------------
  ------------------
  964|    219|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  965|    219|                            mod, 1, NULL, NULL));
  966|    219|    return SUCCESS;
  ------------------
  |  |   47|    219|#define SUCCESS 0
  ------------------
  967|    219|}
_PyCodegen_AddReturnAtEnd:
 6687|    733|{
 6688|       |    /* Make sure every instruction stream that falls off the end returns None.
 6689|       |     * This also ensures that no jump target offsets are out of bounds.
 6690|       |     */
 6691|    733|    if (addNone) {
  ------------------
  |  Branch (6691:9): [True: 655, False: 78]
  ------------------
 6692|    655|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|    655|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    655|    do {                    \
  |  |  |  |   52|    655|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 655]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    655|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 655]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6693|    655|    }
 6694|    733|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  290|    733|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    733|    do {                    \
  |  |  |  |   52|    733|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 733]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    733|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 733]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6695|    733|    return SUCCESS;
  ------------------
  |  |   47|    733|#define SUCCESS 0
  ------------------
 6696|    733|}
codegen.c:codegen_addop_i:
  261|  11.3k|{
  262|       |    /* oparg value is unsigned, but a signed C int is usually used to store
  263|       |       it in the C code (like Python/ceval.c).
  264|       |
  265|       |       Limit to 32-bit signed C int (rather than INT_MAX) for portability.
  266|       |
  267|       |       The argument of a concrete bytecode instruction is limited to 8-bit.
  268|       |       EXTENDED_ARG is used for 16, 24, and 32-bit arguments. */
  269|       |
  270|  11.3k|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|  11.3k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  11.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  271|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  272|  11.3k|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  273|  11.3k|}
codegen.c:codegen_addop_o:
  329|  2.99k|{
  330|  2.99k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  331|  2.99k|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|  2.99k|    do {                    \
  |  |   52|  2.99k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.99k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.99k]
  |  |  ------------------
  ------------------
  332|  2.99k|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  276|  2.99k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.99k|    do {                    \
  |  |  |  |   52|  2.99k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.99k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.99k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|  2.99k|    return SUCCESS;
  ------------------
  |  |   47|  2.99k|#define SUCCESS 0
  ------------------
  334|  2.99k|}
codegen.c:codegen_body:
  916|    141|{
  917|       |    /* If from __future__ import annotations is active,
  918|       |     * every annotated class and module should have __annotations__.
  919|       |     * Else __annotate__ is created when necessary. */
  920|    141|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    141|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  921|    141|    if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |   69|    141|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |  143|    141|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (921:9): [True: 0, False: 141]
  |  Branch (921:57): [True: 0, False: 0]
  ------------------
  922|      0|        ADDOP(c, loc, SETUP_ANNOTATIONS);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      0|    }
  924|    141|    if (!asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|    141|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    282|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (924:9): [True: 0, False: 141]
  ------------------
  925|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  926|      0|    }
  927|    141|    Py_ssize_t first_instr = 0;
  928|    141|    if (!is_interactive) { /* A string literal on REPL prompt is not a docstring */
  ------------------
  |  Branch (928:9): [True: 141, False: 0]
  ------------------
  929|    141|        if (ste->ste_has_docstring) {
  ------------------
  |  Branch (929:13): [True: 0, False: 141]
  ------------------
  930|      0|            PyObject *docstring = _PyAST_GetDocString(stmts);
  931|      0|            assert(docstring);
  932|      0|            first_instr = 1;
  933|       |            /* set docstring */
  934|      0|            assert(OPTIMIZATION_LEVEL(c) < 2);
  935|      0|            PyObject *cleandoc = _PyCompile_CleanDoc(docstring);
  936|      0|            if (cleandoc == NULL) {
  ------------------
  |  Branch (936:17): [True: 0, False: 0]
  ------------------
  937|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  938|      0|            }
  939|      0|            stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  940|      0|            assert(st->kind == Expr_kind);
  941|      0|            location loc = LOC(st->v.Expr.value);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  942|      0|            ADDOP_LOAD_CONST(c, loc, cleandoc);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  943|      0|            Py_DECREF(cleandoc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|      0|            RETURN_IF_ERROR(codegen_nameop(c, NO_LOCATION, &_Py_ID(__doc__), Store));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  945|      0|        }
  946|    141|    }
  947|    393|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(stmts); i++) {
  ------------------
  |  |   83|    393|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    786|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 393]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:38): [True: 252, False: 141]
  ------------------
  948|    252|        VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i));
  ------------------
  |  |  452|    252|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    252|    do {                    \
  |  |  |  |   52|    252|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 252]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    252|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 252]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|    252|    }
  950|       |    // If there are annotations and the future import is not on, we
  951|       |    // collect the annotations in a separate pass and generate an
  952|       |    // __annotate__ function. See PEP 649.
  953|    141|    if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |   69|    141|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|    141|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (953:9): [True: 141, False: 0]
  ------------------
  954|    141|        RETURN_IF_ERROR(codegen_process_deferred_annotations(c, loc));
  ------------------
  |  |   51|    141|    do {                    \
  |  |   52|    141|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 141]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    141|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 141]
  |  |  ------------------
  ------------------
  955|    141|    }
  956|    141|    return SUCCESS;
  ------------------
  |  |   47|    141|#define SUCCESS 0
  ------------------
  957|    141|}
codegen.c:codegen_nameop:
 3283|  4.21k|{
 3284|  4.21k|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
 3285|  4.21k|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3286|  4.21k|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3287|       |
 3288|  4.21k|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3289|  4.21k|    if (!mangled) {
  ------------------
  |  Branch (3289:9): [True: 0, False: 4.21k]
  ------------------
 3290|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3291|      0|    }
 3292|       |
 3293|  4.21k|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), mangled);
  ------------------
  |  |   71|  4.21k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3294|  4.21k|    if (scope == -1) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 4.21k]
  ------------------
 3295|      0|        goto error;
 3296|      0|    }
 3297|       |
 3298|  4.21k|    _PyCompile_optype optype;
 3299|  4.21k|    Py_ssize_t arg = 0;
 3300|  4.21k|    if (_PyCompile_ResolveNameop(c, mangled, scope, &optype, &arg) < 0) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 4.21k]
  ------------------
 3301|      0|        Py_DECREF(mangled);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3303|      0|    }
 3304|       |
 3305|       |    /* XXX Leave assert here, but handle __doc__ and the like better */
 3306|  4.21k|    assert(scope || PyUnicode_READ_CHAR(name, 0) == '_');
 3307|       |
 3308|  4.21k|    int op = 0;
 3309|  4.21k|    switch (optype) {
  ------------------
  |  Branch (3309:13): [True: 4.21k, False: 0]
  ------------------
 3310|    431|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3310:5): [True: 431, False: 3.78k]
  ------------------
 3311|    431|        switch (ctx) {
  ------------------
  |  Branch (3311:17): [True: 431, False: 0]
  ------------------
 3312|    431|        case Load:
  ------------------
  |  Branch (3312:9): [True: 431, False: 0]
  ------------------
 3313|    431|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock && !_PyCompile_IsInInlinedComp(c)) {
  ------------------
  |  |   71|    431|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3313:17): [True: 0, False: 431]
  |  Branch (3313:62): [True: 0, False: 0]
  ------------------
 3314|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |  102|      0|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
 3315|       |                // First load the locals
 3316|      0|                if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                              if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   33|      0|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (3316:21): [True: 0, False: 0]
  ------------------
 3317|      0|                    goto error;
 3318|      0|                }
 3319|      0|            }
 3320|    431|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|    431|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3320:22): [True: 0, False: 431]
  ------------------
 3321|      0|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |  102|      0|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
 3322|       |                // First load the classdict
 3323|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3323:21): [True: 0, False: 0]
  ------------------
 3324|      0|                    goto error;
 3325|      0|                }
 3326|      0|            }
 3327|    431|            else {
 3328|    431|                op = LOAD_DEREF;
  ------------------
  |  |   95|    431|#define LOAD_DEREF                              82
  ------------------
 3329|    431|            }
 3330|    431|            break;
 3331|    431|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  123|      0|#define STORE_DEREF                            110
  ------------------
  |  Branch (3331:9): [True: 0, False: 431]
  ------------------
 3332|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   73|      0|#define DELETE_DEREF                            60
  ------------------
  |  Branch (3332:9): [True: 0, False: 431]
  ------------------
 3333|    431|        }
 3334|    431|        break;
 3335|  2.99k|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3335:5): [True: 2.99k, False: 1.21k]
  ------------------
 3336|  2.99k|        switch (ctx) {
  ------------------
  |  Branch (3336:17): [True: 2.99k, False: 0]
  ------------------
 3337|  2.66k|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   96|  2.66k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3337:9): [True: 2.66k, False: 331]
  ------------------
 3338|    331|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  124|    331|#define STORE_FAST                             111
  ------------------
  |  Branch (3338:9): [True: 331, False: 2.66k]
  ------------------
 3339|      0|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   74|      0|#define DELETE_FAST                             61
  ------------------
  |  Branch (3339:9): [True: 0, False: 2.99k]
  ------------------
 3340|  2.99k|        }
 3341|  2.99k|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  337|  2.99k|    do {                                                                \
  |  |  338|  2.99k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  339|  2.99k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  340|  2.99k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  2.99k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  341|  2.99k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  2.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  342|  2.99k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  2.99k|    do {                    \
  |  |  |  |   52|  2.99k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.99k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.99k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|  2.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (343:14): [Folded, False: 2.99k]
  |  |  ------------------
  ------------------
 3342|  2.99k|        return SUCCESS;
  ------------------
  |  |   47|  2.99k|#define SUCCESS 0
  ------------------
 3343|    506|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3343:5): [True: 506, False: 3.71k]
  ------------------
 3344|    506|        switch (ctx) {
  ------------------
  |  Branch (3344:17): [True: 506, False: 0]
  ------------------
 3345|    506|        case Load:
  ------------------
  |  Branch (3345:9): [True: 506, False: 0]
  ------------------
 3346|    506|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|    506|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|      0|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3346:17): [True: 0, False: 506]
  |  Branch (3346:63): [True: 0, False: 0]
  ------------------
 3347|      0|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  103|      0|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
 3348|       |                // First load the classdict
 3349|      0|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3349:21): [True: 0, False: 0]
  ------------------
 3350|      0|                    goto error;
 3351|      0|                }
 3352|    506|            } else {
 3353|    506|                op = LOAD_GLOBAL;
  ------------------
  |  |  104|    506|#define LOAD_GLOBAL                             91
  ------------------
 3354|    506|            }
 3355|    506|            break;
 3356|    506|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  127|      0|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (3356:9): [True: 0, False: 506]
  ------------------
 3357|      0|        case Del: op = DELETE_GLOBAL; break;
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (3357:9): [True: 0, False: 506]
  ------------------
 3358|    506|        }
 3359|    506|        break;
 3360|    506|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3360:5): [True: 282, False: 3.93k]
  ------------------
 3361|    282|        switch (ctx) {
  ------------------
  |  Branch (3361:17): [True: 282, False: 0]
  ------------------
 3362|     34|        case Load:
  ------------------
  |  Branch (3362:9): [True: 34, False: 248]
  ------------------
 3363|     34|            op = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock
  ------------------
  |  |   71|     34|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3363:19): [True: 0, False: 34]
  ------------------
 3364|      0|                    && _PyCompile_IsInInlinedComp(c))
  ------------------
  |  Branch (3364:24): [True: 0, False: 0]
  ------------------
 3365|     34|                ? LOAD_GLOBAL
  ------------------
  |  |  104|      0|#define LOAD_GLOBAL                             91
  ------------------
 3366|     34|                : LOAD_NAME;
  ------------------
  |  |  105|     68|#define LOAD_NAME                               92
  ------------------
 3367|     34|            break;
 3368|    248|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  128|    248|#define STORE_NAME                             115
  ------------------
  |  Branch (3368:9): [True: 248, False: 34]
  ------------------
 3369|      0|        case Del: op = DELETE_NAME; break;
  ------------------
  |  |   76|      0|#define DELETE_NAME                             63
  ------------------
  |  Branch (3369:9): [True: 0, False: 282]
  ------------------
 3370|    282|        }
 3371|    282|        break;
 3372|  4.21k|    }
 3373|       |
 3374|  4.21k|    assert(op);
 3375|  1.21k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  1.21k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3376|  1.21k|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  104|  1.21k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (3376:9): [True: 506, False: 713]
  ------------------
 3377|    506|        arg <<= 1;
 3378|    506|    }
 3379|  1.21k|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  276|  1.21k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.21k|    do {                    \
  |  |  |  |   52|  1.21k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.21k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|  1.21k|    return SUCCESS;
  ------------------
  |  |   47|  1.21k|#define SUCCESS 0
  ------------------
 3381|       |
 3382|      0|error:
 3383|      0|    Py_DECREF(mangled);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3384|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3385|  1.21k|}
codegen.c:codegen_visit_stmt:
 3087|  1.51k|{
 3088|       |
 3089|  1.51k|    switch (s->kind) {
  ------------------
  |  Branch (3089:13): [True: 1.51k, False: 0]
  ------------------
 3090|    444|    case FunctionDef_kind:
  ------------------
  |  Branch (3090:5): [True: 444, False: 1.07k]
  ------------------
 3091|    444|        return codegen_function(c, s, 0);
 3092|      0|    case ClassDef_kind:
  ------------------
  |  Branch (3092:5): [True: 0, False: 1.51k]
  ------------------
 3093|      0|        return codegen_class(c, s);
 3094|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (3094:5): [True: 0, False: 1.51k]
  ------------------
 3095|      0|        return codegen_typealias(c, s);
 3096|    438|    case Return_kind:
  ------------------
  |  Branch (3096:5): [True: 438, False: 1.07k]
  ------------------
 3097|    438|        return codegen_return(c, s);
 3098|      0|    case Delete_kind:
  ------------------
  |  Branch (3098:5): [True: 0, False: 1.51k]
  ------------------
 3099|      0|        VISIT_SEQ(c, expr, s->v.Delete.targets);
  ------------------
  |  |  458|      0|    do {                                                                    \
  |  |  459|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|      0|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  461|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      0|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      0|        }                                                                   \
  |  |  464|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3100|      0|        break;
 3101|    136|    case Assign_kind:
  ------------------
  |  Branch (3101:5): [True: 136, False: 1.37k]
  ------------------
 3102|    136|    {
 3103|    136|        Py_ssize_t n = asdl_seq_LEN(s->v.Assign.targets);
  ------------------
  |  |   83|    136|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    272|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|    136|        VISIT(c, expr, s->v.Assign.value);
  ------------------
  |  |  452|    136|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3105|    272|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3105:32): [True: 136, False: 136]
  ------------------
 3106|    136|            if (i < n - 1) {
  ------------------
  |  Branch (3106:17): [True: 0, False: 136]
  ------------------
 3107|      0|                ADDOP_I(c, LOC(s), COPY, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|      0|            }
 3109|    136|            VISIT(c, expr,
  ------------------
  |  |  452|    136|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3110|    136|                  (expr_ty)asdl_seq_GET(s->v.Assign.targets, i));
 3111|    136|        }
 3112|    136|        break;
 3113|    136|    }
 3114|    136|    case AugAssign_kind:
  ------------------
  |  Branch (3114:5): [True: 0, False: 1.51k]
  ------------------
 3115|      0|        return codegen_augassign(c, s);
 3116|      0|    case AnnAssign_kind:
  ------------------
  |  Branch (3116:5): [True: 0, False: 1.51k]
  ------------------
 3117|      0|        return codegen_annassign(c, s);
 3118|      2|    case For_kind:
  ------------------
  |  Branch (3118:5): [True: 2, False: 1.51k]
  ------------------
 3119|      2|        CODEGEN_COND_BLOCK(codegen_for, c, s);
  ------------------
  |  | 3078|      2|    do { \
  |  | 3079|      2|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      2|        int result = FUNC((C), (S)); \
  |  | 3081|      2|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      2|        return result; \
  |  | 3083|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3120|      0|        break;
 3121|      0|    case While_kind:
  ------------------
  |  Branch (3121:5): [True: 0, False: 1.51k]
  ------------------
 3122|      0|        CODEGEN_COND_BLOCK(codegen_while, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3123|      0|        break;
 3124|    152|    case If_kind:
  ------------------
  |  Branch (3124:5): [True: 152, False: 1.36k]
  ------------------
 3125|    152|        CODEGEN_COND_BLOCK(codegen_if, c, s);
  ------------------
  |  | 3078|    152|    do { \
  |  | 3079|    152|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|    152|        int result = FUNC((C), (S)); \
  |  | 3081|    152|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|    152|        return result; \
  |  | 3083|    152|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3126|      0|        break;
 3127|      0|    case Match_kind:
  ------------------
  |  Branch (3127:5): [True: 0, False: 1.51k]
  ------------------
 3128|      0|        CODEGEN_COND_BLOCK(codegen_match, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3129|      0|        break;
 3130|     50|    case Raise_kind:
  ------------------
  |  Branch (3130:5): [True: 50, False: 1.46k]
  ------------------
 3131|     50|    {
 3132|     50|        Py_ssize_t n = 0;
 3133|     50|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (3133:13): [True: 50, False: 0]
  ------------------
 3134|     50|            VISIT(c, expr, s->v.Raise.exc);
  ------------------
  |  |  452|     50|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     50|    do {                    \
  |  |  |  |   52|     50|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     50|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|     50|            n++;
 3136|     50|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (3136:17): [True: 0, False: 50]
  ------------------
 3137|      0|                VISIT(c, expr, s->v.Raise.cause);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3138|      0|                n++;
 3139|      0|            }
 3140|     50|        }
 3141|     50|        ADDOP_I(c, LOC(s), RAISE_VARARGS, (int)n);
  ------------------
  |  |  276|     50|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     50|    do {                    \
  |  |  |  |   52|     50|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     50|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3142|     50|        break;
 3143|     50|    }
 3144|     50|    case Try_kind:
  ------------------
  |  Branch (3144:5): [True: 0, False: 1.51k]
  ------------------
 3145|      0|        CODEGEN_COND_BLOCK(codegen_try, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3146|      0|        break;
 3147|      0|    case TryStar_kind:
  ------------------
  |  Branch (3147:5): [True: 0, False: 1.51k]
  ------------------
 3148|      0|        CODEGEN_COND_BLOCK(codegen_try_star, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3149|      0|        break;
 3150|      2|    case Assert_kind:
  ------------------
  |  Branch (3150:5): [True: 2, False: 1.51k]
  ------------------
 3151|      2|        return codegen_assert(c, s);
 3152|      8|    case Import_kind:
  ------------------
  |  Branch (3152:5): [True: 8, False: 1.50k]
  ------------------
 3153|      8|        return codegen_import(c, s);
 3154|     93|    case ImportFrom_kind:
  ------------------
  |  Branch (3154:5): [True: 93, False: 1.42k]
  ------------------
 3155|     93|        return codegen_from_import(c, s);
 3156|      0|    case Global_kind:
  ------------------
  |  Branch (3156:5): [True: 0, False: 1.51k]
  ------------------
 3157|      0|    case Nonlocal_kind:
  ------------------
  |  Branch (3157:5): [True: 0, False: 1.51k]
  ------------------
 3158|      0|        break;
 3159|    190|    case Expr_kind:
  ------------------
  |  Branch (3159:5): [True: 190, False: 1.32k]
  ------------------
 3160|    190|    {
 3161|    190|        return codegen_stmt_expr(c, LOC(s), s->v.Expr.value);
  ------------------
  |  |   88|    190|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    190|    (_Py_SourceLocation){ \
  |  |  |  |   55|    190|               .lineno = (n)->lineno, \
  |  |  |  |   56|    190|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    190|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    190|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3162|      0|    }
 3163|      0|    case Pass_kind:
  ------------------
  |  Branch (3163:5): [True: 0, False: 1.51k]
  ------------------
 3164|      0|    {
 3165|      0|        ADDOP(c, LOC(s), NOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3166|      0|        break;
 3167|      0|    }
 3168|      0|    case Break_kind:
  ------------------
  |  Branch (3168:5): [True: 0, False: 1.51k]
  ------------------
 3169|      0|    {
 3170|      0|        return codegen_break(c, LOC(s));
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3171|      0|    }
 3172|      0|    case Continue_kind:
  ------------------
  |  Branch (3172:5): [True: 0, False: 1.51k]
  ------------------
 3173|      0|    {
 3174|      0|        return codegen_continue(c, LOC(s));
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3175|      0|    }
 3176|      0|    case With_kind:
  ------------------
  |  Branch (3176:5): [True: 0, False: 1.51k]
  ------------------
 3177|      0|        CODEGEN_COND_BLOCK(codegen_with, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3178|      0|        break;
 3179|      0|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (3179:5): [True: 0, False: 1.51k]
  ------------------
 3180|      0|        return codegen_function(c, s, 1);
 3181|      0|    case AsyncWith_kind:
  ------------------
  |  Branch (3181:5): [True: 0, False: 1.51k]
  ------------------
 3182|      0|        CODEGEN_COND_BLOCK(codegen_async_with, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3183|      0|        break;
 3184|      0|    case AsyncFor_kind:
  ------------------
  |  Branch (3184:5): [True: 0, False: 1.51k]
  ------------------
 3185|      0|        CODEGEN_COND_BLOCK(codegen_async_for, c, s);
  ------------------
  |  | 3078|      0|    do { \
  |  | 3079|      0|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      0|        int result = FUNC((C), (S)); \
  |  | 3081|      0|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      0|        return result; \
  |  | 3083|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3186|      0|        break;
 3187|  1.51k|    }
 3188|       |
 3189|    186|    return SUCCESS;
  ------------------
  |  |   47|    186|#define SUCCESS 0
  ------------------
 3190|  1.51k|}
codegen.c:codegen_function:
 1447|    444|{
 1448|    444|    arguments_ty args;
 1449|    444|    expr_ty returns;
 1450|    444|    identifier name;
 1451|    444|    asdl_expr_seq *decos;
 1452|    444|    asdl_type_param_seq *type_params;
 1453|    444|    Py_ssize_t funcflags;
 1454|    444|    int firstlineno;
 1455|       |
 1456|    444|    if (is_async) {
  ------------------
  |  Branch (1456:9): [True: 0, False: 444]
  ------------------
 1457|      0|        assert(s->kind == AsyncFunctionDef_kind);
 1458|       |
 1459|      0|        args = s->v.AsyncFunctionDef.args;
 1460|      0|        returns = s->v.AsyncFunctionDef.returns;
 1461|      0|        decos = s->v.AsyncFunctionDef.decorator_list;
 1462|      0|        name = s->v.AsyncFunctionDef.name;
 1463|      0|        type_params = s->v.AsyncFunctionDef.type_params;
 1464|    444|    } else {
 1465|    444|        assert(s->kind == FunctionDef_kind);
 1466|       |
 1467|    444|        args = s->v.FunctionDef.args;
 1468|    444|        returns = s->v.FunctionDef.returns;
 1469|    444|        decos = s->v.FunctionDef.decorator_list;
 1470|    444|        name = s->v.FunctionDef.name;
 1471|    444|        type_params = s->v.FunctionDef.type_params;
 1472|    444|    }
 1473|       |
 1474|    444|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1475|       |
 1476|    444|    firstlineno = s->lineno;
 1477|    444|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 50, False: 394]
  |  |  |  |  |  Branch (277:37): [True: 394, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|     50|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|     50|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     50|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1479|     50|    }
 1480|       |
 1481|    444|    location loc = LOC(s);
  ------------------
  |  |   88|    444|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    444|    (_Py_SourceLocation){ \
  |  |  |  |   55|    444|               .lineno = (n)->lineno, \
  |  |  |  |   56|    444|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    444|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    444|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1482|       |
 1483|    444|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 444, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|       |
 1485|    444|    funcflags = codegen_default_arguments(c, loc, args);
 1486|    444|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1487|       |
 1488|    444|    int num_typeparam_args = 0;
 1489|       |
 1490|    444|    if (is_generic) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 444]
  ------------------
 1491|      0|        if (funcflags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|      0|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1491:13): [True: 0, False: 0]
  ------------------
 1492|      0|            num_typeparam_args += 1;
 1493|      0|        }
 1494|      0|        if (funcflags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|      0|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1494:13): [True: 0, False: 0]
  ------------------
 1495|      0|            num_typeparam_args += 1;
 1496|      0|        }
 1497|      0|        if (num_typeparam_args == 2) {
  ------------------
  |  Branch (1497:13): [True: 0, False: 0]
  ------------------
 1498|      0|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      0|        }
 1500|      0|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>", name);
 1501|      0|        if (!type_params_name) {
  ------------------
  |  Branch (1501:13): [True: 0, False: 0]
  ------------------
 1502|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1503|      0|        }
 1504|      0|        _PyCompile_CodeUnitMetadata umd = {
 1505|      0|            .u_argcount = num_typeparam_args,
 1506|      0|        };
 1507|      0|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1508|      0|                                      (void *)type_params, firstlineno, NULL, &umd);
 1509|      0|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|      0|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1511|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|      0|    do {                                    \
  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1512|      0|        for (int i = 0; i < num_typeparam_args; i++) {
  ------------------
  |  Branch (1512:25): [True: 0, False: 0]
  ------------------
 1513|      0|            ADDOP_I_IN_SCOPE(c, loc, LOAD_FAST, i);
  ------------------
  |  |  279|      0|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|      0|        }
 1515|      0|    }
 1516|       |
 1517|    444|    int annotations_flag = codegen_function_annotations(c, loc, args, returns);
 1518|    444|    if (annotations_flag < 0) {
  ------------------
  |  Branch (1518:9): [True: 0, False: 444]
  ------------------
 1519|      0|        if (is_generic) {
  ------------------
  |  Branch (1519:13): [True: 0, False: 0]
  ------------------
 1520|      0|            _PyCompile_ExitScope(c);
 1521|      0|        }
 1522|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1523|      0|    }
 1524|    444|    funcflags |= annotations_flag;
 1525|       |
 1526|    444|    int ret = codegen_function_body(c, s, is_async, funcflags, firstlineno);
 1527|    444|    if (is_generic) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 444]
  ------------------
 1528|      0|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|      0|    do {                                    \
  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1529|      0|    }
 1530|    444|    else {
 1531|    444|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1532|    444|    }
 1533|       |
 1534|    444|    if (is_generic) {
  ------------------
  |  Branch (1534:9): [True: 0, False: 444]
  ------------------
 1535|      0|        ADDOP_I_IN_SCOPE(c, loc, SWAP, 2);
  ------------------
  |  |  279|      0|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|      0|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_FUNCTION_TYPE_PARAMS);
  ------------------
  |  |  279|      0|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|       |
 1538|      0|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1539|      0|        _PyCompile_ExitScope(c);
 1540|      0|        if (co == NULL) {
  ------------------
  |  Branch (1540:13): [True: 0, False: 0]
  ------------------
 1541|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1542|      0|        }
 1543|      0|        int ret = codegen_make_closure(c, loc, co, 0);
 1544|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1545|      0|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1546|      0|        if (num_typeparam_args > 0) {
  ------------------
  |  Branch (1546:13): [True: 0, False: 0]
  ------------------
 1547|      0|            ADDOP_I(c, loc, SWAP, num_typeparam_args + 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      0|            ADDOP_I(c, loc, CALL, num_typeparam_args - 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      0|        }
 1550|      0|        else {
 1551|      0|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      0|            ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|      0|        }
 1554|      0|    }
 1555|       |
 1556|    444|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1557|    444|    return codegen_nameop(c, loc, name, Store);
 1558|    444|}
codegen.c:codegen_decorators:
 1011|    444|{
 1012|    444|    if (!decos) {
  ------------------
  |  Branch (1012:9): [True: 394, False: 50]
  ------------------
 1013|    394|        return SUCCESS;
  ------------------
  |  |   47|    394|#define SUCCESS 0
  ------------------
 1014|    394|    }
 1015|       |
 1016|    104|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(decos); i++) {
  ------------------
  |  |   83|    104|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1016:28): [True: 54, False: 50]
  ------------------
 1017|     54|        VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |  452|     54|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     54|    do {                    \
  |  |  |  |   52|     54|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     54|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|     54|    }
 1019|     50|    return SUCCESS;
  ------------------
  |  |   47|     50|#define SUCCESS 0
  ------------------
 1020|     50|}
codegen.c:codegen_default_arguments:
 1204|    508|{
 1205|    508|    Py_ssize_t funcflags = 0;
 1206|    508|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|    508|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 508]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1206:9): [True: 508, False: 0]
  |  Branch (1206:27): [True: 32, False: 476]
  ------------------
 1207|     32|        RETURN_IF_ERROR(codegen_defaults(c, args, loc));
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 1208|     32|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|     32|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1209|     32|    }
 1210|    508|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1210:9): [True: 508, False: 0]
  ------------------
 1211|    508|        int res = codegen_kwonlydefaults(c, loc,
 1212|    508|                                         args->kwonlyargs,
 1213|    508|                                         args->kw_defaults);
 1214|    508|        RETURN_IF_ERROR(res);
  ------------------
  |  |   51|    508|    do {                    \
  |  |   52|    508|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 508]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    508|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 508]
  |  |  ------------------
  ------------------
 1215|    508|        if (res > 0) {
  ------------------
  |  Branch (1215:13): [True: 52, False: 456]
  ------------------
 1216|     52|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|     52|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1217|     52|        }
 1218|    508|    }
 1219|    508|    return funcflags;
 1220|    508|}
codegen.c:codegen_defaults:
 1195|     32|{
 1196|     32|    VISIT_SEQ(c, expr, args->defaults);
  ------------------
  |  |  458|     32|    do {                                                                    \
  |  |  459|     32|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    106|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    106|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    212|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 106]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 74, False: 32]
  |  |  ------------------
  |  |  461|     74|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     74|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     74|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     74|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     74|    do {                    \
  |  |  |  |   52|     74|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 74]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     74|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     74|        }                                                                   \
  |  |  464|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 1197|     32|    ADDOP_I(c, loc, BUILD_TUPLE, asdl_seq_LEN(args->defaults));
  ------------------
  |  |  276|     32|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|     32|    return SUCCESS;
  ------------------
  |  |   47|     32|#define SUCCESS 0
  ------------------
 1199|     32|}
codegen.c:codegen_kwonlydefaults:
 1039|    508|{
 1040|       |    /* Push a dict of keyword-only default values.
 1041|       |
 1042|       |       Return -1 on error, 0 if no dict pushed, 1 if a dict is pushed.
 1043|       |       */
 1044|    508|    int default_count = 0;
 1045|    648|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|    648|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 648]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:21): [True: 140, False: 508]
  ------------------
 1046|    140|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|    140|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1047|    140|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|    140|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1048|    140|        if (default_) {
  ------------------
  |  Branch (1048:13): [True: 136, False: 4]
  ------------------
 1049|    136|            default_count++;
 1050|    136|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1051|    136|            if (!mangled) {
  ------------------
  |  Branch (1051:17): [True: 0, False: 136]
  ------------------
 1052|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1053|      0|            }
 1054|    136|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  314|    136|    do {                                                                \
  |  |  315|    136|        PyObject *__new_const = (O);                                    \
  |  |  316|    136|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 136]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    136|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 136]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|    136|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    136|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    136|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 136]
  |  |  ------------------
  ------------------
 1055|    136|            VISIT(c, expr, default_);
  ------------------
  |  |  452|    136|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|    136|        }
 1057|    140|    }
 1058|    508|    if (default_count) {
  ------------------
  |  Branch (1058:9): [True: 52, False: 456]
  ------------------
 1059|     52|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  276|     52|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     52|    do {                    \
  |  |  |  |   52|     52|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     52|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|     52|        return 1;
 1061|     52|    }
 1062|    456|    else {
 1063|    456|        return 0;
 1064|    456|    }
 1065|    508|}
codegen.c:codegen_setup_annotations_scope:
  708|      6|{
  709|      6|    _PyCompile_CodeUnitMetadata umd = {
  710|      6|        .u_posonlyargcount = 1,
  711|      6|    };
  712|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  713|      6|        codegen_enter_scope(c, name, COMPILE_SCOPE_ANNOTATIONS,
  714|      6|                            key, loc.lineno, NULL, &umd));
  715|       |
  716|       |    // if .format > VALUE_WITH_FAKE_GLOBALS: raise NotImplementedError
  717|      6|    PyObject *value_with_fake_globals = PyLong_FromLong(_Py_ANNOTATE_FORMAT_VALUE_WITH_FAKE_GLOBALS);
  718|      6|    if (value_with_fake_globals == NULL) {
  ------------------
  |  Branch (718:9): [True: 0, False: 6]
  ------------------
  719|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  720|      0|    }
  721|       |
  722|      6|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  723|      6|    _Py_DECLARE_STR(format, ".format");
  724|      6|    ADDOP_I(c, loc, LOAD_FAST, 0);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|      6|    ADDOP_LOAD_CONST_NEW(c, loc, value_with_fake_globals);
  ------------------
  |  |  314|      6|    do {                                                                \
  |  |  315|      6|        PyObject *__new_const = (O);                                    \
  |  |  316|      6|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|      6|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|      6|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  726|      6|    ADDOP_I(c, loc, COMPARE_OP, (Py_GT << 5) | compare_masks[Py_GT]);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|      6|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|      6|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      6|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      6|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      6|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      6|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 6]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  728|      6|    ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, body);
  ------------------
  |  |  427|      6|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|      6|    ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_NOTIMPLEMENTEDERROR);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|      6|    ADDOP_I(c, loc, RAISE_VARARGS, 1);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  731|      6|    USE_LABEL(c, body);
  ------------------
  |  |   97|      6|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
  733|      6|}
codegen.c:codegen_addop_j:
  419|    402|{
  420|    402|    assert(IS_JUMP_TARGET_LABEL(target));
  421|    402|    assert(HAS_TARGET(opcode));
  422|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  423|    402|    return _PyInstructionSequence_Addop(seq, opcode, target.id, loc);
  424|    402|}
codegen.c:codegen_function_annotations:
 1162|    444|{
 1163|       |    /* Push arg annotation names and values.
 1164|       |       The expressions are evaluated separately from the rest of the source code.
 1165|       |
 1166|       |       Return -1 on error, or a combination of flags to add to the function.
 1167|       |       */
 1168|    444|    Py_ssize_t annotations_len = 0;
 1169|       |
 1170|    444|    PySTEntryObject *ste;
 1171|    444|    RETURN_IF_ERROR(_PySymtable_LookupOptional(SYMTABLE(c), args, &ste));
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1172|    444|    assert(ste != NULL);
 1173|       |
 1174|    444|    if (ste->ste_annotations_used) {
  ------------------
  |  Branch (1174:9): [True: 6, False: 438]
  ------------------
 1175|      6|        int err = codegen_setup_annotations_scope(c, loc, (void *)args, ste->ste_name);
 1176|      6|        Py_DECREF(ste);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      6|        RETURN_IF_ERROR(err);
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1178|      6|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|      6|    do {                                    \
  |  |   59|      6|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1179|      6|            c, codegen_annotations_in_scope(c, loc, args, returns, &annotations_len)
 1180|      6|        );
 1181|      6|        ADDOP_I(c, loc, BUILD_MAP, annotations_len);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|      6|        RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1183|      6|        return MAKE_FUNCTION_ANNOTATE;
  ------------------
  |  |   68|      6|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
 1184|      6|    }
 1185|    438|    else {
 1186|    438|        Py_DECREF(ste);
  ------------------
  |  |  430|    438|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1187|    438|    }
 1188|       |
 1189|    438|    return 0;
 1190|    444|}
codegen.c:codegen_annotations_in_scope:
 1131|      6|{
 1132|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1133|      6|        codegen_argannotations(c, args->posonlyargs, annotations_len, loc));
 1134|       |
 1135|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1136|      6|        codegen_argannotations(c, args->args, annotations_len, loc));
 1137|       |
 1138|      6|    if (args->vararg && args->vararg->annotation) {
  ------------------
  |  Branch (1138:9): [True: 0, False: 6]
  |  Branch (1138:25): [True: 0, False: 0]
  ------------------
 1139|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1140|      0|            codegen_argannotation(c, args->vararg->arg,
 1141|      0|                                     args->vararg->annotation, annotations_len, loc));
 1142|      0|    }
 1143|       |
 1144|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1145|      6|        codegen_argannotations(c, args->kwonlyargs, annotations_len, loc));
 1146|       |
 1147|      6|    if (args->kwarg && args->kwarg->annotation) {
  ------------------
  |  Branch (1147:9): [True: 0, False: 6]
  |  Branch (1147:24): [True: 0, False: 0]
  ------------------
 1148|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1149|      0|            codegen_argannotation(c, args->kwarg->arg,
 1150|      0|                                     args->kwarg->annotation, annotations_len, loc));
 1151|      0|    }
 1152|       |
 1153|      6|    RETURN_IF_ERROR(
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1154|      6|        codegen_argannotation(c, &_Py_ID(return), returns, annotations_len, loc));
 1155|       |
 1156|      6|    return 0;
 1157|      6|}
codegen.c:codegen_argannotations:
 1112|     18|{
 1113|     18|    int i;
 1114|     30|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|     30|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1114:17): [True: 12, False: 18]
  ------------------
 1115|     12|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1116|     12|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     12|    do {                    \
  |  |   52|     12|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1117|     12|            codegen_argannotation(
 1118|     12|                        c,
 1119|     12|                        arg->arg,
 1120|     12|                        arg->annotation,
 1121|     12|                        annotations_len,
 1122|     12|                        loc));
 1123|     12|    }
 1124|     18|    return SUCCESS;
  ------------------
  |  |   47|     18|#define SUCCESS 0
  ------------------
 1125|     18|}
codegen.c:codegen_argannotation:
 1078|     18|{
 1079|     18|    if (!annotation) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 18]
  ------------------
 1080|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1081|      0|    }
 1082|     18|    PyObject *mangled = _PyCompile_MaybeMangle(c, id);
 1083|     18|    if (!mangled) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 18]
  ------------------
 1084|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1085|      0|    }
 1086|     18|    ADDOP_LOAD_CONST(c, loc, mangled);
  ------------------
  |  |  307|     18|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     18|    do {                    \
  |  |  |  |   52|     18|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|     18|    Py_DECREF(mangled);
  ------------------
  |  |  430|     18|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|       |
 1089|     18|    if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |   69|     18|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |  143|     18|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1089:9): [True: 0, False: 18]
  ------------------
 1090|      0|        VISIT(c, annexpr, annotation);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      0|    }
 1092|     18|    else {
 1093|     18|        if (annotation->kind == Starred_kind) {
  ------------------
  |  Branch (1093:13): [True: 0, False: 18]
  ------------------
 1094|       |            // *args: *Ts (where Ts is a TypeVarTuple).
 1095|       |            // Do [annotation_value] = [*Ts].
 1096|       |            // (Note that in theory we could end up here even for an argument
 1097|       |            // other than *args, but in practice the grammar doesn't allow it.)
 1098|      0|            VISIT(c, expr, annotation->v.Starred.value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      0|            ADDOP_I(c, loc, UNPACK_SEQUENCE, (Py_ssize_t) 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|      0|        }
 1101|     18|        else {
 1102|     18|            VISIT(c, expr, annotation);
  ------------------
  |  |  452|     18|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     18|    do {                    \
  |  |  |  |   52|     18|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|     18|        }
 1104|     18|    }
 1105|     18|    *annotations_len += 1;
 1106|     18|    return SUCCESS;
  ------------------
  |  |   47|     18|#define SUCCESS 0
  ------------------
 1107|     18|}
codegen.c:codegen_leave_annotations_scope:
  737|      6|{
  738|      6|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  293|      6|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      6|    do {                                    \
  |  |  |  |   59|      6|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|      6|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
  740|      6|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 6]
  ------------------
  741|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  742|      0|    }
  743|       |
  744|       |    // We want the parameter to __annotate__ to be named "format" in the
  745|       |    // signature  shown by inspect.signature(), but we need to use a
  746|       |    // different name (.format) in the symtable; if the name
  747|       |    // "format" appears in the annotations, it doesn't get clobbered
  748|       |    // by this name.  This code is essentially:
  749|       |    // co->co_localsplusnames = ("format", *co->co_localsplusnames[1:])
  750|      6|    const Py_ssize_t size = PyObject_Size(co->co_localsplusnames);
  751|      6|    if (size == -1) {
  ------------------
  |  Branch (751:9): [True: 0, False: 6]
  ------------------
  752|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  754|      0|    }
  755|      6|    PyObject *new_names = PyTuple_New(size);
  756|      6|    if (new_names == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 6]
  ------------------
  757|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  759|      0|    }
  760|      6|    PyTuple_SET_ITEM(new_names, 0, Py_NewRef(&_Py_ID(format)));
  ------------------
  |  |   40|      6|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|      6|    for (int i = 1; i < size; i++) {
  ------------------
  |  Branch (761:21): [True: 0, False: 6]
  ------------------
  762|      0|        PyObject *item = PyTuple_GetItem(co->co_localsplusnames, i);
  763|      0|        if (item == NULL) {
  ------------------
  |  Branch (763:13): [True: 0, False: 0]
  ------------------
  764|      0|            Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|      0|            Py_DECREF(new_names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  767|      0|        }
  768|      0|        Py_INCREF(item);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|      0|        PyTuple_SET_ITEM(new_names, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|      0|    }
  771|      6|    Py_SETREF(co->co_localsplusnames, new_names);
  ------------------
  |  |  352|      6|    do { \
  |  |  353|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      6|        *_tmp_dst_ptr = (src); \
  |  |  356|      6|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  772|       |
  773|      6|    _PyCompile_ExitScope(c);
  774|      6|    int ret = codegen_make_closure(c, loc, co, 0);
  775|      6|    Py_DECREF(co);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      6|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      6|    do {                    \
  |  |   52|      6|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  777|      6|    return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
  778|      6|}
codegen.c:codegen_function_body:
 1370|    444|{
 1371|    444|    arguments_ty args;
 1372|    444|    identifier name;
 1373|    444|    asdl_stmt_seq *body;
 1374|    444|    int scope_type;
 1375|       |
 1376|    444|    if (is_async) {
  ------------------
  |  Branch (1376:9): [True: 0, False: 444]
  ------------------
 1377|      0|        assert(s->kind == AsyncFunctionDef_kind);
 1378|       |
 1379|      0|        args = s->v.AsyncFunctionDef.args;
 1380|      0|        name = s->v.AsyncFunctionDef.name;
 1381|      0|        body = s->v.AsyncFunctionDef.body;
 1382|       |
 1383|      0|        scope_type = COMPILE_SCOPE_ASYNC_FUNCTION;
 1384|    444|    } else {
 1385|    444|        assert(s->kind == FunctionDef_kind);
 1386|       |
 1387|    444|        args = s->v.FunctionDef.args;
 1388|    444|        name = s->v.FunctionDef.name;
 1389|    444|        body = s->v.FunctionDef.body;
 1390|       |
 1391|    444|        scope_type = COMPILE_SCOPE_FUNCTION;
 1392|    444|    }
 1393|       |
 1394|    444|    _PyCompile_CodeUnitMetadata umd = {
 1395|    444|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 444]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|    444|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 444]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|    444|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 444]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|    444|    };
 1399|    444|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    444|    do {                    \
  |  |   52|    444|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1400|    444|        codegen_enter_scope(c, name, scope_type, (void *)s, firstlineno, NULL, &umd));
 1401|       |
 1402|    444|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    444|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 1403|    444|    Py_ssize_t first_instr = 0;
 1404|    444|    if (ste->ste_has_docstring) {
  ------------------
  |  Branch (1404:9): [True: 4, False: 440]
  ------------------
 1405|      4|        PyObject *docstring = _PyAST_GetDocString(body);
 1406|      4|        assert(docstring);
 1407|      4|        first_instr = 1;
 1408|      4|        docstring = _PyCompile_CleanDoc(docstring);
 1409|      4|        if (docstring == NULL) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 4]
  ------------------
 1410|      0|            _PyCompile_ExitScope(c);
 1411|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1412|      0|        }
 1413|      4|        Py_ssize_t idx = _PyCompile_AddConst(c, docstring);
 1414|      4|        Py_DECREF(docstring);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|      4|        RETURN_IF_ERROR_IN_SCOPE(c, idx < 0 ? ERROR : SUCCESS);
  ------------------
  |  |   58|      4|    do {                                    \
  |  |   59|      8|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 4]
  |  |  |  Branch (59:14): [True: 0, False: 4]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1416|      4|    }
 1417|       |
 1418|    444|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|    444|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    444|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    444|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    444|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    444|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 444]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1419|    444|    USE_LABEL(c, start);
  ------------------
  |  |   97|    444|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    444|    do {                    \
  |  |  |  |   52|    444|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    444|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|    444|    bool add_stopiteration_handler = ste->ste_coroutine || ste->ste_generator;
  ------------------
  |  Branch (1420:38): [True: 0, False: 444]
  |  Branch (1420:60): [True: 0, False: 444]
  ------------------
 1421|    444|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 444]
  ------------------
 1422|       |        /* codegen_wrap_in_stopiteration_handler will push a block, so we need to account for that */
 1423|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1424|      0|            _PyCompile_PushFBlock(c, NO_LOCATION, COMPILE_FBLOCK_STOP_ITERATION,
 1425|      0|                                  start, NO_LABEL, NULL));
 1426|      0|    }
 1427|       |
 1428|  1.51k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(body); i++) {
  ------------------
  |  |   83|  1.51k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1428:38): [True: 1.07k, False: 444]
  ------------------
 1429|  1.07k|        VISIT_IN_SCOPE(c, stmt, (stmt_ty)asdl_seq_GET(body, i));
  ------------------
  |  |  455|  1.07k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  1.07k|    do {                                    \
  |  |  |  |   59|  1.07k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 1.07k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  1.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 1.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|  1.07k|    }
 1431|    444|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 444]
  ------------------
 1432|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_wrap_in_stopiteration_handler(c));
  ------------------
  |  |   58|      0|    do {                                    \
  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1433|      0|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_STOP_ITERATION, start);
 1434|      0|    }
 1435|    444|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1436|    444|    _PyCompile_ExitScope(c);
 1437|    444|    if (co == NULL) {
  ------------------
  |  Branch (1437:9): [True: 0, False: 444]
  ------------------
 1438|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1439|      0|    }
 1440|    444|    int ret = codegen_make_closure(c, LOC(s), co, funcflags);
  ------------------
  |  |   88|    444|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    444|    (_Py_SourceLocation){ \
  |  |  |  |   55|    444|               .lineno = (n)->lineno, \
  |  |  |  |   56|    444|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    444|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    444|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1441|    444|    Py_DECREF(co);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|    444|    return ret;
 1443|    444|}
codegen.c:codegen_make_closure:
  972|    514|{
  973|    514|    if (co->co_nfreevars) {
  ------------------
  |  Branch (973:9): [True: 169, False: 345]
  ------------------
  974|    169|        int i = PyUnstable_Code_GetFirstFree(co);
  975|    400|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (975:16): [True: 231, False: 169]
  ------------------
  976|       |            /* Bypass com_addop_varname because it will generate
  977|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
  978|       |            */
  979|    231|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|    231|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    231|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|    231|            int arg = _PyCompile_LookupArg(c, co, name);
  981|    231|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|    231|    do {                    \
  |  |   52|    231|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 231]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    231|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 231]
  |  |  ------------------
  ------------------
  982|    231|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  276|    231|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    231|    do {                    \
  |  |  |  |   52|    231|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 231]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    231|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 231]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|    231|        }
  984|    169|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|    169|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  985|    169|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  276|    169|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    169|    do {                    \
  |  |  |  |   52|    169|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 169]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    169|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 169]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|    169|    }
  987|    514|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  307|    514|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    514|    do {                    \
  |  |  |  |   52|    514|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 514]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    514|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 514]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|       |
  989|    514|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  290|    514|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    514|    do {                    \
  |  |  |  |   52|    514|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 514]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    514|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 514]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|       |
  991|    514|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|    514|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (991:9): [True: 169, False: 345]
  ------------------
  992|    169|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  276|    169|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    169|    do {                    \
  |  |  |  |   52|    169|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 169]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    169|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 169]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|    169|    }
  994|    514|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|    514|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (994:9): [True: 0, False: 514]
  ------------------
  995|      0|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATIONS);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  996|      0|    }
  997|    514|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|    514|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (997:9): [True: 6, False: 508]
  ------------------
  998|      6|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  276|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|      6|    }
 1000|    514|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|    514|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1000:9): [True: 52, False: 462]
  ------------------
 1001|     52|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  276|     52|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     52|    do {                    \
  |  |  |  |   52|     52|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     52|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|     52|    }
 1003|    514|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|    514|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1003:9): [True: 32, False: 482]
  ------------------
 1004|     32|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  276|     32|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|     32|    }
 1006|    514|    return SUCCESS;
  ------------------
  |  |   47|    514|#define SUCCESS 0
  ------------------
 1007|    514|}
codegen.c:codegen_apply_decorators:
 1024|    444|{
 1025|    444|    if (!decos) {
  ------------------
  |  Branch (1025:9): [True: 394, False: 50]
  ------------------
 1026|    394|        return SUCCESS;
  ------------------
  |  |   47|    394|#define SUCCESS 0
  ------------------
 1027|    394|    }
 1028|       |
 1029|    104|    for (Py_ssize_t i = asdl_seq_LEN(decos) - 1; i > -1; i--) {
  ------------------
  |  |   83|     50|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    100|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1029:50): [True: 54, False: 50]
  ------------------
 1030|     54|        location loc = LOC((expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |   88|     54|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     54|    (_Py_SourceLocation){ \
  |  |  |  |   55|     54|               .lineno = (n)->lineno, \
  |  |  |  |   56|     54|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     54|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     54|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1031|     54|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|     54|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     54|    do {                    \
  |  |  |  |   52|     54|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     54|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|     54|    }
 1033|     50|    return SUCCESS;
  ------------------
  |  |   47|     50|#define SUCCESS 0
  ------------------
 1034|     50|}
codegen.c:codegen_call_helper_impl:
 4397|    447|{
 4398|    447|    Py_ssize_t i, nseen, nelts, nkwelts;
 4399|       |
 4400|    447|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   51|    447|    do {                    \
  |  |   52|    447|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    447|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  ------------------
  ------------------
 4401|       |
 4402|    447|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|    447|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    894|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 146, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4403|    447|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|    447|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    894|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 355, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4404|       |
 4405|    447|    if (nelts + nkwelts*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    447|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4405:9): [True: 0, False: 447]
  ------------------
 4406|      0|         goto ex_call;
 4407|      0|    }
 4408|    842|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4408:17): [True: 399, False: 443]
  ------------------
 4409|    399|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|    399|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    399|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4410|    399|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4410:13): [True: 4, False: 395]
  ------------------
 4411|      4|            goto ex_call;
 4412|      4|        }
 4413|    399|    }
 4414|    647|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4414:17): [True: 204, False: 443]
  ------------------
 4415|    204|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    204|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4416|    204|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4416:13): [True: 0, False: 204]
  ------------------
 4417|      0|            goto ex_call;
 4418|      0|        }
 4419|    204|    }
 4420|       |
 4421|       |    /* No * or ** args, so can use faster calling sequence */
 4422|    836|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4422:17): [True: 393, False: 443]
  ------------------
 4423|    393|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|    393|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    393|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4424|    393|        assert(elt->kind != Starred_kind);
 4425|    393|        VISIT(c, expr, elt);
  ------------------
  |  |  452|    393|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    393|    do {                    \
  |  |  |  |   52|    393|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 393]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    393|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 393]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4426|    393|    }
 4427|    443|    if (injected_arg) {
  ------------------
  |  Branch (4427:9): [True: 0, False: 443]
  ------------------
 4428|      0|        RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4429|      0|        nelts++;
 4430|      0|    }
 4431|    443|    if (nkwelts) {
  ------------------
  |  Branch (4431:9): [True: 90, False: 353]
  ------------------
 4432|     90|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  458|     90|    do {                                                                    \
  |  |  459|     90|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    294|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    294|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    588|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 294]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 204, False: 90]
  |  |  ------------------
  |  |  461|    204|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    204|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    204|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    204|    do {                    \
  |  |  |  |   52|    204|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 204]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    204|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 204]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    204|        }                                                                   \
  |  |  464|     90|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 90]
  |  |  ------------------
  ------------------
 4433|     90|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     90|    do {                    \
  |  |   52|     90|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     90|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  ------------------
  ------------------
 4434|     90|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4435|     90|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  276|     90|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|     90|    }
 4437|    353|    else {
 4438|    353|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  276|    353|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    353|    do {                    \
  |  |  |  |   52|    353|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 353]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    353|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 353]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4439|    353|    }
 4440|    443|    return SUCCESS;
  ------------------
  |  |   47|    443|#define SUCCESS 0
  ------------------
 4441|       |
 4442|      4|ex_call:
 4443|       |
 4444|       |    /* Do positional arguments. */
 4445|      4|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4445:9): [True: 4, False: 0]
  |  Branch (4445:19): [True: 2, False: 2]
  |  Branch (4445:33): [True: 2, False: 0]
  ------------------
 4446|      2|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4447|      2|    }
 4448|      2|    else {
 4449|      2|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4450|      2|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4451|      2|    }
 4452|       |    /* Then keyword arguments */
 4453|      4|    if (nkwelts) {
  ------------------
  |  Branch (4453:9): [True: 2, False: 2]
  ------------------
 4454|       |        /* Has a new dict been pushed */
 4455|      2|        int have_dict = 0;
 4456|       |
 4457|      2|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4458|      4|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4458:21): [True: 2, False: 2]
  ------------------
 4459|      2|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4460|      2|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4460:17): [True: 2, False: 0]
  ------------------
 4461|       |                /* A keyword argument unpacking. */
 4462|      2|                if (nseen) {
  ------------------
  |  Branch (4462:21): [True: 0, False: 2]
  ------------------
 4463|      0|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4464|      0|                    if (have_dict) {
  ------------------
  |  Branch (4464:25): [True: 0, False: 0]
  ------------------
 4465|      0|                        ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|      0|                    }
 4467|      0|                    have_dict = 1;
 4468|      0|                    nseen = 0;
 4469|      0|                }
 4470|      2|                if (!have_dict) {
  ------------------
  |  Branch (4470:21): [True: 2, False: 0]
  ------------------
 4471|      2|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|      2|                    have_dict = 1;
 4473|      2|                }
 4474|      2|                VISIT(c, expr, kw->value);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4475|      2|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4476|      2|            }
 4477|      0|            else {
 4478|      0|                nseen++;
 4479|      0|            }
 4480|      2|        }
 4481|      2|        if (nseen) {
  ------------------
  |  Branch (4481:13): [True: 0, False: 2]
  ------------------
 4482|       |            /* Pack up any trailing keyword arguments. */
 4483|      0|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4484|      0|            if (have_dict) {
  ------------------
  |  Branch (4484:17): [True: 0, False: 0]
  ------------------
 4485|      0|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4486|      0|            }
 4487|      0|            have_dict = 1;
 4488|      0|        }
 4489|      2|        assert(have_dict);
 4490|      2|    }
 4491|      4|    if (nkwelts == 0) {
  ------------------
  |  Branch (4491:9): [True: 2, False: 2]
  ------------------
 4492|      2|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4493|      2|    }
 4494|      4|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  290|      4|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4495|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 4496|      4|}
codegen.c:codegen_validate_keywords:
 4166|  1.08k|{
 4167|  1.08k|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  1.08k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 900, False: 186]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4168|  1.50k|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4168:28): [True: 414, False: 1.08k]
  ------------------
 4169|    414|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|    414|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    414|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4170|    414|        if (key->arg == NULL) {
  ------------------
  |  Branch (4170:13): [True: 4, False: 410]
  ------------------
 4171|      4|            continue;
 4172|      4|        }
 4173|    938|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4173:36): [True: 528, False: 410]
  ------------------
 4174|    528|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|    528|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    528|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4175|    528|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4175:17): [True: 528, False: 0]
  |  Branch (4175:31): [True: 0, False: 528]
  ------------------
 4176|      0|                return _PyCompile_Error(c, LOC(other), "keyword argument repeated: %U", key->arg);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4177|      0|            }
 4178|    528|        }
 4179|    410|    }
 4180|  1.08k|    return SUCCESS;
  ------------------
  |  |   47|  1.08k|#define SUCCESS 0
  ------------------
 4181|  1.08k|}
codegen.c:codegen_visit_keyword:
 5164|    206|{
 5165|    206|    VISIT(c, expr, k->value);
  ------------------
  |  |  452|    206|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    206|    do {                    \
  |  |  |  |   52|    206|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 206]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    206|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5166|    206|    return SUCCESS;
  ------------------
  |  |   47|    206|#define SUCCESS 0
  ------------------
 5167|    206|}
codegen.c:codegen_call_simple_kw_helper:
 4376|     92|{
 4377|     92|    PyObject *names;
 4378|     92|    names = PyTuple_New(nkwelts);
 4379|     92|    if (names == NULL) {
  ------------------
  |  Branch (4379:9): [True: 0, False: 92]
  ------------------
 4380|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4381|      0|    }
 4382|    298|    for (Py_ssize_t i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4382:28): [True: 206, False: 92]
  ------------------
 4383|    206|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    206|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    206|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4384|    206|        PyTuple_SET_ITEM(names, i, Py_NewRef(kw->arg));
  ------------------
  |  |   40|    206|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|    206|    }
 4386|     92|    ADDOP_LOAD_CONST_NEW(c, loc, names);
  ------------------
  |  |  314|     92|    do {                                                                \
  |  |  315|     92|        PyObject *__new_const = (O);                                    \
  |  |  316|     92|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 92]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|     92|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 92]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|     92|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|     92|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|     92|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 92]
  |  |  ------------------
  ------------------
 4387|     92|    return SUCCESS;
  ------------------
  |  |   47|     92|#define SUCCESS 0
  ------------------
 4388|     92|}
codegen.c:starunpack_helper_impl:
 3419|    190|{
 3420|    190|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    190|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    380|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 190]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|    190|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|    190|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3421:29): [True: 0, False: 190]
  ------------------
 3422|    190|    int seen_star = 0;
 3423|  1.05k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3423:28): [True: 868, False: 188]
  ------------------
 3424|    868|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    868|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    868|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3425|    868|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3425:13): [True: 2, False: 866]
  ------------------
 3426|      2|            seen_star = 1;
 3427|      2|            break;
 3428|      2|        }
 3429|    868|    }
 3430|    190|    if (!seen_star && !big) {
  ------------------
  |  Branch (3430:9): [True: 188, False: 2]
  |  Branch (3430:23): [True: 188, False: 0]
  ------------------
 3431|  1.05k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3431:32): [True: 864, False: 188]
  ------------------
 3432|    864|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    864|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    864|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3433|    864|            VISIT(c, expr, elt);
  ------------------
  |  |  452|    864|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    864|    do {                    \
  |  |  |  |   52|    864|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 864]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    864|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 864]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3434|    864|        }
 3435|    188|        if (injected_arg) {
  ------------------
  |  Branch (3435:13): [True: 0, False: 188]
  ------------------
 3436|      0|            RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3437|      0|            n++;
 3438|      0|        }
 3439|    188|        if (tuple) {
  ------------------
  |  Branch (3439:13): [True: 140, False: 48]
  ------------------
 3440|    140|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  276|    140|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    140|    do {                    \
  |  |  |  |   52|    140|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 140]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    140|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 140]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3441|    140|        } else {
 3442|     48|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  276|     48|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|     48|        }
 3444|    188|        return SUCCESS;
  ------------------
  |  |   47|    188|#define SUCCESS 0
  ------------------
 3445|    188|    }
 3446|      2|    int sequence_built = 0;
 3447|      2|    if (big) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 2]
  ------------------
 3448|      0|        ADDOP_I(c, loc, build, pushed);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3449|      0|        sequence_built = 1;
 3450|      0|    }
 3451|      6|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3451:28): [True: 4, False: 2]
  ------------------
 3452|      4|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3453|      4|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3453:13): [True: 2, False: 2]
  ------------------
 3454|      2|            if (sequence_built == 0) {
  ------------------
  |  Branch (3454:17): [True: 2, False: 0]
  ------------------
 3455|      2|                ADDOP_I(c, loc, build, i+pushed);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|      2|                sequence_built = 1;
 3457|      2|            }
 3458|      2|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3459|      2|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      2|        }
 3461|      2|        else {
 3462|      2|            VISIT(c, expr, elt);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|      2|            if (sequence_built) {
  ------------------
  |  Branch (3463:17): [True: 0, False: 2]
  ------------------
 3464|      0|                ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3465|      0|            }
 3466|      2|        }
 3467|      4|    }
 3468|      2|    assert(sequence_built);
 3469|      2|    if (injected_arg) {
  ------------------
  |  Branch (3469:9): [True: 0, False: 2]
  ------------------
 3470|      0|        RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3471|      0|        ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3472|      0|    }
 3473|      2|    if (tuple) {
  ------------------
  |  Branch (3473:9): [True: 2, False: 0]
  ------------------
 3474|      2|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3475|      2|    }
 3476|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3477|      2|}
codegen.c:codegen_call_helper:
 4503|    447|{
 4504|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4505|    447|}
codegen.c:codegen_return:
 2249|    438|{
 2250|    438|    location loc = LOC(s);
  ------------------
  |  |   88|    438|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    438|    (_Py_SourceLocation){ \
  |  |  |  |   55|    438|               .lineno = (n)->lineno, \
  |  |  |  |   56|    438|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    438|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    438|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2251|    438|    int preserve_tos = ((s->v.Return.value != NULL) &&
  ------------------
  |  Branch (2251:25): [True: 438, False: 0]
  ------------------
 2252|    438|                        (s->v.Return.value->kind != Constant_kind));
  ------------------
  |  Branch (2252:25): [True: 392, False: 46]
  ------------------
 2253|       |
 2254|    438|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    438|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 2255|    438|    if (!_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 438]
  ------------------
 2256|      0|        return _PyCompile_Error(c, loc, "'return' outside function");
 2257|      0|    }
 2258|    438|    if (s->v.Return.value != NULL && ste->ste_coroutine && ste->ste_generator) {
  ------------------
  |  Branch (2258:9): [True: 438, False: 0]
  |  Branch (2258:38): [True: 0, False: 438]
  |  Branch (2258:60): [True: 0, False: 0]
  ------------------
 2259|      0|        return _PyCompile_Error(c, loc, "'return' with value in async generator");
 2260|      0|    }
 2261|       |
 2262|    438|    if (preserve_tos) {
  ------------------
  |  Branch (2262:9): [True: 392, False: 46]
  ------------------
 2263|    392|        VISIT(c, expr, s->v.Return.value);
  ------------------
  |  |  452|    392|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    392|    do {                    \
  |  |  |  |   52|    392|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 392]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    392|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 392]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|    392|    } else {
 2265|       |        /* Emit instruction with line number for return value */
 2266|     46|        if (s->v.Return.value != NULL) {
  ------------------
  |  Branch (2266:13): [True: 46, False: 0]
  ------------------
 2267|     46|            loc = LOC(s->v.Return.value);
  ------------------
  |  |   88|     46|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     46|    (_Py_SourceLocation){ \
  |  |  |  |   55|     46|               .lineno = (n)->lineno, \
  |  |  |  |   56|     46|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     46|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     46|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2268|     46|            ADDOP(c, loc, NOP);
  ------------------
  |  |  290|     46|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     46|    do {                    \
  |  |  |  |   52|     46|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     46|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|     46|        }
 2270|     46|    }
 2271|    438|    if (s->v.Return.value == NULL || s->v.Return.value->lineno != s->lineno) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 438]
  |  Branch (2271:38): [True: 0, False: 438]
  ------------------
 2272|      0|        loc = LOC(s);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2273|      0|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|      0|    }
 2275|       |
 2276|    438|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, preserve_tos, NULL));
  ------------------
  |  |   51|    438|    do {                    \
  |  |   52|    438|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 438]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    438|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 438]
  |  |  ------------------
  ------------------
 2277|    438|    if (s->v.Return.value == NULL) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 438]
  ------------------
 2278|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|      0|    }
 2280|    438|    else if (!preserve_tos) {
  ------------------
  |  Branch (2280:14): [True: 46, False: 392]
  ------------------
 2281|     46|        ADDOP_LOAD_CONST(c, loc, s->v.Return.value->v.Constant.value);
  ------------------
  |  |  307|     46|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     46|    do {                    \
  |  |  |  |   52|     46|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     46|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2282|     46|    }
 2283|    438|    ADDOP(c, loc, RETURN_VALUE);
  ------------------
  |  |  290|    438|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    438|    do {                    \
  |  |  |  |   52|    438|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 438]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    438|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 438]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|       |
 2285|    438|    return SUCCESS;
  ------------------
  |  |   47|    438|#define SUCCESS 0
  ------------------
 2286|    438|}
codegen.c:codegen_unwind_fblock_stack:
  651|    438|{
  652|    438|    fblockinfo *top = _PyCompile_TopFBlock(c);
  653|    438|    if (top == NULL) {
  ------------------
  |  Branch (653:9): [True: 438, False: 0]
  ------------------
  654|    438|        return SUCCESS;
  ------------------
  |  |   47|    438|#define SUCCESS 0
  ------------------
  655|    438|    }
  656|      0|    if (top->fb_type == COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER) {
  ------------------
  |  Branch (656:9): [True: 0, False: 0]
  ------------------
  657|      0|        return _PyCompile_Error(
  658|      0|            c, *ploc, "'break', 'continue' and 'return' cannot appear in an except* block");
  659|      0|    }
  660|      0|    if (loop != NULL && (top->fb_type == COMPILE_FBLOCK_WHILE_LOOP ||
  ------------------
  |  Branch (660:9): [True: 0, False: 0]
  |  Branch (660:26): [True: 0, False: 0]
  ------------------
  661|      0|                         top->fb_type == COMPILE_FBLOCK_FOR_LOOP ||
  ------------------
  |  Branch (661:26): [True: 0, False: 0]
  ------------------
  662|      0|                         top->fb_type == COMPILE_FBLOCK_ASYNC_FOR_LOOP)) {
  ------------------
  |  Branch (662:26): [True: 0, False: 0]
  ------------------
  663|      0|        *loop = top;
  664|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  665|      0|    }
  666|      0|    fblockinfo copy = *top;
  667|      0|    _PyCompile_PopFBlock(c, top->fb_type, top->fb_block);
  668|      0|    RETURN_IF_ERROR(codegen_unwind_fblock(c, ploc, &copy, preserve_tos));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  669|      0|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, ploc, preserve_tos, loop));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  670|      0|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, copy.fb_loc, copy.fb_type, copy.fb_block,
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  671|      0|                          copy.fb_exit, copy.fb_datum));
  672|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  673|      0|}
codegen.c:update_start_location_to_match_attr:
 3924|  1.48k|{
 3925|  1.48k|    assert(attr->kind == Attribute_kind);
 3926|  1.48k|    if (loc.lineno != attr->end_lineno) {
  ------------------
  |  Branch (3926:9): [True: 0, False: 1.48k]
  ------------------
 3927|      0|        loc.lineno = attr->end_lineno;
 3928|      0|        int len = (int)PyUnicode_GET_LENGTH(attr->v.Attribute.attr);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3929|      0|        if (len <= attr->end_col_offset) {
  ------------------
  |  Branch (3929:13): [True: 0, False: 0]
  ------------------
 3930|      0|            loc.col_offset = attr->end_col_offset - len;
 3931|      0|        }
 3932|      0|        else {
 3933|       |            // GH-94694: Somebody's compiling weird ASTs. Just drop the columns:
 3934|      0|            loc.col_offset = -1;
 3935|      0|            loc.end_col_offset = -1;
 3936|      0|        }
 3937|       |        // Make sure the end position still follows the start position, even for
 3938|       |        // weird ASTs:
 3939|      0|        loc.end_lineno = Py_MAX(loc.lineno, loc.end_lineno);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3940|      0|        if (loc.lineno == loc.end_lineno) {
  ------------------
  |  Branch (3940:13): [True: 0, False: 0]
  ------------------
 3941|      0|            loc.end_col_offset = Py_MAX(loc.col_offset, loc.end_col_offset);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3942|      0|        }
 3943|      0|    }
 3944|  1.48k|    return loc;
 3945|  1.48k|}
codegen.c:codegen_addop_name:
  379|  1.38k|{
  380|  1.38k|    int shift = 0, low = 0;
  381|  1.38k|    if (opcode == LOAD_ATTR) {
  ------------------
  |  |   92|  1.38k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (381:9): [True: 998, False: 391]
  ------------------
  382|    998|        shift = 1;
  383|    998|    }
  384|  1.38k|    if (opcode == LOAD_METHOD) {
  ------------------
  |  |  354|  1.38k|#define LOAD_METHOD -1
  ------------------
  |  Branch (384:9): [True: 144, False: 1.24k]
  ------------------
  385|    144|        opcode = LOAD_ATTR;
  ------------------
  |  |   92|    144|#define LOAD_ATTR                               79
  ------------------
  386|    144|        shift = 1;
  387|    144|        low = 1;
  388|    144|    }
  389|  1.38k|    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  108|  1.38k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (389:9): [True: 0, False: 1.38k]
  ------------------
  390|      0|        shift = 2;
  391|      0|        low = 2;
  392|      0|    }
  393|  1.38k|    if (opcode == LOAD_SUPER_METHOD) {
  ------------------
  |  |  355|  1.38k|#define LOAD_SUPER_METHOD -2
  ------------------
  |  Branch (393:9): [True: 48, False: 1.34k]
  ------------------
  394|     48|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|     48|#define LOAD_SUPER_ATTR                         95
  ------------------
  395|     48|        shift = 2;
  396|     48|        low = 3;
  397|     48|    }
  398|  1.38k|    if (opcode == LOAD_ZERO_SUPER_ATTR) {
  ------------------
  |  |  356|  1.38k|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
  |  Branch (398:9): [True: 0, False: 1.38k]
  ------------------
  399|      0|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|      0|#define LOAD_SUPER_ATTR                         95
  ------------------
  400|      0|        shift = 2;
  401|      0|    }
  402|  1.38k|    if (opcode == LOAD_ZERO_SUPER_METHOD) {
  ------------------
  |  |  357|  1.38k|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
  |  Branch (402:9): [True: 0, False: 1.38k]
  ------------------
  403|      0|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|      0|#define LOAD_SUPER_ATTR                         95
  ------------------
  404|      0|        shift = 2;
  405|      0|        low = 1;
  406|      0|    }
  407|  1.38k|    return codegen_addop_name_custom(c, loc, opcode, dict, o, shift, low);
  408|  1.38k|}
codegen.c:codegen_addop_name_custom:
  362|  1.49k|{
  363|  1.49k|    PyObject *mangled = _PyCompile_MaybeMangle(c, o);
  364|  1.49k|    if (!mangled) {
  ------------------
  |  Branch (364:9): [True: 0, False: 1.49k]
  ------------------
  365|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  366|      0|    }
  367|  1.49k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, mangled);
  368|  1.49k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  1.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|  1.49k|    if (arg < 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 1.49k]
  ------------------
  370|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  371|      0|    }
  372|  1.49k|    ADDOP_I(c, loc, opcode, (arg << shift) | low);
  ------------------
  |  |  276|  1.49k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.49k|    do {                    \
  |  |  |  |   52|  1.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|  1.49k|    return SUCCESS;
  ------------------
  |  |   47|  1.49k|#define SUCCESS 0
  ------------------
  374|  1.49k|}
codegen.c:should_apply_two_element_slice_optimization:
 5573|     12|{
 5574|     12|    return !is_constant_slice(s) &&
  ------------------
  |  Branch (5574:12): [True: 12, False: 0]
  ------------------
 5575|     12|           s->kind == Slice_kind &&
  ------------------
  |  Branch (5575:12): [True: 0, False: 12]
  ------------------
 5576|      0|           s->v.Slice.step == NULL;
  ------------------
  |  Branch (5576:12): [True: 0, False: 0]
  ------------------
 5577|     12|}
codegen.c:is_constant_slice:
 5561|     12|{
 5562|     12|    return s->kind == Slice_kind &&
  ------------------
  |  Branch (5562:12): [True: 0, False: 12]
  ------------------
 5563|      0|        (s->v.Slice.lower == NULL ||
  ------------------
  |  Branch (5563:10): [True: 0, False: 0]
  ------------------
 5564|      0|         s->v.Slice.lower->kind == Constant_kind) &&
  ------------------
  |  Branch (5564:10): [True: 0, False: 0]
  ------------------
 5565|      0|        (s->v.Slice.upper == NULL ||
  ------------------
  |  Branch (5565:10): [True: 0, False: 0]
  ------------------
 5566|      0|         s->v.Slice.upper->kind == Constant_kind) &&
  ------------------
  |  Branch (5566:10): [True: 0, False: 0]
  ------------------
 5567|      0|        (s->v.Slice.step == NULL ||
  ------------------
  |  Branch (5567:10): [True: 0, False: 0]
  ------------------
 5568|      0|         s->v.Slice.step->kind == Constant_kind);
  ------------------
  |  Branch (5568:10): [True: 0, False: 0]
  ------------------
 5569|     12|}
codegen.c:addop_binary:
 3210|     14|{
 3211|     14|    int oparg;
 3212|     14|    switch (binop) {
 3213|      0|        case Add:
  ------------------
  |  Branch (3213:9): [True: 0, False: 14]
  ------------------
 3214|      0|            oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   23|      0|#define NB_INPLACE_ADD                          13
  ------------------
                          oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   10|      0|#define NB_ADD                                   0
  ------------------
  |  Branch (3214:21): [True: 0, False: 0]
  ------------------
 3215|      0|            break;
 3216|      8|        case Sub:
  ------------------
  |  Branch (3216:9): [True: 8, False: 6]
  ------------------
 3217|      8|            oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   33|      0|#define NB_INPLACE_SUBTRACT                     23
  ------------------
                          oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   20|     16|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (3217:21): [True: 0, False: 8]
  ------------------
 3218|      8|            break;
 3219|      0|        case Mult:
  ------------------
  |  Branch (3219:9): [True: 0, False: 14]
  ------------------
 3220|      0|            oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   28|      0|#define NB_INPLACE_MULTIPLY                     18
  ------------------
                          oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   15|      0|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (3220:21): [True: 0, False: 0]
  ------------------
 3221|      0|            break;
 3222|      0|        case MatMult:
  ------------------
  |  Branch (3222:9): [True: 0, False: 14]
  ------------------
 3223|      0|            oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   27|      0|#define NB_INPLACE_MATRIX_MULTIPLY              17
  ------------------
                          oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   14|      0|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (3223:21): [True: 0, False: 0]
  ------------------
 3224|      0|            break;
 3225|      0|        case Div:
  ------------------
  |  Branch (3225:9): [True: 0, False: 14]
  ------------------
 3226|      0|            oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   34|      0|#define NB_INPLACE_TRUE_DIVIDE                  24
  ------------------
                          oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   21|      0|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (3226:21): [True: 0, False: 0]
  ------------------
 3227|      0|            break;
 3228|      0|        case Mod:
  ------------------
  |  Branch (3228:9): [True: 0, False: 14]
  ------------------
 3229|      0|            oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   29|      0|#define NB_INPLACE_REMAINDER                    19
  ------------------
                          oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   16|      0|#define NB_REMAINDER                             6
  ------------------
  |  Branch (3229:21): [True: 0, False: 0]
  ------------------
 3230|      0|            break;
 3231|      6|        case Pow:
  ------------------
  |  Branch (3231:9): [True: 6, False: 8]
  ------------------
 3232|      6|            oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   31|      0|#define NB_INPLACE_POWER                        21
  ------------------
                          oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   18|     12|#define NB_POWER                                 8
  ------------------
  |  Branch (3232:21): [True: 0, False: 6]
  ------------------
 3233|      6|            break;
 3234|      0|        case LShift:
  ------------------
  |  Branch (3234:9): [True: 0, False: 14]
  ------------------
 3235|      0|            oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   26|      0|#define NB_INPLACE_LSHIFT                       16
  ------------------
                          oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   13|      0|#define NB_LSHIFT                                3
  ------------------
  |  Branch (3235:21): [True: 0, False: 0]
  ------------------
 3236|      0|            break;
 3237|      0|        case RShift:
  ------------------
  |  Branch (3237:9): [True: 0, False: 14]
  ------------------
 3238|      0|            oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   32|      0|#define NB_INPLACE_RSHIFT                       22
  ------------------
                          oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   19|      0|#define NB_RSHIFT                                9
  ------------------
  |  Branch (3238:21): [True: 0, False: 0]
  ------------------
 3239|      0|            break;
 3240|      0|        case BitOr:
  ------------------
  |  Branch (3240:9): [True: 0, False: 14]
  ------------------
 3241|      0|            oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   30|      0|#define NB_INPLACE_OR                           20
  ------------------
                          oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   17|      0|#define NB_OR                                    7
  ------------------
  |  Branch (3241:21): [True: 0, False: 0]
  ------------------
 3242|      0|            break;
 3243|      0|        case BitXor:
  ------------------
  |  Branch (3243:9): [True: 0, False: 14]
  ------------------
 3244|      0|            oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   35|      0|#define NB_INPLACE_XOR                          25
  ------------------
                          oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   22|      0|#define NB_XOR                                  12
  ------------------
  |  Branch (3244:21): [True: 0, False: 0]
  ------------------
 3245|      0|            break;
 3246|      0|        case BitAnd:
  ------------------
  |  Branch (3246:9): [True: 0, False: 14]
  ------------------
 3247|      0|            oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   24|      0|#define NB_INPLACE_AND                          14
  ------------------
                          oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   11|      0|#define NB_AND                                   1
  ------------------
  |  Branch (3247:21): [True: 0, False: 0]
  ------------------
 3248|      0|            break;
 3249|      0|        case FloorDiv:
  ------------------
  |  Branch (3249:9): [True: 0, False: 14]
  ------------------
 3250|      0|            oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   25|      0|#define NB_INPLACE_FLOOR_DIVIDE                 15
  ------------------
                          oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   12|      0|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (3250:21): [True: 0, False: 0]
  ------------------
 3251|      0|            break;
 3252|      0|        default:
  ------------------
  |  Branch (3252:9): [True: 0, False: 14]
  ------------------
 3253|      0|            PyErr_Format(PyExc_SystemError, "%s op %d should not be possible",
 3254|      0|                         inplace ? "inplace" : "binary", binop);
  ------------------
  |  Branch (3254:26): [True: 0, False: 0]
  ------------------
 3255|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3256|     14|    }
 3257|     14|    ADDOP_I(c, loc, BINARY_OP, oparg);
  ------------------
  |  |  276|     14|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     14|    do {                    \
  |  |  |  |   52|     14|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|     14|    return SUCCESS;
  ------------------
  |  |   47|     14|#define SUCCESS 0
  ------------------
 3259|     14|}
codegen.c:codegen_for:
 2128|      2|{
 2129|      2|    location loc = LOC(s);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2130|      2|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2131|      2|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2132|      2|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2133|      2|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2134|       |
 2135|      2|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2136|       |
 2137|      2|    VISIT(c, expr, s->v.For.iter);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|       |
 2139|      2|    loc = LOC(s->v.For.iter);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2140|      2|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|       |
 2142|      2|    USE_LABEL(c, start);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|      2|    ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  427|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|       |
 2145|       |    /* Add NOP to ensure correct line tracing of multiline for statements.
 2146|       |     * It will be removed later if redundant.
 2147|       |     */
 2148|      2|    ADDOP(c, LOC(s->v.For.target), NOP);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|       |
 2150|      2|    USE_LABEL(c, body);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2151|      2|    VISIT(c, expr, s->v.For.target);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|      2|    VISIT_SEQ(c, stmt, s->v.For.body);
  ------------------
  |  |  458|      2|    do {                                                                    \
  |  |  459|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|     28|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     28|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 26, False: 2]
  |  |  ------------------
  |  |  461|     26|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     26|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     26|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     26|    do {                    \
  |  |  |  |   52|     26|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     26|        }                                                                   \
  |  |  464|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2153|       |    /* Mark jump as artificial */
 2154|      2|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  427|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|       |
 2156|      2|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2157|       |    /* It is important for instrumentation that the `END_FOR` comes first.
 2158|       |    * Iteration over a generator will jump to the first of these instructions,
 2159|       |    * but a non-generator will jump to the second instruction.
 2160|       |    */
 2161|      2|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|      2|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|       |
 2164|      2|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FOR_LOOP, start);
 2165|       |
 2166|      2|    VISIT_SEQ(c, stmt, s->v.For.orelse);
  ------------------
  |  |  458|      2|    do {                                                                    \
  |  |  459|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|      2|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 0, False: 2]
  |  |  ------------------
  |  |  461|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      0|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      0|        }                                                                   \
  |  |  464|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2167|       |
 2168|      2|    USE_LABEL(c, end);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 2170|      2|}
codegen.c:codegen_jump_if:
 1943|    260|{
 1944|    260|    switch (e->kind) {
 1945|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (1945:5): [True: 0, False: 260]
  ------------------
 1946|      0|        if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (1946:13): [True: 0, False: 0]
  ------------------
 1947|      0|            return codegen_jump_if(c, loc, e->v.UnaryOp.operand, next, !cond);
 1948|      0|        }
 1949|       |        /* fallback to general implementation */
 1950|      0|        break;
 1951|     48|    case BoolOp_kind: {
  ------------------
  |  Branch (1951:5): [True: 48, False: 212]
  ------------------
 1952|     48|        asdl_expr_seq *s = e->v.BoolOp.values;
 1953|     48|        Py_ssize_t i, n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|     48|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|     48|        assert(n >= 0);
 1955|     48|        int cond2 = e->v.BoolOp.op == Or;
 1956|     48|        jump_target_label next2 = next;
 1957|     48|        if (!cond2 != !cond) {
  ------------------
  |  Branch (1957:13): [True: 48, False: 0]
  ------------------
 1958|     48|            NEW_JUMP_TARGET_LABEL(c, new_next2);
  ------------------
  |  |   91|     48|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     48|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     48|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     48|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     48|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 48]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1959|     48|            next2 = new_next2;
 1960|     48|        }
 1961|     96|        for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1961:21): [True: 48, False: 48]
  ------------------
 1962|     48|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1963|     48|                codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, i), next2, cond2));
 1964|     48|        }
 1965|     48|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1966|     48|            codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond));
 1967|     48|        if (!SAME_JUMP_TARGET_LABEL(next2, next)) {
  ------------------
  |  |   59|     48|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  ------------------
  |  Branch (1967:13): [True: 48, False: 0]
  ------------------
 1968|     48|            USE_LABEL(c, next2);
  ------------------
  |  |   97|     48|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|     48|        }
 1970|     48|        return SUCCESS;
  ------------------
  |  |   47|     48|#define SUCCESS 0
  ------------------
 1971|     48|    }
 1972|      0|    case IfExp_kind: {
  ------------------
  |  Branch (1972:5): [True: 0, False: 260]
  ------------------
 1973|      0|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1974|      0|        NEW_JUMP_TARGET_LABEL(c, next2);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1975|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1976|      0|            codegen_jump_if(c, loc, e->v.IfExp.test, next2, 0));
 1977|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1978|      0|            codegen_jump_if(c, loc, e->v.IfExp.body, next, cond));
 1979|      0|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|       |
 1981|      0|        USE_LABEL(c, next2);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1982|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1983|      0|            codegen_jump_if(c, loc, e->v.IfExp.orelse, next, cond));
 1984|       |
 1985|      0|        USE_LABEL(c, end);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1986|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1987|      0|    }
 1988|    204|    case Compare_kind: {
  ------------------
  |  Branch (1988:5): [True: 204, False: 56]
  ------------------
 1989|    204|        Py_ssize_t n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|    204|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    408|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 204]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|    204|        if (n > 0) {
  ------------------
  |  Branch (1990:13): [True: 0, False: 204]
  ------------------
 1991|      0|            RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1992|      0|            NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1993|      0|            VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|      0|            for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1994:36): [True: 0, False: 0]
  ------------------
 1995|      0|                VISIT(c, expr,
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1996|      0|                    (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 1997|      0|                ADDOP_I(c, LOC(e), SWAP, 2);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|      0|                ADDOP_I(c, LOC(e), COPY, 2);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1999|      0|                ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  430|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      0|                ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2001|      0|                ADDOP_JUMP(c, LOC(e), POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2002|      0|            }
 2003|      0|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|      0|            ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  430|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|      0|            ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|            ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      0|            NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2008|      0|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|       |
 2010|      0|            USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      0|            ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      0|            if (!cond) {
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, next);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|      0|            }
 2015|       |
 2016|      0|            USE_LABEL(c, end);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 2018|      0|        }
 2019|       |        /* fallback to general implementation */
 2020|    204|        break;
 2021|    204|    }
 2022|    204|    default:
  ------------------
  |  Branch (2022:5): [True: 8, False: 252]
  ------------------
 2023|       |        /* fallback to general implementation */
 2024|      8|        break;
 2025|    260|    }
 2026|       |
 2027|       |    /* general implementation */
 2028|    212|    VISIT(c, expr, e);
  ------------------
  |  |  452|    212|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    212|    do {                    \
  |  |  |  |   52|    212|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 212]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    212|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2029|    212|    ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|    212|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    212|    do {                    \
  |  |  |  |   52|    212|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 212]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    212|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|    212|    ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  427|    212|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    212|    do {                    \
  |  |  |  |   52|    424|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 212]
  |  |  |  |  |  Branch (52:14): [True: 50, False: 162]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    212|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2031|    212|    return SUCCESS;
  ------------------
  |  |   47|    212|#define SUCCESS 0
  ------------------
 2032|    212|}
codegen.c:codegen_check_compare:
 1868|    414|{
 1869|    414|    Py_ssize_t i, n;
 1870|    414|    bool left = check_is_arg(e->v.Compare.left);
 1871|    414|    expr_ty left_expr = e->v.Compare.left;
 1872|    414|    n = asdl_seq_LEN(e->v.Compare.ops);
  ------------------
  |  |   83|    414|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    828|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 414]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1873|    830|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1873:17): [True: 416, False: 414]
  ------------------
 1874|    416|        cmpop_ty op = (cmpop_ty)asdl_seq_GET(e->v.Compare.ops, i);
  ------------------
  |  |   82|    416|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    416|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1875|    416|        expr_ty right_expr = (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i);
  ------------------
  |  |   82|    416|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    416|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1876|    416|        bool right = check_is_arg(right_expr);
 1877|    416|        if (op == Is || op == IsNot) {
  ------------------
  |  Branch (1877:13): [True: 148, False: 268]
  |  Branch (1877:25): [True: 0, False: 268]
  ------------------
 1878|    148|            if (!right || !left) {
  ------------------
  |  Branch (1878:17): [True: 0, False: 148]
  |  Branch (1878:27): [True: 0, False: 148]
  ------------------
 1879|      0|                const char *msg = (op == Is)
  ------------------
  |  Branch (1879:35): [True: 0, False: 0]
  ------------------
 1880|      0|                        ? "\"is\" with '%.200s' literal. Did you mean \"==\"?"
 1881|      0|                        : "\"is not\" with '%.200s' literal. Did you mean \"!=\"?";
 1882|      0|                expr_ty literal = !left ? left_expr : right_expr;
  ------------------
  |  Branch (1882:35): [True: 0, False: 0]
  ------------------
 1883|      0|                return _PyCompile_Warn(
 1884|      0|                    c, LOC(e), msg, infer_type(literal)->tp_name
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1885|      0|                );
 1886|      0|            }
 1887|    148|        }
 1888|    416|        left = right;
 1889|    416|        left_expr = right_expr;
 1890|    416|    }
 1891|    414|    return SUCCESS;
  ------------------
  |  |   47|    414|#define SUCCESS 0
  ------------------
 1892|    414|}
codegen.c:check_is_arg:
 1847|    830|{
 1848|    830|    if (e->kind == Tuple_kind) {
  ------------------
  |  Branch (1848:9): [True: 0, False: 830]
  ------------------
 1849|      0|        return !is_const_tuple(e->v.Tuple.elts);
 1850|      0|    }
 1851|    830|    if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1851:9): [True: 828, False: 2]
  ------------------
 1852|    828|        return true;
 1853|    828|    }
 1854|      2|    PyObject *value = e->v.Constant.value;
 1855|      2|    return (value == Py_None
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1855:13): [True: 0, False: 2]
  ------------------
 1856|      2|         || value == Py_False
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1856:13): [True: 0, False: 2]
  ------------------
 1857|      2|         || value == Py_True
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1857:13): [True: 0, False: 2]
  ------------------
 1858|      2|         || value == Py_Ellipsis);
  ------------------
  |  |   14|      2|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1858:13): [True: 0, False: 2]
  ------------------
 1859|    830|}
codegen.c:infer_type:
 3692|      8|{
 3693|      8|    switch (e->kind) {
 3694|      4|    case Tuple_kind:
  ------------------
  |  Branch (3694:5): [True: 4, False: 4]
  ------------------
 3695|      4|        return &PyTuple_Type;
 3696|      0|    case List_kind:
  ------------------
  |  Branch (3696:5): [True: 0, False: 8]
  ------------------
 3697|      0|    case ListComp_kind:
  ------------------
  |  Branch (3697:5): [True: 0, False: 8]
  ------------------
 3698|      0|        return &PyList_Type;
 3699|      0|    case Dict_kind:
  ------------------
  |  Branch (3699:5): [True: 0, False: 8]
  ------------------
 3700|      0|    case DictComp_kind:
  ------------------
  |  Branch (3700:5): [True: 0, False: 8]
  ------------------
 3701|      0|        return &PyDict_Type;
 3702|      0|    case Set_kind:
  ------------------
  |  Branch (3702:5): [True: 0, False: 8]
  ------------------
 3703|      0|    case SetComp_kind:
  ------------------
  |  Branch (3703:5): [True: 0, False: 8]
  ------------------
 3704|      0|        return &PySet_Type;
 3705|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3705:5): [True: 0, False: 8]
  ------------------
 3706|      0|        return &PyGen_Type;
 3707|      0|    case Lambda_kind:
  ------------------
  |  Branch (3707:5): [True: 0, False: 8]
  ------------------
 3708|      0|        return &PyFunction_Type;
 3709|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3709:5): [True: 0, False: 8]
  ------------------
 3710|      0|    case Interpolation_kind:
  ------------------
  |  Branch (3710:5): [True: 0, False: 8]
  ------------------
 3711|      0|        return &_PyTemplate_Type;
 3712|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3712:5): [True: 0, False: 8]
  ------------------
 3713|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3713:5): [True: 0, False: 8]
  ------------------
 3714|      0|        return &PyUnicode_Type;
 3715|      0|    case Constant_kind:
  ------------------
  |  Branch (3715:5): [True: 0, False: 8]
  ------------------
 3716|      0|        return Py_TYPE(e->v.Constant.value);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|      4|    default:
  ------------------
  |  Branch (3717:5): [True: 4, False: 4]
  ------------------
 3718|       |        return NULL;
 3719|      8|    }
 3720|      8|}
codegen.c:codegen_addcompare:
 1896|    416|{
 1897|    416|    int cmp;
 1898|    416|    switch (op) {
 1899|    214|    case Eq:
  ------------------
  |  Branch (1899:5): [True: 214, False: 202]
  ------------------
 1900|    214|        cmp = Py_EQ;
  ------------------
  |  |  654|    214|#define Py_EQ 2
  ------------------
 1901|    214|        break;
 1902|      0|    case NotEq:
  ------------------
  |  Branch (1902:5): [True: 0, False: 416]
  ------------------
 1903|      0|        cmp = Py_NE;
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
 1904|      0|        break;
 1905|      0|    case Lt:
  ------------------
  |  Branch (1905:5): [True: 0, False: 416]
  ------------------
 1906|      0|        cmp = Py_LT;
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 1907|      0|        break;
 1908|      6|    case LtE:
  ------------------
  |  Branch (1908:5): [True: 6, False: 410]
  ------------------
 1909|      6|        cmp = Py_LE;
  ------------------
  |  |  653|      6|#define Py_LE 1
  ------------------
 1910|      6|        break;
 1911|      0|    case Gt:
  ------------------
  |  Branch (1911:5): [True: 0, False: 416]
  ------------------
 1912|      0|        cmp = Py_GT;
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
 1913|      0|        break;
 1914|      0|    case GtE:
  ------------------
  |  Branch (1914:5): [True: 0, False: 416]
  ------------------
 1915|      0|        cmp = Py_GE;
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
 1916|      0|        break;
 1917|    148|    case Is:
  ------------------
  |  Branch (1917:5): [True: 148, False: 268]
  ------------------
 1918|    148|        ADDOP_I(c, loc, IS_OP, 0);
  ------------------
  |  |  276|    148|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    148|    do {                    \
  |  |  |  |   52|    148|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 148]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    148|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1919|    148|        return SUCCESS;
  ------------------
  |  |   47|    148|#define SUCCESS 0
  ------------------
 1920|      0|    case IsNot:
  ------------------
  |  Branch (1920:5): [True: 0, False: 416]
  ------------------
 1921|      0|        ADDOP_I(c, loc, IS_OP, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1923|     48|    case In:
  ------------------
  |  Branch (1923:5): [True: 48, False: 368]
  ------------------
 1924|     48|        ADDOP_I(c, loc, CONTAINS_OP, 0);
  ------------------
  |  |  276|     48|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|     48|        return SUCCESS;
  ------------------
  |  |   47|     48|#define SUCCESS 0
  ------------------
 1926|      0|    case NotIn:
  ------------------
  |  Branch (1926:5): [True: 0, False: 416]
  ------------------
 1927|      0|        ADDOP_I(c, loc, CONTAINS_OP, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1928|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1929|      0|    default:
  ------------------
  |  Branch (1929:5): [True: 0, False: 416]
  ------------------
 1930|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1931|    416|    }
 1932|       |    // cmp goes in top three bits of the oparg, while the low four bits are used
 1933|       |    // by quickened versions of this opcode to store the comparison mask. The
 1934|       |    // fifth-lowest bit indicates whether the result should be converted to bool
 1935|       |    // and is set later):
 1936|    220|    ADDOP_I(c, loc, COMPARE_OP, (cmp << 5) | compare_masks[cmp]);
  ------------------
  |  |  276|    220|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    220|    do {                    \
  |  |  |  |   52|    220|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 220]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    220|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|    220|    return SUCCESS;
  ------------------
  |  |   47|    220|#define SUCCESS 0
  ------------------
 1938|    220|}
codegen.c:codegen_if:
 2100|    152|{
 2101|    152|    jump_target_label next;
 2102|    152|    assert(s->kind == If_kind);
 2103|    152|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    152|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    152|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    152|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    152|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    152|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 152]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2104|    152|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|    152|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    304|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 4, False: 148]
  |  |  |  |  |  Branch (277:37): [True: 148, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      4|        NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   91|      4|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      4|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      4|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      4|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      4|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2106|      4|        next = orelse;
 2107|      4|    }
 2108|    148|    else {
 2109|    148|        next = end;
 2110|    148|    }
 2111|    152|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    152|    do {                    \
  |  |   52|    152|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 152]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    152|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 152]
  |  |  ------------------
  ------------------
 2112|    152|        codegen_jump_if(c, LOC(s), s->v.If.test, next, 0));
 2113|       |
 2114|    152|    VISIT_SEQ(c, stmt, s->v.If.body);
  ------------------
  |  |  458|    152|    do {                                                                    \
  |  |  459|    152|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    312|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    312|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    624|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 312]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 160, False: 152]
  |  |  ------------------
  |  |  461|    160|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    160|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    160|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    160|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    160|    do {                    \
  |  |  |  |   52|    160|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 160]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    160|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 160]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    160|        }                                                                   \
  |  |  464|    152|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 152]
  |  |  ------------------
  ------------------
 2115|    152|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|    152|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    304|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 4, False: 148]
  |  |  |  |  |  Branch (277:37): [True: 148, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      4|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      4|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2117|       |
 2118|      4|        USE_LABEL(c, next);
  ------------------
  |  |   97|      4|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|      4|        VISIT_SEQ(c, stmt, s->v.If.orelse);
  ------------------
  |  |  458|      4|    do {                                                                    \
  |  |  459|      4|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|     10|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     10|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     20|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 6, False: 4]
  |  |  ------------------
  |  |  461|      6|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      6|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      6|        }                                                                   \
  |  |  464|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2120|      4|    }
 2121|       |
 2122|    152|    USE_LABEL(c, end);
  ------------------
  |  |   97|    152|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    152|    do {                    \
  |  |  |  |   52|    152|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 152]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    152|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 152]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|    152|    return SUCCESS;
  ------------------
  |  |   47|    152|#define SUCCESS 0
  ------------------
 2124|    152|}
codegen.c:codegen_assert:
 3028|      2|{
 3029|       |    /* Always emit a warning if the test is a non-zero length tuple */
 3030|      2|    if ((s->v.Assert.test->kind == Tuple_kind &&
  ------------------
  |  Branch (3030:10): [True: 0, False: 2]
  ------------------
 3031|      0|        asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) ||
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3031:9): [True: 0, False: 0]
  ------------------
 3032|      2|        (s->v.Assert.test->kind == Constant_kind &&
  ------------------
  |  Branch (3032:10): [True: 0, False: 2]
  ------------------
 3033|      2|         PyTuple_Check(s->v.Assert.test->v.Constant.value) &&
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3034|      0|         PyTuple_Size(s->v.Assert.test->v.Constant.value) > 0))
  ------------------
  |  Branch (3034:10): [True: 0, False: 0]
  ------------------
 3035|      0|    {
 3036|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3037|      0|            _PyCompile_Warn(c, LOC(s), "assertion is always true, "
 3038|      0|                                       "perhaps remove parentheses?"));
 3039|      0|    }
 3040|      2|    if (OPTIMIZATION_LEVEL(c)) {
  ------------------
  |  |   72|      2|#define OPTIMIZATION_LEVEL(C) _PyCompile_OptimizationLevel(C)
  |  |  ------------------
  |  |  |  Branch (72:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3041|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3042|      0|    }
 3043|      2|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3044|      2|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.Assert.test, end, 1));
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3045|      2|    ADDOP_I(c, LOC(s), LOAD_COMMON_CONSTANT, CONSTANT_ASSERTIONERROR);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      2|    if (s->v.Assert.msg) {
  ------------------
  |  Branch (3046:9): [True: 2, False: 0]
  ------------------
 3047|      2|        VISIT(c, expr, s->v.Assert.msg);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|      2|        ADDOP_I(c, LOC(s), CALL, 0);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3049|      2|    }
 3050|      2|    ADDOP_I(c, LOC(s->v.Assert.test), RAISE_VARARGS, 1);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|       |
 3052|      2|    USE_LABEL(c, end);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3054|      2|}
codegen.c:codegen_import:
 2904|      8|{
 2905|      8|    location loc = LOC(s);
  ------------------
  |  |   88|      8|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      8|    (_Py_SourceLocation){ \
  |  |  |  |   55|      8|               .lineno = (n)->lineno, \
  |  |  |  |   56|      8|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      8|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      8|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2906|       |    /* The Import node stores a module name like a.b.c as a single
 2907|       |       string.  This is convenient for all cases except
 2908|       |         import a.b.c as d
 2909|       |       where we need to parse that string to extract the individual
 2910|       |       module names.
 2911|       |       XXX Perhaps change the representation to make this case simpler?
 2912|       |     */
 2913|      8|    Py_ssize_t i, n = asdl_seq_LEN(s->v.Import.names);
  ------------------
  |  |   83|      8|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|       |
 2915|      8|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
 2916|     16|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2916:17): [True: 8, False: 8]
  ------------------
 2917|      8|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.Import.names, i);
  ------------------
  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2918|      8|        int r;
 2919|       |
 2920|      8|        ADDOP_LOAD_CONST(c, loc, zero);
  ------------------
  |  |  307|      8|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2921|      8|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      8|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      8|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2922:13): [True: 0, False: 8]
  ------------------
 2923|      0|            RETURN_IF_ERROR(codegen_validate_lazy_import(c, loc));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2924|      0|            ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 1);
  ------------------
  |  |  414|      0|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2925|      8|        } else {
 2926|      8|            if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2926:17): [True: 0, False: 8]
  ------------------
 2927|      8|                _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2927:17): [True: 0, False: 8]
  ------------------
 2928|       |                // force eager import in try/except block
 2929|      0|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 2);
  ------------------
  |  |  414|      0|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2930|      8|            } else {
 2931|      8|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 0);
  ------------------
  |  |  414|      8|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|      8|            }
 2933|      8|        }
 2934|       |
 2935|      8|        if (alias->asname) {
  ------------------
  |  Branch (2935:13): [True: 0, False: 8]
  ------------------
 2936|      0|            r = codegen_import_as(c, loc, alias->name, alias->asname);
 2937|      0|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2938|      0|        }
 2939|      8|        else {
 2940|      8|            identifier tmp = alias->name;
 2941|      8|            Py_ssize_t dot = PyUnicode_FindChar(
 2942|      8|                alias->name, '.', 0, PyUnicode_GET_LENGTH(alias->name), 1);
  ------------------
  |  |  299|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|      8|            if (dot != -1) {
  ------------------
  |  Branch (2943:17): [True: 0, False: 8]
  ------------------
 2944|      0|                tmp = PyUnicode_Substring(alias->name, 0, dot);
 2945|      0|                if (tmp == NULL) {
  ------------------
  |  Branch (2945:21): [True: 0, False: 0]
  ------------------
 2946|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2947|      0|                }
 2948|      0|            }
 2949|      8|            r = codegen_nameop(c, loc, tmp, Store);
 2950|      8|            if (dot != -1) {
  ------------------
  |  Branch (2950:17): [True: 0, False: 8]
  ------------------
 2951|      0|                Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|      0|            }
 2953|      8|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|      8|    do {                    \
  |  |   52|      8|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2954|      8|        }
 2955|      8|    }
 2956|      8|    return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
 2957|      8|}
codegen.c:codegen_from_import:
 2961|     93|{
 2962|     93|    Py_ssize_t n = asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|     93|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    186|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|       |
 2964|     93|    ADDOP_LOAD_CONST_NEW(c, LOC(s), PyLong_FromLong(s->v.ImportFrom.level));
  ------------------
  |  |  314|     93|    do {                                                                \
  |  |  315|     93|        PyObject *__new_const = (O);                                    \
  |  |  316|     93|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 93]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|     93|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 93]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|     93|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|     93|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|     93|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2965|       |
 2966|     93|    PyObject *names = PyTuple_New(n);
 2967|     93|    if (!names) {
  ------------------
  |  Branch (2967:9): [True: 0, False: 93]
  ------------------
 2968|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2969|      0|    }
 2970|       |
 2971|       |    /* build up the names */
 2972|    188|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2972:28): [True: 95, False: 93]
  ------------------
 2973|     95|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|     95|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     95|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2974|     95|        PyTuple_SET_ITEM(names, i, Py_NewRef(alias->name));
  ------------------
  |  |   40|     95|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|     95|    }
 2976|       |
 2977|     93|    ADDOP_LOAD_CONST_NEW(c, LOC(s), names);
  ------------------
  |  |  314|     93|    do {                                                                \
  |  |  315|     93|        PyObject *__new_const = (O);                                    \
  |  |  316|     93|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 93]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|     93|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 93]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|     93|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|     93|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|     93|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2978|       |
 2979|     93|    identifier from = &_Py_STR(empty);
  ------------------
  |  |  921|     93|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     93|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     93|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|     93|    if (s->v.ImportFrom.module) {
  ------------------
  |  Branch (2980:9): [True: 93, False: 0]
  ------------------
 2981|     93|        from = s->v.ImportFrom.module;
 2982|     93|    }
 2983|     93|    if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2983:9): [True: 0, False: 93]
  ------------------
 2984|      0|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2985|      0|        if (PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2985:13): [True: 0, False: 0]
  ------------------
 2986|      0|            return _PyCompile_Error(c, LOC(s), "cannot lazy import *");
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2987|      0|        }
 2988|      0|        RETURN_IF_ERROR(codegen_validate_lazy_import(c, LOC(s)));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2989|      0|        ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 1);
  ------------------
  |  |  414|      0|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2990|     93|    } else {
 2991|     93|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|     93|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     93|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2992|     93|        if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2992:13): [True: 0, False: 93]
  ------------------
 2993|     93|            _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE ||
  ------------------
  |  Branch (2993:13): [True: 0, False: 93]
  ------------------
 2994|     93|            PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|     93|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2994:13): [True: 0, False: 93]
  ------------------
 2995|       |            // forced non-lazy import due to try/except or import *
 2996|      0|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 2);
  ------------------
  |  |  414|      0|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|     93|        } else {
 2998|     93|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 0);
  ------------------
  |  |  414|     93|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|     93|    do {                    \
  |  |  |  |   52|     93|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 93]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     93|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|     93|        }
 3000|     93|    }
 3001|       |
 3002|    188|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3002:28): [True: 95, False: 93]
  ------------------
 3003|     95|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|     95|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     95|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3004|     95|        identifier store_name;
 3005|       |
 3006|     95|        if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|     93|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:13): [True: 93, False: 2]
  |  Branch (3006:23): [True: 0, False: 93]
  ------------------
 3007|      0|            assert(n == 1);
 3008|      0|            ADDOP_I(c, LOC(s), CALL_INTRINSIC_1, INTRINSIC_IMPORT_STAR);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|      0|            ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3011|      0|        }
 3012|       |
 3013|     95|        ADDOP_NAME(c, LOC(s), IMPORT_FROM, alias->name, names);
  ------------------
  |  |  411|     95|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     95|    do {                    \
  |  |  |  |   52|     95|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|     95|        store_name = alias->name;
 3015|     95|        if (alias->asname) {
  ------------------
  |  Branch (3015:13): [True: 2, False: 93]
  ------------------
 3016|      2|            store_name = alias->asname;
 3017|      2|        }
 3018|       |
 3019|     95|        RETURN_IF_ERROR(codegen_nameop(c, LOC(s), store_name, Store));
  ------------------
  |  |   51|     95|    do {                    \
  |  |   52|     95|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     95|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  ------------------
  ------------------
 3020|     95|    }
 3021|       |    /* remove imported module */
 3022|     93|    ADDOP(c, LOC(s), POP_TOP);
  ------------------
  |  |  290|     93|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     93|    do {                    \
  |  |  |  |   52|     93|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 93]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     93|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|     93|    return SUCCESS;
  ------------------
  |  |   47|     93|#define SUCCESS 0
  ------------------
 3024|     93|}
codegen.c:codegen_stmt_expr:
 3058|    190|{
 3059|    190|    if (IS_INTERACTIVE_TOP_LEVEL(c)) {
  ------------------
  |  |   73|    190|#define IS_INTERACTIVE_TOP_LEVEL(C) _PyCompile_IsInteractiveTopLevel(C)
  |  |  ------------------
  |  |  |  Branch (73:37): [True: 0, False: 190]
  |  |  ------------------
  ------------------
 3060|      0|        VISIT(c, expr, value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3061|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_PRINT);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3062|      0|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3063|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3064|      0|    }
 3065|       |
 3066|    190|    if (value->kind == Constant_kind) {
  ------------------
  |  Branch (3066:9): [True: 0, False: 190]
  ------------------
 3067|       |        /* ignore constant statement */
 3068|      0|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3069|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3070|      0|    }
 3071|       |
 3072|    190|    VISIT(c, expr, value);
  ------------------
  |  |  452|    190|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    190|    do {                    \
  |  |  |  |   52|    190|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 190]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    190|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 190]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|    190|    ADDOP(c, NO_LOCATION, POP_TOP); /* artificial */
  ------------------
  |  |  290|    190|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    190|    do {                    \
  |  |  |  |   52|    190|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 190]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    190|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 190]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3074|    190|    return SUCCESS;
  ------------------
  |  |   47|    190|#define SUCCESS 0
  ------------------
 3075|    190|}
codegen.c:codegen_process_deferred_annotations:
  838|    141|{
  839|    141|    PyObject *deferred_anno = NULL;
  840|    141|    PyObject *conditional_annotation_indices = NULL;
  841|    141|    _PyCompile_DeferredAnnotations(c, &deferred_anno, &conditional_annotation_indices);
  842|    141|    if (deferred_anno == NULL) {
  ------------------
  |  Branch (842:9): [True: 141, False: 0]
  ------------------
  843|    141|        assert(conditional_annotation_indices == NULL);
  844|    141|        return SUCCESS;
  ------------------
  |  |   47|    141|#define SUCCESS 0
  ------------------
  845|    141|    }
  846|       |
  847|      0|    int scope_type = SCOPE_TYPE(c);
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  848|      0|    bool need_separate_block = scope_type == COMPILE_SCOPE_MODULE;
  849|      0|    if (need_separate_block) {
  ------------------
  |  Branch (849:9): [True: 0, False: 0]
  ------------------
  850|      0|        if (_PyCompile_StartAnnotationSetup(c) == ERROR) {
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  |  Branch (850:13): [True: 0, False: 0]
  ------------------
  851|      0|            goto error;
  852|      0|        }
  853|      0|    }
  854|       |
  855|       |    // It's possible that ste_annotations_block is set but
  856|       |    // u_deferred_annotations is not, because the former is still
  857|       |    // set if there are only non-simple annotations (i.e., annotations
  858|       |    // for attributes, subscripts, or parenthesized names). However, the
  859|       |    // reverse should not be possible.
  860|      0|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  861|      0|    assert(ste->ste_annotation_block != NULL);
  862|      0|    void *key = (void *)((uintptr_t)ste->ste_id + 1);
  863|      0|    if (codegen_setup_annotations_scope(c, loc, key,
  ------------------
  |  Branch (863:9): [True: 0, False: 0]
  ------------------
  864|      0|                                        ste->ste_annotation_block->ste_name) < 0) {
  865|      0|        goto error;
  866|      0|    }
  867|      0|    if (codegen_deferred_annotations_body(c, loc, deferred_anno,
  ------------------
  |  Branch (867:9): [True: 0, False: 0]
  ------------------
  868|      0|                                          conditional_annotation_indices, scope_type) < 0) {
  869|      0|        _PyCompile_ExitScope(c);
  870|      0|        goto error;
  871|      0|    }
  872|       |
  873|      0|    Py_DECREF(deferred_anno);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  874|      0|    Py_DECREF(conditional_annotation_indices);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  875|       |
  876|      0|    RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  877|      0|    RETURN_IF_ERROR(codegen_nameop(
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  Branch (52:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  878|      0|        c, loc,
  879|      0|        ste->ste_type == ClassBlock ? &_Py_ID(__annotate_func__) : &_Py_ID(__annotate__),
  880|      0|        Store));
  881|       |
  882|      0|    if (need_separate_block) {
  ------------------
  |  Branch (882:9): [True: 0, False: 0]
  ------------------
  883|      0|        RETURN_IF_ERROR(_PyCompile_EndAnnotationSetup(c));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  884|      0|    }
  885|       |
  886|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  887|      0|error:
  888|      0|    Py_XDECREF(deferred_anno);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  889|      0|    Py_XDECREF(conditional_annotation_indices);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  891|      0|}
codegen.c:codegen_enter_scope:
  679|    733|{
  680|    733|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    733|    do {                    \
  |  |   52|    733|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 733]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  681|    733|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  682|    733|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|    733|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  683|    733|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (683:9): [True: 219, False: 514]
  ------------------
  684|    219|        loc.lineno = 0;
  685|    219|    }
  686|       |    /* Add the generator prefix instructions. */
  687|       |
  688|    733|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    733|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  689|    733|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (689:9): [True: 0, False: 733]
  |  Branch (689:31): [True: 0, False: 733]
  ------------------
  690|       |        /* Note that RETURN_GENERATOR + POP_TOP have a net stack effect
  691|       |         * of 0. This is because RETURN_GENERATOR pushes the generator
  692|       |         before returning. */
  693|      0|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|      0|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  694|      0|        ADDOP(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|      0|    }
  697|       |
  698|    733|    ADDOP_I(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  276|    733|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    733|    do {                    \
  |  |  |  |   52|    733|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 733]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    733|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 733]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    733|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (699:9): [True: 219, False: 514]
  ------------------
  700|    219|        ADDOP(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  290|    219|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    219|    do {                    \
  |  |  |  |   52|    219|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 219]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    219|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 219]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|    219|    }
  702|    733|    return SUCCESS;
  ------------------
  |  |   47|    733|#define SUCCESS 0
  ------------------
  703|    733|}
codegen.c:codegen_visit_expr:
 5407|  7.24k|{
 5408|  7.24k|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5408:9): [True: 0, False: 7.24k]
  ------------------
 5409|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5410|      0|    }
 5411|  7.24k|    location loc = LOC(e);
  ------------------
  |  |   88|  7.24k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  7.24k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  7.24k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  7.24k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  7.24k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  7.24k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5412|  7.24k|    switch (e->kind) {
  ------------------
  |  Branch (5412:13): [True: 7.24k, False: 0]
  ------------------
 5413|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (5413:5): [True: 0, False: 7.24k]
  ------------------
 5414|      0|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5415|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5416|      0|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5417|      0|        break;
 5418|     40|    case BoolOp_kind:
  ------------------
  |  Branch (5418:5): [True: 40, False: 7.20k]
  ------------------
 5419|     40|        return codegen_boolop(c, e);
 5420|     14|    case BinOp_kind:
  ------------------
  |  Branch (5420:5): [True: 14, False: 7.23k]
  ------------------
 5421|     14|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  452|     14|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     14|    do {                    \
  |  |  |  |   52|     14|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5422|     14|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  452|     14|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     14|    do {                    \
  |  |  |  |   52|     14|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5423|     14|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  433|     14|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|     14|    do {                    \
  |  |  |  |   52|     14|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5424|     14|        break;
 5425|     14|    case UnaryOp_kind:
  ------------------
  |  Branch (5425:5): [True: 2, False: 7.24k]
  ------------------
 5426|      2|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5427|      2|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5427:13): [True: 0, False: 2]
  ------------------
 5428|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_UNARY_POSITIVE);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5429|      0|        }
 5430|      2|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5430:18): [True: 0, False: 2]
  ------------------
 5431|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5432|      0|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5433|      0|        }
 5434|      2|        else {
 5435|      2|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5436|      2|        }
 5437|      2|        break;
 5438|     64|    case Lambda_kind:
  ------------------
  |  Branch (5438:5): [True: 64, False: 7.18k]
  ------------------
 5439|     64|        return codegen_lambda(c, e);
 5440|     10|    case IfExp_kind:
  ------------------
  |  Branch (5440:5): [True: 10, False: 7.23k]
  ------------------
 5441|     10|        return codegen_ifexp(c, e);
 5442|      0|    case Dict_kind:
  ------------------
  |  Branch (5442:5): [True: 0, False: 7.24k]
  ------------------
 5443|      0|        return codegen_dict(c, e);
 5444|     48|    case Set_kind:
  ------------------
  |  Branch (5444:5): [True: 48, False: 7.19k]
  ------------------
 5445|     48|        return codegen_set(c, e);
 5446|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (5446:5): [True: 0, False: 7.24k]
  ------------------
 5447|      0|        return codegen_genexp(c, e);
 5448|      0|    case ListComp_kind:
  ------------------
  |  Branch (5448:5): [True: 0, False: 7.24k]
  ------------------
 5449|      0|        return codegen_listcomp(c, e);
 5450|      0|    case SetComp_kind:
  ------------------
  |  Branch (5450:5): [True: 0, False: 7.24k]
  ------------------
 5451|      0|        return codegen_setcomp(c, e);
 5452|      0|    case DictComp_kind:
  ------------------
  |  Branch (5452:5): [True: 0, False: 7.24k]
  ------------------
 5453|      0|        return codegen_dictcomp(c, e);
 5454|      0|    case Yield_kind:
  ------------------
  |  Branch (5454:5): [True: 0, False: 7.24k]
  ------------------
 5455|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5455:13): [True: 0, False: 0]
  ------------------
 5456|      0|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5457|      0|        }
 5458|      0|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5458:13): [True: 0, False: 0]
  ------------------
 5459|      0|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5460|      0|        }
 5461|      0|        else {
 5462|      0|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5463|      0|        }
 5464|      0|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  445|      0|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5465|      0|        break;
 5466|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (5466:5): [True: 0, False: 7.24k]
  ------------------
 5467|      0|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|      0|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5467:13): [True: 0, False: 0]
  ------------------
 5468|      0|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5469|      0|        }
 5470|      0|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5470:13): [True: 0, False: 0]
  ------------------
 5471|      0|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5472|      0|        }
 5473|      0|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5474|      0|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5475|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5476|      0|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  439|      0|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5477|      0|        break;
 5478|      0|    case Await_kind:
  ------------------
  |  Branch (5478:5): [True: 0, False: 7.24k]
  ------------------
 5479|      0|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5480|      0|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5481|      0|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5482|      0|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|      0|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  439|      0|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5484|      0|        break;
 5485|    414|    case Compare_kind:
  ------------------
  |  Branch (5485:5): [True: 414, False: 6.83k]
  ------------------
 5486|    414|        return codegen_compare(c, e);
 5487|    639|    case Call_kind:
  ------------------
  |  Branch (5487:5): [True: 639, False: 6.60k]
  ------------------
 5488|    639|        return codegen_call(c, e);
 5489|    750|    case Constant_kind:
  ------------------
  |  Branch (5489:5): [True: 750, False: 6.49k]
  ------------------
 5490|    750|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  307|    750|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    750|    do {                    \
  |  |  |  |   52|    750|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 750]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    750|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 750]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5491|    750|        break;
 5492|    750|    case JoinedStr_kind:
  ------------------
  |  Branch (5492:5): [True: 94, False: 7.15k]
  ------------------
 5493|     94|        return codegen_joined_str(c, e);
 5494|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (5494:5): [True: 0, False: 7.24k]
  ------------------
 5495|      0|        return codegen_template_str(c, e);
 5496|    292|    case FormattedValue_kind:
  ------------------
  |  Branch (5496:5): [True: 292, False: 6.95k]
  ------------------
 5497|    292|        return codegen_formatted_value(c, e);
 5498|      0|    case Interpolation_kind:
  ------------------
  |  Branch (5498:5): [True: 0, False: 7.24k]
  ------------------
 5499|      0|        return codegen_interpolation(c, e);
 5500|       |    /* The following exprs can be assignment targets. */
 5501|  1.10k|    case Attribute_kind:
  ------------------
  |  Branch (5501:5): [True: 1.10k, False: 6.14k]
  ------------------
 5502|  1.10k|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5502:13): [True: 998, False: 104]
  ------------------
 5503|    998|            int ret = can_optimize_super_call(c, e);
 5504|    998|            RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    998|    do {                    \
  |  |   52|    998|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 998]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    998|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 998]
  |  |  ------------------
  ------------------
 5505|    998|            if (ret) {
  ------------------
  |  Branch (5505:17): [True: 0, False: 998]
  ------------------
 5506|      0|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5507|      0|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5508|      0|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  108|      0|#define LOAD_SUPER_ATTR                         95
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  356|      0|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5509|      0|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  411|      0|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5510|      0|                loc = update_start_location_to_match_attr(c, loc, e);
 5511|      0|                ADDOP(c, loc, NOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5512|      0|                return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5513|      0|            }
 5514|    998|        }
 5515|  1.10k|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|  1.10k|    do {                    \
  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.10k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  ------------------
  ------------------
 5516|  1.10k|        VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  452|  1.10k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.10k|    do {                    \
  |  |  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5517|  1.10k|        loc = LOC(e);
  ------------------
  |  |   88|  1.10k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.10k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.10k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.10k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.10k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.10k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5518|  1.10k|        loc = update_start_location_to_match_attr(c, loc, e);
 5519|  1.10k|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5519:17): [True: 1.10k, False: 0]
  ------------------
 5520|    998|        case Load:
  ------------------
  |  Branch (5520:9): [True: 998, False: 104]
  ------------------
 5521|    998|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|    998|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    998|    do {                    \
  |  |  |  |   52|    998|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 998]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    998|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 998]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5522|    998|            break;
 5523|    998|        case Store:
  ------------------
  |  Branch (5523:9): [True: 104, False: 998]
  ------------------
 5524|    104|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|    104|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    104|    do {                    \
  |  |  |  |   52|    104|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    104|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5525|    104|            break;
 5526|    104|        case Del:
  ------------------
  |  Branch (5526:9): [True: 0, False: 1.10k]
  ------------------
 5527|      0|            ADDOP_NAME(c, loc, DELETE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|      0|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5528|      0|            break;
 5529|  1.10k|        }
 5530|  1.10k|        break;
 5531|  1.10k|    case Subscript_kind:
  ------------------
  |  Branch (5531:5): [True: 12, False: 7.23k]
  ------------------
 5532|     12|        return codegen_subscript(c, e);
 5533|      0|    case Starred_kind:
  ------------------
  |  Branch (5533:5): [True: 0, False: 7.24k]
  ------------------
 5534|      0|        switch (e->v.Starred.ctx) {
 5535|      0|        case Store:
  ------------------
  |  Branch (5535:9): [True: 0, False: 0]
  ------------------
 5536|       |            /* In all legitimate cases, the Starred node was already replaced
 5537|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5538|      0|            return _PyCompile_Error(c, loc,
 5539|      0|                "starred assignment target must be in a list or tuple");
 5540|      0|        default:
  ------------------
  |  Branch (5540:9): [True: 0, False: 0]
  ------------------
 5541|      0|            return _PyCompile_Error(c, loc,
 5542|      0|                "can't use starred expression here");
 5543|      0|        }
 5544|      0|        break;
 5545|      0|    case Slice_kind:
  ------------------
  |  Branch (5545:5): [True: 0, False: 7.24k]
  ------------------
 5546|      0|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5547|      0|        break;
 5548|  3.62k|    case Name_kind:
  ------------------
  |  Branch (5548:5): [True: 3.62k, False: 3.62k]
  ------------------
 5549|  3.62k|        return codegen_nameop(c, loc, e->v.Name.id, e->v.Name.ctx);
 5550|       |    /* child nodes of List and Tuple will have expr_context set */
 5551|      0|    case List_kind:
  ------------------
  |  Branch (5551:5): [True: 0, False: 7.24k]
  ------------------
 5552|      0|        return codegen_list(c, e);
 5553|    142|    case Tuple_kind:
  ------------------
  |  Branch (5553:5): [True: 142, False: 7.10k]
  ------------------
 5554|    142|        return codegen_tuple(c, e);
 5555|  7.24k|    }
 5556|  1.86k|    return SUCCESS;
  ------------------
  |  |   47|  1.86k|#define SUCCESS 0
  ------------------
 5557|  7.24k|}
codegen.c:codegen_boolop:
 3389|     40|{
 3390|     40|    int jumpi;
 3391|     40|    Py_ssize_t i, n;
 3392|     40|    asdl_expr_seq *s;
 3393|       |
 3394|     40|    location loc = LOC(e);
  ------------------
  |  |   88|     40|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     40|    (_Py_SourceLocation){ \
  |  |  |  |   55|     40|               .lineno = (n)->lineno, \
  |  |  |  |   56|     40|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     40|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     40|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3395|     40|    assert(e->kind == BoolOp_kind);
 3396|     40|    if (e->v.BoolOp.op == And)
  ------------------
  |  Branch (3396:9): [True: 40, False: 0]
  ------------------
 3397|     40|        jumpi = JUMP_IF_FALSE;
  ------------------
  |  |  249|     40|#define JUMP_IF_FALSE                          258
  ------------------
 3398|      0|    else
 3399|      0|        jumpi = JUMP_IF_TRUE;
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
 3400|     40|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     40|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     40|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     40|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     40|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     40|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 40]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3401|     40|    s = e->v.BoolOp.values;
 3402|     40|    n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|     40|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     80|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3403|     40|    assert(n >= 0);
 3404|    202|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (3404:17): [True: 162, False: 40]
  ------------------
 3405|    162|        VISIT(c, expr, (expr_ty)asdl_seq_GET(s, i));
  ------------------
  |  |  452|    162|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    162|    do {                    \
  |  |  |  |   52|    162|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 162]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    162|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3406|    162|        ADDOP_JUMP(c, loc, jumpi, end);
  ------------------
  |  |  427|    162|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    162|    do {                    \
  |  |  |  |   52|    162|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 162]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    162|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3407|    162|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|    162|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    162|    do {                    \
  |  |  |  |   52|    162|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 162]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    162|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3408|    162|    }
 3409|     40|    VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n));
  ------------------
  |  |  452|     40|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     40|    do {                    \
  |  |  |  |   52|     40|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     40|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3410|       |
 3411|     40|    USE_LABEL(c, end);
  ------------------
  |  |   97|     40|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     40|    do {                    \
  |  |  |  |   52|     40|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     40|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|     40|    return SUCCESS;
  ------------------
  |  |   47|     40|#define SUCCESS 0
  ------------------
 3413|     40|}
codegen.c:unaryop:
 3194|      2|{
 3195|      2|    switch (op) {
 3196|      0|    case Invert:
  ------------------
  |  Branch (3196:5): [True: 0, False: 2]
  ------------------
 3197|      0|        return UNARY_INVERT;
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
 3198|      2|    case USub:
  ------------------
  |  Branch (3198:5): [True: 2, False: 0]
  ------------------
 3199|      2|        return UNARY_NEGATIVE;
  ------------------
  |  |   52|      2|#define UNARY_NEGATIVE                          39
  ------------------
 3200|      0|    default:
  ------------------
  |  Branch (3200:5): [True: 0, False: 2]
  ------------------
 3201|      0|        PyErr_Format(PyExc_SystemError,
 3202|      0|            "unary op %d should not be possible", op);
 3203|      0|        return 0;
 3204|      2|    }
 3205|      2|}
codegen.c:codegen_lambda:
 2056|     64|{
 2057|     64|    PyCodeObject *co;
 2058|     64|    Py_ssize_t funcflags;
 2059|     64|    arguments_ty args = e->v.Lambda.args;
 2060|     64|    assert(e->kind == Lambda_kind);
 2061|       |
 2062|     64|    location loc = LOC(e);
  ------------------
  |  |   88|     64|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     64|    (_Py_SourceLocation){ \
  |  |  |  |   55|     64|               .lineno = (n)->lineno, \
  |  |  |  |   56|     64|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     64|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     64|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2063|     64|    funcflags = codegen_default_arguments(c, loc, args);
 2064|     64|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|     64|    do {                    \
  |  |   52|     64|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2065|       |
 2066|     64|    _PyCompile_CodeUnitMetadata umd = {
 2067|     64|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|     64|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     64|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|     64|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|     64|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|     64|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|     64|    };
 2071|     64|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2072|     64|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     64|    do {                    \
  |  |   52|     64|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2073|     64|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2074|     64|                            (void *)e, e->lineno, NULL, &umd));
 2075|       |
 2076|     64|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
 2077|       |
 2078|     64|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  455|     64|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|     64|    do {                                    \
  |  |  |  |   59|     64|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|     64|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|     64|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2079:9): [True: 0, False: 64]
  ------------------
 2080|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2081|      0|    }
 2082|     64|    else {
 2083|     64|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|     64|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     64|    (_Py_SourceLocation){ \
  |  |  |  |   55|     64|               .lineno = (n)->lineno, \
  |  |  |  |   56|     64|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     64|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     64|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2084|     64|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  293|     64|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|     64|    do {                                    \
  |  |  |  |   59|     64|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|     64|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2086|     64|    }
 2087|     64|    _PyCompile_ExitScope(c);
 2088|     64|    if (co == NULL) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 64]
  ------------------
 2089|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2090|      0|    }
 2091|       |
 2092|     64|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2093|     64|    Py_DECREF(co);
  ------------------
  |  |  430|     64|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|     64|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|     64|    do {                    \
  |  |   52|     64|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2095|     64|    return SUCCESS;
  ------------------
  |  |   47|     64|#define SUCCESS 0
  ------------------
 2096|     64|}
codegen.c:codegen_ifexp:
 2036|     10|{
 2037|     10|    assert(e->kind == IfExp_kind);
 2038|     10|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     10|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     10|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     10|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     10|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     10|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2039|     10|    NEW_JUMP_TARGET_LABEL(c, next);
  ------------------
  |  |   91|     10|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     10|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     10|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     10|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     10|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2040|       |
 2041|     10|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     10|    do {                    \
  |  |   52|     10|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2042|     10|        codegen_jump_if(c, LOC(e), e->v.IfExp.test, next, 0));
 2043|       |
 2044|     10|    VISIT(c, expr, e->v.IfExp.body);
  ------------------
  |  |  452|     10|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|     10|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|     10|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2046|       |
 2047|     10|    USE_LABEL(c, next);
  ------------------
  |  |   97|     10|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|     10|    VISIT(c, expr, e->v.IfExp.orelse);
  ------------------
  |  |  452|     10|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|       |
 2050|     10|    USE_LABEL(c, end);
  ------------------
  |  |   97|     10|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|     10|    return SUCCESS;
  ------------------
  |  |   47|     10|#define SUCCESS 0
  ------------------
 2052|     10|}
codegen.c:codegen_set:
 3566|     48|{
 3567|     48|    location loc = LOC(e);
  ------------------
  |  |   88|     48|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     48|    (_Py_SourceLocation){ \
  |  |  |  |   55|     48|               .lineno = (n)->lineno, \
  |  |  |  |   56|     48|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     48|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     48|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3568|     48|    return starunpack_helper(c, loc, e->v.Set.elts, 0,
 3569|     48|                             BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |   59|     48|#define BUILD_SET                               46
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  119|     48|#define SET_ADD                                106
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  121|     48|#define SET_UPDATE                             108
  ------------------
 3570|     48|}
codegen.c:starunpack_helper:
 3483|    188|{
 3484|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3485|    188|                                  build, add, extend, tuple);
 3486|    188|}
codegen.c:codegen_compare:
 3651|    414|{
 3652|    414|    location loc = LOC(e);
  ------------------
  |  |   88|    414|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    414|    (_Py_SourceLocation){ \
  |  |  |  |   55|    414|               .lineno = (n)->lineno, \
  |  |  |  |   56|    414|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    414|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    414|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3653|    414|    Py_ssize_t i, n;
 3654|       |
 3655|    414|    RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|    414|    do {                    \
  |  |   52|    414|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 414]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    414|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 414]
  |  |  ------------------
  ------------------
 3656|    414|    VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  452|    414|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    414|    do {                    \
  |  |  |  |   52|    414|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 414]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    414|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 414]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|    414|    assert(asdl_seq_LEN(e->v.Compare.ops) > 0);
 3658|    414|    n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|    414|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    828|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 414]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3659|    414|    if (n == 0) {
  ------------------
  |  Branch (3659:9): [True: 412, False: 2]
  ------------------
 3660|    412|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, 0));
  ------------------
  |  |  452|    412|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    412|    do {                    \
  |  |  |  |   52|    412|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 412]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    412|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 412]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3661|    412|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, 0));
  ------------------
  |  |  430|    412|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    412|    do {                    \
  |  |  |  |   52|    412|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 412]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    412|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 412]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3662|    412|    }
 3663|      2|    else {
 3664|      2|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3665|      4|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3665:21): [True: 2, False: 2]
  ------------------
 3666|      2|            VISIT(c, expr,
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3667|      2|                (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 3668|      2|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3669|      2|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|      2|            ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  430|      2|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|      2|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3672|      2|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3673|      2|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  427|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      2|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3675|      2|        }
 3676|      2|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  452|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3677|      2|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  430|      2|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      2|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3679|      2|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3680|       |
 3681|      2|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3682|      2|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3683|      2|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|       |
 3685|      2|        USE_LABEL(c, end);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3686|      2|    }
 3687|    414|    return SUCCESS;
  ------------------
  |  |   47|    414|#define SUCCESS 0
  ------------------
 3688|    414|}
codegen.c:codegen_call:
 4185|    639|{
 4186|    639|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   51|    639|    do {                    \
  |  |   52|    639|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 639]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    639|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 639]
  |  |  ------------------
  ------------------
 4187|    639|    int ret = maybe_optimize_method_call(c, e);
 4188|    639|    if (ret < 0) {
  ------------------
  |  Branch (4188:9): [True: 0, False: 639]
  ------------------
 4189|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4190|      0|    }
 4191|    639|    if (ret == 1) {
  ------------------
  |  Branch (4191:9): [True: 192, False: 447]
  ------------------
 4192|    192|        return SUCCESS;
  ------------------
  |  |   47|    192|#define SUCCESS 0
  ------------------
 4193|    192|    }
 4194|    447|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   91|    447|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    447|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    447|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    447|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    447|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 447]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4195|    447|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   51|    447|    do {                    \
  |  |   52|    447|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    447|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  ------------------
  ------------------
 4196|    447|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  452|    447|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    447|    do {                    \
  |  |  |  |   52|    447|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    447|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4197|    447|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   51|    447|    do {                    \
  |  |   52|    447|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    447|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  ------------------
  ------------------
 4198|    447|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|    447|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    447|    (_Py_SourceLocation){ \
  |  |  |  |   55|    447|               .lineno = (n)->lineno, \
  |  |  |  |   56|    447|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    447|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    447|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4199|    447|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|    447|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    447|    do {                    \
  |  |  |  |   52|    447|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    447|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4200|    447|    loc = LOC(e);
  ------------------
  |  |   88|    447|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    447|    (_Py_SourceLocation){ \
  |  |  |  |   55|    447|               .lineno = (n)->lineno, \
  |  |  |  |   56|    447|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    447|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    447|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4201|    447|    ret = codegen_call_helper(c, loc, 0,
 4202|    447|                              e->v.Call.args,
 4203|    447|                              e->v.Call.keywords);
 4204|    447|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |   97|    447|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    447|    do {                    \
  |  |  |  |   52|    447|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 447]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    447|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 447]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4205|    447|    return ret;
 4206|    447|}
codegen.c:maybe_optimize_method_call:
 4091|    639|{
 4092|    639|    Py_ssize_t argsl, i, kwdsl;
 4093|    639|    expr_ty meth = e->v.Call.func;
 4094|    639|    asdl_expr_seq *args = e->v.Call.args;
 4095|    639|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4096|       |
 4097|       |    /* Check that the call node is an attribute access */
 4098|    639|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4098:9): [True: 413, False: 226]
  |  Branch (4098:41): [True: 0, False: 226]
  ------------------
 4099|    413|        return 0;
 4100|    413|    }
 4101|       |
 4102|       |    /* Check that the base object is not something that is imported */
 4103|    226|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4104|    226|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    226|    do {                    \
  |  |   52|    226|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 226]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    226|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 226]
  |  |  ------------------
  ------------------
 4105|    226|    if (ret) {
  ------------------
  |  Branch (4105:9): [True: 34, False: 192]
  ------------------
 4106|     34|        return 0;
 4107|     34|    }
 4108|       |
 4109|       |    /* Check that there aren't too many arguments */
 4110|    192|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|    192|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    384|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 12, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4111|    192|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|    192|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    384|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 190, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4112|    192|    if (argsl + kwdsl + (kwdsl != 0) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    192|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4112:9): [True: 0, False: 192]
  ------------------
 4113|      0|        return 0;
 4114|      0|    }
 4115|       |    /* Check that there are no *varargs types of arguments. */
 4116|    644|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4116:17): [True: 452, False: 192]
  ------------------
 4117|    452|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|    452|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    452|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4118|    452|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4118:13): [True: 0, False: 452]
  ------------------
 4119|      0|            return 0;
 4120|      0|        }
 4121|    452|    }
 4122|       |
 4123|    194|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4123:17): [True: 2, False: 192]
  ------------------
 4124|      2|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4125|      2|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4125:13): [True: 0, False: 2]
  ------------------
 4126|      0|            return 0;
 4127|      0|        }
 4128|      2|    }
 4129|       |
 4130|       |    /* Alright, we can optimize the code. */
 4131|    192|    location loc = LOC(meth);
  ------------------
  |  |   88|    192|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    192|    (_Py_SourceLocation){ \
  |  |  |  |   55|    192|               .lineno = (n)->lineno, \
  |  |  |  |   56|    192|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    192|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    192|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4132|       |
 4133|    192|    ret = can_optimize_super_call(c, meth);
 4134|    192|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    192|    do {                    \
  |  |   52|    192|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 192]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    192|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 192]
  |  |  ------------------
  ------------------
 4135|    192|    if (ret) {
  ------------------
  |  Branch (4135:9): [True: 48, False: 144]
  ------------------
 4136|     48|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 4137|     48|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|     48|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 48, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4138|     48|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  355|     48|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  357|      0|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4139|     48|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  411|     48|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|     48|        loc = update_start_location_to_match_attr(c, loc, meth);
 4141|     48|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|     48|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4142|    144|    } else {
 4143|    144|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  452|    144|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    144|    do {                    \
  |  |  |  |   52|    144|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 144]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    144|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4144|    144|        loc = update_start_location_to_match_attr(c, loc, meth);
 4145|    144|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  411|    144|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    144|    do {                    \
  |  |  |  |   52|    144|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 144]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    144|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|    144|    }
 4147|       |
 4148|    192|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  458|    192|    do {                                                                    \
  |  |  459|    192|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    644|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    644|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12, False: 632]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 452, False: 192]
  |  |  ------------------
  |  |  461|    452|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    452|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    452|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    452|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    452|    do {                    \
  |  |  |  |   52|    452|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 452]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    452|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 452]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    452|        }                                                                   \
  |  |  464|    192|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 192]
  |  |  ------------------
  ------------------
 4149|       |
 4150|    192|    if (kwdsl) {
  ------------------
  |  Branch (4150:9): [True: 2, False: 190]
  ------------------
 4151|      2|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  458|      2|    do {                                                                    \
  |  |  459|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|      4|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|      4|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 2, False: 2]
  |  |  ------------------
  |  |  461|      2|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      2|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      2|        }                                                                   \
  |  |  464|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4152|      2|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4153|      2|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4154|      2|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4155|      2|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4156|      2|    }
 4157|    190|    else {
 4158|    190|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|    190|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    190|    (_Py_SourceLocation){ \
  |  |  |  |   55|    190|               .lineno = (n)->lineno, \
  |  |  |  |   56|    190|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    190|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    190|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4159|    190|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  276|    190|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    190|    do {                    \
  |  |  |  |   52|    190|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 190]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    190|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 190]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4160|    190|    }
 4161|    192|    return 1;
 4162|    192|}
codegen.c:is_import_originated:
 3818|    226|{
 3819|       |    /* Check whether the global scope has an import named
 3820|       |     e, if it is a Name object. For not traversing all the
 3821|       |     scope stack every time this function is called, it will
 3822|       |     only check the global scope to determine whether something
 3823|       |     is imported or not. */
 3824|       |
 3825|    226|    if (e->kind != Name_kind) {
  ------------------
  |  Branch (3825:9): [True: 54, False: 172]
  ------------------
 3826|     54|        return 0;
 3827|     54|    }
 3828|       |
 3829|    172|    long flags = _PyST_GetSymbol(SYMTABLE(c)->st_top, e->v.Name.id);
  ------------------
  |  |   70|    172|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3830|    172|    RETURN_IF_ERROR(flags);
  ------------------
  |  |   51|    172|    do {                    \
  |  |   52|    172|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 172]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    172|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 172]
  |  |  ------------------
  ------------------
 3831|    172|    return flags & DEF_IMPORT;
  ------------------
  |  |  171|    172|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 3832|    172|}
codegen.c:check_caller:
 3724|    447|{
 3725|    447|    switch (e->kind) {
 3726|      0|    case Constant_kind:
  ------------------
  |  Branch (3726:5): [True: 0, False: 447]
  ------------------
 3727|      0|    case Tuple_kind:
  ------------------
  |  Branch (3727:5): [True: 0, False: 447]
  ------------------
 3728|      0|    case List_kind:
  ------------------
  |  Branch (3728:5): [True: 0, False: 447]
  ------------------
 3729|      0|    case ListComp_kind:
  ------------------
  |  Branch (3729:5): [True: 0, False: 447]
  ------------------
 3730|      0|    case Dict_kind:
  ------------------
  |  Branch (3730:5): [True: 0, False: 447]
  ------------------
 3731|      0|    case DictComp_kind:
  ------------------
  |  Branch (3731:5): [True: 0, False: 447]
  ------------------
 3732|      0|    case Set_kind:
  ------------------
  |  Branch (3732:5): [True: 0, False: 447]
  ------------------
 3733|      0|    case SetComp_kind:
  ------------------
  |  Branch (3733:5): [True: 0, False: 447]
  ------------------
 3734|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3734:5): [True: 0, False: 447]
  ------------------
 3735|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3735:5): [True: 0, False: 447]
  ------------------
 3736|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3736:5): [True: 0, False: 447]
  ------------------
 3737|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3737:5): [True: 0, False: 447]
  ------------------
 3738|      0|    case Interpolation_kind: {
  ------------------
  |  Branch (3738:5): [True: 0, False: 447]
  ------------------
 3739|      0|        location loc = LOC(e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3740|      0|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3741|      0|                                       "perhaps you missed a comma?",
 3742|      0|                                       infer_type(e)->tp_name);
 3743|      0|    }
 3744|    447|    default:
  ------------------
  |  Branch (3744:5): [True: 447, False: 0]
  ------------------
 3745|    447|        return SUCCESS;
  ------------------
  |  |   47|    447|#define SUCCESS 0
  ------------------
 3746|    447|    }
 3747|    447|}
codegen.c:maybe_optimize_function_call:
 3949|    447|{
 3950|    447|    asdl_expr_seq *args = e->v.Call.args;
 3951|    447|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 3952|    447|    expr_ty func = e->v.Call.func;
 3953|       |
 3954|    447|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (3954:12): [True: 413, False: 34]
  ------------------
 3955|    413|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|    413|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    826|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 118, False: 295]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3955:12): [True: 205, False: 208]
  ------------------
 3956|    205|           asdl_seq_LEN(kwds) == 0))
  ------------------
  |  |   83|    205|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    410|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 191, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3956:12): [True: 191, False: 14]
  ------------------
 3957|    256|    {
 3958|    256|        return 0;
 3959|    256|    }
 3960|       |
 3961|    191|    location loc = LOC(func);
  ------------------
  |  |   88|    191|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    191|    (_Py_SourceLocation){ \
  |  |  |  |   55|    191|               .lineno = (n)->lineno, \
  |  |  |  |   56|    191|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    191|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    191|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3962|       |
 3963|    191|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|    191|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    191|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3964|       |
 3965|    191|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (3965:9): [True: 0, False: 191]
  ------------------
 3966|      0|        && (arg_expr->kind == Set_kind || arg_expr->kind == SetComp_kind)) {
  ------------------
  |  Branch (3966:13): [True: 0, False: 0]
  |  Branch (3966:43): [True: 0, False: 0]
  ------------------
 3967|      0|        NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3968|       |
 3969|      0|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3970|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_BUILTIN_FROZENSET);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  430|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3972|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|       |
 3975|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3976|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3977|       |
 3978|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3979|       |
 3980|      0|        USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      0|        return 1;
 3982|      0|    }
 3983|       |
 3984|    191|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (3984:9): [True: 191, False: 0]
  ------------------
 3985|    191|        return 0;
 3986|    191|    }
 3987|       |
 3988|      0|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|      0|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3989|      0|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (3989:9): [True: 0, False: 0]
  ------------------
 3990|      0|        Py_DECREF(generator_entry);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3991|      0|        return 0;
 3992|      0|    }
 3993|      0|    Py_DECREF(generator_entry);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3994|       |
 3995|      0|    int optimized = 0;
 3996|      0|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3997|       |
 3998|      0|    int const_oparg = -1;
 3999|      0|    PyObject *initial_res = NULL;
 4000|      0|    int continue_jump_opcode = -1;
 4001|      0|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 0]
  ------------------
 4002|      0|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|      0|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 4003|      0|        initial_res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4004|      0|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
 4005|      0|    }
 4006|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4006:14): [True: 0, False: 0]
  ------------------
 4007|      0|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      0|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 4008|      0|        initial_res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4009|      0|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
 4010|      0|    }
 4011|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4011:14): [True: 0, False: 0]
  ------------------
 4012|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4013|      0|    }
 4014|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4014:14): [True: 0, False: 0]
  ------------------
 4015|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4016|      0|    }
 4017|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4017:14): [True: 0, False: 0]
  ------------------
 4018|      0|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4019|      0|    }
 4020|      0|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4020:14): [True: 0, False: 0]
  ------------------
 4021|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4022|      0|    }
 4023|      0|    if (const_oparg != -1) {
  ------------------
  |  Branch (4023:9): [True: 0, False: 0]
  ------------------
 4024|      0|        ADDOP_I(c, loc, COPY, 1); // the function
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4025|      0|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, const_oparg);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|      0|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  430|      0|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4027|      0|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4028|      0|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4029|       |
 4030|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4030:13): [True: 0, False: 0]
  |  Branch (4030:54): [True: 0, False: 0]
  ------------------
 4031|      0|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4032:20): [True: 0, False: 0]
  |  Branch (4032:59): [True: 0, False: 0]
  ------------------
 4033|      0|            ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        }
 4035|      0|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|       |
 4037|      0|        NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4038|      0|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4039|       |
 4040|      0|        ADDOP(c, loc, PUSH_NULL); // Push NULL index for loop
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4041|      0|        USE_LABEL(c, loop);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|      0|        ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4043|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4043:13): [True: 0, False: 0]
  |  Branch (4043:54): [True: 0, False: 0]
  ------------------
 4044|      0|            ADDOP_I(c, loc, LIST_APPEND, 3);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4045|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4046:20): [True: 0, False: 0]
  |  Branch (4046:59): [True: 0, False: 0]
  ------------------
 4047|      0|            ADDOP_I(c, loc, SET_ADD, 3);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|      0|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4049|      0|        }
 4050|      0|        else {
 4051|      0|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|      0|            ADDOP_JUMP(c, loc, continue_jump_opcode, loop);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|        }
 4054|       |
 4055|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|      0|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4056:13): [True: 0, False: 0]
  ------------------
 4057|      0|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4057:13): [True: 0, False: 0]
  ------------------
 4058|      0|            const_oparg != CONSTANT_BUILTIN_SET &&
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4058:13): [True: 0, False: 0]
  ------------------
 4059|      0|            const_oparg != CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4059:13): [True: 0, False: 0]
  ------------------
 4060|      0|            ADDOP_LOAD_CONST(c, loc, initial_res == Py_True ? Py_False : Py_True);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4061|      0|        }
 4062|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4063|       |
 4064|      0|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4065|      0|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4066|      0|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4067|      0|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4067:13): [True: 0, False: 0]
  ------------------
 4068|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4069|      0|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4069:20): [True: 0, False: 0]
  ------------------
 4070|       |            // result is already a list
 4071|      0|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4071:20): [True: 0, False: 0]
  ------------------
 4072|       |            // result is already a set
 4073|      0|        }
 4074|      0|        else if (const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4074:18): [True: 0, False: 0]
  ------------------
 4075|      0|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_BUILD_FROZENSET);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4076|      0|        }
 4077|      0|        else {
 4078|      0|            ADDOP_LOAD_CONST(c, loc, initial_res);
  ------------------
  |  |  307|      0|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4079|      0|        }
 4080|       |
 4081|      0|        optimized = 1;
 4082|      0|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  427|      0|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4083|      0|    }
 4084|      0|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4085|      0|    return optimized;
 4086|      0|}
codegen.c:codegen_joined_str:
 4253|     94|{
 4254|     94|    location loc = LOC(e);
  ------------------
  |  |   88|     94|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     94|    (_Py_SourceLocation){ \
  |  |  |  |   55|     94|               .lineno = (n)->lineno, \
  |  |  |  |   56|     94|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     94|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     94|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4255|     94|    Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|     94|    if (value_count > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|     94|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4256:9): [True: 0, False: 94]
  ------------------
 4257|      0|        _Py_DECLARE_STR(empty, "");
 4258|      0|        ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  314|      0|    do {                                                                \
  |  |  315|      0|        PyObject *__new_const = (O);                                    \
  |  |  316|      0|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|      0|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|      0|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4259|      0|        ADDOP_NAME(c, loc, LOAD_METHOD, &_Py_ID(join), names);
  ------------------
  |  |  411|      0|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4260|      0|        ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|      0|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(e->v.JoinedStr.values); i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4261:32): [True: 0, False: 0]
  ------------------
 4262|      0|            VISIT(c, expr, asdl_seq_GET(e->v.JoinedStr.values, i));
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4263|      0|            ADDOP_I(c, loc, LIST_APPEND, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      0|        }
 4265|      0|        ADDOP_I(c, loc, CALL, 1);
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|      0|    }
 4267|     94|    else {
 4268|     94|        VISIT_SEQ(c, expr, e->v.JoinedStr.values);
  ------------------
  |  |  458|     94|    do {                                                                    \
  |  |  459|     94|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    678|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    678|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 678]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 584, False: 94]
  |  |  ------------------
  |  |  461|    584|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    584|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    584|    do {                    \
  |  |  |  |   52|    584|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 584]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    584|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 584]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    584|        }                                                                   \
  |  |  464|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
 4269|     94|        if (value_count > 1) {
  ------------------
  |  Branch (4269:13): [True: 94, False: 0]
  ------------------
 4270|     94|            ADDOP_I(c, loc, BUILD_STRING, value_count);
  ------------------
  |  |  276|     94|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4271|     94|        }
 4272|      0|        else if (value_count == 0) {
  ------------------
  |  Branch (4272:18): [True: 0, False: 0]
  ------------------
 4273|      0|            _Py_DECLARE_STR(empty, "");
 4274|      0|            ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  314|      0|    do {                                                                \
  |  |  315|      0|        PyObject *__new_const = (O);                                    \
  |  |  316|      0|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|      0|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  320|      0|            Py_DECREF(__new_const);                                     \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  321|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  322|      0|        }                                                               \
  |  |  323|      0|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4275|      0|        }
 4276|     94|    }
 4277|     94|    return SUCCESS;
  ------------------
  |  |   47|     94|#define SUCCESS 0
  ------------------
 4278|     94|}
codegen.c:codegen_formatted_value:
 4314|    292|{
 4315|    292|    int conversion = e->v.FormattedValue.conversion;
 4316|    292|    int oparg;
 4317|       |
 4318|       |    /* The expression to be formatted. */
 4319|    292|    VISIT(c, expr, e->v.FormattedValue.value);
  ------------------
  |  |  452|    292|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    292|    do {                    \
  |  |  |  |   52|    292|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 292]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    292|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 292]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4320|       |
 4321|    292|    location loc = LOC(e);
  ------------------
  |  |   88|    292|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    292|    (_Py_SourceLocation){ \
  |  |  |  |   55|    292|               .lineno = (n)->lineno, \
  |  |  |  |   56|    292|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    292|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    292|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4322|    292|    if (conversion != -1) {
  ------------------
  |  Branch (4322:9): [True: 246, False: 46]
  ------------------
 4323|    246|        switch (conversion) {
 4324|      0|        case 's': oparg = FVC_STR;   break;
  ------------------
  |  |  130|      0|#define FVC_STR       0x1
  ------------------
  |  Branch (4324:9): [True: 0, False: 246]
  ------------------
 4325|    246|        case 'r': oparg = FVC_REPR;  break;
  ------------------
  |  |  131|    246|#define FVC_REPR      0x2
  ------------------
  |  Branch (4325:9): [True: 246, False: 0]
  ------------------
 4326|      0|        case 'a': oparg = FVC_ASCII; break;
  ------------------
  |  |  132|      0|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4326:9): [True: 0, False: 246]
  ------------------
 4327|      0|        default:
  ------------------
  |  Branch (4327:9): [True: 0, False: 246]
  ------------------
 4328|      0|            PyErr_Format(PyExc_SystemError,
 4329|      0|                     "Unrecognized conversion character %d", conversion);
 4330|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4331|    246|        }
 4332|    246|        ADDOP_I(c, loc, CONVERT_VALUE, oparg);
  ------------------
  |  |  276|    246|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    246|    do {                    \
  |  |  |  |   52|    246|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    246|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|    246|    }
 4334|    292|    if (e->v.FormattedValue.format_spec) {
  ------------------
  |  Branch (4334:9): [True: 0, False: 292]
  ------------------
 4335|       |        /* Evaluate the format spec, and update our opcode arg. */
 4336|      0|        VISIT(c, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  |  452|      0|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4337|      0|        ADDOP(c, loc, FORMAT_WITH_SPEC);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4338|    292|    } else {
 4339|    292|        ADDOP(c, loc, FORMAT_SIMPLE);
  ------------------
  |  |  290|    292|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    292|    do {                    \
  |  |  |  |   52|    292|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 292]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    292|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 292]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4340|    292|    }
 4341|    292|    return SUCCESS;
  ------------------
  |  |   47|    292|#define SUCCESS 0
  ------------------
 4342|    292|}
codegen.c:can_optimize_super_call:
 3836|  1.19k|{
 3837|  1.19k|    expr_ty e = attr->v.Attribute.value;
 3838|  1.19k|    if (e->kind != Call_kind ||
  ------------------
  |  Branch (3838:9): [True: 1.13k, False: 52]
  ------------------
 3839|     52|        e->v.Call.func->kind != Name_kind ||
  ------------------
  |  Branch (3839:9): [True: 4, False: 48]
  ------------------
 3840|     48|        !_PyUnicode_EqualToASCIIString(e->v.Call.func->v.Name.id, "super") ||
  ------------------
  |  Branch (3840:9): [True: 0, False: 48]
  ------------------
 3841|     48|        _PyUnicode_EqualToASCIIString(attr->v.Attribute.attr, "__class__") ||
  ------------------
  |  Branch (3841:9): [True: 0, False: 48]
  ------------------
 3842|  1.14k|        asdl_seq_LEN(e->v.Call.keywords) != 0) {
  ------------------
  |  |   83|     48|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3842:9): [True: 0, False: 48]
  ------------------
 3843|  1.14k|        return 0;
 3844|  1.14k|    }
 3845|     48|    Py_ssize_t num_args = asdl_seq_LEN(e->v.Call.args);
  ------------------
  |  |   83|     48|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3846|       |
 3847|     48|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3848|       |    // detect statically-visible shadowing of 'super' name
 3849|     48|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), super_name);
  ------------------
  |  |   71|     48|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3850|     48|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 3851|     48|    if (scope != GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|     48|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3851:9): [True: 0, False: 48]
  ------------------
 3852|      0|        return 0;
 3853|      0|    }
 3854|     48|    scope = _PyST_GetScope(SYMTABLE(c)->st_top, super_name);
  ------------------
  |  |   70|     48|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3855|     48|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 3856|     48|    if (scope != 0) {
  ------------------
  |  Branch (3856:9): [True: 0, False: 48]
  ------------------
 3857|      0|        return 0;
 3858|      0|    }
 3859|       |
 3860|     48|    if (num_args == 2) {
  ------------------
  |  Branch (3860:9): [True: 48, False: 0]
  ------------------
 3861|    144|        for (Py_ssize_t i = 0; i < num_args; i++) {
  ------------------
  |  Branch (3861:32): [True: 96, False: 48]
  ------------------
 3862|     96|            expr_ty elt = asdl_seq_GET(e->v.Call.args, i);
  ------------------
  |  |   82|     96|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3863|     96|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3863:17): [True: 0, False: 96]
  ------------------
 3864|      0|                return 0;
 3865|      0|            }
 3866|     96|        }
 3867|       |        // exactly two non-starred args; we can just load
 3868|       |        // the provided args
 3869|     48|        return 1;
 3870|     48|    }
 3871|       |
 3872|      0|    if (num_args != 0) {
  ------------------
  |  Branch (3872:9): [True: 0, False: 0]
  ------------------
 3873|      0|        return 0;
 3874|      0|    }
 3875|       |    // we need the following for zero-arg super():
 3876|       |
 3877|       |    // enclosing function should have at least one argument
 3878|      0|    if (METADATA(c)->u_argcount == 0 &&
  ------------------
  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3878:9): [True: 0, False: 0]
  ------------------
 3879|      0|        METADATA(c)->u_posonlyargcount == 0) {
  ------------------
  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3879:9): [True: 0, False: 0]
  ------------------
 3880|      0|        return 0;
 3881|      0|    }
 3882|       |    // __class__ cell should be available
 3883|      0|    if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (3883:9): [True: 0, False: 0]
  ------------------
 3884|      0|        return 1;
 3885|      0|    }
 3886|      0|    return 0;
 3887|      0|}
codegen.c:load_args_for_super:
 3890|     48|load_args_for_super(compiler *c, expr_ty e) {
 3891|     48|    location loc = LOC(e);
  ------------------
  |  |   88|     48|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     48|    (_Py_SourceLocation){ \
  |  |  |  |   55|     48|               .lineno = (n)->lineno, \
  |  |  |  |   56|     48|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     48|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     48|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3892|       |
 3893|       |    // load super() global
 3894|     48|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3895|     48|    RETURN_IF_ERROR(codegen_nameop(c, LOC(e->v.Call.func), super_name, Load));
  ------------------
  |  |   51|     48|    do {                    \
  |  |   52|     48|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 3896|       |
 3897|     48|    if (asdl_seq_LEN(e->v.Call.args) == 2) {
  ------------------
  |  |   83|     48|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3897:9): [True: 48, False: 0]
  ------------------
 3898|     48|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 0));
  ------------------
  |  |  452|     48|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|     48|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 1));
  ------------------
  |  |  452|     48|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     48|    do {                    \
  |  |  |  |   52|     48|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     48|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 48]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3900|     48|        return SUCCESS;
  ------------------
  |  |   47|     48|#define SUCCESS 0
  ------------------
 3901|     48|    }
 3902|       |
 3903|       |    // load __class__ cell
 3904|      0|    PyObject *name = &_Py_ID(__class__);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3905|      0|    assert(_PyCompile_GetRefType(c, name) == FREE);
 3906|      0|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3907|       |
 3908|       |    // load self (first argument)
 3909|      0|    Py_ssize_t i = 0;
 3910|      0|    PyObject *key, *value;
 3911|      0|    if (!PyDict_Next(METADATA(c)->u_varnames, &i, &key, &value)) {
  ------------------
  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3911:9): [True: 0, False: 0]
  ------------------
 3912|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3913|      0|    }
 3914|      0|    RETURN_IF_ERROR(codegen_nameop(c, loc, key, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3915|       |
 3916|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3917|      0|}
codegen.c:codegen_subscript:
 5762|     12|{
 5763|     12|    location loc = LOC(e);
  ------------------
  |  |   88|     12|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     12|    (_Py_SourceLocation){ \
  |  |  |  |   55|     12|               .lineno = (n)->lineno, \
  |  |  |  |   56|     12|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     12|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     12|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5764|     12|    expr_context_ty ctx = e->v.Subscript.ctx;
 5765|       |
 5766|     12|    if (ctx == Load) {
  ------------------
  |  Branch (5766:9): [True: 8, False: 4]
  ------------------
 5767|      8|        RETURN_IF_ERROR(check_subscripter(c, e->v.Subscript.value));
  ------------------
  |  |   51|      8|    do {                    \
  |  |   52|      8|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 5768|      8|        RETURN_IF_ERROR(check_index(c, e->v.Subscript.value, e->v.Subscript.slice));
  ------------------
  |  |   51|      8|    do {                    \
  |  |   52|      8|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 5769|      8|    }
 5770|       |
 5771|     12|    VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  452|     12|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     12|    do {                    \
  |  |  |  |   52|     12|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5772|     12|    if (should_apply_two_element_slice_optimization(e->v.Subscript.slice) &&
  ------------------
  |  Branch (5772:9): [True: 0, False: 12]
  ------------------
 5773|      0|        ctx != Del
  ------------------
  |  Branch (5773:9): [True: 0, False: 0]
  ------------------
 5774|     12|    ) {
 5775|      0|        RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5776|      0|        if (ctx == Load) {
  ------------------
  |  Branch (5776:13): [True: 0, False: 0]
  ------------------
 5777|      0|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5778|      0|        }
 5779|      0|        else {
 5780|      0|            assert(ctx == Store);
 5781|      0|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5782|      0|        }
 5783|      0|    }
 5784|     12|    else {
 5785|     12|        VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  452|     12|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     12|    do {                    \
  |  |  |  |   52|     12|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5786|     12|        switch (ctx) {
  ------------------
  |  Branch (5786:17): [True: 12, False: 0]
  ------------------
 5787|      8|            case Load:
  ------------------
  |  Branch (5787:13): [True: 8, False: 4]
  ------------------
 5788|      8|                ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  276|      8|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5789|      8|                break;
 5790|      8|            case Store:
  ------------------
  |  Branch (5790:13): [True: 4, False: 8]
  ------------------
 5791|      4|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  290|      4|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5792|      4|                break;
 5793|      4|            case Del:
  ------------------
  |  Branch (5793:13): [True: 0, False: 12]
  ------------------
 5794|      0|                ADDOP(c, loc, DELETE_SUBSCR);
  ------------------
  |  |  290|      0|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5795|      0|                break;
 5796|     12|        }
 5797|     12|    }
 5798|     12|    return SUCCESS;
  ------------------
  |  |   47|     12|#define SUCCESS 0
  ------------------
 5799|     12|}
codegen.c:check_subscripter:
 3751|      8|{
 3752|      8|    PyObject *v;
 3753|       |
 3754|      8|    switch (e->kind) {
 3755|      0|    case Constant_kind:
  ------------------
  |  Branch (3755:5): [True: 0, False: 8]
  ------------------
 3756|      0|        v = e->v.Constant.value;
 3757|      0|        if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (3757:15): [True: 0, False: 0]
  |  Branch (3757:31): [True: 0, False: 0]
  ------------------
 3758|      0|              PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|      0|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3759|      0|              PyAnySet_Check(v)))
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3760|      0|        {
 3761|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3762|      0|        }
 3763|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3764|      0|    case Set_kind:
  ------------------
  |  Branch (3764:5): [True: 0, False: 8]
  ------------------
 3765|      0|    case SetComp_kind:
  ------------------
  |  Branch (3765:5): [True: 0, False: 8]
  ------------------
 3766|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3766:5): [True: 0, False: 8]
  ------------------
 3767|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3767:5): [True: 0, False: 8]
  ------------------
 3768|      0|    case Interpolation_kind:
  ------------------
  |  Branch (3768:5): [True: 0, False: 8]
  ------------------
 3769|      0|    case Lambda_kind: {
  ------------------
  |  Branch (3769:5): [True: 0, False: 8]
  ------------------
 3770|      0|        location loc = LOC(e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3771|      0|        return _PyCompile_Warn(c, loc, "'%.200s' object is not subscriptable; "
 3772|      0|                                       "perhaps you missed a comma?",
 3773|      0|                                       infer_type(e)->tp_name);
 3774|      0|    }
 3775|      8|    default:
  ------------------
  |  Branch (3775:5): [True: 8, False: 0]
  ------------------
 3776|      8|        return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
 3777|      8|    }
 3778|      8|}
codegen.c:check_index:
 3782|      8|{
 3783|      8|    PyObject *v;
 3784|       |
 3785|      8|    PyTypeObject *index_type = infer_type(s);
 3786|      8|    if (index_type == NULL
  ------------------
  |  Branch (3786:9): [True: 4, False: 4]
  ------------------
 3787|      4|        || PyType_FastSubclass(index_type, Py_TPFLAGS_LONG_SUBCLASS)
  ------------------
  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  |  |  |  Branch (760:41): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 3788|      4|        || index_type == &PySlice_Type) {
  ------------------
  |  Branch (3788:12): [True: 0, False: 4]
  ------------------
 3789|      4|        return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 3790|      4|    }
 3791|       |
 3792|      4|    switch (e->kind) {
 3793|      0|    case Constant_kind:
  ------------------
  |  Branch (3793:5): [True: 0, False: 4]
  ------------------
 3794|      0|        v = e->v.Constant.value;
 3795|      0|        if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3796|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3797|      0|        }
 3798|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3799|      0|    case Tuple_kind:
  ------------------
  |  Branch (3799:5): [True: 0, False: 4]
  ------------------
 3800|      0|    case List_kind:
  ------------------
  |  Branch (3800:5): [True: 0, False: 4]
  ------------------
 3801|      0|    case ListComp_kind:
  ------------------
  |  Branch (3801:5): [True: 0, False: 4]
  ------------------
 3802|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3802:5): [True: 0, False: 4]
  ------------------
 3803|      0|    case FormattedValue_kind: {
  ------------------
  |  Branch (3803:5): [True: 0, False: 4]
  ------------------
 3804|      0|        location loc = LOC(e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3805|      0|        return _PyCompile_Warn(c, loc, "%.200s indices must be integers "
 3806|      0|                                       "or slices, not %.200s; "
 3807|      0|                                       "perhaps you missed a comma?",
 3808|      0|                                       infer_type(e)->tp_name,
 3809|      0|                                       index_type->tp_name);
 3810|      0|    }
 3811|      4|    default:
  ------------------
  |  Branch (3811:5): [True: 4, False: 0]
  ------------------
 3812|      4|        return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 3813|      4|    }
 3814|      4|}
codegen.c:assignment_helper:
 3518|      2|{
 3519|      2|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|      2|    RETURN_IF_ERROR(unpack_helper(c, loc, elts));
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3521|      6|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3521:28): [True: 4, False: 2]
  ------------------
 3522|      4|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3523|      4|        VISIT(c, expr, elt->kind != Starred_kind ? elt : elt->v.Starred.value);
  ------------------
  |  |  452|      4|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  |  Branch (52:14): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3524|      4|    }
 3525|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3526|      2|}
codegen.c:unpack_helper:
 3490|      2|{
 3491|      2|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3492|      2|    int seen_star = 0;
 3493|      6|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3493:28): [True: 4, False: 2]
  ------------------
 3494|      4|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3495|      4|        if (elt->kind == Starred_kind && !seen_star) {
  ------------------
  |  Branch (3495:13): [True: 0, False: 4]
  |  Branch (3495:42): [True: 0, False: 0]
  ------------------
 3496|      0|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (3496:17): [True: 0, False: 0]
  ------------------
 3497|      0|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (3497:17): [True: 0, False: 0]
  ------------------
 3498|      0|                return _PyCompile_Error(c, loc,
 3499|      0|                    "too many expressions in "
 3500|      0|                    "star-unpacking assignment");
 3501|      0|            }
 3502|      0|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  276|      0|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      0|            seen_star = 1;
 3504|      0|        }
 3505|      4|        else if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3505:18): [True: 0, False: 4]
  ------------------
 3506|      0|            return _PyCompile_Error(c, loc,
 3507|      0|                "multiple starred expressions in assignment");
 3508|      0|        }
 3509|      4|    }
 3510|      2|    if (!seen_star) {
  ------------------
  |  Branch (3510:9): [True: 2, False: 0]
  ------------------
 3511|      2|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  276|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|      2|    }
 3513|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 3514|      2|}
codegen.c:codegen_tuple:
 3548|    142|{
 3549|    142|    location loc = LOC(e);
  ------------------
  |  |   88|    142|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    142|    (_Py_SourceLocation){ \
  |  |  |  |   55|    142|               .lineno = (n)->lineno, \
  |  |  |  |   56|    142|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    142|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    142|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3550|    142|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3551|    142|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3551:9): [True: 2, False: 140]
  ------------------
 3552|      2|        return assignment_helper(c, loc, elts);
 3553|      2|    }
 3554|    140|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3554:14): [True: 140, False: 0]
  ------------------
 3555|    140|        return starunpack_helper(c, loc, elts, 0,
 3556|    140|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|    140|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   90|    140|#define LIST_APPEND                             77
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   91|    140|#define LIST_EXTEND                             78
  ------------------
 3557|    140|    }
 3558|      0|    else {
 3559|      0|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  458|      0|    do {                                                                    \
  |  |  459|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|      0|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  461|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      0|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      0|        }                                                                   \
  |  |  464|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3560|      0|    }
 3561|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3562|    142|}
codegen.c:codegen_addop_load_const:
  297|  2.41k|{
  298|  2.41k|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  299|  2.41k|    if (arg < 0) {
  ------------------
  |  Branch (299:9): [True: 0, False: 2.41k]
  ------------------
  300|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  301|      0|    }
  302|  2.41k|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  276|  2.41k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.41k|    do {                    \
  |  |  |  |   52|  2.41k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.41k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.41k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|  2.41k|    return SUCCESS;
  ------------------
  |  |   47|  2.41k|#define SUCCESS 0
  ------------------
  304|  2.41k|}
codegen.c:codegen_addop_noarg:
  283|  3.48k|{
  284|  3.48k|    assert(!OPCODE_HAS_ARG(opcode));
  285|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  286|  3.48k|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  287|  3.48k|}

_PyCompile_MaybeAddStaticAttributeToClass:
  211|  1.10k|{
  212|  1.10k|    assert(e->kind == Attribute_kind);
  213|  1.10k|    expr_ty attr_value = e->v.Attribute.value;
  214|  1.10k|    if (attr_value->kind != Name_kind ||
  ------------------
  |  Branch (214:9): [True: 48, False: 1.05k]
  ------------------
  215|  1.05k|        e->v.Attribute.ctx != Store ||
  ------------------
  |  Branch (215:9): [True: 950, False: 104]
  ------------------
  216|    104|        !_PyUnicode_EqualToASCIIString(attr_value->v.Name.id, "self"))
  ------------------
  |  Branch (216:9): [True: 16, False: 88]
  ------------------
  217|  1.01k|    {
  218|  1.01k|        return SUCCESS;
  ------------------
  |  |   36|  1.01k|#define SUCCESS 0
  ------------------
  219|  1.01k|    }
  220|     88|    Py_ssize_t stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|     88|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|    264|    for (Py_ssize_t i = stack_size - 1; i >= 0; i--) {
  ------------------
  |  Branch (221:41): [True: 176, False: 88]
  ------------------
  222|    176|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, i);
  ------------------
  |  |   40|    176|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    176|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|    176|        struct compiler_unit *u = (struct compiler_unit *)PyCapsule_GetPointer(
  224|    176|                                                              capsule, CAPSULE_NAME);
  ------------------
  |  |  207|    176|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  225|    176|        assert(u);
  226|    176|        if (u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (226:13): [True: 0, False: 176]
  ------------------
  227|      0|            assert(u->u_static_attributes);
  228|      0|            RETURN_IF_ERROR(PySet_Add(u->u_static_attributes, e->v.Attribute.attr));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  229|      0|            break;
  230|      0|        }
  231|    176|    }
  232|     88|    return SUCCESS;
  ------------------
  |  |   36|     88|#define SUCCESS 0
  ------------------
  233|     88|}
_PyCompile_DictAddObj:
  457|  8.12k|{
  458|  8.12k|    PyObject *v;
  459|  8.12k|    Py_ssize_t arg;
  460|       |
  461|  8.12k|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 8.12k]
  ------------------
  462|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  463|      0|    }
  464|  8.12k|    if (!v) {
  ------------------
  |  Branch (464:9): [True: 4.28k, False: 3.84k]
  ------------------
  465|  4.28k|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  4.28k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  4.28k|        v = PyLong_FromSsize_t(arg);
  467|  4.28k|        if (!v) {
  ------------------
  |  Branch (467:13): [True: 0, False: 4.28k]
  ------------------
  468|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  469|      0|        }
  470|  4.28k|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (470:13): [True: 0, False: 4.28k]
  ------------------
  471|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  473|      0|        }
  474|  4.28k|    }
  475|  3.84k|    else
  476|  3.84k|        arg = PyLong_AsLong(v);
  477|  8.12k|    Py_DECREF(v);
  ------------------
  |  |  430|  8.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  8.12k|    return arg;
  479|  8.12k|}
_PyCompile_AddConst:
  483|  2.42k|{
  484|  2.42k|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  485|  2.42k|    if (key == NULL) {
  ------------------
  |  Branch (485:9): [True: 0, False: 2.42k]
  ------------------
  486|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  487|      0|    }
  488|       |
  489|  2.42k|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  490|  2.42k|    Py_DECREF(key);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  2.42k|    return arg;
  492|  2.42k|}
_PyCompile_EnterScope:
  598|    733|{
  599|    733|    struct compiler_unit *u;
  600|    733|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  601|    733|    if (!u) {
  ------------------
  |  Branch (601:9): [True: 0, False: 733]
  ------------------
  602|      0|        PyErr_NoMemory();
  603|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  604|      0|    }
  605|    733|    u->u_scope_type = scope_type;
  606|    733|    if (umd != NULL) {
  ------------------
  |  Branch (606:9): [True: 514, False: 219]
  ------------------
  607|    514|        u->u_metadata = *umd;
  608|    514|    }
  609|    219|    else {
  610|    219|        u->u_metadata.u_argcount = 0;
  611|    219|        u->u_metadata.u_posonlyargcount = 0;
  612|    219|        u->u_metadata.u_kwonlyargcount = 0;
  613|    219|    }
  614|    733|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  615|    733|    if (!u->u_ste) {
  ------------------
  |  Branch (615:9): [True: 0, False: 733]
  ------------------
  616|      0|        compiler_unit_free(u);
  617|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  618|      0|    }
  619|    733|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  550|    733|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|    733|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  621|    733|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (621:9): [True: 0, False: 733]
  ------------------
  622|      0|        compiler_unit_free(u);
  623|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  624|      0|    }
  625|    733|    u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  191|    733|#define CELL 5
  ------------------
                  u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  175|    733|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  626|    733|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (626:9): [True: 0, False: 733]
  ------------------
  627|      0|        compiler_unit_free(u);
  628|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  629|      0|    }
  630|    733|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (630:9): [True: 0, False: 733]
  ------------------
  631|       |        /* Cook up an implicit __class__ cell. */
  632|      0|        Py_ssize_t res;
  633|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  634|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      0|        if (res < 0) {
  ------------------
  |  Branch (635:13): [True: 0, False: 0]
  ------------------
  636|      0|            compiler_unit_free(u);
  637|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  638|      0|        }
  639|      0|    }
  640|    733|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (640:9): [True: 0, False: 733]
  ------------------
  641|       |        /* Cook up an implicit __classdict__ cell. */
  642|      0|        Py_ssize_t res;
  643|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  644|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|      0|        if (res < 0) {
  ------------------
  |  Branch (645:13): [True: 0, False: 0]
  ------------------
  646|      0|            compiler_unit_free(u);
  647|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  648|      0|        }
  649|      0|    }
  650|    733|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (650:9): [True: 0, False: 733]
  ------------------
  651|       |        /* Cook up an implicit __conditional_annotations__ cell */
  652|      0|        Py_ssize_t res;
  653|      0|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  654|      0|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|      0|        if (res < 0) {
  ------------------
  |  Branch (655:13): [True: 0, False: 0]
  ------------------
  656|      0|            compiler_unit_free(u);
  657|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  658|      0|        }
  659|      0|    }
  660|       |
  661|    733|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  190|    733|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  170|    733|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  662|    733|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|    733|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (663:9): [True: 0, False: 733]
  ------------------
  664|      0|        compiler_unit_free(u);
  665|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  666|      0|    }
  667|       |
  668|    733|    u->u_metadata.u_fasthidden = PyDict_New();
  669|    733|    if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (669:9): [True: 0, False: 733]
  ------------------
  670|      0|        compiler_unit_free(u);
  671|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  672|      0|    }
  673|       |
  674|    733|    u->u_nfblocks = 0;
  675|    733|    u->u_in_inlined_comp = 0;
  676|    733|    u->u_metadata.u_firstlineno = lineno;
  677|    733|    u->u_metadata.u_consts = PyDict_New();
  678|    733|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (678:9): [True: 0, False: 733]
  ------------------
  679|      0|        compiler_unit_free(u);
  680|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  681|      0|    }
  682|    733|    u->u_metadata.u_names = PyDict_New();
  683|    733|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (683:9): [True: 0, False: 733]
  ------------------
  684|      0|        compiler_unit_free(u);
  685|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  686|      0|    }
  687|       |
  688|    733|    u->u_deferred_annotations = NULL;
  689|    733|    u->u_conditional_annotation_indices = NULL;
  690|    733|    u->u_next_conditional_annotation_index = 0;
  691|    733|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (691:9): [True: 0, False: 733]
  ------------------
  692|      0|        u->u_static_attributes = PySet_New(0);
  693|      0|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (693:13): [True: 0, False: 0]
  ------------------
  694|      0|            compiler_unit_free(u);
  695|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  696|      0|        }
  697|      0|    }
  698|    733|    else {
  699|    733|        u->u_static_attributes = NULL;
  700|    733|    }
  701|       |
  702|    733|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  703|    733|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (703:9): [True: 0, False: 733]
  ------------------
  704|      0|        compiler_unit_free(u);
  705|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  706|      0|    }
  707|    733|    u->u_stashed_instr_sequence = NULL;
  708|       |
  709|       |    /* Push the old compiler_unit on the stack. */
  710|    733|    if (c->u) {
  ------------------
  |  Branch (710:9): [True: 514, False: 219]
  ------------------
  711|    514|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  207|    514|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  712|    514|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (712:13): [True: 0, False: 514]
  |  Branch (712:25): [True: 0, False: 514]
  ------------------
  713|      0|            Py_XDECREF(capsule);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|      0|            compiler_unit_free(u);
  715|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  716|      0|        }
  717|    514|        Py_DECREF(capsule);
  ------------------
  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|    514|        if (private == NULL) {
  ------------------
  |  Branch (718:13): [True: 514, False: 0]
  ------------------
  719|    514|            private = c->u->u_private;
  720|    514|        }
  721|    514|    }
  722|       |
  723|    733|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  551|    733|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|       |
  725|    733|    c->u = u;
  726|    733|    if (scope_type != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (726:9): [True: 514, False: 219]
  ------------------
  727|    514|        RETURN_IF_ERROR(compiler_set_qualname(c));
  ------------------
  |  |   40|    514|    do {                    \
  |  |   41|    514|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 514]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    514|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 514]
  |  |  ------------------
  ------------------
  728|    514|    }
  729|    733|    return SUCCESS;
  ------------------
  |  |   36|    733|#define SUCCESS 0
  ------------------
  730|    733|}
_PyCompile_ExitScope:
  734|    733|{
  735|       |    // Don't call PySequence_DelItem() with an exception raised
  736|    733|    PyObject *exc = PyErr_GetRaisedException();
  737|       |
  738|    733|    instr_sequence *nested_seq = NULL;
  739|    733|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (739:9): [True: 0, False: 733]
  ------------------
  740|      0|        nested_seq = c->u->u_instr_sequence;
  741|      0|        Py_INCREF(nested_seq);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|      0|    }
  743|    733|    compiler_unit_free(c->u);
  744|       |    /* Restore c->u to the parent unit. */
  745|    733|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   38|    733|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|    733|    if (n >= 0) {
  ------------------
  |  Branch (746:9): [True: 514, False: 219]
  ------------------
  747|    514|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   40|    514|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    514|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|    514|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|    514|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  749|    514|        assert(c->u);
  750|       |        /* we are deleting from a list so this really shouldn't fail */
  751|    514|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (751:13): [True: 0, False: 514]
  ------------------
  752|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  753|      0|                                   "the last compiler stack item");
  754|      0|        }
  755|    514|        if (nested_seq != NULL) {
  ------------------
  |  Branch (755:13): [True: 0, False: 514]
  ------------------
  756|      0|            if (_PyInstructionSequence_AddNested(c->u->u_instr_sequence, nested_seq) < 0) {
  ------------------
  |  Branch (756:17): [True: 0, False: 0]
  ------------------
  757|      0|                PyErr_FormatUnraisable("Exception ignored while appending "
  758|      0|                                       "nested instruction sequence");
  759|      0|            }
  760|      0|        }
  761|    514|    }
  762|    219|    else {
  763|    219|        c->u = NULL;
  764|    219|    }
  765|    733|    Py_XDECREF(nested_seq);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|       |
  767|    733|    PyErr_SetRaisedException(exc);
  768|    733|}
_PyCompile_PushFBlock:
  778|      2|{
  779|      2|    fblockinfo *f;
  780|      2|    if (c->u->u_nfblocks >= CO_MAXBLOCKS) {
  ------------------
  |  |  160|      2|#define CO_MAXBLOCKS 21 /* Max static block nesting within a function */
  ------------------
  |  Branch (780:9): [True: 0, False: 2]
  ------------------
  781|      0|        return _PyCompile_Error(c, loc, "too many statically nested blocks");
  782|      0|    }
  783|      2|    f = &c->u->u_fblock[c->u->u_nfblocks++];
  784|      2|    f->fb_type = t;
  785|      2|    f->fb_block = block_label;
  786|      2|    f->fb_loc = loc;
  787|      2|    f->fb_exit = exit;
  788|      2|    f->fb_datum = datum;
  789|      2|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (789:9): [True: 0, False: 2]
  ------------------
  790|      0|        c->c_disable_warning++;
  791|      0|    }
  792|      2|    return SUCCESS;
  ------------------
  |  |   36|      2|#define SUCCESS 0
  ------------------
  793|      2|}
_PyCompile_PopFBlock:
  797|      2|{
  798|      2|    struct compiler_unit *u = c->u;
  799|      2|    assert(u->u_nfblocks > 0);
  800|      2|    u->u_nfblocks--;
  801|      2|    assert(u->u_fblock[u->u_nfblocks].fb_type == t);
  802|      2|    assert(SAME_JUMP_TARGET_LABEL(u->u_fblock[u->u_nfblocks].fb_block, block_label));
  803|      2|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (803:9): [True: 0, False: 2]
  ------------------
  804|      0|        c->c_disable_warning--;
  805|      0|    }
  806|      2|}
_PyCompile_TopFBlock:
  810|    438|{
  811|    438|    if (c->u->u_nfblocks == 0) {
  ------------------
  |  Branch (811:9): [True: 438, False: 0]
  ------------------
  812|    438|        return NULL;
  813|    438|    }
  814|      0|    return &c->u->u_fblock[c->u->u_nfblocks - 1];
  815|    438|}
_PyCompile_InExceptionHandler:
  819|    101|{
  820|    101|    for (Py_ssize_t i = 0; i < c->u->u_nfblocks; i++) {
  ------------------
  |  Branch (820:28): [True: 0, False: 101]
  ------------------
  821|      0|        fblockinfo *block = &c->u->u_fblock[i];
  822|      0|        switch (block->fb_type) {
  823|      0|            case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (823:13): [True: 0, False: 0]
  ------------------
  824|      0|            case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (824:13): [True: 0, False: 0]
  ------------------
  825|      0|            case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (825:13): [True: 0, False: 0]
  ------------------
  826|      0|            case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (826:13): [True: 0, False: 0]
  ------------------
  827|      0|            case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (827:13): [True: 0, False: 0]
  ------------------
  828|      0|            case COMPILE_FBLOCK_HANDLER_CLEANUP:
  ------------------
  |  Branch (828:13): [True: 0, False: 0]
  ------------------
  829|      0|                return true;
  830|      0|            default:
  ------------------
  |  Branch (830:13): [True: 0, False: 0]
  ------------------
  831|      0|                break;
  832|      0|        }
  833|      0|    }
  834|    101|    return false;
  835|    101|}
_PyCompile_DeferredAnnotations:
  841|    141|{
  842|    141|    *deferred_annotations = Py_XNewRef(c->u->u_deferred_annotations);
  ------------------
  |  |  551|    141|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|    141|    *conditional_annotation_indices = Py_XNewRef(c->u->u_conditional_annotation_indices);
  ------------------
  |  |  551|    141|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    141|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    141|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|    141|}
_PyCompile_GetRefType:
  907|    231|{
  908|    231|    if (c->u->u_scope_type == COMPILE_SCOPE_CLASS &&
  ------------------
  |  Branch (908:9): [True: 0, False: 231]
  ------------------
  909|      0|        (_PyUnicode_EqualToASCIIString(name, "__class__") ||
  ------------------
  |  Branch (909:10): [True: 0, False: 0]
  ------------------
  910|      0|         _PyUnicode_EqualToASCIIString(name, "__classdict__") ||
  ------------------
  |  Branch (910:10): [True: 0, False: 0]
  ------------------
  911|      0|         _PyUnicode_EqualToASCIIString(name, "__conditional_annotations__"))) {
  ------------------
  |  Branch (911:10): [True: 0, False: 0]
  ------------------
  912|      0|        return CELL;
  ------------------
  |  |  191|      0|#define CELL 5
  ------------------
  913|      0|    }
  914|    231|    PySTEntryObject *ste = c->u->u_ste;
  915|    231|    int scope = _PyST_GetScope(ste, name);
  916|    231|    if (scope == 0) {
  ------------------
  |  Branch (916:9): [True: 0, False: 231]
  ------------------
  917|      0|        PyErr_Format(PyExc_SystemError,
  918|      0|                     "_PyST_GetScope(name=%R) failed: "
  919|      0|                     "unknown scope in unit %S (%R); "
  920|      0|                     "symbols: %R; locals: %R; "
  921|      0|                     "globals: %R",
  922|      0|                     name,
  923|      0|                     c->u->u_metadata.u_name, ste->ste_id,
  924|      0|                     ste->ste_symbols, c->u->u_metadata.u_varnames,
  925|      0|                     c->u->u_metadata.u_names);
  926|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  927|      0|    }
  928|    231|    return scope;
  929|    231|}
_PyCompile_LookupArg:
  950|    231|{
  951|       |    /* Special case: If a class contains a method with a
  952|       |     * free variable that has the same name as a method,
  953|       |     * the name will be considered free *and* local in the
  954|       |     * class.  It should be handled by the closure, as
  955|       |     * well as by the normal name lookup logic.
  956|       |     */
  957|    231|    int reftype = _PyCompile_GetRefType(c, name);
  958|    231|    if (reftype == -1) {
  ------------------
  |  Branch (958:9): [True: 0, False: 231]
  ------------------
  959|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  960|      0|    }
  961|    231|    int arg;
  962|    231|    if (reftype == CELL) {
  ------------------
  |  |  191|    231|#define CELL 5
  ------------------
  |  Branch (962:9): [True: 231, False: 0]
  ------------------
  963|    231|        arg = dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
  964|    231|    }
  965|      0|    else {
  966|      0|        arg = dict_lookup_arg(c->u->u_metadata.u_freevars, name);
  967|      0|    }
  968|    231|    if (arg == -1 && !PyErr_Occurred()) {
  ------------------
  |  Branch (968:9): [True: 0, False: 231]
  |  Branch (968:22): [True: 0, False: 0]
  ------------------
  969|      0|        PyObject *freevars = _PyCode_GetFreevars(co);
  970|      0|        if (freevars == NULL) {
  ------------------
  |  Branch (970:13): [True: 0, False: 0]
  ------------------
  971|      0|            PyErr_Clear();
  972|      0|        }
  973|      0|        PyErr_Format(PyExc_SystemError,
  974|      0|            "compiler_lookup_arg(name=%R) with reftype=%d failed in %S; "
  975|      0|            "freevars of code %S: %R",
  976|      0|            name,
  977|      0|            reftype,
  978|      0|            c->u->u_metadata.u_name,
  979|      0|            co->co_name,
  980|      0|            freevars);
  981|      0|        Py_XDECREF(freevars);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  982|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  983|      0|    }
  984|    231|    return arg;
  985|    231|}
_PyCompile_ResolveNameop:
 1007|  4.21k|{
 1008|  4.21k|    PyObject *dict = c->u->u_metadata.u_names;
 1009|  4.21k|    *optype = COMPILE_OP_NAME;
 1010|       |
 1011|  4.21k|    assert(scope >= 0);
 1012|  4.21k|    switch (scope) {
 1013|    383|    case FREE:
  ------------------
  |  |  190|    383|#define FREE 4
  ------------------
  |  Branch (1013:5): [True: 383, False: 3.83k]
  ------------------
 1014|    383|        dict = c->u->u_metadata.u_freevars;
 1015|    383|        *optype = COMPILE_OP_DEREF;
 1016|    383|        break;
 1017|     48|    case CELL:
  ------------------
  |  |  191|     48|#define CELL 5
  ------------------
  |  Branch (1017:5): [True: 48, False: 4.16k]
  ------------------
 1018|     48|        dict = c->u->u_metadata.u_cellvars;
 1019|     48|        *optype = COMPILE_OP_DEREF;
 1020|     48|        break;
 1021|  3.26k|    case LOCAL:
  ------------------
  |  |  187|  3.26k|#define LOCAL 1
  ------------------
  |  Branch (1021:5): [True: 3.26k, False: 953]
  ------------------
 1022|  3.26k|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1022:13): [True: 2.99k, False: 266]
  ------------------
 1023|  2.99k|            *optype = COMPILE_OP_FAST;
 1024|  2.99k|        }
 1025|    266|        else {
 1026|    266|            PyObject *item;
 1027|    266|            RETURN_IF_ERROR(PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, mangled,
  ------------------
  |  |   40|    266|    do {                    \
  |  |   41|    266|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 266]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    266|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 266]
  |  |  ------------------
  ------------------
 1028|    266|                                              &item));
 1029|    266|            if (item == Py_True) {
  ------------------
  |  |   26|    266|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1029:17): [True: 0, False: 266]
  ------------------
 1030|      0|                *optype = COMPILE_OP_FAST;
 1031|      0|            }
 1032|    266|            Py_XDECREF(item);
  ------------------
  |  |  524|    266|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|    266|        }
 1034|  3.26k|        break;
 1035|  3.26k|    case GLOBAL_IMPLICIT:
  ------------------
  |  |  189|    522|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1035:5): [True: 522, False: 3.69k]
  ------------------
 1036|    522|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1036:13): [True: 506, False: 16]
  ------------------
 1037|    506|            *optype = COMPILE_OP_GLOBAL;
 1038|    506|        }
 1039|    522|        break;
 1040|      0|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  188|      0|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1040:5): [True: 0, False: 4.21k]
  ------------------
 1041|      0|        *optype = COMPILE_OP_GLOBAL;
 1042|      0|        break;
 1043|      0|    default:
  ------------------
  |  Branch (1043:5): [True: 0, False: 4.21k]
  ------------------
 1044|       |        /* scope can be 0 */
 1045|      0|        break;
 1046|  4.21k|    }
 1047|  4.21k|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1047:9): [True: 1.21k, False: 2.99k]
  ------------------
 1048|  1.21k|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1049|  1.21k|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|  1.21k|    do {                    \
  |  |   41|  1.21k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 1.21k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  1.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 1050|  1.21k|    }
 1051|  4.21k|    return SUCCESS;
  ------------------
  |  |   36|  4.21k|#define SUCCESS 0
  ------------------
 1052|  4.21k|}
_PyCompile_EnterConditionalBlock:
 1174|    154|{
 1175|    154|    c->u->u_in_conditional_block++;
 1176|    154|}
_PyCompile_LeaveConditionalBlock:
 1180|    154|{
 1181|       |    assert(c->u->u_in_conditional_block > 0);
 1182|    154|    c->u->u_in_conditional_block--;
 1183|    154|}
_PyCompile_MaybeMangle:
 1282|  5.86k|{
 1283|  5.86k|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1284|  5.86k|}
_PyCompile_InstrSequence:
 1288|  17.6k|{
 1289|  17.6k|    return c->u->u_instr_sequence;
 1290|  17.6k|}
_PyCompile_FutureFeatures:
 1323|    300|{
 1324|    300|    return c->c_future.ff_features;
 1325|    300|}
_PyCompile_Symtable:
 1329|    664|{
 1330|    664|    return c->c_st;
 1331|    664|}
_PyCompile_SymtableEntry:
 1335|  7.62k|{
 1336|  7.62k|    return c->u->u_ste;
 1337|  7.62k|}
_PyCompile_OptimizationLevel:
 1341|      2|{
 1342|      2|    return c->c_optimize;
 1343|      2|}
_PyCompile_IsInteractiveTopLevel:
 1347|    190|{
 1348|    190|    assert(c->c_stack != NULL);
 1349|    190|    assert(PyList_CheckExact(c->c_stack));
 1350|    190|    bool is_nested_scope = PyList_GET_SIZE(c->c_stack) > 0;
  ------------------
  |  |   38|    190|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    190|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    190|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|    190|    return c->c_interactive && !is_nested_scope;
  ------------------
  |  Branch (1351:12): [True: 0, False: 190]
  |  Branch (1351:32): [True: 0, False: 0]
  ------------------
 1352|    190|}
_PyCompile_ScopeType:
 1356|    101|{
 1357|    101|    return c->u->u_scope_type;
 1358|    101|}
_PyCompile_Metadata:
 1375|  4.48k|{
 1376|  4.48k|    return &c->u->u_metadata;
 1377|  4.48k|}
_PyCompile_ConstCacheMergeOne:
 1382|  4.44k|{
 1383|  4.44k|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1384|  4.44k|    if (key == NULL) {
  ------------------
  |  Branch (1384:9): [True: 0, False: 4.44k]
  ------------------
 1385|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1386|      0|    }
 1387|  4.44k|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   28|  4.44k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  4.44k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.44k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|  4.44k|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|  4.44k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.44k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|  4.44k|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  352|  4.44k|    do { \
  |  |  353|  4.44k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.44k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  4.44k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.44k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  4.44k|        *_tmp_dst_ptr = (src); \
  |  |  356|  4.44k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  4.44k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  4.44k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4.44k]
  |  |  ------------------
  ------------------
 1390|  4.44k|        Py_DECREF(key);
  ------------------
  |  |  430|  4.44k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|  4.44k|    }
 1392|      0|    else {
 1393|      0|        Py_SETREF(*obj, key);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1394|      0|    }
 1395|  4.44k|    return SUCCESS;
  ------------------
  |  |   36|  4.44k|#define SUCCESS 0
  ------------------
 1396|  4.44k|}
_PyCompile_OptimizeAndAssemble:
 1505|    733|{
 1506|    733|    struct compiler_unit *u = c->u;
 1507|    733|    PyObject *const_cache = c->c_const_cache;
 1508|    733|    PyObject *filename = c->c_filename;
 1509|       |
 1510|    733|    int code_flags = compute_code_flags(c);
 1511|    733|    if (code_flags < 0) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 733]
  ------------------
 1512|      0|        return NULL;
 1513|      0|    }
 1514|       |
 1515|    733|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 733]
  ------------------
 1516|      0|        return NULL;
 1517|      0|    }
 1518|       |
 1519|    733|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1520|    733|}
_PyAST_Compile:
 1525|    219|{
 1526|    219|    assert(!PyErr_Occurred());
 1527|    219|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1528|    219|    if (c == NULL) {
  ------------------
  |  Branch (1528:9): [True: 0, False: 219]
  ------------------
 1529|      0|        return NULL;
 1530|      0|    }
 1531|       |
 1532|    219|    PyCodeObject *co = compiler_mod(c, mod);
 1533|    219|    compiler_free(c);
 1534|       |    assert(co || PyErr_Occurred());
 1535|    219|    return co;
 1536|    219|}
_PyCompile_AstPreprocess:
 1542|      6|{
 1543|      6|    _PyFutureFeatures future;
 1544|      6|    if (!_PyFuture_FromAST(mod, filename, &future)) {
  ------------------
  |  Branch (1544:9): [True: 0, False: 6]
  ------------------
 1545|      0|        return -1;
 1546|      0|    }
 1547|      6|    int flags = future.ff_features | cf->cf_flags;
 1548|      6|    if (optimize == -1) {
  ------------------
  |  Branch (1548:9): [True: 6, False: 0]
  ------------------
 1549|      6|        optimize = _Py_GetConfig()->optimization_level;
 1550|      6|    }
 1551|      6|    if (!_PyAST_Preprocess(mod, arena, filename, optimize, flags,
  ------------------
  |  Branch (1551:9): [True: 0, False: 6]
  ------------------
 1552|      6|                           no_const_folding, 0, module))
 1553|      0|    {
 1554|      0|        return -1;
 1555|      0|    }
 1556|      6|    return 0;
 1557|      6|}
_PyCompile_CleanDoc:
 1565|      4|{
 1566|      4|    doc = PyObject_CallMethod(doc, "expandtabs", NULL);
 1567|      4|    if (doc == NULL) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 4]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|       |
 1571|      4|    Py_ssize_t doc_size;
 1572|      4|    const char *doc_utf8 = PyUnicode_AsUTF8AndSize(doc, &doc_size);
 1573|      4|    if (doc_utf8 == NULL) {
  ------------------
  |  Branch (1573:9): [True: 0, False: 4]
  ------------------
 1574|      0|        Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|      0|        return NULL;
 1576|      0|    }
 1577|      4|    const char *p = doc_utf8;
 1578|      4|    const char *pend = p + doc_size;
 1579|       |
 1580|       |    // First pass: find minimum indentation of any non-blank lines
 1581|       |    // after first line.
 1582|    230|    while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1582:12): [True: 230, False: 0]
  |  Branch (1582:24): [True: 226, False: 4]
  ------------------
 1583|    226|    }
 1584|       |
 1585|      4|    Py_ssize_t margin = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1586|     12|    while (p < pend) {
  ------------------
  |  Branch (1586:12): [True: 8, False: 4]
  ------------------
 1587|      8|        const char *s = p;
 1588|     40|        while (*p == ' ') p++;
  ------------------
  |  Branch (1588:16): [True: 32, False: 8]
  ------------------
 1589|      8|        if (p < pend && *p != '\n') {
  ------------------
  |  Branch (1589:13): [True: 4, False: 4]
  |  Branch (1589:25): [True: 4, False: 0]
  ------------------
 1590|      4|            margin = Py_MIN(margin, p - s);
  ------------------
  |  |  112|      4|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1591|      4|        }
 1592|    184|        while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1592:16): [True: 180, False: 4]
  |  Branch (1592:28): [True: 176, False: 4]
  ------------------
 1593|    176|        }
 1594|      8|    }
 1595|      4|    if (margin == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1595:9): [True: 0, False: 4]
  ------------------
 1596|      0|        margin = 0;
 1597|      0|    }
 1598|       |
 1599|       |    // Second pass: write cleandoc into buff.
 1600|       |
 1601|       |    // copy first line without leading spaces.
 1602|      4|    p = doc_utf8;
 1603|      4|    while (*p == ' ') {
  ------------------
  |  Branch (1603:12): [True: 0, False: 4]
  ------------------
 1604|      0|        p++;
 1605|      0|    }
 1606|      4|    if (p == doc_utf8 && margin == 0 ) {
  ------------------
  |  Branch (1606:9): [True: 4, False: 0]
  |  Branch (1606:26): [True: 0, False: 4]
  ------------------
 1607|       |        // doc is already clean.
 1608|      0|        return doc;
 1609|      0|    }
 1610|       |
 1611|      4|    char *buff = PyMem_Malloc(doc_size);
 1612|      4|    if (buff == NULL){
  ------------------
  |  Branch (1612:9): [True: 0, False: 4]
  ------------------
 1613|      0|        Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|      0|        PyErr_NoMemory();
 1615|      0|        return NULL;
 1616|      0|    }
 1617|       |
 1618|      4|    char *w = buff;
 1619|       |
 1620|    230|    while (p < pend) {
  ------------------
  |  Branch (1620:12): [True: 230, False: 0]
  ------------------
 1621|    230|        int ch = *w++ = *p++;
 1622|    230|        if (ch == '\n') {
  ------------------
  |  Branch (1622:13): [True: 4, False: 226]
  ------------------
 1623|      4|            break;
 1624|      4|        }
 1625|    230|    }
 1626|       |
 1627|       |    // copy subsequent lines without margin.
 1628|     12|    while (p < pend) {
  ------------------
  |  Branch (1628:12): [True: 8, False: 4]
  ------------------
 1629|     40|        for (Py_ssize_t i = 0; i < margin; i++, p++) {
  ------------------
  |  Branch (1629:32): [True: 32, False: 8]
  ------------------
 1630|     32|            if (*p != ' ') {
  ------------------
  |  Branch (1630:17): [True: 0, False: 32]
  ------------------
 1631|      0|                assert(*p == '\n' || *p == '\0');
 1632|      0|                break;
 1633|      0|            }
 1634|     32|        }
 1635|    184|        while (p < pend) {
  ------------------
  |  Branch (1635:16): [True: 180, False: 4]
  ------------------
 1636|    180|            int ch = *w++ = *p++;
 1637|    180|            if (ch == '\n') {
  ------------------
  |  Branch (1637:17): [True: 4, False: 176]
  ------------------
 1638|      4|                break;
 1639|      4|            }
 1640|    180|        }
 1641|      8|    }
 1642|       |
 1643|      4|    Py_DECREF(doc);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1644|      4|    PyObject *res = PyUnicode_FromStringAndSize(buff, w - buff);
 1645|      4|    PyMem_Free(buff);
 1646|      4|    return res;
 1647|      4|}
compile.c:merge_consts_recursive:
  451|  2.42k|{
  452|       |    return const_cache_insert(const_cache, o, true);
  453|  2.42k|}
compile.c:compiler_unit_free:
  188|    733|{
  189|    733|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  190|    733|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 733]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  191|    733|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  192|    733|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  193|    733|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 514, False: 219]
  |  |  ------------------
  |  |  488|    514|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    514|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    514|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    514|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  194|    733|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  195|    733|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  196|    733|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  197|    733|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  198|    733|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  199|    733|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 733, False: 0]
  |  |  ------------------
  |  |  488|    733|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    733|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    733|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    733|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  200|    733|    Py_CLEAR(u->u_private);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 733]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  201|    733|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 733]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  202|    733|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 733]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  203|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  484|    733|    do { \
  |  |  485|    733|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    733|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    733|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    733|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 733]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|    733|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 733]
  |  |  ------------------
  ------------------
  204|    733|    PyMem_Free(u);
  205|    733|}
compile.c:list2dict:
  496|    733|{
  497|    733|    Py_ssize_t i, n;
  498|    733|    PyObject *v, *k;
  499|    733|    PyObject *dict = PyDict_New();
  500|    733|    if (!dict) return NULL;
  ------------------
  |  Branch (500:9): [True: 0, False: 733]
  ------------------
  501|       |
  502|    733|    n = PyList_Size(list);
  503|  2.14k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (503:17): [True: 1.41k, False: 733]
  ------------------
  504|  1.41k|        v = PyLong_FromSsize_t(i);
  505|  1.41k|        if (!v) {
  ------------------
  |  Branch (505:13): [True: 0, False: 1.41k]
  ------------------
  506|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      0|            return NULL;
  508|      0|        }
  509|  1.41k|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|  1.41k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.41k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  1.41k|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (510:13): [True: 0, False: 1.41k]
  ------------------
  511|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      0|            return NULL;
  514|      0|        }
  515|  1.41k|        Py_DECREF(v);
  ------------------
  |  |  430|  1.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  1.41k|    }
  517|    733|    return dict;
  518|    733|}
compile.c:dictbytype:
  530|  1.46k|{
  531|  1.46k|    Py_ssize_t i = offset, num_keys, key_i;
  532|  1.46k|    PyObject *k, *v, *dest = PyDict_New();
  533|  1.46k|    PyObject *sorted_keys;
  534|       |
  535|  1.46k|    assert(offset >= 0);
  536|  1.46k|    if (dest == NULL)
  ------------------
  |  Branch (536:9): [True: 0, False: 1.46k]
  ------------------
  537|      0|        return NULL;
  538|       |
  539|       |    /* Sort the keys so that we have a deterministic order on the indexes
  540|       |       saved in the returned dictionary.  These indexes are used as indexes
  541|       |       into the free and cell var storage.  Therefore if they aren't
  542|       |       deterministic, then the generated bytecode is not deterministic.
  543|       |    */
  544|  1.46k|    sorted_keys = PyDict_Keys(src);
  545|  1.46k|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (545:9): [True: 0, False: 1.46k]
  ------------------
  546|      0|        Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|      0|        return NULL;
  548|      0|    }
  549|  1.46k|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 1.46k]
  ------------------
  550|      0|        Py_DECREF(sorted_keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      0|        Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|      0|        return NULL;
  553|      0|    }
  554|  1.46k|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|  1.46k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|       |
  556|  6.61k|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (556:21): [True: 5.14k, False: 1.46k]
  ------------------
  557|  5.14k|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|  5.14k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  5.14k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  5.14k|        v = PyDict_GetItemWithError(src, k);
  559|  5.14k|        if (!v) {
  ------------------
  |  Branch (559:13): [True: 0, False: 5.14k]
  ------------------
  560|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (560:17): [True: 0, False: 0]
  ------------------
  561|      0|                PyErr_SetObject(PyExc_KeyError, k);
  562|      0|            }
  563|      0|            Py_DECREF(sorted_keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|            Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|      0|            return NULL;
  566|      0|        }
  567|  5.14k|        long vi = PyLong_AsLong(v);
  568|  5.14k|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (568:13): [True: 0, False: 5.14k]
  |  Branch (568:25): [True: 0, False: 0]
  ------------------
  569|      0|            Py_DECREF(sorted_keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|            Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|            return NULL;
  572|      0|        }
  573|  5.14k|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  185|  5.14k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  5.14k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  5.14k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  5.14k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  5.14k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  5.14k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  5.14k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (573:13): [True: 414, False: 4.73k]
  |  Branch (573:50): [True: 0, False: 4.73k]
  ------------------
  574|    414|            PyObject *item = PyLong_FromSsize_t(i);
  575|    414|            if (item == NULL) {
  ------------------
  |  Branch (575:17): [True: 0, False: 414]
  ------------------
  576|      0|                Py_DECREF(sorted_keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|                Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  578|      0|                return NULL;
  579|      0|            }
  580|    414|            i++;
  581|    414|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (581:17): [True: 0, False: 414]
  ------------------
  582|      0|                Py_DECREF(sorted_keys);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  583|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      0|                Py_DECREF(dest);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|      0|                return NULL;
  586|      0|            }
  587|    414|            Py_DECREF(item);
  ------------------
  |  |  430|    414|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    414|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    414|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|    414|        }
  589|  5.14k|    }
  590|  1.46k|    Py_DECREF(sorted_keys);
  ------------------
  |  |  430|  1.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|  1.46k|    return dest;
  592|  1.46k|}
compile.c:compiler_set_qualname:
  237|    514|{
  238|    514|    Py_ssize_t stack_size;
  239|    514|    struct compiler_unit *u = c->u;
  240|    514|    PyObject *name, *base;
  241|       |
  242|    514|    base = NULL;
  243|    514|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|    514|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|    514|    assert(stack_size >= 1);
  245|    514|    if (stack_size > 1) {
  ------------------
  |  Branch (245:9): [True: 303, False: 211]
  ------------------
  246|    303|        int scope, force_global = 0;
  247|    303|        struct compiler_unit *parent;
  248|    303|        PyObject *mangled, *capsule;
  249|       |
  250|    303|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   40|    303|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    303|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|    303|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|    303|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  252|    303|        assert(parent);
  253|    303|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (253:13): [True: 0, False: 303]
  ------------------
  254|       |            /* The parent is an annotation scope, so we need to
  255|       |               look at the grandparent. */
  256|      0|            if (stack_size == 2) {
  ------------------
  |  Branch (256:17): [True: 0, False: 0]
  ------------------
  257|       |                // If we're immediately within the module, we can skip
  258|       |                // the rest and just set the qualname to be the same as name.
  259|      0|                u->u_metadata.u_qualname = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      0|                return SUCCESS;
  ------------------
  |  |   36|      0|#define SUCCESS 0
  ------------------
  261|      0|            }
  262|      0|            capsule = PyList_GET_ITEM(c->c_stack, stack_size - 2);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      0|            parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|      0|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  264|      0|            assert(parent);
  265|      0|        }
  266|       |
  267|    303|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (267:13): [True: 301, False: 2]
  ------------------
  268|      2|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (268:16): [True: 0, False: 2]
  ------------------
  269|    301|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (269:16): [True: 0, False: 2]
  ------------------
  270|    301|            assert(u->u_metadata.u_name);
  271|    301|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  272|    301|            if (!mangled) {
  ------------------
  |  Branch (272:17): [True: 0, False: 301]
  ------------------
  273|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  274|      0|            }
  275|       |
  276|    301|            scope = _PyST_GetScope(parent->u_ste, mangled);
  277|    301|            Py_DECREF(mangled);
  ------------------
  |  |  430|    301|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    301|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    301|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|    301|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|    301|    do {                    \
  |  |   41|    301|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 301]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    301|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 301]
  |  |  ------------------
  ------------------
  279|    301|            assert(scope != GLOBAL_IMPLICIT);
  280|    301|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  188|    301|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (280:17): [True: 0, False: 301]
  ------------------
  281|      0|                force_global = 1;
  282|    301|        }
  283|       |
  284|    303|        if (!force_global) {
  ------------------
  |  Branch (284:13): [True: 303, False: 0]
  ------------------
  285|    303|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (285:17): [True: 303, False: 0]
  ------------------
  286|      0|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (286:20): [True: 0, False: 0]
  ------------------
  287|      0|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (287:20): [True: 0, False: 0]
  ------------------
  288|    303|            {
  289|    303|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  290|    303|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  291|    303|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  921|    303|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    303|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    303|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  292|    303|                if (base == NULL) {
  ------------------
  |  Branch (292:21): [True: 0, False: 303]
  ------------------
  293|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  294|      0|                }
  295|    303|            }
  296|      0|            else {
  297|      0|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|      0|            }
  299|    303|        }
  300|    303|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (300:13): [True: 0, False: 303]
  ------------------
  301|      0|            PyObject *tmp = base;
  302|      0|            base = PyUnicode_FromFormat("%U.%U",
  303|      0|                base,
  304|      0|                u->u_ste->ste_function_name);
  305|      0|            Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  306|      0|            if (base == NULL) {
  ------------------
  |  Branch (306:17): [True: 0, False: 0]
  ------------------
  307|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  308|      0|            }
  309|      0|        }
  310|    303|    }
  311|    211|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (311:14): [True: 6, False: 205]
  ------------------
  312|      6|        base = Py_NewRef(u->u_ste->ste_function_name);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      6|    }
  314|       |
  315|    514|    if (base != NULL) {
  ------------------
  |  Branch (315:9): [True: 309, False: 205]
  ------------------
  316|    309|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  923|    309|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (923:6): [True: 309, Folded]
  |  |  ------------------
  |  |  924|    309|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|    309|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    309|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  925|    309|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|    309|        Py_DECREF(base);
  ------------------
  |  |  430|    309|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    309|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    309|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|    309|        if (name == NULL) {
  ------------------
  |  Branch (318:13): [True: 0, False: 309]
  ------------------
  319|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  320|      0|        }
  321|    309|        PyUnicode_Append(&name, u->u_metadata.u_name);
  322|    309|        if (name == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 309]
  ------------------
  323|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  324|      0|        }
  325|    309|    }
  326|    205|    else {
  327|    205|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|    205|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    205|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|    205|    }
  329|    514|    u->u_metadata.u_qualname = name;
  330|       |
  331|    514|    return SUCCESS;
  ------------------
  |  |   36|    514|#define SUCCESS 0
  ------------------
  332|    514|}
compile.c:dict_lookup_arg:
  933|    231|{
  934|    231|    PyObject *v = PyDict_GetItemWithError(dict, name);
  935|    231|    if (v == NULL) {
  ------------------
  |  Branch (935:9): [True: 0, False: 231]
  ------------------
  936|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  937|      0|    }
  938|    231|    return PyLong_AsLong(v);
  939|    231|}
compile.c:const_cache_insert:
  339|  7.12k|{
  340|  7.12k|    assert(PyDict_CheckExact(const_cache));
  341|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  342|       |    // No need to merge object and key.
  343|  7.12k|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|  14.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|  6.45k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (343:9): [True: 667, False: 6.45k]
  |  Branch (343:25): [True: 0, False: 6.45k]
  ------------------
  344|    667|        return o;
  345|    667|    }
  346|       |
  347|  6.45k|    PyObject *key = _PyCode_ConstantKey(o);
  348|  6.45k|    if (key == NULL) {
  ------------------
  |  Branch (348:9): [True: 0, False: 6.45k]
  ------------------
  349|      0|        return NULL;
  350|      0|    }
  351|       |
  352|  6.45k|    PyObject *t;
  353|  6.45k|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  354|  6.45k|    if (res != 0) {
  ------------------
  |  Branch (354:9): [True: 1.35k, False: 5.10k]
  ------------------
  355|       |        // o was not inserted into const_cache. t is either the existing value
  356|       |        // or NULL (on error).
  357|  1.35k|        Py_DECREF(key);
  ------------------
  |  |  430|  1.35k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|  1.35k|        return t;
  359|  1.35k|    }
  360|  5.10k|    Py_DECREF(t);
  ------------------
  |  |  430|  5.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|       |
  362|  5.10k|    if (!recursive) {
  ------------------
  |  Branch (362:9): [True: 3.57k, False: 1.52k]
  ------------------
  363|  3.57k|        return key;
  364|  3.57k|    }
  365|       |
  366|       |    // We registered o in const_cache.
  367|       |    // When o is a tuple or frozenset, we want to merge its
  368|       |    // items too.
  369|  1.52k|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|  1.52k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.52k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 157, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|    157|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|    157|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|    408|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (371:32): [True: 251, False: 157]
  ------------------
  372|    251|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|    251|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    251|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    251|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|    251|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  374|    251|            if (u == NULL) {
  ------------------
  |  Branch (374:17): [True: 0, False: 251]
  ------------------
  375|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|      0|                return NULL;
  377|      0|            }
  378|       |
  379|       |            // See _PyCode_ConstantKey()
  380|    251|            PyObject *v;  // borrowed
  381|    251|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   28|    251|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    251|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    251|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    251|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|      0|                v = PyTuple_GET_ITEM(u, 1);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      0|            }
  384|    251|            else {
  385|    251|                v = u;
  386|    251|            }
  387|    251|            if (v != item) {
  ------------------
  |  Branch (387:17): [True: 0, False: 251]
  ------------------
  388|      0|                PyTuple_SET_ITEM(o, i, Py_NewRef(v));
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|      0|            }
  391|       |
  392|    251|            Py_DECREF(u);
  ------------------
  |  |  430|    251|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    251|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    251|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|    251|        }
  394|    157|    }
  395|  1.36k|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|  1.36k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  1.36k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|       |        // *key* is tuple. And its first item is frozenset of
  397|       |        // constant keys.
  398|       |        // See _PyCode_ConstantKey() for detail.
  399|      0|        assert(PyTuple_CheckExact(key));
  400|      0|        assert(PyTuple_GET_SIZE(key) == 2);
  401|       |
  402|      0|        Py_ssize_t len = PySet_GET_SIZE(o);
  ------------------
  |  |   71|      0|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|      0|        if (len == 0) {  // empty frozenset should not be re-created.
  ------------------
  |  Branch (403:13): [True: 0, False: 0]
  ------------------
  404|      0|            return key;
  405|      0|        }
  406|      0|        PyObject *tuple = PyTuple_New(len);
  407|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (407:13): [True: 0, False: 0]
  ------------------
  408|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      0|            return NULL;
  410|      0|        }
  411|      0|        Py_ssize_t i = 0, pos = 0;
  412|      0|        PyObject *item;
  413|      0|        Py_hash_t hash;
  414|      0|        while (_PySet_NextEntry(o, &pos, &item, &hash)) {
  ------------------
  |  Branch (414:16): [True: 0, False: 0]
  ------------------
  415|      0|            PyObject *k = const_cache_insert(const_cache, item, recursive);
  416|      0|            if (k == NULL) {
  ------------------
  |  Branch (416:17): [True: 0, False: 0]
  ------------------
  417|      0|                Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|      0|                return NULL;
  420|      0|            }
  421|      0|            PyObject *u;
  422|      0|            if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  423|      0|                u = Py_NewRef(PyTuple_GET_ITEM(k, 1));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      0|                Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      0|            }
  426|      0|            else {
  427|      0|                u = k;
  428|      0|            }
  429|      0|            PyTuple_SET_ITEM(tuple, i, u);  // Steals reference of u.
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|      0|            i++;
  431|      0|        }
  432|       |
  433|       |        // Instead of rewriting o, we create new frozenset and embed in the
  434|       |        // key tuple.  Caller should get merged frozenset from the key tuple.
  435|      0|        PyObject *new = PyFrozenSet_New(tuple);
  436|      0|        Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      0|        if (new == NULL) {
  ------------------
  |  Branch (437:13): [True: 0, False: 0]
  ------------------
  438|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|      0|            return NULL;
  440|      0|        }
  441|      0|        assert(PyTuple_GET_ITEM(key, 1) == o);
  442|      0|        Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|      0|        PyTuple_SET_ITEM(key, 1, new);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|      0|    }
  445|       |
  446|  1.52k|    return key;
  447|  1.52k|}
compile.c:compute_code_flags:
 1425|    733|{
 1426|    733|    PySTEntryObject *ste = c->u->u_ste;
 1427|    733|    int flags = 0;
 1428|    733|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1428:9): [True: 514, False: 219]
  ------------------
 1429|    514|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  119|    514|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  118|    514|#define CO_OPTIMIZED    0x0001
  ------------------
 1430|    514|        if (ste->ste_nested)
  ------------------
  |  Branch (1430:13): [True: 303, False: 211]
  ------------------
 1431|    303|            flags |= CO_NESTED;
  ------------------
  |  |  122|    303|#define CO_NESTED       0x0010
  ------------------
 1432|    514|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1432:13): [True: 0, False: 514]
  |  Branch (1432:35): [True: 0, False: 0]
  ------------------
 1433|      0|            flags |= CO_GENERATOR;
  ------------------
  |  |  123|      0|#define CO_GENERATOR    0x0020
  ------------------
 1434|    514|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1434:13): [True: 0, False: 514]
  |  Branch (1434:35): [True: 0, False: 0]
  ------------------
 1435|      0|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  129|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1436|    514|        if (ste->ste_varargs)
  ------------------
  |  Branch (1436:13): [True: 4, False: 510]
  ------------------
 1437|      4|            flags |= CO_VARARGS;
  ------------------
  |  |  120|      4|#define CO_VARARGS      0x0004
  ------------------
 1438|    514|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1438:13): [True: 2, False: 512]
  ------------------
 1439|      2|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  121|      2|#define CO_VARKEYWORDS  0x0008
  ------------------
 1440|    514|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1440:13): [True: 4, False: 510]
  ------------------
 1441|      4|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  150|      4|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1442|    514|        if (ste->ste_method)
  ------------------
  |  Branch (1442:13): [True: 0, False: 514]
  ------------------
 1443|      0|            flags |= CO_METHOD;
  ------------------
  |  |  153|      0|#define CO_METHOD  0x8000000
  ------------------
 1444|    514|    }
 1445|       |
 1446|    733|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1446:9): [True: 0, False: 733]
  |  Branch (1446:31): [True: 0, False: 0]
  ------------------
 1447|      0|        flags |= CO_COROUTINE;
  ------------------
  |  |  127|      0|#define CO_COROUTINE            0x0080
  ------------------
 1448|      0|    }
 1449|       |
 1450|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1451|    733|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|    733|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|    733|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|    733|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|    733|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|    733|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|    733|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|    733|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|    733|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|    733|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|    733|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|    733|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|    733|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1452|       |
 1453|    733|    return flags;
 1454|    733|}
compile.c:optimize_and_assemble_code_unit:
 1459|    733|{
 1460|    733|    cfg_builder *g = NULL;
 1461|    733|    instr_sequence optimized_instrs;
 1462|    733|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1463|       |
 1464|    733|    PyCodeObject *co = NULL;
 1465|    733|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1466|    733|    if (consts == NULL) {
  ------------------
  |  Branch (1466:9): [True: 0, False: 733]
  ------------------
 1467|      0|        goto error;
 1468|      0|    }
 1469|    733|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1470|    733|    if (g == NULL) {
  ------------------
  |  Branch (1470:9): [True: 0, False: 733]
  ------------------
 1471|      0|        goto error;
 1472|      0|    }
 1473|    733|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|    733|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   38|    733|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|    733|    assert(u->u_metadata.u_firstlineno);
 1476|       |
 1477|    733|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1477:9): [True: 0, False: 733]
  ------------------
 1478|    733|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1479|      0|        goto error;
 1480|      0|    }
 1481|       |
 1482|    733|    int stackdepth;
 1483|    733|    int nlocalsplus;
 1484|    733|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1484:9): [True: 0, False: 733]
  ------------------
 1485|    733|                                                 &stackdepth, &nlocalsplus,
 1486|    733|                                                 &optimized_instrs) < 0) {
 1487|      0|        goto error;
 1488|      0|    }
 1489|       |
 1490|       |    /** Assembly **/
 1491|    733|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1492|    733|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1493|    733|                                    code_flags, filename);
 1494|       |
 1495|    733|error:
 1496|    733|    Py_XDECREF(consts);
  ------------------
  |  |  524|    733|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|    733|    PyInstructionSequence_Fini(&optimized_instrs);
 1498|    733|    _PyCfgBuilder_Free(g);
 1499|    733|    return co;
 1500|    733|}
compile.c:new_compiler:
  174|    219|{
  175|    219|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  176|    219|    if (c == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 219]
  ------------------
  177|      0|        return NULL;
  178|      0|    }
  179|    219|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (179:9): [True: 0, False: 219]
  ------------------
  180|      0|        compiler_free(c);
  181|      0|        return NULL;
  182|      0|    }
  183|    219|    return c;
  184|    219|}
compile.c:compiler_setup:
  115|    219|{
  116|    219|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|    219|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|    219|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  117|       |
  118|    219|    c->c_const_cache = PyDict_New();
  119|    219|    if (!c->c_const_cache) {
  ------------------
  |  Branch (119:9): [True: 0, False: 219]
  ------------------
  120|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  121|      0|    }
  122|       |
  123|    219|    c->c_stack = PyList_New(0);
  124|    219|    if (!c->c_stack) {
  ------------------
  |  Branch (124:9): [True: 0, False: 219]
  ------------------
  125|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  126|      0|    }
  127|       |
  128|    219|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  550|    219|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    219|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 219]
  ------------------
  130|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  131|      0|    }
  132|    219|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  551|    219|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|    219|    if (!flags) {
  ------------------
  |  Branch (133:9): [True: 6, False: 213]
  ------------------
  134|      6|        flags = &local_flags;
  135|      6|    }
  136|    219|    int merged = c->c_future.ff_features | flags->cf_flags;
  137|    219|    c->c_future.ff_features = merged;
  138|    219|    flags->cf_flags = merged;
  139|    219|    c->c_flags = *flags;
  140|    219|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (140:21): [True: 219, False: 0]
  ------------------
  141|    219|    c->c_save_nested_seqs = false;
  142|       |
  143|    219|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (143:9): [True: 0, False: 219]
  ------------------
  144|    219|                           0, 1, module))
  145|      0|    {
  146|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  147|      0|    }
  148|    219|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  149|    219|    if (c->c_st == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 219]
  ------------------
  150|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (150:13): [True: 0, False: 0]
  ------------------
  151|      0|            PyErr_SetString(PyExc_SystemError, "no symtable");
  152|      0|        }
  153|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  154|      0|    }
  155|    219|    return SUCCESS;
  ------------------
  |  |   36|    219|#define SUCCESS 0
  ------------------
  156|    219|}
compile.c:compiler_mod:
  893|    219|{
  894|    219|    PyCodeObject *co = NULL;
  895|    219|    int addNone = mod->kind != Expression_kind;
  896|    219|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (896:9): [True: 0, False: 219]
  ------------------
  897|      0|        goto finally;
  898|      0|    }
  899|    219|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  900|    219|finally:
  901|    219|    _PyCompile_ExitScope(c);
  902|    219|    return co;
  903|    219|}
compile.c:compiler_free:
  160|    219|{
  161|    219|    if (c->c_st) {
  ------------------
  |  Branch (161:9): [True: 219, False: 0]
  ------------------
  162|    219|        _PySymtable_Free(c->c_st);
  163|    219|    }
  164|    219|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    219|    Py_XDECREF(c->c_module);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|    219|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|    219|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|    219|    PyMem_Free(c);
  169|    219|}
compile.c:compiler_codegen:
  863|    219|{
  864|    219|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|    219|    do {                    \
  |  |   41|    219|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 219]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    219|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 219]
  |  |  ------------------
  ------------------
  865|    219|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  866|    219|    switch (mod->kind) {
  867|    141|    case Module_kind: {
  ------------------
  |  Branch (867:5): [True: 141, False: 78]
  ------------------
  868|    141|        asdl_stmt_seq *stmts = mod->v.Module.body;
  869|    141|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   40|    141|    do {                    \
  |  |   41|    141|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 141]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    141|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 141]
  |  |  ------------------
  ------------------
  870|    141|        break;
  871|    141|    }
  872|    141|    case Interactive_kind: {
  ------------------
  |  Branch (872:5): [True: 0, False: 219]
  ------------------
  873|      0|        c->c_interactive = 1;
  874|      0|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  875|      0|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, true));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  876|      0|        break;
  877|      0|    }
  878|     78|    case Expression_kind: {
  ------------------
  |  Branch (878:5): [True: 78, False: 141]
  ------------------
  879|     78|        RETURN_IF_ERROR(_PyCodegen_Expression(c, mod->v.Expression.body));
  ------------------
  |  |   40|     78|    do {                    \
  |  |   41|     78|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 78]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|     78|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 78]
  |  |  ------------------
  ------------------
  880|     78|        break;
  881|     78|    }
  882|     78|    default: {
  ------------------
  |  Branch (882:5): [True: 0, False: 219]
  ------------------
  883|      0|        PyErr_Format(PyExc_SystemError,
  884|      0|                     "module kind %d should not be possible",
  885|      0|                     mod->kind);
  886|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  887|     78|    }}
  888|    219|    return SUCCESS;
  ------------------
  |  |   36|    219|#define SUCCESS 0
  ------------------
  889|    219|}
compile.c:start_location:
  848|    141|{
  849|    141|    if (asdl_seq_LEN(stmts) > 0) {
  ------------------
  |  |   83|    141|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    282|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 141, False: 0]
  ------------------
  850|       |        /* Set current line number to the line number of first statement.
  851|       |         * This way line number for SETUP_ANNOTATIONS will always
  852|       |         * coincide with the line number of first "real" statement in module.
  853|       |         * If body is empty, then lineno will be set later in the assembly stage.
  854|       |         */
  855|    141|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|    141|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    141|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  856|    141|        return SRC_LOCATION_FROM_AST(st);
  ------------------
  |  |   54|    141|    (_Py_SourceLocation){ \
  |  |   55|    141|               .lineno = (n)->lineno, \
  |  |   56|    141|               .end_lineno = (n)->end_lineno, \
  |  |   57|    141|               .col_offset = (n)->col_offset, \
  |  |   58|    141|               .end_col_offset = (n)->end_col_offset }
  ------------------
  857|    141|    }
  858|      0|    return (const _Py_SourceLocation){1, 1, 0, 0};
  859|    141|}
compile.c:consts_dict_keys_inorder:
 1400|    733|{
 1401|    733|    PyObject *consts, *k, *v;
 1402|    733|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|       |
 1404|    733|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1405|    733|    if (consts == NULL)
  ------------------
  |  Branch (1405:9): [True: 0, False: 733]
  ------------------
 1406|      0|        return NULL;
 1407|  3.08k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1407:12): [True: 2.34k, False: 733]
  ------------------
 1408|  2.34k|        assert(PyLong_CheckExact(v));
 1409|  2.34k|        i = PyLong_AsLong(v);
 1410|       |        /* The keys of the dictionary can be tuples wrapping a constant.
 1411|       |         * (see _PyCompile_DictAddObj and _PyCode_ConstantKey). In that case
 1412|       |         * the object we want is always second. */
 1413|  2.34k|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|  2.34k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.34k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 213, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1414|    213|            k = PyTuple_GET_ITEM(k, 1);
  ------------------
  |  |   29|    213|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    213|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|    213|        }
 1416|  2.34k|        assert(i < size);
 1417|  2.34k|        assert(i >= 0);
 1418|  2.34k|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|  2.34k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|  2.34k|    }
 1420|    733|    return consts;
 1421|    733|}

initconfig.c:config_dict_get:
   20|    142|{
   21|    142|    PyObject *item;
   22|    142|    if (_config_dict_get(dict, name, &item) < 0) {
  ------------------
  |  Branch (22:9): [True: 0, False: 142]
  ------------------
   23|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (23:13): [True: 0, False: 0]
  ------------------
   24|      0|            PyErr_Format(PyExc_ValueError, "missing config key: %s", name);
   25|      0|        }
   26|      0|        return NULL;
   27|      0|    }
   28|    142|    return item;
   29|    142|}
initconfig.c:_config_dict_get:
    4|    142|{
    5|    142|    PyObject *item;
    6|    142|    if (PyDict_GetItemStringRef(dict, name, &item) < 0) {
  ------------------
  |  Branch (6:9): [True: 0, False: 142]
  ------------------
    7|      0|        return -1;
    8|      0|    }
    9|    142|    if (item == NULL) {
  ------------------
  |  Branch (9:9): [True: 0, False: 142]
  ------------------
   10|       |        // We do not set an exception.
   11|      0|        return -1;
   12|      0|    }
   13|    142|    *p_item = item;
   14|    142|    return 0;
   15|    142|}

PyContextVar_New:
  267|      2|{
  268|      2|    PyObject *pyname = PyUnicode_FromString(name);
  269|      2|    if (pyname == NULL) {
  ------------------
  |  Branch (269:9): [True: 0, False: 2]
  ------------------
  270|      0|        return NULL;
  271|      0|    }
  272|      2|    PyContextVar *var = contextvar_new(pyname, def);
  273|      2|    Py_DECREF(pyname);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|      2|    return (PyObject *)var;
  275|      2|}
_PyContext_Init:
 1359|      2|{
 1360|      2|    PyObject *missing = get_token_missing();
 1361|      2|    assert(PyUnstable_IsImmortal(missing));
 1362|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1362:9): [True: 0, False: 2]
  ------------------
 1363|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1364|      0|    {
 1365|      0|        Py_DECREF(missing);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      0|        return _PyStatus_ERR("can't init context types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1367|      0|    }
 1368|      2|    Py_DECREF(missing);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|       |
 1370|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1371|      2|}
context.c:contextvar_new:
  869|     10|{
  870|     10|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     10|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (870:9): [True: 0, False: 10]
  ------------------
  871|      0|        PyErr_SetString(PyExc_TypeError,
  872|      0|                        "context variable name must be a str");
  873|      0|        return NULL;
  874|      0|    }
  875|       |
  876|     10|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|     10|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  877|     10|    if (var == NULL) {
  ------------------
  |  Branch (877:9): [True: 0, False: 10]
  ------------------
  878|      0|        return NULL;
  879|      0|    }
  880|       |
  881|     10|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|     10|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  551|     10|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|       |
  884|     10|#ifndef Py_GIL_DISABLED
  885|     10|    var->var_cached = NULL;
  886|     10|    var->var_cached_tsid = 0;
  887|     10|    var->var_cached_tsver = 0;
  888|     10|#endif
  889|       |
  890|     10|    var->var_hash = contextvar_generate_hash(var, name);
  891|     10|    if (var->var_hash == -1) {
  ------------------
  |  Branch (891:9): [True: 0, False: 10]
  ------------------
  892|      0|        Py_DECREF(var);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|      0|        return NULL;
  894|      0|    }
  895|       |
  896|     10|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (896:9): [True: 0, False: 10]
  ------------------
  897|     10|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (897:14): [True: 0, False: 10]
  |  Branch (897:29): [True: 0, False: 0]
  ------------------
  898|      0|    {
  899|      0|        PyObject_GC_Track(var);
  900|      0|    }
  901|     10|    return var;
  902|     10|}
context.c:contextvar_generate_hash:
  841|     10|{
  842|       |    /* Take hash of `name` and XOR it with the object's addr.
  843|       |
  844|       |       The structure of the tree is encoded in objects' hashes, which
  845|       |       means that sufficiently similar hashes would result in tall trees
  846|       |       with many Collision nodes.  Which would, in turn, result in slower
  847|       |       get and set operations.
  848|       |
  849|       |       The XORing helps to ensure that:
  850|       |
  851|       |       (1) sequentially allocated ContextVar objects have
  852|       |           different hashes;
  853|       |
  854|       |       (2) context variables with equal names have
  855|       |           different hashes.
  856|       |    */
  857|       |
  858|     10|    Py_hash_t name_hash = PyObject_Hash(name);
  859|     10|    if (name_hash == -1) {
  ------------------
  |  Branch (859:9): [True: 0, False: 10]
  ------------------
  860|      0|        return -1;
  861|      0|    }
  862|       |
  863|     10|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  864|     10|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (864:12): [True: 0, False: 10]
  ------------------
  865|     10|}
context.c:contextvar_tp_new:
  916|      8|{
  917|      8|    static char *kwlist[] = {"", "default", NULL};
  918|      8|    PyObject *name;
  919|      8|    PyObject *def = NULL;
  920|       |
  921|      8|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (921:9): [True: 0, False: 8]
  ------------------
  922|      8|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
  923|      0|    {
  924|      0|        return NULL;
  925|      0|    }
  926|       |
  927|      8|    return (PyObject *)contextvar_new(name, def);
  928|      8|}
context.c:get_token_missing:
 1349|      2|{
 1350|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1351|      2|}

_Py_xi_global_state_init:
 3119|      2|{
 3120|       |    assert(state != NULL);
 3121|      2|    xid_lookup_init(&state->data_lookup);
 3122|      2|    return 0;
 3123|      2|}
_Py_xi_state_init:
 3134|      2|{
 3135|      2|    assert(state != NULL);
 3136|      2|    assert(interp == NULL || state == _PyXI_GET_STATE(interp));
 3137|       |
 3138|       |    // Initialize pickle function cache (before any fallible ops).
 3139|      2|    state->pickle.dumps = NULL;
 3140|      2|    state->pickle.loads = NULL;
 3141|       |
 3142|      2|    xid_lookup_init(&state->data_lookup);
 3143|       |
 3144|       |    // Initialize exceptions.
 3145|      2|    if (interp != NULL) {
  ------------------
  |  Branch (3145:9): [True: 0, False: 2]
  ------------------
 3146|      0|        if (init_static_exctypes(&state->exceptions, interp) < 0) {
  ------------------
  |  Branch (3146:13): [True: 0, False: 0]
  ------------------
 3147|      0|            fini_heap_exctypes(&state->exceptions);
 3148|      0|            return -1;
 3149|      0|        }
 3150|      0|    }
 3151|      2|    if (init_heap_exctypes(&state->exceptions) < 0) {
  ------------------
  |  Branch (3151:9): [True: 0, False: 2]
  ------------------
 3152|      0|        return -1;
 3153|      0|    }
 3154|       |
 3155|      2|    return 0;
 3156|      2|}
_PyXI_Init:
 3180|      2|{
 3181|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (3181:9): [True: 2, False: 0]
  ------------------
 3182|      2|        _PyXI_global_state_t *global_state = _PyXI_GET_GLOBAL_STATE(interp);
  ------------------
  |  |  276|      2|#define _PyXI_GET_GLOBAL_STATE(interp) (&(interp)->runtime->xi)
  ------------------
 3183|      2|        if (global_state == NULL) {
  ------------------
  |  Branch (3183:13): [True: 0, False: 2]
  ------------------
 3184|      0|            PyErr_PrintEx(0);
 3185|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3186|      0|                    "failed to get global cross-interpreter state");
 3187|      0|        }
 3188|      2|        if (_Py_xi_global_state_init(global_state) < 0) {
  ------------------
  |  Branch (3188:13): [True: 0, False: 2]
  ------------------
 3189|      0|            PyErr_PrintEx(0);
 3190|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3191|      0|                    "failed to initialize  global cross-interpreter state");
 3192|      0|        }
 3193|      2|    }
 3194|       |
 3195|      2|    _PyXI_state_t *state = _PyXI_GET_STATE(interp);
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
 3196|      2|    if (state == NULL) {
  ------------------
  |  Branch (3196:9): [True: 0, False: 2]
  ------------------
 3197|      0|        PyErr_PrintEx(0);
 3198|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3199|      0|                "failed to get interpreter's cross-interpreter state");
 3200|      0|    }
 3201|       |    // The static types were already initialized in _PyXI_InitTypes(),
 3202|       |    // so we pass in NULL here to avoid initializing them again.
 3203|      2|    if (_Py_xi_state_init(state, NULL) < 0) {
  ------------------
  |  Branch (3203:9): [True: 0, False: 2]
  ------------------
 3204|      0|        PyErr_PrintEx(0);
 3205|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3206|      0|                "failed to initialize interpreter's cross-interpreter state");
 3207|      0|    }
 3208|       |
 3209|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3210|      2|}
_PyXI_InitTypes:
 3237|      2|{
 3238|      2|    if (init_static_exctypes(&_PyXI_GET_STATE(interp)->exceptions, interp) < 0) {
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
  |  Branch (3238:9): [True: 0, False: 2]
  ------------------
 3239|      0|        PyErr_PrintEx(0);
 3240|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3241|      0|                "failed to initialize the cross-interpreter exception types");
 3242|      0|    }
 3243|       |    // We would initialize heap types here too but that leads to ref leaks.
 3244|       |    // Instead, we initialize them in _PyXI_Init().
 3245|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3246|      2|}

crossinterp.c:_xidregistry_add_type:
  254|     14|{
  255|     14|    dlregitem_t *newhead = PyMem_RawMalloc(sizeof(dlregitem_t));
  256|     14|    if (newhead == NULL) {
  ------------------
  |  Branch (256:9): [True: 0, False: 14]
  ------------------
  257|      0|        return -1;
  258|      0|    }
  259|     14|    assert((getdata.basic == NULL) != (getdata.fallback == NULL));
  260|     14|    *newhead = (dlregitem_t){
  261|       |        // We do not keep a reference, to avoid keeping the class alive.
  262|     14|        .cls = cls,
  263|     14|        .refcount = 1,
  264|     14|        .getdata = getdata,
  265|     14|    };
  266|     14|    if (cls->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     14|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (266:9): [True: 0, False: 14]
  ------------------
  267|       |        // XXX Assign a callback to clear the entry from the registry?
  268|      0|        newhead->weakref = PyWeakref_NewRef((PyObject *)cls, NULL);
  269|      0|        if (newhead->weakref == NULL) {
  ------------------
  |  Branch (269:13): [True: 0, False: 0]
  ------------------
  270|      0|            PyMem_RawFree(newhead);
  271|      0|            return -1;
  272|      0|        }
  273|      0|    }
  274|     14|    newhead->next = xidregistry->head;
  275|     14|    if (newhead->next != NULL) {
  ------------------
  |  Branch (275:9): [True: 12, False: 2]
  ------------------
  276|     12|        newhead->next->prev = newhead;
  277|     12|    }
  278|     14|    xidregistry->head = newhead;
  279|     14|    return 0;
  280|     14|}
crossinterp.c:xid_lookup_init:
   23|      4|{
   24|      4|    _xidregistry_init(&state->registry);
   25|      4|}
crossinterp.c:_xidregistry_init:
  145|      4|{
  146|      4|    if (registry->initialized) {
  ------------------
  |  Branch (146:9): [True: 0, False: 4]
  ------------------
  147|      0|        return;
  148|      0|    }
  149|      4|    registry->initialized = 1;
  150|       |
  151|      4|    if (registry->global) {
  ------------------
  |  Branch (151:9): [True: 2, False: 2]
  ------------------
  152|       |        // Registering the builtins is cheap so we don't bother doing it lazily.
  153|       |        assert(registry->head == NULL);
  154|      2|        _register_builtins_for_crossinterpreter_data(registry);
  155|      2|    }
  156|      4|}
crossinterp.c:_register_builtins_for_crossinterpreter_data:
  791|      2|{
  792|      2|#define REGISTER(TYPE, GETDATA) \
  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  795|      2|#define REGISTER_FALLBACK(TYPE, GETDATA) \
  796|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  797|      2|                          ((_PyXIData_getdata_t){.fallback=(GETDATA)}))
  798|       |    // None
  799|      2|    if (REGISTER(Py_TYPE(Py_None), _none_shared) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (799:9): [True: 0, False: 2]
  ------------------
  800|      0|        Py_FatalError("could not register None for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  801|      0|    }
  802|       |
  803|       |    // int
  804|      2|    if (REGISTER(&PyLong_Type, _long_shared) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (804:9): [True: 0, False: 2]
  ------------------
  805|      0|        Py_FatalError("could not register int for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  806|      0|    }
  807|       |
  808|       |    // bytes
  809|      2|    if (REGISTER(&PyBytes_Type, _PyBytes_GetXIData) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (809:9): [True: 0, False: 2]
  ------------------
  810|      0|        Py_FatalError("could not register bytes for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  811|      0|    }
  812|       |
  813|       |    // str
  814|      2|    if (REGISTER(&PyUnicode_Type, _str_shared) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (814:9): [True: 0, False: 2]
  ------------------
  815|      0|        Py_FatalError("could not register str for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  816|      0|    }
  817|       |
  818|       |    // bool
  819|      2|    if (REGISTER(&PyBool_Type, _bool_shared) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (819:9): [True: 0, False: 2]
  ------------------
  820|      0|        Py_FatalError("could not register bool for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  821|      0|    }
  822|       |
  823|       |    // float
  824|      2|    if (REGISTER(&PyFloat_Type, _float_shared) != 0) {
  ------------------
  |  |  793|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  794|      2|                          ((_PyXIData_getdata_t){.basic=(GETDATA)}))
  ------------------
  |  Branch (824:9): [True: 0, False: 2]
  ------------------
  825|      0|        Py_FatalError("could not register float for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  826|      0|    }
  827|       |
  828|       |    // tuple
  829|      2|    if (REGISTER_FALLBACK(&PyTuple_Type, _tuple_shared) != 0) {
  ------------------
  |  |  796|      2|    _xidregistry_add_type(xidregistry, (PyTypeObject *)TYPE, \
  |  |  797|      2|                          ((_PyXIData_getdata_t){.fallback=(GETDATA)}))
  ------------------
  |  Branch (829:9): [True: 0, False: 2]
  ------------------
  830|      0|        Py_FatalError("could not register tuple for cross-interpreter sharing");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  831|      0|    }
  832|       |
  833|       |    // For now, we do not register PyCode_Type or PyFunction_Type.
  834|      2|#undef REGISTER
  835|      2|#undef REGISTER_FALLBACK
  836|      2|}

crossinterp.c:init_static_exctypes:
  139|      2|{
  140|      2|    assert(state == &_PyXI_GET_STATE(interp)->exceptions);
  141|      2|    PyTypeObject *base = (PyTypeObject *)PyExc_Exception;
  142|       |
  143|       |    // PyExc_InterpreterError
  144|      2|    _PyExc_InterpreterError.tp_base = base;
  145|      2|    _PyExc_InterpreterError.tp_traverse = base->tp_traverse;
  146|      2|    _PyExc_InterpreterError.tp_clear = base->tp_clear;
  147|      2|    if (_PyStaticType_InitBuiltin(interp, &_PyExc_InterpreterError) < 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 2]
  ------------------
  148|      0|        goto error;
  149|      0|    }
  150|      2|    state->PyExc_InterpreterError = (PyObject *)&_PyExc_InterpreterError;
  151|       |
  152|       |    // PyExc_InterpreterNotFoundError
  153|      2|    _PyExc_InterpreterNotFoundError.tp_traverse = base->tp_traverse;
  154|      2|    _PyExc_InterpreterNotFoundError.tp_clear = base->tp_clear;
  155|      2|    if (_PyStaticType_InitBuiltin(interp, &_PyExc_InterpreterNotFoundError) < 0) {
  ------------------
  |  Branch (155:9): [True: 0, False: 2]
  ------------------
  156|      0|        goto error;
  157|      0|    }
  158|      2|    state->PyExc_InterpreterNotFoundError =
  159|      2|            (PyObject *)&_PyExc_InterpreterNotFoundError;
  160|       |
  161|      2|    return 0;
  162|       |
  163|      0|error:
  164|      0|    fini_static_exctypes(state, interp);
  165|      0|    return -1;
  166|      2|}
crossinterp.c:init_heap_exctypes:
  184|      2|{
  185|      2|    if (_init_notshareableerror(state) < 0) {
  ------------------
  |  Branch (185:9): [True: 0, False: 2]
  ------------------
  186|      0|        goto error;
  187|      0|    }
  188|      2|    return 0;
  189|       |
  190|      0|error:
  191|      0|    fini_heap_exctypes(state);
  192|      0|    return -1;
  193|      2|}
crossinterp.c:_init_notshareableerror:
   46|      2|{
   47|      2|    const char *name = "concurrent.interpreters.NotShareableError";
   48|      2|    PyObject *base = PyExc_TypeError;
   49|      2|    PyObject *ns = NULL;
   50|      2|    PyObject *exctype = PyErr_NewException(name, base, ns);
   51|      2|    if (exctype == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 2]
  ------------------
   52|      0|        return -1;
   53|      0|    }
   54|      2|    state->PyExc_NotShareableError = exctype;
   55|      2|    return 0;
   56|      2|}

_Py_dg_strtod:
 1385|  42.8k|{
 1386|  42.8k|    int bb2, bb5, bbe, bd2, bd5, bs2, c, dsign, e, e1, error;
 1387|  42.8k|    int esign, i, j, k, lz, nd, nd0, odd, sign;
 1388|  42.8k|    const char *s, *s0, *s1;
 1389|  42.8k|    double aadj, aadj1;
 1390|  42.8k|    U aadj2, adj, rv, rv0;
 1391|  42.8k|    ULong y, z, abs_exp;
 1392|  42.8k|    Long L;
 1393|  42.8k|    BCinfo bc;
 1394|  42.8k|    Bigint *bb = NULL, *bd = NULL, *bd0 = NULL, *bs = NULL, *delta = NULL;
 1395|  42.8k|    size_t ndigits, fraclen;
 1396|  42.8k|    double result;
 1397|       |
 1398|  42.8k|    dval(&rv) = 0.;
  ------------------
  |  |  184|  42.8k|#define dval(x) (x)->d
  ------------------
 1399|       |
 1400|       |    /* Start parsing. */
 1401|  42.8k|    c = *(s = s00);
 1402|       |
 1403|       |    /* Parse optional sign, if present. */
 1404|  42.8k|    sign = 0;
 1405|  42.8k|    switch (c) {
  ------------------
  |  Branch (1405:13): [True: 4, False: 42.7k]
  ------------------
 1406|      4|    case '-':
  ------------------
  |  Branch (1406:5): [True: 4, False: 42.7k]
  ------------------
 1407|      4|        sign = 1;
 1408|      4|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      4|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1409|      4|    case '+':
  ------------------
  |  Branch (1409:5): [True: 0, False: 42.8k]
  ------------------
 1410|      4|        c = *++s;
 1411|  42.8k|    }
 1412|       |
 1413|       |    /* Skip leading zeros: lz is true iff there were leading zeros. */
 1414|  42.8k|    s1 = s;
 1415|  42.8k|    while (c == '0')
  ------------------
  |  Branch (1415:12): [True: 0, False: 42.8k]
  ------------------
 1416|      0|        c = *++s;
 1417|  42.8k|    lz = s != s1;
 1418|       |
 1419|       |    /* Point s0 at the first nonzero digit (if any).  fraclen will be the
 1420|       |       number of digits between the decimal point and the end of the
 1421|       |       digit string.  ndigits will be the total number of digits ignoring
 1422|       |       leading zeros. */
 1423|  42.8k|    s0 = s1 = s;
 1424|  42.8k|    while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1424:12): [True: 42.8k, False: 0]
  |  Branch (1424:24): [True: 0, False: 42.8k]
  ------------------
 1425|      0|        c = *++s;
 1426|  42.8k|    ndigits = s - s1;
 1427|  42.8k|    fraclen = 0;
 1428|       |
 1429|       |    /* Parse decimal point and following digits. */
 1430|  42.8k|    if (c == '.') {
  ------------------
  |  Branch (1430:9): [True: 0, False: 42.8k]
  ------------------
 1431|      0|        c = *++s;
 1432|      0|        if (!ndigits) {
  ------------------
  |  Branch (1432:13): [True: 0, False: 0]
  ------------------
 1433|      0|            s1 = s;
 1434|      0|            while (c == '0')
  ------------------
  |  Branch (1434:20): [True: 0, False: 0]
  ------------------
 1435|      0|                c = *++s;
 1436|      0|            lz = lz || s != s1;
  ------------------
  |  Branch (1436:18): [True: 0, False: 0]
  |  Branch (1436:24): [True: 0, False: 0]
  ------------------
 1437|      0|            fraclen += (s - s1);
 1438|      0|            s0 = s;
 1439|      0|        }
 1440|      0|        s1 = s;
 1441|      0|        while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1441:16): [True: 0, False: 0]
  |  Branch (1441:28): [True: 0, False: 0]
  ------------------
 1442|      0|            c = *++s;
 1443|      0|        ndigits += s - s1;
 1444|      0|        fraclen += s - s1;
 1445|      0|    }
 1446|       |
 1447|       |    /* Now lz is true if and only if there were leading zero digits, and
 1448|       |       ndigits gives the total number of digits ignoring leading zeros.  A
 1449|       |       valid input must have at least one digit. */
 1450|  42.8k|    if (!ndigits && !lz) {
  ------------------
  |  Branch (1450:9): [True: 42.8k, False: 0]
  |  Branch (1450:21): [True: 42.8k, False: 0]
  ------------------
 1451|  42.8k|        if (se)
  ------------------
  |  Branch (1451:13): [True: 42.8k, False: 0]
  ------------------
 1452|  42.8k|            *se = (char *)s00;
 1453|  42.8k|        goto parse_error;
 1454|  42.8k|    }
 1455|       |
 1456|       |    /* Range check ndigits and fraclen to make sure that they, and values
 1457|       |       computed with them, can safely fit in an int. */
 1458|      0|    if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|      0|#define MAX_DIGITS 1000000000U
  ------------------
                  if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|      0|#define MAX_DIGITS 1000000000U
  ------------------
  |  Branch (1458:9): [True: 0, False: 0]
  |  Branch (1458:33): [True: 0, False: 0]
  ------------------
 1459|      0|        if (se)
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|      0|            *se = (char *)s00;
 1461|      0|        goto parse_error;
 1462|      0|    }
 1463|      0|    nd = (int)ndigits;
 1464|      0|    nd0 = (int)ndigits - (int)fraclen;
 1465|       |
 1466|       |    /* Parse exponent. */
 1467|      0|    e = 0;
 1468|      0|    if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1468:9): [True: 0, False: 0]
  |  Branch (1468:21): [True: 0, False: 0]
  ------------------
 1469|      0|        s00 = s;
 1470|      0|        c = *++s;
 1471|       |
 1472|       |        /* Exponent sign. */
 1473|      0|        esign = 0;
 1474|      0|        switch (c) {
  ------------------
  |  Branch (1474:17): [True: 0, False: 0]
  ------------------
 1475|      0|        case '-':
  ------------------
  |  Branch (1475:9): [True: 0, False: 0]
  ------------------
 1476|      0|            esign = 1;
 1477|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1478|      0|        case '+':
  ------------------
  |  Branch (1478:9): [True: 0, False: 0]
  ------------------
 1479|      0|            c = *++s;
 1480|      0|        }
 1481|       |
 1482|       |        /* Skip zeros.  lz is true iff there are leading zeros. */
 1483|      0|        s1 = s;
 1484|      0|        while (c == '0')
  ------------------
  |  Branch (1484:16): [True: 0, False: 0]
  ------------------
 1485|      0|            c = *++s;
 1486|      0|        lz = s != s1;
 1487|       |
 1488|       |        /* Get absolute value of the exponent. */
 1489|      0|        s1 = s;
 1490|      0|        abs_exp = 0;
 1491|      0|        while ('0' <= c && c <= '9') {
  ------------------
  |  Branch (1491:16): [True: 0, False: 0]
  |  Branch (1491:28): [True: 0, False: 0]
  ------------------
 1492|      0|            abs_exp = 10*abs_exp + (c - '0');
 1493|      0|            c = *++s;
 1494|      0|        }
 1495|       |
 1496|       |        /* abs_exp will be correct modulo 2**32.  But 10**9 < 2**32, so if
 1497|       |           there are at most 9 significant exponent digits then overflow is
 1498|       |           impossible. */
 1499|      0|        if (s - s1 > 9 || abs_exp > MAX_ABS_EXP)
  ------------------
  |  |  194|      0|#define MAX_ABS_EXP 1100000000U
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  |  Branch (1499:27): [True: 0, False: 0]
  ------------------
 1500|      0|            e = (int)MAX_ABS_EXP;
  ------------------
  |  |  194|      0|#define MAX_ABS_EXP 1100000000U
  ------------------
 1501|      0|        else
 1502|      0|            e = (int)abs_exp;
 1503|      0|        if (esign)
  ------------------
  |  Branch (1503:13): [True: 0, False: 0]
  ------------------
 1504|      0|            e = -e;
 1505|       |
 1506|       |        /* A valid exponent must have at least one digit. */
 1507|      0|        if (s == s1 && !lz)
  ------------------
  |  Branch (1507:13): [True: 0, False: 0]
  |  Branch (1507:24): [True: 0, False: 0]
  ------------------
 1508|      0|            s = s00;
 1509|      0|    }
 1510|       |
 1511|       |    /* Adjust exponent to take into account position of the point. */
 1512|      0|    e -= nd - nd0;
 1513|      0|    if (nd0 <= 0)
  ------------------
  |  Branch (1513:9): [True: 0, False: 0]
  ------------------
 1514|      0|        nd0 = nd;
 1515|       |
 1516|       |    /* Finished parsing.  Set se to indicate how far we parsed */
 1517|      0|    if (se)
  ------------------
  |  Branch (1517:9): [True: 0, False: 0]
  ------------------
 1518|      0|        *se = (char *)s;
 1519|       |
 1520|       |    /* If all digits were zero, exit with return value +-0.0.  Otherwise,
 1521|       |       strip trailing zeros: scan back until we hit a nonzero digit. */
 1522|      0|    if (!nd)
  ------------------
  |  Branch (1522:9): [True: 0, False: 0]
  ------------------
 1523|      0|        goto ret;
 1524|      0|    for (i = nd; i > 0; ) {
  ------------------
  |  Branch (1524:18): [True: 0, False: 0]
  ------------------
 1525|      0|        --i;
 1526|      0|        if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  |  Branch (1526:16): [True: 0, False: 0]
  ------------------
 1527|      0|            ++i;
 1528|      0|            break;
 1529|      0|        }
 1530|      0|    }
 1531|      0|    e += nd - i;
 1532|      0|    nd = i;
 1533|      0|    if (nd0 > nd)
  ------------------
  |  Branch (1533:9): [True: 0, False: 0]
  ------------------
 1534|      0|        nd0 = nd;
 1535|       |
 1536|       |    /* Summary of parsing results.  After parsing, and dealing with zero
 1537|       |     * inputs, we have values s0, nd0, nd, e, sign, where:
 1538|       |     *
 1539|       |     *  - s0 points to the first significant digit of the input string
 1540|       |     *
 1541|       |     *  - nd is the total number of significant digits (here, and
 1542|       |     *    below, 'significant digits' means the set of digits of the
 1543|       |     *    significand of the input that remain after ignoring leading
 1544|       |     *    and trailing zeros).
 1545|       |     *
 1546|       |     *  - nd0 indicates the position of the decimal point, if present; it
 1547|       |     *    satisfies 1 <= nd0 <= nd.  The nd significant digits are in
 1548|       |     *    s0[0:nd0] and s0[nd0+1:nd+1] using the usual Python half-open slice
 1549|       |     *    notation.  (If nd0 < nd, then s0[nd0] contains a '.'  character; if
 1550|       |     *    nd0 == nd, then s0[nd0] could be any non-digit character.)
 1551|       |     *
 1552|       |     *  - e is the adjusted exponent: the absolute value of the number
 1553|       |     *    represented by the original input string is n * 10**e, where
 1554|       |     *    n is the integer represented by the concatenation of
 1555|       |     *    s0[0:nd0] and s0[nd0+1:nd+1]
 1556|       |     *
 1557|       |     *  - sign gives the sign of the input:  1 for negative, 0 for positive
 1558|       |     *
 1559|       |     *  - the first and last significant digits are nonzero
 1560|       |     */
 1561|       |
 1562|       |    /* put first DBL_DIG+1 digits into integer y and z.
 1563|       |     *
 1564|       |     *  - y contains the value represented by the first min(9, nd)
 1565|       |     *    significant digits
 1566|       |     *
 1567|       |     *  - if nd > 9, z contains the value represented by significant digits
 1568|       |     *    with indices in [9, min(16, nd)).  So y * 10**(min(16, nd) - 9) + z
 1569|       |     *    gives the value represented by the first min(16, nd) sig. digits.
 1570|       |     */
 1571|       |
 1572|      0|    bc.e0 = e1 = e;
 1573|      0|    y = z = 0;
 1574|      0|    for (i = 0; i < nd; i++) {
  ------------------
  |  Branch (1574:17): [True: 0, False: 0]
  ------------------
 1575|      0|        if (i < 9)
  ------------------
  |  Branch (1575:13): [True: 0, False: 0]
  ------------------
 1576|      0|            y = 10*y + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1576:27): [True: 0, False: 0]
  ------------------
 1577|      0|        else if (i < DBL_DIG+1)
  ------------------
  |  Branch (1577:18): [True: 0, False: 0]
  ------------------
 1578|      0|            z = 10*z + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1578:27): [True: 0, False: 0]
  ------------------
 1579|      0|        else
 1580|      0|            break;
 1581|      0|    }
 1582|       |
 1583|      0|    k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
  ------------------
  |  Branch (1583:9): [True: 0, False: 0]
  ------------------
 1584|      0|    dval(&rv) = y;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1585|      0|    if (k > 9) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 0]
  ------------------
 1586|      0|        dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                      dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1587|      0|    }
 1588|      0|    if (nd <= DBL_DIG
  ------------------
  |  Branch (1588:9): [True: 0, False: 0]
  ------------------
 1589|      0|        && Flt_Rounds == 1
  ------------------
  |  |  261|      0|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (1589:12): [True: 0, False: 0]
  ------------------
 1590|      0|        ) {
 1591|      0|        if (!e)
  ------------------
  |  Branch (1591:13): [True: 0, False: 0]
  ------------------
 1592|      0|            goto ret;
 1593|      0|        if (e > 0) {
  ------------------
  |  Branch (1593:13): [True: 0, False: 0]
  ------------------
 1594|      0|            if (e <= Ten_pmax) {
  ------------------
  |  |  248|      0|#define Ten_pmax 22
  ------------------
  |  Branch (1594:17): [True: 0, False: 0]
  ------------------
 1595|      0|                dval(&rv) *= tens[e];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1596|      0|                goto ret;
 1597|      0|            }
 1598|      0|            i = DBL_DIG - nd;
 1599|      0|            if (e <= Ten_pmax + i) {
  ------------------
  |  |  248|      0|#define Ten_pmax 22
  ------------------
  |  Branch (1599:17): [True: 0, False: 0]
  ------------------
 1600|       |                /* A fancier test would sometimes let us do
 1601|       |                 * this for larger i values.
 1602|       |                 */
 1603|      0|                e -= i;
 1604|      0|                dval(&rv) *= tens[i];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1605|      0|                dval(&rv) *= tens[e];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1606|      0|                goto ret;
 1607|      0|            }
 1608|      0|        }
 1609|      0|        else if (e >= -Ten_pmax) {
  ------------------
  |  |  248|      0|#define Ten_pmax 22
  ------------------
  |  Branch (1609:18): [True: 0, False: 0]
  ------------------
 1610|      0|            dval(&rv) /= tens[-e];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1611|      0|            goto ret;
 1612|      0|        }
 1613|      0|    }
 1614|      0|    e1 += nd - k;
 1615|       |
 1616|      0|    bc.scale = 0;
 1617|       |
 1618|       |    /* Get starting approximation = rv * 10**e1 */
 1619|       |
 1620|      0|    if (e1 > 0) {
  ------------------
  |  Branch (1620:9): [True: 0, False: 0]
  ------------------
 1621|      0|        if ((i = e1 & 15))
  ------------------
  |  Branch (1621:13): [True: 0, False: 0]
  ------------------
 1622|      0|            dval(&rv) *= tens[i];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1623|      0|        if (e1 &= ~15) {
  ------------------
  |  Branch (1623:13): [True: 0, False: 0]
  ------------------
 1624|      0|            if (e1 > DBL_MAX_10_EXP)
  ------------------
  |  Branch (1624:17): [True: 0, False: 0]
  ------------------
 1625|      0|                goto ovfl;
 1626|      0|            e1 >>= 4;
 1627|      0|            for(j = 0; e1 > 1; j++, e1 >>= 1)
  ------------------
  |  Branch (1627:24): [True: 0, False: 0]
  ------------------
 1628|      0|                if (e1 & 1)
  ------------------
  |  Branch (1628:21): [True: 0, False: 0]
  ------------------
 1629|      0|                    dval(&rv) *= bigtens[j];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1630|       |            /* The last multiplication could overflow. */
 1631|      0|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 1632|      0|            dval(&rv) *= bigtens[j];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1633|      0|            if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1633:17): [True: 0, False: 0]
  ------------------
 1634|      0|                > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  239|      0|#define Bias 1023
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  237|      0|#define P 53
  ------------------
 1635|      0|                goto ovfl;
 1636|      0|            if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  239|      0|#define Bias 1023
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  237|      0|#define P 53
  ------------------
  |  Branch (1636:17): [True: 0, False: 0]
  ------------------
 1637|       |                /* set to largest number */
 1638|       |                /* (Can't trust DBL_MAX) */
 1639|      0|                word0(&rv) = Big0;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  269|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|      0|#define Bias 1023
  |  |  ------------------
  ------------------
 1640|      0|                word1(&rv) = Big1;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  270|      0|#define Big1 0xffffffff
  ------------------
 1641|      0|            }
 1642|      0|            else
 1643|      0|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 1644|      0|        }
 1645|      0|    }
 1646|      0|    else if (e1 < 0) {
  ------------------
  |  Branch (1646:14): [True: 0, False: 0]
  ------------------
 1647|       |        /* The input decimal value lies in [10**e1, 10**(e1+16)).
 1648|       |
 1649|       |           If e1 <= -512, underflow immediately.
 1650|       |           If e1 <= -256, set bc.scale to 2*P.
 1651|       |
 1652|       |           So for input value < 1e-256, bc.scale is always set;
 1653|       |           for input value >= 1e-240, bc.scale is never set.
 1654|       |           For input values in [1e-256, 1e-240), bc.scale may or may
 1655|       |           not be set. */
 1656|       |
 1657|      0|        e1 = -e1;
 1658|      0|        if ((i = e1 & 15))
  ------------------
  |  Branch (1658:13): [True: 0, False: 0]
  ------------------
 1659|      0|            dval(&rv) /= tens[i];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1660|      0|        if (e1 >>= 4) {
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|            if (e1 >= 1 << n_bigtens)
  ------------------
  |  | 1117|      0|#define n_bigtens 5
  ------------------
  |  Branch (1661:17): [True: 0, False: 0]
  ------------------
 1662|      0|                goto undfl;
 1663|      0|            if (e1 & Scale_Bit)
  ------------------
  |  | 1116|      0|#define Scale_Bit 0x10
  ------------------
  |  Branch (1663:17): [True: 0, False: 0]
  ------------------
 1664|      0|                bc.scale = 2*P;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
 1665|      0|            for(j = 0; e1 > 0; j++, e1 >>= 1)
  ------------------
  |  Branch (1665:24): [True: 0, False: 0]
  ------------------
 1666|      0|                if (e1 & 1)
  ------------------
  |  Branch (1666:21): [True: 0, False: 0]
  ------------------
 1667|      0|                    dval(&rv) *= tinytens[j];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1668|      0|            if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1668:17): [True: 0, False: 0]
  |  Branch (1668:29): [True: 0, False: 0]
  ------------------
 1669|      0|                                            >> Exp_shift)) > 0) {
  ------------------
  |  |  232|      0|#define Exp_shift  20
  ------------------
 1670|       |                /* scaled rv is denormal; clear j low bits */
 1671|      0|                if (j >= 32) {
  ------------------
  |  Branch (1671:21): [True: 0, False: 0]
  ------------------
 1672|      0|                    word1(&rv) = 0;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 1673|      0|                    if (j >= 53)
  ------------------
  |  Branch (1673:25): [True: 0, False: 0]
  ------------------
 1674|      0|                        word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 1675|      0|                    else
 1676|      0|                        word0(&rv) &= 0xffffffff << (j-32);
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
 1677|      0|                }
 1678|      0|                else
 1679|      0|                    word1(&rv) &= 0xffffffff << j;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 1680|      0|            }
 1681|      0|            if (!dval(&rv))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (1681:17): [True: 0, False: 0]
  ------------------
 1682|      0|                goto undfl;
 1683|      0|        }
 1684|      0|    }
 1685|       |
 1686|       |    /* Now the hard part -- adjusting rv to the correct value.*/
 1687|       |
 1688|       |    /* Put digits into bd: true value = bd * 10^e */
 1689|       |
 1690|      0|    bc.nd = nd;
 1691|      0|    bc.nd0 = nd0;       /* Only needed if nd > STRTOD_DIGLIM, but done here */
 1692|       |                        /* to silence an erroneous warning about bc.nd0 */
 1693|       |                        /* possibly not being initialized. */
 1694|      0|    if (nd > STRTOD_DIGLIM) {
  ------------------
  |  |  187|      0|#define STRTOD_DIGLIM 40
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  ------------------
 1695|       |        /* ASSERT(STRTOD_DIGLIM >= 18); 18 == one more than the */
 1696|       |        /* minimum number of decimal digits to distinguish double values */
 1697|       |        /* in IEEE arithmetic. */
 1698|       |
 1699|       |        /* Truncate input to 18 significant digits, then discard any trailing
 1700|       |           zeros on the result by updating nd, nd0, e and y suitably. (There's
 1701|       |           no need to update z; it's not reused beyond this point.) */
 1702|      0|        for (i = 18; i > 0; ) {
  ------------------
  |  Branch (1702:22): [True: 0, False: 0]
  ------------------
 1703|       |            /* scan back until we hit a nonzero digit.  significant digit 'i'
 1704|       |            is s0[i] if i < nd0, s0[i+1] if i >= nd0. */
 1705|      0|            --i;
 1706|      0|            if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1706:17): [True: 0, False: 0]
  |  Branch (1706:20): [True: 0, False: 0]
  ------------------
 1707|      0|                ++i;
 1708|      0|                break;
 1709|      0|            }
 1710|      0|        }
 1711|      0|        e += nd - i;
 1712|      0|        nd = i;
 1713|      0|        if (nd0 > nd)
  ------------------
  |  Branch (1713:13): [True: 0, False: 0]
  ------------------
 1714|      0|            nd0 = nd;
 1715|      0|        if (nd < 9) { /* must recompute y */
  ------------------
  |  Branch (1715:13): [True: 0, False: 0]
  ------------------
 1716|      0|            y = 0;
 1717|      0|            for(i = 0; i < nd0; ++i)
  ------------------
  |  Branch (1717:24): [True: 0, False: 0]
  ------------------
 1718|      0|                y = 10*y + s0[i] - '0';
 1719|      0|            for(; i < nd; ++i)
  ------------------
  |  Branch (1719:19): [True: 0, False: 0]
  ------------------
 1720|      0|                y = 10*y + s0[i+1] - '0';
 1721|      0|        }
 1722|      0|    }
 1723|      0|    bd0 = s2b(s0, nd0, nd, y);
 1724|      0|    if (bd0 == NULL)
  ------------------
  |  Branch (1724:9): [True: 0, False: 0]
  ------------------
 1725|      0|        goto failed_malloc;
 1726|       |
 1727|       |    /* Notation for the comments below.  Write:
 1728|       |
 1729|       |         - dv for the absolute value of the number represented by the original
 1730|       |           decimal input string.
 1731|       |
 1732|       |         - if we've truncated dv, write tdv for the truncated value.
 1733|       |           Otherwise, set tdv == dv.
 1734|       |
 1735|       |         - srv for the quantity rv/2^bc.scale; so srv is the current binary
 1736|       |           approximation to tdv (and dv).  It should be exactly representable
 1737|       |           in an IEEE 754 double.
 1738|       |    */
 1739|       |
 1740|      0|    for(;;) {
 1741|       |
 1742|       |        /* This is the main correction loop for _Py_dg_strtod.
 1743|       |
 1744|       |           We've got a decimal value tdv, and a floating-point approximation
 1745|       |           srv=rv/2^bc.scale to tdv.  The aim is to determine whether srv is
 1746|       |           close enough (i.e., within 0.5 ulps) to tdv, and to compute a new
 1747|       |           approximation if not.
 1748|       |
 1749|       |           To determine whether srv is close enough to tdv, compute integers
 1750|       |           bd, bb and bs proportional to tdv, srv and 0.5 ulp(srv)
 1751|       |           respectively, and then use integer arithmetic to determine whether
 1752|       |           |tdv - srv| is less than, equal to, or greater than 0.5 ulp(srv).
 1753|       |        */
 1754|       |
 1755|      0|        bd = Balloc(bd0->k);
 1756|      0|        if (bd == NULL) {
  ------------------
  |  Branch (1756:13): [True: 0, False: 0]
  ------------------
 1757|      0|            goto failed_malloc;
 1758|      0|        }
 1759|      0|        Bcopy(bd, bd0);
  ------------------
  |  |  433|      0|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  434|      0|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 1760|      0|        bb = sd2b(&rv, bc.scale, &bbe);   /* srv = bb * 2^bbe */
 1761|      0|        if (bb == NULL) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 0]
  ------------------
 1762|      0|            goto failed_malloc;
 1763|      0|        }
 1764|       |        /* Record whether lsb of bb is odd, in case we need this
 1765|       |           for the round-to-even step later. */
 1766|      0|        odd = bb->x[0] & 1;
 1767|       |
 1768|       |        /* tdv = bd * 10**e;  srv = bb * 2**bbe */
 1769|      0|        bs = i2b(1);
 1770|      0|        if (bs == NULL) {
  ------------------
  |  Branch (1770:13): [True: 0, False: 0]
  ------------------
 1771|      0|            goto failed_malloc;
 1772|      0|        }
 1773|       |
 1774|      0|        if (e >= 0) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 0]
  ------------------
 1775|      0|            bb2 = bb5 = 0;
 1776|      0|            bd2 = bd5 = e;
 1777|      0|        }
 1778|      0|        else {
 1779|      0|            bb2 = bb5 = -e;
 1780|      0|            bd2 = bd5 = 0;
 1781|      0|        }
 1782|      0|        if (bbe >= 0)
  ------------------
  |  Branch (1782:13): [True: 0, False: 0]
  ------------------
 1783|      0|            bb2 += bbe;
 1784|      0|        else
 1785|      0|            bd2 -= bbe;
 1786|      0|        bs2 = bb2;
 1787|      0|        bb2++;
 1788|      0|        bd2++;
 1789|       |
 1790|       |        /* At this stage bd5 - bb5 == e == bd2 - bb2 + bbe, bb2 - bs2 == 1,
 1791|       |           and bs == 1, so:
 1792|       |
 1793|       |              tdv == bd * 10**e = bd * 2**(bbe - bb2 + bd2) * 5**(bd5 - bb5)
 1794|       |              srv == bb * 2**bbe = bb * 2**(bbe - bb2 + bb2)
 1795|       |              0.5 ulp(srv) == 2**(bbe-1) = bs * 2**(bbe - bb2 + bs2)
 1796|       |
 1797|       |           It follows that:
 1798|       |
 1799|       |              M * tdv = bd * 2**bd2 * 5**bd5
 1800|       |              M * srv = bb * 2**bb2 * 5**bb5
 1801|       |              M * 0.5 ulp(srv) = bs * 2**bs2 * 5**bb5
 1802|       |
 1803|       |           for some constant M.  (Actually, M == 2**(bb2 - bbe) * 5**bb5, but
 1804|       |           this fact is not needed below.)
 1805|       |        */
 1806|       |
 1807|       |        /* Remove factor of 2**i, where i = min(bb2, bd2, bs2). */
 1808|      0|        i = bb2 < bd2 ? bb2 : bd2;
  ------------------
  |  Branch (1808:13): [True: 0, False: 0]
  ------------------
 1809|      0|        if (i > bs2)
  ------------------
  |  Branch (1809:13): [True: 0, False: 0]
  ------------------
 1810|      0|            i = bs2;
 1811|      0|        if (i > 0) {
  ------------------
  |  Branch (1811:13): [True: 0, False: 0]
  ------------------
 1812|      0|            bb2 -= i;
 1813|      0|            bd2 -= i;
 1814|      0|            bs2 -= i;
 1815|      0|        }
 1816|       |
 1817|       |        /* Scale bb, bd, bs by the appropriate powers of 2 and 5. */
 1818|      0|        if (bb5 > 0) {
  ------------------
  |  Branch (1818:13): [True: 0, False: 0]
  ------------------
 1819|      0|            bs = pow5mult(bs, bb5);
 1820|      0|            if (bs == NULL) {
  ------------------
  |  Branch (1820:17): [True: 0, False: 0]
  ------------------
 1821|      0|                goto failed_malloc;
 1822|      0|            }
 1823|      0|            Bigint *bb1 = mult(bs, bb);
 1824|      0|            Bfree(bb);
 1825|      0|            bb = bb1;
 1826|      0|            if (bb == NULL) {
  ------------------
  |  Branch (1826:17): [True: 0, False: 0]
  ------------------
 1827|      0|                goto failed_malloc;
 1828|      0|            }
 1829|      0|        }
 1830|      0|        if (bb2 > 0) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 0]
  ------------------
 1831|      0|            bb = lshift(bb, bb2);
 1832|      0|            if (bb == NULL) {
  ------------------
  |  Branch (1832:17): [True: 0, False: 0]
  ------------------
 1833|      0|                goto failed_malloc;
 1834|      0|            }
 1835|      0|        }
 1836|      0|        if (bd5 > 0) {
  ------------------
  |  Branch (1836:13): [True: 0, False: 0]
  ------------------
 1837|      0|            bd = pow5mult(bd, bd5);
 1838|      0|            if (bd == NULL) {
  ------------------
  |  Branch (1838:17): [True: 0, False: 0]
  ------------------
 1839|      0|                goto failed_malloc;
 1840|      0|            }
 1841|      0|        }
 1842|      0|        if (bd2 > 0) {
  ------------------
  |  Branch (1842:13): [True: 0, False: 0]
  ------------------
 1843|      0|            bd = lshift(bd, bd2);
 1844|      0|            if (bd == NULL) {
  ------------------
  |  Branch (1844:17): [True: 0, False: 0]
  ------------------
 1845|      0|                goto failed_malloc;
 1846|      0|            }
 1847|      0|        }
 1848|      0|        if (bs2 > 0) {
  ------------------
  |  Branch (1848:13): [True: 0, False: 0]
  ------------------
 1849|      0|            bs = lshift(bs, bs2);
 1850|      0|            if (bs == NULL) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 0]
  ------------------
 1851|      0|                goto failed_malloc;
 1852|      0|            }
 1853|      0|        }
 1854|       |
 1855|       |        /* Now bd, bb and bs are scaled versions of tdv, srv and 0.5 ulp(srv),
 1856|       |           respectively.  Compute the difference |tdv - srv|, and compare
 1857|       |           with 0.5 ulp(srv). */
 1858|       |
 1859|      0|        delta = diff(bb, bd);
 1860|      0|        if (delta == NULL) {
  ------------------
  |  Branch (1860:13): [True: 0, False: 0]
  ------------------
 1861|      0|            goto failed_malloc;
 1862|      0|        }
 1863|      0|        dsign = delta->sign;
 1864|      0|        delta->sign = 0;
 1865|      0|        i = cmp(delta, bs);
 1866|      0|        if (bc.nd > nd && i <= 0) {
  ------------------
  |  Branch (1866:13): [True: 0, False: 0]
  |  Branch (1866:27): [True: 0, False: 0]
  ------------------
 1867|      0|            if (dsign)
  ------------------
  |  Branch (1867:17): [True: 0, False: 0]
  ------------------
 1868|      0|                break;  /* Must use bigcomp(). */
 1869|       |
 1870|       |            /* Here rv overestimates the truncated decimal value by at most
 1871|       |               0.5 ulp(rv).  Hence rv either overestimates the true decimal
 1872|       |               value by <= 0.5 ulp(rv), or underestimates it by some small
 1873|       |               amount (< 0.1 ulp(rv)); either way, rv is within 0.5 ulps of
 1874|       |               the true decimal value, so it's possible to exit.
 1875|       |
 1876|       |               Exception: if scaled rv is a normal exact power of 2, but not
 1877|       |               DBL_MIN, then rv - 0.5 ulp(rv) takes us all the way down to the
 1878|       |               next double, so the correctly rounded result is either rv - 0.5
 1879|       |               ulp(rv) or rv; in this case, use bigcomp to distinguish. */
 1880|       |
 1881|      0|            if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  250|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1881:17): [True: 0, False: 0]
  |  Branch (1881:32): [True: 0, False: 0]
  ------------------
 1882|       |                /* rv can't be 0, since it's an overestimate for some
 1883|       |                   nonzero value.  So rv is a normal power of 2. */
 1884|      0|                j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  232|      0|#define Exp_shift  20
  ------------------
 1885|       |                /* rv / 2^bc.scale = 2^(j - 1023 - bc.scale); use bigcomp if
 1886|       |                   rv / 2^bc.scale >= 2^-1021. */
 1887|      0|                if (j - bc.scale >= 2) {
  ------------------
  |  Branch (1887:21): [True: 0, False: 0]
  ------------------
 1888|      0|                    dval(&rv) -= 0.5 * sulp(&rv, &bc);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1889|      0|                    break; /* Use bigcomp. */
 1890|      0|                }
 1891|      0|            }
 1892|       |
 1893|      0|            {
 1894|      0|                bc.nd = nd;
 1895|      0|                i = -1; /* Discarded digits make delta smaller. */
 1896|      0|            }
 1897|      0|        }
 1898|       |
 1899|      0|        if (i < 0) {
  ------------------
  |  Branch (1899:13): [True: 0, False: 0]
  ------------------
 1900|       |            /* Error is less than half an ulp -- check for
 1901|       |             * special case of mantissa a power of two.
 1902|       |             */
 1903|      0|            if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  250|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1903:17): [True: 0, False: 0]
  |  Branch (1903:40): [True: 0, False: 0]
  ------------------
 1904|      0|                || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1904:20): [True: 0, False: 0]
  ------------------
 1905|      0|                ) {
 1906|      0|                break;
 1907|      0|            }
 1908|      0|            if (!delta->x[0] && delta->wds <= 1) {
  ------------------
  |  Branch (1908:17): [True: 0, False: 0]
  |  Branch (1908:33): [True: 0, False: 0]
  ------------------
 1909|       |                /* exact result */
 1910|      0|                break;
 1911|      0|            }
 1912|      0|            delta = lshift(delta,Log2P);
  ------------------
  |  |  253|      0|#define Log2P 1
  ------------------
 1913|      0|            if (delta == NULL) {
  ------------------
  |  Branch (1913:17): [True: 0, False: 0]
  ------------------
 1914|      0|                goto failed_malloc;
 1915|      0|            }
 1916|      0|            if (cmp(delta, bs) > 0)
  ------------------
  |  Branch (1916:17): [True: 0, False: 0]
  ------------------
 1917|      0|                goto drop_down;
 1918|      0|            break;
 1919|      0|        }
 1920|      0|        if (i == 0) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 0]
  ------------------
 1921|       |            /* exactly half-way between */
 1922|      0|            if (dsign) {
  ------------------
  |  Branch (1922:17): [True: 0, False: 0]
  ------------------
 1923|      0|                if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  251|      0|#define Bndry_mask1 0xfffff
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  251|      0|#define Bndry_mask1 0xfffff
  ------------------
  |  Branch (1923:21): [True: 0, False: 0]
  ------------------
 1924|      0|                    &&  word1(&rv) == (
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1924:25): [True: 0, False: 0]
  ------------------
 1925|      0|                        (bc.scale &&
  ------------------
  |  Branch (1925:26): [True: 0, False: 0]
  ------------------
 1926|      0|                         (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1926:26): [True: 0, False: 0]
  ------------------
 1927|      0|                        (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                      (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  232|      0|#define Exp_shift  20
  ------------------
 1928|      0|                        0xffffffff)) {
 1929|       |                    /*boundary case -- increment exponent*/
 1930|      0|                    word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 1931|      0|                        + Exp_msk1
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 1932|      0|                        ;
 1933|      0|                    word1(&rv) = 0;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 1934|       |                    /* dsign = 0; */
 1935|      0|                    break;
 1936|      0|                }
 1937|      0|            }
 1938|      0|            else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  250|      0|#define Bndry_mask  0xfffff
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1938:22): [True: 0, False: 0]
  |  Branch (1938:52): [True: 0, False: 0]
  ------------------
 1939|      0|              drop_down:
 1940|       |                /* boundary case -- decrement exponent */
 1941|      0|                if (bc.scale) {
  ------------------
  |  Branch (1941:21): [True: 0, False: 0]
  ------------------
 1942|      0|                    L = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                  L = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 1943|      0|                    if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                  if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1943:25): [True: 0, False: 0]
  ------------------
 1944|      0|                        if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                      if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1944:29): [True: 0, False: 0]
  ------------------
 1945|       |                            /* round even ==> */
 1946|       |                            /* accept rv */
 1947|      0|                            break;
 1948|       |                        /* rv = smallest denormal */
 1949|      0|                        if (bc.nd > nd)
  ------------------
  |  Branch (1949:29): [True: 0, False: 0]
  ------------------
 1950|      0|                            break;
 1951|      0|                        goto undfl;
 1952|      0|                    }
 1953|      0|                }
 1954|      0|                L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 1955|      0|                word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  251|      0|#define Bndry_mask1 0xfffff
  ------------------
 1956|      0|                word1(&rv) = 0xffffffff;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 1957|      0|                break;
 1958|      0|            }
 1959|      0|            if (!odd)
  ------------------
  |  Branch (1959:17): [True: 0, False: 0]
  ------------------
 1960|      0|                break;
 1961|      0|            if (dsign)
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                dval(&rv) += sulp(&rv, &bc);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1963|      0|            else {
 1964|      0|                dval(&rv) -= sulp(&rv, &bc);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 1965|      0|                if (!dval(&rv)) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (1965:21): [True: 0, False: 0]
  ------------------
 1966|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1966:25): [True: 0, False: 0]
  ------------------
 1967|      0|                        break;
 1968|      0|                    goto undfl;
 1969|      0|                }
 1970|      0|            }
 1971|       |            /* dsign = 1 - dsign; */
 1972|      0|            break;
 1973|      0|        }
 1974|      0|        if ((aadj = ratio(delta, bs)) <= 2.) {
  ------------------
  |  Branch (1974:13): [True: 0, False: 0]
  ------------------
 1975|      0|            if (dsign)
  ------------------
  |  Branch (1975:17): [True: 0, False: 0]
  ------------------
 1976|      0|                aadj = aadj1 = 1.;
 1977|      0|            else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  250|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1977:36): [True: 0, False: 0]
  ------------------
 1978|      0|                if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  255|      0|#define Tiny1 1
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (1978:21): [True: 0, False: 0]
  |  Branch (1978:44): [True: 0, False: 0]
  ------------------
 1979|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1979:25): [True: 0, False: 0]
  ------------------
 1980|      0|                        break;
 1981|      0|                    goto undfl;
 1982|      0|                }
 1983|      0|                aadj = 1.;
 1984|      0|                aadj1 = -1.;
 1985|      0|            }
 1986|      0|            else {
 1987|       |                /* special case -- power of FLT_RADIX to be */
 1988|       |                /* rounded down... */
 1989|       |
 1990|      0|                if (aadj < 2./FLT_RADIX)
  ------------------
  |  Branch (1990:21): [True: 0, False: 0]
  ------------------
 1991|      0|                    aadj = 1./FLT_RADIX;
 1992|      0|                else
 1993|      0|                    aadj *= 0.5;
 1994|      0|                aadj1 = -aadj;
 1995|      0|            }
 1996|      0|        }
 1997|      0|        else {
 1998|      0|            aadj *= 0.5;
 1999|      0|            aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (1999:21): [True: 0, False: 0]
  ------------------
 2000|      0|            if (Flt_Rounds == 0)
  ------------------
  |  |  261|      0|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (2000:17): [True: 0, False: 0]
  ------------------
 2001|      0|                aadj1 += 0.5;
 2002|      0|        }
 2003|      0|        y = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                      y = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 2004|       |
 2005|       |        /* Check for overflow */
 2006|       |
 2007|      0|        if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
                      if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  239|      0|#define Bias 1023
  ------------------
  |  Branch (2007:13): [True: 0, False: 0]
  ------------------
 2008|      0|            dval(&rv0) = dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                          dval(&rv0) = dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2009|      0|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 2010|      0|            adj.d = aadj1 * ulp(&rv);
 2011|      0|            dval(&rv) += adj.d;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2012|      0|            if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                          if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  239|      0|#define Bias 1023
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  237|      0|#define P 53
  ------------------
 2014|      0|                if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  269|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|      0|#define Bias 1023
  |  |  ------------------
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  270|      0|#define Big1 0xffffffff
  ------------------
  |  Branch (2014:21): [True: 0, False: 0]
  |  Branch (2014:44): [True: 0, False: 0]
  ------------------
 2015|      0|                    goto ovfl;
 2016|      0|                }
 2017|      0|                word0(&rv) = Big0;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  269|      0|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|      0|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|      0|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|      0|#define Bias 1023
  |  |  ------------------
  ------------------
 2018|      0|                word1(&rv) = Big1;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  270|      0|#define Big1 0xffffffff
  ------------------
 2019|      0|                goto cont;
 2020|      0|            }
 2021|      0|            else
 2022|      0|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 2023|      0|        }
 2024|      0|        else {
 2025|      0|            if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                          if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2025:17): [True: 0, False: 0]
  |  Branch (2025:29): [True: 0, False: 0]
  ------------------
 2026|      0|                if (aadj <= 0x7fffffff) {
  ------------------
  |  Branch (2026:21): [True: 0, False: 0]
  ------------------
 2027|      0|                    if ((z = (ULong)aadj) <= 0)
  ------------------
  |  Branch (2027:25): [True: 0, False: 0]
  ------------------
 2028|      0|                        z = 1;
 2029|      0|                    aadj = z;
 2030|      0|                    aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2030:29): [True: 0, False: 0]
  ------------------
 2031|      0|                }
 2032|      0|                dval(&aadj2) = aadj1;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2033|      0|                word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 2034|      0|                aadj1 = dval(&aadj2);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2035|      0|            }
 2036|      0|            adj.d = aadj1 * ulp(&rv);
 2037|      0|            dval(&rv) += adj.d;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2038|      0|        }
 2039|      0|        z = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                      z = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 2040|      0|        if (bc.nd == nd) {
  ------------------
  |  Branch (2040:13): [True: 0, False: 0]
  ------------------
 2041|      0|            if (!bc.scale)
  ------------------
  |  Branch (2041:17): [True: 0, False: 0]
  ------------------
 2042|      0|                if (y == z) {
  ------------------
  |  Branch (2042:21): [True: 0, False: 0]
  ------------------
 2043|       |                    /* Can we stop now? */
 2044|      0|                    L = (Long)aadj;
 2045|      0|                    aadj -= L;
 2046|       |                    /* The tolerances below are conservative. */
 2047|      0|                    if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  250|      0|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2047:25): [True: 0, False: 0]
  |  Branch (2047:48): [True: 0, False: 0]
  ------------------
 2048|      0|                        if (aadj < .4999999 || aadj > .5000001)
  ------------------
  |  Branch (2048:29): [True: 0, False: 0]
  |  Branch (2048:48): [True: 0, False: 0]
  ------------------
 2049|      0|                            break;
 2050|      0|                    }
 2051|      0|                    else if (aadj < .4999999/FLT_RADIX)
  ------------------
  |  Branch (2051:30): [True: 0, False: 0]
  ------------------
 2052|      0|                        break;
 2053|      0|                }
 2054|      0|        }
 2055|      0|      cont:
 2056|      0|        Bfree(bb); bb = NULL;
 2057|      0|        Bfree(bd); bd = NULL;
 2058|      0|        Bfree(bs); bs = NULL;
 2059|      0|        Bfree(delta); delta = NULL;
 2060|      0|    }
 2061|      0|    if (bc.nd > nd) {
  ------------------
  |  Branch (2061:9): [True: 0, False: 0]
  ------------------
 2062|      0|        error = bigcomp(&rv, s0, &bc);
 2063|      0|        if (error)
  ------------------
  |  Branch (2063:13): [True: 0, False: 0]
  ------------------
 2064|      0|            goto failed_malloc;
 2065|      0|    }
 2066|       |
 2067|      0|    if (bc.scale) {
  ------------------
  |  Branch (2067:9): [True: 0, False: 0]
  ------------------
 2068|      0|        word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  243|      0|#define Exp_1  0x3ff00000
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 2069|      0|        word1(&rv0) = 0;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 2070|      0|        dval(&rv) *= dval(&rv0);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                      dval(&rv) *= dval(&rv0);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2071|      0|    }
 2072|       |
 2073|      0|  ret:
 2074|      0|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2074:14): [True: 0, False: 0]
  ------------------
 2075|      0|    goto done;
 2076|       |
 2077|  42.8k|  parse_error:
 2078|  42.8k|    result = 0.0;
 2079|  42.8k|    goto done;
 2080|       |
 2081|      0|  failed_malloc:
 2082|      0|    errno = ENOMEM;
 2083|      0|    result = -1.0;
 2084|      0|    goto done;
 2085|       |
 2086|      0|  undfl:
 2087|      0|    result = sign ? -0.0 : 0.0;
  ------------------
  |  Branch (2087:14): [True: 0, False: 0]
  ------------------
 2088|      0|    goto done;
 2089|       |
 2090|      0|  ovfl:
 2091|      0|    errno = ERANGE;
 2092|       |    /* Can't trust HUGE_VAL */
 2093|      0|    word0(&rv) = Exp_mask;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                  word0(&rv) = Exp_mask;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 2094|      0|    word1(&rv) = 0;
  ------------------
  |  |  179|      0|#define word1(x) (x)->L[0]
  ------------------
 2095|      0|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2095:14): [True: 0, False: 0]
  ------------------
 2096|      0|    goto done;
 2097|       |
 2098|  42.8k|  done:
 2099|  42.8k|    Bfree(bb);
 2100|  42.8k|    Bfree(bd);
 2101|  42.8k|    Bfree(bs);
 2102|  42.8k|    Bfree(bd0);
 2103|  42.8k|    Bfree(delta);
 2104|  42.8k|    return result;
 2105|       |
 2106|      0|}
_PyDtoa_Init:
 2806|      2|{
 2807|      2|#if _PY_SHORT_FLOAT_REPR == 1 && !defined(Py_USING_MEMORY_DEBUGGER)
 2808|      2|    Bigint **p5s = interp->dtoa.p5s;
 2809|       |
 2810|       |    // 5**4 = 625
 2811|      2|    Bigint *p5 = i2b(625);
 2812|      2|    if (p5 == NULL) {
  ------------------
  |  Branch (2812:9): [True: 0, False: 2]
  ------------------
 2813|      0|        return PyStatus_NoMemory();
 2814|      0|    }
 2815|      2|    p5s[0] = p5;
 2816|       |
 2817|       |    // compute 5**8, 5**16, 5**32, ..., 5**512
 2818|     16|    for (Py_ssize_t i = 1; i < Bigint_Pow5size; i++) {
  ------------------
  |  |  479|     16|#define Bigint_Pow5size 8
  ------------------
  |  Branch (2818:28): [True: 14, False: 2]
  ------------------
 2819|     14|        p5 = mult(p5, p5);
 2820|     14|        if (p5 == NULL) {
  ------------------
  |  Branch (2820:13): [True: 0, False: 14]
  ------------------
 2821|      0|            return PyStatus_NoMemory();
 2822|      0|        }
 2823|     14|        p5s[i] = p5;
 2824|     14|    }
 2825|       |
 2826|      2|#endif
 2827|      2|    return PyStatus_Ok();
 2828|      2|}
dtoa.c:Balloc:
  341|     16|{
  342|     16|    int x;
  343|     16|    Bigint *rv;
  344|     16|    unsigned int len;
  345|     16|    PyInterpreterState *interp = _PyInterpreterState_GET();
  346|       |
  347|     16|    if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  476|     32|#define Bigint_Kmax 7
  ------------------
                  if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  333|     16|#define freelist interp->dtoa.freelist
  ------------------
  |  Branch (347:9): [True: 16, False: 0]
  |  Branch (347:29): [True: 0, False: 16]
  ------------------
  348|      0|        freelist[k] = rv->next;
  ------------------
  |  |  333|      0|#define freelist interp->dtoa.freelist
  ------------------
  349|     16|    else {
  350|     16|        x = 1 << k;
  351|     16|        len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
  352|     16|            /sizeof(double);
  353|     16|        if (k <= Bigint_Kmax &&
  ------------------
  |  |  476|     32|#define Bigint_Kmax 7
  ------------------
  |  Branch (353:13): [True: 16, False: 0]
  ------------------
  354|     16|            pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  335|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  334|     16|#define private_mem interp->dtoa.preallocated
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  485|     16|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  482|     16|#define PRIVATE_MEM 2304
  |  |  ------------------
  ------------------
  |  Branch (354:13): [True: 16, False: 0]
  ------------------
  355|     16|        ) {
  356|     16|            rv = (Bigint*)pmem_next;
  ------------------
  |  |  335|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  357|     16|            pmem_next += len;
  ------------------
  |  |  335|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  358|     16|        }
  359|      0|        else {
  360|      0|            rv = (Bigint*)MALLOC(len*sizeof(double));
  ------------------
  |  |  133|      0|#define MALLOC PyMem_Malloc
  ------------------
  361|      0|            if (rv == NULL)
  ------------------
  |  Branch (361:17): [True: 0, False: 0]
  ------------------
  362|      0|                return NULL;
  363|      0|        }
  364|     16|        rv->k = k;
  365|     16|        rv->maxwds = x;
  366|     16|    }
  367|     16|    rv->sign = rv->wds = 0;
  368|     16|    return rv;
  369|     16|}
dtoa.c:i2b:
  595|      2|{
  596|      2|    Bigint *b;
  597|       |
  598|      2|    b = Balloc(1);
  599|      2|    if (b == NULL)
  ------------------
  |  Branch (599:9): [True: 0, False: 2]
  ------------------
  600|      0|        return NULL;
  601|      2|    b->x[0] = i;
  602|      2|    b->wds = 1;
  603|      2|    return b;
  604|      2|}
dtoa.c:mult:
  611|     14|{
  612|     14|    Bigint *c;
  613|     14|    int k, wa, wb, wc;
  614|     14|    ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0;
  615|     14|    ULong y;
  616|     14|    ULLong carry, z;
  617|       |
  618|     14|    if ((!a->x[0] && a->wds == 1) || (!b->x[0] && b->wds == 1)) {
  ------------------
  |  Branch (618:10): [True: 0, False: 14]
  |  Branch (618:22): [True: 0, False: 0]
  |  Branch (618:39): [True: 0, False: 14]
  |  Branch (618:51): [True: 0, False: 0]
  ------------------
  619|      0|        c = Balloc(0);
  620|      0|        if (c == NULL)
  ------------------
  |  Branch (620:13): [True: 0, False: 0]
  ------------------
  621|      0|            return NULL;
  622|      0|        c->wds = 1;
  623|      0|        c->x[0] = 0;
  624|      0|        return c;
  625|      0|    }
  626|       |
  627|     14|    if (a->wds < b->wds) {
  ------------------
  |  Branch (627:9): [True: 0, False: 14]
  ------------------
  628|      0|        c = a;
  629|      0|        a = b;
  630|      0|        b = c;
  631|      0|    }
  632|     14|    k = a->k;
  633|     14|    wa = a->wds;
  634|     14|    wb = b->wds;
  635|     14|    wc = wa + wb;
  636|     14|    if (wc > a->maxwds)
  ------------------
  |  Branch (636:9): [True: 10, False: 4]
  ------------------
  637|     10|        k++;
  638|     14|    c = Balloc(k);
  639|     14|    if (c == NULL)
  ------------------
  |  Branch (639:9): [True: 0, False: 14]
  ------------------
  640|      0|        return NULL;
  641|    178|    for(x = c->x, xa = x + wc; x < xa; x++)
  ------------------
  |  Branch (641:32): [True: 164, False: 14]
  ------------------
  642|    164|        *x = 0;
  643|     14|    xa = a->x;
  644|     14|    xae = xa + wa;
  645|     14|    xb = b->x;
  646|     14|    xbe = xb + wb;
  647|     14|    xc0 = c->x;
  648|     96|    for(; xb < xbe; xc0++) {
  ------------------
  |  Branch (648:11): [True: 82, False: 14]
  ------------------
  649|     82|        if ((y = *xb++)) {
  ------------------
  |  Branch (649:13): [True: 82, False: 0]
  ------------------
  650|     82|            x = xa;
  651|     82|            xc = xc0;
  652|     82|            carry = 0;
  653|  1.00k|            do {
  654|  1.00k|                z = *x++ * (ULLong)y + *xc + carry;
  655|  1.00k|                carry = z >> 32;
  656|  1.00k|                *xc++ = (ULong)(z & FFFFFFFF);
  ------------------
  |  |  285|  1.00k|#define FFFFFFFF 0xffffffffUL
  ------------------
  657|  1.00k|            }
  658|  1.00k|            while(x < xae);
  ------------------
  |  Branch (658:19): [True: 920, False: 82]
  ------------------
  659|     82|            *xc = (ULong)carry;
  660|     82|        }
  661|     82|    }
  662|     22|    for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
  ------------------
  |  Branch (662:36): [True: 22, False: 0]
  |  Branch (662:46): [True: 8, False: 14]
  ------------------
  663|     14|    c->wds = wc;
  664|     14|    return c;
  665|     14|}
dtoa.c:Bfree:
  375|   214k|{
  376|   214k|    if (v) {
  ------------------
  |  Branch (376:9): [True: 0, False: 214k]
  ------------------
  377|      0|        if (v->k > Bigint_Kmax)
  ------------------
  |  |  476|      0|#define Bigint_Kmax 7
  ------------------
  |  Branch (377:13): [True: 0, False: 0]
  ------------------
  378|      0|            FREE((void*)v);
  ------------------
  |  |  134|      0|#define FREE PyMem_Free
  ------------------
  379|      0|        else {
  380|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
  381|      0|            v->next = freelist[v->k];
  ------------------
  |  |  333|      0|#define freelist interp->dtoa.freelist
  ------------------
  382|      0|            freelist[v->k] = v;
  ------------------
  |  |  333|      0|#define freelist interp->dtoa.freelist
  ------------------
  383|      0|        }
  384|      0|    }
  385|   214k|}

_PyImport_FindSharedFuncptr:
   62|     98|{
   63|     98|    dl_funcptr p;
   64|     98|    void *handle;
   65|     98|    char funcname[258];
   66|     98|    char pathbuf[260];
   67|     98|    int dlopenflags=0;
   68|       |
   69|     98|    if (strchr(pathname, '/') == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 98]
  ------------------
   70|       |        /* Prefix bare filename with "./" */
   71|      0|        PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname);
   72|      0|        pathname = pathbuf;
   73|      0|    }
   74|       |
   75|     98|    PyOS_snprintf(funcname, sizeof(funcname),
   76|     98|                  LEAD_UNDERSCORE "%.20s_%.200s", prefix, shortname);
  ------------------
  |  |   30|     98|#define LEAD_UNDERSCORE ""
  ------------------
   77|       |
   78|     98|    if (fp != NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 98]
  ------------------
   79|      0|        struct _Py_stat_struct status;
   80|      0|        if (_Py_fstat(fileno(fp), &status) == -1)
  ------------------
  |  Branch (80:13): [True: 0, False: 0]
  ------------------
   81|      0|            return NULL;
   82|      0|    }
   83|       |
   84|     98|    dlopenflags = _PyImport_GetDLOpenFlags(_PyInterpreterState_GET());
   85|       |
   86|     98|    handle = dlopen(pathname, dlopenflags);
   87|       |
   88|     98|    if (handle == NULL) {
  ------------------
  |  Branch (88:9): [True: 2, False: 96]
  ------------------
   89|      2|        PyObject *mod_name;
   90|      2|        PyObject *path;
   91|      2|        PyObject *error_ob;
   92|      2|        const char *error = dlerror();
   93|      2|        if (error == NULL)
  ------------------
  |  Branch (93:13): [True: 0, False: 2]
  ------------------
   94|      0|            error = "unknown dlopen() error";
   95|      2|        error_ob = PyUnicode_DecodeLocale(error, "surrogateescape");
   96|      2|        if (error_ob == NULL)
  ------------------
  |  Branch (96:13): [True: 0, False: 2]
  ------------------
   97|      0|            return NULL;
   98|      2|        mod_name = PyUnicode_FromString(shortname);
   99|      2|        if (mod_name == NULL) {
  ------------------
  |  Branch (99:13): [True: 0, False: 2]
  ------------------
  100|      0|            Py_DECREF(error_ob);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      0|            return NULL;
  102|      0|        }
  103|      2|        path = PyUnicode_DecodeFSDefault(pathname);
  104|      2|        if (path == NULL) {
  ------------------
  |  Branch (104:13): [True: 0, False: 2]
  ------------------
  105|      0|            Py_DECREF(error_ob);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      0|            Py_DECREF(mod_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      0|            return NULL;
  108|      0|        }
  109|      2|        PyErr_SetImportError(error_ob, mod_name, path);
  110|      2|        Py_DECREF(error_ob);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      2|        Py_DECREF(mod_name);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      2|        Py_DECREF(path);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      2|        return NULL;
  114|      2|    }
  115|     96|    p = (dl_funcptr) dlsym(handle, funcname);
  116|     96|    return p;
  117|     98|}

_PyErr_SetRaisedException:
   25|  15.2M|{
   26|  15.2M|    PyObject *old_exc = tstate->current_exception;
   27|  15.2M|    tstate->current_exception = exc;
   28|  15.2M|    Py_XDECREF(old_exc);
  ------------------
  |  |  524|  15.2M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|  15.2M|}
_PyErr_Restore:
   60|  5.94M|{
   61|  5.94M|    if (type == NULL) {
  ------------------
  |  Branch (61:9): [True: 3.97M, False: 1.96M]
  ------------------
   62|  3.97M|        assert(value == NULL);
   63|  3.97M|        assert(traceback == NULL);
   64|  3.97M|        _PyErr_SetRaisedException(tstate, NULL);
   65|  3.97M|        return;
   66|  3.97M|    }
   67|  5.94M|    assert(PyExceptionClass_Check(type));
   68|  1.96M|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|  1.96M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 1.96M, False: 0]
  |  Branch (68:26): [True: 1.96M, False: 0]
  ------------------
   69|       |        /* Already normalized */
   70|       |#ifdef Py_DEBUG
   71|       |        PyObject *tb = PyException_GetTraceback(value);
   72|       |        assert(tb != Py_None);
   73|       |        Py_XDECREF(tb);
   74|       |#endif
   75|  1.96M|    }
   76|      0|    else {
   77|      0|        PyObject *exc = _PyErr_CreateException(type, value);
   78|      0|        Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      0|        if (exc == NULL) {
  ------------------
  |  Branch (79:13): [True: 0, False: 0]
  ------------------
   80|      0|            Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|      0|            Py_XDECREF(traceback);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|      0|            return;
   83|      0|        }
   84|      0|        value = exc;
   85|      0|    }
   86|  1.96M|    assert(PyExceptionInstance_Check(value));
   87|  1.96M|    if (traceback != NULL) {
  ------------------
  |  Branch (87:9): [True: 23.3k, False: 1.94M]
  ------------------
   88|  23.3k|        if (PyException_SetTraceback(value, traceback) < 0) {
  ------------------
  |  Branch (88:13): [True: 0, False: 23.3k]
  ------------------
   89|      0|            Py_DECREF(traceback);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   91|      0|            Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|            return;
   93|      0|        }
   94|  23.3k|        Py_DECREF(traceback);
  ------------------
  |  |  430|  23.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  23.3k|    }
   96|  1.96M|    _PyErr_SetRaisedException(tstate, value);
   97|  1.96M|    Py_DECREF(type);
  ------------------
  |  |  430|  1.96M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  1.96M|}
PyErr_Restore:
  102|  77.4k|{
  103|  77.4k|    PyThreadState *tstate = _PyThreadState_GET();
  104|  77.4k|    _PyErr_Restore(tstate, type, value, traceback);
  105|  77.4k|}
PyErr_SetRaisedException:
  109|  8.78M|{
  110|  8.78M|    PyThreadState *tstate = _PyThreadState_GET();
  111|  8.78M|    _PyErr_SetRaisedException(tstate, exc);
  112|  8.78M|}
_PyErr_GetTopmostException:
  116|  1.89M|{
  117|  1.89M|    _PyErr_StackItem *exc_info = tstate->exc_info;
  118|  1.89M|    assert(exc_info);
  119|       |
  120|  1.94M|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (120:12): [True: 1.56M, False: 385k]
  |  Branch (120:43): [True: 57.3k, False: 1.50M]
  ------------------
  121|  57.3k|    {
  122|  57.3k|        exc_info = exc_info->previous_item;
  123|  57.3k|    }
  124|       |    assert(!Py_IsNone(exc_info->exc_value));
  125|  1.89M|    return exc_info;
  126|  1.89M|}
_PyErr_SetObject:
  152|  1.89M|{
  153|  1.89M|    PyObject *exc_value;
  154|  1.89M|    PyObject *tb = NULL;
  155|       |
  156|  1.89M|    if (exception != NULL &&
  ------------------
  |  Branch (156:9): [True: 1.89M, False: 0]
  ------------------
  157|  1.89M|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|  1.89M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  3.78M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 1.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.89M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|      0|        _PyErr_Format(tstate, PyExc_SystemError,
  159|      0|                      "_PyErr_SetObject: "
  160|      0|                      "exception %R is not a BaseException subclass",
  161|      0|                      exception);
  162|      0|        return;
  163|      0|    }
  164|       |    /* Normalize the exception */
  165|  1.89M|    int is_subclass = 0;
  166|  1.89M|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|  1.89M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 340k, False: 1.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (166:9): [True: 1.89M, False: 383]
  ------------------
  167|   340k|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|   340k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   340k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   340k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|   340k|        if (is_subclass < 0) {
  ------------------
  |  Branch (168:13): [True: 0, False: 340k]
  ------------------
  169|      0|            return;
  170|      0|        }
  171|   340k|    }
  172|  1.89M|    Py_XINCREF(value);
  ------------------
  |  |  514|  1.89M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  1.89M|    if (!is_subclass) {
  ------------------
  |  Branch (173:9): [True: 1.55M, False: 340k]
  ------------------
  174|       |        /* We must normalize the value right now */
  175|       |
  176|       |        /* Issue #23571: functions must not be called with an
  177|       |            exception set */
  178|  1.55M|        _PyErr_Clear(tstate);
  179|       |
  180|  1.55M|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  181|  1.55M|        if (fixed_value == NULL) {
  ------------------
  |  Branch (181:13): [True: 0, False: 1.55M]
  ------------------
  182|      0|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  183|      0|            assert(PyExceptionInstance_Check(exc));
  184|       |
  185|      0|            PyObject *note = get_normalization_failure_note(tstate, exception, value);
  186|      0|            Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  187|      0|            if (note != NULL) {
  ------------------
  |  Branch (187:17): [True: 0, False: 0]
  ------------------
  188|       |                /* ignore errors in _PyException_AddNote - they will be overwritten below */
  189|      0|                _PyException_AddNote(exc, note);
  190|      0|                Py_DECREF(note);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      0|            }
  192|      0|            _PyErr_SetRaisedException(tstate, exc);
  193|      0|            return;
  194|      0|        }
  195|  1.55M|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  374|  1.55M|    do { \
  |  |  375|  1.55M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.55M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.55M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.55M|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.55M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.55M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.55M]
  |  |  ------------------
  ------------------
  196|  1.55M|    }
  197|       |
  198|  1.89M|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  199|  1.89M|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|   385k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (199:9): [True: 385k, False: 1.50M]
  |  Branch (199:30): [True: 385k, False: 0]
  ------------------
  200|       |        /* Implicit exception chaining */
  201|   385k|        Py_INCREF(exc_value);
  ------------------
  |  |  310|   385k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   385k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   385k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|       |        /* Avoid creating new reference cycles through the
  203|       |           context chain, while taking care not to hang on
  204|       |           pre-existing ones.
  205|       |           This is O(chain length) but context chains are
  206|       |           usually very short. Sensitive readers may try
  207|       |           to inline the call to PyException_GetContext. */
  208|   385k|        if (exc_value != value) {
  ------------------
  |  Branch (208:13): [True: 385k, False: 0]
  ------------------
  209|   385k|            PyObject *o = exc_value, *context;
  210|   385k|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  211|   385k|            int slow_update_toggle = 0;
  212|   385k|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (212:20): [True: 255, False: 385k]
  ------------------
  213|    255|                Py_DECREF(context);
  ------------------
  |  |  430|    255|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    255|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|    255|                if (context == value) {
  ------------------
  |  Branch (214:21): [True: 0, False: 255]
  ------------------
  215|      0|                    PyException_SetContext(o, NULL);
  216|      0|                    break;
  217|      0|                }
  218|    255|                o = context;
  219|    255|                if (o == slow_o) {
  ------------------
  |  Branch (219:21): [True: 0, False: 255]
  ------------------
  220|       |                    /* pre-existing cycle - all exceptions on the
  221|       |                       path were visited and checked.  */
  222|      0|                    break;
  223|      0|                }
  224|    255|                if (slow_update_toggle) {
  ------------------
  |  Branch (224:21): [True: 8, False: 247]
  ------------------
  225|      8|                    slow_o = PyException_GetContext(slow_o);
  226|      8|                    Py_DECREF(slow_o);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  227|      8|                }
  228|    255|                slow_update_toggle = !slow_update_toggle;
  229|    255|            }
  230|   385k|            PyException_SetContext(value, exc_value);
  231|   385k|        }
  232|      0|        else {
  233|      0|            Py_DECREF(exc_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      0|        }
  235|   385k|    }
  236|  1.89M|    assert(value != NULL);
  237|  1.89M|    if (PyExceptionInstance_Check(value))
  ------------------
  |  |   65|  1.89M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.89M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  1.89M|        tb = PyException_GetTraceback(value);
  239|  1.89M|    _PyErr_Restore(tstate, Py_NewRef(Py_TYPE(value)), value, tb);
  ------------------
  |  |  550|  1.89M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|  1.89M|}
PyErr_SetObject:
  244|  59.9k|{
  245|  59.9k|    PyThreadState *tstate = _PyThreadState_GET();
  246|  59.9k|    _PyErr_SetObject(tstate, exception, value);
  247|  59.9k|}
_PyErr_SetKeyError:
  258|   276k|{
  259|   276k|    PyThreadState *tstate = _PyThreadState_GET();
  260|       |
  261|       |    // PyObject_CallOneArg() must not be called with an exception set,
  262|       |    // otherwise _Py_CheckFunctionResult() can fail if the function returned
  263|       |    // a result with an excception set.
  264|   276k|    _PyErr_Clear(tstate);
  265|       |
  266|   276k|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  267|   276k|    if (!exc) {
  ------------------
  |  Branch (267:9): [True: 0, False: 276k]
  ------------------
  268|       |        /* caller will expect error to be set anyway */
  269|      0|        return;
  270|      0|    }
  271|       |
  272|   276k|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|   276k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|   276k|    Py_DECREF(exc);
  ------------------
  |  |  430|   276k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   276k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   276k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|   276k|}
_PyErr_SetNone:
  278|    383|{
  279|       |    _PyErr_SetObject(tstate, exception, (PyObject *)NULL);
  280|    383|}
PyErr_SetNone:
  285|    383|{
  286|    383|    PyThreadState *tstate = _PyThreadState_GET();
  287|    383|    _PyErr_SetNone(tstate, exception);
  288|    383|}
_PyErr_SetString:
  294|   211k|{
  295|   211k|    PyObject *value = PyUnicode_FromString(string);
  296|   211k|    if (value != NULL) {
  ------------------
  |  Branch (296:9): [True: 211k, False: 0]
  ------------------
  297|   211k|        _PyErr_SetObject(tstate, exception, value);
  298|   211k|        Py_DECREF(value);
  ------------------
  |  |  430|   211k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   211k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   211k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|   211k|    }
  300|   211k|}
PyErr_SetString:
  304|   211k|{
  305|   211k|    PyThreadState *tstate = _PyThreadState_GET();
  306|   211k|    _PyErr_SetString(tstate, exception, string);
  307|   211k|}
PyErr_Occurred:
  321|  13.2M|{
  322|       |    /* The caller must hold a thread state. */
  323|  13.2M|    _Py_AssertHoldsTstate();
  324|       |
  325|  13.2M|    PyThreadState *tstate = _PyThreadState_GET();
  326|  13.2M|    return _PyErr_Occurred(tstate);
  327|  13.2M|}
PyErr_GivenExceptionMatches:
  332|  7.05M|{
  333|  7.05M|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (333:9): [True: 0, False: 7.05M]
  |  Branch (333:24): [True: 0, False: 7.05M]
  ------------------
  334|       |        /* maybe caused by "import exceptions" that failed early on */
  335|      0|        return 0;
  336|      0|    }
  337|  7.05M|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|  7.05M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33, False: 7.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|     33|        Py_ssize_t i, n;
  339|     33|        n = PyTuple_Size(exc);
  340|     33|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (340:21): [True: 33, False: 0]
  ------------------
  341|       |            /* Test recursively */
  342|     33|             if (PyErr_GivenExceptionMatches(
  ------------------
  |  Branch (342:18): [True: 33, False: 0]
  ------------------
  343|     33|                 err, PyTuple_GET_ITEM(exc, i)))
  ------------------
  |  |   29|     33|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     33|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|     33|             {
  345|     33|                 return 1;
  346|     33|             }
  347|     33|        }
  348|      0|        return 0;
  349|     33|    }
  350|       |    /* err might be an instance, so check its class. */
  351|  7.05M|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|  7.05M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.45M, False: 2.60M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  4.45M|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|  4.45M|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  4.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|       |
  354|  7.05M|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  14.1M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  14.1M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 7.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  14.1M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  7.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  7.05M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  14.1M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 7.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  7.05M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  7.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|  7.05M|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  356|  7.05M|    }
  357|       |
  358|      0|    return err == exc;
  359|  7.05M|}
_PyErr_ExceptionMatches:
  364|  2.60M|{
  365|  2.60M|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  366|  2.60M|}
PyErr_ExceptionMatches:
  371|  2.60M|{
  372|  2.60M|    PyThreadState *tstate = _PyThreadState_GET();
  373|  2.60M|    return _PyErr_ExceptionMatches(tstate, exc);
  374|  2.60M|}
_PyErr_GetRaisedException:
  499|  11.2M|_PyErr_GetRaisedException(PyThreadState *tstate) {
  500|  11.2M|    PyObject *exc = tstate->current_exception;
  501|       |    tstate->current_exception = NULL;
  502|  11.2M|    return exc;
  503|  11.2M|}
PyErr_GetRaisedException:
  507|  8.79M|{
  508|  8.79M|    PyThreadState *tstate = _PyThreadState_GET();
  509|  8.79M|    return _PyErr_GetRaisedException(tstate);
  510|  8.79M|}
_PyErr_Fetch:
  515|  54.1k|{
  516|  54.1k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  517|  54.1k|    *p_value = exc;
  518|  54.1k|    if (exc == NULL) {
  ------------------
  |  Branch (518:9): [True: 0, False: 54.1k]
  ------------------
  519|      0|        *p_type = NULL;
  520|      0|        *p_traceback = NULL;
  521|      0|    }
  522|  54.1k|    else {
  523|  54.1k|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  550|  54.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  54.1k|        *p_traceback = PyException_GetTraceback(exc);
  525|  54.1k|    }
  526|  54.1k|}
PyErr_Fetch:
  531|  54.1k|{
  532|  54.1k|    PyThreadState *tstate = _PyThreadState_GET();
  533|  54.1k|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  534|  54.1k|}
_PyErr_Clear:
  539|  3.97M|{
  540|  3.97M|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  541|  3.97M|}
PyErr_Clear:
  546|   868k|{
  547|   868k|    PyThreadState *tstate = _PyThreadState_GET();
  548|   868k|    _PyErr_Clear(tstate);
  549|   868k|}
_PyErr_ChainExceptions1Tstate:
  707|    522|{
  708|    522|    if (exc == NULL) {
  ------------------
  |  Branch (708:9): [True: 522, False: 0]
  ------------------
  709|    522|        return;
  710|    522|    }
  711|      0|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (711:9): [True: 0, False: 0]
  ------------------
  712|      0|        PyObject *exc2 = _PyErr_GetRaisedException(tstate);
  713|      0|        PyException_SetContext(exc2, exc);
  714|      0|        _PyErr_SetRaisedException(tstate, exc2);
  715|      0|    }
  716|      0|    else {
  717|      0|        _PyErr_SetRaisedException(tstate, exc);
  718|      0|    }
  719|      0|}
_PyErr_ChainExceptions1:
  723|    522|{
  724|    522|    PyThreadState *tstate = _PyThreadState_GET();
  725|    522|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  726|    522|}
_PyErr_ChainStackItem:
  736|  23.5k|{
  737|  23.5k|    PyThreadState *tstate = _PyThreadState_GET();
  738|  23.5k|    assert(_PyErr_Occurred(tstate));
  739|       |
  740|  23.5k|    _PyErr_StackItem *exc_info = tstate->exc_info;
  741|  23.5k|    if (exc_info->exc_value == NULL || exc_info->exc_value == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (741:9): [True: 23.5k, False: 0]
  |  Branch (741:40): [True: 0, False: 0]
  ------------------
  742|  23.5k|        return;
  743|  23.5k|    }
  744|       |
  745|      0|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  746|       |
  747|       |    /* _PyErr_SetObject sets the context from PyThreadState. */
  748|      0|    _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(exc), exc);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|      0|    Py_DECREF(exc);  // since _PyErr_Occurred was true
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|      0|}
PyErr_SetFromErrnoWithFilenameObject:
  810|  54.4k|{
  811|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  812|  54.4k|}
PyErr_SetFromErrnoWithFilenameObjects:
  816|  54.4k|{
  817|  54.4k|    PyThreadState *tstate = _PyThreadState_GET();
  818|  54.4k|    PyObject *message;
  819|  54.4k|    PyObject *v, *args;
  820|  54.4k|    int i = errno;
  821|       |#ifdef MS_WINDOWS
  822|       |    WCHAR *s_buf = NULL;
  823|       |#endif /* Unix/Windows */
  824|       |
  825|  54.4k|#ifdef EINTR
  826|  54.4k|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (826:9): [True: 0, False: 54.4k]
  |  Branch (826:23): [True: 0, False: 0]
  ------------------
  827|      0|        return NULL;
  828|  54.4k|#endif
  829|       |
  830|  54.4k|#ifndef MS_WINDOWS
  831|  54.4k|    if (i != 0) {
  ------------------
  |  Branch (831:9): [True: 54.4k, False: 0]
  ------------------
  832|  54.4k|        const char *s = strerror(i);
  833|  54.4k|        message = PyUnicode_DecodeLocale(s, "surrogateescape");
  834|  54.4k|    }
  835|      0|    else {
  836|       |        /* Sometimes errno didn't get set */
  837|      0|        message = PyUnicode_FromString("Error");
  838|      0|    }
  839|       |#else
  840|       |    if (i == 0)
  841|       |        message = PyUnicode_FromString("Error"); /* Sometimes errno didn't get set */
  842|       |    else
  843|       |    {
  844|       |        /* Note that the Win32 errors do not lineup with the
  845|       |           errno error.  So if the error is in the MSVC error
  846|       |           table, we use it, otherwise we assume it really _is_
  847|       |           a Win32 error code
  848|       |        */
  849|       |        if (i > 0 && i < _sys_nerr) {
  850|       |            message = PyUnicode_FromString(_sys_errlist[i]);
  851|       |        }
  852|       |        else {
  853|       |            int len = FormatMessageW(
  854|       |                FORMAT_MESSAGE_ALLOCATE_BUFFER |
  855|       |                FORMAT_MESSAGE_FROM_SYSTEM |
  856|       |                FORMAT_MESSAGE_IGNORE_INSERTS,
  857|       |                NULL,                   /* no message source */
  858|       |                i,
  859|       |                MAKELANGID(LANG_NEUTRAL,
  860|       |                           SUBLANG_DEFAULT),
  861|       |                           /* Default language */
  862|       |                (LPWSTR) &s_buf,
  863|       |                0,                      /* size not used */
  864|       |                NULL);                  /* no args */
  865|       |            if (len==0) {
  866|       |                /* Only ever seen this in out-of-mem
  867|       |                   situations */
  868|       |                s_buf = NULL;
  869|       |                message = PyUnicode_FromFormat("Windows Error 0x%x", i);
  870|       |            } else {
  871|       |                /* remove trailing cr/lf and dots */
  872|       |                while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.'))
  873|       |                    s_buf[--len] = L'\0';
  874|       |                message = PyUnicode_FromWideChar(s_buf, len);
  875|       |            }
  876|       |        }
  877|       |    }
  878|       |#endif /* Unix/Windows */
  879|       |
  880|  54.4k|    if (message == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 54.4k]
  ------------------
  881|      0|    {
  882|       |#ifdef MS_WINDOWS
  883|       |        LocalFree(s_buf);
  884|       |#endif
  885|      0|        return NULL;
  886|      0|    }
  887|       |
  888|  54.4k|    if (filenameObject != NULL) {
  ------------------
  |  Branch (888:9): [True: 54.4k, False: 10]
  ------------------
  889|  54.4k|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (889:13): [True: 0, False: 54.4k]
  ------------------
  890|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  891|  54.4k|        else
  892|  54.4k|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  893|  54.4k|    } else {
  894|     10|        assert(filenameObject2 == NULL);
  895|     10|        args = Py_BuildValue("(iO)", i, message);
  896|     10|    }
  897|  54.4k|    Py_DECREF(message);
  ------------------
  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|  54.4k|    if (args != NULL) {
  ------------------
  |  Branch (899:9): [True: 54.4k, False: 0]
  ------------------
  900|  54.4k|        v = PyObject_Call(exc, args, NULL);
  901|  54.4k|        Py_DECREF(args);
  ------------------
  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|  54.4k|        if (v != NULL) {
  ------------------
  |  Branch (902:13): [True: 54.4k, False: 0]
  ------------------
  903|  54.4k|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  213|  54.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|  54.4k|            Py_DECREF(v);
  ------------------
  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  905|  54.4k|        }
  906|  54.4k|    }
  907|       |#ifdef MS_WINDOWS
  908|       |    LocalFree(s_buf);
  909|       |#endif
  910|       |    return NULL;
  911|  54.4k|}
PyErr_SetFromErrno:
  932|     10|{
  933|     10|    return PyErr_SetFromErrnoWithFilenameObjects(exc, NULL, NULL);
  934|     10|}
PyErr_SetImportErrorSubclass:
 1146|      2|{
 1147|       |    return _PyErr_SetImportErrorSubclassWithNameFrom(exception, msg, name, path, NULL);
 1148|      2|}
_PyErr_SetImportErrorWithNameFrom:
 1152|      2|{
 1153|      2|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1154|      2|}
PyErr_SetImportError:
 1158|      2|{
 1159|      2|    return PyErr_SetImportErrorSubclass(PyExc_ImportError, msg, name, path);
 1160|      2|}
_PyErr_FormatV:
 1211|  1.28M|{
 1212|  1.28M|    PyObject* string;
 1213|       |
 1214|       |    /* Issue #23571: PyUnicode_FromFormatV() must not be called with an
 1215|       |       exception set, it calls arbitrary Python code like PyObject_Repr() */
 1216|  1.28M|    _PyErr_Clear(tstate);
 1217|       |
 1218|  1.28M|    string = PyUnicode_FromFormatV(format, vargs);
 1219|  1.28M|    if (string != NULL) {
  ------------------
  |  Branch (1219:9): [True: 1.28M, False: 0]
  ------------------
 1220|  1.28M|        _PyErr_SetObject(tstate, exception, string);
 1221|  1.28M|        Py_DECREF(string);
  ------------------
  |  |  430|  1.28M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|  1.28M|    }
 1223|       |    return NULL;
 1224|  1.28M|}
_PyErr_Format:
 1238|      2|{
 1239|      2|    va_list vargs;
 1240|      2|    va_start(vargs, format);
 1241|      2|    _PyErr_FormatV(tstate, exception, format, vargs);
 1242|      2|    va_end(vargs);
 1243|       |    return NULL;
 1244|      2|}
PyErr_Format:
 1249|  1.28M|{
 1250|  1.28M|    PyThreadState *tstate = _PyThreadState_GET();
 1251|  1.28M|    va_list vargs;
 1252|  1.28M|    va_start(vargs, format);
 1253|  1.28M|    _PyErr_FormatV(tstate, exception, format, vargs);
 1254|  1.28M|    va_end(vargs);
 1255|       |    return NULL;
 1256|  1.28M|}
PyErr_NewException:
 1288|     38|{
 1289|     38|    PyThreadState *tstate = _PyThreadState_GET();
 1290|     38|    PyObject *modulename = NULL;
 1291|     38|    PyObject *mydict = NULL;
 1292|     38|    PyObject *bases = NULL;
 1293|     38|    PyObject *result = NULL;
 1294|       |
 1295|     38|    const char *dot = strrchr(name, '.');
 1296|     38|    if (dot == NULL) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 38]
  ------------------
 1297|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1298|      0|                         "PyErr_NewException: name must be module.class");
 1299|      0|        return NULL;
 1300|      0|    }
 1301|     38|    if (base == NULL) {
  ------------------
  |  Branch (1301:9): [True: 12, False: 26]
  ------------------
 1302|     12|        base = PyExc_Exception;
 1303|     12|    }
 1304|     38|    if (dict == NULL) {
  ------------------
  |  Branch (1304:9): [True: 22, False: 16]
  ------------------
 1305|     22|        dict = mydict = PyDict_New();
 1306|     22|        if (dict == NULL)
  ------------------
  |  Branch (1306:13): [True: 0, False: 22]
  ------------------
 1307|      0|            goto failure;
 1308|     22|    }
 1309|       |
 1310|     38|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  919|     38|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     38|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     38|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|     38|    if (r < 0) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 38]
  ------------------
 1312|      0|        goto failure;
 1313|      0|    }
 1314|     38|    if (r == 0) {
  ------------------
  |  Branch (1314:9): [True: 38, False: 0]
  ------------------
 1315|     38|        modulename = PyUnicode_FromStringAndSize(name,
 1316|     38|                                             (Py_ssize_t)(dot-name));
 1317|     38|        if (modulename == NULL)
  ------------------
  |  Branch (1317:13): [True: 0, False: 38]
  ------------------
 1318|      0|            goto failure;
 1319|     38|        if (PyDict_SetItem(dict, &_Py_ID(__module__), modulename) != 0)
  ------------------
  |  |  919|     38|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     38|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     38|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1319:13): [True: 0, False: 38]
  ------------------
 1320|      0|            goto failure;
 1321|     38|    }
 1322|     38|    if (PyTuple_Check(base)) {
  ------------------
  |  |   27|     38|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|      4|        bases = Py_NewRef(base);
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|     34|    } else {
 1325|     34|        bases = PyTuple_Pack(1, base);
 1326|     34|        if (bases == NULL)
  ------------------
  |  Branch (1326:13): [True: 0, False: 34]
  ------------------
 1327|      0|            goto failure;
 1328|     34|    }
 1329|       |    /* Create a real class. */
 1330|     38|    result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
 1331|     38|                                   dot+1, bases, dict);
 1332|     38|  failure:
 1333|     38|    Py_XDECREF(bases);
  ------------------
  |  |  524|     38|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|     38|    Py_XDECREF(mydict);
  ------------------
  |  |  524|     38|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|     38|    Py_XDECREF(modulename);
  ------------------
  |  |  524|     38|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|     38|    return result;
 1337|     38|}
PyErr_NewExceptionWithDoc:
 1344|     16|{
 1345|     16|    int result;
 1346|     16|    PyObject *ret = NULL;
 1347|     16|    PyObject *mydict = NULL; /* points to the dict only if we create it */
 1348|     16|    PyObject *docobj;
 1349|       |
 1350|     16|    if (dict == NULL) {
  ------------------
  |  Branch (1350:9): [True: 16, False: 0]
  ------------------
 1351|     16|        dict = mydict = PyDict_New();
 1352|     16|        if (dict == NULL) {
  ------------------
  |  Branch (1352:13): [True: 0, False: 16]
  ------------------
 1353|      0|            return NULL;
 1354|      0|        }
 1355|     16|    }
 1356|       |
 1357|     16|    if (doc != NULL) {
  ------------------
  |  Branch (1357:9): [True: 16, False: 0]
  ------------------
 1358|     16|        docobj = PyUnicode_FromString(doc);
 1359|     16|        if (docobj == NULL)
  ------------------
  |  Branch (1359:13): [True: 0, False: 16]
  ------------------
 1360|      0|            goto failure;
 1361|     16|        result = PyDict_SetItemString(dict, "__doc__", docobj);
 1362|     16|        Py_DECREF(docobj);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|     16|        if (result < 0)
  ------------------
  |  Branch (1363:13): [True: 0, False: 16]
  ------------------
 1364|      0|            goto failure;
 1365|     16|    }
 1366|       |
 1367|     16|    ret = PyErr_NewException(name, base, dict);
 1368|     16|  failure:
 1369|     16|    Py_XDECREF(mydict);
  ------------------
  |  |  524|     16|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|     16|    return ret;
 1371|     16|}
_PyErr_InitTypes:
 1400|      2|{
 1401|      2|    if (_PyStructSequence_InitBuiltin(interp, &UnraisableHookArgsType,
  ------------------
  |  Branch (1401:9): [True: 0, False: 2]
  ------------------
 1402|      2|                                      &UnraisableHookArgs_desc) < 0)
 1403|      0|    {
 1404|      0|        return _PyStatus_ERR("failed to initialize UnraisableHookArgs type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1405|      0|    }
 1406|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1407|      2|}
_PyErr_ProgramDecodedTextObject:
 2058|  54.1k|{
 2059|  54.1k|    char *found_encoding = NULL;
 2060|  54.1k|    if (filename == NULL || lineno <= 0) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 54.1k]
  |  Branch (2060:29): [True: 0, False: 54.1k]
  ------------------
 2061|      0|        return NULL;
 2062|      0|    }
 2063|       |
 2064|  54.1k|    FILE *fp = Py_fopen(filename, "r" PY_STDIOTEXTMODE);
  ------------------
  |  |    9|  54.1k|#define PY_STDIOTEXTMODE "b"
  ------------------
 2065|  54.1k|    if (fp == NULL) {
  ------------------
  |  Branch (2065:9): [True: 54.1k, False: 0]
  ------------------
 2066|  54.1k|        PyErr_Clear();
 2067|  54.1k|        return NULL;
 2068|  54.1k|    }
 2069|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 0]
  ------------------
 2070|      0|        int fd = fileno(fp);
 2071|      0|        found_encoding = _PyTokenizer_FindEncodingFilename(fd, filename);
 2072|      0|        encoding = found_encoding;
 2073|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (2073:13): [True: 0, False: 0]
  ------------------
 2074|      0|            PyErr_Clear();
 2075|      0|            encoding = "utf-8";
 2076|      0|        }
 2077|       |        /* Reset position */
 2078|      0|        if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
  ------------------
  |  Branch (2078:13): [True: 0, False: 0]
  ------------------
 2079|      0|            fclose(fp);
 2080|      0|            PyMem_Free(found_encoding);
 2081|      0|            return NULL;
 2082|      0|        }
 2083|      0|    }
 2084|      0|    PyObject *res = err_programtext(fp, lineno, encoding);
 2085|      0|    fclose(fp);
 2086|      0|    PyMem_Free(found_encoding);
 2087|      0|    return res;
 2088|      0|}
errors.c:_PyErr_CreateException:
   33|  1.55M|{
   34|  1.55M|    PyObject *exc;
   35|       |
   36|  1.55M|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|  1.55M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (36:9): [True: 383, False: 1.55M]
  |  Branch (36:26): [True: 0, False: 1.55M]
  ------------------
   37|    383|        exc = _PyObject_CallNoArgs(exception_type);
   38|    383|    }
   39|  1.55M|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|  1.55M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 54.1k, False: 1.49M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  54.1k|        exc = PyObject_Call(exception_type, value, NULL);
   41|  54.1k|    }
   42|  1.49M|    else {
   43|  1.49M|        exc = PyObject_CallOneArg(exception_type, value);
   44|  1.49M|    }
   45|       |
   46|  1.55M|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  1.55M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (46:9): [True: 1.55M, False: 0]
  |  Branch (46:24): [True: 0, False: 1.55M]
  ------------------
   47|      0|        PyErr_Format(PyExc_TypeError,
   48|      0|                     "calling %R should have returned an instance of "
   49|      0|                     "BaseException, not %s",
   50|      0|                     exception_type, Py_TYPE(exc)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|      0|        Py_CLEAR(exc);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
   52|      0|    }
   53|       |
   54|  1.55M|    return exc;
   55|  1.55M|}
errors.c:_PyErr_SetImportErrorSubclassWithNameFrom:
 1131|      4|{
 1132|      4|    PyThreadState *tstate = _PyThreadState_GET();
 1133|      4|    PyObject *error = new_importerror(
 1134|      4|                        tstate, exception, msg, name, path, from_name);
 1135|      4|    if (error != NULL) {
  ------------------
  |  Branch (1135:9): [True: 4, False: 0]
  ------------------
 1136|      4|        _PyErr_SetObject(tstate, (PyObject *)Py_TYPE(error), error);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|      4|        Py_DECREF(error);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1138|      4|    }
 1139|       |    return NULL;
 1140|      4|}
errors.c:new_importerror:
 1077|      4|{
 1078|      4|    PyObject *exc = NULL;
 1079|      4|    PyObject *kwargs = NULL;
 1080|       |
 1081|      4|    int issubclass = PyObject_IsSubclass(exctype, PyExc_ImportError);
 1082|      4|    if (issubclass < 0) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 4]
  ------------------
 1083|      0|        return NULL;
 1084|      0|    }
 1085|      4|    else if (!issubclass) {
  ------------------
  |  Branch (1085:14): [True: 0, False: 4]
  ------------------
 1086|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1087|      0|                         "expected a subclass of ImportError");
 1088|      0|        return NULL;
 1089|      0|    }
 1090|       |
 1091|      4|    if (msg == NULL) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 4]
  ------------------
 1092|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1093|      0|                         "expected a message argument");
 1094|      0|        return NULL;
 1095|      0|    }
 1096|       |
 1097|      4|    if (name == NULL) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 4]
  ------------------
 1098|      0|        name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1099|      0|    }
 1100|      4|    if (path == NULL) {
  ------------------
  |  Branch (1100:9): [True: 2, False: 2]
  ------------------
 1101|      2|        path = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1102|      2|    }
 1103|      4|    if (from_name == NULL) {
  ------------------
  |  Branch (1103:9): [True: 2, False: 2]
  ------------------
 1104|      2|        from_name = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1105|      2|    }
 1106|       |
 1107|      4|    kwargs = PyDict_New();
 1108|      4|    if (kwargs == NULL) {
  ------------------
  |  Branch (1108:9): [True: 0, False: 4]
  ------------------
 1109|      0|        return NULL;
 1110|      0|    }
 1111|      4|    if (PyDict_SetItemString(kwargs, "name", name) < 0) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 4]
  ------------------
 1112|      0|        goto finally;
 1113|      0|    }
 1114|      4|    if (PyDict_SetItemString(kwargs, "path", path) < 0) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 4]
  ------------------
 1115|      0|        goto finally;
 1116|      0|    }
 1117|      4|    if (PyDict_SetItemString(kwargs, "name_from", from_name) < 0) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 4]
  ------------------
 1118|      0|        goto finally;
 1119|      0|    }
 1120|      4|    exc = PyObject_VectorcallDict(exctype, &msg, 1, kwargs);
 1121|       |
 1122|      4|finally:
 1123|      4|    Py_DECREF(kwargs);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|      4|    return exc;
 1125|      4|}

_Py_ResetForceASCII:
  325|      4|{
  326|      4|    force_ascii = -1;
  ------------------
  |  |  210|      4|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  327|      4|}
_Py_DecodeLocaleEx:
  600|  54.5k|{
  601|  54.5k|    if (current_locale) {
  ------------------
  |  Branch (601:9): [True: 54.4k, False: 16]
  ------------------
  602|       |#ifdef _Py_FORCE_UTF8_LOCALE
  603|       |        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  604|       |                                errors);
  605|       |#else
  606|  54.4k|        return decode_current_locale(arg, wstr, wlen, reason, errors);
  607|  54.4k|#endif
  608|  54.4k|    }
  609|       |
  610|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  611|       |    return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  612|       |                            errors);
  613|       |#else
  614|     16|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  615|       |#ifdef MS_WINDOWS
  616|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  617|       |#endif
  618|     16|    if (use_utf8) {
  ------------------
  |  Branch (618:9): [True: 16, False: 0]
  ------------------
  619|     16|        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  620|     16|                                errors);
  621|     16|    }
  622|       |
  623|      0|#ifdef USE_FORCE_ASCII
  624|      0|    if (force_ascii == -1) {
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (624:9): [True: 0, False: 0]
  ------------------
  625|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  626|      0|    }
  627|       |
  628|      0|    if (force_ascii) {
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (210:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  629|       |        /* force ASCII encoding to workaround mbstowcs() issue */
  630|      0|        return decode_ascii(arg, wstr, wlen, reason, errors);
  631|      0|    }
  632|      0|#endif
  633|       |
  634|      0|    return decode_current_locale(arg, wstr, wlen, reason, errors);
  635|      0|#endif   /* !_Py_FORCE_UTF8_FS_ENCODING */
  636|      0|}
Py_DecodeLocale:
  660|     14|{
  661|     14|    wchar_t *wstr;
  662|     14|    int res = _Py_DecodeLocaleEx(arg, &wstr, wlen,
  663|     14|                                 NULL, 0,
  664|     14|                                 _Py_ERROR_SURROGATEESCAPE);
  665|     14|    if (res != 0) {
  ------------------
  |  Branch (665:9): [True: 0, False: 14]
  ------------------
  666|      0|        assert(res != -3);
  667|      0|        if (wlen != NULL) {
  ------------------
  |  Branch (667:13): [True: 0, False: 0]
  ------------------
  668|      0|            *wlen = (size_t)res;
  669|      0|        }
  670|      0|        return NULL;
  671|      0|    }
  672|     14|    return wstr;
  673|     14|}
_Py_EncodeLocaleRaw:
  871|     26|{
  872|     26|    return encode_locale(text, error_pos, 1, 0);
  873|     26|}
_Py_fstat_noraise:
 1232|    524|{
 1233|       |#ifdef MS_WINDOWS
 1234|       |    BY_HANDLE_FILE_INFORMATION info;
 1235|       |    FILE_BASIC_INFO basicInfo;
 1236|       |    FILE_ID_INFO idInfo;
 1237|       |    FILE_ID_INFO *pIdInfo = &idInfo;
 1238|       |    HANDLE h;
 1239|       |    int type;
 1240|       |
 1241|       |    h = _Py_get_osfhandle_noraise(fd);
 1242|       |
 1243|       |    if (h == INVALID_HANDLE_VALUE) {
 1244|       |        /* errno is already set by _get_osfhandle, but we also set
 1245|       |           the Win32 error for callers who expect that */
 1246|       |        SetLastError(ERROR_INVALID_HANDLE);
 1247|       |        return -1;
 1248|       |    }
 1249|       |    memset(status, 0, sizeof(*status));
 1250|       |
 1251|       |    type = GetFileType(h);
 1252|       |    if (type == FILE_TYPE_UNKNOWN) {
 1253|       |        DWORD error = GetLastError();
 1254|       |        if (error != 0) {
 1255|       |            errno = winerror_to_errno(error);
 1256|       |            return -1;
 1257|       |        }
 1258|       |        /* else: valid but unknown file */
 1259|       |    }
 1260|       |
 1261|       |    if (type != FILE_TYPE_DISK) {
 1262|       |        if (type == FILE_TYPE_CHAR)
 1263|       |            status->st_mode = _S_IFCHR;
 1264|       |        else if (type == FILE_TYPE_PIPE)
 1265|       |            status->st_mode = _S_IFIFO;
 1266|       |        return 0;
 1267|       |    }
 1268|       |
 1269|       |    if (!GetFileInformationByHandle(h, &info) ||
 1270|       |        !GetFileInformationByHandleEx(h, FileBasicInfo, &basicInfo, sizeof(basicInfo))) {
 1271|       |        /* The Win32 error is already set, but we also set errno for
 1272|       |           callers who expect it */
 1273|       |        errno = winerror_to_errno(GetLastError());
 1274|       |        return -1;
 1275|       |    }
 1276|       |
 1277|       |    if (!GetFileInformationByHandleEx(h, FileIdInfo, &idInfo, sizeof(idInfo))) {
 1278|       |        /* Failed to get FileIdInfo, so do not pass it along */
 1279|       |        pIdInfo = NULL;
 1280|       |    }
 1281|       |
 1282|       |    _Py_attribute_data_to_stat(&info, 0, &basicInfo, pIdInfo, status);
 1283|       |    return 0;
 1284|       |#else
 1285|    524|    return fstat(fd, status);
 1286|    524|#endif
 1287|    524|}
_Py_wstat:
 1329|     12|{
 1330|     12|    int err;
 1331|       |#ifdef MS_WINDOWS
 1332|       |    struct _stat wstatbuf;
 1333|       |    err = _wstat(path, &wstatbuf);
 1334|       |    if (!err) {
 1335|       |        buf->st_mode = wstatbuf.st_mode;
 1336|       |    }
 1337|       |#else
 1338|     12|    char *fname;
 1339|     12|    fname = _Py_EncodeLocaleRaw(path, NULL);
 1340|     12|    if (fname == NULL) {
  ------------------
  |  Branch (1340:9): [True: 0, False: 12]
  ------------------
 1341|      0|        errno = EINVAL;
 1342|      0|        return -1;
 1343|      0|    }
 1344|     12|    err = stat(fname, buf);
 1345|     12|    PyMem_RawFree(fname);
 1346|     12|#endif
 1347|     12|    return err;
 1348|     12|}
_Py_set_inheritable:
 1601|    518|{
 1602|    518|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1603|    518|}
_Py_wfopen:
 1713|     10|{
 1714|     10|    FILE *f;
 1715|     10|    if (PySys_Audit("open", "uui", path, mode, 0) < 0) {
  ------------------
  |  Branch (1715:9): [True: 0, False: 10]
  ------------------
 1716|      0|        return NULL;
 1717|      0|    }
 1718|     10|#ifndef MS_WINDOWS
 1719|     10|    char *cpath;
 1720|     10|    char cmode[10];
 1721|     10|    size_t r;
 1722|     10|    r = wcstombs(cmode, mode, 10);
 1723|     10|    if (r == DECODE_ERROR || r >= 10) {
  ------------------
  |  Branch (1723:9): [True: 0, False: 10]
  |  Branch (1723:30): [True: 0, False: 10]
  ------------------
 1724|      0|        errno = EINVAL;
 1725|      0|        return NULL;
 1726|      0|    }
 1727|     10|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 1728|     10|    if (cpath == NULL) {
  ------------------
  |  Branch (1728:9): [True: 0, False: 10]
  ------------------
 1729|      0|        return NULL;
 1730|      0|    }
 1731|     10|    f = fopen(cpath, cmode);
 1732|     10|    PyMem_RawFree(cpath);
 1733|       |#else
 1734|       |    f = _wfopen(path, mode);
 1735|       |#endif
 1736|     10|    if (f == NULL)
  ------------------
  |  Branch (1736:9): [True: 10, False: 0]
  ------------------
 1737|     10|        return NULL;
 1738|      0|    if (make_non_inheritable(fileno(f)) < 0) {
  ------------------
  |  Branch (1738:9): [True: 0, False: 0]
  ------------------
 1739|      0|        fclose(f);
 1740|      0|        return NULL;
 1741|      0|    }
 1742|      0|    return f;
 1743|      0|}
Py_fopen:
 1763|  54.1k|{
 1764|  54.1k|    _Py_AssertHoldsTstate();
 1765|       |
 1766|  54.1k|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 54.1k]
  ------------------
 1767|      0|        return NULL;
 1768|      0|    }
 1769|       |
 1770|  54.1k|    FILE *f;
 1771|  54.1k|    int async_err = 0;
 1772|  54.1k|    int saved_errno;
 1773|       |#ifdef MS_WINDOWS
 1774|       |    PyObject *unicode;
 1775|       |    if (!PyUnicode_FSDecoder(path, &unicode)) {
 1776|       |        return NULL;
 1777|       |    }
 1778|       |
 1779|       |    wchar_t *wpath = PyUnicode_AsWideCharString(unicode, NULL);
 1780|       |    Py_DECREF(unicode);
 1781|       |    if (wpath == NULL) {
 1782|       |        return NULL;
 1783|       |    }
 1784|       |
 1785|       |    wchar_t wmode[10];
 1786|       |    int usize = MultiByteToWideChar(CP_ACP, 0, mode, -1,
 1787|       |                                    wmode, Py_ARRAY_LENGTH(wmode));
 1788|       |    if (usize == 0) {
 1789|       |        PyErr_SetFromWindowsErr(0);
 1790|       |        PyMem_Free(wpath);
 1791|       |        return NULL;
 1792|       |    }
 1793|       |
 1794|       |    do {
 1795|       |        Py_BEGIN_ALLOW_THREADS
 1796|       |        _Py_BEGIN_SUPPRESS_IPH
 1797|       |        f = _wfopen(wpath, wmode);
 1798|       |        _Py_END_SUPPRESS_IPH
 1799|       |        Py_END_ALLOW_THREADS
 1800|       |    } while (f == NULL
 1801|       |             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
 1802|       |    saved_errno = errno;
 1803|       |    PyMem_Free(wpath);
 1804|       |#else
 1805|  54.1k|    PyObject *bytes;
 1806|  54.1k|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1806:9): [True: 0, False: 54.1k]
  ------------------
 1807|      0|        return NULL;
 1808|      0|    }
 1809|  54.1k|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  54.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|       |
 1811|  54.1k|    do {
 1812|  54.1k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  54.1k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  54.1k|                        PyThreadState *_save; \
  |  |  121|  54.1k|                        _save = PyEval_SaveThread();
  ------------------
 1813|  54.1k|        f = fopen(path_bytes, mode);
 1814|  54.1k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  54.1k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  54.1k|                 }
  ------------------
 1815|  54.1k|    } while (f == NULL
  ------------------
  |  Branch (1815:14): [True: 54.1k, False: 0]
  ------------------
 1816|  54.1k|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1816:17): [True: 0, False: 54.1k]
  |  Branch (1816:35): [True: 0, False: 0]
  ------------------
 1817|  54.1k|    saved_errno = errno;
 1818|  54.1k|    Py_DECREF(bytes);
  ------------------
  |  |  430|  54.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|  54.1k|#endif
 1820|       |
 1821|  54.1k|    if (async_err) {
  ------------------
  |  Branch (1821:9): [True: 0, False: 54.1k]
  ------------------
 1822|      0|        return NULL;
 1823|      0|    }
 1824|       |
 1825|  54.1k|    if (f == NULL) {
  ------------------
  |  Branch (1825:9): [True: 54.1k, False: 0]
  ------------------
 1826|  54.1k|        errno = saved_errno;
 1827|  54.1k|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1828|  54.1k|        return NULL;
 1829|  54.1k|    }
 1830|       |
 1831|      0|    if (set_inheritable(fileno(f), 0, 1, NULL) < 0) {
  ------------------
  |  Branch (1831:9): [True: 0, False: 0]
  ------------------
 1832|      0|        fclose(f);
 1833|      0|        return NULL;
 1834|      0|    }
 1835|      0|    return f;
 1836|      0|}
_Py_read:
 1866|  1.03k|{
 1867|  1.03k|    Py_ssize_t n;
 1868|  1.03k|    int err;
 1869|  1.03k|    int async_err = 0;
 1870|       |
 1871|  1.03k|    _Py_AssertHoldsTstate();
 1872|       |
 1873|       |    /* _Py_read() must not be called with an exception set, otherwise the
 1874|       |     * caller may think that read() was interrupted by a signal and the signal
 1875|       |     * handler raised an exception. */
 1876|  1.03k|    assert(!PyErr_Occurred());
 1877|       |
 1878|  1.03k|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   59|  1.03k|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|  1.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1878:9): [True: 0, False: 1.03k]
  ------------------
 1879|      0|        count = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1880|      0|    }
 1881|       |
 1882|  1.03k|    _Py_BEGIN_SUPPRESS_IPH
 1883|  1.03k|    do {
 1884|  1.03k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  1.03k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  1.03k|                        PyThreadState *_save; \
  |  |  121|  1.03k|                        _save = PyEval_SaveThread();
  ------------------
 1885|  1.03k|        errno = 0;
 1886|       |#ifdef MS_WINDOWS
 1887|       |        _doserrno = 0;
 1888|       |        n = read(fd, buf, (int)count);
 1889|       |        // read() on a non-blocking empty pipe fails with EINVAL, which is
 1890|       |        // mapped from the Windows error code ERROR_NO_DATA.
 1891|       |        if (n < 0 && errno == EINVAL) {
 1892|       |            if (_doserrno == ERROR_NO_DATA) {
 1893|       |                errno = EAGAIN;
 1894|       |            }
 1895|       |        }
 1896|       |#else
 1897|  1.03k|        n = read(fd, buf, count);
 1898|  1.03k|#endif
 1899|       |        /* save/restore errno because PyErr_CheckSignals()
 1900|       |         * and PyErr_SetFromErrno() can modify it */
 1901|  1.03k|        err = errno;
 1902|  1.03k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  1.03k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  1.03k|                 }
  ------------------
 1903|  1.03k|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1903:14): [True: 0, False: 1.03k]
  |  Branch (1903:23): [True: 0, False: 0]
  ------------------
 1904|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1904:13): [True: 0, False: 0]
  ------------------
 1905|  1.03k|    _Py_END_SUPPRESS_IPH
 1906|       |
 1907|  1.03k|    if (async_err) {
  ------------------
  |  Branch (1907:9): [True: 0, False: 1.03k]
  ------------------
 1908|       |        /* read() was interrupted by a signal (failed with EINTR)
 1909|       |         * and the Python signal handler raised an exception */
 1910|      0|        errno = err;
 1911|      0|        assert(errno == EINTR && PyErr_Occurred());
 1912|      0|        return -1;
 1913|      0|    }
 1914|  1.03k|    if (n < 0) {
  ------------------
  |  Branch (1914:9): [True: 0, False: 1.03k]
  ------------------
 1915|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1916|      0|        errno = err;
 1917|      0|        return -1;
 1918|      0|    }
 1919|       |
 1920|  1.03k|    return n;
 1921|  1.03k|}
_Py_write:
 2036|      2|{
 2037|      2|    _Py_AssertHoldsTstate();
 2038|       |
 2039|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2040|       |     * caller may think that write() was interrupted by a signal and the signal
 2041|       |     * handler raised an exception. */
 2042|      2|    assert(!PyErr_Occurred());
 2043|       |
 2044|      2|    return _Py_write_impl(fd, buf, count, 1);
 2045|      2|}
_Py_wreadlink:
 2069|      4|{
 2070|      4|    char *cpath;
 2071|      4|    char cbuf[MAXPATHLEN];
 2072|      4|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  196|      4|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2073|      4|    wchar_t *wbuf;
 2074|      4|    Py_ssize_t res;
 2075|      4|    size_t r1;
 2076|       |
 2077|      4|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2078|      4|    if (cpath == NULL) {
  ------------------
  |  Branch (2078:9): [True: 0, False: 4]
  ------------------
 2079|      0|        errno = EINVAL;
 2080|      0|        return -1;
 2081|      0|    }
 2082|      4|    res = readlink(cpath, cbuf, cbuf_len);
 2083|      4|    PyMem_RawFree(cpath);
 2084|      4|    if (res == -1) {
  ------------------
  |  Branch (2084:9): [True: 2, False: 2]
  ------------------
 2085|      2|        return -1;
 2086|      2|    }
 2087|      2|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 2]
  ------------------
 2088|      0|        errno = EINVAL;
 2089|      0|        return -1;
 2090|      0|    }
 2091|      2|    cbuf[res] = '\0'; /* buf will be null terminated */
 2092|      2|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2093|      2|    if (wbuf == NULL) {
  ------------------
  |  Branch (2093:9): [True: 0, False: 2]
  ------------------
 2094|      0|        errno = EINVAL;
 2095|      0|        return -1;
 2096|      0|    }
 2097|       |    /* wbuf must have space to store the trailing NUL character */
 2098|      2|    if (buflen <= r1) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 2]
  ------------------
 2099|      0|        PyMem_RawFree(wbuf);
 2100|      0|        errno = EINVAL;
 2101|      0|        return -1;
 2102|      0|    }
 2103|      2|    wcsncpy(buf, wbuf, buflen);
 2104|      2|    PyMem_RawFree(wbuf);
 2105|      2|    return (int)r1;
 2106|      2|}
_Py_isabs:
 2156|     38|{
 2157|       |#ifdef MS_WINDOWS
 2158|       |    const wchar_t *tail;
 2159|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2160|       |    if (FAILED(hr) || path == tail) {
 2161|       |        return 0;
 2162|       |    }
 2163|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2164|       |        // Exclude paths with leading SEP
 2165|       |        return 0;
 2166|       |    }
 2167|       |    if (tail == &path[2] && path[1] == L':') {
 2168|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2169|       |        return 0;
 2170|       |    }
 2171|       |    return 1;
 2172|       |#else
 2173|     38|    return (path[0] == SEP);
  ------------------
  |  |   29|     38|#  define SEP L'/'
  ------------------
 2174|     38|#endif
 2175|     38|}
_Py_skiproot:
 2310|    606|{
 2311|    606|    assert(drvsize);
 2312|    606|    assert(rootsize);
 2313|    606|#ifndef MS_WINDOWS
 2314|    606|#define IS_SEP(x) (*(x) == SEP)
 2315|    606|    *drvsize = 0;
 2316|    606|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2314|    606|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|    606|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2316:9): [True: 2, False: 604]
  ------------------
 2317|       |        // Relative path, e.g.: 'foo'
 2318|      2|        *rootsize = 0;
 2319|      2|    }
 2320|    604|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2314|  1.20k|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|    604|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2314|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2314:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2320:14): [True: 604, False: 0]
  ------------------
 2321|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2322|    604|        *rootsize = 1;
 2323|    604|    }
 2324|      0|    else {
 2325|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2326|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2327|      0|        *rootsize = 2;
 2328|      0|    }
 2329|    606|#undef IS_SEP
 2330|       |#else
 2331|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2332|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2333|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2334|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2335|       |    if (IS_SEP(&path[0])) {
 2336|       |        if (IS_SEP(&path[1])) {
 2337|       |            // Device drives, e.g. \\.\device or \\?\device
 2338|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2339|       |            Py_ssize_t idx;
 2340|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2341|       |                (path[4] == L'U' || path[4] == L'u') &&
 2342|       |                (path[5] == L'N' || path[5] == L'n') &&
 2343|       |                (path[6] == L'C' || path[6] == L'c') &&
 2344|       |                IS_SEP(&path[7]))
 2345|       |            {
 2346|       |                idx = 8;
 2347|       |            }
 2348|       |            else {
 2349|       |                idx = 2;
 2350|       |            }
 2351|       |            while (!SEP_OR_END(&path[idx])) {
 2352|       |                idx++;
 2353|       |            }
 2354|       |            if (IS_END(&path[idx])) {
 2355|       |                *drvsize = idx;
 2356|       |                *rootsize = 0;
 2357|       |            }
 2358|       |            else {
 2359|       |                idx++;
 2360|       |                while (!SEP_OR_END(&path[idx])) {
 2361|       |                    idx++;
 2362|       |                }
 2363|       |                *drvsize = idx;
 2364|       |                if (IS_END(&path[idx])) {
 2365|       |                    *rootsize = 0;
 2366|       |                }
 2367|       |                else {
 2368|       |                    *rootsize = 1;
 2369|       |                }
 2370|       |            }
 2371|       |        }
 2372|       |        else {
 2373|       |            // Relative path with root, e.g. \Windows
 2374|       |            *drvsize = 0;
 2375|       |            *rootsize = 1;
 2376|       |        }
 2377|       |    }
 2378|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2379|       |        *drvsize = 2;
 2380|       |        if (IS_SEP(&path[2])) {
 2381|       |            // Absolute drive-letter path, e.g. X:\Windows
 2382|       |            *rootsize = 1;
 2383|       |        }
 2384|       |        else {
 2385|       |            // Relative path with drive, e.g. X:Windows
 2386|       |            *rootsize = 0;
 2387|       |        }
 2388|       |    }
 2389|       |    else {
 2390|       |        // Relative path, e.g. Windows
 2391|       |        *drvsize = 0;
 2392|       |        *rootsize = 0;
 2393|       |    }
 2394|       |#undef SEP_OR_END
 2395|       |#undef IS_SEP
 2396|       |#undef IS_END
 2397|       |#endif
 2398|    606|}
_Py_add_relfile:
 2470|     18|{
 2471|     18|    assert(dirname != NULL && relfile != NULL);
 2472|       |    assert(bufsize > 0);
 2473|     18|    return join_relfile(dirname, bufsize, dirname, relfile);
 2474|     18|}
_Py_normpath_and_size:
 2496|    140|{
 2497|    140|    assert(path != NULL);
 2498|    140|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2498:10): [True: 18, False: 122]
  |  Branch (2498:22): [True: 0, False: 18]
  |  Branch (2498:35): [True: 0, False: 140]
  ------------------
 2499|      0|        *normsize = 0;
 2500|      0|        return path;
 2501|      0|    }
 2502|    140|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2502:21): [True: 122, False: 18]
  ------------------
 2503|    140|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2504|    140|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2505|    140|    wchar_t *minP2 = path;  // the beginning of the destination range
 2506|    140|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2507|       |
 2508|    140|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2509|       |#ifdef ALTSEP
 2510|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2511|       |#else
 2512|    140|#define IS_SEP(x) (*(x) == SEP)
 2513|    140|#endif
 2514|    140|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2515|       |
 2516|    140|    Py_ssize_t drvsize, rootsize;
 2517|    140|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2518|    140|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2518:9): [True: 0, False: 140]
  |  Branch (2518:20): [True: 138, False: 2]
  ------------------
 2519|       |        // Skip past root and update minP2
 2520|    138|        p1 = &path[drvsize + rootsize];
 2521|    138|#ifndef ALTSEP
 2522|    138|        p2 = p1;
 2523|       |#else
 2524|       |        for (; p2 < p1; ++p2) {
 2525|       |            if (*p2 == ALTSEP) {
 2526|       |                *p2 = SEP;
 2527|       |            }
 2528|       |        }
 2529|       |#endif
 2530|    138|        minP2 = p2 - 1;
 2531|    138|        lastC = *minP2;
 2532|       |#ifdef MS_WINDOWS
 2533|       |        if (lastC != SEP) {
 2534|       |            minP2++;
 2535|       |        }
 2536|       |#endif
 2537|    138|    }
 2538|    140|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2514|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2512|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2512:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2508|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2508:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2508:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2538:9): [True: 0, False: 140]
  ------------------
 2539|       |        // Skip leading '.\'
 2540|      0|        lastC = *++p1;
 2541|       |#ifdef ALTSEP
 2542|       |        if (lastC == ALTSEP) {
 2543|       |            lastC = SEP;
 2544|       |        }
 2545|       |#endif
 2546|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2512|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2512:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2547|      0|            p1++;
 2548|      0|        }
 2549|      0|    }
 2550|       |
 2551|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2552|  8.90k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2508|  8.90k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2508:20): [True: 8.13k, False: 764]
  |  |  ------------------
  ------------------
  |  Branch (2552:12): [True: 8.76k, False: 140]
  ------------------
 2553|  8.76k|        wchar_t c = *p1;
 2554|       |#ifdef ALTSEP
 2555|       |        if (c == ALTSEP) {
 2556|       |            c = SEP;
 2557|       |        }
 2558|       |#endif
 2559|  8.76k|        if (lastC == SEP) {
  ------------------
  |  |   29|  8.76k|#  define SEP L'/'
  ------------------
  |  Branch (2559:13): [True: 740, False: 8.02k]
  ------------------
 2560|    740|            if (c == L'.') {
  ------------------
  |  Branch (2560:17): [True: 2, False: 738]
  ------------------
 2561|      2|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2514|      2|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2512|      4|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      2|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2512:19): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2508|      2|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2508:19): [True: 0, False: 2]
  |  |  |  |  |  Branch (2508:20): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2562|      2|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2514|      2|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2512|      4|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      2|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2512:19): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2508|      2|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2508:19): [True: 0, False: 2]
  |  |  |  |  |  Branch (2508:20): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2562:32): [True: 2, False: 0]
  ------------------
 2563|      2|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2563:21): [True: 0, False: 2]
  |  Branch (2563:33): [True: 0, False: 0]
  ------------------
 2564|      0|                    wchar_t *p3 = p2;
 2565|      0|                    while (p3 != minP2 && *--p3 == SEP) { }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2565:28): [True: 0, False: 0]
  |  Branch (2565:43): [True: 0, False: 0]
  ------------------
 2566|      0|                    while (p3 != minP2 && *(p3 - 1) != SEP) { --p3; }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2566:28): [True: 0, False: 0]
  |  Branch (2566:43): [True: 0, False: 0]
  ------------------
 2567|      0|                    if (p2 == minP2
  ------------------
  |  Branch (2567:25): [True: 0, False: 0]
  ------------------
 2568|      0|                        || (p3[0] == L'.' && p3[1] == L'.' && IS_SEP(&p3[2])))
  ------------------
  |  | 2512|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2512:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2568:29): [True: 0, False: 0]
  |  Branch (2568:46): [True: 0, False: 0]
  ------------------
 2569|      0|                    {
 2570|       |                        // Previous segment is also ../, so append instead.
 2571|       |                        // Relative path does not absorb ../ at minP2 as well.
 2572|      0|                        *p2++ = L'.';
 2573|      0|                        *p2++ = L'.';
 2574|      0|                        lastC = L'.';
 2575|      0|                    } else if (p3[0] == SEP) {
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2575:32): [True: 0, False: 0]
  ------------------
 2576|       |                        // Absolute path, so absorb segment
 2577|      0|                        p2 = p3 + 1;
 2578|      0|                    } else {
 2579|      0|                        p2 = p3;
 2580|      0|                    }
 2581|      0|                    p1 += 1;
 2582|      2|                } else if (sep_at_1) {
  ------------------
  |  Branch (2582:28): [True: 0, False: 2]
  ------------------
 2583|      2|                } else {
 2584|      2|                    *p2++ = lastC = c;
 2585|      2|                }
 2586|    738|            } else if (c == SEP) {
  ------------------
  |  |   29|    738|#  define SEP L'/'
  ------------------
  |  Branch (2586:24): [True: 0, False: 738]
  ------------------
 2587|    738|            } else {
 2588|    738|                *p2++ = lastC = c;
 2589|    738|            }
 2590|  8.02k|        } else {
 2591|  8.02k|            *p2++ = lastC = c;
 2592|  8.02k|        }
 2593|  8.76k|    }
 2594|    140|    *p2 = L'\0';
 2595|    140|    if (p2 != minP2) {
  ------------------
  |  Branch (2595:9): [True: 140, False: 0]
  ------------------
 2596|    140|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|    140|#  define SEP L'/'
  ------------------
  |  Branch (2596:16): [True: 140, False: 0]
  |  Branch (2596:33): [True: 0, False: 140]
  ------------------
 2597|      0|            *p2 = L'\0';
 2598|      0|        }
 2599|    140|    } else {
 2600|      0|        --p2;
 2601|      0|    }
 2602|    140|    *normsize = p2 - path + 1;
 2603|    140|#undef SEP_OR_END
 2604|    140|#undef IS_SEP
 2605|    140|#undef IS_END
 2606|    140|    return path;
 2607|    140|}
_Py_normpath:
 2616|     18|{
 2617|     18|    Py_ssize_t norm_length;
 2618|     18|    return _Py_normpath_and_size(path, size, &norm_length);
 2619|     18|}
_Py_GetTicksPerSecond:
 3083|      4|{
 3084|      4|#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
 3085|      4|    long value = sysconf(_SC_CLK_TCK);
 3086|      4|    if (value < 1) {
  ------------------
  |  Branch (3086:9): [True: 0, False: 4]
  ------------------
 3087|      0|        return -1;
 3088|      0|    }
 3089|      4|    *ticks_per_second = value;
 3090|       |#elif defined(HZ)
 3091|       |    assert(HZ >= 1);
 3092|       |    *ticks_per_second = HZ;
 3093|       |#else
 3094|       |    // Magic fallback value; may be bogus
 3095|       |    *ticks_per_second = 60;
 3096|       |#endif
 3097|      4|    return 0;
 3098|      4|}
_Py_IsValidFD:
 3106|      6|{
 3107|       |/* dup() is faster than fstat(): fstat() can require input/output operations,
 3108|       |   whereas dup() doesn't. There is a low risk of EMFILE/ENFILE at Python
 3109|       |   startup. Problem: dup() doesn't check if the file descriptor is valid on
 3110|       |   some platforms.
 3111|       |
 3112|       |   fcntl(fd, F_GETFD) is even faster, because it only checks the process table.
 3113|       |   It is preferred over dup() when available, since it cannot fail with the
 3114|       |   "too many open files" error (EMFILE).
 3115|       |
 3116|       |   bpo-30225: On macOS Tiger, when stdout is redirected to a pipe and the other
 3117|       |   side of the pipe is closed, dup(1) succeed, whereas fstat(1, &st) fails with
 3118|       |   EBADF. FreeBSD has similar issue (bpo-32849).
 3119|       |
 3120|       |   Only use dup() on Linux where dup() is enough to detect invalid FD
 3121|       |   (bpo-32849).
 3122|       |*/
 3123|      6|    if (fd < 0) {
  ------------------
  |  Branch (3123:9): [True: 0, False: 6]
  ------------------
 3124|      0|        return 0;
 3125|      0|    }
 3126|      6|#if defined(F_GETFD) && ( \
 3127|      6|        defined(__linux__) || \
 3128|      6|        defined(__APPLE__) || \
 3129|      6|        (defined(__wasm__) && !defined(__wasi__)))
 3130|      6|    return fcntl(fd, F_GETFD) >= 0;
 3131|       |#elif defined(__linux__)
 3132|       |    int fd2 = dup(fd);
 3133|       |    if (fd2 >= 0) {
 3134|       |        close(fd2);
 3135|       |    }
 3136|       |    return (fd2 >= 0);
 3137|       |#elif defined(MS_WINDOWS)
 3138|       |    HANDLE hfile;
 3139|       |    _Py_BEGIN_SUPPRESS_IPH
 3140|       |    hfile = (HANDLE)_get_osfhandle(fd);
 3141|       |    _Py_END_SUPPRESS_IPH
 3142|       |    return (hfile != INVALID_HANDLE_VALUE
 3143|       |            && GetFileType(hfile) != FILE_TYPE_UNKNOWN);
 3144|       |#else
 3145|       |    struct stat st;
 3146|       |    return (fstat(fd, &st) == 0);
 3147|       |#endif
 3148|      6|}
fileutils.c:_Py_mbstowcs:
  147|   108k|{
  148|   108k|    size_t count = mbstowcs(dest, src, n);
  149|   108k|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (149:9): [True: 54.4k, False: 54.4k]
  |  Branch (149:25): [True: 54.4k, False: 0]
  ------------------
  150|  1.41M|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (150:26): [True: 1.36M, False: 54.4k]
  ------------------
  151|  1.36M|            wchar_t ch = dest[i];
  152|  1.36M|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (152:17): [True: 0, False: 1.36M]
  ------------------
  153|      0|                return DECODE_ERROR;
  154|      0|            }
  155|  1.36M|        }
  156|  54.4k|    }
  157|   108k|    return count;
  158|   108k|}
fileutils.c:is_valid_wide_char:
  121|  1.36M|{
  122|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
  123|       |    /* Oracle Solaris doesn't use Unicode code points as wchar_t encoding
  124|       |       for non-Unicode locales, which makes values higher than _Py_MAX_UNICODE
  125|       |       possibly valid. */
  126|       |    return 1;
  127|       |#endif
  128|  1.36M|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (128:9): [True: 0, False: 1.36M]
  ------------------
  129|       |        // Reject lone surrogate characters
  130|      0|        return 0;
  131|      0|    }
  132|  1.36M|#if SIZEOF_WCHAR_T > 2
  133|  1.36M|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|  1.36M|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (133:9): [True: 0, False: 1.36M]
  ------------------
  134|       |        // bpo-35883: Reject characters outside [U+0000; U+10ffff] range.
  135|       |        // The glibc mbstowcs() UTF-8 decoder does not respect the RFC 3629,
  136|       |        // it creates characters outside the [U+0000; U+10ffff] range:
  137|       |        // https://sourceware.org/bugzilla/show_bug.cgi?id=2373
  138|      0|        return 0;
  139|      0|    }
  140|  1.36M|#endif
  141|  1.36M|    return 1;
  142|  1.36M|}
fileutils.c:decode_current_locale:
  460|  54.4k|{
  461|  54.4k|    wchar_t *res;
  462|  54.4k|    size_t argsize;
  463|  54.4k|    size_t count;
  464|  54.4k|#ifdef HAVE_MBRTOWC
  465|  54.4k|    unsigned char *in;
  466|  54.4k|    wchar_t *out;
  467|  54.4k|    mbstate_t mbs;
  468|  54.4k|#endif
  469|       |
  470|  54.4k|    int surrogateescape;
  471|  54.4k|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (471:9): [True: 0, False: 54.4k]
  ------------------
  472|      0|        return -3;
  473|      0|    }
  474|       |
  475|       |#ifdef HAVE_BROKEN_MBSTOWCS
  476|       |    /* Some platforms have a broken implementation of
  477|       |     * mbstowcs which does not count the characters that
  478|       |     * would result from conversion.  Use an upper bound.
  479|       |     */
  480|       |    argsize = strlen(arg);
  481|       |#else
  482|  54.4k|    argsize = _Py_mbstowcs(NULL, arg, 0);
  483|  54.4k|#endif
  484|  54.4k|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (484:9): [True: 54.4k, False: 0]
  ------------------
  485|  54.4k|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|  54.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (485:13): [True: 0, False: 54.4k]
  ------------------
  486|      0|            return -1;
  487|      0|        }
  488|  54.4k|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  489|  54.4k|        if (!res) {
  ------------------
  |  Branch (489:13): [True: 0, False: 54.4k]
  ------------------
  490|      0|            return -1;
  491|      0|        }
  492|       |
  493|  54.4k|        count = _Py_mbstowcs(res, arg, argsize + 1);
  494|  54.4k|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (494:13): [True: 54.4k, False: 0]
  ------------------
  495|  54.4k|            *wstr = res;
  496|  54.4k|            if (wlen != NULL) {
  ------------------
  |  Branch (496:17): [True: 54.4k, False: 0]
  ------------------
  497|  54.4k|                *wlen = count;
  498|  54.4k|            }
  499|  54.4k|            return 0;
  500|  54.4k|        }
  501|      0|        PyMem_RawFree(res);
  502|      0|    }
  503|       |
  504|       |    /* Conversion failed. Fall back to escaping with surrogateescape. */
  505|      0|#ifdef HAVE_MBRTOWC
  506|       |    /* Try conversion with mbrtwoc (C99), and escape non-decodable bytes. */
  507|       |
  508|       |    /* Overallocate; as multi-byte characters are in the argument, the
  509|       |       actual output could use less memory. */
  510|      0|    argsize = strlen(arg) + 1;
  511|      0|    if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (511:9): [True: 0, False: 0]
  ------------------
  512|      0|        return -1;
  513|      0|    }
  514|      0|    res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t));
  515|      0|    if (!res) {
  ------------------
  |  Branch (515:9): [True: 0, False: 0]
  ------------------
  516|      0|        return -1;
  517|      0|    }
  518|       |
  519|      0|    in = (unsigned char*)arg;
  520|      0|    out = res;
  521|      0|    memset(&mbs, 0, sizeof mbs);
  522|      0|    while (argsize) {
  ------------------
  |  Branch (522:12): [True: 0, False: 0]
  ------------------
  523|      0|        size_t converted = _Py_mbrtowc(out, (char*)in, argsize, &mbs);
  524|      0|        if (converted == 0) {
  ------------------
  |  Branch (524:13): [True: 0, False: 0]
  ------------------
  525|       |            /* Reached end of string; null char stored. */
  526|      0|            break;
  527|      0|        }
  528|       |
  529|      0|        if (converted == DECODE_ERROR || converted == INCOMPLETE_CHARACTER) {
  ------------------
  |  Branch (529:13): [True: 0, False: 0]
  |  Branch (529:42): [True: 0, False: 0]
  ------------------
  530|      0|            if (!surrogateescape) {
  ------------------
  |  Branch (530:17): [True: 0, False: 0]
  ------------------
  531|      0|                goto decode_error;
  532|      0|            }
  533|       |
  534|       |            /* Decoding error. Escape as UTF-8b, and start over in the initial
  535|       |               shift state. */
  536|      0|            *out++ = 0xdc00 + *in++;
  537|      0|            argsize--;
  538|      0|            memset(&mbs, 0, sizeof mbs);
  539|      0|            continue;
  540|      0|        }
  541|       |
  542|       |        // _Py_mbrtowc() reject lone surrogate characters
  543|      0|        assert(!Py_UNICODE_IS_SURROGATE(*out));
  544|       |
  545|       |        /* successfully converted some bytes */
  546|      0|        in += converted;
  547|      0|        argsize -= converted;
  548|      0|        out++;
  549|      0|    }
  550|      0|    if (wlen != NULL) {
  ------------------
  |  Branch (550:9): [True: 0, False: 0]
  ------------------
  551|      0|        *wlen = out - res;
  552|      0|    }
  553|      0|    *wstr = res;
  554|      0|    return 0;
  555|       |
  556|      0|decode_error:
  557|      0|    PyMem_RawFree(res);
  558|      0|    if (wlen) {
  ------------------
  |  Branch (558:9): [True: 0, False: 0]
  ------------------
  559|      0|        *wlen = in - (unsigned char*)arg;
  560|      0|    }
  561|      0|    if (reason) {
  ------------------
  |  Branch (561:9): [True: 0, False: 0]
  ------------------
  562|      0|        *reason = "decoding error";
  563|      0|    }
  564|      0|    return -2;
  565|       |#else   /* HAVE_MBRTOWC */
  566|       |    /* Cannot use C locale for escaping; manually escape as if charset
  567|       |       is ASCII (i.e. escape all bytes > 128. This will still roundtrip
  568|       |       correctly in the locale's charset, which must be an ASCII superset. */
  569|       |    return decode_ascii(arg, wstr, wlen, reason, errors);
  570|       |#endif   /* HAVE_MBRTOWC */
  571|      0|}
fileutils.c:get_surrogateescape:
   63|  54.4k|{
   64|  54.4k|    switch (errors)
   65|  54.4k|    {
   66|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (66:5): [True: 0, False: 54.4k]
  ------------------
   67|      0|        *surrogateescape = 0;
   68|      0|        return 0;
   69|  54.4k|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (69:5): [True: 54.4k, False: 0]
  ------------------
   70|  54.4k|        *surrogateescape = 1;
   71|  54.4k|        return 0;
   72|      0|    default:
  ------------------
  |  Branch (72:5): [True: 0, False: 54.4k]
  ------------------
   73|      0|        return -1;
   74|  54.4k|    }
   75|  54.4k|}
fileutils.c:encode_locale:
  834|     26|{
  835|     26|    char *str;
  836|     26|    int res = encode_locale_ex(text, &str, error_pos, NULL,
  837|     26|                               raw_malloc, current_locale,
  838|     26|                               _Py_ERROR_SURROGATEESCAPE);
  839|     26|    if (res != -2 && error_pos) {
  ------------------
  |  Branch (839:9): [True: 26, False: 0]
  |  Branch (839:22): [True: 0, False: 26]
  ------------------
  840|      0|        *error_pos = (size_t)-1;
  841|      0|    }
  842|     26|    if (res != 0) {
  ------------------
  |  Branch (842:9): [True: 0, False: 26]
  ------------------
  843|      0|        return NULL;
  844|      0|    }
  845|     26|    return str;
  846|     26|}
fileutils.c:encode_locale_ex:
  791|     26|{
  792|     26|    if (current_locale) {
  ------------------
  |  Branch (792:9): [True: 0, False: 26]
  ------------------
  793|       |#ifdef _Py_FORCE_UTF8_LOCALE
  794|       |        return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  795|       |                                raw_malloc, errors);
  796|       |#else
  797|      0|        return encode_current_locale(text, str, error_pos, reason,
  798|      0|                                     raw_malloc, errors);
  799|      0|#endif
  800|      0|    }
  801|       |
  802|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
  803|       |    return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  804|       |                            raw_malloc, errors);
  805|       |#else
  806|     26|    int use_utf8 = (_PyRuntime.preconfig.utf8_mode >= 1);
  807|       |#ifdef MS_WINDOWS
  808|       |    use_utf8 |= (_PyRuntime.preconfig.legacy_windows_fs_encoding == 0);
  809|       |#endif
  810|     26|    if (use_utf8) {
  ------------------
  |  Branch (810:9): [True: 26, False: 0]
  ------------------
  811|     26|        return _Py_EncodeUTF8Ex(text, str, error_pos, reason,
  812|     26|                                raw_malloc, errors);
  813|     26|    }
  814|       |
  815|      0|#ifdef USE_FORCE_ASCII
  816|      0|    if (force_ascii == -1) {
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  |  Branch (816:9): [True: 0, False: 0]
  ------------------
  817|      0|        force_ascii = check_force_ascii();
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  818|      0|    }
  819|       |
  820|      0|    if (force_ascii) {
  ------------------
  |  |  210|      0|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  |  |  ------------------
  |  |  |  Branch (210:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  821|      0|        return encode_ascii(text, str, error_pos, reason,
  822|      0|                            raw_malloc, errors);
  823|      0|    }
  824|      0|#endif
  825|       |
  826|      0|    return encode_current_locale(text, str, error_pos, reason,
  827|      0|                                 raw_malloc, errors);
  828|      0|#endif   /* _Py_FORCE_UTF8_FS_ENCODING */
  829|      0|}
fileutils.c:get_inheritable:
 1402|      2|{
 1403|       |#ifdef MS_WINDOWS
 1404|       |    HANDLE handle;
 1405|       |    DWORD flags;
 1406|       |
 1407|       |    handle = _Py_get_osfhandle_noraise(fd);
 1408|       |    if (handle == INVALID_HANDLE_VALUE) {
 1409|       |        if (raise)
 1410|       |            PyErr_SetFromErrno(PyExc_OSError);
 1411|       |        return -1;
 1412|       |    }
 1413|       |
 1414|       |    if (!GetHandleInformation(handle, &flags)) {
 1415|       |        if (raise)
 1416|       |            PyErr_SetFromWindowsErr(0);
 1417|       |        return -1;
 1418|       |    }
 1419|       |
 1420|       |    return (flags & HANDLE_FLAG_INHERIT);
 1421|       |#else
 1422|      2|    int flags;
 1423|       |
 1424|      2|    flags = fcntl(fd, F_GETFD, 0);
 1425|      2|    if (flags == -1) {
  ------------------
  |  Branch (1425:9): [True: 0, False: 2]
  ------------------
 1426|      0|        if (raise)
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1428|      0|        return -1;
 1429|      0|    }
 1430|      2|    return !(flags & FD_CLOEXEC);
 1431|      2|#endif
 1432|      2|}
fileutils.c:set_inheritable:
 1447|    518|{
 1448|       |#ifdef MS_WINDOWS
 1449|       |    HANDLE handle;
 1450|       |    DWORD flags;
 1451|       |#else
 1452|    518|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1453|    518|    static int ioctl_works = -1;
 1454|    518|    int request;
 1455|    518|    int err;
 1456|    518|#endif
 1457|    518|    int flags, new_flags;
 1458|    518|    int res;
 1459|    518|#endif
 1460|       |
 1461|       |    /* atomic_flag_works can only be used to make the file descriptor
 1462|       |       non-inheritable */
 1463|    518|    assert(!(atomic_flag_works != NULL && inheritable));
 1464|       |
 1465|    518|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1465:9): [True: 518, False: 0]
  |  Branch (1465:38): [True: 518, False: 0]
  ------------------
 1466|    518|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1466:13): [True: 2, False: 516]
  ------------------
 1467|      2|            int isInheritable = get_inheritable(fd, raise);
 1468|      2|            if (isInheritable == -1)
  ------------------
  |  Branch (1468:17): [True: 0, False: 2]
  ------------------
 1469|      0|                return -1;
 1470|      2|            _Py_atomic_store_int_relaxed(atomic_flag_works, !isInheritable);
 1471|      2|        }
 1472|       |
 1473|    518|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1473:13): [True: 518, False: 0]
  ------------------
 1474|    518|            return 0;
 1475|    518|    }
 1476|       |
 1477|       |#ifdef MS_WINDOWS
 1478|       |    handle = _Py_get_osfhandle_noraise(fd);
 1479|       |    if (handle == INVALID_HANDLE_VALUE) {
 1480|       |        if (raise)
 1481|       |            PyErr_SetFromErrno(PyExc_OSError);
 1482|       |        return -1;
 1483|       |    }
 1484|       |
 1485|       |    if (inheritable)
 1486|       |        flags = HANDLE_FLAG_INHERIT;
 1487|       |    else
 1488|       |        flags = 0;
 1489|       |
 1490|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1491|       |        if (raise)
 1492|       |            PyErr_SetFromWindowsErr(0);
 1493|       |        return -1;
 1494|       |    }
 1495|       |    return 0;
 1496|       |
 1497|       |#else
 1498|       |
 1499|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1500|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1500:9): [True: 0, False: 0]
  |  Branch (1500:23): [True: 0, False: 0]
  ------------------
 1501|       |        /* fast-path: ioctl() only requires one syscall */
 1502|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1503|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1504|      0|        if (inheritable)
  ------------------
  |  Branch (1504:13): [True: 0, False: 0]
  ------------------
 1505|      0|            request = FIONCLEX;
 1506|      0|        else
 1507|      0|            request = FIOCLEX;
 1508|      0|        err = ioctl(fd, request, NULL);
 1509|      0|        if (!err) {
  ------------------
  |  Branch (1509:13): [True: 0, False: 0]
  ------------------
 1510|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1510:17): [True: 0, False: 0]
  ------------------
 1511|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1512|      0|            }
 1513|      0|            return 0;
 1514|      0|        }
 1515|       |
 1516|      0|#ifdef O_PATH
 1517|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1517:13): [True: 0, False: 0]
  ------------------
 1518|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1519|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1520|       |            // implementation.
 1521|      0|        }
 1522|      0|        else
 1523|      0|#endif
 1524|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1524:13): [True: 0, False: 0]
  |  Branch (1524:32): [True: 0, False: 0]
  ------------------
 1525|      0|            if (raise)
  ------------------
  |  Branch (1525:17): [True: 0, False: 0]
  ------------------
 1526|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1527|      0|            return -1;
 1528|      0|        }
 1529|      0|        else {
 1530|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1531|       |               device". The ioctl is declared but not supported by the kernel.
 1532|       |               Remember that ioctl() doesn't work. It is the case on
 1533|       |               Illumos-based OS for example.
 1534|       |
 1535|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1536|       |               with EACCES. While FIOCLEX is safe operation it may be
 1537|       |               unavailable because ioctl was denied altogether.
 1538|       |               This can be the case on Android. */
 1539|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1540|      0|        }
 1541|       |        /* fallback to fcntl() if ioctl() does not work */
 1542|      0|    }
 1543|      0|#endif
 1544|       |
 1545|       |    /* slow-path: fcntl() requires two syscalls */
 1546|      0|    flags = fcntl(fd, F_GETFD);
 1547|      0|    if (flags < 0) {
  ------------------
  |  Branch (1547:9): [True: 0, False: 0]
  ------------------
 1548|      0|        if (raise)
  ------------------
  |  Branch (1548:13): [True: 0, False: 0]
  ------------------
 1549|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1550|      0|        return -1;
 1551|      0|    }
 1552|       |
 1553|      0|    if (inheritable) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 0]
  ------------------
 1554|      0|        new_flags = flags & ~FD_CLOEXEC;
 1555|      0|    }
 1556|      0|    else {
 1557|      0|        new_flags = flags | FD_CLOEXEC;
 1558|      0|    }
 1559|       |
 1560|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1560:9): [True: 0, False: 0]
  ------------------
 1561|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1562|      0|        return 0;
 1563|      0|    }
 1564|       |
 1565|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1566|      0|    if (res < 0) {
  ------------------
  |  Branch (1566:9): [True: 0, False: 0]
  ------------------
 1567|      0|        if (raise)
  ------------------
  |  Branch (1567:13): [True: 0, False: 0]
  ------------------
 1568|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1569|      0|        return -1;
 1570|      0|    }
 1571|      0|    return 0;
 1572|      0|#endif
 1573|      0|}
fileutils.c:_Py_write_impl:
 1925|      2|{
 1926|      2|    Py_ssize_t n;
 1927|      2|    int err;
 1928|      2|    int async_err = 0;
 1929|       |
 1930|      2|    _Py_BEGIN_SUPPRESS_IPH
 1931|       |#ifdef MS_WINDOWS
 1932|       |    if (count > 32767) {
 1933|       |        /* Issue #11395: the Windows console returns an error (12: not
 1934|       |           enough space error) on writing into stdout if stdout mode is
 1935|       |           binary and the length is greater than 66,000 bytes (or less,
 1936|       |           depending on heap usage). */
 1937|       |        if (gil_held) {
 1938|       |            Py_BEGIN_ALLOW_THREADS
 1939|       |            if (isatty(fd)) {
 1940|       |                count = 32767;
 1941|       |            }
 1942|       |            Py_END_ALLOW_THREADS
 1943|       |        } else {
 1944|       |            if (isatty(fd)) {
 1945|       |                count = 32767;
 1946|       |            }
 1947|       |        }
 1948|       |    }
 1949|       |
 1950|       |#endif
 1951|      2|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   60|      2|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1951:9): [True: 0, False: 2]
  ------------------
 1952|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   60|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1953|      0|    }
 1954|       |
 1955|      2|    if (gil_held) {
  ------------------
  |  Branch (1955:9): [True: 2, False: 0]
  ------------------
 1956|      2|        do {
 1957|      2|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 1958|      2|            errno = 0;
 1959|       |#ifdef MS_WINDOWS
 1960|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1961|       |            // the pipe lacks available space for the entire buffer.
 1962|       |            int c = (int)count;
 1963|       |            do {
 1964|       |                _doserrno = 0;
 1965|       |                n = write(fd, buf, c);
 1966|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1967|       |                    break;
 1968|       |                }
 1969|       |                errno = EAGAIN;
 1970|       |                c /= 2;
 1971|       |            } while (c > 0);
 1972|       |#else
 1973|      2|            n = write(fd, buf, count);
 1974|      2|#endif
 1975|       |            /* save/restore errno because PyErr_CheckSignals()
 1976|       |             * and PyErr_SetFromErrno() can modify it */
 1977|      2|            err = errno;
 1978|      2|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 1979|      2|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1979:18): [True: 0, False: 2]
  |  Branch (1979:27): [True: 0, False: 0]
  ------------------
 1980|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1980:17): [True: 0, False: 0]
  ------------------
 1981|      2|    }
 1982|      0|    else {
 1983|      0|        do {
 1984|      0|            errno = 0;
 1985|       |#ifdef MS_WINDOWS
 1986|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1987|       |            // the pipe lacks available space for the entire buffer.
 1988|       |            int c = (int)count;
 1989|       |            do {
 1990|       |                _doserrno = 0;
 1991|       |                n = write(fd, buf, c);
 1992|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1993|       |                    break;
 1994|       |                }
 1995|       |                errno = EAGAIN;
 1996|       |                c /= 2;
 1997|       |            } while (c > 0);
 1998|       |#else
 1999|      0|            n = write(fd, buf, count);
 2000|      0|#endif
 2001|      0|            err = errno;
 2002|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (2002:18): [True: 0, False: 0]
  |  Branch (2002:27): [True: 0, False: 0]
  ------------------
 2003|      0|    }
 2004|      2|    _Py_END_SUPPRESS_IPH
 2005|       |
 2006|      2|    if (async_err) {
  ------------------
  |  Branch (2006:9): [True: 0, False: 2]
  ------------------
 2007|       |        /* write() was interrupted by a signal (failed with EINTR)
 2008|       |           and the Python signal handler raised an exception (if gil_held is
 2009|       |           nonzero). */
 2010|      0|        errno = err;
 2011|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
 2012|      0|        return -1;
 2013|      0|    }
 2014|      2|    if (n < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 2]
  ------------------
 2015|      0|        if (gil_held)
  ------------------
  |  Branch (2015:13): [True: 0, False: 0]
  ------------------
 2016|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2017|      0|        errno = err;
 2018|      0|        return -1;
 2019|      0|    }
 2020|       |
 2021|      2|    return n;
 2022|      2|}
fileutils.c:join_relfile:
 2404|     18|{
 2405|       |#ifdef MS_WINDOWS
 2406|       |    if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
 2407|       |        PATHCCH_ALLOW_LONG_PATHS))) {
 2408|       |        return -1;
 2409|       |    }
 2410|       |#else
 2411|     18|    assert(!_Py_isabs(relfile));
 2412|     18|    size_t dirlen = wcslen(dirname);
 2413|     18|    size_t rellen = wcslen(relfile);
 2414|     18|    size_t maxlen = bufsize - 1;
 2415|     18|    if (maxlen > MAXPATHLEN || dirlen >= maxlen || rellen >= maxlen - dirlen) {
  ------------------
  |  |   43|     36|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (2415:9): [True: 0, False: 18]
  |  Branch (2415:32): [True: 0, False: 18]
  |  Branch (2415:52): [True: 0, False: 18]
  ------------------
 2416|      0|        return -1;
 2417|      0|    }
 2418|     18|    if (dirlen == 0) {
  ------------------
  |  Branch (2418:9): [True: 0, False: 18]
  ------------------
 2419|       |        // We do not add a leading separator.
 2420|      0|        wcscpy(buffer, relfile);
 2421|      0|    }
 2422|     18|    else {
 2423|     18|        if (dirname != buffer) {
  ------------------
  |  Branch (2423:13): [True: 0, False: 18]
  ------------------
 2424|      0|            wcscpy(buffer, dirname);
 2425|      0|        }
 2426|     18|        size_t relstart = dirlen;
 2427|     18|        if (dirlen > 1 && dirname[dirlen - 1] != SEP) {
  ------------------
  |  |   29|     18|#  define SEP L'/'
  ------------------
  |  Branch (2427:13): [True: 18, False: 0]
  |  Branch (2427:27): [True: 18, False: 0]
  ------------------
 2428|     18|            buffer[dirlen] = SEP;
  ------------------
  |  |   29|     18|#  define SEP L'/'
  ------------------
 2429|     18|            relstart += 1;
 2430|     18|        }
 2431|     18|        wcscpy(&buffer[relstart], relfile);
 2432|     18|    }
 2433|     18|#endif
 2434|     18|    return 0;
 2435|     18|}

_PyCfgBuilder_New:
  439|    733|{
  440|    733|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  441|    733|    if (g == NULL) {
  ------------------
  |  Branch (441:9): [True: 0, False: 733]
  ------------------
  442|      0|        PyErr_NoMemory();
  443|      0|        return NULL;
  444|      0|    }
  445|    733|    memset(g, 0, sizeof(cfg_builder));
  446|    733|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (446:9): [True: 0, False: 733]
  ------------------
  447|      0|        PyMem_Free(g);
  448|      0|        return NULL;
  449|      0|    }
  450|    733|    return g;
  451|    733|}
_PyCfgBuilder_Free:
  455|    733|{
  456|    733|    if (g == NULL) {
  ------------------
  |  Branch (456:9): [True: 0, False: 733]
  ------------------
  457|      0|        return;
  458|      0|    }
  459|    733|    assert(cfg_builder_check(g));
  460|    733|    basicblock *b = g->g_block_list;
  461|  2.50k|    while (b != NULL) {
  ------------------
  |  Branch (461:12): [True: 1.76k, False: 733]
  ------------------
  462|  1.76k|        if (b->b_instr) {
  ------------------
  |  Branch (462:13): [True: 1.76k, False: 0]
  ------------------
  463|  1.76k|            PyMem_Free((void *)b->b_instr);
  464|  1.76k|        }
  465|  1.76k|        basicblock *next = b->b_list;
  466|  1.76k|        PyMem_Free((void *)b);
  467|  1.76k|        b = next;
  468|  1.76k|    }
  469|    733|    PyMem_Free(g);
  470|    733|}
_PyCfgBuilder_CheckSize:
  474|    733|{
  475|    733|    int nblocks = 0;
  476|  2.49k|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (476:43): [True: 1.76k, False: 733]
  ------------------
  477|  1.76k|        nblocks++;
  478|  1.76k|    }
  479|    733|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (479:9): [True: 0, False: 733]
  ------------------
  480|      0|        PyErr_NoMemory();
  481|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  482|      0|    }
  483|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  484|    733|}
_PyCfgBuilder_UseLabel:
  488|    280|{
  489|    280|    g->g_current_label = lbl;
  490|    280|    return cfg_builder_maybe_start_new_block(g);
  491|    280|}
_PyCfgBuilder_Addop:
  495|  15.0k|{
  496|  15.0k|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|  15.0k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 15.0k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  497|  15.0k|    return basicblock_addop(g->g_curblock, opcode, oparg, loc);
  498|  15.0k|}
_PyCfg_OptimizeCodeUnit:
 3761|    733|{
 3762|    733|    assert(cfg_builder_check(g));
 3763|       |    /** Preprocessing **/
 3764|       |    /* Map labels to targets and mark exception handlers */
 3765|    733|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3766|    733|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3767|    733|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3768|       |
 3769|       |    /** Optimization **/
 3770|       |
 3771|    733|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3772|    733|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3773|    733|    if (consts_index == NULL) {
  ------------------
  |  Branch (3773:9): [True: 0, False: 733]
  ------------------
 3774|      0|        PyErr_NoMemory();
 3775|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3776|      0|    }
 3777|       |
 3778|  3.08k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|  3.08k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3778:28): [True: 2.34k, False: 733]
  ------------------
 3779|  2.34k|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|  2.34k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.34k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3780|  2.34k|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3780:13): [True: 0, False: 2.34k]
  ------------------
 3781|      0|            continue;
 3782|      0|        }
 3783|  2.34k|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3783:13): [True: 0, False: 2.34k]
  ------------------
 3784|  2.34k|                              (void *)(uintptr_t)i) < 0) {
 3785|      0|            _Py_hashtable_destroy(consts_index);
 3786|      0|            PyErr_NoMemory();
 3787|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3788|      0|        }
 3789|  2.34k|    }
 3790|       |
 3791|    733|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3792|       |
 3793|    733|    _Py_hashtable_destroy(consts_index);
 3794|       |
 3795|    733|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3796|       |
 3797|    733|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3798|    733|    RETURN_IF_ERROR(
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3799|    733|        add_checks_for_loads_of_uninitialized_variables(
 3800|    733|            g->g_entryblock, nlocals, nparams));
 3801|    733|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3802|       |
 3803|    733|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3804|    733|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3805|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3806|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3807|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 3808|    733|}
_PyCfg_FromInstructionSequence:
 3998|    733|{
 3999|    733|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (3999:9): [True: 0, False: 733]
  ------------------
 4000|      0|        return NULL;
 4001|      0|    }
 4002|    733|    cfg_builder *g = _PyCfgBuilder_New();
 4003|    733|    if (g == NULL) {
  ------------------
  |  Branch (4003:9): [True: 0, False: 733]
  ------------------
 4004|      0|        return NULL;
 4005|      0|    }
 4006|  15.9k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4006:21): [True: 15.2k, False: 733]
  ------------------
 4007|  15.2k|        seq->s_instrs[i].i_target = 0;
 4008|  15.2k|    }
 4009|  15.9k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4009:21): [True: 15.2k, False: 733]
  ------------------
 4010|  15.2k|        _PyInstruction *instr = &seq->s_instrs[i];
 4011|  15.2k|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  15.2k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  30.5k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  15.2k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 402, False: 14.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  14.8k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  29.7k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 14.8k]
  |  |  |  |  ------------------
  |  |  |  |   19|  14.8k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  29.7k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 14.8k]
  |  |  |  |  ------------------
  |  |  |  |   20|  14.8k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  14.8k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 14.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4012|    402|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
 4013|    402|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4014|    402|        }
 4015|  15.2k|    }
 4016|    733|    int offset = 0;
 4017|  15.9k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4017:21): [True: 15.2k, False: 733]
  ------------------
 4018|  15.2k|        _PyInstruction *instr = &seq->s_instrs[i];
 4019|  15.2k|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  247|  15.2k|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4019:13): [True: 219, False: 15.0k]
  ------------------
 4020|    219|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4020:17): [True: 0, False: 219]
  ------------------
 4021|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
 4022|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4023|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4023:33): [True: 0, False: 0]
  ------------------
 4024|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4025|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
 4026|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4026:25): [True: 0, False: 0]
  ------------------
 4027|      0|                        goto error;
 4028|      0|                    }
 4029|      0|                }
 4030|      0|                offset += seq->s_annotations_code->s_used - 1;
 4031|      0|            }
 4032|    219|            else {
 4033|    219|                offset -= 1;
 4034|    219|            }
 4035|    219|            continue;
 4036|    219|        }
 4037|  15.0k|        if (instr->i_target) {
  ------------------
  |  Branch (4037:13): [True: 280, False: 14.7k]
  ------------------
 4038|    280|            jump_target_label lbl_ = {i + offset};
 4039|    280|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4039:17): [True: 0, False: 280]
  ------------------
 4040|      0|                goto error;
 4041|      0|            }
 4042|    280|        }
 4043|  15.0k|        int opcode = instr->i_opcode;
 4044|  15.0k|        int oparg = instr->i_oparg;
 4045|  15.0k|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  15.0k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  30.0k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  15.0k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 402, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  14.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  29.2k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  |  |   19|  14.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  29.2k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  |  |   20|  14.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  14.6k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|    402|            oparg += offset;
 4047|    402|        }
 4048|  15.0k|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4048:13): [True: 0, False: 15.0k]
  ------------------
 4049|      0|            goto error;
 4050|      0|        }
 4051|  15.0k|    }
 4052|    733|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4052:9): [True: 0, False: 733]
  ------------------
 4053|      0|        goto error;
 4054|      0|    }
 4055|    733|    return g;
 4056|      0|error:
 4057|      0|    _PyCfgBuilder_Free(g);
 4058|       |    return NULL;
 4059|    733|}
_PyCfg_ToInstructionSequence:
 4063|    733|{
 4064|    733|    int lbl = 0;
 4065|  2.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4065:43): [True: 1.76k, False: 733]
  ------------------
 4066|  1.76k|        b->b_label = (jump_target_label){lbl};
 4067|  1.76k|        lbl += 1;
 4068|  1.76k|    }
 4069|  2.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4069:43): [True: 1.76k, False: 733]
  ------------------
 4070|  1.76k|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|  1.76k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4071|  15.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4071:25): [True: 14.0k, False: 1.76k]
  ------------------
 4072|  14.0k|            cfg_instr *instr = &b->b_instr[i];
 4073|  14.0k|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  14.0k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  28.1k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  14.0k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 398, False: 13.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  13.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  27.3k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 13.6k]
  |  |  |  |  ------------------
  |  |  |  |   19|  13.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  27.3k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 13.6k]
  |  |  |  |  ------------------
  |  |  |  |   20|  13.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  13.6k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 13.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4074|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4075|    398|                instr->i_oparg = instr->i_target->b_label.id;
 4076|    398|            }
 4077|  14.0k|            RETURN_IF_ERROR(
  ------------------
  |  |   25|  14.0k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 14.0k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4078|  14.0k|                _PyInstructionSequence_Addop(
 4079|  14.0k|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4080|       |
 4081|  14.0k|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4082|  14.0k|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4082:17): [True: 0, False: 14.0k]
  ------------------
 4083|      0|                hi->h_label = instr->i_except->b_label.id;
 4084|      0|                hi->h_startdepth = instr->i_except->b_startdepth;
 4085|      0|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4086|      0|            }
 4087|  14.0k|            else {
 4088|  14.0k|                hi->h_label = -1;
 4089|  14.0k|            }
 4090|  14.0k|        }
 4091|  1.76k|    }
 4092|    733|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4092:9): [True: 0, False: 733]
  ------------------
 4093|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4094|      0|    }
 4095|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 4096|    733|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4104|    733|{
 4105|    733|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4106|       |
 4107|    733|    *stackdepth = calculate_stackdepth(g);
 4108|    733|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4108:9): [True: 0, False: 733]
  ------------------
 4109|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4110|      0|    }
 4111|       |
 4112|    733|    *nlocalsplus = prepare_localsplus(umd, g);
 4113|    733|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4113:9): [True: 0, False: 733]
  ------------------
 4114|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4115|      0|    }
 4116|       |
 4117|    733|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4118|       |
 4119|       |    /* Order of basic blocks must have been determined by now */
 4120|       |
 4121|    733|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4122|    733|    assert(no_redundant_jumps(g));
 4123|       |
 4124|       |    /* Can't modify the bytecode after inserting instructions that produce
 4125|       |     * borrowed references.
 4126|       |     */
 4127|    733|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4128|       |
 4129|       |    /* Can't modify the bytecode after computing jump offsets. */
 4130|    733|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4130:9): [True: 0, False: 733]
  ------------------
 4131|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4132|      0|    }
 4133|       |
 4134|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 4135|    733|}
flowgraph.c:init_cfg_builder:
  426|    733|{
  427|    733|    g->g_block_list = NULL;
  428|    733|    basicblock *block = cfg_builder_new_block(g);
  429|    733|    if (block == NULL) {
  ------------------
  |  Branch (429:9): [True: 0, False: 733]
  ------------------
  430|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  431|      0|    }
  432|    733|    g->g_curblock = g->g_entryblock = block;
  433|    733|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|    733|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  434|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  435|    733|}
flowgraph.c:cfg_builder_new_block:
  177|  1.76k|{
  178|  1.76k|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|  1.76k|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 1.76k]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|  1.76k|    b->b_list = g->g_block_list;
  185|  1.76k|    g->g_block_list = b;
  186|  1.76k|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|  1.76k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|  1.76k|    return b;
  188|  1.76k|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  390|  15.3k|{
  391|  15.3k|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (391:9): [True: 1.03k, False: 14.2k]
  ------------------
  392|  1.03k|        basicblock *b = cfg_builder_new_block(g);
  393|  1.03k|        if (b == NULL) {
  ------------------
  |  Branch (393:13): [True: 0, False: 1.03k]
  ------------------
  394|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  395|      0|        }
  396|  1.03k|        b->b_label = g->g_current_label;
  397|  1.03k|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|  1.03k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  398|  1.03k|        cfg_builder_use_next_block(g, b);
  399|  1.03k|    }
  400|  15.3k|    return SUCCESS;
  ------------------
  |  |   21|  15.3k|#define SUCCESS 0
  ------------------
  401|  15.3k|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  370|  15.3k|{
  371|  15.3k|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  372|  15.3k|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|  14.3k|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  28.6k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  14.3k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 402, False: 13.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  13.9k|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  27.8k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 508, False: 13.3k]
  |  |  |  |  ------------------
  |  |  |  |   54|  13.9k|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|  27.2k|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 58, False: 13.3k]
  |  |  |  |  ------------------
  |  |  |  |   55|  13.9k|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  13.3k|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (372:9): [True: 14.3k, False: 1.01k]
  ------------------
  373|    968|        return true;
  374|    968|    }
  375|  14.3k|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|  14.3k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  14.3k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 64, False: 14.2k]
  |  |  ------------------
  ------------------
  376|     64|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (376:13): [True: 64, False: 0]
  ------------------
  377|     64|            return true;
  378|     64|        }
  379|      0|        else {
  380|       |            /* current block is empty, label it */
  381|      0|            g->g_curblock->b_label = g->g_current_label;
  382|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  383|      0|        }
  384|     64|    }
  385|  14.2k|    return false;
  386|  14.3k|}
flowgraph.c:basicblock_last_instr:
  162|  47.7k|basicblock_last_instr(const basicblock *b) {
  163|  47.7k|    assert(b->b_iused >= 0);
  164|  47.7k|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 42.1k, False: 5.57k]
  ------------------
  165|  42.1k|        assert(b->b_instr != NULL);
  166|  42.1k|        return &b->b_instr[b->b_iused - 1];
  167|  42.1k|    }
  168|  5.57k|    return NULL;
  169|  47.7k|}
flowgraph.c:cfg_builder_use_next_block:
  345|  1.03k|{
  346|       |    assert(block != NULL);
  347|  1.03k|    g->g_curblock->b_next = block;
  348|  1.03k|    g->g_curblock = block;
  349|  1.03k|    return block;
  350|  1.03k|}
flowgraph.c:basicblock_addop:
  192|  15.4k|{
  193|  15.4k|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  194|  15.4k|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  195|  15.4k|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  196|  15.4k|    assert(0 <= oparg && oparg < (1 << 30));
  197|       |
  198|  15.4k|    int off = basicblock_next_instr(b);
  199|  15.4k|    if (off < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 15.4k]
  ------------------
  200|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  201|      0|    }
  202|  15.4k|    cfg_instr *i = &b->b_instr[off];
  203|  15.4k|    i->i_opcode = opcode;
  204|  15.4k|    i->i_oparg = oparg;
  205|  15.4k|    i->i_loc = loc;
  206|       |    // memory is already zero initialized
  207|  15.4k|    assert(i->i_target == NULL);
  208|  15.4k|    assert(i->i_except == NULL);
  209|       |
  210|  15.4k|    return SUCCESS;
  ------------------
  |  |   21|  15.4k|#define SUCCESS 0
  ------------------
  211|  15.4k|}
flowgraph.c:basicblock_next_instr:
  146|  16.1k|{
  147|  16.1k|    assert(b != NULL);
  148|  16.1k|    _Py_c_array_t array = {
  149|  16.1k|        .array = (void*)b->b_instr,
  150|  16.1k|        .allocated_entries = b->b_ialloc,
  151|  16.1k|        .item_size = sizeof(cfg_instr),
  152|  16.1k|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|  16.1k|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|  16.1k|    };
  154|       |
  155|  16.1k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|  16.1k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 16.1k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|  16.1k|    b->b_instr = array.array;
  157|  16.1k|    b->b_ialloc = array.allocated_entries;
  158|  16.1k|    return b->b_iused++;
  159|  16.1k|}
flowgraph.c:translate_jump_labels_to_targets:
  648|    733|{
  649|    733|    int max_label = get_max_label(entryblock);
  650|    733|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  651|    733|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  652|    733|    if (!label2block) {
  ------------------
  |  Branch (652:9): [True: 0, False: 733]
  ------------------
  653|      0|        PyErr_NoMemory();
  654|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  655|      0|    }
  656|    733|    memset(label2block, 0, mapsize);
  657|  2.49k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (657:38): [True: 1.76k, False: 733]
  ------------------
  658|  1.76k|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (658:13): [True: 280, False: 1.48k]
  ------------------
  659|    280|            label2block[b->b_label.id] = b;
  660|    280|        }
  661|  1.76k|    }
  662|  2.49k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (662:38): [True: 1.76k, False: 733]
  ------------------
  663|  16.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (663:25): [True: 15.0k, False: 1.76k]
  ------------------
  664|  15.0k|            cfg_instr *instr = &b->b_instr[i];
  665|  15.0k|            assert(instr->i_target == NULL);
  666|  15.0k|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  15.0k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  30.0k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  15.0k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 402, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  14.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  29.2k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  |  |   19|  14.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  29.2k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  |  |   20|  14.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  14.6k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|    402|                int lbl = instr->i_oparg;
  668|    402|                assert(lbl >= 0 && lbl <= max_label);
  669|    402|                instr->i_target = label2block[lbl];
  670|    402|                assert(instr->i_target != NULL);
  671|    402|                assert(instr->i_target->b_label.id == lbl);
  672|    402|            }
  673|  15.0k|        }
  674|  1.76k|    }
  675|    733|    PyMem_Free(label2block);
  676|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  677|    733|}
flowgraph.c:get_max_label:
  635|  2.67k|{
  636|  2.67k|    int lbl = -1;
  637|  9.47k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (637:38): [True: 6.80k, False: 2.67k]
  ------------------
  638|  6.80k|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (638:13): [True: 1.12k, False: 5.67k]
  ------------------
  639|  1.12k|            lbl = b->b_label.id;
  640|  1.12k|        }
  641|  6.80k|    }
  642|  2.67k|    return lbl;
  643|  2.67k|}
flowgraph.c:mark_except_handlers:
  680|    733|mark_except_handlers(basicblock *entryblock) {
  681|       |#ifndef NDEBUG
  682|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  683|       |        assert(!b->b_except_handler);
  684|       |    }
  685|       |#endif
  686|  2.49k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (686:38): [True: 1.76k, False: 733]
  ------------------
  687|  16.8k|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (687:23): [True: 15.0k, False: 1.76k]
  ------------------
  688|  15.0k|            cfg_instr *instr = &b->b_instr[i];
  689|  15.0k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (689:17): [True: 0, False: 15.0k]
  ------------------
  690|      0|                instr->i_target->b_except_handler = 1;
  691|      0|            }
  692|  15.0k|        }
  693|  1.76k|    }
  694|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  695|    733|}
flowgraph.c:is_block_push:
  103|  69.8k|{
  104|  69.8k|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  105|  69.8k|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|  69.8k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|   139k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 69.8k]
  |  |  ------------------
  |  |   19|  69.8k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|   139k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 69.8k]
  |  |  ------------------
  |  |   20|  69.8k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|  69.8k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 69.8k]
  |  |  ------------------
  ------------------
  106|  69.8k|}
flowgraph.c:label_exception_targets:
  898|    733|label_exception_targets(basicblock *entryblock) {
  899|    733|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  900|    733|    if (todo_stack == NULL) {
  ------------------
  |  Branch (900:9): [True: 0, False: 733]
  ------------------
  901|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  902|      0|    }
  903|    733|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  904|    733|    if (except_stack == NULL) {
  ------------------
  |  Branch (904:9): [True: 0, False: 733]
  ------------------
  905|      0|        PyMem_Free(todo_stack);
  906|      0|        PyErr_NoMemory();
  907|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  908|      0|    }
  909|    733|    except_stack->depth = 0;
  910|    733|    todo_stack[0] = entryblock;
  911|    733|    entryblock->b_visited = 1;
  912|    733|    entryblock->b_exceptstack = except_stack;
  913|    733|    basicblock **todo = &todo_stack[1];
  914|    733|    basicblock *handler = NULL;
  915|  2.08k|    while (todo > todo_stack) {
  ------------------
  |  Branch (915:12): [True: 1.34k, False: 733]
  ------------------
  916|  1.34k|        todo--;
  917|  1.34k|        basicblock *b = todo[0];
  918|  1.34k|        assert(b->b_visited == 1);
  919|  1.34k|        except_stack = b->b_exceptstack;
  920|  1.34k|        assert(except_stack != NULL);
  921|  1.34k|        b->b_exceptstack = NULL;
  922|  1.34k|        handler = except_stack_top(except_stack);
  923|  1.34k|        int last_yield_except_depth = -1;
  924|  15.5k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (924:25): [True: 14.2k, False: 1.34k]
  ------------------
  925|  14.2k|            cfg_instr *instr = &b->b_instr[i];
  926|  14.2k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (926:17): [True: 0, False: 14.2k]
  ------------------
  927|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (927:21): [True: 0, False: 0]
  ------------------
  928|      0|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  929|      0|                    if (copy == NULL) {
  ------------------
  |  Branch (929:25): [True: 0, False: 0]
  ------------------
  930|      0|                        goto error;
  931|      0|                    }
  932|      0|                    instr->i_target->b_exceptstack = copy;
  933|      0|                    todo[0] = instr->i_target;
  934|      0|                    instr->i_target->b_visited = 1;
  935|      0|                    todo++;
  936|      0|                }
  937|      0|                handler = push_except_block(except_stack, instr);
  938|      0|            }
  939|  14.2k|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  253|  14.2k|#define POP_BLOCK                              262
  ------------------
  |  Branch (939:22): [True: 0, False: 14.2k]
  ------------------
  940|      0|                handler = pop_except_block(except_stack);
  941|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|      0|            }
  943|  14.2k|            else if (is_jump(instr)) {
  ------------------
  |  Branch (943:22): [True: 402, False: 13.8k]
  ------------------
  944|    402|                instr->i_except = handler;
  945|    402|                assert(i == b->b_iused -1);
  946|    402|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (946:21): [True: 278, False: 124]
  ------------------
  947|    278|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|    278|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 262, False: 16]
  |  |  ------------------
  ------------------
  948|    262|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  949|    262|                        if (copy == NULL) {
  ------------------
  |  Branch (949:29): [True: 0, False: 262]
  ------------------
  950|      0|                            goto error;
  951|      0|                        }
  952|    262|                        instr->i_target->b_exceptstack = copy;
  953|    262|                    }
  954|     16|                    else {
  955|     16|                        instr->i_target->b_exceptstack = except_stack;
  956|     16|                        except_stack = NULL;
  957|     16|                    }
  958|    278|                    todo[0] = instr->i_target;
  959|    278|                    instr->i_target->b_visited = 1;
  960|    278|                    todo++;
  961|    278|                }
  962|    402|            }
  963|  13.8k|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  132|  13.8k|#define YIELD_VALUE                            119
  ------------------
  |  Branch (963:22): [True: 0, False: 13.8k]
  ------------------
  964|      0|                instr->i_except = handler;
  965|      0|                last_yield_except_depth = except_stack->depth;
  966|      0|            }
  967|  13.8k|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  133|  13.8k|#define RESUME                                 128
  ------------------
  |  Branch (967:22): [True: 733, False: 13.0k]
  ------------------
  968|    733|                instr->i_except = handler;
  969|    733|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|  1.46k|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|      0|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (969:21): [True: 0, False: 733]
  |  Branch (969:63): [True: 0, False: 0]
  ------------------
  970|      0|                    assert(last_yield_except_depth >= 0);
  971|      0|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (971:25): [True: 0, False: 0]
  ------------------
  972|      0|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|      0|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  973|      0|                    }
  974|      0|                    last_yield_except_depth = -1;
  975|      0|                }
  976|    733|            }
  977|  13.0k|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|  13.0k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (977:22): [True: 0, False: 13.0k]
  ------------------
  978|      0|                instr->i_except = NULL;
  979|      0|            }
  980|  13.0k|            else {
  981|  13.0k|                instr->i_except = handler;
  982|  13.0k|            }
  983|  14.2k|        }
  984|  1.34k|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  251|  2.69k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 448, False: 901]
  |  |  ------------------
  ------------------
  |  Branch (984:38): [True: 338, False: 110]
  ------------------
  985|    338|            assert(except_stack != NULL);
  986|    338|            b->b_next->b_exceptstack = except_stack;
  987|    338|            todo[0] = b->b_next;
  988|    338|            b->b_next->b_visited = 1;
  989|    338|            todo++;
  990|    338|        }
  991|  1.01k|        else if (except_stack != NULL) {
  ------------------
  |  Branch (991:18): [True: 995, False: 16]
  ------------------
  992|    995|           PyMem_Free(except_stack);
  993|    995|        }
  994|  1.34k|    }
  995|       |#ifdef Py_DEBUG
  996|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  997|       |        assert(b->b_exceptstack == NULL);
  998|       |    }
  999|       |#endif
 1000|    733|    PyMem_Free(todo_stack);
 1001|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 1002|      0|error:
 1003|      0|    PyMem_Free(todo_stack);
 1004|      0|    PyMem_Free(except_stack);
 1005|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1006|    733|}
flowgraph.c:make_cfg_traversal_stack:
  752|  5.10k|make_cfg_traversal_stack(basicblock *entryblock) {
  753|  5.10k|    int nblocks = 0;
  754|  18.4k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (754:38): [True: 13.3k, False: 5.10k]
  ------------------
  755|  13.3k|        b->b_visited = 0;
  756|  13.3k|        nblocks++;
  757|  13.3k|    }
  758|  5.10k|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  759|  5.10k|    if (!stack) {
  ------------------
  |  Branch (759:9): [True: 0, False: 5.10k]
  ------------------
  760|      0|        PyErr_NoMemory();
  761|      0|    }
  762|  5.10k|    return stack;
  763|  5.10k|}
flowgraph.c:make_except_stack:
  729|    733|make_except_stack(void) {
  730|    733|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  731|    733|    if (new == NULL) {
  ------------------
  |  Branch (731:9): [True: 0, False: 733]
  ------------------
  732|      0|        PyErr_NoMemory();
  733|      0|        return NULL;
  734|      0|    }
  735|    733|    new->depth = 0;
  736|       |    new->handlers[0] = NULL;
  737|    733|    return new;
  738|    733|}
flowgraph.c:except_stack_top:
  724|  1.34k|except_stack_top(struct _PyCfgExceptStack *stack) {
  725|  1.34k|    return stack->handlers[stack->depth];
  726|  1.34k|}
flowgraph.c:copy_except_stack:
  741|    262|copy_except_stack(struct _PyCfgExceptStack *stack) {
  742|    262|    struct _PyCfgExceptStack *copy = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  743|    262|    if (copy == NULL) {
  ------------------
  |  Branch (743:9): [True: 0, False: 262]
  ------------------
  744|      0|        PyErr_NoMemory();
  745|      0|        return NULL;
  746|      0|    }
  747|    262|    memcpy(copy, stack, sizeof(struct _PyCfgExceptStack));
  748|    262|    return copy;
  749|    262|}
flowgraph.c:is_jump:
  110|  59.9k|{
  111|  59.9k|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1077|  59.9k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  59.9k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|  59.9k|}
flowgraph.c:basicblock_nofallthrough:
  243|  14.8k|basicblock_nofallthrough(const basicblock *b) {
  244|  14.8k|    cfg_instr *last = basicblock_last_instr(b);
  245|  14.8k|    return (last &&
  ------------------
  |  Branch (245:13): [True: 13.6k, False: 1.24k]
  ------------------
  246|  13.6k|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|  27.2k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  27.2k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 7.98k, False: 5.63k]
  |  |  ------------------
  |  |   54|  13.6k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|  19.2k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 640, False: 4.99k]
  |  |  ------------------
  |  |   55|  27.2k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|  4.99k|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 4.99k]
  |  |  ------------------
  ------------------
  247|  4.99k|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|  4.99k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  9.99k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 20, False: 4.97k]
  |  |  ------------------
  |  |   41|  4.99k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  9.97k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 146, False: 4.83k]
  |  |  ------------------
  |  |   42|  4.99k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  9.83k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 4.83k]
  |  |  ------------------
  |  |   43|  4.99k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  9.83k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 4.83k]
  |  |  ------------------
  |  |   44|  4.99k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  4.83k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 4.83k]
  |  |  ------------------
  ------------------
  248|  14.8k|}
flowgraph.c:optimize_cfg:
 2642|    733|{
 2643|    733|    assert(PyDict_CheckExact(const_cache));
 2644|    733|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2645|    733|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2646|    733|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2647|    733|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2648|    733|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2649|  2.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2649:43): [True: 1.76k, False: 733]
  ------------------
 2650|  1.76k|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|  1.76k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2651|  1.76k|    }
 2652|    733|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2653|    733|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2654|    733|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|    733|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 733]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2655|    733|    assert(no_redundant_jumps(g));
 2656|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 2657|    733|}
flowgraph.c:check_cfg:
  616|    733|check_cfg(cfg_builder *g) {
  617|  2.49k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (617:43): [True: 1.76k, False: 733]
  ------------------
  618|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  619|  16.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (619:25): [True: 15.0k, False: 1.76k]
  ------------------
  620|  15.0k|            int opcode = b->b_instr[i].i_opcode;
  621|  15.0k|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  622|  15.0k|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|  15.0k|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  30.0k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  15.0k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 402, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  14.6k|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  29.2k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 1.24k, False: 13.3k]
  |  |  |  |  ------------------
  |  |  |  |   54|  14.6k|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|  28.0k|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 58, False: 13.3k]
  |  |  |  |  ------------------
  |  |  |  |   55|  14.6k|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  13.3k|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|  1.70k|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (623:21): [True: 0, False: 1.70k]
  ------------------
  624|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  625|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  626|      0|                }
  627|  1.70k|            }
  628|  15.0k|        }
  629|  1.76k|    }
  630|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  631|    733|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1263|    733|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1264|    733|    bool changes;
 1265|    737|    do {
 1266|    737|        changes = false;
 1267|  2.52k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1267:42): [True: 1.78k, False: 737]
  ------------------
 1268|  1.78k|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1269|  1.78k|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|  1.78k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.78k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1270|  1.78k|            if (res) {
  ------------------
  |  Branch (1270:17): [True: 4, False: 1.77k]
  ------------------
 1271|      4|                changes = true;
 1272|      4|            }
 1273|  1.78k|        }
 1274|    737|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1274:13): [True: 4, False: 733]
  ------------------
 1275|    733|    return changes;
 1276|    733|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1229|  1.78k|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1230|  1.78k|    cfg_instr *last = basicblock_last_instr(bb);
 1231|  1.78k|    if (last == NULL) {
  ------------------
  |  Branch (1231:9): [True: 0, False: 1.78k]
  ------------------
 1232|      0|        return 0;
 1233|      0|    }
 1234|  1.78k|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  1.78k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  3.56k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 2, False: 1.78k]
  |  |  ------------------
  |  |   41|  1.78k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  3.56k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 16, False: 1.76k]
  |  |  ------------------
  |  |   42|  1.78k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  3.54k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   43|  1.78k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  3.54k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   44|  1.78k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  1.76k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 1.76k]
  |  |  ------------------
  ------------------
 1235|  1.76k|        return 0;
 1236|  1.76k|    }
 1237|     18|    basicblock *target = last->i_target;
 1238|     18|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1238:30): [True: 8, False: 10]
  ------------------
 1239|      8|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1221|      8|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1239:30): [True: 4, False: 4]
  ------------------
 1240|     18|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1240:38): [True: 0, False: 18]
  ------------------
 1241|      0|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1241:38): [True: 0, False: 0]
  ------------------
 1242|     18|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1242:9): [True: 4, False: 14]
  |  Branch (1242:29): [True: 0, False: 14]
  ------------------
 1243|      4|        assert(is_jump(last));
 1244|      4|        int removed_jump_opcode = last->i_opcode;
 1245|      4|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      4|    do { \
  |  |  126|      4|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      4|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      4|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      4|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      4|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1246|      4|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1247|      4|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1247:13): [True: 0, False: 4]
  ------------------
 1248|      0|            last = basicblock_last_instr(bb);
 1249|      0|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|      0|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|      0|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|      0|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1250|      0|                removed_jump_opcode == JUMP)
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (1250:17): [True: 0, False: 0]
  ------------------
 1251|      0|            {
 1252|       |                /* Make sure we don't lose eval breaker checks */
 1253|      0|                last->i_opcode = JUMP;
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
 1254|      0|            }
 1255|      0|        }
 1256|      4|        target->b_predecessors--;
 1257|      4|        return 1;
 1258|      4|    }
 1259|     14|    return 0;
 1260|     18|}
flowgraph.c:basicblock_exits_scope:
  353|  1.71k|basicblock_exits_scope(const basicblock *b) {
  354|  1.71k|    cfg_instr *last = basicblock_last_instr(b);
  355|  1.71k|    return last && IS_SCOPE_EXIT_OPCODE(last->i_opcode);
  ------------------
  |  |   53|  1.71k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  3.42k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 764, False: 946]
  |  |  ------------------
  |  |   54|  1.71k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|  2.65k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 212, False: 734]
  |  |  ------------------
  |  |   55|  1.71k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|    734|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 734]
  |  |  ------------------
  ------------------
  |  Branch (355:12): [True: 1.71k, False: 0]
  ------------------
  356|  1.71k|}
flowgraph.c:basicblock_has_no_lineno:
 1211|  1.03k|basicblock_has_no_lineno(basicblock *b) {
 1212|  1.04k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1212:21): [True: 1.04k, False: 6]
  ------------------
 1213|  1.04k|        if (b->b_instr[i].i_loc.lineno >= 0) {
  ------------------
  |  Branch (1213:13): [True: 1.02k, False: 16]
  ------------------
 1214|  1.02k|            return false;
 1215|  1.02k|        }
 1216|  1.04k|    }
 1217|      6|    return true;
 1218|  1.03k|}
flowgraph.c:basicblock_append_instructions:
  231|      6|{
  232|     20|    for (int i = 0; i < from->b_iused; i++) {
  ------------------
  |  Branch (232:21): [True: 14, False: 6]
  ------------------
  233|     14|        int n = basicblock_next_instr(to);
  234|     14|        if (n < 0) {
  ------------------
  |  Branch (234:13): [True: 0, False: 14]
  ------------------
  235|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  236|      0|        }
  237|     14|        to->b_instr[n] = from->b_instr[i];
  238|     14|    }
  239|      6|    return SUCCESS;
  ------------------
  |  |   21|      6|#define SUCCESS 0
  ------------------
  240|      6|}
flowgraph.c:remove_unreachable:
 1011|  1.46k|remove_unreachable(basicblock *entryblock) {
 1012|  4.99k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1012:38): [True: 3.53k, False: 1.46k]
  ------------------
 1013|  3.53k|        b->b_predecessors = 0;
 1014|  3.53k|    }
 1015|  1.46k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1016|  1.46k|    if (stack == NULL) {
  ------------------
  |  Branch (1016:9): [True: 0, False: 1.46k]
  ------------------
 1017|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1018|      0|    }
 1019|  1.46k|    basicblock **sp = stack;
 1020|  1.46k|    entryblock->b_predecessors = 1;
 1021|  1.46k|    *sp++ = entryblock;
 1022|  1.46k|    entryblock->b_visited = 1;
 1023|  4.16k|    while (sp > stack) {
  ------------------
  |  Branch (1023:12): [True: 2.70k, False: 1.46k]
  ------------------
 1024|  2.70k|        basicblock *b = *(--sp);
 1025|  2.70k|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|  2.06k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 896, False: 1.17k]
  |  |  ------------------
  ------------------
  |  Branch (1025:13): [True: 2.06k, False: 634]
  ------------------
 1026|    896|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1026:17): [True: 710, False: 186]
  ------------------
 1027|    710|                assert(b->b_next->b_predecessors == 0);
 1028|    710|                *sp++ = b->b_next;
 1029|    710|                b->b_next->b_visited = 1;
 1030|    710|            }
 1031|    896|            b->b_next->b_predecessors++;
 1032|    896|        }
 1033|  30.4k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1033:25): [True: 27.7k, False: 2.70k]
  ------------------
 1034|  27.7k|            basicblock *target;
 1035|  27.7k|            cfg_instr *instr = &b->b_instr[i];
 1036|  27.7k|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1036:17): [True: 796, False: 26.9k]
  |  Branch (1036:35): [True: 0, False: 26.9k]
  ------------------
 1037|    796|                target = instr->i_target;
 1038|    796|                if (!target->b_visited) {
  ------------------
  |  Branch (1038:21): [True: 524, False: 272]
  ------------------
 1039|    524|                    *sp++ = target;
 1040|    524|                    target->b_visited = 1;
 1041|    524|                }
 1042|    796|                target->b_predecessors++;
 1043|    796|            }
 1044|  27.7k|        }
 1045|  2.70k|    }
 1046|  1.46k|    PyMem_Free(stack);
 1047|       |
 1048|       |    /* Delete unreachable instructions */
 1049|  4.99k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1049:38): [True: 3.53k, False: 1.46k]
  ------------------
 1050|  3.53k|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1050:12): [True: 832, False: 2.70k]
  ------------------
 1051|    832|            b->b_iused = 0;
 1052|    832|            b->b_except_handler = 0;
 1053|    832|       }
 1054|  3.53k|    }
 1055|  1.46k|    return SUCCESS;
  ------------------
  |  |   21|  1.46k|#define SUCCESS 0
  ------------------
 1056|  1.46k|}
flowgraph.c:optimize_load_const:
 2391|    733|                    _Py_hashtable_t *consts_index) {
 2392|  2.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2392:43): [True: 1.76k, False: 733]
  ------------------
 2393|  1.76k|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|  1.76k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2394|  1.76k|    }
 2395|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 2396|    733|}
flowgraph.c:basicblock_optimize_load_const:
 2248|  1.76k|{
 2249|  1.76k|    assert(PyDict_CheckExact(const_cache));
 2250|  1.76k|    assert(PyList_CheckExact(consts));
 2251|  1.76k|    int opcode = 0;
 2252|  1.76k|    int oparg = 0;
 2253|  15.9k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2253:21): [True: 14.2k, False: 1.76k]
  ------------------
 2254|  14.2k|        cfg_instr *inst = &bb->b_instr[i];
 2255|  14.2k|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   94|  14.2k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2255:13): [True: 2.00k, False: 12.2k]
  ------------------
 2256|  2.00k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2257|  2.00k|            if (constant == NULL) {
  ------------------
  |  Branch (2257:17): [True: 0, False: 2.00k]
  ------------------
 2258|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2259|      0|            }
 2260|  2.00k|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2261|  2.00k|            Py_DECREF(constant);
  ------------------
  |  |  430|  2.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|  2.00k|            if (res < 0) {
  ------------------
  |  Branch (2262:17): [True: 0, False: 2.00k]
  ------------------
 2263|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2264|      0|            }
 2265|  2.00k|        }
 2266|  14.2k|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   94|  28.4k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2266:39): [True: 1.84k, False: 12.3k]
  ------------------
 2267|  1.84k|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|  16.0k|#define COPY                                    57
  ------------------
  |  Branch (2267:39): [True: 0, False: 1.84k]
  ------------------
 2268|      0|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2268:39): [True: 0, False: 0]
  ------------------
 2269|  14.2k|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2269:13): [True: 14.2k, False: 0]
  ------------------
 2270|  14.2k|            opcode = inst->i_opcode;
 2271|  14.2k|            oparg = inst->i_oparg;
 2272|  14.2k|        }
 2273|  14.2k|        assert(!IS_ASSEMBLER_OPCODE(opcode));
 2274|  14.2k|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2274:13): [True: 12.2k, False: 2.01k]
  ------------------
 2275|  12.2k|            continue;
 2276|  12.2k|        }
 2277|  2.01k|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2277:22): [True: 2.01k, False: 2]
  ------------------
 2278|  2.01k|        switch(nextop) {
  ------------------
  |  Branch (2278:16): [True: 0, False: 2.01k]
  ------------------
 2279|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2279:13): [True: 0, False: 2.01k]
  ------------------
 2280|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2280:13): [True: 0, False: 2.01k]
  ------------------
 2281|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2281:13): [True: 0, False: 2.01k]
  ------------------
 2282|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2282:13): [True: 0, False: 2.01k]
  ------------------
 2283|      0|            {
 2284|       |                /* Remove LOAD_CONST const; conditional jump */
 2285|      0|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2286|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2286:21): [True: 0, False: 0]
  ------------------
 2287|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2288|      0|                }
 2289|      0|                int is_true = PyObject_IsTrue(cnt);
 2290|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2291:21): [True: 0, False: 0]
  ------------------
 2292|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2293|      0|                }
 2294|      0|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2294:21): [True: 0, False: 0]
  ------------------
 2295|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2296|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2297|      0|                }
 2298|      0|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2298:37): [True: 0, False: 0]
  |  Branch (2298:67): [True: 0, False: 0]
  ------------------
 2299|      0|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2299:21): [True: 0, False: 0]
  ------------------
 2300|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
 2301|      0|                }
 2302|      0|                else {
 2303|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2304|      0|                }
 2305|      0|                break;
 2306|      0|            }
 2307|      0|            case IS_OP:
  ------------------
  |  |   86|      0|#define IS_OP                                   73
  ------------------
  |  Branch (2307:13): [True: 0, False: 2.01k]
  ------------------
 2308|      0|            {
 2309|       |                // Fold to POP_JUMP_IF_NONE:
 2310|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2311|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2312|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2313|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2314|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2315|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2316|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2317|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2318|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2319|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2320|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2320:21): [True: 0, False: 0]
  ------------------
 2321|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2322|      0|                }
 2323|      0|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2323:21): [True: 0, False: 0]
  ------------------
 2324|      0|                    Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2325|      0|                    break;
 2326|      0|                }
 2327|      0|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2327:21): [True: 0, False: 0]
  ------------------
 2328|      0|                    break;
 2329|      0|                }
 2330|      0|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2331|      0|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2332|       |                // Get rid of TO_BOOL regardless:
 2333|      0|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2333:21): [True: 0, False: 0]
  ------------------
 2334|      0|                    INSTR_SET_OP0(jump_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2335|      0|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2335:25): [True: 0, False: 0]
  ------------------
 2336|      0|                        break;
 2337|      0|                    }
 2338|      0|                    jump_instr = &bb->b_instr[i + 3];
 2339|      0|                }
 2340|      0|                bool invert = is_instr->i_oparg;
 2341|      0|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2341:21): [True: 0, False: 0]
  ------------------
 2342|      0|                    invert = !invert;
 2343|      0|                }
 2344|      0|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2344:26): [True: 0, False: 0]
  ------------------
 2345|      0|                    break;
 2346|      0|                }
 2347|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2348|      0|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2349|      0|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (2349:40): [True: 0, False: 0]
  ------------------
 2350|      0|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
 2351|      0|                break;
 2352|      0|            }
 2353|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2353:13): [True: 0, False: 2.01k]
  ------------------
 2354|      0|            {
 2355|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2356|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2356:21): [True: 0, False: 0]
  ------------------
 2357|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2358|      0|                }
 2359|      0|                int is_true = PyObject_IsTrue(cnt);
 2360|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2361|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2361:21): [True: 0, False: 0]
  ------------------
 2362|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2363|      0|                }
 2364|      0|                cnt = PyBool_FromLong(is_true);
 2365|      0|                int index = add_const(cnt, consts, const_cache, consts_index);
 2366|      0|                if (index < 0) {
  ------------------
  |  Branch (2366:21): [True: 0, False: 0]
  ------------------
 2367|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2368|      0|                }
 2369|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2370|      0|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2371|      0|                break;
 2372|      0|            }
 2373|  2.01k|        }
 2374|  2.01k|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   94|  2.01k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2374:13): [True: 1.84k, False: 167]
  ------------------
 2375|  1.84k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2376|  1.84k|            if (constant == NULL) {
  ------------------
  |  Branch (2376:17): [True: 0, False: 1.84k]
  ------------------
 2377|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2378|      0|            }
 2379|  1.84k|            int res = maybe_instr_make_load_common_const(inst, constant);
 2380|  1.84k|            Py_DECREF(constant);
  ------------------
  |  |  430|  1.84k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2381|  1.84k|            if (res < 0) {
  ------------------
  |  Branch (2381:17): [True: 0, False: 1.84k]
  ------------------
 2382|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2383|      0|            }
 2384|  1.84k|        }
 2385|  2.01k|    }
 2386|  1.76k|    return SUCCESS;
  ------------------
  |  |   21|  1.76k|#define SUCCESS 0
  ------------------
 2387|  1.76k|}
flowgraph.c:get_const_value:
 1315|  4.10k|{
 1316|  4.10k|    PyObject *constant = NULL;
 1317|  4.10k|    assert(loads_const(opcode));
 1318|  4.10k|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   94|  4.10k|#define LOAD_CONST                              81
  ------------------
  |  Branch (1318:9): [True: 4.10k, False: 0]
  ------------------
 1319|  4.10k|        assert(PyList_Check(co_consts));
 1320|  4.10k|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   38|  4.10k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|  4.10k|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1321:13): [True: 0, False: 4.10k]
  |  Branch (1321:26): [True: 0, False: 4.10k]
  ------------------
 1322|      0|            PyErr_Format(PyExc_ValueError,
 1323|      0|                         "LOAD_CONST index %d is out of range for consts (len=%zd)",
 1324|      0|                         oparg, n);
 1325|      0|            return NULL;
 1326|      0|        }
 1327|  4.10k|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   40|  4.10k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.10k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|  4.10k|    }
 1329|  4.10k|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  106|  4.10k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (1329:9): [True: 0, False: 4.10k]
  ------------------
 1330|      0|        return PyLong_FromLong(oparg);
 1331|      0|    }
 1332|  4.10k|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   93|  4.10k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (1332:9): [True: 0, False: 4.10k]
  ------------------
 1333|      0|        assert(oparg < NUM_COMMON_CONSTANTS);
 1334|      0|        return PyStackRef_AsPyObjectBorrow(
 1335|      0|            _PyInterpreterState_GET()->common_consts[oparg]);
 1336|      0|    }
 1337|       |
 1338|  4.10k|    if (constant == NULL) {
  ------------------
  |  Branch (1338:9): [True: 0, False: 4.10k]
  ------------------
 1339|      0|        PyErr_SetString(PyExc_SystemError,
 1340|      0|                        "Internal error: failed to get value of a constant");
 1341|      0|        return NULL;
 1342|      0|    }
 1343|  4.10k|    return Py_NewRef(constant);
  ------------------
  |  |  550|  4.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|  4.10k|}
flowgraph.c:maybe_instr_make_load_smallint:
 1435|  2.00k|{
 1436|  2.00k|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  2.00k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  2.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 165, False: 1.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|    165|        int overflow;
 1438|    165|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1439|    165|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1439:13): [True: 0, False: 165]
  |  Branch (1439:26): [True: 0, False: 0]
  ------------------
 1440|      0|            return -1;
 1441|      0|        }
 1442|    165|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|    330|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|    165|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|    165|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 165, False: 0]
  |  |  |  Branch (68:37): [True: 163, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1442:13): [True: 165, False: 0]
  |  Branch (1442:51): [True: 163, False: 0]
  |  Branch (1442:63): [True: 159, False: 4]
  ------------------
 1443|    159|            assert(_Py_IsImmortal(newconst));
 1444|    159|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|    159|    do { \
  |  |  117|    159|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    159|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    159|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    159|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    159|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 159]
  |  |  ------------------
  ------------------
 1445|    159|            return 1;
 1446|    159|        }
 1447|    165|    }
 1448|  1.84k|    return 0;
 1449|  2.00k|}
flowgraph.c:loads_const:
 1306|  15.2k|{
 1307|  15.2k|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1075|  30.5k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|  15.2k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 2.09k, False: 13.1k]
  |  |  ------------------
  ------------------
 1308|  13.1k|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  106|  28.4k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (1308:12): [True: 167, False: 13.0k]
  ------------------
 1309|  13.0k|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   93|  13.0k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (1309:12): [True: 8, False: 13.0k]
  ------------------
 1310|  15.2k|}
flowgraph.c:add_const:
 1350|     48|{
 1351|     48|    if (_PyCompile_ConstCacheMergeOne(const_cache, &newconst) < 0) {
  ------------------
  |  Branch (1351:9): [True: 0, False: 48]
  ------------------
 1352|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|      0|        return -1;
 1354|      0|    }
 1355|       |
 1356|     48|    _Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(consts_index, (void *)newconst);
 1357|     48|    if (entry != NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 48]
  ------------------
 1358|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|      0|        return (int)(uintptr_t)entry->value;
 1360|      0|    }
 1361|       |
 1362|     48|    Py_ssize_t index = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|     48|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|     48|    if ((size_t)index >= (size_t)INT_MAX - 1) {
  ------------------
  |  Branch (1363:9): [True: 0, False: 48]
  ------------------
 1364|      0|        PyErr_SetString(PyExc_OverflowError, "too many constants");
 1365|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      0|        return -1;
 1367|      0|    }
 1368|     48|    if (PyList_Append(consts, newconst)) {
  ------------------
  |  Branch (1368:9): [True: 0, False: 48]
  ------------------
 1369|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      0|        return -1;
 1371|      0|    }
 1372|       |
 1373|     48|    if (_Py_hashtable_set(consts_index, (void *)newconst, (void *)(uintptr_t)index) < 0) {
  ------------------
  |  Branch (1373:9): [True: 0, False: 48]
  ------------------
 1374|      0|        PyList_SetSlice(consts, index, index + 1, NULL);
 1375|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|      0|        PyErr_NoMemory();
 1377|      0|        return -1;
 1378|      0|    }
 1379|       |
 1380|     48|    Py_DECREF(newconst);
  ------------------
  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1381|     48|    return (int)index;
 1382|     48|}
flowgraph.c:maybe_instr_make_load_common_const:
 1458|  1.84k|{
 1459|  1.84k|    int oparg;
 1460|  1.84k|    if (newconst == Py_None) {
  ------------------
  |  |  616|  1.84k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1460:9): [True: 255, False: 1.59k]
  ------------------
 1461|    255|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|    255|#define CONSTANT_NONE 7
  ------------------
 1462|    255|    }
 1463|  1.59k|    else if (newconst == Py_True) {
  ------------------
  |  |   26|  1.59k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1463:14): [True: 50, False: 1.54k]
  ------------------
 1464|     50|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|     50|#define CONSTANT_TRUE 9
  ------------------
 1465|     50|    }
 1466|  1.54k|    else if (newconst == Py_False) {
  ------------------
  |  |   25|  1.54k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1466:14): [True: 2, False: 1.54k]
  ------------------
 1467|      2|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|      2|#define CONSTANT_FALSE 10
  ------------------
 1468|      2|    }
 1469|  1.54k|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|  1.54k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 836, False: 705]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|    836|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  299|    836|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1470:17): [True: 0, False: 836]
  ------------------
 1471|      0|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|      0|#define CONSTANT_EMPTY_STR 8
  ------------------
 1472|      0|    }
 1473|  1.54k|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|  1.54k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 185, False: 1.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|    185|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|    185|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1474:17): [True: 0, False: 185]
  ------------------
 1475|      0|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|      0|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1476|      0|    }
 1477|  1.54k|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  1.54k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.54k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      6|        int overflow;
 1479|      6|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1480|      6|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1480:13): [True: 0, False: 6]
  |  Branch (1480:26): [True: 0, False: 0]
  ------------------
 1481|      0|            return -1;
 1482|      0|        }
 1483|      6|        if (overflow || val != -1) {
  ------------------
  |  Branch (1483:13): [True: 0, False: 6]
  |  Branch (1483:25): [True: 6, False: 0]
  ------------------
 1484|      6|            return 0;
 1485|      6|        }
 1486|      0|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|      0|#define CONSTANT_MINUS_ONE 11
  ------------------
 1487|      0|    }
 1488|  1.53k|    else {
 1489|  1.53k|        return 0;
 1490|  1.53k|    }
 1491|  1.84k|    assert(_Py_IsImmortal(newconst));
 1492|       |    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|    307|    do { \
  |  |  117|    307|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    307|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    307|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    307|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    307|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 307]
  |  |  ------------------
  ------------------
 1493|    307|    return 1;
 1494|  1.84k|}
flowgraph.c:optimize_basic_block:
 2401|  1.76k|{
 2402|  1.76k|    assert(PyDict_CheckExact(const_cache));
 2403|  1.76k|    assert(PyList_CheckExact(consts));
 2404|  1.76k|    cfg_instr nop;
 2405|  1.76k|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|  1.76k|    do { \
  |  |  126|  1.76k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.76k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.76k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.76k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.76k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
 2406|  15.9k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2406:21): [True: 14.2k, False: 1.76k]
  ------------------
 2407|  14.2k|        cfg_instr *inst = &bb->b_instr[i];
 2408|  14.2k|        cfg_instr *target;
 2409|  14.2k|        int opcode = inst->i_opcode;
 2410|  14.2k|        int oparg = inst->i_oparg;
 2411|  14.2k|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  14.2k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  28.4k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  14.2k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 398, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  13.8k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  27.6k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  |  |   19|  13.8k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  27.6k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  |  |   20|  13.8k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  13.8k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2412|    398|            assert(inst->i_target->b_iused > 0);
 2413|    398|            target = &inst->i_target->b_instr[0];
 2414|    398|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
 2415|    398|        }
 2416|  13.8k|        else {
 2417|  13.8k|            target = &nop;
 2418|  13.8k|        }
 2419|  14.2k|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2419:22): [True: 12.8k, False: 1.35k]
  ------------------
 2420|  14.2k|        assert(!IS_ASSEMBLER_OPCODE(opcode));
 2421|  14.2k|        switch (opcode) {
  ------------------
  |  Branch (2421:17): [True: 2.29k, False: 11.9k]
  ------------------
 2422|       |            /* Try to fold tuples of constants.
 2423|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2424|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2425|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2426|    341|            case BUILD_TUPLE:
  ------------------
  |  |   62|    341|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2426:13): [True: 341, False: 13.8k]
  ------------------
 2427|    341|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  131|    682|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (2427:21): [True: 0, False: 341]
  |  Branch (2427:50): [True: 0, False: 0]
  ------------------
 2428|      0|                    switch(oparg) {
  ------------------
  |  Branch (2428:28): [True: 0, False: 0]
  ------------------
 2429|      0|                        case 1:
  ------------------
  |  Branch (2429:25): [True: 0, False: 0]
  ------------------
 2430|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2431|      0|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2432|      0|                            continue;
 2433|      0|                        case 2:
  ------------------
  |  Branch (2433:25): [True: 0, False: 0]
  ------------------
 2434|      0|                        case 3:
  ------------------
  |  Branch (2434:25): [True: 0, False: 0]
  ------------------
 2435|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2436|      0|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  129|      0|#define SWAP                                   116
  ------------------
 2437|      0|                            continue;
 2438|      0|                    }
 2439|      0|                }
 2440|    341|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|    341|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 341]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2441|    341|                break;
 2442|      2|            case BUILD_LIST:
  ------------------
  |  |   57|      2|#define BUILD_LIST                              44
  ------------------
  |  Branch (2442:13): [True: 2, False: 14.2k]
  ------------------
 2443|     50|            case BUILD_SET:
  ------------------
  |  |   59|     50|#define BUILD_SET                               46
  ------------------
  |  Branch (2443:13): [True: 48, False: 14.1k]
  ------------------
 2444|     50|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|     50|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 50]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2445|     50|                break;
 2446|      0|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (2446:13): [True: 0, False: 14.2k]
  ------------------
 2447|      0|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (2447:13): [True: 0, False: 14.2k]
  ------------------
 2448|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2448:25): [True: 0, False: 0]
  ------------------
 2449|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2449:21): [True: 0, False: 0]
  ------------------
 2450|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2451|      0|                }
 2452|      0|                break;
 2453|    170|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|    170|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2453:13): [True: 170, False: 14.0k]
  ------------------
 2454|    170|                switch (target->i_opcode) {
  ------------------
  |  Branch (2454:25): [True: 0, False: 170]
  ------------------
 2455|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2455:21): [True: 0, False: 170]
  ------------------
 2456|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
 2457|    170|                }
 2458|    170|                break;
 2459|    170|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|     50|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2459:13): [True: 50, False: 14.1k]
  ------------------
 2460|     50|                switch (target->i_opcode) {
  ------------------
  |  Branch (2460:25): [True: 0, False: 50]
  ------------------
 2461|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2461:21): [True: 0, False: 50]
  ------------------
 2462|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
 2463|     50|                }
 2464|     50|                break;
 2465|    162|            case JUMP_IF_FALSE:
  ------------------
  |  |  249|    162|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2465:13): [True: 162, False: 14.0k]
  ------------------
 2466|    162|                switch (target->i_opcode) {
  ------------------
  |  Branch (2466:25): [True: 0, False: 162]
  ------------------
 2467|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2467:21): [True: 0, False: 162]
  ------------------
 2468|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2468:21): [True: 0, False: 162]
  ------------------
 2469|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2470|      0|                        continue;
 2471|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2471:21): [True: 0, False: 162]
  ------------------
 2472|       |                        // No need to check for loops here, a block's b_next
 2473|       |                        // cannot point to itself.
 2474|      0|                        assert(inst->i_target != inst->i_target->b_next);
 2475|      0|                        inst->i_target = inst->i_target->b_next;
 2476|      0|                        i--;
 2477|      0|                        continue;
 2478|    162|                }
 2479|    162|                break;
 2480|    162|            case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2480:13): [True: 0, False: 14.2k]
  ------------------
 2481|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2481:25): [True: 0, False: 0]
  ------------------
 2482|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2482:21): [True: 0, False: 0]
  ------------------
 2483|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2483:21): [True: 0, False: 0]
  ------------------
 2484|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2485|      0|                        continue;
 2486|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2486:21): [True: 0, False: 0]
  ------------------
 2487|       |                        // No need to check for loops here, a block's b_next
 2488|       |                        // cannot point to itself.
 2489|      0|                        assert(inst->i_target != inst->i_target->b_next);
 2490|      0|                        inst->i_target = inst->i_target->b_next;
 2491|      0|                        i--;
 2492|      0|                        continue;
 2493|      0|                }
 2494|      0|                break;
 2495|      2|            case JUMP:
  ------------------
  |  |  248|      2|#define JUMP                                   257
  ------------------
  |  Branch (2495:13): [True: 2, False: 14.2k]
  ------------------
 2496|     14|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|     14|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2496:13): [True: 12, False: 14.2k]
  ------------------
 2497|     14|                switch (target->i_opcode) {
  ------------------
  |  Branch (2497:25): [True: 0, False: 14]
  ------------------
 2498|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2498:21): [True: 0, False: 14]
  ------------------
 2499|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
 2500|      0|                        continue;
 2501|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2501:21): [True: 0, False: 14]
  ------------------
 2502|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2503|      0|                        continue;
 2504|     14|                }
 2505|     14|                break;
 2506|     14|            case FOR_ITER:
  ------------------
  |  |   81|      2|#define FOR_ITER                                68
  ------------------
  |  Branch (2506:13): [True: 2, False: 14.2k]
  ------------------
 2507|      2|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  248|      2|#define JUMP                                   257
  ------------------
  |  Branch (2507:21): [True: 0, False: 2]
  ------------------
 2508|       |                    /* This will not work now because the jump (at target) could
 2509|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2510|       |                     * can re-enable this if ever we implement a backward version
 2511|       |                     * of FOR_ITER.
 2512|       |                     */
 2513|       |                    /*
 2514|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2515|       |                    */
 2516|      0|                }
 2517|      2|                break;
 2518|    331|            case STORE_FAST:
  ------------------
  |  |  124|    331|#define STORE_FAST                             111
  ------------------
  |  Branch (2518:13): [True: 331, False: 13.8k]
  ------------------
 2519|    331|                if (opcode == nextop &&
  ------------------
  |  Branch (2519:21): [True: 2, False: 329]
  ------------------
 2520|      2|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2520:21): [True: 0, False: 2]
  ------------------
 2521|      0|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2521:21): [True: 0, False: 0]
  ------------------
 2522|      0|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
 2523|      0|                    bb->b_instr[i].i_oparg = 0;
 2524|      0|                }
 2525|    331|                break;
 2526|      4|            case SWAP:
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (2526:13): [True: 4, False: 14.2k]
  ------------------
 2527|      4|                if (oparg == 1) {
  ------------------
  |  Branch (2527:21): [True: 0, False: 4]
  ------------------
 2528|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2529|      0|                }
 2530|      4|                break;
 2531|    506|            case LOAD_GLOBAL:
  ------------------
  |  |  104|    506|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (2531:13): [True: 506, False: 13.7k]
  ------------------
 2532|    506|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|  1.01k|#define PUSH_NULL                               31
  ------------------
  |  Branch (2532:21): [True: 168, False: 338]
  |  Branch (2532:44): [True: 168, False: 0]
  ------------------
 2533|    168|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|    168|    do { \
  |  |  117|    168|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    168|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    168|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    168|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    168|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 168]
  |  |  ------------------
  ------------------
 2534|    168|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|    168|    do { \
  |  |  126|    168|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    168|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    168|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    168|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    168|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 168]
  |  |  ------------------
  ------------------
 2535|    168|                }
 2536|    506|                break;
 2537|    234|            case COMPARE_OP:
  ------------------
  |  |   67|    234|#define COMPARE_OP                              54
  ------------------
  |  Branch (2537:13): [True: 234, False: 13.9k]
  ------------------
 2538|    234|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|    234|#define TO_BOOL                                 37
  ------------------
  |  Branch (2538:21): [True: 8, False: 226]
  ------------------
 2539|      8|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      8|    do { \
  |  |  126|      8|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      8|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      8|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2540|      8|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|      8|    do { \
  |  |  117|      8|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      8|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      8|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2541|      8|                    continue;
 2542|      8|                }
 2543|    226|                break;
 2544|    226|            case CONTAINS_OP:
  ------------------
  |  |   68|     96|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2544:13): [True: 96, False: 14.1k]
  ------------------
 2545|    392|            case IS_OP:
  ------------------
  |  |   86|    392|#define IS_OP                                   73
  ------------------
  |  Branch (2545:13): [True: 296, False: 13.9k]
  ------------------
 2546|    392|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|    392|#define TO_BOOL                                 37
  ------------------
  |  Branch (2546:21): [True: 196, False: 196]
  ------------------
 2547|    196|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    196|    do { \
  |  |  126|    196|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    196|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    196|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    196|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    196|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 196]
  |  |  ------------------
  ------------------
 2548|    196|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|    196|    do { \
  |  |  117|    196|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    196|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    196|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    196|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    196|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 196]
  |  |  ------------------
  ------------------
 2549|    196|                    continue;
 2550|    196|                }
 2551|    196|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|    196|#define UNARY_NOT                               40
  ------------------
  |  Branch (2551:21): [True: 0, False: 196]
  ------------------
 2552|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2553|      0|                    int inverted = oparg ^ 1;
 2554|      0|                    assert(inverted == 0 || inverted == 1);
 2555|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2556|      0|                    continue;
 2557|      0|                }
 2558|    196|                break;
 2559|    196|            case TO_BOOL:
  ------------------
  |  |   50|     10|#define TO_BOOL                                 37
  ------------------
  |  Branch (2559:13): [True: 10, False: 14.2k]
  ------------------
 2560|     10|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|     10|#define TO_BOOL                                 37
  ------------------
  |  Branch (2560:21): [True: 0, False: 10]
  ------------------
 2561|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2562|      0|                    continue;
 2563|      0|                }
 2564|     10|                break;
 2565|     10|            case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2565:13): [True: 0, False: 14.2k]
  ------------------
 2566|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2566:21): [True: 0, False: 0]
  ------------------
 2567|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2568|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2569|      0|                    continue;
 2570|      0|                }
 2571|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2571:21): [True: 0, False: 0]
  ------------------
 2572|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2573|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2574|      0|                    continue;
 2575|      0|                }
 2576|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2577|      0|            case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2577:13): [True: 0, False: 14.2k]
  ------------------
 2578|      2|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|      2|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2578:13): [True: 2, False: 14.2k]
  ------------------
 2579|      2|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2580|      2|                break;
 2581|      2|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      2|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2581:13): [True: 2, False: 14.2k]
  ------------------
 2582|      2|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|      2|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2582:21): [True: 2, False: 0]
  ------------------
 2583|      2|                    if (nextop == GET_ITER) {
  ------------------
  |  |   83|      2|#define GET_ITER                                70
  ------------------
  |  Branch (2583:25): [True: 0, False: 2]
  ------------------
 2584|      0|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2585|      0|                    }
 2586|      2|                    else {
 2587|      2|                        RETURN_IF_ERROR(fold_constant_intrinsic_list_to_tuple(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2588|      2|                    }
 2589|      2|                }
 2590|      0|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2590:26): [True: 0, False: 0]
  ------------------
 2591|      0|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2592|      0|                }
 2593|      2|                break;
 2594|     22|            case BINARY_OP:
  ------------------
  |  |   55|     22|#define BINARY_OP                               42
  ------------------
  |  Branch (2594:13): [True: 22, False: 14.1k]
  ------------------
 2595|     22|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|     22|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 22]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2596|     22|                break;
 2597|  14.2k|        }
 2598|  14.2k|    }
 2599|       |
 2600|  15.9k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2600:21): [True: 14.2k, False: 1.76k]
  ------------------
 2601|  14.2k|        cfg_instr *inst = &bb->b_instr[i];
 2602|  14.2k|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  129|  14.2k|#define SWAP                                   116
  ------------------
  |  Branch (2602:13): [True: 4, False: 14.2k]
  ------------------
 2603|      4|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2603:17): [True: 0, False: 4]
  ------------------
 2604|      0|                goto error;
 2605|      0|            }
 2606|      4|            apply_static_swaps(bb, i);
 2607|      4|        }
 2608|  14.2k|    }
 2609|  1.76k|    return SUCCESS;
  ------------------
  |  |   21|  1.76k|#define SUCCESS 0
  ------------------
 2610|      0|error:
 2611|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2612|  1.76k|}
flowgraph.c:fold_tuple_of_constants:
 1533|    341|{
 1534|       |    /* Pre-conditions */
 1535|    341|    assert(PyDict_CheckExact(const_cache));
 1536|    341|    assert(PyList_CheckExact(consts));
 1537|       |
 1538|    341|    cfg_instr *instr = &bb->b_instr[i];
 1539|    341|    assert(instr->i_opcode == BUILD_TUPLE);
 1540|       |
 1541|    341|    int seq_size = instr->i_oparg;
 1542|    341|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    341|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1542:9): [True: 0, False: 341]
  ------------------
 1543|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1544|      0|    }
 1545|       |
 1546|    341|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1547|    341|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1547:9): [True: 341, False: 0]
  ------------------
 1548|       |        /* not a const sequence */
 1549|    341|        return SUCCESS;
  ------------------
  |  |   21|    341|#define SUCCESS 0
  ------------------
 1550|    341|    }
 1551|       |
 1552|      0|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1553|      0|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 0]
  ------------------
 1554|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1555|      0|    }
 1556|       |
 1557|      0|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1557:21): [True: 0, False: 0]
  ------------------
 1558|      0|        cfg_instr *inst = const_instrs[i];
 1559|      0|        assert(loads_const(inst->i_opcode));
 1560|      0|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1561|      0|        if (element == NULL) {
  ------------------
  |  Branch (1561:13): [True: 0, False: 0]
  ------------------
 1562|      0|            Py_DECREF(const_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1564|      0|        }
 1565|      0|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|      0|    }
 1567|       |
 1568|      0|    nop_out(const_instrs, seq_size);
 1569|      0|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1570|      0|}
flowgraph.c:get_const_loading_instrs:
 1393|    413|{
 1394|    413|    assert(start < bb->b_iused);
 1395|    413|    assert(size >= 0);
 1396|    413|    assert(size <= _PY_STACK_USE_GUIDELINE);
 1397|       |
 1398|    669|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1398:12): [True: 669, False: 0]
  |  Branch (1398:26): [True: 621, False: 48]
  ------------------
 1399|    621|        cfg_instr *instr = &bb->b_instr[start];
 1400|    621|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|    621|#define NOP                                     25
  ------------------
  |  Branch (1400:13): [True: 0, False: 621]
  ------------------
 1401|      0|            continue;
 1402|      0|        }
 1403|    621|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1403:13): [True: 365, False: 256]
  ------------------
 1404|    365|            return false;
 1405|    365|        }
 1406|    256|        instrs[--size] = instr;
 1407|    256|    }
 1408|       |
 1409|     48|    return size == 0;
 1410|    413|}
flowgraph.c:nop_out:
 1418|     48|{
 1419|    296|    for (int i = 0; i < size; i++) {
  ------------------
  |  Branch (1419:21): [True: 248, False: 48]
  ------------------
 1420|    248|        cfg_instr *instr = instrs[i];
 1421|    248|        assert(instr->i_opcode != NOP);
 1422|    248|        INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|    248|    do { \
  |  |  126|    248|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    248|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    248|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    248|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    248|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 248]
  |  |  ------------------
  ------------------
 1423|    248|        INSTR_SET_LOC(instr, NO_LOCATION);
  ------------------
  |  |  133|    248|    do { \
  |  |  134|    248|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|    248|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|    248|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 248]
  |  |  ------------------
  ------------------
 1424|    248|    }
 1425|     48|}
flowgraph.c:optimize_lists_and_sets:
 1678|     50|{
 1679|     50|    assert(PyDict_CheckExact(const_cache));
 1680|     50|    assert(PyList_CheckExact(consts));
 1681|       |
 1682|     50|    cfg_instr *instr = &bb->b_instr[i];
 1683|     50|    assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
 1684|       |
 1685|     50|    bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   83|    100|#define GET_ITER                                70
  ------------------
                  bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   68|    100|#define CONTAINS_OP                             55
  ------------------
  |  Branch (1685:29): [True: 0, False: 50]
  |  Branch (1685:51): [True: 48, False: 2]
  ------------------
 1686|     50|    int seq_size = instr->i_oparg;
 1687|     50|    if (seq_size > _PY_STACK_USE_GUIDELINE ||
  ------------------
  |  |   24|    100|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1687:9): [True: 0, False: 50]
  ------------------
 1688|     50|        (seq_size < MIN_CONST_SEQUENCE_SIZE && !contains_or_iter))
  ------------------
  |  | 1662|    100|#define MIN_CONST_SEQUENCE_SIZE 3
  ------------------
  |  Branch (1688:10): [True: 22, False: 28]
  |  Branch (1688:48): [True: 2, False: 20]
  ------------------
 1689|      2|    {
 1690|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1691|      2|    }
 1692|       |
 1693|     48|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1694|     48|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {  /* not a const sequence */
  ------------------
  |  Branch (1694:9): [True: 0, False: 48]
  ------------------
 1695|      0|        if (contains_or_iter && instr->i_opcode == BUILD_LIST) {
  ------------------
  |  |   57|      0|#define BUILD_LIST                              44
  ------------------
  |  Branch (1695:13): [True: 0, False: 0]
  |  Branch (1695:33): [True: 0, False: 0]
  ------------------
 1696|       |            /* iterate over a tuple instead of list */
 1697|      0|            INSTR_SET_OP1(instr, BUILD_TUPLE, instr->i_oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1698|      0|        }
 1699|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1700|      0|    }
 1701|       |
 1702|     48|    PyObject *const_result = PyTuple_New((Py_ssize_t)seq_size);
 1703|     48|    if (const_result == NULL) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 48]
  ------------------
 1704|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1705|      0|    }
 1706|       |
 1707|    296|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1707:21): [True: 248, False: 48]
  ------------------
 1708|    248|        cfg_instr *inst = const_instrs[i];
 1709|    248|        assert(loads_const(inst->i_opcode));
 1710|    248|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1711|    248|        if (element == NULL) {
  ------------------
  |  Branch (1711:13): [True: 0, False: 248]
  ------------------
 1712|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1714|      0|        }
 1715|    248|        PyTuple_SET_ITEM(const_result, i, element);
  ------------------
  |  |   40|    248|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|    248|    }
 1717|       |
 1718|     48|    if (instr->i_opcode == BUILD_SET) {
  ------------------
  |  |   59|     48|#define BUILD_SET                               46
  ------------------
  |  Branch (1718:9): [True: 48, False: 0]
  ------------------
 1719|     48|        PyObject *frozenset = PyFrozenSet_New(const_result);
 1720|     48|        if (frozenset == NULL) {
  ------------------
  |  Branch (1720:13): [True: 0, False: 48]
  ------------------
 1721|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1722|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1723|      0|        }
 1724|     48|        Py_SETREF(const_result, frozenset);
  ------------------
  |  |  352|     48|    do { \
  |  |  353|     48|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     48|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     48|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     48|        *_tmp_dst_ptr = (src); \
  |  |  356|     48|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     48|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1725|     48|    }
 1726|       |
 1727|     48|    int index = add_const(const_result, consts, const_cache, consts_index);
 1728|     48|    RETURN_IF_ERROR(index);
  ------------------
  |  |   25|     48|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 48]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1729|     48|    nop_out(const_instrs, seq_size);
 1730|       |
 1731|     48|    if (contains_or_iter) {
  ------------------
  |  Branch (1731:9): [True: 48, False: 0]
  ------------------
 1732|     48|        INSTR_SET_OP1(instr, LOAD_CONST, index);
  ------------------
  |  |  116|     48|    do { \
  |  |  117|     48|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|     48|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|     48|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|     48|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|     48|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1733|     48|    }
 1734|      0|    else {
 1735|      0|        assert(i >= 2);
 1736|      0|        assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
 1737|       |
 1738|      0|        INSTR_SET_LOC(&bb->b_instr[i-2], instr->i_loc);
  ------------------
  |  |  133|      0|    do { \
  |  |  134|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|      0|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1739|       |
 1740|      0|        INSTR_SET_OP1(&bb->b_instr[i-2], instr->i_opcode, 0);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1741|      0|        INSTR_SET_OP1(&bb->b_instr[i-1], LOAD_CONST, index);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1742|      0|        INSTR_SET_OP1(&bb->b_instr[i], instr->i_opcode == BUILD_LIST ? LIST_EXTEND : SET_UPDATE, 1);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  ------------------
  |  |  |  Branch (119:35): [True: 0, False: 0]
  |  |  ------------------
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1743|      0|    }
 1744|     48|    return SUCCESS;
  ------------------
  |  |   21|     48|#define SUCCESS 0
  ------------------
 1745|     48|}
flowgraph.c:fold_const_unaryop:
 2015|      2|{
 2016|      2|    #define UNARYOP_OPERAND_COUNT 1
 2017|      2|    assert(PyDict_CheckExact(const_cache));
 2018|      2|    assert(PyList_CheckExact(consts));
 2019|      2|    cfg_instr *unaryop = &bb->b_instr[i];
 2020|       |
 2021|      2|    cfg_instr *operand_instr;
 2022|      2|    if (!get_const_loading_instrs(bb, i-1, &operand_instr, UNARYOP_OPERAND_COUNT)) {
  ------------------
  |  | 2016|      2|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
  |  Branch (2022:9): [True: 2, False: 0]
  ------------------
 2023|       |        /* not a const */
 2024|      2|        return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 2025|      2|    }
 2026|       |
 2027|      2|    assert(loads_const(operand_instr->i_opcode));
 2028|      0|    PyObject *operand = get_const_value(
 2029|      0|        operand_instr->i_opcode,
 2030|      0|        operand_instr->i_oparg,
 2031|      0|        consts
 2032|      0|    );
 2033|      0|    if (operand == NULL) {
  ------------------
  |  Branch (2033:9): [True: 0, False: 0]
  ------------------
 2034|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2035|      0|    }
 2036|       |
 2037|      0|    PyObject *newconst = eval_const_unaryop(operand, unaryop->i_opcode, unaryop->i_oparg);
 2038|      0|    Py_DECREF(operand);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|      0|    if (newconst == NULL) {
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (2040:13): [True: 0, False: 0]
  ------------------
 2041|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2042|      0|        }
 2043|      0|        PyErr_Clear();
 2044|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 2045|      0|    }
 2046|       |
 2047|      0|    if (unaryop->i_opcode == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2047:9): [True: 0, False: 0]
  ------------------
 2048|      0|        assert(PyBool_Check(newconst));
 2049|      0|    }
 2050|      0|    nop_out(&operand_instr, UNARYOP_OPERAND_COUNT);
  ------------------
  |  | 2016|      0|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
 2051|      0|    return instr_make_load_const(unaryop, newconst, consts, const_cache, consts_index);
 2052|      0|}
flowgraph.c:fold_constant_intrinsic_list_to_tuple:
 1589|      2|{
 1590|      2|    assert(PyDict_CheckExact(const_cache));
 1591|      2|    assert(PyList_CheckExact(consts));
 1592|      2|    assert(i >= 0);
 1593|      2|    assert(i < bb->b_iused);
 1594|       |
 1595|      2|    cfg_instr *intrinsic = &bb->b_instr[i];
 1596|      2|    assert(intrinsic->i_opcode == CALL_INTRINSIC_1);
 1597|      2|    assert(intrinsic->i_oparg == INTRINSIC_LIST_TO_TUPLE);
 1598|       |
 1599|      2|    int consts_found = 0;
 1600|      2|    bool expect_append = true;
 1601|       |
 1602|      2|    for (int pos = i - 1; pos >= 0; pos--) {
  ------------------
  |  Branch (1602:27): [True: 2, False: 0]
  ------------------
 1603|      2|        cfg_instr *instr = &bb->b_instr[pos];
 1604|      2|        int opcode = instr->i_opcode;
 1605|      2|        int oparg = instr->i_oparg;
 1606|       |
 1607|      2|        if (opcode == NOP) {
  ------------------
  |  |   38|      2|#define NOP                                     25
  ------------------
  |  Branch (1607:13): [True: 0, False: 2]
  ------------------
 1608|      0|            continue;
 1609|      0|        }
 1610|       |
 1611|      2|        if (opcode == BUILD_LIST && oparg == 0) {
  ------------------
  |  |   57|      4|#define BUILD_LIST                              44
  ------------------
  |  Branch (1611:13): [True: 0, False: 2]
  |  Branch (1611:37): [True: 0, False: 0]
  ------------------
 1612|      0|            if (!expect_append) {
  ------------------
  |  Branch (1612:17): [True: 0, False: 0]
  ------------------
 1613|       |                /* Not a sequence start. */
 1614|      0|                return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1615|      0|            }
 1616|       |
 1617|       |            /* Sequence start, we are done. */
 1618|      0|            PyObject *newconst = PyTuple_New((Py_ssize_t)consts_found);
 1619|      0|            if (newconst == NULL) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 0]
  ------------------
 1620|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1621|      0|            }
 1622|       |
 1623|      0|            for (int newpos = i - 1; newpos >= pos; newpos--) {
  ------------------
  |  Branch (1623:38): [True: 0, False: 0]
  ------------------
 1624|      0|                instr = &bb->b_instr[newpos];
 1625|      0|                if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1625:21): [True: 0, False: 0]
  ------------------
 1626|      0|                    continue;
 1627|      0|                }
 1628|      0|                if (loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1628:21): [True: 0, False: 0]
  ------------------
 1629|      0|                    PyObject *constant = get_const_value(instr->i_opcode, instr->i_oparg, consts);
 1630|      0|                    if (constant == NULL) {
  ------------------
  |  Branch (1630:25): [True: 0, False: 0]
  ------------------
 1631|      0|                        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|      0|                        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1633|      0|                    }
 1634|      0|                    assert(consts_found > 0);
 1635|      0|                    PyTuple_SET_ITEM(newconst, --consts_found, constant);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1636|      0|                }
 1637|      0|                nop_out(&instr, 1);
 1638|      0|            }
 1639|      0|            assert(consts_found == 0);
 1640|      0|            return instr_make_load_const(intrinsic, newconst, consts, const_cache, consts_index);
 1641|      0|        }
 1642|       |
 1643|      2|        if (expect_append) {
  ------------------
  |  Branch (1643:13): [True: 2, False: 0]
  ------------------
 1644|      2|            if (opcode != LIST_APPEND || oparg != 1) {
  ------------------
  |  |   90|      4|#define LIST_APPEND                             77
  ------------------
  |  Branch (1644:17): [True: 2, False: 0]
  |  Branch (1644:42): [True: 0, False: 0]
  ------------------
 1645|      2|                return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1646|      2|            }
 1647|      2|        }
 1648|      0|        else {
 1649|      0|            if (!loads_const(opcode)) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 0]
  ------------------
 1650|      0|                return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1651|      0|            }
 1652|      0|            consts_found++;
 1653|      0|        }
 1654|       |
 1655|      0|        expect_append = !expect_append;
 1656|      0|    }
 1657|       |
 1658|       |    /* Did not find sequence start. */
 1659|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1660|      2|}
flowgraph.c:fold_const_binop:
 1926|     22|{
 1927|     22|    #define BINOP_OPERAND_COUNT 2
 1928|     22|    assert(PyDict_CheckExact(const_cache));
 1929|     22|    assert(PyList_CheckExact(consts));
 1930|       |
 1931|     22|    cfg_instr *binop = &bb->b_instr[i];
 1932|     22|    assert(binop->i_opcode == BINARY_OP);
 1933|       |
 1934|     22|    cfg_instr *operands_instrs[BINOP_OPERAND_COUNT];
 1935|     22|    if (!get_const_loading_instrs(bb, i-1, operands_instrs, BINOP_OPERAND_COUNT)) {
  ------------------
  |  | 1927|     22|    #define BINOP_OPERAND_COUNT 2
  ------------------
  |  Branch (1935:9): [True: 22, False: 0]
  ------------------
 1936|       |        /* not a const sequence */
 1937|     22|        return SUCCESS;
  ------------------
  |  |   21|     22|#define SUCCESS 0
  ------------------
 1938|     22|    }
 1939|       |
 1940|      0|    cfg_instr *lhs_instr = operands_instrs[0];
 1941|      0|    assert(loads_const(lhs_instr->i_opcode));
 1942|      0|    PyObject *lhs = get_const_value(lhs_instr->i_opcode, lhs_instr->i_oparg, consts);
 1943|      0|    if (lhs == NULL) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 0]
  ------------------
 1944|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1945|      0|    }
 1946|       |
 1947|      0|    cfg_instr *rhs_instr = operands_instrs[1];
 1948|      0|    assert(loads_const(rhs_instr->i_opcode));
 1949|      0|    PyObject *rhs = get_const_value(rhs_instr->i_opcode, rhs_instr->i_oparg, consts);
 1950|      0|    if (rhs == NULL) {
  ------------------
  |  Branch (1950:9): [True: 0, False: 0]
  ------------------
 1951|      0|        Py_DECREF(lhs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1953|      0|    }
 1954|       |
 1955|      0|    PyObject *newconst = eval_const_binop(lhs, binop->i_oparg, rhs);
 1956|      0|    Py_DECREF(lhs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|      0|    Py_DECREF(rhs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1958|      0|    if (newconst == NULL) {
  ------------------
  |  Branch (1958:9): [True: 0, False: 0]
  ------------------
 1959|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (1959:13): [True: 0, False: 0]
  ------------------
 1960|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1961|      0|        }
 1962|      0|        PyErr_Clear();
 1963|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1964|      0|    }
 1965|       |
 1966|      0|    nop_out(operands_instrs, BINOP_OPERAND_COUNT);
  ------------------
  |  | 1927|      0|    #define BINOP_OPERAND_COUNT 2
  ------------------
 1967|      0|    return instr_make_load_const(binop, newconst, consts, const_cache, consts_index);
 1968|      0|}
flowgraph.c:swaptimize:
 2060|      4|{
 2061|       |    // NOTE: "./python -m test test_patma" serves as a good, quick stress test
 2062|       |    // for this function. Make sure to blow away cached *.pyc files first!
 2063|      4|    assert(*ix < block->b_iused);
 2064|      4|    cfg_instr *instructions = &block->b_instr[*ix];
 2065|       |    // Find the length of the current sequence of SWAPs and NOPs, and record the
 2066|       |    // maximum depth of the stack manipulations:
 2067|      4|    assert(instructions[0].i_opcode == SWAP);
 2068|      4|    int depth = instructions[0].i_oparg;
 2069|      4|    int len = 0;
 2070|      4|    int more = false;
 2071|      4|    int limit = block->b_iused - *ix;
 2072|      4|    while (++len < limit) {
  ------------------
  |  Branch (2072:12): [True: 4, False: 0]
  ------------------
 2073|      4|        int opcode = instructions[len].i_opcode;
 2074|      4|        if (opcode == SWAP) {
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (2074:13): [True: 0, False: 4]
  ------------------
 2075|      0|            depth = Py_MAX(depth, instructions[len].i_oparg);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2076|      0|            more = true;
 2077|      0|        }
 2078|      4|        else if (opcode != NOP) {
  ------------------
  |  |   38|      4|#define NOP                                     25
  ------------------
  |  Branch (2078:18): [True: 4, False: 0]
  ------------------
 2079|      4|            break;
 2080|      4|        }
 2081|      4|    }
 2082|       |    // It's already optimal if there's only one SWAP:
 2083|      4|    if (!more) {
  ------------------
  |  Branch (2083:9): [True: 4, False: 0]
  ------------------
 2084|      4|        return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2085|      4|    }
 2086|       |    // Create an array with elements {0, 1, 2, ..., depth - 1}:
 2087|      0|    int *stack = PyMem_Malloc(depth * sizeof(int));
 2088|      0|    if (stack == NULL) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 0]
  ------------------
 2089|      0|        PyErr_NoMemory();
 2090|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2091|      0|    }
 2092|      0|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2092:21): [True: 0, False: 0]
  ------------------
 2093|      0|        stack[i] = i;
 2094|      0|    }
 2095|       |    // Simulate the combined effect of these instructions by "running" them on
 2096|       |    // our "stack":
 2097|      0|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2097:21): [True: 0, False: 0]
  ------------------
 2098|      0|        if (instructions[i].i_opcode == SWAP) {
  ------------------
  |  |  129|      0|#define SWAP                                   116
  ------------------
  |  Branch (2098:13): [True: 0, False: 0]
  ------------------
 2099|      0|            int oparg = instructions[i].i_oparg;
 2100|      0|            int top = stack[0];
 2101|       |            // SWAPs are 1-indexed:
 2102|      0|            stack[0] = stack[oparg - 1];
 2103|      0|            stack[oparg - 1] = top;
 2104|      0|        }
 2105|      0|    }
 2106|       |    // Now we can begin! Our approach here is based on a solution to a closely
 2107|       |    // related problem (https://cs.stackexchange.com/a/13938). It's easiest to
 2108|       |    // think of this algorithm as determining the steps needed to efficiently
 2109|       |    // "un-shuffle" our stack. By performing the moves in *reverse* order,
 2110|       |    // though, we can efficiently *shuffle* it! For this reason, we will be
 2111|       |    // replacing instructions starting from the *end* of the run. Since the
 2112|       |    // solution is optimal, we don't need to worry about running out of space:
 2113|      0|    int current = len - 1;
 2114|      0|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2114:21): [True: 0, False: 0]
  ------------------
 2115|       |        // Skip items that have already been visited, or just happen to be in
 2116|       |        // the correct location:
 2117|      0|        if (stack[i] == VISITED || stack[i] == i) {
  ------------------
  |  | 2054|      0|#define VISITED (-1)
  ------------------
  |  Branch (2117:13): [True: 0, False: 0]
  |  Branch (2117:36): [True: 0, False: 0]
  ------------------
 2118|      0|            continue;
 2119|      0|        }
 2120|       |        // Okay, we've found an item that hasn't been visited. It forms a cycle
 2121|       |        // with other items; traversing the cycle and swapping each item with
 2122|       |        // the next will put them all in the correct place. The weird
 2123|       |        // loop-and-a-half is necessary to insert 0 into every cycle, since we
 2124|       |        // can only swap from that position:
 2125|      0|        int j = i;
 2126|      0|        while (true) {
  ------------------
  |  Branch (2126:16): [True: 0, Folded]
  ------------------
 2127|       |            // Skip the actual swap if our item is zero, since swapping the top
 2128|       |            // item with itself is pointless:
 2129|      0|            if (j) {
  ------------------
  |  Branch (2129:17): [True: 0, False: 0]
  ------------------
 2130|      0|                assert(0 <= current);
 2131|       |                // SWAPs are 1-indexed:
 2132|      0|                instructions[current].i_opcode = SWAP;
  ------------------
  |  |  129|      0|#define SWAP                                   116
  ------------------
 2133|      0|                instructions[current--].i_oparg = j + 1;
 2134|      0|            }
 2135|      0|            if (stack[j] == VISITED) {
  ------------------
  |  | 2054|      0|#define VISITED (-1)
  ------------------
  |  Branch (2135:17): [True: 0, False: 0]
  ------------------
 2136|       |                // Completed the cycle:
 2137|      0|                assert(j == i);
 2138|      0|                break;
 2139|      0|            }
 2140|      0|            int next_j = stack[j];
 2141|      0|            stack[j] = VISITED;
  ------------------
  |  | 2054|      0|#define VISITED (-1)
  ------------------
 2142|      0|            j = next_j;
 2143|      0|        }
 2144|      0|    }
 2145|       |    // NOP out any unused instructions:
 2146|      0|    while (0 <= current) {
  ------------------
  |  Branch (2146:12): [True: 0, False: 0]
  ------------------
 2147|      0|        INSTR_SET_OP0(&instructions[current--], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2148|      0|    }
 2149|      0|    PyMem_Free(stack);
 2150|      0|    *ix += len - 1;
 2151|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 2152|      0|}
flowgraph.c:apply_static_swaps:
 2195|      4|{
 2196|       |    // SWAPs are to our left, and potential swaperands are to our right:
 2197|      4|    for (; 0 <= i; i--) {
  ------------------
  |  Branch (2197:12): [True: 4, False: 0]
  ------------------
 2198|      4|        assert(i < block->b_iused);
 2199|      4|        cfg_instr *swap = &block->b_instr[i];
 2200|      4|        if (swap->i_opcode != SWAP) {
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (2200:13): [True: 0, False: 4]
  ------------------
 2201|      0|            if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
                          if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  | 2160|      0|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|      0|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2160:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 2161|      0|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2161:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 2162|      0|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|      0|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2162:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2201:17): [True: 0, False: 0]
  ------------------
 2202|       |                // Nope, but we know how to handle these. Keep looking:
 2203|      0|                continue;
 2204|      0|            }
 2205|       |            // We can't reason about what this instruction does. Bail:
 2206|      0|            return;
 2207|      0|        }
 2208|      4|        int j = next_swappable_instruction(block, i, -1);
 2209|      4|        if (j < 0) {
  ------------------
  |  Branch (2209:13): [True: 2, False: 2]
  ------------------
 2210|      2|            return;
 2211|      2|        }
 2212|      2|        int k = j;
 2213|      2|        int lineno = block->b_instr[j].i_loc.lineno;
 2214|      2|        for (int count = swap->i_oparg - 1; 0 < count; count--) {
  ------------------
  |  Branch (2214:45): [True: 2, False: 0]
  ------------------
 2215|      2|            k = next_swappable_instruction(block, k, lineno);
 2216|      2|            if (k < 0) {
  ------------------
  |  Branch (2216:17): [True: 2, False: 0]
  ------------------
 2217|      2|                return;
 2218|      2|            }
 2219|      2|        }
 2220|       |        // The reordering is not safe if the two instructions to be swapped
 2221|       |        // store to the same location, or if any intervening instruction stores
 2222|       |        // to the same location as either of them.
 2223|      0|        int store_j = STORES_TO(block->b_instr[j]);
  ------------------
  |  | 2165|      0|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|      0|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2166|      0|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2166:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2167|      0|     ? (instr).i_oparg : -1)
  ------------------
 2224|      0|        int store_k = STORES_TO(block->b_instr[k]);
  ------------------
  |  | 2165|      0|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|      0|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2166|      0|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2166:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2167|      0|     ? (instr).i_oparg : -1)
  ------------------
 2225|      0|        if (store_j >= 0 || store_k >= 0) {
  ------------------
  |  Branch (2225:13): [True: 0, False: 0]
  |  Branch (2225:29): [True: 0, False: 0]
  ------------------
 2226|      0|            if (store_j == store_k) {
  ------------------
  |  Branch (2226:17): [True: 0, False: 0]
  ------------------
 2227|      0|                return;
 2228|      0|            }
 2229|      0|            for (int idx = j + 1; idx < k; idx++) {
  ------------------
  |  Branch (2229:35): [True: 0, False: 0]
  ------------------
 2230|      0|                int store_idx = STORES_TO(block->b_instr[idx]);
  ------------------
  |  | 2165|      0|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|      0|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2166|      0|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2166:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2167|      0|     ? (instr).i_oparg : -1)
  ------------------
 2231|      0|                if (store_idx >= 0 && (store_idx == store_j || store_idx == store_k)) {
  ------------------
  |  Branch (2231:21): [True: 0, False: 0]
  |  Branch (2231:40): [True: 0, False: 0]
  |  Branch (2231:64): [True: 0, False: 0]
  ------------------
 2232|      0|                    return;
 2233|      0|                }
 2234|      0|            }
 2235|      0|        }
 2236|       |
 2237|       |        // Success!
 2238|      0|        INSTR_SET_OP0(swap, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2239|      0|        cfg_instr temp = block->b_instr[j];
 2240|      0|        block->b_instr[j] = block->b_instr[k];
 2241|      0|        block->b_instr[k] = temp;
 2242|      0|    }
 2243|      4|}
flowgraph.c:next_swappable_instruction:
 2171|      6|{
 2172|      6|    while (++i < block->b_iused) {
  ------------------
  |  Branch (2172:12): [True: 4, False: 2]
  ------------------
 2173|      4|        cfg_instr *instruction = &block->b_instr[i];
 2174|      4|        if (0 <= lineno && instruction->i_loc.lineno != lineno) {
  ------------------
  |  Branch (2174:13): [True: 0, False: 4]
  |  Branch (2174:28): [True: 0, False: 0]
  ------------------
 2175|       |            // Optimizing across this instruction could cause user-visible
 2176|       |            // changes in the names bound between line tracing events!
 2177|      0|            return -1;
 2178|      0|        }
 2179|      4|        if (instruction->i_opcode == NOP) {
  ------------------
  |  |   38|      4|#define NOP                                     25
  ------------------
  |  Branch (2179:13): [True: 0, False: 4]
  ------------------
 2180|      0|            continue;
 2181|      0|        }
 2182|      4|        if (SWAPPABLE(instruction->i_opcode)) {
  ------------------
  |  | 2160|      4|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|      8|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2160:6): [True: 0, False: 4]
  |  |  ------------------
  |  | 2161|      4|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  257|      8|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2161:6): [True: 0, False: 4]
  |  |  ------------------
  |  | 2162|      4|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|      4|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2162:6): [True: 2, False: 2]
  |  |  ------------------
  ------------------
 2183|      2|            return i;
 2184|      2|        }
 2185|      2|        return -1;
 2186|      4|    }
 2187|      2|    return -1;
 2188|      6|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1134|    733|{
 1135|    733|    bool done = false;
 1136|       |
 1137|  1.46k|    while (! done) {
  ------------------
  |  Branch (1137:12): [True: 733, False: 733]
  ------------------
 1138|    733|        done = true;
 1139|    733|        cfg_instr *prev_instr = NULL;
 1140|    733|        cfg_instr *instr = NULL;
 1141|  2.50k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1141:42): [True: 1.76k, False: 733]
  ------------------
 1142|  1.76k|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|  1.76k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1143|  1.76k|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|  1.76k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  1.76k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 282, False: 1.48k]
  |  |  ------------------
  ------------------
 1144|       |                /* this block is a jump target, forget instr */
 1145|    282|                instr = NULL;
 1146|    282|            }
 1147|  15.2k|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1147:29): [True: 13.4k, False: 1.76k]
  ------------------
 1148|  13.4k|                prev_instr = instr;
 1149|  13.4k|                instr = &b->b_instr[i];
 1150|  13.4k|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1150:35): [True: 12.1k, False: 1.35k]
  ------------------
 1151|  13.4k|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1151:34): [True: 12.1k, False: 1.35k]
  ------------------
 1152|  13.4k|                int opcode = instr->i_opcode;
 1153|  13.4k|                bool is_redundant_pair = false;
 1154|  13.4k|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|  13.4k|#define POP_TOP                                 29
  ------------------
  |  Branch (1154:21): [True: 449, False: 13.0k]
  ------------------
 1155|    449|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1155:24): [True: 0, False: 449]
  ------------------
 1156|      0|                       is_redundant_pair = true;
 1157|      0|                   }
 1158|    449|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|    898|#define COPY                                    57
  ------------------
  |  Branch (1158:29): [True: 0, False: 449]
  |  Branch (1158:52): [True: 0, False: 0]
  ------------------
 1159|      0|                       is_redundant_pair = true;
 1160|      0|                   }
 1161|    449|                }
 1162|  13.4k|                if (is_redundant_pair) {
  ------------------
  |  Branch (1162:21): [True: 0, False: 13.4k]
  ------------------
 1163|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1164|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1165|      0|                    done = false;
 1166|      0|                }
 1167|  13.4k|            }
 1168|  1.76k|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|  1.36k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1168:18): [True: 1.35k, False: 416]
  |  Branch (1168:27): [True: 398, False: 953]
  |  Branch (1168:46): [True: 889, False: 480]
  ------------------
 1169|  1.28k|                instr = NULL;
 1170|  1.28k|            }
 1171|  1.76k|        }
 1172|    733|    }
 1173|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 1174|    733|}
flowgraph.c:basicblock_remove_redundant_nops:
 1059|  7.06k|basicblock_remove_redundant_nops(basicblock *bb) {
 1060|       |    /* Remove NOPs when legal to do so. */
 1061|  7.06k|    int dest = 0;
 1062|  7.06k|    int prev_lineno = -1;
 1063|  61.9k|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1063:23): [True: 54.9k, False: 7.06k]
  ------------------
 1064|  54.9k|        int lineno = bb->b_instr[src].i_loc.lineno;
 1065|  54.9k|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|  54.9k|#define NOP                                     25
  ------------------
  |  Branch (1065:13): [True: 1.20k, False: 53.6k]
  ------------------
 1066|       |            /* Eliminate no-op if it doesn't have a line number */
 1067|  1.20k|            if (lineno < 0) {
  ------------------
  |  Branch (1067:17): [True: 248, False: 956]
  ------------------
 1068|    248|                continue;
 1069|    248|            }
 1070|       |            /* or, if the previous instruction had the same line number. */
 1071|    956|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1071:17): [True: 908, False: 48]
  ------------------
 1072|    908|                continue;
 1073|    908|            }
 1074|       |            /* or, if the next instruction has same line number or no line number */
 1075|     48|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1075:17): [True: 48, False: 0]
  ------------------
 1076|     48|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1077|     48|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1077:21): [True: 48, False: 0]
  ------------------
 1078|     48|                    continue;
 1079|     48|                }
 1080|      0|                if (next_lineno < 0) {
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1082|      0|                    continue;
 1083|      0|                }
 1084|      0|            }
 1085|      0|            else {
 1086|      0|                basicblock *next = next_nonempty_block(bb->b_next);
 1087|       |                /* or if last instruction in BB and next BB has same line number */
 1088|      0|                if (next) {
  ------------------
  |  Branch (1088:21): [True: 0, False: 0]
  ------------------
 1089|      0|                    location next_loc = NO_LOCATION;
 1090|      0|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1090:40): [True: 0, False: 0]
  ------------------
 1091|      0|                        cfg_instr *instr = &next->b_instr[next_i];
 1092|      0|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1092:29): [True: 0, False: 0]
  |  Branch (1092:55): [True: 0, False: 0]
  ------------------
 1093|       |                            /* Skip over NOPs without a location, they will be removed */
 1094|      0|                            continue;
 1095|      0|                        }
 1096|      0|                        next_loc = instr->i_loc;
 1097|      0|                        break;
 1098|      0|                    }
 1099|      0|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1099:25): [True: 0, False: 0]
  ------------------
 1100|      0|                        continue;
 1101|      0|                    }
 1102|      0|                }
 1103|      0|            }
 1104|       |
 1105|     48|        }
 1106|  53.6k|        if (dest != src) {
  ------------------
  |  Branch (1106:13): [True: 3.42k, False: 50.2k]
  ------------------
 1107|  3.42k|            bb->b_instr[dest] = bb->b_instr[src];
 1108|  3.42k|        }
 1109|  53.6k|        dest++;
 1110|  53.6k|        prev_lineno = lineno;
 1111|  53.6k|    }
 1112|       |    assert(dest <= bb->b_iused);
 1113|  7.06k|    int num_removed = bb->b_iused - dest;
 1114|  7.06k|    bb->b_iused = dest;
 1115|  7.06k|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1116|  7.06k|    return num_removed;
 1117|  7.06k|}
flowgraph.c:next_nonempty_block:
  503|    852|{
  504|    852|    while (b && b->b_iused == 0) {
  ------------------
  |  Branch (504:12): [True: 852, False: 0]
  |  Branch (504:17): [True: 0, False: 852]
  ------------------
  505|      0|        b = b->b_next;
  506|      0|    }
  507|    852|    return b;
  508|    852|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2618|  1.46k|{
 2619|  1.46k|    int removed_nops, removed_jumps;
 2620|  1.46k|    do {
 2621|       |        /* Convergence is guaranteed because the number of
 2622|       |         * redundant jumps and nops only decreases.
 2623|       |         */
 2624|  1.46k|        removed_nops = remove_redundant_nops(g);
 2625|  1.46k|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|  1.46k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.46k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2626|  1.46k|        removed_jumps = remove_redundant_jumps(g);
 2627|  1.46k|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|  1.46k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.46k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2628|  1.46k|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2628:13): [True: 0, False: 1.46k]
  ------------------
 2629|  1.46k|    return SUCCESS;
  ------------------
  |  |   21|  1.46k|#define SUCCESS 0
  ------------------
 2630|  1.46k|}
flowgraph.c:remove_redundant_nops:
 1120|  2.19k|remove_redundant_nops(cfg_builder *g) {
 1121|  2.19k|    int changes = 0;
 1122|  7.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1122:43): [True: 5.30k, False: 2.19k]
  ------------------
 1123|  5.30k|        int change = basicblock_remove_redundant_nops(b);
 1124|  5.30k|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|  5.30k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.30k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1125|  5.30k|        changes += change;
 1126|  5.30k|    }
 1127|  2.19k|    return changes;
 1128|  2.19k|}
flowgraph.c:remove_redundant_jumps:
 1177|  1.46k|remove_redundant_jumps(cfg_builder *g) {
 1178|       |    /* If a non-empty block ends with a jump instruction, check if the next
 1179|       |     * non-empty block reached through normal flow control is the target
 1180|       |     * of that jump. If it is, then the jump instruction is redundant and
 1181|       |     * can be deleted.
 1182|       |     *
 1183|       |     * Return the number of changes applied, or -1 on error.
 1184|       |     */
 1185|       |
 1186|  1.46k|    int changes = 0;
 1187|  5.00k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1187:43): [True: 3.53k, False: 1.46k]
  ------------------
 1188|  3.53k|        cfg_instr *last = basicblock_last_instr(b);
 1189|  3.53k|        if (last == NULL) {
  ------------------
  |  Branch (1189:13): [True: 832, False: 2.70k]
  ------------------
 1190|    832|            continue;
 1191|    832|        }
 1192|  3.53k|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
 1193|  2.70k|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  2.70k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  5.40k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 4, False: 2.69k]
  |  |  ------------------
  |  |   41|  2.70k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  5.40k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 24, False: 2.67k]
  |  |  ------------------
  |  |   42|  2.70k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  5.37k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   43|  2.70k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  5.37k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   44|  2.70k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  2.67k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 2.67k]
  |  |  ------------------
  ------------------
 1194|     28|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1195|     28|            if (jump_target == NULL) {
  ------------------
  |  Branch (1195:17): [True: 0, False: 28]
  ------------------
 1196|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1197|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1198|      0|            }
 1199|     28|            basicblock *next = next_nonempty_block(b->b_next);
 1200|     28|            if (jump_target == next) {
  ------------------
  |  Branch (1200:17): [True: 0, False: 28]
  ------------------
 1201|      0|                changes++;
 1202|      0|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1203|      0|            }
 1204|     28|        }
 1205|  2.70k|    }
 1206|       |
 1207|  1.46k|    return changes;
 1208|  1.46k|}
flowgraph.c:remove_unused_consts:
 3269|    733|{
 3270|    733|    assert(PyList_CheckExact(consts));
 3271|    733|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|    733|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|    733|    if (nconsts == 0) {
  ------------------
  |  Branch (3272:9): [True: 16, False: 717]
  ------------------
 3273|     16|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|     16|#define SUCCESS 0
  ------------------
 3274|     16|    }
 3275|       |
 3276|    717|    Py_ssize_t *index_map = NULL;
 3277|    717|    Py_ssize_t *reverse_index_map = NULL;
 3278|    717|    int err = ERROR;
  ------------------
  |  |   22|    717|#define ERROR -1
  ------------------
 3279|       |
 3280|    717|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3281|    717|    if (index_map == NULL) {
  ------------------
  |  Branch (3281:9): [True: 0, False: 717]
  ------------------
 3282|      0|        goto end;
 3283|      0|    }
 3284|  2.39k|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3284:28): [True: 1.67k, False: 717]
  ------------------
 3285|  1.67k|        index_map[i] = -1;
 3286|  1.67k|    }
 3287|       |    // The first constant may be docstring; keep it always.
 3288|    717|    index_map[0] = 0;
 3289|       |
 3290|       |    /* mark used consts */
 3291|  2.46k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3291:38): [True: 1.75k, False: 717]
  ------------------
 3292|  15.1k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3292:25): [True: 13.4k, False: 1.75k]
  ------------------
 3293|  13.4k|            int opcode = b->b_instr[i].i_opcode;
 3294|  13.4k|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1075|  13.4k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|  13.4k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 1.34k, False: 12.1k]
  |  |  ------------------
  ------------------
 3295|  1.34k|                int index = b->b_instr[i].i_oparg;
 3296|  1.34k|                index_map[index] = index;
 3297|  1.34k|            }
 3298|  13.4k|        }
 3299|  1.75k|    }
 3300|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3301|       |    /* condense consts */
 3302|    717|    Py_ssize_t n_used_consts = 0;
 3303|  3.11k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3303:28): [True: 2.39k, False: 717]
  ------------------
 3304|  2.39k|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3304:13): [True: 1.66k, False: 728]
  ------------------
 3305|  1.66k|            assert(index_map[i] == i);
 3306|  1.66k|            index_map[n_used_consts++] = index_map[i];
 3307|  1.66k|        }
 3308|  2.39k|    }
 3309|    717|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3309:9): [True: 213, False: 504]
  ------------------
 3310|       |        /* nothing to do */
 3311|    213|        err = SUCCESS;
  ------------------
  |  |   21|    213|#define SUCCESS 0
  ------------------
 3312|    213|        goto end;
 3313|    213|    }
 3314|       |
 3315|       |    /* move all used consts to the beginning of the consts list */
 3316|    717|    assert(n_used_consts < nconsts);
 3317|  1.95k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3317:28): [True: 1.45k, False: 504]
  ------------------
 3318|  1.45k|        Py_ssize_t old_index = index_map[i];
 3319|  1.45k|        assert(i <= old_index && old_index < nconsts);
 3320|  1.45k|        if (i != old_index) {
  ------------------
  |  Branch (3320:13): [True: 144, False: 1.31k]
  ------------------
 3321|    144|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|    144|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    144|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3322|    144|            assert(value != NULL);
 3323|    144|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  550|    144|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|    144|        }
 3325|  1.45k|    }
 3326|       |
 3327|       |    /* truncate the consts list at its new size */
 3328|    504|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3328:9): [True: 0, False: 504]
  ------------------
 3329|      0|        goto end;
 3330|      0|    }
 3331|       |    /* adjust const indices in the bytecode */
 3332|    504|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3333|    504|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3333:9): [True: 0, False: 504]
  ------------------
 3334|      0|        goto end;
 3335|      0|    }
 3336|  2.68k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3336:28): [True: 2.18k, False: 504]
  ------------------
 3337|  2.18k|        reverse_index_map[i] = -1;
 3338|  2.18k|    }
 3339|  1.95k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3339:28): [True: 1.45k, False: 504]
  ------------------
 3340|  1.45k|        assert(index_map[i] != -1);
 3341|  1.45k|        assert(reverse_index_map[index_map[i]] == -1);
 3342|  1.45k|        reverse_index_map[index_map[i]] = i;
 3343|  1.45k|    }
 3344|       |
 3345|  1.88k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3345:38): [True: 1.38k, False: 504]
  ------------------
 3346|  12.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3346:25): [True: 11.4k, False: 1.38k]
  ------------------
 3347|  11.4k|            int opcode = b->b_instr[i].i_opcode;
 3348|  11.4k|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1075|  11.4k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|  11.4k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 1.27k, False: 10.2k]
  |  |  ------------------
  ------------------
 3349|  1.27k|                int index = b->b_instr[i].i_oparg;
 3350|  1.27k|                assert(reverse_index_map[index] >= 0);
 3351|  1.27k|                assert(reverse_index_map[index] < n_used_consts);
 3352|  1.27k|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3353|  1.27k|            }
 3354|  11.4k|        }
 3355|  1.38k|    }
 3356|       |
 3357|    504|    err = SUCCESS;
  ------------------
  |  |   21|    504|#define SUCCESS 0
  ------------------
 3358|    717|end:
 3359|    717|    PyMem_Free(index_map);
 3360|    717|    PyMem_Free(reverse_index_map);
 3361|    717|    return err;
 3362|    504|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3370|    733|{
 3371|    733|    if (nlocals == 0) {
  ------------------
  |  Branch (3371:9): [True: 235, False: 498]
  ------------------
 3372|    235|        return SUCCESS;
  ------------------
  |  |   21|    235|#define SUCCESS 0
  ------------------
 3373|    235|    }
 3374|    498|    if (nlocals > 64) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 498]
  ------------------
 3375|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3376|       |        // 64 are only analyzed one basicblock at a time: initialization
 3377|       |        // info is not passed between basicblocks.
 3378|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3378:13): [True: 0, False: 0]
  ------------------
 3379|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3380|      0|        }
 3381|      0|        nlocals = 64;
 3382|      0|    }
 3383|    498|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3384|    498|    if (stack == NULL) {
  ------------------
  |  Branch (3384:9): [True: 0, False: 498]
  ------------------
 3385|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3386|      0|    }
 3387|    498|    basicblock **sp = stack;
 3388|       |
 3389|       |    // First origin of being uninitialized:
 3390|       |    // The non-parameter locals in the entry block.
 3391|    498|    uint64_t start_mask = 0;
 3392|    823|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3392:27): [True: 325, False: 498]
  ------------------
 3393|    325|        start_mask |= (uint64_t)1 << i;
 3394|    325|    }
 3395|    498|    maybe_push(entryblock, start_mask, &sp);
 3396|       |
 3397|       |    // Second origin of being uninitialized:
 3398|       |    // There could be DELETE_FAST somewhere, so
 3399|       |    // be sure to scan each basicblock at least once.
 3400|  2.01k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3400:38): [True: 1.51k, False: 498]
  ------------------
 3401|  1.51k|        scan_block_for_locals(b, &sp);
 3402|  1.51k|    }
 3403|       |    // Now propagate the uncertainty from the origins we found: Use
 3404|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3405|    669|    while (sp > stack) {
  ------------------
  |  Branch (3405:12): [True: 171, False: 498]
  ------------------
 3406|    171|        basicblock *b = *--sp;
 3407|       |        // mark as no longer on stack
 3408|    171|        b->b_visited = 0;
 3409|    171|        scan_block_for_locals(b, &sp);
 3410|    171|    }
 3411|    498|    PyMem_Free(stack);
 3412|    498|    return SUCCESS;
  ------------------
  |  |   21|    498|#define SUCCESS 0
  ------------------
 3413|    498|}
flowgraph.c:maybe_push:
 3157|  1.39k|{
 3158|       |    // Push b if the unsafe mask is giving us any new information.
 3159|       |    // To avoid overflowing the stack, only allow each block once.
 3160|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3161|  1.39k|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3162|  1.39k|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3162:9): [True: 171, False: 1.22k]
  ------------------
 3163|    171|        b->b_unsafe_locals_mask = both;
 3164|       |        // More work left to do.
 3165|    171|        if (!b->b_visited) {
  ------------------
  |  Branch (3165:13): [True: 171, False: 0]
  ------------------
 3166|       |            // not on the stack, so push it.
 3167|    171|            *(*sp)++ = b;
 3168|    171|            b->b_visited = 1;
 3169|    171|        }
 3170|    171|    }
 3171|  1.39k|}
flowgraph.c:scan_block_for_locals:
 3175|  1.68k|{
 3176|       |    // bit i is set if local i is potentially uninitialized
 3177|  1.68k|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3178|  16.5k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3178:21): [True: 14.8k, False: 1.68k]
  ------------------
 3179|  14.8k|        cfg_instr *instr = &b->b_instr[i];
 3180|  14.8k|        assert(instr->i_opcode != EXTENDED_ARG);
 3181|  14.8k|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3181:13): [True: 0, False: 14.8k]
  ------------------
 3182|      0|            maybe_push(instr->i_except, unsafe_mask, sp);
 3183|      0|        }
 3184|  14.8k|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3184:13): [True: 322, False: 14.5k]
  ------------------
 3185|    322|            continue;
 3186|    322|        }
 3187|  14.8k|        assert(instr->i_oparg >= 0);
 3188|  14.5k|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3189|  14.5k|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3189:17): [True: 3.77k, False: 10.7k]
  ------------------
 3190|      0|            case DELETE_FAST:
  ------------------
  |  |   74|      0|#define DELETE_FAST                             61
  ------------------
  |  Branch (3190:13): [True: 0, False: 14.5k]
  ------------------
 3191|      0|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|      0|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (3191:13): [True: 0, False: 14.5k]
  ------------------
 3192|      0|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3192:13): [True: 0, False: 14.5k]
  ------------------
 3193|      0|                unsafe_mask |= bit;
 3194|      0|                break;
 3195|    662|            case STORE_FAST:
  ------------------
  |  |  124|    662|#define STORE_FAST                             111
  ------------------
  |  Branch (3195:13): [True: 662, False: 13.8k]
  ------------------
 3196|    662|                unsafe_mask &= ~bit;
 3197|    662|                break;
 3198|      0|            case LOAD_FAST_CHECK:
  ------------------
  |  |  100|      0|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (3198:13): [True: 0, False: 14.5k]
  ------------------
 3199|       |                // If this doesn't raise, then the local is defined.
 3200|      0|                unsafe_mask &= ~bit;
 3201|      0|                break;
 3202|  3.11k|            case LOAD_FAST:
  ------------------
  |  |   96|  3.11k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3202:13): [True: 3.11k, False: 11.3k]
  ------------------
 3203|  3.11k|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3203:21): [True: 0, False: 3.11k]
  ------------------
 3204|      0|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |  100|      0|#define LOAD_FAST_CHECK                         87
  ------------------
 3205|      0|                }
 3206|  3.11k|                unsafe_mask &= ~bit;
 3207|  3.11k|                break;
 3208|  14.5k|        }
 3209|  14.5k|    }
 3210|  1.68k|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|  1.18k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 474, False: 715]
  |  |  ------------------
  ------------------
  |  Branch (3210:9): [True: 1.18k, False: 498]
  ------------------
 3211|    474|        maybe_push(b->b_next, unsafe_mask, sp);
 3212|    474|    }
 3213|  1.68k|    cfg_instr *last = basicblock_last_instr(b);
 3214|  1.68k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3214:9): [True: 1.28k, False: 400]
  |  Branch (3214:17): [True: 420, False: 867]
  ------------------
 3215|       |        assert(last->i_target != NULL);
 3216|    420|        maybe_push(last->i_target, unsafe_mask, sp);
 3217|    420|    }
 3218|  1.68k|}
flowgraph.c:insert_superinstructions:
 2677|    733|{
 2678|  2.50k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2678:43): [True: 1.76k, False: 733]
  ------------------
 2679|       |
 2680|  15.2k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2680:25): [True: 13.4k, False: 1.76k]
  ------------------
 2681|  13.4k|            cfg_instr *inst = &b->b_instr[i];
 2682|  13.4k|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2682:26): [True: 12.1k, False: 1.35k]
  ------------------
 2683|  13.4k|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2683:20): [True: 2.52k, False: 10.9k]
  ------------------
 2684|  2.19k|                case LOAD_FAST:
  ------------------
  |  |   96|  2.19k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2684:17): [True: 2.19k, False: 11.3k]
  ------------------
 2685|  2.19k|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   96|  2.19k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2685:25): [True: 482, False: 1.71k]
  ------------------
 2686|    482|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |  101|    482|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
 2687|    482|                    }
 2688|  2.19k|                    break;
 2689|    329|                case STORE_FAST:
  ------------------
  |  |  124|    329|#define STORE_FAST                             111
  ------------------
  |  Branch (2689:17): [True: 329, False: 13.1k]
  ------------------
 2690|    329|                    switch (nextop) {
  ------------------
  |  Branch (2690:29): [True: 185, False: 144]
  ------------------
 2691|    183|                        case LOAD_FAST:
  ------------------
  |  |   96|    183|#define LOAD_FAST                               83
  ------------------
  |  Branch (2691:25): [True: 183, False: 146]
  ------------------
 2692|    183|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  125|    183|#define STORE_FAST_LOAD_FAST                   112
  ------------------
 2693|    183|                            break;
 2694|      2|                        case STORE_FAST:
  ------------------
  |  |  124|      2|#define STORE_FAST                             111
  ------------------
  |  Branch (2694:25): [True: 2, False: 327]
  ------------------
 2695|      2|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  126|      2|#define STORE_FAST_STORE_FAST                  113
  ------------------
 2696|      2|                            break;
 2697|    329|                    }
 2698|    329|                    break;
 2699|  13.4k|            }
 2700|  13.4k|        }
 2701|  1.76k|    }
 2702|    733|    int res = remove_redundant_nops(g);
 2703|       |    assert(no_redundant_nops(g));
 2704|    733|    return res;
 2705|    733|}
flowgraph.c:make_super_instruction:
 2661|    667|{
 2662|    667|    int32_t line1 = inst1->i_loc.lineno;
 2663|    667|    int32_t line2 = inst2->i_loc.lineno;
 2664|       |    /* Skip if instructions are on different lines */
 2665|    667|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2665:9): [True: 667, False: 0]
  |  Branch (2665:23): [True: 667, False: 0]
  |  Branch (2665:37): [True: 183, False: 484]
  ------------------
 2666|    183|        return;
 2667|    183|    }
 2668|    484|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 484]
  |  Branch (2668:33): [True: 0, False: 484]
  ------------------
 2669|      0|        return;
 2670|      0|    }
 2671|    484|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  116|    484|    do { \
  |  |  117|    484|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    484|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    484|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    484|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    484|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 484]
  |  |  ------------------
  ------------------
 2672|       |    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  125|    484|    do { \
  |  |  126|    484|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    484|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    484|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    484|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    484|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 484]
  |  |  ------------------
  ------------------
 2673|    484|}
flowgraph.c:push_cold_blocks_to_end:
 3498|    733|push_cold_blocks_to_end(cfg_builder *g) {
 3499|    733|    basicblock *entryblock = g->g_entryblock;
 3500|    733|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3500:9): [True: 261, False: 472]
  ------------------
 3501|       |        /* single basicblock, no need to reorder */
 3502|    261|        return SUCCESS;
  ------------------
  |  |   21|    261|#define SUCCESS 0
  ------------------
 3503|    261|    }
 3504|    472|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|    472|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 472]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3505|       |
 3506|    472|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3507|       |
 3508|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3509|       |    /* an explicit jump instead of fallthrough */
 3510|  1.97k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3510:38): [True: 1.50k, False: 472]
  ------------------
 3511|  1.50k|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  251|  1.50k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3511:13): [True: 0, False: 1.50k]
  |  Branch (3511:51): [True: 0, False: 0]
  |  Branch (3511:64): [True: 0, False: 0]
  ------------------
 3512|      0|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3513|      0|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3513:17): [True: 0, False: 0]
  ------------------
 3514|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3515|      0|            }
 3516|      0|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3516:17): [True: 0, False: 0]
  ------------------
 3517|      0|                b->b_next->b_label.id = next_lbl++;
 3518|      0|            }
 3519|      0|            basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT, b->b_next->b_label.id,
  ------------------
  |  |  251|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
 3520|      0|                             NO_LOCATION);
 3521|      0|            explicit_jump->b_cold = 1;
 3522|      0|            explicit_jump->b_next = b->b_next;
 3523|      0|            explicit_jump->b_predecessors = 1;
 3524|      0|            b->b_next = explicit_jump;
 3525|       |
 3526|       |            /* set target */
 3527|      0|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3528|      0|            last->i_target = explicit_jump->b_next;
 3529|      0|        }
 3530|  1.50k|    }
 3531|       |
 3532|    472|    assert(!entryblock->b_cold);  /* First block can't be cold */
 3533|    472|    basicblock *cold_blocks = NULL;
 3534|    472|    basicblock *cold_blocks_tail = NULL;
 3535|       |
 3536|    472|    basicblock *b = entryblock;
 3537|    472|    while(b->b_next) {
  ------------------
  |  Branch (3537:11): [True: 472, False: 0]
  ------------------
 3538|    472|        assert(!b->b_cold);
 3539|  1.50k|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3539:16): [True: 1.03k, False: 472]
  |  Branch (3539:29): [True: 1.03k, False: 0]
  ------------------
 3540|  1.03k|            b = b->b_next;
 3541|  1.03k|        }
 3542|    472|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3542:13): [True: 472, False: 0]
  ------------------
 3543|       |            /* no more cold blocks */
 3544|    472|            break;
 3545|    472|        }
 3546|       |
 3547|       |        /* b->b_next is the beginning of a cold streak */
 3548|    472|        assert(!b->b_cold && b->b_next->b_cold);
 3549|       |
 3550|      0|        basicblock *b_end = b->b_next;
 3551|      0|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3551:16): [True: 0, False: 0]
  |  Branch (3551:33): [True: 0, False: 0]
  ------------------
 3552|      0|            b_end = b_end->b_next;
 3553|      0|        }
 3554|       |
 3555|       |        /* b_end is the end of the cold streak */
 3556|      0|        assert(b_end && b_end->b_cold);
 3557|      0|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
 3558|       |
 3559|      0|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3559:13): [True: 0, False: 0]
  ------------------
 3560|      0|            cold_blocks = b->b_next;
 3561|      0|        }
 3562|      0|        else {
 3563|      0|            cold_blocks_tail->b_next = b->b_next;
 3564|      0|        }
 3565|      0|        cold_blocks_tail = b_end;
 3566|      0|        b->b_next = b_end->b_next;
 3567|      0|        b_end->b_next = NULL;
 3568|      0|    }
 3569|    472|    assert(b != NULL && b->b_next == NULL);
 3570|    472|    b->b_next = cold_blocks;
 3571|       |
 3572|    472|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3572:9): [True: 0, False: 472]
  ------------------
 3573|      0|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3574|      0|    }
 3575|    472|    return SUCCESS;
  ------------------
  |  |   21|    472|#define SUCCESS 0
  ------------------
 3576|    472|}
flowgraph.c:mark_cold:
 3448|    472|mark_cold(basicblock *entryblock) {
 3449|  1.97k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3449:38): [True: 1.50k, False: 472]
  ------------------
 3450|  1.50k|        assert(!b->b_cold && !b->b_warm);
 3451|  1.50k|    }
 3452|    472|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3452:9): [True: 0, False: 472]
  ------------------
 3453|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3454|      0|    }
 3455|       |
 3456|    472|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3457|    472|    if (stack == NULL) {
  ------------------
  |  Branch (3457:9): [True: 0, False: 472]
  ------------------
 3458|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3459|      0|    }
 3460|       |
 3461|    472|    basicblock **sp = stack;
 3462|  1.97k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3462:38): [True: 1.50k, False: 472]
  ------------------
 3463|  1.50k|        if (b->b_except_handler) {
  ------------------
  |  Branch (3463:13): [True: 0, False: 1.50k]
  ------------------
 3464|      0|            assert(!b->b_warm);
 3465|      0|            *sp++ = b;
 3466|      0|            b->b_visited = 1;
 3467|      0|        }
 3468|  1.50k|    }
 3469|       |
 3470|    472|    while (sp > stack) {
  ------------------
  |  Branch (3470:12): [True: 0, False: 472]
  ------------------
 3471|      0|        basicblock *b = *(--sp);
 3472|      0|        b->b_cold = 1;
 3473|      0|        basicblock *next = b->b_next;
 3474|      0|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3474:13): [True: 0, False: 0]
  ------------------
 3475|      0|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3475:17): [True: 0, False: 0]
  |  Branch (3475:34): [True: 0, False: 0]
  ------------------
 3476|      0|                *sp++ = next;
 3477|      0|                next->b_visited = 1;
 3478|      0|            }
 3479|      0|        }
 3480|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3480:25): [True: 0, False: 0]
  ------------------
 3481|      0|            cfg_instr *instr = &b->b_instr[i];
 3482|      0|            if (is_jump(instr)) {
  ------------------
  |  Branch (3482:17): [True: 0, False: 0]
  ------------------
 3483|      0|                assert(i == b->b_iused - 1);
 3484|      0|                basicblock *target = b->b_instr[i].i_target;
 3485|      0|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3485:21): [True: 0, False: 0]
  |  Branch (3485:40): [True: 0, False: 0]
  ------------------
 3486|      0|                    *sp++ = target;
 3487|      0|                    target->b_visited = 1;
 3488|      0|                }
 3489|      0|            }
 3490|      0|        }
 3491|      0|    }
 3492|    472|    PyMem_Free(stack);
 3493|    472|    return SUCCESS;
  ------------------
  |  |   21|    472|#define SUCCESS 0
  ------------------
 3494|    472|}
flowgraph.c:mark_warm:
 3417|    472|mark_warm(basicblock *entryblock) {
 3418|    472|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3419|    472|    if (stack == NULL) {
  ------------------
  |  Branch (3419:9): [True: 0, False: 472]
  ------------------
 3420|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3421|      0|    }
 3422|    472|    basicblock **sp = stack;
 3423|       |
 3424|    472|    *sp++ = entryblock;
 3425|    472|    entryblock->b_visited = 1;
 3426|  1.56k|    while (sp > stack) {
  ------------------
  |  Branch (3426:12): [True: 1.09k, False: 472]
  ------------------
 3427|  1.09k|        basicblock *b = *(--sp);
 3428|  1.09k|        assert(!b->b_except_handler);
 3429|  1.09k|        b->b_warm = 1;
 3430|  1.09k|        basicblock *next = b->b_next;
 3431|  1.09k|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  251|  2.12k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 448, False: 586]
  |  |  ------------------
  ------------------
  |  Branch (3431:13): [True: 1.03k, False: 56]
  |  Branch (3431:46): [True: 356, False: 92]
  ------------------
 3432|    356|            *sp++ = next;
 3433|    356|            next->b_visited = 1;
 3434|    356|        }
 3435|  11.0k|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3435:23): [True: 9.99k, False: 1.09k]
  ------------------
 3436|  9.99k|            cfg_instr *instr = &b->b_instr[i];
 3437|  9.99k|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3437:17): [True: 398, False: 9.59k]
  |  Branch (3437:35): [True: 262, False: 136]
  ------------------
 3438|    262|                *sp++ = instr->i_target;
 3439|    262|                instr->i_target->b_visited = 1;
 3440|    262|            }
 3441|  9.99k|        }
 3442|  1.09k|    }
 3443|    472|    PyMem_Free(stack);
 3444|    472|    return SUCCESS;
  ------------------
  |  |   21|    472|#define SUCCESS 0
  ------------------
 3445|    472|}
flowgraph.c:resolve_line_numbers:
 3752|  1.46k|{
 3753|  1.46k|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|  1.46k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.46k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3754|  1.46k|    propagate_line_numbers(g->g_entryblock);
 3755|  1.46k|    return SUCCESS;
  ------------------
  |  |   21|  1.46k|#define SUCCESS 0
  ------------------
 3756|  1.46k|}
flowgraph.c:duplicate_exits_without_lineno:
 3658|  1.46k|{
 3659|  1.46k|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3660|       |
 3661|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3662|       |     */
 3663|  1.46k|    basicblock *entryblock = g->g_entryblock;
 3664|  5.00k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3664:38): [True: 3.53k, False: 1.46k]
  ------------------
 3665|  3.53k|        cfg_instr *last = basicblock_last_instr(b);
 3666|  3.53k|        if (last == NULL) {
  ------------------
  |  Branch (3666:13): [True: 832, False: 2.70k]
  ------------------
 3667|    832|            continue;
 3668|    832|        }
 3669|  2.70k|        if (is_jump(last)) {
  ------------------
  |  Branch (3669:13): [True: 796, False: 1.90k]
  ------------------
 3670|    796|            basicblock *target = next_nonempty_block(last->i_target);
 3671|    796|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3671:17): [True: 4, False: 792]
  |  Branch (3671:65): [True: 2, False: 2]
  ------------------
 3672|      2|                basicblock *new_target = copy_basicblock(g, target);
 3673|      2|                if (new_target == NULL) {
  ------------------
  |  Branch (3673:21): [True: 0, False: 2]
  ------------------
 3674|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3675|      0|                }
 3676|      2|                new_target->b_instr[0].i_loc = last->i_loc;
 3677|      2|                last->i_target = new_target;
 3678|      2|                target->b_predecessors--;
 3679|      2|                new_target->b_predecessors = 1;
 3680|      2|                new_target->b_next = target->b_next;
 3681|      2|                new_target->b_label.id = next_lbl++;
 3682|      2|                target->b_next = new_target;
 3683|      2|            }
 3684|    796|        }
 3685|  2.70k|    }
 3686|       |
 3687|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3688|       |     * fall through, and thus can only have a single predecessor */
 3689|  5.00k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3689:38): [True: 3.53k, False: 1.46k]
  ------------------
 3690|  3.53k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  251|  7.06k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 1.72k, False: 1.80k]
  |  |  ------------------
  ------------------
  |  Branch (3690:38): [True: 896, False: 832]
  |  Branch (3690:51): [True: 896, False: 0]
  ------------------
 3691|    896|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3691:17): [True: 2, False: 894]
  ------------------
 3692|      2|                cfg_instr *last = basicblock_last_instr(b);
 3693|      2|                assert(last != NULL);
 3694|      2|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3695|      2|            }
 3696|    896|        }
 3697|  3.53k|    }
 3698|  1.46k|    return SUCCESS;
  ------------------
  |  |   21|  1.46k|#define SUCCESS 0
  ------------------
 3699|  1.46k|}
flowgraph.c:is_exit_or_eval_check_without_lineno:
 3637|  1.69k|is_exit_or_eval_check_without_lineno(basicblock *b) {
 3638|  1.69k|    if (basicblock_exits_scope(b) || basicblock_has_eval_break(b)) {
  ------------------
  |  Branch (3638:9): [True: 968, False: 724]
  |  Branch (3638:38): [True: 44, False: 680]
  ------------------
 3639|  1.01k|        return basicblock_has_no_lineno(b);
 3640|  1.01k|    }
 3641|    680|    else {
 3642|       |        return false;
 3643|    680|    }
 3644|  1.69k|}
flowgraph.c:basicblock_has_eval_break:
  359|    724|basicblock_has_eval_break(const basicblock *b) {
  360|  5.40k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (360:21): [True: 4.72k, False: 680]
  ------------------
  361|  4.72k|        if (OPCODE_HAS_EVAL_BREAK(b->b_instr[i].i_opcode)) {
  ------------------
  |  | 1080|  4.72k|#define OPCODE_HAS_EVAL_BREAK(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_EVAL_BREAK_FLAG))
  |  |  ------------------
  |  |  |  | 1061|  4.72k|#define HAS_EVAL_BREAK_FLAG (64)
  |  |  ------------------
  |  |  |  Branch (1080:35): [True: 44, False: 4.68k]
  |  |  ------------------
  ------------------
  362|     44|            return true;
  363|     44|        }
  364|  4.72k|    }
  365|    680|    return false;
  366|    724|}
flowgraph.c:copy_basicblock:
  255|      2|{
  256|       |    /* Cannot copy a block if it has a fallthrough, since
  257|       |     * a block can only have one fallthrough predecessor.
  258|       |     */
  259|      2|    assert(BB_NO_FALLTHROUGH(block));
  260|      2|    basicblock *result = cfg_builder_new_block(g);
  261|      2|    if (result == NULL) {
  ------------------
  |  Branch (261:9): [True: 0, False: 2]
  ------------------
  262|      0|        return NULL;
  263|      0|    }
  264|      2|    if (basicblock_append_instructions(result, block) < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 2]
  ------------------
  265|      0|        return NULL;
  266|      0|    }
  267|      2|    return result;
  268|      2|}
flowgraph.c:propagate_line_numbers:
 3721|  1.46k|{
 3722|  5.00k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3722:38): [True: 3.53k, False: 1.46k]
  ------------------
 3723|  3.53k|        cfg_instr *last = basicblock_last_instr(b);
 3724|  3.53k|        if (last == NULL) {
  ------------------
  |  Branch (3724:13): [True: 832, False: 2.70k]
  ------------------
 3725|    832|            continue;
 3726|    832|        }
 3727|       |
 3728|  2.70k|        location prev_location = NO_LOCATION;
 3729|  29.9k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3729:25): [True: 27.2k, False: 2.70k]
  ------------------
 3730|  27.2k|            maybe_propagate_location(b, i, prev_location);
 3731|  27.2k|            prev_location = b->b_instr[i].i_loc;
 3732|  27.2k|        }
 3733|  2.70k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  251|  5.40k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 896, False: 1.80k]
  |  |  ------------------
  ------------------
  |  Branch (3733:38): [True: 684, False: 212]
  ------------------
 3734|    684|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3734:17): [True: 684, False: 0]
  ------------------
 3735|    684|                maybe_propagate_location(b->b_next, 0, prev_location);
 3736|    684|            }
 3737|    684|        }
 3738|  2.70k|        if (is_jump(last)) {
  ------------------
  |  Branch (3738:13): [True: 796, False: 1.90k]
  ------------------
 3739|    796|            basicblock *target = last->i_target;
 3740|    796|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3740:20): [True: 0, False: 796]
  |  Branch (3740:44): [True: 0, False: 0]
  ------------------
 3741|      0|                target = target->b_next;
 3742|      0|            }
 3743|    796|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3743:17): [True: 340, False: 456]
  ------------------
 3744|    340|                maybe_propagate_location(target, 0, prev_location);
 3745|    340|            }
 3746|    796|        }
 3747|  2.70k|    }
 3748|  1.46k|}
flowgraph.c:maybe_propagate_location:
 3712|  28.2k|{
 3713|  28.2k|    assert(b->b_iused > i);
 3714|  28.2k|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3714:9): [True: 772, False: 27.4k]
  ------------------
 3715|    772|         b->b_instr[i].i_loc = loc;
 3716|    772|    }
 3717|  28.2k|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3580|    733|{
 3581|    733|    basicblock *entryblock = g->g_entryblock;
 3582|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3582:38): [True: 1.76k, False: 733]
  ------------------
 3583|  14.7k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3583:25): [True: 13.0k, False: 1.76k]
  ------------------
 3584|  13.0k|            cfg_instr *instr = &b->b_instr[i];
 3585|  13.0k|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  249|  26.0k|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  250|  12.8k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3585:17): [True: 162, False: 12.8k]
  |  Branch (3585:53): [True: 0, False: 12.8k]
  ------------------
 3586|    162|                assert(i == b->b_iused - 1);
 3587|    162|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  249|    162|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3587:35): [True: 162, False: 0]
  ------------------
 3588|    162|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|    162|#define POP_JUMP_IF_FALSE                       99
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|    162|#define POP_JUMP_IF_TRUE                       102
  ------------------
 3589|    162|                location loc = instr->i_loc;
 3590|    162|                basicblock *except = instr->i_except;
 3591|    162|                cfg_instr copy = {
 3592|    162|                            .i_opcode = COPY,
  ------------------
  |  |   70|    162|#define COPY                                    57
  ------------------
 3593|    162|                            .i_oparg = 1,
 3594|    162|                            .i_loc = loc,
 3595|    162|                            .i_target = NULL,
 3596|    162|                            .i_except = except,
 3597|    162|                };
 3598|    162|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|    162|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 162]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3599|    162|                cfg_instr to_bool = {
 3600|    162|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|    162|#define TO_BOOL                                 37
  ------------------
 3601|    162|                            .i_oparg = 0,
 3602|    162|                            .i_loc = loc,
 3603|    162|                            .i_target = NULL,
 3604|    162|                            .i_except = except,
 3605|    162|                };
 3606|    162|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|    162|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 162]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3607|    162|            }
 3608|  13.0k|        }
 3609|  1.76k|    }
 3610|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 3611|    733|}
flowgraph.c:basicblock_insert_instruction:
  271|    676|basicblock_insert_instruction(basicblock *block, int pos, cfg_instr *instr) {
  272|    676|    RETURN_IF_ERROR(basicblock_next_instr(block));
  ------------------
  |  |   25|    676|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 676]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  273|  7.67k|    for (int i = block->b_iused - 1; i > pos; i--) {
  ------------------
  |  Branch (273:38): [True: 7.00k, False: 676]
  ------------------
  274|  7.00k|        block->b_instr[i] = block->b_instr[i-1];
  275|  7.00k|    }
  276|    676|    block->b_instr[pos] = *instr;
  277|    676|    return SUCCESS;
  ------------------
  |  |   21|    676|#define SUCCESS 0
  ------------------
  278|    676|}
flowgraph.c:calculate_stackdepth:
  822|    733|{
  823|    733|    basicblock *entryblock = g->g_entryblock;
  824|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (824:38): [True: 1.76k, False: 733]
  ------------------
  825|  1.76k|        b->b_startdepth = INT_MIN;
  826|  1.76k|    }
  827|    733|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  828|    733|    if (!stack) {
  ------------------
  |  Branch (828:9): [True: 0, False: 733]
  ------------------
  829|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  830|      0|    }
  831|       |
  832|       |
  833|    733|    int stackdepth = -1;
  834|    733|    int maxdepth = 0;
  835|    733|    basicblock **sp = stack;
  836|    733|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (836:9): [True: 0, False: 733]
  ------------------
  837|      0|        goto error;
  838|      0|    }
  839|  2.08k|    while (sp != stack) {
  ------------------
  |  Branch (839:12): [True: 1.35k, False: 733]
  ------------------
  840|  1.35k|        basicblock *b = *--sp;
  841|  1.35k|        int depth = b->b_startdepth;
  842|  1.35k|        assert(depth >= 0);
  843|  1.35k|        basicblock *next = b->b_next;
  844|  13.7k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (844:25): [True: 13.3k, False: 448]
  ------------------
  845|  13.3k|            cfg_instr *instr = &b->b_instr[i];
  846|  13.3k|            stack_effects effects;
  847|  13.3k|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (847:17): [True: 0, False: 13.3k]
  ------------------
  848|      0|                PyErr_Format(PyExc_SystemError,
  849|      0|                             "Invalid stack effect for opcode=%d, arg=%i",
  850|      0|                             instr->i_opcode, instr->i_oparg);
  851|      0|                goto error;
  852|      0|            }
  853|  13.3k|            int new_depth = depth + effects.net;
  854|  13.3k|            if (new_depth < 0) {
  ------------------
  |  Branch (854:17): [True: 0, False: 13.3k]
  ------------------
  855|      0|                PyErr_Format(PyExc_ValueError,
  856|      0|                             "Invalid CFG, stack underflow at line %d", instr->i_loc.lineno);
  857|      0|                goto error;
  858|      0|            }
  859|  13.3k|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|  13.3k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 6.35k, False: 6.98k]
  |  |  ------------------
  ------------------
  860|  13.3k|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|  26.6k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  26.6k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  13.3k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 398, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  12.9k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  25.8k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  |  |   19|  12.9k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  25.8k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  |  |   20|  12.9k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  12.9k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   79|    398|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (860:48): [True: 398, False: 0]
  ------------------
  861|    398|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (861:21): [True: 0, False: 398]
  ------------------
  862|      0|                    PyErr_Format(PyExc_SystemError,
  863|      0|                                 "Invalid stack effect for opcode=%d, arg=%i",
  864|      0|                                 instr->i_opcode, instr->i_oparg);
  865|      0|                    goto error;
  866|      0|                }
  867|    398|                int target_depth = depth + effects.net;
  868|    398|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  869|    398|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|    398|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 236, False: 162]
  |  |  ------------------
  ------------------
  870|    398|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (870:21): [True: 0, False: 398]
  ------------------
  871|      0|                    goto error;
  872|      0|                }
  873|    398|            }
  874|  13.3k|            depth = new_depth;
  875|  13.3k|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  876|  13.3k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|  26.6k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  26.6k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 2, False: 13.3k]
  |  |  ------------------
  |  |   41|  13.3k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  26.6k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 12, False: 13.3k]
  |  |  ------------------
  |  |   42|  13.3k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  26.6k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 13.3k]
  |  |  ------------------
  |  |   43|  13.3k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  26.6k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 13.3k]
  |  |  ------------------
  |  |   44|  26.6k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  13.3k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 13.3k]
  |  |  ------------------
  ------------------
  877|  13.3k|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|  13.3k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  26.6k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 831, False: 12.4k]
  |  |  ------------------
  |  |   54|  13.3k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|  25.8k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 58, False: 12.4k]
  |  |  ------------------
  |  |   55|  13.3k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|  12.4k|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 12.4k]
  |  |  ------------------
  ------------------
  878|    903|            {
  879|       |                /* remaining code is dead */
  880|    903|                next = NULL;
  881|    903|                break;
  882|    903|            }
  883|  13.3k|        }
  884|  1.35k|        if (next != NULL) {
  ------------------
  |  Branch (884:13): [True: 448, False: 903]
  ------------------
  885|    448|            assert(BB_HAS_FALLTHROUGH(b));
  886|    448|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (886:17): [True: 0, False: 448]
  ------------------
  887|      0|                goto error;
  888|      0|            }
  889|    448|        }
  890|  1.35k|    }
  891|    733|    stackdepth = maxdepth;
  892|    733|error:
  893|    733|    PyMem_Free(stack);
  894|    733|    return stackdepth;
  895|    733|}
flowgraph.c:stackdepth_push:
  804|  1.57k|{
  805|  1.57k|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (805:11): [True: 1.35k, False: 228]
  |  Branch (805:34): [True: 228, False: 0]
  ------------------
  806|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  807|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  808|      0|    }
  809|  1.57k|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (809:9): [True: 1.35k, False: 228]
  |  Branch (809:36): [True: 1.35k, False: 0]
  ------------------
  810|  1.35k|        assert(b->b_startdepth < 0);
  811|  1.35k|        b->b_startdepth = depth;
  812|  1.35k|        *(*sp)++ = b;
  813|  1.35k|    }
  814|  1.57k|    return SUCCESS;
  ------------------
  |  |   21|  1.57k|#define SUCCESS 0
  ------------------
  815|  1.57k|}
flowgraph.c:prepare_localsplus:
 3964|    733|{
 3965|    733|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
 3966|    733|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
 3967|    733|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
 3968|    733|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3969|    733|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3970|    733|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|    733|    assert(INT_MAX - nlocals - ncellvars > 0);
 3972|    733|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
 3973|    733|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 3974|    733|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 3975|    733|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (3975:9): [True: 0, False: 733]
  ------------------
 3976|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3977|      0|    }
 3978|       |
 3979|       |    // This must be called before fix_cell_offsets().
 3980|    733|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (3980:9): [True: 0, False: 733]
  ------------------
 3981|      0|        PyMem_Free(cellfixedoffsets);
 3982|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3983|      0|    }
 3984|       |
 3985|    733|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 3986|    733|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 3987|    733|    cellfixedoffsets = NULL;
 3988|    733|    if (numdropped < 0) {
  ------------------
  |  Branch (3988:9): [True: 0, False: 733]
  ------------------
 3989|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3990|      0|    }
 3991|       |
 3992|    733|    nlocalsplus -= numdropped;
 3993|    733|    return nlocalsplus;
 3994|    733|}
flowgraph.c:build_cellfixedoffsets:
 3812|    733|{
 3813|    733|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3814|    733|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3815|    733|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|       |
 3817|    733|    int noffsets = ncellvars + nfreevars;
 3818|    733|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|    733|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    733|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 733]
  |  |  ------------------
  |  |   65|    733|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3819|    733|    if (fixed == NULL) {
  ------------------
  |  Branch (3819:9): [True: 0, False: 733]
  ------------------
 3820|      0|        PyErr_NoMemory();
 3821|      0|        return NULL;
 3822|      0|    }
 3823|  1.14k|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3823:21): [True: 414, False: 733]
  ------------------
 3824|    414|        fixed[i] = nlocals + i;
 3825|    414|    }
 3826|       |
 3827|    733|    PyObject *varname, *cellindex;
 3828|    733|    Py_ssize_t pos = 0;
 3829|    916|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3829:12): [True: 183, False: 733]
  ------------------
 3830|    183|        PyObject *varindex;
 3831|    183|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3831:13): [True: 0, False: 183]
  ------------------
 3832|      0|            goto error;
 3833|      0|        }
 3834|    183|        if (varindex == NULL) {
  ------------------
  |  Branch (3834:13): [True: 0, False: 183]
  ------------------
 3835|      0|            continue;
 3836|      0|        }
 3837|       |
 3838|    183|        int argoffset = PyLong_AsInt(varindex);
 3839|    183|        Py_DECREF(varindex);
  ------------------
  |  |  430|    183|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|    183|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3840:13): [True: 0, False: 183]
  |  Branch (3840:32): [True: 0, False: 0]
  ------------------
 3841|      0|            goto error;
 3842|      0|        }
 3843|       |
 3844|    183|        int oldindex = PyLong_AsInt(cellindex);
 3845|    183|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3845:13): [True: 0, False: 183]
  |  Branch (3845:31): [True: 0, False: 0]
  ------------------
 3846|      0|            goto error;
 3847|      0|        }
 3848|    183|        fixed[oldindex] = argoffset;
 3849|    183|    }
 3850|    733|    return fixed;
 3851|       |
 3852|      0|error:
 3853|      0|    PyMem_Free(fixed);
 3854|       |    return NULL;
 3855|    733|}
flowgraph.c:insert_prefix_instructions:
 3863|    733|{
 3864|    733|    assert(umd->u_firstlineno > 0);
 3865|       |
 3866|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3867|    733|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3868|    733|    if (ncellvars) {
  ------------------
  |  Branch (3868:9): [True: 121, False: 612]
  ------------------
 3869|       |        // umd->u_cellvars has the cells out of order so we sort them
 3870|       |        // before adding the MAKE_CELL instructions.  Note that we
 3871|       |        // adjust for arg cells, which come first.
 3872|    121|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    121|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3873|    121|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3874|    121|        if (sorted == NULL) {
  ------------------
  |  Branch (3874:13): [True: 0, False: 121]
  ------------------
 3875|      0|            PyErr_NoMemory();
 3876|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3877|      0|        }
 3878|    304|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3878:25): [True: 183, False: 121]
  ------------------
 3879|    183|            sorted[fixed[i]] = i + 1;
 3880|    183|        }
 3881|    364|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3881:41): [True: 243, False: 121]
  ------------------
 3882|    243|            int oldindex = sorted[i] - 1;
 3883|    243|            if (oldindex == -1) {
  ------------------
  |  Branch (3883:17): [True: 60, False: 183]
  ------------------
 3884|     60|                continue;
 3885|     60|            }
 3886|    183|            cfg_instr make_cell = {
 3887|    183|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  109|    183|#define MAKE_CELL                               96
  ------------------
 3888|       |                // This will get fixed in offset_derefs().
 3889|    183|                .i_oparg = oldindex,
 3890|    183|                .i_loc = NO_LOCATION,
 3891|    183|                .i_target = NULL,
 3892|    183|                .i_except = NULL,
 3893|    183|            };
 3894|    183|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3894:17): [True: 0, False: 183]
  ------------------
 3895|      0|                PyMem_RawFree(sorted);
 3896|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3897|      0|            }
 3898|    183|            ncellsused += 1;
 3899|    183|        }
 3900|    121|        PyMem_RawFree(sorted);
 3901|    121|    }
 3902|       |
 3903|    733|    if (nfreevars) {
  ------------------
  |  Branch (3903:9): [True: 169, False: 564]
  ------------------
 3904|    169|        cfg_instr copy_frees = {
 3905|    169|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|    169|#define COPY_FREE_VARS                          58
  ------------------
 3906|    169|            .i_oparg = nfreevars,
 3907|    169|            .i_loc = NO_LOCATION,
 3908|    169|            .i_target = NULL,
 3909|    169|            .i_except = NULL,
 3910|    169|        };
 3911|    169|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|    169|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 169]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3912|    169|    }
 3913|       |
 3914|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 3915|    733|}
flowgraph.c:fix_cell_offsets:
 3919|    733|{
 3920|    733|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3921|    733|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3922|    733|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|    733|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3923|    733|    int noffsets = ncellvars + nfreevars;
 3924|       |
 3925|       |    // First deal with duplicates (arg cells).
 3926|    733|    int numdropped = 0;
 3927|  1.14k|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3927:21): [True: 414, False: 733]
  ------------------
 3928|    414|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3928:13): [True: 231, False: 183]
  ------------------
 3929|    231|            fixedmap[i] -= numdropped;
 3930|    231|        }
 3931|    183|        else {
 3932|       |            // It was a duplicate (cell/arg).
 3933|    183|            numdropped += 1;
 3934|    183|        }
 3935|    414|    }
 3936|       |
 3937|       |    // Then update offsets, either relative to locals or by cell2arg.
 3938|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3938:38): [True: 1.76k, False: 733]
  ------------------
 3939|  15.4k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3939:25): [True: 13.6k, False: 1.76k]
  ------------------
 3940|  13.6k|            cfg_instr *inst = &b->b_instr[i];
 3941|       |            // This is called before extended args are generated.
 3942|  13.6k|            assert(inst->i_opcode != EXTENDED_ARG);
 3943|  13.6k|            int oldoffset = inst->i_oparg;
 3944|  13.6k|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3944:20): [True: 845, False: 12.8k]
  ------------------
 3945|    183|                case MAKE_CELL:
  ------------------
  |  |  109|    183|#define MAKE_CELL                               96
  ------------------
  |  Branch (3945:17): [True: 183, False: 13.5k]
  ------------------
 3946|    414|                case LOAD_CLOSURE:
  ------------------
  |  |  252|    414|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3946:17): [True: 231, False: 13.4k]
  ------------------
 3947|    845|                case LOAD_DEREF:
  ------------------
  |  |   95|    845|#define LOAD_DEREF                              82
  ------------------
  |  Branch (3947:17): [True: 431, False: 13.2k]
  ------------------
 3948|    845|                case STORE_DEREF:
  ------------------
  |  |  123|    845|#define STORE_DEREF                            110
  ------------------
  |  Branch (3948:17): [True: 0, False: 13.6k]
  ------------------
 3949|    845|                case DELETE_DEREF:
  ------------------
  |  |   73|    845|#define DELETE_DEREF                            60
  ------------------
  |  Branch (3949:17): [True: 0, False: 13.6k]
  ------------------
 3950|    845|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |  102|    845|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
  |  Branch (3950:17): [True: 0, False: 13.6k]
  ------------------
 3951|    845|                    assert(oldoffset >= 0);
 3952|    845|                    assert(oldoffset < noffsets);
 3953|    845|                    assert(fixedmap[oldoffset] >= 0);
 3954|    845|                    inst->i_oparg = fixedmap[oldoffset];
 3955|  13.6k|            }
 3956|  13.6k|        }
 3957|  1.76k|    }
 3958|       |
 3959|    733|    return numdropped;
 3960|    733|}
flowgraph.c:convert_pseudo_ops:
 3615|    733|{
 3616|    733|    basicblock *entryblock = g->g_entryblock;
 3617|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3617:38): [True: 1.76k, False: 733]
  ------------------
 3618|  15.4k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3618:25): [True: 13.6k, False: 1.76k]
  ------------------
 3619|  13.6k|            cfg_instr *instr = &b->b_instr[i];
 3620|  13.6k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3620:17): [True: 0, False: 13.6k]
  ------------------
 3621|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3622|      0|            }
 3623|  13.6k|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  252|  13.6k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3623:22): [True: 231, False: 13.4k]
  ------------------
 3624|    231|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
 3625|    231|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   96|    231|#define LOAD_FAST                               83
  ------------------
 3626|    231|            }
 3627|  13.4k|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  257|  13.4k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3627:22): [True: 0, False: 13.4k]
  ------------------
 3628|      0|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
 3629|      0|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  124|      0|#define STORE_FAST                             111
  ------------------
 3630|      0|            }
 3631|  13.6k|        }
 3632|  1.76k|    }
 3633|    733|    return remove_redundant_nops_and_jumps(g);
 3634|    733|}
flowgraph.c:normalize_jumps:
  603|    733|{
  604|    733|    basicblock *entryblock = g->g_entryblock;
  605|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (605:38): [True: 1.76k, False: 733]
  ------------------
  606|  1.76k|        b->b_visited = 0;
  607|  1.76k|    }
  608|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (608:38): [True: 1.76k, False: 733]
  ------------------
  609|  1.76k|        b->b_visited = 1;
  610|  1.76k|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|  1.76k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  611|  1.76k|    }
  612|    733|    return SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
  613|    733|}
flowgraph.c:normalize_jumps_in_block:
  548|  1.76k|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  549|  1.76k|    cfg_instr *last = basicblock_last_instr(b);
  550|  1.76k|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|  1.35k|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  112|  2.70k|#define POP_JUMP_IF_FALSE                       99
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 332, False: 1.01k]
  |  |  ------------------
  |  |   48|  1.35k|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  115|  2.37k|#define POP_JUMP_IF_TRUE                       102
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 50, False: 969]
  |  |  ------------------
  |  |   49|  1.35k|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  113|  2.32k|#define POP_JUMP_IF_NONE                       100
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 969]
  |  |  ------------------
  |  |   50|  1.35k|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  114|    969|#define POP_JUMP_IF_NOT_NONE                   101
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 0, False: 969]
  |  |  ------------------
  ------------------
  |  Branch (550:9): [True: 416, False: 1.35k]
  ------------------
  551|  1.38k|        return SUCCESS;
  ------------------
  |  |   21|  1.38k|#define SUCCESS 0
  ------------------
  552|  1.38k|    }
  553|  1.76k|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  554|       |
  555|    382|    bool is_forward = last->i_target->b_visited == 0;
  556|    382|    if (is_forward) {
  ------------------
  |  Branch (556:9): [True: 382, False: 0]
  ------------------
  557|    382|        RETURN_IF_ERROR(
  ------------------
  |  |   25|    382|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 382]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  558|    382|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc));
  559|    382|        return SUCCESS;
  ------------------
  |  |   21|    382|#define SUCCESS 0
  ------------------
  560|    382|    }
  561|       |
  562|      0|    int reversed_opcode = 0;
  563|      0|    switch(last->i_opcode) {
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (564:9): [True: 0, False: 0]
  ------------------
  565|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  566|      0|            break;
  567|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (567:9): [True: 0, False: 0]
  ------------------
  568|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  569|      0|            break;
  570|      0|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
  572|      0|            break;
  573|      0|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|      0|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_FALSE                       99
  ------------------
  575|      0|            break;
  576|      0|    }
  577|       |    /* transform 'conditional jump T' to
  578|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  579|       |     */
  580|       |
  581|      0|    basicblock *target = last->i_target;
  582|      0|    basicblock *backwards_jump = cfg_builder_new_block(g);
  583|      0|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (583:9): [True: 0, False: 0]
  ------------------
  584|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  585|      0|    }
  586|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  587|      0|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc));
  588|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  589|      0|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc));
  590|      0|    backwards_jump->b_startdepth = target->b_startdepth;
  591|      0|    last->i_opcode = reversed_opcode;
  592|      0|    last->i_target = b->b_next;
  593|       |
  594|      0|    backwards_jump->b_cold = b->b_cold;
  595|      0|    backwards_jump->b_next = b->b_next;
  596|      0|    b->b_next = backwards_jump;
  597|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  598|      0|}
flowgraph.c:optimize_load_fast:
 2865|    733|{
 2866|    733|    int status;
 2867|    733|    ref_stack refs = {0};
 2868|    733|    int max_instrs = 0;
 2869|    733|    basicblock *entryblock = g->g_entryblock;
 2870|  2.50k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2870:38): [True: 1.76k, False: 733]
  ------------------
 2871|  1.76k|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  115|  1.76k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 710, False: 1.05k]
  |  |  ------------------
  ------------------
 2872|  1.76k|    }
 2873|    733|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2874|    733|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2875|    733|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2875:9): [True: 0, False: 733]
  ------------------
 2876|      0|        PyErr_NoMemory();
 2877|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2878|      0|    }
 2879|    733|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2880|    733|    if (blocks == NULL) {
  ------------------
  |  Branch (2880:9): [True: 0, False: 733]
  ------------------
 2881|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2882|      0|        goto done;
 2883|      0|    }
 2884|    733|    basicblock **sp = blocks;
 2885|    733|    *sp = entryblock;
 2886|    733|    sp++;
 2887|    733|    entryblock->b_startdepth = 0;
 2888|    733|    entryblock->b_visited = 1;
 2889|       |
 2890|    733|    #define PUSH_REF(instr, local)                \
 2891|    733|        do {                                      \
 2892|    733|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2893|    733|                status = ERROR;                   \
 2894|    733|                goto done;                        \
 2895|    733|            }                                     \
 2896|    733|        } while(0)
 2897|       |
 2898|  2.08k|    while (sp != blocks) {
  ------------------
  |  Branch (2898:12): [True: 1.35k, False: 733]
  ------------------
 2899|  1.35k|        basicblock *block = *--sp;
 2900|  1.35k|        assert(block->b_startdepth > -1);
 2901|       |
 2902|       |        // Reset per-block state.
 2903|  1.35k|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2904|       |
 2905|       |        // Reset the stack of refs. We don't track references on the stack
 2906|       |        // across basic blocks, but the bytecode will expect their
 2907|       |        // presence. Add dummy references as necessary.
 2908|  1.35k|        ref_stack_clear(&refs);
 2909|  1.61k|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2909:25): [True: 266, False: 1.35k]
  ------------------
 2910|    266|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2891|    266|        do {                                      \
  |  | 2892|    266|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 266]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    266|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 266]
  |  |  ------------------
  ------------------
 2911|    266|        }
 2912|       |
 2913|  15.4k|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2913:25): [True: 14.0k, False: 1.35k]
  ------------------
 2914|  14.0k|            cfg_instr *instr = &block->b_instr[i];
 2915|  14.0k|            int opcode = instr->i_opcode;
 2916|  14.0k|            int oparg = instr->i_oparg;
 2917|  14.0k|            assert(opcode != EXTENDED_ARG);
 2918|  14.0k|            switch (opcode) {
 2919|       |                // Opcodes that load and store locals
 2920|      0|                case DELETE_FAST: {
  ------------------
  |  |   74|      0|#define DELETE_FAST                             61
  ------------------
  |  Branch (2920:17): [True: 0, False: 14.0k]
  ------------------
 2921|      0|                    kill_local(instr_flags, &refs, oparg);
 2922|      0|                    break;
 2923|      0|                }
 2924|       |
 2925|  1.94k|                case LOAD_FAST: {
  ------------------
  |  |   96|  1.94k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2925:17): [True: 1.94k, False: 12.1k]
  ------------------
 2926|  1.94k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2891|  1.94k|        do {                                      \
  |  | 2892|  1.94k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 1.94k]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|  1.94k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
 2927|  1.94k|                    break;
 2928|  1.94k|                }
 2929|       |
 2930|  1.94k|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   97|      0|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (2930:17): [True: 0, False: 14.0k]
  ------------------
 2931|      0|                    kill_local(instr_flags, &refs, oparg);
 2932|      0|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2933|      0|                    break;
 2934|      0|                }
 2935|       |
 2936|    482|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |  101|    482|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (2936:17): [True: 482, False: 13.5k]
  ------------------
 2937|    482|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2891|    482|        do {                                      \
  |  | 2892|    482|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 482]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    482|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 482]
  |  |  ------------------
  ------------------
 2938|    482|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2891|    482|        do {                                      \
  |  | 2892|    482|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 482]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    482|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 482]
  |  |  ------------------
  ------------------
 2939|    482|                    break;
 2940|    482|                }
 2941|       |
 2942|    482|                case STORE_FAST: {
  ------------------
  |  |  124|    327|#define STORE_FAST                             111
  ------------------
  |  Branch (2942:17): [True: 327, False: 13.7k]
  ------------------
 2943|    327|                    ref r = ref_stack_pop(&refs);
 2944|    327|                    store_local(instr_flags, &refs, oparg, r);
 2945|    327|                    break;
 2946|    482|                }
 2947|       |
 2948|      0|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  125|      0|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (2948:17): [True: 0, False: 14.0k]
  ------------------
 2949|       |                    // STORE_FAST
 2950|      0|                    ref r = ref_stack_pop(&refs);
 2951|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2952|       |                    // LOAD_FAST
 2953|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2954|      0|                    break;
 2955|      0|                }
 2956|       |
 2957|      2|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  126|      2|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (2957:17): [True: 2, False: 14.0k]
  ------------------
 2958|       |                    // STORE_FAST
 2959|      2|                    ref r = ref_stack_pop(&refs);
 2960|      2|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2961|       |                    // STORE_FAST
 2962|      2|                    r = ref_stack_pop(&refs);
 2963|      2|                    store_local(instr_flags, &refs, oparg & 15, r);
 2964|      2|                    break;
 2965|      0|                }
 2966|       |
 2967|       |                // Opcodes that shuffle values on the stack
 2968|    166|                case COPY: {
  ------------------
  |  |   70|    166|#define COPY                                    57
  ------------------
  |  Branch (2968:17): [True: 166, False: 13.9k]
  ------------------
 2969|    166|                    assert(oparg > 0);
 2970|    166|                    Py_ssize_t idx = refs.size - oparg;
 2971|    166|                    ref r = ref_stack_at(&refs, idx);
 2972|    166|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2891|    166|        do {                                      \
  |  | 2892|    166|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 166]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    166|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 166]
  |  |  ------------------
  ------------------
 2973|    166|                    break;
 2974|    166|                }
 2975|       |
 2976|    166|                case SWAP: {
  ------------------
  |  |  129|      4|#define SWAP                                   116
  ------------------
  |  Branch (2976:17): [True: 4, False: 14.0k]
  ------------------
 2977|      4|                    assert(oparg >= 2);
 2978|      4|                    ref_stack_swap_top(&refs, oparg);
 2979|      4|                    break;
 2980|    166|                }
 2981|       |
 2982|       |                // We treat opcodes that do not consume all of their inputs on
 2983|       |                // a case by case basis, as we have no generic way of knowing
 2984|       |                // how many inputs should be left on the stack.
 2985|       |
 2986|       |                // Opcodes that consume no inputs
 2987|    292|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|    292|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (2987:17): [True: 292, False: 13.7k]
  ------------------
 2988|    292|                case GET_ANEXT:
  ------------------
  |  |   28|    292|#define GET_ANEXT                               15
  ------------------
  |  Branch (2988:17): [True: 0, False: 14.0k]
  ------------------
 2989|    294|                case GET_ITER:
  ------------------
  |  |   83|    294|#define GET_ITER                                70
  ------------------
  |  Branch (2989:17): [True: 2, False: 14.0k]
  ------------------
 2990|    294|                case GET_LEN:
  ------------------
  |  |   29|    294|#define GET_LEN                                 16
  ------------------
  |  Branch (2990:17): [True: 0, False: 14.0k]
  ------------------
 2991|    389|                case IMPORT_FROM:
  ------------------
  |  |   84|    389|#define IMPORT_FROM                             71
  ------------------
  |  Branch (2991:17): [True: 95, False: 13.9k]
  ------------------
 2992|    389|                case MATCH_KEYS:
  ------------------
  |  |   35|    389|#define MATCH_KEYS                              22
  ------------------
  |  Branch (2992:17): [True: 0, False: 14.0k]
  ------------------
 2993|    389|                case MATCH_MAPPING:
  ------------------
  |  |   36|    389|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (2993:17): [True: 0, False: 14.0k]
  ------------------
 2994|    389|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|    389|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (2994:17): [True: 0, False: 14.0k]
  ------------------
 2995|    389|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|    389|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (2995:17): [True: 0, False: 14.0k]
  ------------------
 2996|    389|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 2997|    389|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 2998|    389|                    int net_pushed = num_pushed - num_popped;
 2999|    389|                    assert(net_pushed >= 0);
 3000|    486|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (3000:37): [True: 97, False: 389]
  ------------------
 3001|     97|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|     97|        do {                                      \
  |  | 2892|     97|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 97]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|     97|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 97]
  |  |  ------------------
  ------------------
 3002|     97|                    }
 3003|    389|                    break;
 3004|    389|                }
 3005|       |
 3006|       |                // Opcodes that consume some inputs and push no new values
 3007|    389|                case DICT_MERGE:
  ------------------
  |  |   77|      2|#define DICT_MERGE                              64
  ------------------
  |  Branch (3007:17): [True: 2, False: 14.0k]
  ------------------
 3008|      2|                case DICT_UPDATE:
  ------------------
  |  |   78|      2|#define DICT_UPDATE                             65
  ------------------
  |  Branch (3008:17): [True: 0, False: 14.0k]
  ------------------
 3009|      2|                case LIST_APPEND:
  ------------------
  |  |   90|      2|#define LIST_APPEND                             77
  ------------------
  |  Branch (3009:17): [True: 0, False: 14.0k]
  ------------------
 3010|      4|                case LIST_EXTEND:
  ------------------
  |  |   91|      4|#define LIST_EXTEND                             78
  ------------------
  |  Branch (3010:17): [True: 2, False: 14.0k]
  ------------------
 3011|      4|                case MAP_ADD:
  ------------------
  |  |  110|      4|#define MAP_ADD                                 97
  ------------------
  |  Branch (3011:17): [True: 0, False: 14.0k]
  ------------------
 3012|      4|                case RERAISE:
  ------------------
  |  |  117|      4|#define RERAISE                                104
  ------------------
  |  Branch (3012:17): [True: 0, False: 14.0k]
  ------------------
 3013|      4|                case SET_ADD:
  ------------------
  |  |  119|      4|#define SET_ADD                                106
  ------------------
  |  Branch (3013:17): [True: 0, False: 14.0k]
  ------------------
 3014|      4|                case SET_UPDATE: {
  ------------------
  |  |  121|      4|#define SET_UPDATE                             108
  ------------------
  |  Branch (3014:17): [True: 0, False: 14.0k]
  ------------------
 3015|      4|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3016|      4|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3017|      4|                    int net_popped = num_popped - num_pushed;
 3018|      4|                    assert(net_popped > 0);
 3019|      8|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3019:37): [True: 4, False: 4]
  ------------------
 3020|      4|                        ref_stack_pop(&refs);
 3021|      4|                    }
 3022|      4|                    break;
 3023|      4|                }
 3024|       |
 3025|      0|                case END_SEND: {
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (3025:17): [True: 0, False: 14.0k]
  ------------------
 3026|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
 3027|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
 3028|      0|                    ref tos = ref_stack_pop(&refs);
 3029|      0|                    ref_stack_pop(&refs);
 3030|      0|                    ref_stack_pop(&refs);
 3031|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3032|      0|                    break;
 3033|      0|                }
 3034|       |
 3035|    259|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  120|    259|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (3035:17): [True: 259, False: 13.8k]
  ------------------
 3036|    259|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
 3037|    259|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
 3038|    259|                    ref tos = ref_stack_pop(&refs);
 3039|    259|                    ref_stack_pop(&refs);
 3040|    259|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2891|    259|        do {                                      \
  |  | 2892|    259|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 259]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    259|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 259]
  |  |  ------------------
  ------------------
 3041|    259|                    break;
 3042|    259|                }
 3043|       |
 3044|       |                // Opcodes that consume some inputs and push new values
 3045|    259|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3045:17): [True: 0, False: 14.0k]
  ------------------
 3046|      0|                    ref_stack_pop(&refs);
 3047|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3048|      0|                    break;
 3049|      0|                }
 3050|       |
 3051|      2|                case FOR_ITER: {
  ------------------
  |  |   81|      2|#define FOR_ITER                                68
  ------------------
  |  Branch (3051:17): [True: 2, False: 14.0k]
  ------------------
 3052|      2|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3053|      2|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|      2|        do {                                      \
  |  | 2892|      2|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      2|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3054|      2|                    break;
 3055|      2|                }
 3056|       |
 3057|  1.14k|                case LOAD_ATTR:
  ------------------
  |  |   92|  1.14k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (3057:17): [True: 1.14k, False: 12.9k]
  ------------------
 3058|  1.19k|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  108|  1.19k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (3058:17): [True: 48, False: 14.0k]
  ------------------
 3059|  1.19k|                    ref self = ref_stack_pop(&refs);
 3060|  1.19k|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  108|  1.19k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (3060:25): [True: 48, False: 1.14k]
  ------------------
 3061|     48|                        ref_stack_pop(&refs);
 3062|     48|                        ref_stack_pop(&refs);
 3063|     48|                    }
 3064|  1.19k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|  1.19k|        do {                                      \
  |  | 2892|  1.19k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 1.19k]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|  1.19k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
 3065|  1.19k|                    if (oparg & 1) {
  ------------------
  |  Branch (3065:25): [True: 192, False: 998]
  ------------------
 3066|       |                        // A method call; conservatively assume that self is pushed
 3067|       |                        // back onto the stack
 3068|    192|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2891|    192|        do {                                      \
  |  | 2892|    192|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 192]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|    192|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 192]
  |  |  ------------------
  ------------------
 3069|    192|                    }
 3070|  1.19k|                    break;
 3071|  1.19k|                }
 3072|       |
 3073|  1.19k|                case LOAD_SPECIAL:
  ------------------
  |  |  107|      0|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (3073:17): [True: 0, False: 14.0k]
  ------------------
 3074|      0|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3074:17): [True: 0, False: 14.0k]
  ------------------
 3075|      0|                    ref tos = ref_stack_pop(&refs);
 3076|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3077|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3078|      0|                    break;
 3079|      0|                }
 3080|       |
 3081|      0|                case SEND: {
  ------------------
  |  |  118|      0|#define SEND                                   105
  ------------------
  |  Branch (3081:17): [True: 0, False: 14.0k]
  ------------------
 3082|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3083|      0|                    ref_stack_pop(&refs);
 3084|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|      0|        do {                                      \
  |  | 2892|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3085|      0|                    break;
 3086|      0|                }
 3087|       |
 3088|       |                // Opcodes that consume all of their inputs
 3089|  9.30k|                default: {
  ------------------
  |  Branch (3089:17): [True: 9.30k, False: 4.76k]
  ------------------
 3090|  9.30k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3091|  9.30k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3092|  9.30k|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  9.30k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  18.6k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  9.30k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 396, False: 8.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  8.90k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  17.8k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 8.90k]
  |  |  |  |  ------------------
  |  |  |  |   19|  8.90k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  17.8k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 8.90k]
  |  |  |  |  ------------------
  |  |  |  |   20|  8.90k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  8.90k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 8.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3093|    396|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3094|    396|                    }
 3095|  9.30k|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|  9.30k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|  18.6k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 9.30k]
  |  |  ------------------
  |  |   19|  9.30k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|  18.6k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 9.30k]
  |  |  ------------------
  |  |   20|  9.30k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|  9.30k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 9.30k]
  |  |  ------------------
  ------------------
 3096|       |                        // Block push opcodes only affect the stack when jumping
 3097|       |                        // to the target.
 3098|  17.8k|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3098:41): [True: 8.58k, False: 9.30k]
  ------------------
 3099|  8.58k|                            ref_stack_pop(&refs);
 3100|  8.58k|                        }
 3101|  16.0k|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3101:41): [True: 6.74k, False: 9.30k]
  ------------------
 3102|  6.74k|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2891|  6.74k|        do {                                      \
  |  | 2892|  6.74k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2892:17): [True: 0, False: 6.74k]
  |  |  ------------------
  |  | 2893|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2894|      0|                goto done;                        \
  |  | 2895|      0|            }                                     \
  |  | 2896|  6.74k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2896:17): [Folded, False: 6.74k]
  |  |  ------------------
  ------------------
 3103|  6.74k|                        }
 3104|  9.30k|                    }
 3105|  9.30k|                    break;
 3106|  9.30k|                }
 3107|  14.0k|            }
 3108|  14.0k|        }
 3109|       |
 3110|       |        // Push fallthrough block
 3111|  1.35k|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  251|  1.35k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 448, False: 903]
  |  |  ------------------
  ------------------
 3112|    448|            assert(block->b_next != NULL);
 3113|    448|            load_fast_push_block(&sp, block->b_next, refs.size);
 3114|    448|        }
 3115|       |
 3116|       |        // Mark instructions that produce values that are on the stack at the
 3117|       |        // end of the basic block
 3118|  2.45k|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3118:32): [True: 1.09k, False: 1.35k]
  ------------------
 3119|  1.09k|            ref r = ref_stack_at(&refs, i);
 3120|  1.09k|            if (r.instr != -1) {
  ------------------
  |  Branch (3120:17): [True: 1.06k, False: 38]
  ------------------
 3121|  1.06k|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3122|  1.06k|            }
 3123|  1.09k|        }
 3124|       |
 3125|       |        // Optimize instructions
 3126|  15.4k|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3126:25): [True: 14.0k, False: 1.35k]
  ------------------
 3127|  14.0k|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3127:17): [True: 12.6k, False: 1.38k]
  ------------------
 3128|  12.6k|                cfg_instr *instr = &block->b_instr[i];
 3129|  12.6k|                switch (instr->i_opcode) {
 3130|  1.93k|                    case LOAD_FAST:
  ------------------
  |  |   96|  1.93k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3130:21): [True: 1.93k, False: 10.7k]
  ------------------
 3131|  1.93k|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   98|  1.93k|#define LOAD_FAST_BORROW                        85
  ------------------
 3132|  1.93k|                        break;
 3133|    482|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|    482|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (3133:21): [True: 482, False: 12.2k]
  ------------------
 3134|    482|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   99|    482|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       86
  ------------------
 3135|    482|                        break;
 3136|  10.2k|                    default:
  ------------------
  |  Branch (3136:21): [True: 10.2k, False: 2.41k]
  ------------------
 3137|  10.2k|                        break;
 3138|  12.6k|                }
 3139|  12.6k|            }
 3140|  14.0k|        }
 3141|  1.35k|    }
 3142|       |
 3143|    733|    #undef PUSH_REF
 3144|       |
 3145|    733|    status = SUCCESS;
  ------------------
  |  |   21|    733|#define SUCCESS 0
  ------------------
 3146|       |
 3147|    733|done:
 3148|    733|    ref_stack_fini(&refs);
 3149|    733|    PyMem_Free(instr_flags);
 3150|    733|    PyMem_Free(blocks);
 3151|    733|    return status;
 3152|    733|}
flowgraph.c:ref_stack_clear:
 2770|  1.35k|{
 2771|  1.35k|    stack->size = 0;
 2772|  1.35k|}
flowgraph.c:ref_stack_push:
 2726|  11.8k|{
 2727|  11.8k|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2727:9): [True: 733, False: 11.0k]
  ------------------
 2728|    733|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  115|    733|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 733, False: 0]
  |  |  ------------------
  ------------------
 2729|    733|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2730|    733|        if (refs == NULL) {
  ------------------
  |  Branch (2730:13): [True: 0, False: 733]
  ------------------
 2731|      0|            PyErr_NoMemory();
 2732|      0|            return -1;
 2733|      0|        }
 2734|    733|        stack->refs = refs;
 2735|    733|        stack->capacity = new_cap;
 2736|    733|    }
 2737|  11.8k|    stack->refs[stack->size] = r;
 2738|  11.8k|    stack->size++;
 2739|  11.8k|    return 0;
 2740|  11.8k|}
flowgraph.c:kill_local:
 2796|    331|{
 2797|    353|    for (Py_ssize_t i = 0; i < refs->size; i++) {
  ------------------
  |  Branch (2797:28): [True: 22, False: 331]
  ------------------
 2798|     22|        ref r = ref_stack_at(refs, i);
 2799|     22|        if (r.local == local) {
  ------------------
  |  Branch (2799:13): [True: 0, False: 22]
  ------------------
 2800|       |            assert(r.instr >= 0);
 2801|      0|            instr_flags[r.instr] |= SUPPORT_KILLED;
 2802|      0|        }
 2803|     22|    }
 2804|    331|}
flowgraph.c:ref_stack_pop:
 2744|  10.7k|{
 2745|       |    assert(stack->size > 0);
 2746|  10.7k|    stack->size--;
 2747|  10.7k|    ref r = stack->refs[stack->size];
 2748|  10.7k|    return r;
 2749|  10.7k|}
flowgraph.c:store_local:
 2808|    331|{
 2809|    331|    kill_local(instr_flags, refs, local);
 2810|    331|    if (r.instr != DUMMY_INSTR) {
  ------------------
  |  | 2708|    331|#define DUMMY_INSTR -1
  ------------------
  |  Branch (2810:9): [True: 327, False: 4]
  ------------------
 2811|    327|        instr_flags[r.instr] |= STORED_AS_LOCAL;
 2812|    327|    }
 2813|    331|}
flowgraph.c:ref_stack_at:
 2763|  1.28k|{
 2764|       |    assert(idx >= 0 && idx < stack->size);
 2765|  1.28k|    return stack->refs[idx];
 2766|  1.28k|}
flowgraph.c:ref_stack_swap_top:
 2753|      4|{
 2754|      4|    Py_ssize_t idx = stack->size - off;
 2755|       |    assert(idx >= 0 && idx < stack->size);
 2756|      4|    ref tmp = stack->refs[idx];
 2757|      4|    stack->refs[idx] = stack->refs[stack->size - 1];
 2758|      4|    stack->refs[stack->size - 1] = tmp;
 2759|      4|}
flowgraph.c:load_fast_push_block:
 2818|    846|{
 2819|    846|    assert(target->b_startdepth >= 0 && target->b_startdepth == start_depth);
 2820|    846|    if (!target->b_visited) {
  ------------------
  |  Branch (2820:9): [True: 618, False: 228]
  ------------------
 2821|    618|        target->b_visited = 1;
 2822|    618|        *(*sp)++ = target;
 2823|    618|    }
 2824|    846|}
flowgraph.c:ref_stack_fini:
 2776|    733|{
 2777|    733|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2777:9): [True: 733, False: 0]
  ------------------
 2778|    733|        PyMem_Free(stack->refs);
 2779|    733|    }
 2780|       |    stack->refs = NULL;
 2781|    733|    stack->capacity = 0;
 2782|    733|    stack->size = 0;
 2783|    733|}
flowgraph.c:get_stack_effects:
  781|  13.7k|{
  782|  13.7k|    if (opcode < 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 13.7k]
  ------------------
  783|      0|        return -1;
  784|      0|    }
  785|  13.7k|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|  13.7k|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (785:9): [True: 13.4k, False: 259]
  |  Branch (785:40): [True: 0, False: 13.4k]
  ------------------
  786|       |        // Specialized instructions are not supported.
  787|      0|        return -1;
  788|      0|    }
  789|  13.7k|    int popped = _PyOpcode_num_popped(opcode, oparg);
  790|  13.7k|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  791|  13.7k|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (791:9): [True: 0, False: 13.7k]
  |  Branch (791:23): [True: 0, False: 13.7k]
  ------------------
  792|      0|        return -1;
  793|      0|    }
  794|  13.7k|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|  27.4k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|  27.4k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 13.7k]
  |  |  ------------------
  |  |   19|  13.7k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|  27.4k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 13.7k]
  |  |  ------------------
  |  |   20|  27.4k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|  13.7k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 13.7k]
  |  |  ------------------
  ------------------
  |  Branch (794:41): [True: 0, False: 0]
  ------------------
  795|      0|        effects->net = 0;
  796|      0|        return 0;
  797|      0|    }
  798|  13.7k|    effects->net = pushed - popped;
  799|  13.7k|    return 0;
  800|  13.7k|}

_PyFrame_Traverse:
   12|  17.5k|{
   13|  17.5k|    Py_VISIT(frame->frame_obj);
  ------------------
  |  |  194|  17.5k|    do {                                                                \
  |  |  195|  17.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 17.5k]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
   14|  17.5k|    Py_VISIT(frame->f_locals);
  ------------------
  |  |  194|  17.5k|    do {                                                                \
  |  |  195|  17.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
   15|  17.5k|    _Py_VISIT_STACKREF(frame->f_funcobj);
  ------------------
  |  |  863|  17.5k|    do {                                                                \
  |  |  864|  17.5k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|  17.5k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|  35.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|  17.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  17.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 17.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 17.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|  17.5k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|  17.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |  867|  17.5k|                return vret;                                            \
  |  |  868|  17.5k|        }                                                               \
  |  |  869|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
   16|  17.5k|    _Py_VISIT_STACKREF(frame->f_executable);
  ------------------
  |  |  863|  17.5k|    do {                                                                \
  |  |  864|  17.5k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|  17.5k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|  35.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|  17.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  17.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 17.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 17.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|  17.5k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|  17.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |  867|  17.5k|                return vret;                                            \
  |  |  868|  17.5k|        }                                                               \
  |  |  869|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
   17|  17.5k|    return _PyGC_VisitFrameStack(frame, visit, arg);
   18|  17.5k|}
_PyFrame_MakeAndSetFrameObject:
   22|  2.36M|{
   23|  2.36M|    assert(frame->frame_obj == NULL);
   24|  2.36M|    PyObject *exc = PyErr_GetRaisedException();
   25|       |
   26|  2.36M|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   27|  2.36M|    if (f == NULL) {
  ------------------
  |  Branch (27:9): [True: 0, False: 2.36M]
  ------------------
   28|      0|        Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|      0|        return NULL;
   30|      0|    }
   31|  2.36M|    PyErr_SetRaisedException(exc);
   32|       |
   33|       |    // GH-97002: There was a time when a frame object could be created when we
   34|       |    // are allocating the new frame object f above, so frame->frame_obj would
   35|       |    // be assigned already. That path does not exist anymore. We won't call any
   36|       |    // Python code in this function and garbage collection will not run.
   37|       |    // Notice that _PyFrame_New_NoTrack() can potentially raise a MemoryError,
   38|       |    // but it won't allocate a traceback until the frame unwinds, so we are safe
   39|       |    // here.
   40|  2.36M|    assert(frame->frame_obj == NULL);
   41|       |    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
   42|  2.36M|    f->f_frame = frame;
   43|  2.36M|    frame->frame_obj = f;
   44|  2.36M|    return f;
   45|  2.36M|}
_PyFrame_ClearLocals:
   94|  57.4M|{
   95|  57.4M|    assert(frame->stackpointer != NULL);
   96|  57.4M|    _PyStackRef *sp = frame->stackpointer;
   97|  57.4M|    _PyStackRef *locals = frame->localsplus;
   98|  57.4M|    frame->stackpointer = locals;
   99|   230M|    while (sp > locals) {
  ------------------
  |  Branch (99:12): [True: 173M, False: 57.4M]
  ------------------
  100|   173M|        sp--;
  101|   173M|        PyStackRef_XCLOSE(*sp);
  102|   173M|    }
  103|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|  57.4M|    do { \
  |  |  485|  57.4M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  57.4M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  57.4M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  57.4M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  57.4M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.73k, False: 57.4M]
  |  |  ------------------
  |  |  488|  2.73k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.73k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.73k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.73k|        } \
  |  |  491|  57.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 57.4M]
  |  |  ------------------
  ------------------
  104|  57.4M|}
_PyFrame_ClearExceptCode:
  108|  58.4M|{
  109|       |    /* It is the responsibility of the owning generator/coroutine
  110|       |     * to have cleared the enclosing generator, if any. */
  111|  58.4M|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  112|  58.4M|           FT_ATOMIC_LOAD_INT8_RELAXED(_PyGen_GetGeneratorFromFrame(frame)->gi_frame_state) == FRAME_CLEARED);
  113|       |    // GH-99729: Clearing this frame can expose the stack (via finalizers). It's
  114|       |    // crucial that this frame has been unlinked, and is no longer visible:
  115|  58.4M|    assert(_PyThreadState_GET()->current_frame != frame);
  116|  58.4M|    if (frame->frame_obj) {
  ------------------
  |  Branch (116:9): [True: 2.36M, False: 56.0M]
  ------------------
  117|  2.36M|        PyFrameObject *f = frame->frame_obj;
  118|  2.36M|        frame->frame_obj = NULL;
  119|  2.36M|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (119:13): [True: 980k, False: 1.38M]
  ------------------
  120|   980k|            take_ownership(f, frame);
  121|   980k|            Py_DECREF(f);
  ------------------
  |  |  430|   980k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   980k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   980k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|   980k|            return;
  123|   980k|        }
  124|  1.38M|        Py_DECREF(f);
  ------------------
  |  |  430|  1.38M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  125|  1.38M|    }
  126|  57.4M|    _PyFrame_ClearLocals(frame);
  127|  57.4M|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  57.4M|    do { \
  |  |  733|  57.4M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  57.4M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  57.4M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  57.4M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  57.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 57.4M]
  |  |  ------------------
  ------------------
  128|  57.4M|}
frame.c:take_ownership:
   49|   980k|{
   50|   980k|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|   980k|    {
  ------------------
   51|   980k|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
   52|   980k|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
   53|   980k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   54|   980k|    _PyFrame_Copy(frame, new_frame);
   55|       |    // _PyFrame_Copy takes the reference to the executable,
   56|       |    // so we need to restore it.
   57|   980k|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   58|   980k|    f->f_frame = new_frame;
   59|   980k|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   60|   980k|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 980k]
  ------------------
   61|       |        // This may be a newly-created generator or coroutine frame. Since it's
   62|       |        // dead anyways, just pretend that the first RESUME ran:
   63|      0|        PyCodeObject *code = _PyFrame_GetCode(new_frame);
   64|      0|        new_frame->instr_ptr =
   65|      0|            _PyFrame_GetBytecode(new_frame) + code->_co_firsttraceable + 1;
   66|      0|    }
   67|   980k|    assert(!_PyFrame_IsIncomplete(new_frame));
   68|   980k|    assert(f->f_back == NULL);
   69|   980k|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   70|   980k|    if (prev) {
  ------------------
  |  Branch (70:9): [True: 957k, False: 23.5k]
  ------------------
   71|   957k|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
   72|   957k|        PyObject *exc = PyErr_GetRaisedException();
   73|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   74|   957k|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   75|   957k|        if (back == NULL) {
  ------------------
  |  Branch (75:13): [True: 0, False: 957k]
  ------------------
   76|       |            /* Memory error here. */
   77|      0|            assert(PyErr_ExceptionMatches(PyExc_MemoryError));
   78|       |            /* Nothing we can do about it */
   79|      0|            PyErr_Clear();
   80|      0|        }
   81|   957k|        else {
   82|   957k|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  550|   957k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|   957k|        }
   84|   957k|        PyErr_SetRaisedException(exc);
   85|   957k|    }
   86|   980k|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|   980k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   980k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 980k, False: 0]
  ------------------
   87|   980k|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  508|   980k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   980k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   980k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|   980k|    }
   89|   980k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   980k|    }
  ------------------
   90|   980k|}

_PyFuture_FromAST:
  111|    225|{
  112|    225|    ff->ff_features = 0;
  113|    225|    ff->ff_location = (_Py_SourceLocation){-1, -1, -1, -1};
  114|       |
  115|    225|    if (!future_parse(ff, mod, filename)) {
  ------------------
  |  Branch (115:9): [True: 0, False: 225]
  ------------------
  116|      0|        return 0;
  117|      0|    }
  118|    225|    return 1;
  119|    225|}
future.c:future_parse:
   66|    225|{
   67|    225|    if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) {
  ------------------
  |  Branch (67:11): [True: 147, False: 78]
  |  Branch (67:39): [True: 0, False: 78]
  ------------------
   68|     78|        return 1;
   69|     78|    }
   70|       |
   71|    147|    Py_ssize_t n = asdl_seq_LEN(mod->v.Module.body);
  ------------------
  |  |   83|    147|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    294|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|    147|    if (n == 0) {
  ------------------
  |  Branch (72:9): [True: 0, False: 147]
  ------------------
   73|      0|        return 1;
   74|      0|    }
   75|       |
   76|    147|    Py_ssize_t i = 0;
   77|    147|    if (_PyAST_GetDocString(mod->v.Module.body) != NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 147]
  ------------------
   78|      0|        i++;
   79|      0|    }
   80|       |
   81|    147|    for (; i < n; i++) {
  ------------------
  |  Branch (81:12): [True: 147, False: 0]
  ------------------
   82|    147|        stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
  ------------------
  |  |   82|    147|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    147|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   83|       |
   84|       |        /* The only things that can precede a future statement
   85|       |         *  are another future statement and a doc string.
   86|       |         */
   87|       |
   88|    147|        if (s->kind == ImportFrom_kind && s->v.ImportFrom.level == 0) {
  ------------------
  |  Branch (88:13): [True: 89, False: 58]
  |  Branch (88:43): [True: 89, False: 0]
  ------------------
   89|     89|            identifier modname = s->v.ImportFrom.module;
   90|     89|            if (modname &&
  ------------------
  |  Branch (90:17): [True: 89, False: 0]
  ------------------
   91|     89|                _PyUnicode_EqualToASCIIString(modname, "__future__")) {
  ------------------
  |  Branch (91:17): [True: 0, False: 89]
  ------------------
   92|      0|                if (!future_check_features(ff, s, filename)) {
  ------------------
  |  Branch (92:21): [True: 0, False: 0]
  ------------------
   93|      0|                    return 0;
   94|      0|                }
   95|      0|                ff->ff_location = SRC_LOCATION_FROM_AST(s);
  ------------------
  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  ------------------
   96|      0|            }
   97|     89|            else {
   98|     89|                return 1;
   99|     89|            }
  100|     89|        }
  101|     58|        else {
  102|     58|            return 1;
  103|     58|        }
  104|    147|    }
  105|      0|    return 1;
  106|    147|}

_PyGC_InitState:
  114|      2|{
  115|      2|#define INIT_HEAD(GEN) \
  116|      2|    do { \
  117|      2|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  118|      2|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  119|      2|    } while (0)
  120|       |
  121|      8|    for (int i = 0; i < NUM_GENERATIONS; i++) {
  ------------------
  |  |  217|      8|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (121:21): [True: 6, False: 2]
  ------------------
  122|      6|        assert(gcstate->generations[i].count == 0);
  123|      6|        INIT_HEAD(gcstate->generations[i]);
  ------------------
  |  |  116|      6|    do { \
  |  |  117|      6|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  |  |  118|      6|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  |  |  119|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (119:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  124|      6|    };
  125|      2|    gcstate->generation0 = GEN_HEAD(gcstate, 0);
  ------------------
  |  |  101|      2|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
  126|      2|    INIT_HEAD(gcstate->permanent_generation);
  ------------------
  |  |  116|      2|    do { \
  |  |  117|      2|        GEN.head._gc_next = (uintptr_t)&GEN.head; \
  |  |  118|      2|        GEN.head._gc_prev = (uintptr_t)&GEN.head; \
  |  |  119|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (119:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  127|       |
  128|      2|#undef INIT_HEAD
  129|      2|}
_PyGC_Init:
  134|      2|{
  135|      2|    GCState *gcstate = &interp->gc;
  136|       |
  137|      2|    gcstate->generation_stats = PyMem_RawCalloc(1, sizeof(struct gc_stats));
  138|      2|    if (gcstate->generation_stats == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 2]
  ------------------
  139|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  140|      0|    }
  141|       |
  142|      2|    gcstate->garbage = PyList_New(0);
  143|      2|    if (gcstate->garbage == NULL) {
  ------------------
  |  Branch (143:9): [True: 0, False: 2]
  ------------------
  144|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  145|      0|    }
  146|       |
  147|      2|    gcstate->callbacks = PyList_New(0);
  148|      2|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (148:9): [True: 0, False: 2]
  ------------------
  149|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  150|      0|    }
  151|       |
  152|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  153|      2|}
_PyGC_VisitStackRef:
  460|  94.4k|{
  461|       |    // This is a bit tricky! We want to ignore stackrefs with embedded
  462|       |    // refcounts when computing the incoming references, but otherwise treat
  463|       |    // them like normal.
  464|  94.4k|    assert(!PyStackRef_IsTaggedInt(*ref));
  465|  94.4k|    if (!PyStackRef_RefcountOnObject(*ref) && (visit == visit_decref)) {
  ------------------
  |  Branch (465:9): [True: 12.4k, False: 82.0k]
  |  Branch (465:47): [True: 6.21k, False: 6.21k]
  ------------------
  466|  6.21k|        return 0;
  467|  6.21k|    }
  468|  88.2k|    Py_VISIT(PyStackRef_AsPyObjectBorrow(*ref));
  ------------------
  |  |  194|  88.2k|    do {                                                                \
  |  |  195|  88.2k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88.2k, False: 0]
  |  |  ------------------
  |  |  196|  88.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  88.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  88.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88.2k]
  |  |  ------------------
  |  |  198|  88.2k|                return vret;                                            \
  |  |  199|  88.2k|        }                                                               \
  |  |  200|  88.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88.2k]
  |  |  ------------------
  ------------------
  469|  88.2k|    return 0;
  470|  88.2k|}
_PyGC_VisitFrameStack:
  474|  17.5k|{
  475|  17.5k|    _PyStackRef *ref = _PyFrame_GetLocalsArray(frame);
  476|       |    /* locals and stack */
  477|  83.4k|    for (; ref < frame->stackpointer; ref++) {
  ------------------
  |  Branch (477:12): [True: 65.9k, False: 17.5k]
  ------------------
  478|  65.9k|        if (!PyStackRef_IsTaggedInt(*ref)) {
  ------------------
  |  Branch (478:13): [True: 65.9k, False: 14]
  ------------------
  479|  65.9k|            _Py_VISIT_STACKREF(*ref);
  ------------------
  |  |  863|  65.9k|    do {                                                                \
  |  |  864|  65.9k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|  65.9k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|   131k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|  65.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  65.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 6.49k, False: 59.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 59.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|  59.4k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|  59.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 59.4k]
  |  |  ------------------
  |  |  867|  59.4k|                return vret;                                            \
  |  |  868|  59.4k|        }                                                               \
  |  |  869|  65.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 65.9k]
  |  |  ------------------
  ------------------
  480|  65.9k|        }
  481|  65.9k|    }
  482|  17.5k|    return 0;
  483|  17.5k|}
PyObject_GC_Track:
 1930|  2.82M|{
 1931|  2.82M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1932|  2.82M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  2.82M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 2.82M]
  |  |  ------------------
  ------------------
 1933|      0|        _PyObject_ASSERT_FAILED_MSG(op,
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 1934|      0|                                    "object already tracked "
 1935|      0|                                    "by the garbage collector");
 1936|      0|    }
 1937|  2.82M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  2.82M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1938|       |
 1939|       |#ifdef Py_DEBUG
 1940|       |    /* Check that the object is valid: validate objects traversed
 1941|       |       by tp_traverse() */
 1942|       |    traverseproc traverse = Py_TYPE(op)->tp_traverse;
 1943|       |    (void)traverse(op, visit_validate, op);
 1944|       |#endif
 1945|  2.82M|}
PyObject_GC_UnTrack:
 1949|  62.5M|{
 1950|  62.5M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  62.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  62.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1951|       |    /* The code for some objects, such as tuples, is a bit
 1952|       |     * sloppy about when the object is tracked and untracked. */
 1953|  62.5M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  62.5M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  62.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 43.6M, False: 18.8M]
  |  |  ------------------
  ------------------
 1954|  43.6M|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  43.6M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|  43.6M|    }
 1956|  62.5M|}
PyObject_IS_GC:
 1960|  2.22M|{
 1961|  2.22M|    return _PyObject_IS_GC(obj);
 1962|  2.22M|}
_Py_ScheduleGC:
 1966|  21.7k|{
 1967|  21.7k|    if (!_Py_eval_breaker_bit_is_set(tstate, _PY_GC_SCHEDULED_BIT))
  ------------------
  |  |  348|  21.7k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1967:9): [True: 2.71k, False: 19.0k]
  ------------------
 1968|  2.71k|    {
 1969|  2.71k|        _Py_set_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  348|  2.71k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1970|  2.71k|    }
 1971|  21.7k|}
_PyObject_GC_Link:
 1975|  23.3M|{
 1976|  23.3M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  23.3M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 1977|       |    // gc must be correctly aligned
 1978|  23.3M|    _PyObject_ASSERT(op, ((uintptr_t)gc & (sizeof(uintptr_t)-1)) == 0);
  ------------------
  |  |  423|  23.3M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  23.3M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  23.3M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1979|       |
 1980|  23.3M|    PyThreadState *tstate = _PyThreadState_GET();
 1981|  23.3M|    GCState *gcstate = &tstate->interp->gc;
 1982|  23.3M|    gc->_gc_next = 0;
 1983|  23.3M|    gc->_gc_prev = 0;
 1984|  23.3M|    gcstate->generations[0].count++; /* number of allocated GC objects */
 1985|  23.3M|    if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1985:9): [True: 22.2k, False: 23.3M]
  ------------------
 1986|  22.2k|        gcstate->enabled &&
  ------------------
  |  Branch (1986:9): [True: 22.2k, False: 0]
  ------------------
 1987|  22.2k|        gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1987:9): [True: 22.2k, False: 0]
  ------------------
 1988|  22.2k|        !_Py_atomic_load_int_relaxed(&gcstate->collecting) &&
  ------------------
  |  Branch (1988:9): [True: 21.7k, False: 476]
  ------------------
 1989|  21.7k|        !_PyErr_Occurred(tstate))
  ------------------
  |  Branch (1989:9): [True: 21.7k, False: 0]
  ------------------
 1990|  21.7k|    {
 1991|  21.7k|        _Py_ScheduleGC(tstate);
 1992|  21.7k|    }
 1993|  23.3M|}
_Py_RunGC:
 1997|  2.71k|{
 1998|  2.71k|    GCState *gcstate = get_gc_state();
 1999|  2.71k|    if (!gcstate->enabled) {
  ------------------
  |  Branch (1999:9): [True: 0, False: 2.71k]
  ------------------
 2000|      0|        return;
 2001|      0|    }
 2002|  2.71k|    gc_collect_main(tstate, GENERATION_AUTO, _Py_GC_REASON_HEAP);
  ------------------
  |  |   56|  2.71k|#define GENERATION_AUTO (-1)
  ------------------
 2003|  2.71k|}
_PyObject_GC_New:
 2027|  15.0M|{
 2028|  15.0M|    size_t presize = _PyType_PreHeaderSize(tp);
 2029|  15.0M|    size_t size = _PyObject_SIZE(tp);
 2030|  15.0M|    if (_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  15.0M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2030:9): [True: 90, False: 15.0M]
  ------------------
 2031|     90|        size += _PyInlineValuesSize(tp);
 2032|     90|    }
 2033|  15.0M|    PyObject *op = gc_alloc(tp, size, presize);
 2034|  15.0M|    if (op == NULL) {
  ------------------
  |  Branch (2034:9): [True: 0, False: 15.0M]
  ------------------
 2035|      0|        return NULL;
 2036|      0|    }
 2037|  15.0M|    _PyObject_Init(op, tp);
 2038|  15.0M|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  15.0M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2038:9): [True: 90, False: 15.0M]
  ------------------
 2039|     90|        _PyObject_InitInlineValues(op, tp);
 2040|     90|    }
 2041|  15.0M|    return op;
 2042|  15.0M|}
_PyObject_GC_NewVar:
 2046|  4.17M|{
 2047|  4.17M|    PyVarObject *op;
 2048|       |
 2049|  4.17M|    if (nitems < 0) {
  ------------------
  |  Branch (2049:9): [True: 0, False: 4.17M]
  ------------------
 2050|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2051|      0|        return NULL;
 2052|      0|    }
 2053|  4.17M|    size_t presize = _PyType_PreHeaderSize(tp);
 2054|  4.17M|    size_t size = _PyObject_VAR_SIZE(tp, nitems);
 2055|  4.17M|    op = (PyVarObject *)gc_alloc(tp, size, presize);
 2056|  4.17M|    if (op == NULL) {
  ------------------
  |  Branch (2056:9): [True: 0, False: 4.17M]
  ------------------
 2057|      0|        return NULL;
 2058|      0|    }
 2059|  4.17M|    _PyObject_InitVar(op, tp, nitems);
 2060|  4.17M|    return op;
 2061|  4.17M|}
_PyObject_GC_Resize:
 2079|      4|{
 2080|      4|    const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      4|    const size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|      4|    _PyObject_ASSERT((PyObject *)op, !_PyObject_GC_IS_TRACKED(op));
  ------------------
  |  |  423|      4|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|      4|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|      4|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|      4|    if (basicsize > (size_t)PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2083:9): [True: 0, False: 4]
  ------------------
 2084|      0|        return (PyVarObject *)PyErr_NoMemory();
 2085|      0|    }
 2086|      4|    char *mem = (char *)op - presize;
 2087|      4|    mem = (char *)_PyObject_ReallocWithType(Py_TYPE(op), mem, presize + basicsize);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|      4|    if (mem == NULL) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 4]
  ------------------
 2089|      0|        return (PyVarObject *)PyErr_NoMemory();
 2090|      0|    }
 2091|      4|    op = (PyVarObject *) (mem + presize);
 2092|      4|    Py_SET_SIZE(op, nitems);
  ------------------
  |  |  216|      4|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2093|      4|    return op;
 2094|      4|}
PyObject_GC_Del:
 2098|  23.1M|{
 2099|  23.1M|    size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|  23.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  23.1M|    PyGC_Head *g = AS_GC(op);
  ------------------
  |  |   52|  23.1M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2101|  23.1M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  23.1M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  23.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 23.1M]
  |  |  ------------------
  ------------------
 2102|      0|        gc_list_remove(g);
 2103|      0|        GCState *gcstate = get_gc_state();
 2104|      0|        gcstate->heap_size--;
 2105|       |#ifdef Py_DEBUG
 2106|       |        PyObject *exc = PyErr_GetRaisedException();
 2107|       |        if (PyErr_WarnExplicitFormat(PyExc_ResourceWarning, "gc", 0,
 2108|       |                                     "gc", NULL,
 2109|       |                                     "Object of type %s is not untracked "
 2110|       |                                     "before destruction",
 2111|       |                                     Py_TYPE(op)->tp_name))
 2112|       |        {
 2113|       |            PyErr_FormatUnraisable("Exception ignored on object deallocation");
 2114|       |        }
 2115|       |        PyErr_SetRaisedException(exc);
 2116|       |#endif
 2117|      0|    }
 2118|  23.1M|    GCState *gcstate = get_gc_state();
 2119|  23.1M|    if (gcstate->generations[0].count > 0) {
  ------------------
  |  Branch (2119:9): [True: 20.0M, False: 3.12M]
  ------------------
 2120|  20.0M|        gcstate->generations[0].count--;
 2121|  20.0M|    }
 2122|  23.1M|    PyObject_Free(((char *)op)-presize);
 2123|  23.1M|}
PyObject_GC_IsTracked:
 2127|  1.84k|{
 2128|  1.84k|    if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) {
  ------------------
  |  |   81|    926|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    926|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 8, False: 918]
  |  |  ------------------
  ------------------
  |  Branch (2128:9): [True: 926, False: 916]
  ------------------
 2129|      8|        return 1;
 2130|      8|    }
 2131|  1.83k|    return 0;
 2132|  1.84k|}
gc.c:visit_decref:
  441|  31.0M|{
  442|  31.0M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  31.0M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  443|  31.0M|    _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op));
  ------------------
  |  |  423|  31.0M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  31.0M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  31.0M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|       |
  445|  31.0M|    if (_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (445:9): [True: 13.6M, False: 17.3M]
  ------------------
  446|  13.6M|        PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  13.6M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  447|       |        /* We're only interested in gc_refs for objects in the
  448|       |         * generation being collected, which can be recognized
  449|       |         * because only they have positive gc_refs.
  450|       |         */
  451|  13.6M|        if (gc_is_collecting(gc)) {
  ------------------
  |  Branch (451:13): [True: 8.62M, False: 5.06M]
  ------------------
  452|  8.62M|            gc_decref(gc);
  453|  8.62M|        }
  454|  13.6M|    }
  455|  31.0M|    return 0;
  456|  31.0M|}
gc.c:gc_is_collecting:
   60|  15.1M|{
   61|  15.1M|    return (g->_gc_prev & PREV_MASK_COLLECTING) != 0;
  ------------------
  |  |   39|  15.1M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  15.1M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   62|  15.1M|}
gc.c:gc_decref:
   93|  8.62M|{
   94|  8.62M|    _PyObject_ASSERT_WITH_MSG(FROM_GC(g),
  ------------------
  |  |  421|  8.62M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  8.62M|    ((void)0)
  |  |  ------------------
  ------------------
   95|  8.62M|                              gc_get_refs(g) > 0,
   96|  8.62M|                              "refcount is too small");
   97|  8.62M|    g->_gc_prev -= 1 << _PyGC_PREV_SHIFT;
  ------------------
  |  |  121|  8.62M|#define _PyGC_PREV_SHIFT           2
  ------------------
   98|  8.62M|}
gc.c:gc_list_merge:
  277|  6.66k|{
  278|  6.66k|    assert(from != to);
  279|  6.66k|    if (!gc_list_is_empty(from)) {
  ------------------
  |  Branch (279:9): [True: 3.36k, False: 3.30k]
  ------------------
  280|  3.36k|        PyGC_Head *to_tail = GC_PREV(to);
  ------------------
  |  |   29|  3.36k|#define GC_PREV _PyGCHead_PREV
  ------------------
  281|  3.36k|        PyGC_Head *from_head = GC_NEXT(from);
  ------------------
  |  |   28|  3.36k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  282|  3.36k|        PyGC_Head *from_tail = GC_PREV(from);
  ------------------
  |  |   29|  3.36k|#define GC_PREV _PyGCHead_PREV
  ------------------
  283|  3.36k|        assert(from_head != from);
  284|  3.36k|        assert(from_tail != from);
  285|       |
  286|  3.36k|        _PyGCHead_SET_NEXT(to_tail, from_head);
  287|  3.36k|        _PyGCHead_SET_PREV(from_head, to_tail);
  288|       |
  289|  3.36k|        _PyGCHead_SET_NEXT(from_tail, to);
  290|  3.36k|        _PyGCHead_SET_PREV(to, from_tail);
  291|  3.36k|    }
  292|  6.66k|    gc_list_init(from);
  293|  6.66k|}
gc.c:gc_list_is_empty:
  220|  5.51M|{
  221|  5.51M|    return (list->_gc_next == (uintptr_t)list);
  222|  5.51M|}
gc.c:gc_list_init:
  211|  14.8k|{
  212|       |    // List header must not have flags.
  213|       |    // We can assign pointer by simple cast.
  214|  14.8k|    list->_gc_prev = (uintptr_t)list;
  215|  14.8k|    list->_gc_next = (uintptr_t)list;
  216|  14.8k|}
gc.c:gc_list_size:
  297|  1.77k|{
  298|  1.77k|    PyGC_Head *gc;
  299|  1.77k|    Py_ssize_t n = 0;
  300|  3.92M|    for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  1.77k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  3.92M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (300:30): [True: 3.92M, False: 1.77k]
  ------------------
  301|  3.92M|        n++;
  302|  3.92M|    }
  303|  1.77k|    return n;
  304|  1.77k|}
gc.c:get_gc_state:
  106|  23.1M|{
  107|  23.1M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  108|  23.1M|    return &interp->gc;
  109|  23.1M|}
gc.c:gc_collect_main:
 1424|  2.71k|{
 1425|  2.71k|    int i;
 1426|  2.71k|    PyGC_Head *young; /* the generation we are examining */
 1427|  2.71k|    PyGC_Head *old; /* next older generation */
 1428|  2.71k|    PyGC_Head unreachable; /* non-problematic unreachable trash */
 1429|  2.71k|    PyGC_Head finalizers;  /* objects with, & reachable from, __del__ */
 1430|  2.71k|    PyGC_Head *gc;
 1431|  2.71k|    GCState *gcstate = &tstate->interp->gc;
 1432|       |
 1433|       |    // gc_collect_main() must not be called before _PyGC_Init
 1434|       |    // or after _PyGC_Fini()
 1435|  2.71k|    assert(gcstate->garbage != NULL);
 1436|  2.71k|    assert(!_PyErr_Occurred(tstate));
 1437|       |
 1438|  2.71k|    int expected = 0;
 1439|  2.71k|    if (!_Py_atomic_compare_exchange_int(&gcstate->collecting, &expected, 1)) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 2.71k]
  ------------------
 1440|       |        // Don't start a garbage collection if one is already in progress.
 1441|      0|        return 0;
 1442|      0|    }
 1443|  2.71k|    gcstate->frame = tstate->current_frame;
 1444|       |
 1445|  2.71k|    if (generation == GENERATION_AUTO) {
  ------------------
  |  |   56|  2.71k|#define GENERATION_AUTO (-1)
  ------------------
  |  Branch (1445:9): [True: 2.71k, False: 0]
  ------------------
 1446|       |        // Select the oldest generation that needs collecting. We will collect
 1447|       |        // objects from that generation and all generations younger than it.
 1448|  2.71k|        generation = gc_select_generation(gcstate);
 1449|  2.71k|        if (generation < 0) {
  ------------------
  |  Branch (1449:13): [True: 1.08k, False: 1.63k]
  ------------------
 1450|       |            // No generation needs to be collected.
 1451|  1.08k|            _Py_atomic_store_int(&gcstate->collecting, 0);
 1452|  1.08k|            return 0;
 1453|  1.08k|        }
 1454|  2.71k|    }
 1455|       |
 1456|  2.71k|    assert(generation >= 0 && generation < NUM_GENERATIONS);
 1457|       |
 1458|       |#ifdef Py_STATS
 1459|       |    {
 1460|       |        PyStats *s = _PyStats_GET();
 1461|       |        if (s) {
 1462|       |            s->object_stats.object_visits = 0;
 1463|       |        }
 1464|       |    }
 1465|       |#endif
 1466|       |
 1467|  1.63k|    GC_STAT_ADD(generation, collections, 1);
  ------------------
  |  |   81|  1.63k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1468|       |
 1469|  1.63k|    struct gc_generation_stats stats = { 0 };
 1470|  1.63k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1470:9): [True: 1.63k, False: 0]
  ------------------
 1471|  1.63k|        invoke_gc_callback(tstate, "start", generation, &stats);
 1472|  1.63k|    }
 1473|       |
 1474|  1.63k|    stats.heap_size = gcstate->heap_size;
 1475|       |    // ignore error: don't interrupt the GC if reading the clock fails
 1476|  1.63k|    (void)PyTime_PerfCounterRaw(&stats.ts_start);
 1477|  1.63k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  1.63k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1477:9): [True: 0, False: 1.63k]
  ------------------
 1478|      0|        PySys_WriteStderr("gc: collecting generation %d...\n", generation);
 1479|      0|        show_stats_each_generations(gcstate);
 1480|      0|    }
 1481|       |
 1482|  1.63k|    if (PyDTrace_GC_START_ENABLED()) {
  ------------------
  |  Branch (1482:9): [True: 0, False: 1.63k]
  ------------------
 1483|      0|        PyDTrace_GC_START(generation);
 1484|      0|    }
 1485|       |
 1486|       |    /* update collection and allocation counters */
 1487|  1.63k|    if (generation+1 < NUM_GENERATIONS) {
  ------------------
  |  |  217|  1.63k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1487:9): [True: 1.62k, False: 4]
  ------------------
 1488|  1.62k|        gcstate->generations[generation+1].count += 1;
 1489|  1.62k|    }
 1490|  3.40k|    for (i = 0; i <= generation; i++) {
  ------------------
  |  Branch (1490:17): [True: 1.77k, False: 1.63k]
  ------------------
 1491|  1.77k|        gcstate->generations[i].count = 0;
 1492|  1.77k|    }
 1493|       |
 1494|       |    /* merge younger generations with one we are currently collecting */
 1495|  1.77k|    for (i = 0; i < generation; i++) {
  ------------------
  |  Branch (1495:17): [True: 143, False: 1.63k]
  ------------------
 1496|    143|        gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    143|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
                      gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    143|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1497|    143|    }
 1498|       |
 1499|       |    /* handy references */
 1500|  1.63k|    young = GEN_HEAD(gcstate, generation);
  ------------------
  |  |  101|  1.63k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1501|  1.63k|    if (generation < NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  1.63k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1501:9): [True: 1.62k, False: 4]
  ------------------
 1502|  1.62k|        old = GEN_HEAD(gcstate, generation+1);
  ------------------
  |  |  101|  1.62k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1503|  1.62k|    }
 1504|      4|    else {
 1505|      4|        old = young;
 1506|      4|    }
 1507|  1.63k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1508|       |
 1509|  1.63k|    stats.candidates = deduce_unreachable(young, &unreachable);
 1510|       |
 1511|  1.63k|    untrack_tuples(young);
 1512|       |    /* Move reachable objects to next generation. */
 1513|  1.63k|    if (young != old) {
  ------------------
  |  Branch (1513:9): [True: 1.62k, False: 4]
  ------------------
 1514|  1.62k|        if (generation == NUM_GENERATIONS - 2) {
  ------------------
  |  |  217|  1.62k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1514:13): [True: 135, False: 1.49k]
  ------------------
 1515|    135|            gcstate->long_lived_pending += gc_list_size(young);
 1516|    135|        }
 1517|  1.62k|        gc_list_merge(young, old);
 1518|  1.62k|    }
 1519|      4|    else {
 1520|       |        // In Python <= 3.13, we called untrack_dicts(young) here to untrack
 1521|       |        // atomic-only dicts (see issue #14775). Python 3.14 removed the lazy
 1522|       |        // dict tracking machinery entirely (GH-127010) -- dicts are always
 1523|       |        // tracked from creation and never untracked by GC. That way, we don't
 1524|       |        // have to restore MAINTAIN_TRACKING across every PyDict_SetItem call
 1525|       |        // site; the cost is slightly more work for full collections on dicts
 1526|       |        // with only atomic values.
 1527|      4|        gcstate->long_lived_pending = 0;
 1528|      4|        gcstate->long_lived_total = gc_list_size(young);
 1529|      4|    }
 1530|       |
 1531|       |    /* All objects in unreachable are trash, but objects reachable from
 1532|       |     * legacy finalizers (e.g. tp_del) can't safely be deleted.
 1533|       |     */
 1534|  1.63k|    gc_list_init(&finalizers);
 1535|       |    // NEXT_MASK_UNREACHABLE is cleared here.
 1536|       |    // After move_legacy_finalizers(), unreachable is normal list.
 1537|  1.63k|    move_legacy_finalizers(&unreachable, &finalizers);
 1538|       |    /* finalizers contains the unreachable objects with a legacy finalizer;
 1539|       |     * unreachable objects reachable *from* those are also uncollectable,
 1540|       |     * and we move those into the finalizers list too.
 1541|       |     */
 1542|  1.63k|    move_legacy_finalizer_reachable(&finalizers);
 1543|       |
 1544|  1.63k|    validate_list(&finalizers, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1545|  1.63k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1546|       |
 1547|       |    /* Print debugging information. */
 1548|  1.63k|    if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) {
  ------------------
  |  |  126|  1.63k|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  ------------------
  |  Branch (1548:9): [True: 0, False: 1.63k]
  ------------------
 1549|      0|        for (gc = GC_NEXT(&unreachable); gc != &unreachable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                      for (gc = GC_NEXT(&unreachable); gc != &unreachable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1549:42): [True: 0, False: 0]
  ------------------
 1550|      0|            debug_cycle("collectable", FROM_GC(gc));
  ------------------
  |  |   53|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1551|      0|        }
 1552|      0|    }
 1553|       |
 1554|       |    /* Clear weakrefs and invoke callbacks as necessary. */
 1555|  1.63k|    stats.collected += handle_weakref_callbacks(&unreachable, old);
 1556|  1.63k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1557|  1.63k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1558|       |
 1559|       |    /* Call tp_finalize on objects which have one. */
 1560|  1.63k|    finalize_garbage(tstate, &unreachable);
 1561|       |
 1562|       |    /* Handle any objects that may have resurrected after the call
 1563|       |     * to 'finalize_garbage' and continue the collection with the
 1564|       |     * objects that are still unreachable */
 1565|  1.63k|    PyGC_Head final_unreachable;
 1566|  1.63k|    handle_resurrected_objects(&unreachable, &final_unreachable, old);
 1567|       |
 1568|       |    /* Clear weakrefs to objects in the unreachable set.  No Python-level
 1569|       |     * code must be allowed to access those unreachable objects.  During
 1570|       |     * delete_garbage(), finalizers outside the unreachable set might run
 1571|       |     * and create new weakrefs.  If those weakrefs were not cleared, they
 1572|       |     * could reveal unreachable objects.  Callbacks are not executed.
 1573|       |     */
 1574|  1.63k|    clear_weakrefs(&final_unreachable);
 1575|       |
 1576|       |    /* Call tp_clear on objects in the final_unreachable set.  This will cause
 1577|       |    * the reference cycles to be broken.  It may also cause some objects
 1578|       |    * in finalizers to be freed.
 1579|       |    */
 1580|  1.63k|    stats.collected += gc_list_size(&final_unreachable);
 1581|  1.63k|    delete_garbage(tstate, gcstate, &final_unreachable, old);
 1582|       |
 1583|       |    /* Collect statistics on uncollectable objects found and print
 1584|       |     * debugging information. */
 1585|  1.63k|    Py_ssize_t n = 0;
 1586|  1.63k|    for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1586:37): [True: 0, False: 1.63k]
  ------------------
 1587|      0|        n++;
 1588|      0|        if (gcstate->debug & _PyGC_DEBUG_UNCOLLECTABLE)
  ------------------
  |  |  127|      0|#define _PyGC_DEBUG_UNCOLLECTABLE     (1<<2) /* print uncollectable objects */
  ------------------
  |  Branch (1588:13): [True: 0, False: 0]
  ------------------
 1589|      0|            debug_cycle("uncollectable", FROM_GC(gc));
  ------------------
  |  |   53|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1590|      0|    }
 1591|  1.63k|    stats.uncollectable = n;
 1592|  1.63k|    (void)PyTime_PerfCounterRaw(&stats.ts_stop);
 1593|  1.63k|    stats.duration = PyTime_AsSecondsDouble(stats.ts_stop - stats.ts_start);
 1594|  1.63k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  1.63k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1594:9): [True: 0, False: 1.63k]
  ------------------
 1595|      0|        PySys_WriteStderr(
 1596|      0|            "gc: done, %zd unreachable, %zd uncollectable, %.4fs elapsed\n",
 1597|      0|            stats.uncollectable+stats.collected, stats.uncollectable,
 1598|      0|            stats.duration);
 1599|      0|    }
 1600|       |
 1601|       |    /* Append instances in the uncollectable set to a Python
 1602|       |     * reachable list of garbage.  The programmer has to deal with
 1603|       |     * this if they insist on creating this type of structure.
 1604|       |     */
 1605|  1.63k|    handle_legacy_finalizers(tstate, gcstate, &finalizers, old);
 1606|  1.63k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 1607|       |
 1608|       |    /* Clear free list only during the collection of the highest
 1609|       |     * generation */
 1610|  1.63k|    if (generation == NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  1.63k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1610:9): [True: 4, False: 1.62k]
  ------------------
 1611|      4|        _PyGC_ClearAllFreeLists(tstate->interp);
 1612|      4|    }
 1613|       |
 1614|  1.63k|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 1.63k]
  ------------------
 1615|      0|        if (reason == _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1615:13): [True: 0, False: 0]
  ------------------
 1616|      0|            _PyErr_Clear(tstate);
 1617|      0|        }
 1618|      0|        else {
 1619|      0|            PyErr_FormatUnraisable("Exception ignored in garbage collection");
 1620|      0|        }
 1621|      0|    }
 1622|       |
 1623|       |    /* Update stats */
 1624|  1.63k|    add_stats(gcstate, generation, &stats);
 1625|  1.63k|    GC_STAT_ADD(generation, objects_collected, stats.collected);
  ------------------
  |  |   81|  1.63k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1626|       |
 1627|       |#ifdef Py_STATS
 1628|       |    {
 1629|       |        PyStats *s = _PyStats_GET();
 1630|       |        if (s) {
 1631|       |            GC_STAT_ADD(generation, object_visits,
 1632|       |                s->object_stats.object_visits);
 1633|       |            s->object_stats.object_visits = 0;
 1634|       |        }
 1635|       |    }
 1636|       |#endif
 1637|       |
 1638|  1.63k|    if (PyDTrace_GC_DONE_ENABLED()) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 1.63k]
  ------------------
 1639|      0|        PyDTrace_GC_DONE(stats.uncollectable + stats.collected);
 1640|      0|    }
 1641|       |
 1642|  1.63k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1642:9): [True: 1.63k, False: 0]
  ------------------
 1643|  1.63k|        invoke_gc_callback(tstate, "stop", generation, &stats);
 1644|  1.63k|    }
 1645|       |
 1646|  1.63k|    assert(!_PyErr_Occurred(tstate));
 1647|       |    gcstate->frame = NULL;
 1648|  1.63k|    _Py_atomic_store_int(&gcstate->collecting, 0);
 1649|  1.63k|    return stats.uncollectable + stats.collected;
 1650|  2.71k|}
gc.c:gc_select_generation:
 1317|  2.71k|{
 1318|  9.09k|    for (int i = NUM_GENERATIONS-1; i >= 0; i--) {
  ------------------
  |  |  217|  2.71k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1318:37): [True: 8.00k, False: 1.08k]
  ------------------
 1319|  8.00k|        if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
  ------------------
  |  Branch (1319:13): [True: 3.21k, False: 4.79k]
  ------------------
 1320|       |            /* Avoid quadratic performance degradation in number
 1321|       |               of tracked objects (see also issue #4074):
 1322|       |
 1323|       |               To limit the cost of garbage collection, there are two strategies;
 1324|       |                 - make each collection faster, e.g. by scanning fewer objects
 1325|       |                 - do less collections
 1326|       |               This heuristic is about the latter strategy.
 1327|       |
 1328|       |               In addition to the various configurable thresholds, we only trigger a
 1329|       |               full collection if the ratio
 1330|       |
 1331|       |                long_lived_pending / long_lived_total
 1332|       |
 1333|       |               is above a given value (hardwired to 25%).
 1334|       |
 1335|       |               The reason is that, while "non-full" collections (i.e., collections of
 1336|       |               the young and middle generations) will always examine roughly the same
 1337|       |               number of objects -- determined by the aforementioned thresholds --,
 1338|       |               the cost of a full collection is proportional to the total number of
 1339|       |               long-lived objects, which is virtually unbounded.
 1340|       |
 1341|       |               Indeed, it has been remarked that doing a full collection every
 1342|       |               <constant number> of object creations entails a dramatic performance
 1343|       |               degradation in workloads which consist in creating and storing lots of
 1344|       |               long-lived objects (e.g. building a large list of GC-tracked objects would
 1345|       |               show quadratic performance, instead of linear as expected: see issue #4074).
 1346|       |
 1347|       |               Using the above ratio, instead, yields amortized linear performance in
 1348|       |               the total number of objects (the effect of which can be summarized
 1349|       |               thusly: "each full garbage collection is more and more costly as the
 1350|       |               number of objects grows, but we do fewer and fewer of them").
 1351|       |
 1352|       |               This heuristic was suggested by Martin von Löwis on python-dev in
 1353|       |               June 2008. His original analysis and proposal can be found at:
 1354|       |               http://mail.python.org/pipermail/python-dev/2008-June/080579.html
 1355|       |            */
 1356|  3.21k|            if (i == NUM_GENERATIONS - 1
  ------------------
  |  |  217|  3.21k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1356:17): [True: 1.58k, False: 1.62k]
  ------------------
 1357|  1.58k|                && gcstate->long_lived_pending < gcstate->long_lived_total / 4)
  ------------------
  |  Branch (1357:20): [True: 1.58k, False: 4]
  ------------------
 1358|  1.58k|            {
 1359|  1.58k|                continue;
 1360|  1.58k|            }
 1361|  1.63k|            return i;
 1362|  3.21k|        }
 1363|  8.00k|    }
 1364|  1.08k|    return -1;
 1365|  2.71k|}
gc.c:invoke_gc_callback:
 1260|  3.26k|{
 1261|  3.26k|    assert(!_PyErr_Occurred(tstate));
 1262|       |
 1263|       |    /* we may get called very early */
 1264|  3.26k|    GCState *gcstate = &tstate->interp->gc;
 1265|  3.26k|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (1265:9): [True: 0, False: 3.26k]
  ------------------
 1266|      0|        return;
 1267|      0|    }
 1268|       |
 1269|       |    /* The local variable cannot be rebound, check it for sanity */
 1270|  3.26k|    assert(PyList_CheckExact(gcstate->callbacks));
 1271|  3.26k|    PyObject *info = NULL;
 1272|  3.26k|    if (PyList_GET_SIZE(gcstate->callbacks) != 0) {
  ------------------
  |  |   38|  3.26k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1272:9): [True: 3.12k, False: 144]
  ------------------
 1273|  3.12k|        info = Py_BuildValue("{sisnsnsnsd}",
 1274|  3.12k|            "generation", generation,
 1275|  3.12k|            "collected", stats->collected,
 1276|  3.12k|            "uncollectable", stats->uncollectable,
 1277|  3.12k|            "candidates", stats->candidates,
 1278|  3.12k|            "duration", stats->duration);
 1279|  3.12k|        if (info == NULL) {
  ------------------
  |  Branch (1279:13): [True: 0, False: 3.12k]
  ------------------
 1280|      0|            PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1281|      0|            return;
 1282|      0|        }
 1283|  3.12k|    }
 1284|       |
 1285|  3.26k|    PyObject *phase_obj = PyUnicode_FromString(phase);
 1286|  3.26k|    if (phase_obj == NULL) {
  ------------------
  |  Branch (1286:9): [True: 0, False: 3.26k]
  ------------------
 1287|      0|        Py_XDECREF(info);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|      0|        PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1289|      0|        return;
 1290|      0|    }
 1291|       |
 1292|  3.26k|    PyObject *stack[] = {phase_obj, info};
 1293|  6.38k|    for (Py_ssize_t i=0; i<PyList_GET_SIZE(gcstate->callbacks); i++) {
  ------------------
  |  |   38|  6.38k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1293:26): [True: 3.12k, False: 3.26k]
  ------------------
 1294|  3.12k|        PyObject *r, *cb = PyList_GET_ITEM(gcstate->callbacks, i);
  ------------------
  |  |   40|  3.12k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.12k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|  3.12k|        Py_INCREF(cb); /* make sure cb doesn't go away */
  ------------------
  |  |  310|  3.12k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|  3.12k|        r = PyObject_Vectorcall(cb, stack, 2, NULL);
 1297|  3.12k|        if (r == NULL) {
  ------------------
  |  Branch (1297:13): [True: 0, False: 3.12k]
  ------------------
 1298|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1299|      0|                                   "calling GC callback %R", cb);
 1300|      0|        }
 1301|  3.12k|        else {
 1302|  3.12k|            Py_DECREF(r);
  ------------------
  |  |  430|  3.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  3.12k|        }
 1304|  3.12k|        Py_DECREF(cb);
  ------------------
  |  |  430|  3.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|  3.12k|    }
 1306|  3.26k|    Py_DECREF(phase_obj);
  ------------------
  |  |  430|  3.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|  3.26k|    Py_XDECREF(info);
  ------------------
  |  |  524|  3.26k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|       |    assert(!_PyErr_Occurred(tstate));
 1309|  3.26k|}
gc.c:deduce_unreachable:
 1169|  3.26k|deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
 1170|  3.26k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  3.26k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 3.26k]
  |  |  ------------------
  ------------------
 1171|       |    /* Using ob_refcnt and gc_refs, calculate which objects in the
 1172|       |     * container set are reachable from outside the set (i.e., have a
 1173|       |     * refcount greater than 0 when all the references within the
 1174|       |     * set are taken into account).
 1175|       |     */
 1176|  3.26k|    Py_ssize_t candidates = update_refs(base);  // gc_prev is used for gc_refs
 1177|  3.26k|    subtract_refs(base);
 1178|       |
 1179|       |    /* Leave everything reachable from outside base in base, and move
 1180|       |     * everything else (in base) to unreachable.
 1181|       |     *
 1182|       |     * NOTE:  This used to move the reachable objects into a reachable
 1183|       |     * set instead.  But most things usually turn out to be reachable,
 1184|       |     * so it's more efficient to move the unreachable things.  It "sounds slick"
 1185|       |     * to move the unreachable objects, until you think about it - the reason it
 1186|       |     * pays isn't actually obvious.
 1187|       |     *
 1188|       |     * Suppose we create objects A, B, C in that order.  They appear in the young
 1189|       |     * generation in the same order.  If B points to A, and C to B, and C is
 1190|       |     * reachable from outside, then the adjusted refcounts will be 0, 0, and 1
 1191|       |     * respectively.
 1192|       |     *
 1193|       |     * When move_unreachable finds A, A is moved to the unreachable list.  The
 1194|       |     * same for B when it's first encountered.  Then C is traversed, B is moved
 1195|       |     * _back_ to the reachable list.  B is eventually traversed, and then A is
 1196|       |     * moved back to the reachable list.
 1197|       |     *
 1198|       |     * So instead of not moving at all, the reachable objects B and A are moved
 1199|       |     * twice each.  Why is this a win?  A straightforward algorithm to move the
 1200|       |     * reachable objects instead would move A, B, and C once each.
 1201|       |     *
 1202|       |     * The key is that this dance leaves the objects in order C, B, A - it's
 1203|       |     * reversed from the original order.  On all _subsequent_ scans, none of
 1204|       |     * them will move.  Since most objects aren't in cycles, this can save an
 1205|       |     * unbounded number of moves across an unbounded number of later collections.
 1206|       |     * It can cost more only the first time the chain is scanned.
 1207|       |     *
 1208|       |     * Drawback:  move_unreachable is also used to find out what's still trash
 1209|       |     * after finalizers may resurrect objects.  In _that_ case most unreachable
 1210|       |     * objects will remain unreachable, so it would be more efficient to move
 1211|       |     * the reachable objects instead.  But this is a one-time cost, probably not
 1212|       |     * worth complicating the code to speed just a little.
 1213|       |     */
 1214|  3.26k|    gc_list_init(unreachable);
 1215|  3.26k|    move_unreachable(base, unreachable);  // gc_prev is pointer again
 1216|  3.26k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  3.26k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 3.26k]
  |  |  ------------------
  ------------------
 1217|  3.26k|    validate_list(unreachable, collecting_set_unreachable_set);
  ------------------
  |  |  387|  3.26k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 3.26k]
  |  |  ------------------
  ------------------
 1218|  3.26k|    return candidates;
 1219|  3.26k|}
gc.c:update_refs:
  398|  3.26k|{
  399|  3.26k|    PyGC_Head *next;
  400|  3.26k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  401|  3.26k|    Py_ssize_t candidates = 0;
  402|       |
  403|  8.05M|    while (gc != containers) {
  ------------------
  |  Branch (403:12): [True: 8.05M, False: 3.26k]
  ------------------
  404|  8.05M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  8.05M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  405|  8.05M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  8.05M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  406|  8.05M|        if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.05M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 8.05M]
  |  |  ------------------
  ------------------
  407|      0|            assert(!_Py_IsStaticImmortal(op));
  408|      0|            _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|      0|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      0|            gc = next;
  410|      0|            continue;
  411|      0|        }
  412|  8.05M|        gc_reset_refs(gc, Py_REFCNT(op));
  ------------------
  |  |  119|  8.05M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|       |        /* Python's cyclic gc should never see an incoming refcount
  414|       |         * of 0:  if something decref'ed to 0, it should have been
  415|       |         * deallocated immediately at that time.
  416|       |         * Possible cause (if the assert triggers):  a tp_dealloc
  417|       |         * routine left a gc-aware object tracked during its teardown
  418|       |         * phase, and did something-- or allowed something to happen --
  419|       |         * that called back into Python.  gc can trigger then, and may
  420|       |         * see the still-tracked dying object.  Before this assert
  421|       |         * was added, such mistakes went on to allow gc to try to
  422|       |         * delete the object again.  In a debug build, that caused
  423|       |         * a mysterious segfault, when _Py_ForgetReference tried
  424|       |         * to remove the object from the doubly-linked list of all
  425|       |         * objects a second time.  In a release build, an actual
  426|       |         * double deallocation occurred, which leads to corruption
  427|       |         * of the allocator's internal bookkeeping pointers.  That's
  428|       |         * so serious that maybe this should be a release-build
  429|       |         * check instead of an assert?
  430|       |         */
  431|  8.05M|        _PyObject_ASSERT(op, gc_get_refs(gc) != 0);
  ------------------
  |  |  423|  8.05M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  8.05M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  8.05M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  8.05M|        gc = next;
  433|  8.05M|        candidates++;
  434|  8.05M|    }
  435|  3.26k|    return candidates;
  436|  3.26k|}
gc.c:gc_reset_refs:
   85|  8.05M|{
   86|  8.05M|    g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED)
  ------------------
  |  |  117|  8.05M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
   87|  8.05M|        | PREV_MASK_COLLECTING
  ------------------
  |  |   39|  8.05M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  8.05M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   88|  8.05M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  8.05M|#define _PyGC_PREV_SHIFT           2
  ------------------
   89|  8.05M|}
gc.c:subtract_refs:
  491|  3.26k|{
  492|  3.26k|    traverseproc traverse;
  493|  3.26k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  494|  8.05M|    for (; gc != containers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  8.05M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (494:12): [True: 8.05M, False: 3.26k]
  ------------------
  495|  8.05M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  8.05M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  496|  8.05M|        traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  8.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  8.05M|        (void) traverse(op,
  498|  8.05M|                        visit_decref,
  499|  8.05M|                        op);
  500|  8.05M|    }
  501|  3.26k|}
gc.c:move_unreachable:
  580|  3.26k|{
  581|       |    // previous elem in the young list, used for restore gc_prev.
  582|  3.26k|    PyGC_Head *prev = young;
  583|  3.26k|    PyGC_Head *gc = GC_NEXT(young);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  584|       |
  585|       |    /* Invariants:  all objects "to the left" of us in young are reachable
  586|       |     * (directly or indirectly) from outside the young list as it was at entry.
  587|       |     *
  588|       |     * All other objects from the original young "to the left" of us are in
  589|       |     * unreachable now, and have NEXT_MASK_UNREACHABLE.  All objects to the
  590|       |     * left of us in 'young' now have been scanned, and no objects here
  591|       |     * or to the right have been scanned yet.
  592|       |     */
  593|       |
  594|  8.29M|    while (gc != young) {
  ------------------
  |  Branch (594:12): [True: 8.29M, False: 3.26k]
  ------------------
  595|  8.29M|        if (gc_get_refs(gc)) {
  ------------------
  |  Branch (595:13): [True: 675k, False: 7.61M]
  ------------------
  596|       |            /* gc is definitely reachable from outside the
  597|       |             * original 'young'.  Mark it as such, and traverse
  598|       |             * its pointers to find any other objects that may
  599|       |             * be directly reachable from it.  Note that the
  600|       |             * call to tp_traverse may append objects to young,
  601|       |             * so we have to wait until it returns to determine
  602|       |             * the next object to visit.
  603|       |             */
  604|   675k|            PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|   675k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  605|   675k|            traverseproc traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|   675k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   675k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   675k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|   675k|            _PyObject_ASSERT_WITH_MSG(op, gc_get_refs(gc) > 0,
  ------------------
  |  |  421|   675k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|   675k|    ((void)0)
  |  |  ------------------
  ------------------
  607|   675k|                                      "refcount is too small");
  608|       |            // NOTE: visit_reachable may change gc->_gc_next when
  609|       |            // young->_gc_prev == gc.  Don't do gc = GC_NEXT(gc) before!
  610|   675k|            (void) traverse(op,
  611|   675k|                    visit_reachable,
  612|   675k|                    (void *)young);
  613|       |            // relink gc_prev to prev element.
  614|   675k|            _PyGCHead_SET_PREV(gc, prev);
  615|       |            // gc is not COLLECTING state after here.
  616|   675k|            gc_clear_collecting(gc);
  617|   675k|            prev = gc;
  618|   675k|        }
  619|  7.61M|        else {
  620|       |            /* This *may* be unreachable.  To make progress,
  621|       |             * assume it is.  gc isn't directly reachable from
  622|       |             * any object we've already traversed, but may be
  623|       |             * reachable from an object we haven't gotten to yet.
  624|       |             * visit_reachable will eventually move gc back into
  625|       |             * young if that's so, and we'll see it again.
  626|       |             */
  627|       |            // Move gc to unreachable.
  628|       |            // No need to gc->next->prev = prev because it is single linked.
  629|  7.61M|            prev->_gc_next = gc->_gc_next;
  630|       |
  631|       |            // We can't use gc_list_append() here because we use
  632|       |            // NEXT_MASK_UNREACHABLE here.
  633|  7.61M|            PyGC_Head *last = GC_PREV(unreachable);
  ------------------
  |  |   29|  7.61M|#define GC_PREV _PyGCHead_PREV
  ------------------
  634|       |            // NOTE: Since all objects in unreachable set has
  635|       |            // NEXT_MASK_UNREACHABLE flag, we set it unconditionally.
  636|       |            // But this may pollute the unreachable list head's 'next' pointer
  637|       |            // too. That's semantically senseless but expedient here - the
  638|       |            // damage is repaired when this function ends.
  639|  7.61M|            last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc);
  ------------------
  |  |   50|  7.61M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  640|  7.61M|            _PyGCHead_SET_PREV(gc, last);
  641|  7.61M|            gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable);
  ------------------
  |  |   50|  7.61M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  642|  7.61M|            unreachable->_gc_prev = (uintptr_t)gc;
  643|  7.61M|        }
  644|  8.29M|        gc = (PyGC_Head*)prev->_gc_next;
  645|  8.29M|    }
  646|       |    // young->_gc_prev must be last element remained in the list.
  647|  3.26k|    young->_gc_prev = (uintptr_t)prev;
  648|       |    // don't let the pollution of the list head's next pointer leak
  649|  3.26k|    unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.26k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  650|  3.26k|}
gc.c:gc_get_refs:
   72|  9.72M|{
   73|  9.72M|    return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  9.72M|#define _PyGC_PREV_SHIFT           2
  ------------------
   74|  9.72M|}
gc.c:visit_reachable:
  506|  5.30M|{
  507|  5.30M|    PyGC_Head *reachable = arg;
  508|  5.30M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  5.30M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  509|  5.30M|    if (!_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (509:9): [True: 3.87M, False: 1.43M]
  ------------------
  510|  3.87M|        return 0;
  511|  3.87M|    }
  512|       |
  513|  1.43M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  1.43M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  514|  1.43M|    const Py_ssize_t gc_refs = gc_get_refs(gc);
  515|       |
  516|       |    // Ignore objects in other generation.
  517|       |    // This also skips objects "to the left" of the current position in
  518|       |    // move_unreachable's scan of the 'young' list - they've already been
  519|       |    // traversed, and no longer have the PREV_MASK_COLLECTING flag.
  520|  1.43M|    if (! gc_is_collecting(gc)) {
  ------------------
  |  Branch (520:9): [True: 883k, False: 547k]
  ------------------
  521|   883k|        return 0;
  522|   883k|    }
  523|       |    // It would be a logic error elsewhere if the collecting flag were set on
  524|       |    // an untracked object.
  525|   547k|    _PyObject_ASSERT(op, gc->_gc_next != 0);
  ------------------
  |  |  423|   547k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   547k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   547k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|       |
  527|   547k|    if (gc->_gc_next & NEXT_MASK_UNREACHABLE) {
  ------------------
  |  |   50|   547k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  |  Branch (527:9): [True: 237k, False: 309k]
  ------------------
  528|       |        /* This had gc_refs = 0 when move_unreachable got
  529|       |         * to it, but turns out it's reachable after all.
  530|       |         * Move it back to move_unreachable's 'young' list,
  531|       |         * and move_unreachable will eventually get to it
  532|       |         * again.
  533|       |         */
  534|       |        // Manually unlink gc from unreachable list because the list functions
  535|       |        // don't work right in the presence of NEXT_MASK_UNREACHABLE flags.
  536|   237k|        PyGC_Head *prev = GC_PREV(gc);
  ------------------
  |  |   29|   237k|#define GC_PREV _PyGCHead_PREV
  ------------------
  537|   237k|        PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE);
  ------------------
  |  |   50|   237k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  538|   237k|        _PyObject_ASSERT(FROM_GC(prev),
  ------------------
  |  |  423|   237k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   237k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   237k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|   237k|                         prev->_gc_next & NEXT_MASK_UNREACHABLE);
  540|   237k|        _PyObject_ASSERT(FROM_GC(next),
  ------------------
  |  |  423|   237k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   237k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   237k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|   237k|                         next->_gc_next & NEXT_MASK_UNREACHABLE);
  542|   237k|        prev->_gc_next = gc->_gc_next;  // copy NEXT_MASK_UNREACHABLE
  543|   237k|        _PyGCHead_SET_PREV(next, prev);
  544|       |
  545|   237k|        gc_list_append(gc, reachable);
  546|   237k|        gc_set_refs(gc, 1);
  547|   237k|    }
  548|   309k|    else if (gc_refs == 0) {
  ------------------
  |  Branch (548:14): [True: 275k, False: 34.4k]
  ------------------
  549|       |        /* This is in move_unreachable's 'young' list, but
  550|       |         * the traversal hasn't yet gotten to it.  All
  551|       |         * we need to do is tell move_unreachable that it's
  552|       |         * reachable.
  553|       |         */
  554|   275k|        gc_set_refs(gc, 1);
  555|   275k|    }
  556|       |    /* Else there's nothing to do.
  557|       |     * If gc_refs > 0, it must be in move_unreachable's 'young'
  558|       |     * list, and move_unreachable will eventually get to it.
  559|       |     */
  560|  34.4k|    else {
  561|  34.4k|        _PyObject_ASSERT_WITH_MSG(op, gc_refs > 0, "refcount is too small");
  ------------------
  |  |  421|  34.4k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  34.4k|    ((void)0)
  |  |  ------------------
  ------------------
  562|  34.4k|    }
  563|   547k|    return 0;
  564|  1.43M|}
gc.c:gc_list_append:
  227|   237k|{
  228|   237k|    PyGC_Head *last = (PyGC_Head *)list->_gc_prev;
  229|       |
  230|       |    // last <-> node
  231|   237k|    _PyGCHead_SET_PREV(node, last);
  232|   237k|    _PyGCHead_SET_NEXT(last, node);
  233|       |
  234|       |    // node <-> list
  235|   237k|    _PyGCHead_SET_NEXT(node, list);
  236|   237k|    list->_gc_prev = (uintptr_t)node;
  237|   237k|}
gc.c:gc_set_refs:
   78|   512k|{
   79|   512k|    g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK)
  ------------------
  |  |  122|   512k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   512k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
   80|   512k|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|   512k|#define _PyGC_PREV_SHIFT           2
  ------------------
   81|   512k|}
gc.c:gc_clear_collecting:
   66|  5.95M|{
   67|  5.95M|    g->_gc_prev &= ~PREV_MASK_COLLECTING;
  ------------------
  |  |   39|  5.95M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  5.95M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   68|  5.95M|}
gc.c:untrack_tuples:
  666|  1.63k|{
  667|  1.63k|    PyGC_Head *gc = GC_NEXT(head);
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  668|   677k|    while (gc != head) {
  ------------------
  |  Branch (668:12): [True: 675k, False: 1.63k]
  ------------------
  669|   675k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|   675k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  670|   675k|        PyGC_Head *next = GC_NEXT(gc);
  ------------------
  |  |   28|   675k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  671|   675k|        if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|   675k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   675k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   675k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   675k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 129k, False: 546k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|   129k|            _PyTuple_MaybeUntrack(op);
  673|   129k|        }
  674|   675k|        gc = next;
  675|   675k|    }
  676|  1.63k|}
gc.c:move_legacy_finalizers:
  692|  1.63k|{
  693|  1.63k|    PyGC_Head *gc, *next;
  694|  1.63k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  1.63k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  1.63k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  1.63k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|  1.63k|        FROM_GC(unreachable),
  696|  1.63k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  697|       |
  698|       |    /* March over unreachable.  Move objects with finalizers into
  699|       |     * `finalizers`.
  700|       |     */
  701|  3.69M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (701:37): [True: 3.68M, False: 1.63k]
  ------------------
  702|  3.68M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.68M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  703|       |
  704|  3.68M|        _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  423|  3.68M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.68M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.68M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  705|  3.68M|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.68M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  706|  3.68M|        next = (PyGC_Head*)gc->_gc_next;
  707|       |
  708|  3.68M|        if (has_legacy_finalizer(op)) {
  ------------------
  |  Branch (708:13): [True: 0, False: 3.68M]
  ------------------
  709|      0|            gc_clear_collecting(gc);
  710|      0|            gc_list_move(gc, finalizers);
  711|      0|        }
  712|  3.68M|    }
  713|  1.63k|}
gc.c:has_legacy_finalizer:
  681|  3.68M|{
  682|  3.68M|    return Py_TYPE(op)->tp_del != NULL;
  ------------------
  |  |  213|  3.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  3.68M|}
gc.c:gc_list_move:
  258|  5.30M|{
  259|       |    /* Unlink from current list. */
  260|  5.30M|    PyGC_Head *from_prev = GC_PREV(node);
  ------------------
  |  |   29|  5.30M|#define GC_PREV _PyGCHead_PREV
  ------------------
  261|  5.30M|    PyGC_Head *from_next = GC_NEXT(node);
  ------------------
  |  |   28|  5.30M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  262|  5.30M|    _PyGCHead_SET_NEXT(from_prev, from_next);
  263|  5.30M|    _PyGCHead_SET_PREV(from_next, from_prev);
  264|       |
  265|       |    /* Relink at end of new list. */
  266|       |    // list must not have flags.  So we can skip macros.
  267|  5.30M|    PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev;
  268|  5.30M|    _PyGCHead_SET_PREV(node, to_prev);
  269|  5.30M|    _PyGCHead_SET_NEXT(to_prev, node);
  270|  5.30M|    list->_gc_prev = (uintptr_t)node;
  271|  5.30M|    _PyGCHead_SET_NEXT(node, list);
  272|  5.30M|}
gc.c:move_legacy_finalizer_reachable:
  756|  1.63k|{
  757|  1.63k|    traverseproc traverse;
  758|  1.63k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  759|  1.63k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (759:12): [True: 0, False: 1.63k]
  ------------------
  760|       |        /* Note that the finalizers list may grow during this. */
  761|      0|        traverse = Py_TYPE(FROM_GC(gc))->tp_traverse;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|      0|        (void) traverse(FROM_GC(gc),
  ------------------
  |  |   53|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  763|      0|                        visit_move,
  764|      0|                        (void *)finalizers);
  765|      0|    }
  766|  1.63k|}
gc.c:handle_weakref_callbacks:
  809|  1.63k|{
  810|  1.63k|    PyGC_Head *gc;
  811|  1.63k|    PyGC_Head wrcb_to_call;     /* weakrefs with callbacks to call */
  812|  1.63k|    PyGC_Head *next;
  813|  1.63k|    int num_freed = 0;
  814|       |
  815|  1.63k|    gc_list_init(&wrcb_to_call);
  816|       |
  817|       |    /* Find all weakrefs with callbacks and move into `wrcb_to_call` if the
  818|       |     * callback needs to be invoked. We make another pass over wrcb_to_call,
  819|       |     * invoking callbacks, after this pass completes.
  820|       |     */
  821|  3.69M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (821:37): [True: 3.68M, False: 1.63k]
  ------------------
  822|  3.68M|        PyWeakReference **wrlist;
  823|       |
  824|  3.68M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.68M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  825|  3.68M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.68M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  826|       |
  827|  3.68M|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (827:13): [True: 2.77M, False: 915k]
  ------------------
  828|  2.77M|            continue;
  829|  2.77M|        }
  830|       |
  831|       |        /* It supports weakrefs.  Does it have any?
  832|       |         *
  833|       |         * This is never triggered for static types so we can avoid the
  834|       |         * (slightly) more costly _PyObject_GET_WEAKREFS_LISTPTR().
  835|       |         */
  836|   915k|        wrlist = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(op);
  837|       |
  838|       |        /* `op` may have some weakrefs.  March over the list and move the
  839|       |         * weakrefs with callbacks that must be called into wrcb_to_call.
  840|       |         */
  841|   915k|        PyWeakReference *next_wr;
  842|   942k|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = next_wr) {
  ------------------
  |  Branch (842:45): [True: 26.6k, False: 915k]
  ------------------
  843|       |            // Get the next list element to get iterator progress if we omit
  844|       |            // clearing of the weakref (because _PyWeakref_ClearRef changes
  845|       |            // next pointer in the wrlist).
  846|  26.6k|            next_wr = wr->wr_next;
  847|       |
  848|  26.6k|            if (wr->wr_callback == NULL) {
  ------------------
  |  Branch (848:17): [True: 104, False: 26.5k]
  ------------------
  849|       |                /* no callback */
  850|    104|                continue;
  851|    104|            }
  852|       |
  853|       |            // Clear the weakref.  See the comments above this function for
  854|       |            // reasons why we need to clear weakrefs that have callbacks.
  855|       |            // Note that _PyWeakref_ClearRef clears the weakref but leaves the
  856|       |            // callback pointer intact.  Obscure: it also changes *wrlist.
  857|  26.5k|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == op);
  ------------------
  |  |  423|  26.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  26.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  26.5k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|  26.5k|            _PyWeakref_ClearRef(wr);
  859|  26.5k|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  423|  26.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  26.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  26.5k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|       |
  861|       |            /* Headache time.  `op` is going away, and is weakly referenced by
  862|       |             * `wr`, which has a callback.  Should the callback be invoked?  If wr
  863|       |             * is also trash, no:
  864|       |             *
  865|       |             * 1. There's no need to call it.  The object and the weakref are
  866|       |             *    both going away, so it's legitimate to pretend the weakref is
  867|       |             *    going away first.  The user has to ensure a weakref outlives its
  868|       |             *    referent if they want a guarantee that the wr callback will get
  869|       |             *    invoked.
  870|       |             *
  871|       |             * 2. It may be catastrophic to call it.  If the callback is also in
  872|       |             *    cyclic trash (CT), then although the CT is unreachable from
  873|       |             *    outside the current generation, CT may be reachable from the
  874|       |             *    callback.  Then the callback could resurrect insane objects.
  875|       |             *
  876|       |             * Since the callback is never needed and may be unsafe in this
  877|       |             * case, wr is simply left in the unreachable set.  Note that
  878|       |             * clear_weakrefs() will ensure its callback will not trigger
  879|       |             * inside delete_garbage().
  880|       |             *
  881|       |             * OTOH, if wr isn't part of CT, we should invoke the callback:  the
  882|       |             * weakref outlived the trash.  Note that since wr isn't CT in this
  883|       |             * case, its callback can't be CT either -- wr acted as an external
  884|       |             * root to this generation, and therefore its callback did too.  So
  885|       |             * nothing in CT is reachable from the callback either, so it's hard
  886|       |             * to imagine how calling it later could create a problem for us.  wr
  887|       |             * is moved to wrcb_to_call in this case.
  888|       |             */
  889|  26.5k|            if (gc_is_collecting(AS_GC((PyObject *)wr))) {
  ------------------
  |  |   52|  26.5k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  |  Branch (889:17): [True: 0, False: 26.5k]
  ------------------
  890|      0|                continue;
  891|      0|            }
  892|       |
  893|       |            /* Create a new reference so that wr can't go away
  894|       |             * before we can process it again.
  895|       |             */
  896|  26.5k|            Py_INCREF(wr);
  ------------------
  |  |  310|  26.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|       |            /* Move wr to wrcb_to_call, for the next pass. */
  899|  26.5k|            PyGC_Head *wrasgc = AS_GC((PyObject *)wr);
  ------------------
  |  |   52|  26.5k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  900|       |            // wrasgc is reachable, but next isn't, so they can't be the same
  901|  26.5k|            _PyObject_ASSERT((PyObject *)wr, wrasgc != next);
  ------------------
  |  |  423|  26.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  26.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  26.5k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|  26.5k|            gc_list_move(wrasgc, &wrcb_to_call);
  903|  26.5k|        }
  904|   915k|    }
  905|       |
  906|       |    /* Invoke the callbacks we decided to honor.  It's safe to invoke them
  907|       |     * because they can't reference unreachable objects.
  908|       |     */
  909|  28.1k|    while (! gc_list_is_empty(&wrcb_to_call)) {
  ------------------
  |  Branch (909:12): [True: 26.5k, False: 1.63k]
  ------------------
  910|  26.5k|        PyObject *temp;
  911|  26.5k|        PyObject *callback;
  912|       |
  913|  26.5k|        gc = (PyGC_Head*)wrcb_to_call._gc_next;
  914|  26.5k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  26.5k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  915|  26.5k|        _PyObject_ASSERT(op, PyWeakref_Check(op));
  ------------------
  |  |  423|  26.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  26.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  26.5k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|  26.5k|        PyWeakReference *wr = (PyWeakReference *)op;
  917|  26.5k|        callback = wr->wr_callback;
  918|  26.5k|        _PyObject_ASSERT(op, callback != NULL);
  ------------------
  |  |  423|  26.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  26.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  26.5k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|       |
  920|       |        /* copy-paste of weakrefobject.c's handle_callback() */
  921|  26.5k|        temp = PyObject_CallOneArg(callback, (PyObject *)wr);
  922|  26.5k|        if (temp == NULL) {
  ------------------
  |  Branch (922:13): [True: 0, False: 26.5k]
  ------------------
  923|      0|            PyErr_FormatUnraisable("Exception ignored on "
  924|      0|                                   "calling weakref callback %R", callback);
  925|      0|        }
  926|  26.5k|        else {
  927|  26.5k|            Py_DECREF(temp);
  ------------------
  |  |  430|  26.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|  26.5k|        }
  929|       |
  930|       |        /* Give up the reference we created in the first pass.  When
  931|       |         * op's refcount hits 0 (which it may or may not do right now),
  932|       |         * op's tp_dealloc will decref op->wr_callback too.  Note
  933|       |         * that the refcount probably will hit 0 now, and because this
  934|       |         * weakref was reachable to begin with, gc didn't already
  935|       |         * add it to its count of freed objects.  Example:  a reachable
  936|       |         * weak value dict maps some key to this reachable weakref.
  937|       |         * The callback removes this key->weakref mapping from the
  938|       |         * dict, leaving no other references to the weakref (excepting
  939|       |         * ours).
  940|       |         */
  941|  26.5k|        Py_DECREF(op);
  ------------------
  |  |  430|  26.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|  26.5k|        if (wrcb_to_call._gc_next == (uintptr_t)gc) {
  ------------------
  |  Branch (942:13): [True: 0, False: 26.5k]
  ------------------
  943|       |            /* object is still alive -- move it */
  944|      0|            gc_list_move(gc, old);
  945|      0|        }
  946|  26.5k|        else {
  947|  26.5k|            ++num_freed;
  948|  26.5k|        }
  949|  26.5k|    }
  950|       |
  951|  1.63k|    return num_freed;
  952|  1.63k|}
gc.c:finalize_garbage:
 1047|  1.63k|{
 1048|  1.63k|    destructor finalize;
 1049|  1.63k|    PyGC_Head seen;
 1050|       |
 1051|       |    /* While we're going through the loop, `finalize(op)` may cause op, or
 1052|       |     * other objects, to be reclaimed via refcounts falling to zero.  So
 1053|       |     * there's little we can rely on about the structure of the input
 1054|       |     * `collectable` list across iterations.  For safety, we always take the
 1055|       |     * first object in that list and move it to a temporary `seen` list.
 1056|       |     * If objects vanish from the `collectable` and `seen` lists we don't
 1057|       |     * care.
 1058|       |     */
 1059|  1.63k|    gc_list_init(&seen);
 1060|       |
 1061|  3.69M|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1061:12): [True: 3.68M, False: 1.63k]
  ------------------
 1062|  3.68M|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  3.68M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1063|  3.68M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.68M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1064|  3.68M|        gc_list_move(gc, &seen);
 1065|  3.68M|        if (!_PyGC_FINALIZED(op) &&
  ------------------
  |  Branch (1065:13): [True: 3.68M, False: 0]
  ------------------
 1066|  3.68M|            (finalize = Py_TYPE(op)->tp_finalize) != NULL)
  ------------------
  |  |  213|  3.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1066:13): [True: 1, False: 3.68M]
  ------------------
 1067|      1|        {
 1068|      1|            _PyGC_SET_FINALIZED(op);
 1069|      1|            Py_INCREF(op);
  ------------------
  |  |  310|      1|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|      1|            finalize(op);
 1071|      1|            assert(!_PyErr_Occurred(tstate));
 1072|      1|            Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      1|        }
 1074|  3.68M|    }
 1075|  1.63k|    gc_list_merge(&seen, collectable);
 1076|  1.63k|}
gc.c:handle_resurrected_objects:
 1237|  1.63k|{
 1238|       |    // Remove the PREV_MASK_COLLECTING from unreachable
 1239|       |    // to prepare it for a new call to 'deduce_unreachable'
 1240|  1.63k|    gc_list_clear_collecting(unreachable);
 1241|       |
 1242|       |    // After the call to deduce_unreachable, the 'still_unreachable' set will
 1243|       |    // have the PREV_MARK_COLLECTING set, but the objects are going to be
 1244|       |    // removed so we can skip the expense of clearing the flag.
 1245|  1.63k|    PyGC_Head* resurrected = unreachable;
 1246|  1.63k|    deduce_unreachable(resurrected, still_unreachable);
 1247|  1.63k|    clear_unreachable_mask(still_unreachable);
 1248|       |
 1249|       |    // Move the resurrected objects to the old generation for future collection.
 1250|  1.63k|    gc_list_merge(resurrected, old_generation);
 1251|  1.63k|}
gc.c:gc_list_clear_collecting:
  309|  1.63k|{
  310|  1.63k|    PyGC_Head *gc;
  311|  3.69M|    for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  3.68M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (311:37): [True: 3.68M, False: 1.63k]
  ------------------
  312|  3.68M|        gc_clear_collecting(gc);
  313|  3.68M|    }
  314|  1.63k|}
gc.c:clear_unreachable_mask:
  717|  1.63k|{
  718|       |    /* Check that the list head does not have the unreachable bit set */
  719|  1.63k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  1.63k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  1.63k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  1.63k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|  1.63k|        FROM_GC(unreachable),
  721|  1.63k|        ((uintptr_t)unreachable & NEXT_MASK_UNREACHABLE) == 0);
  722|  1.63k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  1.63k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  1.63k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  1.63k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|  1.63k|        FROM_GC(unreachable),
  724|  1.63k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  725|       |
  726|  1.63k|    PyGC_Head *gc, *next;
  727|  3.69M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (727:37): [True: 3.68M, False: 1.63k]
  ------------------
  728|  3.68M|        _PyObject_ASSERT((PyObject*)FROM_GC(gc), gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  423|  3.68M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.68M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.68M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  3.68M|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.68M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  730|  3.68M|        next = (PyGC_Head*)gc->_gc_next;
  731|  3.68M|    }
  732|  1.63k|    validate_list(unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  1.63k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
  733|  1.63k|}
gc.c:clear_weakrefs:
  960|  1.63k|{
  961|  1.63k|    PyGC_Head *gc;
  962|  1.63k|    PyGC_Head *next;
  963|       |
  964|  3.69M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (964:37): [True: 3.68M, False: 1.63k]
  ------------------
  965|  3.68M|        PyWeakReference **wrlist;
  966|       |
  967|  3.68M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.68M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  968|  3.68M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.68M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  969|       |
  970|  3.68M|        if (PyWeakref_Check(op)) {
  ------------------
  |  |   23|  3.68M|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  3.68M|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  7.37M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 4, False: 3.68M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|  3.68M|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  7.37M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.68M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|  3.68M|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  3.68M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.68M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  971|       |            /* A weakref inside the unreachable set is always cleared. See
  972|       |             * the comments above handle_weakref_callbacks() for why these
  973|       |             * must be cleared.
  974|       |             */
  975|      4|            _PyWeakref_ClearRef((PyWeakReference *)op);
  976|      4|        }
  977|       |
  978|  3.68M|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (978:13): [True: 2.77M, False: 915k]
  ------------------
  979|  2.77M|            continue;
  980|  2.77M|        }
  981|       |
  982|       |        /* It supports weakrefs.  Does it have any?
  983|       |         *
  984|       |         * This is never triggered for static types so we can avoid the
  985|       |         * (slightly) more costly _PyObject_GET_WEAKREFS_LISTPTR().
  986|       |         */
  987|   915k|        wrlist = _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET(op);
  988|       |
  989|       |        /* `op` may have some weakrefs.  March over the list, clear
  990|       |         * all the weakrefs.
  991|       |         */
  992|   915k|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) {
  ------------------
  |  Branch (992:45): [True: 104, False: 915k]
  ------------------
  993|       |            /* _PyWeakref_ClearRef clears the weakref but leaves
  994|       |             * the callback pointer intact.  Obscure:  it also
  995|       |             * changes *wrlist.
  996|       |             */
  997|    104|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == op);
  ------------------
  |  |  423|    104|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    104|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|    104|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  998|    104|            _PyWeakref_ClearRef(wr);
  999|    104|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  423|    104|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|    104|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|    104|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1000|    104|        }
 1001|   915k|    }
 1002|  1.63k|}
gc.c:delete_garbage:
 1085|  1.63k|{
 1086|  1.63k|    assert(!_PyErr_Occurred(tstate));
 1087|       |
 1088|  1.78M|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1088:12): [True: 1.78M, False: 1.63k]
  ------------------
 1089|  1.78M|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  1.78M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1090|  1.78M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  1.78M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1091|       |
 1092|  1.78M|        _PyObject_ASSERT_WITH_MSG(op, Py_REFCNT(op) > 0,
  ------------------
  |  |  421|  1.78M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  1.78M|    ((void)0)
  |  |  ------------------
  ------------------
 1093|  1.78M|                                  "refcount is too small");
 1094|       |
 1095|  1.78M|        if (gcstate->debug & _PyGC_DEBUG_SAVEALL) {
  ------------------
  |  |  128|  1.78M|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1095:13): [True: 0, False: 1.78M]
  ------------------
 1096|      0|            assert(gcstate->garbage != NULL);
 1097|      0|            if (PyList_Append(gcstate->garbage, op) < 0) {
  ------------------
  |  Branch (1097:17): [True: 0, False: 0]
  ------------------
 1098|      0|                _PyErr_Clear(tstate);
 1099|      0|            }
 1100|      0|        }
 1101|  1.78M|        else {
 1102|  1.78M|            inquiry clear;
 1103|  1.78M|            if ((clear = Py_TYPE(op)->tp_clear) != NULL) {
  ------------------
  |  |  213|  1.78M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1103:17): [True: 1.71M, False: 77.6k]
  ------------------
 1104|  1.71M|                Py_INCREF(op);
  ------------------
  |  |  310|  1.71M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|  1.71M|                (void) clear(op);
 1106|  1.71M|                if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1106:21): [True: 0, False: 1.71M]
  ------------------
 1107|      0|                    PyErr_FormatUnraisable("Exception ignored in tp_clear of %s",
 1108|      0|                                           Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|      0|                }
 1110|  1.71M|                Py_DECREF(op);
  ------------------
  |  |  430|  1.71M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  1.71M|            }
 1112|  1.78M|        }
 1113|  1.78M|        if (GC_NEXT(collectable) == gc) {
  ------------------
  |  |   28|  1.78M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1113:13): [True: 1.59M, False: 195k]
  ------------------
 1114|       |            /* object is still alive, move it, it may die later */
 1115|  1.59M|            gc_clear_collecting(gc);
 1116|  1.59M|            gc_list_move(gc, old);
 1117|  1.59M|        }
 1118|  1.78M|    }
 1119|  1.63k|}
gc.c:handle_legacy_finalizers:
 1022|  1.63k|{
 1023|  1.63k|    assert(!_PyErr_Occurred(tstate));
 1024|  1.63k|    assert(gcstate->garbage != NULL);
 1025|       |
 1026|  1.63k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  1.63k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1027|  1.63k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1027:12): [True: 0, False: 1.63k]
  ------------------
 1028|      0|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1029|       |
 1030|      0|        if ((gcstate->debug & _PyGC_DEBUG_SAVEALL) || has_legacy_finalizer(op)) {
  ------------------
  |  |  128|      0|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1030:13): [True: 0, False: 0]
  |  Branch (1030:55): [True: 0, False: 0]
  ------------------
 1031|      0|            if (PyList_Append(gcstate->garbage, op) < 0) {
  ------------------
  |  Branch (1031:17): [True: 0, False: 0]
  ------------------
 1032|      0|                _PyErr_Clear(tstate);
 1033|      0|                break;
 1034|      0|            }
 1035|      0|        }
 1036|      0|    }
 1037|       |
 1038|  1.63k|    gc_list_merge(finalizers, old);
 1039|  1.63k|}
gc.c:add_stats:
 1401|  1.63k|{
 1402|  1.63k|    struct gc_generation_stats *prev_stats = gc_get_prev_stats(gcstate, gen);
 1403|  1.63k|    struct gc_generation_stats *cur_stats = gc_get_stats(gcstate, gen);
 1404|       |
 1405|  1.63k|    memcpy(cur_stats, prev_stats, sizeof(struct gc_generation_stats));
 1406|       |
 1407|  1.63k|    cur_stats->ts_start = stats->ts_start;
 1408|  1.63k|    cur_stats->collections += 1;
 1409|  1.63k|    cur_stats->collected += stats->collected;
 1410|  1.63k|    cur_stats->uncollectable += stats->uncollectable;
 1411|  1.63k|    cur_stats->candidates += stats->candidates;
 1412|       |
 1413|  1.63k|    cur_stats->duration += stats->duration;
 1414|  1.63k|    cur_stats->heap_size = stats->heap_size;
 1415|       |    /* Publish ts_stop last so remote readers do not select a partially
 1416|       |       updated stats record as the latest collection. */
 1417|  1.63k|    cur_stats->ts_stop = stats->ts_stop;
 1418|  1.63k|}
gc.c:gc_get_prev_stats:
 1386|  1.63k|{
 1387|  1.63k|    if (gen == 0) {
  ------------------
  |  Branch (1387:9): [True: 1.49k, False: 139]
  ------------------
 1388|  1.49k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1389|  1.49k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1390|  1.49k|        return stats;
 1391|  1.49k|    }
 1392|    139|    else {
 1393|    139|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1394|    139|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1395|    139|        return stats;
 1396|    139|    }
 1397|  1.63k|}
gc.c:gc_get_stats:
 1369|  1.63k|{
 1370|  1.63k|    if (gen == 0) {
  ------------------
  |  Branch (1370:9): [True: 1.49k, False: 139]
  ------------------
 1371|  1.49k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1372|  1.49k|        buffer->index = (buffer->index + 1) % GC_YOUNG_STATS_SIZE;
  ------------------
  |  |  202|  1.49k|#define GC_YOUNG_STATS_SIZE 11
  ------------------
 1373|  1.49k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1374|  1.49k|        return stats;
 1375|  1.49k|    }
 1376|    139|    else {
 1377|    139|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1378|    139|        buffer->index = (buffer->index + 1) % GC_OLD_STATS_SIZE;
  ------------------
  |  |  203|    139|#define GC_OLD_STATS_SIZE 3
  ------------------
 1379|    139|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1380|    139|        return stats;
 1381|    139|    }
 1382|  1.63k|}
gc.c:gc_alloc:
 2007|  19.2M|{
 2008|  19.2M|    PyThreadState *tstate = _PyThreadState_GET();
 2009|  19.2M|    if (basicsize > PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|  19.2M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2009:9): [True: 0, False: 19.2M]
  ------------------
 2010|      0|        return _PyErr_NoMemory(tstate);
 2011|      0|    }
 2012|  19.2M|    size_t size = presize + basicsize;
 2013|  19.2M|    char *mem = _PyObject_MallocWithType(tp, size);
 2014|  19.2M|    if (mem == NULL) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 19.2M]
  ------------------
 2015|      0|        return _PyErr_NoMemory(tstate);
 2016|      0|    }
 2017|  19.2M|    ((PyObject **)mem)[0] = NULL;
 2018|       |    ((PyObject **)mem)[1] = NULL;
 2019|  19.2M|    PyObject *op = (PyObject *)(mem + presize);
 2020|  19.2M|    _PyObject_GC_Link(op);
 2021|  19.2M|    return op;
 2022|  19.2M|}

_PyGC_ClearAllFreeLists:
   13|      4|{
   14|      4|    _PyObject_ClearFreeLists(&interp->object_state.freelists, 0);
   15|      4|}

PyArg_Parse:
   79|  1.26M|{
   80|  1.26M|    int retval;
   81|  1.26M|    va_list va;
   82|       |
   83|  1.26M|    va_start(va, format);
   84|  1.26M|    retval = vgetargs1(args, format, &va, FLAG_COMPAT);
  ------------------
  |  |   24|  1.26M|#define FLAG_COMPAT 1
  ------------------
   85|       |    va_end(va);
   86|  1.26M|    return retval;
   87|  1.26M|}
PyArg_ParseTuple:
  104|  65.5k|{
  105|  65.5k|    int retval;
  106|  65.5k|    va_list va;
  107|       |
  108|  65.5k|    va_start(va, format);
  109|  65.5k|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|  65.5k|    return retval;
  112|  65.5k|}
PyArg_ParseTupleAndKeywords:
 1426|  1.28M|{
 1427|  1.28M|    int retval;
 1428|  1.28M|    va_list va;
 1429|       |
 1430|  1.28M|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|  1.28M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.28M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1430:10): [True: 0, False: 1.28M]
  |  Branch (1430:26): [True: 0, False: 1.28M]
  ------------------
 1431|  1.28M|        (keywords != NULL && !PyDict_Check(keywords)) ||
  ------------------
  |  |   18|    540|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    540|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1431:10): [True: 540, False: 1.28M]
  |  Branch (1431:30): [True: 0, False: 540]
  ------------------
 1432|  1.28M|        format == NULL ||
  ------------------
  |  Branch (1432:9): [True: 0, False: 1.28M]
  ------------------
 1433|  1.28M|        kwlist == NULL)
  ------------------
  |  Branch (1433:9): [True: 0, False: 1.28M]
  ------------------
 1434|      0|    {
 1435|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1436|      0|        return 0;
 1437|      0|    }
 1438|       |
 1439|  1.28M|    va_start(va, kwlist);
 1440|  1.28M|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1441|       |    va_end(va);
 1442|  1.28M|    return retval;
 1443|  1.28M|}
_PyArg_ParseStackAndKeywords:
 1551|  4.91k|{
 1552|  4.91k|    int retval;
 1553|  4.91k|    va_list va;
 1554|       |
 1555|  4.91k|    va_start(va, parser);
 1556|  4.91k|    retval = vgetargskeywordsfast_impl(args, nargs, NULL, kwnames, parser, &va, 0);
 1557|       |    va_end(va);
 1558|  4.91k|    return retval;
 1559|  4.91k|}
PyArg_ValidateKeywordArguments:
 1640|     64|{
 1641|     64|    if (!PyDict_Check(kwargs)) {
  ------------------
  |  |   18|     64|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     64|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1641:9): [True: 0, False: 64]
  ------------------
 1642|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1643|      0|        return 0;
 1644|      0|    }
 1645|     64|    if (!_PyDict_HasOnlyStringKeys(kwargs)) {
  ------------------
  |  Branch (1645:9): [True: 0, False: 64]
  ------------------
 1646|      0|        PyErr_SetString(PyExc_TypeError,
 1647|      0|                        "keywords must be strings");
 1648|      0|        return 0;
 1649|      0|    }
 1650|     64|    return 1;
 1651|     64|}
_PyArg_UnpackKeywords:
 2524|   175k|{
 2525|   175k|    PyObject *kwtuple;
 2526|   175k|    PyObject *keyword;
 2527|   175k|    int i, posonly, minposonly, maxargs;
 2528|   175k|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2528:20): [True: 10, False: 175k]
  ------------------
 2529|   175k|    Py_ssize_t nkwargs;
 2530|   175k|    PyObject * const *kwstack = NULL;
 2531|       |
 2532|   175k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2533|   175k|    assert(kwargs == NULL || kwnames == NULL);
 2534|       |
 2535|   175k|    if (parser == NULL) {
  ------------------
  |  Branch (2535:9): [True: 0, False: 175k]
  ------------------
 2536|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2537|      0|        return NULL;
 2538|      0|    }
 2539|       |
 2540|   175k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|   175k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   175k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2540:9): [True: 175k, False: 88]
  |  Branch (2540:28): [True: 0, False: 175k]
  ------------------
 2541|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2542|      0|        return NULL;
 2543|      0|    }
 2544|       |
 2545|   175k|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2545:9): [True: 4, False: 175k]
  |  Branch (2545:25): [True: 4, False: 0]
  ------------------
 2546|      4|        args = buf;
 2547|      4|    }
 2548|       |
 2549|   175k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 175k]
  ------------------
 2550|      0|        return NULL;
 2551|      0|    }
 2552|       |
 2553|   175k|    kwtuple = parser->kwtuple;
 2554|   175k|    posonly = parser->pos;
 2555|   175k|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  112|   175k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 175k]
  |  |  ------------------
  ------------------
 2556|   175k|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|   175k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2557|       |
 2558|   175k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2558:9): [True: 84, False: 175k]
  ------------------
 2559|     84|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|     84|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|     84|    }
 2561|   175k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2561:14): [True: 175k, False: 4]
  ------------------
 2562|   175k|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|   175k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|   175k|        kwstack = args + nargs;
 2564|   175k|    }
 2565|      4|    else {
 2566|      4|        nkwargs = 0;
 2567|      4|    }
 2568|   175k|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2568:9): [True: 4, False: 175k]
  |  Branch (2568:25): [True: 4, False: 0]
  |  Branch (2568:39): [True: 4, False: 0]
  |  Branch (2568:59): [True: 0, False: 4]
  |  Branch (2568:69): [True: 4, False: 0]
  ------------------
 2569|       |        /* Fast path. */
 2570|      4|        return args;
 2571|      4|    }
 2572|   175k|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2572:9): [True: 175k, False: 18]
  |  Branch (2572:20): [True: 0, False: 175k]
  ------------------
 2573|       |        /* Adding "keyword" (when nargs == 0) prevents producing wrong error
 2574|       |           messages in some special cases (see bpo-31229). */
 2575|      0|        PyErr_Format(PyExc_TypeError,
 2576|      0|                     "%.200s%s takes at most %d %sargument%s (%zd given)",
 2577|      0|                     (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2577:22): [True: 0, False: 0]
  ------------------
 2578|      0|                     (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2578:22): [True: 0, False: 0]
  ------------------
 2579|      0|                     maxargs,
 2580|      0|                     (nargs == 0) ? "keyword " : "",
  ------------------
  |  Branch (2580:22): [True: 0, False: 0]
  ------------------
 2581|      0|                     (maxargs == 1) ? "" : "s",
  ------------------
  |  Branch (2581:22): [True: 0, False: 0]
  ------------------
 2582|      0|                     nargs + nkwargs);
 2583|      0|        return NULL;
 2584|      0|    }
 2585|   175k|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2585:9): [True: 175k, False: 18]
  |  Branch (2585:20): [True: 0, False: 175k]
  ------------------
 2586|      0|        if (maxpos == 0) {
  ------------------
  |  Branch (2586:13): [True: 0, False: 0]
  ------------------
 2587|      0|            PyErr_Format(PyExc_TypeError,
 2588|      0|                         "%.200s%s takes no positional arguments",
 2589|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2589:26): [True: 0, False: 0]
  ------------------
 2590|      0|                         (parser->fname == NULL) ? "" : "()");
  ------------------
  |  Branch (2590:26): [True: 0, False: 0]
  ------------------
 2591|      0|        }
 2592|      0|        else {
 2593|      0|            PyErr_Format(PyExc_TypeError,
 2594|      0|                         "%.200s%s takes %s %d positional argument%s (%zd given)",
 2595|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2595:26): [True: 0, False: 0]
  ------------------
 2596|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2596:26): [True: 0, False: 0]
  ------------------
 2597|      0|                         (minpos < maxpos) ? "at most" : "exactly",
  ------------------
  |  Branch (2597:26): [True: 0, False: 0]
  ------------------
 2598|      0|                         maxpos,
 2599|      0|                         (maxpos == 1) ? "" : "s",
  ------------------
  |  Branch (2599:26): [True: 0, False: 0]
  ------------------
 2600|      0|                         nargs);
 2601|      0|        }
 2602|      0|        return NULL;
 2603|      0|    }
 2604|   175k|    if (nargs < minposonly) {
  ------------------
  |  Branch (2604:9): [True: 0, False: 175k]
  ------------------
 2605|      0|        PyErr_Format(PyExc_TypeError,
 2606|      0|                     "%.200s%s takes %s %d positional argument%s"
 2607|      0|                     " (%zd given)",
 2608|      0|                     (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2608:22): [True: 0, False: 0]
  ------------------
 2609|      0|                     (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2609:22): [True: 0, False: 0]
  ------------------
 2610|      0|                     (varpos || minposonly < maxpos) ? "at least" : "exactly",
  ------------------
  |  Branch (2610:23): [True: 0, False: 0]
  |  Branch (2610:33): [True: 0, False: 0]
  ------------------
 2611|      0|                     minposonly,
 2612|      0|                     minposonly == 1 ? "" : "s",
  ------------------
  |  Branch (2612:22): [True: 0, False: 0]
  ------------------
 2613|      0|                     nargs);
 2614|      0|        return NULL;
 2615|      0|    }
 2616|       |
 2617|   175k|    if (varpos) {
  ------------------
  |  Branch (2617:9): [True: 18, False: 175k]
  ------------------
 2618|     18|        nargs = Py_MIN(maxpos, nargs);
  ------------------
  |  |  112|     18|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 2619|     18|    }
 2620|       |    /* copy tuple args */
 2621|   547k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2621:17): [True: 371k, False: 175k]
  ------------------
 2622|   371k|        buf[i] = args[i];
 2623|   371k|    }
 2624|       |
 2625|       |    /* copy keyword args using kwtuple to drive process */
 2626|   606k|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  115|   175k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 131k, False: 44.1k]
  |  |  ------------------
  ------------------
  |  Branch (2626:43): [True: 435k, False: 171k]
  ------------------
 2627|   435k|        PyObject *current_arg;
 2628|   435k|        if (nkwargs) {
  ------------------
  |  Branch (2628:13): [True: 430k, False: 4.16k]
  ------------------
 2629|   430k|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|   430k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   430k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|   430k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2630:17): [True: 198, False: 430k]
  ------------------
 2631|    198|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2631:21): [True: 0, False: 198]
  ------------------
 2632|      0|                    return NULL;
 2633|      0|                }
 2634|    198|            }
 2635|   430k|            else {
 2636|   430k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2637|   430k|            }
 2638|   430k|        }
 2639|  4.16k|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2639:18): [True: 4.16k, False: 0]
  ------------------
 2640|  4.16k|            break;
 2641|  4.16k|        }
 2642|      0|        else {
 2643|      0|            current_arg = NULL;
 2644|      0|        }
 2645|       |
 2646|   430k|        buf[i] = current_arg;
 2647|       |
 2648|   430k|        if (current_arg) {
  ------------------
  |  Branch (2648:13): [True: 288k, False: 142k]
  ------------------
 2649|   288k|            Py_DECREF(current_arg);
  ------------------
  |  |  430|   288k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   288k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2650|   288k|            --nkwargs;
 2651|   288k|        }
 2652|   142k|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2652:18): [True: 0, False: 142k]
  |  Branch (2652:33): [True: 48.4k, False: 94.2k]
  |  Branch (2652:48): [True: 0, False: 48.4k]
  ------------------
 2653|       |            /* Less arguments than required */
 2654|      0|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2655|      0|            PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 2656|      0|                         "argument '%U' (pos %d)",
 2657|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2657:26): [True: 0, False: 0]
  ------------------
 2658|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2658:26): [True: 0, False: 0]
  ------------------
 2659|      0|                         keyword, i+1);
 2660|      0|            return NULL;
 2661|      0|        }
 2662|   430k|    }
 2663|       |
 2664|   175k|    if (nkwargs > 0) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 175k]
  ------------------
 2665|       |        /* make sure there are no arguments given by name and position */
 2666|      0|        for (i = posonly; i < nargs; i++) {
  ------------------
  |  Branch (2666:27): [True: 0, False: 0]
  ------------------
 2667|      0|            PyObject *current_arg;
 2668|      0|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (2669:17): [True: 0, False: 0]
  ------------------
 2670|      0|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2670:21): [True: 0, False: 0]
  ------------------
 2671|      0|                    return NULL;
 2672|      0|                }
 2673|      0|            }
 2674|      0|            else {
 2675|      0|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2676|      0|            }
 2677|      0|            if (current_arg) {
  ------------------
  |  Branch (2677:17): [True: 0, False: 0]
  ------------------
 2678|      0|                Py_DECREF(current_arg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2679|       |                /* arg present in tuple and in dict */
 2680|      0|                PyErr_Format(PyExc_TypeError,
 2681|      0|                             "argument for %.200s%s given by name ('%U') "
 2682|      0|                             "and position (%d)",
 2683|      0|                             (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2683:30): [True: 0, False: 0]
  ------------------
 2684|      0|                             (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2684:30): [True: 0, False: 0]
  ------------------
 2685|      0|                             keyword, i+1);
 2686|      0|                return NULL;
 2687|      0|            }
 2688|      0|        }
 2689|       |
 2690|      0|        error_unexpected_keyword_arg(kwargs, kwnames, kwtuple, parser->fname);
 2691|      0|        return NULL;
 2692|      0|    }
 2693|       |
 2694|   175k|    return buf;
 2695|   175k|}
_PyArg_CheckPositional:
 2838|  2.72M|{
 2839|  2.72M|    assert(min >= 0);
 2840|  2.72M|    assert(min <= max);
 2841|       |
 2842|  2.72M|    if (nargs < min) {
  ------------------
  |  Branch (2842:9): [True: 0, False: 2.72M]
  ------------------
 2843|      0|        if (name != NULL)
  ------------------
  |  Branch (2843:13): [True: 0, False: 0]
  ------------------
 2844|      0|            PyErr_Format(
 2845|      0|                PyExc_TypeError,
 2846|      0|                "%.200s expected %s%zd argument%s, got %zd",
 2847|      0|                name, (min == max ? "" : "at least "), min, min == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2847:24): [True: 0, False: 0]
  |  Branch (2847:61): [True: 0, False: 0]
  ------------------
 2848|      0|        else
 2849|      0|            PyErr_Format(
 2850|      0|                PyExc_TypeError,
 2851|      0|                "unpacked tuple should have %s%zd element%s,"
 2852|      0|                " but has %zd",
 2853|      0|                (min == max ? "" : "at least "), min, min == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2853:18): [True: 0, False: 0]
  |  Branch (2853:55): [True: 0, False: 0]
  ------------------
 2854|      0|        return 0;
 2855|      0|    }
 2856|       |
 2857|  2.72M|    if (nargs == 0) {
  ------------------
  |  Branch (2857:9): [True: 11.9k, False: 2.71M]
  ------------------
 2858|  11.9k|        return 1;
 2859|  11.9k|    }
 2860|       |
 2861|  2.71M|    if (nargs > max) {
  ------------------
  |  Branch (2861:9): [True: 0, False: 2.71M]
  ------------------
 2862|      0|        if (name != NULL)
  ------------------
  |  Branch (2862:13): [True: 0, False: 0]
  ------------------
 2863|      0|            PyErr_Format(
 2864|      0|                PyExc_TypeError,
 2865|      0|                "%.200s expected %s%zd argument%s, got %zd",
 2866|      0|                name, (min == max ? "" : "at most "), max, max == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2866:24): [True: 0, False: 0]
  |  Branch (2866:60): [True: 0, False: 0]
  ------------------
 2867|      0|        else
 2868|      0|            PyErr_Format(
 2869|      0|                PyExc_TypeError,
 2870|      0|                "unpacked tuple should have %s%zd element%s,"
 2871|      0|                " but has %zd",
 2872|      0|                (min == max ? "" : "at most "), max, max == 1 ? "" : "s", nargs);
  ------------------
  |  Branch (2872:18): [True: 0, False: 0]
  |  Branch (2872:54): [True: 0, False: 0]
  ------------------
 2873|      0|        return 0;
 2874|      0|    }
 2875|       |
 2876|  2.71M|    return 1;
 2877|  2.71M|}
PyArg_UnpackTuple:
 2899|  1.51M|{
 2900|  1.51M|    PyObject **stack;
 2901|  1.51M|    Py_ssize_t nargs;
 2902|  1.51M|    int retval;
 2903|  1.51M|    va_list vargs;
 2904|       |
 2905|  1.51M|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  1.51M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.51M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 1.51M]
  ------------------
 2906|      0|        PyErr_SetString(PyExc_SystemError,
 2907|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2908|      0|        return 0;
 2909|      0|    }
 2910|  1.51M|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  1.51M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.51M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2911|  1.51M|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  1.51M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|       |
 2913|  1.51M|    va_start(vargs, max);
 2914|  1.51M|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2915|       |    va_end(vargs);
 2916|  1.51M|    return retval;
 2917|  1.51M|}
_PyArg_UnpackStack:
 2922|  1.21M|{
 2923|  1.21M|    int retval;
 2924|  1.21M|    va_list vargs;
 2925|       |
 2926|  1.21M|    va_start(vargs, max);
 2927|  1.21M|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2928|       |    va_end(vargs);
 2929|  1.21M|    return retval;
 2930|  1.21M|}
_PyArg_NoPositional:
 2963|    704|{
 2964|    704|    if (args == NULL)
  ------------------
  |  Branch (2964:9): [True: 0, False: 704]
  ------------------
 2965|      0|        return 1;
 2966|    704|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|    704|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    704|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 704]
  ------------------
 2967|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2968|      0|        return 0;
 2969|      0|    }
 2970|    704|    if (PyTuple_GET_SIZE(args) == 0)
  ------------------
  |  |   27|    704|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2970:9): [True: 704, False: 0]
  ------------------
 2971|    704|        return 1;
 2972|       |
 2973|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2974|      0|                    funcname);
 2975|      0|    return 0;
 2976|    704|}
getargs.c:vgetargs1_impl:
  258|  1.33M|{
  259|  1.33M|    char msgbuf[256];
  260|  1.33M|    int levels[32];
  261|  1.33M|    const char *fname = NULL;
  262|  1.33M|    const char *message = NULL;
  263|  1.33M|    int min = -1;
  264|  1.33M|    int max = 0;
  265|  1.33M|    int level = 0;
  266|  1.33M|    int endfmt = 0;
  267|  1.33M|    const char *formatsave = format;
  268|  1.33M|    Py_ssize_t i;
  269|  1.33M|    const char *msg;
  270|  1.33M|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|  1.33M|#define FLAG_COMPAT 1
  ------------------
  271|  1.33M|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  272|  1.33M|    freelist_t freelist;
  273|       |
  274|  1.33M|    assert(nargs == 0 || stack != NULL);
  275|       |
  276|  1.33M|    freelist.entries = static_entries;
  277|  1.33M|    freelist.first_available = 0;
  278|  1.33M|    freelist.entries_malloced = 0;
  279|       |
  280|  1.33M|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|  1.33M|#define FLAG_COMPAT 1
  ------------------
  281|       |
  282|  4.41M|    while (endfmt == 0) {
  ------------------
  |  Branch (282:12): [True: 3.07M, False: 1.33M]
  ------------------
  283|  3.07M|        int c = *format++;
  284|  3.07M|        switch (c) {
  285|      0|        case '(':
  ------------------
  |  Branch (285:9): [True: 0, False: 3.07M]
  ------------------
  286|      0|            if (level == 0)
  ------------------
  |  Branch (286:17): [True: 0, False: 0]
  ------------------
  287|      0|                max++;
  288|      0|            level++;
  289|      0|            if (level >= 30)
  ------------------
  |  Branch (289:17): [True: 0, False: 0]
  ------------------
  290|      0|                Py_FatalError("too many tuple nesting levels "
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  291|      0|                              "in argument format string");
  292|      0|            break;
  293|      0|        case ')':
  ------------------
  |  Branch (293:9): [True: 0, False: 3.07M]
  ------------------
  294|      0|            if (level == 0)
  ------------------
  |  Branch (294:17): [True: 0, False: 0]
  ------------------
  295|      0|                Py_FatalError("excess ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  296|      0|            else
  297|      0|                level--;
  298|      0|            break;
  299|  59.1k|        case '\0':
  ------------------
  |  Branch (299:9): [True: 59.1k, False: 3.01M]
  ------------------
  300|  59.1k|            endfmt = 1;
  301|  59.1k|            break;
  302|  6.43k|        case ':':
  ------------------
  |  Branch (302:9): [True: 6.43k, False: 3.07M]
  ------------------
  303|  6.43k|            fname = format;
  304|  6.43k|            endfmt = 1;
  305|  6.43k|            break;
  306|  1.26M|        case ';':
  ------------------
  |  Branch (306:9): [True: 1.26M, False: 1.81M]
  ------------------
  307|  1.26M|            message = format;
  308|  1.26M|            endfmt = 1;
  309|  1.26M|            break;
  310|  58.1k|        case '|':
  ------------------
  |  Branch (310:9): [True: 58.1k, False: 3.02M]
  ------------------
  311|  58.1k|            if (level == 0)
  ------------------
  |  Branch (311:17): [True: 58.1k, False: 0]
  ------------------
  312|  58.1k|                min = max;
  313|  58.1k|            break;
  314|  1.68M|        default:
  ------------------
  |  Branch (314:9): [True: 1.68M, False: 1.39M]
  ------------------
  315|  1.68M|            if (level == 0) {
  ------------------
  |  Branch (315:17): [True: 1.68M, False: 0]
  ------------------
  316|  1.68M|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|  1.68M|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  1.68M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  1.68M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  1.68M|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  1.68M|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 1.68M, False: 2.50k]
  |  |  ------------------
  ------------------
  317|  1.68M|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (317:25): [True: 1.68M, False: 0]
  ------------------
  318|  1.68M|                        max++;
  319|  1.68M|            }
  320|  1.68M|            break;
  321|  3.07M|        }
  322|  3.07M|    }
  323|       |
  324|  1.33M|    if (level != 0)
  ------------------
  |  Branch (324:9): [True: 0, False: 1.33M]
  ------------------
  325|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  326|       |
  327|  1.33M|    if (min < 0)
  ------------------
  |  Branch (327:9): [True: 1.27M, False: 58.1k]
  ------------------
  328|  1.27M|        min = max;
  329|       |
  330|  1.33M|    format = formatsave;
  331|       |
  332|  1.33M|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  1.33M|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (332:9): [True: 0, False: 1.33M]
  ------------------
  333|      0|        freelist.entries = PyMem_NEW(freelistentry_t, max);
  ------------------
  |  |   82|      0|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  334|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (334:13): [True: 0, False: 0]
  ------------------
  335|      0|            PyErr_NoMemory();
  336|      0|            return 0;
  337|      0|        }
  338|      0|        freelist.entries_malloced = 1;
  339|      0|    }
  340|       |
  341|  1.33M|    if (compat) {
  ------------------
  |  Branch (341:9): [True: 1.26M, False: 65.5k]
  ------------------
  342|  1.26M|        if (max == 0) {
  ------------------
  |  Branch (342:13): [True: 0, False: 1.26M]
  ------------------
  343|      0|            if (compat_args == NULL)
  ------------------
  |  Branch (343:17): [True: 0, False: 0]
  ------------------
  344|      0|                return 1;
  345|      0|            PyErr_Format(PyExc_TypeError,
  346|      0|                         "%.200s%s takes no arguments",
  347|      0|                         fname==NULL ? "function" : fname,
  ------------------
  |  Branch (347:26): [True: 0, False: 0]
  ------------------
  348|      0|                         fname==NULL ? "" : "()");
  ------------------
  |  Branch (348:26): [True: 0, False: 0]
  ------------------
  349|      0|            return cleanreturn(0, &freelist);
  350|      0|        }
  351|  1.26M|        else if (min == 1 && max == 1) {
  ------------------
  |  Branch (351:18): [True: 1.26M, False: 0]
  |  Branch (351:30): [True: 1.26M, False: 0]
  ------------------
  352|  1.26M|            if (compat_args == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 1.26M]
  ------------------
  353|      0|                PyErr_Format(PyExc_TypeError,
  354|      0|                             "%.200s%s takes at least one argument",
  355|      0|                             fname==NULL ? "function" : fname,
  ------------------
  |  Branch (355:30): [True: 0, False: 0]
  ------------------
  356|      0|                             fname==NULL ? "" : "()");
  ------------------
  |  Branch (356:30): [True: 0, False: 0]
  ------------------
  357|      0|                return cleanreturn(0, &freelist);
  358|      0|            }
  359|  1.26M|            msg = convertitem(compat_args, &format, p_va, flags, levels,
  360|  1.26M|                              msgbuf, sizeof(msgbuf), &freelist);
  361|  1.26M|            if (msg == NULL)
  ------------------
  |  Branch (361:17): [True: 1.26M, False: 0]
  ------------------
  362|  1.26M|                return cleanreturn(1, &freelist);
  363|      0|            seterror(levels[0], msg, levels+1, fname, message);
  364|      0|            return cleanreturn(0, &freelist);
  365|  1.26M|        }
  366|      0|        else {
  367|      0|            PyErr_SetString(PyExc_SystemError,
  368|      0|                "old style getargs format uses new features");
  369|      0|            return cleanreturn(0, &freelist);
  370|      0|        }
  371|  1.26M|    }
  372|       |
  373|  65.5k|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (373:9): [True: 0, False: 65.5k]
  |  Branch (373:24): [True: 0, False: 65.5k]
  ------------------
  374|      0|        if (message == NULL)
  ------------------
  |  Branch (374:13): [True: 0, False: 0]
  ------------------
  375|      0|            PyErr_Format(PyExc_TypeError,
  376|      0|                         "%.150s%s takes %s %d argument%s (%zd given)",
  377|      0|                         fname==NULL ? "function" : fname,
  ------------------
  |  Branch (377:26): [True: 0, False: 0]
  ------------------
  378|      0|                         fname==NULL ? "" : "()",
  ------------------
  |  Branch (378:26): [True: 0, False: 0]
  ------------------
  379|      0|                         min==max ? "exactly"
  ------------------
  |  Branch (379:26): [True: 0, False: 0]
  ------------------
  380|      0|                         : nargs < min ? "at least" : "at most",
  ------------------
  |  Branch (380:28): [True: 0, False: 0]
  ------------------
  381|      0|                         nargs < min ? min : max,
  ------------------
  |  Branch (381:26): [True: 0, False: 0]
  ------------------
  382|      0|                         (nargs < min ? min : max) == 1 ? "" : "s",
  ------------------
  |  Branch (382:26): [True: 0, False: 0]
  |  Branch (382:27): [True: 0, False: 0]
  ------------------
  383|      0|                         nargs);
  384|      0|        else
  385|      0|            PyErr_SetString(PyExc_TypeError, message);
  386|      0|        return cleanreturn(0, &freelist);
  387|      0|    }
  388|       |
  389|   430k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (389:17): [True: 365k, False: 65.5k]
  ------------------
  390|   365k|        if (*format == '|')
  ------------------
  |  Branch (390:13): [True: 58.1k, False: 306k]
  ------------------
  391|  58.1k|            format++;
  392|   365k|        msg = convertitem(stack[i], &format, p_va,
  393|   365k|                          flags, levels, msgbuf,
  394|   365k|                          sizeof(msgbuf), &freelist);
  395|   365k|        if (msg) {
  ------------------
  |  Branch (395:13): [True: 0, False: 365k]
  ------------------
  396|      0|            seterror(i+1, msg, levels, fname, message);
  397|      0|            return cleanreturn(0, &freelist);
  398|      0|        }
  399|   365k|    }
  400|       |
  401|  65.5k|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|   126k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  60.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  60.6k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  60.6k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  60.6k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:9): [True: 60.6k, False: 4.94k]
  |  Branch (401:28): [True: 6.43k, False: 54.1k]
  ------------------
  402|  6.43k|        *format != '(' &&
  ------------------
  |  Branch (402:9): [True: 6.43k, False: 0]
  ------------------
  403|  6.43k|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (403:9): [True: 6.43k, False: 0]
  |  Branch (403:27): [True: 0, False: 6.43k]
  |  Branch (403:45): [True: 0, False: 0]
  ------------------
  404|      0|        PyErr_Format(PyExc_SystemError,
  405|      0|                     "bad format string: %.200s", formatsave);
  406|      0|        return cleanreturn(0, &freelist);
  407|      0|    }
  408|       |
  409|  65.5k|    return cleanreturn(1, &freelist);
  410|  65.5k|}
getargs.c:cleanreturn:
  237|  2.62M|{
  238|  2.62M|    int index;
  239|       |
  240|  2.62M|    if (retval == 0) {
  ------------------
  |  Branch (240:9): [True: 0, False: 2.62M]
  ------------------
  241|       |      /* A failure occurred, therefore execute all of the cleanup
  242|       |         functions.
  243|       |      */
  244|      0|      for (index = 0; index < freelist->first_available; ++index) {
  ------------------
  |  Branch (244:23): [True: 0, False: 0]
  ------------------
  245|      0|          freelist->entries[index].destructor(NULL,
  246|      0|                                              freelist->entries[index].item);
  247|      0|      }
  248|      0|    }
  249|  2.62M|    if (freelist->entries_malloced)
  ------------------
  |  Branch (249:9): [True: 2, False: 2.62M]
  ------------------
  250|      2|        PyMem_Free(freelist->entries);
  251|  2.62M|    return retval;
  252|  2.62M|}
getargs.c:convertitem:
  634|  1.63M|{
  635|  1.63M|    const char *msg;
  636|  1.63M|    const char *format = *p_format;
  637|       |
  638|  1.63M|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (638:9): [True: 0, False: 1.63M]
  ------------------
  639|      0|        format++;
  640|      0|        msg = converttuple(arg, &format, p_va, flags, levels, msgbuf,
  641|      0|                           bufsize, freelist);
  642|      0|        if (msg == NULL)
  ------------------
  |  Branch (642:13): [True: 0, False: 0]
  ------------------
  643|      0|            format++;
  644|      0|    }
  645|  1.63M|    else {
  646|  1.63M|        msg = convertsimple(arg, &format, p_va, flags,
  647|  1.63M|                            msgbuf, bufsize, freelist);
  648|  1.63M|        if (msg != NULL)
  ------------------
  |  Branch (648:13): [True: 0, False: 1.63M]
  ------------------
  649|      0|            levels[0] = 0;
  650|  1.63M|    }
  651|  1.63M|    if (msg == NULL)
  ------------------
  |  Branch (651:9): [True: 1.63M, False: 0]
  ------------------
  652|  1.63M|        *p_format = format;
  653|  1.63M|    return msg;
  654|  1.63M|}
getargs.c:convertsimple:
  714|  1.63M|{
  715|  1.63M|#define RETURN_ERR_OCCURRED return msgbuf
  716|       |
  717|  1.63M|    const char *format = *p_format;
  718|  1.63M|    char c = *format++;
  719|  1.63M|    const char *sarg;
  720|       |
  721|  1.63M|    switch (c) {
  722|       |
  723|  1.25M|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (723:5): [True: 1.25M, False: 379k]
  ------------------
  724|  1.25M|        unsigned char *p = va_arg(*p_va, unsigned char *);
  725|  1.25M|        long ival = PyLong_AsLong(arg);
  726|  1.25M|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (726:13): [True: 0, False: 1.25M]
  |  Branch (726:27): [True: 0, False: 0]
  ------------------
  727|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  728|  1.25M|        else if (ival < 0) {
  ------------------
  |  Branch (728:18): [True: 0, False: 1.25M]
  ------------------
  729|      0|            PyErr_SetString(PyExc_OverflowError,
  730|      0|                            "unsigned byte integer is less than minimum");
  731|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  732|      0|        }
  733|  1.25M|        else if (ival > UCHAR_MAX) {
  ------------------
  |  Branch (733:18): [True: 0, False: 1.25M]
  ------------------
  734|      0|            PyErr_SetString(PyExc_OverflowError,
  735|      0|                            "unsigned byte integer is greater than maximum");
  736|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  737|      0|        }
  738|  1.25M|        else
  739|  1.25M|            *p = (unsigned char) ival;
  740|  1.25M|        break;
  741|  1.25M|    }
  742|       |
  743|  1.25M|    case 'B': {/* byte sized bitfield - both signed and unsigned
  ------------------
  |  Branch (743:5): [True: 0, False: 1.63M]
  ------------------
  744|       |                  values allowed */
  745|      0|        unsigned char *p = va_arg(*p_va, unsigned char *);
  746|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned char),
  747|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  748|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  749|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  750|      0|        if (bytes < 0) {
  ------------------
  |  Branch (750:13): [True: 0, False: 0]
  ------------------
  751|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  752|      0|        }
  753|      0|        if ((size_t)bytes > sizeof(unsigned char)) {
  ------------------
  |  Branch (753:13): [True: 0, False: 0]
  ------------------
  754|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (754:17): [True: 0, False: 0]
  ------------------
  755|      0|                "integer value out of range", 1) < 0)
  756|      0|            {
  757|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  758|      0|            }
  759|      0|        }
  760|      0|        break;
  761|      0|    }
  762|       |
  763|      0|    case 'h': {/* signed short int */
  ------------------
  |  Branch (763:5): [True: 0, False: 1.63M]
  ------------------
  764|      0|        short *p = va_arg(*p_va, short *);
  765|      0|        long ival = PyLong_AsLong(arg);
  766|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (766:13): [True: 0, False: 0]
  |  Branch (766:27): [True: 0, False: 0]
  ------------------
  767|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  768|      0|        else if (ival < SHRT_MIN) {
  ------------------
  |  Branch (768:18): [True: 0, False: 0]
  ------------------
  769|      0|            PyErr_SetString(PyExc_OverflowError,
  770|      0|                            "signed short integer is less than minimum");
  771|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  772|      0|        }
  773|      0|        else if (ival > SHRT_MAX) {
  ------------------
  |  Branch (773:18): [True: 0, False: 0]
  ------------------
  774|      0|            PyErr_SetString(PyExc_OverflowError,
  775|      0|                            "signed short integer is greater than maximum");
  776|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  777|      0|        }
  778|      0|        else
  779|      0|            *p = (short) ival;
  780|      0|        break;
  781|      0|    }
  782|       |
  783|      0|    case 'H': { /* short int sized bitfield, both signed and
  ------------------
  |  Branch (783:5): [True: 0, False: 1.63M]
  ------------------
  784|       |                   unsigned allowed */
  785|      0|        unsigned short *p = va_arg(*p_va, unsigned short *);
  786|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned short),
  787|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  788|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  789|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  790|      0|        if (bytes < 0) {
  ------------------
  |  Branch (790:13): [True: 0, False: 0]
  ------------------
  791|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  792|      0|        }
  793|      0|        if ((size_t)bytes > sizeof(unsigned short)) {
  ------------------
  |  Branch (793:13): [True: 0, False: 0]
  ------------------
  794|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (794:17): [True: 0, False: 0]
  ------------------
  795|      0|                "integer value out of range", 1) < 0)
  796|      0|            {
  797|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  798|      0|            }
  799|      0|        }
  800|      0|        break;
  801|      0|    }
  802|       |
  803|  8.19k|    case 'i': {/* signed int */
  ------------------
  |  Branch (803:5): [True: 8.19k, False: 1.62M]
  ------------------
  804|  8.19k|        int *p = va_arg(*p_va, int *);
  805|  8.19k|        long ival = PyLong_AsLong(arg);
  806|  8.19k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (806:13): [True: 0, False: 8.19k]
  |  Branch (806:27): [True: 0, False: 0]
  ------------------
  807|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  808|  8.19k|        else if (ival > INT_MAX) {
  ------------------
  |  Branch (808:18): [True: 0, False: 8.19k]
  ------------------
  809|      0|            PyErr_SetString(PyExc_OverflowError,
  810|      0|                            "signed integer is greater than maximum");
  811|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  812|      0|        }
  813|  8.19k|        else if (ival < INT_MIN) {
  ------------------
  |  Branch (813:18): [True: 0, False: 8.19k]
  ------------------
  814|      0|            PyErr_SetString(PyExc_OverflowError,
  815|      0|                            "signed integer is less than minimum");
  816|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  817|      0|        }
  818|  8.19k|        else
  819|  8.19k|            *p = ival;
  820|  8.19k|        break;
  821|  8.19k|    }
  822|       |
  823|  8.19k|    case 'I': { /* int sized bitfield, both signed and
  ------------------
  |  Branch (823:5): [True: 0, False: 1.63M]
  ------------------
  824|       |                   unsigned allowed */
  825|      0|        unsigned int *p = va_arg(*p_va, unsigned int *);
  826|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned int),
  827|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  828|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  829|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  830|      0|        if (bytes < 0) {
  ------------------
  |  Branch (830:13): [True: 0, False: 0]
  ------------------
  831|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  832|      0|        }
  833|      0|        if ((size_t)bytes > sizeof(unsigned int)) {
  ------------------
  |  Branch (833:13): [True: 0, False: 0]
  ------------------
  834|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (834:17): [True: 0, False: 0]
  ------------------
  835|      0|                "integer value out of range", 1) < 0)
  836|      0|            {
  837|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  838|      0|            }
  839|      0|        }
  840|      0|        break;
  841|      0|    }
  842|       |
  843|  9.83k|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (843:5): [True: 9.83k, False: 1.62M]
  ------------------
  844|  9.83k|    {
  845|  9.83k|        PyObject *iobj;
  846|  9.83k|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  847|  9.83k|        Py_ssize_t ival = -1;
  848|  9.83k|        iobj = _PyNumber_Index(arg);
  849|  9.83k|        if (iobj != NULL) {
  ------------------
  |  Branch (849:13): [True: 9.83k, False: 0]
  ------------------
  850|  9.83k|            ival = PyLong_AsSsize_t(iobj);
  851|  9.83k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  9.83k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|  9.83k|        }
  853|  9.83k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (853:13): [True: 0, False: 9.83k]
  |  Branch (853:27): [True: 0, False: 0]
  ------------------
  854|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  855|  9.83k|        *p = ival;
  856|  9.83k|        break;
  857|  9.83k|    }
  858|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (858:5): [True: 0, False: 1.63M]
  ------------------
  859|      0|        long *p = va_arg(*p_va, long *);
  860|      0|        long ival = PyLong_AsLong(arg);
  861|      0|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (861:13): [True: 0, False: 0]
  |  Branch (861:27): [True: 0, False: 0]
  ------------------
  862|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  863|      0|        else
  864|      0|            *p = ival;
  865|      0|        break;
  866|      0|    }
  867|       |
  868|      0|    case 'k': { /* long sized bitfield */
  ------------------
  |  Branch (868:5): [True: 0, False: 1.63M]
  ------------------
  869|      0|        unsigned long *p = va_arg(*p_va, unsigned long *);
  870|      0|        if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (870:13): [True: 0, False: 0]
  ------------------
  871|      0|            return converterr("int", arg, msgbuf, bufsize);
  872|      0|        }
  873|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned long),
  874|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  875|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  876|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  877|      0|        if (bytes < 0) {
  ------------------
  |  Branch (877:13): [True: 0, False: 0]
  ------------------
  878|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  879|      0|        }
  880|      0|        if ((size_t)bytes > sizeof(unsigned long)) {
  ------------------
  |  Branch (880:13): [True: 0, False: 0]
  ------------------
  881|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (881:17): [True: 0, False: 0]
  ------------------
  882|      0|                "integer value out of range", 1) < 0)
  883|      0|            {
  884|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  885|      0|            }
  886|      0|        }
  887|      0|        break;
  888|      0|    }
  889|       |
  890|      0|    case 'L': {/* long long */
  ------------------
  |  Branch (890:5): [True: 0, False: 1.63M]
  ------------------
  891|      0|        long long *p = va_arg( *p_va, long long * );
  892|      0|        long long ival = PyLong_AsLongLong(arg);
  893|      0|        if (ival == (long long)-1 && PyErr_Occurred())
  ------------------
  |  Branch (893:13): [True: 0, False: 0]
  |  Branch (893:38): [True: 0, False: 0]
  ------------------
  894|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  895|      0|        else
  896|      0|            *p = ival;
  897|      0|        break;
  898|      0|    }
  899|       |
  900|      0|    case 'K': { /* long long sized bitfield */
  ------------------
  |  Branch (900:5): [True: 0, False: 1.63M]
  ------------------
  901|      0|        unsigned long long *p = va_arg(*p_va, unsigned long long *);
  902|      0|        if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (902:13): [True: 0, False: 0]
  ------------------
  903|      0|            return converterr("int", arg, msgbuf, bufsize);
  904|      0|        }
  905|      0|        Py_ssize_t bytes = PyLong_AsNativeBytes(arg, p, sizeof(unsigned long long),
  906|      0|                Py_ASNATIVEBYTES_NATIVE_ENDIAN |
  ------------------
  |  |   47|      0|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
  907|      0|                Py_ASNATIVEBYTES_ALLOW_INDEX |
  ------------------
  |  |   50|      0|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
  908|      0|                Py_ASNATIVEBYTES_UNSIGNED_BUFFER);
  ------------------
  |  |   48|      0|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  909|      0|        if (bytes < 0) {
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  911|      0|        }
  912|      0|        if ((size_t)bytes > sizeof(unsigned long long)) {
  ------------------
  |  Branch (912:13): [True: 0, False: 0]
  ------------------
  913|      0|            if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (913:17): [True: 0, False: 0]
  ------------------
  914|      0|                "integer value out of range", 1) < 0)
  915|      0|            {
  916|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  917|      0|            }
  918|      0|        }
  919|      0|        break;
  920|      0|    }
  921|       |
  922|      0|    case 'f': {/* float */
  ------------------
  |  Branch (922:5): [True: 0, False: 1.63M]
  ------------------
  923|      0|        float *p = va_arg(*p_va, float *);
  924|      0|        double dval = PyFloat_AsDouble(arg);
  925|      0|        if (dval == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (925:13): [True: 0, False: 0]
  |  Branch (925:29): [True: 0, False: 0]
  ------------------
  926|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  927|      0|        else
  928|      0|            *p = (float) dval;
  929|      0|        break;
  930|      0|    }
  931|       |
  932|      0|    case 'd': {/* double */
  ------------------
  |  Branch (932:5): [True: 0, False: 1.63M]
  ------------------
  933|      0|        double *p = va_arg(*p_va, double *);
  934|      0|        double dval = PyFloat_AsDouble(arg);
  935|      0|        if (dval == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (935:13): [True: 0, False: 0]
  |  Branch (935:29): [True: 0, False: 0]
  ------------------
  936|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  937|      0|        else
  938|      0|            *p = dval;
  939|      0|        break;
  940|      0|    }
  941|       |
  942|      0|    case 'D': {/* complex double */
  ------------------
  |  Branch (942:5): [True: 0, False: 1.63M]
  ------------------
  943|      0|        Py_complex *p = va_arg(*p_va, Py_complex *);
  944|      0|        Py_complex cval;
  945|      0|        cval = PyComplex_AsCComplex(arg);
  946|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (946:13): [True: 0, False: 0]
  ------------------
  947|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  948|      0|        else
  949|      0|            *p = cval;
  950|      0|        break;
  951|      0|    }
  952|       |
  953|      0|    case 'c': {/* char */
  ------------------
  |  Branch (953:5): [True: 0, False: 1.63M]
  ------------------
  954|      0|        char *p = va_arg(*p_va, char *);
  955|      0|        if (PyBytes_Check(arg)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  956|      0|            if (PyBytes_GET_SIZE(arg) != 1) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (956:17): [True: 0, False: 0]
  ------------------
  957|      0|                return convertcharerr("a byte string of length 1",
  958|      0|                                      "a bytes object", PyBytes_GET_SIZE(arg),
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|                                      msgbuf, bufsize);
  960|      0|            }
  961|      0|            *p = PyBytes_AS_STRING(arg)[0];
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  962|      0|        }
  963|      0|        else if (PyByteArray_Check(arg)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  964|      0|            if (PyByteArray_GET_SIZE(arg) != 1) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (964:17): [True: 0, False: 0]
  ------------------
  965|      0|                return convertcharerr("a byte string of length 1",
  966|      0|                                      "a bytearray object", PyByteArray_GET_SIZE(arg),
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  967|      0|                                      msgbuf, bufsize);
  968|      0|            }
  969|      0|            *p = PyByteArray_AS_STRING(arg)[0];
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      0|        }
  971|      0|        else
  972|      0|            return converterr("a byte string of length 1", arg, msgbuf, bufsize);
  973|      0|        break;
  974|      0|    }
  975|       |
  976|      0|    case 'C': {/* unicode char */
  ------------------
  |  Branch (976:5): [True: 0, False: 1.63M]
  ------------------
  977|      0|        int *p = va_arg(*p_va, int *);
  978|      0|        int kind;
  979|      0|        const void *data;
  980|       |
  981|      0|        if (!PyUnicode_Check(arg))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (981:13): [True: 0, False: 0]
  ------------------
  982|      0|            return converterr("a unicode character", arg, msgbuf, bufsize);
  983|       |
  984|      0|        if (PyUnicode_GET_LENGTH(arg) != 1) {
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (984:13): [True: 0, False: 0]
  ------------------
  985|      0|            return convertcharerr("a unicode character",
  986|      0|                                  "a string", PyUnicode_GET_LENGTH(arg),
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  987|      0|                                  msgbuf, bufsize);
  988|      0|        }
  989|       |
  990|      0|        kind = PyUnicode_KIND(arg);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  991|      0|        data = PyUnicode_DATA(arg);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|      0|        *p = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   (index))
  ------------------
  993|      0|        break;
  994|      0|    }
  995|       |
  996|    528|    case 'p': {/* boolean *p*redicate */
  ------------------
  |  Branch (996:5): [True: 528, False: 1.63M]
  ------------------
  997|    528|        int *p = va_arg(*p_va, int *);
  998|    528|        int val = PyObject_IsTrue(arg);
  999|    528|        if (val > 0)
  ------------------
  |  Branch (999:13): [True: 442, False: 86]
  ------------------
 1000|    442|            *p = 1;
 1001|     86|        else if (val == 0)
  ------------------
  |  Branch (1001:18): [True: 86, False: 0]
  ------------------
 1002|     86|            *p = 0;
 1003|      0|        else
 1004|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1005|    528|        break;
 1006|    528|    }
 1007|       |
 1008|       |    /* XXX WAAAAH!  's', 'y', 'z', 'u', 'Z', 'e', 'w' codes all
 1009|       |       need to be cleaned up! */
 1010|       |
 1011|    528|    case 'y': {/* any bytes-like object */
  ------------------
  |  Branch (1011:5): [True: 0, False: 1.63M]
  ------------------
 1012|      0|        void **p = (void **)va_arg(*p_va, char **);
 1013|      0|        const char *buf;
 1014|      0|        Py_ssize_t count;
 1015|      0|        if (*format == '*') {
  ------------------
  |  Branch (1015:13): [True: 0, False: 0]
  ------------------
 1016|      0|            if (getbuffer(arg, (Py_buffer*)p, &buf) < 0)
  ------------------
  |  Branch (1016:17): [True: 0, False: 0]
  ------------------
 1017|      0|                return converterr(buf, arg, msgbuf, bufsize);
 1018|      0|            format++;
 1019|      0|            if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1019:17): [True: 0, False: 0]
  ------------------
 1020|      0|                return converterr(
 1021|      0|                    "(cleanup problem)",
 1022|      0|                    arg, msgbuf, bufsize);
 1023|      0|            }
 1024|      0|            break;
 1025|      0|        }
 1026|      0|        count = convertbuffer(arg, (const void **)p, &buf);
 1027|      0|        if (count < 0)
  ------------------
  |  Branch (1027:13): [True: 0, False: 0]
  ------------------
 1028|      0|            return converterr(buf, arg, msgbuf, bufsize);
 1029|      0|        if (*format == '#') {
  ------------------
  |  Branch (1029:13): [True: 0, False: 0]
  ------------------
 1030|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1031|      0|            *psize = count;
 1032|      0|            format++;
 1033|      0|        } else {
 1034|      0|            if (strlen(*p) != (size_t)count) {
  ------------------
  |  Branch (1034:17): [True: 0, False: 0]
  ------------------
 1035|      0|                PyErr_SetString(PyExc_ValueError, "embedded null byte");
 1036|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1037|      0|            }
 1038|      0|        }
 1039|      0|        break;
 1040|      0|    }
 1041|       |
 1042|  3.93k|    case 's': /* text string or bytes-like object */
  ------------------
  |  Branch (1042:5): [True: 3.93k, False: 1.63M]
  ------------------
 1043|  3.93k|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1043:5): [True: 0, False: 1.63M]
  ------------------
 1044|  3.93k|    {
 1045|  3.93k|        if (*format == '*') {
  ------------------
  |  Branch (1045:13): [True: 0, False: 3.93k]
  ------------------
 1046|       |            /* "s*" or "z*" */
 1047|      0|            Py_buffer *p = (Py_buffer *)va_arg(*p_va, Py_buffer *);
 1048|       |
 1049|      0|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1049:17): [True: 0, False: 0]
  |  Branch (1049:29): [True: 0, False: 0]
  ------------------
 1050|      0|                PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0);
 1051|      0|            else if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|      0|                Py_ssize_t len;
 1053|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1054|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1054:21): [True: 0, False: 0]
  ------------------
 1055|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  700|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1056|      0|                                      arg, msgbuf, bufsize);
 1057|      0|                PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0);
 1058|      0|            }
 1059|      0|            else { /* any bytes-like object */
 1060|      0|                const char *buf;
 1061|      0|                if (getbuffer(arg, p, &buf) < 0)
  ------------------
  |  Branch (1061:21): [True: 0, False: 0]
  ------------------
 1062|      0|                    return converterr(buf, arg, msgbuf, bufsize);
 1063|      0|            }
 1064|      0|            if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1064:17): [True: 0, False: 0]
  ------------------
 1065|      0|                return converterr(
 1066|      0|                    "(cleanup problem)",
 1067|      0|                    arg, msgbuf, bufsize);
 1068|      0|            }
 1069|      0|            format++;
 1070|  3.93k|        } else if (*format == '#') { /* a string or read-only bytes-like object */
  ------------------
  |  Branch (1070:20): [True: 0, False: 3.93k]
  ------------------
 1071|       |            /* "s#" or "z#" */
 1072|      0|            const void **p = (const void **)va_arg(*p_va, const char **);
 1073|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1074|       |
 1075|      0|            if (c == 'z' && arg == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1075:17): [True: 0, False: 0]
  |  Branch (1075:29): [True: 0, False: 0]
  ------------------
 1076|      0|                *p = NULL;
 1077|      0|                *psize = 0;
 1078|      0|            }
 1079|      0|            else if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1080|      0|                Py_ssize_t len;
 1081|      0|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1082|      0|                if (sarg == NULL)
  ------------------
  |  Branch (1082:21): [True: 0, False: 0]
  ------------------
 1083|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  700|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1084|      0|                                      arg, msgbuf, bufsize);
 1085|      0|                *p = sarg;
 1086|      0|                *psize = len;
 1087|      0|            }
 1088|      0|            else { /* read-only bytes-like object */
 1089|       |                /* XXX Really? */
 1090|      0|                const char *buf;
 1091|      0|                Py_ssize_t count = convertbuffer(arg, p, &buf);
 1092|      0|                if (count < 0)
  ------------------
  |  Branch (1092:21): [True: 0, False: 0]
  ------------------
 1093|      0|                    return converterr(buf, arg, msgbuf, bufsize);
 1094|      0|                *psize = count;
 1095|      0|            }
 1096|      0|            format++;
 1097|  3.93k|        } else {
 1098|       |            /* "s" or "z" */
 1099|  3.93k|            const char **p = va_arg(*p_va, const char **);
 1100|  3.93k|            Py_ssize_t len;
 1101|  3.93k|            sarg = NULL;
 1102|       |
 1103|  3.93k|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1103:17): [True: 0, False: 3.93k]
  |  Branch (1103:29): [True: 0, False: 0]
  ------------------
 1104|      0|                *p = NULL;
 1105|  3.93k|            else if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  3.93k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.93k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.93k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|  3.93k|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1107|  3.93k|                if (sarg == NULL)
  ------------------
  |  Branch (1107:21): [True: 0, False: 3.93k]
  ------------------
 1108|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  700|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1109|      0|                                      arg, msgbuf, bufsize);
 1110|  3.93k|                if (strlen(sarg) != (size_t)len) {
  ------------------
  |  Branch (1110:21): [True: 0, False: 3.93k]
  ------------------
 1111|      0|                    PyErr_SetString(PyExc_ValueError, "embedded null character");
 1112|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1113|      0|                }
 1114|  3.93k|                *p = sarg;
 1115|  3.93k|            }
 1116|      0|            else
 1117|      0|                return converterr(c == 'z' ? "str or None" : "str",
  ------------------
  |  Branch (1117:35): [True: 0, False: 0]
  ------------------
 1118|      0|                                  arg, msgbuf, bufsize);
 1119|  3.93k|        }
 1120|  3.93k|        break;
 1121|  3.93k|    }
 1122|       |
 1123|  3.93k|    case 'e': {/* encoded string */
  ------------------
  |  Branch (1123:5): [True: 0, False: 1.63M]
  ------------------
 1124|      0|        char **buffer;
 1125|      0|        const char *encoding;
 1126|      0|        PyObject *s;
 1127|      0|        int recode_strings;
 1128|      0|        Py_ssize_t size;
 1129|      0|        const char *ptr;
 1130|       |
 1131|       |        /* Get 'e' parameter: the encoding name */
 1132|      0|        encoding = (const char *)va_arg(*p_va, const char *);
 1133|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1133:13): [True: 0, False: 0]
  ------------------
 1134|      0|            encoding = PyUnicode_GetDefaultEncoding();
 1135|       |
 1136|       |        /* Get output buffer parameter:
 1137|       |           's' (recode all objects via Unicode) or
 1138|       |           't' (only recode non-string objects)
 1139|       |        */
 1140|      0|        if (*format == 's')
  ------------------
  |  Branch (1140:13): [True: 0, False: 0]
  ------------------
 1141|      0|            recode_strings = 1;
 1142|      0|        else if (*format == 't')
  ------------------
  |  Branch (1142:18): [True: 0, False: 0]
  ------------------
 1143|      0|            recode_strings = 0;
 1144|      0|        else
 1145|      0|            return converterr(
 1146|      0|                "(unknown parser marker combination)",
 1147|      0|                arg, msgbuf, bufsize);
 1148|      0|        buffer = (char **)va_arg(*p_va, char **);
 1149|      0|        format++;
 1150|      0|        if (buffer == NULL)
  ------------------
  |  Branch (1150:13): [True: 0, False: 0]
  ------------------
 1151|      0|            return converterr("(buffer is NULL)",
 1152|      0|                              arg, msgbuf, bufsize);
 1153|       |
 1154|       |        /* Encode object */
 1155|      0|        if (!recode_strings &&
  ------------------
  |  Branch (1155:13): [True: 0, False: 0]
  ------------------
 1156|      0|            (PyBytes_Check(arg) || PyByteArray_Check(arg))) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (PyBytes_Check(arg) || PyByteArray_Check(arg))) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|      0|            s = Py_NewRef(arg);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|      0|            if (PyBytes_Check(arg)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1159|      0|                size = PyBytes_GET_SIZE(s);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|      0|                ptr = PyBytes_AS_STRING(s);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      0|            }
 1162|      0|            else {
 1163|      0|                size = PyByteArray_GET_SIZE(s);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1164|      0|                ptr = PyByteArray_AS_STRING(s);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      0|            }
 1166|      0|        }
 1167|      0|        else if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|       |            /* Encode object; use default error handling */
 1169|      0|            s = PyUnicode_AsEncodedString(arg,
 1170|      0|                                          encoding,
 1171|      0|                                          NULL);
 1172|      0|            if (s == NULL)
  ------------------
  |  Branch (1172:17): [True: 0, False: 0]
  ------------------
 1173|      0|                return converterr("(encoding failed)",
 1174|      0|                                  arg, msgbuf, bufsize);
 1175|      0|            assert(PyBytes_Check(s));
 1176|      0|            size = PyBytes_GET_SIZE(s);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      0|            ptr = PyBytes_AS_STRING(s);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1178|      0|            if (ptr == NULL)
  ------------------
  |  Branch (1178:17): [True: 0, False: 0]
  ------------------
 1179|      0|                ptr = "";
 1180|      0|        }
 1181|      0|        else {
 1182|      0|            return converterr(
 1183|      0|                recode_strings ? "str" : "str, bytes or bytearray",
  ------------------
  |  Branch (1183:17): [True: 0, False: 0]
  ------------------
 1184|      0|                arg, msgbuf, bufsize);
 1185|      0|        }
 1186|       |
 1187|       |        /* Write output; output is guaranteed to be 0-terminated */
 1188|      0|        if (*format == '#') {
  ------------------
  |  Branch (1188:13): [True: 0, False: 0]
  ------------------
 1189|       |            /* Using buffer length parameter '#':
 1190|       |
 1191|       |               - if *buffer is NULL, a new buffer of the
 1192|       |               needed size is allocated and the data
 1193|       |               copied into it; *buffer is updated to point
 1194|       |               to the new buffer; the caller is
 1195|       |               responsible for PyMem_Free()ing it after
 1196|       |               usage
 1197|       |
 1198|       |               - if *buffer is not NULL, the data is
 1199|       |               copied to *buffer; *buffer_len has to be
 1200|       |               set to the size of the buffer on input;
 1201|       |               buffer overflow is signalled with an error;
 1202|       |               buffer has to provide enough room for the
 1203|       |               encoded string plus the trailing 0-byte
 1204|       |
 1205|       |               - in both cases, *buffer_len is updated to
 1206|       |               the size of the buffer /excluding/ the
 1207|       |               trailing 0-byte
 1208|       |
 1209|       |            */
 1210|      0|            Py_ssize_t *psize = va_arg(*p_va, Py_ssize_t*);
 1211|       |
 1212|      0|            format++;
 1213|      0|            if (psize == NULL) {
  ------------------
  |  Branch (1213:17): [True: 0, False: 0]
  ------------------
 1214|      0|                Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1215|      0|                return converterr(
 1216|      0|                    "(buffer_len is NULL)",
 1217|      0|                    arg, msgbuf, bufsize);
 1218|      0|            }
 1219|      0|            if (*buffer == NULL) {
  ------------------
  |  Branch (1219:17): [True: 0, False: 0]
  ------------------
 1220|      0|                *buffer = PyMem_NEW(char, size + 1);
  ------------------
  |  |   82|      0|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
 1221|      0|                if (*buffer == NULL) {
  ------------------
  |  Branch (1221:21): [True: 0, False: 0]
  ------------------
 1222|      0|                    Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|      0|                    PyErr_NoMemory();
 1224|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1225|      0|                }
 1226|      0|                if (addcleanup(buffer, freelist, cleanup_ptr)) {
  ------------------
  |  Branch (1226:21): [True: 0, False: 0]
  ------------------
 1227|      0|                    Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|      0|                    return converterr(
 1229|      0|                        "(cleanup problem)",
 1230|      0|                        arg, msgbuf, bufsize);
 1231|      0|                }
 1232|      0|            } else {
 1233|      0|                if (size + 1 > *psize) {
  ------------------
  |  Branch (1233:21): [True: 0, False: 0]
  ------------------
 1234|      0|                    Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|      0|                    PyErr_Format(PyExc_ValueError,
 1236|      0|                                 "encoded string too long "
 1237|      0|                                 "(%zd, maximum length %zd)",
 1238|      0|                                 (Py_ssize_t)size, (Py_ssize_t)(*psize - 1));
 1239|      0|                    RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1240|      0|                }
 1241|      0|            }
 1242|      0|            memcpy(*buffer, ptr, size+1);
 1243|       |
 1244|      0|            *psize = size;
 1245|      0|        }
 1246|      0|        else {
 1247|       |            /* Using a 0-terminated buffer:
 1248|       |
 1249|       |               - the encoded string has to be 0-terminated
 1250|       |               for this variant to work; if it is not, an
 1251|       |               error raised
 1252|       |
 1253|       |               - a new buffer of the needed size is
 1254|       |               allocated and the data copied into it;
 1255|       |               *buffer is updated to point to the new
 1256|       |               buffer; the caller is responsible for
 1257|       |               PyMem_Free()ing it after usage
 1258|       |
 1259|       |            */
 1260|      0|            if ((Py_ssize_t)strlen(ptr) != size) {
  ------------------
  |  Branch (1260:17): [True: 0, False: 0]
  ------------------
 1261|      0|                Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|      0|                return converterr(
 1263|      0|                    "encoded string without null bytes",
 1264|      0|                    arg, msgbuf, bufsize);
 1265|      0|            }
 1266|      0|            *buffer = PyMem_NEW(char, size + 1);
  ------------------
  |  |   82|      0|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
 1267|      0|            if (*buffer == NULL) {
  ------------------
  |  Branch (1267:17): [True: 0, False: 0]
  ------------------
 1268|      0|                Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|      0|                PyErr_NoMemory();
 1270|      0|                RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
 1271|      0|            }
 1272|      0|            if (addcleanup(buffer, freelist, cleanup_ptr)) {
  ------------------
  |  Branch (1272:17): [True: 0, False: 0]
  ------------------
 1273|      0|                Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|      0|                return converterr("(cleanup problem)",
 1275|      0|                                arg, msgbuf, bufsize);
 1276|      0|            }
 1277|      0|            memcpy(*buffer, ptr, size+1);
 1278|      0|        }
 1279|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|        break;
 1281|      0|    }
 1282|       |
 1283|      0|    case 'S': { /* PyBytes object */
  ------------------
  |  Branch (1283:5): [True: 0, False: 1.63M]
  ------------------
 1284|      0|        PyObject **p = va_arg(*p_va, PyObject **);
 1285|      0|        if (PyBytes_Check(arg))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|      0|            *p = arg;
 1287|      0|        else
 1288|      0|            return converterr("bytes", arg, msgbuf, bufsize);
 1289|      0|        break;
 1290|      0|    }
 1291|       |
 1292|      0|    case 'Y': { /* PyByteArray object */
  ------------------
  |  Branch (1292:5): [True: 0, False: 1.63M]
  ------------------
 1293|      0|        PyObject **p = va_arg(*p_va, PyObject **);
 1294|      0|        if (PyByteArray_Check(arg))
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|      0|            *p = arg;
 1296|      0|        else
 1297|      0|            return converterr("bytearray", arg, msgbuf, bufsize);
 1298|      0|        break;
 1299|      0|    }
 1300|       |
 1301|  17.2k|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1301:5): [True: 17.2k, False: 1.62M]
  ------------------
 1302|  17.2k|        PyObject **p = va_arg(*p_va, PyObject **);
 1303|  17.2k|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  17.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|  17.2k|            *p = arg;
 1305|  17.2k|        }
 1306|      0|        else
 1307|      0|            return converterr("str", arg, msgbuf, bufsize);
 1308|  17.2k|        break;
 1309|  17.2k|    }
 1310|       |
 1311|   339k|    case 'O': { /* object */
  ------------------
  |  Branch (1311:5): [True: 339k, False: 1.29M]
  ------------------
 1312|   339k|        PyTypeObject *type;
 1313|   339k|        PyObject **p;
 1314|   339k|        if (*format == '!') {
  ------------------
  |  Branch (1314:13): [True: 2.50k, False: 336k]
  ------------------
 1315|  2.50k|            type = va_arg(*p_va, PyTypeObject*);
 1316|  2.50k|            p = va_arg(*p_va, PyObject **);
 1317|  2.50k|            format++;
 1318|  2.50k|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  213|  2.50k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1318:17): [True: 2.50k, False: 0]
  ------------------
 1319|  2.50k|                *p = arg;
 1320|      0|            else
 1321|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1322|       |
 1323|  2.50k|        }
 1324|   336k|        else if (*format == '&') {
  ------------------
  |  Branch (1324:18): [True: 0, False: 336k]
  ------------------
 1325|      0|            typedef int (*converter)(PyObject *, void *);
 1326|      0|            converter convert = va_arg(*p_va, converter);
 1327|      0|            void *addr = va_arg(*p_va, void *);
 1328|      0|            int res;
 1329|      0|            format++;
 1330|      0|            if (! (res = (*convert)(arg, addr)))
  ------------------
  |  Branch (1330:17): [True: 0, False: 0]
  ------------------
 1331|      0|                return converterr("(unspecified)",
 1332|      0|                                  arg, msgbuf, bufsize);
 1333|      0|            if (res == Py_CLEANUP_SUPPORTED &&
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
  |  Branch (1333:17): [True: 0, False: 0]
  ------------------
 1334|      0|                addcleanup(addr, freelist, convert) == -1)
  ------------------
  |  Branch (1334:17): [True: 0, False: 0]
  ------------------
 1335|      0|                return converterr("(cleanup problem)",
 1336|      0|                                arg, msgbuf, bufsize);
 1337|      0|        }
 1338|   336k|        else {
 1339|   336k|            p = va_arg(*p_va, PyObject **);
 1340|   336k|            *p = arg;
 1341|   336k|        }
 1342|   339k|        break;
 1343|   339k|    }
 1344|       |
 1345|       |
 1346|   339k|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1346:5): [True: 0, False: 1.63M]
  ------------------
 1347|      0|        void **p = va_arg(*p_va, void **);
 1348|       |
 1349|      0|        if (*format != '*')
  ------------------
  |  Branch (1349:13): [True: 0, False: 0]
  ------------------
 1350|      0|            return converterr(
 1351|      0|                "(invalid use of 'w' format character)",
 1352|      0|                arg, msgbuf, bufsize);
 1353|      0|        format++;
 1354|       |
 1355|       |        /* Caller is interested in Py_buffer, and the object supports it
 1356|       |           directly. The request implicitly asks for PyBUF_SIMPLE, so the
 1357|       |           result is C-contiguous with format 'B'. */
 1358|      0|        if (PyObject_GetBuffer(arg, (Py_buffer*)p, PyBUF_WRITABLE) < 0) {
  ------------------
  |  |  109|      0|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (1358:13): [True: 0, False: 0]
  ------------------
 1359|      0|            PyErr_Clear();
 1360|      0|            return converterr("read-write bytes-like object",
 1361|      0|                              arg, msgbuf, bufsize);
 1362|      0|        }
 1363|      0|        assert(PyBuffer_IsContiguous((Py_buffer *)p, 'C'));
 1364|      0|        if (addcleanup(p, freelist, cleanup_buffer)) {
  ------------------
  |  Branch (1364:13): [True: 0, False: 0]
  ------------------
 1365|      0|            return converterr(
 1366|      0|                "(cleanup problem)",
 1367|      0|                arg, msgbuf, bufsize);
 1368|      0|        }
 1369|      0|        break;
 1370|      0|    }
 1371|       |
 1372|      0|    default:
  ------------------
  |  Branch (1372:5): [True: 0, False: 1.63M]
  ------------------
 1373|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1374|       |
 1375|  1.63M|    }
 1376|       |
 1377|  1.63M|    *p_format = format;
 1378|  1.63M|    return NULL;
 1379|       |
 1380|  1.63M|#undef RETURN_ERR_OCCURRED
 1381|  1.63M|}
getargs.c:vgetargs1:
  414|  1.33M|{
  415|  1.33M|    PyObject **stack;
  416|  1.33M|    Py_ssize_t nargs;
  417|       |
  418|  1.33M|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|  1.33M|#define FLAG_COMPAT 1
  ------------------
  |  Branch (418:9): [True: 65.5k, False: 1.26M]
  ------------------
  419|  65.5k|        assert(args != NULL);
  420|       |
  421|  65.5k|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  65.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  65.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:13): [True: 0, False: 65.5k]
  ------------------
  422|      0|            PyErr_SetString(PyExc_SystemError,
  423|      0|                "new style getargs format but argument is not a tuple");
  424|      0|            return 0;
  425|      0|        }
  426|       |
  427|  65.5k|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  65.5k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  65.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  428|  65.5k|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  65.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|  65.5k|    }
  430|  1.26M|    else {
  431|  1.26M|        stack = NULL;
  432|  1.26M|        nargs = 0;
  433|  1.26M|    }
  434|       |
  435|  1.33M|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  436|  1.33M|}
getargs.c:vgetargskeywords_impl:
 1677|  1.28M|{
 1678|  1.28M|    char msgbuf[512];
 1679|  1.28M|    int levels[32];
 1680|  1.28M|    const char *fname, *msg, *custom_msg;
 1681|  1.28M|    int min = INT_MAX;
 1682|  1.28M|    int max = INT_MAX;
 1683|  1.28M|    int i, pos, len;
 1684|  1.28M|    int skip = 0;
 1685|  1.28M|    Py_ssize_t nkwargs;
 1686|  1.28M|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1687|  1.28M|    freelist_t freelist;
 1688|  1.28M|    PyObject * const *kwstack = NULL;
 1689|       |
 1690|  1.28M|    freelist.entries = static_entries;
 1691|  1.28M|    freelist.first_available = 0;
 1692|  1.28M|    freelist.entries_malloced = 0;
 1693|       |
 1694|  1.28M|    assert(args != NULL || nargs == 0);
 1695|  1.28M|    assert(kwargs == NULL || PyDict_Check(kwargs));
 1696|  1.28M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
 1697|  1.28M|    assert(format != NULL);
 1698|  1.28M|    assert(kwlist != NULL);
 1699|  1.28M|    assert(p_va != NULL);
 1700|       |
 1701|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1702|  1.28M|    fname = strchr(format, ':');
 1703|  1.28M|    if (fname) {
  ------------------
  |  Branch (1703:9): [True: 1.28M, False: 0]
  ------------------
 1704|  1.28M|        fname++;
 1705|  1.28M|        custom_msg = NULL;
 1706|  1.28M|    }
 1707|      0|    else {
 1708|      0|        custom_msg = strchr(format,';');
 1709|      0|        if (custom_msg)
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            custom_msg++;
 1711|      0|    }
 1712|       |
 1713|       |    /* scan kwlist and count the number of positional-only parameters */
 1714|  1.28M|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1714:19): [True: 1.28M, False: 0]
  |  Branch (1714:34): [True: 8, False: 1.28M]
  ------------------
 1715|      8|    }
 1716|       |    /* scan kwlist and get greatest possible nbr of args */
 1717|  3.85M|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1717:21): [True: 2.56M, False: 1.28M]
  ------------------
 1718|  2.56M|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1718:13): [True: 0, False: 2.56M]
  ------------------
 1719|      0|            PyErr_SetString(PyExc_SystemError,
 1720|      0|                            "Empty keyword parameter name");
 1721|      0|            return cleanreturn(0, &freelist);
 1722|      0|        }
 1723|  2.56M|    }
 1724|       |
 1725|  1.28M|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  1.28M|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1725:9): [True: 2, False: 1.28M]
  ------------------
 1726|      2|        freelist.entries = PyMem_NEW(freelistentry_t, len);
  ------------------
  |  |   82|      2|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      2|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   65|      2|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
 1727|      2|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (1727:13): [True: 0, False: 2]
  ------------------
 1728|      0|            PyErr_NoMemory();
 1729|      0|            return 0;
 1730|      0|        }
 1731|      2|        freelist.entries_malloced = 1;
 1732|      2|    }
 1733|       |
 1734|  1.28M|    if (kwargs != NULL) {
  ------------------
  |  Branch (1734:9): [True: 540, False: 1.28M]
  ------------------
 1735|    540|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|    540|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    540|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|    540|    }
 1737|  1.28M|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1737:14): [True: 0, False: 1.28M]
  ------------------
 1738|      0|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1739|      0|        kwstack = args + nargs;
 1740|      0|    }
 1741|  1.28M|    else {
 1742|  1.28M|        nkwargs = 0;
 1743|  1.28M|    }
 1744|  1.28M|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1744:9): [True: 0, False: 1.28M]
  ------------------
 1745|       |        /* Adding "keyword" (when nargs == 0) prevents producing wrong error
 1746|       |           messages in some special cases (see bpo-31229). */
 1747|      0|        PyErr_Format(PyExc_TypeError,
 1748|      0|                     "%.200s%s takes at most %d %sargument%s (%zd given)",
 1749|      0|                     (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1749:22): [True: 0, False: 0]
  ------------------
 1750|      0|                     (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1750:22): [True: 0, False: 0]
  ------------------
 1751|      0|                     len,
 1752|      0|                     (nargs == 0) ? "keyword " : "",
  ------------------
  |  Branch (1752:22): [True: 0, False: 0]
  ------------------
 1753|      0|                     (len == 1) ? "" : "s",
  ------------------
  |  Branch (1753:22): [True: 0, False: 0]
  ------------------
 1754|      0|                     nargs + nkwargs);
 1755|      0|        return cleanreturn(0, &freelist);
 1756|      0|    }
 1757|       |
 1758|       |    /* convert tuple args and keyword args in same loop, using kwlist to drive process */
 1759|  1.28M|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1759:17): [True: 1.28M, False: 540]
  ------------------
 1760|  1.28M|        if (*format == '|') {
  ------------------
  |  Branch (1760:13): [True: 1.28M, False: 564]
  ------------------
 1761|  1.28M|            if (min != INT_MAX) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 1.28M]
  ------------------
 1762|      0|                PyErr_SetString(PyExc_SystemError,
 1763|      0|                                "Invalid format string (| specified twice)");
 1764|      0|                return cleanreturn(0, &freelist);
 1765|      0|            }
 1766|       |
 1767|  1.28M|            min = i;
 1768|  1.28M|            format++;
 1769|       |
 1770|  1.28M|            if (max != INT_MAX) {
  ------------------
  |  Branch (1770:17): [True: 0, False: 1.28M]
  ------------------
 1771|      0|                PyErr_SetString(PyExc_SystemError,
 1772|      0|                                "Invalid format string ($ before |)");
 1773|      0|                return cleanreturn(0, &freelist);
 1774|      0|            }
 1775|  1.28M|        }
 1776|  1.28M|        if (*format == '$') {
  ------------------
  |  Branch (1776:13): [True: 1.28M, False: 568]
  ------------------
 1777|  1.28M|            if (max != INT_MAX) {
  ------------------
  |  Branch (1777:17): [True: 0, False: 1.28M]
  ------------------
 1778|      0|                PyErr_SetString(PyExc_SystemError,
 1779|      0|                                "Invalid format string ($ specified twice)");
 1780|      0|                return cleanreturn(0, &freelist);
 1781|      0|            }
 1782|       |
 1783|  1.28M|            max = i;
 1784|  1.28M|            format++;
 1785|       |
 1786|  1.28M|            if (max < pos) {
  ------------------
  |  Branch (1786:17): [True: 0, False: 1.28M]
  ------------------
 1787|      0|                PyErr_SetString(PyExc_SystemError,
 1788|      0|                                "Empty parameter name after $");
 1789|      0|                return cleanreturn(0, &freelist);
 1790|      0|            }
 1791|  1.28M|            if (skip) {
  ------------------
  |  Branch (1791:17): [True: 0, False: 1.28M]
  ------------------
 1792|       |                /* Now we know the minimal and the maximal numbers of
 1793|       |                 * positional arguments and can raise an exception with
 1794|       |                 * informative message (see below). */
 1795|      0|                break;
 1796|      0|            }
 1797|  1.28M|            if (max < nargs) {
  ------------------
  |  Branch (1797:17): [True: 0, False: 1.28M]
  ------------------
 1798|      0|                if (max == 0) {
  ------------------
  |  Branch (1798:21): [True: 0, False: 0]
  ------------------
 1799|      0|                    PyErr_Format(PyExc_TypeError,
 1800|      0|                                 "%.200s%s takes no positional arguments",
 1801|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1801:34): [True: 0, False: 0]
  ------------------
 1802|      0|                                 (fname == NULL) ? "" : "()");
  ------------------
  |  Branch (1802:34): [True: 0, False: 0]
  ------------------
 1803|      0|                }
 1804|      0|                else {
 1805|      0|                    PyErr_Format(PyExc_TypeError,
 1806|      0|                                 "%.200s%s takes %s %d positional argument%s"
 1807|      0|                                 " (%zd given)",
 1808|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1808:34): [True: 0, False: 0]
  ------------------
 1809|      0|                                 (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1809:34): [True: 0, False: 0]
  ------------------
 1810|      0|                                 (min != INT_MAX) ? "at most" : "exactly",
  ------------------
  |  Branch (1810:34): [True: 0, False: 0]
  ------------------
 1811|      0|                                 max,
 1812|      0|                                 max == 1 ? "" : "s",
  ------------------
  |  Branch (1812:34): [True: 0, False: 0]
  ------------------
 1813|      0|                                 nargs);
 1814|      0|                }
 1815|      0|                return cleanreturn(0, &freelist);
 1816|      0|            }
 1817|  1.28M|        }
 1818|  1.28M|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1670|  1.28M|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 1.28M]
  |  |  |  Branch (1670:43): [True: 0, False: 1.28M]
  |  |  |  Branch (1670:55): [True: 0, False: 1.28M]
  |  |  ------------------
  ------------------
 1819|      0|            PyErr_Format(PyExc_SystemError,
 1820|      0|                         "More keyword list entries (%d) than "
 1821|      0|                         "format specifiers (%d)", len, i);
 1822|      0|            return cleanreturn(0, &freelist);
 1823|      0|        }
 1824|  1.28M|        if (!skip) {
  ------------------
  |  Branch (1824:13): [True: 1.28M, False: 0]
  ------------------
 1825|  1.28M|            PyObject *current_arg;
 1826|  1.28M|            if (i < nargs) {
  ------------------
  |  Branch (1826:17): [True: 392, False: 1.28M]
  ------------------
 1827|    392|                current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  550|    392|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    392|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|    392|            }
 1829|  1.28M|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1829:22): [True: 616, False: 1.28M]
  |  Branch (1829:33): [True: 616, False: 0]
  ------------------
 1830|    616|                if (kwargs != NULL) {
  ------------------
  |  Branch (1830:21): [True: 616, False: 0]
  ------------------
 1831|    616|                    if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1831:25): [True: 0, False: 616]
  ------------------
 1832|      0|                        return cleanreturn(0, &freelist);
 1833|      0|                    }
 1834|    616|                }
 1835|      0|                else {
 1836|      0|                    current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1837|      0|                }
 1838|    616|                if (current_arg) {
  ------------------
  |  Branch (1838:21): [True: 548, False: 68]
  ------------------
 1839|    548|                    --nkwargs;
 1840|    548|                }
 1841|    616|            }
 1842|  1.28M|            else {
 1843|  1.28M|                current_arg = NULL;
 1844|  1.28M|            }
 1845|       |
 1846|  1.28M|            if (current_arg) {
  ------------------
  |  Branch (1846:17): [True: 940, False: 1.28M]
  ------------------
 1847|    940|                msg = convertitem(current_arg, &format, p_va, flags,
 1848|    940|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1849|    940|                Py_DECREF(current_arg);
  ------------------
  |  |  430|    940|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    940|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    940|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|    940|                if (msg) {
  ------------------
  |  Branch (1850:21): [True: 0, False: 940]
  ------------------
 1851|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1852|      0|                    return cleanreturn(0, &freelist);
 1853|      0|                }
 1854|    940|                continue;
 1855|    940|            }
 1856|       |
 1857|  1.28M|            if (i < min) {
  ------------------
  |  Branch (1857:17): [True: 0, False: 1.28M]
  ------------------
 1858|      0|                if (i < pos) {
  ------------------
  |  Branch (1858:21): [True: 0, False: 0]
  ------------------
 1859|      0|                    assert (min == INT_MAX);
 1860|      0|                    assert (max == INT_MAX);
 1861|      0|                    skip = 1;
 1862|       |                    /* At that moment we still don't know the minimal and
 1863|       |                     * the maximal numbers of positional arguments.  Raising
 1864|       |                     * an exception is deferred until we encounter | and $
 1865|       |                     * or the end of the format. */
 1866|      0|                }
 1867|      0|                else {
 1868|      0|                    PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 1869|      0|                                 "argument '%s' (pos %d)",
 1870|      0|                                 (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1870:34): [True: 0, False: 0]
  ------------------
 1871|      0|                                 (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1871:34): [True: 0, False: 0]
  ------------------
 1872|      0|                                 kwlist[i], i+1);
 1873|      0|                    return cleanreturn(0, &freelist);
 1874|      0|                }
 1875|      0|            }
 1876|       |            /* current code reports success when all required args
 1877|       |             * fulfilled and no keyword args left, with no further
 1878|       |             * validation. XXX Maybe skip this in debug build ?
 1879|       |             */
 1880|  1.28M|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1880:17): [True: 1.28M, False: 68]
  |  Branch (1880:29): [True: 1.28M, False: 0]
  ------------------
 1881|  1.28M|                return cleanreturn(1, &freelist);
 1882|  1.28M|            }
 1883|  1.28M|        }
 1884|       |
 1885|       |        /* We are into optional args, skip through to any remaining
 1886|       |         * keyword args */
 1887|     68|        msg = skipitem(&format, p_va, flags);
 1888|     68|        if (msg) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 68]
  ------------------
 1889|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1890|      0|                         format);
 1891|      0|            return cleanreturn(0, &freelist);
 1892|      0|        }
 1893|     68|    }
 1894|       |
 1895|    540|    if (skip) {
  ------------------
  |  Branch (1895:9): [True: 0, False: 540]
  ------------------
 1896|      0|        PyErr_Format(PyExc_TypeError,
 1897|      0|                     "%.200s%s takes %s %d positional argument%s"
 1898|      0|                     " (%zd given)",
 1899|      0|                     (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1899:22): [True: 0, False: 0]
  ------------------
 1900|      0|                     (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1900:22): [True: 0, False: 0]
  ------------------
 1901|      0|                     (Py_MIN(pos, min) < i) ? "at least" : "exactly",
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1901:22): [True: 0, False: 0]
  ------------------
 1902|      0|                     Py_MIN(pos, min),
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1903|      0|                     Py_MIN(pos, min) == 1 ? "" : "s",
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1903:22): [True: 0, False: 0]
  ------------------
 1904|      0|                     nargs);
 1905|      0|        return cleanreturn(0, &freelist);
 1906|      0|    }
 1907|       |
 1908|    540|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1670|  1.08k|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 540]
  |  |  |  Branch (1670:43): [True: 0, False: 540]
  |  |  |  Branch (1670:55): [True: 540, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1908:39): [True: 0, False: 0]
  |  Branch (1908:59): [True: 0, False: 0]
  ------------------
 1909|      0|        PyErr_Format(PyExc_SystemError,
 1910|      0|            "more argument specifiers than keyword list entries "
 1911|      0|            "(remaining format:'%s')", format);
 1912|      0|        return cleanreturn(0, &freelist);
 1913|      0|    }
 1914|       |
 1915|    540|    if (nkwargs > 0) {
  ------------------
  |  Branch (1915:9): [True: 0, False: 540]
  ------------------
 1916|      0|        PyObject *key;
 1917|      0|        Py_ssize_t j;
 1918|       |        /* make sure there are no arguments given by name and position */
 1919|      0|        for (i = pos; i < nargs; i++) {
  ------------------
  |  Branch (1919:23): [True: 0, False: 0]
  ------------------
 1920|      0|            PyObject *current_arg;
 1921|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1921:17): [True: 0, False: 0]
  ------------------
 1922|      0|                if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1922:21): [True: 0, False: 0]
  ------------------
 1923|      0|                    return cleanreturn(0, &freelist);
 1924|      0|                }
 1925|      0|            }
 1926|      0|            else {
 1927|      0|                current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1928|      0|            }
 1929|      0|            if (current_arg) {
  ------------------
  |  Branch (1929:17): [True: 0, False: 0]
  ------------------
 1930|      0|                Py_DECREF(current_arg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|       |                /* arg present in tuple and in dict */
 1932|      0|                PyErr_Format(PyExc_TypeError,
 1933|      0|                             "argument for %.200s%s given by name ('%s') "
 1934|      0|                             "and position (%d)",
 1935|      0|                             (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1935:30): [True: 0, False: 0]
  ------------------
 1936|      0|                             (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1936:30): [True: 0, False: 0]
  ------------------
 1937|      0|                             kwlist[i], i+1);
 1938|      0|                return cleanreturn(0, &freelist);
 1939|      0|            }
 1940|      0|        }
 1941|       |        /* make sure there are no extraneous keyword arguments */
 1942|      0|        j = 0;
 1943|      0|        while (1) {
  ------------------
  |  Branch (1943:16): [True: 0, Folded]
  ------------------
 1944|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                if (!PyDict_Next(kwargs, &j, &key, NULL)) {
  ------------------
  |  Branch (1945:21): [True: 0, False: 0]
  ------------------
 1946|      0|                    break;
 1947|      0|                }
 1948|      0|            }
 1949|      0|            else {
 1950|      0|                if (j >= nkwargs) {
  ------------------
  |  Branch (1950:21): [True: 0, False: 0]
  ------------------
 1951|      0|                    break;
 1952|      0|                }
 1953|      0|                key = PyTuple_GET_ITEM(kwnames, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|      0|                j++;
 1955|      0|            }
 1956|       |
 1957|      0|            int match = 0;
 1958|      0|            if (!PyUnicode_Check(key)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1958:17): [True: 0, False: 0]
  ------------------
 1959|      0|                PyErr_SetString(PyExc_TypeError,
 1960|      0|                                "keywords must be strings");
 1961|      0|                return cleanreturn(0, &freelist);
 1962|      0|            }
 1963|      0|            for (i = pos; i < len; i++) {
  ------------------
  |  Branch (1963:27): [True: 0, False: 0]
  ------------------
 1964|      0|                if (PyUnicode_EqualToUTF8(key, kwlist[i])) {
  ------------------
  |  Branch (1964:21): [True: 0, False: 0]
  ------------------
 1965|      0|                    match = 1;
 1966|      0|                    break;
 1967|      0|                }
 1968|      0|            }
 1969|      0|            if (!match) {
  ------------------
  |  Branch (1969:17): [True: 0, False: 0]
  ------------------
 1970|      0|                PyObject *_pykwtuple = new_kwtuple(kwlist, len, pos);
 1971|      0|                if (!_pykwtuple) {
  ------------------
  |  Branch (1971:21): [True: 0, False: 0]
  ------------------
 1972|      0|                    return cleanreturn(0, &freelist);
 1973|      0|                }
 1974|      0|                PyObject *pykwlist = PySequence_List(_pykwtuple);
 1975|      0|                Py_DECREF(_pykwtuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1976|      0|                if (!pykwlist) {
  ------------------
  |  Branch (1976:21): [True: 0, False: 0]
  ------------------
 1977|      0|                    return cleanreturn(0, &freelist);
 1978|      0|                }
 1979|      0|                PyObject *suggestion_keyword = _Py_CalculateSuggestions(pykwlist, key);
 1980|      0|                Py_DECREF(pykwlist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|       |
 1982|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1982:21): [True: 0, False: 0]
  ------------------
 1983|      0|                    PyErr_Format(PyExc_TypeError,
 1984|      0|                                "%.200s%s got an unexpected keyword argument '%S'."
 1985|      0|                                " Did you mean '%S'?",
 1986|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1986:33): [True: 0, False: 0]
  ------------------
 1987|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1987:33): [True: 0, False: 0]
  ------------------
 1988|      0|                                key,
 1989|      0|                                suggestion_keyword);
 1990|      0|                    Py_DECREF(suggestion_keyword);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1991|      0|                }
 1992|      0|                else {
 1993|      0|                    PyErr_Format(PyExc_TypeError,
 1994|      0|                                "%.200s%s got an unexpected keyword argument '%S'",
 1995|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1995:33): [True: 0, False: 0]
  ------------------
 1996|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1996:33): [True: 0, False: 0]
  ------------------
 1997|      0|                                key);
 1998|      0|                }
 1999|      0|                return cleanreturn(0, &freelist);
 2000|      0|            }
 2001|      0|        }
 2002|       |        /* Something wrong happened. There are extraneous keyword arguments,
 2003|       |         * but we don't know what. And we don't bother. */
 2004|      0|        PyErr_Format(PyExc_TypeError,
 2005|      0|                     "invalid keyword argument for %.200s%s",
 2006|      0|                     (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (2006:22): [True: 0, False: 0]
  ------------------
 2007|      0|                     (fname == NULL) ? "" : "()");
  ------------------
  |  Branch (2007:22): [True: 0, False: 0]
  ------------------
 2008|      0|        return cleanreturn(0, &freelist);
 2009|      0|    }
 2010|       |
 2011|    540|    return cleanreturn(1, &freelist);
 2012|    540|}
getargs.c:skipitem:
 2699|    136|{
 2700|    136|    const char *format = *p_format;
 2701|    136|    char c = *format++;
 2702|       |
 2703|    136|    switch (c) {
 2704|       |
 2705|       |    /*
 2706|       |     * codes that take a single data pointer as an argument
 2707|       |     * (the type of the pointer is irrelevant)
 2708|       |     */
 2709|       |
 2710|      0|    case 'b': /* byte -- very short int */
  ------------------
  |  Branch (2710:5): [True: 0, False: 136]
  ------------------
 2711|      0|    case 'B': /* byte as bitfield */
  ------------------
  |  Branch (2711:5): [True: 0, False: 136]
  ------------------
 2712|      0|    case 'h': /* short int */
  ------------------
  |  Branch (2712:5): [True: 0, False: 136]
  ------------------
 2713|      0|    case 'H': /* short int as bitfield */
  ------------------
  |  Branch (2713:5): [True: 0, False: 136]
  ------------------
 2714|      0|    case 'i': /* int */
  ------------------
  |  Branch (2714:5): [True: 0, False: 136]
  ------------------
 2715|      0|    case 'I': /* int sized bitfield */
  ------------------
  |  Branch (2715:5): [True: 0, False: 136]
  ------------------
 2716|      0|    case 'l': /* long int */
  ------------------
  |  Branch (2716:5): [True: 0, False: 136]
  ------------------
 2717|      0|    case 'k': /* long int sized bitfield */
  ------------------
  |  Branch (2717:5): [True: 0, False: 136]
  ------------------
 2718|      0|    case 'L': /* long long */
  ------------------
  |  Branch (2718:5): [True: 0, False: 136]
  ------------------
 2719|      0|    case 'K': /* long long sized bitfield */
  ------------------
  |  Branch (2719:5): [True: 0, False: 136]
  ------------------
 2720|      0|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (2720:5): [True: 0, False: 136]
  ------------------
 2721|      0|    case 'f': /* float */
  ------------------
  |  Branch (2721:5): [True: 0, False: 136]
  ------------------
 2722|      0|    case 'd': /* double */
  ------------------
  |  Branch (2722:5): [True: 0, False: 136]
  ------------------
 2723|      0|    case 'D': /* complex double */
  ------------------
  |  Branch (2723:5): [True: 0, False: 136]
  ------------------
 2724|      0|    case 'c': /* char */
  ------------------
  |  Branch (2724:5): [True: 0, False: 136]
  ------------------
 2725|      0|    case 'C': /* unicode char */
  ------------------
  |  Branch (2725:5): [True: 0, False: 136]
  ------------------
 2726|      0|    case 'p': /* boolean predicate */
  ------------------
  |  Branch (2726:5): [True: 0, False: 136]
  ------------------
 2727|      0|    case 'S': /* string object */
  ------------------
  |  Branch (2727:5): [True: 0, False: 136]
  ------------------
 2728|      0|    case 'Y': /* string object */
  ------------------
  |  Branch (2728:5): [True: 0, False: 136]
  ------------------
 2729|      0|    case 'U': /* unicode string object */
  ------------------
  |  Branch (2729:5): [True: 0, False: 136]
  ------------------
 2730|      0|        {
 2731|      0|            if (p_va != NULL) {
  ------------------
  |  Branch (2731:17): [True: 0, False: 0]
  ------------------
 2732|      0|                (void) va_arg(*p_va, void *);
 2733|      0|            }
 2734|      0|            break;
 2735|      0|        }
 2736|       |
 2737|       |    /* string codes */
 2738|       |
 2739|      0|    case 'e': /* string with encoding */
  ------------------
  |  Branch (2739:5): [True: 0, False: 136]
  ------------------
 2740|      0|        {
 2741|      0|            if (p_va != NULL) {
  ------------------
  |  Branch (2741:17): [True: 0, False: 0]
  ------------------
 2742|      0|                (void) va_arg(*p_va, const char *);
 2743|      0|            }
 2744|      0|            if (!(*format == 's' || *format == 't'))
  ------------------
  |  Branch (2744:19): [True: 0, False: 0]
  |  Branch (2744:37): [True: 0, False: 0]
  ------------------
 2745|       |                /* after 'e', only 's' and 't' is allowed */
 2746|      0|                goto err;
 2747|      0|            format++;
 2748|      0|        }
 2749|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2750|       |
 2751|      0|    case 's': /* string */
  ------------------
  |  Branch (2751:5): [True: 0, False: 136]
  ------------------
 2752|      0|    case 'z': /* string or None */
  ------------------
  |  Branch (2752:5): [True: 0, False: 136]
  ------------------
 2753|      0|    case 'y': /* bytes */
  ------------------
  |  Branch (2753:5): [True: 0, False: 136]
  ------------------
 2754|      0|    case 'w': /* buffer, read-write */
  ------------------
  |  Branch (2754:5): [True: 0, False: 136]
  ------------------
 2755|      0|        {
 2756|      0|            if (p_va != NULL) {
  ------------------
  |  Branch (2756:17): [True: 0, False: 0]
  ------------------
 2757|      0|                (void) va_arg(*p_va, char **);
 2758|      0|            }
 2759|      0|            if (c == 'w' && *format != '*')
  ------------------
  |  Branch (2759:17): [True: 0, False: 0]
  |  Branch (2759:29): [True: 0, False: 0]
  ------------------
 2760|      0|            {
 2761|       |                /* after 'w', only '*' is allowed */
 2762|      0|                goto err;
 2763|      0|            }
 2764|      0|            if (*format == '#') {
  ------------------
  |  Branch (2764:17): [True: 0, False: 0]
  ------------------
 2765|      0|                if (p_va != NULL) {
  ------------------
  |  Branch (2765:21): [True: 0, False: 0]
  ------------------
 2766|      0|                    (void) va_arg(*p_va, Py_ssize_t *);
 2767|      0|                }
 2768|      0|                format++;
 2769|      0|            } else if ((c == 's' || c == 'z' || c == 'y' || c == 'w')
  ------------------
  |  Branch (2769:25): [True: 0, False: 0]
  |  Branch (2769:37): [True: 0, False: 0]
  |  Branch (2769:49): [True: 0, False: 0]
  |  Branch (2769:61): [True: 0, False: 0]
  ------------------
 2770|      0|                       && *format == '*')
  ------------------
  |  Branch (2770:27): [True: 0, False: 0]
  ------------------
 2771|      0|            {
 2772|      0|                format++;
 2773|      0|            }
 2774|      0|            break;
 2775|      0|        }
 2776|       |
 2777|    136|    case 'O': /* object */
  ------------------
  |  Branch (2777:5): [True: 136, False: 0]
  ------------------
 2778|    136|        {
 2779|    136|            if (*format == '!') {
  ------------------
  |  Branch (2779:17): [True: 0, False: 136]
  ------------------
 2780|      0|                format++;
 2781|      0|                if (p_va != NULL) {
  ------------------
  |  Branch (2781:21): [True: 0, False: 0]
  ------------------
 2782|      0|                    (void) va_arg(*p_va, PyTypeObject*);
 2783|      0|                    (void) va_arg(*p_va, PyObject **);
 2784|      0|                }
 2785|      0|            }
 2786|    136|            else if (*format == '&') {
  ------------------
  |  Branch (2786:22): [True: 0, False: 136]
  ------------------
 2787|      0|                typedef int (*converter)(PyObject *, void *);
 2788|      0|                if (p_va != NULL) {
  ------------------
  |  Branch (2788:21): [True: 0, False: 0]
  ------------------
 2789|      0|                    (void) va_arg(*p_va, converter);
 2790|      0|                    (void) va_arg(*p_va, void *);
 2791|      0|                }
 2792|      0|                format++;
 2793|      0|            }
 2794|    136|            else {
 2795|    136|                if (p_va != NULL) {
  ------------------
  |  Branch (2795:21): [True: 128, False: 8]
  ------------------
 2796|    128|                    (void) va_arg(*p_va, PyObject **);
 2797|    128|                }
 2798|    136|            }
 2799|    136|            break;
 2800|      0|        }
 2801|       |
 2802|      0|    case '(':           /* bypass tuple, not handled at all previously */
  ------------------
  |  Branch (2802:5): [True: 0, False: 136]
  ------------------
 2803|      0|        {
 2804|      0|            const char *msg;
 2805|      0|            for (;;) {
 2806|      0|                if (*format==')')
  ------------------
  |  Branch (2806:21): [True: 0, False: 0]
  ------------------
 2807|      0|                    break;
 2808|      0|                if (IS_END_OF_FORMAT(*format))
  ------------------
  |  | 1670|      0|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 0]
  |  |  |  Branch (1670:43): [True: 0, False: 0]
  |  |  |  Branch (1670:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2809|      0|                    return "Unmatched left paren in format "
 2810|      0|                           "string";
 2811|      0|                msg = skipitem(&format, p_va, flags);
 2812|      0|                if (msg)
  ------------------
  |  Branch (2812:21): [True: 0, False: 0]
  ------------------
 2813|      0|                    return msg;
 2814|      0|            }
 2815|      0|            format++;
 2816|      0|            break;
 2817|      0|        }
 2818|       |
 2819|      0|    case ')':
  ------------------
  |  Branch (2819:5): [True: 0, False: 136]
  ------------------
 2820|      0|        return "Unmatched right paren in format string";
 2821|       |
 2822|      0|    default:
  ------------------
  |  Branch (2822:5): [True: 0, False: 136]
  ------------------
 2823|      0|err:
 2824|      0|        return "impossible<bad format char>";
 2825|       |
 2826|    136|    }
 2827|       |
 2828|    136|    *p_format = format;
 2829|       |    return NULL;
 2830|    136|}
getargs.c:new_kwtuple:
 2129|     32|{
 2130|     32|    int nkw = total - pos;
 2131|     32|    PyObject *kwtuple = PyTuple_New(nkw);
 2132|     32|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 32]
  ------------------
 2133|      0|        return NULL;
 2134|      0|    }
 2135|     32|    keywords += pos;
 2136|    120|    for (int i = 0; i < nkw; i++) {
  ------------------
  |  Branch (2136:21): [True: 88, False: 32]
  ------------------
 2137|     88|        PyObject *str = PyUnicode_FromString(keywords[i]);
 2138|     88|        if (str == NULL) {
  ------------------
  |  Branch (2138:13): [True: 0, False: 88]
  ------------------
 2139|      0|            Py_DECREF(kwtuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|      0|            return NULL;
 2141|      0|        }
 2142|     88|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2143|     88|        _PyUnicode_InternImmortal(interp, &str);
 2144|     88|        PyTuple_SET_ITEM(kwtuple, i, str);
  ------------------
  |  |   40|     88|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|     88|    }
 2146|     32|    return kwtuple;
 2147|     32|}
getargs.c:vgetargskeywords:
 2018|  1.28M|{
 2019|  1.28M|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|  1.28M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.28M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2020|  1.28M|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   27|  1.28M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2022|  1.28M|                                 format, kwlist, p_va, flags);
 2023|  1.28M|}
getargs.c:vgetargskeywordsfast_impl:
 2284|  4.91k|{
 2285|  4.91k|    PyObject *kwtuple;
 2286|  4.91k|    char msgbuf[512];
 2287|  4.91k|    int levels[32];
 2288|  4.91k|    const char *format;
 2289|  4.91k|    const char *msg;
 2290|  4.91k|    PyObject *keyword;
 2291|  4.91k|    Py_ssize_t i;
 2292|  4.91k|    int pos, len;
 2293|  4.91k|    Py_ssize_t nkwargs;
 2294|  4.91k|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 2295|  4.91k|    freelist_t freelist;
 2296|  4.91k|    PyObject *const *kwstack = NULL;
 2297|       |
 2298|  4.91k|    freelist.entries = static_entries;
 2299|  4.91k|    freelist.first_available = 0;
 2300|  4.91k|    freelist.entries_malloced = 0;
 2301|       |
 2302|  4.91k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2303|  4.91k|    assert(kwargs == NULL || kwnames == NULL);
 2304|  4.91k|    assert(p_va != NULL);
 2305|       |
 2306|  4.91k|    if (parser == NULL) {
  ------------------
  |  Branch (2306:9): [True: 0, False: 4.91k]
  ------------------
 2307|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2308|      0|        return 0;
 2309|      0|    }
 2310|       |
 2311|  4.91k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|  4.91k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.91k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2311:9): [True: 4.91k, False: 0]
  |  Branch (2311:28): [True: 0, False: 4.91k]
  ------------------
 2312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2313|      0|        return 0;
 2314|      0|    }
 2315|       |
 2316|  4.91k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 4.91k]
  ------------------
 2317|      0|        return 0;
 2318|      0|    }
 2319|       |
 2320|  4.91k|    kwtuple = parser->kwtuple;
 2321|  4.91k|    pos = parser->pos;
 2322|  4.91k|    len = pos + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  4.91k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|       |
 2324|  4.91k|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  4.91k|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (2324:9): [True: 0, False: 4.91k]
  ------------------
 2325|      0|        freelist.entries = PyMem_NEW(freelistentry_t, len);
  ------------------
  |  |   82|      0|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|      0|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
 2326|      0|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (2326:13): [True: 0, False: 0]
  ------------------
 2327|      0|            PyErr_NoMemory();
 2328|      0|            return 0;
 2329|      0|        }
 2330|      0|        freelist.entries_malloced = 1;
 2331|      0|    }
 2332|       |
 2333|  4.91k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 4.91k]
  ------------------
 2334|      0|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|      0|    }
 2336|  4.91k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2336:14): [True: 4.91k, False: 0]
  ------------------
 2337|  4.91k|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  4.91k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2338|  4.91k|        kwstack = args + nargs;
 2339|  4.91k|    }
 2340|      0|    else {
 2341|      0|        nkwargs = 0;
 2342|      0|    }
 2343|  4.91k|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (2343:9): [True: 0, False: 4.91k]
  ------------------
 2344|       |        /* Adding "keyword" (when nargs == 0) prevents producing wrong error
 2345|       |           messages in some special cases (see bpo-31229). */
 2346|      0|        PyErr_Format(PyExc_TypeError,
 2347|      0|                     "%.200s%s takes at most %d %sargument%s (%zd given)",
 2348|      0|                     (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2348:22): [True: 0, False: 0]
  ------------------
 2349|      0|                     (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2349:22): [True: 0, False: 0]
  ------------------
 2350|      0|                     len,
 2351|      0|                     (nargs == 0) ? "keyword " : "",
  ------------------
  |  Branch (2351:22): [True: 0, False: 0]
  ------------------
 2352|      0|                     (len == 1) ? "" : "s",
  ------------------
  |  Branch (2352:22): [True: 0, False: 0]
  ------------------
 2353|      0|                     nargs + nkwargs);
 2354|      0|        return cleanreturn(0, &freelist);
 2355|      0|    }
 2356|  4.91k|    if (parser->max < nargs) {
  ------------------
  |  Branch (2356:9): [True: 0, False: 4.91k]
  ------------------
 2357|      0|        if (parser->max == 0) {
  ------------------
  |  Branch (2357:13): [True: 0, False: 0]
  ------------------
 2358|      0|            PyErr_Format(PyExc_TypeError,
 2359|      0|                         "%.200s%s takes no positional arguments",
 2360|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2360:26): [True: 0, False: 0]
  ------------------
 2361|      0|                         (parser->fname == NULL) ? "" : "()");
  ------------------
  |  Branch (2361:26): [True: 0, False: 0]
  ------------------
 2362|      0|        }
 2363|      0|        else {
 2364|      0|            PyErr_Format(PyExc_TypeError,
 2365|      0|                         "%.200s%s takes %s %d positional argument%s (%zd given)",
 2366|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2366:26): [True: 0, False: 0]
  ------------------
 2367|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2367:26): [True: 0, False: 0]
  ------------------
 2368|      0|                         (parser->min < parser->max) ? "at most" : "exactly",
  ------------------
  |  Branch (2368:26): [True: 0, False: 0]
  ------------------
 2369|      0|                         parser->max,
 2370|      0|                         parser->max == 1 ? "" : "s",
  ------------------
  |  Branch (2370:26): [True: 0, False: 0]
  ------------------
 2371|      0|                         nargs);
 2372|      0|        }
 2373|      0|        return cleanreturn(0, &freelist);
 2374|      0|    }
 2375|       |
 2376|  4.91k|    format = parser->format;
 2377|  4.91k|    assert(format != NULL || len == 0);
 2378|       |    /* convert tuple args and keyword args in same loop, using kwtuple to drive process */
 2379|  9.89k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (2379:17): [True: 9.83k, False: 60]
  ------------------
 2380|  9.83k|        if (*format == '|') {
  ------------------
  |  Branch (2380:13): [True: 4.91k, False: 4.91k]
  ------------------
 2381|  4.91k|            format++;
 2382|  4.91k|        }
 2383|  9.83k|        if (*format == '$') {
  ------------------
  |  Branch (2383:13): [True: 4.91k, False: 4.91k]
  ------------------
 2384|  4.91k|            format++;
 2385|  4.91k|        }
 2386|  9.83k|        assert(!IS_END_OF_FORMAT(*format));
 2387|       |
 2388|  9.83k|        PyObject *current_arg;
 2389|  9.83k|        if (i < nargs) {
  ------------------
  |  Branch (2389:13): [True: 0, False: 9.83k]
  ------------------
 2390|      0|            current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2391|      0|        }
 2392|  9.83k|        else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (2392:18): [True: 4.97k, False: 4.85k]
  |  Branch (2392:29): [True: 4.97k, False: 0]
  ------------------
 2393|  4.97k|            keyword = PyTuple_GET_ITEM(kwtuple, i - pos);
  ------------------
  |  |   29|  4.97k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.97k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|  4.97k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2394:17): [True: 0, False: 4.97k]
  ------------------
 2395|      0|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2395:21): [True: 0, False: 0]
  ------------------
 2396|      0|                    return cleanreturn(0, &freelist);
 2397|      0|                }
 2398|      0|            }
 2399|  4.97k|            else {
 2400|  4.97k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2401|  4.97k|            }
 2402|  4.97k|            if (current_arg) {
  ------------------
  |  Branch (2402:17): [True: 4.91k, False: 60]
  ------------------
 2403|  4.91k|                --nkwargs;
 2404|  4.91k|            }
 2405|  4.97k|        }
 2406|  4.85k|        else {
 2407|  4.85k|            current_arg = NULL;
 2408|  4.85k|        }
 2409|       |
 2410|  9.83k|        if (current_arg) {
  ------------------
  |  Branch (2410:13): [True: 4.91k, False: 4.91k]
  ------------------
 2411|  4.91k|            msg = convertitem(current_arg, &format, p_va, flags,
 2412|  4.91k|                levels, msgbuf, sizeof(msgbuf), &freelist);
 2413|  4.91k|            Py_DECREF(current_arg);
  ------------------
  |  |  430|  4.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2414|  4.91k|            if (msg) {
  ------------------
  |  Branch (2414:17): [True: 0, False: 4.91k]
  ------------------
 2415|      0|                seterror(i+1, msg, levels, parser->fname, parser->custom_msg);
 2416|      0|                return cleanreturn(0, &freelist);
 2417|      0|            }
 2418|  4.91k|            continue;
 2419|  4.91k|        }
 2420|       |
 2421|  4.91k|        if (i < parser->min) {
  ------------------
  |  Branch (2421:13): [True: 0, False: 4.91k]
  ------------------
 2422|       |            /* Less arguments than required */
 2423|      0|            if (i < pos) {
  ------------------
  |  Branch (2423:17): [True: 0, False: 0]
  ------------------
 2424|      0|                int min = Py_MIN(pos, parser->min);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2425|      0|                PyErr_Format(PyExc_TypeError,
 2426|      0|                             "%.200s%s takes %s %d positional argument%s"
 2427|      0|                             " (%zd given)",
 2428|      0|                             (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2428:30): [True: 0, False: 0]
  ------------------
 2429|      0|                             (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2429:30): [True: 0, False: 0]
  ------------------
 2430|      0|                             min < parser->max ? "at least" : "exactly",
  ------------------
  |  Branch (2430:30): [True: 0, False: 0]
  ------------------
 2431|      0|                             min,
 2432|      0|                             min == 1 ? "" : "s",
  ------------------
  |  Branch (2432:30): [True: 0, False: 0]
  ------------------
 2433|      0|                             nargs);
 2434|      0|            }
 2435|      0|            else {
 2436|      0|                keyword = PyTuple_GET_ITEM(kwtuple, i - pos);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|      0|                PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 2438|      0|                             "argument '%U' (pos %zd)",
 2439|      0|                             (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2439:30): [True: 0, False: 0]
  ------------------
 2440|      0|                             (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2440:30): [True: 0, False: 0]
  ------------------
 2441|      0|                             keyword, i+1);
 2442|      0|            }
 2443|      0|            return cleanreturn(0, &freelist);
 2444|      0|        }
 2445|       |        /* current code reports success when all required args
 2446|       |         * fulfilled and no keyword args left, with no further
 2447|       |         * validation. XXX Maybe skip this in debug build ?
 2448|       |         */
 2449|  4.91k|        if (!nkwargs) {
  ------------------
  |  Branch (2449:13): [True: 4.85k, False: 60]
  ------------------
 2450|  4.85k|            return cleanreturn(1, &freelist);
 2451|  4.85k|        }
 2452|       |
 2453|       |        /* We are into optional args, skip through to any remaining
 2454|       |         * keyword args */
 2455|     60|        msg = skipitem(&format, p_va, flags);
 2456|     60|        assert(msg == NULL);
 2457|     60|    }
 2458|       |
 2459|  4.91k|    assert(IS_END_OF_FORMAT(*format) || (*format == '|') || (*format == '$'));
 2460|       |
 2461|     60|    if (nkwargs > 0) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 60]
  ------------------
 2462|       |        /* make sure there are no arguments given by name and position */
 2463|      0|        for (i = pos; i < nargs; i++) {
  ------------------
  |  Branch (2463:23): [True: 0, False: 0]
  ------------------
 2464|      0|            PyObject *current_arg;
 2465|      0|            keyword = PyTuple_GET_ITEM(kwtuple, i - pos);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2466|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (2466:17): [True: 0, False: 0]
  ------------------
 2467|      0|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2467:21): [True: 0, False: 0]
  ------------------
 2468|      0|                    return cleanreturn(0, &freelist);
 2469|      0|                }
 2470|      0|            }
 2471|      0|            else {
 2472|      0|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2473|      0|            }
 2474|      0|            if (current_arg) {
  ------------------
  |  Branch (2474:17): [True: 0, False: 0]
  ------------------
 2475|      0|                Py_DECREF(current_arg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|       |                /* arg present in tuple and in dict */
 2477|      0|                PyErr_Format(PyExc_TypeError,
 2478|      0|                             "argument for %.200s%s given by name ('%U') "
 2479|      0|                             "and position (%zd)",
 2480|      0|                             (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2480:30): [True: 0, False: 0]
  ------------------
 2481|      0|                             (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2481:30): [True: 0, False: 0]
  ------------------
 2482|      0|                             keyword, i+1);
 2483|      0|                return cleanreturn(0, &freelist);
 2484|      0|            }
 2485|      0|        }
 2486|       |
 2487|      0|        error_unexpected_keyword_arg(kwargs, kwnames, kwtuple, parser->fname);
 2488|      0|        return cleanreturn(0, &freelist);
 2489|      0|    }
 2490|       |
 2491|     60|    return cleanreturn(1, &freelist);
 2492|     60|}
getargs.c:parser_init:
 2228|   180k|{
 2229|   180k|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2230|   180k|}
getargs.c:_parser_init:
 2151|     65|{
 2152|     65|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2153|     65|    const char * const *keywords = parser->keywords;
 2154|     65|    assert(keywords != NULL);
 2155|     65|    assert(parser->pos == 0 &&
 2156|     65|           (parser->format == NULL || parser->fname == NULL) &&
 2157|     65|           parser->custom_msg == NULL &&
 2158|     65|           parser->min == 0 &&
 2159|     65|           parser->max == 0);
 2160|       |
 2161|     65|    int len, pos;
 2162|     65|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 65]
  ------------------
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|     65|    const char *fname, *custommsg = NULL;
 2167|     65|    int min = 0, max = 0;
 2168|     65|    if (parser->format) {
  ------------------
  |  Branch (2168:9): [True: 4, False: 61]
  ------------------
 2169|      4|        assert(parser->fname == NULL);
 2170|      4|        if (parse_format(parser->format, len, pos,
  ------------------
  |  Branch (2170:13): [True: 0, False: 4]
  ------------------
 2171|      4|                         &fname, &custommsg, &min, &max) < 0) {
 2172|      0|            return -1;
 2173|      0|        }
 2174|      4|    }
 2175|     61|    else {
 2176|     61|        assert(parser->fname != NULL);
 2177|     61|        fname = parser->fname;
 2178|     61|    }
 2179|       |
 2180|     65|    int owned;
 2181|     65|    PyObject *kwtuple = parser->kwtuple;
 2182|     65|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2182:9): [True: 32, False: 33]
  ------------------
 2183|       |        /* We may temporarily switch to the main interpreter to avoid
 2184|       |         * creating a tuple that could outlive its owning interpreter. */
 2185|     32|        PyThreadState *save_tstate = NULL;
 2186|     32|        PyThreadState *temp_tstate = NULL;
 2187|     32|        if (!_Py_IsMainInterpreter(PyInterpreterState_Get())) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 32]
  ------------------
 2188|      0|            temp_tstate = PyThreadState_New(_PyInterpreterState_Main());
 2189|      0|            if (temp_tstate == NULL) {
  ------------------
  |  Branch (2189:17): [True: 0, False: 0]
  ------------------
 2190|      0|                return -1;
 2191|      0|            }
 2192|      0|            save_tstate = PyThreadState_Swap(temp_tstate);
 2193|      0|        }
 2194|     32|        kwtuple = new_kwtuple(keywords, len, pos);
 2195|     32|        if (temp_tstate != NULL) {
  ------------------
  |  Branch (2195:13): [True: 0, False: 32]
  ------------------
 2196|      0|            PyThreadState_Clear(temp_tstate);
 2197|      0|            (void)PyThreadState_Swap(save_tstate);
 2198|      0|            PyThreadState_Delete(temp_tstate);
 2199|      0|        }
 2200|     32|        if (kwtuple == NULL) {
  ------------------
  |  Branch (2200:13): [True: 0, False: 32]
  ------------------
 2201|      0|            return -1;
 2202|      0|        }
 2203|     32|        owned = 1;
 2204|     32|    }
 2205|     33|    else {
 2206|     33|        owned = 0;
 2207|     33|    }
 2208|       |
 2209|     65|    parser->pos = pos;
 2210|     65|    parser->fname = fname;
 2211|     65|    parser->custom_msg = custommsg;
 2212|     65|    parser->min = min;
 2213|     65|    parser->max = max;
 2214|     65|    parser->kwtuple = kwtuple;
 2215|     65|    parser->is_kwtuple_owned = owned;
 2216|       |
 2217|     65|    assert(parser->next == NULL);
 2218|     65|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2219|     65|    do {
 2220|       |        // compare-exchange updates parser->next on failure
 2221|     65|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2221:14): [True: 0, False: 65]
  ------------------
 2222|     65|                                              &parser->next, parser));
 2223|     65|    return 0;
 2224|     65|}
getargs.c:scan_keywords:
 2027|     65|{
 2028|       |    /* scan keywords and count the number of positional-only parameters */
 2029|     65|    int i;
 2030|     71|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2030:17): [True: 71, False: 0]
  |  Branch (2030:32): [True: 6, False: 65]
  ------------------
 2031|      6|    }
 2032|     65|    *pposonly = i;
 2033|       |
 2034|       |    /* scan keywords and get greatest possible nbr of args */
 2035|    300|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2035:12): [True: 235, False: 65]
  ------------------
 2036|    235|        if (!*keywords[i]) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 235]
  ------------------
 2037|      0|            PyErr_SetString(PyExc_SystemError,
 2038|      0|                            "Empty keyword parameter name");
 2039|      0|            return -1;
 2040|      0|        }
 2041|    235|    }
 2042|     65|    *ptotal = i;
 2043|     65|    return 0;
 2044|     65|}
getargs.c:parse_format:
 2050|      4|{
 2051|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 2052|      4|    const char *custommsg;
 2053|      4|    const char *fname = strchr(format, ':');
 2054|      4|    if (fname) {
  ------------------
  |  Branch (2054:9): [True: 4, False: 0]
  ------------------
 2055|      4|        fname++;
 2056|      4|        custommsg = NULL;
 2057|      4|    }
 2058|      0|    else {
 2059|      0|        custommsg = strchr(format,';');
 2060|      0|        if (custommsg) {
  ------------------
  |  Branch (2060:13): [True: 0, False: 0]
  ------------------
 2061|      0|            custommsg++;
 2062|      0|        }
 2063|      0|    }
 2064|       |
 2065|      4|    int min = INT_MAX;
 2066|      4|    int max = INT_MAX;
 2067|     12|    for (int i = 0; i < total; i++) {
  ------------------
  |  Branch (2067:21): [True: 8, False: 4]
  ------------------
 2068|      8|        if (*format == '|') {
  ------------------
  |  Branch (2068:13): [True: 4, False: 4]
  ------------------
 2069|      4|            if (min != INT_MAX) {
  ------------------
  |  Branch (2069:17): [True: 0, False: 4]
  ------------------
 2070|      0|                PyErr_SetString(PyExc_SystemError,
 2071|      0|                                "Invalid format string (| specified twice)");
 2072|      0|                return -1;
 2073|      0|            }
 2074|      4|            if (max != INT_MAX) {
  ------------------
  |  Branch (2074:17): [True: 0, False: 4]
  ------------------
 2075|      0|                PyErr_SetString(PyExc_SystemError,
 2076|      0|                                "Invalid format string ($ before |)");
 2077|      0|                return -1;
 2078|      0|            }
 2079|      4|            min = i;
 2080|      4|            format++;
 2081|      4|        }
 2082|      8|        if (*format == '$') {
  ------------------
  |  Branch (2082:13): [True: 4, False: 4]
  ------------------
 2083|      4|            if (max != INT_MAX) {
  ------------------
  |  Branch (2083:17): [True: 0, False: 4]
  ------------------
 2084|      0|                PyErr_SetString(PyExc_SystemError,
 2085|      0|                                "Invalid format string ($ specified twice)");
 2086|      0|                return -1;
 2087|      0|            }
 2088|      4|            if (i < npos) {
  ------------------
  |  Branch (2088:17): [True: 0, False: 4]
  ------------------
 2089|      0|                PyErr_SetString(PyExc_SystemError,
 2090|      0|                                "Empty parameter name after $");
 2091|      0|                return -1;
 2092|      0|            }
 2093|      4|            max = i;
 2094|      4|            format++;
 2095|      4|        }
 2096|      8|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1670|      8|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 8]
  |  |  |  Branch (1670:43): [True: 0, False: 8]
  |  |  |  Branch (1670:55): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 2097|      0|            PyErr_Format(PyExc_SystemError,
 2098|      0|                        "More keyword list entries (%d) than "
 2099|      0|                        "format specifiers (%d)", total, i);
 2100|      0|            return -1;
 2101|      0|        }
 2102|       |
 2103|      8|        const char *msg = skipitem(&format, NULL, 0);
 2104|      8|        if (msg) {
  ------------------
  |  Branch (2104:13): [True: 0, False: 8]
  ------------------
 2105|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 2106|      0|                        format);
 2107|      0|            return -1;
 2108|      0|        }
 2109|      8|    }
 2110|      4|    min = Py_MIN(min, total);
  ------------------
  |  |  112|      4|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2111|      4|    max = Py_MIN(max, total);
  ------------------
  |  |  112|      4|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2112|       |
 2113|      4|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1670|      8|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 4]
  |  |  |  Branch (1670:43): [True: 0, False: 4]
  |  |  |  Branch (1670:55): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2113:39): [True: 0, False: 0]
  |  Branch (2113:59): [True: 0, False: 0]
  ------------------
 2114|      0|        PyErr_Format(PyExc_SystemError,
 2115|      0|            "more argument specifiers than keyword list entries "
 2116|      0|            "(remaining format:'%s')", format);
 2117|      0|        return -1;
 2118|      0|    }
 2119|       |
 2120|      4|    *pfname = fname;
 2121|      4|    *pcustommsg = custommsg;
 2122|      4|    *pmin = min;
 2123|      4|    *pmax = max;
 2124|      4|    return 0;
 2125|      4|}
getargs.c:find_keyword:
 2255|   435k|{
 2256|   435k|    Py_ssize_t i, nkwargs;
 2257|       |
 2258|   435k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|   435k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   435k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   435k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|   901k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2259:17): [True: 759k, False: 142k]
  ------------------
 2260|   759k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|   759k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   759k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   759k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|       |
 2262|       |        /* kwname == key will normally find a match in since keyword keys
 2263|       |           should be interned strings; if not retry below in a new loop. */
 2264|   759k|        if (kwname == key) {
  ------------------
  |  Branch (2264:13): [True: 293k, False: 465k]
  ------------------
 2265|   293k|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  550|   293k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   293k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|   293k|        }
 2267|   759k|    }
 2268|       |
 2269|   441k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2269:17): [True: 299k, False: 142k]
  ------------------
 2270|   299k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|   299k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   299k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2271|   299k|        assert(PyUnicode_Check(kwname));
 2272|   299k|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 299k]
  ------------------
 2273|      0|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|      0|        }
 2275|   299k|    }
 2276|   142k|    return NULL;
 2277|   142k|}
getargs.c:unpack_stack:
 2882|  2.72M|{
 2883|  2.72M|    Py_ssize_t i;
 2884|  2.72M|    PyObject **o;
 2885|       |
 2886|  2.72M|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 2.72M]
  ------------------
 2887|      0|        return 0;
 2888|      0|    }
 2889|       |
 2890|  6.46M|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2890:17): [True: 3.73M, False: 2.72M]
  ------------------
 2891|       |        o = va_arg(vargs, PyObject **);
 2892|  3.73M|        *o = args[i];
 2893|  3.73M|    }
 2894|  2.72M|    return 1;
 2895|  2.72M|}

Py_GetCompiler:
   29|      2|{
   30|      2|    return COMPILER;
  ------------------
  |  |   15|      2|#define COMPILER "[Clang " __clang_version__ "]"
  ------------------
   31|      2|}

Py_GetCopyright:
   21|      2|{
   22|      2|    return cprt;
   23|      2|}

Py_GetPlatform:
   10|      2|{
   11|      2|    return PLATFORM;
   12|      2|}

_Py_InitVersion:
   12|      4|{
   13|      4|    if (initialized) {
  ------------------
  |  Branch (13:9): [True: 2, False: 2]
  ------------------
   14|      2|        return;
   15|      2|    }
   16|      2|    initialized = 1;
   17|       |#ifdef Py_GIL_DISABLED
   18|       |    const char *buildinfo_format = "%.80s free-threading build (%.80s) %.80s";
   19|       |#else
   20|      2|    const char *buildinfo_format = "%.80s (%.80s) %.80s";
   21|      2|#endif
   22|      2|    PyOS_snprintf(version, sizeof(version), buildinfo_format,
   23|      2|                  PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
  ------------------
  |  |   30|      2|#define PY_VERSION              "3.16.0a0"
  ------------------
   24|      2|}
Py_GetVersion:
   28|      2|{
   29|      2|    _Py_InitVersion();
   30|      2|    return version;
   31|      2|}

_Py_hashtable_hash_ptr:
   94|  4.79k|{
   95|  4.79k|    return (Py_uhash_t)_Py_HashPointerRaw(key);
   96|  4.79k|}
_Py_hashtable_get_entry_generic:
  141|   353k|{
  142|   353k|    Py_uhash_t key_hash = ht->hash_func(key);
  143|   353k|    size_t index = key_hash & (ht->nbuckets - 1);
  144|   353k|    _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index);
  ------------------
  |  |   59|   353k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|   353k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   353k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|   388k|    while (1) {
  ------------------
  |  Branch (145:12): [True: 388k, Folded]
  ------------------
  146|   388k|        if (entry == NULL) {
  ------------------
  |  Branch (146:13): [True: 299k, False: 89.2k]
  ------------------
  147|   299k|            return NULL;
  148|   299k|        }
  149|  89.2k|        if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) {
  ------------------
  |  Branch (149:13): [True: 54.5k, False: 34.7k]
  |  Branch (149:44): [True: 54.5k, False: 0]
  ------------------
  150|  54.5k|            break;
  151|  54.5k|        }
  152|  34.7k|        entry = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  34.7k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  34.7k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  34.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|  34.7k|    }
  154|  54.5k|    return entry;
  155|   353k|}
_Py_hashtable_set:
  218|  4.69k|{
  219|  4.69k|    _Py_hashtable_entry_t *entry;
  220|       |
  221|       |#ifndef NDEBUG
  222|       |    /* Don't write the assertion on a single line because it is interesting
  223|       |       to know the duplicated entry if the assertion failed. The entry can
  224|       |       be read using a debugger. */
  225|       |    entry = ht->get_entry_func(ht, key);
  226|       |    assert(entry == NULL);
  227|       |#endif
  228|       |
  229|  4.69k|    entry = ht->alloc.malloc(sizeof(_Py_hashtable_entry_t));
  230|  4.69k|    if (entry == NULL) {
  ------------------
  |  Branch (230:9): [True: 0, False: 4.69k]
  ------------------
  231|       |        /* memory allocation failed */
  232|      0|        return -1;
  233|      0|    }
  234|       |
  235|  4.69k|    entry->key_hash = ht->hash_func(key);
  236|  4.69k|    entry->key = (void *)key;
  237|  4.69k|    entry->value = value;
  238|       |
  239|  4.69k|    ht->nentries++;
  240|  4.69k|    if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) {
  ------------------
  |  |   52|  4.69k|#define HASHTABLE_HIGH 0.50
  ------------------
  |  Branch (240:9): [True: 60, False: 4.63k]
  ------------------
  241|     60|        if (hashtable_rehash(ht) < 0) {
  ------------------
  |  Branch (241:13): [True: 0, False: 60]
  ------------------
  242|      0|            ht->nentries--;
  243|      0|            ht->alloc.free(entry);
  244|      0|            return -1;
  245|      0|        }
  246|     60|    }
  247|       |
  248|  4.69k|    size_t index = entry->key_hash & (ht->nbuckets - 1);
  249|  4.69k|    _Py_slist_prepend(&ht->buckets[index], (_Py_slist_item_t*)entry);
  250|  4.69k|    return 0;
  251|  4.69k|}
_Py_hashtable_get:
  256|   353k|{
  257|   353k|    _Py_hashtable_entry_t *entry = ht->get_entry_func(ht, key);
  258|   353k|    if (entry != NULL) {
  ------------------
  |  Branch (258:9): [True: 54.5k, False: 298k]
  ------------------
  259|  54.5k|        return entry->value;
  260|  54.5k|    }
  261|   298k|    else {
  262|       |        return NULL;
  263|   298k|    }
  264|   353k|}
_Py_hashtable_new_full:
  328|    747|{
  329|    747|    _Py_hashtable_allocator_t alloc;
  330|    747|    if (allocator == NULL) {
  ------------------
  |  Branch (330:9): [True: 735, False: 12]
  ------------------
  331|    735|        alloc.malloc = PyMem_Malloc;
  332|    735|        alloc.free = PyMem_Free;
  333|    735|    }
  334|     12|    else {
  335|     12|        alloc = *allocator;
  336|     12|    }
  337|       |
  338|    747|    _Py_hashtable_t *ht = (_Py_hashtable_t *)alloc.malloc(sizeof(_Py_hashtable_t));
  339|    747|    if (ht == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 747]
  ------------------
  340|      0|        return ht;
  341|      0|    }
  342|       |
  343|    747|    ht->nbuckets = HASHTABLE_MIN_SIZE;
  ------------------
  |  |   51|    747|#define HASHTABLE_MIN_SIZE 16
  ------------------
  344|    747|    ht->nentries = 0;
  345|       |
  346|    747|    size_t buckets_size = ht->nbuckets * sizeof(ht->buckets[0]);
  347|    747|    ht->buckets = alloc.malloc(buckets_size);
  348|    747|    if (ht->buckets == NULL) {
  ------------------
  |  Branch (348:9): [True: 0, False: 747]
  ------------------
  349|      0|        alloc.free(ht);
  350|      0|        return NULL;
  351|      0|    }
  352|    747|    memset(ht->buckets, 0, buckets_size);
  353|       |
  354|    747|    ht->get_entry_func = _Py_hashtable_get_entry_generic;
  355|    747|    ht->hash_func = hash_func;
  356|    747|    ht->compare_func = compare_func;
  357|    747|    ht->key_destroy_func = key_destroy_func;
  358|    747|    ht->value_destroy_func = value_destroy_func;
  359|    747|    ht->alloc = alloc;
  360|    747|    if (ht->hash_func == _Py_hashtable_hash_ptr
  ------------------
  |  Branch (360:9): [True: 735, False: 12]
  ------------------
  361|    735|        && ht->compare_func == _Py_hashtable_compare_direct)
  ------------------
  |  Branch (361:12): [True: 735, False: 0]
  ------------------
  362|    735|    {
  363|    735|        ht->get_entry_func = _Py_hashtable_get_entry_ptr;
  364|    735|    }
  365|    747|    return ht;
  366|    747|}
_Py_hashtable_new:
  372|    733|{
  373|    733|    return _Py_hashtable_new_full(hash_func, compare_func,
  374|    733|                                  NULL, NULL, NULL);
  375|    733|}
_Py_hashtable_destroy:
  412|    733|{
  413|  13.2k|    for (size_t i = 0; i < ht->nbuckets; i++) {
  ------------------
  |  Branch (413:24): [True: 12.4k, False: 733]
  ------------------
  414|  12.4k|        _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, i);
  ------------------
  |  |   59|  12.4k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|  12.4k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|  14.8k|        while (entry) {
  ------------------
  |  Branch (415:16): [True: 2.39k, False: 12.4k]
  ------------------
  416|  2.39k|            _Py_hashtable_entry_t *entry_next = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  2.39k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  2.39k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|  2.39k|            _Py_hashtable_destroy_entry(ht, entry);
  418|  2.39k|            entry = entry_next;
  419|  2.39k|        }
  420|  12.4k|    }
  421|       |
  422|    733|    ht->alloc.free(ht->buckets);
  423|    733|    ht->alloc.free(ht);
  424|    733|}
hashtable.c:_Py_slist_prepend:
   75|  9.20k|{
   76|  9.20k|    item->next = list->head;
   77|  9.20k|    list->head = item;
   78|  9.20k|}
hashtable.c:hashtable_rehash:
  288|     60|{
  289|     60|    size_t new_size = round_size((size_t)(ht->nentries * HASHTABLE_REHASH_FACTOR));
  ------------------
  |  |   54|     60|#define HASHTABLE_REHASH_FACTOR 2.0 / (HASHTABLE_LOW + HASHTABLE_HIGH)
  |  |  ------------------
  |  |  |  |   53|     60|#define HASHTABLE_LOW 0.10
  |  |  ------------------
  |  |               #define HASHTABLE_REHASH_FACTOR 2.0 / (HASHTABLE_LOW + HASHTABLE_HIGH)
  |  |  ------------------
  |  |  |  |   52|     60|#define HASHTABLE_HIGH 0.50
  |  |  ------------------
  ------------------
  290|     60|    if (new_size == ht->nbuckets) {
  ------------------
  |  Branch (290:9): [True: 0, False: 60]
  ------------------
  291|      0|        return 0;
  292|      0|    }
  293|       |
  294|     60|    size_t buckets_size = new_size * sizeof(ht->buckets[0]);
  295|     60|    _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size);
  296|     60|    if (new_buckets == NULL) {
  ------------------
  |  Branch (296:9): [True: 0, False: 60]
  ------------------
  297|       |        /* memory allocation failed */
  298|      0|        return -1;
  299|      0|    }
  300|     60|    memset(new_buckets, 0, buckets_size);
  301|       |
  302|  9.08k|    for (size_t bucket = 0; bucket < ht->nbuckets; bucket++) {
  ------------------
  |  Branch (302:29): [True: 9.02k, False: 60]
  ------------------
  303|  9.02k|        _Py_hashtable_entry_t *entry = BUCKETS_HEAD(ht->buckets[bucket]);
  ------------------
  |  |   57|  9.02k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(SLIST)))
  |  |  ------------------
  |  |  |  |   23|  9.02k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|  13.5k|        while (entry != NULL) {
  ------------------
  |  Branch (304:16): [True: 4.51k, False: 9.02k]
  ------------------
  305|  4.51k|            assert(ht->hash_func(entry->key) == entry->key_hash);
  306|  4.51k|            _Py_hashtable_entry_t *next = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  4.51k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  4.51k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|  4.51k|            size_t entry_index = entry->key_hash & (new_size - 1);
  308|       |
  309|  4.51k|            _Py_slist_prepend(&new_buckets[entry_index], (_Py_slist_item_t*)entry);
  310|       |
  311|  4.51k|            entry = next;
  312|  4.51k|        }
  313|  9.02k|    }
  314|       |
  315|     60|    ht->alloc.free(ht->buckets);
  316|     60|    ht->nbuckets = new_size;
  317|     60|    ht->buckets = new_buckets;
  318|     60|    return 0;
  319|     60|}
hashtable.c:round_size:
  109|     60|{
  110|     60|    size_t i;
  111|     60|    if (s < HASHTABLE_MIN_SIZE)
  ------------------
  |  |   51|     60|#define HASHTABLE_MIN_SIZE 16
  ------------------
  |  Branch (111:9): [True: 0, False: 60]
  ------------------
  112|      0|        return HASHTABLE_MIN_SIZE;
  ------------------
  |  |   51|      0|#define HASHTABLE_MIN_SIZE 16
  ------------------
  113|     60|    i = 1;
  114|    426|    while (i < s)
  ------------------
  |  Branch (114:12): [True: 366, False: 60]
  ------------------
  115|    366|        i <<= 1;
  116|     60|    return i;
  117|     60|}
hashtable.c:_Py_hashtable_get_entry_ptr:
  163|  2.39k|{
  164|  2.39k|    Py_uhash_t key_hash = _Py_hashtable_hash_ptr(key);
  165|  2.39k|    size_t index = key_hash & (ht->nbuckets - 1);
  166|  2.39k|    _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index);
  ------------------
  |  |   59|  2.39k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|  2.39k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|  2.86k|    while (1) {
  ------------------
  |  Branch (167:12): [True: 2.86k, Folded]
  ------------------
  168|  2.86k|        if (entry == NULL) {
  ------------------
  |  Branch (168:13): [True: 2.39k, False: 467]
  ------------------
  169|  2.39k|            return NULL;
  170|  2.39k|        }
  171|       |        // Compare directly keys (ignore entry->key_hash)
  172|    467|        if (entry->key == key) {
  ------------------
  |  Branch (172:13): [True: 0, False: 467]
  ------------------
  173|      0|            break;
  174|      0|        }
  175|    467|        entry = ENTRY_NEXT(entry);
  ------------------
  |  |   61|    467|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|    467|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    467|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|    467|    }
  177|      0|    return entry;
  178|  2.39k|}
hashtable.c:_Py_hashtable_destroy_entry:
  380|  2.39k|{
  381|  2.39k|    if (ht->key_destroy_func) {
  ------------------
  |  Branch (381:9): [True: 0, False: 2.39k]
  ------------------
  382|      0|        ht->key_destroy_func(entry->key);
  383|      0|    }
  384|  2.39k|    if (ht->value_destroy_func) {
  ------------------
  |  Branch (384:9): [True: 0, False: 2.39k]
  ------------------
  385|      0|        ht->value_destroy_func(entry->value);
  386|      0|    }
  387|  2.39k|    ht->alloc.free(entry);
  388|  2.39k|}

_PyImport_AcquireLock:
  156|  4.14k|{
  157|  4.14k|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  116|  4.14k|    (interp)->imports.lock
  ------------------
  158|  4.14k|}
_PyImport_ReleaseLock:
  162|  4.14k|{
  163|  4.14k|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  116|  4.14k|    (interp)->imports.lock
  ------------------
  164|  4.14k|}
_PyImport_InitModules:
  180|      2|{
  181|      2|    assert(MODULES(interp) == NULL);
  182|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  183|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  |  Branch (183:9): [True: 0, False: 2]
  ------------------
  184|      0|        return NULL;
  185|      0|    }
  186|      2|    return MODULES(interp);
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  187|      2|}
_PyImport_GetModules:
  191|      2|{
  192|      2|    return MODULES(interp);
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  193|      2|}
_PyImport_SetModuleString:
  252|      4|{
  253|      4|    PyThreadState *tstate = _PyThreadState_GET();
  254|       |    PyObject *modules = get_modules_dict(tstate, true);
  255|      4|    return PyMapping_SetItemString(modules, name, m);
  256|      4|}
_PyImport_InitLazyModules:
  275|      2|{
  276|      2|    assert(LAZY_MODULES(interp) == NULL &&
  277|      2|           LAZY_PENDING_SUBMODULES(interp) == NULL);
  278|       |
  279|      2|    LAZY_PENDING_SUBMODULES(interp) = PyDict_New();
  ------------------
  |  |   98|      2|    (interp)->imports.lazy_pending_submodules
  ------------------
  280|      2|    LAZY_MODULES(interp) = PySet_New(0);
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_modules
  ------------------
  281|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_modules
  ------------------
  282|      2|}
PyImport_GetModule:
  340|  8.55k|{
  341|  8.55k|    PyThreadState *tstate = _PyThreadState_GET();
  342|  8.55k|    PyObject *mod;
  343|       |
  344|  8.55k|    mod = import_get_module(tstate, name);
  345|  8.55k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|  8.52k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (345:9): [True: 8.52k, False: 22]
  |  Branch (345:24): [True: 8.52k, False: 0]
  ------------------
  346|  8.52k|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (346:13): [True: 0, False: 8.52k]
  ------------------
  347|      0|            goto error;
  348|      0|        }
  349|       |        /* Verify the module is still in sys.modules. Another thread may have
  350|       |           removed it (due to import failure) between our import_get_module()
  351|       |           call and the _initializing check in import_ensure_initialized(). */
  352|  8.52k|        PyObject *mod_check = import_get_module(tstate, name);
  353|  8.52k|        if (mod_check != mod) {
  ------------------
  |  Branch (353:13): [True: 0, False: 8.52k]
  ------------------
  354|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (355:17): [True: 0, False: 0]
  ------------------
  356|      0|                goto error;
  357|      0|            }
  358|       |            /* The module was removed or replaced. Return NULL to report
  359|       |               "not found" rather than trying to keep up with racing
  360|       |               modifications to sys.modules; returning the new value would
  361|       |               require looping to redo the ensure_initialized check. */
  362|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|      0|            return NULL;
  364|      0|        }
  365|  8.52k|        Py_DECREF(mod_check);
  ------------------
  |  |  430|  8.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|  8.52k|    }
  367|  8.55k|    return mod;
  368|       |
  369|      0|error:
  370|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      0|    remove_importlib_frames(tstate);
  372|       |    return NULL;
  373|  8.55k|}
PyImport_AddModuleRef:
  418|      6|{
  419|      6|    PyObject *name_obj = PyUnicode_FromString(name);
  420|      6|    if (name_obj == NULL) {
  ------------------
  |  Branch (420:9): [True: 0, False: 6]
  ------------------
  421|      0|        return NULL;
  422|      0|    }
  423|      6|    PyThreadState *tstate = _PyThreadState_GET();
  424|      6|    PyObject *module = import_add_module(tstate, name_obj);
  425|      6|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      6|    return module;
  427|      6|}
PyImport_AddModuleObject:
  432|      2|{
  433|      2|    PyThreadState *tstate = _PyThreadState_GET();
  434|      2|    PyObject *mod = import_add_module(tstate, name);
  435|      2|    if (!mod) {
  ------------------
  |  Branch (435:9): [True: 0, False: 2]
  ------------------
  436|      0|        return NULL;
  437|      0|    }
  438|       |
  439|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  440|       |    // Create a weak reference to produce a borrowed reference, since it can
  441|       |    // become NULL. sys.modules type can be different than dict and it is not
  442|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  443|       |    // custom mapping with __getitem__() which returns a new object or removes
  444|       |    // returned object, or __setitem__ which does nothing. There is so much
  445|       |    // unknown.  With weakref we can be sure that we get either a reference to
  446|       |    // live object or NULL.
  447|       |    //
  448|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  449|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  450|      2|    Py_DECREF(mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|      2|    if (ref == NULL) {
  ------------------
  |  Branch (451:9): [True: 0, False: 2]
  ------------------
  452|      0|        return NULL;
  453|      0|    }
  454|      2|    mod = _PyWeakref_GET_REF(ref);
  455|      2|    Py_DECREF(ref);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      2|    Py_XDECREF(mod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|       |
  458|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (458:9): [True: 0, False: 2]
  |  Branch (458:24): [True: 0, False: 0]
  ------------------
  459|      0|        PyErr_SetString(PyExc_RuntimeError,
  460|      0|                        "sys.modules does not hold a strong reference "
  461|      0|                        "to the module");
  462|      0|    }
  463|      2|    return mod; /* borrowed reference */
  464|      2|}
_PyImport_GetNextModuleIndex:
  511|    118|{
  512|    118|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   81|    118|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  513|    118|}
_PyImport_ResolveNameWithPackageContext:
  891|      8|{
  892|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  887|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (892:9): [True: 0, False: 8]
  ------------------
  893|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  887|      0|# define PKGCONTEXT pkgcontext
  ------------------
  894|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (894:13): [True: 0, False: 0]
  |  Branch (894:26): [True: 0, False: 0]
  ------------------
  895|      0|            name = PKGCONTEXT;
  ------------------
  |  |  887|      0|# define PKGCONTEXT pkgcontext
  ------------------
  896|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  887|      0|# define PKGCONTEXT pkgcontext
  ------------------
  897|      0|        }
  898|      0|    }
  899|      8|    return name;
  900|      8|}
_PyImport_SwapPackageContext:
  904|    220|{
  905|    220|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  887|    220|# define PKGCONTEXT pkgcontext
  ------------------
  906|    220|    PKGCONTEXT = newcontext;
  ------------------
  |  |  887|    220|# define PKGCONTEXT pkgcontext
  ------------------
  907|    220|    return oldcontext;
  908|    220|}
_PyImport_GetDLOpenFlags:
  913|     98|{
  914|     98|    return DLOPENFLAGS(interp);
  ------------------
  |  |  107|     98|        (interp)->imports.dlopenflags
  ------------------
  915|     98|}
_PyImport_FixupBuiltin:
 2395|      4|{
 2396|      4|    int res = -1;
 2397|      4|    assert(mod != NULL && PyModule_Check(mod));
 2398|       |
 2399|      4|    PyObject *nameobj;
 2400|      4|    nameobj = PyUnicode_InternFromString(name);
 2401|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2401:9): [True: 0, False: 4]
  ------------------
 2402|      0|        return -1;
 2403|      0|    }
 2404|       |
 2405|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2406|      4|    if (def == NULL) {
  ------------------
  |  Branch (2406:9): [True: 0, False: 4]
  ------------------
 2407|      0|        assert(!PyErr_Occurred());
 2408|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2409|      0|        goto finally;
 2410|      0|    }
 2411|       |
 2412|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2413|       |     * (sys and builtins).  These modules are single-phase init with no
 2414|       |     * module state, but we also don't populate def->m_base.m_copy
 2415|       |     * for them. */
 2416|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
 2417|      4|    assert_singlephase_def(def);
 2418|      4|    assert(def->m_size == -1);
 2419|      4|    assert(def->m_base.m_copy == NULL);
 2420|      4|    assert(def->m_base.m_index >= 0);
 2421|       |
 2422|       |    /* We aren't using import_find_extension() for core modules,
 2423|       |     * so we have to do the extra check to make sure the module
 2424|       |     * isn't already in the global cache before calling
 2425|       |     * update_global_state_for_extension(). */
 2426|      4|    struct extensions_cache_value *cached
 2427|      4|            = _extensions_cache_get(nameobj, nameobj);
 2428|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2428:9): [True: 4, False: 0]
  ------------------
 2429|      4|        struct singlephase_global_update singlephase = {
 2430|      4|            .m_index=def->m_base.m_index,
 2431|       |            /* We don't want def->m_base.m_copy populated. */
 2432|      4|            .m_dict=NULL,
 2433|      4|            .origin=_Py_ext_module_origin_CORE,
 2434|       |#ifdef Py_GIL_DISABLED
 2435|       |            /* Unused when m_dict == NULL. */
 2436|       |            .md_requires_gil=false,
 2437|       |#endif
 2438|      4|        };
 2439|      4|        cached = update_global_state_for_extension(
 2440|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2441|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 4]
  ------------------
 2442|      0|            goto finally;
 2443|      0|        }
 2444|      4|    }
 2445|       |
 2446|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2446:9): [True: 0, False: 4]
  ------------------
 2447|      0|        goto finally;
 2448|      0|    }
 2449|       |
 2450|      4|    res = 0;
 2451|       |
 2452|      4|finally:
 2453|      4|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|      4|    return res;
 2455|      4|}
_PyImport_GetBuiltinModuleNames:
 2700|      2|{
 2701|      2|    PyObject *list = PyList_New(0);
 2702|      2|    if (list == NULL) {
  ------------------
  |  Branch (2702:9): [True: 0, False: 2]
  ------------------
 2703|      0|        return NULL;
 2704|      0|    }
 2705|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2706|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2706:28): [True: 76, False: 2]
  ------------------
 2707|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2708|     76|        if (name == NULL) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 76]
  ------------------
 2709|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2710|      0|            return NULL;
 2711|      0|        }
 2712|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2712:13): [True: 0, False: 76]
  ------------------
 2713|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2714|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2715|      0|            return NULL;
 2716|      0|        }
 2717|     76|        Py_DECREF(name);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2718|     76|    }
 2719|      2|    return list;
 2720|      2|}
PyImport_ImportFrozenModuleObject:
 3245|      2|{
 3246|      2|    PyThreadState *tstate = _PyThreadState_GET();
 3247|      2|    PyObject *co, *m, *d = NULL;
 3248|      2|    int err;
 3249|       |
 3250|      2|    struct frozen_info info;
 3251|      2|    frozen_status status = find_frozen(name, &info);
 3252|      2|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3252:9): [True: 0, False: 2]
  |  Branch (3252:39): [True: 0, False: 2]
  ------------------
 3253|      0|        return 0;
 3254|      0|    }
 3255|      2|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3255:14): [True: 0, False: 2]
  ------------------
 3256|      0|        return 0;
 3257|      0|    }
 3258|      2|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3258:14): [True: 0, False: 2]
  ------------------
 3259|      0|        set_frozen_error(status, name);
 3260|      0|        return -1;
 3261|      0|    }
 3262|      2|    co = unmarshal_frozen_code(tstate->interp, &info);
 3263|      2|    if (co == NULL) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 2]
  ------------------
 3264|      0|        return -1;
 3265|      0|    }
 3266|      2|    if (info.is_package) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 2]
  ------------------
 3267|       |        /* Set __path__ to the empty list */
 3268|      0|        PyObject *l;
 3269|      0|        m = import_add_module(tstate, name);
 3270|      0|        if (m == NULL)
  ------------------
  |  Branch (3270:13): [True: 0, False: 0]
  ------------------
 3271|      0|            goto err_return;
 3272|      0|        d = PyModule_GetDict(m);
 3273|      0|        l = PyList_New(0);
 3274|      0|        if (l == NULL) {
  ------------------
  |  Branch (3274:13): [True: 0, False: 0]
  ------------------
 3275|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3276|      0|            goto err_return;
 3277|      0|        }
 3278|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3279|      0|        Py_DECREF(l);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3280|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|      0|        if (err != 0)
  ------------------
  |  Branch (3281:13): [True: 0, False: 0]
  ------------------
 3282|      0|            goto err_return;
 3283|      0|    }
 3284|      2|    d = module_dict_for_exec(tstate, name);
 3285|      2|    if (d == NULL) {
  ------------------
  |  Branch (3285:9): [True: 0, False: 2]
  ------------------
 3286|      0|        goto err_return;
 3287|      0|    }
 3288|      2|    m = exec_code_in_module(tstate, name, d, co);
 3289|      2|    if (m == NULL) {
  ------------------
  |  Branch (3289:9): [True: 0, False: 2]
  ------------------
 3290|      0|        goto err_return;
 3291|      0|    }
 3292|      2|    Py_DECREF(m);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3293|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3294|      2|    PyObject *origname;
 3295|      2|    if (info.origname) {
  ------------------
  |  Branch (3295:9): [True: 2, False: 0]
  ------------------
 3296|      2|        origname = PyUnicode_FromString(info.origname);
 3297|      2|        if (origname == NULL) {
  ------------------
  |  Branch (3297:13): [True: 0, False: 2]
  ------------------
 3298|      0|            goto err_return;
 3299|      0|        }
 3300|      2|    }
 3301|      0|    else {
 3302|      0|        origname = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|      0|    }
 3304|      2|    err = PyDict_SetItemString(d, "__origname__", origname);
 3305|      2|    Py_DECREF(origname);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3306|      2|    if (err != 0) {
  ------------------
  |  Branch (3306:9): [True: 0, False: 2]
  ------------------
 3307|      0|        goto err_return;
 3308|      0|    }
 3309|      2|    Py_DECREF(d);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|      2|    Py_DECREF(co);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|      2|    return 1;
 3312|       |
 3313|      0|err_return:
 3314|      0|    Py_XDECREF(d);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3315|      0|    Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|    return -1;
 3317|      2|}
PyImport_ImportFrozenModule:
 3321|      2|{
 3322|      2|    PyObject *nameobj;
 3323|      2|    int ret;
 3324|      2|    nameobj = PyUnicode_InternFromString(name);
 3325|      2|    if (nameobj == NULL)
  ------------------
  |  Branch (3325:9): [True: 0, False: 2]
  ------------------
 3326|      0|        return -1;
 3327|      2|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3328|      2|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3329|      2|    return ret;
 3330|      2|}
_PyImport_GetImportlibLoader:
 3460|      2|{
 3461|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |  100|      2|    (interp)->imports.importlib
  ------------------
 3462|      2|}
_PyImport_InitDefaultImportFunc:
 3589|      2|{
 3590|       |    // Get the __import__ function
 3591|      2|    PyObject *import_func;
 3592|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3592:9): [True: 0, False: 2]
  ------------------
 3593|      0|        return -1;
 3594|      0|    }
 3595|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  110|      2|    (interp)->imports.import_func
  ------------------
 3596|       |
 3597|       |    // Get the __lazy_import__ function
 3598|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3598:9): [True: 0, False: 2]
  ------------------
 3599|      2|                                &import_func) <= 0) {
 3600|      0|        return -1;
 3601|      0|    }
 3602|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  113|      2|    (interp)->imports.lazy_import_func
  ------------------
 3603|      2|    return 0;
 3604|      2|}
_PyImport_IsDefaultImportFunc:
 3608|   791k|{
 3609|   791k|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  110|   791k|    (interp)->imports.import_func
  ------------------
 3610|   791k|}
_PyImport_IsDefaultLazyImportFunc:
 3614|     42|{
 3615|     42|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  113|     42|    (interp)->imports.lazy_import_func
  ------------------
 3616|     42|}
PyImport_ImportModule:
 3623|    450|{
 3624|    450|    PyObject *pname;
 3625|    450|    PyObject *result;
 3626|       |
 3627|    450|    pname = PyUnicode_FromString(name);
 3628|    450|    if (pname == NULL)
  ------------------
  |  Branch (3628:9): [True: 0, False: 450]
  ------------------
 3629|      0|        return NULL;
 3630|    450|    result = PyImport_Import(pname);
 3631|    450|    Py_DECREF(pname);
  ------------------
  |  |  430|    450|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    450|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    450|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3632|    450|    return result;
 3633|    450|}
_PyImport_LoadLazyImportTstate:
 3890|      6|{
 3891|      6|    PyObject *obj = NULL;
 3892|      6|    PyObject *fromlist = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3893|      6|    PyObject *import_func = NULL;
 3894|      6|    assert(lazy_import != NULL);
 3895|      6|    assert(PyLazyImport_CheckExact(lazy_import));
 3896|       |
 3897|      6|    PyLazyImportObject *lz = (PyLazyImportObject *)lazy_import;
 3898|      6|    PyInterpreterState *interp = tstate->interp;
 3899|       |
 3900|       |    // Acquire the global import lock to serialize reification
 3901|      6|    _PyImport_AcquireLock(interp);
 3902|       |
 3903|       |    // Check if we are already importing this module, if so, then we want to
 3904|       |    // return an error that indicates we've hit a cycle which will indicate
 3905|       |    // the value isn't yet available.
 3906|      6|    PyObject *importing = interp->imports.lazy_importing_modules;
 3907|      6|    if (importing == NULL) {
  ------------------
  |  Branch (3907:9): [True: 2, False: 4]
  ------------------
 3908|      2|        importing = interp->imports.lazy_importing_modules = PySet_New(NULL);
 3909|      2|        if (importing == NULL) {
  ------------------
  |  Branch (3909:13): [True: 0, False: 2]
  ------------------
 3910|      0|            _PyImport_ReleaseLock(interp);
 3911|      0|            return NULL;
 3912|      0|        }
 3913|      2|    }
 3914|       |
 3915|      6|    assert(PyAnySet_CheckExact(importing));
 3916|      6|    int is_loading = _PySet_Contains((PySetObject *)importing, lazy_import);
 3917|      6|    if (is_loading < 0) {
  ------------------
  |  Branch (3917:9): [True: 0, False: 6]
  ------------------
 3918|      0|        _PyImport_ReleaseLock(interp);
 3919|      0|        return NULL;
 3920|      0|    }
 3921|      6|    else if (is_loading == 1) {
  ------------------
  |  Branch (3921:14): [True: 0, False: 6]
  ------------------
 3922|      0|        PyObject *name = _PyLazyImport_GetName(lazy_import);
 3923|      0|        if (name == NULL) {
  ------------------
  |  Branch (3923:13): [True: 0, False: 0]
  ------------------
 3924|      0|            _PyImport_ReleaseLock(interp);
 3925|      0|            return NULL;
 3926|      0|        }
 3927|      0|        PyObject *errmsg = PyUnicode_FromFormat(
 3928|      0|            "cannot import name %R (most likely due to a circular import)",
 3929|      0|            name);
 3930|      0|        if (errmsg == NULL) {
  ------------------
  |  Branch (3930:13): [True: 0, False: 0]
  ------------------
 3931|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3932|      0|            _PyImport_ReleaseLock(interp);
 3933|      0|            return NULL;
 3934|      0|        }
 3935|      0|        PyErr_SetImportErrorSubclass(PyExc_ImportCycleError, errmsg,
 3936|      0|                                     lz->lz_from, NULL);
 3937|      0|        Py_DECREF(errmsg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3938|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3939|      0|        _PyImport_ReleaseLock(interp);
 3940|      0|        return NULL;
 3941|      0|    }
 3942|      6|    else if (PySet_Add(importing, lazy_import) < 0) {
  ------------------
  |  Branch (3942:14): [True: 0, False: 6]
  ------------------
 3943|      0|        goto error;
 3944|      0|    }
 3945|       |
 3946|      6|    Py_ssize_t dot = -1;
 3947|      6|    int full = 0;
 3948|      6|    if (lz->lz_attr != NULL) {
  ------------------
  |  Branch (3948:9): [True: 0, False: 6]
  ------------------
 3949|      0|        full = 1;
 3950|      0|    }
 3951|      6|    if (!full) {
  ------------------
  |  Branch (3951:9): [True: 6, False: 0]
  ------------------
 3952|      6|        dot = PyUnicode_FindChar(lz->lz_from, '.', 0,
 3953|      6|                                 PyUnicode_GET_LENGTH(lz->lz_from), 1);
  ------------------
  |  |  299|      6|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3954|      6|    }
 3955|      6|    if (dot < 0) {
  ------------------
  |  Branch (3955:9): [True: 6, False: 0]
  ------------------
 3956|      6|        full = 1;
 3957|      6|    }
 3958|       |
 3959|      6|    if (lz->lz_attr != NULL) {
  ------------------
  |  Branch (3959:9): [True: 0, False: 6]
  ------------------
 3960|      0|        if (PyUnicode_Check(lz->lz_attr)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3961|      0|            fromlist = PyTuple_New(1);
 3962|      0|            if (fromlist == NULL) {
  ------------------
  |  Branch (3962:17): [True: 0, False: 0]
  ------------------
 3963|      0|                goto error;
 3964|      0|            }
 3965|      0|            Py_INCREF(lz->lz_attr);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|      0|            PyTuple_SET_ITEM(fromlist, 0, lz->lz_attr);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3967|      0|        }
 3968|      0|        else {
 3969|      0|            Py_INCREF(lz->lz_attr);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3970|      0|            fromlist = lz->lz_attr;
 3971|      0|        }
 3972|      0|    }
 3973|       |
 3974|      6|    PyObject *globals = PyEval_GetGlobals();
 3975|       |
 3976|      6|    if (PyMapping_GetOptionalItem(lz->lz_builtins, &_Py_ID(__import__),
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3976:9): [True: 0, False: 6]
  ------------------
 3977|      6|                                  &import_func) < 0) {
 3978|      0|        goto error;
 3979|      0|    }
 3980|      6|    if (import_func == NULL) {
  ------------------
  |  Branch (3980:9): [True: 0, False: 6]
  ------------------
 3981|      0|        PyErr_SetString(PyExc_ImportError, "__import__ not found");
 3982|      0|        goto error;
 3983|      0|    }
 3984|      6|    if (full) {
  ------------------
  |  Branch (3984:9): [True: 6, False: 0]
  ------------------
 3985|      6|        obj = _PyEval_ImportNameWithImport(
 3986|      6|            tstate, import_func, globals, globals,
 3987|      6|            lz->lz_from, fromlist, _PyLong_GetZero()
 3988|      6|        );
 3989|      6|    }
 3990|      0|    else {
 3991|      0|        PyObject *name = PyUnicode_Substring(lz->lz_from, 0, dot);
 3992|      0|        if (name == NULL) {
  ------------------
  |  Branch (3992:13): [True: 0, False: 0]
  ------------------
 3993|      0|            goto error;
 3994|      0|        }
 3995|      0|        obj = _PyEval_ImportNameWithImport(
 3996|      0|            tstate, import_func, globals, globals,
 3997|      0|            name, fromlist, _PyLong_GetZero()
 3998|      0|        );
 3999|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4000|      0|    }
 4001|      6|    if (obj == NULL) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 6]
  ------------------
 4002|      0|        goto error;
 4003|      0|    }
 4004|       |
 4005|      6|    if (lz->lz_attr != NULL && PyUnicode_Check(lz->lz_attr)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4005:9): [True: 0, False: 6]
  ------------------
 4006|      0|        PyObject *from = obj;
 4007|      0|        obj = _PyEval_ImportFrom(tstate, from, lz->lz_attr);
 4008|      0|        Py_DECREF(from);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4009|      0|        if (obj == NULL) {
  ------------------
  |  Branch (4009:13): [True: 0, False: 0]
  ------------------
 4010|      0|            goto error;
 4011|      0|        }
 4012|      0|    }
 4013|       |
 4014|      6|    assert(!PyLazyImport_CheckExact(obj));
 4015|       |
 4016|      6|    goto ok;
 4017|       |
 4018|      0|error:
 4019|      0|    Py_CLEAR(obj);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4020|       |
 4021|       |    // If an error occurred and we have frame information, add it to the
 4022|       |    // exception.
 4023|      0|    if (PyErr_Occurred() && lz->lz_code != NULL && lz->lz_instr_offset >= 0) {
  ------------------
  |  Branch (4023:9): [True: 0, False: 0]
  |  Branch (4023:29): [True: 0, False: 0]
  |  Branch (4023:52): [True: 0, False: 0]
  ------------------
 4024|       |        // Get the current exception - this already has the full traceback
 4025|       |        // from the access point.
 4026|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 4027|       |
 4028|       |        // Get import name - this can fail and set an exception.
 4029|      0|        PyObject *import_name = _PyLazyImport_GetName(lazy_import);
 4030|      0|        if (!import_name) {
  ------------------
  |  Branch (4030:13): [True: 0, False: 0]
  ------------------
 4031|       |            // Failed to get import name, just restore original exception.
 4032|      0|            _PyErr_SetRaisedException(tstate, exc);
 4033|      0|            goto ok;
 4034|      0|        }
 4035|       |
 4036|       |        // Resolve line number from instruction offset on demand.
 4037|      0|        int lineno = PyCode_Addr2Line((PyCodeObject *)lz->lz_code,
 4038|      0|                                      lz->lz_instr_offset*2);
 4039|       |
 4040|       |        // Get strings - these can return NULL on encoding errors.
 4041|      0|        const char *filename_str = PyUnicode_AsUTF8(lz->lz_code->co_filename);
 4042|      0|        if (!filename_str) {
  ------------------
  |  Branch (4042:13): [True: 0, False: 0]
  ------------------
 4043|       |            // Unicode conversion failed - clear error and restore original
 4044|       |            // exception.
 4045|      0|            PyErr_Clear();
 4046|      0|            Py_DECREF(import_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|      0|            _PyErr_SetRaisedException(tstate, exc);
 4048|      0|            goto ok;
 4049|      0|        }
 4050|       |
 4051|      0|        const char *funcname_str = PyUnicode_AsUTF8(lz->lz_code->co_name);
 4052|      0|        if (!funcname_str) {
  ------------------
  |  Branch (4052:13): [True: 0, False: 0]
  ------------------
 4053|       |            // Unicode conversion failed - clear error and restore original
 4054|       |            // exception.
 4055|      0|            PyErr_Clear();
 4056|      0|            Py_DECREF(import_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|      0|            _PyErr_SetRaisedException(tstate, exc);
 4058|      0|            goto ok;
 4059|      0|        }
 4060|       |
 4061|       |        // Create a cause exception showing where the lazy import was declared.
 4062|      0|        PyObject *msg = PyUnicode_FromFormat(
 4063|      0|            "lazy import of '%U' raised an exception during resolution",
 4064|      0|            import_name
 4065|      0|        );
 4066|      0|        Py_DECREF(import_name); // Done with import_name.
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4067|       |
 4068|      0|        if (!msg) {
  ------------------
  |  Branch (4068:13): [True: 0, False: 0]
  ------------------
 4069|       |            // Failed to create message - restore original exception.
 4070|      0|            _PyErr_SetRaisedException(tstate, exc);
 4071|      0|            goto ok;
 4072|      0|        }
 4073|       |
 4074|      0|        PyObject *cause_exc = PyObject_CallOneArg(PyExc_ImportError, msg);
 4075|      0|        Py_DECREF(msg);  // Done with msg.
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4076|       |
 4077|      0|        if (!cause_exc) {
  ------------------
  |  Branch (4077:13): [True: 0, False: 0]
  ------------------
 4078|       |            // Failed to create exception - restore original.
 4079|      0|            _PyErr_SetRaisedException(tstate, exc);
 4080|      0|            goto ok;
 4081|      0|        }
 4082|       |
 4083|       |        // Add traceback entry for the lazy import declaration.
 4084|      0|        _PyErr_SetRaisedException(tstate, cause_exc);
 4085|      0|        _PyTraceback_Add(funcname_str, filename_str, lineno);
 4086|      0|        PyObject *cause_with_tb = _PyErr_GetRaisedException(tstate);
 4087|       |
 4088|       |        // Set the cause on the original exception.
 4089|      0|        PyException_SetCause(exc, cause_with_tb);  // Steals ref to cause_with_tb.
 4090|       |
 4091|       |        // Restore the original exception with its full traceback.
 4092|      0|        _PyErr_SetRaisedException(tstate, exc);
 4093|      0|    }
 4094|       |
 4095|      6|ok:
 4096|      6|    if (PySet_Discard(importing, lazy_import) < 0) {
  ------------------
  |  Branch (4096:9): [True: 0, False: 6]
  ------------------
 4097|      0|        Py_CLEAR(obj);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4098|      0|    }
 4099|       |
 4100|       |    // Release the global import lock.
 4101|      6|    _PyImport_ReleaseLock(interp);
 4102|       |
 4103|      6|    Py_XDECREF(fromlist);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4104|      6|    Py_XDECREF(import_func);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4105|      6|    return obj;
 4106|      0|}
PyImport_ImportModuleLevelObject:
 4188|   792k|{
 4189|   792k|    PyThreadState *tstate = _PyThreadState_GET();
 4190|   792k|    PyObject *abs_name = NULL;
 4191|   792k|    PyObject *final_mod = NULL;
 4192|   792k|    PyObject *mod = NULL;
 4193|   792k|    PyInterpreterState *interp = tstate->interp;
 4194|   792k|    int has_from;
 4195|       |
 4196|   792k|    if (name == NULL) {
  ------------------
  |  Branch (4196:9): [True: 0, False: 792k]
  ------------------
 4197|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4198|      0|        goto error;
 4199|      0|    }
 4200|       |
 4201|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 4202|       |       for added performance. */
 4203|       |
 4204|   792k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   792k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   792k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4204:9): [True: 0, False: 792k]
  ------------------
 4205|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 4206|      0|                         "module name must be a string");
 4207|      0|        goto error;
 4208|      0|    }
 4209|   792k|    if (level < 0) {
  ------------------
  |  Branch (4209:9): [True: 0, False: 792k]
  ------------------
 4210|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4211|      0|        goto error;
 4212|      0|    }
 4213|       |
 4214|   792k|    abs_name = get_abs_name(tstate, name, globals, level);
 4215|   792k|    if (abs_name == NULL) {
  ------------------
  |  Branch (4215:9): [True: 0, False: 792k]
  ------------------
 4216|      0|        goto error;
 4217|      0|    }
 4218|       |
 4219|   792k|    mod = import_get_module(tstate, abs_name);
 4220|   792k|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4220:9): [True: 674, False: 792k]
  |  Branch (4220:24): [True: 0, False: 674]
  ------------------
 4221|      0|        goto error;
 4222|      0|    }
 4223|       |
 4224|   792k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   792k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4224:9): [True: 792k, False: 674]
  |  Branch (4224:24): [True: 792k, False: 0]
  ------------------
 4225|   792k|        if (import_ensure_initialized(tstate->interp, mod, abs_name) < 0) {
  ------------------
  |  Branch (4225:13): [True: 0, False: 792k]
  ------------------
 4226|      0|            goto error;
 4227|      0|        }
 4228|       |        /* Verify the module is still in sys.modules. Another thread may have
 4229|       |           removed it (due to import failure) between our import_get_module()
 4230|       |           call and the _initializing check in import_ensure_initialized().
 4231|       |           If removed, we retry the import to preserve normal semantics: the
 4232|       |           caller gets the exception from the actual import failure rather
 4233|       |           than a synthetic error. */
 4234|   792k|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4235|   792k|        if (mod_check != mod) {
  ------------------
  |  Branch (4235:13): [True: 0, False: 792k]
  ------------------
 4236|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4237:17): [True: 0, False: 0]
  ------------------
 4238|      0|                goto error;
 4239|      0|            }
 4240|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4241|      0|            mod = import_find_and_load(tstate, abs_name);
 4242|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4242:17): [True: 0, False: 0]
  ------------------
 4243|      0|                goto error;
 4244|      0|            }
 4245|      0|        }
 4246|   792k|        else {
 4247|   792k|            Py_DECREF(mod_check);
  ------------------
  |  |  430|   792k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   792k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   792k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4248|   792k|        }
 4249|   792k|    }
 4250|    674|    else {
 4251|    674|        Py_XDECREF(mod);
  ------------------
  |  |  524|    674|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    674|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    674|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|    674|        mod = import_find_and_load(tstate, abs_name);
 4253|    674|        if (mod == NULL) {
  ------------------
  |  Branch (4253:13): [True: 38, False: 636]
  ------------------
 4254|     38|            goto error;
 4255|     38|        }
 4256|    674|    }
 4257|       |
 4258|   792k|    has_from = 0;
 4259|   792k|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|   792k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4259:9): [True: 792k, False: 476]
  |  Branch (4259:29): [True: 790k, False: 1.68k]
  ------------------
 4260|   790k|        has_from = PyObject_IsTrue(fromlist);
 4261|   790k|        if (has_from < 0)
  ------------------
  |  Branch (4261:13): [True: 0, False: 790k]
  ------------------
 4262|      0|            goto error;
 4263|   790k|    }
 4264|   792k|    if (!has_from) {
  ------------------
  |  Branch (4264:9): [True: 3.12k, False: 789k]
  ------------------
 4265|  3.12k|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|  3.12k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|  3.12k|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4266:13): [True: 3.12k, False: 0]
  |  Branch (4266:27): [True: 0, False: 0]
  ------------------
 4267|  3.12k|            Py_ssize_t dot;
 4268|       |
 4269|  3.12k|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4270|  3.12k|            if (dot == -2) {
  ------------------
  |  Branch (4270:17): [True: 0, False: 3.12k]
  ------------------
 4271|      0|                goto error;
 4272|      0|            }
 4273|       |
 4274|  3.12k|            if (dot == -1) {
  ------------------
  |  Branch (4274:17): [True: 2.93k, False: 194]
  ------------------
 4275|       |                /* No dot in module name, simple exit */
 4276|  2.93k|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|  2.93k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4277|  2.93k|                goto error;
 4278|  2.93k|            }
 4279|       |
 4280|    194|            if (level == 0) {
  ------------------
  |  Branch (4280:17): [True: 194, False: 0]
  ------------------
 4281|    194|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4282|    194|                if (front == NULL) {
  ------------------
  |  Branch (4282:21): [True: 0, False: 194]
  ------------------
 4283|      0|                    goto error;
 4284|      0|                }
 4285|       |
 4286|    194|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4287|    194|                Py_DECREF(front);
  ------------------
  |  |  430|    194|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4288|    194|            }
 4289|      0|            else {
 4290|      0|                Py_ssize_t cut_off = len - dot;
 4291|      0|                Py_ssize_t abs_name_len = PyUnicode_GET_LENGTH(abs_name);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4292|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4293|      0|                                                        abs_name_len - cut_off);
 4294|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4294:21): [True: 0, False: 0]
  ------------------
 4295|      0|                    goto error;
 4296|      0|                }
 4297|       |
 4298|      0|                final_mod = import_get_module(tstate, to_return);
 4299|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4299:21): [True: 0, False: 0]
  ------------------
 4300|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4300:25): [True: 0, False: 0]
  ------------------
 4301|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4302|      0|                                      "%R not in sys.modules as expected",
 4303|      0|                                      to_return);
 4304|      0|                    }
 4305|      0|                    Py_DECREF(to_return);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4306|      0|                    goto error;
 4307|      0|                }
 4308|       |
 4309|      0|                Py_DECREF(to_return);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4310|      0|            }
 4311|    194|        }
 4312|      0|        else {
 4313|      0|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4314|      0|        }
 4315|  3.12k|    }
 4316|   789k|    else {
 4317|   789k|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  919|   789k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   789k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   789k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4318|   789k|        if (has_path < 0) {
  ------------------
  |  Branch (4318:13): [True: 0, False: 789k]
  ------------------
 4319|      0|            goto error;
 4320|      0|        }
 4321|   789k|        if (has_path) {
  ------------------
  |  Branch (4321:13): [True: 4.27k, False: 785k]
  ------------------
 4322|  4.27k|            final_mod = PyObject_CallMethodObjArgs(
 4323|  4.27k|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  100|  4.27k|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  919|  4.27k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.27k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.27k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4324|  4.27k|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  110|  4.27k|    (interp)->imports.import_func
  ------------------
 4325|  4.27k|        }
 4326|   785k|        else {
 4327|   785k|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|   785k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   785k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   785k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4328|   785k|        }
 4329|   789k|    }
 4330|       |
 4331|   792k|  error:
 4332|   792k|    Py_XDECREF(abs_name);
  ------------------
  |  |  524|   792k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   792k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   792k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|   792k|    Py_XDECREF(mod);
  ------------------
  |  |  524|   792k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   792k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   792k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4334|   792k|    if (final_mod == NULL) {
  ------------------
  |  Branch (4334:9): [True: 42, False: 792k]
  ------------------
 4335|     42|        remove_importlib_frames(tstate);
 4336|     42|    }
 4337|   792k|    return final_mod;
 4338|   792k|}
_PyImport_TryLoadLazySubmodule:
 4447|   786k|{
 4448|   786k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4449|   786k|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   98|   786k|    (interp)->imports.lazy_pending_submodules
  ------------------
 4450|   786k|    if (lazy_pending == NULL) {
  ------------------
  |  Branch (4450:9): [True: 0, False: 786k]
  ------------------
 4451|      0|        return NULL;
 4452|      0|    }
 4453|       |
 4454|   786k|    PyObject *pending_set;
 4455|   786k|    int rc = PyDict_GetItemRef(lazy_pending, mod_name, &pending_set);
 4456|   786k|    if (rc <= 0) {
  ------------------
  |  Branch (4456:9): [True: 786k, False: 58]
  ------------------
 4457|   786k|        return NULL;
 4458|   786k|    }
 4459|       |
 4460|     58|    int contains = PySet_Contains(pending_set, attr_name);
 4461|     58|    if (contains <= 0) {
  ------------------
  |  Branch (4461:9): [True: 58, False: 0]
  ------------------
 4462|     58|        Py_DECREF(pending_set);
  ------------------
  |  |  430|     58|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4463|     58|        return NULL;
 4464|     58|    }
 4465|       |
 4466|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4467|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4467:9): [True: 0, False: 0]
  ------------------
 4468|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4469|      0|        return NULL;
 4470|      0|    }
 4471|       |
 4472|      0|    PyObject *mod = PyImport_ImportModuleLevelObject(
 4473|      0|        full_name, NULL, NULL, NULL, 0);
 4474|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4474:9): [True: 0, False: 0]
  ------------------
 4475|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4476|      0|        Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4477|      0|        return NULL;
 4478|      0|    }
 4479|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4480|       |
 4481|      0|    if (PySet_Discard(pending_set, attr_name) < 0) {
  ------------------
  |  Branch (4481:9): [True: 0, False: 0]
  ------------------
 4482|      0|        Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4483|      0|        Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4484|      0|        return NULL;
 4485|      0|    }
 4486|      0|    Py_DECREF(pending_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4487|       |
 4488|      0|    PyObject *submod = PyImport_GetModule(full_name);
 4489|      0|    Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      0|    return submod;
 4491|      0|}
_PyImport_LazyImportModuleLevelObject:
 4498|     42|{
 4499|     42|    assert(name != NULL);
 4500|     42|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     42|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4500:9): [True: 0, False: 42]
  ------------------
 4501|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4502|      0|                      "module name must be a string, got %T", name);
 4503|      0|        return NULL;
 4504|      0|    }
 4505|     42|    if (level < 0) {
  ------------------
  |  Branch (4505:9): [True: 0, False: 42]
  ------------------
 4506|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4507|      0|        return NULL;
 4508|      0|    }
 4509|       |
 4510|     42|    PyObject *abs_name = get_abs_name(tstate, name, globals, level);
 4511|     42|    if (abs_name == NULL) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 42]
  ------------------
 4512|      0|        return NULL;
 4513|      0|    }
 4514|       |
 4515|     42|    PyInterpreterState *interp = tstate->interp;
 4516|     42|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4517|     42|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4517:9): [True: 0, False: 42]
  |  Branch (4517:26): [True: 0, False: 42]
  ------------------
 4518|      0|        Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4519|      0|        PyErr_SetString(PyExc_SyntaxError,
 4520|      0|                        "'lazy import' is only allowed at module level");
 4521|      0|        return NULL;
 4522|      0|    }
 4523|       |
 4524|       |    // Check if the filter disables the lazy import.
 4525|       |    // We must hold a reference to the filter while calling it to prevent
 4526|       |    // use-after-free if another thread replaces it via
 4527|       |    // PyImport_SetLazyImportsFilter.
 4528|     42|    LAZY_IMPORTS_LOCK(interp);
 4529|     42|    PyObject *filter = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  551|     42|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4530|     42|    LAZY_IMPORTS_UNLOCK(interp);
 4531|       |
 4532|     42|    if (filter != NULL) {
  ------------------
  |  Branch (4532:9): [True: 0, False: 42]
  ------------------
 4533|      0|        PyObject *modname;
 4534|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4534:13): [True: 0, False: 0]
  ------------------
 4535|      0|            Py_DECREF(filter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4536|      0|            Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4537|      0|            return NULL;
 4538|      0|        }
 4539|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4539:13): [True: 0, False: 0]
  ------------------
 4540|      0|            assert(!PyErr_Occurred());
 4541|      0|            modname = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4542|      0|        }
 4543|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4543:13): [True: 0, False: 0]
  ------------------
 4544|      0|            assert(!PyErr_Occurred());
 4545|      0|            fromlist = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|      0|        }
 4547|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4548|      0|        PyObject *res = PyObject_Vectorcall(filter, args, 3, NULL);
 4549|       |
 4550|      0|        Py_DECREF(modname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4551|      0|        Py_DECREF(filter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4552|       |
 4553|      0|        if (res == NULL) {
  ------------------
  |  Branch (4553:13): [True: 0, False: 0]
  ------------------
 4554|      0|            Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4555|      0|            return NULL;
 4556|      0|        }
 4557|       |
 4558|      0|        int is_true = PyObject_IsTrue(res);
 4559|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|       |
 4561|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4561:13): [True: 0, False: 0]
  ------------------
 4562|      0|            Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|      0|            return NULL;
 4564|      0|        }
 4565|      0|        if (!is_true) {
  ------------------
  |  Branch (4565:13): [True: 0, False: 0]
  ------------------
 4566|      0|            Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4567|      0|            return PyImport_ImportModuleLevelObject(
 4568|      0|                name, globals, locals, fromlist, level
 4569|      0|            );
 4570|      0|        }
 4571|      0|    }
 4572|       |
 4573|       |    // here, 'filter' is either NULL or is equivalent to a borrowed reference
 4574|     42|    PyObject *res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4575|     42|    if (res == NULL) {
  ------------------
  |  Branch (4575:9): [True: 0, False: 42]
  ------------------
 4576|      0|        Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4577|      0|        return NULL;
 4578|      0|    }
 4579|       |
 4580|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4581|     42|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   96|     42|    (interp)->imports.lazy_modules
  ------------------
 4582|     42|    if (PySet_Add(lazy_modules, abs_name) < 0) {
  ------------------
  |  Branch (4582:9): [True: 0, False: 42]
  ------------------
 4583|      0|        goto error;
 4584|      0|    }
 4585|       |
 4586|     42|    if (fromlist && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  103|     42|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4586:9): [True: 42, False: 0]
  ------------------
 4587|      0|        if (register_from_lazy_on_parent(tstate, abs_name, fromlist) < 0) {
  ------------------
  |  Branch (4587:13): [True: 0, False: 0]
  ------------------
 4588|      0|            goto error;
 4589|      0|        }
 4590|      0|    }
 4591|     42|    else if (fromlist && PyTuple_Check(fromlist) &&
  ------------------
  |  |   27|     42|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     84|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4591:14): [True: 42, False: 0]
  ------------------
 4592|     12|             PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|     12|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 12, False: 0]
  |  |  ------------------
  ------------------
 4593|     32|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(fromlist); i++) {
  ------------------
  |  |   27|     32|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4593:32): [True: 20, False: 12]
  ------------------
 4594|     20|            if (register_from_lazy_on_parent(tstate, abs_name,
  ------------------
  |  Branch (4594:17): [True: 0, False: 20]
  ------------------
 4595|     20|                                             PyTuple_GET_ITEM(fromlist, i)) < 0)
  ------------------
  |  |   29|     20|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     20|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4596|      0|            {
 4597|      0|                goto error;
 4598|      0|            }
 4599|     20|        }
 4600|     12|    }
 4601|     30|    else if (register_lazy_on_parent(tstate, abs_name) < 0) {
  ------------------
  |  Branch (4601:14): [True: 0, False: 30]
  ------------------
 4602|      0|        goto error;
 4603|      0|    }
 4604|       |
 4605|     42|    Py_DECREF(abs_name);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4606|     42|    return res;
 4607|      0|error:
 4608|      0|    Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|      0|    Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4610|       |    return NULL;
 4611|     42|}
PyImport_ImportModuleLevel:
 4616|     16|{
 4617|     16|    PyObject *nameobj, *mod;
 4618|     16|    nameobj = PyUnicode_FromString(name);
 4619|     16|    if (nameobj == NULL)
  ------------------
  |  Branch (4619:9): [True: 0, False: 16]
  ------------------
 4620|      0|        return NULL;
 4621|     16|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4622|     16|                                           fromlist, level);
 4623|     16|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4624|     16|    return mod;
 4625|     16|}
PyImport_Import:
 4664|    964|{
 4665|    964|    PyThreadState *tstate = _PyThreadState_GET();
 4666|    964|    PyObject *globals = NULL;
 4667|    964|    PyObject *import = NULL;
 4668|    964|    PyObject *builtins = NULL;
 4669|    964|    PyObject *r = NULL;
 4670|       |
 4671|    964|    PyObject *from_list = PyList_New(0);
 4672|    964|    if (from_list == NULL) {
  ------------------
  |  Branch (4672:9): [True: 0, False: 964]
  ------------------
 4673|      0|        goto err;
 4674|      0|    }
 4675|       |
 4676|       |    /* Get the builtins from current globals */
 4677|    964|    globals = PyEval_GetGlobals();  // borrowed
 4678|    964|    if (globals != NULL) {
  ------------------
  |  Branch (4678:9): [True: 948, False: 16]
  ------------------
 4679|    948|        Py_INCREF(globals);
  ------------------
  |  |  310|    948|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    948|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    948|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4681|    948|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  919|    948|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    948|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    948|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|    948|        if (builtins == NULL) {
  ------------------
  |  Branch (4682:13): [True: 0, False: 948]
  ------------------
 4683|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4684|      0|            goto err;
 4685|      0|        }
 4686|    948|    }
 4687|     16|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4687:14): [True: 0, False: 16]
  ------------------
 4688|      0|        goto err;
 4689|      0|    }
 4690|     16|    else {
 4691|       |        /* No globals -- use standard builtins, and fake globals */
 4692|     16|        globals = PyDict_New();
 4693|     16|        if (globals == NULL) {
  ------------------
  |  Branch (4693:13): [True: 0, False: 16]
  ------------------
 4694|      0|            goto err;
 4695|      0|        }
 4696|     16|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4696:13): [True: 0, False: 16]
  ------------------
 4697|      0|            goto err;
 4698|      0|        }
 4699|     16|    }
 4700|       |
 4701|       |    /* Get the __import__ function from the builtins */
 4702|    964|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|    964|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    964|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 948, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4703|    948|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  919|    948|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    948|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    948|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4704|    948|        if (import == NULL) {
  ------------------
  |  Branch (4704:13): [True: 0, False: 948]
  ------------------
 4705|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4706|      0|        }
 4707|    948|    }
 4708|     16|    else
 4709|     16|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  919|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4710|    964|    if (import == NULL)
  ------------------
  |  Branch (4710:9): [True: 0, False: 964]
  ------------------
 4711|      0|        goto err;
 4712|       |
 4713|       |    /* Call the __import__ function with the proper argument list
 4714|       |       Always use absolute import here.
 4715|       |       Calling for side-effect of import. */
 4716|    964|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4717|    964|                              globals, from_list, 0, NULL);
 4718|    964|    if (r == NULL)
  ------------------
  |  Branch (4718:9): [True: 0, False: 964]
  ------------------
 4719|      0|        goto err;
 4720|    964|    Py_DECREF(r);
  ------------------
  |  |  430|    964|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4721|       |
 4722|    964|    r = import_get_module(tstate, module_name);
 4723|    964|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4723:9): [True: 0, False: 964]
  |  Branch (4723:22): [True: 0, False: 0]
  ------------------
 4724|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4725|      0|    }
 4726|       |
 4727|    964|  err:
 4728|    964|    Py_XDECREF(globals);
  ------------------
  |  |  524|    964|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4729|    964|    Py_XDECREF(builtins);
  ------------------
  |  |  524|    964|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4730|    964|    Py_XDECREF(import);
  ------------------
  |  |  524|    964|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4731|    964|    Py_XDECREF(from_list);
  ------------------
  |  |  524|    964|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4732|       |
 4733|    964|    return r;
 4734|    964|}
_PyImport_Init:
 4743|      2|{
 4744|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4744:9): [True: 0, False: 2]
  ------------------
 4745|      0|        return _PyStatus_ERR("global import state already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4746|      0|    }
 4747|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4747:9): [True: 0, False: 2]
  ------------------
 4748|      0|        return PyStatus_NoMemory();
 4749|      0|    }
 4750|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4751|      2|}
_PyImport_InitCore:
 4783|      2|{
 4784|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4785|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4786|       |
 4787|      2|    if (importlib) {
  ------------------
  |  Branch (4787:9): [True: 2, False: 0]
  ------------------
 4788|       |        /* This call sets up builtin and frozen import support */
 4789|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4789:13): [True: 0, False: 2]
  ------------------
 4790|      0|            return _PyStatus_ERR("failed to initialize importlib");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4791|      0|        }
 4792|      2|    }
 4793|       |
 4794|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4795|      2|}
_PyImport_InitExternal:
 4889|      2|{
 4890|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4891|       |
 4892|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4893|       |
 4894|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4894:9): [True: 0, False: 2]
  ------------------
 4895|      0|        _PyErr_Print(tstate);
 4896|      0|        return _PyStatus_ERR("external importer setup failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4897|      0|    }
 4898|       |
 4899|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4899:9): [True: 0, False: 2]
  ------------------
 4900|      0|        PyErr_Print();
 4901|      0|        return _PyStatus_ERR("initializing zipimport failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4902|      0|    }
 4903|       |
 4904|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4905|      2|}
PyImport_ImportModuleAttr:
 4931|    514|{
 4932|    514|    PyObject *mod = PyImport_Import(modname);
 4933|    514|    if (mod == NULL) {
  ------------------
  |  Branch (4933:9): [True: 0, False: 514]
  ------------------
 4934|      0|        return NULL;
 4935|      0|    }
 4936|    514|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4937|    514|    Py_DECREF(mod);
  ------------------
  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4938|    514|    return result;
 4939|    514|}
PyImport_ImportModuleAttrString:
 4943|    514|{
 4944|    514|    PyObject *pmodname = PyUnicode_FromString(modname);
 4945|    514|    if (pmodname == NULL) {
  ------------------
  |  Branch (4945:9): [True: 0, False: 514]
  ------------------
 4946|      0|        return NULL;
 4947|      0|    }
 4948|    514|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4949|    514|    if (pattrname == NULL) {
  ------------------
  |  Branch (4949:9): [True: 0, False: 514]
  ------------------
 4950|      0|        Py_DECREF(pmodname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4951|      0|        return NULL;
 4952|      0|    }
 4953|    514|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4954|    514|    Py_DECREF(pattrname);
  ------------------
  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4955|    514|    Py_DECREF(pmodname);
  ------------------
  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4956|    514|    return result;
 4957|    514|}
PyImport_GetLazyImportsMode:
 5007|  3.55k|{
 5008|  3.55k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5009|  3.55k|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  186|  3.55k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 5010|  3.55k|}
PyInit__imp:
 5698|      2|{
 5699|      2|    return PyModuleDef_Init(&imp_module);
 5700|      2|}
import.c:get_modules_dict:
  217|  1.60M|{
  218|       |    /* Technically, it would make sense to incref the dict,
  219|       |     * since sys.modules could be swapped out and decref'ed to 0
  220|       |     * before the caller is done using it.  However, that is highly
  221|       |     * unlikely, especially since we can rely on a global lock
  222|       |     * (i.e. the GIL) for thread-safety. */
  223|  1.60M|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   92|  1.60M|    (interp)->imports.modules
  ------------------
  224|  1.60M|    if (modules == NULL) {
  ------------------
  |  Branch (224:9): [True: 0, False: 1.60M]
  ------------------
  225|      0|        if (fatal) {
  ------------------
  |  Branch (225:13): [True: 0, False: 0]
  ------------------
  226|      0|            Py_FatalError("interpreter has no modules dictionary");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  227|      0|        }
  228|      0|        _PyErr_SetString(tstate, PyExc_RuntimeError,
  229|      0|                         "unable to get sys.modules");
  230|      0|        return NULL;
  231|      0|    }
  232|  1.60M|    return modules;
  233|  1.60M|}
import.c:import_get_module:
  260|  1.60M|{
  261|  1.60M|    PyObject *modules = get_modules_dict(tstate, false);
  262|  1.60M|    if (modules == NULL) {
  ------------------
  |  Branch (262:9): [True: 0, False: 1.60M]
  ------------------
  263|      0|        return NULL;
  264|      0|    }
  265|       |
  266|  1.60M|    PyObject *m;
  267|  1.60M|    Py_INCREF(modules);
  ------------------
  |  |  310|  1.60M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|  1.60M|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  269|  1.60M|    Py_DECREF(modules);
  ------------------
  |  |  430|  1.60M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|  1.60M|    return m;
  271|  1.60M|}
import.c:import_ensure_initialized:
  293|   800k|{
  294|   800k|    PyObject *spec;
  295|       |
  296|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  297|       |       __spec__._initializing is true.
  298|       |       NOTE: because of this, initializing must be set *before*
  299|       |       stuffing the new module in sys.modules.
  300|       |    */
  301|   800k|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  919|   800k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   800k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   800k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|   800k|    if (rc > 0) {
  ------------------
  |  Branch (302:9): [True: 800k, False: 0]
  ------------------
  303|   800k|        rc = _PyModuleSpec_IsInitializing(spec);
  304|   800k|        Py_DECREF(spec);
  ------------------
  |  |  430|   800k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   800k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   800k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|   800k|    }
  306|   800k|    if (rc == 0) {
  ------------------
  |  Branch (306:9): [True: 800k, False: 554]
  ------------------
  307|   800k|        goto done;
  308|   800k|    }
  309|    554|    else if (rc < 0) {
  ------------------
  |  Branch (309:14): [True: 0, False: 554]
  ------------------
  310|      0|        return rc;
  311|      0|    }
  312|       |
  313|       |    /* Wait until module is done importing. */
  314|    554|    PyObject *value = PyObject_CallMethodOneArg(
  315|    554|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  100|    554|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  919|    554|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    554|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    554|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|    554|    if (value == NULL) {
  ------------------
  |  Branch (316:9): [True: 0, False: 554]
  ------------------
  317|      0|        return -1;
  318|      0|    }
  319|    554|    Py_DECREF(value);
  ------------------
  |  |  430|    554|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    554|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    554|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|       |
  321|   800k|done:
  322|       |    /* When -X importtime=2, print an import time entry even if an
  323|       |       imported module has already been loaded.
  324|       |     */
  325|   800k|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (325:9): [True: 0, False: 800k]
  ------------------
  326|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  137|      0|    do {                                                                      \
  |  |  138|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (138:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  139|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  140|      0|                  stderr);                                                    \
  |  |  141|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  142|      0|        }                                                                     \
  |  |  143|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (143:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  327|      0|#define import_level FIND_AND_LOAD(interp).import_level
  328|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  329|      0|                import_level*2, PyUnicode_AsUTF8(name));
  ------------------
  |  |  327|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  330|      0|#undef import_level
  331|      0|    }
  332|       |
  333|   800k|    return 0;
  334|    554|}
import.c:import_add_module:
  403|     10|{
  404|     10|    PyObject *modules = get_modules_dict(tstate, false);
  405|     10|    if (modules == NULL) {
  ------------------
  |  Branch (405:9): [True: 0, False: 10]
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|       |
  409|     10|    PyObject *m;
  410|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  411|     10|    m = import_add_module_lock_held(modules, name);
  412|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  413|     10|    return m;
  414|     10|}
import.c:import_add_module_lock_held:
  381|     10|{
  382|     10|    PyObject *m;
  383|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (383:9): [True: 0, False: 10]
  ------------------
  384|      0|        return NULL;
  385|      0|    }
  386|     10|    if (m != NULL && PyModule_Check(m)) {
  ------------------
  |  |   12|      6|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      6|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (386:9): [True: 6, False: 4]
  ------------------
  387|      6|        return m;
  388|      6|    }
  389|      4|    Py_XDECREF(m);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|      4|    m = PyModule_NewObject(name);
  391|      4|    if (m == NULL)
  ------------------
  |  Branch (391:9): [True: 0, False: 4]
  ------------------
  392|      0|        return NULL;
  393|      4|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (393:9): [True: 0, False: 4]
  ------------------
  394|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|       |
  398|      4|    return m;
  399|      4|}
import.c:_modules_by_index_set:
  581|      4|{
  582|      4|    assert(index > 0);
  583|       |
  584|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   94|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (584:9): [True: 2, False: 2]
  ------------------
  585|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   94|      2|    (interp)->imports.modules_by_index
  ------------------
  586|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   94|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (586:13): [True: 0, False: 2]
  ------------------
  587|      0|            return -1;
  588|      0|        }
  589|      2|    }
  590|       |
  591|     14|    while (PyList_GET_SIZE(MODULES_BY_INDEX(interp)) <= index) {
  ------------------
  |  |   38|     14|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (591:12): [True: 10, False: 4]
  ------------------
  592|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   94|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (592:13): [True: 0, False: 10]
  ------------------
  593|      0|            return -1;
  594|      0|        }
  595|     10|    }
  596|       |
  597|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   94|      4|    (interp)->imports.modules_by_index
  ------------------
                  return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |  550|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      4|}
import.c:_get_cached_module_index:
 1126|      4|{
 1127|       |    assert(cached->m_index > 0);
 1128|      4|    return cached->m_index;
 1129|      4|}
import.c:switch_to_main_interpreter:
 1670|    110|{
 1671|    110|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1671:9): [True: 110, False: 0]
  ------------------
 1672|    110|        return tstate;
 1673|    110|    }
 1674|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1675|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1676|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1676:9): [True: 0, False: 0]
  ------------------
 1677|      0|        return NULL;
 1678|      0|    }
 1679|       |#ifndef NDEBUG
 1680|       |    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1681|       |    assert(old_tstate == tstate);
 1682|       |#else
 1683|      0|    (void)PyThreadState_Swap(main_tstate);
 1684|      0|#endif
 1685|      0|    return main_tstate;
 1686|      0|}
import.c:extensions_lock_acquire:
 1039|    120|{
 1040|    120|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|    120|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1041|    120|}
import.c:_extensions_cache_find_unlocked:
 1388|    120|{
 1389|    120|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|    120|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1389:9): [True: 2, False: 118]
  ------------------
 1390|      2|        return NULL;
 1391|      2|    }
 1392|    118|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1365|    118|#define HTSEP ':'
  ------------------
 1393|    118|    if (key == NULL) {
  ------------------
  |  Branch (1393:9): [True: 0, False: 118]
  ------------------
 1394|      0|        return NULL;
 1395|      0|    }
 1396|    118|    _Py_hashtable_entry_t *entry =
 1397|    118|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   82|    118|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1398|    118|    if (p_key != NULL) {
  ------------------
  |  Branch (1398:9): [True: 4, False: 114]
  ------------------
 1399|      4|        *p_key = key;
 1400|      4|    }
 1401|    114|    else {
 1402|    114|        hashtable_destroy_str(key);
 1403|    114|    }
 1404|    118|    return entry;
 1405|    118|}
import.c:hashtable_key_from_2_strings:
 1284|    118|{
 1285|    118|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1286|    118|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1287|    118|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1287:9): [True: 0, False: 118]
  |  Branch (1287:30): [True: 0, False: 118]
  ------------------
 1288|      0|        return NULL;
 1289|      0|    }
 1290|    118|    Py_ssize_t str1_len = strlen(str1_data);
 1291|    118|    Py_ssize_t str2_len = strlen(str2_data);
 1292|       |
 1293|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1294|    118|    assert(SIZE_MAX - str1_len - str2_len > 2);
 1295|    118|    size_t size = str1_len + 1 + str2_len + 1;
 1296|       |
 1297|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1298|    118|    char *key = PyMem_RawMalloc(size);
 1299|    118|    if (key == NULL) {
  ------------------
  |  Branch (1299:9): [True: 0, False: 118]
  ------------------
 1300|      0|        PyErr_NoMemory();
 1301|      0|        return NULL;
 1302|      0|    }
 1303|       |
 1304|    118|    memcpy(key, str1_data, str1_len);
 1305|    118|    key[str1_len] = sep;
 1306|    118|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1307|    118|    key[size - 1] = '\0';
 1308|       |    assert(strlen(key) == size - 1);
 1309|    118|    return key;
 1310|    118|}
import.c:hashtable_destroy_str:
 1326|    114|{
 1327|    114|    PyMem_RawFree(ptr);
 1328|    114|}
import.c:extensions_lock_release:
 1045|    120|{
 1046|    120|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|    120|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1047|    120|}
import.c:_extensions_cache_get:
 1410|    116|{
 1411|    116|    struct extensions_cache_value *value = NULL;
 1412|    116|    extensions_lock_acquire();
 1413|       |
 1414|    116|    _Py_hashtable_entry_t *entry =
 1415|    116|            _extensions_cache_find_unlocked(path, name, NULL);
 1416|    116|    if (entry == NULL) {
  ------------------
  |  Branch (1416:9): [True: 116, False: 0]
  ------------------
 1417|       |        /* It was never added. */
 1418|    116|        goto finally;
 1419|    116|    }
 1420|      0|    value = (struct extensions_cache_value *)entry->value;
 1421|       |
 1422|    116|finally:
 1423|    116|    extensions_lock_release();
 1424|    116|    return value;
 1425|      0|}
import.c:update_global_state_for_extension:
 1824|      4|{
 1825|      4|    struct extensions_cache_value *cached = NULL;
 1826|      4|    PyModInitFunction m_init = NULL;
 1827|      4|    PyObject *m_dict = NULL;
 1828|       |
 1829|       |    /* Set up for _extensions_cache_set(). */
 1830|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 4]
  ------------------
 1831|      0|        assert(def->m_base.m_init == NULL);
 1832|      0|        assert(def->m_base.m_copy == NULL);
 1833|      0|    }
 1834|      4|    else {
 1835|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1835:13): [True: 0, False: 4]
  ------------------
 1836|      0|            assert(singlephase->m_dict == NULL);
 1837|      0|            assert(def->m_base.m_copy == NULL);
 1838|      0|            assert(def->m_size >= 0);
 1839|       |            /* Remember pointer to module init function. */
 1840|       |            // XXX If two modules share a def then def->m_base will
 1841|       |            // reflect the last one added (here) to the global cache.
 1842|       |            // We should prevent this somehow.  The simplest solution
 1843|       |            // is probably to store m_copy/m_init in the cache along
 1844|       |            // with the def, rather than within the def.
 1845|      0|            m_init = singlephase->m_init;
 1846|      0|        }
 1847|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1847:18): [True: 4, False: 0]
  ------------------
 1848|       |            /* It must be a core builtin module. */
 1849|      4|            assert(is_core_module(tstate->interp, name, path));
 1850|      4|            assert(def->m_size == -1);
 1851|      4|            assert(def->m_base.m_copy == NULL);
 1852|      4|            assert(def->m_base.m_init == NULL);
 1853|      4|        }
 1854|      0|        else {
 1855|      0|            assert(PyDict_Check(singlephase->m_dict));
 1856|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1857|       |            // when the extension module doesn't support sub-interpreters.
 1858|      0|            assert(def->m_size == -1);
 1859|      0|            assert(!is_core_module(tstate->interp, name, path));
 1860|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
 1861|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
 1862|      0|            m_dict = singlephase->m_dict;
 1863|      0|        }
 1864|      4|    }
 1865|       |
 1866|       |    /* Add the module's def to the global cache. */
 1867|       |    // XXX Why special-case the main interpreter?
 1868|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1868:9): [True: 4, False: 0]
  |  Branch (1868:50): [True: 0, False: 0]
  ------------------
 1869|       |#ifndef NDEBUG
 1870|       |        cached = _extensions_cache_get(path, name);
 1871|       |        assert(cached == NULL || cached->def == def);
 1872|       |#endif
 1873|      4|        cached = _extensions_cache_set(
 1874|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1875|      4|                singlephase->origin, singlephase->md_requires_gil);
 1876|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1876:13): [True: 0, False: 4]
  ------------------
 1877|       |            // XXX Ignore this error?  Doing so would effectively
 1878|       |            // mark the module as not loadable.
 1879|      0|            return NULL;
 1880|      0|        }
 1881|      4|    }
 1882|       |
 1883|      4|    return cached;
 1884|      4|}
import.c:_extensions_cache_set:
 1433|      4|{
 1434|      4|    struct extensions_cache_value *value = NULL;
 1435|      4|    void *key = NULL;
 1436|      4|    struct extensions_cache_value *newvalue = NULL;
 1437|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1438|       |
 1439|      4|    assert(def != NULL);
 1440|      4|    assert(m_init == NULL || m_dict == NULL);
 1441|       |    /* We expect the same symbol to be used and the shared object file
 1442|       |     * to have remained loaded, so it must be the same pointer. */
 1443|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
 1444|       |    /* For now we don't worry about comparing value->m_copy. */
 1445|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
 1446|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
 1447|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
 1448|       |
 1449|      4|    extensions_lock_acquire();
 1450|       |
 1451|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1451:9): [True: 2, False: 2]
  ------------------
 1452|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 2]
  ------------------
 1453|      0|            goto finally;
 1454|      0|        }
 1455|      2|    }
 1456|       |
 1457|       |    /* Create a cached value to populate for the module. */
 1458|      4|    _Py_hashtable_entry_t *entry =
 1459|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1460|      4|    value = entry == NULL
  ------------------
  |  Branch (1460:13): [True: 4, False: 0]
  ------------------
 1461|      4|        ? NULL
 1462|      4|        : (struct extensions_cache_value *)entry->value;
 1463|      4|    if (value != NULL) {
  ------------------
  |  Branch (1463:9): [True: 0, False: 4]
  ------------------
 1464|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1465|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1466|       |         * (That function presumably handles returning a partially
 1467|       |         *  constructed module in such a case.)
 1468|       |         * We can reuse the existing cache value; it is owned by the cache.
 1469|       |         * (Entries get removed from it in exceptional circumstances,
 1470|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1471|       |         */
 1472|      0|        goto finally_oldvalue;
 1473|      0|    }
 1474|      4|    newvalue = alloc_extensions_cache_value();
 1475|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1475:9): [True: 0, False: 4]
  ------------------
 1476|      0|        goto finally;
 1477|      0|    }
 1478|       |
 1479|       |    /* Populate the new cache value data. */
 1480|      4|    *newvalue = (struct extensions_cache_value){
 1481|      4|        .def=def,
 1482|      4|        .m_init=m_init,
 1483|      4|        .m_index=m_index,
 1484|       |        /* m_dict is set by set_cached_m_dict(). */
 1485|      4|        .origin=origin,
 1486|       |#ifdef Py_GIL_DISABLED
 1487|       |        .md_requires_gil=requires_gil,
 1488|       |#endif
 1489|      4|    };
 1490|      4|#ifndef Py_GIL_DISABLED
 1491|      4|    (void)requires_gil;
 1492|      4|#endif
 1493|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1493:9): [True: 0, False: 4]
  ------------------
 1494|      0|        goto finally;
 1495|      0|    }
 1496|      4|    fixup_cached_def(newvalue);
 1497|       |
 1498|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1498:9): [True: 4, False: 0]
  ------------------
 1499|       |        /* It was never added. */
 1500|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1500:13): [True: 0, False: 4]
  ------------------
 1501|      0|            PyErr_NoMemory();
 1502|      0|            goto finally;
 1503|      0|        }
 1504|       |        /* The hashtable owns the key now. */
 1505|      4|        key = NULL;
 1506|      4|    }
 1507|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1507:14): [True: 0, False: 0]
  ------------------
 1508|       |        /* It was previously deleted. */
 1509|      0|        entry->value = newvalue;
 1510|      0|    }
 1511|      0|    else {
 1512|       |        /* We are updating the entry for an existing module. */
 1513|       |        /* We expect def to be static, so it must be the same pointer. */
 1514|      0|        assert(value->def == def);
 1515|       |        /* We expect the same symbol to be used and the shared object file
 1516|       |         * to have remained loaded, so it must be the same pointer. */
 1517|      0|        assert(value->m_init == m_init);
 1518|       |        /* The same module can't switch between caching __dict__ and not. */
 1519|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
 1520|       |        /* This shouldn't ever happen. */
 1521|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1522|      0|    }
 1523|       |
 1524|      4|    value = newvalue;
 1525|       |
 1526|      4|finally:
 1527|      4|    if (value == NULL) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 4]
  ------------------
 1528|      0|        restore_old_cached_def(def, &olddefbase);
 1529|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1529:13): [True: 0, False: 0]
  ------------------
 1530|      0|            del_extensions_cache_value(newvalue);
 1531|      0|        }
 1532|      0|    }
 1533|      4|    else {
 1534|      4|        cleanup_old_cached_def(&olddefbase);
 1535|      4|    }
 1536|       |
 1537|      4|finally_oldvalue:
 1538|      4|    extensions_lock_release();
 1539|      4|    if (key != NULL) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 4]
  ------------------
 1540|      0|        hashtable_destroy_str(key);
 1541|      0|    }
 1542|       |
 1543|      4|    return value;
 1544|      4|}
import.c:_extensions_cache_init:
 1369|      2|{
 1370|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1371|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1372|      2|        hashtable_hash_str,
 1373|      2|        hashtable_compare_str,
 1374|      2|        hashtable_destroy_str,  // key
 1375|      2|        del_extensions_cache_value,  // value
 1376|      2|        &alloc
 1377|      2|    );
 1378|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1378:9): [True: 0, False: 2]
  ------------------
 1379|      0|        PyErr_NoMemory();
 1380|      0|        return -1;
 1381|      0|    }
 1382|      2|    return 0;
 1383|      2|}
import.c:hashtable_hash_str:
 1314|    122|{
 1315|    122|    return Py_HashBuffer(key, strlen((const char *)key));
 1316|    122|}
import.c:alloc_extensions_cache_value:
 1107|      4|{
 1108|      4|    struct extensions_cache_value *value
 1109|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1110|      4|    if (value == NULL) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 4]
  ------------------
 1111|      0|        PyErr_NoMemory();
 1112|      0|        return NULL;
 1113|      0|    }
 1114|      4|    *value = (struct extensions_cache_value){0};
 1115|      4|    return value;
 1116|      4|}
import.c:init_cached_m_dict:
 1194|      4|{
 1195|      4|    assert(value != NULL);
 1196|       |    /* This should only have been called without an m_dict already set. */
 1197|      4|    assert(value->m_dict == NULL);
 1198|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1198:9): [True: 4, False: 0]
  ------------------
 1199|      4|        return 0;
 1200|      4|    }
 1201|      4|    assert(PyDict_Check(m_dict));
 1202|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
 1203|       |
 1204|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1205|      0|    assert(!is_interpreter_isolated(interp));
 1206|       |
 1207|       |    /* XXX gh-88216: The copied dict is owned by the current
 1208|       |     * interpreter.  That's a problem if the interpreter has
 1209|       |     * its own obmalloc state or if the module is successfully
 1210|       |     * imported into such an interpreter.  If the interpreter
 1211|       |     * has its own GIL then there may be data races and
 1212|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1213|       |     * a single-phase init module cannot be imported in an
 1214|       |     * isolated interpreter, but there are ways around that.
 1215|       |     * Hence, heere be dragons!  Ideally we would instead do
 1216|       |     * something like make a read-only, immortal copy of the
 1217|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1218|       |     * Then we'd need to make sure to clear that when the
 1219|       |     * runtime is finalized, rather than in
 1220|       |     * PyImport_ClearModulesByIndex(). */
 1221|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1222|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 0]
  ------------------
 1223|       |        /* We expect this can only be "out of memory". */
 1224|      0|        return -1;
 1225|      0|    }
 1226|       |    // XXX We may want to make the copy immortal.
 1227|       |
 1228|      0|    value->_m_dict = (struct cached_m_dict){
 1229|      0|        .copied=copied,
 1230|      0|        .interpid=PyInterpreterState_GetID(interp),
 1231|      0|    };
 1232|       |
 1233|      0|    value->m_dict = &value->_m_dict;
 1234|      0|    return 0;
 1235|      0|}
import.c:fixup_cached_def:
 1133|      4|{
 1134|       |    /* For the moment, the values in the def's m_base may belong
 1135|       |     * to another module, and we're replacing them here.  This can
 1136|       |     * cause problems later if the old module is reloaded.
 1137|       |     *
 1138|       |     * Also, we don't decref any old cached values first when we
 1139|       |     * replace them here, in case we need to restore them in the
 1140|       |     * near future.  Instead, the caller is responsible for wrapping
 1141|       |     * this up by calling cleanup_old_cached_def() or
 1142|       |     * restore_old_cached_def() if there was an error. */
 1143|      4|    PyModuleDef *def = value->def;
 1144|      4|    assert(def != NULL);
 1145|       |
 1146|       |    /* We assume that all module defs are statically allocated
 1147|       |       and will never be freed.  Otherwise, we would incref here. */
 1148|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1149|       |
 1150|      4|    def->m_base.m_init = value->m_init;
 1151|       |
 1152|      4|    assert(value->m_index > 0);
 1153|      4|    _set_module_index(def, value->m_index);
 1154|       |
 1155|       |    /* Different modules can share the same def, so we can't just
 1156|       |     * expect m_copy to be NULL. */
 1157|      4|    assert(def->m_base.m_copy == NULL
 1158|      4|           || def->m_base.m_init == NULL
 1159|      4|           || value->m_dict != NULL);
 1160|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1160:9): [True: 0, False: 4]
  ------------------
 1161|      0|        assert(value->m_dict->copied != NULL);
 1162|       |        /* As noted above, we don't first decref the old value, if any. */
 1163|      0|        def->m_base.m_copy = Py_NewRef(value->m_dict->copied);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1164|      0|    }
 1165|      4|}
import.c:_set_module_index:
  534|      4|{
  535|      4|    assert(index > 0);
  536|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (536:9): [True: 4, False: 0]
  ------------------
  537|       |        /* There's nothing to do. */
  538|      4|    }
  539|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (539:14): [True: 0, False: 0]
  ------------------
  540|       |        /* It should have been initialized by PyModuleDef_Init().
  541|       |         * We assert here to catch this in dev, but keep going otherwise. */
  542|      0|        assert(def->m_base.m_index != 0);
  543|      0|        def->m_base.m_index = index;
  544|      0|    }
  545|      0|    else {
  546|       |        /* It was already set for a different module.
  547|       |         * We replace the old value. */
  548|       |        assert(def->m_base.m_index > 0);
  549|      0|        def->m_base.m_index = index;
  550|      0|    }
  551|      4|}
import.c:cleanup_old_cached_def:
 1175|      4|{
 1176|      4|    Py_XDECREF(oldbase->m_copy);
  ------------------
  |  |  524|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|      4|}
import.c:finish_singlephase_extension:
 1892|      4|{
 1893|      4|    assert(mod != NULL && PyModule_Check(mod));
 1894|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
 1895|       |
 1896|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1897|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 4]
  ------------------
 1898|      0|        return -1;
 1899|      0|    }
 1900|       |
 1901|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1901:9): [True: 4, False: 0]
  ------------------
 1902|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1902:13): [True: 0, False: 4]
  ------------------
 1903|      0|            return -1;
 1904|      0|        }
 1905|      4|    }
 1906|       |
 1907|      4|    return 0;
 1908|      4|}
import.c:create_builtin:
 2492|     62|{
 2493|     62|    struct _Py_ext_module_loader_info info;
 2494|     62|    if (_Py_ext_module_loader_info_init_for_builtin(&info, name) < 0) {
  ------------------
  |  Branch (2494:9): [True: 0, False: 62]
  ------------------
 2495|      0|        return NULL;
 2496|      0|    }
 2497|       |
 2498|     62|    struct extensions_cache_value *cached = NULL;
 2499|     62|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2500|     62|    if (mod != NULL) {
  ------------------
  |  Branch (2500:9): [True: 0, False: 62]
  ------------------
 2501|      0|        assert(!_PyErr_Occurred(tstate));
 2502|      0|        assert(cached != NULL);
 2503|       |        /* The module might not have md_def set in certain reload cases. */
 2504|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
 2505|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2506|      0|        assert_singlephase(cached);
 2507|      0|        goto finally;
 2508|      0|    }
 2509|     62|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2509:14): [True: 0, False: 62]
  ------------------
 2510|      0|        goto finally;
 2511|      0|    }
 2512|       |
 2513|       |    /* If the module was added to the global cache
 2514|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2515|       |     * then we have to do a little dance here. */
 2516|     62|    if (cached != NULL) {
  ------------------
  |  Branch (2516:9): [True: 0, False: 62]
  ------------------
 2517|      0|        assert(cached->def->m_base.m_copy == NULL);
 2518|       |        /* For now we clear the cache and move on. */
 2519|      0|        _extensions_cache_delete(info.path, info.name);
 2520|      0|    }
 2521|       |
 2522|     62|    PyModInitFunction p0 = NULL;
 2523|     62|    if (initfunc == NULL) {
  ------------------
  |  Branch (2523:9): [True: 62, False: 0]
  ------------------
 2524|     62|        struct _inittab *entry = lookup_inittab_entry(&info);
 2525|     62|        if (entry == NULL) {
  ------------------
  |  Branch (2525:13): [True: 0, False: 62]
  ------------------
 2526|      0|            mod = NULL;
 2527|      0|            _PyErr_SetModuleNotFoundError(name);
 2528|      0|            goto finally;
 2529|      0|        }
 2530|       |
 2531|     62|        p0 = (PyModInitFunction)entry->initfunc;
 2532|     62|    }
 2533|      0|    else {
 2534|      0|        p0 = initfunc;
 2535|      0|    }
 2536|       |
 2537|     62|    if (p0 == NULL) {
  ------------------
  |  Branch (2537:9): [True: 0, False: 62]
  ------------------
 2538|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2539|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
 2540|      0|        mod = import_add_module(tstate, info.name);
 2541|      0|        goto finally;
 2542|      0|    }
 2543|       |
 2544|       |
 2545|       |#ifdef Py_GIL_DISABLED
 2546|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2547|       |    // would ideally be inside import_run_extension(). They are kept in the
 2548|       |    // callers for now because that would complicate the control flow inside
 2549|       |    // import_run_extension(). It should be possible to restructure
 2550|       |    // import_run_extension() to address this.
 2551|       |    _PyEval_EnableGILTransient(tstate);
 2552|       |#endif
 2553|       |    /* Now load it. */
 2554|     62|    mod = import_run_extension(
 2555|     62|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2556|       |#ifdef Py_GIL_DISABLED
 2557|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2558|       |        Py_CLEAR(mod);
 2559|       |        goto finally;
 2560|       |    }
 2561|       |#endif
 2562|       |
 2563|     62|finally:
 2564|     62|    _Py_ext_module_loader_info_clear(&info);
 2565|     62|    return mod;
 2566|     62|}
import.c:import_find_extension:
 2026|    112|{
 2027|       |    /* Only single-phase init modules will be in the cache. */
 2028|    112|    struct extensions_cache_value *cached
 2029|    112|            = _extensions_cache_get(info->path, info->name);
 2030|    112|    if (cached == NULL) {
  ------------------
  |  Branch (2030:9): [True: 112, False: 0]
  ------------------
 2031|    112|        return NULL;
 2032|    112|    }
 2033|    112|    assert(cached->def != NULL);
 2034|      0|    assert_singlephase(cached);
 2035|      0|    *p_cached = cached;
 2036|       |
 2037|       |    /* It may have been successfully imported previously
 2038|       |       in an interpreter that allows legacy modules
 2039|       |       but is not allowed in the current interpreter. */
 2040|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2041|      0|    assert(name_buf != NULL);
 2042|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2042:9): [True: 0, False: 0]
  ------------------
 2043|      0|        return NULL;
 2044|      0|    }
 2045|       |
 2046|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2047|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 0]
  ------------------
 2048|      0|        return NULL;
 2049|      0|    }
 2050|       |
 2051|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2052|      0|    if (verbose) {
  ------------------
  |  Branch (2052:9): [True: 0, False: 0]
  ------------------
 2053|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2054|      0|                           info->name, info->path);
 2055|      0|    }
 2056|       |
 2057|      0|    return mod;
 2058|      0|}
import.c:lookup_inittab_entry:
 2477|     62|{
 2478|  1.23k|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   80|     62|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2478:40): [True: 1.23k, False: 0]
  ------------------
 2479|  1.23k|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2479:13): [True: 62, False: 1.17k]
  ------------------
 2480|     62|            return p;
 2481|     62|        }
 2482|  1.23k|    }
 2483|       |    // not found
 2484|      0|    return NULL;
 2485|     62|}
import.c:import_run_extension:
 2101|    110|{
 2102|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2103|    110|    assert(!is_core_module(tstate->interp, info->name, info->path));
 2104|       |
 2105|    110|    PyObject *mod = NULL;
 2106|    110|    PyModuleDef *def = NULL;
 2107|    110|    struct extensions_cache_value *cached = NULL;
 2108|    110|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|    110|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|       |
 2110|       |    /* We cannot know if the module is single-phase init or
 2111|       |     * multi-phase init until after we call its init function. Even
 2112|       |     * in isolated interpreters (that do not support single-phase init),
 2113|       |     * the init function will run without restriction.  For multi-phase
 2114|       |     * init modules that isn't a problem because the init function only
 2115|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2116|       |     *
 2117|       |     * However, for single-phase init the module's init function will
 2118|       |     * create the module, create other objects (and allocate other
 2119|       |     * memory), populate it and its module state, and initialize static
 2120|       |     * types.  Some modules store other objects and data in global C
 2121|       |     * variables and register callbacks with the runtime/stdlib or
 2122|       |     * even external libraries (which is part of why we can't just
 2123|       |     * dlclose() the module in the error case).  That's a problem
 2124|       |     * for isolated interpreters since all of the above happens
 2125|       |     * and only then * will the import fail.  Memory will leak,
 2126|       |     * callbacks will still get used, and sometimes there
 2127|       |     * will be crashes (memory access violations
 2128|       |     * and use-after-free).
 2129|       |     *
 2130|       |     * To put it another way, if the module is single-phase init
 2131|       |     * then the import will probably break interpreter isolation
 2132|       |     * and should fail ASAP.  However, the module's init function
 2133|       |     * will still get run.  That means it may still store state
 2134|       |     * in the shared-object/DLL address space (which never gets
 2135|       |     * closed/cleared), including objects (e.g. static types).
 2136|       |     * This is a problem for isolated subinterpreters since each
 2137|       |     * has its own object allocator.  If the loaded shared-object
 2138|       |     * still holds a reference to an object after the corresponding
 2139|       |     * interpreter has finalized then either we must let it leak
 2140|       |     * or else any later use of that object by another interpreter
 2141|       |     * (or across multiple init-fini cycles) will crash the process.
 2142|       |     *
 2143|       |     * To avoid all of that, we make sure the module's init function
 2144|       |     * is always run first with the main interpreter active.  If it was
 2145|       |     * already the main interpreter then we can continue loading the
 2146|       |     * module like normal.  Otherwise, right after the init function,
 2147|       |     * we take care of some import state bookkeeping, switch back
 2148|       |     * to the subinterpreter, check for single-phase init,
 2149|       |     * and then continue loading like normal. */
 2150|       |
 2151|    110|    bool switched = false;
 2152|       |    /* We *could* leave in place a legacy interpreter here
 2153|       |     * (one that shares obmalloc/GIL with main interp),
 2154|       |     * but there isn't a big advantage, we anticipate
 2155|       |     * such interpreters will be increasingly uncommon,
 2156|       |     * and the code is a bit simpler if we always switch
 2157|       |     * to the main interpreter. */
 2158|    110|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2159|    110|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2159:9): [True: 0, False: 110]
  ------------------
 2160|      0|        return NULL;
 2161|      0|    }
 2162|    110|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2162:14): [True: 0, False: 110]
  ------------------
 2163|      0|        switched = true;
 2164|       |        /* In the switched case, we could play it safe
 2165|       |         * by getting the main interpreter's import lock here.
 2166|       |         * It's unlikely to matter though. */
 2167|      0|    }
 2168|       |
 2169|    110|    struct _Py_ext_module_loader_result res;
 2170|    110|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2171|    110|    bool main_error = false;
 2172|    110|    if (rc < 0) {
  ------------------
  |  Branch (2172:9): [True: 0, False: 110]
  ------------------
 2173|       |        /* We discard res.def. */
 2174|      0|        assert(res.module == NULL);
 2175|      0|    }
 2176|    110|    else {
 2177|    110|        assert(!PyErr_Occurred());
 2178|    110|        assert(res.err == NULL);
 2179|       |
 2180|    110|        mod = res.module;
 2181|    110|        res.module = NULL;
 2182|    110|        def = res.def;
 2183|    110|        assert(def != NULL);
 2184|       |
 2185|       |        /* Do anything else that should be done
 2186|       |         * while still using the main interpreter. */
 2187|    110|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 110]
  ------------------
 2188|       |            /* Remember the filename as the __file__ attribute */
 2189|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2189:17): [True: 0, False: 0]
  ------------------
 2190|      0|                PyObject *filename = NULL;
 2191|      0|                if (switched) {
  ------------------
  |  Branch (2191:21): [True: 0, False: 0]
  ------------------
 2192|       |                    // The original filename may be allocated by subinterpreter's
 2193|       |                    // obmalloc, so we create a copy here.
 2194|      0|                    filename = _PyUnicode_Copy(info->filename);
 2195|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2195:25): [True: 0, False: 0]
  ------------------
 2196|      0|                        main_error = true;
 2197|      0|                        goto main_finally;
 2198|      0|                    }
 2199|      0|                }
 2200|      0|                else {
 2201|      0|                    filename = Py_NewRef(info->filename);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|      0|                }
 2203|       |                // XXX There's a refleak somewhere with the filename.
 2204|       |                // Until we can track it down, we immortalize it.
 2205|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2206|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2207|       |
 2208|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2208:21): [True: 0, False: 0]
  ------------------
 2209|      0|                    PyErr_Clear(); /* Not important enough to report */
 2210|      0|                }
 2211|      0|            }
 2212|       |
 2213|       |            /* Update global import state. */
 2214|      0|            assert(def->m_base.m_index != 0);
 2215|      0|            struct singlephase_global_update singlephase = {
 2216|       |                // XXX Modules that share a def should each get their own index,
 2217|       |                // whereas currently they share (which means the per-interpreter
 2218|       |                // cache is less reliable than it should be).
 2219|      0|                .m_index=def->m_base.m_index,
 2220|      0|                .origin=info->origin,
 2221|       |#ifdef Py_GIL_DISABLED
 2222|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2223|       |#endif
 2224|      0|            };
 2225|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2226|       |            // when the extension module doesn't support sub-interpreters.
 2227|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2227:17): [True: 0, False: 0]
  ------------------
 2228|       |                /* We will reload from m_copy. */
 2229|      0|                assert(def->m_base.m_init == NULL);
 2230|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2231|      0|                assert(singlephase.m_dict != NULL);
 2232|      0|            }
 2233|      0|            else {
 2234|       |                /* We will reload via the init function. */
 2235|      0|                assert(def->m_size >= 0);
 2236|      0|                assert(def->m_base.m_copy == NULL);
 2237|      0|                singlephase.m_init = p0;
 2238|      0|            }
 2239|      0|            cached = update_global_state_for_extension(
 2240|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2241|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2241:17): [True: 0, False: 0]
  ------------------
 2242|      0|                assert(PyErr_Occurred());
 2243|      0|                main_error = true;
 2244|      0|                goto main_finally;
 2245|      0|            }
 2246|      0|        }
 2247|    110|    }
 2248|       |
 2249|    110|main_finally:
 2250|    110|    if (rc < 0) {
  ------------------
  |  Branch (2250:9): [True: 0, False: 110]
  ------------------
 2251|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2252|      0|    }
 2253|       |
 2254|       |    /* Switch back to the subinterpreter. */
 2255|    110|    if (switched) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 110]
  ------------------
 2256|       |        // gh-144601: The exception object can't be transferred across
 2257|       |        // interpreters. Instead, we print out an unraisable exception, and
 2258|       |        // then raise a different exception for the calling interpreter.
 2259|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2259:13): [True: 0, False: 0]
  |  Branch (2259:23): [True: 0, False: 0]
  ------------------
 2260|      0|            assert(PyErr_Occurred());
 2261|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2262|      0|        }
 2263|      0|        assert(main_tstate != tstate);
 2264|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2265|       |        /* Any module we got from the init function will have to be
 2266|       |         * reloaded in the subinterpreter. */
 2267|      0|        mod = NULL;
 2268|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2268:13): [True: 0, False: 0]
  |  Branch (2268:23): [True: 0, False: 0]
  ------------------
 2269|      0|            PyErr_SetString(PyExc_ImportError,
 2270|      0|                            "failed to import from subinterpreter due to exception");
 2271|      0|            goto error;
 2272|      0|        }
 2273|      0|    }
 2274|       |
 2275|       |    /*****************************************************************/
 2276|       |    /* At this point we are back to the interpreter we started with. */
 2277|       |    /*****************************************************************/
 2278|       |
 2279|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2280|    110|    if (rc < 0) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 110]
  ------------------
 2281|      0|        goto error;
 2282|      0|    }
 2283|    110|    if (main_error) {
  ------------------
  |  Branch (2283:9): [True: 0, False: 110]
  ------------------
 2284|      0|        goto error;
 2285|      0|    }
 2286|       |
 2287|    110|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2287:9): [True: 110, False: 0]
  ------------------
 2288|    110|        assert_multiphase_def(def);
 2289|    110|        assert(mod == NULL);
 2290|       |        /* Note that we cheat a little by not repeating the calls
 2291|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2292|    110|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|    110|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|    110|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2293|    110|        if (mod == NULL) {
  ------------------
  |  Branch (2293:13): [True: 0, False: 110]
  ------------------
 2294|      0|            goto error;
 2295|      0|        }
 2296|    110|    }
 2297|      0|    else {
 2298|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
 2299|      0|        assert_singlephase_def(def);
 2300|       |
 2301|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2301:13): [True: 0, False: 0]
  ------------------
 2302|      0|            goto error;
 2303|      0|        }
 2304|      0|        assert(!PyErr_Occurred());
 2305|       |
 2306|      0|        if (switched) {
  ------------------
  |  Branch (2306:13): [True: 0, False: 0]
  ------------------
 2307|       |            /* We switched to the main interpreter to run the init
 2308|       |             * function, so now we will "reload" the module from the
 2309|       |             * cached data using the original subinterpreter. */
 2310|      0|            assert(mod == NULL);
 2311|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2312|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2312:17): [True: 0, False: 0]
  ------------------
 2313|      0|                goto error;
 2314|      0|            }
 2315|      0|            assert(!PyErr_Occurred());
 2316|      0|            assert(PyModule_Check(mod));
 2317|      0|        }
 2318|      0|        else {
 2319|      0|            assert(mod != NULL);
 2320|      0|            assert(PyModule_Check(mod));
 2321|       |
 2322|       |            /* Update per-interpreter import state. */
 2323|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2324|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2324:17): [True: 0, False: 0]
  ------------------
 2325|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2326|      0|            {
 2327|      0|                goto error;
 2328|      0|            }
 2329|      0|        }
 2330|      0|    }
 2331|       |
 2332|    110|    _Py_ext_module_loader_result_clear(&res);
 2333|    110|    return mod;
 2334|       |
 2335|      0|error:
 2336|      0|    Py_XDECREF(mod);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2337|      0|    _Py_ext_module_loader_result_clear(&res);
 2338|       |    return NULL;
 2339|    110|}
import.c:module_dict_for_exec:
 2827|      2|{
 2828|      2|    PyObject *m, *d;
 2829|       |
 2830|      2|    m = import_add_module(tstate, name);
 2831|      2|    if (m == NULL)
  ------------------
  |  Branch (2831:9): [True: 0, False: 2]
  ------------------
 2832|      0|        return NULL;
 2833|       |    /* If the module is being reloaded, we get the old module back
 2834|       |       and re-use its dict to exec the new code. */
 2835|      2|    d = PyModule_GetDict(m);
 2836|      2|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2837|      2|    if (r == 0) {
  ------------------
  |  Branch (2837:9): [True: 2, False: 0]
  ------------------
 2838|      2|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2839|      2|    }
 2840|      2|    if (r < 0) {
  ------------------
  |  Branch (2840:9): [True: 0, False: 2]
  ------------------
 2841|      0|        remove_module(tstate, name);
 2842|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|      0|        return NULL;
 2844|      0|    }
 2845|       |
 2846|      2|    Py_INCREF(d);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2847|      2|    Py_DECREF(m);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|      2|    return d;
 2849|      2|}
import.c:exec_code_in_module:
 2854|      2|{
 2855|      2|    PyObject *v, *m;
 2856|       |
 2857|      2|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2858|      2|    if (v == NULL) {
  ------------------
  |  Branch (2858:9): [True: 0, False: 2]
  ------------------
 2859|      0|        remove_module(tstate, name);
 2860|      0|        return NULL;
 2861|      0|    }
 2862|      2|    Py_DECREF(v);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|       |
 2864|      2|    m = import_get_module(tstate, name);
 2865|      2|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2865:9): [True: 0, False: 2]
  |  Branch (2865:22): [True: 0, False: 0]
  ------------------
 2866|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2867|      0|                      "Loaded module %R not found in sys.modules",
 2868|      0|                      name);
 2869|      0|    }
 2870|       |
 2871|      2|    return m;
 2872|      2|}
import.c:find_frozen:
 3169|    666|{
 3170|    666|    if (info != NULL) {
  ------------------
  |  Branch (3170:9): [True: 666, False: 0]
  ------------------
 3171|    666|        memset(info, 0, sizeof(*info));
 3172|    666|    }
 3173|       |
 3174|    666|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|    666|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3174:9): [True: 0, False: 666]
  |  Branch (3174:28): [True: 0, False: 666]
  ------------------
 3175|      0|        return FROZEN_BAD_NAME;
 3176|      0|    }
 3177|    666|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3178|    666|    if (name == NULL) {
  ------------------
  |  Branch (3178:9): [True: 0, False: 666]
  ------------------
 3179|       |        // Note that this function previously used
 3180|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3181|       |        // (instead of propagating it) to match the earlier behavior
 3182|       |        // more closely.
 3183|      0|        PyErr_Clear();
 3184|      0|        return FROZEN_BAD_NAME;
 3185|      0|    }
 3186|       |
 3187|    666|    const struct _frozen *p = look_up_frozen(name);
 3188|    666|    if (p == NULL) {
  ------------------
  |  Branch (3188:9): [True: 584, False: 82]
  ------------------
 3189|    584|        return FROZEN_NOT_FOUND;
 3190|    584|    }
 3191|     82|    if (info != NULL) {
  ------------------
  |  Branch (3191:9): [True: 82, False: 0]
  ------------------
 3192|     82|        info->nameobj = nameobj;  // borrowed
 3193|     82|        info->data = (const char *)p->code;
 3194|     82|        info->size = p->size;
 3195|     82|        info->is_package = p->is_package;
 3196|     82|        if (p->size < 0) {
  ------------------
  |  Branch (3196:13): [True: 0, False: 82]
  ------------------
 3197|       |            // backward compatibility with negative size values
 3198|      0|            info->size = -(p->size);
 3199|      0|            info->is_package = true;
 3200|      0|        }
 3201|     82|        info->origname = name;
 3202|     82|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3203|     82|                                              &info->origname);
 3204|     82|    }
 3205|     82|    if (p->code == NULL) {
  ------------------
  |  Branch (3205:9): [True: 0, False: 82]
  ------------------
 3206|       |        /* It is frozen but marked as un-importable. */
 3207|      0|        return FROZEN_EXCLUDED;
 3208|      0|    }
 3209|     82|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3209:9): [True: 0, False: 82]
  |  Branch (3209:31): [True: 0, False: 82]
  ------------------
 3210|       |        /* Does not contain executable code. */
 3211|      0|        return FROZEN_INVALID;
 3212|      0|    }
 3213|     82|    return FROZEN_OKAY;
 3214|     82|}
import.c:look_up_frozen:
 3112|    666|{
 3113|    666|    const struct _frozen *p;
 3114|       |    // We always use the bootstrap modules.
 3115|  2.63k|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3116|  2.63k|        if (p->name == NULL) {
  ------------------
  |  Branch (3116:13): [True: 652, False: 1.98k]
  ------------------
 3117|       |            // We hit the end-of-list sentinel value.
 3118|    652|            break;
 3119|    652|        }
 3120|  1.98k|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3120:13): [True: 14, False: 1.96k]
  ------------------
 3121|     14|            return p;
 3122|     14|        }
 3123|  1.98k|    }
 3124|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3125|       |    // disabled here by setting "code" to NULL in the array entry.
 3126|    652|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3126:9): [True: 0, False: 652]
  ------------------
 3127|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3128|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3128:17): [True: 0, False: 0]
  ------------------
 3129|      0|                break;
 3130|      0|            }
 3131|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3131:17): [True: 0, False: 0]
  ------------------
 3132|      0|                return p;
 3133|      0|            }
 3134|      0|        }
 3135|      0|    }
 3136|       |    // Frozen stdlib modules may be disabled.
 3137|    652|    if (use_frozen()) {
  ------------------
  |  Branch (3137:9): [True: 652, False: 0]
  ------------------
 3138|  12.3k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3139|  12.3k|            if (p->name == NULL) {
  ------------------
  |  Branch (3139:17): [True: 584, False: 11.7k]
  ------------------
 3140|    584|                break;
 3141|    584|            }
 3142|  11.7k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3142:17): [True: 68, False: 11.6k]
  ------------------
 3143|     68|                return p;
 3144|     68|            }
 3145|  11.7k|        }
 3146|  7.00k|        for (p = _PyImport_FrozenTest; ; p++) {
 3147|  7.00k|            if (p->name == NULL) {
  ------------------
  |  Branch (3147:17): [True: 584, False: 6.42k]
  ------------------
 3148|    584|                break;
 3149|    584|            }
 3150|  6.42k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3150:17): [True: 0, False: 6.42k]
  ------------------
 3151|      0|                return p;
 3152|      0|            }
 3153|  6.42k|        }
 3154|    584|    }
 3155|    584|    return NULL;
 3156|    652|}
import.c:use_frozen:
 2971|    652|{
 2972|    652|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2973|    652|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  104|    652|    (interp)->imports.override_frozen_modules
  ------------------
 2974|    652|    if (override > 0) {
  ------------------
  |  Branch (2974:9): [True: 0, False: 652]
  ------------------
 2975|      0|        return true;
 2976|      0|    }
 2977|    652|    else if (override < 0) {
  ------------------
  |  Branch (2977:14): [True: 0, False: 652]
  ------------------
 2978|      0|        return false;
 2979|      0|    }
 2980|    652|    else {
 2981|    652|        return interp->config.use_frozen_modules;
 2982|    652|    }
 2983|    652|}
import.c:resolve_module_alias:
 2953|     82|{
 2954|     82|    const struct _module_alias *entry;
 2955|    662|    for (entry = aliases; ; entry++) {
 2956|    662|        if (entry->name == NULL) {
  ------------------
  |  Branch (2956:13): [True: 72, False: 590]
  ------------------
 2957|       |            /* It isn't an alias. */
 2958|     72|            return false;
 2959|     72|        }
 2960|    590|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2960:13): [True: 10, False: 580]
  ------------------
 2961|     10|            if (alias != NULL) {
  ------------------
  |  Branch (2961:17): [True: 10, False: 0]
  ------------------
 2962|     10|                *alias = entry->orig;
 2963|     10|            }
 2964|       |            return true;
 2965|     10|        }
 2966|    590|    }
 2967|     82|}
import.c:unmarshal_frozen_code:
 3218|     40|{
 3219|     40|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3220|     40|    if (co == NULL) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 40]
  ------------------
 3221|       |        /* Does not contain executable code. */
 3222|      0|        PyErr_Clear();
 3223|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3224|      0|        return NULL;
 3225|      0|    }
 3226|     40|    if (!PyCode_Check(co)) {
  ------------------
  |  |  164|     40|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     40|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3226:9): [True: 0, False: 40]
  ------------------
 3227|       |        // We stick with TypeError for backward compatibility.
 3228|      0|        PyErr_Format(PyExc_TypeError,
 3229|      0|                     "frozen object %R is not a code object",
 3230|      0|                     info->nameobj);
 3231|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3232|      0|        return NULL;
 3233|      0|    }
 3234|     40|    return co;
 3235|     40|}
import.c:remove_importlib_frames:
 3664|     42|{
 3665|     42|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3666|     42|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3667|     42|    const char *remove_frames = "_call_with_frames_removed";
 3668|     42|    int always_trim = 0;
 3669|     42|    int in_importlib = 0;
 3670|     42|    PyObject **prev_link, **outer_link = NULL;
 3671|     42|    PyObject *base_tb = NULL;
 3672|       |
 3673|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3674|       |       from the traceback. We always trim chunks
 3675|       |       which end with a call to "_call_with_frames_removed". */
 3676|       |
 3677|     42|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3678|     42|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3678:9): [True: 0, False: 42]
  |  Branch (3678:24): [True: 0, False: 42]
  ------------------
 3679|      0|        goto done;
 3680|      0|    }
 3681|       |
 3682|     42|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  213|     42|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3682:9): [True: 42, False: 0]
  ------------------
 3683|     42|        always_trim = 1;
 3684|     42|    }
 3685|       |
 3686|     42|    assert(PyExceptionInstance_Check(exc));
 3687|     42|    base_tb = PyException_GetTraceback(exc);
 3688|     42|    prev_link = &base_tb;
 3689|     42|    PyObject *tb = base_tb;
 3690|    154|    while (tb != NULL) {
  ------------------
  |  Branch (3690:12): [True: 112, False: 42]
  ------------------
 3691|    112|        assert(PyTraceBack_Check(tb));
 3692|    112|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3693|    112|        PyObject *next = (PyObject *) traceback->tb_next;
 3694|    112|        PyFrameObject *frame = traceback->tb_frame;
 3695|    112|        PyCodeObject *code = PyFrame_GetCode(frame);
 3696|    112|        int now_in_importlib;
 3697|       |
 3698|    112|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3698:28): [True: 98, False: 14]
  ------------------
 3699|     14|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3699:28): [True: 6, False: 8]
  ------------------
 3700|    112|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3700:13): [True: 104, False: 8]
  |  Branch (3700:33): [True: 42, False: 62]
  ------------------
 3701|       |            /* This is the link to this chunk of importlib tracebacks */
 3702|     42|            outer_link = prev_link;
 3703|     42|        }
 3704|    112|        in_importlib = now_in_importlib;
 3705|       |
 3706|    112|        if (in_importlib &&
  ------------------
  |  Branch (3706:13): [True: 104, False: 8]
  ------------------
 3707|    104|            (always_trim ||
  ------------------
  |  Branch (3707:14): [True: 104, False: 0]
  ------------------
 3708|    104|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3708:14): [True: 0, False: 0]
  ------------------
 3709|    104|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  374|    104|    do { \
  |  |  375|    104|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    104|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    104|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    104|        *_tmp_dst_ptr = (src); \
  |  |  378|    104|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    104|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 3710|    104|            prev_link = outer_link;
 3711|    104|        }
 3712|      8|        else {
 3713|      8|            prev_link = (PyObject **) &traceback->tb_next;
 3714|      8|        }
 3715|    112|        Py_DECREF(code);
  ------------------
  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3716|    112|        tb = next;
 3717|    112|    }
 3718|     42|    if (base_tb == NULL) {
  ------------------
  |  Branch (3718:9): [True: 34, False: 8]
  ------------------
 3719|     34|        base_tb = Py_None;
  ------------------
  |  |  616|     34|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3720|     34|        Py_INCREF(Py_None);
  ------------------
  |  |  310|     34|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3721|     34|    }
 3722|     42|    PyException_SetTraceback(exc, base_tb);
 3723|     42|done:
 3724|     42|    Py_XDECREF(base_tb);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3725|     42|    _PyErr_SetRaisedException(tstate, exc);
 3726|     42|}
import.c:resolve_name:
 3731|    386|{
 3732|    386|    PyObject *abs_name;
 3733|    386|    PyObject *package = NULL;
 3734|    386|    PyObject *spec = NULL;
 3735|    386|    Py_ssize_t last_dot;
 3736|    386|    PyObject *base;
 3737|    386|    int level_up;
 3738|       |
 3739|    386|    if (globals == NULL) {
  ------------------
  |  Branch (3739:9): [True: 0, False: 386]
  ------------------
 3740|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3741|      0|        goto error;
 3742|      0|    }
 3743|    386|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    386|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    386|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    772|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 386, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3745|      0|                         "globals must be a dict or a frozendict");
 3746|      0|        goto error;
 3747|      0|    }
 3748|    386|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  919|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3748:9): [True: 0, False: 386]
  ------------------
 3749|      0|        goto error;
 3750|      0|    }
 3751|    386|    if (package == Py_None) {
  ------------------
  |  |  616|    386|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3751:9): [True: 0, False: 386]
  ------------------
 3752|      0|        Py_DECREF(package);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3753|      0|        package = NULL;
 3754|      0|    }
 3755|    386|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  919|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3755:9): [True: 0, False: 386]
  ------------------
 3756|      0|        goto error;
 3757|      0|    }
 3758|       |
 3759|    386|    if (package != NULL) {
  ------------------
  |  Branch (3759:9): [True: 386, False: 0]
  ------------------
 3760|    386|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|    386|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    386|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3760:13): [True: 0, False: 386]
  ------------------
 3761|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3762|      0|                             "package must be a string");
 3763|      0|            goto error;
 3764|      0|        }
 3765|    386|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|    386|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3765:18): [True: 386, False: 0]
  |  Branch (3765:34): [True: 386, False: 0]
  ------------------
 3766|    386|            int equal;
 3767|    386|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  919|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3768|    386|            if (parent == NULL) {
  ------------------
  |  Branch (3768:17): [True: 0, False: 386]
  ------------------
 3769|      0|                goto error;
 3770|      0|            }
 3771|       |
 3772|    386|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|    386|#define Py_EQ 2
  ------------------
 3773|    386|            Py_DECREF(parent);
  ------------------
  |  |  430|    386|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3774|    386|            if (equal < 0) {
  ------------------
  |  Branch (3774:17): [True: 0, False: 386]
  ------------------
 3775|      0|                goto error;
 3776|      0|            }
 3777|    386|            else if (equal == 0) {
  ------------------
  |  Branch (3777:22): [True: 0, False: 386]
  ------------------
 3778|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3778:21): [True: 0, False: 0]
  ------------------
 3779|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3780|      0|                    goto error;
 3781|      0|                }
 3782|      0|            }
 3783|    386|        }
 3784|    386|    }
 3785|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3785:14): [True: 0, False: 0]
  |  Branch (3785:30): [True: 0, False: 0]
  ------------------
 3786|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3787|      0|        if (package == NULL) {
  ------------------
  |  Branch (3787:13): [True: 0, False: 0]
  ------------------
 3788|      0|            goto error;
 3789|      0|        }
 3790|      0|        else if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3790:18): [True: 0, False: 0]
  ------------------
 3791|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3792|      0|                             "__spec__.parent must be a string");
 3793|      0|            goto error;
 3794|      0|        }
 3795|      0|    }
 3796|      0|    else {
 3797|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3797:13): [True: 0, False: 0]
  ------------------
 3798|      0|                    "can't resolve package from __spec__ or __package__, "
 3799|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3800|      0|            goto error;
 3801|      0|        }
 3802|       |
 3803|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3803:13): [True: 0, False: 0]
  ------------------
 3804|      0|            goto error;
 3805|      0|        }
 3806|      0|        if (package == NULL) {
  ------------------
  |  Branch (3806:13): [True: 0, False: 0]
  ------------------
 3807|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3808|      0|                             "'__name__' not in globals");
 3809|      0|            goto error;
 3810|      0|        }
 3811|       |
 3812|      0|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3812:13): [True: 0, False: 0]
  ------------------
 3813|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3814|      0|                             "__name__ must be a string");
 3815|      0|            goto error;
 3816|      0|        }
 3817|       |
 3818|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3819|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3819:13): [True: 0, False: 0]
  ------------------
 3820|      0|            goto error;
 3821|      0|        }
 3822|      0|        if (!haspath) {
  ------------------
  |  Branch (3822:13): [True: 0, False: 0]
  ------------------
 3823|      0|            Py_ssize_t dot;
 3824|       |
 3825|      0|            dot = PyUnicode_FindChar(package, '.',
 3826|      0|                                        0, PyUnicode_GET_LENGTH(package), -1);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3827|      0|            if (dot == -2) {
  ------------------
  |  Branch (3827:17): [True: 0, False: 0]
  ------------------
 3828|      0|                goto error;
 3829|      0|            }
 3830|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3830:22): [True: 0, False: 0]
  ------------------
 3831|      0|                goto no_parent_error;
 3832|      0|            }
 3833|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3834|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3834:17): [True: 0, False: 0]
  ------------------
 3835|      0|                goto error;
 3836|      0|            }
 3837|      0|            Py_SETREF(package, substr);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3838|      0|        }
 3839|      0|    }
 3840|       |
 3841|    386|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  299|    386|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3842|    386|    if (last_dot == 0) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 386]
  ------------------
 3843|      0|        goto no_parent_error;
 3844|      0|    }
 3845|       |
 3846|    386|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3846:24): [True: 0, False: 386]
  ------------------
 3847|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3848|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3848:13): [True: 0, False: 0]
  ------------------
 3849|      0|            goto error;
 3850|      0|        }
 3851|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3851:18): [True: 0, False: 0]
  ------------------
 3852|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3853|      0|                             "attempted relative import beyond top-level "
 3854|      0|                             "package");
 3855|      0|            goto error;
 3856|      0|        }
 3857|      0|    }
 3858|       |
 3859|    386|    Py_XDECREF(spec);
  ------------------
  |  |  524|    386|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3860|    386|    base = PyUnicode_Substring(package, 0, last_dot);
 3861|    386|    Py_DECREF(package);
  ------------------
  |  |  430|    386|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3862|    386|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|    386|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3862:9): [True: 0, False: 386]
  |  Branch (3862:25): [True: 204, False: 182]
  ------------------
 3863|    204|        return base;
 3864|    204|    }
 3865|       |
 3866|    182|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3867|    182|    Py_DECREF(base);
  ------------------
  |  |  430|    182|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3868|    182|    return abs_name;
 3869|       |
 3870|      0|  no_parent_error:
 3871|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3872|      0|                     "attempted relative import "
 3873|      0|                     "with no known parent package");
 3874|       |
 3875|      0|  error:
 3876|      0|    Py_XDECREF(spec);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|    Py_XDECREF(package);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3878|       |    return NULL;
 3879|      0|}
import.c:get_abs_name:
 4165|   792k|{
 4166|   792k|    if (level > 0) {
  ------------------
  |  Branch (4166:9): [True: 386, False: 792k]
  ------------------
 4167|    386|        return resolve_name(tstate, name, globals, level);
 4168|    386|    }
 4169|   792k|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|   792k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   792k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   792k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4169:9): [True: 0, False: 792k]
  ------------------
 4170|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4171|      0|        return NULL;
 4172|      0|    }
 4173|   792k|    return Py_NewRef(name);
  ------------------
  |  |  550|   792k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   792k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   792k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4174|   792k|}
import.c:import_find_and_load:
 4110|    674|{
 4111|    674|    PyObject *mod = NULL;
 4112|    674|    PyInterpreterState *interp = tstate->interp;
 4113|    674|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 4114|    674|#define import_level FIND_AND_LOAD(interp).import_level
 4115|    674|#define accumulated FIND_AND_LOAD(interp).accumulated
 4116|       |
 4117|    674|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 4115|    674|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  119|    674|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4118|       |
 4119|       |    /* XOptions is initialized after first some imports.
 4120|       |     * So we can't have negative cache before completed initialization.
 4121|       |     * Anyway, importlib._find_and_load is much slower than
 4122|       |     * _PyDict_GetItemIdWithError().
 4123|       |     */
 4124|    674|    if (import_time) {
  ------------------
  |  Branch (4124:9): [True: 0, False: 674]
  ------------------
 4125|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  137|      0|    do {                                                                      \
  |  |  138|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (138:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  139|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  140|      0|                  stderr);                                                    \
  |  |  141|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  142|      0|        }                                                                     \
  |  |  143|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (143:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4126|       |
 4127|      0|        import_level++;
  ------------------
  |  | 4114|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4128|       |        // ignore error: don't block import if reading the clock fails
 4129|      0|        (void)PyTime_PerfCounterRaw(&t1);
 4130|      0|        accumulated = 0;
  ------------------
  |  | 4115|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4131|      0|    }
 4132|       |
 4133|    674|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (4133:9): [True: 0, False: 674]
  ------------------
 4134|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 4135|       |
 4136|    674|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |  100|    674|    (interp)->imports.importlib
  ------------------
                  mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |  919|    674|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    674|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    674|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|    674|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  110|    674|    (interp)->imports.import_func
  ------------------
 4138|       |
 4139|    674|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED())
  ------------------
  |  Branch (4139:9): [True: 0, False: 674]
  ------------------
 4140|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 4141|      0|                                       mod != NULL);
 4142|       |
 4143|    674|    if (import_time) {
  ------------------
  |  Branch (4143:9): [True: 0, False: 674]
  ------------------
 4144|      0|        PyTime_t t2;
 4145|      0|        (void)PyTime_PerfCounterRaw(&t2);
 4146|      0|        PyTime_t cum = t2 - t1;
 4147|       |
 4148|      0|        import_level--;
  ------------------
  |  | 4114|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4149|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 4150|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 4115|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4151|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 4152|      0|                import_level*2, "", PyUnicode_AsUTF8(abs_name));
  ------------------
  |  | 4114|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4153|       |
 4154|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 4115|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  119|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4155|      0|    }
 4156|       |
 4157|    674|    return mod;
 4158|    674|#undef import_level
 4159|    674|#undef accumulated
 4160|    674|}
import.c:register_from_lazy_on_parent:
 4427|     20|{
 4428|     20|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4429|     20|    if (fromname == NULL) {
  ------------------
  |  Branch (4429:9): [True: 0, False: 20]
  ------------------
 4430|      0|        return -1;
 4431|      0|    }
 4432|       |
 4433|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4434|     20|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   96|     20|    (interp)->imports.lazy_modules
  ------------------
 4435|     20|    if (PySet_Add(lazy_modules, fromname) < 0) {
  ------------------
  |  Branch (4435:9): [True: 0, False: 20]
  ------------------
 4436|      0|        Py_DECREF(fromname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4437|      0|        return -1;
 4438|      0|    }
 4439|       |
 4440|     20|    int res = register_lazy_on_parent(tstate, fromname);
 4441|     20|    Py_DECREF(fromname);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|     20|    return res;
 4443|     20|}
import.c:register_lazy_on_parent:
 4368|     50|{
 4369|     50|    int ret = -1;
 4370|     50|    PyObject *parent = NULL;
 4371|     50|    PyObject *child = NULL;
 4372|       |
 4373|     50|    PyInterpreterState *interp = tstate->interp;
 4374|     50|    PyObject *lazy_pending_submodules = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   98|     50|    (interp)->imports.lazy_pending_submodules
  ------------------
 4375|     50|    assert(lazy_pending_submodules != NULL);
 4376|       |
 4377|     50|    Py_INCREF(name);
  ------------------
  |  |  310|     50|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|     70|    while (true) {
  ------------------
  |  Branch (4378:12): [True: 70, Folded]
  ------------------
 4379|     70|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 4380|     70|                                            PyUnicode_GET_LENGTH(name), -1);
  ------------------
  |  |  299|     70|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4381|     70|        if (dot < 0) {
  ------------------
  |  Branch (4381:13): [True: 50, False: 20]
  ------------------
 4382|     50|            PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4383|     50|                (PyDictObject *)lazy_pending_submodules, name);
 4384|     50|            if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4384:17): [True: 0, False: 50]
  ------------------
 4385|      0|                goto done;
 4386|      0|            }
 4387|     50|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4388|     50|            ret = 0;
 4389|     50|            goto done;
 4390|     50|        }
 4391|     20|        parent = PyUnicode_Substring(name, 0, dot);
 4392|     20|        if (parent == NULL) {
  ------------------
  |  Branch (4392:13): [True: 0, False: 20]
  ------------------
 4393|      0|            goto done;
 4394|      0|        }
 4395|     20|        Py_XDECREF(child);
  ------------------
  |  |  524|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4396|     20|        child = PyUnicode_Substring(name, dot + 1, PyUnicode_GET_LENGTH(name));
  ------------------
  |  |  299|     20|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4397|     20|        if (child == NULL) {
  ------------------
  |  Branch (4397:13): [True: 0, False: 20]
  ------------------
 4398|      0|            goto done;
 4399|      0|        }
 4400|       |
 4401|     20|        PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4402|     20|            (PyDictObject *)lazy_pending_submodules, parent);
 4403|     20|        if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4403:13): [True: 0, False: 20]
  ------------------
 4404|      0|            goto done;
 4405|      0|        }
 4406|       |
 4407|     20|        if (PySet_Add(lazy_submodules, child) < 0) {
  ------------------
  |  Branch (4407:13): [True: 0, False: 20]
  ------------------
 4408|      0|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4409|      0|            goto done;
 4410|      0|        }
 4411|     20|        Py_DECREF(lazy_submodules);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4412|       |
 4413|     20|        Py_SETREF(name, parent);
  ------------------
  |  |  352|     20|    do { \
  |  |  353|     20|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     20|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     20|        *_tmp_dst_ptr = (src); \
  |  |  356|     20|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 4414|     20|        parent = NULL;
 4415|     20|    }
 4416|       |
 4417|     50|done:
 4418|     50|    Py_XDECREF(child);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4419|     50|    Py_XDECREF(parent);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4420|     50|    Py_XDECREF(name);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4421|     50|    return ret;
 4422|     50|}
import.c:ensure_lazy_pending_submodules:
 4344|     70|{
 4345|     70|    PyObject *lazy_submodules;
 4346|     70|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|     70|    {
  ------------------
 4347|     70|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4348|     70|                                                  &lazy_submodules);
 4349|     70|    if (err == 0) {
  ------------------
  |  Branch (4349:9): [True: 26, False: 44]
  ------------------
 4350|       |        // value isn't present
 4351|     26|        lazy_submodules = PySet_New(NULL);
 4352|     26|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4352:13): [True: 26, False: 0]
  ------------------
 4353|     26|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4353:13): [True: 0, False: 26]
  ------------------
 4354|     26|                                     lazy_submodules) < 0) {
 4355|      0|            Py_CLEAR(lazy_submodules);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4356|      0|        }
 4357|     26|    }
 4358|     70|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     70|    }
  ------------------
 4359|     70|    return lazy_submodules;
 4360|     70|}
import.c:init_builtin_modules_table:
 2674|      2|{
 2675|      2|    size_t size;
 2676|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2676:20): [True: 76, False: 2]
  ------------------
 2677|     76|        ;
 2678|      2|    size++;
 2679|       |
 2680|       |    /* Make the copy. */
 2681|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2682|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2682:9): [True: 0, False: 2]
  ------------------
 2683|      0|        return -1;
 2684|      0|    }
 2685|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2686|      2|    INITTAB = copied;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2687|      2|    return 0;
 2688|      2|}
import.c:init_importlib:
 3397|      2|{
 3398|      2|    assert(!_PyErr_Occurred(tstate));
 3399|       |
 3400|      2|    PyInterpreterState *interp = tstate->interp;
 3401|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3402|       |
 3403|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3404|      2|    if (verbose) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 2]
  ------------------
 3405|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3406|      0|    }
 3407|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3407:9): [True: 0, False: 2]
  ------------------
 3408|      0|        return -1;
 3409|      0|    }
 3410|       |
 3411|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3412|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3412:9): [True: 0, False: 2]
  ------------------
 3413|      0|        return -1;
 3414|      0|    }
 3415|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |  100|      2|    (interp)->imports.importlib
  ------------------
 3416|       |
 3417|       |    // Import the _imp module
 3418|      2|    if (verbose) {
  ------------------
  |  Branch (3418:9): [True: 0, False: 2]
  ------------------
 3419|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3420|      0|    }
 3421|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3422|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      0|        return -1;
 3424|      0|    }
 3425|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3425:9): [True: 0, False: 2]
  ------------------
 3426|      0|        Py_DECREF(imp_mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3427|      0|        return -1;
 3428|      0|    }
 3429|       |
 3430|       |    // Install importlib as the implementation of import
 3431|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3432|      2|                                          "OO", sysmod, imp_mod);
 3433|      2|    Py_DECREF(imp_mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3434|      2|    if (value == NULL) {
  ------------------
  |  Branch (3434:9): [True: 0, False: 2]
  ------------------
 3435|      0|        return -1;
 3436|      0|    }
 3437|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3438|       |
 3439|       |    assert(!_PyErr_Occurred(tstate));
 3440|      2|    return 0;
 3441|      2|}
import.c:bootstrap_imp:
 3343|      2|{
 3344|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3345|      2|    if (name == NULL) {
  ------------------
  |  Branch (3345:9): [True: 0, False: 2]
  ------------------
 3346|      0|        return NULL;
 3347|      0|    }
 3348|       |
 3349|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3350|       |    // an object with just a name attribute.
 3351|       |    //
 3352|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3353|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3354|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3354:9): [True: 0, False: 2]
  ------------------
 3355|      0|        goto error;
 3356|      0|    }
 3357|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3358|      2|    Py_DECREF(attrs);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3359|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3359:9): [True: 0, False: 2]
  ------------------
 3360|      0|        goto error;
 3361|      0|    }
 3362|       |
 3363|       |    // Create the _imp module from its definition.
 3364|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3365|      2|    Py_CLEAR(name);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  488|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      2|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      2|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3366|      2|    Py_DECREF(spec);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3367|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3367:9): [True: 0, False: 2]
  ------------------
 3368|      0|        goto error;
 3369|      0|    }
 3370|      2|    assert(mod != Py_None);  // not found
 3371|       |
 3372|       |    // Execute the _imp module: call imp_module_exec().
 3373|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3373:9): [True: 0, False: 2]
  ------------------
 3374|      0|        Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|      0|        goto error;
 3376|      0|    }
 3377|      2|    return mod;
 3378|       |
 3379|      0|error:
 3380|      0|    Py_XDECREF(name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3381|       |    return NULL;
 3382|      2|}
import.c:exec_builtin_or_dynamic:
  927|    110|exec_builtin_or_dynamic(PyObject *mod) {
  928|    110|    void *state;
  929|       |
  930|    110|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    110|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    110|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (930:9): [True: 0, False: 110]
  ------------------
  931|      0|        return 0;
  932|      0|    }
  933|       |
  934|    110|    state = PyModule_GetState(mod);
  935|    110|    if (state) {
  ------------------
  |  Branch (935:9): [True: 0, False: 110]
  ------------------
  936|       |        /* Already initialized; skip reload */
  937|      0|        return 0;
  938|      0|    }
  939|       |
  940|    110|    return PyModule_Exec(mod);
  941|    110|}
import.c:init_importlib_external:
 3446|      2|{
 3447|      2|    PyObject *value;
 3448|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |  100|      2|    (interp)->imports.importlib
  ------------------
 3449|      2|                                "_install_external_importers", "");
 3450|      2|    if (value == NULL) {
  ------------------
  |  Branch (3450:9): [True: 0, False: 2]
  ------------------
 3451|      0|        return -1;
 3452|      0|    }
 3453|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3454|      2|    return 0;
 3455|      2|}
import.c:init_zipimport:
 4853|      2|{
 4854|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4855|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4855:9): [True: 0, False: 2]
  ------------------
 4856|      0|        return -1;
 4857|      0|    }
 4858|       |
 4859|      2|    if (verbose) {
  ------------------
  |  Branch (4859:9): [True: 0, False: 2]
  ------------------
 4860|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4861|      0|    }
 4862|       |
 4863|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4864|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4864:9): [True: 0, False: 2]
  ------------------
 4865|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4866|      0|        if (verbose) {
  ------------------
  |  Branch (4866:13): [True: 0, False: 0]
  ------------------
 4867|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4868|      0|        }
 4869|      0|    }
 4870|      2|    else {
 4871|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4872|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4873|      2|        Py_DECREF(zipimporter);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4874|      2|        if (err < 0) {
  ------------------
  |  Branch (4874:13): [True: 0, False: 2]
  ------------------
 4875|      0|            Py_DECREF(path_hooks);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      0|            return -1;
 4877|      0|        }
 4878|      2|        if (verbose) {
  ------------------
  |  Branch (4878:13): [True: 0, False: 2]
  ------------------
 4879|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4880|      0|        }
 4881|      2|    }
 4882|      2|    Py_DECREF(path_hooks);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4883|       |
 4884|      2|    return 0;
 4885|      2|}
import.c:_imp_extension_suffixes_impl:
 5148|      4|{
 5149|      4|    PyObject *list;
 5150|       |
 5151|      4|    list = PyList_New(0);
 5152|      4|    if (list == NULL)
  ------------------
  |  Branch (5152:9): [True: 0, False: 4]
  ------------------
 5153|      0|        return NULL;
 5154|      4|#ifdef HAVE_DYNAMIC_LOADING
 5155|      4|    const char *suffix;
 5156|      4|    unsigned int index = 0;
 5157|       |
 5158|     20|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5158:12): [True: 16, False: 4]
  ------------------
 5159|     16|        PyObject *item = PyUnicode_FromString(suffix);
 5160|     16|        if (item == NULL) {
  ------------------
  |  Branch (5160:13): [True: 0, False: 16]
  ------------------
 5161|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5162|      0|            return NULL;
 5163|      0|        }
 5164|     16|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5164:13): [True: 0, False: 16]
  ------------------
 5165|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5166|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5167|      0|            return NULL;
 5168|      0|        }
 5169|     16|        Py_DECREF(item);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|     16|        index += 1;
 5171|     16|    }
 5172|      4|#endif
 5173|      4|    return list;
 5174|      4|}
import.c:_imp_acquire_lock_impl:
 5045|  4.13k|{
 5046|  4.13k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5047|  4.13k|    _PyImport_AcquireLock(interp);
 5048|  4.13k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  4.13k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.13k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5049|  4.13k|}
import.c:_imp_release_lock_impl:
 5062|  4.13k|{
 5063|  4.13k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5064|  4.13k|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  116|  4.13k|    (interp)->imports.lock
  ------------------
  |  Branch (5064:9): [True: 0, False: 4.13k]
  ------------------
 5065|      0|        PyErr_SetString(PyExc_RuntimeError,
 5066|      0|                        "not holding the import lock");
 5067|      0|        return NULL;
 5068|      0|    }
 5069|  4.13k|    _PyImport_ReleaseLock(interp);
 5070|  4.13k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  4.13k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.13k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5071|  4.13k|}
import.c:_imp_find_frozen_impl:
 5224|    622|{
 5225|    622|    struct frozen_info info;
 5226|    622|    frozen_status status = find_frozen(name, &info);
 5227|    622|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5227:9): [True: 584, False: 38]
  |  Branch (5227:39): [True: 0, False: 38]
  ------------------
 5228|    584|        Py_RETURN_NONE;
  ------------------
  |  |  628|    584|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    584|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5229|    584|    }
 5230|     38|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5230:14): [True: 0, False: 38]
  ------------------
 5231|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5232|      0|    }
 5233|     38|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5233:14): [True: 0, False: 38]
  ------------------
 5234|      0|        set_frozen_error(status, name);
 5235|      0|        return NULL;
 5236|      0|    }
 5237|       |
 5238|     38|    PyObject *data = NULL;
 5239|     38|    if (withdata) {
  ------------------
  |  Branch (5239:9): [True: 0, False: 38]
  ------------------
 5240|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5241|      0|        if (data == NULL) {
  ------------------
  |  Branch (5241:13): [True: 0, False: 0]
  ------------------
 5242|      0|            return NULL;
 5243|      0|        }
 5244|      0|    }
 5245|       |
 5246|     38|    PyObject *origname = NULL;
 5247|     38|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5247:9): [True: 38, False: 0]
  |  Branch (5247:34): [True: 38, False: 0]
  ------------------
 5248|     38|        origname = PyUnicode_FromString(info.origname);
 5249|     38|        if (origname == NULL) {
  ------------------
  |  Branch (5249:13): [True: 0, False: 38]
  ------------------
 5250|      0|            Py_XDECREF(data);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5251|      0|            return NULL;
 5252|      0|        }
 5253|     38|    }
 5254|       |
 5255|     38|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5255:40): [True: 0, False: 38]
  ------------------
 5256|     38|                                    info.is_package ? Py_True : Py_False,
  ------------------
  |  |   26|     38|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  info.is_package ? Py_True : Py_False,
  ------------------
  |  |   25|     38|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5256:37): [True: 2, False: 36]
  ------------------
 5257|     38|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5257:37): [True: 38, False: 0]
  ------------------
 5258|     38|    Py_XDECREF(origname);
  ------------------
  |  |  524|     38|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5259|     38|    Py_XDECREF(data);
  ------------------
  |  |  524|     38|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5260|     38|    return result;
 5261|     38|}
import.c:_imp_get_frozen_object_impl:
 5277|     38|{
 5278|     38|    struct frozen_info info = {0};
 5279|     38|    Py_buffer buf = {0};
 5280|     38|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5280:9): [True: 0, False: 38]
  ------------------
 5281|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5281:13): [True: 0, False: 0]
  ------------------
 5282|      0|            return NULL;
 5283|      0|        }
 5284|      0|        info.data = (const char *)buf.buf;
 5285|      0|        info.size = buf.len;
 5286|      0|    }
 5287|     38|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5287:14): [True: 0, False: 38]
  ------------------
 5288|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5289|      0|        return NULL;
 5290|      0|    }
 5291|     38|    else {
 5292|     38|        frozen_status status = find_frozen(name, &info);
 5293|     38|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5293:13): [True: 0, False: 38]
  ------------------
 5294|      0|            set_frozen_error(status, name);
 5295|      0|            return NULL;
 5296|      0|        }
 5297|     38|    }
 5298|       |
 5299|     38|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5299:9): [True: 0, False: 38]
  ------------------
 5300|      0|        info.nameobj = name;
 5301|      0|    }
 5302|     38|    if (info.size == 0) {
  ------------------
  |  Branch (5302:9): [True: 0, False: 38]
  ------------------
 5303|       |        /* Does not contain executable code. */
 5304|      0|        set_frozen_error(FROZEN_INVALID, name);
 5305|      0|        return NULL;
 5306|      0|    }
 5307|       |
 5308|     38|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5309|     38|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5310|     38|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5310:9): [True: 0, False: 38]
  ------------------
 5311|      0|        PyBuffer_Release(&buf);
 5312|      0|    }
 5313|     38|    return codeobj;
 5314|     38|}
import.c:_imp_is_frozen_package_impl:
 5328|      2|{
 5329|      2|    struct frozen_info info;
 5330|      2|    frozen_status status = find_frozen(name, &info);
 5331|      2|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5331:9): [True: 0, False: 2]
  |  Branch (5331:34): [True: 0, False: 0]
  ------------------
 5332|      0|        set_frozen_error(status, name);
 5333|      0|        return NULL;
 5334|      0|    }
 5335|      2|    return PyBool_FromLong(info.is_package);
 5336|      2|}
import.c:_imp_create_builtin:
 5111|     60|{
 5112|     60|    PyThreadState *tstate = _PyThreadState_GET();
 5113|       |
 5114|     60|    PyObject *name = PyObject_GetAttrString(spec, "name");
 5115|     60|    if (name == NULL) {
  ------------------
  |  Branch (5115:9): [True: 0, False: 60]
  ------------------
 5116|      0|        return NULL;
 5117|      0|    }
 5118|       |
 5119|     60|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     60|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5119:9): [True: 0, False: 60]
  ------------------
 5120|      0|        PyErr_Format(PyExc_TypeError,
 5121|      0|                     "name must be string, not %.200s",
 5122|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5123|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5124|      0|        return NULL;
 5125|      0|    }
 5126|       |
 5127|     60|    if (PyUnicode_GetLength(name) == 0) {
  ------------------
  |  Branch (5127:9): [True: 0, False: 60]
  ------------------
 5128|      0|        PyErr_Format(PyExc_ValueError, "name must not be empty");
 5129|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5130|      0|        return NULL;
 5131|      0|    }
 5132|       |
 5133|     60|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 5134|     60|    Py_DECREF(name);
  ------------------
  |  |  430|     60|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5135|     60|    return mod;
 5136|     60|}
import.c:_imp_is_builtin_impl:
 5350|    682|{
 5351|    682|    return PyLong_FromLong(is_builtin(name));
 5352|    682|}
import.c:is_builtin:
 2461|    682|{
 2462|    682|    int i;
 2463|    682|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|    682|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2464|  25.4k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2464:17): [True: 24.8k, False: 622]
  ------------------
 2465|  24.8k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2465:13): [True: 60, False: 24.7k]
  ------------------
 2466|     60|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2466:17): [True: 0, False: 60]
  ------------------
 2467|      0|                return -1;
 2468|     60|            else
 2469|     60|                return 1;
 2470|     60|        }
 2471|  24.8k|    }
 2472|    622|    return 0;
 2473|    682|}
import.c:_imp_is_frozen_impl:
 5366|      2|{
 5367|      2|    struct frozen_info info;
 5368|      2|    frozen_status status = find_frozen(name, &info);
 5369|      2|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5369:9): [True: 0, False: 2]
  ------------------
 5370|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5371|      0|    }
 5372|      2|    Py_RETURN_TRUE;
  ------------------
  |  |   44|      2|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5373|      2|}
import.c:_imp_create_dynamic_impl:
 5460|     50|{
 5461|     50|    FILE *fp = NULL;
 5462|     50|    PyObject *mod = NULL;
 5463|     50|    PyThreadState *tstate = _PyThreadState_GET();
 5464|       |
 5465|     50|    struct _Py_ext_module_loader_info info;
 5466|     50|    if (_Py_ext_module_loader_info_init_from_spec(&info, spec) < 0) {
  ------------------
  |  Branch (5466:9): [True: 0, False: 50]
  ------------------
 5467|      0|        return NULL;
 5468|      0|    }
 5469|       |
 5470|     50|    struct extensions_cache_value *cached = NULL;
 5471|     50|    mod = import_find_extension(tstate, &info, &cached);
 5472|     50|    if (mod != NULL) {
  ------------------
  |  Branch (5472:9): [True: 0, False: 50]
  ------------------
 5473|      0|        assert(!_PyErr_Occurred(tstate));
 5474|      0|        assert(cached != NULL);
 5475|       |        /* The module might not have md_def set in certain reload cases. */
 5476|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
 5477|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5478|      0|        assert_singlephase(cached);
 5479|      0|        goto finally;
 5480|      0|    }
 5481|     50|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5481:14): [True: 0, False: 50]
  ------------------
 5482|      0|        goto finally;
 5483|      0|    }
 5484|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5485|       |
 5486|       |    /* If the module was added to the global cache
 5487|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5488|       |     * then we have to do a little dance here. */
 5489|     50|    if (cached != NULL) {
  ------------------
  |  Branch (5489:9): [True: 0, False: 50]
  ------------------
 5490|      0|        assert(cached->def->m_base.m_copy == NULL);
 5491|       |        /* For now we clear the cache and move on. */
 5492|      0|        _extensions_cache_delete(info.path, info.name);
 5493|      0|    }
 5494|       |
 5495|     50|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5495:9): [True: 0, False: 50]
  ------------------
 5496|     50|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     50|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5497|      0|    {
 5498|      0|        goto finally;
 5499|      0|    }
 5500|       |
 5501|       |    /* We would move this (and the fclose() below) into
 5502|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5503|       |     * code relies on fp still being open. */
 5504|     50|    if (file != NULL) {
  ------------------
  |  Branch (5504:9): [True: 0, False: 50]
  ------------------
 5505|      0|        fp = Py_fopen(info.filename, "r");
 5506|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5506:13): [True: 0, False: 0]
  ------------------
 5507|      0|            goto finally;
 5508|      0|        }
 5509|      0|    }
 5510|       |
 5511|     50|    PyModInitFunction p0 = NULL;
 5512|     50|    PyModExportFunction ex0 = NULL;
 5513|     50|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5514|     50|    if (ex0) {
  ------------------
  |  Branch (5514:9): [True: 0, False: 50]
  ------------------
 5515|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5516|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5517|       |        // when they're created.
 5518|      0|        goto finally;
 5519|      0|    }
 5520|     50|    if (p0 == NULL) {
  ------------------
  |  Branch (5520:9): [True: 2, False: 48]
  ------------------
 5521|      2|        goto finally;
 5522|      2|    }
 5523|       |
 5524|       |#ifdef Py_GIL_DISABLED
 5525|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5526|       |    // would ideally be inside import_run_extension(). They are kept in the
 5527|       |    // callers for now because that would complicate the control flow inside
 5528|       |    // import_run_extension(). It should be possible to restructure
 5529|       |    // import_run_extension() to address this.
 5530|       |    _PyEval_EnableGILTransient(tstate);
 5531|       |#endif
 5532|     48|    mod = import_run_extension(
 5533|     48|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5534|       |#ifdef Py_GIL_DISABLED
 5535|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5536|       |        Py_CLEAR(mod);
 5537|       |        goto finally;
 5538|       |    }
 5539|       |#endif
 5540|       |
 5541|     50|finally:
 5542|     50|    if (fp != NULL) {
  ------------------
  |  Branch (5542:9): [True: 0, False: 50]
  ------------------
 5543|      0|        fclose(fp);
 5544|      0|    }
 5545|     50|    _Py_ext_module_loader_info_clear(&info);
 5546|     50|    return mod;
 5547|     48|}
import.c:_imp_exec_dynamic_impl:
 5561|     48|{
 5562|     48|    return exec_builtin_or_dynamic(mod);
 5563|     48|}
import.c:_imp_exec_builtin_impl:
 5580|     60|{
 5581|     60|    return exec_builtin_or_dynamic(mod);
 5582|     60|}
import.c:_imp__fix_co_filename_impl:
 5092|    502|{
 5093|    502|    update_compiled_module(code, path);
 5094|       |
 5095|    502|    Py_RETURN_NONE;
  ------------------
  |  |  628|    502|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    502|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5096|    502|}
import.c:update_compiled_module:
 2930|    502|{
 2931|    502|    PyObject *oldname;
 2932|       |
 2933|    502|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2933:9): [True: 502, False: 0]
  ------------------
 2934|    502|        return;
 2935|       |
 2936|      0|    oldname = co->co_filename;
 2937|      0|    Py_INCREF(oldname);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2938|      0|    update_code_filenames(co, oldname, newname);
 2939|      0|    Py_DECREF(oldname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2940|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5624|    638|{
 5625|    638|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5626|    638|    if (PySet_Discard(LAZY_MODULES(interp), name) < 0) {
  ------------------
  |  |   96|    638|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (5626:9): [True: 0, False: 638]
  ------------------
 5627|      0|        return NULL;
 5628|      0|    }
 5629|    638|    Py_RETURN_NONE;
  ------------------
  |  |  628|    638|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    638|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5630|    638|}
import.c:imp_module_exec:
 5662|      2|{
 5663|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5664|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5665|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5665:9): [True: 0, False: 2]
  ------------------
 5666|      0|        return -1;
 5667|      0|    }
 5668|       |
 5669|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5669:9): [True: 0, False: 2]
  ------------------
 5670|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  319|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  315|      2|#define PYC_MAGIC_NUMBER 3701
  |  |  ------------------
  ------------------
 5671|      0|    {
 5672|      0|        return -1;
 5673|      0|    }
 5674|       |
 5675|      2|    return 0;
 5676|      2|}

_Py_ext_module_loader_info_clear:
   86|    112|{
   87|    112|    Py_CLEAR(info->filename);
  ------------------
  |  |  484|    112|    do { \
  |  |  485|    112|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    112|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    112|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 50, False: 62]
  |  |  ------------------
  |  |  488|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     50|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     50|        } \
  |  |  491|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
   88|    112|#ifndef MS_WINDOWS
   89|    112|    Py_CLEAR(info->filename_encoded);
  ------------------
  |  |  484|    112|    do { \
  |  |  485|    112|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    112|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    112|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 50, False: 62]
  |  |  ------------------
  |  |  488|     50|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     50|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     50|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     50|        } \
  |  |  491|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
   90|    112|#endif
   91|    112|    Py_CLEAR(info->name);
  ------------------
  |  |  484|    112|    do { \
  |  |  485|    112|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    112|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    112|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 112, False: 0]
  |  |  ------------------
  |  |  488|    112|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    112|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    112|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    112|        } \
  |  |  491|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
   92|       |    Py_CLEAR(info->name_encoded);
  ------------------
  |  |  484|    112|    do { \
  |  |  485|    112|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    112|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    112|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 112, False: 0]
  |  |  ------------------
  |  |  488|    112|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    112|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    112|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    112|        } \
  |  |  491|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
   93|    112|}
_Py_ext_module_loader_info_init:
   99|     50|{
  100|     50|    struct _Py_ext_module_loader_info info = {
  101|     50|        .origin=origin,
  102|     50|    };
  103|       |
  104|     50|    assert(name != NULL);
  105|     50|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (105:9): [True: 0, False: 50]
  ------------------
  106|      0|        PyErr_SetString(PyExc_TypeError,
  107|      0|                        "module name must be a string");
  108|      0|        _Py_ext_module_loader_info_clear(&info);
  109|      0|        return -1;
  110|      0|    }
  111|     50|    assert(PyUnicode_GetLength(name) > 0);
  112|     50|    info.name = Py_NewRef(name);
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|     50|    info.name_encoded = get_encoded_name(info.name, &info.hook_prefixes);
  115|     50|    if (info.name_encoded == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 50]
  ------------------
  116|      0|        _Py_ext_module_loader_info_clear(&info);
  117|      0|        return -1;
  118|      0|    }
  119|       |
  120|     50|    info.newcontext = PyUnicode_AsUTF8(info.name);
  121|     50|    if (info.newcontext == NULL) {
  ------------------
  |  Branch (121:9): [True: 0, False: 50]
  ------------------
  122|      0|        _Py_ext_module_loader_info_clear(&info);
  123|      0|        return -1;
  124|      0|    }
  125|       |
  126|     50|    if (filename != NULL) {
  ------------------
  |  Branch (126:9): [True: 50, False: 0]
  ------------------
  127|     50|        if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|     50|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (127:13): [True: 0, False: 50]
  ------------------
  128|      0|            PyErr_SetString(PyExc_TypeError,
  129|      0|                            "module filename must be a string");
  130|      0|            _Py_ext_module_loader_info_clear(&info);
  131|      0|            return -1;
  132|      0|        }
  133|     50|        info.filename = Py_NewRef(filename);
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|       |
  135|     50|#ifndef MS_WINDOWS
  136|     50|        info.filename_encoded = PyUnicode_EncodeFSDefault(info.filename);
  137|     50|        if (info.filename_encoded == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 50]
  ------------------
  138|      0|            _Py_ext_module_loader_info_clear(&info);
  139|      0|            return -1;
  140|      0|        }
  141|     50|#endif
  142|       |
  143|     50|        info.path = info.filename;
  144|     50|    }
  145|      0|    else {
  146|      0|        info.path = info.name;
  147|      0|    }
  148|       |
  149|     50|    *p_info = info;
  150|     50|    return 0;
  151|     50|}
_Py_ext_module_loader_info_init_for_builtin:
  157|     62|{
  158|     62|    assert(PyUnicode_Check(name));
  159|     62|    assert(PyUnicode_GetLength(name) > 0);
  160|       |
  161|     62|    PyObject *name_encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
  162|     62|    if (name_encoded == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 62]
  ------------------
  163|      0|        return -1;
  164|      0|    }
  165|       |
  166|     62|    *info = (struct _Py_ext_module_loader_info){
  167|     62|        .name=Py_NewRef(name),
  ------------------
  |  |  550|     62|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|     62|        .name_encoded=name_encoded,
  169|       |        /* We won't need filename. */
  170|     62|        .path=name,
  171|     62|        .origin=_Py_ext_module_origin_BUILTIN,
  172|     62|        .hook_prefixes=&ascii_only_prefixes,
  173|       |        .newcontext=NULL,
  174|     62|    };
  175|     62|    return 0;
  176|     62|}
_Py_ext_module_loader_info_init_from_spec:
  195|     50|{
  196|     50|    PyObject *name = PyObject_GetAttrString(spec, "name");
  197|     50|    if (name == NULL) {
  ------------------
  |  Branch (197:9): [True: 0, False: 50]
  ------------------
  198|      0|        return -1;
  199|      0|    }
  200|     50|    PyObject *filename = PyObject_GetAttrString(spec, "origin");
  201|     50|    if (filename == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 50]
  ------------------
  202|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        return -1;
  204|      0|    }
  205|       |    /* We could also accommodate builtin modules here without much trouble. */
  206|     50|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
  207|     50|    int err = _Py_ext_module_loader_info_init(p_info, name, filename, origin);
  208|     50|    Py_DECREF(name);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|     50|    Py_DECREF(filename);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|     50|    return err;
  211|     50|}
_Py_ext_module_loader_result_clear:
  221|    110|{
  222|       |    /* Instead, the caller should have called
  223|       |     * _Py_ext_module_loader_result_apply_error(). */
  224|       |    assert(res->err == NULL);
  225|    110|    *res = (struct _Py_ext_module_loader_result){0};
  226|    110|}
_PyImport_GetModuleExportHooks:
  381|     50|{
  382|     50|    *modinit = NULL;
  383|     50|    *modexport = NULL;
  384|       |
  385|     50|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     50|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|     50|    dl_funcptr exportfunc;
  387|       |
  388|     50|    exportfunc = findfuncptr(
  389|     50|        info->hook_prefixes->export_prefix,
  390|     50|        name_buf, info, fp);
  391|     50|    if (exportfunc) {
  ------------------
  |  Branch (391:9): [True: 0, False: 50]
  ------------------
  392|      0|        *modexport = (PyModExportFunction)exportfunc;
  393|      0|        return 2;
  394|      0|    }
  395|     50|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (395:9): [True: 2, False: 48]
  ------------------
  396|      2|        return -1;
  397|      2|    }
  398|       |
  399|     48|    exportfunc = findfuncptr(
  400|     48|        info->hook_prefixes->init_prefix,
  401|     48|        name_buf, info, fp);
  402|     48|    if (exportfunc) {
  ------------------
  |  Branch (402:9): [True: 48, False: 0]
  ------------------
  403|     48|        *modinit = (PyModInitFunction)exportfunc;
  404|     48|        return 1;
  405|     48|    }
  406|       |
  407|      0|    if (!PyErr_Occurred()) {
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|      0|        PyObject *msg;
  409|      0|        msg = PyUnicode_FromFormat(
  410|      0|            "dynamic module does not define "
  411|      0|            "module export function (%s_%s or %s_%s)",
  412|      0|            info->hook_prefixes->export_prefix, name_buf,
  413|      0|            info->hook_prefixes->init_prefix, name_buf);
  414|      0|        if (msg != NULL) {
  ------------------
  |  Branch (414:13): [True: 0, False: 0]
  ------------------
  415|      0|            PyErr_SetImportError(msg, info->name, info->filename);
  416|      0|            Py_DECREF(msg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        }
  418|      0|    }
  419|      0|    return -1;
  420|     48|}
_PyImport_RunModInitFunc:
  427|    110|{
  428|    110|    struct _Py_ext_module_loader_result res = {
  429|    110|        .kind=_Py_ext_module_kind_UNKNOWN,
  430|    110|    };
  431|       |
  432|       |    /* Call the module init function. */
  433|       |
  434|       |    /* Package context is needed for single-phase init */
  435|    110|    const char *oldcontext = _PyImport_SwapPackageContext(info->newcontext);
  436|    110|    PyObject *m = p0();
  437|    110|    _PyImport_SwapPackageContext(oldcontext);
  438|       |
  439|       |    /* Validate the result (and populate "res". */
  440|       |
  441|    110|    if (m == NULL) {
  ------------------
  |  Branch (441:9): [True: 0, False: 110]
  ------------------
  442|       |        /* The init func for multi-phase init modules is expected
  443|       |         * to return a PyModuleDef after calling PyModuleDef_Init().
  444|       |         * That function never raises an exception nor returns NULL,
  445|       |         * so at this point it must be a single-phase init modules. */
  446|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  447|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (447:13): [True: 0, False: 0]
  ------------------
  448|      0|            _Py_ext_module_loader_result_set_error(
  449|      0|                        &res, _Py_ext_module_loader_result_EXCEPTION);
  450|      0|        }
  451|      0|        else {
  452|      0|            _Py_ext_module_loader_result_set_error(
  453|      0|                        &res, _Py_ext_module_loader_result_ERR_MISSING);
  454|      0|        }
  455|      0|        goto error;
  456|    110|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (456:16): [True: 0, False: 110]
  ------------------
  457|       |        /* Likewise, we infer that this is a single-phase init module. */
  458|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  459|      0|        _Py_ext_module_loader_result_set_error(
  460|      0|                &res, _Py_ext_module_loader_result_ERR_UNREPORTED_EXC);
  461|       |        /* We would probably be correct to decref m here,
  462|       |         * but we weren't doing so before,
  463|       |         * so we stick with doing nothing. */
  464|      0|        m = NULL;
  465|      0|        goto error;
  466|      0|    }
  467|       |
  468|    110|    if (Py_IS_TYPE(m, NULL)) {
  ------------------
  |  |  215|    110|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 110]
  |  |  ------------------
  ------------------
  469|       |        /* This can happen when a PyModuleDef is returned without calling
  470|       |         * PyModuleDef_Init on it
  471|       |         */
  472|      0|        _Py_ext_module_loader_result_set_error(
  473|      0|                &res, _Py_ext_module_loader_result_ERR_UNINITIALIZED);
  474|       |        /* Likewise, decref'ing here makes sense.  However, the original
  475|       |         * code has a note about "prevent segfault in DECREF",
  476|       |         * so we play it safe and leave it alone. */
  477|      0|        m = NULL; /* prevent segfault in DECREF */
  478|      0|        goto error;
  479|      0|    }
  480|       |
  481|    110|    if (PyObject_TypeCheck(m, &PyModuleDef_Type)) {
  ------------------
  |  |  378|    110|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 110, False: 0]
  |  |  ------------------
  ------------------
  482|       |        /* multi-phase init */
  483|    110|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  484|    110|        res.def = (PyModuleDef *)m;
  485|       |        /* Run PyModule_FromDefAndSpec() to finish loading the module. */
  486|    110|    }
  487|      0|    else if (info->hook_prefixes == &nonascii_prefixes) {
  ------------------
  |  Branch (487:14): [True: 0, False: 0]
  ------------------
  488|       |        /* Non-ASCII is only supported for multi-phase init. */
  489|      0|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  490|       |        /* Don't allow legacy init for non-ASCII module names. */
  491|      0|        _Py_ext_module_loader_result_set_error(
  492|      0|                &res, _Py_ext_module_loader_result_ERR_NONASCII_NOT_MULTIPHASE);
  493|      0|        goto error;
  494|      0|    }
  495|      0|    else {
  496|       |        /* single-phase init (legacy) */
  497|      0|        res.kind = _Py_ext_module_kind_SINGLEPHASE;
  498|      0|        res.module = m;
  499|       |
  500|      0|        if (!PyModule_Check(m)) {
  ------------------
  |  |   12|      0|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (500:13): [True: 0, False: 0]
  ------------------
  501|      0|            _Py_ext_module_loader_result_set_error(
  502|      0|                    &res, _Py_ext_module_loader_result_ERR_NOT_MODULE);
  503|      0|            goto error;
  504|      0|        }
  505|       |
  506|      0|        res.def = _PyModule_GetDefOrNull(m);
  507|      0|        if (res.def == NULL) {
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            PyErr_Clear();
  509|      0|            _Py_ext_module_loader_result_set_error(
  510|      0|                    &res, _Py_ext_module_loader_result_ERR_MISSING_DEF);
  511|      0|            goto error;
  512|      0|        }
  513|      0|    }
  514|       |
  515|    110|    assert(!PyErr_Occurred());
  516|    110|    assert(res.err == NULL);
  517|    110|    *p_res = res;
  518|    110|    return 0;
  519|       |
  520|      0|error:
  521|      0|    assert(!PyErr_Occurred());
  522|      0|    assert(res.err != NULL);
  523|      0|    Py_CLEAR(res.module);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  524|       |    res.def = NULL;
  525|      0|    *p_res = res;
  526|      0|    p_res->err = &p_res->_err;
  527|      0|    return -1;
  528|    110|}
importdl.c:get_encoded_name:
   29|     50|get_encoded_name(PyObject *name, const struct hook_prefixes **hook_prefixes) {
   30|     50|    PyObject *tmp;
   31|     50|    PyObject *encoded = NULL;
   32|     50|    PyObject *modname = NULL;
   33|     50|    Py_ssize_t name_len, lastdot;
   34|       |
   35|       |    /* Get the short name (substring after last dot) */
   36|     50|    name_len = PyUnicode_GetLength(name);
   37|     50|    if (name_len < 0) {
  ------------------
  |  Branch (37:9): [True: 0, False: 50]
  ------------------
   38|      0|        return NULL;
   39|      0|    }
   40|     50|    lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1);
   41|     50|    if (lastdot < -1) {
  ------------------
  |  Branch (41:9): [True: 0, False: 50]
  ------------------
   42|      0|        return NULL;
   43|     50|    } else if (lastdot >= 0) {
  ------------------
  |  Branch (43:16): [True: 0, False: 50]
  ------------------
   44|      0|        tmp = PyUnicode_Substring(name, lastdot + 1, name_len);
   45|      0|        if (tmp == NULL)
  ------------------
  |  Branch (45:13): [True: 0, False: 0]
  ------------------
   46|      0|            return NULL;
   47|      0|        name = tmp;
   48|       |        /* "name" now holds a new reference to the substring */
   49|     50|    } else {
   50|     50|        Py_INCREF(name);
  ------------------
  |  |  310|     50|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     50|    }
   52|       |
   53|       |    /* Encode to ASCII or Punycode, as needed */
   54|     50|    encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
   55|     50|    if (encoded != NULL) {
  ------------------
  |  Branch (55:9): [True: 50, False: 0]
  ------------------
   56|     50|        *hook_prefixes = &ascii_only_prefixes;
   57|     50|    } else {
   58|      0|        if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (58:13): [True: 0, False: 0]
  ------------------
   59|      0|            PyErr_Clear();
   60|      0|            encoded = PyUnicode_AsEncodedString(name, "punycode", NULL);
   61|      0|            if (encoded == NULL) {
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|                goto error;
   63|      0|            }
   64|      0|            *hook_prefixes = &nonascii_prefixes;
   65|      0|        } else {
   66|      0|            goto error;
   67|      0|        }
   68|      0|    }
   69|       |
   70|       |    /* Replace '-' by '_' */
   71|     50|    modname = _PyObject_CallMethod(encoded, &_Py_ID(replace), "cc", '-', '_');
  ------------------
  |  |  919|     50|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     50|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     50|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|     50|    if (modname == NULL)
  ------------------
  |  Branch (72:9): [True: 0, False: 50]
  ------------------
   73|      0|        goto error;
   74|       |
   75|     50|    Py_DECREF(name);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|     50|    Py_DECREF(encoded);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|     50|    return modname;
   78|      0|error:
   79|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|      0|    Py_XDECREF(encoded);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|       |    return NULL;
   82|     50|}
importdl.c:findfuncptr:
  364|     98|{
  365|       |#ifdef MS_WINDOWS
  366|       |    return _PyImport_FindSharedFuncptrWindows(
  367|       |            prefix, name_buf, info->filename, fp);
  368|       |#else
  369|     98|    const char *path_buf = PyBytes_AS_STRING(info->filename_encoded);
  ------------------
  |  |   27|     98|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|     98|    return _PyImport_FindSharedFuncptr(
  371|     98|            prefix, name_buf, path_buf, fp);
  372|     98|#endif
  373|     98|}

Py_GETENV:
  690|     24|{
  691|     24|_Py_COMP_DIAG_PUSH
  692|     24|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  693|     24|    if (Py_IgnoreEnvironmentFlag) {
  ------------------
  |  Branch (693:9): [True: 0, False: 24]
  ------------------
  694|      0|        return NULL;
  695|      0|    }
  696|     24|    return getenv(name);
  697|     24|_Py_COMP_DIAG_POP
  698|     24|}
PyStatus_Ok:
  703|      6|{ return _PyStatus_OK(); }
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
_PyWideStringList_Clear:
  802|     66|{
  803|       |    _PyWideStringList_ClearEx(list, false);
  804|     66|}
_PyWideStringList_Copy:
  855|     32|{
  856|       |    return _PyWideStringList_CopyEx(list, list2, false);
  857|     32|}
PyWideStringList_Insert:
  862|     10|{
  863|     10|    Py_ssize_t len = list->length;
  864|     10|    if (len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (864:9): [True: 0, False: 10]
  ------------------
  865|       |        /* length+1 would overflow */
  866|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  867|      0|    }
  868|     10|    if (index < 0) {
  ------------------
  |  Branch (868:9): [True: 0, False: 10]
  ------------------
  869|      0|        return _PyStatus_ERR("PyWideStringList_Insert index must be >= 0");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  870|      0|    }
  871|     10|    if (index > len) {
  ------------------
  |  Branch (871:9): [True: 0, False: 10]
  ------------------
  872|      0|        index = len;
  873|      0|    }
  874|       |
  875|     10|    wchar_t *item2 = _PyMem_RawWcsdup(item);
  876|     10|    if (item2 == NULL) {
  ------------------
  |  Branch (876:9): [True: 0, False: 10]
  ------------------
  877|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  878|      0|    }
  879|       |
  880|     10|    size_t size = (len + 1) * sizeof(list->items[0]);
  881|     10|    wchar_t **items2 = (wchar_t **)PyMem_RawRealloc(list->items, size);
  882|     10|    if (items2 == NULL) {
  ------------------
  |  Branch (882:9): [True: 0, False: 10]
  ------------------
  883|      0|        PyMem_RawFree(item2);
  884|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  885|      0|    }
  886|       |
  887|     10|    if (index < len) {
  ------------------
  |  Branch (887:9): [True: 0, False: 10]
  ------------------
  888|      0|        memmove(&items2[index + 1],
  889|      0|                &items2[index],
  890|      0|                (len - index) * sizeof(items2[0]));
  891|      0|    }
  892|       |
  893|     10|    items2[index] = item2;
  894|     10|    list->items = items2;
  895|     10|    list->length++;
  896|     10|    return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  897|     10|}
PyWideStringList_Append:
  902|     10|{
  903|     10|    return PyWideStringList_Insert(list, list->length, item);
  904|     10|}
_PyWideStringList_Extend:
  909|      4|{
  910|      4|    for (Py_ssize_t i = 0; i < list2->length; i++) {
  ------------------
  |  Branch (910:28): [True: 0, False: 4]
  ------------------
  911|      0|        PyStatus status = PyWideStringList_Append(list, list2->items[i]);
  912|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  913|      0|            return status;
  914|      0|        }
  915|      0|    }
  916|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  917|      4|}
_PyWideStringList_AsList:
  934|      8|{
  935|      8|    assert(_PyWideStringList_CheckConsistency(list));
  936|       |
  937|      8|    PyObject *pylist = PyList_New(list->length);
  938|      8|    if (pylist == NULL) {
  ------------------
  |  Branch (938:9): [True: 0, False: 8]
  ------------------
  939|      0|        return NULL;
  940|      0|    }
  941|       |
  942|     16|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (942:28): [True: 8, False: 8]
  ------------------
  943|      8|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  944|      8|        if (item == NULL) {
  ------------------
  |  Branch (944:13): [True: 0, False: 8]
  ------------------
  945|      0|            Py_DECREF(pylist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  946|      0|            return NULL;
  947|      0|        }
  948|      8|        PyList_SET_ITEM(pylist, i, item);
  ------------------
  |  |   50|      8|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|      8|    }
  950|      8|    return pylist;
  951|      8|}
PyConfig_Clear:
 1089|      8|{
 1090|      8|#define CLEAR(ATTR) \
 1091|      8|    do { \
 1092|      8|        PyMem_RawFree(ATTR); \
 1093|      8|        ATTR = NULL; \
 1094|      8|    } while (0)
 1095|       |
 1096|      8|    CLEAR(config->pycache_prefix);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1097|      8|    CLEAR(config->pythonpath_env);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1098|      8|    CLEAR(config->home);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1099|      8|    CLEAR(config->program_name);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1100|       |
 1101|      8|    _PyWideStringList_Clear(&config->argv);
 1102|      8|    _PyWideStringList_Clear(&config->warnoptions);
 1103|      8|    _PyWideStringList_Clear(&config->xoptions);
 1104|      8|    _PyWideStringList_Clear(&config->module_search_paths);
 1105|      8|    config->module_search_paths_set = 0;
 1106|      8|    CLEAR(config->stdlib_dir);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1107|       |
 1108|      8|    CLEAR(config->executable);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1109|      8|    CLEAR(config->base_executable);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1110|      8|    CLEAR(config->prefix);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1111|      8|    CLEAR(config->base_prefix);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1112|      8|    CLEAR(config->exec_prefix);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1113|      8|    CLEAR(config->base_exec_prefix);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1114|      8|    CLEAR(config->platlibdir);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1115|      8|    CLEAR(config->sys_path_0);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1116|       |
 1117|      8|    CLEAR(config->filesystem_encoding);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1118|      8|    CLEAR(config->filesystem_errors);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1119|      8|    CLEAR(config->stdio_encoding);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1120|      8|    CLEAR(config->stdio_errors);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1121|      8|    CLEAR(config->run_command);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1122|      8|    CLEAR(config->run_module);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1123|      8|    CLEAR(config->run_filename);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1124|      8|    CLEAR(config->check_hash_pycs_mode);
  ------------------
  |  | 1091|      8|    do { \
  |  | 1092|      8|        PyMem_RawFree(ATTR); \
  |  | 1093|      8|        ATTR = NULL; \
  |  | 1094|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1094:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1125|       |#ifdef Py_DEBUG
 1126|       |    CLEAR(config->run_presite);
 1127|       |#endif
 1128|       |
 1129|      8|    _PyWideStringList_Clear(&config->orig_argv);
 1130|      8|#undef CLEAR
 1131|      8|}
_PyConfig_InitCompatConfig:
 1136|      6|{
 1137|      6|    memset(config, 0, sizeof(*config));
 1138|       |
 1139|      6|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
 1140|      6|    config->import_time = -1;
 1141|      6|    config->isolated = -1;
 1142|      6|    config->use_environment = -1;
 1143|      6|    config->dev_mode = -1;
 1144|      6|    config->install_signal_handlers = 1;
 1145|      6|    config->use_hash_seed = -1;
 1146|      6|    config->faulthandler = -1;
 1147|      6|    config->tracemalloc = -1;
 1148|      6|    config->perf_profiling = -1;
 1149|      6|    config->remote_debug = -1;
 1150|      6|    config->module_search_paths_set = 0;
 1151|      6|    config->parse_argv = 0;
 1152|      6|    config->site_import = -1;
 1153|      6|    config->bytes_warning = -1;
 1154|      6|    config->warn_default_encoding = 0;
 1155|      6|    config->inspect = -1;
 1156|      6|    config->interactive = -1;
 1157|      6|    config->optimization_level = -1;
 1158|      6|    config->parser_debug= -1;
 1159|      6|    config->write_bytecode = -1;
 1160|      6|    config->verbose = -1;
 1161|      6|    config->quiet = -1;
 1162|      6|    config->user_site_directory = -1;
 1163|      6|    config->configure_c_stdio = 0;
 1164|      6|    config->buffered_stdio = -1;
 1165|      6|    config->_install_importlib = 1;
 1166|      6|    config->check_hash_pycs_mode = NULL;
 1167|      6|    config->pathconfig_warnings = -1;
 1168|      6|    config->_init_main = 1;
 1169|       |#ifdef MS_WINDOWS
 1170|       |    config->legacy_windows_stdio = -1;
 1171|       |#endif
 1172|       |#ifdef Py_DEBUG
 1173|       |    config->use_frozen_modules = 0;
 1174|       |#else
 1175|      6|    config->use_frozen_modules = 1;
 1176|      6|#endif
 1177|      6|    config->safe_path = 0;
 1178|      6|    config->int_max_str_digits = -1;
 1179|      6|    config->_is_python_build = 0;
 1180|      6|    config->code_debug_ranges = 1;
 1181|      6|    config->cpu_count = -1;
 1182|      6|    config->lazy_imports = -1;
 1183|       |#ifdef Py_GIL_DISABLED
 1184|       |    config->thread_inherit_context = 1;
 1185|       |    config->context_aware_warnings = 1;
 1186|       |#else
 1187|      6|    config->thread_inherit_context = 0;
 1188|      6|    config->context_aware_warnings = 0;
 1189|      6|#endif
 1190|       |#ifdef __APPLE__
 1191|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1192|       |#endif
 1193|       |#ifdef Py_GIL_DISABLED
 1194|       |    config->enable_gil = _PyConfig_GIL_DEFAULT;
 1195|       |    config->tlbc_enabled = 1;
 1196|       |#endif
 1197|      6|}
PyConfig_InitPythonConfig:
 1237|      4|{
 1238|      4|    config_init_defaults(config);
 1239|       |
 1240|      4|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
 1241|      4|    config->configure_c_stdio = 1;
 1242|      4|    config->parse_argv = 1;
 1243|      4|}
PyConfig_SetString:
 1280|    142|{
 1281|    142|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1282|    142|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    142|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 142]
  |  |  ------------------
  ------------------
 1283|      0|        return status;
 1284|      0|    }
 1285|       |
 1286|    142|    wchar_t *str2;
 1287|    142|    if (str != NULL) {
  ------------------
  |  Branch (1287:9): [True: 50, False: 92]
  ------------------
 1288|     50|        str2 = _PyMem_RawWcsdup(str);
 1289|     50|        if (str2 == NULL) {
  ------------------
  |  Branch (1289:13): [True: 0, False: 50]
  ------------------
 1290|      0|            return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 1291|      0|        }
 1292|     50|    }
 1293|     92|    else {
 1294|     92|        str2 = NULL;
 1295|     92|    }
 1296|    142|    PyMem_RawFree(*config_str);
 1297|    142|    *config_str = str2;
 1298|    142|    return _PyStatus_OK();
  ------------------
  |  |   24|    142|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1299|    142|}
_PyConfig_Copy:
 1364|      4|{
 1365|      4|    PyConfig_Clear(config);
 1366|       |
 1367|      4|    PyStatus status;
 1368|      4|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1369|    288|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1369:12): [True: 284, False: 4]
  ------------------
 1370|    284|        void *member = config_get_spec_member(config, spec);
 1371|    284|        const void *member2 = config_get_spec_member((PyConfig*)config2, spec);
 1372|    284|        switch (spec->type) {
 1373|     16|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1373:9): [True: 16, False: 268]
  ------------------
 1374|     48|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1374:9): [True: 32, False: 252]
  ------------------
 1375|    172|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1375:9): [True: 124, False: 160]
  ------------------
 1376|    172|        {
 1377|    172|            *(int*)member = *(int*)member2;
 1378|    172|            break;
 1379|     48|        }
 1380|      4|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1380:9): [True: 4, False: 280]
  ------------------
 1381|      4|        {
 1382|      4|            *(unsigned long*)member = *(unsigned long*)member2;
 1383|      4|            break;
 1384|     48|        }
 1385|     28|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1385:9): [True: 28, False: 256]
  ------------------
 1386|     88|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1386:9): [True: 60, False: 224]
  ------------------
 1387|     88|        {
 1388|     88|            const wchar_t *str = *(const wchar_t**)member2;
 1389|     88|            status = PyConfig_SetString(config, (wchar_t**)member, str);
 1390|     88|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     88|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 88]
  |  |  ------------------
  ------------------
 1391|      0|                return status;
 1392|      0|            }
 1393|     88|            break;
 1394|     88|        }
 1395|     88|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1395:9): [True: 20, False: 264]
  ------------------
 1396|     20|        {
 1397|     20|            if (_PyWideStringList_Copy((PyWideStringList*)member,
  ------------------
  |  Branch (1397:17): [True: 0, False: 20]
  ------------------
 1398|     20|                                       (const PyWideStringList*)member2) < 0) {
 1399|      0|                return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 1400|      0|            }
 1401|     20|            break;
 1402|     20|        }
 1403|     20|        default:
  ------------------
  |  Branch (1403:9): [True: 0, False: 284]
  ------------------
 1404|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1405|    284|        }
 1406|    284|    }
 1407|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1408|      4|}
_PyConfig_AsDict:
 1413|      2|{
 1414|      2|    PyObject *dict = PyDict_New();
 1415|      2|    if (dict == NULL) {
  ------------------
  |  Branch (1415:9): [True: 0, False: 2]
  ------------------
 1416|      0|        return NULL;
 1417|      0|    }
 1418|       |
 1419|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1420|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1420:12): [True: 142, False: 2]
  ------------------
 1421|    142|        PyObject *obj = config_get(config, spec, 0);
 1422|    142|        if (obj == NULL) {
  ------------------
  |  Branch (1422:13): [True: 0, False: 142]
  ------------------
 1423|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      0|            return NULL;
 1425|      0|        }
 1426|       |
 1427|    142|        int res = PyDict_SetItemString(dict, spec->name, obj);
 1428|    142|        Py_DECREF(obj);
  ------------------
  |  |  430|    142|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|    142|        if (res < 0) {
  ------------------
  |  Branch (1429:13): [True: 0, False: 142]
  ------------------
 1430|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|      0|            return NULL;
 1432|      0|        }
 1433|    142|    }
 1434|      2|    return dict;
 1435|      2|}
_PyConfig_FromDict:
 1647|      2|{
 1648|      2|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1648:9): [True: 0, False: 2]
  ------------------
 1649|      0|        PyErr_SetString(PyExc_TypeError, "dict expected");
 1650|      0|        return -1;
 1651|      0|    }
 1652|       |
 1653|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1654|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1654:12): [True: 142, False: 2]
  ------------------
 1655|    142|        char *member = (char *)config + spec->offset;
 1656|    142|        switch (spec->type) {
 1657|      8|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1657:9): [True: 8, False: 134]
  ------------------
 1658|     24|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1658:9): [True: 16, False: 126]
  ------------------
 1659|     86|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1659:9): [True: 62, False: 80]
  ------------------
 1660|     86|        {
 1661|     86|            int value;
 1662|     86|            if (config_dict_get_int(dict, spec->name, &value) < 0) {
  ------------------
  |  Branch (1662:17): [True: 0, False: 86]
  ------------------
 1663|      0|                return -1;
 1664|      0|            }
 1665|     86|            if (spec->type == PyConfig_MEMBER_BOOL
  ------------------
  |  Branch (1665:17): [True: 62, False: 24]
  ------------------
 1666|     24|                || spec->type == PyConfig_MEMBER_UINT)
  ------------------
  |  Branch (1666:20): [True: 16, False: 8]
  ------------------
 1667|     78|            {
 1668|     78|                if (value < 0) {
  ------------------
  |  Branch (1668:21): [True: 0, False: 78]
  ------------------
 1669|      0|                    config_dict_invalid_value(spec->name);
 1670|      0|                    return -1;
 1671|      0|                }
 1672|     78|            }
 1673|     86|            *(int*)member = value;
 1674|     86|            break;
 1675|     86|        }
 1676|      2|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1676:9): [True: 2, False: 140]
  ------------------
 1677|      2|        {
 1678|      2|            if (config_dict_get_ulong(dict, spec->name,
  ------------------
  |  Branch (1678:17): [True: 0, False: 2]
  ------------------
 1679|      2|                                      (unsigned long*)member) < 0) {
 1680|      0|                return -1;
 1681|      0|            }
 1682|      2|            break;
 1683|      2|        }
 1684|     14|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1684:9): [True: 14, False: 128]
  ------------------
 1685|     14|        {
 1686|     14|            wchar_t **wstr = (wchar_t**)member;
 1687|     14|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1687:17): [True: 0, False: 14]
  ------------------
 1688|      0|                return -1;
 1689|      0|            }
 1690|     14|            if (*wstr == NULL) {
  ------------------
  |  Branch (1690:17): [True: 0, False: 14]
  ------------------
 1691|      0|                config_dict_invalid_value(spec->name);
 1692|      0|                return -1;
 1693|      0|            }
 1694|     14|            break;
 1695|     14|        }
 1696|     30|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1696:9): [True: 30, False: 112]
  ------------------
 1697|     30|        {
 1698|     30|            wchar_t **wstr = (wchar_t**)member;
 1699|     30|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1699:17): [True: 0, False: 30]
  ------------------
 1700|      0|                return -1;
 1701|      0|            }
 1702|     30|            break;
 1703|     30|        }
 1704|     30|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1704:9): [True: 10, False: 132]
  ------------------
 1705|     10|        {
 1706|     10|            if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (1706:17): [True: 2, False: 8]
  ------------------
 1707|      2|                if (config_dict_get_xoptions(dict, spec->name, config,
  ------------------
  |  Branch (1707:21): [True: 0, False: 2]
  ------------------
 1708|      2|                                             (PyWideStringList*)member) < 0) {
 1709|      0|                    return -1;
 1710|      0|                }
 1711|      2|            }
 1712|      8|            else {
 1713|      8|                if (config_dict_get_wstrlist(dict, spec->name, config,
  ------------------
  |  Branch (1713:21): [True: 0, False: 8]
  ------------------
 1714|      8|                                             (PyWideStringList*)member) < 0) {
 1715|      0|                    return -1;
 1716|      0|                }
 1717|      8|            }
 1718|     10|            break;
 1719|     10|        }
 1720|     10|        default:
  ------------------
  |  Branch (1720:9): [True: 0, False: 142]
  ------------------
 1721|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1722|    142|        }
 1723|    142|    }
 1724|       |
 1725|      2|    if (!(config->_config_init == _PyConfig_INIT_COMPAT
  ------------------
  |  Branch (1725:11): [True: 2, False: 0]
  ------------------
 1726|      0|          || config->_config_init == _PyConfig_INIT_PYTHON
  ------------------
  |  Branch (1726:14): [True: 0, False: 0]
  ------------------
 1727|      0|          || config->_config_init == _PyConfig_INIT_ISOLATED))
  ------------------
  |  Branch (1727:14): [True: 0, False: 0]
  ------------------
 1728|      0|    {
 1729|      0|        config_dict_invalid_value("_config_init");
 1730|      0|        return -1;
 1731|      0|    }
 1732|       |
 1733|      2|    if (config->hash_seed > MAX_HASH_SEED) {
  ------------------
  |  | 1007|      2|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1733:9): [True: 0, False: 2]
  ------------------
 1734|      0|        config_dict_invalid_value("hash_seed");
 1735|      0|        return -1;
 1736|      0|    }
 1737|      2|    return 0;
 1738|      2|}
_PyConfig_InitImportConfig:
 2850|      2|{
 2851|      2|    return config_init_import(config, 1);
 2852|      2|}
_PyConfig_Write:
 3016|      2|{
 3017|      2|    config_set_global_vars(config);
 3018|       |
 3019|      2|    if (config->configure_c_stdio) {
  ------------------
  |  Branch (3019:9): [True: 0, False: 2]
  ------------------
 3020|      0|        config_init_stdio(config);
 3021|      0|    }
 3022|       |
 3023|       |    /* Write the new pre-configuration into _PyRuntime */
 3024|      2|    PyPreConfig *preconfig = &runtime->preconfig;
 3025|      2|    preconfig->isolated = config->isolated;
 3026|      2|    preconfig->use_environment = config->use_environment;
 3027|      2|    preconfig->dev_mode = config->dev_mode;
 3028|       |
 3029|      2|    if (_Py_SetArgcArgv(config->orig_argv.length,
  ------------------
  |  Branch (3029:9): [True: 0, False: 2]
  ------------------
 3030|      2|                        config->orig_argv.items) < 0)
 3031|      0|    {
 3032|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 3033|      0|    }
 3034|       |
 3035|       |#ifdef PYMALLOC_USE_HUGEPAGES
 3036|       |    runtime->allocators.use_hugepages = config->pymalloc_hugepages;
 3037|       |#endif
 3038|       |
 3039|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3040|      2|}
_PyConfig_Read:
 3733|      2|{
 3734|      2|    PyStatus status;
 3735|       |
 3736|      2|    status = _Py_PreInitializeFromConfig(config, NULL);
 3737|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3738|      0|        return status;
 3739|      0|    }
 3740|       |
 3741|      2|    config_get_global_vars(config);
 3742|       |
 3743|       |#ifdef __CYGWIN__
 3744|       |    status = config_argv0_add_exe(config);
 3745|       |    if (_PyStatus_EXCEPTION(status)) {
 3746|       |        return status;
 3747|       |    }
 3748|       |#endif
 3749|       |
 3750|      2|    if (config->orig_argv.length == 0
  ------------------
  |  Branch (3750:9): [True: 2, False: 0]
  ------------------
 3751|      2|        && !(config->argv.length == 1
  ------------------
  |  Branch (3751:14): [True: 0, False: 2]
  ------------------
 3752|      0|             && wcscmp(config->argv.items[0], L"") == 0))
  ------------------
  |  Branch (3752:17): [True: 0, False: 0]
  ------------------
 3753|      2|    {
 3754|      2|        if (_PyWideStringList_Copy(&config->orig_argv, &config->argv) < 0) {
  ------------------
  |  Branch (3754:13): [True: 0, False: 2]
  ------------------
 3755|      0|            return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 3756|      0|        }
 3757|      2|    }
 3758|       |
 3759|      2|    _PyPreCmdline precmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
 3760|      2|    status = core_read_precmdline(config, &precmdline);
 3761|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3762|      0|        goto done;
 3763|      0|    }
 3764|       |
 3765|      2|    assert(config->isolated >= 0);
 3766|      2|    if (config->isolated) {
  ------------------
  |  Branch (3766:9): [True: 0, False: 2]
  ------------------
 3767|      0|        config->safe_path = 1;
 3768|      0|        config->use_environment = 0;
 3769|      0|        config->user_site_directory = 0;
 3770|      0|    }
 3771|       |
 3772|      2|    status = config_read_cmdline(config);
 3773|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3774|      0|        goto done;
 3775|      0|    }
 3776|       |
 3777|       |    /* Handle early PySys_AddXOption() calls */
 3778|      2|    status = _PySys_ReadPreinitXOptions(config);
 3779|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3780|      0|        goto done;
 3781|      0|    }
 3782|       |
 3783|      2|    status = config_read(config, compute_path_config);
 3784|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3785|      0|        goto done;
 3786|      0|    }
 3787|       |
 3788|      2|    assert(config_check_consistency(config));
 3789|       |
 3790|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3791|       |
 3792|      2|done:
 3793|      2|    _PyPreCmdline_Clear(&precmdline);
 3794|      2|    return status;
 3795|      2|}
_PyConfig_CreateXOptionsDict:
 4588|      4|{
 4589|      4|    PyObject *dict = PyDict_New();
 4590|      4|    if (dict == NULL) {
  ------------------
  |  Branch (4590:9): [True: 0, False: 4]
  ------------------
 4591|      0|        return NULL;
 4592|      0|    }
 4593|       |
 4594|      4|    Py_ssize_t nxoption = config->xoptions.length;
 4595|      4|    wchar_t **xoptions = config->xoptions.items;
 4596|      4|    for (Py_ssize_t i=0; i < nxoption; i++) {
  ------------------
  |  Branch (4596:26): [True: 0, False: 4]
  ------------------
 4597|      0|        const wchar_t *option = xoptions[i];
 4598|      0|        if (config_add_xoption(dict, option) < 0) {
  ------------------
  |  Branch (4598:13): [True: 0, False: 0]
  ------------------
 4599|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4600|      0|            return NULL;
 4601|      0|        }
 4602|      0|    }
 4603|      4|    return dict;
 4604|      4|}
initconfig.c:_PyWideStringList_ClearEx:
  780|    100|{
  781|    100|    assert(_PyWideStringList_CheckConsistency(list));
  782|    112|    for (Py_ssize_t i=0; i < list->length; i++) {
  ------------------
  |  Branch (782:26): [True: 12, False: 100]
  ------------------
  783|     12|        if (use_default_allocator) {
  ------------------
  |  Branch (783:13): [True: 0, False: 12]
  ------------------
  784|      0|            _PyMem_DefaultRawFree(list->items[i]);
  785|      0|        }
  786|     12|        else {
  787|     12|            PyMem_RawFree(list->items[i]);
  788|     12|        }
  789|     12|    }
  790|    100|    if (use_default_allocator) {
  ------------------
  |  Branch (790:9): [True: 2, False: 98]
  ------------------
  791|      2|        _PyMem_DefaultRawFree(list->items);
  792|      2|    }
  793|     98|    else {
  794|     98|        PyMem_RawFree(list->items);
  795|     98|    }
  796|    100|    list->length = 0;
  797|       |    list->items = NULL;
  798|    100|}
initconfig.c:_PyWideStringList_CopyEx:
  810|     34|{
  811|     34|    assert(_PyWideStringList_CheckConsistency(list));
  812|     34|    assert(_PyWideStringList_CheckConsistency(list2));
  813|       |
  814|     34|    if (list2->length == 0) {
  ------------------
  |  Branch (814:9): [True: 28, False: 6]
  ------------------
  815|     28|        _PyWideStringList_ClearEx(list, use_default_allocator);
  816|     28|        return 0;
  817|     28|    }
  818|       |
  819|      6|    PyWideStringList copy = _PyWideStringList_INIT;
  ------------------
  |  |   53|      6|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
  820|       |
  821|      6|    size_t size = list2->length * sizeof(list2->items[0]);
  822|      6|    if (use_default_allocator) {
  ------------------
  |  Branch (822:9): [True: 0, False: 6]
  ------------------
  823|      0|        copy.items = _PyMem_DefaultRawMalloc(size);
  824|      0|    }
  825|      6|    else {
  826|      6|        copy.items = PyMem_RawMalloc(size);
  827|      6|    }
  828|      6|    if (copy.items == NULL) {
  ------------------
  |  Branch (828:9): [True: 0, False: 6]
  ------------------
  829|      0|        return -1;
  830|      0|    }
  831|       |
  832|     16|    for (Py_ssize_t i=0; i < list2->length; i++) {
  ------------------
  |  Branch (832:26): [True: 10, False: 6]
  ------------------
  833|     10|        wchar_t *item;
  834|     10|        if (use_default_allocator) {
  ------------------
  |  Branch (834:13): [True: 0, False: 10]
  ------------------
  835|      0|            item = _PyMem_DefaultRawWcsdup(list2->items[i]);
  836|      0|        }
  837|     10|        else {
  838|     10|            item = _PyMem_RawWcsdup(list2->items[i]);
  839|     10|        }
  840|     10|        if (item == NULL) {
  ------------------
  |  Branch (840:13): [True: 0, False: 10]
  ------------------
  841|      0|            _PyWideStringList_ClearEx(&copy, use_default_allocator);
  842|      0|            return -1;
  843|      0|        }
  844|     10|        copy.items[i] = item;
  845|     10|        copy.length = i + 1;
  846|     10|    }
  847|       |
  848|      6|    _PyWideStringList_ClearEx(list, use_default_allocator);
  849|      6|    *list = copy;
  850|      6|    return 0;
  851|      6|}
initconfig.c:config_init_defaults:
 1202|      4|{
 1203|      4|    _PyConfig_InitCompatConfig(config);
 1204|       |
 1205|      4|    config->isolated = 0;
 1206|      4|    config->use_environment = 1;
 1207|      4|    config->site_import = 1;
 1208|      4|    config->bytes_warning = 0;
 1209|      4|    config->inspect = 0;
 1210|      4|    config->interactive = 0;
 1211|      4|    config->optimization_level = 0;
 1212|      4|    config->parser_debug= 0;
 1213|      4|    config->write_bytecode = 1;
 1214|      4|    config->verbose = 0;
 1215|      4|    config->quiet = 0;
 1216|      4|    config->user_site_directory = 1;
 1217|      4|    config->buffered_stdio = 1;
 1218|      4|    config->pathconfig_warnings = 1;
 1219|       |#ifdef MS_WINDOWS
 1220|       |    config->legacy_windows_stdio = 0;
 1221|       |#endif
 1222|       |#ifdef Py_GIL_DISABLED
 1223|       |    config->thread_inherit_context = 1;
 1224|       |    config->context_aware_warnings = 1;
 1225|       |#else
 1226|      4|    config->thread_inherit_context = 0;
 1227|      4|    config->context_aware_warnings = 0;
 1228|      4|#endif
 1229|       |#ifdef __APPLE__
 1230|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1231|       |#endif
 1232|      4|}
initconfig.c:config_get_spec_member:
 1350|    710|{
 1351|    710|    return (char *)config + spec->offset;
 1352|    710|}
initconfig.c:config_dict_get_int:
 1447|     86|{
 1448|     86|    PyObject *item = config_dict_get(dict, name);
 1449|     86|    if (item == NULL) {
  ------------------
  |  Branch (1449:9): [True: 0, False: 86]
  ------------------
 1450|      0|        return -1;
 1451|      0|    }
 1452|     86|    int value = PyLong_AsInt(item);
 1453|     86|    Py_DECREF(item);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|     86|    if (value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1454:9): [True: 4, False: 82]
  |  Branch (1454:24): [True: 0, False: 4]
  ------------------
 1455|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            config_dict_invalid_type(name);
 1457|      0|        }
 1458|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1458:18): [True: 0, False: 0]
  ------------------
 1459|      0|            config_dict_invalid_value(name);
 1460|      0|        }
 1461|      0|        return -1;
 1462|      0|    }
 1463|     86|    *result = value;
 1464|     86|    return 0;
 1465|     86|}
initconfig.c:config_dict_get_ulong:
 1470|      2|{
 1471|      2|    PyObject *item = config_dict_get(dict, name);
 1472|      2|    if (item == NULL) {
  ------------------
  |  Branch (1472:9): [True: 0, False: 2]
  ------------------
 1473|      0|        return -1;
 1474|      0|    }
 1475|      2|    unsigned long value = PyLong_AsUnsignedLong(item);
 1476|      2|    Py_DECREF(item);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      2|    if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 2]
  |  Branch (1477:39): [True: 0, False: 0]
  ------------------
 1478|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1478:13): [True: 0, False: 0]
  ------------------
 1479|      0|            config_dict_invalid_type(name);
 1480|      0|        }
 1481|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1481:18): [True: 0, False: 0]
  ------------------
 1482|      0|            config_dict_invalid_value(name);
 1483|      0|        }
 1484|      0|        return -1;
 1485|      0|    }
 1486|      2|    *result = value;
 1487|      2|    return 0;
 1488|      2|}
initconfig.c:config_dict_get_wstr:
 1494|     44|{
 1495|     44|    PyObject *item = config_dict_get(dict, name);
 1496|     44|    if (item == NULL) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 44]
  ------------------
 1497|      0|        return -1;
 1498|      0|    }
 1499|       |
 1500|     44|    PyStatus status;
 1501|     44|    if (item == Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1501:9): [True: 14, False: 30]
  ------------------
 1502|     14|        status = PyConfig_SetString(config, result, NULL);
 1503|     14|    }
 1504|     30|    else if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|     30|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     30|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1504:14): [True: 0, False: 30]
  ------------------
 1505|      0|        config_dict_invalid_type(name);
 1506|      0|        goto error;
 1507|      0|    }
 1508|     30|    else {
 1509|     30|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1510|     30|        if (wstr == NULL) {
  ------------------
  |  Branch (1510:13): [True: 0, False: 30]
  ------------------
 1511|      0|            goto error;
 1512|      0|        }
 1513|     30|        status = PyConfig_SetString(config, result, wstr);
 1514|     30|        PyMem_Free(wstr);
 1515|     30|    }
 1516|     44|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     44|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 1517|      0|        PyErr_NoMemory();
 1518|      0|        goto error;
 1519|      0|    }
 1520|     44|    Py_DECREF(item);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|     44|    return 0;
 1522|       |
 1523|      0|error:
 1524|      0|    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|      0|    return -1;
 1526|     44|}
initconfig.c:config_dict_get_xoptions:
 1588|      2|{
 1589|      2|    PyObject *xoptions = config_dict_get(dict, name);
 1590|      2|    if (xoptions == NULL) {
  ------------------
  |  Branch (1590:9): [True: 0, False: 2]
  ------------------
 1591|      0|        return -1;
 1592|      0|    }
 1593|       |
 1594|      2|    if (!PyDict_CheckExact(xoptions)) {
  ------------------
  |  |   19|      2|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1594:9): [True: 0, False: 2]
  ------------------
 1595|      0|        Py_DECREF(xoptions);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|        config_dict_invalid_type(name);
 1597|      0|        return -1;
 1598|      0|    }
 1599|       |
 1600|      2|    Py_ssize_t pos = 0;
 1601|      2|    PyObject *key, *value;
 1602|      2|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1603|      2|    while (PyDict_Next(xoptions, &pos, &key, &value)) {
  ------------------
  |  Branch (1603:12): [True: 0, False: 2]
  ------------------
 1604|      0|        PyObject *item;
 1605|       |
 1606|      0|        if (value != Py_True) {
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1606:13): [True: 0, False: 0]
  ------------------
 1607|      0|            item = PyUnicode_FromFormat("%S=%S", key, value);
 1608|      0|            if (item == NULL) {
  ------------------
  |  Branch (1608:17): [True: 0, False: 0]
  ------------------
 1609|      0|                goto error;
 1610|      0|            }
 1611|      0|        }
 1612|      0|        else {
 1613|      0|            item = Py_NewRef(key);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|      0|        }
 1615|       |
 1616|      0|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1617|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|      0|        if (wstr == NULL) {
  ------------------
  |  Branch (1618:13): [True: 0, False: 0]
  ------------------
 1619|      0|            goto error;
 1620|      0|        }
 1621|       |
 1622|      0|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1623|      0|        PyMem_Free(wstr);
 1624|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1625|      0|            PyErr_NoMemory();
 1626|      0|            goto error;
 1627|      0|        }
 1628|      0|    }
 1629|       |
 1630|      2|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1630:9): [True: 0, False: 2]
  ------------------
 1631|      0|        PyErr_NoMemory();
 1632|      0|        goto error;
 1633|      0|    }
 1634|      2|    _PyWideStringList_Clear(&wstrlist);
 1635|      2|    Py_DECREF(xoptions);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1636|      2|    return 0;
 1637|       |
 1638|      0|error:
 1639|      0|    _PyWideStringList_Clear(&wstrlist);
 1640|      0|    Py_DECREF(xoptions);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|      0|    return -1;
 1642|      2|}
initconfig.c:config_dict_get_wstrlist:
 1532|      8|{
 1533|      8|    PyObject *list = config_dict_get(dict, name);
 1534|      8|    if (list == NULL) {
  ------------------
  |  Branch (1534:9): [True: 0, False: 8]
  ------------------
 1535|      0|        return -1;
 1536|      0|    }
 1537|       |
 1538|      8|    int is_list = PyList_CheckExact(list);
  ------------------
  |  |   26|      8|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|      8|    if (!is_list && !PyTuple_CheckExact(list)) {
  ------------------
  |  |   28|      6|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1539:9): [True: 6, False: 2]
  |  Branch (1539:21): [True: 0, False: 6]
  ------------------
 1540|      0|        Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1541|      0|        config_dict_invalid_type(name);
 1542|      0|        return -1;
 1543|      0|    }
 1544|       |
 1545|      8|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      8|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1546|      8|    Py_ssize_t len = is_list ? PyList_GET_SIZE(list) : PyTuple_GET_SIZE(list);
  ------------------
  |  |   38|      2|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t len = is_list ? PyList_GET_SIZE(list) : PyTuple_GET_SIZE(list);
  ------------------
  |  |   27|      6|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1546:22): [True: 2, False: 6]
  ------------------
 1547|     16|    for (Py_ssize_t i=0; i < len; i++) {
  ------------------
  |  Branch (1547:26): [True: 8, False: 8]
  ------------------
 1548|      8|        PyObject *item = is_list ? PyList_GET_ITEM(list, i) : PyTuple_GET_ITEM(list, i);
  ------------------
  |  |   40|      6|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      6|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyObject *item = is_list ? PyList_GET_ITEM(list, i) : PyTuple_GET_ITEM(list, i);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1548:26): [True: 6, False: 2]
  ------------------
 1549|       |
 1550|      8|        if (item == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1550:13): [True: 0, False: 8]
  ------------------
 1551|      0|            config_dict_invalid_value(name);
 1552|      0|            goto error;
 1553|      0|        }
 1554|      8|        else if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1554:18): [True: 0, False: 8]
  ------------------
 1555|      0|            config_dict_invalid_type(name);
 1556|      0|            goto error;
 1557|      0|        }
 1558|      8|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1559|      8|        if (wstr == NULL) {
  ------------------
  |  Branch (1559:13): [True: 0, False: 8]
  ------------------
 1560|      0|            goto error;
 1561|      0|        }
 1562|      8|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1563|      8|        PyMem_Free(wstr);
 1564|      8|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 1565|      0|            PyErr_NoMemory();
 1566|      0|            goto error;
 1567|      0|        }
 1568|      8|    }
 1569|       |
 1570|      8|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1570:9): [True: 0, False: 8]
  ------------------
 1571|      0|        PyErr_NoMemory();
 1572|      0|        goto error;
 1573|      0|    }
 1574|      8|    _PyWideStringList_Clear(&wstrlist);
 1575|      8|    Py_DECREF(list);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      8|    return 0;
 1577|       |
 1578|      0|error:
 1579|      0|    _PyWideStringList_Clear(&wstrlist);
 1580|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|      0|    return -1;
 1582|      8|}
initconfig.c:config_init_import:
 2804|      4|{
 2805|      4|    PyStatus status;
 2806|       |
 2807|      4|    status = _PyConfig_InitPathConfig(config, compute_path_config);
 2808|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2809|      0|        return status;
 2810|      0|    }
 2811|       |
 2812|      4|    const char *env = config_get_env(config, "PYTHON_FROZEN_MODULES");
 2813|      4|    if (env == NULL) {
  ------------------
  |  Branch (2813:9): [True: 4, False: 0]
  ------------------
 2814|      4|    }
 2815|      0|    else if (strcmp(env, "on") == 0) {
  ------------------
  |  Branch (2815:14): [True: 0, False: 0]
  ------------------
 2816|      0|        config->use_frozen_modules = 1;
 2817|      0|    }
 2818|      0|    else if (strcmp(env, "off") == 0) {
  ------------------
  |  Branch (2818:14): [True: 0, False: 0]
  ------------------
 2819|      0|        config->use_frozen_modules = 0;
 2820|      0|    } else {
 2821|      0|        return PyStatus_Error("bad value for PYTHON_FROZEN_MODULES "
 2822|      0|                              "(expected \"on\" or \"off\")");
 2823|      0|    }
 2824|       |
 2825|       |    /* -X frozen_modules=[on|off] */
 2826|      4|    const wchar_t *value = config_get_xoption_value(config, L"frozen_modules");
 2827|      4|    if (value == NULL) {
  ------------------
  |  Branch (2827:9): [True: 4, False: 0]
  ------------------
 2828|      4|    }
 2829|      0|    else if (wcscmp(value, L"on") == 0) {
  ------------------
  |  Branch (2829:14): [True: 0, False: 0]
  ------------------
 2830|      0|        config->use_frozen_modules = 1;
 2831|      0|    }
 2832|      0|    else if (wcscmp(value, L"off") == 0) {
  ------------------
  |  Branch (2832:14): [True: 0, False: 0]
  ------------------
 2833|      0|        config->use_frozen_modules = 0;
 2834|      0|    }
 2835|      0|    else if (wcslen(value) == 0) {
  ------------------
  |  Branch (2835:14): [True: 0, False: 0]
  ------------------
 2836|       |        // "-X frozen_modules" and "-X frozen_modules=" both imply "on".
 2837|      0|        config->use_frozen_modules = 1;
 2838|      0|    }
 2839|      0|    else {
 2840|      0|        return PyStatus_Error("bad value for option -X frozen_modules "
 2841|      0|                              "(expected \"on\" or \"off\")");
 2842|      0|    }
 2843|       |
 2844|      4|    assert(config->use_frozen_modules >= 0);
 2845|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2846|      4|}
initconfig.c:config_get_env:
 1743|     40|{
 1744|     40|    return _Py_GetEnv(config->use_environment, name);
 1745|     40|}
initconfig.c:config_get_xoption_value:
 1885|     10|{
 1886|     10|    const wchar_t *xoption = config_get_xoption(config, name);
 1887|     10|    if (xoption == NULL) {
  ------------------
  |  Branch (1887:9): [True: 10, False: 0]
  ------------------
 1888|     10|        return NULL;
 1889|     10|    }
 1890|      0|    const wchar_t *sep = wcschr(xoption, L'=');
 1891|      0|    return sep ? sep + 1 : L"";
  ------------------
  |  Branch (1891:12): [True: 0, False: 0]
  ------------------
 1892|     10|}
initconfig.c:config_get_xoption:
 1879|     36|{
 1880|     36|    return _Py_get_xoption(&config->xoptions, name);
 1881|     36|}
initconfig.c:config_set_global_vars:
 1836|      2|{
 1837|      2|_Py_COMP_DIAG_PUSH
 1838|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
 1839|      2|#define COPY_FLAG(ATTR, VAR) \
 1840|      2|        if (config->ATTR != -1) { \
 1841|      2|            VAR = config->ATTR; \
 1842|      2|        }
 1843|      2|#define COPY_NOT_FLAG(ATTR, VAR) \
 1844|      2|        if (config->ATTR != -1) { \
 1845|      2|            VAR = !config->ATTR; \
 1846|      2|        }
 1847|       |
 1848|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1849|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1850|      2|    COPY_FLAG(bytes_warning, Py_BytesWarningFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1851|      2|    COPY_FLAG(inspect, Py_InspectFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1852|      2|    COPY_FLAG(interactive, Py_InteractiveFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1853|      2|    COPY_FLAG(optimization_level, Py_OptimizeFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1854|      2|    COPY_FLAG(parser_debug, Py_DebugFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1855|      2|    COPY_FLAG(verbose, Py_VerboseFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1856|      2|    COPY_FLAG(quiet, Py_QuietFlag);
  ------------------
  |  | 1840|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1840:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1841|      2|            VAR = config->ATTR; \
  |  | 1842|      2|        }
  ------------------
 1857|       |#ifdef MS_WINDOWS
 1858|       |    COPY_FLAG(legacy_windows_stdio, Py_LegacyWindowsStdioFlag);
 1859|       |#endif
 1860|      2|    COPY_NOT_FLAG(pathconfig_warnings, Py_FrozenFlag);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1861|       |
 1862|      2|    COPY_NOT_FLAG(buffered_stdio, Py_UnbufferedStdioFlag);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1863|      2|    COPY_NOT_FLAG(site_import, Py_NoSiteFlag);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1864|      2|    COPY_NOT_FLAG(write_bytecode, Py_DontWriteBytecodeFlag);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1865|      2|    COPY_NOT_FLAG(user_site_directory, Py_NoUserSiteDirectory);
  ------------------
  |  | 1844|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1844:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1845|      2|            VAR = !config->ATTR; \
  |  | 1846|      2|        }
  ------------------
 1866|       |
 1867|       |    /* Random or non-zero hash seed */
 1868|      2|    Py_HashRandomizationFlag = (config->use_hash_seed == 0 ||
  ------------------
  |  Branch (1868:33): [True: 2, False: 0]
  ------------------
 1869|      0|                                config->hash_seed != 0);
  ------------------
  |  Branch (1869:33): [True: 0, False: 0]
  ------------------
 1870|       |
 1871|      2|#undef COPY_FLAG
 1872|      2|#undef COPY_NOT_FLAG
 1873|      2|_Py_COMP_DIAG_POP
 1874|      2|}
initconfig.c:_Py_SetArgcArgv:
  987|      2|{
  988|      2|    const PyWideStringList argv_list = {.length = argc, .items = (wchar_t **)argv};
  989|       |
  990|       |    // XXX _PyRuntime.orig_argv only gets cleared by Py_Main(),
  991|       |    // so it currently leaks for embedders.
  992|       |    return _PyWideStringList_CopyEx(&_PyRuntime.orig_argv, &argv_list, true);
  993|      2|}
initconfig.c:config_get_global_vars:
 1791|      2|{
 1792|      2|_Py_COMP_DIAG_PUSH
 1793|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
 1794|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (1794:9): [True: 0, False: 2]
  ------------------
 1795|       |        /* Python and Isolated configuration ignore global variables */
 1796|      0|        return;
 1797|      0|    }
 1798|       |
 1799|      2|#define COPY_FLAG(ATTR, VALUE) \
 1800|      2|        if (config->ATTR == -1) { \
 1801|      2|            config->ATTR = VALUE; \
 1802|      2|        }
 1803|      2|#define COPY_NOT_FLAG(ATTR, VALUE) \
 1804|      2|        if (config->ATTR == -1) { \
 1805|      2|            config->ATTR = !(VALUE); \
 1806|      2|        }
 1807|       |
 1808|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1809|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1810|      2|    COPY_FLAG(bytes_warning, Py_BytesWarningFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1811|      2|    COPY_FLAG(inspect, Py_InspectFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1812|      2|    COPY_FLAG(interactive, Py_InteractiveFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1813|      2|    COPY_FLAG(optimization_level, Py_OptimizeFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1814|      2|    COPY_FLAG(parser_debug, Py_DebugFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1815|      2|    COPY_FLAG(verbose, Py_VerboseFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1816|      2|    COPY_FLAG(quiet, Py_QuietFlag);
  ------------------
  |  | 1800|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1800:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1801|      2|            config->ATTR = VALUE; \
  |  | 1802|      2|        }
  ------------------
 1817|       |#ifdef MS_WINDOWS
 1818|       |    COPY_FLAG(legacy_windows_stdio, Py_LegacyWindowsStdioFlag);
 1819|       |#endif
 1820|      2|    COPY_NOT_FLAG(pathconfig_warnings, Py_FrozenFlag);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1821|       |
 1822|      2|    COPY_NOT_FLAG(buffered_stdio, Py_UnbufferedStdioFlag);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1823|      2|    COPY_NOT_FLAG(site_import, Py_NoSiteFlag);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1824|      2|    COPY_NOT_FLAG(write_bytecode, Py_DontWriteBytecodeFlag);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1825|      2|    COPY_NOT_FLAG(user_site_directory, Py_NoUserSiteDirectory);
  ------------------
  |  | 1804|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1804:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1805|      2|            config->ATTR = !(VALUE); \
  |  | 1806|      2|        }
  ------------------
 1826|       |
 1827|      2|#undef COPY_FLAG
 1828|      2|#undef COPY_NOT_FLAG
 1829|      2|_Py_COMP_DIAG_POP
 1830|      2|}
initconfig.c:core_read_precmdline:
 3502|      2|{
 3503|      2|    PyStatus status;
 3504|       |
 3505|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3505:9): [True: 0, False: 2]
  ------------------
 3506|      0|        if (_PyWideStringList_Copy(&precmdline->argv, &config->argv) < 0) {
  ------------------
  |  Branch (3506:13): [True: 0, False: 0]
  ------------------
 3507|      0|            return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 3508|      0|        }
 3509|      0|    }
 3510|       |
 3511|      2|    PyPreConfig preconfig;
 3512|       |
 3513|      2|    status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig);
 3514|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3515|      0|        return status;
 3516|      0|    }
 3517|       |
 3518|      2|    _PyPreConfig_GetConfig(&preconfig, config);
 3519|       |
 3520|      2|    status = _PyPreCmdline_Read(precmdline, &preconfig);
 3521|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3522|      0|        return status;
 3523|      0|    }
 3524|       |
 3525|      2|    status = _PyPreCmdline_SetConfig(precmdline, config);
 3526|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3527|      0|        return status;
 3528|      0|    }
 3529|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3530|      2|}
initconfig.c:config_read_cmdline:
 3566|      2|{
 3567|      2|    PyStatus status;
 3568|      2|    PyWideStringList cmdline_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3569|      2|    PyWideStringList env_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3570|      2|    PyWideStringList sys_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3571|       |
 3572|      2|    if (config->parse_argv < 0) {
  ------------------
  |  Branch (3572:9): [True: 0, False: 2]
  ------------------
 3573|      0|        config->parse_argv = 1;
 3574|      0|    }
 3575|       |
 3576|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3576:9): [True: 0, False: 2]
  ------------------
 3577|      0|        Py_ssize_t opt_index;
 3578|      0|        status = config_parse_cmdline(config, &cmdline_warnoptions, &opt_index);
 3579|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3580|      0|            goto done;
 3581|      0|        }
 3582|       |
 3583|      0|        status = config_run_filename_abspath(config);
 3584|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3585|      0|            goto done;
 3586|      0|        }
 3587|       |
 3588|      0|        status = config_update_argv(config, opt_index);
 3589|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3590|      0|            goto done;
 3591|      0|        }
 3592|      0|    }
 3593|      2|    else {
 3594|      2|        status = config_run_filename_abspath(config);
 3595|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3596|      0|            goto done;
 3597|      0|        }
 3598|      2|    }
 3599|       |
 3600|      2|    if (config->use_environment) {
  ------------------
  |  Branch (3600:9): [True: 2, False: 0]
  ------------------
 3601|      2|        status = config_init_env_warnoptions(config, &env_warnoptions);
 3602|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3603|      0|            goto done;
 3604|      0|        }
 3605|      2|    }
 3606|       |
 3607|       |    /* Handle early PySys_AddWarnOption() calls */
 3608|      2|    status = _PySys_ReadPreinitWarnOptions(&sys_warnoptions);
 3609|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3610|      0|        goto done;
 3611|      0|    }
 3612|       |
 3613|      2|    status = config_init_warnoptions(config,
 3614|      2|                                     &cmdline_warnoptions,
 3615|      2|                                     &env_warnoptions,
 3616|      2|                                     &sys_warnoptions);
 3617|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3618|      0|        goto done;
 3619|      0|    }
 3620|       |
 3621|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3622|       |
 3623|      2|done:
 3624|      2|    _PyWideStringList_Clear(&cmdline_warnoptions);
 3625|      2|    _PyWideStringList_Clear(&env_warnoptions);
 3626|      2|    _PyWideStringList_Clear(&sys_warnoptions);
 3627|      2|    return status;
 3628|      2|}
initconfig.c:config_run_filename_abspath:
 3536|      2|{
 3537|      2|    if (!config->run_filename) {
  ------------------
  |  Branch (3537:9): [True: 2, False: 0]
  ------------------
 3538|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3539|      2|    }
 3540|       |
 3541|      0|#ifndef MS_WINDOWS
 3542|      0|    if (_Py_isabs(config->run_filename)) {
  ------------------
  |  Branch (3542:9): [True: 0, False: 0]
  ------------------
 3543|       |        /* path is already absolute */
 3544|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3545|      0|    }
 3546|      0|#endif
 3547|       |
 3548|      0|    wchar_t *abs_filename;
 3549|      0|    if (_Py_abspath(config->run_filename, &abs_filename) < 0) {
  ------------------
  |  Branch (3549:9): [True: 0, False: 0]
  ------------------
 3550|       |        /* failed to get the absolute path of the command line filename:
 3551|       |           ignore the error, keep the relative path */
 3552|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3553|      0|    }
 3554|      0|    if (abs_filename == NULL) {
  ------------------
  |  Branch (3554:9): [True: 0, False: 0]
  ------------------
 3555|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 3556|      0|    }
 3557|       |
 3558|      0|    PyMem_RawFree(config->run_filename);
 3559|      0|    config->run_filename = abs_filename;
 3560|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3561|      0|}
initconfig.c:config_init_env_warnoptions:
 3298|      2|{
 3299|      2|    PyStatus status;
 3300|       |    /* CONFIG_GET_ENV_DUP requires dest to be initialized to NULL */
 3301|      2|    wchar_t *env = NULL;
 3302|      2|    status = CONFIG_GET_ENV_DUP(config, &env,
  ------------------
  |  | 1786|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 3303|      2|                             L"PYTHONWARNINGS", "PYTHONWARNINGS");
 3304|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3305|      0|        return status;
 3306|      0|    }
 3307|       |
 3308|       |    /* env var is not set or is empty */
 3309|      2|    if (env == NULL) {
  ------------------
  |  Branch (3309:9): [True: 2, False: 0]
  ------------------
 3310|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3311|      2|    }
 3312|       |
 3313|       |
 3314|      0|    wchar_t *warning, *context = NULL;
 3315|      0|    for (warning = WCSTOK(env, L",", &context);
  ------------------
  |  | 3292|      0|#  define WCSTOK wcstok
  ------------------
 3316|      0|         warning != NULL;
  ------------------
  |  Branch (3316:10): [True: 0, False: 0]
  ------------------
 3317|      0|         warning = WCSTOK(NULL, L",", &context))
  ------------------
  |  | 3292|      0|#  define WCSTOK wcstok
  ------------------
 3318|      0|    {
 3319|      0|        status = PyWideStringList_Append(warnoptions, warning);
 3320|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3321|      0|            PyMem_RawFree(env);
 3322|      0|            return status;
 3323|      0|        }
 3324|      0|    }
 3325|      0|    PyMem_RawFree(env);
 3326|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3327|      0|}
initconfig.c:config_get_env_dup:
 1756|     10|{
 1757|     10|    assert(*dest == NULL);
 1758|     10|    assert(config->use_environment >= 0);
 1759|       |
 1760|     10|    if (!config->use_environment) {
  ------------------
  |  Branch (1760:9): [True: 0, False: 10]
  ------------------
 1761|      0|        *dest = NULL;
 1762|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1763|      0|    }
 1764|       |
 1765|       |#ifdef MS_WINDOWS
 1766|       |    const wchar_t *var = _wgetenv(wname);
 1767|       |    if (!var || var[0] == '\0') {
 1768|       |        *dest = NULL;
 1769|       |        return _PyStatus_OK();
 1770|       |    }
 1771|       |
 1772|       |    return PyConfig_SetString(config, dest, var);
 1773|       |#else
 1774|     10|    const char *var = getenv(name);
 1775|     10|    if (!var || var[0] == '\0') {
  ------------------
  |  Branch (1775:9): [True: 10, False: 0]
  |  Branch (1775:17): [True: 0, False: 0]
  ------------------
 1776|     10|        *dest = NULL;
 1777|     10|        return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1778|     10|    }
 1779|       |
 1780|      0|    return config_set_bytes_string(config, dest, var, decode_err_msg);
 1781|     10|#endif
 1782|     10|}
initconfig.c:config_init_warnoptions:
 3372|      2|{
 3373|      2|    PyStatus status;
 3374|      2|    PyWideStringList options = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3375|       |
 3376|       |    /* Priority of warnings options, lowest to highest:
 3377|       |     *
 3378|       |     * - any implicit filters added by _warnings.c/warnings.py
 3379|       |     * - PyConfig.dev_mode: "default" filter
 3380|       |     * - PYTHONWARNINGS environment variable
 3381|       |     * - '-W' command line options
 3382|       |     * - PyConfig.bytes_warning ('-b' and '-bb' command line options):
 3383|       |     *   "default::BytesWarning" or "error::BytesWarning" filter
 3384|       |     * - early PySys_AddWarnOption() calls
 3385|       |     * - PyConfig.warnoptions
 3386|       |     *
 3387|       |     * PyConfig.warnoptions is copied to sys.warnoptions. Since the warnings
 3388|       |     * module works on the basis of "the most recently added filter will be
 3389|       |     * checked first", we add the lowest precedence entries first so that later
 3390|       |     * entries override them.
 3391|       |     */
 3392|       |
 3393|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (3393:9): [True: 0, False: 2]
  ------------------
 3394|      0|        status = warnoptions_append(config, &options, L"default");
 3395|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3396|      0|            goto error;
 3397|      0|        }
 3398|      0|    }
 3399|       |
 3400|      2|    status = warnoptions_extend(config, &options, env_warnoptions);
 3401|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3402|      0|        goto error;
 3403|      0|    }
 3404|       |
 3405|      2|    status = warnoptions_extend(config, &options, cmdline_warnoptions);
 3406|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3407|      0|        goto error;
 3408|      0|    }
 3409|       |
 3410|       |    /* If the bytes_warning_flag isn't set, bytesobject.c and bytearrayobject.c
 3411|       |     * don't even try to emit a warning, so we skip setting the filter in that
 3412|       |     * case.
 3413|       |     */
 3414|      2|    if (config->bytes_warning) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 2]
  ------------------
 3415|      0|        const wchar_t *filter;
 3416|      0|        if (config->bytes_warning> 1) {
  ------------------
  |  Branch (3416:13): [True: 0, False: 0]
  ------------------
 3417|      0|            filter = L"error::BytesWarning";
 3418|      0|        }
 3419|      0|        else {
 3420|      0|            filter = L"default::BytesWarning";
 3421|      0|        }
 3422|      0|        status = warnoptions_append(config, &options, filter);
 3423|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3424|      0|            goto error;
 3425|      0|        }
 3426|      0|    }
 3427|       |
 3428|      2|    status = warnoptions_extend(config, &options, sys_warnoptions);
 3429|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3430|      0|        goto error;
 3431|      0|    }
 3432|       |
 3433|       |    /* Always add all PyConfig.warnoptions options */
 3434|      2|    status = _PyWideStringList_Extend(&options, &config->warnoptions);
 3435|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3436|      0|        goto error;
 3437|      0|    }
 3438|       |
 3439|      2|    _PyWideStringList_Clear(&config->warnoptions);
 3440|      2|    config->warnoptions = options;
 3441|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3442|       |
 3443|      0|error:
 3444|      0|    _PyWideStringList_Clear(&options);
 3445|      0|    return status;
 3446|      2|}
initconfig.c:warnoptions_extend:
 3353|      6|{
 3354|      6|    const Py_ssize_t len = options2->length;
 3355|      6|    wchar_t *const *items = options2->items;
 3356|       |
 3357|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3357:28): [True: 0, False: 6]
  ------------------
 3358|      0|        PyStatus status = warnoptions_append(config, options, items[i]);
 3359|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3360|      0|            return status;
 3361|      0|        }
 3362|      0|    }
 3363|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3364|      6|}
initconfig.c:config_read:
 2857|      2|{
 2858|      2|    PyStatus status;
 2859|      2|    const PyPreConfig *preconfig = &_PyRuntime.preconfig;
 2860|       |
 2861|      2|    if (config->use_environment) {
  ------------------
  |  Branch (2861:9): [True: 2, False: 0]
  ------------------
 2862|      2|        status = config_read_env_vars(config);
 2863|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2864|      0|            return status;
 2865|      0|        }
 2866|      2|    }
 2867|       |
 2868|       |    /* -X options */
 2869|      2|    if (config_get_xoption(config, L"showrefcount")) {
  ------------------
  |  Branch (2869:9): [True: 0, False: 2]
  ------------------
 2870|      0|        config->show_ref_count = 1;
 2871|      0|    }
 2872|       |
 2873|      2|    const wchar_t *x_gil = config_get_xoption_value(config, L"gil");
 2874|      2|    if (x_gil != NULL) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 2]
  ------------------
 2875|      0|        size_t len = wcslen(x_gil);
 2876|      0|        status = config_read_gil(config, len, x_gil[0]);
 2877|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2878|      0|            return status;
 2879|      0|        }
 2880|      0|    }
 2881|       |
 2882|       |#ifdef Py_STATS
 2883|       |    if (config_get_xoption(config, L"pystats")) {
 2884|       |        config->_pystats = 1;
 2885|       |    }
 2886|       |    else if (config_get_env(config, "PYTHONSTATS")) {
 2887|       |        config->_pystats = 1;
 2888|       |    }
 2889|       |    if (config->_pystats < 0) {
 2890|       |        config->_pystats = 0;
 2891|       |    }
 2892|       |#endif
 2893|       |
 2894|      2|    status = config_read_complex_options(config);
 2895|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2896|      0|        return status;
 2897|      0|    }
 2898|       |
 2899|      2|    if (config->_install_importlib) {
  ------------------
  |  Branch (2899:9): [True: 2, False: 0]
  ------------------
 2900|      2|        status = config_init_import(config, compute_path_config);
 2901|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2902|      0|            return status;
 2903|      0|        }
 2904|      2|    }
 2905|       |
 2906|       |    /* default values */
 2907|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (2907:9): [True: 0, False: 2]
  ------------------
 2908|      0|        if (config->faulthandler < 0) {
  ------------------
  |  Branch (2908:13): [True: 0, False: 0]
  ------------------
 2909|      0|            config->faulthandler = 1;
 2910|      0|        }
 2911|      0|    }
 2912|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2912:9): [True: 2, False: 0]
  ------------------
 2913|      2|        config->faulthandler = 0;
 2914|      2|    }
 2915|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2915:9): [True: 2, False: 0]
  ------------------
 2916|      2|        config->tracemalloc = 0;
 2917|      2|    }
 2918|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2918:9): [True: 2, False: 0]
  ------------------
 2919|      2|        config->lazy_imports = -1;  // Default is auto/unset
 2920|      2|    }
 2921|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2921:9): [True: 2, False: 0]
  ------------------
 2922|      2|        config->perf_profiling = 0;
 2923|      2|    }
 2924|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2924:9): [True: 0, False: 2]
  ------------------
 2925|      0|        config->remote_debug = -1;
 2926|      0|    }
 2927|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2927:9): [True: 0, False: 2]
  ------------------
 2928|      0|        config->use_hash_seed = 0;
 2929|      0|        config->hash_seed = 0;
 2930|      0|    }
 2931|       |
 2932|      2|    if (config->filesystem_encoding == NULL || config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2932:9): [True: 2, False: 0]
  |  Branch (2932:48): [True: 0, False: 0]
  ------------------
 2933|      2|        status = config_init_fs_encoding(config, preconfig);
 2934|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2935|      0|            return status;
 2936|      0|        }
 2937|      2|    }
 2938|       |
 2939|      2|    status = config_init_stdio_encoding(config, preconfig);
 2940|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2941|      0|        return status;
 2942|      0|    }
 2943|       |
 2944|      2|    if (config->argv.length < 1) {
  ------------------
  |  Branch (2944:9): [True: 2, False: 0]
  ------------------
 2945|       |        /* Ensure at least one (empty) argument is seen */
 2946|      2|        status = PyWideStringList_Append(&config->argv, L"");
 2947|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2948|      0|            return status;
 2949|      0|        }
 2950|      2|    }
 2951|       |
 2952|      2|    if (config->check_hash_pycs_mode == NULL) {
  ------------------
  |  Branch (2952:9): [True: 2, False: 0]
  ------------------
 2953|      2|        status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 2954|      2|                                    L"default");
 2955|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2956|      0|            return status;
 2957|      0|        }
 2958|      2|    }
 2959|       |
 2960|      2|    if (config->configure_c_stdio < 0) {
  ------------------
  |  Branch (2960:9): [True: 0, False: 2]
  ------------------
 2961|      0|        config->configure_c_stdio = 1;
 2962|      0|    }
 2963|       |
 2964|       |    // Only parse arguments once.
 2965|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (2965:9): [True: 0, False: 2]
  ------------------
 2966|      0|        config->parse_argv = 2;
 2967|      0|    }
 2968|       |
 2969|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2970|      2|}
initconfig.c:config_read_env_vars:
 1971|      2|{
 1972|      2|    PyStatus status;
 1973|      2|    int use_env = config->use_environment;
 1974|       |
 1975|       |    /* Get environment variables */
 1976|      2|    _Py_get_env_flag(use_env, &config->parser_debug, "PYTHONDEBUG");
 1977|      2|    _Py_get_env_flag(use_env, &config->verbose, "PYTHONVERBOSE");
 1978|      2|    _Py_get_env_flag(use_env, &config->optimization_level, "PYTHONOPTIMIZE");
 1979|      2|    if (!config->inspect && _Py_GetEnv(use_env, "PYTHONINSPECT")) {
  ------------------
  |  Branch (1979:9): [True: 2, False: 0]
  |  Branch (1979:29): [True: 0, False: 2]
  ------------------
 1980|      0|        config->inspect = 1;
 1981|      0|    }
 1982|       |
 1983|      2|    int dont_write_bytecode = 0;
 1984|      2|    _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE");
 1985|      2|    if (dont_write_bytecode) {
  ------------------
  |  Branch (1985:9): [True: 0, False: 2]
  ------------------
 1986|      0|        config->write_bytecode = 0;
 1987|      0|    }
 1988|       |
 1989|      2|    int no_user_site_directory = 0;
 1990|      2|    _Py_get_env_flag(use_env, &no_user_site_directory, "PYTHONNOUSERSITE");
 1991|      2|    if (no_user_site_directory) {
  ------------------
  |  Branch (1991:9): [True: 0, False: 2]
  ------------------
 1992|      0|        config->user_site_directory = 0;
 1993|      0|    }
 1994|       |
 1995|      2|    int unbuffered_stdio = 0;
 1996|      2|    _Py_get_env_flag(use_env, &unbuffered_stdio, "PYTHONUNBUFFERED");
 1997|      2|    if (unbuffered_stdio) {
  ------------------
  |  Branch (1997:9): [True: 0, False: 2]
  ------------------
 1998|      0|        config->buffered_stdio = 0;
 1999|      0|    }
 2000|       |
 2001|       |#ifdef MS_WINDOWS
 2002|       |    _Py_get_env_flag(use_env, &config->legacy_windows_stdio,
 2003|       |                     "PYTHONLEGACYWINDOWSSTDIO");
 2004|       |#endif
 2005|       |
 2006|      2|    if (config_get_env(config, "PYTHONDUMPREFS")) {
  ------------------
  |  Branch (2006:9): [True: 0, False: 2]
  ------------------
 2007|      0|        config->dump_refs = 1;
 2008|      0|    }
 2009|      2|    if (config_get_env(config, "PYTHONMALLOCSTATS")) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 2]
  ------------------
 2010|      0|        config->malloc_stats = 1;
 2011|      0|    }
 2012|      2|    {
 2013|      2|        const char *env = _Py_GetEnv(use_env, "PYTHON_PYMALLOC_HUGEPAGES");
 2014|      2|        if (env) {
  ------------------
  |  Branch (2014:13): [True: 0, False: 2]
  ------------------
 2015|      0|            int value;
 2016|      0|            if (_Py_str_to_int(env, &value) < 0 || value < 0) {
  ------------------
  |  Branch (2016:17): [True: 0, False: 0]
  |  Branch (2016:52): [True: 0, False: 0]
  ------------------
 2017|       |                /* PYTHON_PYMALLOC_HUGEPAGES=text or negative
 2018|       |                   behaves as PYTHON_PYMALLOC_HUGEPAGES=1 */
 2019|      0|                value = 1;
 2020|      0|            }
 2021|      0|            config->pymalloc_hugepages = (value > 0);
 2022|      0|        }
 2023|      2|    }
 2024|       |
 2025|      2|    if (config->dump_refs_file == NULL) {
  ------------------
  |  Branch (2025:9): [True: 2, False: 0]
  ------------------
 2026|      2|        status = CONFIG_GET_ENV_DUP(config, &config->dump_refs_file,
  ------------------
  |  | 1786|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2027|      2|                                    L"PYTHONDUMPREFSFILE", "PYTHONDUMPREFSFILE");
 2028|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2029|      0|            return status;
 2030|      0|        }
 2031|      2|    }
 2032|       |
 2033|      2|    if (config->pythonpath_env == NULL) {
  ------------------
  |  Branch (2033:9): [True: 2, False: 0]
  ------------------
 2034|      2|        status = CONFIG_GET_ENV_DUP(config, &config->pythonpath_env,
  ------------------
  |  | 1786|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2035|      2|                                    L"PYTHONPATH", "PYTHONPATH");
 2036|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2037|      0|            return status;
 2038|      0|        }
 2039|      2|    }
 2040|       |
 2041|      2|    if(config->platlibdir == NULL) {
  ------------------
  |  Branch (2041:8): [True: 2, False: 0]
  ------------------
 2042|      2|        status = CONFIG_GET_ENV_DUP(config, &config->platlibdir,
  ------------------
  |  | 1786|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2043|      2|                                    L"PYTHONPLATLIBDIR", "PYTHONPLATLIBDIR");
 2044|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2045|      0|            return status;
 2046|      0|        }
 2047|      2|    }
 2048|       |
 2049|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2049:9): [True: 2, False: 0]
  ------------------
 2050|      2|        status = config_init_hash_seed(config);
 2051|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2052|      0|            return status;
 2053|      0|        }
 2054|      2|    }
 2055|       |
 2056|      2|    if (config_get_env(config, "PYTHONSAFEPATH")) {
  ------------------
  |  Branch (2056:9): [True: 0, False: 2]
  ------------------
 2057|      0|        config->safe_path = 1;
 2058|      0|    }
 2059|       |
 2060|      2|    const char *gil = config_get_env(config, "PYTHON_GIL");
 2061|      2|    if (gil != NULL) {
  ------------------
  |  Branch (2061:9): [True: 0, False: 2]
  ------------------
 2062|      0|        size_t len = strlen(gil);
 2063|      0|        status = config_read_gil(config, len, gil[0]);
 2064|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2065|      0|            return status;
 2066|      0|        }
 2067|      0|    }
 2068|       |
 2069|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2070|      2|}
initconfig.c:config_init_hash_seed:
 1897|      2|{
 1898|      2|    static_assert(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc),
 1899|      2|                  "_Py_HashSecret_t has wrong size");
 1900|       |
 1901|      2|    const char *seed_text = config_get_env(config, "PYTHONHASHSEED");
 1902|       |
 1903|       |    /* Convert a text seed to a numeric one */
 1904|      2|    if (seed_text && strcmp(seed_text, "random") != 0) {
  ------------------
  |  Branch (1904:9): [True: 0, False: 2]
  |  Branch (1904:22): [True: 0, False: 0]
  ------------------
 1905|      0|        const char *endptr = seed_text;
 1906|      0|        unsigned long seed;
 1907|      0|        errno = 0;
 1908|      0|        seed = strtoul(seed_text, (char **)&endptr, 10);
 1909|      0|        if (*endptr != '\0'
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            || seed > MAX_HASH_SEED
  ------------------
  |  | 1007|      0|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1910:16): [True: 0, False: 0]
  ------------------
 1911|      0|            || (errno == ERANGE && seed == ULONG_MAX))
  ------------------
  |  Branch (1911:17): [True: 0, False: 0]
  |  Branch (1911:36): [True: 0, False: 0]
  ------------------
 1912|      0|        {
 1913|      0|            return _PyStatus_ERR("PYTHONHASHSEED must be \"random\" "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1914|      0|                                "or an integer in range [0; 4294967295]");
 1915|      0|        }
 1916|       |        /* Use a specific hash */
 1917|      0|        config->use_hash_seed = 1;
 1918|      0|        config->hash_seed = seed;
 1919|      0|    }
 1920|      2|    else {
 1921|       |        /* Use a random hash */
 1922|      2|        config->use_hash_seed = 0;
 1923|      2|        config->hash_seed = 0;
 1924|      2|    }
 1925|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1926|      2|}
initconfig.c:config_read_complex_options:
 2496|      2|{
 2497|       |    /* More complex options configured by env var and -X option */
 2498|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2498:9): [True: 2, False: 0]
  ------------------
 2499|      2|        if (config_get_env(config, "PYTHONFAULTHANDLER")
  ------------------
  |  Branch (2499:13): [True: 0, False: 2]
  ------------------
 2500|      2|           || config_get_xoption(config, L"faulthandler")) {
  ------------------
  |  Branch (2500:15): [True: 0, False: 2]
  ------------------
 2501|      0|            config->faulthandler = 1;
 2502|      0|        }
 2503|      2|    }
 2504|      2|    if (config_get_env(config, "PYTHONNODEBUGRANGES")
  ------------------
  |  Branch (2504:9): [True: 0, False: 2]
  ------------------
 2505|      2|       || config_get_xoption(config, L"no_debug_ranges")) {
  ------------------
  |  Branch (2505:11): [True: 0, False: 2]
  ------------------
 2506|      0|        config->code_debug_ranges = 0;
 2507|      0|    }
 2508|       |
 2509|      2|    PyStatus status;
 2510|      2|    if (config->import_time < 0) {
  ------------------
  |  Branch (2510:9): [True: 2, False: 0]
  ------------------
 2511|      2|        status = config_init_import_time(config);
 2512|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2513|      0|            return status;
 2514|      0|        }
 2515|      2|    }
 2516|       |
 2517|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2517:9): [True: 2, False: 0]
  ------------------
 2518|      2|        status = config_init_lazy_imports(config);
 2519|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2520|      0|            return status;
 2521|      0|        }
 2522|      2|    }
 2523|       |
 2524|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2524:9): [True: 2, False: 0]
  ------------------
 2525|      2|        status = config_init_tracemalloc(config);
 2526|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2527|      0|            return status;
 2528|      0|        }
 2529|      2|    }
 2530|       |
 2531|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2531:9): [True: 2, False: 0]
  ------------------
 2532|      2|        status = config_init_perf_profiling(config);
 2533|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2534|      0|            return status;
 2535|      0|        }
 2536|      2|    }
 2537|       |
 2538|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2538:9): [True: 2, False: 0]
  ------------------
 2539|      2|        status = config_init_remote_debug(config);
 2540|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2541|      0|            return status;
 2542|      0|        }
 2543|      2|    }
 2544|       |
 2545|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2545:9): [True: 2, False: 0]
  ------------------
 2546|      2|        status = config_init_int_max_str_digits(config);
 2547|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2548|      0|            return status;
 2549|      0|        }
 2550|      2|    }
 2551|       |
 2552|      2|    if (config->cpu_count < 0) {
  ------------------
  |  Branch (2552:9): [True: 2, False: 0]
  ------------------
 2553|      2|        status = config_init_cpu_count(config);
 2554|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2555|      0|            return status;
 2556|      0|        }
 2557|      2|    }
 2558|       |
 2559|      2|    if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2559:9): [True: 2, False: 0]
  ------------------
 2560|      2|        status = config_init_pycache_prefix(config);
 2561|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2562|      0|            return status;
 2563|      0|        }
 2564|      2|    }
 2565|       |
 2566|       |#ifdef Py_DEBUG
 2567|       |    if (config->run_presite == NULL) {
 2568|       |        status = config_init_run_presite(config);
 2569|       |        if (_PyStatus_EXCEPTION(status)) {
 2570|       |            return status;
 2571|       |        }
 2572|       |    }
 2573|       |#endif
 2574|       |
 2575|      2|    status = config_init_thread_inherit_context(config);
 2576|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2577|      0|        return status;
 2578|      0|    }
 2579|       |
 2580|      2|    status = config_init_context_aware_warnings(config);
 2581|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2582|      0|        return status;
 2583|      0|    }
 2584|       |
 2585|      2|    status = config_init_tlbc(config);
 2586|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2587|      0|        return status;
 2588|      0|    }
 2589|       |
 2590|      2|    status = config_init_pathconfig_warnings(config);
 2591|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2592|      0|        return status;
 2593|      0|    }
 2594|       |
 2595|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2596|      2|}
initconfig.c:config_init_import_time:
 2400|      2|{
 2401|      2|    int importtime = 0;
 2402|       |
 2403|      2|    const char *env = config_get_env(config, "PYTHONPROFILEIMPORTTIME");
 2404|      2|    if (env) {
  ------------------
  |  Branch (2404:9): [True: 0, False: 2]
  ------------------
 2405|      0|        if (_Py_str_to_int(env, &importtime) != 0) {
  ------------------
  |  Branch (2405:13): [True: 0, False: 0]
  ------------------
 2406|      0|            importtime = 1;
 2407|      0|        }
 2408|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2408:13): [True: 0, False: 0]
  |  Branch (2408:31): [True: 0, False: 0]
  ------------------
 2409|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2410|      0|                "PYTHONPROFILEIMPORTTIME: numeric values other than 1 and 2 "
 2411|      0|                "are reserved for future use.");
 2412|      0|        }
 2413|      0|    }
 2414|       |
 2415|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"importtime");
 2416|      2|    if (x_value) {
  ------------------
  |  Branch (2416:9): [True: 0, False: 2]
  ------------------
 2417|      0|        if (*x_value == 0 || config_wstr_to_int(x_value, &importtime) != 0) {
  ------------------
  |  Branch (2417:13): [True: 0, False: 0]
  |  Branch (2417:30): [True: 0, False: 0]
  ------------------
 2418|      0|            importtime = 1;
 2419|      0|        }
 2420|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2420:13): [True: 0, False: 0]
  |  Branch (2420:31): [True: 0, False: 0]
  ------------------
 2421|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2422|      0|                "-X importtime: values other than 1 and 2 "
 2423|      0|                "are reserved for future use.");
 2424|      0|        }
 2425|      0|    }
 2426|       |
 2427|      2|    config->import_time = importtime;
 2428|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2429|      2|}
initconfig.c:config_init_lazy_imports:
 2433|      2|{
 2434|      2|    int lazy_imports = -1;
 2435|       |
 2436|      2|    const char *env = config_get_env(config, "PYTHON_LAZY_IMPORTS");
 2437|      2|    if (env) {
  ------------------
  |  Branch (2437:9): [True: 0, False: 2]
  ------------------
 2438|      0|        if (strcmp(env, "all") == 0) {
  ------------------
  |  Branch (2438:13): [True: 0, False: 0]
  ------------------
 2439|      0|            lazy_imports = 1;
 2440|      0|        }
 2441|      0|        else if (strcmp(env, "normal") == 0) {
  ------------------
  |  Branch (2441:18): [True: 0, False: 0]
  ------------------
 2442|      0|            lazy_imports = -1;
 2443|      0|        }
 2444|      0|        else {
 2445|      0|            return _PyStatus_ERR("PYTHON_LAZY_IMPORTS: invalid value; "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2446|      0|                                 "expected 'all' or 'normal'");
 2447|      0|        }
 2448|      0|        config->lazy_imports = lazy_imports;
 2449|      0|    }
 2450|       |
 2451|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"lazy_imports");
 2452|      2|    if (x_value) {
  ------------------
  |  Branch (2452:9): [True: 0, False: 2]
  ------------------
 2453|      0|        if (wcscmp(x_value, L"all") == 0) {
  ------------------
  |  Branch (2453:13): [True: 0, False: 0]
  ------------------
 2454|      0|            lazy_imports = 1;
 2455|      0|        }
 2456|      0|        else if (wcscmp(x_value, L"normal") == 0) {
  ------------------
  |  Branch (2456:18): [True: 0, False: 0]
  ------------------
 2457|      0|            lazy_imports = -1;
 2458|      0|        }
 2459|      0|        else {
 2460|      0|            return _PyStatus_ERR("-X lazy_imports: invalid value; "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2461|      0|                                 "expected 'all' or 'normal'");
 2462|      0|        }
 2463|      0|        config->lazy_imports = lazy_imports;
 2464|      0|    }
 2465|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2466|      2|}
initconfig.c:config_init_tracemalloc:
 2252|      2|{
 2253|      2|    int nframe;
 2254|      2|    int valid;
 2255|       |
 2256|      2|    const char *env = config_get_env(config, "PYTHONTRACEMALLOC");
 2257|      2|    if (env) {
  ------------------
  |  Branch (2257:9): [True: 0, False: 2]
  ------------------
 2258|      0|        if (!_Py_str_to_int(env, &nframe)) {
  ------------------
  |  Branch (2258:13): [True: 0, False: 0]
  ------------------
 2259|      0|            valid = (nframe >= 0);
 2260|      0|        }
 2261|      0|        else {
 2262|      0|            valid = 0;
 2263|      0|        }
 2264|      0|        if (!valid) {
  ------------------
  |  Branch (2264:13): [True: 0, False: 0]
  ------------------
 2265|      0|            return _PyStatus_ERR("PYTHONTRACEMALLOC: invalid number of frames");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2266|      0|        }
 2267|      0|        config->tracemalloc = nframe;
 2268|      0|    }
 2269|       |
 2270|      2|    const wchar_t *xoption = config_get_xoption(config, L"tracemalloc");
 2271|      2|    if (xoption) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 2]
  ------------------
 2272|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2273|      0|        if (sep) {
  ------------------
  |  Branch (2273:13): [True: 0, False: 0]
  ------------------
 2274|      0|            if (!config_wstr_to_int(sep + 1, &nframe)) {
  ------------------
  |  Branch (2274:17): [True: 0, False: 0]
  ------------------
 2275|      0|                valid = (nframe >= 0);
 2276|      0|            }
 2277|      0|            else {
 2278|      0|                valid = 0;
 2279|      0|            }
 2280|      0|            if (!valid) {
  ------------------
  |  Branch (2280:17): [True: 0, False: 0]
  ------------------
 2281|      0|                return _PyStatus_ERR("-X tracemalloc=NFRAME: "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2282|      0|                                     "invalid number of frames");
 2283|      0|            }
 2284|      0|        }
 2285|      0|        else {
 2286|       |            /* -X tracemalloc behaves as -X tracemalloc=1 */
 2287|      0|            nframe = 1;
 2288|      0|        }
 2289|      0|        config->tracemalloc = nframe;
 2290|      0|    }
 2291|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2292|      2|}
initconfig.c:config_init_perf_profiling:
 2195|      2|{
 2196|      2|    int active = 0;
 2197|      2|    const char *env = config_get_env(config, "PYTHONPERFSUPPORT");
 2198|      2|    if (env) {
  ------------------
  |  Branch (2198:9): [True: 0, False: 2]
  ------------------
 2199|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2199:13): [True: 0, False: 0]
  ------------------
 2200|      0|            active = 0;
 2201|      0|        }
 2202|      0|        if (active) {
  ------------------
  |  Branch (2202:13): [True: 0, False: 0]
  ------------------
 2203|      0|            config->perf_profiling = 1;
 2204|      0|        }
 2205|      0|    }
 2206|      2|    const wchar_t *xoption = config_get_xoption(config, L"perf");
 2207|      2|    if (xoption) {
  ------------------
  |  Branch (2207:9): [True: 0, False: 2]
  ------------------
 2208|      0|        config->perf_profiling = 1;
 2209|      0|    }
 2210|      2|    env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
 2211|      2|    if (env) {
  ------------------
  |  Branch (2211:9): [True: 0, False: 2]
  ------------------
 2212|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2212:13): [True: 0, False: 0]
  ------------------
 2213|      0|            active = 0;
 2214|      0|        }
 2215|      0|        if (active) {
  ------------------
  |  Branch (2215:13): [True: 0, False: 0]
  ------------------
 2216|      0|            config->perf_profiling = 2;
 2217|      0|        }
 2218|      0|    }
 2219|      2|    xoption = config_get_xoption(config, L"perf_jit");
 2220|      2|    if (xoption) {
  ------------------
  |  Branch (2220:9): [True: 0, False: 2]
  ------------------
 2221|      0|        config->perf_profiling = 2;
 2222|      0|    }
 2223|       |
 2224|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2225|       |
 2226|      2|}
initconfig.c:config_init_remote_debug:
 2230|      2|{
 2231|       |#ifndef Py_REMOTE_DEBUG
 2232|       |    config->remote_debug = 0;
 2233|       |#else
 2234|      2|    int active = 1;
 2235|      2|    const char *env = Py_GETENV("PYTHON_DISABLE_REMOTE_DEBUG");
 2236|      2|    if (env) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 2]
  ------------------
 2237|      0|        active = 0;
 2238|      0|    }
 2239|      2|    const wchar_t *xoption = config_get_xoption(config, L"disable-remote-debug");
 2240|      2|    if (xoption) {
  ------------------
  |  Branch (2240:9): [True: 0, False: 2]
  ------------------
 2241|      0|        active = 0;
 2242|      0|    }
 2243|       |
 2244|      2|    config->remote_debug = active;
 2245|      2|#endif
 2246|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2247|       |
 2248|      2|}
initconfig.c:config_init_int_max_str_digits:
 2296|      2|{
 2297|      2|    int maxdigits;
 2298|       |
 2299|      2|    const char *env = config_get_env(config, "PYTHONINTMAXSTRDIGITS");
 2300|      2|    if (env) {
  ------------------
  |  Branch (2300:9): [True: 0, False: 2]
  ------------------
 2301|      0|        bool valid = 0;
 2302|      0|        if (!_Py_str_to_int(env, &maxdigits)) {
  ------------------
  |  Branch (2302:13): [True: 0, False: 0]
  ------------------
 2303|      0|            valid = ((maxdigits == 0) || (maxdigits >= _PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2303:22): [True: 0, False: 0]
  |  Branch (2303:42): [True: 0, False: 0]
  ------------------
 2304|      0|        }
 2305|      0|        if (!valid) {
  ------------------
  |  Branch (2305:13): [True: 0, False: 0]
  ------------------
 2306|      0|#define STRINGIFY(VAL) _STRINGIFY(VAL)
 2307|      0|#define _STRINGIFY(VAL) #VAL
 2308|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2309|      0|                    "PYTHONINTMAXSTRDIGITS: invalid limit; must be >= "
 2310|      0|                    STRINGIFY(_PY_LONG_MAX_STR_DIGITS_THRESHOLD)
 2311|      0|                    " or 0 for unlimited.");
 2312|      0|        }
 2313|      0|        config->int_max_str_digits = maxdigits;
 2314|      0|    }
 2315|       |
 2316|      2|    const wchar_t *xoption = config_get_xoption(config, L"int_max_str_digits");
 2317|      2|    if (xoption) {
  ------------------
  |  Branch (2317:9): [True: 0, False: 2]
  ------------------
 2318|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2319|      0|        bool valid = 0;
 2320|      0|        if (sep) {
  ------------------
  |  Branch (2320:13): [True: 0, False: 0]
  ------------------
 2321|      0|            if (!config_wstr_to_int(sep + 1, &maxdigits)) {
  ------------------
  |  Branch (2321:17): [True: 0, False: 0]
  ------------------
 2322|      0|                valid = ((maxdigits == 0) || (maxdigits >= _PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2322:26): [True: 0, False: 0]
  |  Branch (2322:46): [True: 0, False: 0]
  ------------------
 2323|      0|            }
 2324|      0|        }
 2325|      0|        if (!valid) {
  ------------------
  |  Branch (2325:13): [True: 0, False: 0]
  ------------------
 2326|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2327|      0|                    "-X int_max_str_digits: invalid limit; must be >= "
 2328|      0|                    STRINGIFY(_PY_LONG_MAX_STR_DIGITS_THRESHOLD)
 2329|      0|                    " or 0 for unlimited.");
 2330|      0|#undef _STRINGIFY
 2331|      0|#undef STRINGIFY
 2332|      0|        }
 2333|      0|        config->int_max_str_digits = maxdigits;
 2334|      0|    }
 2335|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2335:9): [True: 2, False: 0]
  ------------------
 2336|      2|        config->int_max_str_digits = _PY_LONG_DEFAULT_MAX_STR_DIGITS;
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 2337|      2|    }
 2338|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2339|      2|}
initconfig.c:config_init_cpu_count:
 2074|      2|{
 2075|      2|    const char *env = config_get_env(config, "PYTHON_CPU_COUNT");
 2076|      2|    if (env) {
  ------------------
  |  Branch (2076:9): [True: 0, False: 2]
  ------------------
 2077|      0|        int cpu_count = -1;
 2078|      0|        if (strcmp(env, "default") == 0) {
  ------------------
  |  Branch (2078:13): [True: 0, False: 0]
  ------------------
 2079|      0|            cpu_count = -1;
 2080|      0|        }
 2081|      0|        else if (_Py_str_to_int(env, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2081:18): [True: 0, False: 0]
  |  Branch (2081:57): [True: 0, False: 0]
  ------------------
 2082|      0|            goto error;
 2083|      0|        }
 2084|      0|        config->cpu_count = cpu_count;
 2085|      0|    }
 2086|       |
 2087|      2|    const wchar_t *xoption = config_get_xoption(config, L"cpu_count");
 2088|      2|    if (xoption) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 2]
  ------------------
 2089|      0|        int cpu_count = -1;
 2090|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2091|      0|        if (sep) {
  ------------------
  |  Branch (2091:13): [True: 0, False: 0]
  ------------------
 2092|      0|            if (wcscmp(sep + 1, L"default") == 0) {
  ------------------
  |  Branch (2092:17): [True: 0, False: 0]
  ------------------
 2093|      0|                cpu_count = -1;
 2094|      0|            }
 2095|      0|            else if (config_wstr_to_int(sep + 1, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2095:22): [True: 0, False: 0]
  |  Branch (2095:69): [True: 0, False: 0]
  ------------------
 2096|      0|                goto error;
 2097|      0|            }
 2098|      0|        }
 2099|      0|        else {
 2100|      0|            goto error;
 2101|      0|        }
 2102|      0|        config->cpu_count = cpu_count;
 2103|      0|    }
 2104|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2105|       |
 2106|      0|error:
 2107|      0|    return _PyStatus_ERR("-X cpu_count=n option: n is missing or an invalid number, "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2108|      2|                         "n must be greater than 0");
 2109|      2|}
initconfig.c:config_init_pycache_prefix:
 2343|      2|{
 2344|      2|    assert(config->pycache_prefix == NULL);
 2345|       |
 2346|      2|    const wchar_t *xoption = config_get_xoption(config, L"pycache_prefix");
 2347|      2|    if (xoption) {
  ------------------
  |  Branch (2347:9): [True: 0, False: 2]
  ------------------
 2348|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2349|      0|        if (sep && wcslen(sep) > 1) {
  ------------------
  |  Branch (2349:13): [True: 0, False: 0]
  |  Branch (2349:20): [True: 0, False: 0]
  ------------------
 2350|      0|            config->pycache_prefix = _PyMem_RawWcsdup(sep + 1);
 2351|      0|            if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2351:17): [True: 0, False: 0]
  ------------------
 2352|      0|                return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 2353|      0|            }
 2354|      0|        }
 2355|      0|        else {
 2356|       |            // PYTHONPYCACHEPREFIX env var ignored
 2357|       |            // if "-X pycache_prefix=" option is used
 2358|      0|            config->pycache_prefix = NULL;
 2359|      0|        }
 2360|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2361|      0|    }
 2362|       |
 2363|      2|    return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix,
  ------------------
  |  | 1786|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2364|      2|                              L"PYTHONPYCACHEPREFIX",
 2365|      2|                              "PYTHONPYCACHEPREFIX");
 2366|      2|}
initconfig.c:config_init_thread_inherit_context:
 2113|      2|{
 2114|      2|    const char *env = config_get_env(config, "PYTHON_THREAD_INHERIT_CONTEXT");
 2115|      2|    if (env) {
  ------------------
  |  Branch (2115:9): [True: 0, False: 2]
  ------------------
 2116|      0|        int enabled;
 2117|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2117:13): [True: 0, False: 0]
  |  Branch (2117:50): [True: 0, False: 0]
  |  Branch (2117:67): [True: 0, False: 0]
  ------------------
 2118|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2119|      0|                "PYTHON_THREAD_INHERIT_CONTEXT=N: N is missing or invalid");
 2120|      0|        }
 2121|      0|        config->thread_inherit_context = enabled;
 2122|      0|    }
 2123|       |
 2124|      2|    const wchar_t *xoption = config_get_xoption(config, L"thread_inherit_context");
 2125|      2|    if (xoption) {
  ------------------
  |  Branch (2125:9): [True: 0, False: 2]
  ------------------
 2126|      0|        int enabled;
 2127|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2128|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2128:13): [True: 0, False: 0]
  |  Branch (2128:21): [True: 0, False: 0]
  |  Branch (2128:68): [True: 0, False: 0]
  |  Branch (2128:85): [True: 0, False: 0]
  ------------------
 2129|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2130|      0|                "-X thread_inherit_context=n: n is missing or invalid");
 2131|      0|        }
 2132|      0|        config->thread_inherit_context = enabled;
 2133|      0|    }
 2134|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2135|      2|}
initconfig.c:config_init_context_aware_warnings:
 2139|      2|{
 2140|      2|    const char *env = config_get_env(config, "PYTHON_CONTEXT_AWARE_WARNINGS");
 2141|      2|    if (env) {
  ------------------
  |  Branch (2141:9): [True: 0, False: 2]
  ------------------
 2142|      0|        int enabled;
 2143|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2143:13): [True: 0, False: 0]
  |  Branch (2143:50): [True: 0, False: 0]
  |  Branch (2143:67): [True: 0, False: 0]
  ------------------
 2144|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2145|      0|                "PYTHON_CONTEXT_AWARE_WARNINGS=N: N is missing or invalid");
 2146|      0|        }
 2147|      0|        config->context_aware_warnings = enabled;
 2148|      0|    }
 2149|       |
 2150|      2|    const wchar_t *xoption = config_get_xoption(config, L"context_aware_warnings");
 2151|      2|    if (xoption) {
  ------------------
  |  Branch (2151:9): [True: 0, False: 2]
  ------------------
 2152|      0|        int enabled;
 2153|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2154|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2154:13): [True: 0, False: 0]
  |  Branch (2154:21): [True: 0, False: 0]
  |  Branch (2154:68): [True: 0, False: 0]
  |  Branch (2154:85): [True: 0, False: 0]
  ------------------
 2155|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2156|      0|                "-X context_aware_warnings=n: n is missing or invalid");
 2157|      0|        }
 2158|      0|        config->context_aware_warnings = enabled;
 2159|      0|    }
 2160|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2161|      2|}
initconfig.c:config_init_tlbc:
 2165|      2|{
 2166|       |#ifdef Py_GIL_DISABLED
 2167|       |    const char *env = config_get_env(config, "PYTHON_TLBC");
 2168|       |    if (env) {
 2169|       |        int enabled;
 2170|       |        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
 2171|       |            return _PyStatus_ERR(
 2172|       |                "PYTHON_TLBC=N: N is missing or invalid");
 2173|       |        }
 2174|       |        config->tlbc_enabled = enabled;
 2175|       |    }
 2176|       |
 2177|       |    const wchar_t *xoption = config_get_xoption(config, L"tlbc");
 2178|       |    if (xoption) {
 2179|       |        int enabled;
 2180|       |        const wchar_t *sep = wcschr(xoption, L'=');
 2181|       |        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
 2182|       |            return _PyStatus_ERR(
 2183|       |                "-X tlbc=n: n is missing or invalid");
 2184|       |        }
 2185|       |        config->tlbc_enabled = enabled;
 2186|       |    }
 2187|       |    return _PyStatus_OK();
 2188|       |#else
 2189|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2190|      2|#endif
 2191|      2|}
initconfig.c:config_init_pathconfig_warnings:
 2470|      2|{
 2471|      2|    const char *env = config_get_env(config, "PYTHON_PATHCONFIG_WARNINGS");
 2472|      2|    if (env) {
  ------------------
  |  Branch (2472:9): [True: 0, False: 2]
  ------------------
 2473|      0|        int enabled;
 2474|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2474:13): [True: 0, False: 0]
  |  Branch (2474:50): [True: 0, False: 0]
  |  Branch (2474:67): [True: 0, False: 0]
  ------------------
 2475|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2476|      0|                "PYTHON_PATHCONFIG_WARNINGS=N: N is missing or invalid");
 2477|      0|        }
 2478|      0|        config->pathconfig_warnings = enabled;
 2479|      0|    }
 2480|       |
 2481|      2|    const wchar_t *xoption = config_get_xoption(config, L"pathconfig_warnings");
 2482|      2|    if (xoption) {
  ------------------
  |  Branch (2482:9): [True: 0, False: 2]
  ------------------
 2483|      0|        int enabled;
 2484|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2485|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 0]
  |  Branch (2485:21): [True: 0, False: 0]
  |  Branch (2485:68): [True: 0, False: 0]
  |  Branch (2485:85): [True: 0, False: 0]
  ------------------
 2486|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2487|      0|                "-X pathconfig_warnings=n: n is missing or invalid");
 2488|      0|        }
 2489|      0|        config->pathconfig_warnings = enabled;
 2490|      0|    }
 2491|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2492|      2|}
initconfig.c:config_init_fs_encoding:
 2770|      2|{
 2771|      2|    PyStatus status;
 2772|       |
 2773|      2|    if (config->filesystem_encoding == NULL) {
  ------------------
  |  Branch (2773:9): [True: 2, False: 0]
  ------------------
 2774|      2|        status = config_get_fs_encoding(config, preconfig,
 2775|      2|                                        &config->filesystem_encoding);
 2776|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2777|      0|            return status;
 2778|      0|        }
 2779|      2|    }
 2780|       |
 2781|      2|    if (config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2781:9): [True: 2, False: 0]
  ------------------
 2782|      2|        const wchar_t *errors;
 2783|       |#ifdef MS_WINDOWS
 2784|       |        if (preconfig->legacy_windows_fs_encoding) {
 2785|       |            errors = L"replace";
 2786|       |        }
 2787|       |        else {
 2788|       |            errors = L"surrogatepass";
 2789|       |        }
 2790|       |#else
 2791|      2|        errors = L"surrogateescape";
 2792|      2|#endif
 2793|      2|        status = PyConfig_SetString(config, &config->filesystem_errors, errors);
 2794|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2795|      0|            return status;
 2796|      0|        }
 2797|      2|    }
 2798|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2799|      2|}
initconfig.c:config_get_fs_encoding:
 2740|      2|{
 2741|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 2742|       |    return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2743|       |#elif defined(MS_WINDOWS)
 2744|       |    const wchar_t *encoding;
 2745|       |    if (preconfig->legacy_windows_fs_encoding) {
 2746|       |        // Legacy Windows filesystem encoding: mbcs/replace
 2747|       |        encoding = L"mbcs";
 2748|       |    }
 2749|       |    else {
 2750|       |        // Windows defaults to utf-8/surrogatepass (PEP 529)
 2751|       |        encoding = L"utf-8";
 2752|       |    }
 2753|       |     return PyConfig_SetString(config, fs_encoding, encoding);
 2754|       |#else  // !MS_WINDOWS
 2755|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2755:9): [True: 2, False: 0]
  ------------------
 2756|      2|        return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2757|      2|    }
 2758|       |
 2759|      0|    if (_Py_GetForceASCII()) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 0]
  ------------------
 2760|      0|        return PyConfig_SetString(config, fs_encoding, L"ascii");
 2761|      0|    }
 2762|       |
 2763|      0|    return config_get_locale_encoding(config, preconfig, fs_encoding);
 2764|      0|#endif  // !MS_WINDOWS
 2765|      0|}
initconfig.c:config_get_locale_encoding:
 2635|      2|{
 2636|      2|    wchar_t *encoding;
 2637|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2637:9): [True: 2, False: 0]
  ------------------
 2638|      2|        encoding = _PyMem_RawWcsdup(L"utf-8");
 2639|      2|    }
 2640|      0|    else {
 2641|      0|        encoding = _Py_GetLocaleEncoding();
 2642|      0|    }
 2643|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (2643:9): [True: 0, False: 2]
  ------------------
 2644|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 2645|      0|    }
 2646|      2|    PyStatus status = PyConfig_SetString(config, locale_encoding, encoding);
 2647|      2|    PyMem_RawFree(encoding);
 2648|      2|    return status;
 2649|      2|}
initconfig.c:config_init_stdio_encoding:
 2655|      2|{
 2656|      2|    PyStatus status;
 2657|       |
 2658|       |    // Exit if encoding and errors are defined
 2659|      2|    if (config->stdio_encoding != NULL && config->stdio_errors != NULL) {
  ------------------
  |  Branch (2659:9): [True: 0, False: 2]
  |  Branch (2659:43): [True: 0, False: 0]
  ------------------
 2660|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2661|      0|    }
 2662|       |
 2663|       |    /* PYTHONIOENCODING environment variable */
 2664|      2|    const char *opt = config_get_env(config, "PYTHONIOENCODING");
 2665|      2|    if (opt) {
  ------------------
  |  Branch (2665:9): [True: 0, False: 2]
  ------------------
 2666|      0|        char *pythonioencoding = _PyMem_RawStrdup(opt);
 2667|      0|        if (pythonioencoding == NULL) {
  ------------------
  |  Branch (2667:13): [True: 0, False: 0]
  ------------------
 2668|      0|            return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 2669|      0|        }
 2670|       |
 2671|      0|        char *errors = strchr(pythonioencoding, ':');
 2672|      0|        if (errors) {
  ------------------
  |  Branch (2672:13): [True: 0, False: 0]
  ------------------
 2673|      0|            *errors = '\0';
 2674|      0|            errors++;
 2675|      0|            if (!errors[0]) {
  ------------------
  |  Branch (2675:17): [True: 0, False: 0]
  ------------------
 2676|      0|                errors = NULL;
 2677|      0|            }
 2678|      0|        }
 2679|       |
 2680|       |        /* Does PYTHONIOENCODING contain an encoding? */
 2681|      0|        if (pythonioencoding[0]) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 0]
  ------------------
 2682|      0|            if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2682:17): [True: 0, False: 0]
  ------------------
 2683|      0|                status = CONFIG_SET_BYTES_STR(config, &config->stdio_encoding,
  ------------------
  |  | 1334|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2684|      0|                                              pythonioencoding,
 2685|      0|                                              "PYTHONIOENCODING environment variable");
 2686|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2687|      0|                    PyMem_RawFree(pythonioencoding);
 2688|      0|                    return status;
 2689|      0|                }
 2690|      0|            }
 2691|       |
 2692|       |            /* If the encoding is set but not the error handler,
 2693|       |               use "strict" error handler by default.
 2694|       |               PYTHONIOENCODING=latin1 behaves as
 2695|       |               PYTHONIOENCODING=latin1:strict. */
 2696|      0|            if (!errors) {
  ------------------
  |  Branch (2696:17): [True: 0, False: 0]
  ------------------
 2697|      0|                errors = "strict";
 2698|      0|            }
 2699|      0|        }
 2700|       |
 2701|      0|        if (config->stdio_errors == NULL && errors != NULL) {
  ------------------
  |  Branch (2701:13): [True: 0, False: 0]
  |  Branch (2701:45): [True: 0, False: 0]
  ------------------
 2702|      0|            status = CONFIG_SET_BYTES_STR(config, &config->stdio_errors,
  ------------------
  |  | 1334|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2703|      0|                                          errors,
 2704|      0|                                          "PYTHONIOENCODING environment variable");
 2705|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2706|      0|                PyMem_RawFree(pythonioencoding);
 2707|      0|                return status;
 2708|      0|            }
 2709|      0|        }
 2710|       |
 2711|      0|        PyMem_RawFree(pythonioencoding);
 2712|      0|    }
 2713|       |
 2714|       |    /* Choose the default error handler based on the current locale. */
 2715|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2715:9): [True: 2, False: 0]
  ------------------
 2716|      2|        status = config_get_locale_encoding(config, preconfig,
 2717|      2|                                            &config->stdio_encoding);
 2718|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2719|      0|            return status;
 2720|      0|        }
 2721|      2|    }
 2722|      2|    if (config->stdio_errors == NULL) {
  ------------------
  |  Branch (2722:9): [True: 2, False: 0]
  ------------------
 2723|      2|        const wchar_t *errors = config_get_stdio_errors(preconfig);
 2724|      2|        assert(errors != NULL);
 2725|       |
 2726|      2|        status = PyConfig_SetString(config, &config->stdio_errors, errors);
 2727|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2728|      0|            return status;
 2729|      0|        }
 2730|      2|    }
 2731|       |
 2732|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2733|      2|}
initconfig.c:config_get_stdio_errors:
 2601|      2|{
 2602|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2602:9): [True: 2, False: 0]
  ------------------
 2603|       |        /* UTF-8 Mode uses UTF-8/surrogateescape */
 2604|      2|        return L"surrogateescape";
 2605|      2|    }
 2606|       |
 2607|      0|#ifndef MS_WINDOWS
 2608|      0|    const char *loc = setlocale(LC_CTYPE, NULL);
 2609|      0|    if (loc != NULL) {
  ------------------
  |  Branch (2609:9): [True: 0, False: 0]
  ------------------
 2610|       |        /* surrogateescape is the default in the legacy C and POSIX locales */
 2611|      0|        if (strcmp(loc, "C") == 0 || strcmp(loc, "POSIX") == 0) {
  ------------------
  |  Branch (2611:13): [True: 0, False: 0]
  |  Branch (2611:38): [True: 0, False: 0]
  ------------------
 2612|      0|            return L"surrogateescape";
 2613|      0|        }
 2614|       |
 2615|      0|#ifdef PY_COERCE_C_LOCALE
 2616|       |        /* surrogateescape is the default in locale coercion target locales */
 2617|      0|        if (_Py_IsLocaleCoercionTarget(loc)) {
  ------------------
  |  Branch (2617:13): [True: 0, False: 0]
  ------------------
 2618|      0|            return L"surrogateescape";
 2619|      0|        }
 2620|      0|#endif
 2621|      0|    }
 2622|       |
 2623|      0|    return L"strict";
 2624|       |#else
 2625|       |    /* On Windows, always use surrogateescape by default */
 2626|       |    return L"surrogateescape";
 2627|       |#endif
 2628|      0|}
initconfig.c:config_get:
 4628|    142|{
 4629|    142|    if (use_sys) {
  ------------------
  |  Branch (4629:9): [True: 0, False: 142]
  ------------------
 4630|      0|        if (spec->sys.attr != NULL) {
  ------------------
  |  Branch (4630:13): [True: 0, False: 0]
  ------------------
 4631|      0|            return PySys_GetAttrString(spec->sys.attr);
 4632|      0|        }
 4633|       |
 4634|      0|        if (strcmp(spec->name, "write_bytecode") == 0) {
  ------------------
  |  Branch (4634:13): [True: 0, False: 0]
  ------------------
 4635|      0|            int value;
 4636|      0|            if (config_get_sys_write_bytecode(config, &value) < 0) {
  ------------------
  |  Branch (4636:17): [True: 0, False: 0]
  ------------------
 4637|      0|                return NULL;
 4638|      0|            }
 4639|      0|            return PyBool_FromLong(value);
 4640|      0|        }
 4641|       |
 4642|      0|        if (strcmp(spec->name, "int_max_str_digits") == 0) {
  ------------------
  |  Branch (4642:13): [True: 0, False: 0]
  ------------------
 4643|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 4644|      0|            return PyLong_FromLong(interp->long_state.max_str_digits);
 4645|      0|        }
 4646|      0|    }
 4647|       |
 4648|    142|    void *member = config_get_spec_member(config, spec);
 4649|    142|    switch (spec->type) {
 4650|      8|    case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (4650:5): [True: 8, False: 134]
  ------------------
 4651|     24|    case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (4651:5): [True: 16, False: 126]
  ------------------
 4652|     24|    {
 4653|     24|        int value = *(int *)member;
 4654|     24|        return PyLong_FromLong(value);
 4655|      8|    }
 4656|       |
 4657|     62|    case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (4657:5): [True: 62, False: 80]
  ------------------
 4658|     62|    {
 4659|     62|        int value = *(int *)member;
 4660|     62|        return PyBool_FromLong(value != 0);
 4661|      8|    }
 4662|       |
 4663|      2|    case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (4663:5): [True: 2, False: 140]
  ------------------
 4664|      2|    {
 4665|      2|        unsigned long value = *(unsigned long *)member;
 4666|      2|        return PyLong_FromUnsignedLong(value);
 4667|      8|    }
 4668|       |
 4669|     14|    case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (4669:5): [True: 14, False: 128]
  ------------------
 4670|     44|    case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (4670:5): [True: 30, False: 112]
  ------------------
 4671|     44|    {
 4672|     44|        wchar_t *wstr = *(wchar_t **)member;
 4673|     44|        if (wstr != NULL) {
  ------------------
  |  Branch (4673:13): [True: 10, False: 34]
  ------------------
 4674|     10|            return PyUnicode_FromWideChar(wstr, -1);
 4675|     10|        }
 4676|     34|        else {
 4677|     34|            return Py_NewRef(Py_None);
  ------------------
  |  |  550|     34|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4678|     34|        }
 4679|     44|    }
 4680|       |
 4681|     10|    case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (4681:5): [True: 10, False: 132]
  ------------------
 4682|     10|    {
 4683|     10|        if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (4683:13): [True: 2, False: 8]
  ------------------
 4684|      2|            return _PyConfig_CreateXOptionsDict(config);
 4685|      2|        }
 4686|      8|        else {
 4687|      8|            const PyWideStringList *list = (const PyWideStringList *)member;
 4688|      8|            return _PyWideStringList_AsTuple(list);
 4689|      8|        }
 4690|     10|    }
 4691|       |
 4692|      0|    default:
  ------------------
  |  Branch (4692:5): [True: 0, False: 142]
  ------------------
 4693|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 4694|    142|    }
 4695|    142|}
initconfig.c:_PyWideStringList_AsTuple:
  956|      8|{
  957|      8|    assert(_PyWideStringList_CheckConsistency(list));
  958|       |
  959|      8|    PyObject *tuple = PyTuple_New(list->length);
  960|      8|    if (tuple == NULL) {
  ------------------
  |  Branch (960:9): [True: 0, False: 8]
  ------------------
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|     10|    for (Py_ssize_t i = 0; i < list->length; i++) {
  ------------------
  |  Branch (964:28): [True: 2, False: 8]
  ------------------
  965|      2|        PyObject *item = PyUnicode_FromWideChar(list->items[i], -1);
  966|      2|        if (item == NULL) {
  ------------------
  |  Branch (966:13): [True: 0, False: 2]
  ------------------
  967|      0|            Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  968|      0|            return NULL;
  969|      0|        }
  970|      2|        PyTuple_SET_ITEM(tuple, i, item);
  ------------------
  |  |   40|      2|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  971|      2|    }
  972|      8|    return tuple;
  973|      8|}

_PyInstructionSequence_NewLabel:
   59|  1.17k|{
   60|  1.17k|    _PyJumpTargetLabel lbl = {++seq->s_next_free_label};
   61|  1.17k|    return lbl;
   62|  1.17k|}
_PyInstructionSequence_UseLabel:
   66|  2.94k|{
   67|  2.94k|    int old_size = seq->s_labelmap_size;
   68|  2.94k|    _Py_c_array_t array = {
   69|  2.94k|        .array = (void*)seq->s_labelmap,
   70|  2.94k|        .allocated_entries = seq->s_labelmap_size,
   71|  2.94k|        .item_size = sizeof(int),
   72|  2.94k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE,
  ------------------
  |  |   20|  2.94k|#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
  ------------------
   73|  2.94k|    };
   74|       |
   75|  2.94k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, lbl));
  ------------------
  |  |   32|  2.94k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 2.94k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   76|  2.94k|    seq->s_labelmap = array.array;
   77|  2.94k|    seq->s_labelmap_size = array.allocated_entries;
   78|       |
   79|  15.7k|    for(int i = old_size; i < seq->s_labelmap_size; i++) {
  ------------------
  |  Branch (79:27): [True: 12.8k, False: 2.94k]
  ------------------
   80|  12.8k|        seq->s_labelmap[i] = -111;  /* something weird, for debugging */
   81|  12.8k|    }
   82|  2.94k|    seq->s_labelmap[lbl] = seq->s_used; /* label refers to the next instruction */
   83|  2.94k|    return SUCCESS;
  ------------------
  |  |   28|  2.94k|#define SUCCESS 0
  ------------------
   84|  2.94k|}
_PyInstructionSequence_ApplyLabelMap:
   88|  2.19k|{
   89|  2.19k|    if (instrs->s_labelmap == NULL) {
  ------------------
  |  Branch (89:9): [True: 950, False: 1.24k]
  ------------------
   90|       |        /* Already applied - nothing to do */
   91|    950|        return SUCCESS;
  ------------------
  |  |   28|    950|#define SUCCESS 0
  ------------------
   92|    950|    }
   93|       |    /* Replace labels by offsets in the code */
   94|  28.6k|    for (int i=0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (94:19): [True: 27.4k, False: 1.24k]
  ------------------
   95|  27.4k|        instruction *instr = &instrs->s_instrs[i];
   96|  27.4k|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  27.4k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|  54.8k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  27.4k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 800, False: 26.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  26.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|  53.2k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 26.6k]
  |  |  |  |  ------------------
  |  |  |  |   19|  26.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  53.2k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 26.6k]
  |  |  |  |  ------------------
  |  |  |  |   20|  26.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  26.6k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 26.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|    800|            assert(instr->i_oparg < instrs->s_labelmap_size);
   98|    800|            instr->i_oparg = instrs->s_labelmap[instr->i_oparg];
   99|    800|        }
  100|  27.4k|        _PyExceptHandlerInfo *hi = &instr->i_except_handler_info;
  101|  27.4k|        if (hi->h_label >= 0) {
  ------------------
  |  Branch (101:13): [True: 13.3k, False: 14.0k]
  ------------------
  102|  13.3k|            assert(hi->h_label < instrs->s_labelmap_size);
  103|  13.3k|            hi->h_label = instrs->s_labelmap[hi->h_label];
  104|  13.3k|        }
  105|  27.4k|    }
  106|       |    /* Clear label map so it's never used again */
  107|  1.24k|    PyMem_Free(instrs->s_labelmap);
  108|  1.24k|    instrs->s_labelmap = NULL;
  109|  1.24k|    instrs->s_labelmap_size = 0;
  110|  1.24k|    return SUCCESS;
  ------------------
  |  |   28|  1.24k|#define SUCCESS 0
  ------------------
  111|  2.19k|}
_PyInstructionSequence_Addop:
  118|  29.3k|{
  119|  29.3k|    assert(0 <= opcode && opcode <= MAX_OPCODE);
  120|  29.3k|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  121|  29.3k|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  122|  29.3k|    assert(0 <= oparg && oparg < (1 << 30));
  123|       |
  124|  29.3k|    int idx = instr_sequence_next_inst(seq);
  125|  29.3k|    RETURN_IF_ERROR(idx);
  ------------------
  |  |   32|  29.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 29.3k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  126|  29.3k|    instruction *ci = &seq->s_instrs[idx];
  127|  29.3k|    ci->i_opcode = opcode;
  128|  29.3k|    ci->i_oparg = oparg;
  129|  29.3k|    ci->i_loc = loc;
  130|  29.3k|    return SUCCESS;
  ------------------
  |  |   28|  29.3k|#define SUCCESS 0
  ------------------
  131|  29.3k|}
PyInstructionSequence_Fini:
  189|  1.46k|PyInstructionSequence_Fini(instr_sequence *seq) {
  190|  1.46k|    Py_XDECREF(seq->s_nested);
  ------------------
  |  |  524|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |
  192|  1.46k|    PyMem_Free(seq->s_labelmap);
  193|  1.46k|    seq->s_labelmap = NULL;
  194|       |
  195|  1.46k|    PyMem_Free(seq->s_instrs);
  196|  1.46k|    seq->s_instrs = NULL;
  197|       |
  198|  1.46k|    if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 1.46k]
  ------------------
  199|      0|        PyInstructionSequence_Fini(seq->s_annotations_code);
  200|      0|        Py_CLEAR(seq->s_annotations_code);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|    }
  202|       |
  203|  1.46k|}
_PyInstructionSequence_New:
  233|    733|{
  234|    733|    _PyInstructionSequence *seq = inst_seq_create();
  235|    733|    if (seq == NULL) {
  ------------------
  |  Branch (235:9): [True: 0, False: 733]
  ------------------
  236|      0|        return NULL;
  237|      0|    }
  238|    733|    return (PyObject*)seq;
  239|    733|}
instruction_sequence.c:instr_sequence_next_inst:
   37|  29.3k|instr_sequence_next_inst(instr_sequence *seq) {
   38|  29.3k|    assert(seq->s_instrs != NULL || seq->s_used == 0);
   39|       |
   40|       |
   41|  29.3k|    _Py_c_array_t array = {
   42|  29.3k|        .array = (void*)seq->s_instrs,
   43|  29.3k|        .allocated_entries = seq->s_allocated,
   44|  29.3k|        .item_size = sizeof(instruction),
   45|  29.3k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_SIZE,
  ------------------
  |  |   19|  29.3k|#define INITIAL_INSTR_SEQUENCE_SIZE 100
  ------------------
   46|  29.3k|    };
   47|       |
   48|  29.3k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, seq->s_used + 1));
  ------------------
  |  |   32|  29.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 29.3k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   49|  29.3k|    seq->s_instrs = array.array;
   50|  29.3k|    seq->s_allocated = array.allocated_entries;
   51|       |
   52|  29.3k|    assert(seq->s_allocated >= 0);
   53|       |    assert(seq->s_used < seq->s_allocated);
   54|  29.3k|    return seq->s_used++;
   55|  29.3k|}
instruction_sequence.c:inst_seq_create:
  212|    733|{
  213|    733|    _PyInstructionSequence *seq;
  214|    733|    seq = PyObject_GC_New(_PyInstructionSequence, &_PyInstructionSequence_Type);
  ------------------
  |  |  181|    733|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  215|    733|    if (seq == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 733]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|    733|    seq->s_instrs = NULL;
  219|    733|    seq->s_allocated = 0;
  220|    733|    seq->s_used = 0;
  221|    733|    seq->s_next_free_label = 0;
  222|    733|    seq->s_labelmap = NULL;
  223|    733|    seq->s_labelmap_size = 0;
  224|    733|    seq->s_nested = NULL;
  225|    733|    seq->s_annotations_code = NULL;
  226|       |
  227|    733|    PyObject_GC_Track(seq);
  228|    733|    return seq;
  229|    733|}
instruction_sequence.c:inst_seq_dealloc:
  426|    733|{
  427|    733|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  428|    733|    PyObject_GC_UnTrack(seq);
  429|    733|    PyInstructionSequence_Fini(seq);
  430|    733|    PyObject_GC_Del(seq);
  431|    733|}

_Py_GetBaseCodeUnit:
  639|  62.2k|{
  640|  62.2k|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|  62.2k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  62.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|  62.2k|    _Py_CODEUNIT inst = {
  642|  62.2k|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  158|  62.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|  62.2k|    int opcode = inst.op.code;
  644|  62.2k|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  261|  62.2k|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 62.2k, False: 0]
  ------------------
  645|  62.2k|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|  62.2k|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  647|  62.2k|        return inst;
  648|  62.2k|    }
  649|      0|    if (opcode == ENTER_EXECUTOR) {
  ------------------
  |  |  245|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (649:9): [True: 0, False: 0]
  ------------------
  650|      0|        _PyExecutorObject *exec = code->co_executors->executors[inst.op.arg];
  651|      0|        opcode = _PyOpcode_Deopt[exec->vm_data.opcode];
  652|      0|        inst.op.code = opcode;
  653|      0|        inst.op.arg = exec->vm_data.oparg;
  654|      0|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  655|      0|        return inst;
  656|      0|    }
  657|      0|    if (opcode == INSTRUMENTED_LINE) {
  ------------------
  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (657:9): [True: 0, False: 0]
  ------------------
  658|      0|        opcode = _PyCode_GetOriginalOpcode(code->_co_monitoring->lines, i);
  659|      0|    }
  660|      0|    if (opcode == INSTRUMENTED_INSTRUCTION) {
  ------------------
  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (660:9): [True: 0, False: 0]
  ------------------
  661|      0|        opcode = code->_co_monitoring->per_instruction_opcodes[i];
  662|      0|    }
  663|      0|    CHECK(opcode != INSTRUMENTED_INSTRUCTION);
  ------------------
  |  |  632|      0|#define CHECK(test) assert(test)
  ------------------
  664|      0|    CHECK(opcode != INSTRUMENTED_LINE);
  ------------------
  |  |  632|      0|#define CHECK(test) assert(test)
  ------------------
  665|      0|    int deinstrumented = DE_INSTRUMENT[opcode];
  666|      0|    if (deinstrumented) {
  ------------------
  |  Branch (666:9): [True: 0, False: 0]
  ------------------
  667|      0|        inst.op.code = deinstrumented;
  668|      0|    }
  669|      0|    else {
  670|      0|        inst.op.code = _PyOpcode_Deopt[opcode];
  671|      0|    }
  672|       |    assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  673|      0|    return inst;
  674|      0|}
_Py_Instrument:
 1953|  23.5k|{
 1954|  23.5k|    int res;
 1955|  23.5k|    LOCK_CODE(code);
 1956|  23.5k|    res = instrument_lock_held(code, interp);
 1957|  23.5k|    UNLOCK_CODE();
 1958|  23.5k|    return res;
 1959|  23.5k|}
_Py_CreateMonitoringObject:
 2565|      2|{
 2566|      2|    PyObject *mod = _PyModule_CreateInitialized(&monitoring_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 2567|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2567:9): [True: 0, False: 2]
  ------------------
 2568|      0|        return NULL;
 2569|      0|    }
 2570|      2|    if (PyObject_SetAttrString(mod, "DISABLE", &_PyInstrumentation_DISABLE)) {
  ------------------
  |  Branch (2570:9): [True: 0, False: 2]
  ------------------
 2571|      0|        goto error;
 2572|      0|    }
 2573|      2|    if (PyObject_SetAttrString(mod, "MISSING", &_PyInstrumentation_MISSING)) {
  ------------------
  |  Branch (2573:9): [True: 0, False: 2]
  ------------------
 2574|      0|        goto error;
 2575|      0|    }
 2576|      2|    PyObject *events = _PyNamespace_New(NULL);
 2577|      2|    if (events == NULL) {
  ------------------
  |  Branch (2577:9): [True: 0, False: 2]
  ------------------
 2578|      0|        goto error;
 2579|      0|    }
 2580|      2|    int err = PyObject_SetAttrString(mod, "events", events);
 2581|      2|    Py_DECREF(events);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2582|      2|    if (err) {
  ------------------
  |  Branch (2582:9): [True: 0, False: 2]
  ------------------
 2583|      0|        goto error;
 2584|      0|    }
 2585|     40|    for (int i = 0; i < _PY_MONITORING_EVENTS; i++) {
  ------------------
  |  |   77|     40|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (2585:21): [True: 38, False: 2]
  ------------------
 2586|     38|        if (add_power2_constant(events, event_names[i], i)) {
  ------------------
  |  Branch (2586:13): [True: 0, False: 38]
  ------------------
 2587|      0|            goto error;
 2588|      0|        }
 2589|     38|    }
 2590|      2|    err = PyObject_SetAttrString(events, "NO_EVENTS", _PyLong_GetZero());
 2591|      2|    if (err) goto error;
  ------------------
  |  Branch (2591:9): [True: 0, False: 2]
  ------------------
 2592|      2|    PyObject *val = PyLong_FromLong(PY_MONITORING_DEBUGGER_ID);
  ------------------
  |  |   20|      2|#define PY_MONITORING_DEBUGGER_ID 0
  ------------------
 2593|      2|    assert(val != NULL); /* Can't return NULL because the int is small. */
 2594|      2|    err = PyObject_SetAttrString(mod, "DEBUGGER_ID", val);
 2595|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|      2|    if (err) goto error;
  ------------------
  |  Branch (2596:9): [True: 0, False: 2]
  ------------------
 2597|      2|    val = PyLong_FromLong(PY_MONITORING_COVERAGE_ID);
  ------------------
  |  |   21|      2|#define PY_MONITORING_COVERAGE_ID 1
  ------------------
 2598|      2|    assert(val != NULL);
 2599|      2|    err = PyObject_SetAttrString(mod, "COVERAGE_ID", val);
 2600|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2601|      2|    if (err) goto error;
  ------------------
  |  Branch (2601:9): [True: 0, False: 2]
  ------------------
 2602|      2|    val = PyLong_FromLong(PY_MONITORING_PROFILER_ID);
  ------------------
  |  |   22|      2|#define PY_MONITORING_PROFILER_ID 2
  ------------------
 2603|      2|    assert(val != NULL);
 2604|      2|    err = PyObject_SetAttrString(mod, "PROFILER_ID", val);
 2605|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2606|      2|    if (err) goto error;
  ------------------
  |  Branch (2606:9): [True: 0, False: 2]
  ------------------
 2607|      2|    val = PyLong_FromLong(PY_MONITORING_OPTIMIZER_ID);
  ------------------
  |  |   23|      2|#define PY_MONITORING_OPTIMIZER_ID 5
  ------------------
 2608|      2|    assert(val != NULL);
 2609|      2|    err = PyObject_SetAttrString(mod, "OPTIMIZER_ID", val);
 2610|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|      2|    if (err) goto error;
  ------------------
  |  Branch (2611:9): [True: 0, False: 2]
  ------------------
 2612|      2|    return mod;
 2613|      0|error:
 2614|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|       |    return NULL;
 2616|      2|}
instrumentation.c:instrument_lock_held:
 1937|  23.5k|{
 1938|  23.5k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1939|       |
 1940|  23.5k|    if (is_version_up_to_date(code, interp)) {
  ------------------
  |  Branch (1940:9): [True: 23.5k, False: 0]
  ------------------
 1941|  23.5k|        assert(
 1942|  23.5k|            interp->ceval.instrumentation_version == 0 ||
 1943|  23.5k|            instrumentation_cross_checks(interp, code)
 1944|  23.5k|        );
 1945|  23.5k|        return 0;
 1946|  23.5k|    }
 1947|       |
 1948|      0|    return force_instrument_lock_held(code, interp);
 1949|  23.5k|}
instrumentation.c:is_version_up_to_date:
 1065|  23.5k|{
 1066|  23.5k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1067|  23.5k|    return global_version(interp) == code->_co_instrumentation_version;
 1068|  23.5k|}
instrumentation.c:global_version:
 1016|  23.5k|{
 1017|  23.5k|    uint32_t version = (uint32_t)_Py_atomic_load_uintptr_relaxed(
 1018|  23.5k|        &interp->ceval.instrumentation_version);
 1019|       |#ifdef Py_DEBUG
 1020|       |    PyThreadState *tstate = _PyThreadState_GET();
 1021|       |    uint32_t thread_version =
 1022|       |        (uint32_t)(_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) &
 1023|       |                   ~_PY_EVAL_EVENTS_MASK);
 1024|       |    assert(thread_version == version);
 1025|       |#endif
 1026|  23.5k|    return version;
 1027|  23.5k|}
instrumentation.c:add_power2_constant:
 2502|     38|{
 2503|     38|    PyObject *val = PyLong_FromLong(1<<i);
 2504|     38|    if (val == NULL) {
  ------------------
  |  Branch (2504:9): [True: 0, False: 38]
  ------------------
 2505|      0|        return -1;
 2506|      0|    }
 2507|     38|    int err = PyObject_SetAttrString(obj, name, val);
 2508|     38|    Py_DECREF(val);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|     38|    return err;
 2510|     38|}

_PyCompile_GetUnaryIntrinsicName:
  287|     26|{
  288|     26|    if (index < 0 || index > MAX_INTRINSIC_1) {
  ------------------
  |  |   23|     26|#define MAX_INTRINSIC_1                         12
  ------------------
  |  Branch (288:9): [True: 0, False: 26]
  |  Branch (288:22): [True: 0, False: 26]
  ------------------
  289|      0|        return NULL;
  290|      0|    }
  291|     26|    return PyUnicode_FromString(_PyIntrinsics_UnaryFunctions[index].name);
  292|     26|}
_PyCompile_GetBinaryIntrinsicName:
  296|     12|{
  297|     12|    if (index < 0 || index > MAX_INTRINSIC_2) {
  ------------------
  |  |   34|     12|#define MAX_INTRINSIC_2                          5
  ------------------
  |  Branch (297:9): [True: 0, False: 12]
  |  Branch (297:22): [True: 0, False: 12]
  ------------------
  298|      0|        return NULL;
  299|      0|    }
  300|     12|    return PyUnicode_FromString(_PyIntrinsics_BinaryFunctions[index].name);
  301|     12|}
intrinsics.c:import_star:
  126|     80|{
  127|     80|    _PyInterpreterFrame *frame = tstate->current_frame;
  128|       |
  129|     80|    PyObject *locals = _PyFrame_GetLocals(frame);
  130|     80|    if (locals == NULL) {
  ------------------
  |  Branch (130:9): [True: 0, False: 80]
  ------------------
  131|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
  132|      0|                            "no locals found during 'import *'");
  133|      0|        return NULL;
  134|      0|    }
  135|     80|    int err = import_all_from(tstate, locals, from);
  136|     80|    Py_DECREF(locals);
  ------------------
  |  |  430|     80|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|     80|    if (err < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 80]
  ------------------
  138|      0|        return NULL;
  139|      0|    }
  140|     80|    Py_RETURN_NONE;
  ------------------
  |  |  628|     80|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     80|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  141|     80|}
intrinsics.c:import_all_from:
   42|     80|{
   43|     80|    PyObject *all, *dict, *name, *value;
   44|     80|    int skip_leading_underscores = 0;
   45|     80|    int pos, err;
   46|       |
   47|     80|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__all__), &all) < 0) {
  ------------------
  |  |  919|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (47:9): [True: 0, False: 80]
  ------------------
   48|      0|        return -1; /* Unexpected error */
   49|      0|    }
   50|     80|    if (all == NULL) {
  ------------------
  |  Branch (50:9): [True: 36, False: 44]
  ------------------
   51|     36|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &dict) < 0) {
  ------------------
  |  |  919|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (51:13): [True: 0, False: 36]
  ------------------
   52|      0|            return -1;
   53|      0|        }
   54|     36|        if (dict == NULL) {
  ------------------
  |  Branch (54:13): [True: 0, False: 36]
  ------------------
   55|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
   56|      0|                    "from-import-* object has no __dict__ and no __all__");
   57|      0|            return -1;
   58|      0|        }
   59|     36|        all = PyMapping_Keys(dict);
   60|     36|        Py_DECREF(dict);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|     36|        if (all == NULL)
  ------------------
  |  Branch (61:13): [True: 0, False: 36]
  ------------------
   62|      0|            return -1;
   63|     36|        skip_leading_underscores = 1;
   64|     36|    }
   65|       |
   66|  4.33k|    for (pos = 0, err = 0; ; pos++) {
   67|  4.33k|        name = PySequence_GetItem(all, pos);
   68|  4.33k|        if (name == NULL) {
  ------------------
  |  Branch (68:13): [True: 80, False: 4.25k]
  ------------------
   69|     80|            if (!_PyErr_ExceptionMatches(tstate, PyExc_IndexError)) {
  ------------------
  |  Branch (69:17): [True: 0, False: 80]
  ------------------
   70|      0|                err = -1;
   71|      0|            }
   72|     80|            else {
   73|     80|                _PyErr_Clear(tstate);
   74|     80|            }
   75|     80|            break;
   76|     80|        }
   77|  4.25k|        if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.25k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.25k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (77:13): [True: 0, False: 4.25k]
  ------------------
   78|      0|            PyObject *modname = PyObject_GetAttr(v, &_Py_ID(__name__));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      0|            if (modname == NULL) {
  ------------------
  |  Branch (79:17): [True: 0, False: 0]
  ------------------
   80|      0|                Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|      0|                err = -1;
   82|      0|                break;
   83|      0|            }
   84|      0|            if (!PyUnicode_Check(modname)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (84:17): [True: 0, False: 0]
  ------------------
   85|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   86|      0|                              "module __name__ must be a string, not %.100s",
   87|      0|                              Py_TYPE(modname)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      0|            }
   89|      0|            else {
   90|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   91|      0|                              "%s in %U.%s must be str, not %.100s",
   92|      0|                              skip_leading_underscores ? "Key" : "Item",
  ------------------
  |  Branch (92:31): [True: 0, False: 0]
  ------------------
   93|      0|                              modname,
   94|      0|                              skip_leading_underscores ? "__dict__" : "__all__",
  ------------------
  |  Branch (94:31): [True: 0, False: 0]
  ------------------
   95|      0|                              Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      0|            }
   97|      0|            Py_DECREF(modname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|      0|            err = -1;
  100|      0|            break;
  101|      0|        }
  102|  4.25k|        if (skip_leading_underscores) {
  ------------------
  |  Branch (102:13): [True: 3.81k, False: 440]
  ------------------
  103|  3.81k|            if (PyUnicode_READ_CHAR(name, 0) == '_') {
  ------------------
  |  |  381|  3.81k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:17): [True: 240, False: 3.57k]
  ------------------
  104|    240|                Py_DECREF(name);
  ------------------
  |  |  430|    240|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|    240|                continue;
  106|    240|            }
  107|  3.81k|        }
  108|  4.01k|        value = PyObject_GetAttr(v, name);
  109|  4.01k|        if (value == NULL)
  ------------------
  |  Branch (109:13): [True: 0, False: 4.01k]
  ------------------
  110|      0|            err = -1;
  111|  4.01k|        else if (PyDict_CheckExact(locals))
  ------------------
  |  |   19|  4.01k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  4.01k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.01k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|  4.01k|            err = PyDict_SetItem(locals, name, value);
  113|      0|        else
  114|      0|            err = PyObject_SetItem(locals, name, value);
  115|  4.01k|        Py_DECREF(name);
  ------------------
  |  |  430|  4.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  4.01k|        Py_XDECREF(value);
  ------------------
  |  |  524|  4.01k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  4.01k|        if (err < 0)
  ------------------
  |  Branch (117:13): [True: 0, False: 4.01k]
  ------------------
  118|      0|            break;
  119|  4.01k|    }
  120|     80|    Py_DECREF(all);
  ------------------
  |  |  430|     80|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|     80|    return err;
  122|     80|}
intrinsics.c:stopiteration_error:
  145|  23.5k|{
  146|  23.5k|    _PyInterpreterFrame *frame = tstate->current_frame;
  147|  23.5k|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  148|  23.5k|    assert(PyExceptionInstance_Check(exc));
  149|  23.5k|    const char *msg = NULL;
  150|  23.5k|    if (PyErr_GivenExceptionMatches(exc, PyExc_StopIteration)) {
  ------------------
  |  Branch (150:9): [True: 0, False: 23.5k]
  ------------------
  151|      0|        msg = "generator raised StopIteration";
  152|      0|        if (_PyFrame_GetCode(frame)->co_flags & CO_ASYNC_GENERATOR) {
  ------------------
  |  |  129|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (152:13): [True: 0, False: 0]
  ------------------
  153|      0|            msg = "async generator raised StopIteration";
  154|      0|        }
  155|      0|        else if (_PyFrame_GetCode(frame)->co_flags & CO_COROUTINE) {
  ------------------
  |  |  127|      0|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (155:18): [True: 0, False: 0]
  ------------------
  156|      0|            msg = "coroutine raised StopIteration";
  157|      0|        }
  158|      0|    }
  159|  23.5k|    else if ((_PyFrame_GetCode(frame)->co_flags & CO_ASYNC_GENERATOR) &&
  ------------------
  |  |  129|  23.5k|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (159:14): [True: 0, False: 23.5k]
  ------------------
  160|      0|            PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration))
  ------------------
  |  Branch (160:13): [True: 0, False: 0]
  ------------------
  161|      0|    {
  162|       |        /* code in `gen` raised a StopAsyncIteration error:
  163|       |        raise a RuntimeError.
  164|       |        */
  165|      0|        msg = "async generator raised StopAsyncIteration";
  166|      0|    }
  167|  23.5k|    if (msg != NULL) {
  ------------------
  |  Branch (167:9): [True: 0, False: 23.5k]
  ------------------
  168|      0|        PyObject *message = _PyUnicode_FromASCII(msg, strlen(msg));
  169|      0|        if (message == NULL) {
  ------------------
  |  Branch (169:13): [True: 0, False: 0]
  ------------------
  170|      0|            return NULL;
  171|      0|        }
  172|      0|        PyObject *error = PyObject_CallOneArg(PyExc_RuntimeError, message);
  173|      0|        if (error == NULL) {
  ------------------
  |  Branch (173:13): [True: 0, False: 0]
  ------------------
  174|      0|            Py_DECREF(message);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|      0|            return NULL;
  176|      0|        }
  177|      0|        assert(PyExceptionInstance_Check(error));
  178|      0|        PyException_SetCause(error, Py_NewRef(exc));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|       |        // Steal exc reference, rather than Py_NewRef+Py_DECREF
  180|      0|        PyException_SetContext(error, Py_NewRef(exc));
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|        Py_DECREF(message);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|        return error;
  183|      0|    }
  184|  23.5k|    return Py_NewRef(exc);
  ------------------
  |  |  550|  23.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|  23.5k|}
intrinsics.c:list_to_tuple:
  195|  2.74M|{
  196|       |    /* INTRINSIC_LIST_TO_TUPLE is only emitted by the compiler for a
  197|       |       freshly-built, uniquely-referenced temporary list, so steal its items
  198|       |       into the tuple instead of copying them. */
  199|  2.74M|    assert(PyList_CheckExact(v));
  200|       |    assert(_PyObject_IsUniquelyReferenced(v));
  201|  2.74M|    return _PyList_AsTupleAndClear((PyListObject *)v);
  202|  2.74M|}
intrinsics.c:make_typevar:
  206|      8|{
  207|      8|    assert(PyUnicode_Check(v));
  208|      8|    return _Py_make_typevar(v, NULL, NULL);
  209|      8|}
intrinsics.c:make_frozenset:
  213|     24|{
  214|     24|    assert(PySet_CheckExact(set));
  215|       |    assert(_PyObject_IsUniquelyReferenced(set));
  216|     24|    return _PySet_Freeze(set);
  217|     24|}
intrinsics.c:make_typevar_with_bound:
  260|      2|{
  261|      2|    assert(PyUnicode_Check(name));
  262|       |    return _Py_make_typevar(name, evaluate_bound, NULL);
  263|      2|}

_PyMutex_LockTimed:
   57|  73.8k|{
   58|  73.8k|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   59|  73.8k|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|  73.8k|#define _Py_LOCKED      1
  ------------------
  |  Branch (59:9): [True: 73.8k, False: 2]
  ------------------
   60|  73.8k|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|  73.8k|#define _Py_LOCKED      1
  ------------------
  |  Branch (60:13): [True: 73.8k, False: 0]
  ------------------
   61|  73.8k|            return PY_LOCK_ACQUIRED;
   62|  73.8k|        }
   63|  73.8k|    }
   64|      2|    if (timeout == 0) {
  ------------------
  |  Branch (64:9): [True: 2, False: 0]
  ------------------
   65|      2|        return PY_LOCK_FAILURE;
   66|      2|    }
   67|       |
   68|      0|    FT_STAT_MUTEX_SLEEP_INC();
   69|       |
   70|      0|    PyTime_t now;
   71|       |    // silently ignore error: cannot report error to the caller
   72|      0|    (void)PyTime_MonotonicRaw(&now);
   73|      0|    PyTime_t endtime = 0;
   74|      0|    if (timeout > 0) {
  ------------------
  |  Branch (74:9): [True: 0, False: 0]
  ------------------
   75|      0|        endtime = _PyTime_Add(now, timeout);
   76|      0|    }
   77|       |
   78|      0|    struct mutex_entry entry = {
   79|      0|        .time_to_be_fair = now + TIME_TO_BE_FAIR_NS,
   80|      0|        .handed_off = 0,
   81|      0|    };
   82|       |
   83|      0|    Py_ssize_t spin_count = 0;
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    // Using thread-id as a way of reducing contention further in the reload below.
   86|       |    // It adds a pseudo-random starting offset to the recurrence, so that threads
   87|       |    // are less likely to try and run compare-exchange at the same time.
   88|       |    // The lower bits of platform thread ids are likely to not be random,
   89|       |    // hence the right shift.
   90|       |    const Py_ssize_t tid = (Py_ssize_t)(_Py_ThreadId() >> 12);
   91|       |#else
   92|      0|    const Py_ssize_t tid = 0;
   93|      0|#endif
   94|      0|    for (;;) {
   95|      0|        if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (95:13): [True: 0, False: 0]
  ------------------
   96|       |            // The lock is unlocked. Try to grab it.
   97|      0|            if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (97:17): [True: 0, False: 0]
  ------------------
   98|      0|                return PY_LOCK_ACQUIRED;
   99|      0|            }
  100|      0|            continue;
  101|      0|        }
  102|       |
  103|      0|        if (!(v & _Py_HAS_PARKED) && spin_count < MAX_SPIN_COUNT) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  |  Branch (103:38): [True: 0, False: 0]
  ------------------
  104|       |            // Spin for a bit.
  105|      0|            _Py_yield();
  106|      0|            spin_count++;
  107|      0|            if (((spin_count + tid) & RELOAD_SPIN_MASK) == 0) {
  ------------------
  |  Branch (107:17): [True: 0, False: 0]
  ------------------
  108|      0|                v = _Py_atomic_load_uint8_relaxed(&m->_bits);
  109|      0|            }
  110|      0|            continue;
  111|      0|        }
  112|       |
  113|      0|        if (timeout == 0) {
  ------------------
  |  Branch (113:13): [True: 0, False: 0]
  ------------------
  114|      0|            return PY_LOCK_FAILURE;
  115|      0|        }
  116|      0|        if ((flags & _PY_LOCK_PYTHONLOCK) && Py_IsFinalizing()) {
  ------------------
  |  Branch (116:13): [True: 0, False: 0]
  |  Branch (116:46): [True: 0, False: 0]
  ------------------
  117|       |            // At this phase of runtime shutdown, only the finalization thread
  118|       |            // can have attached thread state; others hang if they try
  119|       |            // attaching. And since operations on this lock requires attached
  120|       |            // thread state (_PY_LOCK_PYTHONLOCK), the finalization thread is
  121|       |            // running this code, and no other thread can unlock.
  122|       |            // Raise rather than hang. (_PY_LOCK_PYTHONLOCK allows raising
  123|       |            // exceptons.)
  124|      0|            PyErr_SetString(PyExc_PythonFinalizationError,
  125|      0|                            "cannot acquire lock at interpreter finalization");
  126|      0|            return PY_LOCK_FAILURE;
  127|      0|        }
  128|       |
  129|      0|        uint8_t newv = v;
  130|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (130:13): [True: 0, False: 0]
  ------------------
  131|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  132|      0|            newv = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  133|      0|            if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &v, newv)) {
  ------------------
  |  Branch (133:17): [True: 0, False: 0]
  ------------------
  134|      0|                continue;
  135|      0|            }
  136|      0|        }
  137|       |
  138|      0|        int ret = _PyParkingLot_Park(&m->_bits, &newv, sizeof(newv), timeout,
  139|      0|                                     &entry, (flags & _PY_LOCK_DETACH) != 0);
  140|      0|        if (ret == Py_PARK_OK) {
  ------------------
  |  Branch (140:13): [True: 0, False: 0]
  ------------------
  141|      0|            if (entry.handed_off) {
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  ------------------
  142|       |                // We own the lock now. thread.Lock allows other threads
  143|       |                // to concurrently release the lock so we cannot assert that
  144|       |                // it is locked if _PY_LOCK_PYTHONLOCK is set.
  145|      0|                assert(_Py_atomic_load_uint8_relaxed(&m->_bits) & _Py_LOCKED ||
  146|      0|                       (flags & _PY_LOCK_PYTHONLOCK) != 0);
  147|      0|                return PY_LOCK_ACQUIRED;
  148|      0|            }
  149|      0|        }
  150|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_LOCK_HANDLE_SIGNALS)) {
  ------------------
  |  Branch (150:18): [True: 0, False: 0]
  |  Branch (150:41): [True: 0, False: 0]
  ------------------
  151|      0|            if (Py_MakePendingCalls() < 0) {
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  ------------------
  152|      0|                return PY_LOCK_INTR;
  153|      0|            }
  154|      0|        }
  155|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_FAIL_IF_INTERRUPTED)) {
  ------------------
  |  Branch (155:18): [True: 0, False: 0]
  |  Branch (155:41): [True: 0, False: 0]
  ------------------
  156|      0|            return PY_LOCK_INTR;
  157|      0|        }
  158|      0|        else if (ret == Py_PARK_TIMEOUT) {
  ------------------
  |  Branch (158:18): [True: 0, False: 0]
  ------------------
  159|      0|            assert(timeout >= 0);
  160|      0|            return PY_LOCK_FAILURE;
  161|      0|        }
  162|       |
  163|      0|        if (timeout > 0) {
  ------------------
  |  Branch (163:13): [True: 0, False: 0]
  ------------------
  164|      0|            timeout = _PyDeadline_Get(endtime);
  165|      0|            if (timeout <= 0) {
  ------------------
  |  Branch (165:17): [True: 0, False: 0]
  ------------------
  166|       |                // Avoid negative values because those mean block forever.
  167|      0|                timeout = 0;
  168|      0|            }
  169|      0|        }
  170|       |
  171|      0|        v = _Py_atomic_load_uint8_relaxed(&m->_bits);
  172|      0|    }
  173|      0|}
_PyMutex_TryUnlock:
  200|     96|{
  201|     96|    uint8_t v = _Py_atomic_load_uint8(&m->_bits);
  202|     96|    for (;;) {
  203|     96|        if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|     96|#define _Py_LOCKED      1
  ------------------
  |  Branch (203:13): [True: 0, False: 96]
  ------------------
  204|       |            // error: the mutex is not locked
  205|      0|            return -1;
  206|      0|        }
  207|     96|        else if ((v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|     96|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (207:18): [True: 0, False: 96]
  ------------------
  208|       |            // wake up a single thread
  209|      0|            _PyParkingLot_Unpark(&m->_bits, mutex_unpark, m);
  210|      0|            return 0;
  211|      0|        }
  212|     96|        else if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     96|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (212:18): [True: 96, False: 0]
  ------------------
  213|       |            // fast-path: no waiters
  214|     96|            return 0;
  215|     96|        }
  216|     96|    }
  217|     96|}
_PyOnceFlag_CallOnceSlow:
  372|     69|{
  373|     69|    uint8_t v = _Py_atomic_load_uint8(&flag->v);
  374|     69|    for (;;) {
  375|     69|        if (v == _Py_UNLOCKED) {
  ------------------
  |  |    9|     69|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (375:13): [True: 69, False: 0]
  ------------------
  376|     69|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, _Py_LOCKED)) {
  ------------------
  |  |   10|     69|#define _Py_LOCKED      1
  ------------------
  |  Branch (376:17): [True: 0, False: 69]
  ------------------
  377|      0|                continue;
  378|      0|            }
  379|     69|            int res = fn(arg);
  380|     69|            return unlock_once(flag, res);
  381|     69|        }
  382|       |
  383|      0|        if (v == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|      0|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (383:13): [True: 0, False: 0]
  ------------------
  384|      0|            return 0;
  385|      0|        }
  386|       |
  387|       |        // The once flag is initializing (locked).
  388|      0|        assert((v & _Py_LOCKED));
  389|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (389:13): [True: 0, False: 0]
  ------------------
  390|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  391|      0|            uint8_t new_value = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  392|      0|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, new_value)) {
  ------------------
  |  Branch (392:17): [True: 0, False: 0]
  ------------------
  393|      0|                continue;
  394|      0|            }
  395|      0|            v = new_value;
  396|      0|        }
  397|       |
  398|       |        // Wait for initialization to finish.
  399|      0|        _PyParkingLot_Park(&flag->v, &v, sizeof(v), -1, NULL, 1);
  400|      0|        v = _Py_atomic_load_uint8(&flag->v);
  401|      0|    }
  402|     69|}
_PyRecursiveMutex_IsLockedByCurrentThread:
  412|  4.13k|{
  413|  4.13k|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  414|  4.13k|}
_PyRecursiveMutex_Lock:
  418|  4.14k|{
  419|  4.14k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  420|  4.14k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (420:9): [True: 0, False: 4.14k]
  ------------------
  421|      0|        m->level++;
  422|      0|        return;
  423|      0|    }
  424|  4.14k|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|  4.14k|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  425|  4.14k|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  426|       |    assert(m->level == 0);
  427|  4.14k|}
_PyRecursiveMutex_LockTimed:
  431|  72.1k|{
  432|  72.1k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  433|  72.1k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (433:9): [True: 4, False: 72.0k]
  ------------------
  434|      4|        m->level++;
  435|      4|        return PY_LOCK_ACQUIRED;
  436|      4|    }
  437|  72.0k|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  438|  72.0k|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (438:9): [True: 72.0k, False: 0]
  ------------------
  439|  72.0k|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  440|       |        assert(m->level == 0);
  441|  72.0k|    }
  442|  72.0k|    return s;
  443|  72.1k|}
_PyRecursiveMutex_Unlock:
  447|  4.14k|{
  448|  4.14k|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 4.14k]
  ------------------
  449|      0|        Py_FatalError("unlocking a recursive mutex that is not "
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  450|      0|                      "owned by the current thread");
  451|      0|    }
  452|  4.14k|}
_PyRecursiveMutex_TryUnlock:
  456|  76.2k|{
  457|  76.2k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  458|  76.2k|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (458:9): [True: 0, False: 76.2k]
  ------------------
  459|      0|        return -1;
  460|      0|    }
  461|  76.2k|    if (m->level > 0) {
  ------------------
  |  Branch (461:9): [True: 4, False: 76.2k]
  ------------------
  462|      4|        m->level--;
  463|      4|        return 0;
  464|      4|    }
  465|  76.2k|    assert(m->level == 0);
  466|  76.2k|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  467|  76.2k|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|  76.2k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  468|  76.2k|    return 0;
  469|  76.2k|}
lock.c:unlock_once:
  348|     69|{
  349|       |    // On success (res=0), we set the state to _Py_ONCE_INITIALIZED.
  350|       |    // On failure (res=-1), we reset the state to _Py_UNLOCKED.
  351|     69|    uint8_t new_value;
  352|     69|    switch (res) {
  353|      0|        case -1: new_value = _Py_UNLOCKED; break;
  ------------------
  |  |    9|      0|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (353:9): [True: 0, False: 69]
  ------------------
  354|     69|        case  0: new_value = _Py_ONCE_INITIALIZED; break;
  ------------------
  |  |   18|     69|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (354:9): [True: 69, False: 0]
  ------------------
  355|      0|        default: {
  ------------------
  |  Branch (355:9): [True: 0, False: 69]
  ------------------
  356|      0|            Py_FatalError("invalid result from _PyOnceFlag_CallOnce");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  357|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  358|      0|            break;
  359|      0|        }
  360|     69|    }
  361|       |
  362|     69|    uint8_t old_value = _Py_atomic_exchange_uint8(&o->v, new_value);
  363|     69|    if ((old_value & _Py_HAS_PARKED) != 0) {
  ------------------
  |  |   17|     69|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (363:9): [True: 0, False: 69]
  ------------------
  364|       |        // wake up anyone waiting on the once flag
  365|      0|        _PyParkingLot_UnparkAll(&o->v);
  366|      0|    }
  367|     69|    return res;
  368|     69|}
lock.c:recursive_mutex_is_owned_by:
  406|   156k|{
  407|   156k|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  408|   156k|}

PyMarshal_ReadObjectFromString:
 1882|     42|{
 1883|     42|    RFILE rf;
 1884|     42|    PyObject *result;
 1885|     42|    rf.allow_code = 1;
 1886|     42|    rf.fp = NULL;
 1887|     42|    rf.readable = NULL;
 1888|     42|    rf.ptr = str;
 1889|     42|    rf.end = str + len;
 1890|     42|    rf.buf = NULL;
 1891|     42|    rf.depth = 0;
 1892|     42|    rf.refs = PyList_New(0);
 1893|     42|    if (rf.refs == NULL)
  ------------------
  |  Branch (1893:9): [True: 0, False: 42]
  ------------------
 1894|      0|        return NULL;
 1895|     42|    result = read_object(&rf);
 1896|     42|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|     42|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|     42|    if (rf.buf != NULL)
  ------------------
  |  Branch (1897:9): [True: 0, False: 42]
  ------------------
 1898|      0|        PyMem_Free(rf.buf);
 1899|     42|    return result;
 1900|     42|}
PyMarshal_Init:
 2191|      2|{
 2192|      2|    return PyModuleDef_Init(&marshalmodule);
 2193|      2|}
marshal.c:r_short:
  937|    524|{
  938|    524|    short x = -1;
  939|    524|    const unsigned char *buffer;
  940|       |
  941|    524|    buffer = (const unsigned char *) r_string(2, p);
  942|    524|    if (buffer != NULL) {
  ------------------
  |  Branch (942:9): [True: 524, False: 0]
  ------------------
  943|    524|        x = buffer[0];
  944|    524|        x |= buffer[1] << 8;
  945|       |        /* Sign-extension, in case short greater than 16 bits */
  946|    524|        x |= -(x & 0x8000);
  947|    524|    }
  948|    524|    return x;
  949|    524|}
marshal.c:r_string:
  839|   672k|{
  840|   672k|    Py_ssize_t read = -1;
  841|       |
  842|   672k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (842:9): [True: 672k, False: 0]
  ------------------
  843|       |        /* Fast path for loads() */
  844|   672k|        const char *res = p->ptr;
  845|   672k|        Py_ssize_t left = p->end - p->ptr;
  846|   672k|        if (left < n) {
  ------------------
  |  Branch (846:13): [True: 0, False: 672k]
  ------------------
  847|      0|            PyErr_SetString(PyExc_EOFError,
  848|      0|                            "marshal data too short");
  849|      0|            return NULL;
  850|      0|        }
  851|   672k|        p->ptr += n;
  852|   672k|        return res;
  853|   672k|    }
  854|      0|    if (p->buf == NULL) {
  ------------------
  |  Branch (854:9): [True: 0, False: 0]
  ------------------
  855|      0|        p->buf = PyMem_Malloc(n);
  856|      0|        if (p->buf == NULL) {
  ------------------
  |  Branch (856:13): [True: 0, False: 0]
  ------------------
  857|      0|            PyErr_NoMemory();
  858|      0|            return NULL;
  859|      0|        }
  860|      0|        p->buf_size = n;
  861|      0|    }
  862|      0|    else if (p->buf_size < n) {
  ------------------
  |  Branch (862:14): [True: 0, False: 0]
  ------------------
  863|      0|        char *tmp = PyMem_Realloc(p->buf, n);
  864|      0|        if (tmp == NULL) {
  ------------------
  |  Branch (864:13): [True: 0, False: 0]
  ------------------
  865|      0|            PyErr_NoMemory();
  866|      0|            return NULL;
  867|      0|        }
  868|      0|        p->buf = tmp;
  869|      0|        p->buf_size = n;
  870|      0|    }
  871|       |
  872|      0|    if (!p->readable) {
  ------------------
  |  Branch (872:9): [True: 0, False: 0]
  ------------------
  873|      0|        assert(p->fp != NULL);
  874|      0|        read = fread(p->buf, 1, n, p->fp);
  875|      0|    }
  876|      0|    else {
  877|      0|        PyObject *res, *mview;
  878|      0|        Py_buffer buf;
  879|       |
  880|      0|        if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1)
  ------------------
  |  |  124|      0|#define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  117|      0|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|      0|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  ------------------
  |  Branch (880:13): [True: 0, False: 0]
  ------------------
  881|      0|            return NULL;
  882|      0|        mview = PyMemoryView_FromBuffer(&buf);
  883|      0|        if (mview == NULL)
  ------------------
  |  Branch (883:13): [True: 0, False: 0]
  ------------------
  884|      0|            return NULL;
  885|       |
  886|      0|        res = _PyObject_CallMethod(p->readable, &_Py_ID(readinto), "N", mview);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|      0|        if (res != NULL) {
  ------------------
  |  Branch (887:13): [True: 0, False: 0]
  ------------------
  888|      0|            read = PyNumber_AsSsize_t(res, PyExc_ValueError);
  889|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|      0|        }
  891|      0|    }
  892|      0|    if (read != n) {
  ------------------
  |  Branch (892:9): [True: 0, False: 0]
  ------------------
  893|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (893:13): [True: 0, False: 0]
  ------------------
  894|      0|            if (read > n)
  ------------------
  |  Branch (894:17): [True: 0, False: 0]
  ------------------
  895|      0|                PyErr_Format(PyExc_ValueError,
  896|      0|                             "read() returned too much data: "
  897|      0|                             "%zd bytes requested, %zd returned",
  898|      0|                             n, read);
  899|      0|            else
  900|      0|                PyErr_SetString(PyExc_EOFError,
  901|      0|                                "EOF read where not expected");
  902|      0|        }
  903|      0|        return NULL;
  904|      0|    }
  905|      0|    return p->buf;
  906|      0|}
marshal.c:r_long:
  953|   470k|{
  954|   470k|    long x = -1;
  955|   470k|    const unsigned char *buffer;
  956|       |
  957|   470k|    buffer = (const unsigned char *) r_string(4, p);
  958|   470k|    if (buffer != NULL) {
  ------------------
  |  Branch (958:9): [True: 470k, False: 0]
  ------------------
  959|   470k|        x = buffer[0];
  960|   470k|        x |= (long)buffer[1] << 8;
  961|   470k|        x |= (long)buffer[2] << 16;
  962|   470k|        x |= (long)buffer[3] << 24;
  963|   470k|#if SIZEOF_LONG > 4
  964|       |        /* Sign extension for 64-bit machines */
  965|   470k|        x |= -(x & 0x80000000L);
  966|   470k|#endif
  967|   470k|    }
  968|   470k|    return x;
  969|   470k|}
marshal.c:read_object:
 1761|    544|{
 1762|    544|    PyObject *v;
 1763|    544|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 544]
  ------------------
 1764|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 1765|      0|        return NULL;
 1766|      0|    }
 1767|    544|    if (p->ptr && p->end) {
  ------------------
  |  Branch (1767:9): [True: 544, False: 0]
  |  Branch (1767:19): [True: 544, False: 0]
  ------------------
 1768|    544|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 544]
  ------------------
 1769|      0|            return NULL;
 1770|      0|        }
 1771|    544|    } else if (p->fp || p->readable) {
  ------------------
  |  Branch (1771:16): [True: 0, False: 0]
  |  Branch (1771:25): [True: 0, False: 0]
  ------------------
 1772|      0|        if (PySys_Audit("marshal.load", NULL) < 0) {
  ------------------
  |  Branch (1772:13): [True: 0, False: 0]
  ------------------
 1773|      0|            return NULL;
 1774|      0|        }
 1775|      0|    }
 1776|    544|    v = r_object(p);
 1777|    544|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (1777:9): [True: 0, False: 544]
  |  Branch (1777:22): [True: 0, False: 0]
  ------------------
 1778|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 1779|    544|    return v;
 1780|    544|}
marshal.c:r_object:
 1174|   546k|{
 1175|       |    /* NULL is a valid return value, it does not necessarily means that
 1176|       |       an exception is set. */
 1177|   546k|    PyObject *v, *v2;
 1178|   546k|    Py_ssize_t idx = 0;
 1179|   546k|    long i, n;
 1180|   546k|    int type, code = r_byte(p);
 1181|   546k|    int flag, is_interned = 0;
 1182|   546k|    PyObject *retval = NULL;
 1183|       |
 1184|   546k|    if (code == EOF) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 546k]
  ------------------
 1185|      0|        if (PyErr_ExceptionMatches(PyExc_EOFError)) {
  ------------------
  |  Branch (1185:13): [True: 0, False: 0]
  ------------------
 1186|      0|            PyErr_SetString(PyExc_EOFError,
 1187|      0|                            "EOF read where object expected");
 1188|      0|        }
 1189|      0|        return NULL;
 1190|      0|    }
 1191|       |
 1192|   546k|    p->depth++;
 1193|       |
 1194|   546k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|   546k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1194:9): [True: 0, False: 546k]
  ------------------
 1195|      0|        p->depth--;
 1196|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1197|      0|        return NULL;
 1198|      0|    }
 1199|       |
 1200|   546k|    flag = code & FLAG_REF;
  ------------------
  |  |  100|   546k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1201|   546k|    type = code & ~FLAG_REF;
  ------------------
  |  |  100|   546k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1202|       |
 1203|   546k|#define R_REF(O) do{\
 1204|   546k|    if (flag) \
 1205|   546k|        O = r_ref(O, flag, p);\
 1206|   546k|} while (0)
 1207|       |
 1208|   546k|    switch (type) {
 1209|       |
 1210|      0|    case TYPE_NULL:
  ------------------
  |  |   58|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1210:5): [True: 0, False: 546k]
  ------------------
 1211|      0|        break;
 1212|       |
 1213|  3.09k|    case TYPE_NONE:
  ------------------
  |  |   59|  3.09k|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1213:5): [True: 3.09k, False: 543k]
  ------------------
 1214|  3.09k|        retval = Py_None;
  ------------------
  |  |  616|  3.09k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1215|  3.09k|        break;
 1216|       |
 1217|      0|    case TYPE_STOPITER:
  ------------------
  |  |   62|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1217:5): [True: 0, False: 546k]
  ------------------
 1218|      0|        retval = Py_NewRef(PyExc_StopIteration);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1219|      0|        break;
 1220|       |
 1221|    152|    case TYPE_ELLIPSIS:
  ------------------
  |  |   63|    152|#define TYPE_ELLIPSIS           '.'
  ------------------
  |  Branch (1221:5): [True: 152, False: 546k]
  ------------------
 1222|    152|        retval = Py_Ellipsis;
  ------------------
  |  |   14|    152|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1223|    152|        break;
 1224|       |
 1225|    512|    case TYPE_FALSE:
  ------------------
  |  |   60|    512|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1225:5): [True: 512, False: 546k]
  ------------------
 1226|    512|        retval = Py_False;
  ------------------
  |  |   25|    512|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|    512|        break;
 1228|       |
 1229|    432|    case TYPE_TRUE:
  ------------------
  |  |   61|    432|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1229:5): [True: 432, False: 546k]
  ------------------
 1230|    432|        retval = Py_True;
  ------------------
  |  |   26|    432|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    432|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    432|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|    432|        break;
 1232|       |
 1233|  4.17k|    case TYPE_INT:
  ------------------
  |  |   90|  4.17k|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1233:5): [True: 4.17k, False: 542k]
  ------------------
 1234|  4.17k|        n = r_long(p);
 1235|  4.17k|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:13): [True: 54, False: 4.11k]
  |  Branch (1235:24): [True: 0, False: 54]
  ------------------
 1236|      0|            break;
 1237|      0|        }
 1238|  4.17k|        retval = PyLong_FromLong(n);
 1239|  4.17k|        R_REF(retval);
  ------------------
  |  | 1203|  4.17k|#define R_REF(O) do{\
  |  | 1204|  4.17k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 2.65k, False: 1.51k]
  |  |  ------------------
  |  | 1205|  4.17k|        O = r_ref(O, flag, p);\
  |  | 1206|  4.17k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 4.17k]
  |  |  ------------------
  ------------------
 1240|  4.17k|        break;
 1241|       |
 1242|      0|    case TYPE_INT64:
  ------------------
  |  |   96|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1242:5): [True: 0, False: 546k]
  ------------------
 1243|      0|        retval = r_long64(p);
 1244|      0|        R_REF(retval);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1245|      0|        break;
 1246|       |
 1247|    126|    case TYPE_LONG:
  ------------------
  |  |   66|    126|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1247:5): [True: 126, False: 546k]
  ------------------
 1248|    126|        retval = r_PyLong(p);
 1249|    126|        R_REF(retval);
  ------------------
  |  | 1203|    126|#define R_REF(O) do{\
  |  | 1204|    126|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 20, False: 106]
  |  |  ------------------
  |  | 1205|    126|        O = r_ref(O, flag, p);\
  |  | 1206|    126|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 126]
  |  |  ------------------
  ------------------
 1250|    126|        break;
 1251|       |
 1252|      0|    case TYPE_FLOAT:
  ------------------
  |  |   95|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1252:5): [True: 0, False: 546k]
  ------------------
 1253|      0|        {
 1254|      0|            double x = r_float_str(p);
 1255|      0|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1255:17): [True: 0, False: 0]
  |  Branch (1255:30): [True: 0, False: 0]
  ------------------
 1256|      0|                break;
 1257|      0|            retval = PyFloat_FromDouble(x);
 1258|      0|            R_REF(retval);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1259|      0|            break;
 1260|      0|        }
 1261|       |
 1262|    260|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   64|    260|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1262:5): [True: 260, False: 546k]
  ------------------
 1263|    260|        {
 1264|    260|            double x = r_float_bin(p);
 1265|    260|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1265:17): [True: 6, False: 254]
  |  Branch (1265:30): [True: 0, False: 6]
  ------------------
 1266|      0|                break;
 1267|    260|            retval = PyFloat_FromDouble(x);
 1268|    260|            R_REF(retval);
  ------------------
  |  | 1203|    260|#define R_REF(O) do{\
  |  | 1204|    260|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 62, False: 198]
  |  |  ------------------
  |  | 1205|    260|        O = r_ref(O, flag, p);\
  |  | 1206|    260|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 260]
  |  |  ------------------
  ------------------
 1269|    260|            break;
 1270|    260|        }
 1271|       |
 1272|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   94|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1272:5): [True: 0, False: 546k]
  ------------------
 1273|      0|        {
 1274|      0|            Py_complex c;
 1275|      0|            c.real = r_float_str(p);
 1276|      0|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1276:17): [True: 0, False: 0]
  |  Branch (1276:35): [True: 0, False: 0]
  ------------------
 1277|      0|                break;
 1278|      0|            c.imag = r_float_str(p);
 1279|      0|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1279:17): [True: 0, False: 0]
  |  Branch (1279:35): [True: 0, False: 0]
  ------------------
 1280|      0|                break;
 1281|      0|            retval = PyComplex_FromCComplex(c);
 1282|      0|            R_REF(retval);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1283|      0|            break;
 1284|      0|        }
 1285|       |
 1286|      2|    case TYPE_BINARY_COMPLEX:
  ------------------
  |  |   65|      2|#define TYPE_BINARY_COMPLEX     'y'  // Version 0 uses TYPE_COMPLEX instead.
  ------------------
  |  Branch (1286:5): [True: 2, False: 546k]
  ------------------
 1287|      2|        {
 1288|      2|            Py_complex c;
 1289|      2|            c.real = r_float_bin(p);
 1290|      2|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1290:17): [True: 0, False: 2]
  |  Branch (1290:35): [True: 0, False: 0]
  ------------------
 1291|      0|                break;
 1292|      2|            c.imag = r_float_bin(p);
 1293|      2|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1293:17): [True: 0, False: 2]
  |  Branch (1293:35): [True: 0, False: 0]
  ------------------
 1294|      0|                break;
 1295|      2|            retval = PyComplex_FromCComplex(c);
 1296|      2|            R_REF(retval);
  ------------------
  |  | 1203|      2|#define R_REF(O) do{\
  |  | 1204|      2|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1205|      2|        O = r_ref(O, flag, p);\
  |  | 1206|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1297|      2|            break;
 1298|      2|        }
 1299|       |
 1300|  70.8k|    case TYPE_STRING:
  ------------------
  |  |   67|  70.8k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1300:5): [True: 70.8k, False: 476k]
  ------------------
 1301|  70.8k|        {
 1302|  70.8k|            const char *ptr;
 1303|  70.8k|            n = r_long(p);
 1304|  70.8k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|  70.8k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1304:17): [True: 0, False: 70.8k]
  |  Branch (1304:26): [True: 0, False: 70.8k]
  ------------------
 1305|      0|                if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1305:21): [True: 0, False: 0]
  ------------------
 1306|      0|                    PyErr_SetString(PyExc_ValueError,
 1307|      0|                        "bad marshal data (bytes object size out of range)");
 1308|      0|                }
 1309|      0|                break;
 1310|      0|            }
 1311|  70.8k|            v = PyBytes_FromStringAndSize((char *)NULL, n);
 1312|  70.8k|            if (v == NULL)
  ------------------
  |  Branch (1312:17): [True: 0, False: 70.8k]
  ------------------
 1313|      0|                break;
 1314|  70.8k|            ptr = r_string(n, p);
 1315|  70.8k|            if (ptr == NULL) {
  ------------------
  |  Branch (1315:17): [True: 0, False: 70.8k]
  ------------------
 1316|      0|                Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|      0|                break;
 1318|      0|            }
 1319|  70.8k|            memcpy(PyBytes_AS_STRING(v), ptr, n);
  ------------------
  |  |   27|  70.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  70.8k|            retval = v;
 1321|  70.8k|            R_REF(retval);
  ------------------
  |  | 1203|  70.8k|#define R_REF(O) do{\
  |  | 1204|  70.8k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 24.6k, False: 46.1k]
  |  |  ------------------
  |  | 1205|  70.8k|        O = r_ref(O, flag, p);\
  |  | 1206|  70.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 70.8k]
  |  |  ------------------
  ------------------
 1322|  70.8k|            break;
 1323|  70.8k|        }
 1324|       |
 1325|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   85|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1325:5): [True: 0, False: 546k]
  ------------------
 1326|      0|        is_interned = 1;
 1327|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1328|  2.49k|    case TYPE_ASCII:
  ------------------
  |  |   84|  2.49k|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1328:5): [True: 2.49k, False: 544k]
  ------------------
 1329|  2.49k|        n = r_long(p);
 1330|  2.49k|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|  2.49k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1330:13): [True: 0, False: 2.49k]
  |  Branch (1330:22): [True: 0, False: 2.49k]
  ------------------
 1331|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1331:17): [True: 0, False: 0]
  ------------------
 1332|      0|                PyErr_SetString(PyExc_ValueError,
 1333|      0|                    "bad marshal data (string size out of range)");
 1334|      0|            }
 1335|      0|            break;
 1336|      0|        }
 1337|  2.49k|        goto _read_ascii;
 1338|       |
 1339|   109k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   87|   109k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1339:5): [True: 109k, False: 437k]
  ------------------
 1340|   109k|        is_interned = 1;
 1341|   109k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   109k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1342|   127k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   86|   127k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1342:5): [True: 18.6k, False: 528k]
  ------------------
 1343|   127k|        n = r_byte(p);
 1344|   127k|        if (n == EOF) {
  ------------------
  |  Branch (1344:13): [True: 0, False: 127k]
  ------------------
 1345|      0|            break;
 1346|      0|        }
 1347|   130k|    _read_ascii:
 1348|   130k|        {
 1349|   130k|            const char *ptr;
 1350|   130k|            ptr = r_string(n, p);
 1351|   130k|            if (ptr == NULL)
  ------------------
  |  Branch (1351:17): [True: 0, False: 130k]
  ------------------
 1352|      0|                break;
 1353|   130k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1354|   130k|            if (v == NULL)
  ------------------
  |  Branch (1354:17): [True: 0, False: 130k]
  ------------------
 1355|      0|                break;
 1356|   130k|            if (is_interned) {
  ------------------
  |  Branch (1356:17): [True: 109k, False: 21.1k]
  ------------------
 1357|       |                // marshal is meant to serialize .pyc files with code
 1358|       |                // objects, and code-related strings are currently immortal.
 1359|   109k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1360|   109k|                _PyUnicode_InternImmortal(interp, &v);
 1361|   109k|            }
 1362|   130k|            retval = v;
 1363|   130k|            R_REF(retval);
  ------------------
  |  | 1203|   130k|#define R_REF(O) do{\
  |  | 1204|   130k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 110k, False: 20.1k]
  |  |  ------------------
  |  | 1205|   130k|        O = r_ref(O, flag, p);\
  |  | 1206|   130k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 130k]
  |  |  ------------------
  ------------------
 1364|   130k|            break;
 1365|   130k|        }
 1366|       |
 1367|      2|    case TYPE_INTERNED:
  ------------------
  |  |   83|      2|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1367:5): [True: 2, False: 546k]
  ------------------
 1368|      2|        is_interned = 1;
 1369|      2|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      2|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1370|     86|    case TYPE_UNICODE:
  ------------------
  |  |   73|     86|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1370:5): [True: 84, False: 546k]
  ------------------
 1371|     86|        {
 1372|     86|        const char *buffer;
 1373|       |
 1374|     86|        n = r_long(p);
 1375|     86|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|     86|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1375:13): [True: 0, False: 86]
  |  Branch (1375:22): [True: 0, False: 86]
  ------------------
 1376|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1376:17): [True: 0, False: 0]
  ------------------
 1377|      0|                PyErr_SetString(PyExc_ValueError,
 1378|      0|                    "bad marshal data (string size out of range)");
 1379|      0|            }
 1380|      0|            break;
 1381|      0|        }
 1382|     86|        if (n != 0) {
  ------------------
  |  Branch (1382:13): [True: 86, False: 0]
  ------------------
 1383|     86|            buffer = r_string(n, p);
 1384|     86|            if (buffer == NULL)
  ------------------
  |  Branch (1384:17): [True: 0, False: 86]
  ------------------
 1385|      0|                break;
 1386|     86|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1387|     86|        }
 1388|      0|        else {
 1389|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1390|      0|        }
 1391|     86|        if (v == NULL)
  ------------------
  |  Branch (1391:13): [True: 0, False: 86]
  ------------------
 1392|      0|            break;
 1393|     86|        if (is_interned) {
  ------------------
  |  Branch (1393:13): [True: 2, False: 84]
  ------------------
 1394|       |            // marshal is meant to serialize .pyc files with code
 1395|       |            // objects, and code-related strings are currently immortal.
 1396|      2|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1397|      2|            _PyUnicode_InternImmortal(interp, &v);
 1398|      2|        }
 1399|     86|        retval = v;
 1400|     86|        R_REF(retval);
  ------------------
  |  | 1203|     86|#define R_REF(O) do{\
  |  | 1204|     86|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 2, False: 84]
  |  |  ------------------
  |  | 1205|     86|        O = r_ref(O, flag, p);\
  |  | 1206|     86|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 86]
  |  |  ------------------
  ------------------
 1401|     86|        break;
 1402|     86|        }
 1403|       |
 1404|  57.6k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   91|  57.6k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1404:5): [True: 57.6k, False: 489k]
  ------------------
 1405|  57.6k|        n = r_byte(p);
 1406|  57.6k|        if (n == EOF) {
  ------------------
  |  Branch (1406:13): [True: 0, False: 57.6k]
  ------------------
 1407|      0|            break;
 1408|      0|        }
 1409|  57.6k|        goto _read_tuple;
 1410|  57.6k|    case TYPE_TUPLE:
  ------------------
  |  |   68|     12|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1410:5): [True: 12, False: 546k]
  ------------------
 1411|     12|        n = r_long(p);
 1412|     12|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|     12|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1412:13): [True: 0, False: 12]
  |  Branch (1412:22): [True: 0, False: 12]
  ------------------
 1413|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1413:17): [True: 0, False: 0]
  ------------------
 1414|      0|                PyErr_SetString(PyExc_ValueError,
 1415|      0|                    "bad marshal data (tuple size out of range)");
 1416|      0|            }
 1417|      0|            break;
 1418|      0|        }
 1419|  57.6k|    _read_tuple:
 1420|  57.6k|        v = PyTuple_New(n);
 1421|  57.6k|        R_REF(v);
  ------------------
  |  | 1203|  57.6k|#define R_REF(O) do{\
  |  | 1204|  57.6k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 5.85k, False: 51.8k]
  |  |  ------------------
  |  | 1205|  57.6k|        O = r_ref(O, flag, p);\
  |  | 1206|  57.6k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 57.6k]
  |  |  ------------------
  ------------------
 1422|  57.6k|        if (v == NULL)
  ------------------
  |  Branch (1422:13): [True: 0, False: 57.6k]
  ------------------
 1423|      0|            break;
 1424|       |
 1425|   373k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1425:21): [True: 315k, False: 57.6k]
  ------------------
 1426|   315k|            v2 = r_object(p);
 1427|   315k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1427:18): [True: 0, False: 315k]
  ------------------
 1428|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1428:21): [True: 0, False: 0]
  ------------------
 1429|      0|                    PyErr_SetString(PyExc_TypeError,
 1430|      0|                        "NULL object in marshal data for tuple");
 1431|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1432|      0|                break;
 1433|      0|            }
 1434|   315k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|   315k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   315k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   315k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   315k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   315k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|   315k|        }
 1436|  57.6k|        retval = v;
 1437|  57.6k|        break;
 1438|       |
 1439|      0|    case TYPE_LIST:
  ------------------
  |  |   69|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1439:5): [True: 0, False: 546k]
  ------------------
 1440|      0|        n = r_long(p);
 1441|      0|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|      0|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1441:13): [True: 0, False: 0]
  |  Branch (1441:22): [True: 0, False: 0]
  ------------------
 1442|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1442:17): [True: 0, False: 0]
  ------------------
 1443|      0|                PyErr_SetString(PyExc_ValueError,
 1444|      0|                    "bad marshal data (list size out of range)");
 1445|      0|            }
 1446|      0|            break;
 1447|      0|        }
 1448|      0|        v = PyList_New(n);
 1449|      0|        R_REF(v);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1450|      0|        if (v == NULL)
  ------------------
  |  Branch (1450:13): [True: 0, False: 0]
  ------------------
 1451|      0|            break;
 1452|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1452:21): [True: 0, False: 0]
  ------------------
 1453|      0|            v2 = r_object(p);
 1454|      0|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1454:18): [True: 0, False: 0]
  ------------------
 1455|      0|                if (!PyErr_Occurred())
  ------------------
  |  Branch (1455:21): [True: 0, False: 0]
  ------------------
 1456|      0|                    PyErr_SetString(PyExc_TypeError,
 1457|      0|                        "NULL object in marshal data for list");
 1458|      0|                Py_SETREF(v, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1459|      0|                break;
 1460|      0|            }
 1461|      0|            PyList_SET_ITEM(v, i, v2);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1462|      0|        }
 1463|      0|        retval = v;
 1464|      0|        break;
 1465|       |
 1466|      0|    case TYPE_DICT:
  ------------------
  |  |   70|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1466:5): [True: 0, False: 546k]
  ------------------
 1467|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1467:5): [True: 0, False: 546k]
  ------------------
 1468|      0|        v = PyDict_New();
 1469|      0|        if (v == NULL) {
  ------------------
  |  Branch (1469:13): [True: 0, False: 0]
  ------------------
 1470|      0|            break;
 1471|      0|        }
 1472|      0|        if (type == TYPE_DICT) {
  ------------------
  |  |   70|      0|#define TYPE_DICT               '{'
  ------------------
  |  Branch (1472:13): [True: 0, False: 0]
  ------------------
 1473|      0|            R_REF(v);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1474|      0|        }
 1475|      0|        else {
 1476|      0|            idx = r_ref_reserve(flag, p);
 1477|      0|            if (idx < 0) {
  ------------------
  |  Branch (1477:17): [True: 0, False: 0]
  ------------------
 1478|      0|                Py_CLEAR(v);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1479|      0|                break;
 1480|      0|            }
 1481|      0|        }
 1482|      0|        for (;;) {
 1483|      0|            PyObject *key, *val;
 1484|      0|            key = r_object(p);
 1485|      0|            if (key == NULL)
  ------------------
  |  Branch (1485:17): [True: 0, False: 0]
  ------------------
 1486|      0|                break;
 1487|      0|            val = r_object(p);
 1488|      0|            if (val == NULL) {
  ------------------
  |  Branch (1488:17): [True: 0, False: 0]
  ------------------
 1489|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|      0|                break;
 1491|      0|            }
 1492|      0|            if (PyDict_SetItem(v, key, val) < 0) {
  ------------------
  |  Branch (1492:17): [True: 0, False: 0]
  ------------------
 1493|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1494|      0|                Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|      0|                break;
 1496|      0|            }
 1497|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|      0|            Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      0|        }
 1500|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1500:13): [True: 0, False: 0]
  ------------------
 1501|      0|            Py_CLEAR(v);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1502|      0|        }
 1503|      0|        if (type == TYPE_FROZENDICT && v != NULL) {
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1503:13): [True: 0, False: 0]
  |  Branch (1503:40): [True: 0, False: 0]
  ------------------
 1504|      0|            Py_SETREF(v, PyFrozenDict_New(v));
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1505|      0|        }
 1506|      0|        retval = v;
 1507|      0|        break;
 1508|       |
 1509|      0|    case TYPE_SET:
  ------------------
  |  |   76|      0|#define TYPE_SET                '<'
  ------------------
  |  Branch (1509:5): [True: 0, False: 546k]
  ------------------
 1510|    116|    case TYPE_FROZENSET:
  ------------------
  |  |   77|    116|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1510:5): [True: 116, False: 546k]
  ------------------
 1511|    116|        n = r_long(p);
 1512|    116|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|    116|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1512:13): [True: 0, False: 116]
  |  Branch (1512:22): [True: 0, False: 116]
  ------------------
 1513|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1513:17): [True: 0, False: 0]
  ------------------
 1514|      0|                PyErr_SetString(PyExc_ValueError,
 1515|      0|                    "bad marshal data (set size out of range)");
 1516|      0|            }
 1517|      0|            break;
 1518|      0|        }
 1519|       |
 1520|    116|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   77|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1520:13): [True: 0, False: 116]
  |  Branch (1520:23): [True: 0, False: 0]
  ------------------
 1521|       |            /* call frozenset() to get the empty frozenset singleton */
 1522|      0|            v = _PyObject_CallNoArgs((PyObject*)&PyFrozenSet_Type);
 1523|      0|            if (v == NULL)
  ------------------
  |  Branch (1523:17): [True: 0, False: 0]
  ------------------
 1524|      0|                break;
 1525|      0|            R_REF(v);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1526|      0|            retval = v;
 1527|      0|        }
 1528|    116|        else {
 1529|    116|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   76|    116|#define TYPE_SET                '<'
  ------------------
  |  Branch (1529:17): [True: 0, False: 116]
  ------------------
 1530|    116|            if (type == TYPE_SET) {
  ------------------
  |  |   76|    116|#define TYPE_SET                '<'
  ------------------
  |  Branch (1530:17): [True: 0, False: 116]
  ------------------
 1531|      0|                R_REF(v);
  ------------------
  |  | 1203|      0|#define R_REF(O) do{\
  |  | 1204|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1205|      0|        O = r_ref(O, flag, p);\
  |  | 1206|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1532|    116|            } else {
 1533|       |                /* must use delayed registration of frozensets because they must
 1534|       |                 * be init with a refcount of 1
 1535|       |                 */
 1536|    116|                idx = r_ref_reserve(flag, p);
 1537|    116|                if (idx < 0)
  ------------------
  |  Branch (1537:21): [True: 0, False: 116]
  ------------------
 1538|      0|                    Py_CLEAR(v); /* signal error */
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1539|    116|            }
 1540|    116|            if (v == NULL)
  ------------------
  |  Branch (1540:17): [True: 0, False: 116]
  ------------------
 1541|      0|                break;
 1542|       |
 1543|    602|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1543:25): [True: 486, False: 116]
  ------------------
 1544|    486|                v2 = r_object(p);
 1545|    486|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1545:22): [True: 0, False: 486]
  ------------------
 1546|      0|                    if (!PyErr_Occurred())
  ------------------
  |  Branch (1546:25): [True: 0, False: 0]
  ------------------
 1547|      0|                        PyErr_SetString(PyExc_TypeError,
 1548|      0|                            "NULL object in marshal data for set");
 1549|      0|                    Py_SETREF(v, NULL);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1550|      0|                    break;
 1551|      0|                }
 1552|    486|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (1552:21): [True: 0, False: 486]
  ------------------
 1553|      0|                    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1554|      0|                    Py_DECREF(v2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1555|      0|                    v = NULL;
 1556|      0|                    break;
 1557|      0|                }
 1558|    486|                Py_DECREF(v2);
  ------------------
  |  |  430|    486|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    486|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    486|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|    486|            }
 1560|    116|            if (type != TYPE_SET)
  ------------------
  |  |   76|    116|#define TYPE_SET                '<'
  ------------------
  |  Branch (1560:17): [True: 116, False: 0]
  ------------------
 1561|    116|                v = r_ref_insert(v, idx, flag, p);
 1562|    116|            retval = v;
 1563|    116|        }
 1564|    116|        break;
 1565|       |
 1566|  22.8k|    case TYPE_CODE:
  ------------------
  |  |   72|  22.8k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (1566:5): [True: 22.8k, False: 524k]
  ------------------
 1567|  22.8k|        {
 1568|  22.8k|            int argcount;
 1569|  22.8k|            int posonlyargcount;
 1570|  22.8k|            int kwonlyargcount;
 1571|  22.8k|            int stacksize;
 1572|  22.8k|            int flags;
 1573|  22.8k|            PyObject *code = NULL;
 1574|  22.8k|            PyObject *consts = NULL;
 1575|  22.8k|            PyObject *names = NULL;
 1576|  22.8k|            PyObject *localsplusnames = NULL;
 1577|  22.8k|            PyObject *localspluskinds = NULL;
 1578|  22.8k|            PyObject *filename = NULL;
 1579|  22.8k|            PyObject *name = NULL;
 1580|  22.8k|            PyObject *qualname = NULL;
 1581|  22.8k|            int firstlineno;
 1582|  22.8k|            PyObject* linetable = NULL;
 1583|  22.8k|            PyObject *exceptiontable = NULL;
 1584|       |
 1585|  22.8k|            if (!p->allow_code) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 22.8k]
  ------------------
 1586|      0|                PyErr_SetString(PyExc_ValueError,
 1587|      0|                                "unmarshalling code objects is disallowed");
 1588|      0|                break;
 1589|      0|            }
 1590|  22.8k|            idx = r_ref_reserve(flag, p);
 1591|  22.8k|            if (idx < 0)
  ------------------
  |  Branch (1591:17): [True: 0, False: 22.8k]
  ------------------
 1592|      0|                break;
 1593|       |
 1594|  22.8k|            v = NULL;
 1595|       |
 1596|       |            /* XXX ignore long->int overflows for now */
 1597|  22.8k|            argcount = (int)r_long(p);
 1598|  22.8k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1598:17): [True: 0, False: 22.8k]
  |  Branch (1598:35): [True: 0, False: 0]
  ------------------
 1599|      0|                goto code_error;
 1600|  22.8k|            posonlyargcount = (int)r_long(p);
 1601|  22.8k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1601:17): [True: 0, False: 22.8k]
  |  Branch (1601:42): [True: 0, False: 0]
  ------------------
 1602|      0|                goto code_error;
 1603|      0|            }
 1604|  22.8k|            kwonlyargcount = (int)r_long(p);
 1605|  22.8k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1605:17): [True: 0, False: 22.8k]
  |  Branch (1605:41): [True: 0, False: 0]
  ------------------
 1606|      0|                goto code_error;
 1607|  22.8k|            stacksize = (int)r_long(p);
 1608|  22.8k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1608:17): [True: 0, False: 22.8k]
  |  Branch (1608:36): [True: 0, False: 0]
  ------------------
 1609|      0|                goto code_error;
 1610|  22.8k|            flags = (int)r_long(p);
 1611|  22.8k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1611:17): [True: 0, False: 22.8k]
  |  Branch (1611:32): [True: 0, False: 0]
  ------------------
 1612|      0|                goto code_error;
 1613|  22.8k|            code = r_object(p);
 1614|  22.8k|            if (code == NULL)
  ------------------
  |  Branch (1614:17): [True: 0, False: 22.8k]
  ------------------
 1615|      0|                goto code_error;
 1616|  22.8k|            consts = r_object(p);
 1617|  22.8k|            if (consts == NULL)
  ------------------
  |  Branch (1617:17): [True: 0, False: 22.8k]
  ------------------
 1618|      0|                goto code_error;
 1619|  22.8k|            names = r_object(p);
 1620|  22.8k|            if (names == NULL)
  ------------------
  |  Branch (1620:17): [True: 0, False: 22.8k]
  ------------------
 1621|      0|                goto code_error;
 1622|  22.8k|            localsplusnames = r_object(p);
 1623|  22.8k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (1623:17): [True: 0, False: 22.8k]
  ------------------
 1624|      0|                goto code_error;
 1625|  22.8k|            localspluskinds = r_object(p);
 1626|  22.8k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (1626:17): [True: 0, False: 22.8k]
  ------------------
 1627|      0|                goto code_error;
 1628|  22.8k|            filename = r_object(p);
 1629|  22.8k|            if (filename == NULL)
  ------------------
  |  Branch (1629:17): [True: 0, False: 22.8k]
  ------------------
 1630|      0|                goto code_error;
 1631|  22.8k|            name = r_object(p);
 1632|  22.8k|            if (name == NULL)
  ------------------
  |  Branch (1632:17): [True: 0, False: 22.8k]
  ------------------
 1633|      0|                goto code_error;
 1634|  22.8k|            qualname = r_object(p);
 1635|  22.8k|            if (qualname == NULL)
  ------------------
  |  Branch (1635:17): [True: 0, False: 22.8k]
  ------------------
 1636|      0|                goto code_error;
 1637|  22.8k|            firstlineno = (int)r_long(p);
 1638|  22.8k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1638:17): [True: 0, False: 22.8k]
  |  Branch (1638:38): [True: 0, False: 0]
  ------------------
 1639|      0|                goto code_error;
 1640|  22.8k|            linetable = r_object(p);
 1641|  22.8k|            if (linetable == NULL)
  ------------------
  |  Branch (1641:17): [True: 0, False: 22.8k]
  ------------------
 1642|      0|                goto code_error;
 1643|  22.8k|            exceptiontable = r_object(p);
 1644|  22.8k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (1644:17): [True: 0, False: 22.8k]
  ------------------
 1645|      0|                goto code_error;
 1646|       |
 1647|  22.8k|            struct _PyCodeConstructor con = {
 1648|  22.8k|                .filename = filename,
 1649|  22.8k|                .name = name,
 1650|  22.8k|                .qualname = qualname,
 1651|  22.8k|                .flags = flags,
 1652|       |
 1653|  22.8k|                .code = code,
 1654|  22.8k|                .firstlineno = firstlineno,
 1655|  22.8k|                .linetable = linetable,
 1656|       |
 1657|  22.8k|                .consts = consts,
 1658|  22.8k|                .names = names,
 1659|       |
 1660|  22.8k|                .localsplusnames = localsplusnames,
 1661|  22.8k|                .localspluskinds = localspluskinds,
 1662|       |
 1663|  22.8k|                .argcount = argcount,
 1664|  22.8k|                .posonlyargcount = posonlyargcount,
 1665|  22.8k|                .kwonlyargcount = kwonlyargcount,
 1666|       |
 1667|  22.8k|                .stacksize = stacksize,
 1668|       |
 1669|  22.8k|                .exceptiontable = exceptiontable,
 1670|  22.8k|            };
 1671|       |
 1672|  22.8k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (1672:17): [True: 0, False: 22.8k]
  ------------------
 1673|      0|                goto code_error;
 1674|      0|            }
 1675|       |
 1676|  22.8k|            v = (PyObject *)_PyCode_New(&con);
 1677|  22.8k|            if (v == NULL) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 22.8k]
  ------------------
 1678|      0|                goto code_error;
 1679|      0|            }
 1680|       |
 1681|  22.8k|            v = r_ref_insert(v, idx, flag, p);
 1682|       |
 1683|  22.8k|          code_error:
 1684|  22.8k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 22.8k]
  |  Branch (1684:30): [True: 0, False: 0]
  ------------------
 1685|      0|                PyErr_SetString(PyExc_TypeError,
 1686|      0|                    "NULL object in marshal data for code object");
 1687|      0|            }
 1688|  22.8k|            Py_XDECREF(code);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|  22.8k|            Py_XDECREF(consts);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|  22.8k|            Py_XDECREF(names);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1691|  22.8k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|  22.8k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|  22.8k|            Py_XDECREF(filename);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|  22.8k|            Py_XDECREF(name);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|  22.8k|            Py_XDECREF(qualname);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|  22.8k|            Py_XDECREF(linetable);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|  22.8k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  524|  22.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  22.8k|        }
 1699|      0|        retval = v;
 1700|  22.8k|        break;
 1701|       |
 1702|   255k|    case TYPE_REF:
  ------------------
  |  |   99|   255k|#define TYPE_REF                'r'
  ------------------
  |  Branch (1702:5): [True: 255k, False: 291k]
  ------------------
 1703|   255k|        n = r_long(p);
 1704|   255k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|   255k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1704:13): [True: 0, False: 255k]
  |  Branch (1704:22): [True: 0, False: 255k]
  ------------------
 1705|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1705:17): [True: 0, False: 0]
  ------------------
 1706|      0|                PyErr_SetString(PyExc_ValueError,
 1707|      0|                    "bad marshal data (invalid reference)");
 1708|      0|            }
 1709|      0|            break;
 1710|      0|        }
 1711|   255k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|   255k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   255k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|   255k|        if (v == Py_None) {
  ------------------
  |  |  616|   255k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1712:13): [True: 0, False: 255k]
  ------------------
 1713|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 1714|      0|            break;
 1715|      0|        }
 1716|   255k|        retval = Py_NewRef(v);
  ------------------
  |  |  550|   255k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|   255k|        break;
 1718|       |
 1719|    480|    case TYPE_SLICE:
  ------------------
  |  |   79|    480|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (1719:5): [True: 480, False: 546k]
  ------------------
 1720|    480|    {
 1721|    480|        Py_ssize_t idx = r_ref_reserve(flag, p);
 1722|    480|        if (idx < 0) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 480]
  ------------------
 1723|      0|            break;
 1724|      0|        }
 1725|    480|        PyObject *stop = NULL;
 1726|    480|        PyObject *step = NULL;
 1727|    480|        PyObject *start = r_object(p);
 1728|    480|        if (start == NULL) {
  ------------------
  |  Branch (1728:13): [True: 0, False: 480]
  ------------------
 1729|      0|            goto cleanup;
 1730|      0|        }
 1731|    480|        stop = r_object(p);
 1732|    480|        if (stop == NULL) {
  ------------------
  |  Branch (1732:13): [True: 0, False: 480]
  ------------------
 1733|      0|            goto cleanup;
 1734|      0|        }
 1735|    480|        step = r_object(p);
 1736|    480|        if (step == NULL) {
  ------------------
  |  Branch (1736:13): [True: 0, False: 480]
  ------------------
 1737|      0|            goto cleanup;
 1738|      0|        }
 1739|    480|        retval = PySlice_New(start, stop, step);
 1740|    480|        r_ref_insert(retval, idx, flag, p);
 1741|    480|    cleanup:
 1742|    480|        Py_XDECREF(start);
  ------------------
  |  |  524|    480|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|    480|        Py_XDECREF(stop);
  ------------------
  |  |  524|    480|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|    480|        Py_XDECREF(step);
  ------------------
  |  |  524|    480|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|    480|        break;
 1746|    480|    }
 1747|       |
 1748|      0|    default:
  ------------------
  |  Branch (1748:5): [True: 0, False: 546k]
  ------------------
 1749|       |        /* Bogus data got written, which isn't ideal.
 1750|       |           This will let you keep working and recover. */
 1751|      0|        PyErr_SetString(PyExc_ValueError, "bad marshal data (unknown type code)");
 1752|      0|        break;
 1753|       |
 1754|   546k|    }
 1755|   546k|    p->depth--;
 1756|   546k|    return retval;
 1757|   546k|}
marshal.c:r_byte:
  910|   732k|{
  911|   732k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (911:9): [True: 732k, False: 0]
  ------------------
  912|   732k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (912:13): [True: 732k, False: 0]
  ------------------
  913|   732k|            return (unsigned char) *p->ptr++;
  914|   732k|        }
  915|   732k|    }
  916|      0|    else if (!p->readable) {
  ------------------
  |  Branch (916:14): [True: 0, False: 0]
  ------------------
  917|      0|        assert(p->fp);
  918|      0|        int c = getc(p->fp);
  919|      0|        if (c != EOF) {
  ------------------
  |  Branch (919:13): [True: 0, False: 0]
  ------------------
  920|      0|            return c;
  921|      0|        }
  922|      0|    }
  923|      0|    else {
  924|      0|        const char *ptr = r_string(1, p);
  925|      0|        if (ptr != NULL) {
  ------------------
  |  Branch (925:13): [True: 0, False: 0]
  ------------------
  926|      0|            return *(const unsigned char *) ptr;
  927|      0|        }
  928|      0|        return EOF;
  929|      0|    }
  930|      0|    PyErr_SetString(PyExc_EOFError,
  931|      0|                    "EOF read where not expected");
  932|       |    return EOF;
  933|   732k|}
marshal.c:r_ref:
 1161|   143k|{
 1162|   143k|    assert(flag & FLAG_REF);
 1163|   143k|    if (o == NULL)
  ------------------
  |  Branch (1163:9): [True: 0, False: 143k]
  ------------------
 1164|      0|        return NULL;
 1165|   143k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 143k]
  ------------------
 1166|      0|        Py_DECREF(o); /* release the new object */
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|      0|        return NULL;
 1168|      0|    }
 1169|   143k|    return o;
 1170|   143k|}
marshal.c:r_PyLong:
 1038|    126|{
 1039|    126|    long n = r_long(p);
 1040|    126|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1040:9): [True: 0, False: 126]
  |  Branch (1040:20): [True: 0, False: 0]
  ------------------
 1041|      0|        return NULL;
 1042|      0|    }
 1043|    126|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|    252|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|    126|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1043:9): [True: 0, False: 126]
  |  Branch (1043:28): [True: 0, False: 126]
  ------------------
 1044|      0|        PyErr_SetString(PyExc_ValueError,
 1045|      0|                       "bad marshal data (long size out of range)");
 1046|      0|        return NULL;
 1047|      0|    }
 1048|       |
 1049|    126|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1050|    126|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  245|    126|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1051|       |
 1052|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1053|    126|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
 1054|    126|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
 1055|       |
 1056|       |    /* other assumptions on PyLongObject internals */
 1057|    126|    assert(layout->bits_per_digit <= 32);
 1058|    126|    assert(layout->digits_order == -1);
 1059|    126|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
 1060|    126|    assert(layout->digit_size == 2 || layout->digit_size == 4);
 1061|       |
 1062|    126|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  118|    126|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 4, False: 122]
  |  |  ------------------
  ------------------
 1063|       |
 1064|    126|    assert(size >= 1);
 1065|       |
 1066|    126|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  118|    126|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 4, False: 122]
  |  |  ------------------
  ------------------
 1067|    126|    void *digits;
 1068|    126|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1069|       |
 1070|    126|    if (writer == NULL) {
  ------------------
  |  Branch (1070:9): [True: 0, False: 126]
  ------------------
 1071|      0|        return NULL;
 1072|      0|    }
 1073|       |
 1074|    126|    int ret;
 1075|       |
 1076|    126|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1076:9): [True: 126, False: 0]
  ------------------
 1077|    126|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1078|    126|    }
 1079|      0|    else {
 1080|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1081|      0|    }
 1082|    126|    if (ret < 0) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 126]
  ------------------
 1083|      0|        PyLongWriter_Discard(writer);
 1084|      0|        return NULL;
 1085|      0|    }
 1086|    126|    return PyLongWriter_Finish(writer);
 1087|    126|}
marshal.c:r_float_bin:
 1091|    264|{
 1092|    264|    const char *buf = r_string(8, p);
 1093|    264|    if (buf == NULL)
  ------------------
  |  Branch (1093:9): [True: 0, False: 264]
  ------------------
 1094|      0|        return -1;
 1095|    264|    return PyFloat_Unpack8(buf, 1);
 1096|    264|}
marshal.c:r_ref_reserve:
 1122|  23.4k|{
 1123|  23.4k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1123:9): [True: 436, False: 23.0k]
  ------------------
 1124|    436|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|    436|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|    436|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1125:13): [True: 0, False: 436]
  ------------------
 1126|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1127|      0|            return -1;
 1128|      0|        }
 1129|    436|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|    436|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1129:13): [True: 0, False: 436]
  ------------------
 1130|      0|            return -1;
 1131|    436|        return idx;
 1132|    436|    } else
 1133|  23.0k|        return 0;
 1134|  23.4k|}
marshal.c:r_ref_insert:
 1146|  23.4k|{
 1147|  23.4k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1147:9): [True: 23.4k, False: 0]
  |  Branch (1147:22): [True: 436, False: 23.0k]
  ------------------
 1148|    436|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|    436|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    436|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|    436|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|    436|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1150|    436|        Py_DECREF(tmp);
  ------------------
  |  |  430|    436|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    436|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|    436|    }
 1152|  23.4k|    return o;
 1153|  23.4k|}
marshal.c:marshal_loads_impl:
 2107|    502|{
 2108|    502|    RFILE rf;
 2109|    502|    char *s = bytes->buf;
 2110|    502|    Py_ssize_t n = bytes->len;
 2111|    502|    PyObject* result;
 2112|    502|    rf.allow_code = allow_code;
 2113|    502|    rf.fp = NULL;
 2114|    502|    rf.readable = NULL;
 2115|    502|    rf.ptr = s;
 2116|    502|    rf.end = s + n;
 2117|    502|    rf.depth = 0;
 2118|    502|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2118:9): [True: 0, False: 502]
  ------------------
 2119|      0|        return NULL;
 2120|    502|    result = read_object(&rf);
 2121|    502|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|    502|    return result;
 2123|    502|}
marshal.c:marshal_module_exec:
 2166|      2|{
 2167|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2167:9): [True: 0, False: 2]
  ------------------
 2168|      0|        return -1;
 2169|      0|    }
 2170|      2|    return 0;
 2171|      2|}

_Py_convert_optional_to_ssize_t:
   16|     72|{
   17|     72|    Py_ssize_t limit;
   18|     72|    if (obj == Py_None) {
  ------------------
  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (18:9): [True: 0, False: 72]
  ------------------
   19|      0|        return 1;
   20|      0|    }
   21|     72|    else if (_PyIndex_Check(obj)) {
  ------------------
  |  Branch (21:14): [True: 72, False: 0]
  ------------------
   22|     72|        limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError);
   23|     72|        if (limit == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (23:13): [True: 4, False: 68]
  |  Branch (23:28): [True: 0, False: 4]
  ------------------
   24|      0|            return 0;
   25|      0|        }
   26|     72|    }
   27|      0|    else {
   28|      0|        PyErr_Format(PyExc_TypeError,
   29|      0|                     "argument should be integer or None, not '%.200s'",
   30|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|      0|        return 0;
   32|      0|    }
   33|     72|    *((Py_ssize_t *)result) = limit;
   34|     72|    return 1;
   35|     72|}
Py_BuildValue:
  497|   169k|{
  498|   169k|    va_list va;
  499|   169k|    PyObject* retval;
  500|   169k|    va_start(va, format);
  501|   169k|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|   169k|    return retval;
  504|   169k|}
_Py_VaBuildStack:
  555|  7.80k|{
  556|  7.80k|    const char *f;
  557|  7.80k|    Py_ssize_t n;
  558|  7.80k|    va_list lva;
  559|  7.80k|    PyObject **stack;
  560|  7.80k|    int res;
  561|       |
  562|  7.80k|    n = countformat(format, '\0');
  563|  7.80k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 7.80k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|  7.80k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 7.80k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|  7.80k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 7.79k, False: 12]
  ------------------
  574|  7.79k|        stack = small_stack;
  575|  7.79k|    }
  576|     12|    else {
  577|     12|        stack = PyMem_Malloc(n * sizeof(stack[0]));
  578|     12|        if (stack == NULL) {
  ------------------
  |  Branch (578:13): [True: 0, False: 12]
  ------------------
  579|      0|            PyErr_NoMemory();
  580|      0|            return NULL;
  581|      0|        }
  582|     12|    }
  583|       |
  584|  7.80k|    va_copy(lva, va);
  585|  7.80k|    f = format;
  586|  7.80k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|  7.80k|    va_end(lva);
  588|       |
  589|  7.80k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 7.80k]
  ------------------
  590|      0|        if (stack != small_stack) {
  ------------------
  |  Branch (590:13): [True: 0, False: 0]
  ------------------
  591|      0|            PyMem_Free(stack);
  592|      0|        }
  593|      0|        return NULL;
  594|      0|    }
  595|       |
  596|  7.80k|    *p_nargs = n;
  597|  7.80k|    return stack;
  598|  7.80k|}
PyModule_AddObjectRef:
  603|  2.71k|{
  604|  2.71k|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|  2.71k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  2.71k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 2.71k]
  ------------------
  605|      0|        PyErr_SetString(PyExc_TypeError,
  606|      0|                        "PyModule_AddObjectRef() first argument "
  607|      0|                        "must be a module");
  608|      0|        return -1;
  609|      0|    }
  610|  2.71k|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 2.71k]
  ------------------
  611|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (611:13): [True: 0, False: 0]
  ------------------
  612|      0|            PyErr_SetString(PyExc_SystemError,
  613|      0|                            "PyModule_AddObjectRef() must be called "
  614|      0|                            "with an exception raised if value is NULL");
  615|      0|        }
  616|      0|        return -1;
  617|      0|    }
  618|       |
  619|  2.71k|    PyObject *dict = PyModule_GetDict(mod);
  620|  2.71k|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 2.71k]
  ------------------
  621|       |        /* Internal error -- modules must have a dict! */
  622|      0|        PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
  623|      0|                     PyModule_GetName(mod));
  624|      0|        return -1;
  625|      0|    }
  626|  2.71k|    return PyDict_SetItemString(dict, name, value);
  627|  2.71k|}
PyModule_Add:
  631|  2.08k|{
  632|  2.08k|    int res = PyModule_AddObjectRef(mod, name, value);
  633|  2.08k|    Py_XDECREF(value);
  ------------------
  |  |  524|  2.08k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.08k|    return res;
  635|  2.08k|}
PyModule_AddIntConstant:
  649|  1.89k|{
  650|  1.89k|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|  1.89k|}
PyModule_AddStringConstant:
  655|      8|{
  656|      8|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      8|}
PyModule_AddType:
  661|    168|{
  662|    168|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 168]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|    168|    const char *name = _PyType_Name(type);
  667|    168|    assert(name != NULL);
  668|       |
  669|    168|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|    168|}
PyABIInfo_Check:
  707|    104|{
  708|    104|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 104]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|    104|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 104]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|    104|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 104]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|    104|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|    104|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 104, False: 0]
  ------------------
  722|    104|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|    104|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|    104|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|    104|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|    104|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|    104|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|    104|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|    104|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|    104|    PY_MAJOR_VERSION,                         \
  |  |   45|    104|    PY_MINOR_VERSION,                         \
  |  |   46|    104|    PY_MICRO_VERSION,                         \
  |  |   47|    104|    PY_RELEASE_LEVEL,                         \
  |  |   48|    104|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 104, False: 0]
  |  Branch (722:34): [True: 0, False: 104]
  ------------------
  723|      0|            return _abiinfo_raise(
  724|      0|                module_name,
  725|      0|                "incompatible internal ABI (0x%x != 0x%x)",
  726|      0|                info->abi_version, PY_VERSION_HEX);
  ------------------
  |  |   43|      0|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      0|    PY_MAJOR_VERSION,                         \
  |  |   45|      0|    PY_MINOR_VERSION,                         \
  |  |   46|      0|    PY_MICRO_VERSION,                         \
  |  |   47|      0|    PY_RELEASE_LEVEL,                         \
  |  |   48|      0|    PY_RELEASE_SERIAL)
  ------------------
  727|      0|        }
  728|    104|    }
  729|       |
  730|    104|#define XY_MASK 0xffff0000
  731|    104|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|    104|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 104]
  ------------------
  732|       |        /* Greater-than major.minor version check */
  733|      0|        if (info->abi_version) {
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  ------------------
  734|      0|            if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|      0|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      0|    PY_MAJOR_VERSION,                         \
  |  |   45|      0|    PY_MINOR_VERSION,                         \
  |  |   46|      0|    PY_MICRO_VERSION,                         \
  |  |   47|      0|    PY_RELEASE_LEVEL,                         \
  |  |   48|      0|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (734:17): [True: 0, False: 0]
  ------------------
  735|      0|                return _abiinfo_raise(
  736|      0|                    module_name,
  737|      0|                    "incompatible future stable ABI version (%d.%d)",
  738|      0|                    ((info->abi_version) >> 24) & 0xff,
  739|      0|                    ((info->abi_version) >> 16) & 0xff);
  740|      0|            }
  741|      0|            if (info->abi_version < Py_PACK_VERSION(3, 2)) {
  ------------------
  |  |  290|      0|#define Py_PACK_VERSION _Py_PACK_VERSION
  |  |  ------------------
  |  |  |  |  285|      0|#define _Py_PACK_VERSION(X, Y) _Py_PACK_FULL_VERSION(X, Y, 0, 0, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (741:17): [True: 0, False: 0]
  ------------------
  742|      0|                return _abiinfo_raise(
  743|      0|                    module_name,
  744|      0|                    "invalid stable ABI version (%d.%d)",
  745|      0|                    ((info->abi_version) >> 24) & 0xff,
  746|      0|                    ((info->abi_version) >> 16) & 0xff);
  747|      0|            }
  748|      0|        }
  749|      0|        if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|      0|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (749:13): [True: 0, False: 0]
  ------------------
  750|      0|            return _abiinfo_raise(module_name,
  751|      0|                                  "cannot use both internal and stable ABI");
  752|      0|        }
  753|      0|    }
  754|    104|    else {
  755|       |        /* Exact major.minor version check */
  756|    104|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 104, False: 0]
  ------------------
  757|    104|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|    104|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|    104|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|    104|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|    104|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|    104|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|    104|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|    104|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|    104|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|    104|    PY_MAJOR_VERSION,                         \
  |  |   45|    104|    PY_MINOR_VERSION,                         \
  |  |   46|    104|    PY_MICRO_VERSION,                         \
  |  |   47|    104|    PY_RELEASE_LEVEL,                         \
  |  |   48|    104|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|    104|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 104]
  ------------------
  758|      0|                return _abiinfo_raise(
  759|      0|                    module_name,
  760|      0|                    "incompatible ABI version (%d.%d)",
  761|      0|                    ((info->abi_version) >> 24) & 0xff,
  762|      0|                    ((info->abi_version) >> 16) & 0xff);
  763|      0|            }
  764|    104|        }
  765|    104|    }
  766|    104|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|    104|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|    104|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|    104|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  770|       |#if Py_GIL_DISABLED
  771|       |    if (gilflags == PyABIInfo_GIL) {
  772|       |        return _abiinfo_raise(module_name,
  773|       |                              "incompatible with free-threaded CPython");
  774|       |    }
  775|       |#else
  776|    104|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|    104|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 104]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|    104|#endif
  781|       |
  782|    104|    return 0;
  783|    104|}
modsupport.c:va_build_value:
  531|   169k|{
  532|   169k|    const char *f = format;
  533|   169k|    Py_ssize_t n = countformat(f, '\0');
  534|   169k|    va_list lva;
  535|   169k|    PyObject *retval;
  536|       |
  537|   169k|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 169k]
  ------------------
  538|      0|        return NULL;
  539|   169k|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 169k]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|   169k|    va_copy(lva, va);
  543|   169k|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 167k, False: 2.67k]
  ------------------
  544|   167k|        retval = do_mkvalue(&f, &lva);
  545|   167k|    } else {
  546|  2.67k|        retval = do_mktuple(&f, &lva, '\0', n);
  547|  2.67k|    }
  548|       |    va_end(lva);
  549|   169k|    return retval;
  550|   169k|}
modsupport.c:do_mkvalue:
  287|   900k|{
  288|   900k|    for (;;) {
  289|   900k|        switch (*(*p_format)++) {
  290|   166k|        case '(':
  ------------------
  |  Branch (290:9): [True: 166k, False: 734k]
  ------------------
  291|   166k|            return do_mktuple(p_format, p_va, ')',
  292|   166k|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 900k]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|  3.37k|        case '{':
  ------------------
  |  Branch (298:9): [True: 3.37k, False: 897k]
  ------------------
  299|  3.37k|            return do_mkdict(p_format, p_va, '}',
  300|  3.37k|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 900k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 900k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 900k]
  ------------------
  305|   173k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 173k, False: 727k]
  ------------------
  306|   173k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 900k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|     20|        case 'I':
  ------------------
  |  Branch (311:9): [True: 20, False: 900k]
  ------------------
  312|     20|        {
  313|     20|            unsigned int n;
  314|     20|            n = va_arg(*p_va, unsigned int);
  315|     20|            return PyLong_FromUnsignedLong(n);
  316|      0|        }
  317|       |
  318|   240k|        case 'n':
  ------------------
  |  Branch (318:9): [True: 240k, False: 660k]
  ------------------
  319|       |#if SIZEOF_SIZE_T!=SIZEOF_LONG
  320|       |            return PyLong_FromSsize_t(va_arg(*p_va, Py_ssize_t));
  321|       |#endif
  322|       |            /* Fall through from 'n' to 'l' if Py_ssize_t is long */
  323|   240k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|   240k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|   240k|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 900k]
  ------------------
  325|   240k|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 900k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|   240k|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 900k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 900k]
  ------------------
  338|      0|            return PyLong_FromUnsignedLongLong(
  339|      0|                va_arg(*p_va, unsigned long long));
  340|       |
  341|      0|        case 'u':
  ------------------
  |  Branch (341:9): [True: 0, False: 900k]
  ------------------
  342|      0|        {
  343|      0|            PyObject *v;
  344|      0|            const wchar_t *u = va_arg(*p_va, wchar_t*);
  345|      0|            Py_ssize_t n;
  346|      0|            if (**p_format == '#') {
  ------------------
  |  Branch (346:17): [True: 0, False: 0]
  ------------------
  347|      0|                ++*p_format;
  348|      0|                n = va_arg(*p_va, Py_ssize_t);
  349|      0|            }
  350|      0|            else
  351|      0|                n = -1;
  352|      0|            if (u == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 0]
  ------------------
  353|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|      0|            }
  355|      0|            else {
  356|      0|                if (n < 0)
  ------------------
  |  Branch (356:21): [True: 0, False: 0]
  ------------------
  357|      0|                    n = wcslen(u);
  358|      0|                v = PyUnicode_FromWideChar(u, n);
  359|      0|            }
  360|      0|            return v;
  361|   240k|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 900k]
  ------------------
  363|  3.12k|        case 'd':
  ------------------
  |  Branch (363:9): [True: 3.12k, False: 897k]
  ------------------
  364|  3.12k|            return PyFloat_FromDouble(
  365|  3.12k|                (double)va_arg(*p_va, va_double));
  366|       |
  367|      0|        case 'D':
  ------------------
  |  Branch (367:9): [True: 0, False: 900k]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|    100|        case 'c':
  ------------------
  |  Branch (371:9): [True: 100, False: 900k]
  ------------------
  372|    100|        {
  373|    100|            char p[1];
  374|    100|            p[0] = (char)va_arg(*p_va, int);
  375|    100|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 900k]
  ------------------
  378|      0|        {
  379|      0|            int i = va_arg(*p_va, int);
  380|      0|            return PyUnicode_FromOrdinal(i);
  381|      0|        }
  382|      0|        case 'p':
  ------------------
  |  Branch (382:9): [True: 0, False: 900k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|  27.1k|        case 's':
  ------------------
  |  Branch (388:9): [True: 27.1k, False: 873k]
  ------------------
  389|  27.1k|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 900k]
  ------------------
  390|  27.1k|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 900k]
  ------------------
  391|  27.1k|        {
  392|  27.1k|            PyObject *v;
  393|  27.1k|            const char *str = va_arg(*p_va, const char *);
  394|  27.1k|            Py_ssize_t n;
  395|  27.1k|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 27.1k]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|  27.1k|            else
  400|  27.1k|                n = -1;
  401|  27.1k|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 8, False: 27.1k]
  ------------------
  402|      8|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|      8|            }
  404|  27.1k|            else {
  405|  27.1k|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 27.1k, False: 0]
  ------------------
  406|  27.1k|                    size_t m = strlen(str);
  407|  27.1k|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  27.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 27.1k]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|  27.1k|                    n = (Py_ssize_t)m;
  413|  27.1k|                }
  414|  27.1k|                v = PyUnicode_FromStringAndSize(str, n);
  415|  27.1k|            }
  416|  27.1k|            return v;
  417|  27.1k|        }
  418|       |
  419|      0|        case 'y':
  ------------------
  |  Branch (419:9): [True: 0, False: 900k]
  ------------------
  420|      0|        {
  421|      0|            PyObject *v;
  422|      0|            const char *str = va_arg(*p_va, const char *);
  423|      0|            Py_ssize_t n;
  424|      0|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 0, False: 0]
  ------------------
  425|      0|                ++*p_format;
  426|      0|                n = va_arg(*p_va, Py_ssize_t);
  427|      0|            }
  428|      0|            else
  429|      0|                n = -1;
  430|      0|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 0]
  ------------------
  431|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      0|            }
  433|      0|            else {
  434|      0|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 0]
  ------------------
  435|      0|                    size_t m = strlen(str);
  436|      0|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (436:25): [True: 0, False: 0]
  ------------------
  437|      0|                        PyErr_SetString(PyExc_OverflowError,
  438|      0|                            "string too long for Python bytes");
  439|      0|                        return NULL;
  440|      0|                    }
  441|      0|                    n = (Py_ssize_t)m;
  442|      0|                }
  443|      0|                v = PyBytes_FromStringAndSize(str, n);
  444|      0|            }
  445|      0|            return v;
  446|      0|        }
  447|       |
  448|   109k|        case 'N':
  ------------------
  |  Branch (448:9): [True: 109k, False: 791k]
  ------------------
  449|   109k|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 900k]
  ------------------
  450|   287k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 177k, False: 723k]
  ------------------
  451|   287k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 287k]
  ------------------
  452|      0|            typedef PyObject *(*converter)(void *);
  453|      0|            converter func = va_arg(*p_va, converter);
  454|      0|            void *arg = va_arg(*p_va, void *);
  455|      0|            ++*p_format;
  456|      0|            return (*func)(arg);
  457|      0|        }
  458|   287k|        else {
  459|   287k|            PyObject *v;
  460|   287k|            v = va_arg(*p_va, PyObject *);
  461|   287k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 287k, False: 0]
  ------------------
  462|   287k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 177k, False: 109k]
  ------------------
  463|   177k|                    Py_INCREF(v);
  ------------------
  |  |  310|   177k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   177k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   177k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   287k|            }
  465|      0|            else if (!PyErr_Occurred())
  ------------------
  |  Branch (465:22): [True: 0, False: 0]
  ------------------
  466|       |                /* If a NULL was passed
  467|       |                 * because a call that should
  468|       |                 * have constructed a value
  469|       |                 * failed, that's OK, and we
  470|       |                 * pass the error on; but if
  471|       |                 * no error occurred it's not
  472|       |                 * clear that the caller knew
  473|       |                 * what she was doing. */
  474|      0|                PyErr_SetString(PyExc_SystemError,
  475|      0|                    "NULL object passed to Py_BuildValue");
  476|   287k|            return v;
  477|   287k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 900k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 900k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 900k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 900k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 900k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|   900k|        }
  491|   900k|    }
  492|   900k|}
modsupport.c:check_end:
  107|   180k|{
  108|   180k|    const char *f = *p_format;
  109|   180k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 180k]
  ------------------
  110|      0|        if (*f != ' ' && *f != '\t' && *f != ',' && *f != ':') {
  ------------------
  |  Branch (110:13): [True: 0, False: 0]
  |  Branch (110:26): [True: 0, False: 0]
  |  Branch (110:40): [True: 0, False: 0]
  |  Branch (110:53): [True: 0, False: 0]
  ------------------
  111|      0|            PyErr_SetString(PyExc_SystemError,
  112|      0|                            "Unmatched paren in format");
  113|      0|            return 0;
  114|      0|        }
  115|      0|        f++;
  116|      0|    }
  117|   180k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 169k, False: 10.4k]
  ------------------
  118|   169k|        f++;
  119|   169k|    }
  120|   180k|    *p_format = f;
  121|   180k|    return 1;
  122|   180k|}
modsupport.c:do_mkdict:
  150|  3.37k|{
  151|  3.37k|    PyObject *d;
  152|  3.37k|    Py_ssize_t i;
  153|  3.37k|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 3.37k]
  ------------------
  154|      0|        return NULL;
  155|  3.37k|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 3.37k]
  ------------------
  156|      0|        PyErr_SetString(PyExc_SystemError,
  157|      0|                        "Bad dict format");
  158|      0|        do_ignore(p_format, p_va, endchar, n);
  159|      0|        return NULL;
  160|      0|    }
  161|       |    /* Note that we can't bail immediately on error as this will leak
  162|       |       refcounts on any 'N' arguments. */
  163|  3.37k|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 3.37k]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|  19.9k|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 16.6k, False: 3.37k]
  ------------------
  168|  16.6k|        PyObject *k, *v;
  169|       |
  170|  16.6k|        k = do_mkvalue(p_format, p_va);
  171|  16.6k|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 16.6k]
  ------------------
  172|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  173|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|            return NULL;
  175|      0|        }
  176|  16.6k|        v = do_mkvalue(p_format, p_va);
  177|  16.6k|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 16.6k]
  |  Branch (177:26): [True: 0, False: 16.6k]
  ------------------
  178|      0|            do_ignore(p_format, p_va, endchar, n - i - 2);
  179|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|            Py_XDECREF(v);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|            return NULL;
  183|      0|        }
  184|  16.6k|        Py_DECREF(k);
  ------------------
  |  |  430|  16.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|  16.6k|        Py_DECREF(v);
  ------------------
  |  |  430|  16.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|  16.6k|    }
  187|  3.37k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 3.37k]
  ------------------
  188|      0|        Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|  3.37k|    return d;
  192|  3.37k|}
modsupport.c:do_mktuple:
  258|   168k|{
  259|   168k|    PyObject *v;
  260|   168k|    Py_ssize_t i;
  261|   168k|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 168k]
  ------------------
  262|      0|        return NULL;
  263|       |    /* Note that we can't bail immediately on error as this will leak
  264|       |       refcounts on any 'N' arguments. */
  265|   168k|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 168k]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|   834k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 666k, False: 168k]
  ------------------
  270|   666k|        PyObject *w = do_mkvalue(p_format, p_va);
  271|   666k|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 666k]
  ------------------
  272|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  273|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|      0|            return NULL;
  275|      0|        }
  276|   666k|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|   666k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   666k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   666k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   666k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   666k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   666k|    }
  278|   168k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 168k]
  ------------------
  279|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  280|      0|        return NULL;
  281|      0|    }
  282|   168k|    return v;
  283|   168k|}
modsupport.c:countformat:
   55|   347k|{
   56|   347k|    Py_ssize_t count = 0;
   57|   347k|    int level = 0;
   58|  2.11M|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 869k, False: 1.24M]
  |  Branch (58:25): [True: 900k, False: 347k]
  ------------------
   59|  1.77M|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 1.77M]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|   168k|        case '(':
  ------------------
  |  Branch (65:9): [True: 168k, False: 1.60M]
  ------------------
   66|   168k|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 1.77M]
  ------------------
   67|   171k|        case '{':
  ------------------
  |  Branch (67:9): [True: 3.37k, False: 1.76M]
  ------------------
   68|   171k|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 169k, False: 2.06k]
  ------------------
   69|   169k|                count++;
   70|   169k|            }
   71|   171k|            level++;
   72|   171k|            break;
   73|   168k|        case ')':
  ------------------
  |  Branch (73:9): [True: 168k, False: 1.60M]
  ------------------
   74|   168k|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 1.77M]
  ------------------
   75|   171k|        case '}':
  ------------------
  |  Branch (75:9): [True: 3.37k, False: 1.76M]
  ------------------
   76|   171k|            level--;
   77|   171k|            break;
   78|      0|        case '#':
  ------------------
  |  Branch (78:9): [True: 0, False: 1.77M]
  ------------------
   79|      0|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 1.77M]
  ------------------
   80|      0|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 1.77M]
  ------------------
   81|      0|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 1.77M]
  ------------------
   82|      0|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 1.77M]
  ------------------
   83|      0|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 1.77M]
  ------------------
   84|      0|            break;
   85|  1.42M|        default:
  ------------------
  |  Branch (85:9): [True: 1.42M, False: 343k]
  ------------------
   86|  1.42M|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 731k, False: 695k]
  ------------------
   87|   731k|                count++;
   88|   731k|            }
   89|  1.77M|        }
   90|  1.77M|        format++;
   91|  1.77M|    }
   92|   347k|    return count;
   93|   347k|}
modsupport.c:do_mkstack:
  227|  7.80k|{
  228|  7.80k|    Py_ssize_t i;
  229|       |
  230|  7.80k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 7.80k]
  ------------------
  231|      0|        return -1;
  232|      0|    }
  233|       |    /* Note that we can't bail immediately on error as this will leak
  234|       |       refcounts on any 'N' arguments. */
  235|  42.4k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 34.6k, False: 7.80k]
  ------------------
  236|  34.6k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|  34.6k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 34.6k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|  34.6k|        stack[i] = w;
  242|  34.6k|    }
  243|  7.80k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 7.80k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|  7.80k|    return 0;
  247|       |
  248|      0|error:
  249|      0|    n = i;
  250|      0|    for (i=0; i < n; i++) {
  ------------------
  |  Branch (250:15): [True: 0, False: 0]
  ------------------
  251|      0|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  252|      0|    }
  253|      0|    return -1;
  254|  7.80k|}

PyOS_snprintf:
   42|    102|{
   43|    102|    int rc;
   44|    102|    va_list va;
   45|       |
   46|    102|    va_start(va, format);
   47|    102|    rc = PyOS_vsnprintf(str, size, format, va);
   48|       |    va_end(va);
   49|    102|    return rc;
   50|    102|}
PyOS_vsnprintf:
   54|    102|{
   55|    102|    assert(str != NULL);
   56|    102|    assert(size > 0);
   57|    102|    assert(size <= (INT_MAX - 1));
   58|    102|    assert(format != NULL);
   59|       |
   60|    102|    int len;  /* # bytes written, excluding \0 */
   61|       |    /* We take a size_t as input but return an int.  Sanity check
   62|       |     * our input so that it won't cause an overflow in the
   63|       |     * vsnprintf return value.  */
   64|    102|    if (size > INT_MAX - 1) {
  ------------------
  |  Branch (64:9): [True: 0, False: 102]
  ------------------
   65|      0|        len = -666;
   66|      0|        goto Done;
   67|      0|    }
   68|       |
   69|       |#if defined(_MSC_VER)
   70|       |    len = _vsnprintf(str, size, format, va);
   71|       |#else
   72|    102|    len = vsnprintf(str, size, format, va);
   73|    102|#endif
   74|       |
   75|    102|Done:
   76|    102|    if (size > 0) {
  ------------------
  |  Branch (76:9): [True: 102, False: 0]
  ------------------
   77|    102|        str[size-1] = '\0';
   78|    102|    }
   79|    102|    return len;
   80|    102|}

PyOS_strtoul:
  102|    170|{
  103|    170|    unsigned long result = 0; /* return value of the function */
  104|    170|    int c;             /* current input character */
  105|    170|    int ovlimit;       /* required digits to overflow */
  106|       |
  107|       |    /* skip leading white space */
  108|    170|    while (*str && Py_ISSPACE(*str))
  ------------------
  |  |   27|    170|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|    170|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|    170|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 170]
  |  |  ------------------
  ------------------
  |  Branch (108:12): [True: 170, False: 0]
  ------------------
  109|      0|        ++str;
  110|       |
  111|       |    /* check for leading 0b, 0o or 0x for auto-base or base 16 */
  112|    170|    switch (base) {
  ------------------
  |  Branch (112:13): [True: 170, False: 0]
  ------------------
  113|    170|    case 0:             /* look for leading 0b, 0o or 0x */
  ------------------
  |  Branch (113:5): [True: 170, False: 0]
  ------------------
  114|    170|        if (*str == '0') {
  ------------------
  |  Branch (114:13): [True: 50, False: 120]
  ------------------
  115|     50|            ++str;
  116|     50|            if (*str == 'x' || *str == 'X') {
  ------------------
  |  Branch (116:17): [True: 4, False: 46]
  |  Branch (116:32): [True: 0, False: 46]
  ------------------
  117|       |                /* there must be at least one digit after 0x */
  118|      4|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) {
  ------------------
  |  |  138|      4|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (118:21): [True: 0, False: 4]
  ------------------
  119|      0|                    if (ptr)
  ------------------
  |  Branch (119:25): [True: 0, False: 0]
  ------------------
  120|      0|                        *ptr = (char *)str;
  121|      0|                    return 0;
  122|      0|                }
  123|      4|                ++str;
  124|      4|                base = 16;
  125|     46|            } else if (*str == 'o' || *str == 'O') {
  ------------------
  |  Branch (125:24): [True: 0, False: 46]
  |  Branch (125:39): [True: 0, False: 46]
  ------------------
  126|       |                /* there must be at least one digit after 0o */
  127|      0|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 8) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (127:21): [True: 0, False: 0]
  ------------------
  128|      0|                    if (ptr)
  ------------------
  |  Branch (128:25): [True: 0, False: 0]
  ------------------
  129|      0|                        *ptr = (char *)str;
  130|      0|                    return 0;
  131|      0|                }
  132|      0|                ++str;
  133|      0|                base = 8;
  134|     46|            } else if (*str == 'b' || *str == 'B') {
  ------------------
  |  Branch (134:24): [True: 0, False: 46]
  |  Branch (134:39): [True: 0, False: 46]
  ------------------
  135|       |                /* there must be at least one digit after 0b */
  136|      0|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 2) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (136:21): [True: 0, False: 0]
  ------------------
  137|      0|                    if (ptr)
  ------------------
  |  Branch (137:25): [True: 0, False: 0]
  ------------------
  138|      0|                        *ptr = (char *)str;
  139|      0|                    return 0;
  140|      0|                }
  141|      0|                ++str;
  142|      0|                base = 2;
  143|     46|            } else {
  144|       |                /* skip all zeroes... */
  145|     46|                while (*str == '0')
  ------------------
  |  Branch (145:24): [True: 0, False: 46]
  ------------------
  146|      0|                    ++str;
  147|     46|                while (Py_ISSPACE(*str))
  ------------------
  |  |   27|     46|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|     46|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|     46|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 46]
  |  |  ------------------
  ------------------
  148|      0|                    ++str;
  149|     46|                if (ptr)
  ------------------
  |  Branch (149:21): [True: 46, False: 0]
  ------------------
  150|     46|                    *ptr = (char *)str;
  151|     46|                return 0;
  152|     46|            }
  153|     50|        }
  154|    120|        else
  155|    120|            base = 10;
  156|    124|        break;
  157|       |
  158|       |    /* even with explicit base, skip leading 0? prefix */
  159|    124|    case 16:
  ------------------
  |  Branch (159:5): [True: 0, False: 170]
  ------------------
  160|      0|        if (*str == '0') {
  ------------------
  |  Branch (160:13): [True: 0, False: 0]
  ------------------
  161|      0|            ++str;
  162|      0|            if (*str == 'x' || *str == 'X') {
  ------------------
  |  Branch (162:17): [True: 0, False: 0]
  |  Branch (162:32): [True: 0, False: 0]
  ------------------
  163|       |                /* there must be at least one digit after 0x */
  164|      0|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (164:21): [True: 0, False: 0]
  ------------------
  165|      0|                    if (ptr)
  ------------------
  |  Branch (165:25): [True: 0, False: 0]
  ------------------
  166|      0|                        *ptr = (char *)str;
  167|      0|                    return 0;
  168|      0|                }
  169|      0|                ++str;
  170|      0|            }
  171|      0|        }
  172|      0|        break;
  173|      0|    case 8:
  ------------------
  |  Branch (173:5): [True: 0, False: 170]
  ------------------
  174|      0|        if (*str == '0') {
  ------------------
  |  Branch (174:13): [True: 0, False: 0]
  ------------------
  175|      0|            ++str;
  176|      0|            if (*str == 'o' || *str == 'O') {
  ------------------
  |  Branch (176:17): [True: 0, False: 0]
  |  Branch (176:32): [True: 0, False: 0]
  ------------------
  177|       |                /* there must be at least one digit after 0o */
  178|      0|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 8) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (178:21): [True: 0, False: 0]
  ------------------
  179|      0|                    if (ptr)
  ------------------
  |  Branch (179:25): [True: 0, False: 0]
  ------------------
  180|      0|                        *ptr = (char *)str;
  181|      0|                    return 0;
  182|      0|                }
  183|      0|                ++str;
  184|      0|            }
  185|      0|        }
  186|      0|        break;
  187|      0|    case 2:
  ------------------
  |  Branch (187:5): [True: 0, False: 170]
  ------------------
  188|      0|        if(*str == '0') {
  ------------------
  |  Branch (188:12): [True: 0, False: 0]
  ------------------
  189|      0|            ++str;
  190|      0|            if (*str == 'b' || *str == 'B') {
  ------------------
  |  Branch (190:17): [True: 0, False: 0]
  |  Branch (190:32): [True: 0, False: 0]
  ------------------
  191|       |                /* there must be at least one digit after 0b */
  192|      0|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 2) {
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (192:21): [True: 0, False: 0]
  ------------------
  193|      0|                    if (ptr)
  ------------------
  |  Branch (193:25): [True: 0, False: 0]
  ------------------
  194|      0|                        *ptr = (char *)str;
  195|      0|                    return 0;
  196|      0|                }
  197|      0|                ++str;
  198|      0|            }
  199|      0|        }
  200|      0|        break;
  201|    170|    }
  202|       |
  203|       |    /* catch silly bases */
  204|    124|    if (base < 2 || base > 36) {
  ------------------
  |  Branch (204:9): [True: 0, False: 124]
  |  Branch (204:21): [True: 0, False: 124]
  ------------------
  205|      0|        if (ptr)
  ------------------
  |  Branch (205:13): [True: 0, False: 0]
  ------------------
  206|      0|            *ptr = (char *)str;
  207|      0|        return 0;
  208|      0|    }
  209|       |
  210|       |    /* skip leading zeroes */
  211|    124|    while (*str == '0')
  ------------------
  |  Branch (211:12): [True: 0, False: 124]
  ------------------
  212|      0|        ++str;
  213|       |
  214|       |    /* base is guaranteed to be in [2, 36] at this point */
  215|    124|    ovlimit = digitlimit[base];
  216|       |
  217|       |    /* do the conversion until non-digit character encountered */
  218|    300|    while ((c = _PyLong_DigitValue[Py_CHARMASK(*str)]) < base) {
  ------------------
  |  |  138|    300|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (218:12): [True: 176, False: 124]
  ------------------
  219|    176|        if (ovlimit > 0) /* no overflow check required */
  ------------------
  |  Branch (219:13): [True: 176, False: 0]
  ------------------
  220|    176|            result = result * base + c;
  221|      0|        else { /* requires overflow check */
  222|      0|            unsigned long temp_result;
  223|       |
  224|      0|            if (ovlimit < 0) /* guaranteed overflow */
  ------------------
  |  Branch (224:17): [True: 0, False: 0]
  ------------------
  225|      0|                goto overflowed;
  226|       |
  227|       |            /* there could be an overflow */
  228|       |            /* check overflow just from shifting */
  229|      0|            if (result > smallmax[base])
  ------------------
  |  Branch (229:17): [True: 0, False: 0]
  ------------------
  230|      0|                goto overflowed;
  231|       |
  232|      0|            result *= base;
  233|       |
  234|       |            /* check overflow from the digit's value */
  235|      0|            temp_result = result + c;
  236|      0|            if (temp_result < result)
  ------------------
  |  Branch (236:17): [True: 0, False: 0]
  ------------------
  237|      0|                goto overflowed;
  238|       |
  239|      0|            result = temp_result;
  240|      0|        }
  241|       |
  242|    176|        ++str;
  243|    176|        --ovlimit;
  244|    176|    }
  245|       |
  246|       |    /* set pointer to point to the last character scanned */
  247|    124|    if (ptr)
  ------------------
  |  Branch (247:9): [True: 124, False: 0]
  ------------------
  248|    124|        *ptr = (char *)str;
  249|       |
  250|    124|    return result;
  251|       |
  252|      0|overflowed:
  253|      0|    if (ptr) {
  ------------------
  |  Branch (253:9): [True: 0, False: 0]
  ------------------
  254|       |        /* spool through remaining digit characters */
  255|      0|        while (_PyLong_DigitValue[Py_CHARMASK(*str)] < base)
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (255:16): [True: 0, False: 0]
  ------------------
  256|      0|            ++str;
  257|      0|        *ptr = (char *)str;
  258|      0|    }
  259|      0|    errno = ERANGE;
  260|      0|    return (unsigned long)-1;
  261|    124|}
PyOS_strtol:
  270|    120|{
  271|    120|    long result;
  272|    120|    unsigned long uresult;
  273|    120|    char sign;
  274|       |
  275|    120|    while (*str && Py_ISSPACE(*str))
  ------------------
  |  |   27|    120|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|    120|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|    120|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 120]
  |  |  ------------------
  ------------------
  |  Branch (275:12): [True: 120, False: 0]
  ------------------
  276|      0|        str++;
  277|       |
  278|    120|    sign = *str;
  279|    120|    if (sign == '+' || sign == '-')
  ------------------
  |  Branch (279:9): [True: 0, False: 120]
  |  Branch (279:24): [True: 0, False: 120]
  ------------------
  280|      0|        str++;
  281|       |
  282|    120|    uresult = PyOS_strtoul(str, ptr, base);
  283|       |
  284|    120|    if (uresult <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (284:9): [True: 120, False: 0]
  ------------------
  285|    120|        result = (long)uresult;
  286|    120|        if (sign == '-')
  ------------------
  |  Branch (286:13): [True: 0, False: 120]
  ------------------
  287|      0|            result = -result;
  288|    120|    }
  289|      0|    else if (sign == '-' && uresult == PY_ABS_LONG_MIN) {
  ------------------
  |  |  266|      0|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (289:14): [True: 0, False: 0]
  |  Branch (289:29): [True: 0, False: 0]
  ------------------
  290|      0|        result = LONG_MIN;
  291|      0|    }
  292|      0|    else {
  293|      0|        errno = ERANGE;
  294|       |        result = LONG_MAX;
  295|      0|    }
  296|    120|    return result;
  297|    120|}

_PyPathConfig_GetGlobalModuleSearchPath:
   49|      2|{
   50|      2|    return _Py_path_config.module_search_path;
   51|      2|}
_PyPathConfig_ReadGlobal:
   78|      4|{
   79|      4|    PyStatus status = _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
   80|       |
   81|      4|#define COPY(ATTR) \
   82|      4|    do { \
   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
   84|      4|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
   85|      4|            if (_PyStatus_EXCEPTION(status)) goto done; \
   86|      4|        } \
   87|      4|    } while (0)
   88|       |
   89|      4|#define COPY2(ATTR, SRCATTR) \
   90|      4|    do { \
   91|      4|        if (_Py_path_config.SRCATTR && !config->ATTR) { \
   92|      4|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.SRCATTR); \
   93|      4|            if (_PyStatus_EXCEPTION(status)) goto done; \
   94|      4|        } \
   95|      4|    } while (0)
   96|       |
   97|      4|#define COPY_INT(ATTR) \
   98|      4|    do { \
   99|      4|        assert(_Py_path_config.ATTR >= 0); \
  100|      4|        if ((_Py_path_config.ATTR >= 0) && (config->ATTR <= 0)) { \
  101|      4|            config->ATTR = _Py_path_config.ATTR; \
  102|      4|        } \
  103|      4|    } while (0)
  104|       |
  105|      4|    COPY(prefix);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  106|      4|    COPY(exec_prefix);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  107|      4|    COPY(stdlib_dir);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  108|      4|    COPY(program_name);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  109|      4|    COPY(home);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  110|      4|    COPY2(executable, program_full_path);
  ------------------
  |  |   90|      4|    do { \
  |  |   91|      4|        if (_Py_path_config.SRCATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (91:13): [True: 0, False: 4]
  |  |  |  Branch (91:40): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.SRCATTR); \
  |  |   93|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   94|      0|        } \
  |  |   95|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (95:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  111|      4|    COPY_INT(_is_python_build);
  ------------------
  |  |   98|      4|    do { \
  |  |   99|      4|        assert(_Py_path_config.ATTR >= 0); \
  |  |  100|      4|        if ((_Py_path_config.ATTR >= 0) && (config->ATTR <= 0)) { \
  |  |  ------------------
  |  |  |  Branch (100:13): [True: 4, False: 0]
  |  |  |  Branch (100:44): [True: 4, False: 0]
  |  |  ------------------
  |  |  101|      4|            config->ATTR = _Py_path_config.ATTR; \
  |  |  102|      4|        } \
  |  |  103|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (103:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  112|       |    // module_search_path must be initialised - not read
  113|      4|#undef COPY
  114|      4|#undef COPY2
  115|      4|#undef COPY_INT
  116|       |
  117|      4|done:
  118|      4|    return status;
  119|      4|}
_PyPathConfig_UpdateGlobal:
  123|      2|{
  124|      2|#define COPY(ATTR) \
  125|      2|    do { \
  126|      2|        if (config->ATTR) { \
  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  130|      2|        } \
  131|      2|    } while (0)
  132|       |
  133|      2|#define COPY2(ATTR, SRCATTR) \
  134|      2|    do { \
  135|      2|        if (config->SRCATTR) { \
  136|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  137|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->SRCATTR); \
  138|      2|            if (!_Py_path_config.ATTR) goto error; \
  139|      2|        } \
  140|      2|    } while (0)
  141|       |
  142|      2|#define COPY_INT(ATTR) \
  143|      2|    do { \
  144|      2|        if (config->ATTR > 0) { \
  145|      2|            _Py_path_config.ATTR = config->ATTR; \
  146|      2|        } \
  147|      2|    } while (0)
  148|       |
  149|      2|    COPY(prefix);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  150|      2|    COPY(exec_prefix);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  151|      2|    COPY(stdlib_dir);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  152|      2|    COPY(program_name);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  153|      2|    COPY(home);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  154|      2|    COPY2(program_full_path, executable);
  ------------------
  |  |  134|      2|    do { \
  |  |  135|      2|        if (config->SRCATTR) { \
  |  |  ------------------
  |  |  |  Branch (135:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  136|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  137|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->SRCATTR); \
  |  |  138|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (138:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  139|      2|        } \
  |  |  140|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (140:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  155|      2|    COPY_INT(_is_python_build);
  ------------------
  |  |  143|      2|    do { \
  |  |  144|      2|        if (config->ATTR > 0) { \
  |  |  ------------------
  |  |  |  Branch (144:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  145|      0|            _Py_path_config.ATTR = config->ATTR; \
  |  |  146|      0|        } \
  |  |  147|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (147:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  156|      2|#undef COPY
  157|      2|#undef COPY2
  158|      2|#undef COPY_INT
  159|       |
  160|      2|    _PyMem_DefaultRawFree(_Py_path_config.module_search_path);
  161|      2|    _Py_path_config.module_search_path = NULL;
  162|      2|    _PyMem_DefaultRawFree(_Py_path_config.calculated_module_search_path);
  163|      2|    _Py_path_config.calculated_module_search_path = NULL;
  164|       |
  165|      2|    do {
  166|      2|        size_t cch = 1;
  167|      8|        for (Py_ssize_t i = 0; i < config->module_search_paths.length; ++i) {
  ------------------
  |  Branch (167:32): [True: 6, False: 2]
  ------------------
  168|      6|            cch += 1 + wcslen(config->module_search_paths.items[i]);
  169|      6|        }
  170|       |
  171|      2|        wchar_t *path = (wchar_t*)_PyMem_DefaultRawMalloc(sizeof(wchar_t) * cch);
  172|      2|        if (!path) {
  ------------------
  |  Branch (172:13): [True: 0, False: 2]
  ------------------
  173|      0|            goto error;
  174|      0|        }
  175|      2|        wchar_t *p = path;
  176|      8|        for (Py_ssize_t i = 0; i < config->module_search_paths.length; ++i) {
  ------------------
  |  Branch (176:32): [True: 6, False: 2]
  ------------------
  177|      6|            wcscpy(p, config->module_search_paths.items[i]);
  178|      6|            p = wcschr(p, L'\0');
  179|      6|            *p++ = DELIM;
  ------------------
  |  |   51|      6|#  define DELIM L':'
  ------------------
  180|      6|            *p = L'\0';
  181|      6|        }
  182|       |
  183|      4|        do {
  184|      4|            *p = L'\0';
  185|      4|        } while (p != path && *--p == DELIM);
  ------------------
  |  |   51|      4|#  define DELIM L':'
  ------------------
  |  Branch (185:18): [True: 4, False: 0]
  |  Branch (185:31): [True: 2, False: 2]
  ------------------
  186|      2|        _Py_path_config.calculated_module_search_path = path;
  187|      2|    } while (0);
  ------------------
  |  Branch (187:14): [Folded, False: 2]
  ------------------
  188|       |
  189|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  190|       |
  191|      0|error:
  192|      0|    return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  193|      2|}
_Py_GetStdlibDir:
  290|      2|{
  291|      2|    wchar_t *stdlib_dir = _Py_path_config.stdlib_dir;
  292|      2|    if (stdlib_dir != NULL && stdlib_dir[0] != L'\0') {
  ------------------
  |  Branch (292:9): [True: 2, False: 0]
  |  Branch (292:31): [True: 2, False: 0]
  ------------------
  293|      2|        return stdlib_dir;
  294|      2|    }
  295|      0|    return NULL;
  296|      2|}

_Py_ClearFileSystemEncoding:
   27|      2|{
   28|      2|_Py_COMP_DIAG_PUSH
   29|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   30|      2|    if (!Py_HasFileSystemDefaultEncoding && Py_FileSystemDefaultEncoding) {
  ------------------
  |  Branch (30:9): [True: 2, False: 0]
  |  Branch (30:45): [True: 0, False: 2]
  ------------------
   31|      0|        PyMem_RawFree((char*)Py_FileSystemDefaultEncoding);
   32|      0|        Py_FileSystemDefaultEncoding = NULL;
   33|      0|    }
   34|      2|    if (!_Py_HasFileSystemDefaultEncodeErrors && Py_FileSystemDefaultEncodeErrors) {
  ------------------
  |  Branch (34:9): [True: 2, False: 0]
  |  Branch (34:50): [True: 0, False: 2]
  ------------------
   35|      0|        PyMem_RawFree((char*)Py_FileSystemDefaultEncodeErrors);
   36|       |        Py_FileSystemDefaultEncodeErrors = NULL;
   37|      0|    }
   38|      2|_Py_COMP_DIAG_POP
   39|      2|}
_Py_SetFileSystemEncoding:
   49|      2|{
   50|      2|    char *encoding2 = _PyMem_RawStrdup(encoding);
   51|      2|    if (encoding2 == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 2]
  ------------------
   52|      0|        return -1;
   53|      0|    }
   54|       |
   55|      2|    char *errors2 = _PyMem_RawStrdup(errors);
   56|      2|    if (errors2 == NULL) {
  ------------------
  |  Branch (56:9): [True: 0, False: 2]
  ------------------
   57|      0|        PyMem_RawFree(encoding2);
   58|      0|        return -1;
   59|      0|    }
   60|       |
   61|      2|    _Py_ClearFileSystemEncoding();
   62|       |
   63|      2|_Py_COMP_DIAG_PUSH
   64|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   65|      2|    Py_FileSystemDefaultEncoding = encoding2;
   66|      2|    Py_HasFileSystemDefaultEncoding = 0;
   67|       |
   68|      2|    Py_FileSystemDefaultEncodeErrors = errors2;
   69|      2|    _Py_HasFileSystemDefaultEncodeErrors = 0;
   70|      2|_Py_COMP_DIAG_POP
   71|      2|    return 0;
   72|      2|}
_PyPreCmdline_Clear:
  118|      4|{
  119|      4|    _PyWideStringList_Clear(&cmdline->argv);
  120|      4|    _PyWideStringList_Clear(&cmdline->xoptions);
  121|      4|}
_PyPreCmdline_SetConfig:
  163|      2|{
  164|      2|#define COPY_ATTR(ATTR) \
  165|      2|    config->ATTR = cmdline->ATTR
  166|       |
  167|      2|    PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions);
  168|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  169|      0|        return status;
  170|      0|    }
  171|       |
  172|      2|    COPY_ATTR(isolated);
  ------------------
  |  |  165|      2|    config->ATTR = cmdline->ATTR
  ------------------
  173|      2|    COPY_ATTR(use_environment);
  ------------------
  |  |  165|      2|    config->ATTR = cmdline->ATTR
  ------------------
  174|      2|    COPY_ATTR(dev_mode);
  ------------------
  |  |  165|      2|    config->ATTR = cmdline->ATTR
  ------------------
  175|      2|    COPY_ATTR(warn_default_encoding);
  ------------------
  |  |  165|      2|    config->ATTR = cmdline->ATTR
  ------------------
  176|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  177|       |
  178|      2|#undef COPY_ATTR
  179|      2|}
_PyPreCmdline_Read:
  232|      4|{
  233|      4|    precmdline_get_preconfig(cmdline, preconfig);
  234|       |
  235|      4|    if (preconfig->parse_argv) {
  ------------------
  |  Branch (235:9): [True: 0, False: 4]
  ------------------
  236|      0|        PyStatus status = precmdline_parse_cmdline(cmdline);
  237|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  238|      0|            return status;
  239|      0|        }
  240|      0|    }
  241|       |
  242|       |    /* isolated, use_environment */
  243|      4|    if (cmdline->isolated < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 4]
  ------------------
  244|      0|        cmdline->isolated = 0;
  245|      0|    }
  246|      4|    if (cmdline->isolated > 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 4]
  ------------------
  247|      0|        cmdline->use_environment = 0;
  248|      0|    }
  249|      4|    if (cmdline->use_environment < 0) {
  ------------------
  |  Branch (249:9): [True: 0, False: 4]
  ------------------
  250|      0|        cmdline->use_environment = 0;
  251|      0|    }
  252|       |
  253|       |    /* dev_mode */
  254|      4|    if ((cmdline->dev_mode < 0)
  ------------------
  |  Branch (254:9): [True: 2, False: 2]
  ------------------
  255|      2|        && (_Py_get_xoption(&cmdline->xoptions, L"dev")
  ------------------
  |  Branch (255:13): [True: 0, False: 2]
  ------------------
  256|      2|            || _Py_GetEnv(cmdline->use_environment, "PYTHONDEVMODE")))
  ------------------
  |  Branch (256:16): [True: 0, False: 2]
  ------------------
  257|      0|    {
  258|      0|        cmdline->dev_mode = 1;
  259|      0|    }
  260|      4|    if (cmdline->dev_mode < 0) {
  ------------------
  |  Branch (260:9): [True: 2, False: 2]
  ------------------
  261|      2|        cmdline->dev_mode = 0;
  262|      2|    }
  263|       |
  264|       |    // warn_default_encoding
  265|      4|    if (_Py_get_xoption(&cmdline->xoptions, L"warn_default_encoding")
  ------------------
  |  Branch (265:9): [True: 0, False: 4]
  ------------------
  266|      4|            || _Py_GetEnv(cmdline->use_environment, "PYTHONWARNDEFAULTENCODING"))
  ------------------
  |  Branch (266:16): [True: 0, False: 4]
  ------------------
  267|      0|    {
  268|      0|        cmdline->warn_default_encoding = 1;
  269|      0|    }
  270|       |
  271|      4|    assert(cmdline->use_environment >= 0);
  272|      4|    assert(cmdline->isolated >= 0);
  273|      4|    assert(cmdline->dev_mode >= 0);
  274|      4|    assert(cmdline->warn_default_encoding >= 0);
  275|       |
  276|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  277|      4|}
_PyPreConfig_InitCompatConfig:
  285|     12|{
  286|     12|    memset(config, 0, sizeof(*config));
  287|       |
  288|     12|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
  289|     12|    config->parse_argv = 0;
  290|     12|    config->isolated = -1;
  291|     12|    config->use_environment = -1;
  292|     12|    config->configure_locale = 1;
  293|       |
  294|       |    /* gh-80624: C locale coercion (PEP 538) is disabled by default using
  295|       |       the Compat configuration.
  296|       |
  297|       |       Py_UTF8Mode=0 disables the UTF-8 mode. PYTHONUTF8 environment variable
  298|       |       is ignored (even if use_environment=1). */
  299|     12|    config->utf8_mode = 1;
  300|     12|    config->coerce_c_locale = 0;
  301|     12|    config->coerce_c_locale_warn = 0;
  302|       |
  303|     12|    config->dev_mode = -1;
  304|     12|    config->allocator = PYMEM_ALLOCATOR_NOT_SET;
  305|       |#ifdef MS_WINDOWS
  306|       |    config->legacy_windows_fs_encoding = -1;
  307|       |#endif
  308|     12|}
PyPreConfig_InitPythonConfig:
  313|     10|{
  314|     10|    _PyPreConfig_InitCompatConfig(config);
  315|       |
  316|     10|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
  317|     10|    config->isolated = 0;
  318|     10|    config->parse_argv = 1;
  319|     10|    config->use_environment = 1;
  320|       |    /* Set to -1 to enable C locale coercion (PEP 538) depending on
  321|       |       the LC_CTYPE locale, PYTHONUTF8 and PYTHONCOERCECLOCALE
  322|       |       environment variables. */
  323|     10|    config->coerce_c_locale = -1;
  324|     10|    config->coerce_c_locale_warn = -1;
  325|     10|    config->utf8_mode = -1;
  326|       |#ifdef MS_WINDOWS
  327|       |    config->legacy_windows_fs_encoding = 0;
  328|       |#endif
  329|     10|}
_PyPreConfig_InitFromPreConfig:
  352|      8|{
  353|      8|    PyPreConfig_InitPythonConfig(config);
  354|      8|    preconfig_copy(config, config2);
  355|      8|    return _PyStatus_OK();
  ------------------
  |  |   24|      8|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  356|      8|}
_PyPreConfig_InitFromConfig:
  361|      2|{
  362|      2|    _PyConfigInitEnum config_init = (_PyConfigInitEnum)config->_config_init;
  363|      2|    switch (config_init) {
  364|      0|    case _PyConfig_INIT_PYTHON:
  ------------------
  |  Branch (364:5): [True: 0, False: 2]
  ------------------
  365|      0|        PyPreConfig_InitPythonConfig(preconfig);
  366|      0|        break;
  367|      0|    case _PyConfig_INIT_ISOLATED:
  ------------------
  |  Branch (367:5): [True: 0, False: 2]
  ------------------
  368|      0|        PyPreConfig_InitIsolatedConfig(preconfig);
  369|      0|        break;
  370|      2|    case _PyConfig_INIT_COMPAT:
  ------------------
  |  Branch (370:5): [True: 2, False: 0]
  ------------------
  371|      2|    default:
  ------------------
  |  Branch (371:5): [True: 0, False: 2]
  ------------------
  372|      2|        _PyPreConfig_InitCompatConfig(preconfig);
  373|      2|    }
  374|       |
  375|      2|    _PyPreConfig_GetConfig(preconfig, config);
  376|      2|}
_PyPreConfig_GetConfig:
  450|      4|{
  451|      4|#define COPY_ATTR(ATTR) \
  452|      4|    if (config->ATTR != -1) { \
  453|      4|        preconfig->ATTR = config->ATTR; \
  454|      4|    }
  455|       |
  456|      4|    COPY_ATTR(parse_argv);
  ------------------
  |  |  452|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (452:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  453|      4|        preconfig->ATTR = config->ATTR; \
  |  |  454|      4|    }
  ------------------
  457|      4|    COPY_ATTR(isolated);
  ------------------
  |  |  452|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (452:9): [True: 2, False: 2]
  |  |  ------------------
  |  |  453|      2|        preconfig->ATTR = config->ATTR; \
  |  |  454|      2|    }
  ------------------
  458|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  452|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (452:9): [True: 2, False: 2]
  |  |  ------------------
  |  |  453|      2|        preconfig->ATTR = config->ATTR; \
  |  |  454|      2|    }
  ------------------
  459|      4|    COPY_ATTR(dev_mode);
  ------------------
  |  |  452|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (452:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  453|      0|        preconfig->ATTR = config->ATTR; \
  |  |  454|      0|    }
  ------------------
  460|       |
  461|      4|#undef COPY_ATTR
  462|      4|}
_Py_GetEnv:
  528|     66|{
  529|     66|    assert(use_environment >= 0);
  530|       |
  531|     66|    if (!use_environment) {
  ------------------
  |  Branch (531:9): [True: 0, False: 66]
  ------------------
  532|      0|        return NULL;
  533|      0|    }
  534|       |
  535|     66|    const char *var = getenv(name);
  536|     66|    if (var && var[0] != '\0') {
  ------------------
  |  Branch (536:9): [True: 0, False: 66]
  |  Branch (536:16): [True: 0, False: 0]
  ------------------
  537|      0|        return var;
  538|      0|    }
  539|     66|    else {
  540|       |        return NULL;
  541|     66|    }
  542|     66|}
_Py_get_env_flag:
  565|     12|{
  566|     12|    const char *var = _Py_GetEnv(use_environment, name);
  567|     12|    if (!var) {
  ------------------
  |  Branch (567:9): [True: 12, False: 0]
  ------------------
  568|     12|        return;
  569|     12|    }
  570|      0|    int value;
  571|      0|    if (_Py_str_to_int(var, &value) < 0 || value < 0) {
  ------------------
  |  Branch (571:9): [True: 0, False: 0]
  |  Branch (571:44): [True: 0, False: 0]
  ------------------
  572|       |        /* PYTHONDEBUG=text and PYTHONDEBUG=-2 behave as PYTHONDEBUG=1 */
  573|      0|        value = 1;
  574|      0|    }
  575|      0|    if (*flag < value) {
  ------------------
  |  Branch (575:9): [True: 0, False: 0]
  ------------------
  576|      0|        *flag = value;
  577|      0|    }
  578|      0|}
_Py_get_xoption:
  583|     42|{
  584|     42|    for (Py_ssize_t i=0; i < xoptions->length; i++) {
  ------------------
  |  Branch (584:26): [True: 0, False: 42]
  ------------------
  585|      0|        const wchar_t *option = xoptions->items[i];
  586|      0|        size_t len;
  587|      0|        const wchar_t *sep = wcschr(option, L'=');
  588|      0|        if (sep != NULL) {
  ------------------
  |  Branch (588:13): [True: 0, False: 0]
  ------------------
  589|      0|            len = (sep - option);
  590|      0|        }
  591|      0|        else {
  592|      0|            len = wcslen(option);
  593|      0|        }
  594|      0|        if (wcsncmp(option, name, len) == 0 && name[len] == L'\0') {
  ------------------
  |  Branch (594:13): [True: 0, False: 0]
  |  Branch (594:48): [True: 0, False: 0]
  ------------------
  595|      0|            return option;
  596|      0|        }
  597|      0|    }
  598|     42|    return NULL;
  599|     42|}
_PyPreConfig_Read:
  783|      2|{
  784|      2|    PyStatus status;
  785|       |
  786|      2|    status = _PyRuntime_Initialize();
  787|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  788|      0|        return status;
  789|      0|    }
  790|       |
  791|      2|    preconfig_get_global_vars(config);
  792|       |
  793|       |    /* Copy LC_CTYPE locale, since it's modified later */
  794|      2|    const char *loc = setlocale(LC_CTYPE, NULL);
  795|      2|    if (loc == NULL) {
  ------------------
  |  Branch (795:9): [True: 0, False: 2]
  ------------------
  796|      0|        return _PyStatus_ERR("failed to LC_CTYPE locale");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  797|      0|    }
  798|      2|    char *init_ctype_locale = _PyMem_RawStrdup(loc);
  799|      2|    if (init_ctype_locale == NULL) {
  ------------------
  |  Branch (799:9): [True: 0, False: 2]
  ------------------
  800|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  801|      0|    }
  802|       |
  803|       |    /* Save the config to be able to restore it if encodings change */
  804|      2|    PyPreConfig save_config;
  805|       |
  806|      2|    status = _PyPreConfig_InitFromPreConfig(&save_config, config);
  807|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  808|      0|        return status;
  809|      0|    }
  810|       |
  811|       |    /* Set LC_CTYPE to the user preferred locale */
  812|      2|    if (config->configure_locale) {
  ------------------
  |  Branch (812:9): [True: 2, False: 0]
  ------------------
  813|      2|        _Py_SetLocaleFromEnv(LC_CTYPE);
  814|      2|    }
  815|       |
  816|      2|    PyPreConfig save_runtime_config;
  817|      2|    preconfig_copy(&save_runtime_config, &_PyRuntime.preconfig);
  818|       |
  819|      2|    _PyPreCmdline cmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
  820|      2|    int locale_coerced = 0;
  821|      2|    int loops = 0;
  822|       |
  823|      2|    while (1) {
  ------------------
  |  Branch (823:12): [True: 2, Folded]
  ------------------
  824|      2|        int utf8_mode = config->utf8_mode;
  825|       |
  826|       |        /* Watchdog to prevent an infinite loop */
  827|      2|        loops++;
  828|      2|        if (loops == 3) {
  ------------------
  |  Branch (828:13): [True: 0, False: 2]
  ------------------
  829|      0|            status = _PyStatus_ERR("Encoding changed twice while "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  830|      0|                                   "reading the configuration");
  831|      0|            goto done;
  832|      0|        }
  833|       |
  834|       |        /* bpo-34207: Py_DecodeLocale() and Py_EncodeLocale() depend
  835|       |           on the utf8_mode and legacy_windows_fs_encoding members
  836|       |           of _PyRuntime.preconfig. */
  837|      2|        preconfig_copy(&_PyRuntime.preconfig, config);
  838|       |
  839|      2|        if (args) {
  ------------------
  |  Branch (839:13): [True: 0, False: 2]
  ------------------
  840|       |            // Set command line arguments at each iteration. If they are bytes
  841|       |            // strings, they are decoded from the new encoding.
  842|      0|            status = _PyPreCmdline_SetArgv(&cmdline, args);
  843|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  844|      0|                goto done;
  845|      0|            }
  846|      0|        }
  847|       |
  848|      2|        status = preconfig_read(config, &cmdline);
  849|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  850|      0|            goto done;
  851|      0|        }
  852|       |
  853|       |        /* The legacy C locale assumes ASCII as the default text encoding, which
  854|       |         * causes problems not only for the CPython runtime, but also other
  855|       |         * components like GNU readline.
  856|       |         *
  857|       |         * Accordingly, when the CLI detects it, it attempts to coerce it to a
  858|       |         * more capable UTF-8 based alternative.
  859|       |         *
  860|       |         * See the documentation of the PYTHONCOERCECLOCALE setting for more
  861|       |         * details.
  862|       |         */
  863|      2|        int encoding_changed = 0;
  864|      2|        if (config->coerce_c_locale && !locale_coerced) {
  ------------------
  |  Branch (864:13): [True: 0, False: 2]
  |  Branch (864:40): [True: 0, False: 0]
  ------------------
  865|      0|            locale_coerced = 1;
  866|      0|            _Py_CoerceLegacyLocale(0);
  867|      0|            encoding_changed = 1;
  868|      0|        }
  869|       |
  870|      2|        if (utf8_mode == -1) {
  ------------------
  |  Branch (870:13): [True: 0, False: 2]
  ------------------
  871|      0|            if (config->utf8_mode == 1) {
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|       |                /* UTF-8 Mode enabled */
  873|      0|                encoding_changed = 1;
  874|      0|            }
  875|      0|        }
  876|      2|        else {
  877|      2|            if (config->utf8_mode != utf8_mode) {
  ------------------
  |  Branch (877:17): [True: 0, False: 2]
  ------------------
  878|      0|                encoding_changed = 1;
  879|      0|            }
  880|      2|        }
  881|       |
  882|      2|        if (!encoding_changed) {
  ------------------
  |  Branch (882:13): [True: 2, False: 0]
  ------------------
  883|      2|            break;
  884|      2|        }
  885|       |
  886|       |        /* Reset the configuration before reading again the configuration,
  887|       |           just keep UTF-8 Mode and coerce C locale value. */
  888|      0|        int new_utf8_mode = config->utf8_mode;
  889|      0|        int new_coerce_c_locale = config->coerce_c_locale;
  890|      0|        preconfig_copy(config, &save_config);
  891|      0|        config->utf8_mode = new_utf8_mode;
  892|      0|        config->coerce_c_locale = new_coerce_c_locale;
  893|       |
  894|       |        /* The encoding changed: read again the configuration
  895|       |           with the new encoding */
  896|      0|    }
  897|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  898|       |
  899|      2|done:
  900|       |    // Revert side effects
  901|       |    setlocale(LC_CTYPE, init_ctype_locale);
  902|      2|    PyMem_RawFree(init_ctype_locale);
  903|      2|    preconfig_copy(&_PyRuntime.preconfig, &save_runtime_config);
  904|      2|    _PyPreCmdline_Clear(&cmdline);
  905|      2|    return status;
  906|      2|}
_PyPreConfig_Write:
  923|      2|{
  924|      2|    PyPreConfig config;
  925|       |
  926|      2|    PyStatus status = _PyPreConfig_InitFromPreConfig(&config, src_config);
  927|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  928|      0|        return status;
  929|      0|    }
  930|       |
  931|      2|    if (_Py_IsCoreInitialized()) {
  ------------------
  |  Branch (931:9): [True: 0, False: 2]
  ------------------
  932|       |        /* bpo-34008: Calling this functions after Py_Initialize() ignores
  933|       |           the new configuration. */
  934|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  935|      0|    }
  936|       |
  937|      2|    PyMemAllocatorName name = (PyMemAllocatorName)config.allocator;
  938|      2|    if (name != PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (938:9): [True: 0, False: 2]
  ------------------
  939|      0|        if (_PyMem_SetupAllocators(name) < 0) {
  ------------------
  |  Branch (939:13): [True: 0, False: 0]
  ------------------
  940|      0|            return _PyStatus_ERR("Unknown PYTHONMALLOC allocator");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  941|      0|        }
  942|      0|    }
  943|       |
  944|      2|    preconfig_set_global_vars(&config);
  945|       |
  946|      2|    if (config.configure_locale) {
  ------------------
  |  Branch (946:9): [True: 2, False: 0]
  ------------------
  947|      2|        if (config.coerce_c_locale) {
  ------------------
  |  Branch (947:13): [True: 0, False: 2]
  ------------------
  948|      0|            if (!_Py_CoerceLegacyLocale(config.coerce_c_locale_warn)) {
  ------------------
  |  Branch (948:17): [True: 0, False: 0]
  ------------------
  949|       |                /* C locale not coerced */
  950|      0|                config.coerce_c_locale = 0;
  951|      0|            }
  952|      0|        }
  953|       |
  954|       |        /* Set LC_CTYPE to the user preferred locale */
  955|      2|        _Py_SetLocaleFromEnv(LC_CTYPE);
  956|      2|    }
  957|       |
  958|       |    /* Write the new pre-configuration into _PyRuntime */
  959|      2|    preconfig_copy(&_PyRuntime.preconfig, &config);
  960|       |
  961|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  962|      2|}
preconfig.c:precmdline_get_preconfig:
  133|      4|{
  134|      4|#define COPY_ATTR(ATTR) \
  135|      4|    if (config->ATTR != -1) { \
  136|      4|        cmdline->ATTR = config->ATTR; \
  137|      4|    }
  138|       |
  139|      4|    COPY_ATTR(isolated);
  ------------------
  |  |  135|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  136|      4|        cmdline->ATTR = config->ATTR; \
  |  |  137|      4|    }
  ------------------
  140|      4|    COPY_ATTR(use_environment);
  ------------------
  |  |  135|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 4, False: 0]
  |  |  ------------------
  |  |  136|      4|        cmdline->ATTR = config->ATTR; \
  |  |  137|      4|    }
  ------------------
  141|      4|    COPY_ATTR(dev_mode);
  ------------------
  |  |  135|      4|    if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 2, False: 2]
  |  |  ------------------
  |  |  136|      2|        cmdline->ATTR = config->ATTR; \
  |  |  137|      2|    }
  ------------------
  142|       |
  143|      4|#undef COPY_ATTR
  144|      4|}
preconfig.c:preconfig_copy:
  381|     16|{
  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  383|       |
  384|     16|    COPY_ATTR(_config_init);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  385|     16|    COPY_ATTR(parse_argv);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  386|     16|    COPY_ATTR(isolated);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  387|     16|    COPY_ATTR(use_environment);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  388|     16|    COPY_ATTR(configure_locale);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  389|     16|    COPY_ATTR(dev_mode);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  390|     16|    COPY_ATTR(coerce_c_locale);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  391|     16|    COPY_ATTR(coerce_c_locale_warn);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  392|     16|    COPY_ATTR(utf8_mode);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  393|     16|    COPY_ATTR(allocator);
  ------------------
  |  |  382|     16|#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
  ------------------
  394|       |#ifdef MS_WINDOWS
  395|       |    COPY_ATTR(legacy_windows_fs_encoding);
  396|       |#endif
  397|       |
  398|     16|#undef COPY_ATTR
  399|     16|}
preconfig.c:preconfig_get_global_vars:
  467|      2|{
  468|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (468:9): [True: 0, False: 2]
  ------------------
  469|       |        /* Python and Isolated configuration ignore global variables */
  470|      0|        return;
  471|      0|    }
  472|       |
  473|      2|#define COPY_FLAG(ATTR, VALUE) \
  474|      2|    if (config->ATTR < 0) { \
  475|      2|        config->ATTR = VALUE; \
  476|      2|    }
  477|      2|#define COPY_NOT_FLAG(ATTR, VALUE) \
  478|      2|    if (config->ATTR < 0) { \
  479|      2|        config->ATTR = !(VALUE); \
  480|      2|    }
  481|       |
  482|      2|_Py_COMP_DIAG_PUSH
  483|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  484|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  |  474|      2|    if (config->ATTR < 0) { \
  |  |  ------------------
  |  |  |  Branch (474:9): [True: 2, False: 0]
  |  |  ------------------
  |  |  475|      2|        config->ATTR = VALUE; \
  |  |  476|      2|    }
  ------------------
  485|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  |  478|      2|    if (config->ATTR < 0) { \
  |  |  ------------------
  |  |  |  Branch (478:9): [True: 2, False: 0]
  |  |  ------------------
  |  |  479|      2|        config->ATTR = !(VALUE); \
  |  |  480|      2|    }
  ------------------
  486|      2|    if (Py_UTF8Mode > 0) {
  ------------------
  |  Branch (486:9): [True: 0, False: 2]
  ------------------
  487|      0|        config->utf8_mode = Py_UTF8Mode;
  488|      0|    }
  489|       |#ifdef MS_WINDOWS
  490|       |    COPY_FLAG(legacy_windows_fs_encoding, Py_LegacyWindowsFSEncodingFlag);
  491|       |#endif
  492|      2|_Py_COMP_DIAG_POP
  493|       |
  494|      2|#undef COPY_FLAG
  495|      2|#undef COPY_NOT_FLAG
  496|      2|}
preconfig.c:preconfig_read:
  731|      2|{
  732|      2|    PyStatus status;
  733|       |
  734|      2|    status = _PyPreCmdline_Read(cmdline, config);
  735|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  736|      0|        return status;
  737|      0|    }
  738|       |
  739|      2|    precmdline_set_preconfig(cmdline, config);
  740|       |
  741|       |    /* legacy_windows_fs_encoding, coerce_c_locale, utf8_mode */
  742|       |#ifdef MS_WINDOWS
  743|       |    _Py_get_env_flag(config->use_environment,
  744|       |                     &config->legacy_windows_fs_encoding,
  745|       |                     "PYTHONLEGACYWINDOWSFSENCODING");
  746|       |#endif
  747|       |
  748|      2|    preconfig_init_coerce_c_locale(config);
  749|       |
  750|      2|    status = preconfig_init_utf8_mode(config, cmdline);
  751|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  752|      0|        return status;
  753|      0|    }
  754|       |
  755|       |    /* allocator */
  756|      2|    status = preconfig_init_allocator(config);
  757|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  758|      0|        return status;
  759|      0|    }
  760|       |
  761|      2|    assert(config->coerce_c_locale >= 0);
  762|      2|    assert(config->coerce_c_locale_warn >= 0);
  763|       |#ifdef MS_WINDOWS
  764|       |    assert(config->legacy_windows_fs_encoding >= 0);
  765|       |#endif
  766|      2|    assert(config->utf8_mode >= 0);
  767|      2|    assert(config->isolated >= 0);
  768|      2|    assert(config->use_environment >= 0);
  769|      2|    assert(config->dev_mode >= 0);
  770|       |
  771|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  772|      2|}
preconfig.c:precmdline_set_preconfig:
  149|      2|{
  150|      2|#define COPY_ATTR(ATTR) \
  151|      2|    config->ATTR = cmdline->ATTR
  152|       |
  153|      2|    COPY_ATTR(isolated);
  ------------------
  |  |  151|      2|    config->ATTR = cmdline->ATTR
  ------------------
  154|      2|    COPY_ATTR(use_environment);
  ------------------
  |  |  151|      2|    config->ATTR = cmdline->ATTR
  ------------------
  155|      2|    COPY_ATTR(dev_mode);
  ------------------
  |  |  151|      2|    config->ATTR = cmdline->ATTR
  ------------------
  156|       |
  157|      2|#undef COPY_ATTR
  158|      2|}
preconfig.c:preconfig_init_coerce_c_locale:
  659|      2|{
  660|      2|    if (!config->configure_locale) {
  ------------------
  |  Branch (660:9): [True: 0, False: 2]
  ------------------
  661|      0|        config->coerce_c_locale = 0;
  662|      0|        config->coerce_c_locale_warn = 0;
  663|      0|        return;
  664|      0|    }
  665|       |
  666|      2|    const char *env = _Py_GetEnv(config->use_environment, "PYTHONCOERCECLOCALE");
  667|      2|    if (env) {
  ------------------
  |  Branch (667:9): [True: 0, False: 2]
  ------------------
  668|      0|        if (strcmp(env, "0") == 0) {
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|            if (config->coerce_c_locale < 0) {
  ------------------
  |  Branch (669:17): [True: 0, False: 0]
  ------------------
  670|      0|                config->coerce_c_locale = 0;
  671|      0|            }
  672|      0|        }
  673|      0|        else if (strcmp(env, "warn") == 0) {
  ------------------
  |  Branch (673:18): [True: 0, False: 0]
  ------------------
  674|      0|            if (config->coerce_c_locale_warn < 0) {
  ------------------
  |  Branch (674:17): [True: 0, False: 0]
  ------------------
  675|      0|                config->coerce_c_locale_warn = 1;
  676|      0|            }
  677|      0|        }
  678|      0|        else {
  679|      0|            if (config->coerce_c_locale < 0) {
  ------------------
  |  Branch (679:17): [True: 0, False: 0]
  ------------------
  680|      0|                config->coerce_c_locale = 1;
  681|      0|            }
  682|      0|        }
  683|      0|    }
  684|       |
  685|       |    /* Test if coerce_c_locale equals to -1 or equals to 1:
  686|       |       PYTHONCOERCECLOCALE=1 doesn't imply that the C locale is always coerced.
  687|       |       It is only coerced if the LC_CTYPE locale is "C". */
  688|      2|    if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) {
  ------------------
  |  Branch (688:9): [True: 0, False: 2]
  |  Branch (688:40): [True: 0, False: 2]
  ------------------
  689|       |        /* The C locale enables the C locale coercion (PEP 538) */
  690|      0|        if (_Py_LegacyLocaleDetected(0)) {
  ------------------
  |  Branch (690:13): [True: 0, False: 0]
  ------------------
  691|      0|            config->coerce_c_locale = 2;
  692|      0|        }
  693|      0|        else {
  694|      0|            config->coerce_c_locale = 0;
  695|      0|        }
  696|      0|    }
  697|       |
  698|      2|    if (config->coerce_c_locale_warn < 0) {
  ------------------
  |  Branch (698:9): [True: 0, False: 2]
  ------------------
  699|      0|        config->coerce_c_locale_warn = 0;
  700|      0|    }
  701|      2|}
preconfig.c:preconfig_init_utf8_mode:
  604|      2|{
  605|       |#ifdef MS_WINDOWS
  606|       |    if (config->legacy_windows_fs_encoding) {
  607|       |        config->utf8_mode = 0;
  608|       |    }
  609|       |#endif
  610|       |
  611|      2|    if (config->utf8_mode >= 0) {
  ------------------
  |  Branch (611:9): [True: 2, False: 0]
  ------------------
  612|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  613|      2|    }
  614|       |
  615|      0|    const wchar_t *xopt;
  616|      0|    xopt = _Py_get_xoption(&cmdline->xoptions, L"utf8");
  617|      0|    if (xopt) {
  ------------------
  |  Branch (617:9): [True: 0, False: 0]
  ------------------
  618|      0|        const wchar_t *sep = wcschr(xopt, L'=');
  619|      0|        if (sep) {
  ------------------
  |  Branch (619:13): [True: 0, False: 0]
  ------------------
  620|      0|            xopt = sep + 1;
  621|      0|            if (wcscmp(xopt, L"1") == 0) {
  ------------------
  |  Branch (621:17): [True: 0, False: 0]
  ------------------
  622|      0|                config->utf8_mode = 1;
  623|      0|            }
  624|      0|            else if (wcscmp(xopt, L"0") == 0) {
  ------------------
  |  Branch (624:22): [True: 0, False: 0]
  ------------------
  625|      0|                config->utf8_mode = 0;
  626|      0|            }
  627|      0|            else {
  628|      0|                return _PyStatus_ERR("invalid -X utf8 option value");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  629|      0|            }
  630|      0|        }
  631|      0|        else {
  632|      0|            config->utf8_mode = 1;
  633|      0|        }
  634|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  635|      0|    }
  636|       |
  637|      0|    const char *opt = _Py_GetEnv(config->use_environment, "PYTHONUTF8");
  638|      0|    if (opt) {
  ------------------
  |  Branch (638:9): [True: 0, False: 0]
  ------------------
  639|      0|        if (strcmp(opt, "1") == 0) {
  ------------------
  |  Branch (639:13): [True: 0, False: 0]
  ------------------
  640|      0|            config->utf8_mode = 1;
  641|      0|        }
  642|      0|        else if (strcmp(opt, "0") == 0) {
  ------------------
  |  Branch (642:18): [True: 0, False: 0]
  ------------------
  643|      0|            config->utf8_mode = 0;
  644|      0|        }
  645|      0|        else {
  646|      0|            return _PyStatus_ERR("invalid PYTHONUTF8 environment "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  647|      0|                                "variable value");
  648|      0|        }
  649|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  650|      0|    }
  651|       |
  652|      0|    config->utf8_mode = 1;
  653|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  654|      0|}
preconfig.c:preconfig_init_allocator:
  706|      2|{
  707|      2|    if (config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (707:9): [True: 2, False: 0]
  ------------------
  708|       |        /* bpo-34247. The PYTHONMALLOC environment variable has the priority
  709|       |           over PYTHONDEV env var and "-X dev" command line option.
  710|       |           For example, PYTHONMALLOC=malloc PYTHONDEVMODE=1 sets the memory
  711|       |           allocators to "malloc" (and not to "debug"). */
  712|      2|        const char *envvar = _Py_GetEnv(config->use_environment, "PYTHONMALLOC");
  713|      2|        if (envvar) {
  ------------------
  |  Branch (713:13): [True: 0, False: 2]
  ------------------
  714|      0|            PyMemAllocatorName name;
  715|      0|            if (_PyMem_GetAllocatorName(envvar, &name) < 0) {
  ------------------
  |  Branch (715:17): [True: 0, False: 0]
  ------------------
  716|      0|                return _PyStatus_ERR("PYTHONMALLOC: unknown allocator");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  717|      0|            }
  718|      0|            config->allocator = (int)name;
  719|      0|        }
  720|      2|    }
  721|       |
  722|      2|    if (config->dev_mode && config->allocator == PYMEM_ALLOCATOR_NOT_SET) {
  ------------------
  |  Branch (722:9): [True: 0, False: 2]
  |  Branch (722:29): [True: 0, False: 0]
  ------------------
  723|      0|        config->allocator = PYMEM_ALLOCATOR_DEBUG;
  724|      0|    }
  725|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  726|      2|}
preconfig.c:preconfig_set_global_vars:
  501|      2|{
  502|      2|#define COPY_FLAG(ATTR, VAR) \
  503|      2|    if (config->ATTR >= 0) { \
  504|      2|        VAR = config->ATTR; \
  505|      2|    }
  506|      2|#define COPY_NOT_FLAG(ATTR, VAR) \
  507|      2|    if (config->ATTR >= 0) { \
  508|      2|        VAR = !config->ATTR; \
  509|      2|    }
  510|       |
  511|      2|_Py_COMP_DIAG_PUSH
  512|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  513|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  |  503|      2|    if (config->ATTR >= 0) { \
  |  |  ------------------
  |  |  |  Branch (503:9): [True: 2, False: 0]
  |  |  ------------------
  |  |  504|      2|        VAR = config->ATTR; \
  |  |  505|      2|    }
  ------------------
  514|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  |  507|      2|    if (config->ATTR >= 0) { \
  |  |  ------------------
  |  |  |  Branch (507:9): [True: 2, False: 0]
  |  |  ------------------
  |  |  508|      2|        VAR = !config->ATTR; \
  |  |  509|      2|    }
  ------------------
  515|       |#ifdef MS_WINDOWS
  516|       |    COPY_FLAG(legacy_windows_fs_encoding, Py_LegacyWindowsFSEncodingFlag);
  517|       |#endif
  518|      2|    COPY_FLAG(utf8_mode, Py_UTF8Mode);
  ------------------
  |  |  503|      2|    if (config->ATTR >= 0) { \
  |  |  ------------------
  |  |  |  Branch (503:9): [True: 2, False: 0]
  |  |  ------------------
  |  |  504|      2|        VAR = config->ATTR; \
  |  |  505|      2|    }
  ------------------
  519|      2|_Py_COMP_DIAG_POP
  520|       |
  521|      2|#undef COPY_FLAG
  522|      2|#undef COPY_NOT_FLAG
  523|      2|}

_PyArena_New:
  126|  54.4k|{
  127|  54.4k|    PyArena* arena = (PyArena *)PyMem_Malloc(sizeof(PyArena));
  128|  54.4k|    if (!arena)
  ------------------
  |  Branch (128:9): [True: 0, False: 54.4k]
  ------------------
  129|      0|        return (PyArena*)PyErr_NoMemory();
  130|       |
  131|  54.4k|    arena->a_head = block_new(DEFAULT_BLOCK_SIZE);
  ------------------
  |  |   11|  54.4k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  132|  54.4k|    arena->a_cur = arena->a_head;
  133|  54.4k|    if (!arena->a_head) {
  ------------------
  |  Branch (133:9): [True: 0, False: 54.4k]
  ------------------
  134|      0|        PyMem_Free((void *)arena);
  135|      0|        return (PyArena*)PyErr_NoMemory();
  136|      0|    }
  137|  54.4k|    arena->a_objects = PyList_New(0);
  138|  54.4k|    if (!arena->a_objects) {
  ------------------
  |  Branch (138:9): [True: 0, False: 54.4k]
  ------------------
  139|      0|        block_free(arena->a_head);
  140|      0|        PyMem_Free((void *)arena);
  141|      0|        return (PyArena*)PyErr_NoMemory();
  142|      0|    }
  143|       |#if defined(Py_DEBUG)
  144|       |    arena->total_allocs = 0;
  145|       |    arena->total_size = 0;
  146|       |    arena->total_blocks = 1;
  147|       |    arena->total_block_size = DEFAULT_BLOCK_SIZE;
  148|       |    arena->total_big_blocks = 0;
  149|       |#endif
  150|  54.4k|    return arena;
  151|  54.4k|}
_PyArena_Free:
  155|  54.4k|{
  156|  54.4k|    assert(arena);
  157|       |#if defined(Py_DEBUG)
  158|       |    /*
  159|       |    fprintf(stderr,
  160|       |        "alloc=%zu size=%zu blocks=%zu block_size=%zu big=%zu objects=%zu\n",
  161|       |        arena->total_allocs, arena->total_size, arena->total_blocks,
  162|       |        arena->total_block_size, arena->total_big_blocks,
  163|       |        PyList_Size(arena->a_objects));
  164|       |    */
  165|       |#endif
  166|  54.4k|    block_free(arena->a_head);
  167|       |    /* This property normally holds, except when the code being compiled
  168|       |       is sys.getobjects(0), in which case there will be two references.
  169|       |    assert(arena->a_objects->ob_refcnt == 1);
  170|       |    */
  171|       |
  172|  54.4k|    Py_DECREF(arena->a_objects);
  ------------------
  |  |  430|  54.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  54.4k|    PyMem_Free(arena);
  174|  54.4k|}
_PyArena_Malloc:
  178|  22.8M|{
  179|  22.8M|    void *p = block_alloc(arena->a_cur, size);
  180|  22.8M|    if (!p)
  ------------------
  |  Branch (180:9): [True: 0, False: 22.8M]
  ------------------
  181|      0|        return PyErr_NoMemory();
  182|       |#if defined(Py_DEBUG)
  183|       |    arena->total_allocs++;
  184|       |    arena->total_size += size;
  185|       |#endif
  186|       |    /* Reset cur if we allocated a new block. */
  187|  22.8M|    if (arena->a_cur->ab_next) {
  ------------------
  |  Branch (187:9): [True: 108k, False: 22.7M]
  ------------------
  188|   108k|        arena->a_cur = arena->a_cur->ab_next;
  189|       |#if defined(Py_DEBUG)
  190|       |        arena->total_blocks++;
  191|       |        arena->total_block_size += arena->a_cur->ab_size;
  192|       |        if (arena->a_cur->ab_size > DEFAULT_BLOCK_SIZE)
  193|       |            ++arena->total_big_blocks;
  194|       |#endif
  195|   108k|    }
  196|  22.8M|    return p;
  197|  22.8M|}
_PyArena_AddPyObject:
  201|  6.98M|{
  202|  6.98M|    int r = PyList_Append(arena->a_objects, obj);
  203|  6.98M|    if (r >= 0) {
  ------------------
  |  Branch (203:9): [True: 6.98M, False: 0]
  ------------------
  204|  6.98M|        Py_DECREF(obj);
  ------------------
  |  |  430|  6.98M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|  6.98M|    }
  206|  6.98M|    return r;
  207|  6.98M|}
pyarena.c:block_new:
   75|   163k|{
   76|       |    /* Allocate header and block as one unit.
   77|       |       ab_mem points just past header. */
   78|   163k|    block *b = (block *)PyMem_Malloc(sizeof(block) + size);
   79|   163k|    if (!b)
  ------------------
  |  Branch (79:9): [True: 0, False: 163k]
  ------------------
   80|      0|        return NULL;
   81|   163k|    b->ab_size = size;
   82|   163k|    b->ab_mem = (void *)(b + 1);
   83|   163k|    b->ab_next = NULL;
   84|   163k|    b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) -
  ------------------
  |  |  218|   163k|#define _Py_ALIGN_UP(p, a) ((void *)(((uintptr_t)(p) + \
  |  |  219|   163k|        (uintptr_t)((a) - 1)) & ~(uintptr_t)((a) - 1)))
  ------------------
   85|   163k|            (char *)(b->ab_mem);
   86|   163k|    return b;
   87|   163k|}
pyarena.c:block_free:
   90|  54.4k|block_free(block *b) {
   91|   217k|    while (b) {
  ------------------
  |  Branch (91:12): [True: 163k, False: 54.4k]
  ------------------
   92|   163k|        block *next = b->ab_next;
   93|   163k|        PyMem_Free(b);
   94|   163k|        b = next;
   95|   163k|    }
   96|  54.4k|}
pyarena.c:block_alloc:
  100|  22.8M|{
  101|  22.8M|    void *p;
  102|  22.8M|    assert(b);
  103|  22.8M|    size = _Py_SIZE_ROUND_UP(size, ALIGNMENT);
  ------------------
  |  |  213|  22.8M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  22.8M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  104|  22.8M|    if (b->ab_offset + size > b->ab_size) {
  ------------------
  |  Branch (104:9): [True: 108k, False: 22.7M]
  ------------------
  105|       |        /* If we need to allocate more memory than will fit in
  106|       |           the default block, allocate a one-off block that is
  107|       |           exactly the right size. */
  108|   108k|        block *newbl = block_new(
  109|   108k|                        size < DEFAULT_BLOCK_SIZE ?
  ------------------
  |  |   11|   108k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  |  Branch (109:25): [True: 108k, False: 0]
  ------------------
  110|   108k|                        DEFAULT_BLOCK_SIZE : size);
  ------------------
  |  |   11|   108k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  111|   108k|        if (!newbl)
  ------------------
  |  Branch (111:13): [True: 0, False: 108k]
  ------------------
  112|      0|            return NULL;
  113|   108k|        assert(!b->ab_next);
  114|   108k|        b->ab_next = newbl;
  115|   108k|        b = newbl;
  116|   108k|    }
  117|       |
  118|  22.8M|    assert(b->ab_offset + size <= b->ab_size);
  119|  22.8M|    p = (void *)(((char *)b->ab_mem) + b->ab_offset);
  120|  22.8M|    b->ab_offset += size;
  121|  22.8M|    return p;
  122|  22.8M|}

_Py_HashDouble:
   88|  1.17M|{
   89|  1.17M|    int e, sign;
   90|  1.17M|    double m;
   91|  1.17M|    Py_uhash_t x, y;
   92|       |
   93|  1.17M|    if (!isfinite(v)) {
  ------------------
  |  Branch (93:9): [True: 0, False: 1.17M]
  ------------------
   94|      0|        if (isinf(v))
  ------------------
  |  Branch (94:13): [True: 0, False: 0]
  ------------------
   95|      0|            return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|      0|#define PyHASH_INF 314159
  ------------------
                          return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|      0|#define PyHASH_INF 314159
  ------------------
  |  Branch (95:20): [True: 0, False: 0]
  ------------------
   96|      0|        else
   97|      0|            return PyObject_GenericHash(inst);
   98|      0|    }
   99|       |
  100|  1.17M|    m = frexp(v, &e);
  101|       |
  102|  1.17M|    sign = 1;
  103|  1.17M|    if (m < 0) {
  ------------------
  |  Branch (103:9): [True: 50, False: 1.17M]
  ------------------
  104|     50|        sign = -1;
  105|     50|        m = -m;
  106|     50|    }
  107|       |
  108|       |    /* process 28 bits at a time;  this should work well both for binary
  109|       |       and hexadecimal floating point. */
  110|  1.17M|    x = 0;
  111|  3.46M|    while (m) {
  ------------------
  |  Branch (111:12): [True: 2.29M, False: 1.17M]
  ------------------
  112|  2.29M|        x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   18|  2.29M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  2.29M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                      x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   13|  2.29M|#  define PyHASH_BITS 61
  ------------------
  113|  2.29M|        m *= 268435456.0;  /* 2**28 */
  114|  2.29M|        e -= 28;
  115|  2.29M|        y = (Py_uhash_t)m;  /* pull out integer part */
  116|  2.29M|        m -= y;
  117|  2.29M|        x += y;
  118|  2.29M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|  2.29M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  2.29M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (118:13): [True: 0, False: 2.29M]
  ------------------
  119|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  120|  2.29M|    }
  121|       |
  122|       |    /* adjust for the exponent;  first reduce it modulo PyHASH_BITS */
  123|  1.17M|    e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|     12|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  1.17M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  1.17M|#  define PyHASH_BITS 61
  ------------------
  |  Branch (123:9): [True: 12, False: 1.17M]
  ------------------
  124|  1.17M|    x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   18|  1.17M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  1.17M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                  x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   13|  1.17M|#  define PyHASH_BITS 61
  ------------------
  125|       |
  126|  1.17M|    x = x * sign;
  127|  1.17M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (127:9): [True: 0, False: 1.17M]
  ------------------
  128|      0|        x = (Py_uhash_t)-2;
  129|  1.17M|    return (Py_hash_t)x;
  130|  1.17M|}
Py_HashPointer:
  134|  9.82M|{
  135|  9.82M|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|  9.82M|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 9.82M]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|  9.82M|    return hash;
  140|  9.82M|}
PyObject_GenericHash:
  144|  9.82M|{
  145|  9.82M|    return Py_HashPointer(obj);
  146|  9.82M|}
Py_HashBuffer:
  150|  2.91M|{
  151|       |    /*
  152|       |      We make the hash of the empty string be 0, rather than using
  153|       |      (prefix ^ suffix), since this slightly obfuscates the hash secret
  154|       |    */
  155|  2.91M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 4, False: 2.91M]
  ------------------
  156|      4|        return 0;
  157|      4|    }
  158|       |
  159|       |#ifdef Py_HASH_STATS
  160|       |    hashstats[(len <= Py_HASH_STATS_MAX) ? len : 0]++;
  161|       |#endif
  162|       |
  163|  2.91M|    Py_hash_t x;
  164|       |#if Py_HASH_CUTOFF > 0
  165|       |    if (len < Py_HASH_CUTOFF) {
  166|       |        /* Optimize hashing of very small strings with inline DJBX33A. */
  167|       |        Py_uhash_t hash;
  168|       |        const unsigned char *p = ptr;
  169|       |        hash = 5381; /* DJBX33A starts with 5381 */
  170|       |
  171|       |        switch(len) {
  172|       |            /* ((hash << 5) + hash) + *p == hash * 33 + *p */
  173|       |            case 7: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  174|       |            case 6: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  175|       |            case 5: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  176|       |            case 4: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  177|       |            case 3: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  178|       |            case 2: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  179|       |            case 1: hash = ((hash << 5) + hash) + *p++; break;
  180|       |            default:
  181|       |                Py_UNREACHABLE();
  182|       |        }
  183|       |        hash ^= len;
  184|       |        hash ^= (Py_uhash_t) _Py_HashSecret.djbx33a.suffix;
  185|       |        x = (Py_hash_t)hash;
  186|       |    }
  187|       |    else
  188|       |#endif /* Py_HASH_CUTOFF */
  189|  2.91M|    {
  190|  2.91M|        x = PyHash_Func.hash(ptr, len);
  191|  2.91M|    }
  192|       |
  193|  2.91M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 2.91M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  2.91M|    return x;
  197|  2.91M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  2.91M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  2.91M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  2.91M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  2.91M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  2.91M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  2.91M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  2.91M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  2.91M|    uint64_t t;
  381|  2.91M|    uint8_t *pt;
  382|       |
  383|  6.54M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 3.62M, False: 2.91M]
  ------------------
  384|  3.62M|        uint64_t mi;
  385|  3.62M|        memcpy(&mi, in, sizeof(mi));
  386|  3.62M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  3.62M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  3.62M|        in += sizeof(mi);
  388|  3.62M|        src_sz -= sizeof(mi);
  389|  3.62M|        v3 ^= mi;
  390|  3.62M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  3.62M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  3.62M|    a += b; c += d;                 \
  |  |  |  |  357|  3.62M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  3.62M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  3.62M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  3.62M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  3.62M|    a += b; c += d;                 \
  |  |  |  |  357|  3.62M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  3.62M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  3.62M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  3.62M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  3.62M|        v0 ^= mi;
  392|  3.62M|    }
  393|       |
  394|  2.91M|    t = 0;
  395|  2.91M|    pt = (uint8_t *)&t;
  396|  2.91M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 2.78M, False: 136k]
  ------------------
  397|   422k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   422k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 422k, False: 2.49M]
  ------------------
  398|   863k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   863k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 440k, False: 2.47M]
  ------------------
  399|   984k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   984k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 121k, False: 2.79M]
  ------------------
  400|  2.40M|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 1.41M, False: 1.49M]
  ------------------
  401|   101k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   101k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 101k, False: 2.81M]
  ------------------
  402|   257k|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   257k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 156k, False: 2.76M]
  ------------------
  403|   377k|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 120k, False: 2.79M]
  ------------------
  404|  2.91M|    }
  405|  2.91M|    b |= _le64toh(t);
  ------------------
  |  |  332|  2.91M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  2.91M|    v3 ^= b;
  408|  2.91M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.91M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.91M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  2.91M|    v0 ^= b;
  410|  2.91M|    v2 ^= 0xff;
  411|  2.91M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.91M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.91M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  2.91M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.91M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.91M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  2.91M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  2.91M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  2.91M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  2.91M|    a += b; c += d;                 \
  |  |  |  |  357|  2.91M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  2.91M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  2.91M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.91M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  2.91M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  2.91M|    return t;
  418|  2.91M|}
pyhash.c:pysiphash:
  480|  2.91M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  2.91M|    return (Py_hash_t)siphash13(
  482|  2.91M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  2.91M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  2.91M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  2.91M|        src, src_sz);
  484|  2.91M|}

_PyRuntime_Initialize:
  131|    152|{
  132|       |    /* XXX We only initialize once in the process, which aligns with
  133|       |       the static initialization of the former globals now found in
  134|       |       _PyRuntime.  However, _PyRuntime *should* be initialized with
  135|       |       every Py_Initialize() call, but doing so breaks the runtime.
  136|       |       This is because the runtime state is not properly finalized
  137|       |       currently. */
  138|    152|    if (runtime_initialized) {
  ------------------
  |  Branch (138:9): [True: 150, False: 2]
  ------------------
  139|    150|        return _PyStatus_OK();
  ------------------
  |  |   24|    150|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  140|    150|    }
  141|      2|    runtime_initialized = 1;
  142|       |
  143|      2|    return _PyRuntimeState_Init(&_PyRuntime);
  144|    152|}
_Py_IsCoreInitialized:
  171|      2|{
  172|      2|    return _PyRuntimeState_GetCoreInitialized(&_PyRuntime);
  173|      2|}
Py_IsInitialized:
  177|      2|{
  178|      2|    return _PyRuntimeState_GetInitialized(&_PyRuntime);
  179|      2|}
_Py_SetLocaleFromEnv:
  354|      4|{
  355|      4|    char *res;
  356|       |#ifdef __ANDROID__
  357|       |    const char *locale;
  358|       |    const char **pvar;
  359|       |#ifdef PY_COERCE_C_LOCALE
  360|       |    const char *coerce_c_locale;
  361|       |#endif
  362|       |    const char *utf8_locale = "C.UTF-8";
  363|       |    const char *env_var_set[] = {
  364|       |        "LC_ALL",
  365|       |        "LC_CTYPE",
  366|       |        "LANG",
  367|       |        NULL,
  368|       |    };
  369|       |
  370|       |    /* Android setlocale(category, "") doesn't check the environment variables
  371|       |     * and incorrectly sets the "C" locale at API 24 and older APIs. We only
  372|       |     * check the environment variables listed in env_var_set. */
  373|       |    for (pvar=env_var_set; *pvar; pvar++) {
  374|       |        locale = getenv(*pvar);
  375|       |        if (locale != NULL && *locale != '\0') {
  376|       |            if (strcmp(locale, utf8_locale) == 0 ||
  377|       |                    strcmp(locale, "en_US.UTF-8") == 0) {
  378|       |                return setlocale(category, utf8_locale);
  379|       |            }
  380|       |            return setlocale(category, "C");
  381|       |        }
  382|       |    }
  383|       |
  384|       |    /* Android uses UTF-8, so explicitly set the locale to C.UTF-8 if none of
  385|       |     * LC_ALL, LC_CTYPE, or LANG is set to a non-empty string.
  386|       |     * Quote from POSIX section "8.2 Internationalization Variables":
  387|       |     * "4. If the LANG environment variable is not set or is set to the empty
  388|       |     * string, the implementation-defined default locale shall be used." */
  389|       |
  390|       |#ifdef PY_COERCE_C_LOCALE
  391|       |    coerce_c_locale = getenv("PYTHONCOERCECLOCALE");
  392|       |    if (coerce_c_locale == NULL || strcmp(coerce_c_locale, "0") != 0) {
  393|       |        /* Some other ported code may check the environment variables (e.g. in
  394|       |         * extension modules), so we make sure that they match the locale
  395|       |         * configuration */
  396|       |        if (setenv("LC_CTYPE", utf8_locale, 1)) {
  397|       |            fprintf(stderr, "Warning: failed setting the LC_CTYPE "
  398|       |                            "environment variable to %s\n", utf8_locale);
  399|       |        }
  400|       |    }
  401|       |#endif
  402|       |    res = setlocale(category, utf8_locale);
  403|       |#else /* !defined(__ANDROID__) */
  404|      4|    res = setlocale(category, "");
  405|      4|#endif
  406|      4|    _Py_ResetForceASCII();
  407|      4|    return res;
  408|      4|}
_Py_PreInitializeFromPyArgv:
 1053|      2|{
 1054|      2|    PyStatus status;
 1055|       |
 1056|      2|    if (src_config == NULL) {
  ------------------
  |  Branch (1056:9): [True: 0, False: 2]
  ------------------
 1057|      0|        return _PyStatus_ERR("preinitialization config is NULL");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1058|      0|    }
 1059|       |
 1060|      2|    status = _PyRuntime_Initialize();
 1061|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1062|      0|        return status;
 1063|      0|    }
 1064|      2|    _PyRuntimeState *runtime = &_PyRuntime;
 1065|       |
 1066|      2|    if (runtime->preinitialized) {
  ------------------
  |  Branch (1066:9): [True: 0, False: 2]
  ------------------
 1067|       |        /* If it's already configured: ignored the new configuration */
 1068|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1069|      0|    }
 1070|       |
 1071|       |    /* Note: preinitializing remains 1 on error, it is only set to 0
 1072|       |       at exit on success. */
 1073|      2|    runtime->preinitializing = 1;
 1074|       |
 1075|      2|    PyPreConfig config;
 1076|       |
 1077|      2|    status = _PyPreConfig_InitFromPreConfig(&config, src_config);
 1078|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1079|      0|        return status;
 1080|      0|    }
 1081|       |
 1082|      2|    status = _PyPreConfig_Read(&config, args);
 1083|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1084|      0|        return status;
 1085|      0|    }
 1086|       |
 1087|      2|    status = _PyPreConfig_Write(&config);
 1088|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1089|      0|        return status;
 1090|      0|    }
 1091|       |
 1092|      2|    runtime->preinitializing = 0;
 1093|      2|    runtime->preinitialized = 1;
 1094|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1095|      2|}
Py_PreInitialize:
 1116|      2|{
 1117|       |    return _Py_PreInitializeFromPyArgv(src_config, NULL);
 1118|      2|}
_Py_PreInitializeFromConfig:
 1124|    146|{
 1125|    146|    assert(config != NULL);
 1126|       |
 1127|    146|    PyStatus status = _PyRuntime_Initialize();
 1128|    146|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    146|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 146]
  |  |  ------------------
  ------------------
 1129|      0|        return status;
 1130|      0|    }
 1131|    146|    _PyRuntimeState *runtime = &_PyRuntime;
 1132|       |
 1133|    146|    if (runtime->preinitialized) {
  ------------------
  |  Branch (1133:9): [True: 144, False: 2]
  ------------------
 1134|       |        /* Already initialized: do nothing */
 1135|    144|        return _PyStatus_OK();
  ------------------
  |  |   24|    144|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1136|    144|    }
 1137|       |
 1138|      2|    PyPreConfig preconfig;
 1139|       |
 1140|      2|    _PyPreConfig_InitFromConfig(&preconfig, config);
 1141|       |
 1142|      2|    if (!config->parse_argv) {
  ------------------
  |  Branch (1142:9): [True: 2, False: 0]
  ------------------
 1143|      2|        return Py_PreInitialize(&preconfig);
 1144|      2|    }
 1145|      0|    else if (args == NULL) {
  ------------------
  |  Branch (1145:14): [True: 0, False: 0]
  ------------------
 1146|      0|        _PyArgv config_args = {
 1147|      0|            .use_bytes_argv = 0,
 1148|      0|            .argc = config->argv.length,
 1149|      0|            .wchar_argv = config->argv.items};
 1150|      0|        return _Py_PreInitializeFromPyArgv(&preconfig, &config_args);
 1151|      0|    }
 1152|      0|    else {
 1153|      0|        return _Py_PreInitializeFromPyArgv(&preconfig, args);
 1154|      0|    }
 1155|      2|}
Py_InitializeFromConfig:
 1617|      2|{
 1618|      2|    if (config == NULL) {
  ------------------
  |  Branch (1618:9): [True: 0, False: 2]
  ------------------
 1619|      0|        return _PyStatus_ERR("initialization config is NULL");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1620|      0|    }
 1621|       |
 1622|      2|    PyStatus status;
 1623|       |
 1624|      2|    status = _PyRuntime_Initialize();
 1625|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1626|      0|        return status;
 1627|      0|    }
 1628|      2|    _PyRuntimeState *runtime = &_PyRuntime;
 1629|       |
 1630|      2|    PyThreadState *tstate = NULL;
 1631|      2|    status = pyinit_core(runtime, config, &tstate);
 1632|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1633|      0|        return status;
 1634|      0|    }
 1635|      2|    config = _PyInterpreterState_GetConfig(tstate->interp);
 1636|       |
 1637|      2|    if (config->_init_main) {
  ------------------
  |  Branch (1637:9): [True: 2, False: 0]
  ------------------
 1638|      2|        status = pyinit_main(tstate);
 1639|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1640|      0|            return status;
 1641|      0|        }
 1642|      2|    }
 1643|       |
 1644|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1645|      2|}
Py_InitializeEx:
 1650|      2|{
 1651|      2|    if (Py_IsInitialized()) {
  ------------------
  |  Branch (1651:9): [True: 0, False: 2]
  ------------------
 1652|       |        /* bpo-33932: Calling Py_Initialize() twice does nothing. */
 1653|      0|        return;
 1654|      0|    }
 1655|       |
 1656|      2|    PyStatus status;
 1657|      2|    PyConfig config;
 1658|      2|    _PyConfig_InitCompatConfig(&config);
 1659|       |
 1660|      2|    config.install_signal_handlers = install_sigs;
 1661|       |
 1662|      2|    status = Py_InitializeFromConfig(&config);
 1663|      2|    PyConfig_Clear(&config);
 1664|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1665|      0|        Py_ExitStatusException(status);
 1666|      0|    }
 1667|      2|}
Py_Initialize:
 1671|      2|{
 1672|      2|    Py_InitializeEx(1);
 1673|      2|}
PyOS_getsig:
 3959|    128|{
 3960|    128|#ifdef HAVE_SIGACTION
 3961|    128|    struct sigaction context;
 3962|    128|    if (sigaction(sig, NULL, &context) == -1)
  ------------------
  |  Branch (3962:9): [True: 4, False: 124]
  ------------------
 3963|      4|        return SIG_ERR;
 3964|    124|    return context.sa_handler;
 3965|       |#else
 3966|       |    PyOS_sighandler_t handler;
 3967|       |/* Special signal handling for the secure CRT in Visual Studio 2005 */
 3968|       |#if defined(_MSC_VER) && _MSC_VER >= 1400
 3969|       |    switch (sig) {
 3970|       |    /* Only these signals are valid */
 3971|       |    case SIGINT:
 3972|       |    case SIGILL:
 3973|       |    case SIGFPE:
 3974|       |    case SIGSEGV:
 3975|       |    case SIGTERM:
 3976|       |    case SIGBREAK:
 3977|       |    case SIGABRT:
 3978|       |        break;
 3979|       |    /* Don't call signal() with other values or it will assert */
 3980|       |    default:
 3981|       |        return SIG_ERR;
 3982|       |    }
 3983|       |#endif /* _MSC_VER && _MSC_VER >= 1400 */
 3984|       |    handler = signal(sig, SIG_IGN);
 3985|       |    if (handler != SIG_ERR)
 3986|       |        signal(sig, handler);
 3987|       |    return handler;
 3988|       |#endif
 3989|    128|}
PyOS_setsig:
 3998|      6|{
 3999|      6|#ifdef HAVE_SIGACTION
 4000|       |    /* Some code in Modules/signalmodule.c depends on sigaction() being
 4001|       |     * used here if HAVE_SIGACTION is defined.  Fix that if this code
 4002|       |     * changes to invalidate that assumption.
 4003|       |     */
 4004|      6|    struct sigaction context, ocontext;
 4005|      6|    context.sa_handler = handler;
 4006|      6|    sigemptyset(&context.sa_mask);
 4007|       |    /* Using SA_ONSTACK is friendlier to other C/C++/Golang-VM code that
 4008|       |     * extension module or embedding code may use where tiny thread stacks
 4009|       |     * are used.  https://bugs.python.org/issue43390 */
 4010|      6|    context.sa_flags = SA_ONSTACK;
 4011|      6|    if (sigaction(sig, &context, &ocontext) == -1)
  ------------------
  |  Branch (4011:9): [True: 0, False: 6]
  ------------------
 4012|      0|        return SIG_ERR;
 4013|      6|    return ocontext.sa_handler;
 4014|       |#else
 4015|       |    PyOS_sighandler_t oldhandler;
 4016|       |    oldhandler = signal(sig, handler);
 4017|       |#ifdef HAVE_SIGINTERRUPT
 4018|       |    siginterrupt(sig, 1);
 4019|       |#endif
 4020|       |    return oldhandler;
 4021|       |#endif
 4022|      6|}
pylifecycle.c:pyinit_core:
 1179|      2|{
 1180|      2|    PyStatus status;
 1181|       |
 1182|      2|    status = _Py_PreInitializeFromConfig(src_config, NULL);
 1183|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1184|      0|        return status;
 1185|      0|    }
 1186|       |
 1187|      2|    PyConfig config;
 1188|      2|    PyConfig_InitPythonConfig(&config);
 1189|       |
 1190|      2|    status = _PyConfig_Copy(&config, src_config);
 1191|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1192|      0|        goto done;
 1193|      0|    }
 1194|       |
 1195|       |    // Read the configuration, but don't compute the path configuration
 1196|       |    // (it is computed in the main init).
 1197|      2|    status = _PyConfig_Read(&config, 0);
 1198|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1199|      0|        goto done;
 1200|      0|    }
 1201|       |
 1202|      2|    if (!runtime->core_initialized) {
  ------------------
  |  Branch (1202:9): [True: 2, False: 0]
  ------------------
 1203|      2|        status = pyinit_config(runtime, tstate_p, &config);
 1204|      2|    }
 1205|      0|    else {
 1206|      0|        status = pyinit_core_reconfigure(runtime, tstate_p, &config);
 1207|      0|    }
 1208|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1209|      0|        goto done;
 1210|      0|    }
 1211|       |
 1212|      2|done:
 1213|      2|    PyConfig_Clear(&config);
 1214|      2|    return status;
 1215|      2|}
pylifecycle.c:pyinit_config:
 1027|      2|{
 1028|      2|    PyStatus status = pycore_init_runtime(runtime, config);
 1029|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1030|      0|        return status;
 1031|      0|    }
 1032|       |
 1033|      2|    PyThreadState *tstate;
 1034|      2|    status = pycore_create_interpreter(runtime, config, &tstate);
 1035|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1036|      0|        return status;
 1037|      0|    }
 1038|      2|    *tstate_p = tstate;
 1039|       |
 1040|      2|    status = pycore_interp_init(tstate);
 1041|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1042|      0|        return status;
 1043|      0|    }
 1044|       |
 1045|       |    /* Only when we get here is the runtime core fully initialized */
 1046|      2|    _PyRuntimeState_SetCoreInitialized(runtime, 1);
 1047|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1048|      2|}
pylifecycle.c:pycore_init_runtime:
  531|      2|{
  532|      2|    if (_PyRuntimeState_GetInitialized(runtime)) {
  ------------------
  |  Branch (532:9): [True: 0, False: 2]
  ------------------
  533|      0|        return _PyStatus_ERR("main interpreter already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  534|      0|    }
  535|       |
  536|      2|    PyStatus status = _PyConfig_Write(config, runtime);
  537|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  538|      0|        return status;
  539|      0|    }
  540|       |
  541|       |#if defined(PYMALLOC_USE_HUGEPAGES) && defined(MS_WINDOWS)
  542|       |    if (runtime->allocators.use_hugepages) {
  543|       |        status = get_huge_pages_privilege();
  544|       |        if (_PyStatus_EXCEPTION(status)) {
  545|       |            return status;
  546|       |        }
  547|       |    }
  548|       |#endif
  549|       |
  550|       |    /* Py_Finalize leaves _Py_Finalizing set in order to help daemon
  551|       |     * threads behave a little more gracefully at interpreter shutdown.
  552|       |     * We clobber it here so the new interpreter can start with a clean
  553|       |     * slate.
  554|       |     *
  555|       |     * However, this may still lead to misbehaviour if there are daemon
  556|       |     * threads still hanging around from a previous Py_Initialize/Finalize
  557|       |     * pair :(
  558|       |     */
  559|      2|    _PyRuntimeState_SetFinalizing(runtime, NULL);
  560|       |
  561|      2|    _Py_InitVersion();
  562|      2|    _Py_DumpTraceback_Init();
  563|       |
  564|      2|    status = _Py_HashRandomization_Init(config);
  565|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  566|      0|        return status;
  567|      0|    }
  568|       |
  569|      2|    status = _PyImport_Init();
  570|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  571|      0|        return status;
  572|      0|    }
  573|       |
  574|      2|    status = _PyInterpreterState_Enable(runtime);
  575|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  576|      0|        return status;
  577|      0|    }
  578|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  579|      2|}
pylifecycle.c:pycore_create_interpreter:
  672|      2|{
  673|      2|    PyStatus status;
  674|      2|    PyInterpreterState *interp;
  675|      2|    status = _PyInterpreterState_New(NULL, &interp);
  676|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  677|      0|        return status;
  678|      0|    }
  679|      2|    assert(interp != NULL);
  680|      2|    assert(_Py_IsMainInterpreter(interp));
  681|      2|    _PyInterpreterState_SetWhence(interp, _PyInterpreterState_WHENCE_RUNTIME);
  ------------------
  |  |   18|      2|#define _PyInterpreterState_WHENCE_RUNTIME 1
  ------------------
  682|      2|    interp->_ready = 1;
  683|       |
  684|       |    /* Initialize the module dict watcher early, before any modules are created */
  685|      2|    if (_PyModule_InitModuleDictWatcher(interp) != 0) {
  ------------------
  |  Branch (685:9): [True: 0, False: 2]
  ------------------
  686|      0|        return _PyStatus_ERR("failed to initialize module dict watcher");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  687|      0|    }
  688|       |
  689|      2|    status = _PyConfig_Copy(&interp->config, src_config);
  690|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  691|      0|        return status;
  692|      0|    }
  693|       |
  694|       |    /* Auto-thread-state API */
  695|      2|    status = _PyGILState_Init(interp);
  696|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  697|      0|        return status;
  698|      0|    }
  699|       |
  700|      2|    PyInterpreterConfig config = _PyInterpreterConfig_LEGACY_INIT;
  ------------------
  |  |   76|      2|    { \
  |  |   77|      2|        .use_main_obmalloc = 1, \
  |  |   78|      2|        .allow_fork = 1, \
  |  |   79|      2|        .allow_exec = 1, \
  |  |   80|      2|        .allow_threads = 1, \
  |  |   81|      2|        .allow_daemon_threads = 1, \
  |  |   82|      2|        .check_multi_interp_extensions = _PyInterpreterConfig_LEGACY_CHECK_MULTI_INTERP_EXTENSIONS, \
  |  |  ------------------
  |  |  |  |   72|      2|#  define _PyInterpreterConfig_LEGACY_CHECK_MULTI_INTERP_EXTENSIONS 0
  |  |  ------------------
  |  |   83|      2|        .gil = PyInterpreterConfig_SHARED_GIL, \
  |  |  ------------------
  |  |  |  |   41|      2|#define PyInterpreterConfig_SHARED_GIL (1)
  |  |  ------------------
  |  |   84|      2|    }
  ------------------
  701|       |    // The main interpreter always has its own GIL and supports single-phase
  702|       |    // init extensions.
  703|      2|    config.gil = PyInterpreterConfig_OWN_GIL;
  ------------------
  |  |   42|      2|#define PyInterpreterConfig_OWN_GIL (2)
  ------------------
  704|      2|    config.check_multi_interp_extensions = 0;
  705|      2|    status = init_interp_settings(interp, &config);
  706|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  707|      0|        return status;
  708|      0|    }
  709|       |
  710|       |    // This could be done in init_interpreter() (in pystate.c) if it
  711|       |    // didn't depend on interp->feature_flags being set already.
  712|      2|    status = _PyObject_InitState(interp);
  713|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  714|      0|        return status;
  715|      0|    }
  716|       |
  717|       |#ifdef Py_STATS
  718|       |    // initialize pystats.  This must be done after the settings are loaded.
  719|       |    status = _PyStats_InterpInit(interp);
  720|       |    if (_PyStatus_EXCEPTION(status)) {
  721|       |        return status;
  722|       |    }
  723|       |#endif
  724|       |
  725|       |    // initialize the interp->obmalloc state.  This must be done after
  726|       |    // the settings are loaded (so that feature_flags are set) but before
  727|       |    // any calls are made to obmalloc functions.
  728|      2|    if (_PyMem_init_obmalloc(interp) < 0) {
  ------------------
  |  Branch (728:9): [True: 0, False: 2]
  ------------------
  729|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  730|      0|    }
  731|       |
  732|      2|    status = _PyTraceMalloc_Init();
  733|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  734|      0|        return status;
  735|      0|    }
  736|       |
  737|      2|    PyThreadState *tstate = _PyThreadState_New(interp,
  738|      2|                                               _PyThreadState_WHENCE_INIT);
  ------------------
  |  |  105|      2|#  define _PyThreadState_WHENCE_INIT 1
  ------------------
  739|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (739:9): [True: 0, False: 2]
  ------------------
  740|      0|        return _PyStatus_ERR("can't make first thread");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  741|      0|    }
  742|      2|    runtime->main_tstate = tstate;
  743|      2|    _PyThreadState_Bind(tstate);
  744|       |
  745|      2|    init_interp_create_gil(tstate, config.gil);
  746|       |
  747|      2|    *tstate_p = tstate;
  748|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  749|      2|}
pylifecycle.c:init_interp_settings:
  585|      2|{
  586|      2|    assert(interp->feature_flags == 0);
  587|       |
  588|      2|    if (config->use_main_obmalloc) {
  ------------------
  |  Branch (588:9): [True: 2, False: 0]
  ------------------
  589|      2|        interp->feature_flags |= Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  590|      2|    }
  591|      0|    else if (!config->check_multi_interp_extensions) {
  ------------------
  |  Branch (591:14): [True: 0, False: 0]
  ------------------
  592|       |        /* The reason: PyModuleDef.m_base.m_copy leaks objects between
  593|       |           interpreters. */
  594|      0|        return _PyStatus_ERR("per-interpreter obmalloc does not support "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  595|      0|                             "single-phase init extension modules");
  596|      0|    }
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (!_Py_IsMainInterpreter(interp) &&
  599|       |        !config->check_multi_interp_extensions)
  600|       |    {
  601|       |        return _PyStatus_ERR("The free-threaded build does not support "
  602|       |                             "single-phase init extension modules in "
  603|       |                             "subinterpreters");
  604|       |    }
  605|       |#endif
  606|       |
  607|      2|    if (config->allow_fork) {
  ------------------
  |  Branch (607:9): [True: 2, False: 0]
  ------------------
  608|      2|        interp->feature_flags |= Py_RTFLAGS_FORK;
  ------------------
  |  |   91|      2|#define Py_RTFLAGS_FORK (1UL << 15)
  ------------------
  609|      2|    }
  610|      2|    if (config->allow_exec) {
  ------------------
  |  Branch (610:9): [True: 2, False: 0]
  ------------------
  611|      2|        interp->feature_flags |= Py_RTFLAGS_EXEC;
  ------------------
  |  |   94|      2|#define Py_RTFLAGS_EXEC (1UL << 16)
  ------------------
  612|      2|    }
  613|       |    // Note that fork+exec is always allowed.
  614|       |
  615|      2|    if (config->allow_threads) {
  ------------------
  |  Branch (615:9): [True: 2, False: 0]
  ------------------
  616|      2|        interp->feature_flags |= Py_RTFLAGS_THREADS;
  ------------------
  |  |   85|      2|#define Py_RTFLAGS_THREADS (1UL << 10)
  ------------------
  617|      2|    }
  618|      2|    if (config->allow_daemon_threads) {
  ------------------
  |  Branch (618:9): [True: 2, False: 0]
  ------------------
  619|      2|        interp->feature_flags |= Py_RTFLAGS_DAEMON_THREADS;
  ------------------
  |  |   88|      2|#define Py_RTFLAGS_DAEMON_THREADS (1UL << 11)
  ------------------
  620|      2|    }
  621|       |
  622|      2|    if (config->check_multi_interp_extensions) {
  ------------------
  |  Branch (622:9): [True: 0, False: 2]
  ------------------
  623|      0|        interp->feature_flags |= Py_RTFLAGS_MULTI_INTERP_EXTENSIONS;
  ------------------
  |  |   82|      0|#define Py_RTFLAGS_MULTI_INTERP_EXTENSIONS (1UL << 8)
  ------------------
  624|      0|    }
  625|       |
  626|      2|    switch (config->gil) {
  627|      0|    case PyInterpreterConfig_DEFAULT_GIL: break;
  ------------------
  |  |   40|      0|#define PyInterpreterConfig_DEFAULT_GIL (0)
  ------------------
  |  Branch (627:5): [True: 0, False: 2]
  ------------------
  628|      0|    case PyInterpreterConfig_SHARED_GIL: break;
  ------------------
  |  |   41|      0|#define PyInterpreterConfig_SHARED_GIL (1)
  ------------------
  |  Branch (628:5): [True: 0, False: 2]
  ------------------
  629|      2|    case PyInterpreterConfig_OWN_GIL: break;
  ------------------
  |  |   42|      2|#define PyInterpreterConfig_OWN_GIL (2)
  ------------------
  |  Branch (629:5): [True: 2, False: 0]
  ------------------
  630|      0|    default:
  ------------------
  |  Branch (630:5): [True: 0, False: 2]
  ------------------
  631|      0|        return _PyStatus_ERR("invalid interpreter config 'gil' value");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  632|      2|    }
  633|       |
  634|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  635|      2|}
pylifecycle.c:init_interp_create_gil:
  640|      2|{
  641|       |    /* finalize_interp_delete() comment explains why _PyEval_FiniGIL() is
  642|       |       only called here. */
  643|       |    // XXX This is broken with a per-interpreter GIL.
  644|      2|    _PyEval_FiniGIL(tstate->interp);
  645|       |
  646|       |    /* Auto-thread-state API */
  647|      2|    _PyGILState_SetTstate(tstate);
  648|       |
  649|      2|    int own_gil = (gil == PyInterpreterConfig_OWN_GIL);
  ------------------
  |  |   42|      2|#define PyInterpreterConfig_OWN_GIL (2)
  ------------------
  650|       |
  651|       |    /* Create the GIL and take it */
  652|      2|    _PyEval_InitGIL(tstate, own_gil);
  653|      2|}
pylifecycle.c:pycore_interp_init:
  947|      2|{
  948|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  949|      2|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (949:9): [True: 0, False: 2]
  ------------------
  950|      0|        _Py_InitializeRecursionLimits(tstate);
  951|      0|    }
  952|      2|    PyInterpreterState *interp = tstate->interp;
  953|      2|    PyStatus status;
  954|      2|    PyObject *sysmod = NULL;
  955|       |
  956|       |    // Create singletons before the first PyType_Ready() call, since
  957|       |    // PyType_Ready() uses singletons like the Unicode empty string (tp_doc)
  958|       |    // and the empty tuple singletons (tp_bases).
  959|      2|    status = pycore_init_global_objects(interp);
  960|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  961|      0|        return status;
  962|      0|    }
  963|       |
  964|      2|    status = _PyCode_Init(interp);
  965|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  966|      0|        return status;
  967|      0|    }
  968|       |
  969|      2|    status = _PyDtoa_Init(interp);
  970|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  971|      0|        return status;
  972|      0|    }
  973|       |
  974|       |    // The GC must be initialized before the first GC collection.
  975|      2|    status = _PyGC_Init(interp);
  976|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  977|      0|        return status;
  978|      0|    }
  979|       |
  980|      2|    status = pycore_init_types(interp);
  981|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  982|      0|        goto done;
  983|      0|    }
  984|       |
  985|      2|    if (_PyWarnings_InitState(interp) < 0) {
  ------------------
  |  Branch (985:9): [True: 0, False: 2]
  ------------------
  986|      0|        return _PyStatus_ERR("can't initialize warnings");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  987|      0|    }
  988|       |
  989|      2|    status = _PyAtExit_Init(interp);
  990|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  991|      0|        return status;
  992|      0|    }
  993|       |
  994|      2|    status = _PySys_Create(tstate, &sysmod);
  995|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  996|      0|        goto done;
  997|      0|    }
  998|       |
  999|      2|    status = pycore_init_builtins(tstate);
 1000|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1001|      0|        goto done;
 1002|      0|    }
 1003|       |
 1004|      2|    status = _PyXI_Init(interp);
 1005|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1006|      0|        goto done;
 1007|      0|    }
 1008|       |
 1009|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 1010|       |
 1011|      2|    status = _PyImport_InitCore(tstate, sysmod, config->_install_importlib);
 1012|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1013|      0|        goto done;
 1014|      0|    }
 1015|       |
 1016|      2|done:
 1017|       |    /* sys.modules['sys'] contains a strong reference to the module */
 1018|      2|    Py_XDECREF(sysmod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|      2|    return status;
 1020|      2|}
pylifecycle.c:pycore_init_global_objects:
  754|      2|{
  755|      2|    PyStatus status;
  756|       |
  757|      2|    status = _PyUnicode_InitGlobalObjects(interp);
  758|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  759|      0|        return status;
  760|      0|    }
  761|       |
  762|      2|    _PyUnicode_InitState(interp);
  763|       |
  764|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (764:9): [True: 2, False: 0]
  ------------------
  765|      2|        _Py_GetConstant_Init();
  766|      2|    }
  767|       |
  768|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  769|      2|}
pylifecycle.c:pycore_init_types:
  774|      2|{
  775|      2|    PyStatus status;
  776|       |
  777|      2|    status = _PyTypes_InitTypes(interp);
  778|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  779|      0|        return status;
  780|      0|    }
  781|       |
  782|      2|    status = _PyLong_InitTypes(interp);
  783|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  784|      0|        return status;
  785|      0|    }
  786|       |
  787|      2|    status = _PyUnicode_InitTypes(interp);
  788|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  789|      0|        return status;
  790|      0|    }
  791|       |
  792|      2|    status = _PyFloat_InitTypes(interp);
  793|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  794|      0|        return status;
  795|      0|    }
  796|       |
  797|      2|    if (_PyExc_InitTypes(interp) < 0) {
  ------------------
  |  Branch (797:9): [True: 0, False: 2]
  ------------------
  798|      0|        return _PyStatus_ERR("failed to initialize an exception type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  799|      0|    }
  800|       |
  801|      2|    status = _PyExc_InitGlobalObjects(interp);
  802|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  803|      0|        return status;
  804|      0|    }
  805|       |
  806|      2|    status = _PyExc_InitState(interp);
  807|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  808|      0|        return status;
  809|      0|    }
  810|       |
  811|      2|    status = _PyErr_InitTypes(interp);
  812|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  813|      0|        return status;
  814|      0|    }
  815|       |
  816|      2|    status = _PyContext_Init(interp);
  817|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  818|      0|        return status;
  819|      0|    }
  820|       |
  821|      2|    status = _PyXI_InitTypes(interp);
  822|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  823|      0|        return status;
  824|      0|    }
  825|       |
  826|      2|    status = _PyInterpolation_InitTypes(interp);
  827|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  828|      0|        return status;
  829|      0|    }
  830|       |
  831|      2|    status = _PyDateTime_InitTypes(interp);
  832|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  833|      0|        return status;
  834|      0|    }
  835|       |
  836|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  837|      2|}
pylifecycle.c:pycore_init_builtins:
  841|      2|{
  842|      2|    PyInterpreterState *interp = tstate->interp;
  843|       |
  844|      2|    PyObject *bimod = _PyBuiltin_Init(interp);
  845|      2|    if (bimod == NULL) {
  ------------------
  |  Branch (845:9): [True: 0, False: 2]
  ------------------
  846|      0|        goto error;
  847|      0|    }
  848|       |
  849|      2|    PyObject *modules = _PyImport_GetModules(interp);
  850|      2|    if (_PyImport_FixupBuiltin(tstate, bimod, "builtins", modules) < 0) {
  ------------------
  |  Branch (850:9): [True: 0, False: 2]
  ------------------
  851|      0|        goto error;
  852|      0|    }
  853|       |
  854|      2|    PyObject *builtins_dict = PyModule_GetDict(bimod);
  855|      2|    if (builtins_dict == NULL) {
  ------------------
  |  Branch (855:9): [True: 0, False: 2]
  ------------------
  856|      0|        goto error;
  857|      0|    }
  858|      2|    interp->builtins = Py_NewRef(builtins_dict);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  859|       |
  860|      2|    PyObject *isinstance = PyDict_GetItemWithError(builtins_dict, &_Py_ID(isinstance));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  861|      2|    if (!isinstance) {
  ------------------
  |  Branch (861:9): [True: 0, False: 2]
  ------------------
  862|      0|        goto error;
  863|      0|    }
  864|      2|    interp->callable_cache.isinstance = isinstance;
  865|       |
  866|      2|    PyObject *len = PyDict_GetItemWithError(builtins_dict, &_Py_ID(len));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  867|      2|    if (!len) {
  ------------------
  |  Branch (867:9): [True: 0, False: 2]
  ------------------
  868|      0|        goto error;
  869|      0|    }
  870|      2|    interp->callable_cache.len = len;
  871|       |
  872|      2|    PyObject *all = PyDict_GetItemWithError(builtins_dict, &_Py_ID(all));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|      2|    if (!all) {
  ------------------
  |  Branch (873:9): [True: 0, False: 2]
  ------------------
  874|      0|        goto error;
  875|      0|    }
  876|       |
  877|      2|    PyObject *any = PyDict_GetItemWithError(builtins_dict, &_Py_ID(any));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|      2|    if (!any) {
  ------------------
  |  Branch (878:9): [True: 0, False: 2]
  ------------------
  879|      0|        goto error;
  880|      0|    }
  881|       |
  882|      2|    PyObject *common_objs[NUM_COMMON_CONSTANTS] = {NULL};
  883|      2|    common_objs[CONSTANT_ASSERTIONERROR] = PyExc_AssertionError;
  ------------------
  |  |   71|      2|#define CONSTANT_ASSERTIONERROR 0
  ------------------
  884|      2|    common_objs[CONSTANT_NOTIMPLEMENTEDERROR] = PyExc_NotImplementedError;
  ------------------
  |  |   72|      2|#define CONSTANT_NOTIMPLEMENTEDERROR 1
  ------------------
  885|      2|    common_objs[CONSTANT_BUILTIN_TUPLE] = (PyObject *)&PyTuple_Type;
  ------------------
  |  |   73|      2|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  886|      2|    common_objs[CONSTANT_BUILTIN_ALL] = all;
  ------------------
  |  |   74|      2|#define CONSTANT_BUILTIN_ALL 3
  ------------------
  887|      2|    common_objs[CONSTANT_BUILTIN_ANY] = any;
  ------------------
  |  |   75|      2|#define CONSTANT_BUILTIN_ANY 4
  ------------------
  888|      2|    common_objs[CONSTANT_BUILTIN_LIST] = (PyObject *)&PyList_Type;
  ------------------
  |  |   76|      2|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  889|      2|    common_objs[CONSTANT_BUILTIN_SET] = (PyObject *)&PySet_Type;
  ------------------
  |  |   77|      2|#define CONSTANT_BUILTIN_SET 6
  ------------------
  890|      2|    common_objs[CONSTANT_NONE] = Py_None;
  ------------------
  |  |   78|      2|#define CONSTANT_NONE 7
  ------------------
                  common_objs[CONSTANT_NONE] = Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  891|      2|    common_objs[CONSTANT_EMPTY_STR] =
  ------------------
  |  |   79|      2|#define CONSTANT_EMPTY_STR 8
  ------------------
  892|      2|        Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  893|      2|    common_objs[CONSTANT_TRUE] = Py_True;
  ------------------
  |  |   80|      2|#define CONSTANT_TRUE 9
  ------------------
                  common_objs[CONSTANT_TRUE] = Py_True;
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|      2|    common_objs[CONSTANT_FALSE] = Py_False;
  ------------------
  |  |   81|      2|#define CONSTANT_FALSE 10
  ------------------
                  common_objs[CONSTANT_FALSE] = Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|      2|    common_objs[CONSTANT_MINUS_ONE] =
  ------------------
  |  |   82|      2|#define CONSTANT_MINUS_ONE 11
  ------------------
  896|      2|        (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS - 1];
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS - 1];
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
  897|      2|    common_objs[CONSTANT_BUILTIN_FROZENSET] = (PyObject *)&PyFrozenSet_Type;
  ------------------
  |  |   83|      2|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  898|      2|    common_objs[CONSTANT_EMPTY_TUPLE] =
  ------------------
  |  |   84|      2|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
  899|      2|        Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_TUPLE);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
  900|     30|    for (int i = 0; i < NUM_COMMON_CONSTANTS; i++) {
  ------------------
  |  |   85|     30|#define NUM_COMMON_CONSTANTS 14
  ------------------
  |  Branch (900:21): [True: 28, False: 2]
  ------------------
  901|     28|        assert(common_objs[i] != NULL);
  902|     28|        _Py_SetImmortal(common_objs[i]);
  903|     28|        interp->common_consts[i] = PyStackRef_FromPyObjectBorrow(common_objs[i]);
  904|     28|    }
  905|       |
  906|      2|    PyObject *list_append = _PyType_Lookup(&PyList_Type, &_Py_ID(append));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|      2|    if (list_append == NULL) {
  ------------------
  |  Branch (907:9): [True: 0, False: 2]
  ------------------
  908|      0|        goto error;
  909|      0|    }
  910|      2|    interp->callable_cache.list_append = list_append;
  911|       |
  912|      2|    PyObject *object__getattribute__ = _PyType_Lookup(&PyBaseObject_Type, &_Py_ID(__getattribute__));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  913|      2|    if (object__getattribute__ == NULL) {
  ------------------
  |  Branch (913:9): [True: 0, False: 2]
  ------------------
  914|      0|        goto error;
  915|      0|    }
  916|      2|    interp->callable_cache.object__getattribute__ = object__getattribute__;
  917|       |
  918|      2|    if (_PyType_InitSlotDefs(interp) < 0) {
  ------------------
  |  Branch (918:9): [True: 0, False: 2]
  ------------------
  919|      0|        return _PyStatus_ERR("failed to init slotdefs");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  920|      0|    }
  921|       |
  922|      2|    if (_PyBuiltins_AddExceptions(bimod) < 0) {
  ------------------
  |  Branch (922:9): [True: 0, False: 2]
  ------------------
  923|      0|        return _PyStatus_ERR("failed to add exceptions to builtins");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  924|      0|    }
  925|       |
  926|      2|    interp->builtins_copy = PyDict_Copy(interp->builtins);
  927|      2|    if (interp->builtins_copy == NULL) {
  ------------------
  |  Branch (927:9): [True: 0, False: 2]
  ------------------
  928|      0|        goto error;
  929|      0|    }
  930|      2|    Py_DECREF(bimod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|       |
  932|      2|    if (_PyImport_InitDefaultImportFunc(interp) < 0) {
  ------------------
  |  Branch (932:9): [True: 0, False: 2]
  ------------------
  933|      0|        goto error;
  934|      0|    }
  935|       |
  936|      2|    assert(!_PyErr_Occurred(tstate));
  937|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  938|       |
  939|      0|error:
  940|      0|    Py_XDECREF(bimod);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|    return _PyStatus_ERR("can't initialize builtins module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  942|      2|}
pylifecycle.c:pyinit_main:
 1597|      2|{
 1598|      2|    PyInterpreterState *interp = tstate->interp;
 1599|      2|    if (!_PyRuntimeState_GetCoreInitialized(interp->runtime)) {
  ------------------
  |  Branch (1599:9): [True: 0, False: 2]
  ------------------
 1600|      0|        return _PyStatus_ERR("runtime core not initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1601|      0|    }
 1602|       |
 1603|      2|    if (_PyRuntimeState_GetInitialized(interp->runtime)) {
  ------------------
  |  Branch (1603:9): [True: 0, False: 2]
  ------------------
 1604|      0|        return pyinit_main_reconfigure(tstate);
 1605|      0|    }
 1606|       |
 1607|      2|    PyStatus status = init_interp_main(tstate);
 1608|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1609|      0|        return status;
 1610|      0|    }
 1611|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1612|      2|}
pylifecycle.c:interpreter_update_config:
  413|      2|{
  414|      2|    const PyConfig *config = &tstate->interp->config;
  415|       |
  416|      2|    if (!only_update_path_config) {
  ------------------
  |  Branch (416:9): [True: 0, False: 2]
  ------------------
  417|      0|        PyStatus status = _PyConfig_Write(config, tstate->interp->runtime);
  418|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  419|      0|            _PyErr_SetFromPyStatus(status);
  420|      0|            return -1;
  421|      0|        }
  422|      0|    }
  423|       |
  424|      2|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (424:9): [True: 2, False: 0]
  ------------------
  425|      2|        PyStatus status = _PyPathConfig_UpdateGlobal(config);
  426|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  427|      0|            _PyErr_SetFromPyStatus(status);
  428|      0|            return -1;
  429|      0|        }
  430|      2|    }
  431|       |
  432|      2|    tstate->interp->long_state.max_str_digits = config->int_max_str_digits;
  433|       |
  434|       |    // Update the sys module for the new configuration
  435|      2|    if (_PySys_UpdateConfig(tstate) < 0) {
  ------------------
  |  Branch (435:9): [True: 0, False: 2]
  ------------------
  436|      0|        return -1;
  437|      0|    }
  438|      2|    return 0;
  439|      2|}
pylifecycle.c:init_interp_main:
 1358|      2|{
 1359|      2|    assert(!_PyErr_Occurred(tstate));
 1360|       |
 1361|      2|    PyStatus status;
 1362|      2|    int is_main_interp = _Py_IsMainInterpreter(tstate->interp);
 1363|      2|    PyInterpreterState *interp = tstate->interp;
 1364|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 1365|       |
 1366|      2|    if (!config->_install_importlib) {
  ------------------
  |  Branch (1366:9): [True: 0, False: 2]
  ------------------
 1367|       |        /* Special mode for freeze_importlib: run with no import system
 1368|       |         *
 1369|       |         * This means anything which needs support from extension modules
 1370|       |         * or pure Python code in the standard library won't work.
 1371|       |         */
 1372|      0|        if (is_main_interp) {
  ------------------
  |  Branch (1372:13): [True: 0, False: 0]
  ------------------
 1373|      0|            _PyRuntimeState_SetInitialized(interp->runtime, 1);
 1374|      0|        }
 1375|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1376|      0|    }
 1377|       |
 1378|       |    // Initialize the import-related configuration.
 1379|      2|    status = _PyConfig_InitImportConfig(&interp->config);
 1380|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1381|      0|        return status;
 1382|      0|    }
 1383|       |
 1384|      2|    if (interpreter_update_config(tstate, 1) < 0) {
  ------------------
  |  Branch (1384:9): [True: 0, False: 2]
  ------------------
 1385|      0|        return _PyStatus_ERR("failed to update the Python config");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1386|      0|    }
 1387|       |
 1388|      2|    status = _PyImport_InitExternal(tstate);
 1389|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1390|      0|        return status;
 1391|      0|    }
 1392|       |
 1393|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1393:9): [True: 2, False: 0]
  ------------------
 1394|       |        /* initialize the faulthandler module */
 1395|      2|        status = _PyFaulthandler_Init(config->faulthandler);
 1396|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1397|      0|            return status;
 1398|      0|        }
 1399|      2|    }
 1400|       |
 1401|      2|    status = _PyUnicode_InitEncodings(tstate);
 1402|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1403|      0|        return status;
 1404|      0|    }
 1405|       |
 1406|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1406:9): [True: 2, False: 0]
  ------------------
 1407|      2|        if (_PySignal_Init(config->install_signal_handlers) < 0) {
  ------------------
  |  Branch (1407:13): [True: 0, False: 2]
  ------------------
 1408|      0|            return _PyStatus_ERR("can't initialize signals");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1409|      0|        }
 1410|       |
 1411|      2|        if (config->tracemalloc) {
  ------------------
  |  Branch (1411:13): [True: 0, False: 2]
  ------------------
 1412|      0|           if (_PyTraceMalloc_Start(config->tracemalloc) < 0) {
  ------------------
  |  Branch (1412:16): [True: 0, False: 0]
  ------------------
 1413|      0|                return _PyStatus_ERR("can't start tracemalloc");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1414|      0|            }
 1415|      0|        }
 1416|       |
 1417|      2|#ifdef PY_HAVE_PERF_TRAMPOLINE
 1418|      2|        if (config->perf_profiling) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 2]
  ------------------
 1419|      0|            _PyPerf_Callbacks *cur_cb;
 1420|      0|            if (config->perf_profiling == 1) {
  ------------------
  |  Branch (1420:17): [True: 0, False: 0]
  ------------------
 1421|      0|                cur_cb = &_Py_perfmap_callbacks;
 1422|      0|            }
 1423|      0|            else {
 1424|      0|                cur_cb = &_Py_perfmap_jit_callbacks;
 1425|      0|            }
 1426|      0|            if (_PyPerfTrampoline_SetCallbacks(cur_cb) < 0 ||
  ------------------
  |  Branch (1426:17): [True: 0, False: 0]
  ------------------
 1427|      0|                    _PyPerfTrampoline_Init(config->perf_profiling) < 0) {
  ------------------
  |  Branch (1427:21): [True: 0, False: 0]
  ------------------
 1428|      0|                return _PyStatus_ERR("can't initialize the perf trampoline");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1429|      0|            }
 1430|      0|        }
 1431|      2|#endif
 1432|      2|    }
 1433|       |
 1434|      2|    status = init_sys_streams(tstate);
 1435|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1436|      0|        return status;
 1437|      0|    }
 1438|       |
 1439|      2|    status = init_set_builtins_open();
 1440|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1441|      0|        return status;
 1442|      0|    }
 1443|       |
 1444|       |#ifdef __ANDROID__
 1445|       |    status = init_android_streams(tstate);
 1446|       |    if (_PyStatus_EXCEPTION(status)) {
 1447|       |        return status;
 1448|       |    }
 1449|       |#endif
 1450|       |#if defined(__APPLE__) && HAS_APPLE_SYSTEM_LOG
 1451|       |    if (config->use_system_logger) {
 1452|       |        status = init_apple_streams(tstate);
 1453|       |        if (_PyStatus_EXCEPTION(status)) {
 1454|       |            return status;
 1455|       |        }
 1456|       |    }
 1457|       |#endif
 1458|       |
 1459|       |#ifdef Py_DEBUG
 1460|       |    run_presite(tstate);
 1461|       |#endif
 1462|       |
 1463|      2|    status = add_main_module(interp);
 1464|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1465|      0|        return status;
 1466|      0|    }
 1467|       |
 1468|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1468:9): [True: 2, False: 0]
  ------------------
 1469|       |        /* Initialize warnings. */
 1470|      2|        PyObject *warnoptions;
 1471|      2|        if (PySys_GetOptionalAttrString("warnoptions", &warnoptions) < 0) {
  ------------------
  |  Branch (1471:13): [True: 0, False: 2]
  ------------------
 1472|      0|            return _PyStatus_ERR("can't initialize warnings");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1473|      0|        }
 1474|      2|        if (warnoptions != NULL && PyList_Check(warnoptions) &&
  ------------------
  |  |   25|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1474:13): [True: 2, False: 0]
  ------------------
 1475|      2|            PyList_Size(warnoptions) > 0)
  ------------------
  |  Branch (1475:13): [True: 0, False: 2]
  ------------------
 1476|      0|        {
 1477|      0|            PyObject *warnings_module = PyImport_ImportModule("warnings");
 1478|      0|            if (warnings_module == NULL) {
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|      0|                fprintf(stderr, "'import warnings' failed; traceback:\n");
 1480|      0|                _PyErr_Print(tstate);
 1481|      0|            }
 1482|      0|            Py_XDECREF(warnings_module);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      0|        }
 1484|      2|        Py_XDECREF(warnoptions);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1485|      2|    }
 1486|       |
 1487|      2|    if (config->site_import) {
  ------------------
  |  Branch (1487:9): [True: 2, False: 0]
  ------------------
 1488|      2|        status = init_import_site();
 1489|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1490|      0|            return status;
 1491|      0|        }
 1492|      2|    }
 1493|       |
 1494|       |    // Initialize lazy imports based on configuration. Do this after site
 1495|       |    // module is imported to avoid circular imports during startup.
 1496|      2|    if (config->lazy_imports == 0) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 2]
  ------------------
 1497|      0|        return _PyStatus_ERR("PyConfig.lazy_imports=0 is not supported");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1498|      0|    }
 1499|      2|    if (config->lazy_imports == 1) {
  ------------------
  |  Branch (1499:9): [True: 0, False: 2]
  ------------------
 1500|      0|        if (PyImport_SetLazyImportsMode(PyImport_LAZY_ALL) < 0) {
  ------------------
  |  Branch (1500:13): [True: 0, False: 0]
  ------------------
 1501|      0|            return _PyStatus_ERR("failed to set lazy imports mode");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1502|      0|        }
 1503|      0|    }
 1504|       |    // If config->lazy_imports == -1, use the default mode, no change needed.
 1505|       |
 1506|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1506:9): [True: 2, False: 0]
  ------------------
 1507|      2|#ifndef MS_WINDOWS
 1508|      2|        emit_stderr_warning_for_legacy_locale(interp->runtime);
 1509|      2|#endif
 1510|      2|    }
 1511|       |
 1512|       |    // Turn on experimental tier 2 (uops-based) optimizer
 1513|       |    // This is also needed when the JIT is enabled
 1514|       |#ifdef _Py_TIER2
 1515|       |    if (is_main_interp) {
 1516|       |        int enabled = 1;
 1517|       |#if _Py_TIER2 & 2
 1518|       |        enabled = 0;
 1519|       |#endif
 1520|       |        char *env = Py_GETENV("PYTHON_JIT");
 1521|       |        if (env && *env != '\0') {
 1522|       |            // PYTHON_JIT=0|1 overrides the default
 1523|       |            enabled = *env != '0';
 1524|       |        }
 1525|       |        if (enabled) {
 1526|       |#ifdef _Py_JIT
 1527|       |            // perf profiler works fine with tier 2 interpreter, so
 1528|       |            // only checking for a "real JIT".
 1529|       |            if (config->perf_profiling > 0) {
 1530|       |                (void)PyErr_WarnEx(
 1531|       |                    PyExc_RuntimeWarning,
 1532|       |                    "JIT deactivated as perf profiling support is active",
 1533|       |                    0);
 1534|       |            } else
 1535|       |#endif
 1536|       |            {
 1537|       |                interp->jit = true;
 1538|       |            }
 1539|       |        }
 1540|       |    }
 1541|       |#endif
 1542|       |
 1543|      2|    if (!is_main_interp) {
  ------------------
  |  Branch (1543:9): [True: 0, False: 2]
  ------------------
 1544|       |        // The main interpreter is handled in Py_Main(), for now.
 1545|      0|        if (config->sys_path_0 != NULL) {
  ------------------
  |  Branch (1545:13): [True: 0, False: 0]
  ------------------
 1546|      0|            PyObject *path0 = PyUnicode_FromWideChar(config->sys_path_0, -1);
 1547|      0|            if (path0 == NULL) {
  ------------------
  |  Branch (1547:17): [True: 0, False: 0]
  ------------------
 1548|      0|                return _PyStatus_ERR("can't initialize sys.path[0]");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1549|      0|            }
 1550|      0|            PyObject *sysdict = interp->sysdict;
 1551|      0|            if (sysdict == NULL) {
  ------------------
  |  Branch (1551:17): [True: 0, False: 0]
  ------------------
 1552|      0|                Py_DECREF(path0);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|      0|                return _PyStatus_ERR("can't initialize sys.path[0]");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1554|      0|            }
 1555|      0|            PyObject *sys_path = PyDict_GetItemWithError(sysdict, &_Py_ID(path));
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      0|            if (sys_path == NULL) {
  ------------------
  |  Branch (1556:17): [True: 0, False: 0]
  ------------------
 1557|      0|                Py_DECREF(path0);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      0|                return _PyStatus_ERR("can't initialize sys.path[0]");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1559|      0|            }
 1560|      0|            int res = PyList_Insert(sys_path, 0, path0);
 1561|      0|            Py_DECREF(path0);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1562|      0|            if (res) {
  ------------------
  |  Branch (1562:17): [True: 0, False: 0]
  ------------------
 1563|      0|                return _PyStatus_ERR("can't initialize sys.path[0]");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1564|      0|            }
 1565|      0|        }
 1566|      0|    }
 1567|       |
 1568|       |
 1569|      2|    interp->dict_state.watchers[0] = &builtins_dict_watcher;
 1570|      2|    if (PyDict_Watch(0, interp->builtins) != 0) {
  ------------------
  |  Branch (1570:9): [True: 0, False: 2]
  ------------------
 1571|      0|        return _PyStatus_ERR("failed to set builtin dict watcher");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1572|      0|    }
 1573|       |
 1574|      2|    assert(!_PyErr_Occurred(tstate));
 1575|       |
 1576|      2|    if (is_main_interp) {
  ------------------
  |  Branch (1576:9): [True: 2, False: 0]
  ------------------
 1577|      2|        _PyRuntimeState_SetInitialized(interp->runtime, 1);
 1578|      2|    }
 1579|       |
 1580|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1581|      2|}
pylifecycle.c:init_sys_streams:
 3156|      2|{
 3157|      2|    PyObject *iomod = NULL;
 3158|      2|    PyObject *std = NULL;
 3159|      2|    int fd;
 3160|      2|    PyObject * encoding_attr;
 3161|      2|    PyStatus res = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3162|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 3163|       |
 3164|       |    /* Check that stdin is not a directory
 3165|       |       Using shell redirection, you can redirect stdin to a directory,
 3166|       |       crashing the Python interpreter. Catch this common mistake here
 3167|       |       and output a useful error message. Note that under MS Windows,
 3168|       |       the shell already prevents that. */
 3169|      2|#ifndef MS_WINDOWS
 3170|      2|    struct _Py_stat_struct sb;
 3171|      2|    if (_Py_fstat_noraise(fileno(stdin), &sb) == 0 &&
  ------------------
  |  Branch (3171:9): [True: 2, False: 0]
  ------------------
 3172|      2|        S_ISDIR(sb.st_mode)) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 2]
  ------------------
 3173|      0|        return _PyStatus_ERR("<stdin> is a directory, cannot continue");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3174|      0|    }
 3175|      2|#endif
 3176|       |
 3177|      2|    if (!(iomod = PyImport_ImportModule("_io"))) {
  ------------------
  |  Branch (3177:9): [True: 0, False: 2]
  ------------------
 3178|      0|        goto error;
 3179|      0|    }
 3180|       |
 3181|       |    /* Set sys.stdin */
 3182|      2|    fd = fileno(stdin);
 3183|       |    /* Under some conditions stdin, stdout and stderr may not be connected
 3184|       |     * and fileno() may point to an invalid file descriptor. For example
 3185|       |     * GUI apps don't have valid standard streams by default.
 3186|       |     */
 3187|      2|    std = create_stdio(config, iomod, fd, 0, "<stdin>",
 3188|      2|                       config->stdio_encoding,
 3189|      2|                       config->stdio_errors);
 3190|      2|    if (std == NULL)
  ------------------
  |  Branch (3190:9): [True: 0, False: 2]
  ------------------
 3191|      0|        goto error;
 3192|      2|    PySys_SetObject("__stdin__", std);
 3193|      2|    _PySys_SetAttr(&_Py_ID(stdin), std);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3194|      2|    Py_DECREF(std);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3195|       |
 3196|       |    /* Set sys.stdout */
 3197|      2|    fd = fileno(stdout);
 3198|      2|    std = create_stdio(config, iomod, fd, 1, "<stdout>",
 3199|      2|                       config->stdio_encoding,
 3200|      2|                       config->stdio_errors);
 3201|      2|    if (std == NULL)
  ------------------
  |  Branch (3201:9): [True: 0, False: 2]
  ------------------
 3202|      0|        goto error;
 3203|      2|    PySys_SetObject("__stdout__", std);
 3204|      2|    _PySys_SetAttr(&_Py_ID(stdout), std);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3205|      2|    Py_DECREF(std);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|       |
 3207|      2|#if 1 /* Disable this if you have trouble debugging bootstrap stuff */
 3208|       |    /* Set sys.stderr, replaces the preliminary stderr */
 3209|      2|    fd = fileno(stderr);
 3210|      2|    std = create_stdio(config, iomod, fd, 1, "<stderr>",
 3211|      2|                       config->stdio_encoding,
 3212|      2|                       L"backslashreplace");
 3213|      2|    if (std == NULL)
  ------------------
  |  Branch (3213:9): [True: 0, False: 2]
  ------------------
 3214|      0|        goto error;
 3215|       |
 3216|       |    /* Same as hack above, pre-import stderr's codec to avoid recursion
 3217|       |       when import.c tries to write to stderr in verbose mode. */
 3218|      2|    encoding_attr = PyObject_GetAttrString(std, "encoding");
 3219|      2|    if (encoding_attr != NULL) {
  ------------------
  |  Branch (3219:9): [True: 2, False: 0]
  ------------------
 3220|      2|        const char *std_encoding = PyUnicode_AsUTF8(encoding_attr);
 3221|      2|        if (std_encoding != NULL) {
  ------------------
  |  Branch (3221:13): [True: 2, False: 0]
  ------------------
 3222|      2|            PyObject *codec_info = _PyCodec_Lookup(std_encoding);
 3223|      2|            Py_XDECREF(codec_info);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3224|      2|        }
 3225|      2|        Py_DECREF(encoding_attr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3226|      2|    }
 3227|      2|    _PyErr_Clear(tstate);  /* Not a fatal error if codec isn't available */
 3228|       |
 3229|      2|    if (PySys_SetObject("__stderr__", std) < 0) {
  ------------------
  |  Branch (3229:9): [True: 0, False: 2]
  ------------------
 3230|      0|        Py_DECREF(std);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|      0|        goto error;
 3232|      0|    }
 3233|      2|    if (_PySys_SetAttr(&_Py_ID(stderr), std) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3233:9): [True: 0, False: 2]
  ------------------
 3234|      0|        Py_DECREF(std);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3235|      0|        goto error;
 3236|      0|    }
 3237|      2|    Py_DECREF(std);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3238|      2|#endif
 3239|       |
 3240|      2|    goto done;
 3241|       |
 3242|      0|error:
 3243|      0|    res = _PyStatus_ERR("can't initialize sys standard streams");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3244|       |
 3245|      2|done:
 3246|      2|    Py_XDECREF(iomod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3247|      2|    return res;
 3248|      0|}
pylifecycle.c:create_stdio:
 2984|      6|{
 2985|      6|    PyObject *buf = NULL, *stream = NULL, *text = NULL, *raw = NULL, *res;
 2986|      6|    const char* mode;
 2987|      6|    const char* newline;
 2988|      6|    PyObject *line_buffering, *write_through;
 2989|      6|    int buffering, isatty;
 2990|      6|    const int buffered_stdio = config->buffered_stdio;
 2991|       |
 2992|      6|    if (!_Py_IsValidFD(fd)) {
  ------------------
  |  Branch (2992:9): [True: 0, False: 6]
  ------------------
 2993|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2994|      0|    }
 2995|       |
 2996|       |    /* stdin is always opened in buffered mode, first because it shouldn't
 2997|       |       make a difference in common use cases, second because TextIOWrapper
 2998|       |       depends on the presence of a read1() method which only exists on
 2999|       |       buffered streams.
 3000|       |    */
 3001|      6|    if (!buffered_stdio && write_mode)
  ------------------
  |  Branch (3001:9): [True: 0, False: 6]
  |  Branch (3001:28): [True: 0, False: 0]
  ------------------
 3002|      0|        buffering = 0;
 3003|      6|    else
 3004|      6|        buffering = -1;
 3005|      6|    if (write_mode)
  ------------------
  |  Branch (3005:9): [True: 4, False: 2]
  ------------------
 3006|      4|        mode = "wb";
 3007|      2|    else
 3008|      2|        mode = "rb";
 3009|      6|    buf = _PyObject_CallMethod(io, &_Py_ID(open), "isiOOOO",
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      6|                               fd, mode, buffering,
 3011|      6|                               Py_None, Py_None, /* encoding, errors */
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                             Py_None, Py_None, /* encoding, errors */
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3012|      6|                               Py_None, Py_False); /* newline, closefd */
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                             Py_None, Py_False); /* newline, closefd */
  ------------------
  |  |   25|      6|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3013|      6|    if (buf == NULL)
  ------------------
  |  Branch (3013:9): [True: 0, False: 6]
  ------------------
 3014|      0|        goto error;
 3015|       |
 3016|      6|    if (buffering) {
  ------------------
  |  Branch (3016:9): [True: 6, False: 0]
  ------------------
 3017|      6|        raw = PyObject_GetAttr(buf, &_Py_ID(raw));
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|      6|        if (raw == NULL)
  ------------------
  |  Branch (3018:13): [True: 0, False: 6]
  ------------------
 3019|      0|            goto error;
 3020|      6|    }
 3021|      0|    else {
 3022|      0|        raw = Py_NewRef(buf);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      0|    }
 3024|       |
 3025|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
 3026|       |    /* Windows console IO is always UTF-8 encoded */
 3027|       |    PyTypeObject *winconsoleio_type = (PyTypeObject *)PyImport_ImportModuleAttr(
 3028|       |            &_Py_ID(_io), &_Py_ID(_WindowsConsoleIO));
 3029|       |    if (winconsoleio_type == NULL) {
 3030|       |        goto error;
 3031|       |    }
 3032|       |    int is_subclass = PyObject_TypeCheck(raw, winconsoleio_type);
 3033|       |    Py_DECREF(winconsoleio_type);
 3034|       |    if (is_subclass) {
 3035|       |        encoding = L"utf-8";
 3036|       |    }
 3037|       |#endif
 3038|       |
 3039|      6|    text = PyUnicode_FromString(name);
 3040|      6|    if (text == NULL || PyObject_SetAttr(raw, &_Py_ID(name), text) < 0)
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3040:9): [True: 0, False: 6]
  |  Branch (3040:25): [True: 0, False: 6]
  ------------------
 3041|      0|        goto error;
 3042|      6|    res = PyObject_CallMethodNoArgs(raw, &_Py_ID(isatty));
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      6|    if (res == NULL)
  ------------------
  |  Branch (3043:9): [True: 0, False: 6]
  ------------------
 3044|      0|        goto error;
 3045|      6|    isatty = PyObject_IsTrue(res);
 3046|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|      6|    if (isatty == -1)
  ------------------
  |  Branch (3047:9): [True: 0, False: 6]
  ------------------
 3048|      0|        goto error;
 3049|      6|    if (!buffered_stdio)
  ------------------
  |  Branch (3049:9): [True: 0, False: 6]
  ------------------
 3050|      0|        write_through = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      6|    else
 3052|      6|        write_through = Py_False;
  ------------------
  |  |   25|      6|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      6|    if (buffered_stdio && (isatty || fd == fileno(stderr)))
  ------------------
  |  Branch (3053:9): [True: 6, False: 0]
  |  Branch (3053:28): [True: 0, False: 6]
  |  Branch (3053:38): [True: 2, False: 4]
  ------------------
 3054|      2|        line_buffering = Py_True;
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3055|      4|    else
 3056|      4|        line_buffering = Py_False;
  ------------------
  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3057|       |
 3058|      6|    Py_CLEAR(raw);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3059|      6|    Py_CLEAR(text);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3060|       |
 3061|       |#ifdef MS_WINDOWS
 3062|       |    /* sys.stdin: enable universal newline mode, translate "\r\n" and "\r"
 3063|       |       newlines to "\n".
 3064|       |       sys.stdout and sys.stderr: translate "\n" to "\r\n". */
 3065|       |    newline = NULL;
 3066|       |#else
 3067|       |    /* sys.stdin: split lines at "\n".
 3068|       |       sys.stdout and sys.stderr: don't translate newlines (use "\n"). */
 3069|      6|    newline = "\n";
 3070|      6|#endif
 3071|       |
 3072|      6|    PyObject *encoding_str = PyUnicode_FromWideChar(encoding, -1);
 3073|      6|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3073:9): [True: 0, False: 6]
  ------------------
 3074|      0|        Py_CLEAR(buf);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3075|      0|        goto error;
 3076|      0|    }
 3077|       |
 3078|      6|    PyObject *errors_str = PyUnicode_FromWideChar(errors, -1);
 3079|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (3079:9): [True: 0, False: 6]
  ------------------
 3080|      0|        Py_CLEAR(buf);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3081|      0|        Py_CLEAR(encoding_str);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3082|      0|        goto error;
 3083|      0|    }
 3084|       |
 3085|      6|    stream = _PyObject_CallMethod(io, &_Py_ID(TextIOWrapper), "OOOsOO",
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|      6|                                  buf, encoding_str, errors_str,
 3087|      6|                                  newline, line_buffering, write_through);
 3088|      6|    Py_CLEAR(buf);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3089|      6|    Py_CLEAR(encoding_str);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3090|      6|    Py_CLEAR(errors_str);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3091|      6|    if (stream == NULL)
  ------------------
  |  Branch (3091:9): [True: 0, False: 6]
  ------------------
 3092|      0|        goto error;
 3093|       |
 3094|      6|    if (write_mode)
  ------------------
  |  Branch (3094:9): [True: 4, False: 2]
  ------------------
 3095|      4|        mode = "w";
 3096|      2|    else
 3097|      2|        mode = "r";
 3098|      6|    text = PyUnicode_FromString(mode);
 3099|      6|    if (!text || PyObject_SetAttr(stream, &_Py_ID(mode), text) < 0)
  ------------------
  |  |  919|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3099:9): [True: 0, False: 6]
  |  Branch (3099:18): [True: 0, False: 6]
  ------------------
 3100|      0|        goto error;
 3101|      6|    Py_CLEAR(text);
  ------------------
  |  |  484|      6|    do { \
  |  |  485|      6|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      6|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  488|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      6|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      6|        } \
  |  |  491|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3102|      6|    return stream;
 3103|       |
 3104|      0|error:
 3105|      0|    Py_XDECREF(buf);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3106|      0|    Py_XDECREF(stream);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3107|      0|    Py_XDECREF(text);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|      0|    Py_XDECREF(raw);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3109|       |
 3110|      0|    if (PyErr_ExceptionMatches(PyExc_OSError) && !_Py_IsValidFD(fd)) {
  ------------------
  |  Branch (3110:9): [True: 0, False: 0]
  |  Branch (3110:50): [True: 0, False: 0]
  ------------------
 3111|       |        /* Issue #24891: the file descriptor was closed after the first
 3112|       |           _Py_IsValidFD() check was called. Ignore the OSError and set the
 3113|       |           stream to None. */
 3114|      0|        PyErr_Clear();
 3115|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3116|      0|    }
 3117|      0|    return NULL;
 3118|      0|}
pylifecycle.c:init_set_builtins_open:
 3123|      2|{
 3124|      2|    PyObject *wrapper;
 3125|      2|    PyObject *bimod = NULL;
 3126|      2|    PyStatus res = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3127|       |
 3128|      2|    if (!(bimod = PyImport_ImportModule("builtins"))) {
  ------------------
  |  Branch (3128:9): [True: 0, False: 2]
  ------------------
 3129|      0|        goto error;
 3130|      0|    }
 3131|       |
 3132|      2|    if (!(wrapper = PyImport_ImportModuleAttrString("_io", "open"))) {
  ------------------
  |  Branch (3132:9): [True: 0, False: 2]
  ------------------
 3133|      0|        goto error;
 3134|      0|    }
 3135|       |
 3136|       |    /* Set builtins.open */
 3137|      2|    if (PyObject_SetAttrString(bimod, "open", wrapper) == -1) {
  ------------------
  |  Branch (3137:9): [True: 0, False: 2]
  ------------------
 3138|      0|        Py_DECREF(wrapper);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3139|      0|        goto error;
 3140|      0|    }
 3141|      2|    Py_DECREF(wrapper);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3142|      2|    goto done;
 3143|       |
 3144|      0|error:
 3145|      0|    res = _PyStatus_ERR("can't initialize io.open");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3146|       |
 3147|      2|done:
 3148|      2|    Py_XDECREF(bimod);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3149|      2|    return res;
 3150|      0|}
pylifecycle.c:add_main_module:
 2917|      2|{
 2918|      2|    PyObject *m, *d;
 2919|      2|    m = PyImport_AddModuleObject(&_Py_ID(__main__));
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2920|      2|    if (m == NULL)
  ------------------
  |  Branch (2920:9): [True: 0, False: 2]
  ------------------
 2921|      0|        return _PyStatus_ERR("can't create __main__ module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2922|       |
 2923|      2|    d = PyModule_GetDict(m);
 2924|       |
 2925|      2|    int has_builtins = PyDict_ContainsString(d, "__builtins__");
 2926|      2|    if (has_builtins < 0) {
  ------------------
  |  Branch (2926:9): [True: 0, False: 2]
  ------------------
 2927|      0|        return _PyStatus_ERR("Failed to test __main__.__builtins__");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2928|      0|    }
 2929|      2|    if (!has_builtins) {
  ------------------
  |  Branch (2929:9): [True: 2, False: 0]
  ------------------
 2930|      2|        PyObject *bimod = PyImport_ImportModule("builtins");
 2931|      2|        if (bimod == NULL) {
  ------------------
  |  Branch (2931:13): [True: 0, False: 2]
  ------------------
 2932|      0|            return _PyStatus_ERR("Failed to retrieve builtins module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2933|      0|        }
 2934|      2|        if (PyDict_SetItemString(d, "__builtins__", bimod) < 0) {
  ------------------
  |  Branch (2934:13): [True: 0, False: 2]
  ------------------
 2935|      0|            return _PyStatus_ERR("Failed to initialize __main__.__builtins__");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2936|      0|        }
 2937|      2|        Py_DECREF(bimod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2938|      2|    }
 2939|       |
 2940|       |    /* Main is a little special - BuiltinImporter is the most appropriate
 2941|       |     * initial setting for its __loader__ attribute. A more suitable value
 2942|       |     * will be set if __main__ gets further initialized later in the startup
 2943|       |     * process.
 2944|       |     */
 2945|      2|    PyObject *loader;
 2946|      2|    if (PyDict_GetItemStringRef(d, "__loader__", &loader) < 0) {
  ------------------
  |  Branch (2946:9): [True: 0, False: 2]
  ------------------
 2947|      0|        return _PyStatus_ERR("Failed to test __main__.__loader__");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2948|      0|    }
 2949|      2|    int has_loader = !(loader == NULL || loader == Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2949:24): [True: 0, False: 2]
  |  Branch (2949:42): [True: 2, False: 0]
  ------------------
 2950|      2|    Py_XDECREF(loader);
  ------------------
  |  |  524|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|      2|    if (!has_loader) {
  ------------------
  |  Branch (2951:9): [True: 2, False: 0]
  ------------------
 2952|      2|        PyObject *loader = _PyImport_GetImportlibLoader(interp,
 2953|      2|                                                        "BuiltinImporter");
 2954|      2|        if (loader == NULL) {
  ------------------
  |  Branch (2954:13): [True: 0, False: 2]
  ------------------
 2955|      0|            return _PyStatus_ERR("Failed to retrieve BuiltinImporter");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2956|      0|        }
 2957|      2|        if (PyDict_SetItemString(d, "__loader__", loader) < 0) {
  ------------------
  |  Branch (2957:13): [True: 0, False: 2]
  ------------------
 2958|      0|            return _PyStatus_ERR("Failed to initialize __main__.__loader__");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2959|      0|        }
 2960|      2|        Py_DECREF(loader);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|      2|    }
 2962|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2963|      2|}
pylifecycle.c:init_import_site:
 2969|      2|{
 2970|      2|    PyObject *m;
 2971|      2|    m = PyImport_ImportModule("site");
 2972|      2|    if (m == NULL) {
  ------------------
  |  Branch (2972:9): [True: 0, False: 2]
  ------------------
 2973|      0|        return _PyStatus_ERR("Failed to import the site module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2974|      0|    }
 2975|      2|    Py_DECREF(m);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2977|      2|}
pylifecycle.c:emit_stderr_warning_for_legacy_locale:
  240|      2|{
  241|      2|    const PyPreConfig *preconfig = &runtime->preconfig;
  242|      2|    if (preconfig->coerce_c_locale_warn && _Py_LegacyLocaleDetected(1)) {
  ------------------
  |  Branch (242:9): [True: 0, False: 2]
  |  Branch (242:44): [True: 0, False: 0]
  ------------------
  243|      0|        PySys_FormatStderr("%s", _C_LOCALE_WARNING);
  244|      0|    }
  245|      2|}

_Py_get_387controlword:
   10|  42.8k|unsigned short _Py_get_387controlword(void) {
   11|  42.8k|    unsigned short cw;
   12|  42.8k|    __asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
   13|  42.8k|    return cw;
   14|  42.8k|}
_Py_set_387controlword:
   16|  85.6k|void _Py_set_387controlword(unsigned short cw) {
   17|  85.6k|    __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
   18|  85.6k|}

_PyThreadState_GetCurrent:
  113|  8.42k|{
  114|  8.42k|    return current_fast_get();
  115|  8.42k|}
_PyRuntimeState_Init:
  354|      2|{
  355|       |    /* We preserve the hook across init, because there is
  356|       |       currently no public API to set it between runtime
  357|       |       initialization and interpreter initialization. */
  358|      2|    void *open_code_hook = runtime->open_code_hook;
  359|      2|    void *open_code_userdata = runtime->open_code_userdata;
  360|      2|    _Py_AuditHookEntry *audit_hook_head = runtime->audit_hooks.head;
  361|       |    // bpo-42882: Preserve next_index value if Py_Initialize()/Py_Finalize()
  362|       |    // is called multiple times.
  363|      2|    Py_ssize_t unicode_next_index = runtime->unicode_state.ids.next_index;
  364|       |
  365|      2|    if (runtime->_initialized) {
  ------------------
  |  Branch (365:9): [True: 0, False: 2]
  ------------------
  366|       |        // Py_Initialize() must be running again.
  367|       |        // Reset to _PyRuntimeState_INIT.
  368|      0|        memcpy(runtime, &initial, sizeof(*runtime));
  369|       |        // Preserve the cookie from the original runtime.
  370|      0|        memcpy(runtime->debug_offsets.cookie, _Py_Debug_Cookie, 8);
  ------------------
  |  |   12|      0|#define _Py_Debug_Cookie "xdebugpy"
  ------------------
  371|      0|        assert(!runtime->_initialized);
  372|      0|    }
  373|       |
  374|      2|    PyStatus status = _PyTime_Init(&runtime->time);
  375|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  376|      0|        return status;
  377|      0|    }
  378|       |
  379|      2|    init_runtime(runtime, open_code_hook, open_code_userdata, audit_hook_head,
  380|      2|                 unicode_next_index);
  381|       |
  382|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  383|      2|}
_PyInterpreterState_Enable:
  444|      2|{
  445|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  446|      2|    interpreters->next_id = 0;
  447|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  448|      2|}
_PyInterpreterState_New:
  680|      2|{
  681|      2|    *pinterp = NULL;
  682|       |
  683|       |    // Don't get runtime from tstate since tstate can be NULL
  684|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  685|       |
  686|       |    // tstate is NULL when pycore_create_interpreter() calls
  687|       |    // _PyInterpreterState_New() to create the main interpreter.
  688|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (688:9): [True: 0, False: 2]
  ------------------
  689|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|      0|            return _PyStatus_ERR("sys.audit failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  691|      0|        }
  692|      0|    }
  693|       |
  694|       |    /* We completely serialize creation of multiple interpreters, since
  695|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  696|       |       Regardless, we must fully block subinterpreter creation until
  697|       |       after the main interpreter is created. */
  698|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  699|       |
  700|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  701|      2|    int64_t id = interpreters->next_id;
  702|      2|    interpreters->next_id += 1;
  703|       |
  704|       |    // Allocate the interpreter and add it to the runtime state.
  705|      2|    PyInterpreterState *interp;
  706|      2|    PyStatus status;
  707|      2|    PyInterpreterState *old_head = interpreters->head;
  708|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (708:9): [True: 2, False: 0]
  ------------------
  709|       |        // We are creating the main interpreter.
  710|      2|        assert(interpreters->main == NULL);
  711|      2|        assert(id == 0);
  712|       |
  713|      2|        interp = &runtime->_main_interpreter;
  714|      2|        assert(interp->id == 0);
  715|      2|        assert(interp->next == NULL);
  716|       |
  717|      2|        interpreters->main = interp;
  718|      2|    }
  719|      0|    else {
  720|      0|        assert(interpreters->main != NULL);
  721|      0|        assert(id != 0);
  722|       |
  723|      0|        interp = alloc_interpreter();
  724|      0|        if (interp == NULL) {
  ------------------
  |  Branch (724:13): [True: 0, False: 0]
  ------------------
  725|      0|            status = _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  726|      0|            goto error;
  727|      0|        }
  728|       |        // Set to _PyInterpreterState_INIT.
  729|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  730|       |
  731|      0|        if (id < 0) {
  ------------------
  |  Branch (731:13): [True: 0, False: 0]
  ------------------
  732|       |            /* overflow or Py_Initialize() not called yet! */
  733|      0|            status = _PyStatus_ERR("failed to get an interpreter ID");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  734|      0|            goto error;
  735|      0|        }
  736|      0|    }
  737|      2|    interpreters->head = interp;
  738|       |
  739|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  740|      2|    status = init_interpreter(interp, runtime,
  741|      2|                              id, old_head, whence);
  742|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  743|      0|        goto error;
  744|      0|    }
  745|       |
  746|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  747|       |
  748|      2|    assert(interp != NULL);
  749|      2|    *pinterp = interp;
  750|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  751|       |
  752|      0|error:
  753|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  754|       |
  755|      0|    if (interp != NULL) {
  ------------------
  |  Branch (755:9): [True: 0, False: 0]
  ------------------
  756|      0|        free_interpreter(interp);
  757|      0|    }
  758|      0|    return status;
  759|      2|}
_PyInterpreterState_SetWhence:
 1222|      2|{
 1223|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
 1224|       |    assert(check_interpreter_whence(whence) == 0);
 1225|      2|    interp->_whence = whence;
 1226|      2|}
PyInterpreterState_GetDict:
 1270|    124|{
 1271|    124|    if (interp->dict == NULL) {
  ------------------
  |  Branch (1271:9): [True: 2, False: 122]
  ------------------
 1272|      2|        interp->dict = PyDict_New();
 1273|      2|        if (interp->dict == NULL) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 2]
  ------------------
 1274|      0|            PyErr_Clear();
 1275|      0|        }
 1276|      2|    }
 1277|       |    /* Returning NULL means no per-interpreter dict is available. */
 1278|    124|    return interp->dict;
 1279|    124|}
PyInterpreterState_Get:
 1392|    158|{
 1393|    158|    _Py_AssertHoldsTstate();
 1394|    158|    PyInterpreterState *interp = _Py_tss_interp;
 1395|    158|    if (interp == NULL) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 158]
  ------------------
 1396|      0|        Py_FatalError("no current interpreter");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1397|      0|    }
 1398|    158|    return interp;
 1399|    158|}
_PyThreadState_New:
 1732|      2|{
 1733|      2|    return new_threadstate(interp, whence);
 1734|      2|}
_PyThreadState_GetDict:
 2112|   108k|{
 2113|   108k|    assert(tstate != NULL);
 2114|   108k|    if (tstate->dict == NULL) {
  ------------------
  |  Branch (2114:9): [True: 1, False: 108k]
  ------------------
 2115|      1|        tstate->dict = PyDict_New();
 2116|      1|        if (tstate->dict == NULL) {
  ------------------
  |  Branch (2116:13): [True: 0, False: 1]
  ------------------
 2117|      0|            _PyErr_Clear(tstate);
 2118|      0|        }
 2119|      1|    }
 2120|   108k|    return tstate->dict;
 2121|   108k|}
PyThreadState_GetDict:
 2126|   108k|{
 2127|   108k|    PyThreadState *tstate = current_fast_get();
 2128|   108k|    if (tstate == NULL) {
  ------------------
  |  Branch (2128:9): [True: 0, False: 108k]
  ------------------
 2129|      0|        return NULL;
 2130|      0|    }
 2131|   108k|    return _PyThreadState_GetDict(tstate);
 2132|   108k|}
_PyThreadState_Attach:
 2251|  67.9k|{
 2252|       |#if defined(Py_DEBUG)
 2253|       |    // This is called from PyEval_RestoreThread(). Similar
 2254|       |    // to it, we need to ensure errno doesn't change.
 2255|       |    int err = errno;
 2256|       |#endif
 2257|       |
 2258|  67.9k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  67.9k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2259|  67.9k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2259:9): [True: 0, False: 67.9k]
  ------------------
 2260|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2261|      0|    }
 2262|  67.9k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2263|  67.9k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2263:9): [True: 2, False: 67.9k]
  ------------------
 2264|      2|        _Py_InitializeRecursionLimits(tstate);
 2265|      2|    }
 2266|       |
 2267|  67.9k|    while (1) {
  ------------------
  |  Branch (2267:12): [True: 67.9k, Folded]
  ------------------
 2268|  67.9k|        _PyEval_AcquireLock(tstate);
 2269|       |
 2270|       |        // XXX assert(tstate_is_alive(tstate));
 2271|  67.9k|        current_fast_set(&_PyRuntime, tstate);
 2272|  67.9k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 67.9k]
  ------------------
 2273|      0|            tstate_wait_attach(tstate);
 2274|      0|        }
 2275|  67.9k|        tstate_activate(tstate);
 2276|       |
 2277|       |#ifdef Py_GIL_DISABLED
 2278|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2279|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2280|       |            // and when we attached (the GIL can't go from enabled to disabled
 2281|       |            // here because only a thread holding the GIL can disable
 2282|       |            // it). Detach and try again.
 2283|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2284|       |            tstate_deactivate(tstate);
 2285|       |            current_fast_clear(&_PyRuntime);
 2286|       |            continue;
 2287|       |        }
 2288|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2289|       |#endif
 2290|  67.9k|        break;
 2291|  67.9k|    }
 2292|       |
 2293|       |    // Resume previous critical section. This acquires the lock(s) from the
 2294|       |    // top-most critical section.
 2295|  67.9k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2295:9): [True: 0, False: 67.9k]
  ------------------
 2296|      0|        _PyCriticalSection_Resume(tstate);
 2297|      0|    }
 2298|       |
 2299|       |#ifdef Py_STATS
 2300|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2301|       |#endif
 2302|       |
 2303|       |#if defined(Py_DEBUG)
 2304|       |    errno = err;
 2305|       |#endif
 2306|  67.9k|}
_PyThreadState_Detach:
 2328|  67.9k|{
 2329|  67.9k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   46|  67.9k|#define _Py_THREAD_DETACHED         0
  ------------------
 2330|  67.9k|}
_PyEval_StopTheWorld:
 2540|  4.13k|{
 2541|       |#ifdef Py_GIL_DISABLED
 2542|       |    stop_the_world(&interp->stoptheworld);
 2543|       |#endif
 2544|  4.13k|}
_PyEval_StartTheWorld:
 2548|  4.13k|{
 2549|       |#ifdef Py_GIL_DISABLED
 2550|       |    start_the_world(&interp->stoptheworld);
 2551|       |#endif
 2552|  4.13k|}
PyThreadState_Get:
 2619|  56.1M|{
 2620|  56.1M|    PyThreadState *tstate = current_fast_get();
 2621|  56.1M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  56.1M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2622|  56.1M|    return tstate;
 2623|  56.1M|}
_PyThreadState_Bind:
 2647|      2|{
 2648|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2649|       |    // was called, tstate becomes a dangling pointer.
 2650|      2|    assert(_PyThreadState_CheckConsistency(tstate));
 2651|       |
 2652|      2|    bind_tstate(tstate);
 2653|       |    // This makes sure there's a gilstate tstate bound
 2654|       |    // as soon as possible.
 2655|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2655:9): [True: 2, False: 0]
  ------------------
 2656|      2|        bind_gilstate_tstate(tstate);
 2657|      2|    }
 2658|      2|}
_PyGILState_Init:
 2846|      2|{
 2847|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 2]
  ------------------
 2848|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2849|       |         * interpreter is responsible to initialize it. */
 2850|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2851|      0|    }
 2852|      2|    _PyRuntimeState *runtime = interp->runtime;
 2853|      2|    assert(gilstate_get() == NULL);
 2854|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
 2855|      2|    runtime->gilstate.autoInterpreterState = interp;
 2856|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2857|      2|}
_PyGILState_SetTstate:
 2874|      2|{
 2875|       |    /* must init with valid states */
 2876|      2|    assert(tstate != NULL);
 2877|      2|    assert(tstate->interp != NULL);
 2878|       |
 2879|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 2]
  ------------------
 2880|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2881|       |         * interpreter is responsible to initialize it. */
 2882|      0|        return;
 2883|      0|    }
 2884|       |
 2885|       |#ifndef NDEBUG
 2886|       |    _PyRuntimeState *runtime = tstate->interp->runtime;
 2887|       |
 2888|       |    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
 2889|       |    assert(gilstate_get() == tstate);
 2890|       |    assert(tstate->gilstate_counter == 1);
 2891|       |#endif
 2892|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3090|  19.8k|{
 3091|  19.8k|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3091:12): [True: 19.8k, False: 0]
  ------------------
 3092|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3092:12): [True: 0, False: 0]
  ------------------
 3093|  19.8k|}
_PyInterpreterState_GetConfig:
 3098|  1.56M|{
 3099|  1.56M|    return &interp->config;
 3100|  1.56M|}
_Py_GetConfig:
 3105|  27.8k|{
 3106|  27.8k|    PyThreadState *tstate = current_fast_get();
 3107|  27.8k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  27.8k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3108|  27.8k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3109|  27.8k|}
_PyThreadState_PushFrame:
 3159|  11.2M|{
 3160|  11.2M|    assert(size < INT_MAX/sizeof(PyObject *));
 3161|  11.2M|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3161:9): [True: 11.2M, False: 474]
  ------------------
 3162|  11.2M|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3163|  11.2M|        tstate->datastack_top += size;
 3164|  11.2M|        return res;
 3165|  11.2M|    }
 3166|    474|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3167|  11.2M|}
_PyThreadState_PopFrame:
 3171|  58.4M|{
 3172|  58.4M|    assert(tstate->datastack_chunk);
 3173|  58.4M|    PyObject **base = (PyObject **)frame;
 3174|  58.4M|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3174:9): [True: 472, False: 58.4M]
  ------------------
 3175|    472|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3176|    472|        _PyStackChunk *previous = chunk->previous;
 3177|    472|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3178|       |        // push_chunk ensures that the root chunk is never popped:
 3179|    472|        assert(previous);
 3180|    472|        tstate->datastack_top = &previous->data[previous->top];
 3181|    472|        tstate->datastack_chunk = previous;
 3182|    472|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3183|    472|        chunk->previous = NULL;
 3184|    472|        if (cached != NULL) {
  ------------------
  |  Branch (3184:13): [True: 0, False: 472]
  ------------------
 3185|      0|            _PyObject_VirtualFree(cached, cached->size);
 3186|      0|        }
 3187|    472|        tstate->datastack_cached_chunk = chunk;
 3188|    472|    }
 3189|  58.4M|    else {
 3190|  58.4M|        assert(tstate->datastack_top);
 3191|       |        assert(tstate->datastack_top >= base);
 3192|  58.4M|        tstate->datastack_top = base;
 3193|  58.4M|    }
 3194|  58.4M|}
_PyThreadState_MustExit:
 3225|   135k|{
 3226|   135k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3227|   135k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   49|   135k|#define _Py_THREAD_SHUTTING_DOWN    3
  ------------------
 3228|   135k|}
_Py_IsMainThread:
 3318|   443k|{
 3319|   443k|    unsigned long thread = PyThread_get_thread_ident();
 3320|   443k|    return (thread == _PyRuntime.main_thread);
 3321|   443k|}
_PyInterpreterState_Main:
 3326|   376k|{
 3327|   376k|    return _PyRuntime.interpreters.main;
 3328|   376k|}
pystate.c:current_fast_get:
   86|  56.3M|{
   87|  56.3M|    return _Py_tss_tstate;
   88|  56.3M|}
pystate.c:init_runtime:
  332|      2|{
  333|      2|    assert(!runtime->preinitializing);
  334|      2|    assert(!runtime->preinitialized);
  335|      2|    assert(!_PyRuntimeState_GetCoreInitialized(runtime));
  336|      2|    assert(!_PyRuntimeState_GetInitialized(runtime));
  337|      2|    assert(!runtime->_initialized);
  338|       |
  339|      2|    runtime->open_code_hook = open_code_hook;
  340|      2|    runtime->open_code_userdata = open_code_userdata;
  341|      2|    runtime->audit_hooks.head = audit_hook_head;
  342|       |
  343|      2|    PyPreConfig_InitPythonConfig(&runtime->preconfig);
  344|       |
  345|       |    // Set it to the ID of the main thread of the main interpreter.
  346|      2|    runtime->main_thread = PyThread_get_thread_ident();
  347|       |
  348|      2|    runtime->unicode_state.ids.next_index = unicode_next_index;
  349|      2|    runtime->_initialized = 1;
  350|      2|}
pystate.c:init_interpreter:
  547|      2|{
  548|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (548:9): [True: 0, False: 2]
  ------------------
  549|      0|        return _PyStatus_ERR("interpreter already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  550|      0|    }
  551|       |
  552|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  553|      2|    assert(check_interpreter_whence(whence) == 0);
  554|      2|    interp->_whence = whence;
  555|       |
  556|      2|    assert(runtime != NULL);
  557|      2|    interp->runtime = runtime;
  558|       |
  559|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  560|      2|    interp->id = id;
  561|       |
  562|      2|    interp->id_refcount = 0;
  563|       |
  564|      2|    assert(runtime->interpreters.head == interp);
  565|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  566|      2|    interp->next = next;
  567|       |
  568|      2|    interp->threads.preallocated = &interp->_initial_thread;
  569|       |
  570|       |    // We would call _PyObject_InitState() at this point
  571|       |    // if interp->feature_flags were alredy set.
  572|       |
  573|      2|    _PyEval_InitState(interp);
  574|      2|    _PyGC_InitState(&interp->gc);
  575|      2|    PyConfig_InitPythonConfig(&interp->config);
  576|      2|    _PyType_InitCache(interp);
  577|       |#ifdef Py_GIL_DISABLED
  578|       |    _Py_brc_init_state(interp);
  579|       |#endif
  580|       |
  581|      2|    llist_init(&interp->mem_free_queue.head);
  582|      2|    llist_init(&interp->asyncio_tasks_head);
  583|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  584|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (584:21): [True: 32, False: 2]
  ------------------
  585|     32|        interp->monitors.tools[i] = 0;
  586|     32|    }
  587|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (587:21): [True: 16, False: 2]
  ------------------
  588|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (588:25): [True: 304, False: 16]
  ------------------
  589|    304|            interp->monitoring_callables[t][e] = NULL;
  590|       |
  591|    304|        }
  592|     16|        interp->monitoring_tool_versions[t] = 0;
  593|     16|    }
  594|      2|    interp->_code_object_generation = 0;
  595|      2|    interp->jit = false;
  596|      2|    interp->compiling = false;
  597|      2|    interp->executor_blooms = NULL;
  598|      2|    interp->executor_ptrs = NULL;
  599|      2|    interp->executor_count = 0;
  600|      2|    interp->executor_capacity = 0;
  601|      2|    interp->executor_deletion_list_head = NULL;
  602|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  308|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  603|       |
  604|       |    // Initialize optimization configuration from environment variables
  605|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  606|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  128|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  607|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  142|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  608|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  156|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  609|       |
  610|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (610:9): [True: 0, False: 2]
  ------------------
  611|      0|        jump_default = 63;
  612|      0|        side_exit_default = 63;
  613|      0|        resume_default = 127;
  614|      0|    }
  615|       |
  616|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  617|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  618|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  619|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  620|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  621|      2|                JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  129|      2|#define JUMP_BACKWARD_INITIAL_BACKOFF 6
  ------------------
                              JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  622|      2|    init_policy(&interp->opt_config.resume_initial_value,
  623|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  624|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  625|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  626|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  627|      2|                RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  143|      2|#define RESUME_INITIAL_BACKOFF 6
  ------------------
                              RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  628|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  629|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  630|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  631|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  632|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  633|      2|                SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  157|      2|#define SIDE_EXIT_INITIAL_BACKOFF 6
  ------------------
                              SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  634|       |
  635|       |    // Trace fitness configuration
  636|      2|    init_policy(&interp->opt_config.fitness_initial,
  637|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  638|      2|                FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   39|      2|#define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   41|      2|#define FITNESS_INITIAL 2500
  |  |  ------------------
  |  |               #define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   46|      2|#define AVG_SLOTS_PER_INSTRUCTION  6
  |  |  ------------------
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, FITNESS_INITIAL);
  ------------------
  |  |   41|      2|#define FITNESS_INITIAL 2500
  ------------------
  639|       |
  640|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  641|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  642|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (642:9): [True: 0, False: 2]
  ------------------
  643|       |        /* Fix the self-referential, statically initialized fields. */
  644|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  645|      0|    }
  646|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  647|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  648|       |    _Py_hashtable_allocator_t alloc = {
  649|       |        .malloc = malloc,
  650|       |        .free = free,
  651|       |    };
  652|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  653|       |        _Py_hashtable_hash_ptr,
  654|       |        _Py_hashtable_compare_direct,
  655|       |        NULL,
  656|       |        NULL,
  657|       |        &alloc
  658|       |    );
  659|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  660|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  661|       |        _Py_hashtable_hash_ptr,
  662|       |        _Py_hashtable_compare_direct,
  663|       |        NULL,
  664|       |        NULL,
  665|       |        &alloc
  666|       |    );
  667|       |#  endif
  668|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  669|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  670|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  671|       |#endif
  672|       |
  673|      2|    interp->_initialized = 1;
  674|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  675|      2|}
pystate.c:is_env_enabled:
  516|      4|{
  517|      4|    char *env = Py_GETENV(env_name);
  518|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (518:12): [True: 0, False: 4]
  |  Branch (518:19): [True: 0, False: 0]
  |  Branch (518:35): [True: 0, False: 0]
  ------------------
  519|      4|}
pystate.c:init_policy:
  531|     14|{
  532|     14|    *target = default_value;
  533|     14|    char *env = Py_GETENV(env_name);
  534|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (534:9): [True: 0, False: 14]
  |  Branch (534:16): [True: 0, False: 0]
  ------------------
  535|      0|        long value = atol(env);
  536|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (536:13): [True: 0, False: 0]
  |  Branch (536:35): [True: 0, False: 0]
  ------------------
  537|      0|            *target = (uint16_t)value;
  538|      0|        }
  539|      0|    }
  540|     14|}
pystate.c:is_env_disabled:
  523|      2|{
  524|      2|    char *env = Py_GETENV(env_name);
  525|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (525:12): [True: 0, False: 2]
  |  Branch (525:27): [True: 0, False: 0]
  ------------------
  526|      2|}
pystate.c:new_threadstate:
 1658|      2|{
 1659|       |    // Allocate the thread state.
 1660|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1661|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1661:9): [True: 0, False: 2]
  ------------------
 1662|      0|        return NULL;
 1663|      0|    }
 1664|       |
 1665|       |#ifdef Py_GIL_DISABLED
 1666|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1667|       |    if (qsbr_idx < 0) {
 1668|       |        free_threadstate(tstate);
 1669|       |        return NULL;
 1670|       |    }
 1671|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1672|       |    if (tlbc_idx < 0) {
 1673|       |        free_threadstate(tstate);
 1674|       |        return NULL;
 1675|       |    }
 1676|       |#endif
 1677|       |#ifdef Py_STATS
 1678|       |    // The PyStats structure is quite large and is allocated separated from tstate.
 1679|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1680|       |        free_threadstate(tstate);
 1681|       |        return NULL;
 1682|       |    }
 1683|       |#endif
 1684|       |
 1685|       |    /* We serialize concurrent creation to protect global state. */
 1686|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1687|       |
 1688|       |    // Initialize the new thread state.
 1689|      2|    interp->threads.next_unique_id += 1;
 1690|      2|    uint64_t id = interp->threads.next_unique_id;
 1691|      2|    init_threadstate(tstate, interp, id, whence);
 1692|       |
 1693|       |    // Add the new thread state to the interpreter.
 1694|      2|    PyThreadState *old_head = interp->threads.head;
 1695|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1696|       |
 1697|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1698|       |
 1699|       |#ifdef Py_GIL_DISABLED
 1700|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1701|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1702|       |    tstate->tlbc_index = tlbc_idx;
 1703|       |#endif
 1704|       |
 1705|      2|    return (PyThreadState *)tstate;
 1706|      2|}
pystate.c:alloc_threadstate:
 1494|      2|{
 1495|      2|    _PyThreadStateImpl *tstate;
 1496|       |
 1497|       |    // Try the preallocated tstate first.
 1498|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1499|       |
 1500|       |    // Fall back to the allocator.
 1501|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1501:9): [True: 0, False: 2]
  ------------------
 1502|      0|        tstate = PyMem_RawCalloc(1, sizeof(_PyThreadStateImpl));
 1503|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1503:13): [True: 0, False: 0]
  ------------------
 1504|      0|            return NULL;
 1505|      0|        }
 1506|      0|        reset_threadstate(tstate);
 1507|      0|    }
 1508|      2|    return tstate;
 1509|      2|}
pystate.c:init_threadstate:
 1551|      2|{
 1552|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1553|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 2]
  ------------------
 1554|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1555|      0|    }
 1556|       |
 1557|      2|    assert(interp != NULL);
 1558|      2|    tstate->interp = interp;
 1559|      2|    tstate->eval_breaker =
 1560|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1561|       |
 1562|       |    // next/prev are set in add_threadstate().
 1563|      2|    assert(tstate->next == NULL);
 1564|      2|    assert(tstate->prev == NULL);
 1565|       |
 1566|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
 1567|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
 1568|      2|    tstate->_whence = whence;
 1569|       |
 1570|      2|    assert(id > 0);
 1571|      2|    tstate->id = id;
 1572|       |
 1573|       |    // thread_id and native_thread_id are set in bind_tstate().
 1574|       |
 1575|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1576|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1577|      2|    tstate->exc_info = &tstate->exc_state;
 1578|       |
 1579|       |    // PyGILState_Release must not try to delete this thread state.
 1580|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1581|      2|    tstate->gilstate_counter = 1;
 1582|       |
 1583|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1584|      2|    _tstate->base_frame.previous = NULL;
 1585|      2|    _tstate->base_frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|      2|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1586|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1587|      2|    _tstate->base_frame.f_globals = NULL;
 1588|      2|    _tstate->base_frame.f_builtins = NULL;
 1589|      2|    _tstate->base_frame.f_locals = NULL;
 1590|      2|    _tstate->base_frame.frame_obj = NULL;
 1591|      2|    _tstate->base_frame.instr_ptr = NULL;
 1592|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1593|      2|    _tstate->base_frame.return_offset = 0;
 1594|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1595|      2|    _tstate->base_frame.visited = 0;
 1596|       |#ifdef Py_DEBUG
 1597|       |    _tstate->base_frame.lltrace = 0;
 1598|       |#endif
 1599|       |#ifdef Py_GIL_DISABLED
 1600|       |    _tstate->base_frame.tlbc_index = 0;
 1601|       |#endif
 1602|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1603|       |
 1604|       |    // current_frame starts pointing to the base frame
 1605|      2|    tstate->current_frame = &_tstate->base_frame;
 1606|       |    // base_frame pointer for profilers to validate stack unwinding
 1607|      2|    tstate->base_frame = &_tstate->base_frame;
 1608|      2|    tstate->datastack_chunk = NULL;
 1609|      2|    tstate->datastack_top = NULL;
 1610|      2|    tstate->datastack_limit = NULL;
 1611|      2|    tstate->datastack_cached_chunk = NULL;
 1612|      2|    tstate->what_event = -1;
 1613|      2|    tstate->current_executor = NULL;
 1614|      2|    tstate->jit_exit = NULL;
 1615|      2|    tstate->dict_global_version = 0;
 1616|       |
 1617|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1618|      2|    _tstate->c_stack_top = 0;
 1619|      2|    _tstate->c_stack_hard_limit = 0;
 1620|       |
 1621|      2|    _tstate->c_stack_init_base = 0;
 1622|      2|    _tstate->c_stack_init_top = 0;
 1623|       |
 1624|      2|    _tstate->asyncio_running_loop = NULL;
 1625|      2|    _tstate->asyncio_running_task = NULL;
 1626|       |
 1627|       |#ifdef _Py_TIER2
 1628|       |    _tstate->jit_tracer_state = NULL;
 1629|       |#endif
 1630|      2|    tstate->delete_later = NULL;
 1631|       |
 1632|      2|    llist_init(&_tstate->mem_free_queue);
 1633|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1634|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1634:9): [True: 0, False: 2]
  |  Branch (1634:43): [True: 0, False: 2]
  ------------------
 1635|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1636|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   48|      0|#define _Py_THREAD_SUSPENDED        2
  ------------------
 1637|      0|    }
 1638|       |
 1639|      2|    tstate->_status.initialized = 1;
 1640|      2|}
pystate.c:add_threadstate:
 1645|      2|{
 1646|      2|    assert(interp->threads.head != tstate);
 1647|      2|    if (next != NULL) {
  ------------------
  |  Branch (1647:9): [True: 0, False: 2]
  ------------------
 1648|      0|        assert(next->prev == NULL || next->prev == tstate);
 1649|      0|        next->prev = tstate;
 1650|      0|    }
 1651|      2|    tstate->next = next;
 1652|       |    assert(tstate->prev == NULL);
 1653|      2|    interp->threads.head = tstate;
 1654|      2|}
pystate.c:bind_tstate:
  165|      2|{
  166|      2|    assert(tstate != NULL);
  167|      2|    assert(tstate_is_alive(tstate) && !tstate->_status.bound);
  168|      2|    assert(!tstate->_status.unbound);  // just in case
  169|      2|    assert(!tstate->_status.bound_gilstate);
  170|      2|    assert(tstate != gilstate_get());
  171|      2|    assert(!tstate->_status.active);
  172|      2|    assert(tstate->thread_id == 0);
  173|      2|    assert(tstate->native_thread_id == 0);
  174|       |
  175|       |    // Currently we don't necessarily store the thread state
  176|       |    // in thread-local storage (e.g. per-interpreter).
  177|       |
  178|      2|    tstate->thread_id = PyThread_get_thread_ident();
  179|      2|#ifdef PY_HAVE_THREAD_NATIVE_ID
  180|      2|    tstate->native_thread_id = PyThread_get_thread_native_id();
  181|      2|#endif
  182|       |
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    // Initialize biased reference counting inter-thread queue. Note that this
  185|       |    // needs to be initialized from the active thread.
  186|       |    _Py_brc_init_thread(tstate);
  187|       |#endif
  188|       |
  189|       |    // mimalloc state needs to be initialized from the active thread.
  190|      2|    tstate_mimalloc_bind(tstate);
  191|       |
  192|      2|    tstate->_status.bound = 1;
  193|      2|}
pystate.c:tstate_mimalloc_bind:
 3244|      2|{
 3245|       |#ifdef Py_GIL_DISABLED
 3246|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3247|       |
 3248|       |    // Initialize the mimalloc thread state. This must be called from the
 3249|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3250|       |    // the "backing" heap.
 3251|       |    mi_tld_t *tld = &mts->tld;
 3252|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3253|       |    llist_init(&mts->page_list);
 3254|       |
 3255|       |    // Exiting threads push any remaining in-use segments to the abandoned
 3256|       |    // pool to be re-claimed later by other threads. We use per-interpreter
 3257|       |    // pools to keep Python objects from different interpreters separate.
 3258|       |    tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool;
 3259|       |
 3260|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3261|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3262|       |    // accesses, so they must remain valid for a while after deallocation.
 3263|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3264|       |    if (_PyMem_DebugEnabled()) {
 3265|       |        // The debug allocator adds two words at the beginning of each block.
 3266|       |        base_offset += 2 * sizeof(size_t);
 3267|       |    }
 3268|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3269|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3270|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3271|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3272|       |    };
 3273|       |
 3274|       |    // Initialize each heap
 3275|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3276|       |        _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3277|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3278|       |    }
 3279|       |
 3280|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3281|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3282|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3283|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3284|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3285|       |
 3286|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3287|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3288|       |    // use one of the GC heaps.
 3289|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3290|       |
 3291|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3292|       |#endif
 3293|      2|}
pystate.c:gilstate_get:
  130|      4|{
  131|      4|    return _Py_tss_gilstate;
  132|      4|}
pystate.c:bind_gilstate_tstate:
  238|      2|{
  239|      2|    assert(tstate != NULL);
  240|      2|    assert(tstate_is_alive(tstate));
  241|      2|    assert(tstate_is_bound(tstate));
  242|       |    // XXX assert(!tstate->_status.active);
  243|      2|    assert(!tstate->_status.bound_gilstate);
  244|       |
  245|      2|    PyThreadState *tcur = gilstate_get();
  246|      2|    assert(tstate != tcur);
  247|       |
  248|      2|    if (tcur != NULL) {
  ------------------
  |  Branch (248:9): [True: 0, False: 2]
  ------------------
  249|      0|        tcur->_status.bound_gilstate = 0;
  250|      0|    }
  251|      2|    gilstate_set(tstate);
  252|      2|    tstate->_status.bound_gilstate = 1;
  253|      2|}
pystate.c:gilstate_set:
  136|      2|{
  137|       |    assert(tstate != NULL);
  138|      2|    _Py_tss_gilstate = tstate;
  139|      2|}
pystate.c:current_fast_clear:
  101|  67.9k|{
  102|  67.9k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|  67.9k|}
pystate.c:current_fast_set:
   92|  67.9k|{
   93|  67.9k|    assert(tstate != NULL);
   94|  67.9k|    _Py_tss_tstate = tstate;
   95|       |    assert(tstate->interp != NULL);
   96|  67.9k|    _Py_tss_interp = tstate->interp;
   97|  67.9k|}
pystate.c:tstate_try_attach:
 2204|  67.9k|{
 2205|       |#ifdef Py_GIL_DISABLED
 2206|       |    int expected = _Py_THREAD_DETACHED;
 2207|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2208|       |                                           &expected,
 2209|       |                                           _Py_THREAD_ATTACHED);
 2210|       |#else
 2211|  67.9k|    assert(tstate->state == _Py_THREAD_DETACHED);
 2212|  67.9k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   47|  67.9k|#define _Py_THREAD_ATTACHED         1
  ------------------
 2213|  67.9k|    return 1;
 2214|  67.9k|#endif
 2215|  67.9k|}
pystate.c:tstate_activate:
 2169|  67.9k|{
 2170|  67.9k|    assert(tstate != NULL);
 2171|       |    // XXX assert(tstate_is_alive(tstate));
 2172|  67.9k|    assert(tstate_is_bound(tstate));
 2173|  67.9k|    assert(!tstate->_status.active);
 2174|       |
 2175|  67.9k|    assert(!tstate->_status.bound_gilstate ||
 2176|  67.9k|           tstate == gilstate_get());
 2177|  67.9k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2177:9): [True: 0, False: 67.9k]
  ------------------
 2178|      0|        bind_gilstate_tstate(tstate);
 2179|      0|    }
 2180|       |
 2181|  67.9k|    tstate->_status.active = 1;
 2182|  67.9k|}
pystate.c:detach_thread:
 2310|  67.9k|{
 2311|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2312|  67.9k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
 2313|  67.9k|    assert(tstate == current_fast_get());
 2314|  67.9k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2314:9): [True: 0, False: 67.9k]
  ------------------
 2315|      0|        _PyCriticalSection_SuspendAll(tstate);
 2316|      0|    }
 2317|       |#ifdef Py_GIL_DISABLED
 2318|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2319|       |#endif
 2320|  67.9k|    tstate_deactivate(tstate);
 2321|  67.9k|    tstate_set_detached(tstate, detached_state);
 2322|  67.9k|    current_fast_clear(&_PyRuntime);
 2323|  67.9k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2324|  67.9k|}
pystate.c:tstate_deactivate:
 2186|  67.9k|{
 2187|  67.9k|    assert(tstate != NULL);
 2188|       |    // XXX assert(tstate_is_alive(tstate));
 2189|  67.9k|    assert(tstate_is_bound(tstate));
 2190|  67.9k|    assert(tstate->_status.active);
 2191|       |
 2192|       |#if Py_STATS
 2193|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2194|       |#endif
 2195|       |
 2196|  67.9k|    tstate->_status.active = 0;
 2197|       |
 2198|       |    // We do not unbind the gilstate tstate here.
 2199|       |    // It will still be used in PyGILState_Ensure().
 2200|  67.9k|}
pystate.c:tstate_set_detached:
 2219|  67.9k|{
 2220|  67.9k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
 2221|       |#ifdef Py_GIL_DISABLED
 2222|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2223|       |#else
 2224|  67.9k|    tstate->state = detached_state;
 2225|  67.9k|#endif
 2226|  67.9k|}
pystate.c:push_chunk:
 3123|    474|{
 3124|    474|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|    474|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3125|    474|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3119|    474|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3125:12): [True: 0, False: 474]
  ------------------
 3126|      0|        allocate_size *= 2;
 3127|      0|    }
 3128|    474|    _PyStackChunk *new;
 3129|    474|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3129:9): [True: 470, False: 4]
  ------------------
 3130|    470|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3130:12): [True: 470, False: 0]
  ------------------
 3131|    470|    {
 3132|    470|        new = tstate->datastack_cached_chunk;
 3133|    470|        tstate->datastack_cached_chunk = NULL;
 3134|    470|        new->previous = tstate->datastack_chunk;
 3135|    470|        new->top = 0;
 3136|    470|    }
 3137|      4|    else {
 3138|      4|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3139|      4|        if (new == NULL) {
  ------------------
  |  Branch (3139:13): [True: 0, False: 4]
  ------------------
 3140|      0|            return NULL;
 3141|      0|        }
 3142|      4|    }
 3143|    474|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3143:9): [True: 472, False: 2]
  ------------------
 3144|    472|        tstate->datastack_chunk->top = tstate->datastack_top -
 3145|    472|                                       &tstate->datastack_chunk->data[0];
 3146|    472|    }
 3147|    474|    tstate->datastack_chunk = new;
 3148|    474|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3149|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3150|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3151|       |    // first element:
 3152|       |    PyObject **res = &new->data[new->previous == NULL];
 3153|    474|    tstate->datastack_top = res + size;
 3154|    474|    return res;
 3155|    474|}
pystate.c:allocate_chunk:
 1471|      4|{
 1472|      4|    assert(size_in_bytes % sizeof(PyObject **) == 0);
 1473|      4|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1474|      4|    if (res == NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 4]
  ------------------
 1475|      0|        return NULL;
 1476|      0|    }
 1477|      4|    res->previous = previous;
 1478|      4|    res->size = size_in_bytes;
 1479|      4|    res->top = 0;
 1480|      4|    return res;
 1481|      4|}

_Py_strhex:
  257|     91|{
  258|       |    return _Py_strhex_impl(argbuf, arglen, NULL, 0, 0);
  259|     91|}
pystrhex.c:_Py_strhex_impl:
  119|     91|{
  120|     91|    assert(arglen >= 0);
  121|       |
  122|     91|    Py_UCS1 sep_char = 0;
  123|     91|    if (sep) {
  ------------------
  |  Branch (123:9): [True: 0, False: 91]
  ------------------
  124|      0|        Py_ssize_t seplen = PyObject_Length((PyObject*)sep);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
  125|      0|        if (seplen < 0) {
  ------------------
  |  Branch (125:13): [True: 0, False: 0]
  ------------------
  126|      0|            return NULL;
  127|      0|        }
  128|      0|        if (seplen != 1) {
  ------------------
  |  Branch (128:13): [True: 0, False: 0]
  ------------------
  129|      0|            PyErr_SetString(PyExc_ValueError, "sep must be length 1.");
  130|      0|            return NULL;
  131|      0|        }
  132|      0|        if (PyUnicode_Check(sep)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|      0|            if (PyUnicode_KIND(sep) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (133:17): [True: 0, False: 0]
  ------------------
  134|      0|                PyErr_SetString(PyExc_ValueError, "sep must be ASCII.");
  135|      0|                return NULL;
  136|      0|            }
  137|      0|            sep_char = PyUnicode_READ_CHAR(sep, 0);
  ------------------
  |  |  381|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|      0|        }
  139|      0|        else if (PyBytes_Check(sep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      0|            sep_char = PyBytes_AS_STRING(sep)[0];
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|      0|        }
  142|      0|        else {
  143|      0|            PyErr_SetString(PyExc_TypeError, "sep must be str or bytes.");
  144|      0|            return NULL;
  145|      0|        }
  146|      0|        if (sep_char > 127 && !return_bytes) {
  ------------------
  |  Branch (146:13): [True: 0, False: 0]
  |  Branch (146:31): [True: 0, False: 0]
  ------------------
  147|      0|            PyErr_SetString(PyExc_ValueError, "sep must be ASCII.");
  148|      0|            return NULL;
  149|      0|        }
  150|      0|    }
  151|     91|    else {
  152|     91|        bytes_per_sep_group = 0;
  153|     91|    }
  154|     91|    size_t abs_bytes_per_sep = _Py_ABS_CAST(size_t, bytes_per_sep_group);
  ------------------
  |  |  124|     91|#define _Py_ABS_CAST(T, x) ((x) >= 0 ? ((T) (x)) : ((T) (((T) -((x) + 1)) + 1u)))
  |  |  ------------------
  |  |  |  Branch (124:29): [True: 91, False: 0]
  |  |  ------------------
  ------------------
  155|     91|    Py_ssize_t resultlen = 0;
  156|     91|    if (bytes_per_sep_group && arglen > 0) {
  ------------------
  |  Branch (156:9): [True: 0, False: 91]
  |  Branch (156:32): [True: 0, False: 0]
  ------------------
  157|       |        /* How many sep characters we'll be inserting. */
  158|      0|        resultlen = (arglen - 1) / abs_bytes_per_sep;
  159|      0|    }
  160|       |    /* Bounds checking for our Py_ssize_t indices. */
  161|     91|    if (arglen >= PY_SSIZE_T_MAX / 2 - resultlen) {
  ------------------
  |  |  137|     91|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (161:9): [True: 0, False: 91]
  ------------------
  162|      0|        return PyErr_NoMemory();
  163|      0|    }
  164|     91|    resultlen += arglen * 2;
  165|       |
  166|     91|    if ((size_t)abs_bytes_per_sep >= (size_t)arglen) {
  ------------------
  |  Branch (166:9): [True: 0, False: 91]
  ------------------
  167|      0|        bytes_per_sep_group = 0;
  168|      0|        abs_bytes_per_sep = 0;
  169|      0|    }
  170|       |
  171|     91|    PyObject *retval;
  172|     91|    Py_UCS1 *retbuf;
  173|     91|    if (return_bytes) {
  ------------------
  |  Branch (173:9): [True: 0, False: 91]
  ------------------
  174|       |        /* If _PyBytes_FromSize() were public we could avoid malloc+copy. */
  175|      0|        retval = PyBytes_FromStringAndSize(NULL, resultlen);
  176|      0|        if (!retval) {
  ------------------
  |  Branch (176:13): [True: 0, False: 0]
  ------------------
  177|      0|            return NULL;
  178|      0|        }
  179|      0|        retbuf = (Py_UCS1 *)PyBytes_AS_STRING(retval);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|    }
  181|     91|    else {
  182|     91|        retval = PyUnicode_New(resultlen, 127);
  183|     91|        if (!retval) {
  ------------------
  |  Branch (183:13): [True: 0, False: 91]
  ------------------
  184|      0|            return NULL;
  185|      0|        }
  186|     91|        retbuf = PyUnicode_1BYTE_DATA(retval);
  ------------------
  |  |  291|     91|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     91|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  187|     91|    }
  188|       |
  189|       |    /* Hexlify */
  190|     91|    Py_ssize_t i, j;
  191|     91|    unsigned char c;
  192|       |
  193|     91|    if (bytes_per_sep_group == 0) {
  ------------------
  |  Branch (193:9): [True: 91, False: 0]
  ------------------
  194|     91|#ifdef _Py_HAVE_EFFICIENT_BUILTIN_SHUFFLEVECTOR
  195|     91|        if (arglen >= 16) {
  ------------------
  |  Branch (195:13): [True: 91, False: 0]
  ------------------
  196|     91|            _Py_hexlify_simd((const unsigned char *)argbuf, retbuf, arglen);
  197|     91|        }
  198|      0|        else
  199|      0|#endif
  200|      0|        {
  201|      0|            _Py_hexlify_scalar((const unsigned char *)argbuf, retbuf, arglen);
  202|      0|        }
  203|     91|    }
  204|      0|    else {
  205|       |        /* The number of complete chunk+sep periods */
  206|      0|        Py_ssize_t chunks = (arglen - 1) / abs_bytes_per_sep;
  207|      0|        Py_ssize_t chunk;
  208|      0|        size_t k;
  209|       |
  210|      0|        if (bytes_per_sep_group < 0) {
  ------------------
  |  Branch (210:13): [True: 0, False: 0]
  ------------------
  211|      0|            i = j = 0;
  212|      0|            for (chunk = 0; chunk < chunks; chunk++) {
  ------------------
  |  Branch (212:29): [True: 0, False: 0]
  ------------------
  213|      0|                for (k = 0; k < abs_bytes_per_sep; k++) {
  ------------------
  |  Branch (213:29): [True: 0, False: 0]
  ------------------
  214|      0|                    c = argbuf[i++];
  215|      0|                    retbuf[j++] = Py_hexdigits[c >> 4];
  216|      0|                    retbuf[j++] = Py_hexdigits[c & 0x0f];
  217|      0|                }
  218|      0|                retbuf[j++] = sep_char;
  219|      0|            }
  220|      0|            while (i < arglen) {
  ------------------
  |  Branch (220:20): [True: 0, False: 0]
  ------------------
  221|      0|                c = argbuf[i++];
  222|      0|                retbuf[j++] = Py_hexdigits[c >> 4];
  223|      0|                retbuf[j++] = Py_hexdigits[c & 0x0f];
  224|      0|            }
  225|      0|            assert(j == resultlen);
  226|      0|        }
  227|      0|        else {
  228|      0|            i = arglen - 1;
  229|      0|            j = resultlen - 1;
  230|      0|            for (chunk = 0; chunk < chunks; chunk++) {
  ------------------
  |  Branch (230:29): [True: 0, False: 0]
  ------------------
  231|      0|                for (k = 0; k < abs_bytes_per_sep; k++) {
  ------------------
  |  Branch (231:29): [True: 0, False: 0]
  ------------------
  232|      0|                    c = argbuf[i--];
  233|      0|                    retbuf[j--] = Py_hexdigits[c & 0x0f];
  234|      0|                    retbuf[j--] = Py_hexdigits[c >> 4];
  235|      0|                }
  236|      0|                retbuf[j--] = sep_char;
  237|      0|            }
  238|      0|            while (i >= 0) {
  ------------------
  |  Branch (238:20): [True: 0, False: 0]
  ------------------
  239|      0|                c = argbuf[i--];
  240|      0|                retbuf[j--] = Py_hexdigits[c & 0x0f];
  241|      0|                retbuf[j--] = Py_hexdigits[c >> 4];
  242|      0|            }
  243|      0|            assert(j == -1);
  244|      0|        }
  245|      0|    }
  246|       |
  247|       |#ifdef Py_DEBUG
  248|       |    if (!return_bytes) {
  249|       |        assert(_PyUnicode_CheckConsistency(retval, 1));
  250|       |    }
  251|       |#endif
  252|       |
  253|     91|    return retval;
  254|     91|}
pystrhex.c:_Py_hexlify_simd:
   66|     91|{
   67|     91|    const v16u8 mask_0f = v16u8_splat(0x0f);
   68|     91|    const v16u8 ascii_0 = v16u8_splat('0');
   69|     91|    const v16u8 offset = v16u8_splat('a' - '0' - 10);  /* 0x27 */
   70|     91|    const v16u8 four = v16u8_splat(4);
   71|     91|    const v16s8 nine = v16s8_splat(9);
   72|       |
   73|     91|    Py_ssize_t i = 0;
   74|       |
   75|       |    /* Process 16 bytes at a time */
   76|    364|    for (; i + 16 <= len; i += 16, dst += 32) {
  ------------------
  |  Branch (76:12): [True: 273, False: 91]
  ------------------
   77|       |        /* Load 16 bytes (memcpy for safe unaligned access) */
   78|    273|        v16u8 data;
   79|    273|        memcpy(&data, src + i, 16);
   80|       |
   81|       |        /* Extract high and low nibbles using vector operators */
   82|    273|        v16u8 hi = (data >> four) & mask_0f;
   83|    273|        v16u8 lo = data & mask_0f;
   84|       |
   85|       |        /* Compare > 9 using signed comparison for efficient codegen.
   86|       |           Nibble values 0-15 are safely in signed byte range.
   87|       |           This generates pcmpgtb on x86-64, avoiding the slower
   88|       |           psubusb+pcmpeqb sequence from unsigned comparison. */
   89|    273|        v16u8 hi_gt9 = (v16u8)((v16s8)hi > nine);
   90|    273|        v16u8 lo_gt9 = (v16u8)((v16s8)lo > nine);
   91|       |
   92|       |        /* Convert nibbles to hex ASCII */
   93|    273|        hi = hi + ascii_0 + (hi_gt9 & offset);
   94|    273|        lo = lo + ascii_0 + (lo_gt9 & offset);
   95|       |
   96|       |        /* Interleave hi/lo nibbles using portable shufflevector.
   97|       |           This compiles to punpcklbw/punpckhbw on x86-64, zip1/zip2 on ARM64,
   98|       |           or vzip on ARM32. */
   99|    273|        v16u8 result0 = __builtin_shufflevector(hi, lo,
  100|    273|            0, 16, 1, 17, 2, 18, 3, 19, 4, 20, 5, 21, 6, 22, 7, 23);
  101|    273|        v16u8 result1 = __builtin_shufflevector(hi, lo,
  102|    273|            8, 24, 9, 25, 10, 26, 11, 27, 12, 28, 13, 29, 14, 30, 15, 31);
  103|       |
  104|       |        /* Store 32 hex characters */
  105|    273|        memcpy(dst, &result0, 16);
  106|    273|        memcpy(dst + 16, &result1, 16);
  107|    273|    }
  108|       |
  109|       |    /* Scalar fallback for remaining 0-15 bytes */
  110|     91|    _Py_hexlify_scalar(src + i, dst, len - i);
  111|     91|}
pystrhex.c:v16u8_splat:
   52|    364|{
   53|    364|    return (v16u8){x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x};
   54|    364|}
pystrhex.c:v16s8_splat:
   58|     91|{
   59|     91|    return (v16s8){x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x};
   60|     91|}
pystrhex.c:_Py_hexlify_scalar:
   11|     91|{
   12|       |    /* Various optimizations like using math instead of a table lookup,
   13|       |       manually unrolling the loop, storing the global table pointer locally,
   14|       |       and doing wider dst writes have been tried and benchmarked; all produced
   15|       |       nearly identical performance on gcc 15.  Using a 256 entry uint16_t
   16|       |       table was a bit slower.  So we keep our old simple and obvious code. */
   17|     91|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (17:28): [True: 0, False: 91]
  ------------------
   18|      0|        unsigned char c = src[i];
   19|      0|        *dst++ = Py_hexdigits[c >> 4];
   20|      0|        *dst++ = Py_hexdigits[c & 0x0f];
   21|      0|    }
   22|     91|}

_Py_parse_inf_or_nan:
   29|  42.8k|{
   30|  42.8k|    double retval;
   31|  42.8k|    const char *s;
   32|  42.8k|    int negate = 0;
   33|       |
   34|  42.8k|    s = p;
   35|  42.8k|    if (*s == '-') {
  ------------------
  |  Branch (35:9): [True: 4, False: 42.7k]
  ------------------
   36|      4|        negate = 1;
   37|      4|        s++;
   38|      4|    }
   39|  42.7k|    else if (*s == '+') {
  ------------------
  |  Branch (39:14): [True: 0, False: 42.7k]
  ------------------
   40|      0|        s++;
   41|      0|    }
   42|  42.8k|    if (case_insensitive_match(s, "inf")) {
  ------------------
  |  Branch (42:9): [True: 42.8k, False: 2]
  ------------------
   43|  42.8k|        s += 3;
   44|  42.8k|        if (case_insensitive_match(s, "inity"))
  ------------------
  |  Branch (44:13): [True: 0, False: 42.8k]
  ------------------
   45|      0|            s += 5;
   46|  42.8k|        retval = negate ? -INFINITY : INFINITY;
  ------------------
  |  Branch (46:18): [True: 4, False: 42.7k]
  ------------------
   47|  42.8k|    }
   48|      2|    else if (case_insensitive_match(s, "nan")) {
  ------------------
  |  Branch (48:14): [True: 2, False: 0]
  ------------------
   49|      2|        s += 3;
   50|      2|        retval = negate ? -fabs(Py_NAN) : fabs(Py_NAN);
  ------------------
  |  |   79|      0|#    define Py_NAN      ((double)NAN)
  ------------------
                      retval = negate ? -fabs(Py_NAN) : fabs(Py_NAN);
  ------------------
  |  |   79|      2|#    define Py_NAN      ((double)NAN)
  ------------------
  |  Branch (50:18): [True: 0, False: 2]
  ------------------
   51|      2|    }
   52|      0|    else {
   53|      0|        s = p;
   54|      0|        retval = -1.0;
   55|      0|    }
   56|  42.8k|    *endptr = (char *)s;
   57|  42.8k|    return retval;
   58|  42.8k|}
PyOS_string_to_double:
  302|  42.8k|{
  303|  42.8k|    double x, result=-1.0;
  304|  42.8k|    char *fail_pos;
  305|       |
  306|  42.8k|    errno = 0;
  307|  42.8k|    x = _PyOS_ascii_strtod(s, &fail_pos);
  308|       |
  309|  42.8k|    if (errno == ENOMEM) {
  ------------------
  |  Branch (309:9): [True: 0, False: 42.8k]
  ------------------
  310|      0|        PyErr_NoMemory();
  311|      0|        fail_pos = (char *)s;
  312|      0|    }
  313|  42.8k|    else if (!endptr && (fail_pos == s || *fail_pos != '\0'))
  ------------------
  |  Branch (313:14): [True: 0, False: 42.8k]
  |  Branch (313:26): [True: 0, False: 0]
  |  Branch (313:43): [True: 0, False: 0]
  ------------------
  314|      0|        PyErr_Format(PyExc_ValueError,
  315|      0|                      "could not convert string to float: "
  316|      0|                      "'%.200s'", s);
  317|  42.8k|    else if (fail_pos == s)
  ------------------
  |  Branch (317:14): [True: 0, False: 42.8k]
  ------------------
  318|      0|        PyErr_Format(PyExc_ValueError,
  319|      0|                      "could not convert string to float: "
  320|      0|                      "'%.200s'", s);
  321|  42.8k|    else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
  ------------------
  |  Branch (321:14): [True: 0, False: 42.8k]
  |  Branch (321:33): [True: 0, False: 0]
  |  Branch (321:51): [True: 0, False: 0]
  ------------------
  322|      0|        PyErr_Format(overflow_exception,
  323|      0|                      "value too large to convert to float: "
  324|      0|                      "'%.200s'", s);
  325|  42.8k|    else
  326|  42.8k|        result = x;
  327|       |
  328|  42.8k|    if (endptr != NULL)
  ------------------
  |  Branch (328:9): [True: 42.8k, False: 0]
  ------------------
  329|  42.8k|        *endptr = fail_pos;
  330|  42.8k|    return result;
  331|  42.8k|}
_Py_string_to_number_with_underscores:
  348|  42.8k|{
  349|  42.8k|    char prev;
  350|  42.8k|    const char *p, *last;
  351|  42.8k|    char *dup, *end;
  352|  42.8k|    PyObject *result;
  353|       |
  354|  42.8k|    assert(s[orig_len] == '\0');
  355|       |
  356|  42.8k|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (356:9): [True: 42.8k, False: 0]
  ------------------
  357|  42.8k|        return innerfunc(s, orig_len, arg);
  358|  42.8k|    }
  359|       |
  360|      0|    dup = PyMem_Malloc(orig_len + 1);
  361|      0|    if (dup == NULL) {
  ------------------
  |  Branch (361:9): [True: 0, False: 0]
  ------------------
  362|      0|        return PyErr_NoMemory();
  363|      0|    }
  364|      0|    end = dup;
  365|      0|    prev = '\0';
  366|      0|    last = s + orig_len;
  367|      0|    for (p = s; *p; p++) {
  ------------------
  |  Branch (367:17): [True: 0, False: 0]
  ------------------
  368|      0|        if (*p == '_') {
  ------------------
  |  Branch (368:13): [True: 0, False: 0]
  ------------------
  369|       |            /* Underscores are only allowed after digits. */
  370|      0|            if (!(prev >= '0' && prev <= '9')) {
  ------------------
  |  Branch (370:19): [True: 0, False: 0]
  |  Branch (370:34): [True: 0, False: 0]
  ------------------
  371|      0|                goto error;
  372|      0|            }
  373|      0|        }
  374|      0|        else {
  375|      0|            *end++ = *p;
  376|       |            /* Underscores are only allowed before digits. */
  377|      0|            if (prev == '_' && !(*p >= '0' && *p <= '9')) {
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  |  Branch (377:34): [True: 0, False: 0]
  |  Branch (377:47): [True: 0, False: 0]
  ------------------
  378|      0|                goto error;
  379|      0|            }
  380|      0|        }
  381|      0|        prev = *p;
  382|      0|    }
  383|       |    /* Underscores are not allowed at the end. */
  384|      0|    if (prev == '_') {
  ------------------
  |  Branch (384:9): [True: 0, False: 0]
  ------------------
  385|      0|        goto error;
  386|      0|    }
  387|       |    /* No embedded NULs allowed. */
  388|      0|    if (p != last) {
  ------------------
  |  Branch (388:9): [True: 0, False: 0]
  ------------------
  389|      0|        goto error;
  390|      0|    }
  391|      0|    *end = '\0';
  392|      0|    result = innerfunc(dup, end - dup, arg);
  393|      0|    PyMem_Free(dup);
  394|      0|    return result;
  395|       |
  396|      0|  error:
  397|      0|    PyMem_Free(dup);
  398|      0|    PyErr_Format(PyExc_ValueError,
  399|      0|                 "could not convert string to %s: "
  400|      0|                 "%R", what, obj);
  401|       |    return NULL;
  402|      0|}
pystrtod.c:case_insensitive_match:
   14|  85.6k|{
   15|   214k|    while(*t && Py_TOLOWER(*s) == *t) {
  ------------------
  |  |   32|   171k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   171k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (15:11): [True: 171k, False: 42.8k]
  |  Branch (15:17): [True: 128k, False: 42.8k]
  ------------------
   16|   128k|        s++;
   17|   128k|        t++;
   18|   128k|    }
   19|  85.6k|    return *t ? 0 : 1;
  ------------------
  |  Branch (19:12): [True: 42.8k, False: 42.8k]
  ------------------
   20|  85.6k|}
pystrtod.c:_PyOS_ascii_strtod:
   94|  42.8k|{
   95|  42.8k|    double result;
   96|  42.8k|    _Py_SET_53BIT_PRECISION_HEADER;
  ------------------
  |  |   94|  42.8k|    unsigned short old_387controlword, new_387controlword
  ------------------
   97|       |
   98|  42.8k|    assert(nptr != NULL);
   99|       |    /* Set errno to zero, so that we can distinguish zero results
  100|       |       and underflows */
  101|  42.8k|    errno = 0;
  102|       |
  103|  42.8k|    _Py_SET_53BIT_PRECISION_START;
  ------------------
  |  |   96|  42.8k|    do {                                                                \
  |  |   97|  42.8k|        old_387controlword = _Py_get_387controlword();                  \
  |  |   98|  42.8k|        new_387controlword = (old_387controlword & ~0x0f00) | 0x0200;   \
  |  |   99|  42.8k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (99:13): [True: 42.8k, False: 0]
  |  |  ------------------
  |  |  100|  42.8k|            _Py_set_387controlword(new_387controlword);                 \
  |  |  101|  42.8k|        }                                                               \
  |  |  102|  42.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (102:14): [Folded, False: 42.8k]
  |  |  ------------------
  ------------------
  104|  42.8k|    result = _Py_dg_strtod(nptr, endptr);
  105|  42.8k|    _Py_SET_53BIT_PRECISION_END;
  ------------------
  |  |  104|  42.8k|    do {                                                                \
  |  |  105|  42.8k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (105:13): [True: 42.8k, False: 0]
  |  |  ------------------
  |  |  106|  42.8k|            _Py_set_387controlword(old_387controlword);                 \
  |  |  107|  42.8k|        }                                                               \
  |  |  108|  42.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (108:14): [Folded, False: 42.8k]
  |  |  ------------------
  ------------------
  106|       |
  107|  42.8k|    if (*endptr == nptr)
  ------------------
  |  Branch (107:9): [True: 42.8k, False: 0]
  ------------------
  108|       |        /* string might represent an inf or nan */
  109|  42.8k|        result = _Py_parse_inf_or_nan(nptr, endptr);
  110|       |
  111|  42.8k|    return result;
  112|       |
  113|  42.8k|}

_PyRun_SimpleStringFlagsWithName:
  556|      4|_PyRun_SimpleStringFlagsWithName(const char *command, const char* name, PyCompilerFlags *flags) {
  557|      4|    PyObject *main_module = PyImport_AddModuleRef("__main__");
  558|      4|    if (main_module == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 4]
  ------------------
  559|      0|        return -1;
  560|      0|    }
  561|      4|    PyObject *dict = PyModule_GetDict(main_module);  // borrowed ref
  562|       |
  563|      4|    PyObject *res = NULL;
  564|      4|    if (name == NULL) {
  ------------------
  |  Branch (564:9): [True: 4, False: 0]
  ------------------
  565|      4|        res = PyRun_StringFlags(command, Py_file_input, dict, dict, flags);
  ------------------
  |  |    9|      4|#define Py_file_input 257
  ------------------
  566|      4|    } else {
  567|      0|        PyObject* the_name = PyUnicode_FromString(name);
  568|      0|        if (!the_name) {
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  ------------------
  569|      0|            PyErr_Print();
  570|      0|            Py_DECREF(main_module);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|            return -1;
  572|      0|        }
  573|      0|        res = _PyRun_StringFlagsWithName(command, the_name, Py_file_input, dict, dict, flags, 0);
  ------------------
  |  |    9|      0|#define Py_file_input 257
  ------------------
  574|      0|        Py_DECREF(the_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|      0|    }
  576|      4|    Py_DECREF(main_module);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      4|    if (res == NULL) {
  ------------------
  |  Branch (577:9): [True: 0, False: 4]
  ------------------
  578|      0|        PyErr_Print();
  579|      0|        return -1;
  580|      0|    }
  581|       |
  582|      4|    Py_DECREF(res);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  583|      4|    return 0;
  584|      4|}
PyRun_SimpleStringFlags:
  588|      4|{
  589|       |    return _PyRun_SimpleStringFlagsWithName(command, NULL, flags);
  590|      4|}
PyRun_StringFlags:
 1272|    203|                     PyObject *locals, PyCompilerFlags *flags) {
 1273|       |
 1274|       |    return _PyRun_StringFlagsWithName(str, NULL, start, globals, locals, flags, 0);
 1275|    203|}
_Py_CompileStringObjectWithModule:
 1531|  54.2k|{
 1532|  54.2k|    PyCodeObject *co;
 1533|  54.2k|    mod_ty mod;
 1534|  54.2k|    PyArena *arena = _PyArena_New();
 1535|  54.2k|    if (arena == NULL)
  ------------------
  |  Branch (1535:9): [True: 0, False: 54.2k]
  ------------------
 1536|      0|        return NULL;
 1537|       |
 1538|  54.2k|    mod = _PyParser_ASTFromString(str, filename, start, flags, arena, module);
 1539|  54.2k|    if (mod == NULL) {
  ------------------
  |  Branch (1539:9): [True: 54.1k, False: 22]
  ------------------
 1540|  54.1k|        _PyArena_Free(arena);
 1541|  54.1k|        return NULL;
 1542|  54.1k|    }
 1543|     22|    if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|     22|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1543:9): [True: 22, False: 0]
  |  Branch (1543:18): [True: 6, False: 16]
  ------------------
 1544|      6|        int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|      6|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|      6|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                      int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|      6|#define PyCF_ONLY_AST 0x0400
  ------------------
 1545|      6|        if (_PyCompile_AstPreprocess(mod, filename, flags, optimize, arena,
  ------------------
  |  Branch (1545:13): [True: 0, False: 6]
  ------------------
 1546|      6|                                     syntax_check_only, module) < 0)
 1547|      0|        {
 1548|      0|            _PyArena_Free(arena);
 1549|      0|            return NULL;
 1550|      0|        }
 1551|      6|        PyObject *result = PyAST_mod2obj(mod);
 1552|      6|        _PyArena_Free(arena);
 1553|      6|        return result;
 1554|      6|    }
 1555|     16|    co = _PyAST_Compile(mod, filename, flags, optimize, arena, module);
 1556|     16|    _PyArena_Free(arena);
 1557|     16|    return (PyObject *)co;
 1558|     22|}
_Py_SourceAsString:
 1595|  54.4k|{
 1596|  54.4k|    const char *str;
 1597|  54.4k|    Py_ssize_t size;
 1598|  54.4k|    Py_buffer view;
 1599|       |
 1600|  54.4k|    *cmd_copy = NULL;
 1601|  54.4k|    if (PyUnicode_Check(cmd)) {
  ------------------
  |  |  103|  54.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  54.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 54.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|  54.4k|        cf->cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|  54.4k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
 1603|  54.4k|        str = PyUnicode_AsUTF8AndSize(cmd, &size);
 1604|  54.4k|        if (str == NULL)
  ------------------
  |  Branch (1604:13): [True: 0, False: 54.4k]
  ------------------
 1605|      0|            return NULL;
 1606|  54.4k|    }
 1607|      0|    else if (PyBytes_Check(cmd)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      0|        str = PyBytes_AS_STRING(cmd);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|      0|        size = PyBytes_GET_SIZE(cmd);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      0|    }
 1611|      0|    else if (PyByteArray_Check(cmd)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      0|        str = PyByteArray_AS_STRING(cmd);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      0|        size = PyByteArray_GET_SIZE(cmd);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|      0|    }
 1615|      0|    else if (PyObject_GetBuffer(cmd, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1615:14): [True: 0, False: 0]
  ------------------
 1616|       |        /* Copy to NUL-terminated buffer. */
 1617|      0|        *cmd_copy = PyBytes_FromStringAndSize(
 1618|      0|            (const char *)view.buf, view.len);
 1619|      0|        PyBuffer_Release(&view);
 1620|      0|        if (*cmd_copy == NULL) {
  ------------------
  |  Branch (1620:13): [True: 0, False: 0]
  ------------------
 1621|      0|            return NULL;
 1622|      0|        }
 1623|      0|        str = PyBytes_AS_STRING(*cmd_copy);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|      0|        size = PyBytes_GET_SIZE(*cmd_copy);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|      0|    }
 1626|      0|    else {
 1627|      0|        PyErr_Format(PyExc_TypeError,
 1628|      0|            "%s() arg 1 must be a %s object",
 1629|      0|            funcname, what);
 1630|      0|        return NULL;
 1631|      0|    }
 1632|       |
 1633|  54.4k|    if (strlen(str) != (size_t)size) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 54.4k]
  ------------------
 1634|      0|        PyErr_SetString(PyExc_SyntaxError,
 1635|      0|            "source code string cannot contain null bytes");
 1636|      0|        Py_CLEAR(*cmd_copy);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1637|      0|        return NULL;
 1638|      0|    }
 1639|  54.4k|    return str;
 1640|  54.4k|}
pythonrun.c:run_mod:
 1399|    203|{
 1400|    203|    PyThreadState *tstate = _PyThreadState_GET();
 1401|    203|    PyObject* interactive_filename = filename;
 1402|    203|    if (interactive_src) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 203]
  ------------------
 1403|      0|        PyInterpreterState *interp = tstate->interp;
 1404|      0|        if (generate_new_source) {
  ------------------
  |  Branch (1404:13): [True: 0, False: 0]
  ------------------
 1405|      0|            interactive_filename = get_interactive_filename(
 1406|      0|                filename, interp->_interactive_src_count++);
 1407|      0|        } else {
 1408|      0|            Py_INCREF(interactive_filename);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|      0|        }
 1410|      0|        if (interactive_filename == NULL) {
  ------------------
  |  Branch (1410:13): [True: 0, False: 0]
  ------------------
 1411|      0|            return NULL;
 1412|      0|        }
 1413|      0|    }
 1414|    203|    PyObject *module = NULL;
 1415|    203|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1415:9): [True: 203, False: 0]
  |  Branch (1415:20): [True: 0, False: 203]
  ------------------
 1416|      0|        if (interactive_src) {
  ------------------
  |  Branch (1416:13): [True: 0, False: 0]
  ------------------
 1417|      0|            Py_DECREF(interactive_filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|      0|        }
 1419|      0|        return NULL;
 1420|      0|    }
 1421|       |
 1422|    203|    PyCodeObject *co = _PyAST_Compile(mod, interactive_filename, flags, -1,
 1423|    203|                                      arena, module);
 1424|    203|    Py_XDECREF(module);
  ------------------
  |  |  524|    203|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|    203|    if (co == NULL) {
  ------------------
  |  Branch (1425:9): [True: 0, False: 203]
  ------------------
 1426|      0|        if (interactive_src) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            Py_DECREF(interactive_filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      0|        }
 1429|      0|        return NULL;
 1430|      0|    }
 1431|       |
 1432|    203|    if (interactive_src) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 203]
  ------------------
 1433|      0|        PyObject *print_tb_func = PyImport_ImportModuleAttrString(
 1434|      0|            "linecache",
 1435|      0|            "_register_code");
 1436|      0|        if (print_tb_func == NULL) {
  ------------------
  |  Branch (1436:13): [True: 0, False: 0]
  ------------------
 1437|      0|            Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      0|            Py_DECREF(interactive_filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1439|      0|            return NULL;
 1440|      0|        }
 1441|       |
 1442|      0|        if (!PyCallable_Check(print_tb_func)) {
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1444|      0|            Py_DECREF(interactive_filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1445|      0|            Py_DECREF(print_tb_func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|            PyErr_SetString(PyExc_ValueError, "linecache._register_code is not callable");
 1447|      0|            return NULL;
 1448|      0|        }
 1449|       |
 1450|      0|        PyObject* result = PyObject_CallFunction(
 1451|      0|            print_tb_func, "OOO",
 1452|      0|            co,
 1453|      0|            interactive_src,
 1454|      0|            filename
 1455|      0|        );
 1456|       |
 1457|      0|        Py_DECREF(interactive_filename);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|       |
 1459|      0|        Py_XDECREF(print_tb_func);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1460|      0|        Py_XDECREF(result);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1461|      0|        if (!result) {
  ------------------
  |  Branch (1461:13): [True: 0, False: 0]
  ------------------
 1462|      0|            Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1463|      0|            return NULL;
 1464|      0|        }
 1465|      0|    }
 1466|       |
 1467|    203|    if (_PySys_Audit(tstate, "exec", "O", co) < 0) {
  ------------------
  |  Branch (1467:9): [True: 0, False: 203]
  ------------------
 1468|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|       |
 1472|    203|    PyObject *v = run_eval_code_obj(tstate, co, globals, locals);
 1473|    203|    Py_DECREF(co);
  ------------------
  |  |  430|    203|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|    203|    return v;
 1475|    203|}
pythonrun.c:run_eval_code_obj:
 1350|    203|{
 1351|       |    /* Set globals['__builtins__'] if it doesn't exist */
 1352|    203|    if (!globals || !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    203|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    203|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    406|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 203, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1352:9): [True: 0, False: 203]
  ------------------
 1353|      0|        PyErr_SetString(PyExc_SystemError,
 1354|      0|                        "globals must be a real dict or a real frozendict");
 1355|      0|        return NULL;
 1356|      0|    }
 1357|    203|    int has_builtins = PyDict_ContainsString(globals, "__builtins__");
 1358|    203|    if (has_builtins < 0) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 203]
  ------------------
 1359|      0|        return NULL;
 1360|      0|    }
 1361|    203|    if (!has_builtins) {
  ------------------
  |  Branch (1361:9): [True: 2, False: 201]
  ------------------
 1362|      2|        if (PyDict_SetItemString(globals, "__builtins__",
  ------------------
  |  Branch (1362:13): [True: 0, False: 2]
  ------------------
 1363|      2|                                 tstate->interp->builtins) < 0)
 1364|      0|        {
 1365|      0|            return NULL;
 1366|      0|        }
 1367|      2|    }
 1368|       |
 1369|    203|    return PyEval_EvalCode((PyObject*)co, globals, locals);
 1370|    203|}
pythonrun.c:_PyRun_StringFlagsWithName:
 1231|    203|{
 1232|    203|    PyObject *ret = NULL;
 1233|    203|    mod_ty mod;
 1234|    203|    PyArena *arena;
 1235|       |
 1236|    203|    arena = _PyArena_New();
 1237|    203|    if (arena == NULL)
  ------------------
  |  Branch (1237:9): [True: 0, False: 203]
  ------------------
 1238|      0|        return NULL;
 1239|       |
 1240|    203|    PyObject* source = NULL;
 1241|    203|    _Py_DECLARE_STR(anon_string, "<string>");
 1242|       |
 1243|    203|    if (name) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 203]
  ------------------
 1244|      0|        source = PyUnicode_FromString(str);
 1245|      0|        if (!source) {
  ------------------
  |  Branch (1245:13): [True: 0, False: 0]
  ------------------
 1246|      0|            PyErr_Clear();
 1247|      0|        }
 1248|    203|    } else {
 1249|    203|        name = &_Py_STR(anon_string);
  ------------------
  |  |  921|    203|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    203|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    203|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1250|    203|    }
 1251|    203|    PyObject *module = NULL;
 1252|    203|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1252:9): [True: 203, False: 0]
  |  Branch (1252:20): [True: 0, False: 203]
  ------------------
 1253|      0|        goto done;
 1254|      0|    }
 1255|       |
 1256|    203|    mod = _PyParser_ASTFromString(str, name, start, flags, arena, module);
 1257|    203|    Py_XDECREF(module);
  ------------------
  |  |  524|    203|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1258|       |
 1259|    203|    if (mod != NULL) {
  ------------------
  |  Branch (1259:9): [True: 203, False: 0]
  ------------------
 1260|    203|        ret = run_mod(mod, name, globals, locals, flags, arena, source, generate_new_source);
 1261|    203|    }
 1262|       |
 1263|    203|done:
 1264|    203|    Py_XDECREF(source);
  ------------------
  |  |  524|    203|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    203|    _PyArena_Free(arena);
 1266|    203|    return ret;
 1267|    203|}

_PyTimeFraction_Set:
   79|      4|{
   80|      4|    if (numer < 1 || denom < 1) {
  ------------------
  |  Branch (80:9): [True: 0, False: 4]
  |  Branch (80:22): [True: 0, False: 4]
  ------------------
   81|      0|        return -1;
   82|      0|    }
   83|       |
   84|      4|    PyTime_t gcd = _PyTime_GCD(numer, denom);
   85|      4|    frac->numer = numer / gcd;
   86|      4|    frac->denom = denom / gcd;
   87|      4|    return 0;
   88|      4|}
_PyLong_FromTime_t:
  226|  11.0k|{
  227|  11.0k|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|  11.0k|    return PyLong_FromLongLong((long long)t);
  229|       |#elif SIZEOF_TIME_T <= SIZEOF_LONG
  230|       |    return PyLong_FromLong((long)t);
  231|       |#else
  232|       |#   error "unsupported time_t size"
  233|       |#endif
  234|  11.0k|}
_PyTime_FromSeconds:
  539|  72.1k|{
  540|       |    /* ensure that integer overflow cannot happen, int type should have 32
  541|       |       bits, whereas PyTime_t type has at least 64 bits (SEC_TO_NS takes 30
  542|       |       bits). */
  543|  72.1k|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|  72.1k|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|  72.1k|    PyTime_t t = (PyTime_t)seconds;
  547|  72.1k|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  548|  72.1k|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|  72.1k|    t *= SEC_TO_NS;
  ------------------
  |  |   35|  72.1k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  72.1k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  72.1k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  72.1k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  72.1k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  72.1k|    return t;
  551|  72.1k|}
_PyTime_FromMicrosecondsClamp:
  556|  1.60k|{
  557|  1.60k|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|  1.60k|#define US_TO_NS 1000
  ------------------
  558|  1.60k|    return ns;
  559|  1.60k|}
PyTime_AsSecondsDouble:
  705|  20.4k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  20.4k|    volatile double d;
  708|       |
  709|  20.4k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  20.4k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  20.4k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  20.4k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  20.4k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  20.4k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 20.4k]
  ------------------
  710|       |        /* Divide using integers to avoid rounding issues on the integer part.
  711|       |           1e-9 cannot be stored exactly in IEEE 64-bit. */
  712|      0|        PyTime_t secs = ns / SEC_TO_NS;
  ------------------
  |  |   35|      0|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|      0|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|      0|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|      0|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|      0|        d = (double)secs;
  714|      0|    }
  715|  20.4k|    else {
  716|  20.4k|        d = (double)ns;
  717|  20.4k|        d /= 1e9;
  718|  20.4k|    }
  719|  20.4k|    return d;
  720|  20.4k|}
PyTime_Time:
 1064|      8|{
 1065|      8|    if (py_get_system_clock(result, NULL, 1) < 0) {
  ------------------
  |  Branch (1065:9): [True: 0, False: 8]
  ------------------
 1066|      0|        *result = 0;
 1067|      0|        return -1;
 1068|      0|    }
 1069|      8|    return 0;
 1070|      8|}
_PyTime_Init:
 1179|      2|{
 1180|       |#ifdef MS_WINDOWS
 1181|       |    return py_win_perf_counter_frequency(&state->base);
 1182|       |#elif defined(__APPLE__)
 1183|       |    return py_mach_timebase_info(&state->base);
 1184|       |#else
 1185|      2|    return PyStatus_Ok();
 1186|      2|#endif
 1187|      2|}
PyTime_Monotonic:
 1278|  18.7k|{
 1279|  18.7k|    if (py_get_monotonic_clock(result, NULL, 1) < 0) {
  ------------------
  |  Branch (1279:9): [True: 0, False: 18.7k]
  ------------------
 1280|      0|        *result = 0;
 1281|      0|        return -1;
 1282|      0|    }
 1283|  18.7k|    return 0;
 1284|  18.7k|}
PyTime_MonotonicRaw:
 1289|  3.26k|{
 1290|  3.26k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 3.26k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  3.26k|    return 0;
 1295|  3.26k|}
PyTime_PerfCounter:
 1314|  18.7k|{
 1315|  18.7k|    return PyTime_Monotonic(result);
 1316|  18.7k|}
PyTime_PerfCounterRaw:
 1321|  3.26k|{
 1322|  3.26k|    return PyTime_MonotonicRaw(result);
 1323|  3.26k|}
_PyTime_localtime:
 1328|      4|{
 1329|       |#ifdef MS_WINDOWS
 1330|       |    if (t >= 0) {
 1331|       |        /* For non-negative timestamps, use localtime_s() */
 1332|       |        int error = localtime_s(tm, &t);
 1333|       |        if (error != 0) {
 1334|       |            errno = error;
 1335|       |            PyErr_SetFromErrno(PyExc_OSError);
 1336|       |            return -1;
 1337|       |        }
 1338|       |        return 0;
 1339|       |    }
 1340|       |
 1341|       |    /* For negative timestamps, use FILETIME-based conversion */
 1342|       |    return _PyTime_windows_filetime(t, tm, 1);
 1343|       |#else /* !MS_WINDOWS */
 1344|       |
 1345|       |#if defined(_AIX) && (SIZEOF_TIME_T < 8)
 1346|       |    /* bpo-34373: AIX does not return NULL if t is too small or too large */
 1347|       |    if (t < -2145916800 /* 1902-01-01 */
 1348|       |       || t > 2145916800 /* 2038-01-01 */) {
 1349|       |        errno = EINVAL;
 1350|       |        PyErr_SetString(PyExc_OverflowError,
 1351|       |                        "localtime argument out of range");
 1352|       |        return -1;
 1353|       |    }
 1354|       |#endif
 1355|       |
 1356|      4|    errno = 0;
 1357|      4|    if (localtime_r(&t, tm) == NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 4]
  ------------------
 1358|      0|        if (errno == 0) {
  ------------------
  |  Branch (1358:13): [True: 0, False: 0]
  ------------------
 1359|      0|            errno = EINVAL;
 1360|      0|        }
 1361|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1362|      0|        return -1;
 1363|      0|    }
 1364|      4|    return 0;
 1365|      4|#endif /* MS_WINDOWS */
 1366|      4|}
pytime.c:_PyTime_GCD:
   63|      4|{
   64|       |    // Euclidean algorithm
   65|      4|    assert(x >= 1);
   66|      4|    assert(y >= 1);
   67|      8|    while (y != 0) {
  ------------------
  |  Branch (67:12): [True: 4, False: 4]
  ------------------
   68|      4|        PyTime_t tmp = y;
   69|      4|        y = x % y;
   70|      4|        x = tmp;
   71|      4|    }
   72|       |    assert(x >= 1);
   73|      4|    return x;
   74|      4|}
pytime.c:pytime_add:
  117|  22.0k|{
  118|  22.0k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  22.0k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 22.0k, False: 0]
  |  Branch (118:19): [True: 0, False: 22.0k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  22.0k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 22.0k]
  |  Branch (122:24): [True: 0, False: 0]
  ------------------
  123|      0|        *t1 = PyTime_MIN;
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  124|      0|        return -1;
  125|      0|    }
  126|  22.0k|    else {
  127|  22.0k|        *t1 += t2;
  128|  22.0k|        return 0;
  129|  22.0k|    }
  130|  22.0k|}
pytime.c:_PyTime_Mul:
  173|  1.60k|{
  174|  1.60k|    (void)pytime_mul(&t, k);
  175|  1.60k|    return t;
  176|  1.60k|}
pytime.c:pytime_mul:
  157|  23.6k|{
  158|  23.6k|    assert(k >= 0);
  159|  23.6k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 23.6k]
  ------------------
  160|      0|        *t = (*t >= 0) ? PyTime_MAX : PyTime_MIN;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
                      *t = (*t >= 0) ? PyTime_MAX : PyTime_MIN;
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (160:14): [True: 0, False: 0]
  ------------------
  161|      0|        return -1;
  162|      0|    }
  163|  23.6k|    else {
  164|  23.6k|        *t *= k;
  165|  23.6k|        return 0;
  166|  23.6k|    }
  167|  23.6k|}
pytime.c:pytime_mul_check_overflow:
  143|  23.6k|{
  144|  23.6k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 23.6k, False: 0]
  ------------------
  145|  23.6k|        assert(b > 0);
  146|  23.6k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|  23.6k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|  23.6k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 23.6k]
  |  Branch (146:41): [True: 0, False: 23.6k]
  ------------------
  147|  23.6k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|  23.6k|}
pytime.c:pytime_fromtimespec:
  565|  22.0k|{
  566|  22.0k|    PyTime_t t, tv_nsec;
  567|       |
  568|  22.0k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  22.0k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  22.0k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  22.0k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  22.0k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  22.0k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  22.0k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  22.0k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  22.0k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  22.0k|    tv_nsec = ts->tv_nsec;
  575|  22.0k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  22.0k|    *tp = t;
  578|       |
  579|  22.0k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 18.7k, False: 3.26k]
  |  Branch (579:23): [True: 0, False: 18.7k]
  |  Branch (579:35): [True: 0, False: 18.7k]
  ------------------
  580|      0|        pytime_overflow();
  581|      0|        return -1;
  582|      0|    }
  583|  22.0k|    return 0;
  584|  22.0k|}
pytime.c:py_get_system_clock:
  958|      8|{
  959|      8|    assert(info == NULL || raise_exc);
  960|      8|    if (raise_exc) {
  ------------------
  |  Branch (960:9): [True: 8, False: 0]
  ------------------
  961|       |        // raise_exc requires to hold a thread state
  962|      8|        _Py_AssertHoldsTstate();
  963|      8|    }
  964|       |
  965|       |#ifdef MS_WINDOWS
  966|       |    FILETIME system_time;
  967|       |    ULARGE_INTEGER large;
  968|       |
  969|       |    GetSystemTimePreciseAsFileTime(&system_time);
  970|       |    large.u.LowPart = system_time.dwLowDateTime;
  971|       |    large.u.HighPart = system_time.dwHighDateTime;
  972|       |
  973|       |    PyTime_t ns = (large.QuadPart - SECS_BETWEEN_EPOCHS * HUNDRED_NS_PER_SEC) * 100;
  974|       |    *tp = ns;
  975|       |    if (info) {
  976|       |        // GetSystemTimePreciseAsFileTime() is implemented using
  977|       |        // QueryPerformanceCounter() internally.
  978|       |        info->implementation = "GetSystemTimePreciseAsFileTime()";
  979|       |        info->monotonic = 0;
  980|       |        info->resolution = _PyTimeFraction_Resolution(&_PyRuntime.time.base);
  981|       |        info->adjustable = 1;
  982|       |    }
  983|       |
  984|       |#else   /* MS_WINDOWS */
  985|      8|    int err;
  986|      8|#if defined(HAVE_CLOCK_GETTIME)
  987|      8|    struct timespec ts;
  988|      8|#endif
  989|       |
  990|       |#if !defined(HAVE_CLOCK_GETTIME) || defined(__APPLE__)
  991|       |    struct timeval tv;
  992|       |#endif
  993|       |
  994|      8|#ifdef HAVE_CLOCK_GETTIME
  995|       |
  996|       |#ifdef HAVE_CLOCK_GETTIME_RUNTIME
  997|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
  998|       |#endif
  999|       |
 1000|      8|    err = clock_gettime(CLOCK_REALTIME, &ts);
 1001|      8|    if (err) {
  ------------------
  |  Branch (1001:9): [True: 0, False: 8]
  ------------------
 1002|      0|        if (raise_exc) {
  ------------------
  |  Branch (1002:13): [True: 0, False: 0]
  ------------------
 1003|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1004|      0|        }
 1005|      0|        return -1;
 1006|      0|    }
 1007|      8|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1007:9): [True: 0, False: 8]
  ------------------
 1008|      0|        return -1;
 1009|      0|    }
 1010|       |
 1011|      8|    if (info) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 8]
  ------------------
 1012|      0|        struct timespec res;
 1013|      0|        info->implementation = "clock_gettime(CLOCK_REALTIME)";
 1014|      0|        info->monotonic = 0;
 1015|      0|        info->adjustable = 1;
 1016|      0|        if (clock_getres(CLOCK_REALTIME, &res) == 0) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|            info->resolution = (double)res.tv_sec + (double)res.tv_nsec * 1e-9;
 1018|      0|        }
 1019|      0|        else {
 1020|      0|            info->resolution = 1e-9;
 1021|      0|        }
 1022|      0|    }
 1023|       |
 1024|       |#ifdef HAVE_CLOCK_GETTIME_RUNTIME
 1025|       |    }
 1026|       |    else {
 1027|       |#endif
 1028|       |
 1029|      8|#endif
 1030|       |
 1031|       |#if !defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_GETTIME_RUNTIME)
 1032|       |
 1033|       |     /* test gettimeofday() */
 1034|       |    err = gettimeofday(&tv, (struct timezone *)NULL);
 1035|       |    if (err) {
 1036|       |        if (raise_exc) {
 1037|       |            PyErr_SetFromErrno(PyExc_OSError);
 1038|       |        }
 1039|       |        return -1;
 1040|       |    }
 1041|       |    if (pytime_fromtimeval(tp, &tv, raise_exc) < 0) {
 1042|       |        return -1;
 1043|       |    }
 1044|       |
 1045|       |    if (info) {
 1046|       |        info->implementation = "gettimeofday()";
 1047|       |        info->resolution = 1e-6;
 1048|       |        info->monotonic = 0;
 1049|       |        info->adjustable = 1;
 1050|       |    }
 1051|       |
 1052|       |#if defined(HAVE_CLOCK_GETTIME_RUNTIME) && defined(HAVE_CLOCK_GETTIME)
 1053|       |    } /* end of availability block */
 1054|       |#endif
 1055|       |
 1056|       |#endif   /* !HAVE_CLOCK_GETTIME */
 1057|      8|#endif   /* !MS_WINDOWS */
 1058|      8|    return 0;
 1059|      8|}
pytime.c:py_get_monotonic_clock:
 1192|  22.0k|{
 1193|  22.0k|    assert(info == NULL || raise_exc);
 1194|  22.0k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 18.7k, False: 3.26k]
  ------------------
 1195|       |        // raise_exc requires to hold a thread state
 1196|  18.7k|        _Py_AssertHoldsTstate();
 1197|  18.7k|    }
 1198|       |
 1199|       |#if defined(MS_WINDOWS)
 1200|       |    if (py_get_win_perf_counter(tp, info, raise_exc) < 0) {
 1201|       |        return -1;
 1202|       |    }
 1203|       |#elif defined(__APPLE__)
 1204|       |    if (info) {
 1205|       |        info->implementation = "mach_absolute_time()";
 1206|       |        info->resolution = _PyTimeFraction_Resolution(&_PyRuntime.time.base);
 1207|       |        info->monotonic = 1;
 1208|       |        info->adjustable = 0;
 1209|       |    }
 1210|       |
 1211|       |    uint64_t uticks = mach_absolute_time();
 1212|       |    // unsigned => signed
 1213|       |    assert(uticks <= (uint64_t)PyTime_MAX);
 1214|       |    PyTime_t ticks = (PyTime_t)uticks;
 1215|       |
 1216|       |    PyTime_t ns = _PyTimeFraction_Mul(ticks, &_PyRuntime.time.base);
 1217|       |    *tp = ns;
 1218|       |
 1219|       |#elif defined(__hpux)
 1220|       |    hrtime_t time = gethrtime();
 1221|       |    if (time == -1) {
 1222|       |        if (raise_exc) {
 1223|       |            PyErr_SetFromErrno(PyExc_OSError);
 1224|       |        }
 1225|       |        return -1;
 1226|       |    }
 1227|       |
 1228|       |    *tp = time;
 1229|       |
 1230|       |    if (info) {
 1231|       |        info->implementation = "gethrtime()";
 1232|       |        info->resolution = 1e-9;
 1233|       |        info->monotonic = 1;
 1234|       |        info->adjustable = 0;
 1235|       |    }
 1236|       |
 1237|       |#else
 1238|       |
 1239|       |#ifdef CLOCK_HIGHRES
 1240|       |    const clockid_t clk_id = CLOCK_HIGHRES;
 1241|       |    const char *implementation = "clock_gettime(CLOCK_HIGHRES)";
 1242|       |#else
 1243|  22.0k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  22.0k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  22.0k|#endif
 1246|       |
 1247|  22.0k|    struct timespec ts;
 1248|  22.0k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 22.0k]
  ------------------
 1249|      0|        if (raise_exc) {
  ------------------
  |  Branch (1249:13): [True: 0, False: 0]
  ------------------
 1250|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1251|      0|            return -1;
 1252|      0|        }
 1253|      0|        return -1;
 1254|      0|    }
 1255|       |
 1256|  22.0k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 22.0k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  22.0k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 22.0k]
  ------------------
 1261|      0|        info->monotonic = 1;
 1262|      0|        info->implementation = implementation;
 1263|      0|        info->adjustable = 0;
 1264|      0|        struct timespec res;
 1265|      0|        if (clock_getres(clk_id, &res) != 0) {
  ------------------
  |  Branch (1265:13): [True: 0, False: 0]
  ------------------
 1266|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1267|      0|            return -1;
 1268|      0|        }
 1269|      0|        info->resolution = res.tv_sec + res.tv_nsec * 1e-9;
 1270|      0|    }
 1271|  22.0k|#endif
 1272|  22.0k|    return 0;
 1273|  22.0k|}

_PySlotIterator_InitLegacy:
   61|    462|{
   62|    462|    init_with_kind(it, slots, kind, kind);
   63|    462|}
_PySlotIterator_Rewind:
   67|    242|{
   68|    242|    MSG("");
   69|    242|    MSG("rewind (%s slot iterator)", kind_name(it->kind));
   70|    242|    assert (it->is_at_end);
   71|    242|    assert (it->recursion_level == 0);
   72|    242|    assert (it->state == it->states);
   73|    242|    it->is_at_end = false;
   74|    242|    it->state->any_slot = slots;
   75|       |    it->is_first_run = false;
   76|    242|}
_PySlotIterator_SawSlot:
   92|  2.52k|{
   93|  2.52k|    assert (id > 0);
   94|       |    assert (id < _Py_slot_COUNT);
   95|  2.52k|    return it->seen[seen_index(id)] & seen_mask(id);
   96|  2.52k|}
_PySlotIterator_Next:
  116|  5.30k|{
  117|  5.30k|    MSG("next");
  118|  5.30k|    assert(it);
  119|  5.30k|    assert(!it->is_at_end);
  120|  5.30k|    assert(!PyErr_Occurred());
  121|       |
  122|  5.30k|    it->current.sl_id = -1;
  123|       |
  124|  6.00k|    while (true) {
  ------------------
  |  Branch (124:12): [True: 6.00k, Folded]
  ------------------
  125|  6.00k|        if (it->state->slot == NULL) {
  ------------------
  |  Branch (125:13): [True: 704, False: 5.30k]
  ------------------
  126|    704|            if (it->recursion_level == 0) {
  ------------------
  |  Branch (126:17): [True: 704, False: 0]
  ------------------
  127|    704|                MSG("end (initial nesting level done)");
  128|    704|                it->is_at_end = true;
  129|    704|                return 0;
  130|    704|            }
  131|      0|            MSG("pop nesting level %d", (int)it->recursion_level);
  132|      0|            it->recursion_level--;
  133|      0|            it->state = &it->states[it->recursion_level];
  134|      0|            advance(it);
  135|      0|            continue;
  136|    704|        }
  137|       |
  138|  5.30k|        switch (it->state->slot_struct_kind) {
  139|      0|            case _PySlot_KIND_SLOT: {
  ------------------
  |  Branch (139:13): [True: 0, False: 5.30k]
  ------------------
  140|      0|                MSG("copying PySlot structure");
  141|      0|                it->current = *it->state->slot;
  142|      0|            } break;
  143|  4.17k|            case _PySlot_KIND_TYPE: {
  ------------------
  |  Branch (143:13): [True: 4.17k, False: 1.12k]
  ------------------
  144|  4.17k|                MSG("converting PyType_Slot structure");
  145|  4.17k|                memset(&it->current, 0, sizeof(it->current));
  146|  4.17k|                it->current.sl_id = (uint16_t)it->state->tp_slot->slot;
  147|  4.17k|                it->current.sl_flags = PySlot_INTPTR;
  ------------------
  |  |   23|  4.17k|#define PySlot_INTPTR 0x0004
  ------------------
  148|  4.17k|                it->current.sl_ptr = (void*)it->state->tp_slot->pfunc;
  149|  4.17k|            } break;
  150|  1.12k|            case _PySlot_KIND_MOD: {
  ------------------
  |  Branch (150:13): [True: 1.12k, False: 4.17k]
  ------------------
  151|  1.12k|                MSG("converting PyModuleDef_Slot structure");
  152|  1.12k|                memset(&it->current, 0, sizeof(it->current));
  153|  1.12k|                it->current.sl_id = (uint16_t)it->state->mod_slot->slot;
  154|  1.12k|                it->current.sl_flags = PySlot_INTPTR;
  ------------------
  |  |   23|  1.12k|#define PySlot_INTPTR 0x0004
  ------------------
  155|  1.12k|                it->current.sl_ptr = (void*)it->state->mod_slot->value;
  156|  1.12k|            } break;
  157|      0|            default: {
  ------------------
  |  Branch (157:13): [True: 0, False: 5.30k]
  ------------------
  158|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  159|      0|            } break;
  160|  5.30k|        }
  161|       |
  162|       |        /* shorter local names */
  163|  5.30k|        PySlot *const result = &it->current;
  164|  5.30k|        uint16_t flags = result->sl_flags;
  165|       |
  166|  5.30k|        MSG("slot %d, flags 0x%x, from %p",
  167|  5.30k|            (int)result->sl_id, (unsigned)flags, it->state->slot);
  168|       |
  169|  5.30k|        uint16_t orig_id = result->sl_id;
  170|  5.30k|        switch (it->kind) {
  171|  4.17k|            case _PySlot_KIND_TYPE:
  ------------------
  |  Branch (171:13): [True: 4.17k, False: 1.12k]
  ------------------
  172|  4.17k|                result->sl_id = _PySlot_resolve_type_slot(result->sl_id);
  173|  4.17k|                break;
  174|  1.12k|            case _PySlot_KIND_MOD:
  ------------------
  |  Branch (174:13): [True: 1.12k, False: 4.17k]
  ------------------
  175|  1.12k|                result->sl_id = _PySlot_resolve_mod_slot(result->sl_id);
  176|  1.12k|                break;
  177|      0|            default:
  ------------------
  |  Branch (177:13): [True: 0, False: 5.30k]
  ------------------
  178|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  179|  5.30k|        }
  180|  5.30k|        MSG("resolved to slot %d (%s)",
  181|  5.30k|            (int)result->sl_id, _PySlot_GetName(result->sl_id));
  182|       |
  183|  5.30k|        if (result->sl_id == Py_slot_invalid) {
  ------------------
  |  |   25|  5.30k|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (183:13): [True: 0, False: 5.30k]
  ------------------
  184|      0|            MSG("error (unknown/invalid slot)");
  185|      0|            if (flags & PySlot_OPTIONAL) {
  ------------------
  |  |   21|      0|#define PySlot_OPTIONAL 0x0001
  ------------------
  |  Branch (185:17): [True: 0, False: 0]
  ------------------
  186|      0|                advance(it);
  187|      0|                continue;
  188|      0|            }
  189|      0|            _PySlot_err_bad_slot(kind_name(it->kind), orig_id);
  190|      0|            goto error;
  191|      0|        }
  192|  5.30k|        if (result->sl_id == Py_slot_end) {
  ------------------
  |  |   12|  5.30k|#define Py_slot_end 0
  ------------------
  |  Branch (192:13): [True: 704, False: 4.60k]
  ------------------
  193|    704|            MSG("sentinel slot, flags %x", (unsigned)flags);
  194|    704|            if (flags & PySlot_OPTIONAL) {
  ------------------
  |  |   21|    704|#define PySlot_OPTIONAL 0x0001
  ------------------
  |  Branch (194:17): [True: 0, False: 704]
  ------------------
  195|      0|                MSG("error (bad flags on sentinel)");
  196|      0|                PyErr_Format(PyExc_SystemError,
  197|      0|                            "invalid flags for Py_slot_end: 0x%x",
  198|      0|                             (unsigned int)flags);
  199|      0|                goto error;
  200|      0|            }
  201|    704|            it->state->slot = NULL;
  202|    704|            continue;
  203|    704|        }
  204|       |
  205|  4.60k|        if (result->sl_id == Py_slot_subslots
  ------------------
  |  |  100|  9.20k|#define Py_slot_subslots 92
  ------------------
  |  Branch (205:13): [True: 0, False: 4.60k]
  ------------------
  206|  4.60k|            || result->sl_id == Py_tp_slots
  ------------------
  |  |  101|  9.20k|#define Py_tp_slots 93
  ------------------
  |  Branch (206:16): [True: 0, False: 4.60k]
  ------------------
  207|  4.60k|            || result->sl_id == Py_mod_slots
  ------------------
  |  |  102|  4.60k|#define Py_mod_slots 94
  ------------------
  |  Branch (207:16): [True: 0, False: 4.60k]
  ------------------
  208|  4.60k|        ) {
  209|      0|            if (result->sl_ptr == NULL) {
  ------------------
  |  Branch (209:17): [True: 0, False: 0]
  ------------------
  210|      0|                MSG("NULL subslots; skipping");
  211|      0|                advance(it);
  212|      0|                continue;
  213|      0|            }
  214|      0|            if ((it->states[0].slot_struct_kind == _PySlot_KIND_MOD)
  ------------------
  |  Branch (214:17): [True: 0, False: 0]
  ------------------
  215|      0|                && (it->state->slot_struct_kind == _PySlot_KIND_SLOT)
  ------------------
  |  Branch (215:20): [True: 0, False: 0]
  ------------------
  216|      0|                && !(result->sl_flags & PySlot_STATIC))
  ------------------
  |  |   22|      0|#define PySlot_STATIC 0x0002
  ------------------
  |  Branch (216:20): [True: 0, False: 0]
  ------------------
  217|      0|            {
  218|      0|                PyErr_Format(PyExc_SystemError,
  219|      0|                             "slots included from PyModuleDef must be static");
  220|      0|                goto error;
  221|      0|            }
  222|      0|            it->recursion_level++;
  223|      0|            MSG("recursing into level %d", it->recursion_level);
  224|      0|            if (it->recursion_level >= _PySlot_MAX_NESTING) {
  ------------------
  |  |   39|      0|#define _PySlot_MAX_NESTING 5
  ------------------
  |  Branch (224:17): [True: 0, False: 0]
  ------------------
  225|      0|                MSG("error (too much nesting)");
  226|      0|                PyErr_Format(PyExc_SystemError,
  227|      0|                            "%s (slot %d): too many levels of nested slots",
  228|      0|                            _PySlot_GetName(result->sl_id), orig_id);
  229|      0|                goto error;
  230|      0|            }
  231|      0|            it->state = &it->states[it->recursion_level];
  232|      0|            memset(it->state, 0, sizeof(_PySlotIterator_state));
  233|      0|            it->state->slot = result->sl_ptr;
  234|      0|            switch (result->sl_id) {
  ------------------
  |  Branch (234:21): [True: 0, False: 0]
  ------------------
  235|      0|                case Py_slot_subslots:
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (235:17): [True: 0, False: 0]
  ------------------
  236|      0|                    it->state->slot_struct_kind = _PySlot_KIND_SLOT; break;
  237|      0|                case Py_tp_slots:
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (237:17): [True: 0, False: 0]
  ------------------
  238|      0|                    it->state->slot_struct_kind = _PySlot_KIND_TYPE; break;
  239|      0|                case Py_mod_slots:
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (239:17): [True: 0, False: 0]
  ------------------
  240|      0|                    it->state->slot_struct_kind = _PySlot_KIND_MOD; break;
  241|      0|            }
  242|      0|            continue;
  243|      0|        }
  244|       |
  245|  4.60k|        if (flags & PySlot_INTPTR) {
  ------------------
  |  |   23|  4.60k|#define PySlot_INTPTR 0x0004
  ------------------
  |  Branch (245:13): [True: 4.60k, False: 0]
  ------------------
  246|  4.60k|            MSG("casting from intptr");
  247|       |            /* this should compile to nothing on common architectures */
  248|  4.60k|            switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (248:21): [True: 4.60k, False: 0]
  ------------------
  249|      0|                case _PySlot_DTYPE_SIZE: {
  ------------------
  |  Branch (249:17): [True: 0, False: 4.60k]
  ------------------
  250|      0|                    result->sl_size = (Py_ssize_t)(intptr_t)result->sl_ptr;
  251|      0|                } break;
  252|      0|                case _PySlot_DTYPE_INT64: {
  ------------------
  |  Branch (252:17): [True: 0, False: 4.60k]
  ------------------
  253|      0|                    result->sl_int64 = (int64_t)(intptr_t)result->sl_ptr;
  254|      0|                } break;
  255|    440|                case _PySlot_DTYPE_UINT64: {
  ------------------
  |  Branch (255:17): [True: 440, False: 4.16k]
  ------------------
  256|    440|                    result->sl_uint64 = (uint64_t)(intptr_t)result->sl_ptr;
  257|    440|                } break;
  258|  1.33k|                case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (258:17): [True: 1.33k, False: 3.26k]
  ------------------
  259|  4.16k|                case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (259:17): [True: 2.82k, False: 1.77k]
  ------------------
  260|  4.16k|                case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (260:17): [True: 0, False: 4.60k]
  ------------------
  261|  4.16k|                    break;
  262|  4.60k|            }
  263|  4.60k|        }
  264|       |
  265|  4.60k|        advance(it);
  266|  4.60k|        switch (_PySlot_get_dtype(result->sl_id)) {
  ------------------
  |  Branch (266:17): [True: 4.60k, False: 0]
  ------------------
  267|      0|            case _PySlot_DTYPE_VOID:
  ------------------
  |  Branch (267:13): [True: 0, False: 4.60k]
  ------------------
  268|  1.33k|            case _PySlot_DTYPE_PTR:
  ------------------
  |  Branch (268:13): [True: 1.33k, False: 3.26k]
  ------------------
  269|  1.33k|                MSG("result: %d (%s): %p",
  270|  1.33k|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  271|  1.33k|                    (void*)result->sl_ptr);
  272|  1.33k|                break;
  273|  2.82k|            case _PySlot_DTYPE_FUNC:
  ------------------
  |  Branch (273:13): [True: 2.82k, False: 1.77k]
  ------------------
  274|  2.82k|                MSG("result: %d (%s): %p",
  275|  2.82k|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  276|  2.82k|                    (void*)result->sl_func);
  277|  2.82k|                break;
  278|      0|            case _PySlot_DTYPE_SIZE:
  ------------------
  |  Branch (278:13): [True: 0, False: 4.60k]
  ------------------
  279|      0|                MSG("result: %d (%s): %zd",
  280|      0|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  281|      0|                    (Py_ssize_t)result->sl_size);
  282|      0|                break;
  283|      0|            case _PySlot_DTYPE_INT64:
  ------------------
  |  Branch (283:13): [True: 0, False: 4.60k]
  ------------------
  284|      0|                MSG("result: %d (%s): %ld",
  285|      0|                    (int)result->sl_id,  _PySlot_GetName(result->sl_id),
  286|      0|                    (long)result->sl_int64);
  287|      0|                break;
  288|    440|            case _PySlot_DTYPE_UINT64:
  ------------------
  |  Branch (288:13): [True: 440, False: 4.16k]
  ------------------
  289|    440|                MSG("result: %d (%s): %lu (0x%lx)",
  290|    440|                    (int)result->sl_id, _PySlot_GetName(result->sl_id),
  291|    440|                    (unsigned long)result->sl_int64,
  292|    440|                    (unsigned long)result->sl_int64);
  293|    440|                break;
  294|  4.60k|        }
  295|  4.60k|        assert (result->sl_id > 0);
  296|  4.60k|        assert (result->sl_id <= _Py_slot_COUNT);
  297|  4.60k|        if (it->is_first_run && (handle_first_run(it) < 0)) {
  ------------------
  |  Branch (297:13): [True: 2.75k, False: 1.84k]
  |  Branch (297:33): [True: 0, False: 2.75k]
  ------------------
  298|      0|            goto error;
  299|      0|        }
  300|  4.60k|        return result->sl_id != Py_slot_end;
  ------------------
  |  |   12|  4.60k|#define Py_slot_end 0
  ------------------
  301|  4.60k|    }
  302|  5.30k|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  303|       |
  304|      0|error:
  305|      0|    it->current.sl_id = Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  306|       |    return true;
  307|  5.30k|}
slots.c:init_with_kind:
   36|    462|{
   37|    462|    MSG("");
   38|    462|    MSG("init (%s slot iterator)", kind_name(result_kind));
   39|    462|    it->state = it->states;
   40|    462|    it->state->any_slot = slots;
   41|    462|    it->state->slot_struct_kind = slot_struct_kind;
   42|    462|    it->kind = result_kind;
   43|    462|    it->name = NULL;
   44|    462|    it->recursion_level = 0;
   45|    462|    it->is_at_end = false;
   46|       |    it->is_first_run = true;
   47|    462|    it->current.sl_id = 0;
   48|    462|    memset(it->seen, 0, sizeof(it->seen));
   49|    462|}
slots.c:seen_index:
   80|  5.28k|{
   81|  5.28k|    return id / _PySlot_SEEN_ENTRY_BITS;
  ------------------
  |  |   53|  5.28k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   82|  5.28k|}
slots.c:seen_mask:
   86|  5.28k|{
   87|  5.28k|    return ((unsigned int)1) << (id % _PySlot_SEEN_ENTRY_BITS);
  ------------------
  |  |   53|  5.28k|#define _PySlot_SEEN_ENTRY_BITS (8 * sizeof(unsigned int))
  ------------------
   88|  5.28k|}
slots.c:advance:
  101|  4.60k|{
  102|  4.60k|    MSG("advance (at level %d)", (int)it->recursion_level);
  103|  4.60k|    switch (it->state->slot_struct_kind) {
  104|      0|        case _PySlot_KIND_SLOT: it->state->slot++; break;
  ------------------
  |  Branch (104:9): [True: 0, False: 4.60k]
  ------------------
  105|  3.69k|        case _PySlot_KIND_TYPE: it->state->tp_slot++; break;
  ------------------
  |  Branch (105:9): [True: 3.69k, False: 908]
  ------------------
  106|    908|        case _PySlot_KIND_MOD: it->state->mod_slot++; break;
  ------------------
  |  Branch (106:9): [True: 908, False: 3.69k]
  ------------------
  107|      0|        default:
  ------------------
  |  Branch (107:9): [True: 0, False: 4.60k]
  ------------------
  108|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  109|  4.60k|    }
  110|  4.60k|}
slots.c:handle_first_run:
  312|  2.75k|{
  313|  2.75k|    int id = it->current.sl_id;
  314|       |
  315|  2.75k|    if (_PySlot_get_must_be_static(id)) {
  ------------------
  |  Branch (315:9): [True: 384, False: 2.37k]
  ------------------
  316|    384|        if (!(it->current.sl_flags & PySlot_STATIC)
  ------------------
  |  |   22|    384|#define PySlot_STATIC 0x0002
  ------------------
  |  Branch (316:13): [True: 384, False: 0]
  ------------------
  317|    384|            && (it->state->slot_struct_kind == _PySlot_KIND_SLOT))
  ------------------
  |  Branch (317:16): [True: 0, False: 384]
  ------------------
  318|      0|        {
  319|      0|            PyErr_Format(
  320|      0|                PyExc_SystemError,
  321|      0|                "%s requires PySlot_STATIC",
  322|      0|                _PySlot_GetName(id));
  323|      0|            return -1;
  324|      0|        }
  325|    384|    }
  326|       |
  327|  2.75k|    _PySlot_PROBLEM_HANDLING null_handling = _PySlot_get_null_handling(id);
  328|  2.75k|    if (null_handling != _PySlot_PROBLEM_ALLOW) {
  ------------------
  |  Branch (328:9): [True: 2.13k, False: 620]
  ------------------
  329|  2.13k|        bool is_null = false;
  330|  2.13k|        switch (_PySlot_get_dtype(id)) {
  331|    592|            case _PySlot_DTYPE_PTR: {
  ------------------
  |  Branch (331:13): [True: 592, False: 1.54k]
  ------------------
  332|    592|                is_null = it->current.sl_ptr == NULL;
  333|    592|            } break;
  334|  1.54k|            case _PySlot_DTYPE_FUNC: {
  ------------------
  |  Branch (334:13): [True: 1.54k, False: 592]
  ------------------
  335|  1.54k|                is_null = it->current.sl_func == NULL;
  336|  1.54k|            } break;
  337|      0|            default: {
  ------------------
  |  Branch (337:13): [True: 0, False: 2.13k]
  ------------------
  338|       |                //Py_UNREACHABLE();
  339|      0|            } break;
  340|  2.13k|        }
  341|  2.13k|        if (is_null) {
  ------------------
  |  Branch (341:13): [True: 0, False: 2.13k]
  ------------------
  342|      0|            MSG("slot is NULL but shouldn't");
  343|      0|            if (null_handling == _PySlot_PROBLEM_REJECT) {
  ------------------
  |  Branch (343:17): [True: 0, False: 0]
  ------------------
  344|      0|                MSG("error (NULL rejected)");
  345|      0|                PyErr_Format(PyExc_SystemError,
  346|      0|                             "NULL not allowed for slot %s",
  347|      0|                             _PySlot_GetName(id));
  348|      0|                return -1;
  349|      0|            }
  350|      0|            if (it->states[0].slot_struct_kind == _PySlot_KIND_SLOT) {
  ------------------
  |  Branch (350:17): [True: 0, False: 0]
  ------------------
  351|      0|                MSG("deprecated NULL");
  352|      0|                if (PyErr_WarnFormat(
  ------------------
  |  Branch (352:21): [True: 0, False: 0]
  ------------------
  353|      0|                    PyExc_DeprecationWarning,
  354|      0|                    1,
  355|      0|                    "NULL value in slot %s is deprecated",
  356|      0|                    _PySlot_GetName(id)) < 0)
  357|      0|                {
  358|      0|                    return -1;
  359|      0|                }
  360|      0|            }
  361|      0|            else {
  362|      0|                MSG("unwanted NULL in legacy struct");
  363|      0|            }
  364|      0|        }
  365|  2.13k|    }
  366|       |
  367|  2.75k|    _PySlot_PROBLEM_HANDLING duplicate_handling = _PySlot_get_duplicate_handling(id);
  368|  2.75k|    if (duplicate_handling != _PySlot_PROBLEM_ALLOW) {
  ------------------
  |  Branch (368:9): [True: 2.28k, False: 468]
  ------------------
  369|  2.28k|        if (_PySlotIterator_SawSlot(it, id)) {
  ------------------
  |  Branch (369:13): [True: 0, False: 2.28k]
  ------------------
  370|      0|            MSG("slot was seen before but shouldn't be duplicated");
  371|      0|            if (duplicate_handling == _PySlot_PROBLEM_REJECT) {
  ------------------
  |  Branch (371:17): [True: 0, False: 0]
  ------------------
  372|      0|                MSG("error (duplicate rejected)");
  373|      0|                PyErr_Format(
  374|      0|                    PyExc_SystemError,
  375|      0|                    "%s%s%s has multiple %s (%d) slots",
  376|      0|                    kind_name(it->kind),
  377|      0|                    it->name ? " " : "",
  ------------------
  |  Branch (377:21): [True: 0, False: 0]
  ------------------
  378|      0|                    it->name ? it->name : "",
  ------------------
  |  Branch (378:21): [True: 0, False: 0]
  ------------------
  379|      0|                    _PySlot_GetName(id),
  380|      0|                    (int)it->current.sl_id);
  381|      0|                return -1;
  382|      0|            }
  383|      0|            if (it->states[0].slot_struct_kind == _PySlot_KIND_SLOT) {
  ------------------
  |  Branch (383:17): [True: 0, False: 0]
  ------------------
  384|      0|                MSG("deprecated duplicate");
  385|      0|                if (PyErr_WarnFormat(
  ------------------
  |  Branch (385:21): [True: 0, False: 0]
  ------------------
  386|      0|                        PyExc_DeprecationWarning,
  387|      0|                        0,
  388|      0|                        "%s%s%s has multiple %s (%d) slots. This is deprecated.",
  389|      0|                        kind_name(it->kind),
  390|      0|                        it->name ? " " : "",
  ------------------
  |  Branch (390:25): [True: 0, False: 0]
  ------------------
  391|      0|                        it->name ? it->name : "",
  ------------------
  |  Branch (391:25): [True: 0, False: 0]
  ------------------
  392|      0|                        _PySlot_GetName(id),
  393|      0|                        (int)it->current.sl_id) < 0) {
  394|      0|                    return -1;
  395|      0|                }
  396|      0|            }
  397|      0|            else {
  398|      0|                MSG("unwanted duplicate in legacy struct");
  399|      0|            }
  400|      0|        }
  401|  2.28k|    }
  402|  2.75k|    it->seen[seen_index(id)] |= seen_mask(id);
  403|  2.75k|    return 0;
  404|  2.75k|}

_PyCode_Quicken:
   64|  27.6k|{
   65|  27.6k|    #if ENABLE_SPECIALIZATION
   66|  27.6k|    _Py_BackoffCounter jump_counter, adaptive_counter, resume_counter;
   67|  27.6k|    if (enable_counters) {
  ------------------
  |  Branch (67:9): [True: 27.6k, False: 0]
  ------------------
   68|  27.6k|        PyThreadState *tstate = _PyThreadState_GET();
   69|  27.6k|        PyInterpreterState *interp = tstate->interp;
   70|  27.6k|        jump_counter = initial_jump_backoff_counter(&interp->opt_config);
   71|  27.6k|        adaptive_counter = adaptive_counter_warmup();
   72|  27.6k|        resume_counter = initial_resume_backoff_counter(&interp->opt_config);
   73|  27.6k|    }
   74|      0|    else {
   75|      0|        jump_counter = initial_unreachable_backoff_counter();
   76|      0|        adaptive_counter = initial_unreachable_backoff_counter();
   77|      0|        resume_counter = initial_unreachable_backoff_counter();
   78|      0|    }
   79|  27.6k|    int opcode = 0;
   80|  27.6k|    int oparg = 0;
   81|       |    /* The last code unit cannot have a cache, so we don't need to check it */
   82|  1.13M|    for (Py_ssize_t i = 0; i < size-1; i++) {
  ------------------
  |  Branch (82:28): [True: 1.11M, False: 27.6k]
  ------------------
   83|  1.11M|        opcode = instructions[i].op.code;
   84|  1.11M|        int caches = _PyOpcode_Caches[opcode];
   85|  1.11M|        oparg = (oparg << 8) | instructions[i].op.arg;
   86|  1.11M|        if (opcode == GET_ITER) {
  ------------------
  |  |   83|  1.11M|#define GET_ITER                                70
  ------------------
  |  Branch (86:13): [True: 4.55k, False: 1.10M]
  ------------------
   87|  4.55k|            fixup_getiter(&instructions[i], flags);
   88|  4.55k|        }
   89|  1.11M|        if (caches) {
  ------------------
  |  Branch (89:13): [True: 373k, False: 736k]
  ------------------
   90|       |            // The initial value depends on the opcode
   91|   373k|            switch (opcode) {
   92|  8.96k|                case JUMP_BACKWARD:
  ------------------
  |  |   87|  8.96k|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (92:17): [True: 8.96k, False: 364k]
  ------------------
   93|  8.96k|                    instructions[i + 1].counter = jump_counter;
   94|  8.96k|                    break;
   95|  30.1k|                case RESUME:
  ------------------
  |  |  133|  30.1k|#define RESUME                                 128
  ------------------
  |  Branch (95:17): [True: 30.1k, False: 343k]
  ------------------
   96|  30.1k|                    instructions[i + 1].counter = resume_counter;
   97|  30.1k|                    break;
   98|  28.8k|                case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|  28.8k|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (98:17): [True: 28.8k, False: 344k]
  ------------------
   99|  37.7k|                case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|  37.7k|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (99:17): [True: 8.94k, False: 364k]
  ------------------
  100|  40.5k|                case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|  40.5k|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (100:17): [True: 2.76k, False: 371k]
  ------------------
  101|  43.2k|                case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|  43.2k|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (101:17): [True: 2.75k, False: 371k]
  ------------------
  102|  43.2k|                    instructions[i + 1].cache = 0x5555;  // Alternating 0, 1 bits
  103|  43.2k|                    break;
  104|   291k|                default:
  ------------------
  |  Branch (104:17): [True: 291k, False: 82.4k]
  ------------------
  105|   291k|                    instructions[i + 1].counter = adaptive_counter;
  106|   291k|                    break;
  107|   373k|            }
  108|   373k|            i += caches;
  109|   373k|        }
  110|  1.11M|        if (opcode != EXTENDED_ARG) {
  ------------------
  |  |   80|  1.11M|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (110:13): [True: 1.10M, False: 9.24k]
  ------------------
  111|  1.10M|            oparg = 0;
  112|  1.10M|        }
  113|  1.11M|    }
  114|       |    #else
  115|       |    for (Py_ssize_t i = 0; i < size-1; i++) {
  116|       |        if (instructions[i].op.code == GET_ITER) {
  117|       |            fixup_getiter(&instructions[i], flags);
  118|       |        }
  119|       |        i += _PyOpcode_Caches[opcode];
  120|       |    }
  121|       |    #endif /* ENABLE_SPECIALIZATION */
  122|  27.6k|}
_Py_Specialize_LoadSuperAttr:
  468|     80|_Py_Specialize_LoadSuperAttr(_PyStackRef global_super_st, _PyStackRef cls_st, _Py_CODEUNIT *instr, int load_method) {
  469|     80|    PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  470|     80|    PyObject *cls = PyStackRef_AsPyObjectBorrow(cls_st);
  471|       |
  472|     80|    assert(ENABLE_SPECIALIZATION);
  473|     80|    assert(_PyOpcode_Caches[LOAD_SUPER_ATTR] == INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR);
  474|     80|    if (global_super != (PyObject *)&PySuper_Type) {
  ------------------
  |  Branch (474:9): [True: 0, False: 80]
  ------------------
  475|      0|        SPECIALIZATION_FAIL(LOAD_SUPER_ATTR, SPEC_FAIL_SUPER_SHADOWED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  476|      0|        goto fail;
  477|      0|    }
  478|     80|    if (!PyType_Check(cls)) {
  ------------------
  |  |  766|     80|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (478:9): [True: 0, False: 80]
  ------------------
  479|      0|        SPECIALIZATION_FAIL(LOAD_SUPER_ATTR, SPEC_FAIL_SUPER_BAD_CLASS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  480|      0|        goto fail;
  481|      0|    }
  482|     80|    uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  204|     60|#define LOAD_SUPER_ATTR_METHOD                 199
  ------------------
                  uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  203|    100|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (482:25): [True: 60, False: 20]
  ------------------
  483|     80|    specialize(instr, load_code);
  484|     80|    return;
  485|      0|fail:
  486|      0|    unspecialize(instr);
  487|      0|}
_Py_Specialize_LoadAttr:
  995|   303k|{
  996|   303k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
  997|       |
  998|   303k|    assert(ENABLE_SPECIALIZATION);
  999|   303k|    assert(_PyOpcode_Caches[LOAD_ATTR] == INLINE_CACHE_ENTRIES_LOAD_ATTR);
 1000|   303k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   303k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   303k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|   303k|    bool fail;
 1002|   303k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1002:9): [True: 0, False: 303k]
  ------------------
 1003|       |        // We *might* not really need this check, but we inherited it from
 1004|       |        // PyObject_GenericGetAttr and friends... and this way we still do the
 1005|       |        // right thing if someone forgets to call PyType_Ready(type):
 1006|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1007|      0|        fail = true;
 1008|      0|    }
 1009|   303k|    else if (Py_TYPE(owner)->tp_getattro == PyModule_Type.tp_getattro) {
  ------------------
  |  |  213|   303k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   303k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1009:14): [True: 855, False: 302k]
  ------------------
 1010|    855|        fail = specialize_module_load_attr(owner, instr, name);
 1011|    855|    }
 1012|   302k|    else if (PyType_Check(owner)) {
  ------------------
  |  |  766|   302k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   302k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   302k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2.83k, False: 299k]
  |  |  ------------------
  ------------------
 1013|  2.83k|        fail = specialize_class_load_attr(owner, instr, name);
 1014|  2.83k|    }
 1015|   299k|    else {
 1016|   299k|        fail = specialize_instance_load_attr(owner, instr, name);
 1017|   299k|    }
 1018|       |
 1019|   303k|    if (fail) {
  ------------------
  |  Branch (1019:9): [True: 3.98k, False: 299k]
  ------------------
 1020|  3.98k|        unspecialize(instr);
 1021|  3.98k|    }
 1022|   303k|}
_Py_Specialize_StoreAttr:
 1026|  6.91k|{
 1027|  6.91k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1028|       |
 1029|  6.91k|    assert(ENABLE_SPECIALIZATION);
 1030|  6.91k|    assert(_PyOpcode_Caches[STORE_ATTR] == INLINE_CACHE_ENTRIES_STORE_ATTR);
 1031|  6.91k|    PyObject *descr = NULL;
 1032|  6.91k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
 1033|  6.91k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  6.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|  6.91k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 6.91k]
  ------------------
 1035|       |        // We *might* not really need this check, but we inherited it from
 1036|       |        // PyObject_GenericSetAttr and friends... and this way we still do the
 1037|       |        // right thing if someone forgets to call PyType_Ready(type):
 1038|      0|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1039|      0|        goto fail;
 1040|      0|    }
 1041|  6.91k|    if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|  6.91k|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|  6.91k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 40, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|     40|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|     40|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1043|     40|        goto fail;
 1044|     40|    }
 1045|  6.87k|    unsigned int tp_version = 0;
 1046|  6.87k|    DescriptorClassification kind = analyze_descriptor_store(type, name, &descr, &tp_version);
 1047|  6.87k|    if (tp_version == 0) {
  ------------------
  |  Branch (1047:9): [True: 352, False: 6.52k]
  ------------------
 1048|    352|        goto fail;
 1049|    352|    }
 1050|  6.87k|    assert(descr != NULL || kind == ABSENT || kind == GETSET_OVERRIDDEN);
 1051|  6.52k|    switch(kind) {
  ------------------
  |  Branch (1051:12): [True: 6.52k, False: 0]
  ------------------
 1052|    114|        case OVERRIDING:
  ------------------
  |  Branch (1052:9): [True: 114, False: 6.41k]
  ------------------
 1053|    114|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|    114|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1054|    114|            goto fail;
 1055|     12|        case METHOD:
  ------------------
  |  Branch (1055:9): [True: 12, False: 6.51k]
  ------------------
 1056|     12|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1057|     12|            goto fail;
 1058|      2|        case PROPERTY:
  ------------------
  |  Branch (1058:9): [True: 2, False: 6.52k]
  ------------------
 1059|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_PROPERTY);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1060|      2|            goto fail;
 1061|    305|        case OBJECT_SLOT:
  ------------------
  |  Branch (1061:9): [True: 305, False: 6.21k]
  ------------------
 1062|    305|        {
 1063|    305|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
 1064|    305|            struct PyMemberDef *dmem = member->d_member;
 1065|    305|            Py_ssize_t offset = dmem->offset;
 1066|    305|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|    305|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1066:17): [True: 0, False: 305]
  ------------------
 1067|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1068|      0|                goto fail;
 1069|      0|            }
 1070|    305|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|    305|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (1070:17): [True: 0, False: 305]
  ------------------
 1071|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_SLOT_AFTER_ITEMS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1072|      0|                goto fail;
 1073|      0|            }
 1074|    305|            if (dmem->flags & Py_READONLY) {
  ------------------
  |  |   83|    305|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (1074:17): [True: 0, False: 305]
  ------------------
 1075|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_READ_ONLY);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1076|      0|                goto fail;
 1077|      0|            }
 1078|    305|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 305]
  ------------------
 1079|      0|                SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1080|      0|                goto fail;
 1081|      0|            }
 1082|    305|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
 1083|    305|            assert(offset > 0);
 1084|    305|            cache->index = (uint16_t)offset;
 1085|    305|            write_u32(cache->version, tp_version);
 1086|    305|            specialize(instr, STORE_ATTR_SLOT);
  ------------------
  |  |  211|    305|#define STORE_ATTR_SLOT                        206
  ------------------
 1087|    305|            goto success;
 1088|    305|        }
 1089|      0|        case DUNDER_CLASS:
  ------------------
  |  Branch (1089:9): [True: 0, False: 6.52k]
  ------------------
 1090|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (1090:9): [True: 0, False: 6.52k]
  ------------------
 1091|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1092|      0|            goto fail;
 1093|      2|        case MUTABLE:
  ------------------
  |  Branch (1093:9): [True: 2, False: 6.52k]
  ------------------
 1094|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1095|      2|            goto fail;
 1096|      0|        case GETATTRIBUTE_IS_PYTHON_FUNCTION:
  ------------------
  |  Branch (1096:9): [True: 0, False: 6.52k]
  ------------------
 1097|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (1097:9): [True: 0, False: 6.52k]
  ------------------
 1098|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1099|      0|            goto fail;
 1100|      0|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1100:9): [True: 0, False: 6.52k]
  ------------------
 1101|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_BUILTIN_CLASS_METHOD_OBJ);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1102|      0|            goto fail;
 1103|      0|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1103:9): [True: 0, False: 6.52k]
  ------------------
 1104|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_METHOD_OBJ);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1105|      0|            goto fail;
 1106|      0|        case NON_OVERRIDING:
  ------------------
  |  Branch (1106:9): [True: 0, False: 6.52k]
  ------------------
 1107|      0|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_DESCRIPTOR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1108|      0|            goto fail;
 1109|     67|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1109:9): [True: 67, False: 6.45k]
  ------------------
 1110|     67|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|     67|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1111|     67|            goto fail;
 1112|  6.02k|        case ABSENT:
  ------------------
  |  Branch (1112:9): [True: 6.02k, False: 502]
  ------------------
 1113|  6.02k|            if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (1113:17): [True: 5.39k, False: 628]
  ------------------
 1114|  6.02k|                                       STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  122|  6.02k|#define STORE_ATTR                             109
  ------------------
                                                     STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  210|  6.02k|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
 1115|  6.02k|                                       STORE_ATTR_WITH_HINT)) {
  ------------------
  |  |  212|  6.02k|#define STORE_ATTR_WITH_HINT                   207
  ------------------
 1116|  5.39k|                goto success;
 1117|  5.39k|            }
 1118|  6.52k|    }
 1119|  1.21k|fail:
 1120|  1.21k|    Py_XDECREF(descr);
  ------------------
  |  |  524|  1.21k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|  1.21k|    unspecialize(instr);
 1122|  1.21k|    return;
 1123|  5.69k|success:
 1124|  5.69k|    Py_XDECREF(descr);
  ------------------
  |  |  524|  5.69k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|  5.69k|    return;
 1126|  6.52k|}
_Py_Specialize_LoadGlobal:
 1449|  6.69k|{
 1450|  6.69k|    Py_BEGIN_CRITICAL_SECTION2(globals, builtins);
  ------------------
  |  |   57|  6.69k|    {
  ------------------
 1451|  6.69k|    specialize_load_global_lock_held(globals, builtins, instr, name);
 1452|  6.69k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  6.69k|    }
  ------------------
 1453|  6.69k|}
_Py_Specialize_StoreSubscr:
 1567|  1.47k|{
 1568|  1.47k|    PyObject *container = PyStackRef_AsPyObjectBorrow(container_st);
 1569|  1.47k|    PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
 1570|       |
 1571|  1.47k|    assert(ENABLE_SPECIALIZATION);
 1572|  1.47k|    PyTypeObject *container_type = Py_TYPE(container);
  ------------------
  |  |  213|  1.47k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|  1.47k|    if (container_type == &PyList_Type) {
  ------------------
  |  Branch (1573:9): [True: 62, False: 1.41k]
  ------------------
 1574|     62|        if (PyLong_CheckExact(sub)) {
  ------------------
  |  |   14|     62|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     62|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 60, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|     60|            if (_PyLong_IsNonNegativeCompact((PyLongObject *)sub)
  ------------------
  |  Branch (1575:17): [True: 40, False: 20]
  ------------------
 1576|     40|                && ((PyLongObject *)sub)->long_value.ob_digit[0] < (size_t)PyList_GET_SIZE(container))
  ------------------
  |  |   38|     40|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1576:20): [True: 40, False: 0]
  ------------------
 1577|     40|            {
 1578|     40|                specialize(instr, STORE_SUBSCR_LIST_INT);
  ------------------
  |  |  214|     40|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
 1579|     40|                return;
 1580|     40|            }
 1581|     20|            else {
 1582|     20|                SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|     20|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1583|     20|                unspecialize(instr);
 1584|     20|                return;
 1585|     20|            }
 1586|     60|        }
 1587|      2|        else if (PySlice_Check(sub)) {
  ------------------
  |  |   22|      2|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1588|      2|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_SUBSCR_LIST_SLICE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1589|      2|            unspecialize(instr);
 1590|      2|            return;
 1591|      2|        }
 1592|      0|        else {
 1593|      0|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1594|      0|            unspecialize(instr);
 1595|      0|            return;
 1596|      0|        }
 1597|     62|    }
 1598|  1.41k|    if (container_type->tp_as_mapping != NULL &&
  ------------------
  |  Branch (1598:9): [True: 1.41k, False: 0]
  ------------------
 1599|  1.41k|        container_type->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript)
  ------------------
  |  Branch (1599:9): [True: 251, False: 1.16k]
  ------------------
 1600|    251|    {
 1601|    251|        specialize(instr, STORE_SUBSCR_DICT);
  ------------------
  |  |  213|    251|#define STORE_SUBSCR_DICT                      208
  ------------------
 1602|    251|        return;
 1603|    251|    }
 1604|  1.16k|    SPECIALIZATION_FAIL(STORE_SUBSCR, store_subscr_fail_kind(container, sub));
  ------------------
  |  |   43|  1.16k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1605|  1.16k|    unspecialize(instr);
 1606|  1.16k|}
_Py_Specialize_Call:
 1858|   169k|{
 1859|   169k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1860|       |
 1861|   169k|    assert(ENABLE_SPECIALIZATION);
 1862|   169k|    assert(_PyOpcode_Caches[CALL] == INLINE_CACHE_ENTRIES_CALL);
 1863|   169k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL);
 1864|   169k|    int fail;
 1865|   169k|    if (PyCFunction_CheckExact(callable)) {
  ------------------
  |  |   16|   169k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  215|   169k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 157k, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1866|   157k|        fail = specialize_c_call(callable, instr, nargs);
 1867|   157k|    }
 1868|  12.6k|    else if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|  12.6k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  12.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.30k, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|  8.30k|        fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs, false);
 1870|  8.30k|    }
 1871|  4.35k|    else if (PyType_Check(callable)) {
  ------------------
  |  |  766|  4.35k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 678, False: 3.67k]
  |  |  ------------------
  ------------------
 1872|    678|        fail = specialize_class_call(callable, instr, nargs);
 1873|    678|    }
 1874|  3.67k|    else if (Py_IS_TYPE(callable, &PyMethodDescr_Type)) {
  ------------------
  |  |  215|  3.67k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.75k, False: 1.92k]
  |  |  ------------------
  ------------------
 1875|  1.75k|        PyObject *self_or_null = PyStackRef_AsPyObjectBorrow(self_or_null_st);
 1876|  1.75k|        fail = specialize_method_descriptor((PyMethodDescrObject *)callable,
 1877|  1.75k|                                            self_or_null, instr, nargs);
 1878|  1.75k|    }
 1879|  1.92k|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|  1.92k|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|  1.92k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.80k, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1880|  1.80k|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1881|  1.80k|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|  1.80k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.80k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.80k, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  1.80k|            fail = specialize_py_call((PyFunctionObject *)func, instr, nargs, true);
 1883|  1.80k|        }
 1884|      4|        else {
 1885|      4|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      4|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1886|      4|            fail = -1;
 1887|      4|        }
 1888|  1.80k|    }
 1889|    117|    else {
 1890|    117|        specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|    117|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1891|    117|        fail = 0;
 1892|    117|    }
 1893|   169k|    if (fail) {
  ------------------
  |  Branch (1893:9): [True: 41, False: 169k]
  ------------------
 1894|     41|        unspecialize(instr);
 1895|     41|    }
 1896|   169k|}
_Py_Specialize_CallKw:
 1900|  2.36k|{
 1901|  2.36k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1902|       |
 1903|  2.36k|    assert(ENABLE_SPECIALIZATION);
 1904|  2.36k|    assert(_PyOpcode_Caches[CALL_KW] == INLINE_CACHE_ENTRIES_CALL_KW);
 1905|  2.36k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL_KW);
 1906|  2.36k|    int fail;
 1907|  2.36k|    if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|  2.36k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  2.36k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 227, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|    227|        fail = specialize_py_call_kw((PyFunctionObject *)callable, instr, nargs, false);
 1909|    227|    }
 1910|  2.13k|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|  2.13k|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|  2.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.00k, False: 133]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|  2.00k|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1912|  2.00k|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|  2.00k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  2.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.00k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|  2.00k|            fail = specialize_py_call_kw((PyFunctionObject *)func, instr, nargs, true);
 1914|  2.00k|        }
 1915|      0|        else {
 1916|      0|            SPECIALIZATION_FAIL(CALL_KW, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1917|      0|            fail = -1;
 1918|      0|        }
 1919|  2.00k|    }
 1920|    133|    else {
 1921|    133|        specialize(instr, CALL_KW_NON_PY);
  ------------------
  |  |  160|    133|#define CALL_KW_NON_PY                         155
  ------------------
 1922|    133|        fail = 0;
 1923|    133|    }
 1924|  2.36k|    if (fail) {
  ------------------
  |  Branch (1924:9): [True: 44, False: 2.32k]
  ------------------
 1925|     44|        unspecialize(instr);
 1926|     44|    }
 1927|  2.36k|}
_Py_Specialize_BinaryOp:
 2326|  7.16k|{
 2327|  7.16k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2328|  7.16k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2329|  7.16k|    assert(ENABLE_SPECIALIZATION);
 2330|  7.16k|    assert(_PyOpcode_Caches[BINARY_OP] == INLINE_CACHE_ENTRIES_BINARY_OP);
 2331|       |
 2332|  7.16k|    _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
 2333|  7.16k|    if (instr->op.code == BINARY_OP_EXTEND) {
  ------------------
  |  |  137|  7.16k|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (2333:9): [True: 59, False: 7.10k]
  ------------------
 2334|     59|        write_ptr(cache->external_cache, NULL);
 2335|     59|    }
 2336|       |
 2337|  7.16k|    switch (oparg) {
  ------------------
  |  Branch (2337:13): [True: 4.21k, False: 2.95k]
  ------------------
 2338|    331|        case NB_ADD:
  ------------------
  |  |   10|    331|#define NB_ADD                                   0
  ------------------
  |  Branch (2338:9): [True: 331, False: 6.83k]
  ------------------
 2339|  1.45k|        case NB_INPLACE_ADD:
  ------------------
  |  |   23|  1.45k|#define NB_INPLACE_ADD                          13
  ------------------
  |  Branch (2339:9): [True: 1.12k, False: 6.04k]
  ------------------
 2340|  1.45k|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|  1.45k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2340:17): [True: 1.03k, False: 422]
  ------------------
 2341|  1.03k|                break;
 2342|  1.03k|            }
 2343|    422|            if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    422|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    422|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 118, False: 304]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2344|    118|                _Py_CODEUNIT next = instr[INLINE_CACHE_ENTRIES_BINARY_OP + 1];
  ------------------
  |  |   81|    118|#define INLINE_CACHE_ENTRIES_BINARY_OP CACHE_ENTRIES(_PyBinaryOpCache)
  |  |  ------------------
  |  |  |  |   65|    118|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  ------------------
  ------------------
 2345|    118|                bool to_store = (next.op.code == STORE_FAST);
  ------------------
  |  |  124|    118|#define STORE_FAST                             111
  ------------------
 2346|    118|                if (to_store && PyStackRef_AsPyObjectBorrow(locals[next.op.arg]) == lhs) {
  ------------------
  |  Branch (2346:21): [True: 34, False: 84]
  |  Branch (2346:33): [True: 20, False: 14]
  ------------------
 2347|     20|                    specialize(instr, BINARY_OP_INPLACE_ADD_UNICODE);
  ------------------
  |  |   16|     20|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
 2348|     20|                    return;
 2349|     20|                }
 2350|     98|                specialize(instr, BINARY_OP_ADD_UNICODE);
  ------------------
  |  |  136|     98|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
 2351|     98|                return;
 2352|    118|            }
 2353|    304|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2353:17): [True: 203, False: 101]
  |  Branch (2353:54): [True: 195, False: 8]
  ------------------
 2354|    195|                specialize(instr, BINARY_OP_ADD_INT);
  ------------------
  |  |  135|    195|#define BINARY_OP_ADD_INT                      130
  ------------------
 2355|    195|                return;
 2356|    195|            }
 2357|    109|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    109|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    109|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      4|                specialize(instr, BINARY_OP_ADD_FLOAT);
  ------------------
  |  |  134|      4|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
 2359|      4|                return;
 2360|      4|            }
 2361|    105|            break;
 2362|    105|        case NB_MULTIPLY:
  ------------------
  |  |   15|     77|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (2362:9): [True: 77, False: 7.09k]
  ------------------
 2363|     77|        case NB_INPLACE_MULTIPLY:
  ------------------
  |  |   28|     77|#define NB_INPLACE_MULTIPLY                     18
  ------------------
  |  Branch (2363:9): [True: 0, False: 7.16k]
  ------------------
 2364|     77|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|     77|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2364:17): [True: 35, False: 42]
  ------------------
 2365|     35|                break;
 2366|     35|            }
 2367|     42|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2367:17): [True: 30, False: 12]
  |  Branch (2367:54): [True: 30, False: 0]
  ------------------
 2368|     30|                specialize(instr, BINARY_OP_MULTIPLY_INT);
  ------------------
  |  |  139|     30|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
 2369|     30|                return;
 2370|     30|            }
 2371|     12|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|     12|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2372|     10|                specialize(instr, BINARY_OP_MULTIPLY_FLOAT);
  ------------------
  |  |  138|     10|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
 2373|     10|                return;
 2374|     10|            }
 2375|      2|            break;
 2376|    837|        case NB_SUBTRACT:
  ------------------
  |  |   20|    837|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (2376:9): [True: 837, False: 6.33k]
  ------------------
 2377|    856|        case NB_INPLACE_SUBTRACT:
  ------------------
  |  |   33|    856|#define NB_INPLACE_SUBTRACT                     23
  ------------------
  |  Branch (2377:9): [True: 19, False: 7.14k]
  ------------------
 2378|    856|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|    856|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    856|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    856|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2378:17): [True: 12, False: 844]
  ------------------
 2379|     12|                break;
 2380|     12|            }
 2381|    844|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2381:17): [True: 323, False: 521]
  |  Branch (2381:54): [True: 323, False: 0]
  ------------------
 2382|    323|                specialize(instr, BINARY_OP_SUBTRACT_INT);
  ------------------
  |  |  148|    323|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
 2383|    323|                return;
 2384|    323|            }
 2385|    521|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    521|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    521|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    521|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    521|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9, False: 512]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2386|      9|                specialize(instr, BINARY_OP_SUBTRACT_FLOAT);
  ------------------
  |  |  147|      9|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
 2387|      9|                return;
 2388|      9|            }
 2389|    512|            break;
 2390|  1.82k|        case NB_SUBSCR:
  ------------------
  |  |   36|  1.82k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (2390:9): [True: 1.82k, False: 5.33k]
  ------------------
 2391|  1.82k|            if (PyLong_CheckExact(rhs) && _PyLong_IsNonNegativeCompact((PyLongObject *)rhs)) {
  ------------------
  |  |   14|  1.82k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  3.65k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.43k, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2391:43): [True: 1.29k, False: 140]
  ------------------
 2392|  1.29k|                if (PyList_CheckExact(lhs)) {
  ------------------
  |  |   26|  1.29k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  1.29k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 80, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2393|     80|                    specialize(instr, BINARY_OP_SUBSCR_LIST_INT);
  ------------------
  |  |  142|     80|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
 2394|     80|                    return;
 2395|     80|                }
 2396|  1.21k|                if (PyTuple_CheckExact(lhs)) {
  ------------------
  |  |   28|  1.21k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.21k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 150, False: 1.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|    150|                    specialize(instr, BINARY_OP_SUBSCR_TUPLE_INT);
  ------------------
  |  |  145|    150|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
 2398|    150|                    return;
 2399|    150|                }
 2400|  1.06k|                if (PyUnicode_CheckExact(lhs) && _PyLong_IsNonNegativeCompact((PyLongObject*)rhs)) {
  ------------------
  |  |  104|  1.06k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34, False: 1.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2400:50): [True: 34, False: 0]
  ------------------
 2401|     34|                    if (PyUnicode_IS_COMPACT_ASCII(lhs)) {
  ------------------
  |  |  241|     34|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 34, False: 0]
  |  |  ------------------
  ------------------
 2402|     34|                        specialize(instr, BINARY_OP_SUBSCR_STR_INT);
  ------------------
  |  |  144|     34|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
 2403|     34|                        return;
 2404|     34|                    } else {
 2405|      0|                        specialize(instr, BINARY_OP_SUBSCR_USTR_INT);
  ------------------
  |  |  146|      0|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
 2406|      0|                        return;
 2407|      0|                    }
 2408|     34|                }
 2409|  1.06k|            }
 2410|  1.56k|            if (Py_TYPE(lhs)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|  1.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2410:17): [True: 1.48k, False: 78]
  ------------------
 2411|  1.48k|                Py_TYPE(lhs)->tp_as_mapping->mp_subscript == _PyDict_Subscript)
  ------------------
  |  |  213|  1.48k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2411:17): [True: 174, False: 1.31k]
  ------------------
 2412|    174|            {
 2413|    174|                specialize(instr, BINARY_OP_SUBSCR_DICT);
  ------------------
  |  |  140|    174|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
 2414|    174|                return;
 2415|    174|            }
 2416|  1.39k|            if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   26|  1.39k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.78k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 103, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   22|    103|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    103|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2417|     12|                specialize(instr, BINARY_OP_SUBSCR_LIST_SLICE);
  ------------------
  |  |  143|     12|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
 2418|     12|                return;
 2419|     12|            }
 2420|  1.37k|            unsigned int tp_version;
 2421|  1.37k|            PyTypeObject *container_type = Py_TYPE(lhs);
  ------------------
  |  |  213|  1.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2422|  1.37k|            PyObject *descriptor = _PyType_LookupRefAndVersion(container_type, &_Py_ID(__getitem__), &tp_version);
  ------------------
  |  |  919|  1.37k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.37k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.37k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2423|  1.37k|            if (descriptor && Py_TYPE(descriptor) == &PyFunction_Type &&
  ------------------
  |  |  213|  1.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2423:17): [True: 1.27k, False: 102]
  |  Branch (2423:31): [True: 44, False: 1.23k]
  ------------------
 2424|     44|                container_type->tp_flags & Py_TPFLAGS_HEAPTYPE)
  ------------------
  |  |  503|     44|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2424:17): [True: 44, False: 0]
  ------------------
 2425|     44|            {
 2426|     44|                PyFunctionObject *func = (PyFunctionObject *)descriptor;
 2427|     44|                PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 2428|     44|                int kind = function_kind(fcode);
 2429|     44|                PyHeapTypeObject *ht = (PyHeapTypeObject *)container_type;
 2430|     44|                if (kind == SIMPLE_FUNCTION &&
  ------------------
  |  |  124|     88|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (2430:21): [True: 44, False: 0]
  ------------------
 2431|     44|                    fcode->co_argcount == 2 &&
  ------------------
  |  Branch (2431:21): [True: 44, False: 0]
  ------------------
 2432|     44|                    _PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET()) && /* Don't specialize if PEP 523 is active */
  ------------------
  |  Branch (2432:21): [True: 44, False: 0]
  ------------------
 2433|     44|                    _PyType_CacheGetItemForSpecialization(ht, descriptor, (uint32_t)tp_version))
  ------------------
  |  Branch (2433:21): [True: 44, False: 0]
  ------------------
 2434|     44|                {
 2435|     44|                    specialize(instr, BINARY_OP_SUBSCR_GETITEM);
  ------------------
  |  |  141|     44|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
 2436|     44|                    Py_DECREF(descriptor);
  ------------------
  |  |  430|     44|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|     44|                    return;
 2438|     44|                }
 2439|     44|            }
 2440|  1.33k|            Py_XDECREF(descriptor);
  ------------------
  |  |  524|  1.33k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|  1.33k|            break;
 2442|  7.16k|    }
 2443|       |
 2444|  5.98k|    _PyBinaryOpSpecializationDescr *descr;
 2445|  5.98k|    if (binary_op_extended_specialization(lhs, rhs, oparg, &descr)) {
  ------------------
  |  Branch (2445:9): [True: 274, False: 5.71k]
  ------------------
 2446|    274|        specialize(instr, BINARY_OP_EXTEND);
  ------------------
  |  |  137|    274|#define BINARY_OP_EXTEND                       132
  ------------------
 2447|    274|        write_ptr(cache->external_cache, (void*)descr);
 2448|    274|        return;
 2449|    274|    }
 2450|       |
 2451|  5.71k|    SPECIALIZATION_FAIL(BINARY_OP, binary_op_fail_kind(oparg, lhs, rhs));
  ------------------
  |  |   43|  5.71k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2452|  5.71k|    unspecialize(instr);
 2453|  5.71k|    return;
 2454|  5.98k|}
_Py_Specialize_CompareOp:
 2495|  4.78k|{
 2496|  4.78k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2497|  4.78k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2498|  4.78k|    uint8_t specialized_op;
 2499|       |
 2500|  4.78k|    assert(ENABLE_SPECIALIZATION);
 2501|  4.78k|    assert(_PyOpcode_Caches[COMPARE_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
 2502|       |    // All of these specializations compute boolean values, so they're all valid
 2503|       |    // regardless of the fifth-lowest oparg bit.
 2504|  4.78k|    if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  4.78k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  4.78k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2504:9): [True: 616, False: 4.16k]
  ------------------
 2505|    616|        SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    616|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2506|    616|        goto failure;
 2507|    616|    }
 2508|  4.16k|    if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  4.16k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  4.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19, False: 4.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|     19|        specialized_op = COMPARE_OP_FLOAT;
  ------------------
  |  |  174|     19|#define COMPARE_OP_FLOAT                       169
  ------------------
 2510|     19|        goto success;
 2511|     19|    }
 2512|  4.14k|    if (PyLong_CheckExact(lhs)) {
  ------------------
  |  |   14|  4.14k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  4.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.48k, False: 665]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|  3.48k|        if (_PyLong_IsCompact((PyLongObject *)lhs) && _PyLong_IsCompact((PyLongObject *)rhs)) {
  ------------------
  |  Branch (2513:13): [True: 3.09k, False: 386]
  |  Branch (2513:55): [True: 1.47k, False: 1.62k]
  ------------------
 2514|  1.47k|            specialized_op = COMPARE_OP_INT;
  ------------------
  |  |  175|  1.47k|#define COMPARE_OP_INT                         170
  ------------------
 2515|  1.47k|            goto success;
 2516|  1.47k|        }
 2517|  2.00k|        else {
 2518|  2.00k|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_BIG_INT);
  ------------------
  |  |   43|  2.00k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2519|  2.00k|            goto failure;
 2520|  2.00k|        }
 2521|  3.48k|    }
 2522|    665|    if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    665|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    665|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    665|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    665|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 292, False: 373]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2523|    292|        int cmp = oparg >> 5;
 2524|    292|        if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  654|    584|#define Py_EQ 2
  ------------------
                      if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  655|     55|#define Py_NE 3
  ------------------
  |  Branch (2524:13): [True: 55, False: 237]
  |  Branch (2524:29): [True: 0, False: 55]
  ------------------
 2525|      0|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_STRING);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2526|      0|            goto failure;
 2527|      0|        }
 2528|    292|        else {
 2529|    292|            specialized_op = COMPARE_OP_STR;
  ------------------
  |  |  176|    292|#define COMPARE_OP_STR                         171
  ------------------
 2530|    292|            goto success;
 2531|    292|        }
 2532|    292|    }
 2533|    373|    SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    373|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2534|  2.99k|failure:
 2535|  2.99k|    unspecialize(instr);
 2536|  2.99k|    return;
 2537|  1.78k|success:
 2538|  1.78k|    specialize(instr, specialized_op);
 2539|  1.78k|}
_Py_Specialize_UnpackSequence:
 2557|    325|{
 2558|    325|    PyObject *seq = PyStackRef_AsPyObjectBorrow(seq_st);
 2559|       |
 2560|    325|    assert(ENABLE_SPECIALIZATION);
 2561|    325|    assert(_PyOpcode_Caches[UNPACK_SEQUENCE] ==
 2562|    325|           INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE);
 2563|    325|    if (PyTuple_CheckExact(seq)) {
  ------------------
  |  |   28|    325|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    325|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 291, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2564|    291|        if (PyTuple_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   27|    291|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2564:13): [True: 0, False: 291]
  ------------------
 2565|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2566|      0|            unspecialize(instr);
 2567|      0|            return;
 2568|      0|        }
 2569|    291|        if (PyTuple_GET_SIZE(seq) == 2) {
  ------------------
  |  |   27|    291|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2569:13): [True: 251, False: 40]
  ------------------
 2570|    251|            specialize(instr, UNPACK_SEQUENCE_TWO_TUPLE);
  ------------------
  |  |  223|    251|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
 2571|    251|            return;
 2572|    251|        }
 2573|     40|        specialize(instr, UNPACK_SEQUENCE_TUPLE);
  ------------------
  |  |  222|     40|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
 2574|     40|        return;
 2575|    291|    }
 2576|     34|    if (PyList_CheckExact(seq)) {
  ------------------
  |  |   26|     34|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2577|      4|        if (PyList_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   38|      4|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2577:13): [True: 0, False: 4]
  ------------------
 2578|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2579|      0|            unspecialize(instr);
 2580|      0|            return;
 2581|      0|        }
 2582|      4|        specialize(instr, UNPACK_SEQUENCE_LIST);
  ------------------
  |  |  221|      4|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
 2583|      4|        return;
 2584|      4|    }
 2585|     30|    SPECIALIZATION_FAIL(UNPACK_SEQUENCE, unpack_sequence_fail_kind(seq));
  ------------------
  |  |   43|     30|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2586|     30|    unspecialize(instr);
 2587|     30|}
_Py_Specialize_ForIter:
 2664|  1.59k|{
 2665|  1.59k|    assert(ENABLE_SPECIALIZATION);
 2666|  1.59k|    assert(_PyOpcode_Caches[FOR_ITER] == INLINE_CACHE_ENTRIES_FOR_ITER);
 2667|  1.59k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 2668|  1.59k|    PyTypeObject *tp = Py_TYPE(iter_o);
  ------------------
  |  |  213|  1.59k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|       |
 2670|  1.59k|    if (PyStackRef_IsNull(null_or_index)) {
  ------------------
  |  |  482|  1.59k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.59k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.59k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 1.05k, False: 541]
  |  |  ------------------
  ------------------
 2671|  1.05k|        if (tp == &PyRangeIter_Type) {
  ------------------
  |  Branch (2671:13): [True: 50, False: 1.00k]
  ------------------
 2672|       |#ifdef Py_GIL_DISABLED
 2673|       |            // Only specialize for uniquely referenced iterators, so that we know
 2674|       |            // they're only referenced by this one thread. This is more limiting
 2675|       |            // than we need (even `it = iter(mylist); for item in it:` won't get
 2676|       |            // specialized) but we don't have a way to check whether we're the only
 2677|       |            // _thread_ who has access to the object.
 2678|       |            if (!_PyObject_IsUniquelyReferenced(iter_o)) {
 2679|       |                goto failure;
 2680|       |            }
 2681|       |#endif
 2682|     50|            specialize(instr, FOR_ITER_RANGE);
  ------------------
  |  |  181|     50|#define FOR_ITER_RANGE                         176
  ------------------
 2683|     50|            return;
 2684|     50|        }
 2685|  1.00k|        else if (tp == &PyGen_Type && oparg <= SHRT_MAX) {
  ------------------
  |  Branch (2685:18): [True: 130, False: 877]
  |  Branch (2685:39): [True: 130, False: 0]
  ------------------
 2686|    130|            assert(instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == END_FOR  ||
 2687|    130|                instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == INSTRUMENTED_END_FOR
 2688|    130|            );
 2689|       |            /* Don't specialize if PEP 523 is active */
 2690|    130|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2690:17): [True: 0, False: 130]
  ------------------
 2691|      0|                goto failure;
 2692|      0|            }
 2693|    130|            specialize(instr, FOR_ITER_GEN);
  ------------------
  |  |  179|    130|#define FOR_ITER_GEN                           174
  ------------------
 2694|    130|            return;
 2695|    130|        }
 2696|  1.05k|    }
 2697|    541|    else {
 2698|    541|        if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2698:13): [True: 541, False: 0]
  ------------------
 2699|    541|            if (tp == &PyList_Type) {
  ------------------
  |  Branch (2699:17): [True: 265, False: 276]
  ------------------
 2700|       |    #ifdef Py_GIL_DISABLED
 2701|       |                // Only specialize for lists owned by this thread or shared
 2702|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
 2703|       |                    goto failure;
 2704|       |                }
 2705|       |    #endif
 2706|    265|                specialize(instr, FOR_ITER_LIST);
  ------------------
  |  |  180|    265|#define FOR_ITER_LIST                          175
  ------------------
 2707|    265|                return;
 2708|    265|            }
 2709|    276|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (2709:22): [True: 258, False: 18]
  ------------------
 2710|    258|                specialize(instr, FOR_ITER_TUPLE);
  ------------------
  |  |  182|    258|#define FOR_ITER_TUPLE                         177
  ------------------
 2711|    258|                return;
 2712|    258|            }
 2713|    541|        }
 2714|     18|        specialize(instr, FOR_ITER_VIRTUAL);
  ------------------
  |  |  183|     18|#define FOR_ITER_VIRTUAL                       178
  ------------------
 2715|     18|        return;
 2716|    541|    }
 2717|    877|failure:
 2718|    877|    SPECIALIZATION_FAIL(FOR_ITER,
  ------------------
  |  |   43|    877|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2719|    877|                        _PySpecialization_ClassifyIterator(iter_o));
 2720|    877|    unspecialize(instr);
 2721|    877|}
_Py_Specialize_Send:
 2725|      6|{
 2726|      6|    PyObject *receiver = PyStackRef_AsPyObjectBorrow(receiver_st);
 2727|       |
 2728|      6|    assert(ENABLE_SPECIALIZATION);
 2729|      6|    assert(_PyOpcode_Caches[SEND] == INLINE_CACHE_ENTRIES_SEND);
 2730|      6|    PyTypeObject *tp = Py_TYPE(receiver);
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2731|      6|    if (tp == &PyGen_Type || tp == &PyCoro_Type) {
  ------------------
  |  Branch (2731:9): [True: 2, False: 4]
  |  Branch (2731:30): [True: 0, False: 4]
  ------------------
 2732|       |        /* Don't specialize if PEP 523 is active */
 2733|      2|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2733:13): [True: 0, False: 2]
  ------------------
 2734|      0|            SPECIALIZATION_FAIL(SEND, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2735|      0|            goto failure;
 2736|      0|        }
 2737|      2|        specialize(instr, SEND_GEN);
  ------------------
  |  |  208|      2|#define SEND_GEN                               203
  ------------------
 2738|      2|        return;
 2739|      2|    }
 2740|      4|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2740:9): [True: 4, False: 0]
  ------------------
 2741|      4|        specialize(instr, SEND_VIRTUAL);
  ------------------
  |  |  209|      4|#define SEND_VIRTUAL                           204
  ------------------
 2742|      4|        return;
 2743|      4|    }
 2744|      0|    if (tp == &_PyAsyncGenASend_Type) {
  ------------------
  |  Branch (2744:9): [True: 0, False: 0]
  ------------------
 2745|      0|        specialize(instr, SEND_ASYNC_GEN);
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
 2746|      0|        return;
 2747|      0|    }
 2748|      0|    SPECIALIZATION_FAIL(SEND,
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2749|      0|                        _PySpecialization_ClassifyIterator(receiver));
 2750|      0|failure:
 2751|      0|    unspecialize(instr);
 2752|      0|}
_Py_Specialize_CallFunctionEx:
 2756|    115|{
 2757|    115|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
 2758|       |
 2759|    115|    assert(ENABLE_SPECIALIZATION);
 2760|    115|    assert(_PyOpcode_Caches[CALL_FUNCTION_EX] == INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
 2761|       |
 2762|    115|    if (Py_TYPE(func) == &PyFunction_Type &&
  ------------------
  |  |  213|    115|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2762:9): [True: 41, False: 74]
  ------------------
 2763|     41|        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  ------------------
  |  Branch (2763:9): [True: 41, False: 0]
  ------------------
 2764|     41|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2764:13): [True: 0, False: 41]
  ------------------
 2765|      0|            goto failure;
 2766|      0|        }
 2767|     41|        specialize(instr, CALL_EX_PY);
  ------------------
  |  |  157|     41|#define CALL_EX_PY                             152
  ------------------
 2768|     41|        return;
 2769|     41|    }
 2770|     74|    specialize(instr, CALL_EX_NON_PY_GENERAL);
  ------------------
  |  |  156|     74|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
 2771|     74|    return;
 2772|      0|failure:
 2773|      0|    unspecialize(instr);
 2774|      0|}
_Py_Specialize_ToBool:
 2825|  2.16k|{
 2826|  2.16k|    assert(ENABLE_SPECIALIZATION);
 2827|  2.16k|    assert(_PyOpcode_Caches[TO_BOOL] == INLINE_CACHE_ENTRIES_TO_BOOL);
 2828|  2.16k|    _PyToBoolCache *cache = (_PyToBoolCache *)(instr + 1);
 2829|  2.16k|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_o);
 2830|  2.16k|    uint8_t specialized_op;
 2831|  2.16k|    if (PyBool_Check(value)) {
  ------------------
  |  |   12|  2.16k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  2.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.39k, False: 772]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|  1.39k|        specialized_op = TO_BOOL_BOOL;
  ------------------
  |  |  216|  1.39k|#define TO_BOOL_BOOL                           211
  ------------------
 2833|  1.39k|        goto success;
 2834|  1.39k|    }
 2835|    772|    if (PyLong_CheckExact(value)) {
  ------------------
  |  |   14|    772|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    772|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    772|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    772|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 149, False: 623]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2836|    149|        specialized_op = TO_BOOL_INT;
  ------------------
  |  |  217|    149|#define TO_BOOL_INT                            212
  ------------------
 2837|    149|        goto success;
 2838|    149|    }
 2839|    623|    if (PyList_CheckExact(value)) {
  ------------------
  |  |   26|    623|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    623|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    623|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    623|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 68, False: 555]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|     68|        specialized_op = TO_BOOL_LIST;
  ------------------
  |  |  218|     68|#define TO_BOOL_LIST                           213
  ------------------
 2841|     68|        goto success;
 2842|     68|    }
 2843|    555|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|    555|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    555|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 120, False: 435]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|    120|        specialized_op = TO_BOOL_NONE;
  ------------------
  |  |  219|    120|#define TO_BOOL_NONE                           214
  ------------------
 2845|    120|        goto success;
 2846|    120|    }
 2847|    435|    if (PyUnicode_CheckExact(value)) {
  ------------------
  |  |  104|    435|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    435|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 120, False: 315]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|    120|        specialized_op = TO_BOOL_STR;
  ------------------
  |  |  220|    120|#define TO_BOOL_STR                            215
  ------------------
 2849|    120|        goto success;
 2850|    120|    }
 2851|    315|    if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  213|    315|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    315|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2851:9): [True: 65, False: 250]
  ------------------
 2852|     65|        unsigned int version = 0;
 2853|     65|        int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
  ------------------
  |  |  213|     65|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|     65|        if (err < 0) {
  ------------------
  |  Branch (2854:13): [True: 0, False: 65]
  ------------------
 2855|      0|            SPECIALIZATION_FAIL(TO_BOOL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2856|      0|            goto failure;
 2857|      0|        }
 2858|     65|        else if (err > 0) {
  ------------------
  |  Branch (2858:18): [True: 46, False: 19]
  ------------------
 2859|     46|            SPECIALIZATION_FAIL(TO_BOOL, err);
  ------------------
  |  |   43|     46|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2860|     46|            goto failure;
 2861|     46|        }
 2862|       |
 2863|     65|        assert(err == 0);
 2864|     19|        assert(version);
 2865|     19|        write_u32(cache->version, version);
 2866|     19|        specialized_op = TO_BOOL_ALWAYS_TRUE;
  ------------------
  |  |  215|     19|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
 2867|     19|        goto success;
 2868|     65|    }
 2869|       |
 2870|    250|    SPECIALIZATION_FAIL(TO_BOOL, to_bool_fail_kind(value));
  ------------------
  |  |   43|    250|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2871|    296|failure:
 2872|    296|    unspecialize(instr);
 2873|    296|    return;
 2874|  1.87k|success:
 2875|  1.87k|    specialize(instr, specialized_op);
 2876|  1.87k|}
_Py_Specialize_ContainsOp:
 2899|    756|{
 2900|    756|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_st);
 2901|       |
 2902|    756|    assert(ENABLE_SPECIALIZATION);
 2903|    756|    assert(_PyOpcode_Caches[CONTAINS_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
 2904|    756|    if (PyAnyDict_CheckExact(value)) {
  ------------------
  |  |   41|    756|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    756|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.51k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    756|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    756|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 96, False: 660]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    660|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    660|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 660]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|     96|        specialize(instr, CONTAINS_OP_DICT);
  ------------------
  |  |  177|     96|#define CONTAINS_OP_DICT                       172
  ------------------
 2906|     96|        return;
 2907|     96|    }
 2908|    660|    if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   35|    660|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|  1.32k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 45, False: 615]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   23|    615|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    615|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    615|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    615|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 47, False: 568]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2909|     92|        specialize(instr, CONTAINS_OP_SET);
  ------------------
  |  |  178|     92|#define CONTAINS_OP_SET                        173
  ------------------
 2910|     92|        return;
 2911|     92|    }
 2912|       |
 2913|    568|    SPECIALIZATION_FAIL(CONTAINS_OP, containsop_fail_kind(value));
  ------------------
  |  |   43|    568|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2914|    568|    unspecialize(instr);
 2915|    568|    return;
 2916|    660|}
_Py_Specialize_GetIter:
 2920|    927|{
 2921|    927|    assert(ENABLE_SPECIALIZATION);
 2922|    927|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 2923|    927|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2923:9): [True: 352, False: 575]
  ------------------
 2924|    352|        specialize(instr, GET_ITER_VIRTUAL);
  ------------------
  |  |  185|    352|#define GET_ITER_VIRTUAL                       180
  ------------------
 2925|    352|        return;
 2926|    352|    }
 2927|    575|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (2927:9): [True: 62, False: 513]
  ------------------
 2928|     62|        specialize(instr, GET_ITER_SELF);
  ------------------
  |  |  184|     62|#define GET_ITER_SELF                          179
  ------------------
 2929|     62|        return;
 2930|     62|    }
 2931|    513|    SPECIALIZATION_FAIL(GET_ITER,
  ------------------
  |  |   43|    513|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2932|    513|        tp == &PyCoro_Type ? SPEC_FAIL_ITER_COROUTINE : SPEC_FAIL_OTHER);
 2933|    513|    unspecialize(instr);
 2934|    513|}
_Py_Specialize_Resume:
 2938|  7.69k|{
 2939|  7.69k|    if (tstate->tracing == 0 && instr->op.code == RESUME) {
  ------------------
  |  |  133|  7.69k|#define RESUME                                 128
  ------------------
  |  Branch (2939:9): [True: 7.69k, False: 0]
  |  Branch (2939:33): [True: 6.90k, False: 793]
  ------------------
 2940|  6.90k|        if (tstate->interp->jit) {
  ------------------
  |  Branch (2940:13): [True: 0, False: 6.90k]
  ------------------
 2941|      0|            PyCodeObject *co = (PyCodeObject *)PyStackRef_AsPyObjectBorrow(frame->f_executable);
 2942|      0|            if (co != NULL &&
  ------------------
  |  Branch (2942:17): [True: 0, False: 0]
  ------------------
 2943|      0|                PyCode_Check(co) &&
  ------------------
  |  |  164|      0|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|      0|                (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  123|      0|#define CO_GENERATOR    0x0020
  ------------------
                              (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  127|      0|#define CO_COROUTINE            0x0080
  ------------------
                              (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) == 0) {
  ------------------
  |  |  129|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (2944:17): [True: 0, False: 0]
  ------------------
 2945|      0|                specialize(instr, RESUME_CHECK_JIT);
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
 2946|      0|                set_counter((_Py_BackoffCounter *)instr + 1, initial_resume_backoff_counter(&tstate->interp->opt_config));
 2947|      0|                return;
 2948|      0|            }
 2949|      0|        }
 2950|  6.90k|        specialize(instr, RESUME_CHECK);
  ------------------
  |  |  205|  6.90k|#define RESUME_CHECK                           200
  ------------------
 2951|  6.90k|        return;
 2952|  6.90k|    }
 2953|    793|    unspecialize(instr);
 2954|    793|    return;
 2955|  7.69k|}
specialize.c:fixup_getiter:
   48|  4.55k|{
   49|       |    // Compiler can't know if types.coroutine() will be called,
   50|       |    // so fix up here
   51|  4.55k|    if (instruction->op.arg) {
  ------------------
  |  Branch (51:9): [True: 138, False: 4.41k]
  ------------------
   52|    138|        if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  127|    138|#define CO_COROUTINE            0x0080
  ------------------
                      if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  128|    138|#define CO_ITERABLE_COROUTINE   0x0100
  ------------------
  |  Branch (52:13): [True: 0, False: 138]
  ------------------
   53|      0|            instruction->op.arg = GET_ITER_YIELD_FROM_NO_CHECK;
  ------------------
  |  |   98|      0|#define GET_ITER_YIELD_FROM_NO_CHECK 2
  ------------------
   54|      0|        }
   55|    138|        else {
   56|    138|            instruction->op.arg = GET_ITER_YIELD_FROM_CORO_CHECK;
  ------------------
  |  |   99|    138|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
   57|    138|        }
   58|    138|    }
   59|  4.55k|}
specialize.c:specialize:
  363|   321k|{
  364|   321k|    assert(!PyErr_Occurred());
  365|   321k|    if (!set_opcode(instr, specialized_opcode)) {
  ------------------
  |  Branch (365:9): [True: 0, False: 321k]
  ------------------
  366|      0|        STAT_INC(_PyOpcode_Deopt[specialized_opcode], failure);
  ------------------
  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  ------------------
  367|      0|        SPECIALIZATION_FAIL(_PyOpcode_Deopt[specialized_opcode],
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  368|      0|                            SPEC_FAIL_OTHER);
  369|      0|        return;
  370|      0|    }
  371|   321k|    STAT_INC(_PyOpcode_Deopt[specialized_opcode], success);
  ------------------
  |  |   73|   321k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  372|   321k|    set_counter((_Py_BackoffCounter *)instr + 1, adaptive_counter_cooldown());
  373|   321k|}
specialize.c:set_opcode:
  326|   339k|{
  327|       |#ifdef Py_GIL_DISABLED
  328|       |    uint8_t old_op = _Py_atomic_load_uint8_relaxed(&instr->op.code);
  329|       |    if (old_op >= MIN_INSTRUMENTED_OPCODE) {
  330|       |        /* Lost race with instrumentation */
  331|       |        return 0;
  332|       |    }
  333|       |    if (!_Py_atomic_compare_exchange_uint8(&instr->op.code, &old_op, opcode)) {
  334|       |        /* Lost race with instrumentation */
  335|       |        assert(old_op >= MIN_INSTRUMENTED_OPCODE);
  336|       |        return 0;
  337|       |    }
  338|       |    return 1;
  339|       |#else
  340|   339k|    instr->op.code = opcode;
  341|   339k|    return 1;
  342|   339k|#endif
  343|   339k|}
specialize.c:unspecialize:
  377|  18.2k|{
  378|  18.2k|    assert(!PyErr_Occurred());
  379|  18.2k|    uint8_t opcode = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|  18.2k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  380|  18.2k|    uint8_t generic_opcode = _PyOpcode_Deopt[opcode];
  381|  18.2k|    STAT_INC(generic_opcode, failure);
  ------------------
  |  |   73|  18.2k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  382|  18.2k|    if (!set_opcode(instr, generic_opcode)) {
  ------------------
  |  Branch (382:9): [True: 0, False: 18.2k]
  ------------------
  383|      0|        SPECIALIZATION_FAIL(generic_opcode, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  384|      0|        return;
  385|      0|    }
  386|  18.2k|    _Py_BackoffCounter *counter = (_Py_BackoffCounter *)instr + 1;
  387|  18.2k|    _Py_BackoffCounter cur = load_counter(counter);
  388|  18.2k|    set_counter(counter, adaptive_counter_backoff(cur));
  389|  18.2k|}
specialize.c:load_counter:
  354|  18.2k|{
  355|  18.2k|    _Py_BackoffCounter result = {
  356|  18.2k|        .value_and_backoff =
  357|  18.2k|            FT_ATOMIC_LOAD_UINT16_RELAXED(counter->value_and_backoff)};
  ------------------
  |  |  158|  18.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  358|  18.2k|    return result;
  359|  18.2k|}
specialize.c:specialize_module_load_attr:
  450|    855|{
  451|    855|    PyModuleObject *m = (PyModuleObject *)owner;
  452|    855|    assert((Py_TYPE(owner)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  453|    855|    PyDictObject *dict = (PyDictObject *)m->md_dict;
  454|    855|    if (dict == NULL) {
  ------------------
  |  Branch (454:9): [True: 0, False: 855]
  ------------------
  455|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  456|      0|        return -1;
  457|      0|    }
  458|    855|    int result;
  459|    855|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    855|    {
  ------------------
  460|    855|    result = specialize_module_load_attr_lock_held(dict, instr, name);
  461|    855|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    855|    }
  ------------------
  462|    855|    return result;
  463|    855|}
specialize.c:specialize_module_load_attr_lock_held:
  412|    855|{
  413|    855|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  414|    855|    if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (414:9): [True: 0, False: 855]
  ------------------
  415|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_STRING);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  416|      0|        return -1;
  417|      0|    }
  418|    855|    PyObject *value;
  419|    855|    Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
  420|    855|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    813|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    813|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    813|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    813|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 813]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (420:9): [True: 813, False: 42]
  ------------------
  421|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MODULE_LAZY_VALUE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  422|      0|        return -1;
  423|      0|    }
  424|    855|    assert(index != DKIX_ERROR);
  425|    855|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (425:9): [True: 42, False: 813]
  ------------------
  426|     42|        SPECIALIZATION_FAIL(LOAD_ATTR,
  ------------------
  |  |   43|     42|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  427|     42|                            index == DKIX_EMPTY ?
  428|     42|                            SPEC_FAIL_ATTR_MODULE_ATTR_NOT_FOUND :
  429|     42|                            SPEC_FAIL_OUT_OF_RANGE);
  430|     42|        return -1;
  431|     42|    }
  432|    813|    uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
  433|    813|            _PyInterpreterState_GET(), dict);
  434|    813|    if (keys_version == 0) {
  ------------------
  |  Branch (434:9): [True: 0, False: 813]
  ------------------
  435|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  436|      0|        return -1;
  437|      0|    }
  438|       |#ifdef Py_GIL_DISABLED
  439|       |    maybe_enable_deferred_ref_count(value);
  440|       |#endif
  441|    813|    write_u32(cache->version, keys_version);
  442|    813|    cache->index = (uint16_t)index;
  443|    813|    specialize(instr, LOAD_ATTR_MODULE);
  ------------------
  |  |  195|    813|#define LOAD_ATTR_MODULE                       190
  ------------------
  444|    813|    return 0;
  445|    813|}
specialize.c:specialize_instance_load_attr:
  980|   299k|{
  981|       |    // 0 is not a valid version
  982|   299k|    uint32_t shared_keys_version = 0;
  983|   299k|    bool shadow = instance_has_key(owner, name, &shared_keys_version);
  984|   299k|    PyObject *descr = NULL;
  985|   299k|    unsigned int tp_version = 0;
  986|   299k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   299k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  987|   299k|    DescriptorClassification kind = analyze_descriptor_load(type, name, &descr, &tp_version);
  988|   299k|    int result = do_specialize_instance_load_attr(owner, instr, name, shadow, shared_keys_version, kind, descr, tp_version);
  989|   299k|    Py_XDECREF(descr);
  ------------------
  |  |  524|   299k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|   299k|    return result;
  991|   299k|}
specialize.c:instance_has_key:
  759|   299k|{
  760|   299k|    PyTypeObject *cls = Py_TYPE(obj);
  ------------------
  |  |  213|   299k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|   299k|    if ((cls->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|   299k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (761:9): [True: 3.63k, False: 296k]
  ------------------
  762|  3.63k|        return false;
  763|  3.63k|    }
  764|   296k|    if (cls->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   296k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (764:9): [True: 296k, False: 227]
  ------------------
  765|   296k|        PyDictKeysObject *keys = ((PyHeapTypeObject *)cls)->ht_cached_keys;
  766|   296k|        Py_ssize_t index =
  767|   296k|            _PyDictKeys_StringLookupAndVersion(keys, name, shared_keys_version);
  768|   296k|        return index >= 0;
  769|   296k|    }
  770|    227|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
  771|    227|    if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|    213|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    213|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (771:9): [True: 14, False: 213]
  |  Branch (771:25): [True: 0, False: 213]
  ------------------
  772|     14|        return false;
  773|     14|    }
  774|    227|    bool result;
  775|    213|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    213|    {
  ------------------
  776|    213|    if (dict->ma_values) {
  ------------------
  |  Branch (776:9): [True: 213, False: 0]
  ------------------
  777|    213|        result = false;
  778|    213|    }
  779|      0|    else {
  780|      0|        result = (_PyDict_LookupIndex(dict, name) >= 0);
  781|      0|    }
  782|    213|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    213|    }
  ------------------
  783|    213|    return result;
  784|    227|}
specialize.c:analyze_descriptor_load:
  557|   302k|analyze_descriptor_load(PyTypeObject *type, PyObject *name, PyObject **descr, unsigned int *tp_version) {
  558|   302k|    bool has_getattr = false;
  559|   302k|    bool have_ga_version = false;
  560|   302k|    unsigned int ga_version;
  561|   302k|    getattrofunc getattro_slot = type->tp_getattro;
  562|   302k|    if (getattro_slot == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (562:9): [True: 268k, False: 34.1k]
  ------------------
  563|       |        /* Normal attribute lookup; */
  564|   268k|        has_getattr = false;
  565|   268k|    }
  566|  34.1k|    else if (getattro_slot == _Py_slot_tp_getattr_hook ||
  ------------------
  |  Branch (566:14): [True: 33.6k, False: 526]
  ------------------
  567|  33.6k|        getattro_slot == _Py_slot_tp_getattro) {
  ------------------
  |  Branch (567:9): [True: 0, False: 526]
  ------------------
  568|       |        /* One or both of __getattribute__ or __getattr__ may have been
  569|       |         overridden See typeobject.c for why these functions are special. */
  570|  33.6k|        PyObject *getattribute = _PyType_LookupRefAndVersion(type,
  571|  33.6k|                &_Py_ID(__getattribute__), &ga_version);
  ------------------
  |  |  919|  33.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  33.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  33.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|  33.6k|        have_ga_version = true;
  573|  33.6k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  574|  33.6k|        bool has_custom_getattribute = getattribute != NULL &&
  ------------------
  |  Branch (574:40): [True: 33.6k, False: 0]
  ------------------
  575|  33.6k|            getattribute != interp->callable_cache.object__getattribute__;
  ------------------
  |  Branch (575:13): [True: 0, False: 33.6k]
  ------------------
  576|  33.6k|        PyObject *getattr = _PyType_Lookup(type, &_Py_ID(__getattr__));
  ------------------
  |  |  919|  33.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  33.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  33.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|  33.6k|        has_getattr = getattr != NULL;
  578|  33.6k|        if (has_custom_getattribute) {
  ------------------
  |  Branch (578:13): [True: 0, False: 33.6k]
  ------------------
  579|      0|            if (!has_getattr &&
  ------------------
  |  Branch (579:17): [True: 0, False: 0]
  ------------------
  580|      0|                Py_IS_TYPE(getattribute, &PyFunction_Type)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  581|      0|                *descr = getattribute;
  582|      0|                *tp_version = ga_version;
  583|      0|                return GETATTRIBUTE_IS_PYTHON_FUNCTION;
  584|      0|            }
  585|       |            /* Potentially both __getattr__ and __getattribute__ are set.
  586|       |               Too complicated */
  587|      0|            Py_DECREF(getattribute);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            *descr = NULL;
  589|      0|            *tp_version = ga_version;
  590|      0|            return GETSET_OVERRIDDEN;
  591|      0|        }
  592|       |        /* Potentially has __getattr__ but no custom __getattribute__.
  593|       |           Fall through to usual descriptor analysis.
  594|       |           Usual attribute lookup should only be allowed at runtime
  595|       |           if we can guarantee that there is no way an exception can be
  596|       |           raised. This means some specializations, e.g. specializing
  597|       |           for property() isn't safe.
  598|       |        */
  599|  33.6k|        Py_XDECREF(getattribute);
  ------------------
  |  |  524|  33.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|  33.6k|    }
  601|    526|    else {
  602|    526|        *descr = NULL;
  603|    526|        *tp_version = FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag);
  ------------------
  |  |  189|    526|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  604|    526|        return GETSET_OVERRIDDEN;
  605|    526|    }
  606|   302k|    unsigned int descr_version;
  607|   302k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, &descr_version);
  608|   302k|    *descr = descriptor;
  609|   302k|    *tp_version = have_ga_version ? ga_version : descr_version;
  ------------------
  |  Branch (609:19): [True: 33.6k, False: 268k]
  ------------------
  610|   302k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (610:9): [True: 853, False: 301k]
  ------------------
  611|    853|        return DUNDER_CLASS;
  612|    853|    }
  613|   301k|    return classify_descriptor(descriptor, has_getattr);
  614|   302k|}
specialize.c:descriptor_is_class:
  551|   308k|{
  552|   308k|    return ((PyUnicode_CompareWithASCIIString(name, "__class__") == 0) &&
  ------------------
  |  Branch (552:13): [True: 853, False: 307k]
  ------------------
  553|    853|            (descriptor == _PyType_Lookup(&PyBaseObject_Type, name)));
  ------------------
  |  Branch (553:13): [True: 853, False: 0]
  ------------------
  554|   308k|}
specialize.c:classify_descriptor:
  509|   310k|{
  510|   310k|    if (descriptor == NULL) {
  ------------------
  |  Branch (510:9): [True: 195k, False: 115k]
  ------------------
  511|   195k|        return ABSENT;
  512|   195k|    }
  513|   115k|    PyTypeObject *desc_cls = Py_TYPE(descriptor);
  ------------------
  |  |  213|   115k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|   115k|    if (!(desc_cls->tp_flags & Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|   115k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (514:9): [True: 199, False: 115k]
  ------------------
  515|    199|        return MUTABLE;
  516|    199|    }
  517|   115k|    if (desc_cls->tp_descr_set) {
  ------------------
  |  Branch (517:9): [True: 9.13k, False: 106k]
  ------------------
  518|  9.13k|        if (desc_cls == &PyMemberDescr_Type) {
  ------------------
  |  Branch (518:13): [True: 1.00k, False: 8.13k]
  ------------------
  519|  1.00k|            PyMemberDescrObject *member = (PyMemberDescrObject *)descriptor;
  520|  1.00k|            struct PyMemberDef *dmem = member->d_member;
  521|  1.00k|            if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   75|  2.00k|#define Py_T_OBJECT_EX 16
  ------------------
                          if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   59|    251|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (521:17): [True: 752, False: 251]
  |  Branch (521:49): [True: 128, False: 123]
  ------------------
  522|    880|                return OBJECT_SLOT;
  523|    880|            }
  524|    123|            return OTHER_SLOT;
  525|  1.00k|        }
  526|  8.13k|        if (desc_cls == &PyProperty_Type) {
  ------------------
  |  Branch (526:13): [True: 7.32k, False: 807]
  ------------------
  527|       |            /* We can't detect at runtime whether an attribute exists
  528|       |               with property. So that means we may have to call
  529|       |               __getattr__. */
  530|  7.32k|            return has_getattr ? GETSET_OVERRIDDEN : PROPERTY;
  ------------------
  |  Branch (530:20): [True: 0, False: 7.32k]
  ------------------
  531|  7.32k|        }
  532|    807|        return OVERRIDING;
  533|  8.13k|    }
  534|   106k|    if (desc_cls->tp_descr_get) {
  ------------------
  |  Branch (534:9): [True: 98.8k, False: 7.29k]
  ------------------
  535|  98.8k|        if (desc_cls->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  98.8k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (535:13): [True: 97.5k, False: 1.33k]
  ------------------
  536|  97.5k|            return METHOD;
  537|  97.5k|        }
  538|  1.33k|        if (Py_IS_TYPE(descriptor, &PyClassMethodDescr_Type)) {
  ------------------
  |  |  215|  1.33k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.02k, False: 310]
  |  |  ------------------
  ------------------
  539|  1.02k|            return BUILTIN_CLASSMETHOD;
  540|  1.02k|        }
  541|    310|        if (Py_IS_TYPE(descriptor, &PyClassMethod_Type)) {
  ------------------
  |  |  215|    310|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 156, False: 154]
  |  |  ------------------
  ------------------
  542|    156|            return PYTHON_CLASSMETHOD;
  543|    156|        }
  544|    154|        return NON_OVERRIDING;
  545|    310|    }
  546|  7.29k|    return NON_DESCRIPTOR;
  547|   106k|}
specialize.c:do_specialize_instance_load_attr:
  790|   299k|{
  791|   299k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  792|   299k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   299k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   299k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   299k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|   299k|    if (tp_version == 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 299k]
  ------------------
  794|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  795|      0|        return -1;
  796|      0|    }
  797|   299k|    uint8_t oparg = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.arg);
  ------------------
  |  |  157|   299k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  798|   299k|    switch(kind) {
  ------------------
  |  Branch (798:12): [True: 299k, False: 0]
  ------------------
  799|    443|        case OVERRIDING:
  ------------------
  |  Branch (799:9): [True: 443, False: 299k]
  ------------------
  800|    443|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|    443|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  801|    443|            return -1;
  802|  97.2k|        case METHOD:
  ------------------
  |  Branch (802:9): [True: 97.2k, False: 202k]
  ------------------
  803|  97.2k|        {
  804|  97.2k|            if (shadow) {
  ------------------
  |  Branch (804:17): [True: 4, False: 97.2k]
  ------------------
  805|      4|                goto try_instance;
  806|      4|            }
  807|  97.2k|            if (oparg & 1) {
  ------------------
  |  Branch (807:17): [True: 97.0k, False: 191]
  ------------------
  808|  97.0k|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (808:21): [True: 97.0k, False: 54]
  ------------------
  809|  97.0k|                                                  tp_version, kind, true,
  810|  97.0k|                                                  shared_keys_version)) {
  811|  97.0k|                    return 0;
  812|  97.0k|                }
  813|     54|                else {
  814|     54|                    return -1;
  815|     54|                }
  816|  97.0k|            }
  817|    191|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|    191|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  818|    191|            return -1;
  819|  97.2k|        }
  820|  7.30k|        case PROPERTY:
  ------------------
  |  Branch (820:9): [True: 7.30k, False: 292k]
  ------------------
  821|  7.30k|        {
  822|  7.30k|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  823|  7.30k|            assert(Py_TYPE(descr) == &PyProperty_Type);
  824|  7.30k|            PyObject *fget = ((_PyPropertyObject *)descr)->prop_get;
  825|  7.30k|            if (fget == NULL) {
  ------------------
  |  Branch (825:17): [True: 0, False: 7.30k]
  ------------------
  826|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  827|      0|                return -1;
  828|      0|            }
  829|  7.30k|            if (!Py_IS_TYPE(fget, &PyFunction_Type)) {
  ------------------
  |  |  215|  7.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (829:17): [True: 0, False: 7.30k]
  ------------------
  830|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_PROPERTY_NOT_PY_FUNCTION);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  831|      0|                return -1;
  832|      0|            }
  833|  7.30k|            if (!function_check_args(fget, 1, LOAD_ATTR)) {
  ------------------
  |  |   92|  7.30k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (833:17): [True: 0, False: 7.30k]
  ------------------
  834|      0|                return -1;
  835|      0|            }
  836|  7.30k|            if (oparg & 1) {
  ------------------
  |  Branch (836:17): [True: 8, False: 7.30k]
  ------------------
  837|      8|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      8|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  838|      8|                return -1;
  839|      8|            }
  840|       |            /* Don't specialize if PEP 523 is active */
  841|  7.30k|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (841:17): [True: 0, False: 7.30k]
  ------------------
  842|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  843|      0|                return -1;
  844|      0|            }
  845|       |            #ifdef Py_GIL_DISABLED
  846|       |            if (!_PyObject_HasDeferredRefcount(fget)) {
  847|       |                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
  848|       |                return -1;
  849|       |            }
  850|       |            #endif
  851|  7.30k|            uint32_t func_version = function_get_version(fget, LOAD_ATTR);
  ------------------
  |  |   92|  7.30k|#define LOAD_ATTR                               79
  ------------------
  852|  7.30k|            if (func_version == 0) {
  ------------------
  |  Branch (852:17): [True: 0, False: 7.30k]
  ------------------
  853|      0|                return -1;
  854|      0|            }
  855|  7.30k|            assert(tp_version != 0);
  856|  7.30k|            write_u32(lm_cache->type_version, tp_version);
  857|  7.30k|            write_u32(lm_cache->keys_version, func_version);
  858|       |            /* borrowed */
  859|  7.30k|            write_ptr(lm_cache->descr, fget);
  860|  7.30k|            specialize(instr, LOAD_ATTR_PROPERTY);
  ------------------
  |  |  198|  7.30k|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  861|  7.30k|            return 0;
  862|  7.30k|        }
  863|    575|        case OBJECT_SLOT:
  ------------------
  |  Branch (863:9): [True: 575, False: 299k]
  ------------------
  864|    575|        {
  865|    575|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
  866|    575|            struct PyMemberDef *dmem = member->d_member;
  867|    575|            Py_ssize_t offset = dmem->offset;
  868|    575|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|    575|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    575|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    575|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (868:17): [True: 0, False: 575]
  ------------------
  869|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  870|      0|                return -1;
  871|      0|            }
  872|    575|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|    575|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (872:17): [True: 0, False: 575]
  ------------------
  873|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_SLOT_AFTER_ITEMS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  874|      0|                return -1;
  875|      0|            }
  876|    575|            if (dmem->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|    575|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (876:17): [True: 0, False: 575]
  ------------------
  877|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_AUDITED_SLOT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  878|      0|                return -1;
  879|      0|            }
  880|    575|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (880:17): [True: 0, False: 575]
  ------------------
  881|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  882|      0|                return -1;
  883|      0|            }
  884|    575|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  885|    575|            assert(offset > 0);
  886|    575|            cache->index = (uint16_t)offset;
  887|    575|            write_u32(cache->version, tp_version);
  888|    575|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  199|    575|#define LOAD_ATTR_SLOT                         194
  ------------------
  889|    575|            return 0;
  890|    575|        }
  891|    853|        case DUNDER_CLASS:
  ------------------
  |  Branch (891:9): [True: 853, False: 299k]
  ------------------
  892|    853|        {
  893|    853|            Py_ssize_t offset = offsetof(PyObject, ob_type);
  894|    853|            assert(offset == (uint16_t)offset);
  895|    853|            cache->index = (uint16_t)offset;
  896|    853|            write_u32(cache->version, tp_version);
  897|    853|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  199|    853|#define LOAD_ATTR_SLOT                         194
  ------------------
  898|    853|            return 0;
  899|    575|        }
  900|    123|        case OTHER_SLOT:
  ------------------
  |  Branch (900:9): [True: 123, False: 299k]
  ------------------
  901|    123|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|    123|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  902|    123|            return -1;
  903|     98|        case MUTABLE:
  ------------------
  |  Branch (903:9): [True: 98, False: 299k]
  ------------------
  904|     98|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|     98|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  905|     98|            return -1;
  906|    496|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (906:9): [True: 496, False: 299k]
  ------------------
  907|    496|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|    496|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  908|    496|            return -1;
  909|      0|        case GETATTRIBUTE_IS_PYTHON_FUNCTION:
  ------------------
  |  Branch (909:9): [True: 0, False: 299k]
  ------------------
  910|      0|        {
  911|      0|            assert(Py_IS_TYPE(descr, &PyFunction_Type));
  912|      0|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  913|      0|            if (!function_check_args(descr, 2, LOAD_ATTR)) {
  ------------------
  |  |   92|      0|#define LOAD_ATTR                               79
  ------------------
  |  Branch (913:17): [True: 0, False: 0]
  ------------------
  914|      0|                return -1;
  915|      0|            }
  916|      0|            if (oparg & 1) {
  ------------------
  |  Branch (916:17): [True: 0, False: 0]
  ------------------
  917|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  918|      0|                return -1;
  919|      0|            }
  920|      0|            uint32_t version = function_get_version(descr, LOAD_ATTR);
  ------------------
  |  |   92|      0|#define LOAD_ATTR                               79
  ------------------
  921|      0|            if (version == 0) {
  ------------------
  |  Branch (921:17): [True: 0, False: 0]
  ------------------
  922|      0|                return -1;
  923|      0|            }
  924|       |            /* Don't specialize if PEP 523 is active */
  925|      0|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (925:17): [True: 0, False: 0]
  ------------------
  926|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  927|      0|                return -1;
  928|      0|            }
  929|       |            #ifdef Py_GIL_DISABLED
  930|       |            if (!_PyObject_HasDeferredRefcount(descr)) {
  931|       |                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
  932|       |                return -1;
  933|       |            }
  934|       |            #endif
  935|      0|            write_u32(lm_cache->keys_version, version);
  936|       |            /* borrowed */
  937|      0|            write_ptr(lm_cache->descr, descr);
  938|      0|            write_u32(lm_cache->type_version, tp_version);
  939|      0|            specialize(instr, LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  ------------------
  |  |  190|      0|#define LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN      185
  ------------------
  940|      0|            return 0;
  941|      0|        }
  942|      0|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (942:9): [True: 0, False: 299k]
  ------------------
  943|     49|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (943:9): [True: 49, False: 299k]
  ------------------
  944|     91|        case NON_OVERRIDING:
  ------------------
  |  Branch (944:9): [True: 42, False: 299k]
  ------------------
  945|     91|            if (shadow) {
  ------------------
  |  Branch (945:17): [True: 0, False: 91]
  ------------------
  946|      0|                goto try_instance;
  947|      0|            }
  948|     91|            return -1;
  949|  6.09k|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (949:9): [True: 6.09k, False: 293k]
  ------------------
  950|  6.09k|            if (shadow) {
  ------------------
  |  Branch (950:17): [True: 6.00k, False: 99]
  ------------------
  951|  6.00k|                goto try_instance;
  952|  6.00k|            }
  953|     99|            if ((oparg & 1) == 0) {
  ------------------
  |  Branch (953:17): [True: 93, False: 6]
  ------------------
  954|     93|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (954:21): [True: 71, False: 22]
  ------------------
  955|     93|                                                  tp_version, kind, false,
  956|     93|                                                  shared_keys_version)) {
  957|     71|                    return 0;
  958|     71|                }
  959|     93|            }
  960|     28|            return -1;
  961|   186k|        case ABSENT:
  ------------------
  |  Branch (961:9): [True: 186k, False: 113k]
  ------------------
  962|   186k|            if (shadow) {
  ------------------
  |  Branch (962:17): [True: 9.74k, False: 176k]
  ------------------
  963|  9.74k|                goto try_instance;
  964|  9.74k|            }
  965|   176k|            set_counter((_Py_BackoffCounter*)instr + 1, adaptive_counter_cooldown());
  966|   176k|            return 0;
  967|   299k|    }
  968|   299k|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  969|  15.7k|try_instance:
  970|  15.7k|    if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (970:9): [True: 14.8k, False: 854]
  ------------------
  971|  15.7k|                               LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |   92|  15.7k|#define LOAD_ATTR                               79
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  191|  15.7k|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  200|  15.7k|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  972|  14.8k|    {
  973|  14.8k|        return 0;
  974|  14.8k|    }
  975|    854|    return -1;
  976|  15.7k|}
specialize.c:specialize_attr_loadclassattr:
 1264|  97.1k|{
 1265|  97.1k|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1266|  97.1k|    PyTypeObject *owner_cls = Py_TYPE(owner);
  ------------------
  |  |  213|  97.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  97.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1267|       |
 1268|  97.1k|    assert(descr != NULL);
 1269|  97.1k|    assert((is_method && kind == METHOD) || (!is_method && kind == NON_DESCRIPTOR));
 1270|       |
 1271|       |    #ifdef Py_GIL_DISABLED
 1272|       |    if (!_PyObject_HasDeferredRefcount(descr)) {
 1273|       |        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_DESCR_NOT_DEFERRED);
 1274|       |        return 0;
 1275|       |    }
 1276|       |    #endif
 1277|       |
 1278|  97.1k|    unsigned long tp_flags = PyType_GetFlags(owner_cls);
 1279|  97.1k|    if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  97.1k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1279:9): [True: 95.8k, False: 1.29k]
  ------------------
 1280|  95.8k|        #ifndef Py_GIL_DISABLED
 1281|  95.8k|        assert(_PyDictKeys_StringLookup(
 1282|  95.8k|                   ((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
 1283|  95.8k|        #endif
 1284|  95.8k|        if (shared_keys_version == 0) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 95.8k]
  ------------------
 1285|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1286|      0|            return 0;
 1287|      0|        }
 1288|  95.8k|        write_u32(cache->keys_version, shared_keys_version);
 1289|  95.8k|        specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  194|  95.8k|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
                      specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  197|  95.9k|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (1289:27): [True: 95.8k, False: 29]
  ------------------
 1290|  95.8k|    }
 1291|  1.29k|    else {
 1292|  1.29k|        Py_ssize_t dictoffset;
 1293|  1.29k|        if (tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.29k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1293:13): [True: 46, False: 1.25k]
  ------------------
 1294|     46|            dictoffset = MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|     46|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1295|     46|        }
 1296|  1.25k|        else {
 1297|  1.25k|            dictoffset = owner_cls->tp_dictoffset;
 1298|  1.25k|            if (dictoffset < 0 || dictoffset > INT16_MAX + MANAGED_DICT_OFFSET) {
  ------------------
  |  |  925|  1.25k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  |  Branch (1298:17): [True: 0, False: 1.25k]
  |  Branch (1298:35): [True: 0, False: 1.25k]
  ------------------
 1299|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1300|      0|                return 0;
 1301|      0|            }
 1302|  1.25k|        }
 1303|  1.29k|        if (dictoffset == 0) {
  ------------------
  |  Branch (1303:13): [True: 1.19k, False: 98]
  ------------------
 1304|  1.19k|            specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  193|  1.15k|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
                          specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  196|  1.24k|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (1304:31): [True: 1.15k, False: 42]
  ------------------
 1305|  1.19k|        }
 1306|     98|        else if (is_method) {
  ------------------
  |  Branch (1306:18): [True: 76, False: 22]
  ------------------
 1307|     76|            PyObject **addr = (PyObject **)((char *)owner + dictoffset);
 1308|     76|            PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*addr);
  ------------------
  |  |  150|     76|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1309|     76|            if (dict) {
  ------------------
  |  Branch (1309:17): [True: 54, False: 22]
  ------------------
 1310|     54|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|     54|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1311|     54|                return 0;
 1312|     54|            }
 1313|       |            /* Cache entries must be unsigned values, so we offset the
 1314|       |             * dictoffset by MANAGED_DICT_OFFSET.
 1315|       |             * We do the reverse offset in LOAD_ATTR_METHOD_LAZY_DICT */
 1316|     22|            dictoffset -= MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|     22|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1317|     22|            assert(((uint16_t)dictoffset) == dictoffset);
 1318|     22|            cache->dict_offset = (uint16_t)dictoffset;
 1319|     22|            specialize(instr, LOAD_ATTR_METHOD_LAZY_DICT);
  ------------------
  |  |  192|     22|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
 1320|     22|        }
 1321|     22|        else {
 1322|     22|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|     22|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1323|     22|            return 0;
 1324|     22|        }
 1325|  1.29k|    }
 1326|       |    /* `descr` is borrowed. This is safe for methods (even inherited ones from
 1327|       |    *  super classes!) as long as tp_version_tag is validated for two main reasons:
 1328|       |    *
 1329|       |    *  1. The class will always hold a reference to the method so it will
 1330|       |    *  usually not be GC-ed. Should it be deleted in Python, e.g.
 1331|       |    *  `del obj.meth`, tp_version_tag will be invalidated, because of reason 2.
 1332|       |    *
 1333|       |    *  2. The pre-existing type method cache (MCACHE) uses the same principles
 1334|       |    *  of caching a borrowed descriptor. The MCACHE infrastructure does all the
 1335|       |    *  heavy lifting for us. E.g. it invalidates tp_version_tag on any MRO
 1336|       |    *  modification, on any type object change along said MRO, etc. (see
 1337|       |    *  PyType_Modified usages in typeobject.c). The MCACHE has been
 1338|       |    *  working since Python 2.6 and it's battle-tested.
 1339|       |    */
 1340|  97.1k|    write_u32(cache->type_version, tp_version);
 1341|  97.1k|    write_ptr(cache->descr, descr);
 1342|  97.1k|    return 1;
 1343|  97.1k|}
specialize.c:function_check_args:
 1470|  7.30k|{
 1471|  7.30k|    assert(Py_IS_TYPE(o, &PyFunction_Type));
 1472|  7.30k|    PyFunctionObject *func = (PyFunctionObject *)o;
 1473|  7.30k|    PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 1474|  7.30k|    int kind = function_kind(fcode);
 1475|  7.30k|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  124|  7.30k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1475:9): [True: 0, False: 7.30k]
  ------------------
 1476|      0|        SPECIALIZATION_FAIL(opcode, kind);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1477|      0|        return false;
 1478|      0|    }
 1479|  7.30k|    if (fcode->co_argcount != expected_argcount) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 7.30k]
  ------------------
 1480|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1481|      0|        return false;
 1482|      0|    }
 1483|  7.30k|    return true;
 1484|  7.30k|}
specialize.c:function_get_version:
 1489|  7.30k|{
 1490|  7.30k|    assert(Py_IS_TYPE(o, &PyFunction_Type));
 1491|  7.30k|    PyFunctionObject *func = (PyFunctionObject *)o;
 1492|  7.30k|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 1493|  7.30k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1493:9): [True: 0, False: 7.30k]
  ------------------
 1494|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1495|      0|        return 0;
 1496|      0|    }
 1497|  7.30k|    return version;
 1498|  7.30k|}
specialize.c:analyze_descriptor_store:
  618|  6.87k|{
  619|  6.87k|    if (type->tp_setattro != PyObject_GenericSetAttr) {
  ------------------
  |  Branch (619:9): [True: 352, False: 6.52k]
  ------------------
  620|    352|        *descr = NULL;
  621|    352|        return GETSET_OVERRIDDEN;
  622|    352|    }
  623|  6.52k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, tp_version);
  624|  6.52k|    *descr = descriptor;
  625|  6.52k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (625:9): [True: 0, False: 6.52k]
  ------------------
  626|      0|        return DUNDER_CLASS;
  627|      0|    }
  628|  6.52k|    return classify_descriptor(descriptor, false);
  629|  6.52k|}
specialize.c:specialize_dict_access:
  699|  21.7k|{
  700|  21.7k|    assert(kind == NON_OVERRIDING || kind == NON_DESCRIPTOR || kind == ABSENT ||
  701|  21.7k|        kind == BUILTIN_CLASSMETHOD || kind == PYTHON_CLASSMETHOD ||
  702|  21.7k|        kind == METHOD);
  703|       |    // No descriptor, or non overriding.
  704|  21.7k|    if ((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  21.7k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (704:9): [True: 144, False: 21.6k]
  ------------------
  705|    144|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|    144|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  706|    144|        return 0;
  707|    144|    }
  708|  21.6k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES &&
  ------------------
  |  |  472|  43.2k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (708:9): [True: 21.5k, False: 112]
  ------------------
  709|  21.5k|        FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner)->valid) &&
  ------------------
  |  |  154|  43.1k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (154:37): [True: 20.9k, False: 542]
  |  |  ------------------
  ------------------
  710|  20.9k|        !(base_op == STORE_ATTR && _PyObject_GetManagedDict(owner) != NULL))
  ------------------
  |  |  122|  41.9k|#define STORE_ATTR                             109
  ------------------
  |  Branch (710:11): [True: 5.37k, False: 15.5k]
  |  Branch (710:36): [True: 0, False: 5.37k]
  ------------------
  711|  20.9k|    {
  712|  20.9k|        int res;
  713|  20.9k|        Py_BEGIN_CRITICAL_SECTION(owner);
  ------------------
  |  |   51|  20.9k|    {
  ------------------
  714|  20.9k|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  715|  20.9k|        if (dict == NULL) {
  ------------------
  |  Branch (715:13): [True: 20.1k, False: 854]
  ------------------
  716|       |            // managed dict, not materialized, inline values valid
  717|  20.1k|            res = specialize_dict_access_inline(owner, instr, type, name,
  718|  20.1k|                                                tp_version, base_op, values_op);
  719|  20.1k|        }
  720|    854|        else {
  721|       |            // lost race and dict was created, fail specialization
  722|    854|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|    854|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  723|    854|            res = 0;
  724|    854|        }
  725|  20.9k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  20.9k|    }
  ------------------
  726|  20.9k|        return res;
  727|  20.9k|    }
  728|    654|    else {
  729|    654|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  730|    654|        if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|    618|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    618|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:13): [True: 36, False: 618]
  |  Branch (730:29): [True: 0, False: 618]
  ------------------
  731|     36|            SPECIALIZATION_FAIL(base_op, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   43|     36|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  732|     36|            return 0;
  733|     36|        }
  734|    618|        int res;
  735|    618|        Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    618|    {
  ------------------
  736|       |        // materialized managed dict
  737|    618|        res = specialize_dict_access_hint(dict, instr, type, name,
  738|    618|                                          tp_version, base_op, hint_op);
  739|    618|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    618|    }
  ------------------
  740|    618|        return res;
  741|    654|    }
  742|  21.6k|}
specialize.c:specialize_dict_access_inline:
  636|  20.1k|{
  637|  20.1k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  638|  20.1k|    PyDictKeysObject *keys = ((PyHeapTypeObject *)type)->ht_cached_keys;
  639|  20.1k|    assert(PyUnicode_CheckExact(name));
  640|  20.1k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(owner);
  641|  20.1k|    Py_ssize_t index = _PyDictKeys_StringLookupSplit(keys, name);
  642|  20.1k|    assert (index != DKIX_ERROR);
  643|  20.1k|    if (index == DKIX_EMPTY) {
  ------------------
  |  |  184|  20.1k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (643:9): [True: 12, False: 20.1k]
  ------------------
  644|     12|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_IN_KEYS);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  645|     12|        return 0;
  646|     12|    }
  647|  20.1k|    assert(index >= 0);
  648|  20.1k|    assert(_PyObject_InlineValues(owner)->valid);
  649|  20.1k|    char *value_addr = (char *)&_PyObject_InlineValues(owner)->values[index];
  650|  20.1k|    Py_ssize_t offset = value_addr - (char *)owner;
  651|  20.1k|    if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (651:9): [True: 0, False: 20.1k]
  ------------------
  652|      0|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  653|      0|        return 0;
  654|      0|    }
  655|  20.1k|    cache->index = (uint16_t)offset;
  656|  20.1k|    write_u32(cache->version, tp_version);
  657|  20.1k|    specialize(instr, values_op);
  658|  20.1k|    return 1;
  659|  20.1k|}
specialize.c:specialize_dict_access_hint:
  666|    618|{
  667|    618|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  668|       |
  669|    618|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
  670|       |#ifdef Py_GIL_DISABLED
  671|       |    _PyDict_EnsureSharedOnRead(dict);
  672|       |#endif
  673|       |
  674|       |    // We found an instance with a __dict__.
  675|    618|    if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|    618|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 76, False: 542]
  |  |  ------------------
  ------------------
  676|     76|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_SPLIT_DICT);
  ------------------
  |  |   43|     76|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  677|     76|        return 0;
  678|     76|    }
  679|    542|    Py_ssize_t index = _PyDict_LookupIndex(dict, name);
  680|    542|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (680:9): [True: 360, False: 182]
  ------------------
  681|    360|        SPECIALIZATION_FAIL(base_op,
  ------------------
  |  |   43|    360|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  682|    360|                            index == DKIX_EMPTY ?
  683|    360|                            SPEC_FAIL_ATTR_NOT_IN_DICT :
  684|    360|                            SPEC_FAIL_OUT_OF_RANGE);
  685|    360|        return 0;
  686|    360|    }
  687|    182|    cache->index = (uint16_t)index;
  688|    182|    write_u32(cache->version, tp_version);
  689|    182|    specialize(instr, hint_op);
  690|    182|    return 1;
  691|    542|}
specialize.c:specialize_class_load_attr:
 1168|  2.83k|{
 1169|  2.83k|    assert(PyType_Check(owner));
 1170|  2.83k|    PyTypeObject *cls = (PyTypeObject *)owner;
 1171|  2.83k|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1172|  2.83k|    if (Py_TYPE(cls)->tp_getattro != _Py_type_getattro) {
  ------------------
  |  |  213|  2.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1172:9): [True: 0, False: 2.83k]
  ------------------
 1173|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1174|      0|        return -1;
 1175|      0|    }
 1176|  2.83k|    unsigned int meta_version = 0;
 1177|  2.83k|    PyObject *metadescriptor = _PyType_LookupRefAndVersion(Py_TYPE(cls), name, &meta_version);
  ------------------
  |  |  213|  2.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1178|  2.83k|    DescriptorClassification metakind = classify_descriptor(metadescriptor, false);
 1179|  2.83k|    Py_XDECREF(metadescriptor);
  ------------------
  |  |  524|  2.83k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1180|  2.83k|    switch (metakind) {
 1181|    105|        case METHOD:
  ------------------
  |  Branch (1181:9): [True: 105, False: 2.73k]
  ------------------
 1182|    156|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1182:9): [True: 51, False: 2.78k]
  ------------------
 1183|    180|        case NON_OVERRIDING:
  ------------------
  |  Branch (1183:9): [True: 24, False: 2.81k]
  ------------------
 1184|    180|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1184:9): [True: 0, False: 2.83k]
  ------------------
 1185|    180|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1185:9): [True: 0, False: 2.83k]
  ------------------
 1186|  2.56k|        case ABSENT:
  ------------------
  |  Branch (1186:9): [True: 2.38k, False: 448]
  ------------------
 1187|  2.56k|            break;
 1188|    268|        default:
  ------------------
  |  Branch (1188:9): [True: 268, False: 2.56k]
  ------------------
 1189|    268|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_ATTRIBUTE);
  ------------------
  |  |   43|    268|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1190|    268|            return -1;
 1191|  2.83k|    }
 1192|  2.56k|    PyObject *descr = NULL;
 1193|  2.56k|    DescriptorClassification kind = 0;
 1194|  2.56k|    unsigned int tp_version = 0;
 1195|  2.56k|    kind = analyze_descriptor_load(cls, name, &descr, &tp_version);
 1196|  2.56k|    if (tp_version == 0) {
  ------------------
  |  Branch (1196:9): [True: 0, False: 2.56k]
  ------------------
 1197|      0|        SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1198|      0|        Py_XDECREF(descr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1199|      0|        return -1;
 1200|      0|    }
 1201|  2.56k|    bool metaclass_check = false;
 1202|  2.56k|    if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  213|  2.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  500|  2.56k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1202:9): [True: 346, False: 2.22k]
  ------------------
 1203|    346|        metaclass_check = true;
 1204|    346|        if (meta_version == 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 346]
  ------------------
 1205|      0|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1206|      0|            Py_XDECREF(descr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|      0|            return -1;
 1208|      0|        }
 1209|    346|    }
 1210|  2.56k|    switch (kind) {
 1211|     99|        case MUTABLE:
  ------------------
  |  Branch (1211:9): [True: 99, False: 2.46k]
  ------------------
 1212|       |            // special case for enums which has Py_TYPE(descr) == cls
 1213|       |            // so guarding on type version is sufficient
 1214|     99|            if (Py_TYPE(descr) != cls) {
  ------------------
  |  |  213|     99|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1214:17): [True: 15, False: 84]
  ------------------
 1215|     15|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|     15|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1216|     15|                Py_XDECREF(descr);
  ------------------
  |  |  524|     15|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|     15|                return -1;
 1218|     15|            }
 1219|     84|            if (Py_TYPE(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|     84|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (Py_TYPE(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|     84|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1219:17): [True: 0, False: 84]
  |  Branch (1219:49): [True: 0, False: 84]
  ------------------
 1220|      0|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1221|      0|                Py_XDECREF(descr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      0|                return -1;
 1223|      0|            }
 1224|     84|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     84|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1225|    196|        case METHOD:
  ------------------
  |  Branch (1225:9): [True: 112, False: 2.45k]
  ------------------
 1226|  1.27k|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1226:9): [True: 1.08k, False: 1.48k]
  ------------------
 1227|       |#ifdef Py_GIL_DISABLED
 1228|       |            maybe_enable_deferred_ref_count(descr);
 1229|       |#endif
 1230|  1.27k|            write_ptr(cache->descr, descr);
 1231|  1.27k|            if (metaclass_check) {
  ------------------
  |  Branch (1231:17): [True: 278, False: 999]
  ------------------
 1232|    278|                write_u32(cache->keys_version, tp_version);
 1233|    278|                write_u32(cache->type_version, meta_version);
 1234|    278|                specialize(instr, LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  ------------------
  |  |  189|    278|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
 1235|    278|            }
 1236|    999|            else {
 1237|    999|                write_u32(cache->type_version, tp_version);
 1238|    999|                specialize(instr, LOAD_ATTR_CLASS);
  ------------------
  |  |  188|    999|#define LOAD_ATTR_CLASS                        183
  ------------------
 1239|    999|            }
 1240|  1.27k|            Py_XDECREF(descr);
  ------------------
  |  |  524|  1.27k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  1.27k|            return 0;
 1242|       |#ifdef Py_STATS
 1243|       |        case ABSENT:
 1244|       |            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR);
 1245|       |            Py_XDECREF(descr);
 1246|       |            return -1;
 1247|       |#endif
 1248|  1.27k|        default:
  ------------------
  |  Branch (1248:9): [True: 1.27k, False: 1.29k]
  ------------------
 1249|  1.27k|            SPECIALIZATION_FAIL(LOAD_ATTR, load_attr_fail_kind(kind));
  ------------------
  |  |   43|  1.27k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1250|  1.27k|            Py_XDECREF(descr);
  ------------------
  |  |  524|  1.27k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|  1.27k|            return -1;
 1252|  2.56k|    }
 1253|  2.56k|}
specialize.c:specialize_load_global_lock_held:
 1349|  6.69k|{
 1350|  6.69k|    assert(ENABLE_SPECIALIZATION);
 1351|  6.69k|    assert(_PyOpcode_Caches[LOAD_GLOBAL] == INLINE_CACHE_ENTRIES_LOAD_GLOBAL);
 1352|       |    /* Use inline cache */
 1353|  6.69k|    _PyLoadGlobalCache *cache = (_PyLoadGlobalCache *)(instr + 1);
 1354|  6.69k|    assert(PyUnicode_CheckExact(name));
 1355|  6.69k|    if (!PyDict_CheckExact(globals)) {
  ------------------
  |  |   19|  6.69k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  6.69k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1355:9): [True: 0, False: 6.69k]
  ------------------
 1356|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1357|      0|        goto fail;
 1358|      0|    }
 1359|  6.69k|    PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys;
 1360|  6.69k|    if (globals_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1360:9): [True: 0, False: 6.69k]
  ------------------
 1361|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_STRING_OR_SPLIT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1362|      0|        goto fail;
 1363|      0|    }
 1364|  6.69k|    PyObject *value;
 1365|  6.69k|    Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
 1366|  6.69k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  186|  6.69k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1366:9): [True: 0, False: 6.69k]
  ------------------
 1367|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1368|      0|        goto fail;
 1369|      0|    }
 1370|  6.69k|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  3.76k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  3.76k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1370:9): [True: 3.76k, False: 2.92k]
  ------------------
 1371|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_ATTR_MODULE_LAZY_VALUE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1372|      0|        goto fail;
 1373|      0|    }
 1374|  6.69k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1375|  6.69k|    if (index != DKIX_EMPTY) {
  ------------------
  |  |  184|  6.69k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1375:9): [True: 3.76k, False: 2.92k]
  ------------------
 1376|  3.76k|        if (index != (uint16_t)index) {
  ------------------
  |  Branch (1376:13): [True: 0, False: 3.76k]
  ------------------
 1377|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1378|      0|            goto fail;
 1379|      0|        }
 1380|  3.76k|        uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
 1381|  3.76k|                interp, (PyDictObject*) globals);
 1382|  3.76k|        if (keys_version == 0) {
  ------------------
  |  Branch (1382:13): [True: 0, False: 3.76k]
  ------------------
 1383|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1384|      0|            goto fail;
 1385|      0|        }
 1386|  3.76k|        if (keys_version != (uint16_t)keys_version) {
  ------------------
  |  Branch (1386:13): [True: 0, False: 3.76k]
  ------------------
 1387|      0|            SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1388|      0|            goto fail;
 1389|      0|        }
 1390|       |#ifdef Py_GIL_DISABLED
 1391|       |        maybe_enable_deferred_ref_count(value);
 1392|       |#endif
 1393|  3.76k|        cache->index = (uint16_t)index;
 1394|  3.76k|        cache->module_keys_version = (uint16_t)keys_version;
 1395|  3.76k|        specialize(instr, LOAD_GLOBAL_MODULE);
  ------------------
  |  |  202|  3.76k|#define LOAD_GLOBAL_MODULE                     197
  ------------------
 1396|  3.76k|        return;
 1397|  3.76k|    }
 1398|  2.92k|    if (!PyDict_CheckExact(builtins)) {
  ------------------
  |  |   19|  2.92k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  2.92k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1398:9): [True: 0, False: 2.92k]
  ------------------
 1399|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_DICT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1400|      0|        goto fail;
 1401|      0|    }
 1402|  2.92k|    PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys;
 1403|  2.92k|    if (builtin_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 2.92k]
  ------------------
 1404|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_LOAD_GLOBAL_NON_STRING_OR_SPLIT);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1405|      0|        goto fail;
 1406|      0|    }
 1407|  2.92k|    index = _PyDictKeys_StringLookup(builtin_keys, name);
 1408|  2.92k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  186|  2.92k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1408:9): [True: 0, False: 2.92k]
  ------------------
 1409|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1410|      0|        goto fail;
 1411|      0|    }
 1412|  2.92k|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 2.92k]
  ------------------
 1413|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1414|      0|        goto fail;
 1415|      0|    }
 1416|  2.92k|    uint32_t globals_version = _PyDict_GetKeysVersionForCurrentState(
 1417|  2.92k|            interp, (PyDictObject*) globals);
 1418|  2.92k|    if (globals_version == 0) {
  ------------------
  |  Branch (1418:9): [True: 0, False: 2.92k]
  ------------------
 1419|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1420|      0|        goto fail;
 1421|      0|    }
 1422|  2.92k|    if (globals_version != (uint16_t)globals_version) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 2.92k]
  ------------------
 1423|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1424|      0|        goto fail;
 1425|      0|    }
 1426|  2.92k|    uint32_t builtins_version = _PyDict_GetKeysVersionForCurrentState(
 1427|  2.92k|            interp, (PyDictObject*) builtins);
 1428|  2.92k|    if (builtins_version == 0) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 2.92k]
  ------------------
 1429|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1430|      0|        goto fail;
 1431|      0|    }
 1432|  2.92k|    if (builtins_version > UINT16_MAX) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 2.92k]
  ------------------
 1433|      0|        SPECIALIZATION_FAIL(LOAD_GLOBAL, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1434|      0|        goto fail;
 1435|      0|    }
 1436|  2.92k|    cache->index = (uint16_t)index;
 1437|  2.92k|    cache->module_keys_version = (uint16_t)globals_version;
 1438|  2.92k|    cache->builtin_keys_version = (uint16_t)builtins_version;
 1439|  2.92k|    specialize(instr, LOAD_GLOBAL_BUILTIN);
  ------------------
  |  |  201|  2.92k|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
 1440|  2.92k|    return;
 1441|      0|fail:
 1442|      0|    unspecialize(instr);
 1443|      0|}
specialize.c:specialize_c_call:
 1812|   157k|{
 1813|   157k|    if (PyCFunction_GET_FUNCTION(callable) == NULL) {
  ------------------
  |  |   43|   157k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1813:9): [True: 0, False: 157k]
  ------------------
 1814|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1815|      0|        return 1;
 1816|      0|    }
 1817|   157k|    switch (PyCFunction_GET_FLAGS(callable) &
  ------------------
  |  |   57|   157k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1818|   157k|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|   157k|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|   157k|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|   157k|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|   157k|#define METH_O        0x0008
  ------------------
 1819|   157k|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|   157k|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|   157k|#define METH_METHOD 0x0200
  ------------------
 1820|  1.04k|        case METH_O: {
  ------------------
  |  |   99|  1.04k|#define METH_O        0x0008
  ------------------
  |  Branch (1820:9): [True: 1.04k, False: 156k]
  ------------------
 1821|  1.04k|            if (nargs != 1) {
  ------------------
  |  Branch (1821:17): [True: 0, False: 1.04k]
  ------------------
 1822|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1823|      0|                return 1;
 1824|      0|            }
 1825|       |            /* len(o) */
 1826|  1.04k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1827|  1.04k|            if (callable == interp->callable_cache.len && instr->op.arg == 1) {
  ------------------
  |  Branch (1827:17): [True: 331, False: 710]
  |  Branch (1827:59): [True: 331, False: 0]
  ------------------
 1828|    331|                specialize(instr, CALL_LEN);
  ------------------
  |  |  162|    331|#define CALL_LEN                               157
  ------------------
 1829|    331|                return 0;
 1830|    331|            }
 1831|    710|            specialize(instr, CALL_BUILTIN_O);
  ------------------
  |  |  155|    710|#define CALL_BUILTIN_O                         150
  ------------------
 1832|    710|            return 0;
 1833|  1.04k|        }
 1834|    917|        case METH_FASTCALL: {
  ------------------
  |  |  115|    917|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1834:9): [True: 917, False: 156k]
  ------------------
 1835|    917|            if (nargs == 2) {
  ------------------
  |  Branch (1835:17): [True: 687, False: 230]
  ------------------
 1836|       |                /* isinstance(o1, o2) */
 1837|    687|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1838|    687|                if (callable == interp->callable_cache.isinstance && instr->op.arg == 2) {
  ------------------
  |  Branch (1838:21): [True: 448, False: 239]
  |  Branch (1838:70): [True: 448, False: 0]
  ------------------
 1839|    448|                    specialize(instr, CALL_ISINSTANCE);
  ------------------
  |  |  158|    448|#define CALL_ISINSTANCE                        153
  ------------------
 1840|    448|                    return 0;
 1841|    448|                }
 1842|    687|            }
 1843|    469|            specialize(instr, CALL_BUILTIN_FAST);
  ------------------
  |  |  153|    469|#define CALL_BUILTIN_FAST                      148
  ------------------
 1844|    469|            return 0;
 1845|    917|        }
 1846|   155k|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|   155k|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|   155k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1846:9): [True: 155k, False: 2.02k]
  ------------------
 1847|   155k|            specialize(instr, CALL_BUILTIN_FAST_WITH_KEYWORDS);
  ------------------
  |  |  154|   155k|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
 1848|   155k|            return 0;
 1849|    917|        }
 1850|     68|        default:
  ------------------
  |  Branch (1850:9): [True: 68, False: 157k]
  ------------------
 1851|     68|            specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|     68|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1852|     68|            return 0;
 1853|   157k|    }
 1854|   157k|}
specialize.c:specialize_py_call:
 1740|  10.1k|{
 1741|  10.1k|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1742|  10.1k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1743|  10.1k|    int kind = function_kind(code);
 1744|       |    /* Don't specialize if PEP 523 is active */
 1745|  10.1k|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1745:9): [True: 0, False: 10.1k]
  ------------------
 1746|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1747|      0|        return -1;
 1748|      0|    }
 1749|  10.1k|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 10.1k]
  ------------------
 1750|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1751|      0|        return -1;
 1752|      0|    }
 1753|  10.1k|    int argcount = -1;
 1754|  10.1k|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  136|  10.1k|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1754:9): [True: 0, False: 10.1k]
  ------------------
 1755|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1756|      0|        return -1;
 1757|      0|    }
 1758|  10.1k|    if (kind == SIMPLE_FUNCTION) {
  ------------------
  |  |  124|  10.1k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1758:9): [True: 9.92k, False: 176]
  ------------------
 1759|  9.92k|        argcount = code->co_argcount;
 1760|  9.92k|    }
 1761|  10.1k|    int version = _PyFunction_GetVersionForCurrentState(func);
 1762|  10.1k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1762:9): [True: 37, False: 10.0k]
  ------------------
 1763|     37|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|     37|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1764|     37|        return -1;
 1765|     37|    }
 1766|  10.0k|    write_u32(cache->func_version, version);
 1767|  10.0k|    uint8_t opcode;
 1768|  10.0k|    if (argcount == nargs + bound_method) {
  ------------------
  |  Branch (1768:9): [True: 9.80k, False: 263]
  ------------------
 1769|  9.80k|        opcode =
 1770|  9.80k|            bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  150|  1.77k|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
                          bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  169|  17.8k|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (1770:13): [True: 1.77k, False: 8.02k]
  ------------------
 1771|  9.80k|    }
 1772|    263|    else {
 1773|    263|        opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  151|     23|#define CALL_BOUND_METHOD_GENERAL              146
  ------------------
                      opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  170|    503|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (1773:18): [True: 23, False: 240]
  ------------------
 1774|    263|    }
 1775|  10.0k|    specialize(instr, opcode);
 1776|  10.0k|    return 0;
 1777|  10.1k|}
specialize.c:specialize_class_call:
 1640|    678|{
 1641|    678|    assert(PyType_Check(callable));
 1642|    678|    PyTypeObject *tp = _PyType_CAST(callable);
  ------------------
  |  |  770|    678|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    678|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1643|    678|    if (tp->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    678|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1643:9): [True: 528, False: 150]
  ------------------
 1644|    528|        int oparg = instr->op.arg;
 1645|    528|        if (nargs == 1 && oparg == 1) {
  ------------------
  |  Branch (1645:13): [True: 355, False: 173]
  |  Branch (1645:27): [True: 353, False: 2]
  ------------------
 1646|    353|            if (tp == &PyUnicode_Type) {
  ------------------
  |  Branch (1646:17): [True: 23, False: 330]
  ------------------
 1647|     23|                specialize(instr, CALL_STR_1);
  ------------------
  |  |  171|     23|#define CALL_STR_1                             166
  ------------------
 1648|     23|                return 0;
 1649|     23|            }
 1650|    330|            else if (tp == &PyType_Type) {
  ------------------
  |  Branch (1650:22): [True: 53, False: 277]
  ------------------
 1651|     53|                specialize(instr, CALL_TYPE_1);
  ------------------
  |  |  173|     53|#define CALL_TYPE_1                            168
  ------------------
 1652|     53|                return 0;
 1653|     53|            }
 1654|    277|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (1654:22): [True: 38, False: 239]
  ------------------
 1655|     38|                specialize(instr, CALL_TUPLE_1);
  ------------------
  |  |  172|     38|#define CALL_TUPLE_1                           167
  ------------------
 1656|     38|                return 0;
 1657|     38|            }
 1658|    353|        }
 1659|    414|        if (tp->tp_vectorcall != NULL) {
  ------------------
  |  Branch (1659:13): [True: 286, False: 128]
  ------------------
 1660|    286|            specialize(instr, CALL_BUILTIN_CLASS);
  ------------------
  |  |  152|    286|#define CALL_BUILTIN_CLASS                     147
  ------------------
 1661|    286|            return 0;
 1662|    286|        }
 1663|    128|        goto generic;
 1664|    414|    }
 1665|    150|    if (Py_TYPE(tp) != &PyType_Type) {
  ------------------
  |  |  213|    150|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1665:9): [True: 27, False: 123]
  ------------------
 1666|     27|        goto generic;
 1667|     27|    }
 1668|    123|    if (tp->tp_new == PyBaseObject_Type.tp_new) {
  ------------------
  |  Branch (1668:9): [True: 95, False: 28]
  ------------------
 1669|     95|        unsigned int tp_version = 0;
 1670|     95|        PyObject *init = get_init_for_simple_managed_python_class(tp, &tp_version);
 1671|     95|        if (!tp_version) {
  ------------------
  |  Branch (1671:13): [True: 0, False: 95]
  ------------------
 1672|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1673|      0|            Py_XDECREF(init);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|      0|            return -1;
 1675|      0|        }
 1676|     95|        if (init != NULL && _PyType_CacheInitForSpecialization(
  ------------------
  |  Branch (1676:13): [True: 73, False: 22]
  |  Branch (1676:29): [True: 73, False: 0]
  ------------------
 1677|     73|                                (PyHeapTypeObject *)tp, init, tp_version)) {
 1678|     73|            _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1679|     73|            write_u32(cache->func_version, tp_version);
 1680|     73|            specialize(instr, CALL_ALLOC_AND_ENTER_INIT);
  ------------------
  |  |  149|     73|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
 1681|     73|            Py_DECREF(init);
  ------------------
  |  |  430|     73|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     73|            return 0;
 1683|     73|        }
 1684|     22|        Py_XDECREF(init);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|     22|    }
 1686|    205|generic:
 1687|    205|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|    205|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1688|    205|    return 0;
 1689|    123|}
specialize.c:get_init_for_simple_managed_python_class:
 1611|     95|{
 1612|     95|    assert(tp->tp_new == PyBaseObject_Type.tp_new);
 1613|     95|    if (tp->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 95]
  ------------------
 1614|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1615|      0|        return NULL;
 1616|      0|    }
 1617|     95|    unsigned long tp_flags = PyType_GetFlags(tp);
 1618|     95|    if (!(tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     95|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1618:9): [True: 0, False: 95]
  ------------------
 1619|       |        /* Is this possible? */
 1620|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1621|      0|        return NULL;
 1622|      0|    }
 1623|     95|    PyObject *init = _PyType_LookupRefAndVersion(tp, &_Py_ID(__init__), tp_version);
  ------------------
  |  |  919|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|     95|    if (init == NULL || !PyFunction_Check(init)) {
  ------------------
  |  |   68|     95|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     95|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1624:9): [True: 0, False: 95]
  |  Branch (1624:25): [True: 12, False: 83]
  ------------------
 1625|     12|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_PYTHON);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1626|     12|        Py_XDECREF(init);
  ------------------
  |  |  524|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1627|     12|        return NULL;
 1628|     12|    }
 1629|     83|    int kind = function_kind((PyCodeObject *)PyFunction_GET_CODE(init));
  ------------------
  |  |   93|     83|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|     83|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  124|     83|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1630:9): [True: 10, False: 73]
  ------------------
 1631|     10|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_SIMPLE);
  ------------------
  |  |   43|     10|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1632|     10|        Py_DECREF(init);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|     10|        return NULL;
 1634|     10|    }
 1635|     73|    return init;
 1636|     83|}
specialize.c:specialize_method_descriptor:
 1694|  1.75k|{
 1695|  1.75k|    switch (descr->d_method->ml_flags &
  ------------------
  |  Branch (1695:13): [True: 1.69k, False: 59]
  ------------------
 1696|  1.75k|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|  1.75k|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|  1.75k|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|  1.75k|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|  1.75k|#define METH_O        0x0008
  ------------------
 1697|  1.75k|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|  1.75k|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|  1.75k|#define METH_METHOD 0x0200
  ------------------
 1698|    487|        case METH_NOARGS: {
  ------------------
  |  |   98|    487|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (1698:9): [True: 487, False: 1.26k]
  ------------------
 1699|    487|            if (nargs != 1) {
  ------------------
  |  Branch (1699:17): [True: 0, False: 487]
  ------------------
 1700|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1701|      0|                return -1;
 1702|      0|            }
 1703|    487|            specialize(instr, CALL_METHOD_DESCRIPTOR_NOARGS);
  ------------------
  |  |  166|    487|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
 1704|    487|            return 0;
 1705|    487|        }
 1706|    489|        case METH_O: {
  ------------------
  |  |   99|    489|#define METH_O        0x0008
  ------------------
  |  Branch (1706:9): [True: 489, False: 1.26k]
  ------------------
 1707|    489|            if (nargs != 2) {
  ------------------
  |  Branch (1707:17): [True: 0, False: 489]
  ------------------
 1708|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1709|      0|                return -1;
 1710|      0|            }
 1711|    489|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1712|    489|            PyObject *list_append = interp->callable_cache.list_append;
 1713|    489|            int oparg = instr->op.arg;
 1714|    489|            if ((PyObject *)descr == list_append && oparg == 1) {
  ------------------
  |  Branch (1714:17): [True: 195, False: 294]
  |  Branch (1714:53): [True: 195, False: 0]
  ------------------
 1715|    195|                assert(self_or_null != NULL);
 1716|    195|                if (PyList_CheckExact(self_or_null)) {
  ------------------
  |  |   26|    195|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    195|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 163, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|    163|                    specialize(instr, CALL_LIST_APPEND);
  ------------------
  |  |  163|    163|#define CALL_LIST_APPEND                       158
  ------------------
 1718|    163|                    return 0;
 1719|    163|                }
 1720|    195|            }
 1721|    326|            specialize(instr, CALL_METHOD_DESCRIPTOR_O);
  ------------------
  |  |  167|    326|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
 1722|    326|            return 0;
 1723|    489|        }
 1724|    634|        case METH_FASTCALL: {
  ------------------
  |  |  115|    634|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1724:9): [True: 634, False: 1.12k]
  ------------------
 1725|    634|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST);
  ------------------
  |  |  164|    634|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
 1726|    634|            return 0;
 1727|    489|        }
 1728|     87|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     87|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     87|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1728:9): [True: 87, False: 1.66k]
  ------------------
 1729|     87|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  ------------------
  |  |  165|     87|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
 1730|     87|            return 0;
 1731|    489|        }
 1732|  1.75k|    }
 1733|     59|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|     59|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1734|     59|    return 0;
 1735|  1.75k|}
specialize.c:specialize_py_call_kw:
 1783|  2.23k|{
 1784|  2.23k|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1785|  2.23k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1786|  2.23k|    int kind = function_kind(code);
 1787|       |    /* Don't specialize if PEP 523 is active */
 1788|  2.23k|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1788:9): [True: 0, False: 2.23k]
  ------------------
 1789|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1790|      0|        return -1;
 1791|      0|    }
 1792|  2.23k|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1792:9): [True: 0, False: 2.23k]
  ------------------
 1793|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1794|      0|        return -1;
 1795|      0|    }
 1796|  2.23k|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  136|  2.23k|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1796:9): [True: 0, False: 2.23k]
  ------------------
 1797|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1798|      0|        return -1;
 1799|      0|    }
 1800|  2.23k|    int version = _PyFunction_GetVersionForCurrentState(func);
 1801|  2.23k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1801:9): [True: 44, False: 2.18k]
  ------------------
 1802|     44|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|     44|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1803|     44|        return -1;
 1804|     44|    }
 1805|  2.18k|    write_u32(cache->func_version, version);
 1806|  2.18k|    specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  159|  2.00k|#define CALL_KW_BOUND_METHOD                   154
  ------------------
                  specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  161|  2.37k|#define CALL_KW_PY                             156
  ------------------
  |  Branch (1806:23): [True: 2.00k, False: 183]
  ------------------
 1807|  2.18k|    return 0;
 1808|  2.23k|}
specialize.c:function_kind:
 1456|  19.7k|function_kind(PyCodeObject *code) {
 1457|  19.7k|    int flags = code->co_flags;
 1458|  19.7k|    if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  121|  19.7k|#define CO_VARKEYWORDS  0x0008
  ------------------
                  if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  120|  19.7k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1458:9): [True: 124, False: 19.6k]
  |  Branch (1458:52): [True: 2.24k, False: 17.4k]
  ------------------
 1459|  2.36k|        return SPEC_FAIL_CODE_COMPLEX_PARAMETERS;
  ------------------
  |  |  135|  2.36k|#define SPEC_FAIL_CODE_COMPLEX_PARAMETERS 7
  ------------------
 1460|  2.36k|    }
 1461|  17.4k|    if ((flags & CO_OPTIMIZED) == 0) {
  ------------------
  |  |  118|  17.4k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1461:9): [True: 0, False: 17.4k]
  ------------------
 1462|      0|        return SPEC_FAIL_CODE_NOT_OPTIMIZED;
  ------------------
  |  |  136|      0|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
 1463|      0|    }
 1464|  17.4k|    return SIMPLE_FUNCTION;
  ------------------
  |  |  124|  17.4k|#define SIMPLE_FUNCTION 0
  ------------------
 1465|  17.4k|}
specialize.c:binary_op_extended_specialization:
 2305|  5.98k|{
 2306|  5.98k|    size_t n = sizeof(binaryop_extend_descrs)/sizeof(_PyBinaryOpSpecializationDescr);
 2307|   236k|    for (size_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2307:24): [True: 230k, False: 5.71k]
  ------------------
 2308|   230k|        _PyBinaryOpSpecializationDescr *d = &binaryop_extend_descrs[i];
 2309|   230k|        if (d->oparg != oparg) {
  ------------------
  |  Branch (2309:13): [True: 225k, False: 5.46k]
  ------------------
 2310|   225k|            continue;
 2311|   225k|        }
 2312|  5.46k|        int match = (d->guard != NULL)
  ------------------
  |  Branch (2312:21): [True: 3.93k, False: 1.53k]
  ------------------
 2313|  5.46k|            ? d->guard(lhs, rhs)
 2314|  5.46k|            : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|  1.53k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|     82|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2314:16): [True: 82, False: 1.45k]
  |  Branch (2314:47): [True: 50, False: 32]
  ------------------
 2315|  5.46k|        if (match) {
  ------------------
  |  Branch (2315:13): [True: 274, False: 5.19k]
  ------------------
 2316|    274|            *descr = d;
 2317|    274|            return 1;
 2318|    274|        }
 2319|  5.46k|    }
 2320|  5.71k|    return 0;
 2321|  5.98k|}
specialize.c:compactlongs_guard:
 2147|  8.23M|{
 2148|  8.23M|    return (is_compactlong(lhs) && is_compactlong(rhs));
  ------------------
  |  Branch (2148:13): [True: 8.22M, False: 3.38k]
  |  Branch (2148:36): [True: 8.22M, False: 22]
  ------------------
 2149|  8.23M|}
specialize.c:is_compactlong:
 2122|  16.4M|{
 2123|  16.4M|    return PyLong_CheckExact(v) &&
  ------------------
  |  |   14|  16.4M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  32.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16.4M, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|  16.4M|           _PyLong_IsCompact((PyLongObject *)v);
  ------------------
  |  Branch (2124:12): [True: 16.4M, False: 3.29k]
  ------------------
 2125|  16.4M|}
specialize.c:compactlongs_or:
 2154|   125k|    { \
 2155|   125k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2156|   125k|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2157|   125k|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2158|   125k|    }
specialize.c:compactlongs_and:
 2154|  8.10M|    { \
 2155|  8.10M|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2156|  8.10M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2157|  8.10M|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2158|  8.10M|    }
specialize.c:compactlongs_xor:
 2154|     28|    { \
 2155|     28|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2156|     28|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2157|     28|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2158|     28|    }
specialize.c:float_compactlong_guard:
 2168|   100k|{
 2169|   100k|    return (
 2170|   100k|        PyFloat_CheckExact(lhs) &&
  ------------------
  |  |   17|   100k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   200k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 98.4k, False: 1.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|  98.4k|        !isnan(PyFloat_AS_DOUBLE(lhs)) &&
  ------------------
  |  Branch (2171:9): [True: 98.4k, False: 0]
  ------------------
 2172|   100k|        PyLong_CheckExact(rhs) &&
  ------------------
  |  |   14|  98.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   198k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  98.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  98.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 98.4k, False: 58]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|  98.4k|        _PyLong_IsCompact((PyLongObject *)rhs)
  ------------------
  |  Branch (2173:9): [True: 98.3k, False: 4]
  ------------------
 2174|   100k|    );
 2175|   100k|}
specialize.c:float_compactlong_subtract:
 2188|     70|    { \
 2189|     70|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   18|     70|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2190|     70|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2191|     70|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2192|     70|    }
specialize.c:nonzero_float_compactlong_guard:
 2179|     36|{
 2180|     36|    return (
 2181|     36|        float_compactlong_guard(lhs, rhs) && !_PyLong_IsZero((PyLongObject*)rhs)
  ------------------
  |  Branch (2181:9): [True: 29, False: 7]
  |  Branch (2181:46): [True: 29, False: 0]
  ------------------
 2182|     36|    );
 2183|     36|}
specialize.c:float_compactlong_true_div:
 2188|     21|    { \
 2189|     21|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   18|     21|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2190|     21|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2191|     21|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2192|     21|    }
specialize.c:float_compactlong_multiply:
 2188|  98.2k|    { \
 2189|  98.2k|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   18|  98.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  98.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2190|  98.2k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2191|  98.2k|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2192|  98.2k|    }
specialize.c:compactlong_float_guard:
 2203|  2.28M|{
 2204|  2.28M|    return (
 2205|  2.28M|        PyLong_CheckExact(lhs) &&
  ------------------
  |  |   14|  2.28M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  4.56M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.28M, False: 1.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2206|  2.28M|        _PyLong_IsCompact((PyLongObject *)lhs) &&
  ------------------
  |  Branch (2206:9): [True: 2.28M, False: 522]
  ------------------
 2207|  2.28M|        PyFloat_CheckExact(rhs) &&
  ------------------
  |  |   17|  2.28M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  4.56M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.28M, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2208|  2.28M|        !isnan(PyFloat_AS_DOUBLE(rhs))
  ------------------
  |  Branch (2208:9): [True: 2.28M, False: 0]
  ------------------
 2209|  2.28M|    );
 2210|  2.28M|}
specialize.c:compactlong_float_add:
 2223|      2|    { \
 2224|      2|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|      2|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|      2|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2226|      2|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2227|      2|    }
specialize.c:compactlong_float_subtract:
 2223|  1.14M|    { \
 2224|  1.14M|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|  1.14M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|  1.14M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2226|  1.14M|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2227|  1.14M|    }
specialize.c:nonzero_compactlong_float_guard:
 2214|      7|{
 2215|      7|    return (
 2216|      7|        compactlong_float_guard(lhs, rhs) && PyFloat_AS_DOUBLE(rhs) != 0.0
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2216:9): [True: 0, False: 7]
  |  Branch (2216:46): [True: 0, False: 0]
  ------------------
 2217|      7|    );
 2218|      7|}
specialize.c:compactlong_float_multiply:
 2223|  1.14M|    { \
 2224|  1.14M|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|  1.14M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|  1.14M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2226|  1.14M|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2227|  1.14M|    }
specialize.c:check_type_always_true:
 2807|     65|{
 2808|     65|    PyNumberMethods *nb = ty->tp_as_number;
 2809|     65|    if (nb && nb->nb_bool) {
  ------------------
  |  Branch (2809:9): [True: 65, False: 0]
  |  Branch (2809:15): [True: 10, False: 55]
  ------------------
 2810|     10|        return SPEC_FAIL_TO_BOOL_NUMBER;
  ------------------
  |  |  313|     10|#define SPEC_FAIL_TO_BOOL_NUMBER      15
  ------------------
 2811|     10|    }
 2812|     55|    PyMappingMethods *mp = ty->tp_as_mapping;
 2813|     55|    if (mp && mp->mp_length) {
  ------------------
  |  Branch (2813:9): [True: 55, False: 0]
  |  Branch (2813:15): [True: 30, False: 25]
  ------------------
 2814|     30|        return SPEC_FAIL_TO_BOOL_MAPPING;
  ------------------
  |  |  311|     30|#define SPEC_FAIL_TO_BOOL_MAPPING     13
  ------------------
 2815|     30|    }
 2816|     25|    PySequenceMethods *sq = ty->tp_as_sequence;
 2817|     25|    if (sq && sq->sq_length) {
  ------------------
  |  Branch (2817:9): [True: 25, False: 0]
  |  Branch (2817:15): [True: 6, False: 19]
  ------------------
 2818|      6|      return SPEC_FAIL_TO_BOOL_SEQUENCE;
  ------------------
  |  |  314|      6|#define SPEC_FAIL_TO_BOOL_SEQUENCE    16
  ------------------
 2819|      6|    }
 2820|     19|    return 0;
 2821|     25|}
specialize.c:set_counter:
  347|   516k|{
  348|   516k|    FT_ATOMIC_STORE_UINT16_RELAXED(counter->value_and_backoff,
  ------------------
  |  |  171|   516k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  ------------------
  349|   516k|                                   value.value_and_backoff);
  350|   516k|}

_PyMember_GetOffset:
   26|  7.48M|{
   27|  7.48M|    unsigned char *addr = (unsigned char *)obj + mp->offset;
   28|  7.48M|    if (mp->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|  7.48M|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (28:9): [True: 0, False: 7.48M]
  ------------------
   29|      0|        PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|      0|        addr += _Py_SIZE_ROUND_UP(Py_SIZE(obj) * type->tp_itemsize, SIZEOF_VOID_P);
  ------------------
  |  |  213|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
   31|      0|    }
   32|  7.48M|    return addr;
   33|  7.48M|}
PyMember_GetOne:
   37|   439k|{
   38|   439k|    PyObject *v;
   39|   439k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|   439k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (39:9): [True: 0, False: 439k]
  ------------------
   40|      0|        PyErr_SetString(
   41|      0|            PyExc_SystemError,
   42|      0|            "PyMember_GetOne used with Py_RELATIVE_OFFSET");
   43|      0|        return NULL;
   44|      0|    }
   45|       |
   46|   439k|    const void *addr = _PyMember_GetOffset((PyObject *)obj_addr, l);
   47|   439k|    switch (l->type) {
   48|     12|    case Py_T_BOOL:
  ------------------
  |  |   73|     12|#define Py_T_BOOL      14
  ------------------
  |  Branch (48:5): [True: 12, False: 439k]
  ------------------
   49|     12|        v = PyBool_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  176|     12|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   50|     12|        break;
   51|      0|    case Py_T_BYTE:
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (51:5): [True: 0, False: 439k]
  ------------------
   52|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  176|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   53|      0|        break;
   54|      0|    case Py_T_UBYTE:
  ------------------
  |  |   64|      0|#define Py_T_UBYTE     9
  ------------------
  |  Branch (54:5): [True: 0, False: 439k]
  ------------------
   55|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UCHAR_RELAXED(*(unsigned char*)addr));
  ------------------
  |  |  178|      0|#define FT_ATOMIC_LOAD_UCHAR_RELAXED(value) value
  ------------------
   56|      0|        break;
   57|      0|    case Py_T_SHORT:
  ------------------
  |  |   53|      0|#define Py_T_SHORT     0
  ------------------
  |  Branch (57:5): [True: 0, False: 439k]
  ------------------
   58|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_SHORT_RELAXED(*(short*)addr));
  ------------------
  |  |  180|      0|#define FT_ATOMIC_LOAD_SHORT_RELAXED(value) value
  ------------------
   59|      0|        break;
   60|      0|    case Py_T_USHORT:
  ------------------
  |  |   65|      0|#define Py_T_USHORT    10
  ------------------
  |  Branch (60:5): [True: 0, False: 439k]
  ------------------
   61|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_USHORT_RELAXED(*(unsigned short*)addr));
  ------------------
  |  |  182|      0|#define FT_ATOMIC_LOAD_USHORT_RELAXED(value) value
  ------------------
   62|      0|        break;
   63|   238k|    case Py_T_INT:
  ------------------
  |  |   54|   238k|#define Py_T_INT       1
  ------------------
  |  Branch (63:5): [True: 238k, False: 201k]
  ------------------
   64|   238k|        v = PyLong_FromLong(FT_ATOMIC_LOAD_INT_RELAXED(*(int*)addr));
  ------------------
  |  |  186|   238k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
   65|   238k|        break;
   66|      0|    case Py_T_UINT:
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (66:5): [True: 0, False: 439k]
  ------------------
   67|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UINT_RELAXED(*(unsigned int*)addr));
  ------------------
  |  |  189|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
   68|      0|        break;
   69|      0|    case Py_T_LONG:
  ------------------
  |  |   55|      0|#define Py_T_LONG      2
  ------------------
  |  Branch (69:5): [True: 0, False: 439k]
  ------------------
   70|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_LONG_RELAXED(*(long*)addr));
  ------------------
  |  |  191|      0|#define FT_ATOMIC_LOAD_LONG_RELAXED(value) value
  ------------------
   71|      0|        break;
   72|      0|    case Py_T_ULONG:
  ------------------
  |  |   67|      0|#define Py_T_ULONG     12
  ------------------
  |  Branch (72:5): [True: 0, False: 439k]
  ------------------
   73|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_ULONG_RELAXED(*(unsigned long*)addr));
  ------------------
  |  |  162|      0|#define FT_ATOMIC_LOAD_ULONG_RELAXED(value) value
  ------------------
   74|      0|        break;
   75|      4|    case Py_T_PYSSIZET:
  ------------------
  |  |   79|      4|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (75:5): [True: 4, False: 439k]
  ------------------
   76|      4|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  149|      4|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   77|      4|        break;
   78|      0|    case Py_T_FLOAT:
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (78:5): [True: 0, False: 439k]
  ------------------
   79|      0|        v = PyFloat_FromDouble((double)FT_ATOMIC_LOAD_FLOAT_RELAXED(*(float*)addr));
  ------------------
  |  |  195|      0|#define FT_ATOMIC_LOAD_FLOAT_RELAXED(value) value
  ------------------
   80|      0|        break;
   81|      0|    case Py_T_DOUBLE:
  ------------------
  |  |   57|      0|#define Py_T_DOUBLE    4
  ------------------
  |  Branch (81:5): [True: 0, False: 439k]
  ------------------
   82|      0|        v = PyFloat_FromDouble(FT_ATOMIC_LOAD_DOUBLE_RELAXED(*(double*)addr));
  ------------------
  |  |  197|      0|#define FT_ATOMIC_LOAD_DOUBLE_RELAXED(value) value
  ------------------
   83|      0|        break;
   84|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (84:5): [True: 0, False: 439k]
  ------------------
   85|      0|        if (*(char**)addr == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 0]
  ------------------
   86|      0|            v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|      0|        }
   88|      0|        else
   89|      0|            v = PyUnicode_FromString(*(char**)addr);
   90|      0|        break;
   91|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (91:5): [True: 0, False: 439k]
  ------------------
   92|      0|        v = PyUnicode_FromString((char*)addr);
   93|      0|        break;
   94|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (94:5): [True: 0, False: 439k]
  ------------------
   95|      0|        char char_val = FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr);
  ------------------
  |  |  176|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   96|      0|        v = PyUnicode_FromStringAndSize(&char_val, 1);
   97|      0|        break;
   98|      0|    }
   99|  35.3k|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  35.3k|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (99:5): [True: 35.3k, False: 404k]
  ------------------
  100|  35.3k|        v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  145|  35.3k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  101|  35.3k|        if (v != NULL) {
  ------------------
  |  Branch (101:13): [True: 35.2k, False: 24]
  ------------------
  102|       |#ifdef Py_GIL_DISABLED
  103|       |            if (!_Py_TryIncrefCompare((PyObject **) addr, v)) {
  104|       |                Py_BEGIN_CRITICAL_SECTION((PyObject *) obj_addr);
  105|       |                v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  106|       |                Py_XINCREF(v);
  107|       |                Py_END_CRITICAL_SECTION();
  108|       |            }
  109|       |#else
  110|  35.2k|            Py_INCREF(v);
  ------------------
  |  |  310|  35.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|  35.2k|#endif
  112|  35.2k|        }
  113|  35.3k|        if (v == NULL) {
  ------------------
  |  Branch (113:13): [True: 24, False: 35.2k]
  ------------------
  114|     24|            v = Py_None;
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  115|     24|        }
  116|  35.3k|        break;
  117|   165k|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|   165k|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (117:5): [True: 165k, False: 273k]
  ------------------
  118|   165k|        v = member_get_object(addr, obj_addr, l);
  119|   165k|#ifndef Py_GIL_DISABLED
  120|   165k|        Py_XINCREF(v);
  ------------------
  |  |  514|   165k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   165k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   165k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|       |#else
  122|       |        if (v != NULL) {
  123|       |            if (!_Py_TryIncrefCompare((PyObject **) addr, v)) {
  124|       |                Py_BEGIN_CRITICAL_SECTION((PyObject *) obj_addr);
  125|       |                v = member_get_object(addr, obj_addr, l);
  126|       |                Py_XINCREF(v);
  127|       |                Py_END_CRITICAL_SECTION();
  128|       |            }
  129|       |        }
  130|       |#endif
  131|   165k|        break;
  132|      0|    case Py_T_LONGLONG:
  ------------------
  |  |   76|      0|#define Py_T_LONGLONG  17
  ------------------
  |  Branch (132:5): [True: 0, False: 439k]
  ------------------
  133|      0|        v = PyLong_FromLongLong(FT_ATOMIC_LOAD_LLONG_RELAXED(*(long long *)addr));
  ------------------
  |  |  199|      0|#define FT_ATOMIC_LOAD_LLONG_RELAXED(value) value
  ------------------
  134|      0|        break;
  135|      0|    case Py_T_ULONGLONG:
  ------------------
  |  |   77|      0|#define Py_T_ULONGLONG 18
  ------------------
  |  Branch (135:5): [True: 0, False: 439k]
  ------------------
  136|      0|        v = PyLong_FromUnsignedLongLong(FT_ATOMIC_LOAD_ULLONG_RELAXED(*(unsigned long long *)addr));
  ------------------
  |  |  201|      0|#define FT_ATOMIC_LOAD_ULLONG_RELAXED(value) value
  ------------------
  137|      0|        break;
  138|      0|    case _Py_T_NONE:
  ------------------
  |  |   80|      0|#define _Py_T_NONE     20 // Deprecated. Value is always None.
  ------------------
  |  Branch (138:5): [True: 0, False: 439k]
  ------------------
  139|       |        // doesn't require free-threading code path
  140|      0|        v = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|      0|        break;
  142|      0|    default:
  ------------------
  |  Branch (142:5): [True: 0, False: 439k]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "bad memberdescr type");
  144|      0|        v = NULL;
  145|   439k|    }
  146|   439k|    return v;
  147|   439k|}
PyMember_SetOne:
  157|  2.68M|{
  158|  2.68M|    PyObject *oldv;
  159|  2.68M|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  2.68M|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (159:9): [True: 0, False: 2.68M]
  ------------------
  160|      0|        PyErr_SetString(
  161|      0|            PyExc_SystemError,
  162|      0|            "PyMember_SetOne used with Py_RELATIVE_OFFSET");
  163|      0|        return -1;
  164|      0|    }
  165|       |
  166|  2.68M|    PyObject *obj = (PyObject *)addr;
  167|  2.68M|    addr = _PyMember_GetOffset(obj, l);
  168|       |
  169|  2.68M|    if ((l->flags & Py_READONLY))
  ------------------
  |  |   83|  2.68M|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 2.68M]
  ------------------
  170|      0|    {
  171|      0|        PyErr_SetString(PyExc_AttributeError, "readonly attribute");
  172|      0|        return -1;
  173|      0|    }
  174|  2.68M|    if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   75|  2.68M|#define Py_T_OBJECT_EX 16
  ------------------
                  if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   59|      0|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (174:9): [True: 0, False: 2.68M]
  |  Branch (174:22): [True: 0, False: 0]
  |  Branch (174:51): [True: 0, False: 0]
  ------------------
  175|      0|        PyErr_SetString(PyExc_TypeError,
  176|      0|                        "can't delete numeric/char attribute");
  177|      0|        return -1;
  178|      0|    }
  179|  2.68M|    switch (l->type) {
  180|      2|    case Py_T_BOOL:{
  ------------------
  |  |   73|      2|#define Py_T_BOOL      14
  ------------------
  |  Branch (180:5): [True: 2, False: 2.68M]
  ------------------
  181|      2|        if (!PyBool_Check(v)) {
  ------------------
  |  |   12|      2|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 2]
  ------------------
  182|      0|            PyErr_SetString(PyExc_TypeError,
  183|      0|                            "attribute value type must be bool");
  184|      0|            return -1;
  185|      0|        }
  186|      2|        if (v == Py_True)
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (186:13): [True: 2, False: 0]
  ------------------
  187|      2|            FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, 1);
  ------------------
  |  |  177|      4|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  188|      0|        else
  189|      0|            FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, 0);
  ------------------
  |  |  177|      2|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  190|      2|        break;
  191|      2|        }
  192|      0|    case Py_T_BYTE:{
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (192:5): [True: 0, False: 2.68M]
  ------------------
  193|      0|        long long_val = PyLong_AsLong(v);
  194|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (194:13): [True: 0, False: 0]
  |  Branch (194:33): [True: 0, False: 0]
  ------------------
  195|      0|            return -1;
  196|      0|        FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, (char)long_val);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  197|       |        /* XXX: For compatibility, only warn about truncations
  198|       |           for now. */
  199|      0|        if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN))
  ------------------
  |  Branch (199:13): [True: 0, False: 0]
  |  Branch (199:38): [True: 0, False: 0]
  ------------------
  200|      0|            WARN("Truncation of value to char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|        break;
  202|      0|        }
  203|      0|    case Py_T_UBYTE:{
  ------------------
  |  |   64|      0|#define Py_T_UBYTE     9
  ------------------
  |  Branch (203:5): [True: 0, False: 2.68M]
  ------------------
  204|      0|        long long_val = PyLong_AsLong(v);
  205|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (205:13): [True: 0, False: 0]
  |  Branch (205:33): [True: 0, False: 0]
  ------------------
  206|      0|            return -1;
  207|      0|        FT_ATOMIC_STORE_UCHAR_RELAXED(*(unsigned char*)addr, (unsigned char)long_val);
  ------------------
  |  |  179|      0|#define FT_ATOMIC_STORE_UCHAR_RELAXED(value, new_value) value = new_value
  ------------------
  208|      0|        if ((long_val > UCHAR_MAX) || (long_val < 0))
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  |  Branch (208:39): [True: 0, False: 0]
  ------------------
  209|      0|            WARN("Truncation of value to unsigned char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  210|      0|        break;
  211|      0|        }
  212|      0|    case Py_T_SHORT:{
  ------------------
  |  |   53|      0|#define Py_T_SHORT     0
  ------------------
  |  Branch (212:5): [True: 0, False: 2.68M]
  ------------------
  213|      0|        long long_val = PyLong_AsLong(v);
  214|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (214:13): [True: 0, False: 0]
  |  Branch (214:33): [True: 0, False: 0]
  ------------------
  215|      0|            return -1;
  216|      0|        FT_ATOMIC_STORE_SHORT_RELAXED(*(short*)addr, (short)long_val);
  ------------------
  |  |  181|      0|#define FT_ATOMIC_STORE_SHORT_RELAXED(value, new_value) value = new_value
  ------------------
  217|      0|        if ((long_val > SHRT_MAX) || (long_val < SHRT_MIN))
  ------------------
  |  Branch (217:13): [True: 0, False: 0]
  |  Branch (217:38): [True: 0, False: 0]
  ------------------
  218|      0|            WARN("Truncation of value to short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  219|      0|        break;
  220|      0|        }
  221|      0|    case Py_T_USHORT:{
  ------------------
  |  |   65|      0|#define Py_T_USHORT    10
  ------------------
  |  Branch (221:5): [True: 0, False: 2.68M]
  ------------------
  222|      0|        long long_val = PyLong_AsLong(v);
  223|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (223:13): [True: 0, False: 0]
  |  Branch (223:33): [True: 0, False: 0]
  ------------------
  224|      0|            return -1;
  225|      0|        FT_ATOMIC_STORE_USHORT_RELAXED(*(unsigned short*)addr, (unsigned short)long_val);
  ------------------
  |  |  183|      0|#define FT_ATOMIC_STORE_USHORT_RELAXED(value, new_value) value = new_value
  ------------------
  226|      0|        if ((long_val > USHRT_MAX) || (long_val < 0))
  ------------------
  |  Branch (226:13): [True: 0, False: 0]
  |  Branch (226:39): [True: 0, False: 0]
  ------------------
  227|      0|            WARN("Truncation of value to unsigned short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  228|      0|        break;
  229|      0|        }
  230|      0|    case Py_T_INT:{
  ------------------
  |  |   54|      0|#define Py_T_INT       1
  ------------------
  |  Branch (230:5): [True: 0, False: 2.68M]
  ------------------
  231|      0|        long long_val = PyLong_AsLong(v);
  232|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (232:13): [True: 0, False: 0]
  |  Branch (232:33): [True: 0, False: 0]
  ------------------
  233|      0|            return -1;
  234|      0|        FT_ATOMIC_STORE_INT_RELAXED(*(int *)addr, (int)long_val);
  ------------------
  |  |  187|      0|#define FT_ATOMIC_STORE_INT_RELAXED(value, new_value) value = new_value
  ------------------
  235|      0|        if ((long_val > INT_MAX) || (long_val < INT_MIN))
  ------------------
  |  Branch (235:13): [True: 0, False: 0]
  |  Branch (235:37): [True: 0, False: 0]
  ------------------
  236|      0|            WARN("Truncation of value to int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  237|      0|        break;
  238|      0|        }
  239|      0|    case Py_T_UINT: {
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (239:5): [True: 0, False: 2.68M]
  ------------------
  240|       |        /* XXX: For compatibility, accept negative int values
  241|       |           as well. */
  242|      0|        v = _PyNumber_Index(v);
  243|      0|        if (v == NULL) {
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  ------------------
  244|      0|            return -1;
  245|      0|        }
  246|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (246:13): [True: 0, False: 0]
  ------------------
  247|      0|            long long_val = PyLong_AsLong(v);
  248|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (249:17): [True: 0, False: 0]
  |  Branch (249:35): [True: 0, False: 0]
  ------------------
  250|      0|                return -1;
  251|      0|            }
  252|      0|            FT_ATOMIC_STORE_UINT_RELAXED(*(unsigned int *)addr, (unsigned int)(unsigned long)long_val);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  253|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  254|      0|        }
  255|      0|        else {
  256|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  257|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  |  Branch (258:51): [True: 0, False: 0]
  ------------------
  259|      0|                return -1;
  260|      0|            }
  261|      0|            FT_ATOMIC_STORE_UINT_RELAXED(*(unsigned int *)addr, (unsigned int)ulong_val);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  262|      0|            if (ulong_val > UINT_MAX) {
  ------------------
  |  Branch (262:17): [True: 0, False: 0]
  ------------------
  263|      0|                WARN("Truncation of value to unsigned int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  264|      0|            }
  265|      0|        }
  266|      0|        break;
  267|      0|    }
  268|      0|    case Py_T_LONG: {
  ------------------
  |  |   55|      0|#define Py_T_LONG      2
  ------------------
  |  Branch (268:5): [True: 0, False: 2.68M]
  ------------------
  269|      0|        const long long_val = PyLong_AsLong(v);
  270|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (270:13): [True: 0, False: 0]
  |  Branch (270:33): [True: 0, False: 0]
  ------------------
  271|      0|            return -1;
  272|      0|        FT_ATOMIC_STORE_LONG_RELAXED(*(long*)addr, long_val);
  ------------------
  |  |  192|      0|#define FT_ATOMIC_STORE_LONG_RELAXED(value, new_value) value = new_value
  ------------------
  273|      0|        break;
  274|      0|    }
  275|      0|    case Py_T_ULONG: {
  ------------------
  |  |   67|      0|#define Py_T_ULONG     12
  ------------------
  |  Branch (275:5): [True: 0, False: 2.68M]
  ------------------
  276|       |        /* XXX: For compatibility, accept negative int values
  277|       |           as well. */
  278|      0|        v = _PyNumber_Index(v);
  279|      0|        if (v == NULL) {
  ------------------
  |  Branch (279:13): [True: 0, False: 0]
  ------------------
  280|      0|            return -1;
  281|      0|        }
  282|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (282:13): [True: 0, False: 0]
  ------------------
  283|      0|            long long_val = PyLong_AsLong(v);
  284|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (285:17): [True: 0, False: 0]
  |  Branch (285:35): [True: 0, False: 0]
  ------------------
  286|      0|                return -1;
  287|      0|            }
  288|      0|            FT_ATOMIC_STORE_ULONG_RELAXED(*(unsigned long *)addr, (unsigned long)long_val);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  289|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  290|      0|        }
  291|      0|        else {
  292|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  293|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (294:17): [True: 0, False: 0]
  |  Branch (294:51): [True: 0, False: 0]
  ------------------
  295|      0|                return -1;
  296|      0|            }
  297|      0|            FT_ATOMIC_STORE_ULONG_RELAXED(*(unsigned long *)addr, ulong_val);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  298|      0|        }
  299|      0|        break;
  300|      0|    }
  301|      0|    case Py_T_PYSSIZET: {
  ------------------
  |  |   79|      0|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (301:5): [True: 0, False: 2.68M]
  ------------------
  302|      0|        const Py_ssize_t ssize_val = PyLong_AsSsize_t(v);
  303|      0|        if ((ssize_val == (Py_ssize_t)-1) && PyErr_Occurred())
  ------------------
  |  Branch (303:13): [True: 0, False: 0]
  |  Branch (303:46): [True: 0, False: 0]
  ------------------
  304|      0|            return -1;
  305|      0|        FT_ATOMIC_STORE_SSIZE_RELAXED(*(Py_ssize_t*)addr, ssize_val);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  306|      0|        break;
  307|      0|    }
  308|      0|    case Py_T_FLOAT:{
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (308:5): [True: 0, False: 2.68M]
  ------------------
  309|      0|        double double_val = PyFloat_AsDouble(v);
  310|      0|        if ((double_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (310:13): [True: 0, False: 0]
  |  Branch (310:35): [True: 0, False: 0]
  ------------------
  311|      0|            return -1;
  312|      0|        FT_ATOMIC_STORE_FLOAT_RELAXED(*(float*)addr, (float)double_val);
  ------------------
  |  |  196|      0|#define FT_ATOMIC_STORE_FLOAT_RELAXED(value, new_value) value = new_value
  ------------------
  313|      0|        break;
  314|      0|        }
  315|      0|    case Py_T_DOUBLE: {
  ------------------
  |  |   57|      0|#define Py_T_DOUBLE    4
  ------------------
  |  Branch (315:5): [True: 0, False: 2.68M]
  ------------------
  316|      0|        const double double_val = PyFloat_AsDouble(v);
  317|      0|        if ((double_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (317:13): [True: 0, False: 0]
  |  Branch (317:35): [True: 0, False: 0]
  ------------------
  318|      0|            return -1;
  319|      0|        FT_ATOMIC_STORE_DOUBLE_RELAXED(*(double *) addr, double_val);
  ------------------
  |  |  198|      0|#define FT_ATOMIC_STORE_DOUBLE_RELAXED(value, new_value) value = new_value
  ------------------
  320|      0|        break;
  321|      0|    }
  322|  2.54M|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  2.54M|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (322:5): [True: 2.54M, False: 146k]
  ------------------
  323|  2.68M|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|  2.68M|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (323:5): [True: 146k, False: 2.54M]
  ------------------
  324|  2.68M|        Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|  2.68M|    {
  ------------------
  325|  2.68M|        oldv = *(PyObject **)addr;
  326|  2.68M|        FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, Py_XNewRef(v));
  ------------------
  |  |  164|  2.68M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  327|  2.68M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.68M|    }
  ------------------
  328|  2.68M|        if (v == NULL && oldv == NULL && l->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|      0|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (328:13): [True: 0, False: 2.68M]
  |  Branch (328:26): [True: 0, False: 0]
  |  Branch (328:42): [True: 0, False: 0]
  ------------------
  329|       |            // Raise an exception when attempting to delete an already deleted
  330|       |            // attribute.
  331|       |            // Differently from Py_T_OBJECT_EX, _Py_T_OBJECT does not raise an
  332|       |            // exception here (PyMember_GetOne will return Py_None instead of
  333|       |            // NULL).
  334|      0|            PyErr_SetString(PyExc_AttributeError, l->name);
  335|      0|            return -1;
  336|      0|        }
  337|  2.68M|        Py_XDECREF(oldv);
  ------------------
  |  |  524|  2.68M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  2.68M|        break;
  339|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (339:5): [True: 0, False: 2.68M]
  ------------------
  340|      0|        const char *string;
  341|      0|        Py_ssize_t len;
  342|       |
  343|      0|        string = PyUnicode_AsUTF8AndSize(v, &len);
  344|      0|        if (string == NULL || len != 1) {
  ------------------
  |  Branch (344:13): [True: 0, False: 0]
  |  Branch (344:31): [True: 0, False: 0]
  ------------------
  345|      0|            PyErr_BadArgument();
  346|      0|            return -1;
  347|      0|        }
  348|      0|        FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, string[0]);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  349|      0|        break;
  350|      0|        }
  351|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (351:5): [True: 0, False: 2.68M]
  ------------------
  352|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (352:5): [True: 0, False: 2.68M]
  ------------------
  353|      0|        PyErr_SetString(PyExc_TypeError, "readonly attribute");
  354|      0|        return -1;
  355|      0|    case Py_T_LONGLONG:{
  ------------------
  |  |   76|      0|#define Py_T_LONGLONG  17
  ------------------
  |  Branch (355:5): [True: 0, False: 2.68M]
  ------------------
  356|      0|        long long value = PyLong_AsLongLong(v);
  357|      0|        if ((value == -1) && PyErr_Occurred())
  ------------------
  |  Branch (357:13): [True: 0, False: 0]
  |  Branch (357:30): [True: 0, False: 0]
  ------------------
  358|      0|            return -1;
  359|      0|        FT_ATOMIC_STORE_LLONG_RELAXED(*(long long*)addr, value);
  ------------------
  |  |  200|      0|#define FT_ATOMIC_STORE_LLONG_RELAXED(value, new_value) value = new_value
  ------------------
  360|      0|        break;
  361|      0|        }
  362|      0|    case Py_T_ULONGLONG: {
  ------------------
  |  |   77|      0|#define Py_T_ULONGLONG 18
  ------------------
  |  Branch (362:5): [True: 0, False: 2.68M]
  ------------------
  363|      0|        v = _PyNumber_Index(v);
  364|      0|        if (v == NULL) {
  ------------------
  |  Branch (364:13): [True: 0, False: 0]
  ------------------
  365|      0|            return -1;
  366|      0|        }
  367|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (367:13): [True: 0, False: 0]
  ------------------
  368|      0|            long long_val = PyLong_AsLong(v);
  369|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (370:17): [True: 0, False: 0]
  |  Branch (370:35): [True: 0, False: 0]
  ------------------
  371|      0|                return -1;
  372|      0|            }
  373|      0|            FT_ATOMIC_STORE_ULLONG_RELAXED(*(unsigned long long *)addr, (unsigned long long)(long long)long_val);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  374|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  375|      0|        }
  376|      0|        else {
  377|      0|            unsigned long long ulonglong_val = PyLong_AsUnsignedLongLong(v);
  378|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|            if (ulonglong_val == (unsigned long long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (379:17): [True: 0, False: 0]
  |  Branch (379:60): [True: 0, False: 0]
  ------------------
  380|      0|                return -1;
  381|      0|            }
  382|      0|            FT_ATOMIC_STORE_ULLONG_RELAXED(*(unsigned long long *)addr, ulonglong_val);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  383|      0|        }
  384|      0|        break;
  385|      0|    }
  386|      0|    default:
  ------------------
  |  Branch (386:5): [True: 0, False: 2.68M]
  ------------------
  387|      0|        PyErr_Format(PyExc_SystemError,
  388|      0|                     "bad memberdescr type for %s", l->name);
  389|      0|        return -1;
  390|  2.68M|    }
  391|  2.68M|    return 0;
  392|  2.68M|}
structmember.c:member_get_object:
   14|   165k|{
   15|   165k|    PyObject *v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  145|   165k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   16|   165k|    if (v == NULL) {
  ------------------
  |  Branch (16:9): [True: 20.2k, False: 145k]
  ------------------
   17|  20.2k|        PyErr_Format(PyExc_AttributeError,
   18|  20.2k|                     "'%T' object has no attribute '%s'",
   19|  20.2k|                     (PyObject *)obj_addr, l->name);
   20|  20.2k|    }
   21|   165k|    return v;
   22|   165k|}

_PySymtable_Build:
  417|    219|{
  418|    219|    struct symtable *st = symtable_new();
  419|    219|    asdl_stmt_seq *seq;
  420|    219|    Py_ssize_t i;
  421|    219|    PyThreadState *tstate;
  422|       |
  423|    219|    if (st == NULL)
  ------------------
  |  Branch (423:9): [True: 0, False: 219]
  ------------------
  424|      0|        return NULL;
  425|    219|    if (filename == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 219]
  ------------------
  426|      0|        _PySymtable_Free(st);
  427|      0|        return NULL;
  428|      0|    }
  429|    219|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  550|    219|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|    219|    st->st_future = future;
  431|       |
  432|       |    /* Setup recursion depth check counters */
  433|    219|    tstate = _PyThreadState_GET();
  434|    219|    if (!tstate) {
  ------------------
  |  Branch (434:9): [True: 0, False: 219]
  ------------------
  435|      0|        _PySymtable_Free(st);
  436|      0|        return NULL;
  437|      0|    }
  438|       |
  439|       |    /* Make the initial symbol information gathering pass */
  440|       |
  441|    219|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  442|    219|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  919|    219|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    219|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    219|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (442:9): [True: 0, False: 219]
  ------------------
  443|      0|        _PySymtable_Free(st);
  444|      0|        return NULL;
  445|      0|    }
  446|       |
  447|    219|    st->st_top = st->st_cur;
  448|    219|    switch (mod->kind) {
  ------------------
  |  Branch (448:13): [True: 219, False: 0]
  ------------------
  449|    141|    case Module_kind:
  ------------------
  |  Branch (449:5): [True: 141, False: 78]
  ------------------
  450|    141|        seq = mod->v.Module.body;
  451|    141|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (451:13): [True: 0, False: 141]
  ------------------
  452|      0|            st->st_cur->ste_has_docstring = 1;
  453|      0|        }
  454|    393|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|    393|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    786|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 393]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (454:21): [True: 252, False: 141]
  ------------------
  455|    252|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (455:17): [True: 0, False: 252]
  ------------------
  456|    252|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|    252|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    252|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  457|      0|                goto error;
  458|    141|        break;
  459|    141|    case Expression_kind:
  ------------------
  |  Branch (459:5): [True: 78, False: 141]
  ------------------
  460|     78|        if (!symtable_visit_expr(st, mod->v.Expression.body))
  ------------------
  |  Branch (460:13): [True: 0, False: 78]
  ------------------
  461|      0|            goto error;
  462|     78|        break;
  463|     78|    case Interactive_kind:
  ------------------
  |  Branch (463:5): [True: 0, False: 219]
  ------------------
  464|      0|        seq = mod->v.Interactive.body;
  465|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:21): [True: 0, False: 0]
  ------------------
  466|      0|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (466:17): [True: 0, False: 0]
  ------------------
  467|      0|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  468|      0|                goto error;
  469|      0|        break;
  470|      0|    case FunctionType_kind:
  ------------------
  |  Branch (470:5): [True: 0, False: 219]
  ------------------
  471|      0|        PyErr_SetString(PyExc_RuntimeError,
  472|      0|                        "this compiler does not handle FunctionTypes");
  473|      0|        goto error;
  474|    219|    }
  475|    219|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (475:9): [True: 0, False: 219]
  ------------------
  476|      0|        _PySymtable_Free(st);
  477|      0|        return NULL;
  478|      0|    }
  479|       |    /* Make the second symbol analysis pass */
  480|    219|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (480:9): [True: 219, False: 0]
  ------------------
  481|       |#if _PY_DUMP_SYMTABLE
  482|       |        dump_symtable(st->st_top);
  483|       |#endif
  484|    219|        return st;
  485|    219|    }
  486|      0|    _PySymtable_Free(st);
  487|      0|    return NULL;
  488|      0| error:
  489|      0|    (void) symtable_exit_block(st);
  490|      0|    _PySymtable_Free(st);
  491|       |    return NULL;
  492|    219|}
_PySymtable_Free:
  497|    219|{
  498|    219|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|    219|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|    219|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  524|    219|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|    219|    PyMem_Free((void *)st);
  502|    219|}
_PySymtable_Lookup:
  506|    733|{
  507|    733|    PyObject *k, *v;
  508|       |
  509|    733|    k = PyLong_FromVoidPtr(key);
  510|    733|    if (k == NULL)
  ------------------
  |  Branch (510:9): [True: 0, False: 733]
  ------------------
  511|      0|        return NULL;
  512|    733|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 733]
  ------------------
  513|      0|        PyErr_SetString(PyExc_KeyError,
  514|      0|                        "unknown symbol table entry");
  515|      0|    }
  516|    733|    Py_DECREF(k);
  ------------------
  |  |  430|    733|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|       |
  518|       |    assert(v == NULL || PySTEntry_Check(v));
  519|    733|    return (PySTEntryObject *)v;
  520|    733|}
_PySymtable_LookupOptional:
  525|    444|{
  526|    444|    PyObject *k = PyLong_FromVoidPtr(key);
  527|    444|    if (k == NULL) {
  ------------------
  |  Branch (527:9): [True: 0, False: 444]
  ------------------
  528|      0|        *out = NULL;
  529|      0|        return -1;
  530|      0|    }
  531|    444|    int result = PyDict_GetItemRef(st->st_blocks, k, (PyObject **)out);
  532|    444|    Py_DECREF(k);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|       |    assert(*out == NULL || PySTEntry_Check(*out));
  534|    444|    return result;
  535|    444|}
_PyST_GetSymbol:
  539|  5.01k|{
  540|  5.01k|    PyObject *v;
  541|  5.01k|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (541:9): [True: 0, False: 5.01k]
  ------------------
  542|      0|        return -1;
  543|      0|    }
  544|  5.01k|    if (!v) {
  ------------------
  |  Branch (544:9): [True: 186, False: 4.83k]
  ------------------
  545|    186|        return 0;
  546|    186|    }
  547|  4.83k|    long symbol = PyLong_AsLong(v);
  548|  4.83k|    Py_DECREF(v);
  ------------------
  |  |  430|  4.83k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|  4.83k|    if (symbol < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 4.83k]
  ------------------
  550|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (550:13): [True: 0, False: 0]
  ------------------
  551|      0|            PyErr_SetString(PyExc_SystemError, "invalid symbol");
  552|      0|        }
  553|      0|        return -1;
  554|      0|    }
  555|  4.83k|    return symbol;
  556|  4.83k|}
_PyST_GetScope:
  560|  4.84k|{
  561|  4.84k|    long symbol = _PyST_GetSymbol(ste, name);
  562|  4.84k|    if (symbol < 0) {
  ------------------
  |  Branch (562:9): [True: 0, False: 4.84k]
  ------------------
  563|      0|        return -1;
  564|      0|    }
  565|  4.84k|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|  4.84k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  4.84k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  4.84k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  4.84k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  4.84k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  4.84k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  4.84k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  4.84k|}
_PyST_IsFunctionLike:
  570|  11.8k|{
  571|  11.8k|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (571:12): [True: 9.61k, False: 2.27k]
  ------------------
  572|  2.27k|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (572:12): [True: 950, False: 1.32k]
  ------------------
  573|  1.32k|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (573:12): [True: 0, False: 1.32k]
  ------------------
  574|  1.32k|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (574:12): [True: 0, False: 1.32k]
  ------------------
  575|  1.32k|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (575:12): [True: 0, False: 1.32k]
  ------------------
  576|  11.8k|}
_Py_MaybeMangle:
 3260|  12.4k|{
 3261|       |    /* Special case for type parameter blocks around generic classes:
 3262|       |     * we want to mangle type parameter names (so a type param with a private
 3263|       |     * name can be used inside the class body), but we don't want to mangle
 3264|       |     * any other names that appear within the type parameter scope.
 3265|       |     */
 3266|  12.4k|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 12.4k]
  ------------------
 3267|      0|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3268|      0|        if (result < 0) {
  ------------------
  |  Branch (3268:13): [True: 0, False: 0]
  ------------------
 3269|      0|            return NULL;
 3270|      0|        }
 3271|      0|        if (result == 0) {
  ------------------
  |  Branch (3271:13): [True: 0, False: 0]
  ------------------
 3272|      0|            return Py_NewRef(name);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3273|      0|        }
 3274|      0|    }
 3275|  12.4k|    return _Py_Mangle(privateobj, name);
 3276|  12.4k|}
_Py_Mangle:
 3301|  13.3k|{
 3302|       |    /* Name mangling: __private becomes _classname__private.
 3303|       |       This is independent from how the name is used. */
 3304|  13.3k|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|    624|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3304:9): [True: 12.7k, False: 624]
  |  Branch (3304:31): [True: 0, False: 624]
  ------------------
 3305|    624|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  381|    624|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3305:9): [True: 390, False: 234]
  ------------------
 3306|  13.2k|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  381|    234|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    234|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    234|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3306:9): [True: 180, False: 54]
  ------------------
 3307|  13.2k|        return Py_NewRef(ident);
  ------------------
  |  |  550|  13.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3308|  13.2k|    }
 3309|     54|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  299|     54|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|     54|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  299|     54|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|       |    /* Don't mangle __id__ or names with dots.
 3312|       |
 3313|       |       The only time a name with a dot can occur is when
 3314|       |       we are compiling an import statement that has a
 3315|       |       package name.
 3316|       |
 3317|       |       TODO(jhylton): Decide whether we want to support
 3318|       |       mangling of the module name, e.g. __M.X.
 3319|       |    */
 3320|     54|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  381|     54|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3320:10): [True: 50, False: 4]
  ------------------
 3321|     50|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  381|     50|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3321:10): [True: 50, False: 0]
  ------------------
 3322|     50|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3322:9): [True: 0, False: 4]
  ------------------
 3323|     50|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  550|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|     50|    }
 3325|       |    /* Strip leading underscores from class name */
 3326|      4|    size_t ipriv = 0;
 3327|      4|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  381|      4|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3327:12): [True: 0, False: 4]
  ------------------
 3328|      0|        ipriv++;
 3329|      0|    }
 3330|      4|    if (ipriv == plen) {
  ------------------
  |  Branch (3330:9): [True: 0, False: 4]
  ------------------
 3331|      0|        return Py_NewRef(ident); /* Don't mangle if class is just underscores */
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3332|      0|    }
 3333|       |
 3334|      4|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3334:9): [True: 0, False: 4]
  ------------------
 3335|      0|        PyErr_SetString(PyExc_OverflowError,
 3336|      0|                        "private identifier too large to be mangled");
 3337|      0|        return NULL;
 3338|      0|    }
 3339|       |
 3340|      4|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3341|      4|    if (!writer) {
  ------------------
  |  Branch (3341:9): [True: 0, False: 4]
  ------------------
 3342|      0|        return NULL;
 3343|      0|    }
 3344|       |    // ident = "_" + priv[ipriv:] + ident
 3345|      4|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3345:9): [True: 0, False: 4]
  ------------------
 3346|      0|        goto error;
 3347|      0|    }
 3348|      4|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3348:9): [True: 0, False: 4]
  ------------------
 3349|      0|        goto error;
 3350|      0|    }
 3351|      4|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3351:9): [True: 0, False: 4]
  ------------------
 3352|      0|        goto error;
 3353|      0|    }
 3354|      4|    return PyUnicodeWriter_Finish(writer);
 3355|       |
 3356|      0|error:
 3357|      0|    PyUnicodeWriter_Discard(writer);
 3358|       |    return NULL;
 3359|      4|}
symtable.c:ste_dealloc:
  185|  1.17k|{
  186|  1.17k|    PySTEntryObject *ste = (PySTEntryObject *)op;
  187|  1.17k|    ste->ste_table = NULL;
  188|  1.17k|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  1.17k|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  1.17k|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  1.17k|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  1.17k|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  1.17k|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|  1.17k|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  1.17k|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  1.17k|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  1.17k|    PyObject_Free(ste);
  198|  1.17k|}
symtable.c:symtable_new:
  391|    219|{
  392|    219|    struct symtable *st;
  393|       |
  394|    219|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  395|    219|    if (st == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 219]
  ------------------
  396|      0|        PyErr_NoMemory();
  397|      0|        return NULL;
  398|      0|    }
  399|       |
  400|    219|    st->st_filename = NULL;
  401|    219|    st->st_blocks = NULL;
  402|       |
  403|    219|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (403:9): [True: 0, False: 219]
  ------------------
  404|      0|        goto fail;
  405|    219|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (405:9): [True: 0, False: 219]
  ------------------
  406|      0|        goto fail;
  407|    219|    st->st_cur = NULL;
  408|    219|    st->st_private = NULL;
  409|    219|    return st;
  410|      0| fail:
  411|      0|    _PySymtable_Free(st);
  412|       |    return NULL;
  413|    219|}
symtable.c:symtable_analyze:
 1373|    219|{
 1374|    219|    PyObject *free, *global, *type_params;
 1375|    219|    int r;
 1376|       |
 1377|    219|    free = PySet_New(NULL);
 1378|    219|    if (!free)
  ------------------
  |  Branch (1378:9): [True: 0, False: 219]
  ------------------
 1379|      0|        return 0;
 1380|    219|    global = PySet_New(NULL);
 1381|    219|    if (!global) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 219]
  ------------------
 1382|      0|        Py_DECREF(free);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|      0|        return 0;
 1384|      0|    }
 1385|    219|    type_params = PySet_New(NULL);
 1386|    219|    if (!type_params) {
  ------------------
  |  Branch (1386:9): [True: 0, False: 219]
  ------------------
 1387|      0|        Py_DECREF(free);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|      0|        Py_DECREF(global);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|      0|        return 0;
 1390|      0|    }
 1391|    219|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1392|    219|    Py_DECREF(free);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1393|    219|    Py_DECREF(global);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|    219|    Py_DECREF(type_params);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|    219|    return r;
 1396|    219|}
symtable.c:analyze_block:
 1137|  1.17k|{
 1138|  1.17k|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1139|  1.17k|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1140|  1.17k|    PyObject *temp;
 1141|  1.17k|    int success = 0;
 1142|  1.17k|    Py_ssize_t i, pos = 0;
 1143|       |
 1144|  1.17k|    local = PySet_New(NULL);  /* collect new names bound in block */
 1145|  1.17k|    if (!local)
  ------------------
  |  Branch (1145:9): [True: 0, False: 1.17k]
  ------------------
 1146|      0|        goto error;
 1147|  1.17k|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1148|  1.17k|    if (!scopes)
  ------------------
  |  Branch (1148:9): [True: 0, False: 1.17k]
  ------------------
 1149|      0|        goto error;
 1150|       |
 1151|       |    /* Allocate new global, bound and free variable sets.  These
 1152|       |       sets hold the names visible in nested blocks.  For
 1153|       |       ClassBlocks, the bound and global names are initialized
 1154|       |       before analyzing names, because class bindings aren't
 1155|       |       visible in methods.  For other blocks, they are initialized
 1156|       |       after names are analyzed.
 1157|       |     */
 1158|       |
 1159|       |    /* TODO(jhylton): Package these dicts in a struct so that we
 1160|       |       can write reasonable helper functions?
 1161|       |    */
 1162|  1.17k|    newglobal = PySet_New(NULL);
 1163|  1.17k|    if (!newglobal)
  ------------------
  |  Branch (1163:9): [True: 0, False: 1.17k]
  ------------------
 1164|      0|        goto error;
 1165|  1.17k|    newfree = PySet_New(NULL);
 1166|  1.17k|    if (!newfree)
  ------------------
  |  Branch (1166:9): [True: 0, False: 1.17k]
  ------------------
 1167|      0|        goto error;
 1168|  1.17k|    newbound = PySet_New(NULL);
 1169|  1.17k|    if (!newbound)
  ------------------
  |  Branch (1169:9): [True: 0, False: 1.17k]
  ------------------
 1170|      0|        goto error;
 1171|  1.17k|    inlined_cells = PySet_New(NULL);
 1172|  1.17k|    if (!inlined_cells)
  ------------------
  |  Branch (1172:9): [True: 0, False: 1.17k]
  ------------------
 1173|      0|        goto error;
 1174|       |
 1175|       |    /* Class namespace has no effect on names visible in
 1176|       |       nested functions, so populate the global and bound
 1177|       |       sets to be passed to child blocks before analyzing
 1178|       |       this one.
 1179|       |     */
 1180|  1.17k|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1180:9): [True: 0, False: 1.17k]
  ------------------
 1181|       |        /* Pass down known globals */
 1182|      0|        temp = PyNumber_InPlaceOr(newglobal, global);
 1183|      0|        if (!temp)
  ------------------
  |  Branch (1183:13): [True: 0, False: 0]
  ------------------
 1184|      0|            goto error;
 1185|      0|        Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1186|       |        /* Pass down previously bound symbols */
 1187|      0|        if (bound) {
  ------------------
  |  Branch (1187:13): [True: 0, False: 0]
  ------------------
 1188|      0|            temp = PyNumber_InPlaceOr(newbound, bound);
 1189|      0|            if (!temp)
  ------------------
  |  Branch (1189:17): [True: 0, False: 0]
  ------------------
 1190|      0|                goto error;
 1191|      0|            Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|      0|        }
 1193|      0|    }
 1194|       |
 1195|  4.18k|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1195:12): [True: 3.01k, False: 1.17k]
  ------------------
 1196|  3.01k|        long flags = PyLong_AsLong(v);
 1197|  3.01k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1197:13): [True: 0, False: 3.01k]
  |  Branch (1197:28): [True: 0, False: 0]
  ------------------
 1198|      0|            goto error;
 1199|      0|        }
 1200|  3.01k|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1200:13): [True: 0, False: 3.01k]
  ------------------
 1201|  3.01k|                          bound, local, free, global, type_params, class_entry))
 1202|      0|            goto error;
 1203|  3.01k|    }
 1204|       |
 1205|       |    /* Populate global and bound sets to be passed to children. */
 1206|  1.17k|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1206:9): [True: 1.17k, False: 0]
  ------------------
 1207|       |        /* Add function locals to bound set */
 1208|  1.17k|        if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1208:13): [True: 952, False: 219]
  ------------------
 1209|    952|            temp = PyNumber_InPlaceOr(newbound, local);
 1210|    952|            if (!temp)
  ------------------
  |  Branch (1210:17): [True: 0, False: 952]
  ------------------
 1211|      0|                goto error;
 1212|    952|            Py_DECREF(temp);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|    952|        }
 1214|       |        /* Pass down previously bound symbols */
 1215|  1.17k|        if (bound) {
  ------------------
  |  Branch (1215:13): [True: 952, False: 219]
  ------------------
 1216|    952|            temp = PyNumber_InPlaceOr(newbound, bound);
 1217|    952|            if (!temp)
  ------------------
  |  Branch (1217:17): [True: 0, False: 952]
  ------------------
 1218|      0|                goto error;
 1219|    952|            Py_DECREF(temp);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|    952|        }
 1221|       |        /* Pass down known globals */
 1222|  1.17k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1223|  1.17k|        if (!temp)
  ------------------
  |  Branch (1223:13): [True: 0, False: 1.17k]
  ------------------
 1224|      0|            goto error;
 1225|  1.17k|        Py_DECREF(temp);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|  1.17k|    }
 1227|      0|    else {
 1228|       |        /* Special-case __class__ and __classdict__ */
 1229|      0|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1229:13): [True: 0, False: 0]
  ------------------
 1230|      0|            goto error;
 1231|      0|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1231:13): [True: 0, False: 0]
  ------------------
 1232|      0|            goto error;
 1233|      0|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:13): [True: 0, False: 0]
  ------------------
 1234|      0|            goto error;
 1235|      0|    }
 1236|       |
 1237|       |    /* Recursively call analyze_child_block() on each child block.
 1238|       |
 1239|       |       newbound, newglobal now contain the names visible in
 1240|       |       nested blocks.  The free variables in the children will
 1241|       |       be added to newfree.
 1242|       |    */
 1243|  2.12k|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|  2.12k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1243:17): [True: 952, False: 1.17k]
  ------------------
 1244|    952|        PyObject *child_free = NULL;
 1245|    952|        PyObject *c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|    952|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    952|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|    952|        PySTEntryObject* entry;
 1247|    952|        assert(c && PySTEntry_Check(c));
 1248|    952|        entry = (PySTEntryObject*)c;
 1249|       |
 1250|    952|        PySTEntryObject *new_class_entry = NULL;
 1251|    952|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1251:13): [True: 0, False: 952]
  ------------------
 1252|      0|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1252:17): [True: 0, False: 0]
  ------------------
 1253|      0|                new_class_entry = ste;
 1254|      0|            }
 1255|      0|            else if (class_entry) {
  ------------------
  |  Branch (1255:22): [True: 0, False: 0]
  ------------------
 1256|      0|                new_class_entry = class_entry;
 1257|      0|            }
 1258|      0|        }
 1259|       |
 1260|       |        // we inline all non-generator-expression comprehensions,
 1261|       |        // except those in annotation scopes that are nested in classes
 1262|    952|        int inline_comp =
 1263|    952|            entry->ste_comprehension &&
  ------------------
  |  Branch (1263:13): [True: 0, False: 952]
  ------------------
 1264|      0|            !entry->ste_generator &&
  ------------------
  |  Branch (1264:13): [True: 0, False: 0]
  ------------------
 1265|      0|            !ste->ste_can_see_class_scope;
  ------------------
  |  Branch (1265:13): [True: 0, False: 0]
  ------------------
 1266|       |
 1267|    952|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1267:13): [True: 0, False: 952]
  ------------------
 1268|    952|                                 type_params, new_class_entry, &child_free))
 1269|      0|        {
 1270|      0|            goto error;
 1271|      0|        }
 1272|    952|        if (inline_comp) {
  ------------------
  |  Branch (1272:13): [True: 0, False: 952]
  ------------------
 1273|      0|            if (!inline_comprehension(ste, entry, scopes, child_free, inlined_cells)) {
  ------------------
  |  Branch (1273:17): [True: 0, False: 0]
  ------------------
 1274|      0|                Py_DECREF(child_free);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|      0|                goto error;
 1276|      0|            }
 1277|      0|            entry->ste_comp_inlined = 1;
 1278|      0|        }
 1279|    952|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1280|    952|        Py_DECREF(child_free);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|    952|        if (!temp)
  ------------------
  |  Branch (1281:13): [True: 0, False: 952]
  ------------------
 1282|      0|            goto error;
 1283|    952|        Py_DECREF(temp);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|    952|    }
 1285|       |
 1286|       |    /* Splice children of inlined comprehensions into our children list */
 1287|  2.12k|    for (i = PyList_GET_SIZE(ste->ste_children) - 1; i >= 0; --i) {
  ------------------
  |  |   38|  1.17k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1287:54): [True: 952, False: 1.17k]
  ------------------
 1288|    952|        PyObject* c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|    952|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    952|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|    952|        PySTEntryObject* entry;
 1290|    952|        assert(c && PySTEntry_Check(c));
 1291|    952|        entry = (PySTEntryObject*)c;
 1292|    952|        if (entry->ste_comp_inlined &&
  ------------------
  |  Branch (1292:13): [True: 0, False: 952]
  ------------------
 1293|      0|            PyList_SetSlice(ste->ste_children, i, i + 1,
  ------------------
  |  Branch (1293:13): [True: 0, False: 0]
  ------------------
 1294|      0|                            entry->ste_children) < 0)
 1295|      0|        {
 1296|      0|            goto error;
 1297|      0|        }
 1298|    952|    }
 1299|       |
 1300|       |    /* Check if any local variables must be converted to cell variables */
 1301|  1.17k|    if (_PyST_IsFunctionLike(ste) && !analyze_cells(scopes, newfree, inlined_cells))
  ------------------
  |  Branch (1301:9): [True: 952, False: 219]
  |  Branch (1301:38): [True: 0, False: 952]
  ------------------
 1302|      0|        goto error;
 1303|  1.17k|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree))
  ------------------
  |  Branch (1303:14): [True: 0, False: 1.17k]
  |  Branch (1303:45): [True: 0, False: 0]
  ------------------
 1304|      0|        goto error;
 1305|       |    /* Records the results of the analysis in the symbol table entry */
 1306|  1.17k|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, inlined_cells,
  ------------------
  |  Branch (1306:9): [True: 0, False: 1.17k]
  ------------------
 1307|  1.17k|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1307:25): [True: 0, False: 1.17k]
  |  Branch (1307:58): [True: 0, False: 1.17k]
  ------------------
 1308|      0|        goto error;
 1309|       |
 1310|  1.17k|    temp = PyNumber_InPlaceOr(free, newfree);
 1311|  1.17k|    if (!temp)
  ------------------
  |  Branch (1311:9): [True: 0, False: 1.17k]
  ------------------
 1312|      0|        goto error;
 1313|  1.17k|    Py_DECREF(temp);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|  1.17k|    success = 1;
 1315|  1.17k| error:
 1316|  1.17k|    Py_XDECREF(scopes);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|  1.17k|    Py_XDECREF(local);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  1.17k|    Py_XDECREF(newbound);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|  1.17k|    Py_XDECREF(newglobal);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  1.17k|    Py_XDECREF(newfree);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|  1.17k|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  524|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|  1.17k|    if (!success)
  ------------------
  |  Branch (1322:9): [True: 0, False: 1.17k]
  ------------------
 1323|       |        assert(PyErr_Occurred());
 1324|  1.17k|    return success;
 1325|  1.17k|}
symtable.c:analyze_name:
  672|  3.01k|{
  673|  3.01k|    int contains;
  674|  3.01k|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  165|  3.01k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (674:9): [True: 0, False: 3.01k]
  ------------------
  675|      0|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (675:13): [True: 0, False: 0]
  ------------------
  676|      0|            PyErr_Format(PyExc_SyntaxError,
  677|      0|                         "name '%U' is nonlocal and global",
  678|      0|                         name);
  679|      0|            return error_at_directive(ste, name);
  680|      0|        }
  681|      0|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  682|      0|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (682:13): [True: 0, False: 0]
  ------------------
  683|      0|            return 0;
  684|      0|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (684:13): [True: 0, False: 0]
  |  Branch (684:22): [True: 0, False: 0]
  ------------------
  685|      0|            return 0;
  686|      0|        return 1;
  687|      0|    }
  688|  3.01k|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|  3.01k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (688:9): [True: 0, False: 3.01k]
  ------------------
  689|      0|        if (!bound) {
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|      0|            PyErr_Format(PyExc_SyntaxError,
  691|      0|                         "nonlocal declaration not allowed at module level");
  692|      0|            return error_at_directive(ste, name);
  693|      0|        }
  694|      0|        contains = PySet_Contains(bound, name);
  695|      0|        if (contains < 0) {
  ------------------
  |  Branch (695:13): [True: 0, False: 0]
  ------------------
  696|      0|            return 0;
  697|      0|        }
  698|      0|        if (!contains) {
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|            PyErr_Format(PyExc_SyntaxError,
  700|      0|                         "no binding for nonlocal '%U' found",
  701|      0|                         name);
  702|       |
  703|      0|            return error_at_directive(ste, name);
  704|      0|        }
  705|      0|        contains = PySet_Contains(type_params, name);
  706|      0|        if (contains < 0) {
  ------------------
  |  Branch (706:13): [True: 0, False: 0]
  ------------------
  707|      0|            return 0;
  708|      0|        }
  709|      0|        if (contains) {
  ------------------
  |  Branch (709:13): [True: 0, False: 0]
  ------------------
  710|      0|            PyErr_Format(PyExc_SyntaxError,
  711|      0|                         "nonlocal binding not allowed for type parameter '%U'",
  712|      0|                         name);
  713|      0|            return error_at_directive(ste, name);
  714|      0|        }
  715|      0|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  716|      0|        return PySet_Add(free, name) >= 0;
  717|      0|    }
  718|  3.01k|    if (flags & DEF_BOUND) {
  ------------------
  |  |  177|  3.01k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|  3.01k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|  3.01k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  3.01k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 2.42k, False: 585]
  ------------------
  719|  2.42k|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  650|  2.42k|    do { \
  |  |  651|  2.42k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  2.42k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 2.42k]
  |  |  ------------------
  |  |  653|  2.42k|            return 0; \
  |  |  654|  2.42k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 2.42k]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|  2.42k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  2.42k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 2.42k]
  |  |  ------------------
  ------------------
  720|  2.42k|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (720:13): [True: 0, False: 2.42k]
  ------------------
  721|      0|            return 0;
  722|  2.42k|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (722:13): [True: 0, False: 2.42k]
  ------------------
  723|      0|            return 0;
  724|  2.42k|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  174|  2.42k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (724:13): [True: 0, False: 2.42k]
  ------------------
  725|      0|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (725:17): [True: 0, False: 0]
  ------------------
  726|      0|                return 0;
  727|      0|        }
  728|  2.42k|        else {
  729|  2.42k|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (729:17): [True: 0, False: 2.42k]
  ------------------
  730|      0|                return 0;
  731|  2.42k|        }
  732|  2.42k|        return 1;
  733|  2.42k|    }
  734|       |    // If we were passed class_entry (i.e., we're in an ste_can_see_class_scope scope)
  735|       |    // and the bound name is in that set, then the name is potentially bound both by
  736|       |    // the immediately enclosing class namespace, and also by an outer function namespace.
  737|       |    // In that case, we want the runtime name resolution to look at only the class
  738|       |    // namespace and the globals (not the namespace providing the bound).
  739|       |    // Similarly, if the name is explicitly global in the class namespace (through the
  740|       |    // global statement), we want to also treat it as a global in this scope.
  741|    585|    if (class_entry != NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 585]
  ------------------
  742|      0|        long class_flags = _PyST_GetSymbol(class_entry, name);
  743|      0|        if (class_flags < 0) {
  ------------------
  |  Branch (743:13): [True: 0, False: 0]
  ------------------
  744|      0|            return 0;
  745|      0|        }
  746|      0|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (746:13): [True: 0, False: 0]
  ------------------
  747|      0|            SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  748|      0|            return 1;
  749|      0|        }
  750|      0|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  177|      0|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|      0|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
                      else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (750:18): [True: 0, False: 0]
  |  Branch (750:47): [True: 0, False: 0]
  ------------------
  751|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  752|      0|            return 1;
  753|      0|        }
  754|      0|    }
  755|       |    /* If an enclosing block has a binding for this name, it
  756|       |       is a free variable rather than a global variable.
  757|       |       Note that having a non-NULL bound implies that the block
  758|       |       is nested.
  759|       |    */
  760|    585|    if (bound) {
  ------------------
  |  Branch (760:9): [True: 569, False: 16]
  ------------------
  761|    569|        contains = PySet_Contains(bound, name);
  762|    569|        if (contains < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 569]
  ------------------
  763|      0|            return 0;
  764|      0|        }
  765|    569|        if (contains) {
  ------------------
  |  Branch (765:13): [True: 231, False: 338]
  ------------------
  766|    231|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|    231|    do { \
  |  |  651|    231|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|    231|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 231]
  |  |  ------------------
  |  |  653|    231|            return 0; \
  |  |  654|    231|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 231]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|    231|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    231|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|    231|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 231]
  |  |  ------------------
  ------------------
  767|    231|            return PySet_Add(free, name) >= 0;
  768|    231|        }
  769|    569|    }
  770|       |    /* If a parent has a global statement, then call it global
  771|       |       explicit?  It could also be global implicit.
  772|       |     */
  773|    354|    if (global) {
  ------------------
  |  Branch (773:9): [True: 354, False: 0]
  ------------------
  774|    354|        contains = PySet_Contains(global, name);
  775|    354|        if (contains < 0) {
  ------------------
  |  Branch (775:13): [True: 0, False: 354]
  ------------------
  776|      0|            return 0;
  777|      0|        }
  778|    354|        if (contains) {
  ------------------
  |  Branch (778:13): [True: 0, False: 354]
  ------------------
  779|      0|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      0|    do { \
  |  |  651|      0|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      0|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  653|      0|            return 0; \
  |  |  654|      0|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|      0|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  780|      0|            return 1;
  781|      0|        }
  782|    354|    }
  783|    354|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|    354|    do { \
  |  |  651|    354|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|    354|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 354]
  |  |  ------------------
  |  |  653|    354|            return 0; \
  |  |  654|    354|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 354]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|    354|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|    354|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 354]
  |  |  ------------------
  ------------------
  784|    354|    return 1;
  785|    354|}
symtable.c:analyze_child_block:
 1331|    952|{
 1332|    952|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1333|    952|    PyObject *temp_type_params = NULL;
 1334|       |
 1335|       |    /* Copy the bound/global/free sets.
 1336|       |
 1337|       |       These sets are used by all blocks enclosed by the
 1338|       |       current block.  The analyze_block() call modifies these
 1339|       |       sets.
 1340|       |
 1341|       |    */
 1342|    952|    temp_bound = PySet_New(bound);
 1343|    952|    if (!temp_bound)
  ------------------
  |  Branch (1343:9): [True: 0, False: 952]
  ------------------
 1344|      0|        goto error;
 1345|    952|    temp_free = PySet_New(free);
 1346|    952|    if (!temp_free)
  ------------------
  |  Branch (1346:9): [True: 0, False: 952]
  ------------------
 1347|      0|        goto error;
 1348|    952|    temp_global = PySet_New(global);
 1349|    952|    if (!temp_global)
  ------------------
  |  Branch (1349:9): [True: 0, False: 952]
  ------------------
 1350|      0|        goto error;
 1351|    952|    temp_type_params = PySet_New(type_params);
 1352|    952|    if (!temp_type_params)
  ------------------
  |  Branch (1352:9): [True: 0, False: 952]
  ------------------
 1353|      0|        goto error;
 1354|       |
 1355|    952|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1355:9): [True: 0, False: 952]
  ------------------
 1356|    952|                       temp_type_params, class_entry))
 1357|      0|        goto error;
 1358|    952|    *child_free = temp_free;
 1359|    952|    Py_DECREF(temp_bound);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|    952|    Py_DECREF(temp_global);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1361|    952|    Py_DECREF(temp_type_params);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|    952|    return 1;
 1363|      0| error:
 1364|      0|    Py_XDECREF(temp_bound);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|      0|    Py_XDECREF(temp_free);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      0|    Py_XDECREF(temp_global);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|      0|    Py_XDECREF(temp_type_params);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      0|    return 0;
 1369|    952|}
symtable.c:analyze_cells:
  917|    952|{
  918|    952|    PyObject *name, *v, *v_cell;
  919|    952|    int success = 0;
  920|    952|    Py_ssize_t pos = 0;
  921|       |
  922|    952|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  191|    952|#define CELL 5
  ------------------
  923|    952|    if (!v_cell)
  ------------------
  |  Branch (923:9): [True: 0, False: 952]
  ------------------
  924|      0|        return 0;
  925|  3.70k|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (925:12): [True: 2.74k, False: 952]
  ------------------
  926|  2.74k|        long scope = PyLong_AsLong(v);
  927|  2.74k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (927:13): [True: 0, False: 2.74k]
  |  Branch (927:28): [True: 0, False: 0]
  ------------------
  928|      0|            goto error;
  929|      0|        }
  930|  2.74k|        if (scope != LOCAL)
  ------------------
  |  |  187|  2.74k|#define LOCAL 1
  ------------------
  |  Branch (930:13): [True: 569, False: 2.17k]
  ------------------
  931|    569|            continue;
  932|  2.17k|        int contains = PySet_Contains(free, name);
  933|  2.17k|        if (contains < 0) {
  ------------------
  |  Branch (933:13): [True: 0, False: 2.17k]
  ------------------
  934|      0|            goto error;
  935|      0|        }
  936|  2.17k|        if (!contains) {
  ------------------
  |  Branch (936:13): [True: 1.99k, False: 183]
  ------------------
  937|  1.99k|            contains = PySet_Contains(inlined_cells, name);
  938|  1.99k|            if (contains < 0) {
  ------------------
  |  Branch (938:17): [True: 0, False: 1.99k]
  ------------------
  939|      0|                goto error;
  940|      0|            }
  941|  1.99k|            if (!contains) {
  ------------------
  |  Branch (941:17): [True: 1.99k, False: 0]
  ------------------
  942|  1.99k|                continue;
  943|  1.99k|            }
  944|  1.99k|        }
  945|       |        /* Replace LOCAL with CELL for this name, and remove
  946|       |           from free. It is safe to replace the value of name
  947|       |           in the dict, because it will not cause a resize.
  948|       |         */
  949|    183|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (949:13): [True: 0, False: 183]
  ------------------
  950|      0|            goto error;
  951|    183|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (951:13): [True: 0, False: 183]
  ------------------
  952|      0|            goto error;
  953|    183|    }
  954|    952|    success = 1;
  955|    952| error:
  956|    952|    Py_DECREF(v_cell);
  ------------------
  |  |  430|    952|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  957|    952|    return success;
  958|    952|}
symtable.c:update_symbols:
  991|  1.17k|{
  992|  1.17k|    PyObject *name = NULL, *itr = NULL;
  993|  1.17k|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
  994|  1.17k|    Py_ssize_t pos = 0;
  995|       |
  996|       |    /* Update scope information for all symbols in this scope */
  997|  4.18k|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (997:12): [True: 3.01k, False: 1.17k]
  ------------------
  998|  3.01k|        long flags = PyLong_AsLong(v);
  999|  3.01k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (999:13): [True: 0, False: 3.01k]
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|            return 0;
 1001|      0|        }
 1002|  3.01k|        int contains = PySet_Contains(inlined_cells, name);
 1003|  3.01k|        if (contains < 0) {
  ------------------
  |  Branch (1003:13): [True: 0, False: 3.01k]
  ------------------
 1004|      0|            return 0;
 1005|      0|        }
 1006|  3.01k|        if (contains) {
  ------------------
  |  Branch (1006:13): [True: 0, False: 3.01k]
  ------------------
 1007|      0|            flags |= DEF_COMP_CELL;
  ------------------
  |  |  175|      0|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
 1008|      0|        }
 1009|  3.01k|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1009:13): [True: 0, False: 3.01k]
  ------------------
 1010|      0|            return 0;
 1011|      0|        }
 1012|  3.01k|        if (!v_scope) {
  ------------------
  |  Branch (1012:13): [True: 0, False: 3.01k]
  ------------------
 1013|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1014|      0|            return 0;
 1015|      0|        }
 1016|  3.01k|        long scope = PyLong_AsLong(v_scope);
 1017|  3.01k|        Py_DECREF(v_scope);
  ------------------
  |  |  430|  3.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|  3.01k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1018:13): [True: 0, False: 3.01k]
  |  Branch (1018:28): [True: 0, False: 0]
  ------------------
 1019|      0|            return 0;
 1020|      0|        }
 1021|  3.01k|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  183|  3.01k|#define SCOPE_OFFSET 12
  ------------------
 1022|  3.01k|        v_new = PyLong_FromLong(flags);
 1023|  3.01k|        if (!v_new)
  ------------------
  |  Branch (1023:13): [True: 0, False: 3.01k]
  ------------------
 1024|      0|            return 0;
 1025|  3.01k|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 3.01k]
  ------------------
 1026|      0|            Py_DECREF(v_new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1027|      0|            return 0;
 1028|      0|        }
 1029|  3.01k|        Py_DECREF(v_new);
  ------------------
  |  |  430|  3.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|  3.01k|    }
 1031|       |
 1032|       |    /* Record not yet resolved free variables from children (if any) */
 1033|  1.17k|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  190|  1.17k|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  183|  1.17k|#define SCOPE_OFFSET 12
  ------------------
 1034|  1.17k|    if (!v_free)
  ------------------
  |  Branch (1034:9): [True: 0, False: 1.17k]
  ------------------
 1035|      0|        return 0;
 1036|       |
 1037|  1.17k|    itr = PyObject_GetIter(free);
 1038|  1.17k|    if (itr == NULL) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 1.17k]
  ------------------
 1039|      0|        Py_DECREF(v_free);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|      0|        return 0;
 1041|      0|    }
 1042|       |
 1043|  1.17k|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1043:12): [True: 0, False: 1.17k]
  ------------------
 1044|      0|        v = PyDict_GetItemWithError(symbols, name);
 1045|       |
 1046|       |        /* Handle symbol that already exists in this scope */
 1047|      0|        if (v) {
  ------------------
  |  Branch (1047:13): [True: 0, False: 0]
  ------------------
 1048|       |            /* Handle a free variable in a method of
 1049|       |               the class that has the same name as a local
 1050|       |               or global in the class scope.
 1051|       |            */
 1052|      0|            if  (classflag) {
  ------------------
  |  Branch (1052:18): [True: 0, False: 0]
  ------------------
 1053|      0|                long flags = PyLong_AsLong(v);
 1054|      0|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1054:21): [True: 0, False: 0]
  |  Branch (1054:36): [True: 0, False: 0]
  ------------------
 1055|      0|                    goto error;
 1056|      0|                }
 1057|      0|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  170|      0|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1058|      0|                v_new = PyLong_FromLong(flags);
 1059|      0|                if (!v_new) {
  ------------------
  |  Branch (1059:21): [True: 0, False: 0]
  ------------------
 1060|      0|                    goto error;
 1061|      0|                }
 1062|      0|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1062:21): [True: 0, False: 0]
  ------------------
 1063|      0|                    Py_DECREF(v_new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      0|                    goto error;
 1065|      0|                }
 1066|      0|                Py_DECREF(v_new);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      0|            }
 1068|       |            /* It's a cell, or already free in this scope */
 1069|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|      0|            continue;
 1071|      0|        }
 1072|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1072:18): [True: 0, False: 0]
  ------------------
 1073|      0|            goto error;
 1074|      0|        }
 1075|       |        /* Handle global symbol */
 1076|      0|        if (bound) {
  ------------------
  |  Branch (1076:13): [True: 0, False: 0]
  ------------------
 1077|      0|            int contains = PySet_Contains(bound, name);
 1078|      0|            if (contains < 0) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                goto error;
 1080|      0|            }
 1081|      0|            if (!contains) {
  ------------------
  |  Branch (1081:17): [True: 0, False: 0]
  ------------------
 1082|      0|                Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1083|      0|                continue;       /* it's a global */
 1084|      0|            }
 1085|      0|        }
 1086|       |        /* Propagate new free symbol up the lexical stack */
 1087|      0|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1087:13): [True: 0, False: 0]
  ------------------
 1088|      0|            goto error;
 1089|      0|        }
 1090|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      0|    }
 1092|       |
 1093|       |    /* Check if loop ended because of exception in PyIter_Next */
 1094|  1.17k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1094:9): [True: 0, False: 1.17k]
  ------------------
 1095|      0|        goto error;
 1096|      0|    }
 1097|       |
 1098|  1.17k|    Py_DECREF(itr);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|  1.17k|    Py_DECREF(v_free);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|  1.17k|    return 1;
 1101|      0|error:
 1102|      0|    Py_XDECREF(v_free);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      0|    Py_XDECREF(itr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|      0|    Py_XDECREF(name);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|      0|    return 0;
 1106|  1.17k|}
symtable.c:symtable_exit_block:
 1405|  1.17k|{
 1406|  1.17k|    Py_ssize_t size;
 1407|       |
 1408|  1.17k|    st->st_cur = NULL;
 1409|  1.17k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  1.17k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|  1.17k|    if (size) {
  ------------------
  |  Branch (1410:9): [True: 1.17k, False: 0]
  ------------------
 1411|  1.17k|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1411:13): [True: 0, False: 1.17k]
  ------------------
 1412|      0|            return 0;
 1413|  1.17k|        if (--size)
  ------------------
  |  Branch (1413:13): [True: 952, False: 219]
  ------------------
 1414|    952|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   40|    952|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    952|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  1.17k|    }
 1416|  1.17k|    return 1;
 1417|  1.17k|}
symtable.c:symtable_enter_block:
 1462|    727|{
 1463|    727|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1464|    727|    if (ste == NULL)
  ------------------
  |  Branch (1464:9): [True: 0, False: 727]
  ------------------
 1465|      0|        return 0;
 1466|    727|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1467|    727|    Py_DECREF(ste);
  ------------------
  |  |  430|    727|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    727|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    727|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|    727|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1468:9): [True: 444, False: 283]
  |  Branch (1468:37): [True: 0, False: 283]
  |  Branch (1468:67): [True: 0, False: 283]
  ------------------
 1469|    444|        _Py_DECLARE_STR(format, ".format");
 1470|       |        // We need to insert code that reads this "parameter" to the function.
 1471|    444|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  921|    444|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    444|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    444|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  167|    444|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1471:13): [True: 0, False: 444]
  ------------------
 1472|      0|            return 0;
 1473|      0|        }
 1474|    444|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  921|    444|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    444|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    444|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  169|    444|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1474:13): [True: 0, False: 444]
  ------------------
 1475|      0|            return 0;
 1476|      0|        }
 1477|    444|    }
 1478|    727|    return result;
 1479|    727|}
symtable.c:ste_new:
   95|  1.17k|{
   96|  1.17k|    PySTEntryObject *ste = NULL;
   97|  1.17k|    PyObject *k = NULL;
   98|       |
   99|  1.17k|    k = PyLong_FromVoidPtr(key);
  100|  1.17k|    if (k == NULL)
  ------------------
  |  Branch (100:9): [True: 0, False: 1.17k]
  ------------------
  101|      0|        goto fail;
  102|  1.17k|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|  1.17k|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  103|  1.17k|    if (ste == NULL) {
  ------------------
  |  Branch (103:9): [True: 0, False: 1.17k]
  ------------------
  104|      0|        Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|      0|        goto fail;
  106|      0|    }
  107|  1.17k|    ste->ste_table = st;
  108|  1.17k|    ste->ste_id = k; /* ste owns reference to k */
  109|       |
  110|  1.17k|    ste->ste_name = Py_NewRef(name);
  ------------------
  |  |  550|  1.17k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|  1.17k|    ste->ste_function_name = NULL;
  112|       |
  113|  1.17k|    ste->ste_symbols = NULL;
  114|  1.17k|    ste->ste_varnames = NULL;
  115|  1.17k|    ste->ste_children = NULL;
  116|       |
  117|  1.17k|    ste->ste_directives = NULL;
  118|  1.17k|    ste->ste_mangled_names = NULL;
  119|       |
  120|  1.17k|    ste->ste_type = block;
  121|  1.17k|    ste->ste_scope_info = NULL;
  122|       |
  123|  1.17k|    ste->ste_nested = 0;
  124|  1.17k|    ste->ste_varargs = 0;
  125|  1.17k|    ste->ste_varkeywords = 0;
  126|  1.17k|    ste->ste_annotations_used = 0;
  127|  1.17k|    ste->ste_loc = loc;
  128|       |
  129|  1.17k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (129:9): [True: 952, False: 219]
  ------------------
  130|    952|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (130:10): [True: 0, False: 952]
  ------------------
  131|    952|         _PyST_IsFunctionLike(st->st_cur)))
  ------------------
  |  Branch (131:10): [True: 604, False: 348]
  ------------------
  132|    604|        ste->ste_nested = 1;
  133|  1.17k|    ste->ste_generator = 0;
  134|  1.17k|    ste->ste_coroutine = 0;
  135|  1.17k|    ste->ste_comprehension = NoComprehension;
  136|  1.17k|    ste->ste_returns_value = 0;
  137|  1.17k|    ste->ste_needs_class_closure = 0;
  138|  1.17k|    ste->ste_comp_inlined = 0;
  139|  1.17k|    ste->ste_comp_iter_target = 0;
  140|  1.17k|    ste->ste_can_see_class_scope = 0;
  141|  1.17k|    ste->ste_comp_iter_expr = 0;
  142|  1.17k|    ste->ste_needs_classdict = 0;
  143|  1.17k|    ste->ste_has_conditional_annotations = 0;
  144|  1.17k|    ste->ste_in_conditional_block = 0;
  145|  1.17k|    ste->ste_in_try_block = 0;
  146|  1.17k|    ste->ste_in_unevaluated_annotation = 0;
  147|  1.17k|    ste->ste_annotation_block = NULL;
  148|       |
  149|  1.17k|    ste->ste_has_docstring = 0;
  150|       |
  151|  1.17k|    ste->ste_method = 0;
  152|  1.17k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (152:9): [True: 952, False: 219]
  ------------------
  153|    952|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (153:9): [True: 0, False: 952]
  ------------------
  154|      0|        block == FunctionBlock) {
  ------------------
  |  Branch (154:9): [True: 0, False: 0]
  ------------------
  155|      0|        ste->ste_method = 1;
  156|      0|    }
  157|       |
  158|  1.17k|    ste->ste_symbols = PyDict_New();
  159|  1.17k|    ste->ste_varnames = PyList_New(0);
  160|  1.17k|    ste->ste_children = PyList_New(0);
  161|  1.17k|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (161:9): [True: 0, False: 1.17k]
  ------------------
  162|  1.17k|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (162:12): [True: 0, False: 1.17k]
  ------------------
  163|  1.17k|        || ste->ste_children == NULL)
  ------------------
  |  Branch (163:12): [True: 0, False: 1.17k]
  ------------------
  164|      0|        goto fail;
  165|       |
  166|  1.17k|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (166:9): [True: 0, False: 1.17k]
  ------------------
  167|      0|        goto fail;
  168|       |
  169|  1.17k|    return ste;
  170|      0| fail:
  171|      0|    Py_XDECREF(ste);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|       |    return NULL;
  173|  1.17k|}
symtable.c:symtable_enter_existing_block:
 1421|  1.17k|{
 1422|  1.17k|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 1.17k]
  ------------------
 1423|      0|        return 0;
 1424|      0|    }
 1425|  1.17k|    PySTEntryObject *prev = st->st_cur;
 1426|       |    /* bpo-37757: For now, disallow *all* assignment expressions in the
 1427|       |     * outermost iterator expression of a comprehension, even those inside
 1428|       |     * a nested comprehension or a lambda expression.
 1429|       |     */
 1430|  1.17k|    if (prev) {
  ------------------
  |  Branch (1430:9): [True: 952, False: 219]
  ------------------
 1431|    952|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1432|    952|    }
 1433|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1434|       |     * are mangled. */
 1435|  1.17k|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1435:9): [True: 952, False: 219]
  |  Branch (1435:17): [True: 0, False: 952]
  |  Branch (1435:52): [True: 0, False: 0]
  ------------------
 1436|      0|        ste->ste_mangled_names = Py_NewRef(prev->ste_mangled_names);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|    }
 1438|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1439|  1.17k|    st->st_cur = ste;
 1440|       |
 1441|       |    /* If "from __future__ import annotations" is active,
 1442|       |     * annotation blocks shouldn't have any affect on the symbol table since in
 1443|       |     * the compilation stage, they will all be transformed to strings. */
 1444|  1.17k|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  143|  2.34k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1444:9): [True: 0, False: 1.17k]
  |  Branch (1444:63): [True: 0, False: 0]
  ------------------
 1445|      0|        return 1;
 1446|      0|    }
 1447|       |
 1448|  1.17k|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1448:9): [True: 219, False: 952]
  ------------------
 1449|    219|        st->st_global = st->st_cur->ste_symbols;
 1450|       |
 1451|  1.17k|    if (add_to_children && prev) {
  ------------------
  |  Branch (1451:9): [True: 1.17k, False: 0]
  |  Branch (1451:28): [True: 952, False: 219]
  ------------------
 1452|    952|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 952]
  ------------------
 1453|      0|            return 0;
 1454|      0|        }
 1455|    952|    }
 1456|  1.17k|    return 1;
 1457|  1.17k|}
symtable.c:symtable_add_def:
 1657|  2.89k|{
 1658|  2.89k|    return symtable_add_def_ctx(st, name, flag, loc,
 1659|  2.89k|                                flag == USE ? Load : Store);
  ------------------
  |  |  169|  2.89k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1659:33): [True: 492, False: 2.40k]
  ------------------
 1660|  2.89k|}
symtable.c:symtable_add_def_ctx:
 1641|  6.56k|{
 1642|  6.56k|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  167|  6.56k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  166|  6.56k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|  6.56k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1643|  6.56k|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1643:9): [True: 2.43k, False: 4.12k]
  |  Branch (1643:32): [True: 0, False: 2.43k]
  ------------------
 1644|      0|        return 0;
 1645|      0|    }
 1646|  6.56k|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  174|  6.56k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1646:9): [True: 0, False: 6.56k]
  |  Branch (1646:36): [True: 0, False: 0]
  ------------------
 1647|      0|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1647:12): [True: 0, False: 0]
  ------------------
 1648|      0|            return 0;
 1649|      0|        }
 1650|      0|    }
 1651|  6.56k|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1652|  6.56k|}
symtable.c:check_name:
 1597|  3.93k|{
 1598|  3.93k|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1598:9): [True: 2.74k, False: 1.19k]
  |  Branch (1598:25): [True: 0, False: 2.74k]
  ------------------
 1599|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __debug__");
 1600|      0|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1601|      0|        return 0;
 1602|      0|    }
 1603|  3.93k|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1603:9): [True: 0, False: 3.93k]
  |  Branch (1603:23): [True: 0, False: 0]
  ------------------
 1604|      0|        PyErr_SetString(PyExc_SyntaxError, "cannot delete __debug__");
 1605|      0|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1606|      0|        return 0;
 1607|      0|    }
 1608|  3.93k|    return 1;
 1609|  3.93k|}
symtable.c:symtable_add_def_helper:
 1504|  6.56k|{
 1505|  6.56k|    PyObject *o;
 1506|  6.56k|    PyObject *dict;
 1507|  6.56k|    long val;
 1508|  6.56k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1509|       |
 1510|  6.56k|    if (!mangled)
  ------------------
  |  Branch (1510:9): [True: 0, False: 6.56k]
  ------------------
 1511|      0|        return 0;
 1512|  6.56k|    dict = ste->ste_symbols;
 1513|  6.56k|    if ((o = PyDict_GetItemWithError(dict, mangled))) {
  ------------------
  |  Branch (1513:9): [True: 3.55k, False: 3.01k]
  ------------------
 1514|  3.55k|        val = PyLong_AsLong(o);
 1515|  3.55k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1515:13): [True: 0, False: 3.55k]
  |  Branch (1515:26): [True: 0, False: 0]
  ------------------
 1516|      0|            goto error;
 1517|      0|        }
 1518|  3.55k|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|  3.55k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1518:13): [True: 0, False: 3.55k]
  |  Branch (1518:35): [True: 0, False: 0]
  ------------------
 1519|       |            /* Is it better to use 'mangled' or 'name' here? */
 1520|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  386|      0|#define DUPLICATE_PARAMETER \
  |  |  387|      0|"duplicate parameter '%U' in function definition"
  ------------------
 1521|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1522|      0|            goto error;
 1523|      0|        }
 1524|  3.55k|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|  3.55k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|      0|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1524:13): [True: 0, False: 3.55k]
  |  Branch (1524:40): [True: 0, False: 0]
  ------------------
 1525|      0|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   75|      0|#define DUPLICATE_TYPE_PARAM \
  |  |   76|      0|"duplicate type parameter '%U'"
  ------------------
 1526|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1527|      0|            goto error;
 1528|      0|        }
 1529|  3.55k|        val |= flag;
 1530|  3.55k|    }
 1531|  3.01k|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1531:14): [True: 0, False: 3.01k]
  ------------------
 1532|      0|        goto error;
 1533|      0|    }
 1534|  3.01k|    else {
 1535|  3.01k|        val = flag;
 1536|  3.01k|    }
 1537|  6.56k|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 6.56k]
  ------------------
 1538|       |        /* This name is an iteration variable in a comprehension,
 1539|       |         * so check for a binding conflict with any named expressions.
 1540|       |         * Otherwise, mark it as an iteration variable so subsequent
 1541|       |         * named expressions can check for conflicts.
 1542|       |         */
 1543|      0|        if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1543:13): [True: 0, False: 0]
  ------------------
 1544|      0|            PyErr_Format(PyExc_SyntaxError,
 1545|      0|                NAMED_EXPR_COMP_INNER_LOOP_CONFLICT, name);
  ------------------
  |  |   57|      0|#define NAMED_EXPR_COMP_INNER_LOOP_CONFLICT \
  |  |   58|      0|"comprehension inner loop cannot rebind assignment expression target '%U'"
  ------------------
 1546|      0|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1547|      0|            goto error;
 1548|      0|        }
 1549|      0|        val |= DEF_COMP_ITER;
  ------------------
  |  |  173|      0|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1550|      0|    }
 1551|  6.56k|    o = PyLong_FromLong(val);
 1552|  6.56k|    if (o == NULL)
  ------------------
  |  Branch (1552:9): [True: 0, False: 6.56k]
  ------------------
 1553|      0|        goto error;
 1554|  6.56k|    if (PyDict_SetItem(dict, mangled, o) < 0) {
  ------------------
  |  Branch (1554:9): [True: 0, False: 6.56k]
  ------------------
 1555|      0|        Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      0|        goto error;
 1557|      0|    }
 1558|  6.56k|    Py_DECREF(o);
  ------------------
  |  |  430|  6.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|       |
 1560|  6.56k|    if (flag & DEF_PARAM) {
  ------------------
  |  |  167|  6.56k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1560:9): [True: 1.85k, False: 4.70k]
  ------------------
 1561|  1.85k|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1561:13): [True: 0, False: 1.85k]
  ------------------
 1562|      0|            goto error;
 1563|  4.70k|    } else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  165|  4.70k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1563:16): [True: 0, False: 4.70k]
  ------------------
 1564|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1565|       |           perhaps only DEF_FREE_GLOBAL */
 1566|      0|        val = 0;
 1567|      0|        if ((o = PyDict_GetItemWithError(st->st_global, mangled))) {
  ------------------
  |  Branch (1567:13): [True: 0, False: 0]
  ------------------
 1568|      0|            val = PyLong_AsLong(o);
 1569|      0|            if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1569:17): [True: 0, False: 0]
  |  Branch (1569:30): [True: 0, False: 0]
  ------------------
 1570|      0|                goto error;
 1571|      0|            }
 1572|      0|        }
 1573|      0|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1573:18): [True: 0, False: 0]
  ------------------
 1574|      0|            goto error;
 1575|      0|        }
 1576|      0|        val |= flag;
 1577|      0|        o = PyLong_FromLong(val);
 1578|      0|        if (o == NULL)
  ------------------
  |  Branch (1578:13): [True: 0, False: 0]
  ------------------
 1579|      0|            goto error;
 1580|      0|        if (PyDict_SetItem(st->st_global, mangled, o) < 0) {
  ------------------
  |  Branch (1580:13): [True: 0, False: 0]
  ------------------
 1581|      0|            Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1582|      0|            goto error;
 1583|      0|        }
 1584|      0|        Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      0|    }
 1586|  6.56k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  6.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|  6.56k|    return 1;
 1588|       |
 1589|      0|error:
 1590|      0|    Py_DECREF(mangled);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      0|    return 0;
 1592|  6.56k|}
symtable.c:symtable_visit_stmt:
 1891|  1.51k|{
 1892|  1.51k|    ENTER_RECURSIVE();
  ------------------
  |  | 1780|  1.51k|#define ENTER_RECURSIVE() \
  |  | 1781|  1.51k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1781:5): [True: 0, False: 1.51k]
  |  |  ------------------
  |  | 1782|      0|    return 0; \
  |  | 1783|      0|}
  ------------------
 1893|  1.51k|    switch (s->kind) {
  ------------------
  |  Branch (1893:13): [True: 1.51k, False: 0]
  ------------------
 1894|    444|    case FunctionDef_kind: {
  ------------------
  |  Branch (1894:5): [True: 444, False: 1.07k]
  ------------------
 1895|    444|        if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|    444|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|    444|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    444|    (_Py_SourceLocation){ \
  |  |  |  |   55|    444|               .lineno = (n)->lineno, \
  |  |  |  |   56|    444|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    444|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    444|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1895:13): [True: 0, False: 444]
  ------------------
 1896|      0|            return 0;
 1897|    444|        if (s->v.FunctionDef.args->defaults)
  ------------------
  |  Branch (1897:13): [True: 444, False: 0]
  ------------------
 1898|    444|            VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
  ------------------
  |  | 1733|    444|    do { \
  |  | 1734|    444|        Py_ssize_t i; \
  |  | 1735|    444|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    518|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    518|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 518]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 74, False: 444]
  |  |  ------------------
  |  | 1737|     74|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     74|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     74|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     74|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 74]
  |  |  ------------------
  |  | 1739|     74|                return 0;                 \
  |  | 1740|     74|        } \
  |  | 1741|    444|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1899|    444|        if (s->v.FunctionDef.args->kw_defaults)
  ------------------
  |  Branch (1899:13): [True: 444, False: 0]
  ------------------
 1900|    444|            VISIT_SEQ_WITH_NULL(st, expr, s->v.FunctionDef.args->kw_defaults);
  ------------------
  |  | 1755|    444|    do { \
  |  | 1756|    444|        int i = 0; \
  |  | 1757|    444|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|    584|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    584|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 584]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 140, False: 444]
  |  |  ------------------
  |  | 1759|    140|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    140|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    140|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    140|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 4, False: 136]
  |  |  ------------------
  |  | 1761|    140|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 136]
  |  |  ------------------
  |  | 1762|    136|                return 0;             \
  |  | 1763|    136|        } \
  |  | 1764|    444|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1901|    444|        if (s->v.FunctionDef.decorator_list)
  ------------------
  |  Branch (1901:13): [True: 50, False: 394]
  ------------------
 1902|     50|            VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
  ------------------
  |  | 1733|     50|    do { \
  |  | 1734|     50|        Py_ssize_t i; \
  |  | 1735|     50|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    104|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    104|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 104]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 54, False: 50]
  |  |  ------------------
  |  | 1737|     54|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     54|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     54|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 54]
  |  |  ------------------
  |  | 1739|     54|                return 0;                 \
  |  | 1740|     54|        } \
  |  | 1741|     50|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 1903|    444|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 444, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1903:13): [True: 0, False: 444]
  ------------------
 1904|      0|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (1904:17): [True: 0, False: 0]
  ------------------
 1905|      0|                    st, s->v.FunctionDef.name,
 1906|      0|                    (void *)s->v.FunctionDef.type_params,
 1907|      0|                    s->v.FunctionDef.args->defaults != NULL,
 1908|      0|                    has_kwonlydefaults(s->v.FunctionDef.args->kwonlyargs,
 1909|      0|                                       s->v.FunctionDef.args->kw_defaults),
 1910|      0|                    s->kind,
 1911|      0|                    LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1912|      0|                return 0;
 1913|      0|            }
 1914|      0|            VISIT_SEQ(st, type_param, s->v.FunctionDef.type_params);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1915|      0|        }
 1916|    444|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 1917|    444|                                           LOCATION(s));
  ------------------
  |  |   84|    444|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    444|    (_Py_SourceLocation){ \
  |  |  |  |   55|    444|               .lineno = (n)->lineno, \
  |  |  |  |   56|    444|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    444|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    444|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1918|    444|        if (!new_ste) {
  ------------------
  |  Branch (1918:13): [True: 0, False: 444]
  ------------------
 1919|      0|            return 0;
 1920|      0|        }
 1921|       |
 1922|    444|        if (_PyAST_GetDocString(s->v.FunctionDef.body)) {
  ------------------
  |  Branch (1922:13): [True: 4, False: 440]
  ------------------
 1923|      4|            new_ste->ste_has_docstring = 1;
 1924|      4|        }
 1925|       |
 1926|    444|        if (!symtable_visit_annotations(st, s, s->v.FunctionDef.args,
  ------------------
  |  Branch (1926:13): [True: 0, False: 444]
  ------------------
 1927|    444|                                        s->v.FunctionDef.returns, new_ste)) {
 1928|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1929|      0|            return 0;
 1930|      0|        }
 1931|    444|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (1931:13): [True: 0, False: 444]
  ------------------
 1932|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1933|      0|            return 0;
 1934|      0|        }
 1935|    444|        Py_DECREF(new_ste);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|    444|        VISIT(st, arguments, s->v.FunctionDef.args);
  ------------------
  |  | 1726|    444|    do { \
  |  | 1727|    444|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 444]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    444|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1937|    444|        VISIT_SEQ(st, stmt, s->v.FunctionDef.body);
  ------------------
  |  | 1733|    444|    do { \
  |  | 1734|    444|        Py_ssize_t i; \
  |  | 1735|    444|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  1.51k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.51k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.51k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1.07k, False: 444]
  |  |  ------------------
  |  | 1737|  1.07k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.07k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  1.07k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1.07k]
  |  |  ------------------
  |  | 1739|  1.07k|                return 0;                 \
  |  | 1740|  1.07k|        } \
  |  | 1741|    444|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 444]
  |  |  ------------------
  ------------------
 1938|    444|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1938:13): [True: 0, False: 444]
  ------------------
 1939|      0|            return 0;
 1940|    444|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|    444|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    888|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 444, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1940:13): [True: 0, False: 444]
  ------------------
 1941|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1941:17): [True: 0, False: 0]
  ------------------
 1942|      0|                return 0;
 1943|      0|        }
 1944|    444|        break;
 1945|    444|    }
 1946|    444|    case ClassDef_kind: {
  ------------------
  |  Branch (1946:5): [True: 0, False: 1.51k]
  ------------------
 1947|      0|        PyObject *tmp;
 1948|      0|        if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1948:13): [True: 0, False: 0]
  ------------------
 1949|      0|            return 0;
 1950|      0|        if (s->v.ClassDef.decorator_list)
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|      0|            VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1952|      0|        tmp = st->st_private;
 1953|      0|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1953:13): [True: 0, False: 0]
  ------------------
 1954|      0|            if (!symtable_enter_type_param_block(st, s->v.ClassDef.name,
  ------------------
  |  Branch (1954:17): [True: 0, False: 0]
  ------------------
 1955|      0|                                                (void *)s->v.ClassDef.type_params,
 1956|      0|                                                false, false, s->kind,
 1957|      0|                                                LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1958|      0|                return 0;
 1959|      0|            }
 1960|      0|            st->st_private = s->v.ClassDef.name;
 1961|      0|            st->st_cur->ste_mangled_names = PySet_New(NULL);
 1962|      0|            if (!st->st_cur->ste_mangled_names) {
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                return 0;
 1964|      0|            }
 1965|      0|            VISIT_SEQ(st, type_param, s->v.ClassDef.type_params);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1966|      0|        }
 1967|      0|        VISIT_SEQ(st, expr, s->v.ClassDef.bases);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1968|      0|        if (!check_keywords(st, s->v.ClassDef.keywords)) {
  ------------------
  |  Branch (1968:13): [True: 0, False: 0]
  ------------------
 1969|      0|            return 0;
 1970|      0|        }
 1971|      0|        VISIT_SEQ(st, keyword, s->v.ClassDef.keywords);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1972|      0|        if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock,
  ------------------
  |  Branch (1972:13): [True: 0, False: 0]
  ------------------
 1973|      0|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1974|      0|            return 0;
 1975|      0|        }
 1976|      0|        st->st_private = s->v.ClassDef.name;
 1977|      0|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1977:13): [True: 0, False: 0]
  ------------------
 1978|      0|            if (!symtable_add_def(st, &_Py_ID(__type_params__),
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1978:17): [True: 0, False: 0]
  ------------------
 1979|      0|                                  DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1980|      0|                return 0;
 1981|      0|            }
 1982|      0|            _Py_DECLARE_STR(type_params, ".type_params");
 1983|      0|            if (!symtable_add_def(st, &_Py_STR(type_params),
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                                  USE, LOCATION(s))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                                                USE, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1985|      0|                return 0;
 1986|      0|            }
 1987|      0|        }
 1988|       |
 1989|      0|        if (_PyAST_GetDocString(s->v.ClassDef.body)) {
  ------------------
  |  Branch (1989:13): [True: 0, False: 0]
  ------------------
 1990|      0|            st->st_cur->ste_has_docstring = 1;
 1991|      0|        }
 1992|       |
 1993|      0|        VISIT_SEQ(st, stmt, s->v.ClassDef.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1994|      0|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1994:13): [True: 0, False: 0]
  ------------------
 1995|      0|            return 0;
 1996|      0|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1996:13): [True: 0, False: 0]
  ------------------
 1997|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1997:17): [True: 0, False: 0]
  ------------------
 1998|      0|                return 0;
 1999|      0|        }
 2000|      0|        st->st_private = tmp;
 2001|      0|        break;
 2002|      0|    }
 2003|      0|    case TypeAlias_kind: {
  ------------------
  |  Branch (2003:5): [True: 0, False: 1.51k]
  ------------------
 2004|      0|        VISIT(st, expr, s->v.TypeAlias.name);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2005|      0|        assert(s->v.TypeAlias.name->kind == Name_kind);
 2006|      0|        PyObject *name = s->v.TypeAlias.name->v.Name.id;
 2007|      0|        int is_in_class = st->st_cur->ste_type == ClassBlock;
 2008|      0|        int is_generic = asdl_seq_LEN(s->v.TypeAlias.type_params) > 0;
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|      0|        if (is_generic) {
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2010:17): [True: 0, False: 0]
  ------------------
 2011|      0|                    st, name,
 2012|      0|                    (void *)s->v.TypeAlias.type_params,
 2013|      0|                    false, false, s->kind,
 2014|      0|                    LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2015|      0|                return 0;
 2016|      0|            }
 2017|      0|            VISIT_SEQ(st, type_param, s->v.TypeAlias.type_params);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2018|      0|        }
 2019|      0|        if (!symtable_enter_block(st, name, TypeAliasBlock,
  ------------------
  |  Branch (2019:13): [True: 0, False: 0]
  ------------------
 2020|      0|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2021|      0|            return 0;
 2022|      0|        }
 2023|      0|        st->st_cur->ste_can_see_class_scope = is_in_class;
 2024|      0|        if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2024:13): [True: 0, False: 0]
  |  Branch (2024:28): [True: 0, False: 0]
  ------------------
 2025|      0|            return 0;
 2026|      0|        }
 2027|      0|        VISIT(st, expr, s->v.TypeAlias.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2028|      0|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2028:13): [True: 0, False: 0]
  ------------------
 2029|      0|            return 0;
 2030|      0|        if (is_generic) {
  ------------------
  |  Branch (2030:13): [True: 0, False: 0]
  ------------------
 2031|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2031:17): [True: 0, False: 0]
  ------------------
 2032|      0|                return 0;
 2033|      0|        }
 2034|      0|        break;
 2035|      0|    }
 2036|    438|    case Return_kind:
  ------------------
  |  Branch (2036:5): [True: 438, False: 1.08k]
  ------------------
 2037|    438|        if (s->v.Return.value) {
  ------------------
  |  Branch (2037:13): [True: 438, False: 0]
  ------------------
 2038|    438|            VISIT(st, expr, s->v.Return.value);
  ------------------
  |  | 1726|    438|    do { \
  |  | 1727|    438|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 438]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    438|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 438]
  |  |  ------------------
  ------------------
 2039|    438|            st->st_cur->ste_returns_value = 1;
 2040|    438|        }
 2041|    438|        break;
 2042|    438|    case Delete_kind:
  ------------------
  |  Branch (2042:5): [True: 0, False: 1.51k]
  ------------------
 2043|      0|        VISIT_SEQ(st, expr, s->v.Delete.targets);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2044|      0|        break;
 2045|    136|    case Assign_kind:
  ------------------
  |  Branch (2045:5): [True: 136, False: 1.38k]
  ------------------
 2046|    136|        VISIT_SEQ(st, expr, s->v.Assign.targets);
  ------------------
  |  | 1733|    136|    do { \
  |  | 1734|    136|        Py_ssize_t i; \
  |  | 1735|    136|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    272|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    272|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    544|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 272]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 136, False: 136]
  |  |  ------------------
  |  | 1737|    136|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    136|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    136|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    136|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 136]
  |  |  ------------------
  |  | 1739|    136|                return 0;                 \
  |  | 1740|    136|        } \
  |  | 1741|    136|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 136]
  |  |  ------------------
  ------------------
 2047|    136|        VISIT(st, expr, s->v.Assign.value);
  ------------------
  |  | 1726|    136|    do { \
  |  | 1727|    136|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 136]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    136|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 136]
  |  |  ------------------
  ------------------
 2048|    136|        break;
 2049|    136|    case AnnAssign_kind:
  ------------------
  |  Branch (2049:5): [True: 0, False: 1.51k]
  ------------------
 2050|      0|        st->st_cur->ste_annotations_used = 1;
 2051|      0|        if (s->v.AnnAssign.target->kind == Name_kind) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 0]
  ------------------
 2052|      0|            expr_ty e_name = s->v.AnnAssign.target;
 2053|      0|            long cur = symtable_lookup(st, e_name->v.Name.id);
 2054|      0|            if (cur < 0) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 0]
  ------------------
 2055|      0|                return 0;
 2056|      0|            }
 2057|      0|            if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (2057:17): [True: 0, False: 0]
  ------------------
 2058|      0|                && (st->st_cur->ste_symbols != st->st_global)
  ------------------
  |  Branch (2058:20): [True: 0, False: 0]
  ------------------
 2059|      0|                && s->v.AnnAssign.simple) {
  ------------------
  |  Branch (2059:20): [True: 0, False: 0]
  ------------------
 2060|      0|                PyErr_Format(PyExc_SyntaxError,
 2061|      0|                             cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   34|      0|#define GLOBAL_ANNOT \
  |  |   35|      0|"annotated name '%U' can't be global"
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   37|      0|#define NONLOCAL_ANNOT \
  |  |   38|      0|"annotated name '%U' can't be nonlocal"
  ------------------
  |  Branch (2061:30): [True: 0, False: 0]
  ------------------
 2062|      0|                             e_name->v.Name.id);
 2063|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2064|      0|                return 0;
 2065|      0|            }
 2066|      0|            if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (2066:17): [True: 0, False: 0]
  ------------------
 2067|      0|                !symtable_add_def(st, e_name->v.Name.id,
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                                  DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  172|      0|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2069|      0|                return 0;
 2070|      0|            }
 2071|      0|            else {
 2072|      0|                if (s->v.AnnAssign.value
  ------------------
  |  Branch (2072:21): [True: 0, False: 0]
  ------------------
 2073|      0|                    && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                  && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2073:24): [True: 0, False: 0]
  ------------------
 2074|      0|                    return 0;
 2075|      0|                }
 2076|      0|            }
 2077|      0|        }
 2078|      0|        else {
 2079|      0|            VISIT(st, expr, s->v.AnnAssign.target);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2080|      0|        }
 2081|      0|        if (!symtable_visit_annotation(st, s->v.AnnAssign.annotation,
  ------------------
  |  Branch (2081:13): [True: 0, False: 0]
  ------------------
 2082|      0|                                       (void *)((uintptr_t)st->st_cur->ste_id + 1))) {
 2083|      0|            return 0;
 2084|      0|        }
 2085|       |
 2086|      0|        if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (2086:13): [True: 0, False: 0]
  ------------------
 2087|      0|            VISIT(st, expr, s->v.AnnAssign.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2088|      0|        }
 2089|      0|        break;
 2090|      0|    case AugAssign_kind: {
  ------------------
  |  Branch (2090:5): [True: 0, False: 1.51k]
  ------------------
 2091|      0|        VISIT(st, expr, s->v.AugAssign.target);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2092|      0|        VISIT(st, expr, s->v.AugAssign.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2093|      0|        break;
 2094|      0|    }
 2095|      2|    case For_kind: {
  ------------------
  |  Branch (2095:5): [True: 2, False: 1.51k]
  ------------------
 2096|      2|        VISIT(st, expr, s->v.For.target);
  ------------------
  |  | 1726|      2|    do { \
  |  | 1727|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2097|      2|        VISIT(st, expr, s->v.For.iter);
  ------------------
  |  | 1726|      2|    do { \
  |  | 1727|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2098|      2|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      2|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      2|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2099|      2|        VISIT_SEQ(st, stmt, s->v.For.body);
  ------------------
  |  | 1733|      2|    do { \
  |  | 1734|      2|        Py_ssize_t i; \
  |  | 1735|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     28|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     28|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 26, False: 2]
  |  |  ------------------
  |  | 1737|     26|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     26|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     26|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 26]
  |  |  ------------------
  |  | 1739|     26|                return 0;                 \
  |  | 1740|     26|        } \
  |  | 1741|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2100|      2|        if (s->v.For.orelse)
  ------------------
  |  Branch (2100:13): [True: 0, False: 2]
  ------------------
 2101|      0|            VISIT_SEQ(st, stmt, s->v.For.orelse);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2102|      2|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      2|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2103|      2|        break;
 2104|      2|    }
 2105|      0|    case While_kind: {
  ------------------
  |  Branch (2105:5): [True: 0, False: 1.51k]
  ------------------
 2106|      0|        VISIT(st, expr, s->v.While.test);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2107|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2108|      0|        VISIT_SEQ(st, stmt, s->v.While.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2109|      0|        if (s->v.While.orelse)
  ------------------
  |  Branch (2109:13): [True: 0, False: 0]
  ------------------
 2110|      0|            VISIT_SEQ(st, stmt, s->v.While.orelse);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2111|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2112|      0|        break;
 2113|      0|    }
 2114|    152|    case If_kind: {
  ------------------
  |  Branch (2114:5): [True: 152, False: 1.36k]
  ------------------
 2115|       |        /* XXX if 0: and lookup_yield() hacks */
 2116|    152|        VISIT(st, expr, s->v.If.test);
  ------------------
  |  | 1726|    152|    do { \
  |  | 1727|    152|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 152]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    152|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 152]
  |  |  ------------------
  ------------------
 2117|    152|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|    152|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|    152|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2118|    152|        VISIT_SEQ(st, stmt, s->v.If.body);
  ------------------
  |  | 1733|    152|    do { \
  |  | 1734|    152|        Py_ssize_t i; \
  |  | 1735|    152|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    312|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    312|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    624|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 312]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 160, False: 152]
  |  |  ------------------
  |  | 1737|    160|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    160|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    160|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    160|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 160]
  |  |  ------------------
  |  | 1739|    160|                return 0;                 \
  |  | 1740|    160|        } \
  |  | 1741|    152|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 152]
  |  |  ------------------
  ------------------
 2119|    152|        if (s->v.If.orelse)
  ------------------
  |  Branch (2119:13): [True: 4, False: 148]
  ------------------
 2120|      4|            VISIT_SEQ(st, stmt, s->v.If.orelse);
  ------------------
  |  | 1733|      4|    do { \
  |  | 1734|      4|        Py_ssize_t i; \
  |  | 1735|      4|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     10|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     10|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     20|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 6, False: 4]
  |  |  ------------------
  |  | 1737|      6|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      6|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 6]
  |  |  ------------------
  |  | 1739|      6|                return 0;                 \
  |  | 1740|      6|        } \
  |  | 1741|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2121|    152|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|    152|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2122|    152|        break;
 2123|    152|    }
 2124|      0|    case Match_kind: {
  ------------------
  |  Branch (2124:5): [True: 0, False: 1.51k]
  ------------------
 2125|      0|        VISIT(st, expr, s->v.Match.subject);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2126|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2127|      0|        VISIT_SEQ(st, match_case, s->v.Match.cases);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2128|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2129|      0|        break;
 2130|      0|    }
 2131|     50|    case Raise_kind:
  ------------------
  |  Branch (2131:5): [True: 50, False: 1.46k]
  ------------------
 2132|     50|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (2132:13): [True: 50, False: 0]
  ------------------
 2133|     50|            VISIT(st, expr, s->v.Raise.exc);
  ------------------
  |  | 1726|     50|    do { \
  |  | 1727|     50|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 50]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     50|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 2134|     50|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (2134:17): [True: 0, False: 50]
  ------------------
 2135|      0|                VISIT(st, expr, s->v.Raise.cause);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2136|      0|            }
 2137|     50|        }
 2138|     50|        break;
 2139|     50|    case Try_kind: {
  ------------------
  |  Branch (2139:5): [True: 0, False: 1.51k]
  ------------------
 2140|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2141|      0|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1774|      0|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1775|      0|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2142|      0|        VISIT_SEQ(st, stmt, s->v.Try.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2143|      0|        VISIT_SEQ(st, excepthandler, s->v.Try.handlers);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2144|      0|        VISIT_SEQ(st, stmt, s->v.Try.orelse);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2145|      0|        VISIT_SEQ(st, stmt, s->v.Try.finalbody);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2146|      0|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1778|      0|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2147|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2148|      0|        break;
 2149|      0|    }
 2150|      0|    case TryStar_kind: {
  ------------------
  |  Branch (2150:5): [True: 0, False: 1.51k]
  ------------------
 2151|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2152|      0|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1774|      0|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1775|      0|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2153|      0|        VISIT_SEQ(st, stmt, s->v.TryStar.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2154|      0|        VISIT_SEQ(st, excepthandler, s->v.TryStar.handlers);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2155|      0|        VISIT_SEQ(st, stmt, s->v.TryStar.orelse);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2156|      0|        VISIT_SEQ(st, stmt, s->v.TryStar.finalbody);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2157|      0|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1778|      0|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2158|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2159|      0|        break;
 2160|      0|    }
 2161|      2|    case Assert_kind:
  ------------------
  |  Branch (2161:5): [True: 2, False: 1.51k]
  ------------------
 2162|      2|        VISIT(st, expr, s->v.Assert.test);
  ------------------
  |  | 1726|      2|    do { \
  |  | 1727|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2163|      2|        if (s->v.Assert.msg)
  ------------------
  |  Branch (2163:13): [True: 2, False: 0]
  ------------------
 2164|      2|            VISIT(st, expr, s->v.Assert.msg);
  ------------------
  |  | 1726|      2|    do { \
  |  | 1727|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2165|      2|        break;
 2166|      8|    case Import_kind:
  ------------------
  |  Branch (2166:5): [True: 8, False: 1.51k]
  ------------------
 2167|      8|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2167:13): [True: 0, False: 8]
  ------------------
 2168|      0|            if (!check_lazy_import_context(st, s, "import")) {
  ------------------
  |  Branch (2168:17): [True: 0, False: 0]
  ------------------
 2169|      0|                return 0;
 2170|      0|            }
 2171|      0|        }
 2172|      8|        VISIT_SEQ(st, alias, s->v.Import.names);
  ------------------
  |  | 1733|      8|    do { \
  |  | 1734|      8|        Py_ssize_t i; \
  |  | 1735|      8|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     16|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     16|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 8, False: 8]
  |  |  ------------------
  |  | 1737|      8|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      8|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 8]
  |  |  ------------------
  |  | 1739|      8|                return 0;                 \
  |  | 1740|      8|        } \
  |  | 1741|      8|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2173|      8|        break;
 2174|     93|    case ImportFrom_kind:
  ------------------
  |  Branch (2174:5): [True: 93, False: 1.42k]
  ------------------
 2175|     93|        if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2175:13): [True: 0, False: 93]
  ------------------
 2176|      0|            if (!check_lazy_import_context(st, s, "from ... import")) {
  ------------------
  |  Branch (2176:17): [True: 0, False: 0]
  ------------------
 2177|      0|                return 0;
 2178|      0|            }
 2179|       |
 2180|       |            // Check for import *
 2181|      0|            for (Py_ssize_t i = 0; i < asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2181:36): [True: 0, False: 0]
  ------------------
 2182|      0|                 i++) {
 2183|      0|                alias_ty alias = (alias_ty)asdl_seq_GET(
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2184|      0|                    s->v.ImportFrom.names, i);
 2185|      0|                if (alias->name &&
  ------------------
  |  Branch (2185:21): [True: 0, False: 0]
  ------------------
 2186|      0|                        _PyUnicode_EqualToASCIIString(alias->name, "*")) {
  ------------------
  |  Branch (2186:25): [True: 0, False: 0]
  ------------------
 2187|      0|                    PyErr_SetString(PyExc_SyntaxError,
 2188|      0|                                    "lazy from ... import * is not allowed");
 2189|      0|                    SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2190|      0|                    return 0;
 2191|      0|                }
 2192|      0|            }
 2193|      0|        }
 2194|     93|        VISIT_SEQ(st, alias, s->v.ImportFrom.names);
  ------------------
  |  | 1733|     93|    do { \
  |  | 1734|     93|        Py_ssize_t i; \
  |  | 1735|     93|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    188|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    188|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    376|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 188]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 95, False: 93]
  |  |  ------------------
  |  | 1737|     95|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     95|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     95|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     95|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 95]
  |  |  ------------------
  |  | 1739|     95|                return 0;                 \
  |  | 1740|     95|        } \
  |  | 1741|     93|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2195|     93|        if (!check_import_from(st, s)) {
  ------------------
  |  Branch (2195:13): [True: 0, False: 93]
  ------------------
 2196|      0|            return 0;
 2197|      0|        }
 2198|     93|        break;
 2199|     93|    case Global_kind: {
  ------------------
  |  Branch (2199:5): [True: 0, False: 1.51k]
  ------------------
 2200|      0|        Py_ssize_t i;
 2201|      0|        asdl_identifier_seq *seq = s->v.Global.names;
 2202|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2202:21): [True: 0, False: 0]
  ------------------
 2203|      0|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2204|      0|            long cur = symtable_lookup(st, name);
 2205|      0|            if (cur < 0)
  ------------------
  |  Branch (2205:17): [True: 0, False: 0]
  ------------------
 2206|      0|                return 0;
 2207|      0|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|      0|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2207:17): [True: 0, False: 0]
  ------------------
 2208|      0|                const char* msg;
 2209|      0|                if (cur & DEF_PARAM) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2209:21): [True: 0, False: 0]
  ------------------
 2210|      0|                    msg = GLOBAL_PARAM;
  ------------------
  |  |   16|      0|#define GLOBAL_PARAM \
  |  |   17|      0|"name '%U' is parameter and global"
  ------------------
 2211|      0|                } else if (cur & USE) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2211:28): [True: 0, False: 0]
  ------------------
 2212|      0|                    msg = GLOBAL_AFTER_USE;
  ------------------
  |  |   28|      0|#define GLOBAL_AFTER_USE \
  |  |   29|      0|"name '%U' is used prior to global declaration"
  ------------------
 2213|      0|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  172|      0|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2213:28): [True: 0, False: 0]
  ------------------
 2214|      0|                    msg = GLOBAL_ANNOT;
  ------------------
  |  |   34|      0|#define GLOBAL_ANNOT \
  |  |   35|      0|"annotated name '%U' can't be global"
  ------------------
 2215|      0|                } else {  /* DEF_LOCAL */
 2216|      0|                    msg = GLOBAL_AFTER_ASSIGN;
  ------------------
  |  |   22|      0|#define GLOBAL_AFTER_ASSIGN \
  |  |   23|      0|"name '%U' is assigned to before global declaration"
  ------------------
 2217|      0|                }
 2218|      0|                PyErr_Format(PyExc_SyntaxError,
 2219|      0|                             msg, name);
 2220|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2221|      0|                return 0;
 2222|      0|            }
 2223|      0|            if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2223:17): [True: 0, False: 0]
  ------------------
 2224|      0|                return 0;
 2225|      0|            }
 2226|      0|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2226:17): [True: 0, False: 0]
  ------------------
 2227|      0|                return 0;
 2228|      0|            }
 2229|      0|        }
 2230|      0|        break;
 2231|      0|    }
 2232|      0|    case Nonlocal_kind: {
  ------------------
  |  Branch (2232:5): [True: 0, False: 1.51k]
  ------------------
 2233|      0|        Py_ssize_t i;
 2234|      0|        asdl_identifier_seq *seq = s->v.Nonlocal.names;
 2235|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2235:21): [True: 0, False: 0]
  ------------------
 2236|      0|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2237|      0|            long cur = symtable_lookup(st, name);
 2238|      0|            if (cur < 0)
  ------------------
  |  Branch (2238:17): [True: 0, False: 0]
  ------------------
 2239|      0|                return 0;
 2240|      0|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|      0|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2240:17): [True: 0, False: 0]
  ------------------
 2241|      0|                const char* msg;
 2242|      0|                if (cur & DEF_PARAM) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2242:21): [True: 0, False: 0]
  ------------------
 2243|      0|                    msg = NONLOCAL_PARAM;
  ------------------
  |  |   19|      0|#define NONLOCAL_PARAM \
  |  |   20|      0|"name '%U' is parameter and nonlocal"
  ------------------
 2244|      0|                } else if (cur & USE) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2244:28): [True: 0, False: 0]
  ------------------
 2245|      0|                    msg = NONLOCAL_AFTER_USE;
  ------------------
  |  |   31|      0|#define NONLOCAL_AFTER_USE \
  |  |   32|      0|"name '%U' is used prior to nonlocal declaration"
  ------------------
 2246|      0|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  172|      0|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2246:28): [True: 0, False: 0]
  ------------------
 2247|      0|                    msg = NONLOCAL_ANNOT;
  ------------------
  |  |   37|      0|#define NONLOCAL_ANNOT \
  |  |   38|      0|"annotated name '%U' can't be nonlocal"
  ------------------
 2248|      0|                } else {  /* DEF_LOCAL */
 2249|      0|                    msg = NONLOCAL_AFTER_ASSIGN;
  ------------------
  |  |   25|      0|#define NONLOCAL_AFTER_ASSIGN \
  |  |   26|      0|"name '%U' is assigned to before nonlocal declaration"
  ------------------
 2250|      0|                }
 2251|      0|                PyErr_Format(PyExc_SyntaxError, msg, name);
 2252|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2253|      0|                return 0;
 2254|      0|            }
 2255|      0|            if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |  168|      0|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      0|                return 0;
 2257|      0|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      0|                return 0;
 2259|      0|            }
 2260|      0|        }
 2261|      0|        break;
 2262|      0|    }
 2263|    194|    case Expr_kind:
  ------------------
  |  Branch (2263:5): [True: 194, False: 1.32k]
  ------------------
 2264|    194|        VISIT(st, expr, s->v.Expr.value);
  ------------------
  |  | 1726|    194|    do { \
  |  | 1727|    194|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 194]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    194|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 194]
  |  |  ------------------
  ------------------
 2265|    194|        break;
 2266|    194|    case Pass_kind:
  ------------------
  |  Branch (2266:5): [True: 0, False: 1.51k]
  ------------------
 2267|      0|    case Break_kind:
  ------------------
  |  Branch (2267:5): [True: 0, False: 1.51k]
  ------------------
 2268|      0|    case Continue_kind:
  ------------------
  |  Branch (2268:5): [True: 0, False: 1.51k]
  ------------------
 2269|       |        /* nothing to do here */
 2270|      0|        break;
 2271|      0|    case With_kind: {
  ------------------
  |  Branch (2271:5): [True: 0, False: 1.51k]
  ------------------
 2272|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2273|      0|        VISIT_SEQ(st, withitem, s->v.With.items);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2274|      0|        VISIT_SEQ(st, stmt, s->v.With.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2275|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2276|      0|        break;
 2277|      0|    }
 2278|      0|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (2278:5): [True: 0, False: 1.51k]
  ------------------
 2279|      0|        if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2279:13): [True: 0, False: 0]
  ------------------
 2280|      0|            return 0;
 2281|      0|        if (s->v.AsyncFunctionDef.args->defaults)
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  ------------------
 2282|      0|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2283|      0|        if (s->v.AsyncFunctionDef.args->kw_defaults)
  ------------------
  |  Branch (2283:13): [True: 0, False: 0]
  ------------------
 2284|      0|            VISIT_SEQ_WITH_NULL(st, expr,
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        int i = 0; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1762|      0|                return 0;             \
  |  | 1763|      0|        } \
  |  | 1764|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2285|      0|                                s->v.AsyncFunctionDef.args->kw_defaults);
 2286|      0|        if (s->v.AsyncFunctionDef.decorator_list)
  ------------------
  |  Branch (2286:13): [True: 0, False: 0]
  ------------------
 2287|      0|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2288|      0|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2288:13): [True: 0, False: 0]
  ------------------
 2289|      0|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2289:17): [True: 0, False: 0]
  ------------------
 2290|      0|                    st, s->v.AsyncFunctionDef.name,
 2291|      0|                    (void *)s->v.AsyncFunctionDef.type_params,
 2292|      0|                    s->v.AsyncFunctionDef.args->defaults != NULL,
 2293|      0|                    has_kwonlydefaults(s->v.AsyncFunctionDef.args->kwonlyargs,
 2294|      0|                                       s->v.AsyncFunctionDef.args->kw_defaults),
 2295|      0|                    s->kind,
 2296|      0|                    LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2297|      0|                return 0;
 2298|      0|            }
 2299|      0|            VISIT_SEQ(st, type_param, s->v.AsyncFunctionDef.type_params);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2300|      0|        }
 2301|      0|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 2302|      0|                                           LOCATION(s));
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2303|      0|        if (!new_ste) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 0]
  ------------------
 2304|      0|            return 0;
 2305|      0|        }
 2306|       |
 2307|      0|        if (_PyAST_GetDocString(s->v.AsyncFunctionDef.body)) {
  ------------------
  |  Branch (2307:13): [True: 0, False: 0]
  ------------------
 2308|      0|            new_ste->ste_has_docstring = 1;
 2309|      0|        }
 2310|       |
 2311|      0|        if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args,
  ------------------
  |  Branch (2311:13): [True: 0, False: 0]
  ------------------
 2312|      0|                                        s->v.AsyncFunctionDef.returns, new_ste)) {
 2313|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|      0|            return 0;
 2315|      0|        }
 2316|      0|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (2316:13): [True: 0, False: 0]
  ------------------
 2317|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      0|            return 0;
 2319|      0|        }
 2320|      0|        Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|       |
 2322|      0|        st->st_cur->ste_coroutine = 1;
 2323|      0|        VISIT(st, arguments, s->v.AsyncFunctionDef.args);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2324|      0|        VISIT_SEQ(st, stmt, s->v.AsyncFunctionDef.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2325|      0|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2325:13): [True: 0, False: 0]
  ------------------
 2326|      0|            return 0;
 2327|      0|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2327:13): [True: 0, False: 0]
  ------------------
 2328|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2328:17): [True: 0, False: 0]
  ------------------
 2329|      0|                return 0;
 2330|      0|        }
 2331|      0|        break;
 2332|      0|    }
 2333|      0|    case AsyncWith_kind: {
  ------------------
  |  Branch (2333:5): [True: 0, False: 1.51k]
  ------------------
 2334|      0|        maybe_set_ste_coroutine_for_module(st, s);
 2335|      0|        if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   78|      0|#define ASYNC_WITH_OUTSIDE_ASYNC_FUNC \
  |  |   79|      0|"'async with' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2335:13): [True: 0, False: 0]
  ------------------
 2336|      0|            return 0;
 2337|      0|        }
 2338|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2339|      0|        VISIT_SEQ(st, withitem, s->v.AsyncWith.items);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2340|      0|        VISIT_SEQ(st, stmt, s->v.AsyncWith.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2341|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2342|      0|        break;
 2343|      0|    }
 2344|      0|    case AsyncFor_kind: {
  ------------------
  |  Branch (2344:5): [True: 0, False: 1.51k]
  ------------------
 2345|      0|        maybe_set_ste_coroutine_for_module(st, s);
 2346|      0|        if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   81|      0|#define ASYNC_FOR_OUTSIDE_ASYNC_FUNC \
  |  |   82|      0|"'async for' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2346:13): [True: 0, False: 0]
  ------------------
 2347|      0|            return 0;
 2348|      0|        }
 2349|      0|        VISIT(st, expr, s->v.AsyncFor.target);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2350|      0|        VISIT(st, expr, s->v.AsyncFor.iter);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2351|      0|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      0|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      0|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2352|      0|        VISIT_SEQ(st, stmt, s->v.AsyncFor.body);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2353|      0|        if (s->v.AsyncFor.orelse)
  ------------------
  |  Branch (2353:13): [True: 0, False: 0]
  ------------------
 2354|      0|            VISIT_SEQ(st, stmt, s->v.AsyncFor.orelse);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2355|      0|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      0|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2356|      0|        break;
 2357|      0|    }
 2358|  1.51k|    }
 2359|  1.51k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1785|  1.51k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2360|  1.51k|    return 1;
 2361|  1.51k|}
symtable.c:symtable_visit_annotations:
 2917|    444|{
 2918|    444|    int is_in_class = st->st_cur->ste_can_see_class_scope;
 2919|    444|    _Py_block_ty current_type = st->st_cur->ste_type;
 2920|    444|    if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  919|    444|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    444|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    444|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2920:9): [True: 0, False: 444]
  ------------------
 2921|    444|                              (void *)a, LOCATION(o))) {
  ------------------
  |  |   84|    444|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    444|    (_Py_SourceLocation){ \
  |  |  |  |   55|    444|               .lineno = (n)->lineno, \
  |  |  |  |   56|    444|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    444|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    444|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2922|      0|        return 0;
 2923|      0|    }
 2924|    444|    Py_XSETREF(st->st_cur->ste_function_name, Py_NewRef(function_ste->ste_name));
  ------------------
  |  |  374|    444|    do { \
  |  |  375|    444|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    444|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    444|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    444|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    444|        *_tmp_dst_ptr = (src); \
  |  |  378|    444|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    444|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    444|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 2925|    444|    if (is_in_class || current_type == ClassBlock) {
  ------------------
  |  Branch (2925:9): [True: 0, False: 444]
  |  Branch (2925:24): [True: 0, False: 444]
  ------------------
 2926|      0|        st->st_cur->ste_can_see_class_scope = 1;
 2927|      0|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2927:13): [True: 0, False: 0]
  ------------------
 2928|      0|            return 0;
 2929|      0|        }
 2930|      0|    }
 2931|    444|    if (a->posonlyargs && !symtable_visit_argannotations(st, a->posonlyargs))
  ------------------
  |  Branch (2931:9): [True: 444, False: 0]
  |  Branch (2931:27): [True: 0, False: 444]
  ------------------
 2932|      0|        return 0;
 2933|    444|    if (a->args && !symtable_visit_argannotations(st, a->args))
  ------------------
  |  Branch (2933:9): [True: 444, False: 0]
  |  Branch (2933:20): [True: 0, False: 444]
  ------------------
 2934|      0|        return 0;
 2935|    444|    if (a->vararg && a->vararg->annotation) {
  ------------------
  |  Branch (2935:9): [True: 4, False: 440]
  |  Branch (2935:22): [True: 0, False: 4]
  ------------------
 2936|      0|        st->st_cur->ste_annotations_used = 1;
 2937|      0|        VISIT(st, expr, a->vararg->annotation);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2938|      0|    }
 2939|    444|    if (a->kwarg && a->kwarg->annotation) {
  ------------------
  |  Branch (2939:9): [True: 2, False: 442]
  |  Branch (2939:21): [True: 0, False: 2]
  ------------------
 2940|      0|        st->st_cur->ste_annotations_used = 1;
 2941|      0|        VISIT(st, expr, a->kwarg->annotation);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2942|      0|    }
 2943|    444|    if (a->kwonlyargs && !symtable_visit_argannotations(st, a->kwonlyargs))
  ------------------
  |  Branch (2943:9): [True: 444, False: 0]
  |  Branch (2943:26): [True: 0, False: 444]
  ------------------
 2944|      0|        return 0;
 2945|    444|    if (returns) {
  ------------------
  |  Branch (2945:9): [True: 6, False: 438]
  ------------------
 2946|      6|        st->st_cur->ste_annotations_used = 1;
 2947|      6|        VISIT(st, expr, returns);
  ------------------
  |  | 1726|      6|    do { \
  |  | 1727|      6|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 6]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      6|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 6]
  |  |  ------------------
  ------------------
 2948|      6|    }
 2949|    444|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2949:9): [True: 0, False: 444]
  ------------------
 2950|      0|        return 0;
 2951|      0|    }
 2952|    444|    return 1;
 2953|    444|}
symtable.c:symtable_visit_argannotations:
 2900|  1.33k|{
 2901|  1.33k|    Py_ssize_t i;
 2902|       |
 2903|  2.40k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  2.40k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2903:17): [True: 1.07k, False: 1.33k]
  ------------------
 2904|  1.07k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  1.07k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2905|  1.07k|        if (arg->annotation) {
  ------------------
  |  Branch (2905:13): [True: 12, False: 1.06k]
  ------------------
 2906|     12|            st->st_cur->ste_annotations_used = 1;
 2907|     12|            VISIT(st, expr, arg->annotation);
  ------------------
  |  | 1726|     12|    do { \
  |  | 1727|     12|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 12]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     12|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 12]
  |  |  ------------------
  ------------------
 2908|     12|        }
 2909|  1.07k|    }
 2910|       |
 2911|  1.33k|    return 1;
 2912|  1.33k|}
symtable.c:symtable_visit_arguments:
 2957|    508|{
 2958|       |    /* skip default arguments inside function block
 2959|       |       XXX should ast be different?
 2960|       |    */
 2961|    508|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2961:9): [True: 508, False: 0]
  |  Branch (2961:27): [True: 0, False: 508]
  ------------------
 2962|      0|        return 0;
 2963|    508|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2963:9): [True: 508, False: 0]
  |  Branch (2963:20): [True: 0, False: 508]
  ------------------
 2964|      0|        return 0;
 2965|    508|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2965:9): [True: 508, False: 0]
  |  Branch (2965:26): [True: 0, False: 508]
  ------------------
 2966|      0|        return 0;
 2967|    508|    if (a->vararg) {
  ------------------
  |  Branch (2967:9): [True: 4, False: 504]
  ------------------
 2968|      4|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  167|      4|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   84|      4|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      4|    (_Py_SourceLocation){ \
  |  |  |  |   55|      4|               .lineno = (n)->lineno, \
  |  |  |  |   56|      4|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      4|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      4|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2968:13): [True: 0, False: 4]
  ------------------
 2969|      0|            return 0;
 2970|      4|        st->st_cur->ste_varargs = 1;
 2971|      4|    }
 2972|    508|    if (a->kwarg) {
  ------------------
  |  Branch (2972:9): [True: 2, False: 506]
  ------------------
 2973|      2|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  167|      2|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   84|      2|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2973:13): [True: 0, False: 2]
  ------------------
 2974|      0|            return 0;
 2975|      2|        st->st_cur->ste_varkeywords = 1;
 2976|      2|    }
 2977|    508|    return 1;
 2978|    508|}
symtable.c:symtable_visit_params:
 2832|  1.52k|{
 2833|  1.52k|    Py_ssize_t i;
 2834|       |
 2835|  2.92k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  2.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2835:17): [True: 1.40k, False: 1.52k]
  ------------------
 2836|  1.40k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  1.40k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2837|  1.40k|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  167|  1.40k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   84|  1.40k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.40k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.40k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.40k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.40k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.40k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2837:13): [True: 0, False: 1.40k]
  ------------------
 2838|      0|            return 0;
 2839|  1.40k|    }
 2840|       |
 2841|  1.52k|    return 1;
 2842|  1.52k|}
symtable.c:check_keywords:
 1613|    687|{
 1614|    895|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|    895|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 593, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1614:28): [True: 208, False: 687]
  ------------------
 1615|    208|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|    208|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1616|    208|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   84|    206|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    206|    (_Py_SourceLocation){ \
  |  |  |  |   55|    206|               .lineno = (n)->lineno, \
  |  |  |  |   56|    206|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    206|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    206|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1616:13): [True: 206, False: 2]
  |  Branch (1616:26): [True: 0, False: 206]
  ------------------
 1617|      0|            return 0;
 1618|      0|        }
 1619|    208|    }
 1620|    687|    return 1;
 1621|    687|}
symtable.c:symtable_visit_keyword:
 3070|    208|{
 3071|    208|    VISIT(st, expr, k->value);
  ------------------
  |  | 1726|    208|    do { \
  |  | 1727|    208|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 208]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    208|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 208]
  |  |  ------------------
  ------------------
 3072|    208|    return 1;
 3073|    208|}
symtable.c:symtable_visit_alias:
 3016|    103|{
 3017|       |    /* Compute store_name, the name actually bound by the import
 3018|       |       operation.  It is different than a->name when a->name is a
 3019|       |       dotted package name (e.g. spam.eggs)
 3020|       |    */
 3021|    103|    PyObject *store_name;
 3022|    103|    PyObject *name = (a->asname == NULL) ? a->name : a->asname;
  ------------------
  |  Branch (3022:22): [True: 101, False: 2]
  ------------------
 3023|    103|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 3024|    103|                                        PyUnicode_GET_LENGTH(name), 1);
  ------------------
  |  |  299|    103|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3025|    103|    if (dot != -1) {
  ------------------
  |  Branch (3025:9): [True: 0, False: 103]
  ------------------
 3026|      0|        store_name = PyUnicode_Substring(name, 0, dot);
 3027|      0|        if (!store_name)
  ------------------
  |  Branch (3027:13): [True: 0, False: 0]
  ------------------
 3028|      0|            return 0;
 3029|      0|    }
 3030|    103|    else {
 3031|    103|        store_name = Py_NewRef(name);
  ------------------
  |  |  550|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|    103|    }
 3033|    103|    if (!_PyUnicode_EqualToASCIIString(name, "*")) {
  ------------------
  |  Branch (3033:9): [True: 103, False: 0]
  ------------------
 3034|    103|        int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |  171|    103|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
                      int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |   84|    103|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    103|    (_Py_SourceLocation){ \
  |  |  |  |   55|    103|               .lineno = (n)->lineno, \
  |  |  |  |   56|    103|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    103|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    103|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3035|    103|        Py_DECREF(store_name);
  ------------------
  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3036|    103|        return r;
 3037|    103|    }
 3038|      0|    else {
 3039|      0|        if (st->st_cur->ste_type != ModuleBlock) {
  ------------------
  |  Branch (3039:13): [True: 0, False: 0]
  ------------------
 3040|      0|            PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
  ------------------
  |  |   40|      0|#define IMPORT_STAR_WARNING "import * only allowed at module level"
  ------------------
 3041|      0|            SET_ERROR_LOCATION(st->st_filename, LOCATION(a));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3042|      0|            Py_DECREF(store_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      0|            return 0;
 3044|      0|        }
 3045|      0|        Py_DECREF(store_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      0|        return 1;
 3047|      0|    }
 3048|    103|}
symtable.c:check_import_from:
 1824|     93|{
 1825|     93|    assert(s->kind == ImportFrom_kind);
 1826|     93|    _Py_SourceLocation fut = st->st_future->ff_location;
 1827|     93|    if (s->v.ImportFrom.module && s->v.ImportFrom.level == 0 &&
  ------------------
  |  Branch (1827:9): [True: 93, False: 0]
  |  Branch (1827:35): [True: 93, False: 0]
  ------------------
 1828|     93|        _PyUnicode_EqualToASCIIString(s->v.ImportFrom.module, "__future__") &&
  ------------------
  |  Branch (1828:9): [True: 0, False: 93]
  ------------------
 1829|      0|        ((s->lineno > fut.lineno) ||
  ------------------
  |  Branch (1829:10): [True: 0, False: 0]
  ------------------
 1830|      0|         ((s->lineno == fut.end_lineno) && (s->col_offset > fut.end_col_offset))))
  ------------------
  |  Branch (1830:11): [True: 0, False: 0]
  |  Branch (1830:44): [True: 0, False: 0]
  ------------------
 1831|      0|    {
 1832|      0|        PyErr_SetString(PyExc_SyntaxError,
 1833|      0|                        "from __future__ imports must occur "
 1834|      0|                        "at the beginning of the file");
 1835|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1836|      0|        return 0;
 1837|      0|    }
 1838|     93|    return 1;
 1839|     93|}
symtable.c:symtable_visit_expr:
 2481|  7.63k|{
 2482|  7.63k|    ENTER_RECURSIVE();
  ------------------
  |  | 1780|  7.63k|#define ENTER_RECURSIVE() \
  |  | 1781|  7.63k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1781:5): [True: 0, False: 7.63k]
  |  |  ------------------
  |  | 1782|      0|    return 0; \
  |  | 1783|      0|}
  ------------------
 2483|  7.63k|    switch (e->kind) {
  ------------------
  |  Branch (2483:13): [True: 7.63k, False: 0]
  ------------------
 2484|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (2484:5): [True: 0, False: 7.63k]
  ------------------
 2485|      0|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 0]
  ------------------
 2486|      0|            return 0;
 2487|      0|        }
 2488|      0|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2488:12): [True: 0, False: 0]
  ------------------
 2489|      0|            return 0;
 2490|      0|        break;
 2491|     88|    case BoolOp_kind:
  ------------------
  |  Branch (2491:5): [True: 88, False: 7.54k]
  ------------------
 2492|     88|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1733|     88|    do { \
  |  | 1734|     88|        Py_ssize_t i; \
  |  | 1735|     88|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    386|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    386|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    772|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 386]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 298, False: 88]
  |  |  ------------------
  |  | 1737|    298|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    298|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    298|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 298]
  |  |  ------------------
  |  | 1739|    298|                return 0;                 \
  |  | 1740|    298|        } \
  |  | 1741|     88|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2493|     88|        break;
 2494|     88|    case BinOp_kind:
  ------------------
  |  Branch (2494:5): [True: 14, False: 7.62k]
  ------------------
 2495|     14|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1726|     14|    do { \
  |  | 1727|     14|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     14|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2496|     14|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1726|     14|    do { \
  |  | 1727|     14|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     14|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2497|     14|        break;
 2498|     14|    case UnaryOp_kind:
  ------------------
  |  Branch (2498:5): [True: 2, False: 7.63k]
  ------------------
 2499|      2|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1726|      2|    do { \
  |  | 1727|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2500|      2|        break;
 2501|     64|    case Lambda_kind: {
  ------------------
  |  Branch (2501:5): [True: 64, False: 7.57k]
  ------------------
 2502|     64|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2502:13): [True: 64, False: 0]
  ------------------
 2503|     64|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1733|     64|    do { \
  |  | 1734|     64|        Py_ssize_t i; \
  |  | 1735|     64|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     64|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     64|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 64]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|     64|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2504|     64|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2504:13): [True: 64, False: 0]
  ------------------
 2505|     64|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1755|     64|    do { \
  |  | 1756|     64|        int i = 0; \
  |  | 1757|     64|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|     64|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     64|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 64]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1762|      0|                return 0;             \
  |  | 1763|      0|        } \
  |  | 1764|     64|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2506|     64|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  921|     64|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     64|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     64|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2506:13): [True: 0, False: 64]
  ------------------
 2507|     64|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|     64|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     64|    (_Py_SourceLocation){ \
  |  |  |  |   55|     64|               .lineno = (n)->lineno, \
  |  |  |  |   56|     64|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     64|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     64|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2508|      0|            return 0;
 2509|      0|        }
 2510|     64|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1726|     64|    do { \
  |  | 1727|     64|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 64]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     64|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2511|     64|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1726|     64|    do { \
  |  | 1727|     64|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 64]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     64|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 64]
  |  |  ------------------
  ------------------
 2512|     64|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2512:13): [True: 0, False: 64]
  ------------------
 2513|      0|            return 0;
 2514|     64|        break;
 2515|     64|    }
 2516|     64|    case IfExp_kind:
  ------------------
  |  Branch (2516:5): [True: 10, False: 7.62k]
  ------------------
 2517|     10|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1726|     10|    do { \
  |  | 1727|     10|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2518|     10|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1726|     10|    do { \
  |  | 1727|     10|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2519|     10|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1726|     10|    do { \
  |  | 1727|     10|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 10]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
 2520|     10|        break;
 2521|     10|    case Dict_kind:
  ------------------
  |  Branch (2521:5): [True: 0, False: 7.63k]
  ------------------
 2522|      0|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1755|      0|    do { \
  |  | 1756|      0|        int i = 0; \
  |  | 1757|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1759|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|      0|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1761|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1762|      0|                return 0;             \
  |  | 1763|      0|        } \
  |  | 1764|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2523|      0|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2524|      0|        break;
 2525|     48|    case Set_kind:
  ------------------
  |  Branch (2525:5): [True: 48, False: 7.58k]
  ------------------
 2526|     48|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1733|     48|    do { \
  |  | 1734|     48|        Py_ssize_t i; \
  |  | 1735|     48|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    296|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    296|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    592|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 296]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 248, False: 48]
  |  |  ------------------
  |  | 1737|    248|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    248|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    248|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    248|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 248]
  |  |  ------------------
  |  | 1739|    248|                return 0;                 \
  |  | 1740|    248|        } \
  |  | 1741|     48|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2527|     48|        break;
 2528|     48|    case GeneratorExp_kind:
  ------------------
  |  Branch (2528:5): [True: 0, False: 7.63k]
  ------------------
 2529|      0|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2529:13): [True: 0, False: 0]
  ------------------
 2530|      0|            return 0;
 2531|      0|        break;
 2532|      0|    case ListComp_kind:
  ------------------
  |  Branch (2532:5): [True: 0, False: 7.63k]
  ------------------
 2533|      0|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2533:13): [True: 0, False: 0]
  ------------------
 2534|      0|            return 0;
 2535|      0|        break;
 2536|      0|    case SetComp_kind:
  ------------------
  |  Branch (2536:5): [True: 0, False: 7.63k]
  ------------------
 2537|      0|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2537:13): [True: 0, False: 0]
  ------------------
 2538|      0|            return 0;
 2539|      0|        break;
 2540|      0|    case DictComp_kind:
  ------------------
  |  Branch (2540:5): [True: 0, False: 7.63k]
  ------------------
 2541|      0|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2541:13): [True: 0, False: 0]
  ------------------
 2542|      0|            return 0;
 2543|      0|        break;
 2544|      0|    case Yield_kind:
  ------------------
  |  Branch (2544:5): [True: 0, False: 7.63k]
  ------------------
 2545|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2545:13): [True: 0, False: 0]
  ------------------
 2546|      0|            return 0;
 2547|      0|        }
 2548|      0|        if (e->v.Yield.value)
  ------------------
  |  Branch (2548:13): [True: 0, False: 0]
  ------------------
 2549|      0|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2550|      0|        st->st_cur->ste_generator = 1;
 2551|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2551:13): [True: 0, False: 0]
  ------------------
 2552|      0|            return symtable_raise_if_comprehension_block(st, e);
 2553|      0|        }
 2554|      0|        break;
 2555|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (2555:5): [True: 0, False: 7.63k]
  ------------------
 2556|      0|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2556:13): [True: 0, False: 0]
  ------------------
 2557|      0|            return 0;
 2558|      0|        }
 2559|      0|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2560|      0|        st->st_cur->ste_generator = 1;
 2561|      0|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 0]
  ------------------
 2562|      0|            return symtable_raise_if_comprehension_block(st, e);
 2563|      0|        }
 2564|      0|        break;
 2565|      0|    case Await_kind:
  ------------------
  |  Branch (2565:5): [True: 0, False: 7.63k]
  ------------------
 2566|      0|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2566:13): [True: 0, False: 0]
  ------------------
 2567|      0|            return 0;
 2568|      0|        }
 2569|      0|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2569:13): [True: 0, False: 0]
  ------------------
 2570|      0|            if (!_PyST_IsFunctionLike(st->st_cur)) {
  ------------------
  |  Branch (2570:17): [True: 0, False: 0]
  ------------------
 2571|      0|                PyErr_SetString(PyExc_SyntaxError,
 2572|      0|                                "'await' outside function");
 2573|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2574|      0|                return 0;
 2575|      0|            }
 2576|      0|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   90|      0|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (90:27): [True: 0, False: 0]
  |  |  |  Branch (90:70): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2576:38): [True: 0, False: 0]
  ------------------
 2577|      0|                PyErr_SetString(PyExc_SyntaxError,
 2578|      0|                                "'await' outside async function");
 2579|      0|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2580|      0|                return 0;
 2581|      0|            }
 2582|      0|        }
 2583|      0|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2584|      0|        st->st_cur->ste_coroutine = 1;
 2585|      0|        break;
 2586|    414|    case Compare_kind:
  ------------------
  |  Branch (2586:5): [True: 414, False: 7.22k]
  ------------------
 2587|    414|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1726|    414|    do { \
  |  | 1727|    414|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 414]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    414|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 414]
  |  |  ------------------
  ------------------
 2588|    414|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1733|    414|    do { \
  |  | 1734|    414|        Py_ssize_t i; \
  |  | 1735|    414|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    830|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    830|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 830]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 416, False: 414]
  |  |  ------------------
  |  | 1737|    416|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    416|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    416|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    416|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 416]
  |  |  ------------------
  |  | 1739|    416|                return 0;                 \
  |  | 1740|    416|        } \
  |  | 1741|    414|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 414]
  |  |  ------------------
  ------------------
 2589|    414|        break;
 2590|    687|    case Call_kind:
  ------------------
  |  Branch (2590:5): [True: 687, False: 6.94k]
  ------------------
 2591|    687|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1726|    687|    do { \
  |  | 1727|    687|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 687]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    687|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 687]
  |  |  ------------------
  ------------------
 2592|    687|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1733|    687|    do { \
  |  | 1734|    687|        Py_ssize_t i; \
  |  | 1735|    687|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  1.63k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.63k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 158, False: 1.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 947, False: 687]
  |  |  ------------------
  |  | 1737|    947|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    947|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    947|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    947|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 947]
  |  |  ------------------
  |  | 1739|    947|                return 0;                 \
  |  | 1740|    947|        } \
  |  | 1741|    687|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 687]
  |  |  ------------------
  ------------------
 2593|    687|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2593:13): [True: 0, False: 687]
  ------------------
 2594|      0|            return 0;
 2595|      0|        }
 2596|    687|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1755|    687|    do { \
  |  | 1756|    687|        int i = 0; \
  |  | 1757|    687|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|    895|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    895|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 593, False: 302]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 208, False: 687]
  |  |  ------------------
  |  | 1759|    208|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    208|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    208|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 208]
  |  |  ------------------
  |  | 1761|    208|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 208]
  |  |  ------------------
  |  | 1762|    208|                return 0;             \
  |  | 1763|    208|        } \
  |  | 1764|    687|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 687]
  |  |  ------------------
  ------------------
 2597|    687|        break;
 2598|    687|    case FormattedValue_kind:
  ------------------
  |  Branch (2598:5): [True: 292, False: 7.34k]
  ------------------
 2599|    292|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1726|    292|    do { \
  |  | 1727|    292|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 292]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    292|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 292]
  |  |  ------------------
  ------------------
 2600|    292|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2600:13): [True: 0, False: 292]
  ------------------
 2601|      0|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2602|    292|        break;
 2603|    292|    case Interpolation_kind:
  ------------------
  |  Branch (2603:5): [True: 0, False: 7.63k]
  ------------------
 2604|      0|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2605|      0|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2605:13): [True: 0, False: 0]
  ------------------
 2606|      0|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2607|      0|        break;
 2608|     94|    case JoinedStr_kind:
  ------------------
  |  Branch (2608:5): [True: 94, False: 7.54k]
  ------------------
 2609|     94|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1733|     94|    do { \
  |  | 1734|     94|        Py_ssize_t i; \
  |  | 1735|     94|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    678|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    678|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 678]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 584, False: 94]
  |  |  ------------------
  |  | 1737|    584|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    584|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    584|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    584|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 584]
  |  |  ------------------
  |  | 1739|    584|                return 0;                 \
  |  | 1740|    584|        } \
  |  | 1741|     94|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 94]
  |  |  ------------------
  ------------------
 2610|     94|        break;
 2611|     94|    case TemplateStr_kind:
  ------------------
  |  Branch (2611:5): [True: 0, False: 7.63k]
  ------------------
 2612|      0|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2613|      0|        break;
 2614|    800|    case Constant_kind:
  ------------------
  |  Branch (2614:5): [True: 800, False: 6.83k]
  ------------------
 2615|       |        /* Nothing to do here. */
 2616|    800|        break;
 2617|       |    /* The following exprs can be assignment targets. */
 2618|  1.29k|    case Attribute_kind:
  ------------------
  |  Branch (2618:5): [True: 1.29k, False: 6.34k]
  ------------------
 2619|  1.29k|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   84|  1.29k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.29k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.29k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.29k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.29k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.29k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2619:13): [True: 0, False: 1.29k]
  ------------------
 2620|      0|            return 0;
 2621|      0|        }
 2622|  1.29k|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1726|  1.29k|    do { \
  |  | 1727|  1.29k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1.29k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  1.29k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 2623|  1.29k|        break;
 2624|  1.29k|    case Subscript_kind:
  ------------------
  |  Branch (2624:5): [True: 12, False: 7.62k]
  ------------------
 2625|     12|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1726|     12|    do { \
  |  | 1727|     12|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 12]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     12|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 12]
  |  |  ------------------
  ------------------
 2626|     12|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1726|     12|    do { \
  |  | 1727|     12|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 12]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     12|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 12]
  |  |  ------------------
  ------------------
 2627|     12|        break;
 2628|     12|    case Starred_kind:
  ------------------
  |  Branch (2628:5): [True: 4, False: 7.63k]
  ------------------
 2629|      4|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1726|      4|    do { \
  |  | 1727|      4|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2630|      4|        break;
 2631|      4|    case Slice_kind:
  ------------------
  |  Branch (2631:5): [True: 0, False: 7.63k]
  ------------------
 2632|      0|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2632:13): [True: 0, False: 0]
  ------------------
 2633|      0|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2634|      0|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2634:13): [True: 0, False: 0]
  ------------------
 2635|      0|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2636|      0|        if (e->v.Slice.step)
  ------------------
  |  Branch (2636:13): [True: 0, False: 0]
  ------------------
 2637|      0|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1726|      0|    do { \
  |  | 1727|      0|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2638|      0|        break;
 2639|  3.66k|    case Name_kind:
  ------------------
  |  Branch (2639:5): [True: 3.66k, False: 3.96k]
  ------------------
 2640|  3.66k|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2640:13): [True: 3.66k, False: 0]
  ------------------
 2641|  3.66k|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2641:17): [True: 0, False: 3.66k]
  ------------------
 2642|  3.66k|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  169|  3.63k|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  166|     32|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2642:37): [True: 3.63k, False: 32]
  ------------------
 2643|  3.66k|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   84|  3.66k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  3.66k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  3.66k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  3.66k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  3.66k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  3.66k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2644|      0|                return 0;
 2645|      0|            }
 2646|       |            /* Special-case super: it counts as a use of __class__ */
 2647|  3.66k|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2647:17): [True: 3.63k, False: 32]
  ------------------
 2648|  3.63k|                _PyST_IsFunctionLike(st->st_cur) &&
  ------------------
  |  Branch (2648:17): [True: 3.60k, False: 34]
  ------------------
 2649|  3.60k|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2649:17): [True: 48, False: 3.55k]
  ------------------
 2650|     48|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  919|     48|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     48|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     48|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  169|     48|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   84|     48|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     48|    (_Py_SourceLocation){ \
  |  |  |  |   55|     48|               .lineno = (n)->lineno, \
  |  |  |  |   56|     48|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     48|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     48|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2650:21): [True: 0, False: 48]
  ------------------
 2651|      0|                    return 0;
 2652|     48|            }
 2653|  3.66k|        }
 2654|  3.66k|        break;
 2655|       |    /* child nodes of List and Tuple will have expr_context set */
 2656|  3.66k|    case List_kind:
  ------------------
  |  Branch (2656:5): [True: 0, False: 7.63k]
  ------------------
 2657|      0|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1733|      0|    do { \
  |  | 1734|      0|        Py_ssize_t i; \
  |  | 1735|      0|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      0|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1737|      0|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      0|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1739|      0|                return 0;                 \
  |  | 1740|      0|        } \
  |  | 1741|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2658|      0|        break;
 2659|    142|    case Tuple_kind:
  ------------------
  |  Branch (2659:5): [True: 142, False: 7.49k]
  ------------------
 2660|    142|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1733|    142|    do { \
  |  | 1734|    142|        Py_ssize_t i; \
  |  | 1735|    142|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    762|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    762|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 762]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 620, False: 142]
  |  |  ------------------
  |  | 1737|    620|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    620|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    620|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    620|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 620]
  |  |  ------------------
  |  | 1739|    620|                return 0;                 \
  |  | 1740|    620|        } \
  |  | 1741|    142|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 142]
  |  |  ------------------
  ------------------
 2661|    142|        break;
 2662|  7.63k|    }
 2663|  7.63k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1785|  7.63k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2664|  7.63k|    return 1;
 2665|  7.63k|}

PySys_GetAttrString:
  103|      4|{
  104|      4|    PyThreadState *tstate = _PyThreadState_GET();
  105|      4|    PyObject *sysdict = tstate->interp->sysdict;
  106|      4|    if (sysdict == NULL) {
  ------------------
  |  Branch (106:9): [True: 0, False: 4]
  ------------------
  107|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  108|      0|        return NULL;
  109|      0|    }
  110|      4|    PyObject *value;
  111|      4|    if (PyDict_GetItemStringRef(sysdict, name, &value) == 0) {
  ------------------
  |  Branch (111:9): [True: 0, False: 4]
  ------------------
  112|      0|        PyErr_Format(PyExc_RuntimeError, "lost sys.%s", name);
  113|      0|    }
  114|      4|    return value;
  115|      4|}
PySys_GetOptionalAttrString:
  138|      2|{
  139|      2|    PyThreadState *tstate = _PyThreadState_GET();
  140|      2|    PyObject *sysdict = tstate->interp->sysdict;
  141|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (141:9): [True: 0, False: 2]
  ------------------
  142|      0|        *value = NULL;
  143|      0|        return 0;
  144|      0|    }
  145|      2|    return PyDict_GetItemStringRef(sysdict, name, value);
  146|      2|}
_PySys_SetAttr:
  193|      6|{
  194|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
  195|      6|    return sys_set_object(interp, key, v);
  196|      6|}
PySys_SetObject:
  210|      6|{
  211|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
  212|      6|    return sys_set_object_str(interp, name, v);
  213|      6|}
_PySys_Audit:
  374|    249|{
  375|    249|    va_list vargs;
  376|    249|    va_start(vargs, argFormat);
  377|    249|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  378|       |    va_end(vargs);
  379|    249|    return res;
  380|    249|}
PySys_Audit:
  384|   408k|{
  385|   408k|    PyThreadState *tstate = _PyThreadState_GET();
  386|   408k|    va_list vargs;
  387|   408k|    va_start(vargs, argFormat);
  388|   408k|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  389|       |    va_end(vargs);
  390|   408k|    return res;
  391|   408k|}
_PySys_ReadPreinitWarnOptions:
 3089|      2|{
 3090|      2|    PyStatus status;
 3091|      2|    _Py_PreInitEntry entry;
 3092|       |
 3093|      2|    for (entry = _preinit_warnoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3093:40): [True: 0, False: 2]
  ------------------
 3094|      0|        status = PyWideStringList_Append(options, entry->value);
 3095|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3096|      0|            return status;
 3097|      0|        }
 3098|      0|    }
 3099|       |
 3100|      2|    _clear_preinit_entries(&_preinit_warnoptions);
 3101|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3102|      2|}
_PySys_ReadPreinitXOptions:
 3107|      2|{
 3108|      2|    PyStatus status;
 3109|      2|    _Py_PreInitEntry entry;
 3110|       |
 3111|      2|    for (entry = _preinit_xoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3111:37): [True: 0, False: 2]
  ------------------
 3112|      0|        status = PyWideStringList_Append(&config->xoptions, entry->value);
 3113|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3114|      0|            return status;
 3115|      0|        }
 3116|      0|    }
 3117|       |
 3118|      2|    _clear_preinit_entries(&_preinit_xoptions);
 3119|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3120|      2|}
_PySys_UpdateConfig:
 4099|      2|{
 4100|      2|    PyInterpreterState *interp = tstate->interp;
 4101|      2|    PyObject *sysdict = interp->sysdict;
 4102|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4103|      2|    int res;
 4104|       |
 4105|      2|#define COPY_LIST(KEY, VALUE) \
 4106|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
 4107|       |
 4108|      2|#define SET_SYS_FROM_WSTR(KEY, VALUE) \
 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
 4110|       |
 4111|      2|#define COPY_WSTR(SYS_ATTR, WSTR) \
 4112|      2|    if (WSTR != NULL) { \
 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
 4114|      2|    }
 4115|       |
 4116|      2|    if (config->module_search_paths_set) {
  ------------------
  |  Branch (4116:9): [True: 2, False: 0]
  ------------------
 4117|      2|        COPY_LIST("path", config->module_search_paths);
  ------------------
  |  | 4106|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4118|      2|    }
 4119|       |
 4120|      2|    COPY_WSTR("executable", config->executable);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4121|      2|    COPY_WSTR("_base_executable", config->base_executable);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4122|      2|    COPY_WSTR("prefix", config->prefix);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4123|      2|    COPY_WSTR("base_prefix", config->base_prefix);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4124|      2|    COPY_WSTR("exec_prefix", config->exec_prefix);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4125|      2|    COPY_WSTR("base_exec_prefix", config->base_exec_prefix);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4126|      2|    COPY_WSTR("platlibdir", config->platlibdir);
  ------------------
  |  | 4112|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4112:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4113|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4114|      2|    }
  ------------------
 4127|       |
 4128|      2|    if (config->pycache_prefix != NULL) {
  ------------------
  |  Branch (4128:9): [True: 0, False: 2]
  ------------------
 4129|      0|        SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix);
  ------------------
  |  | 4109|      0|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3951|      0|    do {                                                   \
  |  |  |  | 3952|      0|        PyObject *v = (value);                             \
  |  |  |  | 3953|      0|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      0|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      0|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      0|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|      2|    } else {
 4131|      2|        if (PyDict_SetItemString(sysdict, "pycache_prefix", Py_None) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4131:13): [True: 0, False: 2]
  ------------------
 4132|      0|            return -1;
 4133|      0|        }
 4134|      2|    }
 4135|       |
 4136|      2|    COPY_LIST("argv", config->argv);
  ------------------
  |  | 4106|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|      2|    COPY_LIST("orig_argv", config->orig_argv);
  ------------------
  |  | 4106|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4138|      2|    COPY_LIST("warnoptions", config->warnoptions);
  ------------------
  |  | 4106|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4139|       |
 4140|      2|    SET_SYS("_xoptions", _PyConfig_CreateXOptionsDict(config));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4141|       |
 4142|      2|    const wchar_t *stdlibdir = _Py_GetStdlibDir();
 4143|      2|    if (stdlibdir != NULL) {
  ------------------
  |  Branch (4143:9): [True: 2, False: 0]
  ------------------
 4144|      2|        SET_SYS_FROM_WSTR("_stdlib_dir", stdlibdir);
  ------------------
  |  | 4109|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4145|      2|    }
 4146|      0|    else {
 4147|      0|        if (PyDict_SetItemString(sysdict, "_stdlib_dir", Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4147:13): [True: 0, False: 0]
  ------------------
 4148|      0|            return -1;
 4149|      0|        }
 4150|      0|    }
 4151|       |
 4152|      2|#undef SET_SYS_FROM_WSTR
 4153|      2|#undef COPY_LIST
 4154|      2|#undef COPY_WSTR
 4155|       |
 4156|       |    // sys.flags
 4157|      2|    PyObject *flags = PySys_GetAttrString("flags");
 4158|      2|    if (flags == NULL) {
  ------------------
  |  Branch (4158:9): [True: 0, False: 2]
  ------------------
 4159|      0|        return -1;
 4160|      0|    }
 4161|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (4161:9): [True: 0, False: 2]
  ------------------
 4162|      0|        Py_DECREF(flags);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|      0|        return -1;
 4164|      0|    }
 4165|      2|    Py_DECREF(flags);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4166|       |
 4167|      2|    SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4168|       |
 4169|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4169:9): [True: 0, False: 2]
  ------------------
 4170|      0|        goto err_occurred;
 4171|      0|    }
 4172|       |
 4173|      2|    return 0;
 4174|       |
 4175|      0|err_occurred:
 4176|      0|    return -1;
 4177|      2|}
_PySys_Create:
 4282|      2|{
 4283|      2|    assert(!_PyErr_Occurred(tstate));
 4284|       |
 4285|      2|    PyInterpreterState *interp = tstate->interp;
 4286|       |
 4287|      2|    PyObject *modules = _PyImport_InitModules(interp);
 4288|      2|    if (modules == NULL) {
  ------------------
  |  Branch (4288:9): [True: 0, False: 2]
  ------------------
 4289|      0|        goto error;
 4290|      0|    }
 4291|       |
 4292|      2|    PyObject *sysmod = _PyModule_CreateInitialized(&sysmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4293|      2|    if (sysmod == NULL) {
  ------------------
  |  Branch (4293:9): [True: 0, False: 2]
  ------------------
 4294|      0|        return _PyStatus_ERR("failed to create a module object");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4295|      0|    }
 4296|       |#ifdef Py_GIL_DISABLED
 4297|       |    PyUnstable_Module_SetGIL(sysmod, Py_MOD_GIL_NOT_USED);
 4298|       |#endif
 4299|       |
 4300|      2|    PyObject *sysdict = PyModule_GetDict(sysmod);
 4301|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (4301:9): [True: 0, False: 2]
  ------------------
 4302|      0|        goto error;
 4303|      0|    }
 4304|      2|    interp->sysdict = Py_NewRef(sysdict);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4305|       |
 4306|      2|    interp->sysdict_copy = PyDict_Copy(sysdict);
 4307|      2|    if (interp->sysdict_copy == NULL) {
  ------------------
  |  Branch (4307:9): [True: 0, False: 2]
  ------------------
 4308|      0|        goto error;
 4309|      0|    }
 4310|       |
 4311|      2|    if (PyDict_SetItemString(sysdict, "modules", modules) < 0) {
  ------------------
  |  Branch (4311:9): [True: 0, False: 2]
  ------------------
 4312|      0|        goto error;
 4313|      0|    }
 4314|       |
 4315|      2|    PyObject *lazy_modules = _PyImport_InitLazyModules(interp); // borrowed reference
 4316|      2|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (4316:9): [True: 0, False: 2]
  ------------------
 4317|      0|        goto error;
 4318|      0|    }
 4319|       |
 4320|      2|    if (PyDict_SetItemString(sysdict, "lazy_modules", lazy_modules) < 0) {
  ------------------
  |  Branch (4320:9): [True: 0, False: 2]
  ------------------
 4321|      0|        goto error;
 4322|      0|    }
 4323|       |
 4324|      2|    PyStatus status = _PySys_SetPreliminaryStderr(sysdict);
 4325|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4326|      0|        return status;
 4327|      0|    }
 4328|       |
 4329|      2|    status = _PySys_InitCore(tstate, sysdict);
 4330|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4331|      0|        return status;
 4332|      0|    }
 4333|       |
 4334|      2|    if (_PyImport_FixupBuiltin(tstate, sysmod, "sys", modules) < 0) {
  ------------------
  |  Branch (4334:9): [True: 0, False: 2]
  ------------------
 4335|      0|        goto error;
 4336|      0|    }
 4337|       |
 4338|      2|    PyObject *monitoring = _Py_CreateMonitoringObject();
 4339|      2|    if (monitoring == NULL) {
  ------------------
  |  Branch (4339:9): [True: 0, False: 2]
  ------------------
 4340|      0|        goto error;
 4341|      0|    }
 4342|      2|    int err = PyDict_SetItemString(sysdict, "monitoring", monitoring);
 4343|      2|    Py_DECREF(monitoring);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4344|      2|    if (err < 0) {
  ------------------
  |  Branch (4344:9): [True: 0, False: 2]
  ------------------
 4345|      0|        goto error;
 4346|      0|    }
 4347|       |
 4348|      2|    PyObject *_jit = _PyModule_CreateInitialized(&_jit_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4349|      2|    if (_jit == NULL) {
  ------------------
  |  Branch (4349:9): [True: 0, False: 2]
  ------------------
 4350|      0|        goto error;
 4351|      0|    }
 4352|      2|    err = PyDict_SetItemString(sysdict, "_jit", _jit);
 4353|      2|    Py_DECREF(_jit);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4354|      2|    if (err) {
  ------------------
  |  Branch (4354:9): [True: 0, False: 2]
  ------------------
 4355|      0|        goto error;
 4356|      0|    }
 4357|       |
 4358|      2|    assert(!_PyErr_Occurred(tstate));
 4359|       |
 4360|      2|    *sysmod_p = sysmod;
 4361|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4362|       |
 4363|      0|error:
 4364|      0|    return _PyStatus_ERR("can't initialize sys module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4365|      2|}
sysmodule.c:sys_set_object:
  171|     12|{
  172|     12|    if (key == NULL) {
  ------------------
  |  Branch (172:9): [True: 0, False: 12]
  ------------------
  173|      0|        return -1;
  174|      0|    }
  175|     12|    PyObject *sd = interp->sysdict;
  176|     12|    if (sd == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 12]
  ------------------
  177|      0|        PyErr_SetString(PyExc_RuntimeError, "no sys module");
  178|      0|        return -1;
  179|      0|    }
  180|     12|    if (v == NULL) {
  ------------------
  |  Branch (180:9): [True: 0, False: 12]
  ------------------
  181|      0|        if (PyDict_Pop(sd, key, NULL) < 0) {
  ------------------
  |  Branch (181:13): [True: 0, False: 0]
  ------------------
  182|      0|            return -1;
  183|      0|        }
  184|      0|        return 0;
  185|      0|    }
  186|     12|    else {
  187|     12|        return PyDict_SetItem(sd, key, v);
  188|     12|    }
  189|     12|}
sysmodule.c:sys_set_object_str:
  200|      6|{
  201|      6|    PyObject *key = v ? PyUnicode_InternFromString(name)
  ------------------
  |  Branch (201:21): [True: 6, False: 0]
  ------------------
  202|      6|                      : PyUnicode_FromString(name);
  203|      6|    int r = sys_set_object(interp, key, v);
  204|      6|    Py_XDECREF(key);
  ------------------
  |  |  524|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|      6|    return r;
  206|      6|}
sysmodule.c:sys_audit_tstate:
  247|   408k|{
  248|   408k|    assert(event != NULL);
  249|   408k|    assert(!argFormat || !strchr(argFormat, 'N'));
  250|       |
  251|   408k|    if (!ts) {
  ------------------
  |  Branch (251:9): [True: 0, False: 408k]
  ------------------
  252|       |        /* Audit hooks cannot be called with a NULL thread state */
  253|      0|        return 0;
  254|      0|    }
  255|       |
  256|       |    /* The current implementation cannot be called if tstate is not
  257|       |       the current Python thread state. */
  258|   408k|    assert(ts == _PyThreadState_GET());
  259|       |
  260|       |    /* Early exit when no hooks are registered */
  261|   408k|    PyInterpreterState *is = ts->interp;
  262|   408k|    if (!should_audit(is)) {
  ------------------
  |  Branch (262:9): [True: 408k, False: 0]
  ------------------
  263|   408k|        return 0;
  264|   408k|    }
  265|       |
  266|      0|    PyObject *eventName = NULL;
  267|      0|    PyObject *eventArgs = NULL;
  268|      0|    PyObject *hooks = NULL;
  269|      0|    PyObject *hook = NULL;
  270|      0|    int res = -1;
  271|       |
  272|      0|    int dtrace = PyDTrace_AUDIT_ENABLED();
  273|       |
  274|       |
  275|      0|    PyObject *exc = _PyErr_GetRaisedException(ts);
  276|       |
  277|       |    /* Initialize event args now */
  278|      0|    if (argFormat && argFormat[0]) {
  ------------------
  |  Branch (278:9): [True: 0, False: 0]
  |  Branch (278:22): [True: 0, False: 0]
  ------------------
  279|      0|        eventArgs = Py_VaBuildValue(argFormat, vargs);
  280|      0|        if (eventArgs && !PyTuple_Check(eventArgs)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (280:13): [True: 0, False: 0]
  |  Branch (280:26): [True: 0, False: 0]
  ------------------
  281|      0|            PyObject *argTuple = PyTuple_Pack(1, eventArgs);
  282|      0|            Py_SETREF(eventArgs, argTuple);
  ------------------
  |  |  352|      0|    do { \
  |  |  353|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|      0|        *_tmp_dst_ptr = (src); \
  |  |  356|      0|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  283|      0|        }
  284|      0|    }
  285|      0|    else {
  286|      0|        eventArgs = PyTuple_New(0);
  287|      0|    }
  288|      0|    if (!eventArgs) {
  ------------------
  |  Branch (288:9): [True: 0, False: 0]
  ------------------
  289|      0|        goto exit;
  290|      0|    }
  291|       |
  292|       |    /* Call global hooks
  293|       |     *
  294|       |     * We don't worry about any races on hooks getting added,
  295|       |     * since that would not leave is in an inconsistent state. */
  296|      0|    _Py_AuditHookEntry *e = is->runtime->audit_hooks.head;
  297|      0|    for (; e; e = e->next) {
  ------------------
  |  Branch (297:12): [True: 0, False: 0]
  ------------------
  298|      0|        if (e->hookCFunction(event, eventArgs, e->userData) < 0) {
  ------------------
  |  Branch (298:13): [True: 0, False: 0]
  ------------------
  299|      0|            goto exit;
  300|      0|        }
  301|      0|    }
  302|       |
  303|       |    /* Dtrace USDT point */
  304|      0|    if (dtrace) {
  ------------------
  |  Branch (304:9): [True: 0, False: 0]
  ------------------
  305|      0|        PyDTrace_AUDIT(event, (void *)eventArgs);
  306|      0|    }
  307|       |
  308|       |    /* Call interpreter hooks */
  309|      0|    if (is->audit_hooks) {
  ------------------
  |  Branch (309:9): [True: 0, False: 0]
  ------------------
  310|      0|        eventName = PyUnicode_FromString(event);
  311|      0|        if (!eventName) {
  ------------------
  |  Branch (311:13): [True: 0, False: 0]
  ------------------
  312|      0|            goto exit;
  313|      0|        }
  314|       |
  315|      0|        hooks = PyObject_GetIter(is->audit_hooks);
  316|      0|        if (!hooks) {
  ------------------
  |  Branch (316:13): [True: 0, False: 0]
  ------------------
  317|      0|            goto exit;
  318|      0|        }
  319|       |
  320|       |        /* Disallow tracing in hooks unless explicitly enabled */
  321|      0|        PyThreadState_EnterTracing(ts);
  322|      0|        while ((hook = PyIter_Next(hooks)) != NULL) {
  ------------------
  |  Branch (322:16): [True: 0, False: 0]
  ------------------
  323|      0|            PyObject *o;
  324|      0|            int canTrace = PyObject_GetOptionalAttr(hook, &_Py_ID(__cantrace__), &o);
  ------------------
  |  |  919|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|      0|            if (o) {
  ------------------
  |  Branch (325:17): [True: 0, False: 0]
  ------------------
  326|      0|                canTrace = PyObject_IsTrue(o);
  327|      0|                Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      0|            }
  329|      0|            if (canTrace < 0) {
  ------------------
  |  Branch (329:17): [True: 0, False: 0]
  ------------------
  330|      0|                break;
  331|      0|            }
  332|      0|            if (canTrace) {
  ------------------
  |  Branch (332:17): [True: 0, False: 0]
  ------------------
  333|      0|                PyThreadState_LeaveTracing(ts);
  334|      0|            }
  335|      0|            PyObject* args[2] = {eventName, eventArgs};
  336|      0|            o = _PyObject_VectorcallTstate(ts, hook, args, 2, NULL);
  337|      0|            if (canTrace) {
  ------------------
  |  Branch (337:17): [True: 0, False: 0]
  ------------------
  338|      0|                PyThreadState_EnterTracing(ts);
  339|      0|            }
  340|      0|            if (!o) {
  ------------------
  |  Branch (340:17): [True: 0, False: 0]
  ------------------
  341|      0|                break;
  342|      0|            }
  343|      0|            Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|      0|            Py_CLEAR(hook);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  345|      0|        }
  346|      0|        PyThreadState_LeaveTracing(ts);
  347|      0|        if (_PyErr_Occurred(ts)) {
  ------------------
  |  Branch (347:13): [True: 0, False: 0]
  ------------------
  348|      0|            goto exit;
  349|      0|        }
  350|      0|    }
  351|       |
  352|      0|    res = 0;
  353|       |
  354|      0|exit:
  355|      0|    Py_XDECREF(hook);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|      0|    Py_XDECREF(hooks);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|    Py_XDECREF(eventName);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      0|    Py_XDECREF(eventArgs);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|       |
  360|      0|    if (!res) {
  ------------------
  |  Branch (360:9): [True: 0, False: 0]
  ------------------
  361|      0|        _PyErr_SetRaisedException(ts, exc);
  362|      0|    }
  363|      0|    else {
  364|      0|        assert(_PyErr_Occurred(ts));
  365|      0|        Py_XDECREF(exc);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|      0|    }
  367|       |
  368|      0|    return res;
  369|      0|}
sysmodule.c:should_audit:
  232|   409k|{
  233|       |    /* interp must not be NULL, but test it just in case for extra safety */
  234|   409k|    assert(interp != NULL);
  235|   409k|    if (!interp) {
  ------------------
  |  Branch (235:9): [True: 0, False: 409k]
  ------------------
  236|      0|        return 0;
  237|      0|    }
  238|   409k|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (238:13): [True: 0, False: 409k]
  ------------------
  239|   409k|            || interp->audit_hooks
  ------------------
  |  Branch (239:16): [True: 0, False: 409k]
  ------------------
  240|   409k|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (240:16): [True: 0, False: 409k]
  ------------------
  241|   409k|}
sysmodule.c:_clear_preinit_entries:
 3074|      4|{
 3075|      4|    _Py_PreInitEntry current = *optionlist;
 3076|      4|    *optionlist = NULL;
 3077|       |    /* Deallocate the nodes and their contents using the default allocator */
 3078|      4|    while (current != NULL) {
  ------------------
  |  Branch (3078:12): [True: 0, False: 4]
  ------------------
 3079|      0|        _Py_PreInitEntry next = current->next;
 3080|      0|        _PyMem_DefaultRawFree(current->value);
 3081|      0|        _PyMem_DefaultRawFree(current);
 3082|      0|        current = next;
 3083|      0|    }
 3084|      4|}
sysmodule.c:sys_set_flag:
 3481|     88|{
 3482|     88|    assert(pos >= 0 && pos < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1));
 3483|       |
 3484|     88|    PyObject *old_value = PyStructSequence_GET_ITEM(flags, pos);
  ------------------
  |  |   12|     88|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
 3485|     88|    PyStructSequence_SET_ITEM(flags, pos, Py_NewRef(value));
  ------------------
  |  |   11|     88|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
                  PyStructSequence_SET_ITEM(flags, pos, Py_NewRef(value));
  ------------------
  |  |  550|     88|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3486|     88|    Py_XDECREF(old_value);
  ------------------
  |  |  524|     88|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|     88|}
sysmodule.c:set_flags_from_config:
 3520|      4|{
 3521|      4|    const PyPreConfig *preconfig = &interp->runtime->preconfig;
 3522|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3523|       |
 3524|       |    // _PySys_UpdateConfig() modifies sys.flags in-place:
 3525|       |    // Py_XDECREF() is needed in this case.
 3526|      4|    Py_ssize_t pos = 0;
 3527|      4|#define SetFlagObj(expr) \
 3528|      4|    do { \
 3529|      4|        PyObject *value = (expr); \
 3530|      4|        if (value == NULL) { \
 3531|      4|            return -1; \
 3532|      4|        } \
 3533|      4|        sys_set_flag(flags, pos, value); \
 3534|      4|        Py_DECREF(value); \
 3535|      4|        pos++; \
 3536|      4|    } while (0)
 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
 3538|       |
 3539|      4|    SetFlag(config->parser_debug);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3540|      4|    SetFlag(config->inspect);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3541|      4|    SetFlag(config->interactive);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3542|      4|    SetFlag(config->optimization_level);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3543|      4|    SetFlag(!config->write_bytecode);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3544|      4|    SetFlag(!config->user_site_directory);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|      4|    SetFlag(!config->site_import);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3546|      4|    SetFlag(!config->use_environment);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3547|      4|    SetFlag(config->verbose);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3548|      4|    SetFlag(config->bytes_warning);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3549|      4|    SetFlag(config->quiet);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3550|      4|    SetFlag(config->use_hash_seed == 0 || config->hash_seed != 0);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3529:28): [True: 4, False: 0]
  |  |  |  |  |  Branch (3529:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3551|      4|    SetFlag(config->isolated);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3552|      4|    SetFlagObj(PyBool_FromLong(config->dev_mode));
  ------------------
  |  | 3528|      4|    do { \
  |  | 3529|      4|        PyObject *value = (expr); \
  |  | 3530|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3531|      0|            return -1; \
  |  | 3532|      0|        } \
  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  | 3534|      4|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3535|      4|        pos++; \
  |  | 3536|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3553|      4|    SetFlag(preconfig->utf8_mode);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3554|      4|    SetFlag(config->warn_default_encoding);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3555|      4|    SetFlagObj(PyBool_FromLong(config->safe_path));
  ------------------
  |  | 3528|      4|    do { \
  |  | 3529|      4|        PyObject *value = (expr); \
  |  | 3530|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3531|      0|            return -1; \
  |  | 3532|      0|        } \
  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  | 3534|      4|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3535|      4|        pos++; \
  |  | 3536|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3556|      4|    SetFlag(config->int_max_str_digits);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|       |#ifdef Py_GIL_DISABLED
 3558|       |    if (config->enable_gil == _PyConfig_GIL_DEFAULT) {
 3559|       |        SetFlagObj(Py_NewRef(Py_None));
 3560|       |    }
 3561|       |    else {
 3562|       |        SetFlag(config->enable_gil);
 3563|       |    }
 3564|       |#else
 3565|      4|    SetFlagObj(PyLong_FromLong(1));
  ------------------
  |  | 3528|      4|    do { \
  |  | 3529|      4|        PyObject *value = (expr); \
  |  | 3530|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3531|      0|            return -1; \
  |  | 3532|      0|        } \
  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  | 3534|      4|        Py_DECREF(value); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3535|      4|        pos++; \
  |  | 3536|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3566|      4|#endif
 3567|      4|    SetFlag(config->thread_inherit_context);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3568|      4|    SetFlag(config->context_aware_warnings);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|      4|    SetFlag(config->lazy_imports);
  ------------------
  |  | 3537|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3528|      4|    do { \
  |  |  |  | 3529|      4|        PyObject *value = (expr); \
  |  |  |  | 3530|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3530:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3531|      0|            return -1; \
  |  |  |  | 3532|      0|        } \
  |  |  |  | 3533|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3534|      4|        Py_DECREF(value); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3535|      4|        pos++; \
  |  |  |  | 3536|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3536:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      4|#undef SetFlagObj
 3571|      4|#undef SetFlag
 3572|      4|    return 0;
 3573|      4|}
sysmodule.c:sys_audit_impl:
  568|    678|{
  569|    678|    PyThreadState *tstate = _PyThreadState_GET();
  570|    678|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|    678|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  571|       |
  572|    678|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (572:9): [True: 678, False: 0]
  ------------------
  573|    678|        Py_RETURN_NONE;
  ------------------
  |  |  628|    678|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    678|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  574|    678|    }
  575|       |
  576|      0|    int res = _PySys_Audit(tstate, event, "O", args);
  577|      0|    if (res < 0) {
  ------------------
  |  Branch (577:9): [True: 0, False: 0]
  ------------------
  578|      0|        return NULL;
  579|      0|    }
  580|       |
  581|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  582|      0|}
sysmodule.c:get_utf8_unicode:
  927|      6|{
  928|      6|    _Py_DECLARE_STR(utf_8, "utf-8");
  929|      6|    PyObject *ret = &_Py_STR(utf_8);
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  930|      6|    return Py_NewRef(ret);
  ------------------
  |  |  550|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      6|}
sysmodule.c:sys_getfilesystemencoding_impl:
  955|      6|{
  956|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
  957|      6|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  958|       |
  959|      6|    if (wcscmp(config->filesystem_encoding, L"utf-8") == 0) {
  ------------------
  |  Branch (959:9): [True: 6, False: 0]
  ------------------
  960|      6|        return get_utf8_unicode();
  961|      6|    }
  962|       |
  963|      0|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_encoding, -1);
  964|      0|    if (u == NULL) {
  ------------------
  |  Branch (964:9): [True: 0, False: 0]
  ------------------
  965|      0|        return NULL;
  966|      0|    }
  967|      0|    _PyUnicode_InternImmortal(interp, &u);
  968|      0|    return u;
  969|      0|}
sysmodule.c:sys_getfilesystemencodeerrors_impl:
  980|      2|{
  981|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  982|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  983|      2|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_errors, -1);
  984|      2|    if (u == NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 2]
  ------------------
  985|      0|        return NULL;
  986|      0|    }
  987|      2|    _PyUnicode_InternImmortal(interp, &u);
  988|      2|    return u;
  989|      2|}
sysmodule.c:sys_getrefcount_impl:
 2000|      2|{
 2001|      2|    return Py_REFCNT(object);
  ------------------
  |  |  119|      2|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2002|      2|}
sysmodule.c:sys_getrecursionlimit_impl:
 1617|    213|{
 1618|    213|    return PyLong_FromLong(Py_GetRecursionLimit());
 1619|    213|}
sysmodule.c:sys__getframe_impl:
 2076|     46|{
 2077|     46|    PyThreadState *tstate = _PyThreadState_GET();
 2078|     46|    _PyInterpreterFrame *frame = tstate->current_frame;
 2079|       |
 2080|     46|    if (frame != NULL) {
  ------------------
  |  Branch (2080:9): [True: 46, False: 0]
  ------------------
 2081|    134|        while (depth > 0) {
  ------------------
  |  Branch (2081:16): [True: 88, False: 46]
  ------------------
 2082|     88|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2083|     88|            if (frame == NULL) {
  ------------------
  |  Branch (2083:17): [True: 0, False: 88]
  ------------------
 2084|      0|                break;
 2085|      0|            }
 2086|     88|            --depth;
 2087|     88|        }
 2088|     46|    }
 2089|     46|    if (frame == NULL) {
  ------------------
  |  Branch (2089:9): [True: 0, False: 46]
  ------------------
 2090|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2091|      0|                         "call stack is not deep enough");
 2092|      0|        return NULL;
 2093|      0|    }
 2094|       |
 2095|     46|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  551|     46|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|     46|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2096:9): [True: 46, False: 0]
  |  Branch (2096:20): [True: 0, False: 46]
  ------------------
 2097|      0|        Py_DECREF(pyFrame);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|        return NULL;
 2099|      0|    }
 2100|     46|    return pyFrame;
 2101|     46|}
sysmodule.c:sys__getframemodulename_impl:
 2578|     60|{
 2579|     60|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2579:9): [True: 0, False: 60]
  ------------------
 2580|      0|        return NULL;
 2581|      0|    }
 2582|     60|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2583|    124|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2583:12): [True: 124, False: 0]
  |  Branch (2583:18): [True: 0, False: 124]
  |  Branch (2583:46): [True: 64, False: 60]
  ------------------
 2584|     64|        f = f->previous;
 2585|     64|    }
 2586|     60|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|     60|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     60|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     60|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 60]
  |  |  ------------------
  ------------------
  |  Branch (2586:9): [True: 0, False: 60]
  ------------------
 2587|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2588|      0|    }
 2589|     60|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2590|     60|    PyObject *r = PyFunction_GetModule(func);
 2591|     60|    if (!r) {
  ------------------
  |  Branch (2591:9): [True: 0, False: 60]
  ------------------
 2592|      0|        PyErr_Clear();
 2593|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2594|      0|    }
 2595|     60|    return Py_NewRef(r);
  ------------------
  |  |  550|     60|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|     60|}
sysmodule.c:sys_intern_impl:
 1007|    598|{
 1008|    598|    if (PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|    598|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    598|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 598, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|    598|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1010|    598|        Py_INCREF(s);
  ------------------
  |  |  310|    598|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|    598|        _PyUnicode_InternMortal(interp, &s);
 1012|    598|        return s;
 1013|    598|    }
 1014|      0|    else {
 1015|      0|        PyErr_Format(PyExc_TypeError,
 1016|      0|                     "can't intern %.400s", Py_TYPE(s)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|       |        return NULL;
 1018|      0|    }
 1019|    598|}
sysmodule.c:sys_setrecursionlimit_impl:
 1357|     88|{
 1358|     88|    PyThreadState *tstate = _PyThreadState_GET();
 1359|       |
 1360|     88|    if (new_limit < 1) {
  ------------------
  |  Branch (1360:9): [True: 0, False: 88]
  ------------------
 1361|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 1362|      0|                         "recursion limit must be greater or equal than 1");
 1363|      0|        return NULL;
 1364|      0|    }
 1365|       |
 1366|       |    /* Reject too low new limit if the current recursion depth is higher than
 1367|       |       the new low-water mark. */
 1368|     88|    int depth = tstate->py_recursion_limit - tstate->py_recursion_remaining;
 1369|     88|    if (depth >= new_limit) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 88]
  ------------------
 1370|      0|        _PyErr_Format(tstate, PyExc_RecursionError,
 1371|      0|                      "cannot set the recursion limit to %i at "
 1372|      0|                      "the recursion depth %i: the limit is too low",
 1373|      0|                      new_limit, depth);
 1374|      0|        return NULL;
 1375|      0|    }
 1376|       |
 1377|     88|    Py_SetRecursionLimit(new_limit);
 1378|     88|    Py_RETURN_NONE;
  ------------------
  |  |  628|     88|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     88|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1379|     88|}
sysmodule.c:sys__get_cpu_count_config_impl:
 2607|      2|{
 2608|      2|    const PyConfig *config = _Py_GetConfig();
 2609|      2|    return config->cpu_count;
 2610|      2|}
sysmodule.c:_PySys_SetPreliminaryStderr:
 4189|      2|{
 4190|      2|    PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr));
 4191|      2|    if (pstderr == NULL) {
  ------------------
  |  Branch (4191:9): [True: 0, False: 2]
  ------------------
 4192|      0|        goto error;
 4193|      0|    }
 4194|      2|    if (PyDict_SetItem(sysdict, &_Py_ID(stderr), pstderr) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4194:9): [True: 0, False: 2]
  ------------------
 4195|      0|        goto error;
 4196|      0|    }
 4197|      2|    if (PyDict_SetItemString(sysdict, "__stderr__", pstderr) < 0) {
  ------------------
  |  Branch (4197:9): [True: 0, False: 2]
  ------------------
 4198|      0|        goto error;
 4199|      0|    }
 4200|      2|    Py_DECREF(pstderr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4202|       |
 4203|      0|error:
 4204|      0|    Py_XDECREF(pstderr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4205|      0|    return _PyStatus_ERR("can't set preliminary stderr");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4206|      2|}
sysmodule.c:_PySys_InitCore:
 3968|      2|{
 3969|      2|    PyObject *version_info;
 3970|      2|    int res;
 3971|      2|    PyInterpreterState *interp = tstate->interp;
 3972|       |
 3973|       |    /* stdin/stdout/stderr are set in pylifecycle.c */
 3974|       |
 3975|      2|#define COPY_SYS_ATTR(tokey, fromkey) \
 3976|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
 3977|       |
 3978|      2|    COPY_SYS_ATTR("__displayhook__", "displayhook");
  ------------------
  |  | 3976|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3979|      2|    COPY_SYS_ATTR("__excepthook__", "excepthook");
  ------------------
  |  | 3976|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3980|      2|    COPY_SYS_ATTR("__breakpointhook__", "breakpointhook");
  ------------------
  |  | 3976|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      2|    COPY_SYS_ATTR("__unraisablehook__", "unraisablehook");
  ------------------
  |  | 3976|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3982|       |
 3983|      2|#undef COPY_SYS_ATTR
 3984|       |
 3985|      2|    SET_SYS_FROM_STRING("version", Py_GetVersion());
  ------------------
  |  | 3964|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3986|      2|    SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3987|      2|    SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3988|      2|                                  _Py_gitversion()));
 3989|      2|    SET_SYS_FROM_STRING("_framework", _PYTHONFRAMEWORK);
  ------------------
  |  | 3964|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3990|      2|    SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3991|      2|    SET_SYS_FROM_STRING("copyright", Py_GetCopyright());
  ------------------
  |  | 3964|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3992|      2|    SET_SYS_FROM_STRING("platform", Py_GetPlatform());
  ------------------
  |  | 3964|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3993|      2|    SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3994|      2|    SET_SYS("float_info", PyFloat_GetInfo());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3995|      2|    SET_SYS("int_info", PyLong_GetInfo());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3996|       |    /* initialize hash_info */
 3997|      2|    if (_PyStructSequence_InitBuiltin(interp, &Hash_InfoType,
  ------------------
  |  Branch (3997:9): [True: 0, False: 2]
  ------------------
 3998|      2|                                      &hash_info_desc) < 0)
 3999|      0|    {
 4000|      0|        goto type_init_failed;
 4001|      0|    }
 4002|      2|    SET_SYS("hash_info", get_hash_info(tstate));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4003|      2|    SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4004|      2|    SET_SYS("builtin_module_names", list_builtin_module_names());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4005|      2|    SET_SYS("stdlib_module_names", list_stdlib_module_names());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4006|       |#if PY_BIG_ENDIAN
 4007|       |    SET_SYS("byteorder", &_Py_ID(big));
 4008|       |#else
 4009|      2|    SET_SYS("byteorder", &_Py_ID(little));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4010|      2|#endif
 4011|       |
 4012|       |#ifdef MS_COREDLL
 4013|       |    SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule));
 4014|       |    SET_SYS_FROM_STRING("winver", PyWin_DLLVersionString);
 4015|       |#endif
 4016|      2|#ifdef ABIFLAGS
 4017|      2|    SET_SYS_FROM_STRING("abiflags", ABIFLAGS);
  ------------------
  |  | 3964|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3951|      2|    do {                                                   \
  |  |  |  | 3952|      2|        PyObject *v = (value);                             \
  |  |  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3954|      0|            goto err_occurred;                             \
  |  |  |  | 3955|      0|        }                                                  \
  |  |  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3959|      0|            goto err_occurred;                             \
  |  |  |  | 3960|      0|        }                                                  \
  |  |  |  | 3961|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|      2|#endif
 4019|       |
 4020|      2|#define ENSURE_INFO_TYPE(TYPE, DESC) \
 4021|      2|    do { \
 4022|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
 4023|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
 4024|      2|            goto type_init_failed; \
 4025|      2|        } \
 4026|      2|    } while (0)
 4027|       |
 4028|       |    /* version_info */
 4029|      2|    ENSURE_INFO_TYPE(VersionInfoType, version_info_desc);
  ------------------
  |  | 4021|      2|    do { \
  |  | 4022|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4022:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4023|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4024|      0|            goto type_init_failed; \
  |  | 4025|      0|        } \
  |  | 4026|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4026:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4030|      2|    version_info = make_version_info(tstate);
 4031|      2|    SET_SYS("version_info", version_info);
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4032|       |
 4033|       |    /* implementation */
 4034|      2|    SET_SYS("implementation", make_impl_info(version_info));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4035|       |
 4036|       |    // sys.flags: updated in-place later by _PySys_UpdateConfig()
 4037|      2|    ENSURE_INFO_TYPE(FlagsType, flags_desc);
  ------------------
  |  | 4021|      2|    do { \
  |  | 4022|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4022:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4023|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4024|      0|            goto type_init_failed; \
  |  | 4025|      0|        } \
  |  | 4026|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4026:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4038|      2|    SET_SYS("flags", make_flags(tstate->interp));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4039|       |
 4040|       |#if defined(MS_WINDOWS)
 4041|       |    /* getwindowsversion */
 4042|       |    ENSURE_INFO_TYPE(WindowsVersionType, windows_version_desc);
 4043|       |
 4044|       |    SET_SYS_FROM_STRING("_vpath", VPATH);
 4045|       |#endif
 4046|       |
 4047|      2|#undef ENSURE_INFO_TYPE
 4048|       |
 4049|       |    /* float repr style: 0.03 (short) vs 0.029999999999999999 (legacy) */
 4050|      2|#if _PY_SHORT_FLOAT_REPR == 1
 4051|      2|    SET_SYS("float_repr_style", &_Py_ID(short));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4052|       |#else
 4053|       |    SET_SYS("float_repr_style", &_Py_ID(legacy));
 4054|       |#endif
 4055|       |
 4056|      2|    SET_SYS("thread_info", PyThread_GetInfo());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4057|       |
 4058|      2|    SET_SYS("abi_info", make_abi_info());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4059|       |
 4060|       |    /* initialize asyncgen_hooks */
 4061|      2|    if (_PyStructSequence_InitBuiltin(interp, &AsyncGenHooksType,
  ------------------
  |  Branch (4061:9): [True: 0, False: 2]
  ------------------
 4062|      2|                                      &asyncgen_hooks_desc) < 0)
 4063|      0|    {
 4064|      0|        goto type_init_failed;
 4065|      0|    }
 4066|       |
 4067|       |#ifdef __EMSCRIPTEN__
 4068|       |    if (EmscriptenInfoType == NULL) {
 4069|       |        EmscriptenInfoType = PyStructSequence_NewType(&emscripten_info_desc);
 4070|       |        if (EmscriptenInfoType == NULL) {
 4071|       |            goto type_init_failed;
 4072|       |        }
 4073|       |    }
 4074|       |    SET_SYS("_emscripten_info", make_emscripten_info());
 4075|       |#endif
 4076|       |
 4077|       |    /* adding sys.path_hooks and sys.path_importer_cache */
 4078|      2|    SET_SYS("meta_path", PyList_New(0));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4079|      2|    SET_SYS("path_importer_cache", PyDict_New());
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4080|      2|    SET_SYS("path_hooks", PyList_New(0));
  ------------------
  |  | 3951|      2|    do {                                                   \
  |  | 3952|      2|        PyObject *v = (value);                             \
  |  | 3953|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3953:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3954|      0|            goto err_occurred;                             \
  |  | 3955|      0|        }                                                  \
  |  | 3956|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3957|      2|        Py_DECREF(v);                                      \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3958:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3959|      0|            goto err_occurred;                             \
  |  | 3960|      0|        }                                                  \
  |  | 3961|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3961:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4081|       |
 4082|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4082:9): [True: 0, False: 2]
  ------------------
 4083|      0|        goto err_occurred;
 4084|      0|    }
 4085|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4086|       |
 4087|      0|type_init_failed:
 4088|      0|    return _PyStatus_ERR("failed to initialize a type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4089|       |
 4090|      0|err_occurred:
 4091|      0|    return _PyStatus_ERR("can't initialize sys module");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4092|      2|}
sysmodule.c:get_hash_info:
 1570|      2|{
 1571|      2|    PyObject *hash_info;
 1572|      2|    int field = 0;
 1573|      2|    PyHash_FuncDef *hashfunc;
 1574|      2|    hash_info = PyStructSequence_New(&Hash_InfoType);
 1575|      2|    if (hash_info == NULL) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 2]
  ------------------
 1576|      0|        return NULL;
 1577|      0|    }
 1578|      2|    hashfunc = PyHash_GetFuncDef();
 1579|       |
 1580|      2|#define SET_HASH_INFO_ITEM(CALL)                             \
 1581|      2|    do {                                                     \
 1582|      2|        PyObject *item = (CALL);                             \
 1583|      2|        if (item == NULL) {                                  \
 1584|      2|            Py_CLEAR(hash_info);                             \
 1585|      2|            return NULL;                                     \
 1586|      2|        }                                                    \
 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
 1588|      2|    } while(0)
 1589|       |
 1590|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(8 * sizeof(Py_hash_t)));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1591|      2|    SET_HASH_INFO_ITEM(PyLong_FromSsize_t(PyHASH_MODULUS));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1592|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_INF));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1593|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(0));  // This is no longer used
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1594|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(PyHASH_IMAG));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1595|      2|    SET_HASH_INFO_ITEM(PyUnicode_FromString(hashfunc->name));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1596|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->hash_bits));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1597|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(hashfunc->seed_bits));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1598|      2|    SET_HASH_INFO_ITEM(PyLong_FromLong(Py_HASH_CUTOFF));
  ------------------
  |  | 1581|      2|    do {                                                     \
  |  | 1582|      2|        PyObject *item = (CALL);                             \
  |  | 1583|      2|        if (item == NULL) {                                  \
  |  |  ------------------
  |  |  |  Branch (1583:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1584|      0|            Py_CLEAR(hash_info);                             \
  |  |  ------------------
  |  |  |  |  484|      0|    do { \
  |  |  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        } \
  |  |  |  |  491|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1585|      0|            return NULL;                                     \
  |  | 1586|      0|        }                                                    \
  |  | 1587|      2|        PyStructSequence_SET_ITEM(hash_info, field++, item); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 1588|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1588:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1599|       |
 1600|      2|#undef SET_HASH_INFO_ITEM
 1601|       |
 1602|      2|    return hash_info;
 1603|      2|}
sysmodule.c:list_builtin_module_names:
 2962|      2|{
 2963|      2|    PyObject *list = _PyImport_GetBuiltinModuleNames();
 2964|      2|    if (list == NULL) {
  ------------------
  |  Branch (2964:9): [True: 0, False: 2]
  ------------------
 2965|      0|        return NULL;
 2966|      0|    }
 2967|      2|    if (PyList_Sort(list) != 0) {
  ------------------
  |  Branch (2967:9): [True: 0, False: 2]
  ------------------
 2968|      0|        goto error;
 2969|      0|    }
 2970|      2|    PyObject *tuple = PyList_AsTuple(list);
 2971|      2|    Py_DECREF(list);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|      2|    return tuple;
 2973|       |
 2974|      0|error:
 2975|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|       |    return NULL;
 2977|      2|}
sysmodule.c:list_stdlib_module_names:
 2982|      2|{
 2983|      2|    Py_ssize_t len = Py_ARRAY_LENGTH(_Py_stdlib_module_names);
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2984|      2|    PyObject *names = PyTuple_New(len);
 2985|      2|    if (names == NULL) {
  ------------------
  |  Branch (2985:9): [True: 0, False: 2]
  ------------------
 2986|      0|        return NULL;
 2987|      0|    }
 2988|       |
 2989|    594|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (2989:28): [True: 592, False: 2]
  ------------------
 2990|    592|        PyObject *name = PyUnicode_FromString(_Py_stdlib_module_names[i]);
 2991|    592|        if (name == NULL) {
  ------------------
  |  Branch (2991:13): [True: 0, False: 592]
  ------------------
 2992|      0|            Py_DECREF(names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      0|            return NULL;
 2994|      0|        }
 2995|    592|        PyTuple_SET_ITEM(names, i, name);
  ------------------
  |  |   40|    592|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    592|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    592|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    592|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|    592|    }
 2997|       |
 2998|      2|    PyObject *set = PyObject_CallFunction((PyObject *)&PyFrozenSet_Type,
 2999|      2|                                          "(O)", names);
 3000|      2|    Py_DECREF(names);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3001|      2|    return set;
 3002|      2|}
sysmodule.c:make_version_info:
 3617|      2|{
 3618|      2|    PyObject *version_info;
 3619|      2|    char *s;
 3620|      2|    int pos = 0;
 3621|       |
 3622|      2|    version_info = PyStructSequence_New(&VersionInfoType);
 3623|      2|    if (version_info == NULL) {
  ------------------
  |  Branch (3623:9): [True: 0, False: 2]
  ------------------
 3624|      0|        return NULL;
 3625|      0|    }
 3626|       |
 3627|       |    /*
 3628|       |     * These release level checks are mutually exclusive and cover
 3629|       |     * the field, so don't get too fancy with the pre-processor!
 3630|       |     */
 3631|      2|#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
 3632|      2|    s = "alpha";
 3633|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
 3634|       |    s = "beta";
 3635|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_GAMMA
 3636|       |    s = "candidate";
 3637|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_FINAL
 3638|       |    s = "final";
 3639|       |#endif
 3640|       |
 3641|      2|#define SetIntItem(flag) \
 3642|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
 3643|      2|#define SetStrItem(flag) \
 3644|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
 3645|       |
 3646|      2|    SetIntItem(PY_MAJOR_VERSION);
  ------------------
  |  | 3642|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3647|      2|    SetIntItem(PY_MINOR_VERSION);
  ------------------
  |  | 3642|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3648|      2|    SetIntItem(PY_MICRO_VERSION);
  ------------------
  |  | 3642|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3649|      2|    SetStrItem(s);
  ------------------
  |  | 3644|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3650|      2|    SetIntItem(PY_RELEASE_SERIAL);
  ------------------
  |  | 3642|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3651|      2|#undef SetIntItem
 3652|      2|#undef SetStrItem
 3653|       |
 3654|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3654:9): [True: 0, False: 2]
  ------------------
 3655|      0|        Py_CLEAR(version_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3656|      0|        return NULL;
 3657|      0|    }
 3658|      2|    return version_info;
 3659|      2|}
sysmodule.c:make_impl_info:
 3681|      2|{
 3682|      2|    int res;
 3683|      2|    PyObject *impl_info, *value, *ns;
 3684|       |
 3685|      2|    impl_info = PyDict_New();
 3686|      2|    if (impl_info == NULL)
  ------------------
  |  Branch (3686:9): [True: 0, False: 2]
  ------------------
 3687|      0|        return NULL;
 3688|       |
 3689|       |    /* populate the dict */
 3690|       |
 3691|      2|    value = PyUnicode_FromString(_PySys_ImplName);
 3692|      2|    if (value == NULL)
  ------------------
  |  Branch (3692:9): [True: 0, False: 2]
  ------------------
 3693|      0|        goto error;
 3694|      2|    res = PyDict_SetItemString(impl_info, "name", value);
 3695|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|      2|    if (res < 0)
  ------------------
  |  Branch (3696:9): [True: 0, False: 2]
  ------------------
 3697|      0|        goto error;
 3698|       |
 3699|      2|    value = _PySys_ImplCacheTag
  ------------------
  |  Branch (3699:13): [True: 2, False: 0]
  ------------------
 3700|      2|        ? PyUnicode_FromString(_PySys_ImplCacheTag)
 3701|      2|        : Py_NewRef(Py_None);
  ------------------
  |  |  550|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      2|    if (value == NULL) {
  ------------------
  |  Branch (3702:9): [True: 0, False: 2]
  ------------------
 3703|      0|        goto error;
 3704|      0|    }
 3705|      2|    res = PyDict_SetItemString(impl_info, "cache_tag", value);
 3706|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3707|      2|    if (res < 0)
  ------------------
  |  Branch (3707:9): [True: 0, False: 2]
  ------------------
 3708|      0|        goto error;
 3709|       |
 3710|      2|    res = PyDict_SetItemString(impl_info, "version", version_info);
 3711|      2|    if (res < 0)
  ------------------
  |  Branch (3711:9): [True: 0, False: 2]
  ------------------
 3712|      0|        goto error;
 3713|       |
 3714|      2|    value = PyLong_FromLong(PY_VERSION_HEX);
  ------------------
  |  |   43|      2|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      2|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      2|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      2|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      2|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      2|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      2|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      2|    PY_MAJOR_VERSION,                         \
  |  |   45|      2|    PY_MINOR_VERSION,                         \
  |  |   46|      2|    PY_MICRO_VERSION,                         \
  |  |   47|      2|    PY_RELEASE_LEVEL,                         \
  |  |   48|      2|    PY_RELEASE_SERIAL)
  ------------------
 3715|      2|    if (value == NULL)
  ------------------
  |  Branch (3715:9): [True: 0, False: 2]
  ------------------
 3716|      0|        goto error;
 3717|      2|    res = PyDict_SetItemString(impl_info, "hexversion", value);
 3718|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3719|      2|    if (res < 0)
  ------------------
  |  Branch (3719:9): [True: 0, False: 2]
  ------------------
 3720|      0|        goto error;
 3721|       |
 3722|      2|#ifdef MULTIARCH
 3723|      2|    value = PyUnicode_FromString(MULTIARCH);
 3724|      2|    if (value == NULL)
  ------------------
  |  Branch (3724:9): [True: 0, False: 2]
  ------------------
 3725|      0|        goto error;
 3726|      2|    res = PyDict_SetItemString(impl_info, "_multiarch", value);
 3727|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3728|      2|    if (res < 0)
  ------------------
  |  Branch (3728:9): [True: 0, False: 2]
  ------------------
 3729|      0|        goto error;
 3730|      2|#endif
 3731|       |
 3732|       |    // PEP-734
 3733|       |#if defined(__wasi__) || defined(__EMSCRIPTEN__)
 3734|       |    // It is not enabled on WASM builds just yet
 3735|       |    value = Py_False;
 3736|       |#else
 3737|      2|    value = Py_True;
  ------------------
  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|      2|#endif
 3739|      2|    res = PyDict_SetItemString(impl_info, "supports_isolated_interpreters", value);
 3740|      2|    if (res < 0) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 2]
  ------------------
 3741|      0|        goto error;
 3742|      0|    }
 3743|       |
 3744|       |    /* dict ready */
 3745|       |
 3746|      2|    ns = _PyNamespace_New(impl_info);
 3747|      2|    Py_DECREF(impl_info);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3748|      2|    return ns;
 3749|       |
 3750|      0|error:
 3751|      0|    Py_CLEAR(impl_info);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3752|       |    return NULL;
 3753|      2|}
sysmodule.c:make_flags:
 3578|      2|{
 3579|      2|    PyObject *flags = PyStructSequence_New(&FlagsType);
 3580|      2|    if (flags == NULL) {
  ------------------
  |  Branch (3580:9): [True: 0, False: 2]
  ------------------
 3581|      0|        return NULL;
 3582|      0|    }
 3583|       |
 3584|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (3584:9): [True: 0, False: 2]
  ------------------
 3585|      0|        Py_DECREF(flags);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3586|      0|        return NULL;
 3587|      0|    }
 3588|      2|    return flags;
 3589|      2|}
sysmodule.c:make_abi_info:
 3758|      2|{
 3759|       |    // New entries should be added when needed for a supported platform,
 3760|       |    // or by core dev consensus for enabling an unsupported one.
 3761|       |
 3762|      2|    PyObject *value;
 3763|      2|    PyObject *abi_info = PyDict_New();
 3764|      2|    if (abi_info == NULL) {
  ------------------
  |  Branch (3764:9): [True: 0, False: 2]
  ------------------
 3765|      0|        return NULL;
 3766|      0|    }
 3767|       |
 3768|      2|    value = PyLong_FromLong(sizeof(void *) * 8);
 3769|      2|    if (value == NULL) {
  ------------------
  |  Branch (3769:9): [True: 0, False: 2]
  ------------------
 3770|      0|        goto error;
 3771|      0|    }
 3772|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(pointer_bits), value) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3772:9): [True: 0, False: 2]
  ------------------
 3773|      0|        goto error;
 3774|      0|    }
 3775|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3776|       |
 3777|       |#ifdef Py_GIL_DISABLED
 3778|       |    value = Py_True;
 3779|       |#else
 3780|      2|    value = Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3781|      2|#endif
 3782|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(free_threaded), value) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3782:9): [True: 0, False: 2]
  ------------------
 3783|      0|        goto error;
 3784|      0|    }
 3785|       |
 3786|       |#ifdef Py_DEBUG
 3787|       |    value = Py_True;
 3788|       |#else
 3789|      2|    value = Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3790|      2|#endif
 3791|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(debug), value) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3791:9): [True: 0, False: 2]
  ------------------
 3792|      0|        goto error;
 3793|      0|    }
 3794|       |
 3795|       |#if PY_BIG_ENDIAN
 3796|       |    value = &_Py_ID(big);
 3797|       |#else
 3798|      2|    value = &_Py_ID(little);
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3799|      2|#endif
 3800|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(byteorder), value) < 0) {
  ------------------
  |  |  919|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3800:9): [True: 0, False: 2]
  ------------------
 3801|      0|        goto error;
 3802|      0|    }
 3803|       |
 3804|      2|    PyObject *ns = _PyNamespace_New(abi_info);
 3805|      2|    Py_DECREF(abi_info);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3806|      2|    return ns;
 3807|       |
 3808|      0|error:
 3809|      0|    Py_DECREF(abi_info);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|      0|    Py_XDECREF(value);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3811|       |    return NULL;
 3812|      2|}

PyThread_init_thread:
   49|      6|{
   50|      6|    if (initialized) {
  ------------------
  |  |   45|      6|#define initialized _PyRuntime.threads.initialized
  |  |  ------------------
  |  |  |  Branch (45:21): [True: 4, False: 2]
  |  |  ------------------
  ------------------
   51|      4|        return;
   52|      4|    }
   53|      2|    initialized = 1;
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
   54|      2|    PyThread__init_thread();
   55|      2|}
PyThread_allocate_lock:
   81|    530|{
   82|    530|    if (!initialized) {
  ------------------
  |  |   45|    530|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 530]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|    530|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|    530|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 530, False: 0]
  ------------------
   88|    530|        *lock = (PyMutex){0};
   89|    530|    }
   90|       |
   91|    530|    return (PyThread_type_lock)lock;
   92|    530|}
PyThread_free_lock:
   96|    522|{
   97|    522|    PyMem_RawFree(lock);
   98|    522|}
PyThread_acquire_lock_timed:
  103|  1.60k|{
  104|  1.60k|    PyTime_t timeout;  // relative timeout
  105|  1.60k|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 1.60k, False: 0]
  ------------------
  106|       |        // bpo-41710: PyThread_acquire_lock_timed() cannot report timeout
  107|       |        // overflow to the caller, so clamp the timeout to
  108|       |        // [PyTime_MIN, PyTime_MAX].
  109|       |        //
  110|       |        // PyTime_MAX nanoseconds is around 292.3 years.
  111|       |        //
  112|       |        // _thread.Lock.acquire() and _thread.RLock.acquire() raise an
  113|       |        // OverflowError if microseconds is greater than PY_TIMEOUT_MAX.
  114|  1.60k|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|  1.60k|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|  1.60k|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|  1.60k|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 1.60k]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|  1.60k|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|  1.60k|}
PyThread_release_lock:
  130|  1.60k|{
  131|  1.60k|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|  1.60k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|  1.60k|}
PyThread_acquire_lock:
  143|  1.60k|{
  144|  1.60k|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 1.60k]
  ------------------
  145|  1.60k|}
PyThread_GetInfo:
  310|      2|{
  311|      2|    PyObject *threadinfo, *value;
  312|      2|    int pos = 0;
  313|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  314|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  315|      2|    char buffer[255];
  316|      2|    int len;
  317|      2|#endif
  318|       |
  319|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  320|      2|    if (_PyStructSequence_InitBuiltin(interp, &ThreadInfoType, &threadinfo_desc) < 0) {
  ------------------
  |  Branch (320:9): [True: 0, False: 2]
  ------------------
  321|      0|        return NULL;
  322|      0|    }
  323|       |
  324|      2|    threadinfo = PyStructSequence_New(&ThreadInfoType);
  325|      2|    if (threadinfo == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 2]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      2|    value = PyUnicode_FromString(PYTHREAD_NAME);
  ------------------
  |  |   64|      2|#     define PYTHREAD_NAME "pthread"
  ------------------
  329|      2|    if (value == NULL) {
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  334|       |
  335|       |#ifdef HAVE_PTHREAD_STUBS
  336|       |    value = Py_NewRef(Py_None);
  337|       |#else
  338|      2|    value = PyUnicode_FromString("pymutex");
  339|      2|    if (value == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 2]
  ------------------
  340|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|        return NULL;
  342|      0|    }
  343|      2|#endif
  344|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  345|       |
  346|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  347|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  348|      2|    value = NULL;
  349|      2|    len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer));
  350|      2|    if (1 < len && (size_t)len < sizeof(buffer)) {
  ------------------
  |  Branch (350:9): [True: 2, False: 0]
  |  Branch (350:20): [True: 2, False: 0]
  ------------------
  351|      2|        value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
  352|      2|        if (value == NULL)
  ------------------
  |  Branch (352:13): [True: 0, False: 2]
  ------------------
  353|      0|            PyErr_Clear();
  354|      2|    }
  355|      2|    if (value == NULL)
  ------------------
  |  Branch (355:9): [True: 0, False: 2]
  ------------------
  356|      0|#endif
  357|      0|    {
  358|      0|        value = Py_NewRef(Py_None);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|    }
  360|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  361|      2|    return threadinfo;
  362|      2|}

_PyThread_cond_init:
  140|      4|{
  141|      4|    return pthread_cond_init(cond, condattr_monotonic);
  ------------------
  |  |  121|      4|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
  142|      4|}
PyThread_get_thread_ident_ex:
  360|   886k|PyThread_get_thread_ident_ex(void) {
  361|   886k|    volatile pthread_t threadid;
  362|   886k|    if (!initialized)
  ------------------
  |  |   45|   886k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (362:9): [True: 2, False: 886k]
  ------------------
  363|      2|        PyThread_init_thread();
  364|   886k|    threadid = pthread_self();
  365|   886k|    return _pthread_t_to_ident(threadid);
  366|   886k|}
PyThread_get_thread_ident:
  370|   445k|{
  371|   445k|    return (unsigned long) PyThread_get_thread_ident_ex();
  372|   445k|}
PyThread_get_thread_native_id:
  377|      4|{
  378|      4|    if (!initialized)
  ------------------
  |  |   45|      4|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (378:9): [True: 0, False: 4]
  ------------------
  379|      0|        PyThread_init_thread();
  380|       |#ifdef __APPLE__
  381|       |    uint64_t native_id;
  382|       |    (void) pthread_threadid_np(NULL, &native_id);
  383|       |#elif defined(__linux__)
  384|       |    pid_t native_id;
  385|      4|    native_id = syscall(SYS_gettid);
  386|       |#elif defined(__FreeBSD__)
  387|       |    int native_id;
  388|       |    native_id = pthread_getthreadid_np();
  389|       |#elif defined(__FreeBSD_kernel__)
  390|       |    long native_id;
  391|       |    syscall(SYS_thr_self, &native_id);
  392|       |#elif defined(__OpenBSD__)
  393|       |    pid_t native_id;
  394|       |    native_id = getthrid();
  395|       |#elif defined(_AIX)
  396|       |    tid_t native_id;
  397|       |    native_id = thread_self();
  398|       |#elif defined(__NetBSD__)
  399|       |    lwpid_t native_id;
  400|       |    native_id = _lwp_self();
  401|       |#elif defined(__DragonFly__)
  402|       |    lwpid_t native_id;
  403|       |    native_id = lwp_gettid();
  404|       |#elif defined(__sun__) && SIZEOF_LONG >= 8
  405|       |    unsigned long native_id = (unsigned long)getpid() << 32 | thr_self();
  406|       |#endif
  407|      4|    return (unsigned long) native_id;
  408|      4|}
PyThread_tss_create:
  572|      2|{
  573|      2|    assert(key != NULL);
  574|       |    /* If the key has been created, function is silently skipped. */
  575|      2|    if (key->_is_initialized) {
  ------------------
  |  Branch (575:9): [True: 0, False: 2]
  ------------------
  576|      0|        return 0;
  577|      0|    }
  578|       |
  579|      2|    int fail = pthread_key_create(&(key->_key), NULL);
  580|      2|    if (fail) {
  ------------------
  |  Branch (580:9): [True: 0, False: 2]
  ------------------
  581|      0|        return -1;
  582|      0|    }
  583|      2|    key->_is_initialized = 1;
  584|      2|    return 0;
  585|      2|}
thread.c:PyThread__init_thread:
  197|      2|{
  198|       |    // The library is only initialized once in the process,
  199|       |    // regardless of how many times the Python runtime is initialized.
  200|      2|    static int lib_initialized = 0;
  201|      2|    if (!lib_initialized) {
  ------------------
  |  Branch (201:9): [True: 2, False: 0]
  ------------------
  202|      2|        lib_initialized = 1;
  203|       |#if defined(_AIX) && defined(__GNUC__)
  204|       |        extern void pthread_init(void);
  205|       |        pthread_init();
  206|       |#endif
  207|      2|    }
  208|      2|    init_condattr();
  209|      2|}
thread.c:init_condattr:
  125|      2|{
  126|      2|#ifdef CONDATTR_MONOTONIC
  127|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  128|       |    // XXX We need to check the return code?
  129|      2|    pthread_condattr_init(&ca);
  ------------------
  |  |  127|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  130|       |    // XXX We need to run pthread_condattr_destroy() during runtime fini.
  131|      2|    if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
  ------------------
  |  |  127|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  |  Branch (131:9): [True: 2, False: 0]
  ------------------
  132|      2|        condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  121|      2|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
                      condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  127|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  133|      2|    }
  134|      2|# undef ca
  135|      2|#endif  // CONDATTR_MONOTONIC
  136|      2|}
thread.c:_pthread_t_to_ident:
  304|   886k|_pthread_t_to_ident(pthread_t value) {
  305|       |// Cast through an integer type of the same size to avoid sign-extension.
  306|   886k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  307|   886k|    return (uintptr_t) value;
  308|       |#elif SIZEOF_PTHREAD_T == SIZEOF_LONG
  309|       |    return (unsigned long) value;
  310|       |#elif SIZEOF_PTHREAD_T == SIZEOF_INT
  311|       |    return (unsigned int) value;
  312|       |#elif SIZEOF_PTHREAD_T == SIZEOF_LONG_LONG
  313|       |    return (unsigned long long) value;
  314|       |#else
  315|       |#error "Unsupported SIZEOF_PTHREAD_T value"
  316|       |#endif
  317|   886k|}

_PyTraceBack_FromFrame:
  312|  2.82M|{
  313|  2.82M|    assert(tb_next == NULL || PyTraceBack_Check(tb_next));
  314|  2.82M|    assert(frame != NULL);
  315|  2.82M|    int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   18|  2.82M|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  316|  2.82M|    return tb_create_raw((PyTracebackObject *)tb_next, frame, addr, -1);
  317|  2.82M|}
PyTraceBack_Here:
  322|  2.82M|{
  323|  2.82M|    PyObject *exc = PyErr_GetRaisedException();
  324|  2.82M|    assert(PyExceptionInstance_Check(exc));
  325|  2.82M|    PyObject *tb = PyException_GetTraceback(exc);
  326|  2.82M|    PyObject *newtb = _PyTraceBack_FromFrame(tb, frame);
  327|  2.82M|    Py_XDECREF(tb);
  ------------------
  |  |  524|  2.82M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|  2.82M|    if (newtb == NULL) {
  ------------------
  |  Branch (328:9): [True: 0, False: 2.82M]
  ------------------
  329|      0|        _PyErr_ChainExceptions1(exc);
  330|      0|        return -1;
  331|      0|    }
  332|  2.82M|    PyException_SetTraceback(exc, newtb);
  333|  2.82M|    Py_XDECREF(newtb);
  ------------------
  |  |  524|  2.82M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|  2.82M|    PyErr_SetRaisedException(exc);
  335|  2.82M|    return 0;
  336|  2.82M|}
_Py_DumpTraceback_Init:
 1466|      2|{
 1467|       |#ifdef MS_WINDOWS
 1468|       |    if (pGetThreadDescription != NULL) {
 1469|       |        return;
 1470|       |    }
 1471|       |
 1472|       |    HMODULE kernelbase = GetModuleHandleW(L"kernelbase.dll");
 1473|       |    if (kernelbase != NULL) {
 1474|       |        pGetThreadDescription = (PF_GET_THREAD_DESCRIPTION)GetProcAddress(
 1475|       |                                    kernelbase, "GetThreadDescription");
 1476|       |    }
 1477|       |#endif
 1478|      2|}
traceback.c:tb_dealloc:
  242|  2.82M|{
  243|  2.82M|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   68|  2.82M|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  244|  2.82M|    PyObject_GC_UnTrack(tb);
  245|  2.82M|    Py_XDECREF(tb->tb_next);
  ------------------
  |  |  524|  2.82M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|  2.82M|    Py_XDECREF(tb->tb_frame);
  ------------------
  |  |  524|  2.82M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|  2.82M|    PyObject_GC_Del(tb);
  248|  2.82M|}
traceback.c:tb_traverse:
  252|  1.55k|{
  253|  1.55k|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   68|  1.55k|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  254|  1.55k|    Py_VISIT(tb->tb_next);
  ------------------
  |  |  194|  1.55k|    do {                                                                \
  |  |  195|  1.55k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 644, False: 906]
  |  |  ------------------
  |  |  196|    644|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    644|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    644|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    644|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 644]
  |  |  ------------------
  |  |  198|    644|                return vret;                                            \
  |  |  199|    644|        }                                                               \
  |  |  200|  1.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.55k]
  |  |  ------------------
  ------------------
  255|  1.55k|    Py_VISIT(tb->tb_frame);
  ------------------
  |  |  194|  1.55k|    do {                                                                \
  |  |  195|  1.55k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.55k, False: 0]
  |  |  ------------------
  |  |  196|  1.55k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.55k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.55k]
  |  |  ------------------
  |  |  198|  1.55k|                return vret;                                            \
  |  |  199|  1.55k|        }                                                               \
  |  |  200|  1.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.55k]
  |  |  ------------------
  ------------------
  256|  1.55k|    return 0;
  257|  1.55k|}
traceback.c:tb_create_raw:
   82|  2.82M|{
   83|  2.82M|    PyTracebackObject *tb;
   84|  2.82M|    if ((next != NULL && !PyTraceBack_Check(next)) ||
  ------------------
  |  |   14|  1.00M|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  1.00M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:10): [True: 1.00M, False: 1.81M]
  |  Branch (84:26): [True: 0, False: 1.00M]
  ------------------
   85|  2.82M|                    frame == NULL || !PyFrame_Check(frame)) {
  ------------------
  |  |    8|  2.82M|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
  |  |  ------------------
  |  |  |  |  215|  2.82M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:21): [True: 0, False: 2.82M]
  |  Branch (85:38): [True: 0, False: 2.82M]
  ------------------
   86|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   87|      0|        return NULL;
   88|      0|    }
   89|  2.82M|    tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type);
  ------------------
  |  |  181|  2.82M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   90|  2.82M|    if (tb != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.82M, False: 0]
  ------------------
   91|  2.82M|        tb->tb_next = (PyTracebackObject*)Py_XNewRef(next);
  ------------------
  |  |  551|  2.82M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|  2.82M|        tb->tb_frame = (PyFrameObject*)Py_XNewRef(frame);
  ------------------
  |  |  551|  2.82M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  2.82M|        tb->tb_lasti = lasti;
   94|  2.82M|        tb->tb_lineno = lineno;
   95|  2.82M|        PyObject_GC_Track(tb);
   96|  2.82M|    }
   97|  2.82M|    return (PyObject *)tb;
   98|  2.82M|}

_PyTraceMalloc_Init:
  739|      2|{
  740|      2|    assert(tracemalloc_config.initialized == TRACEMALLOC_NOT_INITIALIZED);
  741|       |
  742|      2|    PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw);
  ------------------
  |  |   32|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
  743|       |
  744|      2|    if (PyThread_tss_create(&tracemalloc_reentrant_key) != 0) {
  ------------------
  |  |   91|      2|#define tracemalloc_reentrant_key _PyRuntime.tracemalloc.reentrant_key
  ------------------
  |  Branch (744:9): [True: 0, False: 2]
  ------------------
  745|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  746|      0|    }
  747|       |
  748|      2|    tracemalloc_filenames = hashtable_new(hashtable_hash_pyobject,
  ------------------
  |  |   69|      2|#define tracemalloc_filenames _PyRuntime.tracemalloc.filenames
  ------------------
  749|      2|                                          hashtable_compare_unicode,
  750|      2|                                          tracemalloc_clear_filename, NULL);
  751|       |
  752|      2|    tracemalloc_tracebacks = hashtable_new(hashtable_hash_traceback,
  ------------------
  |  |   71|      2|#define tracemalloc_tracebacks _PyRuntime.tracemalloc.tracebacks
  ------------------
  753|      2|                                           hashtable_compare_traceback,
  754|      2|                                           raw_free, NULL);
  755|       |
  756|      2|    tracemalloc_traces = tracemalloc_create_traces_table();
  ------------------
  |  |   72|      2|#define tracemalloc_traces _PyRuntime.tracemalloc.traces
  ------------------
  757|      2|    tracemalloc_domains = tracemalloc_create_domains_table();
  ------------------
  |  |   73|      2|#define tracemalloc_domains _PyRuntime.tracemalloc.domains
  ------------------
  758|       |
  759|      2|    if (tracemalloc_filenames == NULL || tracemalloc_tracebacks == NULL
  ------------------
  |  |   69|      2|#define tracemalloc_filenames _PyRuntime.tracemalloc.filenames
  ------------------
                  if (tracemalloc_filenames == NULL || tracemalloc_tracebacks == NULL
  ------------------
  |  |   71|      2|#define tracemalloc_tracebacks _PyRuntime.tracemalloc.tracebacks
  ------------------
  |  Branch (759:9): [True: 0, False: 2]
  |  Branch (759:42): [True: 0, False: 2]
  ------------------
  760|      2|       || tracemalloc_traces == NULL || tracemalloc_domains == NULL)
  ------------------
  |  |   72|      2|#define tracemalloc_traces _PyRuntime.tracemalloc.traces
  ------------------
                     || tracemalloc_traces == NULL || tracemalloc_domains == NULL)
  ------------------
  |  |   73|      2|#define tracemalloc_domains _PyRuntime.tracemalloc.domains
  ------------------
  |  Branch (760:11): [True: 0, False: 2]
  |  Branch (760:41): [True: 0, False: 2]
  ------------------
  761|      0|    {
  762|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  763|      0|    }
  764|       |
  765|      2|    assert(tracemalloc_empty_traceback == NULL);
  766|      2|    tracemalloc_empty_traceback = raw_malloc(TRACEBACK_SIZE(1));
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback = raw_malloc(TRACEBACK_SIZE(1));
  ------------------
  |  |   49|      2|        (sizeof(traceback_t) + sizeof(frame_t) * (NFRAME))
  ------------------
  767|      2|    if (tracemalloc_empty_traceback  == NULL) {
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  |  Branch (767:9): [True: 0, False: 2]
  ------------------
  768|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  769|      0|    }
  770|       |
  771|      2|    tracemalloc_empty_traceback->nframe = 1;
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  772|      2|    tracemalloc_empty_traceback->total_nframe = 1;
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  773|       |    /* borrowed reference */
  774|      2|    tracemalloc_empty_traceback->frames[0].filename = &_Py_STR(anon_unknown);
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback->frames[0].filename = &_Py_STR(anon_unknown);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|      2|    tracemalloc_empty_traceback->frames[0].lineno = 0;
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  776|      2|    tracemalloc_empty_traceback->hash = traceback_hash(tracemalloc_empty_traceback);
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
                  tracemalloc_empty_traceback->hash = traceback_hash(tracemalloc_empty_traceback);
  ------------------
  |  |   54|      2|#define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
  ------------------
  777|       |
  778|      2|    tracemalloc_config.initialized = TRACEMALLOC_INITIALIZED;
  ------------------
  |  |   15|      2|#define tracemalloc_config _PyRuntime.tracemalloc.config
  ------------------
  779|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  780|      2|}
tracemalloc.c:hashtable_new:
  163|      8|{
  164|      8|    _Py_hashtable_allocator_t hashtable_alloc = {malloc, free};
  165|      8|    return _Py_hashtable_new_full(hash_func, compare_func,
  166|      8|                                  key_destroy_func, value_destroy_func,
  167|      8|                                  &hashtable_alloc);
  168|      8|}
tracemalloc.c:tracemalloc_create_traces_table:
  379|      2|{
  380|      2|    return hashtable_new(_Py_hashtable_hash_ptr,
  381|      2|                         _Py_hashtable_compare_direct,
  382|       |                         NULL, raw_free);
  383|      2|}
tracemalloc.c:tracemalloc_create_domains_table:
  396|      2|{
  397|      2|    return hashtable_new(hashtable_hash_uint,
  398|      2|                         _Py_hashtable_compare_direct,
  399|       |                         NULL,
  400|      2|                         tracemalloc_destroy_domain);
  401|      2|}
tracemalloc.c:raw_malloc:
  173|      2|{
  174|      2|    return allocators.raw.malloc(allocators.raw.ctx, size);
  ------------------
  |  |   32|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
                  return allocators.raw.malloc(allocators.raw.ctx, size);
  ------------------
  |  |   32|      2|#define allocators _PyRuntime.tracemalloc.allocators
  ------------------
  175|      2|}
tracemalloc.c:traceback_hash:
  281|      2|{
  282|       |    /* code based on tuple_hash() of Objects/tupleobject.c */
  283|      2|    Py_uhash_t x, y;  /* Unsigned for defined overflow behavior. */
  284|      2|    int len = traceback->nframe;
  285|      2|    Py_uhash_t mult = PyHASH_MULTIPLIER;
  ------------------
  |  |    6|      2|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  ------------------
  286|      2|    frame_t *frame;
  287|       |
  288|      2|    x = 0x345678UL;
  289|      2|    frame = traceback->frames;
  290|      4|    while (--len >= 0) {
  ------------------
  |  Branch (290:12): [True: 2, False: 2]
  ------------------
  291|      2|        y = (Py_uhash_t)PyObject_Hash(frame->filename);
  292|      2|        y ^= (Py_uhash_t)frame->lineno;
  293|      2|        frame++;
  294|       |
  295|      2|        x = (x ^ y) * mult;
  296|       |        /* the cast might truncate len; that doesn't change hash stability */
  297|      2|        mult += (Py_uhash_t)(82520UL + len + len);
  298|      2|    }
  299|      2|    x ^= traceback->total_nframe;
  300|      2|    x += 97531UL;
  301|      2|    return x;
  302|      2|}

LLVMFuzzerInitialize:
   30|      2|extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
   31|      2|    const std::string argv0 = (*argv)[0];
   32|       |
   33|      2|    const std::string absoluteCPythonInstallPath = ToAbsolutePath(argv0, "cpython-install");
   34|      2|    const std::string absoluteScriptPath = ToAbsolutePath(argv0, PYTHON_HARNESS_PATH);
   35|       |
   36|      2|    std::vector<uint8_t> program;
   37|       |
   38|      2|    {
   39|      2|        if ( setenv("PYTHONHOME", absoluteCPythonInstallPath.c_str(), 1) != 0 ) {
  ------------------
  |  Branch (39:14): [True: 0, False: 2]
  ------------------
   40|      0|            printf("Fatal error: Cannot set PYTHONHOME\n");
   41|      0|            abort();
   42|      0|        }
   43|      2|    }
   44|       |
   45|      2|    FILE* fp = fopen(absoluteScriptPath.c_str(), "rb");
   46|      2|    if ( fp == nullptr ) {
  ------------------
  |  Branch (46:10): [True: 0, False: 2]
  ------------------
   47|      0|        printf("Fatal error: Cannot open script: %s\n", absoluteScriptPath.c_str());
   48|      0|        abort();
   49|      0|    }
   50|       |
   51|      2|    fseek (fp, 0, SEEK_END);
   52|      2|    long length = ftell(fp);
   53|      2|    if ( length < 1 ) {
  ------------------
  |  Branch (53:10): [True: 0, False: 2]
  ------------------
   54|      0|        printf("Fatal error: Cannot retrieve script file size\n");
   55|      0|        abort();
   56|      0|    }
   57|      2|    fseek (fp, 0, SEEK_SET);
   58|      2|    program.resize(length);
   59|      2|    if ( fread(program.data(), 1, length, fp) != static_cast<size_t>(length) ) {
  ------------------
  |  Branch (59:10): [True: 0, False: 2]
  ------------------
   60|      0|        printf("Fatal error: Cannot read script\n");
   61|      0|        abort();
   62|      0|    }
   63|      2|    fclose(fp);
   64|       |
   65|      2|    std::string code = std::string(program.data(), program.data() + program.size());
   66|       |
   67|      2|    Py_Initialize();
   68|       |
   69|      2|    {
   70|      2|        std::string setArgv0;
   71|      2|        setArgv0 += "import sys";
   72|      2|        setArgv0 += "\n";
   73|      2|        setArgv0 += "sys.argv[0] = '" + absoluteScriptPath + "'\n";
   74|      2|        if ( PyRun_SimpleString(setArgv0.c_str()) != 0 ) {
  ------------------
  |  |   82|      2|#define PyRun_SimpleString(s) PyRun_SimpleStringFlags((s), NULL)
  ------------------
  |  Branch (74:14): [True: 0, False: 2]
  ------------------
   75|      0|            printf("Fatal: Cannot set argv[0]\n");
   76|      0|            PyErr_PrintEx(1);
   77|      0|            abort();
   78|      0|        }
   79|      2|    }
   80|       |
   81|      2|    {
   82|      2|        const std::string absoluteScriptDir = absoluteScriptPath.substr(0, absoluteScriptPath.find_last_of('/'));
   83|      2|        std::string setPYTHONPATH;
   84|      2|        setPYTHONPATH += "import sys";
   85|      2|        setPYTHONPATH += "\n";
   86|      2|        setPYTHONPATH += "sys.path.append('" + absoluteScriptDir + "')\n";
   87|      2|        setPYTHONPATH += "\n";
   88|      2|        if ( PyRun_SimpleString(setPYTHONPATH.c_str()) != 0 ) {
  ------------------
  |  |   82|      2|#define PyRun_SimpleString(s) PyRun_SimpleStringFlags((s), NULL)
  ------------------
  |  Branch (88:14): [True: 0, False: 2]
  ------------------
   89|      0|            printf("Fatal: Cannot set PYTHONPATH\n");
   90|      0|            PyErr_PrintEx(1);
   91|      0|            abort();
   92|      0|        }
   93|      2|    }
   94|       |
   95|      2|    PyObject *pValue, *pModule, *pLocal;
   96|       |
   97|      2|    pModule = PyModule_New("fuzzermod");
   98|      2|    PyModule_AddStringConstant(pModule, "__file__", "");
   99|      2|    pLocal = PyModule_GetDict(pModule);
  100|      2|    pValue = PyRun_String(code.c_str(), Py_file_input, pLocal, pLocal);
  ------------------
  |  |   76|      2|#define PyRun_String(str, s, g, l) PyRun_StringFlags((str), (s), (g), (l), NULL)
  ------------------
  101|       |
  102|      2|    if ( pValue == nullptr ) {
  ------------------
  |  Branch (102:10): [True: 0, False: 2]
  ------------------
  103|      0|        printf("Fatal: Cannot create Python function from string\n");
  104|      0|        PyErr_PrintEx(1);
  105|      0|        abort();
  106|      0|    }
  107|      2|    Py_DECREF(pValue);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|       |
  109|      2|    pFunc = PyObject_GetAttrString(pModule, "FuzzerRunOne");
  110|       |
  111|      2|    if (pFunc == nullptr || !PyCallable_Check(static_cast<PyObject*>(pFunc))) {
  ------------------
  |  Branch (111:9): [True: 0, False: 2]
  |  Branch (111:29): [True: 0, False: 2]
  ------------------
  112|      0|        printf("Fatal: FuzzerRunOne not defined or not callable\n");
  113|      0|        abort();
  114|      0|    }
  115|       |
  116|      2|    return 0;
  117|      2|}
LLVMFuzzerTestOneInput:
  119|  3.88k|extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) {
  120|  3.88k|    std::optional<std::vector<uint8_t>> ret = std::nullopt;
  121|       |
  122|  3.88k|    PyObject *pArgs, *pValue;
  123|       |
  124|  3.88k|    pArgs = PyTuple_New(1);
  125|  3.88k|    pValue = PyBytes_FromStringAndSize((const char*)data, size);
  126|  3.88k|    PyTuple_SetItem(pArgs, 0, pValue);
  127|       |
  128|  3.88k|    pValue = PyObject_CallObject(static_cast<PyObject*>(pFunc), pArgs);
  129|       |
  130|  3.88k|    if ( pValue == nullptr ) {
  ------------------
  |  Branch (130:10): [True: 0, False: 3.88k]
  ------------------
  131|       |        /* Abort on unhandled exception */
  132|      0|        PyErr_PrintEx(1);
  133|      0|        abort();
  134|      0|    }
  135|       |
  136|  3.88k|    if ( PyBytes_Check(pValue) ) {
  ------------------
  |  |   28|  3.88k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.88k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|       |        /* Retrieve output */
  138|       |
  139|      0|        uint8_t* output;
  140|      0|        Py_ssize_t outputSize;
  141|      0|        if ( PyBytes_AsStringAndSize(pValue, (char**)&output, &outputSize) != -1) {
  ------------------
  |  Branch (141:14): [True: 0, False: 0]
  ------------------
  142|       |            /* Return output */
  143|      0|            ret = std::vector<uint8_t>(output, output + outputSize);
  144|      0|            goto end;
  145|      0|        } else {
  146|       |            /* TODO this should not happen */
  147|      0|        }
  148|       |
  149|      0|    }
  150|       |
  151|  3.88k|end:
  152|  3.88k|    Py_DECREF(pValue);
  ------------------
  |  |  430|  3.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|  3.88k|    Py_DECREF(pArgs);
  ------------------
  |  |  430|  3.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|       |    //return ret;
  155|  3.88k|    return 0;
  156|  3.88k|}
fuzzer.cpp:_ZL14ToAbsolutePathNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES5_:
   17|      4|static std::string ToAbsolutePath(const std::string argv0, const std::string relativePath) {
   18|      4|    char absoluteRootPath[PATH_MAX+1];
   19|      4|    char argv0Copy[argv0.size()+1];
   20|      4|    memcpy(argv0Copy, argv0.c_str(), argv0.size()+1);
   21|      4|    if ( realpath(dirname(argv0Copy), absoluteRootPath) == nullptr ) {
  ------------------
  |  Branch (21:10): [True: 0, False: 4]
  ------------------
   22|      0|        printf("Fatal error: Cannot resolve absolute root path\n");
   23|      0|        abort();
   24|      0|    }
   25|       |
   26|      4|    return std::string(std::string(absoluteRootPath) + "/" + relativePath);
   27|      4|}

